Commit Graph

16871 Commits

Author SHA1 Message Date
Enrico Forestieri
268dce39b4 Fix crash on cygwin with completion in text mode.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23308 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 10:28:10 +00:00
Abdelrazak Younes
e56e5e213c InsetMathHull::addToToc(): Work around buffer reference in InsetMathHull. This inset is created at too many places (see Parser::parse1() in MathParser.cpp).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23307 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 10:04:15 +00:00
Abdelrazak Younes
d4cacf3642 Fix crash on exit because of static dummy Buffer.
* Inset::buffer(): replace dummy buffer with exception throwing.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23306 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 07:58:00 +00:00
Richard Heck
77f2d2e7d2 Fix types.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23305 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 07:18:54 +00:00
Richard Heck
a6f8f273e9 Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23304 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 04:05:38 +00:00
Richard Heck
49eebd7b08 Minor cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23303 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 04:00:24 +00:00
Richard Heck
87795753e1 Header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23302 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 03:55:08 +00:00
Richard Heck
3ab571a70e Header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23301 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 03:53:22 +00:00
Richard Heck
a6fccccd56 Header.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23300 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 03:51:10 +00:00
Richard Heck
d8a6b5bfd0 Remove TextClassPtr without losing the type safety it provided.
See these threads:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg136112.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg136062.html
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg135997.html
for some background.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23299 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-28 01:42:02 +00:00
André Pönitz
768cfbb308 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23296 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 23:11:50 +00:00
André Pönitz
1cca0a86bd API cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23295 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 23:03:26 +00:00
André Pönitz
3c5f43af7d cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23294 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 22:33:10 +00:00
André Pönitz
54e314c826 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23293 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 22:23:12 +00:00
André Pönitz
9b39c142b6 remove Buffer & argument in functions realted to embedded files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23292 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 21:51:29 +00:00
Pavel Sanda
f8ba8db758 Fullscreen mode fixes:
- tabbar & frames respect fullscreen mode when adding/removing new tab.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23291 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 21:04:33 +00:00
André Pönitz
f3e89bc3c9 s/cellstruct/CellData/g
s/rowstruct/RowData/g
s/columnstruct/ColumnData/g

closer to the current naming convention.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23290 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 20:59:44 +00:00
André Pönitz
db8c16d554 progress on buffer-reference-in-insets. beware of instabilities...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23289 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 20:43:16 +00:00
Abdelrazak Younes
aede435746 doubly stupid bug fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23288 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 18:00:32 +00:00
Abdelrazak Younes
9fb8d72d62 stupid bug fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23287 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 17:51:33 +00:00
Abdelrazak Younes
e14a0ad50f InsetRef::addTocToc(): add an entry for the referenced label if not already present. Next step is to rebuild the Toc in InsetLabel::addTocToc() for this case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23286 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 17:02:17 +00:00
Abdelrazak Younes
9b9080c0e9 Bug fix: Adjustment for multiple reference to the same label. The solution is still not optimal as any reference to a label after the reference will not get notice. This is because addToToc() is called iteratively through the document so the toc entry for the label is still not created... any idea to fix this is welcome.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23285 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 16:44:57 +00:00
Abdelrazak Younes
c05db366bb He he he, something I've been dreaming of for a long time: label and reference navigator!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23284 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 16:23:27 +00:00
Abdelrazak Younes
7307e07108 fix bug: an Inset label is not editable of course.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23283 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 15:54:30 +00:00
Abdelrazak Younes
39ccaa2ea7 Add list of labels. If I have the time and energy the next step is to cleanup the cross-reference lookup so that we can integrate the cross references in the tree, hence the name "Labels and References".
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23282 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 15:23:22 +00:00
Pavel Sanda
52a6cc6f7d Add doxy.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23281 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 13:16:29 +00:00
Abdelrazak Younes
8c8ff137da Get rid of 'quitting' global variable. It is not needed anymore because all windows are closed in order now and the frontend/core is properly separated.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23280 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 12:30:41 +00:00
Abdelrazak Younes
3128c45b24 GuiView ctor: wrong property!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23279 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 11:56:36 +00:00
Abdelrazak Younes
3ab0bcbf12 typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23278 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 11:45:43 +00:00
Abdelrazak Younes
1d163f25d9 Comment out setQuitOnLastWindowClosed() call.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23277 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 11:44:37 +00:00
Abdelrazak Younes
b39e9e6c8e * GuiView: Make use of the default settings WRT last window closed and app quiting.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23276 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 11:35:12 +00:00
Abdelrazak Younes
7ca1eacac1 Fix http://bugzilla.lyx.org/show_bug.cgi?id=4498
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23275 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 11:23:41 +00:00
Abdelrazak Younes
8446d3dbfc Get rid of LyXFunc::closeBuffer()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23274 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 11:05:58 +00:00
Stefan Schimanski
c0e2c0cd5c * better fix for * math commands. We allow the * for known math commands and for known math macros which are valid at that point in the buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23273 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 10:46:38 +00:00
Stefan Schimanski
dee531e765 * allow macro names with *
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23272 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 10:43:29 +00:00
Abdelrazak Younes
9940ca7730 Cleanup app quitting and window closing now that there is a clean separation between the frontend and the core.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23271 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 10:35:28 +00:00
Uwe Stöhr
e3ffc06f1e EmbeddedObjects.lyx: check for the sidecap package, since it is e.g. no longer by default installed on MiKTeX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23270 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 00:39:38 +00:00
Uwe Stöhr
1b5d8d5738 LaTeXConfig.lyx: tiny formatting fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23266 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-27 00:00:33 +00:00
Uwe Stöhr
412433783a Math.lyx: several fixes for bugs spotted by Ignacio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23264 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 23:32:51 +00:00
Stefan Schimanski
1b0591b28e * fix for http://bugzilla.lyx.org/show_bug.cgi?id=4584:
"not possible to use the command \tag*"


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23263 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 22:40:59 +00:00
Richard Heck
3c944f7bf2 Simplify and fix a bug.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23262 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 22:35:09 +00:00
Stefan Schimanski
d0de0f53ef * set the column with in the popup before showing it. Then it even works.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23261 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 19:20:23 +00:00
Stefan Schimanski
249e6b7ac0 * update the words of a paragraph when the cursor leaves.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23260 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 19:20:12 +00:00
Stefan Schimanski
5622f4b560 * make DocIterator::find(Inset(Math) * inset) do what it is supposed to do according to the documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23259 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 19:19:59 +00:00
Stefan Schimanski
eb86fb460e * escape hides the completion
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23258 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 19:19:34 +00:00
Uwe Stöhr
7f39b79d55 - po remerge
- many German translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23257 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 19:15:25 +00:00
Uwe Stöhr
56f691519f German UserGuide.lyx: updates by Hartmut
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23256 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 18:14:29 +00:00
Uwe Stöhr
1fb4a4a1be chkconfig.ltx: check for nicefrac and units
nicefrac and units are supported by LyX since LyX 1.5.0.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23253 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 17:50:40 +00:00
Uwe Stöhr
02f290a73b de.po: some more translations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23252 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 17:48:59 +00:00
Stefan Schimanski
4413bf3783 * Update::SinglePar is enough, Update::Force is a fullscreen update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23251 a592a061-630c-0410-9148-cb99ea01b6c8
2008-02-26 14:22:56 +00:00