Commit graph

59733 commits

Author SHA1 Message Date
David Quintana 4dfef8d21d [EXPLORER_NEW]
* Cleanup some window procs.
* Fix some redraw issues in the notification area due to misuse of themeing.

svn path=/branches/shell-experiments/; revision=65124
2014-10-30 14:55:56 +00:00
Amine Khaldi d23ef58d9e [BOOTDATA]
* Romanian translation update by Ștefan Fulea.
CORE-8630 #resolve #comment Committed in r65123. Thanks!

svn path=/trunk/; revision=65123
2014-10-30 13:29:44 +00:00
Kamil Hornicek 535667ca32 [INTL]
- don't display garbage in the location combo box

svn path=/trunk/; revision=65122
2014-10-30 12:15:11 +00:00
Amine Khaldi 4f72545247 * Sync up to trunk head (r65120).
svn path=/branches/shell-experiments/; revision=65121
2014-10-30 11:52:53 +00:00
Pierre Schweitzer 2fc51b27ef [NTOSKRNL]
Actually enable again the hack...
For whatever reason, it works with my WC but not with clean trunk...
Where are the you, magic and silent patch that fixes it? :-(

svn path=/trunk/; revision=65120
2014-10-30 08:39:03 +00:00
Pierre Schweitzer 1bc8e4320f [NTOSKRNL]
Finally, disable again the IopParseDevice hack.
Just for the record, opening a volume with FILE_READ_EA or FILE_READ_DATA is legal and works in Windows (NTFS Info for instance opens it with GENERIC_READ).

Let's hope we can rid of this hack forever now... It's been with us since 2006!

svn path=/trunk/; revision=65119
2014-10-30 07:49:37 +00:00
Pierre Schweitzer 2009765b6a [FASTFAT]
Don't over-reference our FCB in case of volume opening (vfatAttachFCBToFileObject() already references it).

This fixes 1st stage and beyond with IopParseDevice hack off

svn path=/trunk/; revision=65118
2014-10-30 07:46:25 +00:00
Pierre Schweitzer 9288b1ab76 [NTOSKRNL]
Reenable IopParseDevice hack for now.
Out of fixes for tonight.

svn path=/trunk/; revision=65117
2014-10-29 23:28:15 +00:00
Pierre Schweitzer bedd8fa9be [FASTFAT]
Now that we start to honor the storage stack (ie, without the IopParseDevice hack ;-)), we have to let FSDs forward device IOCTLs.
This allows back copying files on 1st stage

svn path=/trunk/; revision=65116
2014-10-29 23:10:31 +00:00
Pierre Schweitzer c9ec1555ad [FASTFAT]
Don't attempt to mount any partition just because we have a valid partition table...
Restrict this to them being marked as FAT or compatible.

svn path=/trunk/; revision=65115
2014-10-29 22:51:16 +00:00
David Quintana 47cc151eb1 [RSHELL]
* Hopefully fix the start menu closing randomly. May have side-effects, but I think it's best to be conservative here and prefer the possibility of the menu staying open unexpectedly, rather than closing unexpectedly.

svn path=/branches/shell-experiments/; revision=65114
2014-10-29 22:50:27 +00:00
Pierre Schweitzer d22dd7da46 [NTFS]
Addendum to r65112

svn path=/trunk/; revision=65113
2014-10-29 22:40:16 +00:00
Pierre Schweitzer 7f1c752c3a [NTFS]
Implement support for the FSCTL_GET_NTFS_VOLUME_DATA user request in NtfsUserFsRequest().

This makes NTFSInfo capable of working in ReactOS :-). A picture to show it: http://www.heisspiter.net/~Pierre/rostests/NTFS_info.png
Yes, NTFS Zone isn't computed yet. I'll have a look at it later on.

This doesn't fix nfi.exe though. If it can get its data, it cannot continue. It loops forever on a FSCTL we don't handle yet.

CORE-8725

svn path=/trunk/; revision=65112
2014-10-29 22:36:55 +00:00
David Quintana 2e0e5f7174 [BROWSEUI]
* Allow the static items in the Favorites menu to be received by the shell browse window.
* Handle the Organize Favorites menu item by opening either the USER favorites, or the COMMON version of the folder.

[RSHELL]
* Send the proper HWND together with the HMENU, when sending callbacks.

svn path=/branches/shell-experiments/; revision=65111
2014-10-29 22:28:51 +00:00
Sylvain Petreolle d7565e93f7 [NTOSKRNL]
Reapply r65107.
We need fixes, not hacks.
Sorry for being popular^W pressure ;)


svn path=/trunk/; revision=65110
2014-10-29 22:22:24 +00:00
Eric Kohl b87393f170 [NETAPI32]
NetUserModalsGet:
- Return the proper maximum password age.
- Remove dead code.

svn path=/trunk/; revision=65109
2014-10-29 22:17:23 +00:00
Sylvain Petreolle a1baaa2225 [UNIATA]
Update to 0.45c1.

svn path=/trunk/; revision=65108
2014-10-29 21:34:01 +00:00
Pierre Schweitzer a65c5549f9 [NTOSKRNL]
Reenable hack due to popular pressure.
Still better than fixing it, it seems...
So, break again volume opening.

svn path=/trunk/; revision=65107
2014-10-29 21:22:36 +00:00
Pierre Schweitzer 0872193d40 [NTFS]
Finally, move old stuff back from disk.sys to ntfs.sys now it can be properly reached on volume opening:
- Halfplement NtfsUserFsRequest() and add support for IRP_MN_USER_FS_REQUEST in NtfsFsdFileSystemControl()
- Also, use the proper FSCTL code: FSCTL_GET_NTFS_VOLUME_DATA which exists and is documented instead of FSCTL_GET_NTFS_VOLUME_DATA. Spotted by Christoph.

CORE-8725

svn path=/trunk/; revision=65106
2014-10-29 18:42:05 +00:00
Pierre Schweitzer c009666393 [DISK]
Revert r65097 and r65090.
Thanks to r65104, now the FSCTLs go to the right place: the FSDs!

Thanks to Thomas for pointing out that NTFSinfo was really talking with the FSD on Windows and not to disk.sys

CORE-8725

svn path=/trunk/; revision=65105
2014-10-29 18:25:30 +00:00
Pierre Schweitzer 48cddc2fcc [NTOSKRNL]
Disable the IopParseDevice hack. It appears it was triggered on volume opening and thus was breaking volume opening which were then forwarded down to disk.sys.
Not sure how legit it is to have it anylonger.

At least, disabling it reenables volume opening in ReactOS and associated FSCTL!

Alex & Aleksey, can you review please?

CORE-8725

svn path=/trunk/; revision=65104
2014-10-29 18:20:43 +00:00
Kamil Hornicek 34147616fd [NLS]
- fix the code page value
- also fixes intl.cpl showing date format string in the code page list

svn path=/trunk/; revision=65103
2014-10-29 18:20:03 +00:00
Kamil Hornicek c1c1e05803 [KERNEL32]
- remove bunch of stray pragmas
- add a czech translation to stop debug spam reported in CORE-8720

svn path=/trunk/; revision=65102
2014-10-29 16:59:44 +00:00
Kamil Hornicek 08e9098294 [BOOTDATA]
- add metrics to classic themes (the flag 0xb0001 will result in a kinda esoteric value of type REG_QWORD)
- fixes switching from Lautus back to a classic theme
CORE-8718

svn path=/trunk/; revision=65100
2014-10-29 14:27:09 +00:00
David Quintana 5ee771bbc6 [BROWSEUI]
* Fix a 'pasta.
* Open something less stupid when clicking on "Is this copy legal?" in the Help menu.

svn path=/branches/shell-experiments/; revision=65099
2014-10-29 12:32:46 +00:00
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
Pierre Schweitzer 88ea664a82 [DISK]
Actually, sysinternals used to release the source code of NTFSInfo (thanks Christoph!), so we know a bit more about the interface of the user FS request.
So, implement a bit more of the interface to validate it properly works (and so far, it does!)

CORE-8725

svn path=/trunk/; revision=65097
2014-10-29 11:31:19 +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