Commit graph

32107 commits

Author SHA1 Message Date
Johannes Anderwald
e577021a2b - Do not pass SHGDN_INFOLDER flag
- Implement IPersistFolder2 for control panel shell folder 
- Replace _InsertMenuItem with unicode 
- Pass the pidl of shellfolder and selected drive to SH_ShowDriveProperties to construct a valid IDataObject which is passed to drive PropertySheet handlers
- Release HPSX array only if it was constructed
- Optimize AddShellPropSheetExCallback for file property dialog
- Pass the pidl of the parent shell folder and selected item to SH_ShowPropertiesDialog and construct a IDataObject from it
- Check for success for created IDataObject and HPSX array
- Add a lot of  buffer checks for the OpenNew shell extension
- Pass the full filename of the item from Admin Tools shellfolder when IShellFolder_GetDisplayNameOf is called with SHGDN_FORPARSING
- Implement initializing the AdminTools folder 
- Implement IShellFolder_SetNameOf for the desktop shell folder to support renaming desktop items and sub folders
- Implement ISFHelper interface for desktop shell folder to support deleting with backspace key and fixes the new item shell service for items and directories
- Implement hiding (deleting) shell extensions from desktop
- Display a messagebox if shell extensions should be really deleted
- Fix the IShellFolder_GetAttributesOf for the Mycomputer shell folder
- Implement changing drive name with rename verb using IShellFolder_SetNameOf (MyComputer)
- Implement Initializing the MyComputer shell folder properly
- Fix Shellfolder attributes for MyDocuments shell folder
- Fix Shellfolder attributes for Netplaces shell folder
- Implement Initializing the Netplaces shell folder properly
- Remove the 'properties' and 'open' verb from recycle bin shell folder, these verbs are statically generated
- Directories cannot have the link attribute
- Implement IShellExtInit interface for the new item shell service
- Implement the default context menu based on the existing item context menu and background context menu and delete old implementation
- Implement copy&paste of files and directories
- Implement creating links to files
- Check if a dynamic shell extension has already been loaded
- Free static / dynamic shell extensions on release

svn path=/trunk/; revision=35476
2008-08-20 13:47:47 +00:00
Johannes Anderwald
6d22ab5923 * The CLSID of a PropertySheet handler can either be present as subkey or as a default value.
* Fixes WinRar file property sheet handler and etc...

svn path=/trunk/; revision=35465
2008-08-19 22:40:05 +00:00
Daniel Reimer
9080c0c2e7 Last remnants of Bug 3649. Hopefully...
svn path=/trunk/; revision=35464
2008-08-19 21:45:56 +00:00
Stefan Ginsberg
b736cabdae - Remove dead code
svn path=/trunk/; revision=35462
2008-08-19 21:09:58 +00:00
Daniel Reimer
f2573fe760 Bug 3661: Bulgarian Update by CCTAHEB
Bug 3668: Shell32 Update by Javier Remacha

svn path=/trunk/; revision=35456
2008-08-19 17:00:40 +00:00
Daniel Reimer
2af4b1e5ca Bug 3631 Translate file/patch by Lars Martin Hambro (shell32 was outdated)
Bug 3659 shell32 pl-PL update by Maciej Bialas
Bug 3664 Italian resources update by Paolo Devoti
Bug 3665 Some translations

svn path=/trunk/; revision=35455
2008-08-19 16:32:35 +00:00
Gregor Brunmar
9df926c8e0 * Removed d3d9's dependency on the missing strsafe library
* Replaced .def file with a .spec file

svn path=/trunk/; revision=35452
2008-08-19 15:42:23 +00:00
Johannes Anderwald
19ce17e295 * Restore file with SHFileOperation
svn path=/trunk/; revision=35451
2008-08-19 13:14:25 +00:00
Johannes Anderwald
f1a1cc745a * Create a IDataObject when cidl == 0 (click on TreeView)
* Handle directories in ISFHelper_fnCopyItems
* Should make copying directories work

svn path=/trunk/; revision=35450
2008-08-19 13:03:16 +00:00
Art Yerkes
1d8b6343f6 Fix a leak when doing an immediate reply to a small packet (could be PSH|ACK
with < 50 bytes, ACK|FIN, RST or similar).

svn path=/trunk/; revision=35449
2008-08-19 12:39:46 +00:00
Johannes Anderwald
524d084d4d - Read class name from Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID when available. Custom names like renamed MyComputer or MyDocuments are stored here
svn path=/trunk/; revision=35448
2008-08-19 08:34:42 +00:00
Art Yerkes
7d8e94151c Merge aicom-network-fixes up to 35446.
I (arty) modified the new printing in msafd to be conditional, so as not to
be accused of causing unnecessary spew.

svn path=/trunk/; revision=35447
2008-08-19 06:06:43 +00:00
Johannes Anderwald
eaee8097aa - rewrite ISFHelper_CopyItems to actually copy the items when requested
- should fix copy&paste of files in explorer (Directories are not yet supported)

svn path=/trunk/; revision=35440
2008-08-19 00:04:53 +00:00
Johannes Anderwald
2546d4ddc6 - add 3 resource strings
svn path=/trunk/; revision=35437
2008-08-18 22:24:45 +00:00
Stefan Ginsberg
290c90788a - Fix freeldr build
svn path=/trunk/; revision=35435
2008-08-18 17:38:38 +00:00
Stefan Ginsberg
eccf1ea8b5 - Remove broken IoReportTargetDeviceChange implementation on Alex's request
svn path=/trunk/; revision=35434
2008-08-18 17:07:09 +00:00
Stefan Ginsberg
f7972be7d1 - Replace the remaining X86_EFLAGS* with EFLAGS_*
- Add missing EFLAGS_* to NDK

svn path=/trunk/; revision=35433
2008-08-18 17:05:31 +00:00
Eric Kohl
e6bc2154e3 Implement the "Add users to a group" function.
svn path=/trunk/; revision=35432
2008-08-18 14:08:22 +00:00
Stefan Ginsberg
f4d87f01ff - Missed a STDCALL -> NTAPI
svn path=/trunk/; revision=35430
2008-08-18 13:35:52 +00:00
Stefan Ginsberg
183d54b377 - Fix a typo (and build)
svn path=/trunk/; revision=35429
2008-08-18 13:33:40 +00:00
Stefan Ginsberg
d94c54c3a7 - Implement IoReportTargetDeviceChange as a wrapper around the unimplemented IoReportTargetDeviceChangeAsynchronous
svn path=/trunk/; revision=35428
2008-08-18 13:31:33 +00:00
Stefan Ginsberg
e3f8231305 - Cleanup and reformat parts of pnpmgr (no code change)
svn path=/trunk/; revision=35427
2008-08-18 13:30:17 +00:00
Stefan Ginsberg
5f26c6070c - STDCALL -> NTAPI
svn path=/trunk/; revision=35425
2008-08-18 09:50:38 +00:00
Stefan Ginsberg
b7375f0b9d - Don't export PoSetDeviceBusy, it should be a macro in a DDK header
- Clean up Po* stubs

svn path=/trunk/; revision=35424
2008-08-18 09:49:28 +00:00
Stefan Ginsberg
bd8aae9daf - Add KdInitSystem to kd64.h
svn path=/trunk/; revision=35423
2008-08-18 07:47:44 +00:00
Stefan Ginsberg
7a7c6e2c98 - Remove 3 deprecated macros
- Use X86_EFLAGS_ID instead of cpu.c specific EFLAGS_ID

svn path=/trunk/; revision=35422
2008-08-18 07:42:12 +00:00
Stefan Ginsberg
42114cdc69 - Remove empty header
svn path=/trunk/; revision=35421
2008-08-18 07:37:25 +00:00
Stefan Ginsberg
f7b3363eb2 - Fix comment header
svn path=/trunk/; revision=35414
2008-08-17 19:23:06 +00:00
Stefan Ginsberg
4353142bc2 - Rename SeInit to SeInitSystem
svn path=/trunk/; revision=35413
2008-08-17 18:34:37 +00:00
Hervé Poussineau
878ef89965 Device type can be undefined if kbdclass or mouclass is not loaded.
svn path=/trunk/; revision=35412
2008-08-17 18:11:32 +00:00
Stefan Ginsberg
4aa45a6803 - Move kernel mode implementation of RtlpGetStackLimits from crt to ntoskrnl
svn path=/trunk/; revision=35411
2008-08-17 18:01:49 +00:00
Stefan Ginsberg
4972a810f1 - Remove dead code
svn path=/trunk/; revision=35410
2008-08-17 17:38:28 +00:00
Stefan Ginsberg
10ec954654 - Remove two more files by moving their tiny contents (one stub, one 2 line function) to mm.c
svn path=/trunk/; revision=35407
2008-08-17 12:17:08 +00:00
Stefan Ginsberg
553ffd969a - Remove dead pager.c
- Remove empty aspace.c
- Move MmKernelAddressSpace to a header

svn path=/trunk/; revision=35406
2008-08-17 12:05:28 +00:00
Art Yerkes
8b23bceee1 Don't attempt to mount a partition that starts with a fat bootblock.
svn path=/trunk/; revision=35403
2008-08-17 05:23:10 +00:00
ReactOS Portable Systems Group
7c7314849d Make RAM disk support work on x86 as well (it is now generic):
1) Don't assert if loaded from setup. On NT this means special things, but we don't care about that for now.
	2) Add to txtsetup.sif along with the other core FS drivers. This will eventually allow installing from ramdisk as well (and later, over the network)
	3) Add to hivesys_i386.inf so that the driver is initialized.

RAM disk now works flawlessly on x86 -- just make sure to follow the previous instructions, and add <size of your RAM disk> to your total memory available to ReactOS.


svn path=/trunk/; revision=35402
2008-08-17 02:35:30 +00:00
ReactOS Portable Systems Group
3cdbb3f31d FreeLDR-side of RAM Disk support for x86 based on actual NT implementation (instead of ARM-only hacks):
1) First, remove the hack in bootmgr.c that looked for a reactos.img.
	2) Instead, read the command line to the kernel, and check for /RDIMAGEPATH. If found, load the ramdisk in the loader.
	3) This uses the same routine as the previous hack, but enhances it with actual status and progress printouts.
	4) Finally, update usetup to generate a ReactOS (RAM Disk) entry on DBG builds, under the WinLDR one.

Also fixed a bug where, on MiniTUI, the text sent to UiDrawProgressBarCenter would be ignored.

This patch does not result in working RAM disk support yet.

To test the FreeLDR side of things, you need to create a ramdisk file: this is easy.

Preferred way right now is to use qemu-img to create a standard QEMU image. Then install ReactOS on it and configure it. This is now your ramdisk.
Make your image about 100MB; this is how much ReactOS requires to install right now.

Now on your "official" QEMU image, you can delete everything except freeldr.sys and freeldr.ini. Or don't, if it's large enough.

Now add the reactos.img to your official image. You should have at least 100MB free space.

Now when you boot the ReactOS (RAM disk) entry, it should boot up until the kernel, which will panic since there's no ramdisk support yet.

Note that you can't just create a QEMU image and drop files in it -- it must be properly formatted and have the ReactOS boot sector:
The RAM disk isn't just a collection of files, it's an entire virtual drive, so that's why you must first officially install ReactOS on it.


svn path=/trunk/; revision=35401
2008-08-17 02:01:30 +00:00
James Tabor
0d12515dcb - Add timer handle type.
svn path=/trunk/; revision=35400
2008-08-17 00:46:51 +00:00
Art Yerkes
7fd0c1eb30 Merge aicom-network-fixes up to 35398
svn path=/trunk/; revision=35399
2008-08-16 22:39:01 +00:00
Stefan Ginsberg
0860be6816 - Remove deprecated ExfpInterlockedExchange64
svn path=/trunk/; revision=35397
2008-08-16 18:06:12 +00:00
Stefan Ginsberg
399dc7da51 - Spelling fixes
- Remove deprecated comment from resource.c
- Fix obsdcach.c comment header

svn path=/trunk/; revision=35396
2008-08-16 17:53:28 +00:00
James Tabor
a878cd2e46 Wine update to dialog.c, see bug 3644.
svn path=/trunk/; revision=35395
2008-08-16 16:01:03 +00:00
James Tabor
bafb77d60c Add check for null after allocating new DCE. See bug 3638.
svn path=/trunk/; revision=35394
2008-08-16 15:48:05 +00:00
Hervé Poussineau
1b11b8d6ce Increase lost packet count when transmit failed or receive failed for whatever reason
svn path=/trunk/; revision=35392
2008-08-16 14:30:20 +00:00
Stefan Ginsberg
e96d8d91ad - No need to set a variable to TRUE twice before it is used
svn path=/trunk/; revision=35390
2008-08-16 14:18:42 +00:00
Hervé Poussineau
660f76d0a1 Replace .def file by a .spec file
svn path=/trunk/; revision=35389
2008-08-16 13:18:50 +00:00
Aleksey Bragin
5833f234a8 Finta László <finta.laszlo@freemail.hu>
- Fix _allmul function, which would always give 0 if both multiplier and muliplicand's high words are 0.

svn path=/trunk/; revision=35388
2008-08-16 12:51:39 +00:00
Colin Finck
28aa57b53f Restructure the keyboard & mouse detection code:
- Truly separate i8042BasicDetect from i8042DetectKeyboard and i8042DetectMouse: It now only does the CTRL_SELF_TEST, any other specific detections are done in their respective functions
- Only set KEYBOARD_PRESENT and MOUSE_PRESENT, when all respective detections completed successfully

Might fix bug #3550

svn path=/trunk/; revision=35387
2008-08-16 12:20:18 +00:00
Hervé Poussineau
0e0ea9b0df Replace .def file by a .spec file
svn path=/trunk/; revision=35386
2008-08-16 12:03:07 +00:00
Hervé Poussineau
b38fdbfee0 Replace .def file by a .spec file
svn path=/trunk/; revision=35384
2008-08-16 11:59:16 +00:00