Commit Graph

15073 Commits

Author SHA1 Message Date
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
Vincent van Ravesteijn
85419bb6cb branch: Fix bug #5131: Remember last file active.
A bool is added to the entry of a last opened file in the Session file. This bool, indicates whether the file was the last one being edited.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29591 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 18:47:32 +00:00
Vincent van Ravesteijn
391a16e42f Close the tabs in reverse order, which is aesthetically better after r29530. Consequently, we have to open the files (read from the session file) also in reverse order.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29590 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 18:35:34 +00:00
Vincent van Ravesteijn
1233a0a00e Fix some outliner ui glitches:
- reduce flickering, 
- improved disabling and enabling of controls.

see also r29477.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29588 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 18:27:08 +00:00
Jürgen Spitzmüller
a7c3fa14fd * disable some invalid insets in description items (covers bug 5937).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29586 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-09 16:56:58 +00:00
Jürgen Spitzmüller
e2d2eae554 * also enable LFUN_BRANCH_INSERT if we have branches only in a child.
(no status entry needed. This is due to a new feature)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29570 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-08 12:40:23 +00:00
Enrico Forestieri
919f0537ff Fix bug 5705 by speeding up FileName operator== (Georg's solution).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29563 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-07 16:22:49 +00:00
Vincent van Ravesteijn
bcf361f389 branch: Fix bug #5001: Tab order not preserved when starting lyx.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29533 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 19:20:20 +00:00
Pavel Sanda
ee2bad7dc7 Backport r29527
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29529 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 08:01:09 +00:00
Enrico Forestieri
081b58b672 When performing a reverse DVI search and the tmpdir is a symlink, the
DVI viewer passes back the resolved path, such that the search fails,
as internally LyX uses the unresolved path.
This patch fixes this bug by using the new method FileName::realPath
which resolves a path by getting rid of any '.', '..', or symlink
path components.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29504 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 21:51:06 +00:00
Pavel Sanda
9d07a6ca61 * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29495 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 13:32:20 +00:00
Pavel Sanda
d308eb6906 Backport
http://www.lyx.org/trac/changeset/29491
http://www.lyx.org/trac/changeset/29492



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29494 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-02 13:21:56 +00:00
Pavel Sanda
7057ee58f8 Backport http://www.lyx.org/trac/changeset/29473
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29475 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 13:55:56 +00:00
Enrico Forestieri
22794313af Don't try to load a nonexisting file when executing server-goto-file-row
as this leads to a crash.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29427 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 22:35:53 +00:00
Pavel Sanda
29cc2c79f9 backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29425 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-27 11:56:31 +00:00
Pavel Sanda
9ddb40238c backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29406 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 08:44:40 +00:00
Jean-Marc Lasgouttes
f087798732 backport r29392
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29397 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-25 11:20:59 +00:00
Jürgen Spitzmüller
64d320c255 backport r29394:
Author: younes
Date: Fri Apr 24 23:04:51 2009
New Revision: 29394
URL: http://www.lyx.org/trac/changeset/29394

Log:
Simple fix for bug 4464
http://www.lyx.org/trac/ticket/4464

Thanks to Vincent for showing the way.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29396 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-25 09:48:16 +00:00
Jean-Marc Lasgouttes
2b677bdc06 fix bug #5912
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29388 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-23 13:50:00 +00:00
Uwe Stöhr
93b6399c77 InsetHyperlink.cpp: - fix #5908 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29380 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-22 21:32:21 +00:00
Jean-Marc Lasgouttes
e0fc18d2b0 backport r29346
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29359 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-20 12:50:44 +00:00
Vincent van Ravesteijn
e1df748c11 branch: Fix bug 5894: Inserting tabs with inline selections.
see r29245.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29330 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 14:18:19 +00:00
Vincent van Ravesteijn
9eabb73fa5 branch: Fix bug #5758: Crash when closing the dosbox from which LyX was started
The wmf_mime_ object was deleted both when deleting GuiApplication::Private as from 
QWindowsMimeList::~QWindowsMimeList().

see r29326.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29328 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 14:03:39 +00:00
Vincent van Ravesteijn
0dd017f0fc branch: Revert fix for bug #5435.
Revert r29002 and r29003. This fix introduced a regression. The new fix will be postponed to 1.6.4.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29327 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-19 14:00:59 +00:00
Uwe Stöhr
3cbf60249a BiblioInfo.cpp: make it compilable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29313 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 15:43:19 +00:00
Richard Heck
12fbbcc175 Backport r27635, r28193, r28194, r28220, r29094, and r29095. The point
of these, taken together, is to improve the display of information in 
InsetCitation and GuiCitation, by gathering missing data from the 
crossref, if one is defined, basically as BibTeX does.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29312 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-18 15:29:36 +00:00
Uwe Stöhr
aa6c45c1cc - support for \cfrac also for branch
- add missing mathmlize routine for \binom (we already support mathml for \tbinom and \dbinom)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29263 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-16 21:00:08 +00:00
Jean-Marc Lasgouttes
273832e21f fix a few compilation warnings with gcc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29242 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-14 10:37:49 +00:00
Vincent van Ravesteijn
7503ba017e branch: Enable dialogs that can apply for read-only documents.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29226 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-12 12:00:29 +00:00
Jürgen Spitzmüller
bb3e18b211 * InsetBranch.cpp:
- indicate branch status in the tooltip.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29198 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-11 07:17:41 +00:00
Richard Heck
ab34290690 Now, JMarc's check-cross branch patch for branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29194 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 21:59:03 +00:00
Richard Heck
d40a7651f2 Revert 29191. I didn't meant to commit all that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29193 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 21:57:25 +00:00
Richard Heck
896f580ed0 Backport JMarc's check-cross patch for branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29191 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-10 21:51:50 +00:00
Vincent van Ravesteijn
c0771e3c07 branch: Fix bug #4510: GuiInclude->Edit marks master as changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29151 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-08 16:01:59 +00:00
Enrico Forestieri
b59d7f44d6 Introduce a helper function and use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29145 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 17:41:25 +00:00
Pavel Sanda
5baae858a8 Backport http://www.lyx.org/trac/changeset/29140
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29142 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-07 12:04:24 +00:00
Enrico Forestieri
9761a302d6 Don't create nested text-in-math environments and don't wrap characters
marked as mathalpha in the unicodesymbols file.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29122 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-06 09:07:52 +00:00
Vincent van Ravesteijn
0b00107aaf branch: Fix bug #3038: wish for lfuns for zoom-in and zoom-out
see:
http://www.lyx.org/trac/changeset/29077
http://www.lyx.org/trac/changeset/29080
http://www.lyx.org/trac/changeset/29081

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29107 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-05 17:23:57 +00:00
Enrico Forestieri
e6632d97c8 Tweaks for Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29104 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-05 15:21:55 +00:00
Enrico Forestieri
c290f2d6c4 The \text macro does not require the full AMS package. Also load amstext
when a text-in-math environment is used, such that super and subscripts
are typeset in the correct size.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29103 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-05 13:56:08 +00:00
Enrico Forestieri
403e3a3f28 Unicode symbols entered or pasted in math are wrapped in \text{} by default.
Unwrapped symbols can be obtained either by dissolving the text inset or by
verbatim paste (Ctrl+Shift+V). In such a case, the symbols are wrapped in
\lyxmathsym when exporting to latex, as usual.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29102 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-05 13:46:37 +00:00
Richard Heck
132466f6f7 Backport fixes for 5787. Patches from Bo and Vincent.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29089 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 14:35:53 +00:00
Richard Heck
feee22e674 Backport fix for bug 5859.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29087 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 14:11:03 +00:00
Richard Heck
790376adbc Backport r28544, fixing 5751.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29086 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 14:06:08 +00:00
Pavel Sanda
81c8021ab1 Backport http://www.lyx.org/trac/changeset/29057
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg149683.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29079 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 09:49:57 +00:00
Vincent van Ravesteijn
16d1b8d701 branch: Fix bug 4733 and partly bug 4174
- Auto popup of math toolbar hides the math editor
  www.lyx.org/trac/ticket/4733
- Do not scroll to the cursor without a reason
  www.lyx.org/trac/ticket/4174

* GuiWorkArea?: This adds "buffer_view_->scrollToCursor();" to GuiWorkArea::resizeBufferView() to make sure that the cursor remains visible. 

* BufferView?: Make sure that we can call the scrollToCursor function without causing a new repaint.

* BufferView?: Make sure that we only scroll when the cursor was in the view (bug 4174: www.lyx.org/trac/ticket/4174).

see:
http://www.lyx.org/trac/changeset/28946
http://www.lyx.org/trac/changeset/29066

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29076 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-04 08:55:07 +00:00
Vincent van Ravesteijn
42c3b63c36 branch: Fix bug 4067: Incorrect indentation in Description environment
http://www.lyx.org/trac/ticket/4067


If we are in the first pos, we are never in the body and always in the label.

see:
http://www.lyx.org/trac/changeset/29033




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29064 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 19:56:30 +00:00
Richard Heck
c76b28d1a0 Backport r29017.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29049 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 11:46:44 +00:00
Jürgen Spitzmüller
ba26d715cd Buffer.cpp:
- re-assign a master's children if a child was reloaded (bug 5873)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29047 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 11:09:21 +00:00
Jürgen Spitzmüller
9ee1ec0b62 backport r28934.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29045 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-03 10:59:39 +00:00
Pavel Sanda
cfcec856ef Compilation fix
(Vincent have you tested r28754 works correctly in branch?)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29032 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 20:51:53 +00:00
Vincent van Ravesteijn
776e608bad branch: Fix bug 4673: Case-insensitive sorting of colors in GuiPrefs?.
see:
http://www.lyx.org/trac/changeset/27995




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29029 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 20:19:46 +00:00
Vincent van Ravesteijn
b10cf08974 branch: Remove black box around GuiWorkarea? which is visible with Qt4.5.
see:
http://www.lyx.org/trac/changeset/28747

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29028 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 20:15:36 +00:00
Vincent van Ravesteijn
dbeddbac57 branch: Improved UI for version control:
* the menu-item should also be enabled when the buffer is still unnamed (it will be saved anyway), and
* no buffer-reload after user cancel.

see:
http://www.lyx.org/trac/changeset/28028

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29027 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 20:13:26 +00:00
Vincent van Ravesteijn
4dd1fed397 branch: Fix disabling of submenus that are empty.
see:
http://www.lyx.org/trac/changeset/28027

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29026 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 20:08:25 +00:00
Vincent van Ravesteijn
4b76c8267f branch: Fix disabling of submenus that have only disabled items.
see:
http://www.lyx.org/trac/changeset/28026

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29025 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 20:07:08 +00:00
Vincent van Ravesteijn
2e0b91e170 branch: Fix bug 5526: screen-recenter LFUN doesn't work
http://bugzilla.lyx.org/show_bug.cgi?id=5526

see:
http://www.lyx.org/trac/changeset/28916

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29023 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 19:56:26 +00:00
Vincent van Ravesteijn
1f3ac11ea2 branch: Prevent assertion with command 'buffer-switch xxx' in which xxx is not the name of a loaded buffer.
see:
http://www.lyx.org/trac/changeset/28966


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29022 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 19:50:52 +00:00
Vincent van Ravesteijn
f1b242b62a branch: Fix a few peculiarities wrt graphics. E.g., an InsetGraphic? with a non-existing image showed the message that the image was loaded, instead of "No file found!".
* CacheItem::Impl::tryDisplayFormat


- Enhance description of the return value.
- Negate the return values to match the description.


* CacheItem::tryDisplayFormat


- Impl::tryDisplayFormat returns whether a conversion is needed, not whether the try was successful. Therefore, we should check the status as well.

see: http://www.lyx.org/trac/changeset/28754.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29021 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-02 19:41:00 +00:00
Vincent van Ravesteijn
264455562c branch: Preferences dialog fixes:
* accelerator clashes,
* missing accelerators, and
* strings (capitalization). 

see:
http://www.lyx.org/trac/changeset/28960

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29004 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-01 21:25:06 +00:00
Vincent van Ravesteijn
0f290b2783 branch: Fix bug 5435: DEPM doesn't function when leaving an inset
http://bugzilla.lyx.org/show_bug.cgi?id=5435
The code for this was already present, but was never reached.

see:
http://www.lyx.org/trac/changeset/28910

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29003 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-01 21:15:28 +00:00
Vincent van Ravesteijn
2bb22bd940 branch: Fix bug 5434: DEPM not executed for PgUp/PgDown?
http://bugzilla.lyx.org/show_bug.cgi?id=5434

see
http://www.lyx.org/trac/changeset/28909
http://www.lyx.org/trac/changeset/28927

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29001 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-01 21:05:15 +00:00
Vincent van Ravesteijn
7d78cc8d72 branch: Fix the bug that the view source window remained disabled forever when window got disabled while the autoUpdate checkbox was unchecked. Also, update the window when the autoUpdate checkbox was toggled.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@29000 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-01 20:49:46 +00:00
Pavel Sanda
d7cd83046b typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28997 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 21:57:58 +00:00
Pavel Sanda
36fa2dc1e7 Fix monolithic build.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28994 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 21:19:43 +00:00
Jürgen Spitzmüller
257b765df8 * ExternalUi.ui: layout fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28990 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 12:36:49 +00:00
Enrico Forestieri
4f2d5f39ee New simplified definition of \lyxmathsym and better re-import from latex.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28989 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-31 11:29:31 +00:00
Jürgen Spitzmüller
d4a2f681b8 Fix bug 5863:
* beamer.layout:
* powerdot.layout:
	- those provide geometry

* BufferParams.cpp:
* GuiDocument.cpp:
	- implement provides("geometry")

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28958 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 10:51:43 +00:00
Uwe Stöhr
3f1963ea40 LyXAction.cpp: fix documentation bug: add-vline-left/right is not allowed for the cases environments and we already correctly check this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28951 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-28 01:35:24 +00:00
Vincent van Ravesteijn
7e48a5cf5c branch: Fix bug 4441. GuiRef: Ok button must be default.
See also:
http://www.lyx.org/trac/changeset/28784
http://www.lyx.org/trac/changeset/28726
http://bugzilla.lyx.org/show_bug.cgi?id=5695


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28944 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 17:04:51 +00:00
Jürgen Spitzmüller
a26a9f6592 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28937 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 12:39:17 +00:00
Richard Heck
1cf1e65b63 Tooltips for InsetCitation (backported).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28935 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 12:17:25 +00:00
Jürgen Spitzmüller
b4a08eb307 Fix bug 5827 (validate date-insert argument):
* src/support/os*.{cpp,h}:
	- new function is_valid_strftime that validates strftime arguments, 
	  OS dependant (win32 differs here)

* src/Text3.cpp:
	- use is_valid_strftime in LFUN_DATE_INSERT status check.

* src/frontends/qt4/GuiPrefs.{cpp, h}:
	- new GUI validator for strftime.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28933 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 11:25:23 +00:00
Jürgen Spitzmüller
f3a89dad1a * PrefLanguage.ui:
* PrefPaths.ui:
	- fix some "buddies" (accelerators).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28929 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-27 10:14:59 +00:00
Richard Heck
f106307c47 Backport the fixes for bug 5872.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28923 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-26 17:39:11 +00:00
Jean-Marc Lasgouttes
be88703ad1 make the man pages autogenerated; update the tex2lyx man page
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28893 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-25 09:52:05 +00:00
Enrico Forestieri
82e5e90864 Fix a handful of dialog layouts for Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28885 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 22:27:23 +00:00
Jürgen Spitzmüller
41de4ebc11 * GuiView.cpp (closeEvent):
- store child documents in session.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28873 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 09:19:14 +00:00
Jürgen Spitzmüller
4fb5e44811 Backport rev. 28280:
Author: spitz
Date: Sun Jan 25 18:04:57 2009
New Revision: 28280

URL: http://www.lyx.org/trac/changeset/28280
Log:
* GuiApplication.cpp:
        - use the first command in sequence as icon name for command-alternatives.
* lib/ui/stdtoolbars.inc:
        - use command-alternatives for the alignment buttons in the tabular toolbar (bug 5709).
* lib/images/tabular-feature_align-*.png:
* lib/images/tabular-feature_valign-*.png:
        - rename to tabular-feature_m-[v]align-*.png:

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28872 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-20 09:08:22 +00:00
Enrico Forestieri
fb47d709ee Fix display of release date with Qt 4.2.
In Qt 4.2, QLocale::toString(QDate, ...) returns an invalid but not empty date
when QDate is invalid. So, check whether QDate is valid before conversion.
(status.16x is already updated)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28864 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-19 08:57:09 +00:00
Jean-Marc Lasgouttes
77a4103668 fix "make check" with gcc 4.3
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28861 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 23:09:29 +00:00
Jean-Marc Lasgouttes
f9a4e1cc95 backport the tex2lyx unicode stuff from trunk
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28858 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 22:40:08 +00:00
Jean-Marc Lasgouttes
6dec0f3e0d read correctly InsetFlex which name contains a space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28857 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 22:21:25 +00:00
Jean-Marc Lasgouttes
dd658e6f84 remove useless checkbox for some tabular-feature functions in math arrays
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28855 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 13:39:17 +00:00