Commit Graph

14949 Commits

Author SHA1 Message Date
Pavel Sanda
8be06af03e Backport 5767 bugfix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28410 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-09 11:41:31 +00:00
Vincent van Ravesteijn
f58b2efff9 branch: Fix bug 5573: http://bugzilla.lyx.org/show_bug.cgi?id=5573.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28398 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-08 13:08:12 +00:00
Vincent van Ravesteijn
2a2cb7fc33 branch: Add *.lyx16 to the file-open dialog file filter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28386 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-07 17:27:01 +00:00
Jürgen Spitzmüller
531bb4e207 Bug 5562: Fix command line output of subfigure insets by introducing new OutputParams and LaTeXFeatures members that tell the insets whether they are in a (sub)float.
Later, this can be replaces by a backpointer approach, as proposed at bugzilla (note that there are already similar cases such as InComment or InTableCell, so a backpointer approach would need to adapt the OutputParams methos anyway).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28383 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-07 12:28:04 +00:00
Jean-Marc Lasgouttes
2bf11a0fb5 Text::read: when reading a text inset with 0 paragraphs in it, create a dummy paragraph to avoid a crash (bug 4859)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28348 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 14:58:34 +00:00
Vincent van Ravesteijn
f9d3662c92 branch: Fix bug 5731. http://bugzilla.lyx.org/show_bug.cgi?id=5731
Insert column after the current one, then copy the current one to the new one.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28343 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 23:34:05 +00:00
Vincent van Ravesteijn
a24b258abb branch: Fix bug 5736: http://bugzilla.lyx.org/show_bug.cgi?id=5736.
If the current TextMetrics does not contain the paragraph the cursor is in, the screen is recentered. Now, the current TextMetrics should be updated to one that does contain the cursor (as we have just recentered)..

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28342 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 23:30:26 +00:00
Jürgen Spitzmüller
1a00ebbd90 * LyXFileDialog.cpp:
- limit workaround for Qt bug that was fixed in Qt 4.3.4 to previous Qt versions
	  (related to bug 4513).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28337 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-03 16:29:27 +00:00
Jürgen Spitzmüller
8560523368 please Jean-Marc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28323 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-02 13:50:42 +00:00
Jean-Marc Lasgouttes
b1996016e0 disable math functions in places like ERT insets (bug 5703)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28321 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-02 13:42:07 +00:00
Jürgen Spitzmüller
a776656636 * InsetMathHull (numbered):
- prevent NULL pointer (bug 5688).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28320 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-02 13:37:36 +00:00
Pavel Sanda
2aad3a89c1 Backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28277 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-25 12:26:50 +00:00
Jürgen Spitzmüller
ded7151f8c * GuiViewSource.cpp:
- enable widget in read-only mode.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28271 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-24 12:40:15 +00:00
Pavel Sanda
34c48bc081 Missing parts of the patch.
Sorry for this mess, my terminals baffled me :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28265 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-21 20:19:34 +00:00
Pavel Sanda
19839d8c82 Backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28257 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-20 14:51:18 +00:00
Pavel Sanda
a13b78cf3c Fix http://bugzilla.lyx.org/show_bug.cgi?id=5697 .
Backport trunk fix http://www.lyx.org/trac/changeset/27780 for
bug http://bugzilla.lyx.org/show_bug.cgi?id=5389 .



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28255 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-20 13:50:04 +00:00
Vincent van Ravesteijn
3e8ce1cd0b branch: Avoid crash due to an infinite recursive loop when inset is NULL. Backport of r28242
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28245 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 15:30:31 +00:00
Jürgen Spitzmüller
cf22a26d5d * LaTeXFeatures.cpp:
- make lyxarrow robust, since \@ifstar is fragile.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28236 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-18 14:01:12 +00:00
Richard Heck
596098c6e8 Localize a couple strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28220 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 18:13:22 +00:00
Pavel Sanda
6eb290160b Backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28217 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 16:33:59 +00:00
Richard Heck
d3f7b1fef6 Backport 28190, 28191.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28215 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 15:55:32 +00:00
Richard Heck
be42d0ed00 Partially revert r28128, which was causing problems. A better version
follows.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28214 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 15:53:31 +00:00
Pavel Sanda
c38fe91fbe Backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28208 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 13:56:59 +00:00
Vincent van Ravesteijn
90cb9cc852 branch: "Copy as Reference" in the context menu of a label.
New feature from Stefan. See also http://www.lyx.org/trac/changeset/27575.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28206 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 13:54:26 +00:00
Jürgen Spitzmüller
ca9723c2da * improve graphics group UI.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28199 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 08:06:04 +00:00
Uwe Stöhr
9158749b08 InsetHyperlink.cpp: fix http://bugzilla.lyx.org/show_bug.cgi?id=5686 for branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28196 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 05:29:58 +00:00
Jürgen Spitzmüller
d44dc8f129 * environment.cpp:
- correct return value of setenv.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28183 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-16 14:46:35 +00:00
Pavel Sanda
8bc907d5ad Backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28180 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 22:52:18 +00:00
Jürgen Spitzmüller
e1240b8e0e * configure.ac:
- use ISO format for LYX_DATE
* GuiAbout.cpp:
	- make release date translatable.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28174 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-15 14:01:37 +00:00
Jürgen Spitzmüller
d72c575b1f * GuiBox.cpp:
- remove the useless "none" special length from the combo.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28157 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 14:40:36 +00:00
Jean-Marc Lasgouttes
9af89bbb3e Fix bug 4741: Pasting with middle mouse button into read only document works
http://bugzilla.lyx.org/show_bug.cgi?id=4741

Create a new LFUN selection-paste (to paste the internal selection), and bind
middle mouse button to
    command-alternatives selection-paste ; primary-selection-paste paragraph



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28156 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 14:32:59 +00:00
Jürgen Spitzmüller
7890255bf8 * GuiBox.cpp:
- fix enabling behaviour of height widgets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28155 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 14:25:52 +00:00
Pavel Sanda
0d8ca0d309 Backport LFUN_VC_COMMAND
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28151 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 10:41:20 +00:00
Jürgen Spitzmüller
ab7517af1a * LengthCombo.{cpp, h}:
- use model/view infrastructure to store reliable data
	- use real unit name, not i18n strings, for all comparision purposes
	- remove unit "mu" in default contruction (bug 5682)
	- add some helpers to add and remove units

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28147 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 10:21:14 +00:00
Jürgen Spitzmüller
8e509389eb * load CJKutf8 package, if available, for CJK documents in utf8 encoding
(first part of fix to bug 5386)

* also fix the mess in LaTeXConfig.lyx caused by rev. 28115. Sorry about that!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28143 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-14 09:28:05 +00:00
Richard Heck
54cd1dda02 Improve the rendering of BibTeX data in InsetCitation. This backports a handful
of commits from trunk.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28128 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 15:30:26 +00:00
Jürgen Spitzmüller
99b6211914 * lengthcommon.cpp:
- adjust line length.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28120 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 09:21:14 +00:00
Jürgen Spitzmüller
22395911d8 * use ulem instead of soul for change tracking
(fixes bugs 5091, 5480, 5647).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28115 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 08:03:06 +00:00
Jürgen Spitzmüller
b3141282ee * qt_helpers.cpp:
- fix function Length lengthFromWidgets.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28113 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 06:48:49 +00:00
Uwe Stöhr
e8a81a1499 - lengthcommon.cpp: separate the translations for mu
- remerge po.files

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28108 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-12 01:57:07 +00:00
Bo Peng
fd2a1fc368 Fix a LaTeX export error that prevents the inclusion of two program listings that differ only by file extension (bug 5681).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28101 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 19:53:48 +00:00
Enrico Forestieri
67bda0c384 Fix layout of the View Source window when using Qt 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28092 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 12:13:54 +00:00
Jürgen Spitzmüller
07221b882b * LaTeXFeatures.cpp:
* InsetSpecialChar.cpp:
	- make the menu separator direction aware (in LaTeX output), bug 3560.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28086 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-11 08:37:11 +00:00
Jürgen Spitzmüller
361c958427 * InsetSpace.cpp: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28070 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-10 17:06:59 +00:00
Uwe Stöhr
3b7a5f26c4 \hspace support in math also for branch, fixes http://bugzilla.lyx.org/show_bug.cgi?id=2558
(Documentation follows later.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28064 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-10 15:54:18 +00:00
Enrico Forestieri
c9b7803f6e Fix bug 5665
http://bugzilla.lyx.org/show_bug.cgi?id=5665


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28061 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-10 14:28:10 +00:00
Pavel Sanda
7e8d24a53a Branch too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28053 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 08:47:35 +00:00
Pavel Sanda
d05f65c91a one minute late
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28049 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 07:47:37 +00:00
Jürgen Spitzmüller
b091d6911d * GuiView.cpp (insertPlaintextFile):
- set a proper file filter in the file dialog.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28046 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 07:40:21 +00:00
Pavel Sanda
6f1c72bdc6 Backport 5648
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28044 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-09 07:33:51 +00:00
Jürgen Spitzmüller
f96a5217e8 * GuiDocument.cpp (dispatchParams):
- do not set master buffer and warn if the master does not include child
	- issue warning if the master could not be loaded.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28035 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-08 08:01:24 +00:00
Jürgen Spitzmüller
07dc0b8377 * TocWidget: whitespace only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28025 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-07 14:50:10 +00:00
Jürgen Spitzmüller
84c36ca1a9 * Buffer.cpp:
- prevent potential null pointer.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28022 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-07 11:07:12 +00:00
Jürgen Spitzmüller
765adf1dd0 * Buffer.cpp:
- do not set master_file as master buffer if the document s no real child (bug 5653).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@28021 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-07 07:58:16 +00:00
Vincent van Ravesteijn
86bd6550e1 branch: Fix crash when no new document can be created.
This occurs frequently when the temporary directory cannot be created because it already exists. The temporary directory can exist as a result of previous crashes of LyX. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27997 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-05 14:37:52 +00:00
Vincent van Ravesteijn
7f77edbeac branch: Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5560.
Allow users to paste text from e.g. MS Word. This text can be paste from clipboard both as text and as graphics. LyX should prefer to paste it as text.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27996 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-05 14:29:40 +00:00
Enrico Forestieri
f6ce0ddbdc * Encoding.cpp (fromLaTeXCommand): fix bug when the string passed
to the method does not match any of the known unicode symbols.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27970 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-23 13:01:56 +00:00
Pavel Sanda
cf1205de05 Backport 5626 fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27951 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 10:53:13 +00:00
Jürgen Spitzmüller
07ad6b8d9d * GuiPrefs.cpp (apply):
- unbind existing shortcuts before binding new ones (bug 5444).
	  Patch submitted and tested by Bennett.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27949 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 10:47:50 +00:00
Jürgen Spitzmüller
74e1ca54c4 * Text3.cpp:
- enable LFUN_INSET_DISSOLVE for insets at cursor (bug 4985).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27946 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-22 10:03:49 +00:00
Pavel Sanda
46a6e652ed Backport.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27937 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 14:04:24 +00:00
Pavel Sanda
7ca73f03ef Backport for 5628.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27934 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-20 10:14:48 +00:00
Jürgen Spitzmüller
c2b4904a02 * LaTeXUI.ui:
* UserGuide:
	- Postscript driver -> graphics driver.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27921 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-19 10:04:05 +00:00
Jürgen Spitzmüller
79985fb512 * BufferParams.{cpp,h}:
- pass graphics driver to geometry (bug 5613)
        - put papersize options to package call, not in \geometry
          which broke compilation in some cases (bug 3838)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27918 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-19 09:33:50 +00:00
Jean-Marc Lasgouttes
188dc2e149 rename tex2lyx.man to tex2lyx.1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27911 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:59:56 +00:00
Jean-Marc Lasgouttes
9ee1e3a051 remove stuff relevant only to reLyX
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27910 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:57:44 +00:00
Jean-Marc Lasgouttes
d1281bcec7 put tex2lyx test files in their own directory
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27909 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:53:26 +00:00
Jean-Marc Lasgouttes
58aa53ee10 remove unused method Parser::pop_back()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27908 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:47:46 +00:00
Jean-Marc Lasgouttes
c087c43dd7 add support for changing encoding on idocstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27907 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:34:47 +00:00
Jean-Marc Lasgouttes
d68a7867a4 cosmetic: rename [io]docfstream to [io]fdocstream
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27906 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-17 14:31:10 +00:00
Richard Heck
e695760740 Currently, a second InsetLayout declaration of a given inset completely
overwrites the existing definition, instead of updating it, as our Style
declarations do. This patch fixes this behavior, so that e.g.:

#\DeclareLyXModule{ERT}
#DescriptionBegin
#Make ERT Classic
#DescriptionEnd

Format 11

InsetLayout ERT
	Decoration classic
End

will do as advertised.

Also includes changes to minimalistic.module that are then made possible.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27903 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:39:27 +00:00
Richard Heck
d762d867b9 Cleanup (r27897) now for branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27902 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:17:19 +00:00
Richard Heck
9823a8c4ef The trivial r27894 for branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27898 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 16:04:59 +00:00
Jürgen Spitzmüller
b2ee876447 Let InsetWrap find its InsetLayout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27896 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 15:36:27 +00:00
Jürgen Spitzmüller
e836235dcb * BufferView.cpp:
- record undo for LFUN_NEXT_INSET_MODIFY.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27890 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 09:03:47 +00:00
Jürgen Spitzmüller
97675f03a0 * LyXAction.cpp:
- LFUN_NEXT_INSET_MODIFY: ReadOnly -> Noop.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27889 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-16 07:45:46 +00:00
Jean-Marc Lasgouttes
03ebfe5a14 better output for "-dbg action"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27886 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 16:38:18 +00:00
Jean-Marc Lasgouttes
4d82d73233 * TextMetrics.cpp (rowHeight): do not compute inset dimensions unless
they are in the row -- major spedup (bug 4443).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27884 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-15 15:44:27 +00:00
Jean-Marc Lasgouttes
56099b0d89 make help-open search in examples too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27860 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-12 15:56:39 +00:00
Jürgen Spitzmüller
201cfa6052 * LyXFunc.cpp: prevent potential assertion.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27843 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-11 09:26:41 +00:00
Jürgen Spitzmüller
3f7b191c65 * Paragraph.cpp: embrace ']' (fix bug 5610)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27839 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-10 19:53:39 +00:00
Jürgen Spitzmüller
709186f727 * LyXFunc.cpp (reload):
- do not release buffer, but simply re-read Document (fix bug 5389).

Patch reviewed by Abdel.

Alas, this doesn't work in trunk (triggers another crash). I suspect this is due to the updateLabels change.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27780 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-06 14:07:53 +00:00
Jürgen Spitzmüller
54303a271d * src/buffer_funcs.{cpp,h}:
- add optional bool "acceptDirty" to checkAndLoadLyXFiles. 
	   If true, the method doesn't care for buffer dirtiness
* src/Buffer.cpp:
	- when checking for master buffer, do not care if it's dirty
	  (fix bug 5514)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27775 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-05 15:55:10 +00:00
Jürgen Spitzmüller
b75dc1a800 * GuiToolbar.cpp (set):
- honour obsoleted styles (part of bug 2607).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27773 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-05 14:05:31 +00:00
Jürgen Spitzmüller
b3a336fbdf * GuiSpellchecker:
- prevent invalid pointer access (spellchecker crash reported by Abdel).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27771 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-05 10:22:38 +00:00
Jürgen Spitzmüller
aa0c7c58b4 * Buffer.cpp (readFile):
- set params().compressed (bug 5589).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27769 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-04 09:14:53 +00:00
Jürgen Spitzmüller
073c645bc1 Add button to rescan the list of bib/bst files from within the dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27762 a592a061-630c-0410-9148-cb99ea01b6c8
2008-12-02 16:59:28 +00:00
Vincent van Ravesteijn
703df4dc45 branch: Fix bug 5507: Full screen hangs LyX when no file is opened
http://bugzilla.lyx.org/show_bug.cgi?id=5507

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27745 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 17:58:44 +00:00
Jürgen Spitzmüller
f6e2942f05 * LaTeX.cpp (run):
- perform an additional bibtex cycle if requested
	  (e.g. by Biblatex)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27742 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 14:28:15 +00:00
Vincent van Ravesteijn
6c2388a9c9 branch: Fix bug 5472: Crash while switching to Word
http://bugzilla.lyx.org/show_bug.cgi?id=5472

In GuiApplication.cpp the function cfFromMime returns an invalid FORMATETC struct with uninitialized members when the mimeType is not emf or wmf. 

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27739 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 14:16:00 +00:00
Uwe Stöhr
f936464eba Paragraph.cpp: revert r27720 because this breaks every document that uses a note or comment
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27733 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-29 00:22:09 +00:00
Jean-Marc Lasgouttes
4c339de71c when validating a paragraph, skip insets that do not produce output
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27720 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-27 08:47:25 +00:00
Enrico Forestieri
bb34a8b8a4 Fix bug 641 (Detect stale lyxpipes after crash)
http://bugzilla.lyx.org/show_bug.cgi?id=641


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27714 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-26 19:10:42 +00:00
Richard Heck
caebfcf96a - Make the character style and custom inset menus quote the arguments
to flex-insert so that CharStyles, etc, with spaces in their names 
  will work properly.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27707 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-25 23:42:42 +00:00
Vincent van Ravesteijn
691d2cce97 branch: Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5567: Enable up button in command buffer widget.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27704 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-25 15:38:54 +00:00
Richard Heck
76144c7942 Backport fix for 5539.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27702 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-25 13:37:49 +00:00
Stephan Witt
fc9fd779b9 convert string arguments for bformat with proper encoding
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27695 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-24 21:11:03 +00:00
Vincent van Ravesteijn
5204a42c85 branch: Some fixes for the buttons of the Document and Preferences dialog:
http://bugzilla.lyx.org/show_bug.cgi?id=5295
- set the bc status to INITIAL when the dialog is initialized, and
- enable the restore button in the Document dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27686 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-23 15:09:22 +00:00
Jürgen Spitzmüller
87788aa8e3 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27685 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-23 14:47:02 +00:00
Jürgen Spitzmüller
b67ec0464e * GuiErrorList.cpp (showEvent):
- add missing dialog update to fix a problem reported on the users list
	  and here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506183
	  (missing package error not shown).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27680 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-23 10:57:01 +00:00
Vincent van Ravesteijn
ff23cca6e1 branch: Fix tabular cursor movement.
- allow repeated shift-up in a multi-line column,
- finish r27581: we have to call cur.selHandle ourselves now,
- do not dispatch to the cell in multicell selection.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27675 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 20:24:30 +00:00
Vincent van Ravesteijn
f1e76e81af branch: Do not paint an invisible cursor.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27674 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 20:08:37 +00:00
Vincent van Ravesteijn
fc95647f75 branch: Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5536.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27673 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 20:05:17 +00:00
Vincent van Ravesteijn
6de47766b9 branch: Correct painting of a fully selected tabular cell.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27672 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 20:00:21 +00:00
Dov Feldstern
2bf895b493 get rid of code duplication between overloaded versions of isRTLBoundary
This is in preparation of some changes to be made in this function, now the change will only have to be done once... 

(backport of http://www.lyx.org/trac/changeset/27656)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27670 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 17:55:48 +00:00
Jürgen Spitzmüller
78129d4511 * output_latex:cpp:
- fix some CJK nesting issues.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27666 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-22 16:43:06 +00:00
Enrico Forestieri
5364085bfe After a better understanding of the problem, restrict the fix for
bugs 5216, 5280, and 5489 to the ISO-2022-JP encoding.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27661 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-21 23:04:44 +00:00
Jürgen Spitzmüller
69839e1ae6 * src/Language{.cpp,h}:
- new member internalFontEncoding() that indicates if a language
	  switches the font encoding internally.

* src/Paragraph.cpp (latexSpecialChar):
	- don't call latexSpecialT1 if the internal font encoding isn't T1.

This fixes the output of straight quotation marks in Hebrew and Greek.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27659 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-21 14:53:47 +00:00
Richard Heck
a8042a63a9 Fix 5538, now in branch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27641 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-19 16:39:16 +00:00
Enrico Forestieri
3ebf6c0868 Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5489 and at the same time
properly fix bugs 5216 and 5280. The best thing to do would be recognizing
at configure time a buggy iconv and #defining WORKAROUND_ICONV_BUG in
config.h, but I don't know how that could be done.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27620 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-18 13:31:44 +00:00
Vincent van Ravesteijn
31839fa04e branch: Fix some small Tabular UI glitches
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27613 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 19:16:17 +00:00
Pavel Sanda
0502dfcc34 backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27610 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 12:52:02 +00:00
Jean-Marc Lasgouttes
c450c436a8 implement undo grouping for command sequences (part of bug 5531)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27608 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 12:42:53 +00:00
Pavel Sanda
16dfab5c63 backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27607 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-17 12:31:43 +00:00
Pavel Sanda
78c4dc3a1e backport
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27597 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 23:25:29 +00:00
Vincent van Ravesteijn
eb3f74eeac branch: Make sure the selection painting is updated after LFUN_UP or LFUN_DOWN. See http://thread.gmane.org/gmane.editors.lyx.devel/113428
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27581 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-16 19:54:09 +00:00
Richard Heck
c3b31fda27 Backport r27481. From JMarc.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27505 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 22:53:34 +00:00
Uwe Stöhr
e1a046c07b backport r27493: fix http://bugzilla.lyx.org/show_bug.cgi?id=4430
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27497 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 22:13:54 +00:00
Stefan Schimanski
59b8a01515 * save one redraw on each change of the scrollbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27475 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 18:58:03 +00:00
Pavel Sanda
4c973bb8d4 backport bugfix for 5274
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27464 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 17:10:35 +00:00
Abdelrazak Younes
4ece71f68d backport r27459
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27461 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 16:43:08 +00:00
Jürgen Spitzmüller
6de80cd8ff * InsetMathHull (eolString):
- revert rev. 27412. This is more complicated.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@27436 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-15 11:02:24 +00:00
Jürgen Spitzmüller
c8ecd8d24a * InsetMathHull (eolString):
- Properly escape non-ASCII characters in equation labels (bug 5512).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27412 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-14 10:05:07 +00:00
Jürgen Spitzmüller
233d7958a3 * Paragraph.cpp: typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27404 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-12 20:24:08 +00:00
Jürgen Spitzmüller
3cc2dda65e * InsetLabel.cpp:
- no duplicate check for unchanged parameters (bug 5496).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27403 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-12 18:51:36 +00:00
Abdelrazak Younes
7e6af45b0d Fix http://bugzilla.lyx.org/show_bug.cgi?id=5491 without reintroducing http://bugzilla.lyx.org/show_bug.cgi?id=5409 . The first part of r27162 was enough for fixing it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27383 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-11 14:28:44 +00:00
Abdelrazak Younes
c8c3487036 MSVC/Cmake compilation fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27382 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-11 14:22:42 +00:00
Richard Heck
b83564d82c Inset::textString --> Inset::tocString
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27378 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-10 22:45:14 +00:00
Enrico Forestieri
3fe8463ddf Fix bug http://bugzilla.lyx.org/show_bug.cgi?id=5467
(too much C++, I presume :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27352 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-08 23:44:43 +00:00
José Matox
bd64e75489 Fix bug 5411
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27329 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 19:17:35 +00:00
Jean-Marc Lasgouttes
4804b60f1c do not show Index contents in ToC (note that Inset::textString is only for this use)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27326 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 13:06:20 +00:00
Richard Heck
c573ab4976 Fix final default-module-related bug reported by Philippe. The comments
in the code should explain what the problem was.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27313 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-06 14:59:14 +00:00
Richard Heck
3ac4460c07 Forgot to change this line.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27282 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:46:22 +00:00
Richard Heck
362d6e468f This patch fixes a set of bugs reported by Philippe relating to excluded
and default modules. The lesson, in the end, is that we need to do all the
removal of modules that no longer `fit', for whatever reason, before we
do anything else. So the patch basically just moves the `removal' code
into a new routine that gets called before the routines that add default
modules and then check consistency.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27281 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:42:16 +00:00
Richard Heck
5e45cd4c44 Revert the last few patches. I'll commit a more general fix all at once.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27280 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:32:37 +00:00
Richard Heck
3a9a0fc3e6 Comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27279 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:15:09 +00:00
Richard Heck
c94d0da408 More fixes for bugs noticed by Philippe.
We want to do all the excluding before we do any of the adding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27278 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:13:25 +00:00
Richard Heck
df475c2002 Add some comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27277 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:07:52 +00:00
Richard Heck
b0035f07b1 Fix bug reported by Philippe relating to excluded modules: Excluded
modules need to be removed before anything else is done.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27276 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 19:01:59 +00:00
Jürgen Spitzmüller
b65ef30b34 * GuiDocument.cpp (formatStrVec):
- module names can have non-ASCII chars.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27274 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 18:37:47 +00:00
Enrico Forestieri
5ec13cc15b Correct include dir.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27273 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 18:25:24 +00:00
Jean-Marc Lasgouttes
4e2c8c4f9b Make sure that the contents of the inset uses the buffer language (in order to
avoid the ugly blue line).

Fixes part of http://bugzilla.lyx.org/show_bug.cgi?id=5348


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27267 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 16:40:18 +00:00
Jean-Marc Lasgouttes
0e2ded8161 Fix bug 5407
http://bugzilla.lyx.org/show_bug.cgi?id=5407

This patch makes insetfloat search its styles using "Float:<floatname>" (or
"Float" if this fails). This allows to define a default behaviour for new
floats that makes sense.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27266 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 15:35:02 +00:00
Stefan Schimanski
def9ca797c * style
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27265 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 14:07:42 +00:00
Stefan Schimanski
5d9b126c96 * Fix for http://bugzilla.lyx.org/show_bug.cgi?id=5387
Gui is not setup yet when the file is opened from clicking on it in Finder
  with a closed LyX. We have to wait until the batch commands are executed.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27264 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-05 14:04:37 +00:00
Pavel Sanda
1b7ef75ccb Update headers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27255 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 22:32:06 +00:00
Jürgen Spitzmüller
05a3f9b3f9 * GuiDocument.cpp:
* add some unicode FIXMEs

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27249 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 15:44:02 +00:00
Jürgen Spitzmüller
006f5683e0 * GuiDocument.cpp:
* module names and descriptions might contain non-ASCII chars, so
	  we must use translateIfPossible instead of the native _().
	  Alas, some manual conversion is necessary.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27248 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 15:38:37 +00:00
Richard Heck
727f4b2ee8 Thinko. Fixes bug reported by Philippe Charpentier.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27246 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 14:37:53 +00:00
Jürgen Spitzmüller
9d2f8a4c34 * GuiCitation.cpp:
- set initial focus (bug 5448).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27245 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-04 07:27:02 +00:00