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
Andrew Munger [Sun, 25 Sep 2005 04:55:16 +0000 (04:55 +0000)]
Fix getInterfaceInfoSet so GetInterfaceInfo returns only non-loopback adapters, however, we still return some incorrect info.
Silenced a DPRINT.
svn path=/trunk/; revision=18041
Nathan Woods [Sun, 25 Sep 2005 00:35:13 +0000 (00:35 +0000)]
1. Moved windows styles pertaining to the edit control to main.h
2. Stopped using WS_BORDER on the edit control
svn path=/trunk/; revision=18040
Nathan Woods [Sun, 25 Sep 2005 00:12:12 +0000 (00:12 +0000)]
Fixed property svn:eol-style
svn path=/trunk/; revision=18039
Gé van Geldorp [Sun, 25 Sep 2005 00:00:03 +0000 (00:00 +0000)]
Fix GDB backtrace
svn path=/trunk/; revision=18038
Nathan Woods [Sat, 24 Sep 2005 23:45:05 +0000 (23:45 +0000)]
Notepad enhancements:
1. Added line ending handling, so that Notepad can handle line endings other than CR/LF. This is specified in a dropdown menu similar to the text encoding. Consequently, I've moved text handling to a new file, text.c
2. Implemented the Find command
3. Changed some dialog titles to be 'Notepad' instead of 'ERROR', in line with how Windows notepad works.
4. The edit control now has the style ES_NOHIDESEL specified
svn path=/trunk/; revision=18037
Thomas Bluemel [Sat, 24 Sep 2005 20:37:53 +0000 (20:37 +0000)]
removed obsolete goto statement
svn path=/trunk/; revision=18036
Hartmut Birr [Sat, 24 Sep 2005 19:34:54 +0000 (19:34 +0000)]
Allow the system process and a process without a parent process to use all cpus on a smp machine, even if only the boot cpu is running.
svn path=/trunk/; revision=18035
Gé van Geldorp [Sat, 24 Sep 2005 19:30:12 +0000 (19:30 +0000)]
This NtGdiCreateCompatableDC misspelling has annoyed me long enough now
svn path=/trunk/; revision=18034
Hartmut Birr [Sat, 24 Sep 2005 19:17:00 +0000 (19:17 +0000)]
Set the MaximumLength of the returned string in IntGetFullWindowStationName.
svn path=/trunk/; revision=18033
Hartmut Birr [Sat, 24 Sep 2005 19:15:24 +0000 (19:15 +0000)]
Do also alert the mouse thread in UserAcquireOrReleaseInputOwnership.
svn path=/trunk/; revision=18032
Hartmut Birr [Sat, 24 Sep 2005 18:42:37 +0000 (18:42 +0000)]
- Moved the definition of REG_NOTIFY_CLASS from cm.h to winddk.h.
- Release the rundown protection if the callback function returns an error (in CmiCallRegisteredCallbacks).
- Call the registry callback functions in most of the Nt/ZW registry functions.
svn path=/trunk/; revision=18031
Hartmut Birr [Sat, 24 Sep 2005 18:28:04 +0000 (18:28 +0000)]
- Use the given buffer for getting the name of the parent.
- Check the length of the buffer.
- Intialise the name string if it is necessary.
svn path=/trunk/; revision=18030
Hartmut Birr [Sat, 24 Sep 2005 18:09:06 +0000 (18:09 +0000)]
Used NtQueryFullAttributesFile instead of NtOpenFile/NtQueryInformationFile/NtClose in GetFileAttributesExW (suggested by Thomas Weidenmueller).
svn path=/trunk/; revision=18029
Hartmut Birr [Sat, 24 Sep 2005 18:04:13 +0000 (18:04 +0000)]
Merged the main code from NtQueryAttributesFile and NtQueryFullAttributesFile to IopQueryAttributesFile.
Check the access to parameters in IopQueryAttributesFile if we are called from user mode because calling Zw functions from kernel mode will bypass all checks.
svn path=/trunk/; revision=18028
Filip Navara [Sat, 24 Sep 2005 17:34:09 +0000 (17:34 +0000)]
Port the system message queue WM_MOUSEDOWN coalesce fix from win32k rewrite branch.
svn path=/trunk/; revision=18027
Thomas Bluemel [Sat, 24 Sep 2005 17:08:13 +0000 (17:08 +0000)]
implemented RegCopyTreeW() (untested!)
svn path=/trunk/; revision=18026
Hervé Poussineau [Sat, 24 Sep 2005 13:19:25 +0000 (13:19 +0000)]
If device instance id is not unique, prepend information from parent bus device
svn path=/trunk/; revision=18025
Gunnar Dalsnes [Sat, 24 Sep 2005 11:43:23 +0000 (11:43 +0000)]
uncomment and add mutex asserts
svn path=/trunk/; revision=18024
Eric Kohl [Sat, 24 Sep 2005 09:30:43 +0000 (09:30 +0000)]
- Implement CM_Get_Device_List_Size_ExW
svn path=/trunk/; revision=18023
Gunnar Dalsnes [Sat, 24 Sep 2005 02:50:02 +0000 (02:50 +0000)]
-include/ndk/rtltypes.h: add MAX_ATOM_LEN define
-win32k: remove some NtUser syscalls and merge some NtUser syscalls
-crt/include/internal/file.h: correct spelling
-RtlAddAtomToAtomTable: check for max atom len
-RtlQueryAtomInAtomTable: fix bug. somehow lock wasnt always released.
-fix/reword windows classes impl. based on Wine. All but 2 winetests pass.
-ntoskrnl/rtl/atom.c: add fixme about global atom table
-remove desktop object lock
-dont link windows into the class object
-co_IntShellHookNotify: safely send notify messages
-misc win32k reorg/cleanup
svn path=/trunk/; revision=18022
Ged Murphy [Fri, 23 Sep 2005 21:46:54 +0000 (21:46 +0000)]
First commit, mainly testing.
Cleanup code to follow ROS' coding style better
Remove tabs and trailing whitespace.
svn path=/trunk/; revision=18021
Gé van Geldorp [Fri, 23 Sep 2005 21:08:57 +0000 (21:08 +0000)]
Fix RtlQueryAtomInAtomTable and add regression tests
svn path=/trunk/; revision=18020
Thomas Bluemel [Fri, 23 Sep 2005 19:24:20 +0000 (19:24 +0000)]
imported shfolder.dll from WINE-
20050830
svn path=/trunk/; revision=18019
Alex Ionescu [Fri, 23 Sep 2005 18:15:39 +0000 (18:15 +0000)]
fix identation bug in 18016
svn path=/trunk/; revision=18018
Alex Ionescu [Fri, 23 Sep 2005 16:31:06 +0000 (16:31 +0000)]
Fix signalstate check in KGATE code; spotted by magey.
svn path=/trunk/; revision=18017
Alex Ionescu [Fri, 23 Sep 2005 15:46:10 +0000 (15:46 +0000)]
- Call IsDialogMessage before TranslateAccelerators, so that the accelerator's output, if any, appears in the proper window. Patch by Bletch <npwoods@mess.org>. Fixes bug 803.
svn path=/trunk/; revision=18016
Alex Ionescu [Fri, 23 Sep 2005 15:42:40 +0000 (15:42 +0000)]
- Return focus to run dialog after showing the file not found messagebox. Patch by brbak <mpd000@yahoo.de>
svn path=/trunk/; revision=18015
Thomas Bluemel [Fri, 23 Sep 2005 15:31:42 +0000 (15:31 +0000)]
use RegGetKeySecurity() directly to read the security information
svn path=/trunk/; revision=18014
Thomas Bluemel [Fri, 23 Sep 2005 15:31:04 +0000 (15:31 +0000)]
don't read the DACL if it's not present or if it's a NULL-DACL
svn path=/trunk/; revision=18013