]>
git.lyx.org Git - features.git/log
Jean-Marc Lasgouttes [Tue, 11 Apr 2017 11:03:34 +0000 (13:03 +0200)]
Show properly on screen "indented" maths.
This is done by two things:
1/ the equation returns LefAlign as display() value
2/ Inset::indent() return a value (in general 0) that should be added
on the left (or right in rtl) of the inset when it is flushed.
The code that uses these values is in TextMetrics::computeRowMetrics.
jpc [Wed, 3 May 2017 11:33:45 +0000 (13:33 +0200)]
Update fr.po
Jean-Marc Lasgouttes [Wed, 3 May 2017 07:39:30 +0000 (09:39 +0200)]
Compilation fix
Tommaso Cucinotta [Tue, 2 May 2017 23:29:36 +0000 (01:29 +0200)]
findadv: hide word-findadv verb from the mini-buffer
The current set of options to provide include names of
the find and replace internal buffers, something out of
reach for the user. Furthermore, options are provided
using a multi-line syntax, which cannot be entered
using the mini-buffer AFAIK.
Tommaso Cucinotta [Tue, 2 May 2017 15:46:38 +0000 (17:46 +0200)]
findadv: fix crash on wrong syntax/usage of word-findadv LFUN from mini-command.
Uwe Stöhr [Tue, 2 May 2017 21:09:36 +0000 (23:09 +0200)]
GuiDocument.cpp: correct a name
No math numbering placement option means default. The default could be already the left side for special document classes.
Uwe Stöhr [Tue, 2 May 2017 21:05:30 +0000 (23:05 +0200)]
TextLayoutUi.ui: remove trace of a moved feature
fixes bug #10647
Kornel Benko [Tue, 2 May 2017 12:12:41 +0000 (14:12 +0200)]
Cmake build: Try to figure out at configure time which qt version to use
Selecting -DLYX_USE_QT=AUTO (which is the default now) will try
to figure out which QT-version to use.
The qt4 version will be used if it is installed and the installed qt5-version is <= 5.6
Otherwise use qt5 if it is installed.
Kornel Benko [Tue, 2 May 2017 10:22:09 +0000 (12:22 +0200)]
Added testcase for crash with using function word-findadv
Kornel Benko [Tue, 2 May 2017 06:16:00 +0000 (08:16 +0200)]
Cmake build: Correct suffixing on non-gcc-compilers
If the value LYX_PROGRAM_SUFFIX is not handled, we have to use
LYX_PACKAGE_SUFFIX.
The naming 'PACKAGE' in our sources is misleading, as it is used
for the name of the debian/rpm packages as well.
Scott Kostyshak [Tue, 2 May 2017 00:02:25 +0000 (20:02 -0400)]
Warn re mixed layouts only for export (#10645)
Do not warn about mixing title layouts while editing with the code
preview pane open.
This commit amends
0b1cf133 .
Guillaume MM [Sun, 30 Apr 2017 22:02:10 +0000 (00:02 +0200)]
Remove spurious error "QFileSystemWatcher::removePath: path is empty"
Juergen Spitzmueller [Mon, 1 May 2017 15:34:25 +0000 (17:34 +0200)]
Do not add symbols twice to Encoding::symbolsList()
Also sort the list properly.
Fixes #10644
Günter Milde [Mon, 1 May 2017 08:35:20 +0000 (10:35 +0200)]
Force "textdegree" for encoding koi8-u.
Kornel Benko [Sun, 30 Apr 2017 16:20:57 +0000 (18:20 +0200)]
Update sk.po
Kornel Benko [Sun, 30 Apr 2017 16:12:13 +0000 (18:12 +0200)]
Cmake build: Remove use of policies which will be deprecated in near future
In order to prevent unpleasant surprises later.
(Cmake 3.8 already emits now warnings here.)
Kornel Benko [Sun, 30 Apr 2017 14:58:41 +0000 (16:58 +0200)]
Cmake build: Allow numbers in lyx-suffix too
That way we can use '-DLYX_SUFFIX_VALUE=123.456'
Uwe Stöhr [Sat, 29 Apr 2017 13:37:09 +0000 (15:37 +0200)]
sv.po: update from Jim for LyX 2.3
Juergen Spitzmueller [Sat, 29 Apr 2017 11:54:01 +0000 (13:54 +0200)]
IndexPrint and Nomencl were not fully latexified.
Do not treat them as non-verbatim in conversion. This keeps math $...$
as math.
There will be problems with characters that are outside the given
encoding, but as long as there is no way to convert them to the
respective LaTeX macros from within lyx2lyx, I don't know how to solve
this.
Jean-Marc Lasgouttes [Fri, 28 Apr 2017 13:06:30 +0000 (15:06 +0200)]
Define new inPixels helper in BufferView
Length::inPixels(MetricsBase const &) and VSpace::inPixels(BufferView
const &) should be moved respectuvely to MetricsBase and BufferView:
core file are not supposed to use GUI files.
Kornel Benko [Fri, 28 Apr 2017 09:42:50 +0000 (11:42 +0200)]
Remove xvkbd from cmake build.
The directory still exists because automake build refers it.
Kornel Benko [Thu, 27 Apr 2017 11:11:21 +0000 (13:11 +0200)]
Added a testcase for #8381 (advanced find & replace for lists)
Kornel Benko [Wed, 26 Apr 2017 14:03:24 +0000 (16:03 +0200)]
Keytests: Make the wrapper sendKeystring() around sendKeystringLocal() be recursive
This makes the wrapper working smoothly even for more complicated
input lines.
Also we do not need the window- parameter in call to xvkbd.
Still, there _is_ something fishy. At first run it can happen that
some keytest fail. But not reproducible at subsequent calls.
It feels like QT would cache some data and therefore lyx reacts
later faster.
This work is a result of collaboration with Tommaso Cucinotta.
Kornel Benko [Wed, 26 Apr 2017 12:21:54 +0000 (14:21 +0200)]
Update tex2lyx files to new format
Kornel Benko [Wed, 26 Apr 2017 12:19:21 +0000 (14:19 +0200)]
To check if directory paths are identical we have to use realpath()
Uwe Stöhr [Tue, 25 Apr 2017 22:32:13 +0000 (00:32 +0200)]
GuiDocument.cpp: change naming of formula numbering option
Jean-Marc Lasgouttes [Tue, 25 Apr 2017 17:03:20 +0000 (19:03 +0200)]
Amend
b3fbe4edfd
It is better to enumerate all possibilities. Now we have a list of
special characters that do not have a tooltip.
Günter Milde [Tue, 25 Apr 2017 16:45:51 +0000 (18:45 +0200)]
Remove workaround for bug in TeXLive2005.
Günter Milde [Tue, 25 Apr 2017 16:42:55 +0000 (18:42 +0200)]
Silence coverity warning.
Kornel Benko [Tue, 25 Apr 2017 15:34:56 +0000 (17:34 +0200)]
keytests: Speed up some tests
The idea is, that strings going to the lyx-command-field
can be sent at full speed.
Jean-Marc Lasgouttes [Tue, 25 Apr 2017 09:50:29 +0000 (11:50 +0200)]
Remove unused autoconf macro
Kornel Benko [Tue, 25 Apr 2017 08:08:31 +0000 (10:08 +0200)]
Added mythes/CMakeLists.txt to the distribution
Kornel Benko [Tue, 25 Apr 2017 08:01:08 +0000 (10:01 +0200)]
Added distribution of a missing file used by tests.
Uwe Stöhr [Tue, 25 Apr 2017 01:01:39 +0000 (03:01 +0200)]
Move mathindent from text layout to math settings as discussed
Uwe Stöhr [Tue, 25 Apr 2017 00:28:10 +0000 (02:28 +0200)]
support for the document class option leqno
- fileformat change
Uwe Stöhr [Mon, 24 Apr 2017 23:43:23 +0000 (01:43 +0200)]
build5-2015-installer.bat: we use Qt 5.6.2
Kornel Benko [Mon, 24 Apr 2017 16:08:23 +0000 (18:08 +0200)]
Update sk.po
Kornel Benko [Mon, 24 Apr 2017 15:50:49 +0000 (17:50 +0200)]
keytests: Allow definition of shortcuts for the test.
Since no extra shortcuts are defined, this is essentially a noop ATM.
Kornel Benko [Mon, 24 Apr 2017 15:48:59 +0000 (17:48 +0200)]
Cmake build: Prefer using pyton3 over python2
Kornel Benko [Mon, 24 Apr 2017 15:47:39 +0000 (17:47 +0200)]
Cmake build: Enable std_regex over boost_regex again
Kornel Benko [Mon, 24 Apr 2017 15:44:31 +0000 (17:44 +0200)]
make the message about ignoring errors clearer
Kornel Benko [Mon, 24 Apr 2017 15:43:39 +0000 (17:43 +0200)]
keytests: small improvements in test speed
Kornel Benko [Mon, 24 Apr 2017 15:42:24 +0000 (17:42 +0200)]
keytests: Some improvements to keytest.py
Changes are:
1.) make it python3 compatible
2.) rewritten the lyx_status() routine
3.) routines lyx_sleeping(), lyx_zombie(), lyx_dead() now depend on lyx_status()
4.) dont send keystring "\Afn" at start as it is language dependent
5.) handling of TestEnd uses now lyx-commands to stop the lyx-session.
Use 'kill -9' only if unsuccessful
Jean-Marc Lasgouttes [Fri, 21 Apr 2017 13:52:24 +0000 (15:52 +0200)]
Configure options cleanup
The default build type (computed from LyX version) is now displayed in
configure help.
Change a little bit the help text of several options.
Guillaume MM [Sun, 2 Apr 2017 22:31:37 +0000 (00:31 +0200)]
Mover.h: let move be defined
We cannot use default for ~Mover() because gcc 4.6 cannot cope with it.
Scott Kostyshak [Mon, 24 Apr 2017 04:05:15 +0000 (00:05 -0400)]
Back to development
Scott Kostyshak [Mon, 24 Apr 2017 04:03:20 +0000 (00:03 -0400)]
This is LyX 2.3.0alpha1
Scott Kostyshak [Mon, 24 Apr 2017 04:03:19 +0000 (00:03 -0400)]
Update docs to 2.3.0alpha1 format
Scott Kostyshak [Sun, 23 Apr 2017 20:56:19 +0000 (16:56 -0400)]
Recover \origin tag in documents
See the following ML thread:
https://www.mail-archive.com/search?l=mid&q=ndao0s%24vvb%242%40ger.gmane.org
Scott Kostyshak [Mon, 24 Apr 2017 02:46:44 +0000 (22:46 -0400)]
Copy caveats from RELEASE-NOTES to UPGRADING
Scott Kostyshak [Sun, 23 Apr 2017 20:32:49 +0000 (16:32 -0400)]
NEWS: add what's new in LyX 2.3
Scott Kostyshak [Mon, 24 Apr 2017 02:25:26 +0000 (22:25 -0400)]
NEWS: remove whitespace at end of lines
Scott Kostyshak [Sun, 23 Apr 2017 20:27:42 +0000 (16:27 -0400)]
NEWS: Update from the 2.2.x branch
Scott Kostyshak [Sun, 23 Apr 2017 20:09:26 +0000 (16:09 -0400)]
Update ANNOUNCE for LyX2.3.0alpha1
Scott Kostyshak [Sun, 23 Apr 2017 19:02:39 +0000 (15:02 -0400)]
Update the formats of lyxrc.dist.in to 21
In the end, no changes were needed. This was decided by prefs2prefs
for MacOSX and cygwin, and by manual inspection for Win32.
Uwe Stöhr [Sun, 23 Apr 2017 12:39:36 +0000 (14:39 +0200)]
Win installer/settings.nsh: correct version numbering
Uwe Stöhr [Sun, 23 Apr 2017 12:24:24 +0000 (14:24 +0200)]
Win installer/ChangeLog.txt: fix typo
Uwe Stöhr [Sun, 23 Apr 2017 12:23:45 +0000 (14:23 +0200)]
Arabic Shortcuts.lyx: remove an inset-info
as reported on the lyx-docs list this inset prevents the compilation of the file on Mac OS
It can be re-added when the bug is fixed (bug report follows soon by the original bug reporter)
Uwe Stöhr [Sun, 23 Apr 2017 11:57:45 +0000 (13:57 +0200)]
Win installer: prepare for alpha 1 release
Uwe Stöhr [Sun, 23 Apr 2017 11:54:54 +0000 (13:54 +0200)]
doc files: port recent changes from branch
Tommaso Cucinotta [Sat, 22 Apr 2017 21:28:48 +0000 (23:28 +0200)]
about 'needauth' in RELEASE-NOTES
Scott Kostyshak [Sat, 22 Apr 2017 02:41:03 +0000 (22:41 -0400)]
Revert "Mover.h: let move be defined"
This reverts commit
d4ea07705a88089519b80db3307a7d940fbae40d .
d4ea0770 lead to a compile error with gcc 4.6. The error is likely
due to that version's weak C++11 support.
This commit reverts
d4ea0770 in order to preserve compilation with
gcc 4.6 for alpha1.
Günter Milde [Fri, 21 Apr 2017 12:01:50 +0000 (14:01 +0200)]
Fix tex2lyx roundtrip ctests.
The last commit accidentially changed the encoding
of a sample file.
Stephan Witt [Tue, 18 Apr 2017 07:32:22 +0000 (09:32 +0200)]
use examples folder setting from preferences
Uwe Stöhr [Thu, 20 Apr 2017 23:05:54 +0000 (01:05 +0200)]
lyx_2_2.py: fix box reversion routine again
silly mistake, now Math.lyx reverts correctly again.
Uwe Stöhr [Thu, 20 Apr 2017 22:00:30 +0000 (00:00 +0200)]
Arabic Intro.lyx: mark LTR text as English like we do for the Hebrew doc files
Guillaume MM [Sun, 9 Apr 2017 23:05:55 +0000 (01:05 +0200)]
MathAtom: prefer composition over inheritance
Guillaume MM [Sun, 2 Apr 2017 22:31:37 +0000 (00:31 +0200)]
Mover.h: let move be defined
Guillaume MM [Mon, 10 Apr 2017 23:27:20 +0000 (01:27 +0200)]
Add option obeyFinal for todo notes #10615
Tommaso Cucinotta [Thu, 20 Apr 2017 21:39:31 +0000 (23:39 +0200)]
Fix for crash/segfault introduced with [
244de5d2 /lyxgit], thanks Guillame.
Günter Milde [Mon, 6 Mar 2017 13:49:30 +0000 (14:49 +0100)]
special character "allowbreak" (ZWSP), fileformat change
New special character to mark an optional line break
without inserting a hyphen (ZWSP). See #10585.
Corresponds to the Unicode character U+200B ZERO WIDTH SPACE
This isn't a “space”. It is an invisible character that can be used
to provide line break opportunities.
http://unicode.org/notes/tn27/
While the literal Unicode character can be used in the LyX
file, it is invisible in the GUI.
For visible feedback, the patch adds a new special character "allowbreak".
The small mark is inspired by LibereOffice.
A tooltip is added.
Uwe Stöhr [Thu, 20 Apr 2017 21:21:11 +0000 (23:21 +0200)]
GuiDocument: re-introduce allowMathIndent()
was accidentally reverted by [
d86954eb /lyxgit]
Uwe Stöhr [Thu, 20 Apr 2017 20:43:51 +0000 (22:43 +0200)]
UserGuide.lyx: fix a typo
- also 2 formatting fixes
Jean-Marc Lasgouttes [Thu, 20 Apr 2017 16:05:04 +0000 (18:05 +0200)]
Make top/bottom margin value DPI-dependent
One less hardcoded pixel value.
Use thisoccasion to set the left/right margin in inches too, since it
is easier to compute.
Jean-Marc Lasgouttes [Wed, 19 Apr 2017 15:49:11 +0000 (17:49 +0200)]
Rewrite mathindent without HSpace class
Use Length instead of HSpace for math_indentation and rename it to mathindent.
Get rid of the string version.
Rename (g|s)etMathIndentation() to (g|s)etMathIndent().
Remove the HSpace class altogether.
Some cleanups to parindent support to look like mathindent.
Jean-Marc Lasgouttes [Wed, 19 Apr 2017 14:19:18 +0000 (16:19 +0200)]
Revert "BufferParams: get rid of the HSpace class for mathindent as requested by JMarc"
This reverts commit
d9a2a4026800865b15da186620ffab4c6b409765 .
This is not the right way of getting rid of HSpace. We need a proper
Length, not a string.
Jean-Marc Lasgouttes [Tue, 18 Apr 2017 16:06:35 +0000 (18:06 +0200)]
Fixes to ParIndent support
- remove quotes around length
- use "default" for default parindent, instead of an empty string
- Fix the constructor Length(string const &) so that an empty string
corresponds to an empty length (coherent with Length::asString()).
Jean-Marc Lasgouttes [Tue, 18 Apr 2017 12:45:05 +0000 (14:45 +0200)]
Autotools: use silent rule for moc in src/support.
Uwe Stöhr [Mon, 17 Apr 2017 18:58:09 +0000 (20:58 +0200)]
GuiDocument.cpp: add missing validation code
Uwe Stöhr [Mon, 17 Apr 2017 18:32:31 +0000 (20:32 +0200)]
BufferParams: get rid of the HSpace class for mathindent as requested by JMarc
Uwe Stöhr [Mon, 17 Apr 2017 17:17:54 +0000 (19:17 +0200)]
lyx2lyx/lyx_2_0.py: fix a box reversion bug
- the use_makebox statement was not removed for nested boxes
Jean-Marc Lasgouttes [Thu, 13 Apr 2017 20:51:48 +0000 (22:51 +0200)]
Cleanup parindent support
Rename (g|s)etter to (get|set)ParIndent(), and rename member variables
accordingly.
Do not rely on HSpace anymore, since Length does have all we need.
Uwe Stöhr [Mon, 17 Apr 2017 13:26:41 +0000 (15:26 +0200)]
Revert "French Tutorial.lyx: some typographic fixes"
Uwe Stöhr [Mon, 17 Apr 2017 13:20:04 +0000 (15:20 +0200)]
doc files: port recent changes from branch
Uwe Stöhr [Mon, 17 Apr 2017 02:08:43 +0000 (04:08 +0200)]
PDF-form.lyx: some minor fixes
Uwe Stöhr [Mon, 17 Apr 2017 02:06:52 +0000 (04:06 +0200)]
lyx2lyx/lyx_2_2.py: correct reversion of boxes
Stephan Witt [Sat, 15 Apr 2017 16:38:57 +0000 (18:38 +0200)]
Revert "update canAutoOpenFile/autoOpenFile implementation to new MacOSX API, avoid deprecated calls"
This reverts commit
d568846e0331adc9a879c68b00c7dff901692dc7 .
Unfortunately the used alternative API LSCopyDefaultApplicationURLForContentType
is available with 10.10 and later only and cannot be used therefore. So there
is no alternative to deprecated calls ATM. LyX 2.3 should run on 10.7 at least.
Tommaso Cucinotta [Sun, 16 Apr 2017 22:41:29 +0000 (00:41 +0200)]
lyxfind: cleanup regex_replace() and back to a sane amount of logging during findadv operations.
Tommaso Cucinotta [Sun, 16 Apr 2017 22:38:31 +0000 (00:38 +0200)]
findadv: match \textbackslash and \textasciicircum also without trailing {} (fixes autotest findadv-re-02-in.txt).
Tommaso Cucinotta [Sun, 16 Apr 2017 21:43:56 +0000 (23:43 +0200)]
findadv: using \w instead of [[:word:]] makes test-case std::regex compatible; also, fixed UI shortcuts changes that made test fail.
Tommaso Cucinotta [Sun, 16 Apr 2017 21:10:17 +0000 (23:10 +0200)]
findadv: almost all test cases, including \regex[{}, back to working with std::regex.
Uwe Stöhr [Sun, 16 Apr 2017 21:30:11 +0000 (23:30 +0200)]
doc files: improve 3 PDFs
Scott Kostyshak [Sun, 30 Oct 2016 21:50:40 +0000 (17:50 -0400)]
Do not open or close branches after doc settings
When applying or saving Document Settings, LyX no longer opens or
closes branch insets. The intent of the previous code was to open
branch insets of a branch that is activated, and close branch insets
of a branch that is deactivated.
After some discussion [1], it was decided that the behavior intended
by the previous code was inconsistent with activating/deactivating a
branch in the context-menu of a branch inset, and the previous code
assumed a workflow of the user, rather than letting the user
separate opening/closing branch insets from activating/deactivating
them.
This commit modifies
fd6cd728 .
[1] https://www.mail-archive.com/search?l=mid&q=
20161030220813 .3zlp3zgqgomhx35y%40steph
Uwe Stöhr [Sun, 16 Apr 2017 18:12:31 +0000 (20:12 +0200)]
doc files: port recent changes from the 2.2.x branch
- also delete a now unused screenshot (cannot be deleted in the stable 2.2.x branch)
Kornel Benko [Sun, 16 Apr 2017 17:43:54 +0000 (19:43 +0200)]
findadv: fix compilation issue from [lyxgit/
ecc36be6 ], when using boost instead of std regex.
Uwe Stöhr [Sun, 16 Apr 2017 14:24:01 +0000 (16:24 +0200)]
lyx_2_3.py: whitespace fixes
Uwe Stöhr [Sun, 16 Apr 2017 14:01:29 +0000 (16:01 +0200)]
de.po: use a more suitable translation
Uwe Stöhr [Sun, 16 Apr 2017 13:58:26 +0000 (15:58 +0200)]
French Math.lyx: port a translation
Uwe Stöhr [Sun, 16 Apr 2017 13:38:45 +0000 (15:38 +0200)]
PDF-form.lyx: some corrections and updates
Tommaso Cucinotta [Sun, 16 Apr 2017 09:27:34 +0000 (11:27 +0200)]
findadv: avoid crash when regexp-based search fails (mitigates #10625).