reactos.git
16 years agoBug 3165 Korean translation of devmgmt & eventvwr by Seungju Kim (admin@manateeshome...
Daniel Reimer [Thu, 10 Apr 2008 10:27:09 +0000 (10:27 +0000)]
Bug 3165 Korean translation of devmgmt & eventvwr by Seungju Kim (admin@manateeshome.com)
Bug 3172 Updated spanish translation for Shell32.dll by Javier Remacha (remialdo@gmail.com)
Bug 3173 Bulgarian language update for ReactOS by (sstpr@narod.ru)
Bug 3174 Bulgarian language update of RosApps by (sstpr@narod.ru)
Bug 3175 Czech translation: usetup by (radekliska@gmail.com)

svn path=/trunk/; revision=32901

16 years agosome more work on xen support - DomU will now be started but debug output isn't handl...
Christoph von Wittich [Wed, 9 Apr 2008 19:06:26 +0000 (19:06 +0000)]
some more work on xen support - DomU will now be started but debug output isn't handled yet

svn path=/trunk/; revision=32900

16 years agoImplemented (from Wine): BeginUpdateResourceA, BeginUpdateResourceW, UpdateResourceA...
Dmitry Chapyshev [Wed, 9 Apr 2008 19:05:08 +0000 (19:05 +0000)]
Implemented (from Wine): BeginUpdateResourceA, BeginUpdateResourceW, UpdateResourceA, UpdateResourceW, EnumResourceLanguagesW, EnumResourceLanguagesA, EndUpdateResourceA, EndUpdateResourceW, EnumResourceTypesW, EnumResourceTypesA

Small fixes: GetSystemInfo, IsProcessorFeaturePresent, LockResource

svn path=/trunk/; revision=32899

16 years agoadd EMU_TYPE_XEN and initial Xen detection (including hvm support)
Christoph von Wittich [Wed, 9 Apr 2008 16:29:14 +0000 (16:29 +0000)]
add EMU_TYPE_XEN and initial Xen detection (including hvm support)

svn path=/trunk/; revision=32898

16 years agoTest code for loading and unloading a driver via 3 different methods. SCM, native...
Ged Murphy [Wed, 9 Apr 2008 13:43:34 +0000 (13:43 +0000)]
Test code for loading and unloading a driver via 3 different methods. SCM, native methods and via the relatively unknown NtSetSystemInformation methods.
Needs rbuild files to test in ros.

svn path=/trunk/; revision=32897

16 years ago- fix api call convention
Johannes Anderwald [Wed, 9 Apr 2008 11:08:46 +0000 (11:08 +0000)]
- fix api call convention

svn path=/trunk/; revision=32896

16 years ago- add version information for notepad
Johannes Anderwald [Wed, 9 Apr 2008 11:07:39 +0000 (11:07 +0000)]
- add version information for notepad

svn path=/trunk/; revision=32895

16 years agoUpdated French translation for Shell32.dll
Pierre Schweitzer [Tue, 8 Apr 2008 09:32:38 +0000 (09:32 +0000)]
Updated French translation for Shell32.dll

svn path=/trunk/; revision=32894

16 years agoGood example how client thread info structure works. Only one flag was seen being...
James Tabor [Tue, 8 Apr 2008 05:08:25 +0000 (05:08 +0000)]
Good example how client thread info structure works. Only one flag was seen being set and cleared when multi-thread messages are sent. Researched back in 2001.

svn path=/trunk/; revision=32893

16 years agoFix alignment for client info structure.
James Tabor [Tue, 8 Apr 2008 03:37:59 +0000 (03:37 +0000)]
Fix alignment for client info structure.

svn path=/trunk/; revision=32892

16 years ago- add SHOpenWithDialog prototype and structure
Johannes Anderwald [Mon, 7 Apr 2008 21:40:55 +0000 (21:40 +0000)]
- add SHOpenWithDialog prototype and structure

svn path=/trunk/; revision=32891

16 years ago- Remove old pump hook and use new client thread information. Tested with Qemu and...
James Tabor [Mon, 7 Apr 2008 19:02:21 +0000 (19:02 +0000)]
- Remove old pump hook and use new client thread information. Tested with Qemu and installed and run more than twice FF 1.5.03.

svn path=/trunk/; revision=32890

16 years agoPolish Language Update by Olaf Siejka.
Daniel Reimer [Mon, 7 Apr 2008 11:51:00 +0000 (11:51 +0000)]
Polish Language Update by Olaf Siejka.

svn path=/trunk/; revision=32889

16 years ago- Update Russian translation
Dmitry Chapyshev [Mon, 7 Apr 2008 07:19:42 +0000 (07:19 +0000)]
- Update Russian translation

svn path=/trunk/; revision=32888

16 years ago- Plugged in client thread information, tested with Qemu.
James Tabor [Mon, 7 Apr 2008 05:01:34 +0000 (05:01 +0000)]
- Plugged in client thread information, tested with Qemu.
- Add small fix to IntBroadcastSystemMessage structure.

svn path=/trunk/; revision=32887

16 years agoPatchPatch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
Timo Kreuzer [Sun, 6 Apr 2008 23:20:31 +0000 (23:20 +0000)]
PatchPatch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- remove last traces of my dyslexia also known as GDIOBJ_AllocObjDepricated
- fix a typo

svn path=/trunk/; revision=32886

16 years agoVytis Girdžijauskas (cman AT cman DOT us)
Colin Finck [Sun, 6 Apr 2008 18:36:08 +0000 (18:36 +0000)]
Vytis Girdžijauskas (cman AT cman DOT us)
- Allow evironment variables to be used in the "Wallpaper" registry value.
- Do not display the file suffix after adding a wallpaper through the "Browse" dialog.

Changes by me:
- After using the "Browse" dialog, select the newly added item and scroll to the bottom to show it
- Add the LVS_SHOWSELALWAYS style to the ListViews, so items are also highlighted, when the ListView does not have the focus (same as WinXP does)

See issue #2746 for more details.

svn path=/trunk/; revision=32885

16 years ago- Implement SendMessageCallbackA/W, user32 only.
James Tabor [Sun, 6 Apr 2008 18:24:30 +0000 (18:24 +0000)]
- Implement SendMessageCallbackA/W, user32 only.
- Add client thread infomation structure to W32THREADINFO. Nothing is plugged in yet, the code is there.
- Fix IntBroadcastSystemMessage to correct filter action. More work is needed since our message system has issues.
- This could be a good project for newbies, rewrite message system could be placed into a branch.

svn path=/trunk/; revision=32884

16 years agofix baseaddress.rbuild
Sylvain Petreolle [Sun, 6 Apr 2008 18:02:45 +0000 (18:02 +0000)]
fix baseaddress.rbuild

svn path=/trunk/; revision=32883

16 years agoaccording to fireball's comment,
Sylvain Petreolle [Sun, 6 Apr 2008 15:24:06 +0000 (15:24 +0000)]
according to fireball's comment,
complete baseaddress.rbuild sort by base address.

svn path=/trunk/; revision=32882

16 years ago- Sync to Wine, fixes hlink_winetest build.
Aleksey Bragin [Sun, 6 Apr 2008 12:31:24 +0000 (12:31 +0000)]
- Sync to Wine, fixes hlink_winetest build.

svn path=/trunk/; revision=32881

16 years ago- fix build
Johannes Anderwald [Sun, 6 Apr 2008 08:38:24 +0000 (08:38 +0000)]
- fix build

svn path=/trunk/; revision=32880

16 years ago- implement PickIconDlg
Johannes Anderwald [Sun, 6 Apr 2008 04:30:43 +0000 (04:30 +0000)]
- implement PickIconDlg
- fix bug a shellink property dialog

svn path=/trunk/; revision=32879

16 years ago- add missing constants
Johannes Anderwald [Sun, 6 Apr 2008 03:05:23 +0000 (03:05 +0000)]
- add missing constants

svn path=/trunk/; revision=32878

16 years agoFix resource initialization order in vfat too.
Art Yerkes [Sat, 5 Apr 2008 23:22:02 +0000 (23:22 +0000)]
Fix resource initialization order in vfat too.

svn path=/trunk/; revision=32877

16 years agoInitialize this resource before the first potential use.
Art Yerkes [Sat, 5 Apr 2008 23:12:05 +0000 (23:12 +0000)]
Initialize this resource before the first potential use.

svn path=/trunk/; revision=32876

16 years ago- fix alignment issues in input.dll
Johannes Anderwald [Sat, 5 Apr 2008 22:43:21 +0000 (22:43 +0000)]
- fix alignment issues in input.dll
- patch by Vytis Girdzijauskas, cman[at]cman[dot]us
See issue #3169 for more details.

svn path=/trunk/; revision=32875

16 years agoBroadcastSystemMessage:
James Tabor [Sat, 5 Apr 2008 18:05:11 +0000 (18:05 +0000)]
BroadcastSystemMessage:
- Implement User half only.
- Introduce example use for NtUserMessageCall.
- IntBroadcastSystemMessage is based on Wine LGPL implementation http://www.winehq.org/pipermail/wine-cvs/2008-April/042051.html .
- Wine testing needed to be change by adding message range parameter check. The range was from 0 to -1 and check for resulting errors that conformed to XP.
- Need to move BROADCASTPARM to include/X/X/ntuser.h or other after Dr. Timo finishes header realignment.

svn path=/trunk/; revision=32874

16 years ago- use GetTickCount64 over GetSystemTime as the time reported has more reasonable...
Johannes Anderwald [Sat, 5 Apr 2008 13:46:41 +0000 (13:46 +0000)]
- use GetTickCount64 over GetSystemTime as the time reported has more reasonable values :)

svn path=/trunk/; revision=32873

16 years ago- sorry again...
Johannes Anderwald [Sat, 5 Apr 2008 11:03:55 +0000 (11:03 +0000)]
- sorry again...

svn path=/trunk/; revision=32870

16 years ago- change statistics to display number of bytes received / send instead of number...
Johannes Anderwald [Sat, 5 Apr 2008 11:00:29 +0000 (11:00 +0000)]
- change statistics to display number of bytes received / send instead of number of packets
- dont show a decimal seperator

svn path=/trunk/; revision=32869

16 years agoUpdate NtUserMessageCall prototype. Used Wine message tests to track down types.
James Tabor [Sat, 5 Apr 2008 05:44:45 +0000 (05:44 +0000)]
Update NtUserMessageCall prototype. Used Wine message tests to track down types.

svn path=/trunk/; revision=32867

16 years agoPatch by Vytis Girdzijauskas (cman[at]cman[dot]us):
Timo Kreuzer [Sat, 5 Apr 2008 00:25:22 +0000 (00:25 +0000)]
Patch by Vytis Girdzijauskas (cman[at]cman[dot]us):
make mazescr show fullscreen

svn path=/trunk/; revision=32866

16 years agocleanup gdiobj.c:
Timo Kreuzer [Fri, 4 Apr 2008 23:35:43 +0000 (23:35 +0000)]
cleanup gdiobj.c:
- use small header
- reorder code
- replace some #if GDI_DEBUG code with macros
- remove old GdiHdrXxx macros
- replace some pointless inline functions with the real code
- NtGdiExtGetObjectW: NTAPI -> W32KAPI APIENTRY

svn path=/trunk/; revision=32865

16 years ago- Move msxml3.dll's preferred base to a better address.
Aleksey Bragin [Fri, 4 Apr 2008 17:06:35 +0000 (17:06 +0000)]
- Move msxml3.dll's preferred base to a better address.

svn path=/trunk/; revision=32864

16 years ago- Again: baseaddress.rbuild is sorted BY BASE ADDRESS, not by alphabet!
Aleksey Bragin [Fri, 4 Apr 2008 16:52:55 +0000 (16:52 +0000)]
- Again: baseaddress.rbuild is sorted BY BASE ADDRESS, not by alphabet!

svn path=/trunk/; revision=32863

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 16:43:16 +0000 (16:43 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32862

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 15:10:09 +0000 (15:10 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32861

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 14:43:57 +0000 (14:43 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32860

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 14:41:46 +0000 (14:41 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32859

16 years agoAdd some constants/prototypes
Hervé Poussineau [Fri, 4 Apr 2008 14:41:24 +0000 (14:41 +0000)]
Add some constants/prototypes

svn path=/trunk/; revision=32858

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 14:35:37 +0000 (14:35 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32857

16 years agoAdd some constants
Hervé Poussineau [Fri, 4 Apr 2008 14:28:24 +0000 (14:28 +0000)]
Add some constants

svn path=/trunk/; revision=32856

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 14:27:55 +0000 (14:27 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32855

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 14:15:40 +0000 (14:15 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32854

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 13:51:01 +0000 (13:51 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32853

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 13:49:05 +0000 (13:49 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32852

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 13:46:58 +0000 (13:46 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32851

16 years agoAdd some prototypes
Hervé Poussineau [Fri, 4 Apr 2008 13:44:06 +0000 (13:44 +0000)]
Add some prototypes

svn path=/trunk/; revision=32850

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 13:43:40 +0000 (13:43 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32849

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 13:28:59 +0000 (13:28 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32848

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 13:26:49 +0000 (13:26 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32847

16 years agoTry to fix build
Hervé Poussineau [Fri, 4 Apr 2008 13:24:40 +0000 (13:24 +0000)]
Try to fix build

svn path=/trunk/; revision=32846

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 13:24:16 +0000 (13:24 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32845

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 13:20:27 +0000 (13:20 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32844

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 13:13:15 +0000 (13:13 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32843

16 years agoUpdate header
Hervé Poussineau [Fri, 4 Apr 2008 13:10:46 +0000 (13:10 +0000)]
Update header

svn path=/trunk/; revision=32842

16 years agoTry to fix build
Hervé Poussineau [Fri, 4 Apr 2008 12:30:11 +0000 (12:30 +0000)]
Try to fix build

svn path=/trunk/; revision=32841

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 12:21:42 +0000 (12:21 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32840

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 12:16:03 +0000 (12:16 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32839

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 12:13:16 +0000 (12:13 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32838

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 12:05:56 +0000 (12:05 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32837

16 years agoTry to fix build
Hervé Poussineau [Fri, 4 Apr 2008 12:03:43 +0000 (12:03 +0000)]
Try to fix build

svn path=/trunk/; revision=32836

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 12:03:12 +0000 (12:03 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32835

16 years agoAutosyncing with Wine HEAD
The Wine Synchronizer [Fri, 4 Apr 2008 12:02:39 +0000 (12:02 +0000)]
Autosyncing with Wine HEAD

svn path=/trunk/; revision=32834

16 years agoAdd svn:eol-style=native property
Hervé Poussineau [Fri, 4 Apr 2008 05:49:50 +0000 (05:49 +0000)]
Add svn:eol-style=native property

svn path=/trunk/; revision=32833

16 years agoDC_SetOwnership: use GDIOBJ_SetOwnership instead of GDIOB_CopyOwnership, which is...
Timo Kreuzer [Thu, 3 Apr 2008 20:27:50 +0000 (20:27 +0000)]
DC_SetOwnership: use GDIOBJ_SetOwnership instead of GDIOB_CopyOwnership, which is faster. Also rename DC to pDC, a variable shouldn't have the same name as a type.

svn path=/trunk/; revision=32832

16 years agoReplace E_FAIL by a better error code
Hervé Poussineau [Thu, 3 Apr 2008 19:07:11 +0000 (19:07 +0000)]
Replace E_FAIL by a better error code

svn path=/trunk/; revision=32831

16 years agoUpdate POLYPATBLT.
James Tabor [Thu, 3 Apr 2008 17:51:41 +0000 (17:51 +0000)]
Update POLYPATBLT.

svn path=/trunk/; revision=32830

16 years ago- restore cursor on exit
Johannes Anderwald [Thu, 3 Apr 2008 13:34:02 +0000 (13:34 +0000)]
- restore cursor on exit

svn path=/trunk/; revision=32829

16 years ago- Implemented: SetDefaultCommConfigW, SetDefaultCommConfigA, GetDefaultCommConfigW...
Dmitry Chapyshev [Thu, 3 Apr 2008 10:50:57 +0000 (10:50 +0000)]
- Implemented: SetDefaultCommConfigW, SetDefaultCommConfigA, GetDefaultCommConfigW, GetDefaultCommConfigA
- Fixed: GetCommState

svn path=/trunk/; revision=32828

16 years agoImplemented EnumLanguageGroupLocalesA, EnumLanguageGroupLocalesW, EnumUILanguagesW...
Dmitry Chapyshev [Thu, 3 Apr 2008 09:49:14 +0000 (09:49 +0000)]
Implemented EnumLanguageGroupLocalesA, EnumLanguageGroupLocalesW, EnumUILanguagesW, EnumUILanguagesA, GetUserGeoID, SetUserGeoID (from Wine)

svn path=/trunk/; revision=32827

16 years ago- Update header
Dmitry Chapyshev [Thu, 3 Apr 2008 09:47:45 +0000 (09:47 +0000)]
- Update header

svn path=/trunk/; revision=32826

16 years agoPatch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
Timo Kreuzer [Thu, 3 Apr 2008 02:13:34 +0000 (02:13 +0000)]
Patch by Stefan Ginsberg (stefan__100__ AT hotmail DOT com):
- remove NtUserEnumClipboardFormats, use ->ONEPARAM_ROUTINE_ENUMCLIPBOARDFORMAT insetad
- remove NtUserRegisterClipboardFormat, use NtUserRegisterWIndowsMessage instead
- remove NtUserKillSystemTimer, use HWNDPARAM_ROUTINE_KILLSYSTEMTIMER instead
- remove NtUserInsertMenuItem, use NtUserThunkedMenuItemInfo instead
- remove NtUserGetCapture, use THREADSTATE_CAPTUREWINDOW instead
- remove NtUserGetActiveWindow, use THREADSTATE_ACTIVEWINDOW instead
- remove NtUserGetQueueStatus, use ONEPARAM_ROUTIME_GETQUEUESTATUS instead
- remove NtUserGetLastActivePopup, wasn't implemented
- remove NtUserRealizePalette from ntuser.h, it's not implemented
- remove duplicate NtUserGetLastInputInfo from ntuser.h
- remove PrivateCsrssRergisterPrimitive from user32, it was unused and unimplemented
- remove NtUserDereferenceWndprocHandle, it was unused
- move WNDPROC_INFO structure from ntuser.h to win32k/include/class.h, as it's not used in usermode anymore
tested with AbiWord and FF on VMWare

svn path=/trunk/; revision=32825

16 years agosilence annoying "didn't find the shared icon" message
Timo Kreuzer [Thu, 3 Apr 2008 02:04:05 +0000 (02:04 +0000)]
silence annoying "didn't find the shared icon" message

svn path=/trunk/; revision=32824

16 years ago- fix identation which got broken in rev 32822
Johannes Anderwald [Wed, 2 Apr 2008 19:00:19 +0000 (19:00 +0000)]
- fix identation which got broken in rev 32822

svn path=/trunk/; revision=32823

16 years ago- avoid buffer overflow in copy command argument handling
Johannes Anderwald [Wed, 2 Apr 2008 18:51:36 +0000 (18:51 +0000)]
- avoid buffer overflow in copy command argument handling

See issue #3108 for more details.

svn path=/trunk/; revision=32822

16 years ago- Update English translation
Dmitry Chapyshev [Wed, 2 Apr 2008 18:05:15 +0000 (18:05 +0000)]
- Update English translation

svn path=/trunk/; revision=32821

16 years ago- Update English and Russian translations
Dmitry Chapyshev [Wed, 2 Apr 2008 18:04:19 +0000 (18:04 +0000)]
- Update English and Russian translations

svn path=/trunk/; revision=32820

16 years agoComplete rewrite of the tcpsvcs service in response to me doing some network stress...
Ged Murphy [Wed, 2 Apr 2008 16:54:55 +0000 (16:54 +0000)]
Complete rewrite of the tcpsvcs service in response to me doing some network stress testing.
It now supports multiple connections from multiple clients across all services.
For anyone interested in doing some network stress testing, start the simple tcp/ip services from the service manager, then run 'telnet <ip> 19' from a networked machine. Other ports to try are 7, 9, 13 and 17. Have fun.

svn path=/trunk/; revision=32819

16 years ago- Fix richedit20_winetest build.
Aleksey Bragin [Wed, 2 Apr 2008 10:37:06 +0000 (10:37 +0000)]
- Fix richedit20_winetest build.

svn path=/trunk/; revision=32818

16 years agoA few small changes
Ged Murphy [Wed, 2 Apr 2008 08:54:50 +0000 (08:54 +0000)]
A few small changes

svn path=/trunk/; revision=32817

16 years agoFix build :-)
Colin Finck [Tue, 1 Apr 2008 21:21:29 +0000 (21:21 +0000)]
Fix build :-)

svn path=/trunk/; revision=32815

16 years ago- Rewrite the SD Cache functions to use the Windows 2003 structures (thanks to Alex...
Aleksey Bragin [Tue, 1 Apr 2008 21:09:28 +0000 (21:09 +0000)]
- Rewrite the SD Cache functions to use the Windows 2003 structures (thanks to Alex for providing them).
- Use pushlocks instead of the fast mutex that was previously used.
- Improve the performance of some paths by reducing lock acquisition time, and using atomic operations instead when possible.
- Implement the exported Ob APIs which were added in Windows XP to access the Sd cache (ObReference/DereferenceSecurityDescriptor and ObLogSecurityDescriptor). These are used by file systems (such as NPFS) on Windows XP and higher.

svn path=/trunk/; revision=32814

16 years ago- Lock only the object header for an object instead of the entire object type, for...
Aleksey Bragin [Tue, 1 Apr 2008 20:07:36 +0000 (20:07 +0000)]
- Lock only the object header for an object instead of the entire object type, for better contention. Implement exclusive/shared lock and release routines around the existing lock slots in the object type (this allows up to 4 different objects to be locked in the same time, instead of locking the entire type).
- Thanks to Alex for reporting this.

svn path=/trunk/; revision=32812

16 years ago- Fix initialiization of the object manager lookaside lists.
Aleksey Bragin [Tue, 1 Apr 2008 19:27:58 +0000 (19:27 +0000)]
- Fix initialiization of the object manager lookaside lists.
- Rename the variables to understandable names.
- Don't leak object locks when destroying an object type.
- Directory objects must be case-insensitive.
- Symbolic links must be case-insensitive.
- Create \KernelObjects directory during startup.

svn path=/trunk/; revision=32811

16 years agofix handling of unsafe string parameter in NtGdiGetFontResourceInfoInternalW
Timo Kreuzer [Tue, 1 Apr 2008 18:21:06 +0000 (18:21 +0000)]
fix handling of unsafe string parameter in NtGdiGetFontResourceInfoInternalW

svn path=/trunk/; revision=32810

16 years ago- Use C define for the bit in the wait block flags that we set to specify waiting...
Aleksey Bragin [Tue, 1 Apr 2008 18:14:01 +0000 (18:14 +0000)]
- Use C define for the bit in the wait block flags that we set to specify waiting, instead of a hardcoded "1".
- Fix broken code when trying to find the last wait block in several parts of the pushlock code.
- Fix broken algorithm in the optimization of the pushlock waiter list.
- The wake event for the pushlock should be a synchronization event, not a notification event.
- Fix broken algorithm during the release of a pushlock (in shared cases).
- Fix broken code during "try to wake pushlock".
- Remove DbgPrints from inlined pushlock code during contention.
- Thanks to Alex for noticing these bugs and providing advice on the fixes. This fixes lots of race issues in the handle table implementation.

svn path=/trunk/; revision=32809

16 years ago- Implement inline version of _rotl. The Win32 version of the CRT has this function...
Aleksey Bragin [Tue, 1 Apr 2008 17:49:03 +0000 (17:49 +0000)]
- Implement inline version of _rotl. The Win32 version of the CRT has this function in the standard library, but the NT one doesn't, so we need to rely on the inline version (which MSVC supports).

svn path=/trunk/; revision=32808

16 years ago- make some text metric settings compatible to windows xp.
Timo Kreuzer [Tue, 1 Apr 2008 17:07:12 +0000 (17:07 +0000)]
- make some text metric settings compatible to windows xp.
- zero out lfWidth member when returning logfont in IntGdiGetFontResourceInfo. Fixes recently introduced bug in fontview display, also fixes ms fontview.

svn path=/trunk/; revision=32807

16 years agofix calculation of cwc parameter for NtGdiGetFontResourceInfoInternalW.
Timo Kreuzer [Tue, 1 Apr 2008 16:57:17 +0000 (16:57 +0000)]
fix calculation of cwc parameter for NtGdiGetFontResourceInfoInternalW.

svn path=/trunk/; revision=32806

16 years ago- Update Russian translation
Dmitry Chapyshev [Tue, 1 Apr 2008 14:48:01 +0000 (14:48 +0000)]
- Update Russian translation

svn path=/trunk/; revision=32805

16 years ago- Update Russian translation
Dmitry Chapyshev [Tue, 1 Apr 2008 14:43:35 +0000 (14:43 +0000)]
- Update Russian translation

svn path=/trunk/; revision=32804

16 years ago- Fix ExReleaseResourceLock(), spotted by Alex.
Aleksey Bragin [Tue, 1 Apr 2008 12:58:11 +0000 (12:58 +0000)]
- Fix ExReleaseResourceLock(), spotted by Alex.

svn path=/trunk/; revision=32803

16 years agoMove implemented functions out of stubs.
James Tabor [Tue, 1 Apr 2008 01:41:19 +0000 (01:41 +0000)]
Move implemented functions out of stubs.

svn path=/trunk/; revision=32802

16 years agoMove thread pool functions prototypes to ndk.
James Tabor [Tue, 1 Apr 2008 01:07:09 +0000 (01:07 +0000)]
Move thread pool functions prototypes to ndk.

svn path=/trunk/; revision=32801

16 years agoSeSetSecurityDescriptorInfo/Ex check the security object pointer for null. http:...
James Tabor [Tue, 1 Apr 2008 00:31:56 +0000 (00:31 +0000)]
SeSetSecurityDescriptorInfo/Ex check the security object pointer for null. msdn2.microsoft.com/en-us/library/ms800810.aspx

svn path=/trunk/; revision=32800

16 years agoThe default object security method should not directly call Se* routines on the Secur...
Aleksey Bragin [Mon, 31 Mar 2008 20:07:02 +0000 (20:07 +0000)]
The default object security method should not directly call Se* routines on the Security Descriptors, since they belong to the object manger security descriptor cache, and they need to be referenced and dereferenced in order to make sure they don't disappear from beneath the caller.
Additionally, the code for the "Set" operation should actually go in SeSetSecurityDescriptorInfo API, which was unimplemented. By simply copying the code over, this API is now implemented, and the routine works as expected.
Also, the default method was not handling "delete" requests, but was ignoring them, resulting in memory leaks and never-dereferenced descriptors.
Thanks to Alex for finding these bugs. Alex also says SeSetSecurityDescriptorInfo should call the Rtl package (RtlSetObjectSecurity) but we don't implement those functions yet.

svn path=/trunk/; revision=32799

16 years ago- Fix PARTITION_STYLE enum to include PARTITION_STYLE_RAW.
Aleksey Bragin [Mon, 31 Mar 2008 18:22:46 +0000 (18:22 +0000)]
- Fix PARTITION_STYLE enum to include PARTITION_STYLE_RAW.
- Add a few storage-related IOCTLs and GUIDs definitions.

svn path=/trunk/; revision=32798

16 years ago- Fix a typo in the debug message.
Aleksey Bragin [Mon, 31 Mar 2008 15:58:59 +0000 (15:58 +0000)]
- Fix a typo in the debug message.

svn path=/trunk/; revision=32796