]> git.lyx.org Git - lyx.git/log
lyx.git
13 years agoPrevent infinite loop.
Richard Heck [Tue, 2 Nov 2010 14:55:33 +0000 (14:55 +0000)]
Prevent infinite loop.

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

13 years agoMake sure that the members of this enum get the same value on every
Richard Heck [Tue, 2 Nov 2010 14:50:07 +0000 (14:50 +0000)]
Make sure that the members of this enum get the same value on every
platform.

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

13 years agoFix typo/thinko here. It's the match result we want to check, of course.
Richard Heck [Tue, 2 Nov 2010 14:47:28 +0000 (14:47 +0000)]
Fix typo/thinko here. It's the match result we want to check, of course.

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

13 years agoTable dialog: Fix enabling/disabling of first header and last footer
Abdelrazak Younes [Tue, 2 Nov 2010 13:35:16 +0000 (13:35 +0000)]
Table dialog: Fix enabling/disabling of first header and last footer
check boxes.
This should fix bug #7008

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

13 years agoMath.lyx: multirow package is not used -> remove it from preamble
Uwe Stöhr [Tue, 2 Nov 2010 05:25:52 +0000 (05:25 +0000)]
Math.lyx: multirow package is not used -> remove it from preamble

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

13 years ago- German EmbeddedObjects.lyx: remove wrong info
Uwe Stöhr [Mon, 1 Nov 2010 23:35:29 +0000 (23:35 +0000)]
- German EmbeddedObjects.lyx: remove wrong info
- EmbeddedObjects.lyx: remove sentence that is more confusing than informative (after I got user complaints)

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

13 years agoRegenerate LFUNs.lyx
Pavel Sanda [Mon, 1 Nov 2010 23:25:33 +0000 (23:25 +0000)]
Regenerate LFUNs.lyx

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

13 years agotypo
Pavel Sanda [Mon, 1 Nov 2010 23:24:24 +0000 (23:24 +0000)]
typo

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

13 years agofirst step to cure the VCS load problem
Stephan Witt [Mon, 1 Nov 2010 22:20:54 +0000 (22:20 +0000)]
first step to cure the VCS load problem

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

13 years agoPartially fix #5108.
Richard Heck [Mon, 1 Nov 2010 21:54:20 +0000 (21:54 +0000)]
Partially fix #5108.

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

13 years agoGuiTabular.cpp: fix #7006: the caption checkbox was simply not connected
Uwe Stöhr [Mon, 1 Nov 2010 21:52:08 +0000 (21:52 +0000)]
GuiTabular.cpp: fix #7006: the caption checkbox was simply not connected

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

13 years agoThere is no way of handling alternate class file names in layout files.
Richard Heck [Mon, 1 Nov 2010 21:42:39 +0000 (21:42 +0000)]
There is no way of handling alternate class file names in layout files.
This can be restored if someone wants to introduce one.

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

13 years agocheck also if there is a QApplication instance
Peter Kümmel [Mon, 1 Nov 2010 21:32:59 +0000 (21:32 +0000)]
check also if there is a QApplication  instance

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

13 years ago* ANNOUNCE
Pavel Sanda [Mon, 1 Nov 2010 21:32:39 +0000 (21:32 +0000)]
* ANNOUNCE

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

13 years agoGuiTabular.cpp: add a comment
Uwe Stöhr [Mon, 1 Nov 2010 21:20:27 +0000 (21:20 +0000)]
GuiTabular.cpp: add a comment

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

13 years agoFix lilypond support, patch from Julien Rioux, bug #6940.
Pavel Sanda [Mon, 1 Nov 2010 21:01:48 +0000 (21:01 +0000)]
Fix lilypond support, patch from Julien Rioux, bug #6940.

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

13 years agoFix bug #6997
Abdelrazak Younes [Mon, 1 Nov 2010 21:00:03 +0000 (21:00 +0000)]
Fix bug #6997

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

13 years agoRevert unintentional commit.
Richard Heck [Mon, 1 Nov 2010 20:58:24 +0000 (20:58 +0000)]
Revert unintentional commit.

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

13 years agoFix bug #6888.
Richard Heck [Mon, 1 Nov 2010 20:57:10 +0000 (20:57 +0000)]
Fix bug #6888.

This is why it was worth doing the updateBuffer() rewrite.

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

13 years agoinclude_bib.py:
Uwe Stöhr [Mon, 1 Nov 2010 20:34:52 +0000 (20:34 +0000)]
include_bib.py:
- set missing EOL style
- add to SCons

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

13 years agotypo
Pavel Sanda [Mon, 1 Nov 2010 20:24:29 +0000 (20:24 +0000)]
typo

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

13 years agoAdd new file to installed scripts.
Richard Heck [Mon, 1 Nov 2010 20:22:33 +0000 (20:22 +0000)]
Add new file to installed scripts.

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

13 years agoAdd script that writes the bbl file in place of the bibliography.
Richard Heck [Mon, 1 Nov 2010 20:21:02 +0000 (20:21 +0000)]
Add script that writes the bbl file in place of the bibliography.
Part of #4624.

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

13 years agoFix bug #7002. I think this is correct, but Peter should check.
Richard Heck [Mon, 1 Nov 2010 19:37:59 +0000 (19:37 +0000)]
Fix bug #7002. I think this is correct, but Peter should check.

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

13 years agoInsetTabular.cpp: multirows are always left-aligned thus allow left alignment and...
Uwe Stöhr [Mon, 1 Nov 2010 17:45:02 +0000 (17:45 +0000)]
InsetTabular.cpp: multirows are always left-aligned thus allow left alignment and forbid center alignment

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

13 years agoInsetTabular.cpp: typo
Uwe Stöhr [Mon, 1 Nov 2010 17:12:46 +0000 (17:12 +0000)]
InsetTabular.cpp: typo

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

13 years agoInsetTabular.cpp: multirow cells are ALWAYS left aligned and thus cannot inherit...
Uwe Stöhr [Mon, 1 Nov 2010 17:09:38 +0000 (17:09 +0000)]
InsetTabular.cpp: multirow cells are ALWAYS left aligned and thus cannot inherit the alignment of the column

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

13 years agoInsetTabular.cpp: fix #7003 that I accidentally introduced when fixing #6958
Uwe Stöhr [Mon, 1 Nov 2010 16:16:40 +0000 (16:16 +0000)]
InsetTabular.cpp: fix #7003 that I accidentally introduced when fixing #6958

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

13 years agoremove the translation context for vcs buffer info message for unimplemented features...
Stephan Witt [Mon, 1 Nov 2010 15:16:59 +0000 (15:16 +0000)]
remove the translation context for vcs buffer info message for unimplemented features, the name of vcs info is hardcoded and ascii only

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

13 years agowhitespace
Jürgen Spitzmüller [Mon, 1 Nov 2010 15:15:38 +0000 (15:15 +0000)]
whitespace

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

13 years agoHad to be a typo, right?
Richard Heck [Mon, 1 Nov 2010 11:54:18 +0000 (11:54 +0000)]
Had to be a typo, right?

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

13 years agocorrect the gettext context for the format of the displayed error message for unknown...
Stephan Witt [Mon, 1 Nov 2010 07:03:47 +0000 (07:03 +0000)]
correct the gettext context for the format of the displayed error message for unknown vcs buffer-info insets

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

13 years agocorrect the gettext format of the displayed error message for unknown vcs buffer...
Stephan Witt [Mon, 1 Nov 2010 06:32:09 +0000 (06:32 +0000)]
correct the gettext format of the displayed error message for unknown vcs buffer-info insets

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

13 years agoGerman Tutorial.lyx: rename Zitat -> Literaturverweis according to the menu and dialo...
Uwe Stöhr [Mon, 1 Nov 2010 04:43:46 +0000 (04:43 +0000)]
German Tutorial.lyx: rename Zitat -> Literaturverweis according to the menu and dialog name

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

13 years agoInsetTabular.cpp: fix #7000
Uwe Stöhr [Mon, 1 Nov 2010 04:30:06 +0000 (04:30 +0000)]
InsetTabular.cpp: fix #7000

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

13 years agoRemove unnecessary breaks.
Vincent van Ravesteijn [Mon, 1 Nov 2010 03:54:23 +0000 (03:54 +0000)]
Remove unnecessary breaks.

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

13 years agoInsetTabular.cpp: fix #6985 - we need to break after unsetting otherwise case Tabular...
Uwe Stöhr [Mon, 1 Nov 2010 03:26:25 +0000 (03:26 +0000)]
InsetTabular.cpp: fix #6985 - we need to break after unsetting otherwise case Tabular::MULTICOLUMN: would be executed afterwards reverting the unsetting

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

13 years agoIn r35952 we reverted r35933, but InsetParamsWidget.h was forgotten.
Vincent van Ravesteijn [Sun, 31 Oct 2010 23:59:07 +0000 (23:59 +0000)]
In r35952 we reverted r35933, but InsetParamsWidget.h was forgotten.

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

13 years agoGuiTabular.cpp: apply immediately for all edit fields in the table dialog as discusse...
Uwe Stöhr [Sun, 31 Oct 2010 22:32:53 +0000 (22:32 +0000)]
GuiTabular.cpp: apply immediately for all edit fields in the table dialog as discusses in #7001

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

13 years agoRevert r35933. There are insets not based upon InsetCommand, such as
Richard Heck [Sun, 31 Oct 2010 18:56:32 +0000 (18:56 +0000)]
Revert r35933. There are insets not based upon InsetCommand, such as
VSpace, that use InsetParamsWidget, so we cannot have code that requires
InsetCommandParams there.

Stephen Witt reported a similar crash with the info dialog.

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

13 years agoSquash warning about unused variable
Vincent van Ravesteijn [Sun, 31 Oct 2010 14:41:59 +0000 (14:41 +0000)]
Squash warning about unused variable

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

13 years agoFix compilation for platforms besides Windows
Vincent van Ravesteijn [Sun, 31 Oct 2010 14:39:50 +0000 (14:39 +0000)]
Fix compilation for platforms besides Windows

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

13 years ago* uk.po: Update by Yuri.
Jürgen Spitzmüller [Sun, 31 Oct 2010 13:33:42 +0000 (13:33 +0000)]
* uk.po: Update by Yuri.

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

13 years agoMore include frenzy.
Vincent van Ravesteijn [Sun, 31 Oct 2010 01:26:50 +0000 (01:26 +0000)]
More include frenzy.

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

13 years agoMore include frenzy.
Vincent van Ravesteijn [Sun, 31 Oct 2010 01:04:03 +0000 (01:04 +0000)]
More include frenzy.

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

13 years agoRemove some unneeded includes from some header files.
Vincent van Ravesteijn [Sun, 31 Oct 2010 00:31:57 +0000 (00:31 +0000)]
Remove some unneeded includes from some header files.

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

13 years agoMigrate GuiPrintNomencl to InsetParamsDialog.
Abdelrazak Younes [Sat, 30 Oct 2010 20:14:57 +0000 (20:14 +0000)]
Migrate GuiPrintNomencl to InsetParamsDialog.

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

13 years agoafter successfuly load of autosave or emergency file the VCS state has to be checked...
Stephan Witt [Sat, 30 Oct 2010 20:05:55 +0000 (20:05 +0000)]
after successfuly load of autosave or emergency file the VCS state has to be checked for the original name

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

13 years agoinstaller: offset
Uwe Stöhr [Sat, 30 Oct 2010 19:19:22 +0000 (19:19 +0000)]
installer: offset

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

13 years agolyx_2_0.py: correct comment
Uwe Stöhr [Sat, 30 Oct 2010 19:11:46 +0000 (19:11 +0000)]
lyx_2_0.py: correct comment

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

13 years agoGuiTabular.cpp: display width and alignment for multirows, fixes rest of #6958
Uwe Stöhr [Sat, 30 Oct 2010 19:00:23 +0000 (19:00 +0000)]
GuiTabular.cpp: display width and alignment for multirows, fixes rest of #6958

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

13 years agoGuiLabel: generalize initialiseParams() and transfer to InsetParamsWidget as this...
Abdelrazak Younes [Sat, 30 Oct 2010 18:40:53 +0000 (18:40 +0000)]
GuiLabel: generalize initialiseParams() and transfer to InsetParamsWidget as this will be used by other insets. The implementation of the new paramsToDialog(InsetCommandParams) is optional.

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

13 years agoInsetTabular.cpp: multirows inherit the width and the alignment from the column;...
Uwe Stöhr [Sat, 30 Oct 2010 18:11:37 +0000 (18:11 +0000)]
InsetTabular.cpp: multirows inherit the width and the alignment from the column; this fixes #6958 partly

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

13 years agoInsetTabular.cpp; remove SET_SPECIAL_MULTIROW because according to the multirow docum...
Uwe Stöhr [Sat, 30 Oct 2010 16:36:08 +0000 (16:36 +0000)]
InsetTabular.cpp; remove SET_SPECIAL_MULTIROW because according to the multirow documentation multirows inherit the LaTeX-argument from the current column since they don't span multiple columns

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

13 years agoGuiTabular.cpp: fix #7001
Uwe Stöhr [Sat, 30 Oct 2010 16:26:12 +0000 (16:26 +0000)]
GuiTabular.cpp: fix #7001

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

13 years ago* InsetTabular.cpp:
Jürgen Spitzmüller [Sat, 30 Oct 2010 11:28:16 +0000 (11:28 +0000)]
* InsetTabular.cpp:
- only set/unset a caption if necessary.

This fixes the setting of multicols via dialog (part of bug 6985)

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

13 years ago* GuiTabular.cpp:
Jürgen Spitzmüller [Sat, 30 Oct 2010 10:41:46 +0000 (10:41 +0000)]
* GuiTabular.cpp:
- fix console warning about unknown feature.

Not sure if SET_SPECIAL_MULTIROW is supposed to do something eventually, but if not, specialAlignmentED should probably be disabled in multirows.

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

13 years agoRemove saveCheckSum from Buffer::reload again. Now, the saveCheckSum call is already...
Vincent van Ravesteijn [Fri, 29 Oct 2010 23:51:13 +0000 (23:51 +0000)]
Remove saveCheckSum from Buffer::reload again. Now, the saveCheckSum call is already in Buffer::readFile, so it is not needed here anymore.

Also move the saveCheckSum declaration to the section of functions involving reading/writing. And note that it should be made private.

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

13 years agoTypo
Vincent van Ravesteijn [Fri, 29 Oct 2010 23:10:11 +0000 (23:10 +0000)]
Typo

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

13 years agoSquash warning.
Richard Heck [Fri, 29 Oct 2010 20:54:26 +0000 (20:54 +0000)]
Squash warning.

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

13 years agoCentralize preview generation/deletion code to Buffer::updatePreviews and Buffer...
Vincent van Ravesteijn [Fri, 29 Oct 2010 20:00:51 +0000 (20:00 +0000)]
Centralize preview generation/deletion code to Buffer::updatePreviews and Buffer::removePreviews.

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

13 years agoBufferList should not determine that the current author has id = 0. This should reall...
Vincent van Ravesteijn [Fri, 29 Oct 2010 19:27:55 +0000 (19:27 +0000)]
BufferList should not determine that the current author has id = 0. This should really be in AuthorList. Besides BufferList shouldn't have to create an Author by itself.

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

13 years agoWrite code in a language that everyone understands ?
Vincent van Ravesteijn [Fri, 29 Oct 2010 19:10:54 +0000 (19:10 +0000)]
Write code in a language that everyone understands ?

Does anyone have a clue why nvec is declared static here ? Or can I remove it ?

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

13 years agoCompile fix in case DEVEL_VERSION is defined.
Vincent van Ravesteijn [Fri, 29 Oct 2010 19:07:41 +0000 (19:07 +0000)]
Compile fix in case DEVEL_VERSION is defined.

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

13 years agoBufferList.h: adjust some comments and group the functions that are just here because...
Vincent van Ravesteijn [Fri, 29 Oct 2010 19:00:06 +0000 (19:00 +0000)]
BufferList.h: adjust some comments and group the functions that are just here because they iterate over all buffers.

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

13 years agoAll occurrences of buf->errors("Parse") in GuiApplication an GuiView are positioned...
Vincent van Ravesteijn [Fri, 29 Oct 2010 18:57:40 +0000 (18:57 +0000)]
All occurrences of buf->errors("Parse") in GuiApplication an GuiView are positioned after a call to GuiView::loadDocument which already should handle any errors.

GuiView::loadDocument also already calls setBuffer(), so this is not needed everytime too.

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

13 years agoPass the Buffer to GuiView::reloadBuffer. We always know which buffer we want to...
Vincent van Ravesteijn [Fri, 29 Oct 2010 18:50:48 +0000 (18:50 +0000)]
Pass the Buffer to GuiView::reloadBuffer. We always know which buffer we want to reload, so don't ask the documentBufferView again.

Besides, now we can always call GuiView::reloadBuffer instead of calling Buffer::reload directly. This means we don't have to do the error handling each time over and over again.

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

13 years agoadd some documentation for CVS usage
Stephan Witt [Fri, 29 Oct 2010 18:39:58 +0000 (18:39 +0000)]
add some documentation for CVS usage

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

13 years agoBit of cleanup around the Format view and edit code.
Richard Heck [Fri, 29 Oct 2010 17:14:00 +0000 (17:14 +0000)]
Bit of cleanup around the Format view and edit code.

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

13 years agoConstness.
Richard Heck [Fri, 29 Oct 2010 17:08:31 +0000 (17:08 +0000)]
Constness.

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

13 years agofix #6998. Center alignment is the default, also with multirow.
Jürgen Spitzmüller [Fri, 29 Oct 2010 17:02:01 +0000 (17:02 +0000)]
fix #6998. Center alignment is the default, also with multirow.

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

13 years agoMove the call to Buffer::errors("Parse") from BufferView::insertLyXFile to GuiView...
Vincent van Ravesteijn [Fri, 29 Oct 2010 16:51:50 +0000 (16:51 +0000)]
Move the call to Buffer::errors("Parse") from BufferView::insertLyXFile to GuiView::insertLyXFile.

Buffer::errors("Parse") is called 7 times in the whole project. 4 times from GuiView and three times from functions in other classes, but which are (almost) only called from the GuiView.

Buffer::errors is used to signal the GUI that there might be an error occuring, but what sense does it make if it is only called from the Gui ?

Isn't it better to let the function return wether it succeeded or not and let the GuiView take action in doing something with the possible errors.

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

13 years agoRelay the ReadStatus all the way up to the GUI also for Buffer::reload().
Vincent van Ravesteijn [Fri, 29 Oct 2010 16:26:32 +0000 (16:26 +0000)]
Relay the ReadStatus all the way up to the GUI also for Buffer::reload().

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

13 years agoThis has to be delayed, since otherwise it provides the command before
Richard Heck [Fri, 29 Oct 2010 14:31:52 +0000 (14:31 +0000)]
This has to be delayed, since otherwise it provides the command before
the user gets to do so.

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

13 years agoFix prettyref output.
Richard Heck [Fri, 29 Oct 2010 13:07:05 +0000 (13:07 +0000)]
Fix prettyref output.

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

13 years agoComplete Jurgen's fix.
Richard Heck [Fri, 29 Oct 2010 13:06:52 +0000 (13:06 +0000)]
Complete Jurgen's fix.

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

13 years ago* InsetTabular.cpp: simplification; no change in functionality.
Jürgen Spitzmüller [Fri, 29 Oct 2010 11:33:48 +0000 (11:33 +0000)]
* InsetTabular.cpp: simplification; no change in functionality.

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

13 years ago* nn.po: correct (?) email address.
Jürgen Spitzmüller [Fri, 29 Oct 2010 11:01:04 +0000 (11:01 +0000)]
* nn.po: correct (?) email address.

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

13 years ago* InsetTabular.cpp: simplification; no change in functionality.
Jürgen Spitzmüller [Fri, 29 Oct 2010 10:15:50 +0000 (10:15 +0000)]
* InsetTabular.cpp: simplification; no change in functionality.

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

13 years ago* GuiDocument.cpp:
Jürgen Spitzmüller [Fri, 29 Oct 2010 08:34:26 +0000 (08:34 +0000)]
* GuiDocument.cpp:
use translateIfPossible here, since the module names might be non-ASCII
(thanks rgh).

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

13 years agoInsetTabular: implement some SET/UNSET functions as prerequisite to fix #6985
Uwe Stöhr [Fri, 29 Oct 2010 04:09:49 +0000 (04:09 +0000)]
InsetTabular: implement some SET/UNSET functions as prerequisite to fix #6985

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

13 years agoGuiTabular.cpp: table caption inside table is only allowed for longtables (fixes...
Uwe Stöhr [Fri, 29 Oct 2010 01:38:58 +0000 (01:38 +0000)]
GuiTabular.cpp: table caption inside table is only allowed for longtables (fixes regression to LyX 1.6.x)

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

13 years agoInsetTabular.cpp: fix #6585 also for wrapped floats - thanks Vincent
Uwe Stöhr [Fri, 29 Oct 2010 01:29:53 +0000 (01:29 +0000)]
InsetTabular.cpp: fix #6585 also for wrapped floats - thanks Vincent

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

13 years agoGuiTabular.cpp: fix #6585
Uwe Stöhr [Fri, 29 Oct 2010 01:18:18 +0000 (01:18 +0000)]
GuiTabular.cpp: fix #6585

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

13 years agoRemove InsetCommand::mailer_name_.
Vincent van Ravesteijn [Fri, 29 Oct 2010 00:46:21 +0000 (00:46 +0000)]
Remove InsetCommand::mailer_name_.

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

13 years agoRemove the now unused parameter of createDialogStr();
Vincent van Ravesteijn [Fri, 29 Oct 2010 00:42:40 +0000 (00:42 +0000)]
Remove the now unused parameter of createDialogStr();

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

13 years agoRemove the name parameter from string2params and params2string. We can always derive...
Vincent van Ravesteijn [Fri, 29 Oct 2010 00:25:28 +0000 (00:25 +0000)]
Remove the name parameter from string2params and params2string. We can always derive the name with insetName(params.code()).

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

13 years agoMove saveCheckSum() call to Buffer::readFile(). Also, remove the
Richard Heck [Thu, 28 Oct 2010 22:12:29 +0000 (22:12 +0000)]
Move saveCheckSum() call to Buffer::readFile(). Also, remove the
argument from that function. We are always saving the checksum for the
Buffer's file. The argument is a left-over from a time when we did the
wrong thing and saved it for e.g. the emergency file.

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

13 years agoRename invisible buffers to hidden ones, thanks to John McC-D.
Richard Heck [Thu, 28 Oct 2010 22:00:50 +0000 (22:00 +0000)]
Rename invisible buffers to hidden ones, thanks to John McC-D.

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

13 years agoTypo.
Richard Heck [Thu, 28 Oct 2010 20:23:39 +0000 (20:23 +0000)]
Typo.

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

13 years agoLemma definition for refstyle.
Richard Heck [Thu, 28 Oct 2010 17:35:28 +0000 (17:35 +0000)]
Lemma definition for refstyle.

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

13 years agoInsetParamsWidget should not just ignore the initialization data. I
Richard Heck [Thu, 28 Oct 2010 16:31:14 +0000 (16:31 +0000)]
InsetParamsWidget should not just ignore the initialization data. I
don't know if there are similar issues with other dialogs based on it,
but this seems to fix it for GuiLabel.

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

13 years agoComments mostly.
Richard Heck [Thu, 28 Oct 2010 16:28:57 +0000 (16:28 +0000)]
Comments mostly.

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

13 years agoFix typo.
Richard Heck [Thu, 28 Oct 2010 16:28:16 +0000 (16:28 +0000)]
Fix typo.

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

13 years agoTook out too much in r35582.
Richard Heck [Thu, 28 Oct 2010 16:04:46 +0000 (16:04 +0000)]
Took out too much in r35582.

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

13 years agoChange the way we output formatted references under refstyle to avoid
Richard Heck [Thu, 28 Oct 2010 15:15:14 +0000 (15:15 +0000)]
Change the way we output formatted references under refstyle to avoid
some problems with the previous \\lyxref macro.

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

13 years agoautodetect automake changes, add --with-qt4-frameworks=yes/no to control CC flags...
Stephan Witt [Thu, 28 Oct 2010 12:53:10 +0000 (12:53 +0000)]
autodetect automake changes, add --with-qt4-frameworks=yes/no to control CC flags to build with(out) nokias Qt4 frameworks, do not touch iconv path anymore

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

13 years agoFix bug #6589 (Crash when reverting to saved while cursor is in mathed)
Enrico Forestieri [Thu, 28 Oct 2010 12:32:32 +0000 (12:32 +0000)]
Fix bug #6589 (Crash when reverting to saved while cursor is in mathed)

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

13 years agoFix bug #6965 (Crash editing ERT in math mode)
Enrico Forestieri [Thu, 28 Oct 2010 11:13:47 +0000 (11:13 +0000)]
Fix bug #6965 (Crash editing ERT in math mode)

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

13 years agoRemove InsetRef::isLatex. This no longer needed as we always can access the Buffer...
Vincent van Ravesteijn [Wed, 27 Oct 2010 22:34:18 +0000 (22:34 +0000)]
Remove InsetRef::isLatex. This no longer needed as we always can access the Buffer nowadays from the Inset.

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