Magnus Olsen
b2c2d86a42
fixing one more of wine msvcrt printf test
...
svn path=/trunk/; revision=22219
2006-06-04 19:20:20 +00:00
Eric Kohl
0c13f30550
Add PNP_AddID stub and implement CM_Add_ID_ExW.
...
svn path=/trunk/; revision=22218
2006-06-04 19:12:58 +00:00
Aleksey Bragin
39635013ab
Add a little more tests for Mdl testing, only 1 failes in ReactOS currently
...
svn path=/trunk/; revision=22217
2006-06-04 18:27:48 +00:00
Art Yerkes
eac8defeed
Fix four winetests from msvcrt:file.c
...
- The winetests show that the pointer never moves after calling chsize.
- Using SetEndOfFile is the best way to do this. I wrote a test case that
uses WriteFile as we did before and it did not expand the file past eof.
svn path=/trunk/; revision=22216
2006-06-04 17:24:37 +00:00
Magnus Olsen
36329fccb0
[AUDIT] this code is clean, for it is from DJGPP
...
svn path=/trunk/; revision=22215
2006-06-04 17:22:12 +00:00
Magnus Olsen
5f286cc809
fixing 24 bugs in *printf string version. we are failing 34 test in wine_test msvcrt printf
...
svn path=/trunk/; revision=22214
2006-06-04 17:15:47 +00:00
Hervé Poussineau
1988057885
Fix call to IOCTL_SERIAL_PURGE
...
svn path=/trunk/; revision=22213
2006-06-04 16:32:54 +00:00
Hervé Poussineau
bfa0a5c6e1
Display an error message only if we're not in the "load only boot drivers" phase
...
svn path=/trunk/; revision=22212
2006-06-04 16:30:27 +00:00
Johannes Anderwald
18fbc81749
revert _strdate modifications
...
svn path=/trunk/; revision=22211
2006-06-04 14:24:45 +00:00
Aleksey Bragin
c4dded32e8
Fix some warnings
...
svn path=/trunk/; revision=22210
2006-06-04 14:24:08 +00:00
Aleksey Bragin
5eb09b8ac5
Delete unneeded makefile
...
svn path=/trunk/; revision=22209
2006-06-04 14:19:48 +00:00
Aleksey Bragin
42f34ff7ba
- Add csqtest to build-system
...
- Add initial Kernel-Mode regression testing framework (thanks to Filip Navara for his PnPTest, thanks to Alexandre Julliard for Wine regression testing framework). Framework consists of: the driver (kmtest.sys) and the loader (kmtloader.exe).
svn path=/trunk/; revision=22208
2006-06-04 14:18:24 +00:00
Hervé Poussineau
b5d6466d79
Convert result struct only if NtUserEnumDisplaySettings returned success
...
svn path=/trunk/; revision=22207
2006-06-04 14:10:21 +00:00
Hervé Poussineau
c373b8ba66
Don't crash when no working display adapter is present
...
svn path=/trunk/; revision=22206
2006-06-04 14:09:29 +00:00
Hervé Poussineau
cc12e88784
Convert result struct only if NtUserEnumDisplayDevices returned success
...
svn path=/trunk/; revision=22205
2006-06-04 13:36:39 +00:00
Johannes Anderwald
36c9262fd0
_strdate should return maximum 8 chars
...
does not work yet
svn path=/trunk/; revision=22204
2006-06-04 13:20:09 +00:00
Hervé Poussineau
8d494b3a7b
IntEnumDisplaySettings returns a BOOL, not a NTSTATUS
...
svn path=/trunk/; revision=22203
2006-06-04 13:09:25 +00:00
Johannes Anderwald
5c8fb36ad3
make _tfullpath pass all msvcrt_winetest dir tests
...
svn path=/trunk/; revision=22202
2006-06-04 10:23:28 +00:00
Magnus Olsen
9f044aa4d8
[AUDIT] this code is clear, no signs of revers is found it is only around 3-4 line of one function
...
svn path=/trunk/; revision=22201
2006-06-04 10:14:45 +00:00
Magnus Olsen
c92839403a
do not cuase crash in dhcp when no networkcard is found
...
svn path=/trunk/; revision=22200
2006-06-03 20:29:26 +00:00
Magnus Olsen
dd6d911c37
sorrry I did break the build
...
svn path=/trunk/; revision=22198
2006-06-03 17:45:07 +00:00
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