Commit graph

58370 commits

Author SHA1 Message Date
Amine Khaldi 009e72443d [CMAKE/CLANG]
* Do not pass -mwindows when linking executables.
CORE-8516

svn path=/trunk/; revision=64104
2014-09-10 15:34:05 +00:00
Thomas Faber de2119ac36 [CONSRV]
- Fix MSVC build

svn path=/trunk/; revision=64103
2014-09-10 13:52:31 +00:00
Hermès Bélusca-Maïto e393b80e07 [REACTOS]
Merge back condrv_restructure branch with everything up to revision 64079 (and up for maintenance), that made console kernel32 & winsrv CSR structures Win2k3 compliant.
CORE-7931 #comment Merged back to trunk in revision 64102.
CORE-7481 #comment kernel32 / winsrv console CSR structures are Win2k3-compliant in trunk since revision 64102 (and since revision 64079 in the condrv_restructure branch, see CORE-7931 for more details).

svn path=/trunk/; revision=64102
2014-09-10 00:08:04 +00:00
Hermès Bélusca-Maïto ecfd6e6d6d Sync with trunk revision 64099.
svn path=/branches/condrv_restructure/; revision=64100
2014-09-09 23:20:40 +00:00
Hermès Bélusca-Maïto b56ba45255 [OLEACC]
Fix language ID, that made msvc compilation fail with the error:
oleacc\lang/oleacc_Ru.rc(27) : error RC2151 : cannot reuse string constants, 0(0x0) - "unknown object" already defined. Cannot add 0(0x0) - "
(and similar for the other strings).
And as usual: "Thanks GCC for not having warned us before"...

svn path=/trunk/; revision=64099
2014-09-09 23:02:39 +00:00
Hermès Bélusca-Maïto 2eeef60fe6 [KERNEL32]
- Remove unneeded old commented code chunks.
- ConDllInitialize can set the current console locale for new threads,...
- ... and it can do its own cleaning.

svn path=/branches/condrv_restructure/; revision=64098
2014-09-09 21:24:44 +00:00
Amine Khaldi 58d6989040 [CMAKE/CLANG]
* Add -Wno-microsoft only for C modules at the moment (as we're using g++ for c++ modules).
CORE-8516

svn path=/trunk/; revision=64097
2014-09-09 18:42:43 +00:00
Amine Khaldi 43ca2f7692 [LIBSAMPLERATE]
* Actually, we have these function so we don't need to have inlined versions for them here.
CORE-8516

svn path=/trunk/; revision=64096
2014-09-09 18:35:49 +00:00
Amine Khaldi 7fffcd30aa [LIBSAMPLERATE]
* static __inline => extern __inline.
CORE-8516

svn path=/trunk/; revision=64095
2014-09-09 18:25:18 +00:00
Amine Khaldi 1931c699fc [CMAKE/CLANG]
* Globally link mingwex for C modules.
CORE-8516

svn path=/trunk/; revision=64094
2014-09-09 18:11:10 +00:00
Jérôme Gardou 1fdfbceee5 [SPEC2DEF]
- Fix GCC warning (weird doubled arguments for fprintf format)

svn path=/trunk/; revision=64093
2014-09-09 17:39:01 +00:00
Amine Khaldi 4810b26797 [WINE/LIST]
* Use an attribute that should work with both Clang and GCC. Brought to you by Thomas Faber.
CORE-8516

svn path=/trunk/; revision=64092
2014-09-09 17:25:25 +00:00
Amine Khaldi 8f51422b28 [CRT/INTRIN_X86]
* Add suffixes to satisfy Clang assembler.
CORE-8516

svn path=/trunk/; revision=64091
2014-09-09 16:39:19 +00:00
Amine Khaldi 12545de76f [NTOS:VF]
* Don't mark varargs functions as stdcall.

svn path=/trunk/; revision=64090
2014-09-09 16:32:51 +00:00
Amine Khaldi d68784c08f [NTOS]
* Fall back to gas with some source files until http://llvm.org/bugs/show_bug.cgi?id=19027 is fixed.
CORE-8516

svn path=/trunk/; revision=64088
2014-09-09 12:28:48 +00:00
Amine Khaldi 14ad4ab4f6 [CMAKE/CLANG]
* Clang c++ support is not there yet, so we'll use g++ until then.
CORE-8516

svn path=/trunk/; revision=64087
2014-09-09 12:14:52 +00:00
Amine Khaldi 273956fd2a [RTL]
* Remove unused asmv2hashW and DeviceRootW.

svn path=/trunk/; revision=64086
2014-09-09 12:06:01 +00:00
Hermès Bélusca-Maïto cfe6d0b69f [CONSRV]: Use a console input thread that doesn't need any hidden notification window of any sort.
svn path=/branches/condrv_restructure/; revision=64085
2014-09-08 23:31:12 +00:00
Christoph von Wittich 5d48b37adf [apitest/crt]
apply the same buffer size fix to _vsnwprintf test

svn path=/trunk/; revision=64082
2014-09-08 07:00:00 +00:00
David Quintana c835af900d [BROWSEUI_APITEST]
* Do not depend on a file to exist, which in fact does not exist in ros. Fix the test expectations accordingly.

svn path=/trunk/; revision=64080
2014-09-08 01:54:29 +00:00
Hermès Bélusca-Maïto a9feb19181 [KERNEL32][CONSRV]
- Make CONSRV_API_CONNECTINFO, CONSOLE_ALLOCCONSOLE and CONSOLE_ATTACHCONSOLE Windows 2k3-compatible, so that using either their kernel32 in ROS or our kernel32 in windows, works.
  For that, complete and fix also the CONSOLE_START_INFO and CONSOLE_PROPERTIES structures.
- Rewrite Alloc/AttachConsole and the console initialization functions to match what Windows expects when connecting to the console server, and make them compatible with the fixed structures.
- Fix SrvAllocConsole and SrvAttachConsole accordingly, and few other console initialization functions in consrv.
- Fix input EXE name support and store also the current directory from which we were started.
- Use a temporarily define USE_CONSOLE_INIT_HANDLES that is not enabled yet because we do not use console initialization events (used by Windows for Alloc/AttachConsole and console initialization functions). Until this gets implemented in ReactOS, putting windows' kernel32 in ReactOS will fail when it will try to wait on those events.
- For SrvAlloc/SrvAttach/SrvFreeConsole, ConSrvConnect and ConSrvDisconnect: correctly mark the process as console app.
- Fix process initialization in ConSrvNewProcess.
- Get rid of CONSOLE_PROCESS_DATA::ParentConsoleHandle member.
- Temporarily move the link settings retrieval in console.c and hack a bit icon setting.

[CONSRV]
- Move console title setting from condrv back to consrv where it should belong in fact.

CORE-7931 #resolve #comment ConsolepAlloc and ConsolepAttach finally fixed in revision 64079.

svn path=/branches/condrv_restructure/; revision=64079
2014-09-07 22:53:49 +00:00
Timo Kreuzer 38d7031ac9 [PSEH]
- On clang builds we need to do the return twice trick, since we don't have asm goto, which would allow us to specify labels in the code where we can branch to on an exception. So we return back to from where we called the registration function and decide how to proceed from there nasedon the return value. For this we need to save the return address in the registration record and use it in __SEH3$_InvokeEmbeddedFilterFromRegistration

svn path=/trunk/; revision=64078
2014-09-07 21:40:07 +00:00
Timo Kreuzer cc9ee2cf1b [PSEH]
- Fix compilation of PSEH with Clang
- Fix _SEH3$_InvokeEmbeddedFilterFromRegistration

svn path=/trunk/; revision=64077
2014-09-07 20:52:20 +00:00
Amine Khaldi e9389a03f4 [DPLAY]
* Add the (empty) stub file to build.
* We don't need to link ntdll.
* dplay now compiles with Clang.
CORE-8516

svn path=/trunk/; revision=64076
2014-09-07 20:19:05 +00:00
Hermès Bélusca-Maïto 4c18b81f0f [CONSRV]
- Start to implement a popup list of entered commands (history), WIP.
- Fix Get/SetConsoleHistoryInfo.
- Implement SetConsoleCommandHistoryMode.

svn path=/branches/condrv_restructure/; revision=64075
2014-09-07 20:05:39 +00:00
Amine Khaldi 3fc8f2ce20 [NTOS:CC]
* Remove unused ExSectionInfoClass.

svn path=/trunk/; revision=64074
2014-09-07 19:16:30 +00:00
Daniel Reimer 6452361bbd [BOOTDATA]
Add libp11-kit-0.dll to optional components, because without it, our iexplore, sometimes FF and the Chrome installer lament about it missing.

svn path=/trunk/; revision=64073
2014-09-07 18:46:43 +00:00
Amine Khaldi 726d95b525 [OPENGL32/MESA]
* Zap some more unneeded variables/functions.
CORE-7499

svn path=/trunk/; revision=64072
2014-09-07 18:34:37 +00:00
Amine Khaldi 57ab19b141 [CALC]
* Fix Clang build.

svn path=/trunk/; revision=64071
2014-09-07 18:18:00 +00:00
Amine Khaldi 91020e4044 [CRT/MATH]
* Use the GCC version if inline assembly in ldexp() as it works with Clang too.

svn path=/trunk/; revision=64070
2014-09-07 18:13:52 +00:00
Christoph von Wittich 31ceb315a3 [crt]
add null check (for ntdll only)
fixes remaining test failure in ntdll:string

svn path=/trunk/; revision=64069
2014-09-07 18:11:50 +00:00
Christoph von Wittich c14e88bd12 [apitests/crt]
pass the correct buffer size

svn path=/trunk/; revision=64068
2014-09-07 18:11:08 +00:00
Amine Khaldi b4cec44624 [CRT]
* Use gas to compile except/cpp.c until http://llvm.org/bugs/show_bug.cgi?id=19027 is fixed.

svn path=/trunk/; revision=64067
2014-09-07 17:44:24 +00:00
Amine Khaldi 11a6a9d17b [NTSTRSAFE]
* Don't mark varags functions as stdcall.

svn path=/trunk/; revision=64066
2014-09-07 17:30:44 +00:00
Amine Khaldi 4a442e9d1b [PSEH3]
* Enable PSEH for Clang builds.

svn path=/trunk/; revision=64065
2014-09-07 17:24:08 +00:00
Amine Khaldi d269d9c801 [CMAKE/CLANG]
* Properly set CMAKE_STATIC_LIBRARY_SUFFIX and CMAKE_LINK_LIBRARY_SUFFIX for Clang builds.

svn path=/trunk/; revision=64064
2014-09-07 17:19:14 +00:00
Amine Khaldi ada8c2467a [SAL]
* Add some missing _Check_return_ annotations.

svn path=/trunk/; revision=64063
2014-09-07 17:10:44 +00:00
Amine Khaldi 6327d11e06 [CRT/INTRIN_X86]
* Skip some intrinsics when compiling with Clang.

svn path=/trunk/; revision=64062
2014-09-07 17:09:34 +00:00
Christoph von Wittich 85304acb22 [crt]
revert changes to streamout_char

svn path=/trunk/; revision=64061
2014-09-07 13:55:36 +00:00
Amine Khaldi d7d700b347 [CMAKE/CLANG]
* Fix Clang def file handling.
* Clang doesn't have -Wold-style-declaration (yet?).

svn path=/trunk/; revision=64060
2014-09-07 12:36:26 +00:00
Amine Khaldi 8795b7177e [CMAKE]
* Fix Clang toolchain file with regards to static libs creation.

svn path=/trunk/; revision=64059
2014-09-07 12:33:13 +00:00
Amine Khaldi 6881b5d1fa [OPENGL32/MESA]
* Zap extra_EXT_secondary_color_flush_current and EXT_secondary_color.
CORE-7499

svn path=/trunk/; revision=64058
2014-09-07 12:30:40 +00:00
Amine Khaldi bd15aba1f8 [OPENGL32/MESA]
* Zap unused nonlinear_to_linear().
CORE-7499

svn path=/trunk/; revision=64057
2014-09-07 11:52:18 +00:00
Christoph von Wittich 43a4a1563c [crt]
fix behavior of _sxprintf when a NULL buffer is supplied
fixes ntdll:string winetest

svn path=/trunk/; revision=64056
2014-09-07 10:34:17 +00:00
Hermès Bélusca-Maïto b84022008b [ROSAUTOTEST]
Initialize hStdInput to the standard input handle, and hStdError to the output pipe, instead of keeping these handles NULL. See the details why this is important in the Jira report ROSTESTS-140.
ROSTESTS-140 #resolve #comment Fixed.

svn path=/trunk/; revision=64055
2014-09-07 00:34:26 +00:00
James Tabor 7ae67c3b7a [Win32k]
- Apply band-aid patch from CORE-8506. Problem still persists, how did a bad region get plugged into the DCE structure?

svn path=/trunk/; revision=64054
2014-09-06 17:47:45 +00:00
Eric Kohl adcc14bdf9 [RPCRT4]
EmbeddedPointerBufferSize and EmbeddedPointerMarshall: Store the pointer to the current array element in the stub message. This fixes buffer size calculation for arrays that contain structs with embedded pointer. This patch will also be submitted to the WINE project.

svn path=/trunk/; revision=64053
2014-09-06 16:51:32 +00:00
Daniel Reimer f3630ec56c [TRANSLATION]
Czech translation update by Radek Liska
 + Polish translated new string by Adam Stachowicz
 + German translated new string by ME
CORE-8499 #resolve #comment Committed, thx.

svn path=/trunk/; revision=64052
2014-09-06 13:18:33 +00:00
Daniel Reimer 6f1a57a978 [TRANSLATION]
CMD Utils russian translate by Kudratov Olimjon
CORE-8482 #resolve #comment Committed with \" -> "" and Tabs removed. Thx
Mplay32 russian translate by Kudratov Olimjon
CORE-8480 #resolve #comment Committed with \" -> "" and Tabs removed. Thx
CMD Ping russian translate by Kudratov Olimjon
CORE-8481 #resolve #comment Committed with \" -> "" and Tabs removed. Thx
Some fixes and improvements in Russian Translation by Kudratov Olimjon
CORE-8495 #resolve #comment Committed with \" -> "" and Tabs removed. Thx

svn path=/trunk/; revision=64051
2014-09-06 13:03:13 +00:00
Johannes Anderwald f7fd60d56d [SHELL32]
- rewrite _ILCreateFontItem
- fix a buffer overflow

svn path=/trunk/; revision=64050
2014-09-06 12:33:17 +00:00