Commit Graph

15231 Commits

Author SHA1 Message Date
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
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
Jean-Marc Lasgouttes
9aa0e78047 do not compare char* strings directly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28852 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 13:14:49 +00:00
Enrico Forestieri
c23a63478a Fixes for gcc4 on cygwin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28848 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-18 11:52:26 +00:00
Vincent van Ravesteijn
f72455413f branch: move ColorSet to a header of its own to reduce #include dependencies. Patch by Andre.
see:
http://www.lyx.org/trac/changeset/28426.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28841 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 13:23:54 +00:00
Jürgen Spitzmüller
73709670e1 * VCBackend.cpp:
- some spelling and grammar fixes (a native EN speaker will have to double-check).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28838 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 11:07:17 +00:00
Vincent van Ravesteijn
1d8b2b595f branch: Disable the Edit->Math menu when not in math (bug 4218).
Introduce new LFUN_MATH_FONT_STYLE which takes one of the font styles as an argument. A dispatch is being redirected to math-insert.

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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28836 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 10:51:39 +00:00
Jürgen Spitzmüller
8d238def28 * InsetMathCases.cpp:
- fix string.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28834 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 10:46:21 +00:00
Vincent van Ravesteijn
b79355e6a3 branch: Allow users to specify toolbar icons for commands with a backslash. This is in the same style as the replacements made for math-insert commands.
See the user's list:
http://thread.gmane.org/gmane.editors.lyx.general/52712


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28833 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 10:23:06 +00:00
Jürgen Spitzmüller
3229618c20 * Fix encoding problem following a Listing (bug 5783).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28831 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 09:26:37 +00:00
Jürgen Spitzmüller
67af233115 * LaTeX.cpp:
- perform extra LaTeX run when requested by lettre.cls (bug 5818).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28829 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 05:11:24 +00:00
Uwe Stöhr
7b12d8bbb6 - InsetMathCases.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=4141 for branch
- status.16x: some updates and whitespace fixes

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28827 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-17 00:38:23 +00:00
Richard Heck
36e72cd094 Fix bug 5782 in branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28824 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 20:19:51 +00:00
Pavel Sanda
42de81d76f * doxy
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28822 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 19:50:50 +00:00
Richard Heck
a84580306e Backport r28340.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28820 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 19:31:12 +00:00
Pavel Sanda
f6ad811535 Backport jump-back button
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147979.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28819 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 19:14:38 +00:00
Pavel Sanda
d735335c88 Backport r28752
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28818 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 18:44:51 +00:00
Pavel Sanda
e211a71471 Backport svn locking
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg147723.html



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28817 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-16 18:30:53 +00:00
Richard Heck
a540263da9 Backport r28366-7, approved a long time ago and since held.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28809 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 21:26:14 +00:00
Richard Heck
5b185f8683 Squash a warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28808 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 21:25:35 +00:00
Vincent van Ravesteijn
21d90e18d1 branch: Fix bug 5819: Close button of tabbar closes wrong document
http://bugzilla.lyx.org/show_bug.cgi?id=5819.

If no call to setCurrentIndex is made, we should make sure ourselves that the currentWorkArea switches to the clicked TabWorkArea.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28806 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 17:26:48 +00:00
Vincent van Ravesteijn
a5381101e3 branch: Fix bug 5848: Do not create a new file after 'new from template..' and cancel.
see:
http://www.lyx.org/trac/changeset/28029


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28805 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 17:15:57 +00:00
Vincent van Ravesteijn
d8c3c6519d branch: Fix bug 5695: Default button must be "OK"
http://bugzilla.lyx.org/show_bug.cgi?id=5695

Fix for GuiHyperlink and GuiInclude.

see:
http://www.lyx.org/trac/changeset/28726
http://www.lyx.org/trac/changeset/28784

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28804 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 17:05:11 +00:00
Uwe Stöhr
5c9e3284e9 preamble.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5846 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28801 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 16:44:07 +00:00
Jürgen Spitzmüller
5e387ecdb5 please Lars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28798 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 15:50:40 +00:00
Enrico Forestieri
64aa11b124 Fix bug 5802 (http://bugzilla.lyx.org/show_bug.cgi?id=5802)
Japanese char between math insets becomes wrong in TeX output


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28797 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 14:08:09 +00:00
Vincent van Ravesteijn
0f93daf6a3 branch: UI Command Buffer improvements.
* the history is stored in the session file and restored in the next LyX session,
* the lists now disappear when the mouse is released in stead of pressed,
* correct enabling/disabling of the up/down button,
* hide the lists when clicked outside the list. Now using the function event() and check for a mouseButtonPressEvent instead of using mouseReleaseEvent(). The latter is only called when the mouse button is released inside the widget, but we want to use this event to detect a mouseclick outside the list.

see:
http://www.lyx.org/trac/changeset/28250
http://www.lyx.org/trac/changeset/28794

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28796 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 13:31:37 +00:00
Jürgen Spitzmüller
838b3e9193 * GuiDelimiter.cpp:
- do not auto-apply if "match" is not chosen (bug 5789).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28793 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-15 13:16:10 +00:00
Vincent van Ravesteijn
a58e160745 branch: Fix bug 5629: Hard to distinguish between added and deleted text.
http://bugzilla.lyx.org/show_bug.cgi?id=5629. 

Backport of:
- (r28420) Add a new Color class. This class makes it possible to specify a color as a merging of two other colors.
- (r28421) Use the new Color class in the Painter code. 
- (r28422) Add a new member to FontInfo? denoting the color to be used when painting. 
- (r28423) Add a new customizable color that indicates the merge color for deletion.

See also: 
http://thread.gmane.org/gmane.editors.lyx.devel/114189 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28785 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 20:41:04 +00:00
Vincent van Ravesteijn
3f6dae8123 branch: Fix bug 5769: http://bugzilla.lyx.org/show_bug.cgi?id=5769.
Copy content vanishes on Quit.

The work-around to clear the clipboard was needed to work around bug 4846. This bug has been resolved by the fix for bug 5472, so the work-around isn't needed anymore.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28783 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 18:32:31 +00:00
Vincent van Ravesteijn
5bbf48b743 branch: Fix bug 5799. Warning when opening the document settings and preferences dialogs: http://bugzilla.lyx.org/show_bug.cgi?id=5799.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28782 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 18:24:09 +00:00
Vincent van Ravesteijn
9a912afd42 branch: Fix bug 5357: Close tab possible without close tab icon
http://bugzilla.lyx.org/show_bug.cgi?id=5357


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28781 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 17:56:26 +00:00
Vincent van Ravesteijn
e007ee91da branch: Fix bug 5088: Incorrect cursor movement
http://bugzilla.lyx.org/show_bug.cgi?id=5088

After executing DEPM to remove a double space, the position of the cursor was only 'fixed' if the cursor remained in the same par. This patch corrects this
to fix the position of the cursor also when the cursor is in a nested inset which is in the same par. This is needed because otherwise the cursor would not
point to the inset but one pos after it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28780 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 17:41:19 +00:00
Vincent van Ravesteijn
73db05c0bb branch: Fix bug 1802: http://bugzilla.lyx.org/show_bug.cgi?id=1802.
* allows the selection of a whole cell with shift+key
* shift-movement between empty cells with a single keystroke 



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28779 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 17:31:11 +00:00
Vincent van Ravesteijn
9ad1428486 Fix an infinite loop with Qt4.5 when creating two unnamed files.
In Qt4.5, QFileInfo::operator==() always returns true when comparing two non-existing files. Therefore, an extra check is needed. 

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


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28768 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 10:47:29 +00:00
Vincent van Ravesteijn
7238dc91e8 branch: change the use of QString::indexOf(RegExp) into RegExp::indexIn(QString) to avoid crashes and infinite loops with Qt4.5.
See:
http://www.lyx.org/trac/changeset/28746

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28767 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-14 10:39:27 +00:00
Jürgen Spitzmüller
a37fe91e51 * buffer_funcs.cpp:
- fix another dataloss crash when undoing a resolved branch in a child
	  (patch by rgheck).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28759 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-13 12:08:20 +00:00
Jürgen Spitzmüller
1d9ee4e901 Backport r28730.
Author: vfr
Date: Sun Mar  8 22:23:31 2009
New Revision: 28730

URL: http://www.lyx.org/trac/changeset/28730
Log:
Fix scrolling regression (http://www.lyx.org/trac/changeset/28397).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28733 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-09 07:49:21 +00:00
Jürgen Spitzmüller
a0e0bd3311 * tex2lyx/Makefile.am:
- add tex2lyx.1 to the distribution.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28724 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-08 08:29:23 +00:00
Jürgen Spitzmüller
22a49ee863 fix bug 5833
* Buffer.{cpp, h}:
	- new method getChildren() that returns included (and sub-included) files

* GuiView.cpp (closeEvent):
	- do not just close dirty child documents.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28713 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-07 16:35:25 +00:00
Jürgen Spitzmüller
3e5a87d6d7 * CutAndPaste.cpp:
- correctly set buffer on paste. This fixes a crash on pasting branches 
	   within child documents (bug 5813)

(patch by rgheck)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28709 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-07 11:37:51 +00:00
Vincent van Ravesteijn
06f2013ab8 branch: InsetTabular.cpp: Make sure the caption is inserted in the correct cell. This means we first have to reset the cursor to point to the new multicolumn, and then insert the caption.
See:
http://www.lyx.org/trac/changeset/28441

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28652 a592a061-630c-0410-9148-cb99ea01b6c8
2009-03-01 16:06:04 +00:00
Vincent van Ravesteijn
364cc24033 Fix nr.3 of bug 4346.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28643 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-28 16:52:46 +00:00
Vincent van Ravesteijn
e09184fd5d branch: Fix bug 5765: http://bugzilla.lyx.org/show_bug.cgi?id=5765.
[visual cursor] Crash when cutting a figure caption and moving the cursor. 
Avoid negative positions. 


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28638 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-27 23:03:39 +00:00