1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
Commit graph

28653 commits

Author SHA1 Message Date
Dan Nicolaescu
55da5ee338 * m/ibmrs6000.h (ORDINARY_LINK): Move definition ...
* s/aix4-2.h (ORDINARY_LINK): ... here.
2010-03-21 12:32:38 -07:00
Andreas Schwab
82c3d67afb Use absolute directory names substituted by configure
* lisp/Makefile.in (top_srcdir): Define.
(abs_top_builddir): Define.
(srcdir): Don't append `/..'.
(EMACS): Use ${abs_top_builddir}.
(all, compile, compile-always, compile-last): Don't set emacswd.
(update-subdirs, update-authors): Use $(top_srcdir) instead of
$(srcdir).
(lisp): Use $(srcdir) instead of @srcdir@.
* src/Makefile.in (abs_builddir): Define.
(bootstrap_exe): Use it.
(VPATH): Use $(srcdir) instead of @srcdir@.
2010-03-21 12:57:49 +01:00
Andreas Schwab
c0282183ba Expand ${bootstrap_exe} before chdir 2010-03-21 12:27:46 +01:00
Stefan Monnier
3613edce52 Use more relative file and directory names in `lisp' make rules.
* lisp/Makefile.in (EMACS): Arrange for it to work when we chdir.
(setwins, setwins_almost, setwins_for_subdirs):
Don't `cd'; output relative names.
(all, compile, compile-always, compile-last): Set emacswd.
(custom-deps, finder-data, autoloads, update-subdirs, compile-last):
Just cd to the lisp source dir so we can use relative file names.
* src/Makefile.in (bootstrap_exe): Use an absolute name.
2010-03-20 17:46:31 -04:00
Dan Nicolaescu
22e8757456 Remove support for old GNU/Linux using libc version 5.
* m/alpha.h (LINUX_SBRK_BUG): Remove definition.
* emacs.c (main): Remove code depending on LINUX_SBRK_BUG.
2010-03-20 01:11:59 -07:00
Dan Nicolaescu
05a670e6d3 Consolidate redundant definitions in s/bsd-common.h.
* s/bsd-common.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
(LDAV_SYMBOL, KERNEL_FILE): Define (or undefine) here instead of
doing it in all files that include this one.
* s/gnu.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
(LDAV_SYMBOL, KERNEL_FILE): Remove.
* s/freebsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
(LDAV_SYMBOL, KERNEL_FILE): Remove.
* s/netbsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO)
(LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS)
(LDAV_SYMBOL, KERNEL_FILE): Remove.
2010-03-20 00:57:11 -07:00
Dan Nicolaescu
2968f56146 Consolidate redundant definitions.
* s/usg5-4.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not define,
it's undefined in all files that include this one.
(POSIX_SIGNALS): Define here instead of doing it in all files that
include this one.
* s/irix6-5.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
(POSIX_SIGNALS): Do not define.
* s/sol2-6.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
(POSIX_SIGNALS): Do not define.
* s/unixware.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef.
(POSIX_SIGNALS): Do not define.
2010-03-20 00:09:31 -07:00
Dan Nicolaescu
15d25dc050 Remove support for old UNIX System V systems.
* s/unixware.h: Add the contents of s/usg-5-4-2.h.
* s/usg-5-4-2.h: Remove.

* configure.in: Remove support for old UNIX System V systems and
for Unixware on non-x86 machines.
2010-03-19 23:48:13 -07:00
Dan Nicolaescu
07e339e488 Remove support for Solaris on PPC and for old versions.
* s/sol2-6.h: Add the contents of s/sol-2.3.h, s/sol-2.4.h, s/sol-2.5.h.
(LD_SWITCH_SYSTEM, USE_MMAP_FOR_BUFFERS): Remove #defines/#undef
that cancel each other.
* s/sol2-3.h:
* s/sol2-4.h:
* s/sol2-5.h: Remove.
* m/ibmrs6000.h: Remove code for USG5_4, this file is only used on AIX.
(NO_REMAP): Remove, unused.
(UNEXEC): Move definition ...
* s/aix4-2.h (UNEXEC): ... here.

* configure.in:	Remove support for Solaris on PPC and for old versions.
2010-03-19 22:52:55 -07:00
Dan Nicolaescu
7f110ddcb0 * s/openbsd.h: Remove support for non-ELF and for systems that do
not support shared libraries.
* s/netbsd.h:
* s/freebsd.h: Likewise.
2010-03-19 22:18:05 -07:00
Dan Nicolaescu
605f35cdaa Remove non-working support for lynxos 3.0.
* s/lynxos.h: Remove file.

* unexec.c (unexec, adjust_lnnoptrs): Do not depend on
COFF_BSD_SYMBOLS, nothing defines it anymore.

* os.texi (System Environment): Do not mention lynxos.

* configure.in: Remove non-working lynxos port.
2010-03-19 18:03:39 -07:00
Dan Nicolaescu
aed71cf417 Remove obsolete uses of HAVE_SHM.
* emacs.c (standard_args):
(Fdump_emacs):
(syms_of_emacs): Remove code depending on HAVE_SHM.

* alloc.c: Remove HAVE_SHM dependent definition.

* Makefile.in (RUN_TEMACS): Do not depend on HAVE_SHM.
2010-03-19 17:46:01 -07:00
Glenn Morris
f70b938aca Regenerate src/config.in. 2010-03-18 19:44:37 -07:00
Glenn Morris
1728474534 Remove obsolete code in emacs.c that chooses a bug reporting address.
* emacs.c (USAGE4): Hard-code bug address.
(REPORT_EMACS_BUG_ADDRESS, REPORT_EMACS_BUG_PRETEST_ADDRESS): Remove.
(bug_reporting_address): Remove.
(main): Don't call bug_reporting_address.
2010-03-17 23:27:55 -07:00
Glenn Morris
aded53ff76 Replace some cpp with autoconf.
* configure.in (--with-mmdf, --with-mail-unlink):
New options, off by default.
(--with-mailhost): New option to set default POP host.
(LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF, LIBGPM, LIBS_MAIL)
(LIBHESIOD, LIBRESOLV, COM_ERRLIB, CRYPTOLIB, KRB5LIB, DESLIB, KRB4LIB):
New variables, substituted in Makefiles.
(try_libungif, ac_gif_lib_name): Replace with HAVE_GIF=maybe, LIBGIF.
(LIBGIF): Use AC_SUBST rather than AC_DEFINE.
(HAVE_LIBMAIL, HAVE_LIBLOCKFILE, HAVE_LIBCOM_ERR, HAVE_LIBCRYPTO)
(HAVE_LIBK5CRYPTO, HAVE_LIBKRB5, HAVE_LIBDES425, HAVE_LIBDES)
(HAVE_LIBKRB4, HAVE_LIBKRB): New AC_DEFINEs.

* lib-src/Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
(HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
(BASE_CFLAGS): Remove (identical to CPP_CFLAGS).

* src/Makefile.in (XFT_LIBS, LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF)
(LIBGPM, LIBRESOLV): Set using autoconf rather than cpp.
2010-03-17 22:49:31 -07:00
Chong Yidong
303500aa06 Put non-GTK X scroll-bars on left.
* xfns.c (Fx_create_frame):
* frame.c (Vdefault_frame_scroll_bars): Put non-GTK X scroll-bars on left.
2010-03-15 13:16:46 -04:00
Chong Yidong
cef3058fee Fix bug in `format' (Bug#5710).
* editfns.c (Fformat): Account for string precision when computing
field width (Bug#5710).
2010-03-13 14:54:29 -05:00
Eli Zaretskii
073589f4b1 Commit the change in src/Makefile.in announced in 2010-03-12T16:34:27Z!eliz@gnu.org. 2010-03-13 10:29:13 -05:00
Eli Zaretskii
a96f6398e1 Spell out in ChangeLog the purpose of 2010-03-12T16:34:27Z!eliz@gnu.org. 2010-03-13 03:52:05 -05:00
Chong Yidong
4fa4201821 * xfns.c (Fx_create_frame): Set default to Qright. 2010-03-12 18:13:02 -05:00
Chong Yidong
a647d59d07 Put scroll-bar on right by default on UNIX.
* frame.c (Vdefault_frame_scroll_bars): Set default to Qright for all window systems.
2010-03-12 12:32:30 -05:00
Eli Zaretskii
6da23aaa4f Don't use termcap.c on Posix platforms, only on MS-DOS.
configure.in <AC_CHECK_HEADERS>: Remove termcap.h.
 configure: Regenerated.
 src/Makefilie.in (termcapobj): Move termcap.o from here...
 (MSDOS_OBJ): ...to here.
 (termcapobj) [!LIBS_TERMCAP]: Remove specialized value, as it is
 now identical to when LIBS_TERMCAP is defined.
 src/term.c: Remove (ifdef'ed away) inclusion of termcap.h.
 src/cm.c: Remove (ifdef'ed away) inclusion of termcap.h.
 src/config.in: Regenerated.
2010-03-12 11:34:27 -05:00
Chong Yidong
288f9fc069 Bump version to 24.0.50. 2010-03-10 10:17:13 -05:00
Stefan Monnier
d48cd3f48f Cleanup setup of gl_state in various parts of the code.
* syntax.h (SETUP_BUFFER_SYNTAX_TABLE): New macro.
(SETUP_SYNTAX_TABLE, SETUP_SYNTAX_TABLE_FOR_OBJECT):
* syntax.c (find_defun_start, Fchar_syntax, Fmatching_paren, skip_chars):
* regex.c (regex_compile): Use it.
(re_compile_pattern): Don't set gl_state.current_syntax_table since
it's now set in regex_compile when/if we need it.
2010-03-10 09:45:21 -05:00
Stefan Monnier
c0335e02ec Make it possible to C-g in a tight bytecode loop again (bug#5680).
* lisp.h (ELSE_PENDING_SIGNALS): New macro.
(QUIT): Use it to consolidate code and remove redundancy.
* bytecode.c (BYTE_CODE_QUIT): Use it as well.
2010-03-05 18:08:18 -05:00
Stefan Monnier
254c06a8d8 * regex.c (regex_compile): Setup gl_state as well. 2010-03-05 14:54:39 -05:00
Stefan Monnier
618db43098 (skip_chars): Setup gl_state (bug#3823).
(in_classes): Use CONSP before XCAR/XCDR.
2010-03-05 13:42:38 -05:00
Chong Yidong
233f0c9f87 Fix keyboard macro key lookup (Bug#5481).
* src/keymap.c (Fwhere_is_internal): Use Fequal to compare
definitions, so that keyboard macros are correctly handled
(Bug#5481).

* lisp/macros.el (insert-kbd-macro): Look up keyboard macro
using the definition, not the name (Bug#5481).
2010-03-03 12:31:50 -05:00
Eli Zaretskii
685ebdc8b1 (emacs_mule_char): Fix a typo in commentary. 2010-03-02 23:43:50 +02:00
Eli Zaretskii
75f80e63ca Fix bug in decoding emacs-mule encoding.
coding.c (decode_coding_emacs_mule): Fixup pointers to buffer
 text that could be relocated inside the call to emacs_mule_char.
 (emacs_mule_char): Use CODING_DECODE_CHAR instead of DECODE_CHAR.
 (CODING_DECODE_CHAR): Add a comment describing its purpose.
2010-03-02 22:35:44 +02:00
Kenichi Handa
fc9a17bcf7 Fix handling of the multibyte form of raw-bytes in unibyte->multibyte conversion. 2010-03-02 13:44:28 +09:00
Kenichi Handa
dcfb9bc4a1 buffer.c (Fset_buffer_multibyte): Fix handling of the multibyte form of raw-bytes. 2010-03-02 10:30:52 +09:00
Chong Yidong
412c01b6f0 Fix use of unitialized memory.
* charset.c (load_charset_map_from_file)
(load_charset_map_from_vector): Zero out allocated
charset_map_entries before using them.
2010-02-28 09:19:31 -05:00
Andreas Schwab
df7e1ea087 * w32uniscribe.c (uniscribe_check_otf): Fix length check. 2010-02-27 15:28:52 +01:00
Chong Yidong
4ed28cf4e5 Addendum to last patch: add "Medium" GTK font name keyword. 2010-02-26 21:09:03 -05:00
Chong Yidong
fe69a72236 Recognize more keywords in GTK font names (Bug#5646).
* font.c (font_parse_fcname): Recognize "Book", "Condensed", and
"Semi-Condensed" keywords in GTK names (Bug#5646).
2010-02-26 21:06:13 -05:00
Kenichi Handa
f88cc4d6dd Fix Myanmar OTF support 2010-02-26 21:40:46 +09:00
Kenichi Handa
06aac9016f from trunk 2010-02-26 10:22:23 +09:00
Kenichi Handa
7379cfce15 xdisp.c (reseat_to_string): Fix previous change. 2010-02-26 10:17:28 +09:00
Chong Yidong
cf2fdcfbd3 * nsfont.m (nsfont_draw): ns_antialias_text should be a Lisp_Object (Bug#4736). 2010-02-25 19:48:53 -05:00
Kenichi Handa
cc6c7c75bb xdisp.c (reseat_to_string): Fix previous change (bug#5609). 2010-02-25 11:29:35 +09:00
Jan Djärv
32e737d7ca Move declarations before statements.
* xterm.c (XTflash): Move declarations before statements.

* gtkutil.c (xg_get_gdk_display): Remove (unused).
(xg_get_pixbuf_from_pix_and_mask, xg_create_frame_widgets)
(xg_toggle_notify_cb, xg_set_toolkit_scroll_bar_thumb)
(xg_create_tool_bar): Remove unused variables.
(x_wm_set_size_hint): Move declarations before statements.
(xg_create_frame_widgets): Remove variable grav,
2010-02-24 19:23:48 +01:00
Chong Yidong
676cae9f08 * m/arm.h: Define the LIB_GCC flag to be -lgcc_s (Bug#5518). 2010-02-21 08:44:07 -05:00
Eli Zaretskii
e3670e004d term.c, dispextern.h: Fix stale comments. 2010-02-19 15:57:53 +02:00
Stefan Monnier
886cc2b86a (fatal): Add a final \n if needed (bug#5596). 2010-02-18 12:02:24 -05:00
Glenn Morris
30f50381ed * fileio.c: Comment fix. 2010-02-18 01:02:04 -08:00
Chong Yidong
ddb2d8e235 * nsterm.m (ns_ring_bell): Revert last change (Bug#5569). 2010-02-18 02:21:15 -05:00
Glenn Morris
2a4f8d3d57 * callint.c (Finteractive): Doc fix. 2010-02-17 22:35:21 -08:00
Kenichi Handa
ebaf11b608 Fix handling of CODING_RESULT_INSUFFICIENT_DST. 2010-02-18 11:27:25 +09:00
Kenichi Handa
d0396581d5 Fix the ccl decoder for the case that the output buffer is fullfilled. 2010-02-17 15:47:32 +09:00