1. 26 Jul, 2014 1 commit
    • Andreas Schwab's avatar
      Reorder conditions that are written backwards · 3acf58ee
      Andreas Schwab authored
      * alloc.c (xnmalloc, xnrealloc, xpalloc, make_save_value)
      (Fgarbage_collect): Reorder conditions that are written backwards.
      * data.c (cons_to_unsigned): Likewise.
      * dispnew.c (update_frame_1, sit_for): Likewise.
      * fileio.c (file_offset): Likewise.
      * filelock.c (read_lock_data, lock_file): Likewise.
      * fns.c (larger_vector, make_hash_table, Fmake_hash_table):
      Likewise.
      * font.c (font_intern_prop, font_style_symbolic): Likewise.
      * lisp.h (FIXNUM_OVERFLOW_P): Likewise.
      * lread.c (read1): Likewise.
      * minibuf.c (read_minibuf_noninteractive): Likewise.
      * nsterm.m (x_set_frame_alpha): Likewise.
      * process.c (wait_reading_process_output): Likewise.
      * region-cache.c (delete_cache_boundaries): Likewise.
      * xterm.c (x_set_frame_alpha): Likewise.
      3acf58ee
  2. 25 Jul, 2014 7 commits
    • Paul Eggert's avatar
      * dispextern.h, xdisp.c (hourglass_shown_p, hourglass_atimer): · a072c708
      Paul Eggert authored
      Now static.
      a072c708
    • Dmitry Antipov's avatar
      * atimer.c (set_alarm) [HAVE_ITIMERSPEC]: Use TIMER_ABSTIME · 77109fa8
      Dmitry Antipov authored
      because atimer expiration is absolute rather than relative.
      77109fa8
    • Eli Zaretskii's avatar
      Fix last commit in w32term.c. · 4e69163f
      Eli Zaretskii authored
       src/w32term.h (current_popup_menu, menubar_in_use): Move
       declarations from w32term.c.
      4e69163f
    • Glenn Morris's avatar
      ediff: Replace obsolete toggle-read-only with read-only-mode · b61f5e45
      Glenn Morris authored
      * lisp/vc/ediff-init.el (ediff-toggle-read-only-function):
      * lisp/vc/ediff-util.el (ediff-toggle-read-only):
      Replace obsolete toggle-read-only with read-only-mode.
      b61f5e45
    • Martin Rudalics's avatar
      Provisionally fix Windows build broken by last commit. · c3dfb46e
      Martin Rudalics authored
      * w32fns.c (menubar_in_use): No more static.
      * w32term.c (current_popup_menu, menubar_in_use): Declare.
      c3dfb46e
    • Dmitry Antipov's avatar
      Fix ChangeLog typo. · 2d471498
      Dmitry Antipov authored
      2d471498
    • Dmitry Antipov's avatar
      Move hourglass machinery to RIF. · 88cd403c
      Dmitry Antipov authored
      * dispextern.h (struct redisplay_interface): New members
      show_hourglass and hide_hourglass.  Indent comments.
      (show_hourglass, hide_hourglass): Remove prototypes.
      * nsterm.m (show_hourgass, hide_hourglass): Refactor to ...
      (ns_show_hourglass, ns_hide_hourglass): ... new no-ops.
      (ns_redisplay_interface): Add them.
      * w32fns.c (show_hourglass, hide_hourglass): Refactor to ...
      * w32term.c (w32_show_hourglass, w32_hide_hourglass): ... these.
      (w32_arrow_cursor): New function to hack around non-GUI frames.
      (w32_redisplay_interface): Add new functions.
      * w32term.h (w32_arror_cursor): Add prototype.
      * xdisp.c (show_hourglass): New function, refactored out from
      platform-dependend code.
      (cancel_hourglass): Now call to RIF function.
      * xfns.c (show_hourglass, hide_hourglass): Refactor to ...
      * xterm.c (x_show_hourglass, x_hide_hourglass): ... these.
      (x_redisplay_interface): Add new functions.
      88cd403c
  3. 24 Jul, 2014 2 commits
  4. 23 Jul, 2014 1 commit
  5. 22 Jul, 2014 3 commits
  6. 21 Jul, 2014 12 commits
  7. 20 Jul, 2014 5 commits
  8. 19 Jul, 2014 5 commits
    • Fabián Ezequiel Gallina's avatar
      Fix Python shell prompts detection for remote hosts. · eb8cb39e
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el (python-shell-prompt-detect): Replace
      call-process with process-file and make it more robust.
      eb8cb39e
    • Stefan Monnier's avatar
      a54493b0
    • Kenichi Handa's avatar
      2014-07-19 Kenichi Handa <handa@gnu.org> · bf0d3f76
      Kenichi Handa authored
      	* xfaces.c (realize_x_face): Call font_load_for_lface with no
      	mandatory font spec (Bug#17973).
      
      2014-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
      
      	* font.c (font_score): Return the worst score if the size of
      	ENTITY is wrong by more than a factor 2 (Bug#17973).
      bf0d3f76
    • Fabián Ezequiel Gallina's avatar
      Autodetect Python shell prompts. · d949ade3
      Fabián Ezequiel Gallina authored
      * lisp/progmodes/python.el:
      (python-shell-interpreter-interactive-arg)
      (python-shell-prompt-detect-enabled)
      (python-shell-prompt-detect-failure-warning)
      (python-shell-prompt-input-regexps)
      (python-shell-prompt-output-regexps): New vars.
      (python-shell-prompt-calculated-input-regexp)
      (python-shell-prompt-calculated-output-regexp): New vars.
      (python-shell-get-process-name)
      (python-shell-internal-get-process-name)
      (python-shell-output-filter)
      (python-shell-completion-get-completions): Use them.
      (python-shell-prompt-detect)
      (python-shell-prompt-validate-regexps): New functions.
      (python-shell-prompt-set-calculated-regexps): New function.
      (inferior-python-mode): Use it.  Also honor overriden
      python-shell-interpreter and python-shell-interpreter-args.
      (python-shell-make-comint): Honor overriden
      python-shell-interpreter and python-shell-interpreter-args.
      (python-shell-get-or-create-process): Make it testable by allowing
      to call run-python non-interactively.
      (python-util-valid-regexp-p): New function.
      (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
      (python-shell-prompt-output-regexp)
      (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
      
      * test/automated/python-tests.el (python-shell-make-comint-1):
      (python-shell-make-comint-2): Fix indentation.
      (python-shell-make-comint-3)
      (python-shell-make-comint-4): New tests.
      (python-shell-get-or-create-process-1): Fix test.
      (python-shell-get-or-create-process-2)
      (python-shell-get-or-create-process-3): New tests.
      (python-shell-internal-get-or-create-process-1): Fix test.
      (python-shell-prompt-detect-1): New test.
      (python-shell-prompt-detect-2): New test.  (Bug#17370)
      (python-shell-prompt-detect-3)
      (python-shell-prompt-detect-4)
      (python-shell-prompt-detect-5)
      (python-shell-prompt-detect-6)
      (python-shell-prompt-validate-regexps-1)
      (python-shell-prompt-validate-regexps-2)
      (python-shell-prompt-validate-regexps-3)
      (python-shell-prompt-validate-regexps-4)
      (python-shell-prompt-validate-regexps-5)
      (python-shell-prompt-validate-regexps-6)
      (python-shell-prompt-validate-regexps-7)
      (python-shell-prompt-set-calculated-regexps-1)
      (python-shell-prompt-set-calculated-regexps-2)
      (python-shell-prompt-set-calculated-regexps-3)
      (python-shell-prompt-set-calculated-regexps-4)
      (python-shell-prompt-set-calculated-regexps-5)
      (python-shell-prompt-set-calculated-regexps-6)
      (python-util-valid-regexp-p-1): New tests.
      d949ade3
    • Stefan Monnier's avatar
      * lisp/rect.el (rectangle--string-preview): Don't assume there · 31ca1841
      Stefan Monnier authored
      a non-nil default.
      
      Fixes: debbugs:17984
      31ca1841
  9. 18 Jul, 2014 3 commits
    • Dmitry Antipov's avatar
      Prefer 'x_display_info *' to 'Display *' in X selection code. · 1a5db9eb
      Dmitry Antipov authored
      This helps to avoid unneeded calls to x_display_info_for_display.
      * xterm.h (struct selection_input_event): Record 'x_display_info *'
      instead of 'Display *'.
      (SELECTION_EVENT_DPYINFO): New macro.
      (SELECTION_EVENT_DISPLAY): Now inline function to prohibit using
      it as an lvalue.  Mention this in comment.
      * xterm.c (handle_one_xevent): Use SELECTION_EVENT_DPYINFO.
      * xselect.c (x_get_window_property_as_lisp_data, x_atom_to_symbol)
      (selection_data_to_lisp_data, receive_incremental_selection):
      Convert to use 'x_display_info *'.  Adjust users where appropriate.
      (lisp_data_to_selection_data): Likewise.  Also pass 'struct
      selection data *' as last arg to not return values in args.
      (unexpect_property_change): Use common removal technique.
      1a5db9eb
    • Albert Krewinkel's avatar
      * lisp/gnus/gnus-msg.el (gnus-configure-posting-style): · 32a60830
      Albert Krewinkel authored
      Allow string replacements in values when matching against a header.
      
      * doc/misc/gnus.texi (Posting Styles): Document the possibility to
      perform string replacements when matching against headers.
      32a60830
    • Dmitry Antipov's avatar
      * frame.c (frame_unspecified_color): New function · 0e604077
      Dmitry Antipov authored
      refactored out from ...
      (Fframe_parameters, Fframe_parameter): ... adjusted users.
      (x_fullscreen_adjust, set_frame_param): Move Windows-specific
      function to ...
      * w32term.c (x_fullscreen_adjust, set_frame_param): ... static here.
      * frame.h (x_fullscreen_adjust) [HAVE_NTGUI]:
      * lisp.h (set_frame_param): Remove prototype.
      * xterm.c (x_display_pixel_width, x_display_pixel_height): Now ...
      * xterm.h (x_display_pixel_width, x_display_pixel_height): ...
      inlined from here.
      0e604077
  10. 17 Jul, 2014 1 commit