Commit graph

42028 commits

Author SHA1 Message Date
Timo Kreuzer de40f8d7d7 [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
2010-04-12 22:28:22 +00:00
Gregor Schneider 31515fdd20 [RTL] Revert s(w)printf changes of r44970
See issue #5125 for more details.

svn path=/trunk/; revision=46855
2010-04-12 20:45:38 +00:00
Gregor Schneider 79fef6c915 [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
2010-04-12 20:13:39 +00:00
Sir Richard 195355c7fa [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
2010-04-12 19:49:32 +00:00
Gregor Schneider 846afbdef5 [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
2010-04-12 19:47:09 +00:00
Gregor Schneider c85b9b7fad [KERNEL32]
Daniel Zimmerman: Update GetShortPathNameW to Wine
See issue #4553 for more details.

svn path=/trunk/; revision=46850
2010-04-12 19:43:07 +00:00
Timo Kreuzer 8b6a58978f [HAL]
Fix a possible overflow of the hal heap in HalpMapPhysicalMemory64 and simplify the code.

svn path=/trunk/; revision=46849
2010-04-12 19:39:50 +00:00
Sir Richard ec9ebec239 [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
2010-04-11 21:25:50 +00:00
Cameron Gutman d568475220 [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
2010-04-11 17:31:17 +00:00
Cameron Gutman e511742ca6 [NTOSKRNL]
- Don't set the DNF_STARTED flag before calling IopStartDevice

svn path=/trunk/; revision=46843
2010-04-11 16:23:57 +00:00
Cameron Gutman 5d6b19c9a0 [NTOSKRNL]
- Store the allocated resources for reported devices

svn path=/trunk/; revision=46842
2010-04-11 16:21:29 +00:00
Sir Richard 26d1db9190 [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
2010-04-11 16:10:49 +00:00
Cameron Gutman 5d13bbcc06 [NTOSKRNL]
- Make legacy device keys volatile

svn path=/trunk/; revision=46840
2010-04-11 16:08:20 +00:00
Aleksey Bragin a4f5e7b912 [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
2010-04-11 12:18:27 +00:00
Gregor Schneider 91d15df7c5 [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
2010-04-11 10:39:20 +00:00
Timo Kreuzer 386c534e6c [CDROM]
- ULONG -> ULONG_PTR

svn path=/trunk/; revision=46834
2010-04-11 01:40:15 +00:00
Gregor Schneider a16ef45831 [USETUP] Switch KDSERIAL debug builds to new boot method, old boot method tends to bugcheck
svn path=/trunk/; revision=46826
2010-04-10 19:24:21 +00:00
Daniel Reimer 232f47a639 Bug 5217: Italian translation updates by Paolo Devoti
Bug 5282: Czech translation update by Radek Liska

svn path=/trunk/; revision=46825
2010-04-10 18:38:02 +00:00
Johannes Anderwald 5444105397 [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
2010-04-10 18:00:17 +00:00
Gregor Schneider d31ce0d47b [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
2010-04-10 16:19:30 +00:00
Gregor Schneider eea4d66908 [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
2010-04-10 15:51:31 +00:00
Gregor Schneider 7759232bf5 [SHELL32] Handle WM_CLOSE instead of WM_DESTROY to close the dialog
See issue #4226 for more details.

svn path=/trunk/; revision=46814
2010-04-10 14:58:31 +00:00
Sylvain Petreolle 6fb8027ffd Add declaration for PerfDataGetProcessIndex.
Fixes taskmgr build without compilation units.

svn path=/trunk/; revision=46813
2010-04-10 14:12:54 +00:00
Gregor Schneider 66425524ea [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
2010-04-10 12:49:41 +00:00
Eric Kohl c1a9403d49 Enable old access check code until the bug that keeps the device installer from working has been fixed.
svn path=/trunk/; revision=46811
2010-04-10 11:44:57 +00:00
Giannis Adamopoulos 109f0d331a [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
2010-04-10 09:14:18 +00:00
Cameron Gutman f3683186aa [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
2010-04-10 04:11:45 +00:00
Cameron Gutman aca1c8384f [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
2010-04-09 21:11:32 +00:00
Timo Kreuzer 7bfc8fa8ea [NTOSKRNL]
Fix msvc versions of Ke386GetGlobalDescriptorTable and Ke386SetGlobalDescriptorTable. Patch by Jose Catena.

See issue #5071 for more details.

svn path=/trunk/; revision=46797
2010-04-09 21:10:13 +00:00
Johannes Anderwald 1528c1220d [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
2010-04-09 18:31:53 +00:00
Giannis Adamopoulos 190d0acef7 asm.h: fix definition of HEX macro
svn path=/trunk/; revision=46786
2010-04-09 11:14:56 +00:00
Cameron Gutman cbbd840d2a [NTOSKRNL]
- Write the assigned resources to the registry

svn path=/trunk/; revision=46784
2010-04-09 01:10:34 +00:00
Gregor Schneider 56b6100451 [TASKMGR] Remove temp debug output related to another problem
svn path=/trunk/; revision=46783
2010-04-08 22:21:17 +00:00
Gregor Schneider 13478858b7 [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
2010-04-08 22:10:45 +00:00
Gregor Schneider d20419ee58 [SHELL32] Add missing format specifier, switch parameters as advertised
svn path=/trunk/; revision=46781
2010-04-08 21:25:02 +00:00
Johannes Anderwald 0d672ad7cd [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
2010-04-08 20:14:38 +00:00
Aleksey Bragin 169a95782a [DRIVERS/GREEN]
- Includes cleanup, fix NDK inclusion.

svn path=/trunk/; revision=46779
2010-04-08 09:39:24 +00:00
Johannes Anderwald fc4cd6d714 [KS]
- Disable debugging traces

svn path=/trunk/; revision=46777
2010-04-08 08:38:50 +00:00
Cameron Gutman ba87c15658 [TXTSETUP.SIF]
- Add PnP information for isapnp
[REACTOS.DFF]
- Remove isapnp

svn path=/trunk/; revision=46776
2010-04-08 02:18:27 +00:00
Cameron Gutman 5fcb03c68d [ISAPNP]
- Fix a typo

svn path=/trunk/; revision=46775
2010-04-07 23:03:59 +00:00
Johannes Anderwald 07e1066306 [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
2010-04-07 21:45:25 +00:00
Cameron Gutman 8cc9a982b5 [RAMDISK]
- Remove another unnecessary hack

svn path=/trunk/; revision=46771
2010-04-07 21:04:41 +00:00
Cameron Gutman b270d2cf88 [HAL]
- Remove an unnecessary hack now that PnP manager doesn't suck (as much ;))

svn path=/trunk/; revision=46770
2010-04-07 20:37:13 +00:00
Cameron Gutman 2f488e4755 [INF]
- Reenable isapnp

svn path=/trunk/; revision=46769
2010-04-07 20:20:22 +00:00
Cameron Gutman d9face83c6 [ISAPNP]
- Rewrite the ISAPnP driver based off EtherBoot source
- TODO: Resource stuff

svn path=/trunk/; revision=46768
2010-04-07 20:19:29 +00:00
Cameron Gutman da1fa61cf0 [PCI]
- Fix a crash that occurs when a device is started which requires no resources

svn path=/trunk/; revision=46767
2010-04-07 20:18:44 +00:00
Gregor Schneider 2d3b57377f [SHELL32]
- Change "open with" dialog type to allow aborting, add code to handle WM_DESTROY messages
- Change full blue selection color to standard background blue, set selection background non white correctly
- Adjust German resource fields to make texts fit
See issue #4226 for more details.

svn path=/trunk/; revision=46766
2010-04-07 19:11:56 +00:00
Gregor Schneider b800febcd7 [SHELL] Increase field width in German resources so the drive text can fit
svn path=/trunk/; revision=46765
2010-04-07 17:42:43 +00:00
Gregor Schneider 2052c57785 [SHELL32]
- Portuguese translation by Manuel Silva
See issue #1494 for more details.

svn path=/trunk/; revision=46764
2010-04-07 17:41:38 +00:00
Daniel Reimer 779a3240de Update all rapps entries.
svn path=/trunk/; revision=46762
2010-04-07 14:35:04 +00:00