Commit graph

49221 commits

Author SHA1 Message Date
Cameron Gutman 846509e433 [NTOSKRNL]
- Fix another case where we fail to detach from a process before failing

svn path=/trunk/; revision=54394
2011-11-16 00:11:10 +00:00
Jérôme Gardou 800384214e [NTOSKRNL/MM]
- Fix bad comparison

svn path=/trunk/; revision=54393
2011-11-15 23:55:38 +00:00
Jérôme Gardou 50632f02d1 [NTOSKRNL/MM]
- Some more cleanup.
- Work with page rounded down addresses in SectionView page faults.
- You should not create a virtual mapping on a non page-aligned address range : ASSERT about that.
- Flush Tlb each time we change it
- Fix logic I broke in MmCreateVirtualMapping (thanks to Thomas Faber)

svn path=/trunk/; revision=54392
2011-11-15 23:50:04 +00:00
Jérôme Gardou a9801fa996 [NTOSKRNL]
- Cleanup a bit, sorry.

svn path=/trunk/; revision=54391
2011-11-15 22:40:20 +00:00
Jérôme Gardou 177b29fbf8 [NTOSKRNL/MM]
- ensure that all callers of MM providing an user land address also provide a process.
- ASSERT about that
- Fix broken check

svn path=/trunk/; revision=54390
2011-11-15 22:34:04 +00:00
Cameron Gutman 75ff9ef0c0 [NTOSKRNL]
- Fix 2 broken failure cases (forgot to detach from process and/or forgot to dereference process)

svn path=/trunk/; revision=54389
2011-11-15 22:16:57 +00:00
Cameron Gutman fcb309055e [NDIS]
- Implement NdisPciAssignResources

svn path=/trunk/; revision=54387
2011-11-15 18:41:34 +00:00
Jérôme Gardou 9cc9f6687b [NTOSKRNL/MM]
- call mm functions with a process, when we have one.
- Fix potential rounding issues
- Add some sanity ASSERTs
- You never use enough brackets ;-)

svn path=/trunk/; revision=54386
2011-11-15 18:36:26 +00:00
Rafal Harabien a61f0b9cff [KBDTOOL] - Fix build under MSVC
svn path=/trunk/; revision=54385
2011-11-15 11:07:31 +00:00
Rafal Harabien ba2815a03e [SYSSETUP]
- Don't redefine constants from psdk in source files
- Improve error message

svn path=/trunk/; revision=54384
2011-11-15 08:59:50 +00:00
Rafal Harabien 226db13685 [SYSSETUP] - Formatting. No code changes.
svn path=/trunk/; revision=54383
2011-11-15 08:44:37 +00:00
Cameron Gutman 7407aba5cf [HAL]
- Remove broken map register "prefetcher" code
- Check that we have enough space to grow our map registers
- Fix a bad hint to RtlFindClearBitsAndSet
- Queuing the grow work item is non-vital; treat it as such
- Fixes BSOD with CM3738 and VIA1723 sound cards [bug 6657]

svn path=/trunk/; revision=54382
2011-11-15 07:58:46 +00:00
Cameron Gutman dbafcc923d [SERVICES]
- Always return ERROR_SUCCESS when ScmWaitForServiceConnect completes successfully instead of sometimes returning ERROR_PIPE_CONNECTED because the callers of this helper just look for ERROR_SUCCESS to indicate a successful call

svn path=/trunk/; revision=54381
2011-11-15 02:55:44 +00:00
Rafal Harabien 9e7c5f1a3e [SHELL32] - Rename CBitBucket to CRecycleBin
svn path=/trunk/; revision=54380
2011-11-14 22:46:37 +00:00
Rafal Harabien a47aff870e [SHELL32]
- Export IContextMenu interface in RecycleBin object. Fixes recycle bin context menu.
- Export IShellPropSheetExt interface too and fix order.
See issue #6543 for more details.

svn path=/trunk/; revision=54379
2011-11-14 22:18:42 +00:00
James Tabor dd2688a02d - Fix RosApps build.
svn path=/trunk/; revision=54378
2011-11-14 22:14:52 +00:00
Thomas Faber 8e8284168c [ADVAPI32_WINETEST]
- Make the Spooler -> Eventlog hack complete instead of half-doing it. "Fixes" test failure on Windows. See r53502

svn path=/trunk/; revision=54377
2011-11-14 18:43:26 +00:00
James Tabor 37fe8c8eff [Win32k|User32]
- Fix broadcast message, pass all wine tests. Code consolidation next round.

svn path=/trunk/; revision=54376
2011-11-14 15:20:48 +00:00
Sylvain Petreolle d14aee58bb [NDK]
Fix definition of RtlExtendedLargeIntegerDivide.

svn path=/trunk/; revision=54375
2011-11-13 23:47:21 +00:00
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