Commit graph

59634 commits

Author SHA1 Message Date
Amine Khaldi 3a9653d24e [SHELL32]
* Move shellpath.cpp to the wine folder.
* Rename shellpath.cpp to shellpath.c.
* Partially sync shellpath.c with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65221
2014-11-03 13:29:18 +00:00
Amine Khaldi ebaefd4cf3 [SHELL32]
* Move shell32_main.cpp to the wine folder.
* Rename shell32_main.cpp to shell32_main.c.
* Partially sync shell32_main.c with Wine 1.7.27.
* Update the location of shell32_main.h in inclusions.
CORE-8540

svn path=/branches/shell-experiments/; revision=65217
2014-11-03 12:17:30 +00:00
Amine Khaldi 8b3a691a5b [SHELL]
* Mark _ILGetExtension and _ILGetFileType as EXTERN_C.
* __inline before return type.
* Some tiny style consistency fixes.

svn path=/branches/shell-experiments/; revision=65216
2014-11-03 12:13:40 +00:00
Amine Khaldi 7328a488fa [SHELL]
* __inline before return type.

svn path=/branches/shell-experiments/; revision=65215
2014-11-03 12:10:23 +00:00
Giannis Adamopoulos afba1474ae [EXPLORER_NEW]
- Fix build

svn path=/branches/shell-experiments/; revision=65214
2014-11-03 11:33:23 +00:00
Amine Khaldi 86f440a776 [SHELL32]
* Allow shdebugstr_guid() to be used from C code too.
* Move shellole.cpp to the wine folder.
* Rename shellole.cpp to shellole.c.
* Sync shellole.c with Wine 1.7.27.
CORE-8540

svn path=/branches/shell-experiments/; revision=65213
2014-11-03 10:52:20 +00:00
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
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
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
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
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
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
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
Amine Khaldi 611a14d331 [SHELL32]
* Fix GCC build.

svn path=/branches/shell-experiments/; revision=65180
2014-11-02 11:16:37 +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
Giannis Adamopoulos 15ba278fdd [RSHELL]
- A HACK notice was more obvious than needed (I got what I asked after all).
- Reenable opening the printers folder since it works now

svn path=/branches/shell-experiments/; revision=65161
2014-10-31 22:32:01 +00:00
Giannis Adamopoulos f48774515c [SHELL32]
- Do not release the pointer to the ShellView that was just created 
- Fixes a crash when showing the Printers shell folder

svn path=/branches/shell-experiments/; revision=65160
2014-10-31 22:30:21 +00:00
David Quintana 827930cde2 [BROWSEUI]
* Implement hiding the statusbar from the view menu. Based on patch by Christoph von Wittich.

svn path=/branches/shell-experiments/; revision=65158
2014-10-31 18:37:40 +00:00
David Quintana 1bb0aaf50f [EXPLORER-NEW]
* Some nitpicking.

[STOBJECT]
* Fix the notification not having an assigned callback message id.

svn path=/branches/shell-experiments/; revision=65151
2014-10-31 15:57:56 +00:00
Amine Khaldi 88ae5a3afe [INCLUDE/REACTOS]
* Fix GCC build.

svn path=/branches/shell-experiments/; revision=65149
2014-10-31 15:32:05 +00:00
Amine Khaldi 6581292e05 * Sync up to trunk head (r65147).
svn path=/branches/shell-experiments/; revision=65148
2014-10-31 15:27:51 +00:00
Amine Khaldi 80d683ac8d [SHELL32]
* Rename shellstring.cpp to shellstring.c and update it against Wine 1.7.27.
CORE-8540

svn path=/trunk/; revision=65147
2014-10-31 15:16:51 +00:00
Amine Khaldi 8a1d7dd1c0 [SHELL32]
* Move TRASH_CanTrashFile and TRASH_TrashFile declarations to recyclebin.h.
* Do not include xdg.h in shlfileop.cpp anymore.
* Remove the now unneeded xdg.h.

svn path=/trunk/; revision=65146
2014-10-31 14:29:26 +00:00
Pierre Schweitzer c9d1d86d84 [NTFS]
- Move FSCTL_GET_NTFS_VOLUME_DATA implementation in its own function GetNfsVolumeData(), so remove it from NtfsUserFsRequest()
- Add support for FSCTL_GET_NTFS_FILE_RECORD in NtfsUserFsRequest()
- Implement GetNtfsFileRecord() which returns a file record. Not fully sure about its implementation, this is to be checked.

This does not really improve the nfi situation in any kind yet...

CORE-8725

svn path=/trunk/; revision=65145
2014-10-31 14:21:35 +00:00
Pierre Schweitzer 6635caf5c4 [NTOSKRNL]
Testman confirms that IopParseDevice() hack is no longer required.
So, this is the end of this 8y old hack.

Now ReactOS is able to properly use its storage stack (who said, amazing?)

Bisous IopParseDevice() hack :-)

svn path=/trunk/; revision=65144
2014-10-31 14:16:15 +00:00
Jérôme Gardou da308db0af [OPENGL32]
- Do not crash if thread data was not allocated

svn path=/trunk/; revision=65143
2014-10-31 11:35:32 +00:00
Pierre Schweitzer cfb13ee214 [NTOSKRNL]
Revert r65120...
Which was reverting r65119...
Which was reverting r65117...
Which was reverting r65110...
Which was reverting r65107...
Which was reverting r65104!

To make it short? Fuck you IopParseDevice() hack!
And this time, I hope this is the right one!
I couldn't reproduce any of the previous issues in my WC.

svn path=/trunk/; revision=65142
2014-10-31 11:22:26 +00:00
Pierre Schweitzer afaa63a42c [NTOSKRNL]
Some fixes and missing implementations in RawFS:
- Remove some magic values for VCB state
- Add a local VPB in our VCB. This will allow diverting the IO VPB with ours in case of dismount (and thus, will fix dismount)
- Implement support for said VPB in both RawCheckForDismount() and RawInitializeVcb()
- Now, dismount is handled in RawCheckForDismount() directly, and not in functions calling it
- Handle streams in RawClose
- Handle VCB being dismounted in RawCreate()
- Handle dismount also in RawCleanup() (not only in RawClose())

This fixes volume locking and dismounting in RawFS. And thus, allows FS swap in case of raw volume formating in first stage :-).
More to follow!

svn path=/trunk/; revision=65141
2014-10-31 11:17:43 +00:00
Jérôme Gardou 3d37281ca2 [FASTFAT]
- Fix renaming files in case the target file already exists.
 - Plug a few reference count leaks on FCBs.
CORE-8660 #comment fixed in r65140 #resolve
CORE-8633 #comment fixed in r65140 #resolve
CORE-4758 #comment fixed in r65140 #resolve

svn path=/trunk/; revision=65140
2014-10-31 11:04:12 +00:00
Jérôme Gardou f801abcacf [NTOS/SE]
- Allocate the new ACL for the token with the right pool.
Fixes google chrome BAD_POOL_CALLER bugcheck.

svn path=/trunk/; revision=65139
2014-10-31 11:03:56 +00:00
Amine Khaldi d4eaa22e1f [FTP]
* Plug a leak. CID 513875.
CORE-7975

svn path=/trunk/; revision=65138
2014-10-31 10:40:48 +00:00
Amine Khaldi 7de7c827be [LOGOFF]
* LocalFree should only be executed if AllocAndLoadString() succeeds. Spotted by Thomas Faber.

svn path=/trunk/; revision=65137
2014-10-31 10:24:48 +00:00
Amine Khaldi 55f7571996 [IPCONFIG]
* Plug some leaks. CIDs 716301 => 716305.
CORE-7975

svn path=/trunk/; revision=65136
2014-10-31 10:20:55 +00:00
Amine Khaldi 614ee71e6d [FINGER]
* Addendum to r37084.
* Really fixes CIDs 500624 and 500625 which were marked as fixed.
CORE-7975

svn path=/trunk/; revision=65135
2014-10-31 09:53:18 +00:00
Amine Khaldi c5095466a0 [FINGER]
* Plug a leak. CID 1102406.
CORE-7975

svn path=/trunk/; revision=65134
2014-10-31 09:43:48 +00:00
Amine Khaldi b1626fe71e [LOGOFF]
* Plug some leaks. CIDs 716284 and 716285.
CORE-7975

svn path=/trunk/; revision=65133
2014-10-31 09:22:59 +00:00
Amine Khaldi a7c09060d2 [SHELL32]
* Plug a leak. CID 716474.
CORE-7975

svn path=/trunk/; revision=65132
2014-10-31 09:08:43 +00:00
Kamil Hornicek 476cc79d1f [WIN32K]
- check for an attached surface a bit earlier in GreExtTextOutW
- fixes Foobar 2000
CORE-7425

svn path=/trunk/; revision=65131
2014-10-31 00:21:03 +00:00
Pierre Schweitzer b3fd4ef2f0 [VFATLIB]
When we're done with formatting, attempt to umount the volume, so that it can be remounted properly by FastFAT.

svn path=/trunk/; revision=65130
2014-10-30 21:12:38 +00:00
Pierre Schweitzer ab38eafc21 [FASTFAT]
On the road for getting rid of IopParseDevice() hack....

- Add support for FSCTL_LOCK_VOLUME, FSCTL_UNLOCK_VOLUME, FSCTL_DISMOUNT_VOLUME in VfatFileSystemControl()
- Implement VfatLockOrUnlockVolume(). This brings some kind of volume locking to FastFAT FSD. It's likely not fully accurate and welcome to race conditions. But, its main purpose is to be used in usetup. So, this is fine for now.
- Stubplement VfatDismountVolume(). This will be implemented later on, but should be relatively straightforward as it requires volume to be locked (so, we're the last ones on it :-)).

svn path=/trunk/; revision=65129
2014-10-30 20:56:40 +00:00
Sylvain Petreolle 00bc798da9 [APPWIZ][SYSSETUP]
Enforce focus of the Wine Gecko download prompt in second stage.
Patch by Ismael Ferreras Morezuelas (swyter)

svn path=/trunk/; revision=65128
2014-10-30 20:50:30 +00:00
Hervé Poussineau a293927d33 [FREELDR] Move down the requirement of highest usable address
This fixes PXE boot in QEMU, where highest usable address is 0x9c400.

svn path=/trunk/; revision=65127
2014-10-30 20:22:57 +00:00