Commit graph

65139 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto c95d274bf6 [WIN32K:NTUSER]
- Cleanup window clipboard data while the window still exists and is not dereferenced.
- When a window is about to be destroyed (just before we send the WM_DESTROY message), if it is the current clipboard owner, make it release the clipboard. The WM_RENDERALLFORMATS message is then sent, and if needed, one WM_DRAWCLIPBOARD message.
- Send a WM_DRAWCLIPBOARD message when SetClipboardViewer is called.
WM_DRAWCLIPBOARD messages are sent as notifications to the corresponding windows.

svn path=/trunk/; revision=70744
2016-02-14 18:41:49 +00:00
Hermès Bélusca-Maïto 81c6aeb2dd [WIN32K]: Some whitespace fixes.
svn path=/trunk/; revision=70743
2016-02-14 18:26:23 +00:00
Eric Kohl 44cee0d9ea [USERINIT]
Set the keyboard layout properly.

svn path=/trunk/; revision=70742
2016-02-14 15:39:11 +00:00
Eric Kohl 0611e9366e [REGEDIT]
Minor improvement of Russian translation.
Patch by stacheldraht.
CORE-10775 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70741
2016-02-14 12:43:52 +00:00
Eric Kohl 350cdf5b7d [CHARMAP][CPL]
Improve English string in ReactOS.
Patch by Henry Tang Ih.
CORE-10844 #resolve #comment Thank you very much!

svn path=/trunk/; revision=70740
2016-02-14 10:56:55 +00:00
Eric Kohl af4dc35090 [USERINIT]
Update Simplified/Traditional Chinese Translation.
Patch by Henry Tang Ih.
CORE-10825 #resolve #comment Thank you very much!

svn path=/trunk/; revision=70739
2016-02-14 09:00:47 +00:00
Hermès Bélusca-Maïto 1022f13973 [CLIPBRD]
- Avoid calling OpenClipboard with a NULL window handle.
- Display the clipboard erasing confirmation message before actually opening and resetting its contents.

[WIN32K]
- Improve few comments.
- In UserOpenClipboard, return success early in case the clipboard was already opened by the clipboard owner.

svn path=/trunk/; revision=70738
2016-02-14 01:52:58 +00:00
Hermès Bélusca-Maïto 6caeaebbdc [CLIPBRD]
- Update the name of the application.
[SHORTCUTS]
- Add a clipboard viewer shortcut into the start menu (for boot and live-cd).
CORE-10853

Translators, please review!

svn path=/trunk/; revision=70737
2016-02-13 23:54:42 +00:00
Hermès Bélusca-Maïto c3c8cf879c [CLIPBRD]
- Add clipboard file icon by Jared Smudde.
- Open any clipboard data file given in the command line.

[BOOTDATA]
- Add registry entries for file extension .clp.

CORE-10853 #resolve #comment Support added in revision 70736.

svn path=/trunk/; revision=70736
2016-02-13 23:16:19 +00:00
Hermès Bélusca-Maïto 60c090d24a [CLIPBRD]: Finish the implementation of clipboard write file support. There may be room for improvements.
CORE-10852 #resolve

svn path=/trunk/; revision=70735
2016-02-13 20:57:39 +00:00
Eric Kohl df2659d0ac [INTL]
Add the BS_TOP flag to the multiline checkboxes. The checkbox will display at the top of the control rather than at the middle.

svn path=/trunk/; revision=70734
2016-02-13 20:47:38 +00:00
Hermès Bélusca-Maïto daeaf449c3 Remove trailing whitespace.
svn path=/trunk/; revision=70733
2016-02-13 17:05:08 +00:00
Hermès Bélusca-Maïto 667ae1acce [CLIPBRD]
- Disable message box messages added for testing purposes (but still keep them here in case one needs them).
- Start implementing clipboard write file support. Work in progress. See CORE-10852

svn path=/trunk/; revision=70732
2016-02-13 17:04:40 +00:00
Eric Kohl a978398354 [USERINIT]
- Fill the keyboard layout list.
- Try to select a matching keyboard layout when the language selection gets changed.

svn path=/trunk/; revision=70731
2016-02-13 16:12:24 +00:00
Hermès Bélusca-Maïto 8b028fbdc8 [CLIPBRD]: Complete the read support from .clp clipboard files to be actually able to read files saved with the Windows 2k3 clipboard.
There actually exist two clipboard file formats, so-called "Win3.1" and a "WinNT" formats. Strangely enough Win2k (and Win2k3) clipboard viewer always save the files under the "Win3.1" format, whichever one you select.
I discovered the subtle difference between those two formats by looking at a very old MSDN sample program "EMFDCODE (Enhanced Metafile Decoder)" by Dennis Crain (see https://web.archive.org/web/20080406095812/http://msdn.microsoft.com/archive/en-us/dnargdi/html/msdn_emfdcode.asp? ) that still can be found on the Internet...
CORE-10550 #comment Read support fixed in r70730.

svn path=/trunk/; revision=70730
2016-02-13 16:08:09 +00:00
Hermès Bélusca-Maïto 3ef979d4d3 [DESK.CPL]: Fix resolution slider issues.
Patch by "reactosfanboy" and Mark Jansen (nick "learn_more")
CORE-10792 #resolve

svn path=/trunk/; revision=70729
2016-02-13 13:43:35 +00:00
Hermès Bélusca-Maïto 340d1b6e9f [MSCONFIG_NEW]: Activate OS-version-specific behaviour (ReactOS vs. Windows and pre-Vista vs. post-Vista).
svn path=/trunk/; revision=70728
2016-02-13 13:11:39 +00:00
Hermès Bélusca-Maïto c6443d2f80 [MAGNIFY]: Improve french translation.
svn path=/trunk/; revision=70727
2016-02-13 13:00:04 +00:00
Hermès Bélusca-Maïto 92cc24aefe [MSCONFIG_NEW]: Explicitely use unicode APIs.
svn path=/trunk/; revision=70726
2016-02-13 12:58:41 +00:00
Pierre Schweitzer f79fbfbb61 [EXT2]
Add the ReactOS famous... hack? fix? whatever? already present in FastFAT, NTFS...:
When accessing a floppy disk, our floppy storage stack can return that the disk type is unknown (some would say it's legit - see comments in FastFAT) and will also return a disk sector size of 0.
Then, when trying to read the floppy disk with said size, everything goes wrong (null length read is never a good thing). So, as in any other FSD in ReactOS, for disk sector size to 512 bytes in this really specific case.

This fixes BSOD when having a floppy drive in ReactOS (whatever its filesystem).

CORE-10464 #resolve #comment Fixed with r70725

svn path=/trunk/; revision=70725
2016-02-13 09:16:45 +00:00
Hermès Bélusca-Maïto d6607c45f8 [DESK.CPL]: Use "WallPaperDir" for the value name of the wallpaper directory (compatible MSWin and what we do have already in the registry).
svn path=/trunk/; revision=70724
2016-02-13 00:32:34 +00:00
Hermès Bélusca-Maïto e47d8784d4 [SHELL32]: Proper fix for CORE-9837 (see r68283): "Get run icon from shell32", including partial revert and code closer to Wine.
CORE-9837 #comment Proper fix in r70723

svn path=/trunk/; revision=70723
2016-02-13 00:16:19 +00:00
Hermès Bélusca-Maïto 992af1e421 [UNDOCSHELL]: Add descriptions for the RunFileDlg shell function (ripped off taskmgr's run.h file).
svn path=/trunk/; revision=70722
2016-02-12 23:50:33 +00:00
Hermès Bélusca-Maïto 445d808604 Whitespace fix only.
svn path=/trunk/; revision=70721
2016-02-12 23:46:14 +00:00
Hermès Bélusca-Maïto b4741c36f4 [WIN32K]: Since r7146 (12 years ago) we correctly set a small Close button for tool windows. WARNING: Please do NOT sync this piece of code with Wine! Ours behave better when one changes the values of SM_CXSMSIZE / SM_CYSMSIZE.
svn path=/trunk/; revision=70720
2016-02-12 23:10:59 +00:00
Hermès Bélusca-Maïto fe53065a4e [UXTHEME]
Temporarily disable the WS_EX_DLGMODALFRAME test whose presence broke opening the system menu when the user clicks on the window caption icon.
This half-broken DefWndNCHitTest comes from user32; see r70718 for more details.

svn path=/trunk/; revision=70719
2016-02-12 22:12:51 +00:00
Hermès Bélusca-Maïto e02c739f6d [WIN32K][USER32]
- Both functions UserGetInsideRectNC and NC_GetInsideRect are the same: remove the redundant code and keep only NC_GetInsideRect.
- Move default WM_NCHITTEST into kernel side, getting rid of half-broken DefWndNCHitTest in user32. Note that we use a DefWndNCHitTest version almost unmodified in uxtheme.dll.
  I did this move also because otherwise, we didn't correctly checked for the presence of the window system menu icon. On the contrary the function GetNCHitEx (obviously taken from Wine's NC_HandleNCHitTest) correctly checks for this.

James, please review!

svn path=/trunk/; revision=70718
2016-02-12 22:10:29 +00:00
Hermès Bélusca-Maïto 6bed745b3d [UXTHEME]: Use a similar working logic to display (or not) the icon (or the default one) to windows/dialogs, taking in particular their exstyle WS_EX_DLGMODALFRAME in particular.
Dedicated to Jared Smudde.
CORE-9635 #resolve #comment A better fix was committed in r70717 to match r70715

svn path=/trunk/; revision=70717
2016-02-12 19:07:29 +00:00
Hermès Bélusca-Maïto 492e14a055 This stuff should not have been committed.
svn path=/trunk/; revision=70716
2016-02-12 17:37:41 +00:00
Hermès Bélusca-Maïto c98d80baf0 [WIN32K]: Fix display of window title icon for dialogs having the WS_EX_DLGMODALFRAME style.
CORE-10850 #resolve
CORE-10437 #comment The real fix was committed in r70715.

svn path=/trunk/; revision=70715
2016-02-12 17:31:19 +00:00
Hermès Bélusca-Maïto ed391467a5 [SYSICON]: Whitespace fixes only.
svn path=/trunk/; revision=70714
2016-02-12 17:21:32 +00:00
Hermès Bélusca-Maïto 3a3ddebe62 [WIN32SS]
- Fix orthograph
- Mention in the code that some stuff are hacks & need to be fixed.
- Add parentheses around bit checks.

svn path=/trunk/; revision=70713
2016-02-12 16:40:36 +00:00
Hermès Bélusca-Maïto 921fdfd85b But do not compile by default those extra tests. Colin, it is curious that when rosautotest encounters a test EXE that it doesn't like, it just completely bails out the test session. This should be fixed/behaviour improved.
svn path=/trunk/; revision=70712
2016-02-12 15:24:30 +00:00
Hermès Bélusca-Maïto 6d2ccc456c I forgot this file.
svn path=/trunk/; revision=70711
2016-02-12 15:12:54 +00:00
Hermès Bélusca-Maïto 4d930e07e8 [ROSTESTS]: Add "sysicon" test back, and augment it.
svn path=/trunk/; revision=70710
2016-02-12 15:10:59 +00:00
Hermès Bélusca-Maïto 0455477600 [FREELDR]: Continue removing code not related to freeldr entry-point from entry.S, and adopt source file names for i386 architecture similar to those of amd64.
svn path=/trunk/; revision=70709
2016-02-11 22:33:03 +00:00
Eric Kohl 6c834bbca5 [USERINIT]
Make the language selection work as expected.

svn path=/trunk/; revision=70708
2016-02-11 20:00:46 +00:00
Hermès Bélusca-Maïto ba1d28dcc8 [CMLIB]: Implement CmpFreeSecurityDescriptor. See r70609.
CORE-10793 CORE-10796

svn path=/trunk/; revision=70707
2016-02-10 22:28:12 +00:00
Hermès Bélusca-Maïto 1eb1638e2e [CMLIB]
- Fix some comments.
- Simplify code.
- Add a missing check for hive exit nodes when deleting cells.

svn path=/trunk/; revision=70706
2016-02-10 22:18:20 +00:00
Hermès Bélusca-Maïto 4191c57d0f [CMLIB]: fix a typo in the constant name.
svn path=/trunk/; revision=70705
2016-02-10 22:04:57 +00:00
Robert Naumann ed74c8abe7 [EXPLORER] Yet another bitmap resource fix. By Jared Smudde. CORE-10781
svn path=/trunk/; revision=70704
2016-02-08 23:30:49 +00:00
Robert Naumann ccac5e7ee3 [EXPLORER] Stubplement Customize Notifications dialog. Patch by Jared Smudde. CORE-10725
svn path=/trunk/; revision=70703
2016-02-08 23:16:36 +00:00
Eric Kohl 84a8d432f8 Add missing newline!
svn path=/trunk/; revision=70702
2016-02-08 14:51:52 +00:00
Eric Kohl 8f032fb669 [REACTOS]
Add columns and column titles to the partition listview.

svn path=/trunk/; revision=70701
2016-02-08 14:41:09 +00:00
Eric Kohl b8c5994f8f [REACTOS]
Remove remaining groupboxes from wizard pages.

svn path=/trunk/; revision=70700
2016-02-07 21:06:31 +00:00
Eric Kohl 2104e66991 [USETUP]
Danish translation for usetup.
Patch by Lars Rasmussen.
CORE-10812 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70699
2016-02-07 20:24:18 +00:00
Eric Kohl 6592d7d424 [WLANSVC]
Add the version information for the WLAN Service.
Patch by Lee Schroeder.
CORE-10836 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=70698
2016-02-07 20:08:08 +00:00
Thomas Faber ba31c44d1e [KERNEL32]
- Hide STATUS_SXS_INVALID_ACTCTXDATA_FORMAT in BasepProbeForDllManifest and fake a manifest not found status instead. Windows's RtlCreateActivationContext will always return this code since we call it with a completely invalid structure. Should fix boot on VMware-Hybrid testbot.
CORE-10843

svn path=/trunk/; revision=70697
2016-02-07 09:38:47 +00:00
Thomas Faber cab26c80f1 [LWIP]
- Don't use the already over-used LWIP_TAG for lookaside list allocations

svn path=/trunk/; revision=70696
2016-02-06 22:11:03 +00:00
Hermès Bélusca-Maïto 9a5b681194 [FREELDR]
- Whitespace fixes only in the disk code.
- Fix the name of the EXT2 FS driver.
- Move I/O initialization after Mm init so that we can properly read disk data into the correct buffers if needed (and I will need that).

svn path=/trunk/; revision=70695
2016-02-05 23:47:35 +00:00