Aleksandar Andrejevic [Tue, 25 Jun 2013 17:18:34 +0000 (17:18 +0000)]
[NTVDM]
Fix more bugs in DosResizeMemory().
svn path=/branches/ntvdm/; revision=59339
Aleksandar Andrejevic [Tue, 25 Jun 2013 16:46:35 +0000 (16:46 +0000)]
[NTVDM]
Fix the VDM DOS memory manager to use the segment of the data portion of the block, rather than the MCB itself.
svn path=/branches/ntvdm/; revision=59338
Aleksandar Andrejevic [Mon, 24 Jun 2013 23:10:31 +0000 (23:10 +0000)]
[NTVDM]
Fix many VDM DOS memory manager bugs.
svn path=/branches/ntvdm/; revision=59336
Aleksandar Andrejevic [Mon, 24 Jun 2013 18:15:53 +0000 (18:15 +0000)]
[NTVDM]
Implement several directory operations.
svn path=/branches/ntvdm/; revision=59331
Aleksandar Andrejevic [Mon, 24 Jun 2013 01:59:09 +0000 (01:59 +0000)]
[NTOSKRNL]
Check for old-style MZ executable in PeFmtCreateSection.
[NTVDM]
Fix bugs.
Implement MZ executable loading.
svn path=/branches/ntvdm/; revision=59328
Aleksandar Andrejevic [Sun, 23 Jun 2013 13:17:06 +0000 (13:17 +0000)]
[KERNEL32]
Use the already implemented BaseIsDosApplication instead of BasepCheckDosApp.
svn path=/branches/ntvdm/; revision=59316
Hermès Bélusca-Maïto [Sun, 23 Jun 2013 12:55:17 +0000 (12:55 +0000)]
[KERNEL32]
Never EVER process instructions INSIDE a debug macro (e.g. ASSERT) because when compiling in Release Mode, the code isn't executed at all.
Fix that. See revision r59310 for more details.
svn path=/branches/ntvdm/; revision=59314
Aleksandar Andrejevic [Sun, 23 Jun 2013 12:33:13 +0000 (12:33 +0000)]
[KERNEL32]
Implement BasepCheckDosApp.
Enable NTVDM in CreateProcessInternalW.
[NTVDM]
Remove the old command line parser code. The entire command line is for the DOS application now.
svn path=/branches/ntvdm/; revision=59310
Aleksandar Andrejevic [Sun, 23 Jun 2013 08:44:46 +0000 (08:44 +0000)]
[NTOSKRNL]
Fix NtQueryTimerResolution and NtSetTimerResolution to work in kernel mode.
svn path=/branches/ntvdm/; revision=59305
Aleksandar Andrejevic [Sun, 23 Jun 2013 00:56:38 +0000 (00:56 +0000)]
[NTVDM]
Implement NtQueryTimerResolution.
svn path=/branches/ntvdm/; revision=59300
Aleksandar Andrejevic [Sun, 23 Jun 2013 00:47:47 +0000 (00:47 +0000)]
[NTOSKRNL]
Implement NtSetTimerResolution.
svn path=/branches/ntvdm/; revision=59299
Aleksandar Andrejevic [Sun, 23 Jun 2013 00:20:24 +0000 (00:20 +0000)]
[NTVDM]
Perform multiple CPU instructions in one emulator cycle.
svn path=/branches/ntvdm/; revision=59298
Aleksandar Andrejevic [Sun, 23 Jun 2013 00:11:45 +0000 (00:11 +0000)]
[NTVDM]
Remove whitespace from empty lines.
svn path=/branches/ntvdm/; revision=59296
Hermès Bélusca-Maïto [Sat, 22 Jun 2013 01:48:28 +0000 (01:48 +0000)]
[NTVDM]
Use correctly NDEBUG, and use ReactOS macro: ASSERT, instead of the assert() CRT function.
svn path=/branches/ntvdm/; revision=59280
Aleksandar Andrejevic [Sat, 22 Jun 2013 01:41:51 +0000 (01:41 +0000)]
[NTVDM]
Improve keyboard IRQ performance.
Add debug output to measure number of instructions per second.
svn path=/branches/ntvdm/; revision=59279
Aleksandar Andrejevic [Fri, 21 Jun 2013 22:14:07 +0000 (22:14 +0000)]
[NTVDM]
Use local time instead of system time for the clock.
Implement the "set system date" and "set system time" DOS functions.
svn path=/branches/ntvdm/; revision=59277
Aleksandar Andrejevic [Fri, 21 Jun 2013 21:25:01 +0000 (21:25 +0000)]
[NTVDM]
Implement the keyboard IRQ.
svn path=/branches/ntvdm/; revision=59276
Aleksandar Andrejevic [Fri, 21 Jun 2013 13:55:31 +0000 (13:55 +0000)]
[NTVDM]
Change the PIT code to use only one thread, to avoid race conditions.
Implement PIT counter reading and latch command.
svn path=/branches/ntvdm/; revision=59273
Aleksandar Andrejevic [Fri, 21 Jun 2013 01:44:56 +0000 (01:44 +0000)]
[NTVDM]
Fix the PIC IRQ code. Interrupt requests only occur when no higher-priority IRQ is busy.
svn path=/branches/ntvdm/; revision=59272
Aleksandar Andrejevic [Fri, 21 Jun 2013 00:47:07 +0000 (00:47 +0000)]
[NTVDM]
Implement Programmable Interval Timer (PIT) emulation. Fix bugs in interrupts and PIC emulation.
svn path=/branches/ntvdm/; revision=59271
Aleksandar Andrejevic [Thu, 20 Jun 2013 19:43:29 +0000 (19:43 +0000)]
[NTVDM]
Make sure bit 2 in the ISR of the master PIC is set when an IRQ in the slave PIC occurs.
svn path=/branches/ntvdm/; revision=59269
Aleksandar Andrejevic [Thu, 20 Jun 2013 19:00:07 +0000 (19:00 +0000)]
[NTVDM]
Implement 8259 Programmable Interrupt Controller emulation.
svn path=/branches/ntvdm/; revision=59268
Aleksandar Andrejevic [Thu, 20 Jun 2013 02:10:42 +0000 (02:10 +0000)]
[NTVDM]
Implement the "get system time" and "get system date" functions in the virtual DOS kernel.
svn path=/branches/ntvdm/; revision=59264
Aleksandar Andrejevic [Wed, 19 Jun 2013 23:12:54 +0000 (23:12 +0000)]
[SOFTX86]
Fix warnings in softx87 (the FPU emulator).
svn path=/branches/ntvdm/; revision=59262
Aleksandar Andrejevic [Wed, 19 Jun 2013 22:53:16 +0000 (22:53 +0000)]
[NTVDM]
Implement up/down scrolling function in interrupt 0x10.
svn path=/branches/ntvdm/; revision=59261
Aleksandar Andrejevic [Wed, 19 Jun 2013 21:13:43 +0000 (21:13 +0000)]
[SOFTX86]
Fix warnings in softx86.
svn path=/branches/ntvdm/; revision=59260
Hermès Bélusca-Maïto [Mon, 17 Jun 2013 00:00:36 +0000 (00:00 +0000)]
[NTVDM]
Start of an implementation of a software DOS emulator.
Brought to you by Aleksandar Andrejevic. Good luck ;)
Remove the old language files. They will be recreated when the time comes.
svn path=/branches/ntvdm/; revision=59249
Hermès Bélusca-Maïto [Sun, 16 Jun 2013 23:54:30 +0000 (23:54 +0000)]
[SOFTX86]
Fix some bugs of softx86, see CORE-7250 for more information.
All diffs from the original softx86 code should also be put in softx86_ros.diff.
svn path=/branches/ntvdm/; revision=59248
Hermès Bélusca-Maïto [Sun, 16 Jun 2013 23:33:04 +0000 (23:33 +0000)]
Integrate softx86-v0.00.0033 library.
Allow compilation warnings (the downsides are that it generates LOTS of warnings...)
svn path=/branches/ntvdm/; revision=59247
Hermès Bélusca-Maïto [Sun, 16 Jun 2013 22:01:41 +0000 (22:01 +0000)]
Create a branch for Aleksandar Andrejevic for his work on NTVDM. See jira.reactos.org/browse/CORE-7250 for more details.
svn path=/branches/ntvdm/; revision=59241
Hermès Bélusca-Maïto [Sun, 16 Jun 2013 21:35:18 +0000 (21:35 +0000)]
[KERNEL32]
- Change the argument types of both GetConsoleFontInfo() and SetConsoleFont() to be more complete. This research is based off of the examining of source code from the jockx-the-game project (licensed under a BSD license). Specifically, the files containing the functions are in both ConsoleFont.cpp and ConsoleFont.h:
* http://code.google.com/p/jockx-the-game/source/browse/DamageCalc/ConsoleFont.cpp?r=
a8ee04a8a8156de58754c4190f48435c32cfefaf
* http://code.google.com/p/jockx-the-game/source/browse/DamageCalc/ConsoleFont.h?r=
a8ee04a8a8156de58754c4190f48435c32cfefaf
- Since the code for jockx-the-game used a 0 for the boolean argument for GetConsoleFontInfo() in ConsoleFont.cpp, the patch creator currently doesn't know what the argument does exactly.
**NOTE**: Using http://pages.videotron.com/lyra/PowerBASIC/ConsoleFont.html too, the patch committer (hbelusca) was able to deduce that the boolean has the same meaning as the bMaximumWindow parameter of the GetCurrentConsoleFont function (http://msdn.microsoft.com/en-us/library/windows/desktop/ms683176(v=vs.85).aspx).
Patch by Lee Schroeder, modified by me as explained above.
CORE-7015 #resolve #comment Committed in revision r, thanks :)
Extras:
- Fix the return type of GetCurrentConsoleFont
- Add both GetConsoleFontSize and GetCurrentConsoleFont prototypes (documented) to wincon.h
svn path=/trunk/; revision=59240
Eric Kohl [Sun, 16 Jun 2013 21:26:04 +0000 (21:26 +0000)]
[USRMGR]
Enable the calls to NetUserSetInfo. We are now able to change user properties.
svn path=/trunk/; revision=59239
Daniel Reimer [Sun, 16 Jun 2013 20:37:04 +0000 (20:37 +0000)]
logical 'and' applied to non-boolean constant
Reviewed by Thomas Faber and asked for commit, so blame him!
CORE-7207 #resolve #comment Fixed!
svn path=/trunk/; revision=59238
Eric Kohl [Sun, 16 Jun 2013 20:07:29 +0000 (20:07 +0000)]
[NETAPI32]
- BuildUserInfoBuffer: return password age
- SetUserInfo: set account control flags and implement level 1008
svn path=/trunk/; revision=59237
Amine Khaldi [Sun, 16 Jun 2013 19:13:50 +0000 (19:13 +0000)]
[MESA32]
* Silence warnings.
svn path=/trunk/; revision=59236
Amine Khaldi [Sun, 16 Jun 2013 17:42:42 +0000 (17:42 +0000)]
[FREETYPE]
* Silence the unused-but-set warnings. Dedicated to Thomas Faber.
svn path=/trunk/; revision=59235
Hermès Bélusca-Maïto [Sun, 16 Jun 2013 17:16:33 +0000 (17:16 +0000)]
[KERNEL32]
- Simplify initialization of CONSOLE_START_INFO objects by also initializing their AppPath member in InitConsoleInfo.
- Add two members IconPath and IconIndex in the CONSOLE_START_INFO structure, to be used in a future work...
[HEADERS]
- CHAR_INFO* == PCHAR_INFO
- Add two informative comments for two fields of the CONSOLE_READOUTPUT structure (again, to be used in a future work...)
svn path=/trunk/; revision=59234
Eric Kohl [Sun, 16 Jun 2013 16:24:45 +0000 (16:24 +0000)]
[LSASRV]
Fix uninitialized variable.
CORE-7303 #resolve #comment Fixed!
svn path=/trunk/; revision=59233
Amine Khaldi [Sun, 16 Jun 2013 14:36:02 +0000 (14:36 +0000)]
[LOCALSPL_WINETEST]
* Sync with Wine 1.5.26.
svn path=/trunk/; revision=59232
Amine Khaldi [Sun, 16 Jun 2013 14:35:12 +0000 (14:35 +0000)]
[LOCALSPL]
* Sync with Wine 1.5.26.
svn path=/trunk/; revision=59231
Amine Khaldi [Sun, 16 Jun 2013 12:43:35 +0000 (12:43 +0000)]
[FONTVIEW]
* Restructure Display_OnPrint to eliminate allocating an unused variable and plug a leak.
svn path=/trunk/; revision=59230
Eric Kohl [Sun, 16 Jun 2013 12:15:06 +0000 (12:15 +0000)]
[NTFS]
Fix indentation and coding style. No code changes!!!
svn path=/trunk/; revision=59229
Amine Khaldi [Sun, 16 Jun 2013 11:11:48 +0000 (11:11 +0000)]
[QMGRPRXY]
* Sync with Wine 1.5.26.
svn path=/trunk/; revision=59228
Amine Khaldi [Sun, 16 Jun 2013 11:10:56 +0000 (11:10 +0000)]
[QMGR_WINETEST]
* Sync with Wine 1.5.26.
svn path=/trunk/; revision=59227
Amine Khaldi [Sun, 16 Jun 2013 11:10:20 +0000 (11:10 +0000)]
[QMGR]
* Sync with Wine 1.5.26.
svn path=/trunk/; revision=59226
Amine Khaldi [Sun, 16 Jun 2013 10:58:55 +0000 (10:58 +0000)]
[ATACTL]
* Add version information. By Lee Schroeder.
CR-16 CORE-6822
svn path=/trunk/; revision=59225
Johannes Anderwald [Sun, 16 Jun 2013 09:17:29 +0000 (09:17 +0000)]
[VIDEOPRT]
- Check if there is a dma adapter
CORE-7181 #comment please retest
svn path=/trunk/; revision=59224
Eric Kohl [Sat, 15 Jun 2013 22:22:15 +0000 (22:22 +0000)]
[NETAPI32]
- NetUserEnum, NetUserGetInfo: Query UserAllInformation instead of UserAccountInformation.
- BuildUserInfoBuffer: Return more information to the caller (UserComment, Parameters, UnitsPerWeek, LogonHours and LogonServer).
- FreeUserInfo: Free additional strings.
svn path=/trunk/; revision=59223
Eric Kohl [Sat, 15 Jun 2013 19:15:36 +0000 (19:15 +0000)]
[NETAPI32]
- SetUserInfo: Implement level 2, 1003, 1006, 1007, 1009, 1011, 1012, 1013, 1014, 1052 and 1053.
- SetUserInfo: Ignore NULL-Strings.
- NetUserSetInfo: Enable implemented level.
svn path=/trunk/; revision=59222
Amine Khaldi [Sat, 15 Jun 2013 11:57:55 +0000 (11:57 +0000)]
[DBGHELP]
* Sync with Wine 1.5.26.
svn path=/trunk/; revision=59221
Johannes Anderwald [Sat, 15 Jun 2013 08:23:21 +0000 (08:23 +0000)]
[MMSYS]
- Implement audio selection button
svn path=/trunk/; revision=59220
Johannes Anderwald [Sat, 15 Jun 2013 06:34:38 +0000 (06:34 +0000)]
[MOUHID]
- Fix build
[HIDUSB]
- Fix warnings
svn path=/trunk/; revision=59219
Johannes Anderwald [Sat, 15 Jun 2013 06:24:03 +0000 (06:24 +0000)]
[HID]
- Fix function signatures
- Fix build
svn path=/trunk/; revision=59218
Johannes Anderwald [Sat, 15 Jun 2013 06:18:02 +0000 (06:18 +0000)]
[HIDPARSER, HIDPARSE, INCLUDE]
- Fix function signatures
CORE-7183 #comment fixed #resolve
svn path=/trunk/; revision=59217
Eric Kohl [Fri, 14 Jun 2013 23:19:24 +0000 (23:19 +0000)]
[USRMGR]
Enable call to NetUserSetInfo. Now we can rename user accounts.
svn path=/trunk/; revision=59216
Eric Kohl [Fri, 14 Jun 2013 22:31:38 +0000 (22:31 +0000)]
[NETAPI32]
- Implement NetUserSetInfo (levels 0, 1 and 3 only).
- Add level 0 support to SetUserInfo.
svn path=/trunk/; revision=59215
Eric Kohl [Fri, 14 Jun 2013 16:12:15 +0000 (16:12 +0000)]
[SYSDM]
Fix a typo that was found by cppcheck.
svn path=/trunk/; revision=59214
Sylvain Petreolle [Fri, 14 Jun 2013 09:11:25 +0000 (09:11 +0000)]
[DEVMGR]
Fix exceptions occuring because of missing parameters.
svn path=/trunk/; revision=59213
Hermès Bélusca-Maïto [Fri, 14 Jun 2013 01:10:43 +0000 (01:10 +0000)]
[CONSRV]
- Use a Unicode screen-buffer for the console.
- Fix some pointers miscalculations in Read/Write console output routines, which lead to character display problems sometimes.
CORE-7277 #resolve #comment Should be fixed in revision r59212. Thanks for your report :)
svn path=/trunk/; revision=59212
Hermès Bélusca-Maïto [Fri, 14 Jun 2013 01:00:49 +0000 (01:00 +0000)]
[KERNEL32]
Code formatting only + member variable type fix.
svn path=/trunk/; revision=59211
Eric Kohl [Thu, 13 Jun 2013 21:20:45 +0000 (21:20 +0000)]
[NETAPI32]
Move the NETAPI_IsLocalComputer prototype to netapi32.h.
svn path=/trunk/; revision=59210
Eric Kohl [Thu, 13 Jun 2013 19:51:14 +0000 (19:51 +0000)]
[NETAPI32]
NetLocalGroupSetInfo: Implement level 1002.
svn path=/trunk/; revision=59209
Jérôme Gardou [Thu, 13 Jun 2013 16:10:52 +0000 (16:10 +0000)]
[HIVESYS]
- Committed something unwanted, sorry.
svn path=/trunk/; revision=59208
Jérôme Gardou [Thu, 13 Jun 2013 15:09:45 +0000 (15:09 +0000)]
[INF]
- recognize PCI\CC_0000 as a valid ID for VBE adapters.
CORE-6773. #resolve #comment Should be fixed with r59207, thanks.
svn path=/trunk/; revision=59207
Eric Kohl [Wed, 12 Jun 2013 21:37:31 +0000 (21:37 +0000)]
[NETAPI32]
NetLocalGroupSetInfo: Implement level 1.
svn path=/trunk/; revision=59206
Daniel Reimer [Tue, 11 Jun 2013 22:21:49 +0000 (22:21 +0000)]
Update for some German resource files by zehnvor.
svn path=/trunk/; revision=59205
Eric Kohl [Tue, 11 Jun 2013 21:09:26 +0000 (21:09 +0000)]
[SAMSRV]
Fix group renaming code. It is not enough to set the name attribute. The domain object also need a new name-id mapping. Also fail if the new group name is already used by any account object in the domain.
svn path=/trunk/; revision=59204
Eric Kohl [Mon, 10 Jun 2013 19:27:45 +0000 (19:27 +0000)]
[USRMGR]
Enable the call to NetLocalGroupSetInfo. Now we can rename groups.
svn path=/trunk/; revision=59203
Eric Kohl [Mon, 10 Jun 2013 18:19:03 +0000 (18:19 +0000)]
[NETAPI32]
Implement NetLocalGroupSetInfo (level 0 only).
svn path=/trunk/; revision=59202
James Tabor [Mon, 10 Jun 2013 17:36:04 +0000 (17:36 +0000)]
[User32]
- Release capture if the scroll is not tracking events. This fixes CORE-7075.
- Minor sync porting to minimize differences.
svn path=/trunk/; revision=59201
Eric Kohl [Mon, 10 Jun 2013 16:20:43 +0000 (16:20 +0000)]
[SAMSRV]
Fix alias renaming code. It is not enough to set the name attribute. The domain object also need a new name-id mapping. Also fail if the new alias name is already used by any account object in the domain.
svn path=/trunk/; revision=59200
Hermès Bélusca-Maïto [Sun, 9 Jun 2013 21:37:34 +0000 (21:37 +0000)]
Code formatting only
svn path=/trunk/; revision=59199
Hermès Bélusca-Maïto [Sun, 9 Jun 2013 19:03:53 +0000 (19:03 +0000)]
[CONSRV]
- Pressing the Shift key while copying text in the console, allows us to copy it without newlines (tested on Windows).
- When starting keyboard selection ("Marking"), put the cursor on top left of the console view.
- Improve key presses actions when being in selection mode (pressing ENTER when being in selection mode, copies the text and cancels selection mode, pressing ESC or Ctrl-C cancels the selection, etc...)
- Try to fix erratic context menu apparitions when being in Quick-Edit mode (caught by Javier Fernandez, aka. elhoir)
svn path=/trunk/; revision=59198
Sylvain Petreolle [Sun, 9 Jun 2013 13:47:01 +0000 (13:47 +0000)]
configure.sh:
Allow passing -D parameters to cmake.
Both -DVAR=value and -D VAR=value syntaxes are supported.
svn path=/trunk/; revision=59197
Amine Khaldi [Sun, 9 Jun 2013 10:47:20 +0000 (10:47 +0000)]
[CMAKE]
* Update base addresses.
CORE-7262 #resolve
svn path=/trunk/; revision=59196
Eric Kohl [Sun, 9 Jun 2013 09:40:24 +0000 (09:40 +0000)]
[NETAPI32]
Add level 3 support to NetLocalGroupAddMembers and NetLocalGroupDelMembers.
svn path=/trunk/; revision=59195
Timo Kreuzer [Sun, 9 Jun 2013 08:54:33 +0000 (08:54 +0000)]
[NDK]
- Add NUMBER_POOL_LOOKASIDE_LISTS constant
- Add PAT MSR constants for amd64
- Add missing extern "C"
[NTOSKRNL]
- Fix pool lookaside list usage for 64 bit
svn path=/trunk/; revision=59194
Hermès Bélusca-Maïto [Sat, 8 Jun 2013 14:48:33 +0000 (14:48 +0000)]
[KERNEL32]
- Fix IN/OUT declaration of parameters for GetFullPathNameA/W
- Fix a bad usage of GetFullPathNameW in the GetTempPathW API, where the source and destination buffer for GetFullPathNameW was the same (Yet another Wineism :(( ). On Windows, using the same buffer fills it with a garbled string. Avoid this behaviour on ReactOS too, because internally GetFullPathNameW calls RtlGetFullPathName_U, the latter zeroing-out the destination buffer before usage.
[RTL:PATH]
See comments of revision r59183 (and in particular, fix some ntdll:RtlDos* path functions).
svn path=/trunk/; revision=59193
Eric Kohl [Sat, 8 Jun 2013 14:41:56 +0000 (14:41 +0000)]
[NETAPI32]
Implement NetLocalGroupDelMember and NetLocalGroupDelMembers (level 0 only).
svn path=/trunk/; revision=59192
Eric Kohl [Sat, 8 Jun 2013 13:47:34 +0000 (13:47 +0000)]
[NETAPI32]
Implement NetLocalGroupAddMember and NetLocalGroupAddMember (level 0 only).
svn path=/trunk/; revision=59191
Eric Kohl [Sat, 8 Jun 2013 11:04:18 +0000 (11:04 +0000)]
[NETAPI32]
NetLocalGroupGetMembers: Implement levels 2 and 3. Fixes netapi32:access winetest failures.
svn path=/trunk/; revision=59190
Aleksey Bragin [Sat, 8 Jun 2013 10:31:39 +0000 (10:31 +0000)]
[KMTEST]
- Fix variable declaration placement.
svn path=/trunk/; revision=59189
Aleksey Bragin [Sat, 8 Jun 2013 10:19:26 +0000 (10:19 +0000)]
[KMTEST]
- Implement simple KeDeviceQueue test by Moscow State Technical University students. Improvements are welcome.
svn path=/trunk/; revision=59188
Hermès Bélusca-Maïto [Fri, 7 Jun 2013 23:50:44 +0000 (23:50 +0000)]
Fix code indentation
svn path=/trunk/; revision=59187
Eric Kohl [Fri, 7 Jun 2013 22:36:49 +0000 (22:36 +0000)]
[NETAPI32]
Fix NetLocalGroupGetMembers and implement level 1. The netapi32:access winetest does not crash any more and group members appear in the user manager control panel.
svn path=/trunk/; revision=59186
Hermès Bélusca-Maïto [Fri, 7 Jun 2013 20:40:34 +0000 (20:40 +0000)]
[KERNEL32-RTL]
Fix return type and usage of RtlDetermineDosPathNameType_U, and use the declaration of RTL_PATH_TYPE in winternl.h instead of the wineism DOS_PATHNAME_TYPE.
See r59183 and 59184 for more information.
svn path=/trunk/; revision=59185
Sylvain Petreolle [Fri, 7 Jun 2013 09:36:37 +0000 (09:36 +0000)]
Revert 59183 on hbelusca's request.
svn path=/trunk/; revision=59184
Hermès Bélusca-Maïto [Fri, 7 Jun 2013 01:25:57 +0000 (01:25 +0000)]
[KERNEL32-RTL]
Fix return type and usage of RtlDetermineDosPathNameType_U, and use the declaration of RTL_PATH_TYPE in winternl.h instead of the wineism DOS_PATHNAME_TYPE.
[RTL:PATH]
- Make usage of the IS_PATH_SEPARATOR(...) macro instead of automatically checking for L'\\' or L'/', and of OBJ_NAME_PATH_SEPARATOR when checking for L'\\' only or setting the character L'\\' (just code consistency only).
<Test fixes:>
- Fix a search loop and a check in RtlpWin32NTNameToNtPathName_U (a problem of setting the pointer *PartName via the variable p existed (always 1 character shift wrt. the expected result, and now *PartName is set to NULL even if p == NewBuffer).
- Zero out an optional parameter (if present) in RtlDosSearchPath_Ustr.
- Zero out the return buffer in RtlGetFullPathName_U (function from Wine).
Those fixes ^ correct the following tests:
* ntdll:RtlDosPathNameToNtPathName_U (58 errors to 4 errors remaining due to UNC path handling).
* ntdll:RtlDosSearchPath_U (9 errors to 6 errors remaining due to the fact that our RtlDosSearchPath_U doesn't throw exception on bad arguments because it checks the validity of its arguments (pointers especially), whereas on Windows it seems it doesn't happen to be the case).
* ntdll:RtlDosSearchPath_Ustr (4 errors to full success).
* ntdll:RtlGetFullPathName_U (31 errors to 8 errors).
* ntdll:RtlGetFullPathName_UstrEx (29 errors to 6 errors).
svn path=/trunk/; revision=59183
Aleksey Bragin [Thu, 6 Jun 2013 21:54:00 +0000 (21:54 +0000)]
[KMTEST]
- Fix variables declarations, and don't mix 1/0 and TRUE/FALSE. Boolean was invented for that.
svn path=/trunk/; revision=59182
Aleksey Bragin [Thu, 6 Jun 2013 09:44:34 +0000 (09:44 +0000)]
[KMTEST]
- Constantine Belev: Fix a few bugs in the SeQueryInfoToken test. Now it does not crash in ReactOS anymore.
svn path=/trunk/; revision=59181
Aleksey Bragin [Wed, 5 Jun 2013 23:25:02 +0000 (23:25 +0000)]
[KMTEST]
- Fix formatting of FsRtlTunnel.c
- Add proper header.
svn path=/trunk/; revision=59180
Hermès Bélusca-Maïto [Wed, 5 Jun 2013 23:24:04 +0000 (23:24 +0000)]
[ROSAPPS]
Add 4 little tests for RtlDetermineDosPathNameType
svn path=/trunk/; revision=59179
Aleksey Bragin [Wed, 5 Jun 2013 23:16:14 +0000 (23:16 +0000)]
[KMTEST]
- Add tests for SeQueryInformationToken NTAPI. By Moscow State Technical University students Constantine Belev, Denis Grishin, Egor Sinitsyn.
- Disabled from testbot because they bugcheck ReactOS (unimplemented functions bugcheck). Work in progress...
svn path=/trunk/; revision=59178
Aleksey Bragin [Wed, 5 Jun 2013 22:50:57 +0000 (22:50 +0000)]
[KMTEST]
- Add tests for FsRtl Tunnel Cache APIs. By Moscow State Technical University students Arseny Ashuha, Marina Volosnikova and Denis Petkevich.
- Disabled from testbot because they bugcheck ReactOS (unimplemented functions bugcheck).
svn path=/trunk/; revision=59177
Eric Kohl [Wed, 5 Jun 2013 22:08:53 +0000 (22:08 +0000)]
[NETAPI32]
Implement NetLocalGroupGetMembers. Level 0 support only. Will be tested and fixed when level 1 support will be added.
svn path=/trunk/; revision=59176
Jérôme Gardou [Wed, 5 Jun 2013 17:57:13 +0000 (17:57 +0000)]
[CMAKE]
- put all debug symbols (MSVC) in the same directory.
svn path=/trunk/; revision=59175
Jérôme Gardou [Wed, 5 Jun 2013 17:54:26 +0000 (17:54 +0000)]
[WIN32K]
- Don't crash if the focus message queue is NULL
svn path=/trunk/; revision=59174
Hermès Bélusca-Maïto [Mon, 3 Jun 2013 21:05:32 +0000 (21:05 +0000)]
[RTL]
Revert r59165 because RtlPrefixUnicodeString may not behave exactly as what the original code did (but keep the command in comment). I also want how tests behave with the change.
svn path=/trunk/; revision=59173
Eric Kohl [Mon, 3 Jun 2013 18:14:46 +0000 (18:14 +0000)]
[USRMGR]
Enable calls to NetLocalGroupDel and NetUserDel. Now we are able to add and remove groups and users.
svn path=/trunk/; revision=59172
Pierre Schweitzer [Mon, 3 Jun 2013 17:41:34 +0000 (17:41 +0000)]
[RAPPS]
Update French translation
svn path=/trunk/; revision=59171