1. 08 Jul, 2011 2 commits
  2. 07 Jul, 2011 2 commits
  3. 06 Jul, 2011 2 commits
    • Paul Eggert's avatar
      Add Bug#. · 8a6ebd58
      Paul Eggert authored
      8a6ebd58
    • Paul Eggert's avatar
      Add gnulib support for pthread_sigmask. · 6db30f83
      Paul Eggert authored
      * Makefile.in (GNULIB_MODULES): Add pthread_sigmask.
      (GNULIB_TOOL_FLAGS): Avoid sigprocmask.  Emacs does its own
      implementation of 'sigprocmask' on Windows, and it assumes
      'sigprocmask' on non-Windows hosts, so it doesn't need the
      sigprocmask module.
      * lib/signal.in.h, m4/pthread_sigmask.m4, m4/signal_h.m4:
      New files, automatically imported from gnulib.
      * lib/gnulib.mk, m4/gl-comp.m4: Automatically-imported update
      due to the above changes.
      * .bzrignore: Add lib/signal.h.
      6db30f83
  4. 05 Jul, 2011 1 commit
    • 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
  5. 01 Jul, 2011 1 commit
  6. 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
  7. 29 Jun, 2011 1 commit
  8. 27 Jun, 2011 1 commit
  9. 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
  10. 23 Jun, 2011 1 commit
  11. 21 Jun, 2011 3 commits
  12. 19 Jun, 2011 1 commit
  13. 17 Jun, 2011 1 commit
  14. 16 Jun, 2011 2 commits
  15. 15 Jun, 2011 2 commits
  16. 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
  17. 08 Jun, 2011 2 commits
  18. 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
  19. 06 Jun, 2011 1 commit
    • Paul Eggert's avatar
      Merge from gnulib. · 9afafefb
      Paul Eggert authored
      * lib/careadlinkat.c, lib/careadlinkat.h, m4/gnulib-common.m4: Merge.
      9afafefb
  20. 02 Jun, 2011 2 commits
  21. 31 May, 2011 1 commit
  22. 30 May, 2011 1 commit
    • Paul Eggert's avatar
      [ChangeLog] · 531b0165
      Paul Eggert authored
      Malloc failure behavior now depends on size of allocation.
      * lib/allocator.h (struct allocator.die): New size arg.
      * lib/careadlinkat.c (careadlinkat): Pass size to 'die' function.
      If the actual problem is an ssize_t limitation, not a size_t or
      malloc failure, fail with errno == ENAMETOOLONG instead of calling 'die'.
      [src/ChangeLog]
      Malloc failure behavior now depends on size of allocation.
      * alloc.c (buffer_memory_full, memory_full): New arg NBYTES.
      * lisp.h: Change signatures accordingly.
      * alloc.c, buffer.c, editfns.c, menu.c, minibuf.c, xterm.c:
      All callers changed.
      531b0165
  23. 29 May, 2011 1 commit
  24. 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
  25. 27 May, 2011 1 commit
  26. 24 May, 2011 5 commits