Commit Graph

35602 Commits

Author SHA1 Message Date
Peter Kümmel
936ec66124 fix merged build 2016-01-06 13:07:59 +01:00
Stephan Witt
c098ee0c72 more flexible Xcode management, reduce hard coded version numbers 2016-01-06 10:15:07 +01:00
Kornel Benko
7b4064bbcb Cmake url tests: Add special handling for some ftp-urls 2016-01-05 17:27:49 +01:00
Günter Milde
fb11ac511f ctests: hebrew PDF (LuaTeX) works.
Works with system-fonts due to font substitution in the test-script.
TODO: set system fonts that work in the lyx source(s) to allow compilation
"by hand".
2016-01-05 17:07:15 +01:00
Günter Milde
88b3fa3225 Minor ctest documentation edits.
Make sure not to confuse failing test and failing export for inverted tests.
2016-01-05 17:07:14 +01:00
Günter Milde
110f505b63 Set correct document language for Basque example. 2016-01-05 17:07:14 +01:00
Günter Milde
8cc9028b84 ctests: ignore docbook_article latex export. 2016-01-05 17:07:14 +01:00
Richard Heck
0407364392 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.
2016-01-05 09:59:31 -05:00
Richard Heck
e8ffb0c97a 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.
2016-01-05 09:59:31 -05:00
Jean-Marc Lasgouttes
01fc62b78e 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.
2016-01-05 15:05:27 +01:00
Jean-Marc Lasgouttes
d3c0044617 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.
2016-01-05 15:03:30 +01:00
Kornel Benko
e2a16f1c9a Broken URLs: replace with values found by Jean-Pierre. 2016-01-05 12:13:21 +01:00
Jean-Marc Lasgouttes
857f011e91 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
2016-01-04 19:54:43 +01:00
Kornel Benko
7c26af67be Typo 2016-01-04 13:45:11 +01:00
Kornel Benko
8b45fa9159 Cmake url tests: Some more http pages needs login. 2016-01-04 13:25:57 +01:00
Kornel Benko
7ac12294dc Correct some more broken URLs 2016-01-04 12:45:41 +01:00
Kornel Benko
449d74d01b Correct some broken URLs 2016-01-04 11:54:40 +01:00
Kornel Benko
f81abaefa8 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.
2016-01-04 10:20:44 +01:00
Guillaume Munch
18918f1c1b Amend bb344452 2016-01-04 03:43:08 +00:00
Scott Kostyshak
752c67ada9 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.
2016-01-03 11:57:19 -05:00
Scott Kostyshak
7dd7980720 Add a TODO for Math.lyx to correct a broken link
The fix is clear but the docs are out for translation.
2016-01-03 11:25:30 -05:00
Richard Heck
f2acbd04af Updated manuals and po file for French, from Jean-Pierre. 2016-01-03 10:53:15 -05:00
Kornel Benko
689a144824 Cmake url tests: Use more sophiticated check for urls. 2016-01-03 15:25:09 +01:00
Kornel Benko
d2ec79beac Cmake tests for translators: Added check for required program phantomjs 2016-01-03 13:02:08 +01:00
Georg Baum
1d18d94998 Update to current format 2016-01-03 10:31:30 +01:00
Kornel Benko
99a2647fd2 Cmake URL tests: Better search for error 404, in received html snippet. 2016-01-02 22:18:13 +01:00
Kornel Benko
4b49a59e71 Cmake URL tests: Interpret 'Error 404' in received data as error. 2016-01-02 11:29:11 +01:00
Jean-Marc Lasgouttes
a69d649626 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.
2016-01-01 18:44:18 +01:00
Kornel Benko
42f1f58418 Merge branch 'master' of git.lyx.org:lyx 2015-12-31 15:24:33 +01:00
Kornel Benko
1fbcd26d8f 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)
2015-12-31 15:05:33 +01:00
Georg Baum
9e135d9749 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.
2015-12-31 13:26:46 +01:00
Günter Milde
0e8121ca31 Moving a testcase that does not fail but has wrong output to unreliableTests. 2015-12-30 21:59:32 +01:00
Günter Milde
c9e01ec087 Review and sort inverted autotests. Still more. 2015-12-30 19:15:16 +01:00
Günter Milde
3ae1eafff3 Review and sort inverted autotests. Still more to do. 2015-12-30 14:49:52 +01:00
Günter Milde
dcab6c8749 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))
2015-12-30 08:47:38 +01:00
Kornel Benko
c944215d53 Cmake export tests: doc/ja/EmbeddedObjects.lyx compilable again 2015-12-29 19:36:36 +01:00
Kornel Benko
9560941f9a Cmake tests: Handle windows line endings 2015-12-29 19:12:08 +01:00
Richard Heck
7f0977aefb Update to French po file, from Jean-Pierre. 2015-12-29 09:59:02 -05:00
Richard Heck
6b0632eea2 Updates to Japanese docs and po file, from Koji. 2015-12-29 09:58:48 -05:00
Kornel Benko
ccace057b4 Cmake export tests: Invert also test mathmacros/testcases_speed_lyx16 2015-12-29 13:55:32 +01:00
Kornel Benko
315b9fcb2a 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.
2015-12-29 13:23:08 +01:00
Günter Milde
b0970a3540 Review and sort some more inverted autotests. 2015-12-28 21:29:58 +01:00
Juergen Spitzmueller
61b54f87df Simplify the logic 2015-12-28 16:11:26 +01:00
Juergen Spitzmueller
2e6f54b37f Eclude possible unwandted case 2015-12-28 16:10:26 +01:00
Juergen Spitzmueller
952a963c15 Escape correctly 2015-12-28 16:09:47 +01:00
Juergen Spitzmueller
28a22f40fb Whitespace 2015-12-28 13:42:36 +01:00
Juergen Spitzmueller
b930f2a18e Remove unneeded warning. 2015-12-28 12:34:11 +01:00
Juergen Spitzmueller
ee1a99b340 cosmetics 2015-12-28 12:26:29 +01:00
Kornel Benko
b68bd9219a Cmake export tests: Activate a branch in autotests/export/TableErrorIfSlovakTextInserte.lyx to produce error if compiled to pdf/dvi. 2015-12-28 11:02:26 +01:00
Stephan Witt
f1a21f8250 #9889 slightly improved layout management to avoid too small popup window for advanced F&R 2015-12-28 10:36:25 +01:00