Commit graph

58003 commits

Author SHA1 Message Date
David Quintana dd250b33d4 [EXPLORER-NEW]
* Disregard the restricted setting and always remove the Search menu from the start menu. When Search is implemented, it can be reenabled.

svn path=/branches/shell-experiments/; revision=63639
2014-06-23 23:04:55 +00:00
David Quintana 70d0028281 [EXPLORER-NEW]
* Implement a rudimentary "Help and Support" start menu item by launching the default browser with http://reactos.org/ as the URL.

svn path=/branches/shell-experiments/; revision=63638
2014-06-23 22:08:33 +00:00
David Quintana bcf5de9efc [RSHELL]
* Notify the focus manager that we are about to open a context menu, so that it doesn't mess with the menu popup.

svn path=/branches/shell-experiments/; revision=63634
2014-06-23 17:50:11 +00:00
David Quintana 8b3b02a2ca [EXPLORER-NEW]
* Use a struct like the comment suggested. May not fix anything, but it's one FIXME less in ReactOS.

svn path=/branches/shell-experiments/; revision=63623
2014-06-19 23:38:39 +00:00
David Quintana fe526a2a66 [FILEBROWSER]
* Copy basic path parsing from explorer-new, so filebrowser.exe can load with a different folder active.

svn path=/branches/shell-experiments/; revision=63622
2014-06-19 23:24:09 +00:00
David Quintana 1eec111b81 [BROWSEUI]
* Process ParseNow on the CBEN_ENDEDIT notification.
* Call SHAutoComplete to ask the edit control to have autocomplete functionality. I need to figure out the flag or whatever is needed to make it show "Search 'string'" when entering something that's not a valid path.

svn path=/branches/shell-experiments/; revision=63621
2014-06-19 23:23:04 +00:00
David Quintana e33dc4351a [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
2014-06-19 23:14:39 +00:00
Hermès Bélusca-Maïto fb22c97c91 [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
2014-06-15 20:02:26 +00:00
David Quintana 02bd6eebde [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
2014-06-07 23:26:35 +00:00
David Quintana 7ddd2648be [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
2014-06-07 13:54:11 +00:00
David Quintana 9f33eab100 [BROWSEUI]
* Make failure codes print themselves. Helps debug.

svn path=/branches/shell-experiments/; revision=63541
2014-06-04 18:08:35 +00:00
David Quintana 72aa759dd4 [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
2014-06-04 16:25:48 +00:00
David Quintana 580b89e9b6 [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
2014-06-03 01:04:19 +00:00
David Quintana 52fc0bf57d [BROWSEUI]
* Fix gcc build.

svn path=/branches/shell-experiments/; revision=63536
2014-06-02 21:37:26 +00:00
David Quintana 3a54fd538b [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
2014-06-02 21:35:32 +00:00
David Quintana 13c7cade20 [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
2014-06-02 13:23:06 +00:00
David Quintana 9793ab272f [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
2014-05-30 18:00:31 +00:00
David Quintana acd03fd182 Sync with trunk r63502.
svn path=/branches/shell-experiments/; revision=63503
2014-05-30 17:56:10 +00:00
James Tabor 4dc4711006 [Win32k]
- Fix removing menus and submenus. Dedicated to David Quintana and the New Explorer and Shell team.

svn path=/trunk/; revision=63502
2014-05-30 12:38:04 +00:00
Timo Kreuzer 137dc25b64 [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
2014-05-30 00:30:38 +00:00
Timo Kreuzer 717f8cb0e9 [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
2014-05-30 00:09:55 +00:00
Timo Kreuzer aaff11172a [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
2014-05-29 23:43:19 +00:00
Hermès Bélusca-Maïto 87026354cb [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
2014-05-29 23:20:31 +00:00
Hermès Bélusca-Maïto 63f0cf2a3a [PSDK]
- Fix the CMYK macro which was totally broken.
- Code formatting around RGB macro.

svn path=/trunk/; revision=63497
2014-05-29 22:37:43 +00:00
Hermès Bélusca-Maïto cb2c49a1ea [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
2014-05-29 21:34:35 +00:00
Aleksandar Andrejevic 0d6c552a9d [NTOSKRNL]
Implement NtSaveKey/NtSaveKeyEx and its backend CmSaveKey.
CORE-8259 #resolve #comment Committed in revision r63495.


svn path=/trunk/; revision=63495
2014-05-29 19:44:36 +00:00
Eric Kohl 836f7cd6d3 [ADVAPI32][MSGINA]
Fix overflow of TokenSource.SourceName.
CORE-8272 #resolve

svn path=/trunk/; revision=63494
2014-05-29 15:19:30 +00:00
James Tabor d3a1610c4b [Win32k]
- Turn on MDI system menus.

svn path=/trunk/; revision=63493
2014-05-28 22:52:38 +00:00
James Tabor 86da1bfa04 [User32]
- Add MDI system menu. If this is inaccurate please open a Jira report.

svn path=/trunk/; revision=63492
2014-05-28 22:48:50 +00:00
Pierre Schweitzer 6e7d12ef45 [KERNEL32]
- Directly call CopyFileExW() from CopyFileA()
- ReactOSify CopyFileW()

svn path=/trunk/; revision=63491
2014-05-28 18:39:51 +00:00
Eric Kohl 0184d61735 [NET]
Implement NET ACCOUNTS command.

svn path=/trunk/; revision=63490
2014-05-28 08:06:10 +00:00
Timo Kreuzer 68fcd6e10b [CRT]
Do not mark inp* and outp* as dllimport.

svn path=/trunk/; revision=63489
2014-05-27 22:58:53 +00:00
Timo Kreuzer 6f249c3833 [CRT]
Hopefully fix build, by specifying minimum MSC versions for some intrinsics

svn path=/trunk/; revision=63488
2014-05-27 22:12:15 +00:00
Timo Kreuzer 2d1042daa5 [CRT]
remove __readfsqword, it does not exist.

svn path=/trunk/; revision=63487
2014-05-27 22:07:29 +00:00
Timo Kreuzer 9bb3ac5d2e [CRT]
Add many missing intrinsics to the MSVC intrin.h, including x86, x64 and ARM

svn path=/trunk/; revision=63486
2014-05-27 22:01:55 +00:00
Timo Kreuzer c0931f28b6 [CMAKE]
Revert r63470 and add a comment, that this is not a typo.

svn path=/trunk/; revision=63485
2014-05-27 21:32:42 +00:00
Aleksandar Andrejevic 0f0db19784 [NTVDM]
Fix the previous fix. Use LOBYTE/HIBYTE not LOWORD/HIWORD.


svn path=/trunk/; revision=63484
2014-05-27 21:29:36 +00:00
Christoph von Wittich dad0af61d4 [atl]
atl: memory leak on failure path (copy pasta?)
spotted by Samuel Serapion
CORE-8212
 

svn path=/trunk/; revision=63483
2014-05-27 21:20:39 +00:00
Aleksandar Andrejevic af35d7f046 [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
2014-05-27 21:10:45 +00:00
Christoph von Wittich 58b39a1ecf [setupapi]
sync setupapi\dirid.c with wine 
patch by Samuel Serapion
CORE-7663
 

svn path=/trunk/; revision=63481
2014-05-27 20:33:21 +00:00
Amine Khaldi a3b5088597 [CMAKE]
* Convert the hives from UTF-8 to UTF16 as part of the build process.
CORE-7703
CORE-8221

svn path=/trunk/; revision=63480
2014-05-27 19:42:15 +00:00
David Quintana 7411374268 [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
2014-05-27 17:55:41 +00:00
Eric Kohl 86b416b410 [SETUP]
Formatting. No code changes!

svn path=/trunk/; revision=63478
2014-05-27 11:49:14 +00:00
James Tabor 10a9a8e0a3 [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
2014-05-26 19:53:25 +00:00
Amine Khaldi 21d9569e72 [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
2014-05-26 19:17:48 +00:00
Kamil Hornicek 49da4d9dc4 [GDI32]
- return the correct flags in DdGetDriverInfo
CORE-7070

svn path=/trunk/; revision=63475
2014-05-26 18:59:56 +00:00
Amine Khaldi 87a2f62053 [MSVCRT]
* Zap some exports that do not exist in native.
* Reorder some exports.
CORE-8174

svn path=/trunk/; revision=63474
2014-05-26 18:18:51 +00:00
Amine Khaldi b1cf7ccf19 [STLPORT]
* Don't use _fseeki64 which shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63473
2014-05-26 18:04:49 +00:00
Amine Khaldi ca9594dadf [MSVCRT]
* Zap some exports that do not exist in native.
* Reorder some exports.
CORE-8174

svn path=/trunk/; revision=63472
2014-05-26 16:10:49 +00:00
Amine Khaldi eebbc5e6b4 [MSTSC]
* Don't use _swprintf in the MSVC build, it shouldn't be exported.
CORE-8174

svn path=/trunk/; revision=63471
2014-05-26 15:39:58 +00:00