Commit Graph

362 Commits

Author SHA1 Message Date
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