Commit Graph

42519 Commits

Author SHA1 Message Date
Richard Kimberly Heck
28ae543a2a Fix signed-ness warnings 2020-10-13 18:24:03 -04:00
Pavel Sanda
406396685e Remove obsolete script 2020-10-13 23:47:25 +02:00
Richard Kimberly Heck
4770cfebaf Fixed date 2020-10-13 17:18:05 -04:00
Richard Kimberly Heck
aac4179c43 Fix counter docs 2020-10-13 17:18:05 -04:00
Thibaut Cuvelier
0790754ec2 Fix filterXml4Sax.pl to work under Windows 2020-10-13 21:38:38 +02:00
Pavel Sanda
0ea9df7467 Add inset for \nopagebreak.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg213388.html
2020-10-13 19:13:59 +02:00
Jean-Marc Lasgouttes
4aee447af1 Use -Wno-deprecated-copy only when supported by compiler
This is better than depending on compiler version. In particular,
Apple clang versions do not match regular clang versions.

Note that -Wno-deprecated-copy will always be used with g++, since
this compiler allows to suppress warnings it does not know about
(-Wno-zorg is valid, even though -Wzorg triggers an error).
2020-10-13 18:27:25 +02:00
Jean-Marc Lasgouttes
c516c86d19 Make cursor width depend on current font
This makes the cursor more visible wrt current font.

Moreover make the cursor width scalable by default.
2020-10-13 17:27:52 +02:00
Jean-Marc Lasgouttes
310c94c48c Fix display of caret completion indicator
The zooming algorithm based on caret width was deeply flawed. It is
not replaced with a formula based on caret height.

Fixes bug #12000.
2020-10-13 17:09:33 +02:00
Kornel Benko
b6c5603ab0 Cmake tests: Amend 667c0647: Use jing to test only docbook5 exports 2020-10-13 15:42:29 +02:00
Yuriy Skalko
2a594d3e90 Remove unused forward declarations 2020-10-13 09:57:36 +03:00
Thibaut Cuvelier
769578eac6 Fix typos in filetools.cpp. 2020-10-13 00:33:05 +02:00
Thibaut Cuvelier
82ea3d67ec DocBook: documents must have a title. 2020-10-12 19:26:37 +02:00
Thibaut Cuvelier
92b9c82dea Fix compilation on Visual C++.
Without this patch, there would be errors like these (warnings turned into errors):

D:\LyX\lyx-unstable\src\frontends\qt\GuiView.cpp(2413): error C4101: 'e': unreferenced local variable
D:\LyX\lyx-unstable\src\frontends\qt\GuiView.cpp(4879): error C4101: 'ex': unreferenced local variable
2020-10-12 19:21:58 +02:00
Yuriy Skalko
cb52dd2e42 Add override in VCBackend 2020-10-12 15:14:55 +02:00
Yuriy Skalko
238fd9ac50 Right exception rethrowing 2020-10-12 15:14:55 +02:00
Yuriy Skalko
919a06718a Constify 2020-10-12 15:06:16 +02:00
Richard Kimberly Heck
2dc4277452 Const 2020-10-10 17:12:50 -04:00
Richard Kimberly Heck
b28bd27932 Fix warning 2020-10-10 17:12:50 -04:00
Thibaut Cuvelier
4de89acbf4 Amend 667c0647a5
Consistent indentation, use of the latest schema everywhere, typo.
2020-10-10 22:18:16 +02:00
Kornel Benko
667c0647a5 Cmake docbook tests: Add jing.jar to test created docbook files
Usefull only if tested with data from repository.
This means: The file 'jing.jar' is not part of the distribution.
2020-10-10 12:43:17 +02:00
Yuriy Skalko
384aa5916d Update Russian localization 2020-10-09 09:24:29 +03:00
Yuriy Skalko
7d38a4d126 Loop refactoring 2020-10-09 09:04:20 +03:00
Richard Kimberly Heck
6b86a5a395 Bind new template dialog to template shortcut (bug 11996).
From Daniel.
2020-10-08 22:02:15 -04:00
Richard Kimberly Heck
b511d8d93e Use 'delete' for unimplemented constructors.
Thanks Yuriy!
2020-10-07 11:05:54 -04:00
Kornel Benko
aef74183c1 distribute db_*.inc files
Missed if using docbook5 export
2020-10-07 12:44:20 +02:00
Thibaut Cuvelier
0bd2978ac9 DocBook: add DocBookInnerTag and family.
This allows old DocBook documents to be valid when output.
2020-10-07 06:05:22 +02:00
Thibaut Cuvelier
1a054e4571 DocBook: restore the old DocBook support. 2020-10-07 05:33:56 +02:00
Thibaut Cuvelier
1a86e26841 DocBook: update test cases. 2020-10-07 05:03:24 +02:00
Thibaut Cuvelier
6a0e93f162 Amend 249d899
Non-ASCII characters make std::isspace crash, but not lyx::isSpace.
2020-10-07 04:49:20 +02:00
Richard Kimberly Heck
3d46cc302b Use explicit default syntax (C++11).
Thanks to Jos'e for noticing this option.
2020-10-06 20:31:11 -04:00
Richard Kimberly Heck
0f417f2a06 Fix some warnings 2020-10-06 12:27:28 -04:00
Richard Kimberly Heck
bff97ba76d Explicit InsetTableCell copy constructor 2020-10-06 12:20:31 -04:00
Pavel Sanda
17d0a62f11 * ANNOUNCE 2020-10-06 16:11:00 +02:00
Pavel Sanda
ebc01f49d5 UG: add lineno opt 2020-10-06 15:09:39 +02:00
Pavel Sanda
ffbcac3dde Add few examples for lineno options.
It's actually pretty hard to get that from the manual.
2020-10-06 15:05:11 +02:00
Jean-Marc Lasgouttes
24fb0ff8ef Use -Wno-deprecated-copy also with clang++ 11 2020-10-05 18:18:15 +02:00
Thibaut Cuvelier
249d899298 DocBook: clean output when fonts span over text that ends with a space 2020-10-05 16:22:58 +02:00
Jean-Marc Lasgouttes
c46f3b8f31 remove unused variable 2020-10-05 15:11:51 +02:00
Yuriy Skalko
c5ae08f0b8 Amend efc0877f
Add the last `override`s.
2020-10-05 15:03:13 +02:00
Yuriy Skalko
fe85162a29 Refactoring 2020-10-05 14:55:00 +02:00
Yuriy Skalko
d82adc625b Amend efc0877f
Add more `override` specifiers. Replace `throw()` to `noexcept`.
2020-10-05 09:37:15 +02:00
Kornel Benko
8f5bd45460 Amend 31d64c73: slipped in part removed. 2020-10-04 01:59:23 +02:00
Kornel Benko
1e1483d212 Update sk.po 2020-10-04 01:55:02 +02:00
Kornel Benko
31d64c7395 Enable handling of spreadsheets in export to docbook5 format.
In cooperation with Thibaut Cuvelier:
lib/scripts/spreadsheet_to_docbook.py: Strip the document header and convert some flags
lib/xtemplates/gnumeric.xtemplate: use this output to be inserted in docbook5
lib/configure.py: Add needed conversion entries
2020-10-04 01:43:44 +02:00
Yuriy Skalko
14b0da28c2 Amend efc0877f 2020-10-03 21:17:17 +02:00
Thibaut Cuvelier
4b63a9715d DocBook: support for Labeling 2020-10-03 16:17:39 +02:00
Kornel Benko
d8ac04354f Add formats to be used by converting docbook5 -> pdf
Preparation to test docbook5 exports

'xhtml_table': Format used for inserting spreadsheet tables in docbook
'pdf9': Result format used by conversion docbook5 with pandoc to create a pdf
2020-10-03 14:44:10 +02:00
Kornel Benko
932321a083 Cmake build: Install missed script listerrors 2020-10-03 14:06:24 +02:00
Yuriy Skalko
715b8cda54 Refactoring based on cppcheck suggestions 2020-10-03 13:39:51 +02:00