Commit graph

30869 commits

Author SHA1 Message Date
Magnus Olsen 61f33dad43 merge down changes from win32k-gdi-dx
1. Cleanup the layout it was mix of space and tab for whitespace
2. dllmain add same behoirs as xp/vista

svn path=/trunk/; revision=33797
2008-06-01 07:54:17 +00:00
James Tabor 1177ff923f Sorry again... NtGdiCreateEnhMetaFile will be converted to NtGdiCreateMetafileDC. Keeping the original code for now.
svn path=/trunk/; revision=33796
2008-06-01 05:40:53 +00:00
James Tabor 9adac31641 Sorry,,, NtGdiCreateEnhMetaFile will be converted to
svn path=/trunk/; revision=33795
2008-06-01 05:22:42 +00:00
Timo Kreuzer 2e3c186197 IntGdiLineTo: the dc pen might be deleted, don't assert, instead fall back to BLACK_PEN, fixes a crash when using FF
svn path=/trunk/; revision=33793
2008-06-01 00:54:08 +00:00
Timo Kreuzer 91b1e254fd preserve code for NtGdiCreateEnhMetaFile from win32k (where it's going to be removed later) in gdi32 (where it's going to be implemented later)
svn path=/trunk/; revision=33792
2008-05-31 23:15:34 +00:00
Eric Kohl 4e9ffdff7e User the user-specific date format instead of a hard-coded one.
svn path=/trunk/; revision=33791
2008-05-31 20:09:17 +00:00
Eric Kohl fbcc10c57e - Add a property sheet for user groups. Settings are visible but cannot be changed yet.
- Add missing SVN properties.

svn path=/trunk/; revision=33790
2008-05-31 19:48:44 +00:00
Dmitry Chapyshev b82096c544 - Move languages structures to header
- Add structures for adding fonts settings

svn path=/trunk/; revision=33789
2008-05-31 13:29:45 +00:00
Colin Finck bdec9df44c Sync wininet with Wine. This fixes the Download! issue.
As we implement some more functions in the network stack now, I could remove some hacks from the "wininet_ros.diff" file.
Anyways, the following things still needed to be changed:
- Pass a variable to WriteFile for receiving the number of bytes written. This parameter is not checked for NULL in ReactOS and Windows, when lpOverlapped is also NULL.
  I'll submit a patch about this to Wine as well.
- Replace Unix poll() calls by equivalent select() calls
- Bypass sock_get_error(), directly call WSAGetLastError() as we don't have to translate Unix socket errors.

See issue #3197 for more details.

svn path=/trunk/; revision=33788
2008-05-31 13:02:59 +00:00
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