Commit graph

20608 commits

Author SHA1 Message Date
Hervé Poussineau 4123274547 If the section name contained a dot, sometimes the right section to install was not found
svn path=/trunk/; revision=22150
2006-06-01 17:08:28 +00:00
Ged Murphy 68f041d222 hmm, tortoise is messing me about ;)
svn path=/trunk/; revision=22149
2006-06-01 16:47:11 +00:00
Ged Murphy 520bbfd043 - Start a complete overhaul of servman, using abstraction instead of the old messy way.
- Far to many changes to list, so I'm not even gonna even try ;)

svn path=/trunk/; revision=22148
2006-06-01 16:42:08 +00:00
Christoph von Wittich 130257e46c -forgot to check lpDrawItem->CtlID
svn path=/trunk/; revision=22147
2006-06-01 16:34:53 +00:00
Hervé Poussineau bf90c28bb1 Amovible devices should be checked when doing automatic install
svn path=/trunk/; revision=22146
2006-06-01 16:25:15 +00:00
Christoph von Wittich 76aa2a4fa3 -added a worldmap picture (source: http://en.wikipedia.org/wiki/Image:Earth_satellite_plane.jpg)
svn path=/trunk/; revision=22145
2006-06-01 16:25:13 +00:00
Magnus Olsen f1fe768fa8 Sorry I did wrong calc of the position of ungetc did not think of TCHAR size.
svn path=/trunk/; revision=22144
2006-06-01 09:38:11 +00:00
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