Commit Graph

690 Commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 9dbd1969fc wpp: Fix path separator on Windows platforms. 2012-12-27 17:15:39 +01:00
Alexandre Julliard 551077ab73 configure: Check for getopt_long_only instead of getopt_long.
Some platforms have the latter but not the former.
2012-11-08 10:57:09 +01:00
Alexandre Julliard 487c50c1e7 ntdll: Remove futimes implementation from libport, it's only needed in ntdll. 2012-10-30 18:08:11 +01:00
Matteo Bruni 80034de243 wpp: Explicitly pass include type to the lookup callback function.
Also, always pass the parent name to the callback, d3dcompiler needs
that information.
2012-06-13 21:35:39 +02:00
Matteo Bruni 8b0d3d9f9a wpp: Invert 'type' callback parameter value, to match comment. 2012-06-13 21:35:38 +02:00
Alexandre Julliard cbdc795515 libwine: Avoid memrchr. 2012-06-06 12:39:48 +02:00
André Hentschel 57de68e876 libwine: Improve bin directory detection on kFreeBSD and DragonFly BSD. 2012-06-05 10:24:31 +02:00
Damjan Jovanovic c296d1fbe1 libwine: Improve bin directory detection on FreeBSD. 2012-06-04 12:17:55 +02:00
André Hentschel e369e79bd5 libwine: Add checks for DragonFly BSD. 2012-05-29 10:47:00 +02:00
André Hentschel f93d3ad2f5 libwine: Always use Thumb instructions on ARM. 2012-04-30 19:34:41 +02:00
André Hentschel db09c6c393 libwine: Add thumb support. 2012-04-09 17:23:08 +02:00
Józef Kucia 2c8a3c31b7 wpp: Fix a few memory leaks in the wpp_parse() function. 2012-03-29 20:49:33 +02:00
Józef Kucia 1d9bb50230 wpp: Reset lexer state after unexpected end of file. 2012-03-12 10:12:53 +01:00
Nikolay Sivov fdcf7cc9af wpp: Properly use va_start/va_end around vsnprintf(). 2012-02-20 11:38:30 +01:00
Alexandre Julliard b46ea8a5b8 libwine: Avoid compiler warnings for Mingw builds. 2012-01-17 15:02:45 +01:00
Gerald Pfeifer 11e811411c libwine: Always build preloading code. 2012-01-17 11:52:19 +01:00
Daniel Lehman 8bed3b6f2c libwine: Use larger buffer in vsnprintfW for large numbers. 2012-01-09 12:52:17 +01:00
Francois Gouget e438743041 libwine: Include a couple of extra system headers to fix the compilation on Solaris. 2011-12-02 17:25:55 +01:00
Ken Thomases fda27ccc1b libport: For spawnvp(_P_DETACH, ...), double-fork to avoid creating zombies. 2011-12-01 10:45:26 +01:00
Ken Thomases abe6a13ff1 libwine: Reap child process to avoid leaving a zombie. 2011-12-01 10:45:15 +01:00
Ken Thomases 8780571698 libport: No need to reset SIGCHLD because we're not changing it anymore. 2011-12-01 10:11:01 +01:00
Charles Davis c857bdd09d libwine: Fix linking with non-Apple GCC. 2011-10-12 20:52:46 +02:00
Charles Davis 07decea872 libwine: Fix resetting the install_name on Mac OS. 2011-10-04 15:24:04 -05:00
Marcus Meissner 59e817c523 wpp: Add semicolons at end of code rules. 2011-09-26 18:00:32 +02:00
Alexandre Julliard 794b9313a4 libwine: Disable debug output when stderr goes to /dev/null. 2011-09-04 23:15:49 +02:00
Francois Gouget c992ca277d Assorted spelling fixes. 2011-08-24 19:07:46 +02:00
Robert Millan 535a55ec9e configure: Add GNU/kFreeBSD detection. 2011-08-24 11:58:15 +02:00
Alexandre Julliard 704a330a8e tools: Move the cpmap.pl script to tools/make_unicode. 2011-07-07 15:10:01 +02:00
Aric Stewart 7339c04b7b usp10: Shift to using the unicode data for most of the indic lexical functions. 2011-07-07 14:59:37 +02:00
Aric Stewart 95166855bb usp10: Implement ScriptBreak using the Unicode Line Breaking Algorithm. 2011-07-07 14:56:50 +02:00
Alexandre Julliard 6d78004899 libwine: Avoid a potential loop in reserve_area. 2011-06-22 13:43:26 +02:00
Alexandre Julliard 57765b8c30 libport: Don't clear the buffer on failure in mkstemps. 2011-05-26 12:21:02 +02:00
Stefan Dösinger a774152f1a port: Add isinf and isnan implementations for Visual Studio. 2011-05-25 12:25:38 +02:00
André Hentschel ff2b5c4535 libport: Remove Alpha support. 2011-04-20 13:09:30 +02:00
Akihiro Sagawa 16d5737009 libwine: MB_ERR_INVALID_CHARS makes an error when the undefined byte character is used. 2011-04-05 11:13:26 +02:00
Gerald Pfeifer 0d92426d2b wpp: Add explicit casts when mixing unsigned and signed integers. 2011-02-28 11:04:52 +01:00
Matteo Bruni 46caa0d225 wpp: Let pp_add_define take the responsibility of copying strings (Valgrind). 2011-02-21 12:45:28 +01:00
Matteo Bruni e32598b046 wpp: Free strings on define deletion (Valgrind). 2011-02-21 12:45:25 +01:00
Gerald Pfeifer 7a3226be46 wpp: Add explicit casts when mixing signed and unsigned integers. 2011-02-16 14:26:27 +01:00
Gerald Pfeifer 7f6d6b835d wpp: Fix the output type for the "unsigned OP signed" cases in BIN_OP_INT and friends. 2011-02-14 13:33:30 +01:00
Austin English b21319231e libwine: Add missing checks for FreeBSD_kernel. 2011-01-17 14:26:16 +01:00
Alexandre Julliard b8f6345d3d libwine: Remove redundant wine_switch_to_stack implementations. 2011-01-17 12:49:31 +01:00
André Hentschel 30063b5439 libwine: Implemented the call_on_stack function for Sparc. 2011-01-17 12:46:43 +01:00
Alexandre Julliard 06f76236d1 libwine: Fall back to normal exec if the preloader doesn't exist. 2011-01-13 19:56:12 +01:00
Alexandre Julliard 3812fd3006 libwine: Fix handling of null character in vsnprintfW for %c format. 2011-01-13 12:41:03 +01:00
Alexandre Julliard b9b0bcbf3f wpp: Line and column numbers must start at one. 2010-12-30 13:08:48 +01:00
Alexandre Julliard 13eafa047d configure: Get rid of the replacement function for gettid. 2010-12-27 12:08:37 +01:00
Alexandre Julliard 378df94ef8 libwine: Use the syscall function instead of inline assembly. 2010-12-23 17:07:35 +01:00
Alexandre Julliard ea8ee88f98 libwine: Reserve memory areas for 64-bit in case we don't have a preloader. 2010-12-17 13:25:41 +01:00
Alexandre Julliard 5af634fd3b libwine: Use the 64-bit preloader when starting 64-bit wine. 2010-12-16 20:02:18 +01:00
Alexandre Julliard 7a7b60098f libwine: Fix a pointer comparison warning. 2010-11-17 15:07:30 +01:00
Ken Thomases 47dea9b670 loader: On Mac, reserve the process's original thread for the frameworks.
The frameworks expect the original thread to run its run loop, so input
sources (like distributed notifications) get processed.  For example,
Core Audio on Snow Leopard doesn't track changes in the default ouput
device, such as when headphones are plugged in, without this.
2010-11-16 11:47:58 +01:00
Alexandre Julliard 6410ab1ce8 libwine: Update Unicode tables to the Unicode 6.0 standard. 2010-10-30 20:42:09 +02:00
André Hentschel f901fa9769 build-env: Don't use 'exchange instruction set' instructions on ARM to fix build on ARMv6 e.g. Nokia N810. 2010-09-21 14:17:37 +02:00
André Hentschel c704758a2f libs/wine: Fix ARM support. 2010-09-20 12:54:15 +02:00
Alexandre Julliard bd9852cd6f makefiles: Rename the SRCDIR, TOPSRCDIR and TOPOBJDIR variables to follow autoconf conventions. 2010-09-19 12:40:12 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Travis Athougies 4858654031 wpp: Fixed bug in preventing add_text_to_macro from handling macros over 1 kb large. 2010-07-28 12:21:54 +02:00
Marko Nikolic 0ffb137d4a libwine: Removed sign comparison warning. 2010-07-26 18:38:32 +02:00
Aric Stewart 46a5b46710 libwine: There are a few supercript characters (No, Lm types) that Windows marks as being either digit or as a letter. 2010-07-22 13:09:18 +02:00
Aric Stewart 459fb56afb libwine: There are a number of characters of non punctuation type in the latin I block that Windows considers to be punctuation. 2010-07-22 13:09:05 +02:00
Aric Stewart 84561d76e5 libwine: Remove some previous c1 cntrl exceptions that are no longer valid. 2010-07-22 13:05:13 +02:00
Aric Stewart f2b8873b1d libwine: Add C1_DEFINED to our C1 types and set it properly. 2010-07-22 13:02:31 +02:00
Aric Stewart 49a4e8dfb8 libwine: Update wctype table to represent windows 7 values. 2010-07-22 12:59:51 +02:00
André Hentschel fd5b4f4c0c libs/port: Add support for amd64-mingw32msvc platform. 2010-05-28 12:31:13 +02:00
Alexandre Julliard a5fe688704 libwine: Generate Unicode data for Arabic shaping. 2010-05-19 17:52:42 +02:00
Alexandre Julliard 930a13dd86 libwine: Add support for generating l_intl.nls, based on a patch by Andrey Turkin. 2010-05-06 20:50:14 +02:00
Alexandre Julliard 6f3f505f04 libwine: Generate a table for BiDi character mirroring. 2010-05-06 19:54:45 +02:00
Alexandre Julliard 388779e320 libwine: Update the character tables to Unicode 5.2. 2010-05-06 19:25:04 +02:00
Alexandre Julliard 65a82cb180 libwine: Download Unicode data files from unicode.org as needed in cpmap.pl. 2010-05-06 18:23:44 +02:00
Gerald Pfeifer b52eef9511 wpp: Remove variable dbgtext which is not really used frommake_number. 2010-04-26 07:00:12 -05:00
Alexandre Julliard dc0e712d10 libwine: Store more detailed information about characters direction. 2010-04-14 18:00:45 +02:00
Alexandre Julliard fd9c41ed20 libwine: Make cfi annotations optional for x86_64. 2010-04-12 12:37:35 +02:00
Alexandre Julliard 671eb84f9e libport: Make cfi annotations optional for x86_64. 2010-04-12 12:37:32 +02:00
Alexandre Julliard ced7d134c7 wpp: Build with -fPIC to allow libwpp to be used from dlls. 2010-03-30 15:52:53 +02:00
Alexandre Julliard bd94f95938 wpp: Get rid of wpp_parse_temp, temp file management is better left to callers. 2010-03-30 15:34:29 +02:00
Alexandre Julliard fbef7217b9 makefiles: Remove the no longer needed explicit dependencies for bison files. 2010-03-16 13:28:24 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 9644d1dcd7 makefiles: Generate a general catch-all dependency on .tab.h files to replace the manually maintained ones. 2010-02-08 20:58:00 +01:00
Alexandre Julliard bb26242f4e makefiles: Build the libs subdirectories directly from the top-level makefile. 2010-02-08 20:43:03 +01:00
Matteo Bruni b40bb31995 wpp: Assure if_stack is clean before returning. 2010-02-05 10:06:55 +01:00
Rob Shearman 3fecf9ddcd wpp: Fix expansion of macro bodies following the parsing of a numerical digit.
The current regular expression causes all letters and spaces (among
other characters) following the appearance of a digit to be classed as
a literal, including C identifiers which may need to be expanded.

The expression was intended to catch the remaining characters that
were not covered by the first two rules ([^a-zA-Z0-9'"#/\\\n]+ and
{cident}), but the [^'"#/\\\n] expression caught {cident} as well.
While one solution would have been just to catch the expression that
match [a-zA-Z0-9]* that don't match {cident}, i.e. [0-9][a-zA-Z0-9]*,
in the interests of avoiding unnecessary multiple LITERALs being
generated and then combined during parsing the expression also
includes the first expression, making it
[0-9][a-zA-Z0-9]*[^a-zA-Z0-9'"#/\\\n]*.
2010-01-19 12:43:30 +01:00
Marcin Baczyński bb9c9264c8 libport: Remove superfluous void* cast. 2010-01-07 17:59:57 +01:00
Alexandre Julliard 2b5d06afb9 wpp: Reset the line position when parsing a new file. 2010-01-04 13:02:16 +01:00
Alexandre Julliard 442512d59f libwine: Do not export any of the LDT support on non-i386 platforms. 2009-12-30 18:05:02 +01:00
Michael Stefaniuc e470475151 Revert "Revert "wpp: config.h and wine/port.h should be included first."".
This reverts commit 8e72924541.
Wine now requires a new enough flex version.
2009-12-30 13:36:23 +01:00
Matteo Bruni e132820330 wpp: Clean state on error path. 2009-12-29 11:15:59 +01:00
Alexandre Julliard eff7762d0a libwine: Fix handling of precision argument in vsnprintfW. 2009-10-29 13:05:37 +01:00
Alexandre Julliard 1aa749d9e7 libwine: Reserve some low memory space even without a preloader. 2009-10-27 19:06:48 +01:00
Yann Droneaud fec1e88984 libwine: Test against __linux__ define instead of just linux. 2009-10-27 10:49:41 +01:00
Matteo Bruni e773c516ba wpp: Add I/O callbacks. 2009-10-13 16:25:43 +02:00
Alexandre Julliard 305d4bfdd8 libport: Remove unnecessary function prototypes. 2009-10-07 15:04:47 +02:00
Marcus Meissner 15968fadef wpp: Fixed resource leakages (Coverity). 2009-10-07 12:23:58 +02:00
Matteo Bruni 29af4f9fa8 wpp: Add error management callbacks. 2009-10-06 16:12:39 +02:00
Matteo Bruni 28fb6a24b1 wpp: get_string() now can return NULL, handle it. 2009-10-06 16:12:39 +02:00
Matteo Bruni 9086c59d32 wpp: Handle remaining memory allocation failures. 2009-10-06 16:12:39 +02:00
André Hentschel 23842df371 libwine: Implemented the call_on_stack function for ARM. 2009-10-02 17:11:32 +02:00
Matteo Bruni c571d3c1fa wpp: Handle remaining memory allocation failures in ppl.l and ppy.y. 2009-10-02 12:29:56 +02:00
Matteo Bruni b7a2d2da3a wpp: Handle memory allocation failures in tokens management code. 2009-10-02 12:29:24 +02:00
Matteo Bruni 9b61ca1c0f wpp: Manage malloc failure in pp_xstrdup. 2009-10-02 12:27:43 +02:00
Matteo Bruni 026ca4cd00 wpp: Remove the assumption ppy_error calls exit(). 2009-10-02 12:26:06 +02:00
Alexandre Julliard f93c9d9b13 libwine: Don't export wine_ldt_copy for the Windows build. 2009-09-28 17:31:43 +02:00
Colin Fowler c741ad7dde libport: Add generic interlocked instruction support fallback. 2009-09-26 16:06:04 +02:00
Detlef Riekenberg c8d860b31e libs/port: use gcc compatible asm code as default for __i386__ (for PCC). 2009-09-15 16:41:24 -05:00
Alexandre Julliard b860c4aab0 configure: Add a .exe extension to the tools dependencies when building on Windows. 2009-09-01 22:36:13 +02:00
Alexandre Julliard 192fcc5bb3 libport: Added an interlocked_cmpxchg128 function for 64-bit. 2009-09-01 12:39:17 +02:00
Alexandre Julliard 995e553715 libwine: Determine the bin directory independently from the lib directory if possible.
Prefer the bin directory when getting the data dir location.
2009-08-25 14:29:32 +02:00
Alexandre Julliard 99538272d5 libwine: Ignore libraries that are of the wrong 32/64 class. 2009-08-11 17:29:07 +02:00
Alexandre Julliard 464c956a0a libwine: Fix the wctomb validity check for codepages where the default chars don't convert to each other. 2009-07-24 10:40:32 +02:00
Alexandre Julliard 1d5cb9d23b include: Get rid of the no longer used wine/pthread.h. 2009-07-06 14:35:24 +02:00
Alexandre Julliard 56af92b073 makefiles: Regenerate the source lists using make_makefiles. 2009-07-03 13:26:38 +02:00
Alexandre Julliard 065287ed66 libwine: Add call frame annotations in x86 assembly code. 2009-06-25 12:05:09 +02:00
Alexandre Julliard b9fd2c8d4c libwine: Add unwind annotations to the stack switching functions for x86_64. 2009-06-16 14:26:20 +02:00
Gerald Pfeifer 5a28d37fe6 libwine: Remove redundant prototype for wine_call_on_stack(). 2009-05-18 12:31:49 +02:00
Alexandre Julliard f41b239645 libwine: Don't export mmap functions for the Windows build. 2009-04-01 20:27:59 +02:00
Alexandre Julliard 8edf353bd2 libwine: Export __wine_get_main_environment on Mac OS to make sure it's reevaluated when used. 2009-04-01 15:07:42 +02:00
Francois Gouget c0a672b19d port: Remove spaces before '\n's. 2009-03-09 12:05:38 +01:00
Francois Gouget ae28fdb560 libwine: Reenable the memory reservation code on FreeBSD. 2009-03-09 12:05:27 +01:00
Alexandre Julliard cee15b2449 libwine: Try to load all modules in the programs directory, not just those with .exe extension. 2009-02-25 11:54:05 +01:00
Alexandre Julliard b38b207625 libwine: Get the reverse mapping of the Unicode default char to check for invalid chars.
We can't assume that wctomb(Unicode default char) is identical to the Ansi
default char.
2009-02-23 15:16:35 +01:00
Alexandre Julliard 8e16e78710 libwine: Re-generate the Windows codepage data using the bestfit files. 2009-01-19 20:33:55 +01:00
Alexandre Julliard dc727fa7b0 libwine: Enable perl warnings and use strict in cpmap.pl. 2009-01-19 19:57:53 +01:00
Alexandre Julliard 97d31ec789 libwine: Add support in cpmap.pl for parsing the Windows bestfit codepage files. 2009-01-19 19:21:55 +01:00
Paul Bryan Roberts d2b13825e4 libwine: Avoid writing to repository during install. 2009-01-15 13:16:24 +01:00
Alexandre Julliard 52035af0e5 libwine: Ignore format modifiers 'h' and 'l' when formatting a string. 2009-01-05 11:58:38 +01:00
Alexandre Julliard 9428dfe71a libwine: Fix vsnprintfW string formatting to handle alignment and padding.
Also fix handling of pointer format for 64-bit.
2009-01-04 14:59:54 +01:00
Gerald Pfeifer 3ba9986325 wpp: Add missing #include <ctype.h>. 2008-12-27 20:28:47 +01:00
Alexandre Julliard e5ad41bce3 libport: Check for ENOTSUP being defined before using it. 2008-12-27 20:06:28 +01:00
Alexandre Julliard 1399d14e0a libport: Avoid including winsock2.h. 2008-12-24 10:05:19 +01:00
Alexandre Julliard dc1a9f19c1 libport: Replacement for poll(). 2008-12-22 18:00:13 +01:00
Alexandre Julliard 0fbd55696c libport: Add a stub replacement for symlink(). 2008-12-22 11:38:39 +01:00
Alexandre Julliard d2a426a6ab libwine: Don't try to use the preloader on non-i386. 2008-12-12 10:19:54 +01:00
Francois Gouget df949b4e86 port: Remove unneeded casts of zero. 2008-12-08 12:04:51 +01:00
Alexandre Julliard 44162aa21a libwine: Don't export the selector functions for the Windows build. 2008-12-05 13:25:23 +01:00
Rob Shearman 92f5aa0a69 wpp: Check for overflows when parsing integer constants. 2008-10-22 11:57:36 +02:00
Jacek Caban 1715dcbb19 libport: Added isnan. 2008-10-15 12:22:19 +02:00
Alexandre Julliard 4eb350b86b libwine: Add support for relocating MS-style imports that use OriginalFirstThunk. 2008-09-04 21:52:36 +02:00
Alexandre Julliard c614a2481a libwine: Reserve some malloc space on Solaris before we start mapping other things. 2008-09-03 17:22:17 +02:00
Alexandre Julliard b3ec2e5f95 makefiles: Recurse into all directories for install-lib and install-dev too. 2008-08-25 14:27:03 +02:00
Dan Hipschman 1b392bfa06 libs/wine: Avoid over-allocating memory in default_dbgstr_wn. 2008-07-16 17:54:55 +02:00
Alexandre Julliard 28a2179dd6 Add noinput directive to all lex files to avoid a compiler warning. 2008-07-07 12:31:33 +02:00
Alexandre Julliard 8e72924541 Revert "wpp: config.h and wine/port.h should be included first."
This reverts commit 33017b0d93.
Some distros still ship flex 2.5.4 unfortunately.
2008-06-30 16:17:35 +02:00
Alexandre Julliard 33017b0d93 wpp: config.h and wine/port.h should be included first. 2008-06-30 12:52:00 +02:00
Simon Richter 2416533cd5 libwine: Fix wine_switch_to_stack on ppc.
The PowerPC ABI expects the caller to allocate space for the return
address on the stack, above the current stack pointer, even if the
address is passed in the link register (usually the address is stored at
SP+4 by the callee).
2008-06-02 12:34:28 +02:00
Simon Richter ff77ba8e17 libwine: Implement wine_call_on_stack for ppc. 2008-06-02 12:34:06 +02:00
Alexandre Julliard 10e795a091 libport: Move the sigsetjmp replacement to exception.h to make it available for Winelib too. 2008-05-26 19:23:43 +02:00
Petr Sumbera 4992b6590e port: Add alternative for isinf. 2008-04-30 13:45:23 +02:00
Alexandre Julliard 662718160e libwine: Allow to specify a non-existing directory as WINEPREFIX. 2008-04-21 15:48:12 +02:00
Francois Gouget d8c41a25da Spelling fix in the ldt bitfields. 2008-04-14 12:40:22 +02:00
Alexandre Julliard 5fe73e6903 libwine: Added mappings for codepage 1361 (Korean Johab). 2008-04-08 12:19:27 +02:00
Alexandre Julliard 85241fbe5b libwine: Only use the last line of the git version description. 2008-04-07 17:38:27 +02:00
Andrew Talbot 8ba539844b port: Remove superfluous semicolon. 2008-04-07 11:24:05 +02:00
Alexandre Julliard 8505f1429d libwine: Export functions that return the Wine version number and build id. 2008-03-26 23:38:36 +01:00
Alexandre Julliard c9f0bea910 libwine: Added a wine_call_on_stack function. 2008-03-26 15:38:00 +01:00
Ken Thomases 3674c77341 libwine: Cope with Leopard brokenness w.r.t. setrlimit(RLIMIT_NOFILE). 2008-03-22 11:14:23 +01:00
Francois Gouget 63040e4d90 port: s/#if/#ifdef/ so it still works if HAVE_XXX is not defined. 2008-03-06 17:39:13 +01:00
Francois Gouget 8d8b44089d port/getopt: s/#if/#ifdef/ so it still works if HAVE_STRING_H is not defined. 2008-03-05 12:21:11 +01:00
Rob Shearman 0c694d710e makefiles: Split AR into AR and ARFLAGS. 2008-03-04 20:55:24 +01:00
Rob Shearman 7cb2ced97d libport: Undefine strcasecmp and strncasecmp in case they are defined to stricmp and strnicmp respectively. 2008-03-04 12:02:26 +01:00
Rob Shearman dfcd07eba0 libwpp: Include wine/port.h in ppl.l as strcasecmp is used, which isn't available on all platforms. 2008-03-04 12:01:44 +01:00
Alexandre Julliard 41fbacefa1 Avoid the nounistd option that doesn't exist on older flex, define YY_NO_UNISTD_H instead. 2008-02-19 15:42:49 +01:00
Rob Shearman 878ea5d2e2 Add the nounistd option to all lex source files. 2008-02-19 13:39:25 +01:00
Alexandre Julliard 86ff825f41 libwine: Add option for Unicode composition in utf-8 -> wchar conversion. 2008-02-15 12:06:58 +01:00
Alexandre Julliard dbefd038ac libwine: Abstract part of the utf8 char decoding to a separate function. 2008-02-15 12:06:42 +01:00
Rob Shearman 1279cf3597 libport: Use configure guards for include files that may not be present. 2008-02-13 16:42:05 +01:00
Alexandre Julliard bc3a5bad0f libwine: Properly increment source pointer for surrogates in wine_utf8_wcstombs.
Spotted by Ken Thomases.
2008-01-21 12:40:57 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Alexandre Julliard 6475603985 libwine: Work around the Mac OS dynamic loader support for PE files. 2007-11-29 15:32:49 +01:00
Alexandre Julliard be32b3413c libport: Work around Mac OS execve() breakage. 2007-11-19 14:57:27 +01:00
Paul Millar 8d571e28f1 libwine: Fix naked getuid() to allow compilation under MinGW. 2007-11-12 11:39:52 +01:00
Alexandre Julliard 65d865d963 libwine: Refuse to use a WINEPREFIX dir owned by a different user. 2007-11-08 12:21:10 +01:00
Michael Stefaniuc cc4b9656b9 wpp: Remove redundant NULL check before free(). Found by Smatch. 2007-10-22 12:36:08 +02:00
Gerald Pfeifer 3ab66cd00f libwine: Conditionally provide reserve_area(). 2007-10-15 17:49:56 +02:00
Andrey Turkin fa0524a414 libwine: Emulate MS linker stub for builtin dlls. 2007-10-10 11:18:35 +02:00
Alexandre Julliard b9304bd64c libwine: Initialize debug channels options on first use. 2007-09-11 11:57:11 +02:00
Tijl Coosemans f1fcf80a69 libwine: Use GDT entry for %fs segment on FreeBSD. 2007-08-27 12:14:52 +02:00
Alexandre Julliard 44639b326b libwine: Fix lookup of 16-bit dll placeholders. Remove some old compatibility code. 2007-07-30 14:44:05 +02:00
Alexandre Julliard 5fe7589bb4 libwine: Get rid of the lookup in the top dlls/ dir, all dlls are named correctly now. 2007-07-26 11:57:14 +02:00
Alexandre Julliard 49a3d4371d wpp: Don't suppress output from C include files, that's up to the user. 2007-06-28 14:10:42 +02:00
Alexandre Julliard 79c2e077a1 libwine: Set install name to an absolute path for the installed library on Mac OS. 2007-06-08 19:04:17 +02:00
Alexandre Julliard e6df00aa4f libwine: Add support for glyph chars mapping in OEM codepage tables. 2007-05-29 23:31:14 +02:00
Alexandre Julliard f3960b22b1 libwine: Hack to work around the Solaris dlopen() brain damage. 2007-03-30 12:17:01 +02:00
Andrew Talbot 4125821a99 winelib: Replace inline static with static inline. 2007-03-27 12:38:06 +02:00
Detlef Riekenberg 1c559eb474 libs/wine: Use xstrdup to avoid duplicate code. 2007-03-17 19:50:48 +01:00
Alexandre Julliard a44d1e5f6e libwine: Update the Unicode tables to version 5.0.1 of the standard. 2007-03-14 16:22:46 +01:00
Alexandre Julliard 62c3d3d620 libwine: Added support for Unicode surrogates in utf-8 conversions.
Also make the conversions more strict against invalid input data.
2007-03-14 15:58:56 +01:00
Alexandre Julliard a79b26284a libwine: Pass flags to wine_utf8_wcstombs to allow supporting WC_ERR_INVALID_CHARS. 2007-03-14 15:57:50 +01:00
Rob Shearman 4c8fbfed90 libwine: Eliminate duplicate function implementations in string.c
by using macros to turn off inlining when including wine/unicode.h.
2007-02-26 13:39:24 +01:00
Alexandre Julliard d1f7d2c683 libwine_port: Implemented interlocked_cmpxchg64 for x86_64. 2007-02-05 21:47:29 +01:00
Damjan Jovanovic 7e7ff40769 libwine_port: Added interlocked_cmpxchg64. 2007-02-05 21:43:42 +01:00
Alexandre Julliard 494c42d01d libwine: Hardcode the data for the US-ascii codepage instead of loading a unicode.org file. 2007-02-05 20:39:13 +01:00
Joris Huizer eefea58d7d libwine: sign-compare fixes. 2007-01-26 12:56:07 +01:00
Joel Parker 2319999a05 Remove redundant semicolons for ANSI compatibility. 2007-01-17 11:58:15 +01:00
Francois Gouget bb8e625b5b Assorted spelling fixes. 2006-12-05 10:31:47 +01:00
Alexandre Julliard a68d293bae preloader: Setup a fake thread-local storage block pointed to by %gs. 2006-11-03 13:55:41 +01:00
Michael Stefaniuc 173f7bd26c janitorial: Remove remaining NULL checks before free() (found by Smatch). 2006-10-10 12:56:24 +02:00
Alexandre Julliard 84cb26e48a makefiles: Remove the dependencies comment in files that don't need it. 2006-09-14 09:38:39 +02:00
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
Alexandre Julliard 240d4ee9e1 Remove a few more instances of strncpy. 2005-04-25 15:51:45 +00:00
Francois Gouget 93416cdaf7 Assorted spelling fixes. 2005-03-23 13:15:18 +00:00
Ge van Geldorp 73227aa568 Treat already preprocessed code just like normal #include'ed code. 2005-02-25 16:19:35 +00:00