Commit Graph

15256 Commits

Author SHA1 Message Date
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
Jürgen Spitzmüller
4ff130f073 * PrefLanguageUi.ui: correct tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30330 a592a061-630c-0410-9148-cb99ea01b6c8
2009-07-01 08:26:28 +00:00
Jürgen Spitzmüller
b78412f8a8 * GuiApplication.cpp (readUiFiles):
- only reset settings if a file with Toolbars has changed. This should significantly decrease
	  the number of circumstances where the settings are lost unnecessarily.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30324 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-30 13:12:28 +00:00
Jean-Marc Lasgouttes
e079ef7d69 fix setonoff for inset-modify on InsetInclude
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30308 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 13:33:47 +00:00
Jean-Marc Lasgouttes
3e6401ac2b Fix assertion when selection with Shift-button in math editor (bug #6026)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30307 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 13:03:04 +00:00
Jean-Marc Lasgouttes
a2e081eb84 Fix context menu for insets inside a branch inset (bug 6022)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30306 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 12:58:08 +00:00
Jürgen Spitzmüller
235d85d6f2 * do not change name of QSettings config file on LyX version change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30302 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-29 08:45:03 +00:00
Pavel Sanda
b6801bccae Backport r30284
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30285 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-28 11:15:20 +00:00
Pavel Sanda
4eb10e4681 Backport gui for svn locking property
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30271 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-26 14:54:37 +00:00
Enrico Forestieri
ac9587e6e1 Fix bug #6033: Initial character sometimes eaten by math-insert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30250 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-24 08:29:50 +00:00
Jean-Marc Lasgouttes
80f0206b86 backport r30242 (bug 2566)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30243 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 13:29:41 +00:00
Pavel Sanda
130b71ce0d Backport typo & shadowing spotted by Abdel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30238 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-23 08:09:59 +00:00
Enrico Forestieri
9d46e0b6e5 Fix bug #6020: Reverse DVI/PDF search fails with child documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30216 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 06:18:12 +00:00
Enrico Forestieri
56b70e512b Fix bug #6030: LyX does not take into account BOM.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30215 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-22 06:15:20 +00:00
Jürgen Spitzmüller
001b2b1624 * LaTeX.cpp (deplog):
- fix regex so that rexeg_search finds more than one match in a line.
	  This fixes a bug where files which were output in the log file in a 
	  line which already listed another file were not dependency tracked.
	  I.e., cases such as
	  (./child1.tex) (./child2.tex)
	  (bug 6024).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30200 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-20 13:03:19 +00:00
Uwe Stöhr
ef2633816f branch: tex2lyx/preamble.cpp: support for fileformat 264 (nothing to do for tex2lyx)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30176 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 00:45:41 +00:00
Uwe Stöhr
74fc41c076 branch: tex2lyx/preamble.cpp: support for fileformat 263: support for the document languages Brazilian and Portuguese
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30175 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 00:44:43 +00:00
Uwe Stöhr
0959e3df5f branch: tex2lyx/preamble.cpp: support for fileformat 262 (nothing to do for tex2lyx)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30174 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 00:39:19 +00:00
Uwe Stöhr
c8554cfdeb branch: tex2lyx/preamble.cpp:
- remove unneeded comment (sorry for all these small bits)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30170 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-19 00:03:31 +00:00
Uwe Stöhr
a111cf6310 branch: tex2lyx/preamble.cpp:
- support for fileformat 258 (nothing to do for tex2lyx)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30168 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 23:57:43 +00:00
Uwe Stöhr
4ef3356020 branch: tex2lyx/preamble.cpp:
- don't assume any longer LyX specific commands from their position in TeX files and a comment (fixes bugs in the preamble handling and makes the tex2lyx testfiles compilable after importing)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30167 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 23:55:49 +00:00
Jean-Marc Lasgouttes
877808064d Backport http://www.lyx.org/trac/changeset/28814
New commands inset-begin/end (bound to Ctrl-Alt-Home/End) allow to jump 
  to begin/end of insets (and outside of the inset if the cursor is already 
  in place). There are also versions that select text.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30160 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 15:47:01 +00:00
Jürgen Spitzmüller
b498fa1b05 * Paragraph.cpp:
- we do not output alignment begin for the default alignment,
	  so we must not output the end tag (bug 5995)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30152 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-18 06:52:59 +00:00
Pavel Sanda
e0c5df56a6 backport r30144
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30149 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-17 22:07:32 +00:00
Enrico Forestieri
943eb2a6f1 Reintroduce workaround for dealing with nested math hulls, as it is
not guaranteed that LyX is always able to replace $...$ constructs
with \ensuremath{...}.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30147 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-17 17:36:41 +00:00
Uwe Stöhr
d904fb9cb1 branch: tex2lyx: support for fileformat 257 (caption format)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30126 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:21:45 +00:00
Uwe Stöhr
26f483affa branch: tex2lyx: forgot this in r30114
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30120 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:19:25 +00:00
Uwe Stöhr
9ab9f1c747 branch: tex2lyx/preamble.cpp: support for fileformat 256 tex2lyx/preamble.cpp: support for fileformat 256:
- the code for \clear***page was already there
- tex2lyx allows already to use any input encoding


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30119 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:15:15 +00:00
Uwe Stöhr
8cff18e1c1 branch: tex2lyx/preamble.cpp:
- support for fileformat 254 (esint)
- using amsmath and esint automatically is safer than not to use them. The automatic usage is also our default when you create a new LyX file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30118 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:11:39 +00:00
Uwe Stöhr
8c512db1a9 branch: tex2lyx: support for fileformat 253 (nomenclature)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30117 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:08:35 +00:00
Uwe Stöhr
14c40d8d16 branch: tex2lyx/preamble.cpp: textcomp is supported sine we can handle Unicode
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30116 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:07:45 +00:00
Uwe Stöhr
3134d0881c branch: tex2lyx/preamble.cpp: revert stuff to have a clean commit timeline
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30115 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:06:30 +00:00
Uwe Stöhr
353f3f8cdd branch: tex2lyx/text.cpp: support for fileformat 252
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30114 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 20:00:48 +00:00
Uwe Stöhr
2cd66e4536 branch: tex2lyx/preamble.cpp: improve whitespace handling in the preamble
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30113 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 19:53:37 +00:00
Pavel Sanda
373f3d8f7d Backport fix for bug #6000
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30110 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 15:55:53 +00:00
Jean-Marc Lasgouttes
44f0cd4dca backport http://www.lyx.org/trac/changeset/30107
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30108 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-15 12:18:18 +00:00
Jürgen Spitzmüller
23345956ef * BiblioInfo.cpp:
- convert author/editor to proper unicode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30073 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 14:34:44 +00:00
Enrico Forestieri
a676d02970 Fix display of BibTeX entries in the info field of the citation
dialog by only converting text mode latex macros to unicode points.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30071 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 14:22:51 +00:00
Uwe Stöhr
8673417a51 tex2lyx/preamble.cpp:
- support for url, varioref, prettyref
- reduce the sometimes huge amount of whitespace in the preamble after importing files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30068 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 11:58:41 +00:00
Uwe Stöhr
2040fc69df GuiCitation.cpp: fix #5987 also for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30066 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-12 11:34:32 +00:00
Jean-Marc Lasgouttes
3c6e023f62 Show binding associated to the lfun in the tooltip of a toolbar icon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30040 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-10 14:03:55 +00:00
Enrico Forestieri
8d21593429 The QFileInfo::refresh() bug is fixed in Qt 4.5.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30038 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-10 11:34:28 +00:00
Pavel Sanda
f89bd3fe91 Backport fix for 5980.
Patch from Vincent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30025 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-09 06:53:51 +00:00
Jürgen Spitzmüller
b7304601e0 backport revision 29238
URL: http://www.lyx.org/trac/changeset/29238

Log:
* Properly separate the specific Japanese (i.e., pLaTeX) auxiliary programs (jbibtex, mendex)
   from the standard LaTeX programs.
  These programs are only used now if the document actually uses Japanese, not always if they are found.
  (bug 5601 a.o.).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30020 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-08 16:04:11 +00:00
Jürgen Spitzmüller
8262926d58 * ToggleWarningUi.ui:
- attempt to fix the layout.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@30018 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-08 13:24:19 +00:00
Jürgen Spitzmüller
ef31f02ca5 backport rev. 29324:
Timestamp: 
04/19/09 13:57:52
Author: 
spitz 
Message: 
Implement a warning dialog with a "Do not show this warning again!" checkbox.
Since Qt does not provide this, we have to roll our own dialog.
Hidden warnings are stored in sessions.

The dialog is currently only used in the case where an included file
has a different textclass then the master (bug 3218).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29941 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-05 05:06:17 +00:00
Enrico Forestieri
dc3abde38e Take into account file system case sensitivity when checking whether
a path starts with a given prefix.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29940 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-04 18:56:22 +00:00
Richard Heck
255b1e9d91 Word-wrapping for footnotes. Backports some earlier commits to trunk.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29920 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-04 13:04:51 +00:00
Enrico Forestieri
0c30476127 This is a bit more descriptive.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29865 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-27 10:27:04 +00:00
Enrico Forestieri
27b0a1e35a Don try to be smart and always protect the preamble with \makeatletter
and \makeatother if it is not empty.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29854 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-26 18:07:27 +00:00
Uwe Stöhr
10ce509814 InsetMathFrac.cpp: fix the regression now completely
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29850 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 22:48:59 +00:00
Uwe Stöhr
c517d8c16d InsetMathFrac.cpp: fix regression reported here: http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg151588.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29848 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-25 22:42:53 +00:00
Enrico Forestieri
3f5f4266a3 Fix reverse search when the View Source window is active.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29835 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-24 09:03:03 +00:00
Pavel Sanda
312f2f9bc5 Backport #5307.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29792 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-22 21:43:27 +00:00
Vincent van Ravesteijn
db96572421 branch: Fix bug #5540: Crash in MathAtom on Undo.
No undo steps are recorded for math-macros. Now, it is also not done when we resume to edit a macro.

see r29685.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29765 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-21 13:52:33 +00:00
Pavel Sanda
47c83e2fec Backport few glitches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29749 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 18:39:39 +00:00
Enrico Forestieri
533273ed5d Fix bug #1435. Now Ctrl-m enters math mode when in text-in-math mode,
instead of producing nested text boxes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29748 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-20 15:35:49 +00:00
Enrico Forestieri
5c692aeef2 Another compile fix for msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29742 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 20:30:43 +00:00
Jürgen Spitzmüller
091d4e58e3 * potential compile fix for msvc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29740 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 20:00:27 +00:00
Jürgen Spitzmüller
f720a43314 * calculate the size of the iconv output buffer (bug 5951).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29736 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-19 15:28:27 +00:00
Jürgen Spitzmüller
647e492ac9 * InsetTabular.cpp (getStatus):
- allow again to set allocate multiple header attributes to a row,
	  since this is valid (fix bug 5950).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29722 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-18 06:25:43 +00:00
Jürgen Spitzmüller
a0cf405633 formatting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29707 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 09:27:21 +00:00
Jürgen Spitzmüller
c726acdfc4 only whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29706 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-17 09:03:57 +00:00
Jürgen Spitzmüller
9cd46c3d32 * InsetCollapsable.cpp (doDispatch):
- reset paragraph fonts also after LFUN_SELECTION_PASTE.
          This assures lang is set to latex in ERTs.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29691 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-16 15:43:06 +00:00
Vincent van Ravesteijn
7859191dd7 branch: Partial fix for bug #5465. This will enable scrolling down past a very large inset. With this code, LyX will scroll up everytime you try to scroll past the inset, because the cursor is set on the uppermost row.
see:
http://thread.gmane.org/gmane.editors.lyx.devel/118449


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29684 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-15 21:27:28 +00:00
Vincent van Ravesteijn
976347a2f3 Fix the assert on Windows when starting LyX by double-clicking on a file. Do the same also for FileName::set.
see r29646--r29648.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29671 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 18:01:10 +00:00
Vincent van Ravesteijn
a96090060d branch: Fix bug #5888.
See r29665 and http://thread.gmane.org/gmane.editors.lyx.devel/116562.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29670 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-14 17:56:36 +00:00
Jean-Marc Lasgouttes
c3cb9d0122 backport fix for tex2lyx bug http://www.lyx.org/trac/ticket/5935
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29653 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-13 09:56:02 +00:00
Vincent van Ravesteijn
35229a994e branch: Prevent assertions due to non-absolute filename as a parameter of buffer-switch or file-insert-plaintext.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29644 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-12 18:42:56 +00:00
Enrico Forestieri
4d613ca34c Don't create nested math hulls (fixes bug #5392) and remove workaround
needed to deal with such nesting.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29610 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-10 14:32:00 +00:00
Enrico Forestieri
8baf858a80 Fix bug in FileName::dirList(). If the directory had been specified without a
trailing slash, the listing of the parent directory would have been returned.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29609 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-10 14:17:57 +00:00
Vincent van Ravesteijn
a2316bd480 branch: Fix part 2 of bug #5758: Crash when closing the dosbox from which LyX was started.
A problem occurs when we write the ConverterCache index file. This action is instantiated in the destructor of the 'static ConverterCache' object. The use of QFileInfo at that point leads to a crash.

It is maybe not a good idea at all to put part of the functionality in a destructor, especially not when we do not delete the object ourselves and when this functionality uses external libraries etc.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29608 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-10 11:07:03 +00:00
Vincent van Ravesteijn
a6b4e213b6 branch: Fix bug #5930: Crash when undoing info-insert in math mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29607 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-10 11:01:54 +00:00
Vincent van Ravesteijn
f4845784d5 branch: Fix bug #5890: Assertion when reducing the view size.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29606 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-10 10:55:17 +00:00
Vincent van Ravesteijn
8ab43f3d6d branch: Fix bug #5879: Move the autosave file of a buffer when the filename changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29593 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 19:13:21 +00:00
Vincent van Ravesteijn
6d9490470c branch: Autosave files of still unnamed documents (newfiles) are now saved in the backup dir, default document dir, or else in the temp dir.
see r29065, r29071, r29073, and r29508.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29592 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 19:08:59 +00:00