Commit Graph

116 Commits

Author SHA1 Message Date
Alexandre Julliard
c3193925d8 Add the preloader itself as argv[0] and remove it again before running
the real loader, this way the ps output makes more sense.
2004-06-15 20:31:06 +00:00
Alexandre Julliard
9af2bd4803 Yet another fix for the MacOS X environ brain damage. 2004-06-14 17:07:30 +00:00
Alexandre Julliard
7d2f5a7b15 Avoid zero size allocations. 2004-06-04 01:01:17 +00:00
Alexandre Julliard
fa3544bbdf Check for existing reserved areas in mmap_init to avoid doing
duplicate work.
2004-06-03 00:44:50 +00:00
Christian Costa
4b588d132d Fixed preloader_exec. 2004-05-30 03:10:15 +00:00
Alexandre Julliard
910234eafb Pass the environ variable from main to try to avoid Darwin's
_NSGetEnviron() ugliness.
2004-05-29 00:26:03 +00:00
Alexandre Julliard
b1abca8a5d Initial version of the Wine preloader, used to reserve memory
areas at startup. Based on the work of Mike McCormack.
2004-05-28 20:59:22 +00:00
Alexandre Julliard
dc4d05690e Don't rely on the reserved area list being empty in reserve_area,
since the preloader will need to add things to the list before
startup.
2004-05-28 03:48:09 +00:00
Kevin Koltzau
96b215ff10 Fixed last mmap issue with mingw windows build. 2004-05-27 01:55:20 +00:00
Alexandre Julliard
d3239b677f Portability fix. 2004-05-25 18:55:20 +00:00
Alexandre Julliard
2dff1fe1e5 Moved environ definition to port.h. 2004-05-25 18:05:39 +00:00
Emmanuel Maillard
7ee8adfd39 Added environ support for Darwin. 2004-05-25 04:50:08 +00:00
Emmanuel Maillard
1a9ab88fe3 Adjust stack pointer in wine_switch_to_stack to prevent segmentation
fault on darwin/ppc.
2004-05-25 04:03:05 +00:00
Alexandre Julliard
94d74b5fed Added support for managing reserved memory areas in libwine and ntdll.
Try to reserve everything above 0x80000000 on startup.
2004-05-25 01:29:24 +00:00
Alexandre Julliard
04869eb658 Initial support for automatically creating the ~/.wine directory on
startup.
2004-05-11 04:29:18 +00:00
Pierre d'Herbemont
25dd29c80b Support Darwin versioning convention. 2004-05-01 02:41:01 +00:00
Emmanuel Maillard
2a6e89ca64 Create symlinks for .dylib libraries too. 2004-04-17 00:24:42 +00:00
Alexandre Julliard
e77c9be0dc Added support for fstatvfs. 2004-04-06 03:33:25 +00:00
Alexandre Julliard
5333206978 Added memicmpW. 2004-04-02 19:40:31 +00:00
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