Emanuele Aliberti [Wed, 20 Aug 2003 20:45:28 +0000 (20:45 +0000)]
WIN32K: little work on Set/GetPixel (I don't know how to actually get/set a pixel value).
svn path=/trunk/; revision=5713
Royce Mitchell III [Wed, 20 Aug 2003 20:24:35 +0000 (20:24 +0000)]
fixed some documentation and implemented RoundRect to call Rectangle so we at least see *something* until RoundRect can get implemented
svn path=/trunk/; revision=5712
Eric Kohl [Wed, 20 Aug 2003 20:07:33 +0000 (20:07 +0000)]
Added check and warning about incompatible partition tables.
The previous patches (partlist.c and usetup.c) were written by Hartmut Birr!
svn path=/trunk/; revision=5711
Casper Hornstrup [Wed, 20 Aug 2003 18:55:03 +0000 (18:55 +0000)]
2003-08-19 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/win32k/ntuser/menu.c (IntSetMenuDefaultItem,
IntGetMenuDefaultItem): Fix unsigned/signed warnings.
svn path=/trunk/; revision=5710
Eric Kohl [Wed, 20 Aug 2003 16:59:46 +0000 (16:59 +0000)]
Ignore valid but unused partition table (4 unused entries).
svn path=/trunk/; revision=5709
Eric Kohl [Wed, 20 Aug 2003 16:31:21 +0000 (16:31 +0000)]
Install FAT16 bootcode on FAT16 partitions.
Don't modify valid partition types when a partiton is formatted.
svn path=/trunk/; revision=5708
Martin Fuchs [Wed, 20 Aug 2003 15:18:08 +0000 (15:18 +0000)]
dynamic startmenu widths
svn path=/trunk/; revision=5707
Eric Kohl [Wed, 20 Aug 2003 15:16:43 +0000 (15:16 +0000)]
Enable ReactOS installation.
svn path=/trunk/; revision=5706
Eric Kohl [Wed, 20 Aug 2003 15:15:30 +0000 (15:15 +0000)]
Fixed FAT32 cluster size calculation (GB instead of MB).
svn path=/trunk/; revision=5705
Emanuele Aliberti [Wed, 20 Aug 2003 15:02:53 +0000 (15:02 +0000)]
NTOSKRNL PS: NtOpenThread implemented.
svn path=/trunk/; revision=5704
Royce Mitchell III [Wed, 20 Aug 2003 14:53:16 +0000 (14:53 +0000)]
commented out a DPRINT that referenced a variable that no longer exists
svn path=/trunk/; revision=5703
Thomas Bluemel [Wed, 20 Aug 2003 14:08:19 +0000 (14:08 +0000)]
Patch by Jonathon Wilson: Implemented loading cursors with LoadImage()
svn path=/trunk/; revision=5702
Thomas Bluemel [Wed, 20 Aug 2003 14:01:16 +0000 (14:01 +0000)]
some work on menus
svn path=/trunk/; revision=5701
Thomas Bluemel [Wed, 20 Aug 2003 13:02:32 +0000 (13:02 +0000)]
implemented NtUserGetMenuDefaultItem()
svn path=/trunk/; revision=5700
Martin Fuchs [Wed, 20 Aug 2003 12:42:25 +0000 (12:42 +0000)]
automatically opening startmenu-submenus
svn path=/trunk/; revision=5699
Andrew Greenwood [Wed, 20 Aug 2003 10:37:33 +0000 (10:37 +0000)]
* Took an intelligent guess at NtLockVirtualMemory and NtUnlockVirtualMemory and attempted to implement them, but they're most likely *wrong*. Shouldn't break anything already though.
svn path=/trunk/; revision=5698
Thomas Bluemel [Wed, 20 Aug 2003 10:08:53 +0000 (10:08 +0000)]
added NtUserGetMenuDefaultItem() syscall
svn path=/trunk/; revision=5697
Martin Fuchs [Wed, 20 Aug 2003 09:08:00 +0000 (09:08 +0000)]
draw startmenu subfolder arrows
svn path=/trunk/; revision=5696
Martin Fuchs [Wed, 20 Aug 2003 09:06:34 +0000 (09:06 +0000)]
eliminating warning
svn path=/trunk/; revision=5695
Gé van Geldorp [Wed, 20 Aug 2003 08:05:10 +0000 (08:05 +0000)]
.cvsignore maintenance
svn path=/trunk/; revision=5694
Gé van Geldorp [Wed, 20 Aug 2003 07:45:02 +0000 (07:45 +0000)]
- Store GDI object type in the handle itself
- Rename remaining XX_HandleToPtr/XX_ReleasePtr funcs to XX_LockXx/XX_UnlockXx
svn path=/trunk/; revision=5693
Royce Mitchell III [Wed, 20 Aug 2003 04:18:31 +0000 (04:18 +0000)]
patch by vizzini - Fixed a typoed struct member, Fixed a unicode->hex integer bug.
svn path=/trunk/; revision=5692
Andrew Greenwood [Wed, 20 Aug 2003 03:07:33 +0000 (03:07 +0000)]
* Made a start on a few user32 stubs
* Various other small changes
svn path=/trunk/; revision=5691
Andrew Greenwood [Wed, 20 Aug 2003 01:41:01 +0000 (01:41 +0000)]
* Implemented handling for DC_INBUTTON and DC_SMALLCAP styles in DrawCaption()
* Misc. other very minor improvements
svn path=/trunk/; revision=5690
Andrew Greenwood [Wed, 20 Aug 2003 01:05:10 +0000 (01:05 +0000)]
* Merged common code from GetClassInfoExA/W into an internal GetClassInfoExCommon routine, called by both functions.
These changes conflicted with an earlier commit - I have manually merged the changed. If there are any mistakes, one of the functions has the original code commented out.
svn path=/trunk/; revision=5689
Andrew Greenwood [Wed, 20 Aug 2003 00:41:04 +0000 (00:41 +0000)]
DrawCaption() now works, and is called (unsurprisingly) for drawing the captions of windows!
* Implemented DrawCaption() in lib/user32/windows/defwnd.c (couldn't put it in draw.c due to the functions it relies upon being in defwnd.c)
* Changed a few metrics in subsys/win32k/ntuser/metric.c to match the Windows defaults
* Added DC_GRADIENT and DC_BUTTONS to include/defines.h
* Modified prototype for UserDrawSysMenuButton in lib/user32/include/window.h to return success/failure
* Modified lib/usr32/resources/obm_close.bmp slightly. It now looks more like the Windows version.
svn path=/trunk/; revision=5688
David Welch [Wed, 20 Aug 2003 00:02:31 +0000 (00:02 +0000)]
- Fix for accessing Section->Segment after dereferencing the associated
file object.
svn path=/trunk/; revision=5687
David Welch [Wed, 20 Aug 2003 00:01:30 +0000 (00:01 +0000)]
- Forgot this file - sorry.
svn path=/trunk/; revision=5686
David Welch [Tue, 19 Aug 2003 23:59:08 +0000 (23:59 +0000)]
- Patch from PM implementing ldt and tss iobitmap support.
svn path=/trunk/; revision=5685
Thomas Bluemel [Tue, 19 Aug 2003 23:54:26 +0000 (23:54 +0000)]
small bugfix
svn path=/trunk/; revision=5684
David Welch [Tue, 19 Aug 2003 23:52:36 +0000 (23:52 +0000)]
- Fixed whole page allocations.
svn path=/trunk/; revision=5683
Thomas Bluemel [Tue, 19 Aug 2003 23:41:20 +0000 (23:41 +0000)]
fixed NtUserGetClassInfo() and GetClassInfoExA/W()
svn path=/trunk/; revision=5682
Steven Edwards [Tue, 19 Aug 2003 23:25:58 +0000 (23:25 +0000)]
Add lz32.dll to apistatus list.
svn path=/trunk/; revision=5681
Royce Mitchell III [Tue, 19 Aug 2003 21:29:20 +0000 (21:29 +0000)]
fixed minor blip in Polygon algo
svn path=/trunk/; revision=5680
Martin Fuchs [Tue, 19 Aug 2003 21:05:21 +0000 (21:05 +0000)]
new cvsignore entries
svn path=/trunk/; revision=5679
Martin Fuchs [Tue, 19 Aug 2003 21:04:37 +0000 (21:04 +0000)]
Implementation of standard startmenu folders
svn path=/trunk/; revision=5678
Eric Kohl [Tue, 19 Aug 2003 19:15:20 +0000 (19:15 +0000)]
* Added trailing fs info sector signature
* Calculate correct cluster size
svn path=/trunk/; revision=5677
Hartmut Birr [Tue, 19 Aug 2003 17:51:12 +0000 (17:51 +0000)]
- Fixed the intial values for cluster 0 and 1.
- Write the fat in larger chunks.
- Calculate the necessary size for the fat more exactly.
svn path=/trunk/; revision=5676
Martin Fuchs [Tue, 19 Aug 2003 16:51:36 +0000 (16:51 +0000)]
Implemented navigation and launching in start menu
svn path=/trunk/; revision=5675
Eric Kohl [Tue, 19 Aug 2003 15:54:47 +0000 (15:54 +0000)]
* Install MBR boot code if necessary.
* Install partition boot code after formatting.
svn path=/trunk/; revision=5674
Royce Mitchell III [Tue, 19 Aug 2003 15:18:26 +0000 (15:18 +0000)]
fixed definition of DESKTOPENUMPROC
svn path=/trunk/; revision=5673
Thomas Bluemel [Tue, 19 Aug 2003 11:48:50 +0000 (11:48 +0000)]
Patch by Jonathon Wilson:
1. renames all w32k syscalls to ntgdi
2. contains the fixed, working PolyPatBlt and PatBlt fixes from before
3. renames W32kInitialize to Win32kInitalize
4. renames W32kDeviceProcess to Win32kDeviceProcess
5. renames all the w32k functions in ntuser to int functions (like in ntgdi)
svn path=/trunk/; revision=5672
Martin Fuchs [Tue, 19 Aug 2003 09:48:43 +0000 (09:48 +0000)]
use BTNS_SEP instead of TBSTYLE_SEP
svn path=/trunk/; revision=5671
Martin Fuchs [Tue, 19 Aug 2003 09:36:25 +0000 (09:36 +0000)]
OwnerdrawnButton
svn path=/trunk/; revision=5670
Martin Fuchs [Tue, 19 Aug 2003 09:13:02 +0000 (09:13 +0000)]
added code comments and a bit of cleanup
svn path=/trunk/; revision=5669
Martin Fuchs [Tue, 19 Aug 2003 09:11:43 +0000 (09:11 +0000)]
disable window resizing for start menu
svn path=/trunk/; revision=5668
Royce Mitchell III [Tue, 19 Aug 2003 05:24:07 +0000 (05:24 +0000)]
Added MmDbgPagedPoolRedZoneCheck(). I hope to eventually export it so other OS components can check for bounds violations whenever they want. For now, you can do so by calling ExAllocatePool(PagedPool,0)
svn path=/trunk/; revision=5667
Royce Mitchell III [Tue, 19 Aug 2003 03:05:42 +0000 (03:05 +0000)]
C89 compatibility
svn path=/trunk/; revision=5666
Royce Mitchell III [Tue, 19 Aug 2003 02:55:53 +0000 (02:55 +0000)]
fixed some memory leaks with GetClassInfoEx(A/W)
svn path=/trunk/; revision=5665
Steven Edwards [Tue, 19 Aug 2003 01:31:51 +0000 (01:31 +0000)]
Added implemented and unimplemented tags.
svn path=/trunk/; revision=5664
Thomas Bluemel [Tue, 19 Aug 2003 01:31:15 +0000 (01:31 +0000)]
implemented SetLastErrorEx()
svn path=/trunk/; revision=5663
Thomas Bluemel [Tue, 19 Aug 2003 01:03:41 +0000 (01:03 +0000)]
minor fixes
svn path=/trunk/; revision=5662
Thomas Bluemel [Tue, 19 Aug 2003 00:49:42 +0000 (00:49 +0000)]
GetClassInfoExA/W() checks for valid parameters now
svn path=/trunk/; revision=5661
Thomas Bluemel [Tue, 19 Aug 2003 00:36:40 +0000 (00:36 +0000)]
fixed some bugs in GetClassInfoExA/W()
svn path=/trunk/; revision=5660
Thomas Bluemel [Mon, 18 Aug 2003 23:52:03 +0000 (23:52 +0000)]
fixed GetClassInfoExA/W() and CreateWindowExA/W()
svn path=/trunk/; revision=5659
Andrew Greenwood [Mon, 18 Aug 2003 23:10:44 +0000 (23:10 +0000)]
OK I must be having a bad coding day or something. This should finally fix the build problems.
svn path=/trunk/; revision=5658
Andrew Greenwood [Mon, 18 Aug 2003 22:55:15 +0000 (22:55 +0000)]
Oops... Sorry guys, the last commit I made broke the build, so I've just reversed most of what I did. Just commented out my changes in unwind.c
svn path=/trunk/; revision=5657
Martin Fuchs [Mon, 18 Aug 2003 22:28:41 +0000 (22:28 +0000)]
first draft of explorer start menu
svn path=/trunk/; revision=5656
Andrew Greenwood [Mon, 18 Aug 2003 22:19:25 +0000 (22:19 +0000)]
* Added stubs for GetSecurityInfo and GetSecurityInfoExA/W in advapi32
* Added some rather messy code to msvcrt/except/unwind.c in an attempt to get cmd.exe from Windows 2000 to run once again (Microsoft must've updated it in SP4 ... it used to work!)
svn path=/trunk/; revision=5655
Andrew Greenwood [Mon, 18 Aug 2003 19:14:57 +0000 (19:14 +0000)]
I've attempted to (correctly) re-stub some of the WinMM.DLL functions, and have partly implemented some parameter checking, etc.
This is still a complete mess and won't link. And it doesn't like me using file mappings.
svn path=/trunk/; revision=5654
Eric Kohl [Mon, 18 Aug 2003 17:39:26 +0000 (17:39 +0000)]
* Write modified partition sectors to disk.
* Enable partition formatting code.
svn path=/trunk/; revision=5653
Eric Kohl [Mon, 18 Aug 2003 17:34:18 +0000 (17:34 +0000)]
xHalIoWritePartitionTable(): Don't bail out if a partition manager was found.
svn path=/trunk/; revision=5652
Emanuele Aliberti [Mon, 18 Aug 2003 15:18:03 +0000 (15:18 +0000)]
SystemProcessInformation: PPID retrieved.
Now tlist shows correct parent-child relations.
svn path=/trunk/; revision=5651
Thomas Bluemel [Mon, 18 Aug 2003 14:09:13 +0000 (14:09 +0000)]
some work on menus
svn path=/trunk/; revision=5650
Thomas Bluemel [Mon, 18 Aug 2003 13:37:54 +0000 (13:37 +0000)]
some work on menus
svn path=/trunk/; revision=5649
Martin Fuchs [Mon, 18 Aug 2003 13:09:46 +0000 (13:09 +0000)]
initializing for GCC
svn path=/trunk/; revision=5648
Martin Fuchs [Mon, 18 Aug 2003 13:07:50 +0000 (13:07 +0000)]
BTNS_BUTTON
svn path=/trunk/; revision=5647
Thomas Bluemel [Mon, 18 Aug 2003 11:58:17 +0000 (11:58 +0000)]
removed MENUITEMINFOW struct from MENU_ITEM
svn path=/trunk/; revision=5646
Hartmut Birr [Mon, 18 Aug 2003 11:55:43 +0000 (11:55 +0000)]
- Enabled the break handler.
svn path=/trunk/; revision=5645
Hartmut Birr [Mon, 18 Aug 2003 11:52:31 +0000 (11:52 +0000)]
- 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=5644
Hartmut Birr [Mon, 18 Aug 2003 11:48:19 +0000 (11:48 +0000)]
- Check for the status after calling KeWaitForSingleObject in NtRequestWaitReplyPort.
svn path=/trunk/; revision=5643
Hartmut Birr [Mon, 18 Aug 2003 11:23:32 +0000 (11:23 +0000)]
- 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
Hartmut Birr [Mon, 18 Aug 2003 10:58:49 +0000 (10:58 +0000)]
- 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
Hartmut Birr [Mon, 18 Aug 2003 10:47:04 +0000 (10:47 +0000)]
- 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
Hartmut Birr [Mon, 18 Aug 2003 10:20:57 +0000 (10:20 +0000)]
- 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
Hartmut Birr [Mon, 18 Aug 2003 10:18:14 +0000 (10:18 +0000)]
- Do not call KeAttachProcess/keDetachProcess if the current process is the necessary process.
svn path=/trunk/; revision=5638
Andrew Greenwood [Mon, 18 Aug 2003 09:59:29 +0000 (09:59 +0000)]
This is Jonathan Wilson's patch, which implements DrawFrame and fixes PolyPatBlt.
svn path=/trunk/; revision=5637
James Tabor [Mon, 18 Aug 2003 07:47:28 +0000 (07:47 +0000)]
Commit Ctrl Event handler
svn path=/trunk/; revision=5636
James Tabor [Mon, 18 Aug 2003 07:32:00 +0000 (07:32 +0000)]
Commit Ctrl Event handler
svn path=/trunk/; revision=5635
Martin Fuchs [Mon, 18 Aug 2003 07:24:28 +0000 (07:24 +0000)]
spelling fix
svn path=/trunk/; revision=5634
James Tabor [Mon, 18 Aug 2003 07:20:37 +0000 (07:20 +0000)]
Commit Ctrl Event handler
svn path=/trunk/; revision=5633
James Tabor [Mon, 18 Aug 2003 07:06:59 +0000 (07:06 +0000)]
Commit Ctrl Event handler
svn path=/trunk/; revision=5632
Andrew Greenwood [Mon, 18 Aug 2003 00:14:50 +0000 (00:14 +0000)]
Implemented GrayStringA and GrayStringW (untested, probably won't work)
svn path=/trunk/; revision=5631
Thomas Bluemel [Mon, 18 Aug 2003 00:11:17 +0000 (00:11 +0000)]
Implemented SetWindowContextHelpId() and GetWindowContextHelpId()
svn path=/trunk/; revision=5630
Thomas Bluemel [Sun, 17 Aug 2003 23:48:36 +0000 (23:48 +0000)]
Implemented AnimateWindow()
svn path=/trunk/; revision=5629
Martin Fuchs [Sun, 17 Aug 2003 23:28:24 +0000 (23:28 +0000)]
added cvsignore2
svn path=/trunk/; revision=5628
Martin Fuchs [Sun, 17 Aug 2003 23:26:13 +0000 (23:26 +0000)]
corrected cvsignore
svn path=/trunk/; revision=5627
Martin Fuchs [Sun, 17 Aug 2003 23:14:23 +0000 (23:14 +0000)]
log off button in start menu
svn path=/trunk/; revision=5626
Andrew Greenwood [Sun, 17 Aug 2003 22:45:40 +0000 (22:45 +0000)]
* 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
Martin Fuchs [Sun, 17 Aug 2003 20:41:41 +0000 (20:41 +0000)]
picture button for start menu
svn path=/trunk/; revision=5624
Martin Fuchs [Sun, 17 Aug 2003 20:41:32 +0000 (20:41 +0000)]
picture button for start menu
svn path=/trunk/; revision=5623
Andrew Greenwood [Sun, 17 Aug 2003 20:29:57 +0000 (20:29 +0000)]
* Implemented EnabledWindow and IsWindowEnabled (seem to work OK)
* Modified DrawState slightly (still doesn't work very well)
svn path=/trunk/; revision=5622
Andrew Greenwood [Sun, 17 Aug 2003 19:07:11 +0000 (19:07 +0000)]
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
Martin Fuchs [Sun, 17 Aug 2003 18:31:45 +0000 (18:31 +0000)]
new helper struct ClientRect
svn path=/trunk/; revision=5620
Royce Mitchell III [Sun, 17 Aug 2003 17:32:58 +0000 (17:32 +0000)]
* 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
David Welch [Sun, 17 Aug 2003 15:11:54 +0000 (15:11 +0000)]
- 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
Martin Fuchs [Sun, 17 Aug 2003 15:03:11 +0000 (15:03 +0000)]
refresh attributes of existing taskbar buttons
svn path=/trunk/; revision=5617
Martin Fuchs [Sun, 17 Aug 2003 14:19:03 +0000 (14:19 +0000)]
Handling ofg iconized windows
svn path=/trunk/; revision=5616
Richard Campbell [Sun, 17 Aug 2003 12:32:05 +0000 (12:32 +0000)]
- 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
Richard Campbell [Sun, 17 Aug 2003 10:47:27 +0000 (10:47 +0000)]
- Updated winmm defs, (This library isn't used or compiled yet, use the one from wine)
- Removed a comment
svn path=/trunk/; revision=5614