Commit Graph

35458 Commits

Author SHA1 Message Date
Uwe Stöhr
69d000479a Win installer: update MiKTeX repository and ImageMagick version
- http://ftp.fernuni-hagen.de does no longer exist
- ImageMagick released a new major version
2016-05-07 01:12:36 +02:00
Scott Kostyshak
262dfd3826 Move some unsigned validators to signed (#10095)
2.1.x allows some document settings to have negative values where
2.2.0rc1 does not (because of the bug fix at 9e166088). If a user of
2.2.0rc1 opens a document from 2.1.x that contains one such negative
value, it will appear as though no change to the document settings
can be saved because 2.2.0rc1 treats the document settings as
invalid immediately on opening the dialog. Further, unless the user
manually goes through each tab they will not see the red text next
to the input that is now considered invalid. This could lead to
confusion for users. One example of such confusion is [1].

The following settings now allow negative values, which is
consistent with 2.1.x. Negative values in these settings do not lead
to LaTeX errors:

  - Text Layout tab: the two line edits enabled with "Custom"
  - Page Margins tab: all eight line edits

The following settings are not changed by this commit, so they now
(with 2.2.0) do not allow negative values that 2.1.x allowed. This
change makes sense because negative values lead to LaTeX errors in
these cases:

  - Page Layout tab: the "Height" and "Width" line edits, which are
                     enabled when "Custom" is selected

[1] https://www.mail-archive.com/search?l=mid&q=CAGZ2pgXqf27UaAaQ%3De_wFz1fGTa6Yv0iFyS97qu1C7B5R59irg%40mail.gmail.com
2016-05-06 15:43:41 -04:00
Georg Baum
6390e6264e Fix version number 2016-05-05 13:39:45 +02:00
Georg Baum
23f5ae67c7 ja.gmo for cfa8d02029 2016-05-05 10:20:23 +02:00
Guillaume Munch
660a43ecf4 Clipboard: Retry on_dataChanged() after a delay on windows (#10109)
An undocumented behaviour of QClipboard::mimeData() is that it can fail on
windows due to the specificities of the windows API that allow a race condition.
In particular it seems that querying the clipboard as soon as the dataChanged()
signal is received favourises this race condition.

Thanks to Trac user bquistorff for the explanation and a proof of concept patch.
2016-05-04 19:20:56 +01:00
Guillaume Munch
8fd223146b Whitespace 2016-05-04 18:59:36 +01:00
Uwe Stöhr
b289c597ae Japanese doc files: big translation update fro 2.2.0 from Koji 2016-05-04 01:12:04 +02:00
Uwe Stöhr
cfa8d02029 ja.po: Update from Koji for 2.2.0 2016-05-04 01:08:56 +02:00
Jean-Marc Lasgouttes
ff17b366a0 Resources.cpp is a built source, it should not be in SOURCEFILES
We want to avoid that Resources.cpp be distributed in the tar file.
2016-04-27 00:59:30 +02:00
Scott Kostyshak
2ab7c3ac11 RELEASE-NOTES: advise MSVC 2015 update 2 on Win
When compiling with Qt 5.6, MSVC 2015 update 2 is recommended in
order to avoid #9892.
2016-04-25 23:53:29 -04:00
Stephan Witt
21e4e939be Revert part of c053a9394d
This change introduced a regression and is not needed anymore.

(cherry picked from commit 1cbabdf8d51b26dd80677ddfeb64d13df91fefc0)
2016-04-25 20:59:25 +02:00
Enrico Forestieri
9384ed0f08 Update it.po 2016-04-25 17:36:51 +02:00
Georg Baum
04e4d6c4eb Update fuzzy translations from 2.1.x branch
This was done with
python ../lyx-2.3-staging/development/tools/mergepo.py -n -t po ../lyx-2.1/po

It should have been part of a26cdcb4ba, but the mergepo script did not overwrite
fuzzy translations with non-fuzzy ones at that time. Now 2.2 will not be missing
translations that are in 2.1 (but of course it might contain changed translations).
2016-04-24 21:33:38 +02:00
Georg Baum
4016d00c97 Forgot fi.gmo at 7eacd8d316 2016-04-24 20:44:31 +02:00
Georg Baum
dc38ae873a Fix bug 10074 (regression)
This was a regression of 8aa37c43. I did not take into account that end_pos
could be -1, so the code that checked whether a pair of braces needs to be
inserted between two hyphens did not work for that case. Now we check for
the length of text_, which should be done anyway, and only take end_pos into
account when it is not -1.
2016-04-24 20:12:43 +02:00
Georg Baum
7eacd8d316 Merge finnish translations from bug 10084
Jari-Matti provided an updated fi.po in bug 10084, but unfortunately I did not
see that before remerging the strings. Therefore, I did not take the updated
file directly, but downloaded it to /tmp/fi.po and merged the updates with

python ../lyx-2.3-staging/development/tools/mergepo.py -o -l fi -t po /tmp/

The two header changes were done manually. This way, the updated translations
are not hidden in lots of sorting changes. I had to use mergepo.py from 2.3
because the one in master does not treat fuzzy translations correctly.
2016-04-24 20:04:05 +02:00
Georg Baum
44f73d4c73 pt_BR.po: updates from Georger 2016-04-24 17:06:23 +02:00
Guillaume Munch
86227b196d Citation dialog: Fix trouble with openbox, fluxbox
http://thread.gmane.org/gmane.editors.lyx.devel/161725

These wms have trouble with the fix at b5a2f1c7, probably more precisely with
the trick to force the calculation of the actual sizes before the display
(layout->invalidate() and the code around it).

This patch gets rid of the code that forces the calculation. As a consequence,
the minimum sizes are again incorrect the first time the window is shown. They
are only correct the second time the window is shown. Now here is the trick: LyX
remembers the sizes of windows between sessions. Therefore, as soon as the good
minimum size has been set, the good size is remembered for the next
session. Thus, in the following sessions, even though the minimum size is
incorrect the first time, the dialog still opens with the good size. So the user
does not see the problem in practice, apart from the very first time.

This is meant as a temporary workaround.
2016-04-24 14:05:54 +01:00
Georg Baum
cfafffdf25 Remerge strings except for sv and fr
This is a complete remerge of strings (done with cmake) except for fr.po and
sv.po. Those files had already been remerged after the last string changes,
but they use a different sorting, so I did not want to produce an unneeded
diff.
The differences in the comment lines are a well known problem we have: The
last remerge was done on windows, mine was done on linux.
2016-04-24 10:57:36 +02:00
Georg Baum
7e75ebac45 fr.gmo for 79074e6c87 2016-04-23 11:26:28 +02:00
jpc
79074e6c87 Hopefully last update for 2.2.0 2016-04-22 22:55:47 +01:00
Georg Baum
9bd6ed876f Update sv.gmo from sv.po
This has been forgotten in 93f58cb440
2016-04-21 21:52:44 +02:00
Georg Baum
57298bf59d Update pt_BR.gmo from pt_BR.po
This has been forgotten in c46d5ccdf6
2016-04-21 21:51:12 +02:00
Uwe Stöhr
c46d5ccdf6 pt_BR.po: updates from Georger 2016-04-18 19:10:57 +02:00
Scott Kostyshak
287db1239b Fix a \origin unavailable 2016-04-16 15:20:33 -04:00
jpc
3d5cae4edd Minor rephrasing of last commit 2016-04-16 09:15:42 +01:00
Uwe Stöhr
93f58cb440 sv.po: updates for 2.2.0 from Jim 2016-04-16 01:55:40 +02:00
Guillaume Munch
744f6e3cd8 Compute the highlighting color from AlternateBase and Highlight roles (#10073) 2016-04-15 14:13:50 +01:00
Stephan Witt
87c85303c5 Improved fix for #9966
* provide GuiApplication::typewriterSystemFont() to get a fixed font consistently
* enlarge fixed font on Mac because of the too small default Qt system font
* use it in source pane, progress view, log view and document preamble editor
2016-04-15 11:49:04 +02:00
Jean-Marc Lasgouttes
4807338ba9 Remove image spellcheck-continously.svgz
It is not a proper icon and is not used currently.
2016-04-15 09:21:44 +02:00
Kornel Benko
882b7b01d0 Cmake install: Exclude some files from being installed
Files like CMakeLists.txt or *.lyx~ should not be part
of an installation.
2016-04-14 11:15:08 +02:00
Scott Kostyshak
f6dd83a936 Update ANNOUNCE
This email will be sent regarding RC1. The update adds a note that
Uwe recommends to Windows users, which is to uninstall any previous
pre-release versions before installing this newer release.
2016-04-14 02:16:47 -04:00
Uwe Stöhr
16bd45f099 installer: filelist.nsh: add necessary MSVC 2015 runtime DLLs 2016-04-14 01:52:34 +02:00
Uwe Stöhr
208b87b633 installer/ChangeLog.txt: fix a typo 2016-04-13 01:33:27 +02:00
Uwe Stöhr
239619c4f0 installer: updates for the installer for 2.2. final 2016-04-13 01:31:42 +02:00
Scott Kostyshak
d1b3d20c43 Back to development 2016-04-11 21:33:21 -04:00
Scott Kostyshak
2ed943195f This is LyX 2.2.0rc1 2016-04-11 21:31:28 -04:00
Scott Kostyshak
d28c4ae2c4 Update acmsiggraph-0-92.layout to latest format 2016-04-11 21:28:32 -04:00
Scott Kostyshak
2faca4fce6 Update ANNOUNCE for LyX2.2.0rc1 2016-04-11 20:52:47 -04:00
Scott Kostyshak
847b69ea89 lyx2lyx: Set last minor version of 2.1.x series 2016-04-11 20:41:23 -04:00
Guillaume Munch
f180e813fe Fix dataloss when flex inset is undefined.
Regression at cfeddb929. If a flex inset has no layout upon saving (e.g. if a
module has been deleted) then its name became lost. This checks whether the name
resolution, introduced with the ObsoletedBy tag, comes back empty-handed (which
it will if the layout is not defined). In this case, we do as was done before
cfeddb929.

In addition, the use of support::token to strip "Flex:" off the beginning of the
name introduces a regression if somebody used a name containing ":". This
replaces it with support::split.
2016-04-11 21:02:06 +01:00
Scott Kostyshak
7c3fd63646 Revert "AGUTeX: update layout to AGUTeX 2015 according to our new guidelines"
For why this reversion is being done, see:
https://www.mail-archive.com/search?l=mid&q=nebrfg%249t4%241%40ger.gmane.org

This reverts commit 700edf93d7.
The style correction regarding lib/Makefile.am is kept. This amends
647b106b.
2016-04-11 11:34:11 -04:00
Uwe Stöhr
ac6824e4f2 French UserGuide.lyx: restore the \origin tag 2016-04-11 00:39:53 +02:00
jpc
01ea2b5fb1 Adaptation of sections 3.3.6.2 ans 3.9.3.1 to French typography 2016-04-10 19:27:26 +01:00
Kornel Benko
b9b49d1c81 Update sk.po 2016-04-10 12:32:41 +02:00
Kornel Benko
b5e81c6370 Correct list of template files
Change to new layout for aastex6.cls removed aastex.lyx and added aastex6.lyx
2016-04-09 21:24:13 +02:00
Uwe Stöhr
070afdad64 de.po: translate new layout strings 2016-04-09 18:44:58 +02:00
Uwe Stöhr
700edf93d7 AGUTeX: update layout to AGUTeX 2015 according to our new guidelines 2016-04-09 18:38:07 +02:00
Uwe Stöhr
647b106be6 ACM siggraph: update layout as discussed 2016-04-09 18:18:04 +02:00
Uwe Stöhr
a32113e6de de.po: - translate new aastex string
- also remerge using changed lyx_pot.py file (see the discussion on the list)
2016-04-09 17:41:58 +02:00