]> git.lyx.org Git - lyx.git/log
lyx.git
6 years agoFix remaining path
Kornel Benko [Thu, 26 Oct 2017 19:53:39 +0000 (21:53 +0200)]
Fix remaining path

6 years agoCmake export tests: Make test fail if there is some non-existant sub-file
Kornel Benko [Thu, 26 Oct 2017 19:48:33 +0000 (21:48 +0200)]
Cmake export tests: Make test fail if there is some non-existant sub-file

6 years agodoc files: fix some path and reference mistakes
Uwe Stöhr [Thu, 26 Oct 2017 00:20:09 +0000 (02:20 +0200)]
doc files: fix some path and reference mistakes

also replace remaining occurrences of EPS images

6 years agoJapanese EmbeddedObjects.lyx: fix image paths
Uwe Stöhr [Wed, 25 Oct 2017 23:24:08 +0000 (01:24 +0200)]
Japanese EmbeddedObjects.lyx: fix image paths

also replace remaining occurrences of EPS images

6 years agoMove some Cursor methods to CursorData
Jean-Marc Lasgouttes [Sun, 23 Jul 2017 16:13:33 +0000 (18:13 +0200)]
Move some Cursor methods to CursorData

Basically, everything that does not depend on a BufferView should move
there. Some methods that do not seem to need a BufferView, like
selHandle or IdxFirst or push actually depend on it and could not be
moved.

This allows to simplify a few uses of recordUndo helpers.

- Move some methods to DocIterator: nextMath, prevMath, getPossibleLabel,
  getEncoding;

- Move some methods to CursorData: setCursor, setCursorSelectionTo,
  (setCursorTo|normal|reset)Anchor, (set|clear)Selection,
  sel(|ection)(Begin|End), selectionAsString, info, currentState,
  (mark|clear|check)NewWordPosition, fixIfBroken, sanitize, all undo
  related methods, reset, isInside, leaveInset, current mode;

- kill some unused methods: macromode, replaceWord, setScreenPos, touch,
  markInsert, markErase;

- Move code around to group things, and add a few comments (a lot remains to be done).

This changes lead to some related changes in other classes: removal,
change of parameter.

No intended change.

6 years agoFix comment
Jean-Marc Lasgouttes [Wed, 25 Oct 2017 10:16:16 +0000 (12:16 +0200)]
Fix comment

6 years agoAllow multiple calls to processUpdateFlags before redraw
Jean-Marc Lasgouttes [Wed, 11 Oct 2017 16:00:48 +0000 (18:00 +0200)]
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.

6 years agode.po
Juergen Spitzmueller [Tue, 24 Oct 2017 06:46:51 +0000 (08:46 +0200)]
de.po

6 years agoUpdate sk.po
Kornel Benko [Mon, 23 Oct 2017 12:39:32 +0000 (14:39 +0200)]
Update sk.po

6 years agode.po
Juergen Spitzmueller [Mon, 23 Oct 2017 11:51:36 +0000 (13:51 +0200)]
de.po

6 years agoMore accurate description of fixltx2e state.
Juergen Spitzmueller [Mon, 23 Oct 2017 11:49:03 +0000 (13:49 +0200)]
More accurate description of fixltx2e state.

6 years ago Add obsolescence warning in fixltx2e description (ticket 9361)
jpc [Mon, 23 Oct 2017 07:51:08 +0000 (09:51 +0200)]
   Add obsolescence warning in fixltx2e description (ticket 9361)

6 years ago Turn 'Do not load' math option to 'Automatic' (ticket 10661)
jpc [Thu, 19 Oct 2017 12:47:51 +0000 (14:47 +0200)]
 Turn 'Do not load' math option to 'Automatic' (ticket 10661)

6 years agoImplement ParamInfo::HANDLING_LTRIM and use it to ltrim InsetBibitem
Juergen Spitzmueller [Mon, 23 Oct 2017 06:20:58 +0000 (08:20 +0200)]
Implement ParamInfo::HANDLING_LTRIM and use it to ltrim InsetBibitem
output

See #9847.

6 years agoFix math mode for InsetMathMacro on output
Guillaume MM [Sun, 8 Oct 2017 21:21:10 +0000 (23:21 +0200)]
Fix math mode for InsetMathMacro on output

After 6642152e, user macros were no longer wrapped in \ensuremath. In 2.2 and
before, InsetMathMacro behaved as follow:

* Textmode global symbols are wrapped in \text when in math.

* Other global symbols, and user macros, are wrapped in \ensuremath when in
  text.

* Undefined macros (ERT) are wrapped neither in \text nor in \ensuremath.

This is also consistent with the documentation of MathEnsurer in
mathed/MathStream.h.

This patch defines InsetMathMacro::currentMode() accordingly (respectively
TEXT_MODE, MATH_MODE and UNDECIDED_MODE) and uses it to determine the output.

After this patch, there is a mismatch between screen and pdf output for user
macros in \text. This is not a regression wrt 2.2 and is because linearization
does not satisfy currentMode() currently.

6 years agoAdditional.lyx: port today's changes
Uwe Stöhr [Sun, 22 Oct 2017 22:04:28 +0000 (00:04 +0200)]
Additional.lyx: port today's changes

6 years agoAccount for shadowed system macros
Enrico Forestieri [Sun, 22 Oct 2017 21:09:37 +0000 (23:09 +0200)]
Account for shadowed system macros

Part of #10694.

6 years agoDo not add deleted text to inset button label.
Juergen Spitzmueller [Sun, 22 Oct 2017 17:08:10 +0000 (19:08 +0200)]
Do not add deleted text to inset button label.

Fixes: #10775
6 years agoFix issue with change-tracked deleted display math
Enrico Forestieri [Sun, 22 Oct 2017 11:12:33 +0000 (13:12 +0200)]
Fix issue with change-tracked deleted display math

- If a display math not starting a new paragraph is deleted, the
  current \lyxdeleted macro (if any) must be closed and a new one
  started, otherwise the display math will be shifted up.

- Use \linewidth instead of \columnwidth because the former will adapt
  to the reduced horizontal width in list environments, avoiding shifting
  to the right the diplay math.

6 years agoUse suffixed name for desktop entry.
Kornel Benko [Fri, 20 Oct 2017 10:17:55 +0000 (12:17 +0200)]
Use suffixed name for desktop entry.

Unix only:
Using suffixed lyx, we install the lyx-desktop for different versions with
different file name, but with the same 'Name'-entry.

Selecting the desired version with the desktop menu is difficult if there
is more than one lyx version installed.

6 years agoWe do not want to trim whitespace in the fallback, either.
Richard Heck [Thu, 19 Oct 2017 14:15:03 +0000 (10:15 -0400)]
We do not want to trim whitespace in the fallback, either.

6 years agoFix bug #9847.
Richard Heck [Wed, 18 Oct 2017 16:26:35 +0000 (12:26 -0400)]
Fix bug #9847.

Spaces are, amazingly, allowed at the end of bibliography keys. So we
introduce a new parameter allowing getVectorFromString not to trim
whitespace, and then use it.

6 years agoFix small display issue with biblatex's \textcite
Juergen Spitzmueller [Wed, 18 Oct 2017 14:16:40 +0000 (16:16 +0200)]
Fix small display issue with biblatex's \textcite

6 years agoSpeed up exit time
Enrico Forestieri [Wed, 18 Oct 2017 11:12:20 +0000 (13:12 +0200)]
Speed up exit time

Instantiating a single QSettings and using it for each ui element
can significantly shorten the time required to save the various
states at exit. The speed up can be better appreciated on *nix,
where the settings are saved on disk, rather than on Windows where
they are held in memory (in the registry).

6 years agoDo not scan BibTeX files multiple times in a collectBibKeys() procedure.
Juergen Spitzmueller [Wed, 18 Oct 2017 07:20:31 +0000 (09:20 +0200)]
Do not scan BibTeX files multiple times in a collectBibKeys() procedure.

Scanning is rather slow, so this improves performance in specific
situations (multiple inclusion of larger files in master/child or
chapterbib context)

6 years agoRevert "Allow multiple calls to processUpdateFlags before redraw"
Jean-Marc Lasgouttes [Tue, 17 Oct 2017 18:10:11 +0000 (20:10 +0200)]
Revert "Allow multiple calls to processUpdateFlags before redraw"

The concept is correct, but it seems a bit too disruptive.

This reverts commit c19c54dd5b85726df1b5187616d17d5430028c16.

6 years agoCmake doc creation: Python is choking on '\\'
Kornel Benko [Tue, 17 Oct 2017 15:12:29 +0000 (17:12 +0200)]
Cmake doc creation: Python is choking on '\\'

6 years agoCmake doc creations: Correct indentation
Kornel Benko [Tue, 17 Oct 2017 10:35:57 +0000 (12:35 +0200)]
Cmake doc creations: Correct indentation

6 years agoCmake doc creations: Setting environment PYTHONIOENCODING
Kornel Benko [Tue, 17 Oct 2017 10:28:36 +0000 (12:28 +0200)]
Cmake doc creations: Setting environment PYTHONIOENCODING

This should force the python executable to use the desired encoding.
The command is moved to a wrapper script to be able to set the environment
at make-run-time.

6 years agoUse of div for labels causes validation errors. See #8843.
Richard Heck [Tue, 17 Oct 2017 01:37:36 +0000 (21:37 -0400)]
Use of div for labels causes validation errors. See #8843.

6 years agoRevert "ABOVE and CENTERED labels need special treatment."
Richard Heck [Tue, 17 Oct 2017 01:28:44 +0000 (21:28 -0400)]
Revert "ABOVE and CENTERED labels need special treatment."

This reverts commit 08bf9781ee86ea7fe2c9f3a0d670cad92807a017.

6 years agoFix bug #10556.
Richard Heck [Tue, 17 Oct 2017 00:57:04 +0000 (20:57 -0400)]
Fix bug #10556.

Update CSS for Standard layout.

6 years agoAdditional.lyx: replace quotes character by LyX quotes
Uwe Stöhr [Mon, 16 Oct 2017 22:24:53 +0000 (00:24 +0200)]
Additional.lyx: replace quotes character by LyX quotes

6 years agoReplaceValues.py: partly revert commit f075f8ad
Uwe Stöhr [Mon, 16 Oct 2017 22:23:19 +0000 (00:23 +0200)]
ReplaceValues.py: partly revert commit f075f8ad

we need a string output not a byte

6 years agoReplaceValues.py: make the file compilable with Python 3
Uwe Stöhr [Mon, 16 Oct 2017 21:29:57 +0000 (23:29 +0200)]
ReplaceValues.py: make the file compilable with Python 3

see the mailing list thread "compilation of LyX 2.3 fails with Python 3.6.2" for details

6 years agoRemove "support::" in Buffer.cpp, since we are using namespace.
Richard Heck [Mon, 16 Oct 2017 20:22:53 +0000 (16:22 -0400)]
Remove "support::" in Buffer.cpp, since we are using namespace.

6 years agoRename Paragraph::setBuffer to Paragraph::setInsetBuffers, to avoid
Richard Heck [Mon, 16 Oct 2017 02:14:08 +0000 (22:14 -0400)]
Rename Paragraph::setBuffer to Paragraph::setInsetBuffers, to avoid
confusion about what this routine does.

6 years agoFix the way that the Buffer gets set on undo.
Richard Heck [Mon, 16 Oct 2017 02:22:22 +0000 (22:22 -0400)]
Fix the way that the Buffer gets set on undo.

Previously, we went through the entire Buffer and set it for every
single inset. Now we just do it for the insets we pasted.

6 years agoAllow multiple calls to processUpdateFlags before redraw
Jean-Marc Lasgouttes [Wed, 11 Oct 2017 16:00:48 +0000 (18:00 +0200)]
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.

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

6 years agoCollapsable -> Collapsible (part 4)
Juergen Spitzmueller [Mon, 16 Oct 2017 08:30:04 +0000 (10:30 +0200)]
Collapsable -> Collapsible (part 4)

The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This last part updates the layout format and changes collapsable color.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).

6 years agoCollapsable -> Collapsible (part 3)
Juergen Spitzmueller [Mon, 16 Oct 2017 08:27:07 +0000 (10:27 +0200)]
Collapsable -> Collapsible (part 3)

The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This part addresses the po files.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).

6 years agoCollapsable -> Collapsible (part 2)
Juergen Spitzmueller [Mon, 16 Oct 2017 08:12:21 +0000 (10:12 +0200)]
Collapsable -> Collapsible (part 2)

The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This part covers the most tricky part: the internal naming.
Translations and layouts will follow.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).

6 years agoCollapsable -> Collapsible (part 1)
Juergen Spitzmueller [Mon, 16 Oct 2017 08:03:05 +0000 (10:03 +0200)]
Collapsable -> Collapsible (part 1)

The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This part only covers the usage in comments and the like. More to follow.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).

6 years agoTypo.
Richard Heck [Mon, 16 Oct 2017 02:06:02 +0000 (22:06 -0400)]
Typo.

6 years agoRevert "Fix bug #8782."
Richard Heck [Sun, 15 Oct 2017 18:10:59 +0000 (14:10 -0400)]
Revert "Fix bug #8782."

This caused slowness on undo and redo that was reported at
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg202292.html

This reverts commit 02847641a8b97a57d1866120bb446427e0bda7a4.

6 years agoRemove updateInfo() calls in favor of doing the relevant work
Richard Heck [Tue, 3 Oct 2017 21:28:35 +0000 (17:28 -0400)]
Remove updateInfo() calls in favor of doing the relevant work
in updateBuffer().

This is in response to a reported crash. See
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg202217.html
Commit af381a2f addressed the crash, and is worth doing anyway. But
this also makes sense.

Also adds a flag to tell us whether we need to recalculate the
relevant information. In some cases, there is no need to do so
more than once. (Note that, with the existing code, we *never*
recalculate, which would have given rise to bugs.)

6 years agoWin installer: one DLL was removed in Qt 5.6.3
Uwe Stöhr [Sun, 15 Oct 2017 14:52:07 +0000 (16:52 +0200)]
Win installer: one DLL was removed in Qt 5.6.3

6 years agoWin installer: update Qt
Uwe Stöhr [Sun, 15 Oct 2017 14:50:20 +0000 (16:50 +0200)]
Win installer: update Qt

- Qt 5.6.3 uses a different path name scheme
- one DLL was removed in Qt 5.6.3

6 years agoUpdate it.po
Enrico Forestieri [Sun, 15 Oct 2017 14:18:53 +0000 (16:18 +0200)]
Update it.po

6 years agoFix issue with regular expressions
Enrico Forestieri [Sun, 15 Oct 2017 13:29:33 +0000 (15:29 +0200)]
Fix issue with regular expressions

At least with gcc 6.4, if the first parameter passed to
regex_match() is afterward changed, the second one gets
corrupted. This is avoided by using a temporary string.

6 years agoUpdate sk.po
Kornel Benko [Fri, 13 Oct 2017 14:52:26 +0000 (16:52 +0200)]
Update sk.po

6 years agoupdatelayouts.py: consider citeengines.
Juergen Spitzmueller [Fri, 13 Oct 2017 14:08:23 +0000 (16:08 +0200)]
updatelayouts.py: consider citeengines.

6 years agoUpdate some more layouts
Juergen Spitzmueller [Fri, 13 Oct 2017 14:08:07 +0000 (16:08 +0200)]
Update some more layouts

6 years agoAdapt citengine to current layout format.
Juergen Spitzmueller [Fri, 13 Oct 2017 13:47:41 +0000 (15:47 +0200)]
Adapt citengine to current layout format.

6 years agode.po
Juergen Spitzmueller [Fri, 13 Oct 2017 09:43:05 +0000 (11:43 +0200)]
de.po

6 years agoSome improvements to the graphics dialog
Juergen Spitzmueller [Fri, 13 Oct 2017 09:25:55 +0000 (11:25 +0200)]
Some improvements to the graphics dialog

* Describe the viewport/bb situation more accurate
* Use generic term "coordinates", since bb and viewport are flavor-specific
* Add some tooltips
* Increase the width of the options widget.

6 years agoFix literal string in binary context
Juergen Spitzmueller [Fri, 13 Oct 2017 08:04:27 +0000 (10:04 +0200)]
Fix literal string in binary context

In 1a26f9b26cff827da5, all strings in the context of regexes and
comparisons have been converted to byte-like objects for python2/3
compatibility reasons. This has not been considered in the later
commit 5c545573507bb, which makes layout2layout break with
TypeError: can't concat str to bytes.

6 years agoFix PDF output of clipped graphics with recent graphics package
Juergen Spitzmueller [Thu, 12 Oct 2017 13:38:59 +0000 (15:38 +0200)]
Fix PDF output of clipped graphics with recent graphics package

The previous redirection of the senseless option "bb" to "viewport" in
PDFLaTeX output has been removed in a recent graphics package update.

This breaks documents, since clipped graphics silently stop displaying.

This change restores the previous output by using "viewport" instaed of
"bb" for non-PS/DVI output, while leaving PS/DVI untouched (where "bb"
and "viewport" behave differently.

Fixes: #7910
6 years agoSome improvements related to Debug::PAINTING
Jean-Marc Lasgouttes [Wed, 11 Oct 2017 15:39:02 +0000 (17:39 +0200)]
Some improvements related to Debug::PAINTING

Avoid blinking the cursor when these debug messages are active.
This avoids a lot of debug information.

6 years agofix broken comment
Jean-Marc Lasgouttes [Wed, 11 Oct 2017 15:33:45 +0000 (17:33 +0200)]
fix broken comment

6 years agoRevert "autoconf"
Jean-Marc Lasgouttes [Wed, 11 Oct 2017 10:02:25 +0000 (12:02 +0200)]
Revert "autoconf"

I did not plan to push this

This reverts commit 0bd6cc30bc30d3ae4315709c23b8aeb4bdccaf74.

6 years agoDo not forget to set cursor current font when selecting
Jean-Marc Lasgouttes [Wed, 11 Oct 2017 09:56:09 +0000 (11:56 +0200)]
Do not forget to set cursor current font when selecting

Fix several unreleated cases where the `selecting' code path did not
reset cursor font correctly. This leads to a caret that does not have
the correct size, and can cause caret droppings with the new display
scheme.

6 years agoautoconf
Jean-Marc Lasgouttes [Wed, 11 Oct 2017 09:20:22 +0000 (11:20 +0200)]
autoconf

6 years agoFix issue with language switch in Arguments insets
Enrico Forestieri [Wed, 11 Oct 2017 07:13:11 +0000 (09:13 +0200)]
Fix issue with language switch in Arguments insets

In some insets such as Arguments, a local language switch has to be
used. However, if the language inside the inset was set to be equal
to the outer language, the code decided not to switch language. But
then got confused and tried to close a switch that was never opened.
This patch forces the switch even if the outer language is the same.

6 years agoja/EmbeddedObjects.lyx: correct file path
Scott Kostyshak [Mon, 9 Oct 2017 15:18:14 +0000 (11:18 -0400)]
ja/EmbeddedObjects.lyx: correct file path

References to the central clipart directory must be prefixed with
".." for non-English manuals.

6 years agoAdd description comment for the lyxconvert utility
Stephan Witt [Mon, 9 Oct 2017 06:06:17 +0000 (08:06 +0200)]
Add description comment for the lyxconvert utility

6 years agoReset cursor before beginning reload sequence.
Richard Heck [Tue, 3 Oct 2017 21:21:21 +0000 (17:21 -0400)]
Reset cursor before beginning reload sequence.

6 years agoCmake tests: Another case of using temporary files
Kornel Benko [Sun, 8 Oct 2017 09:00:41 +0000 (11:00 +0200)]
Cmake tests: Another case of using temporary files

Ctest misinterprets '#' in filenames as comment start,

6 years agoSeminar export fails with latest TeXLive.
Günter Milde [Sun, 8 Oct 2017 08:26:33 +0000 (10:26 +0200)]
Seminar export fails with latest TeXLive.

Also update the comment on wrong output with "seminar".

6 years agoUninvert Japanese tests after fix to #8823
Scott Kostyshak [Sun, 1 Oct 2017 02:52:57 +0000 (22:52 -0400)]
Uninvert Japanese tests after fix to #8823

The export ja/lilypond_pdf fails because ps2pdf gives an error. It
is thus still inverted, under the category 'externalissues'. As
Jürgen discovered, ps2pdf succeeds if the -dNOSAFER flag is used.

Note that Kornel is seeing strange behavior with the sweave test,
and thus the label of that test might be changed soon (e.g. to
"unreliable"). For discussion, see:

https://www.mail-archive.com/search?l=mid&q=20171001032524.fr5xfngylththwv2%40steph

6 years agoCmake build: Needed variable for creation of debian package
Kornel Benko [Sat, 7 Oct 2017 08:47:17 +0000 (10:47 +0200)]
Cmake build: Needed variable for creation of debian package

The variable CPACK_DEBIAN_PACKAGE_RELEASE has to be in the form
of "^[A-Za-z0-9.+~]+$". We will use the abbreviated commit revision for now.
Without this change cmake 3.10 emits error.

6 years agoRELEASE-NOTES: reference wiki with previous notes
Scott Kostyshak [Sat, 7 Oct 2017 06:38:24 +0000 (02:38 -0400)]
RELEASE-NOTES: reference wiki with previous notes

If users are upgrading from an older version of LyX than the
previous major series, they should consult the release notes from
the releases in-between.

For more discussion on this topic, see the following mailing list
thread:

https://www.mail-archive.com/search?l=mid&q=20170902070549.47ciiszxjjqhyreq%40steph

6 years agoAdditional.lyx: update eLyXer URL
Scott Kostyshak [Sat, 7 Oct 2017 01:34:10 +0000 (21:34 -0400)]
Additional.lyx: update eLyXer URL

The previous link still worked but asked for bookmarks to be updated
to the newer URL.

Thanks to Ian Holliday for this correction.

6 years agoja/Math.lyx: correct the URL of the mhchem manual
Scott Kostyshak [Fri, 6 Oct 2017 19:06:11 +0000 (15:06 -0400)]
ja/Math.lyx: correct the URL of the mhchem manual

It was pointing to the hyperref manual.

6 years agosweave.lyx: remove ref to previous homepage
Scott Kostyshak [Fri, 6 Oct 2017 18:05:29 +0000 (14:05 -0400)]
sweave.lyx: remove ref to previous homepage

The homepage does not exist anymore. Note that R installations now
come with Sweave already installed.

We now instead reference the user manual of Sweave.

6 years agoposter-a0poster-simple.lyx: rm ref to a0poster-kh
Scott Kostyshak [Fri, 6 Oct 2017 17:50:44 +0000 (13:50 -0400)]
poster-a0poster-simple.lyx: rm ref to a0poster-kh

a0poster-kh is unmaintained and non-standard. Note that URL in the
removed \item was broken.

For more information, see discussion on list:
https://www.mail-archive.com/search?l=mid&q=20171006055205.jdicpppko3tjrlef%40steph

6 years agodocs: fix URL to hyperref manual
Scott Kostyshak [Fri, 6 Oct 2017 06:14:09 +0000 (02:14 -0400)]
docs: fix URL to hyperref manual

Our URL tests have been reporting the previous URL for a few months
as broken, and browser confirms it.

6 years agoAdd license and author infos
Stephan Witt [Thu, 5 Oct 2017 22:59:02 +0000 (00:59 +0200)]
Add license and author infos

6 years agoCmake build: Don't use temporary doc-files as source for installation
Kornel Benko [Thu, 5 Oct 2017 18:16:52 +0000 (20:16 +0200)]
Cmake build: Don't use temporary doc-files as source for installation

6 years agodocs: update URL of Astronomy & Astrophysics
Scott Kostyshak [Thu, 5 Oct 2017 03:43:47 +0000 (23:43 -0400)]
docs: update URL of Astronomy & Astrophysics

The new URL was found by visiting the root URL and clicking on
"journals".

6 years agofr/Additional.lyx: remove duplicate URL
Scott Kostyshak [Thu, 5 Oct 2017 03:40:44 +0000 (23:40 -0400)]
fr/Additional.lyx: remove duplicate URL

6 years agoAdd missing check for Qt version when using QPdfWriter class
Stephan Witt [Tue, 3 Oct 2017 20:49:23 +0000 (22:49 +0200)]
Add missing check for Qt version when using QPdfWriter class

6 years agoCmake build: Only use the new lyxconvert on MAC
Kornel Benko [Tue, 3 Oct 2017 20:12:23 +0000 (22:12 +0200)]
Cmake build: Only use the new lyxconvert on MAC

6 years agoUpdate noweb URL in docs
Scott Kostyshak [Tue, 3 Oct 2017 19:17:43 +0000 (15:17 -0400)]
Update noweb URL in docs

Norman Ramsey is now at Tufts, and URLs to his websites at previous
institutions are broken. The new link gives the same information as
the old links did (verified with web.archive.org).

6 years agoHebrew tutorial: update link to Hebrew set up
Scott Kostyshak [Tue, 3 Oct 2017 03:32:19 +0000 (23:32 -0400)]
Hebrew tutorial: update link to Hebrew set up

Dekel Tsur has a webpage with information on getting set up with
using Hebrew with LaTeX and LyX. We link to that webpage from our
Hebrew Tutorial. He appears to have changed universities, and the
new link gives the same information as the old link did (verified
with web.archive.org).

6 years agoLaTeXConfig.lyx: fix URL of AEA author guide
Scott Kostyshak [Tue, 3 Oct 2017 03:15:02 +0000 (23:15 -0400)]
LaTeXConfig.lyx: fix URL of AEA author guide

Our URL tests have been reporting the previous URL for a few months
as broken, and browser confirms it.

6 years agoMath.lyx: fix URL of amsguide.pdf
Scott Kostyshak [Tue, 3 Oct 2017 03:07:51 +0000 (23:07 -0400)]
Math.lyx: fix URL of amsguide.pdf

Our URL tests have been reporting the previous URL for a few months
as broken, and browser confirms it.

6 years agoUserGuide.lyx: accept and distribute today's changes
Uwe Stöhr [Mon, 2 Oct 2017 23:15:32 +0000 (01:15 +0200)]
UserGuide.lyx: accept and distribute today's changes

6 years agoCreate new method GuiWorkArea::Private:::updateCaretGeometry
Jean-Marc Lasgouttes [Mon, 2 Oct 2017 15:07:31 +0000 (17:07 +0200)]
Create new method GuiWorkArea::Private:::updateCaretGeometry

This replaces a showCaret/hideCaret pair and avoids an update.

Also remove an update() call in resizeBufferView: is is not necessary
since we are already in a pintEvent handler.

6 years agocmake tests: Try to use valid locales for testing
Kornel Benko [Mon, 2 Oct 2017 08:35:57 +0000 (10:35 +0200)]
cmake tests: Try to use valid locales for testing

6 years agoRestore compilation of ja/Additional.lyx
Scott Kostyshak [Mon, 2 Oct 2017 04:40:28 +0000 (00:40 -0400)]
Restore compilation of ja/Additional.lyx

Remove a system-dependent path.

6 years agoAdd suffixed lyxconvert to cmake build.
Kornel Benko [Mon, 2 Oct 2017 00:00:47 +0000 (02:00 +0200)]
Add suffixed lyxconvert to cmake build.

This should amend f93ec4a, but is not tested on apple

6 years agoSet default format to "default" for Japanese docs
Scott Kostyshak [Sun, 1 Oct 2017 17:18:08 +0000 (13:18 -0400)]
Set default format to "default" for Japanese docs

Consistent with 27165841.

6 years agoAdd Qt-based fallback-converter for Mac to compensate missing ImageMagick convert...
Stephan Witt [Sat, 30 Sep 2017 16:13:21 +0000 (18:13 +0200)]
Add Qt-based fallback-converter for Mac to compensate missing ImageMagick convert utility

6 years agoImprove the logic of caret repainting
Jean-Marc Lasgouttes [Fri, 29 Sep 2017 08:29:39 +0000 (10:29 +0200)]
Improve the logic of caret repainting

For some reason the existing code only considered the bottom row that
contained the cursor. There is no need for that, and actually it
caused painting problems in nested insets.

Tweak the logic of repaint_caret_row_ a bit: there is no need for
repainting when there is currently no caret on screen.

6 years agoAvoid empty space above the top of the document
Jean-Marc Lasgouttes [Thu, 28 Sep 2017 11:31:41 +0000 (13:31 +0200)]
Avoid empty space above the top of the document

If the height of the first row of the document has become smaller (for
example when it contains an image which size has shrunk), that the
anchor offset has to be adapted so that there is not a large blank
space at the top of the document.

6 years agoFix crash when closing master with children and grandchildren
Juergen Spitzmueller [Thu, 28 Sep 2017 07:06:33 +0000 (09:06 +0200)]
Fix crash when closing master with children and grandchildren

In some cases, it is possible that the BufferPositionMap has
dangling pointers. We thus check whether the Buffer is loaded
before accessing it.

Fixes: #10766
(cherry picked from commit 4f50cbcfe405a840459be8682fd4c7521b235798)

6 years agoFix bad refresh when changing zoom level
Jean-Marc Lasgouttes [Wed, 27 Sep 2017 15:52:06 +0000 (17:52 +0200)]
Fix bad refresh when changing zoom level

Replace the tricky code in LFUN_SCREEN_FONT_UPDATE and replace it with
proper use of DispatchResult flags.

LFUN_BUFFER_ZOOM* does not need to call LFUN_SCREEN_FONT_UPDATE, since
it already does everything that is required.

6 years agoWhitespace cosmetics
Juergen Spitzmueller [Wed, 27 Sep 2017 16:05:58 +0000 (18:05 +0200)]
Whitespace cosmetics

(cherry picked from commit 745b43784ce1b6981fd31f6c5f5fbd489eef51f4)

6 years agoCleanup some icons
Enrico Forestieri [Tue, 26 Sep 2017 19:01:47 +0000 (21:01 +0200)]
Cleanup some icons

- remove empty text
- convert texts to paths