Commit Graph

293 Commits

Author SHA1 Message Date
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 6406f60ff3 libwine: Avoid a compiler warning on Solaris. 2006-09-12 11:01:57 +02:00
Alexandre Julliard 2d778c5eea wpp: Change the prefix on bison-generated names to avoid the name-prefix directive. 2006-09-12 09:04:55 +02:00
Alexandre Julliard 145a0ba508 makefiles: List bison dependencies explicitly for parallel makes, since older bisons don't support --defines. 2006-09-11 21:43:11 +02:00
Alexandre Julliard 9c085cba0a makefiles: Add global rules for bison and lex files.
Also build the .c and .h files separately to allow parallel makes.
2006-09-09 13:16:22 +02:00
Alexandre Julliard 65516804ee libs/wpp: Specify the bison name prefix directly in the source file. 2006-09-09 11:25:10 +02:00
Andrew Talbot 5e8f9c7aff libwine: Cast-qual warning fix. 2006-08-23 12:00:27 +02:00
Alexandre Julliard e533e972bf configure: Moved the library checks after the function checks to avoid code duplication. 2006-08-15 12:11:30 +02:00
Alexandre Julliard 946b84d96c libwine: Also set the current library version for MacOS. 2006-08-14 20:45:32 +02:00
Alexandre Julliard 2886e9b0e8 makefiles: Use make dependencies to create installation directories.
This avoids a lot of redundant calls to mkinstalldirs.
2006-08-07 17:48:18 +02:00
Alexandre Julliard 539442c7f8 libwine: Add a minor number to the library filename for future extensions. 2006-08-05 21:29:58 +02:00
Alexandre Julliard fdfc24ca77 libs: Get rid of Makelib.rules since we only have one library now.
Merge all the rules into the libwine makefile.
2006-08-05 21:17:11 +02:00
Alexandre Julliard eb2bedc56d libport: Fixed invalid lvalue accesses in memmove. 2006-08-01 19:35:52 +02:00
Alexandre Julliard 6a5d3600dd libwine: Better heuristic for finding the top of the address space on Linux. 2006-07-31 17:09:34 +02:00
Alexandre Julliard 0b39d1a89e libwine: Added a function to enumerate the reserved mmap areas. 2006-07-24 13:59:10 +02:00
Dan Hipschman 804993deea wpp: In recursive macro definitions, print the macro name instead of nothing. 2006-07-18 11:35:51 +02:00
Paul Millar df10b7d580 libwine: Add a configure check for setrlimit. 2006-07-17 14:35:32 +02:00
Alexandre Julliard 3b2c2cdbb3 libs: Get rid of the libwine symlinks. 2006-07-11 21:32:52 +02:00
Alexandre Julliard 645cd6ff50 libs: Get rid of the symlinks for the static libs. 2006-07-11 19:33:48 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard f202bdbf20 libs/.gitignore: Added wildcards for libraries. 2006-07-10 21:41:34 +02:00
Alexandre Julliard 88c97d7284 .gitignore: Added wildcards to ignore lex and bison output files. 2006-07-10 21:40:49 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Alexandre Julliard 96d6724eaf libwine: Attempt to increase some user limits that are set too low on some platforms. 2006-06-27 20:14:12 +02:00
Juan Lang 22d7f14144 kernel: Use the WinXP method for comparing strings with embedded NULLs. Update tests. 2006-06-22 12:29:03 +02:00
Alexandre Julliard 0e2fcd4ba8 libwine: Better memory reservation algorithm for platforms that use try_mmap_fixed. 2006-06-20 19:07:22 +02:00
Alexandre Julliard e43cec76d1 libwine: Remove one more directory level when checking for build dir.
This way it still works if the libdir we got was libs/wine instead of libs.
2006-06-19 22:45:28 +02:00
Alexandre Julliard 3fb4b32949 libwine: Fixed a compiler warning on MacOSX. 2006-06-15 14:14:26 +02:00
Robert Shearman 0d01da1fbf libunicode: Add a code page table for the US-ASCII encoding. 2006-06-08 10:16:21 +02:00
Alexandre Julliard dbb455e7ab libwine: Don't use libwine_unicode functions. 2006-05-24 17:16:42 +02:00
Alexandre Julliard f01d9879c6 libwine_unicode: Renamed is_dbcs_leadbyte to wine_is_dbcs_leadbyte. 2006-05-24 14:14:09 +02:00
Alexandre Julliard a92db320de libwine_unicode: Define all functions in the library even if they can be inlined. 2006-05-24 14:00:47 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 7ed7e8fd4d configure: Make libraries properly relocatable on MacOS.
Also set the compatibility version.
2006-05-15 15:14:45 +02:00
Bill Medland 427e488ba1 wpp: Support long long constants if configure says long long is available 2006-05-05 18:06:54 +02:00
Alexandre Julliard 36fb66dc79 wpp: Fixed typo in long long constants handling. 2006-04-21 12:44:40 +02:00
Bill Medland 9e73da7340 wpp: Implement long long constant parsing. 2006-04-21 12:44:21 +02:00
Alexandre Julliard a8569bf7e0 libwine: Added a couple of missing memory constraints in LDT syscalls. 2006-04-18 16:47:26 +02:00
Alexandre Julliard e814b24e6d libwine: Only try to mmap the exact address when reserving memory.
This should avoid some extra work on platforms that need the
try_mmap_fixed function.
2006-04-13 21:55:33 +02:00
Alexandre Julliard b7d5b31cf1 libwine: Reorganize the mmap code a bit to avoid some #ifdefs. 2006-04-13 21:53:41 +02:00
Mike McCormack f7679b4594 libwine: Fix a memory leak. 2006-04-07 11:45:53 +02:00
Alexandre Julliard 4db364cb77 libwine: Added magic handling of dll path when running in build dir.
This should ensure that we do the right thing in the build dir even if
WINEDLLPATH isn't set.
2006-03-17 13:08:08 +01:00
Alexandre Julliard 5ff1004c4d libwine: Export wine_get_build_dir. 2006-03-16 17:36:19 +01:00
Alexandre Julliard bf566139d7 libwine: Added support for executing wine binaries out of the build dir. 2006-03-16 17:35:32 +01:00
Alexandre Julliard 77b3b92eb2 libwine: Added detection for Wine being run out of the build directory. 2006-03-16 17:35:14 +01:00
Alexandre Julliard 2f026d1694 libwine: Export a function to retrieve the data directory (based on a
patch by Dmitry Timoshkov).
2006-03-06 18:50:15 +01:00
Alexandre Julliard 1269f43c5a libwine: Add the runtime library path to the front of the dll paths list. 2006-02-17 17:39:44 +01:00
Alexandre Julliard e95a2c2111 libwine: Set the default bindir and dlldir from argv0 if dladdr is not available.
Added dependency on $(RELPATH).
2006-02-17 14:08:19 +01:00
Alexandre Julliard 8b5e11c341 libwine: Compute relative paths for bin and dll directories at compile time. 2006-02-17 11:43:10 +01:00
Alexandre Julliard 9dffd134dd libwine: Try the current load path in priority before the
WINELOADER/WINESERVER environment variables in wine_exec_wine_binary.
2006-02-16 20:26:55 +01:00
Alexandre Julliard 767ad69a45 libwine: Don't rely on argv[0] in wine_exec_wine_binary if we can get
the directory from the library itself.
Only try the hardcoded BINDIR if everything else failed.
2006-02-16 20:06:20 +01:00
Alexandre Julliard ca6fd0d4ec libwine: Only use the library directory if it's an absolute path. 2006-02-16 20:03:06 +01:00
Alexandre Julliard aed49d439e libwine: New naming scheme for 16-bit builtin dlls.
Stop using symlinks for 16-bit dlls to make sure they don't get loaded
by mistake when looking for a 32-bit dll.
2006-02-16 13:44:38 +01:00
Emmanuel Maillard aaae6606cb loader: Reserve memory area on Darwin (based on Steve Zellers patch). 2006-02-15 13:52:02 +01:00
Mike Frysinger 5392844392 Add support for 'make install DESTDIR'. 2006-02-14 13:51:38 +01:00
Alexandre Julliard 0b34fb3656 libwine: Use dladdr if supported to get the run-time path of libwine.so
and define the default dll and bin directories relative to it.
2006-02-11 22:38:44 +01:00
Robert Millan 55b74483de configure: For sys/mount.h, sys/statfs.h and sys/vfs.h, always include
them if present.
2006-02-06 21:53:27 +01:00
Eric Pouech 3c0e5eed83 A few fixes for pointer qualifiers (const, volatile) warnings. 2006-02-06 13:10:18 +01:00
Robert Millan 8800352477 Enable for GNU/kFreeBSD the same kernel-specific interface/parameter
that is used with FreeBSD.
2006-02-05 13:06:50 +01:00
Alexandre Julliard 65424dc3a8 libwine: Added wine_dll_enum_load_path function to allow querying the dll path. 2006-02-04 17:02:05 +01:00
Eric Pouech e0cffe355f Fix a couple of bugs spotted by valgrind. 2006-01-27 16:18:05 +01:00
Alexandre Julliard 53496f83e7 Fixed a couple of warnings on MacOS. 2006-01-23 16:48:26 +01:00
Alexandre Julliard 4d3996d515 libwine: Added LDT support for MacOS/x86. 2006-01-23 12:02:58 +01:00
Alexandre Julliard 1e96455094 Remove YY_NO defines that cause warnings. 2006-01-05 12:20:05 +01:00
Alexandre Julliard 88991e2a4e Support building flex files without debug support. 2006-01-03 15:11:46 +01:00
Alexandre Julliard 0ae2c69c7a Added some flex options to avoid compiler warnings.
Moved options from the Makefile into the source.
2006-01-03 12:16:05 +01:00
Alexandre Julliard ec34a66612 Ignore symlink files too (needed for git). 2005-11-26 13:12:57 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard cc01e8ff05 Preserve 16-byte stack alignment in the various assembly
functions. Needed for MacOSX.
2005-11-23 19:55:06 +01:00
Alexandre Julliard 970fcb1bf9 Updated codepage tables to Unicode version 4.1. 2005-11-18 12:15:04 +00:00
Alexandre Julliard 3d086ca2b7 Only update modified files. 2005-11-17 11:43:10 +00:00
Robert Shearman 04aa6a88b4 Remove some incompatibilities in the wctype table by updating the
space, blank and cntrl exceptions and fixing the type given to
characters in the "Zl" and "Zp" classes.
2005-11-17 11:07:04 +00:00
Alexandre Julliard 2058f54300 Added a __wine_dbg_set_channel_flags function to allow changing flags
from inside the code.
2005-10-18 10:49:20 +00:00
Alexandre Julliard 36c3199782 Default search path for an include file should be based on the path of
the parent source file, not the current directory.
2005-10-10 18:06:50 +00:00
Alexandre Julliard 784c94516b Export the get_channel_flags function avoid warnings when passing a
NULL format to wine_dbg_log.
Removed a few no longer used functions.
2005-09-29 11:16:52 +00:00
Alexandre Julliard cd91bc61be Now that we are requiring bison anyway, make the .tab.c file use the
same base name as the .y file, so that we can generate correct
dependencies in all cases.
2005-09-28 18:17:08 +00:00
Alexandre Julliard cbc38965c0 New scheme for keeping track of debug channels that doesn't require
maintaining a list of all loaded dlls.
2005-09-28 15:21:48 +00:00
Alexandre Julliard a443761b8d Export the temp buffer functionality in the debug functions interface
to allow sharing more code between libwine and ntdll.
2005-09-26 16:45:25 +00:00
Alexandre Julliard 43c6396e94 Use int instead of long in interlocked_* functions for 64-bit
compatibility.
2005-09-26 13:51:58 +00:00
Alexandre Julliard 75c27e17b6 Defined a proper structure for debug channels.
Also put all the function pointers inside a structure and added
__wine_dbg_set_functions to change them instead of exporting the
pointers directly.
2005-09-23 10:52:07 +00:00
Alexandre Julliard 86ab2c9693 Removed sysi86 prototype that is causing conflicts. 2005-09-19 14:45:15 +00:00
Alexandre Julliard 80083b18f8 Store RVAs instead of pointers wherever possible in the generated NT
header and directories.
2005-09-17 14:39:51 +00:00
Alexandre Julliard 0799e8403b Use the NT descriptor address as start of the data section, since the
BaseOfData field isn't present in Win64.
2005-09-15 15:09:12 +00:00
Alexandre Julliard 7e4c88c6d9 Avoid some warnings on 64-bit platforms. 2005-09-13 11:07:14 +00:00
Alexandre Julliard 6153b1f927 Only add the default dlldir to the search path if that's where ntdll
is found.
2005-09-12 11:20:31 +00:00
Alexandre Julliard ee7d27a7bf Implemented wine_switch_to_stack for x86_64. 2005-09-08 19:16:12 +00:00
Alexandre Julliard 883d3c52d3 Use explicit function pointers for pthread support instead of relying
on ELF symbol overriding.
2005-09-03 15:11:29 +00:00
Alexandre Julliard c486949985 Implemented wine_ldt_alloc_fs and wine_ldt_init_fs for Mac OS. 2005-08-29 10:56:54 +00:00
Alexandre Julliard 87b297ebc2 Use the correct ordinal flag for Win64 support. 2005-08-29 09:49:47 +00:00
Mike McCormack f732617397 Fix a gcc 4.0 -Wpointer-sign warning. 2005-08-03 14:54:38 +00:00
Mike McCormack 2abbb9093d gcc 4.0 warning fix. 2005-08-01 09:21:03 +00:00
Alexandre Julliard 385a199fef Faster implementation of wcstombs that handles overlapping buffers
properly (based on a patch by Dmitry Timoshkov).
2005-07-22 09:23:16 +00:00
Kevin Koltzau da6f8fac77 Add x86_64 interlocked functions. 2005-07-18 09:11:52 +00:00
Marcus Meissner 2d7e976eed Fixed signedness warnings. 2005-07-10 17:45:53 +00:00
Alexandre Julliard 84f9d13664 Added error message for missing LDT support on i386. 2005-07-03 11:26:13 +00:00
Eric Pouech 809edabfbe Const correctness fixes. 2005-06-27 09:53:46 +00:00
Wolfgang Thaller 4c5f9c091b Implement try_mmap_fixed for Darwin. 2005-06-20 11:43:47 +00:00
Mike McCormack 65ad7da1f7 Fix some declaration and write string warnings. 2005-06-16 10:45:25 +00:00
Robert Lunnon d7272dedc7 Add RTLD_FIRST flag to dlopen calls. 2005-05-10 15:13:20 +00:00
Robert Lunnon c0cb4d352b Implement futimes for Solaris using futimesat. 2005-05-07 14:53:38 +00:00