aboutsummaryrefslogtreecommitdiffstats
path: root/nt
diff options
context:
space:
mode:
authorJoakim Verona2011-12-28 04:12:56 +0100
committerJoakim Verona2011-12-28 04:12:56 +0100
commitbb29f044aa967831cd664c54eba0de0c701436ce (patch)
tree1398cc9780bbae0fdad071a3a3765a571c3f6d7b /nt
parent3c935a7e996701244d166f684119f0ff97e25496 (diff)
parent5e605a2e528955721fc6f2bd7b9f174c15075fb1 (diff)
downloademacs-bb29f044aa967831cd664c54eba0de0c701436ce.tar.gz
emacs-bb29f044aa967831cd664c54eba0de0c701436ce.zip
upstream i think
Diffstat (limited to 'nt')
-rw-r--r--nt/ChangeLog22
-rw-r--r--nt/INSTALL24
-rw-r--r--nt/config.nt10
-rwxr-xr-xnt/configure.bat4
-rw-r--r--nt/emacs.rc8
-rw-r--r--nt/emacsclient.rc8
-rw-r--r--nt/inc/inttypes.h6
-rw-r--r--nt/inc/stdint.h10
-rw-r--r--nt/makefile.w32-in2
9 files changed, 76 insertions, 18 deletions
diff --git a/nt/ChangeLog b/nt/ChangeLog
index 8de94033196..859123c1a86 100644
--- a/nt/ChangeLog
+++ b/nt/ChangeLog
@@ -1,3 +1,23 @@
12011-11-27 Fabrice Popineau <fabrice.popineau@supelec.fr> (tiny change)
2
3 * inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs.
4 (UINT64_MAX) [_WIN64]: Fix definition.
5 (uintmax_t, intmax_t): Fix definitions.
6
7 * inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]: Provide
8 correct definitions.
9
10 * config.nt (HAVE_DECL_STRTOLL): Define.
11 (va_copy) [_WIN64]: Provide a better definition.
12
132011-11-25 Juanma Barranquero <lekktu@gmail.com>
14
15 * configure.bat: Fix typos.
16
172011-11-25 Eli Zaretskii <eliz@gnu.org>
18
19 * INSTALL: Elaborate on debugging fatal errors.
20
12011-11-15 Eli Zaretskii <eliz@gnu.org> 212011-11-15 Eli Zaretskii <eliz@gnu.org>
2 22
3 * README.W32: Update the GTK Windows download URL for libpng. 23 * README.W32: Update the GTK Windows download URL for libpng.
@@ -1784,7 +1804,7 @@
1784 1804
17851998-12-08 Geoff Voelker <voelker@cs.washington.edu> 18051998-12-08 Geoff Voelker <voelker@cs.washington.edu>
1786 1806
1787 * makefile.nt: Do string comparision of _NMAKE_VER. 1807 * makefile.nt: Do string comparison of _NMAKE_VER.
1788 1808
17891998-12-02 Geoff Voelker <voelker@cs.washington.edu> 18091998-12-02 Geoff Voelker <voelker@cs.washington.edu>
1790 1810
diff --git a/nt/INSTALL b/nt/INSTALL
index bb621dceb6b..9947cd86a34 100644
--- a/nt/INSTALL
+++ b/nt/INSTALL
@@ -599,6 +599,30 @@
599 the debugger, and you will be able to debug the cause of the fatal 599 the debugger, and you will be able to debug the cause of the fatal
600 error. 600 error.
601 601
602 The single most important thing to find out when Emacs aborts or
603 crashes is where did that happen in the Emacs code. This is called
604 "backtrace".
605
606 Emacs on Windows uses more than one thread. When Emacs aborts due
607 to a fatal error, the current thread may not be the application
608 thread running Emacs code. Therefore, to produce a meaningful
609 backtrace from a debugger, you need to instruct it to show the
610 backtrace for every thread. With GDB, you do it like this:
611
612 (gdb) thread apply all backtrace
613
614 To run Emacs under a debugger to begin with, simply start it from
615 the debugger. With GDB, chdir to the `src' directory (if you have
616 the source tree) or to a directory with the `.gdbinit' file (if you
617 don't have the source tree), and type these commands:
618
619 C:\whatever\src> gdb x:\path\to\emacs.exe
620 (gdb) run <ARGUMENTS TO EMACS>
621
622 Thereafter, use Emacs as usual; you can minimize the debugger
623 window, if you like. The debugger will take control if and when
624 Emacs crashes.
625
602 Emacs functions implemented in C use a naming convention that reflects 626 Emacs functions implemented in C use a naming convention that reflects
603 their names in lisp. The names of the C routines are the lisp names 627 their names in lisp. The names of the C routines are the lisp names
604 prefixed with 'F', and with dashes converted to underscores. For 628 prefixed with 'F', and with dashes converted to underscores. For
diff --git a/nt/config.nt b/nt/config.nt
index 3a06a9f5b7a..c77faccb3b4 100644
--- a/nt/config.nt
+++ b/nt/config.nt
@@ -303,6 +303,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
303/* Define to 1 if you have the `localtime_r' function. */ 303/* Define to 1 if you have the `localtime_r' function. */
304#undef HAVE_LOCALTIME_R 304#undef HAVE_LOCALTIME_R
305 305
306/* Define to 1 if you have the declaration of `strtoll', and to 0 if you
307 don't. */
308#define HAVE_DECL_STRTOLL 1
309
306/* Define to 1 if you have the declaration of `strtoull', and to 0 if you 310/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
307 don't. */ 311 don't. */
308#define HAVE_DECL_STRTOULL 1 312#define HAVE_DECL_STRTOULL 1
@@ -324,7 +328,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
324#define PACKAGE "emacs" 328#define PACKAGE "emacs"
325 329
326/* Version number of package */ 330/* Version number of package */
327#define VERSION "24.0.91" 331#define VERSION "24.0.92"
328 332
329/* Define to `__inline__' or `__inline' if that's what the C compiler 333/* Define to `__inline__' or `__inline' if that's what the C compiler
330 calls it, or to nothing if 'inline' is not supported under any name. */ 334 calls it, or to nothing if 'inline' is not supported under any name. */
@@ -353,8 +357,8 @@ typedef unsigned short mode_t;
353/* A va_copy replacement for MSVC. */ 357/* A va_copy replacement for MSVC. */
354#ifdef _MSC_VER 358#ifdef _MSC_VER
355# ifdef _WIN64 359# ifdef _WIN64
356# ifndef va_copy 360# ifndef va_copy /* Need to be checked (?) */
357# error "va_copy is needed, but not defined!" 361# define va_copy(d,s) ((d) = (s))
358# endif 362# endif
359# else /* not _WIN64 */ 363# else /* not _WIN64 */
360# define va_copy(d,s) ((d) = (s)) 364# define va_copy(d,s) ((d) = (s))
diff --git a/nt/configure.bat b/nt/configure.bat
index 45d966fc34d..c503900274e 100755
--- a/nt/configure.bat
+++ b/nt/configure.bat
@@ -155,7 +155,7 @@ echo. --without-jpeg do not use JPEG library even if it is installed
155echo. --without-gif do not use GIF library even if it is installed 155echo. --without-gif do not use GIF library even if it is installed
156echo. --without-tiff do not use TIFF library even if it is installed 156echo. --without-tiff do not use TIFF library even if it is installed
157echo. --without-xpm do not use XPM library even if it is installed 157echo. --without-xpm do not use XPM library even if it is installed
158echo. --without-gnutls do not use GNUTLS library even if it is installed 158echo. --without-gnutls do not use GnuTLS library even if it is installed
159echo. --with-svg use the RSVG library (experimental) 159echo. --with-svg use the RSVG library (experimental)
160echo. --distfiles path to files for make dist, e.g. libXpm.dll 160echo. --distfiles path to files for make dist, e.g. libXpm.dll
161if "%use_extensions%" == "0" goto end 161if "%use_extensions%" == "0" goto end
@@ -563,7 +563,7 @@ set HAVE_GNUTLS=
563goto :tlsDone 563goto :tlsDone
564 564
565:haveTls 565:haveTls
566echo ...GNUTLS header available, building with GNUTLS support. 566echo ...GnuTLS header available, building with GnuTLS support.
567set HAVE_GNUTLS=1 567set HAVE_GNUTLS=1
568 568
569:tlsDone 569:tlsDone
diff --git a/nt/emacs.rc b/nt/emacs.rc
index 9f7fc6f14aa..479a228bb69 100644
--- a/nt/emacs.rc
+++ b/nt/emacs.rc
@@ -7,8 +7,8 @@ Emacs ICON icons\emacs.ico
7#endif 7#endif
8 8
9VS_VERSION_INFO VERSIONINFO 9VS_VERSION_INFO VERSIONINFO
10 FILEVERSION 24,0,91,0 10 FILEVERSION 24,0,92,0
11 PRODUCTVERSION 24,0,91,0 11 PRODUCTVERSION 24,0,92,0
12 FILEFLAGSMASK 0x3FL 12 FILEFLAGSMASK 0x3FL
13#ifdef EMACSDEBUG 13#ifdef EMACSDEBUG
14 FILEFLAGS 0x1L 14 FILEFLAGS 0x1L
@@ -25,12 +25,12 @@ BEGIN
25 BEGIN 25 BEGIN
26 VALUE "CompanyName", "Free Software Foundation\0" 26 VALUE "CompanyName", "Free Software Foundation\0"
27 VALUE "FileDescription", "GNU Emacs: The extensible self-documenting text editor\0" 27 VALUE "FileDescription", "GNU Emacs: The extensible self-documenting text editor\0"
28 VALUE "FileVersion", "24, 0, 91, 0\0" 28 VALUE "FileVersion", "24, 0, 92, 0\0"
29 VALUE "InternalName", "Emacs\0" 29 VALUE "InternalName", "Emacs\0"
30 VALUE "LegalCopyright", "Copyright (C) 2001-2011\0" 30 VALUE "LegalCopyright", "Copyright (C) 2001-2011\0"
31 VALUE "OriginalFilename", "emacs.exe" 31 VALUE "OriginalFilename", "emacs.exe"
32 VALUE "ProductName", "Emacs\0" 32 VALUE "ProductName", "Emacs\0"
33 VALUE "ProductVersion", "24, 0, 91, 0\0" 33 VALUE "ProductVersion", "24, 0, 92, 0\0"
34 VALUE "OLESelfRegister", "\0" 34 VALUE "OLESelfRegister", "\0"
35 END 35 END
36 END 36 END
diff --git a/nt/emacsclient.rc b/nt/emacsclient.rc
index 6de1daeb959..b653e1fb952 100644
--- a/nt/emacsclient.rc
+++ b/nt/emacsclient.rc
@@ -5,8 +5,8 @@ Emacs ICON icons\emacs.ico
5#endif 5#endif
6 6
7VS_VERSION_INFO VERSIONINFO 7VS_VERSION_INFO VERSIONINFO
8 FILEVERSION 24,0,91,0 8 FILEVERSION 24,0,92,0
9 PRODUCTVERSION 24,0,91,0 9 PRODUCTVERSION 24,0,92,0
10 FILEFLAGSMASK 0x3FL 10 FILEFLAGSMASK 0x3FL
11#ifdef EMACSDEBUG 11#ifdef EMACSDEBUG
12 FILEFLAGS 0x1L 12 FILEFLAGS 0x1L
@@ -23,12 +23,12 @@ BEGIN
23 BEGIN 23 BEGIN
24 VALUE "CompanyName", "Free Software Foundation\0" 24 VALUE "CompanyName", "Free Software Foundation\0"
25 VALUE "FileDescription", "GNU EmacsClient: Client for the extensible self-documenting text editor\0" 25 VALUE "FileDescription", "GNU EmacsClient: Client for the extensible self-documenting text editor\0"
26 VALUE "FileVersion", "24, 0, 91, 0\0" 26 VALUE "FileVersion", "24, 0, 92, 0\0"
27 VALUE "InternalName", "EmacsClient\0" 27 VALUE "InternalName", "EmacsClient\0"
28 VALUE "LegalCopyright", "Copyright (C) 2001-2011\0" 28 VALUE "LegalCopyright", "Copyright (C) 2001-2011\0"
29 VALUE "OriginalFilename", "emacsclientw.exe" 29 VALUE "OriginalFilename", "emacsclientw.exe"
30 VALUE "ProductName", "EmacsClient\0" 30 VALUE "ProductName", "EmacsClient\0"
31 VALUE "ProductVersion", "24, 0, 91, 0\0" 31 VALUE "ProductVersion", "24, 0, 92, 0\0"
32 VALUE "OLESelfRegister", "\0" 32 VALUE "OLESelfRegister", "\0"
33 END 33 END
34 END 34 END
diff --git a/nt/inc/inttypes.h b/nt/inc/inttypes.h
index 3e8b55ab98e..ba26cc1115d 100644
--- a/nt/inc/inttypes.h
+++ b/nt/inc/inttypes.h
@@ -24,7 +24,13 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
24#include_next <inttypes.h> 24#include_next <inttypes.h>
25#else /* !__MINGW32__ */ 25#else /* !__MINGW32__ */
26#include "stdint.h" 26#include "stdint.h"
27#ifdef _WIN64
27#define strtoumax _strtoui64 28#define strtoumax _strtoui64
29#define strtoimax _strtoi64
30#else
31#define strtoumax strtoul
32#define strtoimax strtol
33#endif
28#endif /* !__MINGW32__ */ 34#endif /* !__MINGW32__ */
29 35
30#endif 36#endif
diff --git a/nt/inc/stdint.h b/nt/inc/stdint.h
index fa2e06f3da9..4eda1c5a688 100644
--- a/nt/inc/stdint.h
+++ b/nt/inc/stdint.h
@@ -29,7 +29,9 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
29 29
30#ifdef _WIN64 30#ifdef _WIN64
31typedef __int64 intptr_t; 31typedef __int64 intptr_t;
32#define UINT64_MAX 18446744073709551615 32typedef unsigned int uint32_t;
33typedef unsigned __int64 uint64_t;
34#define UINT64_MAX (18446744073709551615i64)
33#define UINT64_MIN 0 35#define UINT64_MIN 0
34/* "i64" is the non-standard suffix used by MSVC for 64-bit constants. */ 36/* "i64" is the non-standard suffix used by MSVC for 64-bit constants. */
35#define INT64_MAX 9223372036854775807i64 37#define INT64_MAX 9223372036854775807i64
@@ -39,6 +41,8 @@ typedef __int64 intptr_t;
39#define UINTMAX_MIN UINT64_MIN 41#define UINTMAX_MIN UINT64_MIN
40#define INTMAX_MAX INT64_MAX 42#define INTMAX_MAX INT64_MAX
41#define INTMAX_MIN INT64_MIN 43#define INTMAX_MIN INT64_MIN
44#define uintmax_t unsigned __int64
45#define intmax_t __int64
42#else 46#else
43typedef int intptr_t; 47typedef int intptr_t;
44typedef unsigned int uint32_t; 48typedef unsigned int uint32_t;
@@ -51,10 +55,10 @@ typedef unsigned int uint32_t;
51#define UINTMAX_MIN UINT32_MIN 55#define UINTMAX_MIN UINT32_MIN
52#define INTMAX_MAX INT32_MAX 56#define INTMAX_MAX INT32_MAX
53#define INTMAX_MIN INT32_MIN 57#define INTMAX_MIN INT32_MIN
58#define uintmax_t unsigned long
59#define intmax_t long
54#endif 60#endif
55 61
56#define uintmax_t unsigned __int64
57#define intmax_t __int64
58#define PTRDIFF_MAX INTPTR_MAX 62#define PTRDIFF_MAX INTPTR_MAX
59 63
60#endif /* !__GNUC__ */ 64#endif /* !__GNUC__ */
diff --git a/nt/makefile.w32-in b/nt/makefile.w32-in
index 194f0759bbf..a474e34eaa5 100644
--- a/nt/makefile.w32-in
+++ b/nt/makefile.w32-in
@@ -22,7 +22,7 @@
22# FIXME: This file uses DOS EOLs. Convert to Unix after 22.1 is out 22# FIXME: This file uses DOS EOLs. Convert to Unix after 22.1 is out
23# (and remove or replace this comment). 23# (and remove or replace this comment).
24 24
25VERSION = 24.0.91 25VERSION = 24.0.92
26 26
27TMP_DIST_DIR = emacs-$(VERSION) 27TMP_DIST_DIR = emacs-$(VERSION)
28 28