Commit graph

67186 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 699e9b4328 [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
2016-10-05 14:30:59 +00:00
Amine Khaldi 5290f6cf12 [MSAFD] Fix socket address length returned in WSPAccept. By Peter Hater. CORE-8549
svn path=/trunk/; revision=72910
2016-10-05 09:39:12 +00:00
Amine Khaldi cd930de18d [WS2_32] Fix returned size of socketaddr on accepting connection. By Peter Hater. CORE-8549
svn path=/trunk/; revision=72909
2016-10-05 09:37:52 +00:00
Amine Khaldi c3b215936d [WS2_32_APITEST] Add tests for getnameinfo. By Peter Hater. CORE-8549
svn path=/trunk/; revision=72908
2016-10-05 09:33:03 +00:00
Sylvain Petreolle 9c1da77024 [NtUser]
Revert r72905.

svn path=/trunk/; revision=72907
2016-10-05 08:46:30 +00:00
Colin Finck a0c5f491cd 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
2016-10-04 23:12:55 +00:00
Sylvain Petreolle 63a22e2a2f [NtUser]
Turn an ERR into a TRACE.

svn path=/trunk/; revision=72905
2016-10-04 21:45:39 +00:00
Amine Khaldi b00ebb4709 [MSAFD] Fix some error translations by Peter Hater. CORE-7487
svn path=/trunk/; revision=72904
2016-10-04 18:36:00 +00:00
Amine Khaldi fed5729c81 [WS2_32_WINETEST] Enable test_address_list_query() again, now that CORE-12000 is resolved.
svn path=/trunk/; revision=72903
2016-10-04 18:32:09 +00:00
Amine Khaldi 12aba472ef [MSAFD] Partial implementation of SIO_ADDRESS_LIST_QUERY by Peter Hater. CORE-12000
svn path=/trunk/; revision=72902
2016-10-04 18:27:17 +00:00
Thomas Faber bf8b336ec9 [USER32_APITEST]
- Fix build

svn path=/trunk/; revision=72901
2016-10-04 15:37:25 +00:00
Thomas Faber 0a783e0ff3 [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
2016-10-04 15:14:30 +00:00
Colin Finck dc5f65c8d9 [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
2016-10-04 12:37:52 +00:00
Amine Khaldi 2a4fd5b529 [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
2016-10-04 07:55:15 +00:00
Hermès Bélusca-Maïto 1c4750792d [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
2016-10-03 12:22:29 +00:00
Alex Ionescu eb94308bbb [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
2016-10-03 03:30:11 +00:00
Hermès Bélusca-Maïto 58d0c0b704 [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
2016-10-02 21:49:03 +00:00
Amine Khaldi 5a80dc6298 [EVENTCREATE] Attempt to fix unrecognized escape sequence issue. Sergey please review. CORE-12069
svn path=/trunk/; revision=72894
2016-10-02 20:40:06 +00:00
Amine Khaldi b0887ed28d [TRANSLATIONS] Turkish translation update by Erdem Ersoy. CORE-12089
svn path=/trunk/; revision=72893
2016-10-02 20:37:58 +00:00
Amine Khaldi b88d0f18e9 [EVENTCREATE][PING] Russian translation update by Sergey Stopkin. CORE-12069
svn path=/trunk/; revision=72892
2016-10-02 19:26:45 +00:00
Giannis Adamopoulos 8a0defef3d [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
2016-10-02 13:22:01 +00:00
Johannes Anderwald 1cfbbff51a [USBAUDIO]
- edit allocator framing struct to match endpoint requirements
- implement partly PinCaptureProcess, not yet working

svn path=/trunk/; revision=72890
2016-10-02 13:08:23 +00:00
Johannes Anderwald 160d7c5b1e [SDK]
- add missing definitions

svn path=/trunk/; revision=72889
2016-10-02 09:15:13 +00:00
Pierre Schweitzer 67cf4907ae [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
2016-10-02 08:46:30 +00:00
Thomas Faber bbc1b9deba [RTL]
- Only check for MBCS lead bytes in RtlIsTextUnicode if specifically requested
CORE-12027 #resolve for real this time

svn path=/trunk/; revision=72887
2016-10-02 08:34:30 +00:00
Hermès Bélusca-Maïto e294510fcd [EVENTCREATE]: Update the lang files & make 1 stylistic change + remove trailing whitespace. No functionality changes.
svn path=/trunk/; revision=72886
2016-10-01 23:06:23 +00:00
Hermès Bélusca-Maïto 098c7ec631 [DISKPART]: Harmonize the source file info headers. No code changes.
svn path=/trunk/; revision=72885
2016-10-01 22:58:21 +00:00
Hermès Bélusca-Maïto 3eea4e5f2d [FORMAT]: Fix some resources.
svn path=/trunk/; revision=72884
2016-10-01 21:00:16 +00:00
Benedikt Freisen 66a9815a4e [MSPAINT]
- change type of haccel from HANDLE to HACCEL
- port registry code to ATL::CRegKey, which -- through its destructor -- should prevent handle leaks
- rename some parameters and variables
- incorporate some changes suggested by Carlo Bramini in CORE-12080

svn path=/trunk/; revision=72883
2016-10-01 20:04:43 +00:00
James Tabor fb8f6fd2aa [NtUser]
- Turn off debug information.

svn path=/trunk/; revision=72882
2016-10-01 19:01:04 +00:00
James Tabor 0b4b25d0ed [User32_wineTest]
- Enable skipped test_activateapp tests.

svn path=/trunk/; revision=72881
2016-10-01 18:51:46 +00:00
James Tabor d8c3f23447 [NtUser]
- Fix lockup while testing wine test_activateapp (all the tests including the ones commented out). Reordered focus functions to eliminate recursions. Fix ROSTESTS-208.

svn path=/trunk/; revision=72880
2016-10-01 18:48:02 +00:00
Thomas Faber 69ce708392 [ADVAPI32]
- Return ERROR_MORE_DATA instead of ERROR_BUFFER_OVERFLOW from RegEnumKeyExW in case the name or class buffer is too small.
CORE-12030 #resolve

svn path=/trunk/; revision=72879
2016-10-01 16:44:21 +00:00
Mark Jansen cf6ff20079 [SHELL32] New shortcut overlay icon, fixed Folder Options Dialog icon, and other minor icon fixes by Jared Smudde. CORE-11414 #resolve #comment Thanks!
svn path=/trunk/; revision=72878
2016-10-01 16:35:14 +00:00
Mark Jansen 51a51d3174 [EXPLORER] Make the 'Remove' button in classic start menu properties spawn the remove dialog. Patch by Jared Smudde. CORE-12076 #resolve #comment Thanks!
svn path=/trunk/; revision=72877
2016-10-01 15:57:29 +00:00
Thomas Faber 3a5e3ae774 [ADVAPI32_APITEST]
- Add a test for RegEnumKeyExW showing that it should return ERROR_MORE_DATA instead of ERROR_BUFFER_OVERFLOW when the name buffer is too small. Based on a patch by Doug Lyons.
CORE-12030

svn path=/trunk/; revision=72876
2016-10-01 14:41:41 +00:00
Amine Khaldi 254a9ba114 [SHELL32] Disconnect dialog improvements by Jared Smudde. CORE-11864
svn path=/trunk/; revision=72875
2016-10-01 09:50:53 +00:00
Amine Khaldi b5806e39e8 [NETSHELL][SAMSRV][SYSSETUP] Fix some misspellings. By Coburn on IRC and Jared Smudde. CORE-12013
svn path=/trunk/; revision=72874
2016-10-01 09:43:24 +00:00
Thomas Faber 531ee01590 [NTOS:EX]
- Acquire ProcessLock before accessing a process's thread list in NtQuerySystemInformation/SystemProcessInformation. Patch by Volodymyr Shcherbyna.
CORE-12001 #resolve

svn path=/trunk/; revision=72873
2016-10-01 09:03:47 +00:00
Amine Khaldi 10cdda5bf5 [MSTSC] Japanese translation improvements by Katayama Hirofumi MZ. CORE-12067
svn path=/trunk/; revision=72872
2016-10-01 08:38:01 +00:00
Thomas Faber c77ad2e9b5 [WIN32K:NTGDI]
- Handle arbitrary-length DEVMODEW structures in NtGdiOpenDCW. Patch by Katayama Hirofumi MZ with small changes by me.
CORE-12068 #resolve

svn path=/trunk/; revision=72871
2016-10-01 08:25:35 +00:00
Dmitry Chapyshev c60a62e0de [NTOS:FSRTL] Handle failure case
svn path=/trunk/; revision=72870
2016-09-30 17:33:19 +00:00
Thomas Faber 076a3c9cb7 [NTOS:MM]
- Get rid of MiNonPagedSystemSize, which is misleading because MmNumberOfSystemPtes can change throughout the startup process, thus invalidating this size variable
- Correctly reserve the system PTE space and nonpaged pool expansion space in MiInitSystemMemoryAreas
Should fix the remaining "Bad PTE" bug checks when running out of kernel address space.
CORE-11533 #resolve
CORE-11160 CORE-10611 CORE-11926 CORE-11873 CORE-11554 #comment This should be fixed with r72869, please retest.

svn path=/trunk/; revision=72869
2016-09-30 15:58:23 +00:00
Amine Khaldi 8e21414853 [DNSAPI_APITEST] Add more tests for DnsQuery_A/W. By Peter Hater. ROSTESTS-242
svn path=/trunk/; revision=72868
2016-09-30 15:23:25 +00:00
Amine Khaldi 040de105cc [ADNS][DNSAPI][MSWSOCK] Several fixes and improvements to DnsQuery and co, detailed in CORE-11394. This also fixes CORE-7441, many tests in dnsapi:DnsQuery, ws2_32:getaddrinfo and more. Brought to you by Peter Hater.
svn path=/trunk/; revision=72867
2016-09-30 15:19:29 +00:00
Johannes Anderwald bc741955ed - fix bugs in USBAudioSelectAudioStreamingInterface
svn path=/trunk/; revision=72866
2016-09-30 09:57:42 +00:00
Johannes Anderwald 8895dae5d0 [USBAUDIO]
- implement GetMaxPacketSizeForInterface, UsbAudioAllocCaptureUrbIso, InitCapturePin

svn path=/trunk/; revision=72865
2016-09-29 22:19:34 +00:00
Daniel Reimer ad3aa035db [RAPPS_NEW]
When Internet connection is down. Rapps does not generate any msg by Rama Teja Gampa
+ GIT -> SVN Patch manual translation
+ Bitrot fixes
+ Tabs -> Spaces fixes
CORE-10980 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=72864
2016-09-29 21:31:11 +00:00
Daniel Reimer 8ff30df6f3 [RAPPS]
Translate missing string

svn path=/trunk/; revision=72863
2016-09-29 21:25:36 +00:00
Daniel Reimer 60153818ab [ROSAPPS]
Russian translation update by Sergey Stopkin
ROSAPPS-333 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=72862
2016-09-29 21:02:07 +00:00