reactos.git
13 years ago[MKHIVE]
Eric Kohl [Sun, 25 Apr 2010 19:54:57 +0000 (19:54 +0000)]
[MKHIVE]
- Use newinflib instead of inflib.
- Add RegDeleteKeyW stub.
- Convert registry generation code from ANSI APIs to UNICODE APIs.
ATTENTION: This commit might break the build bot because it was not tested on a Linux system.

svn path=/trunk/; revision=47019

13 years ago[NEWINFLIB]
Eric Kohl [Sun, 25 Apr 2010 19:20:59 +0000 (19:20 +0000)]
[NEWINFLIB]
- Use LANGID instead of LCID.
- Move LANGID and language macros into the host typedefs header.
- Remove dead code.

svn path=/trunk/; revision=47018

13 years ago[HOSTS]
Cameron Gutman [Sun, 25 Apr 2010 18:36:15 +0000 (18:36 +0000)]
[HOSTS]
- Add a simple hosts file
- Not used yet

svn path=/trunk/; revision=47017

13 years ago[NEWINFLIB]
Eric Kohl [Sun, 25 Apr 2010 15:58:34 +0000 (15:58 +0000)]
[NEWINFLIB]
Add a UNICODE-aware version of the inflib library.
It is not used by other components yet but usetup and mkhive will use it in the future.
ATTENTION: This commit might break the build bot because I could not test a build on a Linux system.

svn path=/trunk/; revision=47016

13 years ago[SYSSETUP]
Gregor Schneider [Sun, 25 Apr 2010 12:13:01 +0000 (12:13 +0000)]
[SYSSETUP]
- Create a modeless syssetup dialog so we can explicitly ignore intermediate WM_CLOSE messages (modal property sheets handle them automatically)
See issue #4960 for more details.

svn path=/trunk/; revision=47011

13 years ago[NETCFGX]
Gregor Schneider [Sun, 25 Apr 2010 10:47:10 +0000 (10:47 +0000)]
[NETCFGX]
- Save DHCP and DNS settings from the basic TCP/IP panel independently of each other
See issue #5193 for more details.

svn path=/trunk/; revision=47010

13 years ago[NETCFGX]
Gregor Schneider [Sun, 25 Apr 2010 10:45:06 +0000 (10:45 +0000)]
[NETCFGX]
- Improve the DNS data exchange between the basic IP settings and the advanced DNS panel
- Simplify LaunchAdvancedTcpipSettings

svn path=/trunk/; revision=47009

13 years ago[IP]
Cameron Gutman [Sat, 24 Apr 2010 22:37:45 +0000 (22:37 +0000)]
[IP]
- Don't try to close the connection again if it has already been terminated by the remote peer

svn path=/trunk/; revision=47007

13 years ago[NETSHELL]
Gregor Schneider [Sat, 24 Apr 2010 18:12:31 +0000 (18:12 +0000)]
[NETSHELL]
- Load all LAN status icons with the same size
- Only set the status icon if the icon occurred, don't set NULL icons (properties of LAN adapter window)
See issue #3813 for more details.

svn path=/trunk/; revision=47006

13 years ago[NETSHELL] Fix some German resources:
Gregor Schneider [Sat, 24 Apr 2010 18:08:11 +0000 (18:08 +0000)]
[NETSHELL] Fix some German resources:
- Use BS_MULTILINE instead of embedding newline characters into text
- Make groupboxes and text fit into the window

svn path=/trunk/; revision=47005

13 years ago[RBUILD]
Johannes Anderwald [Sat, 24 Apr 2010 08:51:07 +0000 (08:51 +0000)]
[RBUILD]
- Fix cleaning of msvc 10 project files

svn path=/trunk/; revision=47004

14 years ago[FORMATTING]
Timo Kreuzer [Fri, 23 Apr 2010 22:16:59 +0000 (22:16 +0000)]
[FORMATTING]
- Apply consistent indentation

svn path=/trunk/; revision=47003

14 years agoDisable gdi batch for SelectObject with fonts. Fixes font regression.
Timo Kreuzer [Thu, 22 Apr 2010 22:28:49 +0000 (22:28 +0000)]
Disable gdi batch for SelectObject with fonts. Fixes font regression.

svn path=/trunk/; revision=46998

14 years ago[NTOSKRNL]
Cameron Gutman [Thu, 22 Apr 2010 21:07:46 +0000 (21:07 +0000)]
[NTOSKRNL]
- Add a stub for IRP_MN_REMOVE_DEVICE in PnpRoot
- Revert 2 incorrect changes from r46983 (DNF_ENUMERATED added to the DNF_ADDED assertion and setting the DNF_RESOURCE_REPORTED flag in IopStartDevice2)
- Set the DNF_LEGACY_DRIVER flag if the AddDevice handler is missing
- Add a helper function called IopSendRemoveDevice which sends IRP_MN_REMOVE_DEVICE to a device object
- Call IopSendRemoveDevice if IRP_MN_START_DEVICE fails
- Set the DNF_STARTED and DNF_ADDED flags for legacy drivers
- Enable the DNF_ADDED assertion in IopStartDevice2

svn path=/trunk/; revision=46997

14 years ago[PCI]
Cameron Gutman [Thu, 22 Apr 2010 20:35:58 +0000 (20:35 +0000)]
[PCI]
- Forward IRPs to our PDO instead of just completing them
- Handle IRP_MN_START_DEVICE on the way back up the stack (allows the PDO code to assign resources to the bus)
- Add some synchronous IRP forwarding copied from i8042prt

svn path=/trunk/; revision=46996

14 years ago[REGEDIT]
Gregor Schneider [Thu, 22 Apr 2010 12:49:20 +0000 (12:49 +0000)]
[REGEDIT]
- Don't assign an uninitialized custom filter buffer to the OPENFILENAME structure, clean up commented out code
- Allows standard file type filters to show up
See issue #5307 for more details.

svn path=/trunk/; revision=46992

14 years ago[REGEDIT] Only set a registry path if the root node is not selected, adjust checks
Gregor Schneider [Thu, 22 Apr 2010 11:25:56 +0000 (11:25 +0000)]
[REGEDIT] Only set a registry path if the root node is not selected, adjust checks
See issue #5297 for more details.

svn path=/trunk/; revision=46991

14 years ago[KERNEL32]
Aleksey Bragin [Thu, 22 Apr 2010 08:47:47 +0000 (08:47 +0000)]
[KERNEL32]
- Update kernel32_winetests to Wine-1.1.43.

svn path=/trunk/; revision=46990

14 years ago[NTOS]: Implement and call MiBuildImportsForBootDrivers. We now have full dependency...
Sir Richard [Thu, 22 Apr 2010 08:13:56 +0000 (08:13 +0000)]
[NTOS]: Implement and call MiBuildImportsForBootDrivers. We now have full dependency tracking for correct unloading.
[NTOS]: Implement and call MiLocateKernelSections. Pool code and paging paths will require this information later. Loader work done for now.

svn path=/trunk/; revision=46989

14 years ago[NTOS]: Implement and call MiUseLargeDriverPage.
Sir Richard [Thu, 22 Apr 2010 08:04:57 +0000 (08:04 +0000)]
[NTOS]: Implement and call MiUseLargeDriverPage.
[NTOS]: MmCheckSystemImage: Check for 32-bit/64-bit image/OS mismatch.
[NTOS]: MmCheckSystemImage: Return invalid checksum if couldn't get the NT header from the image.
[NTOS]: MmCheckSystemImage: Map images as SEC_IMAGE instead of SEC_COMMIT, and simply read the size off that way.

svn path=/trunk/; revision=46988

14 years ago[NTOS]: MiFindExportedRoutineByName should validate the ordinal to make sure it's...
Sir Richard [Thu, 22 Apr 2010 03:54:09 +0000 (03:54 +0000)]
[NTOS]: MiFindExportedRoutineByName should validate the ordinal to make sure it's not higher than the function count.
[NTOS]: Use MM_SYSLDR_ defines instead of magic pointer casts. Use appropriate pool tags.
[NTOS]: Set the LoadedImport count early-on during image referencing, so that failure will correctly de-reference the imports. By setting it to zero, failures would've leaked driver-dependent DLLs already loaded but now useless.
[NTOS]: Do the same checks as Windows to avoid drivers linked with user-mode DLLs.
[NTOS]: Allow "coverage" and "irt" to be linked with Win32K drivers as well.
[NTOS]: When the linker is fixed not to generate corrupt drivers, add the appropriate code to scan IMAGE_DIRECTORY_ENTRY_IAT for updating thunks. A hack exists in ReactOS now to permit loading these hacked drivers, but Windows is not so generous and will crash with a ReactOS driver.

svn path=/trunk/; revision=46987

14 years ago[PCI]
Cameron Gutman [Wed, 21 Apr 2010 23:19:12 +0000 (23:19 +0000)]
[PCI]
- Don't set DO_BUS_ENUMERATED_DEVICE on child PDOs because the PnP manager does it for us

svn path=/trunk/; revision=46985

14 years ago- Missed this from my last commit
Cameron Gutman [Wed, 21 Apr 2010 22:42:21 +0000 (22:42 +0000)]
- Missed this from my last commit

svn path=/trunk/; revision=46984

14 years ago[NTOSKRNL]
Cameron Gutman [Wed, 21 Apr 2010 22:33:11 +0000 (22:33 +0000)]
[NTOSKRNL]
- Replace the broken CM_RESOURCE_LIST_SIZE with a better function that actually works with resource lists that have device-specific data in them (fixes missing device specific data when resources are retrieved with IoGetDeviceProperty)
- Separate the resource code out of pnpmgr.c and into pnpres.c
- Simplify resource assigning to simply calling one function, IopAssignDeviceResources, which takes care of the registry configuration, translation, etc.
- Set the DNF_NEED_ENUMERATION_ONLY flag only AFTER the device is actually started not before
- Set DNF_START_FAILED if IRP_MN_START_DEVICE fails
- Fix a bug in IoReportDetectedDevice that wrote the AllocConfig value to wrong place

svn path=/trunk/; revision=46983

14 years ago[WINESYNC]
Aleksey Bragin [Wed, 21 Apr 2010 20:35:09 +0000 (20:35 +0000)]
[WINESYNC]
- Sync comdlg32, crypt32, gdiplus, inetcomm, jscript, msctf, mshtml, msxml3, rsaenh, schannel, shlwapi, urlmon, usp10, wininet winetests.

svn path=/trunk/; revision=46982

14 years ago[WIN32K]
Timo Kreuzer [Wed, 21 Apr 2010 15:15:57 +0000 (15:15 +0000)]
[WIN32K]
Update text and background brush properly. Fixes wrong colors in radio buttons in Firefox. Fix by Jerome Gardou.

See issue #5311 for more details.

svn path=/trunk/; revision=46980

14 years agoremove svn:mergeinfo
Timo Kreuzer [Wed, 21 Apr 2010 15:12:58 +0000 (15:12 +0000)]
remove svn:mergeinfo

svn path=/trunk/; revision=46979

14 years ago[NTOS]: Support unload of system modules by parsing the LoadedImports (implement...
Sir Richard [Wed, 21 Apr 2010 14:14:45 +0000 (14:14 +0000)]
[NTOS]: Support unload of system modules by parsing the LoadedImports (implement MiDereferenceImports which was just a stub) and calling MiCallDllUnloadAndUnloadDll.
[NTOS]: Fix a bug in MiClearImports.

svn path=/trunk/; revision=46978

14 years ago[NTOS]: Enable MmPageEntireDriver by implementing MiSetPagingOfDriver.
Sir Richard [Wed, 21 Apr 2010 14:06:01 +0000 (14:06 +0000)]
[NTOS]: Enable MmPageEntireDriver by implementing MiSetPagingOfDriver.
[NTOS]: Call MiEnablePagingOfDriver from MmLoadSystemImage and implement it. All the work is done other than actually enabling paging, which requires system working set support.
[NTOS]: Implement MiWriteProtectSystemImage and MiComputeDriverProtection. All the work is done other than actually setting the bits on the pages, since I wanted to avoid too many changes.
[NTOS]: MmCheckSystemImage returns STATUS_INVALID_IMAGE_PROTECT, not STATUS_INVALID_IMAGE_FORMAT, so the branch in MmLoadSystemImage needs to check for the correct status code.
[NTOS]: Support FLG_SHOW_LDR_SNAPS for the kernel loader.

svn path=/trunk/; revision=46977

14 years agoRecommit rest of ntifs.h and wdm.h from header merge revert
Timo Kreuzer [Wed, 21 Apr 2010 01:12:04 +0000 (01:12 +0000)]
Recommit rest of ntifs.h and wdm.h from header merge revert

svn path=/trunk/; revision=46972

14 years ago[NTOS]: Read almost all the Memory Management variables into the system configuration...
Sir Richard [Tue, 20 Apr 2010 22:47:51 +0000 (22:47 +0000)]
[NTOS]: Read almost all the Memory Management variables into the system configuration vector. These includes pool limits, percentages, debugging flags, behavioral changes, and others.
[NTOS]: Minimal stubbed support for some large page functionality in case it gets implemented later and these things would've been ignored. One critical change is that now the MmProcessList is initialized, and the system process is added to it. Other processes should be added later.
[NTOS]: Add stubbed support for parsing the registry list of drivers that should have large pages enabled.
[NTOS]: Initialize the loaded module list before working set work.
[NTOS]: Reload the boot drivers much earlier, as part of ARM3 initialization.
[NTOS]: Start doing some minor MmResidentAvailablePages accounting during bootup.
[NTOS]: Start doing the math required for computing the appropriate MmSystemCacheWsMinimum on the booting system (based on RAM).
[NTOS]: Now that we use the HAL heap, add the code to scan it for I/O mappings. These are dangerous because we need to sync up caching attributes (not yet used in ReactOS, so not a problem for now).
[NTOS]: Add more header definitions, and helper definitions such as PDE_MAPPED_VA instead of doing the math by hand.
[NTOS]: Move MmPageEntireDriver and MmResetDriverPaging to sysldr.c since drvmgmt.c is more for Driver Verifier-style functionality.

svn path=/trunk/; revision=46971

14 years ago- Sync rsaenh, schannel, shlwapi, sti, urlmon, usp10, version, windowscodecs, wininet...
Aleksey Bragin [Tue, 20 Apr 2010 21:18:54 +0000 (21:18 +0000)]
- Sync rsaenh, schannel, shlwapi, sti, urlmon, usp10, version, windowscodecs, wininet, wintrust to Wine-1.1.43.
- Update README.WINE.

svn path=/trunk/; revision=46967

14 years ago[NTVDM] Load resource strings in Unicode when printing them in Unicode
Gregor Schneider [Tue, 20 Apr 2010 18:59:58 +0000 (18:59 +0000)]
[NTVDM] Load resource strings in Unicode when printing them in Unicode

svn path=/trunk/; revision=46963

14 years ago- If MSDN says "BOOLEAN", let it be "BOOLEAN". Fixes build.
Aleksey Bragin [Tue, 20 Apr 2010 18:55:05 +0000 (18:55 +0000)]
- If MSDN says "BOOLEAN", let it be "BOOLEAN". Fixes build.

svn path=/trunk/; revision=46962

14 years ago[User32]
James Tabor [Tue, 20 Apr 2010 18:36:39 +0000 (18:36 +0000)]
[User32]
- Dmitry Timoshkov : Do not ask DrawFrameControl() to modify the passed in rectangle.
- Nikolay Sivov : Set WM_EXITMENULOOP wParam same way as for WM_ENTERMENULOOP.

svn path=/trunk/; revision=46961

14 years ago- Add Wow64* functions declarations to winbase.h
Aleksey Bragin [Tue, 20 Apr 2010 17:36:44 +0000 (17:36 +0000)]
- Add Wow64* functions declarations to winbase.h
- Export Wow64* functions in kernel32, because 32bit Windows also exports them.
- Sync ole32, oleaut32 with Wine-1.1.43.

svn path=/trunk/; revision=46959

14 years ago- Sync msimtf, msvfw32, msvidc32, msxml3 to Wine-1.1.43.
Aleksey Bragin [Tue, 20 Apr 2010 17:24:00 +0000 (17:24 +0000)]
- Sync msimtf, msvfw32, msvidc32, msxml3 to Wine-1.1.43.

svn path=/trunk/; revision=46958

14 years ago- Sync localspl, mciavi32, mcicda, mciqtz32, mciseq, mciwave, mscoree, msctf, msgsm32...
Aleksey Bragin [Tue, 20 Apr 2010 17:16:57 +0000 (17:16 +0000)]
- Sync localspl, mciavi32, mcicda, mciqtz32, mciseq, mciwave, mscoree, msctf, msgsm32.acm, mshtml to Wine-1.1.43.

svn path=/trunk/; revision=46957

14 years ago- Sync inetcomm, inseng, jscript to Wine-1.1.43.
Aleksey Bragin [Tue, 20 Apr 2010 16:42:47 +0000 (16:42 +0000)]
- Sync inetcomm, inseng, jscript to Wine-1.1.43.

svn path=/trunk/; revision=46956

14 years ago- Sync comdlg32, crypt32, gdiplus, hhctrl.ocx to Wine-1.1.43.
Aleksey Bragin [Tue, 20 Apr 2010 08:30:10 +0000 (08:30 +0000)]
- Sync comdlg32, crypt32, gdiplus, hhctrl.ocx to Wine-1.1.43.

svn path=/trunk/; revision=46955

14 years agoMerge back most changes to ntifs.h from lastt revert
Timo Kreuzer [Mon, 19 Apr 2010 21:40:23 +0000 (21:40 +0000)]
Merge back most changes to ntifs.h from lastt revert

svn path=/trunk/; revision=46949

14 years ago[W32KNAPI]
Timo Kreuzer [Mon, 19 Apr 2010 19:45:10 +0000 (19:45 +0000)]
[W32KNAPI]
Patch by Jerome Gardou: more tests for NtGdiBitBlt

svn path=/trunk/; revision=46948

14 years ago[NTDLL_WINETEST]
Timo Kreuzer [Mon, 19 Apr 2010 19:43:18 +0000 (19:43 +0000)]
[NTDLL_WINETEST]
- Skip broken tests

svn path=/trunk/; revision=46947

14 years agoPatch by Jerome Gardou: add a bunch of tests for NtGdiBitBlt
Timo Kreuzer [Mon, 19 Apr 2010 17:52:56 +0000 (17:52 +0000)]
Patch by Jerome Gardou: add a bunch of tests for NtGdiBitBlt

svn path=/trunk/; revision=46946

14 years agoMerge changes to ketypes.h and ntimage.h from the last revert back.
Timo Kreuzer [Mon, 19 Apr 2010 17:30:34 +0000 (17:30 +0000)]
Merge changes to ketypes.h and ntimage.h from the last revert back.

svn path=/trunk/; revision=46945

14 years agoRevert r46582, to see if it fixes the regtests
Timo Kreuzer [Mon, 19 Apr 2010 15:41:21 +0000 (15:41 +0000)]
Revert r46582, to see if it fixes the regtests

svn path=/trunk/; revision=46942

14 years ago- Sync activeds, atl, avifil32, cabinet to Wine-1.1.43.
Aleksey Bragin [Mon, 19 Apr 2010 14:03:42 +0000 (14:03 +0000)]
- Sync activeds, atl, avifil32, cabinet to Wine-1.1.43.

svn path=/trunk/; revision=46938

14 years agoUpdate winhlp32 to Wine 1.1.43
Daniel Reimer [Sun, 18 Apr 2010 23:16:10 +0000 (23:16 +0000)]
Update winhlp32 to Wine 1.1.43

svn path=/trunk/; revision=46931

14 years ago- Once again, fix INF files
Matthias Kupfer [Sun, 18 Apr 2010 23:02:14 +0000 (23:02 +0000)]
- Once again, fix INF files

svn path=/trunk/; revision=46929

14 years agoSamuel Serapion
Aleksey Bragin [Sun, 18 Apr 2010 18:22:29 +0000 (18:22 +0000)]
Samuel Serapion
- Add IdlInterface module type.

svn path=/trunk/; revision=46928

14 years agoSamuel Serapion
Aleksey Bragin [Sun, 18 Apr 2010 18:20:33 +0000 (18:20 +0000)]
Samuel Serapion
- Assorted rbuild syntax fixes.

svn path=/trunk/; revision=46927

14 years ago[USER32]
Aleksey Bragin [Sun, 18 Apr 2010 12:46:53 +0000 (12:46 +0000)]
[USER32]
- Fix SetSysColorTemps prototype and implementation for 64 bit compatibility, part 2/2.

svn path=/trunk/; revision=46918

14 years ago[USER32]
Aleksey Bragin [Sun, 18 Apr 2010 12:42:28 +0000 (12:42 +0000)]
[USER32]
- Fix SetSysColorTemps prototype and implementation for 64 bit compatibility.

svn path=/trunk/; revision=46917

14 years ago[NTMARTA]
Michael Martin [Sun, 18 Apr 2010 12:06:29 +0000 (12:06 +0000)]
[NTMARTA]
- AccRewriteSetEntriesInAcl: Fix a bug that caused the for loop never to complete due to reuse of same variable.

svn path=/trunk/; revision=46916

14 years ago[PCMCIA]
Cameron Gutman [Sat, 17 Apr 2010 23:32:29 +0000 (23:32 +0000)]
[PCMCIA]
- Check if the IOCTL interface should be enabled (not used yet)

svn path=/trunk/; revision=46913

14 years ago[NTOSKRNL]
Cameron Gutman [Sat, 17 Apr 2010 23:13:07 +0000 (23:13 +0000)]
[NTOSKRNL]
- Hackfix the device manager issue

svn path=/trunk/; revision=46912

14 years ago[GDI32] GetFontUnicodeRanges was introduced in Windows 2000, patch by Love Nystrom
Gregor Schneider [Sat, 17 Apr 2010 20:59:59 +0000 (20:59 +0000)]
[GDI32] GetFontUnicodeRanges was introduced in Windows 2000, patch by Love Nystrom
See issue #5031 for more details.

svn path=/trunk/; revision=46910

14 years ago[SHELL32]
Gregor Schneider [Sat, 17 Apr 2010 20:02:12 +0000 (20:02 +0000)]
[SHELL32]
- Simplify checks for success of ShellExecuteEx, field hInst may be an unreliable indicator according to http://msdn.microsoft.com/en-us/library/bb759784%28v=VS.85%29.aspx
- Fixes folder options control panel opening twice
See issue #4910 for more details.

svn path=/trunk/; revision=46907

14 years ago[NTOS]: 1MB is not 1000 * 1KB...
Sir Richard [Sat, 17 Apr 2010 14:28:15 +0000 (14:28 +0000)]
[NTOS]: 1MB is not 1000 * 1KB...

svn path=/trunk/; revision=46904

14 years ago[SHELL32]
Gregor Schneider [Fri, 16 Apr 2010 21:22:06 +0000 (21:22 +0000)]
[SHELL32]
- Add support for deleting multiple files from the context menu
- Fix error debug print
See issue #4383 for more details.

svn path=/trunk/; revision=46900

14 years ago[PING]
Gregor Schneider [Fri, 16 Apr 2010 14:47:46 +0000 (14:47 +0000)]
[PING]
- Skip the last unnecessary wait in a series of pings
- Patch by Rafal Harabien, <rafalh1992 AT o2 DOT pl>
See issue #5300 for more details.

svn path=/trunk/; revision=46898

14 years ago[NOTEPAD]
Gregor Schneider [Fri, 16 Apr 2010 14:30:40 +0000 (14:30 +0000)]
[NOTEPAD]
- Create a font even if no registry settings were loaded
- Patch by Rafal Harabien, <rafalh1992 AT o2 DOT pl>
See issue #4066 for more details.

svn path=/trunk/; revision=46897

14 years agoFix the make path.
Ged Murphy [Fri, 16 Apr 2010 10:48:02 +0000 (10:48 +0000)]
Fix the make path.
Should fix building using the RosBuild config in Visual Studio

svn path=/trunk/; revision=46893

14 years ago[DESK]
Gregor Schneider [Thu, 15 Apr 2010 21:01:12 +0000 (21:01 +0000)]
[DESK]
- Don't autoequip listview item selections upon item creation
- Handle selections via SetItemState, select newly added items that way
- Fixes current background wallpaper item not being selected initially and selection being ignored later
See issue #5030,5116 for more details.

svn path=/trunk/; revision=46887

14 years ago[MSIMTF]
Timo Kreuzer [Thu, 15 Apr 2010 20:07:18 +0000 (20:07 +0000)]
[MSIMTF]
Silence debug flood

svn path=/trunk/; revision=46886

14 years ago[RBUILD]
Timo Kreuzer [Thu, 15 Apr 2010 18:47:44 +0000 (18:47 +0000)]
[RBUILD]
- Link C++ apps to libsupc++.a, needed for recent versions of gcc
- remove amd64 hack

svn path=/trunk/; revision=46884

14 years ago[GENINC]
Timo Kreuzer [Thu, 15 Apr 2010 18:42:48 +0000 (18:42 +0000)]
[GENINC]
Add some more constants

svn path=/trunk/; revision=46883

14 years ago[SHELL32]
Gregor Schneider [Thu, 15 Apr 2010 16:33:25 +0000 (16:33 +0000)]
[SHELL32]
- Use the default action when starting processes from the run dialog (r29143, lost due to a sync)
- Control panels can be launched from run again
- Display localized error text as messagebox caption instead of "Nix"
See issue #4026 for more details.

svn path=/trunk/; revision=46882

14 years ago[BDASUP]
Johannes Anderwald [Thu, 15 Apr 2010 14:09:38 +0000 (14:09 +0000)]
[BDASUP]
- Fix build

svn path=/trunk/; revision=46881

14 years ago[PSDK]
Johannes Anderwald [Thu, 15 Apr 2010 12:54:04 +0000 (12:54 +0000)]
[PSDK]
- Add KS_DATARANGE_BDA_TRANSPORT Type
- Fix build

svn path=/trunk/; revision=46880

14 years ago[MSDVBNP]
Johannes Anderwald [Thu, 15 Apr 2010 11:08:19 +0000 (11:08 +0000)]
[MSDVBNP]
- Fix category description
[KSPROXY]
- Create pin handle when other pin is connecting to the output pin
- Defer loading proxy plugins when the pin is about to connect

svn path=/trunk/; revision=46879

14 years ago[KS]
Johannes Anderwald [Thu, 15 Apr 2010 10:07:38 +0000 (10:07 +0000)]
[KS]
- Fix typo
- Store object interface functions in KSBASIC_HEADER OuterUnknown
- Implement KsDeviceRegisterAdapterObject, KsRegisterAggregatedClientUnknown, KsGetOuterUnknown
- Partly implement clock property functions
- Rewrite KsValidateConnectRequest, KsPinPropertyHandler to handle KSPIN_DESCRIPTOR_EX, which is used by IKsFilter implementation
- Dispatch unsupported interface requests to the clients registered inner aggregate (device / filter factory / filter / pin)
- Rewrite filter functions which deal with KSPIN_DESCRIPTO, as the client can dynamically modify the PinDescriptors array
- Handle matching create requests which differentiate in case
- Implement pin allocator framing property handler

svn path=/trunk/; revision=46878

14 years ago[PSDK]
Johannes Anderwald [Thu, 15 Apr 2010 09:44:03 +0000 (09:44 +0000)]
[PSDK]
- Add clock property handler prototypes

svn path=/trunk/; revision=46877

14 years ago[PCMCIA]
Cameron Gutman [Thu, 15 Apr 2010 01:59:15 +0000 (01:59 +0000)]
[PCMCIA]
- Add a mostly stubbed PCMCIA driver
- pcmcia.c is complete but fdo.c and pdo.c are completely unimplemented

svn path=/trunk/; revision=46876

14 years ago[WIN32K] Since r43772 we now normalize VK_LCONTROL/VK_RCONTROL to VK_CONTROL rather...
Jeffrey Morlan [Thu, 15 Apr 2010 00:25:30 +0000 (00:25 +0000)]
[WIN32K] Since r43772 we now normalize VK_LCONTROL/VK_RCONTROL to VK_CONTROL rather than VK_LCONTROL (and ditto for shift/alt), so update SetKeyState to handle this. Fixes bug 4945.

svn path=/trunk/; revision=46875

14 years ago[NOTEPAD] Convert NULL characters to spaces when reading binary files
Gregor Schneider [Wed, 14 Apr 2010 20:43:23 +0000 (20:43 +0000)]
[NOTEPAD] Convert NULL characters to spaces when reading binary files
See issue #3573 for more details.

svn path=/trunk/; revision=46873

14 years ago[DESK]
Gregor Schneider [Wed, 14 Apr 2010 19:08:27 +0000 (19:08 +0000)]
[DESK]
- Create a function for updating the currently selected theme id
- Call this function before saving theme data to the registry, fixes saving invalid theme indexes
- Remove unnecessary header tags
See issue #5016 for more details.

svn path=/trunk/; revision=46870

14 years ago[usb/usbehci]
Michael Martin [Wed, 14 Apr 2010 14:46:10 +0000 (14:46 +0000)]
[usb/usbehci]
- Remove WorkItem code yet again as its not needed.
- Set Ports PortChange to STATUS_CONNECTED when detecting insertion of new usb device.
- Change UrbWorkerThread to use timer and wait so we dont waste cpu cycles.
- Implement IOCTL_INTERNAL_USB_SUBMIT_IDLE_NOTIFICATION.
- Upon receiving the IRP_MN_QUERY_DEVICE_RELATIONS with type BusRelation, stop processing the root hub IRPs,
as at this point the hub driver has been informed of everything it needs to know about the device.
The next SCE request will remain pending until another devices is connected.
- Implement ExecuteControlRequest for all control related communications to/from usb devices.
- Remove GetDeviceDescriptor and GetDeviceStringDescriptor as no longer needed.
- Fix implementation of Direct Call function CreateUsbDevice.
- Implement Direct Call functions InitializeUsbDevice and GetUsbDescriptors.
- Misc rearranging and clean up.

svn path=/trunk/; revision=46867

14 years ago[TDI]
Timo Kreuzer [Wed, 14 Apr 2010 00:03:21 +0000 (00:03 +0000)]
[TDI]
Convert to spec. Taken from amd64 branch (by Samuel SerapiĆ³n)

svn path=/trunk/; revision=46864

14 years ago[NDIS]
Timo Kreuzer [Tue, 13 Apr 2010 23:48:25 +0000 (23:48 +0000)]
[NDIS]
Convert to spec

svn path=/trunk/; revision=46863

14 years agoMy first commit in a very long time. I'm releasing the source code of my C# implement...
Marc Piulachs [Tue, 13 Apr 2010 21:59:21 +0000 (21:59 +0000)]
My first commit in a very long time. I'm releasing the source code of my C# implementation of Rbuild by popular demand :) I would have preferred to release the code under a BSD licence but there is a small portion of ancient Nant GPL code that would have been to be rewritten first.

There are two executables (SysGen.Designer) and (SysGen.Make)

SysGen.Designer is a windows forms tool that allows to generate customized reactos images, it is similar in concept to Windows CE Platfom Builder. SysGen.Make is the actual Rbuild clone, It has three main parts, the .rbuild file parser + in-memory tree representation, the backends , and the auto generated files. The Mingw backend used to work 1'5 years ago and produced a 100% valid makefile.auto but have to be updated to be able to build a recent revision. Rewriting parts of it to take advantage of C# 3.5 extension methods would probably reduce the code by 50%. The other two parts are quite stable.

This code was only a proof of concept and was never intended to be released so there is a ton of unpolished code and hacks required by the current C++ implementation that should be removed.

How to test it:

Select SysGen.Make as the Start-up Project in Visual Studio and edit Program.cs to point to the correct path to ReactOS-i386.rbuild Edit SysGenEngine.cs:639 to enable/disable specific backends, The HtmlBackend in \SysGen.BuildEngine\Backends\Html\HtmlBackend.cs is a very simple illustration of how powerful this framework is.

Happy hacking!

svn path=/trunk/; revision=46862

14 years ago[HAL]
Timo Kreuzer [Tue, 13 Apr 2010 16:26:48 +0000 (16:26 +0000)]
[HAL]
- Give mini-hal it's own rbuild file
- fix amd64 rbuild

svn path=/trunk/; revision=46860

14 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 13 Apr 2010 15:19:35 +0000 (15:19 +0000)]
[NTOSKRNL]
Add back FASTCALL macro in the pspec file for amd64 builds

svn path=/trunk/; revision=46859

14 years ago[NDK]
Timo Kreuzer [Mon, 12 Apr 2010 22:31:42 +0000 (22:31 +0000)]
[NDK]
- Fix KGDT64 selector names

svn path=/trunk/; revision=46857

14 years ago[FREELDR]
Timo Kreuzer [Mon, 12 Apr 2010 22:28:22 +0000 (22:28 +0000)]
[FREELDR]
- Don't prefix amd64 symbol names with underscores
- Cleanup unused amd64 functions
- Fix amd64 GDT entries
- Fix amd64 APIC_BASE

svn path=/trunk/; revision=46856

14 years ago[RTL] Revert s(w)printf changes of r44970
Gregor Schneider [Mon, 12 Apr 2010 20:45:38 +0000 (20:45 +0000)]
[RTL] Revert s(w)printf changes of r44970
See issue #5125 for more details.

svn path=/trunk/; revision=46855

14 years ago[USERENV] Revert r43057: setting environment variables per process is not useful...
Gregor Schneider [Mon, 12 Apr 2010 20:13:39 +0000 (20:13 +0000)]
[USERENV] Revert r43057: setting environment variables per process is not useful here, a higher authority has to do this globally
See issue #4008 for more details.

svn path=/trunk/; revision=46853

14 years ago[NTOS]: Try moving towards new ABI. Lots of debug spam will be generated by various...
Sir Richard [Mon, 12 Apr 2010 19:49:32 +0000 (19:49 +0000)]
[NTOS]: Try moving towards new ABI. Lots of debug spam will be generated by various device node flags in incorrect states, and hacks that had to be made to maintain current functionality. Also document things being done at the wrong place. One small step...

svn path=/trunk/; revision=46852

14 years ago[SHELL32]
Gregor Schneider [Mon, 12 Apr 2010 19:47:09 +0000 (19:47 +0000)]
[SHELL32]
- Add prepared file association failure text plus some translations from Wine
- Prevents completely empty message boxes
See issue #4572 for more details.

svn path=/trunk/; revision=46851

14 years ago[KERNEL32]
Gregor Schneider [Mon, 12 Apr 2010 19:43:07 +0000 (19:43 +0000)]
[KERNEL32]
Daniel Zimmerman: Update GetShortPathNameW to Wine
See issue #4553 for more details.

svn path=/trunk/; revision=46850

14 years ago[HAL]
Timo Kreuzer [Mon, 12 Apr 2010 19:39:50 +0000 (19:39 +0000)]
[HAL]
Fix a possible overflow of the hal heap in HalpMapPhysicalMemory64 and simplify the code.

svn path=/trunk/; revision=46849

14 years ago[NTOS]: Rename IopBusTypeGuidList to PnpBusTypeGuidList to match Windows 2003 PnP...
Sir Richard [Sun, 11 Apr 2010 21:25:50 +0000 (21:25 +0000)]
[NTOS]: Rename IopBusTypeGuidList to PnpBusTypeGuidList to match Windows 2003 PnP Namespace instead of Windows 2000.
[NTOS]: Use PnpBusTypeGuidList->Lock instead of PnpBusTypeGuidListLock.
[NTOS]: Implement PipAllocateDeviceNode for setting up device nodes and linking them to a PDO. Only used for Root PnP now. Main ABI change is that allocate in ReactOS right now includes "insert". These will be seperate in the new PnP ABI.
[NTOS]: Implement IopInitializePnpServices to replace PnpInit. Mostly the same work is done, but using new PnP ABI.
[NTOS]: Implement new helper: IopCreateRegistryKeyEx.

svn path=/trunk/; revision=46845

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 11 Apr 2010 17:31:17 +0000 (17:31 +0000)]
[NTOSKRNL]
- Use IopDeviceNodeSetFlag to set the DNF_HAS_BOOT_CONFIG flag
- Set DNF_START_FAILED and print a warning if we fail to start a device
- Clear the DNF_ASSIGNING_RESOURCES flag before failing
- TODO: Release device resources when start fails

svn path=/trunk/; revision=46844

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 11 Apr 2010 16:23:57 +0000 (16:23 +0000)]
[NTOSKRNL]
- Don't set the DNF_STARTED flag before calling IopStartDevice

svn path=/trunk/; revision=46843

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 11 Apr 2010 16:21:29 +0000 (16:21 +0000)]
[NTOSKRNL]
- Store the allocated resources for reported devices

svn path=/trunk/; revision=46842

14 years ago[NTOS]: Some PnP ABI refactoring for future patches/work.
Sir Richard [Sun, 11 Apr 2010 16:10:49 +0000 (16:10 +0000)]
[NTOS]: Some PnP ABI refactoring for future patches/work.
[NTOS]: Switch to PnP Add Device routine, currently mostly a copy of the original ReactOS code. However, PnP now tries to open all the required registry keys before attempting to start the device. Failures are reported and load cancelled. More work TBD.

svn path=/trunk/; revision=46841

14 years ago[NTOSKRNL]
Cameron Gutman [Sun, 11 Apr 2010 16:08:20 +0000 (16:08 +0000)]
[NTOSKRNL]
- Make legacy device keys volatile

svn path=/trunk/; revision=46840

14 years ago[ISAPNP]
Aleksey Bragin [Sun, 11 Apr 2010 12:18:27 +0000 (12:18 +0000)]
[ISAPNP]
- Comment it out from the bootloader.
- Remove it from machine.inf.
- This "driver" introduces significant delay at every boot due to i/o space scanning every time at every boot, however there is no real benefit (it always fails). Inclusion of this driver into default boot process might be reconsidered only after it starts providing some advantages. For now please test this driver in your own working copies.

svn path=/trunk/; revision=46837

14 years ago[WIN32K]
Gregor Schneider [Sun, 11 Apr 2010 10:39:20 +0000 (10:39 +0000)]
[WIN32K]
- Handle keyboard input when no windows are present
- Patch by Andrey Ivanov with changes suggested in the bug report
See issue #3560 for more details.

svn path=/trunk/; revision=46836

14 years ago[CDROM]
Timo Kreuzer [Sun, 11 Apr 2010 01:40:15 +0000 (01:40 +0000)]
[CDROM]
- ULONG -> ULONG_PTR

svn path=/trunk/; revision=46834