Commit Graph

32667 Commits

Author SHA1 Message Date
Enrico Forestieri
8a015fce2f Don't update paths of non-existing files
No status line needed as this is an amendment to [4543bf28/lyxgit].
2015-05-05 22:47:46 +02:00
Uwe Stöhr
3fd63a71b8 ar.po: remerge and fix an error 2015-05-05 02:18:18 +02:00
Uwe Stöhr
ad78805570 ar.po: update from Hatim 2015-05-05 02:14:24 +02:00
Enrico Forestieri
4543bf288d Update paths of included files when saving to a different folder.
Fixes #9528 and #5115.
2015-05-04 03:11:30 +02:00
Uwe Stöhr
8e68c2eea1 ar.po: today's updates from Hatim 2015-05-03 16:44:04 +02:00
Uwe Stöhr
4eab7dcaf3 ar.po: backport recent changes from master 2015-05-03 02:00:25 +02:00
Uwe Stöhr
7f9627dcd3 EmbeddedObjects.lyx: improve description of \cmidrule 2015-04-30 01:25:36 +02:00
Pavel Sanda
744c3acc00 Fix broken lilipond links. 2015-04-28 09:37:43 -07:00
Uwe Stöhr
45025e5d9c PDF-comment.lyx: some fixes 2015-04-27 02:34:08 +02:00
Uwe Stöhr
8026360776 pdfcomment.module: reintroduce whitespace mixture because of bug #9518 2015-04-26 18:25:03 +02:00
Juergen Spitzmueller
74c7b5d47e Add Jari-Matti Mäkelä to the credits 2015-04-26 13:47:18 +02:00
Uwe Stöhr
cdf1f6afd9 fi.po: correct the copyright year
this was accidentally set to 2008 in the last commit
2015-04-26 13:45:39 +02:00
Uwe Stöhr
d3ff7ea799 pdfcomment.module: promote our example file in the description
- pdfcomment.module: backport the whitespace uniformization
- PDF-comment.lyx: fix a typo
2015-04-26 13:39:55 +02:00
Juergen Spitzmueller
e2a07d8510 fi.po: another update by Jari-Matti Mäkelä 2015-04-26 13:23:09 +02:00
Uwe Stöhr
3a35552a5c PDF-comment.lyx: few more fixes 2015-04-26 04:21:01 +02:00
Uwe Stöhr
2d84e2b970 PDF-comment.lyx: some fixes 2015-04-26 03:23:22 +02:00
Uwe Stöhr
8751fb1a75 FeynmanDiagrams.lyx: rename German version
it turned out that the example files that should appear in LyX's Help menu must have the same name as their English versions
2015-04-25 17:10:03 +02:00
Uwe Stöhr
d1948bb21a Feynman-Diagramme.lyx: new German translation
FeynmanDiagrams.lyx: an adjustment and added the missing note to the French translation
2015-04-25 16:59:56 +02:00
Uwe Stöhr
f38fbe0f67 FeynmanDiagrams.lyx: fix some typos and expressions 2015-04-25 02:03:50 +02:00
Juergen Spitzmueller
291d1ca2d6 Attempt to fix (mixed) line terminators. 2015-04-23 11:10:39 +02:00
Juergen Spitzmueller
6921cc076e Update the Finnish localization
Patch by Jari-Matti Mäkelä
2015-04-23 10:22:53 +02:00
Scott Kostyshak
73ad885a43 Update previews after doing a find/replace (#7242)
This commit addresses #7242 for normal Find/Replace. That issue was
fixed for Advanced Find at 29948eec.

(cherry picked from commit 66f527e417)

Added status.
2015-04-21 03:03:06 -04:00
Uwe Stöhr
aef7387991 fr.po: this time the correct patch from Jean-Pierre for branch 2015-04-21 00:35:56 +02:00
Uwe Stöhr
2e83e3be5d fr.po: update from Jean-Pierre 2015-04-20 00:37:03 +02:00
Jean-Marc Lasgouttes
839f37317f Avoid requiring messages with empty language.
This is a follow-up to commit 8aa2d6b1.
2015-04-17 15:48:22 +02:00
Uwe Stöhr
0b55f0743e French UserGuide.lyx: updates from Jean-Pierre 2015-04-17 02:18:36 +02:00
Uwe Stöhr
1ce9e4d81a UserGuide.lyx: fix a typo 2015-04-17 01:10:34 +02:00
Uwe Stöhr
7cc7e995c5 UserGuide.lyx: fix a LaTeX warning
\bf is deprecated
2015-04-17 01:03:46 +02:00
Enrico Forestieri
60f56890ad Fix permissions.
Damn'd native Windows tools that don't understand umask ;)
2015-04-13 15:33:19 +02:00
Enrico Forestieri
43639db018 Update it.po 2015-04-13 15:22:55 +02:00
Kornel Benko
1d79be1d71 Update sk.po 2015-04-13 11:38:06 +02:00
Enrico Forestieri
a63af1b93a Fix output of \lightning in math mode.
The \lightning symbol is text mode only. Hence, for using it in
mathed, it must be inserted in a text mode environment such as
\mbox, \text, etc. However, as it is not marked as textmode,
LyX "helpfully" encloses it in \ensuremath everytime one tries
to put it in a text mode environment, thus defying the countermeasure.
By declaring it textmode only, LyX stops doing that and thus it can be
correctly output by simply selecting it and hitting Ctrl-M.
2015-04-12 10:35:53 +02:00
Kornel Benko
5c645532ea Update sk.po 2015-04-12 07:53:04 +02:00
Enrico Forestieri
046c9a4b21 Add icons for the "Fonts" math panel. 2015-04-11 23:49:06 +02:00
Juergen Spitzmueller
5294d02d9d de.po 2015-04-11 16:54:08 +02:00
Juergen Spitzmueller
7fbfc72e9a Remove problematic accelerator (#9495)
Seems there is no free accelerator left for the source view pane.
2015-04-11 16:47:30 +02:00
Juergen Spitzmueller
87a57902ca Prevent crash when attempting to restore a file multiple times.
We currently cannot restore multiple views of the same buffer properly.
On the mac, we even crash.
So do not try it, record each file only once in the last opened list.

Fixes: #9483.
2015-04-06 15:30:43 +02:00
Uwe Stöhr
3df958b0dc MultilingualCaptions.lyx: update some menu names 2015-04-06 06:10:01 +02:00
Uwe Stöhr
1741125521 MultilingualCaptions.lyx: new German translation
- also some fixes for the other language variants
2015-04-06 03:38:03 +02:00
Georg Baum
ccde90b440 Fix math macro crash (bug 9418)
In the test case the crash occured in mathml export of the temporary buffer,
because the macro was updated, and because one of the used other macros was
not copied, the macro argument was detached. However, the underlying problem
of the crash was a broken ArgumentProxy::mathMacro_ reference which became
invalid each time the ownng MathMacro was copied. In the bug test case the
copying happened due to resizing a std::vector, but any other copy would have
created the same problem. The crash did not always happen, because sometimes
the old freed memory was not immediately reused, so the invalid reference did
still point to usable data.

The fix is easy: Convert ArgumentProxy::mathMacro_ to a pointer and update it
always after creating a copy of the owner.
2015-04-05 18:38:08 +02:00
Juergen Spitzmueller
9f3f99dfef Use local babel language switch in fixed width cells in order to prevent unwanted whitespace
Fixes: #9455
2015-04-05 10:40:39 +02:00
Scott Kostyshak
cecd327755 Fix selection at borders of insets (#9487)
When at the last position in an inset, selecting to the right
should select the entire inset. This only worked if there was
already a selection (i.e. the selection was started not at the
boundary).

The behavior of this bug was changed by commit 73a7bf9d.  Before
that commit, if at the last position of an inset you select to
the right, nothing is selected but the selection is set. If you
select once more to the right, because the selection is set the
needsUpdate condition is satisfied so the whole inset is selected.

Note that everything here applies also to "first position of an
inset" and selecting to the left. By "selecting", I am referring
to LFUN_{CHAR,WORD}_{FORWARD,BACKWARD}_SELECT.

(cherry picked from commit 032da815fa)
(added status entry)
2015-04-03 14:38:32 -04:00
Jean-Marc Lasgouttes
3cf887f08e Fix various warnings issued by clang++.
* remove unused class TexStream.

* remove unused virtual method Inset::cellXOffset

* remove second argument of FileDialog constructor, which was actually
  not used

* remove some dead local code

* remove some unused private members of classes

* in InsetMathNest::updateBuffer, fix the logic of a test
2015-04-03 15:20:54 +02:00
Richard Heck
af11949934 Status for cherry picks. 2015-04-01 18:45:19 -04:00
Alfredo Braunstein
273893a38a Text2.cpp (checkAndActivateInset, checkAndActivateInsetVisual): activate insets on selection if the anchor is inside the inset.
insets/InsetText.cpp (InsetText::edit): do not reset the selection
Fixes #2346.

(cherry picked from commit 25cf12d650)
2015-04-01 18:41:46 -04:00
Alfredo Braunstein
e627e562a7 mathed/InsetMathHull.cpp (InsetMathHull::doDispatch): do not declare LFUN_FINISHED_* lfuns as undispatched after handling them
Fixes #9289, and an unreported cousin of #3900

(cherry picked from commit 866fc2afcc)
2015-04-01 18:40:07 -04:00
José Matos
5ed74b4446 Make lyx2lyx parser a bit more robust.
Ignore if the first line of a lyx file does not start with a #
Add such a line if it is missing..

Fixes bug #9279
2015-03-31 15:29:41 +01:00
Alfredo Braunstein
10b0fab02d insets/InsetTabular.cpp (doDispatch): fix to #9291. The problem was simply that the default status for the cursor in the call to *::doDispatch is "dispatched".
insets/InsetTabular.cpp (edit): do not reset the selection

(cherry picked from commit b2246c4ea2)
2015-03-30 20:42:30 -04:00
Alfredo Braunstein
d91035d89f Rewrite of change-related helpers
lyxfind.cpp(findNextChange, findPreviousChange, findChange, selectChange): factor the change-selection part out of the change-finding part
Text.cpp (acceptOrRejectChanges): call only selectChange

(cherry picked from commit 8f821dba70)

Conflicts:
	src/Text.cpp
2015-03-30 20:41:25 -04:00
Jean-Marc Lasgouttes
c966875ece Call DEPM properly when going somewhere with outliner.
LFUN_PARAGRAPH_GOTO used to do a plain setCursor, whereas the more elaborate mouseSetCursor is a much better version.

Fixes bug #9479.
2015-03-30 10:50:24 +02:00