Commit graph

20721 commits

Author SHA1 Message Date
Magnus Olsen a4014404b7 redirect __p__tzname to _tzname, I copy the idea from wine, for they are doing same
svn path=/trunk/; revision=22164
2006-06-01 21:26:10 +00:00
Magnus Olsen 9391845416 redirect __p__mbctype to _mbctype, I copy the idea from wine, for they are doing same
svn path=/trunk/; revision=22162
2006-06-01 21:21:16 +00:00
Ged Murphy 21d8349b92 more gcc 4.1 fixes
svn path=/trunk/; revision=22161
2006-06-01 21:18:22 +00:00
Ged Murphy 2c1f99e2c2 fix build for w3seek and his gcc 4.1 crew ;)
svn path=/trunk/; revision=22160
2006-06-01 21:12:55 +00:00
Magnus Olsen f5276cb1a9 remove stub for _wenviron we already have it implement in crt.a
svn path=/trunk/; revision=22159
2006-06-01 21:05:53 +00:00
Hervé Poussineau fdd161b84d Don't free the string, as it is not ours
svn path=/trunk/; revision=22158
2006-06-01 19:55:28 +00:00
Ged Murphy e5a6d9a2cc - Temperarly add the screenshot app to the start menu
- Remove the existance checks for the games as they're part of ROS now.

svn path=/trunk/; revision=22157
2006-06-01 19:34:33 +00:00
Hervé Poussineau 4ac695afb3 Fix calculation of loss percentage
svn path=/trunk/; revision=22156
2006-06-01 18:27:08 +00:00
Magnus Olsen b1fe06cdfe fix so fread return right value of bytes/chars it reads
make one more wine test pass in msvcrt file

svn path=/trunk/; revision=22155
2006-06-01 18:20:34 +00:00
Christoph von Wittich 20c6fb757f -don't update the time in the DTP control when the user is about to change it
svn path=/trunk/; revision=22154
2006-06-01 18:06:25 +00:00
Magnus Olsen c82b31ff55 [AUDIT] this code is clear, if u look at djgpp fread u will see it base directly of it same struct and line out.
svn path=/trunk/; revision=22153
2006-06-01 17:42:00 +00:00
Ged Murphy 8e82082d2a add a really dodgy delete button. I'll replace all these buttons in due course.
svn path=/trunk/; revision=22152
2006-06-01 17:29:05 +00:00
Christoph von Wittich 99fea34218 -forgot to add world.bmp
svn path=/trunk/; revision=22151
2006-06-01 17:26:49 +00:00
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