reactos.git
14 years agoadd more test for EngCreateSemaphore, it checking some info in the internal HANDLE...
Magnus Olsen [Sun, 1 Jun 2008 15:06:40 +0000 (15:06 +0000)]
add more test for EngCreateSemaphore, it checking some info in the internal HANDLE hsem is same as PRTL_CRITICAL_SECTION struct

svn path=/trunk/; revision=33809

14 years agoAdd the Membership and Profile pages to the users property sheet. Changing the settin...
Eric Kohl [Sun, 1 Jun 2008 15:05:22 +0000 (15:05 +0000)]
Add the Membership and Profile pages to the users property sheet. Changing the settings is not implemented yet.

svn path=/trunk/; revision=33808

14 years agoadd Test for EngDeleteSemaphore, it only test if it been create or not
Magnus Olsen [Sun, 1 Jun 2008 14:38:02 +0000 (14:38 +0000)]
add Test for EngDeleteSemaphore, it only test if it been create or not

svn path=/trunk/; revision=33807

14 years agoset 'installname' attribute for halup to 'hal.dll'
Marc Piulachs [Sun, 1 Jun 2008 13:24:25 +0000 (13:24 +0000)]
set 'installname' attribute for halup to 'hal.dll'

svn path=/trunk/; revision=33806

14 years ago'base' is not a valid attribute of element 'installfile'
Marc Piulachs [Sun, 1 Jun 2008 13:21:12 +0000 (13:21 +0000)]
'base' is not a valid attribute of element 'installfile'

svn path=/trunk/; revision=33805

14 years ago- Sync with Wine HEAD
Dmitry Chapyshev [Sun, 1 Jun 2008 13:14:02 +0000 (13:14 +0000)]
- Sync with Wine HEAD

svn path=/trunk/; revision=33804

14 years ago- Update headers
Dmitry Chapyshev [Sun, 1 Jun 2008 13:13:10 +0000 (13:13 +0000)]
- Update headers

svn path=/trunk/; revision=33803

14 years ago- Add language groups
Dmitry Chapyshev [Sun, 1 Jun 2008 13:07:38 +0000 (13:07 +0000)]
- Add language groups

svn path=/trunk/; revision=33802

14 years ago- Remove SysFontSubstitutes values
Dmitry Chapyshev [Sun, 1 Jun 2008 13:05:55 +0000 (13:05 +0000)]
- Remove SysFontSubstitutes values

svn path=/trunk/; revision=33801

14 years ago- Move layouts to lang headers
Dmitry Chapyshev [Sun, 1 Jun 2008 12:52:18 +0000 (12:52 +0000)]
- Move layouts to lang headers
- Other small changes

svn path=/trunk/; revision=33800

14 years agoStart Rpc server listener thread before device installer thread
Hervé Poussineau [Sun, 1 Jun 2008 10:49:28 +0000 (10:49 +0000)]
Start Rpc server listener thread before device installer thread
See issue #3068 for more details.

svn path=/trunk/; revision=33799

14 years agoBug 3299: czech translation from forum and some slovak translation by Stepan Gabriel...
Daniel Reimer [Sun, 1 Jun 2008 10:26:42 +0000 (10:26 +0000)]
Bug 3299: czech translation from forum and some slovak translation by Stepan Gabriel - SGABA (sgaba@centrum.cz)

svn path=/trunk/; revision=33798

14 years agomerge down changes from win32k-gdi-dx
Magnus Olsen [Sun, 1 Jun 2008 07:54:17 +0000 (07:54 +0000)]
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

14 years agoSorry again... NtGdiCreateEnhMetaFile will be converted to NtGdiCreateMetafileDC...
James Tabor [Sun, 1 Jun 2008 05:40:53 +0000 (05:40 +0000)]
Sorry again... NtGdiCreateEnhMetaFile will be converted to NtGdiCreateMetafileDC. Keeping the original code for now.

svn path=/trunk/; revision=33796

14 years agoSorry,,, NtGdiCreateEnhMetaFile will be converted to
James Tabor [Sun, 1 Jun 2008 05:22:42 +0000 (05:22 +0000)]
Sorry,,, NtGdiCreateEnhMetaFile will be converted to

svn path=/trunk/; revision=33795

14 years agoIntGdiLineTo: the dc pen might be deleted, don't assert, instead fall back to BLACK_P...
Timo Kreuzer [Sun, 1 Jun 2008 00:54:08 +0000 (00:54 +0000)]
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

14 years agopreserve code for NtGdiCreateEnhMetaFile from win32k (where it's going to be removed...
Timo Kreuzer [Sat, 31 May 2008 23:15:34 +0000 (23:15 +0000)]
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

14 years agoUser the user-specific date format instead of a hard-coded one.
Eric Kohl [Sat, 31 May 2008 20:09:17 +0000 (20:09 +0000)]
User the user-specific date format instead of a hard-coded one.

svn path=/trunk/; revision=33791

14 years ago- Add a property sheet for user groups. Settings are visible but cannot be changed...
Eric Kohl [Sat, 31 May 2008 19:48:44 +0000 (19:48 +0000)]
- Add a property sheet for user groups. Settings are visible but cannot be changed yet.
- Add missing SVN properties.

svn path=/trunk/; revision=33790

14 years ago- Move languages structures to header
Dmitry Chapyshev [Sat, 31 May 2008 13:29:45 +0000 (13:29 +0000)]
- Move languages structures to header
- Add structures for adding fonts settings

svn path=/trunk/; revision=33789

14 years agoSync wininet with Wine. This fixes the Download! issue.
Colin Finck [Sat, 31 May 2008 13:02:59 +0000 (13:02 +0000)]
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

14 years agoImplement support for FIONREAD in WSPIoctl. (hope I did it properly)
Colin Finck [Sat, 31 May 2008 12:53:55 +0000 (12:53 +0000)]
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

14 years agoImplement support for MSG_PEEK.
Colin Finck [Sat, 31 May 2008 12:51:22 +0000 (12:51 +0000)]
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

14 years agoStub QuerySecurityPackageInfoA and QuerySecurityPackageInfoW, needed for the wininet...
Colin Finck [Sat, 31 May 2008 12:49:25 +0000 (12:49 +0000)]
Stub QuerySecurityPackageInfoA and QuerySecurityPackageInfoW, needed for the wininet Wine sync

svn path=/trunk/; revision=33785

14 years agoUse FILE_SHARE_READ | FILE_SHARE_WRITE in CopyFileExW to also copy opened files....
Colin Finck [Sat, 31 May 2008 12:48:51 +0000 (12:48 +0000)]
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

14 years agorevert my last change
Magnus Olsen [Sat, 31 May 2008 12:17:25 +0000 (12:17 +0000)]
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

14 years agoFixed bug in DIB_GetDIBWidthBytes
Magnus Olsen [Sat, 31 May 2008 11:01:51 +0000 (11:01 +0000)]
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

14 years agopatch by Jeffrey Morlan (mrnobo1024 at yahoo dot com)
Timo Kreuzer [Sat, 31 May 2008 00:04:16 +0000 (00:04 +0000)]
patch by Jeffrey Morlan (mrnobo1024 at yahoo dot com)
Testcase for NtGdiSetDIBitsToDeviceInternal
See issue #3294 for more details.

svn path=/trunk/; revision=33781

14 years agoAdded more cluster size values.
Pierre Schweitzer [Fri, 30 May 2008 20:59:56 +0000 (20:59 +0000)]
Added more cluster size values.
Spotted by GreatLord
For more informations: http://support.microsoft.com/kb/140365/en-us

svn path=/trunk/; revision=33780

14 years agoCheck cluster size when mounting a volume
Pierre Schweitzer [Fri, 30 May 2008 18:55:05 +0000 (18:55 +0000)]
Check cluster size when mounting a volume

svn path=/trunk/; revision=33779

14 years ago- Implement parsing font.inf (Now it's possible to specify custom fonts for a languag...
Dmitry Chapyshev [Fri, 30 May 2008 18:18:36 +0000 (18:18 +0000)]
- Implement parsing font.inf (Now it's possible to specify custom fonts for a language/locale!)

svn path=/trunk/; revision=33778

14 years ago- Change in WindowMetrics font to Tahoma
Dmitry Chapyshev [Fri, 30 May 2008 18:12:59 +0000 (18:12 +0000)]
- Change in WindowMetrics font to Tahoma
- Add Tahome font to bootcd
- Add some file association

svn path=/trunk/; revision=33777

14 years ago- Small update inf file
Dmitry Chapyshev [Fri, 30 May 2008 18:09:55 +0000 (18:09 +0000)]
- Small update inf file

svn path=/trunk/; revision=33776

14 years ago- Add Tahoma fonts from Wine
Dmitry Chapyshev [Fri, 30 May 2008 18:09:14 +0000 (18:09 +0000)]
- Add Tahoma fonts from Wine

svn path=/trunk/; revision=33775

14 years agofixed last part for the def file.
Magnus Olsen [Fri, 30 May 2008 16:00:16 +0000 (16:00 +0000)]
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

14 years agoThanks aicom, remove unimplemented tag.
James Tabor [Fri, 30 May 2008 15:42:06 +0000 (15:42 +0000)]
Thanks aicom, remove unimplemented tag.

svn path=/trunk/; revision=33773

14 years agoUse System Bitmap DC, like a stock object but a hDC one.
James Tabor [Fri, 30 May 2008 15:18:51 +0000 (15:18 +0000)]
Use System Bitmap DC, like a stock object but a hDC one.

svn path=/trunk/; revision=33772

14 years ago- Add intl.inf and font.inf to bootcd
Dmitry Chapyshev [Fri, 30 May 2008 14:06:07 +0000 (14:06 +0000)]
- Add intl.inf and font.inf to bootcd
- Add shimgvw.dll to bootcd

svn path=/trunk/; revision=33771

14 years ago- Add font.inf and intl.inf
Dmitry Chapyshev [Fri, 30 May 2008 14:03:19 +0000 (14:03 +0000)]
- Add font.inf and intl.inf

svn path=/trunk/; revision=33770

14 years ago- Implement EnumSystemCodePagesA/W
Dmitry Chapyshev [Fri, 30 May 2008 13:59:20 +0000 (13:59 +0000)]
- Implement EnumSystemCodePagesA/W

svn path=/trunk/; revision=33769

14 years ago- Really fix _rotl. Thanks KJK::Hyperion!
Aleksey Bragin [Fri, 30 May 2008 12:16:05 +0000 (12:16 +0000)]
- Really fix _rotl. Thanks KJK::Hyperion!

svn path=/trunk/; revision=33768

14 years ago- Fix a warning in 1st of April's implementation of _rotl function.
Aleksey Bragin [Fri, 30 May 2008 12:10:28 +0000 (12:10 +0000)]
- Fix a warning in 1st of April's implementation of _rotl function.

svn path=/trunk/; revision=33767

14 years agoMove the init of server info after heap is init.
James Tabor [Fri, 30 May 2008 06:13:52 +0000 (06:13 +0000)]
Move the init of server info after heap is init.

svn path=/trunk/; revision=33766

14 years agoModified GDIOBJ_Copy and Set owner to return bool. Start the use of server info for...
James Tabor [Fri, 30 May 2008 04:56:10 +0000 (04:56 +0000)]
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

14 years ago1. do not use wine def for reactos
Magnus Olsen [Fri, 30 May 2008 01:27:29 +0000 (01:27 +0000)]
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

14 years agopatch by Jeffrey Morlan ( email : mrnobo1024 at yahoo dot com )
Magnus Olsen [Thu, 29 May 2008 22:39:39 +0000 (22:39 +0000)]
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

14 years agoremove hFirstBitmap from the WIN_DC_INFO struct, wasn't used anyway and use StockObje...
Timo Kreuzer [Thu, 29 May 2008 19:44:23 +0000 (19:44 +0000)]
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

14 years agoFix build.
James Tabor [Thu, 29 May 2008 18:58:03 +0000 (18:58 +0000)]
Fix build.

svn path=/trunk/; revision=33761

14 years agoUse server information structure for system colors.
James Tabor [Thu, 29 May 2008 18:51:17 +0000 (18:51 +0000)]
Use server information structure for system colors.

svn path=/trunk/; revision=33760

14 years agoStefan Ginsberg <stefan__100__@hotmail.com>
Aleksey Bragin [Thu, 29 May 2008 16:09:47 +0000 (16:09 +0000)]
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

14 years agoStefan Ginsberg <stefan__100__@hotmail.com>
Aleksey Bragin [Thu, 29 May 2008 16:00:20 +0000 (16:00 +0000)]
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

14 years agoUpdate NtUserBitBltSysBmp.
James Tabor [Thu, 29 May 2008 15:32:05 +0000 (15:32 +0000)]
Update NtUserBitBltSysBmp.

svn path=/trunk/; revision=33757

14 years ago- Add Russian translation
Dmitry Chapyshev [Thu, 29 May 2008 14:30:26 +0000 (14:30 +0000)]
- Add Russian translation
- Fixed parameters functions
- Add debug functions
- Add stubs for some functions

svn path=/trunk/; revision=33756

14 years agoBug 3282: Spanish and Basque translation by Javier Remacha (remialdo@gmail.com)
Daniel Reimer [Thu, 29 May 2008 11:40:11 +0000 (11:40 +0000)]
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

14 years agoBug 3282: Spanish and Basque translation by Javier Remacha (remialdo@gmail.com)
Daniel Reimer [Thu, 29 May 2008 11:36:08 +0000 (11:36 +0000)]
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

14 years agosorry forgot this one
Timo Kreuzer [Thu, 29 May 2008 01:30:33 +0000 (01:30 +0000)]
sorry forgot this one

svn path=/trunk/; revision=33753

14 years agofix palette implementation: use the surface's palette to crate the xlate objects...
Timo Kreuzer [Thu, 29 May 2008 01:17:50 +0000 (01:17 +0000)]
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

14 years agoreapply Magnus Change to fix build.
Timo Kreuzer [Wed, 28 May 2008 23:02:26 +0000 (23:02 +0000)]
reapply Magnus Change to fix build.
note to Colin: THAT is the reason why ;-)

svn path=/trunk/; revision=33751

14 years ago(Nt)GdiFlushUserBatch:
Timo Kreuzer [Wed, 28 May 2008 22:25:08 +0000 (22:25 +0000)]
(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

14 years agoSync usp10 with Wine again, fixes the corrupted text display in AbiWord.
Colin Finck [Wed, 28 May 2008 21:41:41 +0000 (21:41 +0000)]
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

14 years agoSorry, forgot this file
Colin Finck [Wed, 28 May 2008 21:37:05 +0000 (21:37 +0000)]
Sorry, forgot this file

svn path=/trunk/; revision=33748

14 years agoSamuel Serapión (samdwise51 AT gmail DOT com):
Colin Finck [Wed, 28 May 2008 21:08:23 +0000 (21:08 +0000)]
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

14 years agoAdd winhlp32 to bootcd.
Daniel Reimer [Wed, 28 May 2008 20:10:50 +0000 (20:10 +0000)]
Add winhlp32 to bootcd.

svn path=/trunk/; revision=33746

14 years agoDCOrg is in device coordinates, fix a comment accordingly
Timo Kreuzer [Wed, 28 May 2008 20:03:36 +0000 (20:03 +0000)]
DCOrg is in device coordinates, fix a comment accordingly

svn path=/trunk/; revision=33745

14 years agoThis file will be share between dxg and win32k explain why will follow in documentati...
Magnus Olsen [Wed, 28 May 2008 20:03:10 +0000 (20:03 +0000)]
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

14 years agoEngLineTo: if pco == NULL use a private clip object, initialized with bounds rect
Timo Kreuzer [Wed, 28 May 2008 20:00:03 +0000 (20:00 +0000)]
EngLineTo: if pco == NULL use a private clip object, initialized with bounds rect

svn path=/trunk/; revision=33743

14 years ago- Add baseaddress for shimgvw.dll
Dmitry Chapyshev [Wed, 28 May 2008 19:53:41 +0000 (19:53 +0000)]
- Add baseaddress for shimgvw.dll

svn path=/trunk/; revision=33742

14 years ago- Start implementing shimgvw.dll
Dmitry Chapyshev [Wed, 28 May 2008 19:52:46 +0000 (19:52 +0000)]
- Start implementing shimgvw.dll

svn path=/trunk/; revision=33741

14 years ago- Update Russian translation
Dmitry Chapyshev [Wed, 28 May 2008 19:47:11 +0000 (19:47 +0000)]
- Update Russian translation

svn path=/trunk/; revision=33740

14 years agoEngCreateClip must allocate CLIPGDI, not only CLIPOBJ
Timo Kreuzer [Wed, 28 May 2008 17:22:49 +0000 (17:22 +0000)]
EngCreateClip must allocate CLIPGDI, not only CLIPOBJ

svn path=/trunk/; revision=33739

14 years ago[FORMATTING]
Timo Kreuzer [Wed, 28 May 2008 15:20:56 +0000 (15:20 +0000)]
[FORMATTING]
Apply consistent indentation (4 spaces)

svn path=/trunk/; revision=33738

14 years ago[FORMATTING]
Timo Kreuzer [Wed, 28 May 2008 14:32:06 +0000 (14:32 +0000)]
[FORMATTING]
Fix indentation: 4 spaces, no code change

svn path=/trunk/; revision=33737

14 years agoUpdated winhelp from wine and renamed accordingly from winhelp to winhlp32.
Daniel Reimer [Wed, 28 May 2008 07:43:38 +0000 (07:43 +0000)]
Updated winhelp from wine and renamed accordingly from winhelp to winhlp32.

svn path=/trunk/; revision=33736

14 years agoAdd Gdi entry flag.
James Tabor [Wed, 28 May 2008 05:01:17 +0000 (05:01 +0000)]
Add Gdi entry flag.

svn path=/trunk/; revision=33735

14 years agoNtUserRegisterClassExWOW also given FNID. Added one more fnid type.
James Tabor [Wed, 28 May 2008 04:04:35 +0000 (04:04 +0000)]
NtUserRegisterClassExWOW also given FNID. Added one more fnid type.

svn path=/trunk/; revision=33734

14 years agoNtUserSetWindowFNID is needed for supporting NtUserGetClassName bGetRealClass.
James Tabor [Wed, 28 May 2008 02:36:25 +0000 (02:36 +0000)]
NtUserSetWindowFNID is needed for supporting NtUserGetClassName bGetRealClass.

svn path=/trunk/; revision=33733

14 years agoexception.h: merge changes from wine.
Timo Kreuzer [Wed, 28 May 2008 00:41:13 +0000 (00:41 +0000)]
exception.h: merge changes from wine.
Revision 1.37 fixes the exception in ole32 when opening a file with FoxitReader. Also fixes some warnings and hopefully some usermode crashes.

1.28: Jonathan Ernst <jonathan@ernstfamily.ch>
Update the address of the Free Software Foundation.

1.29: Alexandre Julliard <julliard@winehq.org>
include: Exception filters should return LONG, not DWORD.
Also move UnhandledExceptionFilter definitions to winbase.h since they
are there in the latest SDK.

1.30: Rob Shearman <rob@codeweavers.com>
include: Move Wine-specific EH_* defines from winnt.h to include/wine/exception.h.

1.33: Rob Shearman <rob@codeweavers.com>
Add a new convenience macro for an exception handler that handles all exceptions.
When using native compiler exceptions, the previous method of doing
this, __EXCEPT(NULL), would expand to __except(
(NULL)(GetExceptionInformation())) which doesn't compile as NULL isn't a
function.
So add a new macro, __EXCEPT_ALL, which works correctly both when using
native compiler exceptions and without and which makes the meaning of
code in which it is used clearer.

1.35: Alexandre Julliard <julliard@winehq.org>
ntdll: Make the exception handling functions inline.

1.36: Alexandre Julliard <julliard@winehq.org>
exception.h: Only push the exception frame after sigsetjmp.
Otherwise on Windows longjmp may want to mess with the exception frame.

1.37: Alexandre Julliard <julliard@winehq.org>
exception.h: Preserve registers when calling RtlUnwind.

See issue #812 for more details.

svn path=/trunk/; revision=33732

14 years ago- More header fixes.
Aleksey Bragin [Tue, 27 May 2008 18:59:59 +0000 (18:59 +0000)]
- More header fixes.

svn path=/trunk/; revision=33731

14 years agoPolish language Update by Olaf Siejka
Daniel Reimer [Tue, 27 May 2008 18:54:23 +0000 (18:54 +0000)]
Polish language Update by Olaf Siejka

svn path=/trunk/; revision=33730

14 years ago- access parameter after they have been verified as valid
Johannes Anderwald [Tue, 27 May 2008 10:53:23 +0000 (10:53 +0000)]
- access parameter after they have been verified as valid
- fixes a kernel32_winetest crash
- fixes bug 3264

svn path=/trunk/; revision=33729

14 years ago- fix typo in CreateServiceA
Johannes Anderwald [Tue, 27 May 2008 08:54:07 +0000 (08:54 +0000)]
- fix typo in CreateServiceA
- bug found by Michael martinmnet at hotmail dot com (IRC: bugboy)

svn path=/trunk/; revision=33728

14 years agoAnother typo. Yep, I'm officially today's jester...
Ged Murphy [Tue, 27 May 2008 08:34:28 +0000 (08:34 +0000)]
Another typo. Yep, I'm officially today's jester...

svn path=/trunk/; revision=33727

14 years agofix typo
Ged Murphy [Tue, 27 May 2008 08:32:19 +0000 (08:32 +0000)]
fix typo

svn path=/trunk/; revision=33726

14 years agofix potential buffer overflow
Ged Murphy [Tue, 27 May 2008 08:28:52 +0000 (08:28 +0000)]
fix potential buffer overflow

svn path=/trunk/; revision=33725

14 years agoDaniel Zimmermann <netzimme@aim.com>
Aleksey Bragin [Tue, 27 May 2008 08:11:06 +0000 (08:11 +0000)]
Daniel Zimmermann <netzimme@aim.com>
- Sync setlocale from Wine.
See issue #3254 for more details.

svn path=/trunk/; revision=33724

14 years agoRename and add new internal functions.
James Tabor [Tue, 27 May 2008 01:38:01 +0000 (01:38 +0000)]
Rename and add new internal functions.

svn path=/trunk/; revision=33723

14 years agoRemoved NtGdi rect calls.
James Tabor [Mon, 26 May 2008 23:57:30 +0000 (23:57 +0000)]
Removed NtGdi rect calls.

svn path=/trunk/; revision=33722

14 years agoFix the rest too....
James Tabor [Mon, 26 May 2008 21:12:17 +0000 (21:12 +0000)]
Fix the rest too....

svn path=/trunk/; revision=33721

14 years ago- check if MDICLIENTINFO is available before retrieving information
Johannes Anderwald [Mon, 26 May 2008 20:52:28 +0000 (20:52 +0000)]
- check if MDICLIENTINFO is available before retrieving information
- fixes a user32_winetest crash

svn path=/trunk/; revision=33720

14 years agoWhy are we deleting prgnVis after setting it up? Wine code shows that it is deleted...
James Tabor [Mon, 26 May 2008 20:36:38 +0000 (20:36 +0000)]
Why are we deleting prgnVis after setting it up? Wine code shows that it is deleted after an error if it was setup prior the error. This fixes a bug introduced in revision 5118.

svn path=/trunk/; revision=33719

14 years agoChange the code a bit, as Hervé Poussineau points out, the interrupt vector could...
Filip Navara [Mon, 26 May 2008 18:51:15 +0000 (18:51 +0000)]
Change the code a bit, as Hervé Poussineau points out, the interrupt vector could in some cases be zero.

svn path=/trunk/; revision=33718

14 years agoFix incorrect logic in IntVideoPortSetupInterrupt and add comment.
Filip Navara [Mon, 26 May 2008 18:32:40 +0000 (18:32 +0000)]
Fix incorrect logic in IntVideoPortSetupInterrupt and add comment.

svn path=/trunk/; revision=33717

14 years ago- only convert the devmode if the caller passed one
Johannes Anderwald [Mon, 26 May 2008 18:13:17 +0000 (18:13 +0000)]
- only convert the devmode if the caller passed one
- fixes a user32_winetest crash failure

svn path=/trunk/; revision=33716

14 years ago- Fix misc structures definitions.
Aleksey Bragin [Mon, 26 May 2008 18:08:50 +0000 (18:08 +0000)]
- Fix misc structures definitions.

svn path=/trunk/; revision=33715

14 years agoRemoved legacy code from r33695, trying to free a NULL pointer
Gregor Brunmar [Mon, 26 May 2008 16:13:19 +0000 (16:13 +0000)]
Removed legacy code from r33695, trying to free a NULL pointer

svn path=/trunk/; revision=33714

14 years ago- Erase countdown timer when needed. Based on a patch from bug 3279.
Aleksey Bragin [Mon, 26 May 2008 15:27:09 +0000 (15:27 +0000)]
- Erase countdown timer when needed. Based on a patch from bug 3279.
See issue #3046 for more details.

svn path=/trunk/; revision=33713

14 years ago- add support for a future timeout callback mechanism
Johannes Anderwald [Mon, 26 May 2008 15:23:24 +0000 (15:23 +0000)]
- add support for a future timeout callback mechanism

svn path=/trunk/; revision=33712

14 years ago- Remove $Id tags.
Aleksey Bragin [Mon, 26 May 2008 14:42:27 +0000 (14:42 +0000)]
- Remove $Id tags.

svn path=/trunk/; revision=33711

14 years ago- check if its a primary monitor before calculating monitor intersection rectangle
Johannes Anderwald [Mon, 26 May 2008 13:50:36 +0000 (13:50 +0000)]
- check if its a primary monitor before calculating monitor intersection rectangle
- should fix bug 3281

svn path=/trunk/; revision=33709

14 years ago- Add more functions to the lookup table (used by the newest VMWare 6.5 Video driver).
Aleksey Bragin [Mon, 26 May 2008 11:47:47 +0000 (11:47 +0000)]
- Add more functions to the lookup table (used by the newest VMWare 6.5 Video driver).

svn path=/trunk/; revision=33708