Commit Graph

21891 Commits

Author SHA1 Message Date
Jürgen Spitzmüller
69c333db98 * Buffer.cpp:
- Issue a warning if a path contains uncodable characters (bug 6301).

Trunk follows.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33512 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-19 14:30:56 +00:00
Enrico Forestieri
67ab913033 Avoid possible overruns by dinamically allocating the required buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33499 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 09:41:44 +00:00
Enrico Forestieri
18b02464b4 Operator new[] should always be matched by operator delete[],
even when allocating POD types.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33494 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-18 08:05:27 +00:00
Enrico Forestieri
d616b5215b Fix bug #3325: Labels with special characters in equations do not work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33471 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 19:00:17 +00:00
Kornel Benko
bfc498e884 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33460 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 12:35:08 +00:00
Jürgen Spitzmüller
346f492dc7 * po/*po: remerge: two new strings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33459 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 08:45:23 +00:00
Jürgen Spitzmüller
ef1f3ec29e Fix encoding issues in bibitems (bug #6534)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33458 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 08:40:10 +00:00
Uwe Stöhr
e5560ed838 German splash.lyx: info about special language package when using TeXLive with (K,X)Ubuntu, patch by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33433 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-12 03:10:46 +00:00
Jürgen Spitzmüller
678ace1244 * GuiErrorList.cpp: following André's advice.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33421 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 06:58:52 +00:00
Kornel Benko
b17d1a820f * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33420 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 06:08:53 +00:00
Enrico Forestieri
33d82fe583 Update it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33413 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-11 00:59:44 +00:00
Jürgen Spitzmüller
64ae51be62 * po/*.po: remerge.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33409 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 11:47:03 +00:00
Jürgen Spitzmüller
788eb2926f * GuiErrorList.cpp:
- use GUIfied strings (bug 6397).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33408 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-10 11:42:52 +00:00
Enrico Forestieri
fd43c35d30 Fix bug #6510: URL in the footnote will cause the `CJK' environment to terminate
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33397 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 18:04:24 +00:00
Jürgen Spitzmüller
625e24128e * Enchant.cpp: don't crash if dictionary is not found.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33384 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 14:17:34 +00:00
Uwe Stöhr
75bda70d78 Spanish Math.lyx: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33374 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-09 01:10:28 +00:00
Enrico Forestieri
e440c54a3e Fix bug #6469: Times Roman and \textgreek produce error with pdflatex on a PC
The problem here is that the metafont sources and tfm files are missing
in normal installations, because the Times Roman Greek fonts are not free
and should be purchased. When the grtimes package is not installed, the
fonts are substitued with cmr glyphs. However, if grtimes is installed
and and the actual fonts are missing, an error is generated. So, we simply
check whether the greek fonts are installed and, if they are not, we
perform the font substitution by ourselves. In this way the error is
avoided whether grtimes is installed or not.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33372 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 23:21:16 +00:00
Jürgen Spitzmüller
ffaf6ed365 * status.16x: update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33369 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 17:53:06 +00:00
Jürgen Spitzmüller
879272068b Patch by John McCabe-Dansted to fix bug #6502:
Wrong line count with parent math macros:

* TeXRow.{cpp,h}:
	- new helper function to insert multiple newline at once.

* mathed/MacroTable.{cpp,h}:
* mathed/MacroTemplate.{cpp,h}:
	- make write() an int, returning number of newlines

* Buffer.cpp (writeLaTeXSource):
	- update texrow's newline on parent macro output.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33368 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 17:51:15 +00:00
Uwe Stöhr
811688510c Math.lyx: add description of \displaystyle and friends
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33359 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-08 03:18:43 +00:00
Kornel Benko
8745457d75 Lacking possible non-clashing shortcuts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33348 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-07 08:38:27 +00:00
Kornel Benko
2004b1b380 shortcuts
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33347 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 20:15:29 +00:00
Enrico Forestieri
667031f492 Fix shortcut target for the Content combo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33346 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 19:18:32 +00:00
Vincent van Ravesteijn
99d403dd30 *status.16x update for r33337.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33345 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 18:45:34 +00:00
Jürgen Spitzmüller
d48d80fdd5 * de.po: resolve shortcut conflicts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33344 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 17:10:07 +00:00
Uwe Stöhr
45003ef11f Spanish Math.lyx, UserGuide.lyx: translations by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33342 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 14:59:02 +00:00
Jürgen Spitzmüller
99f8aa0f2f * po/es.po: update by Ignacio.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33338 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 08:22:14 +00:00
Vincent van Ravesteijn
d37683420c branch: Fix bug #6489: Assertion triggered when deleting contents of math ERT. (probably a stdlib assertion).
Do not access name_[0] if name_ has size 0.

see r33290 and r33292.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33337 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-06 01:43:50 +00:00
Jürgen Spitzmüller
af9f0f2281 * po/*.po: remerge following r33333
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33335 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-05 17:13:48 +00:00
Kornel Benko
30fe0f9a2a Extracting also strings containig dash from languages-file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33333 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-05 14:46:51 +00:00
Enrico Forestieri
64ddb9f47d Fix bug #2872: reference in math to label with "underscore"...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33332 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-05 13:33:20 +00:00
Jürgen Spitzmüller
1be79634a9 revert r33326.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33330 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-05 09:24:52 +00:00
Kornel Benko
65c079e75c Change, so that lyx_pot.py is extracting this string too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33326 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 19:39:43 +00:00
Uwe Stöhr
ba01149e73 Math.lyx: update typographic advice
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33322 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 01:22:00 +00:00
Uwe Stöhr
a23eda974b elsarticle.lyx: don't use the geometry package because this leads to option clashes when global document class options are used, see this thread: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg79184.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33320 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-04 00:10:32 +00:00
Enrico Forestieri
38442e9472 Try to mitigate shortcut collisions in it.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33316 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-02 15:58:37 +00:00
Edwin Leuven
93b1b4b35e backport r33088
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33314 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 20:20:35 +00:00
Enrico Forestieri
c47af690de According to André, QLatin1String is cheaper.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33307 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-01 01:14:00 +00:00
Uwe Stöhr
7d0a1269af UserGuide.lyx: fix some typos and add information
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33300 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 18:24:59 +00:00
Uwe Stöhr
6ce8bce3ca - EmbeddedObjects.lyx: fix spelling of the KOMA-Script package
- English EmbeddedObjects.lyx: fix some typos

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33298 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 17:53:36 +00:00
Uwe Stöhr
17bb698b1e EmbeddedObjects.lyx: fix several typos I have overwritten with r33287
(Please apply changes to the docs that are not LyX 2.0-specific only to branch, otherwise I loose the track.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33288 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 04:13:09 +00:00
Uwe Stöhr
dcd8f34bc5 EmbeddedObjects.lyx: fix a typo spotted by a user
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33286 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-31 03:53:17 +00:00
Vincent van Ravesteijn
b9250f26a3 Fix bug #6448: Crash with invalid anchor.
If we check whether a cursor is valid, we should also check the anchor_.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33281 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 18:00:05 +00:00
Vincent van Ravesteijn
aa7903de80 branch: Fix bug #6431: Crash when closing a workarea with a pending completion popup.
The GuiCompleter? has to have a parent, otherwise it is not destroyed when a GuiWorkArea? is destroyed.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33280 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 17:55:10 +00:00
Kornel Benko
3057d99d79 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33274 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-30 12:55:49 +00:00
Kornel Benko
d924bf347b * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33264 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 18:12:44 +00:00
Jürgen Spitzmüller
85e8e0b8cf * InsetTabular.{cpp, h}:
- implement addToToc (bug 6372).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33261 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-29 13:04:02 +00:00
Jürgen Spitzmüller
5d80852425 oops.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33246 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 09:36:59 +00:00
Jürgen Spitzmüller
8af73a3f93 * CutAndPaste.cpp:
- more improvements as suggested by Abdel.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33245 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 09:34:31 +00:00
Jürgen Spitzmüller
3d15a23796 whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@33244 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-28 09:20:50 +00:00