Commit Graph

39056 Commits

Author SHA1 Message Date
Juergen Spitzmueller
b5c5083c6c More QDialogButtonBox
Listings through Prefs.
2018-07-10 09:04:42 +02:00
Juergen Spitzmueller
d41c3f27d9 Disallow any inset inside ERT
Attempting to do this crashes in master, and is not supported anyway.
2018-07-10 07:11:59 +02:00
Richard Kimberly Heck
a007b65202 Fix bug #10177.
The left margin given at class level should apply only to the main text.
2018-07-09 12:16:45 -04:00
Juergen Spitzmueller
1f5186b2a7 More QDialogButtonBox transformation
GuiDelimiter through GuiIndex

See #11003
2018-07-09 09:46:39 +02:00
Juergen Spitzmueller
4d9fa8a0d7 Amend 0570d16a3b
When slot[Ok|Apply|Cancel]() from GuiDialog are re-implemented, we also
need to re-implement slotButtonBox()
2018-07-08 16:48:58 +02:00
Juergen Spitzmueller
0570d16a3b Start using QDialogButtonGroup rather than manual OK etc. buttons
This assures the OK/Apply/Cancel/Restore buttons use the layout/style
of the OS (button order, icons).

The goal is to move all dialogs to this for 2.4.

See #11003
2018-07-08 16:35:38 +02:00
Kornel Benko
a7f79e2e9f Update sk.po 2018-07-08 13:45:02 +02:00
Juergen Spitzmueller
3fde6b5ecc Minor doc tweaks/corrections 2018-07-08 12:38:56 +02:00
Juergen Spitzmueller
7c2c89b0bd de.po: update 2018-07-08 12:20:21 +02:00
Juergen Spitzmueller
01a74e8e95 Polish Bib(la)TeX dialog 2018-07-08 12:13:47 +02:00
Kornel Benko
8c8b568f70 Update sk.po 2018-07-07 16:14:34 +02:00
Kornel Benko
526380da04 Revert "Remove dependences from .layout files"
Some styles are not second-level dependencies

This reverts commit 92c8a86407.
2018-07-07 16:10:45 +02:00
Juergen Spitzmueller
45436620dd de.po: update 2018-07-07 15:36:00 +02:00
Juergen Spitzmueller
4ec8bd05a4 update tex2lyx tests 2018-07-07 15:28:40 +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
92c8a86407 Remove dependences from .layout files 2018-07-07 14:13:40 +02:00
Kornel Benko
4576a9113f sk.po, some shortcut corrections 2018-07-07 11:32:16 +02:00
Kornel Benko
41d86ff9e1 Amend 8da02501, Add bindings for inset-settings
Added binding to emacs.bind too
2018-07-07 11:29:40 +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
1cfa56b5cb Correctly calculate cell metrics with xtabular columns
Fixes rest of #11182
2018-07-07 09:18:47 +02:00
Juergen Spitzmueller
fa9675965a Do not expand tabular cells to maxwidth on line break
Fixes part of #11182.
2018-07-06 16:15:13 +02:00
Juergen Spitzmueller
34c04ebce6 Amend 9f9041db7a
move cl2emult to obsolete category
2018-07-06 14:36:41 +02:00
Kornel Benko
db7f90689f Update sk.po 2018-07-06 11:06:46 +02:00
Juergen Spitzmueller
ebc275a88a de.po: update 2018-07-06 10:18:06 +02:00
Juergen Spitzmueller
67de09b51e Remove entry for obsolete class. 2018-07-06 10:12:51 +02:00
Juergen Spitzmueller
9f9041db7a Use more informative descriptions fro Springer layouts 2018-07-06 10:09:13 +02:00
Juergen Spitzmueller
73e0a6c4d5 Update elsarticle entry in LaTeXConfig 2018-07-05 19:28:56 +02:00
Kornel Benko
650ef5f1cb dtk.layout: Remove secondary dependencies due to change in TL2018 2018-07-05 17:54:55 +02:00
Juergen Spitzmueller
981e76a02c Fix typo 2018-07-05 17:49:46 +02:00
Jean-Marc Lasgouttes
ad5548cfe3 Fixes to input method handling
The goal of this patch is to make "self-insert <string>" act as a
sequence of individual self-insert calls. Once it is done, the
insertion of the commit string in GuiWorkArea can use that, which
fixes the issues described in bug 11183.

1/ in InsetMathNest, SELF_INSERT is rewritten to be a proper loop of
   interpretChar, instead of inserting the string as characters. This
   solves the issue of interpreting ^ properly.

2/ the text version does not need to be changed (the loop is rewritten
   using a range, though).

3/ Then {{{GuiWorkArea::inputMethodEvent}}} is changed to invoke
   directly self-insert. This removes the update issues.

Fixes bug 11183.
2018-07-05 14:32:37 +02:00
Enrico Forestieri
db9c8c6d02 Autodetect the EMF format
Otherwise it will be recognized only by the file extension, because
libmagic returns "application/octet-stream" as mime type. Moreover,
if the emf encapsulates a binary image format, it can be confused
with this other format and its preview on screen fails.
2018-07-04 19:52:13 +02:00
Jean-Marc Lasgouttes
2c9e019a62 Make toolbar icons like Itemize toggle
Copy the old layout_* icons to layout-toggle_*

Fixes bug 9864.
2018-07-04 12:11:24 +02:00
Enrico Forestieri
dfd6afb740 Fix compilation on case insensitive filesystems
In such filesystems, including either Magic.h or magic.h does not
make any difference and the one or other file is included depending
on the search order. In this case, Magic.h was trying to include
itself instead of including magic.h.
2018-07-04 09:42:04 +02:00
Jean-Marc Lasgouttes
c9fd7058ab fix compilation when libmagic is not used 2018-07-03 21:18:26 +02:00
Jean-Marc Lasgouttes
789acb4a95 Do not allow completion when there is an active selection
We do it in texted only, mathed is more difficult and not so relevant IMO.
2018-07-03 17:01:20 +02:00
Juergen Spitzmueller
68f6c671c5 Fix another encoding problem in ja/ 2018-07-03 12:37:25 +02:00
Jean-Marc Lasgouttes
4c6a341ab5 Encapsulate libmagic support in a class
This makes the code much easier to read and, additionally, allows to
parse the magic file with magic_load() only once per session.

As a result, getFormatFromFile is slightly faster.
2018-07-03 11:58:01 +02:00
Juergen Spitzmueller
1a96b0d184 Fix input encoding issue with German example text
pLaTeX requires SJIS encoding, so only ASCII latin is possible.
2018-07-03 11:31:39 +02:00
Juergen Spitzmueller
25f274f2a0 Amend e5c79a43ee
Consider some tabularx specifics for the display of tabular/column widths
in the workarea.
2018-07-02 19:16:22 +02:00
Juergen Spitzmueller
e5c79a43ee Attempt to reflect tabular width in workarea
This is not perfect, since variable width columns will break at a certain
treshold, but it is better than what we have now (no tabular width
indication at all)
2018-07-02 17:05:46 +02:00
Jean-Marc Lasgouttes
8e015f3cb2 Do not force lfun argument to be pure ascii
Fixes bug #11167.
2018-07-02 10:49:58 +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
Kornel Benko
620efb3540 Amend 88e5e5f: Wrap rotated cells with linebreaks in varwidth
Added testcase from #8085
2018-06-30 17:00:56 +02:00
Juergen Spitzmueller
88e5e5fd34 Wrap rotated cells with linebreaks in varwidth
Fixes: #8085
2018-06-30 14:32:27 +02:00
Juergen Spitzmueller
fc9d47f7f4 Handle correctly zero table special arguments.
Fixes: #10247
2018-06-26 10:51:16 +02:00
Richard Kimberly Heck
7af1a065e8 update assertion. 2018-06-26 00:26:35 -04:00
Kornel Benko
41ddac5519 Cmake tests: Added tex2lyx test for xltabular and tabularx 2018-06-25 12:04:45 +02:00
Juergen Spitzmueller
21005cbd6f Fix definition of boolean 2018-06-25 12:01:26 +02:00
Juergen Spitzmueller
650bb156d9 tex2lyx: tabular width in longtable is now possible (via xltabular). 2018-06-25 11:52:56 +02:00