Commit graph

5000 commits

Author SHA1 Message Date
Andrew Greenwood
acd21b1447 My first CVS commit. Hope I get this right. I did put a few files in the CVS dir manually... Innocent mistake... I'll clean it up after I'm done with this. Sorry!
Some of NTOSKRNL now compiles with __USE_W32API enabled. Note that this commit is purely so I know what to do, and also to allow other people to continue working on this if they wish to do so. I will continue hacking away at it.

It's not complete yet, but I've ensured that the changes I have made aren't incompatible with ReactOS as it stands at the moment. It compiles without __USE_W32API fine.

* Modified the tools/depend.mk file to force the use of forward slash (SEH variable?) otherwise it tries to run "toolsdepend.exe" without a slash.

* Moved a couple of routines from include/ddk/halfuncs.h to hal/halx86/include/hal.h

* Fixed conflicting types in ntoskrnl/ex/interlck.c

* Replaced .a with .u, #undef'd "lite" functions and defined NONAMELESSUNION in ntoskrnl/ex/resource.c so that it compiles with Win 32 API

* Added some more conditional defines to include/shared_data.h, ntoskrnl/include/internal/mm.h (and i386/mm.h), ntoskrnl/include/internal/ps.h

* Replaced .a with .u for OWNER_ENTRY and ERESOURCE in include/ddk/extypes.h (so they are compatible with Win 32 API headers)

* Various other small adjustments

Hope this works!

svn path=/trunk/; revision=5130
2003-07-15 16:26:18 +00:00
Royce Mitchell III
5522330a11 Updated by TortoiseCVS
svn path=/trunk/; revision=5129
2003-07-15 13:45:03 +00:00
Gé van Geldorp
fddc6df9fc Pass PHANDLE instead of HANDLE in NtOpenFile call
svn path=/trunk/; revision=5128
2003-07-15 10:49:52 +00:00
Gé van Geldorp
377c984b14 Return STATUS_NO_MEMORY instead of uninitialized Status on out of mem
svn path=/trunk/; revision=5127
2003-07-15 10:42:53 +00:00
Gé van Geldorp
a294d0a9ef Fix W32kFillRgn
svn path=/trunk/; revision=5126
2003-07-15 08:55:52 +00:00
Gé van Geldorp
4c172272c6 Remove debug.h
svn path=/trunk/; revision=5125
2003-07-15 08:15:27 +00:00
Steven Edwards
47a7fcd868 Added another static control test by Royce Mitchell.
svn path=/trunk/; revision=5124
2003-07-15 00:00:38 +00:00
Steven Edwards
de452dbacb Add include/wine/commctl.h back in untill w32api commctl.h header is fixed.
svn path=/trunk/; revision=5123
2003-07-14 22:07:12 +00:00
Steven Edwards
8434cb67a9 Added patch by Martain Fuchs for mulitple explorer instances.
svn path=/trunk/; revision=5122
2003-07-14 22:06:23 +00:00
Hartmut Birr
3364b9cc5f - Fixed the handling for page file backed sections.
svn path=/trunk/; revision=5121
2003-07-14 20:14:11 +00:00
Aleksey Bragin
9789c326b0 Make NdisMRegisterMiniport() say (MIN_TRACE) about failure of a call to driver's MiniportInitialize() instead of silently passing unsuccess to driver.
svn path=/trunk/; revision=5120
2003-07-14 18:55:11 +00:00
Royce Mitchell III
4f2e726bb3 Updated by TortoiseCVS
svn path=/trunk/; revision=5119
2003-07-14 18:44:10 +00:00
Gé van Geldorp
604728cdb1 Set CombinedClip region for memory DCs
svn path=/trunk/; revision=5118
2003-07-14 17:36:59 +00:00
Gé van Geldorp
bf39992fa1 Remove debug stuff
svn path=/trunk/; revision=5117
2003-07-14 17:35:31 +00:00
Gé van Geldorp
c341c05952 Handle NULL color translation
svn path=/trunk/; revision=5116
2003-07-14 17:34:52 +00:00
Gé van Geldorp
6b72cd60c5 Set screen width/height
svn path=/trunk/; revision=5115
2003-07-14 17:33:51 +00:00
Royce Mitchell III
bbab51678b *** empty log message ***
svn path=/trunk/; revision=5114
2003-07-14 13:55:24 +00:00
Gé van Geldorp
81d7932557 .cvsignore maintenance
svn path=/trunk/; revision=5113
2003-07-14 10:05:58 +00:00
Gé van Geldorp
b25c2dc92b Line clipping test program
svn path=/trunk/; revision=5112
2003-07-14 09:47:47 +00:00
Gé van Geldorp
7e11593f8c Implement clipping of lines
svn path=/trunk/; revision=5111
2003-07-14 09:43:11 +00:00
Gé van Geldorp
98d338a1c4 Implement sorting of clip rectangles
svn path=/trunk/; revision=5110
2003-07-14 09:38:02 +00:00
James Tabor
260e788eba Enable FillRgn
svn path=/trunk/; revision=5109
2003-07-14 06:36:36 +00:00
Steven Edwards
2ac4b3136b update sprintf fuctions with code from WINE.
User32 now passes the sprintf regression test

svn path=/trunk/; revision=5108
2003-07-13 18:02:04 +00:00
David Welch
b2730a4d61 - Fixed deadlock in pager thread.
- Added some more debugging checks.

svn path=/trunk/; revision=5107
2003-07-13 14:36:32 +00:00
Eric Kohl
988c5bb9eb Create media change events.
Check for XA disk formats.
Removed shutdown/flush routine.
Process read requests asynchronously.

svn path=/trunk/; revision=5106
2003-07-13 12:40:15 +00:00
Steven Edwards
a7afd50a26 typo - fix install of regression tests.
svn path=/trunk/; revision=5105
2003-07-13 05:42:31 +00:00
Steven Edwards
29189bc99c Added support for installing new regression tests
svn path=/trunk/; revision=5104
2003-07-13 05:14:34 +00:00
Eric Kohl
15f281d6a1 Convert SCSI SRB to ATAPI format for MODE_SENSE, MODE_SELECT and FORMAT_UNIT SCSI commands.
svn path=/trunk/; revision=5103
2003-07-12 19:18:31 +00:00
Eric Kohl
043a6c087f Append a newline to embedded binary files to keep compiler from crying.
svn path=/trunk/; revision=5102
2003-07-12 18:01:53 +00:00
Gé van Geldorp
5ed1368ae1 Please shoot (well, ok, at least never let him near a computer again) the
person who decided that the order of args for EngSort() is different from
the order for qsort()

svn path=/trunk/; revision=5101
2003-07-12 14:00:05 +00:00
Eric Kohl
c8356266c1 Added missing debug messages.
svn path=/trunk/; revision=5100
2003-07-12 13:13:43 +00:00
Eric Kohl
35a9700437 Implemented ScsiClassFindModePage().
Improved error handling.

svn path=/trunk/; revision=5099
2003-07-12 13:10:45 +00:00
Gé van Geldorp
36f596b459 Implement EngSort()
svn path=/trunk/; revision=5098
2003-07-12 12:45:29 +00:00
Casper Hornstrup
fdfc1cdb67 2003-07-12 Casper S. Hornstrup <chorns@users.sourceforge.net>
Changes for compiling with w32api

	* include/ddk/extypes.h (NPAGED_LOOKASIDE_LIST, PAGED_LOOKASIDE_LIST):
	Match w32api fields.
	* include/ddk/halfuncs.h (HalReturnToFirmware, HalReleaseDisplayOwnership,
	HalQueryDisplayOwnership): Move ...
	* include/ntos/halfuncs.h: ... here.
	* include/ntos/rtl.h: (PopEntrySList, PushEntrySList): Move to
	ntoskrnl/ex/lookas.c.
	* include/ntos/zw.h (NtAccessCheckAndAuditAlarm, NtCancelTimer,
	NtCreatePagingFile, NtCreateThread, NtFlushInstructionCache,
	NtFlushVirtualMemory, NtGetTickCount, NtLoadKey, NtLockVirtualMemory,
	NtOpenObjectAuditAlarm, NtProtectVirtualMemory, NtQueryDirectoryObject,
	NtQueryIntervalProfile, NtQueryVirtualMemory, NtRaiseHardError,
	NtSetInformationKey, NtSetInformationObject, NtSetTimer, NtUnloadKey,
	NtUnlockVirtualMemory, NtWaitForMultipleObjects, NtCreateProfile,
	NtDelayExecution, NtExtendSection, NtQuerySection): Include for w32api.
	* ntoskrnl/ntoskrnl.def (ExInterlockedAddUlong,
	ExInterlockedInsertHeadList, ExInterlockedInsertTailList,
	ExInterlockedPopEntryList, ExInterlockedPushEntryList,
	ExInterlockedRemoveHeadList): Make FASTCALL.
	* ntoskrnl/ntoskrnl.edf: Ditto.
	* ntoskrnl/ex/list.c: Ditto.
	* include/ddk/exfuncs.h: Ditto.
	(InterlockedPopEntrySList, InterlockedPushEntrySList,
	ExAllocateFromPagedLookasideList, ExFreeToPagedLookasideList): Add.
	* ntoskrnl/ex/interlck.c (ExInterlockedDecrementLong,
	ExInterlockedAddUlong, ExInterlockedIncrementLong): Undefine if defined.
	* ntoskrnl/ex/lookas.c (PopEntrySList, PushEntrySList,
	LookasideListLock): Add.
	* drivers/dd/blue/blue.c: Include <roskrnl.h>.
	* drivers/dd/videoprt/videoprt.c: Ditto.

svn path=/trunk/; revision=5097
2003-07-12 10:24:45 +00:00
Steven Edwards
b6eef9ca10 upload new config.h and remove unneeded commctl.h
svn path=/trunk/; revision=5096
2003-07-12 03:54:56 +00:00
Steven Edwards
c2f5d2a9c0 cleanup of old wine stuff in main reactos module
svn path=/trunk/; revision=5095
2003-07-12 03:42:01 +00:00
Steven Edwards
664a42a414 cleanup of old wine porting stuff
svn path=/trunk/; revision=5094
2003-07-12 03:40:49 +00:00
David Welch
bf56cfa999 - Return a specific status code when the pagefile is full.
svn path=/trunk/; revision=5093
2003-07-12 01:55:50 +00:00
David Welch
4ae404aaa8 - Implemented Harmutt Birr's suggestion of a seperate thread
to do balancing.
- Move pages that can't be paged out because the pagefile is
full to the end of the LRU list so we don't waste time checking
them again.

svn path=/trunk/; revision=5092
2003-07-12 01:52:10 +00:00
David Welch
e41f7f3329 - Fixed a deadlock - if a thread releasing an fmutex was rescheduled after
checking for contention but before setting the count to one then a thread
trying to acquire the fmutex between the two could be stuck forever even
though the fmutex was actually available.

svn path=/trunk/; revision=5091
2003-07-12 01:09:10 +00:00
Eric Kohl
719ae2a6dd Implemented RegSetKeySecurity().
Cleaned-up the function order.

svn path=/trunk/; revision=5090
2003-07-12 00:03:42 +00:00
Eric Kohl
6a67e42639 Fixed compiler warnings.
svn path=/trunk/; revision=5089
2003-07-11 23:58:45 +00:00
Royce Mitchell III
e2154cb138 checks against EOF were always failing according to compiler
svn path=/trunk/; revision=5088
2003-07-11 22:17:09 +00:00
Royce Mitchell III
abfcc7803e @implemented and @unimplemented comments for lib/msvcrt/*
svn path=/trunk/; revision=5087
2003-07-11 21:58:16 +00:00
Gé van Geldorp
edec53a34e Move qsort() to rosrtl static library
svn path=/trunk/; revision=5086
2003-07-11 20:55:43 +00:00
Casper Hornstrup
ad21febf7c 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* lib/user32/controls/edit.c (EDIT_EM_SetLimitText,
	EDIT_WM_StyleChanged): Fix unsigned/signed warning.

svn path=/trunk/; revision=5085
2003-07-11 18:25:03 +00:00
Casper Hornstrup
2f01236d5b 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* config (DBG): Default to 0.

svn path=/trunk/; revision=5084
2003-07-11 18:17:09 +00:00
Casper Hornstrup
8402d06a5c 2003-07-11 Casper S. Hornstrup <chorns@users.sourceforge.net>
* regtests: New directory.
	* regtests/kmregtests: Ditto.
	* regtests/kmrtint: Ditto.
	* regtests/regtests: Ditto.
	* regtests/shared: Ditto.
	* regtests/win32base: Ditto.
	* include/roskrnl.h: New file.
	* regtests/Makefile: Ditto.
	* regtests/kmregtests/.cvsignore: Ditto.
	* regtests/kmregtests/driver.c: Ditto.
	* regtests/kmregtests/kmregtests.h: Ditto.
	* regtests/kmregtests/Makefile: Ditto.
	* regtests/kmrtint/.cvsignore: Ditto.
	* regtests/kmrtint/kmrtint.c: Ditto.
	* regtests/kmrtint/kmrtint.def: Ditto.
	* regtests/kmrtint/kmrtint.edf: Ditto.
	* regtests/kmrtint/Makefile: Ditto.
	* regtests/regtests/.cvsignore: Ditto.
	* regtests/regtests/Makefile: Ditto.
	* regtests/regtests/regtests.c: Ditto.
	* regtests/shared/.cvsignore: Ditto.
	* regtests/shared/Makefile: Ditto.
	* regtests/shared/regtests.c: Ditto.
	* regtests/shared/regtests.h: Ditto.
	* regtests/win32base/.cvsignore: Ditto.
	* regtests/win32base/driver.c: Ditto.
	* regtests/win32base/file-1.c: Ditto.
	* regtests/win32base/Makefile: Ditto.
	* regtests/win32base/win32base.def: Ditto.
	* regtests/win32base/win32base.edf: Ditto.
	* tools/regtests.c: Ditto.
	* Makefile: Add target regtests.
	* config: Add SEH option.
	* rules.mak: Add tool REGTESTS.
	* bootdata/hivesys.inf: Add service kmregtests.
	* include/win32k/bitmaps.h (DIB_BitmapInfoSize): Correct prototype.
	* ntoskrnl/ke/i386/exp.c (KiKernelTrapHandler): Reverse wrong boolean
	expression.
	* ntoskrnl/ke/i386/usertrap.c (KiUserTrapHandler): Ditto.
	* tools/Makefile: Add tool regtests.
	* tools/config.mk: Handle SEH option.
	* tools/helper.mk: Support regression tests.

svn path=/trunk/; revision=5083
2003-07-11 18:13:57 +00:00
Steven Edwards
17d7cb86ae Enable the edit control
svn path=/trunk/; revision=5082
2003-07-11 18:00:14 +00:00
Steven Edwards
977727b6cd Forgot to commit Makefile
svn path=/trunk/; revision=5081
2003-07-11 17:58:51 +00:00