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