reactos.git
8 years ago[BOOTSECT]
Pierre Schweitzer [Sat, 26 Dec 2015 17:44:07 +0000 (17:44 +0000)]
[BOOTSECT]
fatx.S isn't for the FATX filesystem, it's just a generic naming, so pick up the next variable

svn path=/trunk/; revision=70426

8 years ago[CRT] Add abs and labs to CRT lib
Timo Kreuzer [Sat, 26 Dec 2015 17:13:08 +0000 (17:13 +0000)]
[CRT] Add abs and labs to CRT lib
[MSVCRT] Explicitly pull in _vsnprintf, bsearch and strcspn from CRT, to prevent the MS linker from exporting stubs from libntdll instead.
See CORE-10753

svn path=/trunk/; revision=70425

8 years ago[NTVDM]: Cast all the number-of-sectors computations to DWORD/ULONG to prevent potent...
Hermès Bélusca-Maïto [Sat, 26 Dec 2015 17:08:13 +0000 (17:08 +0000)]
[NTVDM]: Cast all the number-of-sectors computations to DWORD/ULONG to prevent potential overflows. Should fix a strange floppy read/write corruption I noticed.

svn path=/trunk/; revision=70424

8 years ago[BOOTSECTORS]
Hermès Bélusca-Maïto [Sat, 26 Dec 2015 16:57:41 +0000 (16:57 +0000)]
[BOOTSECTORS]
- Use the old fat.S source for compiling the FAT12 boot sector, until FATX.S is completely implemented.
- Fix an assembly error in FATX.S
- In comments I added experimental FAT12/16/32 targets based on Timo's FATX.S.

svn path=/trunk/; revision=70423

8 years ago[MKHIVE]
Eric Kohl [Sat, 26 Dec 2015 01:34:49 +0000 (01:34 +0000)]
[MKHIVE]
Fix indentation. No code changes!

svn path=/trunk/; revision=70422

8 years ago[BOOTDATA]
Eric Kohl [Sat, 26 Dec 2015 01:23:10 +0000 (01:23 +0000)]
[BOOTDATA]
Add missing service groups.

svn path=/trunk/; revision=70421

8 years ago[ADVAPI32]
Eric Kohl [Sat, 26 Dec 2015 01:14:18 +0000 (01:14 +0000)]
[ADVAPI32]
- Implement AbortSystemShutdownW by a call to BaseAbortSystemShutdown.
- Implement InitiateSystemShutdownW by a call to BaseInitiateSystemShutdown.
- Implement InitiateSystemShutdownExW by a call to BaseInitiateSystemShutdownEx.
- Add RPC binding code for the winreg server (in winlogon.exe).

svn path=/trunk/; revision=70420

8 years ago[SHUTDOWN][WINLOGON]
Eric Kohl [Sat, 26 Dec 2015 00:38:37 +0000 (00:38 +0000)]
[SHUTDOWN][WINLOGON]
SHUTDOWN: Fix the hack be calling InitiateSystemShutdownExW instead of ExitWindowsEx.
WINLOGON: Add a hack by calling ExitWindowsEx in BaseInitiateSystemShutdownEx.

svn path=/trunk/; revision=70419

8 years ago[NTOS]
Hermès Bélusca-Maïto [Sat, 26 Dec 2015 00:29:07 +0000 (00:29 +0000)]
[NTOS]
Disable again the DR7 check until we correctly understand why bit 10 of DR7 (reserved) is almost always set (this lead to MSVC-built ReactOS crashing when being starting in non-debugging mode). See also r69244.
CORE-10165 #comment DR7 check again disabled in r70418.

svn path=/trunk/; revision=70418

8 years ago[KDCOM]
Hermès Bélusca-Maïto [Fri, 25 Dec 2015 18:43:16 +0000 (18:43 +0000)]
[KDCOM]
For MSVC builds (using KDCOM kd64 WinDbg protocol): Bail out for droppable packets after a given number of retries, if no debugger is attached (list of droppable packets can be found in http://articles.sysprogs.org/kdvmware/kdcom.shtml section "KDCOM protocol", subsection "Droppable packets").
CORE-10541 #resolve #comment Finally fixed in revision r70417!
CORE-7106

svn path=/trunk/; revision=70417

8 years ago[NTOS/KDBK]
Timo Kreuzer [Wed, 23 Dec 2015 22:38:46 +0000 (22:38 +0000)]
[NTOS/KDBK]
Fix the value for EIP used by KDBG after an INT3 set by KDBG itself. The address is already fixed by KiDispatchException, but only in the context frame, not in the trap frame and KDBG insists to use the trap frame for a lot of things. Also, after a cont from such an int3, KDBG uses a single step to re-enable the breakpoint (it needs to disable it after it was hit to be able to execute the actual instruction), but it used to dismiss *any* single steps after that. So make sure, that an actual single step, as created by the debugger is not being dismissed, but the break point is still restored after the next single step entry. You might expect that a kernel debugger would at least support setting breakpoints, but this is KDBG.

svn path=/trunk/; revision=70416

8 years ago[FLTMGR]
Ged Murphy [Wed, 23 Dec 2015 16:29:33 +0000 (16:29 +0000)]
[FLTMGR]
- Change the start type to demand.
- Should stop free loader from throwing a tantrum because it can't load a non-existant boot driver

svn path=/trunk/; revision=70414

8 years ago[XDK]
Hermès Bélusca-Maïto [Wed, 23 Dec 2015 16:15:08 +0000 (16:15 +0000)]
[XDK]
Correctly fix the definition of DRIVER_FS_NOTIFICATION (done the same way as the other DRIVER_xxx "callback" functions; by the way you'll notice they are all NTAPI aka. __stdcall. This is not explicitely mentioned in the W(D)DK, because MS supposes you compile all your kernel-mode code in stdcall convention, the WDK environment coming with preset default compiler switches enabling that. But if you try changing them, you'll run into big troubles. In our headers on the contrary we explicitely mention the calling conventions).

[FLTMGR]
Fix FltpFsNotification to adhere to the correct DRIVER_FS_NOTIFICATION definition.

Addendum to r70410.

svn path=/trunk/; revision=70413

8 years ago[WIN32K]
Timo Kreuzer [Wed, 23 Dec 2015 14:55:34 +0000 (14:55 +0000)]
[WIN32K]
Pass cjMaxBits parameter from GreCreateDIBitmapInternal to IntCreateDIBitmap and check the image size before creating the bitmap.
Should fix crash when hitting about tab in Office2000 WinWord.
CORE-10583 #comment please retest

svn path=/trunk/; revision=70412

8 years ago[FLTMGR]
Ged Murphy [Wed, 23 Dec 2015 14:55:17 +0000 (14:55 +0000)]
[FLTMGR]
- Add the service key

svn path=/trunk/; revision=70411

8 years ago[XDK]
Ged Murphy [Wed, 23 Dec 2015 14:45:15 +0000 (14:45 +0000)]
[XDK]
- hackfix just DRIVER_FS_NOTIFICATION until we decide how we want to declare them
- Should fix build

svn path=/trunk/; revision=70410

8 years ago[FLTMGR]
Ged Murphy [Wed, 23 Dec 2015 14:41:05 +0000 (14:41 +0000)]
[FLTMGR]
- Add the beginning of the fltmgr. It's called rosfltmgr for now so I can test in Windows.
- It's currently just base code  which registers for file systems appearing (or disappearing), and attaches itself to them and all other mounted devices in their chain.
- Although it builds (touch wood), don't add it to a running system. The IRPs aren't plugged in yet and it'll just bugcheck lower down the stack.

svn path=/trunk/; revision=70409

8 years ago[NTOSKRNL]
Ged Murphy [Wed, 23 Dec 2015 11:26:28 +0000 (11:26 +0000)]
[NTOSKRNL]
- Raise the IRQL when enumerating device lists so it doesn't get edited mid-listing
- Don't hardcode the pointer size when checking the buffer size

svn path=/trunk/; revision=70408

8 years ago[FREELDR/AMD64]
Timo Kreuzer [Mon, 21 Dec 2015 19:36:10 +0000 (19:36 +0000)]
[FREELDR/AMD64]
Save parameter registers (rcx, rdx) before calling CallRealMode. Patch by andy-123, applied to a secondary location by me.
CORE-10511 #resolve #comment Thanks. I added the same fix to PnpBiosGet below.

svn path=/trunk/; revision=70407

8 years ago[USERENV]
Eric Kohl [Sun, 20 Dec 2015 22:30:51 +0000 (22:30 +0000)]
[USERENV]
Hack, that fixes the "Volatile Environment" bug by deleting the "Volatile Environment" key before the user hive is unloaded.
CORE-10705

svn path=/trunk/; revision=70406

8 years ago[KDCOM]
Hermès Bélusca-Maïto [Sun, 20 Dec 2015 16:21:59 +0000 (16:21 +0000)]
[KDCOM]
Do not use the "LoaderBlock->u.I386.CommonDataArea;" hack to use FreeLdr's DbgPrint function inside KDCOM, for the simple reason that while it works when KDCOM just initializes, the memory area where FreeLdr's DbgPrint function is, gets erased when ReactOS is running. As a result, all attempts to call the DbgPrint function when tracing something in KDCOM at the end of life of ReactOS, just fails lamentably (it hangs).
We therefore cannot rely on external code to provide us with DbgPrint. Instead, implement a very simple DbgPrint function inside KDCOM, as done by KDGDB.
The KD serial port serving for debugging KDCOM is chosen dynamically amongst the other free COM ports.

This needs to be also fixed in KDVM.

[KDGDB]
Instead of hardcoding the KD serial port number serving for debugging KDGDB, determine it dynamically amongst the other free COM ports.

svn path=/trunk/; revision=70405

8 years ago[NTOS:KDBG]: Sync back the code that I copied in FreeLdr (r70403) for COM port selection.
Hermès Bélusca-Maïto [Sun, 20 Dec 2015 02:53:30 +0000 (02:53 +0000)]
[NTOS:KDBG]: Sync back the code that I copied in FreeLdr (r70403) for COM port selection.

svn path=/trunk/; revision=70404

8 years ago[FREELDR]
Hermès Bélusca-Maïto [Sun, 20 Dec 2015 02:06:40 +0000 (02:06 +0000)]
[FREELDR]
- Allow to specify in freeldr.ini the debugging port parameters, similarly to what NTLDR allows to do: http://naesten.blogspot.fr/2010/07/undocumented-debug-section-in-bootini.html
- Update the FREELDR.INI example file to reflect these changes.
- Because some FreeLdr components, that need to be initialized before the debugging port parameters can be read from freeldr.ini, use debugging features, we still need to choose some default parameters. For serial ports, we select the possible port starting from COM4 down to COM1.

CORE-9023 #comment Revision 70403: Allow to specify a debugging port in freeldr.ini .

svn path=/trunk/; revision=70403

8 years ago[REGEDIT]
Eric Kohl [Sat, 19 Dec 2015 19:18:21 +0000 (19:18 +0000)]
[REGEDIT]
When the root item in the treeview is selected, remove all items from the listview and wipe the address bar and status bar.

svn path=/trunk/; revision=70402

8 years ago[BOOTDATA]
Eric Kohl [Sat, 19 Dec 2015 08:57:56 +0000 (08:57 +0000)]
[BOOTDATA]
Remove obsolete default user locale values. They are now set by the 2nd stage installer.
#CORE-5989 #resolve

svn path=/trunk/; revision=70400

8 years ago[SHELL32]: Tray ToolTips: use the correct buffer size for when calling MultiByteToWid...
Hermès Bélusca-Maïto [Sat, 19 Dec 2015 01:08:11 +0000 (01:08 +0000)]
[SHELL32]: Tray ToolTips: use the correct buffer size for when calling MultiByteToWideChar. Addendum to r70360. CORE-10497

svn path=/trunk/; revision=70399

8 years ago[USETUP]
Eric Kohl [Fri, 18 Dec 2015 21:36:16 +0000 (21:36 +0000)]
[USETUP]
Set the default user locale after registry setup.
#CORE-5989 #comment Please retest!

svn path=/trunk/; revision=70398

8 years ago[RTL]
Aleksey Bragin [Fri, 18 Dec 2015 14:58:32 +0000 (14:58 +0000)]
[RTL]
- Improve implementation of RtlActivateActivationContextUnsafeFast / RtlDeactivateActivationContextUnsafeFast by replace magic numbers by flag values, which are already defined in rtltypes.h, and adding various debugging checks. Two of them are triggered for yet unknown reason:
 * Assert in RtlActivateActivationContextUnsafeFast
 * "Trying to activate already activated activation context"
They are commented out in trunk not to annoy everyone.

svn path=/trunk/; revision=70396

8 years ago[MSPAINT] Fix some English strings, to match Windows behaviour. Patch by Henry Tang...
Robert Naumann [Fri, 18 Dec 2015 12:31:57 +0000 (12:31 +0000)]
[MSPAINT] Fix some English strings, to match Windows behaviour. Patch by Henry Tang Ih CORE-10716

svn path=/trunk/; revision=70395

8 years ago[LOGON.SCR] - improve the bitmaps
Robert Naumann [Fri, 18 Dec 2015 12:29:01 +0000 (12:29 +0000)]
[LOGON.SCR] - improve the bitmaps
- remove the enterprise part (we are ReactOS and only ReactOS)
- Add an Application icon

svn path=/trunk/; revision=70394

8 years ago[DBGHELP][RTL]
Hermès Bélusca-Maïto [Thu, 17 Dec 2015 23:10:56 +0000 (23:10 +0000)]
[DBGHELP][RTL]
Fix usage of VirtualSize wrt. SizeOfRawData.
CORE-10523
CORE-9548 #comment Please retest with revision >= 70390

svn path=/trunk/; revision=70390

8 years ago[SYSSETUP]
Eric Kohl [Thu, 17 Dec 2015 22:22:16 +0000 (22:22 +0000)]
[SYSSETUP]
Initialize the defauls users locale settings based on the selected locale Id from first stage setup.
#CORE-5989 #resolve

svn path=/trunk/; revision=70389

8 years ago[WIN32K]
Timo Kreuzer [Thu, 17 Dec 2015 22:05:06 +0000 (22:05 +0000)]
[WIN32K]
Fix bugs in pen implementation:
- Do not use the x coordinate to adjust styles, instead they start where the lines start
- Don't leak allocated styles
- Make sure the PEN fields are initialized correctly, even for BRUSHES, so that the destructor can do it's cleanup work
- Fix numerous parameter checks
gdi32_apitest:pen now shows 0 failures!

svn path=/trunk/; revision=70388

8 years ago[WIN32K]
Timo Kreuzer [Thu, 17 Dec 2015 17:44:42 +0000 (17:44 +0000)]
[WIN32K]
Implement support for styled lines.
CORE-9984 #resolve

svn path=/trunk/; revision=70387

8 years ago[HIVECLS] Add bmp images to the shell "new" menu. Patch by Jared Smudde CORE-10668
Robert Naumann [Thu, 17 Dec 2015 14:23:21 +0000 (14:23 +0000)]
[HIVECLS] Add bmp images to the shell "new" menu. Patch by Jared Smudde CORE-10668

svn path=/trunk/; revision=70385

8 years ago[RUNDLL32] Add an icon. Patch by Jared Smudde. CORE-10669
Robert Naumann [Thu, 17 Dec 2015 14:10:18 +0000 (14:10 +0000)]
[RUNDLL32] Add an icon. Patch by Jared Smudde. CORE-10669

svn path=/trunk/; revision=70384

8 years ago[TRANSLATIONS] Traditional Chinese translation update by Henry Tang Ih. CORE-10655
Amine Khaldi [Thu, 17 Dec 2015 11:10:00 +0000 (11:10 +0000)]
[TRANSLATIONS] Traditional Chinese translation update by Henry Tang Ih. CORE-10655

svn path=/trunk/; revision=70381

8 years ago[NETCFGX]
Eric Kohl [Thu, 17 Dec 2015 09:32:10 +0000 (09:32 +0000)]
[NETCFGX]
Implement INetCfgPnpReconfigCallback stub.

svn path=/trunk/; revision=70379

8 years agoForgot this one...
Hermès Bélusca-Maïto [Thu, 17 Dec 2015 02:37:34 +0000 (02:37 +0000)]
Forgot this one...

svn path=/trunk/; revision=70378

8 years ago[SYSDM]: Fix translations.
Hermès Bélusca-Maïto [Thu, 17 Dec 2015 02:36:38 +0000 (02:36 +0000)]
[SYSDM]: Fix translations.

svn path=/trunk/; revision=70377

8 years ago[BROWSEUI]
Hermès Bélusca-Maïto [Thu, 17 Dec 2015 02:02:16 +0000 (02:02 +0000)]
[BROWSEUI]
- Add french translation (not complete, but enough for now: only what can be currently displayed is translated).
- Don't hardcode the "History" item in the travel-log, but use the localized string. Use the hardcoded string *only* if loading the translation failed.

svn path=/trunk/; revision=70376

8 years agoUpdate few french translations.
Hermès Bélusca-Maïto [Thu, 17 Dec 2015 00:24:28 +0000 (00:24 +0000)]
Update few french translations.

svn path=/trunk/; revision=70375

8 years ago[NTOS]: Fix comments only, no code changes.
Hermès Bélusca-Maïto [Wed, 16 Dec 2015 23:53:51 +0000 (23:53 +0000)]
[NTOS]: Fix comments only, no code changes.

svn path=/trunk/; revision=70374

8 years ago[REGEDIT]
Hermès Bélusca-Maïto [Wed, 16 Dec 2015 23:50:56 +0000 (23:50 +0000)]
[REGEDIT]
Fix hebrew "registry editor" translation.

[SHORTCUTS.INF]
Fix regedit shortcut name (localize it instead of using "regedit")

svn path=/trunk/; revision=70373

8 years ago[BOOTDATA] Default to wallpaper expanding. By Hermès BÉLUSCA - MAÏTO. CORE-10709
Amine Khaldi [Wed, 16 Dec 2015 21:54:11 +0000 (21:54 +0000)]
[BOOTDATA] Default to wallpaper expanding. By Hermès BÉLUSCA - MAÏTO. CORE-10709

svn path=/trunk/; revision=70369

8 years ago[IPHLPAPI_APITEST]
Pierre Schweitzer [Wed, 16 Dec 2015 21:11:22 +0000 (21:11 +0000)]
[IPHLPAPI_APITEST]
Rewrite the two existing tests for ICMP and add a third one (for IPv6).
Patch by Tim Crawford.

ROSTESTS-212 #resolve #comment Commited in r70367. Thanks!

svn path=/trunk/; revision=70367

8 years ago[NTOS:IO]
Thomas Faber [Wed, 16 Dec 2015 18:08:38 +0000 (18:08 +0000)]
[NTOS:IO]
- Add some missing OBJ_KERNEL_HANDLE.
CORE-10207

svn path=/trunk/; revision=70366

8 years ago[COMMAND.COM]
Hermès Bélusca-Maïto [Wed, 16 Dec 2015 17:28:59 +0000 (17:28 +0000)]
[COMMAND.COM]
Surround welcome & debugging messages in #ifndef NDEBUG blocks, that should be compiled in trunk but will be disabled in the release.
This is to "cure" the bad-looking problem described in http://www.reactos.org/forum/viewtopic.php?f=25&t=14620 .

svn path=/trunk/; revision=70365

8 years ago[ICONS] Fix some blurry icons by Henry Tang Ih. CORE-10640
Amine Khaldi [Wed, 16 Dec 2015 14:57:14 +0000 (14:57 +0000)]
[ICONS] Fix some blurry icons by Henry Tang Ih. CORE-10640

svn path=/trunk/; revision=70363

8 years ago[WINLOGON]
Eric Kohl [Wed, 16 Dec 2015 14:45:19 +0000 (14:45 +0000)]
[WINLOGON]
Get rid of setup.h.

svn path=/trunk/; revision=70361

8 years ago[SHELL32]
David Quintana [Wed, 16 Dec 2015 12:36:33 +0000 (12:36 +0000)]
[SHELL32]
Apply patch by Mark Jansen (learn_more) with a few tweaks. Fixes calls to Shell_NotifyIconA such as those from VBoxTray.
CORE-10497 #resolve

svn path=/trunk/; revision=70360

8 years ago[CLIPBRD] Translate ERROR_INVALID_FILE_FORMAT to Romanian. By Ștefan Fulea.
Amine Khaldi [Wed, 16 Dec 2015 10:26:31 +0000 (10:26 +0000)]
[CLIPBRD] Translate ERROR_INVALID_FILE_FORMAT to Romanian. By Ștefan Fulea.

svn path=/trunk/; revision=70358

8 years ago[TRANSLATIONS] Romanian translation update by Ștefan Fulea. CORE-10676
Amine Khaldi [Wed, 16 Dec 2015 10:22:00 +0000 (10:22 +0000)]
[TRANSLATIONS] Romanian translation update by Ștefan Fulea. CORE-10676

svn path=/trunk/; revision=70357

8 years ago[NTOS:PNP]
Thomas Faber [Wed, 16 Dec 2015 10:05:15 +0000 (10:05 +0000)]
[NTOS:PNP]
- Don't free NULL buffers returned from IopCaptureUnicodeString.
CORE-10706 #resolve

svn path=/trunk/; revision=70356

8 years ago[WIN32K:CLIPBOARD]
Hermès Bélusca-Maïto [Wed, 16 Dec 2015 00:26:27 +0000 (00:26 +0000)]
[WIN32K:CLIPBOARD]
- When cleaning the clipboard, cancel any pending delayed rendering and increment all the sequence&serial numbers.
- Fix the clipboard access check when performing a delay rendering. This fixes VBox host <-> guest copy/paste amongst others...
CORE-5512 CORE-9620
CORE-8367 CORE-8627 #comment Please retest with revision >= 70355.

svn path=/trunk/; revision=70355

8 years ago[WIN32SS:CLIPBOARD]
Hermès Bélusca-Maïto [Wed, 16 Dec 2015 00:10:58 +0000 (00:10 +0000)]
[WIN32SS:CLIPBOARD]
- Reduce indentation level of some code.
- No need to initialize pWinStaObj when it is reinitialized just after.
- Fix some comments.

svn path=/trunk/; revision=70354

8 years ago[WINSRV]
Eric Kohl [Tue, 15 Dec 2015 21:38:36 +0000 (21:38 +0000)]
[WINSRV]
Do not kill system processes when a user is logging off. Fixes user logoff.
#CORE-2391 #resolve

svn path=/trunk/; revision=70350

8 years ago[CLIPBRD]
Hermès Bélusca-Maïto [Tue, 15 Dec 2015 02:54:24 +0000 (02:54 +0000)]
[CLIPBRD]
Fix the computation of where bitmap pixels start, depending on whether we are dealing with DIBs or DIBs version 5+ (depending on the header BITMAPINFOHEADER or BITMAPV5HEADER etc...).
I also noticed a bug in Windows that few other people already discovered, related to the automatic conversion of CF_DIBV5/CF_BITMAP to CF_DIB clipboard format. See the comment in the code.
CORE-10679

svn path=/trunk/; revision=70349

8 years ago[NTOS]
Aleksey Bragin [Mon, 14 Dec 2015 23:20:10 +0000 (23:20 +0000)]
[NTOS]
- Fix copypasta in the comments

svn path=/trunk/; revision=70348

8 years ago[CLIPBRD]
Hermès Bélusca-Maïto [Mon, 14 Dec 2015 22:55:55 +0000 (22:55 +0000)]
[CLIPBRD]
- Add support for scrolling with the mouse wheel, by Ricardo Hanke.
- No need to check for CloseClipboard failure & display an error message if the clipboard was successfully opened just before.
- Use ARRAYSIZE macro instead of hardcoding the length of available clipboard format list.
CORE-10679

svn path=/trunk/; revision=70347

8 years ago[MAGNIFY]
David Quintana [Mon, 14 Dec 2015 05:03:06 +0000 (05:03 +0000)]
[MAGNIFY]
* Implement AppBar docking (defaults to floating because we don't properly support AppBars yet -- works in Windows).
* Implement loading and saving the AppBar settings from the registry.
* Remove the minimize button from the options dialog.
CORE-10691

svn path=/trunk/; revision=70344

8 years ago[RAPPS]
Thomas Faber [Sun, 13 Dec 2015 13:20:31 +0000 (13:20 +0000)]
[RAPPS]
- Remove checksum from uTorrent download, since the only available URL is for the latest build (so it changes)

svn path=/trunk/; revision=70340

8 years ago[RAPPS]
Thomas Faber [Sun, 13 Dec 2015 13:05:00 +0000 (13:05 +0000)]
[RAPPS]
- Fix PuTTY URL (don't use /latest/)

svn path=/trunk/; revision=70339

8 years ago[WIN32K]
David Quintana [Sun, 13 Dec 2015 06:08:12 +0000 (06:08 +0000)]
[WIN32K]
* GetGUIThreadInfo: When they said "foreground thread", they meant the one with the keyboard focus, not the currently running one.
NOTE: This needs verification, as I have no idea how to properly handle IntGetFocusMessageQueue() returning NULL.

[MAGNIFY]
* Make use of the new-found ability to call GetGUIThreadInfo with 0 as the threadId.

CORE-10691

svn path=/trunk/; revision=70338

8 years ago[MAGNIFY]
David Quintana [Sun, 13 Dec 2015 05:07:37 +0000 (05:07 +0000)]
[MAGNIFY]
* Use GetGUIThreadInfo instead of multiple separate "hacks" to obtain all the necessary data in one single call.
* Keep the off-screen DC for later use, and only recreate when needed.
* Restore caret follow back to default-on.
More changes toward CORE-10691

svn path=/trunk/; revision=70337

8 years ago[MAGNIFY]
David Quintana [Sun, 13 Dec 2015 02:57:14 +0000 (02:57 +0000)]
[MAGNIFY]
* Replace the menubar with a notification icon and context menu.
* Change the dialog button to "Ok" instead of "Exit" (applied to en-US and es-ES only, the translators will have to do the rest :P).
* Due to a rather bad problem presumably caused by AttachThreadInput, set the "Follow Caret" option to disabled by default. This can be re-enabled once the problem is fixed.
More changes toward CORE-10691

svn path=/trunk/; revision=70336

8 years ago[MAGNIFY]
David Quintana [Sun, 13 Dec 2015 00:34:18 +0000 (00:34 +0000)]
[MAGNIFY]
Some improvements to the drawing code:
* Draw as soon as the mouse/caret/focus changes, or after 100ms if nothing changed.
* Copy only the needed area of the screen into the internal buffer.
* Blank out the area of the buffer where the client region of the magnifier overlaps, to avoid re-zooming the pixels.
* Keep the source region contained within the closest monitor, instead of only the primary one.
* Invert colors when copying from the screen, instead of when stretching, since there's less pixels to draw.

First step toward the improvements described in CORE-10691

svn path=/trunk/; revision=70335

8 years ago[WIN32K:CLIP]
Hermès Bélusca-Maïto [Sat, 12 Dec 2015 21:47:14 +0000 (21:47 +0000)]
[WIN32K:CLIP]
- Adjust the type of some variables.
- Correctly set the fClipboardChanged flag to TRUE when emptying the clipboard: now this correctly triggers sending the WM_DRAWCLIPBOARD message to windows. Adapted from a patch by Ricardo Hanke.
CORE-10351

svn path=/trunk/; revision=70334

8 years agoWhitespace fixes only.
Hermès Bélusca-Maïto [Sat, 12 Dec 2015 21:28:55 +0000 (21:28 +0000)]
Whitespace fixes only.

svn path=/trunk/; revision=70333

8 years ago[CLIPBRD]: SVN failure again: for some reason this file was not added to the code...
Hermès Bélusca-Maïto [Sat, 12 Dec 2015 21:21:28 +0000 (21:21 +0000)]
[CLIPBRD]: SVN failure again: for some reason this file was not added to the code when applying the patch. See r70331.
CORE-10679

svn path=/trunk/; revision=70332

8 years ago[CLIPBRD]
Hermès Bélusca-Maïto [Sat, 12 Dec 2015 21:15:53 +0000 (21:15 +0000)]
[CLIPBRD]
Start scrolling support, work in progress. By Ricardo Hanke
CORE-10679

svn path=/trunk/; revision=70331

8 years ago[CLIPBRD]: Fix SVN patching failure & build; see r70329 and CORE-10662. Patch of...
Hermès Bélusca-Maïto [Sat, 12 Dec 2015 20:47:36 +0000 (20:47 +0000)]
[CLIPBRD]: Fix SVN patching failure & build; see r70329 and CORE-10662. Patch of r70329 was by Ricardo Hanke :)

svn path=/trunk/; revision=70330

8 years ago[CLIPBRD]
Hermès Bélusca-Maïto [Sat, 12 Dec 2015 20:40:19 +0000 (20:40 +0000)]
[CLIPBRD]
Handle WM_PALETTECHANGED and WM_QUERYNEWPALETTE: realizes any palette found on the clipboard, if there is any, if it receives one of those messages.

svn path=/trunk/; revision=70329

8 years ago[CLIPBRD]
Hermès Bélusca-Maïto [Sat, 12 Dec 2015 20:34:21 +0000 (20:34 +0000)]
[CLIPBRD]
- Display the application icon in program's about dialog.
- Add missing DT_NOPREFIX flag to DrawText() calls.
- Let ShowLastWin32Error() show an error message even if the last error code is zero.
- Remove the calls to OpenClipboard() and CloseClipboard() from the functions in winutils.c and let the caller open and close the clipboard instead.

Patch by Ricardo Hanke

CORE-10657

svn path=/trunk/; revision=70328

8 years agoFixing several missing va_end issues in DHCP.
Sylvain Petreolle [Sat, 12 Dec 2015 12:02:37 +0000 (12:02 +0000)]
Fixing several missing va_end issues in DHCP.
Patch by Victor Martinez.
CORE-10631

svn path=/trunk/; revision=70327

8 years ago[IPHLPAPI_APITEST]
Pierre Schweitzer [Sat, 12 Dec 2015 09:45:23 +0000 (09:45 +0000)]
[IPHLPAPI_APITEST]
Add more tests

svn path=/trunk/; revision=70326

8 years ago[VERSION]
Thomas Faber [Sat, 12 Dec 2015 08:27:07 +0000 (08:27 +0000)]
[VERSION]
- Properly determine SVN revision. We can't expect .svn folders to exist in each subdir anymore.

svn path=/trunk/; revision=70324

8 years ago[TCPIP]
Pierre Schweitzer [Fri, 11 Dec 2015 22:30:02 +0000 (22:30 +0000)]
[TCPIP]
Fix the last failing tests of iphlpapi_apitest:SendARP

svn path=/trunk/; revision=70323

8 years ago[USETUP]
Eric Kohl [Thu, 10 Dec 2015 15:43:06 +0000 (15:43 +0000)]
[USETUP]
Check RtlCreateUnicodeString in SetupCreateSingleDirectory.
Patch by Victor Martinez.
CORE-10647 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70321

8 years ago[SYSSETUP]
Thomas Faber [Thu, 10 Dec 2015 09:14:19 +0000 (09:14 +0000)]
[SYSSETUP]
- Don't disable the user profile creation hack until it's actually fixed (NtUnloadKey(NULL) doesn't do anything and I don't know what's actually supposed to go there). Should avoid some user profile corruption after crashes in 3rd stage (since 2nd stage will have flushed the registry).
CORE-10381

svn path=/trunk/; revision=70320

8 years ago[CHARMAP]
Ged Murphy [Wed, 9 Dec 2015 21:55:19 +0000 (21:55 +0000)]
[CHARMAP]
- Don't go past the scroll range
- Reset the grid/cell info when a new font is selected
- Should fix some of the issues Vort listed in CORE-10518

svn path=/trunk/; revision=70319

8 years ago[BROWSEUI]
Thomas Faber [Wed, 9 Dec 2015 19:36:35 +0000 (19:36 +0000)]
[BROWSEUI]
- Stub out CACListISF
ROSTESTS-210 #resolve

svn path=/trunk/; revision=70318

8 years ago[USETUP]
Eric Kohl [Wed, 9 Dec 2015 19:21:11 +0000 (19:21 +0000)]
[USETUP]
Romanian code page related support.
Patch by Stefan Fulea.
CORE-10569 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70317

8 years ago[PSEH3]
Timo Kreuzer [Wed, 9 Dec 2015 07:49:18 +0000 (07:49 +0000)]
[PSEH3]
Remove do { } while (0) constructs from PSEH3 macros, so that a break from within a try block does what it is supposed to do.

svn path=/trunk/; revision=70316

8 years ago[WIN32K/NTGDI]
Ged Murphy [Wed, 9 Dec 2015 00:09:32 +0000 (00:09 +0000)]
[WIN32K/NTGDI]
- Fix setting the correct font in certain code paths
- non-eisting glyphs should return 0xffff, not 0x001f
- Don't set last error on failure, GDI APIs don't do that
- Remove GreGetGlyphIndicesW, it was mostly a copy of NtGdiGetGlyphIndicesW and it wasn't used
- Fixes the GetGlyphIndices tests and fixes showing invalid fonts in charmap

svn path=/trunk/; revision=70315

8 years ago[EXPLORER]Initialize the propInfo structure before using it. Spotted by Mark Jansen...
Robert Naumann [Tue, 8 Dec 2015 22:54:33 +0000 (22:54 +0000)]
[EXPLORER]Initialize the propInfo structure before using it. Spotted by Mark Jansen. See CORE-10560

svn path=/trunk/; revision=70314

8 years agoCaught out by unix again
Ged Murphy [Tue, 8 Dec 2015 22:18:41 +0000 (22:18 +0000)]
Caught out by unix again

svn path=/trunk/; revision=70313

8 years ago[TCPIP]
Pierre Schweitzer [Tue, 8 Dec 2015 22:16:18 +0000 (22:16 +0000)]
[TCPIP]
Fix one test failure

svn path=/trunk/; revision=70312

8 years ago[GDI32_APITEST]
Ged Murphy [Tue, 8 Dec 2015 22:14:48 +0000 (22:14 +0000)]
[GDI32_APITEST]
- Add some tests for GetGlyphIndices

svn path=/trunk/; revision=70311

8 years ago[CLASS2]
Thomas Faber [Tue, 8 Dec 2015 17:46:33 +0000 (17:46 +0000)]
[CLASS2]
- Don't take a reference on the device object in ScsiClassClaimDevice since it's not going to be released before device removal. Inspired by classpnp. Fixes ejecting mass storage devices.
CORE-8911 #resolve

svn path=/trunk/; revision=70310

8 years ago[SYSSETUP]
Eric Kohl [Tue, 8 Dec 2015 15:57:47 +0000 (15:57 +0000)]
[SYSSETUP]
- Get rid of the global SetupData variable. Allocate the setup data struct from heap instead and pass its pointer to all wizard pages.
- Keep the setup data pointer in all wizard pages where it is needed.
- Keep the handle to the unattended.inf file open as long as the setup wizard exists.

svn path=/trunk/; revision=70309

8 years ago[CLASS2]
Thomas Faber [Tue, 8 Dec 2015 13:54:35 +0000 (13:54 +0000)]
[CLASS2]
- Properly forward PNP IRPs to the lower device
CORE-8911

svn path=/trunk/; revision=70308

8 years ago[CLASS2]
Thomas Faber [Tue, 8 Dec 2015 13:30:06 +0000 (13:30 +0000)]
[CLASS2]
- Fix build
CORE-8911

svn path=/trunk/; revision=70307

8 years ago[CLASS2]
Thomas Faber [Tue, 8 Dec 2015 13:25:37 +0000 (13:25 +0000)]
[CLASS2]
- Add a Signature member to make devices created from class2's AddDevice recognizable
CORE-8911

svn path=/trunk/; revision=70306

8 years ago[WINSPOOL] Properly stub IsValidDevmodeW.
Amine Khaldi [Tue, 8 Dec 2015 13:01:28 +0000 (13:01 +0000)]
[WINSPOOL] Properly stub IsValidDevmodeW.

svn path=/trunk/; revision=70305

8 years ago[FASTFAT]
Thomas Faber [Tue, 8 Dec 2015 12:57:45 +0000 (12:57 +0000)]
[FASTFAT]
- Always use the full path name when looking for FCB hashes
CORE-10483 #resolve

svn path=/trunk/; revision=70304

8 years ago[QEDIT_WINETEST] Welcome to the green family.
Amine Khaldi [Tue, 8 Dec 2015 12:43:26 +0000 (12:43 +0000)]
[QEDIT_WINETEST] Welcome to the green family.

svn path=/trunk/; revision=70303

8 years ago[PSDK] Update d3dtypes.h. CORE-10536
Amine Khaldi [Tue, 8 Dec 2015 12:38:18 +0000 (12:38 +0000)]
[PSDK] Update d3dtypes.h. CORE-10536

svn path=/trunk/; revision=70302

8 years ago[WINSPOOL_WINETEST] Import from Wine Staging 1.7.55. CORE-10536
Amine Khaldi [Tue, 8 Dec 2015 12:35:27 +0000 (12:35 +0000)]
[WINSPOOL_WINETEST] Import from Wine Staging 1.7.55. CORE-10536

svn path=/trunk/; revision=70301

8 years ago[QEDIT_WINETEST] Import from Wine Staging 1.7.55. CORE-10536
Amine Khaldi [Tue, 8 Dec 2015 11:26:07 +0000 (11:26 +0000)]
[QEDIT_WINETEST] Import from Wine Staging 1.7.55. CORE-10536

svn path=/trunk/; revision=70300