Commit Graph

42088 Commits

Author SHA1 Message Date
Aleksey Bragin
4983dabf35 - FASTFAT: when querying file name information, fill in the whole buffer provided by the caller, even if filename does not fully fit (driver by Microsoft(R) does the same). Also, return the actual amount of data written in IoSb.Information, even in case of buffer overflow result.
- CDFS: Fix a guaranteed buffer overwrite when zero-terminating a filename. Also apply the same fixes described above.

svn path=/trunk/; revision=37393
2008-11-17 11:25:36 +00:00
Samuel Serapion
b89fdd3cc2 - Use TARGET_CPPFLAGS, needs latest ROSBE.
- Link crt runtime to dlls too.

svn path=/branches/ros-amd64-bringup/; revision=37392
2008-11-17 06:08:13 +00:00
Samuel Serapion
20092b5ba7 - call __main (C++ initialization) gcc inserts this call automatically for a function called "main", but not for "wmain" fixes explorer
- support pseudo runtime relocation v2.
- re-enable commented out code for security cookies.
- rename entry point __tmainCRTStartup.
- gccmain.c re-add comment explaining this file's purpose.

svn path=/branches/ros-amd64-bringup/; revision=37391
2008-11-17 05:51:18 +00:00
Aleksey Bragin
bc5c507d54 Daniel Zimmerman
- Fix random widl crashes when compiling on Vista x86.

Patch from Wine bugzilla: http://bugs.winehq.org/show_bug.cgi?id=16084 .

See issue #3877 for more details.

svn path=/trunk/; revision=37390
2008-11-16 16:24:23 +00:00
Stefan Ginsberg
c729ed5e3b - STDCALL -> NTAPI
svn path=/trunk/; revision=37388
2008-11-16 13:42:56 +00:00
Dmitry Chapyshev
415da61549 - Implement GetCPInfo. Now this function passes all Wine tests
svn path=/trunk/; revision=37387
2008-11-16 12:15:55 +00:00
James Tabor
4e37ce697b - Fix AlphaBlend checks that pass wine bitmap gdi32 crosstests. Tested in 16 and 24 bit mode Qemu and 32 bit mode hardware, with our AlphaBlend rendering demo program.
svn path=/trunk/; revision=37385
2008-11-16 02:19:43 +00:00
James Tabor
132a0cb3b8 - Sorry for the misunderstanding,,, fix typo, see bug report 3863.
svn path=/trunk/; revision=37384
2008-11-16 01:49:23 +00:00
Gregor Schneider
7d34208e7f - DIB_1BPP_BitBlt: Increment source coordinates properly, see bug #2372
- Remove old code
- Enable dprint for DIB_1BPP_StretchBlt

svn path=/trunk/; revision=37382
2008-11-15 22:35:44 +00:00
Eric Kohl
e2eef76cbf Sync to wine-1.1.0:
- Simon Richter <Simon.Richter@hogyros.de> Tue, 17 Jun 2008
widl: Write string lengths in host endianness.
Type libraries are currently parsed in host endianness, so byte arrays that are going to be interpreted as integers need to be written in the appropriate byte order.

- Rob Shearman <robertshearman@gmail.com> Fri, 20 Jun 2008
widl: Fix generation of the type format string for conformant-varying structures.
The conformance needs to be added on to the offset in the buffer so set this before calling each the writer of each class of pointer description in write_pointer_description. Pass the passed in offsets to buffer and memory to write_pointer_description_offsets in write_varying_array_pointer_descriptions.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Replace code to round up values and calculate padding with macros to improve readability.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix the embedded pointer offsets in generated code when the containing structure has padding.
Do so by calculating the alignment of members when iterating through the structures and adding it onto the buffer and memory offsets. Only call type_memsize once elsewhere in the embedded pointer processing functions since the return value will be the same from the second call.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Factor out the finding of a registered type to reduce code duplication.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Set the type of the type_t node constructured for dispinterfaces to RPC_FC_IP, like we do for interfaces.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix crash in find_array_or_string_in_struct if the structure or union has no fields or cases.
(Aleksey already applied this patch in rev37378)

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix the types of enums with the v1_enum attribute applied.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix type_memsize to follow aliases so that the correct size is calculated.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix check_remoting_fields to enumerate the correct list of fields.

svn path=/trunk/; revision=37381
2008-11-15 21:17:09 +00:00
Eric Kohl
c43e05155c Sync to wine-1.0-rc11:
- Francois Gouget <fgouget@free.fr> Tue, 6 May 2008
Add a comment warning when a table must be kept sorted for later use with bsearch().

- Francois Gouget <fgouget@free.fr> Tue, 6 May 2008
Assorted spelling fixes.

- Marcus Meissner <marcus@jet.franken.de> Tue, 6 May 2008
widl: Mark non-returning functions as noreturn.

svn path=/trunk/; revision=37380
2008-11-15 20:18:16 +00:00
Aleksey Bragin
0ba5018676 - Remove duplicate, often conflicting, type definitions from IDL (spotted by new widl).
svn path=/trunk/; revision=37379
2008-11-15 19:32:13 +00:00
Aleksey Bragin
a1ba38503c Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008 21:28:56 +0000 (22:28 +0100)
widl: Fix crash in find_array_or_string_in_struct if the structure or union has no fields or cases.

http://source.winehq.org/git/wine.git/?a=commit;h=b3dde47ed760880e323222af9ec7ad30702dec7c

svn path=/trunk/; revision=37378
2008-11-15 18:37:15 +00:00
James Tabor
5a3ad75437 - Fix newest Wine bitmap gdi32 crosstest.
svn path=/trunk/; revision=37375
2008-11-15 15:20:14 +00:00
Aleksey Bragin
f1d7651421 - Remove duplicate type definitions.
svn path=/trunk/; revision=37374
2008-11-15 14:04:18 +00:00
Kamil Hornicek
ee17e42aa7 use the dmSize we got from caller and fall back to SIZEOF_DEVMODEA_300 in case we got some unexpected value as it's done in Windows
svn path=/trunk/; revision=37373
2008-11-15 13:54:17 +00:00
James Tabor
08d47079cf - Fix dirty bit support for select brush and pen, see bug 3863.
- Hack-plement part of NtGdiExtFloodFill. We need to fix our region and clip support so ReactOS drawing functions do not over write other displayed windows. Open AbiWord than type something and select another desktop, this is just one of them....
- Tested with Qemu and real hardware. 

svn path=/trunk/; revision=37372
2008-11-15 13:37:26 +00:00
Timo Kreuzer
7a6bb9e3e7 RtlCaptureContext can throw an exception. As we need to push the flags on the stack, we need to create unwind info to make sure we can properly unwind. So instead of pushing the flags and then popping them back, push them on the stack at the beginning of the function, reference the location later, clean up the stack at the function end. Also add .cif_adjust_cfa_offset unwind op.
svn path=/branches/ros-amd64-bringup/; revision=37370
2008-11-15 01:21:50 +00:00
Stefan Ginsberg
4760f7b940 - Fix another duplicate
svn path=/trunk/; revision=37369
2008-11-14 23:27:10 +00:00
Stefan Ginsberg
aa78c4f6f3 - Remove more duplicate definitions
- Make definitions compatible when they are present in multiple headers

svn path=/trunk/; revision=37368
2008-11-14 23:23:30 +00:00
Stefan Ginsberg
099e8b7530 - Remove duplicate definition
svn path=/trunk/; revision=37367
2008-11-14 23:05:40 +00:00
Johannes Anderwald
6ac60539ec - Improve function stubs
- bug 3829

svn path=/trunk/; revision=37366
2008-11-14 21:03:48 +00:00
Johannes Anderwald
6fe2ea4133 - Make trash properties settings be unvolatile ;)
See issue #3786 for more details.

svn path=/trunk/; revision=37365
2008-11-14 20:58:27 +00:00
Johannes Anderwald
bcddcfdd02 - Display Provider and Version in driver details dialog
svn path=/trunk/; revision=37364
2008-11-14 19:57:22 +00:00
Johannes Anderwald
0c5b1ec2bc - Create IDataObject from the selected pidl
- Check if drop target is the desktop
- fixes bug 3763

svn path=/trunk/; revision=37363
2008-11-14 19:48:46 +00:00
Stefan Ginsberg
782931f369 - Optimize DebugService -- patch from Alex
svn path=/trunk/; revision=37362
2008-11-14 19:14:00 +00:00
Johannes Anderwald
aaeebbb670 - Pass the parent to PropertySheetW
See issue #3597 for more details.

svn path=/trunk/; revision=37361
2008-11-14 19:08:29 +00:00
Johannes Anderwald
1331dc5c45 - Implement IShellExecuteHookW
- Free NETCON_PROPERTIES on cleanup
- Show status dialog when clicking on startmenu->settings->network connections item
- Fixes bug 3782

See issue #3782 for more details.

svn path=/trunk/; revision=37360
2008-11-14 18:47:00 +00:00
Stefan Ginsberg
6a4fcf71eb - PAGE_SIZE fix 2.0
svn path=/trunk/; revision=37359
2008-11-14 15:24:08 +00:00
Stefan Ginsberg
2fcfb97eec - Don't define PAGE_SIZE in typedefs.h as -- "this value is target specific, host tools MUST not use it and this line has to be removed". Instead, define it locally for cmlib.
- Also correct TRUE definition in this header

svn path=/trunk/; revision=37358
2008-11-14 14:49:11 +00:00
Aleksey Bragin
f9c8a7f47e 2008-10-18 Reece Dunn include: Fixed the tom constant values.
svn path=/trunk/; revision=37357
2008-11-14 10:13:08 +00:00
Aleksey Bragin
8efe45f028 - Time to say goodbye to dosfsck port, it's been fully integrated into vfatlib, and the need in a standalone version disappeared.
svn path=/trunk/; revision=37356
2008-11-14 09:35:59 +00:00
Aleksey Bragin
a2d0db9460 Juan Sánchez Jurado <juan.s.jurado@gmail.com>
- UDF recognizer fixed so it doesn't perform partial sector reads. When trying to detect filesystem for a floppy without 0xaa55 signature UDF recognizer is called and it performed wrong partial sectors read because of a confusion between sectors and offset in bytes.
See issue #2287 for more details.

svn path=/trunk/; revision=37355
2008-11-14 09:23:09 +00:00
Samuel Serapion
da81081fc1 Kill auto-import insurgent.
svn path=/branches/ros-amd64-bringup/; revision=37354
2008-11-14 05:53:40 +00:00
Samuel Serapion
13ddfe0c4a Kill auto-import insurgent.
svn path=/branches/ros-amd64-bringup/; revision=37353
2008-11-14 05:53:00 +00:00
Samuel Serapion
6043e97ff0 Correct definitions for WIN32 and WIN64.
svn path=/branches/ros-amd64-bringup/; revision=37352
2008-11-14 05:51:46 +00:00
Samuel Serapion
7ef39ab041 Declare war, shock and awe, and utterly defeat auto-import in one day.
svn path=/branches/ros-amd64-bringup/; revision=37351
2008-11-14 05:49:21 +00:00
Stefan Ginsberg
49050f13b3 - Remove duplicate define
svn path=/trunk/; revision=37347
2008-11-13 23:59:37 +00:00
James Tabor
02456c2f68 - Start the implementation and support for dc attribute dirty bits. See bug 3863.
svn path=/trunk/; revision=37346
2008-11-13 23:12:42 +00:00
James Tabor
122723ef7d - Add path support for ExtTextOut.
svn path=/trunk/; revision=37345
2008-11-13 22:38:16 +00:00
Stefan Ginsberg
3ab3cebe76 - stub out NdisReEnumerateProtocolBindings
svn path=/trunk/; revision=37339
2008-11-13 16:06:43 +00:00
James Tabor
6e3804aeb2 - Set the right flags for Background and Text color.
svn path=/trunk/; revision=37338
2008-11-13 15:01:01 +00:00
Daniel Reimer
f4bb615543 Update 3rd party txt file
svn path=/trunk/; revision=37335
2008-11-13 08:26:51 +00:00
Timo Kreuzer
31f36a74b1 Forgot this one
svn path=/branches/ros-amd64-bringup/; revision=37334
2008-11-13 04:54:47 +00:00
Timo Kreuzer
1bc69803f8 ULONG -> ULONG_PTR in KeRosDumpStackFrames
svn path=/branches/ros-amd64-bringup/; revision=37333
2008-11-13 04:48:07 +00:00
Timo Kreuzer
f391b2f222 Initial Implementations of RtlVirtualUnwind and RtlWalkFrameChain. They are not yet perfect, but unwinding works!
svn path=/branches/ros-amd64-bringup/; revision=37332
2008-11-13 04:17:53 +00:00
Timo Kreuzer
714e1a9b56 Remove RtlCaptureContext from stubs
svn path=/branches/ros-amd64-bringup/; revision=37331
2008-11-13 04:06:02 +00:00
Timo Kreuzer
fe2843026f RtlCaptureContext:
- Don't safe the current rsp, but the one before calling the function.
- Try to optimize a bit by moving stuff around

svn path=/branches/ros-amd64-bringup/; revision=37330
2008-11-13 04:05:06 +00:00
Timo Kreuzer
1e2be3b9a7 Fix a bug in DeDecodeU/Sleb128, resulting in wrong allocation unwind codes. Add some debugging stuff.
svn path=/branches/ros-amd64-bringup/; revision=37329
2008-11-13 03:32:09 +00:00
Cameron Gutman
19656e1fd2 - Merge aicom-network-fixes up to r37326
svn path=/trunk/; revision=37328
2008-11-13 01:07:17 +00:00