Commit Graph

1497 Commits

Author SHA1 Message Date
Slava Monich fb8934d4bd Implementation of Get/SetThreadPriorityBoost. 2000-07-08 12:47:30 +00:00
Eric Pouech 737db5fce2 Several fixes spotted by Corel (Jean-Claude Batista & Sean Langley).
Seeking from SEEK_END was wrong.
Seeking on empty buffer was wrong.
Some installed ioProcs had uninitialized fields.
A few more bits for rename functions.
2000-06-25 12:50:11 +00:00
Alexandre Julliard 596921da0c Make sure the cmdline passed to CreateProcessA is writeable (thanks to
Peter Ganten <peter@ganten.org>).
2000-06-24 20:53:47 +00:00
Juergen Schmied 07b143ed4d - removed hack to find the right resource
- updated to use the ICOM macros
- cleaned up use typelib and typelib2 (was mixed up)
2000-06-24 13:50:52 +00:00
Hidenori Takeshima 34e10ee30f GetCommandLine should return non-const strings. 2000-06-24 13:37:05 +00:00
Juergen Schmied 1dbf403db4 - many new Path* stubs
- many bugfixes
- class functions expanding environments variables now
2000-06-24 12:56:08 +00:00
Ove Kaaven 849c930481 Implemented the DirectSound HAL mode for DMA primary buffers, with a
10ms latency (not noticeable), and about 300ms of prebuffering. Fixed
a few bugs. Added a Wine-only WINMM flag for waveOutOpen for
DirectSound to use (so drivers like wineoss have some way of knowing
what to prepare itself for).
2000-06-24 12:54:49 +00:00
Andreas Mohr 1f0c216e8f Implemented/stubbed IconSize() and ControlPanelInfo() needed for Win
2.0 control.exe and paint.exe.
2000-06-24 12:54:00 +00:00
Hidenori Takeshima 8fec32615b Added IDI_WINLOGO. 2000-06-24 12:52:53 +00:00
Alexandre Julliard 12ca954296 Removed MIME garbage. 2000-06-24 12:50:33 +00:00
Alexandre Julliard 4f356e86e4 Moved shared crtdll/ntdll functions into ntdll.
Made crtdll a separate dll.
2000-06-23 16:16:30 +00:00
Alexandre Julliard 917910324f Cleaned up a few inter-dll dependencies. 2000-06-23 16:13:33 +00:00
Ove Kaaven 353c776a66 Restructure DirectSound. Remove dsound thread, use MM timers
instead. Implemented the DirectSound HEL, with the ability to
prebuffer 300ms of sound, while maintaining play latency of 40ms, and
the exact playposition (Starcraft cinematics are lip-synched).  Some
initial HAL support.
2000-06-23 15:45:05 +00:00
Hidenori Takeshima 2e41c3b1f7 Added include/winresrc.h for porting with winelib. 2000-06-23 15:35:54 +00:00
Francois Gouget 7f01aa879c Merged MCIWndCreate and MCIWndCreateA. 2000-06-23 15:34:25 +00:00
Hidenori Takeshima 8b347b2a17 Added SC_ICON/SC_ZOOM (obsolete macros). 2000-06-23 15:32:05 +00:00
Marcus Meissner 7466d9bf20 Added prototypes for new InternetCheckConnection*. 2000-06-23 15:30:50 +00:00
Noomen Hamza 3b3779b260 OleConvertOLESTREAMToIStorage fails (returns REGDB_E_CLASSNOTREG) when
the CLSID of the OLE object is not found in the registry. Fixed.
2000-06-20 20:49:53 +00:00
Hidenori Takeshima 6e99273cf9 Added typedef of DROPFILES. 2000-06-20 20:16:55 +00:00
Hidenori Takeshima c5198e208c Added ResultFromScode/GetScode (obsolete macros). 2000-06-20 20:16:32 +00:00
Stephane Lussier fb949605ba - Fixed a memory corruption in safe arrays when using SafeArrayCopy()
function with a SafeArray created with FADF_FIXEDSIZE.
- Added more FADF flags in the .h file.
- FADF flags were defined twice, corrected the situation.
2000-06-18 19:29:40 +00:00
Francois Gouget 326e2ba5a1 Added some missing prototypes.
Define the HDRAWDIB handle type.
2000-06-18 17:26:44 +00:00
Francois Gouget 32e73f05c5 hmemcpy16 is a Win16 API, the macro is hmemcpy. 2000-06-18 17:24:34 +00:00
James Hatheway 829405af93 Created an initial Winsock 2 (ws2_32) DLL. Makes use of the Winsock 1
functions already implemented.
2000-06-18 17:23:17 +00:00
Ove Kaaven 4b6eaa9e91 Added DirectSound device driver header file. 2000-06-18 17:21:50 +00:00
Francois Gouget 6fbbe0ffe6 Reorder the __attribute__ directive in the legacy macros for
compatibility with old g++ compilers.
2000-06-16 21:48:24 +00:00
Alexandre Julliard f70cd82262 Release 20000614. 2000-06-15 03:00:30 +00:00
David Lassonde f58d80d17f Implemented the More Windows... menu item for MDI. 2000-06-15 01:03:32 +00:00
Mike McCormack 6a31f96111 - add prototypes for serial API functions
- correct existing serial API prototypes incorrectly using DWORD
  instead of HANDLE
- define more structures and values in serial API
2000-06-15 00:15:11 +00:00
Alexandre Julliard 790743c8f6 Fixed options structure definition. 2000-06-14 21:17:05 +00:00
Matthew J. Francis d2201355b3 Alias NMUPDOWN to be NM_UPDOWN, rather than overwrite NM_UPDOWN with
NMUPDOWN.
2000-06-14 21:15:04 +00:00
Juergen Schmied 13d74c5f0a - new dll shfolder.dll
- small fixes
2000-06-13 03:45:52 +00:00
Alexandre Julliard 0d4a55804e Added a couple of Unicode string routines. 2000-06-13 01:08:29 +00:00
Juergen Schmied 79d850f2d7 - implemented Get/SetThreadLocale
- added comment about OleErrorInfo field in TEB
2000-06-12 21:56:02 +00:00
Marcus Meissner 45bd6123f7 Added struct offsets so understanding game disassembly is easier. 2000-06-12 21:55:20 +00:00
Marcus Meissner df8a69b36b Corrected IsEqualGUID prototype. 2000-06-12 21:54:26 +00:00
Alexandre Julliard 261abcd5bc Reimplemented Unicode case mapping in a slightly more efficient way.
Moved case mapping support to the unicode directory.
Some cleanups in cpmap.pl, use WCHAR instead of unsigned short.
2000-06-12 01:16:11 +00:00
Francois Gouget ae41e8c804 Reordered the CALLBACK and WINAPI directives so that it compiles with
old g++ versions.
2000-06-11 20:07:58 +00:00
Francois Gouget a537bec4d1 - Define HIC in this header rather than in windef.h (this is the
correct thing to do although it is unrelated to the C++ issues).
- WINE_HIC is an internal structure and it won't compile in C++ because
  it contains a field called 'private'. Enclosed in a __WINE__ ifdef.
- Reordered the CALLBACK and WINAPI directives so that it compiles with
  old g++ versions.
2000-06-11 20:07:08 +00:00
Francois Gouget 091dc85b73 Fixed a typo in the name of FreePrinterNotifyInfo. 2000-06-11 20:06:12 +00:00
Dmitry Timoshkov 2850b6628e Assign codepage for every X11 font suffix, and use it for converting
text to display.
2000-06-10 04:44:12 +00:00
Alexandre Julliard 6659308fe9 Added support for WC_NO_BEST_FIT_CHAR and default char parameters in
cp_wcstombs.
Minor cosmetic fixes.
2000-06-10 04:29:16 +00:00
Alexandre Julliard fb270ddca4 Added a bunch of code page tables for multibyte<->wide char
conversions (with the help of Dmitry Timoshkov).
2000-06-09 05:27:21 +00:00
Dmitry Timoshkov 0072c88111 Implement NTDLL.towupper and NTDLL.towlower using already existing
case conversion tables. Replace all direct calls to towupper/towlower
either to NTDLL for core or to CRTDLL if latter already used in the
non core dll.
2000-06-08 20:05:18 +00:00
Alexandre Julliard 2b5d564e63 Merged mouse dll into USER. 2000-06-08 04:57:22 +00:00
Alexandre Julliard a37dec0c7e Pass the main exe name in the CREATE_PROCESS debug event. 2000-06-08 00:57:24 +00:00
Serge Ivanov 9926d33450 - ComboLBox is always created as child of ComboBox. If ComboBox has style
other than CBS_SIMPLE, parent of listbox is set to desktop.
- In CBDropDown. ComboBox uses only first item to calculate height of
  dropped listbox. Also if listbox is empty its height is unmodified
  (previously it was set to 0).
- Added correct handling of WM_GETDLGCODE and WM_(SYS)KEYDOWN messages.
- General clean-up. Message order is now more precise (at least
  notifications to client); listbox - combobox interaction has slight
  differences comparing to Windows.
2000-06-07 03:48:02 +00:00
Serge Ivanov ae89703581 Added undocumented window style. 2000-06-07 03:45:19 +00:00
Patrik Stridvall c94e086161 Fixed some warnings. 2000-06-07 02:16:47 +00:00
Patrik Stridvall 7980a50cb7 Fixed issues found by winapi_check. 2000-06-07 02:15:39 +00:00
Ulrich Weigand 0121ac1a12 Removed mis-aligned accesses during BIOS/DOS data initialization. 2000-06-07 02:02:56 +00:00
Ulrich Weigand 7e85ea7c86 Moved stack switch handling (large stack) to sysdeps.c
Enable exception dispatch while on large stack.
2000-06-04 01:35:43 +00:00
Chris Morgan 47a6f31fe2 Added defines for LVSCW_AUTOSIZE/_USEHEADER. 2000-06-04 01:34:48 +00:00
Eric Kohl b3f681ea8e Updated to dll version 5.81 (IE 5.01). 2000-06-03 21:06:44 +00:00
Jason Mawdsley 84c494bd34 Added support for typing the filename in the listview control and
having the control select it.
2000-06-03 21:04:33 +00:00
Alexandre Julliard eac0e1837c Removed MSG_WineStartTicks (does not work for multiple address spaces
anyway).
2000-06-03 20:46:53 +00:00
Alexandre Julliard a660c7903f Moved DIB_FixColorsToLoadflags to cursoricon.c. 2000-06-03 20:45:20 +00:00
Alexandre Julliard 4324b4778b Delay loading of interrupt table functions until they are needed. 2000-06-03 04:52:14 +00:00
Alexandre Julliard de304909cd Delay initialization of I/O permissions until they are first used. 2000-06-03 04:50:59 +00:00
Alexandre Julliard 2d8cf500c3 Merged display.dll into USER. 2000-06-03 04:20:19 +00:00
Susan Farley 8037389c49 Preserve WM hints that were set during window creation by calling
XGetWMHints prior to XSetWMHints.
2000-06-02 20:36:29 +00:00
Michael Cardenas e5e2fc9999 Added a few message crackers. 2000-06-02 20:25:56 +00:00
Juergen Schmied 0d18aad17a - New (some stubs): SHGetFolderLocation, PathAddExtension,
PathIsUNCServer, PathIsUNCServerShare, PathMakePretty,
  SHCreateShellPalette, SHOpenRegStream, SHOpenRegStream2
- Many string functions implemented
- Some stubs for exports by ordinal
2000-06-01 23:25:44 +00:00
Juergen Schmied 2250f12c48 Implemented FindFirstFileEx, cleaned old implementation up. 2000-06-01 23:17:42 +00:00
Peter Hunnisett f5a1027595 - Added DirectSoundCapture and DirectSoundCaptureBuffer interfaces
- Added some SoundCapture stubs
- Changed REFIID to LPCGUID in a few places as per MS header file
2000-06-01 22:47:35 +00:00
Zoran Dzelajlija 846880b7e6 Basic Croatian language support. 2000-05-30 20:50:45 +00:00
Turchanov Sergei 43a27e3696 Implemented local atoms in the server. 2000-05-30 20:32:06 +00:00
Dimitrie O. Paun 84bde6a4a4 Separate wineps out of Wine's core. 2000-05-30 20:27:23 +00:00
Peter Hunnisett 62f32331dd - Add another way to create a 3d listener interface.
- Fix up some reference counting bugs and interface creation bugs
- Add DirectSoundEnumerateW stub
- Add DirectSoundCaptureEnumerate{A,W} stubs
2000-05-30 20:07:31 +00:00
Chris Morgan 087ba42b02 Added 3D border around control. Fixed monthcal control popup. Added
WM_SIZE support.  Optimized drawing.  Added WM_LBUTTONUP handling.
Handle DTS_RIGHTALIGN style.  Fixed handling of formatting styles,
date is now displayed properly for DTS_SHORTDATEFORMAT.
2000-05-30 20:06:54 +00:00
Alexandre Julliard c5e433a3a6 Moved idle event handling to the server. 2000-05-30 19:48:18 +00:00
David Grant 8a92213111 - Creating combobox with CBS_SIMPLE style shall set internal flag CBF_EDIT.
- Edit text must be selected only if CB is in focus.
- If CB has edit control we have to call CBUpdateEdit to update its
  contents. Invalidating textRect will not force updating of child
  edit control, obviously.
- We have to protect ourselves from changing selection in listbox when
  we receive listbox notification. So LBN_SELCHANGE -> CBUpdateEdit ->
  EN_CHANGE will not reselect item in the lisbox.
2000-05-30 17:48:33 +00:00
Alexandre Julliard c192ba2468 Exec a separate wine binary for every win32 process so that they run
in separate address spaces.
Run 16-bit tasks as Win32 threads, not processes.
2000-05-29 21:25:10 +00:00
Alexandre Julliard 8f65001f78 Release 20000526. 2000-05-26 23:26:04 +00:00
Huw D M Davies b40a9b7f1d Add PrintSetup dialog and support for hooks and templates.
Move 16 bit api definitions out of commdlg.h to cdlg.h
2000-05-26 22:26:06 +00:00
Huw D M Davies 7aaabc3f14 Move winspool to unicode.
Minor bug fixes.
2000-05-25 23:02:46 +00:00
Francois Gouget 53532248c4 Sorted out a few misplaced definitions.
Added some missing definitions related to file handling and virtual
memory manipulation.
Added IsTextUnicode.
2000-05-24 21:03:48 +00:00
Patrik Stridvall 17d1e9e5e2 Fixed issues found by winapi_check. 2000-05-23 23:38:32 +00:00
Ove Kaaven 3be104e0ef Improved DirectDrawPalette handling (set it on init, not every time it
changes). Added VGA_WriteChars() function.
2000-05-23 21:14:11 +00:00
Gerald Pfeifer 43bcf40c66 #undef DELETE before (re)defining it. 2000-05-23 21:13:04 +00:00
Susan Farley 9ce8382ea0 Set and retrieve the window icon that is drawn under managed mode
(based on the work of Andrew Lewycky for Corel).
2000-05-23 04:12:23 +00:00
Francois Gouget 1789f24ed0 Should include commdlg.h. 2000-05-23 04:07:53 +00:00
Francois Gouget b4b8a823a4 Define the _X86_ macro on Intel processors. 2000-05-23 04:07:15 +00:00
Gerard Patel 85f5832bad Remove the direct call into core (DIALOG_DoDialogBox). 2000-05-23 01:22:35 +00:00
Peter Hunnisett 0b56446e35 - Added remaining DirectX 3D3 6&7 3D interfaces.
- Added d3dcaps.h, d3dtypes.h and rearranged contents according to
  DirectX 7 headers.
- Fixed dsound.h include list (d3d.h->d3dtypes.h).
2000-05-18 01:26:42 +00:00
Patrik Stridvall e4174d5d57 GetRelAbs for some reason takes 2 parameters, even though the second
one is ignored at least on Windows NT 3.51 according to Marcus Meissner.
2000-05-18 00:51:52 +00:00
Alexandre Julliard 8e3e6b5452 Make sure all Wine processes share the same X display.
Inherit --managed option across processes.
Add support for specifying display and managed mode in config file.
2000-05-15 02:46:44 +00:00
Alexandre Julliard a01004d828 Added support for registry values larger than the server buffer.
When loading a registry file, automatically determine overlap between
key name and file contents based on the first key name.
Removed v1 saving code.
Save USER\.Default separately into ~/.wine/userdef.reg.
2000-05-14 22:57:57 +00:00
Peter Hunnisett 8c735b9bdb - Added ability to create 3D3 interfaces for Xlib
- Changed DD_OK to D3D_OK in some places for consistency
- Cleaned up some compiler warnings present without DGA2
- Changed order for DirectDrawEnumerateExA to enumerate at least
  what abilities are known rather than bailing on unsupported flags
- Added DirectDrawCreateEx stub
2000-05-13 01:28:49 +00:00
Lionel Ulmer bedf40b58b Added support for OpenGL. 2000-05-12 20:18:14 +00:00
Patrik Stridvall 5ca73ac93a Fixed issues found by winapi_check. 2000-05-11 21:46:51 +00:00
Ken Thomases da2cd4d070 Implemented tab control style TCS_HOTTRACK (tabs are highlighted on
mouse-over).
2000-05-11 21:40:36 +00:00
Alexandre Julliard 246c360631 Reserve space for the PE header at the start of the .so file.
Store the export table inside the data section so that sections can be
properly aligned.
Build the relay function table directly in the .spec.c file.
Moved relay debugging functions to relay386.c.
2000-05-10 03:48:00 +00:00
Aric Stewart 8ee3144a77 Added the ability to use multiline tab controls to wine. 2000-05-09 22:33:48 +00:00
Alexandre Julliard 688c05301a Jean-Claude Batista
Wraps some RichEdit control functionality on an Edit control. It uses
a free implementation of an RTF parser written by Paul DuBois
http://www.primate.wisc.edu/software/RTF/ which I modified a bit to
work with the control.
2000-05-07 20:23:41 +00:00
Alexandre Julliard 680919c2e6 Moved Load/FreeLibrary16 definition to winbase16.h. 2000-05-07 18:39:28 +00:00
Chris Morgan 53b152f73c Implemented ListView_SetHoverTime(), ListView_GetHoverTime(), initial
support for the LVS_EX_TRACKSELECT flag.  Added code to delete items
in LISTVIEW_SetItemCount().
2000-05-07 18:24:10 +00:00
Aric Stewart 44675508a5 Added WM_SIZING message support. 2000-05-05 18:28:10 +00:00
Alexandre Julliard 47bea26a2a Generated again. 2000-05-03 18:43:34 +00:00
Alexandre Julliard ae719405fb PE_LoadImage: removed version parameter, set last error correctly. 2000-05-03 18:43:11 +00:00