Commit Graph

167 Commits

Author SHA1 Message Date
Alexandre Julliard c27aa289b7 msvcrt: Use the appropriate mangled names for operator new/delete on 64-bit. 2010-07-22 16:55:35 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bcf1ef3c90 msvcrt: Make a few more exception handling functions i386-specific. 2010-04-12 17:52:37 +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 bb33b0a21d msvcrt: Add __cdecl to all function prototypes. 2008-12-17 15:00:28 +01:00
Alexandre Julliard bcfd7dd3ff msvcrt: The _CI* math functions are only exported on i386. 2008-12-15 15:40:45 +01:00
Alexandre Julliard 9c29dbd987 Avoid exporting common symbols since that's broken on Mac OS X. 2008-07-21 14:47:55 +02:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Michael Stefaniuc 41dd56cb7f "One liners" printf format warning fixes for the migration of DWORD/LONG/ULONG from long to int. 2006-09-29 16:09:24 +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 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 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +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 40cbe19e49 crtdll: Explicitly specify CDECL calling convention on exported functions. 2006-06-12 21:35:20 +02:00
Alexandre Julliard 654c02017b crtdll: Fixed copy/paste error in definition of _baseminor_dll and _baseversion_dll. 2006-06-12 13:38:29 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Mike McCormack b744372231 Turn off gcc 4.0's builtin wchar inlines. 2005-08-11 17:12:18 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Francois Gouget 821d4c4645 Fix nativeapi.pm so it knows about AC_HEADER_STAT().
Make the error message about unexpected '#ifdef HAVE_XXX' clearer.
Protect sys/stat.h #includes with the corresponding '#ifdef HAVE_XXX'
check.
2005-05-06 16:22:54 +00:00
Alexandre Julliard 9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Steven Edwards 14e3b19cd0 Fixes for building with w32api headers on Mingw. 2003-08-22 05:05:56 +00:00
Alexandre Julliard 9b8a0595bc _ftol should return a 64-bit int (spotted by Jon Griffiths). 2003-08-19 01:03:08 +00:00
Dmitry Timoshkov 4e1ef0c114 For all DLLs with defined DllMain and which do not require
DLL_THREAD_ATTACH/DLL_THREAD_DETACH notifications, call
DisableThreadLibraryCalls() in order to slightly improve performance
on thread creation/exiting.
2003-06-30 20:53:48 +00:00
Alexandre Julliard 114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Alexandre Julliard 85c6ea4e33 Replaced forwards by normal function declarations. 2003-03-17 04:45:49 +00:00
Patrik Stridvall 46304a7361 Fixed some issues found by winapi_check. 2003-01-02 19:28:09 +00:00
Alexandre Julliard 2aed5d77ff Made crtdll a normal user of msvcrt by setting the right include
path.
2002-12-18 20:17:51 +00:00
Alexandre Julliard 1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alexandre Julliard b34fb35b31 Fixed warnings caused by conversion to -DSTRICT. 2002-10-18 23:48:57 +00:00
Steven Edwards 6123951a29 Update some .cvsignore files for building on Windows. 2002-08-30 00:04:03 +00:00
Alexandre Julliard 4c5d562c30 Add MSVCRT prefix to _stat and _fstat (based on a patch by Rafael
Kitover).
2002-07-31 20:04:57 +00:00
Alexandre Julliard d0c8725360 Fixed broken forwards reported by Patrik Stridvall. 2002-07-23 02:08:12 +00:00
Alexandre Julliard 77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Alexandre Julliard 945bb366d7 struct _stat layout is different between crtdll and msvcrt. 2002-06-13 21:42:01 +00:00
Alexandre Julliard 2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall 74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +00:00
Francois Gouget d81ce0fc6a Fix the signature of __GetMainArgs and __getmainargs (from msvcrt). 2001-04-10 23:25:40 +00:00
Alexandre Julliard 3fe81b46d3 __getmainargs last argument is a pointer to new_mode. 2001-02-21 02:20:08 +00:00
Alexandre Julliard 91ab1208c4 Fixed __GetMainArgs. 2001-02-20 01:56:46 +00:00
Alexandre Julliard ea6a10def8 Fixed toupper/_toupper mixup. 2001-01-15 19:57:48 +00:00
Jon Griffiths 0b47b289a8 Turn crtdll into forwards to msvcrt. 2001-01-12 20:42:06 +00:00
François Gouget da2b6a9f26 Fixed some HFILE vs. HANDLE mismatches.
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
Ulrich Weigand 2e8e2334c6 Don't link with libw if libc already contains w* routines.
Link every library with libnsl if required.
Include ieeefp.h where necessary.
2000-12-27 18:49:08 +00:00
Dmitry Timoshkov 81cb2387e0 Do not free the not owned error string. 2000-12-21 20:18:40 +00:00
Jon Griffiths 5d4cf0679a - Add several mbcs and CP 932 functions, fix some existing calls
- Bug fixes, -W warnings and winapi_check updates.
- Don't be so strict setting default locale, store codepage
2000-12-19 23:29:15 +00:00
David Elliott 2a53800d56 Changed typo va_list to valist. 2000-12-18 03:11:32 +00:00
Jon Griffiths 88e2453716 - Fix _fullpath & splitpath, winapi_check fixes
- Add cprintf,cscanf,_fgetwchar,_fgetwc,_fputwchar,_fputwc,
  _wtoi & _wtol (fwd),scanf,_timezone_dll
2000-12-16 21:53:56 +00:00
Alexandre Julliard b583ed33de Fixed infinite loop in CRTDLL__fcloseall. 2000-12-16 20:19:11 +00:00
Marcus Meissner af5ff94f4e Fixed crtdll compile problem regarding fpos_t in glibc2.2. 2000-12-13 01:59:40 +00:00
Jon Griffiths 61e48c7af1 - Implement console I/O
- Support temporary files, add tmpfile, rmtmp
- spawn* functions: fix args, add cwait, searchenv
2000-12-13 01:58:39 +00:00
Jon Griffiths e371e682cb - Implemented setlocale parsing and LC_TYPE behavior.
- Implemented isleadbyte, snprintf.
- Added NLS IsValidCodePage prototype, misc CRTDLL fixes.
2000-12-12 00:37:27 +00:00
Alexandre Julliard becb9a353b Moved all Wine internal definitions out of process.h. 2000-12-11 03:48:15 +00:00
Alexandre Julliard e2222fd8ff Use libwine and libwine_unicode directly from their build directory
instead of using symlinks.
2000-12-06 00:05:14 +00:00
Patrik Stridvall 697bf65e3e Added/modified documentation for function arguments. 2000-12-02 23:44:59 +00:00
Francois Gouget 519346a47e Fixed miscellaneous typos, syntactic and grammatical errors. 2000-12-02 20:18:08 +00:00
Patrik Stridvall 7a4e599780 Fixed some issues found by winapi_check. 2000-12-01 23:53:46 +00:00
Alexandre Julliard ef57e18f99 Removed some unnecessary includes. 2000-12-01 21:32:55 +00:00
David Elliott ea186796eb Remove libXXXX.so.1.0 lines from .cvsignore files. 2000-11-30 19:57:34 +00:00
Jon Griffiths d6deb6db91 - configure tests for finite()/fpclass(), fixes BSD compile
- winapi_check updates, fix errno in more math calls
2000-11-27 01:37:28 +00:00
Alexandre Julliard 5b971f009a Moved wsprintf functions to dlls/user. 2000-11-26 22:39:50 +00:00
Alexandre Julliard 39b3195ce6 Added entry point flags -noimport, -norelay, -ret64 and -i386.
Replaced 'byte', 'word' and 'long' by 'variable' and made it work for
Win32 too.
Made parser more robust against truncated files.
2000-11-26 04:31:48 +00:00
Marcus Meissner 4826d56d53 glibc2.2 needs __USE_ISOC99 for FP_NAN and isfinite(). 2000-11-25 23:17:52 +00:00
Jon Griffiths c702f0e69e - Fix ctype(), make is* functions binary compatible
- Add 13 functions, set errno in math calls
2000-11-25 21:39:03 +00:00
Jon Griffiths 7349aab051 - Add math calls: scalb, fpclass, nextafter, logb, _CI*
- Add futime, utime, purecall, getpid
2000-11-25 02:11:59 +00:00
Alexandre Julliard 8d311c3130 Removed calls to Wine internal functions. 2000-11-16 04:14:19 +00:00
Jon Griffiths 4b43b4d558 - Complete the implementation of heap functions
- Forward j0,j1,jn,y0,y1,yn math calls to libc
- Add strnextc, pass text flag in creat, winapi_check fixes
2000-11-15 23:11:38 +00:00
Alexandre Julliard 27939f00fd Start using import tables for dlls that can already support it. 2000-11-12 03:50:10 +00:00
Jon Griffiths d3576a9f85 - Implemented 73 CRT functions
- Reimplemented file I/O using Win32 calls
- Set errno/doserrno in most calls
2000-11-08 22:42:53 +00:00
Alexandre Julliard eb58e1d597 Declare debug channels in all dlls that need them; added imports of
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Alexandre Julliard 1a3f705fc1 Added import of ntdll. 2000-10-31 00:22:41 +00:00
Alexandre Julliard 072dfb57e3 Removed inclusion of wine/winestring.h from winbase.h and added it to
the C files that need it.
2000-09-25 23:30:56 +00:00
Alexandre Julliard e101f6db3b Cleaned up a few inter-dll dependencies. Added a few imports. 2000-08-14 14:42:41 +00:00
Alexandre Julliard c97bb4c5d6 Added Unicode ctype support. 2000-08-11 20:53:40 +00:00
Ove Kaaven 9723498034 Implemented fopen() append mode, and a really cheesy fscanf()
implementation...
2000-08-11 00:39:14 +00:00
Alexandre Julliard 5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Alexandre Julliard a007f3364a Moved a few non-standard headers into their respective dlls. 2000-08-09 00:54:58 +00:00
Alexandre Julliard 6c9d83aa4c Added imports of user32/gdi32/kernel32 wherever necessary. 2000-08-03 00:04:24 +00:00
Marcus Meissner e6abd34cdd Fixed 2 forward entries. 2000-08-01 20:51:14 +00:00
Alexandre Julliard 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Patrik Stridvall e03fe5a420 Fixed some issues found by winapi_check. 2000-07-15 21:32:26 +00:00
Marcus Meissner fb2273be7e Implemented _vsnprintf by calling wvsnprintfA. 2000-07-11 22:05:03 +00:00
Alexandre Julliard 4f356e86e4 Moved shared crtdll/ntdll functions into ntdll.
Made crtdll a separate dll.
2000-06-23 16:16:30 +00:00
b0c4965427 Added difftime function. 2000-06-14 21:14:35 +00:00
Dmitry Timoshkov 0072c88111 Implement NTDLL.towupper and NTDLL.towlower using already existing
case conversion tables. Replace all direct calls to towupper/towlower
either to NTDLL for core or to CRTDLL if latter already used in the
non core dll.
2000-06-08 20:05:18 +00:00
Uwe Bonnes 11dee2b151 fgets: Don't swallow \n, treat EOF
feof: Crude implementation
signal: Return error
2000-04-16 17:06:44 +00:00
Patrik Stridvall 533d333025 - Added/fixed some documentation reported by winapi_check
- Renamed MapVirtualKeyEx32A to MapVirtualKeyExA
- Renamed CRTDLL__dllonexit to CRTDLL___dllinit
2000-03-28 19:31:18 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Patrik Stridvall 3b233623cc Fixed some warnings. 2000-03-24 21:19:02 +00:00
Patrik Stridvall 98fde73f14 Fixed some issues reported by winapi_check. 2000-03-24 20:43:33 +00:00
Waldek Hebisch 78f92898a4 Implemented _read and _lseek. 2000-03-12 21:13:44 +00:00
Alexandre Julliard 7d343401d7 Cleaned up CRTDLL__unlink. 2000-03-08 18:23:18 +00:00