]> git.lyx.org Git - lyx.git/log
lyx.git
7 years agoRevert "Do not crash is release mode if we stumble across an unrealized font."
Richard Heck [Mon, 18 Jul 2016 16:59:18 +0000 (12:59 -0400)]
Revert "Do not crash is release mode if we stumble across an unrealized font."

This reverts commit c560e6b3a6ae36ad9a333fe98da3b8688dfa2236.

I did not mean to comit the changes to the gmo files.

7 years agoDo not crash is release mode if we stumble across an unrealized font.
Richard Heck [Mon, 18 Jul 2016 16:56:20 +0000 (12:56 -0400)]
Do not crash is release mode if we stumble across an unrealized font.

7 years agoAdd feedback in status bar when zooming
Jean-Marc Lasgouttes [Mon, 18 Jul 2016 14:44:06 +0000 (16:44 +0200)]
Add feedback in status bar when zooming

Moreover enforce better the lower limit of 10 and avoid overflow due
to unsigned int.

Fixes bug #10212.

7 years agoWhitespace.
Juergen Spitzmueller [Mon, 18 Jul 2016 14:28:12 +0000 (16:28 +0200)]
Whitespace.

7 years agoTypo
Jean-Marc Lasgouttes [Mon, 18 Jul 2016 14:24:06 +0000 (16:24 +0200)]
Typo

7 years agoRemove obviously wrong documentation in Painter.h
Jean-Marc Lasgouttes [Mon, 18 Jul 2016 14:17:38 +0000 (16:17 +0200)]
Remove obviously wrong documentation in Painter.h

7 years agoSome things did not need to be mutable after all
Jean-Marc Lasgouttes [Mon, 18 Jul 2016 12:34:08 +0000 (14:34 +0200)]
Some things did not need to be mutable after all

7 years agoRemove mutable variable InsetTabular::offset_valign_
Jean-Marc Lasgouttes [Mon, 18 Jul 2016 10:37:14 +0000 (12:37 +0200)]
Remove mutable variable InsetTabular::offset_valign_

Introduce instead a function Tabular::offsetVAlignment() that does the
same thing.

7 years agoGet rid of InsetTabular::first_visible_cell_
Jean-Marc Lasgouttes [Mon, 18 Jul 2016 10:24:31 +0000 (12:24 +0200)]
Get rid of InsetTabular::first_visible_cell_

The code that uses it has been commented out since 2004. It is time to
delete it.

7 years agoSimplify display of InsetQuote
Jean-Marc Lasgouttes [Mon, 18 Jul 2016 10:17:01 +0000 (12:17 +0200)]
Simplify display of InsetQuote

The code that specializes for double elements in the display string
does not trigger anymore: displayString() returns a single unicode
value, plus some space for french guillemets.

Use a thin space for these french quotes instead of a plain space and
remove special case in metrics().

7 years agoautoconf: Check for C++11 and std::regex soon in LYX_PROG_CXX
Jean-Marc Lasgouttes [Mon, 18 Jul 2016 09:53:30 +0000 (11:53 +0200)]
autoconf: Check for C++11 and std::regex soon in LYX_PROG_CXX

This makes the test for std::regex a bit faster.

7 years agoThe way this was previously, it had to fail if the GUI language
Richard Heck [Mon, 18 Jul 2016 02:50:17 +0000 (22:50 -0400)]
The way this was previously, it had to fail if the GUI language
was not English: We return the the abbreviated author "One and Two",
but translated to the GUI language; then we search that for " and "
in order to pull the authors apart again.

I've just replaced the distinct routines with a single one that handles
both cases, depending upon whether a Buffer is provided as one argument.

7 years agoFix thinko that led 2-authors citations to be displayed with "et al."
Richard Heck [Mon, 18 Jul 2016 02:31:54 +0000 (22:31 -0400)]
Fix thinko that led 2-authors citations to be displayed with "et al."

7 years agoINSTALL.Win32: a typo
Uwe Stöhr [Sun, 17 Jul 2016 23:45:24 +0000 (01:45 +0200)]
INSTALL.Win32: a typo

7 years agoINSTALL.Win32: mention the new Wiki page
Uwe Stöhr [Sun, 17 Jul 2016 23:44:19 +0000 (01:44 +0200)]
INSTALL.Win32: mention the new Wiki page

7 years agoUse a more portable construct
Enrico Forestieri [Sun, 17 Jul 2016 21:50:34 +0000 (23:50 +0200)]
Use a more portable construct

Some shells do not understand the $() notation for command substitution.

7 years agoFix i18n.inc creation with some out of tree builds
Jean-Marc Lasgouttes [Sun, 17 Jul 2016 19:59:56 +0000 (21:59 +0200)]
Fix i18n.inc creation with some out of tree builds

Actually, POFILES already contains the relative path to the po files,
so that the old code was only working by chance when the source and
build directories were at same level.

7 years agoCheck path of Qt tools if qtchooser is detected
Enrico Forestieri [Sun, 17 Jul 2016 10:31:24 +0000 (12:31 +0200)]
Check path of Qt tools if qtchooser is detected

The full path of the tools is retained only if the Qt directory is
specified using --with-qt-dir. Now, when qtchooser was detected it
was blindly assumed that the corresponding system tools were being
used. These tools discriminate between Qt4 and Qt5 through the
option -qt=qt4 or -qt=qt5. However, the original Qt tools don't
understand these options, so that if they come first in the PATH,
configuration fails. So, only use those options if we are reasonably
sure that the system Qt is wanted. This is achieved by comparing the
paths of qtchooser and tools as, typically, they are located in the
same directory. In this way, if one prepends the bin directory of a
custom Qt build to PATH (and accordingly adjusts PKG_CONFIG_PATH),
configuration succeeds even if --with-qt-dir is not specified.

7 years agoAmmend c169861
Kornel Benko [Sat, 16 Jul 2016 20:03:56 +0000 (22:03 +0200)]
Ammend c169861

7 years agodoc files: remove unnecessary TeX braces
Uwe Stöhr [Sat, 16 Jul 2016 10:45:51 +0000 (12:45 +0200)]
doc files: remove unnecessary TeX braces

7 years agoMath.lyx: add shortcuts for font styles
Uwe Stöhr [Sat, 16 Jul 2016 00:31:34 +0000 (02:31 +0200)]
Math.lyx: add shortcuts for font styles

7 years agoexample files: remove unnecessary latexpar
Uwe Stöhr [Fri, 15 Jul 2016 22:24:27 +0000 (00:24 +0200)]
example files: remove unnecessary latexpar

- fixes part of bug #10068

7 years agodoc/template/examples files: port recent changes
Uwe Stöhr [Fri, 15 Jul 2016 22:11:28 +0000 (00:11 +0200)]
doc/template/examples files: port recent changes

By the way: Please only edit the files in the 2.2.x branch unless you describe a new features of LyX 2.3.

7 years agoAdd .dirstamp to the list of ignored files.
Richard Heck [Fri, 15 Jul 2016 17:36:15 +0000 (13:36 -0400)]
Add .dirstamp to the list of ignored files.

This seems to be generated by recent versions of automake. It isn't
an issue if you use a separate build directory, but not everyone
does that.

7 years agoLaTeX highlighter: make at a letter in the user preamble
Guillaume Munch [Fri, 15 Jul 2016 16:45:47 +0000 (17:45 +0100)]
LaTeX highlighter: make at a letter in the user preamble

Syntax highlighting now provides the appropriate cue that the user preamble is
inside \makeatletter…\makeatother.

7 years agoCmake build: Added code to compile with QT5.7
Kornel Benko [Fri, 15 Jul 2016 08:37:18 +0000 (10:37 +0200)]
Cmake build: Added code to compile with QT5.7

QT5.7 cmake config files explicitly instruct cmake to use `-std=gnu++11`.
This is not the same as is found by our FindCXX11Compiler.cmake,
which leads to compilation errors.
Here we overrule the setting.

Thanks to helpfull hand from Brad King <brad.king@kitware.com>

7 years agoUserGuide.lyx: port today's changes
Uwe Stöhr [Fri, 15 Jul 2016 00:56:47 +0000 (02:56 +0200)]
UserGuide.lyx: port today's changes

7 years agode.po: some translations
Uwe Stöhr [Fri, 15 Jul 2016 00:55:45 +0000 (02:55 +0200)]
de.po: some translations

7 years agodoc files: port recent changes
Uwe Stöhr [Thu, 14 Jul 2016 23:40:43 +0000 (01:40 +0200)]
doc files: port recent changes

7 years ago Fix typos in InStar module explanantions
jpc [Thu, 14 Jul 2016 21:46:12 +0000 (22:46 +0100)]
  Fix typos in InStar module explanantions

7 years agoBetter error message when try to bind a Hidden LFUN
Guillaume Munch [Tue, 5 Jul 2016 19:38:24 +0000 (21:38 +0200)]
Better error message when try to bind a Hidden LFUN

7 years agoPrioritize the shortcuts from the work areas
Guillaume Munch [Mon, 4 Jul 2016 02:23:32 +0000 (04:23 +0200)]
Prioritize the shortcuts from the work areas

* Fix bug #10261 : KDE smartly adds conflicting accelerators.

* Prevent bugs like #9495 in the future.

Issues (non-regression):

* It does not appear possible to prevent Ubuntu's Unity from grabbing the
  accelerators for the menus. For instance Alt+A still opens _Affichage in the
  French localization.

7 years agoRevert "Add qt-dir bin directory value to PATH - matching Qt tools may not found...
Stephan Witt [Thu, 14 Jul 2016 05:57:52 +0000 (07:57 +0200)]
Revert "Add qt-dir bin directory value to PATH - matching Qt tools may not found at build time anymore if not in front of PATH"

This reverts commit 535429d91445a72cc244d4649cfa5e5d4b7c06c7.

7 years agoCitation commands do not absolutely have to start with "c".
Richard Heck [Tue, 12 Jul 2016 23:38:28 +0000 (19:38 -0400)]
Citation commands do not absolutely have to start with "c".

7 years agoFix typo
José Matos [Wed, 13 Jul 2016 15:46:52 +0000 (16:46 +0100)]
Fix typo

7 years agoImprove the file format upgrade and downgrade for microtype
José Matos [Wed, 13 Jul 2016 14:01:17 +0000 (15:01 +0100)]
Improve the file format upgrade and downgrade for microtype

Add get_bool_value to parser_tools to be used in other places.
Make the upgrade convertion seamless from lyx writing the file (regarding
microtypes, there are still other dragons to chase. :-)

7 years agoAdd CMake flag for keytests and disable by default
Scott Kostyshak [Wed, 13 Jul 2016 08:51:58 +0000 (04:51 -0400)]
Add CMake flag for keytests and disable by default

The keytests were previously enabled by default if the necessary
dependencies were found. They require a GUI and mouse so can
sometimes be annoying. Further, they are not currently reliable.
They are thus now disabled by default.

7 years agoRevert "linguistics.module: add new dependencies"
Juergen Spitzmueller [Wed, 13 Jul 2016 06:00:07 +0000 (08:00 +0200)]
Revert "linguistics.module: add new dependencies"

This reverts commit 33e550a986003a243c23b0cd16e0de76b6b0d272.

7 years agoUserGuide: "Toggle Inversion" -> "Invert Inset"
Scott Kostyshak [Wed, 13 Jul 2016 02:21:58 +0000 (22:21 -0400)]
UserGuide: "Toggle Inversion" -> "Invert Inset"

Consistent with change at 6f97684d.

7 years agoDevelopment.lyx: fix a typo
Scott Kostyshak [Wed, 13 Jul 2016 02:21:51 +0000 (22:21 -0400)]
Development.lyx: fix a typo

7 years agoAdd missing dlls
Georg Baum [Tue, 12 Jul 2016 20:00:28 +0000 (22:00 +0200)]
Add missing dlls

Again thanks to racoon. This is a quick fiyx, in the long term we need to
find out why this is not done automatically.

7 years agoUpdate it.po
Enrico Forestieri [Tue, 12 Jul 2016 16:54:58 +0000 (18:54 +0200)]
Update it.po

8 years agoBranch-invert: Fix discrepancy with the outliner and document statistics
Guillaume Munch [Tue, 12 Jul 2016 13:28:12 +0000 (14:28 +0100)]
Branch-invert: Fix discrepancy with the outliner and document statistics

8 years agoBranch-invert: Record undo and update Toc
Guillaume Munch [Tue, 12 Jul 2016 13:27:40 +0000 (14:27 +0100)]
Branch-invert: Record undo and update Toc

8 years agoBranch-invert: Add a check mark to the switch in the contextual menu.
Guillaume Munch [Tue, 12 Jul 2016 13:27:08 +0000 (14:27 +0100)]
Branch-invert: Add a check mark to the switch in the contextual menu.

8 years agoUI for save_transient_properties
Guillaume Munch [Fri, 8 Jul 2016 15:36:05 +0000 (16:36 +0100)]
UI for save_transient_properties

Add a new checkbox "Save transient properties" to the "Output" panel in the
document properties dialog (now renamed as "Format").

This provides the front-end for the change at 5c2d04999.

8 years agoDocument new inverted branch insets in User Guide. Also add note to
Richard Heck [Tue, 12 Jul 2016 04:20:27 +0000 (00:20 -0400)]
Document new inverted branch insets in User Guide. Also add note to
RELEASE_NOTES.

8 years agoLFUN to toggle branch inversion status, now available from the
Richard Heck [Tue, 12 Jul 2016 04:16:05 +0000 (00:16 -0400)]
LFUN to toggle branch inversion status, now available from the
context menu.

8 years agoIntroduce "inverted" branch insets: These are branches whose content
Richard Heck [Tue, 12 Jul 2016 03:56:32 +0000 (23:56 -0400)]
Introduce "inverted" branch insets: These are branches whose content
is output when a branch is NOT activated. Fixes bug #7698.

At the moment, inversion is controlled through the branch settings
dialog. There is no provision for inserting inverted insets directly,
or for changing them from the context menu. Both of these could be
done, of course. The latter would need LFUN_BRANCH_TOGGLE_INVERTED.

8 years agoWe do not need to enter the format numbers for 2.3 at this time.
Richard Heck [Tue, 12 Jul 2016 02:48:04 +0000 (22:48 -0400)]
We do not need to enter the format numbers for 2.3 at this time.
The code just below fills thiss automatically.

(cherry picked from commit 3d8082346e16770f3af4ee6d617c8fe91e9292e1)

8 years agoCmake build: Add needed libraries if using QT5_Extras
Kornel Benko [Mon, 11 Jul 2016 17:08:11 +0000 (19:08 +0200)]
Cmake build: Add needed libraries if using QT5_Extras

Commit cb0c881 does this already for automake.

8 years agoSimplify BufferParams::bufferFormat()
Juergen Spitzmueller [Mon, 11 Jul 2016 09:18:55 +0000 (11:18 +0200)]
Simplify BufferParams::bufferFormat()

The differentiation of "xetex" and "platex" is not needed here,
is ambiguous and confusing (see #10013). The code that relies on
it can/should get its information otherwise.

Furthermore, polyglossia-exclusive languages now also work with
LuaTeX, since we support LuaTeX + polyglossia.

8 years agobuild4-2010.bat: remove outdated script
Uwe Stöhr [Mon, 11 Jul 2016 00:12:36 +0000 (02:12 +0200)]
build4-2010.bat: remove outdated script

building with MSVC 2010 won't be possible with LyX 2.3

8 years agoUpdate sk.po
Kornel Benko [Sun, 10 Jul 2016 20:16:49 +0000 (22:16 +0200)]
Update sk.po

8 years agoAmend cb0c881
Kornel Benko [Sun, 10 Jul 2016 20:14:08 +0000 (22:14 +0200)]
Amend cb0c881

8 years agoMore fixes to MSVC compilation instructions
Georg Baum [Sun, 10 Jul 2016 18:31:18 +0000 (20:31 +0200)]
More fixes to MSVC compilation instructions

Many thanks to racoon for all the patience and feedback!

8 years agoFix paste of selection to (unfocused) external applications
Enrico Forestieri [Sun, 10 Jul 2016 17:31:32 +0000 (19:31 +0200)]
Fix paste of selection to (unfocused) external applications

With both Qt4 and Qt5, when using a click-to-focus policy, the first
attempt to paste a selection by middle mouse in an external application
which has no focus may fail. It is not clear why this succeeds for some
applications and fails for others, but refreshing the timestamp of the
selection request cures the issue. The cmake part is by Kornel.

See also this thread:
http://thread.gmane.org/gmane.editors.lyx.devel/162491

8 years agoGenerate a proper error dialog title for XeTeX/LuaTeX
Juergen Spitzmueller [Sun, 10 Jul 2016 09:14:03 +0000 (11:14 +0200)]
Generate a proper error dialog title for XeTeX/LuaTeX

(see bug #10013)

Candidate for stable

8 years agoClarify some comments wrt XeTeX/LuaTeX (see bug #10013)
Juergen Spitzmueller [Sun, 10 Jul 2016 09:13:13 +0000 (11:13 +0200)]
Clarify some comments wrt XeTeX/LuaTeX (see bug #10013)

8 years agoTestcase now OK after fixing #8022
Kornel Benko [Sun, 10 Jul 2016 09:06:01 +0000 (11:06 +0200)]
Testcase now OK after fixing #8022

8 years agoDelete obsolete comment: We no longer support Qt < 4.4.
Richard Heck [Sun, 10 Jul 2016 05:43:56 +0000 (01:43 -0400)]
Delete obsolete comment: We no longer support Qt < 4.4.

8 years agoSimplify logic a bit. (This was meant to be part of a previous
Richard Heck [Sun, 10 Jul 2016 05:43:19 +0000 (01:43 -0400)]
Simplify logic a bit. (This was meant to be part of a previous
commit.)

8 years agoFix thinko in Buffer::preview. It is possible for this routine to
Richard Heck [Sun, 10 Jul 2016 05:12:42 +0000 (01:12 -0400)]
Fix thinko in Buffer::preview. It is possible for this routine to
be called when we do not have a cloned Buffer, namely, if we do not
have EXPORT_in_THREAD defined.

8 years agoOnly trim right end of lines in header. This allows us to preserve
Richard Heck [Fri, 24 Jun 2016 18:57:28 +0000 (14:57 -0400)]
Only trim right end of lines in header. This allows us to preserve
whitespace in local layout.

8 years agoRename some variables and routines.
Richard Heck [Sun, 10 Jul 2016 03:53:18 +0000 (23:53 -0400)]
Rename some variables and routines.

8 years agoFix problem with branch handling. The problem was that we were not
Richard Heck [Sun, 10 Jul 2016 03:12:32 +0000 (23:12 -0400)]
Fix problem with branch handling. The problem was that we were not
dealing properly with the paragraph separator tag.

We really need to use that tag as a kind of general marker for which
tags we're responsible for in a given paragraph and which tags we are
not. So the changes to InsetText.cpp use the tag as that kind of marker.

Note that, as of this commit, the User Guide again exports without any
kind of error. I haven't yet checked the other manuals.

This fixes bug #8022.

8 years agoUpdate XHTML debugging code a bit.
Richard Heck [Sat, 9 Jul 2016 18:28:27 +0000 (14:28 -0400)]
Update XHTML debugging code a bit.

8 years agoWrite magic paragraph label to main paragraph tag.
Richard Heck [Fri, 8 Jul 2016 20:38:37 +0000 (16:38 -0400)]
Write magic paragraph label to main paragraph tag.

8 years agoFix for recent luatex versions.
Juergen Spitzmueller [Sat, 9 Jul 2016 14:45:27 +0000 (16:45 +0200)]
Fix for recent luatex versions.

8 years agoCorrect format
Juergen Spitzmueller [Sat, 9 Jul 2016 11:57:49 +0000 (13:57 +0200)]
Correct format

8 years agoFix bug #10273
José Matos [Fri, 8 Jul 2016 15:06:03 +0000 (16:06 +0100)]
Fix bug #10273

Although this a problem that only manifests itself on windows the change is general
and it works anywhere.

The major change is to change the file redirection > to -o the specifies the output file.

At the same time it makes the call to lyx2lyx less cryptic, e.g. to revert to the 1.3
format we have:

\converter lyx lyx13x "python -tt $$s/lyx2lyx/lyx2lyx -t 221 $$i > $$o"     ""

now instead of
python -tt $$s/lyx2lyx/lyx2lyx -t 221 $$i > $$o

we use a call where the version to revert is explicit
python -tt $$s/lyx2lyx/lyx2lyx -V 1.3 -o $$o $$i

or we could write a longer, but more understandable form:
python -tt $$s/lyx2lyx/lyx2lyx --final_version 1.3 --output $$o $$i

FWIW I shuffled the order of the arguments just for the sake of readability,
to let $$i be the last argument.

8 years agoAdd comment
Juergen Spitzmueller [Fri, 8 Jul 2016 14:48:56 +0000 (16:48 +0200)]
Add comment

8 years agolinguistics: minor doc tweaks
Juergen Spitzmueller [Fri, 8 Jul 2016 11:58:32 +0000 (13:58 +0200)]
linguistics: minor doc tweaks

8 years agoAccessibility of document class combo box (#10035)
Guillaume Munch [Fri, 8 Jul 2016 10:29:26 +0000 (12:29 +0200)]
Accessibility of document class combo box (#10035)

* Access it with tab

* Access it with the accelerator from the title of the group

8 years agoCmake build: Mimic changes done in autoconf at f70dd65
Kornel Benko [Fri, 8 Jul 2016 08:58:32 +0000 (10:58 +0200)]
Cmake build: Mimic changes done in autoconf at f70dd65

8 years agoFix incompatibility of covington and beamer.
Juergen Spitzmueller [Fri, 8 Jul 2016 08:04:24 +0000 (10:04 +0200)]
Fix incompatibility of covington and beamer.

Candidate for stable.

8 years agoFix building on cygwin after 23dbcb59
Enrico Forestieri [Thu, 7 Jul 2016 21:37:14 +0000 (23:37 +0200)]
Fix building on cygwin after 23dbcb59

8 years agoAccount for the case in which Qt tools are not in PATH
Enrico Forestieri [Thu, 7 Jul 2016 21:12:07 +0000 (23:12 +0200)]
Account for the case in which Qt tools are not in PATH

If the Qt directory is specified by --with-qt-dir, the full path
of the tools is retained. Otherwise, if qtchooser is detected,
the generic names are attempted with proper arguments to select
the desired Qt version. Otherwise, the generic names with and without
proper suffixes (either -qt5 or -qt4) are checked in the PATH.

This means that --with-qt-dir=qtdir should be used only if the tools
are not in the PATH, or qtdir/bin/{moc,rcc,uic} are the right versions
for the desired Qt. In any case, it is later checked that the selected
tools are the right ones and a warning is issued if there is a mismatch.

8 years agoRevert "Skip all drawing with NoScreenUpdate strategy"
Jean-Marc Lasgouttes [Thu, 7 Jul 2016 12:21:55 +0000 (14:21 +0200)]
Revert "Skip all drawing with NoScreenUpdate strategy"

This reverts commit b874bdfd402a94428c8f5fe7ef2180146069120a.

It was commited by mistake and actually does not seem to improve
performance.

8 years agoAdd qt-dir bin directory value to PATH - matching Qt tools may not found at build...
Stephan Witt [Wed, 6 Jul 2016 23:04:09 +0000 (01:04 +0200)]
Add qt-dir bin directory value to PATH - matching Qt tools may not found at build time anymore if not in front of PATH

8 years agoUse a proper test for detecting usable std::regex
Jean-Marc Lasgouttes [Wed, 6 Jul 2016 12:49:18 +0000 (14:49 +0200)]
Use a proper test for detecting usable std::regex

The test is stolen from cmake code.

Tested on:

* ubuntu 12.04 with g++ 4.6, clang 3.3 (with libstdc++)

* ubuntu 16.04 with g++ 5.3, clang 3.7 (with libstdc++) and clang 3.7
  (with libc++)

The last combination fails, but it seems to be related to real bugs
(reported for debian), so this is OK.

8 years agoNew test to determine correct -std option for CXX compiler
Jean-Marc Lasgouttes [Wed, 6 Jul 2016 12:03:22 +0000 (14:03 +0200)]
New test to determine correct -std option for CXX compiler

The test file is stolen from cmake. The options tested are, from the
most desirable to the least desirable:
  -std=c++14 -std=c++11 "" -std=c++0x -std=gnu++14 -std=gnu++11 -std=gnu++0x

It is expected that the result will not be correct for cygwin, but
this is fixable.

8 years agoSkip all drawing with NoScreenUpdate strategy
Jean-Marc Lasgouttes [Wed, 6 Jul 2016 09:32:54 +0000 (11:32 +0200)]
Skip all drawing with NoScreenUpdate strategy

It seems that it was needed in 0b0c27ef, but nowadays the metrics are
not touched when we set this strategy.

8 years agoRecord undo when deleting end of paragraph in change tracking mode
Jean-Marc Lasgouttes [Tue, 5 Jul 2016 14:22:49 +0000 (16:22 +0200)]
Record undo when deleting end of paragraph in change tracking mode

Fixes bug #10253.

8 years agoCmake build: Split use of 3RDPARTY_BUILD to build individual libs
Kornel Benko [Tue, 5 Jul 2016 13:57:04 +0000 (15:57 +0200)]
Cmake build: Split use of 3RDPARTY_BUILD to build individual libs

The split is now analogous to automake. The individual libs are handled
analogously to already handled boost.
automake config setting cmake config settings
--with-included-iconv -DLYX_EXTERNAL_ICONV=OFF
--with-included-zlib -DLYX_EXTERNAL_Z=OFF
--with--included-hunspell -DLYX_EXTERNAL_HUNSPELL=OFF

8 years agoPoor man's profiler: add support for cache hit/miss
Jean-Marc Lasgouttes [Tue, 5 Jul 2016 13:29:28 +0000 (15:29 +0200)]
Poor man's profiler: add support for cache hit/miss

This is still very basic profiling, but it seems to get the work done.

8 years agoRevert c6ce76c2 and fix 670efa8f
Guillaume Munch [Mon, 4 Jul 2016 22:18:21 +0000 (00:18 +0200)]
Revert c6ce76c2 and fix 670efa8f

Thanks Stephan

8 years agoAutoconf : Try to select the correct Qt tools by using the -qt option
Jean-Marc Lasgouttes [Mon, 4 Jul 2016 14:22:57 +0000 (16:22 +0200)]
Autoconf : Try to select the correct Qt tools by using the -qt option

With this change, it is now possible to configure with --enable-qt5
and have make use "moc -qt=qt5" automatically.

This is done when the command qtchooser is available nd the desired Qt
version (qt4/qt5) is available.

This means that it is now possible to have qt4 and qt5 builds easily
on a same linux system.

8 years agoGerman UserGuide.lyx: backport recent changes from branch
Uwe Stöhr [Tue, 5 Jul 2016 01:02:11 +0000 (03:02 +0200)]
German UserGuide.lyx: backport recent changes from branch

8 years agodoc files: backport recent changes
Uwe Stöhr [Tue, 5 Jul 2016 00:27:36 +0000 (02:27 +0200)]
doc files: backport recent changes

8 years agoBring window to front only for single-instance mode
Enrico Forestieri [Mon, 4 Jul 2016 23:01:02 +0000 (01:01 +0200)]
Bring window to front only for single-instance mode

A window manager could be configured such that to maintain a certain
stack order for the windows. It would be annoying that opening a new
file through menu brings up the window, so do this only if we are
loading a file through the lyx-server.

8 years agofix make check.
Pavel Sanda [Mon, 4 Jul 2016 21:10:30 +0000 (14:10 -0700)]
fix make check.

8 years agoRessurect make distcheck.
Pavel Sanda [Mon, 4 Jul 2016 20:17:07 +0000 (13:17 -0700)]
Ressurect make distcheck.

8 years agoFix display of \leq, \geq, and \lnot in mathed
Enrico Forestieri [Mon, 4 Jul 2016 19:49:55 +0000 (21:49 +0200)]
Fix display of \leq, \geq, and \lnot in mathed

Commit 343a379b used a wrong syntax that was causing the display
of the above symbols as blanks.

8 years agoFix missing TexRow.h include after change 670efa8f646218f2a378f0cc614c4c37a9f6b89a
Stephan Witt [Mon, 4 Jul 2016 18:37:06 +0000 (20:37 +0200)]
Fix missing TexRow.h include after change 670efa8f646218f2a378f0cc614c4c37a9f6b89a

8 years agoAdd missing include for abs(int)
Stephan Witt [Mon, 4 Jul 2016 18:36:16 +0000 (20:36 +0200)]
Add missing include for abs(int)

8 years agoGcc 6+ use C++14 as default, so there is no need to enforce C++11
Jean-Marc Lasgouttes [Thu, 30 Jun 2016 09:15:14 +0000 (11:15 +0200)]
Gcc 6+ use C++14 as default, so there is no need to enforce C++11

Also, use gnu++11 unconditionnally with gcc as we used to do before 67385e69.

8 years agoFix missing includes after change 670efa8f646218f2a378f0cc614c4c37a9f6b89a
Stephan Witt [Mon, 4 Jul 2016 10:11:24 +0000 (12:11 +0200)]
Fix missing includes after change 670efa8f646218f2a378f0cc614c4c37a9f6b89a

8 years agoFix missing include for endl after header cleanup in change 670efa8f646218f2a378f0cc6...
Stephan Witt [Mon, 4 Jul 2016 09:04:53 +0000 (11:04 +0200)]
Fix missing include for endl after header cleanup in change 670efa8f646218f2a378f0cc614c4c37a9f6b89a

8 years agoFix missing include for file i/o prototypes after header cleanup in change 489dca71cd...
Stephan Witt [Mon, 4 Jul 2016 08:30:19 +0000 (10:30 +0200)]
Fix missing include for file i/o prototypes after header cleanup in change 489dca71cd99bbc78780fa40311a2eb042c0320e