Commit graph

58142 commits

Author SHA1 Message Date
David Quintana 8bef9c148c [HIVESFT.INF]
* Shell service object DLLs expect the ShellServiceObjectDelayLoad key to exist.

[SYSSETUP.INF]
* Mark stobject.dll to be registered during setup.

[STOBJECT]
* Implement icon handling.
* Implement rudimentary volume icon handler.
* Allow the volume icon to show the mute status of the primary audio device.

svn path=/branches/shell-experiments/; revision=63750
2014-07-28 13:18:57 +00:00
David Quintana e5ac3d04eb [STOBJECT]
* Create skeleton for the SysTray shell service object DLL. No tray icons are created yet.
* Tranks Robert Naumann for providing the icon resources, and some file templates.

svn path=/branches/shell-experiments/; revision=63732
2014-07-23 18:00:36 +00:00
David Quintana c3479eb2b2 [RSHELL]
* the Programs menu is localized. Obtain it the right way.

svn path=/branches/shell-experiments/; revision=63711
2014-07-12 12:40:50 +00:00
David Quintana 88f0fb5a47 [RSHELL]
* Notify the parent menu popup when the deskbar is closing.

[EXPLORER-NEW]
* Set the button pressed when the start menu gets displayed.
* Set the button released when the start menu notifies it was closed.

svn path=/branches/shell-experiments/; revision=63710
2014-07-12 02:43:06 +00:00
David Quintana e1b309d6de [RSHELL]
* Really fix GCC build.

svn path=/branches/shell-experiments/; revision=63709
2014-07-10 19:16:21 +00:00
David Quintana eb28ee17c8 [RSHELL]
* Use the IAugmentedShellFolder methods instead of the old constructor.

[SHELL32]
* Fix gcc compilation.

svn path=/branches/shell-experiments/; revision=63708
2014-07-10 17:17:36 +00:00
David Quintana 791ee3e755 [RSHELL]
* Filter out the Programs item from the top list.

svn path=/branches/shell-experiments/; revision=63704
2014-07-09 23:37:02 +00:00
David Quintana 9804a12eff [RSHELL]
* Now that CMergedFolder works, try to make it more like windows.
* CMergedFolder: Declare and expose the undocumented IAugmentedShellFolder2 (all methods unimplemented yet). It will require major changes to the way I implemented it, but it will be for the best.
* CStartMenu: Make use of the real CMergedFolder in Windows 2003 (does not exist in win7).

svn path=/branches/shell-experiments/; revision=63703
2014-07-09 23:05:37 +00:00
David Quintana 0ffe346179 [RSHELL]
* CFocusManager: Try to fix some weird behaviour.
* CMergedFolder: Downgrade some prints to TRACEs, and implement a couple methods needed by some debugging code.
* Activate merged folders by default. TODO: implement the filtering of the "Programs" submenu, and use it for the real Programs menu item.

[SHELL32]
* defcontextmenu.cpp: Make a copy of the apidl array before storing it for later, since it may be a pointer to the stack which may not be available later. Fixes the merged folders not working on clicks and context menu.
* shlmenu.cpp: While debugging, I made Shell_MergeMenus closer to WINE's.

svn path=/branches/shell-experiments/; revision=63702
2014-07-09 00:42:05 +00:00
David Quintana 2ac4637056 [EXPLORER-NEW]
* Revert debugging change that shouldn't have been commited.
* Implement rudimentary tooltip support for tray icons. Does not yet work exactly like the windows does it.

svn path=/branches/shell-experiments/; revision=63685
2014-07-05 02:13:37 +00:00
David Quintana ca65a75bf4 [EXPLORER-NEW]
* Fix a typo that broke tray notify icons.
* Implement loading of Shell Service Objects. Works in win2003 but no idea if it works in ros since we don't have any SSO implemented yet ;P

svn path=/branches/shell-experiments/; revision=63684
2014-07-05 00:35:43 +00:00
David Quintana e362a0da43 [RSHELL]
* Handle SMSET_BOTTOM on SetShellFolder so the shell items show below the static menu.
* Downgrade some DbgPrints to TRACEs (reduces log spam).
* Add some extra debugging messages to CMergedFolder.
* Export the CMergedFolder constructor so it can be used from browseui.

[BROWSEUI]
* Use merged folders for the Favorites menu.

svn path=/branches/shell-experiments/; revision=63683
2014-07-02 14:48:21 +00:00
David Quintana 20a3d5b994 [SHELL32]
* Some start menu icons by Robert Naumann (gonzoMD) in proper size and content.

svn path=/branches/shell-experiments/; revision=63676
2014-06-30 17:04:47 +00:00
David Quintana fd94119fa8 [RSHELL]
* Change the way the menu items are activated. Now the menubar activates on mouse down, and the other items activate on mouse up. Not everything works perfectly yet, but it will eventually allow proper usage of the shell menus by keeping the mouse button down. I believe this is also the way to go to avoid the "instant reopening" of the menus when trying to close them.

svn path=/branches/shell-experiments/; revision=63671
2014-06-29 15:42:06 +00:00
David Quintana 80c7746313 [RSHELL]
* Added IPersistFolder2 interface to CMergedFolder, per MSDN suggestion.
* Changed the way the pidl info is stored to be more clean and readable.

svn path=/branches/shell-experiments/; revision=63669
2014-06-29 13:54:08 +00:00
David Quintana dec446e288 [RSHELL]
* Fix a 6am whoops.
* Simplify the FindPidlInList method.

svn path=/branches/shell-experiments/; revision=63659
2014-06-28 18:05:01 +00:00
David Quintana f03fef66d1 [RSHELL]
* Implement a rudimentary but mostly functional (for start menu purposes) CMergedFolder class. It's still disabled by default because clicking on an item in a merged folder appears to fail to execute it.

svn path=/branches/shell-experiments/; revision=63658
2014-06-28 15:38:25 +00:00
David Quintana 9ebe8b2e4e [BROWSEUI]
* Make use of shell command ID macros for toolbar button IDs.

svn path=/branches/shell-experiments/; revision=63644
2014-06-25 15:56:04 +00:00
David Quintana 73d72624b0 Sync with trunk r63637.
svn path=/branches/shell-experiments/; revision=63640
2014-06-23 23:28:38 +00:00
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
Hermès Bélusca-Maïto 6e592c35e9 [NTDLL]: Addendum to r63635.
svn path=/trunk/; revision=63637
2014-06-23 22:07:33 +00:00
Thomas Faber f5c9dd0ad6 [RPCRT4][CRT]
- Do not omit the last argument to VirtualProtect, it will cause the function to fail

svn path=/trunk/; revision=63636
2014-06-23 20:39:49 +00:00
Thomas Faber 63861e09a4 [NTDLL:LDR]
- Actually use DPFLTR_LDR_ID in debug prints instead of a magic value and a comment
- Use RtlInitEmptyUnicodeString where appropriate

svn path=/trunk/; revision=63635
2014-06-23 20:30:54 +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
Thomas Faber 9e0c44c18d [ADVAPI32]
- Do not use the upper byte of RtlRandom's result in RtlGenRandom, since the function only generates 31 bits. Should fix UuidCreate test in rpcrt4:rpc.

svn path=/trunk/; revision=63633
2014-06-23 15:21:13 +00:00
Thomas Faber 1fd39b3a08 [WS2_32]
- Correctly handle port 0 in getaddrinfo
- Stub numeric port case of getnameinfo

svn path=/trunk/; revision=63632
2014-06-22 18:51:11 +00:00
Thomas Faber 6582b51c46 [UNIATA]
- Fix page length calculation in IdeSendCommand/SCSIOP_MODE_SENSE case. Should be pushed upstream(TM).
- Remove outdated file

svn path=/trunk/; revision=63631
2014-06-22 18:48:15 +00:00
Thomas Faber 1da67b8fcd [RTL]
- Apply Wine commit 5b0fcb06 (ntdll: Avoid crashing on an empty resource directory.) by Alexandre Julliard

svn path=/trunk/; revision=63630
2014-06-22 18:44:21 +00:00
Thomas Faber ce303598e9 [NTDLL:LDR]
- Fix buffer size calculation in LdrpSearchPath

svn path=/trunk/; revision=63629
2014-06-22 18:40:21 +00:00
Thomas Faber faa29d8704 [CMAKE]
- Correctly include the license for CMakeParseArguments.cmake

svn path=/trunk/; revision=63628
2014-06-22 18:35:17 +00:00
Thomas Faber f48241c5b8 [APPLICATIONS][NEWDEV]
- Remove broken function pointer casts

svn path=/trunk/; revision=63627
2014-06-22 18:33:18 +00:00
Hermès Bélusca-Maïto ecdfc31590 [ODBCCP32]: Whitespace fixes only.
svn path=/trunk/; revision=63626
2014-06-22 09:37:55 +00:00
Hermès Bélusca-Maïto adc64f21ca [ODBCCP32]
The control panel automatically runs this applet without clicking on it, fix this wrong behaviour.
Patch by Lee Schröder
CORE-8323 #resolve #comment Thanks :)

svn path=/trunk/; revision=63625
2014-06-22 09:33:46 +00:00
Thomas Faber 73f4d1ff00 [WIN32K]
- Pass a boolean argument to RtlEqualUnicodeString

svn path=/trunk/; revision=63624
2014-06-21 11:07:51 +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
Jérôme Gardou 988dbfce59 [KSECDD]
- Really export symbols
 - Properly stub InitSecurityInterfaceW
 - Install the driver

svn path=/trunk/; revision=63619
2014-06-19 11:24:48 +00:00
Jérôme Gardou 7fade28911 [NTOS/MM]
- Do not mark VAD as private memory when creating a MEMORY_AREA, as this is never the case (only used for sections)
 - Add a few DPRINTS.
CORE-8140 #resolve fixed with r63618

svn path=/trunk/; revision=63618
2014-06-19 10:50:47 +00:00
Jérôme Gardou 36de38c3a6 [OPENGL32/MESA]
- Report OpenGL version 1.1

svn path=/trunk/; revision=63617
2014-06-19 08:18:25 +00:00
Jérôme Gardou c75e046831 [NTOS/MM]
- When freeing virtual memory, correctly set the ending address of the shrunk memory area.
CORE-7467

svn path=/trunk/; revision=63616
2014-06-18 18:32:46 +00:00
Jérôme Gardou aa7c4d673d [OPENGL32]
- fix an off-by-one error

svn path=/trunk/; revision=63615
2014-06-18 17:28:14 +00:00
Jérôme Gardou b6f7dca618 [OPENGL32]
- Fix bitfields for 16-bits pixel format

svn path=/trunk/; revision=63614
2014-06-18 17:24:18 +00:00
Jérôme Gardou dfb4d747d4 [OPENGL32/MESA]
- Get rid of EXT_secondary_color, ARB_imaging and a few others support
CORE-7499

svn path=/trunk/; revision=63613
2014-06-18 15:58:59 +00:00
Hermès Bélusca-Maïto ecf5e374ef [WIN32K]
The winstation spinlock is a leftover of some old code. It can be removed.
<+smiley1_> hbelusca: yeah the spinlock should be removed
<@hbelusca> smiley1_ - was it from old code?
<+smiley1_> hbelusca: go on

svn path=/trunk/; revision=63612
2014-06-17 20:51:04 +00:00
Hermès Bélusca-Maïto df0cd9c93d [WIN32K]: TWOPARAM_ROUTINE_SETCARETPOS does exist in windows, and we also have it in our SimpleCallRoutines enumeration.
svn path=/trunk/; revision=63611
2014-06-17 20:47:55 +00:00
Hermès Bélusca-Maïto 340e8ae45f [WIN32K]
There is a bug in win32k (who would have thought that?) that consists in holding a winstation spinlock while running PAGED_CODE MmCopyToCaller function, when building the list of desktops of a given window station (the bug is easily triggerable when calling EnumDesktopsW). Since this lock is never used in anyplace but in this function, which, by the way, is just a reader function that fills user buffer, I consider that it is safe to remove this lock. However I want approval from win32k specialists. Hence I just disable the code with a define USE_WINSTA_LOCK. If this lock is really needed, please rewrite the BuildDesktopNameList function !! Otherwise remove this lock and the associated code !!
This is a blocker for the shutdown code.

svn path=/trunk/; revision=63610
2014-06-17 20:01:23 +00:00
Jérôme Gardou 55f8bd0cd2 [OPENGL32/MESA]
- Some more cleanup from previous commits
CORE-7499

svn path=/trunk/; revision=63609
2014-06-17 14:48:39 +00:00