Commit Graph

3754 Commits

Author SHA1 Message Date
Kornel Benko
d2ea9c44b2 findadv tests: Adapt one test for the new greedy behaviour 2018-11-26 16:00:27 +01:00
Kornel Benko
23e2ea358f findadv tests: Remaining test passes now too 2018-11-03 12:30:07 +01:00
Kornel Benko
47455ad65e Added test findadv-22
Related to https://www.lyx.org/trac/ticket/11241
(Find and replace doesn't find a wedge of two things in a subscript.)
2018-10-31 11:19:47 +01:00
Juergen Spitzmueller
0ec295d63e Fix parentheses with Hebrew
Patch by Guy Rutenberg, with some changes of mine.

Fixes: #11191
2018-10-30 12:33:35 +01:00
Kornel Benko
f0d7432608 Findadv: Remaining findadv tests pass now
Exception: findadv-21, but it is not a regression,
because this one never passed.
The problem here is, that we cannot differentiate
between enumeration, itemize, description and labeling
environment here.
2018-10-29 13:17:54 +01:00
Kornel Benko
2d477c5e0a Changes to match math equations
Now tests findadv-01 ... findadv-20 pass too.

keytest.py: Expanded time for controll keys (like \[Return])
findadv*: expanded time for normal keys
lyxfind.cpp: Handle math equations
2018-10-28 19:40:14 +01:00
Richard Kimberly Heck
9794bf5abc mingw build script 2018-09-30 13:50:36 -04:00
Kornel Benko
73188e3821 keytests: regex correction in test findadv-re-04
Use '+' instead of not working '*' as quantifier
for advanced search with format enabled
2018-09-29 12:54:22 +02:00
Richard Kimberly Heck
1f325e69bd Copy over Windows installer updates from stable. 2018-09-28 22:20:01 -04:00
Richard Kimberly Heck
cbc4e2399a Copy over cmake packaging updates from 2.3.x. 2018-09-28 22:18:15 -04:00
Richard Kimberly Heck
da7d927f4f Windows packaging updates.
The main change here is that we need to delete LyX2.3.exe and
tex2lyx2.3.exe from the install directory, so they are not left
there (from previous, versioned installs).

(cherry picked from commit 0cbde8a834)
2018-09-28 21:56:19 -04:00
Stephan Witt
9bbd21cf1f Less verbose framework relocation support output. 2018-09-21 21:50:21 +02:00
Stephan Witt
d4f51e6ed0 Add the option build with different compiler and linker flag extensions. 2018-09-21 21:48:48 +02:00
Stephan Witt
28b84f5ddc Check exit state of install_name_tool calls. 2018-09-21 21:47:29 +02:00
Juergen Spitzmueller
5e26a3a633 Implement layout format in insetinfo
The docs refer to the outdated layout formats. The inset prevents this.
2018-09-20 11:33:03 +02:00
Kornel Benko
f2399f42fe keytests: Add waiting time to ease lyx-logs on some commands 2018-09-13 18:34:18 +02:00
Kornel Benko
2f1c9f67b0 keytests: Adapt test 'keytest/bug-10636' to changed binding for source preview 2018-09-13 16:51:07 +02:00
Kornel Benko
20c280bdfc Cmake export tests: Ignore missing glyph for ar/UserGuide_pdf4_systemF
Scheherezade font misses glyph '␣'
2018-09-10 14:06:12 +02:00
Kornel Benko
d49deef4f9 Export tests: Ignore compilations of copernicus with luatex or xetex
The compilations fail because the macro
	\DeclareUnicodeCharacter
is not defined. Also the sequence
	  \ifnum\pdfoutput=\z@
is making troubles.

The exports to previous lyx-versions is disabled too,
because there is no layout defined there.
2018-09-04 15:56:21 +02:00
Richard Kimberly Heck
29b80c802c Fixes for the build script.
(cherry picked from commit 01c23b3864)
2018-08-28 15:19:48 -04:00
Kornel Benko
2a72fa3a04 Amend 2877032 2018-08-24 13:20:51 +02:00
Juergen Spitzmueller
4533a0b063 Keep format entries together. 2018-08-19 09:33:20 +02:00
Kornel Benko
cbb0d56719 Missed this one in 8a7c109 2018-08-18 17:42:03 +02:00
Juergen Spitzmueller
b124adbd38 Introduce listpreamble argument type
This uses the InsetArgument interface to provide access to a document
part hitherto inaccessible by LyX: the part between \begin and the first
\item in a list (where lengths and counters can be redefined, for
instance).

Fixes: #11098

File format change, layout format change
2018-08-17 10:22:32 +02:00
Kornel Benko
a860c436c9 ctest export tests: Discard obsolete aastex tests 2018-08-14 14:09:09 +02:00
Kornel Benko
6bfd91ead4 New sample for aastex62
aas_sample62.lyx is a adapted version of aas_sample.lyx
2018-08-14 10:29:15 +02:00
Kornel Benko
b4bbfa5ff0 ctests: ignore obsolete aastex6.cls
aastex6.cls is obsolete in TL18 and replaced by aastex62.cls
2018-08-14 09:40:42 +02:00
Juergen Spitzmueller
e9b187af08 New info-inset type l7n
This returns a localized version of a string (in the GUI language)
if available, removing trailing colons and accelerator marks.

This can be used to refer to dialog items in the docs in a portable way.
2018-08-13 17:18:44 +02:00
Kornel Benko
366e37c851 Added latex-DejaVu fonts to lyx-GUI.
Increment lyx-format to 561
2018-08-10 19:38:06 +02:00
Enrico Forestieri
ab72f94595 Update the server_monitor example client to Qt5 2018-08-07 17:47:50 +02:00
Juergen Spitzmueller
7efdf98fc8 Further extend Info insets:
* Add time type (time, modtime, fixtime)
* Add "name-noext" buffer type (file name w/o extension)
2018-08-07 12:14:45 +02:00
Juergen Spitzmueller
e730234e57 Add date-related info insets
With this commit, info insets leave the dark backstage room of an opaque
and quite hidden dev-only feature and come frontstage.

In the UI, they present themselves as "Fields" since this is what people
know from word processors. Other user-related fields that could be
implemented next: time, user name (I plan to do that for 2.4).

Since this supersedes date-insert, I removed Insert > Date from
the menu and propose to ditch date-insert and the corresponding rc.

The lyx2lyx reversion routine has lots of room for improvement and
attractive tasks for pythons (file timestamp, switch of localization).
Please feel invited!

This is a file format change.
2018-08-05 10:01:36 +02:00
Kornel Benko
1111c5c13b Adapt test 'BATCH_outline-beamer' to reflect lokalization changes
See commit abaccec
2018-08-05 09:40:13 +02:00
Kornel Benko
f8f9eec358 Amend 3e92efd: Remove (Begin|End)Frontmatter in elsarticle
1.) Revert changes in elsarticle.lyx
2.) upgrade format to 558
3.) added missing lyx2lyx routines
2018-07-30 13:44:01 +02:00
Juergen Spitzmueller
358436ea1e Split vcs Info inset from buffer Info inset
This should go separately in the GUI, and thus in the inset.
2018-07-29 19:41:34 +02:00
Juergen Spitzmueller
e6e3777363 Add support for bib files encoding
File format change.

Fixes: #6223
2018-07-07 15:25:35 +02:00
Kornel Benko
07084d0e76 Cmake tests: Simplify creation of batch tests 2018-07-07 11:25:36 +02:00
Kornel Benko
c515572f5f Cmake key tests: Corrected test findadv-21
Uses the correct shortcuts from lib/bind/sk/menus.bind, but fails nonetheless
because the regex for advanced search cannot find the correct list type.
(That is: it cannot distinguish between 'enumerate', 'itemize', 'labeling', etc.)
2018-07-07 11:10:20 +02:00
Juergen Spitzmueller
9dcb24d578 Support varwidth's V tabular column type
This effectively enables linebreaks, multipars and layout changes in
non-fixed width (i.e., standard) table columns.

Fixes: #6577

TODO: metrics are wrong (too wide) on screen with linebreaks.
2018-07-01 19:18:38 +02:00
Juergen Spitzmueller
f38816bf16 Add support for tabularx/xltabular
I.e., variable width columns in single and multiple page tables

Files format change.

Fixes: #4154, #4155
2018-06-24 10:05:15 +02:00
Kornel Benko
25ff03d120 Cmake tests: Adapt some keytests due to changed key-bindings 2018-06-23 19:00:04 +02:00
Pavel Sanda
bbe09eada1 lyx-build: check sig in case one really uses download instead of local tarball. 2018-06-19 23:53:36 +02:00
Stephan Witt
1bf4d7b0fc Extend Clang compiler detection to cover Apple CLang
CMake 3.0 and above recognize that Apple Clang is a different compiler than upstream Clang and so it gets a different CMAKE_CXX_COMPILER_ID.
2018-06-12 22:43:03 +02:00
Kornel Benko
aca3031352 Cmake tests: Added check to inspect created pdf in test "AMS-import"
If the command "comparepdf" is found, it will be used.
Also the script lyx_batch.pl is now easier to expand for
possible new comparision tools.
2018-06-09 09:15:21 +02:00
Kornel Benko
08afacc239 Cmake build: Adapt use of some variables
1.) Rename LYX_PATCH_VERSION to LYX_RELEASE_VERSION.
  This matches the use in automake.
2.) Don't display LYX_DATE at configure time.
  This value is evaluated later at build time
2018-06-03 09:16:55 +02:00
Kornel Benko
38f04cb162 Adapt a testfile after commit 7a5184f and fix 5996b2e 2018-05-27 14:31:35 +02:00
Kornel Benko
1a36fee79d Added testcase for ticket #11156
The test is named "AMS-import", with defined test-labels 'tex2lyx' and 'batch'
2018-05-24 20:49:11 +02:00
Juergen Spitzmueller
98621be1ba Support \cite command in tufte classes
This is an extra command used for sidenote citations. Since we do not
provide \cite with natbib (which tufte uses) as a choice, we use the
new AddToCiteEngine feature to add it.

File format change.

Fixes: #11150
2018-05-21 13:46:04 +02:00
Juergen Spitzmueller
aa9543fa2b Add support for global float alignment
It is now possible in the float settings (doc dialog) to specify a global
(inner) alignment for floats, and in the float settings, this can be
overridden (just as with float placement)

Fixes: #8665

File format change.
2018-05-10 20:15:11 +02:00
Juergen Spitzmueller
57dc817581 Add \nospellcheck font property
This revives a ten year old idea (and patch) by Dov.

You can now mark in the character dialog text and exclude it from spell
checking.

Fixes: #1042

File format change

Remaining issue: The instant spell checking marks are not immediately
removed, but only after some editing.
2018-05-06 19:48:21 +02:00