Aleksey Bragin [Tue, 29 Apr 2008 20:01:38 +0000 (20:01 +0000)]
- Enter into critical region before acquiring the resource.
See issue #3193 for more details.
svn path=/trunk/; revision=33193
Aleksey Bragin [Tue, 29 Apr 2008 17:00:31 +0000 (17:00 +0000)]
- All DxEng APIs are STDCALL. The only possible exception are FASTCALLs, but this is to be determined and fixed by Magnus.
- Also fix numerous typos, greatlordisms, and other shamefully-looking strings.
svn path=/trunk/; revision=33191
Aleksey Bragin [Tue, 29 Apr 2008 15:36:11 +0000 (15:36 +0000)]
- Fix typos in source code comments.
svn path=/trunk/; revision=33190
Johannes Anderwald [Tue, 29 Apr 2008 15:24:54 +0000 (15:24 +0000)]
RRF_RT_REG_SZ is already defined in winreg.h
svn path=/trunk/; revision=33189
Johannes Anderwald [Tue, 29 Apr 2008 12:19:55 +0000 (12:19 +0000)]
- fix flickering of DirectDraw tests by Pigglesworth (Kamil Hornicek)
- enumerate all available display / sound adapters dynamically at start (does not work yet)
- rewrite TabCtrl_OnSelChange to reflect changes
svn path=/trunk/; revision=33188
Johannes Anderwald [Tue, 29 Apr 2008 10:27:03 +0000 (10:27 +0000)]
- query current time zone
- retrieve localized country for a version
- pass length parameter to avoid potential buffer overflows
svn path=/trunk/; revision=33187
James Tabor [Tue, 29 Apr 2008 02:00:56 +0000 (02:00 +0000)]
Implement DxEngSetDCOwner, add stub for IntGdiSetDCOwnerEx.
svn path=/trunk/; revision=33186
James Tabor [Tue, 29 Apr 2008 01:46:58 +0000 (01:46 +0000)]
Update DxEngSetDCOwner and add owner masks.
svn path=/trunk/; revision=33185
Johannes Anderwald [Mon, 28 Apr 2008 21:47:43 +0000 (21:47 +0000)]
- enumerate driver files, driver version and driver time
svn path=/trunk/; revision=33184
Andrey Korotaev [Mon, 28 Apr 2008 20:20:53 +0000 (20:20 +0000)]
Fix build
svn path=/trunk/; revision=33183
Dmitry Chapyshev [Mon, 28 Apr 2008 19:29:08 +0000 (19:29 +0000)]
- Add some defines
svn path=/trunk/; revision=33182
Johannes Anderwald [Mon, 28 Apr 2008 17:16:57 +0000 (17:16 +0000)]
- implement more details for display adapter page
- enlarge general details groupbox
svn path=/trunk/; revision=33181
Dmitry Chapyshev [Mon, 28 Apr 2008 16:57:57 +0000 (16:57 +0000)]
- Update Russian translation
svn path=/trunk/; revision=33180
Johannes Anderwald [Mon, 28 Apr 2008 15:14:12 +0000 (15:14 +0000)]
- add DirectDraw tests by Pigglesworth (Kamil Hornicek)
- add resources for display page
- start implementing display page
- sync german resources
- display custom service provider for DirectPlay
svn path=/trunk/; revision=33178
Johannes Anderwald [Mon, 28 Apr 2008 14:55:21 +0000 (14:55 +0000)]
- add GUID_DEVCLASS_DISPLAY
- fix format
svn path=/trunk/; revision=33177
Dmitry Chapyshev [Mon, 28 Apr 2008 14:04:22 +0000 (14:04 +0000)]
- Add support second keyboard layout
- Update all translations
svn path=/trunk/; revision=33175
Marc Piulachs [Mon, 28 Apr 2008 13:44:11 +0000 (13:44 +0000)]
make rbuild files XML compliant by adding the XInclude namespace , no code change
svn path=/trunk/; revision=33174
Magnus Olsen [Mon, 28 Apr 2008 06:03:29 +0000 (06:03 +0000)]
update intEnableReactXDriver with more code
svn path=/trunk/; revision=33173
Dmitry Chapyshev [Sun, 27 Apr 2008 20:42:01 +0000 (20:42 +0000)]
- Add kbswitch to autorun
svn path=/trunk/; revision=33172
Dmitry Chapyshev [Sun, 27 Apr 2008 17:14:58 +0000 (17:14 +0000)]
- Don't be loaded more than one copy of the application (based on mutex)
svn path=/trunk/; revision=33171
Marc Piulachs [Sun, 27 Apr 2008 17:09:51 +0000 (17:09 +0000)]
spanish translation for kbswitch
svn path=/trunk/; revision=33170
Magnus Olsen [Sun, 27 Apr 2008 17:00:06 +0000 (17:00 +0000)]
Getting the pain in the ass api DxDdCreateDirectDrawObject inside ms dxg.sys working it is now returning info now
it needs a negtive value set in struct edd_directdraw_global member llAssertModeTimeout.
svn path=/trunk/; revision=33169
Dmitry Chapyshev [Sun, 27 Apr 2008 15:40:42 +0000 (15:40 +0000)]
- Implement current layout indicator
svn path=/trunk/; revision=33168
Magnus Olsen [Sun, 27 Apr 2008 15:31:47 +0000 (15:31 +0000)]
add new : define a new flags for edd_directdraw_global, struct member in edd_directdraw_global
Fixed : some comment
Add DD_MISCELLANEOUS2CALLBACKS so it works now with ms dxg.sys from user mode with callbacks.
it mean follow api from the gf card drv should work now with syscall to win32k from user mode
NtGdiDdAlphaBlt, NtGdiDdCreateSurfaceEx, NtGdiDdGetDriverState, NtGdiDdDestroyDDLocal
svn path=/trunk/; revision=33167
Daniel Reimer [Sun, 27 Apr 2008 15:18:20 +0000 (15:18 +0000)]
Fix one warning.
svn path=/trunk/; revision=33166
Daniel Reimer [Sun, 27 Apr 2008 15:02:13 +0000 (15:02 +0000)]
Bug 3198: add new slovak translations and some changes by Mário Kačmár (kario@szm.sk)
Bug 3196: some spanish traslation by Javier Remacha (remialdo@gmail.com)
svn path=/trunk/; revision=33165
Magnus Olsen [Sun, 27 Apr 2008 13:05:13 +0000 (13:05 +0000)]
add DD_VIDEOPORTCALLBACKS it mean directx video port interface should started working now to user mode, with ms dxg.sys
svn path=/trunk/; revision=33164
Magnus Olsen [Sun, 27 Apr 2008 12:47:28 +0000 (12:47 +0000)]
ms dxg.sys can now found and execute GetAvailDriverMemory it works from usermode with syscall,
svn path=/trunk/; revision=33163
Magnus Olsen [Sun, 27 Apr 2008 12:11:00 +0000 (12:11 +0000)]
adding more code for init the drv in intEnableReactXDriver
svn path=/trunk/; revision=33162
Dmitry Chapyshev [Sun, 27 Apr 2008 12:02:29 +0000 (12:02 +0000)]
- Add new layouts to bootcd
svn path=/trunk/; revision=33161
Dmitry Chapyshev [Sun, 27 Apr 2008 12:01:38 +0000 (12:01 +0000)]
Add keyboard layouts:
- Romanian
- Tatar
- US Dvorak for left hand
- US Dvorak for right hand
- US International
svn path=/trunk/; revision=33160
Magnus Olsen [Sun, 27 Apr 2008 09:41:21 +0000 (09:41 +0000)]
no new code, only fixed some more members in EDD_DIRECTDRAW_GLOBAL struct, and copy some private note to it.
svn path=/trunk/; revision=33159
Dmitry Chapyshev [Sun, 27 Apr 2008 09:07:43 +0000 (09:07 +0000)]
- Increasing the size of controls
svn path=/trunk/; revision=33158
Magnus Olsen [Sun, 27 Apr 2008 01:11:13 +0000 (01:11 +0000)]
EDD_DIRECTDRAW_GLOBAL mark out ddSurfaceCallbacks is corrct and corrected the comment about it
updateddump_edd_directdraw_global so it dump even more data.
svn path=/trunk/; revision=33157
Magnus Olsen [Sat, 26 Apr 2008 20:18:42 +0000 (20:18 +0000)]
BugFix : EDD_DIRECTDRAW_GLOBAL put ddCallbacks in right position.
that mean driver api DestroyDriver, CreateSurface, SetColorKey, SetMode, WaitForVerticalBlank, CanCreateSurface, CreatePalette, GetScanLine, MapMemory works inside ms dxg.sys now
test of that is NtGdiDdCreateSurface, NtGdiDdSetColorKey, NtGdiDdWaitForVerticalBlank, NtGdiDdCanCreateSurface, NtGdiDdCreatePalette, NtGdiDdGetScanLine
works and show prof it being call to the drv. that mean we got the graphic card api working now. It still exists bugs. Long live our ReactX that showing frist life sign with ms dxg.sys inside vmware and thuse api working. But it is not egunt getting a dx apps working yet.
svn path=/trunk/; revision=33156
Dmitry Chapyshev [Sat, 26 Apr 2008 19:07:51 +0000 (19:07 +0000)]
- Add new layouts to bootcd
svn path=/trunk/; revision=33155
Dmitry Chapyshev [Sat, 26 Apr 2008 19:07:16 +0000 (19:07 +0000)]
Add keyboard layouts:
- Canadian French (Legacy)
- Canadian Multilingual Standard
- Dutch
- Estonian
- Georgian
- Latvian
- Macedonian (FYRO)
svn path=/trunk/; revision=33154
Magnus Olsen [Sat, 26 Apr 2008 18:25:24 +0000 (18:25 +0000)]
finish proting of intEnableDriver from ReactOS 0.3.1 - 0.3.2 that have been rename to intEnableReactXDriver
lefttodo fix correct positions of everything in the edd_directdraw_global amd fill in the driver phdev correct in that struct as well.
Hacked : NtGdiDdGetScanLine for now, it crash when it being call again.
svn path=/trunk/; revision=33153
Magnus Olsen [Sat, 26 Apr 2008 17:27:35 +0000 (17:27 +0000)]
Add : started port in intEnableDriver from reactos 0.3.2 and rename it to intEnableReactXDriver. it is the part activate the graphic card directx support.
Add : more debug data for ReactX it is need it to fill all edd_ struct right, allot of the debug functions will go away after we got up stable interface.
BugFix : EDD_DIRECTDRAW_LOCAL the struct did miss one member.
svn path=/trunk/; revision=33152
Magnus Olsen [Sat, 26 Apr 2008 14:13:59 +0000 (14:13 +0000)]
remove some debug output it is not longer need it.
Bugfix PEDD_DIRECTDRAW_LOCAL define
add allot debug data at NtGdiDdQueryDirectDrawObject we are here now, prepare activate the whole graphic driver directx interface.
we will add back some older code of the old desgin of the directx interface, for we need init the graphic card directx interface
it is not done by dxg.sys, it is done by win32k and dxg.sys using the cached data from win32k. rember it is cached for each drv.
but we will only support one graphic drv for dx for now, when the code comes alive again.
svn path=/trunk/; revision=33151
Magnus Olsen [Sat, 26 Apr 2008 12:55:14 +0000 (12:55 +0000)]
fixed bit more in the struct EDD_DIRECTDRAW_GLOBAL,
the struct are still wrong. trust only on thuse I wrote verify on
svn path=/trunk/; revision=33150
Daniel Reimer [Sat, 26 Apr 2008 12:30:46 +0000 (12:30 +0000)]
Add alternative German "de-ergo/eMeier 0.1", "NEO 1.1" and "Ristome" Layouts.
If you have a modified Keyboard lying around, have fun writing.
svn path=/trunk/; revision=33149
Magnus Olsen [Sat, 26 Apr 2008 12:11:01 +0000 (12:11 +0000)]
Bugfix : EngDeleteSemaphore one line patch by Samuel Serapión (samcharly at hotmail dot com) aka irc : encoded
-------------
it did not releas the create resuse, it was leaking.
svn path=/trunk/; revision=33148
Magnus Olsen [Sat, 26 Apr 2008 09:29:10 +0000 (09:29 +0000)]
fixed : we do not longer losing the hdev for ms dxg.sys
fixed : remove few hacks I did and reactivate some api I did take offline.
the struct EDD_DIRECTDRAW_LOCAL from yuah gdi book does not match windows xp, I have verify some member for windows xp.
the struct EDD_DIRECTDRAW_GLOBAL from yuah gdi book does not match windows xp, I have verify some member for windows xp.
and add two new member so hPDEV get in right place.
svn path=/trunk/; revision=33147
Dmitry Chapyshev [Fri, 25 Apr 2008 16:50:06 +0000 (16:50 +0000)]
- Add US IBM Arabic 238_L and Icelandic layouts to bootcd
svn path=/trunk/; revision=33146
Dmitry Chapyshev [Fri, 25 Apr 2008 16:49:17 +0000 (16:49 +0000)]
- Add US IBM Arabic 238_L keyboard layout
- Add Icelandic keyboard layout
svn path=/trunk/; revision=33145
Daniel Reimer [Fri, 25 Apr 2008 15:41:03 +0000 (15:41 +0000)]
Replace ROSCalc with Wine Calc.
svn path=/trunk/; revision=33144
Daniel Reimer [Fri, 25 Apr 2008 15:40:31 +0000 (15:40 +0000)]
Replace Wine Calc with ROSCalc
svn path=/trunk/; revision=33143
Daniel Reimer [Fri, 25 Apr 2008 11:55:28 +0000 (11:55 +0000)]
What do we learn here? Always try patches with a updated trunk. Removed Bulgarian Translation again. Its outdated.
svn path=/trunk/; revision=33142
Daniel Reimer [Fri, 25 Apr 2008 11:46:01 +0000 (11:46 +0000)]
Bug 3192: Bulgarian translation of ReactOS by Станев (sstpr@narod.ru)
Bug 3194: Czech translation update by Radek Liška (radekliska@gmail.com)
svn path=/trunk/; revision=33141
Johannes Anderwald [Fri, 25 Apr 2008 10:56:18 +0000 (10:56 +0000)]
- implement enumerating DirectPlay service providers
- update resources
svn path=/trunk/; revision=33140
Aleksey Bragin [Fri, 25 Apr 2008 07:55:12 +0000 (07:55 +0000)]
- Add more MDL flags.
- Reformat MDL implementation (mdlsup.c) to make it readable, and add comments.
- Add a couple dozen assertions to validate that MDL flags, state and addresses.
- Use ADDRESS_AND_SIZE_TO_SPAN_PAGES macro for nice MDL calculations.
- Set Mdl->Process only when required, and set/unset various MDL flags which were being ignored/incorrectly manipulated.
- Keep track of Process->NumberOfLockedPages during MDL lock/unlock.
- Don't return the base address of the MDL allocation when mapping locked pages - MDLs have a byte offset which was being ignored.
- Fix incorrect usage of MDLs found in the kernel (thanks to the new assertions).
- Split kernel vs. user mode MDL requests in a much more organized and optimized fashion.
- Fix a number of smaller bugs throughout the code.
svn path=/trunk/; revision=33139
Magnus Olsen [Fri, 25 Apr 2008 05:47:32 +0000 (05:47 +0000)]
adding more debug output for dx
svn path=/trunk/; revision=33138
Timo Kreuzer [Fri, 25 Apr 2008 01:42:25 +0000 (01:42 +0000)]
ULONG -> SIZE_T
svn path=/trunk/; revision=33137
Timo Kreuzer [Fri, 25 Apr 2008 01:16:08 +0000 (01:16 +0000)]
ULONG -> SIZE_T for ZwAllocateVirtualMemory and MmMapViewOfSection
svn path=/trunk/; revision=33136
Timo Kreuzer [Fri, 25 Apr 2008 01:09:28 +0000 (01:09 +0000)]
fix cast of pointer: ULONG -> ULONG_PTR
svn path=/trunk/; revision=33135
Timo Kreuzer [Fri, 25 Apr 2008 00:38:32 +0000 (00:38 +0000)]
fix EngAllocUserMem parameter
svn path=/trunk/; revision=33134
Aleksey Bragin [Thu, 24 Apr 2008 21:26:01 +0000 (21:26 +0000)]
- Rewrite NtRead/WriteVirtualMemory around MiCopyVirtualMemory, and use MmMapLockedPagesSpecifyCache to do the bulk of the work, instead of the MDL hacks that were previously used.
- Reformat and cleanup the entire file, deprecate NtVirtualLock/Unlock which didn't really work (and aren't really required for any apps for now)
- Major perf optimizations to NtRead/VirtualMemory: Use pool memory transfer when more efficient than MDL, and use local stack buffer when size permits.
- This patch provides up to 109% improvement (more than twice as fast) in certain virtual memory operations.
- Thanks to Alex for researching this issue, and providing the internal information on the various optimizations and behaviors the NT implementation uses.
svn path=/trunk/; revision=33133
Gregor Brunmar [Thu, 24 Apr 2008 19:57:41 +0000 (19:57 +0000)]
Added some work-in-progress structs needed for IDirect3D9::CreateDevice()
svn path=/trunk/; revision=33132
Gregor Brunmar [Thu, 24 Apr 2008 18:29:50 +0000 (18:29 +0000)]
Renamed internal Direct3D9 structure to make more sense
svn path=/trunk/; revision=33131
Colin Finck [Thu, 24 Apr 2008 17:57:48 +0000 (17:57 +0000)]
kbswitch:
- Revert some changes from r33106:
* Set the size of szTempLCID back to CCH_LAYOUT_ID + 1, a layout ID mustn't be longer than this.
As we pass the correct size to the Registry functions as well, there can be no buffer overflow.
MAX_PATH was probably used here, because input.dll had a bug as well, so that it saved the layout ID with the wrong length.
* Use wsprintf over _stprintf
* Pass the correct value to dwBufLen (in bytes, not in TCHAR's!)
- Add back SystemParametersInfo, so that the system gets to know about the keyboard layout change.
EnumWindows is still used for setting the new keyboard layout to all existing Windows.
- Don't show a different menu for left and right clicks, that's not how most popup menus work under Windows.
Instead append all menu items from the menu template to the popup menu.
- Call SetForegroundWindow before and post a WM_NULL message after calling TrackPopupMenu, so that the popup menu will be closed, when the user clicks somewhere else
- Fix indentation
input.dll:
- Fix some incorrect lengths passed to other functions
- Get rid of some unneeded variables
- Always use the 32-bit Registry functions over the old 16-bit deprecated ones
- Fix some other stuff here and there
svn path=/trunk/; revision=33130
Aleksey Bragin [Wed, 23 Apr 2008 20:38:37 +0000 (20:38 +0000)]
- Reformat Se code and put functions to more appropriate locations.
svn path=/trunk/; revision=33129
Aleksey Bragin [Wed, 23 Apr 2008 16:40:08 +0000 (16:40 +0000)]
- Fix logic bugs in LpcRequestPort (which is not the same as NtRequestPort as someone incorrectly assumed previously) and also reference/dereference the process who owns the server mapping.
svn path=/trunk/; revision=33128
Dmitry Chapyshev [Wed, 23 Apr 2008 15:54:29 +0000 (15:54 +0000)]
- Update Russian translation
svn path=/trunk/; revision=33127
Daniel Reimer [Wed, 23 Apr 2008 09:55:55 +0000 (09:55 +0000)]
Revert r33093. It breaks build for me and fixes no circular dependency for the rest.
Set the new added wine dlls to autosync in readme.wine.
svn path=/trunk/; revision=33126
Magnus Olsen [Wed, 23 Apr 2008 05:45:59 +0000 (05:45 +0000)]
start setup edd directdraw local
svn path=/trunk/; revision=33125
Magnus Olsen [Wed, 23 Apr 2008 05:44:20 +0000 (05:44 +0000)]
change directx struct
svn path=/trunk/; revision=33124
Magnus Olsen [Wed, 23 Apr 2008 05:23:51 +0000 (05:23 +0000)]
comment out one line for now.
for we will use same struct as gdi object in dx/reactx header.
svn path=/trunk/; revision=33123
Magnus Olsen [Wed, 23 Apr 2008 05:21:59 +0000 (05:21 +0000)]
take offline some code, this file should be take code from win32k.
it is same as gdi handle alloc doing it.
svn path=/trunk/; revision=33122
Johannes Anderwald [Tue, 22 Apr 2008 23:19:50 +0000 (23:19 +0000)]
- enlarge the dialog window
- load treeview classes on startup
- link to dinput8 + dxguid library
- start implementing DirectInput dialog
- use DirectInput version 8 for now
svn path=/trunk/; revision=33121
KJK::Hyperion [Tue, 22 Apr 2008 23:09:05 +0000 (23:09 +0000)]
modified include/psdk/ntdef.h
Make C_ASSERT standards-compliant. Hopefully fixed for good
svn path=/trunk/; revision=33120
Johannes Anderwald [Tue, 22 Apr 2008 22:52:44 +0000 (22:52 +0000)]
- add missing constants required for dxdiag
svn path=/trunk/; revision=33119
KJK::Hyperion [Tue, 22 Apr 2008 22:51:30 +0000 (22:51 +0000)]
I am stupid and buildbot is broken
svn path=/trunk/; revision=33118
KJK::Hyperion [Tue, 22 Apr 2008 22:45:53 +0000 (22:45 +0000)]
modified include/psdk/ntdef.h
C_ASSERT is equivalent to a typedef, NOT a variable declaration
modified ntoskrnl/mm/pe.c
Convert as many ASSERTs as possible to C_ASSERT
svn path=/trunk/; revision=33117
Aleksey Bragin [Tue, 22 Apr 2008 20:44:34 +0000 (20:44 +0000)]
Bug fixes from Alex:
- CDFS should enter a critical region before acquiring a resource.
- "Fix" resource assert during installation by adding some padding at the end of the VFAT FCB header -- corruption happens at pad 51.
- Once we detect corruption at pad 51, skip the FCB instead of attempting to flush it.
- Fix a serious bug in our detection of incorrect resource usage while APCs are not disabled.
- Fix a serious bug which caused shared resources not to wake up waiters when it was released, and which cause it to wake up waiters when there were still active locks held.
New ERESOURCE implementation by Aleksey (thanks to Alex for providing the information required)
- Remove ERESOURCE_XP concept, and fix the three incorrect and different definitions of the ERESOURCE structure.
- Fix the ERESOURCE implementation to use the new Vista ERESOURCE type. Two main changes:
* The count is now a 32-bit count called ActiveEntries. ActiveCount is now simply a flip-flop bit (0/1) for backward compatibility (we set to 0 when active entries is 0, and 1 when active entries is > 0)
* Instead of caching two owners, we only cache one owner, in the OwnerEntry field.
- Optimize some search algorithms slightly (just better code).
- Remove duplicated code for ExReleaseResourceLite and call ExReleaseResourceForThreadLite instead. Alex says this is ok.
svn path=/trunk/; revision=33111
Dmitry Chapyshev [Tue, 22 Apr 2008 20:01:08 +0000 (20:01 +0000)]
- Add "Preferences" button
svn path=/trunk/; revision=33109
Dmitry Chapyshev [Tue, 22 Apr 2008 19:09:13 +0000 (19:09 +0000)]
- Add kbswitch to bootcd
svn path=/trunk/; revision=33108
KJK::Hyperion [Tue, 22 Apr 2008 19:03:21 +0000 (19:03 +0000)]
Revert 33105, C_ASSERT is broken
svn path=/trunk/; revision=33107
Dmitry Chapyshev [Tue, 22 Apr 2008 19:01:56 +0000 (19:01 +0000)]
- Keyboard layout switching works now in ReactOS!
svn path=/trunk/; revision=33106
KJK::Hyperion [Tue, 22 Apr 2008 18:49:22 +0000 (18:49 +0000)]
modified ntoskrnl/mm/pe.c
Convert as many ASSERTs as possible to C_ASSERT
svn path=/trunk/; revision=33105
Hervé Poussineau [Tue, 22 Apr 2008 05:52:18 +0000 (05:52 +0000)]
Change default intermediate directory to obj directory.
svn path=/trunk/; revision=33094
Johannes Anderwald [Mon, 21 Apr 2008 22:49:48 +0000 (22:49 +0000)]
- add a proxy idl file
- should fix the circual dependency
svn path=/trunk/; revision=33093
Aleksey Bragin [Mon, 21 Apr 2008 21:42:00 +0000 (21:42 +0000)]
- The address space lock is a pushlock -- pushlocks can fail if callers are acquiring them without first disabling APCs, so they should always be acquired within a critical region. Fix the address space lock to do this.
- Don't keep track of the page table reference count table in the address space structure, nobody was using this.
- Instead of using either a global kernel pushlock for the kernel address space, and a per-process lock for process address space, always use a per-process lock (the kernel address space uses the idle process' lock).
- Instead of acquiring/releasing the lock by dereferencing the process which owns the address space, hold a pointer to the lock directly. This removes an extra dereference, and also allows the kernel lock to work (because kernel address space doesn't have an associated process).
- Inline the lock acquisition/release functions and the get-address-space functions.
- Measured a 20% performance boost during boot-up, and 150% during installation.
- Patch by Alex.
svn path=/trunk/; revision=33092
Aleksey Bragin [Mon, 21 Apr 2008 18:33:23 +0000 (18:33 +0000)]
- Remove perf code from Ob SD Cache implementation.
svn path=/trunk/; revision=33091
James Tabor [Mon, 21 Apr 2008 18:28:35 +0000 (18:28 +0000)]
Attempt to fix problem where there should have not been a problem. Remember this, do not fix it when it is not broken. I will restore GdiFixUpHandle back to the original state later.
svn path=/trunk/; revision=33090
Andrew Munger [Mon, 21 Apr 2008 12:10:55 +0000 (12:10 +0000)]
A driver-supplied Cancel routine is called with the cancel spin lock held, it must be released on IRP completion.
This was inverted in mouclass. Fix by Samuel Serapión.
svn path=/trunk/; revision=33089
Johannes Anderwald [Mon, 21 Apr 2008 12:08:42 +0000 (12:08 +0000)]
- check input in PNP_GetRootDeviceInstance
- fix length check in PNP_GetClassName
- allocate device id string dynamically in to avoid a potential buffer overflow
- use lstrlenW over wcslen in PnpEventThread
svn path=/trunk/; revision=33088
James Tabor [Mon, 21 Apr 2008 05:56:49 +0000 (05:56 +0000)]
Implemented DxEngGetRedirectionBitmap. Fixed GdiGetSetCopyCount.
svn path=/trunk/; revision=33087
Magnus Olsen [Mon, 21 Apr 2008 05:43:51 +0000 (05:43 +0000)]
did the mistake commit the reactos.diff again :(
svn path=/trunk/; revision=33086
Dmitry Chapyshev [Mon, 21 Apr 2008 05:43:23 +0000 (05:43 +0000)]
- Add Russian translation
svn path=/trunk/; revision=33085
Magnus Olsen [Mon, 21 Apr 2008 05:42:08 +0000 (05:42 +0000)]
DxDdStartupDxGraphics
Bugfix : the load order, it try loading vista dxkrnl.sys frist then it try loading dxg.System
rember I have not tested vista dxkrnl.sys in reactos at all yet.
Bugfix :
thx piggworth for notice the hDev was never resive to DxEngLockHdev, it still does not do in some case.
we need more invigaste why
svn path=/trunk/; revision=33084
Ziliang Guo [Mon, 21 Apr 2008 03:50:48 +0000 (03:50 +0000)]
Forgot this file.
svn path=/trunk/; revision=33083
Ziliang Guo [Mon, 21 Apr 2008 02:15:19 +0000 (02:15 +0000)]
Fix memory leaks, patch by Samuel Serapión
svn path=/trunk/; revision=33082
Ziliang Guo [Mon, 21 Apr 2008 02:13:57 +0000 (02:13 +0000)]
Header updates from Samuel
svn path=/trunk/; revision=33081
Aleksey Bragin [Sun, 20 Apr 2008 20:54:06 +0000 (20:54 +0000)]
- directory.rbuild in rosapps should be alphabetically sorted, so move drivers to its respected place.
- Move service skeleton into templates directory, it's there for that kind of stuff.
svn path=/trunk/; revision=33080
Colin Finck [Sun, 20 Apr 2008 19:49:10 +0000 (19:49 +0000)]
- Make the "Exit" string translateable
- Use the last possible ID for this command, so we can add as many keyboard layouts as possible to the popup menu
- Send a WM_CLOSE message when clicking "Exit", don't duplicate the WM_DESTROY code here
svn path=/trunk/; revision=33079
Hervé Poussineau [Sun, 20 Apr 2008 19:10:41 +0000 (19:10 +0000)]
Prevent mshtml registration (doesn't work yet)
See issue #3189 for more details.
svn path=/trunk/; revision=33078
Dmitry Chapyshev [Sun, 20 Apr 2008 18:59:58 +0000 (18:59 +0000)]
- Add "Exit" item to menu
svn path=/trunk/; revision=33077
Colin Finck [Sun, 20 Apr 2008 18:06:36 +0000 (18:06 +0000)]
Fix indentation in the .rbuild file and remove some libs we don't use
svn path=/trunk/; revision=33075
The Wine Synchronizer [Sun, 20 Apr 2008 17:11:36 +0000 (17:11 +0000)]
Autosyncing with Wine HEAD
svn path=/trunk/; revision=33074