]> git.lyx.org Git - lyx.git/log
lyx.git
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.

(cherry picked from commit 9df59aac63bbb56d9d5f5ddcccfaa3ebace2f03d)

6 years agoDo not presume what the defaults for a new QPainter are
Jean-Marc Lasgouttes [Mon, 18 Sep 2017 09:21:18 +0000 (11:21 +0200)]
Do not presume what the defaults for a new QPainter are

(cherry picked from commit 275d306c73e3e0f60e0742adbcb06cce98c48ee5)

6 years agoRemember correctly pixel ratio used for painting
Jean-Marc Lasgouttes [Mon, 18 Sep 2017 08:58:07 +0000 (10:58 +0200)]
Remember correctly pixel ratio used for painting

This avoids endless resize issues on HiDPI systems (e.g. Retina Mac).

Rename pixel_ratio_ to last_pixel_ratio_ to emphasize that this is a
cached value.

Inline needResize method to make the logic clearer in paintEvent.

(cherry picked from commit 6532e5104dfad5416817d89a5f91e53c30cdd523)

6 years agoCompute metrics when graphics is updated
Jean-Marc Lasgouttes [Thu, 14 Sep 2017 13:50:30 +0000 (15:50 +0200)]
Compute metrics when graphics is updated

Remove the old schedule_redraw_ mechanism that was only useful because
of our synchronous drawing code. Now that actual painting is
scheduled instead of forced, it becomes pointless.

Rename WorkArea::redraw(bool) to scheduleRedraw(bool), to show that
the drawing is not done right away.

In GuiView::updateInset, call scheduleRedraw(true), so that metrics
are correctly computed (this was the whole point of the exercise).

(cherry picked from commit a31d3dc67dce9655bee9f1b0a2bc2188d7d97453)

6 years agoUpdate insets position in cache in more cases
Jean-Marc Lasgouttes [Wed, 30 Aug 2017 16:05:16 +0000 (18:05 +0200)]
Update insets position in cache in more cases

This patch makes sure that, every time a ParagraphMetrics has its
position set, the inset positions for the insets held by this
paragraph are remembered too.

This is complementary to BufferView::updatePosCache, but I do not have
hard evidence that this is required other than to increase robustness.
It may help in some cases when scrolling the document (scrollbar,
cursor up/down, page up/down).

6 years agoRename more instances of "cursor" to "caret"
Jean-Marc Lasgouttes [Thu, 24 Aug 2017 15:37:56 +0000 (17:37 +0200)]
Rename more instances of "cursor" to "caret"

Thanks to Pavel for the hint.

6 years agoRemove workaround that is not necessary anymore.
Jean-Marc Lasgouttes [Sun, 23 Jul 2017 13:50:35 +0000 (15:50 +0200)]
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.

6 years agoUpdate the painting process documentation
Jean-Marc Lasgouttes [Sun, 23 Jul 2017 10:39:26 +0000 (12:39 +0200)]
Update the painting process documentation

6 years agoMake input methods support great again
Jean-Marc Lasgouttes [Sat, 22 Jul 2017 22:56:27 +0000 (00:56 +0200)]
Make input methods support great again

This unbreaks input methods by splitting the part of the code that
does the actual drawing to a separate paintPreeditText() method which
is called from paintEvent().

The proper solution would have been to introduce the preedit string in
the Row object, like is done for completion, but this is too complex
to do at this point.

The only change in behavior is that now the commit string is inserted
in one fell swoop, intead of emulating a number of key events.

6 years agoCleanup and simplify WorkArea code
Jean-Marc Lasgouttes [Fri, 21 Jul 2017 23:19:45 +0000 (01:19 +0200)]
Cleanup and simplify WorkArea code

Rename cursor to caret to in order to avoid ambiguity. The caret is
now the blinking thing only.

Remove unused header contents, and some not so useful methods.

No intended change of behavior.

6 years agoFix caret painting
Jean-Marc Lasgouttes [Thu, 20 Jul 2017 21:31:05 +0000 (23:31 +0200)]
Fix caret painting

The trick is to remember in BufferView what has been done at the
previous draw, so that the row that contained the caret can be
repainted if needed.

To this end, add an argument paint_caret to BufferView, although
painting the caret is not the job of the BufferView (at this point).

BufferView::needRepaint will act as an interface with
TextMetrics::drawParagraph to know whether the painting of a given
row should be forced.

Currently everything is done at the top row level, so that, if the
caret is in a large table, the whole table will have to be repainted.
It is not clear yet that this is necessary.

6 years agoDo the actual drawing in the paint event
Jean-Marc Lasgouttes [Fri, 8 Sep 2017 14:55:11 +0000 (16:55 +0200)]
Do the actual drawing in the paint event

Historically, because of two-stage drawing, LyX has been painting on a
Pixmap, and this pixmap is copied to screen at paint event time.

Now that we have three-stage drawing, it is possible to delay the
painting to actual paint event and avoid the intermediate Pixmap.

Known bug: the cursor is never erased.

6 years agothree-stage drawing: add a nodraw stage
Jean-Marc Lasgouttes [Sat, 15 Jul 2017 23:25:03 +0000 (01:25 +0200)]
three-stage drawing: add a nodraw stage

Normally the two stages of drawing are
1/ compute metrics of insets/rows/paragraphs/mathrow...
2/ draw the elements and cache their positions

Now the three stages are
1/ metrics
2/ nodraw: do not draw the elements, but cache their position
3/ draw the elements (and store again their position; it does not
   seems to hurt performance).

Revive the NullPainter: this replaces the setDrawingEnabled mechanism
with a painter that does nothing. The advantage is that updatePosCache
(renamed from setPosCache) does not need anymore to be invoked from
the frontend.

updatePosCache (the nodraw stage) is called at the end of
BufferView::updateMetrics.

6 years agoImplement buffer-anonymize more efficiently
Jean-Marc Lasgouttes [Thu, 15 Feb 2018 11:07:33 +0000 (12:07 +0100)]
Implement buffer-anonymize more efficiently

The work is done now in Paragraph::anonymize().

Move the handling of the lfun to Buffer class.

Document the new feature in release notes.

(cherry picked from commit 1dba36c7cec6aeec2576e7a99e2967e867076a01)

6 years ago* status.23x
Pavel Sanda [Thu, 15 Feb 2018 10:56:34 +0000 (11:56 +0100)]
* status.23x

6 years agoforgotten glitch
Pavel Sanda [Sat, 3 Feb 2018 21:43:00 +0000 (22:43 +0100)]
forgotten glitch

6 years agoLFUN_DOC_ANONYMIZE -> LFUN_BUFFER_ANONYMIZE per JMarc's suggestion.
Pavel Sanda [Sat, 3 Feb 2018 21:05:49 +0000 (22:05 +0100)]
LFUN_DOC_ANONYMIZE -> LFUN_BUFFER_ANONYMIZE per JMarc's suggestion.

6 years agoAdd LFUN_DOC_ANONYMIZE, quick fix for #7259.
Pavel Sanda [Fri, 2 Feb 2018 22:42:56 +0000 (23:42 +0100)]
Add LFUN_DOC_ANONYMIZE, quick fix for #7259.

Backport from master.

6 years agoImplement display of roots more faithfully
Jean-Marc Lasgouttes [Mon, 4 Dec 2017 09:44:49 +0000 (10:44 +0100)]
Implement display of roots more faithfully

This is a follow-up to 758de957.

- unify the metrics and drawing of \sqrt and \root using helper
  functions mathed_root_metrics and mathed_draw_root.

- compute the vertical spacing above the nucleus of the root following
  rule 11 of the TeXbook. In particular, it is different in inline and
  display style.

- draw the root glyph without hard-coded pixel values. Make the line
  width depend on the zoom.

more work is needed to implement properly rule 11:

- Ideally, we should use sqrt glyphs from the math fonts. Note that
  then we would get rule thickness from there.

- The positioning of the root MathData is arbitrary. It should
  follow the definition of \root...\of... in The Texbook in
  Apprendix B page 360.

Fixes bug #10814.

(cherry picked from commit 16af6e7c5067fff0873587af30833e0b8006c435)
(cherry picked from commit 6cb6f78ae9050140c75af089350cd7cccc0b58e1)

6 years agoImprove UndoGroupHelper and use it more
Jean-Marc Lasgouttes [Wed, 13 Dec 2017 10:10:49 +0000 (11:10 +0100)]
Improve UndoGroupHelper and use it more

Now the helper class contains logic that checks whether buffer are
known before closing them. This avoids potential crashes.

Use it in different places to siplify code. It is not clear at this
point whether it should be used everywhere.

Followup to bug #10847.

(cherry picked from commit cd9e42dc3529980257d2b0fe6fd623fd2b99a1e6)

6 years agoBetter handling of multiple buffers in UndoGroupHelper
Jean-Marc Lasgouttes [Wed, 29 Nov 2017 13:10:33 +0000 (14:10 +0100)]
Better handling of multiple buffers in UndoGroupHelper

It may happen that the buffers are visited in order buffer1,
buffer2, buffer1. In this case, we want to have only one undo group
in buffer1. The solution is to replace buffer_ with a set<Buffer*>.

A use case among others is InsetLabel::updateReferences.

(cherry picked from commit cc7364dfc50c399e99158fd9efe2f3eb0e6f4570)

6 years agoHandle properly top/bottom of inset with mac-like cursor movement
Jean-Marc Lasgouttes [Sat, 15 Jul 2017 15:23:22 +0000 (17:23 +0200)]
Handle properly top/bottom of inset with mac-like cursor movement

The correct behavior is to go to position 0 going up from first row,
and to end of row when going down on last row.

The targetx value of the cursor is not updated, which makes cursor
movement more natural.

Fixes bug #10701.

(cherry picked from commit 34285cc6830b061c18998bff8385092a311170a8)

6 years agoRELEASE-NOTES: correct sorting
Uwe Stöhr [Wed, 14 Feb 2018 13:51:57 +0000 (14:51 +0100)]
RELEASE-NOTES: correct sorting

6 years agoUserGuide.lyx: document the removal of the pixmap cache for all languages
Uwe Stöhr [Wed, 14 Feb 2018 13:50:08 +0000 (14:50 +0100)]
UserGuide.lyx: document the removal of the pixmap cache for all languages

6 years agoRELEASE-NOTES: Greek is not dropped
Uwe Stöhr [Wed, 14 Feb 2018 13:48:22 +0000 (14:48 +0100)]
RELEASE-NOTES: Greek is not dropped

6 years ago* RELEASE-NOTES
Pavel Sanda [Wed, 14 Feb 2018 10:11:28 +0000 (11:11 +0100)]
* RELEASE-NOTES

6 years agoDisable and hide the pixmap cache feature
Jean-Marc Lasgouttes [Mon, 12 Feb 2018 10:12:50 +0000 (11:12 +0100)]
Disable and hide the pixmap cache feature

6 years agoUpdated Basque localization by Iñaki Larrañaga Murgoitio
Juergen Spitzmueller [Tue, 13 Feb 2018 17:34:41 +0000 (18:34 +0100)]
Updated Basque localization by Iñaki Larrañaga Murgoitio

6 years agoAlso fix chapter layout in tufte-book.
Richard Heck [Mon, 12 Feb 2018 21:29:54 +0000 (16:29 -0500)]
Also fix chapter layout in tufte-book.

(cherry picked from commit 5f1b32f8c5770c316f3fcb107b0ad88f910e3617)

6 years agoFix crash when citeengine is unknown.
Richard Heck [Mon, 12 Feb 2018 21:26:27 +0000 (16:26 -0500)]
Fix crash when citeengine is unknown.

(cherry picked from commit 5ee3396459602e0982234cab064c5c960af7e4fc)

6 years agoFixing painting regression - chapter top spacing.
Pavel Sanda [Mon, 12 Feb 2018 20:14:56 +0000 (21:14 +0100)]
Fixing painting regression - chapter top spacing.

https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg203685.html

6 years ago* layouttranslations - eu & sv changes.
Pavel Sanda [Mon, 12 Feb 2018 20:22:03 +0000 (21:22 +0100)]
* layouttranslations - eu & sv changes.

6 years agoMerge branch '2.3.x' of git.lyx.org:lyx into 2.3.x
Uwe Stöhr [Mon, 12 Feb 2018 18:04:25 +0000 (19:04 +0100)]
Merge branch '2.3.x' of git.lyx.org:lyx into 2.3.x

6 years agoru.po: some corrections by Yuriy
Uwe Stöhr [Mon, 12 Feb 2018 18:04:08 +0000 (19:04 +0100)]
ru.po: some corrections by Yuriy

6 years agoFix autotools build after AGUTeX.lyx reocation
Juergen Spitzmueller [Mon, 12 Feb 2018 17:57:45 +0000 (18:57 +0100)]
Fix autotools build after AGUTeX.lyx reocation

6 years agoCustomization.lyx: distribute all tracked changes
Uwe Stöhr [Mon, 12 Feb 2018 17:51:48 +0000 (18:51 +0100)]
Customization.lyx: distribute all tracked changes

6 years agoUpdated Basque localization by Iñaki Larrañaga Murgoitio
Juergen Spitzmueller [Mon, 12 Feb 2018 15:41:21 +0000 (16:41 +0100)]
Updated Basque localization by Iñaki Larrañaga Murgoitio

6 years ago Remove sections 6.7 and 6.4 from Additional manual (obsolete classes egs and...
jpc [Mon, 12 Feb 2018 10:30:18 +0000 (11:30 +0100)]
   Remove sections 6.7 and 6.4 from Additional manual (obsolete classes egs and aguplus)
       Edit LaTeXConfig.lyx accordingly
       Move teaplates/AGUTeX.lyx to teaplates/obsolete

6 years agobiblatex-natbib.citeengine: Remove erroneous blank
Juergen Spitzmueller [Sun, 11 Feb 2018 15:43:14 +0000 (16:43 +0100)]
biblatex-natbib.citeengine: Remove erroneous blank

(cherry picked from commit b0ecfebad438358b09d239bd634b2ebac7985221)

6 years agoru.po: is now 100% translated
Uwe Stöhr [Sat, 10 Feb 2018 18:34:29 +0000 (19:34 +0100)]
ru.po: is now 100% translated

big respect to Yuriy!

6 years agoFix race condition in processFuncRequestQueue
Juergen Spitzmueller [Sat, 10 Feb 2018 14:35:12 +0000 (15:35 +0100)]
Fix race condition in processFuncRequestQueue

The issue here was that the element was only removed from the queue
after the func request was processed, but within that process, other
function could access the queue, so the queue could even be empty
when this function finally wanted to remove the item.

Fixes: #10406.
(cherry picked from commit dadec50a18d92d24d42e1ccf7474f07a2a66b5b4)

6 years agoAvoid an infinite loop
Enrico Forestieri [Fri, 9 Feb 2018 22:35:33 +0000 (23:35 +0100)]
Avoid an infinite loop

When pasting "\big" without any following delimiter, avoid
processing the same token again and again. For unknown reasons,
the delim docstring turns out to always be not empty: even when
it simply contains a '0' (no delimiter follows), its length is 1.

Fixes bug #11027.

(cherry picked from commit 8e8b3f610495493f4f1bff3f4a0ff48f4eab4539)

6 years agoFix child document regex in scanLogFile
Juergen Spitzmueller [Fri, 9 Feb 2018 10:42:18 +0000 (11:42 +0100)]
Fix child document regex in scanLogFile

Several problems:
* The regex failed at names such as 1_text_2_text.tex
  (returned "2_text.tex)
* The regex failed at names such as 12_text.tex
  (returned "2_text.tex)
* Masters with digits in the name (2018_text.tex) were
  tracked as their own children

(cherry picked from commit 398e026250f6d7d1687bdf04a8a27a61946d088f)

6 years agotex2lyx: normalize bib and bst paths
Juergen Spitzmueller [Fri, 9 Feb 2018 12:23:50 +0000 (13:23 +0100)]
tex2lyx: normalize bib and bst paths

Fixes: #7637
(cherry picked from commit 3cc98a9bf6ed506d04b502863d6424d36cb778b5)

6 years agoConsider class-provided citation engines
Juergen Spitzmueller [Thu, 8 Feb 2018 12:25:19 +0000 (13:25 +0100)]
Consider class-provided citation engines

Do not attempt to load, nor allow to set, a different engine in this
case.

Fixes: #11022
(cherry picked from commit 2f6ada6644614df5f402efc7cbc1d27911b45376)

6 years agoReset cur.pit() when pasting into tables.
Juergen Spitzmueller [Thu, 8 Feb 2018 18:06:35 +0000 (19:06 +0100)]
Reset cur.pit() when pasting into tables.

The number of paragraphs can change here, so pit() can become invalid.

Fixes: #9983
(cherry picked from commit 6e4e0869006aa4c225162164aaa14a70d041facf)

6 years agoRevert "Mark follow-up paragraphs in a paragraph group as nested."
Juergen Spitzmueller [Thu, 8 Feb 2018 16:09:15 +0000 (17:09 +0100)]
Revert "Mark follow-up paragraphs in a paragraph group as nested."

This reverts commit 70d580fea7c0d3e914a56b9a52b401b9f948e78d.

6 years agoDo not show "Abstract" label in KOMA classes
Juergen Spitzmueller [Tue, 6 Feb 2018 17:39:00 +0000 (18:39 +0100)]
Do not show "Abstract" label in KOMA classes

This is not output by those classes (per default).

(cherry picked from commit 9b23b49d41a17054050e9b98d8cc9bf642026448)

6 years agoAdd missing connection.
Juergen Spitzmueller [Tue, 6 Feb 2018 11:45:22 +0000 (12:45 +0100)]
Add missing connection.

This activates the OK/Apply when a biblatex style file is changed
manually

(cherry picked from commit 6236bcb653f36336b62d4c48769b2d60ec13a0dc)

6 years agoru.po: translations from Yuriy
Uwe Stöhr [Sun, 4 Feb 2018 22:40:37 +0000 (23:40 +0100)]
ru.po: translations from Yuriy

6 years agopo files: remerge again some files
Uwe Stöhr [Sun, 4 Feb 2018 14:33:50 +0000 (15:33 +0100)]
po files: remerge again some files

I have seen that line numbers changed in the meantime, therefore help the translators whose files are not yet 100% translated a bit

6 years agoar.po: updates from Hatim
Uwe Stöhr [Sun, 4 Feb 2018 14:23:36 +0000 (15:23 +0100)]
ar.po: updates from Hatim

6 years agoEnable CompressorProxy for all Workareas (incl. EmbeddedWorkarea)
Juergen Spitzmueller [Thu, 1 Feb 2018 13:58:49 +0000 (14:58 +0100)]
Enable CompressorProxy for all Workareas (incl. EmbeddedWorkarea)

This fixes the Advanced F&R.

(cherry picked from commit 5ce36019e591fbdf4a0cb3e44f3f9e2dc662be89)

6 years agosv.po: updates from Jim
Uwe Stöhr [Fri, 2 Feb 2018 20:30:09 +0000 (21:30 +0100)]
sv.po: updates from Jim

6 years agoDouble escape binary regexes in module and citeengine searches.
Richard Heck [Fri, 2 Feb 2018 03:08:55 +0000 (22:08 -0500)]
Double escape binary regexes in module and citeengine searches.

See previous commit for explanation.

(cherry picked from commit 0e3d20929570729d2db5cd3b4b930e5234b426ac)

6 years agoDouble escape binary regex in lyx2lyx and fix line-ending problem.
Richard Heck [Fri, 2 Feb 2018 02:58:29 +0000 (21:58 -0500)]
Double escape binary regex in lyx2lyx and fix line-ending problem.

When we switched from r'...' to b'...', this required strings used
as input to re.compile to be double-escaped. It's not an issue with
"\s", because "\s" has no special meaning in a string.

Also, printing in binary mode did not output a line ending.

(cherry picked from commit 6b5a7116cd6697d1121a5ffb76d54102a8e265ba)

6 years agoFrench docs: remove a file that was accidentally committed
Uwe Stöhr [Thu, 1 Feb 2018 04:18:51 +0000 (05:18 +0100)]
French docs: remove a file that was accidentally committed

6 years agopt_BR.po: updates from Georger
Uwe Stöhr [Thu, 1 Feb 2018 04:10:06 +0000 (05:10 +0100)]
pt_BR.po: updates from Georger

- He also reviewed layouttranslations and says it is OK

6 years ago Remove unappropriate French style command from preamble
jpc [Wed, 31 Jan 2018 16:48:04 +0000 (17:48 +0100)]
      Remove unappropriate French style command from preamble

6 years agoFrench docs: port Günter's changes to branch
Uwe Stöhr [Wed, 31 Jan 2018 04:46:58 +0000 (05:46 +0100)]
French docs: port Günter's changes to branch

Günter please always commit to the current branch except it is a change that describes a new feature in master

6 years agoru.po: more translations from Yuriy
Uwe Stöhr [Wed, 31 Jan 2018 04:41:58 +0000 (05:41 +0100)]
ru.po: more translations from Yuriy

6 years agoOnce more, the libertine font package has been renamed.
Juergen Spitzmueller [Tue, 30 Jan 2018 07:16:06 +0000 (08:16 +0100)]
Once more, the libertine font package has been renamed.

Take the newest one, if present.

Candidate for 2.3.x.

(cherry picked from commit 7e071f14b9394d1e8e974ba5d19c61921c203f5b)

6 years ago Translation of sections 6.4 (aguplus) and 6.7 (egs)
jpc [Tue, 30 Jan 2018 14:09:23 +0000 (15:09 +0100)]
  Translation of sections 6.4 (aguplus) and 6.7 (egs)

      Note that both sections are oudated
      since 2016 for aguplus and 2002 for egs
      I added notes avout this in the French version of the manual

6 years agoMake sure to add at least one element in row if possible
Jean-Marc Lasgouttes [Sat, 27 Jan 2018 11:29:27 +0000 (12:29 +0100)]
Make sure to add at least one element in row if possible

breakRow should only produce an empty row when there is nothing left
in the paragraph.

Fixes bug #10996.

(cherry picked from commit 253b935f65759ba15b6af02117f8316e2aaf676e)

6 years agoRemove 'premature optimization' that proved buggy
Jean-Marc Lasgouttes [Wed, 3 Jan 2018 17:28:55 +0000 (18:28 +0100)]
Remove 'premature optimization' that proved buggy

At some time it seemed like a good idea in breakRow() to return early
when the row was bound to be empty. It turns out that this creates two
symptoms:

* empty paragraphs will not have an end of paragraph marker

* since row width is not correctly computed in this case, caret ghosts
  can appear in master.

This commit removes the oprimization and replace the do {} while()
construct to a straightforward while() {}.

Related to bug #10952.

(cherry picked from commit 76f0a3dd4ee5c7958c6dea79628ef8c2ac2c59bd)

6 years agoDocument B_ in cite style definitions
Juergen Spitzmueller [Sat, 27 Jan 2018 13:53:18 +0000 (14:53 +0100)]
Document B_ in cite style definitions

(cherry picked from commit 8a08a19122c8319cd8761e32c582ec2f42f20034)

6 years agoDifferentiate Buffer strings and GUI strings in citeengines
Juergen Spitzmueller [Sat, 27 Jan 2018 13:26:36 +0000 (14:26 +0100)]
Differentiate Buffer strings and GUI strings in citeengines

The former need to be translated to the buffer language, the latter to
the GUI language.

Fixes: #10946
(cherry picked from commit 5db4d712ef660273c1c12f211fdb4adf5a792ec3)

6 years agoAdd Bibliography to the Outliner.
Juergen Spitzmueller [Mon, 29 Jan 2018 08:09:51 +0000 (09:09 +0100)]
Add Bibliography to the Outliner.

Fixes: #11001, #7724.
(cherry picked from commit fc2d8238dc5e589220e68766975b5438f1e57251)

6 years agoFrench EmbeddedObjects.lyx: sync document settings with English version
Uwe Stöhr [Mon, 29 Jan 2018 14:09:41 +0000 (15:09 +0100)]
French EmbeddedObjects.lyx: sync document settings with English version

- English EmbeddedObjects.lyx: correct a typo

6 years agoRevert "Fix bug #11055."
Richard Heck [Mon, 29 Jan 2018 04:51:40 +0000 (23:51 -0500)]
Revert "Fix bug #11055."

This reverts commit 0be5ae123c212f544ace41fa94a2149c0973595b.

Unintentionally committed. Sorry!!

6 years agoFix bug #11055.
Richard Heck [Mon, 29 Jan 2018 04:33:45 +0000 (23:33 -0500)]
Fix bug #11055.

See also https://marc.info/?l=lyx-devel&m=151709211602688&w=2.

(cherry picked from commit d3ee87eea282ca6e8f0a78bc6a0e27b4f0942624)

6 years agoBack to development
Scott Kostyshak [Mon, 29 Jan 2018 02:44:36 +0000 (21:44 -0500)]
Back to development

6 years agoThis is LyX 2.3.0rc2 2.3.0rc2
Scott Kostyshak [Mon, 29 Jan 2018 02:42:33 +0000 (21:42 -0500)]
This is LyX 2.3.0rc2

6 years agoRemerge strings for 2.3.0rc2
Scott Kostyshak [Mon, 29 Jan 2018 02:42:32 +0000 (21:42 -0500)]
Remerge strings for 2.3.0rc2

6 years agoUpdate docs to 2.3.0rc2 format
Scott Kostyshak [Mon, 29 Jan 2018 02:41:52 +0000 (21:41 -0500)]
Update docs to 2.3.0rc2 format

6 years agoUpdate NEWS for 2.3.0rc2
Scott Kostyshak [Mon, 29 Jan 2018 02:13:19 +0000 (21:13 -0500)]
Update NEWS for 2.3.0rc2

6 years agoUpdate ANNOUNCE for 2.3.0rc2
Scott Kostyshak [Mon, 29 Jan 2018 01:49:43 +0000 (20:49 -0500)]
Update ANNOUNCE for 2.3.0rc2

6 years agoFrench Additional.lyx: fixes to be in sync with the English version
Uwe Stöhr [Mon, 29 Jan 2018 00:34:31 +0000 (01:34 +0100)]
French Additional.lyx: fixes to be in sync with the English version

- 2 new sections added, some preamble fixes
- English Additional.lyx: remove unnecessary preamble code

6 years ago One more edtion after Additional.lyx update
jpc [Sun, 28 Jan 2018 21:16:30 +0000 (22:16 +0100)]
   One more edtion after Additional.lyx update

6 years ago A couple of typos detected while translating fr/Additional.lyx
jpc [Sun, 28 Jan 2018 21:10:29 +0000 (22:10 +0100)]
    A couple of typos detected while translating fr/Additional.lyx

6 years ago Update fr.po
jpc [Sun, 28 Jan 2018 21:00:19 +0000 (22:00 +0100)]
    Update fr.po

6 years ago Update French Additional manual fir 2.3.0
jpc [Sun, 28 Jan 2018 16:31:21 +0000 (17:31 +0100)]
  Update French Additional manual fir 2.3.0
      Correlated changes in fr.po

6 years agoUpdate sk.po
Kornel Benko [Sun, 28 Jan 2018 12:26:40 +0000 (13:26 +0100)]
Update sk.po

6 years agoUpdate it.po
Enrico Forestieri [Sun, 28 Jan 2018 09:32:50 +0000 (10:32 +0100)]
Update it.po

6 years agode.po: last update before RC2
Juergen Spitzmueller [Sun, 28 Jan 2018 07:39:59 +0000 (08:39 +0100)]
de.po: last update before RC2

6 years agoru.po: last minute changes for RC from Yuriy
Uwe Stöhr [Sun, 28 Jan 2018 00:16:13 +0000 (01:16 +0100)]
ru.po: last minute changes for RC from Yuriy

6 years ago* cs.po: backport from master
Pavel Sanda [Sat, 27 Jan 2018 22:22:23 +0000 (23:22 +0100)]
* cs.po: backport from master

6 years agoProperly communicate forced encodings
Juergen Spitzmueller [Fri, 26 Jan 2018 07:38:52 +0000 (08:38 +0100)]
Properly communicate forced encodings

This is currently only relevant fo InsetListings, which falls back to
a fixed-width encoding under specific conditions. It is now possible
to query the inset about that and report the correct encoding in
DocIterator::getEncoding.

Addresses the second part of #10995

(cherry picked from commit f924ef29660af5afd22b96744a3e0bb128e1a58d)

6 years agoAccount for custom encoding in DocIteratior::getEncoding
Juergen Spitzmueller [Fri, 26 Jan 2018 07:37:06 +0000 (08:37 +0100)]
Account for custom encoding in DocIteratior::getEncoding

Addresses #10995

(cherry picked from commit 7b169de401529c5801c4326e1712fcca59125f50)

6 years agoMake another GUI string translatable
Juergen Spitzmueller [Sat, 27 Jan 2018 10:20:11 +0000 (11:20 +0100)]
Make another GUI string translatable

Part of #10999.

(cherry picked from commit 6ed7bbbf7e8b651ff4a424ee0adf7b6b58f8cef8)

6 years agoMake GUI string translatable
Juergen Spitzmueller [Sat, 27 Jan 2018 09:57:33 +0000 (10:57 +0100)]
Make GUI string translatable

Part of #10999

(cherry picked from commit 26755a015e1fbeccd96848ea873c5c4dc6de0aa8)

6 years agoUse proper localization chain for Box special width/height
Juergen Spitzmueller [Sat, 27 Jan 2018 11:26:01 +0000 (12:26 +0100)]
Use proper localization chain for Box special width/height

Fixes: #11000
(cherry picked from commit e2160ec960de2f48e5b61dfab339902426d075f8)

6 years agoRevert "Remove 'premature optimization' that proved buggy"
Jean-Marc Lasgouttes [Sat, 27 Jan 2018 11:03:09 +0000 (12:03 +0100)]
Revert "Remove 'premature optimization' that proved buggy"

This reverts commit 894ae19224d0537c0c9ebd9ad45e547279769bd8.

Fixes bug 10996.

6 years agoFix outliner movement of frames
Juergen Spitzmueller [Sat, 27 Jan 2018 08:59:19 +0000 (09:59 +0100)]
Fix outliner movement of frames

Make sure frames are properly separated from their neighbors above
and below in the target location.

Fixes: #10977.
6 years ago* layouttranslations.review - backport changes from master
Pavel Sanda [Fri, 26 Jan 2018 18:51:39 +0000 (19:51 +0100)]
* layouttranslations.review - backport changes from master

6 years ago* layouttranslations - update ar, ru, el
Pavel Sanda [Fri, 26 Jan 2018 18:47:40 +0000 (19:47 +0100)]
* layouttranslations - update ar, ru, el

6 years agoru.po: translations from Yuriy
Uwe Stöhr [Thu, 25 Jan 2018 23:15:19 +0000 (00:15 +0100)]
ru.po: translations from Yuriy

6 years agoCorrectly output a single char_type
Enrico Forestieri [Thu, 25 Jan 2018 08:40:36 +0000 (09:40 +0100)]
Correctly output a single char_type

On platforms where char_type is typedef'd to an integral type
rather than to wchar_t, when using the insertion operator <<
a single char_type is output as the number corresponding to the
code point of the character rather than as the character itself.
In this case, one has to use put().

(cherry picked from commit 144f06a00c58619557fb431877041fd9e4297a0f)

6 years agopo files: remerge for el.po
Uwe Stöhr [Thu, 25 Jan 2018 16:49:46 +0000 (17:49 +0100)]
po files: remerge for el.po

- also remerge the po files that are currently not delivered with LyX

6 years agoel.po: new translations from Odysseas
Uwe Stöhr [Thu, 25 Jan 2018 16:44:20 +0000 (17:44 +0100)]
el.po: new translations from Odysseas

- LINGUAS: enable the delivery of Greek translation with LyX