1. 19 Jan, 2016 12 commits
    • Joakim Verona's avatar
      Support for the new Xwidget feature. · 7c1f66a9
      Joakim Verona authored
      * configure.ac:
      (HAVE_XWIDGETS, WIDGET_OBJ, EMACS_CONFIG_FEATURES):
      * xterm.c (x_draw_glyph_string, x_draw_bar_cursor):
      * xdisp.c:
      (handle_display_spec, handle_single_display_spec, push_it)
      (pop_it, set_iterator_to_next, dump_glyph)
      (calc_pixel_width_or_height, fill_xwidget_glyph_string)
      (BUILD_XWIDGET_GLYPH_STRING, BUILD_GLYPH_STRINGS)
      (produce_xwidget_glyph, x_produce_glyphs)
      (get_window_cursor_type):
      * window.c (Fdelete_window_internal):
      * termhooks.h (e):
      * print.c (print_object):
      * lisp.h (ptrdiff_t):
      * keyboard.c (kbd_buffer_get_event, make_lispy_event)
      (syms_of_keyboard):
      * emacs.c (main):
      * dispnew.c (update_window, scrolling_window):
      * dispextern.h (g, i):
      * Makefile.in (XWIDGETS_OBJ, WEBKIT_CFLAGS, WEBKIT_LIBS)
      (GIR_LIBS, ALL_CFLAGS, base_obj, LIBES):
      * keyboard.c (kbd_buffer_get_event):
      * emacsgtkfixed.c (emacs_fixed_gtk_widget_size_allocate)
      (emacs_fixed_class_init): Add case for an xwidget view.
      
      * xwidget.c, xwidget.h, xwidget.el: New files for xwidgets
      Co-authored-by: default avatarGrégoire Jadi  <daimrod@gmail.com>
      
      Various improvements to the Xwidget feature.
      * xwidgets.c:
      * emacsgtkfixed.c:
      * xwidget.el:
      7c1f66a9
    • Eli Zaretskii's avatar
      Improve documentation of 'alist-get' · 663d379b
      Eli Zaretskii authored
      * doc/lispref/variables.texi (Setting Generalized Variables): Add
      'alist-get' to the list of functions that can appear in PLACE
      argument of 'setf'.
      663d379b
    • Shakthi Kannan's avatar
      77793f52
    • Eli Zaretskii's avatar
      Minor copyedits of doc/emacs/maintaining.texi · 15627069
      Eli Zaretskii authored
      * doc/emacs/maintaining.texi (List Identifiers): More accurate
      description of "C-M-i" wrt tags tables.
      (Tags Tables): Move the definition of "tag" to a footnote.
      15627069
    • Eli Zaretskii's avatar
      Unbreak the Cygwin-w32 build · 32cb203c
      Eli Zaretskii authored
      * src/w32fns.c (globals_of_w32fns): Move the initialization of
      resetstkoflw into a part that isn't compiled on Cygwin.
      (Bug#22403)
      32cb203c
    • Lars Magne Ingebrigtsen's avatar
    • Phillip Lord's avatar
      Cope with multiple overlapping faces. · ef768c79
      Phillip Lord authored
      * lisp/htmlfontify.el (hfy-face-to-style-i): Treat inheritance right to
        left.
        (hfy-face-resolve-face): Handle font specification as well as font
        name. Documentation update. (Bug#21990)
      ef768c79
    • Paul Eggert's avatar
      Fix spurious escapes in describe-input-method · 66ff8bac
      Paul Eggert authored
      Problem reported by Vincent Belaïche (Bug#22309).
      * lisp/international/mule-cmds.el (describe-language-environment):
      * lisp/international/quail.el (quail-help):
      Apply substitute-command-keys to doc strings before displaying them.
      66ff8bac
    • Paul Eggert's avatar
      Minor improvements to (random t) documentation · 2e5a89fa
      Paul Eggert authored
      * doc/lispref/numbers.texi (Random Numbers):
      * src/fns.c (Frandom):
      Omit unnecessary details about randomness fallback.
      Say that it is a fallback.
      2e5a89fa
    • Dmitry Gutov's avatar
      ; Fix a typo · 0ed8b42d
      Dmitry Gutov authored
      0ed8b42d
    • Dmitry Gutov's avatar
      Rename methods in Ruby etags example file · 2ac78c23
      Dmitry Gutov authored
      * test/etags/ruby-src/test.rb: Rename the example methods to
      correspond to the common terminology used in Ruby.
      * test/etags/CTAGS.good:
      * test/etags/ETAGS.good_1:
      * test/etags/ETAGS.good_2:
      * test/etags/ETAGS.good_3:
      * test/etags/ETAGS.good_4:
      * test/etags/ETAGS.good_5:
      * test/etags/ETAGS.good_6: Adjust accordingly.
      2ac78c23
    • Dmitry Gutov's avatar
      Propertize backtick in 'def `(abc)' as symbol constituent · 29da1cb3
      Dmitry Gutov authored
      * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
      Propertize backtick in 'def `(abc)' as symbol constituent.
      (ruby-syntax-propertize-function):
      Rename to ruby-syntax-propertize.
      29da1cb3
  2. 18 Jan, 2016 10 commits
  3. 17 Jan, 2016 3 commits
    • Andreas Schwab's avatar
      Don't use GnuTLS before it is initialized · 0f3ea5e1
      Andreas Schwab authored
      	* src/sysdep.c (init_random): Don't use gnutls_rnd.
      0f3ea5e1
    • Paul Eggert's avatar
      Port cleanup attribute to OpenBSD · fabb1fa3
      Paul Eggert authored
      The OpenBSD C compiler issues false alarms about strcpy, strcat, and
      sprintf, and this messes up 'configure' when it tests for the cleanup
      attribute.  Work around the problem by using __has_attribute directly.
      Problem reported by Joakim Jalap (Bug#22385).
      * configure.ac: Don’t use AX_GCC_VAR_ATTRIBUTE.
      * m4/ax_gcc_var_attribute.m4: Remove.
      * src/conf_post.h (__has_attribute): Provide a substitute, for
      non-GCC or older GCC compilers.  All uses changed to assume
      the substitute.  Check for the cleanup attribute.
      * src/emacs-module.c (module_has_cleanup): Just use __has_attribute.
      fabb1fa3
    • Paul Eggert's avatar
      Prefer GnuTLS when acquiring random seed · 05e8148a
      Paul Eggert authored
      This attempts to improve on the fix for Bug#22202.
      * configure.ac (HAVE_DEV_URANDOM): Remove.
      Check /dev/urandom existence at run time, not at build time,
      since the device could exist in the former but not the latter.
      * src/sysdep.c [HAVE_GNUTLS]: Include gnutls/gnutls.h.
      (gnutls_rnd) [GNUTLS_VERSION_NUMBER < 0x020c00]: New fallback macro.
      (random_seed): New typedef.
      (set_random_seed): New static function.
      (seed_random): Use them.
      (init_random): Use random_seed instead of uintmax_t, so as to
      not consume more entropy than needed.  Prefer gnutls_rnd if it
      works; this avoids a redundant open of /dev/urandom on
      GNU/Linux with modern GnuTLS.
      05e8148a
  4. 16 Jan, 2016 15 commits