<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test, branch scratch/dbusbind-type-tests</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>dbusbind: Check required args following :type</title>
<updated>2015-09-03T09:20:31+00:00</updated>
<author>
<name>Daiki Ueno</name>
</author>
<published>2015-09-03T09:19:12+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=def5829c0769b142b3cc0d69a9ad58935a9f237f'/>
<id>def5829c0769b142b3cc0d69a9ad58935a9f237f</id>
<content type='text'>
* src/dbusbind.c (xd_build_message): If no argument follows a type
specification, pass Qnil as OBJECT argument of
xd_append_arg_with_type_spec.
* test/automated/dbus-tests.el
(dbus-test04-create-message-parameters): Remove a temporary
comment.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/dbusbind.c (xd_build_message): If no argument follows a type
specification, pass Qnil as OBJECT argument of
xd_append_arg_with_type_spec.
* test/automated/dbus-tests.el
(dbus-test04-create-message-parameters): Remove a temporary
comment.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix minor glitches in D-Bus code.</title>
<updated>2015-09-02T13:54:00+00:00</updated>
<author>
<name>Michael Albinus</name>
</author>
<published>2015-09-02T13:54:00+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=8987263eb638e916b14b68e45d4b037f480f80e1'/>
<id>8987263eb638e916b14b68e45d4b037f480f80e1</id>
<content type='text'>
* src/dbusbind.c (xd_build_message): New arg CALLER.
(Fdbus_message_internal, Fdbus_message_internal_to_lisp): Use it.
(XD_ADD_HEADER): Rename from ADD_HEADER.
(syms_of_dbusbind): Declare Qdbus_message_internal_to_lisp.

* test/automated/dbus-tests.el
(dbus--test-create-message-with-args): Add docstring.  Use Emacs
namespace for interface and path.
(dbus-test04-create-message-parameters): Add tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/dbusbind.c (xd_build_message): New arg CALLER.
(Fdbus_message_internal, Fdbus_message_internal_to_lisp): Use it.
(XD_ADD_HEADER): Rename from ADD_HEADER.
(syms_of_dbusbind): Declare Qdbus_message_internal_to_lisp.

* test/automated/dbus-tests.el
(dbus--test-create-message-with-args): Add docstring.  Use Emacs
namespace for interface and path.
(dbus-test04-create-message-parameters): Add tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>dbus-tests: Add new testcase for parameter types</title>
<updated>2015-09-02T06:49:37+00:00</updated>
<author>
<name>Daiki Ueno</name>
</author>
<published>2015-09-02T06:49:19+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=179aa636ab9521e097fd0bb9218b07e679026163'/>
<id>179aa636ab9521e097fd0bb9218b07e679026163</id>
<content type='text'>
* test/automated/dbus-tests.el
(dbus--test-create-message-with-args): New helper function.
(dbus-test04-create-message-parameters): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/automated/dbus-tests.el
(dbus--test-create-message-with-args): New helper function.
(dbus-test04-create-message-parameters): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test case for ‘format’ bug and refactor</title>
<updated>2015-08-27T15:52:02+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2015-08-27T15:50:22+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6dbe056b9beec0b9ff6c84331a49c568408dbbaa'/>
<id>6dbe056b9beec0b9ff6c84331a49c568408dbbaa</id>
<content type='text'>
* src/editfns.c (styled_format): Refactor internally, mostly by
moving declarations closer to uses.  This should not affect behavior.
* test/automated/textprop-tests.el (textprop-tests-format): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/editfns.c (styled_format): Refactor internally, mostly by
moving declarations closer to uses.  This should not affect behavior.
* test/automated/textprop-tests.el (textprop-tests-format): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Assume GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS</title>
<updated>2015-08-27T02:24:58+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2015-08-27T02:24:28+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=60d1b18734fff144f1608da6228d60e4bda7b24c'/>
<id>60d1b18734fff144f1608da6228d60e4bda7b24c</id>
<content type='text'>
This removes the need for GCPRO1 etc.  Suggested by Stefan Monnier in:
http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
* doc/lispref/internals.texi (Writing Emacs Primitives):
* etc/NEWS:
Document the change.
* src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
(nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
(Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
* src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
* src/eval.c (gcpro_level) [DEBUG_GCPRO]:
* src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
(GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
(GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
(BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
(GCPRO7, UNGCPRO, RETURN_UNGCPRO):
Remove.  All uses removed.  The code now assumes
GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
* src/bytecode.c (relocate_byte_stack):
Rename from unmark_byte_stack, since it now only relocates.
All callers changed.
* src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
with GCPROs removed.
* src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
* test/automated/finalizer-tests.el (finalizer-basic)
(finalizer-circular-reference, finalizer-cross-reference)
(finalizer-error):
* test/automated/generator-tests.el (cps-test-iter-close-finalizer):
Remove tests, as they depend on gc-precise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes the need for GCPRO1 etc.  Suggested by Stefan Monnier in:
http://lists.gnu.org/archive/html/emacs-devel/2015-08/msg00918.html
* doc/lispref/internals.texi (Writing Emacs Primitives):
* etc/NEWS:
Document the change.
* src/alloc.c (gcprolist, dump_zombies, MAX_ZOMBIES, zombies)
(nzombies, ngcs, avg_zombies, max_live, max_zombies, avg_live)
(Fgc_status, check_gcpros, relocatable_string_data_p, gc-precise):
* src/bytecode.c (mark_byte_stack) [BYTE_MARK_STACK]:
* src/eval.c (gcpro_level) [DEBUG_GCPRO]:
* src/lisp.h (struct handler.gcpro, struct gcpro, GC_MARK_STACK)
(GC_USE_GCPROS_AS_BEFORE, GC_MAKE_GCPROS_NOOPS)
(GC_MARK_STACK_CHECK_GCPROS, GC_USE_GCPROS_CHECK_ZOMBIES)
(BYTE_MARK_STACK, GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6)
(GCPRO7, UNGCPRO, RETURN_UNGCPRO):
Remove.  All uses removed.  The code now assumes
GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
* src/bytecode.c (relocate_byte_stack):
Rename from unmark_byte_stack, since it now only relocates.
All callers changed.
* src/frame.c (make_frame): Add an IF_LINT to pacify GCC 5.2
with GCPROs removed.
* src/systime.h: Use EMACS_LISP_H as the canary instead of GCPRO1.
* test/automated/finalizer-tests.el (finalizer-basic)
(finalizer-circular-reference, finalizer-cross-reference)
(finalizer-error):
* test/automated/generator-tests.el (cps-test-iter-close-finalizer):
Remove tests, as they depend on gc-precise.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve seq-concatenate for new sequence types</title>
<updated>2015-08-26T22:29:22+00:00</updated>
<author>
<name>Nicolas Petton</name>
</author>
<published>2015-08-26T22:21:38+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=259a643d7f7c56976ff794cbdba8f5c70c795091'/>
<id>259a643d7f7c56976ff794cbdba8f5c70c795091</id>
<content type='text'>
Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
ensure that concatenation happens on sequences only.  This makes it
possible to use `seq-concatenate' for new types of seqs.

* lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate): New
function used in `seq-concatenate'.
* test/automated/seq-tests.el (test-seq-into-sequence): New unit test
for seq-into-sequence.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the new `seq-into-sequence' in seqs passed to `seq-concatenate' to
ensure that concatenation happens on sequences only.  This makes it
possible to use `seq-concatenate' for new types of seqs.

* lisp/emacs-lisp/seq.el (seq-into-sequence, seq-concatenate): New
function used in `seq-concatenate'.
* test/automated/seq-tests.el (test-seq-into-sequence): New unit test
for seq-into-sequence.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add mode local overrides to xref-find-definitions</title>
<updated>2015-08-26T21:58:57+00:00</updated>
<author>
<name>Stephen Leake</name>
</author>
<published>2015-08-26T21:43:29+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=64fbdc9825ad98ebbc8c021442c1f3c3ba0fd1b1'/>
<id>64fbdc9825ad98ebbc8c021442c1f3c3ba0fd1b1</id>
<content type='text'>
* lisp/cedet/mode-local.el (xref-mode-local--override-present,
xref-mode-local-overload): New; add mode local overrides to
xref-find-definitions.

* test/automated/elisp-mode-tests.el: Add mode local override tests.
(xref-elisp-test-run): Handle indented defuns.
(xref-elisp-generic-*): Improve doc strings.

* lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
(elisp--xref-find-definitions): Use it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/cedet/mode-local.el (xref-mode-local--override-present,
xref-mode-local-overload): New; add mode local overrides to
xref-find-definitions.

* test/automated/elisp-mode-tests.el: Add mode local override tests.
(xref-elisp-test-run): Handle indented defuns.
(xref-elisp-generic-*): Improve doc strings.

* lisp/progmodes/elisp-mode.el (elisp-xref-find-def-functions): New.
(elisp--xref-find-definitions): Use it.
</pre>
</div>
</content>
</entry>
<entry>
<title>* lisp/net/tramp-sh.el (tramp-stat-marker, tramp-stat-quoted-marker):</title>
<updated>2015-08-24T12:26:57+00:00</updated>
<author>
<name>Michael Albinus</name>
</author>
<published>2015-08-24T12:26:57+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7eab29d251b893d5b7f87f1801706a86043fa428'/>
<id>7eab29d251b893d5b7f87f1801706a86043fa428</id>
<content type='text'>
New defconsts.
(tramp-do-file-attributes-with-stat)
(tramp-do-directory-files-and-attributes-with-stat): Use them.
(tramp-convert-file-attributes): Remove double slashes in symlinks.

* test/automated/tramp-tests.el (tramp-test18-file-attributes):
Handle symlinks with "//" in the file name.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New defconsts.
(tramp-do-file-attributes-with-stat)
(tramp-do-directory-files-and-attributes-with-stat): Use them.
(tramp-convert-file-attributes): Remove double slashes in symlinks.

* test/automated/tramp-tests.el (tramp-test18-file-attributes):
Handle symlinks with "//" in the file name.
</pre>
</div>
</content>
</entry>
<entry>
<title>python.el: Fix python-shell-buffer-substring on indented code</title>
<updated>2015-08-23T22:56:47+00:00</updated>
<author>
<name>Fabián Ezequiel Gallina</name>
</author>
<published>2015-08-23T22:55:54+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=af013e0d4a76f0a2fd4a0e76912e8e49ae86ec2e'/>
<id>af013e0d4a76f0a2fd4a0e76912e8e49ae86ec2e</id>
<content type='text'>
Fixes: debbugs:21086

* lisp/progmodes/python.el (python-shell-buffer-substring):
Respect current line indentation when calculating string.

* test/automated/python-tests.el
(python-shell-buffer-substring-10)
(python-shell-buffer-substring-11)
(python-shell-buffer-substring-12): New tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: debbugs:21086

* lisp/progmodes/python.el (python-shell-buffer-substring):
Respect current line indentation when calculating string.

* test/automated/python-tests.el
(python-shell-buffer-substring-10)
(python-shell-buffer-substring-11)
(python-shell-buffer-substring-12): New tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make seq.el more extensible by using cl-defmethod</title>
<updated>2015-08-23T17:50:26+00:00</updated>
<author>
<name>Nicolas Petton</name>
</author>
<published>2015-08-14T20:33:10+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e7be9861962a5a399047e86a254c2534d5d4d146'/>
<id>e7be9861962a5a399047e86a254c2534d5d4d146</id>
<content type='text'>
* lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
make it easier to extend seq.el with new "seq types".
* test/automated/seq-tests.el (test-setf-seq-elt): New test.
* lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
subseq in cl-extra.el, and use it in seq.el.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/emacs-lisp/seq.el: Define seq.el functions using cl-defmethod to
make it easier to extend seq.el with new "seq types".
* test/automated/seq-tests.el (test-setf-seq-elt): New test.
* lisp/emacs-lisp/cl-extra.el (cl-subseq): Move back the definition of
subseq in cl-extra.el, and use it in seq.el.
</pre>
</div>
</content>
</entry>
</feed>
