Commit Graph

21902 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
a84aa658f6 * LyXFunc.cpp:
- make sure there are no pending key sequences when applying the prefs,
	  since the key bindings are changed and this will make the status bar
	  messages go crazy and crash (bug 6064).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30769 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-25 06:16:46 +00:00
Enrico Forestieri
63f72c39be This should have gone in r30766.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30768 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-25 01:09:31 +00:00
Enrico Forestieri
1344b11e45 Move bracket to the right place, as also suggested by the indentation...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30767 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-25 00:45:52 +00:00
Enrico Forestieri
49d4119736 Smash another case of missing language switch and also avoid redundant switches.
Essentially, non-default aligned paragraphs should be treated as nested ones.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30766 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-24 22:50:32 +00:00
Vincent van Ravesteijn
68ae319d7c Fix bug #5061. Patches from Dov (a long time ago).
see:
http://permalink.gmane.org/gmane.editors.lyx.devel/113506
http://permalink.gmane.org/gmane.editors.lyx.devel/113507

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30765 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-24 21:33:50 +00:00
Vincent van Ravesteijn
716143d3d4 Fix wrong lyx2lyx routines for r30756.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30764 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-24 20:48:49 +00:00
Jürgen Spitzmüller
3ec9ac5ff5 * TocWidget.cpp: disable sort option for TOC (bug 5983).
* TocModel.cpp: whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30760 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-24 13:58:02 +00:00
Jürgen Spitzmüller
a18d18fecb * paragraph_funcs.cpp: sanitize setLabelWidthStringToSequence. Patch by rgheck.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30759 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-24 07:43:04 +00:00
Vincent van Ravesteijn
94959709b9 Fix another gcc error for r30756.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30758 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-23 20:38:24 +00:00
Vincent van Ravesteijn
cbb0829728 Fix a gcc error and warning for r30756.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30757 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-23 20:34:16 +00:00
Vincent van Ravesteijn
966687d98b Fix bug #6058: Change tracking not usable in version control.
This patch makes sure that there are minimal changes when loading and saving a file with change tracking.

- the authors are assigned a buffer_id, such that when the file is saved, they get the same id,
- the authorlist is sorted according to the buffer_id,
- the buffer_id is written to the file in the author list (file format change)
- the ids start with 1, because 0 is internally reserved for the current Author,
- when writing the file, the current author is assigned an id if he didn't already have it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30756 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-23 20:08:05 +00:00
Richard Heck
e5dfb57a9f Improve debugging info slightly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30755 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-23 15:33:54 +00:00
Jürgen Spitzmüller
df0801cf65 * Text2.cpp (setParagraphs):
- issue setLabelWidthStringToSequence only once for a selected range of paragraphs
	  of the same layout and depth. This fixes an assertion reported here:
                      http://marc.info/?l=lyx-devel&m=124774758211589

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30752 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-23 06:14:11 +00:00
Vincent van Ravesteijn
da2c479003 * Text.cpp: simplification of code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30749 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-22 20:36:40 +00:00
Jürgen Spitzmüller
d2bba0b048 * lyx_2_0.py (latex_length):
- simplify.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30745 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-22 07:39:57 +00:00
Jürgen Spitzmüller
42218ca7b1 * lyx_2_0.py:
- further code simplifications.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30744 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-22 06:34:34 +00:00
Uwe Stöhr
f8f7080ec1 French Math.lyx: translations by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30743 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 22:10:02 +00:00
Vincent van Ravesteijn
690878bd4a Fix #6045: Possible to insert table floats to figure floats.
The lfuns, LFUN_FLOAT_INSERT and LFUN_WRAP_INSERT are now only enabled when they should be.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30740 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 20:04:52 +00:00
Jürgen Spitzmüller
8d898ad5b7 * lyx_2_0.py (revert_hspace_glue_lengths):
- proceed after non-glue hspace.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30739 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 17:48:03 +00:00
Jürgen Spitzmüller
9a594992d2 * lyx_2_0.py (revert_percent_hspace_lengths, revert_hspace_glue_lengths):
- further simplifications of the code.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30738 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 17:41:00 +00:00
Jürgen Spitzmüller
21c5e4633d * lyx_2_0.py (revert_percent_hspace_lengths, revert_hspace_glue_lengths):
- fix bug where a \hspace*{} was not reverted if it was followed by a \hspace{}.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30737 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 17:19:33 +00:00
Jürgen Spitzmüller
e59b0d2c28 * lyx_2_0.py:
- use predefined methods for getting length values.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30736 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 17:02:26 +00:00
Uwe Stöhr
6147d5f796 French EmbeddedObjects.lyx: translations by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30734 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 16:05:12 +00:00
Uwe Stöhr
e09862ec15 lyx_2_0.py: fix glue length reversion routine again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30733 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 15:51:36 +00:00
Uwe Stöhr
ed8b1fb1fd German Customization.lyx: updates by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30731 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 14:08:43 +00:00
Uwe Stöhr
34ab111257 lyx_2_0.py: re-add comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30729 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 13:19:51 +00:00
Uwe Stöhr
e65445a650 lyx_2_0.py: fix glue length reversion routine
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30728 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 13:14:02 +00:00
Uwe Stöhr
f00f149756 Spanish Math.lyx: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30726 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 12:47:11 +00:00
Uwe Stöhr
1016353a5e lyx_2_0.py: add comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30725 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 12:02:48 +00:00
Uwe Stöhr
0b33b9d090 allow to use glue lengths in the HSpace dialog; file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30724 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 11:51:43 +00:00
Jürgen Spitzmüller
64c067f2d1 add tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30723 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 09:38:25 +00:00
Jürgen Spitzmüller
9c33080428 move explanatory text to where it belongs (the tooltip).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30722 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 09:29:19 +00:00
Jürgen Spitzmüller
fe61360b24 * de.po: some translations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30721 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 09:23:01 +00:00
Jürgen Spitzmüller
8c97c2aded * po/*.po: remerge once more.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30720 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 08:47:38 +00:00
Jürgen Spitzmüller
d794aaf776 * Menus.cpp: casing fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30719 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 08:43:16 +00:00
Jürgen Spitzmüller
0550ab520c * po/*.po: remerge.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30718 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 08:35:34 +00:00
Jürgen Spitzmüller
14cbd1e5d2 * fr.po: update by Jean-Pierre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30717 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-21 08:27:37 +00:00
Richard Heck
35b4e73a11 Disable this assertion for now, and replace it with
some messages.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30715 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 18:21:26 +00:00
Uwe Stöhr
d0e5bcf22d German Math.lyx: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30712 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 11:28:53 +00:00
Uwe Stöhr
efd4f71fbd allow the usage of relative lengths in the HSpace and the VSpace dialog; file format change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30710 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 11:22:51 +00:00
Uwe Stöhr
57d6ceb90c German Math.lyx, EmbeddedObjects.lyx: spell checking
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30708 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 11:15:13 +00:00
Jürgen Spitzmüller
c1595f6dd5 * GuiDocument.cpp: "Length" -> "Custom" (the other choices are also lengths).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30707 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 08:14:21 +00:00
Jürgen Spitzmüller
fcc8201d2c Document Dialog: move the listings settings to its own pane.
This shrinks the dialog to a somewhat reasonable size.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30706 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 08:09:32 +00:00
Jürgen Spitzmüller
d3870c25bc * TextLayoutUi.ui:
- fix widget heights (right version this time).
	(maybe it's time to move the listings widget on its own pane?)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30705 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 07:20:29 +00:00
Jürgen Spitzmüller
a4b3e6dc60 * TextLayoutUi.ui:
- fix widget heights.
	(maybe it's time to move the listings widget on its own pane?)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30704 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 07:17:49 +00:00
Jürgen Spitzmüller
91c0f22e20 * GuiDocument: allow insertion of glue length in parskip widget.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30702 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 05:05:48 +00:00
Uwe Stöhr
31f824e447 GuiDocument.cpp: code simplification spotted by Jürgen
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30701 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 01:34:09 +00:00
Uwe Stöhr
f981863cde TextLayoutUi.ui: fix things spotted by Vincent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30700 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 01:26:14 +00:00
Uwe Stöhr
3860010433 EmbeddedObjects.lyx: spell checking by Hartmut and me
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30699 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 01:17:42 +00:00
Uwe Stöhr
da35be8a07 lyx_2_0.py: remove unnecessary initializations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30697 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-19 22:24:42 +00:00