Commit graph

49002 commits

Author SHA1 Message Date
Kamil Hornicek
432b05a591 [TRANSLATION]
Fix Czech resources that got broken by the UTF8 conversion.

svn path=/trunk/; revision=54374
2011-11-13 16:27:03 +00:00
Eric Kohl
77d6d4815b [SERVICES]
REnumServicesStatusExW: Fix dwServiceType and dwServiceState checks.

svn path=/trunk/; revision=54373
2011-11-13 12:13:16 +00:00
Cameron Gutman
6735cfc56e [NDIS]
- Fix a critical bug in NdisMGetDmaAlignment which was causing every NIC driver calling this function to crash because we thought we were passed an NDIS_DMA_BLOCK handle when in fact we receive an NDIS_MINIPORT_BLOCK handle
- Fixes RTL8169 and 3Com NICs (and probably several more) [bug 6651 and bug 4330]

svn path=/trunk/; revision=54372
2011-11-13 06:02:08 +00:00
Cameron Gutman
edc6eb9eca [HAL]
- Fix DMA on the EISA bus
- Fix a critical calculation error in map register size resulting in the map register allocation worker not allocating enough map registers for a dynamic resize

svn path=/trunk/; revision=54371
2011-11-13 05:49:33 +00:00
Eric Kohl
e4eecc98b8 [SERVICES]
RControlService: Initialize the callers service status information. 

svn path=/trunk/; revision=54370
2011-11-13 00:13:00 +00:00
Eric Kohl
2c472c9d01 [SERVICES]
RControlService returns ERROR_SERVICE_NOT_ACTIVE if the service has not been started.

svn path=/trunk/; revision=54369
2011-11-12 21:16:20 +00:00
Pierre Schweitzer
62089cfa4b [USETUP]
Added a half checkpoint to prevent testbot to wrongly assume ReactOS has crashed during setup

svn path=/trunk/; revision=54368
2011-11-12 20:20:41 +00:00
Jérôme Gardou
90875550df (FORMATTING)
-Grrr, you stupid software

svn path=/trunk/; revision=54367
2011-11-12 19:36:56 +00:00
Jérôme Gardou
0e2151927b (FORMATTING)
- get back this good ol' 4-space indentation

svn path=/trunk/; revision=54366
2011-11-12 19:26:26 +00:00
Alex Ionescu
174739a13c [KERNEL32]: Fix mailslot code to use the static unicode string in the TEB for conversion, and correctly handle failure cases to bound names to MAX_PATH as Win32 demands. Also fix timeout conversions to use the correct timeout value for infinite timeout.
[KERNEL32]: Reformat since 3-space identation is just murder.

svn path=/trunk/; revision=54365
2011-11-12 18:28:16 +00:00
Olaf Siejka
1898591063 [TRANSLATION]
- base/setup,shell and system conversion patch, by UTF-8 conversion patch by Elton Chung, see bug 6333;
- Romanian translation fixes and UTF-8 conversion by Stefan Fulea, see bug 6603;

svn path=/trunk/; revision=54364
2011-11-12 16:38:00 +00:00
Thomas Faber
e661f24f8a [KMTESTS/KE]
- Do not check IRQLs above HIGH_LEVEL. That's not very useful anyway. Fixes hang in kmtest:KeIrql.

svn path=/trunk/; revision=54363
2011-11-12 14:49:14 +00:00
Pierre Schweitzer
c24b5b0586 [MESA32]
Include headers in the proper order. Fixes mesa32 build.

svn path=/trunk/; revision=54362
2011-11-12 13:04:59 +00:00
Pierre Schweitzer
1558368570 [PSDK]
Revert r54359.

svn path=/trunk/; revision=54361
2011-11-12 12:27:01 +00:00
Pierre Schweitzer
29750a6026 [BLUE]
"Remove" dependencies with user-mode without breaking CSRSS.

svn path=/trunk/; revision=54360
2011-11-12 12:23:15 +00:00
Alex Ionescu
18e346207b [PSDK]: I forgot this was the OS where drivers (blue.sys) import from SDK headers. Fix header.
svn path=/trunk/; revision=54359
2011-11-12 08:20:30 +00:00
Alex Ionescu
e84bdd4857 [KERNEL32]: Refactor Beep such that opening the device happens first -- this makes sure the error codes are generated in the same order/conditions as on Windows.
[KERNEL32]: Add notes on how DeviceIoControl and Beep should support TS scenarios in the future (nod to Ged).
[KERNEL32]: Make Beep call NotifySoundSentry, and implement the latter, which sends a message to CSRSS w.r.t the previous commit. Obviously we are not anywhere close real sound sentry support, but at least part of the path is there now.

svn path=/trunk/; revision=54358
2011-11-12 08:18:18 +00:00
Alex Ionescu
c461e96188 [WIN32CSR/CSRSS]: Implement the Sound Sentry CSRSS API. Obviously won't work until a real winsrv.dll exists (and its job will be to call NtUserSoundSentry in win32k.sys).
svn path=/trunk/; revision=54357
2011-11-12 08:16:33 +00:00
Alex Ionescu
bfac43fe4e [PSDK]: Add missing Console APIs.
[CSRSS]: Add definition for the Sound Sentry CSRSS API.

svn path=/trunk/; revision=54356
2011-11-12 08:15:29 +00:00
Thomas Faber
2bc2e85140 [KMTESTS]
- Fix some typos in previous commit
- Make the driver object accessible to tests

svn path=/trunk/; revision=54355
2011-11-12 00:21:57 +00:00
Thomas Faber
d0133a99d0 [USBDRV]
- Get rid of some inline assembly

svn path=/trunk/; revision=54354
2011-11-12 00:07:42 +00:00
Thomas Faber
218b87ee29 [KMTESTS]
- Fix AMD64 build

svn path=/trunk/; revision=54353
2011-11-11 23:04:26 +00:00
Cameron Gutman
ec82957d59 [PNP]
- Kill some debug spam

svn path=/trunk/; revision=54352
2011-11-11 20:41:10 +00:00
James Tabor
46ea3777a8 [Shell32]
- Fix edit control window procedure, see Bug 4856.

svn path=/trunk/; revision=54351
2011-11-11 13:04:37 +00:00
Pierre Schweitzer
5576067299 [KERNEL32]
No need to init string to empty
This will make Coverity happier

svn path=/trunk/; revision=54350
2011-11-11 12:22:05 +00:00
Aleksey Bragin
7ef16b3746 [RTL]
- A bit more of the DPH code cleanup, no bugs found so far.

svn path=/trunk/; revision=54349
2011-11-11 11:55:49 +00:00
Thomas Faber
3f5b04a9d5 [SERVICES]
- Allow changing the image path with ChangeServiceConfig. Fixes timeout that shouldn't actually be a timeout in advapi32:service test.
See issue #6646 for more details.

svn path=/trunk/; revision=54348
2011-11-10 22:56:22 +00:00
Cameron Gutman
6293041a3f [BOOTDATA]
- Disable usbdrv
- I've heard too many reports of it breaking boot and too few reports of it actually working on real hardware (although it does work perfectly in QEMU)

svn path=/trunk/; revision=54347
2011-11-10 22:42:16 +00:00
Thomas Faber
bfebe892d9 [ADVAPI32_WINETEST]
- Skip service start timeout tests. They cannot time out until services uses asynchronous I/O.
See issue #6646 for more details.

svn path=/trunk/; revision=54346
2011-11-10 22:34:31 +00:00
Thomas Faber
33158a22a5 [SERVICES]
- Move utility functions to the top

svn path=/trunk/; revision=54345
2011-11-10 22:21:11 +00:00
Thomas Faber
8d6a6c95e5 [SERVICES]
- Do not use local memory functions (and possibly free the result using HeapFree!)
- Do not use double percent signs with _wcsnicmp
- DPRINT and style fixes

svn path=/trunk/; revision=54344
2011-11-10 21:29:34 +00:00
Aleksey Bragin
06d7831b89 [RTL]
- DPH: Improve RtlpPageHeapAllocate() code, make variable names consistent with the generic available/busy terms. Logic is absolutely unchanged.

svn path=/trunk/; revision=54343
2011-11-10 15:13:21 +00:00
Eric Kohl
725bbcb3aa [SERVICES]
Improve the parameter checks in RCreateServiceW.

svn path=/trunk/; revision=54342
2011-11-09 23:18:37 +00:00
Thomas Faber
3894ecbdc4 [USER32]
- Fix a TRACE. Spotted by Victor Martinez

svn path=/trunk/; revision=54341
2011-11-09 18:52:09 +00:00
Kamil Hornicek
63cc791584 [FASTFAT]
Don't report success for unsupported file information classes.
See issue #6628 for more details.

svn path=/trunk/; revision=54340
2011-11-08 17:08:04 +00:00
Alex Ionescu
6fc023d62d [KERNEL32]: Fix a bug when converting EXECUTE access.
svn path=/trunk/; revision=54339
2011-11-07 17:49:10 +00:00
Thomas Faber
b25b405747 [KERNEL32]
- Do not fail in CreateFileMappingW if write or execute access is requested

svn path=/trunk/; revision=54338
2011-11-07 16:53:04 +00:00
Alex Ionescu
f237a863e7 Hurray for misisng includes.
svn path=/trunk/; revision=54337
2011-11-07 15:44:07 +00:00
Alex Ionescu
6d37c787cd [KERNEL32]: Fix various bugs in the file mapping APIs, mainly related to lack of EXECUTE mappings and incorrect error codes.
svn path=/trunk/; revision=54336
2011-11-07 15:43:37 +00:00
Dmitry Gorbachev
bef20836c3 [TRANSLATION]
- Add some Romanian strings to the registry. Fulea Stefan, bug #6603.
- Add a few Russian strings, too.

svn path=/trunk/; revision=54335
2011-11-07 08:01:58 +00:00
Alex Ionescu
40b0836010 [KERNEL32]: Show some love to Get/SetCurrent/Windows/SystemDirectoryA/W. Only SearchPathW and loader stuff remains to be fixed. Also handle SetCurrentDirectory when directory is already current.
[KERNEL32]: Rewrite the tape APIs to use a single generic function, and in the process support pending I/O now, which wasn't handled before.
[KERNEL32]: Moved the interlocked APIs to synch.c instead of dllmain.c

svn path=/trunk/; revision=54334
2011-11-07 07:41:52 +00:00
Pierre Schweitzer
b7ad8c6fb9 [KERNEL32]
Fix wrong L usage in new code.

svn path=/trunk/; revision=54333
2011-11-07 06:45:17 +00:00
Alex Ionescu
a458290ab1 [KERNEL32]: Fix multiple, multiple, bugs in the last commits. Path is now down to 12 failures (way lower than before the streak), most unrelated to actual path APIs.
svn path=/trunk/; revision=54332
2011-11-07 05:07:58 +00:00
Cameron Gutman
c13946eae2 [TCPIP]
- Fix a potential double-completion of an IRP

svn path=/trunk/; revision=54331
2011-11-07 02:02:59 +00:00
Cameron Gutman
703b182d8f [NPFS]
- Fix an access-after-free bug

svn path=/trunk/; revision=54330
2011-11-07 01:47:55 +00:00
Alex Ionescu
1534ace5ad Forgotten file.
svn path=/trunk/; revision=54329
2011-11-07 01:40:33 +00:00
Cameron Gutman
945a5972a9 [NPFS]
- Fix a potential CCB state inconsistency if the IRP is canceled before adding it to the pending list
- Don't wait if the IRP has been canceled
- Preserve the return status of NpfsAddListeningServerInstance

svn path=/trunk/; revision=54328
2011-11-07 01:37:35 +00:00
Cameron Gutman
3eff89fe04 [NPFS]
- Fix several cancellation races and broken checks

svn path=/trunk/; revision=54327
2011-11-07 00:52:32 +00:00
Alex Ionescu
784e19a384 [KERNEL32]: Implement Wow64Enable/Disable/RevertWow64Direction, document the Rtl equivalents in NDK, export and implement them in NTDLL.
[KERNEL32]: Cleanup files a bit.
    - Bintype.c is gone and moved into VDM (these are functions for VDM support).
    - Npipe.c and pipe.c are merged.
    - Dosdev is moved into client, these are not quite File APIs.
    - Base(8Bit/Unicode) APIs are moved into utils.c
    - Wow64 APIs are moved into utils.c
    - The mess that was file.c has the Replace* file APIs going into move.c (similar behaviors), the Open* APIs into create.c (similar) and the Read/Write Scatter/Gather APIs into rw.c (where they belong). What remained in file.c were mostly Set/Query functions, so it becomes fileinfo.c
    - The remaining APIs in file.c were all about paths -- at the file level, specifically filenames, so they go into filename.c
    - Move some File API functions from certain files into other files where they belong more.

svn path=/trunk/; revision=54326
2011-11-07 00:18:13 +00:00
Cameron Gutman
35a7096ebc [NPFS]
- Make the initial NpfsRead wait uninterruptible since it's really being used like a mutex (avoid the kernel stack being paged out during the wait causing memory corruption)
- Handle interrupted waits that were missed in certain cases
- Fix a potential deadlock that would happen if more I/O was done on a file object after the previous operation was interrupted by an APC or alert

svn path=/trunk/; revision=54325
2011-11-06 23:40:06 +00:00