summaryrefslogtreecommitdiff
path: root/nt
Commit message (Collapse)AuthorAgeFilesLines
* 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
* nt/INSTALL: Mention problems with MSYS/Cygwin Bash right at the beginning.Eli Zaretskii2011-04-281-0/+3
| | | | Fixes: debbugs:8564
* Support inttypes.h and strtoumax in non-MinGW builds on Windows.Eli Zaretskii2011-04-283-0/+51
| | | | | | nt/inc/inttypes.h: New file. nt/config.nt (HAVE_DECL_STRTOULL, HAVE_DECL_STRTOUMAX) (HAVE_STRTOULL, HAVE_STRTOUMAX): New macros.
* Fix ChangeLog typos.Juanma Barranquero2011-04-271-1/+1
|
* * cmdproxy.c (try_dequote_cmdline): Notice variable substitutions inDaniel Colascione2011-04-262-4/+19
| | | | quoted strings and bail out.
* Improve Windows quoting robustnessDaniel Colascione2011-04-262-24/+93
|
* Add GnuTLS support for W32.Ted Zlatanov2011-04-244-0/+72
| | | | | | | | * nt/configure.bat: New options --without-gnutls and --lib, new build variable USER_LIBS, automatically detect GnuTLS. Copies the PNG library setup with trivial modifications. * nt/INSTALL: Add instructions for GnuTLS support. * nt/gmake.defs: Prefix USER_LIBS with -l.
* Modified the code that parses the --cflags and --ldflags options to support ↵Ben Key2011-04-153-7/+80
| | | | parameters that include the = character as long as they are enclosed in quotes.
* Fix the Windows build due to introduction of ATTRIBUTE_FORMAT_PRINTF.Eli Zaretskii2011-04-062-0/+26
| | | | | | nt/config.nt (NO_INLINE, ATTRIBUTE_FORMAT) (ATTRIBUTE_FORMAT_PRINTF): Define, as followup to 2011-04-06T05:19:39Z!eggert@cs.ucla.edu on the trunk on 2011-04-06.
* Update and split ChangeLogs.Juanma Barranquero2011-04-061-0/+4
|
* Remove (RET)SIGTYPE; it is identical to void on all supported systems.Glenn Morris2011-03-262-9/+4
| | | | | | | | | | | | | | | | | | | | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg01068.html * configure.in (AC_TYPE_SIGNAL): Remove obsolete macro. (AH_BOTTOM): Do not define SIGTYPE. * lib-src/emacsclient.c: Replace SIGTYPE with void. * nt/config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void). * src/syssignal.h: Replace RETSIGTYPE with void. * src/atimer.c, src/data.c, src/dispnew.c, src/emacs.c, src/floatfns.c: * src/keyboard.c, src/keyboard.h, src/lisp.h, src/process.c, src/sysdep.c: * src/xterm.c: Replace SIGTYPE with void everywhere. * src/s/template.h (SIGTYPE): Remove commented out definition. * src/s/usg5-4-common.h (SIGTYPE): Remove definition. * admin/CPP-DEFINES: Remove SIGTYPE.
* nt/*.c, src/*.c: Remove unused variables.Juanma Barranquero2011-03-253-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | * nt/addpm.c (main): Remove unused variable `retval'. * nt/preprep.c (main): Remove unused variable `ptr'. * src/dispextern.h (glyph_matric): Use #if GLYPH_DEBUG, not #ifdef. * src/fileio.c (check_executable) [DOS_NT]: Remove unused variables `len' and `suffix'. (Fset_file_selinux_context) [HAVE_LIBSELINUX]: Move here declaration of variables specific to SELinux and computation of `encoded_absname'. * src/image.c (XPutPixel): Remove unused variable `height'. * src/keyboard.c (make_lispy_event): Remove unused variable `hpos'. * src/unexw32.c (get_section_info): Remove unused variable `section'. * src/w32.c (stat): Remove unused variables `drive_root' and `devtype'. (system_process_attributes): Remove unused variable `sess'. (sys_read): Remove unused variable `err'. * src/w32fns.c (top): Wrap variables with #if GLYPH_DEBUG, not #ifdef. (w32_wnd_proc): Remove unused variable `isdead'. (unwind_create_frame): Use #if GLYPH_DEBUG, not #ifdef. (Fx_server_max_request_size): Remove unused variable `dpyinfo'. (x_create_tip_frame): Remove unused variable `tem'. * src/w32inevt.c (w32_console_read_socket): Remove unused variable `no_events'. * src/w32term.c (x_draw_composite_glyph_string_foreground): Remove unused variable `width'.
* w32: Fix some warnings reported by -Wall -Wextra.Juanma Barranquero2011-03-232-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | * lib-src/ntlib.c: Include <ctype.h>. * nt/cmdproxy.c: Include <ctype.h>. (make_absolute): Remove unused variable `i'. * src/w32fns.c (x_set_menu_bar_lines): Remove unused variable `olines'. (w32_wnd_proc): Pass NULL to Windows API, not uninitialized buffer. (Fx_close_connection): Remove unused variable `i'. * src/w32font.c (w32font_draw): Return number of glyphs. (w32font_open_internal): Remove unused variable `i'. (w32font_driver): Add missing initializer. * src/w32menu.c (utf8to16): Remove unused variable `utf16'. (fill_in_menu): Remove unused variable `items_added'. * src/w32term.c (last_mouse_press_frame): Remove static global variable. (w32_clip_to_row): Remove unused variable `f'. (x_delete_terminal): Remove unused variable `i'. * src/w32uniscribe.c (uniscribe_shape): Remove unused variable `nclusters'. (NOTHING): Remove unused static global variable. (uniscribe_check_otf): Remove unused variable `table'. (uniscribe_font_driver): Add missing initializers.
* Implement stubs of `readlink' and `symlink' for MS-Windows.Eli Zaretskii2011-02-272-0/+12
| | | | | src/w32.c (symlink, readlink): New stub functions. nt/inc/unistd.h (readlink, symlink): Declare prototypes.
* Define nlink_t for w32.Eli Zaretskii2011-02-262-0/+7
| | | | nt/config.nt (nlink_t): Define.
* Add stdint.h for MS-Windows.Christoph Scholtes2011-02-212-0/+39
| | | | | | | nt/inc/stdint.h: New file, to support compilation with tool chains that do not have stdint.h (e.g. MSVC). lib/makefile.w32-in: ($(BLD)/md5.$(O)): Added dependency on $(EMACS_ROOT)/nt/inc/stdint.h.
* Adapt MS-Windows build to import of filemode.c from gnulib.Eli Zaretskii2011-02-212-0/+36
| | | | | | | | | | | | | | | | | | | nt/inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH) (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG) (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT) (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define. (lstat): Define to stat. lib/makefile.w32-in ($(BLD)/filemode.$(O)): Move from src/makefile.w32-in and adapt. Depend on stamp_BLD. (GNULIBOBJS): Add $(BLD)/filemode.$(O). src/makefile.w32-in ($(BLD)/filemode.$(O)): Move recipe to lib/makefilw.w32-in. ($(BLD)/dired.$(O)): Depend on $(EMACS_ROOT)/lib/filemode.h. (GLOBAL_SOURCES): Remove filemode.c. (OBJ1): Remove $(BLD)/filemode.$(O). lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O)) ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)): Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
* Update the Windows build according to 2011-02-08T21:42:56Z!tromey@redhat.com ↵Eli Zaretskii2011-02-092-2/+9
| | | | | | | | | | | | | and 2011-02-09T17:04:43Z!schwab@linux-m68k.org. src/makefile.w32-in (GLOBAL_SOURCES, SOME_MACHINE_OBJECTS, obj): New macros. (globals.h, gl-stamp): New targets. (clean): Clean gl-stamp and globals.h. nt/makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Make the "make-docfile" target in lib-src, before bootstrapping the src directory. Needed since building in src needs to run make-docfile to produce globals.h.
* Adapt to addition of ignore-value.h in 2011-02-03T19:29:35Z!eggert@cs.ucla.edu.Eli Zaretskii2011-02-042-0/+5
| | | | | | src/makefile.w32-in (IGNORE_VALUE_H): New variable. ($(BLD)/sysdep.$(O)): Depend on $(IGNORE_VALUE_H). nt/config.nt (inline) [__GNUC__]: Define (for gnulib).
* Commit changes in nt/ChangeLog for 2011-01-31T19:36:08Z!eliz@gnu.org.Eli Zaretskii2011-01-311-0/+3
|
* Fix the MS-Windows build broken by 2011-01-30T23:34:18Z!eggert@cs.ucla.edu ↵Eli Zaretskii2011-01-313-5/+29
| | | | | | | | | | | | | | | | | | | | | and 2011-01-31T08:15:13Z!eggert@cs.ucla.edu. lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/strftime.$(O) and $(BLD)/time_r.$(O). ($(BLD)/dtoastr.$(O)): Depend on $(EMACS_ROOT)/src/s/ms-w32.h and $(EMACS_ROOT)/src/m/intel386.h. ($(BLD)/strftime.$(O)): ($(BLD)/time_r.$(O)): Define prerequisites. src/makefile.w32-in (OBJ2): Remove strftime.$(O). ($(BLD)/strftime.$(O)): Remove prerequisites. lib-src/makefile.w32-in (VERSION): Don't define, defined on nt/config.nt. (ECLIENT_CFLAGS): Remove -DVERSION. ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in. nt/config.nt (VERSION): Uncomment definition. (restrict): Define. nt/inc/stdbool.h: New file. admin/admin.el (set-version): Remove lib-src/makefile.w32-in. Add nt/config.nt.
* Fix the bootstrap on MS-Windows.Eli Zaretskii2011-01-292-2/+3
| | | | makefile.w32-in (bootstrap-nmake, bootstrap-gmake): Fix the bootstrap.
* Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu ↵Eli Zaretskii2011-01-294-6/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and emacs-23/2010-05-21T19:51:48Z!acm@muc.de. lib/makefile.w32-in: lib/getopt_.h: New files. src/s/ms-w32.h (HAVE_MKTIME): Remove. src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib. (GNULIB): New variable. (LIBS): Add $(GNULIB). $(TEMACS): Depend on $(GNULIB). <top-level>: Fix font-lock disrupted by a lone `"'. src/makefile.w32-in (LOCAL_FLAGS): Add -I../lib. (GETOPTOBJS, GETOPTDEPS): Remove targets. (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A). ($(BLD)/movemail.exe): Depend on ../lib/getopt.h. (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o and getopt1.o with ../lib/$(BLD)/libgnu.$(A). (clean): Don't remove getopt.h. (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets. ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with $(EMACS_ROOT)/lib/getopt.h. nt/makefile.w32-in (all-other-dirs-nmake, all-other-dirs-gmake) (bootstrap-nmake, bootstrap-gmake, bootstrap-clean-nmake) (bootstrap-clean-gmake, clean-other-dirs-nmake) (clean-other-dirs-gmake, cleanall-other-dirs-nmake) (cleanall-other-dirs-gmake, distclean-other-dirs-nmake) (distclean-other-dirs-gmake, maintainer-clean-other-dirs-nmake) (maintainer-clean-other-dirs-gmake): Recurse into ../lib as well. nt/configure.bat: Create lib/makefile. nt/config.nt (HAVE_MKTIME, BROKEN_MKTIME): Remove. (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV) (HAVE_DECL_LOCALTIME_R, HAVE_WCHAR_T, PACKAGE, VERSION, inline) (_GL_UNUSED, _UNUSED_PARAMETER_): Add definitions, for gnulib.
* Refill some long/short copyright headers.Glenn Morris2011-01-266-12/+11
|
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-2427-46/+29
|
* Merge from emacs-23.Glenn Morris2011-01-241-4/+4
|\ | | | | | | Note setting of CANNOT_DUMP on ia64 hpux is still to be merged manually.
| * * nt/iconcs/README: Add 2010, 2011 to FSF copyright years.Glenn Morris2011-01-221-4/+4
| |
| * Bump version to 23.2.92.emacs-pretest-23.2.92Chong Yidong2011-01-142-8/+8
| | | | | | | | Regenerate AUTHORS, configure, and ldefs-boot.el.
* | Refill some copyright headers.Glenn Morris2011-01-152-4/+4
| |
* | Nuke arch-tags.Glenn Morris2011-01-1527-56/+0
| |
* | Add 2011 to remaining FSF/AIST copyright years.Glenn Morris2011-01-151-2/+2
| |
* | Merge from emacs-23Stefan Monnier2011-01-1425-39/+33
|\ \ | |/
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-0224-36/+30
| |
* | Use __builtin_unwind_init in MinGW builds of w32 port.Eli Zaretskii2011-01-072-0/+8
| | | | | | | | config.nt (HAVE___BUILTIN_UNWIND_INIT) [GCC >= 2.8]: Define.