Thomas Bluemel [Sat, 14 Jan 2006 20:36:01 +0000 (20:36 +0000)]
make the initial kernel_stack large enough to have enough space for the fx savings area
svn path=/trunk/; revision=20864
Gé van Geldorp [Sat, 14 Jan 2006 19:36:04 +0000 (19:36 +0000)]
Import mapi32 from Wine
svn path=/trunk/; revision=20861
Maarten Bosma [Sat, 14 Jan 2006 18:51:22 +0000 (18:51 +0000)]
DJ_Smith (dj_smith_reactos(at)online(dot)de):
- Updated and added german translations.
- Fixed some small mistakes in .rc files.
svn path=/trunk/; revision=20858
Ged Murphy [Sat, 14 Jan 2006 17:59:59 +0000 (17:59 +0000)]
Add calculator icon
svn path=/trunk/; revision=20857
Ged Murphy [Sat, 14 Jan 2006 17:35:56 +0000 (17:35 +0000)]
- Remove licence dialog boxes and implement an about box crediting authors and stating the licence.
- Add a notepad icon
- rearrange the file structure
svn path=/trunk/; revision=20856
Thomas Bluemel [Sat, 14 Jan 2006 16:31:28 +0000 (16:31 +0000)]
fixed possible buffer overflows in LookupAccountSidW(): LSA_UNICODE_STRINGs are not necessarily NULL-terminated!
svn path=/trunk/; revision=20855
Thomas Bluemel [Sat, 14 Jan 2006 16:18:45 +0000 (16:18 +0000)]
improved error handling
svn path=/trunk/; revision=20854
Christoph von Wittich [Sat, 14 Jan 2006 16:08:57 +0000 (16:08 +0000)]
implemented PS_DOT, PS_DASH and PS_INSIDEFRAME in IntGdiCreatePenIndirect
(speeds up Thunderbird a bit (much less debug output)
svn path=/trunk/; revision=20853
Thomas Bluemel [Sat, 14 Jan 2006 14:52:50 +0000 (14:52 +0000)]
fixed SeSetWorldSecurityDescriptor() so it creates a security descriptor that is at least valid
svn path=/trunk/; revision=20851
Thomas Bluemel [Sat, 14 Jan 2006 13:37:08 +0000 (13:37 +0000)]
implemented GetFinalPathNameByHandleA() and added stub for GetFinalPathNameByHandleW()
svn path=/trunk/; revision=20850
Christoph von Wittich [Sat, 14 Jan 2006 12:42:04 +0000 (12:42 +0000)]
fixed LoadCursorIconImage (Thunderbird is now working)
svn path=/trunk/; revision=20849
Thomas Bluemel [Sat, 14 Jan 2006 12:18:10 +0000 (12:18 +0000)]
add cacls.exe to the bootcd
svn path=/trunk/; revision=20848
Martin Fuchs [Sat, 14 Jan 2006 09:04:42 +0000 (09:04 +0000)]
add the new icons to the project file
svn path=/trunk/; revision=20847
Alex Ionescu [Sat, 14 Jan 2006 08:49:10 +0000 (08:49 +0000)]
- Fix flaw in win32k hardware message queue which used KMUTEX instead of KMUTANT, thus double-disabling Kernel APCs during the parsing of the queue, which would result in actually deliving hardware message callbacks with Kernel APCs disabled when going to user-mode. This was detected when my new user-mode callback rewrite added checks for this situation, and it originally caused a bugcheck. Since the message queue code is now fixed, the bugcheck has been re-enabled, hopefully no other such violations will be detected (I was able to run/install firefox for a couple of minutes and there was no APC_INDEX_MISMATCH crash). Fixes bug 1272, and thanks to Filip for doing some late-night IRC analysis with me.
svn path=/trunk/; revision=20846
Thomas Bluemel [Sat, 14 Jan 2006 04:32:37 +0000 (04:32 +0000)]
An initial implementation of cacls.exe. Only displaying ACLs works, editing is not implemented.
svn path=/trunk/; revision=20845
Nathan Woods [Sat, 14 Jan 2006 01:00:56 +0000 (01:00 +0000)]
Rbuild: Added "description" field to the various backend factories, and then used the description field to generate the help text.
(updated the patch in bugzilla bug #790)
svn path=/trunk/; revision=20844
Ged Murphy [Sat, 14 Jan 2006 00:51:00 +0000 (00:51 +0000)]
icons are now 16x16, 24x24, 32x32, 48x48
svn path=/trunk/; revision=20843
Ged Murphy [Fri, 13 Jan 2006 23:31:21 +0000 (23:31 +0000)]
Separate mydocs and recent docs resources
svn path=/trunk/; revision=20842
Filip Navara [Fri, 13 Jan 2006 23:28:08 +0000 (23:28 +0000)]
Copy the correct number of bytes.
svn path=/trunk/; revision=20841
Ged Murphy [Fri, 13 Jan 2006 23:24:39 +0000 (23:24 +0000)]
- new icons for all control panel applets.
- icons now include 16x16, 24x24, 32x32 and 48x48
svn path=/trunk/; revision=20840
Alex Ionescu [Fri, 13 Jan 2006 22:23:31 +0000 (22:23 +0000)]
- Fix one more leak when converting from non-gui to GUI thread stack.
svn path=/trunk/; revision=20839
Alex Ionescu [Fri, 13 Jan 2006 21:56:51 +0000 (21:56 +0000)]
- Properly create, grow and delete the kernel stack. Fixes potential memory leaks introduced in 20806. Thanks to Filip for verifying my math.
svn path=/trunk/; revision=20838
Ged Murphy [Fri, 13 Jan 2006 20:37:55 +0000 (20:37 +0000)]
don't forget the ibrowser toolbar :)
svn path=/trunk/; revision=20837
Ged Murphy [Fri, 13 Jan 2006 20:00:46 +0000 (20:00 +0000)]
some new toolbar icons
svn path=/trunk/; revision=20836
Thomas Bluemel [Fri, 13 Jan 2006 17:54:37 +0000 (17:54 +0000)]
revert my last change
svn path=/trunk/; revision=20835
Thomas Bluemel [Fri, 13 Jan 2006 17:32:59 +0000 (17:32 +0000)]
remove wine's broken _beginthread() and _endthread() and implement them properly
svn path=/trunk/; revision=20834
Thomas Bluemel [Fri, 13 Jan 2006 17:24:06 +0000 (17:24 +0000)]
fixed uninitialized variable warning
svn path=/trunk/; revision=20833
Royce Mitchell III [Fri, 13 Jan 2006 13:56:10 +0000 (13:56 +0000)]
msvc2k5 build files
svn path=/trunk/; revision=20832
Royce Mitchell III [Fri, 13 Jan 2006 13:53:26 +0000 (13:53 +0000)]
msvc2k5 compatibility fix
svn path=/trunk/; revision=20831
Steven Edwards [Fri, 13 Jan 2006 06:35:52 +0000 (06:35 +0000)]
This screws up my grep and is not used anymore
svn path=/trunk/; revision=20830
Steven Edwards [Fri, 13 Jan 2006 05:34:04 +0000 (05:34 +0000)]
guard the private header
svn path=/trunk/; revision=20829
Thomas Bluemel [Fri, 13 Jan 2006 01:28:10 +0000 (01:28 +0000)]
pszGroupName in EnumServicesStatusEx() can be NULL
svn path=/trunk/; revision=20828
Ged Murphy [Fri, 13 Jan 2006 00:28:08 +0000 (00:28 +0000)]
submit correct icon this time
svn path=/trunk/; revision=20827
Alex Ionescu [Fri, 13 Jan 2006 00:18:21 +0000 (00:18 +0000)]
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
Alex Ionescu [Fri, 13 Jan 2006 00:16:51 +0000 (00:16 +0000)]
Fix typos
svn path=/trunk/; revision=20825
Ged Murphy [Fri, 13 Jan 2006 00:15:53 +0000 (00:15 +0000)]
- 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
Alex Ionescu [Fri, 13 Jan 2006 00:15:31 +0000 (00:15 +0000)]
Fix boost loop
svn path=/trunk/; revision=20823
Christoph von Wittich [Thu, 12 Jan 2006 22:16:04 +0000 (22:16 +0000)]
added missing explorer-uk.rc (spotted by temarez@yandex.ru)
svn path=/trunk/; revision=20822
Thomas Bluemel [Thu, 12 Jan 2006 21:28:07 +0000 (21:28 +0000)]
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
Alex Ionescu [Thu, 12 Jan 2006 21:21:19 +0000 (21:21 +0000)]
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
Alex Ionescu [Thu, 12 Jan 2006 21:16:42 +0000 (21:16 +0000)]
- Unfsck NtGdiExtCreatePen (thanks Christopher).
svn path=/trunk/; revision=20819
Christoph von Wittich [Thu, 12 Jan 2006 21:15:38 +0000 (21:15 +0000)]
added sk kbd layout to registry patch by Malin <malin23@atlas.sk> (fixed bug 1251)
svn path=/trunk/; revision=20818
Alex Ionescu [Thu, 12 Jan 2006 20:54:35 +0000 (20:54 +0000)]
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
Christoph von Wittich [Thu, 12 Jan 2006 20:38:54 +0000 (20:38 +0000)]
added/updated spanish translations by samwise52 <samcharly@hotmail.com> (fixed bug 1266)
svn path=/trunk/; revision=20816
Thomas Bluemel [Thu, 12 Jan 2006 20:38:18 +0000 (20:38 +0000)]
fixed maximum wait time in EnterCriticalPolicySection
svn path=/trunk/; revision=20815
Thomas Bluemel [Thu, 12 Jan 2006 20:35:36 +0000 (20:35 +0000)]
remove incorrect comment that was accidentally copied
svn path=/trunk/; revision=20814
Thomas Bluemel [Thu, 12 Jan 2006 20:32:44 +0000 (20:32 +0000)]
implemented WaitForUserPolicyForegroundProcessing() and WaitForMachinePolicyForegroundProcessing()
svn path=/trunk/; revision=20813
Christoph von Wittich [Thu, 12 Jan 2006 20:31:08 +0000 (20:31 +0000)]
added Ukranian translations by temarez <temarez@yandex.ru> (fixed bug 1269)
svn path=/trunk/; revision=20812
Alex Ionescu [Thu, 12 Jan 2006 19:32:43 +0000 (19:32 +0000)]
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
Thomas Bluemel [Thu, 12 Jan 2006 18:56:21 +0000 (18:56 +0000)]
fixed a memory leak in EnterCriticalPolicySection()
svn path=/trunk/; revision=20810
Thomas Bluemel [Thu, 12 Jan 2006 18:50:39 +0000 (18:50 +0000)]
- implemented RefreshPolicy() and RefreshPolicyEx()
- added missing definitions to userenv.h
svn path=/trunk/; revision=20809
Thomas Bluemel [Thu, 12 Jan 2006 18:05:35 +0000 (18:05 +0000)]
implemented EnterCriticalPolicySection() and LeaveCriticalPolicySection()
svn path=/trunk/; revision=20808
Alex Ionescu [Thu, 12 Jan 2006 17:52:51 +0000 (17:52 +0000)]
Don't release dispatcher lock in ExpBoostThread, we want to re-acquire it instead.
svn path=/trunk/; revision=20807
Alex Ionescu [Thu, 12 Jan 2006 17:43:07 +0000 (17:43 +0000)]
Temporaily disable kernel stack deletion so head is usable again
svn path=/trunk/; revision=20806
Thomas Bluemel [Thu, 12 Jan 2006 17:30:27 +0000 (17:30 +0000)]
use a default security descriptor for the group policy events
svn path=/trunk/; revision=20805
James Tabor [Thu, 12 Jan 2006 06:15:21 +0000 (06:15 +0000)]
Clean up warning for SafeIconImage might be uninitialized in LoadImageW.
svn path=/trunk/; revision=20804
Steven Edwards [Thu, 12 Jan 2006 06:08:42 +0000 (06:08 +0000)]
remove the libxml2 docs. They are wasting space
svn path=/trunk/; revision=20803
Thomas Bluemel [Thu, 12 Jan 2006 04:31:37 +0000 (04:31 +0000)]
implemented GetModuleHandleExA/W(), LdrAddRefDll() and RtlPcToFileHeader() (untested)
svn path=/trunk/; revision=20802
Alex Ionescu [Thu, 12 Jan 2006 01:16:57 +0000 (01:16 +0000)]
- 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
Alex Ionescu [Thu, 12 Jan 2006 00:46:35 +0000 (00:46 +0000)]
- Remove deprecated file.
svn path=/trunk/; revision=20800
Thomas Bluemel [Thu, 12 Jan 2006 00:30:02 +0000 (00:30 +0000)]
remove unused $Id tags
svn path=/trunk/; revision=20799
Thomas Bluemel [Thu, 12 Jan 2006 00:23:47 +0000 (00:23 +0000)]
partial implementation of AuthzInitializeContextFromSid(), AuthzGetInformationFromContext() and AuthzFreeContext()
svn path=/trunk/; revision=20798
Thomas Bluemel [Thu, 12 Jan 2006 00:19:35 +0000 (00:19 +0000)]
minor fixes and use a .spec file
svn path=/trunk/; revision=20797
Thomas Bluemel [Thu, 12 Jan 2006 00:13:45 +0000 (00:13 +0000)]
fixed uninitialized variable warning
svn path=/trunk/; revision=20796
Thomas Bluemel [Thu, 12 Jan 2006 00:11:14 +0000 (00:11 +0000)]
Fix code assuming that the Reg* functions set the last error code
svn path=/trunk/; revision=20795
Alex Ionescu [Wed, 11 Jan 2006 23:54:44 +0000 (23:54 +0000)]
- 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
Hartmut Birr [Wed, 11 Jan 2006 23:22:15 +0000 (23:22 +0000)]
- 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
Thomas Bluemel [Wed, 11 Jan 2006 22:40:31 +0000 (22:40 +0000)]
- partially implemented RegisterGPNotification() and UnregisterGPNotification() (depends on GetModuleHandleEx which is not yet implemented)
- use debug.h
svn path=/trunk/; revision=20792
Hervé Poussineau [Wed, 11 Jan 2006 22:13:02 +0000 (22:13 +0000)]
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
Hervé Poussineau [Wed, 11 Jan 2006 21:59:52 +0000 (21:59 +0000)]
Add DEVICE_INTERFACE_INCLUDE_NONACTIVE constant
svn path=/trunk/; revision=20790
Ged Murphy [Wed, 11 Jan 2006 21:31:25 +0000 (21:31 +0000)]
redo the toolbar and app icons and a few other minor changes
svn path=/trunk/; revision=20789
Alex Ionescu [Wed, 11 Jan 2006 20:16:29 +0000 (20:16 +0000)]
- 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
Thomas Bluemel [Wed, 11 Jan 2006 19:18:57 +0000 (19:18 +0000)]
add the GET_MODULE_HANDLE_EX_* flags
svn path=/trunk/; revision=20786
Christoph von Wittich [Wed, 11 Jan 2006 15:47:22 +0000 (15:47 +0000)]
make_msvcX_install_[config] patch by Brezenbak
(i.e. make_msvc71_install_speed)
svn path=/trunk/; revision=20785
Alex Ionescu [Wed, 11 Jan 2006 10:00:09 +0000 (10:00 +0000)]
- Fix more bugs in usercall_asm.S.
- Silence a debug print.
svn path=/trunk/; revision=20784
Alex Ionescu [Wed, 11 Jan 2006 06:44:06 +0000 (06:44 +0000)]
- Fix some bugs in KiCallUserMode (as of yet unused).
svn path=/trunk/; revision=20783
Alex Ionescu [Wed, 11 Jan 2006 06:40:41 +0000 (06:40 +0000)]
- Implement (although non-optimally) MmGrowKernelStack for future use.
svn path=/trunk/; revision=20782
Alex Ionescu [Wed, 11 Jan 2006 06:01:54 +0000 (06:01 +0000)]
- Fix accidental build breakage.
svn path=/trunk/; revision=20781
Alex Ionescu [Wed, 11 Jan 2006 05:55:49 +0000 (05:55 +0000)]
- 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
Alex Ionescu [Wed, 11 Jan 2006 05:42:32 +0000 (05:42 +0000)]
- 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
Alex Ionescu [Wed, 11 Jan 2006 05:24:40 +0000 (05:24 +0000)]
- Move MmGrowKernelStack to mm/process.c with the other functions for future use.
- Make KiServiceCheck stdcall for future use.
svn path=/trunk/; revision=20778
Alex Ionescu [Wed, 11 Jan 2006 04:45:45 +0000 (04:45 +0000)]
- New asm definitions for future use.
svn path=/trunk/; revision=20777
Ged Murphy [Wed, 11 Jan 2006 00:02:14 +0000 (00:02 +0000)]
use GET_X/Y_LPARAM as per MSDN
svn path=/trunk/; revision=20776
Ged Murphy [Tue, 10 Jan 2006 23:48:33 +0000 (23:48 +0000)]
Use WM_CONTEXTMENU for shortcut menu. Thanks Thomas :)
svn path=/trunk/; revision=20775
Gé van Geldorp [Tue, 10 Jan 2006 23:29:29 +0000 (23:29 +0000)]
WRC doesn't understand the "Default"
svn path=/trunk/; revision=20774
Ged Murphy [Tue, 10 Jan 2006 22:39:49 +0000 (22:39 +0000)]
- 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
Alex Ionescu [Tue, 10 Jan 2006 22:25:21 +0000 (22:25 +0000)]
- 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
Alex Ionescu [Tue, 10 Jan 2006 21:36:42 +0000 (21:36 +0000)]
- 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
Christoph von Wittich [Tue, 10 Jan 2006 20:50:21 +0000 (20:50 +0000)]
another DIB_32BPP_StretchBlt fix (patch by GreatLord)
svn path=/trunk/; revision=20767
Christoph von Wittich [Tue, 10 Jan 2006 20:45:27 +0000 (20:45 +0000)]
fixed DIB_32BPP_StretchBlt
svn path=/trunk/; revision=20766
Christoph von Wittich [Tue, 10 Jan 2006 19:41:07 +0000 (19:41 +0000)]
added msvc_clean and msvc_clean_all (patch by Brezenbak)
svn path=/trunk/; revision=20765
Martin Fuchs [Tue, 10 Jan 2006 19:18:28 +0000 (19:18 +0000)]
ibrowser: display download progress in percent
svn path=/trunk/; revision=20764
Gé van Geldorp [Tue, 10 Jan 2006 18:01:11 +0000 (18:01 +0000)]
Older binutils don't understand qword ptr
svn path=/trunk/; revision=20763
Hartmut Birr [Tue, 10 Jan 2006 00:01:32 +0000 (00:01 +0000)]
Release the dispatcher lock after KiUnblockThread.
svn path=/trunk/; revision=20762
Hartmut Birr [Tue, 10 Jan 2006 00:00:14 +0000 (00:00 +0000)]
Don't remove the WaitEntry twice (in KiInsertQueue).
svn path=/trunk/; revision=20761
Hartmut Birr [Mon, 9 Jan 2006 23:58:25 +0000 (23:58 +0000)]
Mark the timer as removed (in KiExpireTimers).
svn path=/trunk/; revision=20760
Hartmut Birr [Mon, 9 Jan 2006 23:54:10 +0000 (23:54 +0000)]
- Fixed KiExitDispatcher.
- Defined KeIpiGenericCall. It is necessary for the smp build.
svn path=/trunk/; revision=20759
Gé van Geldorp [Mon, 9 Jan 2006 23:36:17 +0000 (23:36 +0000)]
Prepare front-end for saving settings
svn path=/trunk/; revision=20758
Thomas Bluemel [Mon, 9 Jan 2006 21:45:59 +0000 (21:45 +0000)]
allow warnings for gcc4
svn path=/trunk/; revision=20757
Gé van Geldorp [Mon, 9 Jan 2006 16:25:58 +0000 (16:25 +0000)]
icmp.dll doesn't have a DllRegisterServer entry point
svn path=/trunk/; revision=20756