]> git.lyx.org Git - features.git/log
features.git
4 years agoCleaner fix to ensure 32-bit XCB events
Enrico Forestieri [Tue, 25 Feb 2020 11:37:51 +0000 (12:37 +0100)]
Cleaner fix to ensure 32-bit XCB events

This fix still satisfies Valgrind and is cleaner than the approach
at 19c41bd0: instead of using calloc we now use the C++11 specifier
alignas. For more info, see the following ML thread:
https://www.mail-archive.com/search?l=mid&q=20200219024908.5n4x4osni55gylo3%40tallinn

4 years agoRevert "Fix write to uninitialized bytes for XCB event"
Enrico Forestieri [Tue, 25 Feb 2020 11:32:10 +0000 (12:32 +0100)]
Revert "Fix write to uninitialized bytes for XCB event"

This reverts commit 19c41bd09572f15ac3546c8e6a6d4ec15306c93a.

A more efficient fix is on the way.

4 years agoFix bug #11750.
Richard Kimberly Heck [Tue, 25 Feb 2020 00:00:31 +0000 (19:00 -0500)]
Fix bug #11750.

Unfortunately, stat.st_ino returns 0 on Windows, at least on Python 2.7, so we can't use that way of telling when we're seeing the same directory again. Surely the real pathname should work.

4 years agoFixup d207e85c: paint sublabel with the correct background color
Jean-Marc Lasgouttes [Mon, 24 Feb 2020 09:37:14 +0000 (10:37 +0100)]
Fixup d207e85c: paint sublabel with the correct background color

The above mentionned patch did paint the background of the sublabel to
avoid "bold-like" effect. However the correct backgound color is the
row's one, not the inset's one.

4 years agoFix alignment warnings from clang.
Richard Kimberly Heck [Sun, 23 Feb 2020 22:14:13 +0000 (17:14 -0500)]
Fix alignment warnings from clang.

4 years agoUse C++11 construct.
Richard Kimberly Heck [Sun, 23 Feb 2020 21:59:31 +0000 (16:59 -0500)]
Use C++11 construct.

4 years agoFix FileName::realPath() on Windows
Enrico Forestieri [Sun, 23 Feb 2020 21:48:35 +0000 (22:48 +0100)]
Fix FileName::realPath() on Windows

The realPath() implementation on Windows works only for files and
not for directories. By using an API available starting from Vista
it is possible to fix it in a simple way.

I also took into account using the Qt QFileInfo::canonicalFilePath(),
but it turns out to not work when a path component is a junction
(tested with Qt 5.14.1).

Due to this, it is not possible compiling or using LyX on Windows
versions earlier than Vista.

4 years agoTry again to fix memory leak reported by Scott.
Richard Kimberly Heck [Sun, 23 Feb 2020 21:39:00 +0000 (16:39 -0500)]
Try again to fix memory leak reported by Scott.

This time, use a shared_ptr.

4 years agoRevert "Fix memory leak reported by Scott."
Richard Kimberly Heck [Sun, 23 Feb 2020 21:29:58 +0000 (16:29 -0500)]
Revert "Fix memory leak reported by Scott."

It leads to a double delete error.

This reverts commit 11397a2e82ba19b69818f9891132ff7074bc1759.

4 years agoFix memory leak reported by Scott.
Richard Kimberly Heck [Sun, 23 Feb 2020 20:54:13 +0000 (15:54 -0500)]
Fix memory leak reported by Scott.

4 years agoFix some clang warnings.
Richard Kimberly Heck [Sun, 23 Feb 2020 20:51:52 +0000 (15:51 -0500)]
Fix some clang warnings.

The first one, a comma instead of a semi-colon, is a weird one.

4 years agoFix nullptr warnings
Richard Kimberly Heck [Wed, 19 Feb 2020 00:27:12 +0000 (19:27 -0500)]
Fix nullptr warnings

4 years agoFix "no extern declaration" warning.
Richard Kimberly Heck [Wed, 19 Feb 2020 00:22:54 +0000 (19:22 -0500)]
Fix "no extern declaration" warning.

4 years agoCmake build: Remove unused option
Kornel Benko [Sat, 22 Feb 2020 20:13:43 +0000 (21:13 +0100)]
Cmake build: Remove unused option

LYX_USE_FILEDIALOG is not used since af795b80

4 years agoMake sure that spelling marks do not spill ouside of row
Jean-Marc Lasgouttes [Sat, 22 Feb 2020 16:59:37 +0000 (17:59 +0100)]
Make sure that spelling marks do not spill ouside of row

This avoids annoying remnants of dotted red lines.

Fixes bug #11755.

4 years agoAvoid UTF8 "no-break space" and use the space inset instead.
Stephan Witt [Sat, 22 Feb 2020 14:21:26 +0000 (15:21 +0100)]
Avoid UTF8 "no-break space" and use the space inset instead.

4 years agoProvide predefined key binding for LFUN "forward-search" on Mac
Stephan Witt [Sat, 22 Feb 2020 11:24:41 +0000 (12:24 +0100)]
Provide predefined key binding for LFUN "forward-search" on Mac

4 years agoUse real path names for buffer lookup by name of temporary external files.
Stephan Witt [Sat, 22 Feb 2020 11:11:42 +0000 (12:11 +0100)]
Use real path names for buffer lookup by name of temporary external files.

In case of path names for external files containing symbolic links the real path
and the logical path name may be different for the same file or directory.
LyX is using QDir::tempPath() to create the path name of the temporary directory.
The Qt implementation is free to return the logical or the real path name here and
it happens to be different for various platforms and versions.
The most stable and clean solution is to use the real path name consistently.

4 years agoMake the directories in LyX application bundle read only.
Stephan Witt [Fri, 21 Feb 2020 17:04:28 +0000 (18:04 +0100)]
Make the directories in LyX application bundle read only.

Python produces files with cached on-the-fly compiled code on disk inside the bundle.
This should be avoided in case of a signed application bundle.

4 years agoCleanup code signing of the LyX application bundle
Stephan Witt [Fri, 21 Feb 2020 08:45:09 +0000 (09:45 +0100)]
Cleanup code signing of the LyX application bundle

4 years agoCleanup internal structure of embedded Qt frameworks
Stephan Witt [Fri, 21 Feb 2020 08:44:07 +0000 (09:44 +0100)]
Cleanup internal structure of embedded Qt frameworks

4 years agoImproved standard conformance of private frameworks naming scheme
Stephan Witt [Fri, 21 Feb 2020 08:43:10 +0000 (09:43 +0100)]
Improved standard conformance of private frameworks naming scheme

4 years agoAvoid potential leak of memory pointed to by QTreeWidgetItem subcatItem
Stephan Witt [Fri, 21 Feb 2020 06:57:09 +0000 (07:57 +0100)]
Avoid potential leak of memory pointed to by QTreeWidgetItem subcatItem

4 years agoAdd packaging option to code sign the LyX application
Stephan Witt [Thu, 20 Feb 2020 09:47:23 +0000 (10:47 +0100)]
Add packaging option to code sign the LyX application

4 years agoCreate private frameworks on Mac with standard conforming internal structure
Stephan Witt [Thu, 20 Feb 2020 09:46:22 +0000 (10:46 +0100)]
Create private frameworks on Mac with standard conforming internal structure

4 years agogcc 4.7 leftover
Pavel Sanda [Thu, 20 Feb 2020 08:24:34 +0000 (09:24 +0100)]
gcc 4.7 leftover

4 years agoOnly gcc 4.8 is C++11 feature complete.
Pavel Sanda [Thu, 20 Feb 2020 08:15:31 +0000 (09:15 +0100)]
Only gcc 4.8 is C++11 feature complete.

4 years agoAvoid potential leak of memory pointed to by QTreeWidgetItem catItem
Stephan Witt [Thu, 20 Feb 2020 07:12:08 +0000 (08:12 +0100)]
Avoid potential leak of memory pointed to by QTreeWidgetItem catItem

4 years agoru.po: update by Yuriy
Juergen Spitzmueller [Wed, 19 Feb 2020 17:26:52 +0000 (18:26 +0100)]
ru.po: update by Yuriy

4 years agoFix write to uninitialized bytes for XCB event
Scott Kostyshak [Wed, 19 Feb 2020 02:39:18 +0000 (21:39 -0500)]
Fix write to uninitialized bytes for XCB event

As the xcb_send_event man page [1] states,

  In order to properly initialize these bytes, we allocate 32 bytes
  even though we only need less for an xcb_configure_notify_event_t

This commit fixes the following Valgrind error, which could be
triggered by selecting a letter in LyX:

  ==12698== Syscall param writev(vector[...]) points to uninitialised byte(s)
  ==12698==    at 0x61F578D: __writev (writev.c:26)
  ==12698==    by 0x61F578D: writev (writev.c:24)
  ==12698==    by 0x4A83BFC: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
  ==12698==    by 0x4A83FD0: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
  ==12698==    by 0x4A84246: ??? (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
  ==12698==    by 0x4A84ACB: xcb_flush (in /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0)
  ==12698==    by 0x17C8F06: lyx::frontend::GuiApplication::nativeEventFilter(QByteArray const&, void*, long*) (GuiApplication.cpp:3366)
  ==12698==    by 0x5AA4EEE: QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) (qabstracteventdispatcher.cpp:484)

[1] https://www.x.org/releases/current/doc/man/man3/xcb_send_event.3.xhtml

4 years agoFix memory leak.
Pavel Sanda [Tue, 18 Feb 2020 09:03:42 +0000 (10:03 +0100)]
Fix memory leak.

Spotted by Scott.
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg210447.html

4 years agoAdd missing check for nullptr on check of language encoding of next paragraph.
Stephan Witt [Tue, 18 Feb 2020 08:03:20 +0000 (09:03 +0100)]
Add missing check for nullptr on check of language encoding of next paragraph.

4 years agoAdd missing initialization for local variable.
Stephan Witt [Tue, 18 Feb 2020 07:59:20 +0000 (08:59 +0100)]
Add missing initialization for local variable.

The autoargs variable is random for empty macro argument lists otherwise.

4 years agoRemove useless assignments to a local variables never read later.
Stephan Witt [Tue, 18 Feb 2020 07:55:45 +0000 (08:55 +0100)]
Remove useless assignments to a local variables never read later.

4 years agoRemove useless assignment to a local variables never read later.
Stephan Witt [Tue, 18 Feb 2020 07:55:00 +0000 (08:55 +0100)]
Remove useless assignment to a local variables never read later.

4 years agoAvoid crashes in case of missing document buffer for buffer based conversions.
Stephan Witt [Tue, 18 Feb 2020 07:43:22 +0000 (08:43 +0100)]
Avoid crashes in case of missing document buffer for buffer based conversions.

4 years agoSilence some clang warnings.
Richard Kimberly Heck [Mon, 17 Feb 2020 17:31:24 +0000 (12:31 -0500)]
Silence some clang warnings.

4 years agoFix a strange warning in QtCreator:
Richard Kimberly Heck [Fri, 14 Feb 2020 16:11:12 +0000 (11:11 -0500)]
Fix a strange warning in QtCreator:

/cvs/lyx/lyx-devel/src/frontends/qt/TocModel.cpp:356: warning: loop variable 'toc' has type 'const pair<std::string, shared_ptr<lyx::Toc> > &' (aka 'const pair<basic_string<char>, shared_ptr<vector<lyx::TocItem> > > &') but is initialized with type 'const std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<std::vector<lyx::TocItem, std::allocator<lyx::TocItem> > > >' resulting in a copy

/cvs/lyx/lyx-devel/src/frontends/qt/TocModel.cpp:356: use non-reference type 'pair<std::string, shared_ptr<lyx::Toc> >' (aka 'pair<basic_string<char>, shared_ptr<vector<lyx::TocItem> > >') to keep the copy or type 'const std::pair<const std::__cxx11::basic_string<char>, std::shared_ptr<std::vector<lyx::TocItem, std::allocator<lyx::TocItem> > > > &' to prevent copying

Easier just to use 'auto'.

4 years agoRemove unnecessary assertion after explicit buffer pointer check.
Stephan Witt [Mon, 17 Feb 2020 13:35:03 +0000 (14:35 +0100)]
Remove unnecessary assertion after explicit buffer pointer check.

4 years agoAvoid potential crashes with missing document buffer in dispatch of buffer based...
Stephan Witt [Mon, 17 Feb 2020 12:36:37 +0000 (13:36 +0100)]
Avoid potential crashes with missing document buffer in dispatch of buffer based LFUNs.

Use LASSERT with appropriate action instead of LATTEST assertions.
Debug build is unchanged and asserts, release build skips the action gracefully.

4 years agoCode cleanup: avoid repeating temp_dir method calls while local variable has a result...
Stephan Witt [Mon, 17 Feb 2020 12:25:35 +0000 (13:25 +0100)]
Code cleanup: avoid repeating temp_dir method calls while local variable has a result already.

4 years agoRestore custom tmp directory
Juergen Spitzmueller [Mon, 17 Feb 2020 08:00:08 +0000 (09:00 +0100)]
Restore custom tmp directory

Fixes #1174

4 years agolyxpreview_tools.py: fix a regular expression
Scott Kostyshak [Sat, 15 Feb 2020 18:27:45 +0000 (13:27 -0500)]
lyxpreview_tools.py: fix a regular expression

Three backslashes are needed before a LaTeX command, not one. Before
this commit, the code gave the following error with Python >= 3.6:

  re.error: bad escape \g at position 29

This error was introduced with Python 3.6, as documented [1] by the
following line of documentation:

  Changed in version 3.6: Unknown escapes in pattern consisting of
  '\' and an ASCII letter now are errors.

Although previous Python versions did not give an error, the regular
expression was not working as intended: for example, the "\\n" in
"\\newcommandx" would be interpreted as a new line.

[1] https://docs.python.org/3.6/library/re.html#re.sub

4 years agoUnify handling in dispatchVC.
Pavel Sanda [Sat, 15 Feb 2020 19:55:14 +0000 (20:55 +0100)]
Unify handling in dispatchVC.

All these check could be actually dropped, because unless dispatchVC
is called directly, getstatus would already handle it.

4 years agoAmend 43dfd12f
Kornel Benko [Sat, 15 Feb 2020 11:21:32 +0000 (12:21 +0100)]
Amend 43dfd12f

4 years agoCmake tests: Correct test BATCH_outline-beamer
Kornel Benko [Sat, 15 Feb 2020 09:26:33 +0000 (10:26 +0100)]
Cmake tests: Correct test BATCH_outline-beamer

4 years agoCmake build: Files already removed, but in 'git status' still present.
Kornel Benko [Sat, 15 Feb 2020 09:11:28 +0000 (10:11 +0100)]
Cmake build: Files already removed, but in 'git status' still present.

This is a try to really remove them.

4 years agowhitespace
Juergen Spitzmueller [Sat, 15 Feb 2020 08:26:43 +0000 (09:26 +0100)]
whitespace

4 years agoFix Python detection on windows
Juergen Spitzmueller [Sat, 15 Feb 2020 08:26:08 +0000 (09:26 +0100)]
Fix Python detection on windows

Patch by Eugene Chornyi

4 years agoAvoid uninitialized position variables in case of current inset not doing the assignment
Stephan Witt [Fri, 14 Feb 2020 11:11:10 +0000 (12:11 +0100)]
Avoid uninitialized position variables in case of current inset not doing the assignment

4 years agoUse the application id of lyx to address the running LyX instance
Stephan Witt [Fri, 14 Feb 2020 11:06:08 +0000 (12:06 +0100)]
Use the application id of lyx to address the running LyX instance

4 years agoPut the LyX window frontmost automatically on Mac on successful reverse search
Stephan Witt [Thu, 13 Feb 2020 15:38:37 +0000 (16:38 +0100)]
Put the LyX window frontmost automatically on Mac on successful reverse search

4 years agoAvoid potential leak of memory pointed to by QStandardItem catItem
Stephan Witt [Thu, 13 Feb 2020 14:24:12 +0000 (15:24 +0100)]
Avoid potential leak of memory pointed to by QStandardItem catItem

4 years agoHandle encoding error in layout file parsing more gracefully
Juergen Spitzmueller [Thu, 13 Feb 2020 07:13:22 +0000 (08:13 +0100)]
Handle encoding error in layout file parsing more gracefully

Issue a warning about non-decodable files, but do not break
completely.

Addresses #11736

4 years agoFix bug #11737.
Richard Kimberly Heck [Thu, 13 Feb 2020 05:03:51 +0000 (00:03 -0500)]
Fix bug #11737.

We need to use the FileName methods when moving or removing a file,
so that refresh() gets called.

(cherry picked from commit d93091389896cddcd83de83dfd4ee8a9b4e9c7f1)

4 years agoRevert "Fix bug #11712."
Juergen Spitzmueller [Wed, 12 Feb 2020 15:11:01 +0000 (16:11 +0100)]
Revert "Fix bug #11712."

This breaks on Linux

This reverts commit fdf81a9bab2f4f50a3eaf22cc0e09ac454f470ed.

4 years agoFix bug #11712.
Richard Kimberly Heck [Wed, 12 Feb 2020 14:25:13 +0000 (09:25 -0500)]
Fix bug #11712.

Fixes some escaping issues on Windows especially

Patch from Eugene.

4 years agoMake cell index of tabular local for column loop.
Stephan Witt [Wed, 12 Feb 2020 11:32:31 +0000 (12:32 +0100)]
Make cell index of tabular local for column loop.

4 years agoRemove another unnecessary assignment
Stephan Witt [Wed, 12 Feb 2020 11:28:18 +0000 (12:28 +0100)]
Remove another unnecessary assignment

4 years agoCmake build: Amend 1c097e56, correctly respect the patch-level
Kornel Benko [Wed, 12 Feb 2020 11:02:36 +0000 (12:02 +0100)]
Cmake build: Amend 1c097e56, correctly respect the patch-level

Handle also the case of creating from tar-file _and_ having 'git' installed

4 years agoRemove unnecessary assignments
Enrico Forestieri [Mon, 10 Feb 2020 20:59:52 +0000 (21:59 +0100)]
Remove unnecessary assignments

4 years agoMake sure to not dereference a null pointer.
Enrico Forestieri [Mon, 10 Feb 2020 20:54:07 +0000 (21:54 +0100)]
Make sure to not dereference a null pointer.

4 years agoProperly resize columns of child document table widget
Juergen Spitzmueller [Fri, 7 Feb 2020 16:23:14 +0000 (17:23 +0100)]
Properly resize columns of child document table widget

4 years agoIndentation fixes
Juergen Spitzmueller [Fri, 7 Feb 2020 15:03:56 +0000 (16:03 +0100)]
Indentation fixes

4 years agoFix a crash with uninitialized buffer member of MathData
Stephan Witt [Fri, 7 Feb 2020 09:17:33 +0000 (10:17 +0100)]
Fix a crash with uninitialized buffer member of MathData

See the details here: https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg210294.html

4 years agoAllow externally provided list of components to skip for Qt framework builds on macOS
Stephan Witt [Thu, 6 Feb 2020 21:19:15 +0000 (22:19 +0100)]
Allow externally provided list of components to skip for Qt framework builds on macOS

4 years agoMore flexible definition of Qt libraries to include as frameworks for macOS
Stephan Witt [Thu, 6 Feb 2020 21:17:35 +0000 (22:17 +0100)]
More flexible definition of Qt libraries to include as frameworks for macOS

4 years agoCare for Qt library source directory rename for 5.12.x
Stephan Witt [Thu, 6 Feb 2020 21:16:13 +0000 (22:16 +0100)]
Care for Qt library source directory rename for 5.12.x

4 years agoEnhanced version string extraction for 3rd party libraries.
Stephan Witt [Thu, 6 Feb 2020 21:15:08 +0000 (22:15 +0100)]
Enhanced version string extraction for 3rd party libraries.

4 years agoupdate canAutoOpenFile/autoOpenFile implementation to new MacOSX API, avoid deprecate...
Stephan Witt [Fri, 20 Sep 2019 17:49:56 +0000 (19:49 +0200)]
update canAutoOpenFile/autoOpenFile implementation to new MacOSX API, avoid deprecated calls

4 years agoFix syntax error with Python 2
Enrico Forestieri [Thu, 6 Feb 2020 09:50:02 +0000 (10:50 +0100)]
Fix syntax error with Python 2

Python 2 wants b"..." and gives error win rb"...".

4 years agoDon't need to remove the file if it doesn't exist. (This would cause a five second...
Richard Kimberly Heck [Mon, 3 Feb 2020 16:37:12 +0000 (11:37 -0500)]
Don't need to remove the file if it doesn't exist. (This would cause a five second delay in that case.)

4 years agoRemove a finishUndo() after a recordUndo()
Scott Kostyshak [Sat, 1 Feb 2020 17:32:30 +0000 (12:32 -0500)]
Remove a finishUndo() after a recordUndo()

finishUndo() is only helpful in the presence of undos of type INSERT
or DELETE.

See the following ML thread for details:

  https://www.mail-archive.com/search?l=mid&q=b721c098-c7ee-d12f-1cdf-067dda9aa5cf%40lyx.org

4 years agoIgnore geometry-related settings if the class provides geometry
Juergen Spitzmueller [Wed, 29 Jan 2020 10:25:01 +0000 (11:25 +0100)]
Ignore geometry-related settings if the class provides geometry

Fixes #11724

4 years agoAdopt a 'belt and braces' approach to bidi forcing
Jean-Marc Lasgouttes [Mon, 27 Jan 2020 17:38:21 +0000 (18:38 +0100)]
Adopt a 'belt and braces' approach to bidi forcing

There are two techniques that I know of for forcing the direction of a
string, regardlessly of whether its contents is naturally LtR, RtL or
undecided.

1/ The unicode LTR/LTR override characters. This is supposed to be the
   clean way, however, it does not seem to work with Qt 5.14 (see
   #11691).

2/ The undocumented QTextLayout::setFlags method. This is used
   internally and allows to pass the (undocumented) flags
   Qt::TextForceRightToLeft and Qt::TextForceLeftToRight. This was
   used until we had issues with Qt 5.11 (see #11284).

In order to get the best of both worlds, this patch allows to enable
those two methods separately, and actually enables both at the same
time by default!

(hopefully) Fixes bug #11691.

4 years agomove lyx-fedora script to attic/
Juergen Spitzmueller [Mon, 27 Jan 2020 17:42:18 +0000 (18:42 +0100)]
move lyx-fedora script to attic/

4 years agoFix missing backspace in msgstr
Jean-Marc Lasgouttes [Mon, 27 Jan 2020 14:40:40 +0000 (15:40 +0100)]
Fix missing backspace in msgstr

4 years agoFix warning with --disable-nls
Jean-Marc Lasgouttes [Mon, 27 Jan 2020 14:34:27 +0000 (15:34 +0100)]
Fix warning with --disable-nls

4 years agoAmend 400706ad0525b
Juergen Spitzmueller [Mon, 27 Jan 2020 10:15:49 +0000 (11:15 +0100)]
Amend 400706ad0525b

4 years agoCmake build: Remove cmake warnings about mismatched values of FindPackageHandleStanda...
Kornel Benko [Mon, 27 Jan 2020 09:44:14 +0000 (10:44 +0100)]
Cmake build: Remove cmake warnings about mismatched values of FindPackageHandleStandardArgs()

4 years agoRemove dvipost from Windows installation.
Richard Kimberly Heck [Mon, 27 Jan 2020 05:01:59 +0000 (00:01 -0500)]
Remove dvipost from Windows installation.

4 years agoFix distcheck target
Jean-Marc Lasgouttes [Sun, 26 Jan 2020 18:46:19 +0000 (19:46 +0100)]
Fix distcheck target

1/ The most annoying part was the error in po/. It turns out that reading
and understanding the po/Makevars file was the key. A simple change of
variable ensures that "make dist" does not try to rebuild lyx.pot.

2/ The way tests in src/ are defined meant that the
dependency-tracking files were not all deleted. This should be OK now.

4 years agoPartially revert 43b81bec, export.cmake was not intended to change
Kornel Benko [Fri, 17 Jan 2020 22:52:23 +0000 (23:52 +0100)]
Partially revert 43b81bec, export.cmake was not intended to change

4 years agoCmake config: Respect the patch-level while creating package from tar/zip-source
Kornel Benko [Fri, 17 Jan 2020 14:27:17 +0000 (15:27 +0100)]
Cmake config: Respect the patch-level while creating package from tar/zip-source

4 years agoCmake config: Amend 43b81bec
Kornel Benko [Fri, 17 Jan 2020 13:59:49 +0000 (14:59 +0100)]
Cmake config: Amend 43b81bec

Typo, causing wrong package creation

4 years agoCmake config: Rename some variables to match the ones used by automake
Kornel Benko [Fri, 17 Jan 2020 13:25:57 +0000 (14:25 +0100)]
Cmake config: Rename some variables to match the ones used by automake

LYX_RELEASE_VERSION renamed to LYX_RELEASE_VERSION
and got the new value of
LYX_RELEASE_PATCH
from configure.ac too

4 years agoUpdate sk.po
Kornel Benko [Fri, 17 Jan 2020 11:37:19 +0000 (12:37 +0100)]
Update sk.po

4 years agode.po
Juergen Spitzmueller [Thu, 16 Jan 2020 09:20:16 +0000 (10:20 +0100)]
de.po

4 years agoRemove terminating linebreak
Juergen Spitzmueller [Thu, 16 Jan 2020 09:19:52 +0000 (10:19 +0100)]
Remove terminating linebreak

4 years agoMake graĥics and external insets tighter
Jean-Marc Lasgouttes [Wed, 15 Jan 2020 14:54:47 +0000 (15:54 +0100)]
Make graĥics and external insets tighter

Now RenderGraphics adds offsets that depends on its parent inset.

These offsets are set to 0 for InsetGraphics and InsetExternal. A nice
consequence is that icons shown by Info inset stick out less on screen.

As an unrelated change, the "private:" specifier of these two insets
is moved to a more reasonable place.

4 years agoFixup eeb4187a: copy-paste errors
Jean-Marc Lasgouttes [Wed, 15 Jan 2020 14:19:38 +0000 (15:19 +0100)]
Fixup eeb4187a: copy-paste errors

4 years agoRemove some spacing above InsetColapsible when possible
Jean-Marc Lasgouttes [Wed, 15 Jan 2020 10:12:47 +0000 (11:12 +0100)]
Remove some spacing above InsetColapsible when possible

4 years agoMake script inset much tighter in texted.
Jean-Marc Lasgouttes [Wed, 15 Jan 2020 10:08:38 +0000 (11:08 +0100)]
Make script inset much tighter in texted.

We use the fact that offsets can be set separately for each inset.

4 years agoReplace the hardcoded TEXT_TO_INSET_OFFSET by tunable values
Jean-Marc Lasgouttes [Mon, 13 Jan 2020 21:09:06 +0000 (22:09 +0100)]
Replace the hardcoded TEXT_TO_INSET_OFFSET by tunable values

The basic value is Inset::textOffset(BufferView*), which can in theory
change with the BufferView zoom and dpi. It is hardcoded to 4 for now.

Moreover, we introduce the virtual inset methods
(top|bottom|left|right)Offset, which can be tweaked for each inset.

No change intended (for now).

4 years agoImprove comments
Juergen Spitzmueller [Wed, 15 Jan 2020 07:40:51 +0000 (08:40 +0100)]
Improve comments

4 years agoCross out ct-deleted tabular rows/columns in workarea
Juergen Spitzmueller [Wed, 15 Jan 2020 07:37:35 +0000 (08:37 +0100)]
Cross out ct-deleted tabular rows/columns in workarea

4 years ago* lib/RELEASE-NOTES
Pavel Sanda [Tue, 14 Jan 2020 21:12:35 +0000 (22:12 +0100)]
* lib/RELEASE-NOTES

4 years agoendl needs ostream header here.
Pavel Sanda [Tue, 14 Jan 2020 20:59:05 +0000 (21:59 +0100)]
endl needs ostream header here.

4 years agoWhitespace
Juergen Spitzmueller [Tue, 14 Jan 2020 15:23:09 +0000 (16:23 +0100)]
Whitespace

4 years agoAccount for bidi (swapped columns) when calculation clines
Juergen Spitzmueller [Tue, 14 Jan 2020 15:15:49 +0000 (16:15 +0100)]
Account for bidi (swapped columns) when calculation clines

Fixes #11717