Commit graph

30441 commits

Author SHA1 Message Date
KJK::Hyperion
722e39a1cd Revert 33105, C_ASSERT is broken
svn path=/trunk/; revision=33107
2008-04-22 19:03:21 +00:00
Dmitry Chapyshev
2d438bced6 - Keyboard layout switching works now in ReactOS!
svn path=/trunk/; revision=33106
2008-04-22 19:01:56 +00:00
KJK::Hyperion
57e6630f32 modified ntoskrnl/mm/pe.c
Convert as many ASSERTs as possible to C_ASSERT

svn path=/trunk/; revision=33105
2008-04-22 18:49:22 +00:00
Hervé Poussineau
21ffe8e67a Change default intermediate directory to obj directory.
svn path=/trunk/; revision=33094
2008-04-22 05:52:18 +00:00
Johannes Anderwald
9fd974d671 - add a proxy idl file
- should fix the circual dependency

svn path=/trunk/; revision=33093
2008-04-21 22:49:48 +00:00
Aleksey Bragin
4f1c23c238 - 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
2008-04-21 21:42:00 +00:00
Aleksey Bragin
901badd513 - Remove perf code from Ob SD Cache implementation.
svn path=/trunk/; revision=33091
2008-04-21 18:33:23 +00:00
James Tabor
3c1b0a2a64 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
2008-04-21 18:28:35 +00:00
Andrew Munger
c4db2ba2dc 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
2008-04-21 12:10:55 +00:00
Johannes Anderwald
659ebcce5b - 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
2008-04-21 12:08:42 +00:00
James Tabor
622f5b732e Implemented DxEngGetRedirectionBitmap. Fixed GdiGetSetCopyCount.
svn path=/trunk/; revision=33087
2008-04-21 05:56:49 +00:00
Magnus Olsen
4819d33d63 did the mistake commit the reactos.diff again :(
svn path=/trunk/; revision=33086
2008-04-21 05:43:51 +00:00
Dmitry Chapyshev
074e399d8d - Add Russian translation
svn path=/trunk/; revision=33085
2008-04-21 05:43:23 +00:00
Magnus Olsen
92a93b0559 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
2008-04-21 05:42:08 +00:00
Ziliang Guo
09592ecd54 Forgot this file.
svn path=/trunk/; revision=33083
2008-04-21 03:50:48 +00:00
Ziliang Guo
390cff7a1a Fix memory leaks, patch by Samuel Serapión
svn path=/trunk/; revision=33082
2008-04-21 02:15:19 +00:00
Ziliang Guo
24328c0181 Header updates from Samuel
svn path=/trunk/; revision=33081
2008-04-21 02:13:57 +00:00
Aleksey Bragin
bab8dc90be - 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
2008-04-20 20:54:06 +00:00
Colin Finck
af30d3067b - 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
2008-04-20 19:49:10 +00:00
Hervé Poussineau
ae6a3c787b Prevent mshtml registration (doesn't work yet)
See issue #3189 for more details.

svn path=/trunk/; revision=33078
2008-04-20 19:10:41 +00:00
Dmitry Chapyshev
a1ad9a3a46 - Add "Exit" item to menu
svn path=/trunk/; revision=33077
2008-04-20 18:59:58 +00:00
Colin Finck
2b6311590f Fix indentation in the .rbuild file and remove some libs we don't use
svn path=/trunk/; revision=33075
2008-04-20 18:06:36 +00:00
The Wine Synchronizer
4b7c2d1cc2 Autosyncing with Wine HEAD
svn path=/trunk/; revision=33074
2008-04-20 17:11:36 +00:00
Hervé Poussineau
68b3bf4595 Add ERROR_WINHTTP_AUTODETECTION_FAILED
svn path=/trunk/; revision=33073
2008-04-20 17:11:12 +00:00
The Wine Synchronizer
14d17cbecf Autosyncing with Wine HEAD
svn path=/trunk/; revision=33072
2008-04-20 17:07:15 +00:00
Hervé Poussineau
c1e47ef0a6 Add GetCharABCWidthsI, GetGlyphIndicesA/W prototypes
svn path=/trunk/; revision=33071
2008-04-20 17:06:50 +00:00
Hervé Poussineau
c0e09694a6 Add usp10 base address
svn path=/trunk/; revision=33070
2008-04-20 17:06:38 +00:00
Daniel Reimer
42fee09d99 Remove rasdlg again. Misinterpretation by me. Sorry for that.
svn path=/trunk/; revision=33069
2008-04-20 16:49:57 +00:00
Magnus Olsen
690e556bea fix another stack crouptions for wrong prototype
svn path=/trunk/; revision=33068
2008-04-20 16:29:43 +00:00
Magnus Olsen
9b0305b341 fix the trunk build for real now, i hate sell man calling in the phone.
svn path=/trunk/; revision=33067
2008-04-20 16:14:06 +00:00
The Wine Synchronizer
476207516d Autosyncing with Wine HEAD
svn path=/trunk/; revision=33066
2008-04-20 16:10:55 +00:00
Magnus Olsen
596370a92e fix the no init value in kbswith
svn path=/trunk/; revision=33065
2008-04-20 16:10:27 +00:00
The Wine Synchronizer
34243f06b8 Autosyncing with Wine HEAD
svn path=/trunk/; revision=33064
2008-04-20 16:01:17 +00:00
Hervé Poussineau
48094f5e9f Support memicmpW() Wine specific function
svn path=/trunk/; revision=33063
2008-04-20 16:01:04 +00:00
Colin Finck
6e8acacf27 - Add the actual function for switching the keyboard layout
- Handle keyboard layout substitutes (like the "German (IBM)" layout)
- Refactor many parts of the code:
   * Always close hKey handles after they were successfully opened
   * Build the keyboard layout menu one time and not everytime, when it's opened
   * Use smaller sizes for some string variables, defined with CCH_LAYOUT_ID and CCH_ULONG_DEC.
     This also ensures that we don't retrieve bigger values, which would be invalid.
- Use a consistent indentation

svn path=/trunk/; revision=33062
2008-04-20 15:48:43 +00:00
Daniel Reimer
760ed27010 Synced Winhelp
Updated README.WINE
- Added atl.dll, pdh.dll, rasapi32, rasdlg, stdole2.tlb, tapi32, usp10, winhttp
All of these are from wine. I called them Out of sync now. Change the way you want.

svn path=/trunk/; revision=33061
2008-04-20 15:38:34 +00:00
Magnus Olsen
5653b80ea7 Let DxEngScreenAccessCheck() always return true for now until we implemete it
it mean dxg.sys have preemptions to access the screen. 

svn path=/trunk/; revision=33060
2008-04-20 14:46:03 +00:00
Daniel Reimer
5584a59747 Bug 3188: Lithuanian translation by Vytis Girdzijauskas (cman@cman.us)
svn path=/trunk/; revision=33059
2008-04-20 14:44:14 +00:00
Daniel Reimer
56269f5a54 Bug 3188: Lithuanian translation by Vytis Girdzijauskas (cman@cman.us)
svn path=/trunk/; revision=33058
2008-04-20 14:44:13 +00:00
Magnus Olsen
3e37e80788 add dump of edd_directdraw_global
so we can easy see what it contain.

svn path=/trunk/; revision=33057
2008-04-20 14:10:08 +00:00
Magnus Olsen
32a79c4f55 take pfnDxDdCanCreateSurface offline for now
svn path=/trunk/; revision=33056
2008-04-20 13:08:25 +00:00
Colin Finck
6bad85af97 Reinsert the <group> tag to stay XML compatible.
XML forbids to have more than one root element in a file.

svn path=/trunk/; revision=33055
2008-04-20 12:29:19 +00:00
Magnus Olsen
d9e6cd4b38 add two hack so dxg.sys continue works for now.
it does not longer crash at DdDeleteDirectDrawObject for it never been call longer to dxg.sys until I figout why
take DxEngLockShareSem and DxEngUnLockShareSem offline need more invigaste how it is done in windows. 
take DxGdiDdGetScanLine offline for now so it does not crash dxg.sys



svn path=/trunk/; revision=33054
2008-04-20 11:50:43 +00:00
Dmitry Chapyshev
86f3b4692c - Add application for keyboard layouts switching (not finished)
svn path=/trunk/; revision=33053
2008-04-20 10:41:34 +00:00
Eric Kohl
3f1c281366 Don't terminate a cpp_quote statement with a semicolon. New versions of WIDL will emit an error.
svn path=/trunk/; revision=33052
2008-04-20 10:10:18 +00:00
Aleksey Bragin
a0f475f608 - Frag fully builds.
- Unfrag fails to link (both are still excluded from the build process).

svn path=/trunk/; revision=33051
2008-04-20 09:23:29 +00:00
Johannes Anderwald
28c134ec41 - avoid using BringWindowToTop as it creates display problems
- build a custom function GetRegValue to allow dxdiag be used on older Windows versions
- try to fix potential buffer overflows

svn path=/trunk/; revision=33050
2008-04-20 08:48:55 +00:00
Dmitry Chapyshev
6061afd624 - Fix formatting
svn path=/trunk/; revision=33049
2008-04-20 07:57:28 +00:00
Dmitry Chapyshev
0a8d3f23bc - Implement "Add keyboard layout" dialog
- Other small changes

svn path=/trunk/; revision=33048
2008-04-20 07:34:59 +00:00
Dmitry Chapyshev
8b2204b25c - Fix typo
svn path=/trunk/; revision=33047
2008-04-20 07:32:38 +00:00