Wine-Devel
By thread
wine-devel@list.winehq.org
By month
Messages by month
- ----- 2026 -----
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2004 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2003 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2002 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2001 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
December 2002
- 132 participants
- 1012 messages
Re: Make RECT === RECTL, fix compile warnings, use uniform format
by Dimitrie O. Paun
On December 29, 2002 04:10 pm, Dan Kegel wrote:
> (BTW it might worth looking into a change to debugrect() to get
> its storage on the stack, in a local variable of the TRACE() macro.
> That'd avoid possible thread clashes (if you have too many threads,
> the current way debugrect() gets storage might break...))
Yes, in theory the current implementation has that problem, but
in practice is OK. And besides, it's for debugging only. But how
can you get that local var without changing the current interface?
--
Dimi.
Dec. 31, 2002
Re: stricmp
by Dimitrie O. Paun
On December 30, 2002 02:53 pm, Shachar Shemesh wrote:
> It seems that stricmp is not available for winelib applications. Is this
> an intentional ommision, or just a missing implementation?
It is if you link it against msvcrt:
include/msvcrt/string.h:#define stricmp _stricmp
If you use winegcc to compile your winelib app, just add
-mno-cygwin
to the command line, and that will cause it to use msvcrt
instead of the native libc.
--
Dimi.
Dec. 31, 2002
Re: Fixing include quotes (was: Re: conformance test for ShellExecute)
by Dimitrie O. Paun
On December 30, 2002 03:41 pm, Patrik Stridvall wrote:
> I'm already on it by improving winapi_cleanup.
Very well, I've put you up for it instead. But make sure
you don't over do it :) It seems to me the algo is simple
(if the include can not be accessed relative to the dir in
which the .c file is, change it to <>), and the operation
is really one time. So if you have something that works,
let's just get the patch (and here I'm referring to the one
that does the actual "" to <> change) in, and check this off.
--
Dimi.
Dec. 31, 2002
XP Conformance Test Results: Round 3...
by Kye Lewis
Windows XP Results: Round 3
More tests added. Some Previous tests fail differently.. 1 regression in
kernel32:locale as far as I can see...
=== advapi32_test ===
registry.c:96: Test failed: value set to 'xxxxxxxxxx' instead of 'Te'
registry.c:97: Test failed: data set to 'xxxxxxx' instead of 'foobar'
registry.c:111: Test failed: data set to 'xxxxxxx' instead of 'foobar'
registry: 56 tests executed, 0 marked as todo, 3 failures.
=== dsound_test ===
dsound: 63 tests executed, 0 marked as todo, 0 failures.
=== gdi32_test ===
generated: 2786 tests executed, 0 marked as todo, 0 failures.
=== kernel32_test ===
alloc: 58 tests executed, 0 marked as todo, 0 failures.
atom: 229398 tests executed, 0 marked as todo, 0 failures.
codepage: 2 tests executed, 0 marked as todo, 0 failures.
directory: 51 tests executed, 0 marked as todo, 0 failures.
drive: 156 tests executed, 0 marked as todo, 0 failures.
environ: 39 tests executed, 0 marked as todo, 0 failures.
file: 487239 tests executed, 0 marked as todo, 0 failures.
format_msg: 58 tests executed, 0 marked as todo, 0 failures.
generated: 609 tests executed, 0 marked as todo, 0 failures.
locale.c:154: Test failed: GetTimeFormat got '' instead of '4'
locale.c:155: Test failed: GetTimeFormat: got 1 instead of 2
locale.c:181: Test failed: GetTimeFormat got '8.@:56AM' instead of
'8.@:56.@:AM'
locale.c:182: Test failed: GetTimeFormat: got 9 instead of 12
locale.c:190: Test failed: GetTimeFormat got '' instead of '3'
locale.c:191: Test failed: GetTimeFormat: got 1 instead of 2
locale.c:474: Test failed: GetDateFormat got '5/4/2002' instead of
'5/4/02'
locale.c:475: Test failed: GetDateFormat: got 9 instead of 7
locale.c:499: Test failed: GetDateFormat check DATE_YEARMONTH with null
format expected ERROR_INVALID_FLAGS got return of '10' and error of '0'
locale.c:530: Test failed: GetDateFormatW allowed flags and format
locale.c:539: Test failed: GetDateFormatW did not permit null buffer
pointer when counting.
locale: 109 tests executed, 0 marked as todo, 11 failures.
path: 1730 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
(identical lines removed.)
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
process.c:378: Test failed: StartupInfoA:lpTitle expected
kernel32_test.exe process, got
C:\DOCUME~1\Owner\DESKTOP\WINETE~1\kernel32_test.exe
process.c:530: Test failed: StartupInfoA:lpTitle expected
kernel32_test.exe process, got
C:\DOCUME~1\Owner\DESKTOP\WINETE~1\kernel32_test.exe
process: 116 tests executed, 0 marked as todo, 2 failures.
thread: 112 tests executed, 0 marked as todo, 0 failures.
file: 2 tests executed, 0 marked as todo, 0 failures.
=== msvcrt_test ===
scanf: 8 tests executed, 0 marked as todo, 0 failures.
=== netapi32_test ===
access.c:110: Test failed: Bad Network Path: rc=0
access: 23 tests executed, 0 marked as todo, 1 failure.
apibuf: 15 tests executed, 0 marked as todo, 0 failures.
wksta: 14 tests executed, 0 marked as todo, 0 failures.
=== ntdll_test ===
error: 813 tests executed, 0 marked as todo, 0 failures.
rtlbitmap: 224 tests executed, 0 marked as todo, 0 failures.
rtlstr: 38 tests executed, 0 marked as todo, 0 failures.
=== oleaut32_test ===
safearray.c:131: Test failed: SAC(20,1,[1,0]), result 8, expected 0
safearray.c:131: Test failed: SAC(21,1,[1,0]), result 8, expected 0
safearray.c:131: Test failed: SAC(37,1,[1,0]), result 4, expected 0
safearray.c:131: Test failed: SAC(38,1,[1,0]), result 4, expected 0
safearray: 348 tests executed, 0 marked as todo, 4 failures.
======== Testing VarUI1FromXXX ========
vartest.c:1713:VarUI1FromI2: passing in NULL as return val makes it
crash, need to write proper test.
vartest.c:1797:
======== Testing VarUI2FromXXX ========
vartest.c:1802:VarUI2FromI2: passing in NULL as return val makes it
crash, needs to be fixed.
vartest.c:1873:
======== Testing VarUI4FromXXX ========
vartest.c:1876:VarUI4FromI2: passing in NULL as return val makes it
crash, implement me.
vartest.c:1951:
======== Testing VarI1FromXXX ========
vartest.c:2004:
======== Testing VarI2FromXXX ========
vartest.c:2047:
======== Testing VarI4FromXXX ========
vartest.c:2091:
======== Testing VarR4FromXXX ========
vartest.c:2138:
======== Testing VarR8FromXXX ========
vartest.c:2158:
======== Testing VarDateFromXXX ========
vartest.c:2208: Test failed: VarDateFromStr([7]="0.49") got 0.0340278
instead of 0.034028
vartest.c:2208: Test failed: VarDateFromStr([8]="0.5") got 0.00347222
instead of 0.003472
vartest.c:2208: Test failed: VarDateFromStr([9]="0.51") got 0.0354167
instead of 0.035417
vartest.c:2208: Test failed: VarDateFromStr([34]=" 1 2 ") got 37258
instead of 35797
vartest.c:2208: Test failed: VarDateFromStr([39]="1.2.3") got 0.0430903
instead of 0.04309
vartest.c:2208: Test failed: VarDateFromStr([69]=" 1999/
11/21 11 :11:11am") got 36485.5 instead of 36485.5
vartest.c:2208: Test failed: VarDateFromStr([70]="11/11/1999
11:11:11Am") got 36475.5 instead of 36475.5
vartest.c:2208: Test failed: VarDateFromStr([71]="11/11/1999
11:11:11PM") got 36476 instead of 36476
vartest.c:2208: Test failed: VarDateFromStr([73]="11/11/1999 0:0:11am")
got 36475 instead of 36475
vartest.c:2208: Test failed: VarDateFromStr([75]="11/11/1999
11:11:11am") got 36475.5 instead of 36475.5
vartest.c:2208: Test failed: VarDateFromStr([77]="11/11/1999 11:11AM")
got 36475.5 instead of 36475.5
vartest.c:2208: Test failed: VarDateFromStr([78]="11/11/1999 1AM") got
36475 instead of 36475
vartest.c:2208: Test failed: VarDateFromStr([80]="11/11/1999 11:11:11")
got 36475.5 instead of 36475.5
vartest.c:2208: Test failed: VarDateFromStr([89]="1 January 1999 11AM")
got 36161.5 instead of 36161.5
vartest.c:2208: Test failed: VarDateFromStr([90]="4AM 11/11/1999") got
36475.2 instead of 36475.2
vartest.c:2208: Test failed: VarDateFromStr([109]="1.5") got 0.0451389
instead of 0.045139
vartest.c:2208: Test failed: VarDateFromStr([110]="2.5") got 0.0868056
instead of 0.086806
vartest.c:2208: Test failed: VarDateFromStr([111]="3.5") got 0.128472
instead of 0.128472
vartest.c:2208: Test failed: VarDateFromStr([112]="4.5") got 0.170139
instead of 0.170139
vartest.c:2223:
======== Testing VarBoolFromXXX ========
vartest.c:2283:
======== Testing VarBSTRFromXXX ========
vartest.c:2308: Test failed: d is 7.65432e+015, should be cvt. to
7.65432198765432e+15, but return val is "7.65432198765432E+15"
vartest.c:2315: Test failed: d is -7.65432e+015, should be cvt. to
-7.65432198765432e+15, but return val is "-7.65432198765432E+15"
vartest.c:2308: Test failed: d is 8.76543e+016, should be cvt. to
8.76543219876543e+16, but return val is "8.76543219876543E+16"
vartest.c:2315: Test failed: d is -8.76543e+016, should be cvt. to
-8.76543219876543e+16, but return val is "-8.76543219876543E+16"
vartest.c:2308: Test failed: d is 9.87654e+017, should be cvt. to
9.87654321987654e+17, but return val is "9.87654321987654E+17"
vartest.c:2315: Test failed: d is -9.87654e+017, should be cvt. to
-9.87654321987654e+17, but return val is "-9.87654321987654E+17"
vartest.c:2308: Test failed: d is 1.98765e+018, should be cvt. to
1.98765432198765e+18, but return val is "1.98765432198765E+18"
vartest.c:2315: Test failed: d is -1.98765e+018, should be cvt. to
-1.98765432198765e+18, but return val is "-1.98765432198765E+18"
vartest.c:2308: Test failed: d is 2.19877e+019, should be cvt. to
2.19876543219877e+19, but return val is "2.19876543219877E+19"
vartest.c:2315: Test failed: d is -2.19877e+019, should be cvt. to
-2.19876543219877e+19, but return val is "-2.19876543219877E+19"
vartest.c:2359: Test failed: d is 7.65432e+015, should be cvt. to
7.65432198765432e+15, but return val is "7.65432198765432E+15"
vartest.c:2365: Test failed: d is -7.65432e+015, should be cvt. to
-7.65432198765432e+15, but return val is "-7.65432198765432E+15"
vartest.c:2359: Test failed: d is 8.76543e+016, should be cvt. to
8.76543219876543e+16, but return val is "8.76543219876543E+16"
vartest.c:2365: Test failed: d is -8.76543e+016, should be cvt. to
-8.76543219876543e+16, but return val is "-8.76543219876543E+16"
vartest.c:2359: Test failed: d is 9.87654e+017, should be cvt. to
9.87654321987654e+17, but return val is "9.87654321987654E+17"
vartest.c:2365: Test failed: d is -9.87654e+017, should be cvt. to
-9.87654321987654e+17, but return val is "-9.87654321987654E+17"
vartest.c:2359: Test failed: d is 1.98765e+018, should be cvt. to
1.98765432198765e+18, but return val is "1.98765432198765E+18"
vartest.c:2365: Test failed: d is -1.98765e+018, should be cvt. to
-1.98765432198765e+18, but return val is "-1.98765432198765E+18"
vartest.c:2359: Test failed: d is 2.19877e+019, should be cvt. to
2.19876543219877e+19, but return val is "2.19876543219877E+19"
vartest.c:2365: Test failed: d is -2.19877e+019, should be cvt. to
-2.19876543219877e+19, but return val is "-2.19876543219877E+19"
vartest.c:2382: Test failed: d is 8.76543e+007, should be cvt. to
8.765432e+07, but return val is "8.765432E+07"
vartest.c:2388: Test failed: d is -8.76543e+007, should be cvt. to
-8.765432e+07, but return val is "-8.765432E+07"
vartest.c:2382: Test failed: d is 9.87654e+008, should be cvt. to
9.876543e+08, but return val is "9.876543E+08"
vartest.c:2388: Test failed: d is -9.87654e+008, should be cvt. to
-9.876543e+08, but return val is "-9.876543E+08"
vartest.c:2382: Test failed: d is 1.98765e+009, should be cvt. to
1.987654e+09, but return val is "1.987654E+09"
vartest.c:2388: Test failed: d is -1.98765e+009, should be cvt. to
-1.987654e+09, but return val is "-1.987654E+09"
vartest.c:2408: Test failed: d is 0.2345, should be cvt. to 0.2345001,
but return val is "0.2345"
vartest.c:2432: Test failed: d is 654322, should be cvt. to 654322.2,
but return val is "654322.3"
vartest.c:2438: Test failed: d is -654322, should be cvt. to -654322.2,
but return val is "-654322.3"
vartest.c:2432: Test failed: d is 8.76543e+007, should be cvt. to
8.765432e+07, but return val is "8.765432E+07"
vartest.c:2438: Test failed: d is -8.76543e+007, should be cvt. to
-8.765432e+07, but return val is "-8.765432E+07"
vartest.c:2432: Test failed: d is 9.87654e+008, should be cvt. to
9.876543e+08, but return val is "9.876543E+08"
vartest.c:2438: Test failed: d is -9.87654e+008, should be cvt. to
-9.876543e+08, but return val is "-9.876543E+08"
vartest.c:2432: Test failed: d is 1.98765e+009, should be cvt. to
1.987654e+09, but return val is "1.987654E+09"
vartest.c:2438: Test failed: d is -1.98765e+009, should be cvt. to
-1.987654e+09, but return val is "-1.987654E+09"
vartest.c:2493:
======== Testing Hi-Level Variant API ========
vartest.c:2560: Test failed: should be 5/11/94 7:58:42 AM
vartest.c:2578:-------------- Testing different VARTYPES
----------------
vartest: 2281 tests executed, 0 marked as todo, 55 failures.
=== rpcrt4_test ===
rpc: 901 tests executed, 0 marked as todo, 0 failures.
=== shell32_test ===
generated: 272 tests executed, 0 marked as todo, 0 failures.
shlfileop.c:120: Test failed: Deletion was successful
shlfileop.c:122: Test failed: File should be removed
shlfileop.c:124: Test failed: Directory exists, but is not removed
shlfileop.c:129: Test failed: Directory removed
shlfileop.c:130: Test failed: Directory should be removed
shlfileop.c:132: Test failed: The requested file does not exist
shlfileop.c:286: Test failed: Files are copied to other directory
shlfileop.c:287: Test failed: The file is copied
shlfileop.c:316: Test failed: Files and directories are moved to
directory
shlfileop.c:317: Test failed: The file is moved
shlfileop.c:318: Test failed: The directory is moved
shlfileop.c:319: Test failed: The file in subdirectory is moved
shlfileop: 121 tests executed, 0 marked as todo, 12 failures.
=== shlwapi_test ===
clist.c:367: Test failed: allowed bad element size
clist.c:372: Test failed: allowed adding a container
clist: 236 tests executed, 0 marked as todo, 2 failures.
generated: 19 tests executed, 0 marked as todo, 0 failures.
shreg.c:171: Test failed: (44,43)
shreg.c:195: Test failed: (44,43)
shreg.c:205: Test failed: ()
shreg.c:206: Test failed: ()
shreg.c:207: Test failed: (44,43)
shreg.c:218: Test failed: (44,43)
shreg.c:240: Test failed: didn't open dest
shreg: 39 tests executed, 0 marked as todo, 7 failures.
=== urlmon_test ===
generated: 4 tests executed, 0 marked as todo, 0 failures.
=== user32_test ===
class: 80 tests executed, 0 marked as todo, 0 failures.
generated: 1524 tests executed, 0 marked as todo, 0 failures.
Sysparams:
win: 428 tests executed, 0 marked as todo, 0 failures.
wsprintf: 4 tests executed, 0 marked as todo, 0 failures.
=== wininet_test ===
generated: 252 tests executed, 0 marked as todo, 0 failures.
(Lines removed.)
http.c:172: Test failed: InternetQueryDataAvailable failed
(Lots more lines removed.)
http: 25 tests executed, 0 marked as todo, 1 failure.
=== winmm_test ===
wave: 149 tests executed, 0 marked as todo, 0 failures.
=== ws2_32_test ===
sock: 128 tests executed, 0 marked as todo, 0 failures.
Thanks,
Kye Lewis
LinksOS Project Administrator
LinksOS Web Team Leader
kyethespy(a)softhome.net
(New email address! kyethespy(a)liquid2k.comwill still work, but please
send all emails now to new email)
"640k ought to be enough for anyone!"
- Bill Gates
=================================
LinksOS: Linking you to the world
http://linksos.cjb.net
http://linksos.sourceforge.net/
http://linksos.oxygen-x.net/
Now with Bugzilla and phpBB installed :)
=================================
Dec. 31, 2002
Windows 2000 Pro conformance test update
by Dave Miller
Here is an update using precompiled binaries from 12/28/02. Not that dsound test complains msvcrtd.dll is missing on my system, and so has not been tested. I think this covers everything else missing or different from what is shown on the status page.
C:\winetests>gdi32_test.exe generated
generated: 2786 tests executed, 0 marked as todo, 0 failures.
C:\winetests>kernel32_test.exe generated
generated: 609 tests executed, 0 marked as todo, 0 failures.
C:\winetests>kernel32_test.exe generated
generated: 609 tests executed, 0 marked as todo, 0 failures.
C:\winetests>kernel32_test.exe locale
locale.c:154: Test failed: GetTimeFormat got '' instead of '4'
locale.c:155: Test failed: GetTimeFormat: got 1 instead of 2
locale.c:181: Test failed: GetTimeFormat got '8.@:56AM' instead of '8.@:56.@:AM'
locale.c:182: Test failed: GetTimeFormat: got 9 instead of 12
locale.c:190: Test failed: GetTimeFormat got '' instead of '3'
locale.c:191: Test failed: GetTimeFormat: got 1 instead of 2
locale.c:474: Test failed: GetDateFormat got '5/4/2002' instead of '5/4/02'
locale.c:475: Test failed: GetDateFormat: got 9 instead of 7
locale.c:499: Test failed: GetDateFormat check DATE_YEARMONTH with null format expected ERROR_INVALID_FLAGS got return of '10' and error of '0'
locale: 109 tests executed, 0 marked as todo, 9 failures.
C:\winetests>kernel32_test.exe path
path.c:514: Test failed: GetLongPathNameA: wrong return code, 97 instead of 42
path.c:881:TMP=C:\DOCUME~1\davidm\LOCALS~1\Temp
path.c:892:TMP=C:\WINNT
path.c:902:TMP=C:\
path.c:912:TMP=C:
path: 1730 tests executed, 0 marked as todo, 1 failure.
C:\winetests>kernel32_test.exe process
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
process.c:378: Test failed: StartupInfoA:lpTitle expected kernel32_test.exe process, got C:\winetests\kernel32_test.exe
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.process.c:530: Test failed: StartupInfoA:lpTitle expected kernel32_test.exe process, got C:\winetests\kernel32_test.exe
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
process: 116 tests executed, 0 marked as todo, 2 failures.
C:\winetests>msvcrt_test.exe file
file: 2 tests executed, 0 marked as todo, 0 failures.
C:\winetests>msvcrt_test.exe scanf
scanf: 8 tests executed, 0 marked as todo, 0 failures.
C:\winetests>ntdll_test.exe error
error: 813 tests executed, 0 marked as todo, 0 failures.
C:\winetests>ntdll_test.exe generated
generated: 1279 tests executed, 0 marked as todo, 0 failures.
C:\winetests>ntdll_test.exe rtlbitmap
rtlbitmap: 201 tests executed, 0 marked as todo, 0 failures.
C:\winetests>ntdll_test.exe rtlstr
rtlstr: 38 tests executed, 0 marked as todo, 0 failures.
C:\winetests>oleaut32_test.exe safearray
safearray: 348 tests executed, 0 marked as todo, 0 failures.
C:\winetests>oleaut32_test.exe vartest
vartest.c:1707:
======== Testing VarUI1FromXXX ========
vartest.c:1713:VarUI1FromI2: passing in NULL as return val makes it crash, needto write proper test.
vartest.c:1797:
======== Testing VarUI2FromXXX ========
vartest.c:1802:VarUI2FromI2: passing in NULL as return val makes it crash, needs to be fixed.
vartest.c:1873:
======== Testing VarUI4FromXXX ========
vartest.c:1876:VarUI4FromI2: passing in NULL as return val makes it crash, implement me.
vartest.c:1951:
======== Testing VarI1FromXXX ========
vartest.c:2004:
======== Testing VarI2FromXXX ========
vartest.c:2047:
======== Testing VarI4FromXXX ========
vartest.c:2091:
======== Testing VarR4FromXXX ========
vartest.c:2138:
======== Testing VarR8FromXXX ========
vartest.c:2158:
======== Testing VarDateFromXXX ========
vartest.c:2208: Test failed: VarDateFromStr([7]="0.49") got 0.0340278 instead of 0.034028
vartest.c:2208: Test failed: VarDateFromStr([8]="0.5") got 0.00347222 instead of 0.003472
vartest.c:2208: Test failed: VarDateFromStr([9]="0.51") got 0.0354167 instead of 0.035417
vartest.c:2208: Test failed: VarDateFromStr([34]=" 1 2 ") got 37258 instead of 35797
vartest.c:2208: Test failed: VarDateFromStr([39]="1.2.3") got 0.0430903 insteadof 0.04309
vartest.c:2208: Test failed: VarDateFromStr([69]=" 1999/ 11/21 11 :11:11am") got 36485.5 instead of 36485.5
vartest.c:2208: Test failed: VarDateFromStr([70]="11/11/1999 11:11:11Am") got 36475.5 instead of 36475.5
vartest.c:2208: Test failed: VarDateFromStr([71]="11/11/1999 11:11:11PM") got 36476 instead of 36476
vartest.c:2208: Test failed: VarDateFromStr([73]="11/11/1999 0:0:11am") got 36475 instead of 36475
vartest.c:2208: Test failed: VarDateFromStr([75]="11/11/1999 11:11:11am") got 36475.5 instead of 36475.5
vartest.c:2208: Test failed: VarDateFromStr([77]="11/11/1999 11:11AM") got 36475.5 instead of 36475.5
vartest.c:2208: Test failed: VarDateFromStr([78]="11/11/1999 1AM") got 36475 instead of 36475
vartest.c:2208: Test failed: VarDateFromStr([80]="11/11/1999 11:11:11") got 36475.5 instead of 36475.5
vartest.c:2208: Test failed: VarDateFromStr([89]="1 January 1999 11AM") got 36161.5 instead of 36161.5
vartest.c:2208: Test failed: VarDateFromStr([90]="4AM 11/11/1999") got 36475.2 instead of 36475.2
vartest.c:2208: Test failed: VarDateFromStr([109]="1.5") got 0.0451389 instead of 0.045139
vartest.c:2208: Test failed: VarDateFromStr([110]="2.5") got 0.0868056 instead of 0.086806
vartest.c:2208: Test failed: VarDateFromStr([111]="3.5") got 0.128472 instead of 0.128472
vartest.c:2208: Test failed: VarDateFromStr([112]="4.5") got 0.170139 instead of 0.170139
vartest.c:2223:
======== Testing VarBoolFromXXX ========
vartest.c:2283:
======== Testing VarBSTRFromXXX ========
vartest.c:2308: Test failed: d is 7.65432e+015, should be cvt. to 7.65432198765432e+15, but return val is "7.65432198765432E+15"
vartest.c:2315: Test failed: d is -7.65432e+015, should be cvt. to -7.65432198765432e+15, but return val is "-7.65432198765432E+15"
vartest.c:2308: Test failed: d is 8.76543e+016, should be cvt. to 8.76543219876543e+16, but return val is "8.76543219876543E+16"
vartest.c:2315: Test failed: d is -8.76543e+016, should be cvt. to -8.76543219876543e+16, but return val is "-8.76543219876543E+16"
vartest.c:2308: Test failed: d is 9.87654e+017, should be cvt. to 9.87654321987654e+17, but return val is "9.87654321987654E+17"
vartest.c:2315: Test failed: d is -9.87654e+017, should be cvt. to -9.87654321987654e+17, but return val is "-9.87654321987654E+17"
vartest.c:2308: Test failed: d is 1.98765e+018, should be cvt. to 1.98765432198765e+18, but return val is "1.98765432198765E+18"
vartest.c:2315: Test failed: d is -1.98765e+018, should be cvt. to -1.98765432198765e+18, but return val is "-1.98765432198765E+18"
vartest.c:2308: Test failed: d is 2.19877e+019, should be cvt. to 2.19876543219877e+19, but return val is "2.19876543219877E+19"
vartest.c:2315: Test failed: d is -2.19877e+019, should be cvt. to -2.19876543219877e+19, but return val is "-2.19876543219877E+19"
vartest.c:2359: Test failed: d is 7.65432e+015, should be cvt. to 7.65432198765432e+15, but return val is "7.65432198765432E+15"
vartest.c:2365: Test failed: d is -7.65432e+015, should be cvt. to -7.65432198765432e+15, but return val is "-7.65432198765432E+15"
vartest.c:2359: Test failed: d is 8.76543e+016, should be cvt. to 8.76543219876543e+16, but return val is "8.76543219876543E+16"
vartest.c:2365: Test failed: d is -8.76543e+016, should be cvt. to -8.76543219876543e+16, but return val is "-8.76543219876543E+16"
vartest.c:2359: Test failed: d is 9.87654e+017, should be cvt. to 9.87654321987654e+17, but return val is "9.87654321987654E+17"
vartest.c:2365: Test failed: d is -9.87654e+017, should be cvt. to -9.87654321987654e+17, but return val is "-9.87654321987654E+17"
vartest.c:2359: Test failed: d is 1.98765e+018, should be cvt. to 1.98765432198765e+18, but return val is "1.98765432198765E+18"
vartest.c:2365: Test failed: d is -1.98765e+018, should be cvt. to -1.98765432198765e+18, but return val is "-1.98765432198765E+18"
vartest.c:2359: Test failed: d is 2.19877e+019, should be cvt. to 2.19876543219877e+19, but return val is "2.19876543219877E+19"
vartest.c:2365: Test failed: d is -2.19877e+019, should be cvt. to -2.19876543219877e+19, but return val is "-2.19876543219877E+19"
vartest.c:2382: Test failed: d is 8.76543e+007, should be cvt. to 8.765432e+07,but return val is "8.765432E+07"
vartest.c:2388: Test failed: d is -8.76543e+007, should be cvt. to -8.765432e+07, but return val is "-8.765432E+07"
vartest.c:2382: Test failed: d is 9.87654e+008, should be cvt. to 9.876543e+08,but return val is "9.876543E+08"
vartest.c:2388: Test failed: d is -9.87654e+008, should be cvt. to -9.876543e+08, but return val is "-9.876543E+08"
vartest.c:2382: Test failed: d is 1.98765e+009, should be cvt. to 1.987654e+09,but return val is "1.987654E+09"
vartest.c:2388: Test failed: d is -1.98765e+009, should be cvt. to -1.987654e+09, but return val is "-1.987654E+09"
vartest.c:2408: Test failed: d is 0.2345, should be cvt. to 0.2345001, but return val is "0.2345"
vartest.c:2432: Test failed: d is 654322, should be cvt. to 654322.2, but return val is "654322.3"
vartest.c:2438: Test failed: d is -654322, should be cvt. to -654322.2, but return val is "-654322.3"
vartest.c:2432: Test failed: d is 8.76543e+007, should be cvt. to 8.765432e+07,but return val is "8.765432E+07"
vartest.c:2438: Test failed: d is -8.76543e+007, should be cvt. to -8.765432e+07, but return val is "-8.765432E+07"
vartest.c:2432: Test failed: d is 9.87654e+008, should be cvt. to 9.876543e+08,but return val is "9.876543E+08"
vartest.c:2438: Test failed: d is -9.87654e+008, should be cvt. to -9.876543e+08, but return val is "-9.876543E+08"
vartest.c:2432: Test failed: d is 1.98765e+009, should be cvt. to 1.987654e+09,but return val is "1.987654E+09"
vartest.c:2438: Test failed: d is -1.98765e+009, should be cvt. to -1.987654e+09, but return val is "-1.987654E+09"
vartest.c:2493:
======== Testing Hi-Level Variant API ========
vartest.c:2560: Test failed: should be 5/11/94 7:58:42 AM
vartest.c:2578:-------------- Testing different VARTYPES ----------------
vartest: 2281 tests executed, 0 marked as todo, 55 failures.
C:\winetests>shell32_test.exe generated
generated: 272 tests executed, 0 marked as todo, 0 failures.
C:\winetests>shlwapi_test.exe clist
clist: 236 tests executed, 0 marked as todo, 0 failures.
C:\winetests>shlwapi_test.exe generated
generated: 19 tests executed, 0 marked as todo, 0 failures.
C:\winetests>urlmon_test.exe generated
generated: 4 tests executed, 0 marked as todo, 0 failures.
C:\winetests>user32_test.exe generated
generated: 1524 tests executed, 0 marked as todo, 0 failures.
C:\winetests>user32_test.exe win
win.c:132:main window 001F00FC main2 001E0104 desktop 0001000C child 001E0108
win.c:148:created child 001C00BA
win.c:161:created child of desktop 001D00BA
win.c:171:created child of child 001E00BA
win.c:181:created top-level 001F00BA
win.c:191:created owned top-level 002000BA
win.c:201:created popup 002100BA
win.c:211:created owned popup 002200BA
win.c:221:created top-level owned by child 002300BA
win.c:227:created popup owned by desktop 002400BA
win.c:233:created popup owned by child 002500BA
win.c:239:created WS_CHILD popup 002600BA
win.c:245:created owned WS_CHILD popup 002700BA
win.c:250:testing parent changes
win.c:262:created child 002800BA
win.c:288:created top-level 002900BA
win.c:305:created popup 002A00BA
win.c:322:created child 002B00BA
win.c:339:created top-level 002C00BA
win.c:348:created owned popup 002D00BA
win.c:364:created owner 002E00BA and popup 001D011A
win.c:378:created owner 001E011A and popup 002F00BA
win.c:386:created owner 001F011A and popup 003000BA
win: 428 tests executed, 0 marked as todo, 0 failures.
C:\winetests>user32_test.exe sysparams
sysparams.c:184:testing SPI_{GET,SET}BEEP
sysparams.c:306:testing SPI_{GET,SET}MOUSE
sysparams.c:374:testing SPI_{GET,SET}BORDER
sysparams.c:170: Test failed: Wrong value in registry: subKey=Control Panel\Desktop, valName=BorderWidth, testValue=1, value=
sysparams.c:170: Test failed: Wrong value in registry: subKey=Control Panel\Desktop, valName=BorderWidth, testValue=0, value=
sysparams.c:139: Test failed: Missed a message: change_counter=2
sysparams.c:170: Test failed: Wrong value in registry: subKey=Control Panel\Desktop, valName=BorderWidth, testValue=7, value=
sysparams.c:170: Test failed: Wrong value in registry: subKey=Control Panel\Desktop, valName=BorderWidth, testValue=20, value=
sysparams.c:406:testing SPI_{GET,SET}KEYBOARDSPEED
sysparams.c:139: Test failed: Missed a message: change_counter=2
sysparams.c:440:testing SPI_ICONHORIZONTALSPACING
sysparams.c:170: Test failed: Wrong value in registry: subKey=Control Panel\Desktop, valName=IconSpacing, testValue=101, value=
sysparams.c:170: Test failed: Wrong value in registry: subKey=Control Panel\Desktop, valName=IconSpacing, testValue=32, value=
sysparams.c:480:testing SPI_{GET,SET}SCREENSAVETIMEOUT
sysparams.c:515:testing SPI_{GET,SET}SCREENSAVEACTIVE
sysparams.c:555:testing SPI_{GET,SET}KEYBOARDDELAY
sysparams.c:590:testing SPI_ICONVERTICALSPACING
sysparams.c:170: Test failed: Wrong value in registry: subKey=Control Panel\Desktop, valName=IconVerticalSpacing, testValue=101, value=
sysparams.c:170: Test failed: Wrong value in registry: subKey=Control Panel\Desktop, valName=IconVerticalSpacing, testValue=32, value=
sysparams.c:635:testing SPI_{GET,SET}ICONTITLEWRAP
sysparams.c:170: Test failed: Wrong value in registry: subKey=Control Panel\Desktop, valName=IconTitleWrap, testValue=1, value=
sysparams.c:170: Test failed: Wrong value in registry: subKey=Control Panel\Desktop, valName=IconTitleWrap, testValue=0, value=
sysparams.c:670:testing SPI_{GET,SET}MENUDROPALIGNMENT
sysparams.c:707:testing SPI_SETDOUBLECLKWIDTH
sysparams.c:738:testing SPI_SETDOUBLECLKHEIGHT
sysparams.c:770:testing SPI_SETDOUBLECLICKTIME
sysparams.c:817:testing SPI_SETMOUSEBUTTONSWAP
sysparams.c:880:testing SPI_{GET,SET}DRAGFULLWINDOWS
sysparams.c:915:testing SPI_{GET,SET}WORKAREA
sysparams.c:953:testing SPI_{GET,SET}SHOWSOUNDS
sysparams.c:997:testing SPI_{GET,SET}DESKWALLPAPER
sysparams.c:170: Test failed: Wrong value in registry: subKey=Control Panel\Desktop, valName=Wallpaper, testValue=, value=(None)
sysparams: 318 tests executed, 0 marked as todo, 13 failures.
C:\winetests>wininet_test.exe generated
generated: 252 tests executed, 0 marked as todo, 0 failures.
C:\winetests>wininet_test.exe http
<Ouput snipped>
http: 24 tests executed, 0 marked as todo, 0 failures.
Dec. 30, 2002
RE: Fixing include quotes (was: Re: conformance test for ShellExecute)
by Patrik Stridvall
> "--include-qoutes" needs to be "--include-quotes"
> ^^ ^^
> This is incorrect in both the message and the patch.
Ah. Thanks. :-)
Somehow I can never learn that to spell the quo* words
correctly. I always seem to believe it is spelled qou*.
Despite working with Unix more than 10 year I STILL frequently
type "qouta" instead of "quota" when I wish to check for
available quota. I probably mistyped it over 100 times during
these years but I never seem to learn. Unlearning/relearning
some things are hard... :-)
Anyway. Here is the patch again with this fixed (hopefully).
*** winapi_cleanup
* tools/winapi_check/nativeapi.pm,
tools/winapi/winapi_cleanup,
tools/winapi/winapi_cleanup_options.pm:
Added --include-quotes option that fixes #include
to use the correct of <> and "".
Dec. 30, 2002
RE: Fixing include quotes (was: Re: conformance test for ShellExecute)
by Jeff Smith
"--include-qoutes" needs to be "--include-quotes"
^^ ^^
This is incorrect in both the message and the patch.
-- Jeff S
>From: "Patrik Stridvall" <ps(a)leissner.se>
>
>I'm already on it by improving winapi_cleanup.
>
>I'm not 100% sure it is correct though and I havn't any time to
>work on it until after new year so here is what I currently got.
>
>Alexandre: You can apply it as it is regardless. It it off by default
>so it can't hurt.
>
>Use it like:
>winapi_cleanup --include-qoutes
>
>Note that you can also do on specific directories by specifing them
>on the command line.
>
>Like:
>winapi_cleanup --include-qoutes include dlls
>
>
><< winapi_cleanup.diff >>
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Dec. 30, 2002
Re: tests: ok(0,"foo") prints a '\n'!
by Glen
Francois Gouget wrote:
>So if noone objects I'll send a patch that stops 'ok' from appending
>this '\n', and adds a '\n' to all calls to ok. Actually, I would be
>pretty happy if someone could come up with a perl script doing the
>latter...
>
>
I came up with a perl script that does what you want. It may not be
perfect though so use it with caution.
Enjoy,
Glen Kaukola
#!/usr/bin/perl
sub fix_oks
{
my $c_file = $_[0];
open(FILE_HANDLE, "<$c_file") or die("Error opening file $c_file\n");
my @contents = <FILE_HANDLE>;
close(FILE_HANDLE);
#add a new line to the end of any ok calls we find
s/(.*)(\bok\(.*)([^\"])(^\"*)(\")(.*)/$1$2$3$4\\n$5$6/g for @contents;
open(FILE_HANDLE, ">$c_file");
print(FILE_HANDLE @contents);
close(FILE_HANDLE);
}
sub do_current_dir
{
my $i = 0;
#get the current directory's listing
opendir(DIR_HANDLE, ".") or die("Error opening $directory\n");
my @dir_listing = grep { !/^\.\.?/ } readdir(DIR_HANDLE);
closedir(DIR_HANDLE);
#for each file in the directory
while($dir_listing[$i])
{
#if a directory is found then do that one too
if(-d $dir_listing[$i])
{
chdir $dir_listing[$i];
do_current_dir();
chdir "..";
}
#if it's a c file then fix the calls to ok
if($dir_listing[$i] =~ /\.c$/)
{
fix_oks($dir_listing[$i]);
}
$i++;
}
}
do_current_dir();
Dec. 30, 2002
RE: Fixing include quotes (was: Re: conformance test for ShellExecute)
by Patrik Stridvall
> On December 30, 2002 12:43 pm, Dan Kegel wrote:
> > OK, maybe that's another janitorial project I can take on.
>
> You asked for it! :)
> http://www.dssd.ca/wine/Wine-Janitorial.html#include-quotes
I'm already on it by improving winapi_cleanup.
I'm not 100% sure it is correct though and I havn't any time to
work on it until after new year so here is what I currently got.
Alexandre: You can apply it as it is regardless. It it off by default
so it can't hurt.
Use it like:
winapi_cleanup --include-qoutes
Note that you can also do on specific directories by specifing them
on the command line.
Like:
winapi_cleanup --include-qoutes include dlls
Dec. 30, 2002
stricmp
by Shachar Shemesh
Hi,
It seems that stricmp is not available for winelib applications. Is this
an intentional ommision, or just a missing implementation?
Shachar
Dec. 30, 2002