Commit Graph

28940 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
1ae4cdcd5c Update status.20x 2012-05-14 15:49:31 +02:00
Vincent van Ravesteijn
7dfca01f48 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.
(cherry picked from commit 30475664d3)
2012-05-14 15:43:24 +02:00
Vincent van Ravesteijn
d475caf278 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.
(cherry picked from commit b17250d7eb)
2012-05-14 15:09:21 +02:00
Enrico Forestieri
3a3f6c838c Backport fix for 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.

(cherry picked from commit 93ebb7a863)
2012-05-14 08:56:35 -04:00
Richard Heck
b5d7ebd45c Remove obsolete reference to usetempdir. 2012-05-14 08:48:40 -04:00
Richard Heck
1e27b1d144 Updates to Customization manual from Scott. 2012-05-14 08:45:59 -04:00
Vincent van Ravesteijn
4bde597fc1 Windows installer: Update code for QtPlugins
Now, the precompiled binaries from Nokia can be used.
2012-05-13 21:00:40 +02:00
Vincent van Ravesteijn
b4850ff248 Windows installer: Update for latest ImageMagick 2012-05-13 21:00:38 +02:00
Vincent van Ravesteijn
eaf059fd46 Windows installer: Update links in uninstaller 2012-05-13 21:00:30 +02:00
Vincent van Ravesteijn
38a8538194 Windows installer: Detect Inkscape when installing 2012-05-13 20:59:51 +02:00
Vincent van Ravesteijn
8c9da0c2d6 Fix bug #7870: Win installer: check for Gnumeric
Gnumeric is needed for the spreadsheet external inset template.
2012-05-13 20:59:15 +02:00
Vincent van Ravesteijn
4434df7bf0 status.20x for [86d8e5cf\lyxgit] 2012-05-13 20:56:25 +02:00
Vincent van Ravesteijn
86d8e5cfc5 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.
(cherry picked from commit 92ac678715)
2012-05-13 20:51:37 +02:00
Vincent van Ravesteijn
c9cbd538b8 New function BufferList::newInternalBuffer
This solves the problem that newBuffer() already use Buffer::isInternal
but there was no chance to set it yet.

(cherry picked from commit 6cf1847b31)
2012-05-13 20:50:57 +02:00
Georg Baum
0b60b468c4 forgot status as well 2012-05-13 20:48:43 +02:00
Richard Heck
c1e8933eb8 Status for previous commit. 2012-05-13 14:07:45 -04:00
Richard Heck
3192dc16a9 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.

(cherry picked from commit 207d7e4ada)
2012-05-13 14:02:10 -04:00
Georg Baum
30219ffc37 Forgot the test case for bug #8116. 2012-05-13 19:42:53 +02:00
Georg Baum
72023030d9 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().
2012-05-13 19:42:41 +02:00
Jean-Marc Lasgouttes
bba0c9aa22 Correctly ignore the pot file when one uses version-suffix 2012-05-11 17:39:31 +02:00
Jean-Marc Lasgouttes
dbcfbe5b76 In replaceSelectionWithString, do not select the new string
This is a patch from Scott Kostyshak. The problem it solves is as follows:

1. enable continuous spell check.
2. type a misspelled word and press space so that it has a wavy red underline.
3. right-click and choose a suggested replacement word.
4. press the backspace button.

Result: nothing happens. If you press the backspace button again, then it works as normal.

The selection code was added for the benefit of the spellchecker, but the code has been rewritten since then.
2012-05-11 17:37:41 +02:00
Jean-Marc Lasgouttes
b27f3755ae Allow autoconf 2.69 and automake 1.12 2012-05-11 15:59:19 +02:00
Richard Heck
fc3ed37c50 Add LibreOffice converters for ODT. 2012-05-11 08:01:58 -04:00
Richard Heck
a223441391 Status for last commit. 2012-05-10 16:20:43 -04:00
Richard Heck
57e5eba4c1 Backport fix for bug #8087: Include children in plaintext export.
(cherry picked from commit 98a810c9d8)

Forgot the return value.
(cherry picked from commit 0459c43769)
2012-05-10 16:10:22 -04:00
Vincent van Ravesteijn
6ff6d24355 Fix a missing slash in [6541b6bd/lyxgit]
(cherry picked from commit ae09edbf7b)
2012-05-10 22:03:45 +02:00
Vincent van Ravesteijn
6541b6bd6c Fix bug #8153: Update to lib/unicodesymbols
Patch from Guenter Milde.
2012-05-10 17:58:38 +02:00
Pavel Sanda
9397d6217d Backport 17e8ea8a (#8018). 2012-05-10 17:34:11 +02:00
Pavel Sanda
9f51e76f8c Backport fb45a49d (#8021). 2012-05-10 17:28:53 +02:00
Uwe Stöhr
a4e83866bf Math.lyx: typos, textual improvements and formatting issues spotted or suggested by Scott Kostyshak (final part 2) 2012-05-07 23:23:34 +02:00
Uwe Stöhr
213f8f7237 Merge branch '2.0.x' of git.lyx.org:lyx into 2.0.x 2012-05-07 22:21:04 +02:00
Uwe Stöhr
6fc2abe7e6 CREDITS, generate_contributions.py: correct a mail address 2012-05-07 22:20:41 +02:00
Vincent van Ravesteijn
b59496c70d 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.

(cherry picked from commit 5279d5a8a5)
2012-05-06 23:12:49 +02:00
Vincent van Ravesteijn
17c6bb42e5 Factor out painting of text decorations
(cherry picked from commit 53b75399e7)
2012-05-06 17:55:20 +02:00
Vincent van Ravesteijn
cf27d693d8 Fix bug #953: Paint text decorations for spaces
(cherry picked from commit c671703f05)
2012-05-06 17:23:23 +02:00
Vincent van Ravesteijn
abce7966e6 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.

(cherry picked from commit 6377296492)
2012-05-06 17:23:21 +02:00
Vincent van Ravesteijn
58946a2996 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.

(cherry picked from commit 5e4e4b674c)
2012-05-06 17:23:20 +02:00
Vincent van Ravesteijn
53cea14986 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.

(cherry picked from commit a02bfeebc5)
2012-05-06 17:23:18 +02:00
Vincent van Ravesteijn
9f25da8c12 Status.20x entry for [7d619f43/lyxgit] 2012-05-06 17:21:30 +02:00
Kornel Benko
fd055b1541 * sk.po 2012-05-06 16:20:36 +02:00
Georg Baum
7a87c2f710 Forgot status.20x. 2012-05-06 13:06:01 +02:00
Georg Baum
1be371baae Fix bug #8104 (\date argument was eaten)
I introduced this bug in r40091 where support for empty dates was added.
I also noticed that the title_layout_found flag was not properly passed down
to all variants of parse_text*. Since this is rather a global variable I
placed it into the preamble class.

The test case of bug #8104 shows other problems as well, but those are no
regressions and will be fixed separately.

OK for branch?
2012-05-06 12:42:11 +02:00
Richard Heck
773f2b365c Status for last commit. 2012-05-03 15:42:21 -04:00
Richard Heck
515708f6eb Backport fix for #7611.
Repairs to case environment, from Paul Rubin. Modified by RGH to use
enumitem, since we already have a module for that, and there will be
conflicts between enumerate.sty and enumitem.sty.

A side effect of this, however, is that we will load enumitem.sty
whenver we use case environments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40492 a592a061-630c-0410-9148-cb99ea01b6c8
(cherry picked from commit 4663e5ec88)

Conflicts:

	lib/layouts/theorems.inc
2012-05-03 15:34:37 -04:00
Jean-Marc Lasgouttes
7d619f43cd 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
2012-05-03 16:52:16 +02:00
Richard Heck
264948348e Fix bug 8124. We enable LFUN_INSET_MODIFY in InsetBox if it
is intended for us, i.e., if the first argument is "box". Maybe we
should also check to make sure that the rest of the arguments are
good, but we used just to return true no matter what the argument
was, so this is an improvement.

LFUN_INSET_MODIFY is really kind of a mess.
2012-05-02 17:43:18 -04:00
Vincent van Ravesteijn
3a53a52b1c Fix bug #7914: Freeze on docbook export of lists and bibliography
The LATEX_LIST_ENVIRONMENT and LATEX_BIB_ENVIRONMENT type paragraphs are
not yet implemented in DocBook export. However, we need to actively skip
these paragraphs in order not to end up in an endless loop.

(cherry picked from commit fa9bd04ea4)
2012-05-02 18:27:13 +02:00
Vincent van Ravesteijn
2e771bf78d Fix bug #8089: Handle spaces at the end of the stream
If the stream is good (i.e. there are still tokens) and we expect an
argument, we call getArg(). However, if there are only spaces, the stream
suddenly isn't good anymore after 'skipSpaces' and we would get an error
when calling 'getChar'. Therefore we have to check whether the stream is
still good.

MathParser: Do not rewind the stream if we can't read from it

If the stream is not good, we don't need to 'putback', because we didn't
read anything yet. If we now do rewind the stream, we are asking for
problems as in bug #8089.

This was introduced in [3cafb856\lyxgit] to fix bug #4318.

(cherry picked from commit 26dcfcd343)
(cherry picked from commit 1ef930c058)
2012-05-02 18:24:24 +02:00
Richard Heck
db58480950 Update NEWS. 2012-05-02 11:32:52 -04:00
Richard Heck
f79fd6013e More re-ordering, again mostly to test emails. 2012-05-02 11:28:15 -04:00