Commit graph

30255 commits

Author SHA1 Message Date
Dmitry Chapyshev 983f990ed9 - Update Russian translation
svn path=/trunk/; revision=33127
2008-04-23 15:54:29 +00:00
Daniel Reimer 5da9bd0da2 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
2008-04-23 09:55:55 +00:00
Magnus Olsen 20a98cecc9 start setup edd directdraw local
svn path=/trunk/; revision=33125
2008-04-23 05:45:59 +00:00
Magnus Olsen e637f94339 change directx struct
svn path=/trunk/; revision=33124
2008-04-23 05:44:20 +00:00
Magnus Olsen 4f75f1d31c comment out one line for now.
for we will use same struct as gdi object in dx/reactx header. 

svn path=/trunk/; revision=33123
2008-04-23 05:23:51 +00:00
Magnus Olsen 0d59c944b1 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
2008-04-23 05:21:59 +00:00
Johannes Anderwald 15d071da9a - 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
2008-04-22 23:19:50 +00:00
KJK::Hyperion 5e675fb7e6 modified include/psdk/ntdef.h
Make C_ASSERT standards-compliant. Hopefully fixed for good

svn path=/trunk/; revision=33120
2008-04-22 23:09:05 +00:00
Johannes Anderwald 468e944166 - add missing constants required for dxdiag
svn path=/trunk/; revision=33119
2008-04-22 22:52:44 +00:00
KJK::Hyperion 8388a8705e I am stupid and buildbot is broken
svn path=/trunk/; revision=33118
2008-04-22 22:51:30 +00:00
KJK::Hyperion 5870ed88cc 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
2008-04-22 22:45:53 +00:00
Aleksey Bragin e74ec0acfc 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
2008-04-22 20:44:34 +00:00
Dmitry Chapyshev 64a5765676 - Add "Preferences" button
svn path=/trunk/; revision=33109
2008-04-22 20:01:08 +00:00
Dmitry Chapyshev a869e80716 - Add kbswitch to bootcd
svn path=/trunk/; revision=33108
2008-04-22 19:09:13 +00:00
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