Commit graph

46464 commits

Author SHA1 Message Date
Thomas Faber
459f4ac630 [KMTESTS]
- rework the kmtest loader application to follow everything else's coding style and to allow user-mode test parts

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52519
2011-07-03 18:53:26 +00:00
Thomas Faber
991bc0e366 [KMTESTS]
- add skip() functionality (with more useful syntax than Wine's)
- add format attributes for GCC
- do not show the full path of the source file for failed tests
- general cleanup

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52489
2011-06-29 08:51:00 +00:00
Thomas Faber
7a0fe29b5e [KMTESTS]
- add mostly untouched ports of the easy-to-do tests from kmtest_old

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52480
2011-06-27 08:49:23 +00:00
Thomas Faber
7d4da25d6e [KMTESTS]
- add START_TEST macro in case test functions ever have to be passed an argument
- add a few ok_* convenience macros
- remove unnecessary C library function renaming macros

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52371
2011-06-19 18:27:14 +00:00
Thomas Faber
ba63f36790 [KMTESTS]
- add the proper testing framework functions for winetest-like feel
- remove thereby obsolete Log* functions
- update example test to show usage of the new macros

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52359
2011-06-19 09:23:03 +00:00
Thomas Faber
dffa722bce [KMTESTS]
- reference streamout.c and provide a wctomb stub to have an any-IRQL vsnprintf implementation for the test framework

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52330
2011-06-18 11:03:28 +00:00
Thomas Faber
a6b4eba335 [KMTESTS]
- use a shared memory buffer for storing test results to provide seamless communication between all test parts
- Now user mode code can easily add messages to the buffer

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52216
2011-06-13 17:50:07 +00:00
Thomas Faber
1de7bf0885 [KMTESTS]
- add a minimal example test so there's something to see when running kmtest
- remove _DLL and __USE_CRTIMP in accordance with r52213

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52215
2011-06-13 17:29:02 +00:00
Thomas Faber
e95992c699 [KMTESTS]
- add basic driver that can list/run tests and log messages

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52168
2011-06-10 05:34:00 +00:00
Thomas Faber
22216d2eb7 [KMTESTS]
- add simple loader application that can list/run tests from a driver via DeviceIoControl, and prints output to the console

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52157
2011-06-09 15:14:02 +00:00
Thomas Faber
9e143d5955 [KMTEST]
- fix CMake files
- rename build target to kmtest_old to prevent name collision

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52145
2011-06-08 07:24:39 +00:00
Thomas Faber
83aa60677b [KMTestSuite]
- sync to rostests r52109 to fix CMake build with recent revisions

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52123
2011-06-06 21:00:46 +00:00
Timo Kreuzer
3e584471ab [MSVCRT_APITEST]
Add tests for splitpath

svn path=/trunk/; revision=52022
2011-05-31 17:26:30 +00:00
Cameron Gutman
48c9bead3d [NTOSKRNL]
- Implement IoTranslateBusAddress

svn path=/trunk/; revision=52019
2011-05-30 22:27:28 +00:00
Rafal Harabien
57bc8f07bf [USER32]
- Use DISPLAY_DEVICEW instead of assuming DISPLAY_DEVICE is in unicode

svn path=/trunk/; revision=52016
2011-05-30 21:34:10 +00:00
Rafal Harabien
8dbd3c5e73 [NTOSKRNL]
- Declare function without arguments with VOID keyword
- Improve rbuild file

svn path=/trunk/; revision=52015
2011-05-30 21:26:33 +00:00
Cameron Gutman
e26e8e7106 [AFD]
- Launch a new listen IRP right after the current one completes instead of waiting until the current pending connection is accepted
- Reduces the chance of AFD missing two connection requests that are issued very close together and increases network performance by allowing our connection queue to do its job

svn path=/trunk/; revision=52013
2011-05-30 17:27:53 +00:00
Kamil Hornicek
4e0877c6fb [WINED3D|DDRAW|D3D8|D3D9]
Sync to Wine 1.3.21

svn path=/trunk/; revision=52009
2011-05-30 15:27:19 +00:00
Rafal Harabien
6486187cdb [ROSTESTS]
- Declare functions with 0 arguments using VOID keyword. In C it matters
- Add imagehlp winetest to CMake build

svn path=/trunk/; revision=52006
2011-05-30 11:40:58 +00:00
Cameron Gutman
6c70b6dcd9 [NTOSKRNL]
- Implement sending GUID_TARGET_DEVICE_QUERY_REMOVE and GUID_TARGET_DEVICE_REMOVE_COMPLETE notifications
- Fix sending EventCategoryTargetDeviceChange notifications
- Remove some incorrect checks (IRP_MN_START_DEVICE CAN be called for a device that is already "started")
- Check the final status of the IRP_MN_START_DEVICE request sent after resource rebalancing and send IRP_MN_REMOVE_DEVICE if it fails

svn path=/trunk/; revision=52003
2011-05-30 04:15:27 +00:00
Roel Messiant
9abb0c1c3b [NTOSKRNL]
- Simplify remove lock tracking block list handling.
- Correct check for unlimited locking time being allowed.
- Eliminate use-after-free after removing a tracking block.

svn path=/trunk/; revision=52002
2011-05-29 22:29:10 +00:00
Olaf Siejka
66b0ee485c Converting POLISH localisation strings to UTF-8. Part 3/4:
- dll/win32 and dll/shellext converted
- currently, only shell32 is left, due to incoming change to new version, and kernel32 - need to research how it should be done.
Tested on rbuild/cmake

svn path=/trunk/; revision=52000
2011-05-29 21:43:37 +00:00
Cameron Gutman
944ccbbe33 [NTOSKRNL]
- Fix a reference leak which prevented driver objects passed to IoRegisterPlugPlayNotification from being able to unload after the notification was unregistered
- Fix a non-paged pool leak

svn path=/trunk/; revision=51997
2011-05-29 16:44:34 +00:00
Eric Kohl
51945fb53c [SETUPAPI]
- Add stubs for CM_Set_Class_Registry_PropertyA/W.
- Add support for missing properties to CM_Set_DevNode_Registry_Property_ExA/W.

svn path=/trunk/; revision=51996
2011-05-29 16:18:22 +00:00
Eric Kohl
188384e873 [UMPNPMGR]
Implement PNP_GetClassRegProp and fix a little bug in PNP_GetDeviceRegProp.

svn path=/trunk/; revision=51995
2011-05-29 15:58:49 +00:00
Matthias Kupfer
6d0de91d48 Edijs Kolesnikovics
<
terminedijs AT yahoo DOT com>

- Show GPL licence from beginning
- See issue #6278 for details.

svn path=/trunk/; revision=51993
2011-05-29 12:55:07 +00:00
Amine Khaldi
374a063487 [CMAKE]
* Add missing dependency.

svn path=/trunk/; revision=51990
2011-05-29 09:55:23 +00:00
Eric Kohl
0a2651adde [UMPNPMGR]
- Implement PNP_SetClassRegProp.
- Fix a typo in the PNP_SetClassRegProp declaration in pnp.idl.

svn path=/trunk/; revision=51988
2011-05-28 22:15:38 +00:00
Amine Khaldi
4b796ad26c [CMAKE]
* Improve reactos.cab creation a bit: create it using a custom command instead of a custom target.. marking it as output this way ensures a proper cleanup with make clean and co.

svn path=/trunk/; revision=51987
2011-05-28 22:03:07 +00:00
Eric Kohl
971a0b7b63 [UMPNPMGR]
Add support for missing properties to PNP_SetDeviceRegProp and fix a property issue in PNP_GetDeviceRegProp.

svn path=/trunk/; revision=51982
2011-05-28 19:08:20 +00:00
Roel Messiant
91ed75b1f7 [NTOSKRNL]
- Don't treat the head of the tracking block list as a list entry.

svn path=/trunk/; revision=51981
2011-05-28 17:56:07 +00:00
Eric Kohl
21803c4ad1 [UMPNPMGR]
Add support for missing properties to PNP_GetDeviceRegProp and improve error handling.

svn path=/trunk/; revision=51980
2011-05-28 17:35:51 +00:00
Eric Kohl
9594c14d5f Add disk.inf to source file list.
svn path=/trunk/; revision=51978
2011-05-28 16:19:14 +00:00
Eric Kohl
fb4188594e Add an .inf file for disk drives.
See issue #5111 for more details.

svn path=/trunk/; revision=51976
2011-05-28 16:12:28 +00:00
Cameron Gutman
2a77b92692 [UNPNPMGR]
- Simplify and fix a few bugs in the ClassGUID reading code

svn path=/trunk/; revision=51974
2011-05-28 13:42:06 +00:00
James Tabor
e878e6c8fc [ScreenSaver]
- Fixed screen saver load and save plus the registry problems.

svn path=/trunk/; revision=51973
2011-05-28 11:39:36 +00:00
James Tabor
787984bc0f - No need to do extra work when the process starts.
svn path=/trunk/; revision=51972
2011-05-28 00:32:15 +00:00
James Tabor
90e1322075 [Win32k]
- Get screen saver running. Need more work on WinLogon register issues and problems.
- Miscellaneous changes and cleanups.

svn path=/trunk/; revision=51971
2011-05-27 23:18:57 +00:00
Cameron Gutman
6b5280da8a [PCIIDE/PCIIDEX]
- Also update cmake files

svn path=/trunk/; revision=51970
2011-05-27 22:53:39 +00:00
Cameron Gutman
4b24374764 [USETUP]
- Load other driver sections from txtsetup.sif
- Enable a debug print
[TXTSETUP]
- Add PnP entries for storage devices
[PCIIDE/PCIIDEX]
- Add to bootcd
- Both usetup's PnP manager and the user-mode PnP manager now recognize PCI IDE channels

svn path=/trunk/; revision=51969
2011-05-27 22:35:05 +00:00
Cameron Gutman
c963e3d148 [HDC]
- PCIIDE should be installed for each PCI IDE controller and UNIATA should be installed for each IDE channel
- Remove an extra comma in the compatible adapters entries

svn path=/trunk/; revision=51968
2011-05-27 22:27:37 +00:00
Cameron Gutman
ceb022f8e1 [PCIIDEX]
- Don't report raw device support to allow the IDE channel driver (uniata) to take over control of the enumerated devices
- Ideally the PnP manager should deal with a driver collision like this but it doesn't currently

svn path=/trunk/; revision=51967
2011-05-27 22:06:43 +00:00
Cameron Gutman
3bff188bfc [NTOSKRNL]
- Add a special case in IopLoadServiceModule for 1st stage setup when we have no service entries so we can still load drivers
- Fixes an old regression with 1st stage PnP which now can load drivers again

svn path=/trunk/; revision=51966
2011-05-27 21:56:55 +00:00
Pierre Schweitzer
80d496143d [NTOSKRNL]
Fix struct size checking for debug remove locks.
Spotted by Roel

svn path=/trunk/; revision=51965
2011-05-27 21:21:36 +00:00
Cameron Gutman
5d2112a43b [UMPNPMGR]
- Determine whether the device is really installed by reading the ClassGUID key instead of looking at the device flags
- Add a debug print for device installation (shouldn't be too spammy except and will be helpful for hotplugging)
[USETUP]
- Reenable the 1st stage PnP manager

svn path=/trunk/; revision=51963
2011-05-27 20:50:17 +00:00
Eric Kohl
ccda38feca [MSPORTS]
- Implement a simple property sheet provider for serial ports. The property sheet does not show yet because the dialog resource is not found because a call to FindResourceW fails.

svn path=/trunk/; revision=51960
2011-05-27 15:33:12 +00:00
Eric Kohl
94786cb21a [SETUPAPI]
- SetupDiGetClassDevPropertySheetsW: Improve the way property sheet pages are added to a property sheet. This change enables us to retrieve the number of property sheet pages provided by a property sheet provider without leaking property sheets.

svn path=/trunk/; revision=51959
2011-05-27 15:07:43 +00:00
Matthias Kupfer
bc57750cb9 patch by Igor Paliychuk <mansonigor at gmail dot com>:
- [TRANSLATIONS] update ukrainian locale

svn path=/trunk/; revision=51948
2011-05-27 08:18:33 +00:00
Cameron Gutman
6b41510d8b [USETUP]
- Disable the 1st stage user-mode PnP manager because it is creating incomplete registry keys which is confusing the real user-mode PnP manager and preventing devices installed in 1st stage from appearing in device manager
- Fixes displaying PCI bus controllers in device manager
- I need to discuss with Herve what should be done with this code

svn path=/trunk/; revision=51947
2011-05-27 03:40:22 +00:00
Cameron Gutman
2b5e8a3588 [NTOSKRNL]
- Quick fix for the crash loading boot-time legacy drivers
- More device node flag state fixes coming soon

svn path=/trunk/; revision=51946
2011-05-27 02:11:05 +00:00