Commit Graph

32778 Commits

Author SHA1 Message Date
Richard Heck
dc402db113 Start 2.1.5 development. 2015-07-25 15:30:39 -04:00
Richard Heck
d6232a14f1 Adjust date after last commit. 2015-07-24 13:54:55 -04:00
Stephan Witt
ad79120210 correct symlink creation - make them relative instead of absolute
follow up of f45202acde
(cherry picked from commit 5a3c9247d8)
2015-07-24 19:21:12 +02:00
Richard Heck
f9a56913a7 Remerge strings. 2015-07-23 18:04:34 -04:00
Richard Heck
bf9fef7fc8 Prepare for 2.1.4. 2015-07-23 18:04:11 -04:00
Richard Heck
b06a7c11b5 Update Norwegian translations for 2.1.4. From Helge. 2015-07-23 16:58:44 -04:00
Stephan Witt
ab2d9c3af0 Avoid duplicates of dictionaries and thesauri in distributed package
(cherry picked from commit f45202acde)
2015-07-23 13:12:28 +02:00
Uwe Stöhr
508110a41f sv.po: updates from Jim 2015-07-23 01:09:32 +02:00
Jean-Marc Lasgouttes
c2046bd19a Initialize correctly the default keymap
If keymaps are activated and there is a secondary keymap but no
primary one, then the pointer to the active keymap was 0x0. This can't
be good.

Fixes bug #9685.
2015-07-22 16:58:00 +02:00
Jean-Marc Lasgouttes
2109412720 Reset cursor font when entring an inset with char-forward/backward
When entering an inset from the keyboard, setCurrentFont()
was not called and thus the cursor retained the font that was set
before. This could create strange behavior that could often go
unnoticed by the user.

It is easy to imagine many other situations similar to #9597 where
the user could trigger this bug.

Fixes bug #9597.
2015-07-22 15:13:10 +02:00
Kornel Benko
4c66627ca9 Update nb.po from Helge Hafting 2015-07-19 17:47:58 +02:00
Stephan Witt
bf94d97bff Update default path prefix for Mac OS to include the texbin folder inside the TeX Library path and remove old powerpc path entries.
The upcoming Mac OS version 10.11 (El Capitan) will not allow TeX the installation of links inside the /usr directory anymore.
(cherry picked from commit c11c4fd767)
2015-07-19 17:37:10 +02:00
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