Alex Ionescu
a12050c789
- 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
2006-05-29 03:32:43 +00:00
Alex Ionescu
453c3d0af0
- 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
2006-05-29 00:18:36 +00:00
Alex Ionescu
0817ba9198
- 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
2006-05-29 00:05:07 +00:00
James Tabor
8a8feb3718
Fix build. Missing chg for GetOutlineTextMetrics.
...
svn path=/trunk/; revision=22097
2006-05-28 23:11:56 +00:00
James Tabor
1b601af92f
Implement NtGdiGetOutlineTextMetrics and GetOutlineTextMetricsA/W.
...
GetOutlineTextMetricsA is from Wine. Tested with Mozilla 1.7.12.
svn path=/trunk/; revision=22096
2006-05-28 22:49:52 +00:00
Hervé Poussineau
57ae379676
Better handling of errors/special cases
...
svn path=/trunk/; revision=22095
2006-05-28 21:43:45 +00:00
Hervé Poussineau
10052376c0
Add newdev.h of the w32api package
...
svn path=/trunk/; revision=22094
2006-05-28 21:24:28 +00:00
Hervé Poussineau
0dd973573a
Fix the build
...
svn path=/trunk/; revision=22093
2006-05-28 20:33:20 +00:00
Hervé Poussineau
f342328b5c
- Display install page when installing the device, instead of search page
...
- Add "install failed" page
svn path=/trunk/; revision=22092
2006-05-28 20:21:43 +00:00
Hervé Poussineau
2a99309f16
Keep minimal amount of differences with Wine code
...
Remove useless files
svn path=/trunk/; revision=22091
2006-05-28 19:20:19 +00:00
Alex Ionescu
0dd1e9a2af
- 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
2006-05-28 19:05:19 +00:00
Hervé Poussineau
19daffae13
Forward more functions to setupapi
...
svn path=/trunk/; revision=22089
2006-05-28 18:36:57 +00:00
Hervé Poussineau
808a1edb01
[AUDIT]
...
No code in cfgmgr32. All exported functions are redirected to setupapi
svn path=/trunk/; revision=22088
2006-05-28 18:36:34 +00:00
Hervé Poussineau
3b00b0a2fe
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
2006-05-28 16:44:52 +00:00
Hervé Poussineau
ed2b9d396c
Search driver files in the same directory as the .inf file
...
svn path=/trunk/; revision=22086
2006-05-28 12:35:20 +00:00
Magnus Olsen
1afe898112
copy number to numberf so people can bugfix it/rewrite it
...
svn path=/trunk/; revision=22085
2006-05-28 05:59:33 +00:00
Magnus Olsen
e73250fdc7
almost last commit for full support of %e %E %f %g %G, left todo is write the numberf function
...
svn path=/trunk/; revision=22084
2006-05-28 05:17:19 +00:00
Magnus Olsen
d62e9d48be
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
2006-05-28 04:58:27 +00:00
Magnus Olsen
b254c4649e
making one more wine msvcrt printf test pass
...
now it is 62 fails instead of 63 fails
svn path=/trunk/; revision=22082
2006-05-28 01:32:32 +00:00
Magnus Olsen
6999a6bc5c
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
2006-05-28 00:51:16 +00:00
Aleksey Bragin
f07bc589f6
Fix an incorrect HalBeginSystemInterrupt() prototype
...
svn path=/trunk/; revision=22080
2006-05-27 15:38:37 +00:00
Magnus Olsen
d17fff2969
[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
2006-05-27 15:32:22 +00:00
Ged Murphy
ae25dcdf0f
Fix possible memory leak in ProbeAndCaptureUnicodeString
...
Patch from Thomas Weidenmueller
svn path=/trunk/; revision=22078
2006-05-27 15:06:51 +00:00
Magnus Olsen
dcc771fae1
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
2006-05-27 14:15:04 +00:00
Hervé Poussineau
721ef792f3
Small fixes by w3seek
...
svn path=/trunk/; revision=22076
2006-05-27 14:04:08 +00:00
Magnus Olsen
ddeed65c6f
sorry for breaking the build, I did put in wrong version I should have retested it
...
svn path=/trunk/; revision=22075
2006-05-27 13:05:24 +00:00
Hervé Poussineau
2708096c09
Fix search of driver on removable media
...
svn path=/trunk/; revision=22074
2006-05-27 13:03:04 +00:00
Magnus Olsen
979f267d03
Bugfix environ so it does not allown = in environ name not even as frist char
...
svn path=/trunk/; revision=22073
2006-05-27 13:00:39 +00:00
Magnus Olsen
ce582d62b8
[AUDIT] after looking through code no signs of reverse engineering were found.
...
svn path=/trunk/; revision=22072
2006-05-27 12:59:10 +00:00
Magnus Olsen
8114bf89bb
[AUDIT] after looking through code no signs of reverse engineering were found.
...
svn path=/trunk/; revision=22071
2006-05-27 12:20:10 +00:00
Magnus Olsen
16e5818815
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
2006-05-27 11:37:44 +00:00
Magnus Olsen
a904d9f723
[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
2006-05-27 10:55:35 +00:00
Ged Murphy
2d0587fef2
- 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
2006-05-27 09:18:10 +00:00
Ged Murphy
5b5ec1b029
[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
2006-05-27 09:15:33 +00:00
Ged Murphy
02d5b02191
add some function definitions I've had floating about in my headers for a while.
...
svn path=/trunk/; revision=22066
2006-05-27 09:01:39 +00:00
Ged Murphy
21371fa12d
[AUDIT]
...
cat isn't a windows tool
svn path=/trunk/; revision=22065
2006-05-27 08:33:58 +00:00
Magnus Olsen
6734ad1c89
[AUDIT] after looking through code no signs of reverse engineering were found.
...
svn path=/trunk/; revision=22064
2006-05-26 22:48:25 +00:00
Magnus Olsen
4ab617ebb9
replace djgpp hell bugs fcvtbuf with project http://www.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
2006-05-26 19:23:34 +00:00
Magnus Olsen
1948e81384
fixing linux build
...
svn path=/trunk/; revision=22061
2006-05-26 19:10:33 +00:00
Magnus Olsen
2bc0dcfa46
[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
2006-05-26 18:51:58 +00:00
Steven Edwards
ff2ef467c0
sync lz32 winetest to 0.9.14
...
svn path=/trunk/; revision=22059
2006-05-26 18:14:28 +00:00
Steven Edwards
7ed8d3e325
added my own icmp test...this cannot possibly fail
...
svn path=/trunk/; revision=22058
2006-05-26 18:07:12 +00:00
Ged Murphy
672c492a1d
[AUDIT]
...
sndvol32.
declared clean by Thomas Weidenmueller
"It's not even functional" said Thomas. ;)
svn path=/trunk/; revision=22057
2006-05-26 18:02:20 +00:00
Steven Edwards
93ee7df2aa
sync ntdll tests to 0.9.14
...
svn path=/trunk/; revision=22056
2006-05-26 17:54:55 +00:00
Steven Edwards
6dcf87a3d9
remove another dud, sync psapi test to 0.9.14
...
svn path=/trunk/; revision=22055
2006-05-26 17:35:11 +00:00
Steven Edwards
0cdda064ca
sync the setupapi test to wine 0.9.14 and remove some files commited to the wrong folder
...
svn path=/trunk/; revision=22054
2006-05-26 17:30:43 +00:00
Steven Edwards
a8373ada71
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
2006-05-26 16:20:53 +00:00
Andrew Munger
6e538fae59
Bump trunk to 0.4.0, no turning back now.
...
svn path=/trunk/; revision=22052
2006-05-26 15:14:13 +00:00
Hervé Poussineau
57404cf7cf
Allow the user to specify a custom path for the driver when installing a new device
...
svn path=/trunk/; revision=22051
2006-05-26 10:16:27 +00:00
Hervé Poussineau
a10d9d8b2b
Of course, I forgot to commit the new file in revision 22049...
...
svn path=/trunk/; revision=22050
2006-05-25 23:34:41 +00:00