Commit Graph

32916 Commits

Author SHA1 Message Date
Stephan Witt
b814639862 Fix for #9659 - Qt may send more then one close event to a window. Therefore multiple calls to unregisterView for a GuiView are possible. The first one removes the view from the list of known views, subsequent calls do nothing.
(cherry picked from commit 8a772549d7)
2015-07-18 23:11:42 +02:00
Jean-Marc Lasgouttes
a8bfb29eb2 Fix logic error in on-screen font shape
This made text in smallcaps+emph display as upright instead of plain
emph. There is no latex font for smallcaps + emph, but it is not a
reason for displaying it wrong.

Fixes bug #3519.
2015-07-17 22:22:59 +02:00
Uwe Stöhr
ae884233ab ar.po: update from Hatim 2015-07-17 22:17:54 +02:00
Uwe Stöhr
cd734d0b90 new French translation of the PDF-comment example file
also an update of fr.po; both by Jean-Pierre
2015-07-17 22:09:48 +02:00
Kornel Benko
0c16283de0 Added missing he.gmo in previous commit 2015-07-15 23:45:36 +02:00
Kornel Benko
5830d210ad Updated he.po
Patch from Guy Rutenberg.
2015-07-15 23:40:45 +02:00
Uwe Stöhr
a3578cab34 pt_BR.po: updates from Georger 2015-07-08 02:14:46 +02:00
Enrico Forestieri
5f1c593175 Remove unneeded header
Forgot this at e473ee8b
2015-07-06 23:49:56 +02:00
Enrico Forestieri
e473ee8b3f Avoid calling Buffer::getMacro inside the MathMacro copy constructor
It turns out that it is always better using the copy of the MacroData
for updating the macro_ pointer to avoid problems related to the cursor
position.

This is a further amendment to 180ecbd7.
2015-07-06 20:38:35 +02:00
Pavel Sanda
a0c2393c5d Update he.po from Guy.
http://marc.info/?l=lyx-devel&m=143578277119305&w=2
2015-07-05 14:54:58 -07:00
Pavel Sanda
f1a025f134 Remerge he.po 2015-07-05 14:52:11 -07:00
Uwe Stöhr
5a550d0ac4 ar.po: backport Hatim's recent translations 2015-07-04 14:24:10 +02:00
Richard Heck
460f0383bc Remerge strings. 2015-07-03 12:05:00 -04:00
Richard Heck
029c477d75 Update Customization manual to reflect correct layout format. 2015-07-03 12:03:56 -04:00
Enrico Forestieri
180ecbd79a Avoid using a dangling pointer
This can happen when a macro is copied and then the document where
it is defined is closed. In this case, the macro survives in the
cut stack but the the buffer pointer is dangling.

This commit is an amendment to 2a9f0733 so no status line is needed.
2015-06-30 21:11:54 +02:00
Scott Kostyshak
1b596e929f Fix setting of pref "hide scrollbar in fullscreen"
The symptom of the bug is that the preference could be incorrectly
displayed (based on the value of the statusbar preference).

This seems to have been a copy/paste mistake introduced in 214f7ed2.

(cherry picked from commit 5e7cbc8f2c)
2015-06-26 10:42:20 -04:00
Enrico Forestieri
318c5d7dd9 Properly account for font size when generating previews
Patch by Guillaume.
2015-06-25 21:31:00 +02:00
Enrico Forestieri
2cdeb945ce Assure not to miss requirements on loading with instant preview on 2015-06-25 21:18:31 +02:00
Enrico Forestieri
2a9f07336f Fix crashes related to macros and instant preview
* Fix crash when zooming after latex failed to generate any output for previews.
  This was new in 2.1.4, so no status line is needed.

* Fix crash when copying macros with instant preview on.
2015-06-25 21:04:42 +02:00
Enrico Forestieri
93c0512ba2 Backport latest changes about instant preview
* Fix typo causing to only account for the first char of a macro name
* Also check for macros as arguments of other macros
* Take into account macro redefinitions in the legacy route
* Take into account macros inside nested macro definitions
* Use the draft option for microtype instead of redefining \usepackage
* Make really sure to wait for previews after zoom changes

This is an amendment to previous commits, so no status line is needed.
2015-06-21 19:24:45 +02:00
Uwe Stöhr
501435345a SpaceMarker.png: fix RGB profile of the image
no status entry necessary
2015-06-19 00:01:39 +02:00
Enrico Forestieri
1151d06e81 Avoid unnecessary growth of python lists
The path argument of checkProg* was added to the PATH list in a nested
loop such that the list doubles in size each time the loop is executed,
thus also slowing down detection of missing programs.
2015-06-16 21:08:25 +02:00
Enrico Forestieri
565b4e9fd2 Delay regeneration of previews on zoom changes
Until now the regeneration process was starting as soon as the zoom scale
factor was changed. This was causing some glitches, especially if the zoom
was changed by the mouse wheel, as on each change the process was started
again and again making zoom changes painful and causing races such that
one could end up with the text at some zoom factor and the previews at
another one. After this commit, the regeneration is started only after
the zoom factor has been stable for about 1 second. In this way, one can
use the mouse wheel for changing back and forth the zoom factor at own's
heart desire without any slow down due to the regeneration process running
in the background. For those using previews with numbered math equations,
a nice possibility for getting the equations correctly numbered in sequence
(after removing or adding an equation) is using the shortcuts Alt+ and Alt-
in rapid sequence (less than a second between the keystrokes). Previously,
this would have triggered twice the regeneration, but now only once.

This is an amendment to 0e2ea9d4, so no status line is needed.
2015-06-12 17:04:00 +02:00
Enrico Forestieri
4c92d969eb Fix bug #9354 (Preview inset does not work with math macros)
The patch also makes sure that only the macros actually used in a
math inset are included in the preview snippet. In this way, the
size of the tex file used for generating the previews does not
explode in the presence of lots of macros.
2015-06-09 20:07:48 +02:00
Juergen Spitzmueller
558100ad58 Fix bug #9598
Do not output \\par at the end of environments with size change if the
environment cosinsts of only one par.
2015-06-09 15:48:07 +02:00
Richard Heck
099b964b75 Status. 2015-06-08 12:12:32 -04:00
Richard Heck
fa7e737b7d Allow automake 1.15. (Already done in master.) 2015-06-08 12:11:48 -04:00
Scott Kostyshak
9ea4fc6e0f Revert "Update previews after pasting (#6211)"
As JMarc notes on the ML, the referenced commit modifies a full
buffer just in the middle of a dispatch action.

Further, this commit lead to an assertion [1], although it is not
clear to me whether the root cause of the assertion is the commit
that is being reverted here, or one of the issues we have with
previews and macros.

This reverts commit 6ac04e21f4.

[1] http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg187921.html
2015-06-07 12:11:43 -04:00
Richard Heck
0abf9ac79a Revert "layouttranslations: backport pt_BR additions and Arabic translation from master"
This reverts commit e44612f0f2.

Revert "layouttranslations: Arabic update by Hatim"

This reverts commit 407d5bf228.

It is not permitted to change lib/layoutranslations during a stable cycle.
2015-06-04 15:10:06 -04:00
Enrico Forestieri
7013445bdd Backport the latest changes to the instant preview scripts.
Also fix a glitch recently reported on the devel list.
No status line as this is a further amendement to b3d2ffc0.
2015-06-04 17:58:55 +02:00
Juergen Spitzmueller
ebbe6c1924 Fix preview of included files in child documents (bug #9583) 2015-06-04 08:32:07 +02:00
Uwe Stöhr
dbadd00733 Merge branch '2.1.x' of git.lyx.org:lyx into 2.1.x 2015-06-04 01:16:29 +02:00
Uwe Stöhr
e44612f0f2 layouttranslations: backport pt_BR additions and Arabic translation from master 2015-06-04 01:16:17 +02:00
Uwe Stöhr
407d5bf228 layouttranslations: Arabic update by Hatim 2015-06-04 01:12:12 +02:00
Enrico Forestieri
414dd4485e Update it.po 2015-06-03 20:39:48 +02:00
Uwe Stöhr
ae0debdc76 ar.po: backport todays' fixes and translations 2015-06-03 03:07:26 +02:00
Kornel Benko
ff8675421f Update sk.po 2015-06-02 09:33:04 +02:00
Uwe Stöhr
f1b6621fa4 fr.po: update from Jean-Pierre 2015-06-02 01:53:19 +02:00
Richard Heck
67093bcbf7 Remerge strings. 2015-06-01 17:51:47 -04:00
Uwe Stöhr
91d2277a2c ar.po: fix bug #9585 also for branch
- no status entry necessary because this was introduced by translations made after the release of LyX 2.1.3.
2015-06-01 20:34:45 +02:00
Uwe Stöhr
558d153925 pt_BR.po: update from Georger 2015-05-31 20:06:50 +02:00
Enrico Forestieri
9285f338a9 Take into account macro redefinitions when generating previews
No status line needed as this is an amendment to b3d2ffc0
2015-05-31 17:06:40 +02:00
Kornel Benko
0ff1abf23d Update sk.po 2015-05-31 12:57:27 +02:00
Scott Kostyshak
6ac04e21f4 Update previews after pasting (#6211)
The reason we want to do this is for if there is pasting across buffers.
For within buffer, the previews should already be updated. Calling the
buffer-wide updatePreviews() might seem like overkill, but actually it
should be quick because only the previews that need updating are updated
(and this check feels quick to me, although I did not profile).

If we were to loop through the pasted text and update each preview
individually, this might take more time. When updating previews
together, only one .tex file is compiled.

(cherry picked from commit 73460423ad)
2015-05-31 05:03:29 -04:00
Scott Kostyshak
71fd45b2f6 Add an explanatory note for external_templates
Clarify that a user-defined external_templates file would replace
the library version. For more information on this issue, see #3983.

(cherry picked from commit 1d28d90801)
2015-05-31 05:02:20 -04:00
Juergen Spitzmueller
ace9b53eed de.po 2015-05-31 09:44:01 +02:00
Juergen Spitzmueller
8aed8f99d1 Fix shortcut conflict 2015-05-31 09:34:24 +02:00
Uwe Stöhr
6c12eb9736 Japanese and Spanish UserGuide.lyx: fix some references 2015-05-31 04:16:05 +02:00
Uwe Stöhr
e62773dd07 configure.py: add the --nofooter option also to the python call of eLyXer
(btw. there is no executable of eLyXer available)
2015-05-31 03:17:26 +02:00
Enrico Forestieri
a158776b4f Bug #9354 is not really fixed in stable.
See http://www.lyx.org/trac/ticket/9354 for details.
2015-05-31 01:07:10 +02:00