1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

39 Commits

Author SHA1 Message Date
Stefan Monnier
857387516c Merge from emacs-23 branch 2010-03-30 22:37:57 -04:00
Juri Linkov
dc2d2590b2 Make occur handle multi-line matches cleanly with context.
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html

* replace.el (occur-accumulate-lines): Add optional arg `pt'.
(occur-engine): Add local variables `ret', `prev-after-lines',
`prev-lines'.  Use more arguments for `occur-context-lines'.
Set first elem of its returned list to `data', and the second elem
to `prev-after-lines'.  Don't print the separator line.
In the end, print remaining context after-lines.
(occur-context-lines): Add new arguments `begpt', `endpt',
`lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
after-lines of the previous match with before-lines of the
current match and not overlap them.  Return a list with two
values: the output line and the list of context after-lines.

* search.texi (Other Repeating Search): Remove line that `occur'
can not handle multiline matches.

* occur-testsuite.el (occur-tests): Add tests for context lines.
2010-03-30 19:03:08 +03:00
Chong Yidong
3cbcd186e1 Add a test function from semantic-test.el to semantic-ia-utest.el.
* cedet/semantic-ia-utest.el
(semantic-symref-test-count-hits-in-tag): Add function, from
semantic-test.el.
2010-03-29 17:35:39 -04:00
Chong Yidong
a4100ebe29 Update Semantic test copyrights, delete some test files (Bug#4656).
* cedet/tests/test.cpp:
* cedet/tests/test.py:
* cedet/tests/teststruct.cpp:
* cedet/tests/testtemplates.cpp:
* cedet/tests/testusing.cpp:
* cedet/tests/scopetest.cpp:
* cedet/tests/scopetest.java: Files deleted.

* cedet/tests/test.make:
* cedet/tests/test.c:
* cedet/tests/testjavacomp.java:
* cedet/tests/testspp.c:
* cedet/tests/testsppreplace.c:
* cedet/tests/testsppreplaced.c:
* cedet/tests/testsubclass.cpp:
* cedet/tests/testsubclass.hh:
* cedet/tests/testtypedefs.cpp:
* cedet/tests/testvarnames.c:
* cedet/tests/test.el:
* cedet/tests/testdoublens.cpp:
* cedet/tests/testdoublens.hpp: Add copyright header.

* cedet/semantic-tests.el (semanticdb-test-gnu-global): Remove
reference to deleted files.
2010-03-29 17:26:49 -04:00
Stefan Monnier
e867cb5d30 Merge from `emacs-23'. 2010-03-24 14:02:56 -04:00
Juri Linkov
5275ff8b1f * occur-testsuite.el: New file. 2010-03-23 18:18:52 +02:00
Glenn Morris
c7415cfc45 License updates for some test/cedet/tests files.
* testjavacomp.java, testpolymorph.cpp: Convert copyright of author
with assignment to FSF copyright.  Add 2010.  Relicense under GPLv3+.
2010-03-10 22:58:54 -08:00
Chong Yidong
288f9fc069 Bump version to 24.0.50. 2010-03-10 10:17:13 -05:00
Glenn Morris
2c21a6e282 Add license information for ede-test.el and srecode-test.el.
The information is based on the files in cedet from which these
files were extracted (see commentaries).
2010-03-05 19:00:40 -08:00
Ulf Jasper
b4340b3f0b Fixed bug#5549 (icalendar.el) 2010-02-19 19:59:00 +01:00
Juanma Barranquero
db9e401b3b Fix typos in docstrings, error messages, etc. 2010-01-18 05:39:40 +01:00
Juanma Barranquero
d1f18ec092 Fix typos in docstrings. 2010-01-14 19:59:31 +01:00
Glenn Morris
114f9c9679 Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
Ulf Jasper
6fe539d246 Fixed timezone handling problem in icalendar.el. 2009-12-18 19:35:14 +00:00
Miles Bader
d356f4fcff Remove RCS keywords
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1642
2009-12-11 20:48:03 +00:00
Miles Bader
3999968a73 Add arch tagline 2009-10-02 10:53:34 +00:00
Glenn Morris
d8085053bb Relicense under GPLv3+. 2009-09-30 02:28:17 +00:00
Chong Yidong
7c4dccd032 * cedet/*: New unit tests, from CEDET repository. 2009-09-28 23:24:55 +00:00
Chong Yidong
74ea13c1a8 Add CEDET tests. 2009-09-28 23:23:31 +00:00
Chong Yidong
0d55afa049 Mention etc/compilation.txt 2009-07-26 15:59:37 +00:00
Juri Linkov
6d361d9941 Fix comment. 2009-07-02 22:50:07 +00:00
Miles Bader
c5c194aa92 Add arch tagline 2009-07-02 10:38:05 +00:00
Chong Yidong
6ada5ad143 * redisplay-testsuite.el: New file. 2009-06-26 14:42:43 +00:00
Chong Yidong
7024347875 Add "Branch for 23.1" ChangeLog entry. 2009-06-21 14:35:26 +00:00
Ulf Jasper
f052351afe icalendar: uid-format, bug fixes. 2009-01-25 13:38:14 +00:00
Glenn Morris
21b6f58f55 Add 2009 to copyright years. 2009-01-08 02:56:31 +00:00
Juanma Barranquero
d483550724 Fix typos. 2008-12-17 15:25:54 +00:00
Miles Bader
78ca4710c5 Add arch tagline 2008-12-01 02:27:55 +00:00
Chong Yidong
835404e5fd New file. 2008-11-30 05:57:33 +00:00
Chong Yidong
dee5aa9105 * bytecomp-testsuite.el: New file, 2008-11-30 05:57:19 +00:00
Ulf Jasper
aad81014a9 icalendar: uid-creation improved 2008-10-31 18:48:23 +00:00
Miles Bader
5a88dbb600 Add arch tagline 2008-06-15 06:31:29 +00:00
Ulf Jasper
d176d8c6e8 Added newsticker-testsuite.el. 2008-06-14 10:11:20 +00:00
Glenn Morris
a4766629f8 Ulf Jasper <ulf.jasper at web.de>
(icalendar-testsuite--run-function-tests):
Add icalendar-testsuite--test-datestring-to-isodate,
icalendar-testsuite--test-datetime-to-diary-date, and
icalendar-testsuite--test-calendar-style.
(icalendar-testsuite--test-format-ical-event):
(icalendar-testsuite--test-parse-summary-and-rest): Doc fix.
Remove european-calendar-style.
(icalendar-testsuite--get-ical-event): Doc fix.
(icalendar-testsuite--test-first-weekday-of-year):
(icalendar-testsuite--run-cycle-tests): Add doc string.
(icalendar-testsuite--test-datestring-to-isodate):
(icalendar-testsuite--test-datetime-to-diary-date):
(icalendar-testsuite--test-calendar-style): New functions.
(icalendar-testsuite--test-export): Handle iso date style.
New arg INPUT-ISO.  Use calendar-date-style.
(icalendar-testsuite--test-import): Handle iso date style.
New arg EXPECTED-ISO.  Use calendar-date-style.
(icalendar-testsuite--test-cycle): Handle iso date style.
(icalendar-testsuite--run-import-tests):
(icalendar-testsuite--run-export-tests):
(icalendar-testsuite--run-real-world-tests): Add iso style tests.
2008-05-24 02:25:03 +00:00
Glenn Morris
4f43e9371b Switch to recommended form of GPLv3 permissions notice. 2008-05-07 07:27:10 +00:00
Kenichi Handa
880820fe87 (Fdefine_charset_internal): Change the way of
registering charsets in Vcharset_order_list.
(syms_of_charset): Make the charset `eight-bit' supplementary.
2008-03-27 11:36:43 +00:00
Glenn Morris
e42fc90537 *** empty log message *** 2008-02-29 07:55:05 +00:00
Glenn Morris
7ec0153248 Ulf Jasper <ulf.jasper at web.de>: New file. 2008-02-29 04:27:44 +00:00
Glenn Morris
366b88a229 New file. 2008-02-29 04:27:23 +00:00