* 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
* 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
* 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
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
- 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
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
- 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
Check RtlCreateUnicodeString in SetupCreateSingleDirectory.
Patch by Victor Martinez.
CORE-10647 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=70321
- 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
- 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
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
- 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
- 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
- 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
Properly return unicast addresses in GetAdaptersAddresses() by properly return a struct sockaddr_in.
This fixes a bunch of failing tests in iphlpapi_apitest, and it should fix any application relying on this API to know interfaces addresses.
svn path=/trunk/; revision=70292
Add another check that shows that data returned by GetAdaptersAddresses() are incomplete and thus broken...
"This isn't the type you're looking for." would say an old man
svn path=/trunk/; revision=70290
Arrange large and small icons after changing the view.
Patch by Carlo Bramini.
#CORE-10350 #resolve #comment Thanks a lot!
svn path=/trunk/; revision=70288