]> git.lyx.org Git - features.git/log
features.git
16 years agofix bug 4583: crash when processing colored box
Bernhard Roider [Thu, 28 Feb 2008 21:06:00 +0000 (21:06 +0000)]
fix bug 4583: crash when processing colored box
LaTeXFeatures::getPackages() assumes that lcolor.getX11Name(Color_shadedbg) returns a hex color.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23336 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMath.lyx: two more bugfixes spotted by Ignacio
Uwe Stöhr [Thu, 28 Feb 2008 21:05:50 +0000 (21:05 +0000)]
Math.lyx: two more bugfixes spotted by Ignacio

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23335 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMore work towards type safety regarding TextClass's. A couple bugs have been fixed...
Richard Heck [Thu, 28 Feb 2008 21:04:55 +0000 (21:04 +0000)]
More work towards type safety regarding TextClass's. A couple bugs have been fixed here, too, discovered along the way.

Note that we no longer rely upon BaseClassList to be sorted. This would allow layout descriptions---such as "article (AMS)"---to be translated, and the ordering of the list in Document>Settings will then follow the translations.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23334 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoGuiApplication::notify(): fine tune ErrorException handling; close all windows before...
Abdelrazak Younes [Thu, 28 Feb 2008 20:40:55 +0000 (20:40 +0000)]
GuiApplication::notify(): fine tune ErrorException handling; close all windows before showing the alert. This should get rid of the recursive alert box when an the exception is caught.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23333 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoType safety sure will be nice.
Richard Heck [Thu, 28 Feb 2008 19:21:20 +0000 (19:21 +0000)]
Type safety sure will be nice.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23332 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agouses canonical foprm of clone()
André Pönitz [Thu, 28 Feb 2008 19:04:13 +0000 (19:04 +0000)]
uses canonical foprm of clone()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23331 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMissed this when fixing the TextClass::read() API.
Richard Heck [Thu, 28 Feb 2008 18:17:59 +0000 (18:17 +0000)]
Missed this when fixing the TextClass::read() API.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23330 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoComment.
Richard Heck [Thu, 28 Feb 2008 18:16:36 +0000 (18:16 +0000)]
Comment.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23329 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* some warnings less
Stefan Schimanski [Thu, 28 Feb 2008 17:52:15 +0000 (17:52 +0000)]
* some warnings less

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23328 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoset parent
Edwin Leuven [Thu, 28 Feb 2008 16:14:26 +0000 (16:14 +0000)]
set parent

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23327 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCursor::insert(): no reason to exclude mathed. Non willing math insets (MathChar...
Abdelrazak Younes [Thu, 28 Feb 2008 15:40:50 +0000 (15:40 +0000)]
Cursor::insert(): no reason to exclude mathed. Non willing math insets (MathChar) should provide a stub method for setBuffer().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23326 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agorevert revision 23324 and implement a better more general fix in Cursor::insert().
Abdelrazak Younes [Thu, 28 Feb 2008 15:36:48 +0000 (15:36 +0000)]
revert revision 23324 and implement a better more general fix in Cursor::insert().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23325 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix InsetQuotes creation. Not very clean but it does the job. Andre, I think we shoul...
Abdelrazak Younes [Thu, 28 Feb 2008 15:24:37 +0000 (15:24 +0000)]
Fix InsetQuotes creation. Not very clean but it does the job. Andre, I think we should require the Buffer at construction for all insets that needs it. A base InsetBuffer class comes to mind.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23324 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoHmm.
Richard Heck [Thu, 28 Feb 2008 14:58:22 +0000 (14:58 +0000)]
Hmm.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23323 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agobaseclasslist --> BaseClassList singleton. Prep for further type safety.
Richard Heck [Thu, 28 Feb 2008 14:49:01 +0000 (14:49 +0000)]
baseclasslist --> BaseClassList singleton. Prep for further type safety.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23322 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* fix a memory corruption due to sligtly different semantics of btree iterators:
Stefan Schimanski [Thu, 28 Feb 2008 14:46:47 +0000 (14:46 +0000)]
* fix a memory corruption due to sligtly different semantics of btree iterators:

       // We use the key() method here, and not something like it->first
       // because the btree only returns (iterator-) temporary value pairs.
       // If we returned the first component of those here, we get an
       // invalid reference and therefore strange crashes.
       return it.key();

* This should fix the completion for Windows users hopefully.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23321 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* merge InsetMathMakebox and InsetMathFramebox
Stefan Schimanski [Thu, 28 Feb 2008 12:46:32 +0000 (12:46 +0000)]
* merge InsetMathMakebox and InsetMathFramebox
* only output second parameter if the first is available. That's how LaTeX defines make/framebox.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23320 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* fixing the framebox part of http://bugzilla.lyx.org/show_bug.cgi?id=2461:
Stefan Schimanski [Thu, 28 Feb 2008 12:45:36 +0000 (12:45 +0000)]
* fixing the framebox part of http://bugzilla.lyx.org/show_bug.cgi?id=2461:
  "wrong cursor position in \framebox and \makebox environment"

  The drawing and metrics calculations were totally broken.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23319 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* corner cases for RTL completions: RTL<->LTR boundaries
Stefan Schimanski [Thu, 28 Feb 2008 12:44:42 +0000 (12:44 +0000)]
* corner cases for RTL completions: RTL<->LTR boundaries

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23318 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* the longest completion does not depend on the competion.
Stefan Schimanski [Thu, 28 Feb 2008 12:43:56 +0000 (12:43 +0000)]
* the longest completion does not depend on the competion.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23317 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* only remember the last selection if it didn't come by the cursor completion indicator
Stefan Schimanski [Thu, 28 Feb 2008 12:43:24 +0000 (12:43 +0000)]
* only remember the last selection if it didn't come by the cursor completion indicator

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23316 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* correct color for the unique part of the completion in RTL
Stefan Schimanski [Thu, 28 Feb 2008 12:42:58 +0000 (12:42 +0000)]
* correct color for the unique part of the completion in RTL

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23315 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* resorted completion options. Now by text and math.
Stefan Schimanski [Thu, 28 Feb 2008 12:42:34 +0000 (12:42 +0000)]
* resorted completion options. Now by text and math.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23314 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* small indicator in the cursor to show that a completion is available by pressing tab
Stefan Schimanski [Thu, 28 Feb 2008 12:41:57 +0000 (12:41 +0000)]
* small indicator in the cursor to show that a completion is available by pressing tab

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23313 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* completion cursor
Stefan Schimanski [Thu, 28 Feb 2008 12:41:43 +0000 (12:41 +0000)]
* completion cursor

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23312 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* cosmetic
Stefan Schimanski [Thu, 28 Feb 2008 12:41:33 +0000 (12:41 +0000)]
* cosmetic

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23311 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* Inset::buffer(): change to an ErrorException as this can be bad enough to provoke...
Abdelrazak Younes [Thu, 28 Feb 2008 12:29:33 +0000 (12:29 +0000)]
* Inset::buffer(): change to an ErrorException as this can be bad enough to provoke a crash.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23310 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFullscreen fixes (multiple windows & toolbar visibility).
Pavel Sanda [Thu, 28 Feb 2008 11:19:19 +0000 (11:19 +0000)]
Fullscreen fixes (multiple windows & toolbar visibility).
Workaround for http://bugzilla.lyx.org/show_bug.cgi?id=4588 .

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23309 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix crash on cygwin with completion in text mode.
Enrico Forestieri [Thu, 28 Feb 2008 10:28:10 +0000 (10:28 +0000)]
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

16 years agoInsetMathHull::addToToc(): Work around buffer reference in InsetMathHull. This inset...
Abdelrazak Younes [Thu, 28 Feb 2008 10:04:15 +0000 (10:04 +0000)]
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

16 years agoFix crash on exit because of static dummy Buffer.
Abdelrazak Younes [Thu, 28 Feb 2008 07:58:00 +0000 (07:58 +0000)]
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

16 years agoFix types.
Richard Heck [Thu, 28 Feb 2008 07:18:54 +0000 (07:18 +0000)]
Fix types.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23305 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCosmetics.
Richard Heck [Thu, 28 Feb 2008 04:05:38 +0000 (04:05 +0000)]
Cosmetics.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23304 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMinor cleanup.
Richard Heck [Thu, 28 Feb 2008 04:00:24 +0000 (04:00 +0000)]
Minor cleanup.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23303 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoHeader.
Richard Heck [Thu, 28 Feb 2008 03:55:08 +0000 (03:55 +0000)]
Header.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23302 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoHeader.
Richard Heck [Thu, 28 Feb 2008 03:53:22 +0000 (03:53 +0000)]
Header.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23301 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoHeader.
Richard Heck [Thu, 28 Feb 2008 03:51:10 +0000 (03:51 +0000)]
Header.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23300 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoRemove TextClassPtr without losing the type safety it provided.
Richard Heck [Thu, 28 Feb 2008 01:42:02 +0000 (01:42 +0000)]
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

16 years agocosmetics
André Pönitz [Wed, 27 Feb 2008 23:11:50 +0000 (23:11 +0000)]
cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23296 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoAPI cosmetics
André Pönitz [Wed, 27 Feb 2008 23:03:26 +0000 (23:03 +0000)]
API cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23295 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics
André Pönitz [Wed, 27 Feb 2008 22:33:10 +0000 (22:33 +0000)]
cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23294 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agocosmetics
André Pönitz [Wed, 27 Feb 2008 22:23:12 +0000 (22:23 +0000)]
cosmetics

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23293 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoremove Buffer & argument in functions realted to embedded files
André Pönitz [Wed, 27 Feb 2008 21:51:29 +0000 (21:51 +0000)]
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

16 years agoFullscreen mode fixes:
Pavel Sanda [Wed, 27 Feb 2008 21:04:33 +0000 (21:04 +0000)]
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

16 years agos/cellstruct/CellData/g
André Pönitz [Wed, 27 Feb 2008 20:59:44 +0000 (20:59 +0000)]
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

16 years agoprogress on buffer-reference-in-insets. beware of instabilities...
André Pönitz [Wed, 27 Feb 2008 20:43:16 +0000 (20:43 +0000)]
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

16 years agodoubly stupid bug fix.
Abdelrazak Younes [Wed, 27 Feb 2008 18:00:32 +0000 (18:00 +0000)]
doubly stupid bug fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23288 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agostupid bug fix.
Abdelrazak Younes [Wed, 27 Feb 2008 17:51:33 +0000 (17:51 +0000)]
stupid bug fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23287 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoInsetRef::addTocToc(): add an entry for the referenced label if not already present...
Abdelrazak Younes [Wed, 27 Feb 2008 17:02:17 +0000 (17:02 +0000)]
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

16 years agoBug fix: Adjustment for multiple reference to the same label. The solution is still...
Abdelrazak Younes [Wed, 27 Feb 2008 16:44:57 +0000 (16:44 +0000)]
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

16 years agoHe he he, something I've been dreaming of for a long time: label and reference navigator!
Abdelrazak Younes [Wed, 27 Feb 2008 16:23:27 +0000 (16:23 +0000)]
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

16 years agofix bug: an Inset label is not editable of course.
Abdelrazak Younes [Wed, 27 Feb 2008 15:54:30 +0000 (15:54 +0000)]
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

16 years agoAdd list of labels. If I have the time and energy the next step is to cleanup the...
Abdelrazak Younes [Wed, 27 Feb 2008 15:23:22 +0000 (15:23 +0000)]
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

16 years agoAdd doxy.
Pavel Sanda [Wed, 27 Feb 2008 13:16:29 +0000 (13:16 +0000)]
Add doxy.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23281 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoGet rid of 'quitting' global variable. It is not needed anymore because all windows...
Abdelrazak Younes [Wed, 27 Feb 2008 12:30:41 +0000 (12:30 +0000)]
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

16 years agoGuiView ctor: wrong property!
Abdelrazak Younes [Wed, 27 Feb 2008 11:56:36 +0000 (11:56 +0000)]
GuiView ctor: wrong property!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23279 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agotypo
Abdelrazak Younes [Wed, 27 Feb 2008 11:45:43 +0000 (11:45 +0000)]
typo

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23278 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoComment out setQuitOnLastWindowClosed() call.
Abdelrazak Younes [Wed, 27 Feb 2008 11:44:37 +0000 (11:44 +0000)]
Comment out setQuitOnLastWindowClosed() call.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23277 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* GuiView: Make use of the default settings WRT last window closed and app quiting.
Abdelrazak Younes [Wed, 27 Feb 2008 11:35:12 +0000 (11:35 +0000)]
* 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

16 years agoFix http://bugzilla.lyx.org/show_bug.cgi?id=4498
Abdelrazak Younes [Wed, 27 Feb 2008 11:23:41 +0000 (11:23 +0000)]
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

16 years agoGet rid of LyXFunc::closeBuffer()
Abdelrazak Younes [Wed, 27 Feb 2008 11:05:58 +0000 (11:05 +0000)]
Get rid of LyXFunc::closeBuffer()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23274 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* better fix for * math commands. We allow the * for known math commands and for...
Stefan Schimanski [Wed, 27 Feb 2008 10:46:38 +0000 (10:46 +0000)]
* 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

16 years ago* allow macro names with *
Stefan Schimanski [Wed, 27 Feb 2008 10:43:29 +0000 (10:43 +0000)]
* allow macro names with *

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23272 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCleanup app quitting and window closing now that there is a clean separation between...
Abdelrazak Younes [Wed, 27 Feb 2008 10:35:28 +0000 (10:35 +0000)]
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

16 years agoEmbeddedObjects.lyx: check for the sidecap package, since it is e.g. no longer by...
Uwe Stöhr [Wed, 27 Feb 2008 00:39:38 +0000 (00:39 +0000)]
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

16 years agoLaTeXConfig.lyx: tiny formatting fix
Uwe Stöhr [Wed, 27 Feb 2008 00:00:33 +0000 (00:00 +0000)]
LaTeXConfig.lyx: tiny formatting fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23266 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoMath.lyx: several fixes for bugs spotted by Ignacio
Uwe Stöhr [Tue, 26 Feb 2008 23:32:51 +0000 (23:32 +0000)]
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

16 years ago* fix for http://bugzilla.lyx.org/show_bug.cgi?id=4584:
Stefan Schimanski [Tue, 26 Feb 2008 22:40:59 +0000 (22:40 +0000)]
* 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

16 years agoSimplify and fix a bug.
Richard Heck [Tue, 26 Feb 2008 22:35:09 +0000 (22:35 +0000)]
Simplify and fix a bug.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23262 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* set the column with in the popup before showing it. Then it even works.
Stefan Schimanski [Tue, 26 Feb 2008 19:20:23 +0000 (19:20 +0000)]
* 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

16 years ago* update the words of a paragraph when the cursor leaves.
Stefan Schimanski [Tue, 26 Feb 2008 19:20:12 +0000 (19:20 +0000)]
* 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

16 years ago* make DocIterator::find(Inset(Math) * inset) do what it is supposed to do according...
Stefan Schimanski [Tue, 26 Feb 2008 19:19:59 +0000 (19:19 +0000)]
* 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

16 years ago* escape hides the completion
Stefan Schimanski [Tue, 26 Feb 2008 19:19:34 +0000 (19:19 +0000)]
* escape hides the completion

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23258 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago- po remerge
Uwe Stöhr [Tue, 26 Feb 2008 19:15:25 +0000 (19:15 +0000)]
- po remerge
- many German translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23257 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoGerman UserGuide.lyx: updates by Hartmut
Uwe Stöhr [Tue, 26 Feb 2008 18:14:29 +0000 (18:14 +0000)]
German UserGuide.lyx: updates by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23256 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agochkconfig.ltx: check for nicefrac and units
Uwe Stöhr [Tue, 26 Feb 2008 17:50:40 +0000 (17:50 +0000)]
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

16 years agode.po: some more translations
Uwe Stöhr [Tue, 26 Feb 2008 17:48:59 +0000 (17:48 +0000)]
de.po: some more translations

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23252 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* Update::SinglePar is enough, Update::Force is a fullscreen update
Stefan Schimanski [Tue, 26 Feb 2008 14:22:56 +0000 (14:22 +0000)]
* 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

16 years ago* GuiView::closeEvent(): adjust buffer closing WRT multi-view and child documents.
Abdelrazak Younes [Tue, 26 Feb 2008 14:15:32 +0000 (14:15 +0000)]
* GuiView::closeEvent(): adjust buffer closing WRT multi-view and child documents.
- a child document is kept loaded in any case. It is saved if needed before being hidden.
- a document which is not viewed in another window is closed now.
- we do nothing for documents that are also viewed in another window. There is two FIXME related to this last item in the code:

// FIXME 1: should we put an alert box here that the buffer
// is viewed elsewhere?
// FIXME 2: should we try to save this buffer in any case?
//saveBuffer(b);

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23250 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* undeflow fix for i == -1
Stefan Schimanski [Tue, 26 Feb 2008 13:46:54 +0000 (13:46 +0000)]
* undeflow fix for i == -1

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23249 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* factored out hidePopup and hideInline
Stefan Schimanski [Tue, 26 Feb 2008 13:10:04 +0000 (13:10 +0000)]
* factored out hidePopup and hideInline

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23248 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* "show popup without delay"-checkbox was missing a connect
Stefan Schimanski [Tue, 26 Feb 2008 13:09:44 +0000 (13:09 +0000)]
* "show popup without delay"-checkbox was missing a connect

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23247 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* cur.insert does not set the update flags
Stefan Schimanski [Tue, 26 Feb 2008 13:09:06 +0000 (13:09 +0000)]
* cur.insert does not set the update flags

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23246 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* don't show inline if the user did not want it, even when using the popup
Stefan Schimanski [Tue, 26 Feb 2008 13:08:52 +0000 (13:08 +0000)]
* don't show inline if the user did not want it, even when using the popup

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23245 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* paragraph support for the global word list. To make it buffer
Stefan Schimanski [Tue, 26 Feb 2008 13:07:59 +0000 (13:07 +0000)]
* paragraph support for the global word list. To make it buffer
  dependent, we need the buffer pointer. In fact we already have a
  pointer to the text inset. So as soon as inset know their buffer we
  can easily switch to a buffer local word list.
* there might be missing some more places to update the words from a
  buffer, like for example after backspace or more important when the
  cursor leaves a paragraph.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23244 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* grey70 does not exist on linux
Stefan Schimanski [Tue, 26 Feb 2008 13:05:57 +0000 (13:05 +0000)]
* grey70 does not exist on linux

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23243 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoFix warning.
Abdelrazak Younes [Tue, 26 Feb 2008 08:31:00 +0000 (08:31 +0000)]
Fix warning.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23242 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoCode rules.
Richard Heck [Tue, 26 Feb 2008 01:37:05 +0000 (01:37 +0000)]
Code rules.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23241 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* method change_weight to change the weight of a entry.
Stefan Schimanski [Tue, 26 Feb 2008 00:38:55 +0000 (00:38 +0000)]
* method change_weight to change the weight of a entry.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23240 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* segfault fix when deleting the last element from the tree
Stefan Schimanski [Tue, 26 Feb 2008 00:38:41 +0000 (00:38 +0000)]
* segfault fix when deleting the last element from the tree

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23239 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* getWord is const in fact
Stefan Schimanski [Tue, 26 Feb 2008 00:38:30 +0000 (00:38 +0000)]
* getWord is const in fact

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23238 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoNow the right patch:
Stefan Schimanski [Tue, 26 Feb 2008 00:38:14 +0000 (00:38 +0000)]
Now the right patch:

* compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23237 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoComments, cosmetics.
Richard Heck [Mon, 25 Feb 2008 22:19:59 +0000 (22:19 +0000)]
Comments, cosmetics.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23236 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoPer Abdel's suggestion that we focus on bug-fixing at this point, this will be the...
Richard Heck [Mon, 25 Feb 2008 22:13:45 +0000 (22:13 +0000)]
Per Abdel's suggestion that we focus on bug-fixing at this point, this will be the last patch in this series for a bit. But I wanted to get this done before I forget what it is I was doing, so here it is.

The idea behind this patch is to make real key-value support for InsetCommand parameters possible. This should be particularly useful for the listings version of InsetInclude, though we would need some kind of UI for it before it would really be helpful. (See below for some thoughts.) This doesn't substantially change anything else, though some things do get re-arranged a bit.

Basically, the idea is this. First, we introduce a whole range of parameter types: Normal LaTeX optional and required parameters; ones for LyX's internal use (like embed); and finally, in connection with keyval, ones that represent keys and ones that represent optional and required arguments where the keyval stuff will appear. (I'm assuming here that there will always be exactly one of those, and that it will accept only keyval-type material.) The parameters themselves are stored in a map, so it's really only the output routines that need to care about the different types of parameters.

Regarding the frontend, it seems to me that something like the following would work:
(i) scan the parameter list for LATEX_KEY type parameters
(ii) the dialog will have a series of lines, each of which has a combo box listing the acceptable keys and a QLineEdit for entering its value, as well as a "delete" button of some sort for removing this key and its value
(iii) there should be an "add line" button to add a new line, activated only when all other lines are filled with values
Probably not even too hard.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23235 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoRevert "* compile fix"
Stefan Schimanski [Mon, 25 Feb 2008 22:02:48 +0000 (22:02 +0000)]
Revert "* compile fix"

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23234 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* compile fix
Stefan Schimanski [Mon, 25 Feb 2008 21:53:16 +0000 (21:53 +0000)]
* compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23233 a592a061-630c-0410-9148-cb99ea01b6c8

16 years agoReplace boost::shared_ptr<TextClass> with a global cache of sorts of the TextClass...
Richard Heck [Mon, 25 Feb 2008 19:31:31 +0000 (19:31 +0000)]
Replace boost::shared_ptr<TextClass> with a global cache of sorts of the TextClass's used by Buffers---or, more strictly, constructed by BufferParams::makeTextClass(). The action is in TextClass.{h,cpp}.

I've left the typedef in TextClassPtr.h. At the moment, it's kind of silly. But I've left it mostly because it helps to identify where the TextClass's stored in the TextClassBundle are used, and maybe it'd be worth having some sort of strong typedef like the one for BaseClassIndex here.

I need to check whether the textClass_ member of InsetCollapsable is needed now. I think not.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23232 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* src/Makefile.am:
Jürgen Spitzmüller [Mon, 25 Feb 2008 18:42:57 +0000 (18:42 +0000)]
* src/Makefile.am:
- mend.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23231 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* binary search can be tricky. I hope I got it right now.
Stefan Schimanski [Mon, 25 Feb 2008 15:09:45 +0000 (15:09 +0000)]
* binary search can be tricky. I hope I got it right now.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23230 a592a061-630c-0410-9148-cb99ea01b6c8

16 years ago* adapt to the changed signature
Stefan Schimanski [Mon, 25 Feb 2008 14:25:49 +0000 (14:25 +0000)]
* adapt to the changed signature

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23229 a592a061-630c-0410-9148-cb99ea01b6c8