Commit graph

62832 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto cf58e13f77 [KERNEL32]: Fix GCC build.
svn path=/trunk/; revision=68387
2015-07-11 00:29:01 +00:00
Hermès Bélusca-Maïto 7ffba6f094 [NDK][KERNEL32][LIBCNTPR]
Add RtlAnsiCharToUnicodeChar prototype inside NDK.

[NDK][NTVDM]
Add few missing RTL bitmap prototypes.

svn path=/trunk/; revision=68386
2015-07-11 00:18:30 +00:00
Hermès Bélusca-Maïto 0a18a70623 [KERNEL32]: Whitespace fix; remove useless FIELD_OFFSET definition since we have it in the standard (*DK) headers.
svn path=/trunk/; revision=68385
2015-07-11 00:02:59 +00:00
Hermès Bélusca-Maïto 79a454c070 [KERNEL32]
Since CsrClientCallServer returns the value of ApiMessage.Status, then just use ApiMessage.Status instead of declaring another Status variable for querying the return value of CsrClientCallServer (continuation of r62460).

svn path=/trunk/; revision=68384
2015-07-10 23:57:26 +00:00
Benedikt Freisen 1d4daced52 [MSPAINT_NEW] use the same hard-coded observer pattern for the SelectionModel (WIP)
svn path=/trunk/; revision=68383
2015-07-09 18:48:42 +00:00
Benedikt Freisen 3116acb259 [MSPAINT_NEW] refactoring: move selection management to a dedicated SelectionModel (WIP)
svn path=/trunk/; revision=68382
2015-07-09 09:48:01 +00:00
Ged Murphy b0451457d7 [ATL]
- Add the IAtlMemMgr interface
- Add a basic implementation of CWin32Heap which just implements the base IAtlMemMgr
- Required for CAtlString / CAtlStringMgr (coming later)

svn path=/trunk/; revision=68381
2015-07-09 08:18:24 +00:00
Ged Murphy d064fe61ec [ATL]
- Add basic support for CAtlList, CAtlPlex, CElementTraitsBase, CDefaultCompareTraits.
- Implements CAtlList::IsEmpty, ::GetHeadPosition, ::GetNext, ::AddTail, ::RemoveTail, ::RemoveAll
- Required in the new devmgr code.

svn path=/trunk/; revision=68380
2015-07-09 07:51:43 +00:00
Ged Murphy 74a3a7414b [DEV[DEVMGR]
- Use the correct HINSTANCE in the dll. Fixes loading strings for tooltips, etc.
- Rename CMainWindow to CDeviceManager
- Fixup the decelerations and add missing SAL decoration

svn path=/trunk/; revision=68378
2015-07-08 06:43:16 +00:00
Hermès Bélusca-Maïto 49467814ac [NTVDM]
- Add few remaining members to the SYSVARS list.
- Implement retrieving the (DOS) boot drive (by using the host boot drive letter from %SYSTEMDRIVE%).
Should fix Win3.11 and MSD 2.0+ boot drive retrieval.

svn path=/trunk/; revision=68377
2015-07-07 23:51:57 +00:00
Ged Murphy 9370c5b6ea Minor code cleanup
svn path=/trunk/; revision=68376
2015-07-07 20:33:54 +00:00
Thomas Faber 8c5fdce1fa [SHELL32_WINETEST]
- Sync shfldr_special.c and shlview.c with Wine. Fixes some shell folder reference leaks.
CORE-9867

svn path=/trunk/; revision=68374
2015-07-07 13:44:32 +00:00
Ged Murphy 57d99fef8e [DEVMGR]
Start to fixup and merge the resources. English only at the moment

svn path=/trunk/; revision=68373
2015-07-07 12:51:45 +00:00
Benedikt Freisen 52f4de88b2 [MSPAINT_NEW] turn the history into an ImageModel
svn path=/trunk/; revision=68372
2015-07-07 11:56:37 +00:00
Ged Murphy 7948e912e3 [DEVMGR]
- Rearrange the file structure, move the properties/resource/misc stuff to a ./properties folder
- Add a CMakeLists.txt file to combine both old and new code. Should now build with the msvc RosBe (doesn't yet run)

svn path=/trunk/; revision=68371
2015-07-07 11:55:36 +00:00
Benedikt Freisen 63185511a1 [MSPAINT_NEW] further ATLification, hard-coded observer pattern, minor cleanup (fourth batch of git commits)
svn path=/trunk/; revision=68370
2015-07-07 11:44:50 +00:00
Ged Murphy c9860c44d6 [DEVMGR]
I know this *_new thing is a bit overused, but there are a lot of changes coming to devmgr and rather than take it out of the build for a few days, it's easier to do it this way

svn path=/trunk/; revision=68369
2015-07-07 11:43:15 +00:00
Benedikt Freisen b912eb3b15 [MSPAINT_NEW] manage palette and tools data in a PaletteModel and ToolsModel class, respectively; fix tiny bug in mouse.cpp (third batch of git commits)
svn path=/trunk/; revision=68368
2015-07-07 11:15:24 +00:00
Ged Murphy e60f09bacc [DEVMGR]
- last few fixes to the device manager code to get it building with rosbe (msvc)
- Next steps are to merge it with the existing devmgr code (mostly done in my WC) and get it running via mmc.exe & devmgmt.msc

svn path=/trunk/; revision=68367
2015-07-07 11:05:25 +00:00
Benedikt Freisen ae313a0aee [MSPAINT_NEW] split CMainWindow: factor out CImgAreaWindow and CMiniatureWindow (second batch of git commits)
svn path=/trunk/; revision=68366
2015-07-07 11:02:30 +00:00
Benedikt Freisen 0dcecd61fc [MSPAINT_NEW] port to ATL (first batch of git commits)
svn path=/trunk/; revision=68365
2015-07-07 10:42:49 +00:00
Hermès Bélusca-Maïto 4a2b05ae84 [NTVDM]
Implement basic DOS country info (some stuff is not implemented yet, but the basic functionality is there). This is needed by Microsoft Diagnostics 2.0+ (amongst others)...
See also r66039.
CORE-9903 #resolve

svn path=/trunk/; revision=68363
2015-07-07 00:33:53 +00:00
Hermès Bélusca-Maïto cf5ce092b5 [NTVDM]
- Let the mouse driver use its own 32-to-16 call scratch buffer.
- Simplify some code.

svn path=/trunk/; revision=68362
2015-07-07 00:11:18 +00:00
Thomas Faber c77efa29ff [RAPPS_NEW][EXPLORER][RSHELL][BROWSEUI]
- Use ATL::CWindow methods where appropriate. By Benedikt Freisen.
CORE-9675 #resolve

svn path=/trunk/; revision=68361
2015-07-06 19:38:22 +00:00
Thomas Faber 49363e72c9 [ATL]
- Implement missing ATL::CWindow methods. Patch by Benedikt Freisen.
CORE-9675

svn path=/trunk/; revision=68360
2015-07-06 19:29:21 +00:00
Thomas Faber b0f3e5d9aa [RAPPS_NEW][EXPLORER][RSHELL][BROWSEUI]
- Unambiguously specify top-level namespace for Win32 API functions in preparation for upcoming ATL changes. Based on a patch by Benedikt Freisen.
CORE-9675

svn path=/trunk/; revision=68359
2015-07-06 19:20:39 +00:00
Thomas Faber fcce5b86dc [ACTXPRXY]
- Sync usrmarshal.c to Wine aka fix build

svn path=/trunk/; revision=68358
2015-07-06 18:51:18 +00:00
Thomas Faber 4b4eaae90e [PSDK]
- Add IFolderView2 definition from Wine

svn path=/trunk/; revision=68357
2015-07-06 18:38:15 +00:00
Eric Kohl 785b2eb8b8 [USETUP]
Make the keyboard layouts selection not dependent on the selected language.
Patch by joao.jeronimo.89.
CORE-9630 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=68354
2015-07-05 21:00:38 +00:00
Pierre Schweitzer fb0aea8099 [NTFS]
Properly return allocation size on directory enum

svn path=/trunk/; revision=68353
2015-07-05 20:31:54 +00:00
Thomas Faber 64379e8f3a [NTOS:MM]
- Show that PAGE_NOCACHE also works for image and data sections
- Show that *MapViewOfSection returns user space addresses
CORE-9808

svn path=/trunk/; revision=68352
2015-07-05 19:44:05 +00:00
Thomas Faber 7346aece52 [KMTESTS:MM]
- Add a test for \Device\PhysicalMemory sections, which shows that we have trouble with PAGE_NOCACHE.
CORE-9808

svn path=/trunk/; revision=68351
2015-07-05 19:17:50 +00:00
Pierre Schweitzer 29d31f9aed [ARF]
Fix build(tm)

svn path=/trunk/; revision=68350
2015-07-05 19:09:20 +00:00
Pierre Schweitzer c0146f1340 [NTFS]
Return correct size in FileNetworkOpenInformation operation

svn path=/trunk/; revision=68349
2015-07-05 19:08:08 +00:00
Pierre Schweitzer 53bbe9ea86 [NTFS]
Continue streams integration:
- NtfsGetFileSize() will now return the file size depending on the open data stream
- NtfsGetFileSize() will also optionally return allocated size
- In NtfsMakeFCBFromDirEntry(), when initializing FSRTL_COMMON_FCB_HEADER entry, use data stream sizes

svn path=/trunk/; revision=68348
2015-07-05 19:04:05 +00:00
Hermès Bélusca-Maïto 83159263f9 [NTVDM]
- Implement INT 10h, AH=13h "Write String" function.
- Fix VidBiosPrintCharacter to use the colour attribute only in graphics mode, or when explicitely needed.
- Fix some special cases where specifying a BIOS mode page of 0xFF means "use current page".
- Use a macro to check whether a given mode number specifies a text mode, and use it where needed.

svn path=/trunk/; revision=68347
2015-07-05 18:35:25 +00:00
Eric Kohl 08507c0a9a [NTOSKRNL]
NtQuerySystemInformation: Return ResultLength only in case of success.

svn path=/trunk/; revision=68346
2015-07-05 09:58:03 +00:00
Pierre Schweitzer 451f37cfc3 [NTFS]
Ignore DOS name only entries when browsing index.

CORE-9086

svn path=/trunk/; revision=68345
2015-07-05 09:04:24 +00:00
Ged Murphy e399ab4063 [DEVMGR]
- Implement very basic uninstall functionality
- Move device action code into the DeviceView class

svn path=/trunk/; revision=68344
2015-07-05 08:49:54 +00:00
Ged Murphy 8fdb754153 [DEVMGR]
Add the 'add hardware' option for the maun menu or if the root node is selected

svn path=/trunk/; revision=68343
2015-07-04 21:31:19 +00:00
Ged Murphy b5e1b529b3 [DEVMGR]
- Add a separate class for the root node
- Move creating the action menu items to a generic function so we can use it for both the context menu and the main menu
- Create the main action menu as a dynamic popup menu. It doesn't work quite the same as the menus via the resources, so if any menu expects know how to fix this, be my guest

svn path=/trunk/; revision=68342
2015-07-04 21:12:06 +00:00
Pierre Schweitzer f871bb9384 [NTFS]
Complete BrowseIndexEntries() implementation and simplify NtfsFindMftRecord() implementation

svn path=/trunk/; revision=68341
2015-07-04 19:52:31 +00:00
Eric Kohl c681e13dae [USETUP]
Assign the HiddenSectors values properly.

svn path=/trunk/; revision=68340
2015-07-04 16:10:50 +00:00
Eric Kohl 5e346150a3 [USETUP]
- Add description of the 'L' key to the partition selection page.
- Make the 'ENTER' key work for logical partitions too. Selected unpartitioned space will be converted to a logical partition.
Patch by Gerhard Gruber (sparhawk).
CORE-9641 #resolve 

svn path=/trunk/; revision=68339
2015-07-04 16:04:09 +00:00
Ged Murphy aeed3091c7 [DEVMGR]
Replace hard coded strings with resources

svn path=/trunk/; revision=68338
2015-07-04 13:40:17 +00:00
Amine Khaldi 72127bd933 [SHELL32] Add an icon to Network Connections in Start menu. By Jared Smudde. CORE-9009
svn path=/trunk/; revision=68337
2015-07-03 18:43:46 +00:00
Amine Khaldi 90e11c6263 [TASKMGR] Fix some multi-threaded drawing issues. Brought to you by Joachim Henze. CORE-9868
svn path=/trunk/; revision=68336
2015-07-03 17:17:56 +00:00
Ged Murphy 27e12f2db6 [DEVMGR]
- Implement dynamic context menu for device and class nodes
- Fix CanUninstall to return correct results
- Strings hardcoded for now, will fix soon

svn path=/trunk/; revision=68334
2015-07-03 06:56:58 +00:00
Pierre Schweitzer 5c8a9ffd29 [NTFS]
Kill a magic value.
Dedicated to Hervé :-)

svn path=/trunk/; revision=68333
2015-07-02 20:11:11 +00:00
Johannes Anderwald 861b64ae2a [DDK]
- add missing PcUnregisterAdapterPowerManagement

svn path=/trunk/; revision=68332
2015-07-02 15:40:49 +00:00