Juanma Barranquero
220d91b834
Merge changes from emacs-23 branch.
2010-10-14 16:32:27 +02:00
Glenn Morris
b9f56298c1
More make-dist simplification.
...
* make-dist: Remove --compress. Check for the appropriate
gzip-like executable, and if not found, don't compress.
Check version number in README, don't change it.
Use find for nt/inc/*.h.
2010-10-12 20:08:45 -07:00
Dan Nicolaescu
fe239e8e52
Remove trailing / from directory names.
...
* configure (ns_appdir, OLDXMENU, TOOLTIP_SUPPORT): Remove
trailing / from directory names.
2010-10-12 14:03:09 -07:00
Glenn Morris
baf81c5524
* make-dist: Update and simplify.
...
Eg: there are no symlinks in the tree for a long time
Check for version in emacsver.texi.
Clean up *~ etc files using a find at the end.
Add etc/srecode.
2010-10-11 21:32:20 -07:00
Glenn Morris
1c8ca3e6d6
* README: Updates.
2010-10-11 20:47:36 -07:00
Glenn Morris
6c3ab469a4
* BUGS, INSTALL.BZR: Updates.
2010-10-11 20:45:41 -07:00
Juanma Barranquero
4c14013dbe
Merge changes from emacs-23 branch.
2010-10-12 01:57:49 +02:00
Dan Nicolaescu
a4daeecfef
Pass CFLAGS to the linker.
...
* configure.in (PROFILING_LDFLAGS): Do not define, remove all uses.
* lib-src/Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
* msdos/sed1v2.inp (PROFILING_LDFLAGS):
* msdos/sed3v2.inp (PROFILING_LDFLAGS): Remove, not defined anymore.
* src/Makefile.in (temacs): Use $(ALL_CFLAGS) on the link line.
(PROFILING_LDFLAGS): Remove, not needed anymore.
2010-10-10 08:35:04 -07:00
Glenn Morris
485bbe962a
* make-dist: No more doc/emacs/*.texi.in.
2010-10-09 11:46:57 -07:00
Glenn Morris
f4f358f172
* configure.in (AC_OUTPUT): Remove doc/emacs/emacsver.texi.
...
* configure: Regenerate.
* .bzrignore: Remove doc/emacs/emacsver.texi.
* doc/emacs/Makefile.in (distclean): Do not delete emacsver.texi.
* doc/emacs/emacsver.texi: New file, replacing emacsver.texi.in.
* admin/admin.el (set-version): Add doc/emacs/emacsver.texi.
2010-10-09 10:59:55 -07:00
Glenn Morris
870b199e02
* configure.in: Combine some conditionals.
2010-10-08 19:16:38 -07:00
Glenn Morris
f7a31f1108
Set the version number in the texinfo manuals using configure.
...
* doc/misc/Makefile.in (emacsdir): New variable.
($(infodir)/efaq): Pass -I $(emacsdir) to makeinfo.
* doc/misc/faq.texi (VER): Replace with EMACSVER from emacsver.texi.
* doc/lispref/Makefile.in (emacsdir): New variable.
(MAKEINFO): Add -I $emacsdir.
(dist): Copy emacsver.texi.
* doc/lispref/book-spine.texinfo, doc/lispref/elisp.texi:
* doc/lispref/vol2.texi, doc/lispref/vol1.texi:
Set EMACSVER by including emacsver.texi.
* doc/emacs/emacsver.texi.in: New file.
* doc/emacs/emacs.texi: Set EMACSVER by including emacsver.texi.
* doc/emacs/Makefile.in (distclean): Delete emacsver.texi.
(dist): Copy emacsver.texi.
* admin/admin.el (set-version): No need to act on doc/ files any more.
* configure.in (AC_OUTPUT): Add doc/emacs/emacsver.texi.
* make-dist: Include doc/emacs/*.texi.in.
2010-10-08 18:41:21 -07:00
Glenn Morris
3fb78d1f33
Remove lib-src/b2m.c and b2m.pl.
...
Emacs does not use Babyl files since 23.1, and you can use M-x unrmail.
* msdos/mainmake.v2 (install): Remove b2m.
* lisp/emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
* lib-src/b2m.c, lib-src/b2m.pl: Remove files.
* lib-src/Makefile.in (INSTALLABLES): Remove b2m.
* lib-src/makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
* doc/emacs/ack.texi (Acknowledgments): No more b2m.c.
* admin/quick-install-emacs (PUBLIC_LIBSRC_BINARIES): Remove b2m.
* INSTALL, make-dist: Remove references to b2m.
* Makefile.in (MAN_PAGES): Remove b2m.1.
2010-10-08 18:15:15 -07:00
Eli Zaretskii
47a814f530
Mention the bug number for the last change in make-dist.
2010-10-08 11:52:34 +02:00
Eli Zaretskii
66cdbd3a0e
make-dist: Don't distribute src/buildobj.h.
2010-10-08 11:36:38 +02:00
Glenn Morris
888328d21b
* .dir-locals.el: The Emacs convention is sentence-end-double-space.
...
Remove arch-tag comment.
2010-10-04 19:40:34 -07:00
Dan Nicolaescu
4777478a50
* configure.in (NO_INLINE, noinline): Move here from src/xterm.c.
...
* src/xterm.c (NO_INLINE, noinline): Move definitions to ../configure.in.
2010-10-03 08:39:21 -07:00
Dan Nicolaescu
4cacd822d1
Do not include stdlib.h and string.h, config.h does it.
...
* src/xfont.c:
* src/w32term.c:
* src/w32reg.c:
* src/w32inevt.c:
* src/w32heap.c:
* src/w32console.c:
* src/w16select.c:
* src/unexsol.c:
* src/term.c:
* src/sound.c:
* src/scroll.c (m):
* src/gtkutil.c:
* src/font.c:
* src/filelock.c:
* src/fileio.c:
* src/dosfns.c:
* src/dbusbind.c:
* src/bidi.c:
* src/callproc.c:
* src/process.c:
* src/msdos.c:
* src/charset.c: Do not include stdlib.h and string.h, config.h does it.
* configure.in: Include stdlib.h and string.h unconditionally.
2010-10-01 06:56:33 -07:00
Romain Francoise
6b0f7311f1
configure.in: Don't enable ImageMagick unless HAVE_X11.
2010-09-29 20:52:34 +02:00
Glenn Morris
0dc7dbea09
* configure.in (HAVE_GNUTLS): Add a description to make autoheader happy.
2010-09-27 19:22:37 -07:00
Lars Magne Ingebrigtsen
8ea189f7bf
Compile with imagemagick support by default.
2010-09-27 22:53:35 +02:00
Lars Magne Ingebrigtsen
036dc38d03
Don't break the build if we don't have the gnutls libraries.
2010-09-26 17:18:47 +02:00
Ted Zlatanov
8af55556e6
Set up GnuTLS support.
...
* configure.in: Set up GnuTLS.
* lisp/net/gnutls.el: GnuTLS glue code to set up a connection.
* src/Makefile.in (LIBGNUTLS_LIBS, LIBGNUTLS_CFLAGS, ALL_CFLAGS)
(obj, LIBES): Set up GnuTLS support.
* src/config.in: Set up GnuTLS support.
* src/emacs.c: Set up GnuTLS support and call syms_of_gnutls.
* src/gnutls.c: The source code for GnuTLS support in Emacs.
* src/gnutls.h: The GnuTLS glue for Emacs, macros and enums.
* src/process.c (make_process, Fstart_process)
(read_process_output, send_process): Set up GnuTLS support for
process input/output file descriptors.
* src/process.h: Set up GnuTLS support.
2010-09-26 01:06:28 -05:00
Chong Yidong
4b9832a6f2
Rename libxml2 functions, and make parse tree format consistent with xml.el.
...
* xml.c: Switch to GNU indentation.
(make_dom): Change parse tree format to match xml.el.
(Fxml_parse_html_string_internal): Rename from html-parse-string.
(Fxml_parse_string_internal): Rename from xml-parse-string.
* configure.in: Announce whether libxml2 is linked to.
2010-09-21 23:10:16 -04:00
Dan Nicolaescu
1e14999c26
Check in missing ChangeLog entry.
2010-09-21 09:36:01 +03:00
Eli Zaretskii
1ff11b21a8
Support building with libxml2, if it is installed.
...
config.bat: Detect that libxml2 is installed and if so, build with it.
2010-09-18 15:57:06 +02:00
Lars Magne Ingebrigtsen
c7a1fb9be8
* configure.in (HAVE_LIBXML2): Check that the libxml2 we found can
...
be used. This fixes a conf problem on Mac OS X.
2010-09-13 16:58:48 +02:00
Lars Magne Ingebrigtsen
381408e219
Add support for the libxml2 library.
...
This adds the html-parse-string and xml-parse-string functions in the
new file src/xml.c, as well as autoconf detection of the library.
2010-09-10 18:44:35 +02:00
Glenn Morris
c46e7097b0
* make-dist: No more TODO files under lisp/.
2010-09-08 19:37:59 -07:00
Eli Zaretskii
dd0c613c9f
Update config.bat due to lisp/gnus/.dir-locals.el.
...
config.bat: Produce lisp/gnus/_dir-locals.el from lisp/gnus/.dir-locals.el.
2010-09-04 10:30:14 +03:00
Andreas Schwab
8a0b50ed46
Fix configure checks
...
* configure.in: Fix check for librsvg, imagemagick and
MagickExportImagePixels.
2010-08-23 14:54:09 +02:00
Glenn Morris
0c9b8993e0
ChangeLog fixes.
2010-08-20 19:21:51 -07:00
Joakim Verona
ccd8061864
minor imagemagick tweaks, one configure bugfix, and some ChangeLogs
2010-08-20 21:55:21 +02:00
Joakim Verona
16a911401b
documentation changes
2010-08-18 12:35:23 +02:00
Dan Nicolaescu
4240f32b93
* configure.in (AC_PREREQ): Require autoconf 2.65.
2010-08-10 07:22:29 -07:00
Dan Nicolaescu
1cbf3dd910
* configure.in (AC_PREREQ): Require autoconf 2.66 to stop version churn.
2010-08-09 13:01:51 -07:00
Andreas Schwab
671d409f8b
Use autoconf determined WORDS_BIGENDIAN instead of hardcoded definition.
...
* m/alpha.h: Don't define/undef WORDS_BIG_ENDIAN.
* m/amdx86-64.h: Likewise.
* m/arm.h: Likewise.
* m/hp800.h: Likewise.
* m/ia64.h: Likewise.
* m/ibmrs6000.h: Likewise.
* m/ibms390.h: Likewise.
* m/intel386.h: Likewise.
* m/iris4d.h: Likewise.
* m/m68k.h: Likewise.
* m/macppc.h: Likewise.
* m/mips.h: Likewise.
* m/sh3.h: Likewise.
* m/sparc.h: Likewise.
* m/template.h: Likewise.
* m/vax.h: Likewise.
* m/xtensa.h: Likewise.
* fringe.c (init_fringe_bitmap): Test WORDS_BIGENDIAN instead of
WORDS_BIG_ENDIAN.
* lisp.h: Likewise.
* md5.c: Likewise.
* sound.c (le2hl, le2hs, be2hl, be2hs): Likewise.
* CPP-DEFINES (WORDS_BIG_ENDIAN): Remove.
* configure.in: Add AC_C_BIGENDIAN.
2010-08-09 21:25:41 +02:00
Dan Nicolaescu
b84fc05a59
* configure.in (ORDINARY_LINK): Use on hpux* too.
2010-08-09 10:08:56 -07:00
Jan D
7908fb6097
More undeclared function fixes and add -Wimplicit-function-declaration.
...
If a function returns Lisp_Object it must be declared, otherwise on a 64-bit
system, it will return just 32 bits (int).
* configure.in: Use -Wimplicit-function-declaration if compiler supports it.
* src/keyboard.h (poll_for_input_1): Unconditionally declare.
* src/xterm.h (x_get_focus_frame): Declare.
2010-08-06 13:28:59 +02:00
Jan D
3d608a8650
Fix missing prototypes for HAVE_NS (caused crash) and vrious warnings.
...
* configure.in: Check for util.h.
* src/bidi.c (bidi_dump_cached_states): Fix fprintf warning.
* src/emacs.c: Include src/nsterm.h if HAVE_NS.
* src/image.c (xpm_scan, xpm_make_color_table_v)
(xpm_put_color_table_v, xpm_get_color_table_v)
(xpm_make_color_table_h, xpm_put_color_table_h)
(xpm_get_color_table_h, xpm_str_to_color_key, xpm_load_image)
(xpm_load): Convert to ANSI C prototypes.
* src/lisp.h (fmod_float): Declare.
* src/menu.h (x_set_menu_bar_line): Declare.
(free_menubar_widget_value_tree et.al): Add HAVE_NS for these functions.
* src/window.c: Include menu.h.
* src/nsfns.m (have_menus_p, ns_display_info_for_name)
(x_set_cursor_type, ns_appkit_version_str)
(ns_appkit_version_int, ns_do_applescript)
(x_set_scroll_bar_default_width, x_sync, compute_tip_xy)
(syms_of_nsfns): Convert to ANSI C prototypes.
* src/nsfont.m (ns_fallback_entity, syms_of_nsfont): Convert to ANSI C
prototypes.
* src/nsimage.m (ns_load_image): Move NSTRACE after declarations.
* src/nsmenu.m (popup_activated, name_is_separator)
(syms_of_nsmenu): Convert to ANSI C prototypes.
(runMenuAt): Prototypes and move declarations before code.
* src/nsterm.h : Include sysselect.h.
(x_sync, x_get_focus_frame, x_set_mouse_position)
(x_set_mouse_pixel_position, x_make_frame_visible)
(x_make_frame_invisible, x_iconify_frame, x_char_width, x_char_height)
(x_pixel_width, x_pixel_height, x_set_frame_alpha, x_set_tool_bar_lines)
(x_activate_menubar, free_frame_menubar, ns_init_paths, ns_select)
(syms_of_nsterm, syms_of_nsfns, syms_of_nsmenu, syms_of_nsselect):
Declare
* src/process.c: Check HAVE_UTIL_H. Include src/nsterm.h if HAVE_NS.
* src/nsterm.m (ns_init_paths, ns_alloc_autorelease_pool)
(ns_ring_bell, ns_defined_color, hide_hourglass)
(x_display_pixel_height, x_display_pixel_width, syms_of_nsterm):
Convert to ANSI C prototypes.
(x_set_window_size, ns_draw_fringe_bitmap, judge): Move declarations
before code.
* src/sysdep.c: Check HAVE_TERM_H
* src/term.c: Check HAVE_SYS_IOCTL_H.
* src/unexmacosx.c (print_region_list, print_regions)
(build_region_list, find_emacs_zone_regions)
(unexec_regions_merge, read_load_commands, dump_it)
(unexec_init_emacs_zone): Convert to ANSI C prototypes.
* src/xfaces.c (x_create_gc, x_free_gc): Convert to ANSI C prototypes.
2010-08-06 12:12:41 +02:00
Eli Zaretskii
29cf3e2076
Rename src/unexec.c => src/unexcoff.c.
...
src/unexcoff.c: Renamed from unexec.c.
src/deps.mk (unexcoff.o): Rename unexec.[co] => unexcoff.[co].
configure.in (UNEXEC_OBJ): Rename unexec.o => unexcoff.o.
admin/MAINTAINERS: Rename src/unexec.c => src/unexcoff.c.
etc/AUTHORS: Rename unexec.o => unexcoff.o.
etc/PROBLEMS: Rename unexec.o => unex*.o.
lisp/emacs-lisp/find-gc.el (find-gc-source-files): Rename
unexec.c => unexcoff.c.
lisp/emacs-lisp/authors.el (authors-fixed-entries): Rename
unexec.c => unexcoff.c.
msdos/sed1v2.inp (UNEXEC_OBJ): Edit to unexcoff.o, due to renaming of
unexec.c => unexcoff.c.
2010-08-05 20:11:32 +03:00
Andreas Schwab
9164c0e4b1
* configure.in: Restore accidentally removed use of
...
GCC_TEST_OPTIONS/NON_GCC_TEST_OPTIONS.
2010-08-04 23:48:36 +02:00
Juanma Barranquero
59df9fdd65
Fix typos in ChangeLogs.
2010-07-29 22:16:18 +02:00
Jan D
1c97e85793
Replace tests for SYSV_SYSTEM_DIR with HAVE_DIRENT_H, set via autoconf
...
* configure.in: Check for dirent.h
* dired.c, sysdep.c: test HAVE_DIRENT_H instead of SYSV_SYSTEM_DIR
* s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/gnu-linux.h,
s/msdos.h, s/usg5-4.h: don't define SYSV_SYSTEM_DIR
* sed2v2.inp (HAVE_DIRENT_H): Edit to 1
2010-07-29 22:01:08 +02:00
Dan Nicolaescu
3a876c9d0c
* configure.in: Remove reference to usg5-4, unused.
2010-07-28 20:41:28 -07:00
Andreas Schwab
dcc19aacb7
Use __executable_start to find start of text segment for profiling
...
* emacs.c (main) [PROFILING]: Use __executable_start if defined to
find start of text segment.
* dispnew.c (safe_bcopy): Don't define if HAVE___EXECUTABLE_START
is defined.
* configure.in: Check for __executable_start.
2010-07-25 21:09:54 +02:00
Ken Brown
0c1085c507
* configure.in (LINKER, LIB_GCC): Remove cygwin special cases (Bug#6715)
2010-07-24 14:44:54 -04:00
Juanma Barranquero
2294431987
* .bzrignore, .gitignore: Ignore README.W32 on the root directory.
2010-07-24 15:43:48 +02:00
Juanma Barranquero
c4cc8b9a23
Fix typos in ChangeLogs.
2010-07-24 13:53:19 +02:00
Ken Brown
921d40b453
* configure.in (START_FILES) [cygwin]: Set to pre-crt0.o (Bug#6715).
2010-07-23 21:23:07 -04:00