1. 03 Mar, 2015 14 commits
    • Daniel Colascione's avatar
      Use `macroexp-parse-body' · 8b38d30e
      Daniel Colascione authored
      * lisp/emacs-lisp/generator.el: (iter-defun): Use `macroexp-parse-body'.
      
      * test/automated/generator-tests.el (cps-testcase): Use
      (cps-test-declarations-preserved): New test.
      8b38d30e
    • Stefan Monnier's avatar
      * lisp/progmodes/gud.el: Use lexical-binding. · 7133f262
      Stefan Monnier authored
      Fixes: debbugs:19966
      
      * lisp/emacs-lisp/gv.el (gv-ref): Warn about likely problematic cases.
      7133f262
    • Daniel Colascione's avatar
      Address generator feedback · cecf4afe
      Daniel Colascione authored
      * doc/lispref/control.texi (Generators): Correct missing word.  Clarify which
      forms are legal in which parts of `unwind-protect'.  Fix orphaned
      close parenthesis.
      
      * lisp/emacs-lisp/generator.el: Make globals conform to elisp
      style throughout.  Use more efficient font-lock patterns.
      (cps-inhibit-atomic-optimization): Rename from
      `cps-disable-atomic-optimization'.
      (cps--gensym): New macro; replaces `cl-gensym' throughout.
      (cps-generate-evaluator): Move the `iter-yield' local macro
      definition here
      (iter-defun, iter-lambda): from here.
      
      * test/automated/generator-tests.el (cps-test-iter-close-finalizer):
      Rename `gc-precise-p' to `gc-precise'.
      
      * test/automated/generator-tests.el (cps-testcase): Use
      `cps-inhibit-atomic-optimization' instead of
      `cps-disable-atomic-optimization'.
      cecf4afe
    • Daniel Colascione's avatar
      Rename globals in generator.el · 02eb227e
      Daniel Colascione authored
      * lisp/emacs-lisp/generator.el: Make globals conform to elisp
      style throughout.
      02eb227e
    • Glenn Morris's avatar
      generator-tests.el: make cps-test-iter-cleanup-once-only work · 88f8a9d7
      Glenn Morris authored
      * test/automated/generator-tests.el (cps-test-iter-cleanup-once-only):
      Replace undefined incf with cl-incf.
      88f8a9d7
    • Daniel Colascione's avatar
      Rename gc-precise-p to gc-precise · 15ddf7a6
      Daniel Colascione authored
      2015-03-03  Daniel Colascione  <dancol@dancol.org>
      
      	* alloc.c (syms_of_alloc): Rename `gc-precise-p' to `gc-precise'.
      
      2015-03-03  Daniel Colascione  <dancol@dancol.org>
      
      	* automated/finalizer-tests.el (finalizer-basic)
      	(finalizer-circular-reference, finalizer-cross-reference)
      	(finalizer-error): Rename `gc-precise-p' to `gc-precise'.
      
      	* automated/generator-tests.el (cps-test-iter-close-finalizer):
      	Rename `gc-precise-p' to `gc-precise'.
      15ddf7a6
    • Paul Eggert's avatar
      * alloc.c (run_finalizers): Omit unused local. · a6fb5e2d
      Paul Eggert authored
      Also, redo newly-added code as per usual Emacs style.
      a6fb5e2d
    • Glenn Morris's avatar
      Fix some errors in recently added tests · 27c02b02
      Glenn Morris authored
      * test/automated/generator-tests.el (cps-while-incf):
      Replace undefined incf with cl-incf.
      (cps-test-iter-do): Use should not undefined assert.
      27c02b02
    • Glenn Morris's avatar
    • Artur Malabarba's avatar
    • Martin Rudalics's avatar
      Fix calculation of total window sizes after font size changes (Bug#19972). · 1903e25c
      Martin Rudalics authored
      * frame.c (adjust_frame_size): If the pixel sizes remain
      unchanged but the number of lines or columns of the frame
      changes, run `window--pixel-to-total' (Bug#19972).
      (Qwindow_pixel_to_total): DEFSYM it.
      * window.el (window--dump-frame): For pixel height return total
      number of frame's lines.
      1903e25c
    • Daniel Colascione's avatar
      Finalizer documentation, minor improvements · 2cc23f17
      Daniel Colascione authored
      * doc/lispref/objects.texi (Finalizer Type): New section
      (Type Predicates): Mention finalizers in `type-of' documentation.
      * doc/lispref/elisp.texi (Top): Link to finalizer type.
      
      * src/data.c (Ftype_of): Make `type-of' work with finalizers.
      (syms_of_data): Register Qfinalizer.
      
      * src/print.c (print_object): Print whether a finalizer has
      been called.
      
      * test/automated/finalizer-tests.el (finalizer-object-type): Test that
      `type-of' works correctly for finalizers.
      2cc23f17
    • Daniel Colascione's avatar
      Add cl-iter-defun · 8af3e184
      Daniel Colascione authored
      * lisp/emacs-lisp/cl-macs.el (cl-iter-defun): Add cl-iter-defun.
      8af3e184
    • Daniel Colascione's avatar
      Fix docstrings, declarations in iter-defun · 8f0f8c16
      Daniel Colascione authored
      * lisp/emacs-lisp/generator.el (iter-defun): Correctly propagate
      docstrings and declarations to underlying function.
      8f0f8c16
  2. 02 Mar, 2015 5 commits
    • Daniel Colascione's avatar
      Add support for generators · f6b5db6c
      Daniel Colascione authored
      diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
      index 78f7e34..e7d79d5 100644
      --- a/doc/lispref/ChangeLog
      +++ b/doc/lispref/ChangeLog
      @@ -1,3 +1,8 @@
      +2015-03-02  Daniel Colascione  <dancol@dancol.org>
      +
      +	* control.texi (Generators): New section
      +	* elisp.text: Reference new section.
      +
       2015-02-28  Eli Zaretskii  <eliz@gnu.org>
      
       	* searching.texi (Char Classes): Update the documentation of
      diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
      index 448c7f2..4e9c119 100644
      --- a/doc/misc/ChangeLog
      +++ b/doc/misc/ChangeLog
      @@ -1,3 +1,7 @@
      +2015-03-02  Daniel Colascione  <dancol@dancol.org>
      +
      +	* cl.texi (Iteration Clauses): Mention iterator support.
      +
       2015-02-25  Tassilo Horn  <tsdh@gnu.org>
      
       	* reftex.texi (Multifile Documents): Document
      diff --git a/lisp/ChangeLog b/lisp/ChangeLog
      index 7ce2e81..4ab4406 100644
      --- a/lisp/ChangeLog
      +++ b/lisp/ChangeLog
      @@ -1,6 +1,8 @@
       2015-03-02  Daniel Colascione  <dancol@dancol.org>
      
      -	* vc/vc.el (vc-responsible-backend): Add autoload cooking for
      +	* emacs-lisp/generator.el: New file.
      +
      +	* vc/vc.el (vc-responsible-backend): Add autoload cookie for
       	`vc-responsible-backend'.
      
       2015-03-01  Michael Albinus  <michael.albinus@gmx.de>
      diff --git a/test/ChangeLog b/test/ChangeLog
      index 684e98f..64ad851 100644
      --- a/test/ChangeLog
      +++ b/test/ChangeLog
      @@ -1,5 +1,7 @@
       2015-03-02  Daniel Colascione  <dancol@dancol.org>
      
      +	* automated/generator-tests.el: New tests
      +
       	* automated/finalizer-tests.el (finalizer-basic)
       	(finalizer-circular-reference, finalizer-cross-reference)
       	(finalizer-error): New tests.
      f6b5db6c
    • Daniel Colascione's avatar
      Add support for finalizers · 9d8d0658
      Daniel Colascione authored
      +2015-03-02  Daniel Colascione  <dancol@dancol.org>
      +
      +	* NEWS: Mention finalizers.
      +
       2015-02-09  Gareth Rees  <gdr@garethrees.org>  (tiny change)
      
       	* NEWS.24: Fix typo (bug#19820)
      diff --git a/src/ChangeLog b/src/ChangeLog
      index 4aa64c1..2f04d0b 100644
      --- a/src/ChangeLog
      +++ b/src/ChangeLog
      @@ -1,3 +1,21 @@
      +2015-03-02  Daniel Colascione  <dancol@dancol.org>
      +
      +	* print.c (print_object): Print finalizers.
      +
      +	* alloc.c:
      +	(finalizers, doomed_finalizers): New variables.
      +	(init_finalizer_list, finalizer_insert, unchain_finalizer)
      +	(mark_finalizer_list, queue_doomed_finalizers)
      +	(run_finalizer_handler, run_finalizer_function, run_finalizers):
      +	New functions.
      +	(garbage_collect_1, mark_object, sweep_misc)
      +	(init_alloc_once, syms_of_alloc): Support finalizers.
      +	(gc-precise-p): New Lisp variable.
      +
      +	* lisp.h (Lisp_Misc_Type): New value Lisp_Misc_Finalizer.
      +	(FINALIZERP, XFINALIZER): New functions.
      +	(Lisp_Finalizer): New structure.
      +
       2015-02-28  Paul Eggert  <eggert@cs.ucla.edu>
      
       	* character.c (alphabeticp, decimalnump): Avoid undefined behavior
      diff --git a/test/ChangeLog b/test/ChangeLog
      index cf1b2c1..684e98f 100644
      --- a/test/ChangeLog
      +++ b/test/ChangeLog
      @@ -1,3 +1,9 @@
      +2015-03-02  Daniel Colascione  <dancol@dancol.org>
      +
      +	* automated/finalizer-tests.el (finalizer-basic)
      +	(finalizer-circular-reference, finalizer-cross-reference)
      +	(finalizer-error): New tests.
      +
       2015-03-01  Michael Albinus  <michael.albinus@gmx.de>
      
       	* automated/vc-tests.el (vc-test--create-repo): Add check for
      9d8d0658
    • Glenn Morris's avatar
      # Auto-commit of loaddefs files. · b149ecd8
      Glenn Morris authored
      b149ecd8
    • Robert Pluim's avatar
      configure.ac: Error out if with-file-notification=w32 is specified on Cygwin · 04fb1029
      Robert Pluim authored
      Fixes: 19909
      
      Copyright-paperwork-exempt: yes
      04fb1029
    • Daniel Colascione's avatar
      Add autoload cooking for vc-responsible-backend · da02eb55
      Daniel Colascione authored
      * lisp/vc/vc.el (vc-responsible-backend): Add autoload cooking for
      `vc-responsible-backend'.
      da02eb55
  3. 01 Mar, 2015 4 commits
  4. 28 Feb, 2015 5 commits
  5. 27 Feb, 2015 4 commits
    • Jan D's avatar
      Adjust offset and border calculations for X. · 05379435
      Jan D authored
      * xfns.c (x_real_pos_and_offsets): Take outer_border as arg also.
      Initialize all args.  Get outer_border from window attributes.
      Fix typo for top_offset_y.
      (x_real_positions): Adjust for new arg to x_real_pos_and_offsets.
      (Fx_frame_geometry): Get outer_border also.  Use attrs.width/height.
      
      * xmenu.c (x_menu_show): Adjust for new arg to x_real_pos_and_offsets.
      
      * xterm.h (x_real_pos_and_offsets): Take outer_border as arg also.
      05379435
    • Eli Zaretskii's avatar
      Documentation followup for daemon mode on MS-Windows · b2a590d4
      Eli Zaretskii authored
       doc/lispref/os.texi (Startup Summary):
       doc/lispref/display.texi (Window Systems): Mention peculiarities of daemon
       mode on MS-Windows.
      
       etc/NEWS: Mention the new support for daemon mode on MS-Windows.
      b2a590d4
    • Mark Laws's avatar
      Support daemon mode on MS-Windows (bug#19688) · 805fe507
      Mark Laws authored
       src/emacs.c <w32_daemon_event> [WINDOWSNT]: New global var.
       (main) [WINDOWSNT]: Initialize it to NULL.  Create the event to
       signal clients we are ready for connections.
       (Fdaemon_initialized): Use DAEMON_RUNNING.
       [WINDOWSNT]: MS-Windows specific code to signal clients we are
       ready for connections.
       src/lisp.h (DAEMON_RUNNING): New macro, encapsulates Posix and
       MS-Windows conditions for running in daemon mode.
       src/minibuf.c (read_minibuf): Use DAEMON_RUNNING.
       src/keyboard.c (kbd_buffer_get_event): Use DAEMON_RUNNING.
       src/dispnew.c (init_display) [WINDOWSNT]: Initialize frames/terminal
       even in daemon mode.
      
       nt/inc/ms-w32.h (W32_DAEMON_EVENT): New macro.
      
       lib-src/emacsclient.c (decode_options) [WINDOWSNT]: Don't reject empty
       arguments for --alternate-editor.
       (print_help_and_exit) [WINDOWSNT]: Don't refrain from advertising
       empty arguments for --alternate-editor.
       (start_daemon_and_retry_set_socket) [WINDOWSNT]: MS-Windows
       specific code to start Emacs in daemon mode and wait for it to be
       ready for client connections.
      
       lisp/server.el (server-process-filter): Force GUI frames on
       MS-Windows in daemon mode, even if a TTY frame was requested.
       lisp/frameset.el (frameset-keep-original-display-p): Don't assume
       windows-nt cannot be in daemon mode.
       lisp/frame.el (window-system-for-display): Don't assume windows-nt
       cannot be in daemon mode.
      805fe507
    • Paul Eggert's avatar
      Don't require GNU putenv · 6ef14349
      Paul Eggert authored
      * configure.ac: Use system putenv even if it lacks GNU features, as
      we don't need them.  This works around a bug in FreeBSD 10.1 getenv.
      Fixes: bug#19874
      6ef14349
  6. 26 Feb, 2015 8 commits
    • Ivan Shmakov's avatar
      Fix 'face property handling in facemenu-add-face. · 619fc5c1
      Ivan Shmakov authored
      * lisp/faces.el (face-list-p): Split from face-at-point.
      (face-at-point): Use it.
      * lisp/facemenu.el (facemenu-add-face): Likewise.
      
      Fixes: debbugs:19912
      619fc5c1
    • Jan Djärv's avatar
      Don't use OUTER_TO_INNER macros for plain X and lucid. · 5917b790
      Jan Djärv authored
      * xmenu.c (create_and_show_popup_menu): Call XTranslateCoordinates,
      dont use OUTER_TO_INNER macros.
      (x_menu_show): Call x_real_pos_and_offsets, don't use
      OUTER_TO_INNER macros.
      5917b790
    • Oscar Fuentes's avatar
      Fixed previous ChangeLog entry · 0ed52489
      Oscar Fuentes authored
      0ed52489
    • Oscar Fuentes's avatar
      Use vc-switches on vc-*-annotate-command · b5a0603e
      Oscar Fuentes authored
      This also removes switch "-C -C" from vc-git-annotate-command.
      
      Fixes: debbugs:17945
      
      * vc/vc.el (vc-annotate-switches): New defcustom.
      * vc/vc-bzr.el (vc-bzr-annotate-switches): New defcustom.
      (vc-bzr-annotate-command): Use it.
      * vc/vc-cvs.el (vc-cvs-annotate-switches): New defcustom.
      (vc-cvs-annotate-command): Use it.
      * vc/vc-git.el (vc-git-annotate-switches): New defcustom.
      (vc-git-annotate-command): Use it.
      * vc/vc-hg.el (vc-hg-annotate-switches): New defcustom.
      (vc-hg-annotate-command): Use it.
      * vc/vc-mtn.el (vc-mtn-annotate-switches): New defcustom.
      (vc-mtn-annotate-command): Use it.
      * vc/vc-svn.el (vc-svn-annotate-switches): New defcustom.
      (vc-svn-annotate-command): Use it.
      b5a0603e
    • Paul Eggert's avatar
      Merge from origin/emacs-24 · d8e91221
      Paul Eggert authored
      e726f205 Handle "#" operator properly inside macro.  Fix coding bug.
      618931b5 Handle dead frame in menu-bar-non-minibuffer-window-p.  (Bug#19728)
      017a03af Document MS-Windows file-name idiosyncrasies  (Bug#19463)
      f3faf4f0 Fix description of Customize buffer in Emacs manual.
      1c1d0b75 Fix a typo in the Emacs manual's Hungry Delete description.
      be7fb822 src/dispextern.h (FACE_FOR_CHAR): Fix the commentary.
      33c4409a Spelling fixes
      6c8231ee python.el: Handle tabs in python-indent-dedent-line.
      41c3b924 * lisp/progmodes/python.el: Respect user indentation after comment.
      868df451 Avoid compiler warnings in decode_env_path.
      b28c9794 Fix XEmacs version typo in comment and ChangeLog
      989fb320 Improve solution of bug #19701
      63105304 Fix refilling of list of language environments in User Manual
      c4c447d8 Restore XEmacs compatibility
      
      Conflicts:
      	doc/emacs/ChangeLog
      	lisp/ChangeLog
      	src/ChangeLog
      	test/ChangeLog
      d8e91221
    • Paul Eggert's avatar
      Merge from origin/emacs-24 · cbd447e1
      Paul Eggert authored
      The following commits were skipped:
      
      b75358e9 Merge remote-tracking branch 'origin/emacs-24' into emacs-24
      c96c93fa [Backport] lisp/gnus/message.el (message-smtpmail-send-it): Make non-standard mail header separators work with smtpmail
      972282f3 [Backport] lisp/gnus/message.el (message-smtpmail-send-it): Make non-standard mail header separators work with smtpmail
      cbd447e1
    • Paul Eggert's avatar
      Merge from origin/emacs-24 · 4d36e524
      Paul Eggert authored
      7779da6f lisp/gnus/nimap.el (nnimap-find-expired-articles): nnimap `never' expiration fix
      4d36e524
    • Paul Eggert's avatar
      Merge from origin/emacs-24 · b6964cb0
      Paul Eggert authored
      The following commit was skipped:
      
      9ee2d9f9 [Backport] lisp/gnus/nnimap.el (nnimap-find-expired-articles): nnimap `never' expiration fix
      b6964cb0