Commit graph

19458 commits

Author SHA1 Message Date
Royce Mitchell III
80c22e7ef6 msvc2k5 compatibility fix
svn path=/trunk/; revision=20831
2006-01-13 13:53:26 +00:00
Steven Edwards
5bf3b55eb0 This screws up my grep and is not used anymore
svn path=/trunk/; revision=20830
2006-01-13 06:35:52 +00:00
Steven Edwards
e55f4c1715 guard the private header
svn path=/trunk/; revision=20829
2006-01-13 05:34:04 +00:00
Thomas Bluemel
2187ed480c pszGroupName in EnumServicesStatusEx() can be NULL
svn path=/trunk/; revision=20828
2006-01-13 01:28:10 +00:00
Ged Murphy
4ed88341e5 submit correct icon this time
svn path=/trunk/; revision=20827
2006-01-13 00:28:08 +00:00
Alex Ionescu
0aefe337a2 Acquire dispatcher lock if we're going to be expanding the owner table, so that we don't enter a race condition with the boost code in the wait for resource code on SMP systems
svn path=/trunk/; revision=20826
2006-01-13 00:18:21 +00:00
Alex Ionescu
11cd383f29 Fix typos
svn path=/trunk/; revision=20825
2006-01-13 00:16:51 +00:00
Ged Murphy
8707f4af9f - Split up the icon resources so each start menu entry has it's own icon
- Add many new icons to make ReactOS prettier

svn path=/trunk/; revision=20824
2006-01-13 00:15:53 +00:00
Alex Ionescu
904268219f Fix boost loop
svn path=/trunk/; revision=20823
2006-01-13 00:15:31 +00:00
Christoph von Wittich
f0c76db15b added missing explorer-uk.rc (spotted by temarez@yandex.ru)
svn path=/trunk/; revision=20822
2006-01-12 22:16:04 +00:00
Thomas Bluemel
e3b06b1df2 don't use a bitmap font to draw the text in the graphs. However, it currently doesn't use the shell font because the graph controls could use some serious work.
svn path=/trunk/; revision=20821
2006-01-12 21:28:07 +00:00
Alex Ionescu
addb22e71d Set KernelApcPending == TRUE in KiCheckForKernelApcDelivery if we are at APC_LEVEL. This should hopefully fix some of those silent bugs. Thanks to Ignatich for poking me about it.
svn path=/trunk/; revision=20820
2006-01-12 21:21:19 +00:00
Alex Ionescu
d3bb910b19 - Unfsck NtGdiExtCreatePen (thanks Christopher).
svn path=/trunk/; revision=20819
2006-01-12 21:16:42 +00:00
Christoph von Wittich
bf292467ef added sk kbd layout to registry patch by Malin <malin23@atlas.sk> (fixed bug 1251)
svn path=/trunk/; revision=20818
2006-01-12 21:15:38 +00:00
Alex Ionescu
15e4ff5735 Task Manager enhs & fiexs <Pablo <pborobia@gmail.com>
- make a last used cpu usage color memory
- fix colors in the cpu history
- high refresh more offten
- fix kernel cpu usage colorbars paint

Bug 1271.

svn path=/trunk/; revision=20817
2006-01-12 20:54:35 +00:00
Christoph von Wittich
c974c3e9ab added/updated spanish translations by samwise52 <samcharly@hotmail.com> (fixed bug 1266)
svn path=/trunk/; revision=20816
2006-01-12 20:38:54 +00:00
Thomas Bluemel
29c9711dbc fixed maximum wait time in EnterCriticalPolicySection
svn path=/trunk/; revision=20815
2006-01-12 20:38:18 +00:00
Thomas Bluemel
392e44d18c remove incorrect comment that was accidentally copied
svn path=/trunk/; revision=20814
2006-01-12 20:35:36 +00:00
Thomas Bluemel
eb9ce0f7b7 implemented WaitForUserPolicyForegroundProcessing() and WaitForMachinePolicyForegroundProcessing()
svn path=/trunk/; revision=20813
2006-01-12 20:32:44 +00:00
Christoph von Wittich
94d809fd05 added Ukranian translations by temarez <temarez@yandex.ru> (fixed bug 1269)
svn path=/trunk/; revision=20812
2006-01-12 20:31:08 +00:00
Alex Ionescu
b384b5adb0 Temporarly disable a correct bugcheck in order to hide a ReactOS bug, now that the bug is in bugzilla/ML
svn path=/trunk/; revision=20811
2006-01-12 19:32:43 +00:00
Thomas Bluemel
57fdde9558 fixed a memory leak in EnterCriticalPolicySection()
svn path=/trunk/; revision=20810
2006-01-12 18:56:21 +00:00
Thomas Bluemel
c3ac273c24 - implemented RefreshPolicy() and RefreshPolicyEx()
- added missing definitions to userenv.h

svn path=/trunk/; revision=20809
2006-01-12 18:50:39 +00:00
Thomas Bluemel
ac0d3797dd implemented EnterCriticalPolicySection() and LeaveCriticalPolicySection()
svn path=/trunk/; revision=20808
2006-01-12 18:05:35 +00:00
Alex Ionescu
16021176dd Don't release dispatcher lock in ExpBoostThread, we want to re-acquire it instead.
svn path=/trunk/; revision=20807
2006-01-12 17:52:51 +00:00
Alex Ionescu
b56c560a49 Temporaily disable kernel stack deletion so head is usable again
svn path=/trunk/; revision=20806
2006-01-12 17:43:07 +00:00
Thomas Bluemel
1a3e538952 use a default security descriptor for the group policy events
svn path=/trunk/; revision=20805
2006-01-12 17:30:27 +00:00
James Tabor
4585d9f6ec Clean up warning for SafeIconImage might be uninitialized in LoadImageW.
svn path=/trunk/; revision=20804
2006-01-12 06:15:21 +00:00
Steven Edwards
b65c6141b3 remove the libxml2 docs. They are wasting space
svn path=/trunk/; revision=20803
2006-01-12 06:08:42 +00:00
Thomas Bluemel
f1c20bd848 implemented GetModuleHandleExA/W(), LdrAddRefDll() and RtlPcToFileHeader() (untested)
svn path=/trunk/; revision=20802
2006-01-12 04:31:37 +00:00
Alex Ionescu
426c237aa6 - Add the ktrap_frame hack back because it's still missing parts until it can be removed. Sorry for not noticing earlier and breaking boot, it only happens on vmware (I guess due to the way it handles the CPU differently).
svn path=/trunk/; revision=20801
2006-01-12 01:16:57 +00:00
Alex Ionescu
bdcd305e19 - Remove deprecated file.
svn path=/trunk/; revision=20800
2006-01-12 00:46:35 +00:00
Thomas Bluemel
4e710ce685 remove unused $Id tags
svn path=/trunk/; revision=20799
2006-01-12 00:30:02 +00:00
Thomas Bluemel
78a4d9117f partial implementation of AuthzInitializeContextFromSid(), AuthzGetInformationFromContext() and AuthzFreeContext()
svn path=/trunk/; revision=20798
2006-01-12 00:23:47 +00:00
Thomas Bluemel
05a3678a52 minor fixes and use a .spec file
svn path=/trunk/; revision=20797
2006-01-12 00:19:35 +00:00
Thomas Bluemel
d4998e1249 fixed uninitialized variable warning
svn path=/trunk/; revision=20796
2006-01-12 00:13:45 +00:00
Thomas Bluemel
ff7d975c7d Fix code assuming that the Reg* functions set the last error code
svn path=/trunk/; revision=20795
2006-01-12 00:11:14 +00:00
Alex Ionescu
d46b22a834 - Rewrite usermode callbacks. These changes should greatly optimize graphic operations. After these changes, my "idle" CPU Usage in taskmgr went from 7-8% to 4-5%, while on the performace page, from 15-18% to 10-13%:
* Do not use ugly and messy code to create linked stacks and other such resource-wasting steps. Use our newly implemented 60KB stack support and MmGrowKernelStack when needed.
  * Write all the low-level code in assembly instead of relying on structures and hodgepodge code.
  * Add debugging/detection features for invalid calls, such as invalid IRQL, APCs being disabled, invalid previous mode detection (this allowed me to fix the KWAIT_BLOCK bug today).
  * Finally fix the last (I hope) remaning trap frame bug issue related to V86 mode bias. One of the "hacks" in syscall.S has already been removed and I can now do the promised cleanup.
  * Allow some failulre cases in callbacks (not all implemented) and extend stack space for future use of SEH in the ntdll dispatcher.
  * Fix win32k to use callbacks properly: the system fills out *Result and *ResultLength, not the caller.
  * Use SEH (ProbeForWrite) in callbacks to detect invalid user-mode memory.
  * Save NPX State and ExceptionList across callbacks (I think this wasn't fully properly done in all cases).


svn path=/trunk/; revision=20794
2006-01-11 23:54:44 +00:00
Hartmut Birr
424e0d5e8d - We cannot access the OwnerTable without locking the resource.
- The shared waiters may wait also on the semaphore. It makes no sense to boost a waiting thread.  
- The thread header is initialized like KeWaitForSingleObject (?, ?, ?, TRUE, ?). During the boost, 
  possible the dispatcher lock is released but the thread block (WaitNext) isn't changed.

svn path=/trunk/; revision=20793
2006-01-11 23:22:15 +00:00
Thomas Bluemel
bfce7c398c - partially implemented RegisterGPNotification() and UnregisterGPNotification() (depends on GetModuleHandleEx which is not yet implemented)
- use debug.h

svn path=/trunk/; revision=20792
2006-01-11 22:40:31 +00:00
Hervé Poussineau
bd56021a5c Rewrite IoGetDeviceInterfaces: no more memory leaks, be ready to handle PhysicalDeviceObject and Flags parameters, less stack usage
IoRegisterPlugPlayNotification: notify caller for already registered interfaces

svn path=/trunk/; revision=20791
2006-01-11 22:13:02 +00:00
Hervé Poussineau
0a86dac785 Add DEVICE_INTERFACE_INCLUDE_NONACTIVE constant
svn path=/trunk/; revision=20790
2006-01-11 21:59:52 +00:00
Ged Murphy
33927eeb10 redo the toolbar and app icons and a few other minor changes
svn path=/trunk/; revision=20789
2006-01-11 21:31:25 +00:00
Alex Ionescu
ad10829f1d - Fix probably one of the most devastating hidden ROS bugs currently in trunk. KWAIT_BLOCK's WaitType was defined as USHORT instead of UCHAR, causing a KeWaitForMultipleObjects of 2 or more objects to overwrite the Thread's PreviousMode (an effect of this is that 99% of user-mode callbacks from win32k were being done with the mode set to Kernel-Mode instead of UserMode). A KeWaitForMultipleObjects of 3 or more objects, or the timer object itself in some cases would cause this conflict to occur with the ResourceIndex member, potentially corrupting the ERESOURCE owner table in my updated implementation.
svn path=/trunk/; revision=20788
2006-01-11 20:16:29 +00:00
Thomas Bluemel
771a737faa add the GET_MODULE_HANDLE_EX_* flags
svn path=/trunk/; revision=20786
2006-01-11 19:18:57 +00:00
Christoph von Wittich
3802b8636c make_msvcX_install_[config] patch by Brezenbak
(i.e. make_msvc71_install_speed)

svn path=/trunk/; revision=20785
2006-01-11 15:47:22 +00:00
Alex Ionescu
cf64f6d550 - Fix more bugs in usercall_asm.S.
- Silence a debug print.

svn path=/trunk/; revision=20784
2006-01-11 10:00:09 +00:00
Alex Ionescu
551bbf51d8 - Fix some bugs in KiCallUserMode (as of yet unused).
svn path=/trunk/; revision=20783
2006-01-11 06:44:06 +00:00
Alex Ionescu
c39e10a566 - Implement (although non-optimally) MmGrowKernelStack for future use.
svn path=/trunk/; revision=20782
2006-01-11 06:40:41 +00:00
Alex Ionescu
4051678e2f - Fix accidental build breakage.
svn path=/trunk/; revision=20781
2006-01-11 06:01:54 +00:00