Thomas Bluemel [Fri, 11 Nov 2005 11:59:56 +0000 (11:59 +0000)]
replace offsetof with FIELD_OFFSET
svn path=/trunk/; revision=19130
Steven Edwards [Fri, 11 Nov 2005 08:58:05 +0000 (08:58 +0000)]
msvc fixes
svn path=/trunk/; revision=19129
Christoph von Wittich [Fri, 11 Nov 2005 01:05:23 +0000 (01:05 +0000)]
list services with EnumServicesStatusEx instead of reading them from registry
svn path=/trunk/; revision=19128
Christoph von Wittich [Thu, 10 Nov 2005 23:02:14 +0000 (23:02 +0000)]
set eol-style:native
svn path=/trunk/; revision=19127
Christoph von Wittich [Thu, 10 Nov 2005 22:46:41 +0000 (22:46 +0000)]
list services
svn path=/trunk/; revision=19126
Ged Murphy [Thu, 10 Nov 2005 21:29:00 +0000 (21:29 +0000)]
Display a media disconnected notice if the adapter is not connected.
svn path=/trunk/; revision=19125
Christoph von Wittich [Thu, 10 Nov 2005 20:56:49 +0000 (20:56 +0000)]
started implementing startup page
svn path=/trunk/; revision=19124
Casper Hornstrup [Thu, 10 Nov 2005 20:33:10 +0000 (20:33 +0000)]
Build win32k_test
svn path=/trunk/; revision=19123
Steven Edwards [Thu, 10 Nov 2005 17:43:55 +0000 (17:43 +0000)]
restore wine style license headers...superfolus chanes make doing a diff impossible
svn path=/trunk/; revision=19122
Thomas Bluemel [Thu, 10 Nov 2005 14:12:53 +0000 (14:12 +0000)]
mark several helper functions as static
svn path=/trunk/; revision=19120
Thomas Bluemel [Thu, 10 Nov 2005 14:02:20 +0000 (14:02 +0000)]
fixed some warnings
svn path=/trunk/; revision=19119
Christoph von Wittich [Thu, 10 Nov 2005 13:37:56 +0000 (13:37 +0000)]
remove SetupIsActive function
svn path=/trunk/; revision=19118
Christoph von Wittich [Thu, 10 Nov 2005 13:27:12 +0000 (13:27 +0000)]
set SystemSetupInProgress to 0x00000001
svn path=/trunk/; revision=19117
Christoph von Wittich [Thu, 10 Nov 2005 11:45:50 +0000 (11:45 +0000)]
fixed typo. DevInstallW with SW_HIDE should work now
svn path=/trunk/; revision=19116
Hervé Poussineau [Thu, 10 Nov 2005 08:47:43 +0000 (08:47 +0000)]
Fix uninitialized variable
svn path=/trunk/; revision=19115
Hervé Poussineau [Thu, 10 Nov 2005 08:37:40 +0000 (08:37 +0000)]
Send SW_HIDE instead of SW_SHOWNOACTIVATE to newdev.dll when 2nd stage setup is running
svn path=/trunk/; revision=19114
Art Yerkes [Thu, 10 Nov 2005 06:58:40 +0000 (06:58 +0000)]
Straggling header.
svn path=/trunk/; revision=19113
Art Yerkes [Thu, 10 Nov 2005 06:54:44 +0000 (06:54 +0000)]
Forgotten xml change.
svn path=/trunk/; revision=19112
Art Yerkes [Thu, 10 Nov 2005 06:13:12 +0000 (06:13 +0000)]
Added xml to build dhcpcapi.
svn path=/trunk/; revision=19111
Art Yerkes [Thu, 10 Nov 2005 06:12:27 +0000 (06:12 +0000)]
Preliminary commit for tcpip control panel. I've been sitting on this
for a while, mainly because it used to bugcheck in a named pipe call.
I've lost my modifications to dhcpcapi, so stuff in there might not
be right. Looking at it.
svn path=/trunk/; revision=19110
Gé van Geldorp [Wed, 9 Nov 2005 23:23:12 +0000 (23:23 +0000)]
We need to call HalReleaseDisplayOwnership before killing all running processes.
During HalReleaseDisplayOwnership processing, the video miniport driver can
do an INT10 call, for which we need the CSRSS memory space. If the the process
(and therefore its memory space) is already gone, a kernel stack fault can
result.
svn path=/trunk/; revision=19109
Christoph von Wittich [Wed, 9 Nov 2005 23:17:13 +0000 (23:17 +0000)]
set SystemSetupInProgress to 0 in syssetup instead of in setup (before rebooting the system)
svn path=/trunk/; revision=19108
Christoph von Wittich [Wed, 9 Nov 2005 22:50:47 +0000 (22:50 +0000)]
set SystemSetupInProgress to 1 when 2nd stage setup is running
compile setup as UNICODE
svn path=/trunk/; revision=19107
Hervé Poussineau [Wed, 9 Nov 2005 21:18:08 +0000 (21:18 +0000)]
Fix string returned by IopGetParentIdPrefix, which was sometimes badly initialized
svn path=/trunk/; revision=19106
Gé van Geldorp [Wed, 9 Nov 2005 21:00:03 +0000 (21:00 +0000)]
Silence debug message
svn path=/trunk/; revision=19105
Ged Murphy [Wed, 9 Nov 2005 20:42:04 +0000 (20:42 +0000)]
quick fix to show more than one adapter
code still needs work to get it as per MS ipconfig, but this should keep people with more than one adapter happy until I get time to implement everything properly.
svn path=/trunk/; revision=19104
Thomas Bluemel [Wed, 9 Nov 2005 18:39:33 +0000 (18:39 +0000)]
fixed uninitialized variable warnings
svn path=/trunk/; revision=19103
Christoph von Wittich [Wed, 9 Nov 2005 13:00:38 +0000 (13:00 +0000)]
display correct device name after successful driver installation
svn path=/trunk/; revision=19102
Hervé Poussineau [Wed, 9 Nov 2005 11:59:45 +0000 (11:59 +0000)]
Remove registry parameters for mouclass, as one is the default value and the other prevents the use of multiple mice
svn path=/trunk/; revision=19101
Hervé Poussineau [Wed, 9 Nov 2005 11:57:58 +0000 (11:57 +0000)]
New serial mouse driver, which is PnP compliant
svn path=/trunk/; revision=19100
Hervé Poussineau [Wed, 9 Nov 2005 11:54:53 +0000 (11:54 +0000)]
Delete old legacy serial mouse driver, will be replaced by a PnP driver in next commit
svn path=/trunk/; revision=19099
Hervé Poussineau [Wed, 9 Nov 2005 11:52:26 +0000 (11:52 +0000)]
- Fix typo, which was preventing to install PCI to PCI bridges
- Remove double identifier
- Sort entries in alphabetical order
svn path=/trunk/; revision=19098
Hervé Poussineau [Wed, 9 Nov 2005 11:23:19 +0000 (11:23 +0000)]
- Try to copy .inf file to ReactOS\Inf only if it is in another directory
- Better SetupInstallServicesFromInfSectionExW, which takes care of flags and can update configuration of an existing service
svn path=/trunk/; revision=19097
Hervé Poussineau [Wed, 9 Nov 2005 11:20:53 +0000 (11:20 +0000)]
- Fix header usage
- Remove spaces at the end of the lines
- Put { in a new line, according to http://www.reactos.org/wiki/index.php/Coding_Style
- Add static keyword when possible
- STDCALL -> WINAPI
svn path=/trunk/; revision=19096
Hervé Poussineau [Wed, 9 Nov 2005 11:16:43 +0000 (11:16 +0000)]
- Add registry entry in HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP for each mouse class DO
- Don't search for legacy port drivers in DriverEntry, but in first AddDevice
svn path=/trunk/; revision=19095
Hervé Poussineau [Wed, 9 Nov 2005 11:15:42 +0000 (11:15 +0000)]
- Add registry entry in HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP for each keyboard class DO
- Don't search for legacy port drivers in DriverEntry, but in first AddDevice
- Don't dereference non-referenced objects
svn path=/trunk/; revision=19094
Hervé Poussineau [Wed, 9 Nov 2005 11:13:02 +0000 (11:13 +0000)]
STDCALL -> NTAPI
svn path=/trunk/; revision=19093
Hervé Poussineau [Wed, 9 Nov 2005 11:10:24 +0000 (11:10 +0000)]
- pciidex: Fix Hardware IDs returned for channel PDOs
- pciidex: Better test to see if the PCI controller is in compatible or native mode before getting channel resources
- pciidex: Change IDE_DRIVE_IDENTIFY structure to IDENTIFY_DATA structure
- pciide: Implement PciIdeUseDma
- pciide: Tell that channel state is unknown instead of enabled
svn path=/trunk/; revision=19092
Alex Ionescu [Wed, 9 Nov 2005 04:53:32 +0000 (04:53 +0000)]
- Fix error spotted by winetest: some status codes need to be normalized in CreateNamedPipeW
- Fix some bugs in CreatePipe: use correct directory, use right access mask, use correct define name for blocking type, and use correct file sharing flags.
Results of "kernel32_winetest pipe": 418 tests executed, 0 todo, 0 failures. (with NT NPFS, of course).
svn path=/trunk/; revision=19089
Alex Ionescu [Wed, 9 Nov 2005 04:32:44 +0000 (04:32 +0000)]
- Fix PeekNamedPipe. Now only 14 winetests fail for pipetest.
- Cleanup DisconnectNamedPipe and fix a small bug in it.
svn path=/trunk/; revision=19088
Alex Ionescu [Wed, 9 Nov 2005 04:29:46 +0000 (04:29 +0000)]
- Fixed two really nasty bugs in I/O completion:
- The user buffer wasn't written for incomplete I/O (warning levels) for METHOD_BUFFERED
- Incomplete I/Os (warning levels) took a completely wrong path for completion.
svn path=/trunk/; revision=19087
Alex Ionescu [Wed, 9 Nov 2005 03:02:33 +0000 (03:02 +0000)]
- Unbreak build
- Fix CallNamedPipeW, the pipe mode should also be set to PIPE_WAIT.
svn path=/trunk/; revision=19086
Alex Ionescu [Wed, 9 Nov 2005 02:53:58 +0000 (02:53 +0000)]
- Optimize CallNamedPipeA too and remove accidental define.
svn path=/trunk/; revision=19085
Alex Ionescu [Wed, 9 Nov 2005 02:50:54 +0000 (02:50 +0000)]
Ansi->Unicode conversions:
- Take advantage of TEB in CreateNamedPipeA
- Use helper function in WaitNamedPipeA
svn path=/trunk/; revision=19084
Alex Ionescu [Wed, 9 Nov 2005 02:17:18 +0000 (02:17 +0000)]
- Fix bugs in RtlSplay
svn path=/trunk/; revision=19083
Alex Ionescu [Wed, 9 Nov 2005 02:16:03 +0000 (02:16 +0000)]
- Implement most of RtlDelete.
svn path=/trunk/; revision=19082
Alex Ionescu [Wed, 9 Nov 2005 01:39:39 +0000 (01:39 +0000)]
- Implement RtlRealPrecessdor and RtlRealSuccessor
svn path=/trunk/; revision=19081
Alex Ionescu [Wed, 9 Nov 2005 01:05:00 +0000 (01:05 +0000)]
- Fix RtlSubtreePredecessor/Successor, someone had implemented them backwards.
svn path=/trunk/; revision=19080
Thomas Bluemel [Wed, 9 Nov 2005 00:56:41 +0000 (00:56 +0000)]
fixed data size calculation in RtlSelfRelativeToAbsoluteSD2
svn path=/trunk/; revision=19079
Alex Ionescu [Wed, 9 Nov 2005 00:44:37 +0000 (00:44 +0000)]
- Fix CreateNamedPipeW to convert some NT flags properly, timeouts, etc, and document/prettify the function.
- NT 5.2 NPFS now works great, the kernel32_wintest pipe runs without crashing, and reports "411 tests passed, 30 failures".
svn path=/trunk/; revision=19078
Alex Ionescu [Tue, 8 Nov 2005 23:51:46 +0000 (23:51 +0000)]
- Finish implementing RtlSplayTree
svn path=/trunk/; revision=19077
Alex Ionescu [Tue, 8 Nov 2005 23:47:25 +0000 (23:47 +0000)]
- Implement cases 2 & 4 of RtlSplayTree
svn path=/trunk/; revision=19076
Alex Ionescu [Tue, 8 Nov 2005 23:42:40 +0000 (23:42 +0000)]
- Fix bug in case 2/4 denomination.
svn path=/trunk/; revision=19075
Alex Ionescu [Tue, 8 Nov 2005 23:40:37 +0000 (23:40 +0000)]
- Implement Case 3 of RtlSplay
svn path=/trunk/; revision=19074
Alex Ionescu [Tue, 8 Nov 2005 23:33:07 +0000 (23:33 +0000)]
- Implement Case 1 of RtlSplay
svn path=/trunk/; revision=19073
Alex Ionescu [Tue, 8 Nov 2005 22:54:39 +0000 (22:54 +0000)]
- Implement RtlSplay skeleton cases.
svn path=/trunk/; revision=19072
Alex Ionescu [Tue, 8 Nov 2005 22:45:45 +0000 (22:45 +0000)]
- Add implementation notes for RtlSplayTree
svn path=/trunk/; revision=19071
Christoph von Wittich [Tue, 8 Nov 2005 22:25:29 +0000 (22:25 +0000)]
started implementation of device driver installation wizard
svn path=/trunk/; revision=19070
Gé van Geldorp [Tue, 8 Nov 2005 21:49:27 +0000 (21:49 +0000)]
Allocate mem for the structure, not only for a pointer.
svn path=/trunk/; revision=19068
Alex Ionescu [Tue, 8 Nov 2005 21:07:11 +0000 (21:07 +0000)]
- Implement proper version of WaitNamedPipeW to be used when NPFS will be modified to work as documented. Define USING_PROPER_NPFS_WAIT_SEMANTICS if you want to use Windows NPFS
svn path=/trunk/; revision=19067
Eric Kohl [Tue, 8 Nov 2005 20:57:31 +0000 (20:57 +0000)]
Add Tonga timezone (GMT+13:00).
svn path=/trunk/; revision=19066
Alex Ionescu [Tue, 8 Nov 2005 20:53:53 +0000 (20:53 +0000)]
- Add some definitions to NDK
- Prettify/document CreatePipe and correct some mistakes, use 120 second timeout like on NT and send FILE_PIPE flags instead of weird BOOLEAN values from hell.
svn path=/trunk/; revision=19065
Alex Ionescu [Tue, 8 Nov 2005 20:50:04 +0000 (20:50 +0000)]
- Remove silly debug print
svn path=/trunk/; revision=19064
Brandon Turner [Tue, 8 Nov 2005 20:07:41 +0000 (20:07 +0000)]
Change KEBUGCHECK -> KEBUGCHECKEX
svn path=/trunk/; revision=19063
Gé van Geldorp [Tue, 8 Nov 2005 19:43:54 +0000 (19:43 +0000)]
Add Language entries for all Locale entries. Fixes bug 955.
svn path=/trunk/; revision=19062
Alex Ionescu [Tue, 8 Nov 2005 18:54:18 +0000 (18:54 +0000)]
- Fix hackplementation of ObLogSecurityDescriptor. Callers are supposed to free their input, so we can't re-use it; instead, allocate a new copy like we should.
svn path=/trunk/; revision=19061
Alex Ionescu [Tue, 8 Nov 2005 17:22:26 +0000 (17:22 +0000)]
- Remove unimplemented macro in SeOpenObjectAuditAlarm and replace it with a DPRINT1; that way callers won't freeze while calling it.
svn path=/trunk/; revision=19060
Hervé Poussineau [Tue, 8 Nov 2005 17:20:58 +0000 (17:20 +0000)]
When a driver is a legacy driver, call its AddDevice function with a NULL Pdo
svn path=/trunk/; revision=19059
Alex Ionescu [Tue, 8 Nov 2005 17:14:19 +0000 (17:14 +0000)]
- Don't loop indefintely in RtlFindUnicodePrefix if the splaylinks have changed inside the loop.
svn path=/trunk/; revision=19058
Alex Ionescu [Tue, 8 Nov 2005 17:07:57 +0000 (17:07 +0000)]
- Hackplement ObLogSecurityDescriptor for W2K3 drivers to be happy.
svn path=/trunk/; revision=19057
Alex Ionescu [Tue, 8 Nov 2005 16:59:41 +0000 (16:59 +0000)]
- Send a hacked access state to FS Drivers, they can depend on one. For now use one with full FILE_ALL_ACCESS privileges.
svn path=/trunk/; revision=19056
Alex Ionescu [Tue, 8 Nov 2005 16:41:58 +0000 (16:41 +0000)]
- Fix function signature of CompareUnicodeStrings
- Add special case where we get a prefix itself and a name starting with a prefix character.
- Implement RtlInitializeGenericTable
This fixes the windows npfs.sys hang.
svn path=/trunk/; revision=19055
Hervé Poussineau [Tue, 8 Nov 2005 16:24:58 +0000 (16:24 +0000)]
Patch by Filip Navara/Hervé Poussineau:
- Simplify device number allocation
- Check the case of a NULL Pdo if we're called by a legacy driver
svn path=/trunk/; revision=19054
Alex Ionescu [Tue, 8 Nov 2005 08:56:41 +0000 (08:56 +0000)]
- Update KTHREAD and KUSER_SHARED_DATA to latest versions. This should make 2K3 drivers (eg: npfs.sys) work with their inlined KeEnterCriticalRegion/KeLeaveCriticalRegion and ASSERTS.
- Update KAPC and DISPATCHER_HEADER to latest DDK definitions.
svn path=/trunk/; revision=19053
Alex Ionescu [Tue, 8 Nov 2005 00:21:29 +0000 (00:21 +0000)]
- Fix a bug spotted in RtlInsertUnicodePrefix's loop.
svn path=/trunk/; revision=19052
Alex Ionescu [Tue, 8 Nov 2005 00:19:01 +0000 (00:19 +0000)]
- Finish implementing RtlFindUnicodePrefix. The Windows NPFS driver should load now (unless it needs other APIs..)
svn path=/trunk/; revision=19051
Alex Ionescu [Mon, 7 Nov 2005 23:52:26 +0000 (23:52 +0000)]
- Start implementing RtlFindUnicodePrefix
- Add case-insensitive compare to CompareUnicodeStrings
svn path=/trunk/; revision=19050
Thomas Bluemel [Mon, 7 Nov 2005 23:09:53 +0000 (23:09 +0000)]
Fixed some of the splay tree macros. Actually some are even wrong in the DDK, but it's necessary to make compilers happy that stick to the standards more closely
svn path=/trunk/; revision=19049
Alex Ionescu [Mon, 7 Nov 2005 22:07:08 +0000 (22:07 +0000)]
- Oops.. fix a bug in RtlRemoveUnicodePrefix: edit the parent, not the entry itself.
svn path=/trunk/; revision=19047
Alex Ionescu [Mon, 7 Nov 2005 22:05:46 +0000 (22:05 +0000)]
- Finished implementing RtlInsertUnicodePrefix: handle greater and less than insertions.
svn path=/trunk/; revision=19046
Alex Ionescu [Mon, 7 Nov 2005 21:57:50 +0000 (21:57 +0000)]
- Implement more of RtlInsertUnicodePrefix: handle case where tree was found, and a match in the tree was found (handle case-sensitive and case-insensitve match).
- Partially umplement CompareUnicodeStrings to scan the two strings (Can't use RtlCompareUnicodeString because we want control over how many chars to case-compare.
svn path=/trunk/; revision=19045
Alex Ionescu [Mon, 7 Nov 2005 21:17:49 +0000 (21:17 +0000)]
- Correct which entry was being modified.
svn path=/trunk/; revision=19044
Ged Murphy [Mon, 7 Nov 2005 21:16:30 +0000 (21:16 +0000)]
Should have checked it built OK with mingw first.
svn path=/trunk/; revision=19043
Ged Murphy [Mon, 7 Nov 2005 21:14:03 +0000 (21:14 +0000)]
Add information letting us know creation deletion of services has worked.
comment out testing debug info.
svn path=/trunk/; revision=19042
Magnus Olsen [Mon, 7 Nov 2005 20:32:17 +0000 (20:32 +0000)]
Fixed bug 954 rbuild devcpp generates mixed slashes and backslashes in some pathnames in the file makefile.auto
svn path=/trunk/; revision=19041
Alex Ionescu [Mon, 7 Nov 2005 19:31:15 +0000 (19:31 +0000)]
- Implement simple case of RtlInsertUnicodePrefix where a new node entry needs to be created.
svn path=/trunk/; revision=19040
Alex Ionescu [Mon, 7 Nov 2005 19:14:38 +0000 (19:14 +0000)]
- Finish implementation of RtlRemoveUnicodePrefix
svn path=/trunk/; revision=19039
Magnus Olsen [Mon, 7 Nov 2005 17:35:10 +0000 (17:35 +0000)]
change En.rc to defualt take care of code page error at lest for swedish
svn path=/trunk/; revision=19038
Hervé Poussineau [Mon, 7 Nov 2005 10:53:52 +0000 (10:53 +0000)]
Lots of DPRINT1 -> DPRINT changes
Adjust the image path in ScmrCreateServiceW (just enough for my needs)
svn path=/trunk/; revision=19037
Hervé Poussineau [Mon, 7 Nov 2005 10:04:41 +0000 (10:04 +0000)]
Better stub for QueryServiceConfigW
svn path=/trunk/; revision=19036
Alex Ionescu [Mon, 7 Nov 2005 04:42:28 +0000 (04:42 +0000)]
- Implement PFX_NTC_ROOT/PFX_NTC_CHILD deletions in RtlRemoveUnicodePrefix, if the entry isn't a case match.
svn path=/trunk/; revision=19035
Alex Ionescu [Mon, 7 Nov 2005 04:23:28 +0000 (04:23 +0000)]
- Implement PFX_NTC_CASE_MATCH deletions in RtlRemoveUnicodePrefix
svn path=/trunk/; revision=19034
Alex Ionescu [Mon, 7 Nov 2005 01:01:29 +0000 (01:01 +0000)]
- Implement RtlInitializeUnicodePrefix and RtlNextUnicodePrefix. The UnicodePrefix package is needed by MUP and NPFS drivers.
- Add some of the splay tree functions/macros to the NDK.
svn path=/trunk/; revision=19033
Hervé Poussineau [Sun, 6 Nov 2005 23:32:41 +0000 (23:32 +0000)]
Add missing files to revision 19031
svn path=/trunk/; revision=19032
Hervé Poussineau [Sun, 6 Nov 2005 23:23:45 +0000 (23:23 +0000)]
- Fix header mess by using a common header setupapi_private.h
- Move some structure definitions from devinst.c to setupapi_private.h
svn path=/trunk/; revision=19031
Eric Kohl [Sun, 6 Nov 2005 18:21:00 +0000 (18:21 +0000)]
- Read a services optional display name from the registry.
- Fix return size bugs in GetServiceDisplayNameW and GetServiceKeyNameW.
svn path=/trunk/; revision=19030
Brandon Turner [Sun, 6 Nov 2005 17:58:08 +0000 (17:58 +0000)]
make the output visually pleasing.
svn path=/trunk/; revision=19029
Brandon Turner [Sun, 6 Nov 2005 16:11:01 +0000 (16:11 +0000)]
%foo% where foo is not a envir var should be returned as %foo% not as "".
svn path=/trunk/; revision=19028
Ged Murphy [Sun, 6 Nov 2005 13:30:42 +0000 (13:30 +0000)]
couple of fixes to get it building under mingw
svn path=/trunk/; revision=19027
Eric Kohl [Sun, 6 Nov 2005 11:56:56 +0000 (11:56 +0000)]
- Rewrote the code that reads the service configuration from the registry because it was not flexible enough with respect to the handling of default values.
- Read delete flag from the registry.
svn path=/trunk/; revision=19026