]> git.lyx.org Git - lyx.git/log
lyx.git
12 years agoinstaller: a new MiKTeX installer version is out
Uwe Stöhr [Sat, 2 Jun 2012 00:10:24 +0000 (02:10 +0200)]
installer: a new MiKTeX installer version is out

12 years ago- UserGuide.lyx: adapt style of description of split indexes (the feature is btw...
Uwe Stöhr [Sat, 2 Jun 2012 00:09:36 +0000 (02:09 +0200)]
- UserGuide.lyx: adapt style of description of split indexes (the feature is btw. currently broken)
- German UserGuide.lyx: some further translations
- Japanese UserGuide.lyx: add missing section about split indexes

12 years ago- UserGuide.lyx: fix some typos and an unclear description
Uwe Stöhr [Fri, 1 Jun 2012 00:27:36 +0000 (02:27 +0200)]
- UserGuide.lyx: fix some typos and an unclear description
- German UserGuide.lyx: more translations and corrections

12 years agoUserGuide.lyx:
Uwe Stöhr [Thu, 31 May 2012 22:54:24 +0000 (00:54 +0200)]
UserGuide.lyx:
- decline today's change because the text states "is explained in the chapter Tables of the Embedded Objects manual" So no need to describe LaTEX special again
- revert fileformat change; please keep the fileformat is possible unless you describe a new feature of LyX 2.1

12 years agoDeal with memory issue reported some time ago in connection with DocumentClass
Richard Heck [Tue, 13 Mar 2012 16:13:31 +0000 (12:13 -0400)]
Deal with memory issue reported some time ago in connection with DocumentClass
objects. The problem that led to the leak is that these objects can be held in
memory long after the Buffer that created them is gone, mostly due to their
use in the CutStack. So they were previously held in a storage facility, the
DocumentClassBundle. Unfortunately, they were now being created too often,
especially by cloning. It's not really a leak, because they're accessible, but
we weren't ever destroying them.

This new approach uses a shared_ptr instead.

Thanks to Vincent for pointing out const_pointer_cast.

12 years agoMinor cleanup: We should use the usual conventions for
Richard Heck [Tue, 17 Apr 2012 20:44:04 +0000 (16:44 -0400)]
Minor cleanup: We should use the usual conventions for
InsetLayout names.

12 years agoProperly initialize variable. This should fix the problem
Richard Heck [Thu, 31 May 2012 16:02:21 +0000 (12:02 -0400)]
Properly initialize variable. This should fix the problem
reported here:
http://marc.info/?l=lyx-devel&m=133775786222603&w=2
by Scott.

12 years agoTabular.ui: Moving Latex argument field to column section.
Pavel Sanda [Thu, 31 May 2012 13:36:33 +0000 (15:36 +0200)]
Tabular.ui: Moving Latex argument field to column section.
Forgotten patch from John Tapsell.

Documentation moved from UI to User Guide.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg173987.html

This was here for ages, no need to rush into branch.

12 years agoFix #8180: Page break on current row can't be unchecked.
Pavel Sanda [Thu, 31 May 2012 11:56:07 +0000 (13:56 +0200)]
Fix #8180: Page break on current row can't be unchecked.
Patch from John Tapsell

12 years agoForgotten permissions
Pavel Sanda [Thu, 31 May 2012 11:01:39 +0000 (13:01 +0200)]
Forgotten permissions

12 years agoPort suggestion to trunk
Pavel Sanda [Thu, 31 May 2012 10:47:08 +0000 (12:47 +0200)]
Port suggestion to trunk

12 years agoForgotten patch from Scott Kostyshak.
Pavel Sanda [Thu, 31 May 2012 10:31:55 +0000 (12:31 +0200)]
Forgotten patch from Scott Kostyshak.

12 years agoported from branch:
Uwe Stöhr [Wed, 30 May 2012 22:45:26 +0000 (00:45 +0200)]
ported from branch:
- German UserGuide.lyx: many translations
- English UserGuide.lyx: some grammar and some style fixes

12 years ago- German UserGuide.lyx: some translations
Uwe Stöhr [Tue, 29 May 2012 23:24:03 +0000 (01:24 +0200)]
- German UserGuide.lyx: some translations
- German Additional.lyx: some ports from branch
- English UserGuide.lyx: a grammar fix

12 years agoFix crash when removing last converter (bug 8178)
Juergen Spitzmueller [Tue, 29 May 2012 12:21:29 +0000 (14:21 +0200)]
Fix crash when removing last converter (bug 8178)

12 years agoLoad bibtopic after hyperref (bug #8005)
Juergen Spitzmueller [Tue, 29 May 2012 11:25:30 +0000 (13:25 +0200)]
Load bibtopic after hyperref (bug #8005)

12 years agoGerman userGuide: port some changes from branch
Uwe Stöhr [Mon, 28 May 2012 22:49:57 +0000 (00:49 +0200)]
German userGuide: port some changes from branch

12 years agoA few more small optimizations noted along the way.
Richard Heck [Mon, 28 May 2012 22:21:22 +0000 (18:21 -0400)]
A few more small optimizations noted along the way.

12 years ago"Performance" fixes suggested by cppcheck
Jean-Marc Lasgouttes [Mon, 28 May 2012 20:41:32 +0000 (22:41 +0200)]
"Performance" fixes suggested by cppcheck

While cppcheck did not turn out any suspicious error messages, using
the "performance" flag highlighted several nitpicks in three categories
 * do not use it++ for iterators, ++it is better
 * do not use size() to test for emptyness, empty() is here
 * do not use "const T" as a function parameter, "const & T" is better

I doubt that any of these is a real performance problem, but the code is cleaner anyway.

12 years agoapostrophe must nt be terminated
Juergen Spitzmueller [Sun, 27 May 2012 11:10:54 +0000 (13:10 +0200)]
apostrophe must nt be terminated

12 years agoinstaller:
Uwe Stöhr [Sun, 27 May 2012 00:16:57 +0000 (02:16 +0200)]
installer:
- install also Qt's image plugins for faster image loading
- update some versions and paths

12 years agocmake/build.bat: correct a path proposal
Uwe Stöhr [Sun, 27 May 2012 00:15:18 +0000 (02:15 +0200)]
cmake/build.bat: correct a path proposal

12 years agolyx2lyx/lyx_2_1.py: remove 2 warnings I accidentally just committed
Uwe Stöhr [Sat, 26 May 2012 17:02:32 +0000 (19:02 +0200)]
lyx2lyx/lyx_2_1.py: remove 2 warnings I accidentally just committed

12 years agolyx2lyx/lyx_2_1.py: fix #8172
Uwe Stöhr [Sat, 26 May 2012 17:00:03 +0000 (19:00 +0200)]
lyx2lyx/lyx_2_1.py: fix #8172

12 years agoadd missing IPA glyph
Juergen Spitzmueller [Sat, 26 May 2012 14:51:37 +0000 (16:51 +0200)]
add missing IPA glyph

12 years agoFix macro termination in IPA inset if next character uses a TIPA shortcut
Juergen Spitzmueller [Sat, 26 May 2012 14:36:24 +0000 (16:36 +0200)]
Fix macro termination in IPA inset if next character uses a TIPA shortcut

12 years agocompile fix
Pavel Sanda [Sat, 26 May 2012 08:16:20 +0000 (10:16 +0200)]
compile fix

12 years agoFix painting of hidden tabbar on gtk
Vincent van Ravesteijn [Fri, 25 May 2012 17:05:38 +0000 (19:05 +0200)]
Fix painting of hidden tabbar on gtk

When there is a single document open, the tabbar gets hidden. The only and selected tab is still visible though as a break in the line delining the tabwidget. To fix this we paint the tabwidget ourselves and remove the presence of the hidden tab.

12 years agoFix bug #8170: Crash when client disconnects unexpectedly
Vincent van Ravesteijn [Thu, 24 May 2012 11:55:41 +0000 (13:55 +0200)]
Fix bug #8170: Crash when client disconnects unexpectedly

When the socket does not exist anymore, we should not try to access it. In
trying to do so, std::map will create a new shared_ptr but this pointer
doesn't point at anything. To prevent this, we explicitly check whether
the socket is available.

12 years ago* cs/Tutorial.lyx typos
Pavel Sanda [Wed, 23 May 2012 19:58:42 +0000 (21:58 +0200)]
* cs/Tutorial.lyx typos

12 years agoTrac browse SVN -> GIT
Pavel Sanda [Wed, 23 May 2012 15:35:08 +0000 (17:35 +0200)]
Trac browse SVN -> GIT

12 years agoStyle.
Richard Heck [Wed, 23 May 2012 12:53:14 +0000 (08:53 -0400)]
Style.

12 years agoFix bug #8166: Crash on clicking away from empty last paragraph
Vincent van Ravesteijn [Wed, 23 May 2012 06:02:40 +0000 (08:02 +0200)]
Fix bug #8166: Crash on clicking away from empty last paragraph

This reverts the previous fix in [0a33374c/lyxgit] and fixes it
differently.

We always have to call 'notifyCursorLeaves', but we only have to make sure
that we call the 'fixIfBroken()' functions first.

12 years agoFix bug #8166: Crash on clicking away from empty paragraph
Vincent van Ravesteijn [Tue, 22 May 2012 23:31:43 +0000 (01:31 +0200)]
Fix bug #8166: Crash on clicking away from empty paragraph

We rely on the 'or' operator to prevent us from calling
'notifyCursorLeaves' if one of the two cursors is broken. This doesn't
work when using the '|' operator. The compiler 'optimizes' the code in
such a way that we always call notifyCursorLeaves anyway. Using the '||'
operator fixes this.

12 years agoTentative fix to #8159: Undo doesn't restore environment depth correctly
Jean-Marc Lasgouttes [Sun, 20 May 2012 22:11:23 +0000 (00:11 +0200)]
Tentative fix to #8159: Undo doesn't restore environment depth correctly

The undo range is extended to encompass all the paragraph after the end that
are a non-zero depth. The reason is that these paragraphs may see their depth
reduced if the last paragraph sees its depth reduced.

Note that there is a memory cost, since we store paragraphs than may not be
modified in practice. This may matter for some pathological files (people
putting all their document at depth 1 for a weird reason?)

I tried to be careful, but this can introduce new bugs. Please test.

12 years agoJust comment
Pavel Sanda [Tue, 22 May 2012 13:54:26 +0000 (15:54 +0200)]
Just comment

12 years agoUpdate customization manual with "nice" info.
Richard Heck [Tue, 22 May 2012 13:26:52 +0000 (09:26 -0400)]
Update customization manual with "nice" info.

12 years agoPrettify the prefs2prefs file a bit.
Richard Heck [Tue, 22 May 2012 13:02:12 +0000 (09:02 -0400)]
Prettify the prefs2prefs file a bit.

12 years agoTypo.
Richard Heck [Tue, 22 May 2012 12:58:55 +0000 (08:58 -0400)]
Typo.

12 years agoForgot to change format in LyXRC.cpp.
Richard Heck [Tue, 22 May 2012 12:58:40 +0000 (08:58 -0400)]
Forgot to change format in LyXRC.cpp.

12 years agoAdd commit to prefs2prefs.
Richard Heck [Tue, 22 May 2012 12:57:25 +0000 (08:57 -0400)]
Add commit to prefs2prefs.

12 years agoAdd "nice" flag for converters, addressing final problem with bug #4624.
Richard Heck [Tue, 22 May 2012 12:23:27 +0000 (08:23 -0400)]
Add "nice" flag for converters, addressing final problem with bug #4624.

12 years agoFix typo.
Richard Heck [Tue, 22 May 2012 12:14:33 +0000 (08:14 -0400)]
Fix typo.

12 years agoUpdate it.po
Enrico Forestieri [Sun, 20 May 2012 21:35:42 +0000 (23:35 +0200)]
Update it.po

12 years agoFix bug #8164: lyxpak.py fails to include filenames with spaces
Enrico Forestieri [Sun, 20 May 2012 14:32:47 +0000 (16:32 +0200)]
Fix bug #8164: lyxpak.py fails to include filenames with spaces

People love embedding spaces in filenames, so account for that.

12 years agoTextMetrics.cpp: comment out addressBreakPoint function
Lars Gullik Bjønnes [Sun, 20 May 2012 08:56:44 +0000 (10:56 +0200)]
TextMetrics.cpp: comment out addressBreakPoint function

Only user of this function is code that has been commented out, comment
out this function as well.

Signed-off-by: Lars Gullik Bjønnes <larsbj@gullik.org>
12 years agode.po: update
Juergen Spitzmueller [Sat, 19 May 2012 11:49:19 +0000 (13:49 +0200)]
de.po: update

12 years ago* sk.po
Kornel Benko [Sat, 19 May 2012 09:10:54 +0000 (11:10 +0200)]
* sk.po

12 years agoIf a file is saved as, reset its master if it has any, thus preventing a crash (bug...
Juergen Spitzmueller [Sat, 19 May 2012 08:16:28 +0000 (10:16 +0200)]
If a file is saved as, reset its master if it has any, thus preventing a crash (bug 8161)

12 years agoRevert this change. Needs more thought
Juergen Spitzmueller [Sat, 19 May 2012 07:56:00 +0000 (09:56 +0200)]
Revert this change. Needs more thought

12 years agoinstaller: Jabref 2.8 is out; updates for next release
Uwe Stöhr [Fri, 18 May 2012 21:23:50 +0000 (23:23 +0200)]
installer: Jabref 2.8 is out; updates for next release

12 years agoseminar.lyx: new example file from Günter Milde (forgot it in last commit)
Uwe Stöhr [Fri, 18 May 2012 21:21:35 +0000 (23:21 +0200)]
seminar.lyx: new example file from Günter Milde (forgot it in last commit)

12 years agoseminar.layout: new version from Günter Milde (bug #7624)
Uwe Stöhr [Fri, 18 May 2012 19:24:28 +0000 (21:24 +0200)]
seminar.layout: new version from Günter Milde (bug #7624)

12 years agostdcontext.inc: fix 2 shortcut clashes (bug #8023), OK for branch too?
Uwe Stöhr [Fri, 18 May 2012 19:02:22 +0000 (21:02 +0200)]
stdcontext.inc: fix 2 shortcut clashes (bug #8023), OK for branch too?

12 years ago* doxy
Pavel Sanda [Thu, 17 May 2012 17:12:27 +0000 (19:12 +0200)]
* doxy

12 years agotypo
Pavel Sanda [Wed, 16 May 2012 16:05:07 +0000 (18:05 +0200)]
typo

12 years ago* Additional.lyx
Pavel Sanda [Wed, 16 May 2012 15:04:26 +0000 (17:04 +0200)]
* Additional.lyx

12 years agoAllow an unnamed buffer to be saved with the same name
Vincent van Ravesteijn [Mon, 14 May 2012 13:26:51 +0000 (15:26 +0200)]
Allow an unnamed buffer to be saved with the same name

The check whether fname != oldname does not work for unnamed buffers.
Therefore, we check explicitly whether the Buffer that already exists with
the same name isn't really the buffer we are trying to save.

12 years agoWe need to clean the HTML id before writing it.
Richard Heck [Mon, 14 May 2012 12:29:17 +0000 (08:29 -0400)]
We need to clean the HTML id before writing it.

12 years agoFix bug #7641: Freeze when removing itemized first paragraph
unknown [Mon, 14 May 2012 12:21:49 +0000 (14:21 +0200)]
Fix bug #7641: Freeze when removing itemized first paragraph

Text::outerFont looks recursively for paragraphs before the current one
which has a lower depth. If such a paragraph cannot be found, depthHook
and outerHook return the current paragraph. As such, we end up in an
infinite loop. So, if we find a par_depth that was the same as the
previous one, we apparently can't find a suitable paragraph and we should
quit the loop.

12 years agoFix bug #7982: LyX does not work if working directory a hard disk drive like D:\
Enrico Forestieri [Mon, 14 May 2012 11:08:30 +0000 (13:08 +0200)]
Fix bug #7982: LyX does not work if working directory a hard disk drive like D:\

In this case, the working dir has already a slash at the end.
Appending another one would result in a path ending with a double slash,
which has a special meaning when used in TEXINPUTS (all subdirs would
be recursively scanned). So, avoid doing that.

12 years agoFix bug #8156.
Richard Heck [Sun, 13 May 2012 17:49:24 +0000 (13:49 -0400)]
Fix bug #8156.
We want the key as id, not the label (which is optional).
We also need a kind of namespace for the citation ids.
We should also clean the id tag before using it.

12 years agoStyle.
Richard Heck [Fri, 11 May 2012 13:13:07 +0000 (09:13 -0400)]
Style.

12 years agoForgot the test case for bug #8116.
Georg Baum [Sun, 13 May 2012 16:54:14 +0000 (18:54 +0200)]
Forgot the test case for bug #8116.

12 years agoFix bug #8116.
Georg Baum [Sun, 13 May 2012 16:41:51 +0000 (18:41 +0200)]
Fix bug #8116.

The string we parse as name may contain backslashes if \csname ... \endcsname
is used. Therefore we have to output it using asInput() instead of cs().

12 years agoNew function BufferList::newInternalBuffer
Vincent van Ravesteijn [Sat, 12 May 2012 12:11:56 +0000 (14:11 +0200)]
New function BufferList::newInternalBuffer

This solves the problem that newBuffer() already use Buffer::isInternal
but there was no chance to set it yet.

12 years agoRemove read_only parameter from newBuffer
Vincent van Ravesteijn [Sat, 12 May 2012 11:54:20 +0000 (13:54 +0200)]
Remove read_only parameter from newBuffer

This parameter defaults to false and it is never set to true. So, we can
better remove the parameter.

12 years agoAllow autoconf 2.69 and automake 1.12
Jean-Marc Lasgouttes [Fri, 11 May 2012 13:44:48 +0000 (15:44 +0200)]
Allow autoconf 2.69 and automake 1.12

12 years agoAdd lo* converters for libreoffice. Fixes #8148.
Richard Heck [Thu, 10 May 2012 20:01:42 +0000 (16:01 -0400)]
Add lo* converters for libreoffice. Fixes #8148.

12 years agoFix again a missing slash in [ce16d82e/lyxgit]
Vincent van Ravesteijn [Thu, 10 May 2012 19:59:37 +0000 (21:59 +0200)]
Fix again a missing slash in [ce16d82e/lyxgit]

12 years agoWhitespace.
Richard Heck [Thu, 10 May 2012 19:44:25 +0000 (15:44 -0400)]
Whitespace.

12 years agoFix #8021: add geany et al. to configure.py
Pavel Sanda [Thu, 10 May 2012 14:26:44 +0000 (16:26 +0200)]
Fix #8021: add geany et al. to configure.py
Patch from Liviu Andronic.

12 years agoFix #8018: add converter for makebeamerinfo (to use with Impressive)
Pavel Sanda [Thu, 10 May 2012 14:14:14 +0000 (16:14 +0200)]
Fix #8018: add converter for makebeamerinfo (to use with Impressive)
Patch from Liviu Andronic.

12 years ago* sk.po
Kornel Benko [Thu, 10 May 2012 10:07:00 +0000 (12:07 +0200)]
* sk.po

12 years agoFix missing slash in [ce16d82e/lyxgit].
Vincent van Ravesteijn [Thu, 10 May 2012 09:55:55 +0000 (11:55 +0200)]
Fix missing slash in [ce16d82e/lyxgit].

12 years agoFix commit [ce16d82e/lyxgit].
Vincent van Ravesteijn [Thu, 10 May 2012 09:26:02 +0000 (11:26 +0200)]
Fix commit [ce16d82e/lyxgit].

12 years agoFix bug #8153: Update to lib/unicodesymbols
Vincent van Ravesteijn [Thu, 10 May 2012 09:19:40 +0000 (11:19 +0200)]
Fix bug #8153: Update to lib/unicodesymbols

Patch from Guenter Milde.

12 years agoTextMetrics::leftMargin(): Explain why the disabled code is wrong
Vincent van Ravesteijn [Thu, 10 May 2012 08:39:38 +0000 (10:39 +0200)]
TextMetrics::leftMargin(): Explain why the disabled code is wrong

12 years agoFix bug #8152: Uneditable long rows for 'Right addresses'
Vincent van Ravesteijn [Wed, 9 May 2012 19:46:37 +0000 (21:46 +0200)]
Fix bug #8152: Uneditable long rows for 'Right addresses'

As long as leftMargin() is not correctly implemented for
MARGIN_RIGHT_ADDRESS_BOX, we should also not do this here. Otherwise, long
rows will be painted off the screen and will not be editable.

12 years agoFix buddies in tabular dialog, patch from John Tapsell.
Pavel Sanda [Wed, 9 May 2012 10:22:40 +0000 (12:22 +0200)]
Fix buddies in tabular dialog, patch from John Tapsell.

12 years agoGuiViewSource - prevent null-pointer crash if backend format is not found.
Pavel Sanda [Wed, 9 May 2012 07:14:11 +0000 (09:14 +0200)]
GuiViewSource - prevent null-pointer crash if backend format is not found.
Patch from John Tapsell.

12 years agoMath.lyx: typos, textual improvements and formatting issues spotted or suggested...
Uwe Stöhr [Mon, 7 May 2012 21:24:56 +0000 (23:24 +0200)]
Math.lyx: typos, textual improvements and formatting issues spotted or suggested by Scott Kostyshak (final part 2)

12 years agoConsistent casing of menu items
Vincent van Ravesteijn [Mon, 7 May 2012 19:25:44 +0000 (21:25 +0200)]
Consistent casing of menu items

12 years ago* sk.po
Kornel Benko [Sun, 6 May 2012 20:05:45 +0000 (22:05 +0200)]
* sk.po

12 years agoAdd revision
Georg Baum [Sun, 6 May 2012 18:49:28 +0000 (20:49 +0200)]
Add revision

12 years agoDisentangle amsmath and amssymb loading.
Georg Baum [Sun, 6 May 2012 18:48:04 +0000 (20:48 +0200)]
Disentangle amsmath and amssymb loading.

This is needed if you load a font package incompatible to amssymb manually
(see bug #5058).

12 years agoAlso generate a packages.lst when configuring without LaTeX
Vincent van Ravesteijn [Fri, 4 May 2012 12:56:37 +0000 (14:56 +0200)]
Also generate a packages.lst when configuring without LaTeX

A default txtclass.lst is generated, but no packages.lst was generated.
This causes every start to run configure.py.

12 years agoProperly mark a buffer as internal
Vincent van Ravesteijn [Sun, 6 May 2012 18:06:28 +0000 (20:06 +0200)]
Properly mark a buffer as internal

Checking the extension of the temporary filename doesn't work anymore
since the naming of temporary files was corrected.

12 years agoImport table cells in turn environment.
Georg Baum [Sun, 6 May 2012 17:12:51 +0000 (19:12 +0200)]
Import table cells in turn environment.

This is a part of bug #8081: Translate cells in
\begin{turn}{number}...\end{turn} to native syntax.

12 years agoImport table cells in sideways environment.
Georg Baum [Sun, 6 May 2012 16:47:53 +0000 (18:47 +0200)]
Import table cells in sideways environment.

This is a part of bug #8081: Translate cells in
\begin{sideways}...\end{sideways} to native syntax. The turn environment
comes in a later commit, since this one os suitable for backporting.

12 years agoDo not swallow newlines after \usepackage.
Georg Baum [Sun, 6 May 2012 15:37:09 +0000 (17:37 +0200)]
Do not swallow newlines after \usepackage.

12 years agoDo not swallow math comments in tex2lyx.
Georg Baum [Sun, 6 May 2012 14:46:06 +0000 (16:46 +0200)]
Do not swallow math comments in tex2lyx.

This is not needed, since LyX supports comments in math. Data loss with math
comments containing a backslash in LyX has been fixed as well.
The test case was found in bug #8104.

12 years agoStrip gecos on Unix systems on user name only.
Pavel Sanda [Sun, 6 May 2012 11:36:54 +0000 (13:36 +0200)]
Strip gecos on Unix systems on user name only.
Patch from Scott Kostyshak.

12 years agoFix compilation
Vincent van Ravesteijn [Thu, 3 May 2012 15:56:52 +0000 (17:56 +0200)]
Fix compilation

Compile fix for [b0b8e5f5/lyxgit].

12 years agoFix bug #5167: Correctly paint special characters in InsetMathFont
Vincent van Ravesteijn [Thu, 3 May 2012 13:51:55 +0000 (15:51 +0200)]
Fix bug #5167: Correctly paint special characters in InsetMathFont

When using, e.g., a 'mathcal' inset in math, the inline completion and
other special characters like '\#', '{..}' are are painted in the
'mathcal' font as well. This is overcome by setting the mathnormal font
before painted these characters.

12 years agoMove metrics computation close to drawing for drawStrRed/Black
Vincent van Ravesteijn [Thu, 3 May 2012 14:28:28 +0000 (16:28 +0200)]
Move metrics computation close to drawing for drawStrRed/Black

12 years agoconfigure.py: Replace 'ltx' by 'log' case insensitively
Vincent van Ravesteijn [Thu, 3 May 2012 13:11:10 +0000 (15:11 +0200)]
configure.py: Replace 'ltx' by 'log' case insensitively

On windows the temporary filename consists of uppercase characters. This
causes that the extension does not get replaced, and the logfile is left
behind.

Checking the extension case insensitively will correctly remove the
logfile.

12 years agoExclude stdinsets.inc from basic layout if we exclude stdclass.inc
Vincent van Ravesteijn [Thu, 3 May 2012 10:02:34 +0000 (12:02 +0200)]
Exclude stdinsets.inc from basic layout if we exclude stdclass.inc

If loading a basic layout fails, we try to load a basic layout without
stdclass.inc instead. However, this still 'implicitly' requires
stdinsets.inc. If the load failed because stdclass.inc couldn't be loaded,
we expect that stdinsets.inc can't be loaded as well, so we should exclude
stdinsets.inc as well.

This prevents an assertion if stdinsets.inc can't be found or can't be
loaded. This can happen when the layouts have the wrong format and python
is not available.

12 years agoAlways require a mask to get a temporary filename
Vincent van Ravesteijn [Thu, 3 May 2012 09:55:54 +0000 (11:55 +0200)]
Always require a mask to get a temporary filename

If no mask is supplied or the mask is attached to the end of the filename, we end up with unexpected names like
  <system-temp-dir>\lyx_tmpdir.qHp780.vcr780_<mask>
instead of a temporary file in the lyx temporary directory like
  <system-temp-dir>\lyx_tmpdir.qHp780\<mask>.vcr780.

12 years agoFix on screen display of nested enumerations in Spanish and Galician
Jean-Marc Lasgouttes [Thu, 3 May 2012 13:44:58 +0000 (15:44 +0200)]
Fix on screen display of nested enumerations in Spanish and Galician

This is an old bug report from 2009 that I stumbled upon while cleaning my mailbox:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg74832.html

It seems that the proposed fix never got applied: translate properly enumii/enumiii/enumiv in es.po.

After checking in babel sources which packages changes the enum* counters, I did the same thing to gl.po