aboutsummaryrefslogtreecommitdiffstats
path: root/nt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-0529-33/+31
|
* Spelling fixes.Paul Eggert2011-12-041-2/+1
|
* Bump version to 24.0.92.Chong Yidong2011-12-014-10/+10
| | | | Regenerate AUTHORS and ldefs-boot.el.
* Fix MS-Windows build with MSVC compiler.Eli Zaretskii2011-11-274-5/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | Parts of the changes by Fabrice Popineau <fabrice.popineau@supelec.fr>. lib-src/makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS). lib-src/emacsclient.c (main) <environ>: Remove declaration, already pulled in by unistd.h on Posix hosts and stdlib.h on MS-Windows. nt/inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs. (UINT64_MAX) [_WIN64]: Fix definition. (uintmax_t, intmax_t): Fix definitions. nt/inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]: Provide correct definitions. nt/config.nt (HAVE_DECL_STRTOLL): Define. (va_copy) [_WIN64]: Provide a better definition. src/s/ms-w32.h (utimbuf) [_MSC_VER]: Don't define. (snprintf) [_MSC_VER]: Redirect to _snprintf. (strtoll) [_MSC_VER]: Redirect to _strtoi64. (malloc, free, realloc, calloc): Redirect to e_* only when compiling Emacs. src/lisp.h (GCTYPEBITS): Move before first use. (ALIGN_GCTYPEBITS) [_MSC_VER]: Define. (DECL_ALIGN) [_MSC_VER]: Use it, as MSVC doesn't like bit ops in this macro definition. (tzname): Redirect to _tzname for all values of _MSC_VER. Fixes: debbugs:9960
* Spelling fixes.Paul Eggert2011-11-261-1/+1
|
* Fix typos.Juanma Barranquero2011-11-253-3/+7
|
* nt/INSTALL: Elaborate on debugging fatal errors.Eli Zaretskii2011-11-252-0/+28
|
* Spelling fixes.Paul Eggert2011-11-191-1/+1
|
* Spelling fixes.Paul Eggert2011-11-191-1/+1
|
* Spelling fixes.Paul Eggert2011-11-181-2/+2
|
* Spelling fixes.Paul Eggert2011-11-171-2/+1
|
* Fix typos.Juanma Barranquero2011-11-161-2/+2
|
* Update information about PNG libraries for MS-Windows.Eli Zaretskii2011-11-152-1/+5
| | | | | admin/nt/README-ftp-server: Update the information about PNG libraries. nt/README.W32: Update the GTK Windows download URL for libpng.
* Fix typos.Juanma Barranquero2011-11-151-2/+1
|
* * inc/stdint.h (UINT64_MAX, UINT32_MAX): Fix values.Christoph Scholtes2011-11-132-2/+6
|
* Fix typos.Juanma Barranquero2011-11-121-1/+1
|
* * inc/stdint.h (UINT64_MAX, UINT64_MIN, INT64_MIN, UINTMAX_MAX)Christoph Scholtes2011-11-052-6/+25
| | | | | | (UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN, UINT32_MIN, UINT32_MAX) (INT32_MIN, UINTMAX_MAX, UINTMAX_MIN, INTMAX_MAX, INTMAX_MIN) (intmax_t, INT64_MAX): Add for MSVC.
* Fix definition of `mode_t'.Christoph Scholtes2011-11-051-5/+3
|
* * nt/config.nt: (mode_t) [!__GNUC__]: Define mode_t for MSVC.Christoph Scholtes2011-11-052-0/+11
|
* Fix compilation with MSVC in lib/.Eli Zaretskii2011-11-052-0/+6
| | | | nt/config.nt (inline) [!__GNUC__]: Define to __inline for MSVC.
* Support MSVC build with newer versions of Visual Studio.Eli Zaretskii2011-11-055-34/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Small portions of the changes by Fabrice Popineau <fabrice.popineau@supelec.fr>. src/makefile.w32-in (TAGS-gmake): Don't use $(patsubst ...), as Nmake barfs on that. Use $(OBJ*_c) variables instead, defined on nt/gmake.defs. src/lisp.h (ENUM_BF): New macro, for enumerated types in bitfields, which are not supported by MSVC. (Lisp_Symbol, Lisp_Misc_Any, Lisp_Marker, Lisp_Misc_Overlay) (Lisp_Save_Value, Lisp_Free): Use ENUM_BF for enumerated types in bitfields. (Lisp_Object) [USE_LISP_UNION_TYPE]: Use ENUM_BF for enumerated types in bitfields. (DEFUN) [_MSC_VER]: Define in a different way for MSVC. src/w32fns.c [_MSC_VER]: DECLARE_HANDLE for any MSVC version. src/w32.c: Don't include w32api.h for MSVC. (init_environment) [_MSC_VER]: Call sys_access, not _access. src/s/ms-w32.h <sigset_t, ssize_t> [_MSC_VER]: Typedefs for MSVC. [_MSC_VER]: Include sys/timeb.h, sys/stat.h, and signal.h. (fstat, stat, utime) [_MSC_VER]: Redirect to their sys_* cousins. (malloc, free, realloc, calloc) [_MSC_VER]: Always redirect to the e_* cousins. (alloca) [_MSC_VER]: Define to _alloca. src/lisp.h (DECL_ALIGN) [_MSC_VER]: Define for MSVC. src/regex.c <re_char> [_MSC_VER]: A separate definition for MSVC. nt/makefile.w32-in (clean-other-dirs-nmake) (distclean-other-dirs-nmake, maintainer-clean-other-dirs-nmake): Update for current structure of doc/ subdirectories. nt/gmake.defs (OBJ0_c, OBJ1_c, OBJ2_c): New variables. nt/INSTALL: Update for newer versions of MSVC. lib/makefile.w32-in (FRC): New dummy target. (TAGS): Depend on FRC. Fixes: debbugs:9960
* Last part of fix for bug #8562 with Emacs on Windows 9X.Eli Zaretskii2011-11-042-0/+52
| | | | | | | nt/runemacs.c (ensure_unicows_dll): New function, tries to load UNICOWS.DLL on Windows 9X. (WinMain): If ensure_unicows_dll fails to find UNICOWS.DLL, display a dialog to the effect that Emacs cannot be started.
* Bump version to 24.0.91.emacs-pretest-24.0.91Chong Yidong2011-10-314-10/+10
| | | | Regenerate AUTHORS and ldefs-boot.el.
* Document that UNICOWS.DLL is required to run Emacs on Windows 9X.Eli Zaretskii2011-10-282-2/+24
| | | | | | | | | nt/README.W32: Mention UNICOWS.DLL as prerequisite for running Emacs on Windows 9X. admin/nt/README-ftp-server: Mention UNICOWS.DLL as prerequisite for running Emacs on Windows 9X. Fixes: debbugs:8562
* Don't put INSTALL into w32 binary distributions. (Bug#9861)Eli Zaretskii2011-10-252-1/+5
| | | | | nt/makefile.w32-in (dist): Don't put the top-level INSTALL into the distribution.
* * INSTALL: Update URL for GTK download page.Christoph Scholtes2011-10-242-1/+5
|
* Fix bugs #641 and #9794 with %Z and current-time-zone on w32.Eli Zaretskii2011-10-222-1/+13
| | | | nt/config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
* Bump version to 24.0.90.emacs-pretest-24.0.90Chong Yidong2011-09-254-10/+10
| | | | Regenerate AUTHORS and ldefs-boot.el.
* Whitespace changes.Juanma Barranquero2011-09-091-1/+1
|
* sprintf-related integer and memory overflow issuesPaul Eggert2011-09-042-0/+5
|\ | | | | | | Fixes: debbugs:9397 debbugs:9412
| * Add a stub for snprintf, for ancient hosts lacking it.Paul Eggert2011-08-312-0/+5
|/ | | | | | * configure.in (snprintf): New check. * nt/config.nt (HAVE_SNPRINTF): New macro. * src/sysdep.c (snprintf) [! HAVE_SNPRINTF]: New function.
* Merge: Integer signedness and overflow and related fixes.Paul Eggert2011-07-272-8/+7
|\ | | | | | | Fixes: debbugs:9079
| * Assume freestanding C89 headers, string.h, stdlib.h.Paul Eggert2011-07-062-8/+7
|/
* nt/ChangeLog: Fix a typo in last entry.Eli Zaretskii2011-06-071-1/+1
|
* Update nt/inc/stdint.h for PTRDIFF_MAX.Eli Zaretskii2011-06-072-0/+11
| | | | | nt/inc/stdint.h (INT32_MAX, INT64_MAX, INTPTR_MAX, PTRDIFF_MAX) [!__GNUC__]: New macros.
* [ChangeLog]Paul Eggert2011-05-282-8/+5
| | | | | | | | | | | | | | | | | | | | Use 'inline', not 'INLINE'. * configure.in, autogen/config.in (INLINE): Remove. [lib-src/ChangeLog] Use 'inline', not 'INLINE'. * etags.c (hash): Now inline unconditionally. * make-docfile.c (put_char): inline, not INLINE. [nt/ChangeLog] Use 'inline', not 'INLINE'. * config.nt (INLINE): Remove. [src/ChangeLog] Use 'inline', not 'INLINE'. * alloc.c, fontset.c (INLINE): Remove. * alloc.c, bidi.c, charset.c, coding.c, dispnew.c, fns.c, image.c: * intervals.c, keyboard.c, process.c, syntax.c, textprop.c, w32term.c: * xdisp.c, xfaces.c, xterm.c: Replace all uses of INLINE with inline. * gmalloc.c (register_heapinfo): Use inline unconditionally. * lisp.h (LISP_MAKE_RVALUE): Use inline, not __inline__.
* nt/README.W32: Add information about GnuTLS libraries.Eli Zaretskii2011-05-172-0/+13
|
* Define a replacement for va_copy for MSVC.Eli Zaretskii2011-05-092-0/+15
| | | | nt/config.nt [_MSC_VER] (va_copy): Replacement for the MS compiler.
* * nt/configure.bat: Renamed the fusercflags variable to escusercflagsBen Key2011-05-064-9/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so that the variable name better matches its purpose, to be identical to usercflags with the exception that all quotes are escaped by the \ character. Renamed the fuserldflags variable to escuserldflags so that the variable name better matches its purpose, to be identical to userldflags with the exception that all quotes are escaped by the \ character. A new ESC_USER_CFLAGS variable is written to config.settings. This variable has the same value as the escusercflags variable. * nt/gmake.defs, nt/nmake.defs: Added the variable ESC_CFLAGS. This variable is identical to the CFLAGS variable except that it includes the new ESC_USER_CFLAGS variable instead of USER_CFLAGS. * src/makefile.w32-in: The bootstrap-temacs rule now makes use of one of two shell specific rules, either bootstrap-temacs-CMD or bootstrap-temacs-SH. The bootstrap-temacs-SH rule is identical to the previous implementation of the bootstrap-temacs rule. The bootstrap-temacs-CMD rule is similar to the previous implementation of the bootstrap-temacs rule except that it makes use of the ESC_CFLAGS variable instead of the CFLAGS variable. These changes are required to extend my earlier fix to add support for --cflags and --ldflags options that include quotes so that it works whether make uses cmd or sh as the shell.
* Adapt Windows include files to latest changes.Eli Zaretskii2011-05-063-1/+16
| | | | | | | nt/inc/inttypes.h [!__MINGW32__]: Include stdint.h. Move the definition of uintmax_t from here... nt/inc/stdint.h (uintmax_t): ...to here. (intptr_t) [!__GNUC__]: New typedef.
* Temporarily disable wider-than-pointer EMACS_INT.Paul Eggert2011-05-052-2/+12
|
* Merge from mainline.Paul Eggert2011-05-043-9/+49
|\
| * * configure.bat: Added support for --cflags and --ldflagsBen Key2011-05-043-3/+34
| | | | | | | | | | | | | | | | | | | | options that include quotes as long as command extensions are enabled. Specifically when -I, -L, and similar flags are used to specify supplementary include and library directories a directory name that includes spaces may now be used if it is enclosed in quotes. * INSTALL: Documented the change to configure.bat.
| * Implement dynamic loading of GnuTLS on Windows.Juanma Barranquero2011-05-042-5/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/term/w32-win.el (dynamic-library-alist): Add `gnutls'. * nt/INSTALL: Clarify GnuTLS support. * src/callproc.c, src/emacs.c: Include lisp.h before src/w32.h, not after. * src/gnutls.c (Qgnutls_dll): Define. (DEF_GNUTLS_FN, LOAD_GNUTLS_FN): New macros. (gnutls_*): Declare function pointers. (init_gnutls_functions): New function to initialize function pointers. (emacs_gnutls_handshake, Fgnutls_error_string, Fgnutls_deinit) (emacs_gnutls_global_init, Fgnutls_bye): Use function pointers. (emacs_gnutls_record_check_pending, emacs_gnutls_transport_set_errno): Wrappers for gnutls_record_check_pending and gnutls_transport_set_errno. (emacs_gnutls_write, emacs_gnutls_read) (emacs_gnutls_handle_error, Fgnutls_error_fatalp) (Fgnutls_available_p): New function. (Fgnutls_boot): Call Fgnutls_available_p. Use function pointers. (syms_of_gnutls) <Qgnutls_dll>: Initialize and staticpro it. (syms_of_gnutls) <Sgnutls_available_p>: defsubr it. * src/gnutls.h (GNUTLS_EMACS_ERROR_NOT_LOADED): New macro. (emacs_gnutls_write, emacs_gnutls_read): Mark as extern. (emacs_gnutls_record_check_pending, emacs_gnutls_transport_set_errno): Declare. * src/w32.c (QCloaded_from, Vlibrary_cache): Define. (w32_delayed_load): Move from image.c. When loading a library, record its filename in the :loaded-from property of the library id. (globals_of_w32) <QCloaded_from, Vlibrary_cache>: Initialize and staticpro them. (emacs_gnutls_pull, emacs_gnutls_push): Call emacs_gnutls_* functions. * src/image.c: Include w32.h. (Vimage_type_cache): Delete. (syms_of_image) <Vimage_type_cache>: Don't initialize and staticpro it. (CACHE_IMAGE_TYPE, Finit_image_library): Use Vlibrary_cache instead. (w32_delayed_load): Move to w32.c. * src/process.c: Include lisp.h before src/w32.h, not after. (wait_reading_process_output): Call emacs_gnutls_record_check_pending instead of gnutls_record_check_pending. * src/w32.h (VlibraryCache, QCloaded_from, w32_delayed_load): Declare.
* | Merge from mainline.Paul Eggert2011-04-302-8/+19
|\ \ | |/
| * Define HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT for Windows.Eli Zaretskii2011-04-302-0/+15
| | | | | | | | | | nt/config.nt (HAVE_LONG_LONG_INT, HAVE_UNSIGNED_LONG_LONG_INT): Define to 1 for MinGW of MSVC versions >= 1400.
* | * config.nt: Simplify test to 1400 <= _MSC_VER.Paul Eggert2011-04-301-2/+1
| |
* | * config.nt: Configure 64-bit integers.Paul Eggert2011-04-292-2/+18
|/ | | | | | (BITS_PER_LONG_LONG): Define if C99-style long long and "%lld" work. (EMACS_INT, BITS_PER_EMACS_INT, pI): Otherwise, define these if __int64 and "%I64d" work.
* nt/gmake.defs (ARCH): Fix error message in case of unknown architecture.Eli Zaretskii2011-04-282-1/+6
|
* nt/INSTALL: More details about problems with MSYS Bash.Eli Zaretskii2011-04-281-6/+10
| | | | Fixes: debbugs:8564