aboutsummaryrefslogtreecommitdiffstats
path: root/nt
Commit message (Collapse)AuthorAgeFilesLines
* nt/nmake.defs,gmake.defs (CHECKING_FLAGS): Remove XASSERTS.Juanma Barranquero2012-06-283-2/+7
|
* nt/config.nt (_Noreturn): Don't reference __SUNPRO_C.Eli Zaretskii2012-06-242-2/+5
| | | | Fixes: debbugs:11750
* Switch from NO_RETURN to C11's _Noreturn.Paul Eggert2012-06-242-7/+19
| | | | Fixes: debbugs:11750
* Improve port of struct timespec to MS-Windows.Eli Zaretskii2012-06-242-6/+5
| | | | | | | | | | | | | | | | | | | lib/makefile.w32-in ($(BLD)/dtotimespec.$(O)): ($(BLD)/timespec-add.$(O)): ($(BLD)/timespec-sub.$(O)): Don't depend on $(EMACS_ROOT)/nt/inc/sys/time.h. lib/stat-time.h: lib/timespec.h: lib/utimens.h: Revert last change. src/makefile.w32-in (TIMESPEC_H): Remove nt/inc/sys/time.h. (SYSTIME_H): Add nt/inc/sys/time.h. src/systime.h [WINDOWSNT]: Include sys/time.h. src/s/ms-w32.h (struct timespec): Definition moved from nt/inc/sys/time.h. Suggested by Paul Eggert <[email protected]>. nt/inc/sys/time.h (struct timespec): Don't define it here, it is now defined in src/s/ms-w32.h. Fixes: debbugs:9000
* Fix the MS-Windows build broken by 2012-06-22T21:17:[email protected].Eli Zaretskii2012-06-232-8/+20
| | | | | | | | | | | | | | | | | | | | nt/inc/sys/time.h (struct timespec): Define. lib/makefile.w32-in (GNULIBOBJS): Add $(BLD)/dtotimespec.$(O), $(BLD)/gettime.$(O), $(BLD)/timespec-add.$(O), and $(BLD)/timespec-sub.$(O). ($(BLD)/dtotimespec.$(O)): ($(BLD)/gettime.$(O)): ($(BLD)/timespec-add.$(O)): ($(BLD)/timespec-sub.$(O)): New dependencies. lib/stat-time.h: lib/timespec.h: lib/utimens.h: Include sys/time.h src/w32.c (fdutimens): New function. src/w32proc.c (sys_select): Adapt to change in the EMACS_TIME type. src/s/ms-w32.h (pselect): Redirect to sys_select. src/sysselect.h [WINDOWSNT]: Don't include sys/select.h. Fixes: debbugs:9000
* Fix "make dist" on MS-Windows.Eli Zaretskii2012-06-162-2/+13
| | | | | | | | | nt/makefile.w32-in (install-addpm): New target. (dist): Depend on it. (install-shortcuts): Depend on install-addpm instead of copying addpm.exe as part of the recipe. See http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00171.html for the related problem and discussions.
* Move SYSTEM_TYPE from src/s to configureGlenn Morris2012-06-112-0/+7
| | | | | | | | | | | | | * configure.in (SYSTEM_TYPE): New AC_DEFINE. * msdos/sed2v2.inp (SYSTEM_TYPE): Set it. * nt/config.nt (SYSTEM_TYPE): Define it. * src/s/aix4-2.h, src/s/bsd-common.h, src/s/cygwin.h, src/s/darwin.h: * src/s/gnu-kfreebsd.h, src/s/gnu-linux.h, src/s/gnu.h, src/s/hpux10-20.h: * src/s/irix6-5.h, src/s/ms-w32.h, src/s/msdos.h, src/s/template.h: * src/s/usg5-4-common.h: Remove SYSTEM_TYPE.
* Merge from emacs-24; up to 2012-04-24T21:47:[email protected]Chong Yidong2012-05-314-16/+44
|\
| * Fix bug #11405 with MSVC build of emacsclientw.Eli Zaretskii2012-05-293-0/+12
| | | | | | | | | | | | | | | | lib-src/makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS) instead of a literal -mwindows, which is not supported by MSVC. nt/nmake.defs (MWINDOWS): Define as "-subsystem:windows -entry:mainCRTStartup". Suggested by Fabrice Popineau <[email protected]>. nt/gmake.defs (MWINDOWS): Define as "-mwindows".
| * Fix subtle problem with redirection in nt/configure.bat.Eli Zaretskii2012-05-282-16/+32
| | | | | | | | | | | | | | | | | | nt/configure.bat (genmakefiles): Move the redirection away from the end of the command, to avoid excess whitespace at the end of Make variables created at configure time, and also avoid things like "FOO1>>config.settings", where "1" gets interpreted as the file descriptor and eaten up. This fixes breakage introduced by the last change, without reintroducing the bug fixed by that change.
* | Remove HAVE_SYSINFO from nt/config.nt, followup to ↵Eli Zaretskii2012-05-282-1/+4
| | | | | | | | | | | | 2012-05-28T00:46:[email protected]. nt/config.nt (HAVE_SYSINFO): Remove; unused.
* | Fix the MS-Windows build broken by 1995-02-25T20:57:[email protected].Eli Zaretskii2012-05-272-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | lib/makefile.w32-in ($(BLD)/md5.$(O)): ($(BLD)/sha1.$(O)): ($(BLD)/sha256.$(O)): ($(BLD)/sha512.$(O)): Depend on $(EMACS_ROOT)/nt/inc/stdalign.h. Suggested by Christoph Scholtes <[email protected]>. lib/getopt_.h: Regenerate. nt/inc/stdalign.h: New file. Fixes: debbugs:11527
* | Merge from emacs-24; up to 2012-04-24T08:35:[email protected]Glenn Morris2012-05-262-11/+17
|\|
| * Fix redirection in nt/configure.bat.Eli Zaretskii2012-05-182-11/+17
| | | | | | | | | | | | nt/configure.bat: Ensure a space between %var% expansion and redirection symbol '>', which breaks when %var% ends in a digit, such as 1.
| * Bump version to 24.0.97.Chong Yidong2012-05-174-10/+10
| | | | | | | | Regenerate ldefs-boot.el and AUTHORS.
| * Bump version to 24.0.96.Chong Yidong2012-04-284-10/+10
| | | | | | | | Regenerate AUTHORS and ldefs-boot.el.
* | Remove src/m/*.Paul Eggert2012-05-222-34/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Remove all mention of src/m/*. (machine, machfile, M_FILE, config_machfile, and_machfile): Remove. All uses removed. (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG) (BITS_PER_LONG_LONG): Move to src/lisp.h. * lib/makefile.w32-in: Remove dependencies on $(EMACS_ROOT)/src/m/intel386.h. * make-dist: Don't make links to src/m. * admin/CPP-DEFINES: Do not mention src/m/*.h. (BITS_PER_EMACS_INT, BITS_PER_LONG, BITS_PER_CHAR) (BITS_PER_SHORT, BITS_PER_INT): Remove. * admin/MAINTAINERS: Remove src/m/. * lib-src/makefile.w32-in: Remove dependencies on $(EMACS_ROOT)/src/m/intel386.h. * msdos/mainmake.v2 (TAGS tags): Don't look at $(CURDIR)/src/m/intel386.h. * nt/config.nt: Do not include "m/intel386.h"; file was removed. (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG): Move to src/lisp.h. (EMACS_INT_MAX): New macro. This directory predates autoconf and is no longer needed nowadays. Move its few remaining bits of functionality to where they're needed. * src/m/README, src/m/alpha.h, src/m/amdx86-64.h, src/m/ia64.h, src/m/ibmrs6000.h: * src/m/ibms390x.h, src/m/intel386.h, src/m/m68k.h, src/m/macppc.h: * src/m/sparc.h, src/m/template.h: Remove. * src/Makefile.in (M_FILE): Remove. All uses removed. * src/alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): * src/lisp.h (USE_LSB_TAG): * src/mem-limits.h (EXCEEDS_LISP_PTR): Use VAL_MAX, not VALBITS, in #if. * src/lisp.h (EMACS_INT_MAX): New macro, useful in #if. (EMACS_UINT): Define unconditionally now. (BITS_PER_CHAR, BITS_PER_SHORT, BITS_PER_INT, BITS_PER_LONG) (BITS_PER_EMACS_INT): New constants, replacing what used to be in config.h, but not useful in #if. (GCTYPEBITS, VALBITS): Define unconditionally, since m/* files don't define them any more. (VAL_MAX): New macro. (VALMASK): Use it. * src/puresize.h (PURESIZE_RATIO): Use EMACS_INT_MAX, not BITS_PER_EMACS_INT, in #if. * src/s/aix4-2.h (BROKEN_FIONREAD, BROKEN_SIGAIO, BROKEN_SIGPTY) (BROKEN_SIGPOLL): Move here from m/ibmrs6000.h, which was removed. * src/s/gnu-linux.h (ULIMIT_BREAK_VALUE) [__i386__]: * src/s/ms-w32.h (DATA_START): Move here from removed file m/intel386.h. * src/s/gnu.h (NLIST_STRUCT): Remove undef; 'configure' does this. * src/s/irix6-5.h (_LP64): Remove; lisp.h no longer needs this.
* | Remove unused HAVE_* symbols for functions.Paul Eggert2012-05-192-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | * configure.in (AC_CHECK_FUNCS): Remove XSetWMProtocols, getdomainname, mblen (twice), mbrlen (twice), mbsinit, ualarm, getsockopt, setsockopt, mremap, mempcpy. * admin/CPP-DEFINES (HAVE_GETDOMAINNAME): Remove. * msdos/sed2v2.inp (HAVE_MBLEN): Remove. * msdos/sed2x.inp (HAVE_XSETWMPROTOCOLS): Remove. * nt/config.nt (HAVE_GETDOMAINNAME, HAVE_XSETWMPROTOCOLS) (HAVE_GETSOCKOPT, HAVE_SETSOCKOPT): Remove; not needed. * src/s/ms-w32.h (HAVE_GETDOMAINNAME): Remove; not needed.
* | Remove no-longer-used macro HAVE_FTIME.Paul Eggert2012-05-192-1/+4
| | | | | | | | | | | | | | | | | | | | * configure.in (machine): Do not set to 'vax', since src/m/vax.h is being removed. (AC_CHECK_FUNCS): Remove ftime. * admin/CPP-DEFINES (HAVE_FTIME): Remove. * nt/config.nt (HAVE_FTIME): Remove undef; not needed. * src/m/vax.h: Remove; no longer needed since HAVE_FTIME is being removed. * src/s/ms-w32.h (HAVE_FTIME): Remove; not needed.
* | Remove HAVE_LIBNCURSES; it is required to be trueGlenn Morris2012-04-302-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Also, it was a confusing name, since it does not necessarily mean that we literally have libncurses; rather that we have tputs etc. * configure.in (HAVE_LIBNCURSES): Remove; it is required to be true. * src/dispnew.c: Remove HAVE_LIBNCURSES test; it is always true on relevant platforms. * nt/config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
* | Fix ChangeLog typos.Juanma Barranquero2012-04-151-1/+1
| |
* | Merge from emacs-24, up to 2012-04-10T02:06:[email protected]Glenn Morris2012-04-132-2/+6
|\|
| * * nt/makefile.w32-in: Fix typo (Bug#10261).Dani Moncayo2012-04-112-2/+6
| |
* | Better parallelism on MS-Windows for "make info".Eli Zaretskii2012-04-102-5/+11
| | | | | | | | | | | | nt/makefile.w32-in (emacs, misc, lispref, lispintro): New targets, each runs makeinfo in its own subdirectory of 'doc'. (info-gmake): Depend on these new targets.
* | Bump trunk version to 24.1.50.Glenn Morris2012-04-075-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README, configure.in (AC_INIT): Bump version to 24.1.50. * doc/emacs/emacsver.texi (EMACSVER): Bump version to 24.1.50. * doc/man/emacs.1: Bump version to 24.1.50. * msdos/sed2v2.inp: Bump version to 24.1.50. * nextstep/Cocoa/Emacs.base/Contents/Info.plist: * nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings: * nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist: * nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop: Bump version to 24.1.50. * nt/config.nt, nt/makefile.w32-in, nt/emacs.rc, nt/emacsclient.rc: Bump version to 24.1.50.
* | Support building on MS-Windows with libxml2.Eli Zaretskii2012-04-074-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/makefile.w32-in (OBJ2): Add xml.$(O). (GLOBAL_SOURCES): Add xml.c. ($(BLD)/xml.$(O)): New dependency list. src/xml.c (DEF_XML2_FN, LOAD_XML2_FN) [WINDOWSNT]: New macros. (fn_htmlReadMemory, fn_xmlReadMemory, fn_xmlDocGetRootElement) (fn_xmlFreeDoc, fn_xmlCleanupParser, fn_xmlCheckVersion) [!WINDOWSNT]: New macros. (init_libxml2_functions, libxml2_loaded_p): New functions. (parse_region): Call fn_xmlCheckVersion instead of using the macro LIBXML_TEST_VERSION. Call libxml2 functions via the fn_* macros. (xml_cleanup_parser): New function, export for fn_xmlCleanupParser. Calls xmlCleanupParser only if libxml2 was loaded (or statically linked in). (Flibxml_parse_html_region, Flibxml_parse_xml_region): Call init_libxml2_functions before calling libxml2 functions. (syms_of_xml) <Qlibxml2_dll>: DEFSYM it. src/emacs.c: Don't include libxml/parser.h. (shut_down_emacs): Call xml_cleanup_parser, instead of calling xmlCleanupParser directly. src/ lisp.h [HAVE_LIBXML2]: Add prototype for xml_cleanup_parser. nt/configure.bat: Support building with libxml2. nt/INSTALL: nt/README.W32: Add information about libxml2. lisp/term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs. lib-src/makefile.w32-in (obj): Add xml.o.
* | Fix parallel build and bootstrap on MS-Windows.Eli Zaretskii2012-04-072-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nt/makefile.w32-in: (all): Don't depend on stamp_BLD and on maybe-bootstrap. (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap. (bootstrap-gmake): Invoke the "clean" and build targets in 2 separate commands, so they run in that order even under "make -j". lib/makefile.w32-in (gnulib, all): Don't depend on stamp_BLD. lib-src/makefile.w32-in (ALL): Now the list of executables, not of phony targets. (.PHONY): Only make-docfile is its prerequisite now. (make-docfile): Don't depend on stamp_BLD. Add a comment about the need in this target. (ctags, etags, ebrowse, hexl, movemail, emacsclient) (test-distrib): Phony targets removed. ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe. (all): Don't depend on stamp_BLD.
* | Convert nt/makefile.w32-in to Unix EOL format.Eli Zaretskii2012-04-072-465/+469
|/
* Bump version to 24.0.95.Chong Yidong2012-04-024-10/+10
| | | | Regenerate AUTHORS and ldefs-boot.el.
* Discourage in comments from defining HAVE_GETCWD on MS-Windows.Eli Zaretskii2012-03-292-0/+7
| | | | | src/s/ms-w32.h: Discourage from defining HAVE_GETCWD. nt/config.nt: Discourage from defining HAVE_GETCWD.
* Fix parallel "make install" on MS-Windows.Eli Zaretskii2012-03-254-15/+38
| | | | | | | | | | | | | | | | | | | | | | | | nt/makefile.w32-in (install-bin): Don't copy addpm.exe here. Use $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping on other (parallel) Make job's toes. (install-other-dirs-nmake, install-other-dirs-gmake): Depend on `all'. (install-shortcuts): Depend on $(INSTALL_DIR)/bin. Copy addpm.exe here. (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH, dist): Depend on create-tmp-dist-dir. nt/nmake.defs (DIRNAME): New variable. (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of same-dir.tst. nt/gmake.defs (DIRNAME): New variable. (IFNOTSAMEDIR): Use $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid conflicts between several (parallel) Make jobs. lisp/makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping on other (parallel) Make job's toes. leim/makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
* Bump version to 24.0.94Chong Yidong2012-02-274-10/+10
|
* Fix bug #10674 with infinite re-spawning of cmdproxy.exe.Eli Zaretskii2012-02-242-13/+77
| | | | | | | | nt/cmdproxy.c (main): Bypass conversion of the file name in argv[0] and our own module name to short 8+3 aliases, if the original file names compare equal. If GetShortPathName fails, compare the base names of the two file names, and only re-spawn the command line if the base-name comparison also fails.
* * nt/makefile.w32-in (maybe-copy-distfiles-SH): Fix typo.Dani Moncayo2012-02-232-17/+20
|
* * nt/README.W32: Removed specific version information for libXpmChristoph Scholtes2012-02-052-3/+6
| | | | included in the binary distribution for maintenance purposes.
* Added missing bug numbers to Changelog entries.Christoph Scholtes2012-02-051-2/+2
|
* * make-dist (README.W32): Include file in source tarball.Christoph Scholtes2012-02-052-4/+11
| | | | * nt/README.W32: Clarification for inclusion in source tarball.
* * lib/makefile.w32-in (PRAGMA_SYSTEM_HEADER): Move to platformChristoph Scholtes2012-02-053-0/+9
| | | | | | | | specific makefiles to support getopt_.h generation with MSVC. * nt/gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC. * nt/nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
* * nt/makefile.w32-in (maybe-copy-distfiles)Christoph Scholtes2012-02-052-3/+23
| | | | | | (maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH) (create-tmp-dist-dir): Added to make --distfiles optional. (dist): Use create-tmp-dist-dir and maybe-copy-distfiles.
* * nt/INSTALL: Mention --lib, --enable-checking.Glenn Morris2012-02-041-0/+11
| | | | | * etc/NEWS: Markup for things in nt/INSTALL (no need for these things to be in the manuals proper).
* Avoid MS-Windows compilation errors when struct stat is redefined.Eli Zaretskii2012-02-042-0/+8
| | | | | nt/inc/sys/stat.h (_STAT_DEFINED): Define, to prevent redefinitions by other headers.
* Fix typos in ChangeLogs.Juanma Barranquero2012-01-311-2/+2
|
* nt/INSTALL: Update instructions for parallel builds.Eli Zaretskii2012-01-301-5/+11
|
* Bump version to 24.0.93.Chong Yidong2012-01-294-10/+10
| | | | Regenerate AUTHORS and ldefs-boot.el.
* nt/README.W32, nt/INSTALL: Update the URL for GnuTLS binaries.Eli Zaretskii2012-01-262-2/+2
|
* 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 <[email protected]>. 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
|