Commit graph

61 commits

Author SHA1 Message Date
Brandon Turner
d372aa6165 If treat a backspace more like a normal char.
svn path=/trunk/; revision=22283
2006-06-08 13:07:05 +00:00
James Tabor
2097dade2d Quick patch.
svn path=/trunk/; revision=22263
2006-06-07 01:45:18 +00:00
James Tabor
c537a6efb8 Cleanup coding of IntGdiPolyPolygon and IntGdiPolygon.
svn path=/trunk/; revision=22262
2006-06-07 01:28:44 +00:00
James Tabor
fb9a28f2b5 Implement Get & SetTextCharacterExtra. Does nothing ATM.
svn path=/trunk/; revision=22261
2006-06-07 01:22:47 +00:00
Saveliy Tretiakov
56f9a0a548 add missing check for null return
svn path=/trunk/; revision=22236
2006-06-05 15:38:04 +00:00
Hervé Poussineau
8d494b3a7b IntEnumDisplaySettings returns a BOOL, not a NTSTATUS
svn path=/trunk/; revision=22203
2006-06-04 13:09:25 +00:00
Hervé Poussineau
9e908fc097 Store real parameters registry key in DEVICEMAP\VIDEO
Use it in win32k when loading and storing settings (SetupDevMode and IntChangeDisplaySettings)

svn path=/trunk/; revision=22169
2006-06-01 21:45:50 +00:00
Hervé Poussineau
b22255488e Fix BSOD in IntPrepareDriver (bug 1321)
svn path=/trunk/; revision=22126
2006-05-31 14:26:56 +00:00
Hervé Poussineau
c2f4c7bb97 Remove useless cast
svn path=/trunk/; revision=22124
2006-05-31 12:28:30 +00:00
Hervé Poussineau
db04a303ee Fix indentation by replacing tabs by spaces. No code change
svn path=/trunk/; revision=22119
2006-05-30 19:40:52 +00:00
James Tabor
4c8a553e26 Implement NtGdiGetCharABCWidths. Not sure if the math is right. Tested with Lazarus IDE. It is completely based on Filip Navara work on NtGdiGetCharWidth32.
svn path=/trunk/; revision=22115
2006-05-30 06:50:03 +00:00
James Tabor
1b601af92f Implement NtGdiGetOutlineTextMetrics and GetOutlineTextMetricsA/W.
GetOutlineTextMetricsA is from Wine. Tested with Mozilla 1.7.12.


svn path=/trunk/; revision=22096
2006-05-28 22:49:52 +00:00
Alex Ionescu
0dd1e9a2af - Add SecurityQoS and PreviousMode parameters to ObFindObject, so that these can be sent to the parse routine. Also don't send OBJECT_CREATE_INFORMATION to it, but each needed member separately. This avoids having to create a "Fake" structure in some calls which don't actually use capture the information.
- Also remove RemainingPath and stop exposing it to public APIs. Move all ObInsertObject/ObOpen,ReferenceByName hacks to ObFindObject, and add a small one there. We basically trade 4 hacks for 1.

svn path=/trunk/; revision=22090
2006-05-28 19:05:19 +00:00
Alex Ionescu
340a5ed71a - Get rid of the intriguing idea that exported/public APIs should have prototypes with inversed parameters (fix ObOpenObjectByName and all its callers).
- Isolate ObFindObject into CmFindObject for the registry routines. Because of their well-known abuse of Ob, it's better to give them their internal routine so that when/if Ob ever gets fixed to parse properly, it won't force a re-write of Cm's object routines.

svn path=/trunk/; revision=22047
2006-05-25 20:50:58 +00:00
Alex Ionescu
3a9bdc8cf4 - Convert all Win32k Object callback functions to the correct NT prototypes.
- Get rid of ROS-internal WIN32_CALLOUT_DATA and use the real WIN32_CALLOUTS_FPNS type.
- Get rid of the callout.h hack.

svn path=/trunk/; revision=22044
2006-05-25 20:03:13 +00:00
Alex Ionescu
cf356e801d - Rewrite Desktop/WindowsStation parsing to follow the NT Object Model, with some minor hacks to respect ROS's current parsing semantics.
- Thanks to this, the long-lasting ExpDesktopCreate hack is gone, and so is OB_ROS_FIND_METHOD and OB_ROS_CREATE_METHOD in win32k. Next patch can fully remove WIN32_CALLOUT_DATA and use the NT type instead.
- Add official OBJECT_ macros in obtypes.h

svn path=/trunk/; revision=22041
2006-05-25 19:30:09 +00:00
Alex Ionescu
1bb8f22330 - Get rid of OB_ROS_PARSE_METHOD and use OB_PARSE_METHOD instead. Hacked the current parse methods to keep using a PWSTR, however they should be modified to use the UNICODE_STRING instead...
svn path=/trunk/; revision=22036
2006-05-25 01:18:31 +00:00
Alex Ionescu
3ccc97c6c4 - Rewrote the Object Directory implementation to follow the NT Structures in the NDK. This got rid of the last remaining OBJECT_HEADER difference and switched over to OBJECT_DIRECTORY.
- The low-level implementation is based on information from "Undocumented Windows 2000 Internals: A Programmer's Cookbook", with some modifications done by myself to match the updated 2003 structures. This implementation was hackishly stuck into our messed up high-level object lookup implementation, which now has 4 more band-aids. Still needs a lot of work done to the upper echelons of object lookup, but at least this gets rid of ROS-internal stuff.

svn path=/trunk/; revision=22015
2006-05-24 20:06:13 +00:00
Magnus Olsen
238be0b59c Do not create crash/bsod log when u logoff or shutdown of ReactOS.
svn path=/trunk/; revision=22014
2006-05-24 19:34:53 +00:00
Magnus Olsen
050efa1da2 Fixing two fail from wine gdi32 test, When HDC is NULL to NtGdiCreateDIBitmap we need create a hdc and delete the hdc when we are done.
svn path=/trunk/; revision=22010
2006-05-24 16:54:51 +00:00
Magnus Olsen
b3edee282e Fixing strechblt dib16 and dib32 can be compile with -O2 (gcc) reporeted by jimtalor, it did not work on real hardware with -O2 when it was run with winqauke with some setting see bug 1520
svn path=/trunk/; revision=21995
2006-05-23 21:18:08 +00:00
Aleksey Bragin
13df4844a7 - Update text-outputting routines in user32.dll to Wine's trunk (22052006). May fix some layout and text-placement issues.
- "user32_winetest.exe text" gives only 1 failure now
- Silence debug messages in win32k.sys

svn path=/trunk/; revision=21985
2006-05-22 22:05:40 +00:00
Johannes Anderwald
5d2d31ac0c increase mouse thread priority - patch by w3seek
should fix 1427

svn path=/trunk/; revision=21984
2006-05-22 21:57:38 +00:00
Aleksey Bragin
d778de3578 - Fix compiling of win32k without compilation units
svn path=/trunk/; revision=21977
2006-05-22 14:46:31 +00:00
Aleksey Bragin
c94db29865 - Fix GDIOBJ_* prototypes so win32k compiles with GDI_DEBUG compile option
svn path=/trunk/; revision=21972
2006-05-21 20:22:54 +00:00
Magnus Olsen
0e3e95794f patch from w3seek : optimize FindWindowEx and fix passing a NULL window class
svn path=/trunk/; revision=21960
2006-05-21 09:21:38 +00:00
Magnus Olsen
2d54ed6453 revert r21958
svn path=/trunk/; revision=21959
2006-05-21 08:41:16 +00:00
Magnus Olsen
6a818caf88 patch from w3seek : Another fix for NtUserFindWindowEx
svn path=/trunk/; revision=21958
2006-05-21 08:39:42 +00:00
Magnus Olsen
7ece217a3e patch from w3seek : Another fix for NtUserFindWindowEx
svn path=/trunk/; revision=21957
2006-05-21 06:17:25 +00:00
Magnus Olsen
3e649bb0dc Bug 1507 patch from w3seek : This patch fixes more issues with NtUserFindWindowEx. (one example of bugs have been fixed with this patch is the tray icon)
svn path=/trunk/; revision=21956
2006-05-20 22:09:42 +00:00
Aleksey Bragin
2c24488614 [AUDIT]
subsystems
- Unlock headers, non-source code files, art (unique to reactos)
- Unlock one-function file (pretty obvious) and add a missing programmer's name to it
- Unlock files containing stubs

svn path=/trunk/; revision=21947
2006-05-20 10:49:56 +00:00
Magnus Olsen
834787aacd revers my change in 21818, w3seek point out it was not good, and it can create unsupectet problem, like no gui ondemain, and maybe other, it seam waxdragon and other have problem boot after this changes. thats is the reason for this change beeing remove, that was added in 21818
svn path=/trunk/; revision=21886
2006-05-10 21:34:10 +00:00
Alex Ionescu
8481c1fa10 - NDK 0.98, now with versionned headers. Too many changes to list, see the TinyKRNL SVN Logs for more detailed information. Thanks to Andrew (Wax), Thomas and Aleksey for testing.
svn path=/trunk/; revision=21880
2006-05-10 17:47:44 +00:00
Magnus Olsen
3f59281d1a delay the kernel tree for let it it cache up with some work before continue excute in IntPrepareDriver.
base on hpoussin hack in bug 1321, I have reboot vmware lest 20-30 times and I do not longer getting bsod 
I did before see lest one bsod in IntPrepareDriver after first attamt to boot to gui mode, then I need 
reboot reactos two times, to get it working. Lest it take care of my problem in vmware 

svn path=/trunk/; revision=21878
2006-05-10 14:50:28 +00:00
Andrew Munger
4a37f88e19 win32k: minor window class fixes
- minor callproc handling bug
- correctly updating the menu name pointers when moving classes to the shared
heap
Patch by w3seek.

svn path=/trunk/; revision=21867
2006-05-09 20:21:52 +00:00
Magnus Olsen
bb9e90f468 Bug : 1452 : patch from w3seek, some xlate obj fixes for indexed palettes, should fix a hack introduced in r21292
svn path=/trunk/; revision=21794
2006-05-04 05:23:54 +00:00
Aleksey Bragin
549d2f7cbd - Bug 1450: Patch by Thomas Weidenmueller "Some window class fixes"
This patch makes registering the "Abiword" window class succeed. However, Abiword now crashes with a stack overflow recursively delivering the WM_NOTIFYFORMAT message to a subclassed rebar control...

svn path=/trunk/; revision=21781
2006-05-03 10:48:38 +00:00
Aleksey Bragin
fd9ff56f6d - Bug 1451: Patch by Thomas Weidenmueller:
System controls, such as comboboxes and listboxes are always unicode, even when
created with CreateWindowExA. Therefore, ansi messages need to be converted to
unicode and vice versa when sent to these windows. This patch fixes some(!) of these issues! Not all control messages are handled!

svn path=/trunk/; revision=21780
2006-05-03 10:35:11 +00:00
Andrew Munger
965305ebc8 Move callproc code into own file and reduce unneccessary system calls to dereference them.
It doesn't fix any bugs but improves performance a bit.
Patch from w3seek, bug 1445.

svn path=/trunk/; revision=21779
2006-05-03 04:17:50 +00:00
Christoph von Wittich
ca3a742dba fix ownerdraw menu for miranda (patch by Brezenbak)
svn path=/trunk/; revision=21652
2006-04-18 17:17:08 +00:00
Magnus Olsen
6da6e80112 fast cleanup in dib/dib24bpp.c, Fixing a crash bug in dib32bpp.c (typo from me), xlate XO_TABLE can resive 0xffff or 0xffff or 0xffffff or 0xffffffff as color code for table, but the table is only 256 but in color&FF, That will stop firefox crash and translate the color right.
svn path=/trunk/; revision=21650
2006-04-18 15:52:48 +00:00
Magnus Olsen
f29eac23ec Fix the xlate bug in 24dib correct fix more buttom showing right in firefox now
svn path=/trunk/; revision=21645
2006-04-18 09:47:51 +00:00
Magnus Olsen
f0c7bff035 fix 16 to 16 soyrce dest why the hell does th 16bitmap surface calls into this
svn path=/trunk/; revision=21644
2006-04-17 21:28:02 +00:00
Magnus Olsen
299c670648 Bug 1393 : Patch from w3seek Fix moving class objects between desktop heaps and the shared heaps
svn path=/trunk/; revision=21596
2006-04-15 10:41:58 +00:00
Magnus Olsen
f7f19a1a69 Bug 1391 : Commit w3seek patch for Some Ansi vs. Unicode fixes for window classes
svn path=/trunk/; revision=21593
2006-04-14 18:23:11 +00:00
Saveliy Tretiakov
a9161f0913 EngCreateBitmap may return null. Add return value checks
svn path=/trunk/; revision=21589
2006-04-14 16:31:06 +00:00
Saveliy Tretiakov
533a08bc88 Fix BSOD when executing gdi32_winetest bitmap
svn path=/trunk/; revision=21563
2006-04-12 13:22:57 +00:00
Magnus Olsen
53a30e2f31 commiting file desktop.x from bug 252 , the patch is from j_anderw it make our win32k lile more stable
svn path=/trunk/; revision=21561
2006-04-12 10:15:46 +00:00
Magnus Olsen
a7213db5b4 Bug 1376, patch from SuperTrax at gmx dot de
if a Window was showed normaly, 
GetWindowPlacement never returned a showCmd.


svn path=/trunk/; revision=21543
2006-04-10 19:21:22 +00:00
Magnus Olsen
1b1cb77535 revers my last commit it was misunderstanding from my side
svn path=/trunk/; revision=21463
2006-04-05 10:46:00 +00:00