Commit graph

5458 commits

Author SHA1 Message Date
Hartmut Birr 69ade55431 - Check for the status after calling KeWaitForSingleObject in NtRequestWaitReplyPort.
svn path=/trunk/; revision=5643
2003-08-18 11:48:19 +00:00
Hartmut Birr 14aa056fe0 - Remove all wait objects from a thread which would be deleted.
- Release the thread list lock after the real context switch
  (some code was moved from thread.c to tskswitch.S).
- Check for the state of a thread which is blocked or unblocked,
  because it is possible that there was a second thread switching.
- Fixed KeSetBasePriorityThread.
- Check for a necessary task switch after changing the thread priority in KeSetPriorityThread.

svn path=/trunk/; revision=5642
2003-08-18 11:23:32 +00:00
Hartmut Birr 7aab7f108b - Store for each process a separate pointer for a control handler within the process data structure.
- Call the control handler only if processed input is enabled.
- Call the control handler for each process which is attached to the console.

svn path=/trunk/; revision=5641
2003-08-18 10:58:49 +00:00
Hartmut Birr 74b741f04a - Fixed the initializing of the initial console control handler.
- Fixed RemoveConsoleCtrlHandler.
- CreateProcess should send the console control handler to csrss.

svn path=/trunk/; revision=5640
2003-08-18 10:47:04 +00:00
Hartmut Birr a11c2e5606 - Delete a process environment in the context of a worker thread
if the caller does not run in the same process which would
  be deleted and if KeAttachProcess was already called.

svn path=/trunk/; revision=5639
2003-08-18 10:20:57 +00:00
Hartmut Birr 8ab6fed82c - Do not call KeAttachProcess/keDetachProcess if the current process is the necessary process.
svn path=/trunk/; revision=5638
2003-08-18 10:18:14 +00:00
Andrew Greenwood e7eff667e5 This is Jonathan Wilson's patch, which implements DrawFrame and fixes PolyPatBlt.
svn path=/trunk/; revision=5637
2003-08-18 09:59:29 +00:00
James Tabor 1ec31c1ff5 Commit Ctrl Event handler
svn path=/trunk/; revision=5636
2003-08-18 07:47:28 +00:00
James Tabor 542347bd13 Commit Ctrl Event handler
svn path=/trunk/; revision=5635
2003-08-18 07:32:00 +00:00
Martin Fuchs c433be3d74 spelling fix
svn path=/trunk/; revision=5634
2003-08-18 07:24:28 +00:00
James Tabor 2cfb8d7b0d Commit Ctrl Event handler
svn path=/trunk/; revision=5633
2003-08-18 07:20:37 +00:00
James Tabor 38064c3a39 Commit Ctrl Event handler
svn path=/trunk/; revision=5632
2003-08-18 07:06:59 +00:00
Andrew Greenwood f049704abd Implemented GrayStringA and GrayStringW (untested, probably won't work)
svn path=/trunk/; revision=5631
2003-08-18 00:14:50 +00:00
Thomas Bluemel a234963ccf Implemented SetWindowContextHelpId() and GetWindowContextHelpId()
svn path=/trunk/; revision=5630
2003-08-18 00:11:17 +00:00
Thomas Bluemel cfac33ce3b Implemented AnimateWindow()
svn path=/trunk/; revision=5629
2003-08-17 23:48:36 +00:00
Martin Fuchs b988aae390 added cvsignore2
svn path=/trunk/; revision=5628
2003-08-17 23:28:24 +00:00
Martin Fuchs 2a4126d9ca corrected cvsignore
svn path=/trunk/; revision=5627
2003-08-17 23:26:13 +00:00
Martin Fuchs b5aac7eb36 log off button in start menu
svn path=/trunk/; revision=5626
2003-08-17 23:14:23 +00:00
Andrew Greenwood 54a2b50917 * Ported listbox conrtol from WINE - it doesn't work properly yet, but registers and processes messages!
* Implemented IsChild and FreeConsole (latter is guesswork based on AllocConsole!)
* Started implementing OpenIcon (remains unfinished)
* Improved EnableWindow, IsWindowEnabled and IsZoomed
* Replaced some instances of GetWindowLong with NtUserGetWindowLong
* Added SIF_TRACKPOS to defines.h
* Added dwLocaleId to COMPAREITEMSTRUCT

svn path=/trunk/; revision=5625
2003-08-17 22:45:40 +00:00
Martin Fuchs d9668b0a6a picture button for start menu
svn path=/trunk/; revision=5624
2003-08-17 20:41:41 +00:00
Martin Fuchs a24652a4d7 picture button for start menu
svn path=/trunk/; revision=5623
2003-08-17 20:41:32 +00:00
Andrew Greenwood ff7ea1c1f5 * Implemented EnabledWindow and IsWindowEnabled (seem to work OK)
* Modified DrawState slightly (still doesn't work very well)

svn path=/trunk/; revision=5622
2003-08-17 20:29:57 +00:00
Andrew Greenwood 04bd392176 More work on DrawStateA/DrawStateW. They are still both incomplete, and only really work for DSS_NORMAL and DST_TEXT at the moment. Button text drawing appears to be broken (window state is always disabled for some reason.)
svn path=/trunk/; revision=5621
2003-08-17 19:07:11 +00:00
Martin Fuchs 17412a6d95 new helper struct ClientRect
svn path=/trunk/; revision=5620
2003-08-17 18:31:45 +00:00
Royce Mitchell III 5b6d43ab50 * fixes a couple (several?) memory leaks
* fixes |many| gdi locking bugs ( particularly DC's )
* Polygon and Rectangle now match MS's perfectly.
* a lot of functions take PDC or have PDC-equivalents now.
* fixed some C89 compatibility issues. ( before you complain, I refuse
to upgrade b/c my gcc 2.95 has caught ERRORS that gcc 3 completely
ignores, so I refuse to upgrade )

svn path=/trunk/; revision=5619
2003-08-17 17:32:58 +00:00
David Welch 8b7c8b8dff - Fixed bug in small width brush blts aligned to an eight boundary.
- Accelerate dstinvert blts (treat as patinvert with a colour of 0xF).

svn path=/trunk/; revision=5618
2003-08-17 15:11:54 +00:00
Martin Fuchs 6fba0a4d96 refresh attributes of existing taskbar buttons
svn path=/trunk/; revision=5617
2003-08-17 15:03:11 +00:00
Martin Fuchs 76a258b41b Handling ofg iconized windows
svn path=/trunk/; revision=5616
2003-08-17 14:19:03 +00:00
Richard Campbell 8568d5b2bb - Added 'time.c' for time functions
- Updated makefile

No longer compiles due to errors?!?  I could use some help here.  Anyone want to tell me what i'm doing wrong?

svn path=/trunk/; revision=5615
2003-08-17 12:32:05 +00:00
Richard Campbell 59ac5f2e25 - Updated winmm defs, (This library isn't used or compiled yet, use the one from wine)
- Removed a comment

svn path=/trunk/; revision=5614
2003-08-17 10:47:27 +00:00
Eric Kohl 63f8c28d8b Implemented xHalIoSetPartitionInformation().
Fixed typos in debug messages.
Cleaned up the mess.

svn path=/trunk/; revision=5613
2003-08-17 10:36:45 +00:00
Thomas Bluemel e283c5b7d3 Added WindowFromDC() by Philip Alldredge
svn path=/trunk/; revision=5612
2003-08-17 09:17:04 +00:00
Martin Fuchs f8e97c4994 Optimierung der Applikationsfenster-Anzeige
svn path=/trunk/; revision=5611
2003-08-17 07:59:37 +00:00
Royce Mitchell III 85f2a50511 fixed GDIOBJ locking issue with DC_SET_MODE macro
svn path=/trunk/; revision=5610
2003-08-17 03:32:59 +00:00
Andrew Greenwood 96a1097b2d Very basic (and incomplete) implementation of DrawStateA, DrawStateW and some internal helper functions, based on the code from WINE. It works well enough to display text on buttons, but doesn't handle any state drawing yet. I hope to implement this over the next few days.
svn path=/trunk/; revision=5609
2003-08-17 02:51:42 +00:00
Martin Fuchs e0aedc01c3 first draft of working task bar
svn path=/trunk/; revision=5608
2003-08-16 23:27:18 +00:00
Gé van Geldorp 8d77a084ae Remove ANSI window proc and related funcs, fix color of SS_*RECT/SS_*FRAME
styles, fix SS_ETCHEDHORZ and SS_ETCHEDVERT styles, fix clipping

svn path=/trunk/; revision=5607
2003-08-16 21:34:18 +00:00
Royce Mitchell III 2ef7538593 fixed line back-tracking in Polygon to match forward-tracking. No overlap occurs between line and fill if pen width <= 1.
svn path=/trunk/; revision=5606
2003-08-16 21:17:20 +00:00
Royce Mitchell III cc588fb0f4 Updated by TortoiseCVS
svn path=/trunk/; revision=5605
2003-08-16 21:15:54 +00:00
Royce Mitchell III 33652190b3 Updated by TortoiseCVS
svn path=/trunk/; revision=5604
2003-08-16 21:15:37 +00:00
Gé van Geldorp 93b6368a9f Fix test for WindowTextAtom
svn path=/trunk/; revision=5603
2003-08-16 20:16:50 +00:00
James Tabor 1498f053e6 Commit Ctrl Event handler more changes are pending.
svn path=/trunk/; revision=5602
2003-08-16 17:37:51 +00:00
Martin Fuchs a374276f97 additional comments
svn path=/trunk/; revision=5601
2003-08-16 12:06:52 +00:00
Martin Fuchs 0d9772d954 update from mail archive
svn path=/trunk/; revision=5600
2003-08-16 12:06:12 +00:00
Martin Fuchs 643f42422c use msdevfilt
svn path=/trunk/; revision=5599
2003-08-16 12:04:51 +00:00
James Tabor 0d9433ca45 Setup ConsoleLocks for Event handler
svn path=/trunk/; revision=5598
2003-08-16 06:19:15 +00:00
Royce Mitchell III 55aa0bc5a5 add abs() declaration
svn path=/trunk/; revision=5597
2003-08-16 05:12:37 +00:00
Royce Mitchell III 606b457dcd W32kRectangle() fixed.
svn path=/trunk/; revision=5596
2003-08-16 05:00:14 +00:00
Royce Mitchell III 321a71f1dd Polygon now works flawlessly ( with possible exception to the issue mentioned on the list earlier this evening ). Scrollbar arrows are now perfect.
svn path=/trunk/; revision=5595
2003-08-16 04:47:41 +00:00
Royce Mitchell III 58d4ce9842 my Polygon algorithm sandbox
svn path=/trunk/; revision=5594
2003-08-16 01:34:29 +00:00