Commit Graph

15231 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
bd5d83a578 Fix bug 6179 ("|" in index entries not embraced in ERT by lyx2lyx).
* OutputParams.{cpp,h}:
	- new param inIndexEntry
* InsetIndex.cpp (latex):
	- set param.
* InsetErt.cpp (plainText):
	- output active chars in IndexInsets

* lib/lyx2lyx/lyx_1_6.py:
	- embrace "|" in ERT when converting old index entries to collapsables.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31361 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-10 12:10:18 +00:00
Vincent van Ravesteijn
869116e9d1 branch: Fix bug #6205: Fix a bunch of assertions.
The first thing that bformat does is to check whether the string contains "%1$s". Otherwise it asserts.

Why didn't we see this happen before ? This was revealed by the emergency saves that Richard introduced in the Buffer dtor.

see also r31062.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31344 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-08 11:57:07 +00:00
Vincent van Ravesteijn
4a337c89f1 branch: Fix bug #6112: Crash when searching for a string that is found in a table, while the cursor is in math (bug #6112).
see r31339.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31342 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-08 09:38:05 +00:00
Vincent van Ravesteijn
660c977512 branch: Fix bug #2969: Double labels appear on empty lines of multi-line equations.
This reverts part of r10553. There, an extra '//' was added when the last line was empty. However, this really makes an extra line and that is visible when the lines have a line number. The bug #2067 that would have been fixed by this does not seem to 'exist' anymore.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31333 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 14:42:29 +00:00
Pavel Sanda
68b323f62d Backport bugfix for #2045.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31328 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 11:44:49 +00:00
Vincent van Ravesteijn
95012dd5e7 branch: Fix bug #3997: RTL paragraphs are painted slightly too far to the left
In the computation of the row width, the last space on a row was included. However, this space is not drawn on screen and shouldn't contribute to the width. As a result all rows in a paragraph were painted slightly too far to the left, except the last on.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31327 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 11:40:00 +00:00
Vincent van Ravesteijn
dc908295ff branch: Fix bug #5796: Context menu of one inset asks status of another inset.
Store the position for the context menu on mouse press. This is also done in qt but then only on the widget level. 

This avoids that e.g. the edit menu will call getStatus() of math (which causes a crash actually).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31326 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 11:33:00 +00:00
Vincent van Ravesteijn
8d68226144 branch: Fix bug #6134: Reload context menu for graphics inset.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31325 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 11:18:52 +00:00
Vincent van Ravesteijn
90cbb1225f branch: Fix bug #6119: Keyboard map still shows up after deleting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31323 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 09:42:42 +00:00
Vincent van Ravesteijn
21a5043183 branch: Fix bug #6125: Float positioning dialog enables invalid options for subfloats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31321 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 09:14:57 +00:00
Jürgen Spitzmüller
4f3f4eed15 * GuiRef.cpp:
- use itemDoubleClicked() instead of itemActivated(). The latter is traditionally defined as single click
	  on UNIX, which is not desired here (bug 6204)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31320 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 09:06:18 +00:00
Vincent van Ravesteijn
0113ce8310 branch: Fix #6045: Possible to insert table floats into 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/branches/BRANCH_1_6_X@31318 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-07 08:40:40 +00:00
Pavel Sanda
0c0b77274a Backport bugfix for #2120.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31310 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-06 13:29:56 +00:00
Richard Heck
d7732ba4ee Better message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31276 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-04 13:34:02 +00:00
Jürgen Spitzmüller
5be07da6e5 backport r30112:
Author: spitz
	Date: Mon Jun 15 17:57:54 2009
	New Revision: 30112
	URL: http://www.lyx.org/trac/changeset/30112

	Log:
	* Paragraph.cpp:
      	  - do not embrace list items. According to the comment, 
        	    this was only done to escape brackets, but brackets
       	    are embraced anyway.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31271 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-04 11:21:25 +00:00
Jürgen Spitzmüller
f9834b6b20 Backport r30619:
Author: spitz
	Date: Thu Jul 16 08:19:25 2009
	New Revision: 30619
	URL: http://www.lyx.org/trac/changeset/30619

	Log:
	* 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/branches/BRANCH_1_6_X@31270 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-04 11:07:52 +00:00
Jürgen Spitzmüller
7c42ec6c89 * PrefSpellcheckerUI.ui: add tooltip (bug 6185).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31269 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-04 09:36:01 +00:00
Richard Heck
652ef4b78b Backport r31056 and 31057, to get a proper emergency save when dirty buffers
are destroyed.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31259 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-02 16:02:08 +00:00
Richard Heck
09f0e5bbb3 Revert r31117 to prepare for proper fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31258 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-02 15:41:53 +00:00
Richard Heck
2c80f1d9d1 Fix 1492 for branch, backporting 28856.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31256 a592a061-630c-0410-9148-cb99ea01b6c8
2009-09-02 13:55:59 +00:00
Jürgen Spitzmüller
d1fb78f27d * revert r30900.
This should re-enable the prefs and aboutlyx menu items on the Mac, but re-introduce bug 1720.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31244 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-31 07:37:56 +00:00
Vincent van Ravesteijn
70ab7f2585 branch: Fix bug #6162: Crash after close window with master/child.
A copy-paste error. GuiView::disconnectBuffer() was exactly the same as GuiView::disconnectBufferView().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31165 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-20 09:17:10 +00:00
Vincent van Ravesteijn
8671278ac0 branch: Fix a crash when closing LyX with a master and a child open (and the master is in the second tab).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31162 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 23:14:34 +00:00
Vincent van Ravesteijn
afa885378c branch: Fix bug #6158: Crash when entering math in tabular.
We have to determine whether we are in an empty cell before we dispatch the lfun to the inset. Otherwise we determine whether the math is empty and if so, we then go to the next cell in the math inset. This cell doesn't exist probably.

see r31121.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31139 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-19 10:45:23 +00:00
Richard Heck
c44061a21e Fix encoding problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31119 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 13:55:13 +00:00
Richard Heck
412cd14027 Emergency save of dirty Buffers when they are destroyed.
Better fix to be committed for 1.6.5.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31117 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 13:40:17 +00:00
Enrico Forestieri
a91c42b7db Fix the dataloss problem when shutting down Windows (part of bug #5525).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31114 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-18 11:49:00 +00:00
Vincent van Ravesteijn
b92e1c3a96 branch: Adjust the work-around for bug #5957.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31032 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-14 15:08:04 +00:00
Vincent van Ravesteijn
40aa853de5 branch: Disable assertion in branch
Just for safety. 

(Are they turned off in the Windows release version yet).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31009 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 14:27:55 +00:00
Vincent van Ravesteijn
7ddff39db7 branch: Fix bug #6126: Assertion with page down in Math manual.
If we correct the row where we put the cursor after a PgDn or PgUp command, then we should also adjust the y-coordinate that is used later for checkInsetHit and inset->editXY. 

However, this code doesn't function like it should, but that is bug #4382.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31008 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-13 14:25:01 +00:00
Jürgen Spitzmüller
e886b9feb3 * GuiView.cpp: disable symbols dialog in read-only mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30987 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 11:03:41 +00:00
Jürgen Spitzmüller
51d5de4ebe Fix bug 5946: Infinite loop when opening file with two files opened with the same name
This simply changes the appearance of the display path (in the tab header) in one detail: if the file suffix is not "lyx" (but "lyx15" etc.), the file is displayed with the extension. This fixes the problem (which is due to identical display paths), and it adds, IMHO, useful information to the GUI.

Patch reviewed by vfr.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30978 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-11 12:34:41 +00:00
Uwe Stöhr
bee4db9ae3 tex2lyx/preamble.cpp: this one should not have been reverted in r30964
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30973 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-10 23:31:54 +00:00
Uwe Stöhr
251e6ab0a6 tex2lyx/preamble.cpp: revert r30167 and r30449 as discussed in #605; I'll bring this topic now to the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30964 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-10 00:05:03 +00:00
Pavel Sanda
2b56aa6f2d Backport r30933
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30943 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-09 15:45:01 +00:00
Vincent van Ravesteijn
260d52f5a3 branch: Remove black box around GuiWorkarea? which is visible with Qt4.5.
see r29861.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30907 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 16:22:08 +00:00
Vincent van Ravesteijn
7fd27c3b81 Some improvements for the math context menu:
- hide "Number this line" for single line equations,
- set flag for LFUN_MATH_MUTATE.

see r29762 and r29764.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30906 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 15:56:00 +00:00
Vincent van Ravesteijn
75e66e9d4c branch: Fix a few enable/disable problems for longtables:
- set header, set first-header-empty, unset first-header-empty,
- set header, set first-header-empty, unset header

The same also for footers.

see r29716.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30905 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 15:29:36 +00:00
Vincent van Ravesteijn
6c7b0b67b3 branch: Add the emf and wmf graphics format as parameters to LFUN_PASTE.
see r29509.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30904 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 15:05:32 +00:00
Vincent van Ravesteijn
c981573a4c branch: Fix bug #4464: Missing autoscroll when selecting by mouse
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30901 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 13:47:59 +00:00
Jean-Marc Lasgouttes
750d6b6a52 backport r30557 (bug #1720)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30900 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 13:38:27 +00:00
Vincent van Ravesteijn
39ba733bc1 branch: Work-around for bug #6034: Applying preferences confuses window about its size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30899 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 13:25:48 +00:00
Jean-Marc Lasgouttes
0f655bc3eb backport r30389 (bug #6043)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30898 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 13:20:48 +00:00
Richard Heck
5ba684315e Work around bug 5702 a bit: Make tex2lyx treat the DefaultModule tag as
an Input tag.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30896 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 12:19:59 +00:00
Jürgen Spitzmüller
c35cfda727 Catch encoding exception when performing instant preview on an uncodable char (bug 6116).
* MathStream{.cpp, h}:
	- replace bool dryrun() by enum output that also knows whether the stream is for instant preview
* InsetMathHull.cpp:
	- tell the stream whether we use it for instant preview.
* MathString.cpp (write):
	- gracefully catch encoding exception for instant preview.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30894 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-07 05:24:57 +00:00
Enrico Forestieri
46a0021242 White space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30858 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-04 10:38:12 +00:00
Enrico Forestieri
51a3759899 Properly restore the file encoding after a LaTeX environment with local scope.
Fixes bug #5690: Hebrew file cannot be exported to dvi or pdf.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30849 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-03 18:40:48 +00:00
Enrico Forestieri
6674de3959 Avoid deferencing a null pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30806 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-30 03:24:00 +00:00
Enrico Forestieri
700dd75d5e Better fix for bug #5096: Language switch fails in environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30804 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-30 01:13:11 +00:00
Vincent van Ravesteijn
26d14890d6 Work-around for bug #5957.
see r30794.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30796 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-27 07:32:08 +00:00
Pavel Sanda
e8bd4f14a4 Fix monolithic builds
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30793 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-26 13:32:32 +00:00
Pavel Sanda
71b60a20b5 Fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30792 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-26 13:28:30 +00:00
Pavel Sanda
87c8b9cb42 Backport r30787
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30791 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-26 12:17:54 +00:00
Pavel Sanda
b2c73ae2bd Backport r30779
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30781 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-26 07:57:25 +00:00
Vincent van Ravesteijn
ea16d18b54 branch: Fix bug #4473: Incorrect LaTeX output for inter-word spaces.
This is a hack necessary because \\textcolor is a bit buggy.

see r30773.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30774 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-25 10:55:35 +00:00
Jürgen Spitzmüller
64a7513231 * Text.cpp (dissolveInset):
- perform updateLabels also after dissolving an empty inset (bug 6003).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30772 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-25 08:24:21 +00:00
Jürgen Spitzmüller
407c5742c0 * 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/branches/BRANCH_1_6_X@30770 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-25 06:20:31 +00:00
Vincent van Ravesteijn
06bb52c1af branch: Fix bug #5998: Crash when closing a LyX window with split views.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30762 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-24 20:23:17 +00:00
Jürgen Spitzmüller
5d2a712467 * TocWidget.cpp: disable sort option for TOC (bug 5983).
* TocModel.cpp: whitespace

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30761 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-24 14:03:22 +00:00
Richard Heck
975cbd3266 Bug 5522 for branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30754 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-23 14:22:34 +00:00
Jürgen Spitzmüller
e98ca2362e * Validator.{cpp, h}:
- add usignedGlueLengthValidator

* GuiVSpace.cpp:
* GuiDocument.cpp:
	- re-allow the insertion of glue lengths (regression of the qt4 frontend)
	  (bug 6097)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30703 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-20 05:32:03 +00:00
Vincent van Ravesteijn
2d257de986 branch: Fix bug #4177: Lyx fails to open files with a $ character in their name.
see r29587.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30662 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-18 09:19:04 +00:00
Vincent van Ravesteijn
0c259d8b23 Squeeze warning due to unrecognized escape sequence.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30651 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 18:32:29 +00:00
Vincent van Ravesteijn
af3fe8ab88 Fix bug #6070: Width unit cannot be set in tabular dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30650 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 18:28:00 +00:00
Jürgen Spitzmüller
79015cd542 * GuiApplication:
- typo and capitalization.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30646 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 15:40:23 +00:00
Richard Heck
fa5764df3d Fix bug 6076 for branch. And even include status.16x.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30643 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-17 14:01:21 +00:00
Enrico Forestieri
399324baec Fix bug #5096: Language switch fails in environments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30628 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 13:02:50 +00:00
Vincent van Ravesteijn
1fda2e4577 branch: Fix the enabling of the custom page size field in GuiDocument.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30626 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-16 12:35:31 +00:00
Vincent van Ravesteijn
d0d41147a7 branch: Fix bug #2213: GuiChanges? lacks "Previous Change" button.
see r29108, r29109, r29110, r29111, and r29115.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30597 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-15 10:08:56 +00:00
Pavel Sanda
9e6e4ebdd5 Backport r30581.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30596 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-15 07:31:22 +00:00
Pavel Sanda
ff23147186 Backport r30587
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30588 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 19:47:43 +00:00
Jean-Marc Lasgouttes
52bdc0abdd fix bug 6081
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30577 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 16:33:10 +00:00
Jean-Marc Lasgouttes
708a139d77 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30576 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 16:31:06 +00:00
Pavel Sanda
108586552a backport r30567
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30575 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 16:30:52 +00:00
Vincent van Ravesteijn
6f1642fe3e branch: Fix bug #5948: Copy as reference for equation labels.
see r29678.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30571 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-14 16:01:10 +00:00
Vincent van Ravesteijn
12cb76773d branch: Fix bug #5944: Scrolling isn't predictable.
The row in editXY is corrected when we're scrolling with PgUp and PgDn to make sure that the row where the cursor is places, is completely in the view.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30552 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 21:49:07 +00:00
Pavel Sanda
a277b8bd21 Backport r30536
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30538 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-13 10:48:48 +00:00
Vincent van Ravesteijn
e1bdd1b4ad branch: Fix bug #5435: DEPM is not executed when leaving an inset.
see r29585 and r29248.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30514 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 16:48:02 +00:00
Vincent van Ravesteijn
25aa3d4022 branch: Fix bug #5458: File reopens at LyX-start even though it was closed in previous session.
see r29596.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30513 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 16:01:38 +00:00
Enrico Forestieri
51521e44ab Honour preferences about automatic popup and inline completion when
pressing Ctrl-L in math mode.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30512 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 15:53:43 +00:00
Vincent van Ravesteijn
75dabc75f9 branch: Fix bug #5390. Copy from a deleted section with change tracking.
Do not accept the changes in the selection, if it is completely deleted.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30509 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 15:14:51 +00:00
Enrico Forestieri
5b103485d5 Fix bug #6063: Keylogger lyx::lyxbreaker: Crash in Math.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30508 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 15:10:14 +00:00
Jürgen Spitzmüller
c608834725 * correct bug reference.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30502 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 13:46:32 +00:00
Jürgen Spitzmüller
d78bc34d3b * InsetTabular.cpp: fix bug 6057: longtable captions must always be in a first header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30501 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 13:43:30 +00:00
Vincent van Ravesteijn
4813d3ae41 branch: Fix bug #4952: Multiple cells pasting fails if cells are selected.
When the clipboard contains a tabular selection, dirty_tabular_stack_ is true. However, it is set to false when the user clears a selection (without copying). After this (mostly accidental) action, pasting the tabular contents goes wrong.

So, we only clear the dirty_tabular_stack_ flag when a 'real' copy to clipboard has been made.

see r29717, r29718, r29719



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30499 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 13:31:05 +00:00
Vincent van Ravesteijn
e49fed46fc branch: Fix bug #3918: "Toggle Outline" button does not toggle back when clicking 'x' button.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30498 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-12 13:22:40 +00:00
Vincent van Ravesteijn
059d5ee830 branch: Fix bug #2034: Inconsistent behavior of cursor inside mathed.
When closing the macromode, do the same trick as in lines 835--838.

see r29686

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30492 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 17:57:25 +00:00
Vincent van Ravesteijn
4abaf35bad branch: Fix bug #3706: Mathed builtin/macro expansion not performed when clicking away.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30491 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-11 17:53:26 +00:00
Enrico Forestieri
955716dfa5 Fix bug #5923: Math macro expansion not performed when modifying the macro identifier
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30450 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 14:48:16 +00:00
Uwe Stöhr
f1b3896cd0 tex2lyx/preamble.cpp: backport r30448 - (I simply forgot these 3 commands in r30167)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30449 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-10 13:05:13 +00:00
Enrico Forestieri
a8b29819e9 Fix bugs #6047, #4043, and #5394.
6047: Lyx 1.6.3 unable to typeset the third chemical equation of the
      file mhchem.lyx (package mhchem)
4043: mhchem support
5394: support for the mhchems's \ce command
The \ce and \cf insets are text mode environments that allow entering
spaces and mathmode commands. LyX leaves them alone and doesn't try to
be smart, i.e., the behaviour is exactly the same we had in the old days
with text-in-math mode environments, before the introduction of the
\ensuremath and \lyxmathsym macros. This means that in those environments
one has to know what he is doing, as LyX will not offer any protection.
The hack of enclosing \ce and \cf in a \text{} environment in order to
be able to enter spaces is no longer necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30439 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 20:51:21 +00:00
Jürgen Spitzmüller
06caaf0528 * GuiLog.cpp: don't forget Package warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30433 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:20:03 +00:00
Jürgen Spitzmüller
315db2d1dc LogUi.ui: string redundancy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30429 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:06:20 +00:00
Jürgen Spitzmüller
7ba4a87bae LogUi.ui: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30427 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 16:00:24 +00:00
Jürgen Spitzmüller
28988d22bc * GuiLog.{cpp,h}:
* LogUi.ui:
	- add some basic navigation facilities.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30426 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 15:54:13 +00:00
Jürgen Spitzmüller
cfeab7476f * InsetBranch.cpp:
- fix display of "child only" suffix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30424 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-09 11:49:16 +00:00
Jean-Marc Lasgouttes
c88dd9924e Backport r30399 in order to fix #6013 (I am not sure how to be more cryptic yet still useful)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30413 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-08 11:03:41 +00:00
Jürgen Spitzmüller
a05115102e * NomenclUi.ui: set acceptRichText to false.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30403 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 12:27:51 +00:00
Jürgen Spitzmüller
c6c0c87eba * PreambleUi.ui:
- fix bug #3936: Paste into preamble gives wrong font size.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30397 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-07 08:17:18 +00:00
Enrico Forestieri
09eb90bd3e Fix bug #6041: "tabular-feature align-" in a math-matrix.
Also fix display of centered vertical alignment status and smash
unnecessary debug output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30374 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-05 14:01:53 +00:00