reactos.git
21 hours ago[WIN32K] master trunk
jgardou [Thu, 18 Sep 2014 14:26:59 +0000 (14:26 +0000)]
[WIN32K]
 - Check the right variable for error condition

git-svn-id: file:///srv/svn/reactos/trunk@64193 97493ccd-5924-5043-b1f5-66cb403b36ce

21 hours ago[NTOSKRNL/AMD64]
tkreuzer [Thu, 18 Sep 2014 14:10:41 +0000 (14:10 +0000)]
[NTOSKRNL/AMD64]
Actually revert the change to KiRaiseAssertion, it was correct before

git-svn-id: file:///srv/svn/reactos/trunk@64192 97493ccd-5924-5043-b1f5-66cb403b36ce

21 hours ago[NTOSKRNL/AMD64]
tkreuzer [Thu, 18 Sep 2014 14:06:31 +0000 (14:06 +0000)]
[NTOSKRNL/AMD64]
- Fix trap flags in KiRaiseAssertion
- Add some asm debugcode

git-svn-id: file:///srv/svn/reactos/trunk@64191 97493ccd-5924-5043-b1f5-66cb403b36ce

22 hours ago[WIN32K]
jgardou [Thu, 18 Sep 2014 13:27:02 +0000 (13:27 +0000)]
[WIN32K]
 - Fix error handling in NtGdiPathToRegion

git-svn-id: file:///srv/svn/reactos/trunk@64190 97493ccd-5924-5043-b1f5-66cb403b36ce

22 hours ago[WIN32K]
jgardou [Thu, 18 Sep 2014 13:26:55 +0000 (13:26 +0000)]
[WIN32K]
 - Do not make callouts to user-mode while holding a lock on GDI objects.
Fixes crashes in user32_winetest:win and :msg

git-svn-id: file:///srv/svn/reactos/trunk@64189 97493ccd-5924-5043-b1f5-66cb403b36ce

22 hours ago[USER32_WINETEST]
jgardou [Thu, 18 Sep 2014 13:04:59 +0000 (13:04 +0000)]
[USER32_WINETEST]
 - Compile as a GUI app

git-svn-id: file:///srv/svn/reactos/trunk@64188 97493ccd-5924-5043-b1f5-66cb403b36ce

23 hours ago[WIN32K]
jgardou [Thu, 18 Sep 2014 12:09:19 +0000 (12:09 +0000)]
[WIN32K]
 - Enable all debug channels if DEBUGCHANNEL is set to "+all".
 - Fix GDI objects exclusive locks counting, fixing a memory corruption altogether.
 - Add a missing lock release on error path.
 - Add a debug print.

git-svn-id: file:///srv/svn/reactos/trunk@64187 97493ccd-5924-5043-b1f5-66cb403b36ce

25 hours ago[RTL]
tkreuzer [Thu, 18 Sep 2014 10:39:54 +0000 (10:39 +0000)]
[RTL]
- Implement RtlpCloseRegistryHandle helper, which closes a registry key, if RTL_REGISTRY_HANDLE was not passed as RelativeTo
- Use RtlpCloseRegistryHandle whereever required, fixing some cases, where we unconditionally closed the handle

git-svn-id: file:///srv/svn/reactos/trunk@64186 97493ccd-5924-5043-b1f5-66cb403b36ce

35 hours ago[NTVDM]
hbelusca [Thu, 18 Sep 2014 00:16:17 +0000 (00:16 +0000)]
[NTVDM]
- Add dummy INT 18h (ROM Basic) and INT 19h (Bootstrap loader) interrupts. If INT 18h will never be implemented, INT 19h can be used one day...
- Add the standard bootstrap code snippets at F000:FFF0 and F000:E05B.
- For compatibility purposes, and nice info reporting via tools like Microsoft Diagnostics, or Symantec SysInfo, or whatever else..., register nice BIOS Copyright and Version strings. Also add a version string at the end of the BIOS.
- Fix our reported BIOS model.
- Add some temporary documentation (from Bochs BIOS) about the ROM BIOS compatibility entry-points that some apps may use (instead of passing through more documented & standard interfaces).

git-svn-id: file:///srv/svn/reactos/trunk@64185 97493ccd-5924-5043-b1f5-66cb403b36ce

36 hours ago[KERNEL32]
tkreuzer [Wed, 17 Sep 2014 22:54:06 +0000 (22:54 +0000)]
[KERNEL32]
Update spec file with x64 specific functions

git-svn-id: file:///srv/svn/reactos/trunk@64184 97493ccd-5924-5043-b1f5-66cb403b36ce

38 hours ago[NTVDM]: Improve some dprints.
hbelusca [Wed, 17 Sep 2014 21:22:04 +0000 (21:22 +0000)]
[NTVDM]: Improve some dprints.

git-svn-id: file:///srv/svn/reactos/trunk@64183 97493ccd-5924-5043-b1f5-66cb403b36ce

44 hours ago[USER32]
jgardou [Wed, 17 Sep 2014 15:08:23 +0000 (15:08 +0000)]
[USER32]
 - Delete region on error path.
[WIN32SS]
 - Improve/add a few debug prints.

git-svn-id: file:///srv/svn/reactos/trunk@64182 97493ccd-5924-5043-b1f5-66cb403b36ce

44 hours ago[UXTHEME]
jgardou [Wed, 17 Sep 2014 15:08:13 +0000 (15:08 +0000)]
[UXTHEME]
 - Allocate resources after the quick-return path

git-svn-id: file:///srv/svn/reactos/trunk@64181 97493ccd-5924-5043-b1f5-66cb403b36ce

47 hours ago[WIN32K]
jgardou [Wed, 17 Sep 2014 12:12:28 +0000 (12:12 +0000)]
[WIN32K]
 - Silence a forgotten and very noisy DPRINT.

git-svn-id: file:///srv/svn/reactos/trunk@64180 97493ccd-5924-5043-b1f5-66cb403b36ce

47 hours ago[WIN32K]
jgardou [Wed, 17 Sep 2014 12:01:34 +0000 (12:01 +0000)]
[WIN32K]
 - Return empty region in DceGetVisRgn if there is nothing to return.

git-svn-id: file:///srv/svn/reactos/trunk@64179 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[WIN32K]
jgardou [Wed, 17 Sep 2014 11:40:21 +0000 (11:40 +0000)]
[WIN32K]
 - Fix user-mode region attribute handling in IntGdiSetRegionOwner.

git-svn-id: file:///srv/svn/reactos/trunk@64178 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[WIN32K]
jgardou [Wed, 17 Sep 2014 09:54:27 +0000 (09:54 +0000)]
[WIN32K]
 - Slap *a bit* of sense in the way we use region objects and handles, avoiding a massive orgy of handle allocations, locks, leaks and so on.
The motto here being "if you don't need a valid user-mode handle, then chances are that you don't need one at all."
CORE-8506 #resolve #comment Stale region handles should not be passed anymore to user-mode apps now.

git-svn-id: file:///srv/svn/reactos/trunk@64177 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[GDI32]
jgardou [Wed, 17 Sep 2014 09:54:14 +0000 (09:54 +0000)]
[GDI32]
 - Fix up values got from win32k in GetOutlineTextMetrics and do not fail if the provided buffersize is only sizeof(OUTLINETEXTMETRICW).
CORE-8507 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@64176 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[NTDLL]
tkreuzer [Tue, 16 Sep 2014 20:40:33 +0000 (20:40 +0000)]
[NTDLL]
- Add Etw trace api stubs (moved from avdapi32)
- Add exports for Etw* functions

[ADVAPI32]
- Add forwarders of trace api functions to ntdll Etw* functions

git-svn-id: file:///srv/svn/reactos/trunk@64172 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[NTVDM]: We can specify device "command" procedures for each PS/2 port so that when...
hbelusca [Tue, 16 Sep 2014 18:54:50 +0000 (18:54 +0000)]
[NTVDM]: We can specify device "command" procedures for each PS/2 port so that when one writes to port 0x60, one can write to the correct device "plugged" into it (keyboard, mouse). modularity++;

git-svn-id: file:///srv/svn/reactos/trunk@64171 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[NTOS]: Do not break into kdbg because PopFlushVolumes is not fully implemented....
hbelusca [Tue, 16 Sep 2014 18:43:16 +0000 (18:43 +0000)]
[NTOS]: Do not break into kdbg because PopFlushVolumes is not fully implemented. Fixes apparent BSOD when trying the "Hibernate" and "Stand By" options in the Task Manager.
CORE-8537 #resolve #comment Demote UNIMPLEMENTED_DBGBREAK for UNIMPLEMENTED in the non-implemented case of PopFlushVolumes. Fixes the apparent BSOD.

git-svn-id: file:///srv/svn/reactos/trunk@64170 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[SAMSRV]
ekohl [Tue, 16 Sep 2014 10:32:04 +0000 (10:32 +0000)]
[SAMSRV]
SampRemoveUserFromAllGroups:
- Do not treat a STATUS_MEMBER_NOT_IN_GROUP, returned by SampRemoveMemberFromGroup, as error but as success.
- Clear the Groups attribute at the end.

git-svn-id: file:///srv/svn/reactos/trunk@64169 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[NTVDM]
hbelusca [Tue, 16 Sep 2014 00:51:15 +0000 (00:51 +0000)]
[NTVDM]
- Move the mouse driver to DOS since it's our 32bit version of mouse.com, in some sense,
- Temporarily disable the mouse user callbacks because currently they went called in a parallel thread than the CPU one, that caused CPU corruption,
- In the same way we currently trigger IRQ1 interrupts, we do the same for IRQ12,
- Make the console input pump more modular (and mouse presence detection code is WIP),
- Put keyboard code into a dedicated file (as done for the mouse),
- Adapt the existing PS/2 emulation code to support two PS/2 ports controlled by 1 controller. Please note that some documentations precise that the response byte (answer to a PS/2 controller command) is written directly to the PS/2 output port.

git-svn-id: file:///srv/svn/reactos/trunk@64168 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[NTVDM]
hbelusca [Tue, 16 Sep 2014 00:25:40 +0000 (00:25 +0000)]
[NTVDM]
- Code formatting and precise an info in a comment,
- Remove an unneeded commented call, and
- Mention that INT 15h functions C1h and C2h need to be implemented for PS/2 support.

git-svn-id: file:///srv/svn/reactos/trunk@64167 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[KDGDB]
jgardou [Mon, 15 Sep 2014 22:05:21 +0000 (22:05 +0000)]
[KDGDB]
 - As pid and tid 0 have a special meaning in GDB, use off-by-one thread and process ID when communicating with it
 - Properly read registers and memory from foreign thread and processes. (This time it was tested and proved to work reliably. __writecr3 ftw!)
 - Loop the list of processes and threads when trying to find them from ID, as PsLookupProessByThreadId and friends can't be used since we can be at any IRQL.
 - Add a few more debug prints to help diagnosing problems.
CORE-8531

git-svn-id: file:///srv/svn/reactos/trunk@64166 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[hivesys.inf]
tkreuzer [Mon, 15 Sep 2014 21:42:47 +0000 (21:42 +0000)]
[hivesys.inf]
Fix a typo.

git-svn-id: file:///srv/svn/reactos/trunk@64165 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[ADVAPI32_APITEST]
tkreuzer [Mon, 15 Sep 2014 21:08:00 +0000 (21:08 +0000)]
[ADVAPI32_APITEST]
- Fix linux build

git-svn-id: file:///srv/svn/reactos/trunk@64164 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[KSECDD]
tkreuzer [Mon, 15 Sep 2014 21:05:38 +0000 (21:05 +0000)]
[KSECDD]
- Implement Encrypt / DecryptMemory in KSecDD (it uses AES for 16 byte aligned sizes, and 3DES for 8 byte aligned sizes)
- Install KSecDD
- Actually use KSecDD for Encryption from advapi32

git-svn-id: file:///srv/svn/reactos/trunk@64163 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[ADVAPI32_APITEST]
tkreuzer [Mon, 15 Sep 2014 21:04:03 +0000 (21:04 +0000)]
[ADVAPI32_APITEST]
- Add tests for RtlEncrypt/DecryptMemory

git-svn-id: file:///srv/svn/reactos/trunk@64162 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[RAPPS]
dreimer [Mon, 15 Sep 2014 20:10:09 +0000 (20:10 +0000)]
[RAPPS]
Update Database for Kiel.
Add Foxit Reader to Database.

git-svn-id: file:///srv/svn/reactos/trunk@64161 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[BOOTDATA]
ekohl [Mon, 15 Sep 2014 12:25:45 +0000 (12:25 +0000)]
[BOOTDATA]
Set MaxSize and Retention for event logs.

git-svn-id: file:///srv/svn/reactos/trunk@64160 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[EVENTLOG]
ekohl [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.

git-svn-id: file:///srv/svn/reactos/trunk@64159 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[HAL]
tfaber [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.

git-svn-id: file:///srv/svn/reactos/trunk@64158 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[PSDK]: Fix some structure definitions.
hbelusca [Mon, 15 Sep 2014 00:07:46 +0000 (00:07 +0000)]
[PSDK]: Fix some structure definitions.

git-svn-id: file:///srv/svn/reactos/trunk@64157 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[KDGDB]
jgardou [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.

git-svn-id: file:///srv/svn/reactos/trunk@64156 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[DDK]
jgardou [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.

git-svn-id: file:///srv/svn/reactos/trunk@64155 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[KDGDB]
jgardou [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.

git-svn-id: file:///srv/svn/reactos/trunk@64154 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[KSECDD]
tkreuzer [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 ;-))

git-svn-id: file:///srv/svn/reactos/trunk@64153 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[XDK][DDK]
akhaldi [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.

git-svn-id: file:///srv/svn/reactos/trunk@64151 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[XDK][DDK]
akhaldi [Sun, 14 Sep 2014 15:40:37 +0000 (15:40 +0000)]
[XDK][DDK]
* Addendum to r64148.

git-svn-id: file:///srv/svn/reactos/trunk@64150 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[MSI]
akhaldi [Sun, 14 Sep 2014 15:31:58 +0000 (15:31 +0000)]
[MSI]
* Implement a correct CUSTOMPROC_wrapper wrapper for MSVC.

git-svn-id: file:///srv/svn/reactos/trunk@64149 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[XDK][DDK]
akhaldi [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

git-svn-id: file:///srv/svn/reactos/trunk@64148 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTVDM]: Code formatting and add a warning about the usage of callbacks.
hbelusca [Sun, 14 Sep 2014 14:59:20 +0000 (14:59 +0000)]
[NTVDM]: Code formatting and add a warning about the usage of callbacks.

git-svn-id: file:///srv/svn/reactos/trunk@64147 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[KDGDB]
jgardou [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

git-svn-id: file:///srv/svn/reactos/trunk@64146 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[KDGDB]
jgardou [Sun, 14 Sep 2014 14:27:58 +0000 (14:27 +0000)]
[KDGDB]
 - Improve the 'm' (read memory) gdb request

git-svn-id: file:///srv/svn/reactos/trunk@64145 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[KDGDB]
jgardou [Sun, 14 Sep 2014 14:27:44 +0000 (14:27 +0000)]
[KDGDB]
 - Add support for the qfThreadInfo GDB request

git-svn-id: file:///srv/svn/reactos/trunk@64144 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[WIN32K]
tkreuzer [Sun, 14 Sep 2014 12:33:03 +0000 (12:33 +0000)]
[WIN32K]
Prevent NULL pointer dereference and fix a compiler warning

git-svn-id: file:///srv/svn/reactos/trunk@64143 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[BOOTDATA]
spetreolle [Sun, 14 Sep 2014 12:03:17 +0000 (12:03 +0000)]
[BOOTDATA]
Install the mount manager.

git-svn-id: file:///srv/svn/reactos/trunk@64142 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[MOUNTMGR] Activate it by default
hpoussin [Sun, 14 Sep 2014 11:59:24 +0000 (11:59 +0000)]
[MOUNTMGR] Activate it by default

git-svn-id: file:///srv/svn/reactos/trunk@64141 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[MOUNTMGR] Misc fixes
hpoussin [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.

git-svn-id: file:///srv/svn/reactos/trunk@64140 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[RAMDISK] Remove support for IOCTL_CDROM_GET_LAST_SESSION (useless since r64106)
hpoussin [Sun, 14 Sep 2014 07:51:40 +0000 (07:51 +0000)]
[RAMDISK] Remove support for IOCTL_CDROM_GET_LAST_SESSION (useless since r64106)

git-svn-id: file:///srv/svn/reactos/trunk@64139 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NTVDM]: Implement few INT 33h (mouse) functions:
hbelusca [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.

git-svn-id: file:///srv/svn/reactos/trunk@64138 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NTVDM]
hbelusca [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).

git-svn-id: file:///srv/svn/reactos/trunk@64137 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NTVDM]
aandrejevic [Sat, 13 Sep 2014 21:50:23 +0000 (21:50 +0000)]
[NTVDM]
Implement motion counters in the mouse BIOS.

git-svn-id: file:///srv/svn/reactos/trunk@64136 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NTVDM]: Return mouse information for INT 33h, AX=00h. Needed for apps that check...
hbelusca [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.

git-svn-id: file:///srv/svn/reactos/trunk@64135 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days agoFix a typo.
hbelusca [Sat, 13 Sep 2014 20:18:02 +0000 (20:18 +0000)]
Fix a typo.

git-svn-id: file:///srv/svn/reactos/trunk@64134 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NTVDM]
aandrejevic [Sat, 13 Sep 2014 15:32:07 +0000 (15:32 +0000)]
[NTVDM]
Implement mouse buttons and cursor positioning.

git-svn-id: file:///srv/svn/reactos/trunk@64133 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[PSEH3]
tkreuzer [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

git-svn-id: file:///srv/svn/reactos/trunk@64132 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[BOOTDATA]
akhaldi [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+

git-svn-id: file:///srv/svn/reactos/trunk@64131 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[NTOSKRNL]
tkreuzer [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

git-svn-id: file:///srv/svn/reactos/trunk@64130 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[NTVDM]
aandrejevic [Sat, 13 Sep 2014 02:02:44 +0000 (02:02 +0000)]
[NTVDM]
Start implementing the NTVDM mouse BIOS driver.

git-svn-id: file:///srv/svn/reactos/trunk@64129 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[NTOSKRNL/GCC]
jgardou [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.

git-svn-id: file:///srv/svn/reactos/trunk@64128 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[KDGDB]
jgardou [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

git-svn-id: file:///srv/svn/reactos/trunk@64127 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[PSEH3]
tfaber [Fri, 12 Sep 2014 10:43:50 +0000 (10:43 +0000)]
[PSEH3]
- Add missing C_ASSERTs

git-svn-id: file:///srv/svn/reactos/trunk@64124 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[PSEH_TEST]
tfaber [Fri, 12 Sep 2014 10:31:48 +0000 (10:31 +0000)]
[PSEH_TEST]
- Fix incorrect size in memcmp. Spotted by clang

git-svn-id: file:///srv/svn/reactos/trunk@64123 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[KDGDB]
jgardou [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.

git-svn-id: file:///srv/svn/reactos/trunk@64121 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[WIN32SS]
akhaldi [Thu, 11 Sep 2014 13:34:39 +0000 (13:34 +0000)]
[WIN32SS]
* Remove extraneous parentheses.
CORE-8516

git-svn-id: file:///srv/svn/reactos/trunk@64120 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[WINEMP3.ACM]
akhaldi [Thu, 11 Sep 2014 13:24:10 +0000 (13:24 +0000)]
[WINEMP3.ACM]
* Link with mingwex.
CORE-8516

git-svn-id: file:///srv/svn/reactos/trunk@64119 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[SHELL32_APITEST]
akhaldi [Thu, 11 Sep 2014 11:07:03 +0000 (11:07 +0000)]
[SHELL32_APITEST]
* CLSID_MenuDeskBar is already part of the uuid lib.

git-svn-id: file:///srv/svn/reactos/trunk@64118 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[WINMM_WINETEST]
akhaldi [Thu, 11 Sep 2014 11:04:28 +0000 (11:04 +0000)]
[WINMM_WINETEST]
* Addendum to r64114.
CORE-8516

git-svn-id: file:///srv/svn/reactos/trunk@64117 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[OLEAUT32]
akhaldi [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

git-svn-id: file:///srv/svn/reactos/trunk@64116 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[INCLUDES]
akhaldi [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

git-svn-id: file:///srv/svn/reactos/trunk@64115 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[CMAKE]
akhaldi [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

git-svn-id: file:///srv/svn/reactos/trunk@64114 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[GLU32]
akhaldi [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

git-svn-id: file:///srv/svn/reactos/trunk@64113 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[CDFS]
hpoussin [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

git-svn-id: file:///srv/svn/reactos/trunk@64112 97493ccd-5924-5043-b1f5-66cb403b36ce

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

git-svn-id: file:///srv/svn/reactos/trunk@64111 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[WIN32SS]
akhaldi [Wed, 10 Sep 2014 18:49:29 +0000 (18:49 +0000)]
[WIN32SS]
* Remove unused CompareSpans().

git-svn-id: file:///srv/svn/reactos/trunk@64110 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[NTOS:IO]
hpoussin [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

git-svn-id: file:///srv/svn/reactos/trunk@64108 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[RICHED20]
akhaldi [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

git-svn-id: file:///srv/svn/reactos/trunk@64107 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[CDFS] Use IOCTL_CDROM_READ_TOC instead of IOCTL_CDROM_GET_LAST_SESSION, which is...
hpoussin [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

git-svn-id: file:///srv/svn/reactos/trunk@64106 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[CMAKE/CLANG]
akhaldi [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

git-svn-id: file:///srv/svn/reactos/trunk@64105 97493ccd-5924-5043-b1f5-66cb403b36ce

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

git-svn-id: file:///srv/svn/reactos/trunk@64104 97493ccd-5924-5043-b1f5-66cb403b36ce

8 days ago[CONSRV]
tfaber [Wed, 10 Sep 2014 13:52:31 +0000 (13:52 +0000)]
[CONSRV]
- Fix MSVC build

git-svn-id: file:///srv/svn/reactos/trunk@64103 97493ccd-5924-5043-b1f5-66cb403b36ce

9 days ago[REACTOS]
hbelusca [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).

git-svn-id: file:///srv/svn/reactos/trunk@64102 97493ccd-5924-5043-b1f5-66cb403b36ce

9 days ago[OLEACC]
hbelusca [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"...

git-svn-id: file:///srv/svn/reactos/trunk@64099 97493ccd-5924-5043-b1f5-66cb403b36ce

9 days ago[CMAKE/CLANG]
akhaldi [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

git-svn-id: file:///srv/svn/reactos/trunk@64097 97493ccd-5924-5043-b1f5-66cb403b36ce

9 days ago[LIBSAMPLERATE]
akhaldi [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

git-svn-id: file:///srv/svn/reactos/trunk@64096 97493ccd-5924-5043-b1f5-66cb403b36ce

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

git-svn-id: file:///srv/svn/reactos/trunk@64095 97493ccd-5924-5043-b1f5-66cb403b36ce

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

git-svn-id: file:///srv/svn/reactos/trunk@64094 97493ccd-5924-5043-b1f5-66cb403b36ce

9 days ago[SPEC2DEF]
jgardou [Tue, 9 Sep 2014 17:39:01 +0000 (17:39 +0000)]
[SPEC2DEF]
 - Fix GCC warning (weird doubled arguments for fprintf format)

git-svn-id: file:///srv/svn/reactos/trunk@64093 97493ccd-5924-5043-b1f5-66cb403b36ce

9 days ago[WINE/LIST]
akhaldi [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

git-svn-id: file:///srv/svn/reactos/trunk@64092 97493ccd-5924-5043-b1f5-66cb403b36ce

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

git-svn-id: file:///srv/svn/reactos/trunk@64091 97493ccd-5924-5043-b1f5-66cb403b36ce

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

git-svn-id: file:///srv/svn/reactos/trunk@64090 97493ccd-5924-5043-b1f5-66cb403b36ce

9 days ago[NTOS]
akhaldi [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

git-svn-id: file:///srv/svn/reactos/trunk@64088 97493ccd-5924-5043-b1f5-66cb403b36ce

9 days ago[CMAKE/CLANG]
akhaldi [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

git-svn-id: file:///srv/svn/reactos/trunk@64087 97493ccd-5924-5043-b1f5-66cb403b36ce

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

git-svn-id: file:///srv/svn/reactos/trunk@64086 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[apitest/crt]
cwittich [Mon, 8 Sep 2014 07:00:00 +0000 (07:00 +0000)]
[apitest/crt]
apply the same buffer size fix to _vsnwprintf test

git-svn-id: file:///srv/svn/reactos/trunk@64082 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[BROWSEUI_APITEST]
dquintana [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.

git-svn-id: file:///srv/svn/reactos/trunk@64080 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[PSEH]
tkreuzer [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

git-svn-id: file:///srv/svn/reactos/trunk@64078 97493ccd-5924-5043-b1f5-66cb403b36ce

11 days ago[PSEH]
tkreuzer [Sun, 7 Sep 2014 20:52:20 +0000 (20:52 +0000)]
[PSEH]
- Fix compilation of PSEH with Clang
- Fix _SEH3$_InvokeEmbeddedFilterFromRegistration

git-svn-id: file:///srv/svn/reactos/trunk@64077 97493ccd-5924-5043-b1f5-66cb403b36ce