]> git.lyx.org Git - lyx.git/log
lyx.git
14 years agoUserGuide.lyx: fix fileformat again, sorry
Uwe Stöhr [Sun, 8 Nov 2009 18:46:39 +0000 (18:46 +0000)]
UserGuide.lyx: fix fileformat again, sorry

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

14 years agoIn order to avoid confusion, always use buf in Parser::parse1(),
Enrico Forestieri [Sun, 8 Nov 2009 18:22:57 +0000 (18:22 +0000)]
In order to avoid confusion, always use buf in Parser::parse1(),
instead of mixed usage of buffer_ and buf.

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

14 years agoremove unneeded setBuffer().
Abdelrazak Younes [Sun, 8 Nov 2009 16:16:36 +0000 (16:16 +0000)]
remove unneeded setBuffer().

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

14 years agooups... fix previous commit
Abdelrazak Younes [Sun, 8 Nov 2009 16:14:22 +0000 (16:14 +0000)]
oups... fix previous commit

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

14 years agoInsetCommand ctor: Pass 'Buffer *'
Abdelrazak Younes [Sun, 8 Nov 2009 16:10:34 +0000 (16:10 +0000)]
InsetCommand ctor: Pass 'Buffer *'

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

14 years agoUniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do...
Abdelrazak Younes [Sun, 8 Nov 2009 15:53:21 +0000 (15:53 +0000)]
Uniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do still...

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

14 years agoFix crash when copying an InsetTabular.
Abdelrazak Younes [Sun, 8 Nov 2009 13:41:29 +0000 (13:41 +0000)]
Fix crash when copying an InsetTabular.
Buffer should not be set when cloning. If there is bug that was fixed by this line of code it should be fixed later by setting the Buffer after the cloning.

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

14 years agoFix the new from template functionality. The templatename parameter was magically...
Vincent van Ravesteijn [Sun, 8 Nov 2009 13:20:08 +0000 (13:20 +0000)]
Fix the new from template functionality. The templatename parameter was magically disappeared in r31704.

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

14 years agoMake Buffer argument mandatory in most of the InsetMath based class... boring work...
Abdelrazak Younes [Sun, 8 Nov 2009 11:45:46 +0000 (11:45 +0000)]
Make Buffer argument mandatory in most of the InsetMath based class... boring work...
Math manual loads and save correctly it seems but expect some instability period.

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

14 years agoconfigure.py: fix check for eLyXer
Uwe Stöhr [Sat, 7 Nov 2009 16:55:23 +0000 (16:55 +0000)]
configure.py: fix check for eLyXer

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

14 years agocmake: add Ubuntu packages names to instructions
Peter Kümmel [Sat, 7 Nov 2009 13:23:30 +0000 (13:23 +0000)]
cmake: add Ubuntu packages names to instructions

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

14 years agoUnneeded headers.
Pavel Sanda [Sat, 7 Nov 2009 12:54:19 +0000 (12:54 +0000)]
Unneeded headers.
It would be interesting to know how many headers do we actually use in our code.
Nice task for some script.

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

14 years agoHeader sort order
Pavel Sanda [Sat, 7 Nov 2009 12:54:08 +0000 (12:54 +0000)]
Header sort order
../treeview.patch

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

14 years agocmake: fix merge build
Peter Kümmel [Sat, 7 Nov 2009 12:50:30 +0000 (12:50 +0000)]
cmake: fix merge build

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

14 years agoboost: update to version 1.40
Peter Kümmel [Sat, 7 Nov 2009 11:55:44 +0000 (11:55 +0000)]
boost: update to version 1.40

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

14 years agocmake: add option to suppress install make rules
Peter Kümmel [Sat, 7 Nov 2009 11:19:57 +0000 (11:19 +0000)]
cmake: add option to suppress install make rules

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

14 years ago* Add new modules for more fine-grained control over theorem numbering.
Jürgen Spitzmüller [Sat, 7 Nov 2009 10:44:08 +0000 (10:44 +0000)]
* Add new modules for more fine-grained control over theorem numbering.
Modules provided by Paul Rubin (#5880).
* Fix some minor module description issues.

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

14 years ago- Spanish UserGuide.lyx: updates by Ignacio
Uwe Stöhr [Sat, 7 Nov 2009 00:44:12 +0000 (00:44 +0000)]
- Spanish UserGuide.lyx: updates by Ignacio
- UserGuide.lyx: small improvement

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

14 years agoThis is still needed for keyboard focus
Pavel Sanda [Fri, 6 Nov 2009 15:56:15 +0000 (15:56 +0000)]
This is still needed for keyboard focus

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

14 years agoFix also nomenclature dialog which was refered in #3852
Pavel Sanda [Fri, 6 Nov 2009 15:22:21 +0000 (15:22 +0000)]
Fix also nomenclature dialog which was refered in #3852

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

14 years agoFix bug #3852.
Pavel Sanda [Fri, 6 Nov 2009 15:22:17 +0000 (15:22 +0000)]
Fix bug #3852.

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

14 years agoFix bug #5530: LyX expansion in math-macro overwritten by default one.
Enrico Forestieri [Fri, 6 Nov 2009 15:18:48 +0000 (15:18 +0000)]
Fix bug #5530: LyX expansion in math-macro overwritten by default one.
This patch initializes the buffer_ member of a MathHull inset in most
(but not all) cases. The problems with buffer_ should be greatly
allievated now, but there still can be some corner case.

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

14 years agoAvoid undo grouping error when using Undo or Redo. This is because undo grouping...
Jean-Marc Lasgouttes [Fri, 6 Nov 2009 13:32:58 +0000 (13:32 +0000)]
Avoid undo grouping error when using Undo or Redo. This is because undo grouping has to be done also when putting stuff on the undo/redo stack.

The solution is just to remove special code :)

I think there is a ticket for this, but I cannot find it.

Abdel, could you please validate my thinking?

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

14 years ago* layouts and templates for svmono and svmult, contributed by Koji Yokota (#6253).
Jürgen Spitzmüller [Fri, 6 Nov 2009 12:17:24 +0000 (12:17 +0000)]
* layouts and templates for svmono and svmult, contributed by Koji Yokota (#6253).

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

14 years agoreduce line noise
Edwin Leuven [Thu, 5 Nov 2009 19:51:17 +0000 (19:51 +0000)]
reduce line noise

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

14 years agoFix bug #6237: The boundary has to be set correctly when moving up with a selection...
Vincent van Ravesteijn [Thu, 5 Nov 2009 12:58:25 +0000 (12:58 +0000)]
Fix bug #6237: The boundary has to be set correctly when moving up with a selection. If not, the cursor will remain on the same row when there are two e.g. displayed equations after each other. This will cause an infinite loop when SCREEN_UP is executed.

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

14 years agoFix bug #5968: Assertion while reading a document with multiple equation labels.
Vincent van Ravesteijn [Thu, 5 Nov 2009 00:38:09 +0000 (00:38 +0000)]
Fix bug #5968: Assertion while reading a document with multiple equation labels.

This is another ad-hoc solution for the problem of a zero buffer pointer while reading a document or when using cut&paste.

This simple solution would be suitable for branch.

see also e.g. r29085, r28319, bug #5688.

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

14 years agoBe careful to take in account buffer closing in command-sequence
Jean-Marc Lasgouttes [Wed, 4 Nov 2009 16:28:52 +0000 (16:28 +0000)]
Be careful to take in account buffer closing in command-sequence

This is a regression wrt 1.6. Abdel, please double-check.

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

14 years agoAdd a FIXME to a piece of unreachable code. This dates back to r8251.
Vincent van Ravesteijn [Wed, 4 Nov 2009 15:30:35 +0000 (15:30 +0000)]
Add a FIXME to a piece of unreachable code. This dates back to r8251.

see http://www.lyx.org/trac/changeset/8251.

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

14 years agoUserGuide.lyx: fix fileformat
Uwe Stöhr [Tue, 3 Nov 2009 21:33:51 +0000 (21:33 +0000)]
UserGuide.lyx: fix fileformat

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

14 years ago- tufte-book.lyx, tufte-handout.lyx: remove unneeded note about hyperref
Uwe Stöhr [Tue, 3 Nov 2009 21:12:59 +0000 (21:12 +0000)]
- tufte-book.lyx, tufte-handout.lyx: remove unneeded note about hyperref
- tufte-book.layout: fix warnings about the counter definition
- tufte-handout.lyx: replace ERT by LyX code
- German tufte-handout.lyx: set EOL style (please don't forget this when adding new textfiles to SVN)

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

14 years ago* tufte-book: fix demonstration of full-width figure.
Jürgen Spitzmüller [Tue, 3 Nov 2009 18:48:19 +0000 (18:48 +0000)]
* tufte-book: fix demonstration of full-width figure.

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

14 years agoclean up the tufte-book example file (demonstrate class's default settings, omit...
Jürgen Spitzmüller [Tue, 3 Nov 2009 18:27:27 +0000 (18:27 +0000)]
clean up the tufte-book example file (demonstrate class's default settings, omit too subjective remarks)

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

14 years ago* biblioExample.bib: correct title.
Jürgen Spitzmüller [Tue, 3 Nov 2009 17:33:18 +0000 (17:33 +0000)]
* biblioExample.bib: correct title.

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

14 years agoGerman translation of the tufte-handout example.
Jürgen Spitzmüller [Tue, 3 Nov 2009 17:24:18 +0000 (17:24 +0000)]
German translation of the tufte-handout example.

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

14 years ago* tufte-handout.lyx: some corrections.
Jürgen Spitzmüller [Tue, 3 Nov 2009 17:12:58 +0000 (17:12 +0000)]
* tufte-handout.lyx: some corrections.

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

14 years ago* biblioExample.bib: add missing entry (used in tufte-handout).
Jürgen Spitzmüller [Tue, 3 Nov 2009 16:38:35 +0000 (16:38 +0000)]
* biblioExample.bib: add missing entry (used in tufte-handout).

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

14 years agoFix (again) bug #5754: Caption inset not dissolved when unsetting longtable caption...
Vincent van Ravesteijn [Tue, 3 Nov 2009 13:06:52 +0000 (13:06 +0000)]
Fix (again) bug #5754: Caption inset not dissolved when unsetting longtable caption row.

I forgot that inset-begin jumps out of the Inset if the cursor is already at the begin.

see r31823.

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

14 years ago* tufte-handout.layout: load article.layout after tufte-book.layout, since the latter...
Jürgen Spitzmüller [Tue, 3 Nov 2009 11:52:35 +0000 (11:52 +0000)]
* tufte-handout.layout: load article.layout after tufte-book.layout, since the latter disables the Abstract, which is valid in the handout class.

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

14 years ago* tufte-book.layout: tufte provides hyperref.
Jürgen Spitzmüller [Tue, 3 Nov 2009 11:26:45 +0000 (11:26 +0000)]
* tufte-book.layout: tufte provides hyperref.

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

14 years agoFix gcc warnings.
Abdelrazak Younes [Mon, 2 Nov 2009 15:20:36 +0000 (15:20 +0000)]
Fix gcc warnings.

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

14 years agoFix gcc warning.
Abdelrazak Younes [Mon, 2 Nov 2009 15:15:47 +0000 (15:15 +0000)]
Fix gcc warning.
Richard, please check this out!

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

14 years agoFix bug #6240: Adding table row causes exception that triggers infinite loop in code.
Vincent van Ravesteijn [Mon, 2 Nov 2009 07:25:05 +0000 (07:25 +0000)]
Fix bug #6240: Adding table row causes exception that triggers infinite loop in code.

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

14 years agoFix bug #6144: Remover RegExp from them Menu and give the user the possibility to...
Vincent van Ravesteijn [Mon, 2 Nov 2009 06:55:40 +0000 (06:55 +0000)]
Fix bug #6144: Remover RegExp from them Menu and give the user the possibility to insert an empty RegExp in the Search field by choosing User defined.. in the Match.. combobox (what use does this option have ?).

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

14 years agoMove CollapseStatus from Inset to InsetCollapsable (where it belongs IMO).
Vincent van Ravesteijn [Mon, 2 Nov 2009 05:03:09 +0000 (05:03 +0000)]
Move CollapseStatus from Inset to InsetCollapsable (where it belongs IMO).

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

14 years agoFix (partly) bug #5754: Caption inset not dissolved when unsetting longtable caption...
Vincent van Ravesteijn [Mon, 2 Nov 2009 04:31:06 +0000 (04:31 +0000)]
Fix (partly) bug #5754: Caption inset not dissolved when unsetting longtable caption row.

This removes the caption-inset, which is made possible by the clean-up of the LFUN_INSET_DISSOLVE (see r31822 and r31756). This assumes that there is nothing else in the row than the caption inset. I think that should be the case, but this is not yet guaranteed.

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

14 years agoFix some remains of handling INSET_DISSOLVE (see r31756):
Vincent van Ravesteijn [Mon, 2 Nov 2009 04:01:45 +0000 (04:01 +0000)]
Fix some remains of handling INSET_DISSOLVE (see r31756):
- change cur.inset().nargs() to nargs() as we might actually be in the inset called nextInset(),
- set the enabling flag of the status struct, don't return this value,
- return whether we handled this request.

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

14 years agoFix bug #5063: We don't want the combo boxes to adjust to the contents. Also, make...
Vincent van Ravesteijn [Mon, 2 Nov 2009 02:21:10 +0000 (02:21 +0000)]
Fix bug #5063: We don't want the combo boxes to adjust to the contents. Also, make the logic exactly the same for all comboboxes.

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

14 years agoGuiBox.cpp: fix typo is comment
Uwe Stöhr [Sun, 1 Nov 2009 23:23:54 +0000 (23:23 +0000)]
GuiBox.cpp: fix typo is comment

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

14 years agoFix bug #6297: Use of Fraktur font in boxed equation does not automatically include...
Vincent van Ravesteijn [Sun, 1 Nov 2009 22:16:49 +0000 (22:16 +0000)]
Fix bug #6297: Use of Fraktur font in boxed equation does not automatically include amssymb.

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

14 years agotufte-handout.layout: remove code that is already inherited from tufte-book.layout
Uwe Stöhr [Sun, 1 Nov 2009 02:49:05 +0000 (02:49 +0000)]
tufte-handout.layout: remove code that is already inherited from tufte-book.layout

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

14 years agoFix r31814: we have to close the tab not hide it. Also rename the closeCurrentTab...
Vincent van Ravesteijn [Sat, 31 Oct 2009 18:14:21 +0000 (18:14 +0000)]
Fix r31814: we have to close the tab not hide it. Also rename the closeCurrentTab() function to hideCurrentTab().

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

14 years agoClose the correct tab when clicking one while the active tab is in another tabworkare...
Vincent van Ravesteijn [Sat, 31 Oct 2009 18:10:18 +0000 (18:10 +0000)]
Close the correct tab when clicking one while the active tab is in another tabworkarea. This was fixed in r31072 for the cornerbutton; now it is fixed for the buttons on the tabs themselves.

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

14 years agoFrench UserGuide.lyx: correct a string as proposed by Abdel: http://www.mail-archive...
Uwe Stöhr [Sat, 31 Oct 2009 01:00:29 +0000 (01:00 +0000)]
French UserGuide.lyx: correct a string as proposed by Abdel: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg155387.html

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

14 years agoDo not issue the warning introduced in r31809 if we are setting the parent for the...
Vincent van Ravesteijn [Fri, 30 Oct 2009 15:33:54 +0000 (15:33 +0000)]
Do not issue the warning introduced in r31809 if we are setting the parent for the first time, or we are removing the parent.

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

14 years agoIssue a warning if a document has two parents. We should do something smart then...
Vincent van Ravesteijn [Fri, 30 Oct 2009 15:24:35 +0000 (15:24 +0000)]
Issue a warning if a document has two parents. We should do something smart then, but what?

- Do we want to ask the user which of the parents he would like to be the document's parent ?
- Do we want to disable any functionality related to parents ? Like references, bibliography, document outline etc.

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

14 years ago* LyXaction.cpp: typo and an improved description for LFUN_COMMAND_EXECUTE.
Vincent van Ravesteijn [Fri, 30 Oct 2009 15:14:23 +0000 (15:14 +0000)]
* LyXaction.cpp: typo and an improved description for LFUN_COMMAND_EXECUTE.

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

14 years agoFix LyX after r31772 (bug #6294).
Vincent van Ravesteijn [Fri, 30 Oct 2009 14:57:21 +0000 (14:57 +0000)]
Fix LyX after r31772 (bug #6294).

The declaration should match the definition.

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

14 years agoAdded Spacing.cpp to the list for tex2lyx too
Kornel Benko [Fri, 30 Oct 2009 06:06:28 +0000 (06:06 +0000)]
Added Spacing.cpp to the list for tex2lyx too

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

14 years agoUserGuide.lyx: "Close Tab Group" was renamed to "Close Current View"
Uwe Stöhr [Fri, 30 Oct 2009 03:33:52 +0000 (03:33 +0000)]
UserGuide.lyx: "Close Tab Group" was renamed to "Close Current View"

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

14 years agotufte-handout.lyx:
Uwe Stöhr [Fri, 30 Oct 2009 02:12:50 +0000 (02:12 +0000)]
tufte-handout.lyx:
- part is a valid section heading, (if you don't use it, you even won't see PDF bookmarks in the output)
- use starred section headings since the tufte classes by default omit numbers of section headings

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

14 years agoStandard Layout should be MultiPar. Now, because LFUN_BREAK_PARAGRAPHS really uses...
Vincent van Ravesteijn [Fri, 30 Oct 2009 00:33:56 +0000 (00:33 +0000)]
Standard Layout should be MultiPar. Now, because LFUN_BREAK_PARAGRAPHS really uses the MultiPar property, it is necessary to set it correctly.

see r31793.

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

14 years agoFix part of bug #6251: When closing a buffer, only close the direct children. All...
Vincent van Ravesteijn [Thu, 29 Oct 2009 23:28:08 +0000 (23:28 +0000)]
Fix part of bug #6251: When closing a buffer, only close the direct children. All grandchildren will be closed recursively by the children _and_ before it will be close by the grandparent.

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

14 years agoDissect closeWorkArea and closeBuffer.
Vincent van Ravesteijn [Thu, 29 Oct 2009 23:22:50 +0000 (23:22 +0000)]
Dissect closeWorkArea and closeBuffer.

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

14 years agoRemove parameter from cur.reset(). All calls had buffer().inset() as parameter.
Vincent van Ravesteijn [Thu, 29 Oct 2009 22:46:04 +0000 (22:46 +0000)]
Remove parameter from cur.reset(). All calls had buffer().inset() as parameter.

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

14 years agoThese shouldn't be there as they have nothing to do with the layout of the Inset.
Vincent van Ravesteijn [Thu, 29 Oct 2009 22:13:48 +0000 (22:13 +0000)]
These shouldn't be there as they have nothing to do with the layout of the Inset.

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

14 years agoText3.cpp: fix unintended fall-throughs.
Vincent van Ravesteijn [Thu, 29 Oct 2009 22:08:05 +0000 (22:08 +0000)]
Text3.cpp: fix unintended fall-throughs.

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

14 years agoMove the call to LFUN_SET_COLOR from the handling of LFUN_BRANCH_ADD_INSERT to LFUN_B...
Vincent van Ravesteijn [Thu, 29 Oct 2009 22:06:27 +0000 (22:06 +0000)]
Move the call to LFUN_SET_COLOR from the handling of LFUN_BRANCH_ADD_INSERT to LFUN_BRANCH_ADD. Now, the sequence "branch-add A" + "branch-insert A" doesn't result in an undefined branch Inset in the document.

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

14 years agoAnother fix for bug #5061: A slight correction of the patch shown described in http...
Vincent van Ravesteijn [Thu, 29 Oct 2009 21:02:19 +0000 (21:02 +0000)]
Another fix for bug #5061: A slight correction of the patch shown described in http://permalink.gmane.org/gmane.editors.lyx.devel/113507.

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

14 years agoFix bug #6292: Ensure the current language is set correctly after dissolving an Inset.
Vincent van Ravesteijn [Thu, 29 Oct 2009 13:36:22 +0000 (13:36 +0000)]
Fix bug #6292: Ensure the current language is set correctly after dissolving an Inset.

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

14 years agoBetter fix for bug #6270. The outer braces are swallowed only for user
Enrico Forestieri [Thu, 29 Oct 2009 13:24:02 +0000 (13:24 +0000)]
Better fix for bug #6270. The outer braces are swallowed only for user
defined macros, so better use a brace inset only when strictly needed.

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

14 years agotufte-handout.layout: the layout inherits everything from tufte-book, therefore remov...
Uwe Stöhr [Thu, 29 Oct 2009 02:59:06 +0000 (02:59 +0000)]
tufte-handout.layout: the layout inherits everything from tufte-book, therefore remove unused code and load the tufte-book.layout

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

14 years agoscons/scons_manifest.py: remove unneeded includes
Uwe Stöhr [Wed, 28 Oct 2009 23:51:42 +0000 (23:51 +0000)]
scons/scons_manifest.py: remove unneeded includes

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

14 years agoCompareUi: set scaledContents, resave in 4.4 designer
Pavel Sanda [Wed, 28 Oct 2009 18:35:46 +0000 (18:35 +0000)]
CompareUi: set scaledContents, resave in 4.4 designer

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

14 years agoremove special TEX2LYX code in Spacing,h
Jean-Marc Lasgouttes [Wed, 28 Oct 2009 10:07:10 +0000 (10:07 +0000)]
remove special TEX2LYX code in Spacing,h

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

14 years agoAdded FontInfo.cpp to tex2lyx sources to make it compilable again
Kornel Benko [Wed, 28 Oct 2009 06:18:56 +0000 (06:18 +0000)]
Added FontInfo.cpp to tex2lyx sources to make it compilable again

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

14 years agoscons_manifest.py: fix SCons after r31772
Uwe Stöhr [Tue, 27 Oct 2009 23:07:50 +0000 (23:07 +0000)]
scons_manifest.py: fix SCons after r31772

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

14 years agoWhat we mean by a label in HTML output and what LyX means by a label
Richard Heck [Tue, 27 Oct 2009 19:51:30 +0000 (19:51 +0000)]
What we mean by a label in HTML output and what LyX means by a label
aren't the same thing, so we won't be generating default CSS for those.

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

14 years agoWe should have a default tag for InsetLayout, too, I think. So here it is.
Richard Heck [Tue, 27 Oct 2009 19:46:47 +0000 (19:46 +0000)]
We should have a default tag for InsetLayout, too, I think. So here it is.

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

14 years agoPut the InsetLayout default CSS stuff to use.
Richard Heck [Tue, 27 Oct 2009 19:17:52 +0000 (19:17 +0000)]
Put the InsetLayout default CSS stuff to use.

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

14 years agoShouldn't have removed this.
Richard Heck [Tue, 27 Oct 2009 19:17:44 +0000 (19:17 +0000)]
Shouldn't have removed this.

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

14 years agoUpdate layout format.
Richard Heck [Tue, 27 Oct 2009 19:03:30 +0000 (19:03 +0000)]
Update layout format.

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

14 years agoA bit more cleanup, after JMarc.
Richard Heck [Tue, 27 Oct 2009 18:23:53 +0000 (18:23 +0000)]
A bit more cleanup, after JMarc.

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

14 years agoMove some functions that only required a FontInfo parameter from Font.*
Jean-Marc Lasgouttes [Tue, 27 Oct 2009 16:16:15 +0000 (16:16 +0000)]
Move some functions that only required a FontInfo parameter from Font.*
to FontInfo.*

This allows tex2lyx to use the plain FontInfo object (via Layout), and to remove
several '#ifdef TEX2LYX' in the code

Reorder a bit the makefile in tex2lyx

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

14 years agoDefault CSS for InsetLayout.
Richard Heck [Tue, 27 Oct 2009 14:33:01 +0000 (14:33 +0000)]
Default CSS for InsetLayout.

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

14 years agoForgot this in a previous commit.
Richard Heck [Tue, 27 Oct 2009 14:32:45 +0000 (14:32 +0000)]
Forgot this in a previous commit.

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

14 years agoRenaming.
Richard Heck [Tue, 27 Oct 2009 14:14:24 +0000 (14:14 +0000)]
Renaming.

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

14 years agoWe need to do some cleanup on the layout name before we can
Richard Heck [Tue, 27 Oct 2009 13:58:23 +0000 (13:58 +0000)]
We need to do some cleanup on the layout name before we can
use it as a class name.

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

14 years agoFix up some of the HTML tags now that we have default CSS.
Richard Heck [Tue, 27 Oct 2009 13:39:39 +0000 (13:39 +0000)]
Fix up some of the HTML tags now that we have default CSS.
There's more to be done here.

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

14 years agoAdd routine to create default CSS for layouts.
Richard Heck [Tue, 27 Oct 2009 13:30:53 +0000 (13:30 +0000)]
Add routine to create default CSS for layouts.

JMarc (or others), please check the #ifdef here. If you'd prefer to
do this some other way, let me know.

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

14 years agoRename some things to improve clarity.
Richard Heck [Tue, 27 Oct 2009 13:29:26 +0000 (13:29 +0000)]
Rename some things to improve clarity.

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

14 years agoSince LyX uses "INHERIT" as a default, we do not want it for HTML.
Richard Heck [Tue, 27 Oct 2009 13:27:26 +0000 (13:27 +0000)]
Since LyX uses "INHERIT" as a default, we do not want it for HTML.
Also reformat things.

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

14 years agoFix typo.
Richard Heck [Tue, 27 Oct 2009 13:04:13 +0000 (13:04 +0000)]
Fix typo.

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

14 years agoClearer function names, thanks to Abdel.
Richard Heck [Tue, 27 Oct 2009 12:13:34 +0000 (12:13 +0000)]
Clearer function names, thanks to Abdel.

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

14 years agotufte-book.layout: correct date of last change
Uwe Stöhr [Tue, 27 Oct 2009 03:14:27 +0000 (03:14 +0000)]
tufte-book.layout: correct date of last change

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

14 years ago- tufte-handout: new layout
Uwe Stöhr [Tue, 27 Oct 2009 03:12:18 +0000 (03:12 +0000)]
- tufte-handout: new layout
- tufte-book.layout; synchronize with the tufte-handout.layout
- tufte-book.lyx: add important note and improve the documentation according the example file for the similar tufte-handout class
- biblioExample.bib: new entry used by the tufte example files

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

14 years agonew layout: tufte-book
Uwe Stöhr [Tue, 27 Oct 2009 01:46:16 +0000 (01:46 +0000)]
new layout: tufte-book

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

14 years agoFix bug #6193: Crash when navigating away from an empty super/subscript.
Vincent van Ravesteijn [Tue, 27 Oct 2009 00:11:56 +0000 (00:11 +0000)]
Fix bug #6193: Crash when navigating away from an empty super/subscript.

I still don't know why it is that bad that this call is made below, but this seems to fix the problem.

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

14 years agoMove (part of) LFUN_DISSOLVE_INSET into InsetText.
Vincent van Ravesteijn [Mon, 26 Oct 2009 23:49:43 +0000 (23:49 +0000)]
Move (part of) LFUN_DISSOLVE_INSET into InsetText.
- put the InsetFlex specific part into InsetFlex,
- honor the argument given to the LFUN also for normal Insets as the description already stated,
- fix bug #6285: context menu action goes to the wrong inset.

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

14 years ago* InsetTabular.h: Whitespace.
Vincent van Ravesteijn [Mon, 26 Oct 2009 22:21:07 +0000 (22:21 +0000)]
* InsetTabular.h: Whitespace.

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