Commit graph

64628 commits

Author SHA1 Message Date
Thomas Faber a6a9039032 [NTOS:PNP]
- Don't free NULL buffers returned from IopCaptureUnicodeString.
CORE-10706 #resolve

svn path=/trunk/; revision=70356
2015-12-16 10:05:15 +00:00
Hermès Bélusca-Maïto 67e52a6862 [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
2015-12-16 00:26:27 +00:00
Hermès Bélusca-Maïto 4e929985de [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
2015-12-16 00:10:58 +00:00
Eric Kohl 875158be3e [WINSRV]
Do not kill system processes when a user is logging off. Fixes user logoff.
#CORE-2391 #resolve

svn path=/trunk/; revision=70350
2015-12-15 21:38:36 +00:00
Hermès Bélusca-Maïto e0b85f16d3 [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
2015-12-15 02:54:24 +00:00
Aleksey Bragin 830c4ee4a0 [NTOS]
- Fix copypasta in the comments

svn path=/trunk/; revision=70348
2015-12-14 23:20:10 +00:00
Hermès Bélusca-Maïto a62f0ac81c [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
2015-12-14 22:55:55 +00:00
David Quintana 2dbcc6fba0 [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
2015-12-14 05:03:06 +00:00
Thomas Faber e30338c882 [RAPPS]
- Remove checksum from uTorrent download, since the only available URL is for the latest build (so it changes)

svn path=/trunk/; revision=70340
2015-12-13 13:20:31 +00:00
Thomas Faber 89a3034a75 [RAPPS]
- Fix PuTTY URL (don't use /latest/)

svn path=/trunk/; revision=70339
2015-12-13 13:05:00 +00:00
David Quintana 66d1d19b39 [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
2015-12-13 06:08:12 +00:00
David Quintana 901e051b93 [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
2015-12-13 05:07:37 +00:00
David Quintana 4faf7c3ef3 [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
2015-12-13 02:57:14 +00:00
David Quintana 82f42c9c92 [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
2015-12-13 00:34:18 +00:00
Hermès Bélusca-Maïto 70e2eedd98 [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
2015-12-12 21:47:14 +00:00
Hermès Bélusca-Maïto 6518065a73 Whitespace fixes only.
svn path=/trunk/; revision=70333
2015-12-12 21:28:55 +00:00
Hermès Bélusca-Maïto 747395cee4 [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
2015-12-12 21:21:28 +00:00
Hermès Bélusca-Maïto 0e0df7b9e6 [CLIPBRD]
Start scrolling support, work in progress. By Ricardo Hanke
CORE-10679

svn path=/trunk/; revision=70331
2015-12-12 21:15:53 +00:00
Hermès Bélusca-Maïto 626de8ff8e [CLIPBRD]: Fix SVN patching failure & build; see r70329 and CORE-10662. Patch of r70329 was by Ricardo Hanke :)
svn path=/trunk/; revision=70330
2015-12-12 20:47:36 +00:00
Hermès Bélusca-Maïto e19711eebf [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
2015-12-12 20:40:19 +00:00
Hermès Bélusca-Maïto 1153d6397c [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
2015-12-12 20:34:21 +00:00
Sylvain Petreolle c1d7cca159 Fixing several missing va_end issues in DHCP.
Patch by Victor Martinez.
CORE-10631

svn path=/trunk/; revision=70327
2015-12-12 12:02:37 +00:00
Pierre Schweitzer 1a18680120 [IPHLPAPI_APITEST]
Add more tests

svn path=/trunk/; revision=70326
2015-12-12 09:45:23 +00:00
Thomas Faber ab2c9e9eeb [VERSION]
- Properly determine SVN revision. We can't expect .svn folders to exist in each subdir anymore.

svn path=/trunk/; revision=70324
2015-12-12 08:27:07 +00:00
Pierre Schweitzer a6577878cb [TCPIP]
Fix the last failing tests of iphlpapi_apitest:SendARP

svn path=/trunk/; revision=70323
2015-12-11 22:30:02 +00:00
Eric Kohl d8e9559dd9 [USETUP]
Check RtlCreateUnicodeString in SetupCreateSingleDirectory.
Patch by Victor Martinez.
CORE-10647 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70321
2015-12-10 15:43:06 +00:00
Thomas Faber f7500c28d1 [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
2015-12-10 09:14:19 +00:00
Ged Murphy dcbfa5af55 [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
2015-12-09 21:55:19 +00:00
Thomas Faber e7b5526683 [BROWSEUI]
- Stub out CACListISF
ROSTESTS-210 #resolve

svn path=/trunk/; revision=70318
2015-12-09 19:36:35 +00:00
Eric Kohl d2fccd60e9 [USETUP]
Romanian code page related support.
Patch by Stefan Fulea.
CORE-10569 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70317
2015-12-09 19:21:11 +00:00
Timo Kreuzer ad89dba36e [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
2015-12-09 07:49:18 +00:00
Ged Murphy fd2a84e434 [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
2015-12-09 00:09:32 +00:00
Robert Naumann 2a0e21d6cb [EXPLORER]Initialize the propInfo structure before using it. Spotted by Mark Jansen. See CORE-10560
svn path=/trunk/; revision=70314
2015-12-08 22:54:33 +00:00
Ged Murphy 78c2f01594 Caught out by unix again
svn path=/trunk/; revision=70313
2015-12-08 22:18:41 +00:00
Pierre Schweitzer cba476574d [TCPIP]
Fix one test failure

svn path=/trunk/; revision=70312
2015-12-08 22:16:18 +00:00
Ged Murphy 452bc55d4b [GDI32_APITEST]
- Add some tests for GetGlyphIndices

svn path=/trunk/; revision=70311
2015-12-08 22:14:48 +00:00
Thomas Faber b578474474 [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
2015-12-08 17:46:33 +00:00
Eric Kohl 75fe25183f [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
2015-12-08 15:57:47 +00:00
Thomas Faber 4ed942b77e [CLASS2]
- Properly forward PNP IRPs to the lower device
CORE-8911

svn path=/trunk/; revision=70308
2015-12-08 13:54:35 +00:00
Thomas Faber b56eae0abf [CLASS2]
- Fix build
CORE-8911

svn path=/trunk/; revision=70307
2015-12-08 13:30:06 +00:00
Thomas Faber be9fbd0e66 [CLASS2]
- Add a Signature member to make devices created from class2's AddDevice recognizable
CORE-8911

svn path=/trunk/; revision=70306
2015-12-08 13:25:37 +00:00
Amine Khaldi db44f7d8fd [WINSPOOL] Properly stub IsValidDevmodeW.
svn path=/trunk/; revision=70305
2015-12-08 13:01:28 +00:00
Thomas Faber 8b9fb19bab [FASTFAT]
- Always use the full path name when looking for FCB hashes
CORE-10483 #resolve

svn path=/trunk/; revision=70304
2015-12-08 12:57:45 +00:00
Amine Khaldi 99319d5ab2 [QEDIT_WINETEST] Welcome to the green family.
svn path=/trunk/; revision=70303
2015-12-08 12:43:26 +00:00
Amine Khaldi fbb577130a [PSDK] Update d3dtypes.h. CORE-10536
svn path=/trunk/; revision=70302
2015-12-08 12:38:18 +00:00
Amine Khaldi f95234c66b [WINSPOOL_WINETEST] Import from Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=70301
2015-12-08 12:35:27 +00:00
Amine Khaldi 80622ac2ae [QEDIT_WINETEST] Import from Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=70300
2015-12-08 11:26:07 +00:00
Amine Khaldi 5aca1de518 [NETCFGX_WINETEST] Import from Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=70299
2015-12-08 11:18:34 +00:00
Amine Khaldi bcd0f8711a [PSDK] Update stdole2.idl. CORE-10536
svn path=/trunk/; revision=70298
2015-12-08 11:15:23 +00:00
Amine Khaldi 4b1f6d1e0a [NETAPI32_WINETEST] Remove a meaningless line.
svn path=/trunk/; revision=70297
2015-12-08 11:06:25 +00:00