Commit graph

20797 commits

Author SHA1 Message Date
Magnus Olsen
4eada6f8bd fixing malloc and realloc so it return right value
do not mix the doc over malloc and realloc. Thanks filip
<filip2307> malloc(0) -> valid buffer
<GreatLord> then I revert that change
<filip2307> realloc(<non-null pointer>, 0) -> NULL
<filip2307> realloc(NULL, 0) -> valid buffer

svn path=/trunk/; revision=22197
2006-06-03 17:40:23 +00:00
Magnus Olsen
f895d5ab82 Fix overflow caltions bugs in varus memmory functions, Thanks irc : Elrond (from TNG) for fixing calloc overflow bug.
svn path=/trunk/; revision=22196
2006-06-03 17:18:09 +00:00
Magnus Olsen
3b3b7ad5fd make malloc, calloc and some other function return NULL if size is 0
svn path=/trunk/; revision=22195
2006-06-03 13:22:11 +00:00
Magnus Olsen
19a69b58d8 [AUDIT] this code is clear, no signs of revers is found it is only around 2-3 line of each functions
svn path=/trunk/; revision=22194
2006-06-03 13:20:03 +00:00
Johannes Anderwald
e475b7f360 re-enable lock
svn path=/trunk/; revision=22193
2006-06-03 12:53:45 +00:00
Johannes Anderwald
9bd26230dd fix bug in CmiCreateHiveFreeCellList when a cell has size 0 which leads to inifite loop
fix bug in CmiCreateTempHive where only a pointer was allocated for the first cell but not object itself

svn path=/trunk/; revision=22192
2006-06-03 12:48:09 +00:00
Hervé Poussineau
21d98cbddd Fix some little bugs
svn path=/trunk/; revision=22191
2006-06-03 11:47:04 +00:00
Ged Murphy
97b1971025 [AUDIT]
umpnpmgr
Eric Kohl and Hervé Poussineau have both confirmed their contributions are clean. 
Eric also stated it was developed using information from the Samba project.

svn path=/trunk/; revision=22190
2006-06-03 11:30:13 +00:00
Ged Murphy
e018f1a8e1 [AUDIT]
services.exe
Eric Kohl and Filip Navara have both confirmed their contributions are clean. 
Public documentation, like "Inside Microsoft Windows 2000", and tests were used to implement it

svn path=/trunk/; revision=22189
2006-06-03 11:25:47 +00:00
James Tabor
3f8be13959 Fix compiling. Well for me anyway.
svn path=/trunk/; revision=22188
2006-06-03 07:00:09 +00:00
Aleksey Bragin
5e792878e0 Add forgotten KeAcquire/ReleaseQueuedSpinLock exported funcs to hal.def
svn path=/trunk/; revision=22187
2006-06-02 20:15:54 +00:00
Aleksey Bragin
43ac9dd900 [AUDIT]
halmp.dll
- Most functions are 2 lines
- And other funcs are simply UNIMPLEMENTED

svn path=/trunk/; revision=22186
2006-06-02 20:14:40 +00:00
Johannes Anderwald
404b530e5b return ERROR_INVALID_HANDLE when hKey is invalid
ReactOS passes now 88 of 89 advapi32_winetest registry tests

svn path=/trunk/; revision=22185
2006-06-02 19:02:21 +00:00
Ged Murphy
72af90afdf - remove all reliance on 'extern' data, using abstraction.
- store pointer to currently selected service in info struct so we don't have to keep calling it
- rewrite create.c making it more modular. Still has some missing features.
- lots of bugfixes and small improvements

svn path=/trunk/; revision=22184
2006-06-02 16:47:39 +00:00
Johannes Anderwald
01c01fafcd fix apps depending on INVALID_HANDLE_VALUE
bug report & patch by w3seek

svn path=/trunk/; revision=22179
2006-06-02 14:37:25 +00:00
Johannes Anderwald
449a2042e7 forgot header in last commit
bug report(1455) & patch by w3seek

svn path=/trunk/; revision=22178
2006-06-02 14:08:22 +00:00
Johannes Anderwald
42de812e46 always zero handle on return
ros now passes 87/89 advapi32_winetest registry tests
bug report & patch by w3seek

svn path=/trunk/; revision=22177
2006-06-02 14:05:38 +00:00
Hervé Poussineau
8410eccf06 By default, don't search a driver on removable media.
Do it only when choosing automatic install or selecting "Include removable media" in new hardware wizard

svn path=/trunk/; revision=22175
2006-06-02 13:43:02 +00:00
Hervé Poussineau
0e5ee8026d Implement CM_Add_IDA, CM_Add_IDW, CM_Add_ID_ExA
Add stub for CM_Add_ID_ExW

svn path=/trunk/; revision=22174
2006-06-02 11:17:37 +00:00
Johannes Anderwald
ee29d1d56c disable timer when user wants to set an alternative date -
enables setting time and fixes bug 1398
bug report by Coviti

svn path=/trunk/; revision=22173
2006-06-02 10:13:17 +00:00
Hervé Poussineau
7b66dbbc92 Extract some code from devinst.c to new files: devclass.c (device class functions), driver.c (Driver install/enumeration functions), interface.c (Interface install/enumeration functions)
devinst.c is now 123 Kb instead of 285 Kb.
No code change.

svn path=/trunk/; revision=22172
2006-06-02 09:06:05 +00:00
Hervé Poussineau
5049e0ee8f Change registry settings (related to revision 22169)
I'm not sure if this change is correct or if win32k has to be fixed.

svn path=/trunk/; revision=22170
2006-06-01 22:00:43 +00:00
Hervé Poussineau
9e908fc097 Store real parameters registry key in DEVICEMAP\VIDEO
Use it in win32k when loading and storing settings (SetupDevMode and IntChangeDisplaySettings)

svn path=/trunk/; revision=22169
2006-06-01 21:45:50 +00:00
Christoph von Wittich
e4c46fec65 -fix copy paste error (crypt32->cryptdll)
svn path=/trunk/; revision=22168
2006-06-01 21:38:07 +00:00
Christoph von Wittich
87a4f43e92 -added cryptdll to build
-added cryptdll.dll and usb.inf to bootcd

svn path=/trunk/; revision=22167
2006-06-01 21:36:42 +00:00
Ged Murphy
120aca25f3 First time import from wine-0.9.14
svn path=/trunk/; revision=22166
2006-06-01 21:30:02 +00:00
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