]>
git.lyx.org Git - features.git/log
Richard Heck [Mon, 9 Nov 2009 03:53:20 +0000 (03:53 +0000)]
Move the to == from test, so as to return as soon as we find a path. The
old way, we can waste time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31916
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 9 Nov 2009 03:43:48 +0000 (03:43 +0000)]
Another minor change, but this should almost get us to the point that we
could return all paths, not just one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31915
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 9 Nov 2009 03:02:11 +0000 (03:02 +0000)]
More cleanup. We introduce a struct here to keep the relevant
information together.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31914
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 9 Nov 2009 03:00:19 +0000 (03:00 +0000)]
Const.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31913
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 9 Nov 2009 02:26:01 +0000 (02:26 +0000)]
Cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31912
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 9 Nov 2009 02:19:02 +0000 (02:19 +0000)]
Just some cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31911
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Mon, 9 Nov 2009 00:55:37 +0000 (00:55 +0000)]
Just some style, and some comments, as I try to figure this out.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31910
a592a061 -630c-0410-9148-
cb99ea01b6c8
Richard Heck [Sun, 8 Nov 2009 22:37:28 +0000 (22:37 +0000)]
Constness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31909
a592a061 -630c-0410-9148-
cb99ea01b6c8
Enrico Forestieri [Sun, 8 Nov 2009 18:47:33 +0000 (18:47 +0000)]
Don't use updateMacros() in the math parser, in order to avoid
performance problems when loading documents with lots of macros.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31907
a592a061 -630c-0410-9148-
cb99ea01b6c8
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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