Commit graph

17017 commits

Author SHA1 Message Date
Alex Ionescu
29322a96bc - Fix several flaws in APC logic.
- Properly support Special APC Disabling.
- Allow Guarded Mutex and Guarded Regions to function properly.
- Optimize some code and add some additional checks.
- Fix several bugs in KeFreezeAllThreads

svn path=/trunk/; revision=18117
2005-09-27 01:57:27 +00:00
Thomas Bluemel
bfcd1fab3c minor fixes
svn path=/trunk/; revision=18116
2005-09-27 01:48:49 +00:00
Thomas Bluemel
7c58d9be05 partly implemented the mixer selection dialog
svn path=/trunk/; revision=18115
2005-09-27 01:02:15 +00:00
Nathan Woods
2360c29d24 Notepad enhancements
1.  Implemented "Goto line"
2.  Partially implemented Replace (dialog comes up, need to have it actually do the replace )


svn path=/trunk/; revision=18114
2005-09-27 00:46:19 +00:00
Gunnar Dalsnes
b890e50a9e -reorder InsertXscendingOrder macro argument order and update uses
-start to macrofy list enums in ntoskrnl using LIST_FOR_EACH macros
-use IsListEmpty some places instead of manual coding
-profile.c:KeStartProfile() zero correct buffer in (and not the NULL ptr;-)
-improve LIST_FOR_EACH macros so that the iterator is set to NULL at end of enum
-kthread.c:KiServiceCheck() set the shadowtable before calling the win32k proc/thread init funcs
-apc.c:KiInsertQueueApc() insert special apcs in correct fifo order 
-apc.c:KeFlushQueueApc() simplify 
-timer.c:KiExpireTimers() calling RemoveEntryList on a possibly empty list is not ok

svn path=/trunk/; revision=18113
2005-09-26 22:57:48 +00:00
Thomas Bluemel
5b8c6d129b don't use MIXERCONTROLA for unicode builds
svn path=/trunk/; revision=18112
2005-09-26 22:06:31 +00:00
Alex Ionescu
ba942bb6e5 Fix calc.exe redraw problems on XP. Patch by Christoph_vW <Christoph@ApiViewer.de>
svn path=/trunk/; revision=18111
2005-09-26 21:49:03 +00:00
Alex Ionescu
e4dc1dc22d - Implement alldvrm and aulldvrm and export them from ntoskrnl. This fixes bug 467.
svn path=/trunk/; revision=18110
2005-09-26 21:39:04 +00:00
Alex Ionescu
06190df7c1 Err, actually deliver APCs when returning from systemcalls... fixes bug 810
svn path=/trunk/; revision=18109
2005-09-26 20:52:20 +00:00
Magnus Olsen
532121508b change from copyfileW to copyfileExW in MoveFileWithProgressW and add a error check for copyfileExW that was forgotten.
svn path=/trunk/; revision=18108
2005-09-26 20:44:43 +00:00
Filip Navara
4d68062bfb Revert r18070.
svn path=/trunk/; revision=18107
2005-09-26 20:29:08 +00:00
Alex Ionescu
2f5a9a2734 Add NDEBUG back and call LdrLoadDll correctly on Windows.
svn path=/trunk/; revision=18106
2005-09-26 20:08:11 +00:00
Hartmut Birr
ed77c5e942 Don't wait after the flush command for a non busy hd.
svn path=/trunk/; revision=18105
2005-09-26 20:06:49 +00:00
Hartmut Birr
406b5036aa Fixed the reinitialisation if the miniport driver returns SRB_STATUS_BUSY.
svn path=/trunk/; revision=18104
2005-09-26 20:00:48 +00:00
Thomas Bluemel
f9ac23ee7b also compile the resource file...
svn path=/trunk/; revision=18103
2005-09-26 19:16:43 +00:00
Thomas Bluemel
d286c03c70 add sndvol32 to the build system and reformat the code
svn path=/trunk/; revision=18102
2005-09-26 19:15:27 +00:00
Alex Ionescu
469b041e51 Export and implement NlsGetCacheUpdateCount. Almost every WinXP DLL can now import kernel32
svn path=/trunk/; revision=18101
2005-09-26 19:09:32 +00:00
Alex Ionescu
d78f9d9f94 Stub and export EnumCalanderInfoExW and QueryWin31IniFilesMappedToRegistry
svn path=/trunk/; revision=18100
2005-09-26 18:59:04 +00:00
Alex Ionescu
cc19214973 Export and implement CreateProcessInternalA and CreateProcessInternalW (really just shuffling/stubbing, no actual code was written.
svn path=/trunk/; revision=18099
2005-09-26 18:46:30 +00:00
Thomas Bluemel
aefeb9f6be RegOverridePredefKey does not (as opposed to the PSDK documentation) accept predefined handles for the hNewHKey parameter
svn path=/trunk/; revision=18098
2005-09-26 18:05:57 +00:00
Alex Ionescu
3438f98570 Open BNO directory with correct privileges, open CSR connection with correct path. Add InWindows boolean to use the right CSR ServerID in windows and add a hack to get kernel32 to be loadable if used with .local to force an application to use our kernel and not the system one. The result of this is that our kernel32 can now load in Windows XP (not 2000).
svn path=/trunk/; revision=18097
2005-09-26 18:03:17 +00:00
Aleksey Bragin
18a5faec31 Christoph von Wittich: fix for bug 824 ("memory leak in welcome").
-LoadBitmap without DeleteObject
-SelectObject is used with wrong DC

svn path=/trunk/; revision=18096
2005-09-26 16:13:50 +00:00
Aleksey Bragin
714a0377ae Christoph von Wittich: fix for bug 823 ("Resource leak in regedit").
svn path=/trunk/; revision=18095
2005-09-26 16:07:23 +00:00
Aleksey Bragin
7311a97c7e Christoph von Wittich: fix for bug 822 ("Resource leak in calc").
svn path=/trunk/; revision=18094
2005-09-26 15:50:37 +00:00
Thomas Bluemel
2c830b3480 export RegOverridePredefKey, forgot to commit this change
svn path=/trunk/; revision=18093
2005-09-26 13:02:01 +00:00
Thomas Bluemel
265d243da7 implemented RegOverridePredefKey()
svn path=/trunk/; revision=18092
2005-09-26 12:44:03 +00:00
Hervé Poussineau
235187d761 Update .inf files
svn path=/trunk/; revision=18091
2005-09-26 12:05:27 +00:00
Hervé Poussineau
94edbf0294 Fix signedness (SetupGetIntField takes a PINT argument, not a PUINT one)
svn path=/trunk/; revision=18090
2005-09-26 11:43:14 +00:00
Hervé Poussineau
e8a80ca380 Implement parts of SetupDiInstallDevice
svn path=/trunk/; revision=18089
2005-09-26 11:39:24 +00:00
Hervé Poussineau
85061235b4 Implement SetupInstallServicesFromInfSectionA/W, SetupInstallServicesFromInfSectionExW
Add stub for SetupInstallServicesFromInfSectionExW

svn path=/trunk/; revision=18088
2005-09-26 11:37:32 +00:00
Thomas Bluemel
5513508495 copy the buffer to the right place in IntWriteConsoleOutput
svn path=/trunk/; revision=18087
2005-09-26 11:35:23 +00:00
Thomas Bluemel
bbaa62a6a8 - fixed uninitialized variable warning
- fixed memory leak in SetupDiBuildDriverInfoList()

svn path=/trunk/; revision=18086
2005-09-26 11:14:34 +00:00
Thomas Bluemel
a4c2dbda2c fixed uninitialized variable warning
svn path=/trunk/; revision=18085
2005-09-26 11:11:48 +00:00
Thomas Bluemel
c251a38210 don't copy the buffer to a random pointer in IntWriteConsoleOutput()
svn path=/trunk/; revision=18084
2005-09-26 11:10:27 +00:00
Gé van Geldorp
fe931cdfe1 Silence some debug messages
svn path=/trunk/; revision=18083
2005-09-26 08:21:38 +00:00
Alex Ionescu
ad6d758184 - Fix a bug in CSR Capture APIs
- Fix bugs in kernel32 console APIs.
- These changes fix vim and fix bug 796 as I promised.

svn path=/trunk/; revision=18082
2005-09-26 07:43:55 +00:00
Alex Ionescu
4293263024 - Put executive atom functions in the executive folder, not rtl.
- Move purecall to the executive error APIs.

svn path=/trunk/; revision=18081
2005-09-26 05:41:35 +00:00
Alex Ionescu
6279a4838f - Remove some deprecated files.
svn path=/trunk/; revision=18080
2005-09-26 05:03:28 +00:00
Alex Ionescu
a62966103d Forgot to svn add these two files.
svn path=/trunk/; revision=18079
2005-09-26 05:01:14 +00:00
Alex Ionescu
c15e04cf7a - More sharing between ntdll/ntoskrnl: shared Dbg code.
- Added NtCreateDebugObject, NtDebugContinue, NtQueryDebugFilterState, NtSetDebugFilterState, NtWaitForDebugEvent to system call list.
- Added some debug constants to headers
- Updated RtlpCheckForActiveDebugger in ntoskrnl to return whatever we're expecting as the "normal" case.
- Added RtlpSetInDbgPrint to rtl support library for special DbgPrint implementation difference in user-mode
- Removed all the deprecated debug APIs in ntdll.
- Implemented NtQueryDebugFilterState and NtSetDebugFilterState based on royce's implementation.
- Started modifications on KeDebugService, and implemented DebugService in rtl
- Implemented all the Dbg* APIs in RTL.
- Implemented DbgUiConnectToDbg, DbgUiContinue, DbgUiWaitStateChange, DbgUiRemoteBreakin, DbgUiIssueRemoteBreakin
- Changed KD Print callbacks to also receive the length of the string.

Right now, one call that should be shared still isn't (the final DebugPrint call) because calling KeDebugService from kernel-mode seems to cause a hang. Also, DebugService does not currently cause an exception like it should (instead it still calls the Kdp handler), because those changes would've made the patch even bigger and are still untested.


svn path=/trunk/; revision=18078
2005-09-26 04:59:48 +00:00
Nathan Woods
ad2331b8dc 1. More merging from WINE regedit; imported refresh feature (which is wayyy slower than Windows regedit; need to optimize this)
2.  Using GetVersion() to determine whether to add HKEY_DYN_DATA


svn path=/trunk/; revision=18077
2005-09-26 03:18:53 +00:00
Magnus Olsen
2a43a20f74 remove dead code
svn path=/trunk/; revision=18076
2005-09-25 22:16:05 +00:00
Magnus Olsen
157b81edbd don't expect FS drivers to return STATUS_NOT_IMPLEMENTED if they don't know how to do the move (STATUS_NOT_SUPPORTED is also a perfect valid error code), this change did hpoussin suggest
svn path=/trunk/; revision=18075
2005-09-25 22:05:39 +00:00
Hervé Poussineau
aa2f14ed56 Implement SetupDiInstallDriverFiles
svn path=/trunk/; revision=18074
2005-09-25 21:18:27 +00:00
Magnus Olsen
a204d1a5de Implement support for move folder, even from different vol. But for now it does not think of EA or set file attrib right. it is a present to brandon so he stop nag about ros can not move a folder. It maybe got some other bugs. it need more testing see if it handling all case right.
svn path=/trunk/; revision=18073
2005-09-25 21:05:18 +00:00
Eric Kohl
c4035780df - Implement CM_Is_Dock_Station_Present[_Ex]
svn path=/trunk/; revision=18072
2005-09-25 21:02:43 +00:00
Hervé Poussineau
6cc1784d0b USB root hub is not really a child of the USB Controller, so don't give it a device identifier
svn path=/trunk/; revision=18071
2005-09-25 20:56:58 +00:00
Filip Navara
7df1c3d13b Revert r18064 and correctly set the cell size for hash cells.
svn path=/trunk/; revision=18070
2005-09-25 20:54:40 +00:00
Ged Murphy
800ecc9875 Simple implementation of the MS comp utility (remembered to add the files this time :) )
svn path=/trunk/; revision=18069
2005-09-25 20:46:28 +00:00
Ged Murphy
95be977b35 Simple implementation of the MS comp utility
svn path=/trunk/; revision=18068
2005-09-25 20:39:55 +00:00