1 2001-12-19 Juergen Vigna <jug@sad.it>
3 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4 this has to be always row + 1 as 0 means not selected!
5 (checkLongtableSpecial): added
6 (tabularFeatures): better longtable options support
8 * insettext.C (resizeLyXText): reinit the text always also on a
11 2001-12-18 Juergen Vigna <jug@sad.it>
13 * insettext.C (updateInsetInInset): look if we have to autocollapse
14 paragraps and return if the update is requested for ourself.
16 * insetert.C (status): update the insettext not myself as that is what
19 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
20 function only return if the update was requested with myself.
22 * insettext.C (insetButtonPress): fixed stupid bug.
23 (various functions): pay attention that lt is cleared BEFORE calling
24 updateLocal() and try to use it in the right manner (don't use it
25 if it's not really neccessary!)
26 (collapseParagraphs): insert a blank between collapsing paragraphs
27 if neccessary (not already there!).
29 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
31 * insettabular.C: move includes around a bit, add a couple of
34 * insettext.[Ch]: move includes around a bit, other ws changes and
37 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
39 * insettext.C (insetButtonRelease): fix compile problem
41 2001-12-17 Juergen Vigna <jug@sad.it>
43 * insettext.C (insetButtonPress): set the selection cursor!
44 (insetButtonPress): clear the selection (and set with that the
45 selection.cursor) if we only hit an inset!
47 * insetert.C (read): removed piece of compatibility code only needed
50 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
53 * insetcollapsable.C (insetButtonRelease): changed so that it can
54 open eventual existing popup dialogs on mousebutton==3.
56 * insetfloat.C (insetButtonRelease): removed not needed anymore!
58 * insetminipage.C (insetButtonRelease): removed not needed anymore!
60 * inset.C (insetButtonRelease): return a bool for telling the outer
61 world that we opened a dialog.
63 2001-12-07 Juergen Vigna <jug@sad.it>
65 * insettext.C (paragraph): remove the deleteing of paragraphs as
68 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
71 * insettabular.C: use new setSelection(). Allow
72 selection of single cells.
74 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
76 * insetquotes.C (latex): fix to use the local language setting at
77 the point where the inset is inserted (different macros for
78 different french packages)
80 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
82 * inset.h: add par_owner_ member variable and parOwner
85 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
87 * insettabular.C (everywhere): adapt because widths are now real
88 widths and not strings
90 * insettext.C (draw): re-introduce the calls to width(), ascent()
91 and descent() to initialize the caching variables.
93 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
96 (drawFrame): use insetWidth instead of last_width
98 * insettext.h: remove variable last_width (insetWidth is exactly
99 the same) and last_height (computed but never used!)
101 2001-12-10 Allan Rae <rae@lyx.org>
103 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
105 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
107 * insettext.C (insetAllowed): add comment
109 2001-12-05 Juergen Vigna <jug@sad.it>
111 * insettext.C (insetAllowed): fixed for the case that we directly
112 ask the insettext from its LyXText.
113 (paragraph): fixed the crash when assigning the par->next() from
114 the EmptyParagraphMechanism!
116 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
120 * insettext.C: change "while(" to "while ("
122 2001-12-04 Juergen Vigna <jug@sad.it>
124 * insetert.C (edit): handle Inlined status.
126 * insettext.C (insertInset): trying John's fix for the trailing cursor
128 * insetert.C (insetButtonPress): added to handle inlined status
129 (insetMotionNotify): ditto.
131 * insettext.C (clearInset): changed Painter & in BufferView * param,
132 to be able to call ascent,descent methods.
134 2001-12-03 Juergen Vigna <jug@sad.it>
136 * insettext.C (updateInsetInInset): use lt variable to forbid
137 changes of LyXText in an update call.
138 (updateInsetInInset): fixed updating of non locked insets!
140 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
142 * insettabular.C: capture some more functions to prevent
143 selection drawing problems. Bug #451274
145 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
148 * insetgraphicsParams.C: fix inverted sense of float_equal
150 2001-11-30 Juergen Vigna <jug@sad.it>
152 * insettabular.C (InsetTabular): use the save_id flag to create also
153 the tabular with the same id's.
155 * insettext.C (setParagraphData): added a same_id function for undo
156 to set the same paragraph id's as of the paragraph we are setting.
158 2001-11-30 José Matos <jamatos@fep.up.pt>
161 * insettoc.[Ch]: DocBook -> docbook.
163 2001-11-29 André Pönitz <poenitz@gmx.net>
166 * insettext.C: further reduction of header dependencies by using
167 lyx::layout_type and lyx::textclass_type from support/types.h
169 2001-11-29 Juergen Vigna <jug@sad.it>
171 * insettext.C: inserted a reinitLyXText function everywhere I delete
172 the paragraphs! This should fixe the crashes we had.
173 Also use the new function firstRow() instead of getRowNearY(dummy_y)
174 (paragraph): set the InsetOwner() of the new paragraphs!
176 2001-11-28 André Pönitz <poenitz@gmx.net>
178 * insetnote.C: add pos initialization that I removed without
181 2001-11-28 Juergen Vigna <jug@sad.it>
183 * insettabular.C (resetPos): hack to not crash with infinite paints.
185 * insettabular.h: insert missing function allowSpellcheck()!
187 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
189 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
192 * insetfloatlist.C: derive from InsetCommand so gui can use it
195 2001-11-26 André Pönitz <poenitz@gmx.net>
199 * insetnote.C: reduce header dependencies, introduce type for
202 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
204 * various: update for Alert.h
206 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
208 * inset.h: fix comment
210 * insettext.C: use par->isInset()
212 2001-11-22 Allan Rae <rae@lyx.org>
214 * insetcollapsable.h:
215 * inset.h: Changes to checkInsertChar() behaviour.
216 Now return value indicates whether chars can be inserted.
218 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
220 * various: updated to use the new LaTeXFeatures
222 2001-11-14 José Matos <jamatos@fep.up.pt>
224 * insetspecialchar.C (linuxdoc):
225 (docbook): don't give a name to a unused variable.
227 * insettext.C (docbook): removed unused variable.
229 2001-11-13 Herbert Voss <voss@perce.de>
231 * insetgraphic.C: fix scale bug
233 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
236 (isLetter): new virtual methods.
238 * insetspecialchar.C (isSpace):
239 (isLetter): implement here.
241 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
243 * inset.h: new inline helpers
245 * insettext.C: use new helpers
247 2001-11-07 José Matos <jamatos@fep.up.pt>
249 * insettext.C (docbook): full support for paragraphs inside insettext.
251 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
253 * insetindex.C: added header file for std::ostream.
255 2001-11-03 José Matos <jamatos@fep.up.pt>
257 * insetindex.C: added using std::ostream that I forgot yesterday.
259 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
261 * insetindex.h (docbook):
262 * insetindex.C (docbook): added support for docbook export.
264 2001-11-02 José Matos <jamatos@fep.up.pt>
266 * insetcaption.C(docbook): added support for docbook export.
268 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
270 * insetexternal.C (updateExternal): Do not run update command if
271 result file exists and is up to date.
273 * ExternalTemplate.C (readFormat): Support the updateresult token.
275 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
277 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
278 external_templates) to use the buffer->fileName() but only if
279 previewing. Generating a TeX file should make FPath return
282 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
285 * insetert.C: fix some problems
287 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
289 * insetexternal.C (doSubstitution): Added $$FPath token
290 to list of usable substitutions in external inset templates.
292 2001-10-24 Juergen Vigna <jug@sad.it>
294 * insettabular.C: use new ltType struct for setting longtable
295 header and footers also new UNSET enums.
297 2001-10-24 José Matos <jamatos@fep.up.pt>
299 * insettabular.C (linuxdoc): Now exports the ascii's table version.
300 (docbook): If the table is not inside a float then wrap it inside
301 <informaltable>...</informaltable>.
303 2001-10-23 José Matos <jamatos@fep.up.pt>
305 * insetref.C (docbook): removed / terminator to conform SGML.
307 * insetspecialchar.C (linuxdoc):
308 (docbook): Added support for special chars, more than ascii export.
310 2001-10-22 Juergen Vigna <jug@sad.it>
312 * insettext.C (checkInsertChar): added for REALLY checking the
313 font of the inserted char in the right inset!
315 2001-10-19 Juergen Vigna <jug@sad.it>
317 * inset.h: added method allowSpellcheck() so that insets who do
318 not have anything to spellcheck can tell and so they are over-jumped.
319 Implemented for InsetText and co.
321 2001-10-18 Juergen Vigna <jug@sad.it>
323 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
325 2001-10-15 José Matos <jamatos@fep.up.pt>
327 * insetert.C: allow export for docbook and linuxdoc
329 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
331 * insetquotes.C (dispString): handles latin3 and latin4 quotes
333 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
335 * insetquotes.C (dispString): fix handling of latin9 quotes
337 2001-10-03 Juergen Vigna <jug@sad.it>
341 * insetcollapsable.C: change updateInset calls to not tell BV that
342 we have changed status.
344 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
346 * insettabular.C (deletable): make const
348 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
350 * insetert.C (latex): Fix the returned value
352 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
354 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
355 Returns string(), so nothing in an ERT inset is spellchecked.
357 * insetgraphics.C (draw): print the filename if not displaying the
359 (width): make sure that the width and draw methods are consistent.
360 (updateInset): don't even load the image into cache if not displaying
363 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
365 * various files (selectNextWord): renamed as
366 selectNextWordToSpellcheck.
368 * insetgraphics.C (draw): remove the previous change. Right place
369 is in imageLoaderXPM.C.
370 (draw): don't display the image if params.display == NONE.
372 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
374 * figinset.C (runqueue):
375 * insetgraphics.C (draw): set background colour of inset from
376 background to the user-configurable graphicsbg.
378 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
380 * insetquotes.C (InsetQuotes): when trying to decide the side of
381 the quote, choose `left' only after a space or '('
383 2001-09-04 José Matos <jamatos@fep.up.pt>
417 * insettext.C (docbook): rename docBook method to docbook.
419 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
421 * inset.h (getFirstParagraph): New virtual method.
423 2001-08-20 Herbert Voss <voss@perce.de>
424 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
425 in the the bibtex-database-gui for inserting a line
428 If no style is given than there is no tex-output.
430 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
432 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
436 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
438 * insetert.C (latex): Fix output for multiple paragraphs.
439 (write): New code for writing paragraph data.
440 (read): Set font after reading the inset.
441 (localDispatch): Call set_latex_font() for more cases.
443 * insetnote.h: Add empty validate method.
446 * insetnote.C (InsetNote): Set language to the language of the
449 2001-08-16 Juergen Vigna <jug@sad.it>
451 * insettext.C: implemented the new FINISHED states.
453 * insettabular.C: ditto
455 * inset.h: added more FINISHED states for cursor right,up,down
457 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
459 * insetfloatlist.C: use "FloatName List"
461 2001-08-14 Juergen Vigna <jug@sad.it>
463 * insetert.C (edit): forgot to set status_ in edit calls!
465 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
467 * insettext.C: Compilation fix
469 2001-08-13 Juergen Vigna <jug@sad.it>
471 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
473 * insetcollapsable.C (edit): don't recollapse an already open inset.
475 * insettext.C: fixed problem when reinitializing LyXText by not doing
476 it while lt is in use and post this to the next possible time in
478 (searchForward): fixed not unlocking of inset if nothing found.
479 (edit): set cursor behind right (was set -1 pos).
481 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
483 * insettabular.C (tabularFeatures): fixed fix where deleting the
484 last row didn't get the right actcell!
486 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
488 * insettext.C (localDispatch): Change language only when the inset
491 2001-08-10 Juergen Vigna <jug@sad.it>
493 * insettabular.C (selectNextWordInt): use the front using edit call.
495 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
496 the parameter overwrite class variable inset.
498 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
500 * insettext.C (saveLyXTextState): check for invalid cursor-par.
501 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
503 * insettabular.C (calculate_dimensions_of_cells): let's try to call
504 update only for fixed with cells.
505 (resetPos): try to fix the lockup on spellchecking or s&r.
507 * insettext.C (update): comment this out as it seems first wrong
508 and second not needed anymore!
509 (some functions): call reinitLyXText() only in update() in all other
510 positions set only need_update = INIT.
512 2001-08-08 Juergen Vigna <jug@sad.it>
514 * insettabular.C (setPos): fixed wrong actrow < rows() check.
516 * insettext.C (insetUnlock): remove double-space on inset unlock.
518 * insetcollapsable.C (draw): fix returned x when label > inset-width.
520 * insettabular.C (update): fixed cursor positon after an insert.
521 (insetAllowed): do not allow to insert insets when not inside the
523 (draw): clear below an inset too as it could have changed height.
525 * inset.C (getMaxWidth): fixed width for inset in inset.
527 * insettext.C (update): small fix.
529 * insettabular.C (tabularFeatures): added selection support to
530 DELETE_ROW/DELETE_COLUMN.
532 2001-08-07 Juergen Vigna <jug@sad.it>
534 * inset.C (getMaxWidth): recoded and all it's implementations!
536 * insettext.C (init,setParagraph+constructors): cleanups
537 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
538 are new and I want do a save/restore of the cursor position which is
539 not possible anymore.
541 * insetcollapsable.C (searchBackward): recollapse inset if not found.
542 (searchBackward): ditto
543 (selectNextWord): ditto
545 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
547 * insetlatexaccent.C (checkContents): Add some debug messages
549 2001-08-07 Juergen Vigna <jug@sad.it>
551 * insetert.C (read): don't use InsetCollapsable::read as we don't
552 write the collapsed status anymore only the status.
555 2001-08-06 Juergen Vigna <jug@sad.it>
557 * insetert.C (set_latex_font): use LyXText's setFont directly.
559 * insettext.C (drawFrame): fixed one time more the right position
560 and size of the frame!
562 * insetert.C (~InsetERT): hide the dialog.
563 (showInsetDialog): added implementation
566 (status): new function for the status of the ERT inset (3-state).
567 (write): output also the status of the inset for readback!
568 (read): readback the status if available otherwise use collapsed_.
570 * insettext.C (edit): small fix of setting the position, which could
573 * insetert.C (width): implement this function for inlined viewing.
574 Added minimum width of 10 pixels!
576 * insetminipage.C (InsetMinipage): just change the colors a bit so
577 that border/background is a bit more visible. We will remove this
580 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
581 function for getting the important widths for drawing in various
582 functions and in LyXText.
583 (draw): fixed up a bit (frame drawing/clearing)
585 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
587 * inset.C (convertFont): delete method. not used.
589 2001-08-03 Juergen Vigna <jug@sad.it>
591 * insettext.C (setFont): don't call for a draw update if we're just
592 changing the cursor font!
594 2001-08-02 Juergen Vigna <jug@sad.it>
596 * insettext.C (draw): clear the background with the right color if
597 needed. Update myself if x&max-width changed and return without doing
598 anything. Let the update code handle the right stuff.
600 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
601 inside another inset.
603 2001-08-01 Juergen Vigna <jug@sad.it>
605 * insetcollapsable.C (update): added an in_update bool so we avoid
608 * insettabular.C (update): added an in_update bool so we avoid
611 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
613 (update): added an in_update bool so we avoid reentering.
615 * insettabular.C (localDispatch): clear col/row selection when doing
616 something else inside an inset.
618 * insettext.C (getLyXText): fixed bug when requesting a recursive
621 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
623 * insetcite.C (latex): Paranoia check. Make sure that there is no
624 whitespace between the citation keys.
626 2001-07-31 Juergen Vigna <jug@sad.it>
628 * inset.h (nodraw): make the set function also const so that this
629 can be called from inside other const functions.
631 * insetcollapsable.h: removed inline variable and moved it over
632 to the only user InsetERT.
634 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
635 inset opening immediately therein lying insets dialogs!
637 * insetert.C (localDispatch): set the font also if we don't have any
638 chars in this paragraph, otherwise if we delete all of em and start
639 writing we have the wrong font.
641 (draw): implemented for inline support
642 (insetButtonRelease): ditto.
644 2001-07-30 Juergen Vigna <jug@sad.it>
646 * insettext.C (reinitLyXText): new function to reinit the insets
647 text after lot's of paragraph changes. Use this instead of the
648 cache.clear() which is VERY dangerous.
650 * insetfloat.C (insetButtonRelease): we should only show the dialog
651 if we press on the label otherwise we have problems to open mouse
652 button 3 dialogs inside this float (f.ex. of a tabular!)
654 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
656 * insetert.C: change back to "ERT"
658 * insetfloat.C: handliign of RMB on label added.
660 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
662 * insetgraphicsParams.C: #include LOstream.h here.
664 * insetfoot.h: remove InsetFoot:: qualifier.
666 2001-07-29 Baruch Even <baruch@lyx.org>
668 * ChangeLog: Hiding time travel evidence.
670 * insetgraphicsParams.h:
671 * insetgraphicsParams.C:
672 * insetgraphics.C: Added horizontal scale option, it actually scales both
673 directions since it keeps image proportions.
675 * insetgraphics.C: Fixed EPS detection to be non-hacky.
677 2001-07-29 Baruch Even <baruch@lyx.org>
679 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
680 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
682 HACKY! Will need to add an EPS detection routine like old InsetFig does!
684 2001-07-29 Baruch Even <baruch@lyx.org>
686 * insetgraphics.C: Added EPSI to be an alias of EPS.
688 2001-07-29 Baruch Even <baruch@lyx.org>
690 * insetgraphics.C: Change GRAPHICS to Graphics.
691 Changed image conversion rules (documented at the beginning of file).
693 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
695 * insetert.C (get_new_label): int -> Paragraph::size_type to get
698 * insetgraphics.C: added a using std::endl directive.
700 * insetcommand.h (getScreenLabel): removed pure virtual function,
701 as it duplicates that in InsetButton.
703 * insetbib.[Ch] (getScreenLabel):
704 * insetbutton.[Ch] (getScreenLabel):
705 * insetcite.[Ch] (getScreenLabel):
706 * insetert.[Ch] (getScreenLabel):
707 * insetexternal.[Ch] (getScreenLabel):
708 * insetfloatlist.[Ch] (getScreenLabel):
709 * insetinclude.[Ch] (getScreenLabel):
710 * insetindex.[Ch] (getScreenLabel):
711 * insetlabel.h (getScreenLabel):
712 * insetparent.[Ch] (getScreenLabel):
713 * insetref.[Ch] (getScreenLabel):
714 * insettoc.[Ch] (getScreenLabel):
715 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
717 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
719 (validate): remove check on "cite" when using natbib.
721 2001-07-26 Baruch Even <baruch@lyx.org>
723 * insetgraphics.C (draw): changed casting to be in one place rather than
724 all over the function.
727 * insetgraphics.C (read): Added compatibility reads of InsetFig.
729 * insetgraphicsParams.h:
730 * insetgraphicsParams.C:
731 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
733 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
735 * insetfoot.C (validate): Added method to ensure that the
736 right bit of LaTeX is emitted.
738 * insetfoot.h: Added validate method to set the correct
739 LaTeXFeatures bit for the special footnote code.
741 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
743 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
746 2001-07-27 Juergen Vigna <jug@sad.it>
748 * inset.h: remove not used font variable in parameter.
749 removed checkInsertChar in UpdatableInset as it was equal to
750 the one in Inset and so not needed.
752 * insetert.C (checkInsertChar): implementation of function
755 * inset.h: added new function checkInsertChar.
757 * various files: added c-tor and clone() function.
759 * insetcollapsable.h: removed clone function here as this should
760 be only realized in REAL insets and added it to all collapsable
761 insets! (with the copy-constructor).
763 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
765 * insetminipage.C (read): handle missing parameters more gracefully
767 * insetcollapsable.C (read): handel missing collapsed more gracefully
769 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
771 * insetfloat.C (read): handle missing parameters.
773 * insettext.C (read): handle old latex end_inset
775 * insetert.C (setButtonLabel): new method
776 (init): use it, to set the dynamic label correctly
779 * Makefile.am (EXTRA_DIST): add files that is not part or the
782 * insetcollapsable.h: remove autocollapsable (no users), remove
783 draw_label, change_label_with_text and companion code. Remove args
785 * insetert.[Ch]: move here instead (only user)
787 * inset.h: rename private variable name to name_, make
788 selectNextWord return a const string. make getInsetName return a
789 string const &. Remove bool from open, add close.
791 * Makefile.am: don't compile insetlist, insetsection
794 2001-07-24 Juergen Vigna <jug@sad.it>
796 * insetert.C (InsetERT): put init after the paragraph initialization,
797 as otherwise we don't set the draw_label right.
799 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
800 insets with the mouse without having strange selections.
801 (edit): if the inset was collapsed and we open it here then put the
802 cursor always at the beginning of the inset.
803 (get_new_label): 15 instead of 10 max chars in the label.
805 * insetert.C (localDispatch): added and handle various stuff we
806 need to handle here (font setting on paragraph break, not permitted
807 layout setting, etc.).
809 * inset.h: added default copy-consturctor and implemented this in
810 various insets with the change to use this in the clone function!
812 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
814 * insetminipage.C (InsetMinipage): set background color to red :)
816 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
818 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
819 draw frame mode is LOCKED.
821 * insetcollapsable.C (edit):
822 (insetButtonRelease): set update status to full when
825 * insettext.C (clearInset):
826 * insettabular.C (draw):
827 * insetlatexaccent.C (draw): honor background color.
829 * inset.h: new member background_color_, initialized to
832 * inset.C (backgroundColor): new method.
833 (setBackgroundColor): new method.
835 * insetert.C (init): new method, called by the ctors.
836 (InsetERT): when inserting contents, make sure the font is
839 * insetnote.C (InsetNote): when inserting content, remove trailing
841 (init): set background color to LColor::note
843 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
845 * insetcollapsable.C: adjust
847 * insetbutton.C: adjust
849 2001-07-23 Juergen Vigna <jug@sad.it>
851 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
852 parameter on the _collapsed function (was not needed) and call
853 always width_collapsed().
855 * insetert.C (InsetERT): use setLabel with "true" flag.
857 * insetcollapsable.C: modified various functions to set the draw_label
858 string right in any condition.
859 (setLabel): added a bool parameter to set change_label_with_text.
861 * insetcollapsable.h: added draw_label string which is set to the
862 actual drawn label-string, while label is the original static label
863 of this collapsable inset. Added bool change_label_with_text to set
864 if we want that the label changes to the start of the InsetText's
865 text when collabpsed. You can set this flag with the setLabel funciton.
866 Added bool inlined for inlined collapsable insets, but not handled
869 * insetcollapsable.C (get_new_label): added should get a new label
870 from the InsetText beginning (for now 10 chars).
872 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
874 * insetquotes.C (latex): fix the handling of french double quotes
875 when not using the french pachage.
877 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
879 * insetcollapsable.h: make WidthCollapsed mutable.
881 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
882 InsetPrintIndex returns INDEX_PRINT_CODE.
884 * inset.h: add INDEX_PRINT_CODE
886 * insetcollapsable.C (draw): init widthCollapsed if necessary
889 * insetquotes.C (width): use the local language, not the document
892 (dispString): add additional spacing for all french languages,
894 (validate): make it work when there is no default language
896 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
898 * insetnote.C (init): new method, called by the constructors
899 (InsetNote): new constructor with contents passed as a string
901 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
903 * insetfootlike.C (insetAllowed): disallow float in footlike.
905 * insetert.C (InsetERT): add collapsed argument to the constrctor
908 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
910 * insetindex.h: shut off warning
912 2001-07-20 Juergen Vigna <jug@sad.it>
914 * insetcollapsable.C (update): recoded hopefully works now!
916 2001-07-19 Juergen Vigna <jug@sad.it>
918 * most files: implemented the below new introduced function.
920 * inset.h: added new edit(BufferView *, bool front) method to be able
921 to enter an inset from the front/back without knowing x/y positions
922 and baselines inside the inset. So I just can tell the inset activate
923 me and set the cursor on the front/back of yourself.
925 2001-07-18 Juergen Vigna <jug@sad.it>
927 * insetcollapsable.C (edit): fixed hopefully the y parameter which
928 is given to the InsetText.
929 (insetButtonPress): ditto
930 (insetButtonRelease): ditto
931 (insetMotionNotify): ditto
933 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
935 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
936 LIGATURE_BREAK, since the name is so stupid.
938 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
940 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
941 the default InsetCollapsable methods. I.e., it can insert anything.
942 (write) output the name of the inset, not some silly hack for
943 compatability with the old InsetInfo.
945 * insetinfo.[Ch]: removed.
946 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
947 now collapsable, but functionality is otherwise identical to InsetInfo.
949 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
951 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
953 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
956 * insetquotes.C: general cleanup
957 (dispString): add spaces inside french double quotes.
958 (latex): ditto. Moreover, treat first the case where the frenchb
959 or french options have been given.
961 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
963 * insetcite.[Ch] (latex, validate): new methods, required for natbib
966 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
968 * figinset.C (RegisterFigure): Print debug message only when
969 current_view is available.
971 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
973 * many files: update to match the change below
975 * inset.h (insetAllowed): renamed from insertInsetAllowed;
976 implement the version which takes an inset here.
978 * insetcollapsable.[Ch]: implement open and isOpen
980 * inset.h: remove insertInsetAllowed from Inset
981 (open): new method, to open or close an inset
982 (isOpen): returns the status of an inset
983 (isCollapsable, colapse): removed
985 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
987 * insetquotes.C (dispString): display french guillemets when using
990 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
992 * insetcollapsable.h: remove bogus return statements
994 2001-07-18 Juergen Vigna <jug@sad.it>
996 * insettabular.C (selectNextWord): fixed spellchecking for the
997 first cell of a tabular (wasn't entered!)
998 (getLyXText): changed to enter automatically insettext and return
999 it's LyXText if we're locked.
1001 2001-07-17 Juergen Vigna <jug@sad.it>
1003 * various files: implemented the below functions.
1005 * inset.h: added functions
1006 - virtual string selectNextWord(BufferView *, float & value) const;
1007 - virtual void selectSelectedWord(BufferView *) { return; }
1008 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
1009 needed for spellchecking correctly!
1011 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
1013 * insetert.C (latex): write out all paragraphs.
1015 2001-07-17 Baruch Even <baruch@lyx.org>
1017 * insetgraphics.C (draw): Removed unneeded casts.
1019 2001-07-16 Juergen Vigna <jug@sad.it>
1021 * insettext.C (update): fixed small oversight (reset lt to 0).
1023 2001-07-14 Baruch Even <baruch@lyx.org>
1026 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
1028 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
1030 Consistent use of Lsstream.h:
1031 * figinset.C: removed using std::ostringstream directive.
1033 * insetgraphics.C (createLatexOptions):
1034 * insetinclude.C (unique_id):
1035 std::ostringstream -> ostringstream.
1036 * insettext.C (localDispatch): std::istringstream -> istringstream.
1038 2001-07-13 Juergen Vigna <jug@sad.it>
1040 * insetfloat.C (insertInsetAllowed): added missing const_cast.
1042 * insetcollapsable.C (getLockingInset): ditto.
1044 2001-07-12 Juergen Vigna <jug@sad.it>
1046 * insetcollapsable.h: added implementation of new function for
1049 * various files: added implementation of new insertInsetAllowed-func
1050 and redone the function a bit more.
1052 * inset.h: added isCollapsable(), bool collapsed(),
1053 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
1055 * insetfloat.C (insertInsetAllowed): make a bit more checks.
1057 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
1058 LyXText which is marked for removal while we're using it!
1060 * insettext.h: added private LyXText * lt to use it to assure we are
1061 not deleting our LyXText while we're using it!
1063 2001-07-11 Juergen Vigna <jug@sad.it>
1065 * insettext.C (insertInset): check if we are before the inset after
1066 inserting it! This check IS needed. Remove the Undo-Call as it is
1067 called in LyXText::insertInset!
1069 * insettext.h: added struct InnerCache.
1071 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
1072 that we ONLY delete the LyXText in the getLyXText() routine. So we
1073 are sure we don't delete LyXText while someone is working with it!
1075 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
1077 * insetexternal.C: (*it). -> it->
1078 * insettext.C: ditto
1080 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1082 * insetcollapsable.C (edit): always open collapsed insets (even if
1083 they are not autocollapsable)
1085 * insetcommand.C (operator=): simplify.
1087 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1089 * insetert.C (latex): handle META_NEWLINE
1091 2001-07-09 Juergen Vigna <jug@sad.it>
1093 * insetert.h: a normal InsetText can insert insets, but we won't.
1095 * inset.h: return default "false" on insertInsetAllowed and implement
1096 this function where a returnvalue != "false" is needed.
1098 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1100 * insetert.C (InsetERT): new contructor
1102 2001-07-06 Juergen Vigna <jug@sad.it>
1104 * a lot of files: added implementation of the below new functions
1105 and the change to clone(). Also the call of the new undo-functions
1108 * inset.h: added an inset_id, added functions getParFromID,
1109 getInsetFromID, firstParagraph, cursor and id functions, added
1110 bool same_ids to clone function.
1112 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1114 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
1115 of BufferView * and shared_ptr<LyXText>
1117 2001-07-05 Juergen Vigna <jug@sad.it>
1119 * insettext.C (clear): deleted also the cache not only LyXText.
1120 (setParagraphData): ditto.
1122 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1124 * insetfloat.C (latex): let the specific placement take presedence
1125 if set, otherwise choose document placement if set, otherwise just
1126 use float default placement.
1128 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1130 * insettext.C (localDispatch): call CutAndPaste::'s static method
1133 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1135 * insetbib.C: no meed to include forms.h here.
1137 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
1139 * insettext.C: added using std::make_pair directive.
1141 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1143 * insettext.C (getLyXText): avoid multiple lookups, and simplify
1145 (deleteLyXText): ditto
1146 (resizeLyXText): ditto
1148 2001-07-02 Juergen Vigna <jug@sad.it>
1150 * insettext.C (getLyXText): introduce a cache in getLyXText so that
1151 following calls are only returned the right pointer without the over
1152 head to search in the map.
1153 (various funcs): reset the cached_bview variable as this signs that
1154 the cache is not valid anymore.
1156 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1158 * insettabular.C (clone): do not copy the LyXTabular twice
1160 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
1162 * insettext.h (TEXT): delete method
1164 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1166 * insetmarginal.C (latex):
1167 * insetfoot.C (latex): fix spacing of notes in LaTeX
1169 * insettext.C (localDispatch): use .c_str() on istringstream
1170 constructor argument.
1172 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
1177 * inseturl.C: fix method names in these to begin
1178 with small char too, so they inherit
1180 2001-06-28 Juergen Vigna <jug@sad.it>
1182 * insettext.C (setFont): fixed font settings using toggleFree()
1183 instead of setFont().
1185 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
1187 * Change a lot of method names to begin with a small char.
1188 Changes to a lot of files because of this.
1190 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1192 * insetfloatlist.C (Write): std:: qualify ostream
1195 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
1199 * insetgraphics.C: send debug output to Debug::INFO instead of
1202 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
1205 * insettabular.C (getStatus): update to use func_status
1207 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
1209 * insetref.C (DocBook): added support for cross-references without
1212 2001-06-26 The LyX Project <jug@sad.it>
1217 * insetlabel.h: removed escape method and moved it to
1220 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1222 * insettabular.C (getMaxWidth): do the speedup in a different way,
1225 2001-06-24 The LyX Project <Asger>
1227 * insettabular.C (getMaxWidth): We cache a mapping from
1228 inset to cell in order to speed this method up.
1230 2001-06-24 The LyX Project <Asger>
1232 * insettext.C: Optimized InsetText::draw or something.
1234 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
1236 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
1238 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
1240 * inset.h: name change from lyxinset.h
1242 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
1244 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
1246 2001-06-14 Juergen Vigna <jug@sad.it>
1248 * insettext.C (draw): removed warnings.
1250 2001-06-13 Juergen Vigna <jug@sad.it>
1252 * insettabular.C (nodraw): only go down the tree if we don't have
1253 that flag set otherwise it's obvious that we don't want to draw.
1254 (LocalDispatch): do also an update if we have an undispached result.
1256 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
1259 * insetgraphicsParams.C:
1260 * insettext.C: removed // -*- C++ -*- as first line.
1262 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1264 * lyxinset.h (resizeLyXText): shut off warning about unused
1267 2001-06-07 Juergen Vigna <jug@sad.it>
1269 * insettext.C (resizeLyXText): honor the new force flag.
1271 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
1273 * insettabular.C (deleteLyXText): new function
1275 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
1283 * insetcollapsable.C:
1284 * insetcaption.C: LColor tidy
1286 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
1288 * figinset.C: fix typo
1290 2001-06-01 Juergen Vigna <jug@sad.it>
1292 * insettabular.C (resetPos): small hack so that scroll is not set to
1293 0 when we are in the last column of a tabular. This is a problem we
1294 have because of constats 20 offset on both directions, so this can
1295 cause on the limit an endless loop.
1297 * insettext.C (SetFont): forgot that we can have locking insets ;)
1299 2001-05-31 Juergen Vigna <jug@sad.it>
1301 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
1303 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1305 * figinset.C: add using std:: directive for the C functions which
1308 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
1310 * insetfloat.C (Write): write out wide info
1311 (Read): read the wide info
1312 (Latex): use the wide info when creating latex.
1314 * insettext.C: adjust
1316 * insetgraphics.[Ch] (statusMessage): change to return string
1320 * figinset.C (runqueue): add std::
1323 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1325 * insetcite.C (Ascii): add std:: qualifier
1327 2001-05-28 Juergen Vigna <jug@sad.it>
1329 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
1330 a endless-width inset (maxWidth < 0).
1331 (Edit): change language only if not equal.
1333 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
1335 * insettext.C (draw): fixed draw/clear of InsetText-Frame
1337 2001-05-16 Juergen Vigna <jug@sad.it>
1339 * insettext.C (selectAll): added
1340 (clearSelection): added
1342 * insettabular.C (SetFont): now we may set a font on a whole selection!
1343 (getSelection): added helper function.
1345 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
1347 * insetcite.C (Ascii): Add method.
1349 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
1352 * insetbib.C: fix path for OS/2 & Win32
1354 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1356 * insetfoot.C (Latex): don't use % after footnote.
1358 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
1360 * insettext.C (Read): use clear
1361 (SetParagraphData): use LyXParagraph copy constructor instead of clone
1363 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1365 * insetfloatlist.h: add a bunch of std:: qualifiers.
1367 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1369 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
1370 FLOAT_LIST_CODE, renumber code list.
1372 * insettoc.C (getScreenLabel): remove support for float lists
1376 * insetfloatlist.[Ch]: new files
1378 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
1380 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
1382 * insettabular.C (LocalDispatch):
1383 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
1386 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
1388 * insettext.C: remvoe !NEW_INSETS cruft
1390 * insettabular.C: remove !NEW_INSETS cruft
1392 * insetcollapsable.h: remove !NEW_INSETS cruft
1394 * insetbib.C: remove !NEW_INSETS cruft
1396 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
1398 * insettoc.C: hack to make listof algorithm work
1400 2001-04-20 Juergen Vigna <jug@sad.it>
1402 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
1404 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1406 * insetquotes.C (Latex): improve the guard against
1407 unwanted !` and ?` ligatures. This should really be done in
1408 another place (to catch all this ligatures at low-level).
1410 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
1412 * insettext.C (init): remvoe leftovers from cursor_visible change
1413 (draw): use c++ cast
1414 (LocalDispatch): dispatch LFUN_MESSAGE
1416 * insettabular.C (InsetTabular): remove leftovers from
1417 cursor_visible, and scoped_ptr changes
1418 (draw): use c++ cast
1420 * insetcollapsable.C (draw): use c++ cast
1422 * ExternalTemplate.h: inherit privaely from noncopyable
1423 * insetcommand.h: ditto
1424 * insetinclude.h: ditto
1426 2001-04-16 Allan Rae <rae@lyx.org>
1428 * insettoc.C (Ascii):
1429 * insettext.C (draw):
1430 * insettabular.C (setPos):
1431 * insetminipage.C (Read):
1432 * insetfloat.C (placement):
1433 * insetcaption.C (Ascii, DocBook):
1434 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
1435 an unrecognised preprocessor directive. So ensure they're wrapped.
1437 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
1440 * insetexternal.C: set view on Clone. Add _ to private members.
1442 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
1444 * insettext.C (InsetText): fix new
1445 (InsetText): reindent some, simplify deletion of par list
1446 (clear): simplify deletion of par list, fix new
1447 (SetParagraphData): simplify deletion of par list
1449 * insettabular.[Ch] (getLabelList): implement new method
1451 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1453 * lyxinset.h: do not include gettext.h...
1461 * insetlatexaccent.C:
1465 * inseturl.C: ... and do it here instead
1467 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
1469 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
1471 * insettext.[Ch] (getLabelList): add std:: on vector<string>
1473 * insetcollapsable.[Ch] (getLabelList): implement
1475 * insettext.[Ch] (getLabelList): implement
1477 * insettext.h: reindent
1479 * insettabular.h: make tabular a scoped_ptr
1481 * insettext.C (init): adjust for cursor_visible
1482 (ToggleInsetCursor): constify asc and desc, font, adjust for
1484 (ShowInsetCursor): constify asc and desc, font, adjust for
1486 (HideInsetCursor): adjust for cursor_visible
1488 * insettabular.C: reindent some
1489 (InsetTabular): adjust for scoped_ptr and cursor_visible
1490 (InsetTabular): ditto
1491 (~InsetTabular): delete delete
1492 (Clone): adjust for scoped_ptr
1493 (Read): constify old_format, adjust for scoped_ptr, move init of
1495 (draw): constify tx, localize loop vars.
1496 some other localization of variables, remove double initilizatons.
1498 * insetfoot.C: remove using std::ostream, add ostream where needed
1500 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
1502 * lyxinset.h: some reindentaion, use initializer list for
1504 UpdatableInset: make cursor_visible a private var add
1505 public isCursorVisible(), add protected toggleCursorVisible() and
1506 proctected setCursorVisible(bool), make scroll call the Inset::scroll
1508 * insettoc.C: remvoe using decl
1509 (getScreenLabel): make cmdname donst
1512 (Ascii): don't use endl
1514 * insetfootlike.C: remove using decl at file scope and add std::
1516 * insetmarginal.C: ditto
1518 * insetfoot.C: some reformatting
1520 * insetfloat.C (InsetButtonRelease): adjust the hit area
1522 * insetert.C (SetFont): some reformatting
1524 * insetcollapsable.C: some reformatting and constification
1525 (Clone): comment out.
1526 * insetcollapsable.h: some reformatting
1527 (Clone): comment out.
1532 2001-03-30 Juergen Vigna <jug@sad.it>
1534 * insetcollapsable.h: changen *inset to be a InsetText inset.
1536 * some files: changed to reflect the above change.
1538 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
1540 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
1541 InsetExternal::Params.
1542 Added operator==() and operator!=() for the Params struct.
1544 2001-03-29 Juergen Vigna <jug@sad.it>
1546 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
1549 * insetminipage.C: removed widthp_ and all it's functions and changed
1550 to use new %-lengths of LyXLength.
1552 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
1554 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
1556 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
1558 * insetgraphicsParams.C (operator!=): new function, needed by the
1559 ControlGraphics class.
1561 2001-03-28 Juergen Vigna <jug@sad.it>
1563 * insettext.C (InsetButtonPress): only enter !inset if button == 2
1564 (checkAndActivateInset): don't use the values returned from
1565 call to bv->checkInsetHit.
1567 * insetminipage.C (Clone): set special minipage values.
1569 * insetcollapsable.C (draw): changed to draw the button in the
1570 upper left corner outside the textinset.
1571 (ascent): changed because of different drawing
1575 (InsetButtonPress): ditto
1576 (InsetButtonRelease): ditto
1577 (InsetMotionNotify): ditto
1579 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
1581 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
1585 2001-03-26 Juergen Vigna <jug@sad.it>
1587 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
1589 * insettext.C (ShowInsetDialog): implemented above function.
1591 * insettabular.C (ShowInsetDialog): ditto
1593 * insetminipage.C (ShowInsetDialog): ditto
1595 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
1597 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
1598 InsetInclude::Params. Don't store a buffer * in Params. Store the
1599 master file name instead.
1601 2001-03-23 Juergen Vigna <jug@sad.it>
1603 * insetcollapsable.C (InsetMotionNotify):
1604 (InsetButtonRelease):
1605 (InsetButtonPress): fixed y-offset (minipages).
1607 * insettext.C (draw): force a FULL update if cleared == true.
1609 * insetcollapsable.C (draw): Lars forgotten entry for changing this
1610 routine to draw the minipages on its position-flag.
1611 (InsetInInsetY): give back the right y position, because of minipage
1614 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
1617 * insetfloat.C (DocBook): docbook export code.
1619 2001-03-22 Juergen Vigna <jug@sad.it>
1621 * insetminipage.C (getMaxWidth): added function to set the drawing
1623 (Read): should work now!
1625 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
1626 if we create a new inset.
1628 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
1630 * figinset.C (fl_set_preemptive_callback): moved definition outside
1633 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1635 * insetminipage.C (Read): prepare for reading of minipage arguments.
1637 2001-03-18 Baruch Even <baruch@lyx.org>
1639 * insetgraphics.C: Minor cleanups of the comments and code.
1641 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1643 * insetminipage.C (InsetMinipage): default to not collapsed
1645 2001-03-16 Juergen Vigna <jug@sad.it>
1647 * insetminipage.C (width): modified with to be a string
1648 (widthp): added widthp (for % width) support functions.
1649 (InsetButtonRelease): added to open the options dialog on button==3.
1650 (~InsetMinipage): added to hide the dialog.
1652 * insetminipage.h: added hideDialog signal
1654 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1656 * insetminipage.h: change the order or Position to match
1657 LyXParagraph::MINIPAGE_ALIGNMENT
1659 * several files: remvoe CXX_WORKING_NAMESPACES
1661 * ExternalTemplate.h: noncopyable is in namespace boost
1662 * insetinclude.h: ditto
1663 * insetcommand.h: ditto
1665 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
1667 * insettext.C (Edit): #else# -> #else.
1668 * insettoc.C: added using directive.
1670 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1672 * insetminipage.h: add pos, inner_pos, width and height. + getters
1673 and setters for all of them.
1675 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
1677 * insetinclude.C (Latex): Do not exit when the textclass of the
1678 included file differ from the textclass of the parent file.
1680 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
1682 * ExternalTemplate.C (read): the reading of external insets now checks
1683 for \end_inset and removes it form the input stream.
1685 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
1687 * ExternalTemplate.h:
1688 * ExternalTemplate.C:
1690 * insetexternal.C: move form to GUII
1692 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
1695 * insetinclude.C: add InsetIncludeParams, use
1696 composition rather than derivation of InsetCommand
1698 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1700 * insettoc.C (Ascii): use the Buffer typedefs
1702 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1704 * insettoc.C (Ascii): implement for dynamic number of lists
1706 * insetcaption.[Ch]: update from new_insets branch
1707 * insetfloat.[Ch]: ditto
1709 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
1712 * figinset.C: use new File Dialog
1714 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1716 * insettext.C: changes becuase of ParagraphParameters.
1718 2001-02-28 Baruch Even <baruch@ev-en.org>
1720 * insetgraphics.C (updateInset): Changed due to the change in
1723 2001-02-26 Juergen Vigna <jug@sad.it>
1725 * insettext.C (SetFont): Set Undo only if we have selection (as it is
1726 handled in LyXText).
1728 2001-02-23 Juergen Vigna <jug@sad.it>
1730 * insettext.C (draw): some small repainting fixes.
1731 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
1733 * inset.C (LocalDispatch): changed action to be a kb_action (as it
1734 should be) and not an int.
1736 * insettabular.C (LocalDispatch): ditto
1738 * insettext.C (LocalDispatch): ditto
1740 * insetcollapsable.C (LocalDispatch): ditto
1742 2001-02-22 Juergen Vigna <jug@sad.it>
1744 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
1745 DISPATCH it and we don't have a locking_inset.
1747 2001-02-21 Baruch Even <baruch@ev-en.org>
1749 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
1750 instead of GraphicsCacheItem *.
1752 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1754 * insetcollapsable.C (getLyXText): add const qualifier to second
1757 2001-02-22 Juergen Vigna <jug@sad.it>
1759 * insettext.C (getLyXText): honor the recursive parameter.
1760 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
1762 * inset.C (getLyXText): added bool recursive parameter.
1764 * insettext.C (SetUpdateStatus): or the update codes.
1765 (draw): check need_update with &.
1766 (InsetButtonPress): set no_selection to not put a selection when
1767 entering an inset and it is redraws in another spot.
1769 * insettext.h: made need_update an int.
1771 2001-02-20 Baruch Even <baruch@ev-en.org>
1774 * insetgraphisc.C: Changed to use better semantics when loading images
1775 for inline view. Now it doesn't keep the pixmap itself but it's holder.
1777 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1781 * insetgraphics.C: change name of "hide" signal to "hideDialog",
1782 consistent with InsetTabular.
1784 2001-02-19 Juergen Vigna <jug@sad.it>
1786 * insettabular.C (LocalDispatch): implement PAGE up/down.
1788 * insettext.C (draw): clear all of it on need_update==INIT too!
1790 * insettabular.C (InsetUnlock): always clear the selection.
1792 * inset.C (scroll): normally we only want to scroll the inset until
1793 it is fully visible so if top_x + offset > 20 then just set scx to 0.
1795 2001-02-14 Juergen Vigna <jug@sad.it>
1797 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
1798 (resetPos): fixed scroll behaviour.
1799 (LocalDispatch): do an update if moving cursor inside a table cell
1800 requests a scroll of the tabular.
1802 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1804 * insettext.C (textWidth): constify local var
1806 * insettabular.C: small cleanup.
1808 * insetfoot.C (Latex): constify local var
1810 * insetcollapsable.C: small cleanup.
1812 * figinset.C (runqueue): use compare instead of strcmp
1814 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1817 * insetinfo.C: remove cruft
1819 2001-02-14 Juergen Vigna <jug@sad.it>
1821 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
1823 2001-02-13 Juergen Vigna <jug@sad.it>
1825 * insettext.C (InsertInset): don't move left (is this right?)
1827 * insettabular.C (LocalDispatch): use of the no_draw variable
1829 * insettabular.h: new no_draw variable to stop redraw
1831 * insettabular.C (TabularFeatures): fixed update for alignment change
1833 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1837 * insetbib.C: move dialogs to frontends/
1839 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1841 * insettext.C (LocalDispatch): Restore the language if the inset
1844 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1846 * insettext.C (moveRightIntern): Update the selection cursor.
1847 (moveLeftIntern): Ditto.
1849 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1851 * Makefile.am: remove BoundingBox.h
1853 * BoundingBox.h: removed
1855 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
1857 * insettext.C (LocalDispatch): Update selection cursor when moving
1858 cursor to the right.
1859 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
1860 (moveLeftIntern): Ditto.
1862 2001-02-05 Baruch Even <baruch.even@writeme.com>
1864 * insetgraphics.C: Updated automatic image conversion, it now goes into
1865 temporary directory instead of with the image itself.
1867 2001-01-21 Baruch Even <baruch@ev-en.org>
1869 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
1870 to EPS or PNG when needed (support bitmap graphics).
1872 2000-11-02 Baruch Even <baruch@ev-en.org>
1875 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
1876 and removal of commented out code.
1878 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1880 * insetbib.C (callback): Update citations if the key has changed.
1882 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1884 * insetbib.C (InsetBibKey): Better computation of default key.
1885 (getScreenLabel) Show both the key and the label.
1886 (getBibLabel): New method.
1887 (callback): Force a redraw if the inset have been changed.
1889 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1891 * insetref.C (getType, getName): Move methods from
1892 src/frontends/xforms/FormRef.C.
1894 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
1896 * insettabular.C: Various improvements (use only one dummy position).
1898 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
1900 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
1901 par->bibkey->width. This fixes the crashes when running without
1902 gui or when having included documents.
1904 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
1906 * insetcommand.C (getAsString, setFromString): Cleanup.
1908 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
1910 * insetref.C: Add the array InsetRef::types that contains
1911 information about all supported reference types.
1913 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1915 * lyxinset.h: remove trailing comma in enum.
1917 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
1919 * insettext.C: kill LyXBell.