Commit Graph

22912 Commits

Author SHA1 Message Date
Richard Heck
2eee737d00 Cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31912 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 02:26:01 +00:00
Richard Heck
31d932df89 Just some cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31911 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 02:19:02 +00:00
Richard Heck
0fb63fb10e Just some style, and some comments, as I try to figure this out.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31910 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-09 00:55:37 +00:00
Richard Heck
288e249ba2 Constness.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31909 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 22:37:28 +00:00
Enrico Forestieri
f83a6cc3af Don't use updateMacros() in the math parser, in order to avoid
performance problems when loading documents with lots of macros.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31907 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 18:47:33 +00:00
Uwe Stöhr
83c0e43068 UserGuide.lyx: fix fileformat again, sorry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31906 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 18:46:39 +00:00
Enrico Forestieri
c34cff8d11 In order to avoid confusion, always use buf in Parser::parse1(),
instead of mixed usage of buffer_ and buf.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31905 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 18:22:57 +00:00
Abdelrazak Younes
1ff07e2958 remove unneeded setBuffer().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31904 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 16:16:36 +00:00
Abdelrazak Younes
d1df0f1c13 oups... fix previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31903 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 16:14:22 +00:00
Abdelrazak Younes
882e2eeb7b InsetCommand ctor: Pass 'Buffer *'
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31902 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 16:10:34 +00:00
Abdelrazak Younes
82c7e15e64 Uniformize Inset construction (passing Buffer * everywhere). Lots of cleanup to do still...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31901 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 15:53:21 +00:00
Abdelrazak Younes
1a915927b5 Fix crash when copying an InsetTabular.
Buffer should not be set when cloning. If there is bug that was fixed by this line of code it should be fixed later by setting the Buffer after the cloning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31900 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 13:41:29 +00:00
Vincent van Ravesteijn
0d016420ce Fix the new from template functionality. The templatename parameter was magically disappeared in r31704.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31899 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 13:20:08 +00:00
Abdelrazak Younes
ff4460603e Make Buffer argument mandatory in most of the InsetMath based class... boring work...
Math manual loads and save correctly it seems but expect some instability period.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31898 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-08 11:45:46 +00:00
Uwe Stöhr
60ca549de3 configure.py: fix check for eLyXer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31897 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 16:55:23 +00:00
Peter Kümmel
9f386871ae cmake: add Ubuntu packages names to instructions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31894 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 13:23:30 +00:00
Pavel Sanda
dac1c003d6 Unneeded headers.
It would be interesting to know how many headers do we actually use in our code.
Nice task for some script.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31893 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 12:54:19 +00:00
Pavel Sanda
f57a4615cd Header sort order
../treeview.patch

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31892 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 12:54:08 +00:00
Peter Kümmel
daba8bda2e cmake: fix merge build
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31891 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 12:50:30 +00:00
Peter Kümmel
131298543b boost: update to version 1.40
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31888 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 11:55:44 +00:00
Peter Kümmel
651631e812 cmake: add option to suppress install make rules
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31887 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 11:19:57 +00:00
Jürgen Spitzmüller
637d7399a7 * Add new modules for more fine-grained control over theorem numbering.
Modules provided by Paul Rubin (#5880).
* Fix some minor module description issues.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31885 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 10:44:08 +00:00
Uwe Stöhr
78a1996891 - Spanish UserGuide.lyx: updates by Ignacio
- UserGuide.lyx: small improvement

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31884 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 00:44:12 +00:00
Pavel Sanda
90ce0c669f This is still needed for keyboard focus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31878 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 15:56:15 +00:00
Pavel Sanda
d82da9a255 Fix also nomenclature dialog which was refered in #3852
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31875 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 15:22:21 +00:00
Pavel Sanda
5db67312e8 Fix bug #3852.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 15:22:17 +00:00
Enrico Forestieri
a1a34443ef Fix bug #5530: LyX expansion in math-macro overwritten by default one.
This patch initializes the buffer_ member of a MathHull inset in most
(but not all) cases. The problems with buffer_ should be greatly
allievated now, but there still can be some corner case.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31873 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 15:18:48 +00:00
Jean-Marc Lasgouttes
b67cd61d3c Avoid undo grouping error when using Undo or Redo. This is because undo grouping has to be done also when putting stuff on the undo/redo stack.
The solution is just to remove special code :)

I think there is a ticket for this, but I cannot find it.

Abdel, could you please validate my thinking?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31869 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 13:32:58 +00:00
Jürgen Spitzmüller
db93173557 * layouts and templates for svmono and svmult, contributed by Koji Yokota (#6253).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31865 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-06 12:17:24 +00:00
Edwin Leuven
c5b63235f0 reduce line noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31864 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-05 19:51:17 +00:00
Vincent van Ravesteijn
5ebc733ff3 Fix bug #6237: The boundary has to be set correctly when moving up with a selection. If not, the cursor will remain on the same row when there are two e.g. displayed equations after each other. This will cause an infinite loop when SCREEN_UP is executed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31863 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-05 12:58:25 +00:00
Vincent van Ravesteijn
d63403205b Fix bug #5968: Assertion while reading a document with multiple equation labels.
This is another ad-hoc solution for the problem of a zero buffer pointer while reading a document or when using cut&paste.

This simple solution would be suitable for branch.

see also e.g. r29085, r28319, bug #5688.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31861 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-05 00:38:09 +00:00
Jean-Marc Lasgouttes
5ea9cd8b91 Be careful to take in account buffer closing in command-sequence
This is a regression wrt 1.6. Abdel, please double-check.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31859 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-04 16:28:52 +00:00
Vincent van Ravesteijn
d833a023f6 Add a FIXME to a piece of unreachable code. This dates back to r8251.
see http://www.lyx.org/trac/changeset/8251.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31858 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-04 15:30:35 +00:00
Uwe Stöhr
aaf384446a UserGuide.lyx: fix fileformat
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31857 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 21:33:51 +00:00
Uwe Stöhr
1323e9a4cf - tufte-book.lyx, tufte-handout.lyx: remove unneeded note about hyperref
- tufte-book.layout: fix warnings about the counter definition
- tufte-handout.lyx: replace ERT by LyX code
- German tufte-handout.lyx: set EOL style (please don't forget this when adding new textfiles to SVN)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31856 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 21:12:59 +00:00
Jürgen Spitzmüller
61e2d35cb6 * tufte-book: fix demonstration of full-width figure.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31851 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 18:48:19 +00:00
Jürgen Spitzmüller
64eb51aa90 clean up the tufte-book example file (demonstrate class's default settings, omit too subjective remarks)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31849 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 18:27:27 +00:00
Jürgen Spitzmüller
5b5fbdf924 * biblioExample.bib: correct title.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31848 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 17:33:18 +00:00
Jürgen Spitzmüller
f76629a855 German translation of the tufte-handout example.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31845 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 17:24:18 +00:00
Jürgen Spitzmüller
61e53d9f25 * tufte-handout.lyx: some corrections.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31843 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 17:12:58 +00:00
Jürgen Spitzmüller
388c42d340 * biblioExample.bib: add missing entry (used in tufte-handout).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31842 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 16:38:35 +00:00
Vincent van Ravesteijn
a4ccbf67c3 Fix (again) bug #5754: Caption inset not dissolved when unsetting longtable caption row.
I forgot that inset-begin jumps out of the Inset if the cursor is already at the begin.

see r31823.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31839 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 13:06:52 +00:00
Jürgen Spitzmüller
ecfe98e1d1 * tufte-handout.layout: load article.layout after tufte-book.layout, since the latter disables the Abstract, which is valid in the handout class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31837 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 11:52:35 +00:00
Jürgen Spitzmüller
eb55ea93fb * tufte-book.layout: tufte provides hyperref.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31836 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-03 11:26:45 +00:00
Abdelrazak Younes
1ff6b1122b Fix gcc warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31830 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 15:20:36 +00:00
Abdelrazak Younes
938f99cf00 Fix gcc warning.
Richard, please check this out!



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31829 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 15:15:47 +00:00
Vincent van Ravesteijn
3533becc2e Fix bug #6240: Adding table row causes exception that triggers infinite loop in code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31826 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 07:25:05 +00:00
Vincent van Ravesteijn
8f5c3b6219 Fix bug #6144: Remover RegExp from them Menu and give the user the possibility to insert an empty RegExp in the Search field by choosing User defined.. in the Match.. combobox (what use does this option have ?).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31825 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 06:55:40 +00:00
Vincent van Ravesteijn
3b409626f0 Move CollapseStatus from Inset to InsetCollapsable (where it belongs IMO).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31824 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-02 05:03:09 +00:00