1. 28 Mar, 2011 2 commits
  2. 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
  3. 26 Mar, 2011 1 commit
  4. 25 Mar, 2011 3 commits
    • Andreas Schwab's avatar
    • Eli Zaretskii's avatar
      Adapt config.bat and msdos/sedlibmk.inp to autogen and addition of stdio. · 07da4b3c
      Eli Zaretskii authored
       msdos/sedlibmk.inp: Adapt to addition of the gnulib stdio module.
       config.bat: Generate src/config.h and lib/Makefile from
       autogen/config.in and autogen/Makefile.in.
      07da4b3c
    • Glenn Morris's avatar
      Remove some files that autoreconf can supply. · f6ca84c0
      Glenn Morris authored
      Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00863.html
      
      * compile, config.guess, config.sub, depcomp, install-sh, missing:
      Remove; autoreconf can supply them.
      
      * Makefile.in (sync-from-gnulib): Don't sync config.sub,
      config.guess, install-sh.  Pass -i to autoreconf.
      
      * autogen/update_autogen (genfiles): Add compile, config.guess,
      config.sub, depcomp, install-sh, missing.  Pass -i to autoreconf.
      Discard non-error output from autoreconf in -q case.
      
      * autogen/compile, autogen/config.guess, autogen/config.sub:
      * autogen/depcomp, autogen/install-sh, autogen/missing: New files.
      
      * autogen/copy_autogen: Add compile, config.guess, config.sub, depcomp,
      install-sh, missing.
      
      * autogen/README: Add compile, config.guess, config.sub, depcomp,
      install-sh, missing.
      
      * INSTALL.BZR, admin/make-tarball.txt: Add -i to autoreconf args.
      
      * .bzrignore: Add compile, config.guess, config.sub, depcomp,
      install-sh, missing.
      f6ca84c0
  5. 23 Mar, 2011 3 commits
  6. 22 Mar, 2011 1 commit
    • Glenn Morris's avatar
      copy_autogen tweaks. · 34cb1cc6
      Glenn Morris authored
      * autogen/copy_autogen: Work from ./ or ../.
      Fix time-stamps.
      * autogen.sh: Doc fix.
      34cb1cc6
  7. 21 Mar, 2011 2 commits
    • Paul Eggert's avatar
      * .bzrignore: Add lib/stdio.h. · cbd350f1
      Paul Eggert authored
      cbd350f1
    • Paul Eggert's avatar
      [ChangeLog] · d5cad867
      Paul Eggert authored
      fakemail: Remove dependency on ignore-value.
      * Makefile.in (GNULIB_MODULES): Add stdio.
      * lib/stdio.in.h, m4/stdio_h.m4: New files, automatically
      imported from gnulib.
      [lib-src/ChangeLog]
      fakemail: Remove dependency on ignore-value.
      This undoes some of the recent fakemail-related changes.
      It is made possible due to recent changes to gnulib's stdio module.
      * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
      * fakemail.c: Do not include ignore-value.h.
      (put_line): Do not use ignore_value.
      d5cad867
  8. 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
  9. 19 Mar, 2011 1 commit
  10. 18 Mar, 2011 1 commit
  11. 13 Mar, 2011 2 commits
  12. 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
  13. 07 Mar, 2011 1 commit
  14. 06 Mar, 2011 1 commit
  15. 01 Mar, 2011 1 commit
  16. 26 Feb, 2011 2 commits
  17. 25 Feb, 2011 3 commits
  18. 24 Feb, 2011 1 commit
  19. 23 Feb, 2011 2 commits
  20. 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
  21. 21 Feb, 2011 3 commits
    • Paul Eggert's avatar
      [ChangeLog] · ba01e9d7
      Paul Eggert authored
      * lib/min-max.h: New file, for "min" and "max".
      [lib-src/ChangeLog]
      New file "lib/min-max.h".
      * ebrowse.c (min, max): Define them by including <min-max.h>
      instead of defining it ourselves.
      * pop.c (min): Likewise.
      ba01e9d7
    • Christoph Scholtes's avatar
      Add stdint.h for MS-Windows. · 9f8370e6
      Christoph Scholtes authored
       nt/inc/stdint.h: New file, to support compilation with tool chains
       that do not have stdint.h (e.g. MSVC).
       lib/makefile.w32-in: ($(BLD)/md5.$(O)): Added dependency on
       $(EMACS_ROOT)/nt/inc/stdint.h.
      9f8370e6
    • Eli Zaretskii's avatar
      Adapt MS-Windows build to import of filemode.c from gnulib. · 25c51af3
      Eli Zaretskii authored
       nt/inc/sys/stat.h (S_ISUID, S_ISGID, S_ISVTX, S_IRGRP, S_IROTH)
       (S_IWGRP, S_IWOTH, S_IXGRP, S_IXOTH, S_ISSOCK, S_ISLNK, S_ISCTG)
       (S_ISDOOR, S_ISMPB, S_ISMPC, S_ISNWK, S_ISPORT, S_ISWHT)
       (S_TYPEISMQ, S_TYPEISSEM, S_TYPEISSHM, S_TYPEISTMO): Define.
       (lstat): Define to stat.
       lib/makefile.w32-in ($(BLD)/filemode.$(O)): Move from
       src/makefile.w32-in and adapt.  Depend on stamp_BLD.
       (GNULIBOBJS): Add $(BLD)/filemode.$(O).
       src/makefile.w32-in ($(BLD)/filemode.$(O)): Move recipe to
       lib/makefilw.w32-in.
       ($(BLD)/dired.$(O)): Depend on $(EMACS_ROOT)/lib/filemode.h.
       (GLOBAL_SOURCES): Remove filemode.c.
       (OBJ1): Remove $(BLD)/filemode.$(O).
       lib-src/makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
       ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
       Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
      25c51af3
  22. 20 Feb, 2011 4 commits
    • Eli Zaretskii's avatar
      Followup for 2011-02-20T18:50:26Z!eliz@gnu.org. · e1e6b4fb
      Eli Zaretskii authored
       lib/makefile.w32-in ($(BLD)/md5.$(O)): Don't depend on
       $(EMACS_ROOT)/nt/inc/sys/stat.h.
      e1e6b4fb
    • Paul Eggert's avatar
    • Christoph Scholtes's avatar
      Fix the MS-Windows build due to import of md5 from gnulib. · 32159fc3
      Christoph Scholtes authored
       src/makefile.w32-in: Remove md5.$(O).
       ($(BLD)/md5.$(O)): Remove prerequisites, moved to
       lib/makefile.w32-in.
       ($(BLD)/fns.$(O)): Depend on $(EMACS_ROOT)/lib/md5.h and on stamp_BLD.
       lib/makefile.w32-in ($(BLD)/md5.$(O)): New recipe, moved from
       src/makefile.w32-in.
      32159fc3
    • Paul Eggert's avatar
      Import filemode module from gnulib. · 5fa4ac76
      Paul Eggert authored
      * .bzrignore: Add lib/sys/.
      * Makefile.in (GNULIB_MODULES): Add filemode.
      * lib/Makefile.am (MOSTLYCLEANDIRS): New macro.
      * lib/filemode.c: Renamed from src/filemode.c and regenerated
      from gnulib.  This adds support for some more file types, e.g.,
      Cray DMF migrated files.
      * lisp/emacs-lisp/find-gc.el (find-gc-source-files): Remove filemode.c.
      * lib/filemode.h, lib/sys_stat.in.h, m4/filemode.m4, m4/st_dm_mode.m4:
      * m4/sys_stat_h.m4: New files, generated from gnulib.
      * aclocal.m4, configure, lib/Makefile.in, lib/gnulib.mk, m4/gl-comp.m4:
      Regenerate.
      
      2011-02-20  Paul Eggert  <eggert@cs.ucla.edu>
      5fa4ac76
  23. 19 Feb, 2011 1 commit