reactos.git
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

14 years ago[USETUP] Switch KDSERIAL debug builds to new boot method, old boot method tends to...
Gregor Schneider [Sat, 10 Apr 2010 19:24:21 +0000 (19:24 +0000)]
[USETUP] Switch KDSERIAL debug builds to new boot method, old boot method tends to bugcheck

svn path=/trunk/; revision=46826

14 years agoBug 5217: Italian translation updates by Paolo Devoti
Daniel Reimer [Sat, 10 Apr 2010 18:38:02 +0000 (18:38 +0000)]
Bug 5217: Italian translation updates by Paolo Devoti
Bug 5282: Czech translation update by Radek Liska

svn path=/trunk/; revision=46825

14 years ago[KS]
Johannes Anderwald [Sat, 10 Apr 2010 18:00:17 +0000 (18:00 +0000)]
[KS]
- Implement dispatching of enable/disable event properties for filters/pins
- Add new pins to list of instantiated pins when a new pin is created
- Remove pin on close and decrement instance count. Fixes instantiating pin for 2nd time
- Rewrite handling of pin property/method/events
- ks is now able to deliver signal statistics in XP SP3

svn path=/trunk/; revision=46824

14 years ago[TASKMGR] Handle icon list checks after enumerating windows, instead of doing them...
Gregor Schneider [Sat, 10 Apr 2010 16:19:30 +0000 (16:19 +0000)]
[TASKMGR] Handle icon list checks after enumerating windows, instead of doing them per window
Patch by Timo Kreuzer, bug #1940

svn path=/trunk/; revision=46818

14 years ago[TASKMGR]
Gregor Schneider [Sat, 10 Apr 2010 15:51:31 +0000 (15:51 +0000)]
[TASKMGR]
- Implement a SID to user name cache, patch by Timo Kreuzer with some changes by me
See issue #4844 for more details.

svn path=/trunk/; revision=46816

14 years ago[SHELL32] Handle WM_CLOSE instead of WM_DESTROY to close the dialog
Gregor Schneider [Sat, 10 Apr 2010 14:58:31 +0000 (14:58 +0000)]
[SHELL32] Handle WM_CLOSE instead of WM_DESTROY to close the dialog

See issue #4226 for more details.

svn path=/trunk/; revision=46814

14 years agoAdd declaration for PerfDataGetProcessIndex.
Sylvain Petreolle [Sat, 10 Apr 2010 14:12:54 +0000 (14:12 +0000)]
Add declaration for PerfDataGetProcessIndex.
Fixes taskmgr build without compilation units.

svn path=/trunk/; revision=46813

14 years ago[TASKMGR]
Gregor Schneider [Sat, 10 Apr 2010 12:49:41 +0000 (12:49 +0000)]
[TASKMGR]
- Add routine to query process index from performance data
- Remove process page index caching, query the index using the new routine
- Fixes "ghost processes" in the task manager, which were shown due to data access with invalid indexes
- Some changes for improved performance: use local process id's where suitable, only start checking for new processes if the item performance data and listview counts differ
See issue #4661 for more details.

svn path=/trunk/; revision=46812

14 years agoEnable old access check code until the bug that keeps the device installer from worki...
Eric Kohl [Sat, 10 Apr 2010 11:44:57 +0000 (11:44 +0000)]
Enable old access check code until the bug that keeps the device installer from working has been fixed.

svn path=/trunk/; revision=46811

14 years ago[rbuild]
Giannis Adamopoulos [Sat, 10 Apr 2010 09:14:18 +0000 (09:14 +0000)]
[rbuild]
MSVC backend:
- Fix compilation when using paths with spaces
- Fix spec and pspec rules to generate correctly the def and stubs file
- Group auto-generated files together
- Rename some user macros to more appropriate names
- Some cleanup

svn path=/trunk/; revision=46809

14 years ago[NTOSKRNL]
Cameron Gutman [Sat, 10 Apr 2010 04:11:45 +0000 (04:11 +0000)]
[NTOSKRNL]
- Cache the next instance value in the the registry so we don't have to go searching for an unused instance number every time we add a new device

svn path=/trunk/; revision=46808

14 years ago[NTOSKRNL]
Cameron Gutman [Fri, 9 Apr 2010 21:11:32 +0000 (21:11 +0000)]
[NTOSKRNL]
- Create registry values for legacy drivers
- Handle raw devices properly
- Don't set DNF_STARTED before actually calling IopStartDevice
- Don't set DNF_STARTED for legacy drivers inside IopCreateDeviceNode
- Fixes missing entries in Device Manager for raw devices

svn path=/trunk/; revision=46798

14 years ago[NTOSKRNL]
Timo Kreuzer [Fri, 9 Apr 2010 21:10:13 +0000 (21:10 +0000)]
[NTOSKRNL]
Fix msvc versions of Ke386GetGlobalDescriptorTable and Ke386SetGlobalDescriptorTable. Patch by Jose Catena.

See issue #5071 for more details.

svn path=/trunk/; revision=46797

14 years ago[KS]
Johannes Anderwald [Fri, 9 Apr 2010 18:31:53 +0000 (18:31 +0000)]
[KS]
- Return status success from unimplemented IKsClock_DispatchClose
- Implement handling of KSPROPERTY_PIN_CONSTRAINEDDATARANGES property
- Forward unhandled irps to lower device object
- Fix asserts in KspHandleDataIntersection. The function is still a grotesk hack
- Simply handling of property requests by merging filter properties into filter descriptor
- Implement KsMethodHandler, KsMethodHandlerWithAllocator, KsFastMethodHandler
- Fix a bug in KsPinGetFirstCloneStreamPointer
- Implement handling of KSPROPSETID_Topology (KspTopologyHandler)

svn path=/trunk/; revision=46794

14 years agoasm.h: fix definition of HEX macro
Giannis Adamopoulos [Fri, 9 Apr 2010 11:14:56 +0000 (11:14 +0000)]
asm.h: fix definition of HEX macro

svn path=/trunk/; revision=46786

14 years ago[NTOSKRNL]
Cameron Gutman [Fri, 9 Apr 2010 01:10:34 +0000 (01:10 +0000)]
[NTOSKRNL]
- Write the assigned resources to the registry

svn path=/trunk/; revision=46784

14 years ago[TASKMGR] Remove temp debug output related to another problem
Gregor Schneider [Thu, 8 Apr 2010 22:21:17 +0000 (22:21 +0000)]
[TASKMGR] Remove temp debug output related to another problem

svn path=/trunk/; revision=46783

14 years ago[TASKMGR]
Gregor Schneider [Thu, 8 Apr 2010 22:10:45 +0000 (22:10 +0000)]
[TASKMGR]
- Don't try to query a performance index when switching from application to process tab
- Query a process index instead: "go to process" works now

svn path=/trunk/; revision=46782

14 years ago[SHELL32] Add missing format specifier, switch parameters as advertised
Gregor Schneider [Thu, 8 Apr 2010 21:25:02 +0000 (21:25 +0000)]
[SHELL32] Add missing format specifier, switch parameters as advertised

svn path=/trunk/; revision=46781

14 years ago[KS]
Johannes Anderwald [Thu, 8 Apr 2010 20:14:38 +0000 (20:14 +0000)]
[KS]
- Fix tons of bugs in KsMergeAutomationTable
- Implement removing instantiated filter from filter factory when filter is about to be closed
- Fix a memory corrupion bug in KspHandleDataIntersection

svn path=/trunk/; revision=46780

14 years ago[DRIVERS/GREEN]
Aleksey Bragin [Thu, 8 Apr 2010 09:39:24 +0000 (09:39 +0000)]
[DRIVERS/GREEN]
- Includes cleanup, fix NDK inclusion.

svn path=/trunk/; revision=46779

14 years ago[KS]
Johannes Anderwald [Thu, 8 Apr 2010 08:38:50 +0000 (08:38 +0000)]
[KS]
- Disable debugging traces

svn path=/trunk/; revision=46777

14 years ago[TXTSETUP.SIF]
Cameron Gutman [Thu, 8 Apr 2010 02:18:27 +0000 (02:18 +0000)]
[TXTSETUP.SIF]
- Add PnP information for isapnp
[REACTOS.DFF]
- Remove isapnp

svn path=/trunk/; revision=46776

14 years ago[ISAPNP]
Cameron Gutman [Wed, 7 Apr 2010 23:03:59 +0000 (23:03 +0000)]
[ISAPNP]
- Fix a typo

svn path=/trunk/; revision=46775

14 years ago[KS]
Johannes Anderwald [Wed, 7 Apr 2010 21:45:25 +0000 (21:45 +0000)]
[KS]
- Implement IKsDevice::GetAdapterObject, IKsDevice::ArbitrateAdapterChannel
- Store device interface guid in the symbolic link list entry, which is used by KsFilterFactoryUpdateCacheData
- Implement KsFilterFactoryUpdateCacheData, which is used to dynamically propagate format / medium changes to directshow components
- Move stream pointer preparation to an own function, which is called by KsPinGetLeadingEdgeStreamPointer / KsStreamPointerClone / KsStreamPointerAdvanceOffsets
- Fix locating correct offset in KsStreamPointerScheduleTimeout, KsStreamPointerCancelTimeout, KsStreamPointerGetNextClone
- Further BDA support is on hold until ReactOS supports s/g in hal

svn path=/trunk/; revision=46774