Commit graph

17831 commits

Author SHA1 Message Date
Thomas Bluemel
970e0f7ac4 fixed uninitialized variable warnings
svn path=/trunk/; revision=19103
2005-11-09 18:39:33 +00:00
Christoph von Wittich
2b1eb3ce49 display correct device name after successful driver installation
svn path=/trunk/; revision=19102
2005-11-09 13:00:38 +00:00
Hervé Poussineau
7091f1a9cb 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
2005-11-09 11:59:45 +00:00
Hervé Poussineau
3f348259c3 New serial mouse driver, which is PnP compliant
svn path=/trunk/; revision=19100
2005-11-09 11:57:58 +00:00
Hervé Poussineau
9bfa51a8fc Delete old legacy serial mouse driver, will be replaced by a PnP driver in next commit
svn path=/trunk/; revision=19099
2005-11-09 11:54:53 +00:00
Hervé Poussineau
9fcc9fe902 - Fix typo, which was preventing to install PCI to PCI bridges
- Remove double identifier
- Sort entries in alphabetical order

svn path=/trunk/; revision=19098
2005-11-09 11:52:26 +00:00
Hervé Poussineau
3d6228e8cb - 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
2005-11-09 11:23:19 +00:00
Hervé Poussineau
4d7ef5eee5 - 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
2005-11-09 11:20:53 +00:00
Hervé Poussineau
e903b5542d - 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
2005-11-09 11:16:43 +00:00
Hervé Poussineau
c8a200b0f6 - 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
2005-11-09 11:15:42 +00:00
Hervé Poussineau
1eb04e9c78 STDCALL -> NTAPI
svn path=/trunk/; revision=19093
2005-11-09 11:13:02 +00:00
Hervé Poussineau
dc3bd90918 - 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
2005-11-09 11:10:24 +00:00
Alex Ionescu
a1713a521f - 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
2005-11-09 04:53:32 +00:00
Alex Ionescu
2300542dbc - Fix PeekNamedPipe. Now only 14 winetests fail for pipetest.
- Cleanup DisconnectNamedPipe and fix a small bug in it.

svn path=/trunk/; revision=19088
2005-11-09 04:32:44 +00:00
Alex Ionescu
85f0828a18 - 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
2005-11-09 04:29:46 +00:00
Alex Ionescu
a6e23ab5cf - Unbreak build
- Fix CallNamedPipeW, the pipe mode should also be set to PIPE_WAIT.

svn path=/trunk/; revision=19086
2005-11-09 03:02:33 +00:00
Alex Ionescu
4cafc71bd8 - Optimize CallNamedPipeA too and remove accidental define.
svn path=/trunk/; revision=19085
2005-11-09 02:53:58 +00:00
Alex Ionescu
b8fa73dc20 Ansi->Unicode conversions:
- Take advantage of TEB in CreateNamedPipeA
- Use helper function in WaitNamedPipeA

svn path=/trunk/; revision=19084
2005-11-09 02:50:54 +00:00
Alex Ionescu
965f1e365b - Fix bugs in RtlSplay
svn path=/trunk/; revision=19083
2005-11-09 02:17:18 +00:00
Alex Ionescu
c986d35c0a - Implement most of RtlDelete.
svn path=/trunk/; revision=19082
2005-11-09 02:16:03 +00:00
Alex Ionescu
aa2893a132 - Implement RtlRealPrecessdor and RtlRealSuccessor
svn path=/trunk/; revision=19081
2005-11-09 01:39:39 +00:00
Alex Ionescu
767d56a1d3 - Fix RtlSubtreePredecessor/Successor, someone had implemented them backwards.
svn path=/trunk/; revision=19080
2005-11-09 01:05:00 +00:00
Thomas Bluemel
b3259fa7d8 fixed data size calculation in RtlSelfRelativeToAbsoluteSD2
svn path=/trunk/; revision=19079
2005-11-09 00:56:41 +00:00
Alex Ionescu
d460662204 - 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
2005-11-09 00:44:37 +00:00
Alex Ionescu
b11939ad43 - Finish implementing RtlSplayTree
svn path=/trunk/; revision=19077
2005-11-08 23:51:46 +00:00
Alex Ionescu
ccc0e39909 - Implement cases 2 & 4 of RtlSplayTree
svn path=/trunk/; revision=19076
2005-11-08 23:47:25 +00:00
Alex Ionescu
91bbe0cc1f - Fix bug in case 2/4 denomination.
svn path=/trunk/; revision=19075
2005-11-08 23:42:40 +00:00
Alex Ionescu
98858edeba - Implement Case 3 of RtlSplay
svn path=/trunk/; revision=19074
2005-11-08 23:40:37 +00:00
Alex Ionescu
5c276df415 - Implement Case 1 of RtlSplay
svn path=/trunk/; revision=19073
2005-11-08 23:33:07 +00:00
Alex Ionescu
3d244e2b37 - Implement RtlSplay skeleton cases.
svn path=/trunk/; revision=19072
2005-11-08 22:54:39 +00:00
Alex Ionescu
bc90bf5915 - Add implementation notes for RtlSplayTree
svn path=/trunk/; revision=19071
2005-11-08 22:45:45 +00:00
Christoph von Wittich
775e2dbd07 started implementation of device driver installation wizard
svn path=/trunk/; revision=19070
2005-11-08 22:25:29 +00:00
Gé van Geldorp
4a0e4dc0f4 Allocate mem for the structure, not only for a pointer.
svn path=/trunk/; revision=19068
2005-11-08 21:49:27 +00:00
Alex Ionescu
7bccddff96 - 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
2005-11-08 21:07:11 +00:00
Eric Kohl
eb9906dcc2 Add Tonga timezone (GMT+13:00).
svn path=/trunk/; revision=19066
2005-11-08 20:57:31 +00:00
Alex Ionescu
4e84f04716 - 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
2005-11-08 20:53:53 +00:00
Alex Ionescu
7f3dd627ae - Remove silly debug print
svn path=/trunk/; revision=19064
2005-11-08 20:50:04 +00:00
Brandon Turner
ce2e54856f Change KEBUGCHECK -> KEBUGCHECKEX
svn path=/trunk/; revision=19063
2005-11-08 20:07:41 +00:00
Gé van Geldorp
61adf0cbb8 Add Language entries for all Locale entries. Fixes bug 955.
svn path=/trunk/; revision=19062
2005-11-08 19:43:54 +00:00
Alex Ionescu
99e460ecbb - 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
2005-11-08 18:54:18 +00:00
Alex Ionescu
402f8f2ea5 - 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
2005-11-08 17:22:26 +00:00
Hervé Poussineau
1974f400e3 When a driver is a legacy driver, call its AddDevice function with a NULL Pdo
svn path=/trunk/; revision=19059
2005-11-08 17:20:58 +00:00
Alex Ionescu
f2ff67ecde - Don't loop indefintely in RtlFindUnicodePrefix if the splaylinks have changed inside the loop.
svn path=/trunk/; revision=19058
2005-11-08 17:14:19 +00:00
Alex Ionescu
d68f0cbd56 - Hackplement ObLogSecurityDescriptor for W2K3 drivers to be happy.
svn path=/trunk/; revision=19057
2005-11-08 17:07:57 +00:00
Alex Ionescu
db3f6ecb75 - 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
2005-11-08 16:59:41 +00:00
Alex Ionescu
824fc6410b - 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
2005-11-08 16:41:58 +00:00
Hervé Poussineau
a485607cfc 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
2005-11-08 16:24:58 +00:00
Alex Ionescu
1608efe156 - 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
2005-11-08 08:56:41 +00:00
Alex Ionescu
ac2e8c3bcd - Fix a bug spotted in RtlInsertUnicodePrefix's loop.
svn path=/trunk/; revision=19052
2005-11-08 00:21:29 +00:00
Alex Ionescu
d2a199261e - Finish implementing RtlFindUnicodePrefix. The Windows NPFS driver should load now (unless it needs other APIs..)
svn path=/trunk/; revision=19051
2005-11-08 00:19:01 +00:00