]> git.lyx.org Git - lyx.git/log
lyx.git
4 years agoRevert part of 47973dc2b, which was causing bug #11873.
Richard Kimberly Heck [Sat, 23 May 2020 03:43:44 +0000 (23:43 -0400)]
Revert part of 47973dc2b, which was causing bug #11873.

4 years agoTools(listFontWithLang.pl): Prohibit inserting multiple entries of same command line...
Kornel Benko [Thu, 21 May 2020 14:09:21 +0000 (16:09 +0200)]
Tools(listFontWithLang.pl): Prohibit inserting multiple entries of same command line option

4 years agoAdd command line option for code sign identity to help message
Stephan Witt [Thu, 21 May 2020 11:30:22 +0000 (13:30 +0200)]
Add command line option for code sign identity to help message

4 years agoTools(listFontWithLang.pl): Polishing
Kornel Benko [Thu, 21 May 2020 09:50:42 +0000 (11:50 +0200)]
Tools(listFontWithLang.pl): Polishing

4 years agoTools(listFontWithLang.pl): Amend 58dfb1d8, Select fonts containig specified glyphs
Kornel Benko [Wed, 20 May 2020 10:38:30 +0000 (12:38 +0200)]
Tools(listFontWithLang.pl): Amend 58dfb1d8, Select fonts containig specified glyphs

Allow to specify also intervalls of charaters
e.g. -c a-z,u+70-u+200

4 years agoFix more warnings and simplify a tiny bit.
Richard Kimberly Heck [Tue, 19 May 2020 22:06:20 +0000 (18:06 -0400)]
Fix more warnings and simplify a tiny bit.

4 years agoFix warnings
Richard Kimberly Heck [Tue, 19 May 2020 21:08:11 +0000 (17:08 -0400)]
Fix warnings

4 years agoTools(listFontWithLang.pl): Amend ac039733, Select fonts containig specified glyphs
Kornel Benko [Tue, 19 May 2020 06:55:41 +0000 (08:55 +0200)]
Tools(listFontWithLang.pl): Amend ac039733, Select fonts containig specified glyphs

Allow also values like
-c Azß
or
-c u+65zu+xdf
(Comma as a separator not needed, if the input is unambiguous)

4 years ago#11742 use Inkscape 0.92.x converter from Resources of application bundle if detected...
Stephan Witt [Tue, 19 May 2020 06:54:57 +0000 (08:54 +0200)]
#11742 use Inkscape 0.92.x converter from Resources of application bundle if detected - corrected shell syntax

4 years ago#11742 use Inkscape 0.92.x converter from Resources of application bundle if detected
Stephan Witt [Tue, 19 May 2020 06:49:20 +0000 (08:49 +0200)]
#11742 use Inkscape 0.92.x converter from Resources of application bundle if detected

4 years agoAdd revtex 4.2 files to distribution
Richard Kimberly Heck [Mon, 18 May 2020 17:20:39 +0000 (13:20 -0400)]
Add revtex 4.2 files to distribution

4 years agoTools(listFontWithLang.pl): Select fonts containig specified glyphs
Kornel Benko [Mon, 18 May 2020 16:21:25 +0000 (18:21 +0200)]
Tools(listFontWithLang.pl): Select fonts containig specified glyphs

Comma separated glyphs can be specifies as characters or as unicode-values
example:
-c A,z,ß
or
-c u+65,z,u+xdf

4 years agoFixup inkscape detection on Windows
Juergen Spitzmueller [Mon, 18 May 2020 10:40:32 +0000 (12:40 +0200)]
Fixup inkscape detection on Windows

4 years agoAmend 74f831e06d
Juergen Spitzmueller [Mon, 18 May 2020 06:32:26 +0000 (08:32 +0200)]
Amend 74f831e06d

Forgot this part.

4 years agoFix warnings
Richard Kimberly Heck [Mon, 18 May 2020 05:15:50 +0000 (01:15 -0400)]
Fix warnings

4 years agoFix warnings.
Richard Kimberly Heck [Mon, 18 May 2020 04:46:58 +0000 (00:46 -0400)]
Fix warnings.

4 years agoFix bug #11456.
Richard Kimberly Heck [Mon, 18 May 2020 04:28:36 +0000 (00:28 -0400)]
Fix bug #11456.

Add cancel button and take no action if we're canceled.

4 years agoFix bug #11405.
Richard Kimberly Heck [Mon, 18 May 2020 04:06:59 +0000 (00:06 -0400)]
Fix bug #11405.

We don't actually prevent hidden buffers from being dirty, so we need
to save them if they are.

4 years agoRemove debugging code. Thanks Scott!
Richard Kimberly Heck [Mon, 18 May 2020 00:59:34 +0000 (20:59 -0400)]
Remove debugging code. Thanks Scott!

4 years agoConst-ness, and a missing Class declaration. I do not understand
Richard Kimberly Heck [Mon, 18 May 2020 00:52:58 +0000 (20:52 -0400)]
Const-ness, and a missing Class declaration. I do not understand
why this ever worked.

4 years agoFix copy-paste error.
Richard Kimberly Heck [Mon, 18 May 2020 00:52:18 +0000 (20:52 -0400)]
Fix copy-paste error.

See bug #11869.

4 years agoProperly check return values so TIMEOUT is recognized.
Richard Kimberly Heck [Sun, 17 May 2020 18:57:55 +0000 (14:57 -0400)]
Properly check return values so TIMEOUT is recognized.

4 years agoFix bug #11854
Enrico Forestieri [Sun, 17 May 2020 16:15:00 +0000 (18:15 +0200)]
Fix bug #11854

The code was checking only for particular vertical alignment requests
in order to decide to nest a standard array into a 1x1 ams matrix.
However, also vertical lines are not possible in ams matrices.

4 years ago#11742 correct pre 1.0 inkscape wrapper script path
Stephan Witt [Sun, 17 May 2020 13:24:15 +0000 (15:24 +0200)]
#11742 correct pre 1.0 inkscape wrapper script path

4 years ago#11742 adapt inkscape start utility to Inkscape 1.0
Stephan Witt [Sun, 17 May 2020 13:15:59 +0000 (15:15 +0200)]
#11742 adapt inkscape start utility to Inkscape 1.0

4 years agoFix indentation
Juergen Spitzmueller [Sun, 17 May 2020 13:16:23 +0000 (15:16 +0200)]
Fix indentation

4 years agoTools(listFontWithLang.pl): update fonts-categorization
Kornel Benko [Sun, 17 May 2020 13:10:28 +0000 (15:10 +0200)]
Tools(listFontWithLang.pl): update fonts-categorization

4 years agoProperly close and reopen lyxdeleted macro at font change
Juergen Spitzmueller [Sun, 17 May 2020 12:54:59 +0000 (14:54 +0200)]
Properly close and reopen lyxdeleted macro at font change

Fixes #11867, amends [28da0f4360a/lyxgit]

4 years agoreturn from switch
Juergen Spitzmueller [Sun, 17 May 2020 11:57:31 +0000 (13:57 +0200)]
return from switch

we don't break in this switch

4 years agoTools(listFontWithLang.pl): Group related parameters in the command syntax
Kornel Benko [Sat, 16 May 2020 19:40:26 +0000 (21:40 +0200)]
Tools(listFontWithLang.pl): Group related parameters in the command syntax

Display sequence of command parameters according to their appearance in the definition table

4 years agoDisable bookmarksopenlevel SL when bookmarksopen is false
Juergen Spitzmueller [Sat, 16 May 2020 08:31:48 +0000 (10:31 +0200)]
Disable bookmarksopenlevel SL when bookmarksopen is false

Fixes #11289

4 years agoUpdate sk.po
Kornel Benko [Sat, 16 May 2020 08:03:17 +0000 (10:03 +0200)]
Update sk.po

4 years agode.po
Juergen Spitzmueller [Sat, 16 May 2020 07:28:46 +0000 (09:28 +0200)]
de.po

4 years agoSafer 0.x version test
Juergen Spitzmueller [Fri, 15 May 2020 13:22:14 +0000 (15:22 +0200)]
Safer 0.x version test

4 years agoAdd support for inkscape 1.0
Juergen Spitzmueller [Fri, 15 May 2020 12:08:46 +0000 (14:08 +0200)]
Add support for inkscape 1.0

Command line syntax has changed. We now check for the version and use
the appropriate cl options.

Fixes #11742

4 years agoAdd rtl version of outline-in/out icons
Jean-Marc Lasgouttes [Fri, 15 May 2020 10:10:30 +0000 (12:10 +0200)]
Add rtl version of outline-in/out icons

4 years agoFix missing backslashes
Jean-Marc Lasgouttes [Fri, 15 May 2020 08:34:37 +0000 (10:34 +0200)]
Fix missing backslashes

4 years agoAssign InsetBibtex to appropriate toc level
Juergen Spitzmueller [Fri, 15 May 2020 08:14:22 +0000 (10:14 +0200)]
Assign InsetBibtex to appropriate toc level

Fixes #11863

4 years agoCheck class options for uncodable glyphs
Juergen Spitzmueller [Fri, 15 May 2020 07:50:25 +0000 (09:50 +0200)]
Check class options for uncodable glyphs

Fixes #11865

4 years agoTools: try to categorize fonts in listFontWithLang.pl
Kornel Benko [Thu, 14 May 2020 15:35:51 +0000 (17:35 +0200)]
Tools: try to categorize fonts in listFontWithLang.pl

New 'categories' besides Serif and Sans:
Script, Fraktur, Fancy, Initials, Symbol

4 years agoGet rid of lyx::next uses for RandomAccessList
Jean-Marc Lasgouttes [Mon, 11 May 2020 10:31:25 +0000 (12:31 +0200)]
Get rid of lyx::next uses for RandomAccessList

These uses are inefficient (a loop really) and require that pit_type
is ptrdiff_t.

Instead, RandomAccesslist::constIterator is renamed to iterator_at and
a version adding a non-const iterator is added. Additionally, the
method retirns end() when position is equal to the size of the
container (see #11861).

lyx::next and lyx::prev are removed, and std::prev is used in the few
places where the code requires it (for no good reason IMO).

4 years agoRemove include no longer needed
Richard Kimberly Heck [Wed, 13 May 2020 18:50:30 +0000 (14:50 -0400)]
Remove include no longer needed

4 years agoSimplify.
Richard Kimberly Heck [Wed, 13 May 2020 18:49:01 +0000 (14:49 -0400)]
Simplify.

4 years agoReplace functors in ExternalTemplate.cpp.
Richard Kimberly Heck [Wed, 13 May 2020 18:32:19 +0000 (14:32 -0400)]
Replace functors in ExternalTemplate.cpp.

4 years agoDon't make copies!
Richard Kimberly Heck [Wed, 13 May 2020 18:23:27 +0000 (14:23 -0400)]
Don't make copies!

4 years agoRemove a couple more functors from PrevewLoader.
Richard Kimberly Heck [Wed, 13 May 2020 17:26:54 +0000 (13:26 -0400)]
Remove a couple more functors from PrevewLoader.

4 years agoRemove functors in PreviewLoader.cpp.
Richard Kimberly Heck [Wed, 13 May 2020 17:18:32 +0000 (13:18 -0400)]
Remove functors in PreviewLoader.cpp.

Also fix some warnings.

4 years agoRevert "Get rid of lyx::next uses for RandomAccessList"
Jean-Marc Lasgouttes [Wed, 13 May 2020 08:33:38 +0000 (10:33 +0200)]
Revert "Get rid of lyx::next uses for RandomAccessList"

This is not ready (see #11861).

This reverts commit 6d97e3993489a23aea79f899f156fd2f6e21cc4d.

4 years agoMove \PassOptionsToPackage before the first package loaded
Juergen Spitzmueller [Wed, 13 May 2020 06:48:08 +0000 (08:48 +0200)]
Move \PassOptionsToPackage before the first package loaded

Fixes #11862

4 years agoTools: recognize most sans serif fonts in listFontWithLang.pl
Kornel Benko [Tue, 12 May 2020 17:53:28 +0000 (19:53 +0200)]
Tools: recognize most sans serif fonts in listFontWithLang.pl

Starts to be crazy. Many fonts have to be (visually!) inspected, because there is
no hint about this feature.
Also, for many fonts it is a senseless information.
We need a third value (besides serif and sans-serif)

4 years agoAvoid a warning
Jean-Marc Lasgouttes [Tue, 12 May 2020 15:42:50 +0000 (17:42 +0200)]
Avoid a warning

4 years agoGet rid of lyx::next uses for RandomAccessList
Jean-Marc Lasgouttes [Mon, 11 May 2020 10:31:25 +0000 (12:31 +0200)]
Get rid of lyx::next uses for RandomAccessList

These uses are inefficient (a loop really) and require that pit_type
is ptrdiff_t.

Instead, RandomAccesslist::constIterator is renamed to iterator_at and
a version adding a non-const iterator is added.

lyx::next and lyx::prev are removed, and std::prev is used in the few
places where the code requires it (for no good reason IMO).

4 years agoTools: recognize math font in listFontWithLang.pl
Kornel Benko [Sat, 9 May 2020 11:19:12 +0000 (13:19 +0200)]
Tools: recognize math font in listFontWithLang.pl

4 years agoFix typo (from Thibaut)
Richard Kimberly Heck [Fri, 8 May 2020 17:32:08 +0000 (13:32 -0400)]
Fix typo (from Thibaut)

4 years agoPython cleanup from Thibaut.
Richard Kimberly Heck [Fri, 8 May 2020 17:31:05 +0000 (13:31 -0400)]
Python cleanup from Thibaut.

4 years agoTools: optimize recognition of some font features in listFontWithLang.pl
Kornel Benko [Fri, 8 May 2020 12:17:19 +0000 (14:17 +0200)]
Tools: optimize recognition of some font features in listFontWithLang.pl

Added (de)selecting fonts through its capability (latn, math, arab, etc)
Recognize also trebuchet in font name as sans-serif font
Recognize also fixed in font name as monospaced font

4 years ago Linguistics manual translation in French (up to sec. 2)
jpc [Thu, 7 May 2020 09:10:19 +0000 (11:10 +0200)]
Linguistics manual translation in French (up to sec. 2)

4 years agoru.po
Juergen Spitzmueller [Thu, 7 May 2020 06:40:17 +0000 (08:40 +0200)]
ru.po

4 years agoWin32-build, bug #11635, "2 lyx in same time?"
Kornel Benko [Wed, 6 May 2020 09:50:41 +0000 (11:50 +0200)]
Win32-build, bug #11635, "2 lyx in same time?"

Patch from Eugene
"Win installer part again, this time just append to existing lyxrc.dist instead of deleting it."

4 years agoMove DTL binaries to resource folder;.
Richard Kimberly Heck [Wed, 6 May 2020 07:04:33 +0000 (03:04 -0400)]
Move DTL binaries to resource folder;.

Patch from Eugene.

4 years agoRename some routines
Richard Kimberly Heck [Tue, 5 May 2020 01:21:42 +0000 (21:21 -0400)]
Rename some routines

4 years agoRemove functors in IndicesList.cpp.
Richard Kimberly Heck [Tue, 5 May 2020 00:00:55 +0000 (20:00 -0400)]
Remove functors in IndicesList.cpp.

4 years agoReplace functors in Format.cpp.
Richard Kimberly Heck [Mon, 4 May 2020 23:57:45 +0000 (19:57 -0400)]
Replace functors in Format.cpp.

4 years agoReplace functor in BranchList
Richard Kimberly Heck [Mon, 4 May 2020 23:08:12 +0000 (19:08 -0400)]
Replace functor in BranchList

4 years agolinguistics.module: fix counters
Juergen Spitzmueller [Tue, 5 May 2020 12:41:38 +0000 (14:41 +0200)]
linguistics.module: fix counters

4 years agoCmake build: Adapt handling of c++ standards to new Visual C++ 2019
Kornel Benko [Tue, 5 May 2020 11:49:50 +0000 (13:49 +0200)]
Cmake build: Adapt handling of c++ standards to new Visual C++ 2019

More or less suggested by Thibaut Cuvelier's switch to Visual C++ 2019

4 years agoFix a number of issues that were stopping compilation with MSVC 19.
Richard Kimberly Heck [Mon, 4 May 2020 23:41:18 +0000 (19:41 -0400)]
Fix a number of issues that were stopping compilation with MSVC 19.

Patch from Thibaut Cuvelier, modified slightly by me (mostly for style).

4 years agoMissing include according to VC19
Richard Kimberly Heck [Mon, 4 May 2020 18:19:29 +0000 (14:19 -0400)]
Missing include according to VC19

4 years agos/requires_/required_/ for code consistency
Richard Kimberly Heck [Mon, 4 May 2020 18:05:44 +0000 (14:05 -0400)]
s/requires_/required_/ for code consistency

4 years agoFix remaining (I think) requires keyword issues.
Richard Kimberly Heck [Mon, 4 May 2020 17:45:39 +0000 (13:45 -0400)]
Fix remaining (I think) requires keyword issues.

4 years agoFix commented out code
Scott Kostyshak [Mon, 4 May 2020 13:25:15 +0000 (09:25 -0400)]
Fix commented out code

Since the if condition changed at af4ee1a4, the "else" in the
comment needed correction.

4 years agoOnly set dummy X11 selection if we do not own it
Scott Kostyshak [Sat, 28 Mar 2020 01:23:08 +0000 (21:23 -0400)]
Only set dummy X11 selection if we do not own it

Before, we would continually set the selection to the empty string,
to maintain ownership. This causes problems with clipboard managers
GPaste and CopyQ. Further, in theory this should have better
performance since checking ownership should be faster than setting.

A disadvantage of this change is that the timestamp of the selection
will be old at this point in the code. However, when the selection
is requested, we put the selection contents at that point so the
selection timestamp should be accurate then. Further, the selection
contents are not accurate at this point in the code (they are just
the empty string), so it is not clear whether having an accurate
timestamp is beneficial.

Fixes #11715.

4 years agoAdd new template for Hebrew.
Pavel Sanda [Mon, 4 May 2020 11:03:52 +0000 (13:03 +0200)]
Add new template for Hebrew.

Provided by Guy Rutenberg, available also here:
https://github.com/guyru/lyx-hebrew-templates

4 years agoUse translated GUI name of counter in button label
Juergen Spitzmueller [Mon, 4 May 2020 07:28:07 +0000 (09:28 +0200)]
Use translated GUI name of counter in button label

4 years agoKeep sort order of counter actions
Juergen Spitzmueller [Mon, 4 May 2020 07:22:35 +0000 (09:22 +0200)]
Keep sort order of counter actions

4 years agoFix warnings by using size_t as the loop variable.
Richard Kimberly Heck [Sun, 3 May 2020 19:02:40 +0000 (15:02 -0400)]
Fix warnings by using size_t as the loop variable.

4 years agois_utf8 is always passed a char.
Richard Kimberly Heck [Sun, 3 May 2020 19:02:25 +0000 (15:02 -0400)]
is_utf8 is always passed a char.

4 years agoUpdate documentation about counters.
Richard Kimberly Heck [Sun, 3 May 2020 18:06:32 +0000 (14:06 -0400)]
Update documentation about counters.

4 years agoru.po
Juergen Spitzmueller [Sun, 3 May 2020 16:38:50 +0000 (18:38 +0200)]
ru.po

4 years agoUpdate sk.po
Kornel Benko [Sun, 3 May 2020 12:42:14 +0000 (14:42 +0200)]
Update sk.po

4 years agode.po
Juergen Spitzmueller [Sun, 3 May 2020 11:37:05 +0000 (13:37 +0200)]
de.po

4 years agoAdd missing l7n flag
Juergen Spitzmueller [Sun, 3 May 2020 11:36:34 +0000 (13:36 +0200)]
Add missing l7n flag

4 years agoAdd missing ellipses
Juergen Spitzmueller [Sun, 3 May 2020 11:30:04 +0000 (13:30 +0200)]
Add missing ellipses

4 years agoAmend e7e70b021e5
Juergen Spitzmueller [Sun, 3 May 2020 11:16:20 +0000 (13:16 +0200)]
Amend e7e70b021e5

4 years agoTry to set executable bit on listFontWithLang.pl
Kornel Benko [Sun, 3 May 2020 10:54:14 +0000 (12:54 +0200)]
Try to set executable bit on listFontWithLang.pl

4 years agoMake counter items translatable and sort properly
Juergen Spitzmueller [Sun, 3 May 2020 07:44:55 +0000 (09:44 +0200)]
Make counter items translatable and sort properly

4 years agoUpdate link
Juergen Spitzmueller [Sun, 3 May 2020 07:13:59 +0000 (09:13 +0200)]
Update link

4 years agoFix capitalization
Juergen Spitzmueller [Sun, 3 May 2020 07:13:41 +0000 (09:13 +0200)]
Fix capitalization

We use sentence casing in combo boxes.

4 years agoRe-fix layout
Juergen Spitzmueller [Sun, 3 May 2020 07:13:13 +0000 (09:13 +0200)]
Re-fix layout

Also improve some strings, and fix capitalization

4 years agoAvoid a copy
Richard Kimberly Heck [Sun, 3 May 2020 06:52:56 +0000 (02:52 -0400)]
Avoid a copy

4 years agoFix some warnings.
Richard Kimberly Heck [Sun, 3 May 2020 06:32:39 +0000 (02:32 -0400)]
Fix some warnings.

4 years agoRemove unused files.
Richard Kimberly Heck [Sun, 3 May 2020 06:32:29 +0000 (02:32 -0400)]
Remove unused files.

4 years agoBetter name
Richard Kimberly Heck [Sun, 3 May 2020 06:20:14 +0000 (02:20 -0400)]
Better name

4 years agorequires is a keyword in C++2a
Richard Kimberly Heck [Sun, 3 May 2020 06:18:17 +0000 (02:18 -0400)]
requires is a keyword in C++2a

4 years agoRemove obsolete comment.
Richard Kimberly Heck [Sun, 3 May 2020 04:50:53 +0000 (00:50 -0400)]
Remove obsolete comment.

We assert (or worse) if pos < 0.

4 years agoGuiNames for float counters.
Richard Kimberly Heck [Sun, 3 May 2020 03:11:53 +0000 (23:11 -0400)]
GuiNames for float counters.

4 years agoAdd GuiNames to counter declarations.
Richard Kimberly Heck [Sun, 3 May 2020 02:37:18 +0000 (22:37 -0400)]
Add GuiNames to counter declarations.

4 years agoIncrement layout format.
Richard Kimberly Heck [Sun, 3 May 2020 03:14:19 +0000 (23:14 -0400)]
Increment layout format.

4 years agoUse GuiNames for counters.
Richard Kimberly Heck [Sun, 3 May 2020 03:00:17 +0000 (23:00 -0400)]
Use GuiNames for counters.

4 years agoRemove unused counter
Richard Kimberly Heck [Sun, 3 May 2020 02:09:45 +0000 (22:09 -0400)]
Remove unused counter