Commit graph

19394 commits

Author SHA1 Message Date
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
Alex Ionescu
d86450eb7b - Fix MmCreateKernelStack to actually take into account the GuiStack parameter.
- Implement KeSwitchKernelStack
- Enable code in PsConvertToGuiThread to create a new stack and switch to it. GUI Threads now get the 60KB of kernel stack space they deserve.
- Define exported DDK constants for kernel stack size and undefine our own internal ones.

svn path=/trunk/; revision=20780
2006-01-11 05:55:49 +00:00
Alex Ionescu
7816643eb5 - Remove KiServiceCheck and implement PsConvertToGuiThread in its place. Has support for detecting and returning errors in case of invalid cases, currently disabled code for doing the required 4kb->12kb stack conversion, and handling certain failures.
svn path=/trunk/; revision=20779
2006-01-11 05:42:32 +00:00
Alex Ionescu
c193938e1b - Move MmGrowKernelStack to mm/process.c with the other functions for future use.
- Make KiServiceCheck stdcall for future use.

svn path=/trunk/; revision=20778
2006-01-11 05:24:40 +00:00
Alex Ionescu
d5debcbcd9 - New asm definitions for future use.
svn path=/trunk/; revision=20777
2006-01-11 04:45:45 +00:00
Ged Murphy
4b2b551c62 use GET_X/Y_LPARAM as per MSDN
svn path=/trunk/; revision=20776
2006-01-11 00:02:14 +00:00
Ged Murphy
08490144e8 Use WM_CONTEXTMENU for shortcut menu. Thanks Thomas :)
svn path=/trunk/; revision=20775
2006-01-10 23:48:33 +00:00
Gé van Geldorp
3f6e1a9b28 WRC doesn't understand the "Default"
svn path=/trunk/; revision=20774
2006-01-10 23:29:29 +00:00
Ged Murphy
4557494cac - popup menu on right click
- fix some bugs when reading from reg
- query the active list to get num items

svn path=/trunk/; revision=20773
2006-01-10 22:39:49 +00:00
Alex Ionescu
1ab1aaf9f2 - Fix new msvc compilation issues in win32k due to the fact some files weren't being compiled eariler.
- Add Process access types to NDK and hide them from DDK.

svn path=/trunk/; revision=20769
2006-01-10 22:25:21 +00:00
Alex Ionescu
538917d0fb - Fix regression in Firefox installer by making KiWaitSatisfyAll a function instead of a macro.
- Make KiCheckAleratbility a macro to simplify its code and callers, and also clearly explain what rules it obeys.

svn path=/trunk/; revision=20768
2006-01-10 21:36:42 +00:00
Christoph von Wittich
795d686a4a another DIB_32BPP_StretchBlt fix (patch by GreatLord)
svn path=/trunk/; revision=20767
2006-01-10 20:50:21 +00:00
Christoph von Wittich
df8d230db7 fixed DIB_32BPP_StretchBlt
svn path=/trunk/; revision=20766
2006-01-10 20:45:27 +00:00
Christoph von Wittich
21e57303b5 added msvc_clean and msvc_clean_all (patch by Brezenbak)
svn path=/trunk/; revision=20765
2006-01-10 19:41:07 +00:00
Martin Fuchs
687087f1b1 ibrowser: display download progress in percent
svn path=/trunk/; revision=20764
2006-01-10 19:18:28 +00:00