reactos.git
7 years ago[PSDK]
Pierre Schweitzer [Tue, 18 Oct 2016 18:28:45 +0000 (18:28 +0000)]
[PSDK]
Make DECLARE_CONST_UNICODE_STRING() work with something else than MSVC

svn path=/trunk/; revision=72986

7 years ago[KERNEL32_APITEST]: SetConsoleWindowInfo test:
Hermès Bélusca-Maïto [Tue, 18 Oct 2016 17:44:23 +0000 (17:44 +0000)]
[KERNEL32_APITEST]: SetConsoleWindowInfo test:
- Improve the checks done for the tests;
- Add a new test (Test7) that tests the allowed console window sizes wrt. the csbi.dwMaximumWindowSize size.

svn path=/trunk/; revision=72985

7 years ago[CONSRV]: Fixes for SetConsoleWindowInfo, where one notices that again the MSDN docum...
Hermès Bélusca-Maïto [Tue, 18 Oct 2016 17:16:57 +0000 (17:16 +0000)]
[CONSRV]: Fixes for SetConsoleWindowInfo, where one notices that again the MSDN documentation on SetConsoleWindowInfo is partially wrong.
This makes all the kernel32_apitest:SetConsoleWindowInfo tests pass now.
Also, notify the console window about the size change.

svn path=/trunk/; revision=72984

7 years ago[CONSRV]: Minor fixes:
Hermès Bélusca-Maïto [Tue, 18 Oct 2016 17:12:57 +0000 (17:12 +0000)]
[CONSRV]: Minor fixes:
- Use GetSystemWindowsDirectoryW instead of GetWindowsDirectoryW inside "TranslateConsoleName";
- Don't add scrollbars by default to the console window when it's being created;
- Fix the 2nd parameter of MapVirtualKeyW call;
- Two code style changes in text.c and tuiterm.c.

svn path=/trunk/; revision=72983

7 years ago[KERNEL32_APITEST]: Imprrove the SetConsoleWindowInfo test (add a new test case,...
Hermès Bélusca-Maïto [Tue, 18 Oct 2016 16:08:34 +0000 (16:08 +0000)]
[KERNEL32_APITEST]: Imprrove the SetConsoleWindowInfo test (add a new test case, and now correctly restores the console size after all the tests are done).

svn path=/trunk/; revision=72982

7 years ago[KERNEL32_APITEST]: Commit a test for SetConsoleWindowInfo.
Hermès Bélusca-Maïto [Tue, 18 Oct 2016 15:35:06 +0000 (15:35 +0000)]
[KERNEL32_APITEST]: Commit a test for SetConsoleWindowInfo.

svn path=/trunk/; revision=72981

7 years ago[MODE]: Numerous fixes for the MODE utility:
Hermès Bélusca-Maïto [Mon, 17 Oct 2016 22:19:22 +0000 (22:19 +0000)]
[MODE]: Numerous fixes for the MODE utility:
- Parse the command line the same peculiar way as Windows' mode.com tool. This is certainly done such as to be backwards-compatible with MS-DOS' tool.
- Fix serial port string parsing, based on Wine's dll/win32/kernel32/wine/comm.c code. Note that the BuildCommDCB kernel32 API has the same syntax :)
- Implement support for MODE CON codepage, as well as screen size and typematic settings. Screen size code is based on NTVDM's one and will be subject to fixes later on.

MISSING stuff:
- LPT/COM port redirection.
- Localization :)

CORE-12176 #resolve
CORE-7998 CORE-8001

svn path=/trunk/; revision=72980

7 years ago[WDMAUD]
Johannes Anderwald [Mon, 17 Oct 2016 19:03:01 +0000 (19:03 +0000)]
[WDMAUD]
- fix a bug in WdmAudControlDeviceType
- clear handle value when opening device interface key fails

svn path=/trunk/; revision=72979

7 years ago[MSAFD] Add some parameter checks on send/recv based on wine tests. CORE-12104
Peter Hater [Mon, 17 Oct 2016 15:24:43 +0000 (15:24 +0000)]
[MSAFD] Add some parameter checks on send/recv based on wine tests. CORE-12104

svn path=/trunk/; revision=72978

7 years ago[ATL][ATL_APITEST] Implementation / fixes for varions CRegKey functions, by Katayama...
Mark Jansen [Mon, 17 Oct 2016 12:50:54 +0000 (12:50 +0000)]
[ATL][ATL_APITEST] Implementation / fixes for varions CRegKey functions, by Katayama Hirofumi MZ. CORE-11746 #resolve

svn path=/trunk/; revision=72977

7 years ago[KMTESTS:OB]
Thomas Faber [Mon, 17 Oct 2016 09:28:15 +0000 (09:28 +0000)]
[KMTESTS:OB]
- Add a test for the NT directory structure's ACLs
CORE-9184

svn path=/trunk/; revision=72976

7 years ago[NTOS:CM]
Thomas Faber [Sat, 15 Oct 2016 20:16:47 +0000 (20:16 +0000)]
[NTOS:CM]
- Ignore the KEY_WOW64_32KEY and KEY_WOW64_64KEY flags in NtOpenKey/NtCreateKey, as shown by tests.
CORE-9691 #resolve

svn path=/trunk/; revision=72975

7 years ago[NTDLL_APITEST]
Thomas Faber [Sat, 15 Oct 2016 18:33:21 +0000 (18:33 +0000)]
[NTDLL_APITEST]
- Show that NtOpenKey and NtCreateKey accept, but ignore, KEY_WOW64_32KEY and KEY_WOW64_64KEY
CORE-9691

svn path=/trunk/; revision=72974

7 years ago[USBAUDIO]
Johannes Anderwald [Sat, 15 Oct 2016 17:56:44 +0000 (17:56 +0000)]
[USBAUDIO]
- implement building topology connections

svn path=/trunk/; revision=72973

7 years ago[MSPAINT]
Benedikt Freisen [Sat, 15 Oct 2016 11:44:15 +0000 (11:44 +0000)]
[MSPAINT]
- fix an odd quirk that resulted from Paint setting wallpaper and wallpaper style in the wrong order
- add the flag SPIF_SENDWININICHANGE

Setting wallpapers now works, whenever the OS natively supports the respective file format for wallpapers.

svn path=/trunk/; revision=72972

7 years ago[USBAUDIO]
Johannes Anderwald [Fri, 14 Oct 2016 22:08:28 +0000 (22:08 +0000)]
[USBAUDIO]
- partly implement BuildUSBAudioFilterTopology

svn path=/trunk/; revision=72971

7 years ago[USBAUDIO]
Johannes Anderwald [Fri, 14 Oct 2016 13:26:22 +0000 (13:26 +0000)]
[USBAUDIO]
- partly implement UsbAudioPinDataIntersect

svn path=/trunk/; revision=72970

7 years ago[USBAUDIO]
Johannes Anderwald [Fri, 14 Oct 2016 10:35:19 +0000 (10:35 +0000)]
[USBAUDIO]
- specify processings flags in filter descriptor
- implement processing workers
- move code for initializing irp & urb into single function
- usbaudio now successfully captures audio in win2k3.

svn path=/trunk/; revision=72969

7 years ago[SHELL32] Add two missing AVIs. By Jared Smudde. CORE-11641
Amine Khaldi [Thu, 13 Oct 2016 21:46:39 +0000 (21:46 +0000)]
[SHELL32] Add two missing AVIs. By Jared Smudde. CORE-11641

svn path=/trunk/; revision=72968

7 years ago[EVENTVWR][EXPLORER][SHELL32] Russian translation update by Sergey Stopkin. CORE...
Amine Khaldi [Thu, 13 Oct 2016 21:39:37 +0000 (21:39 +0000)]
[EVENTVWR][EXPLORER][SHELL32] Russian translation update by Sergey Stopkin. CORE-12153

svn path=/trunk/; revision=72967

7 years ago[MSAFD] Implement WSPGetOverlappedResult. Reviewed by Thomas and Art. Thanks! CORE...
Peter Hater [Thu, 13 Oct 2016 20:30:42 +0000 (20:30 +0000)]
[MSAFD] Implement WSPGetOverlappedResult. Reviewed by Thomas and Art. Thanks! CORE-12134 #resolve

svn path=/trunk/; revision=72966

7 years ago[NETCFGX] RegQueryValueExW accepts a size in bytes, not TCHARS. Also, this local...
Mark Jansen [Thu, 13 Oct 2016 19:57:29 +0000 (19:57 +0000)]
[NETCFGX] RegQueryValueExW accepts a size in bytes, not TCHARS. Also, this local buffer probably shouldnt be used. Uncovered by Victor Martinez Calvo. CORE-9665

svn path=/trunk/; revision=72965

7 years ago[KMTESTS:IO]
Thomas Faber [Thu, 13 Oct 2016 12:28:01 +0000 (12:28 +0000)]
[KMTESTS:IO]
- Add a test for the maximum data length for MDLs
CORE-12132

svn path=/trunk/; revision=72964

7 years ago[PSDK]
Thomas Faber [Thu, 13 Oct 2016 09:21:57 +0000 (09:21 +0000)]
[PSDK]
- ksmedia.h requires ks.h to be included first. Based on a patch by Lee Schroeder.
CORE-6783

svn path=/trunk/; revision=72963

7 years ago[PSDK]
Thomas Faber [Thu, 13 Oct 2016 08:53:11 +0000 (08:53 +0000)]
[PSDK]
- Add some KS definitions. Patch by Lee Schroeder
CORE-6783

svn path=/trunk/; revision=72962

7 years ago[MSHTML_WINETEST]
Thomas Faber [Wed, 12 Oct 2016 21:10:04 +0000 (21:10 +0000)]
[MSHTML_WINETEST]
- Re-enable skipped htmldoc tests.
ROSTESTS-113 #resolve

svn path=/trunk/; revision=72961

7 years ago[REGDUMP]
Thomas Faber [Wed, 12 Oct 2016 12:41:31 +0000 (12:41 +0000)]
[REGDUMP]
- Fix a buffer overflow. Patch by Víctor Martínez Calvo.
ROSTESTS-203 #resolve

svn path=/trunk/; revision=72960

7 years ago[USER32]
Thomas Faber [Wed, 12 Oct 2016 12:07:44 +0000 (12:07 +0000)]
[USER32]
- Remove IsBadWritePtr hack. Patch by Katayama Hirofumi MZ.
CORE-12136 #resolve

svn path=/trunk/; revision=72959

7 years ago[WINETESTS/SETUPAPI]: setupapi/tests: Determine path to system32 directory at runtime...
Hermès Bélusca-Maïto [Wed, 12 Oct 2016 11:36:16 +0000 (11:36 +0000)]
[WINETESTS/SETUPAPI]: setupapi/tests: Determine path to system32 directory at runtime. Synced from Wine-Staging commit 92510a34ed9ec67fec4e580a5c73b8b53c216734
ROSTESTS-234 #comment Updated in r72958.

svn path=/trunk/; revision=72958

7 years ago[WS2_32_APITESTS] Add super simple WSARecv tests used to test WSAGetOverlappedResult...
Peter Hater [Tue, 11 Oct 2016 10:48:47 +0000 (10:48 +0000)]
[WS2_32_APITESTS] Add super simple WSARecv tests used to test WSAGetOverlappedResult. ROSTESTS-197

svn path=/trunk/; revision=72957

7 years ago[CMD]: Fix the "TYPE" command so that it doesn't interpret the optional /P switch...
Hermès Bélusca-Maïto [Mon, 10 Oct 2016 19:17:03 +0000 (19:17 +0000)]
[CMD]: Fix the "TYPE" command so that it doesn't interpret the optional /P switch as a filename.

svn path=/trunk/; revision=72956

7 years ago[CMD]
Hermès Bélusca-Maïto [Mon, 10 Oct 2016 19:15:07 +0000 (19:15 +0000)]
[CMD]
- Improve the screen pager so that it looks a bit more like MORE's one: display full screen pages, where only the last line contains the "press any key..." prompt, and erase this prompt when a key is pressed and before displaying the other screen page.
- GetScreenSize parameters are pointers (so use NULL instead of 0);
- Use ARRAYSIZE instead of hardcoding buffer number of elements;
- Simplify PrintInfoLine() (use read-only resource string buffer returned by LoadString instead of a temporary buffer, since we are just interested in the counted string).

svn path=/trunk/; revision=72955

7 years ago[CMD]
Hermès Bélusca-Maïto [Mon, 10 Oct 2016 19:11:15 +0000 (19:11 +0000)]
[CMD]
- Fix typo in STRING_MEMMORY_xxx symbols (memmory -> memory);
- Remove the trailing newline for the STRING_MISC_HELP1 page prompt, as part of reworking it a bit (see next commit);
- Code formatting in type.c as I'll touch it after.

svn path=/trunk/; revision=72954

7 years ago[MSAFD] We support AF_INET,SOCK_RAW,IPPROTO_RAW and IF_INET,SOCK_RAW,IPPROTO_TCP...
Peter Hater [Mon, 10 Oct 2016 08:00:20 +0000 (08:00 +0000)]
[MSAFD] We support AF_INET,SOCK_RAW,IPPROTO_RAW and IF_INET,SOCK_RAW,IPPROTO_TCP triples also. Enable them in winsock mapping registry. CORE-12104

svn path=/trunk/; revision=72953

7 years ago[MSAFD] We support SOCK_RAW and IPPROTO_RAW also. CORE-12104
Peter Hater [Mon, 10 Oct 2016 07:57:34 +0000 (07:57 +0000)]
[MSAFD] We support SOCK_RAW and IPPROTO_RAW also. CORE-12104

svn path=/trunk/; revision=72952

7 years ago[WINHTTP] Properly initialize winsock. Based on wine tests CORE-12104
Peter Hater [Mon, 10 Oct 2016 06:54:56 +0000 (06:54 +0000)]
[WINHTTP] Properly initialize winsock. Based on wine tests CORE-12104

svn path=/trunk/; revision=72951

7 years ago[WININET] initialize winsock with proper version. Based on wine tests CORE-12104
Peter Hater [Mon, 10 Oct 2016 06:52:40 +0000 (06:52 +0000)]
[WININET] initialize winsock with proper version. Based on wine tests CORE-12104

svn path=/trunk/; revision=72950

7 years ago[WS2_32_APITESTS] Fix helper by not shutting down send. This way it breaks the test...
Peter Hater [Mon, 10 Oct 2016 06:48:56 +0000 (06:48 +0000)]
[WS2_32_APITESTS] Fix helper by not shutting down send. This way it breaks the test on windows also.

svn path=/trunk/; revision=72949

7 years ago[MSAFD] Fix some return codes and better parameter checks based on wine tests CORE...
Peter Hater [Mon, 10 Oct 2016 06:38:52 +0000 (06:38 +0000)]
[MSAFD] Fix some return codes and better parameter checks based on wine tests CORE-12104

svn path=/trunk/; revision=72948

7 years agoRegQueryValueExW and RegQueryValueExA calls accept bytes. Patch by Victor Martinez...
Mark Jansen [Sun, 9 Oct 2016 20:58:08 +0000 (20:58 +0000)]
RegQueryValueExW and RegQueryValueExA calls accept bytes. Patch by Victor Martinez Calvo. CORE-9665 #comment Thanks!

svn path=/trunk/; revision=72947

7 years ago[MSCONFIG_NEW|SETUP/WELCOME] Capitalize "os" in "ReactOS" part 4 by Adam Stachowicz...
Mark Jansen [Sun, 9 Oct 2016 20:20:10 +0000 (20:20 +0000)]
[MSCONFIG_NEW|SETUP/WELCOME] Capitalize "os" in "ReactOS" part 4 by Adam Stachowicz CORE-9558 #resolve #comment Last patch applied, thanks!

svn path=/trunk/; revision=72946

7 years ago[MSPAINT] get rid of all _stprintf occurrences and the respective magic number sized...
Benedikt Freisen [Sun, 9 Oct 2016 11:42:37 +0000 (11:42 +0000)]
[MSPAINT] get rid of all _stprintf occurrences and the respective magic number sized TCHAR arrays

svn path=/trunk/; revision=72945

7 years ago[EVENTCREATE]: Update turkish translation, by Erdem Ersoy.
Hermès Bélusca-Maïto [Sat, 8 Oct 2016 19:43:16 +0000 (19:43 +0000)]
[EVENTCREATE]: Update turkish translation, by Erdem Ersoy.
CORE-12120 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=72944

7 years ago[PING]
Hermès Bélusca-Maïto [Sat, 8 Oct 2016 14:48:18 +0000 (14:48 +0000)]
[PING]
- Use a dynamic-allocated buffer with FormatMessageW, fixes messages disappearance (eg. ping help in russian). CORE-12108 #comment Fixed in r72943.
- Remove the unneeded 1-line function "Usage" and instead just directly call the corresponding PrintString function.

svn path=/trunk/; revision=72943

7 years ago[DEVMGR]: Fix spacing around "ReactOS" in translated strings.
Hermès Bélusca-Maïto [Sat, 8 Oct 2016 14:20:22 +0000 (14:20 +0000)]
[DEVMGR]: Fix spacing around "ReactOS" in translated strings.

svn path=/trunk/; revision=72942

7 years ago[FLTMC]: Resource strings do not need to be explicitely NULL-terminated, as ATL helpe...
Hermès Bélusca-Maïto [Sat, 8 Oct 2016 14:05:06 +0000 (14:05 +0000)]
[FLTMC]: Resource strings do not need to be explicitely NULL-terminated, as ATL helpers know how to deal with them.

svn path=/trunk/; revision=72941

7 years ago[FORMAT]: Fix ukrainian translation by Vort.
Hermès Bélusca-Maïto [Sat, 8 Oct 2016 13:55:30 +0000 (13:55 +0000)]
[FORMAT]: Fix ukrainian translation by Vort.

svn path=/trunk/; revision=72940

7 years agoFix commit synchronization issue (that's what happens when you work on a patch that...
Hermès Bélusca-Maïto [Sat, 8 Oct 2016 13:13:38 +0000 (13:13 +0000)]
Fix commit synchronization issue (that's what happens when you work on a patch that somebody else worked on in parallel!!)

svn path=/trunk/; revision=72939

7 years ago[TRANSLATIONS]: Russian translation update by Sergey Stopkin.
Hermès Bélusca-Maïto [Sat, 8 Oct 2016 13:12:35 +0000 (13:12 +0000)]
[TRANSLATIONS]: Russian translation update by Sergey Stopkin.
CORE-12108 #comment Спасибо!

svn path=/trunk/; revision=72938

7 years ago[TRANSLATIONS] Russian translation update by Sergey Stopkin. CORE-12108
Amine Khaldi [Sat, 8 Oct 2016 12:57:53 +0000 (12:57 +0000)]
[TRANSLATIONS] Russian translation update by Sergey Stopkin. CORE-12108

svn path=/trunk/; revision=72937

7 years ago[PING] German translation by Joachim Henze. CORE-12117
Amine Khaldi [Sat, 8 Oct 2016 12:50:15 +0000 (12:50 +0000)]
[PING] German translation by Joachim Henze. CORE-12117

svn path=/trunk/; revision=72936

7 years ago[GDI32]
Thomas Faber [Sat, 8 Oct 2016 08:28:08 +0000 (08:28 +0000)]
[GDI32]
- Remove handling of BS_DIBPATTERN8X8 in CreateBrushIndirect. Fixes the last gdi32:brush winetest failure. Patch by Víctor Martínez Calvo.
CORE-9673 #resolve

svn path=/trunk/; revision=72935

7 years ago[MSGINA] Fix the order of checking for a valid / visible window, spotted by 'leha...
Mark Jansen [Fri, 7 Oct 2016 23:11:17 +0000 (23:11 +0000)]
[MSGINA] Fix the order of checking for a valid / visible window, spotted by 'leha-bot' CORE-12028

svn path=/trunk/; revision=72934

7 years ago[DISKPART][NET][WLANCONF]
Hermès Bélusca-Maïto [Fri, 7 Oct 2016 22:50:32 +0000 (22:50 +0000)]
[DISKPART][NET][WLANCONF]
Make those command tools use the console uilities library, aka. solve all those problems of wrong characters on the console...
CORE-10584 #resolve

[CONUTILS]: Remove the now unneeded compatibility defines.
CORE-10504

svn path=/trunk/; revision=72933

7 years ago[LOGOFF]: Code formatting fixes, including tabs vs. spaces.
Hermès Bélusca-Maïto [Fri, 7 Oct 2016 22:08:20 +0000 (22:08 +0000)]
[LOGOFF]: Code formatting fixes, including tabs vs. spaces.

svn path=/trunk/; revision=72932

7 years ago[CONUTILS]: Fix build:
Hermès Bélusca-Maïto [Fri, 7 Oct 2016 21:57:59 +0000 (21:57 +0000)]
[CONUTILS]: Fix build:
- Commit the *Puts functions.
- Fix __stdcall that needs to be read __cdecl for variadic functions.

svn path=/trunk/; revision=72931

7 years ago[CACLS][CLIP][COMP][EVENTCREATE][HELP][LOGOFF][SHUTDOWN][CHKDSK][FORMAT][SUBST]
Hermès Bélusca-Maïto [Fri, 7 Oct 2016 21:57:12 +0000 (21:57 +0000)]
[CACLS][CLIP][COMP][EVENTCREATE][HELP][LOGOFF][SHUTDOWN][CHKDSK][FORMAT][SUBST]
- Use Puts functions where needed;
- Fix a __stdcall that needs to be read __cdecl for a variadic function.

[CACLS]
Fix some resources so that the strings can hold on the width of a standard console screen (80 chars).

svn path=/trunk/; revision=72930

7 years agoFix build.
Hermès Bélusca-Maïto [Fri, 7 Oct 2016 20:44:15 +0000 (20:44 +0000)]
Fix build.

svn path=/trunk/; revision=72929

7 years ago[CACLS][CLIP][COMP][HELP][LOGOFF][SHUTDOWN][CHKDSK][FORMAT][SUBST]
Hermès Bélusca-Maïto [Fri, 7 Oct 2016 20:37:36 +0000 (20:37 +0000)]
[CACLS][CLIP][COMP][HELP][LOGOFF][SHUTDOWN][CHKDSK][FORMAT][SUBST]
Make those command tools use the console uilities library, aka. solve all those problems of wrong characters on the console...
Nitpickers may notice that at some places, the usage of a "Puts"-like function would be better than Printf. Don't worry, I'm on it, it's for another commit.
CORE-10504
CORE-11909 #resolve

svn path=/trunk/; revision=72928

7 years ago[NETID] Cleanup the spec file. Patch by Jared Smudde. CORE-11309 #resolve
Mark Jansen [Fri, 7 Oct 2016 18:40:45 +0000 (18:40 +0000)]
[NETID] Cleanup the spec file. Patch by Jared Smudde. CORE-11309 #resolve

svn path=/trunk/; revision=72927

7 years ago[MSAFD] Implement WSPDuplicateSocket. By Peter Hater. CORE-12092
Christoph von Wittich [Fri, 7 Oct 2016 17:51:03 +0000 (17:51 +0000)]
[MSAFD] Implement WSPDuplicateSocket. By Peter Hater. CORE-12092

svn path=/trunk/; revision=72926

7 years ago[USBAUDIO]
Johannes Anderwald [Fri, 7 Oct 2016 17:30:27 +0000 (17:30 +0000)]
[USBAUDIO]
- use IoInitializeIrp over IoAllocateIrp
- reinitialize irp and urb when resubmitting it
- usbaudio now successfully transfers stream irps (not yet fully working)

svn path=/trunk/; revision=72925

7 years ago[WS2_32] fix various ws2_32:sock failures with return codes. By Peter Hater. CORE...
Christoph von Wittich [Fri, 7 Oct 2016 16:17:49 +0000 (16:17 +0000)]
[WS2_32] fix various ws2_32:sock failures with return codes. By Peter Hater. CORE-12104

svn path=/trunk/; revision=72924

7 years ago[DWNL]
Thomas Faber [Fri, 7 Oct 2016 15:25:20 +0000 (15:25 +0000)]
[DWNL]
- Handle arbitrary console buffer width in write_status
CORE-10228 #resolve

svn path=/trunk/; revision=72923

7 years ago[KD]
Hermès Bélusca-Maïto [Thu, 6 Oct 2016 19:01:33 +0000 (19:01 +0000)]
[KD]
- When enabling or disabling the kernel debugger and setting the KdDebuggerEnabled flag, also update the corresponding user-mode flag in SharedUserData->KdDebuggerEnabled.
- Turn KdpGetMemorySizeInMBs into a INIT_FUNCTION.
- Print kernel command line & ARC paths even in debug log file mode.

[KD64]
WinKD: Also print our nice ReactOS debug header (version, # of processors & memory MB, kernel command line and ARC paths).

svn path=/trunk/; revision=72922

7 years ago[CONUTILS] Addendum to r72913. CORE-10504
Amine Khaldi [Thu, 6 Oct 2016 14:20:16 +0000 (14:20 +0000)]
[CONUTILS] Addendum to r72913. CORE-10504

svn path=/trunk/; revision=72921

7 years ago[RAPPS(_NEW)][SETUP]: Last russian translation fixes, by Kudratov Olimjon, amber...
Hermès Bélusca-Maïto [Thu, 6 Oct 2016 12:51:05 +0000 (12:51 +0000)]
[RAPPS(_NEW)][SETUP]: Last russian translation fixes, by Kudratov Olimjon, amber, and Sergey Stopkin.
CORE-11510 CORE-11636 #resolve #comment Fixed in r72920, thanks to you all!

svn path=/trunk/; revision=72920

7 years ago[RAPPS_NEW]: Whitespace fix in taiwan chinese language.
Hermès Bélusca-Maïto [Thu, 6 Oct 2016 12:48:37 +0000 (12:48 +0000)]
[RAPPS_NEW]: Whitespace fix in taiwan chinese language.

svn path=/trunk/; revision=72919

7 years ago[RAPPS][RAPPS_NEW]: Try to not hardcode types of variables in sizeofs, and use _count...
Hermès Bélusca-Maïto [Thu, 6 Oct 2016 12:22:32 +0000 (12:22 +0000)]
[RAPPS][RAPPS_NEW]: Try to not hardcode types of variables in sizeofs, and use _countof where possible.

svn path=/trunk/; revision=72918

7 years ago[WS2_32_WINETEST] Sync with Wine Staging 1.9.20.
Amine Khaldi [Thu, 6 Oct 2016 11:15:59 +0000 (11:15 +0000)]
[WS2_32_WINETEST] Sync with Wine Staging 1.9.20.

svn path=/trunk/; revision=72917

7 years ago[SYSSETUP]
Thomas Faber [Thu, 6 Oct 2016 10:57:29 +0000 (10:57 +0000)]
[SYSSETUP]
- Install the DHCP client service as part of nettcpip.inf. This ensures it does not try to run before tcpip is installed.
CORE-12011 #resolve

svn path=/trunk/; revision=72916

7 years ago[INF]
Daniel Reimer [Wed, 5 Oct 2016 22:53:24 +0000 (22:53 +0000)]
[INF]
Update Root CAs removing "Juur-SK", "EBG Elektronik Sertifika Hizmet Saglayicisi" and "IGC/A"

svn path=/trunk/; revision=72915

7 years ago[FONTS]
Daniel Reimer [Wed, 5 Oct 2016 22:48:51 +0000 (22:48 +0000)]
[FONTS]
Next time I will update the doc folder, too...

svn path=/trunk/; revision=72914

7 years ago[CONUTILS]: Create a C library for console output/input functions, last-error message...
Hermès Bélusca-Maïto [Wed, 5 Oct 2016 17:40:22 +0000 (17:40 +0000)]
[CONUTILS]: Create a C library for console output/input functions, last-error messages display, etc. to be used for all of our internal command-line utilities. Useless user32.dll dependencies are removed thanks to this lib. Currently only output functions are supported.
CORE-10504

[EVENTCREATE]: Adapt EventCreate to use ConUtils library, as an example of how to use this library.

svn path=/trunk/; revision=72913

7 years ago[KERNEL32]: Improve RtlUnwind spec export.
Hermès Bélusca-Maïto [Wed, 5 Oct 2016 17:30:56 +0000 (17:30 +0000)]
[KERNEL32]: Improve RtlUnwind spec export.

svn path=/trunk/; revision=72912

7 years ago[INCLUDES/CRT]: Fix the definition of 'stderr' (that we have wrong since r38292)...
Hermès Bélusca-Maïto [Wed, 5 Oct 2016 14:30:59 +0000 (14:30 +0000)]
[INCLUDES/CRT]: Fix the definition of 'stderr' (that we have wrong since r38292); move it next to the _iob definition.

svn path=/trunk/; revision=72911

7 years ago[MSAFD] Fix socket address length returned in WSPAccept. By Peter Hater. CORE-8549
Amine Khaldi [Wed, 5 Oct 2016 09:39:12 +0000 (09:39 +0000)]
[MSAFD] Fix socket address length returned in WSPAccept. By Peter Hater. CORE-8549

svn path=/trunk/; revision=72910

7 years ago[WS2_32] Fix returned size of socketaddr on accepting connection. By Peter Hater...
Amine Khaldi [Wed, 5 Oct 2016 09:37:52 +0000 (09:37 +0000)]
[WS2_32] Fix returned size of socketaddr on accepting connection. By Peter Hater. CORE-8549

svn path=/trunk/; revision=72909

7 years ago[WS2_32_APITEST] Add tests for getnameinfo. By Peter Hater. CORE-8549
Amine Khaldi [Wed, 5 Oct 2016 09:33:03 +0000 (09:33 +0000)]
[WS2_32_APITEST] Add tests for getnameinfo. By Peter Hater. CORE-8549

svn path=/trunk/; revision=72908

7 years ago[NtUser]
Sylvain Petreolle [Wed, 5 Oct 2016 08:46:30 +0000 (08:46 +0000)]
[NtUser]
Revert r72905.

svn path=/trunk/; revision=72907

7 years agoAdd a directory guaranteed to be empty :)
Colin Finck [Tue, 4 Oct 2016 23:12:55 +0000 (23:12 +0000)]
Add a directory guaranteed to be empty :)

Needed for CORE-11988 to add arbitrary empty directories to the ISO image using mkisofs.
This change can't be expressed in a patch, so I have to do it right here.

svn path=/trunk/; revision=72906

7 years ago[NtUser]
Sylvain Petreolle [Tue, 4 Oct 2016 21:45:39 +0000 (21:45 +0000)]
[NtUser]
Turn an ERR into a TRACE.

svn path=/trunk/; revision=72905

7 years ago[MSAFD] Fix some error translations by Peter Hater. CORE-7487
Amine Khaldi [Tue, 4 Oct 2016 18:36:00 +0000 (18:36 +0000)]
[MSAFD] Fix some error translations by Peter Hater. CORE-7487

svn path=/trunk/; revision=72904

7 years ago[WS2_32_WINETEST] Enable test_address_list_query() again, now that CORE-12000 is...
Amine Khaldi [Tue, 4 Oct 2016 18:32:09 +0000 (18:32 +0000)]
[WS2_32_WINETEST] Enable test_address_list_query() again, now that CORE-12000 is resolved.

svn path=/trunk/; revision=72903

7 years ago[MSAFD] Partial implementation of SIO_ADDRESS_LIST_QUERY by Peter Hater. CORE-12000
Amine Khaldi [Tue, 4 Oct 2016 18:27:17 +0000 (18:27 +0000)]
[MSAFD] Partial implementation of SIO_ADDRESS_LIST_QUERY by Peter Hater. CORE-12000

svn path=/trunk/; revision=72902

7 years ago[USER32_APITEST]
Thomas Faber [Tue, 4 Oct 2016 15:37:25 +0000 (15:37 +0000)]
[USER32_APITEST]
- Fix build

svn path=/trunk/; revision=72901

7 years ago[USER32_APITEST]
Thomas Faber [Tue, 4 Oct 2016 15:14:30 +0000 (15:14 +0000)]
[USER32_APITEST]
- Extend GetUserObjectInformation tests by adding tests for UOI_NAME on the default as well as custom window stations/desktops.
CORE-12073

svn path=/trunk/; revision=72900

7 years ago[HOST_TOOLS]
Colin Finck [Tue, 4 Oct 2016 12:37:52 +0000 (12:37 +0000)]
[HOST_TOOLS]
Defining -fshort-wchar globally for all host tools breaks every possibility to interact with the host's Unicode support for some operating systems with 4 byte wchar_t (like Mac OS X).
Let's better define no additional global flags and only add -fshort-wchar for the host modules that really need a 2-byte wchar_t for writing ReactOS data files. These are cmlibhost, inflibhost, mkhive and xml2sdb.

Also add -Wno-multichar only for cmlibhost, where it's required.

In preparation for CORE-11988

svn path=/trunk/; revision=72899

7 years ago[ADNS][DNSAPI] Fix a local resolving regression that led to some browsers crashing...
Amine Khaldi [Tue, 4 Oct 2016 07:55:15 +0000 (07:55 +0000)]
[ADNS][DNSAPI] Fix a local resolving regression that led to some browsers crashing after startup. By Peter Hater. CORE-12072 CORE-12088

svn path=/trunk/; revision=72898

7 years ago[CLIPBRD][EVENTVWR][MPLAY32][WELCOME][SYSDM]
Hermès Bélusca-Maïto [Mon, 3 Oct 2016 12:22:29 +0000 (12:22 +0000)]
[CLIPBRD][EVENTVWR][MPLAY32][WELCOME][SYSDM]
Fix the ShowLastWin32Error helpers:
- don't display the last error string if it's ERROR_SUCCESS (since the code usually expects to display the last error message in case of errors);
- *always* call FormatMessage with the FORMAT_MESSAGE_IGNORE_INSERTS flag enabled. Indeed if it happens that the message string associated to an error ID contains insert parameter placeholders, and since we don't give here FormatMessage any argument array, the call would result into a crash without this flag.

svn path=/trunk/; revision=72897

7 years ago[NTOS]: Handle two complex failure paths, one of which is apparently easily reproduci...
Alex Ionescu [Mon, 3 Oct 2016 03:30:11 +0000 (03:30 +0000)]
[NTOS]: Handle two complex failure paths, one of which is apparently easily reproducible by ntdll:om test (I'm guessing some invalid object attribute). Thanks to Amine and lentin. Haven't tested this, but hopefully fixes things (and doesn't leak).

svn path=/trunk/; revision=72896

7 years ago[EVENTCREATE]: Update the english, russian & turkish translations:
Hermès Bélusca-Maïto [Sun, 2 Oct 2016 21:49:03 +0000 (21:49 +0000)]
[EVENTCREATE]: Update the english, russian & turkish translations:
- Translate a string into english (that I forgot to do: english & turkish);
- Fix the allowed event ID range mentioned in the help (russian);
- The event log names should not be localized (turkish).

svn path=/trunk/; revision=72895

7 years ago[EVENTCREATE] Attempt to fix unrecognized escape sequence issue. Sergey please review...
Amine Khaldi [Sun, 2 Oct 2016 20:40:06 +0000 (20:40 +0000)]
[EVENTCREATE] Attempt to fix unrecognized escape sequence issue. Sergey please review. CORE-12069

svn path=/trunk/; revision=72894

7 years ago[TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-12089
Amine Khaldi [Sun, 2 Oct 2016 20:37:58 +0000 (20:37 +0000)]
[TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-12089

svn path=/trunk/; revision=72893

7 years ago[EVENTCREATE][PING] Russian translation update by Sergey Stopkin. CORE-12069
Amine Khaldi [Sun, 2 Oct 2016 19:26:45 +0000 (19:26 +0000)]
[EVENTCREATE][PING] Russian translation update by Sergey Stopkin. CORE-12069

svn path=/trunk/; revision=72892

7 years ago[SHELL32]
Giannis Adamopoulos [Sun, 2 Oct 2016 13:22:01 +0000 (13:22 +0000)]
[SHELL32]
- CNetFolder: Use the Folder class for the items shown. The same is done in shell extensions (in windows) that use the CDefaultContextMenu and want the Open and Explore verbs to be shown. This behaviour was first discovered by gigaherz when ntobjshex was tested in windows.
CORE-12086

svn path=/trunk/; revision=72891

7 years ago[USBAUDIO]
Johannes Anderwald [Sun, 2 Oct 2016 13:08:23 +0000 (13:08 +0000)]
[USBAUDIO]
- edit allocator framing struct to match endpoint requirements
- implement partly PinCaptureProcess, not yet working

svn path=/trunk/; revision=72890

7 years ago[SDK]
Johannes Anderwald [Sun, 2 Oct 2016 09:15:13 +0000 (09:15 +0000)]
[SDK]
- add missing definitions

svn path=/trunk/; revision=72889

7 years ago[SHELL32]
Pierre Schweitzer [Sun, 2 Oct 2016 08:46:30 +0000 (08:46 +0000)]
[SHELL32]
When parsing the UNC names, start the connection to allow the user to browse the net folder immediately.
This is required for network providers which require the connections to be started before browsing (as VBoxNP).

This is likely a hack.

ROSAPPS-303
CORE-11757

svn path=/trunk/; revision=72888

7 years ago[RTL]
Thomas Faber [Sun, 2 Oct 2016 08:34:30 +0000 (08:34 +0000)]
[RTL]
- Only check for MBCS lead bytes in RtlIsTextUnicode if specifically requested
CORE-12027 #resolve for real this time

svn path=/trunk/; revision=72887