Commit graph

22935 commits

Author SHA1 Message Date
Thomas Bluemel c9ba938610 fix gcc4 warning
svn path=/trunk/; revision=24565
2006-10-18 21:18:02 +00:00
Alex Ionescu 7716bdddbb - A much simpler and featured RawFs driver that I had been working on while learning how to write simple FS drivers. Still missing some advanced functionality (Lite Stream File Objects and FS Notifications) because the Kernel doesn't fully support them yet. This one actually creates the \\Device names so that user-mode can even talk to it.
svn path=/trunk/; revision=24564
2006-10-18 18:00:42 +00:00
Alex Ionescu 1b96a22c6c - Combine PnpInit1/2 since they were called one after the other.
- Load RAW driver while loading boot drivers.
- Cleanup IoInitSystem a bit more.

svn path=/trunk/; revision=24563
2006-10-18 17:46:55 +00:00
Ged Murphy fd5116b50c To stop the app hanging when enumerating, use a separate thread for enumerating exclusively
svn path=/trunk/; revision=24562
2006-10-18 15:50:05 +00:00
Alex Ionescu 9b785911ed - Some stuff I promised James. This is DC_ATTR from Win2K, IIRC (you called it GDI_USER_DATA). It changed a bit in XP, but now you have a working model. Also added some more flags/enums that I knew about and some font structures.
svn path=/trunk/; revision=24561
2006-10-18 06:00:31 +00:00
James Tabor 31280506e9 Set GDI_BatchLimit from TEB.
svn path=/trunk/; revision=24560
2006-10-18 03:55:28 +00:00
James Tabor f7420ccbad Add more DCDWord constants and two more members in GdiUserData structure.
svn path=/trunk/; revision=24559
2006-10-18 03:54:35 +00:00
Ged Murphy 37741f841f fix a couple of warnings msvc highlighted
svn path=/trunk/; revision=24558
2006-10-17 23:11:02 +00:00
Ged Murphy 400f62c0f2 - enumerate devices in a separate thread so it doesn't stall opening of the main window
- check for problems with devices, e.g. disabled devices (currently missing code to display overlay icons)
- enable / disable the properties command dependant on what item is selected
- fix a few potential bugs

svn path=/trunk/; revision=24557
2006-10-17 15:56:41 +00:00
Magnus Olsen fead15e683 adding windows 28592 (iso-2859-2) latin2 to ansi to utf -8 converter in roswebparser
svn path=/trunk/; revision=24556
2006-10-17 15:16:06 +00:00
Aleksey Bragin 95d350f6fe Having two cats with the same name in one repository is too much
svn path=/trunk/; revision=24555
2006-10-17 15:02:51 +00:00
James Tabor 7b814c1069 Add another member to GdiUserData structure.
svn path=/trunk/; revision=24554
2006-10-17 05:52:35 +00:00
James Tabor 7b6642d8a0 Implement Get & Set batch limit.
svn path=/trunk/; revision=24553
2006-10-17 05:30:54 +00:00
Alex Ionescu 07b9937721 - Merge some parts of IoInitSystem in the same main function instead of calling out to 10 external modules.
- Re-factor some code into smaller functions.
- Don't create some Object Directories twice, since now ExpCreateSystemRootLink does some of them.
- Add some failure paths to I/O Init.
- Implement a function to mark the boot partition DO_SYSTEM_BOOT_PARTITION in order to better catch some bugchecks.

svn path=/trunk/; revision=24552
2006-10-17 05:14:57 +00:00
James Tabor 6dc593f684 Win32k GDI Compatibility Project:
- Add new Gdi user data structure
- Fixed Meta constants
- Add new GetDCWord constant

svn path=/trunk/; revision=24551
2006-10-17 04:32:18 +00:00
Alex Ionescu 7c42b991f3 - One school day and two midterms later, I'm still the only one with enough time to fix a header. Can't wait to see who will be up for trying to fix booting...
svn path=/trunk/; revision=24550
2006-10-17 04:20:48 +00:00
Thomas Bluemel 9d10081480 Fixed usage of uninitialized variable warning
svn path=/trunk/; revision=24549
2006-10-16 15:55:33 +00:00
Alex Ionescu 3b6c356260 - Fix user-mode compilation.
svn path=/trunk/; revision=24548
2006-10-16 15:27:12 +00:00
Thomas Bluemel 503b41d90b Fix a typo. Thanks to Dmitry Timoshkov
svn path=/trunk/; revision=24547
2006-10-16 11:26:24 +00:00
Alex Ionescu f9a7faa6e5 - Implement RtlGetElementGenericTable using ordered node/element.
- The splay tree generic table package is now complete. (The AVL package was done by Art earlier).

svn path=/trunk/; revision=24546
2006-10-16 04:08:09 +00:00
Alex Ionescu a18f3458b2 - Fix GCC compile bug.
svn path=/trunk/; revision=24545
2006-10-16 03:53:48 +00:00
Alex Ionescu d403bc14c4 - Create "AVL FUNCTIONS" section tag.
- Implement RtlENumerateGEnericTableWithoutSplaying.

svn path=/trunk/; revision=24544
2006-10-16 03:51:49 +00:00
Alex Ionescu cac3dc3812 - Implement RtlLookupElementGenericTableFull.
- Implement RtlEnumerateGenericTable.

svn path=/trunk/; revision=24543
2006-10-16 03:47:47 +00:00
Alex Ionescu cef2ebcee2 - Implement RtlIsGenericTableEmpty, RtlNumberGenericTableElements.
- Implement RtlLookupElementGenericTable.
- Implement RtlDeleteElementGenericTable

svn path=/trunk/; revision=24542
2006-10-16 03:39:49 +00:00
Alex Ionescu dbb8a15d7c - Added some generic table routines to rtlfuncs.h so that they can be used in user-mode.
- Implemented RtlInsertElementGenericTable and RtlInsertElementGenericTableFull (Splay-Tree versions). Also implemented a helper function RtlpFindGenericTableNodeOrParent when we're not given one and need to locate it manually.
- Defined structure for generic table entries so that we can properly return user data and do the right allocations.

svn path=/trunk/; revision=24541
2006-10-16 03:19:14 +00:00
Alex Ionescu 693525bd5a - Organize file by AVL/Splay routines.
- Add RtlLookupFirstMatchingElementGenericTableAvl stub.
- Fixup some formatting/tag spacing and prototype definitions.

svn path=/trunk/; revision=24540
2006-10-16 02:49:23 +00:00
Alex Ionescu d280d7f5a7 - Fix a bug in FreeLdr key creation (patch by Filip Navara).
- Make cmlib use the StorageTypeCount value since my new Cm code needs it.

svn path=/trunk/; revision=24538
2006-10-16 02:04:09 +00:00
Hervé Poussineau 6ea6b76acd Add some missing exports
svn path=/trunk/; revision=24537
2006-10-16 02:02:51 +00:00
James Tabor 2834696d89 Add object type COLORSPACE mask.
svn path=/trunk/; revision=24536
2006-10-16 01:39:34 +00:00
James Tabor 8835a6c1cb First of the Win32k-Gdi compatibility changes.
svn path=/trunk/; revision=24535
2006-10-16 01:29:27 +00:00
James Tabor 7e06d0e8cf Fix text line.
svn path=/trunk/; revision=24534
2006-10-16 01:22:21 +00:00
Hervé Poussineau 48a7051b20 Correctly return FALSE in SeAccessCheck if access is not granted
Don't always check the first ace in the DACL

svn path=/trunk/; revision=24533
2006-10-15 23:31:16 +00:00
Hervé Poussineau 09da758c64 Don't force a security descriptor to have an owner
svn path=/trunk/; revision=24532
2006-10-15 21:24:21 +00:00
Hervé Poussineau 842f4cfb17 Include intrin.h only if compiler is GCC.
svn path=/trunk/; revision=24531
2006-10-15 20:09:04 +00:00
James Tabor ad7f6254da Fixed definition for NtUserLoadKeyboardLayoutEx.
svn path=/trunk/; revision=24530
2006-10-15 20:07:45 +00:00
Thomas Bluemel e5cb57f9f5 Implement the advapi32 part of ImpersonateAnonymousToken
svn path=/trunk/; revision=24529
2006-10-15 19:58:57 +00:00
Thomas Bluemel 6f2586bb50 Add a stub for NtCompareTokens
svn path=/trunk/; revision=24528
2006-10-15 19:12:41 +00:00
Magnus Olsen 7c6ad03034 adding ansi to utf-8 converting
support follow code pages
oem437, oem850, windows28591 ( iso-2859-1 Latin 1)

svn path=/trunk/; revision=24527
2006-10-15 19:07:19 +00:00
Thomas Bluemel ef9ac412e7 Implemented AddMandatoryAce
svn path=/trunk/; revision=24526
2006-10-15 16:52:25 +00:00
Thomas Bluemel 0414f87d02 Make some strings const
svn path=/trunk/; revision=24524
2006-10-15 13:07:03 +00:00
Thomas Bluemel f0203ef66d Fixed one more optimization bug
svn path=/trunk/; revision=24523
2006-10-15 13:03:54 +00:00
Thomas Bluemel 5a34618d8e Sorry, accidently committed a bug...
svn path=/trunk/; revision=24522
2006-10-15 12:50:30 +00:00
Thomas Bluemel f682bf63e7 Fix buffer overflow in KiGetCpuVendor, thanks to Michael Fritscher for reporting this bug.
svn path=/trunk/; revision=24520
2006-10-15 12:41:48 +00:00
Thomas Bluemel 809d98521c Remove ASSERT(FALSE) statement
svn path=/trunk/; revision=24516
2006-10-15 12:23:15 +00:00
Thomas Bluemel fa1f06919a Fix optimization bug
svn path=/trunk/; revision=24513
2006-10-15 10:53:53 +00:00
Art Yerkes 789a033291 Fixed avl tree completely.
- We can't use the builtin node as a sentinel in exactly the same way as used
in the austin lib, so we account for that by treating the builtin node like
nil a few places.

svn path=/trunk/; revision=24510
2006-10-14 17:29:41 +00:00
Aleksey Bragin 8e756fbebc - Use loader memory types in memory allocation bitmap instead of 0 for free memory and 1 for allocated
- Slightly change / add comments

svn path=/trunk/; revision=24509
2006-10-14 13:36:21 +00:00
Hervé Poussineau 201f1d750e Better stub for ScmrSetServiceObjectSecurity
svn path=/trunk/; revision=24508
2006-10-13 21:14:07 +00:00
Magnus Olsen 275c588825 include/GL folders files update to mingw w32s api version 3.6
svn path=/trunk/; revision=24506
2006-10-13 19:54:59 +00:00
Hervé Poussineau 633ffc6a05 Set file security information (if provided in .inf file)
svn path=/trunk/; revision=24505
2006-10-13 19:50:02 +00:00