Commit graph

68005 commits

Author SHA1 Message Date
Giannis Adamopoulos 32d3e05769 [COMCTL32_APITEST] -Add one more test.
svn path=/trunk/; revision=73913
2017-02-25 22:28:47 +00:00
Giannis Adamopoulos 7483cbb904 [COMCTL32] -Test BCM_SETTEXTMARGIN, BCM_SETIMAGELIST, BCM_GETIMAGELIST and BCM_GETTEXTMARGIN for the v6 button.
svn path=/trunk/; revision=73912
2017-02-25 22:12:08 +00:00
Daniel Reimer 0368cd40fa [RAPPS]
Check for dead links/changes in RAPPS DB

svn path=/trunk/; revision=73911
2017-02-25 20:46:26 +00:00
Thomas Faber c9953bd506 [ACPICA]
- Update to version 20160729
CORE-12833

svn path=/trunk/; revision=73910
2017-02-25 20:45:15 +00:00
Thomas Faber b71b5767ea [ACPICA]
- Update to version 20160527
CORE-12833

svn path=/trunk/; revision=73909
2017-02-25 20:06:05 +00:00
Daniel Reimer f2ad06776a [RAPPS]
Add Samba to RAPPS
CORE-12601 #comment Added to RAPPS as asked for.

svn path=/trunk/; revision=73908
2017-02-25 15:14:54 +00:00
Giannis Adamopoulos 4227981b8b [COMCTL32] -Reduce diff with user32 and move all data of the button in a single struct.
svn path=/trunk/; revision=73907
2017-02-25 14:56:44 +00:00
Mark Jansen 3774050bf3 [OLE32] Fix a crash when executing zz_winrar_3.80_test.exe 4.drag_and_drop CORE-12590 #resolve
svn path=/trunk/; revision=73906
2017-02-25 14:52:16 +00:00
Thomas Faber d48a928307 [KERNEL32]
- Avoid leaving lpRootPath initialized in GetDriveTypeW. Powered by /RTC1

svn path=/trunk/; revision=73905
2017-02-25 13:06:25 +00:00
Eric Kohl e53f1ac932 [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
2017-02-25 12:45:05 +00:00
Benedikt Freisen 16a3b0d967 [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
2017-02-25 11:24:15 +00:00
Giannis Adamopoulos 6579ca96ea [COMCTL32] -Add helper functions for setting and retrieving the button bitmap.
svn path=/trunk/; revision=73902
2017-02-25 11:05:19 +00:00
Pierre Schweitzer 6868358a85 [REISERFS]
When compiling the driver with GCC, define __GCC__.
Fix defines accordingly.

CORE-12826 

svn path=/trunk/; revision=73901
2017-02-25 10:16:33 +00:00
Mark Jansen d5f4f99b0e [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
2017-02-25 10:10:25 +00:00
Giannis Adamopoulos 8b594efa21 [COMCTL32] -Redraw the button when we get a WM_THEMECHANGED.
svn path=/trunk/; revision=73899
2017-02-25 09:24:40 +00:00
Giannis Adamopoulos a7d4b8d04f [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
2017-02-25 09:23:37 +00:00
Giannis Adamopoulos 777a9ec12a [COMCTL32] -Draw button with classic style if BM_SETIMAGE was used.
svn path=/trunk/; revision=73897
2017-02-24 22:47:59 +00:00
Hermès Bélusca-Maïto f3aa1616ef [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
2017-02-24 02:17:45 +00:00
Hermès Bélusca-Maïto 2a81b18aee [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
2017-02-24 01:52:25 +00:00
Hermès Bélusca-Maïto 1f67849a7e [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
2017-02-24 01:02:26 +00:00
Amine Khaldi f981e06368 * Addendum to r73870.
svn path=/trunk/; revision=73893
2017-02-23 19:09:35 +00:00
Thomas Faber 7148ac52fc [USBSTOR]
- Fix error paths around SCSI_REQUEST_BLOCK::DataBuffer. Spotted by curiousone.
CORE-12816 #resolve

svn path=/trunk/; revision=73892
2017-02-23 09:28:20 +00:00
Thomas Faber 83ae839957 [USBSTOR]
- Use pool tagging

svn path=/trunk/; revision=73891
2017-02-23 09:20:09 +00:00
Kamil Hornicek f36d39ae3a [WIN32K]
- Clean up after myself. Thanks, Giannis and Thomas.

svn path=/trunk/; revision=73890
2017-02-22 21:18:18 +00:00
Hermès Bélusca-Maïto 08315aa914 [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
2017-02-22 20:19:50 +00:00
James Tabor 81652fd827 [Win32SS]
- Implement Exclude Update Region, for testing. See CORE-12649.

svn path=/trunk/; revision=73888
2017-02-22 17:50:38 +00:00
James Tabor 482d43b875 [Win32SS]
- Implement Fill Window, for testing.

svn path=/trunk/; revision=73887
2017-02-22 17:45:19 +00:00
James Tabor 2c28e0e6fa [NtGDI]
- Add function for NtUser.

svn path=/trunk/; revision=73886
2017-02-22 17:20:43 +00:00
Giannis Adamopoulos 2f277c0810 [COMCTL32] -Fix several tests for the v6 button when themes are enabled.
svn path=/trunk/; revision=73885
2017-02-22 13:58:49 +00:00
Giannis Adamopoulos 5104d39515 [COMCTL32] -Fix a couple more button tests.
svn path=/trunk/; revision=73884
2017-02-22 13:24:17 +00:00
Giannis Adamopoulos 99a6d1dd88 [COMCTL32_WINETEST] -Do not take into account the wine todos for the button tests.
svn path=/trunk/; revision=73883
2017-02-22 12:31:40 +00:00
Giannis Adamopoulos ae875ccc88 [WIN32k] -Remove overzealous assertion that prevents boot.
svn path=/trunk/; revision=73882
2017-02-22 11:59:42 +00:00
Kamil Hornicek f368db7eeb [NTGDI]
- Check for zero rectangles in REGION_bXformRgn.
CORE-12204

svn path=/trunk/; revision=73881
2017-02-22 10:48:41 +00:00
Giannis Adamopoulos 1d7676d1e0 [COMCTL32]: Fix a few button tests.
svn path=/trunk/; revision=73880
2017-02-22 10:46:26 +00:00
Kamil Hornicek 4f72307675 [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
2017-02-22 10:29:03 +00:00
Kamil Hornicek 53fdca886e [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
2017-02-22 10:26:40 +00:00
Kamil Hornicek 9b3b1801ed [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
2017-02-22 10:22:28 +00:00
James Tabor c87e532dcb [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
2017-02-22 00:25:13 +00:00
James Tabor 9accb03ac7 [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
2017-02-22 00:01:13 +00:00
Giannis Adamopoulos 4bc269e94e Fix build.
svn path=/trunk/; revision=73874
2017-02-21 21:53:34 +00:00
Giannis Adamopoulos 2ed266de0c [COMCTL32] -Rename BUTTON_Paint to BUTTON_PaintWithTheme and use it in the newly added code for the v6 button.
svn path=/trunk/; revision=73873
2017-02-21 21:47:41 +00:00
Giannis Adamopoulos 5c77ae15e6 [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
2017-02-21 21:07:06 +00:00
Giannis Adamopoulos 0f1de17bcc [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
2017-02-21 21:03:04 +00:00
Amine Khaldi 79111c35e6 * 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
2017-02-21 09:04:05 +00:00
Hermès Bélusca-Maïto 9f59e28a23 [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
2017-02-20 23:28:09 +00:00
Hermès Bélusca-Maïto 5ccb049790 [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
2017-02-20 22:28:07 +00:00
Hermès Bélusca-Maïto 08a509daee [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
2017-02-20 20:47:42 +00:00
Giannis Adamopoulos f4c6543a49 [SHLWAPI]: Stub SHPropertyBag_WriteLONG and SHPropertyBag_WriteStr. Patch by Jared Smudde. CORE-12805
svn path=/trunk/; revision=73866
2017-02-20 20:18:10 +00:00
Giannis Adamopoulos 9abeb0d9b0 [SHELL32] -Cleanup CFSFolder::_LoadDynamicDropTargetHandlerForKey. Inspired by patch by Victor Martinez Calvo. CORE-12799. CID 1401249
svn path=/trunk/; revision=73865
2017-02-20 20:13:22 +00:00
Giannis Adamopoulos 7b0de0e982 [MSGINA] -Make ShellIsFriendlyUIActive export a non fatal stub. CORE-12805
svn path=/trunk/; revision=73864
2017-02-20 19:51:12 +00:00