Emanuele Aliberti [Fri, 30 Sep 2005 22:17:58 +0000 (22:17 +0000)]
Fix build.
svn path=/trunk/; revision=18180
Thomas Bluemel [Fri, 30 Sep 2005 22:00:30 +0000 (22:00 +0000)]
don't remove mutants twice from the thread's mutant list in KeRundownThread(). This might fix bug 821
svn path=/trunk/; revision=18179
Thomas Bluemel [Fri, 30 Sep 2005 21:32:01 +0000 (21:32 +0000)]
set eol-style to native
svn path=/trunk/; revision=18178
Thomas Bluemel [Fri, 30 Sep 2005 21:28:29 +0000 (21:28 +0000)]
- added stubs for authz.dll
- added an authz.h to w32api
svn path=/trunk/; revision=18177
Thomas Bluemel [Fri, 30 Sep 2005 21:19:12 +0000 (21:19 +0000)]
set eol-style to native
svn path=/trunk/; revision=18176
Steven Edwards [Fri, 30 Sep 2005 20:26:16 +0000 (20:26 +0000)]
simple device manager program by Hervé Poussineau (hpoussin@reactos.org)
* GUI: Michael Fritsch
svn path=/trunk/; revision=18175
Martin Fuchs [Fri, 30 Sep 2005 19:42:45 +0000 (19:42 +0000)]
patch applied from Christoph at ApiViewer.de: fix font handle leak
svn path=/trunk/; revision=18174
Thomas Bluemel [Fri, 30 Sep 2005 18:54:48 +0000 (18:54 +0000)]
- improved control resizing handling
- don't fail when querying the account name length
svn path=/trunk/; revision=18173
Martin Fuchs [Fri, 30 Sep 2005 18:48:14 +0000 (18:48 +0000)]
Fix Bugzilla Bug 676: dynamic explorer start menu sidebar size
svn path=/trunk/; revision=18172
Hartmut Birr [Fri, 30 Sep 2005 16:33:06 +0000 (16:33 +0000)]
The registry key name may be longer than 100 characters.
svn path=/trunk/; revision=18171
Hartmut Birr [Fri, 30 Sep 2005 16:26:11 +0000 (16:26 +0000)]
- Fixed the font size in IntGdiAddFontResource.
- Allocate a larger buffer for the font names in IntLoadSystemFonts.
svn path=/trunk/; revision=18170
Ged Murphy [Fri, 30 Sep 2005 15:37:58 +0000 (15:37 +0000)]
set eol-style to native.
Thanks for reminding me, again :)
svn path=/trunk/; revision=18169
Ged Murphy [Fri, 30 Sep 2005 15:28:52 +0000 (15:28 +0000)]
move quotes to a resource file and use shutdown quotes listed in the wiki.
svn path=/trunk/; revision=18168
Thomas Bluemel [Fri, 30 Sep 2005 11:57:49 +0000 (11:57 +0000)]
fixed pointer types differ in signedness warnings
svn path=/trunk/; revision=18167
Thomas Bluemel [Fri, 30 Sep 2005 11:25:32 +0000 (11:25 +0000)]
set eol-style to native
svn path=/trunk/; revision=18166
Hervé Poussineau [Fri, 30 Sep 2005 11:07:15 +0000 (11:07 +0000)]
Add newdev.dll, and implement DevInstallW function.
It permits to install devices from command line. ATM, very little functionality is supported.
svn path=/trunk/; revision=18165
Nathan Woods [Fri, 30 Sep 2005 02:53:34 +0000 (02:53 +0000)]
Notepad:
1. Fixed syntax errors in the ES and NL localizations
2. Added code to save and restore settings; just the font for now
svn path=/trunk/; revision=18164
Thomas Bluemel [Fri, 30 Sep 2005 01:47:46 +0000 (01:47 +0000)]
use the correct down-level scope filter flag for the computer selection dialog
svn path=/trunk/; revision=18163
Thomas Bluemel [Fri, 30 Sep 2005 01:26:02 +0000 (01:26 +0000)]
display the computer selection dialog for remote registry administration
svn path=/trunk/; revision=18162
Ged Murphy [Thu, 29 Sep 2005 22:57:42 +0000 (22:57 +0000)]
use carrige returns :)
svn path=/trunk/; revision=18161
Ged Murphy [Thu, 29 Sep 2005 22:36:46 +0000 (22:36 +0000)]
randomise the quote sent
svn path=/trunk/; revision=18160
Ged Murphy [Thu, 29 Sep 2005 20:41:12 +0000 (20:41 +0000)]
discard.c
- implemented discard.
chargen.c
- improve efficiency sending full line instead of singular chars.
TCP will generally wait until the packet is full anyway, so it's pointless to keep calling send for each char.
tcpsvcs.c
- implement the beginnings of the code to start tcpsvcs as a service. #if 0'd out at the moment. Fix bug from calling non existant DiscardHandler.
Surely this is enough info to satisfy lkcl this time :p
svn path=/trunk/; revision=18159
Thomas Bluemel [Thu, 29 Sep 2005 19:34:53 +0000 (19:34 +0000)]
Some fixes to CreateDirectoryEx:
- properly copy the directory attributes
- add basic support to handle reparse points and add fallback code if the file system doesn't support them
svn path=/trunk/; revision=18158
Thomas Bluemel [Thu, 29 Sep 2005 16:55:59 +0000 (16:55 +0000)]
added clb.dll (mostly just stubs) which is required by MS regedit for it's REG_FULL_RESOURCE_DESCRIPTOR editor. As there doesn't seem to be another application that uses it, this place is probably the best for it.
svn path=/trunk/; revision=18157
Magnus Olsen [Thu, 29 Sep 2005 16:55:01 +0000 (16:55 +0000)]
sorry createDirectoryExW fails to create folder why ? change back to CreateDirectoryW sorry
svn path=/trunk/; revision=18156
Magnus Olsen [Thu, 29 Sep 2005 16:33:08 +0000 (16:33 +0000)]
MoveFileWithProgressW for movefolder
- change from CreateDirectoryW to CreateDirectoryExW
- fix close handle bug
- overwrite readonly file
- make sure both dest and src are not set to readonly
- Source cleanup
- Remove goto
svn path=/trunk/; revision=18155
Hervé Poussineau [Thu, 29 Sep 2005 12:06:02 +0000 (12:06 +0000)]
Set eol-style for new resources files
Add back Da.rc resources
svn path=/trunk/; revision=18154
Hervé Poussineau [Thu, 29 Sep 2005 11:58:31 +0000 (11:58 +0000)]
- Milko Krachounov <milko@3mhz.net>
Added Bulgarian translations.
- Alexander N. Sørnes <alex@thehandofagony.com>
Added Norwegian translations.
svn path=/trunk/; revision=18153
Hervé Poussineau [Thu, 29 Sep 2005 09:46:35 +0000 (09:46 +0000)]
Don't tell to MultiByteToWideChar that buffer is bigger than its real size. The size is in characters, not in bytes.
Spotted by Robert Shearman <rob@codeweavers.com>
svn path=/trunk/; revision=18152
Nathan Woods [Thu, 29 Sep 2005 03:39:38 +0000 (03:39 +0000)]
Christoph_vW: Updated notepad rc files to match Windows notepad's menu layout (bug #839)
svn path=/trunk/; revision=18151
Nathan Woods [Thu, 29 Sep 2005 03:33:28 +0000 (03:33 +0000)]
Christoph_vW: regedit: make "modify" to default menu entry (bug #840)
svn path=/trunk/; revision=18150
Nathan Woods [Thu, 29 Sep 2005 03:07:26 +0000 (03:07 +0000)]
Regedit: Set up the export all/export branch UI; currently disabled for now
svn path=/trunk/; revision=18149
Thomas Bluemel [Thu, 29 Sep 2005 02:50:38 +0000 (02:50 +0000)]
display all known value types
svn path=/trunk/; revision=18148
Thomas Bluemel [Thu, 29 Sep 2005 02:26:33 +0000 (02:26 +0000)]
added stub for PrivCopyFileExW. This is needed by XP's ulib.dll, which XP's regedit.exe imports
svn path=/trunk/; revision=18147
Thomas Bluemel [Thu, 29 Sep 2005 02:02:40 +0000 (02:02 +0000)]
export BuildSecurityDescriptorA/W and IsWellKnownSid
svn path=/trunk/; revision=18146
Nathan Woods [Thu, 29 Sep 2005 00:50:40 +0000 (00:50 +0000)]
Regedit: Optimized tree expansion
svn path=/trunk/; revision=18145
Thomas Bluemel [Wed, 28 Sep 2005 23:52:24 +0000 (23:52 +0000)]
added some missing APIs
svn path=/trunk/; revision=18144
Nathan Woods [Wed, 28 Sep 2005 22:57:21 +0000 (22:57 +0000)]
Notepad fixes:
1. Fixed accelerator keys for new commands
2. Properly parented Find/Replace dialog
3. Typo in comment
svn path=/trunk/; revision=18143
Ged Murphy [Wed, 28 Sep 2005 22:33:55 +0000 (22:33 +0000)]
- Added daytime and quote of the day services
- Use universal header and remove needless seperate dirs
- Many bugfixes
- Added to build, not yet included in install as it's still in the early stages
Tested in WinXP using both Windows and Linux clients. Not yet tried in ROS,
svn path=/trunk/; revision=18142
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