Commit Graph
100 Commits
Author SHA1 Message Date
Thomas Bluemel 6ddc722505 Simplify code, thx Ged
svn path=/trunk/; revision=41807
2009-07-08 16:57:12 +00:00
Thomas Bluemel 8d45a2401a Allow activating tasks
svn path=/trunk/; revision=41805
2009-07-08 14:33:25 +00:00
Thomas Bluemel 1bcad99a07 Unbreak linking ntoskrnl
svn path=/trunk/; revision=40788
2009-05-04 18:08:21 +00:00
Thomas Bluemel 2e9b52a3a5 Make vectored exceptions thread-safe
svn path=/trunk/; revision=40787
2009-05-04 18:06:15 +00:00
Thomas Bluemel 211942ddf7 Strings are always NULL-terminated...
svn path=/trunk/; revision=38896
2009-01-18 15:46:18 +00:00
Thomas Bluemel 6df90967f0 Fix background color used for DrawCaptionTemp with DC_INBUTTON
svn path=/trunk/; revision=38802
2009-01-16 23:56:11 +00:00
Thomas Bluemel 56f1f5bf69 Create band site's rebar control with styles CCS_NORESIZE and CCS_NOPARENTALIGN
svn path=/trunk/; revision=38780
2009-01-16 03:19:42 +00:00
Thomas Bluemel 9452b7e23c Remove unused code
svn path=/trunk/; revision=38742
2009-01-13 00:34:32 +00:00
Thomas Bluemel 8dd743f625 SetShellWindow wants the Progman window and the list view window... Thx Timo
svn path=/trunk/; revision=38681
2009-01-10 16:16:25 +00:00
Thomas Bluemel 13c77c4fcf Register the shell desktop and tray window
svn path=/trunk/; revision=38674
2009-01-10 00:58:24 +00:00
Thomas Bluemel 84d1b53dbc Copying the string in NtUserDefSetText () must be protected with SEH, probing alone is not sufficient.
svn path=/trunk/; revision=38572
2009-01-04 22:20:19 +00:00
Thomas Bluemel 856d0c4f7b Fix usage of ProbeForReadUnicodeString
svn path=/trunk/; revision=38538
2009-01-04 01:50:37 +00:00
Thomas Bluemel 7ca1dd308b Make the task bar top-most when necessary
svn path=/trunk/; revision=37079
2008-10-30 01:58:24 +00:00
Thomas Bluemel f8283ec523 Fix warning: Variable may be used uninitialized
svn path=/trunk/; revision=36703
2008-10-10 01:24:44 +00:00
Thomas Bluemel 324b9250cc Only free allocated bands
svn path=/trunk/; revision=36330
2008-09-19 19:26:00 +00:00
Thomas Bluemel 71189715c9 Fix warning that variable might be used uninitialized
svn path=/trunk/; revision=35735
2008-08-28 23:47:23 +00:00
Thomas Bluemel bec4b5d170 Very basic (and incomplete) implementation of SHCreateDesktop and SHDesktopMessageLoop to implement the Progman window class for the shell. This patch has not been submitted to WINE.
svn path=/trunk/; revision=35176
2008-08-08 01:38:18 +00:00
Thomas Bluemel 451c7e1c69 Revert 33953. This is completely wrong! WINE doesn't quite get the ordinals right. Ordinal 200 really should be SHCreateDesktop and ordinal 201 really should be SHDesktopMessageLoop. I am currently working on a patch for this. The fact that explorer-new was able to start with these changes is just pure coincidence.
svn path=/trunk/; revision=33954
2008-06-13 13:14:08 +00:00
Thomas Bluemel a21b191fdf Add missing definitions
svn path=/trunk/; revision=33952
2008-06-12 23:38:09 +00:00
Thomas Bluemel cdbc0773a5 Lookup DrawCaptionTemp () only once during startup
svn path=/trunk/; revision=33950
2008-06-12 16:50:57 +00:00
Thomas Bluemel 5d074bd015 Fix call to DrawCaptionTemp ()
svn path=/trunk/; revision=33949
2008-06-12 15:45:09 +00:00
Thomas Bluemel 20ebf8a9c5 Use band styles provided by the IDeskBand interface
svn path=/trunk/; revision=33939
2008-06-12 03:12:02 +00:00
Thomas Bluemel 1777cc3a03 More IBandSite support code
svn path=/trunk/; revision=33938
2008-06-12 01:14:18 +00:00
Thomas Bluemel ab5a70b128 More IDeskBar support
svn path=/trunk/; revision=33925
2008-06-11 03:52:45 +00:00
Thomas Bluemel 4a314da798 Improve IBandSite support a bit
svn path=/trunk/; revision=33924
2008-06-11 03:37:56 +00:00
Thomas Bluemel 46ccbc43af Fix a small bug
svn path=/trunk/; revision=33923
2008-06-11 03:36:21 +00:00
Thomas Bluemel 2edcc21ee5 shlwapi.dll is already loaded, no need to use LoadLibrary
svn path=/trunk/; revision=33915
2008-06-10 03:13:12 +00:00
Thomas Bluemel 561efe278f - Don't lookup DrawCaptionTempA/W by ordinal but rather by name
- Various minor fixes

svn path=/trunk/; revision=33914
2008-06-10 02:58:13 +00:00
Thomas Bluemel f1d9b70f81 Do a more correct check in EDIT_IsInsideDialog ()
svn path=/trunk/; revision=33913
2008-06-10 00:31:10 +00:00
Thomas Bluemel 433a98b5fa Fix some task switch window bugs
svn path=/trunk/; revision=33401
2008-05-10 01:45:08 +00:00
Thomas Bluemel 5b92a7951b Fix difference in signedness warning
svn path=/trunk/; revision=32777
2008-03-29 01:04:33 +00:00
Thomas Bluemel 162436143d Patch by Carlo Bramix <[email protected]>
Enable the find menu items
See issue #2978 for more details.

svn path=/trunk/; revision=31844
2008-01-17 20:08:18 +00:00
Thomas Bluemel 9f1182353d Add more definitions
svn path=/trunk/; revision=31767
2008-01-13 22:44:07 +00:00
Thomas Bluemel 2eacda93bd Fix handling of WM_COMMAND messages
svn path=/trunk/; revision=31635
2008-01-06 22:28:28 +00:00
Thomas Bluemel cba6b0342c Silence warning
svn path=/trunk/; revision=31504
2007-12-30 20:56:04 +00:00
Thomas Bluemel 5df85cd5b2 Fix some handle leaks and warnings
svn path=/trunk/; revision=31496
2007-12-29 21:40:31 +00:00
Thomas Bluemel 9b9fb75e31 Remove obsolete debug output
svn path=/trunk/; revision=31419
2007-12-23 22:02:05 +00:00
Thomas Bluemel 4c33daaa11 Add support for trustees with objects (building object ACEs is not yet implemented)
svn path=/trunk/; revision=31176
2007-12-12 07:04:12 +00:00
Thomas Bluemel 4720c38606 Remove comment, SetEntriesInAcl is now (partly) implemented
svn path=/trunk/; revision=31163
2007-12-11 19:26:28 +00:00
Thomas Bluemel 2391bc80b0 Fix a memory leak in AccpLookupSidByName
svn path=/trunk/; revision=31161
2007-12-11 18:56:55 +00:00
Thomas Bluemel a064f0f708 Implement looking up a named trustee's sid
svn path=/trunk/; revision=31160
2007-12-11 18:54:23 +00:00
Thomas Bluemel 1e9c10e4a5 Fix a buffer overflow accessing the pKeepAce array in AccRewriteSetEntriesInAcl
svn path=/trunk/; revision=31157
2007-12-11 17:52:30 +00:00
Thomas Bluemel f4985fcee6 Correctly preserve and restore last error code in AccRewriteSetEntriesInAcl
svn path=/trunk/; revision=31156
2007-12-11 17:49:49 +00:00
Thomas Bluemel 39103628df Replace GetOwner helper function with the already existing AccpGetAceSid function and enhance it to also support SYSTEM_MANDATORY_LABEL_ACE_TYPE
svn path=/trunk/; revision=31155
2007-12-11 17:22:34 +00:00
Thomas Bluemel 2ef4f7e239 _findnext is already implemented. Fixes a crash during Abiword startup
svn path=/trunk/; revision=31117
2007-12-10 05:07:47 +00:00
Thomas Bluemel 1a43a12889 Check the GDI object type in GdiGetHandleUserData()
svn path=/trunk/; revision=30852
2007-11-29 05:21:19 +00:00
Thomas Bluemel decb224735 Fix typo in RegpApplyRestrictions (patch submitted to WINE by Andrew Talbot)
svn path=/trunk/; revision=30844
2007-11-28 22:37:23 +00:00
Thomas Bluemel 19c56142c7 Fix underline bug introduced in r30780
svn path=/trunk/; revision=30808
2007-11-27 01:33:16 +00:00
Thomas Bluemel 6e2d5efb41 cmd_alloc_dbg is NOT available in release builds!!!
svn path=/trunk/; revision=30801
2007-11-27 00:41:44 +00:00
Thomas Bluemel 9e8530d01a Support hiding keyboard cues and focus rectangles
See issue #2839 for more details.

svn path=/trunk/; revision=30727
2007-11-24 20:49:20 +00:00
Thomas Bluemel 55e7ab53a2 Add a hack for SPI_GETKEYBOARDCUES
svn path=/trunk/; revision=30661
2007-11-22 05:36:01 +00:00
Thomas Bluemel e4c06afd1d Forward WM_UPDATEUISTATE to DefWindowProc
svn path=/trunk/; revision=30660
2007-11-22 05:33:22 +00:00
Thomas Bluemel c0a6ffd7ce - Support DT_PREFIXONLY and DT_HIDEPREFIX in DrawTextEx
- Support DSS_PREFIXONLY and DSS_HIDEPREFIX in DrawState

svn path=/trunk/; revision=30659
2007-11-22 00:40:24 +00:00
Thomas Bluemel 682de0efb8 Add missing definitions
svn path=/trunk/; revision=30658
2007-11-22 00:38:24 +00:00
Thomas Bluemel 9e7d6ab10e - Display cues and focus when hitting the ALT key.
- Simplify broadcasting the UI state change

svn path=/trunk/; revision=30657
2007-11-22 00:09:21 +00:00
Thomas Bluemel e0aab6ead8 Only update the UI state if the dialog is a top level window. If it is a client window (e.g. a property sheet or embedded dialog) we simply copy the UI state from the parent.
svn path=/trunk/; revision=30644
2007-11-21 19:53:09 +00:00
Thomas Bluemel fc02f8d454 Make dialogs update the UI state
svn path=/trunk/; revision=30613
2007-11-21 09:12:20 +00:00
Thomas Bluemel 6e7848434b Check SPI_GETKEYBOARDCUES to find out if we should process WM_CHANGEUISTATE and WM_UPDATEUISTATE
svn path=/trunk/; revision=30612
2007-11-21 08:43:20 +00:00
Thomas Bluemel d77503dadb Implement WM_QUERYUISTATE, WM_CHANGEUISTATE and WM_UPDATEUISTATE
svn path=/trunk/; revision=30611
2007-11-21 08:32:45 +00:00
Thomas Bluemel 2bc07496f3 Store the internal window placement directly inside the WINDOW structure
svn path=/trunk/; revision=30610
2007-11-21 05:35:33 +00:00
Thomas Bluemel bfc8890eee Optimize GetDesktopWindow() to read the information from the shared heap
svn path=/trunk/; revision=30609
2007-11-20 23:15:49 +00:00
Thomas Bluemel 258050487c Optimize TranslateMessage() to only call win32k for messages that need to be translated
svn path=/trunk/; revision=30604
2007-11-20 19:58:51 +00:00
Thomas Bluemel ab4e7b1729 Get rid of string pool helper routines
svn path=/trunk/; revision=30561
2007-11-18 22:53:30 +00:00
Thomas Bluemel 80036846f5 Optimize GetWindow() for the case GW_OWNER to read from the desktop heap
svn path=/trunk/; revision=30521
2007-11-17 07:19:47 +00:00
Thomas Bluemel 53b892f4d2 Optimize IsWindowVisible() a bit more to use the desktop heap directly
svn path=/trunk/; revision=30520
2007-11-17 07:01:14 +00:00
Thomas Bluemel 0a9026f76e Optimize IsChild() to use the desktop heap instead of calling win32k
svn path=/trunk/; revision=30519
2007-11-17 06:50:23 +00:00
Thomas Bluemel 1e40d2861b Optimize GetAncestor for the most common case GA_PARENT (for now)
svn path=/trunk/; revision=30518
2007-11-17 06:22:39 +00:00
Thomas Bluemel 07c6776607 Optimize GetParent() to read the information from the desktop heap
svn path=/trunk/; revision=30517
2007-11-17 06:12:48 +00:00
Thomas Bluemel 5a3970d087 Optimize DispatchMessageA/W to avoid calls to win32k
svn path=/trunk/; revision=30516
2007-11-17 05:08:13 +00:00
Thomas Bluemel f5e6721b33 Allow selecting disabled menu items
svn path=/trunk/; revision=30515
2007-11-17 02:24:50 +00:00
Thomas Bluemel 232b9edcf0 Optimize SendMessageA/W to allow certain messages be sent without calling win32k
svn path=/trunk/; revision=30514
2007-11-17 00:40:22 +00:00
Thomas Bluemel 7033c976bb Protect GetClassLong() and GetWindowText() with SEH as they're following pointers in the desktop heap
svn path=/trunk/; revision=30513
2007-11-16 21:56:23 +00:00
Thomas Bluemel a61d6e83df Optimize IsWindow() and IsWindowUnicode()
svn path=/trunk/; revision=30497
2007-11-16 09:03:51 +00:00
Thomas Bluemel 7cd69cac74 Use correct buffer size in GetClassNameW()
svn path=/trunk/; revision=30496
2007-11-16 08:43:50 +00:00
Thomas Bluemel cb75e8f462 Optimize ClientToScreen(), ScreenToClient() and MapWindowPoints()
svn path=/trunk/; revision=30495
2007-11-16 08:03:04 +00:00
Thomas Bluemel bc74f1df6f Make registration of system window classes a bit more robust
svn path=/trunk/; revision=30492
2007-11-16 07:12:59 +00:00
Thomas Bluemel 6687385c3b Optimize GetClassLongA/W to read most information from the desktop heap
svn path=/trunk/; revision=30491
2007-11-16 03:02:38 +00:00
Thomas Bluemel fdb8bd5a53 Optimize GetWindowText(Length)A/W and WM_GETTEXT(LENGTH)
svn path=/trunk/; revision=30490
2007-11-16 02:37:14 +00:00
Thomas Bluemel 99767a3b59 Some minor optimizations
svn path=/trunk/; revision=30489
2007-11-15 23:57:50 +00:00
Thomas Bluemel 38d979cc6c Change call to NtUserGetWindowLong to GetWindowLong in EnableWindow
svn path=/trunk/; revision=30486
2007-11-15 23:00:01 +00:00
Thomas Bluemel 4fae2f5e49 Implement GetWindowLongA/W without having to call win32k for most cases
svn path=/trunk/; revision=30477
2007-11-15 22:08:13 +00:00
Thomas Bluemel 23c877364c - Fix desktop heaps handling and various bugs
- Begin superseding the WINDOW_OBJECT structure by WINDOW which is located on the desktop heap
- Implement GetClientRect() and GetWindowRect() to read the information from the desktop heap

svn path=/trunk/; revision=30467
2007-11-15 19:42:41 +00:00
Thomas Bluemel bbf86d9a89 Dereference callproc handles without a system call
svn path=/trunk/; revision=30455
2007-11-15 05:42:44 +00:00
Thomas Bluemel 1392564c0d Forgot to commit this
svn path=/trunk/; revision=30454
2007-11-15 03:09:44 +00:00
Thomas Bluemel 97d89fe93a Translate pointers in ValidateHandle to the user mode mapping
svn path=/trunk/; revision=30453
2007-11-15 03:08:46 +00:00
Thomas Bluemel 98bcda510c Expose the pointer to the shared heap and the delta to the user mode mapping
svn path=/trunk/; revision=30452
2007-11-15 02:23:41 +00:00
Thomas Bluemel 0e033bbd53 Delete all GLDCDATA structures in wglDeleteContext that share the same ICD
svn path=/trunk/; revision=30450
2007-11-15 00:13:57 +00:00
Thomas Bluemel cf3352e6bc Make initializing the ICD in ROSGL_ICDForHDC thread-safe
svn path=/trunk/; revision=30430
2007-11-14 00:01:36 +00:00
Thomas Bluemel 65636af627 Make opengl initialization thread-safe
svn path=/trunk/; revision=30429
2007-11-13 23:30:17 +00:00
Thomas Bluemel d3e6d6d283 Fix freeing lists on process detach
svn path=/trunk/; revision=30428
2007-11-13 22:59:49 +00:00
Thomas Bluemel 80b9ed9c09 Increase size of current date selection
svn path=/trunk/; revision=30047
2007-11-01 17:41:00 +00:00
Thomas Bluemel 596a6762cf Fix abusing the heap by using strdupW instead of _wcsdup
svn path=/trunk/; revision=30021
2007-10-31 18:14:16 +00:00
Thomas Bluemel d624225717 Don't call SHBrowseForFolder() with random pointers
svn path=/trunk/; revision=30020
2007-10-31 17:13:52 +00:00
Thomas Bluemel 2923c32e1f Fix freeing callproc handles when freeing window classes
svn path=/trunk/; revision=29991
2007-10-31 01:25:42 +00:00
Thomas Bluemel ed30ce9375 Remove unused code
svn path=/trunk/; revision=29990
2007-10-30 22:56:59 +00:00
Thomas Bluemel 4b146b2b27 Silence possible uninitialized variable warning when compiled with full optimizations
svn path=/trunk/; revision=29989
2007-10-30 22:38:43 +00:00
Thomas Bluemel 0f9c8e1dcc fix compilation with full optimizations
svn path=/trunk/; revision=29988
2007-10-30 22:03:37 +00:00
Thomas Bluemel 935014319a stock objects don't need to be deleted
svn path=/trunk/; revision=29969
2007-10-30 01:51:23 +00:00
Thomas Bluemel b9ef3cb742 Patch by Heis Spiter <[email protected]>:
- Fix a handle leak
See issue #2772 for more details.

svn path=/trunk/; revision=29968
2007-10-30 01:46:00 +00:00
Thomas Bluemel 3e0b11c4bf Keep callproc handles valid as long as a window classes exists. Abiword should work again.
svn path=/trunk/; revision=29967
2007-10-30 01:24:47 +00:00