]>
git.lyx.org Git - lyx.git/log
Kornel Benko [Thu, 4 Jun 2020 16:01:49 +0000 (18:01 +0200)]
Amend
9c863039 : Cmake build: Adapt handling of c++ standards to new Visual C++ 2019
Apparently the use of "/std:c++20" is too new for our sources.
Kornel Benko [Wed, 3 Jun 2020 19:44:42 +0000 (21:44 +0200)]
Cmake build: Add some missing language-specific files for installation
Preparing for possible addition af language file like zh_CN or pt_BR
in the examples directory
Kornel Benko [Wed, 3 Jun 2020 18:22:19 +0000 (20:22 +0200)]
Tools(listFontWithLang.pl): New option, typo, categorisation
1.) With option --nc we can select fonts not including these glyphs
2.) Typo NSpripts -> NScripts
3.) corrected categorisation of some fonts not including latin chars
Kornel Benko [Wed, 3 Jun 2020 10:38:23 +0000 (12:38 +0200)]
Tools(listFontWithLang.pl): A try to categorize culmus an lyx fonts
Juergen Spitzmueller [Wed, 3 Jun 2020 10:05:42 +0000 (12:05 +0200)]
Some corrections to the Russian User Guide, by Yuriy
Stephan Witt [Mon, 1 Jun 2020 19:48:18 +0000 (21:48 +0200)]
Add template for MacOS private frameworks to distribution
Richard Kimberly Heck [Mon, 1 Jun 2020 16:27:32 +0000 (12:27 -0400)]
Forgot this part.
Richard Kimberly Heck [Mon, 1 Jun 2020 16:23:14 +0000 (12:23 -0400)]
Internal buffers are valid
Kornel Benko [Mon, 1 Jun 2020 08:20:38 +0000 (10:20 +0200)]
Amend
44816adce63 : Be careful before using buffer parameters in colAlign
The LASSERT(isBufferValid()..) leads to crash in find-adv dialog
Kornel Benko [Sat, 30 May 2020 12:29:39 +0000 (14:29 +0200)]
Tools(listFontWithLang.pl): Remove padmaa from sans-list, it is serif font
Also display intervalls of character sets (unicode points)
Juergen Spitzmueller [Sat, 30 May 2020 10:54:20 +0000 (12:54 +0200)]
Add support for the xindex index processor
This is a modern alternative for makeindex that is fully unicode-aware
and written in lua.
As opposed to xindy, it is more lightweight and actively maintained.
The program is still in a rather early stage of development, so we do
not propose this as default.
This relies on xindex 0.22 (about to be released) to function properly.
Kornel Benko [Sat, 30 May 2020 09:14:26 +0000 (11:14 +0200)]
Modify 2 tests to reflect actual GUI
bug-10636: The position of 'View->Code Preview Pane' in dialog changed
bug-export-latex: Add comment
Juergen Spitzmueller [Sat, 30 May 2020 07:27:37 +0000 (09:27 +0200)]
update tex2lyx tests after
5b2479176b0bb8
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