[P21.4] bump external library versions for 21.4 windows native build
12 years, 10 months
Vin Shelton
diff -r a3e1b96b63b5 nt/ChangeLog
--- a/nt/ChangeLog Mon Nov 28 21:42:23 2011 -0500
+++ b/nt/ChangeLog Mon Nov 28 21:45:18 2011 -0500
@@ -1,3 +1,7 @@
+2011-11-28 Vin Shelton <acs(a)xemacs.org>
+
+ * config.inc.samp: Update versions for png, tiff and jpeg.
+
2009-02-06 Vin Shelton <acs(a)xemacs.org>
* xemacs.mak: Visual Studio 2005 support: add manifest to
diff -r a3e1b96b63b5 nt/config.inc.samp
--- a/nt/config.inc.samp Mon Nov 28 21:42:23 2011 -0500
+++ b/nt/config.inc.samp Mon Nov 28 21:45:18 2011 -0500
@@ -52,20 +52,20 @@
# do that here so we can preserve the version number, like for the other
# libraries.
HAVE_PNG=1
-PNG_DIR=$(OPTIONAL_LIBRARY_DIR)\libpng-1.2.8
-ZLIB_DIR=$(OPTIONAL_LIBRARY_DIR)\zlib-1.2.1
+PNG_DIR=$(OPTIONAL_LIBRARY_DIR)\libpng-1.2.46
+ZLIB_DIR=$(OPTIONAL_LIBRARY_DIR)\zlib
# Set this to enable JPEG support (useful, but not necessary), and specify
# the directory containing jpeg. Get the latest version from
# ftp://ftp.uu.net/graphics/jpeg/.
HAVE_JPEG=1
-JPEG_DIR=$(OPTIONAL_LIBRARY_DIR)\jpeg-6b
+JPEG_DIR=$(OPTIONAL_LIBRARY_DIR)\jpeg-8c
# Set this to enable TIFF support (not very important), and specify the
# directory containing tiff. Get the latest version from
# ftp://ftp.uu.net/graphics/tiff/.
HAVE_TIFF=1
-TIFF_DIR=$(OPTIONAL_LIBRARY_DIR)\tiff-v3.5.7
+TIFF_DIR=$(OPTIONAL_LIBRARY_DIR)\tiff-v3.9.5
# Set this to enable XFace support (not very important), and specify the
# directory containing compface. Get the library from
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
[P21.5] - update external library versions for windows native build
12 years, 10 months
Vin Shelton
Here are some changes I had to make when building the latest 21.5
native windows setup kits:
diff -r c9e5612f5424 nt/ChangeLog
--- a/nt/ChangeLog Sat Nov 26 17:59:14 2011 +0000
+++ b/nt/ChangeLog Mon Nov 28 21:33:21 2011 -0500
@@ -1,3 +1,8 @@
+2011-11-28 Vin Shelton <acs(a)xemacs.org>
+
+ * config.inc.samp: Update version number for jpeg and tiff.
+ * xemacs.mak: Add rules for building texinfo.info.
+
2011-04-29 Stephen J. Turnbull <stephen(a)xemacs.org>
* XEmacs 21.5.31 "ginger" is released.
diff -r c9e5612f5424 nt/config.inc.samp
--- a/nt/config.inc.samp Sat Nov 26 17:59:14 2011 +0000
+++ b/nt/config.inc.samp Mon Nov 28 21:33:21 2011 -0500
@@ -84,13 +84,13 @@
# the directory containing jpeg. Get the latest version from
# http://www.ijg.org/ or ftp://ftp.uu.net/graphics/jpeg/.
HAVE_JPEG=1
-JPEG_DIR=$(OPTIONAL_LIBRARY_DIR)\jpeg-6b
+JPEG_DIR=$(OPTIONAL_LIBRARY_DIR)\jpeg-8c
# Set this to enable TIFF support (not very important), and specify the
# directory containing tiff. Get the latest version from
# http://www.remotesensing.org/libtiff/.
HAVE_TIFF=1
-TIFF_DIR=$(OPTIONAL_LIBRARY_DIR)\tiff-3.7.3
+TIFF_DIR=$(OPTIONAL_LIBRARY_DIR)\tiff-3.9.5
# Set this to enable XFace support (not very important), and specify the
# directory containing compface. Get the library from
diff -r c9e5612f5424 nt/xemacs.mak
--- a/nt/xemacs.mak Sat Nov 26 17:59:14 2011 +0000
+++ b/nt/xemacs.mak Mon Nov 28 21:33:21 2011 -0500
@@ -1630,6 +1630,14 @@
$(MANDIR)\new-users-guide\region.texi \
$(MANDIR)\new-users-guide\search.texi \
$(MANDIR)\new-users-guide\xmenu.texi
+
+TEXINFO_SRCS = \
+ $(MANDIR)\texinfo\texinfo.texi \
+ $(MANDIR)\texinfo\version.texi
+
+$(INFODIR)\texinfo.info: $(TEXINFO_SRCS)
+ cd $(MANDIR)\texinfo
+ $(MAKEINFO) texinfo.texi
$(INFODIR)\xemacs.info: $(XEMACS_SRCS)
cd $(MANDIR)\xemacs
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
[COMMIT] Support the MP library on recent FreeBSD, have it pass relevant tests.
12 years, 10 months
Aidan Kehoe
APPROVE COMMIT
NOTE: This patch has been committed.
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1322330354 0
# Node ID c9e5612f542425f03f595a55cb03dce1a2b7886a
# Parent 3e5d5e8e4bb7fd0b9f176f35196523fc089bd975
Support the MP library on recent FreeBSD, have it pass relevant tests.
src/ChangeLog addition:
2011-11-26 Aidan Kehoe <kehoea(a)parhasard.net>
* number-mp.c (bignum_to_string):
Don't overwrite the accumulator we've just set up for this
function.
* number-mp.c (BIGNUM_TO_TYPE):
mp_itom() doesn't necessarily do what this code used to think with
negative numbers, it can treat them as unsigned ints. Subtract
numbers from bignum_zero instead of multiplying them by -1 to
convert them to their negative equivalents.
* number-mp.c (bignum_to_int):
* number-mp.c (bignum_to_uint):
* number-mp.c (bignum_to_long):
* number-mp.c (bignum_to_ulong):
* number-mp.c (bignum_to_double):
Use the changed BIGNUM_TO_TYPE() in these functions.
* number-mp.c (bignum_ceil):
* number-mp.c (bignum_floor):
In these functions, be more careful about rounding to positive and
negative infinity, respectively. Don't use the sign of QUOTIENT
when working out out whether to add or subtract one, rather use
the sign QUOTIENT would have if arbitrary-precision division were
done.
* number-mp.h:
* number-mp.h (MP_GCD):
Wrap #include <mp.h> in BEGIN_C_DECLS/END_C_DECLS.
* number.c (Fbigfloat_get_precision):
* number.c (Fbigfloat_set_precision):
Don't attempt to call XBIGFLOAT_GET_PREC if this build doesn't
support big floats.
diff -r 3e5d5e8e4bb7 -r c9e5612f5424 src/ChangeLog
--- a/src/ChangeLog Mon Nov 21 19:46:04 2011 +0100
+++ b/src/ChangeLog Sat Nov 26 17:59:14 2011 +0000
@@ -1,3 +1,39 @@
+2011-11-26 Aidan Kehoe <kehoea(a)parhasard.net>
+
+ * number-mp.c (bignum_to_string):
+ Don't overwrite the accumulator we've just set up for this
+ function.
+
+ * number-mp.c (BIGNUM_TO_TYPE):
+ mp_itom() doesn't necessarily do what this code used to think with
+ negative numbers, it can treat them as unsigned ints. Subtract
+ numbers from bignum_zero instead of multiplying them by -1 to
+ convert them to their negative equivalents.
+
+ * number-mp.c (bignum_to_int):
+ * number-mp.c (bignum_to_uint):
+ * number-mp.c (bignum_to_long):
+ * number-mp.c (bignum_to_ulong):
+ * number-mp.c (bignum_to_double):
+ Use the changed BIGNUM_TO_TYPE() in these functions.
+
+ * number-mp.c (bignum_ceil):
+ * number-mp.c (bignum_floor):
+ In these functions, be more careful about rounding to positive and
+ negative infinity, respectively. Don't use the sign of QUOTIENT
+ when working out out whether to add or subtract one, rather use
+ the sign QUOTIENT would have if arbitrary-precision division were
+ done.
+
+ * number-mp.h:
+ * number-mp.h (MP_GCD):
+ Wrap #include <mp.h> in BEGIN_C_DECLS/END_C_DECLS.
+
+ * number.c (Fbigfloat_get_precision):
+ * number.c (Fbigfloat_set_precision):
+ Don't attempt to call XBIGFLOAT_GET_PREC if this build doesn't
+ support big floats.
+
2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
* .dbxrc.in: Move from etc/.dbxrc.in.
diff -r 3e5d5e8e4bb7 -r c9e5612f5424 src/number-mp.c
--- a/src/number-mp.c Mon Nov 21 19:46:04 2011 +0100
+++ b/src/number-mp.c Sat Nov 26 17:59:14 2011 +0000
@@ -42,7 +42,7 @@
/* FIXME: signal something if base is < 2 or doesn't fit into a short. */
/* Save the sign for later */
- sign = MP_MCMP (b, bignum_zero);
+ sign = bignum_sign (b);
if (sign == 0)
{
@@ -57,8 +57,6 @@
else
MP_MOVE (b, quo);
- quo = MP_ITOM (0);
-
/* Loop over the digits of b (in BASE) and place each one into buffer */
for (i = 0U; MP_MCMP(quo, bignum_zero) > 0; i++)
{
@@ -90,13 +88,28 @@
}
#define BIGNUM_TO_TYPE(type,accumtype) do { \
- MP_MULT (b, quo, quo); \
+ if (0 == sign) \
+ { \
+ return (type)0; \
+ } \
+ \
+ bignum_init (quo); \
+ \
+ if (sign < 0) \
+ { \
+ MP_MSUB (bignum_zero, b, quo); \
+ } \
+ else \
+ { \
+ MP_MOVE (b, quo); \
+ } \
+ \
for (i = 0U; i < sizeof(type); i++) \
{ \
MP_SDIV (quo, 256, quo, &rem); \
retval |= ((accumtype) rem) << (8 * i); \
} \
- MP_MFREE (quo); \
+ bignum_fini (quo); \
} while (0)
int
@@ -107,8 +120,7 @@
REGISTER unsigned int i;
MINT *quo;
- sign = MP_MCMP (b, bignum_zero) < 0 ? -1 : 1;
- quo = MP_ITOM (sign);
+ sign = bignum_sign (b);
BIGNUM_TO_TYPE (int, unsigned int);
return ((int) retval) * sign;
}
@@ -116,12 +128,12 @@
unsigned int
bignum_to_uint (bignum b)
{
- short rem;
+ short rem, sign;
unsigned int retval = 0U;
REGISTER unsigned int i;
MINT *quo;
- quo = MP_ITOM (MP_MCMP (b, bignum_zero) < 0 ? -1 : 1);
+ sign = bignum_sign (b);
BIGNUM_TO_TYPE (unsigned int, unsigned int);
return retval;
}
@@ -134,8 +146,7 @@
REGISTER unsigned int i;
MINT *quo;
- sign = MP_MCMP (b, bignum_zero) < 0 ? -1 : 1;
- quo = MP_ITOM (sign);
+ sign = bignum_sign (b);
BIGNUM_TO_TYPE (long, unsigned long);
return ((long) retval) * sign;
}
@@ -143,12 +154,12 @@
unsigned long
bignum_to_ulong (bignum b)
{
- short rem;
+ short rem, sign;
unsigned long retval = 0UL;
REGISTER unsigned int i;
MINT *quo;
- quo = MP_ITOM (MP_MCMP (b, bignum_zero) < 0 ? -1 : 1);
+ sign = bignum_sign (b);
BIGNUM_TO_TYPE (unsigned long, unsigned long);
return retval;
}
@@ -161,9 +172,17 @@
REGISTER unsigned int i;
MINT *quo;
- sign = MP_MCMP (b, bignum_zero) < 0 ? -1 : 1;
- quo = MP_ITOM (sign);
- MP_MULT (b, quo, quo);
+ sign = bignum_sign (b);
+ bignum_init (quo);
+ if (sign < 0)
+ {
+ MP_MSUB (bignum_zero, b, quo);
+ }
+ else
+ {
+ MP_MOVE (b, quo);
+ }
+
for (i = 0U; MP_MCMP (quo, bignum_zero) > 0; i++)
{
MP_SDIV (quo, 256, quo, &rem);
@@ -303,17 +322,51 @@
void bignum_ceil (bignum quotient, bignum N, bignum D)
{
MP_MDIV (N, D, quotient, intern_bignum);
- if (MP_MCMP (intern_bignum, bignum_zero) > 0 &&
- MP_MCMP (quotient, bignum_zero) > 0)
- MP_MADD (quotient, bignum_one, quotient);
+ MP_MDIV (N, D, quotient, intern_bignum);
+ if (MP_MCMP (intern_bignum, bignum_zero) != 0)
+ {
+ short signN = MP_MCMP (N, bignum_zero);
+ short signD = MP_MCMP (D, bignum_zero);
+
+ /* If the quotient is positive, add one, since we're rounding to
+ positive infinity. */
+ if (signD < 0)
+ {
+ if (signN <= 0)
+ {
+ MP_MADD (quotient, bignum_one, quotient);
+ }
+ }
+ else if (signN >= 0)
+ {
+ MP_MADD (quotient, bignum_one, quotient);
+ }
+ }
}
void bignum_floor (bignum quotient, bignum N, bignum D)
{
MP_MDIV (N, D, quotient, intern_bignum);
- if (MP_MCMP (intern_bignum, bignum_zero) > 0 &&
- MP_MCMP (quotient, bignum_zero) < 0)
- MP_MSUB (quotient, bignum_one, quotient);
+
+ if (MP_MCMP (intern_bignum, bignum_zero) != 0)
+ {
+ short signN = MP_MCMP (N, bignum_zero);
+ short signD = MP_MCMP (D, bignum_zero);
+
+ /* If the quotient is negative, subtract one, we're rounding to minus
+ infinity. */
+ if (signD < 0)
+ {
+ if (signN >= 0)
+ {
+ MP_MSUB (quotient, bignum_one, quotient);
+ }
+ }
+ else if (signN < 0)
+ {
+ MP_MSUB (quotient, bignum_one, quotient);
+ }
+ }
}
/* RESULT = N to the POWth power */
diff -r 3e5d5e8e4bb7 -r c9e5612f5424 src/number-mp.h
--- a/src/number-mp.h Mon Nov 21 19:46:04 2011 +0100
+++ b/src/number-mp.h Sat Nov 26 17:59:14 2011 +0000
@@ -32,7 +32,9 @@
function anyway, so we do this for safety purposes. However, this means
that number-mp.h must always be included before math.h. */
#define pow mp_pow
+BEGIN_C_DECLS
#include <mp.h>
+END_C_DECLS
#undef pow
#ifdef MP_PREFIX
diff -r 3e5d5e8e4bb7 -r c9e5612f5424 src/number.c
--- a/src/number.c Mon Nov 21 19:46:04 2011 +0100
+++ b/src/number.c Sat Nov 26 17:59:14 2011 +0000
@@ -328,12 +328,14 @@
(f))
{
CHECK_BIGFLOAT (f);
+#ifdef HAVE_BIGFLOAT
#ifdef HAVE_BIGNUM
bignum_set_ulong (scratch_bignum, XBIGFLOAT_GET_PREC (f));
return Fcanonicalize_number (make_bignum_bg (scratch_bignum));
#else
return make_fixnum ((int) XBIGFLOAT_GET_PREC (f));
#endif
+#endif
}
DEFUN ("bigfloat-set-precision", Fbigfloat_set_precision, 2, 2, 0, /*
@@ -364,8 +366,9 @@
dead_wrong_type_argument (Qintegerp, f);
return Qnil;
}
-
+#ifdef HAVE_BIGFLOAT
XBIGFLOAT_SET_PREC (f, prec);
+#endif
return Fbigfloat_get_precision (f);
}
--
‘Iodine deficiency was endemic in parts of the UK until, through what has been
described as “an unplanned and accidental public health triumph”, iodine was
added to cattle feed to improve milk production in the 1930s.’
(EN Pearce, Lancet, June 2011)
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
commit/XEmacs: kehoea: Support the MP library on recent FreeBSD, have it pass relevant tests.
12 years, 10 months
Bitbucket
1 new commit in XEmacs:
https://bitbucket.org/xemacs/xemacs/changeset/c9e5612f5424/
changeset: c9e5612f5424
user: kehoea
date: 2011-11-26 18:59:14
summary: Support the MP library on recent FreeBSD, have it pass relevant tests.
src/ChangeLog addition:
2011-11-26 Aidan Kehoe <kehoea(a)parhasard.net>
* number-mp.c (bignum_to_string):
Don't overwrite the accumulator we've just set up for this
function.
* number-mp.c (BIGNUM_TO_TYPE):
mp_itom() doesn't necessarily do what this code used to think with
negative numbers, it can treat them as unsigned ints. Subtract
numbers from bignum_zero instead of multiplying them by -1 to
convert them to their negative equivalents.
* number-mp.c (bignum_to_int):
* number-mp.c (bignum_to_uint):
* number-mp.c (bignum_to_long):
* number-mp.c (bignum_to_ulong):
* number-mp.c (bignum_to_double):
Use the changed BIGNUM_TO_TYPE() in these functions.
* number-mp.c (bignum_ceil):
* number-mp.c (bignum_floor):
In these functions, be more careful about rounding to positive and
negative infinity, respectively. Don't use the sign of QUOTIENT
when working out out whether to add or subtract one, rather use
the sign QUOTIENT would have if arbitrary-precision division were
done.
* number-mp.h:
* number-mp.h (MP_GCD):
Wrap #include <mp.h> in BEGIN_C_DECLS/END_C_DECLS.
* number.c (Fbigfloat_get_precision):
* number.c (Fbigfloat_set_precision):
Don't attempt to call XBIGFLOAT_GET_PREC if this build doesn't
support big floats.
affected #: 4 files
Repository URL: https://bitbucket.org/xemacs/xemacs/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
[COMMIT] Regenerate configure with newer autoconf.
12 years, 11 months
Marcus Crestani
APPROVE COMMIT
Lion's default autoconf breaks configure's ability to create Makefiles.
Regenerate configure with Autoconf 2.68.
NOTE: This patch has been committed.
# HG changeset patch
# User Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
# Date 1321871722 -3600
# Node ID d88edf8f3b880a84ded020856751b1616d133ac9
# Parent bccc91a655362e5bd427e2179c942f2d99cf6ebc
2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
* configure: Regenerate with Autoconf 2.68. Default Autoconf 2.61
that comes with Mac OS X Lion breaks configure's ability to create
Makefiles.
diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
+
+ * configure: Regenerate with Autoconf 2.68. Default Autoconf 2.61
+ that comes with Mac OS X Lion breaks configure's ability to create
+ Makefiles.
+
2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
* configure.ac: Fix creation of etc/dbxrc and src/.dbxrc; only try
--
Marcus
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
[COMMIT] Fix .gdbinit and .dbxrc when using the new garbage collector.
12 years, 11 months
Marcus Crestani
APPROVE COMMIT
NOTE: This patch has been committed.
# HG changeset patch
# User Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
# Date 1321867711 -3600
# Node ID bccc91a655362e5bd427e2179c942f2d99cf6ebc
# Parent 79a1a759ec3dbfa7fe21eba9303d500b14f773b9
Fix .gdbinit and .dbxrc when using the new garbage collector; also fix
creation of .dbxrc.
ChangeLog:
2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
* configure.ac: Fix creation of etc/dbxrc and src/.dbxrc; only try
to create Makefile when Makefile.in is there.
* configure: Regenerate.
src/ChangeLog:
2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
* .gdbinit.in.in: There is no lrecord_type_lcrecord_list when
using the new garbage collector; print $lrecord_type when Lisp
Object type is unknown to pobj.
etc/ChangeLog:
2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
* dbxrc.in: There is no lrecord_type_lcrecord_list when using the
new garbage collector; print $lrecord_type when Lisp Object type
is unknown to pobj.
diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
+
+ * configure.ac: Fix creation of etc/dbxrc and src/.dbxrc; only try
+ to create Makefile when Makefile.in is there.
+ * configure: Regenerate.
+
2011-10-14 Stephen J. Turnbull <stephen(a)xemacs.org>
* configure.ac (with_athena): Refactor check for Xaw3d.
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -5377,8 +5377,8 @@
dnl Create a .dbxrc useful for debugging XEmacs
if test -f "$srcdir/etc/dbxrc.in"; then
- test "$verbose" = "yes" && echo "creating src/.dbxrc.in"
- echo ". $srcdir/etc/dbxrc.in" > "src/.dbxrc.in"
+ test "$verbose" = "yes" && echo "creating src/.dbxrc"
+ echo ". $srcdir/etc/dbxrc" > "$srcdir/src/.dbxrc"
fi
dnl Create a useful TAGS file
@@ -6009,6 +6009,9 @@
mv -f Makefile.new $2
])dnl CPP_MAKEFILE
+dnl for creation of /etc/dbxrc
+XE_APPEND(etc, MAKE_SUBDIR)
+
AC_CONFIG_COMMANDS([default],
[for dir in . $MAKE_SUBDIR; do
(
@@ -6017,17 +6020,19 @@
dnl Create a GNUmakefile and Makefile from Makefile.in.
dnl Create xemacs.def from xemacs.def.in in the same fashion,
dnl if it exists (i.e. in the src/ directory). Ditto for the
-dnl debugger init files (in the src/ directory).
+dnl debugger init files (in the src/ and etc/ directories).
+ if test -r "Makefile.in"; then
MAKE_JUNK_C(Makefile.in)
CPP_MAKEFILE(,Makefile)
CPP_MAKEFILE(-DUSE_GNU_MAKE,GNUmakefile)
+ fi
if test -r ".gdbinit.in"; then
MAKE_JUNK_C(.gdbinit.in)
CPP_MAKEFILE(,.gdbinit)
fi
- if test -r ".dbxrc.in"; then
- MAKE_JUNK_C(.dbxrc.in)
- CPP_MAKEFILE(,.dbxrc)
+ if test -r "dbxrc.in"; then
+ MAKE_JUNK_C(dbxrc.in)
+ CPP_MAKEFILE(,dbxrc)
fi
if test -r "xemacs.def.in"; then
dnl #### We should be using MAKE_JUNK_C instead of the next two lines.
diff --git a/etc/ChangeLog b/etc/ChangeLog
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
+
+ * dbxrc.in: There is no lrecord_type_lcrecord_list when using the
+ new garbage collector; print $lrecord_type when Lisp Object type
+ is unknown to pobj.
+
2011-06-28 Aidan Kehoe <kehoea(a)parhasard.net>
* HELLO:
diff --git a/etc/dbxrc.in b/etc/dbxrc.in
--- a/etc/dbxrc.in
+++ b/etc/dbxrc.in
@@ -313,8 +313,10 @@
pstruct glyphs.c Lisp_Image_Instance
elif test $lrecord_type = lrecord_type_keymap; then
pstruct keymap.c Lisp_Keymap
+#ifndef NEW_GC
elif test $lrecord_type = lrecord_type_lcrecord_list; then
pstruct alloc.c lcrecord_list
+#endif
elif test $lrecord_type = lrecord_type_ldap; then
pstruct ldap.c Lisp_LDAP
elif test $lrecord_type = lrecord_type_lstream; then
@@ -361,6 +363,7 @@
echo "Lisp Object is a null pointer!!"
else
echo "Unknown Lisp Object type"
+ print $lrecord_type
print $1
fi
}
diff --git a/src/.gdbinit.in.in b/src/.gdbinit.in.in
--- a/src/.gdbinit.in.in
+++ b/src/.gdbinit.in.in
@@ -391,9 +391,11 @@
if $lrecord_type == lrecord_type_keymap
pptype Lisp_Keymap
else
+#ifndef NEW_GC
if $lrecord_type == lrecord_type_lcrecord_list
pstructtype lcrecord_list
else
+#endif
if $lrecord_type == lrecord_type_ldap
pptype Lisp_LDAP
else
@@ -458,6 +460,7 @@
pstructtype fc_config
else
echo Unknown Lisp Object type\n
+ print $lrecord_type
print $arg0
## Barf, gag, retch
end
@@ -466,7 +469,9 @@
end
end
end
+#ifndef NEW_GC
end
+#endif
end
end
end
diff --git a/src/ChangeLog b/src/ChangeLog
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
+
+ * .gdbinit.in.in: There is no lrecord_type_lcrecord_list when
+ using the new garbage collector; print $lrecord_type when Lisp
+ Object type is unknown to pobj.
+
2011-11-13 Aidan Kehoe <kehoea(a)parhasard.net>
* doc.c (Fbuilt_in_symbol_file):
(Diff of configure ommitted for brevity.)
--
Marcus
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
commit/XEmacs: crestani: Fix .gdbinit and .dbxrc when using the new garbage collector.
12 years, 11 months
Bitbucket
1 new commit in XEmacs:
https://bitbucket.org/xemacs/xemacs/changeset/bccc91a65536/
changeset: bccc91a65536
user: crestani
date: 2011-11-21 10:28:31
summary: Fix .gdbinit and .dbxrc when using the new garbage collector.
ChangeLog:
2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
* configure.ac: Fix creation of etc/dbxrc and src/.dbxrc; only try
to create Makefile when Makefile.in is there.
* configure: Regenerate.
src/ChangeLog:
2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
* .gdbinit.in.in: There is no lrecord_type_lcrecord_list when
using the new garbage collector; print $lrecord_type when Lisp
Object type is unknown to pobj.
etc/ChangeLog:
2011-11-21 Marcus Crestani <crestani(a)informatik.uni-tuebingen.de>
* dbxrc.in: There is no lrecord_type_lcrecord_list when using the
new garbage collector; print $lrecord_type when Lisp Object type
is unknown to pobj.
affected #: 7 files
Repository URL: https://bitbucket.org/xemacs/xemacs/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches