]> git.lyx.org Git - features.git/log
features.git
11 years agoUpdates to French i18n for 2.0.5 from Jean-Pierre Chrétien.
Richard Heck [Fri, 2 Nov 2012 16:15:21 +0000 (12:15 -0400)]
Updates to French i18n for 2.0.5 from Jean-Pierre Chrétien.

11 years ago* INSTALL - leftover
Pavel Sanda [Thu, 1 Nov 2012 20:30:36 +0000 (21:30 +0100)]
* INSTALL - leftover

11 years ago* INSTALL updated by Jean-Pierre Chretien
Pavel Sanda [Thu, 1 Nov 2012 17:03:22 +0000 (18:03 +0100)]
* INSTALL updated by Jean-Pierre Chretien

11 years agoUpdates to Japanese translations, etc, from Koji.
Richard Heck [Tue, 30 Oct 2012 14:40:33 +0000 (10:40 -0400)]
Updates to Japanese translations, etc, from Koji.

11 years agoFix bug 8396: Wrong import of \xymatrix
Georg Baum [Mon, 29 Oct 2012 19:52:22 +0000 (20:52 +0100)]
Fix bug 8396: Wrong import of \xymatrix

11 years agoFrench Linguistics manual update (by Jean-Pierre)
Juergen Spitzmueller [Fri, 26 Oct 2012 08:50:13 +0000 (10:50 +0200)]
French Linguistics manual update (by Jean-Pierre)

11 years agodocumentation: remove duplicated words
Uwe Stöhr [Tue, 23 Oct 2012 22:42:23 +0000 (00:42 +0200)]
documentation: remove duplicated words

- also use a better regexp to find duplicated words

11 years agoFrench Math.lyx: translations by Jean-Pierre
Uwe Stöhr [Tue, 23 Oct 2012 19:50:05 +0000 (21:50 +0200)]
French Math.lyx: translations by Jean-Pierre

11 years agoUserGuide.lyx: final update for advanced search
Uwe Stöhr [Tue, 23 Oct 2012 19:49:23 +0000 (21:49 +0200)]
UserGuide.lyx: final update for advanced search

- German UserGuide.lyx: translations
- other UserGuide.lyx: simplifications and formatting adaptions

11 years agoFrench: UserGuide.lyx: translations by Jean-Pierre
Uwe Stöhr [Mon, 22 Oct 2012 23:17:40 +0000 (01:17 +0200)]
French: UserGuide.lyx: translations by Jean-Pierre

11 years agosv.po: updates from Jim
Uwe Stöhr [Sun, 21 Oct 2012 23:44:22 +0000 (01:44 +0200)]
sv.po: updates from Jim

11 years agoes.po: updates from Ignacio
Uwe Stöhr [Sun, 21 Oct 2012 23:40:07 +0000 (01:40 +0200)]
es.po: updates from Ignacio

11 years agoUserGuide.lyx: next update for advanced search
Uwe Stöhr [Sun, 21 Oct 2012 23:04:49 +0000 (01:04 +0200)]
UserGuide.lyx: next update for advanced search

- German UserGuide.lyx: translations
- other UserGuide.lyx: some simplifications, clarifications and formatting adaptions

11 years agoFix bug #8379: LyX Archive fails to include BibTeX files
Enrico Forestieri [Sat, 20 Oct 2012 16:27:35 +0000 (18:27 +0200)]
Fix bug #8379: LyX Archive fails to include BibTeX files

(cherry picked from commit f6fde4b55326c7fe3821c05d64fb00d2c36c4ef4)

11 years agoUserGuide.lyx: update for advanced search
Uwe Stöhr [Sun, 21 Oct 2012 01:22:12 +0000 (03:22 +0200)]
UserGuide.lyx: update for advanced search

- German UserGuide.lyx: translations
- English UserGuide.lyx: some simplifications and clarifications

11 years agofr.po: updates by Jean-Pierre
Uwe Stöhr [Sun, 21 Oct 2012 00:05:26 +0000 (02:05 +0200)]
fr.po: updates by Jean-Pierre

11 years agosigplanconf.layout: correct InTitle tag, fixes bug #8378
Uwe Stöhr [Thu, 18 Oct 2012 22:57:20 +0000 (00:57 +0200)]
sigplanconf.layout: correct InTitle tag, fixes bug #8378

11 years ago* Additional.lyx - no CT in branch.
Pavel Sanda [Thu, 18 Oct 2012 13:14:46 +0000 (15:14 +0200)]
* Additional.lyx - no CT in branch.

11 years agoAdditional.lyx: references to knitr & Sweave doc
Scott Kostyshak [Thu, 18 Oct 2012 00:44:28 +0000 (20:44 -0400)]
Additional.lyx: references to knitr & Sweave doc

Add references to the knitr.lyx example file and to the Sweave manual.
Also correct a couple of typos.

11 years agoUserGuide.lyx: remove description of removed LFUN break-paragraph-keep-layout
Uwe Stöhr [Wed, 17 Oct 2012 23:54:34 +0000 (01:54 +0200)]
UserGuide.lyx: remove description of removed LFUN break-paragraph-keep-layout

Furthermore update the description to current state

11 years agoLaTeXConfig.lyx: detection of document class g-brief, spotted by Max Funk
Uwe Stöhr [Tue, 16 Oct 2012 22:43:29 +0000 (00:43 +0200)]
LaTeXConfig.lyx: detection of document class g-brief, spotted by Max Funk

11 years agoMath.lyx: add info about character ^ in chemical formulas
Uwe Stöhr [Tue, 16 Oct 2012 22:21:43 +0000 (00:21 +0200)]
Math.lyx: add info about character ^ in chemical formulas

11 years agostatus.20x: correct a bug number
Uwe Stöhr [Tue, 16 Oct 2012 00:31:43 +0000 (02:31 +0200)]
status.20x: correct a bug number

11 years agoUserGuide.lyx: Add info how to handle special characters in nomenclatures
Uwe Stöhr [Tue, 16 Oct 2012 00:29:37 +0000 (02:29 +0200)]
UserGuide.lyx: Add info how to handle special characters in nomenclatures

Fixes bug 8373.

11 years agonn.po: updates from Ingar
Uwe Stöhr [Mon, 15 Oct 2012 22:58:26 +0000 (00:58 +0200)]
nn.po: updates from Ingar

11 years agoBeamer provides [x]color (#8103)
Juergen Spitzmueller [Mon, 15 Oct 2012 14:02:50 +0000 (16:02 +0200)]
Beamer provides [x]color (#8103)

11 years agoDo not inherit Provides from beamer
Juergen Spitzmueller [Mon, 15 Oct 2012 13:56:25 +0000 (15:56 +0200)]
Do not inherit Provides from beamer

11 years agoDo not inherit Provides from beamer
Juergen Spitzmueller [Mon, 15 Oct 2012 13:53:28 +0000 (15:53 +0200)]
Do not inherit Provides from beamer

11 years agog-brief layouts: remove the dependency on europs.sty as this package is an optional...
Uwe Stöhr [Sun, 14 Oct 2012 23:25:51 +0000 (01:25 +0200)]
g-brief layouts: remove the dependency on europs.sty as this package is an optional one and add info to the template file

11 years agoapa.lyx: fixed weblink
Uwe Stöhr [Sun, 14 Oct 2012 22:49:07 +0000 (00:49 +0200)]
apa.lyx: fixed weblink

11 years agouk.po: updates from Yuri
Uwe Stöhr [Sun, 14 Oct 2012 00:22:05 +0000 (02:22 +0200)]
uk.po: updates from Yuri

11 years agoia.po: updates from Giovanni
Uwe Stöhr [Sun, 14 Oct 2012 00:18:45 +0000 (02:18 +0200)]
ia.po: updates from Giovanni

11 years agoCorrectly initialize bool. Thanks, Pavel.
Juergen Spitzmueller [Thu, 11 Oct 2012 10:55:43 +0000 (12:55 +0200)]
Correctly initialize bool. Thanks, Pavel.
(cherry picked from commit 47673f560f9af793f978482cef133b032fdb8692)

11 years agosk.po: entries containing the word 'selection' unified
Kornel Benko [Thu, 11 Oct 2012 09:43:07 +0000 (11:43 +0200)]
sk.po: entries containing the word 'selection' unified

11 years ago* cs.po
Pavel Sanda [Wed, 10 Oct 2012 23:49:03 +0000 (01:49 +0200)]
* cs.po

11 years agoForgot status.
Pavel Sanda [Wed, 10 Oct 2012 23:36:42 +0000 (01:36 +0200)]
Forgot status.

11 years agoDoc updates for noweb (bug #5444).
Pavel Sanda [Wed, 10 Oct 2012 23:33:54 +0000 (01:33 +0200)]
Doc updates for noweb (bug #5444).

Patch based on Kayvan Sylvan input.

11 years agode.po
Juergen Spitzmueller [Wed, 10 Oct 2012 14:57:08 +0000 (16:57 +0200)]
de.po

11 years agoRemerge strings.
Richard Heck [Wed, 10 Oct 2012 14:26:50 +0000 (10:26 -0400)]
Remerge strings.

11 years ago* cs.po
Pavel Sanda [Wed, 10 Oct 2012 13:32:34 +0000 (15:32 +0200)]
* cs.po

11 years agoUserGuide.lyx: fix a typo spotted on the docs list
Uwe Stöhr [Sun, 7 Oct 2012 23:24:40 +0000 (01:24 +0200)]
UserGuide.lyx: fix a typo spotted on the docs list

11 years agoUpdate it.po
Enrico Forestieri [Sun, 7 Oct 2012 21:16:11 +0000 (23:16 +0200)]
Update it.po

11 years agoFix "make dist".
Jean-Marc Lasgouttes [Sun, 7 Oct 2012 20:46:41 +0000 (22:46 +0200)]
Fix "make dist".

11 years agoFix make check target
Jean-Marc Lasgouttes [Fri, 5 Oct 2012 09:55:23 +0000 (11:55 +0200)]
Fix make check target

A dummy getGuiMessages function was missing. Instead of adding it everywhere, a new file is created that contains all the dummy functions needed by the tests.

11 years agoRevert "Do not kill the undo stack when doing a Save As..."
Jean-Marc Lasgouttes [Fri, 5 Oct 2012 08:51:51 +0000 (10:51 +0200)]
Revert "Do not kill the undo stack when doing a Save As..."

This reverts commit 824fe175112559af42fc42da889a60dc7ee465d1.

Following discussion on ticket #8342, I am not sure anymore that this is safe for branch. Reverting does not hurt much since the annoying debug messages that were cured by this commit are already (better) fixed by the patch for #8342.

11 years ago* sk.po
Kornel Benko [Sun, 7 Oct 2012 14:40:56 +0000 (16:40 +0200)]
* sk.po

11 years agoMore elegant knitr support and bug fix
Scott Kostyshak [Sat, 6 Oct 2012 23:54:08 +0000 (19:54 -0400)]
More elegant knitr support and bug fix

Implement a more simple and elegant integration of the R package knitr. Now,
lyxknitr.R does not need to move or copy files at all.

This also fixes a bug: when /tmp was on a different file system (e.g.
encrypted home), lyxknitr.R failed to move files to /tmp because it relied on
R's 'file.rename' function, which in turn relied on the rename function in
<stdio.h>, which was failing with the EXDEV errno.

Patch from Yihui Xie.

11 years agoRestore buffer parenthood if we exit already after the preamble
Juergen Spitzmueller [Sat, 6 Oct 2012 07:31:56 +0000 (09:31 +0200)]
Restore buffer parenthood if we exit already after the preamble

11 years agoDo not let the parent interfere when I child document is exported/view standalone...
Juergen Spitzmueller [Wed, 3 Oct 2012 08:41:07 +0000 (10:41 +0200)]
Do not let the parent interfere when I child document is exported/view standalone (#8100, #8101)
(cherry picked from commit 02c73cd7213a22d290dd18c127bf2350fd5a8dae)

11 years agostatus update
Juergen Spitzmueller [Wed, 3 Oct 2012 14:39:01 +0000 (16:39 +0200)]
status update

11 years agoRonen's patch for lfun language set
Juergen Spitzmueller [Wed, 3 Oct 2012 05:27:36 +0000 (07:27 +0200)]
Ronen's patch for lfun language set

This adds an optional 'set' argument to the language lfun and reintroduces toggling.

Additions by me reintroduce the possibility to reset to the document language via 'language reset' or just 'language'
(cherry picked from commit e3e6befc543cec4eec00f9e28865230bf347a5fb)

11 years agoAdd property list entries for high resolution display on Mac
Stephan Witt [Sun, 30 Sep 2012 09:29:55 +0000 (11:29 +0200)]
Add property list entries for high resolution display on Mac

11 years agoFix issues with xref dialog in read-only documents (#8177)
Juergen Spitzmueller [Sun, 30 Sep 2012 06:31:54 +0000 (08:31 +0200)]
Fix issues with xref dialog in read-only documents (#8177)

11 years ago* sk.po
Kornel Benko [Fri, 28 Sep 2012 14:33:31 +0000 (16:33 +0200)]
* sk.po

11 years agode.po: update
Juergen Spitzmueller [Fri, 28 Sep 2012 14:08:58 +0000 (16:08 +0200)]
de.po: update

11 years agoWorking attempt at fixing #8357 in branch
Juergen Spitzmueller [Fri, 28 Sep 2012 14:04:04 +0000 (16:04 +0200)]
Working attempt at fixing #8357 in branch

11 years agoRevert "validate encodable characters in href inset (#8357)"
Juergen Spitzmueller [Fri, 28 Sep 2012 13:44:11 +0000 (15:44 +0200)]
Revert "validate encodable characters in href inset (#8357)"

This reverts commit 1ea66bb65fe110991c0abe2e0cea9143d08b6912.

The method latexString does not exits in branch.

11 years agovalidate encodable characters in href inset (#8357)
Juergen Spitzmueller [Fri, 28 Sep 2012 07:27:39 +0000 (09:27 +0200)]
validate encodable characters in href inset (#8357)
(cherry picked from commit 5801ee2f9a0f6536c6753567b191302960b3bf4f)

11 years agoUpdate it.po
Enrico Forestieri [Wed, 26 Sep 2012 21:00:27 +0000 (23:00 +0200)]
Update it.po

11 years agode.po: update
Juergen Spitzmueller [Mon, 24 Sep 2012 16:22:30 +0000 (18:22 +0200)]
de.po: update

11 years ago* sk.po
Kornel Benko [Mon, 24 Sep 2012 16:13:12 +0000 (18:13 +0200)]
* sk.po

11 years agostatus.20x entry for commit [2512e1f085/lyxgit]
Jean-Marc Lasgouttes [Mon, 24 Sep 2012 14:31:38 +0000 (16:31 +0200)]
status.20x entry for commit [2512e1f085/lyxgit]

11 years agoFix bug #8349: Cannot compile 2.0.x: unresolved external symbol
Stephan Witt [Sun, 23 Sep 2012 13:07:41 +0000 (15:07 +0200)]
Fix bug #8349: Cannot compile 2.0.x: unresolved external symbol

correct Messages class implementation for non-NLS

11 years agoMerge branch '2.0.x' of git.lyx.org:lyx into 2.0.x
Jean-Marc Lasgouttes [Mon, 24 Sep 2012 14:01:29 +0000 (16:01 +0200)]
Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x

11 years agoUserGuide.lyx: mention new feature "spell check of current selection"
Uwe Stöhr [Sun, 23 Sep 2012 23:41:06 +0000 (01:41 +0200)]
UserGuide.lyx: mention new feature "spell check of current selection"

the new feature: re35d7a0f

11 years agoImplementation of spell check of current selection (bug #2511).
Stephan Witt [Fri, 21 Sep 2012 21:21:41 +0000 (23:21 +0200)]
Implementation of spell check of current selection (bug #2511).

11 years agoRemerge strings.
Richard Heck [Thu, 20 Sep 2012 23:18:31 +0000 (19:18 -0400)]
Remerge strings.

11 years agoForgotten status for earlier commit.
Richard Heck [Thu, 20 Sep 2012 23:17:37 +0000 (19:17 -0400)]
Forgotten status for earlier commit.

11 years agoMerge branch '2.0.x' of git.lyx.org:lyx into 2.0.x
Kornel Benko [Thu, 20 Sep 2012 14:47:54 +0000 (16:47 +0200)]
Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x

11 years ago* sk.po
Kornel Benko [Thu, 20 Sep 2012 14:42:27 +0000 (16:42 +0200)]
* sk.po

11 years agoFollow Lars' advice
Juergen Spitzmueller [Thu, 20 Sep 2012 14:24:59 +0000 (16:24 +0200)]
Follow Lars' advice
(cherry picked from commit e2173f14ec613c5540e7352af5aeadf0eb5c070a)

11 years agode.po: update
Juergen Spitzmueller [Thu, 20 Sep 2012 14:13:45 +0000 (16:13 +0200)]
de.po: update

11 years agoMerge branch '2.0.x' of git.lyx.org:lyx into 2.0.x
Juergen Spitzmueller [Thu, 20 Sep 2012 14:02:44 +0000 (16:02 +0200)]
Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x

11 years agoDo not update refs on new label creation (#8147)
Juergen Spitzmueller [Wed, 19 Sep 2012 08:14:56 +0000 (10:14 +0200)]
Do not update refs on new label creation (#8147)

This assures that refs to existing labels are not being touched if a new label with a duplicate name is created, and the name then changed by the duplicate checker.

Branch candidate.
(cherry picked from commit 86cccf10771cb00c71fac2becf39dd7e9a301d45)

11 years ago* sk.po
Kornel Benko [Thu, 20 Sep 2012 13:54:06 +0000 (15:54 +0200)]
* sk.po

11 years agoFix bug #8306: LyX incorrectly imports mhchem commands outside math mode
Enrico Forestieri [Tue, 21 Aug 2012 02:04:54 +0000 (04:04 +0200)]
Fix bug #8306: LyX incorrectly imports mhchem commands outside math mode

Those commands can also be used in text mode but tex2lyx tries to
translate their argument causing havoc. So, import the whole commands
as ERT.

(cherry picked from commit ac92f2a79b85fac329a4d50def73cce9453d7073)

11 years agoFix bug #8305: ^ symbol does not render into upward arrow when using mhchem
Enrico Forestieri [Mon, 20 Aug 2012 23:30:51 +0000 (01:30 +0200)]
Fix bug #8305: ^ symbol does not render into upward arrow when using mhchem

The mhchem package treats the caret both as a shorthand for \uparrow or
as a superscript operator according to whether it is surrounded by
spaces or not. The \ce and \cf insets allow inserting spaces but there
is no provision for inserting a space after the caret, which is always
considered by LyX as a superscript operator. The solution here is to
insert a space after the caret if the superscript is empty or an empty
brace inset.

Mathed does not allow empty superscripts, so an empty brace has to be
inserted when working in LyX. On the other hand, when importing latex
code, an empty superscript is retained.

This has no effect whatsoever for normal latex code, as a space after
the caret is ignored. In any case, the output is only changed if an
empty brace inset is used as superscript. Specifically, the output is
changed from "^{{}}" to "^ {}".

(cherry picked from commit f251e0189279147cbf20c4b4ad4ba4256396fd44)

11 years agoSimplify translation string.
Pavel Sanda [Thu, 20 Sep 2012 11:34:19 +0000 (13:34 +0200)]
Simplify translation string.

11 years agoBackport fix for bug #8278.
Richard Heck [Sat, 4 Aug 2012 21:32:55 +0000 (17:32 -0400)]
Backport fix for bug #8278.

Cherry picked from
2375982f7e7fa291ae5ce3adfa9271cba0d31809
166deba79b9699cae10c605f8c08af4b159a744b

11 years ago* cs.po
Pavel Sanda [Wed, 19 Sep 2012 22:49:26 +0000 (00:49 +0200)]
* cs.po

11 years agoRemerge cs.po
Pavel Sanda [Wed, 19 Sep 2012 22:48:43 +0000 (00:48 +0200)]
Remerge cs.po

11 years agorc.preview and rc.display_graphics are completely unrelated (bug 7562)
Juergen Spitzmueller [Mon, 17 Sep 2012 09:36:29 +0000 (11:36 +0200)]
rc.preview and rc.display_graphics are completely unrelated (bug 7562)
(cherry picked from commit 6bf00d9feddbd41a776b6b8a1f3a1278413b1cbe)

11 years agoMerge branch '2.0.x' of git.lyx.org:lyx into 2.0.x
Juergen Spitzmueller [Tue, 18 Sep 2012 06:34:05 +0000 (08:34 +0200)]
Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x

11 years agoFix bug #8342: Endless undo group messages
Jean-Marc Lasgouttes [Mon, 17 Sep 2012 09:24:39 +0000 (11:24 +0200)]
Fix bug #8342: Endless undo group messages

Fix thinko in Undo::endUndoGroup.
Do not reset undo groups in Undo::clean

The underlying problem remains: the various VC functions should not
always reload the buffer or at least should use the parameter
clearUndo=false.

11 years agoCalibrate log file parser
Juergen Spitzmueller [Mon, 17 Sep 2012 06:59:41 +0000 (08:59 +0200)]
Calibrate log file parser

Filenames embraced in <...> can occur anywhere on the line and multiple times. This fixes for me the case that graphics included via ERT were not tracked. It also fixes #8336.

(cherry picked from commit e8a01d099a7ecbe5059cbdf0aa0aab16e9862cf6)

11 years agoClarify the logic of fragmental file name checking
Juergen Spitzmueller [Sun, 16 Sep 2012 11:05:55 +0000 (13:05 +0200)]
Clarify the logic of fragmental file name checking

No change in functionality.
(cherry picked from commit ba792c4d35a7657dbfa7522991ee80229bcb6573)

12 years agoTracking correctly available translations (take 2)
Jean-Marc Lasgouttes [Thu, 23 Aug 2012 13:08:21 +0000 (15:08 +0200)]
Tracking correctly available translations (take 2)

The previous scheme of loading all possible translations and checking
whether the work is a bit too much "brute force" and causes problems
on Mac OS X (documents loaded with the wrong language).

Now there is an helper static method in Messages class that checks
whether a readable .mo file exist for the language. There should be an
API in gettext for doing that, but alas it is not possible.

As a consequence the method Language::translated() has been removed,
along with its cache.

12 years agostatus.20x: some minor improvements
Uwe Stöhr [Tue, 11 Sep 2012 22:11:55 +0000 (00:11 +0200)]
status.20x: some minor improvements

- list crash bugfixes first
- clarify that it is a menu

12 years agoProtect underlined \ref{} commands by enclosing them in \mbox{}.
Enrico Forestieri [Thu, 30 Aug 2012 12:09:23 +0000 (14:09 +0200)]
Protect underlined \ref{} commands by enclosing them in \mbox{}.

This is the same protection used for \cite{}. Although "ulem" commands
don't strictly need this protection with \ref{} and friends, this helps
when one wants to use another package souch as "soul".
Indeed, ulem's \uline{} doesn't hyphenate words, while soul's \ul{} does,
and thus the output is much nicer.

With this patch, replacing ulem with soul is as simple as adding
\usepackage{soul}
\renewcommand{\uline}[1]{\ul{#1}}
to the preamble, without worrying about manually enclosing in \mbox the
\ref commands. In any case, the output from ulem remains unchanged.

Another possibility offered by soul is that of typesetting as
"yellow highlighted" the underlined text. This is achieved by adding
\usepackage{color,soul}
\renewcommand{\uline}[1]{\hl{#1}}
to the preamble.

(cherry picked from commit 91afc2430d056e5cbf0065ac0d1a754a2a2ff384)

12 years agoIPA fixes
Juergen Spitzmueller [Mon, 27 Aug 2012 06:50:40 +0000 (08:50 +0200)]
IPA fixes

12 years agoFix forward search with okular
Juergen Spitzmueller [Mon, 27 Aug 2012 06:45:21 +0000 (08:45 +0200)]
Fix forward search with okular

12 years agoFix bug #8238: correct the forward argument of replace2string() in on_replacePB_click...
Stephan Witt [Thu, 26 Jul 2012 22:34:17 +0000 (00:34 +0200)]
Fix bug #8238: correct the forward argument of replace2string() in on_replacePB_clicked().
(cherry picked from commit 44b327800666f30d2713c6c9e26f275aadfa4b9c)
Fix the wrong cursor move when forward flag is false:
The forward flag is used to place the cursor behind the replaced text if it's true.
But it's not correct to move the cursor if it's false. The cursor is in front of the
replacement already after the replaceSelectionWithString() was done.
(cherry picked from commit 430cf3ee5ef125b8bc610300afca58437b734306)

12 years agoFix bug #7741: incorrect locale when starting R from LyX?
Jean-Marc Lasgouttes [Wed, 22 Aug 2012 10:32:22 +0000 (12:32 +0200)]
Fix bug #7741: incorrect locale when starting R from LyX?

The goal here is to get rid of the old code that modified variables
LANGUAGE and LC_ALL, therefore creating the problems mentionned
in the ticket.

In the new system, there is no explicit "GUI" message handler, that
needs to be reset at each language change. Instead, getGuiMessages
calls getMessages with the correct parameter. This allows to simplify
greatly the code and to remove a lot of old cruft.

12 years agoDo not kill the undo stack when doing a Save As...
Jean-Marc Lasgouttes [Tue, 21 Aug 2012 10:19:18 +0000 (12:19 +0200)]
Do not kill the undo stack when doing a Save As...

The code does a reload on the buffer to avoid loose pointers if the
file changes directory. This commit adds a bool parameter to
Buffer::reload to allow for keeping the undo stack intact. This is of
couse only wanted in this case, not when reloading an earlier version
of the file.

12 years agoFix bug #8242: undo fails for longest label width
Jean-Marc Lasgouttes [Mon, 16 Jul 2012 21:39:24 +0000 (23:39 +0200)]
Fix bug #8242: undo fails for longest label width

In the existing code for setting layout of pragraph parameters,
Text::undoSpan is used to "guess" which paragraphs should be saved in Undo.
With this patch the approach is more precise: before every explicit change
to a paragraph, a Cursor::recordUndo call is inserted. This is much more robust than trying to guess.

In particular, we do not look at depth changes at all, since they are now
handled in updateBuffer since #8159 has been fixed.

12 years agoMake debug messages more readable
Jean-Marc Lasgouttes [Mon, 11 Jun 2012 13:03:29 +0000 (15:03 +0200)]
Make debug messages more readable

Shorten the file names output by LYXERR so that they start right after /src/.

12 years agoFix shortenng of file names in MakeDisplayPath.
Jean-Marc Lasgouttes [Sun, 6 Nov 2011 22:36:14 +0000 (22:36 +0000)]
Fix shortenng of file names in MakeDisplayPath.

It is not a good idea to slice an utf8 string at arbitrary offsets, we have to work on a docstring instead.
We need unfortunately to switch back and forth between utf8 and docstring.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40149 a592a061-630c-0410-9148-cb99ea01b6c8

12 years agoDecouple lyxrc.default_language from useBabel()
Juergen Spitzmueller [Tue, 7 Aug 2012 05:59:18 +0000 (07:59 +0200)]
Decouple lyxrc.default_language from useBabel()

No status entry necessary

12 years agoFix direction of brackets in Hebrew when using Polyglossia (bug #8251)
Juergen Spitzmueller [Mon, 23 Jul 2012 12:56:00 +0000 (14:56 +0200)]
Fix direction of brackets in Hebrew when using Polyglossia (bug #8251)

12 years agoFixes to the language package call
Juergen Spitzmueller [Mon, 23 Jul 2012 09:36:55 +0000 (11:36 +0200)]
Fixes to the language package call

* Assure that really no language package is called when none is selected.
* Only call global custom package if global is desired.
This is a candidate for branch as well.