]>
git.lyx.org Git - features.git/log
Juergen Spitzmueller [Sun, 23 Jun 2019 14:42:07 +0000 (16:42 +0200)]
Linguistics: mini fix
Juergen Spitzmueller [Sun, 23 Jun 2019 11:43:31 +0000 (13:43 +0200)]
de/Linguistics.lyx: update
Juergen Spitzmueller [Sun, 23 Jun 2019 11:20:27 +0000 (13:20 +0200)]
de.po
Juergen Spitzmueller [Sun, 23 Jun 2019 11:05:38 +0000 (13:05 +0200)]
update tex2lyx tests
Juergen Spitzmueller [Sun, 23 Jun 2019 10:59:56 +0000 (12:59 +0200)]
Linguistics: add support for Discourse Representation Structures
File format change
Juergen Spitzmueller [Sun, 23 Jun 2019 07:30:03 +0000 (09:30 +0200)]
linguistics.module: some comments and minor re-shuffling
Juergen Spitzmueller [Sun, 23 Jun 2019 06:26:01 +0000 (08:26 +0200)]
Linguistics: doc update
Juergen Spitzmueller [Sun, 23 Jun 2019 06:25:50 +0000 (08:25 +0200)]
linguistics.module: use covington's semantic markups rather than self-baked ones
Juergen Spitzmueller [Sat, 22 Jun 2019 12:13:00 +0000 (14:13 +0200)]
Linguistics: doc updates
Juergen Spitzmueller [Sat, 22 Jun 2019 11:56:12 +0000 (13:56 +0200)]
Linguistics: Support for subexamples optional arg
Juergen Spitzmueller [Sat, 22 Jun 2019 06:58:24 +0000 (08:58 +0200)]
de.po
Juergen Spitzmueller [Sat, 22 Jun 2019 06:35:14 +0000 (08:35 +0200)]
Fix tooltip
Günter Milde [Fri, 21 Jun 2019 10:39:44 +0000 (12:39 +0200)]
Example/documentation for Korean with the "cjk-ko" package.
Günter Milde [Fri, 21 Jun 2019 07:54:45 +0000 (09:54 +0200)]
Preserve \inputencoding value when switching to non-TeX fonts.
With non-TeX fonts, the \inputencoding setting is overridden
by "utf8-plain" (pass-through). Keeping the old value allows
switching back to TeX fonts without the need to (re)set
the input encoding.
Also change back the GUI name of the "auto-legacy" setting
(cf. #11115).
Juergen Spitzmueller [Fri, 21 Jun 2019 10:16:20 +0000 (12:16 +0200)]
Add Niko Strijbol to the credits
Juergen Spitzmueller [Fri, 21 Jun 2019 10:09:05 +0000 (12:09 +0200)]
Dutch l7n is back with a big splash
Patch by Niko Strijbol
Jean-Marc Lasgouttes [Thu, 20 Jun 2019 09:22:53 +0000 (11:22 +0200)]
Fixup
3dc54d4a : fix string encoding issues with Qt4
The culprit here is the constructor QString(QByteArray const &): in
Qt4, it would interpret the byte array as latin1, and in Qt5 as utf8.
Therefore it is safer to use explicitly QString::fromUtf8 instead of
this constructor.
Several places where additionally simplified, in order to avoid some
extra conversions.
Jean-Marc Lasgouttes [Thu, 20 Jun 2019 08:48:59 +0000 (10:48 +0200)]
Fix compilation with Qt4
Günter Milde [Wed, 19 Jun 2019 19:07:00 +0000 (21:07 +0200)]
Fix order of Unicode encodings in Settings combobox.
Ensure the default encoding "utf8" comes always first,
followed by other common variants.
The encodings were sorted based on the GUI name which leads to
the default setting moving from the top position in some localizations.
Günter Milde [Tue, 18 Jun 2019 13:42:18 +0000 (15:42 +0200)]
Harmonize input encoding selection widgets.
See #11115.
Stephan Witt [Mon, 17 Jun 2019 16:07:05 +0000 (18:07 +0200)]
care for optional brackets around version string
Stephan Witt [Sun, 27 Jan 2019 20:05:49 +0000 (21:05 +0100)]
correct typo in help message
Jean-Marc Lasgouttes [Mon, 17 Jun 2019 14:19:31 +0000 (16:19 +0200)]
Use <cstdint> instead of <boost/cstdint.hpp>
This is mandated by C++11.
Jean-Marc Lasgouttes [Mon, 17 Jun 2019 13:57:03 +0000 (15:57 +0200)]
Do not use BOOST_CURRENT_FUNCTION
There is no need to use that, since __func__ is standard in C++11.
Anyway, this code is unused unless one defines USE__func__ to something.
Jean-Marc Lasgouttes [Mon, 17 Jun 2019 10:17:40 +0000 (12:17 +0200)]
Re-add win_api/config.h and somewhat update CMakeLists.txt
Kornel Benko [Sun, 16 Jun 2019 10:24:05 +0000 (12:24 +0200)]
Update sk.po
Jean-Marc Lasgouttes [Fri, 14 Jun 2019 14:42:02 +0000 (16:42 +0200)]
Rename LM_ST_* to *_STYLE and FONT_SIZE_* to *_SIZE
This makes code more uniform. This is typically something that is done
at end of cycle to limit backport issues later.
Jean-Marc Lasgouttes [Fri, 14 Jun 2019 15:05:00 +0000 (17:05 +0200)]
Revert "Rename LM_TC_* to FONT_STYLE_*"
Got it wrong, revert for now.
This reverts commit
67215833a174bfb1db8a259f61ed57ae67e10655 .
Jean-Marc Lasgouttes [Fri, 14 Jun 2019 14:42:02 +0000 (16:42 +0200)]
Rename LM_TC_* to FONT_STYLE_*
This makes code more uniform. This is typically something that is done
at end of cycle to limit backport issues later.
Kornel Benko [Thu, 13 Jun 2019 07:18:40 +0000 (09:18 +0200)]
Cmake build:Amend
44bbd0b0 and
22f59925
44bbd0b0 : Get full version of gcc
22f59925 : Remove support for gcc 4.6
Also Remove support for msvc without STD_REGEX
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 18:17:55 +0000 (20:17 +0200)]
Get full version of gcc
Recent gcc versions return a short version with -dumpversion, e.g. 9.
In this case, use -dumpfullversion, which gives something like 9.1.0.
This makes the gcc 9 detection work properly.
Kornel Benko [Wed, 12 Jun 2019 17:31:46 +0000 (19:31 +0200)]
Cmake build: Remove debug message
Kornel Benko [Wed, 12 Jun 2019 17:29:46 +0000 (19:29 +0200)]
Amend
c3484fa6 , adapt cmake-build to new hunspell-version
Kornel Benko [Wed, 12 Jun 2019 17:27:58 +0000 (19:27 +0200)]
Amend
03eadb1a , cmake-parsing of AC_INIT line changed
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 16:49:29 +0000 (18:49 +0200)]
Avoid warnings with gcc 9
The warning about unneeded std::move can be solved by conditioning on
C++14 mode.
The warnings about deprecated copy is harder, so we disable it for
now. We will be able to fix our part, but Qt triggers it a lot too.
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 16:10:13 +0000 (18:10 +0200)]
Use autoupdate to convert some obsolete calls
AC_TRY_COMPILE and AC_TRY_LINK have been obsolete for some time.
Now most autoconf warnings are gone.
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 15:58:24 +0000 (17:58 +0200)]
Fix some warnings found by the -Wall options of autoconf and automake.
There are still warnings to address. For now, they not enabled by default.
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 14:46:19 +0000 (16:46 +0200)]
Remove old compatibility code from 2002
At the time, there were two competing packages for French language:
frenchle (aka french.sty), the historical one, and frenchb.ldf, the
new kid on the block. I was difficult to know which one was loaded by
babel, and frenchle did not define \og and \fg. Thus the need for our
own definition.
These were the good old days, but this time is gone for good.
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 14:38:42 +0000 (16:38 +0200)]
Update the in-source hunspell to version 1.7.0
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 13:21:10 +0000 (15:21 +0200)]
Small changes to README
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 13:14:11 +0000 (15:14 +0200)]
Cleanup INSTALL
Remove references to Solaris 10 problems.
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 13:03:18 +0000 (15:03 +0200)]
Remove support for gcc 4.6
This was kept so long because of Ubuntu 12.04 LTS, but having a
not-really-c++11 compiler is not nice.
Jean-Marc Lasgouttes [Wed, 12 Jun 2019 11:53:47 +0000 (13:53 +0200)]
Document the new autocorrect behavior
Günter Milde [Wed, 12 Jun 2019 09:48:47 +0000 (11:48 +0200)]
Revert
051de65db and implement alternative fix for remainder of #11115.
Kornel Benko [Wed, 12 Jun 2019 07:08:26 +0000 (09:08 +0200)]
Add missing test-tool-files to the list of provided data
With this, an interested user which compiles in cmake environment,
is able to run some export tests.
Richard Kimberly Heck [Mon, 10 Jun 2019 20:44:01 +0000 (16:44 -0400)]
Do not show both 'hide' and 'close' options on tabs for child buffers.
We can only close it (as opposed to hide it) if it's not a child.
Part of #11331.
Enrico Forestieri [Sun, 9 Jun 2019 20:35:05 +0000 (22:35 +0200)]
Fix bug #11595
Avoid an endless loop when in the definition of a macro the macro
itself is used in the LyX representation part.
Kornel Benko [Sun, 9 Jun 2019 13:17:23 +0000 (15:17 +0200)]
Handle some extra characters used in names for encodings
Without this some encoding-names would not be translated.
The extra used chars are '[', ']' and '/'
like in lib/encodings:55
Encoding utf8x utf8x "utf8 (extended) [ucs] (utf8x)" UTF-8 variable inputenc
Kornel Benko [Sun, 9 Jun 2019 13:15:52 +0000 (15:15 +0200)]
Update sk.po
jpc [Sat, 8 Jun 2019 16:56:31 +0000 (18:56 +0200)]
Update fr.po
José Matos [Sat, 8 Jun 2019 11:49:30 +0000 (12:49 +0100)]
Divide the python detection in three functions, with a clear delegation of responsibilities
python23_call: determines if the binary given is appropriate and adds the necessary calling options
find_python_binary: get a list of candidates and choose the right one using python23_call
python: returns the name of the python interpreter that can be found on PATH, using find_python_binary
José Matos [Sat, 8 Jun 2019 11:22:26 +0000 (12:22 +0100)]
Move python related functions together to make it easy to read the code.
José Matos [Sat, 8 Jun 2019 08:15:03 +0000 (09:15 +0100)]
Remove alternative operator representations (and,or) and improve comments for python binary detection.
Jean-Marc Lasgouttes [Fri, 7 Jun 2019 17:41:16 +0000 (19:41 +0200)]
Revert "Remove unneeded std::move"
This confuses gcc 4.9
This reverts commit
44e88a4c1324fed447ab5510734c741d18f856c0 .
Pavel Sanda [Fri, 7 Jun 2019 14:47:04 +0000 (16:47 +0200)]
Start reporting missing citations and broken references in LaTeX build.
Now we report these in the same way as LaTeX errors (but let the user to
see the result anyway). It remains to be shown much is this disturbing
to users. Generally, ignoring these is not a good idea, because they are
harder to manually spot in longer documents.
The details of reported error varies because log linebreaks at 90
induced by pdflatex make log harder to parse.
The committed code is more robust than previous, in which some missing
cits/refs with long keys would go unnoticed.
Tested on bibtex and natbib.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg208912.html
José Matos [Fri, 7 Jun 2019 14:27:25 +0000 (15:27 +0100)]
Change python run time detection to privilege python 3 over python 2.
This should work as before but now we also control the python version and ignore it if it is not in the supported range.
Jean-Marc Lasgouttes [Thu, 6 Jun 2019 13:23:42 +0000 (15:23 +0200)]
Remove unneeded std::move
Signalled by gcc 9.
Jean-Marc Lasgouttes [Wed, 5 Jun 2019 14:28:37 +0000 (16:28 +0200)]
Clean up Language.cpp
Use range-base for loops everywhere.
Rename languagelist to languagelist_, since it is private.
Jean-Marc Lasgouttes [Wed, 5 Jun 2019 13:45:10 +0000 (15:45 +0200)]
Make Word Wrap property confiurable by language
It is now possible to specify in the lib/language file whether screen
rows can be broken anywhere (CJK languages) or only at work boundary.
Set WordWrap to false for the CJK languages (notice that japanese-cjk
had been forgotten before).
Moreover, remove a test for separators in row element that was not
really helpful.
Fixes part of ticket #10299.
José Matos [Wed, 5 Jun 2019 13:06:09 +0000 (14:06 +0100)]
Make the lyx2lyx code compatible between python2 and python3.
FWIW this code is important for very old versions of lyx, older than 1.1.5 (released 19 years ago - 2000/06/06).
Funny fact of the day, byte strings do not behave as regular strings in python3 when taking and index.
To get a sub-string we need to pass a range, a integer index will not work as it happens in a regular string:
$ ipython3
...
In [30]: line
Out[30]: b'#This file was created by <mike> Tue Jan 25 10:36:51 2000'
In [31]: line[0]
Out[31]: 35
In [32]: line[0:1]
Out[32]: b'#'
The range notations works for both byte and regular strings in python 3, and it also works in python 2.
Thus the change is simple and effective. In any case I should confess that I was quite surprised by this. :-)
Günter Milde [Wed, 5 Jun 2019 09:16:25 +0000 (11:16 +0200)]
Fix remainder of #11115.
Implement GUI suggestions from
https://www.lyx.org/trac/ticket/11115#comment:26
José Matos [Tue, 4 Jun 2019 17:26:13 +0000 (18:26 +0100)]
Remove code that is redudant.
Both for python2 and python3 output is always a string.
Juergen Spitzmueller [Tue, 4 Jun 2019 12:01:06 +0000 (14:01 +0200)]
Use a somewhat more realistic trigloss example
Juergen Spitzmueller [Tue, 4 Jun 2019 11:40:02 +0000 (13:40 +0200)]
de/Linguistics: minor corrections
Kornel Benko [Tue, 4 Jun 2019 10:44:17 +0000 (12:44 +0200)]
Update sk.po
Juergen Spitzmueller [Tue, 4 Jun 2019 10:04:29 +0000 (12:04 +0200)]
de.po
Juergen Spitzmueller [Tue, 4 Jun 2019 09:51:18 +0000 (11:51 +0200)]
de/Linguistics: update
Juergen Spitzmueller [Tue, 4 Jun 2019 09:10:54 +0000 (11:10 +0200)]
small correction
Juergen Spitzmueller [Tue, 4 Jun 2019 09:01:19 +0000 (11:01 +0200)]
Rework linguistic gloss support
This now uses the new and enhanced \digloss ad \trigloss macros of
convington 2.0 rather than the deficient self-baked ones.
File format change.
Juergen Spitzmueller [Tue, 4 Jun 2019 06:20:02 +0000 (08:20 +0200)]
Remove covington backwards compatibility code
The new environments are out now long enough, and we are going to require
covington 2.0 for the glosses in 2.4 anyway.
José Matos [Mon, 3 Jun 2019 18:07:20 +0000 (19:07 +0100)]
Fix the remaing issues with comparisons with objects of different types.
In python it is possible to compare tuples with a lexicographic order.
Take advantage of that since there is no need to resort to the C-trick of converting a version in hex format.
We need to set a dummy version in case we are using ImageMagick to ensure that version is always an integer 3-tuple.
José Matos [Mon, 3 Jun 2019 16:15:09 +0000 (17:15 +0100)]
Fix bug in python comparison.
It worked in python2 but not the way the authors imagined. Because hex always returns a string.
From python2:
>>> 1 > "2"
False
>>> "2" > 1
True
>>> "1" > 2
True
The rational is that an integer is always smaller than a string.
In python 3 this because it does not make sense to compare objects of different types.
Günter Milde [Mon, 3 Jun 2019 14:52:29 +0000 (16:52 +0200)]
ctests Arabic: mark non-Arabic text parts as English, fix inversion pattern.
Günter Milde [Mon, 3 Jun 2019 14:45:05 +0000 (16:45 +0200)]
lyx2lyx refactoring and minor fixes.
Günter Milde [Mon, 3 Jun 2019 14:43:16 +0000 (16:43 +0200)]
Support more languages (file format change).
Format incremented to 576:
Support for the document languages azerbaijani, bengali,
churchslavonic, and oldrussian.
Günter Milde [Mon, 3 Jun 2019 07:03:13 +0000 (09:03 +0200)]
Fix some problems with lyx2lyx_tools.revert_languages().
Amends
7bb30286 .
Tested cases are now handled fine.
(There are still many cases where the language support emulation
is too complex for lyx2lyx and manual fixes are required after
lyx2lyx conversion.)
Enrico Forestieri [Mon, 3 Jun 2019 14:54:28 +0000 (16:54 +0200)]
Math autocorret: cycle through dots
Also remove the unknown symbols \hdots and \udots.
Jean-Marc Lasgouttes [Mon, 3 Jun 2019 14:22:44 +0000 (16:22 +0200)]
Make caret visible inside math macros arguments
The first step is to move the MathRow cache to BufferView, alongside
coordCache. This was on the todo list anyway, since it allows to let
go the math row information when the math equation is not on the
screen anymore. With the old scheme, it would always remain in memory.
Then, when computing caret size in MathData::metrics, make sure that
the mathrow of the elements that are linearized in the MathRow object
get their caret size information initialized too.
Fixes bug #11587.
Juergen Spitzmueller [Mon, 3 Jun 2019 12:33:08 +0000 (14:33 +0200)]
Properly reset lineno_opts
Enrico Forestieri [Mon, 3 Jun 2019 10:32:13 +0000 (12:32 +0200)]
Some more tweaks to math autocorrect
In particular, make the '>' and '<' symbols followed by '*' cycle
through some sensible group of symbols.
Enrico Forestieri [Mon, 3 Jun 2019 09:37:15 +0000 (11:37 +0200)]
Close cycle and correct typo
I think that the autocorrect file needs an overhaul.
Isaac [Fri, 24 May 2019 23:07:26 +0000 (11:07 +1200)]
Removed shortcuts to toggle autocorrect.
They are not really needed now that autocorrection can be undone. This
increases autocorrect usability.
Jean-Marc Lasgouttes [Sun, 2 Jun 2019 19:29:20 +0000 (21:29 +0200)]
Add Isaac Oscar to credits
Enrico Forestieri [Mon, 3 Jun 2019 08:21:40 +0000 (10:21 +0200)]
Use the new autocorrect feature
Correct or activate some already present shortcuts, and add new ones
for easily obtaining the most common fixed size delimiters.
Pressing '*' after a delimiter will cycle through all sizes.
José Matos [Mon, 3 Jun 2019 06:31:05 +0000 (07:31 +0100)]
Make verbose switch consistent.
Someday we should probably unify these two switches. Because the debug switch is verbose
and the verbose switch is mostly used for debuging.
Jean-Marc Lasgouttes [Mon, 15 Apr 2019 09:12:25 +0000 (11:12 +0200)]
Allow to undo partly math autocorrect
To this end, introduce Undo::splitUndoGroup, which ends currently
group and creates a new one with same nesting level.
Isaac [Tue, 9 Apr 2019 01:48:46 +0000 (13:48 +1200)]
Make math autocorrrect work with more than 2 chars
Currently, math autocorrect allows to transform a couple of characters
to a new one. This patch allows to transform a couple (sequence,
character) to a new character.
No example are implemented right now. One possible idea would be
"--" + ">" => \longrightarrow
Juergen Spitzmueller [Sun, 2 Jun 2019 17:07:01 +0000 (19:07 +0200)]
Fix lineno options param
This has been written even if empty -- and thus caused reading errors.
José Matos [Sun, 2 Jun 2019 16:24:40 +0000 (17:24 +0100)]
Import lyxpreview_tools directly and not only inside *if* conditions.
This is related to the bug #11457 saga and it was my fault.
The debug files should be written only be on if the argument --debug is passed and not --verbose as it was done by mistake.
Juergen Spitzmueller [Sun, 2 Jun 2019 16:16:30 +0000 (18:16 +0200)]
New InsetLayout tag ParbreakIgnored
This effectively allow paragraph breaks in insets only for cosmetic
reasons (e.g., to align contents on different lines).
This is the last change necessary for an enhanced covington gloss support
(which uses the new covington gloss ui)
Juergen Spitzmueller [Sun, 2 Jun 2019 16:07:10 +0000 (18:07 +0200)]
Add InsertOnNewline argument tag
This adds a paragraph break before auto-inserting arguments in flex
insets.
Useful for specific arguments (particularly ling glosses)
Juergen Spitzmueller [Sun, 2 Jun 2019 14:55:11 +0000 (16:55 +0200)]
Juergen Spitzmueller [Sun, 2 Jun 2019 14:33:06 +0000 (16:33 +0200)]
Support FreeSpacing in InsetArgument
Juergen Spitzmueller [Sun, 2 Jun 2019 07:26:32 +0000 (09:26 +0200)]
Allow for auto-inserting multiple arguments
Juergen Spitzmueller [Sun, 2 Jun 2019 07:25:56 +0000 (09:25 +0200)]
Enable AutoInsert with post arguments
Günter Milde [Wed, 29 May 2019 22:07:33 +0000 (00:07 +0200)]
fixes to lyx2lyx's revert_language tool.
Günter Milde [Tue, 28 May 2019 09:53:49 +0000 (11:53 +0200)]
ctest test documents for lyx2lyx.
Currently failing due to an error in revert_language().
Günter Milde [Tue, 28 May 2019 08:34:46 +0000 (10:34 +0200)]
lyx2lyx refactoring
Reduce code duplication in revert_language, no change to output.
Juergen Spitzmueller [Sat, 1 Jun 2019 07:28:21 +0000 (09:28 +0200)]
de.po
Kornel Benko [Fri, 31 May 2019 18:15:06 +0000 (20:15 +0200)]
Update sk.po