]> git.lyx.org Git - lyx.git/log
lyx.git
6 years agoLongtable: only output the caption contents in a caption row.
Juergen Spitzmueller [Mon, 20 Nov 2017 09:59:09 +0000 (10:59 +0100)]
Longtable: only output the caption contents in a caption row.

Fixes: #10791
6 years agotemplate files: save them all with LyX 2.3RC1
Uwe Stöhr [Mon, 20 Nov 2017 01:33:28 +0000 (02:33 +0100)]
template files: save them all with LyX 2.3RC1

6 years agoWin installer: update package list
Uwe Stöhr [Mon, 20 Nov 2017 01:32:48 +0000 (02:32 +0100)]
Win installer: update package list

these are the packages required to compile all LyX doc, examples and template files that are not yet installed by MiKTeX on a fresh installation.

6 years agovarwidth-floats-side-by-side.lyx: use PDF images
Uwe Stöhr [Mon, 20 Nov 2017 01:31:00 +0000 (02:31 +0100)]
varwidth-floats-side-by-side.lyx: use PDF images

6 years agoapa6.layout: add dependencies
Uwe Stöhr [Mon, 20 Nov 2017 01:29:45 +0000 (02:29 +0100)]
apa6.layout: add dependencies

should go in for LyX 2.3.1

6 years agoacmart.layout: add dependencies
Uwe Stöhr [Mon, 20 Nov 2017 01:29:19 +0000 (02:29 +0100)]
acmart.layout: add dependencies

should go in for LyX 2.3.1

6 years agochkconfig.ltx: add 3 required packages
Uwe Stöhr [Sun, 19 Nov 2017 15:07:08 +0000 (16:07 +0100)]
chkconfig.ltx: add 3 required packages

- the l3 packages are required by more and more packages. Here with a fresh MiKTeX installation I cannot even compile the UserGuide without the l3 packages.

should also go in for LyX 2.3.1

6 years agobeamer.layout: add 3 dependencies
Uwe Stöhr [Sun, 19 Nov 2017 14:48:02 +0000 (15:48 +0100)]
beamer.layout: add 3 dependencies

both are required according to the beamer.cls

candidate for LyX 2.3.1

6 years agoDisable non-functional table rotation for longtables
Juergen Spitzmueller [Sun, 19 Nov 2017 13:32:53 +0000 (14:32 +0100)]
Disable non-functional table rotation for longtables

In the long run, proper longtable rotation via [pdf]lscape should
be implemented.

See #9194

6 years agoAllow footnotes in floating tables via tablefootnote package
Juergen Spitzmueller [Sun, 19 Nov 2017 11:56:40 +0000 (12:56 +0100)]
Allow footnotes in floating tables via tablefootnote package

See #808.

6 years agoFix footnote output in description item
Juergen Spitzmueller [Sun, 19 Nov 2017 07:59:48 +0000 (08:59 +0100)]
Fix footnote output in description item

Fixes: #9387
6 years agoFix footnote output in tables outside floats and longtable header/footer
Juergen Spitzmueller [Sun, 19 Nov 2017 07:57:58 +0000 (08:57 +0100)]
Fix footnote output in tables outside floats and longtable header/footer

Fixes: #808 (sic!), #5869
6 years agodoc files: save them with LyX 2.3 - part 2
Uwe Stöhr [Sun, 19 Nov 2017 01:21:30 +0000 (02:21 +0100)]
doc files: save them with LyX 2.3 - part 2

6 years agodoc files: save them with LyX 2.3 - part 1
Uwe Stöhr [Sun, 19 Nov 2017 00:55:05 +0000 (01:55 +0100)]
doc files: save them with LyX 2.3 - part 1

6 years agoMath.lyx: correct a term
Uwe Stöhr [Sun, 19 Nov 2017 00:37:22 +0000 (01:37 +0100)]
Math.lyx: correct a term

6 years agoCatalan mathed.lyx: move outdated file to attic/ca/mathed.lyx
Uwe Stöhr [Sun, 19 Nov 2017 00:30:09 +0000 (01:30 +0100)]
Catalan mathed.lyx: move outdated file to attic/ca/mathed.lyx

(Besides that it is outdated, we already have all its info in the Spanish math manual and all Catalans understand Spanish.)

6 years agoMath.lyx: update the section about subequations.lyx
Uwe Stöhr [Sat, 18 Nov 2017 23:53:10 +0000 (00:53 +0100)]
Math.lyx: update the section about subequations.lyx

- an extra example file is not necessary since we already describe subequations in the math manual

6 years agoes.po: some corrections
Uwe Stöhr [Sat, 18 Nov 2017 23:46:44 +0000 (00:46 +0100)]
es.po: some corrections

6 years agoR-S-statements.lyx: move to attic/R-S-statements.lyx
Uwe Stöhr [Sat, 18 Nov 2017 17:16:08 +0000 (18:16 +0100)]
R-S-statements.lyx: move to attic/R-S-statements.lyx

RS statements are deprecated since 2015. Their replacement are the HP statements for which LyX has an example file since LyX 2.2.

6 years agoexample files: save them with LyX 2.3 - part 3/
Uwe Stöhr [Sat, 18 Nov 2017 17:04:57 +0000 (18:04 +0100)]
example files: save them with LyX 2.3 - part 3/

also some minor adjustment to some files like date and version

6 years agoSlovakian splash.lyx: Revert
Uwe Stöhr [Sat, 18 Nov 2017 16:58:28 +0000 (17:58 +0100)]
Slovakian splash.lyx: Revert

this file version was no in the 2.3.x tree. Please use the 2.3.x tree for the up to date docs unless you are describing new features only available in master

This partly reverts commit 828286d313955623eb4c5919b700809cee59ac44.

6 years agoexample files: save them with LyX 2.3 - part 2
Uwe Stöhr [Sat, 18 Nov 2017 16:50:23 +0000 (17:50 +0100)]
example files: save them with LyX 2.3 - part 2

also some minor adjustment to some files like date and version

6 years agoexample files: save them with LyX 2.3 - part 1
Uwe Stöhr [Sat, 18 Nov 2017 16:34:35 +0000 (17:34 +0100)]
example files: save them with LyX 2.3 - part 1

also some minor adjustment to some files like date and version

6 years agoexample files: suppress date on title page for cases where this is misleading
Uwe Stöhr [Sat, 18 Nov 2017 16:21:46 +0000 (17:21 +0100)]
example files: suppress date on title page for cases where this is misleading

6 years agolilypond.lyx: remove version info
Uwe Stöhr [Sat, 18 Nov 2017 16:21:13 +0000 (17:21 +0100)]
lilypond.lyx: remove version info

The LyX version is not necessary

6 years agoLiterate.lyx: remove unnecessary TeX code
Uwe Stöhr [Sat, 18 Nov 2017 16:20:12 +0000 (17:20 +0100)]
Literate.lyx: remove unnecessary TeX code

6 years agoxypic.lyx: don't output the date in the first page
Uwe Stöhr [Sat, 18 Nov 2017 16:04:06 +0000 (17:04 +0100)]
xypic.lyx: don't output the date in the first page

6 years agobeamer.lyx: use a PDF image and update version
Uwe Stöhr [Sat, 18 Nov 2017 16:03:10 +0000 (17:03 +0100)]
beamer.lyx: use a PDF image and update version

6 years agoWin installer/lyx-standard.nsi: revert a comment that should not have been committed...
Uwe Stöhr [Sat, 18 Nov 2017 15:52:23 +0000 (16:52 +0100)]
Win installer/lyx-standard.nsi: revert a comment that should not have been committed today

6 years agoWin installer: add info to the main installer file version
Uwe Stöhr [Sat, 18 Nov 2017 15:49:26 +0000 (16:49 +0100)]
Win installer: add info to the main installer file version

6 years agoWin installer: enable support for high DPI
Uwe Stöhr [Sat, 18 Nov 2017 14:25:07 +0000 (15:25 +0100)]
Win installer: enable support for high DPI

6 years agoWin installer: add more LaTeX packages necessary to compile all doc files
Uwe Stöhr [Sat, 18 Nov 2017 13:16:00 +0000 (14:16 +0100)]
Win installer: add more LaTeX packages necessary to compile all doc files

6 years agoCmake export tests: Use pre-compiled regular expressions
Kornel Benko [Fri, 17 Nov 2017 16:53:52 +0000 (17:53 +0100)]
Cmake export tests: Use pre-compiled regular expressions

The expressions are used for determining the used external files
in a lyx-source. Using pre-compiled expr makes it more readable.

6 years agoio.po: updates from Giovanni
Uwe Stöhr [Tue, 14 Nov 2017 22:12:19 +0000 (23:12 +0100)]
io.po: updates from Giovanni

6 years agoMath.lyx: update version number
Uwe Stöhr [Mon, 13 Nov 2017 22:16:46 +0000 (23:16 +0100)]
Math.lyx: update version number

6 years agoWin installer: dvips is necessary for instant preview
Uwe Stöhr [Mon, 13 Nov 2017 20:23:32 +0000 (21:23 +0100)]
Win installer: dvips is necessary for instant preview

dvips is no longer installed by default in MiKTeX

6 years ago Untranslated tooltips in fr.po
jpc [Mon, 13 Nov 2017 10:56:05 +0000 (11:56 +0100)]
    Untranslated tooltips in fr.po

6 years ago Update fr.po
jpc [Mon, 13 Nov 2017 10:50:02 +0000 (11:50 +0100)]
  Update fr.po

6 years agoWin installer: disable a feature
Uwe Stöhr [Mon, 13 Nov 2017 00:19:45 +0000 (01:19 +0100)]
Win installer: disable a feature

checking that the Win installer is already currently running doesn't work with the current Unicode compatible NSIS plugin

6 years agopt_BR.po: updates from Georger
Uwe Stöhr [Sun, 12 Nov 2017 16:35:36 +0000 (17:35 +0100)]
pt_BR.po: updates from Georger

6 years agoInsetExternal: update renderer after preview status change
Juergen Spitzmueller [Sun, 12 Nov 2017 13:44:18 +0000 (14:44 +0100)]
InsetExternal: update renderer after preview status change

This fixes a crash when changing instant preview prefs while
document with previewed external inset is opened.

Fixes: #10785
6 years agoUpdate sk.po
Kornel Benko [Sun, 12 Nov 2017 13:02:00 +0000 (14:02 +0100)]
Update sk.po

6 years agoWin installer: update to Qt 5.9
Uwe Stöhr [Sat, 11 Nov 2017 17:34:25 +0000 (18:34 +0100)]
Win installer: update to Qt 5.9

- also remove Qt5XML in the installer as it appears not to be used by LyX
- update to latest MikTeX installer which resolves some problems
- add a note that pdfview is not yet ready for full Unicode support

6 years ago* cs.po
Pavel Sanda [Tue, 7 Nov 2017 22:00:08 +0000 (23:00 +0100)]
* cs.po

6 years agoRemove row crc computation
Jean-Marc Lasgouttes [Sat, 11 Nov 2017 11:40:39 +0000 (12:40 +0100)]
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

6 years agoStore change bar information in row element
Jean-Marc Lasgouttes [Sat, 11 Nov 2017 10:57:39 +0000 (11:57 +0100)]
Store change bar information in row element

It is wrong to compute this at paint time. In general, painting a row
should not require any access to a paragraph object, but we are far
from there now.

6 years agoWhitespace
Juergen Spitzmueller [Fri, 10 Nov 2017 13:57:19 +0000 (14:57 +0100)]
Whitespace

6 years agoEmbeddedObjects.lyx: update version number
Uwe Stöhr [Tue, 7 Nov 2017 20:52:50 +0000 (21:52 +0100)]
EmbeddedObjects.lyx: update version number

6 years agoAttempt to fix bug 9158 using updateBuffer.
Richard Heck [Sun, 5 Nov 2017 01:23:25 +0000 (21:23 -0400)]
Attempt to fix bug 9158 using updateBuffer.

Along the lines suggested by JMarc, we now collect the list of bibfiles
in use in the updateBuffer routines. This actually does simplify the code
quite a bit. See the discussion there for reasons to go this way.

6 years agoUpdate sk.po
Kornel Benko [Tue, 7 Nov 2017 16:34:54 +0000 (17:34 +0100)]
Update sk.po

6 years agoMake pocheck.pl handle also non-ascii lowercase
Kornel Benko [Tue, 7 Nov 2017 16:12:03 +0000 (17:12 +0100)]
Make pocheck.pl handle also non-ascii lowercase

1.) The command for lowercase (lc) does not make a good job for German, Slovak, etc..
For example lc("BÄR") gives "bÄr".

2.) Don't discard [[...]] when checking for uniform translation

6 years agoWin installer: make it a real Unicode program
Uwe Stöhr [Tue, 7 Nov 2017 01:11:50 +0000 (02:11 +0100)]
Win installer: make it a real Unicode program

6 years agoWin installer: translate 2 installer sections
Uwe Stöhr [Sun, 5 Nov 2017 21:37:44 +0000 (22:37 +0100)]
Win installer: translate 2 installer sections

6 years agoWin installer: convert the translations to Unicode
Uwe Stöhr [Sun, 5 Nov 2017 20:23:41 +0000 (21:23 +0100)]
Win installer: convert the translations to Unicode

- since NSIS 3 Unicode is allowed and even required

6 years agoCmake build: Install subscript.sty only for WIN32 (using MikTeX)
Kornel Benko [Sun, 5 Nov 2017 16:06:38 +0000 (17:06 +0100)]
Cmake build: Install subscript.sty only for WIN32 (using MikTeX)

6 years agouk:po: port Yuri's translations
Uwe Stöhr [Sun, 5 Nov 2017 13:07:33 +0000 (14:07 +0100)]
uk:po: port Yuri's translations

6 years agoGuiDocument.cpp: change back alignment for column with package names
Uwe Stöhr [Sun, 5 Nov 2017 12:39:09 +0000 (13:39 +0100)]
GuiDocument.cpp: change back alignment for column with package names

- as discussed in bug #10777 the first column should be left-aligned

6 years agoConvert for loops to range-based iterators i Buffer.cpp.
Richard Heck [Sun, 5 Nov 2017 02:15:01 +0000 (22:15 -0400)]
Convert for loops to range-based iterators i Buffer.cpp.

No intended change of behavior. The ones that use DocIterators and
ParIterators cannot yet be changed, but they could be if we provided
the right sorts of methods, perhaps.

6 years agoUpdate it.po
Enrico Forestieri [Sat, 4 Nov 2017 15:49:16 +0000 (16:49 +0100)]
Update it.po

6 years agode.po: minor fix
Juergen Spitzmueller [Sat, 4 Nov 2017 12:57:40 +0000 (13:57 +0100)]
de.po: minor fix

6 years agoconfigure.py: read layout and module files in binary mode
Juergen Spitzmueller [Sat, 4 Nov 2017 09:41:22 +0000 (10:41 +0100)]
configure.py: read layout and module files in binary mode

This prevents encoding issues with Python3 that manifested for a user
on the Mac.

Fixes: #10671
6 years agoAdd resize facility to inkscape template.
Juergen Spitzmueller [Sat, 4 Nov 2017 09:36:36 +0000 (10:36 +0100)]
Add resize facility to inkscape template.

(cherry picked from commit 167e96ca68069d986b318d08e8861c282c941d5c)

6 years agoRemove foreign language markup.
Juergen Spitzmueller [Fri, 3 Nov 2017 09:06:55 +0000 (10:06 +0100)]
Remove foreign language markup.

Japanese docs do not seem to use a language package
(although babel works)

6 years ago* cs.po
Pavel Sanda [Fri, 3 Nov 2017 08:52:03 +0000 (09:52 +0100)]
* cs.po

6 years agoGuiDocument.cpp: fix bug 10777
Uwe Stöhr [Thu, 2 Nov 2017 21:25:26 +0000 (22:25 +0100)]
GuiDocument.cpp: fix bug 10777

- the column width must be as wide as the column header text
- also center the radiobuttons in the table
- also use alternating colors for the table rows

6 years agoChangelog-EmbeddedObjects-LyX_23x.txt: port recent changes
Uwe Stöhr [Thu, 2 Nov 2017 21:19:26 +0000 (22:19 +0100)]
Changelog-EmbeddedObjects-LyX_23x.txt: port recent changes

6 years agoWin installer: update RC format
Uwe Stöhr [Thu, 2 Nov 2017 20:48:10 +0000 (21:48 +0100)]
Win installer: update RC format

6 years agoSwap prefs format 24 and 25, since the former will not be backported.
Juergen Spitzmueller [Thu, 2 Nov 2017 15:40:05 +0000 (16:40 +0100)]
Swap prefs format 24 and 25, since the former will not be backported.

6 years agoCollapsable -> Collapsible (part 5)
Juergen Spitzmueller [Thu, 2 Nov 2017 15:26:45 +0000 (16:26 +0100)]
Collapsable -> Collapsible (part 5)

Preferences update and prefs2prefs routine.

This was forgotten in the process.

6 years agoFix #10778 (issue with CJK and language nesting)
Enrico Forestieri [Thu, 2 Nov 2017 09:35:58 +0000 (10:35 +0100)]
Fix #10778 (issue with CJK and language nesting)

When using CJK, don't try to close a language that was never
opened before, such as when it is the main language.

6 years ago* cs.po
Pavel Sanda [Thu, 2 Nov 2017 09:14:28 +0000 (10:14 +0100)]
* cs.po

6 years agoWin installer: final changes for 2.3-RC1
Uwe Stöhr [Wed, 1 Nov 2017 13:33:03 +0000 (14:33 +0100)]
Win installer: final changes for 2.3-RC1

- fix detection of 64bit Krita and 64bit JabRef
- JabRef is no longer installed with the bundle installer

6 years agoEnable OK/Apply buttons when resetting to class defaults.
Juergen Spitzmueller [Wed, 1 Nov 2017 11:03:54 +0000 (12:03 +0100)]
Enable OK/Apply buttons when resetting to class defaults.

6 years agoWin installer: fix a MiKTeX package issue
Uwe Stöhr [Tue, 31 Oct 2017 21:15:54 +0000 (22:15 +0100)]
Win installer: fix a MiKTeX package issue

since a few months MiKTeX's package manager required the option "--admin" when calling it with admin privileges

- also register the .lyx21 file extension for LyX 2.3
- also update the LyXRC version number

6 years ago* cs.po
Pavel Sanda [Mon, 30 Oct 2017 20:18:32 +0000 (21:18 +0100)]
* cs.po

6 years agoRemove wmf2eps as EMF > EPS converter
Juergen Spitzmueller [Sun, 29 Oct 2017 15:09:12 +0000 (16:09 +0100)]
Remove wmf2eps as EMF > EPS converter

The program can only deal with WMF.

6 years agocmake documentation handling: sort out encoding problems.
Kornel Benko [Sun, 29 Oct 2017 08:49:39 +0000 (09:49 +0100)]
cmake documentation handling: sort out encoding problems.
Let srcipt work under Python2 and Python3,
also if the locale is not set to utf8.

Patch from Günter Milde, sort of cherry-pick from 9086db662d47e1b4be93551ccfefa8c1090e040b

6 years agoOnly use full path for inkscape file arguments on Mac.
Juergen Spitzmueller [Sun, 29 Oct 2017 07:52:15 +0000 (08:52 +0100)]
Only use full path for inkscape file arguments on Mac.

6 years agoWin installer: correct name for RC1
Uwe Stöhr [Sat, 28 Oct 2017 11:12:52 +0000 (13:12 +0200)]
Win installer: correct name for RC1

6 years agoconfigure.py: Be more explicit why file could not be removed.
Juergen Spitzmueller [Sat, 28 Oct 2017 09:24:48 +0000 (11:24 +0200)]
configure.py: Be more explicit why file could not be removed.

6 years agoUse a variable to hold the list of text editors.
Richard Heck [Sat, 28 Oct 2017 03:19:32 +0000 (23:19 -0400)]
Use a variable to hold the list of text editors.

6 years agoWin installer: updates for 2.3RC1
Uwe Stöhr [Sat, 28 Oct 2017 00:23:33 +0000 (02:23 +0200)]
Win installer: updates for 2.3RC1

6 years agoMakefile.am: add missing cmake file
Uwe Stöhr [Sat, 28 Oct 2017 00:21:09 +0000 (02:21 +0200)]
Makefile.am: add missing cmake file

6 years agoJapanese EmbeddedObjects.lyx: add separate dummy textfile
Uwe Stöhr [Fri, 27 Oct 2017 22:07:59 +0000 (00:07 +0200)]
Japanese EmbeddedObjects.lyx: add separate dummy textfile

Japanese was the only language without a separate dummy textfile

6 years agoCmake export tests: Make eu_UserGuide.lyx pass the new ctest
Kornel Benko [Fri, 27 Oct 2017 20:54:15 +0000 (22:54 +0200)]
Cmake export tests: Make eu_UserGuide.lyx pass the new ctest

Corrected some graphic paths and readded LaTeX.png

6 years agoMinor code re-organization.
Richard Heck [Fri, 27 Oct 2017 15:50:51 +0000 (11:50 -0400)]
Minor code re-organization.

6 years agoCmake export tests: Collect list of all used wrong paths before terminating
Kornel Benko [Fri, 27 Oct 2017 11:22:17 +0000 (13:22 +0200)]
Cmake export tests: Collect list of all used wrong paths before terminating

Also try to ignore references for files that are part of latex. If they are wrong, so
latex should handle the errors.

6 years agoconfigure.py: add LilyPond editor, Frescobaldi
Scott Kostyshak [Fri, 27 Oct 2017 06:13:42 +0000 (02:13 -0400)]
configure.py: add LilyPond editor, Frescobaldi

Generic text editors are used as fallbacks, in case Frescobaldi is
not available. The list of text editors is the same as elsewhere in
configure.py. We might consider centralizing the list of text
editors in a variable.

Patch from Helge Hafting on ML at:.

https://www.mail-archive.com/search?l=mid&q=f167276f-4f59-7bab-a832-cff56dddd670%40ntnu.no

6 years agosweave.lyx: accept changes
Uwe Stöhr [Thu, 26 Oct 2017 22:15:49 +0000 (00:15 +0200)]
sweave.lyx: accept changes

6 years agoCmake export tests: Add the die-message to the diestack() param.
Kornel Benko [Thu, 26 Oct 2017 20:43:24 +0000 (22:43 +0200)]
Cmake export tests: Add the die-message to the diestack() param.

Spotted by Scott.

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