Commit graph

6969 commits

Author SHA1 Message Date
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
Rein Klazes
e998d0e3cb Tidy up indentation. 2003-11-28 23:35:34 +00:00
Alexandre Julliard
5f8223670a Porting fixes. 2003-11-28 23:19:30 +00:00
Alexandre Julliard
0b19a6f7bc Better support for div and ldiv in Winelib apps. 2003-11-28 23:17:28 +00:00
Alexandre Julliard
0d7bdc7abd Moved the 16-bit code out of socket.c and into a separate file. 2003-11-28 23:14:02 +00:00
Juan Lang
94670d40ef Implement the TCP table query, netstat.exe now shows TCP listening and
connected sockets.
2003-11-28 23:12:05 +00:00
Rolf Kalbermatter
81ce443f5e Fix two memory leaks. Found by Dietrich Teickner. 2003-11-28 23:10:19 +00:00
Huw Davies
6cfbf89529 Merge {Set,Insert}Item[AW] to {Set,Insert}ItemT. 2003-11-27 01:11:01 +00:00
Alexandre Julliard
46321f4c15 Added unicows dll, based on the spec file written by Shachar Shemesh. 2003-11-27 01:10:26 +00:00
Alexandre Julliard
402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Rein Klazes
a97c7d2fb3 In clip_children() don't clip the visible region by children that have
a WS_EX_TRANSPARENT style.
2003-11-27 00:56:05 +00:00
Ulrich Czekalla
1afef2c732 In TREEVIEW_EnsureVisible handle case where firstVisible is NULL. 2003-11-27 00:55:18 +00:00
Steven Edwards
cfcc449324 Porting fixes. 2003-11-26 22:29:30 +00:00
Jeff Miller
811c4119b9 Mask off bit 0x80 in the accelerator table entry field fVirt if it's
not the last entry.
2003-11-26 22:28:16 +00:00
Huw Davies
96b9057097 Merge GetItem[AW] into GetItemT. 2003-11-26 22:26:19 +00:00
Aric Stewart
d78dfc8e44 Redraw if bold state changes. 2003-11-26 22:07:17 +00:00
Robert Shearman
7d6afc5ddc - Add support for TBSTYLE_EX_MIXEDBUTTONS.
- Add support for TBSTYLE_EX_HIDECLIPPEDBUTTONS.
- Replace 'magic numbers' with #define'd constants.
- Fix TBN_INITCUSTOMIZE.
- Add support for TBN_CUSTHELP and TBN_RESET.
- Fix TB_SETEXTENDEDSTYLE (it appears it should or the new style,
  rather than set).
- Fix TB_SETSTYLE (this is meant to be for setting the control style,
  not the button style).
2003-11-26 22:05:02 +00:00
Michael Günnewig
edd8bc3a77 Fixed multiple bugs in FindSample implementation of AVI and WAV file
handler.
2003-11-26 22:04:29 +00:00
Ulrich Czekalla
12f7a36132 Always recompute an item's text width in the case of text callbacks
and when its attributes change.
2003-11-26 22:03:58 +00:00
Dmitry Timoshkov
985ae970fb Fix .spec file parameters for CreateDC driver API. 2003-11-26 22:03:34 +00:00
Dmitry Timoshkov
602c4a7e8a Fix another RtlReAllocateHeap call. 2003-11-26 22:03:21 +00:00
Dmitry Timoshkov
86e4079bc2 Make Alt+[national key] menu shortcuts work. 2003-11-26 05:08:48 +00:00
Dimitrie O. Paun
3e54350dc2 {Global,Local}ReAlloc() does not allocate memory. 2003-11-26 05:04:15 +00:00
Alexandre Julliard
77b8c0a42f NE_LoadBuiltinModule: return error 21 if the module we loaded was a
32-bit builtin. This should help WinExec16 to do the right thing.
2003-11-26 04:13:53 +00:00
Alexandre Julliard
b7976c00a0 Fixed declarations of BroadcastSystemMessage and TranslateAccelerator
in winuser.h. Added GetWindowModuleFileName.
2003-11-26 04:09:00 +00:00
Alexandre Julliard
29cff12d06 Moved the ShellExecuteEx definitions to shellapi.h where they belong. 2003-11-26 03:59:16 +00:00
Christian Costa
3640c36f8b Fix handling of the lpuDeviceID input param in MIDI_StreamOpen. 2003-11-26 03:39:13 +00:00
Rein Klazes
801cb5a6f1 Fix "sample" box drawing by adding some needed coordinate and size
transformations.
2003-11-26 03:38:39 +00:00
Mike McCormack
7eab865d99 Use the handle deletion mechanism in wmfs. 2003-11-26 03:38:11 +00:00
Huw Davies
5693ecd212 Unicodification. Based on a patch by Aric Stewart. 2003-11-26 03:37:30 +00:00
Dimitrie O. Paun
a1cee57ce9 Fix mem leak when GlobalReAlloc() fails. 2003-11-26 03:36:18 +00:00
Dimitrie O. Paun
99bf92e338 SysReAllocStringLen is documented to segfault on NULL pointer. 2003-11-26 03:35:16 +00:00
Dimitrie O. Paun
d8aa853596 Fix the IMalloc::ReAlloc() to follow the documented behavior. 2003-11-26 03:34:51 +00:00
Alexandre Julliard
cba157e998 Better support for loading exe files as libraries.
Make sure kernel32 and ntdll have a full path name even though they
are loaded before we know the system dir.
2003-11-25 05:28:57 +00:00
Huw Davies
9e8ce63e2e Let enhmetafiles reuse gdi handles. This works by a dc 'registering'
with an object that it wants to know when the object is deleted. Until
the dc gets delete notification it's free to assume that it doesn't
need to write the create record for that object again.  Upon receiving
the delete notification it writes the DeleteObject record. Windows
seems to do it this way too.
2003-11-25 05:03:09 +00:00
Alexandre Julliard
6281d82e87 Store the thread entry point in the startup info passed to the new
thread instead of the TEB.
2003-11-25 03:42:05 +00:00
Huw Davies
c2d3477556 Add support for display of dibs on MSB XServers. 2003-11-25 03:27:37 +00:00
Uwe Bonnes
111b1cbf68 INT21_GetFreeDiskSpace(): The drive parameter is found in the DL
register.
2003-11-25 03:26:14 +00:00
Alexandre Julliard
9e73f55af3 Store the last error code at the TEB offset used by NT instead of the
Win9x one.
2003-11-25 01:53:23 +00:00
Eric Pouech
ff0365290b Got rid of DRIVE_OpenDevice, and replaced it with Win32 equivalents. 2003-11-25 01:51:07 +00:00
Jon Griffiths
392cbdf7b8 Tests for the non-variant date conversion functions. 2003-11-25 01:50:10 +00:00
Jon Griffiths
4f0f1d9253 Improve/shrink variant dumping code. 2003-11-25 01:49:48 +00:00
Jon Griffiths
d537c955bc Implemented the variant formatting functions.
Bool->bstr makes a number str unless [ALPHA|LOCAL]BOOL is passed.
2003-11-25 01:49:31 +00:00
Jon Griffiths
f9bca5eaf7 Macros for dumping a variants type and flags.
Fix the date inlines.
Round negative numbers with fractional parts > 0.5 correctly.
2003-11-25 01:48:51 +00:00
Vincent Béron
f68ec6fc5d Undefine FAR to avoid conflict with ssl.h. 2003-11-25 01:48:01 +00:00
Mike McCormack
b6002e8830 Stub implementation for CreateStdAccessibleObject. 2003-11-25 01:46:10 +00:00
Rein Klazes
8ba9b5fc7e Use button face color for the image mask when adding a bitmap to the
toolbar, not the color of the top left pixel of the image.
2003-11-25 01:45:50 +00:00
Alexandre Julliard
16b4411669 Removed MODULE_GetLoadOrderA. 2003-11-25 01:03:04 +00:00
Dimitrie O. Paun
c762f5d7af RtlHeapReAllocate() should not allocate memory.
Add small test to make sure it doesn't return.
Don't import ntdll for tests, we need to load it dynamically.
2003-11-25 01:02:02 +00:00
Ulrich Czekalla
e3c9de666d Implemented DMORegister, DMOUnregister, DMOGetName, DMOEnum. 2003-11-25 00:55:57 +00:00
Alexandre Julliard
436eda3071 Removed task.h. 2003-11-25 00:42:26 +00:00
Jon Griffiths
eff671ef0d Documentation updates 2003-11-25 00:08:46 +00:00
Michael Günnewig
4a1063c6e9 Implemented IAVIEditSTream_fnPaste method. 2003-11-25 00:07:25 +00:00
Lionel Ulmer
1eaee42399 Use vertex arrays when possible. 2003-11-25 00:06:33 +00:00
Alexandre Julliard
c6d44be3e5 Create a huge array in bss to reserve the memory area we need for PE
binaries, to prevent exec shield from mapping system libraries there.
2003-11-22 00:08:26 +00:00