Commit Graph

41409 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
43eda5ad73 Reimplement properly bidi icons
When the cursor in RTL text, icons for "depth-increment" or
"layout-toggle Enumerate" look wrong.

Instead of relying on the clumsy "bidi" lfun of 2898c335, this new
version relies on a new Toobar tag BidiItem that inserts an action
which can have two icons, depending on the direction of the paragraph
containing the caret (or of the direction of the UI when no file is
open).

The alternative icon has the same name as the original one, with a
"+rtl" string appended to the lfun string. The alternative icon is
only active if the file is found. The icon themes `default', `oxygen'
and `classic' have been updated accordingly.

Fixes bug #4451.
2020-04-14 22:47:56 +02:00
Jean-Marc Lasgouttes
ce0538e372 Revert "Add mechanism to change icons in RTL mode"
This is really too clumsy. Revert in preparation for a better
mechanism.

This reverts commit 2898c335be.
2020-04-14 22:47:50 +02:00
Kornel Benko
dd154a5837 Cmake build: Fix use of LYX_ABS_INSTALLED_DATADIR
(Wrong display at configuration time. Also wrong value in created config.h)
2020-04-14 19:59:41 +02:00
Jean-Marc Lasgouttes
543038e64e Fixup 294969c6: do not forget to update metrics 2020-04-14 17:57:49 +02:00
Kornel Benko
af029d695f Cmake build: All directory variables should contain trailing '/' 2020-04-14 13:01:17 +02:00
Kornel Benko
66142c7d08 Amend(2) 4b052dec: Do not use CMAKE_INSTALL_PREFIX
On Windows this leads to duplicated use of 'LYX_INSTALLED' in the installed paths.
Spotted by Eugene.
2020-04-13 22:18:47 +02:00
Kornel Benko
4b052dec77 Amend ef42541d26: Missed to commit these 2020-04-13 13:39:33 +02:00
Kornel Benko
ef42541d26 Prepend dir containing created dtl executables to PATH
This should work on Windows, but needs test.
The changes (namely the installation directory for the dtl executables)
for automake are not yet done. (JMarc?)

It may fix bug #11325 if cmake configured with '-DLYX_EXTERNAL_DTL=OFF'
2020-04-13 12:51:04 +02:00
Jean-Marc Lasgouttes
b5d6caac41 Fix embarassing crash caused by debug message
After commit 6a936d63, the helpful debug message tries to display
non-existing elements and crashes the program :(

Fix by radical simplification of the message.

Part of bug #11777.
2020-04-13 12:02:26 +02:00
Pavel Sanda
59e84a525f fix distcheck 2020-04-10 14:28:59 +02:00
Juergen Spitzmueller
0c59ea386d Fix some compiler warnings in dt2dv.c 2020-04-10 09:15:13 +02:00
Juergen Spitzmueller
b351910478 Fix sign mismatch introduced with 8e60fcf530 2020-04-10 09:00:19 +02:00
Kornel Benko
00a6ad4b66 Cmake build: Add manuals for created executables dv2dt and dt2dv 2020-04-09 14:44:18 +02:00
Juergen Spitzmueller
c62ef12dd3 Win compile doc update from Eugene 2020-04-09 13:05:21 +02:00
Jean-Marc Lasgouttes
2aff8937ec Add automake support for dtl 2020-04-09 12:40:00 +02:00
Jean-Marc Lasgouttes
c3bf053dd3 Do not put C++-only options in AM_CPPFLAGS 2020-04-09 12:24:44 +02:00
Kornel Benko
bcde3d0016 Amend b280fed1: 3rdparty/dtl: Use preprocessor value on Windows 2020-04-09 11:58:49 +02:00
Kornel Benko
b280fed1b3 Cmake build: Added 3rdparty creation of dt2dv and dv2dt
Works on linux, needs testing on Windows
2020-04-09 11:46:47 +02:00
Juergen Spitzmueller
9cccbb3615 Address #9368
pdfview creates a temp pdf file to determine the standard pdf viewer,
code simplification, reducing dll dependencies

Patch by Eugene.
2020-04-09 10:08:44 +02:00
Juergen Spitzmueller
21bb86b8b9 Fix date 2020-04-09 09:29:41 +02:00
Juergen Spitzmueller
48a84370fe Add ChangeLog do document our own changes 2020-04-09 09:22:48 +02:00
Juergen Spitzmueller
8e60fcf530 2006-09-14 Enrico Forestieri <forenr@lyx.org>
* dt2dv.c: Handle non-ASCII characters.

See https://www.lyx.org/trac/ticket/2836
2020-04-09 09:22:02 +02:00
Juergen Spitzmueller
78a15c0448 2005-07-25 Angus Leeming <leeeming@lyx.org>
* dt2dv.c: Enable to handle .dvi files containing strings longer than 1024 chars.

* Makefile: enable the to work out of the box on both *nix and Windows machines
  under the MinSYS environment.

* man2ps: build fixes

See https://marc.info/?l=lyx-devel&m=115228143031699
2020-04-09 09:21:05 +02:00
Juergen Spitzmueller
d6f9fdcaef Add dtl tools to 3rdparty/
We need to compile our own (patched) version of the app on Windows.

See #11325
2020-04-09 08:58:09 +02:00
Richard Kimberly Heck
eea4ef9b6e Debug output for paragraph params. 2020-04-08 17:21:43 -04:00
Richard Kimberly Heck
f7065fa22e Fix bug #11817.
Preserve line spacing when breaking a paragraph at the beginning.
2020-04-08 17:21:43 -04:00
Kornel Benko
0536193c22 Added revtex4-2.layout
For revtex4.1, this is only cosmetics, because the content
of the layout moved to revtex4-x.inc.
2020-04-08 10:27:34 +02:00
Kornel Benko
278c26b1a6 Cmake tests: Amend 353295e4
Prevent also the command-line setting of LYX_ENABLE_VALGRIND_TESTS
for the cmake versions < 3.17
2020-04-07 14:16:07 +02:00
Kornel Benko
353295e499 Cmake tests: Start preparing for tests involving valgrind 2020-04-07 12:12:29 +02:00
Kornel Benko
5d56928520 Update sk.po 2020-04-07 11:54:15 +02:00
Kornel Benko
701c6a6287 Add "inset-settings" shortcut to sk/menus.bind 2020-04-07 11:52:58 +02:00
Kornel Benko
c84fc5b40c Cmake build: Discard (unset) some variables if not used anymore 2020-04-07 11:48:45 +02:00
Kornel Benko
80cd116805 Fix indentation 2020-04-07 11:47:08 +02:00
Juergen Spitzmueller
2748e33be5 Fix indentation 2020-04-06 16:29:34 +02:00
Juergen Spitzmueller
c0adb03a7a Fix quotation marks in PDF TOC 2020-04-06 08:53:29 +02:00
Richard Kimberly Heck
36a1f365f0 Download dictionaries and thesauri from SVN.
Patch from Eugene.
2020-04-05 14:48:34 -04:00
Juergen Spitzmueller
f9999039ac Strip polyglossia options from pdf string
Fixes #11813
2020-04-05 15:23:22 +02:00
Richard Kimberly Heck
35727f9d77 Previous DTL update is not usable. Roll it back.
Patch from Eugene.
2020-04-04 19:25:26 -04:00
Richard Kimberly Heck
c784119949 Batch file for removing unneeded imagemagick binaries.
Also update installation description.
2020-04-04 19:24:31 -04:00
Richard Kimberly Heck
35864200b1 Changelog from Eugene. 2020-04-04 19:22:08 -04:00
Richard Kimberly Heck
a48bd032ec Description for windows installer and dependencies
Patch from Eugene.
2020-04-04 19:21:00 -04:00
Richard Kimberly Heck
bd660c459f Changed main registry entry (LyX\Version now).
Added "latestVersion" value.

Patch from Eugene.
2020-04-04 19:18:23 -04:00
Richard Kimberly Heck
933cf12140 Implement 64 bit installer.
Remove registry hacking for imagemagick (using portable now).
2020-04-04 19:16:29 -04:00
Jean-Marc Lasgouttes
5202d44ef5 Do not compute caret geometry when we are not ready to do so.
This avoid crashes with invalid cache.

Fixes bug #11763.
2020-04-04 18:11:07 +02:00
Juergen Spitzmueller
ed137ee435 Disable append-column with gathered
Fixes #11812
2020-04-04 09:27:24 +02:00
Jean-Marc Lasgouttes
c8ebd2117c Change tootip for Labeling layout toolbar button
Labeled List sounds better that Labeling.

Part of bug #11770.
2020-04-03 19:16:04 +02:00
Pavel Sanda
3173e520be ia.po: Update from Giovanni 2020-04-03 13:49:37 +02:00
Pavel Sanda
87bf455837 Remerge ia.po 2020-04-03 13:46:55 +02:00
Juergen Spitzmueller
fe09ddf1b9 Implement buffer-write force 2020-03-31 08:01:17 +02:00
Stephan Witt
38ba0ea240 use path to developer tools for SetFile utility as fallback 2020-03-29 18:57:05 +02:00