]> git.lyx.org Git - lyx.git/log
lyx.git
8 years agoCmake export tests: Ignore spaces after expressions in .*Tests files
Kornel Benko [Sat, 28 Nov 2015 18:08:19 +0000 (19:08 +0100)]
Cmake export tests: Ignore spaces after expressions in .*Tests files

8 years agoFix off by one error
Georg Baum [Sat, 28 Nov 2015 17:13:07 +0000 (18:13 +0100)]
Fix off by one error

Looks like I forgot to test this case without quotes, but fortunately the new
export test found it.

8 years agoCmake export tests: Renamed file revertedTests to suspendedTests
Kornel Benko [Sat, 28 Nov 2015 17:23:29 +0000 (18:23 +0100)]
Cmake export tests: Renamed file revertedTests to suspendedTests

Also some refactoring to handle the labes.

8 years agoAdd the first dedicated export test
Georg Baum [Sat, 28 Nov 2015 16:00:59 +0000 (17:00 +0100)]
Add the first dedicated export test

Thanks to Kornel we do now have the infrastructure for running dedicated
export tests. This is the first one, showing a language nesting bug which is
already in 2.1. It is inverted for now, but this will hopefully change soon.

8 years agoCmake export tests: Correct some mistakes in commit 4138ab7
Kornel Benko [Sat, 28 Nov 2015 08:30:49 +0000 (09:30 +0100)]
Cmake export tests: Correct some mistakes in commit 4138ab7

8 years agoUserGuide.lyx and Math.lyx: update version number
Uwe Stöhr [Sat, 28 Nov 2015 02:23:38 +0000 (03:23 +0100)]
UserGuide.lyx and Math.lyx: update version number

8 years agoLaTeXConfig.lyx: accept changes
Uwe Stöhr [Sat, 28 Nov 2015 02:15:45 +0000 (03:15 +0100)]
LaTeXConfig.lyx: accept changes

- also add hpstatement module and remove the deprecated rsphrase module (this module is only kept for compatibility reasons)

8 years agoCustomization.lyx: accept some changes
Uwe Stöhr [Sat, 28 Nov 2015 02:13:11 +0000 (03:13 +0100)]
Customization.lyx: accept some changes

8 years agoAdditional.lyx: merge changes
Uwe Stöhr [Sat, 28 Nov 2015 01:50:06 +0000 (02:50 +0100)]
Additional.lyx: merge changes

8 years agoinstaller: remove residues of metafile2eps
Uwe Stöhr [Sat, 28 Nov 2015 01:04:57 +0000 (02:04 +0100)]
installer: remove residues of metafile2eps

8 years agoSimplify logic
Georg Baum [Fri, 27 Nov 2015 19:35:13 +0000 (20:35 +0100)]
Simplify logic

The old code was more complicated than needed, we have unstarred_name to make
our live easier. The test proves that the new code works as before.

8 years agoAdd tex2lyx test for verbatim*
Georg Baum [Fri, 27 Nov 2015 19:30:41 +0000 (20:30 +0100)]
Add tex2lyx test for verbatim*

8 years agoUpdate format of bind and ui files.
Richard Heck [Fri, 27 Nov 2015 16:56:17 +0000 (11:56 -0500)]
Update format of bind and ui files.

8 years agoCmake export tests: Implemented multiple sublabels for each test.
Kornel Benko [Fri, 27 Nov 2015 14:12:47 +0000 (15:12 +0100)]
Cmake export tests: Implemented multiple sublabels for each test.

8 years agoSmall fixes to export test documentation.
Günter Milde [Fri, 27 Nov 2015 09:33:12 +0000 (10:33 +0100)]
Small fixes to export test documentation.

8 years agoBack to development
Scott Kostyshak [Fri, 27 Nov 2015 08:25:49 +0000 (03:25 -0500)]
Back to development

8 years agoThis is LyX 2.2.0alpha2 2.2.0alpha2
Scott Kostyshak [Fri, 27 Nov 2015 08:23:23 +0000 (03:23 -0500)]
This is LyX 2.2.0alpha2

8 years agoUpdate docs to latest format for 2.2.0alpha2
Scott Kostyshak [Fri, 27 Nov 2015 08:23:22 +0000 (03:23 -0500)]
Update docs to latest format for 2.2.0alpha2

8 years agoUpdate ANNOUNCE for 2.2.0alpha2
Scott Kostyshak [Fri, 27 Nov 2015 07:59:19 +0000 (02:59 -0500)]
Update ANNOUNCE for 2.2.0alpha2

8 years agoupdatedocs.py: remove an extra parenthesis
Scott Kostyshak [Fri, 27 Nov 2015 07:37:27 +0000 (02:37 -0500)]
updatedocs.py: remove an extra parenthesis

8 years agoRemove another reference to lyx.hu
Scott Kostyshak [Fri, 27 Nov 2015 05:16:10 +0000 (00:16 -0500)]
Remove another reference to lyx.hu

This site has not existed since 2011.

8 years agoUpdate a format
Scott Kostyshak [Fri, 27 Nov 2015 05:15:29 +0000 (00:15 -0500)]
Update a format

8 years agoUpdate the docbook links
Scott Kostyshak [Fri, 27 Nov 2015 04:49:07 +0000 (23:49 -0500)]
Update the docbook links

Docbook is no longer being developed, but the new link at least
exists and SGML-tools Lite can still be downloaded.

8 years agoUpdate a couple formats
Scott Kostyshak [Fri, 27 Nov 2015 04:48:00 +0000 (23:48 -0500)]
Update a couple formats

8 years agoRemove "dialog-show print" from various UI locations.
Richard Heck [Fri, 27 Nov 2015 03:40:39 +0000 (22:40 -0500)]
Remove "dialog-show print" from various UI locations.

8 years agoRemove some gui remnants of print support.
Richard Heck [Fri, 27 Nov 2015 03:15:24 +0000 (22:15 -0500)]
Remove some gui remnants of print support.

8 years agoWhitespace.
Richard Heck [Fri, 27 Nov 2015 03:08:43 +0000 (22:08 -0500)]
Whitespace.

8 years agoFix a broken link in the hungarian Intro.lyx
Scott Kostyshak [Fri, 27 Nov 2015 03:58:34 +0000 (22:58 -0500)]
Fix a broken link in the hungarian Intro.lyx

8 years agoUpdate a format
Scott Kostyshak [Fri, 27 Nov 2015 03:58:01 +0000 (22:58 -0500)]
Update a format

8 years agoRemove a duplicate URL in Additional.lyx
Scott Kostyshak [Fri, 27 Nov 2015 03:43:37 +0000 (22:43 -0500)]
Remove a duplicate URL in Additional.lyx

8 years agoUserGuide.lyx: add link to makeindex manpages
Uwe Stöhr [Fri, 27 Nov 2015 01:23:55 +0000 (02:23 +0100)]
UserGuide.lyx: add link to makeindex manpages

8 years agoUserGuide.lyx: updates
Uwe Stöhr [Fri, 27 Nov 2015 00:59:56 +0000 (01:59 +0100)]
UserGuide.lyx: updates

- merge changes
- some general changes, fixes and descriptions of new features

8 years agoinstaller: install Qt plugin DLLs correctly
Uwe Stöhr [Thu, 26 Nov 2015 23:39:38 +0000 (00:39 +0100)]
installer: install Qt plugin DLLs correctly

- also remove support metafile2eps because:
  - it is outdated
  - unnecessary third-party program since ImageMagick can do this too
  - needs unnecessarily installation time

8 years agoCmake export tests: move some beamer-conference-ornate-20min tests to nonstandard set
Kornel Benko [Thu, 26 Nov 2015 15:07:10 +0000 (16:07 +0100)]
Cmake export tests: move some beamer-conference-ornate-20min tests to nonstandard set

8 years agoCmake url tests: Handle some special chars in urls.
Kornel Benko [Thu, 26 Nov 2015 13:31:15 +0000 (14:31 +0100)]
Cmake url tests: Handle some special chars in urls.

8 years agoCmake: ENCODING parameter in file(STRINGS ...) only valid for cmake version >= 3.1
Kornel Benko [Thu, 26 Nov 2015 11:08:13 +0000 (12:08 +0100)]
Cmake: ENCODING parameter in file(STRINGS ...) only valid for cmake version >= 3.1

8 years agoChangelog-UserGuide-LyX_22x.txt: add 2 things Todo
Uwe Stöhr [Thu, 26 Nov 2015 00:23:32 +0000 (01:23 +0100)]
Changelog-UserGuide-LyX_22x.txt: add 2 things Todo

8 years agoinstaller: include DLLs for SVG
Uwe Stöhr [Thu, 26 Nov 2015 00:11:26 +0000 (01:11 +0100)]
installer: include DLLs for SVG

It seems that the QT file qsvgicon4.dll is needed for svg icons in lyX. QtXml might be necessary as well

8 years agoFix a broken URL for man page of 'date' command
Scott Kostyshak [Wed, 25 Nov 2015 23:39:57 +0000 (18:39 -0500)]
Fix a broken URL for man page of 'date' command

The new URL is now:
http://man7.org/linux/man-pages/man1/date.1.html

The broken URL was found by the URL tests.

8 years agoUpdate formats of UserGuide.lyx for upcoming edit
Scott Kostyshak [Wed, 25 Nov 2015 23:36:00 +0000 (18:36 -0500)]
Update formats of UserGuide.lyx for upcoming edit

8 years agoRefix a broken URL in Additional.lyx
Scott Kostyshak [Wed, 25 Nov 2015 23:16:57 +0000 (18:16 -0500)]
Refix a broken URL in Additional.lyx

This fix was done at e2ded6e0 but was (unintentionally, I think)
reverted at 6902cfcf.

The broken URL was found by the URL tests.

8 years agopo-files: remerge all files
Uwe Stöhr [Wed, 25 Nov 2015 23:44:36 +0000 (00:44 +0100)]
po-files: remerge all files

- to start the translation work
- sk and it are already work in progress

8 years agoDescribe some ctest extras.
Kornel Benko [Wed, 25 Nov 2015 09:18:41 +0000 (10:18 +0100)]
Describe some ctest extras.

8 years agoCmake export tests: Removed unneded parameter
Kornel Benko [Wed, 25 Nov 2015 09:17:46 +0000 (10:17 +0100)]
Cmake export tests: Removed unneded parameter

8 years agoSimplify lyx2lyx code a bit, and correct a mistake in my previous
Richard Heck [Wed, 25 Nov 2015 05:37:36 +0000 (00:37 -0500)]
Simplify lyx2lyx code a bit, and correct a mistake in my previous
patch. Also fix some escaping problems (\end instead of \\end).

My testing revealed some other problems with this routine: stray
\noindent tags popping up here and there. I don't have time to fix
it right now but will try to come back to it.

8 years agolyx_2_1.py: fix a mistake in previous commit
Uwe Stöhr [Tue, 24 Nov 2015 23:05:44 +0000 (00:05 +0100)]
lyx_2_1.py: fix a mistake in previous commit

8 years agostdlayouts.inc: support for verbatim*
Uwe Stöhr [Tue, 24 Nov 2015 22:56:26 +0000 (23:56 +0100)]
stdlayouts.inc: support for verbatim*

fileformat change

8 years agoCmake export tests: Check for reused labels included
Kornel Benko [Tue, 24 Nov 2015 20:23:38 +0000 (21:23 +0100)]
Cmake export tests: Check for reused labels included

Labels defined in .*Tests should be unique. Now at least a warning is
produced.

8 years agoFix C++11 std::regex incompatibility
Georg Baum [Tue, 24 Nov 2015 19:31:14 +0000 (20:31 +0100)]
Fix C++11 std::regex incompatibility

boost::regex supports escape sequences starting with a backslash in format
strings of regex_replace, but std::regex does not. Therefore format strings
involving literal backslashes have to be written differently for both flavours.

The special MSVC handling in regex.h is removed, since it is not needed
anymore, and using grep syntax would definitely be wrong.

8 years agoCmake export tests: Added sublabel handling also to revertedTests
Kornel Benko [Tue, 24 Nov 2015 19:18:08 +0000 (20:18 +0100)]
Cmake export tests: Added sublabel handling also to revertedTests

As an example the inserted label 'chemgreek' shows also
how to reset the sublabels.

8 years agoCmake export tests: Renamed nonstandardTests to unreliableTests
Kornel Benko [Tue, 24 Nov 2015 17:42:36 +0000 (18:42 +0100)]
Cmake export tests: Renamed nonstandardTests to unreliableTests
and introduce sublabels

Sublabels section in *.Tests starts with 'Sublabel: name'
and is valid until start of a new sublabel.
'name' contains only ascii characters [a-z]+

8 years agoFix length of hfills
Jean-Marc Lasgouttes [Fri, 13 Nov 2015 09:57:26 +0000 (10:57 +0100)]
Fix length of hfills

The computation of the legth of expanded hfills did not take into account their unexpanded size. This is done now by increasing the dimension (+=) instead of merely setting it.

Moreover, since the insets sizes are integer number, rounding effects have to be taken in account. To this end, the extra number of pixels is added to the last hfill in the row.

This fixes part of bug #9860.

Note not everything is fixed by this patch: the logic of ParagraphMetrics::hfillExpansion seems bogus to me. I do not see why consecutive hfills at the beginning of a row should not be all expanded. Since I do not know what are the peculiarities of hfill handling in LaTeX, I did not change it (yet).

I did not either try to investigate the label hfill part, because I do not even know what is so special about it. I think there is a lot of old logic that nobody ever tried to question.

8 years agoDocument step to update LyX.py when update format
Scott Kostyshak [Tue, 24 Nov 2015 03:11:14 +0000 (22:11 -0500)]
Document step to update LyX.py when update format

8 years agoAdd comment
Scott Kostyshak [Sun, 22 Nov 2015 16:21:55 +0000 (11:21 -0500)]
Add comment

8 years agoDo not invoke AM_NLS twice.
Jean-Marc Lasgouttes [Mon, 23 Nov 2015 10:53:46 +0000 (11:53 +0100)]
Do not invoke AM_NLS twice.

8 years agoTypo
Kornel Benko [Mon, 23 Nov 2015 12:41:29 +0000 (13:41 +0100)]
Typo

8 years agoCmake export tests: Added directory "autotests/export"
Kornel Benko [Mon, 23 Nov 2015 12:12:53 +0000 (13:12 +0100)]
Cmake export tests: Added directory "autotests/export"

8 years agoCmake url tests: Added summary files.
Kornel Benko [Mon, 23 Nov 2015 12:07:53 +0000 (13:07 +0100)]
Cmake url tests: Added summary files.

The files will be locatet in the build-directory "Testing/Temporary" as
  LastFailedAccessibleURLS.log
  LastFailedInaccessibleURLS.log
  LastFailedKnownInvalidURLS.log

8 years agoImplement on screen rendering of alignment in LR boxes.
Jean-Marc Lasgouttes [Fri, 23 Oct 2015 09:16:21 +0000 (11:16 +0200)]
Implement on screen rendering of alignment in LR boxes.

This is done by implementing contentAlignment() for this inset.

In order to display properly 'stretch' alignment, the code for TextMetrics::getAlign is rewritten to include some code that was in computeRowMetrics.

8 years agoRemoved doubled code in CMakeLists.txt
Kornel Benko [Sun, 22 Nov 2015 18:20:32 +0000 (19:20 +0100)]
Removed doubled code in CMakeLists.txt

8 years agoFix InsetListings::getCaption() for std::regex
Georg Baum [Sun, 22 Nov 2015 16:43:10 +0000 (17:43 +0100)]
Fix InsetListings::getCaption() for std::regex

Back references in the format string of regex_replace use the syntax $n both
in std::regex and in boost::regex for the default format. Boost seems to
support the syntax \n in addition, but it is not documented at
http://www.boost.org/doc/libs/master/libs/regex/doc/html/boost_regex/format.html.
Therefore it is a good idea to use $n also for boost.

8 years agoAdd unit test for InsetListings::getCaption()
Georg Baum [Sun, 22 Nov 2015 16:34:46 +0000 (17:34 +0100)]
Add unit test for InsetListings::getCaption()

The regex in InsetListings::getCaption() does not work with C++11 and
std::regex. This can now be checked easily by this new unit test.

8 years agoFrench Additional.lyx: replace non-ASCII char in TEX code
Uwe Stöhr [Sun, 22 Nov 2015 16:25:17 +0000 (17:25 +0100)]
French Additional.lyx: replace non-ASCII char in TEX code

now it compiles also with XeTeX

8 years agoupdate short installation guide for Mac OS X
Stephan Witt [Sun, 22 Nov 2015 16:01:12 +0000 (17:01 +0100)]
update short installation guide for Mac OS X

8 years agoCmake export tests: Added development/mathmacros to the list
Kornel Benko [Sun, 22 Nov 2015 14:10:46 +0000 (15:10 +0100)]
Cmake export tests: Added development/mathmacros to the list

8 years agoMerge branch 'master' of git.lyx.org:lyx
Kornel Benko [Sun, 22 Nov 2015 12:57:13 +0000 (13:57 +0100)]
Merge branch 'master' of git.lyx.org:lyx

8 years agoCmake export tests: Created sub-labels manuals, examples, templates, mathmacros,...
Kornel Benko [Sun, 22 Nov 2015 12:44:27 +0000 (13:44 +0100)]
Cmake export tests: Created sub-labels manuals, examples, templates, mathmacros, autotests.

To test all export use 'ctest -L export'. This is unchanged.
The following lists directories and assigned sub-label
 lib/doc: manuals
 lib/templates: templates
 lib/examples: examples
 development/mathmacro: mathmacros
 autotests: autotests

8 years agoFix some thinkos in MSVC regex hack
Georg Baum [Sun, 22 Nov 2015 12:02:39 +0000 (13:02 +0100)]
Fix some thinkos in MSVC regex hack

The changed code is not used, but I tried to use a similar approach for
boost::regex, and found some problems:
- regex_replace and regex_search are implemented in the replacement, so they
  must not be used directly
- an smatch object must be given by reference (as in the called methods),
  otherwise an exception would be thrown at runtime
- the commented out regex_replace version is actually needed

This code is supposed to be deleted, but nevertheless I wanted to record here
how it had to be modified if it was actually needed.

8 years agoRemove wrong FIXME.
Günter Milde [Sat, 21 Nov 2015 22:08:54 +0000 (23:08 +0100)]
Remove wrong FIXME.

Code at this place calls "switchEncoding" which takes care of not-switching
if there is only one inputenc used in the document.

8 years agoAdd a comment about iso-8859-7 not supported by standard inputenc.
Günter Milde [Sat, 21 Nov 2015 22:07:33 +0000 (23:07 +0100)]
Add a comment about iso-8859-7 not supported by standard inputenc.

8 years agoFix inputenc for some templates.
Günter Milde [Sat, 21 Nov 2015 22:06:24 +0000 (23:06 +0100)]
Fix inputenc for some templates.

Some templates had the inputenc setting "default" (meaning
use the language default encoding, (not TeX's default which is 7-bit ASCII) but
don't load inputenc, leave handling of non-ASCII characters to the author).

This is no apparent problem as long as no non-ASCII character is used in the
document. It is very unsave, however, as any non-ASCII character used in the
document has the potential to either make compilation fail or be
misrepresented in the output.

8 years agoCmake export tests: Move some tests around.
Kornel Benko [Sat, 21 Nov 2015 18:37:41 +0000 (19:37 +0100)]
Cmake export tests: Move some tests around.

Some tests behave different on different systems.
Probably missing font, or tex class ...

8 years agoCmake export tests: now export/examples/fa/splash_dvi passes
Kornel Benko [Sat, 21 Nov 2015 16:54:02 +0000 (17:54 +0100)]
Cmake export tests: now export/examples/fa/splash_dvi passes

Günter Milde suggested setting language of URL to english, this helps

8 years agode.po
Juergen Spitzmueller [Sat, 21 Nov 2015 15:39:56 +0000 (16:39 +0100)]
de.po

8 years agoCmake export tests: Ignoring some japanese tests.
Kornel Benko [Sat, 21 Nov 2015 13:20:54 +0000 (14:20 +0100)]
Cmake export tests: Ignoring some japanese tests.

Compiling Japanese tex files with anything other than platex is
ATM not successful.

8 years agoRemove an errant slash in Tutorial
Scott Kostyshak [Sat, 21 Nov 2015 00:31:44 +0000 (19:31 -0500)]
Remove an errant slash in Tutorial

8 years agoImprove debug message
Jean-Marc Lasgouttes [Fri, 20 Nov 2015 21:43:45 +0000 (22:43 +0100)]
Improve debug message

8 years agoadjust qt configure options for 5.5.1, avoid -arch deprecated warning for qt5
Stephan Witt [Fri, 20 Nov 2015 19:51:47 +0000 (20:51 +0100)]
adjust qt configure options for 5.5.1, avoid -arch deprecated warning for qt5

8 years agoimproved data types for prefix length and pointer diff
Stephan Witt [Fri, 20 Nov 2015 19:48:56 +0000 (20:48 +0100)]
improved data types for prefix length and pointer diff

8 years agoClear the error list before second LaTeX run
Scott Kostyshak [Thu, 19 Nov 2015 05:19:00 +0000 (00:19 -0500)]
Clear the error list before second LaTeX run

It was possible for errors that occured in the first run to be shown
in the error list after the second run. Now, the errors are cleared
before the second run.

Although I do not have a reproducible example at hand, I imagine
this situation would occur if a rerun is required and there is still
an error after the rerun.

Related to #9765.

8 years agoUpdate exit code on second LaTeX run (#9765)
Scott Kostyshak [Thu, 19 Nov 2015 05:18:40 +0000 (00:18 -0500)]
Update exit code on second LaTeX run (#9765)

Before, the exit code for the first LaTeX run was used to set the
flag, which caused an error to be reported when in fact there was no
error on the second run.

This fix ammends 1dbf0e5a.

8 years agoAdd comment
Scott Kostyshak [Thu, 19 Nov 2015 02:33:44 +0000 (21:33 -0500)]
Add comment

8 years agotex2lyx: Add a newline at the end of comment if not at the end of a paragraph.
Jean-Marc Lasgouttes [Wed, 9 Sep 2015 09:47:47 +0000 (11:47 +0200)]
tex2lyx: Add a newline at the end of comment if not at the end of a paragraph.

When importing TeX code like
  %comment
  TEXT
the LyX document currently becomes
  [ERT %comment] TEXT
so that TEXT is now part of the comment.

Now output_comment adds a trailing newline if the token after the
comment is not a newline. Note that the newline that marks the end of
the comment has already been parsed at this point.

tex2lyx tests have been checked manually and updated.

Fixes ticket #9551.

8 years agoUpdate sk.po
Kornel Benko [Fri, 20 Nov 2015 10:14:06 +0000 (11:14 +0100)]
Update sk.po

8 years agoCmake export tests: Finished categorizing tests.
Kornel Benko [Fri, 20 Nov 2015 09:20:10 +0000 (10:20 +0100)]
Cmake export tests: Finished categorizing tests.

Now
'ctest -L export' should be without errors
If there _are_ errors, the appropriate test should go to nonstandardTests

'ctest -L reverted' should be without errors
If there _are_ errors, the appropriate test should go to nonstandardTests

'ctest -L nonstandard'
Tests here may, or may not fail. Depends of installed tex extensions

8 years agoCmake export test: Make some lyx-files them compilable if using system fonts
Kornel Benko [Fri, 20 Nov 2015 09:13:54 +0000 (10:13 +0100)]
Cmake export test: Make some lyx-files them compilable if using system fonts

8 years agoFrench Additional.lyx: replace non-ASCII char in TEX code
Uwe Stöhr [Thu, 19 Nov 2015 23:58:58 +0000 (00:58 +0100)]
French Additional.lyx: replace non-ASCII char in TEX code

now it compiles also with XeTeX

8 years agoDisable Apply button in InsetParams dialogs if there is no inset to apply to.
Juergen Spitzmueller [Thu, 19 Nov 2015 14:48:49 +0000 (15:48 +0100)]
Disable Apply button in InsetParams dialogs if there is no inset to apply to.

Fixes: #9386
8 years agoCmake export tests: List of inverted tests is expanding
Kornel Benko [Thu, 19 Nov 2015 01:54:25 +0000 (02:54 +0100)]
Cmake export tests: List of inverted tests is expanding

Comments, why a test is moved into the set of inverted are, as usual, from Günter Milde.

8 years agoCorrect tex2lyx/roundtrip/test-structure.tex test.
Kornel Benko [Wed, 18 Nov 2015 17:35:54 +0000 (18:35 +0100)]
Correct tex2lyx/roundtrip/test-structure.tex test.

8 years agoRemove trailing space at the end of \author
Guillaume Munch [Fri, 13 Nov 2015 18:40:10 +0000 (18:40 +0000)]
Remove trailing space at the end of \author

Checked that the change is compatible with lyx2lyx (relevant lines are in
lyx_2_0.py).

8 years agoFix bug #9854 "Dataloss after git merge with change tracking"
Guillaume Munch [Wed, 11 Nov 2015 21:31:05 +0000 (21:31 +0000)]
Fix bug #9854 "Dataloss after git merge with change tracking"

A plausible scenario is that change tracking is used together with a versioning
system. In this case, parallel modifications might remove an \author line on one
side, and add another change of this author on the other side. This scenario
causes a bad merge after which the added change has no associated author. In
this case, LyX used to display a list of errors on opening and deliberately
removed the corresponding change tracking information.

* If ever a tracked change refers to an author that does not exist, then add a
  dummy author. This dummy author is not saved to the file afterwards.

* Have a very clear error message on opening such a corrupt file.

8 years agoRewrite regexes in ECMAScript style (bug #9799)
Guillaume Munch [Mon, 16 Nov 2015 22:40:52 +0000 (22:40 +0000)]
Rewrite regexes in ECMAScript style (bug #9799)

8 years agotheorems-ams: add solution environment
Uwe Stöhr [Wed, 18 Nov 2015 01:36:49 +0000 (02:36 +0100)]
theorems-ams: add solution environment

 fixes bug #6363 now completely

8 years agodocument fileformat change
Uwe Stöhr [Wed, 18 Nov 2015 00:16:39 +0000 (01:16 +0100)]
document fileformat change

8 years agotheorems.inc: add environment "solution"
Uwe Stöhr [Wed, 18 Nov 2015 00:14:30 +0000 (01:14 +0100)]
theorems.inc: add environment "solution"

fileformat change, fixes bug #6363

8 years agode.po: fix a shortcut conflict
Uwe Stöhr [Tue, 17 Nov 2015 22:58:44 +0000 (23:58 +0100)]
de.po: fix a shortcut conflict

8 years agoCmake monolithic build: Some corrections.
Kornel Benko [Tue, 17 Nov 2015 20:21:00 +0000 (21:21 +0100)]
Cmake monolithic build: Some corrections.

In the src/support directory do not use src/support/AppleScriptProxy.cpp if not APPLE.
In the src/client directory remove inclusion of src/TexRow.cpp

8 years agoCmake export tests: More tests to be inverted, suspended or made non-standard
Kornel Benko [Tue, 17 Nov 2015 17:22:45 +0000 (18:22 +0100)]
Cmake export tests: More tests to be inverted, suspended or made non-standard

All comments in revertedTests comes from Günter Milde
Non standard test is new. It should collect all tests
which may not work because of some missing non-standard
tex package or some exotic system font.

8 years agoDo not switch listings to singlebyte encoding with pLateX/Japanese
Juergen Spitzmueller [Tue, 17 Nov 2015 09:28:10 +0000 (10:28 +0100)]
Do not switch listings to singlebyte encoding with pLateX/Japanese

Also improve Listings warning about uncodable characters
if the encoding has been switched by LyX.

Fixes: #8439