Commit graph

19636 commits

Author SHA1 Message Date
Thomas Bluemel 955b4987a2 fixed compiling
svn path=/trunk/; revision=20972
2006-01-22 11:08:35 +00:00
Thomas Bluemel d8c8151df3 try to get the user from the token and fall back to reading the owner from the process when needed
svn path=/trunk/; revision=20971
2006-01-22 04:20:30 +00:00
Thomas Bluemel 465156f383 fixed allocating the memory for the security descriptor
svn path=/trunk/; revision=20970
2006-01-22 03:53:02 +00:00
Thomas Bluemel c93b3bf869 return the pointers of the owner, group, dacl and sacl in the security descriptor returned by GetSecurityInfo()
svn path=/trunk/; revision=20969
2006-01-22 03:50:36 +00:00
Thomas Bluemel 68c3c9cf63 implement the object types SE_REGISTRY_KEY, SE_FILE_OBJECT, SE_SERVICE and SE_WINDOW_OBJECT for GetSecurityInfo()
svn path=/trunk/; revision=20968
2006-01-22 03:27:21 +00:00
Thomas Bluemel 0b0554b8ee implement the object type SE_KERNEL_OBJECT for GetSecurityInfo()
svn path=/trunk/; revision=20967
2006-01-22 03:07:21 +00:00
Thomas Bluemel 18b351a47b - fixed getting the process owner
- build as unicode by default

svn path=/trunk/; revision=20966
2006-01-22 02:43:36 +00:00
James Tabor 1c601418a5 Revert GetCharWidth32A change.
svn path=/trunk/; revision=20965
2006-01-21 23:00:16 +00:00
Thomas Bluemel 155e603f19 rename a variable to avoid conflicts with an existing information class constant
svn path=/trunk/; revision=20964
2006-01-21 22:36:37 +00:00
Maarten Bosma 837b237d7f fix icon loading
replace help icon with tango one
use dot.ico from explorer as default icon

svn path=/trunk/; revision=20963
2006-01-21 17:37:04 +00:00
Thomas Bluemel 02b4ce4fcd don't read the image file name from the Peb in NtQueryInformationProcess (class ProcessImageFileName), use the section object instead
svn path=/trunk/; revision=20962
2006-01-21 17:36:05 +00:00
Ged Murphy 30d575ef49 - Fix displaying the full executable path, plus arguments
- start converting rc file from ResEd output to human readable

svn path=/trunk/; revision=20961
2006-01-21 15:36:11 +00:00
Magnus Olsen b80eb0ba67 corret a member name in DD_SURFACECALLBACKS so it is same as ddk
svn path=/trunk/; revision=20960
2006-01-21 14:22:17 +00:00
James Tabor 333af5295d Fixes typeo.
svn path=/trunk/; revision=20959
2006-01-21 02:19:27 +00:00
James Tabor c8fb29311e Port Wine GetCharWidth32A.
svn path=/trunk/; revision=20958
2006-01-21 00:52:08 +00:00
James Tabor 21e636d088 Implement the gdi function GetTextCharsetInfo.
svn path=/trunk/; revision=20957
2006-01-21 00:05:59 +00:00
James Tabor 4006543f96 Add notes for NtGdiGetTextCharset.
svn path=/trunk/; revision=20956
2006-01-21 00:04:14 +00:00
Hervé Poussineau b83e987873 Add stubs for keyboard and mouse class installers
svn path=/trunk/; revision=20955
2006-01-20 17:50:27 +00:00
Hervé Poussineau d5fbbf9cd4 Activate serial device interface only at the very end of IRP_MN_START_DEVICE
svn path=/trunk/; revision=20954
2006-01-20 17:41:59 +00:00
Ged Murphy 43744d9581 - Resource added for creating a service
- Allow the prop sheet to control services
- Add exe path to prop sheet
- Only update the listview item itself when changing a service state

svn path=/trunk/; revision=20953
2006-01-20 17:29:50 +00:00
Brandon Turner 42b0618579 Rename NtGdiGetTextExtentPoint to NtGdiGetTextExtent and correct the declaration.
svn path=/trunk/; revision=20950
2006-01-20 01:54:56 +00:00
James Tabor 6d1c5612cc Move GetTextCharset & Info to text.c. This part of a Wine port.
svn path=/trunk/; revision=20949
2006-01-20 00:52:35 +00:00
Ged Murphy d74beaf81f - Add some more info to the properties dialog
- Preliminary starting and stopping of services
- Other jiggling about of the code ;)
- still untested (I should get really round to this sometime :) )

svn path=/trunk/; revision=20948
2006-01-20 00:24:34 +00:00
Christoph von Wittich 73d6a54d0e display first tab at startup
fixed a typo in german rc file
resized some controls

svn path=/trunk/; revision=20947
2006-01-19 18:19:44 +00:00
James Tabor 74bf31b2b2 Patch by Sebastiaan Roodenburg. Fixes problem in NtGdiStrechBlt.
svn path=/trunk/; revision=20946
2006-01-19 03:25:51 +00:00
James Tabor ff0bdc14d4 Start Wine port for most Gdi functions. GetCharWidthA should be redirected to GetCharWidth32A in the def file. Just taking one step at a time ATM.
svn path=/trunk/; revision=20945
2006-01-18 22:02:44 +00:00
Hartmut Birr 070ca32109 Removed my name from the hall of fame. Since it seems, that parts of ReactOS are implemented by ripping code from Windows, it isn't longer honourable to find my name inside the sources of ReactOS.
svn path=/trunk/; revision=20944
2006-01-17 23:14:51 +00:00
Hartmut Birr de586fbd31 Removed my name from the hall of fame. Since it seems, that parts of ReactOS are implemented by ripping code from Windows, it isn't longer honourable to find my name inside the sources of ReactOS.
svn path=/trunk/; revision=20943
2006-01-17 23:11:13 +00:00
Alex Ionescu 12d35a7b84 - Use MmUserProbeAddress in the system call handler to verify the parametes we got from user-mode are valid and return STATUS_ACCESS_VIOLATION if the check fails.
- Handle failure after PsConvertToGuiThread and return STATUS_INVALID_SYSTEM_SERVICE and/or FALSE and/or -1 on failure.
- Made MCE/XMMI interrupts unexpected on-boot.
- Removed KiTrapUnknown and used KiTrap0F (15) instead, which is the generic unexpected handler.

svn path=/trunk/; revision=20942
2006-01-17 22:41:39 +00:00
Alex Ionescu 419e7bb9d5 * Implement 3 out of 4 486-compatible ExInterlocked functions which use spinlock instead of cmpxhcg8. Code not yet tested and this code path is not made hot (enabled) yet.
svn path=/trunk/; revision=20941
2006-01-17 22:34:20 +00:00
Ged Murphy 2bce2ab662 A bit of work towards populating the properties dialog. (untested)
svn path=/trunk/; revision=20940
2006-01-17 20:12:18 +00:00
Alex Ionescu 1baa697ddf - Delete deprecated file.
svn path=/trunk/; revision=20939
2006-01-17 17:29:23 +00:00
Alex Ionescu d8582ed67b - Use static IDT entries generated through a macro, instead of dynamically allocating them each boot. Note that we do not store them in an i386 compatible format, but much like NT, swap the bits so that our macro can more clearly define each entry.
svn path=/trunk/; revision=20938
2006-01-17 17:28:41 +00:00
Ged Murphy bc2e6ca915 program files should use a separate a resource from directories.
svn path=/trunk/; revision=20937
2006-01-17 16:39:50 +00:00
Alex Ionescu f2414f3c2c - Move some assembly functions around in better suited locations.
- Merge syscall.S and trap.S into trap.S, and nicely document the software interrupt table that we service, as well as special cases.

svn path=/trunk/; revision=20936
2006-01-17 06:36:35 +00:00
Alex Ionescu 93c504407b - Implement SYSCALL_PROLOG for the main handler and the three fast-system calls (ints 2b, 2c, 2d) which are not yet implemented.
- Document the macros.

svn path=/trunk/; revision=20935
2006-01-17 05:54:35 +00:00
Alex Ionescu 087083224f - Implement first version of trap exit macro. Currently missing documentation, and the parameters could probably be simplified.
svn path=/trunk/; revision=20934
2006-01-17 05:22:00 +00:00
Alex Ionescu 95968a8292 * Add more documented flags from ks386.inc to asm.h
* Isolate and clean-up the VMWare hack; the shared trap exit macro can now be implemented.

svn path=/trunk/; revision=20933
2006-01-17 05:05:35 +00:00
Thomas Bluemel 3a3a12d3be don't release the pipe list lock twice in case of a canceled read operation
svn path=/trunk/; revision=20932
2006-01-17 03:28:33 +00:00
Thomas Bluemel 2d01a7cf65 some fixes in NtReadFile and NtWrite file for (a)synchronous pipe handling and parameter checks
svn path=/trunk/; revision=20931
2006-01-17 03:25:55 +00:00
Alex Ionescu 5b6264cf13 * Add more PSDK defintions to asm.h
* Use these new definitions instead of constants in syscall.S
* Document the macros using doxygen-compatible format, and convert SET_TF_DEBUG_HEADER to as macro instead of CPP macro.
* Use SET_TF_DEBUG_HEADER in system call handlers instead of duplicating the code.

svn path=/trunk/; revision=20930
2006-01-17 03:00:21 +00:00
Alex Ionescu 3ad6f05446 * Use macro for APC-delivery.
* Mark function start/endings for the compiler.

svn path=/trunk/; revision=20929
2006-01-17 01:22:21 +00:00
Ged Murphy f697d968ef make arrow available in 24x24
svn path=/trunk/; revision=20928
2006-01-17 00:13:11 +00:00
Christoph von Wittich 87df19f3e9 fixed a bug in IntSetMenuItemInfo
svn path=/trunk/; revision=20927
2006-01-16 23:26:41 +00:00
Ged Murphy fef4764e1f new recent docs icon
svn path=/trunk/; revision=20926
2006-01-16 23:26:26 +00:00
Christoph von Wittich 0e05e0efb3 fix text align when using HBMMENU_CALLBACK (patch by Brezenbak)
svn path=/trunk/; revision=20925
2006-01-16 23:20:11 +00:00
Martin Fuchs 116372101a display icons of size 24x24 per default in the start menu root
svn path=/trunk/; revision=20924
2006-01-16 23:00:38 +00:00
Alex Ionescu f5e9486425 - Fix a build issue.
- Added more DBG checks for trap exits:
  * Detect if exiting with incorrect IF state.
  * Detect if exiting with broken stack.
  * Detect if exiting with a broken trap frame (note: Disabled in Kei386EoiHelper beause this raises the assertion. The trap frame is valid, it's just that some old code is using DbgArgMark for other purposes. Will fix.)
  * Detect if exiting with invalid FS.
  * Detect if exiting with invalid Exception List.
  * Detect if exiting with incorrect exception list and/or incorrect previmous mode on the stack (to detect macro/calling type mismatch).
The trap exit code is now complete and shareable across all 3 trap exit types, except for one broken assertion left to fix.

svn path=/trunk/; revision=20923
2006-01-16 22:07:38 +00:00
Alex Ionescu b311311796 * Increase total system call count in KPCR for performance counter.
* Increase per-systemcall call count in the KiServiceTable if it was specified, for performance counters.
* Add sanity checks to system call handler to detect:
  - User-mode system calls at > PASSIVE
  - User-mode system call return at > PASSIVE
  - Return to user-mode with Kernel APCs disabled.
* These features are on DBG only.

svn path=/trunk/; revision=20922
2006-01-16 21:41:19 +00:00
Alex Ionescu a784e36891 - Write the first of 3 shared trap prolog macros. Does not fully support V86 entry and DR saving yet. Used by all KiTraps (except double-fault for now) and KiDebugService.
- Update asm.h with more stuff from ks386.inc.
- Use only documented constants in syscall.S through asm.h.

svn path=/trunk/; revision=20921
2006-01-16 21:14:32 +00:00