Commit graph

58501 commits

Author SHA1 Message Date
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
Daniel Reimer 60893ab6d4 [DLL]
Shell32 and browseui: update Russian Translation by Akhlamov Petr
CORE-7981 #resolve #comment Committed except the IDS_STANDARD_TOOLBAR part in browseui which is not defined ANYWHERE, thx.

svn path=/trunk/; revision=64049
2014-09-06 12:24:49 +00:00
Daniel Reimer 9a522912c1 [MEDIA]
Turkish Translation Update by Erdem Ersoy
CORE-7861 #comment Committed your translation notes.

svn path=/trunk/; revision=64048
2014-09-06 11:13:45 +00:00
Daniel Reimer c7a0e56075 [MEDIA]
Translation Notes by Ștefan Fulea
CORE-8468 #resolve #comment Committed.

svn path=/trunk/; revision=64047
2014-09-06 11:09:16 +00:00
Timo Kreuzer c8e3595247 [XDK/DDK]
- Remove useless inline definition of InterlockedBitTestAnd(Re)Set, which was not used anyway.
- Update template for ntdef.h

svn path=/trunk/; revision=64046
2014-09-05 21:54:49 +00:00
Timo Kreuzer b411c4825b [PSDK]
- Shuffle some definitions in ntdef.h
- Fix definition of UInt32x32To64 in intsafe.h

svn path=/trunk/; revision=64045
2014-09-05 21:47:09 +00:00
Hermès Bélusca-Maïto 0f46d2a9bd Code formatting mainly (and comments fixes for future usage).
svn path=/branches/condrv_restructure/; revision=64044
2014-09-05 21:12:42 +00:00
Hermès Bélusca-Maïto f7ed0f0444 [CONSRV]: Code reorganization part 2 (add some comments for future fixes).
svn path=/branches/condrv_restructure/; revision=64043
2014-09-05 21:08:15 +00:00
Hermès Bélusca-Maïto f03589f92e [CONSRV]: Code reorganization part 1.
svn path=/branches/condrv_restructure/; revision=64042
2014-09-05 21:06:36 +00:00
Timo Kreuzer f3abbbdb49 [GDI32]
Add comment about broken #if 0'ed code, noticed by Hermes.

svn path=/trunk/; revision=64041
2014-09-05 20:55:01 +00:00
Timo Kreuzer a780f4c921 [GDI32]
Use GdiAllocBatchCommand in SetBrushOrgEx instead of manual and broken fiddling with GdiTebBatch. Fixes CID 716217.

svn path=/trunk/; revision=64040
2014-09-05 20:16:52 +00:00
Timo Kreuzer e5134bc5e0 [SPEC2DEF] Add support for ARM asm stub generation
[HALARM] Add a dummy CMakeLists.txt
[BOOTVID] Fix ARM compilation

svn path=/trunk/; revision=64039
2014-09-05 20:07:53 +00:00
Timo Kreuzer d6732790c5 [PSEH]
Add dummy seh_prolog.s for arm. Dedicated to Z98

svn path=/trunk/; revision=64038
2014-09-05 17:55:35 +00:00
Amine Khaldi 1c205595f7 [NTOS:LPC]
* Remove unused pointer and logically dead code paths. CID 1237020.
CORE-7975

svn path=/trunk/; revision=64037
2014-09-05 09:41:25 +00:00
Amine Khaldi 712fdc44db [NTOS:OB]
* Fix a nasty typo in ObOpenObjectByName(). CID 1237016.
CORE-7975

svn path=/trunk/; revision=64036
2014-09-05 09:20:37 +00:00
Amine Khaldi 489a69fa41 [MSVCRT]
* Use Wine's _pclose(). Fixes msvcrt:misc crash.
CORE-8080

svn path=/trunk/; revision=64035
2014-09-04 13:39:51 +00:00
Sylvain Petreolle 1b538306e3 [EVENTLOG]
Remove the event log handle from the list *before* destroying it.
Fixes failure in advapi32:eventlog double close test.

svn path=/trunk/; revision=64034
2014-09-03 23:07:47 +00:00
Sylvain Petreolle ee662394dd [EVENTLOG]
Fix creation of backup event log files.
Thanks to zefklop for his help.

svn path=/trunk/; revision=64033
2014-09-03 21:03:35 +00:00
Amine Khaldi 088ad44f8c [URLMON]
* Revisit the exports to match IE8 which we apparently report.
CORE-8174

svn path=/trunk/; revision=64032
2014-09-03 19:29:54 +00:00
Amine Khaldi 1dc15efcd4 [URLMON]
* Bring back CoInternetCombineIUri.
CORE-8174

svn path=/trunk/; revision=64031
2014-09-03 18:52:16 +00:00