lyx.git
14 years agotufte layout files:master
uwestoehr [Wed, 11 Nov 2009 03:09:54 +0000 (11 03:09 +0000)]
tufte layout files:
- correct appearance of section environments in LyX: also non-starred sections don't have a number in tufte
- use the new nohyper document class option, this way the user has full access to the PDF appearance via our PDF properties settings (thanks to the tufte developer for implementing this)

This can first go to branch when the new tufte version will be released - this release will definitively happen before LyX 1.7 therefore I think it's safe to commit to trunk.

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

14 years ago- introduce option to suppress the LaTeX package mhchem, fileformat change
uwestoehr [Wed, 11 Nov 2009 01:48:07 +0000 (11 01:48 +0000)]
- introduce option to suppress the LaTeX package mhchem, fileformat change

The fileformat change is also needed because of our mistake that we load mhchem since LyX 1.6.4 automatically so that files created with LyX 1.6.4 won't compile under LyX 1.6.3. Now at least all files created or opened with LyX 1.7 can be reverted to the fileformat of LyX 1.6.x and can therefore be read by all LyX 1.6.x versions.

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

14 years agoinstaller: sync with branch
uwestoehr [Wed, 11 Nov 2009 01:33:17 +0000 (11 01:33 +0000)]
installer: sync with branch

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

14 years agoinstaller: sync with branch
uwestoehr [Tue, 10 Nov 2009 22:13:09 +0000 (10 22:13 +0000)]
installer: sync with branch

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

14 years ago* GuiAbout.cpp:
spitz [Tue, 10 Nov 2009 14:45:21 +0000 (10 14:45 +0000)]
* GuiAbout.cpp:
- unmask e-mail addresses in the credits pane.

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

14 years agoAdd TaoWang to the credits.
spitz [Tue, 10 Nov 2009 13:02:31 +0000 (10 13:02 +0000)]
Add TaoWang to the credits.

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

14 years agoinstaller: sync with branch
uwestoehr [Tue, 10 Nov 2009 03:35:49 +0000 (10 03:35 +0000)]
installer: sync with branch

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

14 years agoThis more or less completes the re-implementation of this class. The
rgheck [Tue, 10 Nov 2009 01:18:43 +0000 (10 01:18 +0000)]
This more or less completes the re-implementation of this class. The
main advantage of what has been done here is that it would now be fairly
easy to return ALL the paths connecting two nodes. In practice, this
would mean that we could find ALL ways of converting one format (say,
LaTeX) into another (say, PDF), and present these to the user for her
perusal.

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

14 years agoA bit more re-organization.
rgheck [Mon, 9 Nov 2009 17:56:34 +0000 (9 17:56 +0000)]
A bit more re-organization.
Next to go will be the prev vector.

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

14 years agoNot so soon, I guess, since that FIXME was from r6305.
rgheck [Mon, 9 Nov 2009 16:53:40 +0000 (9 16:53 +0000)]
Not so soon, I guess, since that FIXME was from r6305.

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

14 years agoOne more little comment.
rgheck [Mon, 9 Nov 2009 14:03:10 +0000 (9 14:03 +0000)]
One more little comment.

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

14 years agoMove the visited stuff inside the Vertex struct.
rgheck [Mon, 9 Nov 2009 04:02:45 +0000 (9 04:02 +0000)]
Move the visited stuff inside the Vertex struct.
Also, there is no good reason for the vertices_ member to be static. Indeed,
if we wanted to use this more generally....

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

14 years agoMove the to == from test, so as to return as soon as we find a path. The
rgheck [Mon, 9 Nov 2009 03:53:20 +0000 (9 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

14 years agoAnother minor change, but this should almost get us to the point that we
rgheck [Mon, 9 Nov 2009 03:43:48 +0000 (9 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

14 years agoMore cleanup. We introduce a struct here to keep the relevant
rgheck [Mon, 9 Nov 2009 03:02:11 +0000 (9 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

14 years agoConst.
rgheck [Mon, 9 Nov 2009 03:00:19 +0000 (9 03:00 +0000)]
Const.

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

14 years agoCleanup.
rgheck [Mon, 9 Nov 2009 02:26:01 +0000 (9 02:26 +0000)]
Cleanup.

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

14 years agoJust some cleanup.
rgheck [Mon, 9 Nov 2009 02:19:02 +0000 (9 02:19 +0000)]
Just some cleanup.

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

14 years agoJust some style, and some comments, as I try to figure this out.
rgheck [Mon, 9 Nov 2009 00:55:37 +0000 (9 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

14 years agoConstness.
rgheck [Sun, 8 Nov 2009 22:37:28 +0000 (8 22:37 +0000)]
Constness.

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

14 years agoDon't use updateMacros() in the math parser, in order to avoid
forenr [Sun, 8 Nov 2009 18:47:33 +0000 (8 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

14 years agoUserGuide.lyx: fix fileformat again, sorry
uwestoehr [Sun, 8 Nov 2009 18:46:39 +0000 (8 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(),
forenr [Sun, 8 Nov 2009 18:22:57 +0000 (8 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().
younes [Sun, 8 Nov 2009 16:16:36 +0000 (8 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
younes [Sun, 8 Nov 2009 16:14:22 +0000 (8 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 *'
younes [Sun, 8 Nov 2009 16:10:34 +0000 (8 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...
younes [Sun, 8 Nov 2009 15:53:21 +0000 (8 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.
younes [Sun, 8 Nov 2009 13:41:29 +0000 (8 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...
vfr [Sun, 8 Nov 2009 13:20:08 +0000 (8 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...
younes [Sun, 8 Nov 2009 11:45:46 +0000 (8 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
uwestoehr [Sat, 7 Nov 2009 16:55:23 +0000 (7 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
kuemmel [Sat, 7 Nov 2009 13:23:30 +0000 (7 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.
sanda [Sat, 7 Nov 2009 12:54:19 +0000 (7 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
sanda [Sat, 7 Nov 2009 12:54:08 +0000 (7 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
kuemmel [Sat, 7 Nov 2009 12:50:30 +0000 (7 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
kuemmel [Sat, 7 Nov 2009 11:55:44 +0000 (7 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
kuemmel [Sat, 7 Nov 2009 11:19:57 +0000 (7 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.
spitz [Sat, 7 Nov 2009 10:44:08 +0000 (7 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
uwestoehr [Sat, 7 Nov 2009 00:44:12 +0000 (7 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
sanda [Fri, 6 Nov 2009 15:56:15 +0000 (6 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
sanda [Fri, 6 Nov 2009 15:22:21 +0000 (6 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.
sanda [Fri, 6 Nov 2009 15:22:17 +0000 (6 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.
forenr [Fri, 6 Nov 2009 15:18:48 +0000 (6 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...
lasgouttes [Fri, 6 Nov 2009 13:32:58 +0000 (6 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).
spitz [Fri, 6 Nov 2009 12:17:24 +0000 (6 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
leuven [Thu, 5 Nov 2009 19:51:17 +0000 (5 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...
vfr [Thu, 5 Nov 2009 12:58:25 +0000 (5 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.
vfr [Thu, 5 Nov 2009 00:38:09 +0000 (5 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
lasgouttes [Wed, 4 Nov 2009 16:28:52 +0000 (4 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.
vfr [Wed, 4 Nov 2009 15:30:35 +0000 (4 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
uwestoehr [Tue, 3 Nov 2009 21:33:51 +0000 (3 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
uwestoehr [Tue, 3 Nov 2009 21:12:59 +0000 (3 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.
spitz [Tue, 3 Nov 2009 18:48:19 +0000 (3 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...
spitz [Tue, 3 Nov 2009 18:27:27 +0000 (3 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.
spitz [Tue, 3 Nov 2009 17:33:18 +0000 (3 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.
spitz [Tue, 3 Nov 2009 17:24:18 +0000 (3 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.
spitz [Tue, 3 Nov 2009 17:12:58 +0000 (3 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).
spitz [Tue, 3 Nov 2009 16:38:35 +0000 (3 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...
vfr [Tue, 3 Nov 2009 13:06:52 +0000 (3 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...
spitz [Tue, 3 Nov 2009 11:52:35 +0000 (3 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.
spitz [Tue, 3 Nov 2009 11:26:45 +0000 (3 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.
younes [Mon, 2 Nov 2009 15:20:36 +0000 (2 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.
younes [Mon, 2 Nov 2009 15:15:47 +0000 (2 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.
vfr [Mon, 2 Nov 2009 07:25:05 +0000 (2 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...
vfr [Mon, 2 Nov 2009 06:55:40 +0000 (2 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).
vfr [Mon, 2 Nov 2009 05:03:09 +0000 (2 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...
vfr [Mon, 2 Nov 2009 04:31:06 +0000 (2 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):
vfr [Mon, 2 Nov 2009 04:01:45 +0000 (2 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...
vfr [Mon, 2 Nov 2009 02:21:10 +0000 (2 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
uwestoehr [Sun, 1 Nov 2009 23:23:54 +0000 (1 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...
vfr [Sun, 1 Nov 2009 22:16:49 +0000 (1 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
uwestoehr [Sun, 1 Nov 2009 02:49:05 +0000 (1 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...
vfr [Sat, 31 Oct 2009 18:14:21 +0000 (31 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...
vfr [Sat, 31 Oct 2009 18:10:18 +0000 (31 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...
uwestoehr [Sat, 31 Oct 2009 01:00:29 +0000 (31 01:00 +0000)]
French UserGuide.lyx: correct a string as proposed by Abdel: 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...
vfr [Fri, 30 Oct 2009 15:33:54 +0000 (30 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...
vfr [Fri, 30 Oct 2009 15:24:35 +0000 (30 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.
vfr [Fri, 30 Oct 2009 15:14:23 +0000 (30 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).
vfr [Fri, 30 Oct 2009 14:57:21 +0000 (30 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 [Fri, 30 Oct 2009 06:06:28 +0000 (30 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"
uwestoehr [Fri, 30 Oct 2009 03:33:52 +0000 (30 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:
uwestoehr [Fri, 30 Oct 2009 02:12:50 +0000 (30 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...
vfr [Fri, 30 Oct 2009 00:33:56 +0000 (30 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...
vfr [Thu, 29 Oct 2009 23:28:08 +0000 (29 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.
vfr [Thu, 29 Oct 2009 23:22:50 +0000 (29 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.
vfr [Thu, 29 Oct 2009 22:46:04 +0000 (29 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.
vfr [Thu, 29 Oct 2009 22:13:48 +0000 (29 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.
vfr [Thu, 29 Oct 2009 22:08:05 +0000 (29 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...
vfr [Thu, 29 Oct 2009 22:06:27 +0000 (29 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...
vfr [Thu, 29 Oct 2009 21:02:19 +0000 (29 21:02 +0000)]
Another fix for bug #5061: A slight correction of the patch shown described in 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.
vfr [Thu, 29 Oct 2009 13:36:22 +0000 (29 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
forenr [Thu, 29 Oct 2009 13:24:02 +0000 (29 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...
uwestoehr [Thu, 29 Oct 2009 02:59:06 +0000 (29 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
uwestoehr [Wed, 28 Oct 2009 23:51:42 +0000 (28 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
sanda [Wed, 28 Oct 2009 18:35:46 +0000 (28 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
lasgouttes [Wed, 28 Oct 2009 10:07:10 +0000 (28 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 [Wed, 28 Oct 2009 06:18:56 +0000 (28 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
uwestoehr [Tue, 27 Oct 2009 23:07:50 +0000 (27 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
rgheck [Tue, 27 Oct 2009 19:51:30 +0000 (27 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.
rgheck [Tue, 27 Oct 2009 19:46:47 +0000 (27 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