Commit graph

46476 commits

Author SHA1 Message Date
Thomas Faber ca91b96107 [KMTESTS/KE]
- KeIrql: make use of the new build type features
- KeApc: test internals of enabling/disable APCs
[KMTESTS/EX]
- better portability for ExInterlocked test

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52782
2011-07-22 12:01:48 +00:00
Thomas Faber ed72d2fbd2 [KMTESTS]
- small structure improvement in kmt_test.h
- add globals to allow easy checking for UP/MP & Free/Checked builds, as that is required for some tests
- add KernelType example test demonstrating the above
- add a function to restore the irql (allows some failing tests to exit gracefully)

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52781
2011-07-22 11:51:18 +00:00
Thomas Faber 7eb0e89e51 [KMTESTS]
- put driver files into 'bin' with the other tests instead of system32\drivers
- globally define NTDDI_VERSION=NTDDI_WS03_SP1 instead of doing it in each test
- fix testlist sorting (ASCII-order, but ignore leading minus)

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52780
2011-07-22 11:33:17 +00:00
Thomas Faber 270b3045e7 [KMTESTS/EX]
- ExResource part 2: test concurrent acquisition of a resource in multiple threads
- ExInterlocked part 2: check calling convention correctness
- these show quite a number of bugs in ReactOS ;)

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52674
2011-07-13 21:17:55 +00:00
Thomas Faber f7dc696190 [KMTESTS/EX]
- add a test for hard-error handling
- add test for interlocked functions (part 1)

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52673
2011-07-13 20:08:05 +00:00
Thomas Faber ba142f75c3 [KMTESTS]
- add support for hidden tests also for kernel-mode
- small fixes and improvements

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52638
2011-07-11 18:03:19 +00:00
Thomas Faber 76b9429abf [KMTEST]
- improve user friendliness by making the service management functions actually work

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52599
2011-07-10 08:03:15 +00:00
Thomas Faber 363d5300d0 [KMTESTS]
- decrease log buffer size because ROS has a problem with unlocking it otherwise ;)
- add test for critical/guarded regions
- add test for executive resources (part 1)

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52592
2011-07-09 22:02:54 +00:00
Thomas Faber af53d3dc25 [KMTESTS/KE]
- add a test for DPCs
- add a test for IRQ levels

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52567
2011-07-08 06:38:01 +00:00
Thomas Faber 9bfa0dd900 [KMTESTS]
- add support for special-purpose standalone drivers
- add standalone driver to Example test

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52550
2011-07-06 22:23:03 +00:00
Thomas Faber 8d003b1a1c [KMTESTS]
- add a user-mode part to the example testlist.c
- misc fixes

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52549
2011-07-06 18:55:21 +00:00
Thomas Faber bf054095df [KMTESTS]
- prepare the device object for being opened multiple times (required for communication with special-purpose drivers)
- more verbose DPRINTs
- implement utility functions for app<->driver communication
- misc fixes

svn path=/branches/GSoC_2011/KMTestSuite/; revision=52541
2011-07-04 19:47:49 +00:00
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