]> git.lyx.org Git - features.git/log
features.git
9 years agoProperly escape backslash in string
Juergen Spitzmueller [Mon, 16 Mar 2015 13:28:16 +0000 (14:28 +0100)]
Properly escape backslash in string

9 years agoInsetPhantom::latex(): use a switch
Juergen Spitzmueller [Mon, 16 Mar 2015 13:22:03 +0000 (14:22 +0100)]
InsetPhantom::latex(): use a switch

9 years agoWhitespace
Juergen Spitzmueller [Mon, 16 Mar 2015 13:15:05 +0000 (14:15 +0100)]
Whitespace

Time to properly set up QtCreator...

9 years agoPhantom is fragile (#9456)
Juergen Spitzmueller [Mon, 16 Mar 2015 13:11:45 +0000 (14:11 +0100)]
Phantom is fragile (#9456)

9 years agoupdate sk.po
Kornel Benko [Mon, 16 Mar 2015 11:30:08 +0000 (12:30 +0100)]
update sk.po

9 years agoUse German localization in German europass example
Juergen Spitzmueller [Mon, 16 Mar 2015 10:23:24 +0000 (11:23 +0100)]
Use German localization in German europass example

9 years agode.po
Juergen Spitzmueller [Mon, 16 Mar 2015 10:12:55 +0000 (11:12 +0100)]
de.po

9 years agoRefine fix for #9453
Enrico Forestieri [Mon, 16 Mar 2015 09:50:02 +0000 (10:50 +0100)]
Refine fix for #9453

It is better to introduce a dummy blank dir in TEXINPUTS rather than
appending a blank at the end. Even if I have checked that this is not
a problem with MikTeX, some other engine (maybe texlive, but I cannot
check) could not ignore this space and take it as the name of a dir.
In this case, TEXINPUTS would not end with an empty element and the
standard search path would not be inserted there.

9 years agoAdd Stefan Swerk to the Credits
Juergen Spitzmueller [Mon, 16 Mar 2015 09:54:02 +0000 (10:54 +0100)]
Add Stefan Swerk to the Credits

9 years agoAdd support for the europasscv class
Juergen Spitzmueller [Mon, 16 Mar 2015 09:47:17 +0000 (10:47 +0100)]
Add support for the europasscv class

Patch by Stefan Swerk

9 years agoFix bug #9453
Enrico Forestieri [Sun, 15 Mar 2015 23:34:35 +0000 (00:34 +0100)]
Fix bug #9453

This was due to a problem with the QProcess parser.
See #9453 for details.

9 years agomake build: Make it compilable for Qt4 too.
Kornel Benko [Sun, 15 Mar 2015 19:12:55 +0000 (20:12 +0100)]
make build: Make it compilable for Qt4 too.

9 years agoDocument the drawing of logos
Jean-Marc [Sun, 15 Mar 2015 17:21:01 +0000 (18:21 +0100)]
Document the drawing of logos

Also fix a couple of spacings.

9 years agoImprove code readability
Georg Baum [Sun, 15 Mar 2015 12:57:45 +0000 (13:57 +0100)]
Improve code readability

Using a small helper struct instead of a std::pair makes things like
it->second.first a little less confusing: it->second.scope.

9 years agoAdd missing check
Georg Baum [Sun, 15 Mar 2015 12:56:48 +0000 (13:56 +0100)]
Add missing check

The other insert method has this as well, and it is indeed a problem is pos
points outside the vector.

9 years agoUse QLocale::toDouble instead of QString::toDouble in the length validator
Juergen Spitzmueller [Sun, 15 Mar 2015 10:48:36 +0000 (11:48 +0100)]
Use QLocale::toDouble instead of QString::toDouble in the length validator

Fixes: #9214
9 years agoSet the logic straight
Juergen Spitzmueller [Sun, 15 Mar 2015 09:38:37 +0000 (10:38 +0100)]
Set the logic straight

9 years agoAllow to disable inputenc loading via 'Provides inputenc 1'
Juergen Spitzmueller [Sun, 15 Mar 2015 09:29:07 +0000 (10:29 +0100)]
Allow to disable inputenc loading via 'Provides inputenc 1'

9 years agoBetter oxygen citation icon
Juergen Spitzmueller [Sun, 15 Mar 2015 08:12:17 +0000 (09:12 +0100)]
Better oxygen citation icon

9 years agoOxygen svg: transform more text to paths
Juergen Spitzmueller [Sun, 15 Mar 2015 08:02:56 +0000 (09:02 +0100)]
Oxygen svg: transform more text to paths

9 years agoInstall the svg icons.
Enrico Forestieri [Sun, 15 Mar 2015 01:52:29 +0000 (02:52 +0100)]
Install the svg icons.

9 years agoAdd last missing svg icons.
Enrico Forestieri [Sun, 15 Mar 2015 01:48:31 +0000 (02:48 +0100)]
Add last missing svg icons.

Also correctly rename an oxygen icon.

9 years agoBetter oxygen nomencl icon
Juergen Spitzmueller [Sat, 14 Mar 2015 16:36:54 +0000 (17:36 +0100)]
Better oxygen nomencl icon

9 years agoImprove display of the logos.
Jean-Marc Lasgouttes [Fri, 13 Mar 2015 11:05:15 +0000 (12:05 +0100)]
Improve display of the logos.

This look now more like the real logos. Moreover, we use not the normal font color because Color_special is a bit too flashy.

9 years agoFix the oxygen math svg icon issues pointed out by Enrico
Juergen Spitzmueller [Sat, 14 Mar 2015 15:21:10 +0000 (16:21 +0100)]
Fix the oxygen math svg icon issues pointed out by Enrico

9 years agoCmake build: Remove deleted svg subdir from installation.
Kornel Benko [Sat, 14 Mar 2015 15:15:35 +0000 (16:15 +0100)]
Cmake build: Remove deleted svg subdir from installation.

Also added missing images/math/oxygem icons to installation.

9 years agoRestore some inadvertently overwritten oxygen icons.
Enrico Forestieri [Sat, 14 Mar 2015 14:42:38 +0000 (15:42 +0100)]
Restore some inadvertently overwritten oxygen icons.

I did not notice that all icons in math/ are shared and in a0895046 I have
overwritten some of them. I am restoring them in the proper subdir.
Two of them, namely font.svgz and frac.svgz, give warnings that should
be addressed. Anyway, I see that these icons use fonts. They are better
substitued with paths (a menu entry in inkscape) because if the fonts
are missing on a system, the icons look different and, in general, they
may look ugly.

9 years agoA simplistic svg banner
Juergen Spitzmueller [Sat, 14 Mar 2015 14:35:33 +0000 (15:35 +0100)]
A simplistic svg banner

This is just a proof of concept. We should find somebody who can re-draw our banner (or a new one) with inkscape.

9 years agode.po
Juergen Spitzmueller [Sat, 14 Mar 2015 12:20:18 +0000 (13:20 +0100)]
de.po

9 years agoupdate sk.po
Kornel Benko [Sat, 14 Mar 2015 12:04:01 +0000 (13:04 +0100)]
update sk.po

9 years agoFurther oxygen svg fixes
Juergen Spitzmueller [Sat, 14 Mar 2015 11:18:59 +0000 (12:18 +0100)]
Further oxygen svg fixes

9 years agoSquash last icon warnings and improve rendering at default size.
Enrico Forestieri [Sat, 14 Mar 2015 07:43:58 +0000 (08:43 +0100)]
Squash last icon warnings and improve rendering at default size.

9 years agoSome more oxygen svg icon fixes
Juergen Spitzmueller [Fri, 13 Mar 2015 21:26:08 +0000 (22:26 +0100)]
Some more oxygen svg icon fixes

With this, all console errors when loading the oxygen set should be resolved

9 years agoFix rendering issue in oxygen tabular-feature_delete-column icon
Juergen Spitzmueller [Fri, 13 Mar 2015 19:23:16 +0000 (20:23 +0100)]
Fix rendering issue in oxygen tabular-feature_delete-column icon

9 years agoFix rendering issue in oxygen promote icon
Juergen Spitzmueller [Fri, 13 Mar 2015 18:40:09 +0000 (19:40 +0100)]
Fix rendering issue in oxygen promote icon

9 years agoChanged ti utf-8 encoding, otherwise python3 chokes on undecodable 0xfc character
Kornel Benko [Fri, 13 Mar 2015 18:19:06 +0000 (19:19 +0100)]
Changed ti utf-8 encoding, otherwise python3 chokes on undecodable 0xfc character

9 years agoFix rendering issue in oxygen xref icon
Juergen Spitzmueller [Fri, 13 Mar 2015 18:04:12 +0000 (19:04 +0100)]
Fix rendering issue in oxygen xref icon

9 years agoFix rendering glitch in oxygen thesaurus svg icon
Juergen Spitzmueller [Fri, 13 Mar 2015 17:39:55 +0000 (18:39 +0100)]
Fix rendering glitch in oxygen thesaurus svg icon

9 years agoFix stmaryrd operators with limits (bug 9458)
Georg Baum [Fri, 13 Mar 2015 17:34:39 +0000 (18:34 +0100)]
Fix stmaryrd operators with limits (bug 9458)

LyX did not display the limits of the big math operators defined by
stmaryrd.sty correctly. The reason for this was a missing check in
InsetMathSymbol::metrics(), where it is hardcoded which symbols use display
style limits and which symbols use inline limits. In an ideal world this
information would be contained explicitly in lib/symbols.

This should go to branch as well.

9 years agoMake sure that a generated temporary filename doesn't end with a dot.
Enrico Forestieri [Fri, 13 Mar 2015 17:12:08 +0000 (18:12 +0100)]
Make sure that a generated temporary filename doesn't end with a dot.

This may happen if the extension is empty, and a filename ending with
a dot may give troubles on Windows.

9 years agoMake sure an unzipped file has correct extension.
Enrico Forestieri [Fri, 13 Mar 2015 16:24:09 +0000 (17:24 +0100)]
Make sure an unzipped file has correct extension.

If a mask is missing, the TempFile class appends it to the filename.
This may be a problem with applications relying on the extension,
so explicitly add a mask.

9 years agoCmake build: QtGui now needed also for filetools.cpp
Kornel Benko [Fri, 13 Mar 2015 13:22:12 +0000 (14:22 +0100)]
Cmake build: QtGui now needed also for filetools.cpp

9 years agoMove svg icons to proper place.
Enrico Forestieri [Fri, 13 Mar 2015 00:29:37 +0000 (01:29 +0100)]
Move svg icons to proper place.

You have to manually delete the lib/images/svg directory as git
tracks only files.

There may be warnings on the terminal due to some faulty icons that have
to be found and corrected. Moreover, some of the icons are not rendered
too well at the default size. These ones should be properly tweaked.
Kudos to Jürgen for putting together such a large number of icons.

9 years agoPrefer svg icons.
Enrico Forestieri [Thu, 12 Mar 2015 23:47:21 +0000 (00:47 +0100)]
Prefer svg icons.

If a compressed svg icon is present, load it instead of a png one.
Also introduce two more sizes (huge and giant icons) that should be
useful when using hires displays, as svg icons automatically scale
to the desired size without loss of quality.

9 years agoUse the nominal theme's icon size for displaying the icon in an info inset.
Enrico Forestieri [Thu, 12 Mar 2015 23:38:05 +0000 (00:38 +0100)]
Use the nominal theme's icon size for displaying the icon in an info inset.

9 years agoProperly name an uncompressed sgvz file.
Enrico Forestieri [Thu, 12 Mar 2015 23:34:53 +0000 (00:34 +0100)]
Properly name an uncompressed sgvz file.

Some tools may rely on the extension and do not actually check whether
a svg file is compressed or not.

9 years agoMake sure a temporary file is always created in the global temporary dir.
Enrico Forestieri [Thu, 12 Mar 2015 23:31:08 +0000 (00:31 +0100)]
Make sure a temporary file is always created in the global temporary dir.

9 years agoFix tex2lyx script output
Georg Baum [Wed, 11 Mar 2015 21:20:44 +0000 (22:20 +0100)]
Fix tex2lyx script output

tex2lyx did not use the InsetLayout for the script insets, so it did not know
that it had to use Plain Layout. However, there is still a possible pitfall:
InsetScript uses a hard coded plain layout for the InsetText constructor, so
if anybody would remove ForcePlain 1 and MultiPar false from the InsetLayout
then LyX would still write script insets with plain layout, but tex2lyx would
output standard layout again.

9 years agowhitespace
Georg Baum [Wed, 11 Mar 2015 21:03:29 +0000 (22:03 +0100)]
whitespace

9 years agoUpdate tex2lyx test references
Georg Baum [Wed, 11 Mar 2015 20:00:53 +0000 (21:00 +0100)]
Update tex2lyx test references

tex2lyx outputs the correct layout ("Plain Layout") for captions since
9d824a04d11. Previously, it did output  "Standard", which was wrong.

9 years agoPreparation to support translations with python3
Kornel Benko [Wed, 11 Mar 2015 19:54:28 +0000 (20:54 +0100)]
Preparation to support translations with python3

Thanks to José.

9 years agoAvoid crash with after a params undo.
Jean-Marc Lasgouttes [Wed, 11 Mar 2015 15:55:51 +0000 (16:55 +0100)]
Avoid crash with after a params undo.

When doing a non-atomic undo, one should not try to merge with a previous params undo.

This fixes bug #7740.

9 years agoFirst step to make po python files to support both python 2 and python 3 (3.3+)
José Matos [Wed, 11 Mar 2015 13:41:10 +0000 (13:41 +0000)]
First step to make po python files to support both python 2 and python 3 (3.3+)

Most of the changes are related with dictionaries returning iterators instead of
    lists. (Iterators and not views as I wrote in the previous commit message)

    xrange -> range (since xrange is gone in python 3)

9 years agoFirst step to make lyx2lyx code support both python 2 and python 3 (3.3+)
José Matos [Wed, 11 Mar 2015 12:04:46 +0000 (12:04 +0000)]
First step to make lyx2lyx code support both python 2 and python 3 (3.3+)

Most of the changes are related with dictionaries returning views instead of
lists.

xrange -> range (since xrange is gone in python 3)

The code that is special to support both python 2 and 3 is enclosed in a comment
 \# Provide support for both python 2 and 3
and
 \# End of code to support for both python 2 and 3

And so later it can be removed safely when python 2 is no longer supported.

9 years agoctests: revert a MultilingualCaptions XeTeX test
Scott Kostyshak [Wed, 11 Mar 2015 03:35:49 +0000 (23:35 -0400)]
ctests: revert a MultilingualCaptions XeTeX test

This file and format exports correctly since 5753760b.

9 years agoRemove unsupported macros from autocompletion
Georg Baum [Tue, 10 Mar 2015 19:53:56 +0000 (20:53 +0100)]
Remove unsupported macros from autocompletion

We have some math macros that exist only because LyX can display them easily,
but which require user preamble code. These commands should not appear in
autocompletion, they are only there to make the formulas of users who actually
need thgese symbols and know what to put into the preamble more beautiful.

9 years agoFix generation of lyx_commit_hash.h
Jean-Marc Lasgouttes [Tue, 10 Mar 2015 18:11:48 +0000 (19:11 +0100)]
Fix generation of lyx_commit_hash.h

Now version.o is not recompiled on already built tree.

9 years agoProperly define MultiPar status of caption in the layout definition.
Juergen Spitzmueller [Tue, 10 Mar 2015 17:31:55 +0000 (18:31 +0100)]
Properly define MultiPar status of caption in the layout definition.

Also remove hardcoded paragraph break disabling.

Candidate for branch.

9 years agoCmake preparation to support python3
Kornel Benko [Tue, 10 Mar 2015 16:29:58 +0000 (17:29 +0100)]
Cmake preparation to support python3

9 years agoTake in account the parent's getStatus in macro templates
Jean-Marc Lasgouttes [Tue, 10 Mar 2015 15:05:22 +0000 (16:05 +0100)]
Take in account the parent's getStatus in macro templates

This avoids invoking the insert space dialog instead of the math version. Thereafter, spaces are correctly inserted inside macro templates.

This is the last part of the fix to #9432.

9 years agoDo not sanitize the anchor of cursor when selection is not set
Jean-Marc Lasgouttes [Tue, 10 Mar 2015 14:53:25 +0000 (15:53 +0100)]
Do not sanitize the anchor of cursor when selection is not set

Additionally, move the code to write to a stream from Cursor to CursorData (so that debugging undo is easier). We loose x_target, but I am not sure it is important.

This is the second part of bug #9432.

9 years agoCheck that DocIterator::sanitize only adds editable insets
Jean-Marc Lasgouttes [Mon, 9 Mar 2015 10:14:26 +0000 (11:14 +0100)]
Check that DocIterator::sanitize only adds editable insets

This fixes the crash on ticket #9432, but the bug there has other causes.

9 years agoFirst step to support python 2(.7) and 3(.3+)
José Matos [Tue, 10 Mar 2015 13:55:59 +0000 (13:55 +0000)]
First step to support python 2(.7) and 3(.3+)

When the work is finished the moniker "work in progress" should be removed.

9 years agoForgotten in previous commit
Kornel Benko [Mon, 9 Mar 2015 09:38:07 +0000 (10:38 +0100)]
Forgotten in previous commit

This is not needed bacause the command 'grep' is not
so language sensitive as pcregrep. It's only for the sake of consistence

9 years agoRemove the need of specific language packs for keytests
Kornel Benko [Mon, 9 Mar 2015 08:41:34 +0000 (09:41 +0100)]
Remove the need of specific language packs for keytests

The command pcregrep failed trying to set locales to
not installed language pack.

9 years agoReduce size of some svg icons.
Enrico Forestieri [Mon, 9 Mar 2015 01:38:12 +0000 (02:38 +0100)]
Reduce size of some svg icons.

The svg files produced by vector editors may end up containing a lot
of unused elements that increase their size without any impact on
quality. For example, this occurs when copy/pasting between images
such that unused effects or shadings simply clutter the files.
Removing these elements in some cases may reduce the size to one half
or one third of the original one, leaving unmodified the image quality.

9 years agoAdd another bunch of svg icons.
Enrico Forestieri [Sun, 8 Mar 2015 19:25:40 +0000 (20:25 +0100)]
Add another bunch of svg icons.

Also tweaked some existing icons for better rendering at default size.

9 years agopdfcomment.module: fix dependencies
Uwe Stöhr [Sat, 7 Mar 2015 23:41:08 +0000 (03:41 +0400)]
pdfcomment.module: fix dependencies

9 years agoMultilingualCaptions.lyx: port recent changes to master
Uwe Stöhr [Sat, 7 Mar 2015 23:39:54 +0000 (03:39 +0400)]
MultilingualCaptions.lyx: port recent changes to master

9 years agoFrench MultilingualCaptions.lyx: this time really the french version
Uwe Stöhr [Sat, 7 Mar 2015 09:16:35 +0000 (13:16 +0400)]
French MultilingualCaptions.lyx: this time really the french version

9 years agoSome code factorization for the Change template
Jean-Marc Lasgouttes [Thu, 5 Mar 2015 15:30:22 +0000 (16:30 +0100)]
Some code factorization for the Change template

The original motivation is to initialize the change_ member but do it only once.

This fixes coverity issue 23432.

9 years agoRemove variable properly now
Jean-Marc Lasgouttes [Thu, 5 Mar 2015 11:48:01 +0000 (12:48 +0100)]
Remove variable properly now

This is a follow-up to db1979f39871.

9 years agoReset stream properties after changing them
Jean-Marc Lasgouttes [Thu, 5 Mar 2015 11:44:02 +0000 (12:44 +0100)]
Reset stream properties after changing them

Fixes coverity issue 23468.

9 years agoRemove unused member.
Jean-Marc Lasgouttes [Thu, 5 Mar 2015 11:30:12 +0000 (12:30 +0100)]
Remove unused member.

Fixes coverity issue 23413.

9 years agoFix uninitialized member in Lexer constructor
Jean-Marc Lasgouttes [Thu, 5 Mar 2015 11:24:47 +0000 (12:24 +0100)]
Fix uninitialized member in Lexer constructor

Fixes coverity issue 23501.

9 years agoFix uninitialized members in Language constructor
Jean-Marc Lasgouttes [Thu, 5 Mar 2015 11:17:52 +0000 (12:17 +0100)]
Fix uninitialized members in Language constructor

Fixes coverity issue 23412.

9 years agoFix uninitialized member in LaTexFont constructor
Jean-Marc [Wed, 4 Mar 2015 22:21:34 +0000 (23:21 +0100)]
Fix uninitialized member in LaTexFont constructor

Fixes coverity issue 23382

9 years agoFix uninitialized member in Floating constructor
Jean-Marc [Wed, 4 Mar 2015 22:13:06 +0000 (23:13 +0100)]
Fix uninitialized member in Floating constructor

Fixes coverity issue 23402.

9 years agoFix uninitialized members in Cursor and CursorData constructors
Jean-Marc [Wed, 4 Mar 2015 22:00:07 +0000 (23:00 +0100)]
Fix uninitialized members in Cursor and CursorData constructors

Fix coverity issues 23401, 23407, 23416 and 23429.

9 years agoFix unitialized members in CacheItem
Jean-Marc [Wed, 4 Mar 2015 21:50:37 +0000 (22:50 +0100)]
Fix unitialized members in CacheItem

Fixes coverity issue 23380.

9 years agoAdd test for null buffer
Jean-Marc [Wed, 4 Mar 2015 21:46:48 +0000 (22:46 +0100)]
Add test for null buffer

This is actually not needed in practice.

Fixes coverity issue 23306.

9 years agoFix uninitialized members in Compare::Impl
Jean-Marc [Wed, 4 Mar 2015 21:35:40 +0000 (22:35 +0100)]
Fix uninitialized members in Compare::Impl

Fixes coverity issue 23418.

9 years agoPass parameters by reference (performance)
Jean-Marc [Wed, 4 Mar 2015 21:22:18 +0000 (22:22 +0100)]
Pass parameters by reference (performance)

Fixes coverity issues 23339 and 23347.

Some additional spacing changes sneaked in.

9 years agoFix unintialized member of BufferView::Private
Jean-Marc [Wed, 4 Mar 2015 21:17:51 +0000 (22:17 +0100)]
Fix unintialized member of BufferView::Private

Fixes coverity issue 23404.

9 years agoFix missing break in switch
Jean-Marc [Wed, 4 Mar 2015 21:13:20 +0000 (22:13 +0100)]
Fix missing break in switch

Fixes coverity issue 23350.

9 years agoRemove unused variable BufferParams::quotes_times
Jean-Marc Lasgouttes [Wed, 4 Mar 2015 17:19:30 +0000 (18:19 +0100)]
Remove unused variable BufferParams::quotes_times

This was pointed out inadvertently by coverity issue 23484: the
variable was not properly initialized.

9 years agoInitialize Buffer::Impl members correctly
Jean-Marc Lasgouttes [Wed, 4 Mar 2015 16:56:07 +0000 (17:56 +0100)]
Initialize Buffer::Impl members correctly

In practice the variables were initialized later as needed.

Fixes coverity issue 23497.

9 years agoInitialize object properly
Jean-Marc Lasgouttes [Wed, 4 Mar 2015 16:47:56 +0000 (17:47 +0100)]
Initialize object properly

Fixes coverity issue 23363

9 years agoUpdate cygwin script.
Enrico Forestieri [Tue, 3 Mar 2015 17:17:37 +0000 (18:17 +0100)]
Update cygwin script.

Recent versions of the cygwin X11 server come with a startup script
that explicitly uses '-nolisten tcp' for improved security. This means
that mentioning a host part in the DISPLAY variable precludes correct
operation. So, leave blank the host part such that only local connections
are attempted. Even if a user can override this setting in the own
~/.lyxprofile, novice users (and even experienced ones, at first) would be
probably confused by the "Error: Can't open display: localhost:0" message
and thus it is better to make this work out of the box.

9 years agoAdd another bunch of missing svg icons.
Enrico Forestieri [Tue, 3 Mar 2015 14:43:10 +0000 (15:43 +0100)]
Add another bunch of missing svg icons.

I also tweaked some existing icons to make them look better at default size.
Moreover, some text was replaced with paths, because the required font may
not exist on a system and font substitution would take place, making the
icons look different on different systems.

9 years agoAllow automake 1.15.
Jean-Marc Lasgouttes [Tue, 3 Mar 2015 09:59:11 +0000 (10:59 +0100)]
Allow automake 1.15.

9 years agoFix stupid copy-paste error
Georg Baum [Mon, 2 Mar 2015 19:57:26 +0000 (20:57 +0100)]
Fix stupid copy-paste error

Now the conversion to 2.1.x works again

9 years agoupdate sk.po
Kornel Benko [Mon, 2 Mar 2015 18:35:39 +0000 (19:35 +0100)]
update sk.po

9 years agoFix lyx2lyx conversion for file insets
Georg Baum [Sun, 1 Mar 2015 21:16:45 +0000 (22:16 +0100)]
Fix lyx2lyx conversion for file insets

Both the hyphen and special phrase conversion did not exclude insets which
reference external files. This was wrong since LyX does not replace
\SpecialCharNoPassThru etc for these insets.

9 years agoRecord undo properly when changing multiple paragraphs parameters
Jean-Marc Lasgouttes [Sun, 1 Mar 2015 15:25:19 +0000 (16:25 +0100)]
Record undo properly when changing multiple paragraphs parameters

Fixes bug 9437.

9 years agoFix cursor position before a virtual element
Jean-Marc Lasgouttes [Sat, 28 Feb 2015 23:23:07 +0000 (00:23 +0100)]
Fix cursor position before a virtual element

When there is a virtual element like an end-of-paragraph marker, the cursor should be on the left (in RTL text).

This problem was created by 46ee6799.

9 years agoReplace automatic logofication with insets
Georg Baum [Sun, 1 Mar 2015 10:16:57 +0000 (11:16 +0100)]
Replace automatic logofication with insets

Previously, LyX did replace some words with typeset logos, and there was no
way to prvent this except putting them, in ERT (bug #4752). Now we have
special insets for these words, and standard text is left alone.

9 years agoFix wrong CommandInset lyx2lyx conversion
Georg Baum [Sun, 1 Mar 2015 09:52:13 +0000 (10:52 +0100)]
Fix wrong CommandInset lyx2lyx conversion

Thanks to Scott for testing. Command insets do not use InsetText for the
arguments, so users have to write them in LaTeX syntax (this is bug #4595).
Therefore we must leave hyphens alone in these insets.

9 years agoRevert some other dubious "improvements" in b627b870
Jean-Marc Lasgouttes [Sat, 28 Feb 2015 22:41:20 +0000 (23:41 +0100)]
Revert some other dubious "improvements" in b627b870

9 years agoFix \nobreakdash- roundtrip in moving args
Georg Baum [Fri, 27 Feb 2015 21:06:11 +0000 (22:06 +0100)]
Fix \nobreakdash- roundtrip in moving args

Previously, tex2lyx did not remove the \protect which is output by LyX in
front of \nobreakdash- if needed. Now tex2lyx removes it unconditionally (like
it does elsewhere), because LyX will add it if needed.