Commit graph

7123 commits

Author SHA1 Message Date
David Miller
09901d5927 Removed explicit ordinals. 2003-12-30 19:14:11 +00:00
Lionel Ulmer
266223ddf1 Also remove in the D3D code the pedantic check on the GetProcAddress
extension.
2003-12-30 19:13:32 +00:00
Robert Shearman
3f854103ad - Fix IGraphBuilder::ConnectDirect.
- Register IFilterMapper and IFilterMapper2 in DllRegisterServer.
2003-12-30 19:13:05 +00:00
Rein Klazes
66e5a82c15 When a directory is entered in the 16 bits file dialog, it should not
be returned the user. Instead the directory must be changed and the
dialog work from there.
2003-12-30 19:10:53 +00:00
Duane Clark
88c25c86e5 Reinitialize thumb when trackbar size is changed. 2003-12-30 19:10:15 +00:00
Ferenc Wagner
d8e98d3a0a Fix undeleted temporary file.
Correct error messages and comments, break long lines.
2003-12-30 19:09:08 +00:00
Marcus Meissner
e12ef562a8 Dimensions with cElements=0 are valid and needed by InstallShield.
SafeArrayGetElement: fixed BSTR and LPUNKNOWN handling.
Added testcases for above cases.
2003-12-30 19:06:41 +00:00
Marcus Meissner
09c8cc97f7 Added more argument numbers for _invoke(). 2003-12-30 19:06:21 +00:00
Jon Griffiths
b3401e66a3 I8/UI8 are accepted in arrays in recent native dlls.
Test UDTs, array coercion and new functions.
2003-12-15 21:11:25 +00:00
Jon Griffiths
d95ee19dfd Use the SafeArray conversion functions when coercing arrays.
Simplify VariantChangeTypeEx.
Replace calls to dump_Variant() with TRACE's.
2003-12-15 21:10:53 +00:00
Jon Griffiths
c2d6a6b451 Rewrite: Support I8/UI8,RECORD.
Store array bounds in the same order as native.
Add CreateEx, CreateVectorEx, VectorFromBstr, BstrFromVector.
2003-12-15 21:08:42 +00:00
Uwe Bonnes
545a3b7118 Patch and test for scanf %i. 2003-12-15 21:06:19 +00:00
Hans Leidekker
73593d7eed Check if a function exists before testing it. 2003-12-15 20:18:50 +00:00
Dmitry Timoshkov
06464999f1 Implement support for many MCIWndClass MCI_ and MCIWNDM_ messages.
Convert MCIWndClass implementation to unicode.
2003-12-15 20:17:11 +00:00
Hans Leidekker
513670551b MoveFile returns ERROR_ALREADY_EXISTS, not ERROR_FILE_EXISTS. 2003-12-15 20:15:20 +00:00
Marcus Meissner
cf50f9a04e Implemented VarInt, VarPow.
Added R4 (float) support to VarAdd.
Added DATE support to VarSub.
2003-12-15 20:14:32 +00:00
Steven Edwards
6bbba607c9 Porting fix for winmm resources (patch by Filip Navara). 2003-12-15 19:52:14 +00:00
Hans Leidekker
9f12d22657 [Global|Local]ReAlloc don't fail with size 0.
Fixed typos.
2003-12-15 19:51:17 +00:00
Marcus Meissner
7d7ce505f4 Older versions of freetype do not have FT_Get_First_Char. 2003-12-15 19:50:59 +00:00
Marcus Meissner
20c338acd2 Explicitly clear vm86 flag in DIOCRegs_2_CONTEXT. 2003-12-15 19:50:22 +00:00
Ferenc Wagner
20c1d1e0f9 Added snprintf test. 2003-12-15 19:50:05 +00:00
Steven Edwards
7803bb5e5a Porting fix. 2003-12-15 19:49:34 +00:00
Martin Fuchs
499519d5d3 Added include of "wine/port.h" for MSVC. 2003-12-15 19:48:52 +00:00
Christian Costa
00bfb75485 Exported widMessage function. 2003-12-15 19:48:15 +00:00
Marcus Meissner
30ccb3bd22 Yet another useful hint for missing stdole32.tlb. 2003-12-15 19:47:51 +00:00
Uwe Bonnes
599c4522a8 HTTP_DealWithProxy: Only add http:// to proxy string when needed. 2003-12-15 19:47:31 +00:00
Marcus Meissner
2567881312 Do not clear the pointer we just allocated, just the first byte it
points to.
2003-12-15 19:47:10 +00:00
Marcus Meissner
34528b91a9 Fixed potentially uninitialised sz. 2003-12-15 19:46:51 +00:00
Ge van Geldorp
d1632bf652 Pass dtp parameter on from DrawTextExA to DrawTextExW. 2003-12-13 03:25:57 +00:00
Aric Stewart
3dc71b65a7 Better handling of some service functions. 2003-12-13 03:25:37 +00:00
Alexandre Julliard
8543a5db9a Added exception handlers in FindResourceExA/W (based on a patch by
Richard Cohen).
2003-12-13 01:36:14 +00:00
Francois Gouget
8f63a714b2 Try not to display uninitialized data in traces (found by Valgrind). 2003-12-13 01:34:40 +00:00
Mike Hearn
a25b352f47 Remove flat scrollbar stub fixmes. 2003-12-13 01:33:51 +00:00
Steven Edwards
26aa197552 Added implib rule for building import libs. 2003-12-13 01:33:19 +00:00
Jerry Jenkins
4e6fab5349 Fix managed state of some windows. 2003-12-13 00:05:53 +00:00
Andrew de Quincey
eb4d6e079d - Implemented HELPDIR subkeys properly in RegisterTypeLib().
- Implemented UnRegisterTypeLib().
- Fixed various minor bugs.
2003-12-13 00:04:06 +00:00
Kirill Smelkov
12b36ecb4a Added CreateAsyncBindCtx and IsAsyncMoniker stubs. 2003-12-13 00:03:30 +00:00
Alexandre Julliard
65ff814617 Return an error in wine_pthread_mutex_unlock if we don't own the
critical section, this should avoid trouble caused by a locking bug
inside Xlib.
2003-12-12 06:19:25 +00:00
Steven Edwards
c49064a838 - The last of the major Win16/32 split for commdlg (for real this
time).
- Moved most of the 16bit stuff to cdlg16.h.
- A few small cleanups.
2003-12-12 06:09:13 +00:00
Alexandre Julliard
54b951a480 Make Char{Lower,Upper}A call Char{Lower,Upper}BuffA.
Small optimization to avoid a memory allocation.
Fixed sign extension in Char{Lower,Upper}A (reported by Andreas
Rosenberg).
2003-12-12 06:07:28 +00:00
Alexandre Julliard
6fee8c95b2 Avoid long long constants (reported by Gerald Pfeifer).
Added a few missing parentheses in macros.
2003-12-12 06:02:31 +00:00
Robert Shearman
fa7d78f118 - Url Cache improvements.
- In Internet{Set,Query}Option functions, hInternet can be NULL.
- Add traces to Internet* functions.
2003-12-12 06:01:20 +00:00
Vik Kumar
755762426c Added eucJP charset. 2003-12-12 05:59:54 +00:00
Vik Kumar
103f9893ca Font changes from MS P Gothic to MS UI Gothic. 2003-12-12 05:59:14 +00:00
Vik Kumar
7ad932efda Added Japanese translation. 2003-12-12 05:57:22 +00:00
Jon Griffiths
ae0ca56453 Added RtlNtStatusToDosErrorNoTeb, RtlGet/Set/RestoreLastWin32Error,
RtlGUIDFromString, RtlStringFromGUID.
2003-12-12 05:56:44 +00:00
Jeremy Shaw
f7cae99969 Move the data around when the ring buffer is resized so that the empty
messages are between the tosave and toget indexes.
2003-12-12 05:55:26 +00:00
Eric Pouech
1da37e6ac4 Moved all remaining console related code to dlls/kernel directory. 2003-12-12 04:10:52 +00:00
Gerald Pfeifer
15be906293 Fix types in WSAHtonl. 2003-12-12 04:09:46 +00:00
Alexandre Julliard
bd13ab8d78 Store a pointer to the client-side class structure in the server and
return it on create_window and destroy_class.
Only create a single instance of the desktop class for the whole
session.
Added some missing locking in the client-side class management.
2003-12-11 05:34:53 +00:00
Jon Griffiths
97fc6c3a06 Oops - VT_EMPTY->VT_RECORD is not allowed. 2003-12-11 05:25:59 +00:00
Jon Griffiths
17ce98503b Test almost all of the low level variant functions 2003-12-11 05:25:44 +00:00
Rein Klazes
965b285238 Do conversions between the font size specified in points (or
decipoints) and height specified in logical units.
2003-12-11 05:17:05 +00:00
Kirill Smelkov
32f296b6d5 Added stub and prototype for WSAJoinLeaf. 2003-12-11 05:16:48 +00:00
Jon Griffiths
7e40baadc1 Reimplement/document every low level variant function.
Implement DECIMAL, I8, UI8 types and other missing conversions.
VariantChangeType: Use LOCALE_USER_DEFAULT as per MSDN.
VariantChangeTypeEx: Support new types, pass proper flags.
VarNumFromParseNum: Support VT_DECIMAL as output.
2003-12-11 04:28:20 +00:00
Christian Costa
076000ce51 Added WaveIn support. 2003-12-11 04:27:18 +00:00
Rein Klazes
c546462f65 Enable the display of a true type bitmap for true type fonts. 2003-12-11 04:26:56 +00:00
Huw Davies
f92bbe6c65 Fix incorrect calculation of transport_addr. 2003-12-11 04:26:38 +00:00
Huw Davies
28c2ea07ce Don't crash if lpDependencies is NULL. 2003-12-11 04:26:20 +00:00
Mike McCormack
f3eff5232e Implement CryptRegisterOIDFunction and CryptSIPAddProvider. 2003-12-11 04:26:05 +00:00
Jeremy Shaw
3cd1cfeaf9 Add a '\r\n' to lpszHeaders if it is not already terminated by
'\r\n'.
2003-12-11 04:25:41 +00:00
Frank
39a16e8297 Fixed size check in GetCommConfig(). 2003-12-11 04:25:00 +00:00
Richard Cohen
e45d29cdc1 - Check FindFirstFile against INVALID_HANDLE_VALUE not 0.
- Display window & messagebox even if there are no applets.
2003-12-11 04:24:16 +00:00
Alexandre Julliard
ca10d8a5bd Added tests for class style and instance handling. 2003-12-10 04:25:48 +00:00
Alexandre Julliard
bfce151ae5 Added window classes in the server, and support for inter-process
GetClassWord/Long (based on a patch by Mike McCormack).
Various fixes to the class instance handling.
2003-12-10 04:08:06 +00:00
Andreas Rosenberg
2fa87d2908 Point size in DLG_TEMPLATE may be negative. 2003-12-10 02:12:09 +00:00
Dmitry Timoshkov
853329befe Add support for some MCIWNDF_ styles, indicate that we do not support
MCIWNDM_* messages at all.
2003-12-10 02:10:18 +00:00
Marcelo Duarte
36002739c7 - Implementation of HCR_GetExecuteCommandExW for internal use.
- New inline function  __SHCloneStrAtoW.
2003-12-10 00:39:31 +00:00
Andrew de Quincey
8b773b125a Upwards traversal of inheritance tree didn't occur for dispatch
interfaces.
2003-12-10 00:38:17 +00:00
Jon Griffiths
27db93dc6a Fix a couple of tests for w2k (Russian). 2003-12-10 00:37:35 +00:00
Jon Griffiths
b56583ec1a Don't call GetWindowLong for every comparison while sorting. 2003-12-10 00:37:14 +00:00
Huw Davies
c91c868692 If a font has a version 0 OS2 table then Windows uses ANSI_CHARSET if
the first charcode < 0x100, else it uses SYMBOL_CHARSET.  Based on a
patch by Rein Klazes.
2003-12-10 00:36:22 +00:00
Jon Griffiths
85602c218d Fix the tests to pass when locale settings are user-overriden.
Fix those tests which pass now.
Test copying, formatting, VarAbs, VarNot.
2003-12-09 00:05:53 +00:00
Jon Griffiths
7e7ca4ac95 Implement conversions between dates and strings.
Remove the final cruft associated with the old date code
BPB's: Roll milliseconds correctly; LOCALE_NOUSEROVERRIDE for num
parsing.
Implement VarAbs and VarNot.
2003-12-09 00:05:31 +00:00
Kevin Koltzau
cc09196356 Implemented GetTitleBarInfo. 2003-12-08 23:46:29 +00:00
Robert Shearman
8aef340cbd - Fix IMemAlloc_Free when IMemAlloc_Alloc hasn't yet been called and
debugging is on.
- Fix OleMetafilePictFromIconAndLabel (fixes attachments in Outlook2k).
- Implement OleTranslateAccelerator.
- Move OleCreate and a load of PropVariant functions out of stubs file.
- Change OleCreate to a semi-stub.
2003-12-08 22:46:08 +00:00
Kevin Koltzau
d2c4cf14f8 Load, validate and retrieve a few properties from an msstyles theme. 2003-12-08 22:45:26 +00:00
Hans Leidekker
7499242fd3 Include tests for MoveFile[W|A]. 2003-12-08 22:21:20 +00:00
Hans Leidekker
c9d42291e8 Deal with kernels that don't have IsValidLanguageGroup.
Deal with non-implemented FoldString[A|W].
2003-12-08 22:20:44 +00:00
Hans Leidekker
2402f21b41 Check for ERROR_CALL_NOT_IMPLEMENTED error from RemoveDirectoryW. 2003-12-08 22:20:25 +00:00
Dimitrie O. Paun
2eaefbd1a4 Move content of global.h into the appropriate private headers. 2003-12-08 21:58:55 +00:00
Eric Pouech
ed37b7a8bb Move (again) usage of 16 bit specific functions (thunk lock) to 16 bit
code only.
2003-12-08 21:54:29 +00:00
Lionel Ulmer
88b928fd0d Limit usage of vertex arrays to correct states. 2003-12-08 21:53:40 +00:00
Huw Davies
6d4fc7efe6 If usWinAscent + usWinDescent == 0 then use the Ascender and Descender
values instead.
2003-12-08 21:53:15 +00:00
Dmitry Timoshkov
5882718eef Fix a font object leak in the font dialog's WM_PAINT handler. 2003-12-08 21:52:43 +00:00
Mike McCormack
8b0d2891bf Stub implementations for CertCreateCRLContext and CertCloseStore. 2003-12-08 21:51:40 +00:00
Ove Kaaven
29f7c29261 Remove an instance of exit(). We should return failure, not kill the
thread, when a bad stream is encountered.
2003-12-08 21:47:50 +00:00
Christian Costa
1469cf58f3 First enumerate all internal devices and then external midi ports. 2003-12-08 21:46:50 +00:00
Hans Leidekker
3114368152 Remove ntdll from imports. 2003-12-08 21:46:06 +00:00
Juan Lang
216a0dfbe7 Partially implement NetWkstaGetInfo. 2003-12-08 21:45:44 +00:00
Stefan Leichter
384eadc88b Fixed parameter types of function Extract. 2003-12-08 21:40:49 +00:00
Huw Davies
6e5ab4551a Run length and ascii85 encode image data. 2003-12-08 21:40:27 +00:00
Alexandre Julliard
5329fc8902 Get rid of clipboard.h. 2003-12-05 04:45:50 +00:00
Alexandre Julliard
1dcc247562 Removed now useless call to glXQueryExtensionsString. 2003-12-05 04:43:20 +00:00
Alexandre Julliard
4715f13209 Moved all the files in graphics/x11drv to dlls/x11drv. 2003-12-05 00:20:27 +00:00
Alexandre Julliard
bb4ddfec28 Added a WINEDEBUG environment variable that allows turning on debug
output as early as possible during startup.
2003-12-05 00:17:41 +00:00
Alexandre Julliard
a4330f9363 Removed X11 display parameter from the config file, this is more
confusing than useful.
2003-12-05 00:11:48 +00:00
Alexandre Julliard
e6d7d5ab2c Initialize Xlib threading support to see what it breaks... 2003-12-04 21:59:51 +00:00
Mike Hearn
27d972f22a Map (WS_EX_TOOLWINDOW & WS_CAPTION) to _NET_WM_WINDOW_TYPE_UTILITY. 2003-12-04 21:54:13 +00:00
Rein Klazes
c69a522e3e Correct the test for the ODS_SELECTED bit in the WM_DRAWITEM message
handler.
2003-12-04 21:53:14 +00:00
Dimitrie O. Paun
4c90416d40 More tests for {Local,Global}{,Re}Alloc() calls.
Cleanup of the Heap*() tests.
2003-12-04 21:52:52 +00:00
Alexandre Julliard
628e27ad56 Define ALSA_PCM_OLD_* symbols for compatibility with Alsa 1.0. 2003-12-04 21:14:04 +00:00
Juan Lang
1e4de4c420 Partially implement DeviceIoControl for VDHCP, VNETBIOS, and VNB.
Gets rid of FIXMEs for ipconfig.exe and winipcfg.exe.
2003-12-04 21:05:13 +00:00
Kevin Koltzau
40f3056598 Added stubs for all functions. 2003-12-04 20:55:30 +00:00
Huw Davies
40774be857 Let PSDRV_WriteSpool cope with strings longer than 0xffff bytes. 2003-12-04 20:54:05 +00:00
Mike McCormack
ed224b3398 Stub implementations for some functions. 2003-12-04 20:53:46 +00:00
Jon Griffiths
03ce33f629 Implement the Rtlp* registry functions. 2003-12-04 20:52:12 +00:00
Alexandre Julliard
f752be843e Implement some more register functions using DEFINE_REGS_ENTRYPOINT to
make them available for imports.
2003-12-04 05:51:01 +00:00
Alexandre Julliard
e85491274d Moved the DEFINE_REGS_ENTRYPOINT macros to include/wine/port.h.
Removed the C fallback code, do that in the callers instead.
2003-12-04 05:48:03 +00:00
Alexandre Julliard
86c905ab0c We no longer need a special case for codepages on startup,
initialization is done in the correct order now.
2003-12-04 05:13:03 +00:00
Alexandre Julliard
1bacc584e3 Portability fixes. 2003-12-04 05:11:56 +00:00
Jon Griffiths
0e04023b91 Added Thai translation. 2003-12-04 04:46:13 +00:00
Juan Lang
e1e6295133 Removed unused structure declaration. 2003-12-04 04:45:43 +00:00
Rein Klazes
42fc4bec2d Use the lfHeight field to initialize the font dialog's point size. Do
not forget to return some values in the choosefont structure in the 16
bit version of the ChooseFont function.
2003-12-04 01:43:01 +00:00
Dimitrie O. Paun
add6726c90 Fix NetApiBufferReallocate and add a few tests for the border cases
(thanks to Juan Lang for clarifications).
2003-12-04 01:42:34 +00:00
Marcus Meissner
8b150d6e5d On i686, report processor level 6. 2003-12-04 01:41:53 +00:00
Alexandre Julliard
e9badbfb86 Converted locale setup to Unicode so that we don't use code pages
before they are initialized. Improved error reporting a bit.
2003-12-03 22:32:11 +00:00
Rein Klazes
6f1a7da4b4 Implement combobox to select the font's character set.
Bug fixes: handle WM_MEASUREITEM message; handle the WM_PAINT message
in the 16bit font dialog, so it displays the sample string too.
2003-12-03 22:25:10 +00:00
Alexandre Julliard
0382aead65 Removed no longer used extra space allocated in the modref structure. 2003-12-03 20:28:41 +00:00
Alexandre Julliard
ccff458669 Revert change for handling user overrides as numbers and reimplement
it differently.
2003-12-03 20:28:10 +00:00
Alexandre Julliard
910896b71f Implemented RunDLL_CallEntry16. 2003-12-03 04:44:52 +00:00
Daniel Skorka
1ce53bd2b1 Fixed a problem using glXGetProcAddresARB with bad OpenGL libs. 2003-12-02 05:27:00 +00:00
Alexandre Julliard
04ecca54a1 Use wine_server_release_fd() instead of close() everywhere we use
wine_server_handle_to_fd().
A few minor winsock cleanups.
2003-12-02 04:19:56 +00:00
Jacek Caban
ef799c463d Added glut32 dll. 2003-12-02 04:11:09 +00:00
Jon Griffiths
dce7644bdc Add hash tables for all supported languages.
Remove some useless includes.
2003-12-02 03:51:10 +00:00
Mike McCormack
9b513ad686 Stub implementations for ChangeServiceConfigA/W.
Implement CreateServiceW and call it from CreateServiceA.
Partial implementation of QueryServiceConfigW.
2003-12-02 03:48:53 +00:00
Thomas Brix Larsen
16c1bf123d Added stub for CryptProtectData, so programs like Skype can start. 2003-12-02 03:47:44 +00:00
Eric Pouech
ce2d3ef77d Move usage of 16 bit specific functions (MapSL) in 16 bit code only. 2003-12-02 03:36:20 +00:00
Vitaliy Margolen
036dcf167e - Fix drawing of HotTracked tabs & buttons.
- More tab size fixes in different styles.
- Don't use new padding until style changes.
- Fix left alignment of labels &| icons.
- Don't draw over UpDown control.
- Fully erase tabs when scrolling.
- More tests.
2003-12-02 03:31:44 +00:00
Alexandre Julliard
f3f435ffa1 Added wine_server_release_fd function to release the fd returned by
wine_server_handle_to_fd. Fixed a couple of potential fd leaks.
2003-12-01 23:01:12 +00:00
Alexandre Julliard
854e59d9ec Allow RELAY_SetupDLL to be called twice on the same dll. 2003-12-01 22:49:33 +00:00
Jon Griffiths
d9339f83ec Fail GetCalendarInfoA for Unicode-only locales. 2003-12-01 22:47:28 +00:00
Jon Griffiths
87ae5ba84e Allow user overridden locale data to be retrieved as numbers. 2003-12-01 22:46:19 +00:00
Steven Edwards
98cda18644 Split the Win16/32 color dialog by duplicating two internal
functions.
2003-12-01 22:45:30 +00:00
Huw Davies
1025ff0c9b Implement CopyEnhMetaFileW. 2003-12-01 22:42:56 +00:00
Jon Griffiths
f1f3b915c2 Spelling/Grammar fixes. 2003-12-01 22:41:59 +00:00
Rein Klazes
2c142af1aa Add sample texts for all missing character sets (or explain why some
don't have it). Put the complete text in one place and remove the glue
code. Change the 2D array that holds the texts by a array of pointer
to 1D character arrays to save space.
2003-12-01 22:40:56 +00:00
Eric Pouech
cd7328672e Move usage of 16 bit specific functions (MapSL) in 16 bit code only. 2003-12-01 22:38:19 +00:00
Jukka Heinonen
cf1b653596 Add upper limit for the number of pending timer interrupts.
Check if timer has been stuck and issue an error to user.
Fix handling of timer period zero.
2003-12-01 22:37:15 +00:00
Marcus Meissner
236ad0df3c Use correct pointer for SysFreeString. 2003-12-01 22:36:49 +00:00
Tom Wickline
a66d2a2cbf Use the same version format for all DX dlls. 2003-12-01 22:36:17 +00:00
Kevin Koltzau
a1619a39c2 Export QueryWorkingSet. 2003-12-01 22:34:39 +00:00
Juan Lang
50b7cf0433 - fixes thread safety issues
- fixes problems with non-IP (e.g. IPX) addresses
- updates comments to reflect winsock, netapi32 changes
2003-11-30 06:03:21 +00:00
Dmitry Timoshkov
2964888d05 A general cleanup of the version resources in Wine DLLs. 2003-11-30 05:59:29 +00:00
Juan Lang
b05861dc5f Removed annoying message about missing entry in /etc/services. 2003-11-30 02:54:25 +00:00
Alexandre Julliard
2ae6f4bd24 Fixed bitmap range checking to avoid integer overflows. 2003-11-29 00:23:23 +00:00
Juan Lang
e7fd6fd2a1 Implemented a lot of Netbios(). 2003-11-29 00:19:19 +00:00
Rein Klazes
e94dad187a Remember (do not reset) font size and style parameters in the initial
dialog and when another font is selected.
2003-11-28 23:40:12 +00:00
Rein Klazes
c9197aad4f Fix a bug in the test for italic font style property. 2003-11-28 23:38:51 +00:00
Francois Gouget
82bff6bddd Only convert '/'s to '\\'s up to the '\0' as the rest of the buffer
may not be initialized (found by Valgrind).
2003-11-28 23:36:06 +00:00