2 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
4 * inset.C (setPosCache): switch to absolute coords in insets
5 * insettext.[Ch] (draw, drawFrame): adjust
6 * insetcollapsable.C (draw): adjust
9 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
12 (updateLocal): use the cur argument instead of the global cursor
13 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
15 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
17 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
19 * insetfloat.C (validate): "H" -> 'H' in call to contains
21 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
23 2004-01-30 André Pönitz <poenitz@gmx.net>
27 * insetcollapsable.[Ch]:
35 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
38 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
40 * insettabular.C: add using statement for std::vector, remove
41 std:: where using was already used.
43 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
45 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
47 * insetinclude.C (validate): use feautures.nice() instead of
50 2004-01-20 André Pönitz <poenitz@gmx.net>
53 * insetbase.[Ch]: move stuff from mathcursor here.
59 * insetcharstyle.[Ch]:
60 * insetcollapsable.[Ch]:
74 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
76 2004-01-15 André Pönitz <poenitz@gmx.net>
83 * insetcharstyle.[Ch]:
84 * insetcollapsable.[Ch]:
98 * updatableinset.[Ch] (priv_dispatch et al): change signature.
100 2004-01-08 André Pönitz <poenitz@gmx.net>
102 * insetcollapsable.[Ch]:
105 * updatableinset.h: use cell index info from global cursor.
107 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
109 * insetnote.C (InsetNoteParams::write): write label only once
111 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
113 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
115 get rid of the SameName functor
117 * insettabular.C: improve the functor.
119 2003-12-29 Angus Leeming <leeming@lyx.org>
121 * insetexternal.C (setParams): update defaultTemplateName.
123 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
125 * insetbox.C: Use term "Box" in button label
127 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
129 * insetcharstyle.C: get getDrawFont working again
131 2003-12-15 André Pönitz <poenitz@gmx.net>
134 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
136 2003-12-12 Angus Leeming <leeming@lyx.org>
138 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
140 (InsetBranchParams): remove the branchlist hack.
141 (isBranchSelected): new function, used to decide whether to
142 print each output format. Also used by InsetList.
143 (read, string2params): repair my own breakage ;-)
145 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
147 * insetminipage.[Ch]: remove from repository.
149 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
152 * insetcollapsable.[Ch]: Move all CollapseStatus code from
153 insetert to insetcollapsable; introduce virtual function
154 setButtonLabel and invoke it from collapsable
156 2003-12-12 Angus Leeming <leeming@lyx.org>
158 * insetinclude.C (draw): cache x,y and so enable the
161 2003-12-12 Angus Leeming <leeming@lyx.org>
163 * mailinset.C (print_mailer_error): tidy up the output.
165 2003-12-11 Angus Leeming <leeming@lyx.org>
167 * mailinset.[Ch] (print_mailer_error): new helper function.
169 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
170 calling InsetCommandMailer.
171 (InsetCommandMailer::string2params): pass the name of the dialog.
173 * insetbibitem.[Ch] (d-tor):
174 * insetbibtex.[Ch] (d-tor):
175 * insetcite.[Ch] (d-tor):
176 * insetfloatlist.[Ch] (d-tor):
177 * insetindex.[Ch] (d-tor):
178 * insetlabel.[Ch] (d-tor):
179 * insetref.[Ch] (d-tor):
180 * insettoc.[Ch] (d-tor):
181 * inseturl.[Ch] (d-tor): removed.
182 Hiding the dialog is handled by InsetCommand.
184 * insetbibtex.[Ch] (draw, metrics):
185 * insetfloatlist.[Ch] (draw, metrics):
186 * insetindex.[Ch] (draw, metrics): removed.
187 Drawing is handled by InsetCommand.
189 * insetbibitem.[Ch] (priv_dispatch):
190 * insetbibtex.[Ch] (priv_dispatch):
191 * insetcite.[Ch] (priv_dispatch):
192 * insetfloatlist.[Ch] (priv_dispatch):
193 * insetindex.[Ch] (priv_dispatch):
194 * insetlabel.[Ch] (priv_dispatch):
195 * insettoc.[Ch] (priv_dispatch):
196 * inseturl.[Ch] (priv_dispatch): removed or simplified.
197 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
198 LFUN_INSET_DIALOG_SHOW.
200 * insetbox.C (string2params):
201 * insetbranch.C (string2params):
202 * insetert.C (string2params):
203 * insetexternal.C (string2params):
204 * insetfloat.C (string2params):
205 * insetinclude.C (string2params):
206 * insetminipage.C (string2params):
207 * insetnote.C (string2params):
208 * insetvspace.C (string2params):
209 * insetwrap.C (string2params): over-hauled.
211 2003-12-10 Angus Leeming <leeming@lyx.org>
213 * insetexternal.[Ch]: add a draft option and respect it when
216 2003-12-10 Angus Leeming <leeming@lyx.org>
218 * insetbox.C: (read, write): now prepend the inset contents with
219 'Box' to identify the inset as a box inset.
221 * insetbox.h: move the translators out of sight.
223 2003-12-10 Angus Leeming <leeming@lyx.org>
225 * insetert.C (string2params): clean-up using the new lyxlex interface.
227 * insetexternal.C: ensure that InsetExternalParams has a default
228 template, 'RasterImage'.
230 2003-12-10 Angus Leeming <leeming@lyx.org>
232 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
233 to an enum. Ensuing clean-ups through out the class.
234 (read, write): now prepend the inset contents with 'Note' to identify
235 the inset as a note inset.
237 2003-12-10 Angus Leeming <leeming@lyx.org>
239 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
240 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
242 2003-12-10 André Pönitz <poenitz@gmx.net>
247 * insettext.[Ch]: remove unused insetInset()
249 * insetert.C: disable some LFUNs
251 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
253 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
255 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
257 2003-12-04 Angus Leeming <leeming@lyx.org>
259 * insetexternal.C (draw): update the xo_, yo_ cache.
261 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
263 (RotationDataType): new helper struct wrapping the
264 RotationData::OriginType enum.
266 2003-12-03 André Pönitz <poenitz@gmx.net>
268 * inset.h: remove getParagraphs()
270 * insetcollapsable.[Ch]:
274 * insettext.C: use getText() instead of getParagraphs()
276 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
278 * insetert.C: fix label text updating bug
280 2003-12-02 Angus Leeming <leeming@lyx.org>
282 * insetvspace.[Ch] (space): new member function. Make space_ private.
283 (read): use the new, simpler lyxlex syntax.
285 2003-12-01 André Pönitz <poenitz@gmx.net>
287 * insetcollapsable.[Ch]:
288 * insetert.[Ch]: move 'inline' state to InsetCollapsable
290 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
292 * insetvspace.C (read): handle 'end_inset' token.
294 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
296 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
298 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
300 * insetcollapsable.[Ch]:
302 * insetcharstyle.C: place inset content on the button when
305 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
307 * insetvspace.C: remove VSpace::NONE; increase inset width
309 2003-12-01 André Pönitz <poenitz@gmx.net>
311 * insetbase.h: whitespace
313 * inset.[Ch]: remove latexTextWidth
314 make setBackgroundColor virtual
316 * insettext.[Ch]: move ParagraphList member to LyXText
318 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
324 * insetminipage.[Ch]:
326 * insetwrap.[Ch]: adjust paragraphs and background color handling,
328 2003-11-28 Angus Leeming <leeming@lyx.org>
330 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
331 hiding and showing the dialog respectively.
332 (priv_dispatch): also actually update the inset contents.
334 2003-11-28 Angus Leeming <leeming@lyx.org>
336 * insetbox.C (d-tor):
337 * insetbranch.C (d-tor):
338 * insetcite.C (d-tor):
339 * insetfloat.C (d-tor):
340 * insetfloatlist.C (d-tor):
341 * insetinclude.C (d-tor):
342 * insetindex.C (d-tor):
343 simplify the invocation of the Mailer::hideDialog() function.
345 * insetminipage.C (showInsetDialog):
346 simplify the invocation of the Mailer::showialog() function.
348 2003-11-28 André Pönitz <poenitz@gmx.net>
351 * insetvspace.[Ch]: new insets
353 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
355 * insetcharstyle.C: Syntax change for CharStyles
357 2003-11-28 André Pönitz <poenitz@gmx.net>
359 * updatableinset.h: remove insetInInsetY
361 * insetcollapsable.[Ch]:
364 * insettext.[Ch]: adjust
366 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
370 * insetcollapsable.[Ch]:
372 * insettabular.[Ch]: remove setFont
374 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
376 * render_graphic.[Ch]: adjust comments
378 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
380 * insetgraphics.C (draw): cache xo_ & yo_
382 2003-11-24 André Pönitz <poenitz@gmx.net>
384 * insettext.C (setViewCache): don't call LyXText::init() anymore
386 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
389 * insetcollapsable.[Ch]:
390 * insetert.[Ch]: remove bufferview parameter in methods
391 open, close, status, and updateStatus.
393 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
395 * insetcollapsable.[Ch]:
397 * insettext.[Ch] (getCursorDim): squash unused variable
399 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
401 * insettext.C (edit): x0_,y0_ -> xo_,yo_
403 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
405 * insettext.C (draw): sets LyXText absolute coordinates
407 2003-11-20 Angus Leeming <leeming@lyx.org>
409 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
410 about unused parameters.
412 * insetcollapsable.C (open):
413 * insettabular.C (pasteSelection):
414 * insettoc.C (draw): ditto.
416 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
418 * insetcollapsable.C:
420 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
421 remove mouse_x mouse_y etc.
423 2003-11-17 André Pönitz <poenitz@gmx.net>
425 * insettext.[Ch] (cx, cy): remove
427 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
429 2003-11-13 André Pönitz <poenitz@gmx.net>
432 * insetcollapsable.[Ch]:
434 * insettext.[Ch] (deleteLyXText): remove
436 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
438 * insetcollapsable.[Ch] (fitInsetCursor): remove
439 * insettabular.[Ch] (fitInsetCursor): remove
440 * insettext.[Ch] (fitInsetCursor): remove
441 * updatableinset.[Ch] (fitInsetCursor): remove
442 (getCursorDIm): add virtual
444 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
446 * src/insets/Makefile.am:
447 * src/insets/inset.h:
448 * src/insets/insetcharstyle.C:
449 * src/insets/insetcharstyle.h: The Character Style /XML short
452 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
454 * insettext.C: remove all update calls
455 * insetcollapsable.C: remove all update calls
457 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
459 * insettext.C (updateLocal, insertInset, setFont): remove
462 2003-11-10 André Pönitz <poenitz@gmx.net>
464 * inset.h: remove Inset::id_
466 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
469 2003-11-10 André Pönitz <poenitz@gmx.net>
473 * insetcollapsable.[Ch]:
480 * updatableinset.[Ch]: remove inset locking & adjust
482 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
484 * inset.h (allowSpellCheck): add (return true)
485 * insetert.h (allowSpellCheck): add (return false)
487 2003-11-05 José Matos <jamatos@lyx.org>
495 * insetcollapsable.[Ch]:
499 * insetexternal.[Ch]:
501 * insetfloatlist.[Ch]:
503 * insetgraphics.[Ch]:
508 * insetlatexaccent.[Ch]:
511 * insetmarginal.[Ch]:
512 * insetminipage.[Ch]:
516 * insetpagebreak.[Ch]:
520 * insetspecialchar.[Ch]:
526 * insetwrap.[Ch]: rename ascii to plaintext
527 and LatexRunParams to OutputParams.
529 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
531 * insetcollapsable.C (edit): add open() all
532 * insettext.C (edit): add setViewCache call
534 2003-11-04 André Pönitz <poenitz@gmx.net>
536 * inset.h (edit): move locking code from dispatch() to edit()
542 * insetcollapsable.[Ch]:
545 * insetexternal.[Ch]:
546 * insetgraphics.[Ch]:
552 * insettext.[Ch]: adjust
554 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
557 * insetcollapsable.[Ch]:
561 * updatableinset.[Ch]: remove dead search code
563 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
566 * insetcollapsable.[Ch]:
570 * updatableinset.[Ch]: remove dead spellcheck code
572 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
574 * insettabular.C (lockInsetInInset): small fix
576 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
578 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
579 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
580 from here. Be stricter on DispatchResult returned.
582 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
584 * Inset::dispatch's: adjust for new DispatchResult semantics.
586 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
588 * render_base.h: make clone return an auto_ptr
589 * render_button.C (clone): adjust
590 * render_graphic.C (clone): adjust
591 * render_preview.C (clone): adjust
593 * insettheorem.C (clone): return an auto_ptr
595 * insettext.C (priv_dispatch): exception safety
597 * insettabular.C: store the file scope variable paste_tabular in a
598 scoped_ptr, adjust usage.
600 * insetexternal.C (setParams): exception safety
602 * insetbibitem.C (clone): exception safety
604 2003-11-03 André Pönitz <poenitz@gmx.net>
607 * insetcollapsable.[Ch]:
609 * insettext.[Ch]: remove Inset::id and related functions
611 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
613 * insets: adjust for DispatchResult changes.
615 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
617 * insetpagebreak.C: fix screen representation & ascii output.
619 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
624 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
626 2003-10-31 José Matos <jamatos@lyx.org>
628 * inset.h (ascii, linuxdoc, docbook):
629 * insetbox.[Ch] (ascii, linuxdoc, docbook):
630 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
631 * insetcaption.[Ch] (ascii, docbook):
632 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
633 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
634 * insetert.[Ch] (ascii, linuxdoc, docbook):
635 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
636 * insetfloat.[Ch] (linuxdoc, docbook):
637 * insetfloatlist.[Ch] (ascii):
638 * insetfoot.[Ch] (docbook):
639 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
640 * insethfill.[Ch] (ascii, linuxdoc, docbook):
641 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
642 * insetindex.[Ch] (docbook):
643 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
644 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
645 * insetline.[Ch] (ascii, linuxdoc, docbook):
646 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
647 * insetnote.[Ch] (ascii, linuxdoc, docbook):
648 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
649 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
650 * insetref.[Ch] (ascii, linuxdoc, docbook):
651 * insetspace.[Ch] (ascii, linuxdoc, docbook):
652 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
653 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
654 * insettext.[Ch] (ascii, linuxdoc, docbook):
655 * insettoc.[Ch] (ascii, linuxdoc, docbook):
656 * inseturl.[Ch] (ascii, linuxdoc, docbook):
657 * insetwrap.[Ch] (docbook):
658 add LatexRunParams argument.
660 2003-10-30 José Matos <jamatos@lyx.org>
662 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
664 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
666 * updatableinset.C (priv_dispatch):
667 * insetwrap.C (priv_dispatch):
668 * inseturl.C (priv_dispatch):
669 * insettoc.C (priv_dispatch):
670 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
671 (moveLeftIntern, moveUp, moveDown):
672 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
673 (moveLeft, moveUp, moveDown):
674 * insetref.C (priv_dispatch):
675 * insetnote.C (priv_dispatch):
676 * insetminipage.C (priv_dispatch):
677 * insetlabel.C (priv_dispatch):
678 * insetindex.C (priv_dispatch):
679 * insetinclude.C (priv_dispatch):
680 * insetgraphics.C (priv_dispatch):
681 * insetfloatlist.C (priv_dispatch):
682 * insetfloat.C (priv_dispatch):
683 * insetexternal.C (priv_dispatch):
684 * insetert.C (priv_dispatch):
685 * insetcommand.C (priv_dispatch):
686 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
687 * insetcite.C (priv_dispatch):
688 * insetbranch.C (priv_dispatch):
689 * insetbox.C (priv_dispatch):
690 * insetbibtex.C (priv_dispatch):
691 * insetbibitem.C (priv_dispatch):
692 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
694 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
696 * insettext.C: small refactoring of docbook stuff
698 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
700 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
701 (priv_dispatch): adjust for operator dispatch_result_t removal
703 * insettabular.C (lfunMouseRelease): put the result of a dispatch
704 in a DispatchResult, adjust accordingly.
705 (priv_dispatch): use strange >= construct... (will be removed later)
707 * most insets: dispatch_result -> DispatchResult
709 * insetbase.h: move DispatchResult out to dispatchresult.h
711 2003-10-27 André Pönitz <poenitz@gmx.net>
713 * insetpagebreak.[Ch]: new inset for page breaks
715 * insetline.[Ch]: new inset for vertical lines
720 2003-10-25 Angus Leeming <leeming@lyx.org>
722 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
723 new virtual member functions, specialised...
724 * render_button.h (asButton):
725 * render_graphic.h (asGraphic):
726 * render_preview.h (asPreview, asMonitoredPreview): ... here.
728 * insetexternal.C: use these new functions rather than dynamic_cast.
729 Various other small simplifications.
731 2003-10-22 Angus Leeming <leeming@lyx.org>
733 * insetexternal.[Ch]: add the ability to 'preview' the external file
736 * insetinclude.C: changes due to the changes in the RenderPreview
739 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
740 message if the preview image is not available. Only initiate the
741 loading of the preview from draw(). Ditto, start the monitoring
742 of an external file from RenderMonitoredPreview::draw.
744 2003-10-22 Angus Leeming <leeming@lyx.org>
746 * insetcite.[Ch] (setLoadingBuffer): removed.
747 (getNatbibLabel): use the new Buffer::fully_loaded member function to
748 ascertain whether to proceed with the (expensive) task of computing
749 the natbib-style label. Remove the home-grown hack providing
750 similar functionality.
752 2003-10-22 Angus Leeming <leeming@lyx.org>
754 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
755 class and into an anonymous namespace.
757 2003-10-22 Angus Leeming <leeming@lyx.org>
759 * insetcommand.h: remove the display method.
763 * insetindex.h (InsetPrintIndex):
764 * insettoc.h: add a display method, returning true.
766 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
768 * insetcollapsable.h:
772 * insetinclude.h: (1) finish off the inset display() work;
773 (2) fix the "is a bit silly" bug (accessing char
776 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
780 * insetfootlike.h: re-introduce display() for insets,
781 fixing the various bugs (stretch of line above, math inset
784 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
786 * insetbase.C (dispatch): new func
787 (priv_dispatch): new func replaces...
788 (localDispatch): this, deleted.
790 * all insets with dispatch modified for new code.
792 2003-10-15 André Pönitz <poenitz@gmx.net>
794 * insetcollapsable.[Ch]
796 * inset.h: re-add some edit(bv, index) method called by undo
798 2003-10-14 Angus Leeming <leeming@lyx.org>
800 * insetexternal.[Ch] (view, cache, view_):
801 * insetgraphics.[Ch] (view, cache, view_):
802 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
803 (statusChanged): call LyX::cref().updateInset.
805 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
806 the BufferView cache.
808 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
811 2003-10-14 Angus Leeming <leeming@lyx.org>
813 * insetinclude.C (metrics, draw): only draw the preview when previews
816 2003-10-14 André Pönitz <poenitz@gmx.net>
818 * insetcollapsable.[Ch]:
821 * inset.h: getText() as alternative to getParagraphs()
823 2003-10-13 Angus Leeming <leeming@lyx.org>
826 * insetgraphicsParams.C: displayTranslator is now a function.
828 2003-10-13 Angus Leeming <leeming@lyx.org>
830 * insetinclude.C: remove #include "PreviewImage.h".
832 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
835 * ExternalTransforms.C:
837 * insetbox.h: ws changes only
839 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
841 * insetinclude.C (localDispatch): do not call
842 InsetOld::localDispatch, just return UNDISPATCHED
843 * insetgraphics.C (localDispatch): ditto
844 * insetcommand.C (localDispatch): ditto
846 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
848 * inset.h: get rid of RESULT typedef for dispatch_result
850 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
851 * insetert.[Ch] (localDispatch): ditto
852 * insettabular.[Ch] (localDispatch): ditto
857 * insettext.[Ch] (localDispatch): ditto
860 (moveRightIntern): ditto
861 (moveLeftIntern): ditto
864 * updatableinset.[Ch] (localDispatch): ditto
866 2003-10-12 Angus Leeming <leeming@lyx.org>
868 * renderbase.h (view, view_): removed.
869 * renderbase.C: removed.
870 * Makefile.am: remove render_base.C. The shortest lived file in
873 * renderbutton.C (draw):
874 * render_graphic.C (draw): don't cache the BufferView.
876 * insetabase.h (cache, view): removed.
878 * inset.h (generatePreview) removed.
880 * insetcallapsable.[Ch] (cache, view, view_): removed.
882 * insetcollapsable.C (draw): don't cache the BufferView.
884 * insetcommand.[Ch] (view): removed.
886 * insetexternal.[Ch] (cache, view, view_):
887 * insetgraphics.[Ch] (cache, view, view_):
888 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
890 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
891 when you have direct access to it. In fact, don't use the cache at all.
893 2003-10-10 Angus Leeming <leeming@lyx.org>
895 * insetinclude.C (metrics): use preview_->metrics.
896 (draw): use preview_->draw.
898 * render_preview.[Ch] (pimage): removed.
900 2003-10-10 Angus Leeming <leeming@lyx.org>
902 * renderers.[Ch]: removed.
905 * render_button.[Ch]:
906 * render_graphic.[Ch]:
907 * render_preview.[Ch]: new files. The first three are split out of
908 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
909 contains a re-worked InsetInclude::PreviewImpl also.
911 * Makefile.am: reflect the changed files.
914 * insetexternal.[Ch]:
915 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
917 * insetinclude.[Ch]: changes reflecting the change from
918 InsetInclude::PreviewImpl to RenderMonitoredPreview.
924 * inseturl.C: add #include "support/std_ostream.h"
926 2003-10-09 Angus Leeming <leeming@lyx.org>
928 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
929 to PreviewedInset::previewReady.
931 2003-10-09 Angus Leeming <leeming@lyx.org>
933 * insetexternal.[Ch] (statusChanged):
934 * insetgraphics.[Ch] (statusChanged): make a const member function.
936 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
939 2003-10-09 Angus Leeming <leeming@lyx.org>
941 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
942 to PreviewedInset's previewReady and removePreview member functions.
944 2003-10-08 André Pönitz <poenitz@gmx.net>
946 * insetcollapsable.C:
947 * insettext.[Ch]: saner 'init' structure
949 * updatableinset.[Ch]: remove unneeded code
951 2003-10-08 Angus Leeming <leeming@lyx.org>
953 Fix doxygen warnings.
955 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
956 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
958 2003-10-07 Angus Leeming <leeming@lyx.org>
960 * ExternalTransforms.[Ch]: new files, detailing transforms that can
961 be applied to InsetExternal.
963 * Makefile.am: add these new files.
965 * ExternalTemplate.[Ch]: add a list of available transforms to
966 class Template and a list of factory functions for transformer classes
967 that can act on this data to class Format.
969 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
971 * ExternalSupport.C: Add code to replace transform placeholders
972 with appropriate output.
974 2003-10-07 Angus Leeming <leeming@lyx.org>
976 * ExternalSupport.[Ch]: new files, moving the private member functions
977 and namespace anon functions out of insetexternal.C to here, so making
978 it easier to understand what is going on in insetexternal itself.
980 * Makefile.am: add new files.
982 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
983 allowing the class to be forward declared. (Also consistent with
984 all other Params classes.)
985 (write): moved out of the class. Move this function and those in
986 namespace anon to ExternalSupport.[Ch].
988 2003-10-07 Angus Leeming <leeming@lyx.org>
990 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
991 non-const member function.
993 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
998 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1000 2003-10-02 André Pönitz <poenitz@gmx.net>
1002 * insettext.C (read): make sure there is at least one par
1003 in the text after reading.
1005 2003-10-01 José Matos <jamatos@lyx.org>
1007 * insetbranch.C (linuxdoc, docbook): minor fix.
1009 2003-10-01 Angus Leeming <leeming@lyx.org>
1011 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1013 * insetexternal.[Ch]: changes due to the introduction of
1014 namespace lyx::external.
1016 2003-09-30 Angus Leeming <leeming@lyx.org>
1018 * insetexternal.[Ch] (Params::read, write): new member functions.
1020 2003-09-25 Angus Leeming <leeming@lyx.org>
1022 * insetexternal.[Ch] (TempName): new (private) nested struct with
1023 fake copy semantics. Enables us to use the generated copy c-tor
1024 in the Params struct.
1025 (Params::templatename, Params::tempname): use accessor functions.
1027 2003-09-25 Angus Leeming <leeming@lyx.org>
1029 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1030 function, returning a const pointer.
1032 2003-09-23 Angus Leeming <leeming@lyx.org>
1034 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1035 store them in a vector, preambleNames.
1037 * insetexternal.C (validate): loop over all preambleNames and call
1038 LaTeXFeatures::addExternalPreamble with each.
1040 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1042 * insetbranch.C: bug fix in branches
1044 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1046 * insetnote.C: small clean-up.
1048 2003-09-19 Angus Leeming <leeming@lyx.org>
1050 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1052 * insetcommand.C (string2params): clear params using the default c-tor.
1054 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1055 InsetInclude::Params. No more data in this struct than in
1056 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1057 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1058 (clone): remove #warning as it's now redundant.
1059 (set): add a 'Buffer const &' arg. Make private.
1060 (loadIfNeeded) move out of the class definition and into namespace anon.
1061 (getMasterFilename, getFileName): ditto.
1063 2003-09-18 Angus Leeming <leeming@lyx.org>
1065 * insetcommand.C (setParams): use the params' copy constructor.
1067 2003-09-18 Angus Leeming <leeming@lyx.org>
1069 * insetinsetbase.h (getLabelList):
1070 * insetinsetcollapsable.[Ch] (getLabelList):
1071 * insetinsetinclude.[Ch] (getLabelList):
1072 * insetinsetlabel.[Ch] (getLabelList):
1073 * insetinsettabular.[Ch] (getLabelList):
1074 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1075 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1077 2003-09-18 Angus Leeming <leeming@lyx.org>
1079 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1080 redundant baggage from yesteryear.
1081 Remove Params::flag as it is redundant; the info is present in
1084 2003-09-18 Angus Leeming <leeming@lyx.org>
1086 * insetinclude.C (latexString): add a Buffer const & arg.
1088 2003-09-18 Angus Leeming <leeming@lyx.org>
1093 * insettext.h: rename EnumLColor as LColor_color.
1095 2003-09-18 Angus Leeming <leeming@lyx.org>
1097 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1098 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1100 2003-09-16 Angus Leeming <leeming@lyx.org>
1102 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1103 set before trying to generate a preview, else we trigger an assert.
1105 2003-09-16 Angus Leeming <leeming@lyx.org>
1107 * insetinclude.C (PreviewImpl::parent): return a const reference.
1109 2003-09-16 Angus Leeming <leeming@lyx.org>
1111 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1113 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1115 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1116 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1118 * insetminipage.C (metrics):
1119 * insetnote.C (metrics):
1120 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1121 access collapsed_ directly.
1123 2003-09-16 Angus Leeming <leeming@lyx.org>
1125 * insetbibitem.C: add #include "lyxfont.h".
1127 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1130 * insetbibtex.C: use namespace alias for lyx::support::os
1132 2003-09-16 Angus Leeming <leeming@lyx.org>
1134 * insetcollapsable.h: remove unused framecolor variable.
1135 Remove #include "LColor.h".
1137 * insetcollapsable.C: remove unused framecolor variable.
1140 * insetcollapsable.C:
1148 Add #include "LColor.h".
1150 2003-09-16 Angus Leeming <leeming@lyx.org>
1152 * insettext.[Ch] (frameColor): new accessor function.
1153 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1159 add #include "LColor.h".
1161 * insetcollapsable.h: add #include "LColor.h"
1162 (for its framecolor member variable).
1164 2003-09-16 Angus Leeming <leeming@lyx.org>
1166 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1168 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1169 rename frame_color as frame_color_. Make private.
1171 * insettext.C: associated changes.
1173 2003-09-16 Angus Leeming <leeming@lyx.org>
1175 * inset.h: store background_color_ as an int, not as an LColor::color to
1176 get LColor.h out of the header file.
1179 * insetlatexaccent.C:
1182 * insetspecialchar.C:
1184 add #include "LColor.h".
1186 2003-09-16 Angus Leeming <leeming@lyx.org>
1188 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1191 2003-09-15 Angus Leeming <leeming@lyx.org>
1193 * inset.[Ch] (setBackgroundColor, backgroundColor):
1194 * insettext.[Ch] (setFrameColor):
1195 pass EnumLColor args, rather than LColor::color ones.
1197 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1207 * insetwrap.C: remove usage of STRCONV
1209 2003-09-15 Angus Leeming <leeming@lyx.org>
1211 * renderers.C (draw):
1212 * insetlatexaccent.C (draw): explicitly define the color passed to
1215 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1217 * insettext.C: remove block causing problems in lockInsetInInset
1218 (mentioned erroneously under Bug #1366)
1220 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1222 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1225 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1227 * several files: change Assert to BOOST_ASSERT
1229 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1231 * insettext.[Ch]: remove drawText[XY]Offset
1233 2003-09-08 Angus Leeming <leeming@lyx.org>
1235 * insetcollapsable.C:
1240 * insetspecialchar.C:
1243 * insettoc.C: remove redundant using directives.
1245 2003-09-07 Angus Leeming <leeming@lyx.org>
1248 * insetspecialchar.h: remove #include "support/std_string.h".
1250 2003-09-06 Angus Leeming <leeming@lyx.org>
1252 * renderers.C: add #include "insets/inset.h"
1254 2003-09-05 Angus Leeming <leeming@lyx.org>
1256 * *.C: strip out redundant #includes. (193 in total.)
1258 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1260 * insets/insetbibtex.[Ch]:
1261 * insets/insetcommand.h:
1262 * insets/insetfloatlist.[Ch]:
1263 * insets/insetinclude.[Ch]:
1264 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1265 of insets like bibtex, include, toc and floatlist to the visible
1266 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1267 up the dialogs. Cursor has to be in front of the inset (i.e.
1268 start of row) for this to function.
1270 2003-09-04 Angus Leeming <leeming@lyx.org>
1272 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1273 structure outside of the Format struct. Format::preambleName refers to
1274 an item in the map of all preamble snippets.
1275 Make use of the new Debug::EXTERNAL flag.
1277 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1278 (validate): Small change due to the changed storage of preamble snippets.
1280 2003-09-04 Angus Leeming <leeming@lyx.org>
1282 * insetgraphics.C: #include "support/os.h"
1284 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1285 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1286 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1288 * insetcollapsable.h:
1290 * insetnote.C: move #include "funcrequest.h" out of the header file.
1292 2003-09-03 Angus Leeming <leeming@lyx.org>
1294 * insetexternal.C (updateExternal):
1295 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1298 2003-09-03 Angus Leeming <leeming@lyx.org>
1300 * insetexternal.C: don't bring namespace lyx::support into the global
1303 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1305 * insetbranch.C: Add Branch: to label
1307 2003-09-02 John Levon <levon@movementarian.org>
1310 * insettext.C: remove cursor.i[xy]()
1312 2003-08-28 Angus Leeming <leeming@lyx.org>
1314 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1315 "sh ", enabling the conversion to be carried out even if the script
1318 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1320 * most files: change to use const Buffer refs
1322 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1324 * insetfootlike.C: whitespace.
1326 2003-08-26 John Levon <levon@movementarian.org>
1330 * insetindex.h: remove remaining mentions of needFullRow()
1332 2003-08-26 André Pönitz <poenitz@gmx.net>
1338 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1340 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1342 * insetbranch.C: Small fix to prevent a crash on loading.
1344 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1349 * insetcollapsable.h:
1351 * insetfloatlist.[Ch]:
1352 * insetfootlike.[Ch]:
1353 * insetinclude.[Ch]:
1359 * insettheorem.[Ch]:
1360 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1361 altogether, putting the logic in metrics/draw in the insets.=20
1362 Draws short single row insets with more or less realistic metrics.
1364 2003-08-19 André Pönitz <poenitz@gmx.net>
1366 * insettext.C: use new RowPainter interface
1368 2003-08-18 John Levon <levon@movementarian.org>
1370 * insetref.C: require amsmath for eqref
1372 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1376 * insetbranch.[Ch]: implements the 'branch inset'
1377 idea. This allows the output of various versions of a document
1378 from a single source version, selectively outputing or suppressing
1379 output of parts of the text.
1380 This implementation contains a 'branch list editor' in a separate
1381 tab of the document settings dialog. Branches are user definable
1382 and have a "display colour" to distinguish them on-screen.
1384 ColorHandler was somewhat cleaned up.
1385 (1) make possible a dynamically growing LColor list by allowing
1386 the graphic context cache to grow along (vector);
1387 (2) eliminate an IMHO unnecessary step in colour allocation.
1389 2003-08-15 André Pönitz <poenitz@gmx.net>
1391 * insettext.[Ch]: adjust after rowlist split
1393 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1395 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1396 rename valign-center to valign-middle;
1397 rename VALIGN_CENTER to VALIGN_MIDDLE
1399 2003-08-11 André Pönitz <poenitz@gmx.net>
1401 * inset.h: remove resizeLyXText
1404 * insetcollapsable.[Ch]:
1406 * insettabular.[Ch]: adjust
1408 * insettext.[Ch]: remove saveLyXTextState,
1409 restoreLyXTextStat, sstate, reinitLyXText
1411 2003-08-07 André Pönitz <poenitz@gmx.net>
1413 * inset.[Ch]: move non-crucial functions out-of-line
1415 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1416 remove duplicated code.
1418 2003-08-05 André Pönitz <poenitz@gmx.net>
1421 * insetcollapsable.[Ch]:
1431 * insettabular.[Ch]:
1434 * updatableinset.[Ch]: rip out "deep update"
1436 * insettext.C (localDispatch): merge cases with default branch
1438 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1440 * insettabular.[Ch] (updateLocal): simplify logic
1442 2003-08-04 André Pönitz <poenitz@gmx.net>
1444 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1445 is 'FULL' all the time.
1447 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1449 * insetert.C (get_new_label): only add ... to the (closed) label
1450 when the string has been shortened
1452 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1454 * Always use std::endl with lyxerr
1456 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1458 * insetnote.C: update \author list
1460 2003-07-31 André Pönitz <poenitz@gmx.net>
1462 * insetcollapsable.h:
1463 * insettabular.[Ch]:
1464 * insettext.[Ch]: remove toggleSelection
1466 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1468 (with help from Juergen Spitzmueller)
1469 * insetnote.C: add add i18n support. Use Prefs-definable
1470 colours for Comment and Greyedout.
1472 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1474 * insetcollapsable.[Ch]:
1476 * insetert.C: factor out the detection of clicking on the inset
1477 button as 'hitButton'. John Levon contributed.
1479 2003-07-30 André Pönitz <poenitz@gmx.net>
1481 * insetcollapsable.C:
1483 * insettabular.C: parantheses, localize vars etc.
1485 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1487 * insetnote.C: Implement a newenvironment in preamble for
1488 greyedout. Patch provided by Jürgen Spitzmüller.
1490 2003-07-29 Angus Leeming <leeming@lyx.org>
1492 * insetcommand.C (localDispatch): default to
1493 InsetOld::localDispatch.
1495 * insetbibitem.C (localDispatch):
1496 * insetbibtex.C (localDispatch): remove call to
1497 ChangeCitationsIfUnique.
1499 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1501 * insetexternal.C (read): use pushpophelper.
1503 2003-07-28 José Matos <jamatos@lyx.org>
1505 * insetext.C (read): \end_document replaces \the_end.
1507 2003-07-28 José Matos <jamatos@fep.up.pt>
1509 * insetert.C (write): \layout -> \begin_layout.
1510 Add missing \end_layout.
1512 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1514 * insetquotes.C: document a bit the format
1516 * insettabular.C (write): remove extra space
1518 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1519 * insetnote.C: Umpf. Hope I *now* get it right :-(
1521 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1522 *insetnote.C: did the right fix to greyedout: \color
1523 instead of \textcolor.
1525 2003-07-28 Angus Leeming <leeming@lyx.org>
1527 * insetbibtex.h: remove extraneous forward declaration.
1530 * insetbibtex.h: Also remove long-dead Holder member class
1533 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1535 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1538 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1540 * insetwrap.C (addToToc): adjust for lyx::toc
1542 * insetfloatlist.C (ascii): adjust for lyx::toc
1544 * insetfloat.C (addToToc): adjust for lyx::toc
1546 2003-07-27 José Matos <jamatos@fep.up.pt>
1548 * insetnote.h (linuxdoc,docbook): update support.
1550 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1552 * insetfloat.C (wide): add a space to label, for consistency
1554 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1556 * insettext.C (nextChange): adjust for lyx::find
1557 (searchForward): ditto
1558 (searchBackward): ditto
1560 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1562 * insetgraphicsParams.C:
1563 * insetexternal.C: declare extern displayTranslator
1566 * renderers.C: add #include "support/LAssert.h"
1568 2003-07-27 José Matos <jamatos@fep.up.pt>
1570 * insetfloat.[Ch] (linuxdoc):
1571 * insetgraphics.C (linuxdoc):
1572 * insettabular.C (linuxdoc):
1573 * insettext.[Ch] (linuxdoc): add support for tables and figures
1576 2003-07-27 José Matos <jamatos@fep.up.pt>
1578 * insetinclude (latex): comply with makeLaTeXFile argument change.
1580 2003-07-26 Asger Alstrup <alstrup@local>
1582 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1583 the undo crashes. We'll see what problems other places this will
1586 2003-07-26 Angus Leeming <leeming@lyx.org>
1588 * insetgraphics.C: remove unused declaration of system_tempdir.
1590 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1592 * rename Inset to InsetOld
1594 * all inset files (clone): return a auto_ptr<InsetBase>
1596 2003-07-23 Angus Leeming <leeming@lyx.org>
1598 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1600 2003-07-23 Angus Leeming <leeming@lyx.org>
1602 * mailinset.[Ch] (inset2string):
1603 * insetcommand.[Ch] (inset2string):
1604 * insetert.[Ch] (inset2string):
1605 * insetexternal.[Ch] (inset2string):
1606 * insetfloat.[Ch] (inset2string):
1607 * insetgraphics.[Ch] (inset2string):
1608 * insetinclude.[Ch] (inset2string):
1609 * insetminipage.[Ch] (inset2string):
1610 * insetnote.[Ch] (inset2string):
1611 * insettabular.[Ch] (inset2string):
1612 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1614 * insetexternal.[Ch]:
1615 * insetgraphics.[Ch]: get rid of the view() function. Associated
1616 changes to the mailers' string2params and params2string functions.
1618 2003-07-23 Angus Leeming <leeming@lyx.org>
1620 * insetexternal.[Ch]: store the external file name in a FileName
1621 member variable rather than a string + associated changes.
1623 2003-07-21 Angus Leeming <leeming@lyx.org>
1625 * insetgraphicsParams.[Ch]: store the graphics file name in
1626 a FileName member variable rather than a string.
1628 * insetgraphics.[Ch]:
1629 * insetgraphicsParams.[Ch]: Associated changes.
1631 2003-07-21 Angus Leeming <leeming@lyx.org>
1633 * insetgraphics.[Ch] (string2params, params2string): passed a
1634 buffer_path argument.
1637 2003-07-21 Angus Leeming <leeming@lyx.org>
1640 * insetgraphicsParams.[Ch]:
1642 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1644 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1646 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1648 2003-07-18 André Pönitz <poenitz@gmx.net>
1651 * insetminipage.[Ch]:
1652 * insettabular.[Ch]:
1655 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1657 2003-07-18 André Pönitz <poenitz@gmx.net>
1661 * insetcollapsable.C:
1665 * insetgraphics.[Ch]:
1666 * insetlatexaccent.[Ch]:
1671 * insetspecialchar.C:
1672 * insettabular.[Ch]:
1674 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1676 2003-07-17 André Pönitz <poenitz@gmx.net>
1678 * insetcollapsable.C:
1680 * insettext.C: don't call Inset::update() anymore
1683 * insettabular.[Ch]: remove unneeded in_update_ members
1685 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1687 2003-07-16 André Pönitz <poenitz@gmx.net>
1689 * insettext.C (selectAll): remove
1691 2003-07-16 John Levon <levon@movementarian.org>
1694 * insetnote.C: implement showInsetDialog()
1696 2003-07-15 André Pönitz <poenitz@gmx.net>
1699 * insettext.C: refresh_status tristate -> need_update bool
1701 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1703 * insettext.C: adjust call to LyXText::init
1705 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1707 * insettext.C: use bufferview_funcs->replaceSelection()
1708 to delete selections in some cases (bugs 441, 673, 702, 954).
1710 2003-07-14 André Pönitz <poenitz@gmx.net>
1712 * insettext.C (draw): use slimmed down rowpainter interface
1714 2003-07-14 André Pönitz <poenitz@gmx.net>
1716 * insetcollapsable.C:
1718 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1719 remove unused BufferView * argument
1721 2003-07-14 André Pönitz <poenitz@gmx.net>
1723 * insettext.[Ch]: used cached metrics a bit more
1725 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1727 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1729 2003-07-10 André Pönitz <poenitz@gmx.net>
1732 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1734 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1736 * introduce namespace lyx::graphics
1738 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1740 * introduce namespace lyx::support
1742 2003-06-30 André Pönitz <poenitz@gmx.net>
1744 * insetcite.C (localDispatch): fix case of missing return value
1746 * insetcite.C (ascii): remove unneeded temporary
1748 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1750 * insetspace.h: fix \file
1752 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1753 * insetinclude.C (fillWithBibKeys): ditto
1755 * insetbibitem.C: fix type const order
1757 * inset.C (getLyXText): add varname for arg
1759 * ExternalTemplate.h: fix type const order
1761 2003-06-27 André Pönitz <poenitz@gmx.net>
1763 * insettext.C: take care of removed LyXCursor::row_ member
1765 * insettext.[Ch]: use new TextCursor struct for sstate
1767 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1769 * inseterror.[Ch]: removed
1771 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1773 * insetinclude.C (docbook): use parseError instead of sgmlError
1775 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1777 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1778 of BufferList::loadLyXFile
1780 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1782 * insettext.C (update): simplify
1783 (updateLocal): remove commented code
1784 (insetUnlock): simplify
1785 (lockInset): simplify
1786 (updateInsetInInset): simplify
1787 (localDispatch): simplify
1789 (resizeLyXText): simplify
1790 (collapseParagraphs): simplify
1792 * insetert.C (get_new_label): simplify
1794 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1796 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1797 pasteSelection with index
1799 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1801 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1803 2003-06-16 André Pönitz <poenitz@gmx.net>
1805 * insetbase.h: new virtual base function clone()
1807 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1808 Inset * clone() -> InsetBase * clone()
1810 2003-06-13 André Pönitz <poenitz@gmx.net>
1812 * insettabular.[Ch]: make tabular a proper member
1814 2003-06-12 André Pönitz <poenitz@gmx.net>
1816 * insettabular.[Ch]: some renaming plus whitespace
1818 2003-06-11 Angus Leeming <leeming@lyx.org>
1820 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1823 * insetbutton.[Ch]: removed.
1824 * graphicinset.[Ch]: renamed as renderers.[Ch].
1826 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1827 Create a new class ButtonRenderer using the InsetButton::metrics() and
1829 Derive both from a common RenderedInset base class.
1831 * insetcommand.[Ch]:
1832 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1833 Give it a ButtonRenderer member variable. Use it.
1834 Give the classes working copy c-tors.
1835 No longer derive from boost::noncopyable.
1837 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1838 display its contents as a button or as a graphic.
1840 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1843 2003-06-11 Angus Leeming <leeming@lyx.org>
1845 * insetcite.C (localDispatch): reformat.
1847 * insetref.C (localDispatch): enable dialog to be lauched.
1849 2003-06-11 John Levon <levon@movementarian.org>
1851 * insettabular.C: correctly mark all cells as erased
1853 2003-06-11 Angus Leeming <leeming@lyx.org>
1855 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1856 ExternalTemplate but its name, templatename. This means that a file
1857 containing a reference to an External Template not installed on the
1858 current machine will be saved retaining this info rather than inserting
1859 the first "valid" template from the list of templates.
1861 As a by product, the visual statement that the Template is missing is
1864 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1866 * insettext.C (appendParagraphs): remove some commented code.
1868 2003-06-10 Angus Leeming <leeming@lyx.org>
1870 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1873 * insetexternal.[Ch]: move tempname_ into the Params struct.
1874 (Params d-tor): new function, to clean-up this temp file.
1875 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1877 (editExternal, doSubstitution): move out of class.
1879 2003-06-10 Angus Leeming <leeming@lyx.org>
1881 * graphicinset.[Ch] (params): removed.
1882 * graphicinset.h (operator=): declared private but not defined.
1883 (statusMessage): made private.
1885 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1887 2003-06-07 John Levon <levon@movementarian.org>
1889 * insetert.C (latex): make a newline mean just that not
1892 2003-06-07 José Matos <jamatos@fep.up.pt>
1894 * insethfill.[Ch] (linuxdoc, docbook): implement output
1895 * insetspace.C (linuxdoc, docbook): remove coments as the code
1898 2003-06-06 José Matos <jamatos@fep.up.pt>
1900 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1902 2003-06-06 André Pönitz <poenitz@gmx.net>
1904 * insetwrap.[Ch]: code compactification
1906 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1908 * mailinset.C (updateDialog): use Dialogs::visible
1910 2003-06-04 Angus Leeming <leeming@lyx.org>
1912 * graphicinset.C (draw): add a comment for the #if 0 block.
1914 * insetexternal.h: remove Params::parameters variable.
1915 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1916 and read it back making full use of LyXLex.
1918 2003-06-04 André Pönitz <poenitz@gmx.net>
1920 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1922 2003-06-04 John Levon <levon@movementarian.org>
1924 * insettabular.C: back out tall table speed up. It was broken
1926 2003-06-03 Angus Leeming <leeming@lyx.org>
1928 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1929 Remove ViewCommand and UpdateCommand.
1931 * graphicinset.C (update): bug fix. Set the params before calling the
1933 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1934 BufferView cache to enable the InsetExternal::editCommand to be invoked
1935 from the frontends. Would not be needed if this were dispatched properly.
1936 (old_ascent_): variable removed.
1938 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1939 do any necessary conversions of external material. Also use the
1940 new GraphicsInset to display the inset within LyX.
1942 2003-06-03 Angus Leeming <leeming@lyx.org>
1944 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1945 and move it somewhere where InsetExternal can use it too.
1947 * Makefile.am: add the new files.
1949 * insetgraphics.[Ch]: make use of the new GraphicInset.
1951 2003-06-03 John Levon <levon@movementarian.org>
1954 * insetbibitem.[Ch]:
1957 * insetcommand.[Ch]:
1961 * insetexternal.[Ch]:
1965 * insetgraphics.[Ch]:
1967 * insetinclude.[Ch]:
1970 * insetlatexaccent.[Ch]:
1971 * insetmarginal.[Ch]:
1972 * insetminipage.[Ch]:
1979 * insetspecialchar.[Ch]:
1980 * insettabular.[Ch]:
1982 * insetthereom.[Ch]:
1985 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1987 * insetgraphics.[Ch]:
1988 * insetgraphicsParams.[Ch]: always store an absolute
1991 2003-06-02 André Pönitz <poenitz@gmx.net>
1995 * insetlatexaccent.C: remove duplicated call to metrics()
1997 2003-06-02 John Levon <levon@movementarian.org>
1999 * insettabular.C: fix resize of column width
2001 2003-06-02 John Levon <levon@movementarian.org>
2006 * insetparent.C: remove insetparent
2008 2003-06-02 André Pönitz <poenitz@gmx.net>
2015 * insetcollapsable.[Ch]:
2019 * insetgraphics.[Ch]:
2020 * insetinclude.[Ch]:
2021 * insetlatexaccent.[Ch]:
2022 * insetminipage.[Ch]:
2023 * insetnewline.[Ch]:
2026 * insetspecialchar.[Ch]:
2027 * insettabular.[Ch]:
2028 * insettext.[Ch]: unify first drawing phase
2031 * insetbase.h: move validate() to the base
2033 2003-05-31 Angus Leeming <leeming@lyx.org>
2035 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2037 2003-05-30 André Pönitz <poenitz@gmx.net>
2042 * insetcaption.[Ch]:
2043 * insetcollapsable.[Ch]:
2046 * insetgraphics.[Ch]:
2047 * insetinclude.[Ch]:
2048 * insetlatexaccent.[Ch]:
2049 * insetnewline.[Ch]:
2052 * insetspecialchar.[Ch]:
2053 * insettabular.[Ch]:
2055 * updatableinset.[Ch]: unify second drawing phase
2057 2003-05-30 John Levon <levon@movementarian.org>
2059 * insetgraphics.C: fix a bformat
2061 2003-05-29 John Levon <levon@movementarian.org>
2063 * insettabular.C: remove unused bufferOwner()
2065 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2067 * insettext.C (lockInsetInInset): adjust
2068 (getLabelList): use const_iterator, adjust
2069 (getInsetFromID): use const_iterator, adjust
2070 (addPreview): use const_iterator, adjust
2072 * insetwrap.C (clone): remove const_cast
2074 * insetnote.C (clone): remove const_cast
2076 * insetminipage.C (clone): remove const_cast
2078 * insetmarginal.C (clone): remove const_cast
2080 * insetfoot.C (clone): remove const_cast
2082 * insetfloat.C (clone): remove const_cast
2084 * insetert.C (clone): remove const_cast
2086 * delete commented same_id functions from a lot of files.
2088 2003-05-28 John Levon <levon@movementarian.org>
2094 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2096 * insetminipage.C: fix metrics (bug 1144)
2098 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2100 * insettext.C (saveLyXTextState): adjust
2101 (restoreLyXTextState): adjust
2104 (unlockInsetInInset): adjust
2105 (localDispatch): adjust
2106 (getLyXText): adjust
2108 * insettabular.C (insertAsciiString): adjust
2110 2003-05-27 André Pönitz <poenitz@gmx.net>
2113 * insetcollapsable.C:
2116 * insetlatexaccent.C:
2121 * insetspecialchar.C:
2123 * insettext.C: dim.w -> dim.wid
2125 2003-05-26 John Levon <levon@movementarian.org>
2127 * insettabular.C: avoid drawing all of a long table
2128 if it's not needed. A big speedup
2130 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2132 * remove same_id from function signatures, adjust
2134 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2136 * insettext.C (InsetText): adjust
2138 (setParagraphData): separate same_id cases, adjust
2139 (appendParagraphs): adjust
2140 (appendParagraphs): adjust
2142 2003-05-23 André Pönitz <poenitz@gmx.net>
2144 * insetbutton.h: whitespace
2146 * insettabular.C: more compact code
2148 * updatableinset.C: remove const_cast
2151 2003-05-23 Angus Leeming <leeming@lyx.org>
2153 * insetexternal.C (write): check how many lines are output.
2154 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2155 if the template has defined it.
2157 2003-05-23 Angus Leeming <leeming@lyx.org>
2159 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2161 2003-05-23 Angus Leeming <leeming@lyx.org>
2163 * insetfoot.C (latex):
2164 * inseturl.C (latex): rename fragile as moving_arg.
2166 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2168 * inseterror.C (localDispatch): comment out unused var.
2170 2003-05-22 Angus Leeming <leeming@lyx.org>
2172 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2173 passed through the LatexRunParams arg.
2175 2003-05-22 Angus Leeming <leeming@lyx.org>
2177 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2178 through the LatexRunParams arg.
2180 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2181 arg rather than through a global var.
2183 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2185 * insetspecialchar.C (dimension): use a string.
2187 2003-05-22 Angus Leeming <leeming@lyx.org>
2189 * insetbibtex.C (latex):
2190 * insetgraphics.C (latex):
2191 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2192 runparams rather than from the buffer itself.
2194 2003-05-22 Angus Leeming <leeming@lyx.org>
2196 * inset*.[Ch] (latex):
2197 passed a LatexRunParams parameter.
2199 * insetgraphics.C (latex): actually use it ;-)
2201 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2203 * insetfloat.C (addToToc): trivial compile fix
2205 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2207 * insettext.[Ch] (paragraph): delete unused function
2209 * insetfloat.C (addToToc): parlist simplfication
2211 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2213 * insetspace.[Ch]: added (new space insets)
2215 * inset.h: handle new space insets
2217 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2219 * insetfloat.C (addToToc): adjust
2221 2003-05-21 André Pönitz <poenitz@gmx.net>
2223 * insettext.[Ch]: fix drawing bug introduced earlier
2225 2003-05-19 André Pönitz <poenitz@gmx.net>
2227 * insetspecialchar.C: fix bug introduced yesterday
2229 2003-05-19 André Pönitz <poenitz@gmx.net>
2233 * insetcollapsable.[Ch]:
2237 * insetgraphics.[Ch]:
2238 * insetgraphicsParams.[Ch]:
2239 * insetlatexaccent.[Ch]:
2240 * insetminipage.[Ch]:
2241 * insetnewline.[Ch]:
2243 * insetspecialchar.[Ch]:
2244 * insettabular.[Ch]:
2245 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2247 2003-05-19 André Pönitz <poenitz@gmx.net>
2250 * insettext.C: more insetenv
2252 2003-05-16 André Pönitz <poenitz@gmx.net>
2255 * insetminimpage.[Ch]:
2256 * insetcollapsable.[Ch]: fix #832
2258 2003-05-16 André Pönitz <poenitz@gmx.net>
2261 * insetbibitem.[Ch]:
2265 * insetcollapsable.[Ch]:
2266 * insetcommand.[Ch]:
2269 * insetexternal.[Ch]:
2270 * insetfloatlist.[Ch]:
2271 * insetgraphics.[Ch]:
2272 * insetinclude.[Ch]:
2275 * insetlatexaccent.[Ch]:
2278 * insettabular.[Ch]:
2282 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2284 2003-05-13 André Pönitz <poenitz@gmx.net>
2287 * insetcollapsable.C:
2291 * insetwrap.C: tostr from own header
2303 * insetwrap.C: STRCONV
2306 2003-05-12 André Pönitz <poenitz@gmx.net>
2318 * insetwwrap.C: boost::format -> bformat all over the place
2320 2003-05-05 André Pönitz <poenitz@gmx.net>
2322 * insettext.h: add missing #include <map>
2324 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2326 * insettext.C (InsetText): parlist cleanup
2329 (insetUnlock): ditto
2331 (lockInsetInInset): ditto
2335 (searchBackward): ditto
2336 (collapseParagraphs): ditto
2338 2003-05-06 John Levon <levon@movementarian.org>
2340 * insetcaption.C: don't cast wrap inset to InsetFloat
2343 * insetfloat.C: remove unneeded type() function
2345 2003-05-05 André Pönitz <poenitz@gmx.net>
2349 * insettabular.[Ch]:
2350 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2351 replace getFirstParagraph() by getParagraphs()
2353 2003-05-03 John Levon <levon@movementarian.org>
2355 * insetcollapsable.h:
2356 * insetcollapsable.C:
2362 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2363 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2364 getCursor(). Remove explicit cursor hides.
2366 2003-05-02 André Pönitz <poenitz@gmx.net>
2368 * insettext.C: remove unneeded &*
2370 2003-04-30 John Levon <levon@movementarian.org>
2372 * insettabular.C: fix edit message
2374 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2376 * insettext.C (setFont): do not convert iterator -> pointer
2378 * insettabular.C (localDispatch): do not convert iterator -> pointer
2380 (tabularFeatures): ditto
2382 2003-04-29 André Pönitz <poenitz@gmx.net>
2384 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2386 2003-04-28 André Pönitz <poenitz@gmx.net>
2388 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2391 2003-04-25 André Pönitz <poenitz@gmx.net>
2393 * insetenv.C: derive from InsetText instead of InsetCollapsable
2395 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2397 * insetexternal.C (string2params): dont do anything if the string
2399 * insetgraphics.C (string2params): ditto
2400 * insetcommand.C (string2params): ditto
2401 * insetert.C (string2params): ditto
2402 * insetfloat.C (string2params): ditto
2403 * insetinclude.C (string2params): ditto
2404 * insetminipage.C (string2params): ditto
2405 * insettabular.C (string2params): ditto
2406 * insetwrap.C (string2params): ditto
2408 2003-04-24 André Pönitz <poenitz@gmx.net>
2410 * insetref.C: support for eqref
2412 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2414 * insetert.C (read): use ParagraphList::iterator.
2416 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2418 * insetquotes.C (latex): comment some code and add warnings.
2420 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2422 * insetexternal.C (localDispatch): added a missing DISPATCHED
2424 2003-04-12 John Levon <levon@movementarian.org>
2426 * insetwrap.C (addToToc): fix a crash, conversion
2427 from while to for loop forgot to remove the explicit
2430 2003-04-10 John Levon <levon@movementarian.org>
2432 * insettabular.C (tabularFeature): make sure
2433 to update the dialog when we change something
2436 (getStatus): don't disable some lfuns (bug 939)
2438 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2440 * insettext.C (saveLyXTextState): adjust
2441 (localDispatch): adjust
2447 * insettabular.C (localDispatch): adjust
2449 (tabularFeatures): adjust
2451 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2453 * insettabular.C (searchForward,searchBackward): fix bug 782
2455 2003-04-07 John Levon <levon@movementarian.org>
2458 * insettext.C: clear status message on inset exit
2460 2003-04-03 John Levon <levon@movementarian.org>
2462 * insetcommand.C: return dispatched on DIALOG_UPDATE
2464 2003-04-02 John Levon <levon@movementarian.org>
2466 * insettabular.C: tab lfuns renamed
2468 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2470 * insettext.C (update): move towards ParagraphList
2471 (updateLocal): ditto
2473 (insetUnlock): ditto
2475 (lockInsetInInset): ditto
2476 (updateInsetInInset): ditto
2477 (localDispatch): ditto
2480 (resizeLyXText): ditto
2481 (searchBackward): ditto
2482 (collapseParagraphs): ditto
2485 * insetwrap.C (InsetWrap): adjust
2486 (addToToc): adjust and rewrite loop
2488 * insettext.[Ch] (paragraph): delete function
2490 * insettabular.C (moveNextCell): adjust
2491 (movePrevCell): adjust
2492 (insertAsciiString): adjust
2494 * insetfloat.C (InsetFloat): adjust
2497 * insetert.C (InsetERT): adjust
2498 (write): adjust, and rewrite loop
2499 (latex): adjust, and rewrite loop
2500 (linuxdoc): adjust, and rewrite loop
2501 (docbook): adjust, and rewrite loop
2502 (localDispatch): adjust
2503 (get_new_label): adjust
2505 2003-04-01 John Levon <levon@movementarian.org>
2507 From Alfredo Braunstein
2510 * insetbutton.C: add localDispatch()
2512 * insetcommand.C: return DISPATCHED when edit() called
2514 * insettext.C: fix bug 967
2516 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2518 * insettext.C: adjust
2520 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2522 * insettext.C (draw): adjust
2523 (crow): return a RowList::iterator not a Row*
2525 * insetminipage.C (localDispatch): adjust
2527 * insetert.C (localDispatch): adjust
2529 2003-03-31 John Levon <levon@movementarian.org>
2532 * insetgraphicsParams.C: use_gui moved to lyx_gui
2534 2003-03-31 John Levon <levon@movementarian.org>
2536 * insettext.C: Alert fix
2538 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2540 * insettext.C (ascent): adjust for RowList
2543 (getLyXText): adjust
2544 (toggleSelection): adjust
2546 * insetminipage.C (localDispatch): adjust for RowList
2548 * insetert.C (localDispatch): adjust for RowList
2549 (getMaxWidth): adjust for RowList
2551 2003-03-29 John Levon <levon@movementarian.org>
2553 * insetert.C: Alert cleanup
2555 2003-03-29 John Levon <levon@movementarian.org>
2557 * insettabular.C: Alert fix
2559 2003-03-28 John Levon <levon@movementarian.org>
2561 * insetfloat.C: reset label on INSET_MODIFY
2563 2003-03-28 John Levon <levon@movementarian.org>
2565 * insetgraphicsParams.C: read subcaptionText as a whole line
2568 2003-03-28 John Levon <levon@movementarian.org>
2570 * insettext.C: remove unused prototypes
2572 2003-03-25 Angus Leeming <leeming@lyx.org>
2574 * insetbibitem.C (localDispatch): repaint the view after modifying
2575 a bibitem inset in case the maximum InsetBibitem width has changed.
2577 2003-03-25 John Levon <levon@movementarian.org>
2580 * insettabular.C: LyXText renamings
2582 2003-03-24 John Levon <levon@movementarian.org>
2584 * insettext.C: remove some dead code. Fix bug 972 and
2585 related by posting a repaint in updateLocal(), and making
2586 the SEL functions set SELECTION.
2588 2003-03-22 John Levon <levon@movementarian.org>
2591 * inset.C: remove no-longer-needed topx_set
2593 * insetcollapsable.h:
2594 * insetcollapsable.C: remove dead code
2597 * insetert.C: rebreak the rows when a possible
2598 change in size is made, and reset the cursor
2601 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2603 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2604 topx_set. Fix drawing errors for clearInset(). Remove
2605 some unnecessary uses of topx, which should die.
2607 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2608 is no longer needed. Replace it with an ugly hack.
2610 2003-03-20 John Levon <levon@movementarian.org>
2613 * insetcollapsable.h:
2614 * insetcollapsable.C:
2622 * insettext.C: remove spurious font parameter
2623 from update(). Fix drawing of ERT insets inside
2624 insets (bug 966). Remove unused mark_dirty from
2625 tabular's updateLocal()
2627 2003-03-19 John Levon <levon@movementarian.org>
2636 * insetwrap.C: remove unused getter/setters
2638 2003-03-19 John Levon <levon@movementarian.org>
2640 * several files: bv->updateInset() doesn't take
2641 a bool mark_dirty any more
2643 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * adjust for BufferView* arg removal from lyxtext.
2647 2003-03-17 John Levon <levon@movementarian.org>
2649 * most files: remove the "cleared" parameter
2650 to draw in favour of always clearing. Associated
2653 2003-03-16 John Levon <levon@movementarian.org>
2655 * insettext.C: remove unused s.refresh
2657 2003-03-13 Angus Leeming <leeming@lyx.org>
2659 * insettext.C (edit): replace Dialogs::updateParagraph with
2660 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2662 2003-03-13 André Pönitz <poenitz@gmx.net>
2664 * Makefile.am: insert insetenv
2666 * insethenv.[Ch]: new files, currently inactive
2668 2003-03-12 John Levon <levon@movementarian.org>
2678 * insettext.C: use new insetnewline
2680 2003-03-12 John Levon <levon@movementarian.org>
2682 * insettext.C: readToken became readParagraph
2684 2003-03-12 John Levon <levon@movementarian.org>
2686 * insettext.C: use parlist iterator for reading contents
2688 2003-03-12 John Levon <levon@movementarian.org>
2690 * insettext.C: name change to readToken()
2692 2003-03-11 André Pönitz <poenitz@gmx.net>
2694 * Makefile.am: insert insethfill
2696 * insethfill.[Ch]: new files
2698 2003-03-10 Angus Leeming <leeming@lyx.org>
2700 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2702 (hideDialog): calls the new static Dialogs::hide() method.
2704 * insetbibitem.C (edit):
2705 * insetbibtex.C (edit):
2706 * insetcite.C (edit):
2707 * insetcommand.C (localDispatch):
2708 * inseterror.C (d-tor):
2709 * insetert.C (showInsetDialog):
2710 * insetexternal.C (localDispatch, edit):
2711 * insetfloat.C (localDispatch, showInsetDialog):
2712 * insetfloatlist.C (edit):
2713 * insetgraphics.C (localDispatch, edit):
2714 * insetinclude.C (localDispatch, edit):
2715 * insetindex.C (edit):
2716 * insetlabel.C (edit):
2717 * insetminipage.C (localDispatch, showInsetDialog):
2718 * insetref.C (edit):
2719 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2720 resetPos, showInsetDialog, openLayoutDialog):
2721 * insettoc.C (edit):
2722 * inseturl.C (edit):
2723 * insetwrap.C (localDispatch, showInsetDialog):
2724 changes due to the changed MailInset interface.
2726 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2728 * insetfloat.h: Set default placement to an empty string.
2730 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2732 * insettext.C (latex): adjust call to latexParagraphs.
2734 2003-03-10 Angus Leeming <leeming@lyx.org>
2736 * mailinset.C: warn the user if the BufferView has not been cached.
2738 2003-03-10 Angus Leeming <leeming@lyx.org>
2740 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2742 * insetcommand.h (inset):
2743 * insetert.h (inset):
2744 * insetexternal.h (inset):
2745 * insetfloat.h (inset):
2746 * insetgraphics.h (inset):
2747 * insetinclude.h (inset):
2748 * insetminipage.h (inset):
2749 * insettabular.h (inset):
2750 * insetwrap.h (inset):
2751 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2753 2003-03-10 Angus Leeming <leeming@lyx.org>
2755 * insetcommand.C (string2params):
2756 * insetexternal.C (string2params):
2757 * insetfloat.C (string2params):
2758 * insetgraphics.C (string2params):
2759 * insetinclude.C (string2params):
2760 * insetminipage.C (string2params):
2761 * insettabular.C (string2params):
2762 * insetwrap.C (string2params): cure warning message about missing
2765 2003-03-09 Angus Leeming <leeming@lyx.org>
2767 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2768 it to communicate with the frontend dialogs.
2770 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2771 contents of this inset!
2773 2003-03-07 Angus Leeming <leeming@lyx.org>
2775 * inseterror.C (localDispatch): new method; calls edit() on
2778 2003-03-07 Angus Leeming <leeming@lyx.org>
2780 * insetbibitem.C (localDispatch):
2781 * insetbibtex.C (localDispatch):
2782 * insetlabel.C (localDispatch):
2783 rewrite as a switch.
2785 2003-03-07 Angus Leeming <leeming@lyx.org>
2787 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2788 it to communicate with the frontend dialogs.
2790 2003-03-07 Angus Leeming <leeming@lyx.org>
2792 * insetexternal.C: remove operator== and operator!= for
2793 InsetExternal::Params. They were used only by the old controller
2796 2003-03-07 Angus Leeming <leeming@lyx.org>
2798 * insetcommand.C (localDispatch):
2799 * insetexternal.C (localDispatch):
2800 * insetfloat.C (localDispatch):
2801 * insetinclude.C (localDispatch):
2802 * insetminipage.C (localDispatch):
2803 * insetwrap.C (localDispatch):
2804 add LFUN_INSET_DIALOG_UPDATE to the switch.
2806 2003-03-07 Angus Leeming <leeming@lyx.org>
2808 * insetcommand.C (string2params):
2809 * insetexternal.C (string2params):
2810 * insetfloat.C (string2params):
2811 * insetinclude.C (string2params):
2812 * insetwrap.C (string2params): use LyXLeX more.
2815 * insetexternal.[Ch]:
2817 * insetinclude.[Ch]:
2818 * insetwrap.[Ch]: change Mailer::name_ to be static.
2820 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2821 it to communicate with the frontend dialogs.
2823 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2826 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2828 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2830 * insettext.C (updateLocal): un-const function
2831 (updateLocal): adjust
2832 (collapseParagraphs): un-const function
2833 (collapseParagraphs): adjust
2835 2003-03-05 Angus Leeming <leeming@lyx.org>
2837 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2838 it to communicate with the frontend dialogs.
2840 2003-03-05 Angus Leeming <leeming@lyx.org>
2842 * insetcollapsable.C (draw): cache the BufferView.
2844 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2845 it to communicate with the frontend dialogs.
2847 2003-03-05 Angus Leeming <leeming@lyx.org>
2849 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2852 2003-03-05 Angus Leeming <leeming@lyx.org>
2854 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2856 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2857 it to communicate with the frontend dialogs.
2859 2003-03-05 Angus Leeming <leeming@lyx.org>
2861 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2862 it to communicate with the frontend dialogs.
2864 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2866 * insettext.C (collapseParagraphs): adjust
2867 (appendParagraphs): make it take a Buffer* instead of a
2868 BufferParams& as arg.
2869 (appendParagraphs): adjust
2871 2003-03-04 Angus Leeming <leeming@lyx.org>
2873 * insetbibitem.C (localDispatch):
2874 * insetbibtex.C (localDispatch):
2875 * insetcommand.C (localDispatch):
2876 * insetert.C (localDispatch):
2877 * insetlabel.C (localDispatch):
2878 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2880 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2882 * insettext.C (latex): adjust for ParagraphList::iterator
2884 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2886 * insetbutton.C (view): adjust for boost 1.30.0
2887 * insetcollapsable.C (view): ditto
2888 * insetgraphics.C (statusChanged): ditto
2890 * insettext.h: move paragraphs to be public.
2892 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2894 * insetnote.[Ch] (InsetNote): remove unused constructor
2896 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2898 * insetgraphics.C: added include "format.h"
2900 2003-02-27 Angus Leeming <leeming@lyx.org>
2902 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2905 2003-02-27 Angus Leeming <leeming@lyx.org>
2907 * insetbibitem.C (localDispatch):
2908 * insetbibtex.C (localDispatch):
2911 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2913 2003-02-26 Angus Leeming <leeming@lyx.org>
2915 * insetbibitem.[Ch] (localDispatch):
2916 * insetbibtex.[Ch] (localDispatch):
2917 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2919 * insetcommand.C (localDispatch):
2920 act only on receipt of LFUN_XYZ_APPLY.
2922 * insetert.C (localDispatch): reformat.
2923 add LFUN_XYZ_APPLY to the switch.
2925 2003-02-26 John Levon <levon@movementarian.org>
2927 * insettext.C: use RowPainter
2929 * inset.h: make helpers take const *
2931 2003-02-26 Angus Leeming <leeming@lyx.org>
2933 * insetcommand.[Ch] (localDispatch): new method.
2935 2003-02-26 Angus Leeming <leeming@lyx.org>
2937 * insetinclude.C (draw): cache the BufferView* using cache not
2938 PreviewImpl::setView
2940 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2942 * insetgraphics.C (draw)
2943 * insetinclude.C (draw): Eliminate also the other argument (owner
2944 inset inset) in the call to PreviewImage::image
2946 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2948 * insetgraphics.C (draw)
2949 * insetinclude.C (draw): Eliminate Buferview argument in call to
2952 2003-02-25 John Levon <levon@movementarian.org>
2954 * insetgraphicsParams.h:
2955 * insetgraphics.C: don't start a load process if
2956 the inset is set to NoDisplay (bug #920)
2958 2003-02-22 John Levon <levon@movementarian.org>
2961 * insetwrap.C: TocItem changed API (bug 913)
2963 2003-02-21 Angus Leeming <leeming@lyx.org>
2965 * insetcollapsable.[Ch] (cache, edit):
2966 * insetbutton.[Ch] (cache, edit): new methods to cache the
2967 BufferView in the draw method.
2969 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2970 simplify comunication between InsetCommand-derived classes and
2973 * insetbibitem.[Ch]:
2977 * insetfloatlist.[Ch]:
2981 * inseturl.[Ch]: small changes to reflect the new interface to the
2984 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2985 other, similar classes.
2987 * Makefile.am: add new files.
2989 2003-02-21 Angus Leeming <leeming@lyx.org>
2991 * updatableinset.h (setView, view): remove.
2992 * inset.h (view, cache): to be replaced by these.
2994 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2997 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3000 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3002 2003-02-21 Allan Rae <rae@lyx.org>
3004 * insetinclude.C (loadIfNeeded): ensure loading also works when
3005 child document is under version control.
3007 2003-02-17 André Pönitz <poenitz@gmx.net>
3009 * insetbib.[Ch]: Adjust access to bibkeys
3011 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3013 * insetquotes.C (dispString): remove use of acute accent for "'"
3016 2003-02-14 John Levon <levon@movementarian.org>
3018 * insettabular.C: changed method names in tabular.C
3020 2003-02-14 John Levon <levon@movementarian.org>
3024 * insetcollapsable.h:
3025 * insetcollapsable.C:
3029 * insettext.C: remove unused getParFromID()
3031 2003-02-13 John Levon <levon@movementarian.org>
3034 * insettext.C: remove unused beginningofMainBody()
3036 2003-02-08 John Levon <levon@movementarian.org>
3040 * insetcollapsable.h:
3041 * insetcollapsable.C:
3046 add nextChange(). Make allowSpellcheck() const. Add markErased().
3048 * insetert.C: ignore deleted text
3050 * insettabular.C: make sure to keep change tracking working
3053 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3058 * insettext.C: Use error messages with identical spelling and punctuation
3060 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3062 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3064 2002-12-17 Juergen Vigna <jug@lyx.org>
3066 * insettext.C (localDispatch): hopefully fixed cursor up down
3067 movement on leaving other insets.
3069 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3071 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3074 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3076 * insetgraphics.C (prepareFile): do not remove the extension of
3077 the file name if it is not the default extension for the given
3078 format (that is, in latex output, remove extension from foo.eps,
3079 but not from foo.epsi)
3081 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3083 * insettext.C (lfunMouseRelease): hackish solution to the "double
3086 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3088 * insetfloat.C (addToToc): use the floats name not its type
3089 * insetwrap.C (addToToc): ditto
3091 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3093 * insetnote.C (init): make label font smaller
3095 2002-12-04 John Levon <levon@movementarian.org>
3097 * insetinclude.C: ressurect setting of command name
3099 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3101 * insetquotes.C (dispString): disambiguate insert call
3103 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3105 * several files: ws changes
3107 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3109 * insetquotes.C (dispString): use string::insert for prepending a
3112 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3114 * insetparent.C (getScreenLabel): use boost::format
3116 * insetgraphics.C (prepareFile): use boost::format
3119 * insetfloatlist.C (latex): use boost::format
3121 * insetcaption.C (draw): use boost::format
3123 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3125 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3128 2002-11-20 Juergen Vigna <jug@sad.it>
3130 * insettabular.C (resetPos): temporary fix for endless loop in
3131 this function on a redraw.
3133 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * insettabular.C (copySelection): STRCONV
3137 * insetinclude.C (uniqueID): STRCONV
3138 (latexString): ditto
3140 * insetgraphics.C: put VersionNumber inside anon namespace
3141 (createLatexOptions): STRCONV
3143 * insetcommandparams.C: include config.h
3145 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3147 * insetgraphicsParams.C (Write): use lyx::float_equal.
3148 Write height data correctly.
3149 (Read): zero scale when reading height data.
3151 2002-10-30 John Levon <levon@movementarian.org>
3153 * insetfloat.C (addToTOC): recursively traverse all
3154 contents looking for captions (fix #568)
3156 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3158 * insetexternal.C (doSubstitution): do not try to replace
3159 environment variables, this is done when executing the command
3161 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3163 * insetexternal.C (doSubstitution): change order of substitution
3164 to work around ReplaceEnvironmentPath brokenness
3166 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3168 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3170 * insetgraphicsParams.C (init, Write): associated changes
3171 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3172 InsetGraphicsParams::scale.
3174 2002-10-21 John Levon <levon@movementarian.org>
3176 * inset.h: remove unused DISPATCH_RESULT
3178 * insettext.C: sgml open/close tag now in sgml namespace
3180 2002-10-21 Angus Leeming <leeming@lyx.org>
3182 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3183 file path subdir/fig.eps when pasting it into a buffer in a different
3186 2002-10-16 John Levon <levon@movementarian.org>
3188 * insetspecialchar.C: remove \\protected_separator parsing
3190 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3192 * insetquote.C: fix LaTeX output of quotation marks.
3194 2002-10-14 Juergen Vigna <jug@sad.it>
3196 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3197 Backspace functions which confused the Undo handling.
3199 2002-10-09 Angus Leeming <leeming@lyx.org>
3201 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3202 BufferView::dispatch that turns off this optimisation when a new inset
3205 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3206 reload the BibTeX keys.
3208 2002-10-11 André Pönitz <poenitz@gmx.net>
3210 * insettext.h: handle LFUN_PRIOR/NEXT
3212 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3214 * insetfloat.C: fix bug with float settings
3215 (document default != float default).
3217 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3219 * insetwrap.C (addToToc): New method.
3220 (InsetWrap): Set layout to caption.
3222 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3224 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3226 2002-09-16 John Levon <levon@movementarian.org>
3228 * insettabular.h: hasSelection() needs to be public
3230 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3232 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3234 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3236 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3238 2002-09-11 André Pönitz <poenitz@gmx.net>
3240 * insettabular.C: implement LFUN_WORDSEL
3242 2002-09-10 John Levon <levon@movementarian.org>
3244 * insetinclude.h: remove unused param
3246 2002-09-09 John Levon <levon@movementarian.org>
3249 * insetinclude.C: remove noload, default to input
3251 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3253 * insetgraphics.C: disfuscated use of ']' in built output string.
3255 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3257 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3259 2002-08-29 Juergen Vigna <jug@sad.it>
3261 * insettabular.C (lfunMousePress): Pay attention where you set
3262 the x/y values as they depend on which inset in the tabular is
3263 actually locked. So you surely have to reset them if you (un)lock
3266 2002-08-29 André Pönitz <poenitz@gmx.net>
3268 * insetfootlike.h: rename include guard to ALL CAPS
3270 * insettext.C: swap object and first parameter for checkInsetHit calls
3271 as this functions has moved from BufferView to LyXText
3274 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3276 * insetgraphicsParams.C: remove local displayTranslator and use
3277 the one from graphics/GraphicsTypes.h.
3279 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3281 * insetfloat.C (wide): add BufferParams parameter
3283 * insetfloatlist.C (read):
3286 * insetfloat.C (latex):
3288 * insetcaption.C (draw): use LyXTextClass::floats()
3290 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3292 * insetoptarg.h: add std:: qualifier.
3294 2002-08-26 Juergen Vigna <jug@sad.it>
3296 * insettext.C (localDispatch): ditto.
3298 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3300 2002-08-25 John Levon <levon@movementarian.org>
3302 * inseturl.C: elide long URLs (bug 404)
3304 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3306 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3307 remove "Format Version <version_no.>" string from inset header
3310 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3312 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3313 a member of "grfx::Params" anymore.
3315 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3317 2002-08-24 John Levon <levon@movementarian.org>
3320 * insetoptarg.C: ws, pedantry ...
3322 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3324 * insettext.C (collapseParagraphs): pasteParagraph now in global
3326 (appendParagraphs): ditto
3328 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3330 * insetcite.C (latex): Remove spaces only after commmas.
3332 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3334 * insettext.C: remove NO_COMPABILITY stuff
3336 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3338 * insettext.C (edit): use ParagraphList iterators
3340 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3341 (bibitemWidest): ditto
3343 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3345 * insettext.C: include <boost/bind.hpp>
3346 add using std::for_each
3347 (saveLyXTextState): use ParagraphsList::iterator
3348 (init): use for_each on paragraphlist iterators
3349 (InsetText): remove superflous setting cached_bview to 0
3350 (latex): reformat a bit
3351 (ascii): use paragraphlist iterators
3352 (validate): use for_each + boost bind
3353 (getLabelList): use paragraphlist iterators
3354 (deleteLyXText): use for_each + boost::bind
3355 (resizeLyXText): ditto
3356 (reinitLyXText): ditto
3357 (removeNewlines): use paragraphlist iterators
3358 (getParFromID): ditto
3359 (paragraph): use for_each + boost::bind
3360 (getInsetFromID): use paragraphlist iterators
3361 (getLabelList): typo fix
3363 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3365 * insettext.C (read): assign tmp to paragraphs after return from
3366 call to parseSingleLyXformat2Token
3369 2002-08-13 Angus Leeming <leeming@lyx.org>
3388 changes due to the changed LyXView interface that now returns references
3389 to member variables not pointers.
3391 2002-08-13 Angus Leeming <leeming@lyx.org>
3394 * insetcollapsable.h:
3397 * insettext.h: forward-declare WordLangTuple
3398 (selectNextWordToSpellcheck) constify return type.
3401 * insetcollapsable.C:
3404 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3406 2002-08-12 Angus Leeming <leeming@lyx.org>
3408 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3410 2002-08-12 Juergen Vigna <jug@sad.it>
3412 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3415 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3417 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3418 (bibitemWidest): ditto
3419 * insettext.[Ch]: ditto
3421 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3423 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3425 2002-08-09 Angus Leeming <leeming@lyx.org>
3427 * insetinclude.C (latexString): remove fudge now that I've found out
3428 how to enable LaTeX to find the file using input@path.
3430 2002-08-09 John Levon <levon@movementarian.org>
3433 * insettext.C: remove unused xpos
3435 2002-08-07 Juergen Vigna <jug@lyx.org>
3437 * insettabular.C (localDispatch): make delete not put the stuff
3438 in the clipboard only do this on a cut operation.
3440 * insettext.C (localDispatch): make delete and backspace not put
3441 selected stuff to the clipboard.
3443 2002-08-07 André Pönitz <poenitz@gmx.net>
3446 * insetcollapsable.[Ch]:
3450 * insettabular.[Ch]:
3451 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3453 2002-08-06 John Levon <levon@movementarian.org>
3457 * insetcollapsable.h:
3458 * insetcollapsable.C:
3464 * insettext.C: use WordLangTuple for spellcheck
3466 2002-08-06 Angus Leeming <leeming@lyx.org>
3468 * insetinclude.C: add a monitor to the previewed image, so that the
3469 image is refreshed if the \input-ed file changes.
3471 2002-08-04 John Levon <levon@movementarian.org>
3474 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3476 2002-08-02 Angus Leeming <leeming@lyx.org>
3478 * insetcommandparams.[Ch] (preview): new methods returning and setting
3479 a new bool preview_ flag.
3480 (read): read this flag.
3481 (operator==): add flag to check.
3483 * insetinclude.C (write): output new preview() flag.
3484 (previewWanted): use this flag.
3486 2002-08-02 Angus Leeming <leeming@lyx.org>
3488 * insetcollapsable.[Ch] (addPreview):
3489 * insettabular.[Ch] (addPreview):
3490 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3491 for insets in insets.
3493 2002-08-02 Angus Leeming <leeming@lyx.org>
3495 * insetcite.C: fix typo.
3497 * insetgraphics.C: kill current_view and instead cache the BufferView
3500 * insetinclude.C: kill current_view and pass the BufferView to the
3501 PreviewedInset so that it can cache it.
3503 2002-08-01 Angus Leeming <leeming@lyx.org>
3505 * inset.h (generatePreview): renamed as addPreview.
3506 (generatePreview): new method. Allows code to be moved out of
3507 math_nestinset.C and into the new PreviewedInset class.
3509 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3510 add previews to the inset when \input-ing LaTeX.
3512 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3514 * several files: strip,frontStrip -> trim,ltrim,rtrim
3516 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3518 * insetbib.C (latex): modify because of strip changes
3520 * insetnote.C (InsetNote): ditto
3522 2002-07-26 Juergen Vigna <jug@sad.it>
3524 * insettabular.C (searchForward): check for lastcell if we
3525 had a locking inset.
3527 2002-07-25 Juergen Vigna <jug@sad.it>
3529 * insettabular.C (insetMotionNotify): Don't update the screen
3530 if we didn't do nothing.
3531 (searchForward): last cell was not checked.
3533 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3535 * insetfloat.C (read, write): Allow default placement
3536 (floatPlacement_ is empty).
3538 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3540 * insetminipage.h (noFontChange):
3541 * insettabular.h (noFontChange):
3542 * insetfootlike.h (noFontChange):
3543 * insetfloat.h (noFontChange): return true
3545 * inset.h (noFontChange): new method, defaulting to false
3547 2002-07-22 Herbert Voss <voss@lyx.org>
3549 * insetgraphicsParams.[Ch]: support size_type for old docs
3551 2002-07-22 Herbert Voss <voss@lyx.org>
3554 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3557 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3559 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3561 * insetlatexaccent.h: do not include "lyxlex.h"
3563 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3566 * insetlatexaccent.C:
3570 * insetbib.C: #include "lyxlex.h"
3576 * insettext.C: use BufferParams::getLyXTextClass
3579 * insetfloat.C (addToToc): new method. Add to toclist the entries
3580 corresponding to Caption layouts
3581 (InsetFloat): when creating a new float, set the layout to "Caption"
3583 2002-07-21 Herbert Voss <voss@lyx.org>
3585 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3586 image relevant part into graphics/GraphicsImgae.C
3588 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3590 * insettoc.C (ascii):
3591 * insetfloatlist.C (ascii): change to use the new Toc functions
3592 instead of stuff that was in Buffer
3594 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3596 * insettext.C (localDispatch): BufferView::Dispatch has been
3597 renamed to BufferView::dispatch
3599 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3601 * insetgraphicsParams.C (as_grfxParams): use the new
3602 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3603 1.2.0 patch, and I do not really know how to adapt it to the new
3604 grfx::Cache world. Angus, please could you have a look?
3606 2002-05-01 Herbert Voss <voss@lyx.org>
3608 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3610 2002-07-18 Angus Leeming <leeming@lyx.org>
3612 * insetgraphics.C: clean-up comments (from Herbert).
3613 add a new checksum variable to the cache. Use it in PrepareFile.
3614 (draw): start monitoring the file for a change.
3615 (prepareFile): re-arrange a little to avoid unnecessary steps.
3617 2002-07-17 Angus Leeming <leeming@lyx.org>
3619 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3620 a method rather than to the signal directly.
3622 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3624 * insettext.C: use view_state_changed, switchKeyMap
3626 2002-07-17 Herbert Voss <voss@perce.de>
3628 * insetgraphics.C (prepareFile): keep the extension when
3629 exporting to nice file
3631 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3633 * insetcite.C (getNatbibLabel):
3634 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3636 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3638 * insetgraphics.C: use ->isDrawable()
3640 2002-07-12 Angus Leeming <leeming@lyx.org>
3642 * insetgraphics.C: use the new smart loading capabilities of the image
3645 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3647 * insettabular.C (edit): Move into correct cell when entering a
3650 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3653 2002-07-05 Angus Leeming <leeming@lyx.org>
3655 * inset.h (generatePreview): new virtual method.
3657 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3659 * insetcommandparams.[Ch] (operator=): move out of class
3660 (operator!): move out of class
3662 2002-07-04 André Pönitz <poenitz@gmx.net>
3664 * insetcommandparams.[Ch]: new files
3666 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3668 2002-06-15 Herbert Voss <voss@perce.de>
3670 * insetgraphics.C (prepareFile): bugfix; return always
3671 files without extension
3673 2002-06-28 Angus Leeming <leeming@lyx.org>
3675 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3676 rename asGParams -> as_grfxParams.
3678 * insetgraphics.C: reflect above change.
3680 2002-06-26 Angus Leeming <leeming@lyx.org>
3682 * insetgraphics.h: use boost::scoped_ptr in preference to
3685 2002-06-26 Angus Leeming <leeming@lyx.org>
3687 * insetgraphics.C: moved the image loading stuff into a new class
3688 grfx::Loader. Simplifies this file enormously.
3690 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3692 * insetgraphicsParams.C: changes aassociated with moving
3693 grfx::DisplayType out of grfx::GParams.
3695 2002-06-26 André Pönitz <poenitz@gmx.net>
3697 * insetgraphics.C: use os::external_path where necesaary according to a
3698 patch from Claus Hentschel)
3700 2002-06-25 Angus Leeming <leeming@lyx.org>
3702 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3703 generating a pixmap once the graphics file is loaded into memory.
3704 The current_view ugliness that was in grfx::ModifiedImage has been
3705 moved here now that grfx::ModifiedImage is no more.
3707 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3709 * insettext.C: layout as layout
3711 2002-05-28 André Pönitz <poenitz@gmx.net>
3713 * insetfloatlist.h: remove source of compiler warning
3715 * insetref.C: tiny whitespace
3717 2002-06-15 Herbert Voss <voss@perce.de>
3719 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3720 and take always convert when no userdefined converter was
3722 (latex) small changes in the lyxerr output
3724 2002-06-15 LyX Development team <lyx@rilke>
3726 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3727 mixed content. Small white spaces clean.
3729 2002-06-14 Angus Leeming <leeming@lyx.org>
3731 * inseetexternal.C: remove the using std::difftime declaration.
3733 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3735 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3737 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3739 * insetquotes.C (draw): fix drawing of double quotes
3741 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3743 * insettabular.C: s/scrollCB/scrollDocView/
3745 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3747 * insettext.C: change of topCursorVisible()
3750 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3753 * insettext.C: rename/change of LyXScreen
3755 2002-06-07 Angus Leeming <leeming@lyx.org>
3757 Fixes needed to compile with Compaq cxx 6.5.
3759 all c-library variables have been moved into namespace std.
3760 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3762 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3764 * insetinclude.C (uniqueID):
3765 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3766 conflicted with some AIX headers.
3768 2002-05-31 Juergen Vigna <jug@sad.it>
3770 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3774 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3776 * insetexternal.C (clone): fix () bug when using new
3777 (updateExternal): don't only look for difftime in global scope
3779 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3781 * insettabular.C: add const
3783 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3785 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3786 file name, in case there are weird characters like ',' in there.
3789 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3791 * switch from SigC signals to boost::signals.
3793 2002-05-28 André Pönitz <poenitz@gmx.net>
3795 * insets/insetgraphicsParams.[Ch]:
3796 put in inset related stuff from src/graphic
3798 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3806 * insetcollapsable.C:
3807 * insetcollapsable.h:
3835 * inseturl.h: use mouse_state. Kill insetKeyPress
3837 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3842 * insetcollapsable.C:
3845 * insetlatexaccent.C:
3847 * insetspecialchar.C:
3849 * insettext.C: name change for font metrics
3851 2002-05-24 Juergen Vigna <jug@sad.it>
3853 * insetgraphics.h: include inset.h first (for LString.h)
3855 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3857 * insettext.C: screen moved
3859 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3877 * inseturl.C: LyXView moved into frontends/
3879 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3884 * insetcollapsable.C:
3888 * insetgraphicsParams.C:
3889 * insetlatexaccent.C:
3891 * insetspecialchar.C:
3893 * insettext.C: move Painter to frontends/
3895 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3897 * insettabular.h: use more specific smart_ptr header.
3898 * insettext.h: ditto
3900 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3903 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3905 * insettext.C: clear selection on paste (bug 393)
3907 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3909 * insettext.C (latex): Honor the moving_arg argument.
3911 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3913 * insetfoot.C (latex): if a footnote is in a title layout, then it
3914 is a \thanks. And then, its contents is a moving argument.
3916 2002-05-14 Juergen Vigna <jug@sad.it>
3918 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3921 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3923 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3924 when using options "Full author list" or "Upper case".
3926 2002-05-14 Herbert Voss <voss@perce.de>
3928 * insetgraphics.C (prepareFile): allow files with same name
3930 (readFigInset): set the flags from old figinset in the right
3932 (findTargetFormat): more comments
3934 2002-05-14 Juergen Vigna <jug@sad.it>
3936 * insettext.C (edit): tell checkAndActivateInset() that we don't
3937 have a button press.
3938 (checkAndActivateInset): if button < 0 we don't have a button press
3939 on the inset and os we won't call edit on it if it's not a Highly
3940 editable inset (then we have to enter it).
3942 2002-05-13 Juergen Vigna <jug@sad.it>
3944 * insetcollapsable.C (insetButtonRelease): returned wrong return
3947 2002-05-09 Juergen Vigna <jug@sad.it>
3949 * insetcollapsable.C (edit): first_after_edit should only be
3950 set to true if we enter this inset and it was collapsed so we
3951 open it up. This is needed to reclose it after a search/replace
3952 or spellcheck function opened it and was negative.
3954 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3956 * insetfloat.C (latex): Return correct value.
3958 2002-05-04 Herbert Voss <voss@perce.de>
3960 * InsetgraphicsParams.C (read): fix bug with WH
3962 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3964 * insetfloat.C (latex): More sensible latex output
3965 (fix the problem with endfloat).
3967 2002-05-02 José Matos <jamatos@fep.up.pt>
3969 * insetgraphics.C (validate): acess params as everyone else.
3971 2002-05-03 Juergen Vigna <jug@sad.it>
3973 * insettabular.C (fitInsetCursor): recalculate the cursor position
3976 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3978 * InsetgraphicsParams.[Ch]: whitespace.
3980 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3982 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3983 float type do not exist.
3985 2002-04-28 Herbert Voss <voss@perce.de>
3987 * insetgraphics.C (latex): fix bug with missing file-extension.
3988 LaTeX still allows a missing "eps" or "ps".
3990 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3992 * insetfloat.C (c-tor, wide): translate the name of the float.
3994 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3996 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3997 when using natbib and make it work efficiently. Must emphasise that the
3998 real work is Herbert's.
4000 2002-04-23 Herbert Voss <voss@perce.de>
4002 * insetgraphic.C (prepareFile): fix bug with overwriting and
4003 deleting an existing *.eps-file in the doc-dir
4005 2002-04-23 Juergen Vigna <jug@sad.it>
4007 * insettabular.C (drawCellSelection): fix off by 1 error.
4009 2002-04-22 Juergen Vigna <jug@sad.it>
4011 * insettabular.C (setFont): rewoke full selection if it was asked,
4012 after we changed all we had to change.
4014 * insettext.C (insetUnlock): code was uninitialized in some situations.
4016 2002-04-19 Herbert Voss <voss@perce.de>
4018 * insetgraphic.C (prepareFile): return filename without
4019 extension if we only export without compiling
4021 2002-04-19 Juergen Vigna <jug@sad.it>
4023 * insettext.C (draw): call a fullRebreak on the row where we had a
4024 change and reset the cursor and selection-cursors.
4026 * insettabular.C (insetUnlock):
4027 (insetButtonPress): call an update before setting the_locking_inset = 0
4028 as otherwise we don't repaint!
4029 (update): reset the cursor position when we changed dimensions as
4030 otherwise our cursor may be on the wrong spot.
4032 2002-04-18 Juergen Vigna <jug@sad.it>
4034 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4035 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4036 redraw otherwise we won't redraw.
4038 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4039 not really right before, but I only discovered this with the last
4040 changes to Page up/down.
4042 2002-04-17 Juergen Vigna <jug@sad.it>
4044 * insettext.C (checkAndActivateInset): simplified as we now have the
4045 edit(bv, bool) call.
4047 * insettext.h: changed behind variables to front variables to be
4048 equal to the one in the edit call (as it is for that they are used).
4050 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4052 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4053 not output anything at all!
4055 2002-04-16 Juergen Vigna <jug@sad.it>
4057 * insettabular.C (insetButtonPress):
4058 (insetUnlock): call a redraw on unlocking the cell inset.
4060 * insettext.C (insetButtonPress): same as below.
4061 (lockInset): new function to set initial values when inset should
4063 (insetButtonPress): use above function.
4064 (insetUnlock): don't force a repaint only set the updateStatus. The
4065 outside world should repaint if it thinks it should be done!
4067 * insettabular.C (insetButtonPress): init values if not set as locked
4068 as we are locked if someone presses on us and don't call the edit()
4069 call of the InsetText to lock it do it as BufferView does it!
4071 * inset.h (insetInInsetY): make func const and return an int.
4074 * insetcollapsable.C: adapt the above changed function.
4076 2002-04-15 Juergen Vigna <jug@sad.it>
4078 * insettext.C (getCursorPos): return relative position as to be able
4079 to give them directly to the edit() call.
4080 (edit): we have to set also x_fix as it is not set inside the
4081 setCursorFromCoordinates call!
4082 (insetMotionNotify): ditto.
4084 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4086 * insetbib.C (getKeys): strip leading '\t's from the line too.
4087 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4089 2002-04-12 Juergen Vigna <jug@sad.it>
4091 * insettext.h: added cix() helper function and use it where appropriate
4093 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4095 * insetgraphics.C (prepareFile): fix bug when graphics is a
4098 2002-04-12 Juergen Vigna <jug@sad.it>
4100 * insettext.C (insertInset): remove unneeded code!
4101 (updateLocal): fitCursor() fixes.
4102 (collapseParagraphs): fix a possible problem when having a selection
4103 and collapsing the paragraphs.
4105 2002-04-08 Herbert Voss <voss@perce.de>
4107 * insetgraphic.C (write): write the rotating angle as
4108 a float as is. test only for != 0.0
4110 2002-04-11 Juergen Vigna <jug@sad.it>
4112 * insettext.C: new function ciy() and use it for setting inset_y.
4114 * insetert.C (draw): fix the x return for collapsed version.
4116 2002-04-07 Herbert Voss <voss@perce.de>
4118 * insetgraphic.C (readFigInset): fix bug with subcaption and
4121 2002-04-08 Herbert Voss <voss@lyx.org>
4123 * insetgraphicsparam.C: forgot special option and delete old
4126 2002-04-05 Juergen Vigna <jug@sad.it>
4128 * insettext.C (localDispatch): make a CURSOR update if we inserted
4131 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4133 * insetfloatlist.C (getScreenLabel):
4134 (latex): use Floating::listName
4135 (validate): new method
4137 2002-04-03 José Matos <jamatos@fep.up.pt>
4139 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4141 * insetfoot.[Ch] (docbook): added forgotten method.
4143 2002-04-03 Juergen Vigna <jug@sad.it>
4145 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4146 way as in Bufferview_pimpl.
4148 2002-04-03 Allan Rae <rae@lyx.org>
4150 * insetgraphics.C (latex): one % too many makes living on the bleeding
4151 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4153 2002-03-28 Herbert Voss <voss@lyx.org>
4155 * insetgraphic.C (latex): simplify the code for the latex
4156 output when the file doesn't exist
4158 2002-03-29 Juergen Vigna <jug@sad.it>
4160 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4163 * insettabular.C (edit): call fitCursor().
4165 * insettext.C (insetButtonPress): change behaviour of no_selection
4166 to the one in the BufferView selection_possible and fix the spurious
4167 selection bug with it.
4168 (localDispatch): revoke selection on BREAK... functions.
4170 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4172 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4174 2002-03-28 Juergen Vigna <jug@sad.it>
4176 * insettabular.C (insetAllowed): return true as default value otherwise
4177 we're not able to insert insets inside paragraphs of an not locked
4180 2002-03-27 Herbert Voss <voss@lyx.org>
4182 * insetgraphicsparam.C: change c%, p% to col%, page%
4184 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4186 * insetspecialchar.C (isLineSeparator): disable the nice code to
4187 allow linebreaks after hyphenation and menu separators.
4189 2002-03-26 Herbert Voss <voss@lyx.org>
4191 * insetgraphics.C (figinsetRead): set the right lyxview
4193 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4195 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4196 $\backslash$ and pass a "string const &" to the function.
4197 (prepareFile, latex): use Path rather than MakeAbsPath.
4199 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4201 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4202 proper fix to the graphics cache.
4203 (latex): "really" nice output if the file is not found ;-)
4205 2002-03-26 Juergen Vigna <jug@sad.it>
4207 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4208 (collapseParagraphs): fixed inserting of separator ' '
4210 * insettabular.C (insertAsciiString): only check for buffer lenght
4211 not if we have \t or \n inside the buffer as if we don't have we only
4212 have 1 cell and that's it!
4214 * insetert.C (close): don't collapse if inlined.
4216 2002-03-25 Herbert Voss <voss@lyx.org>
4218 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4219 graphics file does not exist.
4221 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4223 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4224 path when preparing export.
4226 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4227 no longer MakeRelPath.
4229 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4231 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4232 Used to determine the absolute path to the graphics file in the
4233 graphics cache and only in the graphics cache.
4234 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4235 make graphics file name absolute if it is stored as a relative path.
4237 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4238 make graphics file name absolute if it is stored as a relative path.
4240 * insettext.C (edit): emit an updateParagraph signal on entering a text
4241 inset. Needs to be emitted when leaving the inset also.
4243 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4245 * all files: ws cleanup
4247 * Makefile.am: remove ld -r stuff
4249 2002-03-21 Juergen Vigna <jug@sad.it>
4251 * insettext.C (appendParagraphs): new function added to append
4252 the paragraphs to this insets paragraphs.
4254 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4256 * Makefile.am: special rules if partial linking
4258 2002-03-19 Juergen Vigna <jug@sad.it>
4260 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4262 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4264 * insetgraphics.C: Clean up Baruch's comments a little.
4265 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4267 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4270 * insettheorem.C: wrap warnings
4272 * insetgraphics.C: improve messages, move cached_status_
4273 setting to safer place
4275 2002-03-18 Juergen Vigna <jug@sad.it>
4277 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4279 (localDispatch): ditto
4281 * insettext.C (edit): removed unneeded showCursor calls.
4282 (localDispatch): ditto.
4284 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4286 * insetgraphics.h: remove display() method.
4288 2002-03-11 Juergen Vigna <jug@sad.it>
4290 * insetgraphics.C (draw): hack to fix the redrawing bug.
4291 (draw): seems this fixes #268 (force redraw of row if we changed).
4293 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4294 this inset text (don't know why I missed this earlier).
4296 2002-03-08 Juergen Vigna <jug@sad.it>
4298 * insettabular.C (updateLocal): do a FULL update if we're not locked
4299 and only a CELL update is asked.
4301 * insettext.C (updateInsetInInset): update insets inside inset also
4302 if it isn't inside the_locking_inset.
4304 * insettabular.C (updateInsetInInset): ditto.
4306 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4308 * insetexternal.C (doSubstitution): check whether we are using a
4309 temp dir for defining $$FPath
4311 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4314 * insettext.C: remove #include "WorkArea.h".
4316 2002-03-06 Juergen Vigna <jug@sad.it>
4318 * insettext.C (draw): fixed frame redrawing.
4319 (clear): forgot to set the inset_owner of the paragraph.
4321 * insetert.C (status): pay attention the bv can be 0 here!
4322 (getMaxWidth): add the default leftMargin
4324 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4326 * insetert.C (getMaxWidth): make w unsigned int.
4328 2002-03-05 Juergen Vigna <jug@sad.it>
4330 * insetert.C (status): change behaviour of Inlined.
4331 (getMaxWidth): added for new inlined behaviour.
4333 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4335 * insetnote.h (linuxdoc, docbook): add empty methods.
4336 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4337 before being initialized.
4339 2002-03-05 Juergen Vigna <jug@sad.it>
4341 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4342 only that one in the inset. Should be enough.
4343 (updateLocal): set the selection cursor always if we don't have a
4344 selection to be sure it's set!
4346 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4348 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4350 * insettext.C (clear): a gross hack to set layout on a newly
4353 2002-03-04 Juergen Vigna <jug@sad.it>
4355 * insettabular.C (localDispatch): inserted handling of
4356 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4357 (insertAsciiString): new helper function.
4359 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4361 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4364 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4366 * insettext.C (InsetText): initalize newly created par with
4367 default layout. add bufferparams parameter
4370 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4371 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4372 * insetert.[Ch] (InsetERT): ditto
4373 * insetfloat.[Ch] (InsetFloat): ditto
4374 * insetfoot.[Ch] (InsetFoot): ditto
4375 * insetfootlike.[Ch] (InsetFootLike): ditto
4376 * insetmarginal.[Ch] (InsetMarginal): ditto
4377 * insetminipage.[Ch] (InsetMinipage): ditto
4378 * insetnote.[Ch] (InsetNote): ditto
4379 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4381 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4383 * insettext.C: layout as string
4385 * insetinclude.C: layout as string
4387 * insetert.C: layout as string
4389 * insetbib.C: layout as string
4391 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4394 * insettabular.C: remove #include "lyx_gui_misc.h".
4396 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4401 * inset.h: remove figinset, yahoo !
4403 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4405 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4406 copy c-tor and initialise member variables in the correct order.
4408 2002-02-28 Juergen Vigna <jug@sad.it>
4410 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4412 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4414 * inset.h: ... and add a better one here.
4416 * insetcommand.C (insetButtonRelease): remove that one which was a
4419 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4421 * insetcommand.C (insetButtonRelease): ... and move it here.
4423 * inseturl.h: remove insetButtonRelease from there...
4425 2002-02-26 Juergen Vigna <jug@sad.it>
4427 * inseturl.h: Added a insetButtonRelease call returning true as
4430 * insetlabel.C (edit): Fixed wrong update handling after change I
4431 leave in the wrong code for the one who wrote it to remove and have
4432 a look what he did wrong.
4434 * insettabular.C (localDispatch): force a SELECTION update if we
4435 had a selection and we passed the event down to the inset (fix #213)
4436 (localDispatch): handle font changing stuff when we have a cell
4437 selection so that the selection is not rewoked. I don't really like
4438 this fix, but it's the only way I see to do it right now.
4440 2002-02-22 Juergen Vigna <jug@sad.it>
4442 * insettext.C (insetUnlock): set the cursor to the second paragraph
4443 if available and if the first one is empty (fix #191).
4445 2002-02-20 Juergen Vigna <jug@sad.it>
4447 * insettext.C (getDrawFont): implemented this function to call the
4448 one of the owner if present as the owner normally knows what to do
4451 * insetert.C: implement getDrawFont() function and comment out all
4452 the crap for setting a special latex font inside this inset.
4453 (InsetERT): added a Lanugage parameter to this constructor.
4455 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4456 change the font for being drawn on screen (used only in InsetERT for
4459 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4460 and also above (was missing).
4461 (updateLocal): don't remove the cell selection if we have one this
4462 should be done where we really want to remove it.
4464 2002-02-20 José Matos <jamatos@fep.up.pt>
4466 * insetinclude.h: include_label made string const.
4468 * insetinclude.C (InsetInclude): moved include_label initialization.
4471 (validate): fix support for temporary directory, for docbook and
4474 * insetgraphics.h : new private member, graphic_label, that holds
4475 the entity name that defines the graphics location (SGML).
4477 * insetgraphics.C (unique_id): new function to give a unique label
4480 (validate): the file locatation is given by an entity reference.
4482 2002-02-18 Herbert Voss <voss@lyx.org>
4484 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4486 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4488 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4489 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4491 2002-02-18 José Matos <jamatos@fep.up.pt>
4493 * insetinclude.C (validate): some code only applies to latex buffers,
4494 it was made conditional.
4496 2002-02-12 Herbert Voss <voss@lyx.org>
4498 * insetgraphics.C: (prepareFile) do not check at this time
4499 if the file is present.
4501 2002-02-12 Herbert Voss <voss@lyx.org>
4503 * insetgraphics.C: latex(), return the correct newlines
4505 2002-02-13 José Matos <jamatos@fep.up.pt>
4507 * inseturl.C (docbook): escape & in url.
4509 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4511 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4512 after HYPHENATION and MENU_SEPARATOR
4514 * inset.h (isLineSeparator): new method, returns false by default.
4516 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4518 * insetert.C (status): do not update the text inset, but the ERT
4521 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4523 * insetnote.C: use notebg for background
4525 2002-02-08 Herbert Voss <voss@lyx.org>
4528 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4529 prevent LyX from unzipping when this should be handled
4530 by latex vis the graphic.cfg.
4533 2002-02-08 Herbert Voss <voss@lyx.org>
4535 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4536 exists, than return filename with extension
4538 2002-02-06 Herbert Voss <voss@lyx.org>
4540 * insetgraphic.C: prepareFile(): don't convert the file, when
4541 it's not viewed in LyX. Saves a lot of time when opening a
4544 2002-02-05 Herbert Voss <voss@lyx.org>
4547 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4548 and adding a rotate bool similiar to subcaption
4550 2002-02-04 Herbert Voss <voss@lyx.org>
4553 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4554 similiar view to the LaTeX one. Get zipped files work.
4556 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4558 * insetgraphicsParams.C (init): set display to DEFAULT.
4559 No longer #include "lyxrc.h".
4561 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4563 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4564 for now (so that the code compiles).
4566 2002-02-02 Herbert Voss <voss@lyx.org>
4568 * insetgraphic.C: delete inVariant() and some minor changes
4569 * insetgraphicsParams.[C]:
4571 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4573 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4574 interogate lyxrc.display_graphics before diaplaying the graphic.
4576 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4577 InsetGraphicsParams::DisplayType.
4579 2002-01-31 Herbert Voss <voss@lyx.org>
4581 * insetgraphic.C: (readfigInset) set display to pref-default
4583 2002-01-30 Herbert Voss <voss@lyx.org>
4585 * insetgraphic.C: get the filetyp from it's contents
4586 * insetgraphicparams.C: add token scale and lyxrc.display when
4587 creating a new inset
4589 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4591 * figinset.C: added using std::ios directive.
4593 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4595 * figinset.C (runqueue): open translation file in binary mode (for
4598 2002-01-27 Herbert Voss <voss@lyx.org>
4600 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4601 all options and to be sure that the old figinsets are correct
4603 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4604 structure and to support all lengths as LyXLength. The Parameter
4605 structure changed again, but reading of "old" 1.2 graphic insets
4608 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4610 * insetert.h (forceDefaultParagraphs): Added
4612 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4614 * insettabular.C (getMaxWidth):
4615 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4617 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4619 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4620 of LyXLength::inPixels
4622 * inset.C (latexTextWidth):
4623 * insetminipage.C (latexTextWidth): new method, which implements
4624 the equivalent of the LaTeX macro \textwidth
4626 * insetminipage.C (getMaxWidth): use latexTextWidth
4628 2002-01-18 Juergen Vigna <jug@sad.it>
4630 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4632 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4634 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4636 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4639 2002-01-17 Juergen Vigna <jug@sad.it>
4641 * insettabular.C (lockInsetInInset): same change as in insettext.
4643 * insettext.C (draw): width() function was called without setting
4644 the right top_x which could lead to wrong insetWidth setting!
4645 (lockInsetInInset): call edit instead of calling lockInset if we
4646 have to lock an inset inside!
4647 (edit): we have to also tell the inset that we have to redraw the
4648 frame on an edit call if this inset draws a frame only if locked.
4650 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4652 * insetbib.C (getFiles): uncomment Path variable.
4654 2002-01-16 Juergen Vigna <jug@sad.it>
4656 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4659 2002-01-16 Allan Rae <rae@lyx.org>
4661 * insetinclude.C (docbook): someone forgot a ";"
4663 2002-01-16 José Matos <jamatos@fep.up.pt>
4665 * figinset.C (docbook): removed a old place holder "@".
4666 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4667 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4668 ascii text version, clearly guarded inside a CDATA section.
4669 (docbook): in docbook 4, inlinegraphics is empty.
4670 * insettabular.C (linuxdoc): export the ascii version of the table
4671 inside a CDATA section.
4673 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4675 * insetparent.C (InsetParent):
4676 * insetgraphicsParams.C (Write):
4678 * insetgraphics.C (prepareFile):
4681 * insetexternal.C (executeCommand):
4682 (doSubstitution): use Buffer::filePath
4684 * insetbib.C (getFiles): add a #warning for Angus
4686 * insetgraphics.C: Add a remark about how filenames should be
4687 considered to be relative to buffer (but absolute is still allowed)
4688 (draw): do not try to get status if lyxrc.use_gui is false
4690 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4693 * insetcollapsable.[Ch]:
4694 * insettabular.[Ch] (searchForward, searchBackward): change the
4695 bool const & params to bool.
4697 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4698 to avoid the name clash with InsetCollapsable's methods of the same
4699 names but different functionality.
4701 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4703 * insettext.C (ascii): use lyx::count rather than countChar.
4705 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4707 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4709 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4711 * insetgraphics.C (updateInset): do not try to render image if
4712 lyxrc.use_gui is false (bug #104)
4714 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4715 if file does not exist
4717 * figinset.C (browseFile): add shortcuts to directory buttons
4719 * insettext.C (updateLocal): update menubar and toolbar here too.
4721 2002-01-13 Allan Rae <rae@lyx.org>
4723 * insettabular.C (InsetTabular): Both constructors now initialise
4724 all class variables.
4726 2002-01-11 Juergen Vigna <jug@sad.it>
4728 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4730 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4732 * insettabular.C (getStatus): add forgotten brace around multiline
4735 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4737 * insetfloat.C (validate): require "float" instead of "floats".
4739 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4741 * insettabular.C (getStatus): use FuncStatus
4743 2002-01-08 Juergen Vigna <jug@sad.it>
4745 * insettabular.C (insetButtonRelease): now this should work too
4748 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4749 if the width is a percentage.
4751 * inset.h: added isChar() function and implemented this for
4752 insetspecialchar insetquotes and insetlatexaccent.
4753 added forceDefaultParagraphs() and implemented it for insettabular.
4755 2002-01-07 Juergen Vigna <jug@sad.it>
4757 * insettext.C (getLyXText): Fixed this function. An insert into the
4758 map is only done if we REALLY have a new BufferView.
4760 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4762 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4764 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4766 * insetinclude.C: fix use of FileInfo
4768 2002-01-07 Juergen Vigna <jug@sad.it>
4770 * insettabular.C (draw): fixed clearing of cell around inset.
4772 2002-01-05 Juergen Vigna <jug@sad.it>
4774 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4775 variables are updated.
4777 * insettabular.C (resetPos): set always the inset_y as it may be
4778 needed in another function.
4779 (searchBackward): don't draw while searching.
4781 2002-01-04 Juergen Vigna <jug@sad.it>
4783 * insettext.C (lockInsetInInset): forgot to set a cursor.
4785 2002-01-02 Juergen Vigna <jug@sad.it>
4787 * insettext.C (insertInset): make the correct undo informations on
4788 inserting new insets.
4790 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4792 * insettabular.C: correct single-cell select vertically
4794 2001-12-27 Juergen Vigna <jug@sad.it>
4796 * insettabular.C (ascii): export as tab-separated-values if the
4797 function was not called from export (f.ex.: clipboard).
4799 * insetcollapsable.h: added default support for ascii, linuxdoc and
4800 docbook export (the insettext is exported by default!)
4802 * insettabular.C (copySelection): suff the clipboard with the tabular
4803 data in a tab separated format, seems more naturals then with all the
4806 2001-12-24 Juergen Vigna <jug@sad.it>
4808 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4809 to check for REAL mouseMotion.
4811 2001-12-20 Juergen Vigna <jug@sad.it>
4813 * inset.C (cursor): return the owners cursor if available instead of
4814 always only the bv->text->cursor.
4816 * insettabular.C (checkLongtableSpecial): works now.
4818 2001-12-19 Juergen Vigna <jug@sad.it>
4820 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4821 this has to be always row + 1 as 0 means not selected!
4822 (checkLongtableSpecial): added
4823 (tabularFeatures): better longtable options support
4825 * insettext.C (resizeLyXText): reinit the text always also on a
4828 2001-12-18 Juergen Vigna <jug@sad.it>
4830 * insettext.C (updateInsetInInset): look if we have to autocollapse
4831 paragraps and return if the update is requested for ourself.
4833 * insetert.C (status): update the insettext not myself as that is what
4836 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4837 function only return if the update was requested with myself.
4839 * insettext.C (insetButtonPress): fixed stupid bug.
4840 (various functions): pay attention that lt is cleared BEFORE calling
4841 updateLocal() and try to use it in the right manner (don't use it
4842 if it's not really neccessary!)
4843 (collapseParagraphs): insert a blank between collapsing paragraphs
4844 if neccessary (not already there!).
4846 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4848 * insettabular.C: move includes around a bit, add a couple of
4851 * insettext.[Ch]: move includes around a bit, other ws changes and
4854 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4856 * insettext.C (insetButtonRelease): fix compile problem
4858 2001-12-17 Juergen Vigna <jug@sad.it>
4860 * insettext.C (insetButtonPress): set the selection cursor!
4861 (insetButtonPress): clear the selection (and set with that the
4862 selection.cursor) if we only hit an inset!
4864 * insetert.C (read): removed piece of compatibility code only needed
4867 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4870 * insetcollapsable.C (insetButtonRelease): changed so that it can
4871 open eventual existing popup dialogs on mousebutton==3.
4873 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4875 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4877 * inset.C (insetButtonRelease): return a bool for telling the outer
4878 world that we opened a dialog.
4880 2001-12-07 Juergen Vigna <jug@sad.it>
4882 * insettext.C (paragraph): remove the deleteing of paragraphs as
4883 it was a WRONG move!
4885 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4888 * insettabular.C: use new setSelection(). Allow
4889 selection of single cells.
4891 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4893 * insetquotes.C (latex): fix to use the local language setting at
4894 the point where the inset is inserted (different macros for
4895 different french packages)
4897 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4899 * inset.h: add par_owner_ member variable and parOwner
4902 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4904 * insettabular.C (everywhere): adapt because widths are now real
4905 widths and not strings
4907 * insettext.C (draw): re-introduce the calls to width(), ascent()
4908 and descent() to initialize the caching variables.
4910 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4912 * insettext.C (draw):
4913 (drawFrame): use insetWidth instead of last_width
4915 * insettext.h: remove variable last_width (insetWidth is exactly
4916 the same) and last_height (computed but never used!)
4918 2001-12-10 Allan Rae <rae@lyx.org>
4920 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4922 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4924 * insettext.C (insetAllowed): add comment
4926 2001-12-05 Juergen Vigna <jug@sad.it>
4928 * insettext.C (insetAllowed): fixed for the case that we directly
4929 ask the insettext from its LyXText.
4930 (paragraph): fixed the crash when assigning the par->next() from
4931 the EmptyParagraphMechanism!
4933 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4937 * insettext.C: change "while(" to "while ("
4939 2001-12-04 Juergen Vigna <jug@sad.it>
4941 * insetert.C (edit): handle Inlined status.
4943 * insettext.C (insertInset): trying John's fix for the trailing cursor
4945 * insetert.C (insetButtonPress): added to handle inlined status
4946 (insetMotionNotify): ditto.
4948 * insettext.C (clearInset): changed Painter & in BufferView * param,
4949 to be able to call ascent,descent methods.
4951 2001-12-03 Juergen Vigna <jug@sad.it>
4953 * insettext.C (updateInsetInInset): use lt variable to forbid
4954 changes of LyXText in an update call.
4955 (updateInsetInInset): fixed updating of non locked insets!
4957 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4959 * insettabular.C: capture some more functions to prevent
4960 selection drawing problems. Bug #451274
4962 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4965 * insetgraphicsParams.C: fix inverted sense of float_equal
4967 2001-11-30 Juergen Vigna <jug@sad.it>
4969 * insettabular.C (InsetTabular): use the save_id flag to create also
4970 the tabular with the same id's.
4972 * insettext.C (setParagraphData): added a same_id function for undo
4973 to set the same paragraph id's as of the paragraph we are setting.
4975 2001-11-30 José Matos <jamatos@fep.up.pt>
4978 * insettoc.[Ch]: DocBook -> docbook.
4980 2001-11-29 André Pönitz <poenitz@gmx.net>
4983 * insettext.C: further reduction of header dependencies by using
4984 lyx::layout_type and lyx::textclass_type from support/types.h
4986 2001-11-29 Juergen Vigna <jug@sad.it>
4988 * insettext.C: inserted a reinitLyXText function everywhere I delete
4989 the paragraphs! This should fixe the crashes we had.
4990 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4991 (paragraph): set the InsetOwner() of the new paragraphs!
4993 2001-11-28 André Pönitz <poenitz@gmx.net>
4995 * insetnote.C: add pos initialization that I removed without
4998 2001-11-28 Juergen Vigna <jug@sad.it>
5000 * insettabular.C (resetPos): hack to not crash with infinite paints.
5002 * insettabular.h: insert missing function allowSpellcheck()!
5004 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5006 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5009 * insetfloatlist.C: derive from InsetCommand so gui can use it
5012 2001-11-26 André Pönitz <poenitz@gmx.net>
5016 * insetnote.C: reduce header dependencies, introduce type for
5019 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5021 * various: update for Alert.h
5023 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5025 * inset.h: fix comment
5027 * insettext.C: use par->isInset()
5029 2001-11-22 Allan Rae <rae@lyx.org>
5031 * insetcollapsable.h:
5032 * inset.h: Changes to checkInsertChar() behaviour.
5033 Now return value indicates whether chars can be inserted.
5035 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5037 * various: updated to use the new LaTeXFeatures
5039 2001-11-14 José Matos <jamatos@fep.up.pt>
5041 * insetspecialchar.C (linuxdoc):
5042 (docbook): don't give a name to a unused variable.
5044 * insettext.C (docbook): removed unused variable.
5046 2001-11-13 Herbert Voss <voss@perce.de>
5048 * insetgraphic.C: fix scale bug
5050 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5052 * inset.h (isSpace):
5053 (isLetter): new virtual methods.
5055 * insetspecialchar.C (isSpace):
5056 (isLetter): implement here.
5058 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5060 * inset.h: new inline helpers
5062 * insettext.C: use new helpers
5064 2001-11-07 José Matos <jamatos@fep.up.pt>
5066 * insettext.C (docbook): full support for paragraphs inside insettext.
5068 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5070 * insetindex.C: added header file for std::ostream.
5072 2001-11-03 José Matos <jamatos@fep.up.pt>
5074 * insetindex.C: added using std::ostream that I forgot yesterday.
5076 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5078 * insetindex.h (docbook):
5079 * insetindex.C (docbook): added support for docbook export.
5081 2001-11-02 José Matos <jamatos@fep.up.pt>
5083 * insetcaption.C(docbook): added support for docbook export.
5085 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5087 * insetexternal.C (updateExternal): Do not run update command if
5088 result file exists and is up to date.
5090 * ExternalTemplate.C (readFormat): Support the updateresult token.
5092 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5094 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5095 external_templates) to use the buffer->fileName() but only if
5096 previewing. Generating a TeX file should make FPath return
5099 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5102 * insetert.C: fix some problems
5104 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5106 * insetexternal.C (doSubstitution): Added $$FPath token
5107 to list of usable substitutions in external inset templates.
5109 2001-10-24 Juergen Vigna <jug@sad.it>
5111 * insettabular.C: use new ltType struct for setting longtable
5112 header and footers also new UNSET enums.
5114 2001-10-24 José Matos <jamatos@fep.up.pt>
5116 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5117 (docbook): If the table is not inside a float then wrap it inside
5118 <informaltable>...</informaltable>.
5120 2001-10-23 José Matos <jamatos@fep.up.pt>
5122 * insetref.C (docbook): removed / terminator to conform SGML.
5124 * insetspecialchar.C (linuxdoc):
5125 (docbook): Added support for special chars, more than ascii export.
5127 2001-10-22 Juergen Vigna <jug@sad.it>
5129 * insettext.C (checkInsertChar): added for REALLY checking the
5130 font of the inserted char in the right inset!
5132 2001-10-19 Juergen Vigna <jug@sad.it>
5134 * inset.h: added method allowSpellcheck() so that insets who do
5135 not have anything to spellcheck can tell and so they are over-jumped.
5136 Implemented for InsetText and co.
5138 2001-10-18 Juergen Vigna <jug@sad.it>
5140 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5142 2001-10-15 José Matos <jamatos@fep.up.pt>
5144 * insetert.C: allow export for docbook and linuxdoc
5146 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5148 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5150 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5152 * insetquotes.C (dispString): fix handling of latin9 quotes
5154 2001-10-03 Juergen Vigna <jug@sad.it>
5158 * insetcollapsable.C: change updateInset calls to not tell BV that
5159 we have changed status.
5161 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5163 * insettabular.C (deletable): make const
5165 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5167 * insetert.C (latex): Fix the returned value
5169 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5171 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5172 Returns string(), so nothing in an ERT inset is spellchecked.
5174 * insetgraphics.C (draw): print the filename if not displaying the
5176 (width): make sure that the width and draw methods are consistent.
5177 (updateInset): don't even load the image into cache if not displaying
5180 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5182 * various files (selectNextWord): renamed as
5183 selectNextWordToSpellcheck.
5185 * insetgraphics.C (draw): remove the previous change. Right place
5186 is in imageLoaderXPM.C.
5187 (draw): don't display the image if params.display == NONE.
5189 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5191 * figinset.C (runqueue):
5192 * insetgraphics.C (draw): set background colour of inset from
5193 background to the user-configurable graphicsbg.
5195 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5197 * insetquotes.C (InsetQuotes): when trying to decide the side of
5198 the quote, choose `left' only after a space or '('
5200 2001-09-04 José Matos <jamatos@fep.up.pt>
5205 * insetcollapsable.h
5223 * insetlatexaccent.C
5224 * insetlatexaccent.h
5229 * insetspecialchar.C
5230 * insetspecialchar.h
5234 * insettext.C (docbook): rename docBook method to docbook.
5236 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5238 * inset.h (getFirstParagraph): New virtual method.
5240 2001-08-20 Herbert Voss <voss@perce.de>
5241 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5242 in the the bibtex-database-gui for inserting a line
5245 If no style is given than there is no tex-output.
5247 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5249 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5253 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5255 * insetert.C (latex): Fix output for multiple paragraphs.
5256 (write): New code for writing paragraph data.
5257 (read): Set font after reading the inset.
5258 (localDispatch): Call set_latex_font() for more cases.
5260 * insetnote.h: Add empty validate method.
5263 * insetnote.C (InsetNote): Set language to the language of the
5266 2001-08-16 Juergen Vigna <jug@sad.it>
5268 * insettext.C: implemented the new FINISHED states.
5270 * insettabular.C: ditto
5272 * inset.h: added more FINISHED states for cursor right,up,down
5274 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5276 * insetfloatlist.C: use "FloatName List"
5278 2001-08-14 Juergen Vigna <jug@sad.it>
5280 * insetert.C (edit): forgot to set status_ in edit calls!
5282 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5284 * insettext.C: Compilation fix
5286 2001-08-13 Juergen Vigna <jug@sad.it>
5288 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5290 * insetcollapsable.C (edit): don't recollapse an already open inset.
5292 * insettext.C: fixed problem when reinitializing LyXText by not doing
5293 it while lt is in use and post this to the next possible time in
5295 (searchForward): fixed not unlocking of inset if nothing found.
5296 (edit): set cursor behind right (was set -1 pos).
5298 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5300 * insettabular.C (tabularFeatures): fixed fix where deleting the
5301 last row didn't get the right actcell!
5303 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5305 * insettext.C (localDispatch): Change language only when the inset
5308 2001-08-10 Juergen Vigna <jug@sad.it>
5310 * insettabular.C (selectNextWordInt): use the front using edit call.
5312 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5313 the parameter overwrite class variable inset.
5315 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5317 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5318 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5320 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5321 update only for fixed with cells.
5322 (resetPos): try to fix the lockup on spellchecking or s&r.
5324 * insettext.C (update): comment this out as it seems first wrong
5325 and second not needed anymore!
5326 (some functions): call reinitLyXText() only in update() in all other
5327 positions set only need_update = INIT.
5329 2001-08-08 Juergen Vigna <jug@sad.it>
5331 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5333 * insettext.C (insetUnlock): remove double-space on inset unlock.
5335 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5337 * insettabular.C (update): fixed cursor positon after an insert.
5338 (insetAllowed): do not allow to insert insets when not inside the
5340 (draw): clear below an inset too as it could have changed height.
5342 * inset.C (getMaxWidth): fixed width for inset in inset.
5344 * insettext.C (update): small fix.
5346 * insettabular.C (tabularFeatures): added selection support to
5347 DELETE_ROW/DELETE_COLUMN.
5349 2001-08-07 Juergen Vigna <jug@sad.it>
5351 * inset.C (getMaxWidth): recoded and all it's implementations!
5353 * insettext.C (init,setParagraph+constructors): cleanups
5354 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5355 are new and I want do a save/restore of the cursor position which is
5356 not possible anymore.
5358 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5359 (searchBackward): ditto
5360 (selectNextWord): ditto
5362 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5364 * insetlatexaccent.C (checkContents): Add some debug messages
5366 2001-08-07 Juergen Vigna <jug@sad.it>
5368 * insetert.C (read): don't use InsetCollapsable::read as we don't
5369 write the collapsed status anymore only the status.
5372 2001-08-06 Juergen Vigna <jug@sad.it>
5374 * insetert.C (set_latex_font): use LyXText's setFont directly.
5376 * insettext.C (drawFrame): fixed one time more the right position
5377 and size of the frame!
5379 * insetert.C (~InsetERT): hide the dialog.
5380 (showInsetDialog): added implementation
5383 (status): new function for the status of the ERT inset (3-state).
5384 (write): output also the status of the inset for readback!
5385 (read): readback the status if available otherwise use collapsed_.
5387 * insettext.C (edit): small fix of setting the position, which could
5390 * insetert.C (width): implement this function for inlined viewing.
5391 Added minimum width of 10 pixels!
5393 * insetminipage.C (InsetMinipage): just change the colors a bit so
5394 that border/background is a bit more visible. We will remove this
5397 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5398 function for getting the important widths for drawing in various
5399 functions and in LyXText.
5400 (draw): fixed up a bit (frame drawing/clearing)
5402 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5404 * inset.C (convertFont): delete method. not used.
5406 2001-08-03 Juergen Vigna <jug@sad.it>
5408 * insettext.C (setFont): don't call for a draw update if we're just
5409 changing the cursor font!
5411 2001-08-02 Juergen Vigna <jug@sad.it>
5413 * insettext.C (draw): clear the background with the right color if
5414 needed. Update myself if x&max-width changed and return without doing
5415 anything. Let the update code handle the right stuff.
5417 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5418 inside another inset.
5420 2001-08-01 Juergen Vigna <jug@sad.it>
5422 * insetcollapsable.C (update): added an in_update bool so we avoid
5425 * insettabular.C (update): added an in_update bool so we avoid
5428 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5430 (update): added an in_update bool so we avoid reentering.
5432 * insettabular.C (localDispatch): clear col/row selection when doing
5433 something else inside an inset.
5435 * insettext.C (getLyXText): fixed bug when requesting a recursive
5438 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5440 * insetcite.C (latex): Paranoia check. Make sure that there is no
5441 whitespace between the citation keys.
5443 2001-07-31 Juergen Vigna <jug@sad.it>
5445 * inset.h (nodraw): make the set function also const so that this
5446 can be called from inside other const functions.
5448 * insetcollapsable.h: removed inline variable and moved it over
5449 to the only user InsetERT.
5451 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5452 inset opening immediately therein lying insets dialogs!
5454 * insetert.C (localDispatch): set the font also if we don't have any
5455 chars in this paragraph, otherwise if we delete all of em and start
5456 writing we have the wrong font.
5458 (draw): implemented for inline support
5459 (insetButtonRelease): ditto.
5461 2001-07-30 Juergen Vigna <jug@sad.it>
5463 * insettext.C (reinitLyXText): new function to reinit the insets
5464 text after lot's of paragraph changes. Use this instead of the
5465 cache.clear() which is VERY dangerous.
5467 * insetfloat.C (insetButtonRelease): we should only show the dialog
5468 if we press on the label otherwise we have problems to open mouse
5469 button 3 dialogs inside this float (f.ex. of a tabular!)
5471 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5473 * insetert.C: change back to "ERT"
5475 * insetfloat.C: handliign of RMB on label added.
5477 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5479 * insetgraphicsParams.C: #include LOstream.h here.
5481 * insetfoot.h: remove InsetFoot:: qualifier.
5483 2001-07-29 Baruch Even <baruch@lyx.org>
5485 * ChangeLog: Hiding time travel evidence.
5487 * insetgraphicsParams.h:
5488 * insetgraphicsParams.C:
5489 * insetgraphics.C: Added horizontal scale option, it actually scales both
5490 directions since it keeps image proportions.
5492 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5494 2001-07-29 Baruch Even <baruch@lyx.org>
5496 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5497 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5499 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5501 2001-07-29 Baruch Even <baruch@lyx.org>
5503 * insetgraphics.C: Added EPSI to be an alias of EPS.
5505 2001-07-29 Baruch Even <baruch@lyx.org>
5507 * insetgraphics.C: Change GRAPHICS to Graphics.
5508 Changed image conversion rules (documented at the beginning of file).
5510 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5512 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5515 * insetgraphics.C: added a using std::endl directive.
5517 * insetcommand.h (getScreenLabel): removed pure virtual function,
5518 as it duplicates that in InsetButton.
5520 * insetbib.[Ch] (getScreenLabel):
5521 * insetbutton.[Ch] (getScreenLabel):
5522 * insetcite.[Ch] (getScreenLabel):
5523 * insetert.[Ch] (getScreenLabel):
5524 * insetexternal.[Ch] (getScreenLabel):
5525 * insetfloatlist.[Ch] (getScreenLabel):
5526 * insetinclude.[Ch] (getScreenLabel):
5527 * insetindex.[Ch] (getScreenLabel):
5528 * insetlabel.h (getScreenLabel):
5529 * insetparent.[Ch] (getScreenLabel):
5530 * insetref.[Ch] (getScreenLabel):
5531 * insettoc.[Ch] (getScreenLabel):
5532 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5534 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5536 (validate): remove check on "cite" when using natbib.
5538 2001-07-26 Baruch Even <baruch@lyx.org>
5540 * insetgraphics.C (draw): changed casting to be in one place rather than
5541 all over the function.
5544 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5546 * insetgraphicsParams.h:
5547 * insetgraphicsParams.C:
5548 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5550 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5552 * insetfoot.C (validate): Added method to ensure that the
5553 right bit of LaTeX is emitted.
5555 * insetfoot.h: Added validate method to set the correct
5556 LaTeXFeatures bit for the special footnote code.
5558 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5560 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5563 2001-07-27 Juergen Vigna <jug@sad.it>
5565 * inset.h: remove not used font variable in parameter.
5566 removed checkInsertChar in UpdatableInset as it was equal to
5567 the one in Inset and so not needed.
5569 * insetert.C (checkInsertChar): implementation of function
5572 * inset.h: added new function checkInsertChar.
5574 * various files: added c-tor and clone() function.
5576 * insetcollapsable.h: removed clone function here as this should
5577 be only realized in REAL insets and added it to all collapsable
5578 insets! (with the copy-constructor).
5580 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5582 * insetminipage.C (read): handle missing parameters more gracefully
5584 * insetcollapsable.C (read): handel missing collapsed more gracefully
5586 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5588 * insetfloat.C (read): handle missing parameters.
5590 * insettext.C (read): handle old latex end_inset
5592 * insetert.C (setButtonLabel): new method
5593 (init): use it, to set the dynamic label correctly
5596 * Makefile.am (EXTRA_DIST): add files that is not part or the
5599 * insetcollapsable.h: remove autocollapsable (no users), remove
5600 draw_label, change_label_with_text and companion code. Remove args
5602 * insetert.[Ch]: move here instead (only user)
5604 * inset.h: rename private variable name to name_, make
5605 selectNextWord return a const string. make getInsetName return a
5606 string const &. Remove bool from open, add close.
5608 * Makefile.am: don't compile insetlist, insetsection
5611 2001-07-24 Juergen Vigna <jug@sad.it>
5613 * insetert.C (InsetERT): put init after the paragraph initialization,
5614 as otherwise we don't set the draw_label right.
5616 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5617 insets with the mouse without having strange selections.
5618 (edit): if the inset was collapsed and we open it here then put the
5619 cursor always at the beginning of the inset.
5620 (get_new_label): 15 instead of 10 max chars in the label.
5622 * insetert.C (localDispatch): added and handle various stuff we
5623 need to handle here (font setting on paragraph break, not permitted
5624 layout setting, etc.).
5626 * inset.h: added default copy-consturctor and implemented this in
5627 various insets with the change to use this in the clone function!
5629 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5631 * insetminipage.C (InsetMinipage): set background color to red :)
5633 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5635 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5636 draw frame mode is LOCKED.
5638 * insetcollapsable.C (edit):
5639 (insetButtonRelease): set update status to full when
5642 * insettext.C (clearInset):
5643 * insettabular.C (draw):
5644 * insetlatexaccent.C (draw): honor background color.
5646 * inset.h: new member background_color_, initialized to
5649 * inset.C (backgroundColor): new method.
5650 (setBackgroundColor): new method.
5652 * insetert.C (init): new method, called by the ctors.
5653 (InsetERT): when inserting contents, make sure the font is
5656 * insetnote.C (InsetNote): when inserting content, remove trailing
5658 (init): set background color to LColor::note
5660 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5662 * insetcollapsable.C: adjust
5664 * insetbutton.C: adjust
5666 2001-07-23 Juergen Vigna <jug@sad.it>
5668 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5669 parameter on the _collapsed function (was not needed) and call
5670 always width_collapsed().
5672 * insetert.C (InsetERT): use setLabel with "true" flag.
5674 * insetcollapsable.C: modified various functions to set the draw_label
5675 string right in any condition.
5676 (setLabel): added a bool parameter to set change_label_with_text.
5678 * insetcollapsable.h: added draw_label string which is set to the
5679 actual drawn label-string, while label is the original static label
5680 of this collapsable inset. Added bool change_label_with_text to set
5681 if we want that the label changes to the start of the InsetText's
5682 text when collabpsed. You can set this flag with the setLabel funciton.
5683 Added bool inlined for inlined collapsable insets, but not handled
5686 * insetcollapsable.C (get_new_label): added should get a new label
5687 from the InsetText beginning (for now 10 chars).
5689 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5691 * insetquotes.C (latex): fix the handling of french double quotes
5692 when not using the french pachage.
5694 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5696 * insetcollapsable.h: make WidthCollapsed mutable.
5698 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5699 InsetPrintIndex returns INDEX_PRINT_CODE.
5701 * inset.h: add INDEX_PRINT_CODE
5703 * insetcollapsable.C (draw): init widthCollapsed if necessary
5706 * insetquotes.C (width): use the local language, not the document
5709 (dispString): add additional spacing for all french languages,
5711 (validate): make it work when there is no default language
5713 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5715 * insetnote.C (init): new method, called by the constructors
5716 (InsetNote): new constructor with contents passed as a string
5718 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5720 * insetfootlike.C (insetAllowed): disallow float in footlike.
5722 * insetert.C (InsetERT): add collapsed argument to the constrctor
5725 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5727 * insetindex.h: shut off warning
5729 2001-07-20 Juergen Vigna <jug@sad.it>
5731 * insetcollapsable.C (update): recoded hopefully works now!
5733 2001-07-19 Juergen Vigna <jug@sad.it>
5735 * most files: implemented the below new introduced function.
5737 * inset.h: added new edit(BufferView *, bool front) method to be able
5738 to enter an inset from the front/back without knowing x/y positions
5739 and baselines inside the inset. So I just can tell the inset activate
5740 me and set the cursor on the front/back of yourself.
5742 2001-07-18 Juergen Vigna <jug@sad.it>
5744 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5745 is given to the InsetText.
5746 (insetButtonPress): ditto
5747 (insetButtonRelease): ditto
5748 (insetMotionNotify): ditto
5750 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5752 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5753 LIGATURE_BREAK, since the name is so stupid.
5755 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5757 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5758 the default InsetCollapsable methods. I.e., it can insert anything.
5759 (write) output the name of the inset, not some silly hack for
5760 compatability with the old InsetInfo.
5762 * insetinfo.[Ch]: removed.
5763 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5764 now collapsable, but functionality is otherwise identical to InsetInfo.
5766 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5768 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5770 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5773 * insetquotes.C: general cleanup
5774 (dispString): add spaces inside french double quotes.
5775 (latex): ditto. Moreover, treat first the case where the frenchb
5776 or french options have been given.
5778 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5780 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5783 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5785 * figinset.C (RegisterFigure): Print debug message only when
5786 current_view is available.
5788 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5790 * many files: update to match the change below
5792 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5793 implement the version which takes an inset here.
5795 * insetcollapsable.[Ch]: implement open and isOpen
5797 * inset.h: remove insertInsetAllowed from Inset
5798 (open): new method, to open or close an inset
5799 (isOpen): returns the status of an inset
5800 (isCollapsable, colapse): removed
5802 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5804 * insetquotes.C (dispString): display french guillemets when using
5807 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5809 * insetcollapsable.h: remove bogus return statements
5811 2001-07-18 Juergen Vigna <jug@sad.it>
5813 * insettabular.C (selectNextWord): fixed spellchecking for the
5814 first cell of a tabular (wasn't entered!)
5815 (getLyXText): changed to enter automatically insettext and return
5816 it's LyXText if we're locked.
5818 2001-07-17 Juergen Vigna <jug@sad.it>
5820 * various files: implemented the below functions.
5822 * inset.h: added functions
5823 - virtual string selectNextWord(BufferView *, float & value) const;
5824 - virtual void selectSelectedWord(BufferView *) { return; }
5825 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5826 needed for spellchecking correctly!
5828 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5830 * insetert.C (latex): write out all paragraphs.
5832 2001-07-17 Baruch Even <baruch@lyx.org>
5834 * insetgraphics.C (draw): Removed unneeded casts.
5836 2001-07-16 Juergen Vigna <jug@sad.it>
5838 * insettext.C (update): fixed small oversight (reset lt to 0).
5840 2001-07-14 Baruch Even <baruch@lyx.org>
5843 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5845 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5847 Consistent use of Lsstream.h:
5848 * figinset.C: removed using std::ostringstream directive.
5850 * insetgraphics.C (createLatexOptions):
5851 * insetinclude.C (unique_id):
5852 std::ostringstream -> ostringstream.
5853 * insettext.C (localDispatch): std::istringstream -> istringstream.
5855 2001-07-13 Juergen Vigna <jug@sad.it>
5857 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5859 * insetcollapsable.C (getLockingInset): ditto.
5861 2001-07-12 Juergen Vigna <jug@sad.it>
5863 * insetcollapsable.h: added implementation of new function for
5866 * various files: added implementation of new insertInsetAllowed-func
5867 and redone the function a bit more.
5869 * inset.h: added isCollapsable(), bool collapsed(),
5870 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5872 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5874 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5875 LyXText which is marked for removal while we're using it!
5877 * insettext.h: added private LyXText * lt to use it to assure we are
5878 not deleting our LyXText while we're using it!
5880 2001-07-11 Juergen Vigna <jug@sad.it>
5882 * insettext.C (insertInset): check if we are before the inset after
5883 inserting it! This check IS needed. Remove the Undo-Call as it is
5884 called in LyXText::insertInset!
5886 * insettext.h: added struct InnerCache.
5888 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5889 that we ONLY delete the LyXText in the getLyXText() routine. So we
5890 are sure we don't delete LyXText while someone is working with it!
5892 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5894 * insetexternal.C: (*it). -> it->
5895 * insettext.C: ditto
5897 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5899 * insetcollapsable.C (edit): always open collapsed insets (even if
5900 they are not autocollapsable)
5902 * insetcommand.C (operator=): simplify.
5904 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5906 * insetert.C (latex): handle META_NEWLINE
5908 2001-07-09 Juergen Vigna <jug@sad.it>
5910 * insetert.h: a normal InsetText can insert insets, but we won't.
5912 * inset.h: return default "false" on insertInsetAllowed and implement
5913 this function where a returnvalue != "false" is needed.
5915 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5917 * insetert.C (InsetERT): new contructor
5919 2001-07-06 Juergen Vigna <jug@sad.it>
5921 * a lot of files: added implementation of the below new functions
5922 and the change to clone(). Also the call of the new undo-functions
5925 * inset.h: added an inset_id, added functions getParFromID,
5926 getInsetFromID, firstParagraph, cursor and id functions, added
5927 bool same_ids to clone function.
5929 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5931 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5932 of BufferView * and shared_ptr<LyXText>
5934 2001-07-05 Juergen Vigna <jug@sad.it>
5936 * insettext.C (clear): deleted also the cache not only LyXText.
5937 (setParagraphData): ditto.
5939 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5941 * insetfloat.C (latex): let the specific placement take presedence
5942 if set, otherwise choose document placement if set, otherwise just
5943 use float default placement.
5945 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5947 * insettext.C (localDispatch): call CutAndPaste::'s static method
5950 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5952 * insetbib.C: no meed to include forms.h here.
5954 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5956 * insettext.C: added using std::make_pair directive.
5958 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5960 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5962 (deleteLyXText): ditto
5963 (resizeLyXText): ditto
5965 2001-07-02 Juergen Vigna <jug@sad.it>
5967 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5968 following calls are only returned the right pointer without the over
5969 head to search in the map.
5970 (various funcs): reset the cached_bview variable as this signs that
5971 the cache is not valid anymore.
5973 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5975 * insettabular.C (clone): do not copy the LyXTabular twice
5977 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5979 * insettext.h (TEXT): delete method
5981 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5983 * insetmarginal.C (latex):
5984 * insetfoot.C (latex): fix spacing of notes in LaTeX
5986 * insettext.C (localDispatch): use .c_str() on istringstream
5987 constructor argument.
5989 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5994 * inseturl.C: fix method names in these to begin
5995 with small char too, so they inherit
5997 2001-06-28 Juergen Vigna <jug@sad.it>
5999 * insettext.C (setFont): fixed font settings using toggleFree()
6000 instead of setFont().
6002 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6004 * Change a lot of method names to begin with a small char.
6005 Changes to a lot of files because of this.
6007 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6009 * insetfloatlist.C (Write): std:: qualify ostream
6012 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6016 * insetgraphics.C: send debug output to Debug::INFO instead of
6019 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6022 * insettabular.C (getStatus): update to use func_status
6024 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6026 * insetref.C (DocBook): added support for cross-references without
6029 2001-06-26 The LyX Project <jug@sad.it>
6034 * insetlabel.h: removed escape method and moved it to
6037 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6039 * insettabular.C (getMaxWidth): do the speedup in a different way,
6042 2001-06-24 The LyX Project <Asger>
6044 * insettabular.C (getMaxWidth): We cache a mapping from
6045 inset to cell in order to speed this method up.
6047 2001-06-24 The LyX Project <Asger>
6049 * insettext.C: Optimized InsetText::draw or something.
6051 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6053 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6055 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6057 * inset.h: name change from lyxinset.h
6059 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6061 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6063 2001-06-14 Juergen Vigna <jug@sad.it>
6065 * insettext.C (draw): removed warnings.
6067 2001-06-13 Juergen Vigna <jug@sad.it>
6069 * insettabular.C (nodraw): only go down the tree if we don't have
6070 that flag set otherwise it's obvious that we don't want to draw.
6071 (LocalDispatch): do also an update if we have an undispached result.
6073 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6076 * insetgraphicsParams.C:
6077 * insettext.C: removed // -*- C++ -*- as first line.
6079 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6081 * lyxinset.h (resizeLyXText): shut off warning about unused
6084 2001-06-07 Juergen Vigna <jug@sad.it>
6086 * insettext.C (resizeLyXText): honor the new force flag.
6088 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6090 * insettabular.C (deleteLyXText): new function
6092 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6100 * insetcollapsable.C:
6101 * insetcaption.C: LColor tidy
6103 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6105 * figinset.C: fix typo
6107 2001-06-01 Juergen Vigna <jug@sad.it>
6109 * insettabular.C (resetPos): small hack so that scroll is not set to
6110 0 when we are in the last column of a tabular. This is a problem we
6111 have because of constats 20 offset on both directions, so this can
6112 cause on the limit an endless loop.
6114 * insettext.C (SetFont): forgot that we can have locking insets ;)
6116 2001-05-31 Juergen Vigna <jug@sad.it>
6118 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6120 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6122 * figinset.C: add using std:: directive for the C functions which
6125 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6127 * insetfloat.C (Write): write out wide info
6128 (Read): read the wide info
6129 (Latex): use the wide info when creating latex.
6131 * insettext.C: adjust
6133 * insetgraphics.[Ch] (statusMessage): change to return string
6137 * figinset.C (runqueue): add std::
6140 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6142 * insetcite.C (Ascii): add std:: qualifier
6144 2001-05-28 Juergen Vigna <jug@sad.it>
6146 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6147 a endless-width inset (maxWidth < 0).
6148 (Edit): change language only if not equal.
6150 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6152 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6154 2001-05-16 Juergen Vigna <jug@sad.it>
6156 * insettext.C (selectAll): added
6157 (clearSelection): added
6159 * insettabular.C (SetFont): now we may set a font on a whole selection!
6160 (getSelection): added helper function.
6162 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6164 * insetcite.C (Ascii): Add method.
6166 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6169 * insetbib.C: fix path for OS/2 & Win32
6171 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6173 * insetfoot.C (Latex): don't use % after footnote.
6175 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6177 * insettext.C (Read): use clear
6178 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6180 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6182 * insetfloatlist.h: add a bunch of std:: qualifiers.
6184 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6186 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6187 FLOAT_LIST_CODE, renumber code list.
6189 * insettoc.C (getScreenLabel): remove support for float lists
6193 * insetfloatlist.[Ch]: new files
6195 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6197 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6199 * insettabular.C (LocalDispatch):
6200 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6203 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6205 * insettext.C: remvoe !NEW_INSETS cruft
6207 * insettabular.C: remove !NEW_INSETS cruft
6209 * insetcollapsable.h: remove !NEW_INSETS cruft
6211 * insetbib.C: remove !NEW_INSETS cruft
6213 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6215 * insettoc.C: hack to make listof algorithm work
6217 2001-04-20 Juergen Vigna <jug@sad.it>
6219 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6221 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6223 * insetquotes.C (Latex): improve the guard against
6224 unwanted !` and ?` ligatures. This should really be done in
6225 another place (to catch all this ligatures at low-level).
6227 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6229 * insettext.C (init): remvoe leftovers from cursor_visible change
6230 (draw): use c++ cast
6231 (LocalDispatch): dispatch LFUN_MESSAGE
6233 * insettabular.C (InsetTabular): remove leftovers from
6234 cursor_visible, and scoped_ptr changes
6235 (draw): use c++ cast
6237 * insetcollapsable.C (draw): use c++ cast
6239 * ExternalTemplate.h: inherit privaely from noncopyable
6240 * insetcommand.h: ditto
6241 * insetinclude.h: ditto
6243 2001-04-16 Allan Rae <rae@lyx.org>
6245 * insettoc.C (Ascii):
6246 * insettext.C (draw):
6247 * insettabular.C (setPos):
6248 * insetminipage.C (Read):
6249 * insetfloat.C (placement):
6250 * insetcaption.C (Ascii, DocBook):
6251 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6252 an unrecognised preprocessor directive. So ensure they're wrapped.
6254 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6257 * insetexternal.C: set view on Clone. Add _ to private members.
6259 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6261 * insettext.C (InsetText): fix new
6262 (InsetText): reindent some, simplify deletion of par list
6263 (clear): simplify deletion of par list, fix new
6264 (SetParagraphData): simplify deletion of par list
6266 * insettabular.[Ch] (getLabelList): implement new method
6268 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6270 * lyxinset.h: do not include gettext.h...
6278 * insetlatexaccent.C:
6282 * inseturl.C: ... and do it here instead
6284 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6286 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6288 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6290 * insetcollapsable.[Ch] (getLabelList): implement
6292 * insettext.[Ch] (getLabelList): implement
6294 * insettext.h: reindent
6296 * insettabular.h: make tabular a scoped_ptr
6298 * insettext.C (init): adjust for cursor_visible
6299 (ToggleInsetCursor): constify asc and desc, font, adjust for
6301 (ShowInsetCursor): constify asc and desc, font, adjust for
6303 (HideInsetCursor): adjust for cursor_visible
6305 * insettabular.C: reindent some
6306 (InsetTabular): adjust for scoped_ptr and cursor_visible
6307 (InsetTabular): ditto
6308 (~InsetTabular): delete delete
6309 (Clone): adjust for scoped_ptr
6310 (Read): constify old_format, adjust for scoped_ptr, move init of
6312 (draw): constify tx, localize loop vars.
6313 some other localization of variables, remove double initilizatons.
6315 * insetfoot.C: remove using std::ostream, add ostream where needed
6317 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6319 * lyxinset.h: some reindentaion, use initializer list for
6321 UpdatableInset: make cursor_visible a private var add
6322 public isCursorVisible(), add protected toggleCursorVisible() and
6323 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6325 * insettoc.C: remvoe using decl
6326 (getScreenLabel): make cmdname donst
6329 (Ascii): don't use endl
6331 * insetfootlike.C: remove using decl at file scope and add std::
6333 * insetmarginal.C: ditto
6335 * insetfoot.C: some reformatting
6337 * insetfloat.C (InsetButtonRelease): adjust the hit area
6339 * insetert.C (SetFont): some reformatting
6341 * insetcollapsable.C: some reformatting and constification
6342 (Clone): comment out.
6343 * insetcollapsable.h: some reformatting
6344 (Clone): comment out.
6349 2001-03-30 Juergen Vigna <jug@sad.it>
6351 * insetcollapsable.h: changen *inset to be a InsetText inset.
6353 * some files: changed to reflect the above change.
6355 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6357 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6358 InsetExternal::Params.
6359 Added operator==() and operator!=() for the Params struct.
6361 2001-03-29 Juergen Vigna <jug@sad.it>
6363 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6366 * insetminipage.C: removed widthp_ and all it's functions and changed
6367 to use new %-lengths of LyXLength.
6369 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6371 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6373 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6375 * insetgraphicsParams.C (operator!=): new function, needed by the
6376 ControlGraphics class.
6378 2001-03-28 Juergen Vigna <jug@sad.it>
6380 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6381 (checkAndActivateInset): don't use the values returned from
6382 call to bv->checkInsetHit.
6384 * insetminipage.C (Clone): set special minipage values.
6386 * insetcollapsable.C (draw): changed to draw the button in the
6387 upper left corner outside the textinset.
6388 (ascent): changed because of different drawing
6392 (InsetButtonPress): ditto
6393 (InsetButtonRelease): ditto
6394 (InsetMotionNotify): ditto
6396 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6398 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6402 2001-03-26 Juergen Vigna <jug@sad.it>
6404 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6406 * insettext.C (ShowInsetDialog): implemented above function.
6408 * insettabular.C (ShowInsetDialog): ditto
6410 * insetminipage.C (ShowInsetDialog): ditto
6412 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6414 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6415 InsetInclude::Params. Don't store a buffer * in Params. Store the
6416 master file name instead.
6418 2001-03-23 Juergen Vigna <jug@sad.it>
6420 * insetcollapsable.C (InsetMotionNotify):
6421 (InsetButtonRelease):
6422 (InsetButtonPress): fixed y-offset (minipages).
6424 * insettext.C (draw): force a FULL update if cleared == true.
6426 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6427 routine to draw the minipages on its position-flag.
6428 (InsetInInsetY): give back the right y position, because of minipage
6431 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6434 * insetfloat.C (DocBook): docbook export code.
6436 2001-03-22 Juergen Vigna <jug@sad.it>
6438 * insetminipage.C (getMaxWidth): added function to set the drawing
6440 (Read): should work now!
6442 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6443 if we create a new inset.
6445 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6447 * figinset.C (fl_set_preemptive_callback): moved definition outside
6450 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6452 * insetminipage.C (Read): prepare for reading of minipage arguments.
6454 2001-03-18 Baruch Even <baruch@lyx.org>
6456 * insetgraphics.C: Minor cleanups of the comments and code.
6458 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6460 * insetminipage.C (InsetMinipage): default to not collapsed
6462 2001-03-16 Juergen Vigna <jug@sad.it>
6464 * insetminipage.C (width): modified with to be a string
6465 (widthp): added widthp (for % width) support functions.
6466 (InsetButtonRelease): added to open the options dialog on button==3.
6467 (~InsetMinipage): added to hide the dialog.
6469 * insetminipage.h: added hideDialog signal
6471 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6473 * insetminipage.h: change the order or Position to match
6474 LyXParagraph::MINIPAGE_ALIGNMENT
6476 * several files: remvoe CXX_WORKING_NAMESPACES
6478 * ExternalTemplate.h: noncopyable is in namespace boost
6479 * insetinclude.h: ditto
6480 * insetcommand.h: ditto
6482 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6484 * insettext.C (Edit): #else# -> #else.
6485 * insettoc.C: added using directive.
6487 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6489 * insetminipage.h: add pos, inner_pos, width and height. + getters
6490 and setters for all of them.
6492 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6494 * insetinclude.C (Latex): Do not exit when the textclass of the
6495 included file differ from the textclass of the parent file.
6497 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6499 * ExternalTemplate.C (read): the reading of external insets now checks
6500 for \end_inset and removes it form the input stream.
6502 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6504 * ExternalTemplate.h:
6505 * ExternalTemplate.C:
6507 * insetexternal.C: move form to GUII
6509 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6512 * insetinclude.C: add InsetIncludeParams, use
6513 composition rather than derivation of InsetCommand
6515 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6517 * insettoc.C (Ascii): use the Buffer typedefs
6519 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6521 * insettoc.C (Ascii): implement for dynamic number of lists
6523 * insetcaption.[Ch]: update from new_insets branch
6524 * insetfloat.[Ch]: ditto
6526 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6529 * figinset.C: use new File Dialog
6531 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6533 * insettext.C: changes becuase of ParagraphParameters.
6535 2001-02-28 Baruch Even <baruch@ev-en.org>
6537 * insetgraphics.C (updateInset): Changed due to the change in
6540 2001-02-26 Juergen Vigna <jug@sad.it>
6542 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6543 handled in LyXText).
6545 2001-02-23 Juergen Vigna <jug@sad.it>
6547 * insettext.C (draw): some small repainting fixes.
6548 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6550 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6551 should be) and not an int.
6553 * insettabular.C (LocalDispatch): ditto
6555 * insettext.C (LocalDispatch): ditto
6557 * insetcollapsable.C (LocalDispatch): ditto
6559 2001-02-22 Juergen Vigna <jug@sad.it>
6561 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6562 DISPATCH it and we don't have a locking_inset.
6564 2001-02-21 Baruch Even <baruch@ev-en.org>
6566 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6567 instead of GraphicsCacheItem *.
6569 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6571 * insetcollapsable.C (getLyXText): add const qualifier to second
6574 2001-02-22 Juergen Vigna <jug@sad.it>
6576 * insettext.C (getLyXText): honor the recursive parameter.
6577 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6579 * inset.C (getLyXText): added bool recursive parameter.
6581 * insettext.C (SetUpdateStatus): or the update codes.
6582 (draw): check need_update with &.
6583 (InsetButtonPress): set no_selection to not put a selection when
6584 entering an inset and it is redraws in another spot.
6586 * insettext.h: made need_update an int.
6588 2001-02-20 Baruch Even <baruch@ev-en.org>
6591 * insetgraphisc.C: Changed to use better semantics when loading images
6592 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6594 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6598 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6599 consistent with InsetTabular.
6601 2001-02-19 Juergen Vigna <jug@sad.it>
6603 * insettabular.C (LocalDispatch): implement PAGE up/down.
6605 * insettext.C (draw): clear all of it on need_update==INIT too!
6607 * insettabular.C (InsetUnlock): always clear the selection.
6609 * inset.C (scroll): normally we only want to scroll the inset until
6610 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6612 2001-02-14 Juergen Vigna <jug@sad.it>
6614 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6615 (resetPos): fixed scroll behaviour.
6616 (LocalDispatch): do an update if moving cursor inside a table cell
6617 requests a scroll of the tabular.
6619 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6621 * insettext.C (textWidth): constify local var
6623 * insettabular.C: small cleanup.
6625 * insetfoot.C (Latex): constify local var
6627 * insetcollapsable.C: small cleanup.
6629 * figinset.C (runqueue): use compare instead of strcmp
6631 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6634 * insetinfo.C: remove cruft
6636 2001-02-14 Juergen Vigna <jug@sad.it>
6638 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6640 2001-02-13 Juergen Vigna <jug@sad.it>
6642 * insettext.C (InsertInset): don't move left (is this right?)
6644 * insettabular.C (LocalDispatch): use of the no_draw variable
6646 * insettabular.h: new no_draw variable to stop redraw
6648 * insettabular.C (TabularFeatures): fixed update for alignment change
6650 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6654 * insetbib.C: move dialogs to frontends/
6656 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6658 * insettext.C (LocalDispatch): Restore the language if the inset
6661 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6663 * insettext.C (moveRightIntern): Update the selection cursor.
6664 (moveLeftIntern): Ditto.
6666 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6668 * Makefile.am: remove BoundingBox.h
6670 * BoundingBox.h: removed
6672 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6674 * insettext.C (LocalDispatch): Update selection cursor when moving
6675 cursor to the right.
6676 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6677 (moveLeftIntern): Ditto.
6679 2001-02-05 Baruch Even <baruch.even@writeme.com>
6681 * insetgraphics.C: Updated automatic image conversion, it now goes into
6682 temporary directory instead of with the image itself.
6684 2001-01-21 Baruch Even <baruch@ev-en.org>
6686 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6687 to EPS or PNG when needed (support bitmap graphics).
6689 2000-11-02 Baruch Even <baruch@ev-en.org>
6692 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6693 and removal of commented out code.
6695 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6697 * insetbib.C (callback): Update citations if the key has changed.
6699 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6701 * insetbib.C (InsetBibKey): Better computation of default key.
6702 (getScreenLabel) Show both the key and the label.
6703 (getBibLabel): New method.
6704 (callback): Force a redraw if the inset have been changed.
6706 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6708 * insetref.C (getType, getName): Move methods from
6709 src/frontends/xforms/FormRef.C.
6711 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6713 * insettabular.C: Various improvements (use only one dummy position).
6715 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6717 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6718 par->bibkey->width. This fixes the crashes when running without
6719 gui or when having included documents.
6721 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6723 * insetcommand.C (getAsString, setFromString): Cleanup.
6725 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6727 * insetref.C: Add the array InsetRef::types that contains
6728 information about all supported reference types.
6730 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6732 * lyxinset.h: remove trailing comma in enum.
6734 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6736 * insettext.C: kill LyXBell.