reactos.git
17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 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

17 years ago- Thomas Weidenmueller (w3seek@reactos.org)
Alex Ionescu [Wed, 24 May 2006 02:48:51 +0000 (02:48 +0000)]
- Thomas Weidenmueller (w3seek@reactos.org)
  - Use SEH in Atom functions
  - Only use result length if the caller gave one, in NtQuerySecurityObject.

svn path=/trunk/; revision=22001

17 years ago- Fix Symbolic Link implementation:
Alex Ionescu [Wed, 24 May 2006 02:45:06 +0000 (02:45 +0000)]
- Fix Symbolic Link implementation:
  - Use OBJECT_SYMBOLIC_LINK structure as used by Windows NT (and added the structure to the NDK)
  - Changed code to use the new names in the structure
  - Only free the symlink's name if it has one, to avoid a bugcheck.
  - Optimize parsing: if the new name is actually shorter then the target name, then don't allocate from pool, but re-use the buffer. This improves symlink parsing speed. Also fix a bug which made it depend on the incorrect implementation of NtCreateSymbolicLinkObject
  - Re-align the link target maximum length in NtCreateSymbolicLinkObject if it's odd, and fail if the length is odd, smaller then the maximum, or if the maximum is zero.
  - Originally allocate the symlink name in Paged Pool.
  - Initialize new members of the structure.
  - Fail in no-memory case, instead of continuing.
  - Properly probe the LinkTarget in NtQuerySymbolicLinkObject.
  - Properly handle which length is chosen for the copy and for the return in NtQuerySymbolicObject.
  - Lock the symbolic link object type while querying it. Eventually many more parts of Ob need to do this kind of locking.
  - SymLinkTest now only gives 2 failures.
- Fix some NDK bugs

svn path=/trunk/; revision=22000

17 years ago- SymTest: The Symbolic Link kernel implementation tester. Tests for really wacky...
Alex Ionescu [Wed, 24 May 2006 02:01:32 +0000 (02:01 +0000)]
- SymTest: The Symbolic Link kernel implementation tester. Tests for really wacky symlink API properties. 8 failures on ROS.

svn path=/trunk/; revision=21999

17 years ago- Cleanup the formatting, code and function headers of most of the Object Manager...
Alex Ionescu [Tue, 23 May 2006 21:42:28 +0000 (21:42 +0000)]
- Cleanup the formatting, code and function headers of most of the Object Manager interfaces.

svn path=/trunk/; revision=21998

17 years ago- Fix build (forgot to add file) to msvcrt test
Aleksey Bragin [Tue, 23 May 2006 21:32:04 +0000 (21:32 +0000)]
- Fix build (forgot to add file) to msvcrt test

svn path=/trunk/; revision=21997