Commit Graph

29165 Commits

Author SHA1 Message Date
Richard Heck
7740226c9f A few more small optimizations noted along the way.
(cherry picked from commit c1e3d795f6)

Conflicts:

	src/tex2lyx/text.cpp
2012-05-28 18:22:50 -04:00
Jean-Marc Lasgouttes
3a09afa985 Backport "Performance" fixes suggested by cppcheck.
These are completely safe, and it seems best to me to keep trunk
and branch in sync whenever possible, as it makes backporting
easier.

(cherry picked from commit a756403301)

Conflicts:

	src/BufferParams.cpp
	src/tex2lyx/Preamble.cpp
	src/tex2lyx/text.cpp
2012-05-28 18:14:15 -04:00
Juergen Spitzmueller
044ef5dc4e add missing IPA glyph 2012-05-28 15:54:31 +02:00
Uwe Stöhr
e85ed820bb German UserGuide.lyx: fix a typo spotted by Hartmut 2012-05-27 03:02:02 +02:00
Enrico Forestieri
3c4af4e0e4 Update it.po 2012-05-26 13:14:45 +02:00
Kornel Benko
4dc065c1ff * sk.po 2012-05-26 10:38:53 +02:00
Richard Heck
c8388c8839 Remerge strings. 2012-05-25 15:39:24 -04:00
Richard Heck
8dcad4942e Changes to update-po.sh. Mostly removing svn stuff. 2012-05-25 15:38:46 -04:00
Pavel Sanda
5f6f5091ab Backport typos to branch 2012-05-23 22:19:44 +02:00
Juergen Spitzmueller
ec24a453c5 de.po: update 2012-05-23 20:11:40 +02:00
Vincent van Ravesteijn
dacab5cf7b Fix bug #8166: Crash on clicking away from empty last paragraph
We always have to call 'notifyCursorLeaves', but we only have to make sure
that we call the 'fixIfBroken()' functions first.
(cherry picked from commit d20cb73b87)
2012-05-23 08:16:03 +02:00
Uwe Stöhr
a96e49ef62 stdcontext.inc: fix 2 shortcut clashes (bug #8023) 2012-05-23 00:47:48 +02:00
Enrico Forestieri
fbf9e5e1c2 Update it.po 2012-05-20 23:12:24 +02:00
Enrico Forestieri
5909fc467a Fix bug #8164: lyxpak.py fails to include filenames with spaces
People love embedding spaces in filenames, so account for that.

(cherry picked from commit fbcf2486d8)
2012-05-20 22:27:08 +02:00
Lars Gullik Bjønnes
d581412353 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>
(cherry picked from commit fb3ecca01c)
2012-05-20 20:41:42 +02:00
Juergen Spitzmueller
993fa89009 If a file is saved as, reset its master if it has any, thus preventing a crash (bug 8161) 2012-05-19 14:03:50 +02:00
Juergen Spitzmueller
c3fef458c7 de.po: updates 2012-05-19 13:30:39 +02:00
Kornel Benko
b28680de11 * sk.po 2012-05-19 11:11:50 +02:00
Uwe Stöhr
ab28040ca4 seminar.lyx: new example file from Günter Milde (forgot it in last commit) 2012-05-18 23:20:20 +02:00
Uwe Stöhr
b0c3dce84f seminar.layout: new version from Günter Milde (bug #7624) 2012-05-18 21:29:21 +02:00
Jürgen Spitzmüller
d33fe5831c Revert change on NON-BREAKING HYPHEN as discussed on the list. 2012-05-17 14:39:10 +02:00
Richard Heck
0cb1c96d01 Typo. 2012-05-17 07:28:11 -04:00
Jean-Marc Lasgouttes
db4cc27f4d Document a few commits I forgot. 2012-05-17 12:59:05 +02:00
Pavel Sanda
583c2a5f95 * Additional.lyx 2012-05-16 17:04:45 +02:00
Richard Heck
6291c0b19f Change this back. 2012-05-14 17:07:42 -04:00
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