]> git.lyx.org Git - lyx.git/log
lyx.git
9 years agoClarify member variable documentation
Georg Baum [Sun, 16 Nov 2014 18:15:13 +0000 (19:15 +0100)]
Clarify member variable documentation

9 years ago#9317 add method cleanDuplicateEnvVars() to correct the broken environment with dupli...
Stephan Witt [Sun, 16 Nov 2014 16:21:46 +0000 (17:21 +0100)]
#9317 add method cleanDuplicateEnvVars() to correct the broken environment with duplicate PATH values passed by Yosemite's launchd(8)

9 years agoConvert updatelayouts.sh to python
Georg Baum [Sun, 16 Nov 2014 11:43:52 +0000 (12:43 +0100)]
Convert updatelayouts.sh to python

This makes the script usable on windows and speeds it up by an order of
magnitude, since no new process needs to be forked for each layout file.
It also does not conevrt .old files again.

9 years agoFix typo
Georg Baum [Sun, 16 Nov 2014 11:40:23 +0000 (12:40 +0100)]
Fix typo

9 years agoTypo
Scott Kostyshak [Sun, 16 Nov 2014 00:21:13 +0000 (19:21 -0500)]
Typo

9 years agoGet rid of boost::noncopyable.
Richard Heck [Fri, 14 Nov 2014 23:40:07 +0000 (23:40 +0000)]
Get rid of boost::noncopyable.

9 years agoFix recursive math macro crash (bug #9140)
Georg Baum [Fri, 14 Nov 2014 20:30:42 +0000 (21:30 +0100)]
Fix recursive math macro crash (bug #9140)

This is different from bug #8999, since in this case a new macro instance is
created. You still get a TeX capacity exceeded error if you try to typeset the
exported document, but this is the same as for bug #8999 and better than a
crash.

9 years agoLoad footmisc.sty instead of using outdated code
Georg Baum [Fri, 14 Nov 2014 19:20:35 +0000 (20:20 +0100)]
Load footmisc.sty instead of using outdated code

This is a patch I originally sent to lyx-devel in 2012 with subject
'Load footmisc.sty instead of using copied code from obsolete stblftnt.sty'.
It now takes all comments into account: It works also if the user loads the
package herself, it can be disabled by providing the footmisc feature in a
layout, and it does not use the ugly \AtBeginDocument{}.

9 years agomathed: bformat infoize messages
Uwe Stöhr [Fri, 14 Nov 2014 17:18:30 +0000 (18:18 +0100)]
mathed: bformat infoize messages

- should fix bug #1908

9 years agoFix overflow of inset over text (see #9224)
Jean-Marc Lasgouttes [Fri, 14 Nov 2014 10:13:38 +0000 (11:13 +0100)]
Fix overflow of inset over text (see #9224)

The symptoms are the same as the original #9224, but the reason is different. In the new code, the width of justified rows includes the Row::separator value. Therefore the CRC computed in ParagrahMetrics::computeRowSignature is not updated in some cases.

The fix is to add Row::separator as one of the elements of the row crc.

9 years agoFix some glitches in inset-select-all
Jean-Marc Lasgouttes [Fri, 14 Nov 2014 09:10:29 +0000 (10:10 +0100)]
Fix some glitches in inset-select-all

Fix a crash reported in #7727. This happened because cur.pos() was reset before cur.pit(). In this case, cur.lastpos() will usually be wrong.

Fix bad behaviour when selecting at top level with several paragraphs.

Update documentation.

9 years agoTypo
Scott Kostyshak [Wed, 12 Nov 2014 03:39:14 +0000 (22:39 -0500)]
Typo

9 years agoWhitespace.
Richard Heck [Wed, 12 Nov 2014 00:01:45 +0000 (00:01 +0000)]
Whitespace.

9 years agoFix memory errors found by Alfredo with valgrind
Georg Baum [Tue, 11 Nov 2014 06:42:54 +0000 (07:42 +0100)]
Fix memory errors found by Alfredo with valgrind

BufferParams::setDocumentClass() deletes the old document class of the buffer
and creates a copy of the new one. Therefore, the stored layout pointers in
the paragraphs (actually only one paragraph exists) are dangling afterwards.
Resetting them before setting the document class helps here.
In the long term we need to get rid of BufferParams::setDocumentClass()
completely, this is very ugly.

9 years agoPrevent accidental usage of wrong copy constructor
Georg Baum [Tue, 11 Nov 2014 06:22:14 +0000 (07:22 +0100)]
Prevent accidental usage of wrong copy constructor

9 years agotex2lyx: support for \item with opt arg in itemize environment
Uwe Stöhr [Tue, 11 Nov 2014 00:20:03 +0000 (01:20 +0100)]
tex2lyx: support for \item with opt arg in itemize environment

9 years agotex2lyx/TODO.txt: update file and add information
Uwe Stöhr [Tue, 11 Nov 2014 00:06:51 +0000 (01:06 +0100)]
tex2lyx/TODO.txt: update file and add information

9 years agoFix inset-select-all for insets with multiple paragraphs
Jean-Marc [Mon, 10 Nov 2014 10:56:21 +0000 (11:56 +0100)]
Fix inset-select-all for insets with multiple paragraphs

9 years agotest-insets.lyx.lyx: forgot to commit this in r471889e0
Uwe Stöhr [Mon, 10 Nov 2014 02:34:01 +0000 (03:34 +0100)]
test-insets.lyx.lyx: forgot to commit this in r471889e0

9 years agopo-files: remerge
Uwe Stöhr [Mon, 10 Nov 2014 02:22:24 +0000 (03:22 +0100)]
po-files: remerge

- big update for pt.po

9 years agoFix CAS computation of a selected subformula.
Enrico Forestieri [Sun, 9 Nov 2014 20:56:40 +0000 (21:56 +0100)]
Fix CAS computation of a selected subformula.

Invoking a computer algebra system program for computing a selected
subformula has never worked (checked with all LyX versions back to 1.3)
and, moreover, in the presence of a selection things go awry.
This commit allows this computation by replacing the selected
subformula with the result of the computation.

9 years agoCmake build: 'callstack printing' detection.
Kornel Benko [Sun, 9 Nov 2014 11:59:14 +0000 (12:59 +0100)]
Cmake build: 'callstack printing' detection.

Instead of depending on compiler we try to check for working
API as is done now for automake build too.

9 years agoFix font declarations.
Juergen Spitzmueller [Sun, 9 Nov 2014 08:54:22 +0000 (09:54 +0100)]
Fix font declarations.

9 years agoFix issue with CAS.
Enrico Forestieri [Sun, 9 Nov 2014 01:19:00 +0000 (02:19 +0100)]
Fix issue with CAS.

See http://thread.gmane.org/gmane.editors.lyx.devel/153516
This regression was due to a thinko in [43f6b167/lyxgit].

9 years agoRecommit clearing of empty selections in GuiView
Scott Kostyshak [Tue, 21 Oct 2014 05:45:31 +0000 (01:45 -0400)]
Recommit clearing of empty selections in GuiView

A similar fix was reverted (453ce611) because of crashes.
The crashes occurred simply because of a failed check that
we have a buffer view before using it. That is now done in
this commit.

The below commit description is copied from the original
commit (fb05011a):

Empty selections can cause confusing behavior for a few reasons:

(1) some functions behave differently depending on whether there is a
selection. If I press delete, nothing happens (where I expect the
character or inset before the cusor to be deleted). If I toggle bold or
emphasize nothing happens (where if there is no selection the entire
word is toggled). There are other LyX functions that depend on whether
there is a selection or not. Further, I wonder if any part of LyX's code
assumes that if there is a selection it is non-empty.

(2) menu options are incorrectly set. For example, the scissors icon.

For remaining empty selection issues, see #9222.

For more information, see:
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg184758.html

9 years agotex2lyx: support for bibtopic
Uwe Stöhr [Fri, 7 Nov 2014 02:29:53 +0000 (03:29 +0100)]
tex2lyx: support for bibtopic

can also go to branch

9 years agotex2lyx/text.cpp: support for \nameref
Uwe Stöhr [Fri, 7 Nov 2014 00:58:06 +0000 (01:58 +0100)]
tex2lyx/text.cpp: support for \nameref

\nameref is not recognized

should be backported to branch

9 years agotex2lyx/Preamble.cpp: support 2 math fonts
Uwe Stöhr [Fri, 7 Nov 2014 00:28:42 +0000 (01:28 +0100)]
tex2lyx/Preamble.cpp: support 2 math fonts

- support for kurier and iwona as math font
can also go to branch

9 years agoPDF-comment.lyx: remove unneeded preamble code
Uwe Stöhr [Wed, 5 Nov 2014 23:23:09 +0000 (00:23 +0100)]
PDF-comment.lyx: remove unneeded preamble code

9 years agosk.po: update
Kornel Benko [Wed, 5 Nov 2014 13:16:05 +0000 (14:16 +0100)]
sk.po: update

9 years agocosmetics
Juergen Spitzmueller [Wed, 5 Nov 2014 09:42:45 +0000 (10:42 +0100)]
cosmetics

9 years agographicboxes.module: new module
Uwe Stöhr [Tue, 4 Nov 2014 23:42:35 +0000 (00:42 +0100)]
graphicboxes.module: new module

support for the 4 boxes provided by the LateX package graphicx

9 years agoImplement "callstack printing" checking for autotools
Jean-Marc Lasgouttes [Tue, 4 Nov 2014 22:30:53 +0000 (23:30 +0100)]
Implement "callstack printing" checking for autotools

Contrary to cmake, we do not rely on platform/compiler check, but on the
availability of the reauired API.

9 years agoInsetFootlike.cpp: disable listings inside footnotes
Uwe Stöhr [Tue, 4 Nov 2014 22:44:10 +0000 (23:44 +0100)]
InsetFootlike.cpp: disable listings inside footnotes

fixes bug #9321

9 years agoFix bug #9319: Problems with space inside math and textrm.
Enrico Forestieri [Tue, 4 Nov 2014 20:36:10 +0000 (21:36 +0100)]
Fix bug #9319: Problems with space inside math and textrm.

9 years agoFix bug #7970: space disappears from equation when reopening LyX file.
Enrico Forestieri [Tue, 4 Nov 2014 20:27:55 +0000 (21:27 +0100)]
Fix bug #7970: space disappears from equation when reopening LyX file.

9 years agoFix bug 9300. We need manually to convert newlines to paragraph breaks.
Richard Heck [Mon, 3 Nov 2014 15:56:22 +0000 (10:56 -0500)]
Fix bug 9300. We need manually to convert newlines to paragraph breaks.

(cherry picked from commit 8f40d784c077e95f402c77b07f61c6f740ad67f1)

9 years agopdfcomment.module and PDF-comment.lyx: some minor tweaks
Uwe Stöhr [Mon, 3 Nov 2014 22:56:42 +0000 (23:56 +0100)]
pdfcomment.module and PDF-comment.lyx: some minor tweaks

- use a uniform naming scheme and a style fix as discussed

9 years agosmall tweaks spotted by Uwe
Juergen Spitzmueller [Mon, 3 Nov 2014 15:54:20 +0000 (16:54 +0100)]
small tweaks spotted by Uwe

9 years agoremove file that was accidentally committed
Juergen Spitzmueller [Mon, 3 Nov 2014 15:53:48 +0000 (16:53 +0100)]
remove file that was accidentally committed

9 years agoFix for bug #9234, from Georg.
Georg Baum [Mon, 3 Nov 2014 15:07:17 +0000 (10:07 -0500)]
Fix for bug #9234, from Georg.

Our TempFile class uses QTemporaryFile internally, and, on Windows,
this keeps the file locked so that we cannot rename it. So we have
to release the lock.

9 years agoPDF-comment.lyx: store in format of LyX 2.2
Uwe Stöhr [Sun, 2 Nov 2014 00:06:04 +0000 (01:06 +0100)]
PDF-comment.lyx: store in format of LyX 2.2

 that works now with the proposed fix for bug #9234

9 years agoPDF-comment.lyx: reset style and some fixes
Uwe Stöhr [Sat, 1 Nov 2014 23:56:55 +0000 (00:56 +0100)]
PDF-comment.lyx: reset style and some fixes

- the example was designed to follow the style of the other LyX documentation files, e.g. not to insert options as one big TeX-code inset.
- fix some typos
- (I cannot save files with LyX 2.2 atm due to bug #9234)

9 years agoReimplement inset-select-all in a generic way
Jean-Marc Lasgouttes [Sun, 19 Oct 2014 18:43:17 +0000 (20:43 +0200)]
Reimplement inset-select-all in a generic way

There are 3 possible actions (in order)
* select current cell
* select all calls of inset
* select the inset from outside (in the containing inset)

This fixes completely #7727.

9 years agoFix wrong test: boolean variable is never negative
Jean-Marc Lasgouttes [Sat, 1 Nov 2014 15:02:34 +0000 (16:02 +0100)]
Fix wrong test: boolean variable is never negative

This has been spotted by clang++.

9 years agotypo
Kornel Benko [Fri, 31 Oct 2014 09:15:54 +0000 (10:15 +0100)]
typo

9 years agoDo not truncate references in outline pane (bug 9312).
Richard Heck [Thu, 30 Oct 2014 22:39:58 +0000 (18:39 -0400)]
Do not truncate references in outline pane (bug 9312).

9 years ago* sk.po
Kornel Benko [Thu, 30 Oct 2014 11:35:36 +0000 (12:35 +0100)]
* sk.po

9 years agoFix the pdfcomment rewrite
Juergen Spitzmueller [Thu, 30 Oct 2014 09:22:09 +0000 (10:22 +0100)]
Fix the pdfcomment rewrite

9 years agoPDF-comment.lyx: finish description
Uwe Stöhr [Thu, 30 Oct 2014 01:17:20 +0000 (02:17 +0100)]
PDF-comment.lyx: finish description

- describe PDF-square and PDF-reply
- tune some minor other things

9 years agopdfcomment.module: some fine-tuning
Uwe Stöhr [Thu, 30 Oct 2014 01:16:23 +0000 (02:16 +0100)]
pdfcomment.module: some fine-tuning

- use \requirePackage instead of \Usepackage
- name category properly
- reorder definitions

9 years agoMakefile.am: add the new PDF-comment example file
Uwe Stöhr [Wed, 29 Oct 2014 00:23:37 +0000 (01:23 +0100)]
Makefile.am: add the new PDF-comment example file

damn Git. (should have been committed together with the example file)

9 years agopdfcomment.module: fix unnecessary options I just accidentally introduced
Uwe Stöhr [Wed, 29 Oct 2014 00:20:22 +0000 (01:20 +0100)]
pdfcomment.module: fix unnecessary options I just accidentally introduced

9 years agoPDF-comment.lyx: description of the pdfcomment module
Uwe Stöhr [Wed, 29 Oct 2014 00:05:55 +0000 (01:05 +0100)]
PDF-comment.lyx: description of the pdfcomment module

almost ready, except of the description of 2 comment types (will add them later this week)

9 years agopdfcomment.module: total revision
Uwe Stöhr [Wed, 29 Oct 2014 00:02:13 +0000 (01:02 +0100)]
pdfcomment.module: total revision

this module was not usable since the preamble stuff was missing and also almost all options. But many PDF-comment types are quite useless without options.

9 years agorevtex4-1.lyx: simplifications and fixed typos
Uwe Stöhr [Tue, 28 Oct 2014 01:36:58 +0000 (02:36 +0100)]
revtex4-1.lyx: simplifications and fixed typos

9 years agoImprove debugging output.
Richard Heck [Mon, 27 Oct 2014 22:28:33 +0000 (18:28 -0400)]
Improve debugging output.

9 years agoIf we successfully save a file but fail to move it to its proper location,
Richard Heck [Fri, 8 Aug 2014 16:02:20 +0000 (12:02 -0400)]
If we successfully save a file but fail to move it to its proper location,
then, if we made a backup and the original file was not a symlink, we moved
that file, so it will look to the user as if it was deleted. This is bug

9 years agoFix warnings.
Richard Heck [Mon, 27 Oct 2014 14:41:44 +0000 (10:41 -0400)]
Fix warnings.

9 years agorevtex4-1.layout: update to latest REVTeX 4.1
Uwe Stöhr [Mon, 27 Oct 2014 00:39:18 +0000 (01:39 +0100)]
revtex4-1.layout: update to latest REVTeX 4.1

- added support for the command \onlinecite
- some style and whitespace issues
- revtex4-1.lyx: update accordingly

9 years agoWhoops. Forgot to add before amending commit.
Richard Heck [Sun, 26 Oct 2014 17:02:49 +0000 (13:02 -0400)]
Whoops. Forgot to add before amending commit.

9 years agoMake static variables used in DocBook output thread-safe.
Richard Heck [Sun, 26 Oct 2014 16:53:41 +0000 (12:53 -0400)]
Make static variables used in DocBook output thread-safe.

9 years agoSort debug options in the message pane by string. This makes it
Richard Heck [Fri, 28 Mar 2014 16:51:55 +0000 (12:51 -0400)]
Sort debug options in the message pane by string. This makes it
much easier to find what you need, especially when we're trying
to help users. Previously, they were sorted by their enum values.

9 years agorevtex4-1: port changes from branch
Uwe Stöhr [Sun, 26 Oct 2014 16:20:21 +0000 (17:20 +0100)]
revtex4-1: port changes from branch

also add the todo list to support all commands used in REVTeX's official sample document.

9 years agorevtex4-1.layout: remove unnecessary preamble code
Uwe Stöhr [Sun, 26 Oct 2014 13:26:31 +0000 (14:26 +0100)]
revtex4-1.layout: remove unnecessary preamble code

- \lovname was already added to REVTeX 4.1 in 2010
- REVTeX does purposely not allow to color text, see the discussion in bug #4625

9 years agoja.po: update for master from Koji
Uwe Stöhr [Sun, 26 Oct 2014 02:01:04 +0000 (03:01 +0100)]
ja.po: update for master from Koji

9 years agoTweak the shape of the parbreak separator.
Enrico Forestieri [Sat, 25 Oct 2014 21:38:52 +0000 (23:38 +0200)]
Tweak the shape of the parbreak separator.

The shape of the parbreak separator is slightly changed in order to
better distinguish it from the forced newline. This allows using the
same color of the plain version without risk of confusion.

9 years agoFix grammar error spotted by Sian Mountbatten
Juergen Spitzmueller [Sat, 25 Oct 2014 11:50:37 +0000 (13:50 +0200)]
Fix grammar error spotted by Sian Mountbatten

9 years agoFix typo spotted by Hartmut.
Juergen Spitzmueller [Sat, 25 Oct 2014 11:41:29 +0000 (13:41 +0200)]
Fix typo spotted by Hartmut.

9 years agoCmake-gmo creation: Recreate ${_lyxname}.fmt.pot only if it really changes
Kornel Benko [Fri, 24 Oct 2014 16:53:58 +0000 (18:53 +0200)]
Cmake-gmo creation:  Recreate ${_lyxname}.fmt.pot only if it really changes

9 years agoimproved mount state check
Stephan Witt [Fri, 24 Oct 2014 16:14:42 +0000 (18:14 +0200)]
improved mount state check

9 years agoAdd lyx_commit_hash.h.cmake to distribution tar ball
Stephan Witt [Fri, 24 Oct 2014 16:13:27 +0000 (18:13 +0200)]
Add lyx_commit_hash.h.cmake to distribution tar ball

9 years agoCheck the correct macro for conditional include of lyx_commit_hash.h
Stephan Witt [Fri, 24 Oct 2014 16:12:58 +0000 (18:12 +0200)]
Check the correct macro for conditional include of lyx_commit_hash.h

9 years agoForgot this file in the last commit
Kornel Benko [Fri, 24 Oct 2014 15:29:12 +0000 (17:29 +0200)]
Forgot this file in the last commit

9 years agoCmake build: Moved creation of variable LYX_GIT_COMMIT_HASH to development/cmake...
Kornel Benko [Fri, 24 Oct 2014 14:58:54 +0000 (16:58 +0200)]
Cmake build: Moved creation of variable LYX_GIT_COMMIT_HASH to development/cmake/scripts/LyXGetVersion.cmake.

1.) The only file which needs this define is src/version.cpp. Our use in config.h
resulted in recompiling most of our sources.
With this change, only version.cpp needs to be recompiled.

2.) Without reconfiguring, the old commit hash was still valid. Now the
detection of commit hash is done at compile time.

9 years agoCmake build: No need to recreate lyx.pot on every make call.
Kornel Benko [Thu, 23 Oct 2014 14:49:41 +0000 (16:49 +0200)]
Cmake build: No need to recreate lyx.pot on every make call.

We can check if imput data for 'gettext' command has changed from previous call.
If not, there is no need to recreate lyx.pot, which we only differ in
"POT-Creation-Date: ...."

9 years agoAdd LFUN_SERVER_GET_STATISTICS command
brokenclock [Tue, 14 Oct 2014 19:55:04 +0000 (21:55 +0200)]
Add LFUN_SERVER_GET_STATISTICS command

This function can be used with the LyX server to obtain the word, character or character+space count in the current document or selection.

9 years agoAdd Stéphane Mourey as contributor
Jean-Marc Lasgouttes [Thu, 23 Oct 2014 13:58:41 +0000 (15:58 +0200)]
Add Stéphane Mourey as contributor

9 years agoclean up SVGs with inkscape's --vacuum-defs and --export-plain-svg
Juergen Spitzmueller [Wed, 22 Oct 2014 13:37:27 +0000 (15:37 +0200)]
clean up SVGs with inkscape's --vacuum-defs and --export-plain-svg

9 years agoRemove iconsize.svgz
Juergen Spitzmueller [Wed, 22 Oct 2014 09:58:15 +0000 (11:58 +0200)]
Remove iconsize.svgz

iconsize.png is just a helper bitmap to determine the icon size.

9 years agoAdd href icon
Juergen Spitzmueller [Wed, 22 Oct 2014 07:56:55 +0000 (09:56 +0200)]
Add href icon

9 years agoAdd some SVG version for the current default set
Juergen Spitzmueller [Tue, 21 Oct 2014 18:09:39 +0000 (20:09 +0200)]
Add some SVG version for the current default set

These are SVGs from the Tango icon set as well as some theme-independent self-made icons. Many icons are missing. This set s a wild mixture of Tango, old KDE icons and some self-made icons drawing on (to me) unknown models.

I leave the task to finish this set (and thus the SVG icons generally) to others.

9 years agoCmake build: Omit also hidden header files from globbing
Kornel Benko [Tue, 21 Oct 2014 13:04:48 +0000 (15:04 +0200)]
Cmake build: Omit also hidden header files from globbing

9 years agoCmake build: Omit files with names not starting with aplha character.
Kornel Benko [Tue, 21 Oct 2014 12:50:44 +0000 (14:50 +0200)]
Cmake build: Omit files with names not starting with aplha character.

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Tue, 21 Oct 2014 11:48:14 +0000 (13:48 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Constify splash image coordinates

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Mon, 20 Oct 2014 15:37:12 +0000 (17:37 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Draw version string to splash image with correct position and size

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Mon, 20 Oct 2014 15:15:23 +0000 (17:15 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Search high resolution images only when application has detected high resolution screen

9 years agoRepeat the Mac menu bar init for Qt5 only on Mac
Stephan Witt [Mon, 20 Oct 2014 12:22:13 +0000 (14:22 +0200)]
Repeat the Mac menu bar init for Qt5 only on Mac

9 years agoFix bug #9288: Cannot position cursor near the end of a line.
Jean-Marc Lasgouttes [Fri, 17 Oct 2014 12:34:09 +0000 (14:34 +0200)]
Fix bug #9288: Cannot position cursor near the end of a line.

The problem was that some parts of the code assume that the right margin is part of the width of the row. This is not the case, only the left margin (Row::x) is counted.

The code has been fixed and documented to reflect this.

9 years agoCmake buid: Install the new svgz icons
Kornel Benko [Sat, 18 Oct 2014 14:53:41 +0000 (16:53 +0200)]
Cmake buid: Install the new svgz icons

9 years agoAdd Qt-version info to LyX version string when a git repository is present.
Stephan Witt [Sat, 18 Oct 2014 14:06:33 +0000 (16:06 +0200)]
Add Qt-version info to LyX version string when a git repository is present.

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Sat, 18 Oct 2014 13:57:21 +0000 (15:57 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Add a LyX banner with double resolution for displays with high resolution.

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Sat, 18 Oct 2014 13:52:43 +0000 (15:52 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Assign the pixelRatio of the application to the buffer of the work area.

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Sat, 18 Oct 2014 13:50:22 +0000 (15:50 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Load images with search mode check_hidpi to read images with double size when present.

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Sat, 18 Oct 2014 13:48:18 +0000 (15:48 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Make QT_VERSION check for Qt5 matching Qt5.0.0 too.

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Sat, 18 Oct 2014 13:46:17 +0000 (15:46 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Assign the pixel_ratio of graphics params to the Qt pixmap of the image.

9 years ago #9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Sat, 18 Oct 2014 13:30:58 +0000 (15:30 +0200)]
 #9130 Text in main work area isn't rendered with high resolution
Add display_pixel_ratio to buffer params to use it for displays with high resolution.
It holds the highest ratio between physical pixels and device-independent pixels of the LyX application.
Preview snippets will be generated using this value to get high resolution preview.

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Sat, 18 Oct 2014 13:26:49 +0000 (15:26 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Add pixel_ratio to graphics params to use it for displays with high resolution.
It holds the ratio between physical pixels and device-independent pixels of the graphics.

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Sat, 18 Oct 2014 13:19:47 +0000 (15:19 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Add search mode check_hidpi to ease the lookup for images with double size to use for displays with high resolution.

9 years ago#9130 Text in main work area isn't rendered with high resolution
Stephan Witt [Sun, 12 Oct 2014 17:23:13 +0000 (19:23 +0200)]
#9130 Text in main work area isn't rendered with high resolution
Introduce the concept of pixel ratio: the ratio of physical and device independent pixels.
This is useful for rendering of content on Retina-displays of Mac hardware with high resolution.
Qt has real support for this starting with Qt5 - therefore it has to be compiled conditionally.
This change uses some work of Marcelo Galvão Póvoa, thank you.