Commit graph

64755 commits

Author SHA1 Message Date
Eric Kohl 13fbf3250a [USETUP]
Set the default user locale after registry setup.
#CORE-5989 #comment Please retest!

svn path=/trunk/; revision=70398
2015-12-18 21:36:16 +00:00
Aleksey Bragin 5570ee8746 [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
2015-12-18 14:58:32 +00:00
Robert Naumann 4a491c30ab [MSPAINT] Fix some English strings, to match Windows behaviour. Patch by Henry Tang Ih CORE-10716
svn path=/trunk/; revision=70395
2015-12-18 12:31:57 +00:00
Robert Naumann d50e0e8b5d [LOGON.SCR] - improve the bitmaps
- remove the enterprise part (we are ReactOS and only ReactOS)
- Add an Application icon

svn path=/trunk/; revision=70394
2015-12-18 12:29:01 +00:00
Hermès Bélusca-Maïto 7e607b9fb8 [DBGHELP][RTL]
Fix usage of VirtualSize wrt. SizeOfRawData.
CORE-10523
CORE-9548 #comment Please retest with revision >= 70390

svn path=/trunk/; revision=70390
2015-12-17 23:10:56 +00:00
Eric Kohl 382ea14238 [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
2015-12-17 22:22:16 +00:00
Timo Kreuzer fd01add9cf [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
2015-12-17 22:05:06 +00:00
Timo Kreuzer 0f8f2f51ce [WIN32K]
Implement support for styled lines.
CORE-9984 #resolve

svn path=/trunk/; revision=70387
2015-12-17 17:44:42 +00:00
Robert Naumann d91023fb28 [HIVECLS] Add bmp images to the shell "new" menu. Patch by Jared Smudde CORE-10668
svn path=/trunk/; revision=70385
2015-12-17 14:23:21 +00:00
Robert Naumann 647ded523c [RUNDLL32] Add an icon. Patch by Jared Smudde. CORE-10669
svn path=/trunk/; revision=70384
2015-12-17 14:10:18 +00:00
Amine Khaldi d8fcc9875c [TRANSLATIONS] Traditional Chinese translation update by Henry Tang Ih. CORE-10655
svn path=/trunk/; revision=70381
2015-12-17 11:10:00 +00:00
Eric Kohl 93d31d0934 [NETCFGX]
Implement INetCfgPnpReconfigCallback stub.

svn path=/trunk/; revision=70379
2015-12-17 09:32:10 +00:00
Hermès Bélusca-Maïto 01f08ca699 Forgot this one...
svn path=/trunk/; revision=70378
2015-12-17 02:37:34 +00:00
Hermès Bélusca-Maïto 733b02b4ea [SYSDM]: Fix translations.
svn path=/trunk/; revision=70377
2015-12-17 02:36:38 +00:00
Hermès Bélusca-Maïto 5357781bfe [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
2015-12-17 02:02:16 +00:00
Hermès Bélusca-Maïto ab2976569f Update few french translations.
svn path=/trunk/; revision=70375
2015-12-17 00:24:28 +00:00
Hermès Bélusca-Maïto b34568e9f6 [NTOS]: Fix comments only, no code changes.
svn path=/trunk/; revision=70374
2015-12-16 23:53:51 +00:00
Hermès Bélusca-Maïto b555d0cffe [REGEDIT]
Fix hebrew "registry editor" translation.

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

svn path=/trunk/; revision=70373
2015-12-16 23:50:56 +00:00
Amine Khaldi 90093639de [BOOTDATA] Default to wallpaper expanding. By Hermès BÉLUSCA - MAÏTO. CORE-10709
svn path=/trunk/; revision=70369
2015-12-16 21:54:11 +00:00
Pierre Schweitzer df6860337a [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
2015-12-16 21:11:22 +00:00
Thomas Faber 42f54fdc45 [NTOS:IO]
- Add some missing OBJ_KERNEL_HANDLE.
CORE-10207

svn path=/trunk/; revision=70366
2015-12-16 18:08:38 +00:00
Hermès Bélusca-Maïto 7b6be00fcc [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
2015-12-16 17:28:59 +00:00
Amine Khaldi 0a97bf2ccf [ICONS] Fix some blurry icons by Henry Tang Ih. CORE-10640
svn path=/trunk/; revision=70363
2015-12-16 14:57:14 +00:00
Eric Kohl 1f72389128 [WINLOGON]
Get rid of setup.h.

svn path=/trunk/; revision=70361
2015-12-16 14:45:19 +00:00
David Quintana a979e767d8 [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
2015-12-16 12:36:33 +00:00
Amine Khaldi 1017691f59 [CLIPBRD] Translate ERROR_INVALID_FILE_FORMAT to Romanian. By Ștefan Fulea.
svn path=/trunk/; revision=70358
2015-12-16 10:26:31 +00:00
Amine Khaldi 71b6bf7814 [TRANSLATIONS] Romanian translation update by Ștefan Fulea. CORE-10676
svn path=/trunk/; revision=70357
2015-12-16 10:22:00 +00:00
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