Commit graph

30860 commits

Author SHA1 Message Date
Colin Finck c446f5ff58 Implement support for FIONREAD in WSPIoctl. (hope I did it properly)
It works correctly with the wininet I'll commit later and a test app I wrote myself.

svn path=/trunk/; revision=33787
2008-05-31 12:53:55 +00:00
Colin Finck 923017639c Implement support for MSG_PEEK.
Patch by Art Yerkes with small fix by me to make it working correctly. (verified with a test app)

svn path=/trunk/; revision=33786
2008-05-31 12:51:22 +00:00
Colin Finck cb57056f4b Stub QuerySecurityPackageInfoA and QuerySecurityPackageInfoW, needed for the wininet Wine sync
svn path=/trunk/; revision=33785
2008-05-31 12:49:25 +00:00
Colin Finck 33369deba9 Use FILE_SHARE_READ | FILE_SHARE_WRITE in CopyFileExW to also copy opened files. Thanks to Christoph for the hint.
Behaviour was verified under WinXP SP2.

svn path=/trunk/; revision=33784
2008-05-31 12:48:51 +00:00
Magnus Olsen de95e30718 revert my last change
1. it break vmware drv, for it align each bitmap row it create
2. diffent behoirs in diffent vm
this did show we have more serius bug to fix before we can apply correct fix.

svn path=/trunk/; revision=33783
2008-05-31 12:17:25 +00:00
Magnus Olsen 9ae5fa0777 Fixed bug in DIB_GetDIBWidthBytes
accdoing OSR it is number of bytes to next scanline in the bitmap, wine version did align it, that why wrong number of bytes was reported also fixed overflow bug in the math, and make sure if some part of win32k send in negtive width, it will not calc it wrong, Remove one hack in win32k, thx of this, Thx fireball that suggest this functions mabey was wrong 

svn path=/trunk/; revision=33782
2008-05-31 11:01:51 +00:00
Timo Kreuzer 2027d8d907 patch by Jeffrey Morlan (mrnobo1024 at yahoo dot com)
Testcase for NtGdiSetDIBitsToDeviceInternal
See issue #3294 for more details.

svn path=/trunk/; revision=33781
2008-05-31 00:04:16 +00:00
Pierre Schweitzer 58871282fd Added more cluster size values.
Spotted by GreatLord
For more informations: http://support.microsoft.com/kb/140365/en-us

svn path=/trunk/; revision=33780
2008-05-30 20:59:56 +00:00
Pierre Schweitzer 4db827d152 Check cluster size when mounting a volume
svn path=/trunk/; revision=33779
2008-05-30 18:55:05 +00:00
Dmitry Chapyshev 18eca01b10 - Implement parsing font.inf (Now it's possible to specify custom fonts for a language/locale!)
svn path=/trunk/; revision=33778
2008-05-30 18:18:36 +00:00
Dmitry Chapyshev 94ae0fcf03 - Change in WindowMetrics font to Tahoma
- Add Tahome font to bootcd
- Add some file association

svn path=/trunk/; revision=33777
2008-05-30 18:12:59 +00:00
Dmitry Chapyshev 2f15b4e95a - Small update inf file
svn path=/trunk/; revision=33776
2008-05-30 18:09:55 +00:00
Dmitry Chapyshev 3b36a9d68f - Add Tahoma fonts from Wine
svn path=/trunk/; revision=33775
2008-05-30 18:09:14 +00:00
Magnus Olsen 0feff0d802 fixed last part for the def file.
now it is 100% completed and update to windows 2003 sp1
sorry I did not do it one commit. 

svn path=/trunk/; revision=33774
2008-05-30 16:00:16 +00:00
James Tabor 7be3065c79 Thanks aicom, remove unimplemented tag.
svn path=/trunk/; revision=33773
2008-05-30 15:42:06 +00:00
James Tabor 326b3a11f8 Use System Bitmap DC, like a stock object but a hDC one.
svn path=/trunk/; revision=33772
2008-05-30 15:18:51 +00:00
Dmitry Chapyshev ce3527ab5a - Add intl.inf and font.inf to bootcd
- Add shimgvw.dll to bootcd

svn path=/trunk/; revision=33771
2008-05-30 14:06:07 +00:00
Dmitry Chapyshev 00b0111c6c - Add font.inf and intl.inf
svn path=/trunk/; revision=33770
2008-05-30 14:03:19 +00:00
Dmitry Chapyshev 806eed0a98 - Implement EnumSystemCodePagesA/W
svn path=/trunk/; revision=33769
2008-05-30 13:59:20 +00:00
Aleksey Bragin 944d8b65c4 - Really fix _rotl. Thanks KJK::Hyperion!
svn path=/trunk/; revision=33768
2008-05-30 12:16:05 +00:00
Aleksey Bragin c5d4f0f35a - Fix a warning in 1st of April's implementation of _rotl function.
svn path=/trunk/; revision=33767
2008-05-30 12:10:28 +00:00
James Tabor c4f0f3c668 Move the init of server info after heap is init.
svn path=/trunk/; revision=33766
2008-05-30 06:13:52 +00:00
James Tabor 87b264fba8 Modified GDIOBJ_Copy and Set owner to return bool. Start the use of server info for metrics data. Tested with Qemu on Linux.
svn path=/trunk/; revision=33765
2008-05-30 04:56:10 +00:00
Magnus Olsen a8585cf880 1. do not use wine def for reactos
2. this is almost 100% correct list of windows 2003 export list of msvcrt.def and it will make abiword working again for it was missing api wfreopen and allot more api from msvcrt
3. this add back api that was remove api they exists in windows 2003 export list
4. List was provide from colin f

See issue #3293 for more details.

svn path=/trunk/; revision=33764
2008-05-30 01:27:29 +00:00
Magnus Olsen e141a01feb patch by Jeffrey Morlan ( email : mrnobo1024 at yahoo dot com )
the comment above is my. 
See issue #3295 for more details.

svn path=/trunk/; revision=33763
2008-05-29 22:39:39 +00:00
Timo Kreuzer 22942d0ae4 remove hFirstBitmap from the WIN_DC_INFO struct, wasn't used anyway and use StockObject(DEFAULT_BITMAP) for the default bitmap when creating a mem dc as on windows.
svn path=/trunk/; revision=33762
2008-05-29 19:44:23 +00:00
James Tabor b61def0c68 Fix build.
svn path=/trunk/; revision=33761
2008-05-29 18:58:03 +00:00
James Tabor c03961764a Use server information structure for system colors.
svn path=/trunk/; revision=33760
2008-05-29 18:51:17 +00:00
Aleksey Bragin 616f5e97e0 Stefan Ginsberg <stefan__100__@hotmail.com>
- Remove NT3/4 specific unimplemented function and change STDCALL -> NTAPI in mm.c
- Make ReactOS i386 kernel exports almost fully correspond to W2003SP1 ntoskrnl.exe's exports.

svn path=/trunk/; revision=33759
2008-05-29 16:09:47 +00:00
Aleksey Bragin c5fa27e2d7 Stefan Ginsberg <stefan__100__@hotmail.com>
- Remove usage of unexported RtlDuplicateUnicodeString in green.sys driver (this is basically the same fix which Herve applied to blue.sys).

svn path=/trunk/; revision=33758
2008-05-29 16:00:20 +00:00
James Tabor 802eba95c5 Update NtUserBitBltSysBmp.
svn path=/trunk/; revision=33757
2008-05-29 15:32:05 +00:00
Dmitry Chapyshev fa06cb862b - Add Russian translation
- Fixed parameters functions
- Add debug functions
- Add stubs for some functions

svn path=/trunk/; revision=33756
2008-05-29 14:30:26 +00:00
Daniel Reimer e5ec2becfb Bug 3282: Spanish and Basque translation by Javier Remacha (remialdo@gmail.com)
Bug 3284: small slovak translation update by Mario Kacmar (kario@szm.sk)
Part 2 of 2

svn path=/trunk/; revision=33755
2008-05-29 11:40:11 +00:00
Daniel Reimer b3091b7bf3 Bug 3282: Spanish and Basque translation by Javier Remacha (remialdo@gmail.com)
Bug 3284: small slovak translation update by Mario Kacmar (kario@szm.sk)
Part 1 of 2

svn path=/trunk/; revision=33754
2008-05-29 11:36:08 +00:00
Timo Kreuzer 3c6e5e169c sorry forgot this one
svn path=/trunk/; revision=33753
2008-05-29 01:30:33 +00:00
Timo Kreuzer d60ea94881 fix palette implementation: use the surface's palette to crate the xlate objects, default to the device default palette. The dc palette defaults to stock object default palette. Implement IntCreateXlateForBlt, used in BitBlt etc functions to perform the needed operations to create the xlate object instead of duplicating the code. This allows for global thermonuclear solitaire again and hopefully doesn't break everything else ;-)
svn path=/trunk/; revision=33752
2008-05-29 01:17:50 +00:00
Timo Kreuzer 8d17551ae9 reapply Magnus Change to fix build.
note to Colin: THAT is the reason why ;-)

svn path=/trunk/; revision=33751
2008-05-28 23:02:26 +00:00
Timo Kreuzer 363e65143d (Nt)GdiFlushUserBatch:
- optmize by moving the locking of the dc to NtGdiFlushUserBatch instead of doing it for every object
- fix wrong pointer calculation (GdiFlushUserBatch returns the size of the objects in bytes not in ULONG)
- simplify a check
- add a comment: on XP NtGdiFlushUserBatch doesn't return NTSTATUS, but a pointer to inside the Teb, maybe random/VOID

svn path=/trunk/; revision=33750
2008-05-28 22:25:08 +00:00
Colin Finck 5a47d0b0ad Sync usp10 with Wine again, fixes the corrupted text display in AbiWord.
Thanks to CMan for regression-testing!

Also I removed Magnus' change in r33700.
If this is really required, please name the reason and add the change to a usp10_ros.diff file as this is a Wine-synched component. Also don't forget to include a header file for the DbgPrint prototype.

See issue #3280 for more details.

svn path=/trunk/; revision=33749
2008-05-28 21:41:41 +00:00
Colin Finck d7e28db400 Sorry, forgot this file
svn path=/trunk/; revision=33748
2008-05-28 21:37:05 +00:00
Colin Finck 1e95911991 Samuel Serapión (samdwise51 AT gmail DOT com):
- Sync parts of msvcrt with Wine (more will follow)
  This makes us passing a lot more msvcrt Wine tests (like all heap tests)

svn path=/trunk/; revision=33747
2008-05-28 21:08:23 +00:00
Daniel Reimer c6aa541df2 Add winhlp32 to bootcd.
svn path=/trunk/; revision=33746
2008-05-28 20:10:50 +00:00
Timo Kreuzer d1dfa7c318 DCOrg is in device coordinates, fix a comment accordingly
svn path=/trunk/; revision=33745
2008-05-28 20:03:36 +00:00
Magnus Olsen fe93333f0e This file will be share between dxg and win32k explain why will follow in documentations that Z98 helping me writing at moment. they will be release to public
fast explain windows xp and higher have two gdi table, it is better reuse same macro for both, that rewrite it one more time. 

svn path=/trunk/; revision=33744
2008-05-28 20:03:10 +00:00
Timo Kreuzer ed5eae8cb6 EngLineTo: if pco == NULL use a private clip object, initialized with bounds rect
svn path=/trunk/; revision=33743
2008-05-28 20:00:03 +00:00
Dmitry Chapyshev 7c07a3d2c3 - Add baseaddress for shimgvw.dll
svn path=/trunk/; revision=33742
2008-05-28 19:53:41 +00:00
Dmitry Chapyshev 399371ec09 - Start implementing shimgvw.dll
svn path=/trunk/; revision=33741
2008-05-28 19:52:46 +00:00
Dmitry Chapyshev 862d7688c6 - Update Russian translation
svn path=/trunk/; revision=33740
2008-05-28 19:47:11 +00:00
Timo Kreuzer cf00bb3cc7 EngCreateClip must allocate CLIPGDI, not only CLIPOBJ
svn path=/trunk/; revision=33739
2008-05-28 17:22:49 +00:00
Timo Kreuzer 492a434c2b [FORMATTING]
Apply consistent indentation (4 spaces)

svn path=/trunk/; revision=33738
2008-05-28 15:20:56 +00:00