]> git.lyx.org Git - lyx.git/log
lyx.git
10 years agoCentralize substitution of python commands
Scott Kostyshak [Mon, 3 Feb 2014 15:57:52 +0000 (10:57 -0500)]
Centralize substitution of python commands

The code for detecting python commands and substituting in the
correct prefix is now merged with what used to be libScriptSearch()
and is now renamed to commandPrep(). This commit does not change
any functionality and just improves organization to reduce the
chance of bugs in the future.

10 years agoCentralize replacement of "$$s"
Scott Kostyshak [Fri, 31 Jan 2014 03:59:33 +0000 (22:59 -0500)]
Centralize replacement of "$$s"

Now the replacement is done in startScript(). In addition to making
the code cleaner and more consistent, this commit fixes a bug where
"$$s" was not replaced when "latex=" was specified in the extra flags
of a converter.

Note that the temporary fix at 731b8610 is reverted with this commit.

10 years agoRename misleading parameter.
Jean-Marc Lasgouttes [Wed, 14 May 2014 16:03:37 +0000 (18:03 +0200)]
Rename misleading parameter.

... and a typo and some whitespace.

10 years ago* sk.po
Kornel Benko [Wed, 14 May 2014 07:52:07 +0000 (09:52 +0200)]
* sk.po

10 years agoCmake build: Unify defines for spellchecker in config.h
Kornel Benko [Tue, 13 May 2014 12:52:11 +0000 (14:52 +0200)]
Cmake build: Unify defines for spellchecker in config.h

10 years agoCmake build: Search for spell checking libraries unconditionally
Kornel Benko [Tue, 13 May 2014 10:31:37 +0000 (12:31 +0200)]
Cmake build: Search for spell checking libraries unconditionally

New option: LYX_REQUIRE_SPELLCHECK. If set and no spellchecker found
  stop the compilation
  if not set, compile in many speckeckers as possible from the set
  of 'ASPELL', 'Hunspell', 'Enchant'

10 years agoCmake build: Use find_package_handle_standard_args() consistently
Kornel Benko [Tue, 13 May 2014 10:30:20 +0000 (12:30 +0200)]
Cmake build: Use find_package_handle_standard_args() consistently

10 years agoUpdate documented command for running tex2lyx tests.
Enrico Forestieri [Mon, 12 May 2014 21:54:50 +0000 (23:54 +0200)]
Update documented command for running tex2lyx tests.

10 years agoFix lyx2lyx warning for tex2lyx files
Georg Baum [Mon, 12 May 2014 20:06:24 +0000 (22:06 +0200)]
Fix lyx2lyx warning for tex2lyx files

I would not have thought that reLyX was considered, but not tex2lyx!

10 years agoUpdate version
Georg Baum [Mon, 12 May 2014 19:53:27 +0000 (21:53 +0200)]
Update version

10 years agoUpdate tex2lyx test references
Georg Baum [Mon, 12 May 2014 19:23:47 +0000 (21:23 +0200)]
Update tex2lyx test references

This is needed after c668ebf61. tex2lyx itself was already updated, and I
verified that the new output is correct.

10 years agoInstall lyx2lyx/lyx_2_2.py.
Richard Heck [Mon, 12 May 2014 13:16:31 +0000 (09:16 -0400)]
Install lyx2lyx/lyx_2_2.py.

10 years agoctests: reinvert a test
Scott Kostyshak [Sun, 11 May 2014 02:23:36 +0000 (22:23 -0400)]
ctests: reinvert a test

This test was inverted before but got lost
in the transition to regular expressions.

10 years agoFix bugs #8546 and #9055, and introduce new separator inset.
Enrico Forestieri [Sat, 10 May 2014 21:25:11 +0000 (23:25 +0200)]
Fix bugs #8546 and #9055, and introduce new separator inset.

The algorithm used for breaking a paragraph in LaTeX export is changed
for avoiding spurious blank lines causing too much vertical space.
This change is tied to the introduction of a new inset (with two
different specializations) helping in either outputing LaTeX paragraph
breaks or separating environments in LyX. Both of the above goals were
previously achieved by the ---Separator--- layout and can now be
accomplished by the new inset in a more natural way. As an example,
after leaving an environment by hitting the Return key for two times,
a third return automatically inserts a parbreak inset, which is
equivalent to the old separator layout, i.e., it also introduces a
blank line in the output. If this blank line is not wanted, the
parbreak separator can be changed to a plain separator by a right
click of the mouse. Of course, an environment can still be separated
by the following one by using the Alt+P+Return shortcut (or the
corresponding menu key), but now the plain separator inset is used
instead of the old separator layout, such that no blank line occurs in
the LaTeX output.

Old documents are converted such that the LaTeX output remains unchanged.
As a result of this conversion, the old separator layout is replaced by
the new parbreak inset, which may also appear in places where the old
algorithm was introducing blank lines while the new one is not.
Note that not all blank lines were actually affecting the LaTeX output,
because a blank line is simply ignored by the TeX engine when it occurs
in the so called "vertical mode" (e.g., after an alignment environment).
The old ---Separator--- layout is now gone and old layout files using it
are also automatically converted.

Round trip conversions between old and new format should leave a document
unchanged. This means that the new behavior about paragraph breaking is
not "carried back" to the old format. Indeed, this would need introducing
special LaTeX commands in ERT that would accumulate in roundtrip
conversions, horribly cluttering the document. So, when converting a
modified document to old formats, the LaTeX output may slightly differ in
vertical spacing if the document is processed by an old version of LyX.
In other words, forward compatibility is guaranteed, but not backwards.

10 years agoCmake build: Install lyx*.desktop and lyx*.svg files in appropriate locations for...
Kornel Benko [Fri, 9 May 2014 08:04:42 +0000 (10:04 +0200)]
Cmake build: Install lyx*.desktop and lyx*.svg files in appropriate locations for unix

10 years agoFix bug #9112: There is a test here that seems intended to catch the
Richard Heck [Thu, 8 May 2014 22:19:55 +0000 (18:19 -0400)]
Fix bug #9112: There is a test here that seems intended to catch the
case where there are unbalanced braces, but it comes too late. In that
case, we try to check cmd[docstring::npos] and crash.

10 years agoBeamer block conversion: consider ERT arguments with leading/trailing blanks
Juergen Spitzmueller [Thu, 8 May 2014 13:14:44 +0000 (15:14 +0200)]
Beamer block conversion: consider ERT arguments with leading/trailing blanks

Should also go to branch.

10 years agoMonolingualization
Juergen Spitzmueller [Thu, 8 May 2014 06:37:12 +0000 (08:37 +0200)]
Monolingualization

10 years agoFix problem with drawing of math backround with selections.
Enrico Forestieri [Wed, 7 May 2014 18:18:14 +0000 (14:18 -0400)]
Fix problem with drawing of math backround with selections.

10 years agoListings: Validate skip amounts correctly.
Juergen Spitzmueller [Wed, 7 May 2014 10:33:39 +0000 (12:33 +0200)]
Listings: Validate skip amounts correctly.

Fixes: #7373.
10 years agoRely on Qt to handle small caps text
Jean-Marc Lasgouttes [Wed, 7 May 2014 10:06:56 +0000 (12:06 +0200)]
Rely on Qt to handle small caps text

This has the advantage of simplifying our code and to produce the
correct output: the small capitals should have the exact same width as
the lower case letters.

The slanted fonts are also translated to oblique on Qt side, but this
does not seems to have an effect in my testing. It may be that proper
oblique fonts need to be installed.

10 years agoSimplification
Juergen Spitzmueller [Wed, 7 May 2014 06:09:04 +0000 (08:09 +0200)]
Simplification

10 years agoStore InsetListingsParams in a vector of pairs, not a map, since order of insertion...
Juergen Spitzmueller [Tue, 6 May 2014 18:22:25 +0000 (20:22 +0200)]
Store InsetListingsParams in a vector of pairs, not a map, since order of insertion matters.

Fixes: #8144, #5203.
10 years agoFix typos in InsetListingsParams validator
Juergen Spitzmueller [Tue, 6 May 2014 18:17:03 +0000 (20:17 +0200)]
Fix typos in InsetListingsParams validator

10 years agomake build: Versioning of lyx.svg (missed in previous commit)
Kornel Benko [Tue, 6 May 2014 15:24:00 +0000 (17:24 +0200)]
make build: Versioning of lyx.svg (missed in previous commit)

10 years agoCmake build: Add also reference to versioned lyx.svg to the resources file
Kornel Benko [Tue, 6 May 2014 15:21:13 +0000 (17:21 +0200)]
Cmake build: Add also reference to versioned lyx.svg to the resources file

10 years agoTurn an error message into a Debug::LOCALE warning
Jean-Marc Lasgouttes [Tue, 6 May 2014 12:29:42 +0000 (14:29 +0200)]
Turn an error message into a Debug::LOCALE warning

10 years agoCleanup the code for boost configuration
Jean-Marc Lasgouttes [Mon, 21 Apr 2014 14:10:49 +0000 (16:10 +0200)]
Cleanup the code for boost configuration

10 years agoFix View Source size
Juergen Spitzmueller [Thu, 1 May 2014 16:00:37 +0000 (18:00 +0200)]
Fix View Source size

Fixes: #9084.
10 years agoimprove language flag for Objective-C compiler call
Stephan Witt [Wed, 30 Apr 2014 21:14:30 +0000 (23:14 +0200)]
improve language flag for Objective-C compiler call

10 years agostruct with virtual functions should have virtual destructor
Stephan Witt [Wed, 30 Apr 2014 21:12:41 +0000 (23:12 +0200)]
struct with virtual functions should have virtual destructor

10 years agoWhitespace fixes
Georg Baum [Tue, 29 Apr 2014 20:05:27 +0000 (22:05 +0200)]
Whitespace fixes

10 years agoUntil there is some more general solution… prepare 2.1 prefs migration manually.
Stephan Witt [Tue, 29 Apr 2014 19:43:41 +0000 (21:43 +0200)]
Until there is some more general solution… prepare 2.1 prefs migration manually.

10 years agoFix C++11 test
Georg Baum [Tue, 29 Apr 2014 19:00:02 +0000 (21:00 +0200)]
Fix C++11 test

Thanks Vincent for noticing. The old test was slightly off, the C++98 standard
guarantees that __cplusplus is defined as 199711L, not 19971L.

10 years agoboost, cmake: Turn off warning that signals are deprecated
Kornel Benko [Tue, 29 Apr 2014 16:01:50 +0000 (18:01 +0200)]
boost, cmake: Turn off warning that signals are deprecated

10 years agoboost: Turn off warning that signals are deprecated
Vincent van Ravesteijn [Tue, 29 Apr 2014 14:56:23 +0000 (16:56 +0200)]
boost: Turn off warning that signals are deprecated

10 years agoboost: Update to 1.55.0
Vincent van Ravesteijn [Tue, 29 Apr 2014 14:12:31 +0000 (16:12 +0200)]
boost: Update to 1.55.0

10 years agolyx2lyx: Update the emergency value
Vincent van Ravesteijn [Sun, 23 Mar 2014 12:32:37 +0000 (13:32 +0100)]
lyx2lyx: Update the emergency value

Actually, this should not be hardcoded.

10 years agoGuiLog: Use GuiClipboard to put the log on the clipboard
Vincent van Ravesteijn [Tue, 29 Apr 2014 13:28:21 +0000 (15:28 +0200)]
GuiLog: Use GuiClipboard to put the log on the clipboard

All direct interaction with the Qt clipboard is now done in either GuiClipboard or GuiSelection.

10 years agoUse the cached value GuiSelection::selection_supported_
Vincent van Ravesteijn [Tue, 29 Apr 2014 13:17:07 +0000 (15:17 +0200)]
Use the cached value GuiSelection::selection_supported_

That's where it is for.

10 years agoCapitalize layout tag
Vincent van Ravesteijn [Tue, 29 Apr 2014 09:16:41 +0000 (11:16 +0200)]
Capitalize layout tag

10 years agozh_CN.po: port today's change
Uwe Stöhr [Mon, 28 Apr 2014 20:58:20 +0000 (22:58 +0200)]
zh_CN.po: port today's change

10 years agoFrench doc files: backport recent changes
Uwe Stöhr [Mon, 28 Apr 2014 20:57:53 +0000 (22:57 +0200)]
French doc files: backport recent changes

10 years agoMerge branch 'master' of git.lyx.org:lyx
Uwe Stöhr [Mon, 28 Apr 2014 20:57:23 +0000 (22:57 +0200)]
Merge branch 'master' of git.lyx.org:lyx

10 years agoCREDITS: add Min Ding and Roy Xia
Uwe Stöhr [Mon, 28 Apr 2014 20:57:03 +0000 (22:57 +0200)]
CREDITS: add Min Ding and Roy Xia

10 years agoDo not write an empty default_otf_view_format.
Juergen Spitzmueller [Mon, 28 Apr 2014 12:59:03 +0000 (14:59 +0200)]
Do not write an empty default_otf_view_format.

Fixes: #9100.
10 years agoFix table rotate conversion to 2.0 format
Georg Baum [Sun, 27 Apr 2014 18:58:53 +0000 (20:58 +0200)]
Fix table rotate conversion to 2.0 format

The old code did create invalid documents, since the space between the rotate
flag dn the previous flag was removed.

10 years agoREADME.localization: a precision
Uwe Stöhr [Sun, 27 Apr 2014 14:02:47 +0000 (16:02 +0200)]
README.localization: a precision

10 years agoinstaller: fine-tuning
Uwe Stöhr [Sun, 27 Apr 2014 13:14:01 +0000 (15:14 +0200)]
installer: fine-tuning

don't bother the user with questions if the uninstaller was accidentally deleted

10 years agoFix conversion of beamer block titles that end with a non-ERT inset.
Juergen Spitzmueller [Sat, 26 Apr 2014 15:39:56 +0000 (17:39 +0200)]
Fix conversion of beamer block titles that end with a non-ERT inset.

Should also go to branch!

10 years agoFix failure to detect quoted flex insets in conversion to layout
Richard Heck [Fri, 25 Apr 2014 21:17:10 +0000 (17:17 -0400)]
Fix failure to detect quoted flex insets in conversion to layout
48. Also, simplify this code.

10 years agoFix lyx2lyx math package defaults (bug #9069)
Georg Baum [Fri, 25 Apr 2014 20:39:22 +0000 (22:39 +0200)]
Fix lyx2lyx math package defaults (bug #9069)

lyx2lyx sets all new math packages to off when converting from old formats.
This is correct if any command which would cause an automatic package loading
exists in the document. However, it is wrong if no command exists: This leads
to problems if later a command is added (bug #9069), which is especially
annoying for templates.
The fix consists of two parts:
1) convert_use_package() considers now the used commands like
   revert_use_package(), and uses them to decide whether to set the package to
   auto or off.
2) convert_undertilde() and revert_undertilde() use a slightly adjusted copy of
   convert_use_package() and revert_use_package(), so that the bug is also
   fixed for undertilde. We cannot use the latter functions directly, because
   of "\usepackage undertilde" vs. "\use_undertilde".

10 years agoFix math package conversion to 2.0 format
Georg Baum [Fri, 25 Apr 2014 20:12:04 +0000 (22:12 +0200)]
Fix math package conversion to 2.0 format

When doing the lyx2lyx round trip of the 2.0.8 user guide from format
413 -> 474 -> 413 you get an invalid document, because the math packages
mhchem and undertilde are incorrectly converted.
It turned out that the old reversion code did only work for particular
package oderings. The new one works for abitrary sorted packages.

10 years agoFix data loss in user guide conversion to 2.0.x
Georg Baum [Fri, 25 Apr 2014 19:35:51 +0000 (21:35 +0200)]
Fix data loss in user guide conversion to 2.0.x

When doing the lyx2lyx round trip of the 2.0.8 user guide from format
413 -> 474 -> 413 you do not get a zero diff. The most important problem is
caused by the conversion of the argument insets to the old syntax: This
conversion adds an additional empty line (harmless), and it destroys the
document structure if the first inset in e.g. a subsection is not an argument
inset, but e.g. an index or label inset.
The fix is quite easy: Ensure that the paragraph begin is set to the first
argument inset.

10 years agoCmake tests: Added more regular expressions 2
Kornel Benko [Fri, 25 Apr 2014 11:53:29 +0000 (13:53 +0200)]
Cmake tests: Added more regular expressions 2

10 years agoFix warning in lyx2lyx 2.0<->2.1 round trip
Georg Baum [Thu, 24 Apr 2014 19:52:32 +0000 (21:52 +0200)]
Fix warning in lyx2lyx 2.0<->2.1 round trip

revert_justification() issues a warning if the \justification parameter does
not exist, and LyX itself always writes it unconditionally as well, so add it
also in lyx2lyx when converting old documents.
Currently this does not have any user visible effect, but it decouples the
default value of BufferParams::justification from the conversion of old
documents: Now it is possible to set the default to false in LyX, and old
documents will still be converted correctly.

10 years agoFix for clang detection in cmake
Benjamin Piwowarski [Thu, 24 Apr 2014 15:16:43 +0000 (17:16 +0200)]
Fix for clang detection in cmake

10 years agoctests: regex to revert two instant_preview tests
Scott Kostyshak [Thu, 24 Apr 2014 14:00:36 +0000 (10:00 -0400)]
ctests: regex to revert two instant_preview tests

These effectively revert the following:

    export/examples/instant_preview_dvi3_systemF
    export/examples/instant_preview_pdf2

10 years agoUpdate it.po
Enrico Forestieri [Wed, 23 Apr 2014 22:49:06 +0000 (00:49 +0200)]
Update it.po

10 years agoCmake tests: Added more regular expressions
Kornel Benko [Wed, 23 Apr 2014 11:04:37 +0000 (13:04 +0200)]
Cmake tests: Added more regular expressions

10 years agoMake iparserdocstream more like std::istream
Georg Baum [Tue, 22 Apr 2014 20:03:31 +0000 (22:03 +0200)]
Make iparserdocstream more like std::istream

In C++98 std::istream does not use an operator bool(), but an operator
void*() instead, which prevents some unwanted conversions (this is one
possible implementation of the safe bool idiom).
In C++11 std::istream uses explicit operator bool, which prevents the unwanted
conversions using a new language feature.

This change does not have any effect on correct code, but prevents some
mistakes.

10 years agoDo not spellcheck "code" in logical markup module
Scott Kostyshak [Tue, 22 Apr 2014 07:28:49 +0000 (03:28 -0400)]
Do not spellcheck "code" in logical markup module

10 years agolyx_pot.py: Do not strip blanks in HelpText.
Juergen Spitzmueller [Tue, 22 Apr 2014 08:35:20 +0000 (10:35 +0200)]
lyx_pot.py: Do not strip blanks in HelpText.

This fixes a thinko introduced in [c5ef7cfc/lyxgit]

Fixes: #9054.
10 years agocmake: Objective-C compilation support with clang and C++11
Vincent van Ravesteijn [Fri, 18 Apr 2014 13:59:56 +0000 (15:59 +0200)]
cmake: Objective-C compilation support with clang and C++11

This fixes an issue when compiling with C++11 flags on: the
objective-C clang compiler produces an error. This patch set
the -std option to ansi for the Objective-C sources.

10 years agoRevert "Objective-C compililation support with cmake and C++11"
Benjamin Piwowarski [Tue, 22 Apr 2014 07:36:17 +0000 (09:36 +0200)]
Revert "Objective-C compililation support with cmake and C++11"

This reverts commit c2e67a41ce4b3b281f6c8a805be5e821ce0aea0a.

10 years agoBibtopic requires styles files to be passed via argument
Juergen Spitzmueller [Tue, 22 Apr 2014 07:25:58 +0000 (09:25 +0200)]
Bibtopic requires styles files to be passed via argument

Fixes: #9060
10 years agoFix various warnings issued by clang++.
Jean-Marc Lasgouttes [Mon, 21 Apr 2014 14:50:56 +0000 (16:50 +0200)]
Fix various warnings issued by clang++.

* remove unused class TexStream.

* remove unused virtual method Inset::cellXOffset

* remove second argument of FileDialog constructor, which was actually
  not used

* remove some dead local code

* remove some unused private members of classes

* in InsetMathNest::updateBuffer, fix the logic of a test

10 years ago* sk.po
Kornel Benko [Mon, 21 Apr 2014 17:36:22 +0000 (19:36 +0200)]
* sk.po

10 years agoCmake tests: simplify part of the set of reverted tests using regex
Kornel Benko [Mon, 21 Apr 2014 17:20:40 +0000 (19:20 +0200)]
Cmake tests: simplify part of the set of reverted tests using regex

10 years agoCmake tests: Allow regular expressions to select for reverted tests.
Kornel Benko [Mon, 21 Apr 2014 17:18:42 +0000 (19:18 +0200)]
Cmake tests: Allow regular expressions to select for reverted tests.

10 years agoCmake build: Add include path for src/tests/dummy_functions.cpp
Kornel Benko [Mon, 21 Apr 2014 17:14:25 +0000 (19:14 +0200)]
Cmake build: Add include path for src/tests/dummy_functions.cpp

Othervise the statement '#include "../Messages.h"' results in error.

10 years agoModify update-po script to commit gmo files, as well.
Richard Heck [Mon, 21 Apr 2014 16:25:48 +0000 (12:25 -0400)]
Modify update-po script to commit gmo files, as well.

10 years agoGMO files did not get updated at last commit.
Richard Heck [Mon, 21 Apr 2014 16:25:01 +0000 (12:25 -0400)]
GMO files did not get updated at last commit.

10 years agoRemerge strings.
Richard Heck [Mon, 21 Apr 2014 16:21:22 +0000 (12:21 -0400)]
Remerge strings.

10 years agoUse subdir-objects for automake 1.14 or newer
Jean-Marc Lasgouttes [Sun, 20 Apr 2014 18:20:25 +0000 (20:20 +0200)]
Use subdir-objects for automake 1.14 or newer

This option is going to be mandatory starting with automake 2.0.
LyX is able to use this since version 2.1, but it turns out that it is
badly implemented in versions of automake older than 1.14.

We rely on some (undocumented) symbol to detect automake 1.14 and
use the subdirs-objects option in this case.

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

Making everything work with autotools required making a copy of two
files from support/tests. It seems that we should not point to source files
that are handled by another Makefile.am.

10 years agoWhitespace.
Richard Heck [Fri, 11 Apr 2014 15:31:24 +0000 (11:31 -0400)]
Whitespace.

10 years agoTypo.
Richard Heck [Fri, 11 Apr 2014 15:28:04 +0000 (11:28 -0400)]
Typo.

10 years agoUpdate other comment.
Richard Heck [Mon, 7 Apr 2014 15:02:21 +0000 (11:02 -0400)]
Update other comment.

10 years agoUpdate comment slightly.
Richard Heck [Mon, 7 Apr 2014 14:57:22 +0000 (10:57 -0400)]
Update comment slightly.

10 years agoAdd comment.
Juergen Spitzmueller [Mon, 7 Apr 2014 06:46:35 +0000 (08:46 +0200)]
Add comment.

10 years agoMake some functions return const refs, and add a comment.
Richard Heck [Mon, 7 Apr 2014 01:53:54 +0000 (21:53 -0400)]
Make some functions return const refs, and add a comment.

10 years agoWhitespace.
Richard Heck [Fri, 4 Apr 2014 20:52:21 +0000 (16:52 -0400)]
Whitespace.

10 years agoFix a bunch of minor issues discovered by the cppcheck script.
Richard Heck [Fri, 4 Apr 2014 19:54:32 +0000 (15:54 -0400)]
Fix a bunch of minor issues discovered by the cppcheck script.

10 years agoFix two thinkos caught by the cppcheck script.
Richard Heck [Fri, 4 Apr 2014 19:53:27 +0000 (15:53 -0400)]
Fix two thinkos caught by the cppcheck script.

10 years agoStabilize mouse selection in mathed
Juergen Spitzmueller [Fri, 4 Apr 2014 13:40:05 +0000 (15:40 +0200)]
Stabilize mouse selection in mathed

Fixes: #9074
10 years agoWorkaround for #7987: deleted text in change-tracking mode is not found in Advanced...
Tommaso Cucinotta [Fri, 28 Mar 2014 22:56:20 +0000 (22:56 +0000)]
Workaround for #7987: deleted text in change-tracking mode is not found in Advanced F&R any more.

10 years agoMerged Paragraph::stringify into asString().
Tommaso Cucinotta [Thu, 27 Mar 2014 23:12:56 +0000 (23:12 +0000)]
Merged Paragraph::stringify into asString().

10 years agoDo not substract cursors pos from two different cells (fix assertion while doing...
Juergen Spitzmueller [Mon, 31 Mar 2014 16:33:53 +0000 (18:33 +0200)]
Do not substract cursors pos from two different cells (fix assertion while doing adv search)

Fixes: #7944.
10 years agoFix oversight in autotools packaging selection
Jean-Marc Lasgouttes [Thu, 27 Mar 2014 12:51:25 +0000 (13:51 +0100)]
Fix oversight in autotools packaging selection

The only consequence of this thinko is that the lyx.desktop and the svg icons were installed on Mac OS and Windows platform, whereas they are useless.

10 years agoTypos and style.
Richard Heck [Sat, 29 Mar 2014 22:52:36 +0000 (18:52 -0400)]
Typos and style.

10 years agoChange forToc() to forOutliner(), to avoid confusion. The old name
Richard Heck [Sat, 29 Mar 2014 17:34:36 +0000 (13:34 -0400)]
Change forToc() to forOutliner(), to avoid confusion. The old name
is left over from when the outliner really did just display a TOC.

10 years agoIf this test fails, then we are about to crash, because we are about
Richard Heck [Fri, 28 Mar 2014 18:47:54 +0000 (14:47 -0400)]
If this test fails, then we are about to crash, because we are about
to try to access whichever thing we did not find. So do an emergency
close of this Buffer.

10 years agoTypos in algorithm module.
Richard Heck [Wed, 26 Mar 2014 19:53:15 +0000 (15:53 -0400)]
Typos in algorithm module.

10 years agoTypo.
Richard Heck [Wed, 26 Mar 2014 19:17:57 +0000 (15:17 -0400)]
Typo.

10 years agoPrefLanguageUi.ui: change a string
Uwe Stöhr [Wed, 26 Mar 2014 04:19:38 +0000 (05:19 +0100)]
PrefLanguageUi.ui: change a string

to have uniform uppercases in this dialog

10 years agoDo not store Languages objects in completion words lists
Jean-Marc Lasgouttes [Fri, 21 Mar 2014 11:24:47 +0000 (12:24 +0100)]
Do not store Languages objects in completion words lists

In the current code each paragraph contains a map<Language,
WordList*>, which means that it contains a full copy of the language
object. Since these objects contain translation tables nowadays, this
is a very bad idea.

This patch simply replaces the Language key by a string.

When loading the Userguide on linux/x86_64, the total memory
consumption decreases from 36.27MB to 31.50MB.

10 years agoIn Paragraph::changeCase, correctly track the font of the changed characters (fix...
Juergen Spitzmueller [Mon, 24 Mar 2014 08:15:00 +0000 (09:15 +0100)]
In Paragraph::changeCase, correctly track the font of the changed characters (fix crash)

Fixes: #7943
10 years agostdmenus.inc: add move rows/columns feature to Edit menu
Uwe Stöhr [Sun, 23 Mar 2014 14:30:13 +0000 (15:30 +0100)]
stdmenus.inc: add move rows/columns feature to Edit menu

fixes bug #9047

10 years agoPrefCompletionUi.ui: port commit 1a137950
Uwe Stöhr [Sun, 23 Mar 2014 13:49:57 +0000 (14:49 +0100)]
PrefCompletionUi.ui: port commit 1a137950

10 years agoDo not allow the manual insertion of a directory (without filename) into the import...
Juergen Spitzmueller [Sun, 23 Mar 2014 12:31:21 +0000 (13:31 +0100)]
Do not allow the manual insertion of a directory (without filename) into the import dialog and thus prevent an assertion.

Fixes: #7437