Commit graph

60018 commits

Author SHA1 Message Date
Giannis Adamopoulos 2aefa1130a [SHELL32]
- Add shell32.cpp and move there CShell32Module, DllGetVersion, DllMain, DllCanUnloadNow, DllGetClassObject, DllRegisterServer, DllUnregisterServer, DllInstall, IDefClFImpl, IDefClF_fnConstructor and SHCreateDefClassObject
- Now shell32_main.cpp and shellole.cpp have code that can be converted back to C and synced to wine

svn path=/branches/shell-experiments/; revision=65212
2014-11-03 10:38:21 +00:00
Giannis Adamopoulos ee9f3746cc [SHELL32]
- Move SHGetDesktopFolder to desktop.cpp

svn path=/branches/shell-experiments/; revision=65211
2014-11-03 10:12:24 +00:00
Jérôme Gardou 0039187504 [NTOS/PS]
- Do not leak a reference to the process object when setting quotas.

svn path=/trunk/; revision=65210
2014-11-03 09:52:08 +00:00
David Quintana 406cb9dd75 [EXPLORER-NEW]
* Rename a few I<x>Impl to C<x>
* Refactor the toolbar code of notification area into its own class.
* Also refactor away the code specific to the toolbar control into a CToolbar class. Todo: move the CToolbar class into some header file.

svn path=/branches/shell-experiments/; revision=65209
2014-11-03 04:16:56 +00:00
Giannis Adamopoulos 89af2b02ad [SHELL32]
- Remove an old todo file that described the things that were implemented in the shell-experiments branch

svn path=/branches/shell-experiments/; revision=65208
2014-11-02 23:50:54 +00:00
Giannis Adamopoulos 855e2e5a66 [SHELL32]
- Move shellstring.c to a new folder called wine. More files should be moved there eventually.

svn path=/branches/shell-experiments/; revision=65207
2014-11-02 23:41:24 +00:00
Giannis Adamopoulos 5c14d148e1 [SHELL32]
- Move files that implement dialogs and property sheets in dialogs folder

svn path=/branches/shell-experiments/; revision=65206
2014-11-02 23:30:48 +00:00
Pierre Schweitzer 21cd59bc0f [DISK]
Add a hack to forcibly set sector size in case of weird input. This is noisy on purpose.
Also, be more informative in case of read rejection. Are we reading beyond partition or do we have invalid sector size?
With the hack, the invalid sector size should disappear.

This is to help debugging the recent errors with the removal of IopParseDevice() hack

svn path=/trunk/; revision=65205
2014-11-02 23:11:22 +00:00
Hervé Poussineau 3fc8b084e5 [NTFS] Implement IRP_MJ_QUERY_INFORMATION/FileNetworkOpenInformation:
We are now able to execute some binaries on a NTFS partition.

svn path=/trunk/; revision=65204
2014-11-02 22:56:53 +00:00
Hervé Poussineau 68487164df [NTFS] Fix IRP_MJ_QUERY_INFORMATION/FileNameInformation, which should handle buffers not big enough
svn path=/trunk/; revision=65203
2014-11-02 22:56:47 +00:00
Hervé Poussineau bdbbb217d5 [NTFS] Update headers
svn path=/trunk/; revision=65202
2014-11-02 22:56:38 +00:00
Giannis Adamopoulos 544bb81e8f [SHELL32]
- Remove authors.cpp

svn path=/branches/shell-experiments/; revision=65201
2014-11-02 22:52:49 +00:00
David Quintana d2d3c97622 [EXPLORER-NEW]
* Refactor startmnu.cpp into three separate files. startctxmnu.cpp contains the context menu handler for the start button, and startmnusite.cpp contains the former IStartMenuSiteImpl, renamed to CStartMenuSite.

svn path=/branches/shell-experiments/; revision=65200
2014-11-02 22:26:44 +00:00
David Quintana d2f5f7f14f [EXPLORER-NEW]
* Refactor the desktop thread/creation code.

svn path=/branches/shell-experiments/; revision=65199
2014-11-02 21:52:54 +00:00
Pierre Schweitzer f2cbb4ac21 [NTFS]
Update headers.
Hervé, feel free to copy :-P

svn path=/trunk/; revision=65198
2014-11-02 21:50:40 +00:00
David Quintana 162ff471bb [EXPLORER-NEW]
* Convert codebase to C++ and make use of C++ classes for the COM objects.

svn path=/branches/shell-experiments/; revision=65197
2014-11-02 20:18:54 +00:00
Hervé Poussineau 6a520d8fbe [NTFS] Hack fix duplicate directory entries for files having a short name and a long name
svn path=/trunk/; revision=65196
2014-11-02 20:18:34 +00:00
Hervé Poussineau c554032df9 [NTFS] Optimize directory search initialization
svn path=/trunk/; revision=65195
2014-11-02 20:18:27 +00:00
David Quintana 3da5418d3f [RSHELL]
[STOBJECT]
* Some nitpicking.

[SHELL32]
* Fix missing null-termination by using proper string literals.

svn path=/branches/shell-experiments/; revision=65194
2014-11-02 20:17:23 +00:00
David Quintana 3b5e160482 [SHELL32]
* Fix GCC build.

svn path=/branches/shell-experiments/; revision=65193
2014-11-02 20:13:56 +00:00
Pierre Schweitzer ffa40006ae [NTFS]
Quickly implement NtfsReadFile().

By quickly, I mean that it works but is under optimal in many ways, and also doesn't support any caching. So, don't expect breaking performances.

BUUUUUUT... This implements reading a file on a NTFS volume on ReactOS! And it works!
Here is a picture of all the achievements of ReactOS with NTFS lately: http://www.heisspiter.net/~Pierre/rostests/NTFS_all.png
-> Volume information
-> Displaying files in explorer
-> Moving across directories
-> Reading a file (with more here)

That's all folks! (for now ;-))

svn path=/trunk/; revision=65192
2014-11-02 19:55:22 +00:00
Pierre Schweitzer 6ea5fe3e43 [NTFS]
Don't attempt to uninitialize cache map with a spin lock held.

svn path=/trunk/; revision=65191
2014-11-02 19:27:58 +00:00
Hervé Poussineau 82f99f5e41 [NTFS] Fix directory listing with search pattern
This fixes name completion in command prompt.

svn path=/trunk/; revision=65190
2014-11-02 18:58:16 +00:00
Hervé Poussineau 3248b9e3b7 [NTOS:CM] Remove some debug prints
svn path=/trunk/; revision=65189
2014-11-02 18:58:09 +00:00
Hervé Poussineau 77e9b087e9 [FDC] Remove some debug prints
svn path=/trunk/; revision=65188
2014-11-02 18:58:04 +00:00
Hervé Poussineau ad03599ffb [SYSSETUP] Disable debug prints (incidentally enabled in r65128)
svn path=/trunk/; revision=65187
2014-11-02 18:57:56 +00:00
Pierre Schweitzer b304d6f14a [NTFS]
Fix a really nasty bug in NTFS: it was possible to perform a buffer overflow when reading the bitmap data.

svn path=/trunk/; revision=65186
2014-11-02 17:53:18 +00:00
Giannis Adamopoulos a099e6c7a2 [SHELL32]
- Remove lots of typecasts in CDefView
- Use strict typed itemids

svn path=/branches/shell-experiments/; revision=65185
2014-11-02 17:49:28 +00:00
Amine Khaldi c472e29a70 * Sync up to trunk head (r65183).
svn path=/branches/shell-experiments/; revision=65184
2014-11-02 16:12:38 +00:00
Thomas Faber 760375811e [NTOS:SE]
- Call SeAssignSecurityEx from SeAssignSecurity
- Fix a FIXME

svn path=/trunk/; revision=65183
2014-11-02 15:41:20 +00:00
Giannis Adamopoulos 6f1b132494 [ATL]
- Add a couple of macros needed for the time we will be able to support aggregation with ATL

svn path=/branches/shell-experiments/; revision=65182
2014-11-02 13:35:03 +00:00
Timo Kreuzer a841fadcaa [HAMMERTIMESTFU]
Silence "a few" DPRINTs

svn path=/trunk/; revision=65181
2014-11-02 11:30:14 +00:00
Amine Khaldi 611a14d331 [SHELL32]
* Fix GCC build.

svn path=/branches/shell-experiments/; revision=65180
2014-11-02 11:16:37 +00:00
Eric Kohl 1087501706 [NET]
Net user command:
- Fix typos in the /ACTIVE option.
- Implement the /COUNTRYCODE, /PASSWORDCHG and /PASSWORDREQ options.

svn path=/trunk/; revision=65179
2014-11-02 09:56:18 +00:00
Thomas Faber db79c779e8 [SACDRV]
- Silence debug prints
- Avoid magic numbers

svn path=/trunk/; revision=65178
2014-11-02 07:17:39 +00:00
Giannis Adamopoulos b8c49d0520 [SHELL32]
- Add an evil header that is going to simplify our C++ code in the shell a lot
- Use the new CListView in the implementation of CDefView to make it more readable and maintainable

svn path=/branches/shell-experiments/; revision=65176
2014-11-02 00:26:22 +00:00
Pierre Schweitzer a899cf5bdd [USETUP]
Make commented out code build (if ever uncommented ;-))

svn path=/trunk/; revision=65175
2014-11-01 21:13:16 +00:00
Pierre Schweitzer fc65ad4d5f [EXT2LIB]
Whatever happened during format, always unmount the volume.
This allows switching FS in usetup after formating an ext2 volume.

As a record, before (read, with the IopParseDevice) hack, this wasn't possible and if formating with ext2 was possible, kernel would have written with either RawFS or FastFAT driver. Which is not exactly what we want ;-).
But no joy guys... The Ext2Fsd needs to work in ReactOS first before we can effectively install ReactOS on ext2 volumes.

In any case, that's a clear step forward :-)

svn path=/trunk/; revision=65174
2014-11-01 21:09:10 +00:00
Pierre Schweitzer c1bbc436cb [FASTFAT]
Implement some kind of volume dismount in FastFAT (ie, implement VfatDismountVolume())

This is not fully perfect situation, but it does most of the job (+ leaking a few things). So far, this is not dramatic as its main use is for 1st stage. This will have to be improved later on.

CORE-8732 #comment Can you retest please?

svn path=/trunk/; revision=65173
2014-11-01 20:19:52 +00:00
Eric Kohl 2f120e9e6d [NET]
Display user group memberships.

svn path=/trunk/; revision=65172
2014-11-01 19:24:44 +00:00
Thomas Faber 6f9a074461 [FASTFAT]
- The volume FCB is not reference counted, so don't dereference it on close.

svn path=/trunk/; revision=65171
2014-11-01 18:00:15 +00:00
Hermès Bélusca-Maïto 2420e2ff0d [BASESRV]
- Correctly set the VdmPower flag when the process being started is a NT VDM
- Return a correct status code if VDM access is forbidden.

svn path=/trunk/; revision=65170
2014-11-01 17:51:39 +00:00
Hermès Bélusca-Maïto fec7f48782 [KERNEL32]
- Mark almost all of the exported console APIs hotpatchable (normally on windows 2k3, all the exports of kernel32 are hotpatchable...)
- Version check mismatch is not a ReactOS error by itself so adjust the DPRINT a bit.

svn path=/trunk/; revision=65169
2014-11-01 15:35:45 +00:00
Kamil Hornicek fd0e046213 [RAPPS]
- don't resize the richedit window on minimize
CORE-6116

svn path=/trunk/; revision=65168
2014-11-01 12:43:45 +00:00
Eric Kohl 8031de0f5d [NET]
- Display workstations.
- Implement the /ACTIVATE option to enable/disable user accounts.

svn path=/trunk/; revision=65167
2014-11-01 12:32:01 +00:00
Pierre Schweitzer 7fbedc7a2a [NTFS]
Simplify buffer size management in GetNtfsFileRecord(). As tests shown, Windows doesn't care about the real size of the file record and expects the caller to pass the complete size of the record and returns it fully.

CORE-8725

svn path=/trunk/; revision=65166
2014-11-01 10:02:08 +00:00
Pierre Schweitzer 67656096bd [NTFS_TEST]
Add a simple application (à la NTFSInfo & nfi) to dump the data about a NTFS volume using the FSCTL control codes.
This is for both demonstrating how it works and to assess our driver behavior against Windows behavior of these FSCTL.

CORE-8725

svn path=/trunk/; revision=65165
2014-11-01 09:56:33 +00:00
Pierre Schweitzer ce5999a8eb [PSDK]
Add yet another missing NTFS define

svn path=/trunk/; revision=65164
2014-11-01 08:58:41 +00:00
Pierre Schweitzer 139ec81ccb [PSDK]
Add missing NTFS defines

svn path=/trunk/; revision=65163
2014-11-01 08:03:57 +00:00
Kamil Hornicek 0cad6a3b91 [EVENTLOG]
- fix a possible null dereference

svn path=/trunk/; revision=65162
2014-10-31 22:39:19 +00:00