]> git.lyx.org Git - lyx.git/log
lyx.git
13 years agoFix bug #7263: Instant Preview crash.
Vincent van Ravesteijn [Tue, 15 Feb 2011 17:11:03 +0000 (17:11 +0000)]
Fix bug #7263: Instant Preview crash.

I guess this deserves to be sorted out better, because we are doing tricky things by deleted the object from itself.

Problem:

PreviewImage? has a member PreviewLoader?. PreviewImage::Impl::statusChanged() calls PreviewLoader::remove. PreviewLoader::Impl::remove removes a snippet from the cache. In the cache is a map of the snippet and a shared pointer to PreviewImage?. This means that removing the snippet from the cache, destroys the PreviewImage?. When we get back to PreviewImage::Impl::statusChanged() this will start to crash.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37681 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoSqueeze warning.
Vincent van Ravesteijn [Tue, 15 Feb 2011 17:09:15 +0000 (17:09 +0000)]
Squeeze warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37680 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agotry a autosave next time even when currently no buffer is open
Peter Kümmel [Tue, 15 Feb 2011 17:07:01 +0000 (17:07 +0000)]
try a autosave next time even when currently no buffer is open

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37679 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #5414: Show context menu accelerators when the context menu is shown after...
Vincent van Ravesteijn [Tue, 15 Feb 2011 16:53:37 +0000 (16:53 +0000)]
Fix bug #5414: Show context menu accelerators when the context menu is shown after pressing the keyboard context menu key.

This should have been done by qt, but we can override qt by adapting the style on the windows platform.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37678 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agouse more common millisecond notation
Peter Kümmel [Tue, 15 Feb 2011 15:25:16 +0000 (15:25 +0000)]
use more common  millisecond notation

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37677 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* src/InsetTabular.cpp: revert r36415.
Jürgen Spitzmüller [Tue, 15 Feb 2011 11:43:04 +0000 (11:43 +0000)]
* src/InsetTabular.cpp: revert r36415.

This went in without discussion and is IMHO wrong (bug #7055 is invalid).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37676 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: complete renaming of LYX_3RDPARTY_DOWNLOAD
Peter Kümmel [Tue, 15 Feb 2011 09:46:14 +0000 (09:46 +0000)]
cmake: complete renaming of LYX_3RDPARTY_DOWNLOAD

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37675 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agosuppress abbreviated descriptions in document dialog
Peter Kümmel [Tue, 15 Feb 2011 09:37:19 +0000 (09:37 +0000)]
suppress abbreviated descriptions in document dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37674 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* lyxpreview-platex2bitmap.py:
Jürgen Spitzmüller [Tue, 15 Feb 2011 08:52:37 +0000 (08:52 +0000)]
* lyxpreview-platex2bitmap.py:
- we might call this with 7 args, although the 7th will just be ignored (which is fine).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37673 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix stupid typo.
Richard Heck [Mon, 14 Feb 2011 22:14:42 +0000 (22:14 +0000)]
Fix stupid typo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37672 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoupdate for new MSVC 2010 dependencies package lyx20-deps-msvc2010-x86.zip (all depend...
Joost Verburg [Mon, 14 Feb 2011 22:04:58 +0000 (22:04 +0000)]
update for new MSVC 2010 dependencies package lyx20-deps-msvc2010-x86.zip (all dependencies in one zip)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37670 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #7209: Crash when clicking on unfinished command in math.
Vincent van Ravesteijn [Mon, 14 Feb 2011 21:30:12 +0000 (21:30 +0000)]
Fix bug #7209: Crash when clicking on unfinished command in math.

This was a similar problem as for bug #5796 in r30807. There I made sure that the position that is used for the context menu is set at mousepress. That was because also the cursor was set at mousepress and we want to get the context menu at the place where the mousebutton was pressed, and not where the mousebutton was released.

However, in this case, the position of the context menu is stored on mousepress, but we don't take into account that the cursor might move afterwards due to the DEPM.

So, the solution is not to save the position of the mouseclick, but to save the name of the context menu we requested.

PS. Perhaps we could save the cursor position, but this seems to work too.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37669 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoupdate info
Joost Verburg [Mon, 14 Feb 2011 21:26:44 +0000 (21:26 +0000)]
update info

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37668 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoReplaced the Ctrl+Shft+r sequences for entering regexp-mode with [Alt+x]regexp-mode...
Tommaso Cucinotta [Mon, 14 Feb 2011 20:41:46 +0000 (20:41 +0000)]
Replaced the Ctrl+Shft+r sequences for entering regexp-mode with [Alt+x]regexp-mode[Ret],
as the shortcut has gone.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37667 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoGive new shortcut for default viewing.
Pavel Sanda [Mon, 14 Feb 2011 20:31:46 +0000 (20:31 +0000)]
Give new shortcut for default viewing.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg165590.html

Closing #5258.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37666 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoupdated MiKTeX detection
Joost Verburg [Mon, 14 Feb 2011 19:57:24 +0000 (19:57 +0000)]
updated MiKTeX detection

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37664 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoLyXLauncher is no longer used in LyX 2.0. This resolves Windows 7 taskbar issues.
Joost Verburg [Mon, 14 Feb 2011 19:55:01 +0000 (19:55 +0000)]
LyXLauncher is no longer used in LyX 2.0. This resolves Windows 7 taskbar issues.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37663 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofix msvc warning, somehow msvc thinks !line[0] is a boolean
Peter Kümmel [Mon, 14 Feb 2011 19:54:04 +0000 (19:54 +0000)]
fix msvc warning, somehow msvc thinks !line[0] is a boolean

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37662 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoCompatibility update for Adobe Reader X. The new pdfview should be used with the...
Joost Verburg [Mon, 14 Feb 2011 19:53:44 +0000 (19:53 +0000)]
Compatibility update for Adobe Reader X. The new pdfview should be used with the updated versions of pdfopen/pdfclose.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37661 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago#7292 use MetaModifier for AltModifier on mac - alt is used to reach many special...
Stephan Witt [Mon, 14 Feb 2011 19:41:23 +0000 (19:41 +0000)]
#7292 use MetaModifier for AltModifier on mac - alt is used to reach many special symbols, now they are usable for regular text input. Note: with swapped Command/Ctrl keys Ctrl is the MetaModifier.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37659 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: give a hint that it is possible to download 3rd party libs
Peter Kümmel [Mon, 14 Feb 2011 19:26:33 +0000 (19:26 +0000)]
cmake: give a hint that it is possible to download 3rd party libs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37658 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAlso catch the endl manipulator for automatic line counting.
Enrico Forestieri [Mon, 14 Feb 2011 17:09:39 +0000 (17:09 +0000)]
Also catch the endl manipulator for automatic line counting.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37657 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemove obsolete comment.
Richard Heck [Mon, 14 Feb 2011 12:43:56 +0000 (12:43 +0000)]
Remove obsolete comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37648 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMore has_key replacements.
Richard Heck [Mon, 14 Feb 2011 02:30:44 +0000 (02:30 +0000)]
More has_key replacements.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37647 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoSimple fixes to get layout2layout working with Python 3. These are all that the 2to3...
Richard Heck [Mon, 14 Feb 2011 02:28:13 +0000 (02:28 +0000)]
Simple fixes to get layout2layout working with Python 3. These are all that the 2to3 script reported.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37646 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoTwo simple changes for Python 3 compatibility.
Richard Heck [Mon, 14 Feb 2011 02:17:50 +0000 (02:17 +0000)]
Two simple changes for Python 3 compatibility.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37645 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #7298. Patch from Patrick Atamaniuk. Thanks!
Richard Heck [Mon, 14 Feb 2011 01:36:00 +0000 (01:36 +0000)]
Fix bug #7298. Patch from Patrick Atamaniuk. Thanks!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37644 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoDue to the increased accuracy of line counting and registering, when a
Enrico Forestieri [Mon, 14 Feb 2011 01:02:12 +0000 (01:02 +0000)]
Due to the increased accuracy of line counting and registering, when a
latex error occurs inside a table, the exact faulty table row is spotted.
However, if all cells of a table row are output on the same line, lyx is
not able to tell what cell caused the error and highlights the last cell
of the row. This patch allows to output each cell of a table on its own
line, such that the exact point where the error occurred can be highlighted.
Note that this is only done when exporting for preview, and in normal (nice)
exports everything goes as usual.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37643 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #6302: Allow setting of on-screen paragraph indentation when
Richard Heck [Mon, 14 Feb 2011 00:58:44 +0000 (00:58 +0000)]
Fix bug #6302: Allow setting of on-screen paragraph indentation when
alignment is LEFT.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37642 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoComplete integration of texrow with otexstream and allow automatic line
Enrico Forestieri [Sun, 13 Feb 2011 21:41:44 +0000 (21:41 +0000)]
Complete integration of texrow with otexstream and allow automatic line
counting also when outputting the latex preamble.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37641 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate it.po
Enrico Forestieri [Sun, 13 Feb 2011 12:19:12 +0000 (12:19 +0000)]
Update it.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37640 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* ANNOUNCE
Pavel Sanda [Sun, 13 Feb 2011 11:23:48 +0000 (11:23 +0000)]
* ANNOUNCE

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37639 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocs.po - glitch from Kornel, thanks.
Pavel Sanda [Sun, 13 Feb 2011 10:45:50 +0000 (10:45 +0000)]
cs.po - glitch from Kornel, thanks.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37638 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* cs.po
Pavel Sanda [Sun, 13 Feb 2011 10:31:36 +0000 (10:31 +0000)]
* cs.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37637 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemerge cs.po
Pavel Sanda [Sun, 13 Feb 2011 10:31:34 +0000 (10:31 +0000)]
Remerge cs.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37636 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdd a context menu to InsetBibItem.
Vincent van Ravesteijn [Sun, 13 Feb 2011 10:10:28 +0000 (10:10 +0000)]
Add a context menu to InsetBibItem.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37635 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoDo not compile unused code.
Vincent van Ravesteijn [Sun, 13 Feb 2011 10:08:52 +0000 (10:08 +0000)]
Do not compile unused code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37634 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoConstify InsetMathNest::setMouseHover and remove the const_cast from BufferView.
Vincent van Ravesteijn [Sun, 13 Feb 2011 10:07:00 +0000 (10:07 +0000)]
Constify InsetMathNest::setMouseHover and remove the const_cast from BufferView.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37632 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemove an include an reorder.
Vincent van Ravesteijn [Sun, 13 Feb 2011 10:03:05 +0000 (10:03 +0000)]
Remove an include an reorder.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37631 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemove unimplemented function declaration.
Vincent van Ravesteijn [Sun, 13 Feb 2011 10:02:00 +0000 (10:02 +0000)]
Remove unimplemented function declaration.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37630 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoGuiView: Small simplification.
Vincent van Ravesteijn [Sun, 13 Feb 2011 10:00:42 +0000 (10:00 +0000)]
GuiView: Small simplification.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37629 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* de.po: update.
Jürgen Spitzmüller [Sun, 13 Feb 2011 10:00:04 +0000 (10:00 +0000)]
* de.po: update.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37628 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sk.po
Kornel Benko [Sun, 13 Feb 2011 09:59:44 +0000 (09:59 +0000)]
* sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37627 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoTypos in the comment.
Vincent van Ravesteijn [Sun, 13 Feb 2011 09:59:14 +0000 (09:59 +0000)]
Typos in the comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37626 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoGuiWorkArea: coding style.
Vincent van Ravesteijn [Sun, 13 Feb 2011 09:58:31 +0000 (09:58 +0000)]
GuiWorkArea: coding style.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37625 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sv.po update from Jim
Pavel Sanda [Sun, 13 Feb 2011 09:58:10 +0000 (09:58 +0000)]
* sv.po update from Jim

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37624 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoCorrect the return and parameter types to match the type of RenderBase::state_.
Vincent van Ravesteijn [Sun, 13 Feb 2011 09:56:54 +0000 (09:56 +0000)]
Correct the return and parameter types to match the type of RenderBase::state_.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37623 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix tabstops in the preference dialog.
Vincent van Ravesteijn [Sun, 13 Feb 2011 09:54:55 +0000 (09:54 +0000)]
Fix tabstops in the preference dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37622 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdd comment.
Vincent van Ravesteijn [Sun, 13 Feb 2011 09:49:50 +0000 (09:49 +0000)]
Add comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37621 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoString tweaks.
Vincent van Ravesteijn [Sun, 13 Feb 2011 09:43:06 +0000 (09:43 +0000)]
String tweaks.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37620 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sk.po
Kornel Benko [Sun, 13 Feb 2011 09:42:36 +0000 (09:42 +0000)]
* sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37619 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemerge sk.po
Kornel Benko [Sun, 13 Feb 2011 09:42:13 +0000 (09:42 +0000)]
Remerge sk.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37618 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemove unused funcion Inset::scroll().
Vincent van Ravesteijn [Sun, 13 Feb 2011 09:41:13 +0000 (09:41 +0000)]
Remove unused funcion Inset::scroll().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37617 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoIntroduce new file format flag "menu=export" to define which document formats the...
Jürgen Spitzmüller [Sun, 13 Feb 2011 09:34:10 +0000 (09:34 +0000)]
Introduce new file format flag "menu=export" to define which document formats the File > Export menu should list. All other formats are available via the "More Formats & Options ..." (former "Custom ...") dialog.

The actual selection of formats needs to be audited.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37616 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFew typos
Pavel Sanda [Sun, 13 Feb 2011 01:34:00 +0000 (01:34 +0000)]
Few typos

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37611 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sv.po from Jim
Pavel Sanda [Sun, 13 Feb 2011 01:19:29 +0000 (01:19 +0000)]
* sv.po from Jim

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37609 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate it.po
Enrico Forestieri [Sat, 12 Feb 2011 23:36:38 +0000 (23:36 +0000)]
Update it.po

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37608 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoTrial and error shows that this works for yap (what a poor documentation it has)
Enrico Forestieri [Sat, 12 Feb 2011 22:54:52 +0000 (22:54 +0000)]
Trial and error shows that this works for yap (what a poor documentation it has)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37607 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* sv.po from Jim Rotmalm
Pavel Sanda [Sat, 12 Feb 2011 22:18:20 +0000 (22:18 +0000)]
* sv.po from Jim Rotmalm

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37605 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRest of gcc 4.6 issues from Orion Poplawski.
Pavel Sanda [Sat, 12 Feb 2011 22:10:56 +0000 (22:10 +0000)]
Rest of gcc 4.6 issues from Orion Poplawski.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37604 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix gcc 4.6 compilation.
Pavel Sanda [Sat, 12 Feb 2011 22:08:32 +0000 (22:08 +0000)]
Fix gcc 4.6 compilation.

If no initializer is specified for an object, and the object is of (possibly
cv-qualified) non-POD class type (or array thereof), the object shall be
default-initialized; if the object is of const-qualified type, the underlying
class type shall have a user-declared default constructor.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37603 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #7186 (Forward Search not working for Child Documents)
Enrico Forestieri [Sat, 12 Feb 2011 20:24:09 +0000 (20:24 +0000)]
Fix bug #7186 (Forward Search not working for Child Documents)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37602 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdded test-case for finding (properly) LyX & LaTeX (special phrases exported
Tommaso Cucinotta [Sat, 12 Feb 2011 11:06:09 +0000 (11:06 +0000)]
Added test-case for finding (properly) LyX & LaTeX (special phrases exported
in Paragraph.cpp as the corresponding macros), when ignore format is off.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37601 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAvoid stop_autotests termination message when it is killed at normal termination...
Tommaso Cucinotta [Sat, 12 Feb 2011 11:05:04 +0000 (11:05 +0000)]
Avoid stop_autotests termination message when it is killed at normal termination of test-case.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37600 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoWhen exporting to latex with a length that does not include entirely
Tommaso Cucinotta [Sat, 12 Feb 2011 11:03:24 +0000 (11:03 +0000)]
When exporting to latex with a length that does not include entirely
a special phrase, simply export the segment as normal text. For other
uses of these methods, end_pos is -1, so the original behavior is unaltered.
This allows for finding properly the LyX, LaTeX and other special phrases
with Advanced Find, when ignore format is off.
This complements the other changes made to latex export methods, for
exporting to latex with a given final end position.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37599 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoAdded version suffix to symlinks. Tested with --enable-version-suffix.
Tommaso Cucinotta [Fri, 11 Feb 2011 23:27:34 +0000 (23:27 +0000)]
Added version suffix to symlinks. Tested with --enable-version-suffix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37598 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* InsetTabular.cpp: multirow does not allow paragraph breaks (bug 7051).
Jürgen Spitzmüller [Fri, 11 Feb 2011 09:42:33 +0000 (09:42 +0000)]
* InsetTabular.cpp: multirow does not allow paragraph breaks (bug 7051).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37597 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: fix merged build
Peter Kümmel [Fri, 11 Feb 2011 02:20:23 +0000 (02:20 +0000)]
cmake: fix merged build

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37596 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoseems the other have different compilers ;)
Peter Kümmel [Fri, 11 Feb 2011 02:09:22 +0000 (02:09 +0000)]
seems the other have different compilers ;)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37595 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoSo, let's constify all globals in version.cpp...
Enrico Forestieri [Fri, 11 Feb 2011 00:46:49 +0000 (00:46 +0000)]
So, let's constify all globals in version.cpp...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37594 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago3rd attempt on lyx_version_major/minor.
Pavel Sanda [Fri, 11 Feb 2011 00:24:06 +0000 (00:24 +0000)]
3rd attempt on lyx_version_major/minor.

An object or reference that is explicitly declared const
and neither explicitly declared extern nor previously declared
to have external linkage has internal linkage.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37593 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocompile. we don't need a const here
Peter Kümmel [Thu, 10 Feb 2011 23:43:09 +0000 (23:43 +0000)]
compile. we don't need a const here

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37592 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocompile.
Peter Kümmel [Thu, 10 Feb 2011 22:57:41 +0000 (22:57 +0000)]
compile.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37591 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agocmake: support source packaging
Peter Kümmel [Thu, 10 Feb 2011 22:44:59 +0000 (22:44 +0000)]
cmake: support source packaging

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37590 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoNow the framework works running LyX in the language required by the test
Tommaso Cucinotta [Thu, 10 Feb 2011 22:33:23 +0000 (22:33 +0000)]
Now the framework works running LyX in the language required by the test
script (if any) also when LyX is not installed on your system
(using a variant of the trick suggested by Enrico, i.e., create a symlink
locale from the LyX sources root to an autotests/locale folder).
At least, it does on Linux.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37589 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemove debugging code.
Richard Heck [Thu, 10 Feb 2011 22:19:50 +0000 (22:19 +0000)]
Remove debugging code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37588 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoMore of #7289. Parts need the same treatment chapters got before.
Richard Heck [Thu, 10 Feb 2011 22:10:22 +0000 (22:10 +0000)]
More of #7289. Parts need the same treatment chapters got before.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37587 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFor some reason, when a latex error occurs, it may happen that
Enrico Forestieri [Thu, 10 Feb 2011 21:28:43 +0000 (21:28 +0000)]
For some reason, when a latex error occurs, it may happen that
err.pos_start > err.pos_end such that range == 0 and nothing
gets highlighted, even if the paragraph id is correct.
In this case, it is better to highlight everything.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37586 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofix bug #7288: add configure option for external mythes library
Georg Baum [Thu, 10 Feb 2011 20:31:07 +0000 (20:31 +0000)]
fix bug #7288: add configure option for external mythes library

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37585 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoIntegrate texrow with otexstream in order to perform automatic line
Enrico Forestieri [Thu, 10 Feb 2011 20:02:48 +0000 (20:02 +0000)]
Integrate texrow with otexstream in order to perform automatic line
counting when exporting to latex. This is done for the code comprised
between \begin{document} and \end{document}, while the preamble code
still needs manual calls to TexRow::newline() for registering new lines.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37584 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* GuiSendto: allow to simply export from this dialog if no command is given.
Jürgen Spitzmüller [Thu, 10 Feb 2011 14:06:53 +0000 (14:06 +0000)]
* GuiSendto: allow to simply export from this dialog if no command is given.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37582 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* LaTeX.{cpp,h}:
Jürgen Spitzmüller [Thu, 10 Feb 2011 10:09:59 +0000 (10:09 +0000)]
* LaTeX.{cpp,h}:
- refine biber support: parse blg file to get the bib file into the dependency table with biber.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37581 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoDefine LYX_(MAJOR|MINOR)_VERSION also for cmake build
Kornel Benko [Thu, 10 Feb 2011 06:16:12 +0000 (06:16 +0000)]
Define LYX_(MAJOR|MINOR)_VERSION also for cmake build

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37580 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoCosmetic change of .lyx headers. We output now only major and minor version,
Pavel Sanda [Wed, 9 Feb 2011 22:19:14 +0000 (22:19 +0000)]
Cosmetic change of .lyx headers. We output now only major and minor version,
not release level. File format does not change for a single minor (branch), so
this info has small value.

On the other hand the first line of header is causing unnecessary merge
conflicts for users of LyX VCS.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37579 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* BufferParams.cpp: do not load luainputenc if inputenc has explicitly being disabled.
Jürgen Spitzmüller [Wed, 9 Feb 2011 18:21:43 +0000 (18:21 +0000)]
* BufferParams.cpp: do not load luainputenc if inputenc has explicitly being disabled.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37578 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoWe have lyx_version, for PACKAGE_VERSION.
Pavel Sanda [Wed, 9 Feb 2011 17:23:20 +0000 (17:23 +0000)]
We have lyx_version, for PACKAGE_VERSION.
(Introduced in r34186.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37577 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoUpdate es.po from Ignacio
Pavel Sanda [Wed, 9 Feb 2011 16:51:32 +0000 (16:51 +0000)]
Update es.po from Ignacio

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37575 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agode.po: further tweaks.
Jürgen Spitzmüller [Wed, 9 Feb 2011 15:53:33 +0000 (15:53 +0000)]
de.po: further tweaks.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37573 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* de.po: fix addressing and some style issues.
Jürgen Spitzmüller [Wed, 9 Feb 2011 15:46:45 +0000 (15:46 +0000)]
* de.po: fix addressing and some style issues.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37572 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* Menus.cpp: fix comment.
Jürgen Spitzmüller [Wed, 9 Feb 2011 10:45:59 +0000 (10:45 +0000)]
* Menus.cpp: fix comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37571 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago* lyx_2_0.py: fix revert_xetex method.
Jürgen Spitzmüller [Wed, 9 Feb 2011 09:26:33 +0000 (09:26 +0000)]
* lyx_2_0.py: fix revert_xetex method.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37570 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix typo.
Jürgen Spitzmüller [Wed, 9 Feb 2011 08:31:18 +0000 (08:31 +0000)]
Fix typo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37569 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoforgot this in previous revision.
Jürgen Spitzmüller [Wed, 9 Feb 2011 08:25:24 +0000 (08:25 +0000)]
forgot this in previous revision.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37568 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoCheck for fontspec an configure the GUI accordingly.
Jürgen Spitzmüller [Wed, 9 Feb 2011 08:23:11 +0000 (08:23 +0000)]
Check for fontspec an configure the GUI accordingly.
If fontspec is not found, the "Use non-TeX fonts" checkbox is disabled, and the tooltip hints at installing the package.
Also add fontspec to LaTeXConfig.lyx, documenting that v2 of the package is needed for LuaTeX support.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37567 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix the other part of #7289, concerning the Front_Matter style. Of course,
Richard Heck [Tue, 8 Feb 2011 23:04:00 +0000 (23:04 +0000)]
Fix the other part of #7289, concerning the Front_Matter style. Of course,
\frontmatter is a command.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37566 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoFix bug #7289. Confusingly, svjour.inc declares "NoStyle Chapter", and then
Richard Heck [Tue, 8 Feb 2011 23:02:13 +0000 (23:02 +0000)]
Fix bug #7289. Confusingly, svjour.inc declares "NoStyle Chapter", and then
some of the files that include it redefine chapter by cut-and-paste from
stdsections.inc. Not very clean. So now svnjour.inc doesn't do this, and
the journal files that include it declare "NoStyle Chapter" themselves. This
also allows some simplification of the sv book classes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37565 a592a061-630c-0410-9148-cb99ea01b6c8

13 years ago#7170 Disable hunspell dict path in prefs when hunspell is not compiled in
Stephan Witt [Tue, 8 Feb 2011 14:48:46 +0000 (14:48 +0000)]
#7170 Disable hunspell dict path in prefs when hunspell is not compiled in

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37564 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agofix a crash when the inset containing the new word at cursor is deleted
Stephan Witt [Tue, 8 Feb 2011 09:42:00 +0000 (09:42 +0000)]
fix a crash when the inset containing the new word at cursor is deleted

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37563 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoRemoving dependency on longOperationCancelled() patch.
Tommaso Cucinotta [Tue, 8 Feb 2011 09:11:58 +0000 (09:11 +0000)]
Removing dependency on longOperationCancelled() patch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37562 a592a061-630c-0410-9148-cb99ea01b6c8

13 years agoSuppress killall output when killing STOP button.
Tommaso Cucinotta [Tue, 8 Feb 2011 00:14:23 +0000 (00:14 +0000)]
Suppress killall output when killing STOP button.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37560 a592a061-630c-0410-9148-cb99ea01b6c8