Commit Graph

490 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