reactos.git
15 years agoDon't stop the search after the first driver found. Next ones may be better
Hervé Poussineau [Mon, 29 May 2006 09:36:26 +0000 (09:36 +0000)]
Don't stop the search after the first driver found. Next ones may be better

svn path=/trunk/; revision=22102

15 years agoFix some whitespaces
Hervé Poussineau [Mon, 29 May 2006 08:55:08 +0000 (08:55 +0000)]
Fix some whitespaces
Change swprintf by sprintfW

svn path=/trunk/; revision=22101

15 years ago- Object Manager Improvements (3 of 3):
Alex Ionescu [Mon, 29 May 2006 03:32:43 +0000 (03:32 +0000)]
- Object Manager Improvements (3 of 3):
  * Implement Per-Processor Lookaside List based allocation and de-allocation of the Object Create Information (object attributes capture) and of the object name. I counted over 4000 allocations for only 30 seconds of runtime, so this change greatly reduces pool fragmentation and increases speed. (Implementation is similar to the IRP lookaside list implementation, but inlined for speed).
  * Fix some cases where we weren't freeing captured information properly. This patch should also decrease memory leaks/usage.
  * Comment/formatting fixes.

svn path=/trunk/; revision=22100

15 years ago- Object Manager Fixes (2 of 3):
Alex Ionescu [Mon, 29 May 2006 00:18:36 +0000 (00:18 +0000)]
- Object Manager Fixes (2 of 3):
  * Remove superflous debug prints used a long time ago while debugging
  * Set the CreatorUniqueProcess
  * Align code to 80 chars
  * Do a privilege check of OB_FLAG_PERMANENT is being used, and de-allocate the object if this failed.
  * Send the PreviousMode to ObpAllocateObject so that it can honor it and set the OB_FLAG_KERNEL_MODE flag.
  * Use OBJECT_TYPE accounting to increase TotalNumberOfObjects.
  * Fail ObCreateObject in low-memory situations instead of ignoring it.
  * Respect OBJECT_TYPE.TypeInfo.InvalidAttributes if an attempt is to create an object with invalid attributes is detected.
  * Respect PagedPoolCharge and NonPagedPoolCharge parameters and save them in the OBJECT_CREATE_INFORMATION strucutre.

svn path=/trunk/; revision=22099

15 years ago- Object Manager Improvement Patch 1/3:
Alex Ionescu [Mon, 29 May 2006 00:05:07 +0000 (00:05 +0000)]
- Object Manager Improvement Patch 1/3:
  - Re-implement delayed object deletion by using an optimized Object Reaper based on OBJECT_HEADER->NextToFree. Thanks to Thomas for the algorithm.
  - Refactor object deletion into two operations: Removal and de-allocation (this is needed for failure during allocation, which we don't do yet).
  - BugFixes:
    * After freeing an object header structure, also clear the pointer so we don't attempt it again.
    * Clear the handle database if there is one
    * Make sure the create info flag is set before deleting captured attributes.
    * Use the allocation pool tag when de-allocating.
    * Use OBJECT_TYPE accounting for tracking the numbef of objects.
    * Remove the object from it's typelist if it has creator information.
    * Call the security procedure to delete the security descriptor.

svn path=/trunk/; revision=22098

15 years agoFix build. Missing chg for GetOutlineTextMetrics.
James Tabor [Sun, 28 May 2006 23:11:56 +0000 (23:11 +0000)]
Fix build. Missing chg for GetOutlineTextMetrics.

svn path=/trunk/; revision=22097

15 years agoImplement NtGdiGetOutlineTextMetrics and GetOutlineTextMetricsA/W.
James Tabor [Sun, 28 May 2006 22:49:52 +0000 (22:49 +0000)]
Implement NtGdiGetOutlineTextMetrics and GetOutlineTextMetricsA/W.
GetOutlineTextMetricsA is from Wine. Tested with Mozilla 1.7.12.

svn path=/trunk/; revision=22096

15 years agoBetter handling of errors/special cases
Hervé Poussineau [Sun, 28 May 2006 21:43:45 +0000 (21:43 +0000)]
Better handling of errors/special cases

svn path=/trunk/; revision=22095

15 years agoAdd newdev.h of the w32api package
Hervé Poussineau [Sun, 28 May 2006 21:24:28 +0000 (21:24 +0000)]
Add newdev.h of the w32api package

svn path=/trunk/; revision=22094

15 years agoFix the build
Hervé Poussineau [Sun, 28 May 2006 20:33:20 +0000 (20:33 +0000)]
Fix the build

svn path=/trunk/; revision=22093

15 years ago- Display install page when installing the device, instead of search page
Hervé Poussineau [Sun, 28 May 2006 20:21:43 +0000 (20:21 +0000)]
- Display install page when installing the device, instead of search page
- Add "install failed" page

svn path=/trunk/; revision=22092

15 years agoKeep minimal amount of differences with Wine code
Hervé Poussineau [Sun, 28 May 2006 19:20:19 +0000 (19:20 +0000)]
Keep minimal amount of differences with Wine code
Remove useless files

svn path=/trunk/; revision=22091

15 years ago- Add SecurityQoS and PreviousMode parameters to ObFindObject, so that these can...
Alex Ionescu [Sun, 28 May 2006 19:05:19 +0000 (19:05 +0000)]
- Add SecurityQoS and PreviousMode parameters to ObFindObject, so that these can be sent to the parse routine. Also don't send OBJECT_CREATE_INFORMATION to it, but each needed member separately. This avoids having to create a "Fake" structure in some calls which don't actually use capture the information.
- Also remove RemainingPath and stop exposing it to public APIs. Move all ObInsertObject/ObOpen,ReferenceByName hacks to ObFindObject, and add a small one there. We basically trade 4 hacks for 1.

svn path=/trunk/; revision=22090

15 years agoForward more functions to setupapi
Hervé Poussineau [Sun, 28 May 2006 18:36:57 +0000 (18:36 +0000)]
Forward more functions to setupapi

svn path=/trunk/; revision=22089

15 years ago[AUDIT]
Hervé Poussineau [Sun, 28 May 2006 18:36:34 +0000 (18:36 +0000)]
[AUDIT]
No code in cfgmgr32. All exported functions are redirected to setupapi

svn path=/trunk/; revision=22088

15 years agoRewrite SetupDiGetActualSectionToInstallExW:
Hervé Poussineau [Sun, 28 May 2006 16:44:52 +0000 (16:44 +0000)]
Rewrite SetupDiGetActualSectionToInstallExW:
- Do less lookups in section names list
- Take care of possible ProductType and SuiteMask fields in section names

svn path=/trunk/; revision=22087

15 years agoSearch driver files in the same directory as the .inf file
Hervé Poussineau [Sun, 28 May 2006 12:35:20 +0000 (12:35 +0000)]
Search driver files in the same directory as the .inf file

svn path=/trunk/; revision=22086

15 years agocopy number to numberf so people can bugfix it/rewrite it
Magnus Olsen [Sun, 28 May 2006 05:59:33 +0000 (05:59 +0000)]
copy number to numberf so people can bugfix it/rewrite it

svn path=/trunk/; revision=22085

15 years agoalmost last commit for full support of %e %E %f %g %G, left todo is write the numberf...
Magnus Olsen [Sun, 28 May 2006 05:17:19 +0000 (05:17 +0000)]
almost last commit for full support of %e %E %f %g %G, left todo is write the numberf function

svn path=/trunk/; revision=22084

15 years agostarteted implement float into sprintf, snprintf and alot other printf api. this...
Magnus Olsen [Sun, 28 May 2006 04:58:27 +0000 (04:58 +0000)]
starteted implement float into sprintf, snprintf and alot other printf api. this is more like a start how to implement it. This commit is more market for me. so I do not forget where string functions of *printf api (the main api functions) are. One more thing if u change on sprintf.c same change must be done in swprintf.c or changes into swprintf.c same changes must be done in swprintf.c, other wise the efect of bugfix or change will not be excutected in reactos, for u do not know if program  pic the ansi or unicode version.

svn path=/trunk/; revision=22083

15 years agomaking one more wine msvcrt printf test pass
Magnus Olsen [Sun, 28 May 2006 01:32:32 +0000 (01:32 +0000)]
making one more wine msvcrt printf test pass
now it is 62 fails instead of 63 fails

svn path=/trunk/; revision=22082

15 years agofixing two hiden bug in reactos, null termante the string right at end, code tested...
Magnus Olsen [Sun, 28 May 2006 00:51:16 +0000 (00:51 +0000)]
fixing two hiden bug in reactos, null termante the string right at end, code tested in vs, but it seam no affact on wine test mscvrt printf test. What hell is the snprintf  function call to ??

svn path=/trunk/; revision=22081

15 years agoFix an incorrect HalBeginSystemInterrupt() prototype
Aleksey Bragin [Sat, 27 May 2006 15:38:37 +0000 (15:38 +0000)]
Fix an incorrect HalBeginSystemInterrupt() prototype

svn path=/trunk/; revision=22080

15 years ago[AUDIT] this file is clean, and well document where it comes from, so no sign of...
Magnus Olsen [Sat, 27 May 2006 15:32:22 +0000 (15:32 +0000)]
[AUDIT] this file is clean, and well document where it comes from, so no sign of trace was notice in this file

svn path=/trunk/; revision=22079

15 years agoFix possible memory leak in ProbeAndCaptureUnicodeString
Ged Murphy [Sat, 27 May 2006 15:06:51 +0000 (15:06 +0000)]
Fix possible memory leak in ProbeAndCaptureUnicodeString
Patch from Thomas Weidenmueller

svn path=/trunk/; revision=22078

15 years ago patch from w3seek : <w3seek> btw here's a (temporary) fix for the missing buttons...
Magnus Olsen [Sat, 27 May 2006 14:15:04 +0000 (14:15 +0000)]
 patch from w3seek : <w3seek> btw here's a (temporary) fix for the missing buttons bug: because it's not entirely thread-safe. filip will take care of it (i think)

svn path=/trunk/; revision=22077

15 years agoSmall fixes by w3seek
Hervé Poussineau [Sat, 27 May 2006 14:04:08 +0000 (14:04 +0000)]
Small fixes by w3seek

svn path=/trunk/; revision=22076

15 years agosorry for breaking the build, I did put in wrong version I should have retested it
Magnus Olsen [Sat, 27 May 2006 13:05:24 +0000 (13:05 +0000)]
sorry for breaking the build, I did put in wrong version I should have retested it

svn path=/trunk/; revision=22075

15 years agoFix search of driver on removable media
Hervé Poussineau [Sat, 27 May 2006 13:03:04 +0000 (13:03 +0000)]
Fix search of driver on removable media

svn path=/trunk/; revision=22074

15 years agoBugfix environ so it does not allown = in environ name not even as frist char
Magnus Olsen [Sat, 27 May 2006 13:00:39 +0000 (13:00 +0000)]
Bugfix environ so it does not allown = in environ name not even as frist char

svn path=/trunk/; revision=22073

15 years ago[AUDIT] after looking through code no signs of reverse engineering were found.
Magnus Olsen [Sat, 27 May 2006 12:59:10 +0000 (12:59 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found.

svn path=/trunk/; revision=22072

15 years ago[AUDIT] after looking through code no signs of reverse engineering were found.
Magnus Olsen [Sat, 27 May 2006 12:20:10 +0000 (12:20 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found.

svn path=/trunk/; revision=22071

15 years agoreplacing _swab with wine cvs 2006-05-11 version, this will take care of our problem...
Magnus Olsen [Sat, 27 May 2006 11:37:44 +0000 (11:37 +0000)]
replacing _swab with wine cvs 2006-05-11 version, this will take care of our problem with overlapped memory problem with swab, and this make also two more wine test pass in wine msvcrt test. 100% pass okay now with wine msvcrt string test.

svn path=/trunk/; revision=22070

15 years ago[AUDIT] after looking through code no signs of reverse engineering were found. This...
Magnus Olsen [Sat, 27 May 2006 10:55:35 +0000 (10:55 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found.  This swap can not handling overlapped of memory, replace of this will follow in next commit.

svn path=/trunk/; revision=22069

15 years ago- fixes the definitions of PostQueuedCompletionStatus() and RaiseException()
Ged Murphy [Sat, 27 May 2006 09:18:10 +0000 (09:18 +0000)]
- fixes the definitions of PostQueuedCompletionStatus() and RaiseException()
- adds the definitions of AddAccessAllowedObjectAce(),
AddAccessDeniedObjectAce() and AddAuditAccessObjectAce() to w32api
- prototypes in line with previous r22066 mods
- fixes bug 1473

svn path=/trunk/; revision=22068

15 years ago[AUDIT]
Ged Murphy [Sat, 27 May 2006 09:15:33 +0000 (09:15 +0000)]
[AUDIT]
kernel32 - except.c, iocompl.c
most of the code is from Wine.
All non wine specific functions are documented on MSDN

svn path=/trunk/; revision=22067

15 years agoadd some function definitions I've had floating about in my headers for a while.
Ged Murphy [Sat, 27 May 2006 09:01:39 +0000 (09:01 +0000)]
add some function definitions I've had floating about in my headers for a while.

svn path=/trunk/; revision=22066

15 years ago[AUDIT]
Ged Murphy [Sat, 27 May 2006 08:33:58 +0000 (08:33 +0000)]
[AUDIT]
cat isn't a windows tool

svn path=/trunk/; revision=22065

15 years ago[AUDIT] after looking through code no signs of reverse engineering were found.
Magnus Olsen [Fri, 26 May 2006 22:48:25 +0000 (22:48 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found.

svn path=/trunk/; revision=22064

15 years agoreplace djgpp hell bugs fcvtbuf with project http://www.jbox.dk/sanos/source/lib...
Magnus Olsen [Fri, 26 May 2006 19:23:34 +0000 (19:23 +0000)]
replace djgpp  hell bugs fcvtbuf  with project  jbox.dk/sanos/source/lib/fcvt.c.html with small modification's to match ReactOS arch. Floating point to string conversion routines Copyright (C) 2002 Michael Ringgaard. All rights reserved.

Make wine test for fcvt shut up we are failing 64 of wine test in msvrt printf, but we pass all fcvt test. before we did fail 75 test in wine test of msvrt printf test. Before we did fail almost all test case for fcvt in wine test

svn path=/trunk/; revision=22062

15 years agofixing linux build
Magnus Olsen [Fri, 26 May 2006 19:10:33 +0000 (19:10 +0000)]
fixing linux build

svn path=/trunk/; revision=22061

15 years ago[AUDIT] clean imported/ported from DJGPP, djgpp fcvt is bugs as hell, most case does...
Magnus Olsen [Fri, 26 May 2006 18:51:58 +0000 (18:51 +0000)]
[AUDIT] clean imported/ported from DJGPP, djgpp fcvt is bugs as hell, most case does not working, bug will come later

svn path=/trunk/; revision=22060

15 years agosync lz32 winetest to 0.9.14
Steven Edwards [Fri, 26 May 2006 18:14:28 +0000 (18:14 +0000)]
sync lz32 winetest to 0.9.14

svn path=/trunk/; revision=22059

15 years agoadded my own icmp test...this cannot possibly fail
Steven Edwards [Fri, 26 May 2006 18:07:12 +0000 (18:07 +0000)]
added my own icmp test...this cannot possibly fail

svn path=/trunk/; revision=22058

15 years ago[AUDIT]
Ged Murphy [Fri, 26 May 2006 18:02:20 +0000 (18:02 +0000)]
[AUDIT]
sndvol32.
declared clean by Thomas Weidenmueller
"It's not even functional" said Thomas. ;)

svn path=/trunk/; revision=22057

15 years agosync ntdll tests to 0.9.14
Steven Edwards [Fri, 26 May 2006 17:54:55 +0000 (17:54 +0000)]
sync ntdll tests to 0.9.14

svn path=/trunk/; revision=22056

15 years agoremove another dud, sync psapi test to 0.9.14
Steven Edwards [Fri, 26 May 2006 17:35:11 +0000 (17:35 +0000)]
remove another dud, sync psapi test to 0.9.14

svn path=/trunk/; revision=22055

15 years agosync the setupapi test to wine 0.9.14 and remove some files commited to the wrong...
Steven Edwards [Fri, 26 May 2006 17:30:43 +0000 (17:30 +0000)]
sync the setupapi test to wine 0.9.14 and remove some files commited to the wrong folder

svn path=/trunk/; revision=22054

15 years agoupdate the winetest framework to 0.9.14 and sync some tests. Untested on ReactOS...
Steven Edwards [Fri, 26 May 2006 16:20:53 +0000 (16:20 +0000)]
update the winetest framework to 0.9.14 and sync some tests. Untested on ReactOS but at least it builds. More tests will come later. Fsck subversion

svn path=/trunk/; revision=22053

15 years agoBump trunk to 0.4.0, no turning back now.
Andrew Munger [Fri, 26 May 2006 15:14:13 +0000 (15:14 +0000)]
Bump trunk to 0.4.0, no turning back now.

svn path=/trunk/; revision=22052

15 years agoAllow the user to specify a custom path for the driver when installing a new device
Hervé Poussineau [Fri, 26 May 2006 10:16:27 +0000 (10:16 +0000)]
Allow the user to specify a custom path for the driver when installing a new device

svn path=/trunk/; revision=22051

15 years agoOf course, I forgot to commit the new file in revision 22049...
Hervé Poussineau [Thu, 25 May 2006 23:34:41 +0000 (23:34 +0000)]
Of course, I forgot to commit the new file in revision 22049...

svn path=/trunk/; revision=22050

15 years ago- Move new hardware wizard code to wizard.c
Hervé Poussineau [Thu, 25 May 2006 22:55:13 +0000 (22:55 +0000)]
- Move new hardware wizard code to wizard.c
- Disable non working buttons
- Improve navigation between pages
- Prepare room for an install page

svn path=/trunk/; revision=22049

15 years agoFix green, it just needed it's ObOpenObjectByName params shuffled. Hope I did it...
Andrew Munger [Thu, 25 May 2006 21:39:49 +0000 (21:39 +0000)]
Fix green, it just needed it's ObOpenObjectByName params shuffled. Hope I did it correctly.

svn path=/trunk/; revision=22048

15 years ago- Get rid of the intriguing idea that exported/public APIs should have prototypes...
Alex Ionescu [Thu, 25 May 2006 20:50:58 +0000 (20:50 +0000)]
- Get rid of the intriguing idea that exported/public APIs should have prototypes with inversed parameters (fix ObOpenObjectByName and all its callers).
- Isolate ObFindObject into CmFindObject for the registry routines. Because of their well-known abuse of Ob, it's better to give them their internal routine so that when/if Ob ever gets fixed to parse properly, it won't force a re-write of Cm's object routines.

svn path=/trunk/; revision=22047

15 years agoadd directories for the comming wine tests
Steven Edwards [Thu, 25 May 2006 20:24:16 +0000 (20:24 +0000)]
add directories for the comming wine tests

svn path=/trunk/; revision=22046

15 years ago- Remove ROS-internal object macros and use the public ones in obtypes.h instead.
Alex Ionescu [Thu, 25 May 2006 20:14:09 +0000 (20:14 +0000)]
- Remove ROS-internal object macros and use the public ones in obtypes.h instead.

svn path=/trunk/; revision=22045

15 years ago- Convert all Win32k Object callback functions to the correct NT prototypes.
Alex Ionescu [Thu, 25 May 2006 20:03:13 +0000 (20:03 +0000)]
- Convert all Win32k Object callback functions to the correct NT prototypes.
- Get rid of ROS-internal WIN32_CALLOUT_DATA and use the real WIN32_CALLOUTS_FPNS type.
- Get rid of the callout.h hack.

svn path=/trunk/; revision=22044

15 years ago[AUDIT]
Aleksey Bragin [Thu, 25 May 2006 19:50:19 +0000 (19:50 +0000)]
[AUDIT]
kernel32.dll
- Remove locks from Wine code, and from simple stub or forward type of functions
- Add file headers to all files (except shared completely with Wine)
- Mark a pair of functions as shared with Wine (to be changed later when adding correct function headers)

svn path=/trunk/; revision=22043

15 years agostarted syncing to Wine-0.9.14
Steven Edwards [Thu, 25 May 2006 19:43:52 +0000 (19:43 +0000)]
started syncing to Wine-0.9.14

svn path=/trunk/; revision=22042

15 years ago- Rewrite Desktop/WindowsStation parsing to follow the NT Object Model, with some...
Alex Ionescu [Thu, 25 May 2006 19:30:09 +0000 (19:30 +0000)]
- Rewrite Desktop/WindowsStation parsing to follow the NT Object Model, with some minor hacks to respect ROS's current parsing semantics.
- Thanks to this, the long-lasting ExpDesktopCreate hack is gone, and so is OB_ROS_FIND_METHOD and OB_ROS_CREATE_METHOD in win32k. Next patch can fully remove WIN32_CALLOUT_DATA and use the NT type instead.
- Add official OBJECT_ macros in obtypes.h

svn path=/trunk/; revision=22041

15 years agoitalian explorer translation patch by folle_invasato (bug 1292)
Johannes Anderwald [Thu, 25 May 2006 16:59:15 +0000 (16:59 +0000)]
italian explorer translation patch by folle_invasato (bug 1292)

svn path=/trunk/; revision=22040

15 years agorevert this chnage for filip told me it is complete wrong rtl should never link to...
Magnus Olsen [Thu, 25 May 2006 16:34:02 +0000 (16:34 +0000)]
revert this chnage for filip told me it is complete wrong rtl should never link to mscvrt

svn path=/trunk/; revision=22039

15 years agoAdding rtl to msvcrt.rbuild for it is only one that contain the *printf stuff.
Magnus Olsen [Thu, 25 May 2006 16:28:44 +0000 (16:28 +0000)]
Adding rtl to msvcrt.rbuild for it is only one that contain the *printf stuff.

svn path=/trunk/; revision=22038

15 years ago- Fix ObReferenceObjectByName and ObOpenObjectByName not to blissfully ignore the...
Alex Ionescu [Thu, 25 May 2006 04:17:29 +0000 (04:17 +0000)]
- Fix ObReferenceObjectByName and ObOpenObjectByName not to blissfully ignore the AccessState and ParseContext parameters.
- Change ObFindObject's prototype to be able to accomodate these two parameters so that they can be sent to the parse routine.

svn path=/trunk/; revision=22037

15 years ago- Get rid of OB_ROS_PARSE_METHOD and use OB_PARSE_METHOD instead. Hacked the current...
Alex Ionescu [Thu, 25 May 2006 01:18:31 +0000 (01:18 +0000)]
- Get rid of OB_ROS_PARSE_METHOD and use OB_PARSE_METHOD instead. Hacked the current parse methods to keep using a PWSTR, however they should be modified to use the UNICODE_STRING instead...

svn path=/trunk/; revision=22036

15 years agodelete empty folder
Magnus Olsen [Thu, 25 May 2006 00:06:36 +0000 (00:06 +0000)]
delete empty folder

svn path=/trunk/; revision=22035

15 years agoDid foregt the translate file we try one more time for bug : 1279 : patch from ...
Magnus Olsen [Wed, 24 May 2006 23:44:44 +0000 (23:44 +0000)]
Did foregt the translate file we try one more time for bug : 1279 : patch from  : user temarez  : adding Ukrainian translations

svn path=/trunk/; revision=22034

15 years agoSwedish translation of getfirefox by Andreas Bjerkeholt
Magnus Olsen [Wed, 24 May 2006 23:43:26 +0000 (23:43 +0000)]
Swedish translation of getfirefox by Andreas Bjerkeholt

svn path=/trunk/; revision=22033

15 years agobug : 1279 : patch from : user temarez : adding Ukrainian translations
Magnus Olsen [Wed, 24 May 2006 23:35:52 +0000 (23:35 +0000)]
bug : 1279 : patch from  : user temarez  : adding Ukrainian translations

svn path=/trunk/; revision=22032

15 years agobug : 1279 : patch from : user temarez : updating Ukrainian translations
Magnus Olsen [Wed, 24 May 2006 23:33:36 +0000 (23:33 +0000)]
bug : 1279 : patch from  : user temarez  : updating Ukrainian translations

svn path=/trunk/; revision=22031

15 years agobug : 1279 : patch from : user temarez : adding Ukrainian translations to taskmgr
Magnus Olsen [Wed, 24 May 2006 23:25:40 +0000 (23:25 +0000)]
bug : 1279 : patch from  : user temarez  : adding Ukrainian translations to taskmgr

svn path=/trunk/; revision=22030

15 years ago- Cleanup profiling and debugging code, add function comment headers and comment...
Alex Ionescu [Wed, 24 May 2006 23:20:50 +0000 (23:20 +0000)]
- Cleanup profiling and debugging code, add function comment headers and comment the functions in obdir.c
- Remove directory object parsing. Directory objects don't have parse routines. Instead, inline the lookup in ObFindObject (this hasn't been optimized yet, a lot of the code is now setting a = b, c = a, c = b.

svn path=/trunk/; revision=22029

15 years agoForgot to commit this change
Alex Ionescu [Wed, 24 May 2006 22:56:46 +0000 (22:56 +0000)]
Forgot to commit this change

svn path=/trunk/; revision=22028

15 years ago[AUDIT] clean seam be imported/ported/base/inspered from DJGPP source code for everyt...
Magnus Olsen [Wed, 24 May 2006 22:34:14 +0000 (22:34 +0000)]
[AUDIT] clean seam be imported/ported/base/inspered from DJGPP source code for everything look simulare to djgpp

svn path=/trunk/; revision=22027

15 years ago[AUDIT]
Aleksey Bragin [Wed, 24 May 2006 22:17:05 +0000 (22:17 +0000)]
[AUDIT]
kernel32.dll
- Unlock files shared with Wine
- Unlock stubs
- Add programmers name into file header

svn path=/trunk/; revision=22026

15 years agosvn propset svn:eol-style native foo.py
James Tabor [Wed, 24 May 2006 22:07:11 +0000 (22:07 +0000)]
svn propset svn:eol-style native foo.py

svn path=/trunk/; revision=22025

15 years ago- Reorganize most of /ob so that functions inside each module actually follow some...
Alex Ionescu [Wed, 24 May 2006 21:44:59 +0000 (21:44 +0000)]
- Reorganize most of /ob so that functions inside each module actually follow some sort of cohesive model instead of complete randomness.

svn path=/trunk/; revision=22024

15 years ago[AUDIT] clean from wine
Magnus Olsen [Wed, 24 May 2006 20:53:10 +0000 (20:53 +0000)]
[AUDIT] clean from wine

svn path=/trunk/; revision=22023

15 years ago[AUDIT] clean seam be imported/ported from DJGPP for everything look simulare to...
Magnus Olsen [Wed, 24 May 2006 20:50:55 +0000 (20:50 +0000)]
[AUDIT] clean seam be imported/ported from DJGPP for everything look simulare to djgpp

svn path=/trunk/; revision=22022

15 years agoclean up the getch.c remove unsused code.
Magnus Olsen [Wed, 24 May 2006 20:44:37 +0000 (20:44 +0000)]
clean up the getch.c remove unsused code.

svn path=/trunk/; revision=22021

15 years ago[AUDIT] after looking through code no signs of reverse engineering were found. some...
Magnus Olsen [Wed, 24 May 2006 20:43:05 +0000 (20:43 +0000)]
[AUDIT] after looking through code no signs of reverse engineering were found. some of these api contain also bugs and they are document in the files.

svn path=/trunk/; revision=22020

15 years ago[AUDIT] clean imported/ported from DJGPP
Magnus Olsen [Wed, 24 May 2006 20:39:56 +0000 (20:39 +0000)]
[AUDIT] clean imported/ported from DJGPP

svn path=/trunk/; revision=22019

15 years ago[AUDIT] namespc.c: The namespace functions are publically document and wrap around...
Alex Ionescu [Wed, 24 May 2006 20:29:02 +0000 (20:29 +0000)]
[AUDIT] namespc.c: The namespace functions are publically document and wrap around a ROS-internal ObFindObject function which is very different from the way NT handles parsing. The capture of attribute information was based off a public structure, and the function used does not seem to exist in NT (based on a google search). Object Manager Initialization is internal to ROS and performs generic/trivial intialization tasks, which seem to match the description present in Windows Internals as well as Windows NT File System Internals. Finally, Object Type creation is a ROS-internal function based off documentation found in Gl00my's object manager article as well as local debugging done with WinDBG which helped define the purpose of DefaultObject.

svn path=/trunk/; revision=22018

15 years ago[AUDIT] security.c: All these functions are simply wrappers around the SecurityProced...
Alex Ionescu [Wed, 24 May 2006 20:16:09 +0000 (20:16 +0000)]
[AUDIT] security.c: All these functions are simply wrappers around the SecurityProcedure callback, which actually does all the work (and is located in /se). Their implementation is trivial and could not have been done another way (it may likely differ from the 100% NT implementation (which I am not aware of), but the current implementation seems obvious to me and I don't see anything missing.

svn path=/trunk/; revision=22017

15 years ago- Wipe out PROS_OBJECT_HEADER and use OBJECT_HEADER since we are now compatible.
Alex Ionescu [Wed, 24 May 2006 20:13:47 +0000 (20:13 +0000)]
- Wipe out PROS_OBJECT_HEADER and use OBJECT_HEADER since we are now compatible.

svn path=/trunk/; revision=22016

15 years ago- Rewrote the Object Directory implementation to follow the NT Structures in the...
Alex Ionescu [Wed, 24 May 2006 20:06:13 +0000 (20:06 +0000)]
- Rewrote the Object Directory implementation to follow the NT Structures in the NDK. This got rid of the last remaining OBJECT_HEADER difference and switched over to OBJECT_DIRECTORY.
- The low-level implementation is based on information from "Undocumented Windows 2000 Internals: A Programmer's Cookbook", with some modifications done by myself to match the updated 2003 structures. This implementation was hackishly stuck into our messed up high-level object lookup implementation, which now has 4 more band-aids. Still needs a lot of work done to the upper echelons of object lookup, but at least this gets rid of ROS-internal stuff.

svn path=/trunk/; revision=22015

15 years agoDo not create crash/bsod log when u logoff or shutdown of ReactOS.
Magnus Olsen [Wed, 24 May 2006 19:34:53 +0000 (19:34 +0000)]
Do not create crash/bsod log when u logoff or shutdown of ReactOS.

svn path=/trunk/; revision=22014

15 years agosorry forget cleanup after me ;)
Magnus Olsen [Wed, 24 May 2006 19:03:01 +0000 (19:03 +0000)]
sorry forget cleanup after me ;)

svn path=/trunk/; revision=22013

15 years agoimport cprintf from wine cvs 2006-05-23 as bug 1529 suggested, I was looking for...
Magnus Olsen [Wed, 24 May 2006 18:56:29 +0000 (18:56 +0000)]
import cprintf from wine cvs 2006-05-23 as bug 1529  suggested, I was looking for this bug before it was reported.
it make most of msvcrt string test work, only one fail left to fix.

svn path=/trunk/; revision=22012

15 years ago[AUDIT] clean from DJGPP
Magnus Olsen [Wed, 24 May 2006 18:48:00 +0000 (18:48 +0000)]
[AUDIT] clean from DJGPP

svn path=/trunk/; revision=22011

15 years agoFixing two fail from wine gdi32 test, When HDC is NULL to NtGdiCreateDIBitmap we...
Magnus Olsen [Wed, 24 May 2006 16:54:51 +0000 (16:54 +0000)]
Fixing two fail from wine gdi32 test, When HDC is NULL to NtGdiCreateDIBitmap we need create a hdc and delete the hdc when we are done.

svn path=/trunk/; revision=22010

15 years agorevert my change from bootvid.c now, after w3seek patch it works again for bootcd
Magnus Olsen [Wed, 24 May 2006 15:07:28 +0000 (15:07 +0000)]
revert my change from bootvid.c now, after w3seek patch it works again for bootcd

svn path=/trunk/; revision=22009

15 years agoPatch from w3seek: patch to fix a couple of argument probing bugs in NtQuerySymbolic...
Magnus Olsen [Wed, 24 May 2006 14:41:53 +0000 (14:41 +0000)]
Patch from w3seek:  patch to fix a couple of argument probing bugs in NtQuerySymbolicLinkObject and NtCreateSymbolicLinkObject:

svn path=/trunk/; revision=22008

15 years agofix a few typos and display issuses in german resource file
Johannes Anderwald [Wed, 24 May 2006 12:17:49 +0000 (12:17 +0000)]
fix a few typos and display issuses in german resource file
patch by ThePhysicist (bug 1518) and a few additional fixes by me

svn path=/trunk/; revision=22007

15 years agoFix the regress of livecd, it works now again, some how the palette color are being...
Magnus Olsen [Wed, 24 May 2006 06:35:59 +0000 (06:35 +0000)]
Fix the regress of livecd, it works now again, some how the palette color are being bigger that 256 color and then the bootvid.sys crash

svn path=/trunk/; revision=22006

15 years ago[AUDIT] ntobj.c : The Temporary/Permanent object routines are 5-line generic wrappers...
Alex Ionescu [Wed, 24 May 2006 04:43:50 +0000 (04:43 +0000)]
[AUDIT] ntobj.c : The Temporary/Permanent object routines are 5-line generic wrappers which call an internal kernel function, which in itself is only a wrapper to set an internal, documented flag. The implementation is therefore trivial. NtQueryObject is only 10% complete.
wait.c: These are simple wrapper routines around the KeWaitForXxx functions which reference the objects and get their pointers, just like any other Nt* function does. Some parts are non-trivial, such as: various failures: these can be tested with the wait regression test however; The usage of THREAD_WAIT_OBJECTS is documented in the DDK; The failure for WaitAll with duplicated objects is documented on MSDN; The check for SYNCHRONIZE object is documented on MSDN.

svn path=/trunk/; revision=22005

15 years ago[AUDIT] symlink.c : The symbolic link implementation was generic, used different...
Alex Ionescu [Wed, 24 May 2006 04:33:18 +0000 (04:33 +0000)]
[AUDIT] symlink.c : The symbolic link implementation was generic, used different structures from NT (which meant some large NT features of symlinks were unimplemented) and had several bugs which gave different results from NT, so it was most certainly cleanly developed. The most recent update added the NT structure (which is documented) but did not add any functionality, except for fixing bugs which were revealed through a test app called SymlLinkTest.
dirobj.c: The directory object implementation is also generic and currently uses different structures from NT. Object lookup/parsing is entirely different and has nothing in common with NT. The actual Nt* APIs which expose the interface are ultra-generic and trivial.

svn path=/trunk/; revision=22004

15 years ago- Move all object directory stuff in dirobj.c and implement a simple profiler to...
Alex Ionescu [Wed, 24 May 2006 04:28:57 +0000 (04:28 +0000)]
- Move all object directory stuff in dirobj.c and implement a simple profiler to measure the time spent in those functions until the desktop appears. Enable with #define OBP_PROFILE.

svn path=/trunk/; revision=22003

15 years agoThis should fix the build.
Alex Ionescu [Wed, 24 May 2006 04:19:04 +0000 (04:19 +0000)]
This should fix the build.

svn path=/trunk/; revision=22002