Magnus Olsen
fe3478c70d
small rewrite by me, pass wine test and no bugs in ungetc accroing wine test of msvcrt.
...
svn path=/trunk/; revision=22143
2006-06-01 09:26:32 +00:00
Magnus Olsen
2ac0c98f88
[AUDIT] this code is clear base from djgpp with small modifcation, and bugs as hell. Bugfix will folllow in next commit
...
svn path=/trunk/; revision=22142
2006-06-01 09:23:00 +00:00
Ged Murphy
53d25231b3
fix possible memory leak
...
svn path=/trunk/; revision=22136
2006-05-31 22:39:51 +00:00
Christoph von Wittich
5db3f178ac
-fixed bug 1513
...
-some changes to De.rc
svn path=/trunk/; revision=22129
2006-05-31 15:28:43 +00:00
Magnus Olsen
d16253dfa8
recommit french translatoins : patch from bug 1539 : the patch are provide by usurp
...
svn path=/trunk/; revision=22128
2006-05-31 15:18:02 +00:00
Johannes Anderwald
7325ddd1a4
add french translation
...
svn path=/trunk/; revision=22127
2006-05-31 15:04:01 +00:00
Hervé Poussineau
b22255488e
Fix BSOD in IntPrepareDriver (bug 1321)
...
svn path=/trunk/; revision=22126
2006-05-31 14:26:56 +00:00
Christoph von Wittich
d91dbeb60b
show Cancel button
...
svn path=/trunk/; revision=22125
2006-05-31 14:26:46 +00:00
Hervé Poussineau
c2f4c7bb97
Remove useless cast
...
svn path=/trunk/; revision=22124
2006-05-31 12:28:30 +00:00
Magnus Olsen
e6d8bd06e1
start implement WSHGetSockaddrType, it missing error code at return, and handling other struct and sockeradr_in.
...
Code was done by me and irc : Elrond (from TNG), Arty please check this, Other people test see if it works for u.
svn path=/trunk/; revision=22123
2006-05-31 07:56:39 +00:00
Ged Murphy
169ddbd12e
add screenshot app to bootcd
...
svn path=/trunk/; revision=22122
2006-05-30 21:12:31 +00:00
Ged Murphy
ec3eb0a18a
add a temp screenshot app in case I don't get time to stick it in win32k before 0.3.0 FF.
...
svn path=/trunk/; revision=22121
2006-05-30 21:11:41 +00:00
Aleksey Bragin
5c0154378a
- Unlock *.def file (it doesn't need to be audited)
...
- Patch by Andrey Korotaev: Fix wgl* function definitions
svn path=/trunk/; revision=22120
2006-05-30 21:01:24 +00:00
Hervé Poussineau
db04a303ee
Fix indentation by replacing tabs by spaces. No code change
...
svn path=/trunk/; revision=22119
2006-05-30 19:40:52 +00:00
Hervé Poussineau
e7b716926f
Fix installation from default directory (%SYSTEMROOT%\Inf).
...
Thanks WaxDragon for reporting.
svn path=/trunk/; revision=22118
2006-05-30 16:05:27 +00:00
Hervé Poussineau
862db2b603
Implement the Browse button, but it is not working well :(
...
svn path=/trunk/; revision=22117
2006-05-30 13:39:21 +00:00
Hervé Poussineau
c4c3ebf0ef
Remember custom paths entered in wizard
...
svn path=/trunk/; revision=22116
2006-05-30 10:13:47 +00:00
James Tabor
4c8a553e26
Implement NtGdiGetCharABCWidths. Not sure if the math is right. Tested with Lazarus IDE. It is completely based on Filip Navara work on NtGdiGetCharWidth32.
...
svn path=/trunk/; revision=22115
2006-05-30 06:50:03 +00:00
Ged Murphy
5e2e227e4a
change version text in line with new svn version
...
svn path=/trunk/; revision=22112
2006-05-29 16:20:45 +00:00
Hervé Poussineau
05875a2c6d
- Implement SetupCopyOEMInfW
...
- Correctly sort drivers by rank and by date
- Fix memory corruption if %SYSTEMROOT% was longer than 128 chars
svn path=/trunk/; revision=22109
2006-05-29 13:32:51 +00:00
Hervé Poussineau
d599ad5c78
Fix typo ("SetupDiGetDeviceRegistryProperty" -> "SetupDiInstallDevice" in debug message)
...
svn path=/trunk/; revision=22108
2006-05-29 13:30:50 +00:00
Magnus Olsen
e1e331508a
Hidden bug in our tcp/ip stack, at shutdown api the so can be NULL if that happen, ReactOS will bsod the tcp/ip stack.
...
Arty can u look if this changes is right if not revert it. This changes was tested in fireforx at http://www.mirc.com/get.html and try d/l mirc. This patch do not make firefox bsod, instead it genrate a long crash log at serial debug.
svn path=/trunk/; revision=22106
2006-05-29 12:43:01 +00:00
Magnus Olsen
f18d9585c3
revers r22073 and r22075 bugfix for envinmert for it break firefox, not tested in trunk, I tested to revers this change in r22075
...
svn path=/trunk/; revision=22105
2006-05-29 11:28:55 +00:00
Hervé Poussineau
64664422f4
Do the normal install before custom install actions.
...
So, we should get the right .inf filename in SP_DRVINFO_DETAIL_DATA.InfFileName, as it is modified if the file is copied to %SYSTEMROOT%/Inf
svn path=/trunk/; revision=22104
2006-05-29 11:09:54 +00:00
Hervé Poussineau
9d5ecbef5d
SP_DRVINFO_DETAIL_DATA_W.InfFileName must contain the full file name
...
Add SetupDiSelectDevice stub
svn path=/trunk/; revision=22103
2006-05-29 11:03:24 +00:00
Hervé Poussineau
427cba82bd
Don't stop the search after the first driver found. Next ones may be better
...
svn path=/trunk/; revision=22102
2006-05-29 09:36:26 +00:00
Hervé Poussineau
e798908f7e
Fix some whitespaces
...
Change swprintf by sprintfW
svn path=/trunk/; revision=22101
2006-05-29 08:55:08 +00:00
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