reactos.git
9 years ago[ADVAPI32_APITEST]
Timo Kreuzer [Mon, 15 Sep 2014 21:04:03 +0000 (21:04 +0000)]
[ADVAPI32_APITEST]
- Add tests for RtlEncrypt/DecryptMemory

svn path=/trunk/; revision=64162

9 years ago[RAPPS]
Daniel Reimer [Mon, 15 Sep 2014 20:10:09 +0000 (20:10 +0000)]
[RAPPS]
Update Database for Kiel.
Add Foxit Reader to Database.

svn path=/trunk/; revision=64161

9 years ago[BOOTDATA]
Eric Kohl [Mon, 15 Sep 2014 12:25:45 +0000 (12:25 +0000)]
[BOOTDATA]
Set MaxSize and Retention for event logs.

svn path=/trunk/; revision=64160

9 years ago[EVENTLOG]
Eric Kohl [Mon, 15 Sep 2014 12:16:46 +0000 (12:16 +0000)]
[EVENTLOG]
- Read MaxSize and Retention from the Registry when a new log file is created.
- Use ntdll file functions instead of their kernel32 counterparts.

svn path=/trunk/; revision=64159

9 years ago[HAL]
Thomas Faber [Mon, 15 Sep 2014 10:58:53 +0000 (10:58 +0000)]
[HAL]
- Don't use svn:eol-style = native for PCI ids but then have the code expect CRLF. Should fix all devices being "Unknown device" on Unix builds.

svn path=/trunk/; revision=64158

9 years ago[PSDK]: Fix some structure definitions.
Hermès Bélusca-Maïto [Mon, 15 Sep 2014 00:07:46 +0000 (00:07 +0000)]
[PSDK]: Fix some structure definitions.

svn path=/trunk/; revision=64157

9 years ago[KDGDB]
Jérôme Gardou [Sun, 14 Sep 2014 22:50:10 +0000 (22:50 +0000)]
[KDGDB]
 - Fix an embarassing works-for-me but uncommited cast.
 - Add support for reading registers and memory from foreign threads. Highly experimental and nearly untested, use at your own risk.

svn path=/trunk/; revision=64156

9 years ago[DDK]
Jérôme Gardou [Sun, 14 Sep 2014 22:41:27 +0000 (22:41 +0000)]
[DDK]
 - Addendum to r64151
Complain on IRC, then complain on ros-dev, then steal fixes from your peers, then do as if nothing happened.

svn path=/trunk/; revision=64155

9 years ago[KDGDB]
Jérôme Gardou [Sun, 14 Sep 2014 20:45:30 +0000 (20:45 +0000)]
[KDGDB]
 - Always pass down the result of gdb_receive_packet up to KD, so that it knows when a breakin packet was received. (CTRL-C) now works!
 - Generalize the use of the Send <-> ManipulateState callbacks for a better code reading.
 - Get the exception context as soon as it is thrown (instead of playing with the PRCB)
 - Improve the way we attach to GDB: on the first KD call, we set KdContext->ControlCPending so that KD throws an exception. That way we can first initialize our KD stuff, and then quietly attach to GDB
 - Implement the 'p' (get one register) GDB request.
GDB is now much more reliable.

svn path=/trunk/; revision=64154

9 years ago[KSECDD]
Timo Kreuzer [Sun, 14 Sep 2014 19:40:15 +0000 (19:40 +0000)]
[KSECDD]
- Fix a typo in KsecQueryFileInformation
- Implement missing ioctls in KsecDeviceControl
- Support METHOD_OUT_DIRECT for IRP_MJ_DEVICE_CONTROL
- Add stubs for KsecEn/DecryptMemory
[ADVAPI32]
- Use ksecdd to handle SystemFunction040 (RtlEncryptMemory) and SystemFunction041 (RtlDecryptMemory) (they still do nothing, but at least they do it in kenrnel mode now ;-))

svn path=/trunk/; revision=64153

9 years ago[XDK][DDK]
Amine Khaldi [Sun, 14 Sep 2014 15:49:35 +0000 (15:49 +0000)]
[XDK][DDK]
* Handle the rest of cases about the order of pragma and symbol declaration.

svn path=/trunk/; revision=64151

9 years ago[XDK][DDK]
Amine Khaldi [Sun, 14 Sep 2014 15:40:37 +0000 (15:40 +0000)]
[XDK][DDK]
* Addendum to r64148.

svn path=/trunk/; revision=64150

9 years ago[MSI]
Amine Khaldi [Sun, 14 Sep 2014 15:31:58 +0000 (15:31 +0000)]
[MSI]
* Implement a correct CUSTOMPROC_wrapper wrapper for MSVC.

svn path=/trunk/; revision=64149

9 years ago[XDK][DDK]
Amine Khaldi [Sun, 14 Sep 2014 15:19:20 +0000 (15:19 +0000)]
[XDK][DDK]
* Work around what looks like a bug in GCC's handling of #pragma redefine_extname. Its behavior regarding additional underscore prefixes depends on the order of pragma and symbol declaration with GCC, while it's consistent with Clang. Brought to you by Thomas Faber, reviewed by Timo Kreuzer.
CORE-8516

svn path=/trunk/; revision=64148

9 years ago[NTVDM]: Code formatting and add a warning about the usage of callbacks.
Hermès Bélusca-Maïto [Sun, 14 Sep 2014 14:59:20 +0000 (14:59 +0000)]
[NTVDM]: Code formatting and add a warning about the usage of callbacks.

svn path=/trunk/; revision=64147

9 years ago[KDGDB]
Jérôme Gardou [Sun, 14 Sep 2014 14:28:05 +0000 (14:28 +0000)]
[KDGDB]
 - It can happen that GDB issues something else than qsThreadInfo after qfThreadInfo
 - Properly clean up the callbacks after handling a custom Send/ManipulateState loop

svn path=/trunk/; revision=64146

9 years ago[KDGDB]
Jérôme Gardou [Sun, 14 Sep 2014 14:27:58 +0000 (14:27 +0000)]
[KDGDB]
 - Improve the 'm' (read memory) gdb request

svn path=/trunk/; revision=64145

9 years ago[KDGDB]
Jérôme Gardou [Sun, 14 Sep 2014 14:27:44 +0000 (14:27 +0000)]
[KDGDB]
 - Add support for the qfThreadInfo GDB request

svn path=/trunk/; revision=64144

9 years ago[WIN32K]
Timo Kreuzer [Sun, 14 Sep 2014 12:33:03 +0000 (12:33 +0000)]
[WIN32K]
Prevent NULL pointer dereference and fix a compiler warning

svn path=/trunk/; revision=64143

9 years ago[BOOTDATA]
Sylvain Petreolle [Sun, 14 Sep 2014 12:03:17 +0000 (12:03 +0000)]
[BOOTDATA]
Install the mount manager.

svn path=/trunk/; revision=64142

9 years ago[MOUNTMGR] Activate it by default
Hervé Poussineau [Sun, 14 Sep 2014 11:59:24 +0000 (11:59 +0000)]
[MOUNTMGR] Activate it by default

svn path=/trunk/; revision=64141

9 years ago[MOUNTMGR] Misc fixes
Hervé Poussineau [Sun, 14 Sep 2014 07:53:46 +0000 (07:53 +0000)]
[MOUNTMGR] Misc fixes

We're now able to do something and to not crash when receiving a device arrival notification.

svn path=/trunk/; revision=64140

9 years ago[RAMDISK] Remove support for IOCTL_CDROM_GET_LAST_SESSION (useless since r64106)
Hervé Poussineau [Sun, 14 Sep 2014 07:51:40 +0000 (07:51 +0000)]
[RAMDISK] Remove support for IOCTL_CDROM_GET_LAST_SESSION (useless since r64106)

svn path=/trunk/; revision=64139

9 years ago[NTVDM]: Implement few INT 33h (mouse) functions:
Hermès Bélusca-Maïto [Sun, 14 Sep 2014 00:48:21 +0000 (00:48 +0000)]
[NTVDM]: Implement few INT 33h (mouse) functions:
- For function 0Ah, we don't still support defining hardware cursor.
- Implement function 0Ch (define interrupt subroutine params), compatible MSMOUSE v1.0+
- Implement function 14h (exchange interrupt subroutines), compatible MSMOUSE v3.0+
- Implement function 18h (set alternate mouse user handler), that is the same thing as function 0Ch but for a set of maximum 3 handlers, compatible MSMOUSE v6.0+
- Implement function 19h (return user alternate interrupt vector) that returns the handler associated with a call mask, compatible MSMOUSE v6.0+
- Call all those handlers accordingly to their associated call mask, for mouse moves and mouse button presses.

svn path=/trunk/; revision=64138

9 years ago[NTVDM]
Hermès Bélusca-Maïto [Sun, 14 Sep 2014 00:43:43 +0000 (00:43 +0000)]
[NTVDM]
- Add DPRINTs to the DumpMemory function.
- Use a VgaSetActiveScreenBuffer function to change active screen buffers: it calls the SetConsoleActiveScreenBuffer API but also recreates the VDM console menus, because on windows custom console menus are per-screen-buffer, and not per-console, so that if you set menus when one screen buffer is activated, and if you change it, then your menus become unuseful because for this new active screenbuffer, they are not set. It's completely ridiculous but we need to live with that (on ReactOS we still don't have this behaviour).

svn path=/trunk/; revision=64137

9 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 13 Sep 2014 21:50:23 +0000 (21:50 +0000)]
[NTVDM]
Implement motion counters in the mouse BIOS.

svn path=/trunk/; revision=64136

9 years ago[NTVDM]: Return mouse information for INT 33h, AX=00h. Needed for apps that check...
Hermès Bélusca-Maïto [Sat, 13 Sep 2014 20:37:56 +0000 (20:37 +0000)]
[NTVDM]: Return mouse information for INT 33h, AX=00h. Needed for apps that check for the mouse.

svn path=/trunk/; revision=64135

9 years agoFix a typo.
Hermès Bélusca-Maïto [Sat, 13 Sep 2014 20:18:02 +0000 (20:18 +0000)]
Fix a typo.

svn path=/trunk/; revision=64134

9 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 13 Sep 2014 15:32:07 +0000 (15:32 +0000)]
[NTVDM]
Implement mouse buttons and cursor positioning.

svn path=/trunk/; revision=64133

9 years ago[PSEH3]
Timo Kreuzer [Sat, 13 Sep 2014 13:31:20 +0000 (13:31 +0000)]
[PSEH3]
- Unregister frame before calling finally funtion in _SEH3$_AutoCleanup
- Restore full volatile register context for clang
- Don't clobber ebx in __SEH3$_RegisterFrameWithNonVolatiles (noticed by Thomas)
- Improve __SEH3$_InvokeEmbeddedFilterFromRegistration

svn path=/trunk/; revision=64132

9 years ago[BOOTDATA]
Amine Khaldi [Sat, 13 Sep 2014 08:52:28 +0000 (08:52 +0000)]
[BOOTDATA]
* Add DX InstalledVersion key. By Lee Schroeder.
CORE-8530 #resolve #comment Committed in r64131. Thanks!
CORE-8461 #comment Please retest with r64131+

svn path=/trunk/; revision=64131

9 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 13 Sep 2014 08:24:03 +0000 (08:24 +0000)]
[NTOSKRNL]
Mark lowest pages of P0BootStackData and KiDoubleFaultStackData as read-only to prevent unnoticed stack-overflow. CORE-4380 #resolve

svn path=/trunk/; revision=64130

9 years ago[NTVDM]
Aleksandar Andrejevic [Sat, 13 Sep 2014 02:02:44 +0000 (02:02 +0000)]
[NTVDM]
Start implementing the NTVDM mouse BIOS driver.

svn path=/trunk/; revision=64129

9 years ago[NTOSKRNL/GCC]
Jérôme Gardou [Fri, 12 Sep 2014 22:56:22 +0000 (22:56 +0000)]
[NTOSKRNL/GCC]
 - Use 0x00800000 as base address. This doesn't change anything (still loaded at 0x80800000) and it produces debug symbols that GDB can understand
[CMAKE]
 - Get back to using DWARF2 symbols. They are a lot bigger, but at least they work
Now GDB can be used to source-level debug ntoskrnl.

svn path=/trunk/; revision=64128

9 years ago[KDGDB]
Jérôme Gardou [Fri, 12 Sep 2014 20:23:08 +0000 (20:23 +0000)]
[KDGDB]
 - Add a callback mechanism permitting to "simulate" KD send <-> receive loop without having to actually communicate to GDB
 - Use that to update the program counter when cont'ing a breakpoint
Now cont'ing an assertion failure is possible, since we actually get beyond the int 3 instruction

svn path=/trunk/; revision=64127

9 years ago[PSEH3]
Thomas Faber [Fri, 12 Sep 2014 10:43:50 +0000 (10:43 +0000)]
[PSEH3]
- Add missing C_ASSERTs

svn path=/trunk/; revision=64124

9 years ago[PSEH_TEST]
Thomas Faber [Fri, 12 Sep 2014 10:31:48 +0000 (10:31 +0000)]
[PSEH_TEST]
- Fix incorrect size in memcmp. Spotted by clang

svn path=/trunk/; revision=64123

9 years ago[KDGDB]
Jérôme Gardou [Thu, 11 Sep 2014 20:55:42 +0000 (20:55 +0000)]
[KDGDB]
 - introduce KDGDB, a KDCOM-like DLL, wrapping the KD protocol and the GDB remote protocol together.
It is not fully functional, but for now it permits source-level debugging in some modules. More will be added as I feel the need and find the time to work a bit more on it. (That is, unless an angel comes and resume the work)
To use it, set GDB and _WINKD_ to TRUE in your CMakeCache.txt. Using separate debug symbols is also a good idea.

svn path=/trunk/; revision=64121

9 years ago[WIN32SS]
Amine Khaldi [Thu, 11 Sep 2014 13:34:39 +0000 (13:34 +0000)]
[WIN32SS]
* Remove extraneous parentheses.
CORE-8516

svn path=/trunk/; revision=64120

9 years ago[WINEMP3.ACM]
Amine Khaldi [Thu, 11 Sep 2014 13:24:10 +0000 (13:24 +0000)]
[WINEMP3.ACM]
* Link with mingwex.
CORE-8516

svn path=/trunk/; revision=64119

9 years ago[SHELL32_APITEST]
Amine Khaldi [Thu, 11 Sep 2014 11:07:03 +0000 (11:07 +0000)]
[SHELL32_APITEST]
* CLSID_MenuDeskBar is already part of the uuid lib.

svn path=/trunk/; revision=64118

9 years ago[WINMM_WINETEST]
Amine Khaldi [Thu, 11 Sep 2014 11:04:28 +0000 (11:04 +0000)]
[WINMM_WINETEST]
* Addendum to r64114.
CORE-8516

svn path=/trunk/; revision=64117

9 years ago[OLEAUT32]
Amine Khaldi [Thu, 11 Sep 2014 11:03:20 +0000 (11:03 +0000)]
[OLEAUT32]
* Link with mingwex.
* Fall back to gas with vartype.c until http://llvm.org/bugs/show_bug.cgi?id=19027 is fixed.
CORE-8516

svn path=/trunk/; revision=64116

9 years ago[INCLUDES]
Amine Khaldi [Thu, 11 Sep 2014 10:50:15 +0000 (10:50 +0000)]
[INCLUDES]
* Define DECLSPEC_HOTPATCH to nothing until http://llvm.org/bugs/show_bug.cgi?id=20888 is fixed.
CORE-8516

svn path=/trunk/; revision=64115

9 years ago[CMAKE]
Amine Khaldi [Thu, 11 Sep 2014 10:43:57 +0000 (10:43 +0000)]
[CMAKE]
* Don't set -Wno-unused-but-set-variable until http://llvm.org/bugs/show_bug.cgi?id=20906 is fixed or the warnings are fixed upstream.
CORE-8516

svn path=/trunk/; revision=64114

9 years ago[GLU32]
Amine Khaldi [Thu, 11 Sep 2014 10:13:05 +0000 (10:13 +0000)]
[GLU32]
* Link with mingwex.
* Allow multiple definitions at link time because longjmp exists in both our msvcrt and mingwex.
CORE-8516

svn path=/trunk/; revision=64113

9 years ago[CDFS]
Hervé Poussineau [Wed, 10 Sep 2014 19:45:57 +0000 (19:45 +0000)]
[CDFS]
- Correctly decode address of first session, which now uses MSF format since r64106

svn path=/trunk/; revision=64112

9 years ago[CMAKE/CLANG]
Amine Khaldi [Wed, 10 Sep 2014 19:00:53 +0000 (19:00 +0000)]
[CMAKE/CLANG]
* Do not add PIC and PIE related flags.
CORE-8516

svn path=/trunk/; revision=64111

9 years ago[WIN32SS]
Amine Khaldi [Wed, 10 Sep 2014 18:49:29 +0000 (18:49 +0000)]
[WIN32SS]
* Remove unused CompareSpans().

svn path=/trunk/; revision=64110

9 years ago[NTOS:IO]
Hervé Poussineau [Wed, 10 Sep 2014 16:05:44 +0000 (16:05 +0000)]
[NTOS:IO]
- Support creating new registry keys when registering new interfaces
- IoSetDeviceInterfaceState: do not try to parse symbolic link name, as symbolic link name is enough to open the right object
- IoSetDeviceInterfaceState: send the notification on the right interface when registering interfaces on devices already having an interface

svn path=/trunk/; revision=64108

9 years ago[RICHED20]
Amine Khaldi [Wed, 10 Sep 2014 16:03:22 +0000 (16:03 +0000)]
[RICHED20]
* 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=64107

9 years ago[CDFS] Use IOCTL_CDROM_READ_TOC instead of IOCTL_CDROM_GET_LAST_SESSION, which is...
Hervé Poussineau [Wed, 10 Sep 2014 16:02:02 +0000 (16:02 +0000)]
[CDFS] Use IOCTL_CDROM_READ_TOC instead of IOCTL_CDROM_GET_LAST_SESSION, which is not always available

svn path=/trunk/; revision=64106

9 years ago[CMAKE/CLANG]
Amine Khaldi [Wed, 10 Sep 2014 15:56:48 +0000 (15:56 +0000)]
[CMAKE/CLANG]
* Link mingwex when needed because having it globally won't do.
CORE-8516

svn path=/trunk/; revision=64105

9 years ago[CMAKE/CLANG]
Amine Khaldi [Wed, 10 Sep 2014 15:34:05 +0000 (15:34 +0000)]
[CMAKE/CLANG]
* Do not pass -mwindows when linking executables.
CORE-8516

svn path=/trunk/; revision=64104

9 years ago[CONSRV]
Thomas Faber [Wed, 10 Sep 2014 13:52:31 +0000 (13:52 +0000)]
[CONSRV]
- Fix MSVC build

svn path=/trunk/; revision=64103

9 years ago[REACTOS]
Hermès Bélusca-Maïto [Wed, 10 Sep 2014 00:08:04 +0000 (00:08 +0000)]
[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

9 years agoSync with trunk revision 64099.
Hermès Bélusca-Maïto [Tue, 9 Sep 2014 23:20:40 +0000 (23:20 +0000)]
Sync with trunk revision 64099.

svn path=/branches/condrv_restructure/; revision=64100

9 years ago[OLEACC]
Hermès Bélusca-Maïto [Tue, 9 Sep 2014 23:02:39 +0000 (23:02 +0000)]
[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

9 years ago[KERNEL32]
Hermès Bélusca-Maïto [Tue, 9 Sep 2014 21:24:44 +0000 (21:24 +0000)]
[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

9 years ago[CMAKE/CLANG]
Amine Khaldi [Tue, 9 Sep 2014 18:42:43 +0000 (18:42 +0000)]
[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

9 years ago[LIBSAMPLERATE]
Amine Khaldi [Tue, 9 Sep 2014 18:35:49 +0000 (18:35 +0000)]
[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

9 years ago[LIBSAMPLERATE]
Amine Khaldi [Tue, 9 Sep 2014 18:25:18 +0000 (18:25 +0000)]
[LIBSAMPLERATE]
* static __inline => extern __inline.
CORE-8516

svn path=/trunk/; revision=64095

9 years ago[CMAKE/CLANG]
Amine Khaldi [Tue, 9 Sep 2014 18:11:10 +0000 (18:11 +0000)]
[CMAKE/CLANG]
* Globally link mingwex for C modules.
CORE-8516

svn path=/trunk/; revision=64094

9 years ago[SPEC2DEF]
Jérôme Gardou [Tue, 9 Sep 2014 17:39:01 +0000 (17:39 +0000)]
[SPEC2DEF]
 - Fix GCC warning (weird doubled arguments for fprintf format)

svn path=/trunk/; revision=64093

9 years ago[WINE/LIST]
Amine Khaldi [Tue, 9 Sep 2014 17:25:25 +0000 (17:25 +0000)]
[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

9 years ago[CRT/INTRIN_X86]
Amine Khaldi [Tue, 9 Sep 2014 16:39:19 +0000 (16:39 +0000)]
[CRT/INTRIN_X86]
* Add suffixes to satisfy Clang assembler.
CORE-8516

svn path=/trunk/; revision=64091

9 years ago[NTOS:VF]
Amine Khaldi [Tue, 9 Sep 2014 16:32:51 +0000 (16:32 +0000)]
[NTOS:VF]
* Don't mark varargs functions as stdcall.

svn path=/trunk/; revision=64090

9 years ago[NTOS]
Amine Khaldi [Tue, 9 Sep 2014 12:28:48 +0000 (12:28 +0000)]
[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

9 years ago[CMAKE/CLANG]
Amine Khaldi [Tue, 9 Sep 2014 12:14:52 +0000 (12:14 +0000)]
[CMAKE/CLANG]
* Clang c++ support is not there yet, so we'll use g++ until then.
CORE-8516

svn path=/trunk/; revision=64087

9 years ago[RTL]
Amine Khaldi [Tue, 9 Sep 2014 12:06:01 +0000 (12:06 +0000)]
[RTL]
* Remove unused asmv2hashW and DeviceRootW.

svn path=/trunk/; revision=64086

9 years ago[CONSRV]: Use a console input thread that doesn't need any hidden notification window...
Hermès Bélusca-Maïto [Mon, 8 Sep 2014 23:31:12 +0000 (23:31 +0000)]
[CONSRV]: Use a console input thread that doesn't need any hidden notification window of any sort.

svn path=/branches/condrv_restructure/; revision=64085

9 years ago[apitest/crt]
Christoph von Wittich [Mon, 8 Sep 2014 07:00:00 +0000 (07:00 +0000)]
[apitest/crt]
apply the same buffer size fix to _vsnwprintf test

svn path=/trunk/; revision=64082

9 years ago[BROWSEUI_APITEST]
David Quintana [Mon, 8 Sep 2014 01:54:29 +0000 (01:54 +0000)]
[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

9 years ago[KERNEL32][CONSRV]
Hermès Bélusca-Maïto [Sun, 7 Sep 2014 22:53:49 +0000 (22:53 +0000)]
[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

9 years ago[PSEH]
Timo Kreuzer [Sun, 7 Sep 2014 21:40:07 +0000 (21:40 +0000)]
[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

9 years ago[PSEH]
Timo Kreuzer [Sun, 7 Sep 2014 20:52:20 +0000 (20:52 +0000)]
[PSEH]
- Fix compilation of PSEH with Clang
- Fix _SEH3$_InvokeEmbeddedFilterFromRegistration

svn path=/trunk/; revision=64077

9 years ago[DPLAY]
Amine Khaldi [Sun, 7 Sep 2014 20:19:05 +0000 (20:19 +0000)]
[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

9 years ago[CONSRV]
Hermès Bélusca-Maïto [Sun, 7 Sep 2014 20:05:39 +0000 (20:05 +0000)]
[CONSRV]
- Start to implement a popup list of entered commands (history), WIP.
- Fix Get/SetConsoleHistoryInfo.
- Implement SetConsoleCommandHistoryMode.

svn path=/branches/condrv_restructure/; revision=64075

9 years ago[NTOS:CC]
Amine Khaldi [Sun, 7 Sep 2014 19:16:30 +0000 (19:16 +0000)]
[NTOS:CC]
* Remove unused ExSectionInfoClass.

svn path=/trunk/; revision=64074

9 years ago[BOOTDATA]
Daniel Reimer [Sun, 7 Sep 2014 18:46:43 +0000 (18:46 +0000)]
[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

9 years ago[OPENGL32/MESA]
Amine Khaldi [Sun, 7 Sep 2014 18:34:37 +0000 (18:34 +0000)]
[OPENGL32/MESA]
* Zap some more unneeded variables/functions.
CORE-7499

svn path=/trunk/; revision=64072

9 years ago[CALC]
Amine Khaldi [Sun, 7 Sep 2014 18:18:00 +0000 (18:18 +0000)]
[CALC]
* Fix Clang build.

svn path=/trunk/; revision=64071

9 years ago[CRT/MATH]
Amine Khaldi [Sun, 7 Sep 2014 18:13:52 +0000 (18:13 +0000)]
[CRT/MATH]
* Use the GCC version if inline assembly in ldexp() as it works with Clang too.

svn path=/trunk/; revision=64070

9 years ago[crt]
Christoph von Wittich [Sun, 7 Sep 2014 18:11:50 +0000 (18:11 +0000)]
[crt]
add null check (for ntdll only)
fixes remaining test failure in ntdll:string

svn path=/trunk/; revision=64069

9 years ago[apitests/crt]
Christoph von Wittich [Sun, 7 Sep 2014 18:11:08 +0000 (18:11 +0000)]
[apitests/crt]
pass the correct buffer size

svn path=/trunk/; revision=64068

9 years ago[CRT]
Amine Khaldi [Sun, 7 Sep 2014 17:44:24 +0000 (17:44 +0000)]
[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

9 years ago[NTSTRSAFE]
Amine Khaldi [Sun, 7 Sep 2014 17:30:44 +0000 (17:30 +0000)]
[NTSTRSAFE]
* Don't mark varags functions as stdcall.

svn path=/trunk/; revision=64066

9 years ago[PSEH3]
Amine Khaldi [Sun, 7 Sep 2014 17:24:08 +0000 (17:24 +0000)]
[PSEH3]
* Enable PSEH for Clang builds.

svn path=/trunk/; revision=64065

9 years ago[CMAKE/CLANG]
Amine Khaldi [Sun, 7 Sep 2014 17:19:14 +0000 (17:19 +0000)]
[CMAKE/CLANG]
* Properly set CMAKE_STATIC_LIBRARY_SUFFIX and CMAKE_LINK_LIBRARY_SUFFIX for Clang builds.

svn path=/trunk/; revision=64064

9 years ago[SAL]
Amine Khaldi [Sun, 7 Sep 2014 17:10:44 +0000 (17:10 +0000)]
[SAL]
* Add some missing _Check_return_ annotations.

svn path=/trunk/; revision=64063

9 years ago[CRT/INTRIN_X86]
Amine Khaldi [Sun, 7 Sep 2014 17:09:34 +0000 (17:09 +0000)]
[CRT/INTRIN_X86]
* Skip some intrinsics when compiling with Clang.

svn path=/trunk/; revision=64062

9 years ago[crt]
Christoph von Wittich [Sun, 7 Sep 2014 13:55:36 +0000 (13:55 +0000)]
[crt]
revert changes to streamout_char

svn path=/trunk/; revision=64061

9 years ago[CMAKE/CLANG]
Amine Khaldi [Sun, 7 Sep 2014 12:36:26 +0000 (12:36 +0000)]
[CMAKE/CLANG]
* Fix Clang def file handling.
* Clang doesn't have -Wold-style-declaration (yet?).

svn path=/trunk/; revision=64060

9 years ago[CMAKE]
Amine Khaldi [Sun, 7 Sep 2014 12:33:13 +0000 (12:33 +0000)]
[CMAKE]
* Fix Clang toolchain file with regards to static libs creation.

svn path=/trunk/; revision=64059

9 years ago[OPENGL32/MESA]
Amine Khaldi [Sun, 7 Sep 2014 12:30:40 +0000 (12:30 +0000)]
[OPENGL32/MESA]
* Zap extra_EXT_secondary_color_flush_current and EXT_secondary_color.
CORE-7499

svn path=/trunk/; revision=64058

9 years ago[OPENGL32/MESA]
Amine Khaldi [Sun, 7 Sep 2014 11:52:18 +0000 (11:52 +0000)]
[OPENGL32/MESA]
* Zap unused nonlinear_to_linear().
CORE-7499

svn path=/trunk/; revision=64057

9 years ago[crt]
Christoph von Wittich [Sun, 7 Sep 2014 10:34:17 +0000 (10:34 +0000)]
[crt]
fix behavior of _sxprintf when a NULL buffer is supplied
fixes ntdll:string winetest

svn path=/trunk/; revision=64056

9 years ago[ROSAUTOTEST]
Hermès Bélusca-Maïto [Sun, 7 Sep 2014 00:34:26 +0000 (00:34 +0000)]
[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

9 years ago[Win32k]
James Tabor [Sat, 6 Sep 2014 17:47:45 +0000 (17:47 +0000)]
[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

9 years ago[RPCRT4]
Eric Kohl [Sat, 6 Sep 2014 16:51:32 +0000 (16:51 +0000)]
[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