1. 28 May, 2011 1 commit
    • Paul Eggert's avatar
      [ChangeLog] · 55d4c1b2
      Paul Eggert authored
      Use 'inline', not 'INLINE'.
      * configure.in, autogen/config.in (INLINE): Remove.
      [lib-src/ChangeLog]
      Use 'inline', not 'INLINE'.
      * etags.c (hash): Now inline unconditionally.
      * make-docfile.c (put_char): inline, not INLINE.
      [nt/ChangeLog]
      Use 'inline', not 'INLINE'.
      * config.nt (INLINE): Remove.
      [src/ChangeLog]
      Use 'inline', not 'INLINE'.
      * alloc.c, fontset.c (INLINE): Remove.
      * alloc.c, bidi.c, charset.c, coding.c, dispnew.c, fns.c, image.c:
      * intervals.c, keyboard.c, process.c, syntax.c, textprop.c, w32term.c:
      * xdisp.c, xfaces.c, xterm.c: Replace all uses of INLINE with inline.
      * gmalloc.c (register_heapinfo): Use inline unconditionally.
      * lisp.h (LISP_MAKE_RVALUE): Use inline, not __inline__.
      55d4c1b2
  2. 26 May, 2011 1 commit
  3. 24 May, 2011 7 commits
  4. 20 May, 2011 1 commit
    • Glenn Morris's avatar
      Remove $shortlisp from src/Makefile.in. · b9704ad9
      Glenn Morris authored
      * configure.in (lisp_frag): New output file.
      
      * src/lisp.mk: New file, split from Makefile.in, and inheriting its
        copyright years.
      * src/Makefile.in (lisp): Move to separate file, inserted by @lisp_frag@.
      (shortlisp): Remove.
      ($(etc)/DOC): Edit lisp.mk rather than using $shortlisp.
      
      * lisp/loadup.el, doc/misc/Makefile.in: Comment changes.
      b9704ad9
  5. 19 May, 2011 1 commit
    • Glenn Morris's avatar
      Remove the SOME_MACHINE_LISP distinction in src/Makefile.in. · 4a720484
      Glenn Morris authored
      See discussion in http://debbugs.gnu.org/8302
      
      * configure.in (NS_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT)
      (WINDOW_SUPPORT): Remove output variables that are no longer used.
      
      * lib-src/makefile.w32-in (echolisp): Remove rule that is no longer needed.
      (clean): No more echolisp.tmp.
      
      * .bzrignore: Remove lib-src/echolisp.tmp.
      
      * lisp/emacs-lisp/autoload.el (batch-update-autoloads):
      Set autoload-excludes by parsing lisp/loadup.el rather than Makefiles.
      
      * lisp/loadup.el: Update commentary.
      
      * msdos/sed1x.inp (TOOLTIP_SUPPORT, WINDOW_SUPPORT):
      * msdos/sed1v2.inp (MSDOS_SUPPORT, NS_SUPPORT, MOUSE_SUPPORT)
      (TOOLTIP_SUPPORT, WINDOW_SUPPORT): No need to edit these any more.
      
      * src/Makefile.in (MSDOS_SUPPORT_REAL, MSDOS_SUPPORT, NS_SUPPORT)
      (REAL_MOUSE_SUPPORT, GPM_MOUSE_SUPPORT, MOUSE_SUPPORT, TOOLTIP_SUPPORT)
      (BASE_WINDOW_SUPPORT, X_WINDOW_SUPPORT, WINDOW_SUPPORT): Remove.
      (lisp): Set the order to that of loadup.el.
      (shortlisp): Make it a copy of $lisp.
      (SOME_MACHINE_LISP): Remove.
      ($(etc)/DOC): Depend just on $lisp, not $SOME_MACHINE_LISP too.
      Use just $shortlisp, not $SOME_MACHINE_LISP too.
      4a720484
  6. 14 May, 2011 1 commit
  7. 09 May, 2011 1 commit
  8. 29 Apr, 2011 1 commit
  9. 27 Apr, 2011 1 commit
  10. 25 Apr, 2011 1 commit
  11. 22 Apr, 2011 1 commit
  12. 20 Apr, 2011 1 commit
  13. 12 Apr, 2011 1 commit
  14. 05 Apr, 2011 1 commit
  15. 27 Mar, 2011 1 commit
    • Glenn Morris's avatar
      Remove (RET)SIGTYPE; it is identical to void on all supported systems. · 9af30bdf
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg01068.html
      
      * configure.in (AC_TYPE_SIGNAL): Remove obsolete macro.
      (AH_BOTTOM): Do not define SIGTYPE.
      
      * lib-src/emacsclient.c: Replace SIGTYPE with void.
      
      * nt/config.nt: Remove RETSIGTYPE, SIGTYPE (identical to void).
      
      * src/syssignal.h: Replace RETSIGTYPE with void.
      
      * src/atimer.c, src/data.c, src/dispnew.c, src/emacs.c, src/floatfns.c:
      * src/keyboard.c, src/keyboard.h, src/lisp.h, src/process.c, src/sysdep.c:
      * src/xterm.c: Replace SIGTYPE with void everywhere.
      
      * src/s/template.h (SIGTYPE): Remove commented out definition.
      * src/s/usg5-4-common.h (SIGTYPE): Remove definition.
      
      * admin/CPP-DEFINES: Remove SIGTYPE.
      9af30bdf
  16. 26 Mar, 2011 1 commit
  17. 23 Mar, 2011 1 commit
    • Glenn Morris's avatar
      Replace mkinstalldirs with `install-sh -d', as automake recommends. · 8cc1d519
      Glenn Morris authored
      * Makefile.in (mkdir): Use `install-sh -d' instead of mkinstalldirs.
      (sync-from-gnulib): Don't sync mkinstalldirs.
      
      * make-dist: Don't distribute mkinstalldirs.
      
      * leim/Makefile.in (install): Use `install-sh -d' rather than mkinstalldirs.
      
      * lib-src/Makefile.in ($(DESTDIR)${archlibdir}):
      Use `install-sh -d' rather than mkinstalldirs.
      
      * configure.in, doc/emacs/Makefile.in: Update comments.
      
      * admin/notes/copyright: Remove mkinstalldirs.
      8cc1d519
  18. 20 Mar, 2011 1 commit
    • Glenn Morris's avatar
      (Re)move autotools generated files from the repository. · 66b87493
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00225.html
      
      * autogen/: New directory, to be excluded from releases.
      * autogen/copy_autogen, autogen/update_autogen: New scripts.
      * autogen/README: New file.
      * autogen/aclocal.m4, autogen/config.in, autogen/configure:
      * autogen/Makefile.in: Add auto-updated generated files.
      
      * autogen.sh: No longer a no-op, now it tests for autotools
      and runs them as necessary.
      
      * configure.in: Defaule maintainer-mode to on.
      
      * aclocal.m4, configure, lib/Makefile.in: Remove files.
      
      * src/config.in: Remove file.
      
      * INSTALL.BZR, admin/make-tarball.txt: Update instructions.
      66b87493
  19. 18 Mar, 2011 1 commit
  20. 13 Mar, 2011 1 commit
    • Glenn Morris's avatar
      Backport 2011-03-06T01:42:13Z!rgm@gnu.org from trunk. · 46dcfee4
      Glenn Morris authored
      * configure.in (FREETYPE_LIBS): Actually set it to something.
      
      * configure.in: Don't zero-out FONTCONFIG_CFLAGS and
      FONTCONFIG_LIBS when building with XFT (doing so is incorrect, as
      Emacs directly uses fontconfig, and breaks building when using a
      strict linker).
      46dcfee4
  21. 11 Mar, 2011 1 commit
  22. 08 Mar, 2011 1 commit
    • Jan D's avatar
      Updates for compiling with Gtk+ 3.0 (--with-x-toolkit=gtk3). · 0afb4571
      Jan D authored
      * configure.in: Require 3.0 for --with-gtk3.  Add HAVE_GTK3.
      
      * doc/emacs/xresources.texi (GTK resources): ~/.emacs.d/gtkrc does not work
      for Gtk+ 3.
      
      * src/gtkutil.c: Include gtkx.h if HAVE_GTK3.  If ! HAVE_GTK3, define
      gdk_window_get_screen, gdk_window_get_geometry,
      gdk_x11_window_lookup_for_display and GDK_KEY_g.
      (xg_set_screen): Use DEFAULT_GDK_DISPLAY.
      (xg_get_pixbuf_from_pixmap): New function.
      (xg_get_pixbuf_from_pix_and_mask): Change parameters from GdkPixmap
      to Pixmap, take frame as parameter, remove GdkColormap parameter.
      Call xg_get_pixbuf_from_pixmap instead of
      gdk_pixbuf_get_from_drawable.
      (xg_get_image_for_pixmap): Do not make GdkPixmaps, call
      xg_get_pixbuf_from_pix_and_mask with Pixmap parameters instead.
      (xg_check_special_colors): Use GtkStyleContext and its functions
      for HAVE_GTK3.
      (xg_prepare_tooltip, xg_hide_tooltip): Call gdk_window_get_screen.
      (xg_prepare_tooltip, create_dialog, menubar_map_cb)
      (xg_update_frame_menubar, xg_tool_bar_detach_callback)
      (xg_tool_bar_attach_callback, xg_update_tool_bar_sizes): Call
      gtk_widget_get_preferred_size.
      (xg_frame_resized): gdk_window_get_geometry only takes 5
      parameters.
      (xg_win_to_widget, xg_event_is_for_menubar): Call
      gdk_x11_window_lookup_for_display.
      (xg_set_widget_bg): New function.
      (delete_cb): New function.
      (xg_create_frame_widgets): connect delete-event to delete_cb.
      Call xg_set_widget_bg.  Only set backgrund pixmap for ! HAVE_GTK3
      (xg_set_background_color): Call xg_set_widget_bg.
      (xg_set_frame_icon): Call xg_get_pixbuf_from_pix_and_mask.
      (xg_create_scroll_bar): vadj is a GtkAdjustment for HAVE_GTK3.
      Only call gtk_range_set_update_policy if ! HAVE_GTK3.
      (xg_make_tool_item): Only connect xg_tool_bar_item_expose_callback
      if ! HAVE_GTK3.
      (update_frame_tool_bar): Call gtk_widget_hide.
      (xg_initialize): Use GDK_KEY_g.
      
      * src/xmenu.c (menu_position_func): Call gtk_widget_get_preferred_size.
      
      * src/xsmfns.c (gdk_set_sm_client_id): Define to gdk_set_sm_client_id
      if ! HAVE_GTK3
      (x_session_initialize): Call gdk_x11_set_sm_client_id.
      
      * src/xterm.c (XFillRectangle): Use cairo routines for HAVE_GTK3.
      (x_term_init): Disable Xinput(2) with GDK_CORE_DEVICE_EVENTS.
      Load ~/emacs.d/gtkrc only for ! HAVE_GTK3.
      
      * src/xterm.h (DEFAULT_GDK_DISPLAY): New define.
      (GDK_WINDOW_XID, gtk_widget_get_preferred_size): New defines
      for ! HAVE_GTK3.
      (GTK_WIDGET_TO_X_WIN): Use GDK_WINDOW_XID.
      0afb4571
  23. 06 Mar, 2011 1 commit
  24. 03 Mar, 2011 1 commit
  25. 01 Mar, 2011 1 commit
  26. 24 Feb, 2011 1 commit
  27. 22 Feb, 2011 2 commits
    • Paul Eggert's avatar
      [ChangeLog] · ae0d7250
      Paul Eggert authored
      Work around some portability problems with symlinks.
      * Makefile.in (GNULIB_MODULES): Add lstat, readlink, symlink.
      * configure.in (lstat, HAVE_LSTAT): Remove special hack.
      * lib/lstat.c, lib/readlink.c, lib/stat.c, lib/symlink.c:
      * m4/dos.m4, m4/lstat.m4, m4/readlink.m4, m4/stat.m4, m4/symlink.m4:
      New files, automatically generated from gnulib.
      * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk:
      * lib/stdlib.in.h, m4/gl-comp.m4, m4/stdlib_h.m4: Regenerate.
      
      2011-02-22  Paul Eggert  <eggert@cs.ucla.edu>
      [src/ChangeLog]
      Work around some portability problems with symlinks.
      * fileio.c (Frename_file, Fmake_symbolic_link, Ffile_symlink_p):
      Simplify the code by assuming that the readlink and symlink calls
      exist, even if they always fail on this host.
      (Ffile_readable_p): Likewise, for fifos.
      * config.in: Regenerate.
      ae0d7250
    • Paul Eggert's avatar
      [ChangeLog] · f68c809d
      Paul Eggert authored
      Assume S_ISLNK etc. work, since gnulib supports this.
      * Makefile.in (GNULIB_MODULES): Add sys_stat.
      * configure.in: Check for lstat and set HAVE_LSTAT=0 if not.
      Pretend to be using the gnulib lstat module for benefit of sys/stat.h.
      * configure, lib/Makefile.in, lib/gnulib.mk: Regenerate.
      [lib-src/ChangeLog]
      Assume S_ISLNK etc. work, since gnulib supports this.
      * etags.c (S_ISREG): Remove.
      [src/ChangeLog]
      Assume S_ISLNK etc. work, since gnulib supports this.
      * config.in: Regenerate.
      * dired.c (lstat): Remove.
      (file_name_completion): Assume S_ISDIR works.
      (file_name_completion_stat): Assume S_ISLNK works.
      Do not bother calling stat unless lstat says it's a symlink.
      * fileio.c (S_ISLNK, S_ISFIFO, S_ISREG, lstat): Remove.
      (Fcopy_file): Assume S_ISREG and S_ISLNK work.
      (check_writable, Ffile_writable_p, Fset_file_times):
      Assume S_ISDIR works.
      (Ffile_readable_p): Use S_IFIFO, not S_ISFIFO, to guess whether
      fifos exist.
      (Ffile_regular_p, Finsert_file_contents): Assumes S_ISREG works.
      * filelock.c (S_ISLNK): Remove.
      * lread.c (openp): Assume S_ISDIR works.
      * xrdb.c (S_ISDIR): Remove.
      f68c809d
  28. 20 Feb, 2011 1 commit
  29. 16 Feb, 2011 1 commit
  30. 15 Feb, 2011 1 commit
  31. 08 Feb, 2011 2 commits
    • Tom Tromey's avatar
      Make globals.h a generated header · 00b3c7ac
      Tom Tromey authored
      	* configure: Rebuild.
      	* configure.in (NS_OBJC_OBJ): New subst.
      lib-src
      	* make-docfile.c: Unconditionally include stdlib.h.
      	(generate_globals): New global.
      	(xrealloc): New function.
      	(main): Handle '-g'.  Call start_globals, write_globals.
      	(scan_file): Conditionally call put_filename.
      	(start_globals): New function.
      	(struct global): New.
      	(num_globals, globals): New globals.
      	(add_global, compare_globals, write_globals): New functions.
      	(scan_c_file): Update for "-g".
      	(scan_lisp_file): Fail if "-g".
      	(enum global_type): New.
      src
      	* Makefile.in (NS_OBJC_OBJ): New variable.
      	(base_obj): Rename from 'obj'.
      	(obj): New variable.
      	(globals.h, gl-stamp, $(obj)): New targets.
      	(GLOBAL_SOURCES): New variable.
      	* globals.h: Remove.
      	* nsselect.m (Vselection_alist): Define.  Reverts part of
      	2011-01-19T22:11:33Z!jan.h.d@swipnet.se.
      	* buffer.c: Don't use "no_cell" for name of kill-buffer-hook's
      	variable.
      	* xselect.c (Vselection_alist): Define.  Reverts part of 2011-01-19T23:32:42Z!eggert@cs.ucla.edu.
      00b3c7ac
    • Paul Eggert's avatar
      Import getloadavg module from gnulib. · 79ab4b7f
      Paul Eggert authored
      79ab4b7f
  32. 01 Feb, 2011 1 commit