Commit Graph

412 Commits

Author SHA1 Message Date
Charles Davis b5f210ddc9 libwine: Define some functions only on i386 (Clang).
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 23:26:30 +09:00
Dmitry Timoshkov dfbbd55af7 kernel32: CompareStringW should abort on the first nonmatching character to avoid an invalid memory access.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:06:55 +09:00
Alexandre Julliard 6203373496 libwine: Map partial DBCS characters to the default char.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 13:46:48 +09:00
Alexandre Julliard dec6a946d3 makefiles: Replace the libwine makefile rules by variable declarations.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 22:24:53 +09:00
Alexandre Julliard 1fa7710ff9 makefiles: Get rid of the DLLPREFIX variable.
Android libraries will be handled differently.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 12:12:58 +09:00
Alexandre Julliard 90d66cc874 makefiles: Only define the dummy target in makefiles that need it.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-22 21:36:15 +09:00
Alexandre Julliard d197252fb3 libwine: Pass the correct length to GetStringUTFRegion.
Spotted by Jactry Zeng.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-20 00:30:36 +09:00
Nikolay Sivov e8c1cf4402 Update data tables to Unicode 8.0.0. 2015-10-02 15:37:05 +09:00
Nikolay Sivov a7e294c064 libwine: Fix double byte default char initialization. 2015-09-11 20:58:04 +09:00
Jacek Caban 719a7d32c5 ntdll: Added new pid debug channel to append process id to debug output. 2015-08-25 21:13:22 +09:00
Alexandre Julliard a6a9b05dee libwine: No longer look for libraries in the dll path on Android. 2014-07-24 09:25:21 +02:00
Alexandre Julliard 8478cece69 libwine: Update LD_LIBRARY_PATH in the current process from the JNI environment. 2014-07-24 09:24:49 +02:00
Alexandre Julliard 500bbb3e9a libwine: Update the codepage tables to Unicode 7.0.0. 2014-06-23 16:41:52 +02:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Alexandre Julliard 509364e1dd makefiles: Get rid of Make.rules. 2014-01-14 12:18:02 +01:00
Alexandre Julliard 0d533cf0bd makefiles: Allow define arguments to be specific to a single file. 2014-01-07 12:20:25 +01:00
André Hentschel 02e6f7d146 libwine: Added LDT support for GNU/Hurd.
Based on a patch by Andrew Nguyen.
2014-01-06 17:10:05 +01:00
Alexandre Julliard ce25c89585 makedep: Don't expand variable references that use ${}. 2014-01-04 20:33:57 +01:00
Alexandre Julliard e9afeb2a50 makefiles: Automatically add dll flags where necessary. 2014-01-01 21:33:06 +01:00
Alexandre Julliard d822f32a4f makefiles: Define libwine soversion from configure. 2013-12-31 19:25:54 +01:00
Alexandre Julliard 1047e0474d makefiles: Leave it to install-sh to create destination directories. 2013-12-26 14:35:15 +01:00
Alexandre Julliard 067d3f0ddb makefiles: Merge the relpath functionality into makedep. 2013-11-09 12:32:06 +01:00
Alexandre Julliard 3571c06799 makefiles: Generate explicit build rules for C source files from makedep. 2013-10-28 11:16:11 +01:00
Ken Thomases e577e4b3e6 libwine: Fix a potential write through a null pointer. (Clang). 2013-10-21 10:47:22 +02:00
Alexandre Julliard 13479aa7b8 tools: Update the character data tables to Unicode 6.3.0. 2013-10-15 16:09:16 +02:00
Alexandre Julliard e318b4a59c makefiles: Move the static library rules to the global Make.rules file. 2013-10-09 11:25:04 +02:00
Alexandre Julliard 8d5b8b1346 makefiles: Define __WINESRC__ globally. 2013-10-07 10:48:04 +02:00
Alexandre Julliard a60ebd3ade makefiles: Link libwine statically into the tools to avoid run-time path dependencies. 2013-10-04 17:46:22 +02:00
Alexandre Julliard c30923f25b libwine: Add JNI initialisation support to start Wine from an Android activity. 2013-10-01 17:32:17 +02:00
Alexandre Julliard 8355887560 makefiles: Clean files from the top-level makefile where possible. 2013-09-30 20:34:53 +02:00
Alexandre Julliard 626be2eab1 libwine: Look for all libraries in the dll search path on Android. 2013-09-26 18:15:12 +02:00
Alexandre Julliard a83c598c79 makefiles: Add support for specifying a prefix for installed library file names. 2013-09-26 14:35:45 +02:00
Alexandre Julliard 2b2bf64d3b libwine: Put the server directory inside the wineprefix on Android. 2013-09-16 12:51:11 +02:00
Alexandre Julliard 876189a405 libwine: Don't add a user id to the server directory if not supported. 2013-09-16 12:43:07 +02:00
Alexandre Julliard 16c8ca8082 libwine: Use the argv[0] directory as bin directory only if all other methods fail. 2013-09-16 12:34:44 +02:00
Alexandre Julliard 4be4ad8278 libwine: Add support for codepage 10005 (Mac Hebrew). 2013-08-19 19:02:01 +02:00
Alexandre Julliard 23ddde8850 libwine: Add support for codepage 10004 (Mac Arabic). 2013-08-19 19:00:55 +02:00
Alexandre Julliard 4f718ca07d libwine: Add support for defining round-trip mappings using the Unicode private range. 2013-08-19 18:59:40 +02:00
Alexandre Julliard 194c43ac30 libwine: Compress code page tables by merging identical sequences. 2013-07-22 17:16:02 +02:00
Alexandre Julliard 6cb5cf183a libwine: Update the codepage tables to Unicode 6.2.0. 2013-07-22 17:16:01 +02:00
Alexandre Julliard 4be0f88e8d libwine: Use the best fit data for codepage 1361. 2013-07-22 17:16:00 +02:00
Alexandre Julliard 5fbb68769a libwine: Fix the default Unicode character for codepage 20932. 2013-07-22 17:16:00 +02:00
Alexandre Julliard 89a54082be libwine: Fix the default character for EBCDIC codepages. 2013-07-22 17:15:59 +02:00
Alexandre Julliard 2db2303bbc libwine: Add support for codepage 10082 (Mac Croatian). 2013-06-26 17:57:28 +02:00
Alexandre Julliard 085eda4e2d libwine: Add support for codepage 10021 (Mac Thai). 2013-06-26 17:56:26 +02:00
Alexandre Julliard 0928012251 libwine: Add support for codepage 10017 (Mac Ukrainian). 2013-06-26 17:55:31 +02:00
Alexandre Julliard ee34072cfb libwine: Add support for codepage 10010 (Mac Romanian). 2013-06-26 17:54:16 +02:00
Alexandre Julliard 1aebebaf72 libwine: Add support for codepage 10008 (Mac Simplified Chinese). 2013-06-26 17:52:31 +02:00
Alexandre Julliard 701d5efdef libwine: Add support for codepage 10003 (Mac Korean). 2013-06-26 17:50:04 +02:00
Alexandre Julliard c90c593288 libwine: Add support for codepage 10002 (Mac Traditional Chinese). 2013-06-26 17:47:17 +02:00
Alexandre Julliard aa23d6ecc6 libwine: Add support for codepage 10001 (Mac Japanese). 2013-06-26 17:42:33 +02:00
Alexandre Julliard ce4b6451aa configure: Add explicit install targets in libs/wine for make_makefiles. 2013-05-10 22:01:44 +02:00
Alexandre Julliard 54244470f3 makefiles: Generate the platform-specific libwine rules from configure. 2013-05-01 13:33:39 +02:00
Dmitry Timoshkov e2791cdfb1 include: Make IMAGE_RESOURCE_DIRECTORY_ENTRY match PSDK definition. 2013-04-29 13:33:54 +02:00
Ken Thomases 304463b4e1 libwine: Add libwine's directory (@loader_path) to rpath. 2013-04-16 12:10:24 +02:00
Ken Thomases cf73350d9f loader: On Mac, if Wine is already on secondary thread, don't reserve it for the system frameworks. 2013-04-16 12:05:22 +02:00
Ken Thomases 71377c5652 libwine: Make [v]snprintW() always null-terminate the buffer, even if it's short. 2013-04-10 16:16:46 +02:00
Jacek Caban e422a22ed9 libwine: Added tid debug channel support on native Windows builds. 2013-03-28 12:18:31 +01:00
André Hentschel fc08021151 libport: Remove SPARC support. 2013-03-11 10:50:40 +01:00
Alexandre Julliard ef4981bd5b libwine: Hardcode Linux syscall numbers. 2013-01-21 16:00:16 +01:00
André Hentschel 16954b3a82 libwine: Implemented the wine_call_on_stack function for ARM64. 2013-01-16 12:34:27 +01:00
Ken Thomases f377591e98 libwine: Use rpath-based install name and library references for libwine on Mac. 2013-01-11 12:03:54 +01:00
Alexandre Julliard cef0fde53d libwine: Use sysconf() instead of getpagesize(). 2013-01-09 12:21:26 +01:00
Ken Thomases 573436047e libwine: Call the Mac Multi-Processing Services lib from the main thread first. 2013-01-08 16:35:19 +01: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
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 abe6a13ff1 libwine: Reap child process to avoid leaving a zombie. 2011-12-01 10:45:15 +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
Alexandre Julliard 794b9313a4 libwine: Disable debug output when stderr goes to /dev/null. 2011-09-04 23:15:49 +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
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
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 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
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
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
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 bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +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
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
André Hentschel 23842df371 libwine: Implemented the call_on_stack function for ARM. 2009-10-02 17:11:32 +02:00
Alexandre Julliard f93c9d9b13 libwine: Don't export wine_ldt_copy for the Windows build. 2009-09-28 17:31:43 +02: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 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 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
Alexandre Julliard d2a426a6ab libwine: Don't try to use the preloader on non-i386. 2008-12-12 10:19:54 +01:00
Alexandre Julliard 44162aa21a libwine: Don't export the selector functions for the Windows build. 2008-12-05 13:25:23 +01: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
Dan Hipschman 1b392bfa06 libs/wine: Avoid over-allocating memory in default_dbgstr_wn. 2008-07-16 17:54:55 +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 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