]>
git.lyx.org Git - features.git/log
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).
Tommaso Cucinotta [Sun, 16 Apr 2017 09:26:29 +0000 (11:26 +0200)]
autotests: skip overly long export-in.sh test by default.
Tommaso Cucinotta [Wed, 25 Jan 2017 01:08:28 +0000 (02:08 +0100)]
Recovered working autotests for findadv on Linux/Ubuntu (after a long no-use time).
- from specific dependency on wish8.5, to just wish
- from checking the 2nd line of /proc/*/status, to grep-ing on sleeping (old system was failing on newer kernels)
- mode debugging and python output during tests
Uwe Stöhr [Sat, 15 Apr 2017 17:58:56 +0000 (19:58 +0200)]
lyx_2_2.py: fix reversion of colored boxes with special features
Uwe Stöhr [Sat, 15 Apr 2017 15:32:58 +0000 (17:32 +0200)]
BufferParams.cpp: correct output for \mathindent after [
fc1c5c6f /lyxgit]
- also adapt the lyx2lyx logic to the changed implementation
Uwe Stöhr [Sat, 15 Apr 2017 15:03:13 +0000 (17:03 +0200)]
tex2lyx: update fileformat
Stephan Witt [Sat, 15 Apr 2017 11:30:27 +0000 (13:30 +0200)]
Care for a tilde in front of a path name. A path name with tilde sign at start is interpreted as relative to the current users home directory.
Uwe Stöhr [Sat, 15 Apr 2017 04:57:52 +0000 (06:57 +0200)]
InsetFloat: allow float placement for rotated floats
- fixes bug #10270
- fileformat change
- fixes also a bug that unwanted placement was output to LaTeX on certain cases
Uwe Stöhr [Sat, 15 Apr 2017 02:54:07 +0000 (04:54 +0200)]
PDF-form.lyx: New German translation
- also many fixes and updates of the English version
- also some according fixes in de.po
Enrico Forestieri [Fri, 14 Apr 2017 23:08:25 +0000 (01:08 +0200)]
Update it.po
Enrico Forestieri [Fri, 14 Apr 2017 22:05:40 +0000 (00:05 +0200)]
lyxpak.py: Python 3 compatibility
Stephan Witt [Fri, 14 Apr 2017 20:15:50 +0000 (22:15 +0200)]
LyX build for Mac - use HFS+ compression for copying LyX.app to disk image
Stephan Witt [Fri, 14 Apr 2017 20:14:21 +0000 (22:14 +0200)]
LyX build for Mac - more readable disk mount management
Stephan Witt [Fri, 14 Apr 2017 20:08:12 +0000 (22:08 +0200)]
LyX build for Mac - avoid shipment of debug libraries
Stephan Witt [Fri, 14 Apr 2017 20:07:09 +0000 (22:07 +0200)]
LyX build for Mac - no need to deploy QtDBus framework
Uwe Stöhr [Thu, 13 Apr 2017 23:40:51 +0000 (01:40 +0200)]
Win installer: add package that is nowadays necessary to compile the PDF-form example file
Uwe Stöhr [Thu, 13 Apr 2017 22:59:32 +0000 (00:59 +0200)]
Math.lyx: correct wrong info about \mathindent
Enrico Forestieri [Thu, 13 Apr 2017 14:20:39 +0000 (16:20 +0200)]
layout2layout.py: Python 3 compatibility
The layout2layout.py script already reads and writes files in
binary format. However, all regexes and comparisons assume strings,
so that python3 chokes on them. This commit converts all involved
strings into bytes-like objects. In this way both python 2 and 3
behave the same.
Kornel Benko [Thu, 13 Apr 2017 13:46:03 +0000 (15:46 +0200)]
Cmake roundtrip tests: Amend
fc1c5c6 , rename formula_indent to math_indent
Enrico Forestieri [Thu, 13 Apr 2017 13:34:54 +0000 (15:34 +0200)]
configure.py: Python 3 compatibility
Don't assume any encoding for the layout files and treat them in
the same way python 2 does. Thanks José for the idea.
This commit supersedes
50e21b71 and
e19b2a71 .
Kornel Benko [Thu, 13 Apr 2017 09:18:05 +0000 (11:18 +0200)]
Check_layout tests: Check also stderr
1.) The command check_layout exits with "0", even if the module contains errors.
The new module check_layout.cmake tries to compensate.
2.) Added default style to the test layouts when checking single modules.
Enrico Forestieri [Thu, 13 Apr 2017 08:49:02 +0000 (10:49 +0200)]
TeXFiles.py: Python 3 compatibility
Juergen Spitzmueller [Thu, 13 Apr 2017 07:59:06 +0000 (09:59 +0200)]
Tiny clean up
Enrico Forestieri [Thu, 13 Apr 2017 07:38:46 +0000 (09:38 +0200)]
Uwe Stöhr [Thu, 13 Apr 2017 00:31:26 +0000 (02:31 +0200)]
BufferParams: rename formula_indent to math_indent etc. as requested
- also add flyx2lyx feature to import existing document class option as requested by JMarc
- also don't use a real default indentation length
Enrico Forestieri [Wed, 12 Apr 2017 19:19:42 +0000 (21:19 +0200)]
Avoid an assertion when compiling in debug mode with MSVC 2015
Seemingly, when removing an argument from argv, and thus inserting
a null pointer to shorten the array, causes an assertion because
the null pointer is not a valid heap pointer (sic!)
Fixes bug #10440
Juergen Spitzmueller [Wed, 12 Apr 2017 10:49:38 +0000 (12:49 +0200)]
FontUi: Fix layout
The old layout resulted in a too wide dialog
(especially in some localizations)
Günter Milde [Tue, 11 Apr 2017 07:51:23 +0000 (09:51 +0200)]
ctests: test unicodesymbols also with utf8.
The the default input encoding (utf8) whas somehow dropped from
the list. Restore it with explicit naming.
Juergen Spitzmueller [Wed, 12 Apr 2017 10:10:58 +0000 (12:10 +0200)]
TextLayout.ui: small layout fixes.
Juergen Spitzmueller [Wed, 12 Apr 2017 09:57:43 +0000 (11:57 +0200)]
No need to translate number
Juergen Spitzmueller [Wed, 12 Apr 2017 09:53:58 +0000 (11:53 +0200)]
de.po
Uwe Stöhr [Tue, 11 Apr 2017 22:22:23 +0000 (00:22 +0200)]
InsetFloat.cpp: fix bug #10618
the label code missed to check all options (rotated, span columns)
Kornel Benko [Tue, 11 Apr 2017 07:27:00 +0000 (09:27 +0200)]
Update sk.po
Uwe Stöhr [Tue, 11 Apr 2017 00:03:19 +0000 (02:03 +0200)]
FORMAT: correct a date
Uwe Stöhr [Mon, 10 Apr 2017 22:36:00 +0000 (00:36 +0200)]
tex2lyx: support rotated algorithm floats
LyX knows algorithm floats since ages. tex2lyx's support for rotated algorithm floats has simply been forgotten.
Uwe Stöhr [Mon, 10 Apr 2017 21:34:20 +0000 (23:34 +0200)]
TextLayoutUi.ui: correct a tooltip
Jean-Marc Lasgouttes [Mon, 10 Apr 2017 13:06:14 +0000 (15:06 +0200)]
Set encoding correctly when reading layout files
Patch from Enrico.
Jean-Marc Lasgouttes [Mon, 10 Apr 2017 09:21:29 +0000 (11:21 +0200)]
Try to preserve small details from
eb4a2a19
Part of ticket #10569
Jean-Marc Lasgouttes [Mon, 10 Apr 2017 08:27:08 +0000 (10:27 +0200)]
Better implementation for corssOutLines
When trying to do implement a LaTeX feature on screen, it is always
good to see how LaTeX does it, just in case it is easy to implement on
our side.
Then we have a correct output at all DPI sizes.
Kornel Benko [Mon, 10 Apr 2017 07:57:40 +0000 (09:57 +0200)]
Make output of check_Length.cpp more human readable.
Stephan Witt [Sat, 8 Apr 2017 19:01:17 +0000 (21:01 +0200)]
update canAutoOpenFile/autoOpenFile implementation to new MacOSX API, avoid deprecated calls
Stephan Witt [Sat, 8 Apr 2017 18:58:16 +0000 (20:58 +0200)]
#9006 care to make prefs2prefs.py python 3 compatible
Kornel Benko [Sat, 8 Apr 2017 09:43:39 +0000 (11:43 +0200)]
Update sk.po
Uwe Stöhr [Sat, 8 Apr 2017 02:55:22 +0000 (04:55 +0200)]
tex2lyx: fix the preamble output
- LyX has new preamble tags. Although that they are not relevant for LaTeX they must be created by tex2lyx nevertheless
- also fix an issue that the formula indentation was always output
- update the tex2lyx tests accordingly
Uwe Stöhr [Sat, 8 Apr 2017 02:13:05 +0000 (04:13 +0200)]
update tex2lyx tests to latest file format
Uwe Stöhr [Sat, 8 Apr 2017 01:30:21 +0000 (03:30 +0200)]
Length.cpp: add new unit representing \baselineskip
- fileformat change
Uwe Stöhr [Sat, 8 Apr 2017 00:55:00 +0000 (02:55 +0200)]
InsetTabular.cpp: handle crossed-out text
Uwe Stöhr [Sat, 8 Apr 2017 00:16:05 +0000 (02:16 +0200)]
GuiDocument.cpp: commit missing part
This should have been committed with the previous commit but failed for an unknown reason.
Uwe Stöhr [Sat, 8 Apr 2017 00:12:35 +0000 (02:12 +0200)]
MathsUi.ui. move formula indentation to text layout as requested by Jmarc
Uwe Stöhr [Fri, 7 Apr 2017 23:39:08 +0000 (01:39 +0200)]
MathsUi.ui: next attempt to make it look correct also under Linux
Guillaume MM [Sun, 2 Apr 2017 19:04:06 +0000 (21:04 +0200)]
MathAtom is a unique_ptr
Fix coverity suggestion of defining a move constructor
Kornel Benko [Fri, 7 Apr 2017 16:51:35 +0000 (18:51 +0200)]
Make runtests.py python3 ready
Tex2lyx tests with ctest depend on it
Jean-Marc Lasgouttes [Fri, 7 Apr 2017 10:04:02 +0000 (12:04 +0200)]
Avoid using buffer() which might throw an exception
Actually buffer_ is always valid on this codepath, but coverity is not
able to see that.
Jean-Marc Lasgouttes [Fri, 7 Apr 2017 09:02:36 +0000 (11:02 +0200)]
Avoid using theServer() for no reason
All it brings us is threatening to throw an exception to scare coverity off.
Uwe Stöhr [Fri, 7 Apr 2017 00:14:34 +0000 (02:14 +0200)]
MathsUi.ui: adjust dimensions as requested
Uwe Stöhr [Thu, 6 Apr 2017 23:52:48 +0000 (01:52 +0200)]
BufferParams.cpp; initialize formula_indentation with default value
- Buffer.cpp: formula_indentation will not always be output/written -> erase it
Jean-Marc Lasgouttes [Thu, 6 Apr 2017 13:13:24 +0000 (15:13 +0200)]
Row::Element::x2pos: go to nearest point also over insets
getPosNearX, which is the only user of x2pos, should always return the
nearest position.
In editXY, there is a need to return the position where the inset
stands, but it is done using checkInsetHit.
This is a simplification of commit
eb4a2a19 , which has been reverted
at
01f0ab64a .
Fixes part of bug #10569.