]> git.lyx.org Git - lyx.git/log
lyx.git
9 years agoFix version number
Juergen Spitzmueller [Tue, 21 Apr 2015 13:48:32 +0000 (15:48 +0200)]
Fix version number

9 years agoFix wrong symbol in IPA toolbar.
Juergen Spitzmueller [Tue, 21 Apr 2015 09:04:28 +0000 (11:04 +0200)]
Fix wrong symbol in IPA toolbar.

Richard, this shuld also go to branch.

9 years agolinguistics.lyx: small tweak.
Juergen Spitzmueller [Tue, 21 Apr 2015 08:23:33 +0000 (10:23 +0200)]
linguistics.lyx: small tweak.

9 years agoUpdate previews after pasting (#6211)
Scott Kostyshak [Sun, 19 Apr 2015 17:46:04 +0000 (13:46 -0400)]
Update previews after pasting (#6211)

The reason we want to do this is for if there is pasting across buffers.
For within buffer, the previews should already be updated. Calling the
buffer-wide updatePreviews() might seem like overkill, but actually it
should be quick because only the previews that need updating are updated
(and this check feels quick to me, although I did not profile).

If we were to loop through the pasted text and update each preview
individually, this might take more time. When updating previews
together, only one .tex file is compiled.

9 years agoUpdate previews on preference change (#9507)
Scott Kostyshak [Sun, 19 Apr 2015 06:30:28 +0000 (02:30 -0400)]
Update previews on preference change (#9507)

Normally the theBufferList().updatePreviews(); statement would go inside
of PrefDisplay::applyRC. However, that would not work well because
Buffer::updatePreviews() calls loader() which conditions on
(lyxrc.preview == LyXRC::PREVIEW_OFF) but the new RC has not been set at
this point.

9 years agoPreview and math now update on screen-up (#6173)
Scott Kostyshak [Sun, 19 Apr 2015 00:31:18 +0000 (20:31 -0400)]
Preview and math now update on screen-up (#6173)

When editing a preview inset, or math, when we leave the inset, we
should update the preview. This update now happens for screen-up and
screen-down (commonly bound to Page Up and Page Down).

Note that this is only relevant if preview is turned on in
preferences.

This commit probably fixes other issues for any inset that defines
notifyCursorLeaves().

This fixes only part of #6173.

9 years agofr.po: update from Jean-Pierre
Uwe Stöhr [Mon, 20 Apr 2015 22:34:19 +0000 (00:34 +0200)]
fr.po: update from Jean-Pierre

9 years agoDocument forest.
Juergen Spitzmueller [Mon, 20 Apr 2015 16:30:50 +0000 (18:30 +0200)]
Document forest.

9 years agoAdd support for linguistic trees (via forest)
Juergen Spitzmueller [Mon, 20 Apr 2015 16:14:42 +0000 (18:14 +0200)]
Add support for linguistic trees (via forest)

9 years agoNew (Inset)Layout tag PassThruChars
Juergen Spitzmueller [Mon, 20 Apr 2015 16:13:49 +0000 (18:13 +0200)]
New (Inset)Layout tag PassThruChars

9 years agoDo not show obsoleted flex insets in the menu.
Juergen Spitzmueller [Mon, 20 Apr 2015 16:10:25 +0000 (18:10 +0200)]
Do not show obsoleted flex insets in the menu.

9 years agode/linguistics.lyx: small tweak.
Juergen Spitzmueller [Mon, 20 Apr 2015 10:21:29 +0000 (12:21 +0200)]
de/linguistics.lyx: small tweak.

9 years agode.po
Juergen Spitzmueller [Mon, 20 Apr 2015 10:20:52 +0000 (12:20 +0200)]
de.po

9 years agoSupport item argument in linguistic examples
Juergen Spitzmueller [Mon, 20 Apr 2015 10:15:20 +0000 (12:15 +0200)]
Support item argument in linguistic examples

File format change.

9 years agoUpdate previews after doing a find/replace (#7242)
Scott Kostyshak [Sun, 19 Apr 2015 01:40:43 +0000 (21:40 -0400)]
Update previews after doing a find/replace (#7242)

This commit addresses #7242 for normal Find/Replace. That issue was
fixed for Advanced Find at 29948eec.

9 years agoRemove bad hack.
Jean-Marc Lasgouttes [Fri, 17 Apr 2015 13:58:14 +0000 (15:58 +0200)]
Remove bad hack.

The macro N_() is a no-op which does exactly what is needed here: tell gettext that the string should be in the list of translations.

9 years agoctests: remove some tests from ignored file
Scott Kostyshak [Fri, 17 Apr 2015 02:54:33 +0000 (22:54 -0400)]
ctests: remove some tests from ignored file

The bug that caused these tests to enter into infinite loops
(and have a memory leak) has been fixed. These tests now
pass on an updated TeX Live 2014 as well as the current TeX
Live 2015 pretest.

9 years agoAdd \li Origin for the buffer-move-* LFUNs
Scott Kostyshak [Fri, 17 Apr 2015 02:50:48 +0000 (22:50 -0400)]
Add \li Origin for the buffer-move-* LFUNs

9 years agoFrench UserGuide.lyx: updates from Jean-Pierre
Uwe Stöhr [Fri, 17 Apr 2015 00:19:29 +0000 (02:19 +0200)]
French UserGuide.lyx: updates from Jean-Pierre

9 years agocua.bind: switch shortcuts for bold and boldsymbol
Uwe Stöhr [Thu, 16 Apr 2015 23:18:56 +0000 (01:18 +0200)]
cua.bind: switch shortcuts for bold and boldsymbol

fixes bug #9413

9 years agoUserGuide.lyx: fix a typo
Uwe Stöhr [Thu, 16 Apr 2015 23:11:36 +0000 (01:11 +0200)]
UserGuide.lyx: fix a typo

9 years agoUserGuide.lyx: fix a LaTeX warning
Uwe Stöhr [Thu, 16 Apr 2015 23:03:18 +0000 (01:03 +0200)]
UserGuide.lyx: fix a LaTeX warning

\bf is deprecated

9 years agoToggle properly the math-display icon
Jean-Marc Lasgouttes [Thu, 16 Apr 2015 16:51:29 +0000 (18:51 +0200)]
Toggle properly the math-display icon

9 years agoDo not remove separators at end of rows.
Jean-Marc [Thu, 16 Apr 2015 09:39:33 +0000 (11:39 +0200)]
Do not remove separators at end of rows.

I am not sure why I addd this code at the time. I do not think there was a good reason.

Fixes bug #9447.

9 years agoAvoid requiring messages with empty language.
Jean-Marc Lasgouttes [Wed, 15 Apr 2015 13:27:05 +0000 (15:27 +0200)]
Avoid requiring messages with empty language.

This is a follow-up to commit 8aa2d6b1.

9 years agoemacs.bind: Added shortcuts for dictionaries
Kornel Benko [Tue, 14 Apr 2015 08:51:39 +0000 (10:51 +0200)]
emacs.bind: Added shortcuts for dictionaries

9 years agoUpdate it.po
Enrico Forestieri [Mon, 13 Apr 2015 14:16:03 +0000 (16:16 +0200)]
Update it.po

9 years agoUpdate sk.po
Kornel Benko [Mon, 13 Apr 2015 08:40:34 +0000 (10:40 +0200)]
Update sk.po

9 years agode.po
Juergen Spitzmueller [Mon, 13 Apr 2015 07:57:19 +0000 (09:57 +0200)]
de.po

9 years agoIssue a warning if thesaurus dir is not set up (as suggested in #9496)
Juergen Spitzmueller [Sun, 12 Apr 2015 13:55:01 +0000 (15:55 +0200)]
Issue a warning if thesaurus dir is not set up (as suggested in #9496)

9 years agoTweak some icons.
Enrico Forestieri [Sun, 12 Apr 2015 10:58:24 +0000 (12:58 +0200)]
Tweak some icons.

9 years agoUpdate tex2lyx test references
Georg Baum [Sun, 12 Apr 2015 08:07:42 +0000 (10:07 +0200)]
Update tex2lyx test references

The lyx2lyx conversions for the new formats are empty, therefore we can simply
update the format number.

9 years agoFix output of \lightning in math mode.
Enrico Forestieri [Sat, 11 Apr 2015 22:47:18 +0000 (00:47 +0200)]
Fix output of \lightning in math mode.

The \lightning symbol is text mode only. Hence, for using it in
mathed, it must be inserted in a text mode environment such as
\mbox, \text, etc. However, as it is not marked as textmode,
LyX "helpfully" encloses it in \ensuremath everytime one tries
to put it in a text mode environment, thus defying the countermeasure.
By declaring it textmode only, LyX stops doing that and thus it can be
correctly output by simply selecting it and hitting Ctrl-M.

9 years agoMath Panels: add "Fonts" icons.
Enrico Forestieri [Sat, 11 Apr 2015 21:02:25 +0000 (23:02 +0200)]
Math Panels: add "Fonts" icons.

9 years agoMath Panels: revise the "Math spacings" svg icons.
Enrico Forestieri [Sat, 11 Apr 2015 17:46:42 +0000 (19:46 +0200)]
Math Panels: revise the "Math spacings" svg icons.

9 years agoMath Panels: revise the "Miscellaneous (extended)" svg icons.
Enrico Forestieri [Sat, 11 Apr 2015 14:51:18 +0000 (16:51 +0200)]
Math Panels: revise the "Miscellaneous (extended)" svg icons.

9 years agoRemove problematic accelerator (#9495)
Juergen Spitzmueller [Fri, 10 Apr 2015 08:13:12 +0000 (10:13 +0200)]
Remove problematic accelerator (#9495)

Seems there is no free accelerator left for the source view pane.

9 years agoAdapt creation of preview images to the defaul document output.
Kornel Benko [Thu, 9 Apr 2015 14:29:59 +0000 (16:29 +0200)]
Adapt creation of preview images to the defaul document output.

Sometimes, even compilable documents could not display preview
snippets. Previously the preview was computed only with help
of latex or xelatex.
This also fixes #9371

9 years agoFix potential link error in tests.
Jean-Marc Lasgouttes [Thu, 9 Apr 2015 09:57:00 +0000 (11:57 +0200)]
Fix potential link error in tests.

This is a followup of d4718b18, which itself fixes a problem introduced in 66fa801e.

9 years agoFile format change caused by 34eadf5d4.
Juergen Spitzmueller [Thu, 9 Apr 2015 09:01:44 +0000 (11:01 +0200)]
File format change caused by 34eadf5d4.

9 years agoFix tex2lyx linker error on windows
Georg Baum [Wed, 8 Apr 2015 20:04:13 +0000 (22:04 +0200)]
Fix tex2lyx linker error on windows

The FontMetrics dummy class was in the wrong namespace. Linking on linux
did work because the GNU linker is more clever than the MSVC linker for this
particular example and throws out more unused code, so that theFontMetrics was
not referenced at all.

9 years agoUpdate sk.po
Kornel Benko [Wed, 8 Apr 2015 19:48:34 +0000 (21:48 +0200)]
Update sk.po

9 years agoctest: do not disable the English version test
Scott Kostyshak [Wed, 8 Apr 2015 19:04:43 +0000 (15:04 -0400)]
ctest: do not disable the English version test

9 years agoctests: disable two fr/Math.lyx tests
Scott Kostyshak [Wed, 8 Apr 2015 18:26:07 +0000 (14:26 -0400)]
ctests: disable two fr/Math.lyx tests

One of the tests is also disabled for es/Math.lyx. However,
the other test passes for es/Math.lyx. To reproduce,
open fr/Math.lyx, click "Use non-TeX fonts", and choose
e.g. "FreeSans" for the three fonts. Then view as PDF (LuaTeX).

I put a note to look into why this one fails.

9 years agoImplement and bind buffer-move-{next,previous}
Scott Kostyshak [Wed, 8 Apr 2015 03:18:21 +0000 (23:18 -0400)]
Implement and bind buffer-move-{next,previous}

Control + Shift + PgDn now moves a tab to the right.
Control + Shift + PgUp now moves a tab to the left.

These keybindings are consistent with Chromium, Firefox,
Nautilus, and gnome-terminal.

Note that I allow for wrapping. This is consistent with
allowing wrapping for buffer-{next,previous}, but there
might be reasons to disable it in the future.

9 years agoFix compilation of the template ACM-sigplan.lyx
Scott Kostyshak [Wed, 8 Apr 2015 17:29:13 +0000 (13:29 -0400)]
Fix compilation of the template ACM-sigplan.lyx

This template was only reported as failing to compile by LyX as of
0a6120cb. I do not know how long this template was actually failing
to compile without error. The problem was that the class requires
\doi to be defined. This might not have been a requirement in
previous versions of the class.

Thanks to Enrico for finding the problem and solution.

9 years agoUpdate a fileformat
Scott Kostyshak [Wed, 8 Apr 2015 17:20:28 +0000 (13:20 -0400)]
Update a fileformat

9 years agoSet enable for both cases
Scott Kostyshak [Wed, 8 Apr 2015 16:58:03 +0000 (12:58 -0400)]
Set enable for both cases

Thanks to Jürgen.

9 years agoMath Panels: revise the "Dots" and "Delimiters" svg icons.
Enrico Forestieri [Wed, 8 Apr 2015 15:59:54 +0000 (17:59 +0200)]
Math Panels: revise the "Dots" and "Delimiters" svg icons.

9 years agoMath Panels: revise the "Negative relations" svg icons.
Enrico Forestieri [Wed, 8 Apr 2015 10:15:15 +0000 (12:15 +0200)]
Math Panels: revise the "Negative relations" svg icons.

9 years agoCorrect typo from last commit
Scott Kostyshak [Wed, 8 Apr 2015 03:00:51 +0000 (23:00 -0400)]
Correct typo from last commit

9 years agoSimplify previous commit
Scott Kostyshak [Wed, 8 Apr 2015 02:59:34 +0000 (22:59 -0400)]
Simplify previous commit

The brackets are not necessary.

9 years agoAdd getStatus check that >1 tab for switching
Scott Kostyshak [Wed, 8 Apr 2015 02:55:20 +0000 (22:55 -0400)]
Add getStatus check that >1 tab for switching

buffer-next and buffer-previous are now only enabled
if there is more than one tab. Note that it does not
matter whether we are at the first or last tab because
we cycle.

9 years agoFix external middle-mouse pasting with Qt5/X11.
Enrico Forestieri [Tue, 7 Apr 2015 10:59:41 +0000 (12:59 +0200)]
Fix external middle-mouse pasting with Qt5/X11.

Closes #9216. Patch by Jürgen and me.

9 years agoContinue compilation despite errors (#8739)
Scott Kostyshak [Tue, 7 Apr 2015 06:55:59 +0000 (02:55 -0400)]
Continue compilation despite errors (#8739)

Now that we have the "Show Output Anyway" button (09700d5b),
it makes sense to continue compilation even if there is an error.

9 years agoDocument buffer-view-cache in RELEASE-NOTES
Scott Kostyshak [Tue, 7 Apr 2015 07:03:46 +0000 (03:03 -0400)]
Document buffer-view-cache in RELEASE-NOTES

9 years agoAdd on to fix for #2757
Scott Kostyshak [Tue, 7 Apr 2015 06:30:54 +0000 (02:30 -0400)]
Add on to fix for #2757

- Treat BibTeX errors as errors so the LaTeX Errors dialog is shown.
- Add RELEASE-NOTES (updated from cba432f1).

9 years agoMath Panels: revise the "Relations (extra)" svg icons.
Enrico Forestieri [Mon, 6 Apr 2015 22:49:34 +0000 (00:49 +0200)]
Math Panels: revise the "Relations (extra)" svg icons.

9 years agoDo not close LyX in the commitData process (#9277)
Juergen Spitzmueller [Mon, 6 Apr 2015 11:50:32 +0000 (13:50 +0200)]
Do not close LyX in the commitData process (#9277)

Since the logout process still can be canceled here, we should only
check that all dirty buffers are saved and that the session state is
recorded.

Please test, particularly on Windows and OSX, that logging out with LyX
running (both with and without dirty buffers) proceeds sensibly and that
the LyX session is correctly restored when you re-login.

9 years agoPrevent crash when attempting to restore a file multiple times.
Juergen Spitzmueller [Mon, 6 Apr 2015 07:55:07 +0000 (09:55 +0200)]
Prevent crash when attempting to restore a file multiple times.

We currently cannot restore multiple views of the same buffer properly.
On the mac, we even crash.
So do not try it, record each file only once in the last opened list.

Fixes: #9483.
9 years agoRe-introduce BibTeX error reporting via Error dialog (#2757)
Juergen Spitzmueller [Mon, 6 Apr 2015 07:43:06 +0000 (09:43 +0200)]
Re-introduce BibTeX error reporting via Error dialog (#2757)

Since PDF can now viewed anyway, the objections to the previous attempt might be addressed.

9 years agoMultilingualCaptions.lyx: update some menu names
Uwe Stöhr [Mon, 6 Apr 2015 04:10:30 +0000 (06:10 +0200)]
MultilingualCaptions.lyx: update some menu names

9 years agolyx2lyx/lyx_2_2.py: correct a whitespace mistake
Uwe Stöhr [Mon, 6 Apr 2015 04:08:26 +0000 (06:08 +0200)]
lyx2lyx/lyx_2_2.py: correct a whitespace mistake

9 years agosupport for Georgian
Uwe Stöhr [Mon, 6 Apr 2015 04:00:11 +0000 (06:00 +0200)]
support for Georgian

add support to set Georgian as document language, fileformat change

9 years agoMultilingualCaptions.lyx: new German translation
Uwe Stöhr [Mon, 6 Apr 2015 01:36:57 +0000 (03:36 +0200)]
MultilingualCaptions.lyx: new German translation

- also some fixes for the other language variants

9 years agoar.po: update from Hatim
Uwe Stöhr [Mon, 6 Apr 2015 00:37:23 +0000 (02:37 +0200)]
ar.po: update from Hatim

9 years agoShow Anyway button needs to be enabled/disabled in paramsToDialog.
Juergen Spitzmueller [Sun, 5 Apr 2015 08:50:30 +0000 (10:50 +0200)]
Show Anyway button needs to be enabled/disabled in paramsToDialog.

Else, the state set on first launch persists, notwithstanding the change of function state.

9 years agoSimplify code
Scott Kostyshak [Sat, 4 Apr 2015 18:56:29 +0000 (14:56 -0400)]
Simplify code

9 years agoDetect when an external command crashes
Scott Kostyshak [Sat, 4 Apr 2015 17:39:42 +0000 (13:39 -0400)]
Detect when an external command crashes

This fixes a situation where LyX did not detect that something went
wrong (that an external comman crashed) and reported that export was
successful. To reproduce, use the following version of LuaTeX (the
bug in LuaTeX causing the crash has since been fixed):
LuaTeX, Version beta-0.79.1 (TeX Live 2014) (rev 4971)
Then open FeynmanDiagrams.lyx and export with PDF (LuaTeX).

In the documentation [1] for QProcess::exitCode() it states:
"This value is not valid unless exitStatus() returns NormalExit."

For more information, see:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg185317.html

[1] http://doc.qt.io/qt-5/qprocess.html#exitCode

9 years agoButton for showing PDF if compilation error
Scott Kostyshak [Tue, 31 Mar 2015 22:54:49 +0000 (18:54 -0400)]
Button for showing PDF if compilation error

Building on cd8be655, we still allow viewing a produced PDF even if
there were compilation errors. However, now the user must click the
"Show Output Anyway" button in the LaTeX Errors dialog. The reason
is that before, there was a chance that the user would not realize
there was an error (because the PDF would be shown over the error
dialog). The approach in this commit makes it more clear that there
is an error.

A new LFUN is introduced, LFUN_BUFFER_VIEW_CACHE. It is useful not
just for the implementation of the "Show Output Anyway" button, but
also to show the last compiled version of a document, which can save
time if a document takes a long time to compile (e.g. heavy use of
knitr).

9 years agoUse local babel language switch in fixed width cells in order to prevent unwanted...
Juergen Spitzmueller [Sat, 4 Apr 2015 09:59:01 +0000 (11:59 +0200)]
Use local babel language switch in fixed width cells in order to prevent unwanted whitespace

Fixes: #9455
9 years agoFix selection at borders of insets (#9487)
Scott Kostyshak [Tue, 31 Mar 2015 16:53:23 +0000 (12:53 -0400)]
Fix selection at borders of insets (#9487)

When at the last position in an inset, selecting to the right
should select the entire inset. This only worked if there was
already a selection (i.e. the selection was started not at the
boundary).

The behavior of this bug was changed by commit 73a7bf9d.  Before
that commit, if at the last position of an inset you select to
the right, nothing is selected but the selection is set. If you
select once more to the right, because the selection is set the
needsUpdate condition is satisfied so the whole inset is selected.

Note that everything here applies also to "first position of an
inset" and selecting to the left. By "selecting", I am referring
to LFUN_{CHAR,WORD}_{FORWARD,BACKWARD}_SELECT.

9 years agoUpdate he.po
Kornel Benko [Fri, 3 Apr 2015 09:51:25 +0000 (11:51 +0200)]
Update he.po

new translations from  Guy Rutenberg <guyrutenberg@gmail.com>

9 years agoMath Panels: revise the "Relations" svg icons.
Enrico Forestieri [Thu, 2 Apr 2015 22:35:06 +0000 (00:35 +0200)]
Math Panels: revise the "Relations" svg icons.

9 years agoFix math macro crash (bug 9418)
Georg Baum [Thu, 2 Apr 2015 19:35:05 +0000 (21:35 +0200)]
Fix math macro crash (bug 9418)

In the test case the crash occured in mathml export of the temporary buffer,
because the macro was updated, and because one of the used other macros was
not copied, the macro argument was detached. However, the underlying problem
of the crash was a broken ArgumentProxy::mathMacro_ reference which became
invalid each time the ownng MathMacro was copied. In the bug test case the
copying happened due to resizing a std::vector, but any other copy would have
created the same problem. The crash did not always happen, because sometimes
the old freed memory was not immediately reused, so the invalid reference did
still point to usable data.

The fix is easy: Convert ArgumentProxy::mathMacro_ to a pointer and update it
always after creating a copy of the owner. The pimpl of MathMacro from the
previous commit helps here to distinguish between the data that can be
automatically copied (in MathMacro::Private) and the cleanup that needs to be
done manually (in MathMacro). This way, the manual copy constructor and
assigment operator of MathMacro does not need to be touched if a new member is
added.

9 years agoPimpl MathMacro
Georg Baum [Thu, 2 Apr 2015 19:20:32 +0000 (21:20 +0200)]
Pimpl MathMacro

This will make it easier to fix bug 9418.

9 years agoProperly determine active font encoding
Juergen Spitzmueller [Thu, 2 Apr 2015 15:13:45 +0000 (17:13 +0200)]
Properly determine active font encoding

9 years agoImplement checkWidgets in the remaining InsetParamsWidget derived dialogs.
Juergen Spitzmueller [Thu, 2 Apr 2015 15:03:08 +0000 (17:03 +0200)]
Implement checkWidgets in the remaining InsetParamsWidget derived dialogs.

9 years agoNo need for default argument
Juergen Spitzmueller [Thu, 2 Apr 2015 14:32:04 +0000 (16:32 +0200)]
No need for default argument

9 years agoCmake tests: Test export xhtml always, independent of default output format
Kornel Benko [Thu, 2 Apr 2015 07:51:53 +0000 (09:51 +0200)]
Cmake tests: Test export xhtml always, independent of default output format

9 years agoAdded test for export of icon graphics in lyx info inset.
Kornel Benko [Thu, 2 Apr 2015 07:39:42 +0000 (09:39 +0200)]
Added test for export of icon graphics in lyx info inset.

Tests the polluting of the system directory with pdf form of the
original svgz graphic.

9 years agoMath Panels: revise the "Operators (extra)" svg icons.
Enrico Forestieri [Wed, 1 Apr 2015 22:25:51 +0000 (00:25 +0200)]
Math Panels: revise the "Operators (extra)" svg icons.

Also small tweaks to some other icons.

9 years agoEnable editing 'slovak.nsh' with emacs.
Kornel Benko [Wed, 1 Apr 2015 16:16:35 +0000 (18:16 +0200)]
Enable editing 'slovak.nsh' with emacs.

9 years agoCmake build: Do not install .pdf icons created by export
Kornel Benko [Wed, 1 Apr 2015 15:26:13 +0000 (17:26 +0200)]
Cmake build: Do not install .pdf icons created by export

Such files are polluting the lib/images directory if
exporting lyx-files containing lyx-info of type icon.

9 years agoClean-up the undo API
Jean-Marc Lasgouttes [Thu, 12 Mar 2015 14:57:29 +0000 (15:57 +0100)]
Clean-up the undo API

* Remove the UndoKind parameter in the general interface
* move recordUndoInset to Cursor
* remove one variant of Undo::recordUndo.
* get rid of Text::recUndo.

9 years agoCmake tests: Test pdf exports honoring the default output format
Kornel Benko [Wed, 1 Apr 2015 09:50:31 +0000 (11:50 +0200)]
Cmake tests: Test pdf exports honoring the default output format

The variable 'out_formats' was not set correctly in this case.

9 years agoGuiInfo: implement checkWidgets.
Juergen Spitzmueller [Wed, 1 Apr 2015 08:07:20 +0000 (10:07 +0200)]
GuiInfo: implement checkWidgets.

9 years agoEuropassCV only supports pdflatex.
Juergen Spitzmueller [Wed, 1 Apr 2015 07:47:53 +0000 (09:47 +0200)]
EuropassCV only supports pdflatex.

9 years agoFix warning
Jean-Marc Lasgouttes [Tue, 31 Mar 2015 15:08:04 +0000 (17:08 +0200)]
Fix warning

9 years agoGet rid of autoBreakRow, which is obsoleted by allowMultiPar()
Jean-Marc Lasgouttes [Mon, 30 Mar 2015 17:45:01 +0000 (19:45 +0200)]
Get rid of autoBreakRow, which is obsoleted by allowMultiPar()

The only real user was Text::insertStringAsLine, but this got changed
in commit 2c7152ab.

While not other place did read the value, there is a side effect of
setAutobreakRow that merges exiting paragraphs. However, this is used
in two situations

* some constructors, where the inset is empty;

* InsetTabular::toggleFixedWidth, which actually contains itself some
  code to merge paragraphs.

Therefore the member and all associated code can be removed safely.

9 years agoFix bug #9279
José Matos [Tue, 31 Mar 2015 14:03:48 +0000 (15:03 +0100)]
Fix bug #9279

Make lyx2lyx parser a bit more robust.

Ignore if the first line of a lyx file does not start with a #
Add such a line if it is missing..

9 years agoTypo
Enrico Forestieri [Tue, 31 Mar 2015 14:03:16 +0000 (16:03 +0200)]
Typo

9 years agoImprove the check for multiple paragraphs in Text::insertStringAsLine.
Jean-Marc Lasgouttes [Mon, 30 Mar 2015 21:12:39 +0000 (23:12 +0200)]
Improve the check for multiple paragraphs in Text::insertStringAsLine.

Rely only on InsetText::allowMultipar() to get this information.

Implement this method for InsetTabular and InsetBox.

Also rely on this method for disabling LFUN_PARAGRAPH_BREAK.

9 years agoAdd comment
Enrico Forestieri [Mon, 30 Mar 2015 23:26:48 +0000 (01:26 +0200)]
Add comment

9 years agoMath Panels: revise the Operators svg icons
Enrico Forestieri [Mon, 30 Mar 2015 23:14:02 +0000 (01:14 +0200)]
Math Panels: revise the Operators svg icons

9 years agoInitialize definition_ correctly
Georg Baum [Mon, 30 Mar 2015 20:04:52 +0000 (22:04 +0200)]
Initialize definition_ correctly

9 years agowhitespace
Georg Baum [Mon, 30 Mar 2015 20:03:03 +0000 (22:03 +0200)]
whitespace

9 years agoMath Panels: revise the "Arrows" svg icons
Enrico Forestieri [Mon, 30 Mar 2015 14:06:02 +0000 (16:06 +0200)]
Math Panels: revise the "Arrows" svg icons

9 years agoImprove read-only mode of InsetParams derived dialogs
Juergen Spitzmueller [Mon, 30 Mar 2015 12:44:11 +0000 (14:44 +0200)]
Improve read-only mode of InsetParams derived dialogs

* Disable "New Inset" button
* Do not disable line edits, but use setReadOnly instead (this allows copying contents)

Fixes: #9408
Note that some dialogs still need some care.

9 years agoUpdate doc-files due to icon rename, this time correct
Kornel Benko [Sun, 29 Mar 2015 15:20:35 +0000 (17:20 +0200)]
Update doc-files due to icon rename, this time correct