15420 Commits

Author SHA1 Message Date
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