reactos.git
3 years ago[HLINK_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 17:21:30 +0000 (17:21 +0000)]
[HLINK_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=73947

3 years ago[HLINK] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 17:20:48 +0000 (17:20 +0000)]
[HLINK] Sync with Wine Staging 2.2. CORE-12823

f6b1e12 hlink: Properly return interface pointers.
4709902 hlink: Add missing parameter to TRACE() message.

svn path=/trunk/; revision=73946

3 years ago[HHCTRL.OCX] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 17:18:23 +0000 (17:18 +0000)]
[HHCTRL.OCX] Sync with Wine Staging 2.2. CORE-12823

89ca96d hhctrl.ocx: Don't skip a tag in next_node.
a16344c hhctrl.ocx: Also take basename of folders when searching.

svn path=/trunk/; revision=73945

3 years ago[CREDUI] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 17:09:21 +0000 (17:09 +0000)]
[CREDUI] Sync with Wine Staging 2.2. CORE-12823

848f478 credui: Split domain from username in SspiPromptForCredentialsW.

svn path=/trunk/; revision=73944

3 years ago[COMPSTUI] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 17:07:09 +0000 (17:07 +0000)]
[COMPSTUI] Sync with Wine Staging 2.2. CORE-12823

1791b7d compstui: Fix SetCPSUIUserData spec file entry.

svn path=/trunk/; revision=73943

3 years ago[AVIFIL32_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 17:03:08 +0000 (17:03 +0000)]
[AVIFIL32_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=73942

3 years ago[AVIFIL32] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 17:02:24 +0000 (17:02 +0000)]
[AVIFIL32] Sync with Wine Staging 2.2. CORE-12823

349a80e avifil32: Fix AVIStreamReadFormat spec file entry.

svn path=/trunk/; revision=73941

3 years ago[ATL] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 16:56:41 +0000 (16:56 +0000)]
[ATL] Sync with Wine Staging 2.2. CORE-12823

de24275 atl: Add a __WINE_ALLOC_SIZE attribute to heap_alloc().
26e8873 atl: Fix AtlModuleInit spec file entry.

svn path=/trunk/; revision=73940

3 years ago[QUARTZ_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 16:53:38 +0000 (16:53 +0000)]
[QUARTZ_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=73939

3 years ago[QUARTZ] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 16:52:09 +0000 (16:52 +0000)]
[QUARTZ] Sync with Wine Staging 2.2. CORE-12823

e2a4974 quartz: Downgrade FIXME->WARN.
c6a4811 quartz: Clean up another trace for consistency.
ff36b5c quartz: A couple of spelling fixes in comments.
ac59a68 quartz: Don't write past end of d3d9 buffer.
478feea quartz: Keep This/iface order in TRACEs for consistency.
97405fc quartz: Add tests for IBasicVideo.
5cdb0b5 quartz: Use wine_dbgstr_longlong() to trace REFERENCE_TIME.
89d4e14 quartz: Take MP3 padding bit into account when calculating the block size.

svn path=/trunk/; revision=73938

3 years ago[DPLAYX_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 16:43:10 +0000 (16:43 +0000)]
[DPLAYX_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=73937

3 years ago[DPLAYX] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 16:41:39 +0000 (16:41 +0000)]
[DPLAYX] Sync with Wine Staging 2.2. CORE-12823

7603e85 dplayx: Don't print an error when no Lobby Providers are found.
7ae50b2 dplayx: Fix multiple assigments to the same lvalue (coccinellery).

svn path=/trunk/; revision=73936

3 years ago[DINPUT_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 16:37:17 +0000 (16:37 +0000)]
[DINPUT_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=73935

3 years ago[DINPUT] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 16:36:28 +0000 (16:36 +0000)]
[DINPUT] Sync with Wine Staging 2.2. CORE-12823

f921b63 dinput: Do not wait for hook thread startup in IDirectInput8::Initialize.
f9b4be5 dinput: Allocate correct amount of memory in IDirectInput8AImpl_EnumDevicesBySemantics.
04bddb6 dinput: Give correct count of devices still to be enumerated.
8339de0 dinput: Simplify JoystickWImpl_Unacquire for Linux.
27f4568 dinput: DISFFC_RESET will not release the effects.
2d2d833 dinput: Downgrade a FIXME to WARN in JoystickWImpl_SendForceFeedbackCommand.
cc37322 dinput: Fix GetEffectStatus for Linux when effect was not downloaded.
6bb2c4c dinput: Skip events that are not useful currently.
49d4261 dinput: Spelling and case fixes in comments.

svn path=/trunk/; revision=73934

3 years ago[WMIC] Sync with Wine Staging 2.2. Dedicated to Hermès. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 16:29:54 +0000 (16:29 +0000)]
[WMIC] Sync with Wine Staging 2.2. Dedicated to Hermès. CORE-12823

b21f4d0 wmic: Improve cmd line parser and add support for path command.

svn path=/trunk/; revision=73933

3 years ago[REG_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 16:17:32 +0000 (16:17 +0000)]
[REG_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=73932

3 years ago[REG] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 16:16:31 +0000 (16:16 +0000)]
[REG] Sync with Wine Staging 2.2. CORE-12823

68c1765 reg: Simplify help handling by removing an if-else if-else block.
8a8a753 reg: Fix dword conversion on 64-bit operating systems.

svn path=/trunk/; revision=73931

3 years ago[CABINET_WINETEST] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 16:03:33 +0000 (16:03 +0000)]
[CABINET_WINETEST] Sync with Wine Staging 2.2. CORE-12823

svn path=/trunk/; revision=73930

3 years ago[CABINET] Sync with Wine Staging 2.2. CORE-12823
Amine Khaldi [Sun, 26 Feb 2017 16:00:58 +0000 (16:00 +0000)]
[CABINET] Sync with Wine Staging 2.2. CORE-12823

a663fe94 cabinet: Set index of folder in FDICopy callback.
1f7d144 cabinet: Make Extract fail on read-only files.
af86bdc cabinet: Make Extract overwrite existing files.
3273dff cabinet: Properly initialize internal fci structure (Valgrind).

svn path=/trunk/; revision=73929

3 years ago[MBEDTLS]
Thomas Faber [Sun, 26 Feb 2017 15:53:13 +0000 (15:53 +0000)]
[MBEDTLS]
- Update to version 2.4.0
CORE-12834 #resolve

svn path=/trunk/; revision=73928

3 years ago[FASTFAT]
Pierre Schweitzer [Sun, 26 Feb 2017 14:43:01 +0000 (14:43 +0000)]
[FASTFAT]
Remove an useless check

svn path=/trunk/; revision=73927

3 years ago[CABINET]
Pierre Schweitzer [Sun, 26 Feb 2017 14:31:01 +0000 (14:31 +0000)]
[CABINET]
Fix handling of trailing backslash.
Patch by Thomas Faber.

ROSTESTS-135

svn path=/trunk/; revision=73926

3 years ago[KERNEL32]
Pierre Schweitzer [Sun, 26 Feb 2017 14:06:50 +0000 (14:06 +0000)]
[KERNEL32]
Fix handling of trailing backslash.
Patch by Thomas Faber.

ROSTESTS-135

svn path=/trunk/; revision=73925

3 years ago[FASTFAT]
Pierre Schweitzer [Sun, 26 Feb 2017 13:57:17 +0000 (13:57 +0000)]
[FASTFAT]
Addendum to r73923: merge with Thomas' patch regarding that topic.

ROSTESTS-135

svn path=/trunk/; revision=73924

3 years ago[FASTFAT]
Pierre Schweitzer [Sun, 26 Feb 2017 13:32:55 +0000 (13:32 +0000)]
[FASTFAT]
Reject more broken file names on open/create.
Fixes a few kmtests:IoFilesystem tests

svn path=/trunk/; revision=73923

3 years ago[MBEDTLS]
Thomas Faber [Sun, 26 Feb 2017 11:55:27 +0000 (11:55 +0000)]
[MBEDTLS]
- We're a mostly-GPLv2 project, so use the GPLv2 version of the library.
CORE-12834

svn path=/trunk/; revision=73922

3 years ago[KMTESTS:IO]
Thomas Faber [Sun, 26 Feb 2017 11:31:51 +0000 (11:31 +0000)]
[KMTESTS:IO]
- Avoid a crash in IoFilesystem on Windows when using a free kernel with ntfs. Querying FileAllInformation with any size below sizeof(FILE_ALL_INFORMATION) is considered illegal, so only do it on checked builds (which have a size check).

svn path=/trunk/; revision=73921

3 years ago[NTOSKRNL]
Pierre Schweitzer [Sun, 26 Feb 2017 11:27:24 +0000 (11:27 +0000)]
[NTOSKRNL]
Spotted with kmtest:IoFilesystem: these checks are not performed in free builds for kernel callers and are delegated to the FSD.

svn path=/trunk/; revision=73920

3 years ago[ACPI]
Thomas Faber [Sun, 26 Feb 2017 09:51:59 +0000 (09:51 +0000)]
[ACPI]
- We do support sleep states (namely, S5), so don't force aborting sleep transitions. Fixes ACPI shutdown broken by r73918.
CORE-12833

svn path=/trunk/; revision=73919

3 years ago[ACPICA]
Thomas Faber [Sun, 26 Feb 2017 00:26:24 +0000 (00:26 +0000)]
[ACPICA]
- Update to version 20161222
CORE-12833

svn path=/trunk/; revision=73918

3 years ago[COMCTL32_APITEST] -Call this test the buttonv6 test.
Giannis Adamopoulos [Sun, 26 Feb 2017 00:02:34 +0000 (00:02 +0000)]
[COMCTL32_APITEST] -Call this test the buttonv6 test.

svn path=/trunk/; revision=73917

3 years ago[RAPPS]
Daniel Reimer [Sat, 25 Feb 2017 23:02:36 +0000 (23:02 +0000)]
[RAPPS]
Add Gecko Engine which can only be installed once during 1st stage, because someone thought this was a good idea. Now you can get it later, too.

svn path=/trunk/; revision=73916

3 years ago[EXPLORER] -Use the hacky way to paint the start button until BCM_GETIDEALSIZE is...
Giannis Adamopoulos [Sat, 25 Feb 2017 22:54:42 +0000 (22:54 +0000)]
[EXPLORER] -Use the hacky way to paint the start button until BCM_GETIDEALSIZE is also implemented.

svn path=/trunk/; revision=73915

3 years ago[COMCTL32] -Implement BCM_GETTEXTMARGIN, BCM_SETTEXTMARGIN, BCM_SETIMAGELIST and...
Giannis Adamopoulos [Sat, 25 Feb 2017 22:39:45 +0000 (22:39 +0000)]
[COMCTL32] -Implement BCM_GETTEXTMARGIN, BCM_SETTEXTMARGIN, BCM_SETIMAGELIST and BCM_GETIMAGELIST.

svn path=/trunk/; revision=73914

3 years ago[COMCTL32_APITEST] -Add one more test.
Giannis Adamopoulos [Sat, 25 Feb 2017 22:28:47 +0000 (22:28 +0000)]
[COMCTL32_APITEST] -Add one more test.

svn path=/trunk/; revision=73913

3 years ago[COMCTL32] -Test BCM_SETTEXTMARGIN, BCM_SETIMAGELIST, BCM_GETIMAGELIST and BCM_GETTEX...
Giannis Adamopoulos [Sat, 25 Feb 2017 22:12:08 +0000 (22:12 +0000)]
[COMCTL32] -Test BCM_SETTEXTMARGIN, BCM_SETIMAGELIST, BCM_GETIMAGELIST and BCM_GETTEXTMARGIN for the v6 button.

svn path=/trunk/; revision=73912

3 years ago[RAPPS]
Daniel Reimer [Sat, 25 Feb 2017 20:46:26 +0000 (20:46 +0000)]
[RAPPS]
Check for dead links/changes in RAPPS DB

svn path=/trunk/; revision=73911

3 years ago[ACPICA]
Thomas Faber [Sat, 25 Feb 2017 20:45:15 +0000 (20:45 +0000)]
[ACPICA]
- Update to version 20160729
CORE-12833

svn path=/trunk/; revision=73910

3 years ago[ACPICA]
Thomas Faber [Sat, 25 Feb 2017 20:06:05 +0000 (20:06 +0000)]
[ACPICA]
- Update to version 20160527
CORE-12833

svn path=/trunk/; revision=73909

3 years ago[RAPPS]
Daniel Reimer [Sat, 25 Feb 2017 15:14:54 +0000 (15:14 +0000)]
[RAPPS]
Add Samba to RAPPS
CORE-12601 #comment Added to RAPPS as asked for.

svn path=/trunk/; revision=73908

3 years ago[COMCTL32] -Reduce diff with user32 and move all data of the button in a single struct.
Giannis Adamopoulos [Sat, 25 Feb 2017 14:56:44 +0000 (14:56 +0000)]
[COMCTL32] -Reduce diff with user32 and move all data of the button in a single struct.

svn path=/trunk/; revision=73907

3 years ago[OLE32] Fix a crash when executing zz_winrar_3.80_test.exe 4.drag_and_drop CORE-12590...
Mark Jansen [Sat, 25 Feb 2017 14:52:16 +0000 (14:52 +0000)]
[OLE32] Fix a crash when executing zz_winrar_3.80_test.exe 4.drag_and_drop CORE-12590 #resolve

svn path=/trunk/; revision=73906

3 years ago[KERNEL32]
Thomas Faber [Sat, 25 Feb 2017 13:06:25 +0000 (13:06 +0000)]
[KERNEL32]
- Avoid leaving lpRootPath initialized in GetDriveTypeW. Powered by /RTC1

svn path=/trunk/; revision=73905

3 years ago[SETUPAPI]
Eric Kohl [Sat, 25 Feb 2017 12:45:05 +0000 (12:45 +0000)]
[SETUPAPI]
- Implement CM_Get_Class_Registry_PropertyA().
- Move mapping of poperty type to registry value type into a separate function and use it in CM_Get_Class_Registry_PropertyA(), CM_Set_DevNode_Registry_Property_ExA() and CM_Set_DevNode_Registry_Property_ExW().

svn path=/trunk/; revision=73904

3 years ago[MSPAINT]
Benedikt Freisen [Sat, 25 Feb 2017 11:24:15 +0000 (11:24 +0000)]
[MSPAINT]
- fix error in dynamic menu: most recently used files were showing up in zoom menu, too
CORE-12829 #resolve

svn path=/trunk/; revision=73903

3 years ago[COMCTL32] -Add helper functions for setting and retrieving the button bitmap.
Giannis Adamopoulos [Sat, 25 Feb 2017 11:05:19 +0000 (11:05 +0000)]
[COMCTL32] -Add helper functions for setting and retrieving the button bitmap.

svn path=/trunk/; revision=73902

3 years ago[REISERFS]
Pierre Schweitzer [Sat, 25 Feb 2017 10:16:33 +0000 (10:16 +0000)]
[REISERFS]
When compiling the driver with GCC, define __GCC__.
Fix defines accordingly.

CORE-12826

svn path=/trunk/; revision=73901

3 years ago[WIN32SS] Rewrite font selection code. Patch by Katayama Hirofumi MZ. CORE-6621
Mark Jansen [Sat, 25 Feb 2017 10:10:25 +0000 (10:10 +0000)]
[WIN32SS] Rewrite font selection code. Patch by Katayama Hirofumi MZ. CORE-6621
- Adding support for multiple font formats (including collections)
- Choosing a font based on weights as documented
- Adding support for loading fonts from memory
- Share font faces
- Emulation of Italic and Bold
- Support for Underline and Strike-out
- Localized font names
- Fix GetFontResourceInfoW
- Fix Registry settings
- Fix multiple font properties

svn path=/trunk/; revision=73900

3 years ago[COMCTL32] -Redraw the button when we get a WM_THEMECHANGED.
Giannis Adamopoulos [Sat, 25 Feb 2017 09:24:40 +0000 (09:24 +0000)]
[COMCTL32] -Redraw the button when we get a WM_THEMECHANGED.

svn path=/trunk/; revision=73899

3 years ago[UXTHEME] - When we set the desired app name and class name in SetWindowTheme we...
Giannis Adamopoulos [Sat, 25 Feb 2017 09:23:37 +0000 (09:23 +0000)]
[UXTHEME] - When we set the desired app name and class name in SetWindowTheme we need to support empty strings meaning no themes for this window. Sort of support empty strings by replacing them with a string containing a single "0". This works since there is no app name or class name with this name. Also add some error messages.

svn path=/trunk/; revision=73898

3 years ago[COMCTL32] -Draw button with classic style if BM_SETIMAGE was used.
Giannis Adamopoulos [Fri, 24 Feb 2017 22:47:59 +0000 (22:47 +0000)]
[COMCTL32] -Draw button with classic style if BM_SETIMAGE was used.

svn path=/trunk/; revision=73897

3 years ago[GDI32]: Don't break/crash (if no debugger attached) each time an unimplemented GDI...
Hermès Bélusca-Maïto [Fri, 24 Feb 2017 02:17:45 +0000 (02:17 +0000)]
[GDI32]: Don't break/crash (if no debugger attached) each time an unimplemented GDI function is called. This is hit a lot by Word 2010 (e.g. when using drawing features), PowerPoint, etc... i.e. all applications that perform "serious" GDI manipulations.
A nice addition would be to know exactly which unimplemented function was called.

svn path=/trunk/; revision=73896

3 years ago[NTGDI]: Few fixes & hacks for NtGdiGetGlyphIndicesW, see CORE-12825:
Hermès Bélusca-Maïto [Fri, 24 Feb 2017 01:52:25 +0000 (01:52 +0000)]
[NTGDI]: Few fixes & hacks for NtGdiGetGlyphIndicesW, see CORE-12825:
- (Fix) Check for integer count overflow (per Thomas suggestion),
- (Hack#1) Signal the particular calling case (where pwc == NULL == pgi and cwc == 0), as discovered by the testcase of r73894,
- (Hack#2) Return error when cwc == 0 alone (triggered by e.g. Word 2010).

svn path=/trunk/; revision=73895

3 years ago[GDI32_APITEST]: GetGlyphIndices: Have fun & make ReactOS BSoD from user-mode! More...
Hermès Bélusca-Maïto [Fri, 24 Feb 2017 01:02:26 +0000 (01:02 +0000)]
[GDI32_APITEST]: GetGlyphIndices: Have fun & make ReactOS BSoD from user-mode! More seriously, test extra cases of this API, and show that our current implementation certainly is incomplete & prone to bugs.
The particular case "GetGlyphIndicesW(hdc, NULL, 0, NULL, 0)" is used by Word 2010 (and other apps) when opening the font combolist, and seems to be undocumented.
CORE-12825
CORE-6621 CORE-12279

svn path=/trunk/; revision=73894

3 years ago* Addendum to r73870.
Amine Khaldi [Thu, 23 Feb 2017 19:09:35 +0000 (19:09 +0000)]
* Addendum to r73870.

svn path=/trunk/; revision=73893

3 years ago[USBSTOR]
Thomas Faber [Thu, 23 Feb 2017 09:28:20 +0000 (09:28 +0000)]
[USBSTOR]
- Fix error paths around SCSI_REQUEST_BLOCK::DataBuffer. Spotted by curiousone.
CORE-12816 #resolve

svn path=/trunk/; revision=73892

3 years ago[USBSTOR]
Thomas Faber [Thu, 23 Feb 2017 09:20:09 +0000 (09:20 +0000)]
[USBSTOR]
- Use pool tagging

svn path=/trunk/; revision=73891

3 years ago[WIN32K]
Kamil Hornicek [Wed, 22 Feb 2017 21:18:18 +0000 (21:18 +0000)]
[WIN32K]
- Clean up after myself. Thanks, Giannis and Thomas.

svn path=/trunk/; revision=73890

3 years ago[WIN32K]: Replace some checks against UserGetDesktopWindow() and UserGetMessageWindow...
Hermès Bélusca-Maïto [Wed, 22 Feb 2017 20:19:50 +0000 (20:19 +0000)]
[WIN32K]: Replace some checks against UserGetDesktopWindow() and UserGetMessageWindow() by checks against FNID_xxx flags.
Fixes some FIXMEs in the code encountered while investigating the origin of "err: NtUserSetWindowPos bad window handle!" messages.
Reviewed by James Tabor.
CORE-12819

svn path=/trunk/; revision=73889

3 years ago[Win32SS]
James Tabor [Wed, 22 Feb 2017 17:50:38 +0000 (17:50 +0000)]
[Win32SS]
- Implement Exclude Update Region, for testing. See CORE-12649.

svn path=/trunk/; revision=73888

3 years ago[Win32SS]
James Tabor [Wed, 22 Feb 2017 17:45:19 +0000 (17:45 +0000)]
[Win32SS]
- Implement Fill Window, for testing.

svn path=/trunk/; revision=73887

3 years ago[NtGDI]
James Tabor [Wed, 22 Feb 2017 17:20:43 +0000 (17:20 +0000)]
[NtGDI]
- Add function for NtUser.

svn path=/trunk/; revision=73886

3 years ago[COMCTL32] -Fix several tests for the v6 button when themes are enabled.
Giannis Adamopoulos [Wed, 22 Feb 2017 13:58:49 +0000 (13:58 +0000)]
[COMCTL32] -Fix several tests for the v6 button when themes are enabled.

svn path=/trunk/; revision=73885

3 years ago[COMCTL32] -Fix a couple more button tests.
Giannis Adamopoulos [Wed, 22 Feb 2017 13:24:17 +0000 (13:24 +0000)]
[COMCTL32] -Fix a couple more button tests.

svn path=/trunk/; revision=73884

3 years ago[COMCTL32_WINETEST] -Do not take into account the wine todos for the button tests.
Giannis Adamopoulos [Wed, 22 Feb 2017 12:31:40 +0000 (12:31 +0000)]
[COMCTL32_WINETEST] -Do not take into account the wine todos for the button tests.

svn path=/trunk/; revision=73883

3 years ago[WIN32k] -Remove overzealous assertion that prevents boot.
Giannis Adamopoulos [Wed, 22 Feb 2017 11:59:42 +0000 (11:59 +0000)]
[WIN32k] -Remove overzealous assertion that prevents boot.

svn path=/trunk/; revision=73882

3 years ago[NTGDI]
Kamil Hornicek [Wed, 22 Feb 2017 10:48:41 +0000 (10:48 +0000)]
[NTGDI]
- Check for zero rectangles in REGION_bXformRgn.
CORE-12204

svn path=/trunk/; revision=73881

3 years ago[COMCTL32]: Fix a few button tests.
Giannis Adamopoulos [Wed, 22 Feb 2017 10:46:26 +0000 (10:46 +0000)]
[COMCTL32]: Fix a few button tests.

svn path=/trunk/; revision=73880

3 years ago[NTUSER]
Kamil Hornicek [Wed, 22 Feb 2017 10:29:03 +0000 (10:29 +0000)]
[NTUSER]
- Prevent a null to be passed to UserDereferenceObject in UserSetCursorIconData. CID 1321971
- Make the status check in co_IntCallSentMessageCallback less useless. CID 1322014
- Prevent a null pointer dereference in a trace in IntCreateClass. CID 514617

svn path=/trunk/; revision=73879

3 years ago[NTGDI]
Kamil Hornicek [Wed, 22 Feb 2017 10:26:40 +0000 (10:26 +0000)]
[NTGDI]
- Consider the return value from IntFillArc in IntArc. CID 1237076
- Remove an useless check in ENTRY_ReferenceEntryByHandle CID 731587
- Prevent an unlikely memory leak in PATH_WidenPath. CID 716634
- Minor cleanup.

svn path=/trunk/; revision=73878

3 years ago[GDI32]
Kamil Hornicek [Wed, 22 Feb 2017 10:22:28 +0000 (10:22 +0000)]
[GDI32]
- Fix a possible null pointer dereference in GetGlyphOutlineA. CID 513747
- SetDIBits should not accept null bitmap info at all. CID 513425
- Don't set the pdwResult pointer itself to null in TADC_GetAndSetDCDWord. CID 1321970

svn path=/trunk/; revision=73877

3 years ago[NtUser]
James Tabor [Wed, 22 Feb 2017 00:25:13 +0000 (00:25 +0000)]
[NtUser]
- If an appication hangs other than suspended use Hung test to prevent locking the whole system. Quick fix for CORE-10078.

svn path=/trunk/; revision=73876

3 years ago[NtUser]
James Tabor [Wed, 22 Feb 2017 00:01:13 +0000 (00:01 +0000)]
[NtUser]
- Fix : Allow controls to receive non-client messages. See CORE-12771.
- See also https://bugs.winehq.org/show_bug.cgi?id=42503 .

svn path=/trunk/; revision=73875

3 years agoFix build.
Giannis Adamopoulos [Tue, 21 Feb 2017 21:53:34 +0000 (21:53 +0000)]
Fix build.

svn path=/trunk/; revision=73874

3 years ago[COMCTL32] -Rename BUTTON_Paint to BUTTON_PaintWithTheme and use it in the newly...
Giannis Adamopoulos [Tue, 21 Feb 2017 21:47:41 +0000 (21:47 +0000)]
[COMCTL32] -Rename BUTTON_Paint to BUTTON_PaintWithTheme and use it in the newly added code for the v6 button.

svn path=/trunk/; revision=73873

3 years ago[COMCTL32] -Add a comment to clarify that there is no need to backport the #ifdef...
Giannis Adamopoulos [Tue, 21 Feb 2017 21:07:06 +0000 (21:07 +0000)]
[COMCTL32] -Add a comment to clarify that there is no need to backport the #ifdef _USER32_ defines back to user32 (although they will work fine in user32).

svn path=/trunk/; revision=73872

3 years ago[COMCTL32]: Copy button.c from user32, make the needed changes to make it compile...
Giannis Adamopoulos [Tue, 21 Feb 2017 21:03:04 +0000 (21:03 +0000)]
[COMCTL32]: Copy button.c from user32, make the needed changes to make it compile and register it. This is the beginning of the v6 button. Remove the subclassing of the builtin button.

svn path=/trunk/; revision=73871

3 years ago* Revert r73869 because wmi was mentioned nowhere in CORE-9111, nor in our tree restr...
Amine Khaldi [Tue, 21 Feb 2017 09:04:05 +0000 (09:04 +0000)]
* Revert r73869 because wmi was mentioned nowhere in CORE-9111, nor in our tree restructure wiki, nor any developers discussions. This is the ReactOS trunk, not a branch.

svn path=/trunk/; revision=73870

3 years ago[WMI]: Gather all the user-mode components of WMI inside base/wmi/, as part of the...
Hermès Bélusca-Maïto [Mon, 20 Feb 2017 23:28:09 +0000 (23:28 +0000)]
[WMI]: Gather all the user-mode components of WMI inside base/wmi/, as part of the ReactOS source code tree restructure. This gives an idea how this can be done for other ReactOS components.
CORE-9111

svn path=/trunk/; revision=73869

3 years ago[SECUR32]: As an interim step towards a proper NTLM implementation that is done by...
Hermès Bélusca-Maïto [Mon, 20 Feb 2017 22:28:07 +0000 (22:28 +0000)]
[SECUR32]: As an interim step towards a proper NTLM implementation that is done by Samuel Serapion, I temporarily commit Wine's NTLM code layer around Samba's "ntlm_auth" utility. In addition I add the kerberos & negotiate stubs too.
This is not a problem on Wine, because they run on Linux distributions, most of which have Samba available. But this is not the case on Windows / ReactOS, so few adaptations were needed: in the dispatcher.c code, the fork_helper function was partially rewritten around CreateProcess to start the ntlm_auth utility (I try to use maximally the CRT to not have to rewrite other functions). This works great.
But then, to make this NTLM layer working on ReactOS, one has to find a Windows build of Samba. Here is one: http://smithii.com/samba . This is a Samba 3.0.23c build. You need to follow *exactly* the manual installation steps to make it work (actually, everything up to "Step 6" included, i.e. running smbsetup.cmd). This means in particular to copy Samba into C:\Program Files\samba, as this path is also hardcoded into the executables.
As the Wine's NTLM layer expects Samba 3.0.25+, I manually downgraded the expected version, which appears to still work nice for the needs of Office 2010 installation.

You can now play with it and try to install Office 2010.

CORE-12601 #comment Wine's NTLM layer committed in r73868 as an interim step towards a proper implementation.
CORE-12279

svn path=/trunk/; revision=73868

3 years ago[MOFCOMP]: Add the MOF compiler stub from Wine, which allows fixing the very last...
Hermès Bélusca-Maïto [Mon, 20 Feb 2017 20:47:42 +0000 (20:47 +0000)]
[MOFCOMP]: Add the MOF compiler stub from Wine, which allows fixing the very last step in the installation of Office 2010.
CORE-12811 #resolve
CORE-12279

svn path=/trunk/; revision=73867

3 years ago[SHLWAPI]: Stub SHPropertyBag_WriteLONG and SHPropertyBag_WriteStr. Patch by Jared...
Giannis Adamopoulos [Mon, 20 Feb 2017 20:18:10 +0000 (20:18 +0000)]
[SHLWAPI]: Stub SHPropertyBag_WriteLONG and SHPropertyBag_WriteStr. Patch by Jared Smudde. CORE-12805

svn path=/trunk/; revision=73866

3 years ago[SHELL32] -Cleanup CFSFolder::_LoadDynamicDropTargetHandlerForKey. Inspired by patch...
Giannis Adamopoulos [Mon, 20 Feb 2017 20:13:22 +0000 (20:13 +0000)]
[SHELL32] -Cleanup CFSFolder::_LoadDynamicDropTargetHandlerForKey. Inspired by patch by Victor Martinez Calvo. CORE-12799. CID 1401249

svn path=/trunk/; revision=73865

3 years ago[MSGINA] -Make ShellIsFriendlyUIActive export a non fatal stub. CORE-12805
Giannis Adamopoulos [Mon, 20 Feb 2017 19:51:12 +0000 (19:51 +0000)]
[MSGINA] -Make ShellIsFriendlyUIActive export a non fatal stub. CORE-12805

svn path=/trunk/; revision=73864

3 years ago[MSWSOCK]
Thomas Faber [Mon, 20 Feb 2017 19:32:12 +0000 (19:32 +0000)]
[MSWSOCK]
- Eliminate dead code in NSP_LookupServiceNextW. Patch by Víctor Martínez Calvo. CID 1400942
CORE-12806 #resolve

svn path=/trunk/; revision=73863

3 years ago[USER32][UXTHEME]
Thomas Faber [Mon, 20 Feb 2017 17:31:50 +0000 (17:31 +0000)]
[USER32][UXTHEME]
- Make API hooks type-safe. Fixes stack pointer corruption when calling ThemeGetScrollInfo. Powered by /RTC1

svn path=/trunk/; revision=73862

3 years ago[WS2_32]
Thomas Faber [Mon, 20 Feb 2017 16:33:44 +0000 (16:33 +0000)]
[WS2_32]
- Re-apply null termination fix in GetProtoGetNextEnt, which was lost in ws2_32_new work. CID 716700
CORE-11218

svn path=/trunk/; revision=73861

3 years ago[BROWSEUI]
Thomas Faber [Mon, 20 Feb 2017 16:07:05 +0000 (16:07 +0000)]
[BROWSEUI]
- Correctly pass the buffer size to RegQueryValueW in CAutoComplete::Init. Patch by Víctor Martínez Calvo. CID 1401255
CORE-12795 #resolve

svn path=/trunk/; revision=73860

3 years ago[FREELDR]: Update the FreeLdr's startup notes.
Hermès Bélusca-Maïto [Mon, 20 Feb 2017 15:45:01 +0000 (15:45 +0000)]
[FREELDR]: Update the FreeLdr's startup notes.

svn path=/trunk/; revision=73859

3 years ago[EVENTLOG]
Kamil Hornicek [Mon, 20 Feb 2017 14:45:03 +0000 (14:45 +0000)]
[EVENTLOG]
- Silence some debug prints. This commit bears the "Hermès' seal of approval".

svn path=/trunk/; revision=73858

3 years ago[WINPRINT]
Thomas Faber [Mon, 20 Feb 2017 12:00:13 +0000 (12:00 +0000)]
[WINPRINT]
- Avoid uninitialized hPrintMonitor in PrintRawJob failure case. Patch by Víctor Martínez Calvo
CORE-12792 #resolve

svn path=/trunk/; revision=73857

3 years ago[KS]
Thomas Faber [Mon, 20 Feb 2017 11:35:24 +0000 (11:35 +0000)]
[KS]
- Avoid leaking AllocatorFraming in KsCreateDefaultAllocatorEx. Patch by Sebastian Gasiorek
CORE-12797 #resolve

svn path=/trunk/; revision=73856

3 years ago[WIN32K]
Kamil Hornicek [Mon, 20 Feb 2017 10:10:37 +0000 (10:10 +0000)]
[WIN32K]
- Don't try to delete the pattern bitmap in UserInitialize.
- Set the correct owner before deleting the update region in co_UserFreeWindow.
- Fixes some "Trying to delete global object" debug prints.

svn path=/trunk/; revision=73855

3 years ago[blackshade.msstyles] -Add a skeleton for a theme based on a mockup by David Quintana
Giannis Adamopoulos [Sun, 19 Feb 2017 20:40:45 +0000 (20:40 +0000)]
[blackshade.msstyles] -Add a skeleton for a theme based on a mockup by David Quintana

svn path=/trunk/; revision=73854

3 years ago[COMCTL32]
Eric Kohl [Sun, 19 Feb 2017 20:39:11 +0000 (20:39 +0000)]
[COMCTL32]
Update a tool buttons tooltip rectangle when the button gets hidden.
Patch will be sent upstream!
CORE-12667 #resolve

svn path=/trunk/; revision=73853

3 years ago[DEVMGR]
Eric Kohl [Sun, 19 Feb 2017 19:40:04 +0000 (19:40 +0000)]
[DEVMGR]
- NEVER EVER use single line if statements!!!!
- Fix indentation and coding style.

svn path=/trunk/; revision=73852

3 years ago[DEVMGR]
Eric Kohl [Sun, 19 Feb 2017 19:13:41 +0000 (19:13 +0000)]
[DEVMGR]
Hide "HTREE\ROOT\0" from the device tree.
CORE-12670 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=73851

3 years ago[DEVMGR]
Eric Kohl [Sun, 19 Feb 2017 18:31:52 +0000 (18:31 +0000)]
[DEVMGR]
Select a treeview item on a right click.

svn path=/trunk/; revision=73850

3 years ago[MSAFD][WS2_32]
Thomas Faber [Sun, 19 Feb 2017 17:50:34 +0000 (17:50 +0000)]
[MSAFD][WS2_32]
- Properly return error codes from WSPConnect
CORE-12787 #resolve

svn path=/trunk/; revision=73849

3 years ago[EVENTVWR]
Pierre Schweitzer [Sun, 19 Feb 2017 17:24:13 +0000 (17:24 +0000)]
[EVENTVWR]
Don't attempt to free random address

CID 1401231

svn path=/trunk/; revision=73848