Commit graph

60078 commits

Author SHA1 Message Date
Ziliang Guo c030203e6a [TREE]
Cleanup of Tree utility by Lee Schroeder.
CORE-8908

svn path=/trunk/; revision=65646
2014-12-14 18:30:14 +00:00
Pierre Schweitzer ecb8f375f8 [NTFS]
Implement GetVolumeBitmap().

This allows NFI to find which file is at which LCN: http://www.heisspiter.net/~Pierre/rostests/NTFS_NFI_LCN.png

So far, NFI is not as verbose as it is on Windows in such cases, because FILE_OPEN_BY_FILE_ID is *still* unimplemented (you should consider implementing it Pierre ;-)).
I checked with Windows, the correct file is found though!

CORE-8725

svn path=/trunk/; revision=65645
2014-12-14 18:13:57 +00:00
Hermès Bélusca-Maïto 37d3115479 [SACDRV]: Code formatting.
svn path=/trunk/; revision=65641
2014-12-14 16:54:14 +00:00
Pierre Schweitzer e4e3241286 [NTFS]
- In the VCB, directly store the total number of clusters available in the volume, this will save a few recurrent divisions
- Use this everywhere it is possible
- Validate input in GetVolumeBitmap(): make sure we don't want bitmap beyond end of the volume

CORE-8725

svn path=/trunk/; revision=65639
2014-12-14 14:38:44 +00:00
Pierre Schweitzer c16d33beae [NTFS]
- Implement NtfsGetUserBuffer() that will (attempt to) return the user output buffer for METHOD_NEITHER IOCTL.
- Implement parameters checking GetVolumeBitmap()

CORE-8725 

svn path=/trunk/; revision=65638
2014-12-14 12:24:18 +00:00
Hermès Bélusca-Maïto 508364d0b2 [COMP]: Minor code style changes + whitespace fixes.
svn path=/trunk/; revision=65637
2014-12-14 12:04:45 +00:00
Pierre Schweitzer 71ca9839a4 [NTFS]
Stub FSCTL_GET_VOLUME_BITMAP which is required by NFI.

CORE-8725

svn path=/trunk/; revision=65636
2014-12-14 10:54:20 +00:00
Cameron Gutman 2021ab5899 [CDFS]
- Fix CD-ROM disc change handling
- Fixes CORE-6119

svn path=/trunk/; revision=65635
2014-12-14 09:27:11 +00:00
Pierre Schweitzer 5d774268db [CALC]
Apply r65633 to all the language files.

CORE-7746

svn path=/trunk/; revision=65634
2014-12-14 09:18:47 +00:00
Ziliang Guo f15a2f9255 [CALC]
Switch calc to using the registry for storing configuration values. Remove 9x codepath. Patch by Lee Schroeder. Cleaning up Ziliang Guo.
CORE-7746

svn path=/trunk/; revision=65633
2014-12-14 05:48:05 +00:00
Ziliang Guo b9312f9bb6 [TREE]
Fix build.

svn path=/trunk/; revision=65632
2014-12-14 00:09:51 +00:00
Ziliang Guo 85260e1fa7 [TREE]
Implement directory tree commandline utility. Code by Asif Bahrainwala. Cleanup by Ziliang Guo.
CORE-8529

svn path=/trunk/; revision=65631
2014-12-14 00:00:54 +00:00
Eric Kohl 38b680f392 [EVENTVWR]
Clean up the resource IDs.
Fix small icon loading.

svn path=/trunk/; revision=65630
2014-12-13 22:35:48 +00:00
Ziliang Guo bf0ce0bccc [COMP]
Incorporate fixes provided by a patch from over three years ago that adds support for the additional compare options. Patch provided by kruntuid. Slight cleanup and reshuffling of some code to make it cleaner.
CORE-8484

svn path=/trunk/; revision=65629
2014-12-13 21:17:59 +00:00
Eric Kohl 75e5e3462a [EVENTVWR]
Update the Event Detail Dialog to better match XP/2K3
Patch by Lee Schroeder.
I updated the remaining dialogs.
Translators: Please check the dialogs!

CORE_8904 #resolve

svn path=/trunk/; revision=65628
2014-12-13 20:53:06 +00:00
Timo Kreuzer d4579fbe00 [DDK]
ExInitializePushLock is NTAPI!

svn path=/trunk/; revision=65627
2014-12-13 14:37:34 +00:00
Timo Kreuzer 65836ff301 [NTOSKRNL]
Fix x64 build

svn path=/trunk/; revision=65626
2014-12-13 11:01:57 +00:00
Pierre Schweitzer 065dd42b53 [TASKMGR]
Don't leak process handle

CORE-3716

svn path=/trunk/; revision=65625
2014-12-13 08:18:09 +00:00
Ziliang Guo e3228a4c64 [TASKMGR]
Prevent task manager from killing critical processes. Patch by Ismael Ferreras Morezuelas.
CORE-3716

svn path=/trunk/; revision=65624
2014-12-13 06:35:56 +00:00
Ziliang Guo 8c112bc3e7 [EVENTVWR]
Display seconds for event time in event viewer. Patch by Lee Schroeder.
CORE-8612

svn path=/trunk/; revision=65623
2014-12-13 05:07:58 +00:00
James Tabor 7edb9e1657 [User32]
- Patch by Vincent Povirk : Allow EndMenu() calls from WM_ENTERMENULOOP.
- Patch by Akihiro Sagawa : Don't close a popup menu when clicking a sub-menu parent item twice.
- Move code to match wines. See CORE-8299.

svn path=/trunk/; revision=65622
2014-12-13 01:18:35 +00:00
Ziliang Guo aa7bd0b1b7 [DESK.CPL]
Modify font enumeration code to deal with failure to read the registry key. Also change the registry key being queried to match the one used on Windows. Patch by Ricardo Hanke.
CORE-8203

svn path=/trunk/; revision=65621
2014-12-12 22:07:29 +00:00
Ziliang Guo 34dee12ec2 [SHIMGV]
Fix display window calculation. Patch by Ricardo Hanke.
CORE-7656

svn path=/trunk/; revision=65620
2014-12-12 21:15:17 +00:00
James Tabor 57fd9b8882 [Win32k]
- Fix double click on application icons. See CORE-3269.


svn path=/trunk/; revision=65619
2014-12-12 20:28:20 +00:00
David Quintana 5e63339a90 [EXPLORER]
* Followup to t65603. Fixes the start menu themeing regression (when running explorer in windows 2003).
CORE-8898 #resolve

svn path=/trunk/; revision=65618
2014-12-12 16:28:46 +00:00
Amine Khaldi fd0186b855 [USER32] We're not using any debugging routines here.
svn path=/trunk/; revision=65617
2014-12-12 13:23:45 +00:00
Amine Khaldi db0d247c82 [CRT] Explicitly mark strncpy and wcsncpy as __cdecl.
svn path=/trunk/; revision=65616
2014-12-12 13:20:14 +00:00
Amine Khaldi 395dc9ef1f [W32KDLL_APITESTS] Properly handle ASM files. Also use set_module_type() instead of manually setting the entry point.
svn path=/trunk/; revision=65615
2014-12-12 13:17:16 +00:00
Amine Khaldi 51fa01cea7 [SHIMGVW] Fix DLL stubs, intended to fix a crash on Windows. Patch by Ricardo Hanke.
CORE-8073 #resolve #comment Committed in r65614. Thanks!

svn path=/trunk/; revision=65614
2014-12-12 13:08:59 +00:00
Pierre Schweitzer 5bf209a1aa [NTFS]
Ach! Wir können noch nicht mit dem ID öffnen!

So far, bail out when we are requested to open a file with its MFT index instead of its name.
nfi triggers this a lot. Likely to be implemented ;-)

CORE-8725 

svn path=/trunk/; revision=65613
2014-12-11 22:15:49 +00:00
Pierre Schweitzer 00abdbc36f [NTFS]
My dear Pierre, in FSCTL_GET_NTFS_FILE_RECORD, you have METHOD_BUFFERED (yes, read well ;-)).
So if you want it to work, you HAVE to return the size of the data you wrote to the output buffer...
This makes FSCTL_GET_NTFS_FILE_RECORD finally working in ReactOS...

nfi.exe finally goes a bit farther, displays some files names and dies. Definitely still needs love.

CORE-8725

svn path=/trunk/; revision=65612
2014-12-11 21:58:45 +00:00
Giannis Adamopoulos 4b301b04e1 [EXPLORER]
* Use LoadLibrary instead of GetModuleHandle in the wrapper of WinList_Init.
* Shdocvw was never loaded till that point so WinList_Init was not called.
* Should fix Opening link location in windows.

svn path=/trunk/; revision=65611
2014-12-11 21:18:36 +00:00
Ziliang Guo c960788a1d [SHIMGVW]
Implement rotation of images, but does not save changes or warn of quality loss.
CORE-7567

svn path=/trunk/; revision=65610
2014-12-11 20:01:52 +00:00
Ziliang Guo 0188f94d85 [CORE-8302]
Fix aspect ratio calculation in shell image viewer. Patch by Ricardo Hanke.

svn path=/trunk/; revision=65609
2014-12-11 19:57:03 +00:00
Ziliang Guo cbc7920dbe [CORE-7737]
Implement browsing with the shell image viewer. Patch by Ricardo Hanke.

svn path=/trunk/; revision=65608
2014-12-11 19:52:47 +00:00
Ziliang Guo f758aece6f [SHIMGVW]
Fix tooltips for image viewer at least on Windows. Patch by Richardo Hanke.
CORE-7740 #resolve

svn path=/trunk/; revision=65607
2014-12-11 18:11:08 +00:00
Sylvain Petreolle 16c3dc3016 test
svn path=/trunk/; revision=65606
2014-12-11 18:00:21 +00:00
Giannis Adamopoulos 502f155b91 [EXPLORER]
- Simplify some code by using the IUnknown_ exports of shlwapi and using CComPtr.

svn path=/trunk/; revision=65605
2014-12-11 17:42:56 +00:00
David Quintana 71a780a54c Oops. That didn't happen.
svn path=/trunk/; revision=65604
2014-12-11 16:33:43 +00:00
David Quintana 4afe020ac6 [EXPLORER]
* Cleanup variable names and fix a few typos along the way.
* Refactor the start button code into a CStartButton class.
NOTE: There is a known regression with start button themeing, which I'm working on. The missing notification icons are not caused by this.
CORE-8898

svn path=/trunk/; revision=65603
2014-12-11 16:32:07 +00:00
Ziliang Guo e6979b9c26 [SHIMGVW]
Dynamically allocate the string for the file-type box. Patch by Ricardo Hanke.
CORE-7702 #resolve

svn path=/trunk/; revision=65602
2014-12-10 21:27:18 +00:00
Pierre Schweitzer 5e1a81a596 [NTFS]
Implement the downward fashion of FSCTL_GET_NTFS_FILE_RECORD and always return a file record which is in use
CORE-8725

svn path=/trunk/; revision=65601
2014-12-10 20:45:04 +00:00
Giannis Adamopoulos 7427f826d0 [EXPLORER]
* Simplify CreateStartMenu. Use CComPtr and IUnknown_SetSite.

svn path=/trunk/; revision=65600
2014-12-09 22:49:54 +00:00
Giannis Adamopoulos 50d056ca73 [EXPLORER]
* Make SetWindowStyle and SetWindowExStyle simple wrappers around SHSetWindowBits. There is no reason to reinvent the wheel.

svn path=/trunk/; revision=65599
2014-12-09 22:01:46 +00:00
Giannis Adamopoulos f8a69bddfb [EXPLORER]
* Remove dragdrop.cpp. It was never used.

svn path=/trunk/; revision=65598
2014-12-09 21:55:56 +00:00
Giannis Adamopoulos 8264611855 [EXPLORER]
* Import some undocumented functions directly instead of using GetProcAddress

svn path=/trunk/; revision=65597
2014-12-09 21:37:59 +00:00
Pierre Schweitzer 5503ce60e6 [NTOSKRNL]
THE oneliner....
Properly read the information from the IRP to get the reparse tag. This fixes the handling of reparse mount points in ReactOS.

To make it short and crystal clear: reparse points from NTFS now work in ReactOS.
Demonstration with a Windows 7 volume read inside ReactOS with our NTFS driver and the "Documents and Settings" directory pointing to Users.

IopDoNameTransmogrify() properly gets the reparse data and extracts the mount point:
(../../ntoskrnl/io/iomgr/file.c:178) IopDoNameTransmogrify(B074DB98, B022BC28, B0226068)
(../../ntoskrnl/io/iomgr/file.c:232) Old name: '\Documents and Settings\'
(../../ntoskrnl/io/iomgr/file.c:266) Reparsed name: '\??\C:\Users'

Then.... http://www.heisspiter.net/~Pierre/rostests/NTFS_Reparse.png
First, I attempt to open "Documents and Settings" on my NTFS volume, it fails as "C:\" drive is hardcoded in the reparse point.
So, I create the Users directory on C:\ and a dummy file in it.
Then, I cd again which works now.
And dir properly shows the dummy created file :-).

svn path=/trunk/; revision=65596
2014-12-09 21:33:38 +00:00
Pierre Schweitzer a98c9c1219 [NTOSKRNL]
Implement support reparse points in IofCompleteRequest()

svn path=/trunk/; revision=65595
2014-12-08 20:44:19 +00:00
Pierre Schweitzer 447fca27dc [NTFS]
Fix the implementation of the reparse point handling. This takes into account our $FILE_NAME attribute not being aware it's a reparse point...
We now fully get into Io and fail miserably as it seems I forgot one place where reparse points support has to be added.
D'oh!

svn path=/trunk/; revision=65594
2014-12-08 19:55:56 +00:00
Pierre Schweitzer 62f2a171cd [NTFS]
Fix a stupid copy paste error!

svn path=/trunk/; revision=65593
2014-12-08 19:51:55 +00:00