]>
git.lyx.org Git - lyx.git/log
Guillaume MM [Sun, 7 May 2017 12:18:17 +0000 (14:18 +0200)]
Cosmetic
Daniel Ramöller [Thu, 24 Nov 2016 12:10:03 +0000 (14:10 +0200)]
Lock toolbars (#10283)
- LFUNs to (un)lock toolbars positions (both individually and all at once)
- corresponding menu entry to "Lock Toolbars" menu.
Daniel Ramöller [Mon, 27 Feb 2017 18:34:56 +0000 (20:34 +0200)]
Add default icon for "toolbar-toggle review" (#10379)
Daniel Ramöller [Sat, 29 Oct 2016 08:28:34 +0000 (10:28 +0200)]
Preferences shows current zoom instead of preference's default zoom (#10455)
- Adds a currentZoom variable which holds the current zoom level.
- The zoom stored in preferences is used as default zoom level (default binding:
M+0).
- The currentZoom is saved and restored via QSettings.
- Adds LFUN buffer-zoom for (re)setting zoom.
Daniel Ramöller [Sun, 6 Nov 2016 07:45:09 +0000 (08:45 +0100)]
Color Preferences: Disable colors rather than hide them (#10483)
Kornel Benko [Sun, 7 May 2017 11:49:10 +0000 (13:49 +0200)]
Cmake keytests: Don't care for lyx still not finished.
The called script keytest.py already takes care of that.
Kornel Benko [Sun, 7 May 2017 11:45:48 +0000 (13:45 +0200)]
Keytests: Make logfiles unique.
Each test created log-files, but since they were not uniq it was difficult
to check what went wrong for a failed test.
Guillaume MM [Mon, 1 May 2017 23:36:23 +0000 (01:36 +0200)]
Fix crash with full view source (#10560 and #10617)
Guillaume MM [Mon, 1 May 2017 22:28:22 +0000 (00:28 +0200)]
Cosmetic
Tommaso Cucinotta [Sat, 6 May 2017 07:21:58 +0000 (09:21 +0200)]
Revert "Tolerate formats that are not supported by lyx2lyx."
This reverts commit
2f5396c871d51aa9e9b579c17dd9469fc313a732 .
Tommaso Cucinotta [Sat, 6 May 2017 07:21:50 +0000 (09:21 +0200)]
Revert "Create new graphics from within LyX choosing a sample file to copy from."
This reverts commit
7b6e26ad911db7de329169fcaebe24f19d3b3b17 .
Tommaso Cucinotta [Fri, 5 May 2017 22:47:23 +0000 (00:47 +0200)]
New gnuplot conversion capability [
b474aa5d /lyxgit] now in RELEASE-NOTES.
Tommaso Cucinotta [Fri, 14 Oct 2016 23:14:02 +0000 (01:14 +0200)]
Create new graphics from within LyX choosing a sample file to copy from.
Tommaso Cucinotta [Wed, 19 Oct 2016 09:18:10 +0000 (11:18 +0200)]
Tolerate formats that are not supported by lyx2lyx.
Tommaso Cucinotta [Thu, 4 May 2017 05:49:07 +0000 (07:49 +0200)]
skip graphics conversion when runparams.dryrun is true
Günter Milde [Thu, 4 May 2017 16:05:18 +0000 (18:05 +0200)]
ctests: move issue with nomenclature insets to a dedicated test case.
iconv fails, if a nomenclature inset contains an uncodable character
This led to failure of the indonesian UserGuide in the attic.
Fix it there and add a minimal, specific test sample instead.
Kornel Benko [Thu, 4 May 2017 11:53:09 +0000 (13:53 +0200)]
Keytests: improve handling of strings to be send to xvkbd
1.) Don't modify the line as it happened at start of sendKeystringLocal()
2.) Split lines on each keysym (e.g. \[Return])
3.) Beatify the debug output of the sent text
jpc [Thu, 4 May 2017 09:38:01 +0000 (11:38 +0200)]
fr.po : remove shortcut conflict
Tommaso Cucinotta [Wed, 3 May 2017 22:49:18 +0000 (00:49 +0200)]
Add needauth option to gnuplot->PDF converter introduced in [
066edd3c /lyxgit].
Tommaso Cucinotta [Mon, 17 Oct 2016 06:44:16 +0000 (08:44 +0200)]
Enable graphics generation from external gnuplot scripts.
Tommaso Cucinotta [Wed, 3 May 2017 15:32:31 +0000 (17:32 +0200)]
findadv: amend [
8c101829 /lyxgit] check that opt.find_buf_name is found in theBuffers().
Tommaso Cucinotta [Wed, 3 May 2017 14:37:11 +0000 (16:37 +0200)]
Revert "findadv: hide word-findadv verb from the mini-buffer"
This reverts commit
8c10182962efa643edfcfbe64fc830b5fc0d9a65 .
Jean-Marc Lasgouttes [Wed, 3 May 2017 12:51:03 +0000 (14:51 +0200)]
Fix compiler warning (gcc 7)
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()).