1. 04 Aug, 2011 1 commit
    • Jan Djärv's avatar
      Check for pthread and use it if found. · ae9e757a
      Jan Djärv authored
      * configure.in (HAVE_PTHREAD): Add check for -lpthread.
      (HAVE_GTK_AND_PTHREAD): Remove.
      
      * src/Makefile.in (LIB_PTHREAD): New variable.
      (LIBES): Add LIB_PTHREAD (Bug#9216).
      
      * src/alloc.c, src/emacs.c, src/gmalloc.c, src/gtkutil.c, src/keyboard.c, src/syssignal.h:
      Rename HAVE_GTK_AND_PTHREAD to HAVE_PTHREAD (Bug#9216).
      ae9e757a
  2. 28 Jul, 2011 1 commit
  3. 13 Jul, 2011 1 commit
  4. 11 Jul, 2011 1 commit
  5. 08 Jul, 2011 1 commit
    • Paul Eggert's avatar
      Simplify Emacs part of pthread_sigmask support. · 2a84b02d
      Paul Eggert authored
      * Makefile.in (GNULIB_TOOL_FLAGS): Do not avoid sigprocmask.
      * configure.in (AC_TYPE_UID_T): New dummy macro.
      Configure gnulib after adjusting LIBS,
      so that gnulib can assume the libraries in LIBS.
      * lib/pthread_sigmask.c, lib/sigprocmask.c, m4/signalblocking.m4:
      New files, automatically imported from gnulib.
      * lib/gnulib.mk, m4/gl-comp.m4: Regenerate.
      * src/Makefile.in (LIB_PTHREAD_SIGMASK): New macro.
      (LIBES): Use it.
      2a84b02d
  6. 07 Jul, 2011 3 commits
  7. 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.
      (GSETTINGS_TOOL_BAR_STYLE, GSETTINGS_FONT_NAME): New defines.
      (GSETTINGS_MONO_FONT): Renamed from SYSTEM_MONO_FONT.
      Move inside HAVE_XFT.
      (something_changed_gsettingsCB): Renamed from something_changedCB.
      Check for changes in GSETTINGS_TOOL_BAR_STYLE and GSETTINGS_FONT_NAME
      also.
      (GCONF_TOOL_BAR_STYLE, GCONF_FONT_NAME): New defines.
      (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
      comment.
      869795d6
    • 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.
      [lib-src/ChangeLog]
      Assume support for memcmp, memcpy, memmove, memset.
      * etags.c (absolute_filename): Assume memmove exists.
      [src/ChangeLog]
      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.
      9cfdb3ec
  8. 01 Jul, 2011 1 commit
  9. 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
      GCONF_CFLAGS/LIBS.
      
      * src/xsettings.c: Include glib.h if HAVE_GSETTINGS.
      Let HAVE_GSETTINGS override HAVE_GCONF.
      (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.
      9851bfc5
  10. 29 Jun, 2011 3 commits
  11. 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.
      7a7ef429
  12. 21 Jun, 2011 2 commits
    • Paul Eggert's avatar
      * configure.in: Port alloca to AIX 3. · e92b6c88
      Paul Eggert authored
      e92b6c88
    • 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.
      fa23e171
  13. 17 Jun, 2011 2 commits
  14. 16 Jun, 2011 1 commit
  15. 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
      xg_get_default_scrollbar_width.
      c195f2de
  16. 07 Jun, 2011 1 commit
    • Paul Eggert's avatar
      [ChangeLog] · 81eafe29
      Paul Eggert authored
      * configure.in: Add --with-wide-int.
      * INSTALL: Mention this.
      [etc/ChangeLog]
      * NEWS: Mention new configure option --with-wide-int.
      81eafe29
  17. 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
  18. 26 May, 2011 1 commit
  19. 24 May, 2011 7 commits
  20. 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
  21. 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
  22. 14 May, 2011 1 commit
  23. 09 May, 2011 1 commit
  24. 29 Apr, 2011 1 commit
  25. 27 Apr, 2011 1 commit
  26. 25 Apr, 2011 1 commit