Commit graph

27717 commits

Author SHA1 Message Date
Hervé Poussineau be299c8c04 Add stubs for TRASH_CanTrashFile and TRASH_TrashFile
svn path=/trunk/; revision=30087
2007-11-03 13:39:55 +00:00
Eric Kohl 495c4b799c Implement removal of environment variables by removing all environment variables from the registry and re-adding the stored ones.
svn path=/trunk/; revision=30086
2007-11-03 11:02:31 +00:00
James Tabor 6033dd0e44 Fix a stub.
svn path=/trunk/; revision=30085
2007-11-03 01:30:04 +00:00
Aleksey Bragin 3765b77c14 - Move Nt* APIs converted to new CM into config/cmapi.c
- Start removing usage of ReactOS Hive Flags and use NT Hive Flags instead.
- Add CmpLockRegsitry based on CmpLockRegistryExclusive.
- Add new lazy flush implementation based on the old one, but with parallel work support. Not yet in use.
- Don't delete a key that's already being deleted.
- Update KcbMaxNameLen after a deletion.
- Set the DELETE flag in the KCB during a deletion.
- Remove the KCB Key hash during a delete.
- Implement CmFlushKey (not yet used).

svn path=/trunk/; revision=30079
2007-11-02 23:12:22 +00:00
James Tabor 64fe695591 Add STOCK_LAST, update stock objects.
svn path=/trunk/; revision=30075
2007-11-02 22:14:45 +00:00
Marc Piulachs 7783b645a2 remove '__REACTOS__' define already defined for project
svn path=/trunk/; revision=30073
2007-11-02 19:59:55 +00:00
Aleksey Bragin 7c3d94291e - It may happen so, that the driver was loaded by the bootloader, but failed initialization (thus DriverObject == NULL), and later PNP manager tries to install it again, and BSOD due to NULL DriverObject (because really only its image is loaded, but it's not initialized). Prevent this situation by initializing DriverObject in that case.
svn path=/trunk/; revision=30071
2007-11-02 16:00:58 +00:00
Ged Murphy 1679d0bf4c add missing break
svn path=/trunk/; revision=30070
2007-11-02 13:39:56 +00:00
Aleksey Bragin ed826bf53e - Make use of the function Herve implemented in previous commit to flush key buffer at the beginning of every page in usetup.
See issue #2131 for more details.

svn path=/trunk/; revision=30069
2007-11-02 13:13:55 +00:00
Hervé Poussineau fae0c09e4b Report STATUS_NOT_SUPPORTED when IOCTL is not supported
svn path=/trunk/; revision=30068
2007-11-02 13:01:15 +00:00
Hervé Poussineau 4885fbac2a Add method to flush console input buffer
svn path=/trunk/; revision=30067
2007-11-02 12:37:50 +00:00
Hervé Poussineau 426db02b5b Support IRP cancellation
svn path=/trunk/; revision=30066
2007-11-02 12:36:50 +00:00
Johannes Anderwald 42bab9d044 - add szClass to static context menu struct
- remove szCmd from static context menu struct
- let ShellExecuteEx do the work of executing static context menu
- remove DoOpenExplore function, the verbs "open" + "explore" are now read from registry depending on the class
- check if there are dynamic / static available shell extensions

svn path=/trunk/; revision=30065
2007-11-02 12:08:57 +00:00
James Tabor 405a934dab Win32k:
- Forked dcutil and gdibatch.
- Added our first batch SetBrushOrg.
- cleaned up dcutil.
- Added dcattr support for NtGdiSetBrushOrg.
- Tested with qemu and hardware. Needs vendor app testing.

svn path=/trunk/; revision=30064
2007-11-02 04:23:31 +00:00
James Tabor 6383a43920 Move GDI_BATCH_LIMIT where it should go.
svn path=/trunk/; revision=30063
2007-11-02 02:56:21 +00:00
Johannes Anderwald 36a2283520 - turn off debug messages for X-time :)
svn path=/trunk/; revision=30062
2007-11-02 02:50:07 +00:00
Johannes Anderwald 4b03170fff - refactor dynamic context menu loading
- dynamic shell extensions should now work 
- WinRar extension is now working except for the email handling thing

svn path=/trunk/; revision=30061
2007-11-02 02:49:14 +00:00
James Tabor cf90034545 Assign define for gdi buffer size.
svn path=/trunk/; revision=30060
2007-11-02 02:42:09 +00:00
Magnus Olsen 7c4c90e02b rename framebuf_acc.* to framebufacc.* for rbuild can not handle _, forget about that
implement DrvSetPointerShape, left todo is the copy process for mono and color pointer data before it is completed. 



svn path=/trunk/; revision=30059
2007-11-02 00:03:02 +00:00
Johannes Anderwald 28eb54745a - fix a bug found by w3seek
- free memory when destroying IContextMenu

svn path=/trunk/; revision=30056
2007-11-01 22:00:38 +00:00
Johannes Anderwald df53d0f9d6 - fix position of dynamic context menus
svn path=/trunk/; revision=30055
2007-11-01 21:30:44 +00:00
Johannes Anderwald f61ad64412 - remove debug prints
- remove useless file

svn path=/trunk/; revision=30053
2007-11-01 20:56:35 +00:00
Johannes Anderwald 4d202f55ee - implement loading & executing of static context menu extensions
svn path=/trunk/; revision=30052
2007-11-01 20:54:46 +00:00
Magnus Olsen 0fd4f6a205 accdented acctivated framebufacc in the build system, sorry it broken the build
svn path=/trunk/; revision=30050
2007-11-01 20:42:12 +00:00
Magnus Olsen 48dbc73039 rename framebuf_acc to framebufacc to make rbuild happy
implement hw support for DrvMovePointer, it mean if a driver have this function implement our framebufacc will use it 

svn path=/trunk/; revision=30049
2007-11-01 20:32:39 +00:00
Thomas Bluemel 80b9ed9c09 Increase size of current date selection
svn path=/trunk/; revision=30047
2007-11-01 17:41:00 +00:00
Aleksey Bragin 4a05c1e591 - Fix a bug with incorrect handling of the keyboard layout pointer (which is HKL in fact in our current implementation).
- Change the prototype to better match actual parameters usage.
See issue #2787 for more details.

svn path=/trunk/; revision=30046
2007-11-01 17:06:49 +00:00
Johannes Anderwald 8609c9c790 - use translated menu from resources if available
svn path=/trunk/; revision=30045
2007-11-01 16:09:04 +00:00
Ged Murphy fa1e99d927 - don't pass minus values for creating topdown bitmaps.
- fixes loading of toolbar bitmaps in abiword

svn path=/trunk/; revision=30043
2007-11-01 15:45:42 +00:00
Magnus Olsen 75d64c3e09 Rename framebuf.def to framebuf_acc.def, framebuf.h to framebuf_acc.h, framebuf.rbuild to framebuf_acc.h
Start add hw mouse cures support
Deleted all old mouse pointer code that was disable. 

Disable the new cached code for now


svn path=/trunk/; revision=30040
2007-11-01 14:40:22 +00:00
Johannes Anderwald fc74dc4764 - fix a bug in IntGetMenuDefaultItem
svn path=/trunk/; revision=30039
2007-11-01 14:20:43 +00:00
Johannes Anderwald dc1e031efd - silence debug
svn path=/trunk/; revision=30038
2007-11-01 13:35:30 +00:00
Johannes Anderwald a2e44a6af1 - dont show Open With shell extension when a selected item is a folder or a shortcut
- add the "explore" verb only if folder has a subfolder
- always add open verb

svn path=/trunk/; revision=30037
2007-11-01 13:33:18 +00:00
Eric Kohl 1308d46688 Expand an environment variable only if its value got at least two percent characters.
svn path=/trunk/; revision=30035
2007-11-01 11:45:14 +00:00
Ged Murphy a03d9e441c Don't lock unnecessarily and don't leak a bitmap object in case of failure
svn path=/trunk/; revision=30034
2007-11-01 10:06:11 +00:00
James Tabor 7110b8e047 Fix structure storage types.
svn path=/trunk/; revision=30033
2007-11-01 01:59:05 +00:00
Johannes Anderwald fe8535447f - implement IPersistFolder2 interface for desktop object
- add a backslash when required
- fixes deleting of objects on desktop

svn path=/trunk/; revision=30032
2007-11-01 00:42:06 +00:00
Colin Finck a14b40e394 - Add an #error, when UNICODE is not defined.
Task-Manager makes use of NDK API's, which forces the application to be compiled Unicode-only.
- To make this obvious, change all TCHAR variables and functions to their Unicode counterparts and get rid of the "tchar.h" include.
- Use a Unicode entry-point and 'unicode="yes"' instead of UNICODE and _UNICODE definitions in the rbuild file
- Many indentation fixes

svn path=/trunk/; revision=30031
2007-10-31 23:26:27 +00:00
James Tabor 16ca3d0bfa Win32k/Gdi:
- The start of Gdi Batch.
- I've tested it on Qemu and Hardware.
- No improvements. I think it is running, so please check.
- Fix DcUtil code. Will fork soon.

svn path=/trunk/; revision=30030
2007-10-31 22:56:38 +00:00
Johannes Anderwald f2ff1a8c8a - refresh folder when deleting an item
- does not work for items placed on desktop yet because the desktop folder doesnot implement IPersistFolder2 interface
- avoid using ISFHelper interface

svn path=/trunk/; revision=30029
2007-10-31 22:56:24 +00:00
Aleksey Bragin c5f01afb3d - Update cached KCB values when necessary.
- Update Node Maximum values when necessary.
- Return data from the node instead of calling 3rd-party functions to loop around the entire key until they find something appropriate.
- Get rid of CmiScanForSubKey, CmiGetMaxValueDataLength, CmiGetMaxValueNameLength, CmiGetMaxClassLength, CmiGetMaxNameLength.

svn path=/trunk/; revision=30028
2007-10-31 22:33:43 +00:00
Magnus Olsen f366d38ae8 Comment out a hack in framebuf_acc, same hack should be remove from framebuf
svn path=/trunk/; revision=30027
2007-10-31 22:32:05 +00:00
Aleksey Bragin cbb2ff96a6 - Get rid of parent key member in PKEY_OBJECT, and use ParentKcb instead.
- Modify more functions to use KCB instead of PKEY_OBJECT.

svn path=/trunk/; revision=30026
2007-10-31 22:22:07 +00:00
Johannes Anderwald 0dc465de18 - implement CWM_GETISHELLBROWSER support in IShellView
- fixes desktop refreshing after a new item has been placed with ShellNew command

svn path=/trunk/; revision=30025
2007-10-31 21:25:07 +00:00
Magnus Olsen 8c669a8e79 start implement the system cache buffer.
add helper function InitSurface to determent when we need remap or not the video memory.
in DrvEnableSurface tell it use hook flags for diffent functions, add cached alloc as well 
in DrvDisableSurface, add to free the cached video memory 
rewrote DrvAssertMode to remap the video memory when it is need, and realloc the cache when it is need it
Not tested if this change can be compile, yet. but this framebuf_acc is not setup yet with rbuild build system yet
 

svn path=/trunk/; revision=30024
2007-10-31 20:07:12 +00:00
Hervé Poussineau 273ddbf9fd Repair TCP/IP service installation
svn path=/trunk/; revision=30022
2007-10-31 18:17:00 +00:00
Thomas Bluemel 596a6762cf Fix abusing the heap by using strdupW instead of _wcsdup
svn path=/trunk/; revision=30021
2007-10-31 18:14:16 +00:00
Thomas Bluemel d624225717 Don't call SHBrowseForFolder() with random pointers
svn path=/trunk/; revision=30020
2007-10-31 17:13:52 +00:00
Ged Murphy 01e884dc2d remove a sneaky little bugger
svn path=/trunk/; revision=30019
2007-10-31 16:27:40 +00:00
Ged Murphy 9c27060580 - Fix param checking and don't send negative values in the SIZEL struct of IntCreateBitmap.
- Fixes displaying of menu bitmaps in apps such as abiword

svn path=/trunk/; revision=30018
2007-10-31 16:22:59 +00:00