Commit graph

59557 commits

Author SHA1 Message Date
David Quintana a0ec7d507f [RSHELL]
* Fix assumption that the USER folder will always exist and only the COMMON folder may be missing. Allows the Start Menu to work in livecd.

[BROWSEUI]
* Apply the same fix to the Favorites folder, although the LiveCD does not currently have the folder so it will not work regardless.

svn path=/branches/shell-experiments/; revision=65098
2014-10-29 11:52:45 +00:00
Amine Khaldi 4fc224434a * Sync up to trunk head (r65095).
* Thank you Kamil for r65087 ;)

svn path=/branches/shell-experiments/; revision=65096
2014-10-29 11:25:42 +00:00
David Quintana b06af9ef67 [BROWSEUI]
* Implement File->Close

svn path=/branches/shell-experiments/; revision=65095
2014-10-29 11:14:28 +00:00
David Quintana d75b3832c8 [BROWSEUI]
* Implement executing the items from the Favorites menu.

svn path=/branches/shell-experiments/; revision=65094
2014-10-28 22:28:28 +00:00
Timo Kreuzer 54d0920f7e [GDI32]
Improve functions in coord.c:
- Use GdiGetDcAttr() where appropriate
- Fix SetLastError() usage
- Add annotations
- improve variable naming
- Add some comments

svn path=/trunk/; revision=65093
2014-10-28 22:16:24 +00:00
David Quintana a3006f2401 [RSHELL]
* Remove a few GCC unused-but-set-variable warnings.

svn path=/branches/shell-experiments/; revision=65092
2014-10-28 22:13:18 +00:00
Pierre Schweitzer 7a204076f6 [DISK]
Get ready to enter into the 10th dimension... So:
- Implement support for IRP_MJ_FILE_SYSTEM_CONTROL. Yes... You read well! So, implemented a ScsiDiskFileSystemControl() function. The way it is added to the DriverObject is a big hack, class2 is not supposed to have such requests, so, we do it in its back. Fear!
- Stubplement the NtfsRussinovichism() function. This is the only function we're supposed to call with IRP MJ FSCTRL and with IRP MN USRFSRQST. Its purpose (when its implemented) is to reply back to the M. Russinovich tools (NFI & NTFSInfo) so that they can directly dump NTFS information without going into NTFS driver. They kind of bypass it.
We do all agree this is a ugly hack. But it exists in Windows, as these tools work in Windows. And it would be useful they actually work in ReactOS.
Soon, we'll be able to publish a book "ReactOS Internals" where we speak about undocumented FS controls to dump NTFS information to show how well our NTFS works ;-).

svn path=/trunk/; revision=65090
2014-10-28 21:59:57 +00:00
Eric Kohl 70cb67436c [NET]
Display more password information in the NET USER command.

svn path=/trunk/; revision=65089
2014-10-28 21:57:41 +00:00
David Quintana 40a2e03359 [RSHELL]
* CMenuBand: Refcount before assigning a return pointer.
* CMenuDeskBar: Revert change and protect the refcounting in case I was wrong to assume there will be exactly one OnFinalMessage for each OnCreate.
* CMenuToolbars: Add a debug message.
* CStartMenu: Refcount correctly.

svn path=/branches/shell-experiments/; revision=65088
2014-10-28 21:40:50 +00:00
Kamil Hornicek b71df11be9 [WIN32K]
- addendum to revision 64877 which slightly changed UserDrawCaption's logic
- fixes window title being drawn over the icon

svn path=/trunk/; revision=65087
2014-10-28 21:38:26 +00:00
Timo Kreuzer 6417d36a41 [GDI32]
- Move functions to the appropriate source files, zap hacks.c, stubs.c, stubsa.c and stubsw.c (sorry for the noise, but this mess had to be cleaned up)

svn path=/trunk/; revision=65086
2014-10-28 21:09:01 +00:00
Pierre Schweitzer aaebdbf9d3 [FASTFAT]
For now, disable the VfatSetRenameInformation() asserts in trunk.
They can be reenabled for testing by commenting "#define NASSERTS_RENAME" out.

CORE-8721 #resolve #comment Fixed with r65085

svn path=/trunk/; revision=65085
2014-10-28 20:39:42 +00:00
Giannis Adamopoulos 6dce3d956e Revert unwanted change
svn path=/branches/shell-experiments/; revision=65084
2014-10-28 19:52:04 +00:00
Giannis Adamopoulos b763819882 [RSHELL]
- Do not release CMenuDeskBar more times than necessary
- Should fix the start menu

svn path=/branches/shell-experiments/; revision=65083
2014-10-28 19:50:49 +00:00
Pierre Schweitzer 135e926315 [NTFS]
Finally, implement NtfsGetFreeClusters() which will just read the $Data stream from $BITMAP file record to get the amount of free clusters to allow estimating the free space on a volume.
The implementation is likely under-optimized... But wwell, the rest of the FSD is not better. Who talked about caching?! ;-)

Because pictures are more relevant than words in such case: http://www.heisspiter.net/~Pierre/rostests/NTFS_disksize.png

svn path=/trunk/; revision=65082
2014-10-28 19:17:59 +00:00
David Quintana 41e4833e4e [BROWSEUI]
* Disable the Tools menu items until they are implemented.

svn path=/branches/shell-experiments/; revision=65081
2014-10-28 18:37:44 +00:00
David Quintana a2eba5b034 [BROWSEUI]
* Properly return the toolbar status on QueryStatus.
* Properly make use of the returned into from QueryStatus.

svn path=/branches/shell-experiments/; revision=65080
2014-10-28 18:32:21 +00:00
David Quintana 210edd7588 Fix GCC build.
svn path=/branches/shell-experiments/; revision=65078
2014-10-28 17:33:22 +00:00
Giannis Adamopoulos 2c3bb20acb Merge r65001 from shell-experiments branch:
[user32]
- Properly notify the theme engine that the caption needs to be repainted on WM_SETICON
- Fixes a classic frame appearing when themes are enabled and we navigate to a different folder

svn path=/trunk/; revision=65077
2014-10-28 17:32:01 +00:00
Ged Murphy f5ca079e13 [WINLOGON]
- Stop the log from being spammed when the session is idle and no screensaver is set
- Also checking if my login still works :)

svn path=/trunk/; revision=65076
2014-10-28 17:07:47 +00:00
Amine Khaldi 3899f1daa8 * Sync up to trunk head (r65074).
svn path=/branches/shell-experiments/; revision=65075
2014-10-28 16:58:25 +00:00
David Quintana 30a510975b [RSHELL]
* Fix executing items after the menu has closed.

svn path=/branches/shell-experiments/; revision=65074
2014-10-28 15:39:47 +00:00
Giannis Adamopoulos 180b6fb083 [STOBJECT]
- Disable querying if audio is muted or not for now.
- Hides an assert that happened in wdmaud.drv

svn path=/branches/shell-experiments/; revision=65073
2014-10-28 15:27:00 +00:00
Giannis Adamopoulos 5273a84a3f [SHELL32]
- Return a readable folder name when SHGDN_FORADDRESSBAR was specified
- We no longer show GUIDs in the address bar 

svn path=/branches/shell-experiments/; revision=65072
2014-10-28 15:07:31 +00:00
Giannis Adamopoulos 6dfa5325d0 [RSHELL]
- Actually give focus to the start menu when CMenuDeskBar::Popup is called
- Fixes opening and navigating the start menu with the keyboard

svn path=/branches/shell-experiments/; revision=65071
2014-10-28 14:31:19 +00:00
Giannis Adamopoulos 6f9dab8a15 [EXPLORER_NEW]
- Use IMenuPopup_OnSelect to close the start menu when the win key is pressed. 
- Fixes closing the start menu (on windows and on reactos)

svn path=/branches/shell-experiments/; revision=65070
2014-10-28 14:18:16 +00:00
Giannis Adamopoulos 2c619c6486 [WIN32K]
- Send the HSHELL_TASKMAN notification to the shell when the windows key is pressed
- Needed to open and close the start menu with the keyboard

svn path=/branches/shell-experiments/; revision=65069
2014-10-28 13:45:43 +00:00
Pierre Schweitzer d6fa9e7094 [NTFS]
ReleaseAttributeContext() is to be used out of mft.c
I believe that at some point, we're leaking memory...

svn path=/trunk/; revision=65068
2014-10-28 10:26:47 +00:00
Timo Kreuzer 1bc1ae75f3 [GDI32]
Implement separate functions for all SelectObject cases.

svn path=/trunk/; revision=65067
2014-10-28 09:06:33 +00:00
Christoph von Wittich 27b8f91dbd [DRIVERS]
don't use uninitialized variables

svn path=/trunk/; revision=65066
2014-10-28 08:15:49 +00:00
David Quintana dc1da96ab8 [RSHELL]
* Fix some small things that were getting in the way of fixing the start menu (which was broken and no one noticed). The actual fix will come tomorrow since my brain is about to implode at this time.

svn path=/branches/shell-experiments/; revision=65065
2014-10-28 01:27:02 +00:00
Giannis Adamopoulos c199f8be2e [SHELL32]
- Properly check for error in CDefaultContextMenu::DoCreateLink

svn path=/branches/shell-experiments/; revision=65064
2014-10-28 00:58:19 +00:00
Timo Kreuzer c8e18b66a9 [GDI32]
- Use GdiGetDcAttr instead of GdiGetHandleUserData where appropriate
- Add a few missing SetLastError()
- Fix return failure return value of GetBkColor()
- Improve order of operations in SelectObject (needs more fixing)

svn path=/trunk/; revision=65063
2014-10-28 00:55:22 +00:00
Aleksandar Andrejevic 891d638347 [FAST486]
Fix a typo in r65061.


svn path=/trunk/; revision=65062
2014-10-28 00:53:02 +00:00
Aleksandar Andrejevic f1a3c93e07 [FAST486][NTVDM]
Get rid of Fast486Interrupt, since it's not used anywhere. Also we can now remove
workarounds for all of the bugs that it caused.
Implement the "single-instruction interrupt delay" for instructions that load the
stack segment only.


svn path=/trunk/; revision=65061
2014-10-28 00:33:03 +00:00
James Tabor 14c0c3cbce [NtUser]
- Revert 64363. See CORE-7797.

svn path=/trunk/; revision=65060
2014-10-28 00:26:22 +00:00
Hermès Bélusca-Maïto af80d3517d [FAST486]: We should invalidate the prefetch buffer *after* having fetched the BOP byte (but before calling its handler), not before fetching the byte :)
svn path=/trunk/; revision=65059
2014-10-28 00:19:48 +00:00
Timo Kreuzer bd446bbb01 [GDI32]
- Handle GDILoObjType_LO_ALTDC_TYPE in GdiGetDcAttr
- Rewrite GdiGetLDC using GdiGetDcAttr
- Implement GdiSetLDC

svn path=/trunk/; revision=65058
2014-10-28 00:16:18 +00:00
Giannis Adamopoulos a5597dfcc1 [win32k]
- Revert a recent change in trunk that broke the new shell. Its a shame to see the new shell behave like crap because of win32k

svn path=/branches/shell-experiments/; revision=65057
2014-10-27 23:49:06 +00:00
Timo Kreuzer a12507355a [GDI32]
Forgot to commit this...

svn path=/trunk/; revision=65056
2014-10-27 23:39:21 +00:00
Timo Kreuzer 2d1292ebbe [GDI32]
- Improve formatting
- Use more consistent variable names
- Remove unnecessary casts
- Add some annotations
- No intended code changes

svn path=/trunk/; revision=65055
2014-10-27 23:37:05 +00:00
Jérôme Gardou 207b88eaf1 [KERNEL32]
- Do not try to open memory events under the process object root directory.
CORE-8600 #resolve

svn path=/trunk/; revision=65054
2014-10-27 22:05:51 +00:00
Timo Kreuzer 18134c10db [GDI32]
Add Support routines for client objects. Will be used later. You might wonder why the code uses a lame hash table to link the client object handles to the user mode pointer, when it should be clear that a *client* object should have a user mode attribute, like other objects, that we can use, especially since that is the only real purpose of that object. Well, tell that the MS developer, who implemented client objects without a user mode attribute...

svn path=/trunk/; revision=65053
2014-10-27 20:53:59 +00:00
Timo Kreuzer 8ab78d931a [WIN32K]
- Fail in NtGdiCreateClientObj, when the object type is not valid.
This is based on Windows behavior, only more strict. Windows allows to set the stock bit and reuse count, which is probably not what we want.

svn path=/trunk/; revision=65052
2014-10-27 20:40:11 +00:00
Giannis Adamopoulos afb6acc945 [SHELL32]
- Rewrite the monstrosity that was supposed to open control panel items. Still not really correct but works.

svn path=/branches/shell-experiments/; revision=65051
2014-10-27 18:26:09 +00:00
Amine Khaldi 0593e15998 [ADVAPI32]
* Update GetTrusteeForm{A,W}().
CORE-8540

svn path=/trunk/; revision=65050
2014-10-27 17:23:05 +00:00
Amine Khaldi b9febc1490 [ADVAPI32]
* Remove unused MAX_GUID_STRING_LEN and RECORD.
* Remove some unneeded forward declarations.
* Reorder ACEFLAG to reduce difference to Wine.
CORE-8540

svn path=/trunk/; revision=65045
2014-10-27 17:00:41 +00:00
Amine Khaldi 16c90ce222 [ADVAPI32]
* Zap SidTable.

svn path=/trunk/; revision=65044
2014-10-27 16:30:45 +00:00
Pierre Schweitzer af8bee9d61 [FASTFAT]
Don't leak reference in case of share access failure.

svn path=/trunk/; revision=65043
2014-10-27 13:39:03 +00:00
Pierre Schweitzer 8c225a0e59 [FASTFAT]
Add sanity checks in VfatSetRenameInformation() to make sure we don't leak any FCB reference

svn path=/trunk/; revision=65042
2014-10-27 13:38:14 +00:00