]>
git.lyx.org Git - features.git/log
Kornel Benko [Fri, 29 May 2020 18:56:38 +0000 (20:56 +0200)]
FindAdv: Remaining tests working now again
All of these changes were due to
1.) Changed latex output (white space)
2.) changed reaction of dialog shortcut to return from
find-adv settings to search tab
3.) debug-mode of libstdc++
4.) LASSERT in InsetMathGrid.cpp
Kornel Benko [Fri, 29 May 2020 18:18:45 +0000 (20:18 +0200)]
FindAdv: next 3 tests working
Kornel Benko [Fri, 29 May 2020 18:04:57 +0000 (20:04 +0200)]
FindAdv: Correct next test (keytest/findadv-16)
Provided that the LASSERT in src/mathed/InsetMathGrid.cpp:1824
is removed.
Kornel Benko [Fri, 29 May 2020 12:22:34 +0000 (14:22 +0200)]
FindAdv: Correct some testcases
Kornel Benko [Fri, 29 May 2020 06:44:56 +0000 (08:44 +0200)]
Findadv: Convert some messages from LYXERR0(...) to LYXERR(Debug::INFO, ...)
Due to a hint from Scott:
> I don't think it should be printed to LYXERR0. That goes to the terminal
> for the user. Even our lyx2lyx tests fail if they detect any information
> printed to the terminal (although we escape some warnings). If "find" is
> not a good debug level for it, maybe we can put it in "info" (the first
> debug level)?
Jean-Marc Lasgouttes [Thu, 28 May 2020 18:40:30 +0000 (20:40 +0200)]
Revert part of
56e012be : hardcode again "too small" preview size
It seems that the use of zoom in determining the size of the minimal
value was a bad idea.
It still think that the situation is not very satisfying, we need a new idea.
Kornel Benko [Wed, 27 May 2020 09:35:48 +0000 (11:35 +0200)]
Cmake build: Prohibit use of external boost if using libstdc++ in debug mode
We are using the compiler falgs _GLIBCXX_DEBUG and _GLIBCXX_DEBUG_PEDANTIC
See https://opensource.apple.com/source/gcc/gcc-1640/libstdc++-v3/docs/html/debug.html
Kornel Benko [Tue, 26 May 2020 16:49:50 +0000 (18:49 +0200)]
Findadv: 2 more possible out of range access cases corrected
Kornel Benko [Tue, 26 May 2020 13:58:23 +0000 (15:58 +0200)]
Findadv: Do not use out of range index into a string
Thanks Scott. Crashing if using _GLIBCXX_DEBUG preprocessor setting
Juergen Spitzmueller [Tue, 26 May 2020 10:44:10 +0000 (12:44 +0200)]
Add Henry Chern to credits
Juergen Spitzmueller [Tue, 26 May 2020 10:39:23 +0000 (12:39 +0200)]
Russian translation of the User Guide, by Henry Chern
Juergen Spitzmueller [Tue, 26 May 2020 08:49:29 +0000 (10:49 +0200)]
User Guide: some minor corrections suggested by Henry Chern
Juergen Spitzmueller [Tue, 26 May 2020 08:28:03 +0000 (10:28 +0200)]
ru updates by Yuriy
Juergen Spitzmueller [Tue, 26 May 2020 08:15:52 +0000 (10:15 +0200)]
tex2lyx: reset language after polyglossia lang environment has been closed
Fixes #11878
Enrico Forestieri [Sun, 24 May 2020 14:23:10 +0000 (16:23 +0200)]
Update it.po
Juergen Spitzmueller [Sun, 24 May 2020 07:38:02 +0000 (09:38 +0200)]
Tutorial: Some UI adaptations
Juergen Spitzmueller [Sun, 24 May 2020 06:28:23 +0000 (08:28 +0200)]
Russian updates by Yuriy
Scott Kostyshak [Sat, 23 May 2020 13:03:51 +0000 (09:03 -0400)]
Add bind to Insert > Separated <Environment> Above
The binding <Alt + p, Shift + Return> is already used for
environment-split outer, so we bind <Alt + p, Alt + Return>
to environment-split before.
Richard Kimberly Heck [Sat, 23 May 2020 15:45:01 +0000 (11:45 -0400)]
Update layout format
Jean-Marc Lasgouttes [Sat, 23 May 2020 15:10:17 +0000 (17:10 +0200)]
Simplify code by using initializer lists for vectors.
{ REFERENCE_NEXT, NOTE_NEXT } can be used as a value for a
vector<FuncCode> since C++11.
Jean-Marc Lasgouttes [Sat, 23 May 2020 14:47:48 +0000 (16:47 +0200)]
Fix first draw of auto-open inset
note-next and reference-next should trigger an update so that metrics
are updated when the cursor ends up in an auto-open inset.
Fixes bug #11870.
Richard Kimberly Heck [Sat, 23 May 2020 03:43:44 +0000 (23:43 -0400)]
Revert part of
47973dc2b , which was causing bug #11873.
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
Stephan Witt [Thu, 21 May 2020 11:30:22 +0000 (13:30 +0200)]
Add command line option for code sign identity to help message
Kornel Benko [Thu, 21 May 2020 09:50:42 +0000 (11:50 +0200)]
Tools(listFontWithLang.pl): Polishing
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
Richard Kimberly Heck [Tue, 19 May 2020 22:06:20 +0000 (18:06 -0400)]
Fix more warnings and simplify a tiny bit.
Richard Kimberly Heck [Tue, 19 May 2020 21:08:11 +0000 (17:08 -0400)]
Fix warnings
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)
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
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
Richard Kimberly Heck [Mon, 18 May 2020 17:20:39 +0000 (13:20 -0400)]
Add revtex 4.2 files to distribution
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
Juergen Spitzmueller [Mon, 18 May 2020 10:40:32 +0000 (12:40 +0200)]
Fixup inkscape detection on Windows
Juergen Spitzmueller [Mon, 18 May 2020 06:32:26 +0000 (08:32 +0200)]
Amend
74f831e06d
Forgot this part.
Richard Kimberly Heck [Mon, 18 May 2020 05:15:50 +0000 (01:15 -0400)]
Fix warnings
Richard Kimberly Heck [Mon, 18 May 2020 04:46:58 +0000 (00:46 -0400)]
Fix warnings.
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.
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.
Richard Kimberly Heck [Mon, 18 May 2020 00:59:34 +0000 (20:59 -0400)]
Remove debugging code. Thanks Scott!
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.
Richard Kimberly Heck [Mon, 18 May 2020 00:52:18 +0000 (20:52 -0400)]
Fix copy-paste error.
See bug #11869.
Richard Kimberly Heck [Sun, 17 May 2020 18:57:55 +0000 (14:57 -0400)]
Properly check return values so TIMEOUT is recognized.
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.
Stephan Witt [Sun, 17 May 2020 13:24:15 +0000 (15:24 +0200)]
#11742 correct pre 1.0 inkscape wrapper script path
Stephan Witt [Sun, 17 May 2020 13:15:59 +0000 (15:15 +0200)]
#11742 adapt inkscape start utility to Inkscape 1.0
Juergen Spitzmueller [Sun, 17 May 2020 13:16:23 +0000 (15:16 +0200)]
Fix indentation
Kornel Benko [Sun, 17 May 2020 13:10:28 +0000 (15:10 +0200)]
Tools(listFontWithLang.pl): update fonts-categorization
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]
Juergen Spitzmueller [Sun, 17 May 2020 11:57:31 +0000 (13:57 +0200)]
return from switch
we don't break in this switch
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
Juergen Spitzmueller [Sat, 16 May 2020 08:31:48 +0000 (10:31 +0200)]
Disable bookmarksopenlevel SL when bookmarksopen is false
Fixes #11289
Kornel Benko [Sat, 16 May 2020 08:03:17 +0000 (10:03 +0200)]
Update sk.po
Juergen Spitzmueller [Sat, 16 May 2020 07:28:46 +0000 (09:28 +0200)]
de.po
Juergen Spitzmueller [Fri, 15 May 2020 13:22:14 +0000 (15:22 +0200)]
Safer 0.x version test
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
Jean-Marc Lasgouttes [Fri, 15 May 2020 10:10:30 +0000 (12:10 +0200)]
Add rtl version of outline-in/out icons
Jean-Marc Lasgouttes [Fri, 15 May 2020 08:34:37 +0000 (10:34 +0200)]
Fix missing backslashes
Juergen Spitzmueller [Fri, 15 May 2020 08:14:22 +0000 (10:14 +0200)]
Assign InsetBibtex to appropriate toc level
Fixes #11863
Juergen Spitzmueller [Fri, 15 May 2020 07:50:25 +0000 (09:50 +0200)]
Check class options for uncodable glyphs
Fixes #11865
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
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).
Richard Kimberly Heck [Wed, 13 May 2020 18:50:30 +0000 (14:50 -0400)]
Remove include no longer needed
Richard Kimberly Heck [Wed, 13 May 2020 18:49:01 +0000 (14:49 -0400)]
Simplify.
Richard Kimberly Heck [Wed, 13 May 2020 18:32:19 +0000 (14:32 -0400)]
Replace functors in ExternalTemplate.cpp.
Richard Kimberly Heck [Wed, 13 May 2020 18:23:27 +0000 (14:23 -0400)]
Don't make copies!
Richard Kimberly Heck [Wed, 13 May 2020 17:26:54 +0000 (13:26 -0400)]
Remove a couple more functors from PrevewLoader.
Richard Kimberly Heck [Wed, 13 May 2020 17:18:32 +0000 (13:18 -0400)]
Remove functors in PreviewLoader.cpp.
Also fix some warnings.
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 .
Juergen Spitzmueller [Wed, 13 May 2020 06:48:08 +0000 (08:48 +0200)]
Move \PassOptionsToPackage before the first package loaded
Fixes #11862
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)
Jean-Marc Lasgouttes [Tue, 12 May 2020 15:42:50 +0000 (17:42 +0200)]
Avoid a warning
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).
Kornel Benko [Sat, 9 May 2020 11:19:12 +0000 (13:19 +0200)]
Tools: recognize math font in listFontWithLang.pl
Richard Kimberly Heck [Fri, 8 May 2020 17:32:08 +0000 (13:32 -0400)]
Fix typo (from Thibaut)
Richard Kimberly Heck [Fri, 8 May 2020 17:31:05 +0000 (13:31 -0400)]
Python cleanup from Thibaut.
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
jpc [Thu, 7 May 2020 09:10:19 +0000 (11:10 +0200)]
Linguistics manual translation in French (up to sec. 2)
Juergen Spitzmueller [Thu, 7 May 2020 06:40:17 +0000 (08:40 +0200)]
ru.po
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."
Richard Kimberly Heck [Wed, 6 May 2020 07:04:33 +0000 (03:04 -0400)]
Move DTL binaries to resource folder;.
Patch from Eugene.
Richard Kimberly Heck [Tue, 5 May 2020 01:21:42 +0000 (21:21 -0400)]
Rename some routines
Richard Kimberly Heck [Tue, 5 May 2020 00:00:55 +0000 (20:00 -0400)]
Remove functors in IndicesList.cpp.
Richard Kimberly Heck [Mon, 4 May 2020 23:57:45 +0000 (19:57 -0400)]
Replace functors in Format.cpp.
Richard Kimberly Heck [Mon, 4 May 2020 23:08:12 +0000 (19:08 -0400)]
Replace functor in BranchList
Juergen Spitzmueller [Tue, 5 May 2020 12:41:38 +0000 (14:41 +0200)]
linguistics.module: fix counters
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
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).
Richard Kimberly Heck [Mon, 4 May 2020 18:19:29 +0000 (14:19 -0400)]
Missing include according to VC19
Richard Kimberly Heck [Mon, 4 May 2020 18:05:44 +0000 (14:05 -0400)]
s/requires_/required_/ for code consistency
Richard Kimberly Heck [Mon, 4 May 2020 17:45:39 +0000 (13:45 -0400)]
Fix remaining (I think) requires keyword issues.
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.
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.
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
Juergen Spitzmueller [Mon, 4 May 2020 07:28:07 +0000 (09:28 +0200)]
Use translated GUI name of counter in button label
Juergen Spitzmueller [Mon, 4 May 2020 07:22:35 +0000 (09:22 +0200)]
Keep sort order of counter actions
Richard Kimberly Heck [Sun, 3 May 2020 19:02:40 +0000 (15:02 -0400)]
Fix warnings by using size_t as the loop variable.
Richard Kimberly Heck [Sun, 3 May 2020 19:02:25 +0000 (15:02 -0400)]
is_utf8 is always passed a char.
Richard Kimberly Heck [Sun, 3 May 2020 18:06:32 +0000 (14:06 -0400)]
Update documentation about counters.
Juergen Spitzmueller [Sun, 3 May 2020 16:38:50 +0000 (18:38 +0200)]
ru.po