1 2001-12-24 Juergen Vigna <jug@sad.it>
3 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4 to check for REAL mouseMotion.
6 2001-12-20 Juergen Vigna <jug@sad.it>
8 * inset.C (cursor): return the owners cursor if available instead of
9 always only the bv->text->cursor.
11 * insettabular.C (checkLongtableSpecial): works now.
13 2001-12-19 Juergen Vigna <jug@sad.it>
15 * insettabular.C (tabularFeatures): fix the row setting of ltt as
16 this has to be always row + 1 as 0 means not selected!
17 (checkLongtableSpecial): added
18 (tabularFeatures): better longtable options support
20 * insettext.C (resizeLyXText): reinit the text always also on a
23 2001-12-18 Juergen Vigna <jug@sad.it>
25 * insettext.C (updateInsetInInset): look if we have to autocollapse
26 paragraps and return if the update is requested for ourself.
28 * insetert.C (status): update the insettext not myself as that is what
31 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
32 function only return if the update was requested with myself.
34 * insettext.C (insetButtonPress): fixed stupid bug.
35 (various functions): pay attention that lt is cleared BEFORE calling
36 updateLocal() and try to use it in the right manner (don't use it
37 if it's not really neccessary!)
38 (collapseParagraphs): insert a blank between collapsing paragraphs
39 if neccessary (not already there!).
41 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
43 * insettabular.C: move includes around a bit, add a couple of
46 * insettext.[Ch]: move includes around a bit, other ws changes and
49 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
51 * insettext.C (insetButtonRelease): fix compile problem
53 2001-12-17 Juergen Vigna <jug@sad.it>
55 * insettext.C (insetButtonPress): set the selection cursor!
56 (insetButtonPress): clear the selection (and set with that the
57 selection.cursor) if we only hit an inset!
59 * insetert.C (read): removed piece of compatibility code only needed
62 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
65 * insetcollapsable.C (insetButtonRelease): changed so that it can
66 open eventual existing popup dialogs on mousebutton==3.
68 * insetfloat.C (insetButtonRelease): removed not needed anymore!
70 * insetminipage.C (insetButtonRelease): removed not needed anymore!
72 * inset.C (insetButtonRelease): return a bool for telling the outer
73 world that we opened a dialog.
75 2001-12-07 Juergen Vigna <jug@sad.it>
77 * insettext.C (paragraph): remove the deleteing of paragraphs as
80 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
83 * insettabular.C: use new setSelection(). Allow
84 selection of single cells.
86 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
88 * insetquotes.C (latex): fix to use the local language setting at
89 the point where the inset is inserted (different macros for
90 different french packages)
92 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
94 * inset.h: add par_owner_ member variable and parOwner
97 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
99 * insettabular.C (everywhere): adapt because widths are now real
100 widths and not strings
102 * insettext.C (draw): re-introduce the calls to width(), ascent()
103 and descent() to initialize the caching variables.
105 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
107 * insettext.C (draw):
108 (drawFrame): use insetWidth instead of last_width
110 * insettext.h: remove variable last_width (insetWidth is exactly
111 the same) and last_height (computed but never used!)
113 2001-12-10 Allan Rae <rae@lyx.org>
115 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
117 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
119 * insettext.C (insetAllowed): add comment
121 2001-12-05 Juergen Vigna <jug@sad.it>
123 * insettext.C (insetAllowed): fixed for the case that we directly
124 ask the insettext from its LyXText.
125 (paragraph): fixed the crash when assigning the par->next() from
126 the EmptyParagraphMechanism!
128 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
132 * insettext.C: change "while(" to "while ("
134 2001-12-04 Juergen Vigna <jug@sad.it>
136 * insetert.C (edit): handle Inlined status.
138 * insettext.C (insertInset): trying John's fix for the trailing cursor
140 * insetert.C (insetButtonPress): added to handle inlined status
141 (insetMotionNotify): ditto.
143 * insettext.C (clearInset): changed Painter & in BufferView * param,
144 to be able to call ascent,descent methods.
146 2001-12-03 Juergen Vigna <jug@sad.it>
148 * insettext.C (updateInsetInInset): use lt variable to forbid
149 changes of LyXText in an update call.
150 (updateInsetInInset): fixed updating of non locked insets!
152 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
154 * insettabular.C: capture some more functions to prevent
155 selection drawing problems. Bug #451274
157 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
160 * insetgraphicsParams.C: fix inverted sense of float_equal
162 2001-11-30 Juergen Vigna <jug@sad.it>
164 * insettabular.C (InsetTabular): use the save_id flag to create also
165 the tabular with the same id's.
167 * insettext.C (setParagraphData): added a same_id function for undo
168 to set the same paragraph id's as of the paragraph we are setting.
170 2001-11-30 José Matos <jamatos@fep.up.pt>
173 * insettoc.[Ch]: DocBook -> docbook.
175 2001-11-29 André Pönitz <poenitz@gmx.net>
178 * insettext.C: further reduction of header dependencies by using
179 lyx::layout_type and lyx::textclass_type from support/types.h
181 2001-11-29 Juergen Vigna <jug@sad.it>
183 * insettext.C: inserted a reinitLyXText function everywhere I delete
184 the paragraphs! This should fixe the crashes we had.
185 Also use the new function firstRow() instead of getRowNearY(dummy_y)
186 (paragraph): set the InsetOwner() of the new paragraphs!
188 2001-11-28 André Pönitz <poenitz@gmx.net>
190 * insetnote.C: add pos initialization that I removed without
193 2001-11-28 Juergen Vigna <jug@sad.it>
195 * insettabular.C (resetPos): hack to not crash with infinite paints.
197 * insettabular.h: insert missing function allowSpellcheck()!
199 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
201 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
204 * insetfloatlist.C: derive from InsetCommand so gui can use it
207 2001-11-26 André Pönitz <poenitz@gmx.net>
211 * insetnote.C: reduce header dependencies, introduce type for
214 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
216 * various: update for Alert.h
218 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
220 * inset.h: fix comment
222 * insettext.C: use par->isInset()
224 2001-11-22 Allan Rae <rae@lyx.org>
226 * insetcollapsable.h:
227 * inset.h: Changes to checkInsertChar() behaviour.
228 Now return value indicates whether chars can be inserted.
230 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
232 * various: updated to use the new LaTeXFeatures
234 2001-11-14 José Matos <jamatos@fep.up.pt>
236 * insetspecialchar.C (linuxdoc):
237 (docbook): don't give a name to a unused variable.
239 * insettext.C (docbook): removed unused variable.
241 2001-11-13 Herbert Voss <voss@perce.de>
243 * insetgraphic.C: fix scale bug
245 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
248 (isLetter): new virtual methods.
250 * insetspecialchar.C (isSpace):
251 (isLetter): implement here.
253 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
255 * inset.h: new inline helpers
257 * insettext.C: use new helpers
259 2001-11-07 José Matos <jamatos@fep.up.pt>
261 * insettext.C (docbook): full support for paragraphs inside insettext.
263 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
265 * insetindex.C: added header file for std::ostream.
267 2001-11-03 José Matos <jamatos@fep.up.pt>
269 * insetindex.C: added using std::ostream that I forgot yesterday.
271 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
273 * insetindex.h (docbook):
274 * insetindex.C (docbook): added support for docbook export.
276 2001-11-02 José Matos <jamatos@fep.up.pt>
278 * insetcaption.C(docbook): added support for docbook export.
280 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
282 * insetexternal.C (updateExternal): Do not run update command if
283 result file exists and is up to date.
285 * ExternalTemplate.C (readFormat): Support the updateresult token.
287 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
289 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
290 external_templates) to use the buffer->fileName() but only if
291 previewing. Generating a TeX file should make FPath return
294 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
297 * insetert.C: fix some problems
299 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
301 * insetexternal.C (doSubstitution): Added $$FPath token
302 to list of usable substitutions in external inset templates.
304 2001-10-24 Juergen Vigna <jug@sad.it>
306 * insettabular.C: use new ltType struct for setting longtable
307 header and footers also new UNSET enums.
309 2001-10-24 José Matos <jamatos@fep.up.pt>
311 * insettabular.C (linuxdoc): Now exports the ascii's table version.
312 (docbook): If the table is not inside a float then wrap it inside
313 <informaltable>...</informaltable>.
315 2001-10-23 José Matos <jamatos@fep.up.pt>
317 * insetref.C (docbook): removed / terminator to conform SGML.
319 * insetspecialchar.C (linuxdoc):
320 (docbook): Added support for special chars, more than ascii export.
322 2001-10-22 Juergen Vigna <jug@sad.it>
324 * insettext.C (checkInsertChar): added for REALLY checking the
325 font of the inserted char in the right inset!
327 2001-10-19 Juergen Vigna <jug@sad.it>
329 * inset.h: added method allowSpellcheck() so that insets who do
330 not have anything to spellcheck can tell and so they are over-jumped.
331 Implemented for InsetText and co.
333 2001-10-18 Juergen Vigna <jug@sad.it>
335 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
337 2001-10-15 José Matos <jamatos@fep.up.pt>
339 * insetert.C: allow export for docbook and linuxdoc
341 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
343 * insetquotes.C (dispString): handles latin3 and latin4 quotes
345 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
347 * insetquotes.C (dispString): fix handling of latin9 quotes
349 2001-10-03 Juergen Vigna <jug@sad.it>
353 * insetcollapsable.C: change updateInset calls to not tell BV that
354 we have changed status.
356 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
358 * insettabular.C (deletable): make const
360 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
362 * insetert.C (latex): Fix the returned value
364 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
366 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
367 Returns string(), so nothing in an ERT inset is spellchecked.
369 * insetgraphics.C (draw): print the filename if not displaying the
371 (width): make sure that the width and draw methods are consistent.
372 (updateInset): don't even load the image into cache if not displaying
375 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
377 * various files (selectNextWord): renamed as
378 selectNextWordToSpellcheck.
380 * insetgraphics.C (draw): remove the previous change. Right place
381 is in imageLoaderXPM.C.
382 (draw): don't display the image if params.display == NONE.
384 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
386 * figinset.C (runqueue):
387 * insetgraphics.C (draw): set background colour of inset from
388 background to the user-configurable graphicsbg.
390 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
392 * insetquotes.C (InsetQuotes): when trying to decide the side of
393 the quote, choose `left' only after a space or '('
395 2001-09-04 José Matos <jamatos@fep.up.pt>
429 * insettext.C (docbook): rename docBook method to docbook.
431 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
433 * inset.h (getFirstParagraph): New virtual method.
435 2001-08-20 Herbert Voss <voss@perce.de>
436 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
437 in the the bibtex-database-gui for inserting a line
440 If no style is given than there is no tex-output.
442 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
444 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
448 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
450 * insetert.C (latex): Fix output for multiple paragraphs.
451 (write): New code for writing paragraph data.
452 (read): Set font after reading the inset.
453 (localDispatch): Call set_latex_font() for more cases.
455 * insetnote.h: Add empty validate method.
458 * insetnote.C (InsetNote): Set language to the language of the
461 2001-08-16 Juergen Vigna <jug@sad.it>
463 * insettext.C: implemented the new FINISHED states.
465 * insettabular.C: ditto
467 * inset.h: added more FINISHED states for cursor right,up,down
469 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
471 * insetfloatlist.C: use "FloatName List"
473 2001-08-14 Juergen Vigna <jug@sad.it>
475 * insetert.C (edit): forgot to set status_ in edit calls!
477 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
479 * insettext.C: Compilation fix
481 2001-08-13 Juergen Vigna <jug@sad.it>
483 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
485 * insetcollapsable.C (edit): don't recollapse an already open inset.
487 * insettext.C: fixed problem when reinitializing LyXText by not doing
488 it while lt is in use and post this to the next possible time in
490 (searchForward): fixed not unlocking of inset if nothing found.
491 (edit): set cursor behind right (was set -1 pos).
493 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
495 * insettabular.C (tabularFeatures): fixed fix where deleting the
496 last row didn't get the right actcell!
498 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
500 * insettext.C (localDispatch): Change language only when the inset
503 2001-08-10 Juergen Vigna <jug@sad.it>
505 * insettabular.C (selectNextWordInt): use the front using edit call.
507 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
508 the parameter overwrite class variable inset.
510 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
512 * insettext.C (saveLyXTextState): check for invalid cursor-par.
513 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
515 * insettabular.C (calculate_dimensions_of_cells): let's try to call
516 update only for fixed with cells.
517 (resetPos): try to fix the lockup on spellchecking or s&r.
519 * insettext.C (update): comment this out as it seems first wrong
520 and second not needed anymore!
521 (some functions): call reinitLyXText() only in update() in all other
522 positions set only need_update = INIT.
524 2001-08-08 Juergen Vigna <jug@sad.it>
526 * insettabular.C (setPos): fixed wrong actrow < rows() check.
528 * insettext.C (insetUnlock): remove double-space on inset unlock.
530 * insetcollapsable.C (draw): fix returned x when label > inset-width.
532 * insettabular.C (update): fixed cursor positon after an insert.
533 (insetAllowed): do not allow to insert insets when not inside the
535 (draw): clear below an inset too as it could have changed height.
537 * inset.C (getMaxWidth): fixed width for inset in inset.
539 * insettext.C (update): small fix.
541 * insettabular.C (tabularFeatures): added selection support to
542 DELETE_ROW/DELETE_COLUMN.
544 2001-08-07 Juergen Vigna <jug@sad.it>
546 * inset.C (getMaxWidth): recoded and all it's implementations!
548 * insettext.C (init,setParagraph+constructors): cleanups
549 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
550 are new and I want do a save/restore of the cursor position which is
551 not possible anymore.
553 * insetcollapsable.C (searchBackward): recollapse inset if not found.
554 (searchBackward): ditto
555 (selectNextWord): ditto
557 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
559 * insetlatexaccent.C (checkContents): Add some debug messages
561 2001-08-07 Juergen Vigna <jug@sad.it>
563 * insetert.C (read): don't use InsetCollapsable::read as we don't
564 write the collapsed status anymore only the status.
567 2001-08-06 Juergen Vigna <jug@sad.it>
569 * insetert.C (set_latex_font): use LyXText's setFont directly.
571 * insettext.C (drawFrame): fixed one time more the right position
572 and size of the frame!
574 * insetert.C (~InsetERT): hide the dialog.
575 (showInsetDialog): added implementation
578 (status): new function for the status of the ERT inset (3-state).
579 (write): output also the status of the inset for readback!
580 (read): readback the status if available otherwise use collapsed_.
582 * insettext.C (edit): small fix of setting the position, which could
585 * insetert.C (width): implement this function for inlined viewing.
586 Added minimum width of 10 pixels!
588 * insetminipage.C (InsetMinipage): just change the colors a bit so
589 that border/background is a bit more visible. We will remove this
592 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
593 function for getting the important widths for drawing in various
594 functions and in LyXText.
595 (draw): fixed up a bit (frame drawing/clearing)
597 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
599 * inset.C (convertFont): delete method. not used.
601 2001-08-03 Juergen Vigna <jug@sad.it>
603 * insettext.C (setFont): don't call for a draw update if we're just
604 changing the cursor font!
606 2001-08-02 Juergen Vigna <jug@sad.it>
608 * insettext.C (draw): clear the background with the right color if
609 needed. Update myself if x&max-width changed and return without doing
610 anything. Let the update code handle the right stuff.
612 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
613 inside another inset.
615 2001-08-01 Juergen Vigna <jug@sad.it>
617 * insetcollapsable.C (update): added an in_update bool so we avoid
620 * insettabular.C (update): added an in_update bool so we avoid
623 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
625 (update): added an in_update bool so we avoid reentering.
627 * insettabular.C (localDispatch): clear col/row selection when doing
628 something else inside an inset.
630 * insettext.C (getLyXText): fixed bug when requesting a recursive
633 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
635 * insetcite.C (latex): Paranoia check. Make sure that there is no
636 whitespace between the citation keys.
638 2001-07-31 Juergen Vigna <jug@sad.it>
640 * inset.h (nodraw): make the set function also const so that this
641 can be called from inside other const functions.
643 * insetcollapsable.h: removed inline variable and moved it over
644 to the only user InsetERT.
646 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
647 inset opening immediately therein lying insets dialogs!
649 * insetert.C (localDispatch): set the font also if we don't have any
650 chars in this paragraph, otherwise if we delete all of em and start
651 writing we have the wrong font.
653 (draw): implemented for inline support
654 (insetButtonRelease): ditto.
656 2001-07-30 Juergen Vigna <jug@sad.it>
658 * insettext.C (reinitLyXText): new function to reinit the insets
659 text after lot's of paragraph changes. Use this instead of the
660 cache.clear() which is VERY dangerous.
662 * insetfloat.C (insetButtonRelease): we should only show the dialog
663 if we press on the label otherwise we have problems to open mouse
664 button 3 dialogs inside this float (f.ex. of a tabular!)
666 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
668 * insetert.C: change back to "ERT"
670 * insetfloat.C: handliign of RMB on label added.
672 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
674 * insetgraphicsParams.C: #include LOstream.h here.
676 * insetfoot.h: remove InsetFoot:: qualifier.
678 2001-07-29 Baruch Even <baruch@lyx.org>
680 * ChangeLog: Hiding time travel evidence.
682 * insetgraphicsParams.h:
683 * insetgraphicsParams.C:
684 * insetgraphics.C: Added horizontal scale option, it actually scales both
685 directions since it keeps image proportions.
687 * insetgraphics.C: Fixed EPS detection to be non-hacky.
689 2001-07-29 Baruch Even <baruch@lyx.org>
691 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
692 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
694 HACKY! Will need to add an EPS detection routine like old InsetFig does!
696 2001-07-29 Baruch Even <baruch@lyx.org>
698 * insetgraphics.C: Added EPSI to be an alias of EPS.
700 2001-07-29 Baruch Even <baruch@lyx.org>
702 * insetgraphics.C: Change GRAPHICS to Graphics.
703 Changed image conversion rules (documented at the beginning of file).
705 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
707 * insetert.C (get_new_label): int -> Paragraph::size_type to get
710 * insetgraphics.C: added a using std::endl directive.
712 * insetcommand.h (getScreenLabel): removed pure virtual function,
713 as it duplicates that in InsetButton.
715 * insetbib.[Ch] (getScreenLabel):
716 * insetbutton.[Ch] (getScreenLabel):
717 * insetcite.[Ch] (getScreenLabel):
718 * insetert.[Ch] (getScreenLabel):
719 * insetexternal.[Ch] (getScreenLabel):
720 * insetfloatlist.[Ch] (getScreenLabel):
721 * insetinclude.[Ch] (getScreenLabel):
722 * insetindex.[Ch] (getScreenLabel):
723 * insetlabel.h (getScreenLabel):
724 * insetparent.[Ch] (getScreenLabel):
725 * insetref.[Ch] (getScreenLabel):
726 * insettoc.[Ch] (getScreenLabel):
727 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
729 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
731 (validate): remove check on "cite" when using natbib.
733 2001-07-26 Baruch Even <baruch@lyx.org>
735 * insetgraphics.C (draw): changed casting to be in one place rather than
736 all over the function.
739 * insetgraphics.C (read): Added compatibility reads of InsetFig.
741 * insetgraphicsParams.h:
742 * insetgraphicsParams.C:
743 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
745 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
747 * insetfoot.C (validate): Added method to ensure that the
748 right bit of LaTeX is emitted.
750 * insetfoot.h: Added validate method to set the correct
751 LaTeXFeatures bit for the special footnote code.
753 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
755 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
758 2001-07-27 Juergen Vigna <jug@sad.it>
760 * inset.h: remove not used font variable in parameter.
761 removed checkInsertChar in UpdatableInset as it was equal to
762 the one in Inset and so not needed.
764 * insetert.C (checkInsertChar): implementation of function
767 * inset.h: added new function checkInsertChar.
769 * various files: added c-tor and clone() function.
771 * insetcollapsable.h: removed clone function here as this should
772 be only realized in REAL insets and added it to all collapsable
773 insets! (with the copy-constructor).
775 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
777 * insetminipage.C (read): handle missing parameters more gracefully
779 * insetcollapsable.C (read): handel missing collapsed more gracefully
781 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
783 * insetfloat.C (read): handle missing parameters.
785 * insettext.C (read): handle old latex end_inset
787 * insetert.C (setButtonLabel): new method
788 (init): use it, to set the dynamic label correctly
791 * Makefile.am (EXTRA_DIST): add files that is not part or the
794 * insetcollapsable.h: remove autocollapsable (no users), remove
795 draw_label, change_label_with_text and companion code. Remove args
797 * insetert.[Ch]: move here instead (only user)
799 * inset.h: rename private variable name to name_, make
800 selectNextWord return a const string. make getInsetName return a
801 string const &. Remove bool from open, add close.
803 * Makefile.am: don't compile insetlist, insetsection
806 2001-07-24 Juergen Vigna <jug@sad.it>
808 * insetert.C (InsetERT): put init after the paragraph initialization,
809 as otherwise we don't set the draw_label right.
811 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
812 insets with the mouse without having strange selections.
813 (edit): if the inset was collapsed and we open it here then put the
814 cursor always at the beginning of the inset.
815 (get_new_label): 15 instead of 10 max chars in the label.
817 * insetert.C (localDispatch): added and handle various stuff we
818 need to handle here (font setting on paragraph break, not permitted
819 layout setting, etc.).
821 * inset.h: added default copy-consturctor and implemented this in
822 various insets with the change to use this in the clone function!
824 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
826 * insetminipage.C (InsetMinipage): set background color to red :)
828 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
830 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
831 draw frame mode is LOCKED.
833 * insetcollapsable.C (edit):
834 (insetButtonRelease): set update status to full when
837 * insettext.C (clearInset):
838 * insettabular.C (draw):
839 * insetlatexaccent.C (draw): honor background color.
841 * inset.h: new member background_color_, initialized to
844 * inset.C (backgroundColor): new method.
845 (setBackgroundColor): new method.
847 * insetert.C (init): new method, called by the ctors.
848 (InsetERT): when inserting contents, make sure the font is
851 * insetnote.C (InsetNote): when inserting content, remove trailing
853 (init): set background color to LColor::note
855 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
857 * insetcollapsable.C: adjust
859 * insetbutton.C: adjust
861 2001-07-23 Juergen Vigna <jug@sad.it>
863 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
864 parameter on the _collapsed function (was not needed) and call
865 always width_collapsed().
867 * insetert.C (InsetERT): use setLabel with "true" flag.
869 * insetcollapsable.C: modified various functions to set the draw_label
870 string right in any condition.
871 (setLabel): added a bool parameter to set change_label_with_text.
873 * insetcollapsable.h: added draw_label string which is set to the
874 actual drawn label-string, while label is the original static label
875 of this collapsable inset. Added bool change_label_with_text to set
876 if we want that the label changes to the start of the InsetText's
877 text when collabpsed. You can set this flag with the setLabel funciton.
878 Added bool inlined for inlined collapsable insets, but not handled
881 * insetcollapsable.C (get_new_label): added should get a new label
882 from the InsetText beginning (for now 10 chars).
884 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
886 * insetquotes.C (latex): fix the handling of french double quotes
887 when not using the french pachage.
889 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
891 * insetcollapsable.h: make WidthCollapsed mutable.
893 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
894 InsetPrintIndex returns INDEX_PRINT_CODE.
896 * inset.h: add INDEX_PRINT_CODE
898 * insetcollapsable.C (draw): init widthCollapsed if necessary
901 * insetquotes.C (width): use the local language, not the document
904 (dispString): add additional spacing for all french languages,
906 (validate): make it work when there is no default language
908 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
910 * insetnote.C (init): new method, called by the constructors
911 (InsetNote): new constructor with contents passed as a string
913 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
915 * insetfootlike.C (insetAllowed): disallow float in footlike.
917 * insetert.C (InsetERT): add collapsed argument to the constrctor
920 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
922 * insetindex.h: shut off warning
924 2001-07-20 Juergen Vigna <jug@sad.it>
926 * insetcollapsable.C (update): recoded hopefully works now!
928 2001-07-19 Juergen Vigna <jug@sad.it>
930 * most files: implemented the below new introduced function.
932 * inset.h: added new edit(BufferView *, bool front) method to be able
933 to enter an inset from the front/back without knowing x/y positions
934 and baselines inside the inset. So I just can tell the inset activate
935 me and set the cursor on the front/back of yourself.
937 2001-07-18 Juergen Vigna <jug@sad.it>
939 * insetcollapsable.C (edit): fixed hopefully the y parameter which
940 is given to the InsetText.
941 (insetButtonPress): ditto
942 (insetButtonRelease): ditto
943 (insetMotionNotify): ditto
945 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
947 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
948 LIGATURE_BREAK, since the name is so stupid.
950 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
952 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
953 the default InsetCollapsable methods. I.e., it can insert anything.
954 (write) output the name of the inset, not some silly hack for
955 compatability with the old InsetInfo.
957 * insetinfo.[Ch]: removed.
958 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
959 now collapsable, but functionality is otherwise identical to InsetInfo.
961 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
963 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
965 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
968 * insetquotes.C: general cleanup
969 (dispString): add spaces inside french double quotes.
970 (latex): ditto. Moreover, treat first the case where the frenchb
971 or french options have been given.
973 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
975 * insetcite.[Ch] (latex, validate): new methods, required for natbib
978 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
980 * figinset.C (RegisterFigure): Print debug message only when
981 current_view is available.
983 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
985 * many files: update to match the change below
987 * inset.h (insetAllowed): renamed from insertInsetAllowed;
988 implement the version which takes an inset here.
990 * insetcollapsable.[Ch]: implement open and isOpen
992 * inset.h: remove insertInsetAllowed from Inset
993 (open): new method, to open or close an inset
994 (isOpen): returns the status of an inset
995 (isCollapsable, colapse): removed
997 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
999 * insetquotes.C (dispString): display french guillemets when using
1002 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1004 * insetcollapsable.h: remove bogus return statements
1006 2001-07-18 Juergen Vigna <jug@sad.it>
1008 * insettabular.C (selectNextWord): fixed spellchecking for the
1009 first cell of a tabular (wasn't entered!)
1010 (getLyXText): changed to enter automatically insettext and return
1011 it's LyXText if we're locked.
1013 2001-07-17 Juergen Vigna <jug@sad.it>
1015 * various files: implemented the below functions.
1017 * inset.h: added functions
1018 - virtual string selectNextWord(BufferView *, float & value) const;
1019 - virtual void selectSelectedWord(BufferView *) { return; }
1020 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
1021 needed for spellchecking correctly!
1023 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
1025 * insetert.C (latex): write out all paragraphs.
1027 2001-07-17 Baruch Even <baruch@lyx.org>
1029 * insetgraphics.C (draw): Removed unneeded casts.
1031 2001-07-16 Juergen Vigna <jug@sad.it>
1033 * insettext.C (update): fixed small oversight (reset lt to 0).
1035 2001-07-14 Baruch Even <baruch@lyx.org>
1038 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
1040 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1042 Consistent use of Lsstream.h:
1043 * figinset.C: removed using std::ostringstream directive.
1045 * insetgraphics.C (createLatexOptions):
1046 * insetinclude.C (unique_id):
1047 std::ostringstream -> ostringstream.
1048 * insettext.C (localDispatch): std::istringstream -> istringstream.
1050 2001-07-13 Juergen Vigna <jug@sad.it>
1052 * insetfloat.C (insertInsetAllowed): added missing const_cast.
1054 * insetcollapsable.C (getLockingInset): ditto.
1056 2001-07-12 Juergen Vigna <jug@sad.it>
1058 * insetcollapsable.h: added implementation of new function for
1061 * various files: added implementation of new insertInsetAllowed-func
1062 and redone the function a bit more.
1064 * inset.h: added isCollapsable(), bool collapsed(),
1065 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
1067 * insetfloat.C (insertInsetAllowed): make a bit more checks.
1069 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
1070 LyXText which is marked for removal while we're using it!
1072 * insettext.h: added private LyXText * lt to use it to assure we are
1073 not deleting our LyXText while we're using it!
1075 2001-07-11 Juergen Vigna <jug@sad.it>
1077 * insettext.C (insertInset): check if we are before the inset after
1078 inserting it! This check IS needed. Remove the Undo-Call as it is
1079 called in LyXText::insertInset!
1081 * insettext.h: added struct InnerCache.
1083 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
1084 that we ONLY delete the LyXText in the getLyXText() routine. So we
1085 are sure we don't delete LyXText while someone is working with it!
1087 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1089 * insetexternal.C: (*it). -> it->
1090 * insettext.C: ditto
1092 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1094 * insetcollapsable.C (edit): always open collapsed insets (even if
1095 they are not autocollapsable)
1097 * insetcommand.C (operator=): simplify.
1099 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1101 * insetert.C (latex): handle META_NEWLINE
1103 2001-07-09 Juergen Vigna <jug@sad.it>
1105 * insetert.h: a normal InsetText can insert insets, but we won't.
1107 * inset.h: return default "false" on insertInsetAllowed and implement
1108 this function where a returnvalue != "false" is needed.
1110 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1112 * insetert.C (InsetERT): new contructor
1114 2001-07-06 Juergen Vigna <jug@sad.it>
1116 * a lot of files: added implementation of the below new functions
1117 and the change to clone(). Also the call of the new undo-functions
1120 * inset.h: added an inset_id, added functions getParFromID,
1121 getInsetFromID, firstParagraph, cursor and id functions, added
1122 bool same_ids to clone function.
1124 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1126 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
1127 of BufferView * and shared_ptr<LyXText>
1129 2001-07-05 Juergen Vigna <jug@sad.it>
1131 * insettext.C (clear): deleted also the cache not only LyXText.
1132 (setParagraphData): ditto.
1134 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1136 * insetfloat.C (latex): let the specific placement take presedence
1137 if set, otherwise choose document placement if set, otherwise just
1138 use float default placement.
1140 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1142 * insettext.C (localDispatch): call CutAndPaste::'s static method
1145 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1147 * insetbib.C: no meed to include forms.h here.
1149 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
1151 * insettext.C: added using std::make_pair directive.
1153 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1155 * insettext.C (getLyXText): avoid multiple lookups, and simplify
1157 (deleteLyXText): ditto
1158 (resizeLyXText): ditto
1160 2001-07-02 Juergen Vigna <jug@sad.it>
1162 * insettext.C (getLyXText): introduce a cache in getLyXText so that
1163 following calls are only returned the right pointer without the over
1164 head to search in the map.
1165 (various funcs): reset the cached_bview variable as this signs that
1166 the cache is not valid anymore.
1168 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1170 * insettabular.C (clone): do not copy the LyXTabular twice
1172 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1174 * insettext.h (TEXT): delete method
1176 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1178 * insetmarginal.C (latex):
1179 * insetfoot.C (latex): fix spacing of notes in LaTeX
1181 * insettext.C (localDispatch): use .c_str() on istringstream
1182 constructor argument.
1184 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
1189 * inseturl.C: fix method names in these to begin
1190 with small char too, so they inherit
1192 2001-06-28 Juergen Vigna <jug@sad.it>
1194 * insettext.C (setFont): fixed font settings using toggleFree()
1195 instead of setFont().
1197 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1199 * Change a lot of method names to begin with a small char.
1200 Changes to a lot of files because of this.
1202 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1204 * insetfloatlist.C (Write): std:: qualify ostream
1207 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1211 * insetgraphics.C: send debug output to Debug::INFO instead of
1214 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
1217 * insettabular.C (getStatus): update to use func_status
1219 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
1221 * insetref.C (DocBook): added support for cross-references without
1224 2001-06-26 The LyX Project <jug@sad.it>
1229 * insetlabel.h: removed escape method and moved it to
1232 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1234 * insettabular.C (getMaxWidth): do the speedup in a different way,
1237 2001-06-24 The LyX Project <Asger>
1239 * insettabular.C (getMaxWidth): We cache a mapping from
1240 inset to cell in order to speed this method up.
1242 2001-06-24 The LyX Project <Asger>
1244 * insettext.C: Optimized InsetText::draw or something.
1246 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
1248 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
1250 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1252 * inset.h: name change from lyxinset.h
1254 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
1256 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
1258 2001-06-14 Juergen Vigna <jug@sad.it>
1260 * insettext.C (draw): removed warnings.
1262 2001-06-13 Juergen Vigna <jug@sad.it>
1264 * insettabular.C (nodraw): only go down the tree if we don't have
1265 that flag set otherwise it's obvious that we don't want to draw.
1266 (LocalDispatch): do also an update if we have an undispached result.
1268 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1271 * insetgraphicsParams.C:
1272 * insettext.C: removed // -*- C++ -*- as first line.
1274 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1276 * lyxinset.h (resizeLyXText): shut off warning about unused
1279 2001-06-07 Juergen Vigna <jug@sad.it>
1281 * insettext.C (resizeLyXText): honor the new force flag.
1283 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
1285 * insettabular.C (deleteLyXText): new function
1287 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1295 * insetcollapsable.C:
1296 * insetcaption.C: LColor tidy
1298 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1300 * figinset.C: fix typo
1302 2001-06-01 Juergen Vigna <jug@sad.it>
1304 * insettabular.C (resetPos): small hack so that scroll is not set to
1305 0 when we are in the last column of a tabular. This is a problem we
1306 have because of constats 20 offset on both directions, so this can
1307 cause on the limit an endless loop.
1309 * insettext.C (SetFont): forgot that we can have locking insets ;)
1311 2001-05-31 Juergen Vigna <jug@sad.it>
1313 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
1315 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1317 * figinset.C: add using std:: directive for the C functions which
1320 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1322 * insetfloat.C (Write): write out wide info
1323 (Read): read the wide info
1324 (Latex): use the wide info when creating latex.
1326 * insettext.C: adjust
1328 * insetgraphics.[Ch] (statusMessage): change to return string
1332 * figinset.C (runqueue): add std::
1335 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1337 * insetcite.C (Ascii): add std:: qualifier
1339 2001-05-28 Juergen Vigna <jug@sad.it>
1341 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
1342 a endless-width inset (maxWidth < 0).
1343 (Edit): change language only if not equal.
1345 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
1347 * insettext.C (draw): fixed draw/clear of InsetText-Frame
1349 2001-05-16 Juergen Vigna <jug@sad.it>
1351 * insettext.C (selectAll): added
1352 (clearSelection): added
1354 * insettabular.C (SetFont): now we may set a font on a whole selection!
1355 (getSelection): added helper function.
1357 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1359 * insetcite.C (Ascii): Add method.
1361 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1364 * insetbib.C: fix path for OS/2 & Win32
1366 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1368 * insetfoot.C (Latex): don't use % after footnote.
1370 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1372 * insettext.C (Read): use clear
1373 (SetParagraphData): use LyXParagraph copy constructor instead of clone
1375 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1377 * insetfloatlist.h: add a bunch of std:: qualifiers.
1379 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1381 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
1382 FLOAT_LIST_CODE, renumber code list.
1384 * insettoc.C (getScreenLabel): remove support for float lists
1388 * insetfloatlist.[Ch]: new files
1390 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
1392 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
1394 * insettabular.C (LocalDispatch):
1395 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
1398 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1400 * insettext.C: remvoe !NEW_INSETS cruft
1402 * insettabular.C: remove !NEW_INSETS cruft
1404 * insetcollapsable.h: remove !NEW_INSETS cruft
1406 * insetbib.C: remove !NEW_INSETS cruft
1408 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1410 * insettoc.C: hack to make listof algorithm work
1412 2001-04-20 Juergen Vigna <jug@sad.it>
1414 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
1416 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1418 * insetquotes.C (Latex): improve the guard against
1419 unwanted !` and ?` ligatures. This should really be done in
1420 another place (to catch all this ligatures at low-level).
1422 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1424 * insettext.C (init): remvoe leftovers from cursor_visible change
1425 (draw): use c++ cast
1426 (LocalDispatch): dispatch LFUN_MESSAGE
1428 * insettabular.C (InsetTabular): remove leftovers from
1429 cursor_visible, and scoped_ptr changes
1430 (draw): use c++ cast
1432 * insetcollapsable.C (draw): use c++ cast
1434 * ExternalTemplate.h: inherit privaely from noncopyable
1435 * insetcommand.h: ditto
1436 * insetinclude.h: ditto
1438 2001-04-16 Allan Rae <rae@lyx.org>
1440 * insettoc.C (Ascii):
1441 * insettext.C (draw):
1442 * insettabular.C (setPos):
1443 * insetminipage.C (Read):
1444 * insetfloat.C (placement):
1445 * insetcaption.C (Ascii, DocBook):
1446 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
1447 an unrecognised preprocessor directive. So ensure they're wrapped.
1449 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1452 * insetexternal.C: set view on Clone. Add _ to private members.
1454 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1456 * insettext.C (InsetText): fix new
1457 (InsetText): reindent some, simplify deletion of par list
1458 (clear): simplify deletion of par list, fix new
1459 (SetParagraphData): simplify deletion of par list
1461 * insettabular.[Ch] (getLabelList): implement new method
1463 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1465 * lyxinset.h: do not include gettext.h...
1473 * insetlatexaccent.C:
1477 * inseturl.C: ... and do it here instead
1479 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1481 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
1483 * insettext.[Ch] (getLabelList): add std:: on vector<string>
1485 * insetcollapsable.[Ch] (getLabelList): implement
1487 * insettext.[Ch] (getLabelList): implement
1489 * insettext.h: reindent
1491 * insettabular.h: make tabular a scoped_ptr
1493 * insettext.C (init): adjust for cursor_visible
1494 (ToggleInsetCursor): constify asc and desc, font, adjust for
1496 (ShowInsetCursor): constify asc and desc, font, adjust for
1498 (HideInsetCursor): adjust for cursor_visible
1500 * insettabular.C: reindent some
1501 (InsetTabular): adjust for scoped_ptr and cursor_visible
1502 (InsetTabular): ditto
1503 (~InsetTabular): delete delete
1504 (Clone): adjust for scoped_ptr
1505 (Read): constify old_format, adjust for scoped_ptr, move init of
1507 (draw): constify tx, localize loop vars.
1508 some other localization of variables, remove double initilizatons.
1510 * insetfoot.C: remove using std::ostream, add ostream where needed
1512 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1514 * lyxinset.h: some reindentaion, use initializer list for
1516 UpdatableInset: make cursor_visible a private var add
1517 public isCursorVisible(), add protected toggleCursorVisible() and
1518 proctected setCursorVisible(bool), make scroll call the Inset::scroll
1520 * insettoc.C: remvoe using decl
1521 (getScreenLabel): make cmdname donst
1524 (Ascii): don't use endl
1526 * insetfootlike.C: remove using decl at file scope and add std::
1528 * insetmarginal.C: ditto
1530 * insetfoot.C: some reformatting
1532 * insetfloat.C (InsetButtonRelease): adjust the hit area
1534 * insetert.C (SetFont): some reformatting
1536 * insetcollapsable.C: some reformatting and constification
1537 (Clone): comment out.
1538 * insetcollapsable.h: some reformatting
1539 (Clone): comment out.
1544 2001-03-30 Juergen Vigna <jug@sad.it>
1546 * insetcollapsable.h: changen *inset to be a InsetText inset.
1548 * some files: changed to reflect the above change.
1550 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1552 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
1553 InsetExternal::Params.
1554 Added operator==() and operator!=() for the Params struct.
1556 2001-03-29 Juergen Vigna <jug@sad.it>
1558 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
1561 * insetminipage.C: removed widthp_ and all it's functions and changed
1562 to use new %-lengths of LyXLength.
1564 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1566 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
1568 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1570 * insetgraphicsParams.C (operator!=): new function, needed by the
1571 ControlGraphics class.
1573 2001-03-28 Juergen Vigna <jug@sad.it>
1575 * insettext.C (InsetButtonPress): only enter !inset if button == 2
1576 (checkAndActivateInset): don't use the values returned from
1577 call to bv->checkInsetHit.
1579 * insetminipage.C (Clone): set special minipage values.
1581 * insetcollapsable.C (draw): changed to draw the button in the
1582 upper left corner outside the textinset.
1583 (ascent): changed because of different drawing
1587 (InsetButtonPress): ditto
1588 (InsetButtonRelease): ditto
1589 (InsetMotionNotify): ditto
1591 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
1593 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
1597 2001-03-26 Juergen Vigna <jug@sad.it>
1599 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
1601 * insettext.C (ShowInsetDialog): implemented above function.
1603 * insettabular.C (ShowInsetDialog): ditto
1605 * insetminipage.C (ShowInsetDialog): ditto
1607 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1609 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
1610 InsetInclude::Params. Don't store a buffer * in Params. Store the
1611 master file name instead.
1613 2001-03-23 Juergen Vigna <jug@sad.it>
1615 * insetcollapsable.C (InsetMotionNotify):
1616 (InsetButtonRelease):
1617 (InsetButtonPress): fixed y-offset (minipages).
1619 * insettext.C (draw): force a FULL update if cleared == true.
1621 * insetcollapsable.C (draw): Lars forgotten entry for changing this
1622 routine to draw the minipages on its position-flag.
1623 (InsetInInsetY): give back the right y position, because of minipage
1626 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1629 * insetfloat.C (DocBook): docbook export code.
1631 2001-03-22 Juergen Vigna <jug@sad.it>
1633 * insetminipage.C (getMaxWidth): added function to set the drawing
1635 (Read): should work now!
1637 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
1638 if we create a new inset.
1640 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1642 * figinset.C (fl_set_preemptive_callback): moved definition outside
1645 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1647 * insetminipage.C (Read): prepare for reading of minipage arguments.
1649 2001-03-18 Baruch Even <baruch@lyx.org>
1651 * insetgraphics.C: Minor cleanups of the comments and code.
1653 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1655 * insetminipage.C (InsetMinipage): default to not collapsed
1657 2001-03-16 Juergen Vigna <jug@sad.it>
1659 * insetminipage.C (width): modified with to be a string
1660 (widthp): added widthp (for % width) support functions.
1661 (InsetButtonRelease): added to open the options dialog on button==3.
1662 (~InsetMinipage): added to hide the dialog.
1664 * insetminipage.h: added hideDialog signal
1666 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1668 * insetminipage.h: change the order or Position to match
1669 LyXParagraph::MINIPAGE_ALIGNMENT
1671 * several files: remvoe CXX_WORKING_NAMESPACES
1673 * ExternalTemplate.h: noncopyable is in namespace boost
1674 * insetinclude.h: ditto
1675 * insetcommand.h: ditto
1677 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1679 * insettext.C (Edit): #else# -> #else.
1680 * insettoc.C: added using directive.
1682 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1684 * insetminipage.h: add pos, inner_pos, width and height. + getters
1685 and setters for all of them.
1687 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1689 * insetinclude.C (Latex): Do not exit when the textclass of the
1690 included file differ from the textclass of the parent file.
1692 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1694 * ExternalTemplate.C (read): the reading of external insets now checks
1695 for \end_inset and removes it form the input stream.
1697 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1699 * ExternalTemplate.h:
1700 * ExternalTemplate.C:
1702 * insetexternal.C: move form to GUII
1704 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1707 * insetinclude.C: add InsetIncludeParams, use
1708 composition rather than derivation of InsetCommand
1710 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1712 * insettoc.C (Ascii): use the Buffer typedefs
1714 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1716 * insettoc.C (Ascii): implement for dynamic number of lists
1718 * insetcaption.[Ch]: update from new_insets branch
1719 * insetfloat.[Ch]: ditto
1721 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1724 * figinset.C: use new File Dialog
1726 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1728 * insettext.C: changes becuase of ParagraphParameters.
1730 2001-02-28 Baruch Even <baruch@ev-en.org>
1732 * insetgraphics.C (updateInset): Changed due to the change in
1735 2001-02-26 Juergen Vigna <jug@sad.it>
1737 * insettext.C (SetFont): Set Undo only if we have selection (as it is
1738 handled in LyXText).
1740 2001-02-23 Juergen Vigna <jug@sad.it>
1742 * insettext.C (draw): some small repainting fixes.
1743 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1745 * inset.C (LocalDispatch): changed action to be a kb_action (as it
1746 should be) and not an int.
1748 * insettabular.C (LocalDispatch): ditto
1750 * insettext.C (LocalDispatch): ditto
1752 * insetcollapsable.C (LocalDispatch): ditto
1754 2001-02-22 Juergen Vigna <jug@sad.it>
1756 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1757 DISPATCH it and we don't have a locking_inset.
1759 2001-02-21 Baruch Even <baruch@ev-en.org>
1761 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1762 instead of GraphicsCacheItem *.
1764 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1766 * insetcollapsable.C (getLyXText): add const qualifier to second
1769 2001-02-22 Juergen Vigna <jug@sad.it>
1771 * insettext.C (getLyXText): honor the recursive parameter.
1772 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1774 * inset.C (getLyXText): added bool recursive parameter.
1776 * insettext.C (SetUpdateStatus): or the update codes.
1777 (draw): check need_update with &.
1778 (InsetButtonPress): set no_selection to not put a selection when
1779 entering an inset and it is redraws in another spot.
1781 * insettext.h: made need_update an int.
1783 2001-02-20 Baruch Even <baruch@ev-en.org>
1786 * insetgraphisc.C: Changed to use better semantics when loading images
1787 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1789 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1793 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1794 consistent with InsetTabular.
1796 2001-02-19 Juergen Vigna <jug@sad.it>
1798 * insettabular.C (LocalDispatch): implement PAGE up/down.
1800 * insettext.C (draw): clear all of it on need_update==INIT too!
1802 * insettabular.C (InsetUnlock): always clear the selection.
1804 * inset.C (scroll): normally we only want to scroll the inset until
1805 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1807 2001-02-14 Juergen Vigna <jug@sad.it>
1809 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1810 (resetPos): fixed scroll behaviour.
1811 (LocalDispatch): do an update if moving cursor inside a table cell
1812 requests a scroll of the tabular.
1814 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1816 * insettext.C (textWidth): constify local var
1818 * insettabular.C: small cleanup.
1820 * insetfoot.C (Latex): constify local var
1822 * insetcollapsable.C: small cleanup.
1824 * figinset.C (runqueue): use compare instead of strcmp
1826 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1829 * insetinfo.C: remove cruft
1831 2001-02-14 Juergen Vigna <jug@sad.it>
1833 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1835 2001-02-13 Juergen Vigna <jug@sad.it>
1837 * insettext.C (InsertInset): don't move left (is this right?)
1839 * insettabular.C (LocalDispatch): use of the no_draw variable
1841 * insettabular.h: new no_draw variable to stop redraw
1843 * insettabular.C (TabularFeatures): fixed update for alignment change
1845 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1849 * insetbib.C: move dialogs to frontends/
1851 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1853 * insettext.C (LocalDispatch): Restore the language if the inset
1856 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1858 * insettext.C (moveRightIntern): Update the selection cursor.
1859 (moveLeftIntern): Ditto.
1861 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1863 * Makefile.am: remove BoundingBox.h
1865 * BoundingBox.h: removed
1867 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1869 * insettext.C (LocalDispatch): Update selection cursor when moving
1870 cursor to the right.
1871 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1872 (moveLeftIntern): Ditto.
1874 2001-02-05 Baruch Even <baruch.even@writeme.com>
1876 * insetgraphics.C: Updated automatic image conversion, it now goes into
1877 temporary directory instead of with the image itself.
1879 2001-01-21 Baruch Even <baruch@ev-en.org>
1881 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1882 to EPS or PNG when needed (support bitmap graphics).
1884 2000-11-02 Baruch Even <baruch@ev-en.org>
1887 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1888 and removal of commented out code.
1890 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1892 * insetbib.C (callback): Update citations if the key has changed.
1894 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1896 * insetbib.C (InsetBibKey): Better computation of default key.
1897 (getScreenLabel) Show both the key and the label.
1898 (getBibLabel): New method.
1899 (callback): Force a redraw if the inset have been changed.
1901 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1903 * insetref.C (getType, getName): Move methods from
1904 src/frontends/xforms/FormRef.C.
1906 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1908 * insettabular.C: Various improvements (use only one dummy position).
1910 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1912 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1913 par->bibkey->width. This fixes the crashes when running without
1914 gui or when having included documents.
1916 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1918 * insetcommand.C (getAsString, setFromString): Cleanup.
1920 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1922 * insetref.C: Add the array InsetRef::types that contains
1923 information about all supported reference types.
1925 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1927 * lyxinset.h: remove trailing comma in enum.
1929 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1931 * insettext.C: kill LyXBell.