Commit Graph

3031 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
41003ea0eb 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
2009-07-16 10:08:13 +00:00
Vincent van Ravesteijn
5862b252db 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
2009-07-16 08:39:22 +00:00
Vincent van Ravesteijn
0dd2067a8f 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
2009-07-16 07:47:02 +00:00
Vincent van Ravesteijn
52b1bd4c09 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
2009-07-16 01:47:30 +00:00
Jean-Marc Lasgouttes
c4fafe11c9 fix ticket #6081
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30572 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 16:01:55 +00:00
Jean-Marc Lasgouttes
b05a94c3dd 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
2009-07-14 11:36:08 +00:00
Uwe Stöhr
86fab2cefa 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
2009-07-14 01:40:51 +00:00
Uwe Stöhr
14efd07a82 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
2009-07-14 01:38:15 +00:00
Uwe Stöhr
b015528fca 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
2009-07-13 23:25:47 +00:00
Jürgen Spitzmüller
e6f922009f * 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
2009-07-13 14:30:08 +00:00
Jürgen Spitzmüller
bbfc419c10 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
2009-07-13 06:46:52 +00:00
Uwe Stöhr
8c2d81bc34 MathMatrixUi.ui: proper naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30526 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 22:15:46 +00:00
Uwe Stöhr
802067ecdc 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
2009-07-12 21:39:21 +00:00
Uwe Stöhr
1da9addbed TabularUi.ui: add and correct a tooltip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30522 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 21:36:02 +00:00
Vincent van Ravesteijn
1bce8f15af 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
2009-07-12 20:42:14 +00:00
Jean-Marc Lasgouttes
0e5695f933 fix another warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30518 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:54:35 +00:00
Jean-Marc Lasgouttes
91d7e3b191 (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
2009-07-12 17:32:23 +00:00
Jean-Marc Lasgouttes
c355edfb6d revert r30515: too many files there
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30516 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 17:30:56 +00:00
Jean-Marc Lasgouttes
834bfe5e21 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
2009-07-12 17:28:46 +00:00
Jürgen Spitzmüller
52d9b45b0c 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
2009-07-12 15:44:26 +00:00
Enrico Forestieri
d2e8e53bb1 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
2009-07-12 10:52:28 +00:00
Jürgen Spitzmüller
1704c727de * GuiBranches.cpp: avoid message after cancel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30487 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 17:29:52 +00:00
Uwe Stöhr
c5f225ce63 TabularUi: follow our naming convention
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30483 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 14:43:30 +00:00
Uwe Stöhr
8a3a2baf6d - GuiTabular.cpp: longtables cannot have a vertical alignment
- InsetTabular.cpp: write the alignment as last features (to match the existing tex2lyx routines)
- InsetTabular.h: fix indexes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30482 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 14:33:05 +00:00
Uwe Stöhr
f90d0ca093 TabularUi.ui:
- correct spacing for the border tab
- move break line to group box in longtable tab

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30481 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 14:00:29 +00:00
Uwe Stöhr
424943af89 - support for longtable alignment, fileformat change
- GUI support for table alignment

(all comments to the polished layout of the table dialog welcome)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30477 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 13:09:45 +00:00
Uwe Stöhr
e48e791465 GuiTabular.cpp: revert r30422 as discussed o the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30472 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 11:10:38 +00:00
Jürgen Spitzmüller
cbce556e0b * GuiDocument.cpp:
- update colors before changing branches.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30471 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 10:53:29 +00:00
Jürgen Spitzmüller
201a22b96f * GuiDocument.cpp:
- clear changedBranches_ cache after branches were changed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30470 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 10:31:32 +00:00
Jürgen Spitzmüller
5c4758357f * GuiDocument.{cpp,h}:
- do not rename branches in the document unless the dialog was applied.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30466 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 09:37:28 +00:00
Jürgen Spitzmüller
eab8801afe * GuiBranches.cpp:
* GuiIndices.{cpp,h}: more UI polishment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30462 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 06:29:57 +00:00
Jürgen Spitzmüller
5166030174 * GuiBranches.{cpp,h}: UI polishment.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30461 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 06:12:27 +00:00
Jürgen Spitzmüller
4762b2168f revert unintended commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30460 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 05:38:27 +00:00
Jürgen Spitzmüller
5fdd2daa9c * Add ability to rename branches (bug 4128).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30442 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 06:49:51 +00:00
Edwin Leuven
70a24259f8 continue spellchecking after "replace all"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30438 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 20:03:00 +00:00
Jürgen Spitzmüller
0e6724622f * GuiLog.cpp: don't forget Package warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30432 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:17:40 +00:00
Jürgen Spitzmüller
34c4325570 LogUi.ui: string redundancy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30430 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:06:47 +00:00
Jürgen Spitzmüller
9172018008 LogUi.ui: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30428 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:01:23 +00:00
Uwe Stöhr
4b55ed8202 GuiTabular.cpp: fix #6057
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30422 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 11:17:14 +00:00
Jürgen Spitzmüller
341ac91738 *sigh*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30421 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 11:16:27 +00:00
Jürgen Spitzmüller
17986e7509 Ease the pain with unknown branches:
* on paste, ask if unknown branches shall be added to the branch list
	  (entails new LFUN_BRANCH_ADD)
	* add a list of undefined branches to the buffer and the GUI

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30419 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 09:48:34 +00:00
Vincent van Ravesteijn
93feef62b8 Fix bug #5998.
When one document has a split view, closing this document will close two splitters at a time.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30416 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-08 21:37:37 +00:00
Uwe Stöhr
a165cec754 GuiTabular.cpp: correct a comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30407 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 19:24:07 +00:00
Jürgen Spitzmüller
cf7a54d6ea * NomenclUi.ui: fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30402 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 12:24:23 +00:00
Uwe Stöhr
c5208a21ec NomenclUi.ui: fix #3936 also for the description field of the nomenclature dialog as reported in #6054
OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30401 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 12:06:15 +00:00
Jean-Marc Lasgouttes
73f9991eec Fix #6013: SIGABRT if we spell check inside a math macro, and then hit replace
This is just a matter of checking that we are in an insettext before calling 
replaceSelectionWithString. I guess there are other good ways to fix the crash.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30399 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 10:50:27 +00:00
Jürgen Spitzmüller
bca1c1b92b * PreambleUi.ui:
- fix bug #3936: Paste into preamble gives wrong font size.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30394 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:12:28 +00:00
Vincent van Ravesteijn
5b888f0bc9 Wrong casing...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30391 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 22:14:47 +00:00
Vincent van Ravesteijn
e02afb345a Fix bug #4509: Default focus of SearchUi should be "Find Next".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30390 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 22:11:05 +00:00
Jean-Marc Lasgouttes
5784b88f65 Patch from Ben M.: do not accept key events if we do not know what these keys
stand for.

This fixes bug #6043: Windows multimedia keys intercepted



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30389 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-06 16:14:20 +00:00