]> git.lyx.org Git - lyx.git/log
lyx.git
14 years agoLength.h: revert unintended change
Uwe Stöhr [Fri, 17 Jul 2009 01:01:37 +0000 (01:01 +0000)]
Length.h: revert unintended change

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

14 years agoLength.h: partly revert r30595 , for an unknown reason the percent lengths are hardcoded
Uwe Stöhr [Fri, 17 Jul 2009 00:59:41 +0000 (00:59 +0000)]
Length.h: partly revert r30595 , for an unknown reason the percent lengths are hardcoded

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

14 years agoReact better if we can't find bind files. Related to bug 6076.
Richard Heck [Thu, 16 Jul 2009 23:12:45 +0000 (23:12 +0000)]
React better if we can't find bind files. Related to bug 6076.

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

14 years agoKill LFUN_PARAGRAPH_SPACING in favour of LFUN_PARAGRAPH_PARAMS.
Pavel Sanda [Thu, 16 Jul 2009 22:55:23 +0000 (22:55 +0000)]
Kill LFUN_PARAGRAPH_SPACING in favour of LFUN_PARAGRAPH_PARAMS.
We don't want duplicit code.

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

14 years agotypo
Jean-Marc Lasgouttes [Thu, 16 Jul 2009 22:29:05 +0000 (22:29 +0000)]
typo

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

14 years agoFix bug #6076. As said there, other configuration files probably need to be checked.
Richard Heck [Thu, 16 Jul 2009 22:24:39 +0000 (22:24 +0000)]
Fix bug #6076. As said there, other configuration files probably need to be checked.

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

14 years ago* doxy
Pavel Sanda [Thu, 16 Jul 2009 22:17:49 +0000 (22:17 +0000)]
* doxy

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

14 years agoGive inset codes to all the math insets, so we get more information when
Richard Heck [Thu, 16 Jul 2009 19:00:24 +0000 (19:00 +0000)]
Give inset codes to all the math insets, so we get more information when
we run into assertions.

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

14 years ago* LyXAction.cpp: doxy.
Vincent van Ravesteijn [Thu, 16 Jul 2009 18:58:47 +0000 (18:58 +0000)]
* LyXAction.cpp: doxy.

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

14 years ago* Buffer.cpp: whitespace.
Vincent van Ravesteijn [Thu, 16 Jul 2009 18:29:16 +0000 (18:29 +0000)]
* Buffer.cpp: whitespace.

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

14 years agoFix another assertion.
Richard Heck [Thu, 16 Jul 2009 13:34:33 +0000 (13:34 +0000)]
Fix another assertion.

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

14 years agoFix bug #5096: Language switch fails in environments.
Enrico Forestieri [Thu, 16 Jul 2009 12:50:44 +0000 (12:50 +0000)]
Fix bug #5096: Language switch fails in environments.

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

14 years agoremove some explicit tests against ERT_CODE; more to come
Jean-Marc Lasgouttes [Thu, 16 Jul 2009 10:08:13 +0000 (10:08 +0000)]
remove some explicit tests against ERT_CODE; more to come

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

14 years agoFix the enabling of the custom page size field in GuiDocument.
Vincent van Ravesteijn [Thu, 16 Jul 2009 08:39:22 +0000 (08:39 +0000)]
Fix the enabling of the custom page size field in GuiDocument.

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

14 years agoun-revert r30531, after Richard told me how to avoid the crash. Now, before
Jean-Marc Lasgouttes [Thu, 16 Jul 2009 08:37:32 +0000 (08:37 +0000)]
un-revert r30531, after Richard told me how to avoid the crash. Now, before
accepting changes in a clipboard copy (CutAndPaste.cpp), we set the buffer
of insets (and we reset them later).

Doing this makes sense because we know this is the only operation on these
out-of-document paragraphs that will require access to a buffer.

Also, this commit gets rid of one explicit test against ERT_CODE and
LISTING_CODE.

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

14 years agoFix bug #6070: Width unit cannot be set in tabular dialog.
Vincent van Ravesteijn [Thu, 16 Jul 2009 07:47:02 +0000 (07:47 +0000)]
Fix bug #6070: Width unit cannot be set in tabular dialog.

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

14 years ago* InsetCollapsable: simplification.
Vincent van Ravesteijn [Thu, 16 Jul 2009 07:44:35 +0000 (07:44 +0000)]
* InsetCollapsable: simplification.

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

14 years agoremove unused headers
Jean-Marc Lasgouttes [Thu, 16 Jul 2009 07:26:52 +0000 (07:26 +0000)]
remove unused headers

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

14 years ago* attempt to fix polytonic Greek (with mutli-accents) [bug 5976].
Jürgen Spitzmüller [Thu, 16 Jul 2009 06:19:25 +0000 (06:19 +0000)]
* attempt to fix polytonic Greek (with mutli-accents) [bug 5976].
* add extended Greek chars to unicodesymbols [bug 4997].

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

14 years agoRevert r30390 and r30391. This seemed not to be necessary (bug #4509).
Vincent van Ravesteijn [Thu, 16 Jul 2009 01:47:30 +0000 (01:47 +0000)]
Revert r30390 and r30391. This seemed not to be necessary (bug #4509).

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

14 years agoOops..
Vincent van Ravesteijn [Wed, 15 Jul 2009 20:40:03 +0000 (20:40 +0000)]
Oops..

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

14 years agoRemove nonsense comment.
Vincent van Ravesteijn [Wed, 15 Jul 2009 20:32:16 +0000 (20:32 +0000)]
Remove nonsense comment.

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

14 years agoRemove nonsense assert.
Vincent van Ravesteijn [Wed, 15 Jul 2009 20:01:06 +0000 (20:01 +0000)]
Remove nonsense assert.

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

14 years agoFix crash related to empty buffer_ argument.
Richard Heck [Wed, 15 Jul 2009 19:20:53 +0000 (19:20 +0000)]
Fix crash related to empty buffer_ argument.
Restore assertion removed at r30602.

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

14 years agoUpdate doxy.
Richard Heck [Wed, 15 Jul 2009 16:27:22 +0000 (16:27 +0000)]
Update doxy.

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

14 years ago* de.po: forwardport translations from branch.
Jürgen Spitzmüller [Wed, 15 Jul 2009 14:22:10 +0000 (14:22 +0000)]
* de.po: forwardport translations from branch.

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

14 years agorevert r30531, which causes a crash when copying an inset.
Jean-Marc Lasgouttes [Wed, 15 Jul 2009 14:19:10 +0000 (14:19 +0000)]
revert r30531, which causes a crash when copying an inset.

Basically, insets in cut stack do not have a buffer, and therefore cannot
acess to buffer parameters. What is annoying here is that acceptChanges
requires this buffer params only to be able to read a font in moveItem,
in order to read the buffer language, and I doubt this is really needed...

Another change in this patch is that Inset::getLayout now returns a
plainLayout when the inset does not have a buffer_. This fixes a remaining
crash where dEPM reads isFreeSpacing() for an inset in the clipboard, but
this looks like a fragile situation. And it will not do the right thing when
doing depm in a freespacing inset.

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

14 years agocomment out assertion enabled in r30540. It triggered when entering a math inset...
Jean-Marc Lasgouttes [Wed, 15 Jul 2009 13:53:26 +0000 (13:53 +0000)]
comment out assertion enabled in r30540. It triggered when entering a math inset with the mouse. I have not been able to understand why exactly

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

14 years agoLength.h, lengthcommon.cpp: sort the units, the current sorting had no rule and there...
Uwe Stöhr [Tue, 14 Jul 2009 22:38:47 +0000 (22:38 +0000)]
Length.h, lengthcommon.cpp: sort the units, the current sorting had no rule and therefore consumed a lot time until one found the desired unit.

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

14 years agodid not mean to commit this
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 21:58:05 +0000 (21:58 +0000)]
did not mean to commit this

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

14 years agodefine InsetText::insetAllowed properly and rely on it for inset insertion in Text...
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 21:56:22 +0000 (21:56 +0000)]
define InsetText::insetAllowed properly and rely on it for inset insertion in Text::dispatchsvndiff

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

14 years agoThis commit terminates the great InsetCollapsable shrink party
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 21:14:39 +0000 (21:14 +0000)]
This commit terminates the great InsetCollapsable shrink party

 * rename InsetLayout::isForceLtr to forceLTR
 * move InsetCollapsable::xhtml to InsetText
 * move InsetCollapsable::tocString to InsetText.
 * move forcePlainLayout and allowParagraphCustomization from IC to IT
 * use isPassThru instead of forceLTR in places where it seems to make
   sense (was introduced in r21285)

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

14 years agoset better defaults for inset layouts: allow paragraph customization and do not force...
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 21:08:48 +0000 (21:08 +0000)]
set better defaults for inset layouts: allow paragraph customization and do not force plain layout

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

14 years agomove InsetCollapsable::docbook to InsetText; move InsetCollapsable::undefined to...
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 20:25:25 +0000 (20:25 +0000)]
move InsetCollapsable::docbook to InsetText; move InsetCollapsable::undefined to Inset

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

14 years agoAndre's remark
Pavel Sanda [Tue, 14 Jul 2009 19:46:17 +0000 (19:46 +0000)]
Andre's remark

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

14 years agoremove all trace of editMessage
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 18:56:13 +0000 (18:56 +0000)]
remove all trace of editMessage

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

14 years agostreamline InsetERT
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 18:30:13 +0000 (18:30 +0000)]
streamline InsetERT

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

14 years agothis is helpful together with r30582
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 18:29:39 +0000 (18:29 +0000)]
this is helpful together with r30582

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

14 years agomove the the latex and validate methods from InsetCollapsable to InsetText; small...
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 18:27:54 +0000 (18:27 +0000)]
move the the latex and validate methods from InsetCollapsable to InsetText; small cleanups

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

14 years agoHopefully fixes #6082
Pavel Sanda [Tue, 14 Jul 2009 18:06:19 +0000 (18:06 +0000)]
Hopefully fixes #6082

http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg153098.html

Juergen?

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

14 years agofix ticket #6081
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 16:01:55 +0000 (16:01 +0000)]
fix ticket #6081

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

14 years agofix button label of insets like InsetMarginal
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 16:01:07 +0000 (16:01 +0000)]
fix button label of insets like InsetMarginal

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

14 years agologic was reversed
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 16:00:22 +0000 (16:00 +0000)]
logic was reversed

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

14 years agoHopefully fix bug #6077
Pavel Sanda [Tue, 14 Jul 2009 15:51:21 +0000 (15:51 +0000)]
Hopefully fix bug #6077

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

14 years agomove more functions from InsetCollapsable::getStatus to Text
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 15:27:48 +0000 (15:27 +0000)]
move more functions from InsetCollapsable::getStatus to Text

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

14 years agomove tab-insert/delete from InsetCollapsable to Text
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 14:52:11 +0000 (14:52 +0000)]
move tab-insert/delete from InsetCollapsable to Text

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

14 years agomove some code from InsetCollapsable::doDispatch to InsetText
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 13:32:36 +0000 (13:32 +0000)]
move some code from InsetCollapsable::doDispatch to InsetText

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

14 years agomove some code fro, InsetCollapsable::read to InsetText
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 13:05:13 +0000 (13:05 +0000)]
move some code fro, InsetCollapsable::read to InsetText

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

14 years agoMove special handling of paste function from InsetCollapsable to InsetText
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 13:00:42 +0000 (13:00 +0000)]
Move special handling of paste function from InsetCollapsable to InsetText

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

14 years agoreplace gratuitously complicated code by sane one, and make cursor leave inset after...
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 12:21:35 +0000 (12:21 +0000)]
replace gratuitously complicated code by sane one, and make cursor leave inset after inserting an index

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

14 years agoRemove the layout_ cache in InsetCollapsable.
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 12:07:51 +0000 (12:07 +0000)]
Remove the layout_ cache in InsetCollapsable.

Remove setLayout methods and all the calls to it.

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

14 years agofix wrong path
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 12:07:07 +0000 (12:07 +0000)]
fix wrong path

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

14 years agoFix again ticket #1720. This got broken during frontend reorganization.
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 11:36:08 +0000 (11:36 +0000)]
Fix again ticket #1720. This got broken during frontend reorganization.

The situation now is almost good, although preference and about LyX are now disabled.

I moved the code that sets buffer to 0 to LyXFunc::getStatus, where it belongs.
I also set lyx_view_ to 0 when the window does not have focus.

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

14 years agofix tests
Jean-Marc Lasgouttes [Tue, 14 Jul 2009 10:37:17 +0000 (10:37 +0000)]
fix tests

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

14 years agoTextLayoutUi.ui: group everything into boxes for a consistent layout with the other...
Uwe Stöhr [Tue, 14 Jul 2009 01:40:51 +0000 (01:40 +0000)]
TextLayoutUi.ui: group everything into boxes for a consistent layout with the other document settings UI

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

14 years agoPageLayoutUi.ui: group everything into boxes for a consistent layout with the other...
Uwe Stöhr [Tue, 14 Jul 2009 01:38:15 +0000 (01:38 +0000)]
PageLayoutUi.ui: group everything into boxes for a consistent layout with the other document settings UI

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

14 years agoupdate author settings for the files I recently notably modified
Uwe Stöhr [Mon, 13 Jul 2009 23:25:47 +0000 (23:25 +0000)]
update author settings for the files I recently notably modified

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

14 years agoSearch for hunspell.hxx on ubuntu at standard place
Kornel Benko [Mon, 13 Jul 2009 17:51:27 +0000 (17:51 +0000)]
Search for hunspell.hxx on ubuntu at standard place

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

14 years agonote to self: always compile before committing
Jean-Marc Lasgouttes [Mon, 13 Jul 2009 15:57:08 +0000 (15:57 +0000)]
note to self: always compile before committing

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

14 years agoThe most important change in this changeset is that InsetCollapsable::getLayout
Jean-Marc Lasgouttes [Mon, 13 Jul 2009 15:47:40 +0000 (15:47 +0000)]
The most important change in this changeset is that InsetCollapsable::getLayout
is commented out, so that the documentclass is queried every time instead of
using the layout_ cache. For now I have kept the setLayout calls, but they are
inoperant.

Other changes:
 * remove non-const usePlainLayout methods
 * move InsetCollapsable::allowSpellCheck and allowMultiPar to InsetText
 * move InsetCollapsable::isFreespacing and forceLTR to Inset

Freespacing support could be moved to insettext, but I have to check who
uses it.

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

14 years ago* Add possibility to append active branch names to the output file name (#3105).
Jürgen Spitzmüller [Mon, 13 Jul 2009 14:30:08 +0000 (14:30 +0000)]
* Add possibility to append active branch names to the output file name (#3105).

File format change.

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

14 years agoone less explicit test against FLEX_CODE
Jean-Marc Lasgouttes [Mon, 13 Jul 2009 14:06:05 +0000 (14:06 +0000)]
one less explicit test against FLEX_CODE

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

14 years agoSmall cleanup
Jean-Marc Lasgouttes [Mon, 13 Jul 2009 13:53:58 +0000 (13:53 +0000)]
Small cleanup

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

14 years agoClash of shortcuts in context menu
Pavel Sanda [Mon, 13 Jul 2009 13:33:32 +0000 (13:33 +0000)]
Clash of shortcuts in context menu

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

14 years agoRemove all BufferParam arguments in InsetXXX methods (since insets know about their...
Jean-Marc Lasgouttes [Mon, 13 Jul 2009 12:56:20 +0000 (12:56 +0000)]
Remove all BufferParam arguments in InsetXXX methods (since insets know about their Buffer)

Add an assertion in Inset::dispatch that checks that buffer() == *cur.buffer()

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

14 years agosmall optimization and cleanup of Counters::counterLabel
Jean-Marc Lasgouttes [Mon, 13 Jul 2009 11:05:31 +0000 (11:05 +0000)]
small optimization and cleanup of Counters::counterLabel

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

14 years agoUpdate credit of John.
Pavel Sanda [Mon, 13 Jul 2009 09:50:47 +0000 (09:50 +0000)]
Update credit of John.

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

14 years agoFix leftover from r27378. Patch and report from John McCabe-Dansted.
Pavel Sanda [Mon, 13 Jul 2009 09:50:46 +0000 (09:50 +0000)]
Fix leftover from r27378. Patch and report from John McCabe-Dansted.
Presumably it fixes
"r30414 unselects insets after a fraction of a second. 1.5.7 doesn't exhibit this bug"
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg152960.html

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

14 years agoadd missing quote
Edwin Leuven [Mon, 13 Jul 2009 09:21:06 +0000 (09:21 +0000)]
add missing quote

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

14 years agoCheck for hunspell
Kornel Benko [Mon, 13 Jul 2009 07:44:00 +0000 (07:44 +0000)]
Check for hunspell

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

14 years agoFinally make the label color of multiple index entries work.
Jürgen Spitzmüller [Mon, 13 Jul 2009 06:46:52 +0000 (06:46 +0000)]
Finally make the label color of multiple index entries work.

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

14 years ago* InsetExternal.cpp (xhtml): fix compiler warning and formatting.
Jürgen Spitzmüller [Mon, 13 Jul 2009 06:34:05 +0000 (06:34 +0000)]
* InsetExternal.cpp (xhtml): fix compiler warning and formatting.

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

14 years agoremove BufferParams parameter from Inset::accept/rejectChanges; adapt rest of code...
Jean-Marc Lasgouttes [Mon, 13 Jul 2009 00:57:51 +0000 (00:57 +0000)]
remove BufferParams parameter from Inset::accept/rejectChanges; adapt rest of code accordingly

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

14 years agoFirst step of InsetLayout cleanup.
Jean-Marc Lasgouttes [Mon, 13 Jul 2009 00:28:22 +0000 (00:28 +0000)]
First step of InsetLayout cleanup.

Get rid of Inset::getLayout(BufferParams), since all insets have access to
their own buffer. Inset::getLayout() does the same now.

Get rid of InsetCollapsable::getLayout(BufferParams) too, and remove most references to InsetCollapsable::layout_. For now IC::getLayout() still returns layout_, but the idea is to change this (provided there is no performance problem).

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

14 years agoscons_manifest.py: fix hunspell entries
Uwe Stöhr [Mon, 13 Jul 2009 00:16:14 +0000 (00:16 +0000)]
scons_manifest.py: fix hunspell entries

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

14 years agoTrying to do something for hunspell but I'm affraid this won't be enough... More...
Abdelrazak Younes [Sun, 12 Jul 2009 22:47:17 +0000 (22:47 +0000)]
Trying to do something for hunspell but I'm affraid this won't be enough... More precisely I am sure this won't be enough...

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

14 years agoNew support files for Hunspell support. Only autotools for now.
Abdelrazak Younes [Sun, 12 Jul 2009 22:46:01 +0000 (22:46 +0000)]
New support files for Hunspell support. Only autotools for now.
Hunspell is not used yet, don't try it.

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

14 years agoMathMatrixUi.ui: proper naming
Uwe Stöhr [Sun, 12 Jul 2009 22:15:46 +0000 (22:15 +0000)]
MathMatrixUi.ui: proper naming

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

14 years agoremove the now unused Paragraph::translateIfPossible
Jean-Marc Lasgouttes [Sun, 12 Jul 2009 22:14:49 +0000 (22:14 +0000)]
remove the now unused Paragraph::translateIfPossible

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

14 years agoRemove Layout::labelstring_appendix method; add a bool parameter to Layout::labelstri...
Jean-Marc Lasgouttes [Sun, 12 Jul 2009 21:48:50 +0000 (21:48 +0000)]
Remove Layout::labelstring_appendix method; add a bool parameter to Layout::labelstring instead.

Fix the rest of the code, whih implies fixing a few potential bugs where the appendix status was not taken in account.

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

14 years agosupport for matrix decoration in the MathMatrix dialog;
Uwe Stöhr [Sun, 12 Jul 2009 21:39:21 +0000 (21:39 +0000)]
support for matrix decoration in the MathMatrix dialog;
introduces a new LFUN and fixes #4620

This can in principle also go to branch when new LFUNs are there allowed, Jürgen?

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

14 years agoTabularUi.ui: add and correct a tooltip
Uwe Stöhr [Sun, 12 Jul 2009 21:36:02 +0000 (21:36 +0000)]
TabularUi.ui: add and correct a tooltip

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

14 years agoFix the infinite loop when automatically closing the view after a on_lastWorkAreaRemo...
Vincent van Ravesteijn [Sun, 12 Jul 2009 20:42:14 +0000 (20:42 +0000)]
Fix the infinite loop when automatically closing the view after a on_lastWorkAreaRemoved() signal was received.

In this case, all workareas are closed, but the tabworkarea still exists.

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

14 years agoMake sure that the new caching mechanism for flattened labels respects languages.
Jean-Marc Lasgouttes [Sun, 12 Jul 2009 20:09:53 +0000 (20:09 +0000)]
Make sure that the new caching mechanism for flattened labels respects languages.

 * Counters.cpp (flatLabelString): return a cache of the flattened strings for each used language
 * Counters.cpp (theCounter, counterLabel, flattenLabelString): add a lang parameter; in theCounter, populate the cache as needed.

 * insets/InsetCaption.cpp:
 * insets/InsetFoot.cpp:
 * insets/InsetBibitem.cpp:
 * insets/InsetCollapsable.cpp:
 * Paragraph.cpp:
 * Buffer.cpp: pass a language argument to counter methods.

 * Paragraph.cpp (translateIfPossible): use the function with same name in gettext.cpp.

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

14 years agofix label for enumii
Jean-Marc Lasgouttes [Sun, 12 Jul 2009 19:55:22 +0000 (19:55 +0000)]
fix label for enumii

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

14 years agofix another warning
Jean-Marc Lasgouttes [Sun, 12 Jul 2009 17:54:35 +0000 (17:54 +0000)]
fix another warning

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

14 years ago(try 2) fix a couple warnings after the number localization patch
Jean-Marc Lasgouttes [Sun, 12 Jul 2009 17:32:23 +0000 (17:32 +0000)]
(try 2) fix a couple warnings after the number localization patch

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

14 years agorevert r30515: too many files there
Jean-Marc Lasgouttes [Sun, 12 Jul 2009 17:30:56 +0000 (17:30 +0000)]
revert r30515: too many files there

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

14 years agofix a couple warnings after the number localization patch
Jean-Marc Lasgouttes [Sun, 12 Jul 2009 17:28:46 +0000 (17:28 +0000)]
fix a couple warnings after the number localization patch

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

14 years agoAdd support for number localization in the GUI (using Qt's locale facilities).
Jürgen Spitzmüller [Sun, 12 Jul 2009 15:44:26 +0000 (15:44 +0000)]
Add support for number localization in the GUI (using Qt's locale facilities).

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

14 years agoHonour preferences by allowing inline completion in mathed on "Ctrl-L".
Enrico Forestieri [Sun, 12 Jul 2009 14:56:38 +0000 (14:56 +0000)]
Honour preferences by allowing inline completion in mathed on "Ctrl-L".

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

14 years ago * gettext.cpp (translateIfPossible): @Use the same tests as i
Jean-Marc Lasgouttes [Sun, 12 Jul 2009 14:50:51 +0000 (14:50 +0000)]
 * gettext.cpp (translateIfPossible): @Use the same tests as i
   Paragraph::translateIfPossible

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

14 years agoRemove dummy gettext.cpp from tex2lyx source and use a dummy message
Jean-Marc Lasgouttes [Sun, 12 Jul 2009 14:49:30 +0000 (14:49 +0000)]
Remove dummy gettext.cpp from tex2lyx source and use a dummy message
object instead.

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

14 years agoInsetTabular.cpp: coding style
Uwe Stöhr [Sun, 12 Jul 2009 14:36:42 +0000 (14:36 +0000)]
InsetTabular.cpp: coding style

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

14 years ago* correct bug reference.
Jürgen Spitzmüller [Sun, 12 Jul 2009 13:47:06 +0000 (13:47 +0000)]
* correct bug reference.

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

14 years ago* InsetTabular.cpp: fix bug 6057: longtable captions must always be in a first header.
Jürgen Spitzmüller [Sun, 12 Jul 2009 13:43:05 +0000 (13:43 +0000)]
* InsetTabular.cpp: fix bug 6057: longtable captions must always be in a first header.

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

14 years agoFix bug #6063: Keylogger lyx::lyxbreaker: Crash in Math.
Enrico Forestieri [Sun, 12 Jul 2009 10:52:28 +0000 (10:52 +0000)]
Fix bug #6063: Keylogger lyx::lyxbreaker: Crash in Math.

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

14 years agosimplify the sweave module description
Jean-Marc Lasgouttes [Sun, 12 Jul 2009 10:19:51 +0000 (10:19 +0000)]
simplify the sweave module description

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

14 years agoRemove duplicate line that prevents LyX from installing,
Richard Heck [Sun, 12 Jul 2009 00:58:33 +0000 (00:58 +0000)]
Remove duplicate line that prevents LyX from installing,
at least under F11.

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

14 years ago* ja.po: update from Koji.
Jürgen Spitzmüller [Sat, 11 Jul 2009 17:45:00 +0000 (17:45 +0000)]
* ja.po: update from Koji.

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