Commit Graph

147 Commits

Author SHA1 Message Date
Alexandre Julliard 86a8f4cd3c Check that we have statfs before using it. 2004-03-10 01:55:12 +00:00
Alexandre Julliard b859a68682 Added check for f_namelen in struct statfs. 2004-03-07 03:16:43 +00:00
Alexandre Julliard 13af489103 Use statvfs instead of statfs, and provide a default implementation in
libwine_port if necessary.
2004-03-05 21:03:46 +00:00
Alexandre Julliard 69063fa035 Don't build getopt at all if it's not needed. 2004-02-13 22:41:32 +00:00
Alexandre Julliard 440ff6db12 Added version scripts for libwine and libwine_unicode. 2004-02-12 22:54:00 +00:00
Alexandre Julliard 4fac95df3d Fixed a couple of race conditions in the wine_pthread routines at
thread startup and exit.
2004-02-05 02:01:35 +00:00
Alexandre Julliard c3eac43839 Moved libuuid to the dlls directory, and moved the DirectX GUIDs into
a separate libdxguid library.
2004-01-26 21:29:05 +00:00
Rein Klazes f20ce3b816 Fix MultiByteToWideChar and WideCharToMultiByte when called with code
page CP_SYMBOL.
Remove the symbol font from the code page table, so it is not reported
as a valid/supported/installed code page.
Remove workarounds for the badly behaved MultiByteToWideChar and co.
in a few places.
2004-01-20 22:39:06 +00:00
Dmitry Timoshkov c660117622 Fixed some problems found while compiling and linking Wine under
Cygwin.
2004-01-20 22:35:34 +00:00
Rok Mandeljc 0382ea1d8a - updated resources to DX9
- completely rewritten headers (DX9 compat.; look much nicer now ;=)
- removed IDirectMusicSong and IDirectMusicMelodyFormulationTrack
  (which are removed from DX9; weren't implemented in DX8 anyway)
- combined/simplified IDirectMusicSomething / IDirectMusicObject /
  IPersistStream for objects that support loading
- implemented IDirectMusicObject on all such objects; via generic
  functions
- combined IDirectMusicTrack(8)/IPersistStream on all tracks
- fully implemented IDirectMusicContainer (at least 90% if there are
  no private interfaces)
- implemented IDirectMusicCollection (99% work & MS compliant
  behaviour; except for instruments)
- tried to implement IDirectMusicInstrument (unfortunately uses some
  dirty private interfaces... :(
- added dswave.dll; DirectMusic Wave
- some changes in style
- many, many more ;)
2004-01-20 00:21:40 +00:00
Alexandre Julliard e293074100 Added configure check for readlink. 2004-01-08 05:07:05 +00:00
Alexandre Julliard 7984ded712 Added wine_dll_get_owner function that retrieves the 32-bit dll
containing a given 16-bit dll by reading the symlink, so that we don't
need to dlopen it.
2004-01-02 21:08:05 +00:00
Alexandre Julliard 9f50af251d Avoid common symbols on Darwin/Mac OS X. 2003-12-13 01:37:38 +00:00
Ge van Geldorp 6ba2226f2c When building a PE DLL (MinGW), variables exported from a DLL must be
explicitly marked as dllimport when using them.
2003-12-13 00:02:31 +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 402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Pierre d'Herbemont 794bf0fda0 Add Darwin/Mac OS X support to the build system. 2003-11-25 03:31:26 +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
Dmitry Timoshkov 33f9dcb1f9 Move CompareString implementation to libwine_unicode, add a bunch of
CompareString tests.
2003-11-22 00:00:53 +00:00
Alexandre Julliard 8fb98a41e0 Added wine_ldt_is_system() to replace the IS_SELECTOR_SYSTEM macro,
and stop exporting the WINE_LDT_FIRST_ENTRY constant.
2003-11-17 20:12:56 +00:00
Jon Griffiths b93eb133ad Remove a redundant test.
Handle 'a','A','e','E','F','g','G' flavours of double arguments.
2003-11-14 21:00:02 +00:00
Alexandre Julliard b2d937d5d9 Added sigsetjmp/siglongjmp and gettid to the portability library. 2003-11-12 03:16:00 +00:00
Alexandre Julliard daeccba704 Moved the exec_wine_binary function to the wine library, and use it to
exec the wineserver too.
2003-11-11 22:21:29 +00:00
Alexandre Julliard 50fba7ffec Moved the remaining SYSDEPS_* functions to the wine_pthread interface.
Let the pthread library allocate the stack itself.
2003-11-09 01:25:23 +00:00
Alexandre Julliard 8574412e1e Added wine_pthread_create_thread and wine_pthread_exit_thread to the
pthread support, and removed the corresponding SYSDEPS functions.
Moved stack allocation for new threads to wine_pthread_create_thread
to allow more flexibility.
2003-11-05 23:31:11 +00:00
Alexandre Julliard 18b4cbf12a Put better values for code and data sizes in the NT header of builtin
dlls.
2003-11-03 22:19:44 +00:00
Francois Gouget f405629e8e Weekly spelling fixes. 2003-10-28 21:45:30 +00:00
Daniel Marmier 7832562ee6 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-21 23:57:25 +00:00
Alexandre Julliard c1d80ece92 Don't export the wine_pthread_* functions. 2003-10-16 22:07:06 +00:00
Jon Griffiths bf1df18292 Added string folding support. 2003-10-15 20:52:28 +00:00
Daniel Marmier f95be92d24 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-15 03:35:54 +00:00
Jon Griffiths a02ce81082 Add generation of digit and compatability mapping tables.
Generate smaller mapping tables by merging overlaps.
2003-10-15 02:32:34 +00:00
Dmitry Timoshkov 2581db8f6a Fixed some problems found while compiling and linking Wine under
Cygwin.
2003-10-14 05:27:43 +00:00
Alexandre Julliard 0b1a82aa5e Added check for pthread.h (reported by Steven Edwards).
Removed init_done check, the process heap is now created before kernel
is loaded anyway.
2003-10-14 01:27:31 +00:00
Alexandre Julliard a6ed49ade3 Don't reference the environ global variable from kernel32, it may fail
to link (reported by Gerald Pfeifer).
2003-10-10 23:33:21 +00:00
Alexandre Julliard 823cec66ef Added placeholders for wine_pthread_init_process and
wine_pthread_init_thread.
2003-10-10 00:22:19 +00:00
Alexandre Julliard 410e6b7b39 Changed the init code to make libwine load only ntdll and transfer
control to it, and then have ntdll load kernel32 using the normal
loader mechanisms.
Get rid of BUILTIN32_LoadExeModule.
2003-10-10 00:12:17 +00:00
Alexandre Julliard 5986e3a724 Added wine_get_argv0_path() to retrieve the path of the wine binary. 2003-10-08 00:36:09 +00:00
Daniel Marmier 9bb19ac2d2 Fixed warnings with gcc option "-Wwrite-strings". 2003-10-03 03:35:20 +00:00
Alexandre Julliard 16cd86197a Moved DLLFLAGS to a separate variable instead of including it in
DEFS.
2003-09-24 19:01:44 +00:00
Pavel Roskin 7add08a303 Added configure check for spawnvp(). 2003-09-24 18:54:40 +00:00
Jon Griffiths 70217641e3 Portability fix. 2003-09-24 05:12:14 +00:00
Jon Griffiths 09fefeed7a Not everyone has <unistd.h>, some files need <io.h> too (msvc). 2003-09-23 22:54:57 +00:00
Alexandre Julliard aaf3503ea5 Moved almost all remaining process, thread, fiber and exception
functions to dlls/kernel.
2003-09-17 05:31:32 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 96b0b34282 Converted obj_webbrowser.h to IDL and moved the definitions to
exdisp.idl where they belong.
2003-09-04 02:00:46 +00:00
Alexandre Julliard 80e34dbb66 Moved the implementation of the pthread wrappers to dlls/kernel. 2003-09-03 00:26:08 +00:00
Alexandre Julliard 7ecf0e3e1d shlobj.h must include wine/obj_dragdrophelper.h (reported by Martin
Fuchs).
2003-09-03 00:14:12 +00:00
Alexandre Julliard ca3bfd8318 Export SYSDEPS_SwitchToThreadStack() functionality from libwine as
wine_switch_to_stack().
2003-08-29 22:23:42 +00:00
Todd Vierling 8d5e732186 Use MAP_TRYFIXED on NetBSD if available. 2003-08-27 23:11:05 +00:00
Alexandre Julliard a203421581 Don't build memcpy_unaligned on 386 to avoid MSVC breakage (reported
by Jon Griffiths).
2003-08-25 23:45:34 +00:00
Alexandre Julliard dd0242de6d Remove the dummy pthread functions and use -lpthread instead to
resolve missing symbols in GL libs.
2003-08-20 03:44:25 +00:00
Jon Griffiths 140eb97eef Portability fixes. 2003-08-18 20:00:44 +00:00
Mike McCormack a543971d01 Defined FMTIDs for ole32. 2003-08-06 22:05:31 +00:00
Jon Griffiths 0aefd857b7 vsnprintfW: %% should output a literal % sign. 2003-07-19 03:05:28 +00:00
Jon Griffiths d7eea36441 MSVC doesn't like K&R function declarations: use ansi instead. 2003-07-19 03:03:05 +00:00
Alexandre Julliard 8ca7e0af78 Added a file_exists argument to wine_dll_load to allow checking
whether a failed dll load is because the file didn't exist; more
robust than trying to guess the contents of the error string...
Get rid of BUILTIN32_dlopen.
2003-07-03 18:23:10 +00:00
Marcus Meissner b15ff0725b Added isync to the interlocked functions. 2003-07-02 04:29:33 +00:00
Alexandre Julliard 4f432e0545 Create a new list of defined symbols when parsing a file, to allow
recursive parsing of multiple files.
2003-07-01 04:36:22 +00:00
Alexandre Julliard 4433f15543 Add strmif.h to the headers included in libuuid.
Fixed a few header conflicts.
2003-07-01 04:33:35 +00:00
Raphael Junqueira e460cfee52 Added d3d9 guids. 2003-07-01 00:56:33 +00:00
Dmitry Timoshkov 85d4281616 Implement LCMapString using unicode collation tables.
Move CompareString and LCMapString to dlls/kernel/locale.c.
2003-06-27 19:02:23 +00:00
Alexandre Julliard 8c4b96fc46 Added generation of table of collation keys (based on a patch by
Dmitry Timoshkov).
2003-06-27 04:04:59 +00:00
Alexandre Julliard 996dc01432 Updated to the latest Unicode standard. 2003-06-26 02:51:12 +00:00
Francois Gouget c5f775a9c7 Typos/spelling fixes. 2003-06-18 03:30:39 +00:00
Alexandre Julliard 15566391e2 Proper support for CPPFLAGS and LDFLAGS (suggested by Todd Vierling). 2003-06-13 23:26:01 +00:00
Paul Laufer 4a36a2855d Work around for flex brain damage. 2003-06-04 20:25:55 +00:00
Alexandre Julliard fa9af1d0dc Reset SIGCHLD handler to default if we need to wait. Reset SIGPIPE
handler before exec.
2003-05-21 18:34:29 +00:00
Alexandre Julliard 794b130cbb Handle overlapping buffers properly in wcstombs_sbcs (spotted by
Dmitry Timoshkov).
2003-05-11 02:54:09 +00:00
Alexandre Julliard 0789ba6888 Fixed return value of wine_utf8_wcstombs (spotted by Jan Sporbeck). 2003-05-08 21:05:50 +00:00
Pierre d'Herbemont c5bb73038b Add register preservation when using lawrx instruction.
Fix ';' ending to '\n' ending for a better compatibility with darwin.
2003-05-04 02:26:53 +00:00
Alexandre Julliard e1a9b10f51 Moved the wpp library from tools/ to libs/.
Create symlinks to the various libraries in the libs directory.
2003-05-01 03:16:21 +00:00
Alexandre Julliard 117436e08e Moved rules for building shared libraries into a global Makelib.rules
file.
2003-05-01 00:39:29 +00:00
Alexandre Julliard d139e94336 Added wine_init. 2003-04-30 17:12:29 +00:00
Robert Reif e743e091ed Added partial property set support which is used by dxdiag.exe. 2003-04-29 22:49:52 +00:00
Alexandre Julliard fedc411743 Moved the functionality of starting Win16 and DOS programs from the
common process startup into a separate winevdm application.
2003-04-27 00:47:58 +00:00
Alexandre Julliard d73a1c4642 Hacked 0x00a5 to map to backslash in Shift-JIS codepage.
Added mapping for 0x00a6.
2003-04-14 21:39:23 +00:00
Robert Reif 18f744d3a5 Add direct sound driver guids. 2003-04-11 00:35:33 +00:00
Rok Mandeljc 3dec4c5219 Added stubs for dpnhpast and for all the dmusic dlls. 2003-04-08 03:56:04 +00:00
Alexandre Julliard 6a9cea957a Added --with-nptl configure option and necessary changes to support
running on top of NPTL threads.
2003-04-03 02:54:54 +00:00
Dimitrie O. Paun 6cd88fe697 Add spawnvp to the portability lib. 2003-04-02 05:20:12 +00:00
Adam Gundy 60b28eedfd Make sure all the bits of the LDT are initialized. 2003-03-30 01:34:29 +00:00
Yorick Hardy d56f063cb3 stdint.h should be included for compiling on NetBSD. 2003-03-28 00:30:09 +00:00
Steven Edwards 401a9e096a Fixed the .def files for the Mingw build. 2003-03-28 00:28:09 +00:00
Alexandre Julliard b59bf98b93 Moved errno_location support to sysdeps.c. 2003-03-26 01:33:48 +00:00
Alexandre Julliard 8d7b8e573f Portability fixes. 2003-03-23 20:11:45 +00:00
Alexandre Julliard bdbde0f814 Added a .def file for libwine. 2003-03-23 00:28:53 +00:00
Alexandre Julliard 2d1c79066e Moved libwine to libs/ directory.
Some makefile fixes and cleanups.
2003-03-22 20:40:48 +00:00
Alexandre Julliard 25fe361010 Added 'wine' prefix to libwine_unicode exports. 2003-03-21 21:30:51 +00:00
Alexandre Julliard 7ab9a715a8 Moved libwine_unicode to the libs/ directory. 2003-03-21 05:06:48 +00:00
Rok Mandeljc 2d04be72f7 Stub implementation of the dmusic dll. 2003-03-21 00:42:38 +00:00
Alexandre Julliard 195574e2d8 Added memcpy_unaligned to libwine_port. 2003-03-20 23:44:36 +00:00
Alexandre Julliard 108a69bd2f Moved interlocked functions to libwine_port. 2003-03-20 22:06:16 +00:00
Alexandre Julliard 2ee8b5bb13 Replaced mkstemp by mkstemps from libiberty.
Removed a couple of unnecessary portability functions.
2003-03-20 21:07:49 +00:00
Alexandre Julliard 6692d399d6 Moved libwine_uuid to the new libs/ directory. 2003-03-20 01:30:11 +00:00
Alexandre Julliard 7ac91c7401 Added getopt routine to libwine_port (based on a patch by Dimitrie
O. Paun).
2003-03-19 22:44:55 +00:00
Alexandre Julliard 6a9fe36de2 Created a separate static portability library and moved some of the
libwine routines in there.
2003-03-19 22:09:16 +00:00