1. 21 Feb, 2013 4 commits
  2. 20 Feb, 2013 2 commits
    • Fabián Ezequiel Gallina's avatar
      * progmodes/python.el (python-info-current-defun): Enhance · c132ab79
      Fabián Ezequiel Gallina authored
      match-data cluttering prevention.
      c132ab79
    • Fabián Ezequiel Gallina's avatar
      Added intial test suite for python.el. · 4dddd5dc
      Fabián Ezequiel Gallina authored
      * automated/python-tests.el
      (python-tests-with-temp-buffer): New macro.
      (python-tests-look-at): New function.
      (python-tests-look-at-1)
      (python-tests-look-at-2)
      (python-indent-pep8-1)
      (python-indent-pep8-2)
      (python-indent-pep8-3)
      (python-indent-inside-paren-1)
      (python-indent-inside-paren-2)
      (python-indent-after-block-1)
      (python-indent-after-block-2)
      (python-indent-dedenters-1)
      (python-indent-after-backslash-1)
      (python-indent-after-backslash-2)
      (python-nav-beginning-of-defun-1)
      (python-nav-beginning-of-defun-2)
      (python-nav-end-of-defun-1)
      (python-nav-end-of-defun-2)
      (python-nav-beginning-of-statement-1)
      (python-nav-end-of-statement-1)
      (python-nav-forward-statement-
      (python-nav-backward-statement-1)
      (python-nav-backward-statement-2)
      (python-nav-beginning-of-block-1)
      (python-nav-end-of-block-1)
      (python-nav-forward-block-1)
      (python-nav-lisp-forward-sexp-safe-1)
      (python-nav-forward-sexp-1)
      (python-nav-forward-sexp-2)
      (python-nav-forward-sexp-3)
      (python-nav-up-list-1)
      (python-nav-backward-up-list-1)
      (python-imenu-prev-index-position-1)
      (python-info-current-defun-1)
      (python-info-current-defun-2)
      (python-info-current-defun-3)
      (python-info-current-symbol-1)
      (python-info-current-symbol-2)
      (python-info-current-symbol-3)
      (python-info-statement-starts-block-p-1)
      (python-info-statement-starts-block-p-2)
      (python-info-statement-ends-block-p-1)
      (python-info-statement-ends-block-p-2)
      (python-info-beginning-of-statement-p-1)
      (python-info-beginning-of-statement-p-2)
      (python-info-end-of-statement-p-1)
      (python-info-end-of-statement-p-2)
      (python-info-beginning-of-block-p-1)
      (python-info-beginning-of-block-p-2)
      (python-info-end-of-block-p-1)
      (python-info-end-of-block-p-2)
      (python-info-closing-block-1)
      (python-info-closing-block-2)
      (python-info-line-ends-backslash-p-1)
      (python-info-beginning-of-backslash-1)
      (python-info-continuation-line-p-1)
      (python-info-block-continuation-line-p-1)
      (python-info-block-continuation-line-p-2)
      (python-info-assignment-continuation-line-p-1)
      (python-info-assignment-continuation-line-p-2)
      (python-info-looking-at-beginning-of-defun-1)
      (python-info-current-line-comment-p-1)
      (python-info-current-line-empty-p)
      (python-util-goto-line-1)
      (python-util-clone-local-variables-1)
      (python-util-forward-comment-1): New tests.
      4dddd5dc
  3. 19 Feb, 2013 5 commits
  4. 18 Feb, 2013 3 commits
  5. 17 Feb, 2013 2 commits
    • Eli Zaretskii's avatar
      Fix bug #13735 with network streams on MS-Windows. · ae11bda5
      Eli Zaretskii authored
      Revert changes to w32proc.c done since 2012-11-30T09:23:15Z!eliz@gnu.org.
      
      Do NOT merge to trunk!
      
       src/w32proc.c (new_child): Remove the loop that attempted to salvage
       slots of dead processes.
       (new_child, delete_child, find_child_pid): Don't insist on
       procinfo.hProcess be NULL for a process slot to be considered
       inactive, or be non-NULL to be considered active.
       (reader_thread): Don't set the FILE_AT_EOF flag of a file
       descriptor if the corresponding child was deleted and its
       char_avail handle is NULL.
       (reap_subprocess): Don't reset the FILE_AT_EOF flag.
       (sys_select): Don't pass a NULL process handle to
       WaitForMultipleObjects.
      
      Fixes: debbugs:13735 debbugs:13546
      ae11bda5
    • Eli Zaretskii's avatar
      Fix bug #13723 with redrawing vertical border in GUI sessions. · fd80c659
      Eli Zaretskii authored
       src/xdisp.c (x_draw_vertical_border): For a window that is neither
       the leftmost nor the rightmost, redraw both the left and the right
       vertical borders.
      fd80c659
  6. 16 Feb, 2013 2 commits
  7. 15 Feb, 2013 4 commits
    • Eli Zaretskii's avatar
    • Glenn Morris's avatar
      Auto-commit of generated files. · 1d461514
      Glenn Morris authored
      1d461514
    • Eli Zaretskii's avatar
      Allow deleted processes to be reaped by SIGCHLD handler on MS-Windows. · ef862e20
      Eli Zaretskii authored
       src/w32proc.c (new_child): Free up to 2 slots of dead processes at a
       time.  Improve diagnostics in DebPrint.
       (reader_thread): If cp->char_avail is NULL, set the FILE_AT_EOF
       flag, so that sys_select could have a chance of noticing that this
       process is dead, and call a SIGCHLD handler for it.  Improve
       diagnostics in DebPrint.
       (reap_subprocess): Reset the FILE_AT_EOF flag set by
       reader_thread.
       (sys_select): Watch a process whose procinfo.hProcess is non-NULL
       even if its char_avail is NULL.  Allows to reap subprocesses that
       were forcibly deleted by delete-process.  (Bug#13546)
      ef862e20
    • Eli Zaretskii's avatar
      Improve error reporting as part of solving bug #13546 on MS-Windows. · bcf7fe2a
      Eli Zaretskii authored
       src/w32.c (sys_socket, sys_bind, sys_connect, sys_gethostname)
       (sys_gethostbyname, sys_getservbyname, sys_getpeername)
       (sys_shutdown, sys_setsockopt, sys_listen, sys_getsockname)
       (sys_accept, sys_recvfrom, sys_sendto, fcntl): In case of failure,
       make sure errno is set to an appropriate value.  (Bug#13546)
       (socket_to_fd): Add assertion against indexing fd_info[] with a
       value that is out of bounds.
       (sys_accept): If fd is negative, do not set up the child_process
       structure for reading.
      bcf7fe2a
  8. 14 Feb, 2013 6 commits
    • Paul Eggert's avatar
      Backport GCPRO fix from trunk. · 974c7646
      Paul Eggert authored
      The bug was reported for AIX before today's changes.
      I reproduced the problem on Fedora 17 x86-64 when setting
      GC_MARK_STACK by hand, and I presume it occurs with default
      configurations on HP-UX and Unixware.
      Trunk fix on 2013-01-14 by Dmitry Antipov <dmantipov@yandex.ru>:
      Fix compilation with GC_MARK_STACK == GC_USE_GCPROS_AS_BEFORE.
      * eval.c (eval_sub): Protect `form' from being GCed before its
      car and cdr becomes protected with the backtrace entry.
      
      Fixes: debbugs:13650
      974c7646
    • Paul Eggert's avatar
      Fix AIX port. · 35b3a27e
      Paul Eggert authored
      * configure.ac (DATA_START, DATA_SEG_BITS): Set to 0x20000000 on AIX.
      (GC_MARK_STACK): Do not set to GC_USE_GCPROS_AS_BEFORE, as that
      runs afoul of some other bug in Emacs, and the default value
      GC_MAKE_GCPROS_NOOPS has been tested and works.
      * src/lisp.h (XPNTR) [!USE_LSB_TAG && DATA_SEG_BITS]:
      Fix bug introduced in 2012-07-27 change.  DATA_SEG_BITS, if set,
      was #undeffed earlier, so it cannot be used as a macro here.
      Use the constant and not the macro.  Tested on AIX.
      * src/unexaix.c: Revert 2013-02-11 and 2013-02-12 changes to this
      file.  They're almost surely OK but we're just before a release so
      we should avoid changes unless they're clearly needed.  Instead,
      make the following minor change:
      (ADDR_CORRECT): New macro.
      
      Fixes: debbugs:13650
      35b3a27e
    • Glenn Morris's avatar
    • Stefan Monnier's avatar
      * lisp/net/goto-addr.el (goto-address-fontify): Add start and end args. · 213ac168
      Stefan Monnier authored
      (goto-address-fontify-region): Use them instead of narrowing, so
      syntax-ppss has access to the whole buffer.
      213ac168
    • Glenn Morris's avatar
    • Fabián Ezequiel Gallina's avatar
      * progmodes/python.el: Explain how to restore "cc-mode"-like · ea5f4192
      Fabián Ezequiel Gallina authored
      forward-sexp movement in header documentation.
      (python-nav--forward-sexp): Behave like emacs-lisp-mode in
      comments and strings (GH bug 114).
      
      Fixes: debbugs:13642
      ea5f4192
  9. 13 Feb, 2013 8 commits
  10. 12 Feb, 2013 4 commits