Commit Graph

28832 Commits

Author SHA1 Message Date
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
Richard Heck
94f0968e92 Minor cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40201 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-17 17:24:11 +00:00
Richard Heck
2b4fb23941 Clarify by renaming some arguments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40200 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-16 00:38:06 +00:00
Richard Heck
bfad09a073 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40199 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-15 18:24:42 +00:00
Uwe Stöhr
4368237595 EmbeddedObjects.lyx: add info about the dvips color names and fix some issues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40196 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-15 00:13:36 +00:00
Georg Baum
76731046f0 Fix bug #7895: Do not output lines with only a single space.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40193 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-14 21:00:47 +00:00
Uwe Stöhr
966d76f86b tex2lyx/test/test-insets.tex: add a booktabs test table
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40192 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-14 00:13:09 +00:00
Uwe Stöhr
43939f7487 cmake/build.bat: this should not have gone in in my last commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40191 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 20:19:03 +00:00
Uwe Stöhr
b50f96bdfa cmake/build.bat: MSVC 2010 is required to build LyX on Windows for releaes; for install the console must be turned off; the PATH must no contain quotes
(But even with these fixes, the script fails, see my mail.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40190 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 20:05:08 +00:00
Georg Baum
f077658248 Fix bug #4553: booktabs for tex2lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40189 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 19:49:50 +00:00
Uwe Stöhr
a52005c777 external_templates: improve the description of PDFPages (bug #7888)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40188 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 18:03:12 +00:00
Uwe Stöhr
fa7687397f stdmenus.inc: register the Sweave example file as specific manual (bug #7891)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40187 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 18:01:24 +00:00
Georg Baum
a1cef2d55a Fix bug #3036: font changes inside \markright do not escape outside their scope
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40186 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 16:11:45 +00:00
Georg Baum
36f7ae1207 Do not swallow geometry settings if they are given as package options and
replace home made keyval parsing with the more robust process_keyval_opt().


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40185 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 12:23:27 +00:00
Georg Baum
8d707723b7 Fix bug #7668 (cosmetic whitespace issues)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40184 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 11:29:48 +00:00