Commit graph

56479 commits

Author SHA1 Message Date
Amine Khaldi 19962054f9 [NTDLL]
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62427
2014-03-05 12:06:28 +00:00
David Quintana 42bdf3b30f [COMCTL32]
* Make horizontal separators of vertical toolbars draw.
* Apply the same padding to separators as the rest of the buttons.
* Fixup some tabs into spaces, for consistency.
* Needs to be sent to wine.

svn path=/branches/shell-experiments/; revision=62426
2014-03-05 11:48:55 +00:00
Amine Khaldi 4e25055d91 [KERNEL32]
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62425
2014-03-05 11:45:39 +00:00
Amine Khaldi 41202d274f [CMAKE]
* User the proper target var name.
CORE-7959

svn path=/trunk/; revision=62424
2014-03-05 11:39:15 +00:00
Amine Khaldi 47ce544479 [WIN-ICONV]
* Import a library that provides iconv implementation using Win32 API.
[LIBXML2][LIBXSLT][MSXML3]
* Make use of this library to support Windows-1252 encoding.
* Fixes some failed msxml:domdoc tests.
CORE-6697

svn path=/trunk/; revision=62423
2014-03-05 10:42:27 +00:00
David Quintana 1cfa05918e [SHLWAPI]
* Fix the fix... better. Needs to be sent to Wine. Thanks Thomas.

svn path=/branches/shell-experiments/; revision=62422
2014-03-05 10:20:06 +00:00
David Quintana d77fcfc8c8 [SHLWAPI]
* Fix the right thing.

svn path=/branches/shell-experiments/; revision=62421
2014-03-05 09:48:32 +00:00
David Quintana 11e4273379 [SHLWAPI]
* SHInvokeDefaultCommand is supposed to invoke the DEFAULT command, so why was bInvokeDefault given FALSE?!

[RSHELL]
* A couple of trivial fixes.

[NTUSER/USER32]
* I missed two bits. See CORE-7966 for more info on the menu issue.

CORE-7586

svn path=/branches/shell-experiments/; revision=62420
2014-03-05 09:12:40 +00:00
Hermès Bélusca-Maïto 61d834485b [APITESTS:kernel32]
Be more specific about which last error we expect.

svn path=/trunk/; revision=62419
2014-03-05 01:53:46 +00:00
Jérôme Gardou 73100dd557 [VFATLIB]
- remove useless dependency to psdk

svn path=/trunk/; revision=62418
2014-03-04 21:28:25 +00:00
Amine Khaldi 2b1527a421 [FREETYPE]
* Update to version 2.5.2. Thanks to Robert Naumann for providing a patch that I used as a base for this.
[WIN32K]
* Update the FreeType header inclusions.
CORE-7719

svn path=/trunk/; revision=62417
2014-03-03 20:41:39 +00:00
David Quintana d1e5c6a2b9 [RSHELL]
* I was telling AddButton that all the items were the last, except the last. Now the submenus display properly. Some of them at least. Others get an exception, it seems.
CORE-7881

svn path=/branches/shell-experiments/; revision=62416
2014-03-03 17:55:43 +00:00
David Quintana d21bce9206 [NTUSER]
[USER32]
* Fix what I think is a wrong behaviour of storing MF_POPUP in the fType of the menu. Now it relies on hSubMenu being != NULL as an indicator of the presence of a submenu.
* Resource submenus are not supposed to get the hSubMenu as a wID, as far as I can tell.
* From the user point of view, it matches Windows better. Needs review and testing, as I don't know if I updated everything correctly.

svn path=/branches/shell-experiments/; revision=62415
2014-03-03 16:12:39 +00:00
David Quintana 7fe9315c7e [RSHELL]
* Improve logging in case of unexpected failures, and trace the creation of toolbar (menu) items.
CORE-7586

svn path=/branches/shell-experiments/; revision=62414
2014-03-03 16:11:47 +00:00
Eric Kohl 50c9a384f4 [ADVAPI32]
Implement the ANSI part of ion's half done patch from r59843. Fixes two more service bugs.

svn path=/trunk/; revision=62413
2014-03-03 15:44:44 +00:00
David Quintana 612d72cb58 [RSHELL]
* Move the copying back where it belongs. CMake may generate the dependencies the wrong way around (explorer-new should depend on rshell), but at least the copying works as expected, even if I always have to "build solution".
* Allow toggling between TBSTYLE_EX_VERTICAL and the manual TBSTATE_WRAP setting by (un)definiting TBSTYLE_EX_VERTICAL.
CORE-7881

svn path=/branches/shell-experiments/; revision=62412
2014-03-03 11:14:04 +00:00
David Quintana 9304a4e45f [RSHELL]
* Improve encapsulation of the CMenuToolbarBase by avoiding unnecessary usages of the window handle from the derived classes.
CORE-7881

svn path=/branches/shell-experiments/; revision=62411
2014-03-03 10:19:35 +00:00
James Tabor 6334f63dbc [WinSS]
- Fix activate modal dialog when clicking on a disabled window (part 2) without zorder support. Other than clicking the tool bar, it will help activate the popup and bring it to the top. Panic mode support.
- Adapt window from point to ignore disabled windows. Attempting to fill a code hole. See CORE-6651.

svn path=/trunk/; revision=62410
2014-03-03 06:38:45 +00:00
Eric Kohl 6e275a78d2 [SERVICES]
RSetServiceStatus:  Set the wait hint and check point only if the service is in a pending state, otherwise they should be 0.

svn path=/trunk/; revision=62408
2014-03-02 23:39:20 +00:00
James Tabor d0ba06e7f2 - Move code, this relates to CORE-6651.
svn path=/trunk/; revision=62405
2014-03-02 22:42:00 +00:00
James Tabor 53b9cb60dc - Code cleanup and update. Change trace to error for tracking.
svn path=/trunk/; revision=62404
2014-03-02 22:39:02 +00:00
Amine Khaldi 35bcabdf00 [CMAKE]
* Don't treat warnings like errors in the Clang build just yet.

svn path=/trunk/; revision=62403
2014-03-02 22:11:49 +00:00
Timo Kreuzer a12d2d5e6c [PSEH3]
Start factoring out compiler support for nested functions (neither CLANG not C++ support it, so we will add some other crazy hacks later ;-))

svn path=/trunk/; revision=62402
2014-03-02 22:04:15 +00:00
Amine Khaldi 2948ed43c5 [SHELL32]
* Comment out some unused variables.
* Remove some unused default debug channel declarations.

svn path=/trunk/; revision=62401
2014-03-02 21:45:44 +00:00
Amine Khaldi 665aba875f [PSDK]
* Fix a FIXME.. Actually, the LLVM/Clang folks did this ;)

svn path=/trunk/; revision=62400
2014-03-02 21:42:19 +00:00
Amine Khaldi cdcdc82cda [LIB/ATL]
* Who came up with this _declspec thing ? Was it you Arch ?

svn path=/trunk/; revision=62399
2014-03-02 21:40:58 +00:00
Amine Khaldi a82fcfc024 [SHELL32]
* Remove accidentally added line (you'll get this Drag and Drop fun later ;) ).

svn path=/trunk/; revision=62398
2014-03-02 21:35:18 +00:00
Amine Khaldi 4d03b99484 [PSDK][SHELL32]
* Fix ShellMessageBox{A,W} calling convention. Spotted by Clang.

svn path=/trunk/; revision=62397
2014-03-02 21:23:04 +00:00
Amine Khaldi 257374c12b [PSDK]
* Don't warn about ignored attributes in Clang build.

svn path=/trunk/; revision=62396
2014-03-02 21:18:32 +00:00
Amine Khaldi 0dd2f479dc [SHELL32]
* Remove what seems to be a useless source file. This variable is defined and used in shell32_main.cpp.

svn path=/trunk/; revision=62395
2014-03-02 21:04:20 +00:00
Amine Khaldi d4a5969c22 [CMAKE]
* Remove some unsupported warning from the Clang build.

svn path=/trunk/; revision=62394
2014-03-02 20:57:57 +00:00
Timo Kreuzer 9e835893d0 [PSEH3]
- Switch parameters in _SEH3$_RegisterFrame and _SEH3$_RegisterTryLevel (just for consistency)
- rename _SEH3$_RegisterTryLevel macro to _SEH3$_RegisterTryLevel_
- Add TryLevel and HandlerType fields to the scope table, since we'll need these later
- Start factoring out some Clang specific macros

svn path=/trunk/; revision=62393
2014-03-02 20:54:04 +00:00
Amine Khaldi cb992793ac [CMAKE]
* Add a Clang toolchain file. Only Windows build is tested ATM.

svn path=/trunk/; revision=62392
2014-03-02 20:51:42 +00:00
Amine Khaldi 4916e626c0 [CMAKE]
* Disable PCH in Clang builds. We'll inspect this later.

svn path=/trunk/; revision=62391
2014-03-02 20:47:34 +00:00
Amine Khaldi 96b7e0dd7b [NDK]
* Fix a Clang warning.

svn path=/trunk/; revision=62390
2014-03-02 20:43:19 +00:00
Amine Khaldi 3800bc28b3 [CRT/INTRIN_X86]
* In Clang these are built-ins.

svn path=/trunk/; revision=62389
2014-03-02 20:42:26 +00:00
Amine Khaldi 2675d2c145 [CMAKE]
* Disable the MS extensions warning in Clang build.

svn path=/trunk/; revision=62388
2014-03-02 20:41:36 +00:00
Amine Khaldi dd0002fc05 [CMAKE]
* Use the GCC compatible dialect in Clang builds.

svn path=/trunk/; revision=62387
2014-03-02 20:27:39 +00:00
Amine Khaldi 6d213f3658 [CMAKE]
* Remove some unsupported flags from the Clang build options.

svn path=/trunk/; revision=62386
2014-03-02 20:08:07 +00:00
Timo Kreuzer eaf929fbe9 [CMAKE]
Add simple clang support to configure.cmp (use "configure clang", which will use ninja as the generator and clang as the compiler)

svn path=/trunk/; revision=62385
2014-03-02 19:53:15 +00:00
Eric Kohl fd28183355 [SERVICES]
RSetServiceStatus: Protect the service type from changes by the caller.

svn path=/trunk/; revision=62384
2014-03-02 19:49:33 +00:00
Timo Kreuzer 62dc9b0d32 [PSEH3]
- Switch the registration asm functions from a complete custom calling convention to regparm(2), so that it can be used in "returns_twice" based algorithm (required by CLANG, which doesn't support "asm goto" construct)
- Add support for saving all non-volatiles in the registration frame (also required by CLANG, since without asm goto, we cannot give the compiler the required hints to save these registers itself)

svn path=/trunk/; revision=62383
2014-03-02 19:36:50 +00:00
David Quintana c3b293c4b2 [RSHELL]
* CMenuToolbarBase: Use TBSTATE_BREAK on every button instead of TBSTYLE_EX_VERTICAL. This allows the vertical alignment to work on ros, although the separators are neither sized nor drawn correctly, and the arrow alignment is wrong.
NOTE: It's still not functional. Second level submenus don't show up, and clicking on items does nothing.
CORE-7881

svn path=/branches/shell-experiments/; revision=62382
2014-03-02 19:35:13 +00:00
Amine Khaldi e46cb53319 [TRANSLATIONS]
* Turkish translation update by Erdem Ersoy.
CORE-7861

svn path=/trunk/; revision=62380
2014-03-02 17:06:37 +00:00
Amine Khaldi 3958819ba0 [NTOSKRNL]
* Print RealFrameCount here.

svn path=/trunk/; revision=62377
2014-03-02 13:01:16 +00:00
Amine Khaldi acfa62fbeb [NTOSKRNL]
* Move the trace call before the debug print.

svn path=/trunk/; revision=62376
2014-03-02 12:27:42 +00:00
Amine Khaldi fc63b50ede [NTOSKRNL]
* Generate a trace when we hit this issue.

svn path=/trunk/; revision=62375
2014-03-02 11:49:18 +00:00
Hermès Bélusca-Maïto 4472340957 [FTP]
Fix download with ftp.exe, the problem was that we didn't switch download mode to binary when needed, because of idiotic defines used that where pointless here. We have this bug since revision 12776...
Patch by Alexander Varnin, see CORE-3682 for details.
CORE-3682 #resolve #comment Committed in revision, cheers ;)

svn path=/trunk/; revision=62372
2014-03-01 22:42:38 +00:00
Eric Kohl 5012425e7f [MSGINA]
MyLogonUser: Pass the sub status to the caller.

svn path=/trunk/; revision=62369
2014-03-01 20:45:10 +00:00
Eric Kohl dae5c99d12 [MSV1_0]
LsaApLogonUser: Add checks for account restrictions (account disabled and account locked).

svn path=/trunk/; revision=62368
2014-03-01 17:12:21 +00:00