]>
git.lyx.org Git - lyx.git/log
Günter Milde [Sat, 2 Jan 2016 20:50:45 +0000 (21:50 +0100)]
ctests: ignore docbook_article latex export.
Richard Heck [Tue, 5 Jan 2016 14:53:42 +0000 (09:53 -0500)]
Fix bug #9907: We get a crash if we first close a master buffer one of
whose children is also a child of another buffer, then try to close that
one.
The problem is that we do not check properly to make sure that the child
is not a child of some other buffer. Now we do.
Richard Heck [Tue, 5 Jan 2016 14:52:18 +0000 (09:52 -0500)]
Rewrite the BufferList::releaseChild method so that it only checks
whether a given child Buffer is also a child of some other parent.
Then do the releasing or resetting where this method is called.
There should be no change of behavior with this patch.
Jean-Marc Lasgouttes [Tue, 5 Jan 2016 10:12:00 +0000 (11:12 +0100)]
When moving cursor, always reset anchor
This applies to BufferView::moveToPosition, which is used for bookmarks and initial cursor position (on loading).
Fixes bug #9912.
Jean-Marc Lasgouttes [Tue, 5 Jan 2016 09:10:26 +0000 (10:10 +0100)]
Fix entering inset in visual cursor mode
Improve the test whether cursor has moved in Cursor::posVisLeft. The code for posVisRight had already been fixed for #5764 at
0730c923 , but this replaces both tests by the proper == operator.
Fixes bug #9913.
Kornel Benko [Tue, 5 Jan 2016 11:13:21 +0000 (12:13 +0100)]
Broken URLs: replace with values found by Jean-Pierre.
Jean-Marc Lasgouttes [Mon, 4 Jan 2016 10:51:08 +0000 (11:51 +0100)]
Improve visually text classes paper and foils
This does not change output, only GUI.
paper: make sure that the starred sections use proper sans serif on screen.
foils: add relevant categories to layouts
Kornel Benko [Mon, 4 Jan 2016 12:45:11 +0000 (13:45 +0100)]
Typo
Kornel Benko [Mon, 4 Jan 2016 12:25:57 +0000 (13:25 +0100)]
Cmake url tests: Some more http pages needs login.
Kornel Benko [Mon, 4 Jan 2016 11:45:41 +0000 (12:45 +0100)]
Correct some more broken URLs
Kornel Benko [Mon, 4 Jan 2016 10:54:40 +0000 (11:54 +0100)]
Correct some broken URLs
Kornel Benko [Mon, 4 Jan 2016 09:20:44 +0000 (10:20 +0100)]
Cmake url tests: Expand knownToRegisterURLS with an ftp entry
This entry 'ftp://ftp.edpsciences.org/pub/aa/readme.html' is special.
Although there are no problems with firefox, using ftp client is
problematic.
Guillaume Munch [Mon, 4 Jan 2016 03:43:08 +0000 (03:43 +0000)]
Scott Kostyshak [Sat, 19 Dec 2015 02:58:22 +0000 (21:58 -0500)]
Do not initialize a var to a val that's never used
By initializing 'to' to a value, the code made it seem like that
value mattered. But the value is overwritten in getWord().
Further, now if 'to' is used before it is initialized, there might
be a useful compiler warning that could point to a bug.
Scott Kostyshak [Sun, 3 Jan 2016 16:25:30 +0000 (11:25 -0500)]
Add a TODO for Math.lyx to correct a broken link
The fix is clear but the docs are out for translation.
Richard Heck [Sun, 3 Jan 2016 15:52:36 +0000 (10:52 -0500)]
Updated manuals and po file for French, from Jean-Pierre.
Kornel Benko [Sun, 3 Jan 2016 14:25:09 +0000 (15:25 +0100)]
Cmake url tests: Use more sophiticated check for urls.
Kornel Benko [Sun, 3 Jan 2016 12:02:08 +0000 (13:02 +0100)]
Cmake tests for translators: Added check for required program phantomjs
Georg Baum [Sun, 3 Jan 2016 09:31:30 +0000 (10:31 +0100)]
Update to current format
Kornel Benko [Sat, 2 Jan 2016 21:18:13 +0000 (22:18 +0100)]
Cmake URL tests: Better search for error 404, in received html snippet.
Kornel Benko [Sat, 2 Jan 2016 10:29:11 +0000 (11:29 +0100)]
Cmake URL tests: Interpret 'Error 404' in received data as error.
Jean-Marc Lasgouttes [Wed, 30 Dec 2015 20:44:59 +0000 (21:44 +0100)]
Do not setup building of 3rdparty/libiconv
This causes build problems with automake < 1.14 because two files have the same name. This only works well when using subdir-objects, which we only do after 1.14.
We do not want to build libiconv on target which support autotools anyway, but rely on a built-in one.
This fixes building on oldish ubuntu 12.04.
Kornel Benko [Thu, 31 Dec 2015 14:24:33 +0000 (15:24 +0100)]
Merge branch 'master' of git.lyx.org:lyx
Kornel Benko [Thu, 31 Dec 2015 14:05:33 +0000 (15:05 +0100)]
Cmake export tests: these cases will probably not be corrected in near future
testcases_speed_lyx21 added to suspiciousTests
Handling unknown body token: `\begin_manifest'at line ...
Literate_lyx16 and noweb2lyx_lyx16 added to ignoredTests
Plenty of warnings (~ 390)
Georg Baum [Thu, 31 Dec 2015 12:26:46 +0000 (13:26 +0100)]
Fix line endings
The default behaviour of git for text files is to store unix line endings in
the repository, and to convert to native line endings in the local workspace.
This plays well with the LyX behaviour of storing files in native line endings.
Unfortunately it may break if files are sent around by email and submitted on
a different OS than the one they were last saved, and this did probably happen
in
6b0632eea .
Günter Milde [Wed, 30 Dec 2015 20:59:32 +0000 (21:59 +0100)]
Moving a testcase that does not fail but has wrong output to unreliableTests.
Günter Milde [Wed, 30 Dec 2015 18:15:16 +0000 (19:15 +0100)]
Review and sort inverted autotests. Still more.
Günter Milde [Wed, 30 Dec 2015 13:49:52 +0000 (14:49 +0100)]
Review and sort inverted autotests. Still more to do.
Günter Milde [Wed, 30 Dec 2015 07:41:40 +0000 (08:41 +0100)]
Review and sort inverted autotests. Next lot.
New sublabels LyXBug, ERT.
Renamed sublabel TeXLimit to TeXissue.
More sorting and unification of regular expressions.
Removing double entries.
Fixes for some expressions (eu_UserGuide_pdf, examples/ja/(knitr|lilypond|sweave))
Kornel Benko [Tue, 29 Dec 2015 18:36:36 +0000 (19:36 +0100)]
Cmake export tests: doc/ja/EmbeddedObjects.lyx compilable again
Kornel Benko [Tue, 29 Dec 2015 18:12:08 +0000 (19:12 +0100)]
Cmake tests: Handle windows line endings
Richard Heck [Tue, 29 Dec 2015 14:59:02 +0000 (09:59 -0500)]
Update to French po file, from Jean-Pierre.
Richard Heck [Tue, 29 Dec 2015 14:58:48 +0000 (09:58 -0500)]
Updates to Japanese docs and po file, from Koji.
Kornel Benko [Tue, 29 Dec 2015 12:55:32 +0000 (13:55 +0100)]
Cmake export tests: Invert also test mathmacros/testcases_speed_lyx16
Kornel Benko [Tue, 29 Dec 2015 12:23:08 +0000 (13:23 +0100)]
Cmake tests: Simplify test logic for exporting to formats lyx[0-9][0-9]x
Since the stop condition is that the last two consecutive created
files are identical, we do not need to check the last file.
Also checking for load of the created files is not needed, because
exporting the previous file implicitly loads too.
Günter Milde [Mon, 28 Dec 2015 20:24:51 +0000 (21:24 +0100)]
Review and sort some more inverted autotests.
Juergen Spitzmueller [Mon, 28 Dec 2015 15:11:26 +0000 (16:11 +0100)]
Simplify the logic
Juergen Spitzmueller [Mon, 28 Dec 2015 15:10:26 +0000 (16:10 +0100)]
Eclude possible unwandted case
Juergen Spitzmueller [Mon, 28 Dec 2015 15:09:47 +0000 (16:09 +0100)]
Escape correctly
Juergen Spitzmueller [Mon, 28 Dec 2015 12:42:36 +0000 (13:42 +0100)]
Whitespace
Juergen Spitzmueller [Mon, 28 Dec 2015 11:34:11 +0000 (12:34 +0100)]
Remove unneeded warning.
Juergen Spitzmueller [Mon, 28 Dec 2015 11:26:29 +0000 (12:26 +0100)]
cosmetics
Kornel Benko [Mon, 28 Dec 2015 10:02:26 +0000 (11:02 +0100)]
Cmake export tests: Activate a branch in autotests/export/TableErrorIfSlovakTextInserte.lyx to produce error if compiled to pdf/dvi.
Stephan Witt [Mon, 28 Dec 2015 09:36:25 +0000 (10:36 +0100)]
#9889 slightly improved layout management to avoid too small popup window for advanced F&R
Juergen Spitzmueller [Mon, 28 Dec 2015 08:15:21 +0000 (09:15 +0100)]
Assure backslash is on its own line in verbatim mode in get_ert
Also document the method
Kornel Benko [Mon, 28 Dec 2015 07:37:58 +0000 (08:37 +0100)]
Kornel Benko [Mon, 28 Dec 2015 07:16:49 +0000 (08:16 +0100)]
Cmake lyx2lyx tests: expanded ignoreTests
the entry export/templates/IEEEtran-Journal_lyx16
is added, because of (after the third roundtrip) endless loop inside "python -tt lyx2lyx ..."
Kornel Benko [Mon, 28 Dec 2015 05:00:10 +0000 (06:00 +0100)]
Cmake lyx2lyx tests: Use a loop to execute roundtrips
Exporting to some previous lyx format:
Inside the loop
Stop at export with errors/warnings
Stop if exported file not loadable
Stop if exported file identical to previous exported file (OK case)
This is done through creating MD5SUM
Kornel Benko [Sun, 27 Dec 2015 19:05:37 +0000 (20:05 +0100)]
Cmake lyx2lyx tests: Add roundtrip to exported lyx-files
Until now we exported e.g. to lyx16x ans tested if the result is loadable.
Now we also test if export of the exported is loadable.
Kornel Benko [Sun, 27 Dec 2015 17:56:36 +0000 (18:56 +0100)]
Cmake check load tests: Allow tests to use the filter .*Tests
Now we can also select which lyx-file may or may not be loaded
in the same way as was for export tests.
Juergen Spitzmueller [Sun, 27 Dec 2015 17:19:49 +0000 (18:19 +0100)]
Fix thinko in revert_newgloss: only dissolve ERTs in glosses!
Kornel Benko [Sun, 27 Dec 2015 17:03:54 +0000 (18:03 +0100)]
Cmake export tests: Add labels 'lyx2lyx' and 'load' to tests exporting to a lyx format.
The test uses lyx2lyx and loads the exported file.
Juergen Spitzmueller [Sun, 27 Dec 2015 16:34:01 +0000 (17:34 +0100)]
revert_tabularvalign: fix removal of tabularvalign feature tag
Juergen Spitzmueller [Sun, 27 Dec 2015 16:22:21 +0000 (17:22 +0100)]
Fix thinko in revert_tabularvalign
Kornel Benko [Sun, 27 Dec 2015 13:33:11 +0000 (14:33 +0100)]
Cmake export tests: Add structue test for exported lyx files
We test here, if any \end_{somethig} matches \begin_{something}.
Exeptions are \end_index and \end_branch ATM, they should
match \index and \branch respectively.
Also added new testfile.
Juergen Spitzmueller [Sun, 27 Dec 2015 11:48:11 +0000 (12:48 +0100)]
Rewrite and split the moderncv conversion routine.
This fixes several conversion problems, amongst others the redundant
\end_layout reported by Kornel.
Scott Kostyshak [Sun, 27 Dec 2015 04:51:13 +0000 (23:51 -0500)]
Add description of lyx21 tests
These tests were added at
e3cd6db4 .
Jean-Marc Lasgouttes [Wed, 23 Dec 2015 10:05:28 +0000 (11:05 +0100)]
Avoid swapping a cell with itself
Gcc STL debugging feature asserts when swapping an object with itself. This happens in some cases with math grids that have only one column.
A quick review of other uses of swap() in the code base did not reveal any other dubious case.
Fixes bug #9902.
Juergen Spitzmueller [Sat, 26 Dec 2015 11:07:08 +0000 (12:07 +0100)]
Remove redundant \\end_layout in jss-article Code Chunk reversion.
Kornel Benko [Fri, 25 Dec 2015 19:03:35 +0000 (20:03 +0100)]
Cmake export tests: Handle some more warnings
Kornel Benko [Fri, 25 Dec 2015 18:02:06 +0000 (19:02 +0100)]
Cmake export tests: Handle some lyx2lyx warnings
Juergen Spitzmueller [Fri, 25 Dec 2015 11:00:56 +0000 (12:00 +0100)]
Fix gloss, glossgroup and forest reversion routines.
These were using lyx2latex, assuming the result can be used in verbatim
insets as is, which is not the case (mostly due to \\backslash).
A new lyx2verbatim function is now used instead. Also, ERT insets are
dissolved in the gloss reversion process.
Kornel Benko [Fri, 25 Dec 2015 09:28:40 +0000 (10:28 +0100)]
Cmake export tests: Check if exported lyx files are loadable
Also added tests for export to lyx21 format.
Kornel Benko [Fri, 25 Dec 2015 09:26:38 +0000 (10:26 +0100)]
Cmake export tests: Macro to interpret error/warning messages at loading lyx files
Günter Milde [Wed, 23 Dec 2015 14:45:18 +0000 (15:45 +0100)]
Specify missing character. Angström sign, not LATIN CAPITAL LETTER A WITH RING ABOVE.
Günter Milde [Wed, 23 Dec 2015 14:42:48 +0000 (15:42 +0100)]
Further simplify TableErrorif... autotest sample (fails also with Czech).
Also add some more info.
Kornel Benko [Wed, 23 Dec 2015 07:05:21 +0000 (08:05 +0100)]
Replace Ångström with \AA in suspiciousTests
This allows to load the file also for older cmake versions.
Günter Milde [Mon, 21 Dec 2015 21:48:37 +0000 (22:48 +0100)]
Inverted autests, sorting: some more TeX-Limitations.
Math manual with systemfonts fails because of missing characters.
PDF-forms and PDF-comments require pdflatex or lualatex.
Kornel Benko [Mon, 21 Dec 2015 10:52:00 +0000 (11:52 +0100)]
Cmake export tests: Ignore some child documents
Kornel Benko [Mon, 21 Dec 2015 10:42:32 +0000 (11:42 +0100)]
Cmake export tests: Simplify the testcase TableErr rIfSlovakTextInserted.lyx'
Kornel Benko [Mon, 21 Dec 2015 10:39:48 +0000 (11:39 +0100)]
Extracted and renamed files from testcases_master_child.zip
Preparing to add them to the tests.
Peter Kümmel [Sun, 20 Dec 2015 13:28:12 +0000 (14:28 +0100)]
add script to cross-compile for Windows
Peter Kümmel [Sun, 20 Dec 2015 13:04:54 +0000 (14:04 +0100)]
update boost to 1.60
Peter Kümmel [Sun, 20 Dec 2015 13:00:04 +0000 (14:00 +0100)]
boost dir is used for out-of-source build detection
Peter Kümmel [Sun, 20 Dec 2015 12:40:37 +0000 (13:40 +0100)]
3rdparty/boost: build with cmake
Peter Kümmel [Sun, 20 Dec 2015 12:32:33 +0000 (13:32 +0100)]
default tar-v7 format supports only 99 character pathes
Peter Kümmel [Sun, 20 Dec 2015 12:06:59 +0000 (13:06 +0100)]
3rdparty/boost: build with autotools
Peter Kümmel [Sun, 20 Dec 2015 11:49:10 +0000 (12:49 +0100)]
move boost to 3rdparty directory
Kornel Benko [Sun, 20 Dec 2015 11:13:37 +0000 (12:13 +0100)]
Cmake export tests: Adapt the new TableErrorIfSlovakTextInserted.lyx to tests
Kornel Benko [Sun, 20 Dec 2015 10:49:38 +0000 (11:49 +0100)]
Remove 3rdparty-build for iconv and zlib on unix.
Kornel Benko [Sun, 20 Dec 2015 09:53:50 +0000 (10:53 +0100)]
Language problem: inserted Slovak text makes this doc uncompilable.
Guillaume Munch [Sat, 19 Dec 2015 23:50:58 +0000 (23:50 +0000)]
Amend
f441590c
Remove runtime warning "QMetaObject::connectSlotsByName: No matching signal for
on_copyPB_clicked()".
Günter Milde [Sat, 19 Dec 2015 15:50:28 +0000 (16:50 +0100)]
Merge branch 'master' of git://git.lyx.org/lyx
Günter Milde [Fri, 18 Dec 2015 22:27:30 +0000 (23:27 +0100)]
inverted autotests: Sublabel TeXlimit
Sort test that fail due to LaTeX limitations under the new label TeXlimit.
Replaces the sublabels "chemgreek" and "assert-fail".
Günter Milde [Fri, 18 Dec 2015 21:52:22 +0000 (22:52 +0100)]
inapt autotests: update comments and labels.
Günter Milde [Fri, 18 Dec 2015 21:11:36 +0000 (22:11 +0100)]
inverted autotests: update comments, label "attic", remove ignored tests.
Remove patterns matching tests now ignored (CJK/Korean, latex8).
Move patterns matching documents in the attic under new sublabel.
Add more verbose comments.
Günter Milde [Fri, 18 Dec 2015 17:08:52 +0000 (18:08 +0100)]
ignored autotests: Update comments and add Taiwanese (zh_CN) with TeX fonts.
Georg Baum [Sat, 19 Dec 2015 10:08:08 +0000 (11:08 +0100)]
Add 3rdparty to source package
The new 3rdparty libraries are not added to the autotools build system, so
that they appear in the source package. They cannot be compiled yet with
autotools (although this would make sense for cross compilation with mingw),
but adding configure support for enabling/disabling these like we do for
boost is a bit more work, so I did not do it for now. Nevertheless, the
three new Makefile.am are already prepared for compilation.
Kornel Benko [Sat, 19 Dec 2015 07:51:16 +0000 (08:51 +0100)]
Some spellchecker corrections
Georg Baum [Fri, 18 Dec 2015 19:20:04 +0000 (20:20 +0100)]
Improve directory name juggling
The old code did not ensure that the path was only broken into parts at
directory separators. The new code ensures it.
Kornel Benko [Fri, 18 Dec 2015 17:55:05 +0000 (18:55 +0100)]
Typo
Georg Baum [Sat, 19 Dec 2015 10:08:08 +0000 (11:08 +0100)]
Add 3rdparty to source package
The new 3rdparty libraries are not added to the autotools build system, so
that they appear in the source package. They cannot be compiled yet with
autotools (although this would make sense for cross compilation with mingw),
but adding configure support for enabling/disabling these like we do for
boost is a bit more work, so I did not do it for now. Nevertheless, the
three new Makefile.am are already prepared for compilation.
Kornel Benko [Sat, 19 Dec 2015 07:51:16 +0000 (08:51 +0100)]
Some spellchecker corrections
Georg Baum [Fri, 18 Dec 2015 19:20:04 +0000 (20:20 +0100)]
Improve directory name juggling
The old code did not ensure that the path was only broken into parts at
directory separators. The new code ensures it.
Kornel Benko [Fri, 18 Dec 2015 17:55:05 +0000 (18:55 +0100)]
Typo
Günter Milde [Fri, 18 Dec 2015 17:08:52 +0000 (18:08 +0100)]
ignored autotests: Update comments and add Taiwanese (zh_CN) with TeX fonts.
Günter Milde [Fri, 18 Dec 2015 16:38:27 +0000 (17:38 +0100)]
minor autotest documentation update
Kornel Benko [Fri, 18 Dec 2015 09:29:55 +0000 (10:29 +0100)]
Cmake export tests: Adapt exports to changed mathmacros path.
Missed in last commit.
Kornel Benko [Fri, 18 Dec 2015 06:56:20 +0000 (07:56 +0100)]
Moved development/mathmacros dir to autotests dir
Kornel Benko [Fri, 18 Dec 2015 06:46:06 +0000 (07:46 +0100)]
Renamed testcases_master_child.lyx to testcases_master_child.zip
It is a zip-file in the end, containing 2 .lyx files
whose purpose has to be detected first.