reactos.git
9 years ago[RSHELL]
David Quintana [Thu, 19 Jun 2014 23:14:39 +0000 (23:14 +0000)]
[RSHELL]
* Turn off spammy log.
* A small themeing tweak for the menubar.

[BROWSEUI]
* Turn off spammy log.
* A small tweak to a function.

svn path=/branches/shell-experiments/; revision=63620

9 years ago[EXPLORER][EXPLORER_NEW]
Hermès Bélusca-Maïto [Sun, 15 Jun 2014 20:02:26 +0000 (20:02 +0000)]
[EXPLORER][EXPLORER_NEW]
[TASKMGR]
Set a proper shutdown level (with SetProcessShutdownParameters) so that explorer and taskmgr are terminated the very last when one shutdowns ReactOS.
See Windows Internals 4th page 286 (section "Shutdown") which gives the values (that I've cross-checked on Windows 2k3 too).

svn path=/branches/shell-experiments/; revision=63601

9 years ago[BROWSEUI]
David Quintana [Sat, 7 Jun 2014 23:26:35 +0000 (23:26 +0000)]
[BROWSEUI]
* Fix stack corruption in VS2010 builds. No idea why it doesn't crash with other compilers.

[EXPLORER-NEW]
* Fix a similar bug that does not appear to cause any issue, but is a bug regardless.

svn path=/branches/shell-experiments/; revision=63548

9 years ago[RSHELL]
David Quintana [Sat, 7 Jun 2014 13:54:11 +0000 (13:54 +0000)]
[RSHELL]
* Use the debugging class to track COM refcounting of the CMenuBand.
* CMenuSite: Remove an useless line.

[BROWSEUI]
* Refactor the CreateMenuBar method in an attempt to figure out a seemingly magic crash with VS2010 (not yet solved).
* Begin fixing some unused-but-set warnings.

[SHELL32]
* Fix some small bugs spotted by Victor.

svn path=/branches/shell-experiments/; revision=63546

9 years ago[BROWSEUI]
David Quintana [Wed, 4 Jun 2014 18:08:35 +0000 (18:08 +0000)]
[BROWSEUI]
* Make failure codes print themselves. Helps debug.

svn path=/branches/shell-experiments/; revision=63541

9 years ago[SHELL32]
David Quintana [Wed, 4 Jun 2014 16:25:48 +0000 (16:25 +0000)]
[SHELL32]
* Fix gcc compilation.

[BROWSEUI/RSHELL]
* Use virtual destructors and cleanup with delete in the creator functions.
* Try to fix a bit the "close" flow, so that less circular references remain when the filebrowser windows are closed.

svn path=/branches/shell-experiments/; revision=63539

9 years ago[BROWSEUI]
David Quintana [Tue, 3 Jun 2014 01:04:19 +0000 (01:04 +0000)]
[BROWSEUI]
* Plug a few menu leaks. In Windows, it brings down the leaked menus from 20 per navigation, to only 1-2. In ReactOS, from 60 to 20.

[RSHELL,SHELL32]
* Code tweaks that shouldn't change the actual behaviour.

svn path=/branches/shell-experiments/; revision=63537

9 years ago[BROWSEUI]
David Quintana [Mon, 2 Jun 2014 21:37:26 +0000 (21:37 +0000)]
[BROWSEUI]
* Fix gcc build.

svn path=/branches/shell-experiments/; revision=63536

9 years ago[BROWSEUI/RSHELL]
David Quintana [Mon, 2 Jun 2014 21:35:32 +0000 (21:35 +0000)]
[BROWSEUI/RSHELL]
* Begin fixing the process of destroying the related objects when closing the window, so that eventually the filebrowser/explorer process will properly exit cleanly when no more windows are open.

svn path=/branches/shell-experiments/; revision=63535

9 years ago[BROWSEUI]
David Quintana [Mon, 2 Jun 2014 13:23:06 +0000 (13:23 +0000)]
[BROWSEUI]
* This shouldn't have been commited. The browse windows were freezing because it was trying to use the menu from shell32 instead of rshell.

svn path=/branches/shell-experiments/; revision=63533

9 years ago[SHELL32]
David Quintana [Fri, 30 May 2014 18:00:31 +0000 (18:00 +0000)]
[SHELL32]
* The CDefView should not process the backspace key directly. It's already handled by the accelerators.

[BROWSEUI]
* Allow the docked toolbars to translate accelerators.
* CAddressEditBox: Cancel accelerators without modifiers while focused.

[RSHELL]
* Cancel accelerators while a popup is open, and ignore them otherwise.

svn path=/branches/shell-experiments/; revision=63504

9 years agoSync with trunk r63502.
David Quintana [Fri, 30 May 2014 17:56:10 +0000 (17:56 +0000)]
Sync with trunk r63502.

svn path=/branches/shell-experiments/; revision=63503

9 years ago[Win32k]
James Tabor [Fri, 30 May 2014 12:38:04 +0000 (12:38 +0000)]
[Win32k]
- Fix removing menus and submenus. Dedicated to David Quintana and the New Explorer and Shell team.

svn path=/trunk/; revision=63502

9 years ago[ASM]
Timo Kreuzer [Fri, 30 May 2014 00:30:38 +0000 (00:30 +0000)]
[ASM]
- Fix geninc and spec2def to support the MS ARM assembler
- Add an MSVC compatible version of kxarm.h
- autogenerate ksarm.h with geninc.c
- Move some ARM definitions to NDK

svn path=/trunk/; revision=63501

9 years ago[INCLUDE]
Timo Kreuzer [Fri, 30 May 2014 00:09:55 +0000 (00:09 +0000)]
[INCLUDE]
- ntdef.h: Add #pragma once, include guiddef.h and kernelspecs.h, slightly cleanup the nameless struct/union stuff, fix PVOID64 definition, fix definition of UNALIGNED on ARM, stop checking for too outdated MSVC versions (< 1300), start using ULONG32 instead of ULONG at some places (this is to be able to share the code with winnt.h later), add missing PROBE_ALIGNMENT32, DECLSPEC_NOTHROW, DECLSPEC_UUID, DECLSPEC_NOVTABLE, DECLSPEC_DEPRECATED, DECLSPEC_DEPRECATED_DDK, simpify HANDLE definition.

svn path=/trunk/; revision=63500

9 years ago[INCLUDE]
Timo Kreuzer [Thu, 29 May 2014 23:43:19 +0000 (23:43 +0000)]
[INCLUDE]
- rewrite msvctarget.h to define all native MSVC architecture macros and do not define x86 sub-architecture numbers, they are deprecated
- basetsd.h: Fix header guard, include msvctarget.h instead of adding some custom defines, add missing FIRMWARE_PTR definition, fix POINTER_64 definition

svn path=/trunk/; revision=63499

9 years ago[USERINIT]
Hermès Bélusca-Maïto [Thu, 29 May 2014 23:20:31 +0000 (23:20 +0000)]
[USERINIT]
- Remove two unuseful imports.
- Rewrite StrToColorref to not use shell functions, and increase a bit the size of the szColor buffer in SetUserSysColors to match the capabilities of windows.

svn path=/trunk/; revision=63498

9 years ago[PSDK]
Hermès Bélusca-Maïto [Thu, 29 May 2014 22:37:43 +0000 (22:37 +0000)]
[PSDK]
- Fix the CMYK macro which was totally broken.
- Code formatting around RGB macro.

svn path=/trunk/; revision=63497

9 years ago[LSASRV]
Hermès Bélusca-Maïto [Thu, 29 May 2014 21:34:35 +0000 (21:34 +0000)]
[LSASRV]
- Just run again the loop if LsarOpenAccount call failed (that also avoids a call to LsarClose on a NULL handle, that is trapped by the kdbg if one enabled "set condition * first always").
- Free the memory and the opened handles before returning in case of failure of LsapAddPrivilegeToTokenPrivileges. Maybe this cleaning step can be done more elegantly.
Eric, can you please review that? It should be good I think.

svn path=/trunk/; revision=63496

9 years ago[NTOSKRNL]
Aleksandar Andrejevic [Thu, 29 May 2014 19:44:36 +0000 (19:44 +0000)]
[NTOSKRNL]
Implement NtSaveKey/NtSaveKeyEx and its backend CmSaveKey.
CORE-8259 #resolve #comment Committed in revision r63495.

svn path=/trunk/; revision=63495

9 years ago[ADVAPI32][MSGINA]
Eric Kohl [Thu, 29 May 2014 15:19:30 +0000 (15:19 +0000)]
[ADVAPI32][MSGINA]
Fix overflow of TokenSource.SourceName.
CORE-8272 #resolve

svn path=/trunk/; revision=63494

9 years ago[Win32k]
James Tabor [Wed, 28 May 2014 22:52:38 +0000 (22:52 +0000)]
[Win32k]
- Turn on MDI system menus.

svn path=/trunk/; revision=63493

9 years ago[User32]
James Tabor [Wed, 28 May 2014 22:48:50 +0000 (22:48 +0000)]
[User32]
- Add MDI system menu. If this is inaccurate please open a Jira report.

svn path=/trunk/; revision=63492

9 years ago[KERNEL32]
Pierre Schweitzer [Wed, 28 May 2014 18:39:51 +0000 (18:39 +0000)]
[KERNEL32]
- Directly call CopyFileExW() from CopyFileA()
- ReactOSify CopyFileW()

svn path=/trunk/; revision=63491

9 years ago[NET]
Eric Kohl [Wed, 28 May 2014 08:06:10 +0000 (08:06 +0000)]
[NET]
Implement NET ACCOUNTS command.

svn path=/trunk/; revision=63490

9 years ago[CRT]
Timo Kreuzer [Tue, 27 May 2014 22:58:53 +0000 (22:58 +0000)]
[CRT]
Do not mark inp* and outp* as dllimport.

svn path=/trunk/; revision=63489

9 years ago[CRT]
Timo Kreuzer [Tue, 27 May 2014 22:12:15 +0000 (22:12 +0000)]
[CRT]
Hopefully fix build, by specifying minimum MSC versions for some intrinsics

svn path=/trunk/; revision=63488

9 years ago[CRT]
Timo Kreuzer [Tue, 27 May 2014 22:07:29 +0000 (22:07 +0000)]
[CRT]
remove __readfsqword, it does not exist.

svn path=/trunk/; revision=63487

9 years ago[CRT]
Timo Kreuzer [Tue, 27 May 2014 22:01:55 +0000 (22:01 +0000)]
[CRT]
Add many missing intrinsics to the MSVC intrin.h, including x86, x64 and ARM

svn path=/trunk/; revision=63486

9 years ago[CMAKE]
Timo Kreuzer [Tue, 27 May 2014 21:32:42 +0000 (21:32 +0000)]
[CMAKE]
Revert r63470 and add a comment, that this is not a typo.

svn path=/trunk/; revision=63485

9 years ago[NTVDM]
Aleksandar Andrejevic [Tue, 27 May 2014 21:29:36 +0000 (21:29 +0000)]
[NTVDM]
Fix the previous fix. Use LOBYTE/HIBYTE not LOWORD/HIWORD.

svn path=/trunk/; revision=63484

9 years ago[atl]
Christoph von Wittich [Tue, 27 May 2014 21:20:39 +0000 (21:20 +0000)]
[atl]
atl: memory leak on failure path (copy pasta?)
spotted by Samuel Serapion
CORE-8212

svn path=/trunk/; revision=63483

9 years ago[FAST486][NTVDM]
Aleksandar Andrejevic [Tue, 27 May 2014 21:10:45 +0000 (21:10 +0000)]
[FAST486][NTVDM]
Several fixes in fast486 and ntvdm:
DosCopyEnvironmentBlock - prepend the program name tag (0x0001) to the program name.
Fast486OpcodePushByteImm, Fast486OpcodePushImm - sign-extend instead of zero-extending.
Fast486InterruptInternal - The parameter is supposed to be the type of the gate, not a boolean.
GET_SEGMENT_RPL will not work on real-mode selectors, use a special field for the RPL.
Loading a data segment with the NULL selector should never generate an exception.
Mask out the highest-order byte of the physical address when loading a descriptor table in 16-bit mode.
Fast486InterruptInternal - The interrupt gate type determines the size.
CORE-8257 #resolve #comment Fixed in revision r63482.

svn path=/trunk/; revision=63482

9 years ago[setupapi]
Christoph von Wittich [Tue, 27 May 2014 20:33:21 +0000 (20:33 +0000)]
[setupapi]
sync setupapi\dirid.c with wine
patch by Samuel Serapion
CORE-7663

svn path=/trunk/; revision=63481

9 years ago[CMAKE]
Amine Khaldi [Tue, 27 May 2014 19:42:15 +0000 (19:42 +0000)]
[CMAKE]
* Convert the hives from UTF-8 to UTF16 as part of the build process.
CORE-7703
CORE-8221

svn path=/trunk/; revision=63480

9 years ago[BROWSEUI]
David Quintana [Tue, 27 May 2014 17:55:41 +0000 (17:55 +0000)]
[BROWSEUI]
* Remove a call that shouldn't even be working in Windows, and was completely unnecessary. Fixes explorer-new navigation history in ReactOS.
* Added some debug traces.
CORE-8173

svn path=/branches/shell-experiments/; revision=63479

9 years ago[SETUP]
Eric Kohl [Tue, 27 May 2014 11:49:14 +0000 (11:49 +0000)]
[SETUP]
Formatting. No code changes!

svn path=/trunk/; revision=63478

9 years ago[Win32k]
James Tabor [Mon, 26 May 2014 19:53:25 +0000 (19:53 +0000)]
[Win32k]
- More tweaks for MDI drawing. Tested our explorer, winefile and Vide2 from http://vgui.sourceforge.net/. Help is needed to fix MDI icon system menu loading, updating and moving.

svn path=/trunk/; revision=63477

9 years ago[NTDLL]
Amine Khaldi [Mon, 26 May 2014 19:17:48 +0000 (19:17 +0000)]
[NTDLL]
* Zap some exports that do not exist in native.
* Reorder some exports.
* Add the missing ones. They are commented out and will be added on-demand.
CORE-8174

svn path=/trunk/; revision=63476

9 years ago[GDI32]
Kamil Hornicek [Mon, 26 May 2014 18:59:56 +0000 (18:59 +0000)]
[GDI32]
- return the correct flags in DdGetDriverInfo
CORE-7070

svn path=/trunk/; revision=63475

9 years ago[MSVCRT]
Amine Khaldi [Mon, 26 May 2014 18:18:51 +0000 (18:18 +0000)]
[MSVCRT]
* Zap some exports that do not exist in native.
* Reorder some exports.
CORE-8174

svn path=/trunk/; revision=63474

9 years ago[STLPORT]
Amine Khaldi [Mon, 26 May 2014 18:04:49 +0000 (18:04 +0000)]
[STLPORT]
* Don't use _fseeki64 which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63473

9 years ago[MSVCRT]
Amine Khaldi [Mon, 26 May 2014 16:10:49 +0000 (16:10 +0000)]
[MSVCRT]
* Zap some exports that do not exist in native.
* Reorder some exports.
CORE-8174

svn path=/trunk/; revision=63472

9 years ago[MSTSC]
Amine Khaldi [Mon, 26 May 2014 15:39:58 +0000 (15:39 +0000)]
[MSTSC]
* Don't use _swprintf in the MSVC build, it shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63471

9 years ago[CMAKE]
Amine Khaldi [Mon, 26 May 2014 15:32:48 +0000 (15:32 +0000)]
[CMAKE]
* Fix what seems to be a typo in the definition.

svn path=/trunk/; revision=63470

9 years ago[CMAKE/ARM]
Amine Khaldi [Mon, 26 May 2014 15:31:07 +0000 (15:31 +0000)]
[CMAKE/ARM]
* Do not handle hotpatchable images in MSVC ARM builds (the flag is unknown to the compiler).

svn path=/trunk/; revision=63469

9 years ago[CMAKE/ARM]
Amine Khaldi [Mon, 26 May 2014 15:28:12 +0000 (15:28 +0000)]
[CMAKE/ARM]
* Add armasm assembler support. Inspired by Yuntian Zhang's patch.
CORE-7439

svn path=/trunk/; revision=63468

9 years ago[bootdata]
Christoph von Wittich [Mon, 26 May 2014 14:33:26 +0000 (14:33 +0000)]
[bootdata]
Polish translation by Olaf Siejka

svn path=/trunk/; revision=63467

9 years ago[bootdata]
Christoph von Wittich [Mon, 26 May 2014 14:29:11 +0000 (14:29 +0000)]
[bootdata]
set encoding to UTF-16 instead of UTF-16LE to make viewvc happy

svn path=/trunk/; revision=63466

9 years ago[APPWIZ]
Amine Khaldi [Mon, 26 May 2014 14:24:06 +0000 (14:24 +0000)]
[APPWIZ]
* Don't use _swprintf in the MSVC build, it shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63465

9 years ago[TCPSVCS]
Amine Khaldi [Mon, 26 May 2014 14:03:24 +0000 (14:03 +0000)]
[TCPSVCS]
* Use swprintf instead of _swprintf which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63464

9 years ago[HELP][SHUTDOWN]
Amine Khaldi [Mon, 26 May 2014 13:48:49 +0000 (13:48 +0000)]
[HELP][SHUTDOWN]
* Use vfwprintf instead of _vcwprintf which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63463

9 years ago[hivecls.inf]
Christoph von Wittich [Mon, 26 May 2014 13:23:48 +0000 (13:23 +0000)]
[hivecls.inf]
French translation by Pierre Schweitzer

svn path=/trunk/; revision=63462

9 years ago[RSHELL]
David Quintana [Mon, 26 May 2014 12:26:47 +0000 (12:26 +0000)]
[RSHELL]
* Close menu on right click too.

[BROWSEUI]
* Check/uncheck the lock toolbar item based on the lock state. The view menu does not update yet.

[SHELL32]
* Destroy the menu when the view window is destroyed.

svn path=/branches/shell-experiments/; revision=63461

9 years ago[MSVCRT]
Amine Khaldi [Mon, 26 May 2014 09:57:36 +0000 (09:57 +0000)]
[MSVCRT]
* Zap some exports that do not exist in native.
* Group the ones that we're forced to keep (only temporarily right now) for Gecko.
CORE-8174

svn path=/trunk/; revision=63460

9 years ago[INCLUDE/CRT]
Amine Khaldi [Mon, 26 May 2014 09:55:29 +0000 (09:55 +0000)]
[INCLUDE/CRT]
* Do not define __STDC_SECURE_LIB__ and co, our msvcrt won't provide the related exports.
CORE-8174

svn path=/trunk/; revision=63459

9 years ago[SERVMAN]
Amine Khaldi [Mon, 26 May 2014 09:53:49 +0000 (09:53 +0000)]
[SERVMAN]
* Use StringCchCopy instead of {_t,w}cscpy_s as these shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63458

9 years ago[Win32k]
James Tabor [Mon, 26 May 2014 04:36:58 +0000 (04:36 +0000)]
[Win32k]
- Make minimizing windows in MDI application usable, more fixing is needed. ReactOS suffers from wine poisoning. Need more Vodka! See wine Bug 1719.

svn path=/trunk/; revision=63457

9 years ago[Win32k]
James Tabor [Mon, 26 May 2014 03:08:06 +0000 (03:08 +0000)]
[Win32k]
- Use desktop system menu.

svn path=/trunk/; revision=63456

9 years ago[Win32k]
James Tabor [Mon, 26 May 2014 01:26:45 +0000 (01:26 +0000)]
[Win32k]
- Fix G/SetSystemMenu. Move code into menu.c.
- Add loading for MDI system menu.

svn path=/trunk/; revision=63455

9 years ago[Win32k]
James Tabor [Sun, 25 May 2014 21:30:52 +0000 (21:30 +0000)]
[Win32k]
- Code cleanup.

svn path=/trunk/; revision=63454

9 years ago[ROSTESTS]
Timo Kreuzer [Sun, 25 May 2014 20:21:02 +0000 (20:21 +0000)]
[ROSTESTS]
disable some tests on x64, since they don't build. Disable some exports from dllexport_test on non-x86 build, since decorations are x86 specific.

svn path=/trunk/; revision=63453

9 years ago[bootdata]
Christoph von Wittich [Sun, 25 May 2014 20:17:25 +0000 (20:17 +0000)]
[bootdata]
convert hivecls.inf and hivedef.inf to UTF16LE
fixes CORE-7614

svn path=/trunk/; revision=63452

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 May 2014 20:10:31 +0000 (20:10 +0000)]
[NTOSKRNL]
Revert unwanted white space changes

svn path=/trunk/; revision=63451

9 years ago[PSDK]
Amine Khaldi [Sun, 25 May 2014 19:28:14 +0000 (19:28 +0000)]
[PSDK]
* Fix an ARM ifdef.

svn path=/trunk/; revision=63450

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 May 2014 19:13:32 +0000 (19:13 +0000)]
[NTOSKRNL]
Implement prototype PTE support in MiGetPageProtection. Should hopefully fix crashes with OllyDbg.

svn path=/trunk/; revision=63449

9 years ago[CMAKE]
Amine Khaldi [Sun, 25 May 2014 19:04:21 +0000 (19:04 +0000)]
[CMAKE]
* Include the dummy source file for the PSEH ARM build too.

svn path=/trunk/; revision=63448

9 years ago[MSVCRT]
Amine Khaldi [Sun, 25 May 2014 17:55:48 +0000 (17:55 +0000)]
[MSVCRT]
* Zap some commented out exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63447

9 years ago[MSVCRT]
Amine Khaldi [Sun, 25 May 2014 17:04:44 +0000 (17:04 +0000)]
[MSVCRT]
* Zap some commented out exports that do not exist in native.
CORE-8174

svn path=/trunk/; revision=63446

9 years ago[CRT]
Amine Khaldi [Sun, 25 May 2014 16:09:32 +0000 (16:09 +0000)]
[CRT]
* Partial update of scanf routines (MS ABI varargs).
CORE-8080

svn path=/trunk/; revision=63445

9 years ago[WIN32K]
Timo Kreuzer [Sun, 25 May 2014 14:41:33 +0000 (14:41 +0000)]
[WIN32K]
Remove obsolete patblt.c (all the code is in bitblt.c)

svn path=/trunk/; revision=63444

9 years ago[CRT]
Amine Khaldi [Sun, 25 May 2014 14:30:54 +0000 (14:30 +0000)]
[CRT]
* Partial update of scanf routines. Focus was on the case of reading a float.
* Don't inline float processing, introduce _internal_handle_float() and co to take care of this. Brought to you by Timo.
* Msvcrt scanf tests are now green.
CORE-7005 #resolve #comment Should be fixed in r63443. Thanks Dmitry ;)
CORE-8080

svn path=/trunk/; revision=63443

9 years ago[WIN32K]
Timo Kreuzer [Sun, 25 May 2014 12:59:17 +0000 (12:59 +0000)]
[WIN32K]
Make sure to check for invalid NULL handles before passing them to GDIOBJ_bLockMultipleObjects, which skips NULL handles. This is a design limitation, since otherwise we either need to pass a bitfield of valid handles, or duplicate  code in certain functions, where different combinations of dest, source and mask dc are allowed.

svn path=/trunk/; revision=63442

9 years ago[CMAKE]
Amine Khaldi [Sun, 25 May 2014 12:29:49 +0000 (12:29 +0000)]
[CMAKE]
* Force the C++ compiler in the ARM case.

svn path=/trunk/; revision=63441

9 years ago[LAUTUS]
Daniel Reimer [Sun, 25 May 2014 11:40:30 +0000 (11:40 +0000)]
[LAUTUS]
Change the used font from Segoe UI (MS ONLY) to the very close looking OpenSans family. Same parameters though.

svn path=/trunk/; revision=63440

9 years ago[FONTS]
Daniel Reimer [Sun, 25 May 2014 11:39:12 +0000 (11:39 +0000)]
[FONTS]
Add Open Sans Font Family as Segoe UI like font for Lautus.
Add Ubuntu Font Family which is used by Lautus.

svn path=/trunk/; revision=63439

9 years ago[CRT]
Amine Khaldi [Sun, 25 May 2014 10:47:48 +0000 (10:47 +0000)]
[CRT]
* Use lconv and define MSVCRT_lconv to it.

svn path=/trunk/; revision=63438

9 years ago[RTL]
Timo Kreuzer [Sun, 25 May 2014 10:36:47 +0000 (10:36 +0000)]
[RTL]
Fix warnings and a bug in 64bit bitmap code

svn path=/trunk/; revision=63437

9 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 May 2014 10:21:08 +0000 (10:21 +0000)]
[NTOSKRNL]
Add SEH to LpcpCreatePort and NtAcceptConnectPort. Based on patches by Aleksander Andrejevic ([TheFlash])
CORE-7156 #resolve
CORE-7371 #comment SEH still missing in NtSecureConnectPort, NtReplyPort, NtReplyWaitReceivePortEx, NtRequestPort

svn path=/trunk/; revision=63436

9 years ago[powerprof]
Christoph von Wittich [Sun, 25 May 2014 08:28:51 +0000 (08:28 +0000)]
[powerprof]
fix some typos in comments

svn path=/trunk/; revision=63435

9 years agoThese files were on my "ignore-on-commit" list.
David Quintana [Sat, 24 May 2014 20:58:13 +0000 (20:58 +0000)]
These files were on my "ignore-on-commit" list.

svn path=/branches/shell-experiments/; revision=63434

9 years agoSync with trunk r63430.
David Quintana [Sat, 24 May 2014 20:29:19 +0000 (20:29 +0000)]
Sync with trunk r63430.

svn path=/branches/shell-experiments/; revision=63433

9 years ago[SHELL32]
David Quintana [Sat, 24 May 2014 20:06:03 +0000 (20:06 +0000)]
[SHELL32]
* Add shell browser bitmaps (toolbar, brand icon, go button). Patch by Robert Naumann (gonzoMD).
CORE-8249 #resolve #comment Commited into shell-experiments. Thanks a lot.

svn path=/branches/shell-experiments/; revision=63432

9 years ago[browseui]
Christoph von Wittich [Sat, 24 May 2014 18:26:15 +0000 (18:26 +0000)]
[browseui]
set correct codepage for translations (UTF-8)

svn path=/branches/shell-experiments/; revision=63431

9 years ago[shell32]
Christoph von Wittich [Sat, 24 May 2014 16:39:55 +0000 (16:39 +0000)]
[shell32]
revert the revert, my wine version was outdated

svn path=/trunk/; revision=63430

9 years ago[MAGNIFY]
Timo Kreuzer [Sat, 24 May 2014 10:19:01 +0000 (10:19 +0000)]
[MAGNIFY]
Update display even when mouse does not move. Patch by Andrea Faulds.
CORE-4739 #comment Committed in r63429, thanks. #resolve

svn path=/trunk/; revision=63429

9 years ago[DDRAW]
Timo Kreuzer [Sat, 24 May 2014 09:53:24 +0000 (09:53 +0000)]
[DDRAW]
Avoid buffer overrun in IDirectDraw::GetCaps. Patch by Jérôme Gardou.
CORE-4623 #resolve

svn path=/trunk/; revision=63428

9 years ago[shell32]
Christoph von Wittich [Sat, 24 May 2014 06:44:22 +0000 (06:44 +0000)]
[shell32]
sync _SHGetUserProfilePath with wine

svn path=/trunk/; revision=63427

9 years ago[SHELL32]
David Quintana [Fri, 23 May 2014 21:22:48 +0000 (21:22 +0000)]
[SHELL32]
* Reuse the same menu instead of recreating it every time something changes. Fixes the menus not showing, but it's not the right way to do it. A better implementation should come later.

[BROWSEUI]
* Add a german version of the toolbar strings, by Christoph von Wittich.

svn path=/branches/shell-experiments/; revision=63426

9 years ago[TXTSETUP]
Sylvain Petreolle [Fri, 23 May 2014 19:31:23 +0000 (19:31 +0000)]
[TXTSETUP]
Install wmilib.
Dedicated to Timo. ;)

svn path=/trunk/; revision=63425

9 years ago[shell32]
Christoph von Wittich [Fri, 23 May 2014 17:28:39 +0000 (17:28 +0000)]
[shell32]
set first verb as default
fixes opening control panel applets by double click

svn path=/trunk/; revision=63424

9 years ago[shell32]
Christoph von Wittich [Fri, 23 May 2014 17:14:39 +0000 (17:14 +0000)]
[shell32]
revert one line of r63414

svn path=/trunk/; revision=63423

9 years ago[BROWSEUI]
David Quintana [Fri, 23 May 2014 13:09:02 +0000 (13:09 +0000)]
[BROWSEUI]
* Load the toolbar iten captions from the re

svn path=/branches/shell-experiments/; revision=63422

9 years ago[USETUP]
Eric Kohl [Thu, 22 May 2014 23:31:39 +0000 (23:31 +0000)]
[USETUP]
- ScanForUnpartitionedDiskSpace: Scan the list of logical partitions for unpartitioned space too.
- Fix a little typo.

svn path=/trunk/; revision=63421

9 years ago[NTOSKRNL]
Timo Kreuzer [Thu, 22 May 2014 22:28:57 +0000 (22:28 +0000)]
[NTOSKRNL]
When a user mode debugger has single stepping enabled and steps over a sysenter instruction, you are obviously not supposed to enter the kernel debugger on the syscall entry handler. But exactly this happened on reactos. This was because the sysenter instruction doesn't disable single stepping, so we need to handle this special case manually in the single stepping handler (which we didn't). We now check if the single step comes from KiFastCallEntry and when it does, disable single stepping in the current (nested) trap frame and return back to a secondary fast call entry. The 2nd entrypoint will make sure to re-enable the single step flag in EFLAGS before returning to usermode.
To make this actually work, the asm entry stub itself needs to handle saving of eflags, so some trap frame modification from KiFastCallEntryHandler was moved into the asm stub. Since the amount of asm instructions is rather small (10 instructions, pretty straight forward) I moved everything from KiSystemServiceHandler to the asm stub and killed KiFastCallEntryHandler entirely, calling KiSystemServiceHandler instead.
Now stepping over a sysenter instruction works with OllyDbg without breaking into the kernel debugger. CORE-8057 #resolve

svn path=/trunk/; revision=63420

9 years ago[BROWSEUI]
David Quintana [Thu, 22 May 2014 21:35:23 +0000 (21:35 +0000)]
[BROWSEUI]
* Also load and use the "hot" toolbar bitmap from shell32.dll, not just the normal one.

svn path=/branches/shell-experiments/; revision=63419

9 years ago[CRT]
Amine Khaldi [Thu, 22 May 2014 21:10:16 +0000 (21:10 +0000)]
[CRT]
* Update ungetwc().
CORE-8080

svn path=/trunk/; revision=63418

9 years ago[CRT]
Amine Khaldi [Thu, 22 May 2014 20:59:46 +0000 (20:59 +0000)]
[CRT]
* Update _wtmpnam() and tmpnam().
CORE-8080

svn path=/trunk/; revision=63417

9 years ago[WIN32K]
Timo Kreuzer [Thu, 22 May 2014 19:15:40 +0000 (19:15 +0000)]
[WIN32K]
Amendment to r63409.
Zap remaining kernel object header access from win32k. Noticed by Hermes.

svn path=/trunk/; revision=63416

9 years ago[BROWSEUI]
David Quintana [Thu, 22 May 2014 19:13:15 +0000 (19:13 +0000)]
[BROWSEUI]
* Keep the call to TranslateAcceleratorSB within the shell browser, since it appears the windows CDefView does not call it.
* "Hackplement" the backspace key as being the same as the "go up one level" menu item. This does not seem to be exactly true in Windows, but it does the job.

svn path=/branches/shell-experiments/; revision=63415