]> git.lyx.org Git - lyx.git/log
lyx.git
9 years agoInstaller: slovak.nsh: translation update by Kornel
Uwe Stöhr [Fri, 27 Feb 2015 00:11:00 +0000 (01:11 +0100)]
Installer: slovak.nsh: translation update by Kornel

9 years agoFix hyphen conversion in passThru insets
Georg Baum [Thu, 26 Feb 2015 21:55:20 +0000 (22:55 +0100)]
Fix hyphen conversion in passThru insets

The old hyphen replacement code did not convert hyphens if the condition
style.pass_thru || runparams.pass_thru
was met. style.pass_thru got set from inset owner (isPassThru()). Therefore
we have to consider this for the new replacement code as well.

9 years agowhitespace
Georg Baum [Thu, 26 Feb 2015 19:43:05 +0000 (20:43 +0100)]
whitespace

9 years agoMake convert_dashes and revert_dashes symmetric
Georg Baum [Thu, 26 Feb 2015 19:34:36 +0000 (20:34 +0100)]
Make convert_dashes and revert_dashes symmetric

Otherwise we could destroy math stuff.

9 years agoAdd comment, so that does not happen again.
Richard Heck [Wed, 25 Feb 2015 01:07:32 +0000 (20:07 -0500)]
Add comment, so that does not happen again.

9 years agoPartially revert b627b870, which broke cursor movement.
Richard Heck [Wed, 25 Feb 2015 01:04:10 +0000 (20:04 -0500)]
Partially revert b627b870, which broke cursor movement.

9 years agoFix plaintext output of dashes (bug #3647)
Georg Baum [Tue, 24 Feb 2015 20:58:27 +0000 (21:58 +0100)]
Fix plaintext output of dashes (bug #3647)

Previously, consecutive dashes in .lyx files were combined to endash and emdash
in some cases, and in other cases they were output as is. This made the code
complicated, and resulted in inconsitencies ((bug #3647).
Now, a dash in a .lyx file is always a dash in the output, for all flavours.
The special handling is moved to the input side, so that you still get an
endash if you type two hyphens. If needed, this can be changed or made
customizable without the need to update the file format again. Many thanks
for the fruitful mailing list dicsussion, which contributed significantly to
the final version.

9 years agoMicro-optimization.
Richard Heck [Tue, 24 Feb 2015 18:43:33 +0000 (13:43 -0500)]
Micro-optimization.

9 years agoSome performance stuff reported by cppcheck
Jean-Marc Lasgouttes [Tue, 24 Feb 2015 09:17:45 +0000 (10:17 +0100)]
Some performance stuff reported by cppcheck

9 years agoCheck for ugm font availability
Juergen Spitzmueller [Tue, 24 Feb 2015 06:58:40 +0000 (07:58 +0100)]
Check for ugm font availability

Fixes: #9429
9 years agoUserGuide.lyx: port recent changes from branch
Uwe Stöhr [Tue, 24 Feb 2015 00:56:27 +0000 (01:56 +0100)]
UserGuide.lyx: port recent changes from branch

9 years agoFrench manuals: sync with branch
Uwe Stöhr [Tue, 24 Feb 2015 00:14:40 +0000 (01:14 +0100)]
French manuals: sync with branch

9 years agoUpdate it.po
Enrico Forestieri [Mon, 23 Feb 2015 00:53:14 +0000 (01:53 +0100)]
Update it.po

9 years agoMissing svg icons for the default set.
Enrico Forestieri [Sun, 22 Feb 2015 23:23:54 +0000 (00:23 +0100)]
Missing svg icons for the default set.

I am also replacing some existing icons with reworked ones that
look better at small sizes. I think that these icons are now
comparable to the png ones as regards quality at the default size.

9 years agoWhitespace
Scott Kostyshak [Fri, 20 Feb 2015 06:46:33 +0000 (01:46 -0500)]
Whitespace

9 years agoctests: invert some of the PDF-comment tests
Scott Kostyshak [Sat, 21 Feb 2015 18:53:23 +0000 (13:53 -0500)]
ctests: invert some of the PDF-comment tests

Only pdflatex is expected to work reliably.
lualatex also appears to compile.

9 years agoDo not read array before checking the bounds
Jean-Marc Lasgouttes [Fri, 20 Feb 2015 15:51:20 +0000 (16:51 +0100)]
Do not read array before checking the bounds

Fixes coverity issue 23377

9 years agoInitialize variable properly.
Jean-Marc Lasgouttes [Fri, 20 Feb 2015 15:47:27 +0000 (16:47 +0100)]
Initialize variable properly.

This fixes coverity issue 23503.

9 years agoDo not mix several names for the same variable
Jean-Marc Lasgouttes [Fri, 20 Feb 2015 15:37:06 +0000 (16:37 +0100)]
Do not mix several names for the same variable

This confuses coverity, but is probably harmless.

Fxies coverity issue 23374

9 years agoRemove C-isms in isValidLength
Jean-Marc Lasgouttes [Fri, 20 Feb 2015 15:16:31 +0000 (16:16 +0100)]
Remove C-isms in isValidLength

This fixes coverity issue 23349, with a potential out-of-bounds write to the pattern array.

9 years agoDon't try to show 1000 as a roman number
Jean-Marc Lasgouttes [Fri, 20 Feb 2015 14:59:19 +0000 (15:59 +0100)]
Don't try to show 1000 as a roman number

Fixes coverity issue 23360.

9 years agowhitespace
Jean-Marc Lasgouttes [Fri, 20 Feb 2015 14:57:45 +0000 (15:57 +0100)]
whitespace

9 years agoFix uninitialized variable
Jean-Marc Lasgouttes [Fri, 20 Feb 2015 14:53:19 +0000 (15:53 +0100)]
Fix uninitialized variable

Fixes coverity issue 23446.

9 years agoDo not create a new socket if the max. number of clients is attained
Jean-Marc Lasgouttes [Fri, 20 Feb 2015 14:46:34 +0000 (15:46 +0100)]
Do not create a new socket if the max. number of clients is attained

Fixes coverity issue 23431.

9 years agoFix memory leak in TImer class.
Jean-Marc Lasgouttes [Fri, 20 Feb 2015 14:39:45 +0000 (15:39 +0100)]
Fix memory leak in TImer class.

This is not really important since the class is currently not used.

This is coverity issue 23291.

9 years agoMain argument of a subfloat is not a moving argument
Jean-Marc Lasgouttes [Fri, 20 Feb 2015 10:51:40 +0000 (11:51 +0100)]
Main argument of a subfloat is not a moving argument

Fixes bug: #9421

9 years agoComment out FontEncoding for Hebrew
Juergen Spitzmueller [Thu, 19 Feb 2015 09:37:05 +0000 (10:37 +0100)]
Comment out FontEncoding for Hebrew

This needs a specific loading order, which is handled by Hebrew babel itself.

9 years agoar.po: update by Hatim for master
Uwe Stöhr [Thu, 19 Feb 2015 00:23:56 +0000 (01:23 +0100)]
ar.po: update by Hatim for master

9 years agoctests: revert Russian XeLaTeX and LuaLaTeX tests
Scott Kostyshak [Wed, 18 Feb 2015 08:25:33 +0000 (03:25 -0500)]
ctests: revert Russian XeLaTeX and LuaLaTeX tests

These exports (with TeX fonts) have been successful since support
for proper font encoding for Russian was added at d7cf6ca7.

9 years agoctests: invert many of the ja template tests
Scott Kostyshak [Wed, 18 Feb 2015 07:35:05 +0000 (02:35 -0500)]
ctests: invert many of the ja template tests

We only expect pdf and pdf3 to pass. This is consistent with
other LyX Japanese documents.

9 years agoCorrect the \lyxformat of aastex template
Scott Kostyshak [Wed, 18 Feb 2015 05:15:49 +0000 (00:15 -0500)]
Correct the \lyxformat of aastex template

The current format is 480. Commit 6594289d changed
the format in this file to 481, which caused the file
to not be loadable in LyX.

9 years agoFix regression of eb121f999
Georg Baum [Tue, 17 Feb 2015 20:19:05 +0000 (21:19 +0100)]
Fix regression of eb121f999

Again thanks to Scott for finding this. The removal of the check for full
unicode in eb121f999 was not wanted. Now listings can be exported to
lualatex and xetex again.

9 years agoeplace unparseable char in lib/configure.py.
Kornel Benko [Tue, 17 Feb 2015 12:24:56 +0000 (13:24 +0100)]
eplace unparseable char in lib/configure.py.

Apparently xgettext is choking on that unicode char (\302 \240)

9 years agoUserGuide.lyx: port recent changes to master
Uwe Stöhr [Mon, 16 Feb 2015 23:45:55 +0000 (00:45 +0100)]
UserGuide.lyx: port recent changes to master

9 years agoconfigure.py: change name of a converter as discussed
Uwe Stöhr [Mon, 16 Feb 2015 23:44:47 +0000 (00:44 +0100)]
configure.py: change name of a converter as discussed

9 years agostdmenus.inc: add PDF-comment.lyx as special manual
Uwe Stöhr [Mon, 16 Feb 2015 23:24:55 +0000 (00:24 +0100)]
stdmenus.inc: add PDF-comment.lyx as special manual

9 years agopdfcomment.module: add required style files
Uwe Stöhr [Mon, 16 Feb 2015 23:24:29 +0000 (00:24 +0100)]
pdfcomment.module: add required style files

the the module requires datetime and fmtcount

9 years agoDevelopment.lyx: add a documentation policy as requested by Scott
Uwe Stöhr [Mon, 16 Feb 2015 23:12:02 +0000 (00:12 +0100)]
Development.lyx: add a documentation policy as requested by Scott

9 years agoFix wrong LATTEST
Georg Baum [Mon, 16 Feb 2015 21:33:48 +0000 (22:33 +0100)]
Fix wrong LATTEST

Thanks to Scott for testing. If a macro is unknown (displayed in red), then
macro_ is 0. The LATTEST is now adjusted and works like in MathMacro::write()
where I stole it from.

9 years agoCorrect name of a svg icon.
Enrico Forestieri [Mon, 16 Feb 2015 15:10:53 +0000 (16:10 +0100)]
Correct name of a svg icon.

9 years agoMore documentation on InternalEncoding
Juergen Spitzmueller [Mon, 16 Feb 2015 10:17:39 +0000 (11:17 +0100)]
More documentation on InternalEncoding

9 years agoOutput -- and --- in XHTML like in LaTeX
Georg Baum [Sun, 15 Feb 2015 19:17:21 +0000 (20:17 +0100)]
Output -- and --- in XHTML like in LaTeX

For exports based on LaTeX, consecutive hyphens are only converted to endash
and emdash if the current font family is not typewriter, and if none of the
parent insets is an IPA inset. Now this is done for XHTML export as well.

9 years agoDo not show new "cropped" formats on export menu.
Richard Heck [Sun, 15 Feb 2015 03:56:33 +0000 (22:56 -0500)]
Do not show new "cropped" formats on export menu.

(cherry picked from commit 2fc44e96f536812a89adca789f6e7e87c4286f9e)

9 years agotext3.cpp: adapt a possible fix to current code
Uwe Stöhr [Sun, 15 Feb 2015 00:04:41 +0000 (01:04 +0100)]
text3.cpp: adapt a possible fix to current code

9 years agoFix missing symbols in math completer
Georg Baum [Sat, 14 Feb 2015 19:32:25 +0000 (20:32 +0100)]
Fix missing symbols in math completer

The math icons for the symbol image in the math completer were hardcoded to the
command names. This is wrong for some icons for various reasons, e.g. the case
insensitivity of windows file systems. Therefore we have to use the replacement
list which is also used for the toolbar icons. Bug #3538 is not closed because
of this problem, but IMHO it has nothing to do with this bug, it is a more
general one.

9 years agoUnify layout categories
Georg Baum [Sat, 14 Feb 2015 10:35:40 +0000 (11:35 +0100)]
Unify layout categories

9 years agoFix unused parameter warning
Georg Baum [Sat, 14 Feb 2015 10:32:39 +0000 (11:32 +0100)]
Fix unused parameter warning

9 years agoFix lyxrc formatting error
Georg Baum [Sat, 14 Feb 2015 09:29:00 +0000 (10:29 +0100)]
Fix lyxrc formatting error

Thanks to Jürgen for noticing this. I rearranged the formatting after testing,
so this slipped through.

9 years agoFix reversion of beamer description overlay args
Juergen Spitzmueller [Fri, 13 Feb 2015 16:45:38 +0000 (17:45 +0100)]
Fix reversion of beamer description overlay args

Candidate for branch.

9 years agoFix conversion of beamer block arguments where the overlay argument and the closing...
Juergen Spitzmueller [Fri, 13 Feb 2015 15:01:57 +0000 (16:01 +0100)]
Fix conversion of beamer block arguments where the overlay argument and the closing title argument bracket share the same ERT

Fixes: #9411
9 years agoFix conversion of frame ends when frame is nested in inset
Juergen Spitzmueller [Fri, 13 Feb 2015 09:15:29 +0000 (10:15 +0100)]
Fix conversion of frame ends when frame is nested in inset

Fixes: #9409
9 years agoFix bug in get_containing_inset and get_containing_layout
Juergen Spitzmueller [Fri, 13 Feb 2015 09:13:43 +0000 (10:13 +0100)]
Fix bug in get_containing_inset and get_containing_layout

We have to check if this is really a parent (or just the first inset/layout we have).

Candidate for branch.

9 years agoEmbeddedObjects.lyx; port recent changes to master
Uwe Stöhr [Fri, 13 Feb 2015 01:18:29 +0000 (02:18 +0100)]
EmbeddedObjects.lyx; port recent changes to master

9 years agode.po: Fix shortcut conflict
Juergen Spitzmueller [Thu, 12 Feb 2015 14:40:22 +0000 (15:40 +0100)]
de.po: Fix shortcut conflict

Fixes: #9406
9 years agoAdd low-res pdf export as suggested by James
Georg Baum [Wed, 11 Feb 2015 21:24:04 +0000 (22:24 +0100)]
Add low-res pdf export as suggested by James

As discussed on the list, but I did not need to create two new pdf formats
since any given document either uses TeX fonts or not. For the same reason
I also added an additional converter to PDF (cropped).

9 years agoconfigure.py: quote path to python
Uwe Stöhr [Tue, 10 Feb 2015 22:35:25 +0000 (23:35 +0100)]
configure.py: quote path to python

this fixes a path issue unveiled while inspecting bug #8478

9 years agoCREDITS: change "--userdir" to "-userdir"
Scott Kostyshak [Tue, 10 Feb 2015 16:58:37 +0000 (11:58 -0500)]
CREDITS: change "--userdir" to "-userdir"

9 years agoUpdate Lior's email address
Scott Kostyshak [Tue, 10 Feb 2015 16:57:35 +0000 (11:57 -0500)]
Update Lior's email address

9 years agoCorrect the spelling of "occured" to "occurred"
Scott Kostyshak [Mon, 9 Feb 2015 23:42:35 +0000 (18:42 -0500)]
Correct the spelling of "occured" to "occurred"

9 years agoFix bug #9383. Writing directly to the output stream bypassed the
Richard Heck [Mon, 9 Feb 2015 22:24:13 +0000 (17:24 -0500)]
Fix bug #9383. Writing directly to the output stream bypassed the
machinery that clears the tag stack.

9 years agoDo not modify the changed() status of rows when no drawing has taken place
Jean-Marc Lasgouttes [Fri, 30 Jan 2015 10:18:04 +0000 (11:18 +0100)]
Do not modify the changed() status of rows when no drawing has taken place

There are several places in the code where a row is painted with drawing disabled in the painter. The goal is only to recompute inset positions.

Such a case happens in BufferView::checkCursorScrollOffset, as part of the horizontal scrolling patch. Note that this particular piece of code should eventually be removed, since it is a performance problem.

It makes sense to consider that only a real painting of a row should change its status. However, I would not be surprised if this change would break other things.

Fixes: #9388
9 years ago* sk.po
Kornel Benko [Mon, 9 Feb 2015 09:37:54 +0000 (10:37 +0100)]
* sk.po

9 years agoWin installer: correct a sorting
Uwe Stöhr [Mon, 9 Feb 2015 00:16:47 +0000 (01:16 +0100)]
Win installer: correct a sorting

9 years agoRevert "Do not modify the changed() status of rows when no drawing has taken place"
Scott Kostyshak [Sun, 8 Feb 2015 21:39:06 +0000 (16:39 -0500)]
Revert "Do not modify the changed() status of rows when no drawing has taken place"

This reverts commit c6f8f51525f711fdb85b4ef3d41cb6ee391bb919.

I accidentally committed this patch, which I am testing as
a fix to 9388.

9 years agoAdd a "Development policies" section to dev manual
Scott Kostyshak [Sun, 8 Feb 2015 21:29:20 +0000 (16:29 -0500)]
Add a "Development policies" section to dev manual

Writing these policies down makes it easier for newcommers to
understand guidelines and the intuition behind them.

The two policies this commit adds were responses by Georg and Richard
to two threads on the mailing list. The policies are titled
"When to set a fixed milestone" and
"Can we add rc entries in stable branch?".

9 years agoTypo
Scott Kostyshak [Sun, 8 Feb 2015 21:18:29 +0000 (16:18 -0500)]
Typo

9 years agoDo not modify the changed() status of rows when no drawing has taken place
Jean-Marc Lasgouttes [Fri, 30 Jan 2015 10:18:04 +0000 (11:18 +0100)]
Do not modify the changed() status of rows when no drawing has taken place

There are several places in the code where a row is painted with drawing disabled in the painter. The goal is only to recompute inset positions.

Such a case happens in BufferView::checkCursorScrollOffset, as part of the horizontal scrolling patch.

It makes sens to consider that only a real painting of a row should change its status. However, I would not be surprised if this change would break other things.

Fixes: #9388
9 years agoAdd UI translation for "middle mouse button pasting" tool tip
Stephan Witt [Sun, 8 Feb 2015 19:20:10 +0000 (20:20 +0100)]
Add UI translation for "middle mouse button pasting" tool tip

9 years agoDisable mouse middle button paste on Mac OS X per default
Stephan Witt [Sun, 8 Feb 2015 19:08:29 +0000 (20:08 +0100)]
Disable mouse middle button paste on Mac OS X per default
Add UI translation for german

9 years agoAdd pref option to disable middle-mouse-button paste
Juergen Spitzmueller [Sun, 8 Feb 2015 16:41:28 +0000 (17:41 +0100)]
Add pref option to disable middle-mouse-button paste

Fixes: #9399
9 years agoActually add the Beamer template.
Richard Heck [Sun, 8 Feb 2015 14:19:47 +0000 (09:19 -0500)]
Actually add the Beamer template.

9 years agoAdd new Japanese beamer template from stable.
Richard Heck [Sat, 7 Feb 2015 15:47:28 +0000 (10:47 -0500)]
Add new Japanese beamer template from stable.

9 years agoFix tex2lyx parsing of consecutive hyphens
Georg Baum [Sun, 1 Feb 2015 13:03:58 +0000 (14:03 +0100)]
Fix tex2lyx parsing of consecutive hyphens

tex2lyx was already behaving as if bug #3647 was fixed, but currently -- and
--- have the same special meaning in LyX as in LaTeX.

9 years agoFix tex2lyx tests for 23e8db3e5
Georg Baum [Sun, 1 Feb 2015 12:12:45 +0000 (13:12 +0100)]
Fix tex2lyx tests for 23e8db3e5

The textcyr test did not work anymore, since the output of
"CYRILLIC SMALL LETTER VE" changed from \textcyr{\char226} to \textcyr{\cyrv}.
The the old version is now converted to ERT. In theory it could also be
converted to "CYRILLIC SMALL LETTER VE", but this would mean to maintain an
extra list, which is not worth the effort.

9 years agoOops
Georg Baum [Sun, 1 Feb 2015 11:49:41 +0000 (12:49 +0100)]
Oops

9 years agoImprove InsetSpace docbook export
Georg Baum [Sun, 1 Feb 2015 11:39:53 +0000 (12:39 +0100)]
Improve InsetSpace docbook export

The removed link does not exist anymore. The character entities were taken
from http://www.sagehill.net/docbookxsl/SpecialChars.html.

9 years agoFix --with-extra-inc and --with-extra-prefix.
Jean-Marc [Tue, 27 Jan 2015 22:07:54 +0000 (23:07 +0100)]
Fix --with-extra-inc and --with-extra-prefix.

From Enrico.

9 years agoFix bug #9392: Matrix widget keyboard navigation broken
Enrico Forestieri [Tue, 27 Jan 2015 21:59:33 +0000 (22:59 +0100)]
Fix bug #9392: Matrix widget keyboard navigation broken

9 years agoBabel supports ancient Greek
Juergen Spitzmueller [Sun, 25 Jan 2015 09:00:00 +0000 (10:00 +0100)]
Babel supports ancient Greek

9 years agoFixes and additions to the textcyr macros in unicodesymbols
Juergen Spitzmueller [Sat, 24 Jan 2015 16:29:41 +0000 (17:29 +0100)]
Fixes and additions to the textcyr macros in unicodesymbols

Patch by Guenter Milde.

See #8600.

9 years agoAdd proper font encoding to Russian and Ukrainian
Juergen Spitzmueller [Sat, 24 Jan 2015 15:25:21 +0000 (16:25 +0100)]
Add proper font encoding to Russian and Ukrainian

9 years agoFix output encoding information for non-TeX fonts XeTeX/LuaTeX on preview pane
Juergen Spitzmueller [Sat, 24 Jan 2015 14:53:28 +0000 (15:53 +0100)]
Fix output encoding information for non-TeX fonts XeTeX/LuaTeX on preview pane

Fixes: #8919
9 years agoMove font encoding information to languages.
Juergen Spitzmueller [Sat, 24 Jan 2015 13:02:16 +0000 (14:02 +0100)]
Move font encoding information to languages.

9 years agosk.po update
Kornel Benko [Fri, 23 Jan 2015 16:52:17 +0000 (17:52 +0100)]
sk.po update

9 years agoaastex: fix optional argument of a command
Uwe Stöhr [Thu, 22 Jan 2015 23:23:37 +0000 (00:23 +0100)]
aastex: fix optional argument of a command

- aastex.layout: fix name and hint of \figcaption
- aastex.lyx: improved template file

9 years agoImplement new recordUndoBufferParams method.
Jean-Marc Lasgouttes [Sat, 17 Jan 2015 19:38:22 +0000 (20:38 +0100)]
Implement new recordUndoBufferParams method.

Rename recordUndoFullDocument to recordUndoFullBuffer.

Separate the notion of recording changes to paragraphs and recording changes in buffer parameters.

Audit every user of recordUndoFullDocument and replace it with either recordUndoBufferParams or recordUndoFullBuffer. Add comments to identify remaining work.

9 years agoAdded inset-select-all to emacs bindings
Kornel Benko [Thu, 22 Jan 2015 09:34:02 +0000 (10:34 +0100)]
Added inset-select-all to emacs bindings

In emacs this shortcut means: Make region contain the current paragraph

9 years agoRemove an item in RELEASE-NOTES that is in 2.1.3
Scott Kostyshak [Thu, 22 Jan 2015 03:09:57 +0000 (22:09 -0500)]
Remove an item in RELEASE-NOTES that is in 2.1.3

We put the binding change of C-a in 2.1.x so it is not
new in 2.2.

9 years agoParagraphUi.ui: update file to QT's xml format
Uwe Stöhr [Thu, 22 Jan 2015 00:07:40 +0000 (01:07 +0100)]
ParagraphUi.ui: update file to QT's xml format

9 years agoSolve the "soft-hyphen" (0x00ad) symbol problem.
Enrico Forestieri [Wed, 21 Jan 2015 12:57:55 +0000 (13:57 +0100)]
Solve the "soft-hyphen" (0x00ad) symbol problem.

After the str-metrics merge, the kludge for displaying symbols whose
code point corresponds to a soft-hyphen was not working anymore.
The solution is replicating the offending glyphs with index 0x00ad
at a different index. They were replicated at 0x00ac, whose glyph
was missing in all affected fonts.

However, this would not work by alone because, if a system font with
same family name exists, it would be picked up instead of the right one
(at least on non-Windows platforms). For this reason, the style of the
fonts has been changed from "Regular" to "Lyx", so that we can discriminate
the right font. However, this requires using at least Qt 4.8. If an
older Qt is used *and* a system font with same family name is already
available, the affected glyphs will all turn out on screen as the
"logical not" symbol.

I have also set the executable flag on the font files, because on Windows
they are loaded only in this case.

This solves #9229.

9 years agoTypo
Scott Kostyshak [Wed, 21 Jan 2015 03:08:00 +0000 (22:08 -0500)]
Typo

9 years agoFix pasting insets into math (bug #9302)
Georg Baum [Mon, 19 Jan 2015 20:37:01 +0000 (21:37 +0100)]
Fix pasting insets into math (bug #9302)

The problem was that the conversion to plain text (which is used as an
intermediate step) requires for some insets a valid buffer pointer, but
insets in the cut stack do not have one. Now we use the same temp buffer
business as for copying to the external clipboard.

9 years agoRemove unused declaration
Georg Baum [Wed, 14 Jan 2015 20:44:28 +0000 (21:44 +0100)]
Remove unused declaration

9 years agoSquash warnings reported by gcc 4.9
Jean-Marc Lasgouttes [Wed, 14 Jan 2015 10:49:05 +0000 (11:49 +0100)]
Squash warnings reported by gcc 4.9

Most of these are just about conversion from double to int.

Of note also the replacement of an horrible reinterpret_cast by a proper solution.

9 years agoConsoleApplication: Fix typos
Vincent van Ravesteijn [Tue, 13 Jan 2015 20:59:39 +0000 (21:59 +0100)]
ConsoleApplication: Fix typos

9 years agocmake: Put check_ExternalTransforms in tests folder
Vincent van Ravesteijn [Wed, 7 Jan 2015 20:13:50 +0000 (21:13 +0100)]
cmake: Put check_ExternalTransforms in tests folder

9 years agoAdjust indentation after ff42fea8.
Enrico Forestieri [Tue, 13 Jan 2015 17:05:31 +0000 (18:05 +0100)]
Adjust indentation after ff42fea8.

9 years agoMore tweaks to C++ compiler detection
Jean-Marc Lasgouttes [Tue, 13 Jan 2015 14:59:30 +0000 (15:59 +0100)]
More tweaks to C++ compiler detection

Now CXXFLAGS is left alone by autoconf: only the user can override it.

Properly set -g and -O options, which were overriden.

Try to put the arguments in a more reasonable ordering.

9 years agoFixup commit ff42fe
Jean-Marc Lasgouttes [Tue, 13 Jan 2015 11:38:55 +0000 (12:38 +0100)]
Fixup commit ff42fe

It looks like bash pattern matching does not work as I think it does. Play safe for now.

9 years agoCleanup autoconf compiler support
Jean-Marc Lasgouttes [Tue, 13 Jan 2015 10:48:07 +0000 (11:48 +0100)]
Cleanup autoconf compiler support

Get rid of some old useless compiler checking code

Do not touch CXXFLAGS and friends, only the AM_* version

Let the gcc-related options for latest known version be the default (assume they will still be fine in future versions)

Try to take clang in account in a better way (to be continued):
 * use proper option for C++11,
 * use -Wno-deprecated-register in this case because Qt has a lot of these
 * define version as being clang for internal testing (there is no real way to get the clang version)