1. 07 Jul, 2011 1 commit
  2. 05 Jul, 2011 2 commits
    • Jan Djärv's avatar
      Use GConf and GSettings both, check GConf/GSettings toolbar style and font name. · 869795d6
      Jan Djärv authored
      * configure.in (HAVE_GCONF): Allow both HAVE_GCONF and HAVE_GSETTINGS.
      * lisp/dynamic-setting.el (dynamic-setting-handle-config-changed-event): 
      Update doc string.
      * src/xsettings.c: Use both GConf and GSettings if both are available.
      (store_config_changed_event): Add comment.
      (dpyinfo_valid, store_font_name_changed, map_tool_bar_style)
      (store_tool_bar_style_changed): New functions.
      (store_monospaced_changed): Add comment. Call dpyinfo_valid.
      (struct xsettings): Move font inside HAVE_XFT.
      Move inside HAVE_XFT.
      (something_changed_gsettingsCB): Renamed from something_changedCB.
      (GCONF_MONO_FONT): Renamed from SYSTEM_MONO_FONT. Move inside HAVE_XFT.
      (something_changed_gconfCB): Renamed from something_changedCB.
      Check for changes in GCONF_TOOL_BAR_STYLE and GCONF_FONT_NAME also.
      (parse_settings): Move check for font inside HAVE_XFT.
      (read_settings, apply_xft_settings): Add comment.
      (read_and_apply_settings): Add comment.  Call map_tool_bar_style and
      store_tool_bar_style_changed.  Move check for font inside HAVE_XFT and
      call store_font_name_changed.
      (xft_settings_event): Add comment.
      (init_gsettings): Add comment.  Get values for GSETTINGS_TOOL_BAR_STYLE
      and GSETTINGS_FONT_NAME.  Move check for fonts within HAVE_XFT.
      (init_gconf): Add comment.  Get values for GCONF_TOOL_BAR_STYLE
      and GCONF_FONT_NAME.  Move check for fonts within HAVE_XFT.
      (xsettings_initialize): Call init_gsettings last.
      (xsettings_get_system_font, xsettings_get_system_normal_font): Add
    • Paul Eggert's avatar
      [ChangeLog] · 9cfdb3ec
      Paul Eggert authored
      Assume support for memcmp, memcpy, memmove, memset.
      This simplifies the code a bit.  All current platforms have these,
      as they are required for C89.  If this turns into a problem we
      can add the gnulib modules for these (a 1-line change to Makefile.in).
      * configure.in: Don't check for memcmp, memcpy, memmove, memset.
      Assume support for memcmp, memcpy, memmove, memset.
      * etags.c (absolute_filename): Assume memmove exists.
      Assume support for memcmp, memcpy, memmove, memset.
      * lisp.h, sysdep.c (memcmp, memcpy, memmove, memset):
      * regex.c (memcmp, memcpy):
      Remove; we assume C89 now.
      * gmalloc.c (memcpy, memset, memmove): Remove; we assume C89 now.
      (__malloc_safe_bcopy): Remove; no longer needed.
  3. 01 Jul, 2011 1 commit
  4. 30 Jun, 2011 2 commits
    • Lars Magne Ingebrigtsen's avatar
    • Jan Djärv's avatar
      Add GSettings support (GConf is going away). · 9851bfc5
      Jan Djärv authored
      * configure.in (gsettings): New option and check for GSettings.
      * src/Makefile.in (SETTINGS_CFLAGS, SETTINGS_LIBS): Renamed from
      * src/xsettings.c: Include glib.h if HAVE_GSETTINGS.
      (store_monospaced_changed): New function.
      (EMACS_SETTINGS): A new type derived from GObject to handle
      GSettings notifications.
      (emacs_settings_constructor, emacs_settings_get_property)
      (emacs_settings_set_property, emacs_settings_class_init):
      New functions.
      (gsettings_client, gsettings_obj): New variables.
      (GSETTINGS_SCHEMA): New define.
      (something_changedCB): Call store_monospaced_changed.
      (init_gsettings): New function.
      (xsettings_initialize): Call init_gsettings.
      (syms_of_xsettings): Initialize gsettings_client, gsettings_obj
      to NULL.
  5. 29 Jun, 2011 3 commits
  6. 25 Jun, 2011 1 commit
    • Paul Eggert's avatar
      Use gnulib's dup2 module instead of rolling our own. · 7a7ef429
      Paul Eggert authored
      * Makefile.in (GNULIB_MODULES): Add dup2.
      * configure.in: Do not check for dup2; gnulib does that now.
      * lib/dup2.c, m4/dup2.m4: New files, from gnulib.
      * src/sysdep.c (dup2) [!HAVE_DUP2]: Remove; gnulib now does this.
  7. 21 Jun, 2011 2 commits
    • Paul Eggert's avatar
      * configure.in: Port alloca to AIX 3. · e92b6c88
      Paul Eggert authored
    • Paul Eggert's avatar
      Use gnulib's alloca-opt module. · fa23e171
      Paul Eggert authored
      * .bzrignore: Add lib/alloca.h.
      * Makefile.in (GNULIB_MODULES): Add alloca-opt.
      * configure.in (AC_FUNC_ALLOCA): Remove almost all the alloca stuff,
      as gnulib now does that for us.  Put alloca check after gl_INIT.
      * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
      * lib/alloca.in.h, m4/alloca.m4: New files, from gnulib.
  8. 17 Jun, 2011 2 commits
  9. 16 Jun, 2011 1 commit
  10. 14 Jun, 2011 1 commit
    • Jan Djärv's avatar
      Fix resize and change of scroll bar width for Gtk3. · c195f2de
      Jan Djärv authored
      * configure.in: Add emacsgtkfixed.o to GTK_OBJ if HAVE_GTK3.
      * src/emacsgtkfixed.c, src/emacsgtkfixed.h: New files.
      * src/gtkutil.c: Include src/emacsgtkfixed.h if HAVE_GTK3.
      (int_gtk_range_get_value): Move to the scroll bar part of the file.
      (style_changed_cb): Call update_theme_scrollbar_width and call
      x_set_scroll_bar_default_width and xg_frame_set_char_size for
      all frames.
      (xg_create_frame_widgets): Call emacs_fixed_new if HAVE_GTK3 (Bug#8505).
      Call gtk_window_set_resizable if HAVE_GTK3.
      (x_wm_set_size_hint): Call emacs_fixed_set_min_size with min width
      and height if HAVE_GTK3 (Bug#8505).
      (scroll_bar_width_for_theme): New variable.
      (update_theme_scrollbar_width): New function.
      (xg_get_default_scrollbar_width): Move code to
      update_theme_scrollbar_width, just return scroll_bar_width_for_theme.
      (xg_initialize): Call update_theme_scrollbar_width.
      * src/gtkutil.h (xg_get_default_scrollbar_width): Remove argument.
      * src/xfns.c (x_set_scroll_bar_default_width): Remove argument to
  11. 07 Jun, 2011 1 commit
    • Paul Eggert's avatar
      [ChangeLog] · 81eafe29
      Paul Eggert authored
      * configure.in: Add --with-wide-int.
      * INSTALL: Mention this.
      * NEWS: Mention new configure option --with-wide-int.
  12. 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.
      Use 'inline', not 'INLINE'.
      * etags.c (hash): Now inline unconditionally.
      * make-docfile.c (put_char): inline, not INLINE.
      Use 'inline', not 'INLINE'.
      * config.nt (INLINE): Remove.
      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__.
  13. 26 May, 2011 1 commit
  14. 24 May, 2011 7 commits
  15. 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.
  16. 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
      (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.
      (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.
  17. 14 May, 2011 1 commit
  18. 09 May, 2011 1 commit
  19. 29 Apr, 2011 1 commit
  20. 27 Apr, 2011 1 commit
  21. 25 Apr, 2011 1 commit
  22. 22 Apr, 2011 1 commit
  23. 20 Apr, 2011 1 commit
  24. 12 Apr, 2011 1 commit
  25. 05 Apr, 2011 1 commit
  26. 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.
  27. 26 Mar, 2011 1 commit
  28. 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.