Commit Graph

3662 Commits

Author SHA1 Message Date
Richard Kimberly Heck
a4fb675279 Version 2.3.2-1 2018-12-30 14:00:55 -05:00
Richard Kimberly Heck
d28745fd0e Need to include these in the tarball.
(cherry picked from commit 044ef5550d)
2018-12-14 20:24:09 -05:00
Richard Kimberly Heck
2e6eab9938 Remove lyx-bundle.nsi. 2018-12-09 15:04:41 -05:00
Richard Kimberly Heck
c528f47f2d Fix mingw build script so as not to use version number for exectuables.
(cherry picked from commit 72367d94ad)
2018-09-30 13:47:59 -04:00
Richard Kimberly Heck
2e4e32872f Update LyX packaging script. 2018-09-28 22:17:15 -04:00
Richard Kimberly Heck
0cbde8a834 Windows packaging updates.
The main change here is that we need to delete LyX2.3.exe and
tex2lyx2.3.exe from the install directory, so they are not left
there (from previous, versioned installs).
2018-09-28 21:54:11 -04:00
Richard Kimberly Heck
79c695806c No suffixes for binaries now. 2018-09-27 14:56:41 -04:00
Richard Kimberly Heck
98cfd22fb7 Fix build script for Windows: No suffixes. 2018-09-27 14:56:11 -04:00
Stephan Witt
1b55d4017b Check exit state of install_name_tool calls.
(cherry picked from commit 28b84f5ddc)
2018-09-22 20:33:55 +02:00
Richard Kimberly Heck
8a4a613222 typo 2018-09-10 19:21:14 -04:00
Richard Kimberly Heck
34929373bc Do not update MiKTeX database prior to configuration.
The user can do this kind of thing if they wish, but we should not
do it on their behalf. (These commands were also run whether MiKTeX
or TeXLive was installed.)
2018-09-09 12:33:09 -04:00
Richard Kimberly Heck
8c32a1a7b9 Kill off the bundled installer. 2018-09-08 19:10:17 -04:00
Richard Kimberly Heck
6f285ca28d Debugging, etc, for build script. 2018-09-08 14:24:49 -04:00
Richard Kimberly Heck
d2b442fb81 New version of Windows installer. 2018-09-06 13:35:43 -04:00
Richard Kimberly Heck
ca0055dbb9 Remove MiKTeX update warning and update version etc. 2018-08-30 16:08:11 -04:00
Richard Kimberly Heck
65bc3149ab Updates to cmake scripts needed to build with mingw on Fedora.
These are not really right. Things are hardcoded that probably should
not be. These are marked (hopefully) with "# RKH" comments. Possibly
what's needed is another flag? Anyway, help welcome.
2018-08-30 15:28:13 -04:00
Richard Kimberly Heck
dbbb7fbb78 Resource icons for Windows. 2018-08-30 15:17:27 -04:00
Richard Kimberly Heck
d73d467457 Packaging updates from 2.3.0. 2018-08-30 15:14:06 -04:00
Richard Kimberly Heck
0272ae778d Updates to build script. 2018-08-30 15:08:47 -04:00
Richard Kimberly Heck
01c23b3864 Fixes for the build script. 2018-08-28 15:18:53 -04:00
Richard Kimberly Heck
53bf5beae0 Prepare for 2.3.1. 2018-08-27 14:07:29 -04:00
Enrico Forestieri
e1fa3cb248 Update the server_monitor example client to Qt5
(cherry picked from commit ab72f94595)
2018-08-08 13:12:33 +02:00
Kornel Benko
889d10cda3 Cmake build: Adapt to compile with qt5.11
Since qt5_use_modules() is removed from QT5 (as spotted
by Jürgen Spitzmüller), we had to create own version
of this macro.

According to this page:
http://doc.qt.io/qt-5/cmake-manual.html
the way to replace use of qt5_use_modules() for module "_mod" and target "_target"
is to use
  1.) cmake_minimum_required(VERSION 3.1.0)
  2.) find_package(Qt5${_mod} CONFIG REQUIRED)
  3.) target_link_libraries(${_target} Qt5::${_mod})
The last one sets all reguired libraries, compile flags and needed includes for the ${_target}

Disable possible warn about not known policy

Extend Clang compiler detection to cover Apple CLang

(cherry picked from commit d6b21e20e2)
(cherry picked from commit 72a2f92239)
(cherry picked from commit 6343452a73)
(cherry picked from commit cb08d4a879)
(cherry picked from commit 1bf4d7b0fc)
2018-06-20 00:09:19 +02:00
Pavel Sanda
0eccf87797 lyx-build: check sig in case one really uses download instead of local tarball. 2018-06-19 23:58:19 +02:00
Richard Heck
bcb002039b Merge branch '2.3.2-staging' into 2.3.x 2018-04-14 23:52:31 -04:00
Juergen Spitzmueller
10335b93b4 Support new hunspell C++ ABI if LyX is built against hunspell >= 1.5
Fixes: #10547
2018-04-14 10:35:59 +02:00
Jean-Marc Lasgouttes
b3cca8086d Add support for enchant 2.x
As of enchant 2.x, it is required to create a Broker instance instead
of relying on a static one provided by the library.

Add autoconf and cmake (courtesy of Kornel) tests that check whether
one can indeed instantiate a Broker object, and act on the result in a
new broker() helper function.

Fixes bug #10986.

(cherry picked from commit 63a4e82874)
2018-03-19 17:33:17 +01:00
Uwe Stöhr
48aae9bcb5 Win installer: convert all files to Unicode
- at the moment some files were in Unicode, some in CP1252 which can make unnecessary troubles
- remove an obsolete file
- update InstallerStructure.odg
2018-02-18 15:52:57 +01:00
Uwe Stöhr
ae76c030d3 Win installer: backport recent changes for LyX 2.3.0 2018-02-18 06:16:22 +01:00
Jean-Marc Lasgouttes
a71610b9d7 Remove row crc computation
This computation did not make sense anymore since we began to put the
contents in the Row object. The fact that it worked was a coincidence.

Instead, we set rows as changed() on creation and reset that once they
have been drawn. This will allow in the future for a finer definition
of what to redraw or not.

Also update the PAINTING_ANALYSIS document

(cherry picked from commit 9e2da4a3ea)
2018-02-15 12:29:25 +01:00
Jean-Marc Lasgouttes
4ecbff0019 Allow multiple calls to processUpdateFlags before redraw
The goal of this commit is to ensure that a processUpdateFlags call
that requires no redraw will not override a previous one that did
require a redraw.

To this end, the semantics of the flag argument is now different: its
value is now OR'ed with a private update_flags_ variable. This
variable is only reset after the buffer view has actually been
redrawn.

A new Update::ForceRedraw flag has been added. It requires a full
redraw but no metrics computation. It is not used in the main code
(yet), but avoids to compute metrics repeatedly in consecutive
processUpdateFlags calls.

The process is now as follows:
- if flags is just None, return immediately, there is nothing to do.
- the Force flag is honored (full metrics computation) and replaced
  with ForceDraw.
- the FitCursor flag is honored and removed from the flags.
- the SinglePar update is added if ForceDraw is not in flags and only
  the current par has been modified.

The remaining flags are only then added to the BufferView update
flags, and the update strategy is computed for the next paint event.

Finally the dubious call to updateMacros in updateMetrics has been
removed for performance reasons.

(cherry picked from commit 8d8988de47)
2018-02-15 12:29:25 +01:00
Jean-Marc Lasgouttes
410605385f Remove workaround that is not necessary anymore.
This code was necessary to handle cases where the insets positions
were not yet in cache. This cannot happen anymore thanks to the
nodraw stage.
2018-02-15 12:29:25 +01:00
Jean-Marc Lasgouttes
8bb7ce4e4a Update the painting process documentation 2018-02-15 12:29:25 +01:00
Uwe Stöhr
55d5c20d93 Win installer: upgrade to Qt 5.9.4 2018-01-24 03:26:34 +01:00
Uwe Stöhr
cd8c6d4d2b build5*.bat: update to Qt 5.9.4
- also adjust build5-2015-x64.bat
2018-01-24 01:19:19 +01:00
Scott Kostyshak
968afbbadd ctests: invert for new ru example_lyxified.lyx
Consistent with the ru splash.lyx, we invert the texF tests for the
ru example_lyxified.lyx, which was recently added at 69ef4bc1.

(cherry picked from commit dc06714adb)
2018-01-18 00:03:05 -05:00
Scott Kostyshak
66b5538339 ctest comment: be more clear about what "!" means
The "!" line only affects tests in that file.

This amends c6d4380c.

Thanks to Kornel for spotting this.

(cherry picked from commit 39c22913a2)
2018-01-17 01:09:36 -05:00
Scott Kostyshak
7a9aa76a1a Comment: explain interpretation of "!"
The "!" line takes precedence, since it is first.

(cherry picked from commit c6d4380c89)
2018-01-15 17:31:48 -05:00
Scott Kostyshak
6474b0fb04 Whitespace 2018-01-15 17:07:55 -05:00
Scott Kostyshak
fcfc95e41c Merge branch 'ja_knitr_sweave_updates'
This merges updates from Koji Yokota, and adapts the ctests
accordingly.

(cherry picked from commit 299b730318)
2018-01-15 17:05:22 -05:00
Scott Kostyshak
2c20f06d25 ctests: allow excluding patterns
This allows us to exclude matches of certain patterns in
invertedTests, ignoredTests, unreliableTests, and suspendedTests.

To use this new functionality, prefix "!" to the pattern.

This functionality serves as a workaround in some cases to not being
able to use advanced regular expression techniques, such as
"negative lookahead", with CMake's regular expression engine.

Output of "ctest -N" is unchanged by this commit.

This functionality will be used soon (see next commits).

Patch from Kornel Benko.

(cherry picked from commit 10cd5dd223)
2018-01-15 16:58:59 -05:00
Uwe Stöhr
41fe69e5d0 Win installer: start an an RC2 installer
- also fix a typo and update a file size
2018-01-14 22:16:23 +01:00
Scott Kostyshak
b40e58d641 ctests: invert tests for Arabic splash
The Arabic splash only compiles with XeTeX + system fonts.

(cherry picked from commit 291d2f1037)
2017-12-18 23:33:22 -05:00
Uwe Stöhr
029b76b011 Win installer: improvement from Yuriy
- also suppress an unnecessary message
2017-12-11 00:30:31 +01:00
Uwe Stöhr
5d3811c7da Win installer: new Russian translations thanks to Yuriy 2017-12-09 19:05:17 +01:00
Uwe Stöhr
8997270a77 unix2dos.py: make it ready for python 3
fixes bug #10838
2017-12-09 00:24:20 +01:00
Uwe Stöhr
b3ad82f1f7 Win installer: code review
- use https in URLs
- remove unused code
- use variables if possible
- LyX 2.3.x won't support Windows Vista because Qt 5.9 does not and other third-party programs will follow soon
2017-12-06 15:31:10 +01:00
Uwe Stöhr
2005764402 Win installer: update rsvg-convert
- also fix some typos in the license file
2017-12-06 03:08:00 +01:00
Uwe Stöhr
1961052a2e build5-2015.bat: also update the build files for Windows 2017-11-24 00:18:48 +01:00
Uwe Stöhr
b95800898d Win installer: update to Qt 5.9.3 2017-11-24 00:13:11 +01:00