Commit Graph

37325 Commits

Author SHA1 Message Date
Kornel Benko
b8eecc2108 keytests: amend 8f74cac381 2017-05-19 12:56:43 +02:00
Kornel Benko
0abdc3dd59 keytests: Handle function-keys for xvkbd too
Function keys are sent to xvkbd as e.g. \[F15], so we should
not split a sequence like "\C\[F15]" into two text pieces.
(Do it like other keys not having a digit in their name (e.g. \[Return]) )
2017-05-19 12:52:59 +02:00
Scott Kostyshak
c643da99d7 InsetHyperlink: inherit font (#10677)
This commit amends 55533804.
2017-05-19 05:23:28 -04:00
Juergen Spitzmueller
f9451227e8 de.po 2017-05-19 09:54:29 +02:00
Kornel Benko
8f74cac381 keytests: Add more controls for the *-in.txt files
The controls are described in hello-world-in.txt as
Cr: not expected regex search pattern before next expected match
Cp: not expected search pattern before next expected match

See also findadv-re-04-in.txt for an example
In this test-case, searching for case sensitive and format considering
search is failing.
2017-05-18 13:05:36 +02:00
Kornel Benko
46e472dcf9 keytests: Allow controlfile (used by searchPatterns.pl) to be opened for 'append'
This allows collecting search strings of multiple tests in one file
2017-05-18 00:03:50 +02:00
Enrico Forestieri
922d1ddc8c Fix bug #10469 2017-05-17 22:31:27 +02:00
Scott Kostyshak
8180b9f97c ctests: invert doc/fr/EmbeddedObjects_pdf4_texF
This test started failing after 8bf3d7bb. I did not look deeply into
why, because the corresponding de and es tests were already
inverted, and because in general we do not expect texF tests to work
well.
2017-05-17 15:18:29 -04:00
Kornel Benko
3bdffab7c8 keytests: Polishing 2017-05-17 13:52:54 +02:00
Kornel Benko
09e5acba11 keytests: Rewritten to use searchPatterns.pl instead of pcregrep
Also corrected output of keytest.py. Messages from called
programs were output to stdout wile own printed messages
were still cached.
2017-05-17 12:12:55 +02:00
Uwe Stöhr
25e3c00838 EmbeddedObjects.lyx: use the new example images on all occurrences 2017-05-17 01:36:48 +02:00
Uwe Stöhr
bc9a7a21c8 lyx_2_3.py: assure that leqno /reqno is only handled if it is a document class option 2017-05-17 01:23:59 +02:00
Uwe Stöhr
220f504941 lyx_2_3.py: remove senseless warning 2017-05-17 01:11:58 +02:00
Enrico Forestieri
ead148510b Amend bfe0d52e
Was forgetting to account for babel.
2017-05-16 22:02:42 +02:00
Enrico Forestieri
bfe0d52e97 Fix bug #10636
The code was not accounting for partial preview of the source code
and was trying to pop a language that was never pushed.
2017-05-16 20:20:32 +02:00
Richard Heck
d75c0ec8b1 Fix reversion of noprefix option for InsetRef.
Basically forgot to remove the option when we're not dealing with
a labelonly inset.
2017-05-16 12:34:56 -04:00
Kornel Benko
80bc39ebc9 keytests: Extend the search algorithm to pattern with more as 2 lines 2017-05-16 16:45:18 +02:00
Kornel Benko
9b14eb16f5 keytests: Use flush stdout before exiting
Without the flush, often messages are lost at test-end
2017-05-16 13:01:43 +02:00
Guillaume MM
f365a65068 Fix the computation of broken InsetRef status between sibling documents 2017-05-16 12:15:27 +02:00
Guillaume MM
d7bcab5e27 Structure the broken InsetRef status 2017-05-16 12:15:27 +02:00
Kornel Benko
d870a0f2fd keytests: Added some new controls for the *-in.txt files
The controls are described in hello-world-in.txt as
CO: for control file open for write
CN: control notice
CP: simple search pattern
CR: regex search pattern
CC: close control file

The control-file will be used at the end of test by searchPatterns.pl
2017-05-16 09:16:18 +02:00
Guillaume MM
161f7b7f62 Improve wording (#10670) 2017-05-16 00:28:43 +02:00
Jean-Marc Lasgouttes
676ce147da Fix compilation failure 2017-05-15 10:29:09 +02:00
Jean-Marc Lasgouttes
5354c64b27 Cache QTextLayout objects with Qt/Mac
It seems that the internal Qt5 caching does not work well here,
especially in the case of Herbrew documents.
2017-05-15 10:14:42 +02:00
Kornel Benko
9119a5e3d1 Update sk.po 2017-05-15 07:59:38 +02:00
Richard Heck
ad05e6aa7c Context menu item for "label only" reference.
Fixes #10669.
2017-05-14 21:21:15 -04:00
Uwe Stöhr
8bf3d7bb1a EmbeddedObjects.lyx: start updating for LyX 2.3
- add new vector images (the SVG files are only the sources and are therefore purposely not added to Makefile.am)
 On the lyx-docs list it was reported that our current images look old and pixelated and I agree, so that I just draw new ones.
2017-05-15 02:48:07 +02:00
Uwe Stöhr
320804a20e de.po: correct 2 translations 2017-05-15 02:38:14 +02:00
Guillaume MM
700225c26f Fix colours of buttons in notification frame 2017-05-15 02:28:48 +02:00
Guillaume MM
752a0a1e48 Correct debug message 2017-05-15 02:28:48 +02:00
Uwe Stöhr
36e5d5600e French Shortcuts.lyx: change paragraph separation
- this also saves some horizontal space and looks better; suggested by Mike on the lyx-docs list
2017-05-14 21:02:31 +02:00
Uwe Stöhr
78b5684db6 French Shortcuts.lyx: set proper page margins
- we use the standard article class and as the tables are very long in French we must set the page size and margins
2017-05-14 20:54:41 +02:00
Uwe Stöhr
4a7fac21ed Dutch doc files: some refinements
the files are outdated but the should nevertheless nice in the output.
2017-05-14 20:41:01 +02:00
Uwe Stöhr
c6acfc75b1 Italian Intro.lyx: corrections and refinements by Mike and me 2017-05-14 20:18:10 +02:00
Uwe Stöhr
25c1c6bb95 French Intro.lyx: some refinements proposed by Mike 2017-05-14 19:56:59 +02:00
Uwe Stöhr
c32c32747e Intro.lyx: some refinements proposed by Mike
- use true small caps
- use hyperlinks for all types of links

- UserGuide.lyx: fix an image scaling
2017-05-14 19:49:52 +02:00
Kornel Benko
36a3cca3ea keytests: New script to replace 'pcregrep' in more complex cases.
Suppose, we want to test a key sequence which should produce
logs in defined sequence. ATM, we use pcregrep to see, if
a pattern occurs in the log-file. This is OK, if using only single
tests with only one message to care about.
But it is not OK for combined tests.
As an example, the file 'findadv-combine-in.txt' is combining
tests findadv-re-01-in.txt, findadv-re-02-in.txt and findadv-re-03-in.txt.
This test runns here about 25 seconds, while the time for the other three
is about 144 secs.
(Most time is with starting/stopping lyx)
2017-05-14 18:58:55 +02:00
Uwe Stöhr
91238c1620 German Intro.lyx: some refinements from Mike and me 2017-05-14 18:57:58 +02:00
Uwe Stöhr
cf5d9e14cc po-files: remerge
-also merge strings translated in 2.2.3 but not master (only affects ar.po, ia.po, pt_BR.po and sv.po) as a service for your translators

- some translations for de.po
2017-05-14 18:31:40 +02:00
Kornel Benko
ea136f309b Update sk.po 2017-05-14 15:12:59 +02:00
Guillaume MM
0eff6b151b templates/acmart.lyx: Small improvements 2017-05-14 12:15:19 +02:00
Guillaume MM
646b68aa96 acmart.layout: fix generation of Index
also add booktabs.
2017-05-14 12:15:19 +02:00
Guillaume MM
a72873a521 Fix OutlinerNames for Floats 2017-05-14 12:15:19 +02:00
Scott Kostyshak
00f7a95f62 ctests: invert acmart check_load test
The root issue is known and was reported to maintainer.
2017-05-14 04:30:14 -04:00
Scott Kostyshak
ce390c4e49 ctests: adapt patterns to file move
ACM-siggraph was moved to obsolete folder at 5608f6fd.
2017-05-14 04:24:17 -04:00
Uwe Stöhr
0dd3311dd4 rename buffer parameter math_number_before to math_numbering_side
this is a fileformat change

also try to fix an UI issue that JMarc gets
2017-05-13 20:39:45 +02:00
Stephan Witt
c592fb58bb #10285 and #10542 - Add sips as a fallback converter for Mac to provide preview of PDF graphics in LyX when pdftops is not installed 2017-05-13 20:06:18 +02:00
Uwe Stöhr
50f0ae9ecd build5-2015.bat: fix a path 2017-05-13 19:19:18 +02:00
José Matos
cc7ca138da Fix call of layout2layout as a module.
If we call parser.parse_args(), thus with no arguments, the parser uses
sys.argv (because that is the default). We should pass argv since that was
the purpose of handling argv in the main function.

We pass argv[1:] since when parsing the arguments we always ignore the name
of the program.

Use the full power of argparse to declare the default value of the end_format.
2017-05-13 15:25:44 +01:00
Guillaume MM
5608f6fdb6 Add acmart template
Move obsolete templates to templates/obsolete
2017-05-13 16:12:25 +02:00