Thomas Bluemel [Wed, 28 Sep 2005 21:43:54 +0000 (21:43 +0000)]
add the vista application recovery functions to w32api and add their stubs to kernel32
svn path=/trunk/; revision=18141
Thomas Bluemel [Wed, 28 Sep 2005 19:56:05 +0000 (19:56 +0000)]
don't free random pointer in MmCreateImageSection. should fix bug 836
svn path=/trunk/; revision=18140
Hartmut Birr [Wed, 28 Sep 2005 19:34:07 +0000 (19:34 +0000)]
Disable flushing if the device doesn't support it or if it isn't enabled.
svn path=/trunk/; revision=18139
Thomas Bluemel [Wed, 28 Sep 2005 18:56:01 +0000 (18:56 +0000)]
added the Longhorn registry APIs to w32api
svn path=/trunk/; revision=18138
Thomas Bluemel [Wed, 28 Sep 2005 17:15:57 +0000 (17:15 +0000)]
don't dereference the port in NtSetInformationFile with information class FileCompletionInformation. The Also make setting the completion port thread-safe. This might fix bug 816
svn path=/trunk/; revision=18137
Thomas Bluemel [Wed, 28 Sep 2005 15:40:52 +0000 (15:40 +0000)]
improved error handling
svn path=/trunk/; revision=18136
Nathan Woods [Wed, 28 Sep 2005 13:20:10 +0000 (13:20 +0000)]
Notepad: Fixed some bugs in Search->Replace
svn path=/trunk/; revision=18135
Thomas Bluemel [Wed, 28 Sep 2005 13:00:05 +0000 (13:00 +0000)]
improved error handling
svn path=/trunk/; revision=18134
Thomas Bluemel [Wed, 28 Sep 2005 12:26:33 +0000 (12:26 +0000)]
Fixed some memory leaks in taskmgr. Patch by Christoph_vW <Christoph@ApiViewer.de>
svn path=/trunk/; revision=18133
Ged Murphy [Tue, 27 Sep 2005 23:37:05 +0000 (23:37 +0000)]
- Set svn:eol-style to native
- Set svn:ignore on directories
Thanks to w3seek for pointing this out.
svn path=/trunk/; revision=18132
Nathan Woods [Tue, 27 Sep 2005 23:29:35 +0000 (23:29 +0000)]
Notepad enhancements:
1. Removed the 30k limit
2. Implemented Replace and Replace All
svn path=/trunk/; revision=18131
Magnus Olsen [Tue, 27 Sep 2005 21:49:18 +0000 (21:49 +0000)]
- Fix move for readonly folder and file. for now it is a small hack for readonly folders, Small Cleanup in the code, thx w3seek for the help with SetFileAttribs code.
svn path=/trunk/; revision=18130
Ged Murphy [Tue, 27 Sep 2005 21:44:24 +0000 (21:44 +0000)]
Start to implement the beginneings of tcpsvcs.exe. Just ideas at the moment, subject to change.
Working code for basic echo and chargen included. Tested in Windows from both Windows and Linux clients
Run from cmd, not incorporated into services.exe at the moment
Builds ok, but not included into build system just yet.
svn path=/trunk/; revision=18129
Thomas Bluemel [Tue, 27 Sep 2005 20:22:25 +0000 (20:22 +0000)]
some code reformatting of slayer.dll and make it build again
svn path=/trunk/; revision=18128
Thomas Bluemel [Tue, 27 Sep 2005 18:19:59 +0000 (18:19 +0000)]
some code reformatting
svn path=/trunk/; revision=18127
Thomas Bluemel [Tue, 27 Sep 2005 15:50:49 +0000 (15:50 +0000)]
add hid.dll to the build system
svn path=/trunk/; revision=18126
Hervé Poussineau [Tue, 27 Sep 2005 14:27:14 +0000 (14:27 +0000)]
During 2nd stage setup, define also DNS hostname of the computer if possible
svn path=/trunk/; revision=18125
Nathan Woods [Tue, 27 Sep 2005 13:47:46 +0000 (13:47 +0000)]
Regedit: Optimizations to refreshing; refreshing is still slightly slower than Windows regedit
svn path=/trunk/; revision=18124
Thomas Bluemel [Tue, 27 Sep 2005 13:42:20 +0000 (13:42 +0000)]
load some settings from the registry
svn path=/trunk/; revision=18123
Hervé Poussineau [Tue, 27 Sep 2005 12:43:36 +0000 (12:43 +0000)]
KEBUGCHECK(0) -> KEBUGCHECK(INACCESSIBLE_BOOT_DEVICE)
svn path=/trunk/; revision=18122
Hervé Poussineau [Tue, 27 Sep 2005 12:40:20 +0000 (12:40 +0000)]
Display status code when the file can't be opened
svn path=/trunk/; revision=18121
Thomas Bluemel [Tue, 27 Sep 2005 10:52:10 +0000 (10:52 +0000)]
fixed uninitialized variable warnings
svn path=/trunk/; revision=18120
Hervé Poussineau [Tue, 27 Sep 2005 08:52:17 +0000 (08:52 +0000)]
Implement SetupInstallServicesFromInfSectionExW
Process {DDInstall}.HW section in SetupDiInstallDevice
svn path=/trunk/; revision=18119
Alex Ionescu [Tue, 27 Sep 2005 04:53:33 +0000 (04:53 +0000)]
- Some NDK fixes when compiling with PSDK.
- Commit the new CSR (csrsrv and csrss). Compiles and passes PREfast with msvc 2005. Does not link yet. Is not complete yet (3 missing functions). Does not build with mingw yet. Code is probably still buggy. Work in other areas is needed as well. I'm comitting this under recommendation from Emanuele. See status.h for more info.
- Thanks to Emanuele and Filip which have helped with this patch.
svn path=/trunk/; revision=18118
Alex Ionescu [Tue, 27 Sep 2005 01:57:27 +0000 (01:57 +0000)]
- 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
Thomas Bluemel [Tue, 27 Sep 2005 01:48:49 +0000 (01:48 +0000)]
minor fixes
svn path=/trunk/; revision=18116
Thomas Bluemel [Tue, 27 Sep 2005 01:02:15 +0000 (01:02 +0000)]
partly implemented the mixer selection dialog
svn path=/trunk/; revision=18115
Nathan Woods [Tue, 27 Sep 2005 00:46:19 +0000 (00:46 +0000)]
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
Gunnar Dalsnes [Mon, 26 Sep 2005 22:57:48 +0000 (22:57 +0000)]
-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
Thomas Bluemel [Mon, 26 Sep 2005 22:06:31 +0000 (22:06 +0000)]
don't use MIXERCONTROLA for unicode builds
svn path=/trunk/; revision=18112
Alex Ionescu [Mon, 26 Sep 2005 21:49:03 +0000 (21:49 +0000)]
Fix calc.exe redraw problems on XP. Patch by Christoph_vW <Christoph@ApiViewer.de>
svn path=/trunk/; revision=18111
Alex Ionescu [Mon, 26 Sep 2005 21:39:04 +0000 (21:39 +0000)]
- Implement alldvrm and aulldvrm and export them from ntoskrnl. This fixes bug 467.
svn path=/trunk/; revision=18110
Alex Ionescu [Mon, 26 Sep 2005 20:52:20 +0000 (20:52 +0000)]
Err, actually deliver APCs when returning from systemcalls... fixes bug 810
svn path=/trunk/; revision=18109
Magnus Olsen [Mon, 26 Sep 2005 20:44:43 +0000 (20:44 +0000)]
change from copyfileW to copyfileExW in MoveFileWithProgressW and add a error check for copyfileExW that was forgotten.
svn path=/trunk/; revision=18108
Filip Navara [Mon, 26 Sep 2005 20:29:08 +0000 (20:29 +0000)]
Revert r18070.
svn path=/trunk/; revision=18107
Alex Ionescu [Mon, 26 Sep 2005 20:08:11 +0000 (20:08 +0000)]
Add NDEBUG back and call LdrLoadDll correctly on Windows.
svn path=/trunk/; revision=18106
Hartmut Birr [Mon, 26 Sep 2005 20:06:49 +0000 (20:06 +0000)]
Don't wait after the flush command for a non busy hd.
svn path=/trunk/; revision=18105
Hartmut Birr [Mon, 26 Sep 2005 20:00:48 +0000 (20:00 +0000)]
Fixed the reinitialisation if the miniport driver returns SRB_STATUS_BUSY.
svn path=/trunk/; revision=18104
Thomas Bluemel [Mon, 26 Sep 2005 19:16:43 +0000 (19:16 +0000)]
also compile the resource file...
svn path=/trunk/; revision=18103
Thomas Bluemel [Mon, 26 Sep 2005 19:15:27 +0000 (19:15 +0000)]
add sndvol32 to the build system and reformat the code
svn path=/trunk/; revision=18102
Alex Ionescu [Mon, 26 Sep 2005 19:09:32 +0000 (19:09 +0000)]
Export and implement NlsGetCacheUpdateCount. Almost every WinXP DLL can now import kernel32
svn path=/trunk/; revision=18101
Alex Ionescu [Mon, 26 Sep 2005 18:59:04 +0000 (18:59 +0000)]
Stub and export EnumCalanderInfoExW and QueryWin31IniFilesMappedToRegistry
svn path=/trunk/; revision=18100
Alex Ionescu [Mon, 26 Sep 2005 18:46:30 +0000 (18:46 +0000)]
Export and implement CreateProcessInternalA and CreateProcessInternalW (really just shuffling/stubbing, no actual code was written.
svn path=/trunk/; revision=18099
Thomas Bluemel [Mon, 26 Sep 2005 18:05:57 +0000 (18:05 +0000)]
RegOverridePredefKey does not (as opposed to the PSDK documentation) accept predefined handles for the hNewHKey parameter
svn path=/trunk/; revision=18098
Alex Ionescu [Mon, 26 Sep 2005 18:03:17 +0000 (18:03 +0000)]
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
Aleksey Bragin [Mon, 26 Sep 2005 16:13:50 +0000 (16:13 +0000)]
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
Aleksey Bragin [Mon, 26 Sep 2005 16:07:23 +0000 (16:07 +0000)]
Christoph von Wittich: fix for bug 823 ("Resource leak in regedit").
svn path=/trunk/; revision=18095
Aleksey Bragin [Mon, 26 Sep 2005 15:50:37 +0000 (15:50 +0000)]
Christoph von Wittich: fix for bug 822 ("Resource leak in calc").
svn path=/trunk/; revision=18094
Thomas Bluemel [Mon, 26 Sep 2005 13:02:01 +0000 (13:02 +0000)]
export RegOverridePredefKey, forgot to commit this change
svn path=/trunk/; revision=18093
Thomas Bluemel [Mon, 26 Sep 2005 12:44:03 +0000 (12:44 +0000)]
implemented RegOverridePredefKey()
svn path=/trunk/; revision=18092
Hervé Poussineau [Mon, 26 Sep 2005 12:05:27 +0000 (12:05 +0000)]
Update .inf files
svn path=/trunk/; revision=18091
Hervé Poussineau [Mon, 26 Sep 2005 11:43:14 +0000 (11:43 +0000)]
Fix signedness (SetupGetIntField takes a PINT argument, not a PUINT one)
svn path=/trunk/; revision=18090
Hervé Poussineau [Mon, 26 Sep 2005 11:39:24 +0000 (11:39 +0000)]
Implement parts of SetupDiInstallDevice
svn path=/trunk/; revision=18089
Hervé Poussineau [Mon, 26 Sep 2005 11:37:32 +0000 (11:37 +0000)]
Implement SetupInstallServicesFromInfSectionA/W, SetupInstallServicesFromInfSectionExW
Add stub for SetupInstallServicesFromInfSectionExW
svn path=/trunk/; revision=18088
Thomas Bluemel [Mon, 26 Sep 2005 11:35:23 +0000 (11:35 +0000)]
copy the buffer to the right place in IntWriteConsoleOutput
svn path=/trunk/; revision=18087
Thomas Bluemel [Mon, 26 Sep 2005 11:14:34 +0000 (11:14 +0000)]
- fixed uninitialized variable warning
- fixed memory leak in SetupDiBuildDriverInfoList()
svn path=/trunk/; revision=18086
Thomas Bluemel [Mon, 26 Sep 2005 11:11:48 +0000 (11:11 +0000)]
fixed uninitialized variable warning
svn path=/trunk/; revision=18085
Thomas Bluemel [Mon, 26 Sep 2005 11:10:27 +0000 (11:10 +0000)]
don't copy the buffer to a random pointer in IntWriteConsoleOutput()
svn path=/trunk/; revision=18084
Gé van Geldorp [Mon, 26 Sep 2005 08:21:38 +0000 (08:21 +0000)]
Silence some debug messages
svn path=/trunk/; revision=18083
Alex Ionescu [Mon, 26 Sep 2005 07:43:55 +0000 (07:43 +0000)]
- 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
Alex Ionescu [Mon, 26 Sep 2005 05:41:35 +0000 (05:41 +0000)]
- Put executive atom functions in the executive folder, not rtl.
- Move purecall to the executive error APIs.
svn path=/trunk/; revision=18081
Alex Ionescu [Mon, 26 Sep 2005 05:03:28 +0000 (05:03 +0000)]
- Remove some deprecated files.
svn path=/trunk/; revision=18080
Alex Ionescu [Mon, 26 Sep 2005 05:01:14 +0000 (05:01 +0000)]
Forgot to svn add these two files.
svn path=/trunk/; revision=18079
Alex Ionescu [Mon, 26 Sep 2005 04:59:48 +0000 (04:59 +0000)]
- 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
Nathan Woods [Mon, 26 Sep 2005 03:18:53 +0000 (03:18 +0000)]
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
Magnus Olsen [Sun, 25 Sep 2005 22:16:05 +0000 (22:16 +0000)]
remove dead code
svn path=/trunk/; revision=18076
Magnus Olsen [Sun, 25 Sep 2005 22:05:39 +0000 (22:05 +0000)]
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
Hervé Poussineau [Sun, 25 Sep 2005 21:18:27 +0000 (21:18 +0000)]
Implement SetupDiInstallDriverFiles
svn path=/trunk/; revision=18074
Magnus Olsen [Sun, 25 Sep 2005 21:05:18 +0000 (21:05 +0000)]
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
Eric Kohl [Sun, 25 Sep 2005 21:02:43 +0000 (21:02 +0000)]
- Implement CM_Is_Dock_Station_Present[_Ex]
svn path=/trunk/; revision=18072
Hervé Poussineau [Sun, 25 Sep 2005 20:56:58 +0000 (20:56 +0000)]
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
Filip Navara [Sun, 25 Sep 2005 20:54:40 +0000 (20:54 +0000)]
Revert r18064 and correctly set the cell size for hash cells.
svn path=/trunk/; revision=18070
Ged Murphy [Sun, 25 Sep 2005 20:46:28 +0000 (20:46 +0000)]
Simple implementation of the MS comp utility (remembered to add the files this time :) )
svn path=/trunk/; revision=18069
Ged Murphy [Sun, 25 Sep 2005 20:39:55 +0000 (20:39 +0000)]
Simple implementation of the MS comp utility
svn path=/trunk/; revision=18068
Emanuele Aliberti [Sun, 25 Sep 2005 19:40:48 +0000 (19:40 +0000)]
cmdutils: a program a directory (bootcd,livecd,...)
svn path=/trunk/; revision=18067
Emanuele Aliberti [Sun, 25 Sep 2005 19:38:46 +0000 (19:38 +0000)]
cmdutils: a program a directory.
svn path=/trunk/; revision=18066
Alex Ionescu [Sun, 25 Sep 2005 18:17:27 +0000 (18:17 +0000)]
- Fix mixed tab/space formatting issues.
svn path=/trunk/; revision=18065
Filip Navara [Sun, 25 Sep 2005 18:07:36 +0000 (18:07 +0000)]
Correctly interpret the cell type in CmiDestroyCell. Patch by brbak <mpd000@yahoo.de>.
svn path=/trunk/; revision=18064
Martin Fuchs [Sun, 25 Sep 2005 17:59:20 +0000 (17:59 +0000)]
refeactor all IUnknown implementations using IComSrvBase
svn path=/trunk/; revision=18063
Thomas Bluemel [Sun, 25 Sep 2005 17:52:12 +0000 (17:52 +0000)]
fixed gcc4 warnings
svn path=/trunk/; revision=18062
Thomas Bluemel [Sun, 25 Sep 2005 17:49:14 +0000 (17:49 +0000)]
- fixed uninitialized variable warning
- ProbeAndCaptureUnicodeString should check if allocating memory succeeded
svn path=/trunk/; revision=18061
Hartmut Birr [Sun, 25 Sep 2005 17:25:55 +0000 (17:25 +0000)]
- Don't convert the device name, if the name is a NULL pointer (in QueryDosDeviceA).
- Convert the string in several steps, because the string may be longer than 32k characters (in QueryDosDeviceA).
svn path=/trunk/; revision=18060
Thomas Bluemel [Sun, 25 Sep 2005 17:21:45 +0000 (17:21 +0000)]
fixed uninitialized variable warnings
svn path=/trunk/; revision=18059
Thomas Bluemel [Sun, 25 Sep 2005 17:16:03 +0000 (17:16 +0000)]
fixed uninitialized variable warning
svn path=/trunk/; revision=18058
Ged Murphy [Sun, 25 Sep 2005 17:01:24 +0000 (17:01 +0000)]
added more functionality to arp
- display correct interface index
- delete all hosts with -d *
- display informative error messages
- better argument control
- clean up formatting
svn path=/trunk/; revision=18057
Nathan Woods [Sun, 25 Sep 2005 16:56:52 +0000 (16:56 +0000)]
Lightweight sync with WINE regedit; imported obvious changes such as const correctness, TCHAR string usage etc
svn path=/trunk/; revision=18056
Martin Fuchs [Sun, 25 Sep 2005 15:59:38 +0000 (15:59 +0000)]
try to use IShellFolderViewCB::MessageSFVCB() in order to override explorer context menus
svn path=/trunk/; revision=18055
Emanuele Aliberti [Sun, 25 Sep 2005 13:58:27 +0000 (13:58 +0000)]
Minor changes. This program does NOT work in ROS.
svn path=/trunk/; revision=18054
Emanuele Aliberti [Sun, 25 Sep 2005 13:56:45 +0000 (13:56 +0000)]
Fix compiling.
svn path=/trunk/; revision=18053
Magnus Olsen [Sun, 25 Sep 2005 13:54:19 +0000 (13:54 +0000)]
Remove Es.rc from timedate for it is 100% empty. Thx tsk
svn path=/trunk/; revision=18052
Emanuele Aliberti [Sun, 25 Sep 2005 13:43:33 +0000 (13:43 +0000)]
svn: eol-style + keywords
svn path=/trunk/; revision=18051
Emanuele Aliberti [Sun, 25 Sep 2005 13:36:27 +0000 (13:36 +0000)]
Required for binary compatibility with MS KERNEL32.DLL.
NOTE
Filip and I still don't understand why KERNEL32 calls twice CsrConnectToServer.
A possible explanation is because the Win32 server is a dual server: gui+console.
This differs with our current implementation in the SM: we accept only console registration requests (see SmpHandleConnectionRequest).
svn path=/trunk/; revision=18050
Hartmut Birr [Sun, 25 Sep 2005 12:39:32 +0000 (12:39 +0000)]
Let the compiler search for usable register.
svn path=/trunk/; revision=18049
Filip Navara [Sun, 25 Sep 2005 12:30:51 +0000 (12:30 +0000)]
Use the correct size variables in co_IntCreateWindowEx.
svn path=/trunk/; revision=18048
Martin Fuchs [Sun, 25 Sep 2005 11:52:42 +0000 (11:52 +0000)]
new tool bar icons for the drive bar
svn path=/trunk/; revision=18047
Filip Navara [Sun, 25 Sep 2005 11:16:54 +0000 (11:16 +0000)]
- Intersect the paint rectangle in NtUserBeginPaint with the client window rectangle.
- Fix the data returned by co_UserGetUpdateRgn and NtUserGetUpdateRect.
svn path=/trunk/; revision=18046
Filip Navara [Sun, 25 Sep 2005 11:05:00 +0000 (11:05 +0000)]
Patricio Martínez Ros <silencium@wanadoo.es>
Update spanish translation.
svn path=/trunk/; revision=18045
Filip Navara [Sun, 25 Sep 2005 10:52:51 +0000 (10:52 +0000)]
Patricio Martínez Ros <silencium@wanadoo.es>
Update spanish translation.
svn path=/trunk/; revision=18044
Filip Navara [Sun, 25 Sep 2005 09:23:05 +0000 (09:23 +0000)]
Add TestAlert check to NtContinue.
svn path=/trunk/; revision=18043
Filip Navara [Sun, 25 Sep 2005 09:22:22 +0000 (09:22 +0000)]
Fix up the indentation.
svn path=/trunk/; revision=18042