1. 26 Dec, 2014 1 commit
  2. 25 Dec, 2014 9 commits
    • Paul Eggert's avatar
      Prefer stpcpy to strcat · 1e6879db
      Paul Eggert authored
      * admin/merge-gnulib (GNULIB_MODULES): Add stpcpy.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
      * lib/stpcpy.c, m4/stpcpy.m4: New files, from gnulib.
      * lib-src/ebrowse.c (sym_scope_1, operator_name, open_file):
      * lib-src/emacsclient.c (get_server_config, set_local_socket)
      * lib-src/etags.c (main, C_entries, relative_filename):
      * lib-src/pop.c (sendline):
      * lib-src/update-game-score.c (main):
      * lwlib/xlwmenu.c (resource_widget_value):
      * src/callproc.c (child_setup):
      * src/dbusbind.c (xd_signature_cat):
      * src/doc.c (get_doc_string, Fsnarf_documentation):
      * src/editfns.c (Fuser_full_name):
      * src/frame.c (xrdb_get_resource):
      * src/gtkutil.c (xg_get_file_with_chooser):
      * src/tparam.c (tparam1):
      * src/xfns.c (xic_create_fontsetname):
      * src/xrdb.c (gethomedir, get_user_db, get_environ_db):
      * src/xsmfns.c (smc_save_yourself_CB):
      Rewrite to avoid the need for strcat, typically by using stpcpy
      and/or lispstpcpy.  strcat tends to be part of O(N**2) algorithms.
      * src/doc.c (sibling_etc):
      * src/xrdb.c (xdefaults):
      Now a top-level static constant.
    • Dmitry Gutov's avatar
      Regenerate ldefs-boot.el · 8dba53d2
      Dmitry Gutov authored
    • Dmitry Gutov's avatar
      Consolidate cross-referencing commands · 394ce951
      Dmitry Gutov authored
      Move autoloaded bindings for `M-.', `M-,', `C-x 4 .' and
      `C-x 5 .' from etags.el to xref.el.
      * progmodes/xref.el: New file.
      * progmodes/elisp-mode.el (elisp--identifier-types): New variable.
      (elisp--identifier-location): New function, extracted from
      (elisp--company-location): Use it.
      (elisp--identifier-completion-table): New variable.
      (elisp-completion-at-point): Use it.
      (emacs-lisp-mode): Set the local values of `xref-find-function'
      and `xref-identifier-completion-table-function'.
      (elisp-xref-find, elisp--xref-find-definitions)
      (elisp--xref-identifier-completion-table): New functions.
      * progmodes/etags.el (find-tag-marker-ring): Mark obsolete in
      favor of `xref--marker-ring'.
      (tags-lazy-completion-table): Autoload.
      (tags-reset-tags-tables): Use `xref-clear-marker-stack'.
      (find-tag-noselect): Use `xref-push-marker-stack'.
      (pop-tag-mark): Make an alias for `xref-pop-marker-stack'.
      (etags--xref-limit): New constant.
      (etags-xref-find, etags--xref-find-definitions): New functions.
    • Karl Fogel's avatar
      * etc/NEWS: Mention new buffer display behavior for `shell'. · ac549019
      Karl Fogel authored
      This follows up to Sam Steingold's change of 2014-12-23
      in ../lisp/shell.el, in git commit e55a467e.
    • Martin Rudalics's avatar
      Make `resize-mini-windows' customizable and update documentation for it. · 000bc549
      Martin Rudalics authored
      * cus-start.el (resize-mini-windows): Make it customizable.
      * minibuf.texi (Minibuffer Windows): Add descriptions of
      `resize-mini-windows' and `max-mini-window-height'.
    • Martin Rudalics's avatar
      Resync @menu order with @node order. · 437854dc
      Martin Rudalics authored
    • Glenn Morris's avatar
    • Glenn Morris's avatar
    • Glenn Morris's avatar
      Markup fixes for doc/lispref · 5306baa9
      Glenn Morris authored
      * doc/lispref/control.texi (Pattern matching case statement):
      * doc/lispref/positions.texi (List Motion):
      * doc/lispref/streams.texi (Output Functions):
      * doc/lispref/strings.texi (Text Comparison):
      * doc/lispref/text.texi (Document Object Model):
      Markup fixes.
  3. 24 Dec, 2014 7 commits
  4. 23 Dec, 2014 7 commits
  5. 22 Dec, 2014 7 commits
    • Stefan Monnier's avatar
      * lisp/cedet: Reduce reliance on EIEIO internals. · b11d8924
      Stefan Monnier authored
      * lisp/cedet/ede/generic.el (ede-find-target): Prefer \` and \' to ^ and $.
      * lisp/cedet/semantic/db-el.el (semanticdb-elisp-sym->tag): Prefer find-class over
      * lisp/cedet/semantic/db.el (semanticdb-cache-get): Prefer eieio-object-class over
      * lisp/cedet/srecode/srt-mode.el (srecode-macro-help): Use eieio-class-children.
    • Stefan Monnier's avatar
      * lisp/completion.el: Use post-self-insert-hook. · b366b3bb
      Stefan Monnier authored
      Fixes: debbugs:19400
      (completion-separator-self-insert-autofilling): Remove.
      (completion-separator-chars): New var.
      (completion-c-mode-hook, completion-setup-fortran-mode): Use it instead
      of changing the keymap.
      (completion--post-self-insert): New function.
      (dynamic-completion-mode): Use it instead of rebinding keys.
      (cmpl--completion-string): Rename from completion-string.
      (add-completion-to-head, delete-completion): Let-bind it explicitly.
    • Bozhidar Batsov's avatar
      Simplify ruby--string-region · fafba80d
      Bozhidar Batsov authored
      * progmodes/ruby-mode.el (ruby--string-region): Simplify code
      by leveraging `syntax-ppss'.
    • Artur Malabarba's avatar
    • Jan D's avatar
      Fix setting icon for Gtk+ on non-initial frame. · 6f3f6050
      Jan D authored
      Fixes: debbugs:19403
      * xterm.c (x_bitmap_icon): Partly revert change from 2014-03-21 which
      breaks icon setting for Gtk+ except for initial frame.
    • Paul Eggert's avatar
      Remove obsolete references to pre-C99 builds · 4dc78f64
      Paul Eggert authored
      * doc/lispref/internals.texi (C Integer Types):
      Don't mention pre-C99 compilers.
    • Paul Eggert's avatar
      Use bool for boolean in xterm.c · 455e5469
      Paul Eggert authored
      * frame.h, nsterm.m, w32term.c, w32term.h, xterm.c:
      (x_set_window_size, x_bitmap_icon):
      * nsterm.m (ns_frame_raise_lower, x_new_font):
      * termhooks.h (struct terminal.toggle_invisible_pointer_hook)
      (struct terminal.frame_raise_lower_hook):
      * w32term.c (w32_frame_raise_lower):
      * xterm.c, xterm.h (x_text_icon):
      * xterm.c (x_update_window_begin, x_update_window_end)
      (x_update_end, x_after_update_window_line)
      (x_set_glyph_string_gc, x_draw_glyph_string_background)
      (x_alloc_lighter_color, x_draw_relief_rect)
      (x_draw_glyph_string_box, x_draw_image_relief)
      (x_draw_image_glyph_string, x_draw_stretch_glyph_string)
      (x_draw_underwave, x_draw_glyph_string, x_show_hourglass)
      (XFillRectangle) [HAVE_GTK3]:
      (XTtoggle_invisible_pointer, frame_highlight, frame_unhighlight)
      (x_focus_changed, x_find_modifier_meanings, note_mouse_movement)
      (XTmouse_position, xt_action_hook, xt_horizontal_action_hook)
      (x_send_scroll_bar_event, xm_scroll_callback)
      (xg_scroll_callback, xaw_jump_callback, xaw_scroll_callback)
      (x_set_toolkit_horizontal_scroll_bar_thumb, x_scroll_bar_create)
      (x_scroll_bar_set_handle, XTset_vertical_scroll_bar)
      (XTset_horizontal_scroll_bar, x_scroll_bar_expose)
      (x_scroll_bar_handle_click, x_scroll_bar_note_movement)
      (x_horizontal_scroll_bar_report_motion, x_net_wm_state)
      (handle_one_xevent, XTread_socket, x_draw_bar_cursor)
      (x_draw_window_cursor, x_clear_errors)
      (x_trace_wire, x_new_font, x_set_offset, wm_supports)
      (set_wm_state, x_set_sticky, get_current_wm_state)
      (do_ewmh_fullscreen, x_handle_net_wm_state)
      (x_check_expected_move, x_sync_with_move, x_wait_for_event)
      (x_set_window_size_1, XTframe_raise_lower)
      (x_make_frame_visible, x_iconify_frame)
      (x_timeout_atimer_activated_flag, same_x_server, x_display_ok)
      (x_term_init, x_process_timeouts, x_activate_timeout_atimer)
      (x_delete_terminal, x_initialize, syms_of_xterm):
      Use bool for boolean.
  6. 21 Dec, 2014 1 commit
  7. 20 Dec, 2014 6 commits
  8. 19 Dec, 2014 2 commits