Commit graph

53705 commits

Author SHA1 Message Date
Eric Kohl
7d25cfad37 [NETAPI32]
Add level 3 support to NetLocalGroupAddMembers and NetLocalGroupDelMembers.

svn path=/trunk/; revision=59195
2013-06-09 09:40:24 +00:00
Timo Kreuzer
740772014c [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
2013-06-09 08:54:33 +00:00
Hermès Bélusca-Maïto
450943cf42 [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
2013-06-08 14:48:33 +00:00
Eric Kohl
2370b46e6f [NETAPI32]
Implement NetLocalGroupDelMember and NetLocalGroupDelMembers (level 0 only).

svn path=/trunk/; revision=59192
2013-06-08 14:41:56 +00:00
Eric Kohl
044ead4a8f [NETAPI32]
Implement NetLocalGroupAddMember and NetLocalGroupAddMember (level 0 only).

svn path=/trunk/; revision=59191
2013-06-08 13:47:34 +00:00
Eric Kohl
f0c9ed8f21 [NETAPI32]
NetLocalGroupGetMembers: Implement levels 2 and 3. Fixes netapi32:access winetest failures.

svn path=/trunk/; revision=59190
2013-06-08 11:04:18 +00:00
Aleksey Bragin
015d9d3a12 [KMTEST]
- Fix variable declaration placement.

svn path=/trunk/; revision=59189
2013-06-08 10:31:39 +00:00
Aleksey Bragin
881c40e133 [KMTEST]
- Implement simple KeDeviceQueue test by Moscow State Technical University students. Improvements are welcome.

svn path=/trunk/; revision=59188
2013-06-08 10:19:26 +00:00
Hermès Bélusca-Maïto
ac49c11d60 Fix code indentation
svn path=/trunk/; revision=59187
2013-06-07 23:50:44 +00:00
Eric Kohl
a37d2347c3 [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
2013-06-07 22:36:49 +00:00
Hermès Bélusca-Maïto
6922a068e7 [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
2013-06-07 20:40:34 +00:00
Sylvain Petreolle
d93b910537 Revert 59183 on hbelusca's request.
svn path=/trunk/; revision=59184
2013-06-07 09:36:37 +00:00
Hermès Bélusca-Maïto
917be25184 [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
2013-06-07 01:25:57 +00:00
Aleksey Bragin
20770ec6a1 [KMTEST]
- Fix variables declarations, and don't mix 1/0 and TRUE/FALSE. Boolean was invented for that.

svn path=/trunk/; revision=59182
2013-06-06 21:54:00 +00:00
Aleksey Bragin
192f898958 [KMTEST]
- Constantine Belev: Fix a few bugs in the SeQueryInfoToken test. Now it does not crash in ReactOS anymore.

svn path=/trunk/; revision=59181
2013-06-06 09:44:34 +00:00
Aleksey Bragin
2b03ca813e [KMTEST]
- Fix formatting of FsRtlTunnel.c
- Add proper header.

svn path=/trunk/; revision=59180
2013-06-05 23:25:02 +00:00
Hermès Bélusca-Maïto
450ab7055a [ROSAPPS]
Add 4 little tests for RtlDetermineDosPathNameType 

svn path=/trunk/; revision=59179
2013-06-05 23:24:04 +00:00
Aleksey Bragin
73f6b44f85 [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
2013-06-05 23:16:14 +00:00
Aleksey Bragin
4b891e910a [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
2013-06-05 22:50:57 +00:00
Eric Kohl
bc21f371e4 [NETAPI32]
Implement NetLocalGroupGetMembers. Level 0 support only. Will be tested and fixed when level 1 support will be added.

svn path=/trunk/; revision=59176
2013-06-05 22:08:53 +00:00
Jérôme Gardou
45d6f4dc1b [CMAKE]
- put all debug symbols (MSVC) in the same directory.

svn path=/trunk/; revision=59175
2013-06-05 17:57:13 +00:00
Jérôme Gardou
50ab8e88e3 [WIN32K]
- Don't crash if the focus message queue is NULL

svn path=/trunk/; revision=59174
2013-06-05 17:54:26 +00:00
Hermès Bélusca-Maïto
6a14b4a76e [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
2013-06-03 21:05:32 +00:00
Eric Kohl
4c073fdf30 [USRMGR]
Enable calls to NetLocalGroupDel and NetUserDel. Now we are able to add and remove groups and users.

svn path=/trunk/; revision=59172
2013-06-03 18:14:46 +00:00
Pierre Schweitzer
1b25f67165 [RAPPS]
Update French translation

svn path=/trunk/; revision=59171
2013-06-03 17:41:34 +00:00
Daniel Reimer
7d7c107864 Update Rapps to have a one click function to update the Database in the menus.
svn path=/trunk/; revision=59170
2013-06-03 15:13:30 +00:00
Daniel Reimer
892c2f22f6 The last one, I promise ^^
Sorted the languages chronological, fixed some typos and extended the containing DLLs information for the MS Runtime Packs to all languages.
Changed the MB and kB in the French section to Mo and ko if not already done anyway.
Removed some double existent language IDs.
(Thx to Pierre and Olaf for helping with French and Polish)

svn path=/trunk/; revision=59169
2013-06-03 14:11:29 +00:00
Amine Khaldi
1966a15861 [KSPROXY]
* Exclude from build. Really. Honest.

svn path=/trunk/; revision=59168
2013-06-03 11:43:40 +00:00
Sylvain Petreolle
270084ffe1 Revert 59161/59152 in order to fix the tests.
svn path=/trunk/; revision=59167
2013-06-03 10:36:39 +00:00
Daniel Reimer
c3b0baccec CORE-7095 #resolve #comment Thanks for help !
- Added as far as still recent.

ROSAPPS-259 #resolve #comment Thanks for help !
- Added + Modification to German translation.

ROSAPPS-258 #resolve #comment Thanks for help !
- Added + small consistency fixes in the patch file.

CORE-6948 #resolve #comment Thanks for help !
- Added + Modification to German translation.

CORE-7064 #resolve #comment Thanks for help !
- Added + German translation.

Additionally I added German translations where missing.

svn path=/trunk/; revision=59166
2013-06-03 08:42:16 +00:00
Hermès Bélusca-Maïto
b7f2a77833 [RTL]
Use RtlPrefixUnicodeString.

svn path=/trunk/; revision=59165
2013-06-02 22:51:24 +00:00
Hermès Bélusca-Maïto
b483880367 [RTL]
Clarify the code a bit, no logical changes.

svn path=/trunk/; revision=59164
2013-06-02 22:44:09 +00:00
Hermès Bélusca-Maïto
3326a5b566 [RTL]
Use RtlDowncaseUnicodeChar instead of towlower

svn path=/trunk/; revision=59163
2013-06-02 22:11:50 +00:00
Eric Kohl
b09df02972 [NETAPI32]
- Remove obsolete WINE code.
- Implement NetUserDel.

svn path=/trunk/; revision=59162
2013-06-02 21:53:52 +00:00
Amine Khaldi
fc446057f0 * I missed this in r59152. Spotted by Robert Naumann.
CORE-7257 #resolve #comment Thanks !

svn path=/trunk/; revision=59161
2013-06-02 21:40:32 +00:00
James Tabor
6a8f226011 [User32]
- Patch by Sergey Guralnik : Init standard scrollbars during WM_NCCREATE.
- Modified for ReactOS.

svn path=/trunk/; revision=59160
2013-06-02 20:52:54 +00:00
James Tabor
df325d1444 [User32]
- Sync port to 1.5.31.

svn path=/trunk/; revision=59159
2013-06-02 20:48:12 +00:00
James Tabor
c15f4a2c93 [User32]
- Sync port to 1.5.31.

svn path=/trunk/; revision=59158
2013-06-02 20:47:56 +00:00
James Tabor
fba7a5c3f9 [User32]
- Sync port to 1.5.31.

svn path=/trunk/; revision=59157
2013-06-02 20:47:12 +00:00
James Tabor
3f5d3a590a [WineTests]
- Sync to 1.5.31.

svn path=/trunk/; revision=59156
2013-06-02 20:45:51 +00:00
Timo Kreuzer
ca40cc0835 [RTL]
Fix another warning

svn path=/trunk/; revision=59155
2013-06-02 19:25:38 +00:00
Timo Kreuzer
a6ced69e11 [DDK/XDK]
- Change inclusion order. This is necessary when using VS static analyze, which requires IRQL level constants to be defined before IRQL annotations are used.
- Comment out 2 ASSERTS in amd64 specific code for now.
- Add cmtypes to ntddk.template.h to account, replacing the manually added structures

svn path=/trunk/; revision=59154
2013-06-02 19:15:35 +00:00
Amine Khaldi
7bd70fbbf1 [NEWCC]
* Lock address space while deleting the segment and then unlock it. Brought to you by Nikolay Borisov.
CORE-7220 #resolve

svn path=/trunk/; revision=59153
2013-06-02 19:12:22 +00:00
Amine Khaldi
be78cf16ca [KSPROXY]
* Exclude from build. We don't need it at the moment.

svn path=/trunk/; revision=59152
2013-06-02 19:08:33 +00:00
Timo Kreuzer
0bacae2af9 [PSDK]
- Add proper definition for DBG_UNREFERENCED_PARAMETER and DBG_UNREFERENCED_LOCAL_VARIABLE

[NTOSKRNL/RTL]
- Fix a number of warnings about unreferenced local variables
- Add 2 assertions that unmapping a section succeeds

svn path=/trunk/; revision=59151
2013-06-02 19:04:02 +00:00
Hermès Bélusca-Maïto
98fc7aa05b "bugzilla" --> Jira
svn path=/trunk/; revision=59150
2013-06-02 18:44:50 +00:00
Hermès Bélusca-Maïto
a295454749 We use Jira now, as our bug tracker.
Patch by André Guibert de Bruet
CORE-7219 #resolve #comment Committed in r59149, thanks ;)

svn path=/trunk/; revision=59149
2013-06-02 18:41:40 +00:00
Hermès Bélusca-Maïto
59abd42a24 [RTL-PATH]
- Fix hackish lower-casing instructions.
- Fix a DPRINT string specifier.
- Fix some string/pointer algebra.

Fixes 10 kernel32:FindFiles tests (all the "Test failed: Wrong last error. Expected 2, got 123" failures, where 123 == ERROR_INVALID_NAME).

CORE-6667 #commented "NoWine" patch committed in revision r59148.

svn path=/trunk/; revision=59148
2013-06-02 18:33:52 +00:00
Timo Kreuzer
e4cd39e255 [RTL]
- Fix a format specifier

[NTOSKRNL]
- Add a missing compiler memory barrier to KeIpiGenericCall
- Remove a pointless cast

svn path=/trunk/; revision=59147
2013-06-02 18:01:00 +00:00
Hermès Bélusca-Maïto
d313d838eb [APITESTS-KERNEL32]
Commit my FindFiles test.
ROSTESTS-84 #resolve #comment Committed in revision 59146.

svn path=/trunk/; revision=59146
2013-06-02 17:01:22 +00:00