]> git.lyx.org Git - lyx.git/log
lyx.git
7 years agoProper GUI feedback for leqno option
Jean-Marc Lasgouttes [Fri, 12 May 2017 13:07:02 +0000 (15:07 +0200)]
Proper GUI feedback for leqno option

With these changes, equation numbers are shown properly on screen.
When setting is default, we guess the side using these two rules

* ams(art|book) and siamltex classes are leqno by default. This is
  signalled because the classes provide "leqno" (in amsdefs.inc). If
  there are other classes that do this in output, the relevant classes
  should be updated.

* the language arabic_arabi also sets leqno by default. This is
  currently hardcoded for lack of a better idea.

Besides, a few bugs are fixed:
* use mathrm instead of mathbf for numbers metrics
* set spacing between maths and labels in inches

7 years agokeytests: Make reading of /proc for lyx-status more robust
Kornel Benko [Fri, 12 May 2017 11:55:51 +0000 (13:55 +0200)]
keytests: Make reading of /proc for lyx-status more robust

Often the relevant entry (e.g. /proc/xxxx/status) exists,
but is empty. This led to many tests fail, mostly at
the first tests after the start of the OS.

7 years agoNever, never use a string for something that has 3 values
Jean-Marc Lasgouttes [Fri, 12 May 2017 09:57:17 +0000 (11:57 +0200)]
Never, never use a string for something that has 3 values

This commit replaces the string math_number_before by a proper math_number enum.

Note that the _before naming was misleading. It was chosen at a time
when we were not sure whether leqno was always left or could be right
in RtL documents.

Note that the token in LyX document is still \math_number_before and
this should be changed.

Fixup for 19cc4a1f.

7 years agokeytests: Print proc-info in case lyx_status() signals "dead"
Kornel Benko [Fri, 12 May 2017 09:22:05 +0000 (11:22 +0200)]
keytests: Print proc-info in case lyx_status() signals "dead"

7 years agopython3: fix the preview framework to work with both python 2 and 3 (part 4)
José Matos [Fri, 12 May 2017 09:01:48 +0000 (10:01 +0100)]
python3: fix the preview framework to work with both python 2 and 3 (part 4)

Remove support for python 1.x (really)

This code has not been used for a long time, probably never, since some code
above requires at least python 2.4 to work.

I got to this code by running futurize from python-future. There are no
significant warnings, mostly are related with the division but since
we are dividing floats there is no change between python 2 and 3.

7 years agoGuiDocument: support also the class option reqno
Uwe Stöhr [Thu, 11 May 2017 23:06:05 +0000 (01:06 +0200)]
GuiDocument: support also the class option reqno

as discussed our support for the formula numbering side should be complete. There are document classes that uses left numbering as default and with the class option "reqno" this can be changed to right numbering. reqno requires the loading of amsamth.

7 years agoUpdate sk.po
Kornel Benko [Thu, 11 May 2017 22:43:00 +0000 (00:43 +0200)]
Update sk.po

7 years agopython3: fix the preview framework to work with both python 2 and 3 (part 3)
José Matos [Thu, 11 May 2017 19:56:56 +0000 (20:56 +0100)]
python3: fix the preview framework to work with both python 2 and 3 (part 3)

trivial fix: xrange -> range

7 years agoFix fa0f142e (plain quotes fix).
Günter Milde [Thu, 11 May 2017 19:41:12 +0000 (21:41 +0200)]
Fix fa0f142e (plain quotes fix).

Forgot the "break", sorry.

7 years agoFix #10583 - plain quote inset latex export in different font encodings.
Günter Milde [Thu, 11 May 2017 16:08:11 +0000 (18:08 +0200)]
Fix #10583 - plain quote inset latex export in different font encodings.

Since [e68afbe671394a/lyxgit], plain quotes came out wrong if the document
contains text parts in languages setting a different font encoding.

7 years agopython3: fix the preview framework to work with both python 2 and 3 (part 2)
José Matos [Thu, 11 May 2017 14:50:08 +0000 (15:50 +0100)]
python3: fix the preview framework to work with both python 2 and 3 (part 2)

7 years agoFix the fix for python 2 and 3 compatibility.
Günter Milde [Thu, 11 May 2017 14:30:10 +0000 (16:30 +0200)]
Fix the fix for python 2 and 3 compatibility.

Really remove the "r" prefix.

7 years agokeytests: more tweaking
Kornel Benko [Wed, 10 May 2017 22:00:42 +0000 (00:00 +0200)]
keytests: more tweaking

Tested with QT5.7 QT5.8 (self compiled) and QT4.8

7 years agolibreoffice converter: get rid of warnings about deprecated options syntax
Tommaso Cucinotta [Wed, 10 May 2017 01:26:36 +0000 (03:26 +0200)]
libreoffice converter: get rid of warnings about deprecated options syntax

7 years agobuild5-2015.bat: fix build script for current CMake releases
Uwe Stöhr [Tue, 9 May 2017 23:38:48 +0000 (01:38 +0200)]
build5-2015.bat: fix build script for current CMake releases

- since CMake 3.5 the path to the cmake.exe is no longer by default written to Windows' PATH variable. Therefore this has to be done in the script.

- Windows path can contain spaces (CMake's default installation folder does) so we must use quotes around the paths

- set the CMAKE_PREFIX_PATH variable

7 years agoMove obsolete layouts to an Obsolete category
Guillaume MM [Fri, 5 May 2017 22:24:47 +0000 (00:24 +0200)]
Move obsolete layouts to an Obsolete category

7 years agoOld ACM layouts are obsolete
Guillaume MM [Fri, 5 May 2017 22:11:29 +0000 (00:11 +0200)]
Old ACM layouts are obsolete

7 years agoalgorithm2e.module: Add Algorithm style to typeset algorithms
Guillaume MM [Fri, 5 May 2017 21:48:20 +0000 (23:48 +0200)]
algorithm2e.module: Add Algorithm style to typeset algorithms

Do not output \begin and \end if there is not environment name. We only need the
nesting feature.

7 years agoPackaging for acmart
Guillaume MM [Tue, 9 May 2017 22:02:38 +0000 (00:02 +0200)]
Packaging for acmart

7 years agoACM article layout (#10632)
Guillaume MM [Mon, 1 May 2017 18:04:16 +0000 (20:04 +0200)]
ACM article layout (#10632)

Contributed by John Perry

7 years agoInTitle: ignore InPreamble styles for outputting \maketitle.
Guillaume MM [Fri, 5 May 2017 21:49:52 +0000 (23:49 +0200)]
InTitle: ignore InPreamble styles for outputting \maketitle.

7 years agoSmarter Ctrl+{Left,Right} in math.
Guillaume MM [Tue, 9 May 2017 21:28:32 +0000 (23:28 +0200)]
Smarter Ctrl+{Left,Right} in math.

Consider mathbin, mathrel and mathpunct as word separators. This makes
Ctrl+{Left,Right} more intuitive, quicker, and more different from {Left,Right}.

This takes into account all the feedback from the discussion on the general
list. Further feedback welcome.

7 years agobuild5-2015.bat: the option LYX_ENABLE_CXX11 is no longer available in CMake
Uwe Stöhr [Tue, 9 May 2017 20:08:22 +0000 (22:08 +0200)]
build5-2015.bat: the option LYX_ENABLE_CXX11 is no longer available in CMake

- also use a boolean setting for LYX_CONSOLE, see bug #10658

7 years agokeytests: Added debug 'key' to be able to analyse test results.
Kornel Benko [Tue, 9 May 2017 19:08:52 +0000 (21:08 +0200)]
keytests: Added debug 'key' to be able to analyse test results.

There still are keys which do not make it into the lyx logfile.
For instance repeated shortcuts.

7 years agokeytests: some tweaking
Kornel Benko [Tue, 9 May 2017 19:07:35 +0000 (21:07 +0200)]
keytests: some tweaking

7 years agoUpdate sk.po
Kornel Benko [Tue, 9 May 2017 19:06:32 +0000 (21:06 +0200)]
Update sk.po

7 years agoGuiDocument: rename a function to follow the naming guideline
Uwe Stöhr [Tue, 9 May 2017 19:02:03 +0000 (21:02 +0200)]
GuiDocument: rename a function to follow the naming guideline

7 years agomake python string compliant with python 2 and 3
José Matos [Tue, 9 May 2017 15:53:32 +0000 (16:53 +0100)]
make python string compliant with python 2 and 3

python 2 does not allow to declare a string as raw byte so we double
the backslashes and remove the r preffix

python 3 accepts rb"..." meaning a byte string that is raw. In this context
raw means that the backslash does not has any special meaning and thus it
is not escaped. This is usefull together with regular expressions where the
backslashes are special.

In the worst possible case, like this one, we must use 4 backslashes to represent
one in the regular expression...

7 years agocorrect change f8ffc2c: remove English from German translation
Stephan Witt [Tue, 9 May 2017 14:41:52 +0000 (16:41 +0200)]
correct change f8ffc2c: remove English from German translation

7 years agoChange ordering of function codes
Jean-Marc Lasgouttes [Tue, 9 May 2017 14:26:08 +0000 (16:26 +0200)]
Change ordering of function codes

Fixup e575e7ee so that func code numbers are still correct.

7 years agode.po: remove English from German translation
Scott Kostyshak [Tue, 9 May 2017 13:35:33 +0000 (09:35 -0400)]
de.po: remove English from German translation

7 years agoRevert "Change default working directory from ~/ to ".""
Scott Kostyshak [Tue, 9 May 2017 11:43:17 +0000 (07:43 -0400)]
Revert "Change default working directory from ~/ to ".""

Setting the default working directory to '.' is an invasive change
on Mac and Windows, where the current working directory of LyX when
LyX is started from the GUI is not a reasonable choice for the
default directory in e.g. the "save as" file dialog or the "open"
dialog. A similar situation could happen on Linux distributions (I'm
not aware of any, e.g., POSIX standard that defines that the working
directory of a binary started from GUI should be the home
directory). Thus, it is not clear this default is good on any
platform.

If the user wishes to have the behavior of '.', the description in
the "paths" preferences pane provides the information for making the
change.

For more information, see the discussion at:

  https://www.mail-archive.com/search?l=mid&q=635298DE-5028-4BB1-8D8F-A634BA68C420%40gmx.net

This reverts commit 892593fbdc25b9f8b413dd842748e0b3a57c90b0.

7 years agoRename powerdot-example.lyx to powerdot.lyx
Scott Kostyshak [Tue, 9 May 2017 10:57:55 +0000 (06:57 -0400)]
Rename powerdot-example.lyx to powerdot.lyx

The file is already in the examples folder.

Similarly, rename

  examples/fr/exemple-powerdot.lyx -> examples/fr/powerdot.lyx

Consistent with 2f44afcb.

7 years agopython3: fix the preview framework to work with both python 2 and 3
José Matos [Tue, 9 May 2017 10:20:34 +0000 (11:20 +0100)]
python3: fix the preview framework to work with both python 2 and 3

7 years agoGuiDocument: fix bug #10653
Uwe Stöhr [Mon, 8 May 2017 23:00:36 +0000 (01:00 +0200)]
GuiDocument: fix bug #10653

- also rename a function because we have the same function name in BufferParams

7 years agoColor.cpp: fix bug #10656
Uwe Stöhr [Mon, 8 May 2017 22:09:10 +0000 (00:09 +0200)]
Color.cpp: fix bug #10656

7 years agognuplot.lyx: add missing makefile entries
Uwe Stöhr [Mon, 8 May 2017 21:29:25 +0000 (23:29 +0200)]
gnuplot.lyx: add missing makefile entries

- also adapt style to match existing examples (e.g. the filename)

7 years agognuplot script example added to lib/examples
Tommaso Cucinotta [Mon, 8 May 2017 14:00:54 +0000 (16:00 +0200)]
gnuplot script example added to lib/examples

related to the new conversion capability added in [066edd3c/lyxgit]

7 years agoKeytests: optimize for speed.
Kornel Benko [Sun, 7 May 2017 12:40:08 +0000 (14:40 +0200)]
Keytests: optimize for speed.

The culprit in keytest is the possibility to lose some keystrokes.
The idead here is that the keystokes are cached by QT until some
control character is entered forcing e.g. new dialog.
So, splitting input lines at these characters should be enough
to ensure that the next chars are not lost.

7 years agoCosmetic
Guillaume MM [Sun, 7 May 2017 12:18:17 +0000 (14:18 +0200)]
Cosmetic

7 years agoLock toolbars (#10283)
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.

7 years agoAdd default icon for "toolbar-toggle review" (#10379)
Daniel Ramöller [Mon, 27 Feb 2017 18:34:56 +0000 (20:34 +0200)]
Add default icon for "toolbar-toggle review" (#10379)

7 years agoPreferences shows current zoom instead of preference's default zoom (#10455)
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.

7 years agoColor Preferences: Disable colors rather than hide them (#10483)
Daniel Ramöller [Sun, 6 Nov 2016 07:45:09 +0000 (08:45 +0100)]
Color Preferences: Disable colors rather than hide them (#10483)

7 years agoCmake keytests: Don't care for lyx still not finished.
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.

7 years agoKeytests: Make logfiles unique.
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.

7 years agoFix crash with full view source (#10560 and #10617)
Guillaume MM [Mon, 1 May 2017 23:36:23 +0000 (01:36 +0200)]
Fix crash with full view source (#10560 and #10617)

7 years agoCosmetic
Guillaume MM [Mon, 1 May 2017 22:28:22 +0000 (00:28 +0200)]
Cosmetic

7 years agoRevert "Tolerate formats that are not supported by lyx2lyx."
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.

7 years agoRevert "Create new graphics from within LyX choosing a sample file to copy from."
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.

7 years agoNew gnuplot conversion capability [b474aa5d/lyxgit] now in RELEASE-NOTES.
Tommaso Cucinotta [Fri, 5 May 2017 22:47:23 +0000 (00:47 +0200)]
New gnuplot conversion capability [b474aa5d/lyxgit] now in RELEASE-NOTES.

7 years agoCreate new graphics from within LyX choosing a sample file to copy from.
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.

7 years agoTolerate formats that are not supported by lyx2lyx.
Tommaso Cucinotta [Wed, 19 Oct 2016 09:18:10 +0000 (11:18 +0200)]
Tolerate formats that are not supported by lyx2lyx.

7 years agoskip graphics conversion when runparams.dryrun is true
Tommaso Cucinotta [Thu, 4 May 2017 05:49:07 +0000 (07:49 +0200)]
skip graphics conversion when runparams.dryrun is true

7 years agoctests: move issue with nomenclature insets to a dedicated test case.
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.

7 years agoKeytests: improve handling of strings to be send to xvkbd
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

7 years ago fr.po : remove shortcut conflict
jpc [Thu, 4 May 2017 09:38:01 +0000 (11:38 +0200)]
   fr.po : remove shortcut conflict

7 years agoAdd needauth option to gnuplot->PDF converter introduced in [066edd3c/lyxgit].
Tommaso Cucinotta [Wed, 3 May 2017 22:49:18 +0000 (00:49 +0200)]
Add needauth option to gnuplot->PDF converter introduced in [066edd3c/lyxgit].

7 years agoEnable graphics generation from external gnuplot scripts.
Tommaso Cucinotta [Mon, 17 Oct 2016 06:44:16 +0000 (08:44 +0200)]
Enable graphics generation from external gnuplot scripts.

7 years agofindadv: amend [8c101829/lyxgit] check that opt.find_buf_name is found in theBuffers().
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().

7 years agoRevert "findadv: hide word-findadv verb from the mini-buffer"
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.

7 years agoFix compiler warning (gcc 7)
Jean-Marc Lasgouttes [Wed, 3 May 2017 12:51:03 +0000 (14:51 +0200)]
Fix compiler warning (gcc 7)

7 years agoShow properly on screen "indented" maths.
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.

7 years ago Update fr.po
jpc [Wed, 3 May 2017 11:33:45 +0000 (13:33 +0200)]
   Update fr.po

7 years agoCompilation fix
Jean-Marc Lasgouttes [Wed, 3 May 2017 07:39:30 +0000 (09:39 +0200)]
Compilation fix

7 years agofindadv: hide word-findadv verb from the mini-buffer
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.

7 years agofindadv: fix crash on wrong syntax/usage of word-findadv LFUN from mini-command.
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.

7 years agoGuiDocument.cpp: correct a name
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.

7 years agoTextLayoutUi.ui: remove trace of a moved feature
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

7 years agoCmake build: Try to figure out at configure time which qt version to use
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.

7 years agoAdded testcase for crash with using function word-findadv
Kornel Benko [Tue, 2 May 2017 10:22:09 +0000 (12:22 +0200)]
Added testcase for crash with using function word-findadv

7 years agoCmake build: Correct suffixing on non-gcc-compilers
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.

7 years agoWarn re mixed layouts only for export (#10645)
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.

7 years agoRemove spurious error "QFileSystemWatcher::removePath: path is empty"
Guillaume MM [Sun, 30 Apr 2017 22:02:10 +0000 (00:02 +0200)]
Remove spurious error "QFileSystemWatcher::removePath: path is empty"

7 years agoDo not add symbols twice to Encoding::symbolsList()
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

7 years agoForce "textdegree" for encoding koi8-u.
Günter Milde [Mon, 1 May 2017 08:35:20 +0000 (10:35 +0200)]
Force "textdegree" for encoding koi8-u.

7 years agoUpdate sk.po
Kornel Benko [Sun, 30 Apr 2017 16:20:57 +0000 (18:20 +0200)]
Update sk.po

7 years agoCmake build: Remove use of policies which will be deprecated in near future
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.)

7 years agoCmake build: Allow numbers in lyx-suffix too
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'

7 years agosv.po: update from Jim for LyX 2.3
Uwe Stöhr [Sat, 29 Apr 2017 13:37:09 +0000 (15:37 +0200)]
sv.po: update from Jim for LyX 2.3

7 years agoIndexPrint and Nomencl were not fully latexified.
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.

7 years agoDefine new inPixels helper in BufferView
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.

7 years agoRemove xvkbd from cmake build.
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.

7 years agoAdded a testcase for #8381 (advanced find & replace for lists)
Kornel Benko [Thu, 27 Apr 2017 11:11:21 +0000 (13:11 +0200)]
Added a testcase for #8381 (advanced find & replace for lists)

7 years agoKeytests: Make the wrapper sendKeystring() around sendKeystringLocal() be recursive
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.

7 years agoUpdate tex2lyx files to new format
Kornel Benko [Wed, 26 Apr 2017 12:21:54 +0000 (14:21 +0200)]
Update tex2lyx files to new format

7 years agoTo check if directory paths are identical we have to use realpath()
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()

7 years agoGuiDocument.cpp: change naming of formula numbering option
Uwe Stöhr [Tue, 25 Apr 2017 22:32:13 +0000 (00:32 +0200)]
GuiDocument.cpp: change naming of formula numbering option

7 years agoAmend b3fbe4edfd
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.

7 years agoRemove workaround for bug in TeXLive2005.
Günter Milde [Tue, 25 Apr 2017 16:45:51 +0000 (18:45 +0200)]
Remove workaround for bug in TeXLive2005.

7 years agoSilence coverity warning.
Günter Milde [Tue, 25 Apr 2017 16:42:55 +0000 (18:42 +0200)]
Silence coverity warning.

7 years agokeytests: Speed up some tests
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.

7 years agoRemove unused autoconf macro
Jean-Marc Lasgouttes [Tue, 25 Apr 2017 09:50:29 +0000 (11:50 +0200)]
Remove unused autoconf macro

7 years agoAdded mythes/CMakeLists.txt to the distribution
Kornel Benko [Tue, 25 Apr 2017 08:08:31 +0000 (10:08 +0200)]
Added mythes/CMakeLists.txt to the distribution

7 years agoAdded distribution of a missing file used by tests.
Kornel Benko [Tue, 25 Apr 2017 08:01:08 +0000 (10:01 +0200)]
Added distribution of a missing file used by tests.

7 years agoMove mathindent from text layout to math settings as discussed
Uwe Stöhr [Tue, 25 Apr 2017 01:01:39 +0000 (03:01 +0200)]
Move mathindent from text layout to math settings as discussed

7 years agosupport for the document class option leqno
Uwe Stöhr [Tue, 25 Apr 2017 00:28:10 +0000 (02:28 +0200)]
support for the document class option leqno

- fileformat change

7 years agobuild5-2015-installer.bat: we use Qt 5.6.2
Uwe Stöhr [Mon, 24 Apr 2017 23:43:23 +0000 (01:43 +0200)]
build5-2015-installer.bat: we use Qt 5.6.2

7 years agoUpdate sk.po
Kornel Benko [Mon, 24 Apr 2017 16:08:23 +0000 (18:08 +0200)]
Update sk.po

7 years agokeytests: Allow definition of shortcuts for the test.
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.