Commit Graph

29494 Commits

Author SHA1 Message Date
Juergen Spitzmueller
0a61ff1342 Set cursor pos after cursor idx to avoid invalid cursor.
Fixes: #9076
2014-04-04 16:28:21 +02:00
Uwe Stöhr
20a0089dba fr.po: translation for LyX 2.0.8 by Jean-Pierre 2014-04-04 01:30:45 +02:00
Uwe Stöhr
fb94fbe80c sv.po: update by Jim 2014-04-04 01:21:08 +02:00
Uwe Stöhr
de8fda2a58 French splash.lyx: a fix by Jean-Pierre 2014-04-03 02:10:59 +02:00
Uwe Stöhr
d3bc1cc923 Intro.lyx: change a sentence to avoid misunderstandings
- as reported today on the lyx-docs list
2014-04-02 01:47:21 +02:00
Uwe Stöhr
f7e27c6d76 xypic.lyx: updates from Jean-Pierre for 2.0.8 2014-03-29 05:08:37 +01:00
Uwe Stöhr
1629299a04 es.po: update for 2.0.8 from Ignacio 2014-03-29 04:19:54 +01:00
Enrico Forestieri
0f31529712 Update it.po 2014-03-28 02:10:50 +01:00
Uwe Stöhr
0cd2054d9f ja.po: update from Koji for 2.0.8 2014-03-27 23:45:37 +01:00
Uwe Stöhr
739247ba65 id.po: update for 2.0.8 from Waluyo 2014-03-27 22:54:24 +01:00
Uwe Stöhr
bfec87695b uk.po: translation update for 2.0.8 from Yuri 2014-03-27 00:19:58 +01:00
Richard Heck
a834a19b6d Remerge strings. 2014-03-26 13:23:03 -04:00
Pavel Sanda
765a5f0356 * cs.po 2014-03-25 22:25:26 -07:00
Kornel Benko
15996926b4 * sk.po 2014-03-25 17:20:51 +01:00
Richard Heck
b84b6385d7 Remerge strings. 2014-03-25 11:05:22 -04:00
Richard Heck
e31e254e7e Fix problem with backport 0fc6cfcd.
The --binary-dir option does not exist in branch.
2014-03-25 11:01:14 -04:00
Juergen Spitzmueller
57376099b1 de.po 2014-03-25 09:25:55 +01:00
Juergen Spitzmueller
c06c1c3195 In Paragraph::changeCase, correctly track the font of the changed characters (fix crash)
Fixes: #7943
2014-03-24 16:21:20 +01:00
Juergen Spitzmueller
2c88e6ab2f Do not allow the manual insertion of a directory (without filename) into the import dialog and thus prevent an assertion.
Fixes: #7437(cherry picked from commit afd897029917a083fbeb84cccd4e6cb0a21db7ed)
2014-03-23 19:00:15 -04:00
Benjamin Piwowarski
9fef2346d6 Updated status for commit 0fc6cfcdcb 2014-03-23 12:05:46 +01:00
Juergen Spitzmueller
6979ec6818 style 2014-03-23 11:23:06 +01:00
Juergen Spitzmueller
0cad43a114 Fix assertion when ChkTeX hit math.
The problem here was that we used texted-only methods (via paragraph()), which triggered the assertion as soon as we were inside math.

Fixes: #8798
2014-03-23 11:21:06 +01:00
Juergen Spitzmueller
aceb9d9f29 Do not crash when entering math in ct mode with merge dialog open.
Fixes: #7685.
2014-03-23 10:45:58 +01:00
Juergen Spitzmueller
1c35155810 Fix selection drawing after mouse-double/triple in mathed
Fixes: #8829
2014-03-23 10:35:36 +01:00
Juergen Spitzmueller
e6af49a9f5 InsetListings: Rewrite C-ism in C++ and fix terminator bug.
The rewriting is completely done by JMarc. The terminator bug fix has been added to that by me.

Fixes: #8985
Conflicts:
	src/insets/InsetListings.cpp
2014-03-23 10:24:53 +01:00
Scott Kostyshak
c56fc4c5f4 Focus on buffer after section select in Outliner 2014-03-23 10:03:26 +01:00
Juergen Spitzmueller
a62cfc6024 Fix section-select when issued from outliner
Fixes: #8936
2014-03-23 10:02:17 +01:00
Richard Heck
e60af4e98a Patch from Enrico fixing a problem with the lyxpak.py script when
"Add Bibliography to TOC" is used. Fixes #9044.
(cherry picked from commit 1fe2910774b5f1d673e3f85349c8d360023214db)
2014-03-22 20:27:05 -04:00
Benjamin Piwowarski
bfb6d68447 Avoids const_cast in configure_command by using mutable 2014-03-22 10:03:41 +01:00
Benjamin Piwowarski
0fc6cfcdcb Fix problem with python and change of PATH
- waits that lyxrc has been read before finding python
- when the PATH changes, resets the value
2014-03-22 09:36:19 +01:00
Jean-Marc Lasgouttes
e72b3f8e3e Fix bug #8837: LyX hangs on selection
The code that checks whether the cursor was at the end of a row in
Cursor::upDowninText was not able to set boundary correctly. This
causes a hang in because the cursor got stuck on a line and there is an
infinite loop BufferView::dispatch when trying to go down.

The fix is to avoid using the watered-down TextMetrics::x2pos wrapper
around getColumnNearX and use the real thing instead.

Eventually, the last user of x2pos (InsetTabular) should be fixed and
the method should go away.
2014-03-19 17:15:00 +01:00
Uwe Stöhr
f5940d5e18 sv.po: fix a translation bug #7830 now completely 2014-03-13 01:20:38 +01:00
Uwe Stöhr
d9700daf8d sv.po: fix a translation bug #7830 2014-03-13 01:10:09 +01:00
Uwe Stöhr
e1f5737d34 zh_CN.po: fix a typo reported in bug #9033 2014-03-10 22:43:26 +01:00
Scott Kostyshak
b3cf238f4b status: fix a ticket number 2014-03-04 12:54:23 -05:00
Jean-Marc Lasgouttes
191d44a557 Fix bug #8884: Crash when "navigate to next change"
The two fixes here a obviously right, although it is not clear why they are sufficient to fix the bug. Anyway I cannot reproduce any crash with it.

 * the first part just conditions a whole if/else to change_next_pos.changed(). Originally, only the if branch was concerned.

 * the second part is to avoid calling CursorSlice::backwardPos() when position is 0. Doing this leads to an assertion.
2014-03-04 10:25:32 +01:00
Jean-Marc Lasgouttes
5c0cf4cc51 Fix bug #8998: changed document setting is recoded twice as undo
The general trick to avoid this kind of problems is to use undo groups.
2014-03-04 10:06:37 +01:00
Uwe Stöhr
cc071bb34d zh_TW.po: huge translation update by Mingyi Wu 2014-02-27 00:59:14 +01:00
Juergen Spitzmueller
3f317d1f2d Fix compilation after 4277e8b733 2014-02-26 17:20:30 +01:00
Richard Heck
4277e8b733 Table cells are insets, but not from the point of view of DocIterators
and Cursors. So just calling InsetText::addToToc for the cells causes
problems, because InsetText::addToToc then adds the cell inset itself
as part of the DocIterator. This then leads to assertions, such as bug

The solution is to refactor InsetText::addToToc so that we can call the
iterating part without adding the inset.
(cherry picked from commit 6a85db2307)
2014-02-26 10:37:05 -05:00
Georg Baum
c7596ec4b2 Fix bug #8784 (mathml export for scripts)
For displaystyle scripts we need to use munder, mover or munderover.
2014-02-22 19:18:16 +01:00
Enrico Forestieri
64be8c6553 Fix bug #8889 by always issuing \protect in fragile environments.
(cherry picked from commit 3c1969574f)
2014-02-22 10:35:07 -05:00
Georg Baum
e09faf7ce6 Fix bug #8891 (wrong depth of copied text)
This was an obvious thinko: When pasting a paragraph list the depth of the
pasted paragraphs need to be adjusted, so that no paragraph has a negative
depth afterwards. However, the maximum allowed depth was only adjusted after
the second and following pasted paragraphs. Since the computed value was only
used for the subsequent paragrph this meant that the second paragraph did
still use the same maximum allowed depth as the first one, which came from the
paragraph the text as pasted into. This was wrong e.g. in case the outside
paragraph was a standard paragraph (max_depth = 0), and the first pasted
paragraph was an enumeration (max_depth = 1). Therefore, max_depth needs to
be adjusted also after the first pasted paragaph. Since the adjustment is
done aftre max_depth was used for the current paragraph the condition
mentioned in the comment is still met.
(cherry picked from commit 270201ed67)
2014-02-22 10:21:34 -05:00
Uwe Stöhr
53771a2716 status.20x: [aba0b41f/lyxgit] fixed 2 bugs 2014-02-19 21:29:45 +01:00
Jean-Marc Lasgouttes
a5cab01a9f Fix bug 6055: change-next does not work in tables
The problem was just the faulty use of CursorSlice::at_begin/end(), which does not look for end of cell, but end of inset.
(cherry picked from commit 68202fdf44)
2014-02-19 09:36:27 -05:00
Juergen Spitzmueller
aba0b41fdc Handle is_child runparam in preview (bug #8445)
(cherry picked from commit 1ace930f7d)
2014-02-19 09:25:41 -05:00
Richard Heck
9e9e02d285 Fix bug #8540 by not resetting the GUI if the request came from
the minibuffer. As the comments explain, this leaves a different
bug, but (a) it isn't a crash and (b) it probably won't affect
many users, if *any* users.
(cherry picked from commit 7220f1459e)
2014-02-18 11:03:46 -05:00
Scott Kostyshak
0b47d745d9 Add Dustin J. Mitchell to contributors 2014-02-17 09:46:59 -05:00
Scott Kostyshak
b36b59d06a csv2lyx: use universal newlines when reading CSVs
Patch from Dustin J. Mitchell.
2014-02-16 00:11:34 -05:00
Scott Kostyshak
2ec8880e47 Shortcut box now stays open if bad input (#8703)
This allows the user to correct the bad input without
having to enter the other fields again in a new dialog.

Patch from Martin Hoffmann.
(cherry picked from commit 27131e655a)

Conflicts:
	lib/generate_contributions.py
2014-02-13 18:07:13 -05:00