Commit Graph

30146 Commits

Author SHA1 Message Date
Georg Baum
4925de1097 Do not output parameters twice if the file was not found (part of bug #6127).
In this case, the inset parameters win in case there is any conflict. The only
exception is "type=eps", since I was too lazy to make the full keyval parser
of tex2lyx available to InsetGraphics in order to parse the special parameter.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40298 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-27 20:12:32 +00:00
Uwe Stöhr
0ac0f56ebc - splash.lyx: update menu names and toolbar buttons to the ones of LyX 2.0.x
- Spanish EmbeddedObjects.lyx: change a word to be consistent

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40297 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-27 17:17:34 +00:00
Uwe Stöhr
10a51558e7 installer: port recent changes from branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40296 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-27 13:53:29 +00:00
Georg Baum
529a018bc3 Fix parsing of stuff with ] in \item arguments (part of bug #6127)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40295 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-27 13:29:56 +00:00
Georg Baum
76c5902b40 Parse the picture variant of \framebox correctly (part of bug #6449)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40294 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-27 11:57:47 +00:00
Richard Heck
15a2216dab Update update-po.sh script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40290 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-26 23:49:36 +00:00
Peter Kümmel
f05fc288fb package python script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40284 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-26 10:03:23 +00:00
Jean-Marc Lasgouttes
b45b51bc16 Package.cpp is not autogenerated anymore, there is no need to skip it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40282 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-25 22:55:02 +00:00
Richard Heck
84359f46ce Script for building a maintenance distribution.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40278 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-25 17:45:26 +00:00
Kornel Benko
2ab05007d5 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40271 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-25 10:15:11 +00:00
Uwe Stöhr
2906a35663 tex2lyx: support for Spreadsheet and chess external templates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40270 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-25 01:01:45 +00:00
Uwe Stöhr
62369a7086 sk.po: fix a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40269 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 23:01:17 +00:00
Richard Heck
097fb4f06d Port from branch:
ctex template files: reduce to one file, fix broken language package settings
 (file still contains outdated info and unnecessary preamble code and creates several LaTeX errors about wrong lengths but can be fixed later)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40264 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 22:16:20 +00:00
Richard Heck
c7cf9aef3c Port from branch:
ctex layout files: add required packages and set missing SVN EOL style

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40263 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 22:16:16 +00:00
Richard Heck
ffc2901855 Update Makefile.am after last commit. (Thanks, Julien.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40253 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 19:51:10 +00:00
Richard Heck
fe9cda838e Fix for bug #7883 from Jean-Pierre: Make strings uniform across
modules.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40250 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 18:30:28 +00:00
Richard Heck
2defb9dd07 Fix #7495 by adding layouts for ctex document classes and
corresponding templates. Thanks to Yihui for these.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40247 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 15:45:31 +00:00
Richard Heck
8656d7fda3 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40246 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-23 18:23:11 +00:00
Richard Heck
6e6f036f03 Fix bug #7709. Seems we need to reset the source model here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40245 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-23 16:52:46 +00:00
Richard Heck
05194fa79b Simplify code a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40244 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-23 16:49:34 +00:00
Richard Heck
66af29735c Fix bug #7906. Check the widgets after creating the dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40243 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-23 16:44:31 +00:00
Richard Heck
01dc4e4b83 Didn't mean to include this.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40241 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-22 18:49:16 +00:00
Richard Heck
d38d332d9f Fix bug #7905. We don't want to move out of the inset unless
we've put something into it. (We also don't need to copy an
empty string into it.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40240 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-22 18:40:01 +00:00
Uwe Stöhr
c58290e5f1 FeynmanDiagrams.lyx: add note how to overcome a limitation of the feyn package (bug 7898)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40239 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-21 23:22:22 +00:00
Uwe Stöhr
900787723e EmbeddedObjects.lyx: add section about the calculation of the table width
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40236 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-21 21:13:22 +00:00
Georg Baum
76e90badc0 Beautify documents created by writer2latex (see bug #5187).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40235 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 20:30:12 +00:00
Georg Baum
3f8a615477 Fix bug in paragraph detection (can be seen in test case of bug #5187):
If we want to look at the token after the next token, it may be needed
to call tokenize_one() twice and not only once as done in good().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40234 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 20:28:55 +00:00
Kornel Benko
3bb577204b Adapt cmake to new boost regex sources
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40233 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 20:10:26 +00:00
Peter Kümmel
8abb5429b9 prepare switch to switch-case in when parsing tex files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40232 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 19:44:08 +00:00
Peter Kümmel
b946aafcbc add some boost files needed by static string-switch in future Text.cpp
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40231 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 19:10:54 +00:00
Peter Kümmel
0f2eab3665 update boost to version 1.48
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40230 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 18:58:15 +00:00
Richard Heck
74ee5c0e69 Add assertion to check for memory leaks and remove the list when
we are done.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40228 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 18:49:12 +00:00
Richard Heck
7e42cfd690 New attempt to fix Pavel's crash, this modifies r40205 and r40207.
The global list of cloned buffers was a bad idea. We don't have multiple
export threads, but we can have multiple autosave threads. So now we keep
more than one of these lists at the same time, and each cloned buffer has
a pointer to the relevant list. Note that this would make multiple export
possible, if we wanted to do that at some time.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40227 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 18:49:05 +00:00
Peter Kümmel
2c978aa6ee run extract script again on boost 1.47: now bcp wants more files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40226 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 18:46:12 +00:00
Georg Baum
0d28af3fba make a bit room for more ifs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40225 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 17:03:00 +00:00
Pavel Sanda
4dfc036cce * Additional.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40223 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-20 12:10:20 +00:00
Stephan Witt
c0bbc020a5 #7894 explain the status column of mac bindings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40221 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-19 21:55:18 +00:00
Uwe Stöhr
5dec8d7533 - spreadsheet.lyx: there is no reason why the file format was changed (please keep our docs, examples and templates in sync with branch whenever possible)
- sheet.*: remove the files (Richard, there is a SVN command with which you can rename files. SVN will then take care about everything except of the makefile)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40218 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-19 05:44:20 +00:00
Richard Heck
6be38da1ff This commented-out line has been there since r13692! I think we can
get rid of it.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40217 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 23:32:58 +00:00
Richard Heck
3c93d50789 Restore change from OpenOffice to LibreOffice.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40216 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 21:49:18 +00:00
Richard Heck
2fe7dcc5cc Fixes for bug #7870 from Helge. Adds Gnumeric support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40215 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 21:46:24 +00:00
Richard Heck
eef5148a49 Fix bug #7873. Patch is sufficiently explanatory.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40212 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 21:34:40 +00:00
Richard Heck
14c10e40a8 Fix bug #7872: Mark Buffer dirty after changing branch activation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40211 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 20:48:54 +00:00
Uwe Stöhr
c93f5c06d8 French EmbeddedObjects.lyx: translations and revision by Siegfried
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40210 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 01:29:57 +00:00
Richard Heck
eecb001e95 Make sure we aren't trying to reuse the global variable, and make
sure we aren't leaking any cloned buffers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40208 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-17 18:26:42 +00:00
Kornel Benko
07b7a1cc21 * sk.po
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40207 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-17 18:11:23 +00:00
Richard Heck
a8d12fdd66 Fix crash reported by Pavel. Multiply included children would crash
the destructor since we could, in some cases, end up deleting them
multiple times. So we need to keep a list of the Buffers we need to
delete, kind of like the BufferList.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40205 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-17 17:58:22 +00:00
Richard Heck
6e15590764 Revert previous patch to get a decent log message.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40204 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-17 17:58:18 +00:00
Richard Heck
75dc38ca74 Merge branch 'PavelCrash2'
Conflicts:
	src/Buffer.cpp

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40203 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-17 17:54:20 +00:00
Richard Heck
de3148c7c3 Simplify code slightly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40202 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-17 17:29:38 +00:00