]>
git.lyx.org Git - lyx.git/log
Richard Kimberly Heck [Sun, 26 Apr 2020 02:27:09 +0000 (22:27 -0400)]
Remove method that is now unneeded.
Richard Kimberly Heck [Sun, 26 Apr 2020 02:17:51 +0000 (22:17 -0400)]
Try to fix bug #6505.
Keep track of nested includes and just refuse to re-enter a file
we're already in the process of handling.
There's a question whether we should do this in updateBuffer and
validate, or whether we should do it separately. For now, this seems
to work.
Richard Kimberly Heck [Sat, 25 Apr 2020 21:34:27 +0000 (17:34 -0400)]
Buffer methods for dealing with recursive includes.
Richard Kimberly Heck [Sat, 25 Apr 2020 21:33:49 +0000 (17:33 -0400)]
Return early from the short path.
Richard Kimberly Heck [Sat, 25 Apr 2020 05:26:37 +0000 (01:26 -0400)]
Fix warnings.
Richard Kimberly Heck [Sat, 25 Apr 2020 05:11:30 +0000 (01:11 -0400)]
Refactor code to avoid the problem fixed at the last commit.
Richard Kimberly Heck [Sat, 25 Apr 2020 05:05:15 +0000 (01:05 -0400)]
Fix bug #11850.
When we copy the paragraphs, the Buffer members for the insets are
not set. As a result, we crash when attempting to access them.
Enrico Forestieri [Thu, 23 Apr 2020 21:08:36 +0000 (23:08 +0200)]
Update it.po
Jean-Marc Lasgouttes [Thu, 23 Apr 2020 17:17:15 +0000 (19:17 +0200)]
Ignore some more files when building in source tree
Juergen Spitzmueller [Thu, 23 Apr 2020 12:24:32 +0000 (14:24 +0200)]
Hint at (new) filter function in tooltip.
Juergen Spitzmueller [Thu, 23 Apr 2020 10:43:38 +0000 (12:43 +0200)]
Use CategorizedCombo for font selection
We do not have categories, but this gives as a nice filter functionality
for long (non-TeX) font lists for free.
See #11849
Juergen Spitzmueller [Thu, 23 Apr 2020 06:31:50 +0000 (08:31 +0200)]
Categorized Combo: Do not draw category line if the combo has zero categories
Juergen Spitzmueller [Thu, 23 Apr 2020 05:35:44 +0000 (07:35 +0200)]
ru.po: update by Yuriy
Juergen Spitzmueller [Thu, 23 Apr 2020 05:33:51 +0000 (07:33 +0200)]
Minor doc update by Yuriy
Enrico Forestieri [Tue, 21 Apr 2020 19:55:20 +0000 (21:55 +0200)]
Raise the window in single-instance mode
Other than issuing a warning on the console, now the LyX window is
raised when in single-instance mode and no files to load are specified.
In this way, the user is aware that something happened after double
clicking the program icon. To support this functionality the new lfun
window-raise has been introduced.
Richard Kimberly Heck [Sun, 19 Apr 2020 17:31:57 +0000 (13:31 -0400)]
Comment.
Richard Kimberly Heck [Sun, 19 Apr 2020 15:10:52 +0000 (11:10 -0400)]
Fix warning
Juergen Spitzmueller [Sun, 19 Apr 2020 15:02:28 +0000 (17:02 +0200)]
de.po: nitpick
Scott Kostyshak [Sun, 19 Apr 2020 13:02:04 +0000 (09:02 -0400)]
Fix debug message
Kornel Benko [Sun, 19 Apr 2020 13:29:39 +0000 (15:29 +0200)]
Update sk.po
Juergen Spitzmueller [Sun, 19 Apr 2020 13:03:51 +0000 (15:03 +0200)]
de.po: update
Juergen Spitzmueller [Sun, 19 Apr 2020 12:52:54 +0000 (14:52 +0200)]
ru.po: update by Yuriy
Stephan Witt [Sun, 19 Apr 2020 11:12:26 +0000 (13:12 +0200)]
additional check for default pipe locations used by active LyX instance
Kornel Benko [Sun, 19 Apr 2020 09:39:10 +0000 (11:39 +0200)]
Amend(5)
689f26d2 : Revert changes in development/cygwin/lyxrc.dist.in
Thanks Enrico.
Juergen Spitzmueller [Sun, 19 Apr 2020 08:55:32 +0000 (10:55 +0200)]
Improve reporting of undefined control sequences in preamble
Fixes #11844
Kornel Benko [Sun, 19 Apr 2020 07:45:32 +0000 (09:45 +0200)]
Cmake build: Distinguish between PROGRAM_SUFFIX and LYX_VERSION
For instance: program suffix may be "", but lyx version is still "2.4"
Kornel Benko [Sun, 19 Apr 2020 06:59:54 +0000 (08:59 +0200)]
Use c++11 to remove last char from a string
Thanks Scott.
Kornel Benko [Sat, 18 Apr 2020 20:25:55 +0000 (22:25 +0200)]
Amend(4)
689f26d2 : Add default path to server pipe (cmake build)
Rename the placeholde $$User to $$UserDir
Make it more readable. Suggestion from Stephan Witt.
Richard Kimberly Heck [Sat, 18 Apr 2020 18:52:08 +0000 (14:52 -0400)]
Fix some warnings
Richard Kimberly Heck [Sat, 18 Apr 2020 18:41:26 +0000 (14:41 -0400)]
Tell the user that LyX is already running when we do not start
because of 'use single instance'.
Kornel Benko [Sat, 18 Apr 2020 14:32:24 +0000 (16:32 +0200)]
Amend(3)
689f26d2 : Add default path to server pipe (cmake build)
Omit duplicated separators if replacing string '$$User' with actual userdir
Kornel Benko [Sat, 18 Apr 2020 10:07:04 +0000 (12:07 +0200)]
Amend(2)
689f26d2 : Add default path to server pipe (cmake build)
Changing pipe-path to fit on Windows
Corrected by Eugene
Juergen Spitzmueller [Sat, 18 Apr 2020 09:21:48 +0000 (11:21 +0200)]
Remap typographical apostrophe from Hunspell to plain apostrophe (#11832)
Kornel Benko [Sat, 18 Apr 2020 07:06:56 +0000 (09:06 +0200)]
Amend(1)
689f26d2 : Add default path to server pipe (cmake build)
Added handling for cygwin and win32
MacOSX is unchanged, Stephan could you look at it?
Juergen Spitzmueller [Sat, 18 Apr 2020 06:01:39 +0000 (08:01 +0200)]
fix comment
Kornel Benko [Fri, 17 Apr 2020 16:38:51 +0000 (18:38 +0200)]
Add default path to server pipe (cmake build + unix)
Actually the change is affecting only builds if
1.) Using cmake build
2.) on unix
To use it on
cygwin: one has to patch development/cygwin/lyxrc.dist.in
MacOSX: -//- development/MacOSX/lyxrc.dist.in
We need also a Windows-version
Also the compilation with automake lacks the handling of development/unix/lyxrc.dist.in
Kornel Benko [Fri, 17 Apr 2020 10:13:08 +0000 (12:13 +0200)]
Cmake build: Prevent multiple configuration runs
Normally the sequence to compile is
1.) cmake <source> <some parameters>
2.) make
but since 'unset(var CACHE)' changed the cache, the following call to 'make'
triggered the configuration run.
Juergen Spitzmueller [Fri, 17 Apr 2020 08:19:46 +0000 (10:19 +0200)]
Reset failedtoload_ bool when include inset params are changed (#11842)
Juergen Spitzmueller [Fri, 17 Apr 2020 07:12:51 +0000 (09:12 +0200)]
Fix tablefootnote loading order (#11841)
Richard Kimberly Heck [Fri, 17 Apr 2020 01:05:38 +0000 (21:05 -0400)]
Make it nicer, thanks to JMarc
Richard Kimberly Heck [Wed, 8 Apr 2020 21:50:09 +0000 (17:50 -0400)]
Fix bug #11635
Jean-Marc Lasgouttes [Thu, 16 Apr 2020 17:21:54 +0000 (19:21 +0200)]
Simplify code for bidi icons
Most of the RtL icons that we provide are simply mirrors of the LtR ones.
Therefore let the code do that by default if no +rtl icon is found.
The only RtL icon left for now is for "layout Enumerate" (notice the
numbers in it).
Also remove useless getPixmap wrapper and several old bidi_xxx icons
that were forgotten in previous patch.
Pavel Sanda [Thu, 16 Apr 2020 16:57:31 +0000 (18:57 +0200)]
This has been asked numerous times on users list.
Jean-Marc Lasgouttes [Tue, 14 Apr 2020 20:41:00 +0000 (22:41 +0200)]
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.
Jean-Marc Lasgouttes [Tue, 14 Apr 2020 16:30:44 +0000 (18:30 +0200)]
Revert "Add mechanism to change icons in RTL mode"
This is really too clumsy. Revert in preparation for a better
mechanism.
This reverts commit
2898c335be6114194a15cb1aafe4a3c7c170f212 .
Kornel Benko [Tue, 14 Apr 2020 17:59:41 +0000 (19:59 +0200)]
Cmake build: Fix use of LYX_ABS_INSTALLED_DATADIR
(Wrong display at configuration time. Also wrong value in created config.h)
Jean-Marc Lasgouttes [Tue, 14 Apr 2020 15:57:49 +0000 (17:57 +0200)]
Fixup
294969c6 : do not forget to update metrics
Kornel Benko [Tue, 14 Apr 2020 11:01:17 +0000 (13:01 +0200)]
Cmake build: All directory variables should contain trailing '/'
Kornel Benko [Mon, 13 Apr 2020 20:18:47 +0000 (22:18 +0200)]
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.
Kornel Benko [Mon, 13 Apr 2020 11:39:33 +0000 (13:39 +0200)]
Amend
ef42541d26 : Missed to commit these
Kornel Benko [Mon, 13 Apr 2020 10:51:04 +0000 (12:51 +0200)]
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'
Jean-Marc Lasgouttes [Mon, 13 Apr 2020 10:02:26 +0000 (12:02 +0200)]
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.
Pavel Sanda [Fri, 10 Apr 2020 12:28:59 +0000 (14:28 +0200)]
fix distcheck
Juergen Spitzmueller [Fri, 10 Apr 2020 07:15:13 +0000 (09:15 +0200)]
Fix some compiler warnings in dt2dv.c
Juergen Spitzmueller [Fri, 10 Apr 2020 07:00:19 +0000 (09:00 +0200)]
Fix sign mismatch introduced with
8e60fcf530166
Kornel Benko [Thu, 9 Apr 2020 12:44:18 +0000 (14:44 +0200)]
Cmake build: Add manuals for created executables dv2dt and dt2dv
Juergen Spitzmueller [Thu, 9 Apr 2020 11:05:21 +0000 (13:05 +0200)]
Win compile doc update from Eugene
Jean-Marc Lasgouttes [Thu, 9 Apr 2020 10:40:00 +0000 (12:40 +0200)]
Add automake support for dtl
Jean-Marc Lasgouttes [Thu, 9 Apr 2020 10:24:44 +0000 (12:24 +0200)]
Do not put C++-only options in AM_CPPFLAGS
Kornel Benko [Thu, 9 Apr 2020 09:58:49 +0000 (11:58 +0200)]
Amend
b280fed1 : 3rdparty/dtl: Use preprocessor value on Windows
Kornel Benko [Thu, 9 Apr 2020 09:46:47 +0000 (11:46 +0200)]
Cmake build: Added 3rdparty creation of dt2dv and dv2dt
Works on linux, needs testing on Windows
Juergen Spitzmueller [Thu, 9 Apr 2020 08:08:44 +0000 (10:08 +0200)]
Address #9368
pdfview creates a temp pdf file to determine the standard pdf viewer,
code simplification, reducing dll dependencies
Patch by Eugene.
Juergen Spitzmueller [Thu, 9 Apr 2020 07:29:41 +0000 (09:29 +0200)]
Fix date
Juergen Spitzmueller [Thu, 9 Apr 2020 07:22:48 +0000 (09:22 +0200)]
Add ChangeLog do document our own changes
Juergen Spitzmueller [Thu, 9 Apr 2020 07:22:02 +0000 (09:22 +0200)]
2006-09-14 Enrico Forestieri <forenr@lyx.org>
* dt2dv.c: Handle non-ASCII characters.
See https://www.lyx.org/trac/ticket/2836
Juergen Spitzmueller [Thu, 9 Apr 2020 07:21:05 +0000 (09:21 +0200)]
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
Juergen Spitzmueller [Thu, 9 Apr 2020 06:58:09 +0000 (08:58 +0200)]
Add dtl tools to 3rdparty/
We need to compile our own (patched) version of the app on Windows.
See #11325
Richard Kimberly Heck [Wed, 8 Apr 2020 21:17:14 +0000 (17:17 -0400)]
Debug output for paragraph params.
Richard Kimberly Heck [Wed, 8 Apr 2020 20:40:39 +0000 (16:40 -0400)]
Fix bug #11817.
Preserve line spacing when breaking a paragraph at the beginning.
Kornel Benko [Wed, 8 Apr 2020 08:27:34 +0000 (10:27 +0200)]
Added revtex4-2.layout
For revtex4.1, this is only cosmetics, because the content
of the layout moved to revtex4-x.inc.
Kornel Benko [Tue, 7 Apr 2020 12:16:07 +0000 (14:16 +0200)]
Cmake tests: Amend
353295e4
Prevent also the command-line setting of LYX_ENABLE_VALGRIND_TESTS
for the cmake versions < 3.17
Kornel Benko [Tue, 7 Apr 2020 10:12:29 +0000 (12:12 +0200)]
Cmake tests: Start preparing for tests involving valgrind
Kornel Benko [Tue, 7 Apr 2020 09:54:15 +0000 (11:54 +0200)]
Update sk.po
Kornel Benko [Tue, 7 Apr 2020 09:52:58 +0000 (11:52 +0200)]
Add "inset-settings" shortcut to sk/menus.bind
Kornel Benko [Tue, 7 Apr 2020 09:48:45 +0000 (11:48 +0200)]
Cmake build: Discard (unset) some variables if not used anymore
Kornel Benko [Tue, 7 Apr 2020 09:47:08 +0000 (11:47 +0200)]
Fix indentation
Juergen Spitzmueller [Mon, 6 Apr 2020 14:29:34 +0000 (16:29 +0200)]
Fix indentation
Juergen Spitzmueller [Mon, 6 Apr 2020 06:53:29 +0000 (08:53 +0200)]
Fix quotation marks in PDF TOC
Richard Kimberly Heck [Sun, 5 Apr 2020 18:48:19 +0000 (14:48 -0400)]
Download dictionaries and thesauri from SVN.
Patch from Eugene.
Juergen Spitzmueller [Sun, 5 Apr 2020 13:23:22 +0000 (15:23 +0200)]
Strip polyglossia options from pdf string
Fixes #11813
Richard Kimberly Heck [Sat, 4 Apr 2020 23:25:11 +0000 (19:25 -0400)]
Previous DTL update is not usable. Roll it back.
Patch from Eugene.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:23:48 +0000 (19:23 -0400)]
Batch file for removing unneeded imagemagick binaries.
Also update installation description.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:22:08 +0000 (19:22 -0400)]
Changelog from Eugene.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:21:00 +0000 (19:21 -0400)]
Description for windows installer and dependencies
Patch from Eugene.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:18:23 +0000 (19:18 -0400)]
Changed main registry entry (LyX\Version now).
Added "latestVersion" value.
Patch from Eugene.
Richard Kimberly Heck [Sat, 4 Apr 2020 23:16:29 +0000 (19:16 -0400)]
Implement 64 bit installer.
Remove registry hacking for imagemagick (using portable now).
Jean-Marc Lasgouttes [Sat, 4 Apr 2020 16:10:44 +0000 (18:10 +0200)]
Do not compute caret geometry when we are not ready to do so.
This avoid crashes with invalid cache.
Fixes bug #11763.
Juergen Spitzmueller [Sat, 4 Apr 2020 07:27:24 +0000 (09:27 +0200)]
Disable append-column with gathered
Fixes #11812
Jean-Marc Lasgouttes [Fri, 3 Apr 2020 17:16:04 +0000 (19:16 +0200)]
Change tootip for Labeling layout toolbar button
Labeled List sounds better that Labeling.
Part of bug #11770.
Pavel Sanda [Fri, 3 Apr 2020 11:49:37 +0000 (13:49 +0200)]
ia.po: Update from Giovanni
Pavel Sanda [Fri, 3 Apr 2020 11:46:55 +0000 (13:46 +0200)]
Remerge ia.po
Juergen Spitzmueller [Tue, 31 Mar 2020 06:01:17 +0000 (08:01 +0200)]
Implement buffer-write force
Stephan Witt [Sun, 29 Mar 2020 16:56:53 +0000 (18:56 +0200)]
use path to developer tools for SetFile utility as fallback
Juergen Spitzmueller [Sun, 29 Mar 2020 15:47:59 +0000 (17:47 +0200)]
Prevent wrong reference to duplicated (but deleted) label
Fixes #11803
Richard Kimberly Heck [Sun, 29 Mar 2020 03:52:55 +0000 (23:52 -0400)]
Remove code disabled since 2005.
No one knew then what it was supposed to do.
Richard Kimberly Heck [Sun, 29 Mar 2020 03:34:44 +0000 (23:34 -0400)]
Fix bug #11799.
I've made cut, etc, OptItems, as this menu is already very long.
Richard Kimberly Heck [Sun, 29 Mar 2020 03:23:47 +0000 (23:23 -0400)]
Remove obsolete (and false) comment.
Scott Kostyshak [Sat, 28 Mar 2020 23:12:25 +0000 (19:12 -0400)]
PreviewLoader: start fake pids after PID_MAX_LIMIT
Scott Kostyshak [Sat, 28 Mar 2020 16:19:11 +0000 (12:19 -0400)]
Use << for raising 2 to power instead of ^
The ^ is interpretted as bitwise XOR, so 2^(20) evaluated to 22.
Thanks to Riki for the << trick. This way, we do not have to use
pow() and include the <cmath> header for this one expression.
Richard Kimberly Heck [Sat, 28 Mar 2020 19:23:13 +0000 (15:23 -0400)]
Fix crash after
24926b2e239 .
The matched element may not have a parent. I guess the old version of
setExpanded too care of that. Now we have to do so.