1 2003-12-29 Angus Leeming <leeming@lyx.org>
3 * insetexternal.C (setParams): update defaultTemplateName.
5 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
7 * insetbox.C: Use term "Box" in button label
9 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
11 * insetcharstyle.C: get getDrawFont working again
13 2003-12-15 André Pönitz <poenitz@gmx.net>
16 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
18 2003-12-12 Angus Leeming <leeming@lyx.org>
20 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
22 (InsetBranchParams): remove the branchlist hack.
23 (isBranchSelected): new function, used to decide whether to
24 print each output format. Also used by InsetList.
25 (read, string2params): repair my own breakage ;-)
27 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
29 * insetminipage.[Ch]: remove from repository.
31 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
34 * insetcollapsable.[Ch]: Move all CollapseStatus code from
35 insetert to insetcollapsable; introduce virtual function
36 setButtonLabel and invoke it from collapsable
38 2003-12-12 Angus Leeming <leeming@lyx.org>
40 * insetinclude.C (draw): cache x,y and so enable the
43 2003-12-12 Angus Leeming <leeming@lyx.org>
45 * mailinset.C (print_mailer_error): tidy up the output.
47 2003-12-11 Angus Leeming <leeming@lyx.org>
49 * mailinset.[Ch] (print_mailer_error): new helper function.
51 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
52 calling InsetCommandMailer.
53 (InsetCommandMailer::string2params): pass the name of the dialog.
55 * insetbibitem.[Ch] (d-tor):
56 * insetbibtex.[Ch] (d-tor):
57 * insetcite.[Ch] (d-tor):
58 * insetfloatlist.[Ch] (d-tor):
59 * insetindex.[Ch] (d-tor):
60 * insetlabel.[Ch] (d-tor):
61 * insetref.[Ch] (d-tor):
62 * insettoc.[Ch] (d-tor):
63 * inseturl.[Ch] (d-tor): removed.
64 Hiding the dialog is handled by InsetCommand.
66 * insetbibtex.[Ch] (draw, metrics):
67 * insetfloatlist.[Ch] (draw, metrics):
68 * insetindex.[Ch] (draw, metrics): removed.
69 Drawing is handled by InsetCommand.
71 * insetbibitem.[Ch] (priv_dispatch):
72 * insetbibtex.[Ch] (priv_dispatch):
73 * insetcite.[Ch] (priv_dispatch):
74 * insetfloatlist.[Ch] (priv_dispatch):
75 * insetindex.[Ch] (priv_dispatch):
76 * insetlabel.[Ch] (priv_dispatch):
77 * insettoc.[Ch] (priv_dispatch):
78 * inseturl.[Ch] (priv_dispatch): removed or simplified.
79 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
80 LFUN_INSET_DIALOG_SHOW.
82 * insetbox.C (string2params):
83 * insetbranch.C (string2params):
84 * insetert.C (string2params):
85 * insetexternal.C (string2params):
86 * insetfloat.C (string2params):
87 * insetinclude.C (string2params):
88 * insetminipage.C (string2params):
89 * insetnote.C (string2params):
90 * insetvspace.C (string2params):
91 * insetwrap.C (string2params): over-hauled.
93 2003-12-10 Angus Leeming <leeming@lyx.org>
95 * insetexternal.[Ch]: add a draft option and respect it when
98 2003-12-10 Angus Leeming <leeming@lyx.org>
100 * insetbox.C: (read, write): now prepend the inset contents with
101 'Box' to identify the inset as a box inset.
103 * insetbox.h: move the translators out of sight.
105 2003-12-10 Angus Leeming <leeming@lyx.org>
107 * insetert.C (string2params): clean-up using the new lyxlex interface.
109 * insetexternal.C: ensure that InsetExternalParams has a default
110 template, 'RasterImage'.
112 2003-12-10 Angus Leeming <leeming@lyx.org>
114 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
115 to an enum. Ensuing clean-ups through out the class.
116 (read, write): now prepend the inset contents with 'Note' to identify
117 the inset as a note inset.
119 2003-12-10 Angus Leeming <leeming@lyx.org>
121 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
122 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
124 2003-12-10 André Pönitz <poenitz@gmx.net>
129 * insettext.[Ch]: remove unused insetInset()
131 * insetert.C: disable some LFUNs
133 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
135 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
137 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
139 2003-12-04 Angus Leeming <leeming@lyx.org>
141 * insetexternal.C (draw): update the xo_, yo_ cache.
143 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
145 (RotationDataType): new helper struct wrapping the
146 RotationData::OriginType enum.
148 2003-12-03 André Pönitz <poenitz@gmx.net>
150 * inset.h: remove getParagraphs()
152 * insetcollapsable.[Ch]:
156 * insettext.C: use getText() instead of getParagraphs()
158 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
160 * insetert.C: fix label text updating bug
162 2003-12-02 Angus Leeming <leeming@lyx.org>
164 * insetvspace.[Ch] (space): new member function. Make space_ private.
165 (read): use the new, simpler lyxlex syntax.
167 2003-12-01 André Pönitz <poenitz@gmx.net>
169 * insetcollapsable.[Ch]:
170 * insetert.[Ch]: move 'inline' state to InsetCollapsable
172 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
174 * insetvspace.C (read): handle 'end_inset' token.
176 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
178 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
180 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
182 * insetcollapsable.[Ch]:
184 * insetcharstyle.C: place inset content on the button when
187 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
189 * insetvspace.C: remove VSpace::NONE; increase inset width
191 2003-12-01 André Pönitz <poenitz@gmx.net>
193 * insetbase.h: whitespace
195 * inset.[Ch]: remove latexTextWidth
196 make setBackgroundColor virtual
198 * insettext.[Ch]: move ParagraphList member to LyXText
200 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
206 * insetminipage.[Ch]:
208 * insetwrap.[Ch]: adjust paragraphs and background color handling,
210 2003-11-28 Angus Leeming <leeming@lyx.org>
212 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
213 hiding and showing the dialog respectively.
214 (priv_dispatch): also actually update the inset contents.
216 2003-11-28 Angus Leeming <leeming@lyx.org>
218 * insetbox.C (d-tor):
219 * insetbranch.C (d-tor):
220 * insetcite.C (d-tor):
221 * insetfloat.C (d-tor):
222 * insetfloatlist.C (d-tor):
223 * insetinclude.C (d-tor):
224 * insetindex.C (d-tor):
225 simplify the invocation of the Mailer::hideDialog() function.
227 * insetminipage.C (showInsetDialog):
228 simplify the invocation of the Mailer::showialog() function.
230 2003-11-28 André Pönitz <poenitz@gmx.net>
233 * insetvspace.[Ch]: new insets
235 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
237 * insetcharstyle.C: Syntax change for CharStyles
239 2003-11-28 André Pönitz <poenitz@gmx.net>
241 * updatableinset.h: remove insetInInsetY
243 * insetcollapsable.[Ch]:
246 * insettext.[Ch]: adjust
248 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
252 * insetcollapsable.[Ch]:
254 * insettabular.[Ch]: remove setFont
256 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
258 * render_graphic.[Ch]: adjust comments
260 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
262 * insetgraphics.C (draw): cache xo_ & yo_
264 2003-11-24 André Pönitz <poenitz@gmx.net>
266 * insettext.C (setViewCache): don't call LyXText::init() anymore
268 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
271 * insetcollapsable.[Ch]:
272 * insetert.[Ch]: remove bufferview parameter in methods
273 open, close, status, and updateStatus.
275 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
277 * insetcollapsable.[Ch]:
279 * insettext.[Ch] (getCursorDim): squash unused variable
281 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
283 * insettext.C (edit): x0_,y0_ -> xo_,yo_
285 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
287 * insettext.C (draw): sets LyXText absolute coordinates
289 2003-11-20 Angus Leeming <leeming@lyx.org>
291 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
292 about unused parameters.
294 * insetcollapsable.C (open):
295 * insettabular.C (pasteSelection):
296 * insettoc.C (draw): ditto.
298 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
300 * insetcollapsable.C:
302 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
303 remove mouse_x mouse_y etc.
305 2003-11-17 André Pönitz <poenitz@gmx.net>
307 * insettext.[Ch] (cx, cy): remove
309 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
311 2003-11-13 André Pönitz <poenitz@gmx.net>
314 * insetcollapsable.[Ch]:
316 * insettext.[Ch] (deleteLyXText): remove
318 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
320 * insetcollapsable.[Ch] (fitInsetCursor): remove
321 * insettabular.[Ch] (fitInsetCursor): remove
322 * insettext.[Ch] (fitInsetCursor): remove
323 * updatableinset.[Ch] (fitInsetCursor): remove
324 (getCursorDIm): add virtual
326 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
328 * src/insets/Makefile.am:
329 * src/insets/inset.h:
330 * src/insets/insetcharstyle.C:
331 * src/insets/insetcharstyle.h: The Character Style /XML short
334 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
336 * insettext.C: remove all update calls
337 * insetcollapsable.C: remove all update calls
339 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
341 * insettext.C (updateLocal, insertInset, setFont): remove
344 2003-11-10 André Pönitz <poenitz@gmx.net>
346 * inset.h: remove Inset::id_
348 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
351 2003-11-10 André Pönitz <poenitz@gmx.net>
355 * insetcollapsable.[Ch]:
362 * updatableinset.[Ch]: remove inset locking & adjust
364 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
366 * inset.h (allowSpellCheck): add (return true)
367 * insetert.h (allowSpellCheck): add (return false)
369 2003-11-05 José Matos <jamatos@lyx.org>
377 * insetcollapsable.[Ch]:
381 * insetexternal.[Ch]:
383 * insetfloatlist.[Ch]:
385 * insetgraphics.[Ch]:
390 * insetlatexaccent.[Ch]:
393 * insetmarginal.[Ch]:
394 * insetminipage.[Ch]:
398 * insetpagebreak.[Ch]:
402 * insetspecialchar.[Ch]:
408 * insetwrap.[Ch]: rename ascii to plaintext
409 and LatexRunParams to OutputParams.
411 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
413 * insetcollapsable.C (edit): add open() all
414 * insettext.C (edit): add setViewCache call
416 2003-11-04 André Pönitz <poenitz@gmx.net>
418 * inset.h (edit): move locking code from dispatch() to edit()
424 * insetcollapsable.[Ch]:
427 * insetexternal.[Ch]:
428 * insetgraphics.[Ch]:
434 * insettext.[Ch]: adjust
436 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
439 * insetcollapsable.[Ch]:
443 * updatableinset.[Ch]: remove dead search code
445 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
448 * insetcollapsable.[Ch]:
452 * updatableinset.[Ch]: remove dead spellcheck code
454 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
456 * insettabular.C (lockInsetInInset): small fix
458 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
460 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
461 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
462 from here. Be stricter on DispatchResult returned.
464 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
466 * Inset::dispatch's: adjust for new DispatchResult semantics.
468 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
470 * render_base.h: make clone return an auto_ptr
471 * render_button.C (clone): adjust
472 * render_graphic.C (clone): adjust
473 * render_preview.C (clone): adjust
475 * insettheorem.C (clone): return an auto_ptr
477 * insettext.C (priv_dispatch): exception safety
479 * insettabular.C: store the file scope variable paste_tabular in a
480 scoped_ptr, adjust usage.
482 * insetexternal.C (setParams): exception safety
484 * insetbibitem.C (clone): exception safety
486 2003-11-03 André Pönitz <poenitz@gmx.net>
489 * insetcollapsable.[Ch]:
491 * insettext.[Ch]: remove Inset::id and related functions
493 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
495 * insets: adjust for DispatchResult changes.
497 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
499 * insetpagebreak.C: fix screen representation & ascii output.
501 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
506 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
508 2003-10-31 José Matos <jamatos@lyx.org>
510 * inset.h (ascii, linuxdoc, docbook):
511 * insetbox.[Ch] (ascii, linuxdoc, docbook):
512 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
513 * insetcaption.[Ch] (ascii, docbook):
514 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
515 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
516 * insetert.[Ch] (ascii, linuxdoc, docbook):
517 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
518 * insetfloat.[Ch] (linuxdoc, docbook):
519 * insetfloatlist.[Ch] (ascii):
520 * insetfoot.[Ch] (docbook):
521 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
522 * insethfill.[Ch] (ascii, linuxdoc, docbook):
523 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
524 * insetindex.[Ch] (docbook):
525 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
526 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
527 * insetline.[Ch] (ascii, linuxdoc, docbook):
528 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
529 * insetnote.[Ch] (ascii, linuxdoc, docbook):
530 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
531 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
532 * insetref.[Ch] (ascii, linuxdoc, docbook):
533 * insetspace.[Ch] (ascii, linuxdoc, docbook):
534 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
535 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
536 * insettext.[Ch] (ascii, linuxdoc, docbook):
537 * insettoc.[Ch] (ascii, linuxdoc, docbook):
538 * inseturl.[Ch] (ascii, linuxdoc, docbook):
539 * insetwrap.[Ch] (docbook):
540 add LatexRunParams argument.
542 2003-10-30 José Matos <jamatos@lyx.org>
544 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
546 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
548 * updatableinset.C (priv_dispatch):
549 * insetwrap.C (priv_dispatch):
550 * inseturl.C (priv_dispatch):
551 * insettoc.C (priv_dispatch):
552 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
553 (moveLeftIntern, moveUp, moveDown):
554 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
555 (moveLeft, moveUp, moveDown):
556 * insetref.C (priv_dispatch):
557 * insetnote.C (priv_dispatch):
558 * insetminipage.C (priv_dispatch):
559 * insetlabel.C (priv_dispatch):
560 * insetindex.C (priv_dispatch):
561 * insetinclude.C (priv_dispatch):
562 * insetgraphics.C (priv_dispatch):
563 * insetfloatlist.C (priv_dispatch):
564 * insetfloat.C (priv_dispatch):
565 * insetexternal.C (priv_dispatch):
566 * insetert.C (priv_dispatch):
567 * insetcommand.C (priv_dispatch):
568 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
569 * insetcite.C (priv_dispatch):
570 * insetbranch.C (priv_dispatch):
571 * insetbox.C (priv_dispatch):
572 * insetbibtex.C (priv_dispatch):
573 * insetbibitem.C (priv_dispatch):
574 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
576 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
578 * insettext.C: small refactoring of docbook stuff
580 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
582 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
583 (priv_dispatch): adjust for operator dispatch_result_t removal
585 * insettabular.C (lfunMouseRelease): put the result of a dispatch
586 in a DispatchResult, adjust accordingly.
587 (priv_dispatch): use strange >= construct... (will be removed later)
589 * most insets: dispatch_result -> DispatchResult
591 * insetbase.h: move DispatchResult out to dispatchresult.h
593 2003-10-27 André Pönitz <poenitz@gmx.net>
595 * insetpagebreak.[Ch]: new inset for page breaks
597 * insetline.[Ch]: new inset for vertical lines
602 2003-10-25 Angus Leeming <leeming@lyx.org>
604 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
605 new virtual member functions, specialised...
606 * render_button.h (asButton):
607 * render_graphic.h (asGraphic):
608 * render_preview.h (asPreview, asMonitoredPreview): ... here.
610 * insetexternal.C: use these new functions rather than dynamic_cast.
611 Various other small simplifications.
613 2003-10-22 Angus Leeming <leeming@lyx.org>
615 * insetexternal.[Ch]: add the ability to 'preview' the external file
618 * insetinclude.C: changes due to the changes in the RenderPreview
621 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
622 message if the preview image is not available. Only initiate the
623 loading of the preview from draw(). Ditto, start the monitoring
624 of an external file from RenderMonitoredPreview::draw.
626 2003-10-22 Angus Leeming <leeming@lyx.org>
628 * insetcite.[Ch] (setLoadingBuffer): removed.
629 (getNatbibLabel): use the new Buffer::fully_loaded member function to
630 ascertain whether to proceed with the (expensive) task of computing
631 the natbib-style label. Remove the home-grown hack providing
632 similar functionality.
634 2003-10-22 Angus Leeming <leeming@lyx.org>
636 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
637 class and into an anonymous namespace.
639 2003-10-22 Angus Leeming <leeming@lyx.org>
641 * insetcommand.h: remove the display method.
645 * insetindex.h (InsetPrintIndex):
646 * insettoc.h: add a display method, returning true.
648 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
650 * insetcollapsable.h:
654 * insetinclude.h: (1) finish off the inset display() work;
655 (2) fix the "is a bit silly" bug (accessing char
658 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
662 * insetfootlike.h: re-introduce display() for insets,
663 fixing the various bugs (stretch of line above, math inset
666 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
668 * insetbase.C (dispatch): new func
669 (priv_dispatch): new func replaces...
670 (localDispatch): this, deleted.
672 * all insets with dispatch modified for new code.
674 2003-10-15 André Pönitz <poenitz@gmx.net>
676 * insetcollapsable.[Ch]
678 * inset.h: re-add some edit(bv, index) method called by undo
680 2003-10-14 Angus Leeming <leeming@lyx.org>
682 * insetexternal.[Ch] (view, cache, view_):
683 * insetgraphics.[Ch] (view, cache, view_):
684 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
685 (statusChanged): call LyX::cref().updateInset.
687 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
688 the BufferView cache.
690 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
693 2003-10-14 Angus Leeming <leeming@lyx.org>
695 * insetinclude.C (metrics, draw): only draw the preview when previews
698 2003-10-14 André Pönitz <poenitz@gmx.net>
700 * insetcollapsable.[Ch]:
703 * inset.h: getText() as alternative to getParagraphs()
705 2003-10-13 Angus Leeming <leeming@lyx.org>
708 * insetgraphicsParams.C: displayTranslator is now a function.
710 2003-10-13 Angus Leeming <leeming@lyx.org>
712 * insetinclude.C: remove #include "PreviewImage.h".
714 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
717 * ExternalTransforms.C:
719 * insetbox.h: ws changes only
721 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
723 * insetinclude.C (localDispatch): do not call
724 InsetOld::localDispatch, just return UNDISPATCHED
725 * insetgraphics.C (localDispatch): ditto
726 * insetcommand.C (localDispatch): ditto
728 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
730 * inset.h: get rid of RESULT typedef for dispatch_result
732 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
733 * insetert.[Ch] (localDispatch): ditto
734 * insettabular.[Ch] (localDispatch): ditto
739 * insettext.[Ch] (localDispatch): ditto
742 (moveRightIntern): ditto
743 (moveLeftIntern): ditto
746 * updatableinset.[Ch] (localDispatch): ditto
748 2003-10-12 Angus Leeming <leeming@lyx.org>
750 * renderbase.h (view, view_): removed.
751 * renderbase.C: removed.
752 * Makefile.am: remove render_base.C. The shortest lived file in
755 * renderbutton.C (draw):
756 * render_graphic.C (draw): don't cache the BufferView.
758 * insetabase.h (cache, view): removed.
760 * inset.h (generatePreview) removed.
762 * insetcallapsable.[Ch] (cache, view, view_): removed.
764 * insetcollapsable.C (draw): don't cache the BufferView.
766 * insetcommand.[Ch] (view): removed.
768 * insetexternal.[Ch] (cache, view, view_):
769 * insetgraphics.[Ch] (cache, view, view_):
770 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
772 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
773 when you have direct access to it. In fact, don't use the cache at all.
775 2003-10-10 Angus Leeming <leeming@lyx.org>
777 * insetinclude.C (metrics): use preview_->metrics.
778 (draw): use preview_->draw.
780 * render_preview.[Ch] (pimage): removed.
782 2003-10-10 Angus Leeming <leeming@lyx.org>
784 * renderers.[Ch]: removed.
787 * render_button.[Ch]:
788 * render_graphic.[Ch]:
789 * render_preview.[Ch]: new files. The first three are split out of
790 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
791 contains a re-worked InsetInclude::PreviewImpl also.
793 * Makefile.am: reflect the changed files.
796 * insetexternal.[Ch]:
797 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
799 * insetinclude.[Ch]: changes reflecting the change from
800 InsetInclude::PreviewImpl to RenderMonitoredPreview.
806 * inseturl.C: add #include "support/std_ostream.h"
808 2003-10-09 Angus Leeming <leeming@lyx.org>
810 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
811 to PreviewedInset::previewReady.
813 2003-10-09 Angus Leeming <leeming@lyx.org>
815 * insetexternal.[Ch] (statusChanged):
816 * insetgraphics.[Ch] (statusChanged): make a const member function.
818 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
821 2003-10-09 Angus Leeming <leeming@lyx.org>
823 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
824 to PreviewedInset's previewReady and removePreview member functions.
826 2003-10-08 André Pönitz <poenitz@gmx.net>
828 * insetcollapsable.C:
829 * insettext.[Ch]: saner 'init' structure
831 * updatableinset.[Ch]: remove unneeded code
833 2003-10-08 Angus Leeming <leeming@lyx.org>
835 Fix doxygen warnings.
837 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
838 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
840 2003-10-07 Angus Leeming <leeming@lyx.org>
842 * ExternalTransforms.[Ch]: new files, detailing transforms that can
843 be applied to InsetExternal.
845 * Makefile.am: add these new files.
847 * ExternalTemplate.[Ch]: add a list of available transforms to
848 class Template and a list of factory functions for transformer classes
849 that can act on this data to class Format.
851 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
853 * ExternalSupport.C: Add code to replace transform placeholders
854 with appropriate output.
856 2003-10-07 Angus Leeming <leeming@lyx.org>
858 * ExternalSupport.[Ch]: new files, moving the private member functions
859 and namespace anon functions out of insetexternal.C to here, so making
860 it easier to understand what is going on in insetexternal itself.
862 * Makefile.am: add new files.
864 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
865 allowing the class to be forward declared. (Also consistent with
866 all other Params classes.)
867 (write): moved out of the class. Move this function and those in
868 namespace anon to ExternalSupport.[Ch].
870 2003-10-07 Angus Leeming <leeming@lyx.org>
872 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
873 non-const member function.
875 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
880 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
882 2003-10-02 André Pönitz <poenitz@gmx.net>
884 * insettext.C (read): make sure there is at least one par
885 in the text after reading.
887 2003-10-01 José Matos <jamatos@lyx.org>
889 * insetbranch.C (linuxdoc, docbook): minor fix.
891 2003-10-01 Angus Leeming <leeming@lyx.org>
893 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
895 * insetexternal.[Ch]: changes due to the introduction of
896 namespace lyx::external.
898 2003-09-30 Angus Leeming <leeming@lyx.org>
900 * insetexternal.[Ch] (Params::read, write): new member functions.
902 2003-09-25 Angus Leeming <leeming@lyx.org>
904 * insetexternal.[Ch] (TempName): new (private) nested struct with
905 fake copy semantics. Enables us to use the generated copy c-tor
906 in the Params struct.
907 (Params::templatename, Params::tempname): use accessor functions.
909 2003-09-25 Angus Leeming <leeming@lyx.org>
911 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
912 function, returning a const pointer.
914 2003-09-23 Angus Leeming <leeming@lyx.org>
916 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
917 store them in a vector, preambleNames.
919 * insetexternal.C (validate): loop over all preambleNames and call
920 LaTeXFeatures::addExternalPreamble with each.
922 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
924 * insetbranch.C: bug fix in branches
926 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
928 * insetnote.C: small clean-up.
930 2003-09-19 Angus Leeming <leeming@lyx.org>
932 * inset.h (generatePreview): passed a 'Buffer const &' arg.
934 * insetcommand.C (string2params): clear params using the default c-tor.
936 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
937 InsetInclude::Params. No more data in this struct than in
938 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
939 (c-tor): no need to pass a 'Buffer const &' arg anymore.
940 (clone): remove #warning as it's now redundant.
941 (set): add a 'Buffer const &' arg. Make private.
942 (loadIfNeeded) move out of the class definition and into namespace anon.
943 (getMasterFilename, getFileName): ditto.
945 2003-09-18 Angus Leeming <leeming@lyx.org>
947 * insetcommand.C (setParams): use the params' copy constructor.
949 2003-09-18 Angus Leeming <leeming@lyx.org>
951 * insetinsetbase.h (getLabelList):
952 * insetinsetcollapsable.[Ch] (getLabelList):
953 * insetinsetinclude.[Ch] (getLabelList):
954 * insetinsetlabel.[Ch] (getLabelList):
955 * insetinsettabular.[Ch] (getLabelList):
956 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
957 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
959 2003-09-18 Angus Leeming <leeming@lyx.org>
961 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
962 redundant baggage from yesteryear.
963 Remove Params::flag as it is redundant; the info is present in
966 2003-09-18 Angus Leeming <leeming@lyx.org>
968 * insetinclude.C (latexString): add a Buffer const & arg.
970 2003-09-18 Angus Leeming <leeming@lyx.org>
975 * insettext.h: rename EnumLColor as LColor_color.
977 2003-09-18 Angus Leeming <leeming@lyx.org>
979 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
980 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
982 2003-09-16 Angus Leeming <leeming@lyx.org>
984 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
985 set before trying to generate a preview, else we trigger an assert.
987 2003-09-16 Angus Leeming <leeming@lyx.org>
989 * insetinclude.C (PreviewImpl::parent): return a const reference.
991 2003-09-16 Angus Leeming <leeming@lyx.org>
993 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
995 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
997 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
998 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1000 * insetminipage.C (metrics):
1001 * insetnote.C (metrics):
1002 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1003 access collapsed_ directly.
1005 2003-09-16 Angus Leeming <leeming@lyx.org>
1007 * insetbibitem.C: add #include "lyxfont.h".
1009 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1012 * insetbibtex.C: use namespace alias for lyx::support::os
1014 2003-09-16 Angus Leeming <leeming@lyx.org>
1016 * insetcollapsable.h: remove unused framecolor variable.
1017 Remove #include "LColor.h".
1019 * insetcollapsable.C: remove unused framecolor variable.
1022 * insetcollapsable.C:
1030 Add #include "LColor.h".
1032 2003-09-16 Angus Leeming <leeming@lyx.org>
1034 * insettext.[Ch] (frameColor): new accessor function.
1035 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1041 add #include "LColor.h".
1043 * insetcollapsable.h: add #include "LColor.h"
1044 (for its framecolor member variable).
1046 2003-09-16 Angus Leeming <leeming@lyx.org>
1048 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1050 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1051 rename frame_color as frame_color_. Make private.
1053 * insettext.C: associated changes.
1055 2003-09-16 Angus Leeming <leeming@lyx.org>
1057 * inset.h: store background_color_ as an int, not as an LColor::color to
1058 get LColor.h out of the header file.
1061 * insetlatexaccent.C:
1064 * insetspecialchar.C:
1066 add #include "LColor.h".
1068 2003-09-16 Angus Leeming <leeming@lyx.org>
1070 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1073 2003-09-15 Angus Leeming <leeming@lyx.org>
1075 * inset.[Ch] (setBackgroundColor, backgroundColor):
1076 * insettext.[Ch] (setFrameColor):
1077 pass EnumLColor args, rather than LColor::color ones.
1079 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1089 * insetwrap.C: remove usage of STRCONV
1091 2003-09-15 Angus Leeming <leeming@lyx.org>
1093 * renderers.C (draw):
1094 * insetlatexaccent.C (draw): explicitly define the color passed to
1097 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1099 * insettext.C: remove block causing problems in lockInsetInInset
1100 (mentioned erroneously under Bug #1366)
1102 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1104 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1107 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1109 * several files: change Assert to BOOST_ASSERT
1111 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1113 * insettext.[Ch]: remove drawText[XY]Offset
1115 2003-09-08 Angus Leeming <leeming@lyx.org>
1117 * insetcollapsable.C:
1122 * insetspecialchar.C:
1125 * insettoc.C: remove redundant using directives.
1127 2003-09-07 Angus Leeming <leeming@lyx.org>
1130 * insetspecialchar.h: remove #include "support/std_string.h".
1132 2003-09-06 Angus Leeming <leeming@lyx.org>
1134 * renderers.C: add #include "insets/inset.h"
1136 2003-09-05 Angus Leeming <leeming@lyx.org>
1138 * *.C: strip out redundant #includes. (193 in total.)
1140 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1142 * insets/insetbibtex.[Ch]:
1143 * insets/insetcommand.h:
1144 * insets/insetfloatlist.[Ch]:
1145 * insets/insetinclude.[Ch]:
1146 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1147 of insets like bibtex, include, toc and floatlist to the visible
1148 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1149 up the dialogs. Cursor has to be in front of the inset (i.e.
1150 start of row) for this to function.
1152 2003-09-04 Angus Leeming <leeming@lyx.org>
1154 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1155 structure outside of the Format struct. Format::preambleName refers to
1156 an item in the map of all preamble snippets.
1157 Make use of the new Debug::EXTERNAL flag.
1159 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1160 (validate): Small change due to the changed storage of preamble snippets.
1162 2003-09-04 Angus Leeming <leeming@lyx.org>
1164 * insetgraphics.C: #include "support/os.h"
1166 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1167 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1168 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1170 * insetcollapsable.h:
1172 * insetnote.C: move #include "funcrequest.h" out of the header file.
1174 2003-09-03 Angus Leeming <leeming@lyx.org>
1176 * insetexternal.C (updateExternal):
1177 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1180 2003-09-03 Angus Leeming <leeming@lyx.org>
1182 * insetexternal.C: don't bring namespace lyx::support into the global
1185 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1187 * insetbranch.C: Add Branch: to label
1189 2003-09-02 John Levon <levon@movementarian.org>
1192 * insettext.C: remove cursor.i[xy]()
1194 2003-08-28 Angus Leeming <leeming@lyx.org>
1196 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1197 "sh ", enabling the conversion to be carried out even if the script
1200 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1202 * most files: change to use const Buffer refs
1204 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1206 * insetfootlike.C: whitespace.
1208 2003-08-26 John Levon <levon@movementarian.org>
1212 * insetindex.h: remove remaining mentions of needFullRow()
1214 2003-08-26 André Pönitz <poenitz@gmx.net>
1220 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1222 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1224 * insetbranch.C: Small fix to prevent a crash on loading.
1226 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1231 * insetcollapsable.h:
1233 * insetfloatlist.[Ch]:
1234 * insetfootlike.[Ch]:
1235 * insetinclude.[Ch]:
1241 * insettheorem.[Ch]:
1242 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1243 altogether, putting the logic in metrics/draw in the insets.=20
1244 Draws short single row insets with more or less realistic metrics.
1246 2003-08-19 André Pönitz <poenitz@gmx.net>
1248 * insettext.C: use new RowPainter interface
1250 2003-08-18 John Levon <levon@movementarian.org>
1252 * insetref.C: require amsmath for eqref
1254 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1258 * insetbranch.[Ch]: implements the 'branch inset'
1259 idea. This allows the output of various versions of a document
1260 from a single source version, selectively outputing or suppressing
1261 output of parts of the text.
1262 This implementation contains a 'branch list editor' in a separate
1263 tab of the document settings dialog. Branches are user definable
1264 and have a "display colour" to distinguish them on-screen.
1266 ColorHandler was somewhat cleaned up.
1267 (1) make possible a dynamically growing LColor list by allowing
1268 the graphic context cache to grow along (vector);
1269 (2) eliminate an IMHO unnecessary step in colour allocation.
1271 2003-08-15 André Pönitz <poenitz@gmx.net>
1273 * insettext.[Ch]: adjust after rowlist split
1275 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1277 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1278 rename valign-center to valign-middle;
1279 rename VALIGN_CENTER to VALIGN_MIDDLE
1281 2003-08-11 André Pönitz <poenitz@gmx.net>
1283 * inset.h: remove resizeLyXText
1286 * insetcollapsable.[Ch]:
1288 * insettabular.[Ch]: adjust
1290 * insettext.[Ch]: remove saveLyXTextState,
1291 restoreLyXTextStat, sstate, reinitLyXText
1293 2003-08-07 André Pönitz <poenitz@gmx.net>
1295 * inset.[Ch]: move non-crucial functions out-of-line
1297 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1298 remove duplicated code.
1300 2003-08-05 André Pönitz <poenitz@gmx.net>
1303 * insetcollapsable.[Ch]:
1313 * insettabular.[Ch]:
1316 * updatableinset.[Ch]: rip out "deep update"
1318 * insettext.C (localDispatch): merge cases with default branch
1320 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1322 * insettabular.[Ch] (updateLocal): simplify logic
1324 2003-08-04 André Pönitz <poenitz@gmx.net>
1326 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1327 is 'FULL' all the time.
1329 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1331 * insetert.C (get_new_label): only add ... to the (closed) label
1332 when the string has been shortened
1334 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1336 * Always use std::endl with lyxerr
1338 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1340 * insetnote.C: update \author list
1342 2003-07-31 André Pönitz <poenitz@gmx.net>
1344 * insetcollapsable.h:
1345 * insettabular.[Ch]:
1346 * insettext.[Ch]: remove toggleSelection
1348 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1350 (with help from Juergen Spitzmueller)
1351 * insetnote.C: add add i18n support. Use Prefs-definable
1352 colours for Comment and Greyedout.
1354 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1356 * insetcollapsable.[Ch]:
1358 * insetert.C: factor out the detection of clicking on the inset
1359 button as 'hitButton'. John Levon contributed.
1361 2003-07-30 André Pönitz <poenitz@gmx.net>
1363 * insetcollapsable.C:
1365 * insettabular.C: parantheses, localize vars etc.
1367 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1369 * insetnote.C: Implement a newenvironment in preamble for
1370 greyedout. Patch provided by Jürgen Spitzmüller.
1372 2003-07-29 Angus Leeming <leeming@lyx.org>
1374 * insetcommand.C (localDispatch): default to
1375 InsetOld::localDispatch.
1377 * insetbibitem.C (localDispatch):
1378 * insetbibtex.C (localDispatch): remove call to
1379 ChangeCitationsIfUnique.
1381 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1383 * insetexternal.C (read): use pushpophelper.
1385 2003-07-28 José Matos <jamatos@lyx.org>
1387 * insetext.C (read): \end_document replaces \the_end.
1389 2003-07-28 José Matos <jamatos@fep.up.pt>
1391 * insetert.C (write): \layout -> \begin_layout.
1392 Add missing \end_layout.
1394 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1396 * insetquotes.C: document a bit the format
1398 * insettabular.C (write): remove extra space
1400 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1401 * insetnote.C: Umpf. Hope I *now* get it right :-(
1403 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1404 *insetnote.C: did the right fix to greyedout: \color
1405 instead of \textcolor.
1407 2003-07-28 Angus Leeming <leeming@lyx.org>
1409 * insetbibtex.h: remove extraneous forward declaration.
1412 * insetbibtex.h: Also remove long-dead Holder member class
1415 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1417 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1420 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1422 * insetwrap.C (addToToc): adjust for lyx::toc
1424 * insetfloatlist.C (ascii): adjust for lyx::toc
1426 * insetfloat.C (addToToc): adjust for lyx::toc
1428 2003-07-27 José Matos <jamatos@fep.up.pt>
1430 * insetnote.h (linuxdoc,docbook): update support.
1432 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1434 * insetfloat.C (wide): add a space to label, for consistency
1436 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1438 * insettext.C (nextChange): adjust for lyx::find
1439 (searchForward): ditto
1440 (searchBackward): ditto
1442 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1444 * insetgraphicsParams.C:
1445 * insetexternal.C: declare extern displayTranslator
1448 * renderers.C: add #include "support/LAssert.h"
1450 2003-07-27 José Matos <jamatos@fep.up.pt>
1452 * insetfloat.[Ch] (linuxdoc):
1453 * insetgraphics.C (linuxdoc):
1454 * insettabular.C (linuxdoc):
1455 * insettext.[Ch] (linuxdoc): add support for tables and figures
1458 2003-07-27 José Matos <jamatos@fep.up.pt>
1460 * insetinclude (latex): comply with makeLaTeXFile argument change.
1462 2003-07-26 Asger Alstrup <alstrup@local>
1464 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1465 the undo crashes. We'll see what problems other places this will
1468 2003-07-26 Angus Leeming <leeming@lyx.org>
1470 * insetgraphics.C: remove unused declaration of system_tempdir.
1472 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1474 * rename Inset to InsetOld
1476 * all inset files (clone): return a auto_ptr<InsetBase>
1478 2003-07-23 Angus Leeming <leeming@lyx.org>
1480 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1482 2003-07-23 Angus Leeming <leeming@lyx.org>
1484 * mailinset.[Ch] (inset2string):
1485 * insetcommand.[Ch] (inset2string):
1486 * insetert.[Ch] (inset2string):
1487 * insetexternal.[Ch] (inset2string):
1488 * insetfloat.[Ch] (inset2string):
1489 * insetgraphics.[Ch] (inset2string):
1490 * insetinclude.[Ch] (inset2string):
1491 * insetminipage.[Ch] (inset2string):
1492 * insetnote.[Ch] (inset2string):
1493 * insettabular.[Ch] (inset2string):
1494 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1496 * insetexternal.[Ch]:
1497 * insetgraphics.[Ch]: get rid of the view() function. Associated
1498 changes to the mailers' string2params and params2string functions.
1500 2003-07-23 Angus Leeming <leeming@lyx.org>
1502 * insetexternal.[Ch]: store the external file name in a FileName
1503 member variable rather than a string + associated changes.
1505 2003-07-21 Angus Leeming <leeming@lyx.org>
1507 * insetgraphicsParams.[Ch]: store the graphics file name in
1508 a FileName member variable rather than a string.
1510 * insetgraphics.[Ch]:
1511 * insetgraphicsParams.[Ch]: Associated changes.
1513 2003-07-21 Angus Leeming <leeming@lyx.org>
1515 * insetgraphics.[Ch] (string2params, params2string): passed a
1516 buffer_path argument.
1519 2003-07-21 Angus Leeming <leeming@lyx.org>
1522 * insetgraphicsParams.[Ch]:
1524 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1526 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1528 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1530 2003-07-18 André Pönitz <poenitz@gmx.net>
1533 * insetminipage.[Ch]:
1534 * insettabular.[Ch]:
1537 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1539 2003-07-18 André Pönitz <poenitz@gmx.net>
1543 * insetcollapsable.C:
1547 * insetgraphics.[Ch]:
1548 * insetlatexaccent.[Ch]:
1553 * insetspecialchar.C:
1554 * insettabular.[Ch]:
1556 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1558 2003-07-17 André Pönitz <poenitz@gmx.net>
1560 * insetcollapsable.C:
1562 * insettext.C: don't call Inset::update() anymore
1565 * insettabular.[Ch]: remove unneeded in_update_ members
1567 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1569 2003-07-16 André Pönitz <poenitz@gmx.net>
1571 * insettext.C (selectAll): remove
1573 2003-07-16 John Levon <levon@movementarian.org>
1576 * insetnote.C: implement showInsetDialog()
1578 2003-07-15 André Pönitz <poenitz@gmx.net>
1581 * insettext.C: refresh_status tristate -> need_update bool
1583 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1585 * insettext.C: adjust call to LyXText::init
1587 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1589 * insettext.C: use bufferview_funcs->replaceSelection()
1590 to delete selections in some cases (bugs 441, 673, 702, 954).
1592 2003-07-14 André Pönitz <poenitz@gmx.net>
1594 * insettext.C (draw): use slimmed down rowpainter interface
1596 2003-07-14 André Pönitz <poenitz@gmx.net>
1598 * insetcollapsable.C:
1600 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1601 remove unused BufferView * argument
1603 2003-07-14 André Pönitz <poenitz@gmx.net>
1605 * insettext.[Ch]: used cached metrics a bit more
1607 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1609 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1611 2003-07-10 André Pönitz <poenitz@gmx.net>
1614 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1616 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1618 * introduce namespace lyx::graphics
1620 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1622 * introduce namespace lyx::support
1624 2003-06-30 André Pönitz <poenitz@gmx.net>
1626 * insetcite.C (localDispatch): fix case of missing return value
1628 * insetcite.C (ascii): remove unneeded temporary
1630 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1632 * insetspace.h: fix \file
1634 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1635 * insetinclude.C (fillWithBibKeys): ditto
1637 * insetbibitem.C: fix type const order
1639 * inset.C (getLyXText): add varname for arg
1641 * ExternalTemplate.h: fix type const order
1643 2003-06-27 André Pönitz <poenitz@gmx.net>
1645 * insettext.C: take care of removed LyXCursor::row_ member
1647 * insettext.[Ch]: use new TextCursor struct for sstate
1649 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1651 * inseterror.[Ch]: removed
1653 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1655 * insetinclude.C (docbook): use parseError instead of sgmlError
1657 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1659 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1660 of BufferList::loadLyXFile
1662 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1664 * insettext.C (update): simplify
1665 (updateLocal): remove commented code
1666 (insetUnlock): simplify
1667 (lockInset): simplify
1668 (updateInsetInInset): simplify
1669 (localDispatch): simplify
1671 (resizeLyXText): simplify
1672 (collapseParagraphs): simplify
1674 * insetert.C (get_new_label): simplify
1676 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1678 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1679 pasteSelection with index
1681 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1683 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1685 2003-06-16 André Pönitz <poenitz@gmx.net>
1687 * insetbase.h: new virtual base function clone()
1689 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1690 Inset * clone() -> InsetBase * clone()
1692 2003-06-13 André Pönitz <poenitz@gmx.net>
1694 * insettabular.[Ch]: make tabular a proper member
1696 2003-06-12 André Pönitz <poenitz@gmx.net>
1698 * insettabular.[Ch]: some renaming plus whitespace
1700 2003-06-11 Angus Leeming <leeming@lyx.org>
1702 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1705 * insetbutton.[Ch]: removed.
1706 * graphicinset.[Ch]: renamed as renderers.[Ch].
1708 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1709 Create a new class ButtonRenderer using the InsetButton::metrics() and
1711 Derive both from a common RenderedInset base class.
1713 * insetcommand.[Ch]:
1714 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1715 Give it a ButtonRenderer member variable. Use it.
1716 Give the classes working copy c-tors.
1717 No longer derive from boost::noncopyable.
1719 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1720 display its contents as a button or as a graphic.
1722 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1725 2003-06-11 Angus Leeming <leeming@lyx.org>
1727 * insetcite.C (localDispatch): reformat.
1729 * insetref.C (localDispatch): enable dialog to be lauched.
1731 2003-06-11 John Levon <levon@movementarian.org>
1733 * insettabular.C: correctly mark all cells as erased
1735 2003-06-11 Angus Leeming <leeming@lyx.org>
1737 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1738 ExternalTemplate but its name, templatename. This means that a file
1739 containing a reference to an External Template not installed on the
1740 current machine will be saved retaining this info rather than inserting
1741 the first "valid" template from the list of templates.
1743 As a by product, the visual statement that the Template is missing is
1746 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1748 * insettext.C (appendParagraphs): remove some commented code.
1750 2003-06-10 Angus Leeming <leeming@lyx.org>
1752 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1755 * insetexternal.[Ch]: move tempname_ into the Params struct.
1756 (Params d-tor): new function, to clean-up this temp file.
1757 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1759 (editExternal, doSubstitution): move out of class.
1761 2003-06-10 Angus Leeming <leeming@lyx.org>
1763 * graphicinset.[Ch] (params): removed.
1764 * graphicinset.h (operator=): declared private but not defined.
1765 (statusMessage): made private.
1767 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1769 2003-06-07 John Levon <levon@movementarian.org>
1771 * insetert.C (latex): make a newline mean just that not
1774 2003-06-07 José Matos <jamatos@fep.up.pt>
1776 * insethfill.[Ch] (linuxdoc, docbook): implement output
1777 * insetspace.C (linuxdoc, docbook): remove coments as the code
1780 2003-06-06 José Matos <jamatos@fep.up.pt>
1782 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1784 2003-06-06 André Pönitz <poenitz@gmx.net>
1786 * insetwrap.[Ch]: code compactification
1788 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1790 * mailinset.C (updateDialog): use Dialogs::visible
1792 2003-06-04 Angus Leeming <leeming@lyx.org>
1794 * graphicinset.C (draw): add a comment for the #if 0 block.
1796 * insetexternal.h: remove Params::parameters variable.
1797 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1798 and read it back making full use of LyXLex.
1800 2003-06-04 André Pönitz <poenitz@gmx.net>
1802 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1804 2003-06-04 John Levon <levon@movementarian.org>
1806 * insettabular.C: back out tall table speed up. It was broken
1808 2003-06-03 Angus Leeming <leeming@lyx.org>
1810 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1811 Remove ViewCommand and UpdateCommand.
1813 * graphicinset.C (update): bug fix. Set the params before calling the
1815 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1816 BufferView cache to enable the InsetExternal::editCommand to be invoked
1817 from the frontends. Would not be needed if this were dispatched properly.
1818 (old_ascent_): variable removed.
1820 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1821 do any necessary conversions of external material. Also use the
1822 new GraphicsInset to display the inset within LyX.
1824 2003-06-03 Angus Leeming <leeming@lyx.org>
1826 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1827 and move it somewhere where InsetExternal can use it too.
1829 * Makefile.am: add the new files.
1831 * insetgraphics.[Ch]: make use of the new GraphicInset.
1833 2003-06-03 John Levon <levon@movementarian.org>
1836 * insetbibitem.[Ch]:
1839 * insetcommand.[Ch]:
1843 * insetexternal.[Ch]:
1847 * insetgraphics.[Ch]:
1849 * insetinclude.[Ch]:
1852 * insetlatexaccent.[Ch]:
1853 * insetmarginal.[Ch]:
1854 * insetminipage.[Ch]:
1861 * insetspecialchar.[Ch]:
1862 * insettabular.[Ch]:
1864 * insetthereom.[Ch]:
1867 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1869 * insetgraphics.[Ch]:
1870 * insetgraphicsParams.[Ch]: always store an absolute
1873 2003-06-02 André Pönitz <poenitz@gmx.net>
1877 * insetlatexaccent.C: remove duplicated call to metrics()
1879 2003-06-02 John Levon <levon@movementarian.org>
1881 * insettabular.C: fix resize of column width
1883 2003-06-02 John Levon <levon@movementarian.org>
1888 * insetparent.C: remove insetparent
1890 2003-06-02 André Pönitz <poenitz@gmx.net>
1897 * insetcollapsable.[Ch]:
1901 * insetgraphics.[Ch]:
1902 * insetinclude.[Ch]:
1903 * insetlatexaccent.[Ch]:
1904 * insetminipage.[Ch]:
1905 * insetnewline.[Ch]:
1908 * insetspecialchar.[Ch]:
1909 * insettabular.[Ch]:
1910 * insettext.[Ch]: unify first drawing phase
1913 * insetbase.h: move validate() to the base
1915 2003-05-31 Angus Leeming <leeming@lyx.org>
1917 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1919 2003-05-30 André Pönitz <poenitz@gmx.net>
1924 * insetcaption.[Ch]:
1925 * insetcollapsable.[Ch]:
1928 * insetgraphics.[Ch]:
1929 * insetinclude.[Ch]:
1930 * insetlatexaccent.[Ch]:
1931 * insetnewline.[Ch]:
1934 * insetspecialchar.[Ch]:
1935 * insettabular.[Ch]:
1937 * updatableinset.[Ch]: unify second drawing phase
1939 2003-05-30 John Levon <levon@movementarian.org>
1941 * insetgraphics.C: fix a bformat
1943 2003-05-29 John Levon <levon@movementarian.org>
1945 * insettabular.C: remove unused bufferOwner()
1947 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1949 * insettext.C (lockInsetInInset): adjust
1950 (getLabelList): use const_iterator, adjust
1951 (getInsetFromID): use const_iterator, adjust
1952 (addPreview): use const_iterator, adjust
1954 * insetwrap.C (clone): remove const_cast
1956 * insetnote.C (clone): remove const_cast
1958 * insetminipage.C (clone): remove const_cast
1960 * insetmarginal.C (clone): remove const_cast
1962 * insetfoot.C (clone): remove const_cast
1964 * insetfloat.C (clone): remove const_cast
1966 * insetert.C (clone): remove const_cast
1968 * delete commented same_id functions from a lot of files.
1970 2003-05-28 John Levon <levon@movementarian.org>
1976 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1978 * insetminipage.C: fix metrics (bug 1144)
1980 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1982 * insettext.C (saveLyXTextState): adjust
1983 (restoreLyXTextState): adjust
1986 (unlockInsetInInset): adjust
1987 (localDispatch): adjust
1988 (getLyXText): adjust
1990 * insettabular.C (insertAsciiString): adjust
1992 2003-05-27 André Pönitz <poenitz@gmx.net>
1995 * insetcollapsable.C:
1998 * insetlatexaccent.C:
2003 * insetspecialchar.C:
2005 * insettext.C: dim.w -> dim.wid
2007 2003-05-26 John Levon <levon@movementarian.org>
2009 * insettabular.C: avoid drawing all of a long table
2010 if it's not needed. A big speedup
2012 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2014 * remove same_id from function signatures, adjust
2016 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2018 * insettext.C (InsetText): adjust
2020 (setParagraphData): separate same_id cases, adjust
2021 (appendParagraphs): adjust
2022 (appendParagraphs): adjust
2024 2003-05-23 André Pönitz <poenitz@gmx.net>
2026 * insetbutton.h: whitespace
2028 * insettabular.C: more compact code
2030 * updatableinset.C: remove const_cast
2033 2003-05-23 Angus Leeming <leeming@lyx.org>
2035 * insetexternal.C (write): check how many lines are output.
2036 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2037 if the template has defined it.
2039 2003-05-23 Angus Leeming <leeming@lyx.org>
2041 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2043 2003-05-23 Angus Leeming <leeming@lyx.org>
2045 * insetfoot.C (latex):
2046 * inseturl.C (latex): rename fragile as moving_arg.
2048 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2050 * inseterror.C (localDispatch): comment out unused var.
2052 2003-05-22 Angus Leeming <leeming@lyx.org>
2054 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2055 passed through the LatexRunParams arg.
2057 2003-05-22 Angus Leeming <leeming@lyx.org>
2059 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2060 through the LatexRunParams arg.
2062 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2063 arg rather than through a global var.
2065 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2067 * insetspecialchar.C (dimension): use a string.
2069 2003-05-22 Angus Leeming <leeming@lyx.org>
2071 * insetbibtex.C (latex):
2072 * insetgraphics.C (latex):
2073 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2074 runparams rather than from the buffer itself.
2076 2003-05-22 Angus Leeming <leeming@lyx.org>
2078 * inset*.[Ch] (latex):
2079 passed a LatexRunParams parameter.
2081 * insetgraphics.C (latex): actually use it ;-)
2083 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2085 * insetfloat.C (addToToc): trivial compile fix
2087 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2089 * insettext.[Ch] (paragraph): delete unused function
2091 * insetfloat.C (addToToc): parlist simplfication
2093 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2095 * insetspace.[Ch]: added (new space insets)
2097 * inset.h: handle new space insets
2099 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2101 * insetfloat.C (addToToc): adjust
2103 2003-05-21 André Pönitz <poenitz@gmx.net>
2105 * insettext.[Ch]: fix drawing bug introduced earlier
2107 2003-05-19 André Pönitz <poenitz@gmx.net>
2109 * insetspecialchar.C: fix bug introduced yesterday
2111 2003-05-19 André Pönitz <poenitz@gmx.net>
2115 * insetcollapsable.[Ch]:
2119 * insetgraphics.[Ch]:
2120 * insetgraphicsParams.[Ch]:
2121 * insetlatexaccent.[Ch]:
2122 * insetminipage.[Ch]:
2123 * insetnewline.[Ch]:
2125 * insetspecialchar.[Ch]:
2126 * insettabular.[Ch]:
2127 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2129 2003-05-19 André Pönitz <poenitz@gmx.net>
2132 * insettext.C: more insetenv
2134 2003-05-16 André Pönitz <poenitz@gmx.net>
2137 * insetminimpage.[Ch]:
2138 * insetcollapsable.[Ch]: fix #832
2140 2003-05-16 André Pönitz <poenitz@gmx.net>
2143 * insetbibitem.[Ch]:
2147 * insetcollapsable.[Ch]:
2148 * insetcommand.[Ch]:
2151 * insetexternal.[Ch]:
2152 * insetfloatlist.[Ch]:
2153 * insetgraphics.[Ch]:
2154 * insetinclude.[Ch]:
2157 * insetlatexaccent.[Ch]:
2160 * insettabular.[Ch]:
2164 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2166 2003-05-13 André Pönitz <poenitz@gmx.net>
2169 * insetcollapsable.C:
2173 * insetwrap.C: tostr from own header
2185 * insetwrap.C: STRCONV
2188 2003-05-12 André Pönitz <poenitz@gmx.net>
2200 * insetwwrap.C: boost::format -> bformat all over the place
2202 2003-05-05 André Pönitz <poenitz@gmx.net>
2204 * insettext.h: add missing #include <map>
2206 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2208 * insettext.C (InsetText): parlist cleanup
2211 (insetUnlock): ditto
2213 (lockInsetInInset): ditto
2217 (searchBackward): ditto
2218 (collapseParagraphs): ditto
2220 2003-05-06 John Levon <levon@movementarian.org>
2222 * insetcaption.C: don't cast wrap inset to InsetFloat
2225 * insetfloat.C: remove unneeded type() function
2227 2003-05-05 André Pönitz <poenitz@gmx.net>
2231 * insettabular.[Ch]:
2232 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2233 replace getFirstParagraph() by getParagraphs()
2235 2003-05-03 John Levon <levon@movementarian.org>
2237 * insetcollapsable.h:
2238 * insetcollapsable.C:
2244 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2245 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2246 getCursor(). Remove explicit cursor hides.
2248 2003-05-02 André Pönitz <poenitz@gmx.net>
2250 * insettext.C: remove unneeded &*
2252 2003-04-30 John Levon <levon@movementarian.org>
2254 * insettabular.C: fix edit message
2256 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2258 * insettext.C (setFont): do not convert iterator -> pointer
2260 * insettabular.C (localDispatch): do not convert iterator -> pointer
2262 (tabularFeatures): ditto
2264 2003-04-29 André Pönitz <poenitz@gmx.net>
2266 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2268 2003-04-28 André Pönitz <poenitz@gmx.net>
2270 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2273 2003-04-25 André Pönitz <poenitz@gmx.net>
2275 * insetenv.C: derive from InsetText instead of InsetCollapsable
2277 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2279 * insetexternal.C (string2params): dont do anything if the string
2281 * insetgraphics.C (string2params): ditto
2282 * insetcommand.C (string2params): ditto
2283 * insetert.C (string2params): ditto
2284 * insetfloat.C (string2params): ditto
2285 * insetinclude.C (string2params): ditto
2286 * insetminipage.C (string2params): ditto
2287 * insettabular.C (string2params): ditto
2288 * insetwrap.C (string2params): ditto
2290 2003-04-24 André Pönitz <poenitz@gmx.net>
2292 * insetref.C: support for eqref
2294 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2296 * insetert.C (read): use ParagraphList::iterator.
2298 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2300 * insetquotes.C (latex): comment some code and add warnings.
2302 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2304 * insetexternal.C (localDispatch): added a missing DISPATCHED
2306 2003-04-12 John Levon <levon@movementarian.org>
2308 * insetwrap.C (addToToc): fix a crash, conversion
2309 from while to for loop forgot to remove the explicit
2312 2003-04-10 John Levon <levon@movementarian.org>
2314 * insettabular.C (tabularFeature): make sure
2315 to update the dialog when we change something
2318 (getStatus): don't disable some lfuns (bug 939)
2320 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2322 * insettext.C (saveLyXTextState): adjust
2323 (localDispatch): adjust
2329 * insettabular.C (localDispatch): adjust
2331 (tabularFeatures): adjust
2333 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2335 * insettabular.C (searchForward,searchBackward): fix bug 782
2337 2003-04-07 John Levon <levon@movementarian.org>
2340 * insettext.C: clear status message on inset exit
2342 2003-04-03 John Levon <levon@movementarian.org>
2344 * insetcommand.C: return dispatched on DIALOG_UPDATE
2346 2003-04-02 John Levon <levon@movementarian.org>
2348 * insettabular.C: tab lfuns renamed
2350 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2352 * insettext.C (update): move towards ParagraphList
2353 (updateLocal): ditto
2355 (insetUnlock): ditto
2357 (lockInsetInInset): ditto
2358 (updateInsetInInset): ditto
2359 (localDispatch): ditto
2362 (resizeLyXText): ditto
2363 (searchBackward): ditto
2364 (collapseParagraphs): ditto
2367 * insetwrap.C (InsetWrap): adjust
2368 (addToToc): adjust and rewrite loop
2370 * insettext.[Ch] (paragraph): delete function
2372 * insettabular.C (moveNextCell): adjust
2373 (movePrevCell): adjust
2374 (insertAsciiString): adjust
2376 * insetfloat.C (InsetFloat): adjust
2379 * insetert.C (InsetERT): adjust
2380 (write): adjust, and rewrite loop
2381 (latex): adjust, and rewrite loop
2382 (linuxdoc): adjust, and rewrite loop
2383 (docbook): adjust, and rewrite loop
2384 (localDispatch): adjust
2385 (get_new_label): adjust
2387 2003-04-01 John Levon <levon@movementarian.org>
2389 From Alfredo Braunstein
2392 * insetbutton.C: add localDispatch()
2394 * insetcommand.C: return DISPATCHED when edit() called
2396 * insettext.C: fix bug 967
2398 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2400 * insettext.C: adjust
2402 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2404 * insettext.C (draw): adjust
2405 (crow): return a RowList::iterator not a Row*
2407 * insetminipage.C (localDispatch): adjust
2409 * insetert.C (localDispatch): adjust
2411 2003-03-31 John Levon <levon@movementarian.org>
2414 * insetgraphicsParams.C: use_gui moved to lyx_gui
2416 2003-03-31 John Levon <levon@movementarian.org>
2418 * insettext.C: Alert fix
2420 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2422 * insettext.C (ascent): adjust for RowList
2425 (getLyXText): adjust
2426 (toggleSelection): adjust
2428 * insetminipage.C (localDispatch): adjust for RowList
2430 * insetert.C (localDispatch): adjust for RowList
2431 (getMaxWidth): adjust for RowList
2433 2003-03-29 John Levon <levon@movementarian.org>
2435 * insetert.C: Alert cleanup
2437 2003-03-29 John Levon <levon@movementarian.org>
2439 * insettabular.C: Alert fix
2441 2003-03-28 John Levon <levon@movementarian.org>
2443 * insetfloat.C: reset label on INSET_MODIFY
2445 2003-03-28 John Levon <levon@movementarian.org>
2447 * insetgraphicsParams.C: read subcaptionText as a whole line
2450 2003-03-28 John Levon <levon@movementarian.org>
2452 * insettext.C: remove unused prototypes
2454 2003-03-25 Angus Leeming <leeming@lyx.org>
2456 * insetbibitem.C (localDispatch): repaint the view after modifying
2457 a bibitem inset in case the maximum InsetBibitem width has changed.
2459 2003-03-25 John Levon <levon@movementarian.org>
2462 * insettabular.C: LyXText renamings
2464 2003-03-24 John Levon <levon@movementarian.org>
2466 * insettext.C: remove some dead code. Fix bug 972 and
2467 related by posting a repaint in updateLocal(), and making
2468 the SEL functions set SELECTION.
2470 2003-03-22 John Levon <levon@movementarian.org>
2473 * inset.C: remove no-longer-needed topx_set
2475 * insetcollapsable.h:
2476 * insetcollapsable.C: remove dead code
2479 * insetert.C: rebreak the rows when a possible
2480 change in size is made, and reset the cursor
2483 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2485 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2486 topx_set. Fix drawing errors for clearInset(). Remove
2487 some unnecessary uses of topx, which should die.
2489 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2490 is no longer needed. Replace it with an ugly hack.
2492 2003-03-20 John Levon <levon@movementarian.org>
2495 * insetcollapsable.h:
2496 * insetcollapsable.C:
2504 * insettext.C: remove spurious font parameter
2505 from update(). Fix drawing of ERT insets inside
2506 insets (bug 966). Remove unused mark_dirty from
2507 tabular's updateLocal()
2509 2003-03-19 John Levon <levon@movementarian.org>
2518 * insetwrap.C: remove unused getter/setters
2520 2003-03-19 John Levon <levon@movementarian.org>
2522 * several files: bv->updateInset() doesn't take
2523 a bool mark_dirty any more
2525 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2527 * adjust for BufferView* arg removal from lyxtext.
2529 2003-03-17 John Levon <levon@movementarian.org>
2531 * most files: remove the "cleared" parameter
2532 to draw in favour of always clearing. Associated
2535 2003-03-16 John Levon <levon@movementarian.org>
2537 * insettext.C: remove unused s.refresh
2539 2003-03-13 Angus Leeming <leeming@lyx.org>
2541 * insettext.C (edit): replace Dialogs::updateParagraph with
2542 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2544 2003-03-13 André Pönitz <poenitz@gmx.net>
2546 * Makefile.am: insert insetenv
2548 * insethenv.[Ch]: new files, currently inactive
2550 2003-03-12 John Levon <levon@movementarian.org>
2560 * insettext.C: use new insetnewline
2562 2003-03-12 John Levon <levon@movementarian.org>
2564 * insettext.C: readToken became readParagraph
2566 2003-03-12 John Levon <levon@movementarian.org>
2568 * insettext.C: use parlist iterator for reading contents
2570 2003-03-12 John Levon <levon@movementarian.org>
2572 * insettext.C: name change to readToken()
2574 2003-03-11 André Pönitz <poenitz@gmx.net>
2576 * Makefile.am: insert insethfill
2578 * insethfill.[Ch]: new files
2580 2003-03-10 Angus Leeming <leeming@lyx.org>
2582 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2584 (hideDialog): calls the new static Dialogs::hide() method.
2586 * insetbibitem.C (edit):
2587 * insetbibtex.C (edit):
2588 * insetcite.C (edit):
2589 * insetcommand.C (localDispatch):
2590 * inseterror.C (d-tor):
2591 * insetert.C (showInsetDialog):
2592 * insetexternal.C (localDispatch, edit):
2593 * insetfloat.C (localDispatch, showInsetDialog):
2594 * insetfloatlist.C (edit):
2595 * insetgraphics.C (localDispatch, edit):
2596 * insetinclude.C (localDispatch, edit):
2597 * insetindex.C (edit):
2598 * insetlabel.C (edit):
2599 * insetminipage.C (localDispatch, showInsetDialog):
2600 * insetref.C (edit):
2601 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2602 resetPos, showInsetDialog, openLayoutDialog):
2603 * insettoc.C (edit):
2604 * inseturl.C (edit):
2605 * insetwrap.C (localDispatch, showInsetDialog):
2606 changes due to the changed MailInset interface.
2608 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2610 * insetfloat.h: Set default placement to an empty string.
2612 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2614 * insettext.C (latex): adjust call to latexParagraphs.
2616 2003-03-10 Angus Leeming <leeming@lyx.org>
2618 * mailinset.C: warn the user if the BufferView has not been cached.
2620 2003-03-10 Angus Leeming <leeming@lyx.org>
2622 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2624 * insetcommand.h (inset):
2625 * insetert.h (inset):
2626 * insetexternal.h (inset):
2627 * insetfloat.h (inset):
2628 * insetgraphics.h (inset):
2629 * insetinclude.h (inset):
2630 * insetminipage.h (inset):
2631 * insettabular.h (inset):
2632 * insetwrap.h (inset):
2633 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2635 2003-03-10 Angus Leeming <leeming@lyx.org>
2637 * insetcommand.C (string2params):
2638 * insetexternal.C (string2params):
2639 * insetfloat.C (string2params):
2640 * insetgraphics.C (string2params):
2641 * insetinclude.C (string2params):
2642 * insetminipage.C (string2params):
2643 * insettabular.C (string2params):
2644 * insetwrap.C (string2params): cure warning message about missing
2647 2003-03-09 Angus Leeming <leeming@lyx.org>
2649 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2650 it to communicate with the frontend dialogs.
2652 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2653 contents of this inset!
2655 2003-03-07 Angus Leeming <leeming@lyx.org>
2657 * inseterror.C (localDispatch): new method; calls edit() on
2660 2003-03-07 Angus Leeming <leeming@lyx.org>
2662 * insetbibitem.C (localDispatch):
2663 * insetbibtex.C (localDispatch):
2664 * insetlabel.C (localDispatch):
2665 rewrite as a switch.
2667 2003-03-07 Angus Leeming <leeming@lyx.org>
2669 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2670 it to communicate with the frontend dialogs.
2672 2003-03-07 Angus Leeming <leeming@lyx.org>
2674 * insetexternal.C: remove operator== and operator!= for
2675 InsetExternal::Params. They were used only by the old controller
2678 2003-03-07 Angus Leeming <leeming@lyx.org>
2680 * insetcommand.C (localDispatch):
2681 * insetexternal.C (localDispatch):
2682 * insetfloat.C (localDispatch):
2683 * insetinclude.C (localDispatch):
2684 * insetminipage.C (localDispatch):
2685 * insetwrap.C (localDispatch):
2686 add LFUN_INSET_DIALOG_UPDATE to the switch.
2688 2003-03-07 Angus Leeming <leeming@lyx.org>
2690 * insetcommand.C (string2params):
2691 * insetexternal.C (string2params):
2692 * insetfloat.C (string2params):
2693 * insetinclude.C (string2params):
2694 * insetwrap.C (string2params): use LyXLeX more.
2697 * insetexternal.[Ch]:
2699 * insetinclude.[Ch]:
2700 * insetwrap.[Ch]: change Mailer::name_ to be static.
2702 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2703 it to communicate with the frontend dialogs.
2705 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2708 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2710 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2712 * insettext.C (updateLocal): un-const function
2713 (updateLocal): adjust
2714 (collapseParagraphs): un-const function
2715 (collapseParagraphs): adjust
2717 2003-03-05 Angus Leeming <leeming@lyx.org>
2719 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2720 it to communicate with the frontend dialogs.
2722 2003-03-05 Angus Leeming <leeming@lyx.org>
2724 * insetcollapsable.C (draw): cache the BufferView.
2726 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2727 it to communicate with the frontend dialogs.
2729 2003-03-05 Angus Leeming <leeming@lyx.org>
2731 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2734 2003-03-05 Angus Leeming <leeming@lyx.org>
2736 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2738 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2739 it to communicate with the frontend dialogs.
2741 2003-03-05 Angus Leeming <leeming@lyx.org>
2743 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2744 it to communicate with the frontend dialogs.
2746 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2748 * insettext.C (collapseParagraphs): adjust
2749 (appendParagraphs): make it take a Buffer* instead of a
2750 BufferParams& as arg.
2751 (appendParagraphs): adjust
2753 2003-03-04 Angus Leeming <leeming@lyx.org>
2755 * insetbibitem.C (localDispatch):
2756 * insetbibtex.C (localDispatch):
2757 * insetcommand.C (localDispatch):
2758 * insetert.C (localDispatch):
2759 * insetlabel.C (localDispatch):
2760 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2762 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2764 * insettext.C (latex): adjust for ParagraphList::iterator
2766 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2768 * insetbutton.C (view): adjust for boost 1.30.0
2769 * insetcollapsable.C (view): ditto
2770 * insetgraphics.C (statusChanged): ditto
2772 * insettext.h: move paragraphs to be public.
2774 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2776 * insetnote.[Ch] (InsetNote): remove unused constructor
2778 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2780 * insetgraphics.C: added include "format.h"
2782 2003-02-27 Angus Leeming <leeming@lyx.org>
2784 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2787 2003-02-27 Angus Leeming <leeming@lyx.org>
2789 * insetbibitem.C (localDispatch):
2790 * insetbibtex.C (localDispatch):
2793 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2795 2003-02-26 Angus Leeming <leeming@lyx.org>
2797 * insetbibitem.[Ch] (localDispatch):
2798 * insetbibtex.[Ch] (localDispatch):
2799 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2801 * insetcommand.C (localDispatch):
2802 act only on receipt of LFUN_XYZ_APPLY.
2804 * insetert.C (localDispatch): reformat.
2805 add LFUN_XYZ_APPLY to the switch.
2807 2003-02-26 John Levon <levon@movementarian.org>
2809 * insettext.C: use RowPainter
2811 * inset.h: make helpers take const *
2813 2003-02-26 Angus Leeming <leeming@lyx.org>
2815 * insetcommand.[Ch] (localDispatch): new method.
2817 2003-02-26 Angus Leeming <leeming@lyx.org>
2819 * insetinclude.C (draw): cache the BufferView* using cache not
2820 PreviewImpl::setView
2822 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2824 * insetgraphics.C (draw)
2825 * insetinclude.C (draw): Eliminate also the other argument (owner
2826 inset inset) in the call to PreviewImage::image
2828 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2830 * insetgraphics.C (draw)
2831 * insetinclude.C (draw): Eliminate Buferview argument in call to
2834 2003-02-25 John Levon <levon@movementarian.org>
2836 * insetgraphicsParams.h:
2837 * insetgraphics.C: don't start a load process if
2838 the inset is set to NoDisplay (bug #920)
2840 2003-02-22 John Levon <levon@movementarian.org>
2843 * insetwrap.C: TocItem changed API (bug 913)
2845 2003-02-21 Angus Leeming <leeming@lyx.org>
2847 * insetcollapsable.[Ch] (cache, edit):
2848 * insetbutton.[Ch] (cache, edit): new methods to cache the
2849 BufferView in the draw method.
2851 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2852 simplify comunication between InsetCommand-derived classes and
2855 * insetbibitem.[Ch]:
2859 * insetfloatlist.[Ch]:
2863 * inseturl.[Ch]: small changes to reflect the new interface to the
2866 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2867 other, similar classes.
2869 * Makefile.am: add new files.
2871 2003-02-21 Angus Leeming <leeming@lyx.org>
2873 * updatableinset.h (setView, view): remove.
2874 * inset.h (view, cache): to be replaced by these.
2876 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2879 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2882 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2884 2003-02-21 Allan Rae <rae@lyx.org>
2886 * insetinclude.C (loadIfNeeded): ensure loading also works when
2887 child document is under version control.
2889 2003-02-17 André Pönitz <poenitz@gmx.net>
2891 * insetbib.[Ch]: Adjust access to bibkeys
2893 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2895 * insetquotes.C (dispString): remove use of acute accent for "'"
2898 2003-02-14 John Levon <levon@movementarian.org>
2900 * insettabular.C: changed method names in tabular.C
2902 2003-02-14 John Levon <levon@movementarian.org>
2906 * insetcollapsable.h:
2907 * insetcollapsable.C:
2911 * insettext.C: remove unused getParFromID()
2913 2003-02-13 John Levon <levon@movementarian.org>
2916 * insettext.C: remove unused beginningofMainBody()
2918 2003-02-08 John Levon <levon@movementarian.org>
2922 * insetcollapsable.h:
2923 * insetcollapsable.C:
2928 add nextChange(). Make allowSpellcheck() const. Add markErased().
2930 * insetert.C: ignore deleted text
2932 * insettabular.C: make sure to keep change tracking working
2935 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2940 * insettext.C: Use error messages with identical spelling and punctuation
2942 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2944 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2946 2002-12-17 Juergen Vigna <jug@lyx.org>
2948 * insettext.C (localDispatch): hopefully fixed cursor up down
2949 movement on leaving other insets.
2951 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2953 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2956 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2958 * insetgraphics.C (prepareFile): do not remove the extension of
2959 the file name if it is not the default extension for the given
2960 format (that is, in latex output, remove extension from foo.eps,
2961 but not from foo.epsi)
2963 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2965 * insettext.C (lfunMouseRelease): hackish solution to the "double
2968 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2970 * insetfloat.C (addToToc): use the floats name not its type
2971 * insetwrap.C (addToToc): ditto
2973 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2975 * insetnote.C (init): make label font smaller
2977 2002-12-04 John Levon <levon@movementarian.org>
2979 * insetinclude.C: ressurect setting of command name
2981 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2983 * insetquotes.C (dispString): disambiguate insert call
2985 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2987 * several files: ws changes
2989 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2991 * insetquotes.C (dispString): use string::insert for prepending a
2994 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2996 * insetparent.C (getScreenLabel): use boost::format
2998 * insetgraphics.C (prepareFile): use boost::format
3001 * insetfloatlist.C (latex): use boost::format
3003 * insetcaption.C (draw): use boost::format
3005 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3007 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3010 2002-11-20 Juergen Vigna <jug@sad.it>
3012 * insettabular.C (resetPos): temporary fix for endless loop in
3013 this function on a redraw.
3015 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3017 * insettabular.C (copySelection): STRCONV
3019 * insetinclude.C (uniqueID): STRCONV
3020 (latexString): ditto
3022 * insetgraphics.C: put VersionNumber inside anon namespace
3023 (createLatexOptions): STRCONV
3025 * insetcommandparams.C: include config.h
3027 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3029 * insetgraphicsParams.C (Write): use lyx::float_equal.
3030 Write height data correctly.
3031 (Read): zero scale when reading height data.
3033 2002-10-30 John Levon <levon@movementarian.org>
3035 * insetfloat.C (addToTOC): recursively traverse all
3036 contents looking for captions (fix #568)
3038 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3040 * insetexternal.C (doSubstitution): do not try to replace
3041 environment variables, this is done when executing the command
3043 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3045 * insetexternal.C (doSubstitution): change order of substitution
3046 to work around ReplaceEnvironmentPath brokenness
3048 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3050 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3052 * insetgraphicsParams.C (init, Write): associated changes
3053 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3054 InsetGraphicsParams::scale.
3056 2002-10-21 John Levon <levon@movementarian.org>
3058 * inset.h: remove unused DISPATCH_RESULT
3060 * insettext.C: sgml open/close tag now in sgml namespace
3062 2002-10-21 Angus Leeming <leeming@lyx.org>
3064 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3065 file path subdir/fig.eps when pasting it into a buffer in a different
3068 2002-10-16 John Levon <levon@movementarian.org>
3070 * insetspecialchar.C: remove \\protected_separator parsing
3072 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3074 * insetquote.C: fix LaTeX output of quotation marks.
3076 2002-10-14 Juergen Vigna <jug@sad.it>
3078 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3079 Backspace functions which confused the Undo handling.
3081 2002-10-09 Angus Leeming <leeming@lyx.org>
3083 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3084 BufferView::dispatch that turns off this optimisation when a new inset
3087 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3088 reload the BibTeX keys.
3090 2002-10-11 André Pönitz <poenitz@gmx.net>
3092 * insettext.h: handle LFUN_PRIOR/NEXT
3094 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3096 * insetfloat.C: fix bug with float settings
3097 (document default != float default).
3099 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3101 * insetwrap.C (addToToc): New method.
3102 (InsetWrap): Set layout to caption.
3104 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3106 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3108 2002-09-16 John Levon <levon@movementarian.org>
3110 * insettabular.h: hasSelection() needs to be public
3112 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3114 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3116 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3118 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3120 2002-09-11 André Pönitz <poenitz@gmx.net>
3122 * insettabular.C: implement LFUN_WORDSEL
3124 2002-09-10 John Levon <levon@movementarian.org>
3126 * insetinclude.h: remove unused param
3128 2002-09-09 John Levon <levon@movementarian.org>
3131 * insetinclude.C: remove noload, default to input
3133 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3135 * insetgraphics.C: disfuscated use of ']' in built output string.
3137 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3141 2002-08-29 Juergen Vigna <jug@sad.it>
3143 * insettabular.C (lfunMousePress): Pay attention where you set
3144 the x/y values as they depend on which inset in the tabular is
3145 actually locked. So you surely have to reset them if you (un)lock
3148 2002-08-29 André Pönitz <poenitz@gmx.net>
3150 * insetfootlike.h: rename include guard to ALL CAPS
3152 * insettext.C: swap object and first parameter for checkInsetHit calls
3153 as this functions has moved from BufferView to LyXText
3156 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3158 * insetgraphicsParams.C: remove local displayTranslator and use
3159 the one from graphics/GraphicsTypes.h.
3161 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3163 * insetfloat.C (wide): add BufferParams parameter
3165 * insetfloatlist.C (read):
3168 * insetfloat.C (latex):
3170 * insetcaption.C (draw): use LyXTextClass::floats()
3172 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3174 * insetoptarg.h: add std:: qualifier.
3176 2002-08-26 Juergen Vigna <jug@sad.it>
3178 * insettext.C (localDispatch): ditto.
3180 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3182 2002-08-25 John Levon <levon@movementarian.org>
3184 * inseturl.C: elide long URLs (bug 404)
3186 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3188 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3189 remove "Format Version <version_no.>" string from inset header
3192 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3194 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3195 a member of "grfx::Params" anymore.
3197 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3199 2002-08-24 John Levon <levon@movementarian.org>
3202 * insetoptarg.C: ws, pedantry ...
3204 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3206 * insettext.C (collapseParagraphs): pasteParagraph now in global
3208 (appendParagraphs): ditto
3210 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3212 * insetcite.C (latex): Remove spaces only after commmas.
3214 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3216 * insettext.C: remove NO_COMPABILITY stuff
3218 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3220 * insettext.C (edit): use ParagraphList iterators
3222 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3223 (bibitemWidest): ditto
3225 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3227 * insettext.C: include <boost/bind.hpp>
3228 add using std::for_each
3229 (saveLyXTextState): use ParagraphsList::iterator
3230 (init): use for_each on paragraphlist iterators
3231 (InsetText): remove superflous setting cached_bview to 0
3232 (latex): reformat a bit
3233 (ascii): use paragraphlist iterators
3234 (validate): use for_each + boost bind
3235 (getLabelList): use paragraphlist iterators
3236 (deleteLyXText): use for_each + boost::bind
3237 (resizeLyXText): ditto
3238 (reinitLyXText): ditto
3239 (removeNewlines): use paragraphlist iterators
3240 (getParFromID): ditto
3241 (paragraph): use for_each + boost::bind
3242 (getInsetFromID): use paragraphlist iterators
3243 (getLabelList): typo fix
3245 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3247 * insettext.C (read): assign tmp to paragraphs after return from
3248 call to parseSingleLyXformat2Token
3251 2002-08-13 Angus Leeming <leeming@lyx.org>
3270 changes due to the changed LyXView interface that now returns references
3271 to member variables not pointers.
3273 2002-08-13 Angus Leeming <leeming@lyx.org>
3276 * insetcollapsable.h:
3279 * insettext.h: forward-declare WordLangTuple
3280 (selectNextWordToSpellcheck) constify return type.
3283 * insetcollapsable.C:
3286 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3288 2002-08-12 Angus Leeming <leeming@lyx.org>
3290 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3292 2002-08-12 Juergen Vigna <jug@sad.it>
3294 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3297 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3300 (bibitemWidest): ditto
3301 * insettext.[Ch]: ditto
3303 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3305 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3307 2002-08-09 Angus Leeming <leeming@lyx.org>
3309 * insetinclude.C (latexString): remove fudge now that I've found out
3310 how to enable LaTeX to find the file using input@path.
3312 2002-08-09 John Levon <levon@movementarian.org>
3315 * insettext.C: remove unused xpos
3317 2002-08-07 Juergen Vigna <jug@lyx.org>
3319 * insettabular.C (localDispatch): make delete not put the stuff
3320 in the clipboard only do this on a cut operation.
3322 * insettext.C (localDispatch): make delete and backspace not put
3323 selected stuff to the clipboard.
3325 2002-08-07 André Pönitz <poenitz@gmx.net>
3328 * insetcollapsable.[Ch]:
3332 * insettabular.[Ch]:
3333 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3335 2002-08-06 John Levon <levon@movementarian.org>
3339 * insetcollapsable.h:
3340 * insetcollapsable.C:
3346 * insettext.C: use WordLangTuple for spellcheck
3348 2002-08-06 Angus Leeming <leeming@lyx.org>
3350 * insetinclude.C: add a monitor to the previewed image, so that the
3351 image is refreshed if the \input-ed file changes.
3353 2002-08-04 John Levon <levon@movementarian.org>
3356 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3358 2002-08-02 Angus Leeming <leeming@lyx.org>
3360 * insetcommandparams.[Ch] (preview): new methods returning and setting
3361 a new bool preview_ flag.
3362 (read): read this flag.
3363 (operator==): add flag to check.
3365 * insetinclude.C (write): output new preview() flag.
3366 (previewWanted): use this flag.
3368 2002-08-02 Angus Leeming <leeming@lyx.org>
3370 * insetcollapsable.[Ch] (addPreview):
3371 * insettabular.[Ch] (addPreview):
3372 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3373 for insets in insets.
3375 2002-08-02 Angus Leeming <leeming@lyx.org>
3377 * insetcite.C: fix typo.
3379 * insetgraphics.C: kill current_view and instead cache the BufferView
3382 * insetinclude.C: kill current_view and pass the BufferView to the
3383 PreviewedInset so that it can cache it.
3385 2002-08-01 Angus Leeming <leeming@lyx.org>
3387 * inset.h (generatePreview): renamed as addPreview.
3388 (generatePreview): new method. Allows code to be moved out of
3389 math_nestinset.C and into the new PreviewedInset class.
3391 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3392 add previews to the inset when \input-ing LaTeX.
3394 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3396 * several files: strip,frontStrip -> trim,ltrim,rtrim
3398 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3400 * insetbib.C (latex): modify because of strip changes
3402 * insetnote.C (InsetNote): ditto
3404 2002-07-26 Juergen Vigna <jug@sad.it>
3406 * insettabular.C (searchForward): check for lastcell if we
3407 had a locking inset.
3409 2002-07-25 Juergen Vigna <jug@sad.it>
3411 * insettabular.C (insetMotionNotify): Don't update the screen
3412 if we didn't do nothing.
3413 (searchForward): last cell was not checked.
3415 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3417 * insetfloat.C (read, write): Allow default placement
3418 (floatPlacement_ is empty).
3420 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3422 * insetminipage.h (noFontChange):
3423 * insettabular.h (noFontChange):
3424 * insetfootlike.h (noFontChange):
3425 * insetfloat.h (noFontChange): return true
3427 * inset.h (noFontChange): new method, defaulting to false
3429 2002-07-22 Herbert Voss <voss@lyx.org>
3431 * insetgraphicsParams.[Ch]: support size_type for old docs
3433 2002-07-22 Herbert Voss <voss@lyx.org>
3436 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3439 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3441 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3443 * insetlatexaccent.h: do not include "lyxlex.h"
3445 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3448 * insetlatexaccent.C:
3452 * insetbib.C: #include "lyxlex.h"
3458 * insettext.C: use BufferParams::getLyXTextClass
3461 * insetfloat.C (addToToc): new method. Add to toclist the entries
3462 corresponding to Caption layouts
3463 (InsetFloat): when creating a new float, set the layout to "Caption"
3465 2002-07-21 Herbert Voss <voss@lyx.org>
3467 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3468 image relevant part into graphics/GraphicsImgae.C
3470 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3472 * insettoc.C (ascii):
3473 * insetfloatlist.C (ascii): change to use the new Toc functions
3474 instead of stuff that was in Buffer
3476 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3478 * insettext.C (localDispatch): BufferView::Dispatch has been
3479 renamed to BufferView::dispatch
3481 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3483 * insetgraphicsParams.C (as_grfxParams): use the new
3484 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3485 1.2.0 patch, and I do not really know how to adapt it to the new
3486 grfx::Cache world. Angus, please could you have a look?
3488 2002-05-01 Herbert Voss <voss@lyx.org>
3490 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3492 2002-07-18 Angus Leeming <leeming@lyx.org>
3494 * insetgraphics.C: clean-up comments (from Herbert).
3495 add a new checksum variable to the cache. Use it in PrepareFile.
3496 (draw): start monitoring the file for a change.
3497 (prepareFile): re-arrange a little to avoid unnecessary steps.
3499 2002-07-17 Angus Leeming <leeming@lyx.org>
3501 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3502 a method rather than to the signal directly.
3504 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3506 * insettext.C: use view_state_changed, switchKeyMap
3508 2002-07-17 Herbert Voss <voss@perce.de>
3510 * insetgraphics.C (prepareFile): keep the extension when
3511 exporting to nice file
3513 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3515 * insetcite.C (getNatbibLabel):
3516 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3518 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3520 * insetgraphics.C: use ->isDrawable()
3522 2002-07-12 Angus Leeming <leeming@lyx.org>
3524 * insetgraphics.C: use the new smart loading capabilities of the image
3527 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3529 * insettabular.C (edit): Move into correct cell when entering a
3532 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3535 2002-07-05 Angus Leeming <leeming@lyx.org>
3537 * inset.h (generatePreview): new virtual method.
3539 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3541 * insetcommandparams.[Ch] (operator=): move out of class
3542 (operator!): move out of class
3544 2002-07-04 André Pönitz <poenitz@gmx.net>
3546 * insetcommandparams.[Ch]: new files
3548 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3550 2002-06-15 Herbert Voss <voss@perce.de>
3552 * insetgraphics.C (prepareFile): bugfix; return always
3553 files without extension
3555 2002-06-28 Angus Leeming <leeming@lyx.org>
3557 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3558 rename asGParams -> as_grfxParams.
3560 * insetgraphics.C: reflect above change.
3562 2002-06-26 Angus Leeming <leeming@lyx.org>
3564 * insetgraphics.h: use boost::scoped_ptr in preference to
3567 2002-06-26 Angus Leeming <leeming@lyx.org>
3569 * insetgraphics.C: moved the image loading stuff into a new class
3570 grfx::Loader. Simplifies this file enormously.
3572 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3574 * insetgraphicsParams.C: changes aassociated with moving
3575 grfx::DisplayType out of grfx::GParams.
3577 2002-06-26 André Pönitz <poenitz@gmx.net>
3579 * insetgraphics.C: use os::external_path where necesaary according to a
3580 patch from Claus Hentschel)
3582 2002-06-25 Angus Leeming <leeming@lyx.org>
3584 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3585 generating a pixmap once the graphics file is loaded into memory.
3586 The current_view ugliness that was in grfx::ModifiedImage has been
3587 moved here now that grfx::ModifiedImage is no more.
3589 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3591 * insettext.C: layout as layout
3593 2002-05-28 André Pönitz <poenitz@gmx.net>
3595 * insetfloatlist.h: remove source of compiler warning
3597 * insetref.C: tiny whitespace
3599 2002-06-15 Herbert Voss <voss@perce.de>
3601 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3602 and take always convert when no userdefined converter was
3604 (latex) small changes in the lyxerr output
3606 2002-06-15 LyX Development team <lyx@rilke>
3608 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3609 mixed content. Small white spaces clean.
3611 2002-06-14 Angus Leeming <leeming@lyx.org>
3613 * inseetexternal.C: remove the using std::difftime declaration.
3615 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3617 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3619 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3621 * insetquotes.C (draw): fix drawing of double quotes
3623 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3625 * insettabular.C: s/scrollCB/scrollDocView/
3627 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3629 * insettext.C: change of topCursorVisible()
3632 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3635 * insettext.C: rename/change of LyXScreen
3637 2002-06-07 Angus Leeming <leeming@lyx.org>
3639 Fixes needed to compile with Compaq cxx 6.5.
3641 all c-library variables have been moved into namespace std.
3642 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3644 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3646 * insetinclude.C (uniqueID):
3647 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3648 conflicted with some AIX headers.
3650 2002-05-31 Juergen Vigna <jug@sad.it>
3652 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3656 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3658 * insetexternal.C (clone): fix () bug when using new
3659 (updateExternal): don't only look for difftime in global scope
3661 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3663 * insettabular.C: add const
3665 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3667 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3668 file name, in case there are weird characters like ',' in there.
3671 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3673 * switch from SigC signals to boost::signals.
3675 2002-05-28 André Pönitz <poenitz@gmx.net>
3677 * insets/insetgraphicsParams.[Ch]:
3678 put in inset related stuff from src/graphic
3680 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3688 * insetcollapsable.C:
3689 * insetcollapsable.h:
3717 * inseturl.h: use mouse_state. Kill insetKeyPress
3719 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3724 * insetcollapsable.C:
3727 * insetlatexaccent.C:
3729 * insetspecialchar.C:
3731 * insettext.C: name change for font metrics
3733 2002-05-24 Juergen Vigna <jug@sad.it>
3735 * insetgraphics.h: include inset.h first (for LString.h)
3737 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3739 * insettext.C: screen moved
3741 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3759 * inseturl.C: LyXView moved into frontends/
3761 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3766 * insetcollapsable.C:
3770 * insetgraphicsParams.C:
3771 * insetlatexaccent.C:
3773 * insetspecialchar.C:
3775 * insettext.C: move Painter to frontends/
3777 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3779 * insettabular.h: use more specific smart_ptr header.
3780 * insettext.h: ditto
3782 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3785 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3787 * insettext.C: clear selection on paste (bug 393)
3789 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3791 * insettext.C (latex): Honor the moving_arg argument.
3793 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3795 * insetfoot.C (latex): if a footnote is in a title layout, then it
3796 is a \thanks. And then, its contents is a moving argument.
3798 2002-05-14 Juergen Vigna <jug@sad.it>
3800 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3803 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3805 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3806 when using options "Full author list" or "Upper case".
3808 2002-05-14 Herbert Voss <voss@perce.de>
3810 * insetgraphics.C (prepareFile): allow files with same name
3812 (readFigInset): set the flags from old figinset in the right
3814 (findTargetFormat): more comments
3816 2002-05-14 Juergen Vigna <jug@sad.it>
3818 * insettext.C (edit): tell checkAndActivateInset() that we don't
3819 have a button press.
3820 (checkAndActivateInset): if button < 0 we don't have a button press
3821 on the inset and os we won't call edit on it if it's not a Highly
3822 editable inset (then we have to enter it).
3824 2002-05-13 Juergen Vigna <jug@sad.it>
3826 * insetcollapsable.C (insetButtonRelease): returned wrong return
3829 2002-05-09 Juergen Vigna <jug@sad.it>
3831 * insetcollapsable.C (edit): first_after_edit should only be
3832 set to true if we enter this inset and it was collapsed so we
3833 open it up. This is needed to reclose it after a search/replace
3834 or spellcheck function opened it and was negative.
3836 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3838 * insetfloat.C (latex): Return correct value.
3840 2002-05-04 Herbert Voss <voss@perce.de>
3842 * InsetgraphicsParams.C (read): fix bug with WH
3844 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3846 * insetfloat.C (latex): More sensible latex output
3847 (fix the problem with endfloat).
3849 2002-05-02 José Matos <jamatos@fep.up.pt>
3851 * insetgraphics.C (validate): acess params as everyone else.
3853 2002-05-03 Juergen Vigna <jug@sad.it>
3855 * insettabular.C (fitInsetCursor): recalculate the cursor position
3858 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3860 * InsetgraphicsParams.[Ch]: whitespace.
3862 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3864 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3865 float type do not exist.
3867 2002-04-28 Herbert Voss <voss@perce.de>
3869 * insetgraphics.C (latex): fix bug with missing file-extension.
3870 LaTeX still allows a missing "eps" or "ps".
3872 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3874 * insetfloat.C (c-tor, wide): translate the name of the float.
3876 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3878 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3879 when using natbib and make it work efficiently. Must emphasise that the
3880 real work is Herbert's.
3882 2002-04-23 Herbert Voss <voss@perce.de>
3884 * insetgraphic.C (prepareFile): fix bug with overwriting and
3885 deleting an existing *.eps-file in the doc-dir
3887 2002-04-23 Juergen Vigna <jug@sad.it>
3889 * insettabular.C (drawCellSelection): fix off by 1 error.
3891 2002-04-22 Juergen Vigna <jug@sad.it>
3893 * insettabular.C (setFont): rewoke full selection if it was asked,
3894 after we changed all we had to change.
3896 * insettext.C (insetUnlock): code was uninitialized in some situations.
3898 2002-04-19 Herbert Voss <voss@perce.de>
3900 * insetgraphic.C (prepareFile): return filename without
3901 extension if we only export without compiling
3903 2002-04-19 Juergen Vigna <jug@sad.it>
3905 * insettext.C (draw): call a fullRebreak on the row where we had a
3906 change and reset the cursor and selection-cursors.
3908 * insettabular.C (insetUnlock):
3909 (insetButtonPress): call an update before setting the_locking_inset = 0
3910 as otherwise we don't repaint!
3911 (update): reset the cursor position when we changed dimensions as
3912 otherwise our cursor may be on the wrong spot.
3914 2002-04-18 Juergen Vigna <jug@sad.it>
3916 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3917 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3918 redraw otherwise we won't redraw.
3920 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3921 not really right before, but I only discovered this with the last
3922 changes to Page up/down.
3924 2002-04-17 Juergen Vigna <jug@sad.it>
3926 * insettext.C (checkAndActivateInset): simplified as we now have the
3927 edit(bv, bool) call.
3929 * insettext.h: changed behind variables to front variables to be
3930 equal to the one in the edit call (as it is for that they are used).
3932 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3934 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3935 not output anything at all!
3937 2002-04-16 Juergen Vigna <jug@sad.it>
3939 * insettabular.C (insetButtonPress):
3940 (insetUnlock): call a redraw on unlocking the cell inset.
3942 * insettext.C (insetButtonPress): same as below.
3943 (lockInset): new function to set initial values when inset should
3945 (insetButtonPress): use above function.
3946 (insetUnlock): don't force a repaint only set the updateStatus. The
3947 outside world should repaint if it thinks it should be done!
3949 * insettabular.C (insetButtonPress): init values if not set as locked
3950 as we are locked if someone presses on us and don't call the edit()
3951 call of the InsetText to lock it do it as BufferView does it!
3953 * inset.h (insetInInsetY): make func const and return an int.
3956 * insetcollapsable.C: adapt the above changed function.
3958 2002-04-15 Juergen Vigna <jug@sad.it>
3960 * insettext.C (getCursorPos): return relative position as to be able
3961 to give them directly to the edit() call.
3962 (edit): we have to set also x_fix as it is not set inside the
3963 setCursorFromCoordinates call!
3964 (insetMotionNotify): ditto.
3966 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3968 * insetbib.C (getKeys): strip leading '\t's from the line too.
3969 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3971 2002-04-12 Juergen Vigna <jug@sad.it>
3973 * insettext.h: added cix() helper function and use it where appropriate
3975 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3977 * insetgraphics.C (prepareFile): fix bug when graphics is a
3980 2002-04-12 Juergen Vigna <jug@sad.it>
3982 * insettext.C (insertInset): remove unneeded code!
3983 (updateLocal): fitCursor() fixes.
3984 (collapseParagraphs): fix a possible problem when having a selection
3985 and collapsing the paragraphs.
3987 2002-04-08 Herbert Voss <voss@perce.de>
3989 * insetgraphic.C (write): write the rotating angle as
3990 a float as is. test only for != 0.0
3992 2002-04-11 Juergen Vigna <jug@sad.it>
3994 * insettext.C: new function ciy() and use it for setting inset_y.
3996 * insetert.C (draw): fix the x return for collapsed version.
3998 2002-04-07 Herbert Voss <voss@perce.de>
4000 * insetgraphic.C (readFigInset): fix bug with subcaption and
4003 2002-04-08 Herbert Voss <voss@lyx.org>
4005 * insetgraphicsparam.C: forgot special option and delete old
4008 2002-04-05 Juergen Vigna <jug@sad.it>
4010 * insettext.C (localDispatch): make a CURSOR update if we inserted
4013 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4015 * insetfloatlist.C (getScreenLabel):
4016 (latex): use Floating::listName
4017 (validate): new method
4019 2002-04-03 José Matos <jamatos@fep.up.pt>
4021 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4023 * insetfoot.[Ch] (docbook): added forgotten method.
4025 2002-04-03 Juergen Vigna <jug@sad.it>
4027 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4028 way as in Bufferview_pimpl.
4030 2002-04-03 Allan Rae <rae@lyx.org>
4032 * insetgraphics.C (latex): one % too many makes living on the bleeding
4033 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4035 2002-03-28 Herbert Voss <voss@lyx.org>
4037 * insetgraphic.C (latex): simplify the code for the latex
4038 output when the file doesn't exist
4040 2002-03-29 Juergen Vigna <jug@sad.it>
4042 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4045 * insettabular.C (edit): call fitCursor().
4047 * insettext.C (insetButtonPress): change behaviour of no_selection
4048 to the one in the BufferView selection_possible and fix the spurious
4049 selection bug with it.
4050 (localDispatch): revoke selection on BREAK... functions.
4052 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4054 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4056 2002-03-28 Juergen Vigna <jug@sad.it>
4058 * insettabular.C (insetAllowed): return true as default value otherwise
4059 we're not able to insert insets inside paragraphs of an not locked
4062 2002-03-27 Herbert Voss <voss@lyx.org>
4064 * insetgraphicsparam.C: change c%, p% to col%, page%
4066 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4068 * insetspecialchar.C (isLineSeparator): disable the nice code to
4069 allow linebreaks after hyphenation and menu separators.
4071 2002-03-26 Herbert Voss <voss@lyx.org>
4073 * insetgraphics.C (figinsetRead): set the right lyxview
4075 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4077 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4078 $\backslash$ and pass a "string const &" to the function.
4079 (prepareFile, latex): use Path rather than MakeAbsPath.
4081 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4083 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4084 proper fix to the graphics cache.
4085 (latex): "really" nice output if the file is not found ;-)
4087 2002-03-26 Juergen Vigna <jug@sad.it>
4089 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4090 (collapseParagraphs): fixed inserting of separator ' '
4092 * insettabular.C (insertAsciiString): only check for buffer lenght
4093 not if we have \t or \n inside the buffer as if we don't have we only
4094 have 1 cell and that's it!
4096 * insetert.C (close): don't collapse if inlined.
4098 2002-03-25 Herbert Voss <voss@lyx.org>
4100 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4101 graphics file does not exist.
4103 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4105 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4106 path when preparing export.
4108 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4109 no longer MakeRelPath.
4111 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4113 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4114 Used to determine the absolute path to the graphics file in the
4115 graphics cache and only in the graphics cache.
4116 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4117 make graphics file name absolute if it is stored as a relative path.
4119 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4120 make graphics file name absolute if it is stored as a relative path.
4122 * insettext.C (edit): emit an updateParagraph signal on entering a text
4123 inset. Needs to be emitted when leaving the inset also.
4125 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4127 * all files: ws cleanup
4129 * Makefile.am: remove ld -r stuff
4131 2002-03-21 Juergen Vigna <jug@sad.it>
4133 * insettext.C (appendParagraphs): new function added to append
4134 the paragraphs to this insets paragraphs.
4136 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4138 * Makefile.am: special rules if partial linking
4140 2002-03-19 Juergen Vigna <jug@sad.it>
4142 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4144 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4146 * insetgraphics.C: Clean up Baruch's comments a little.
4147 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4149 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4152 * insettheorem.C: wrap warnings
4154 * insetgraphics.C: improve messages, move cached_status_
4155 setting to safer place
4157 2002-03-18 Juergen Vigna <jug@sad.it>
4159 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4161 (localDispatch): ditto
4163 * insettext.C (edit): removed unneeded showCursor calls.
4164 (localDispatch): ditto.
4166 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4168 * insetgraphics.h: remove display() method.
4170 2002-03-11 Juergen Vigna <jug@sad.it>
4172 * insetgraphics.C (draw): hack to fix the redrawing bug.
4173 (draw): seems this fixes #268 (force redraw of row if we changed).
4175 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4176 this inset text (don't know why I missed this earlier).
4178 2002-03-08 Juergen Vigna <jug@sad.it>
4180 * insettabular.C (updateLocal): do a FULL update if we're not locked
4181 and only a CELL update is asked.
4183 * insettext.C (updateInsetInInset): update insets inside inset also
4184 if it isn't inside the_locking_inset.
4186 * insettabular.C (updateInsetInInset): ditto.
4188 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4190 * insetexternal.C (doSubstitution): check whether we are using a
4191 temp dir for defining $$FPath
4193 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4196 * insettext.C: remove #include "WorkArea.h".
4198 2002-03-06 Juergen Vigna <jug@sad.it>
4200 * insettext.C (draw): fixed frame redrawing.
4201 (clear): forgot to set the inset_owner of the paragraph.
4203 * insetert.C (status): pay attention the bv can be 0 here!
4204 (getMaxWidth): add the default leftMargin
4206 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4208 * insetert.C (getMaxWidth): make w unsigned int.
4210 2002-03-05 Juergen Vigna <jug@sad.it>
4212 * insetert.C (status): change behaviour of Inlined.
4213 (getMaxWidth): added for new inlined behaviour.
4215 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4217 * insetnote.h (linuxdoc, docbook): add empty methods.
4218 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4219 before being initialized.
4221 2002-03-05 Juergen Vigna <jug@sad.it>
4223 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4224 only that one in the inset. Should be enough.
4225 (updateLocal): set the selection cursor always if we don't have a
4226 selection to be sure it's set!
4228 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4230 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4232 * insettext.C (clear): a gross hack to set layout on a newly
4235 2002-03-04 Juergen Vigna <jug@sad.it>
4237 * insettabular.C (localDispatch): inserted handling of
4238 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4239 (insertAsciiString): new helper function.
4241 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4243 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4246 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4248 * insettext.C (InsetText): initalize newly created par with
4249 default layout. add bufferparams parameter
4252 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4253 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4254 * insetert.[Ch] (InsetERT): ditto
4255 * insetfloat.[Ch] (InsetFloat): ditto
4256 * insetfoot.[Ch] (InsetFoot): ditto
4257 * insetfootlike.[Ch] (InsetFootLike): ditto
4258 * insetmarginal.[Ch] (InsetMarginal): ditto
4259 * insetminipage.[Ch] (InsetMinipage): ditto
4260 * insetnote.[Ch] (InsetNote): ditto
4261 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4263 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4265 * insettext.C: layout as string
4267 * insetinclude.C: layout as string
4269 * insetert.C: layout as string
4271 * insetbib.C: layout as string
4273 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4276 * insettabular.C: remove #include "lyx_gui_misc.h".
4278 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4283 * inset.h: remove figinset, yahoo !
4285 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4287 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4288 copy c-tor and initialise member variables in the correct order.
4290 2002-02-28 Juergen Vigna <jug@sad.it>
4292 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4294 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4296 * inset.h: ... and add a better one here.
4298 * insetcommand.C (insetButtonRelease): remove that one which was a
4301 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4303 * insetcommand.C (insetButtonRelease): ... and move it here.
4305 * inseturl.h: remove insetButtonRelease from there...
4307 2002-02-26 Juergen Vigna <jug@sad.it>
4309 * inseturl.h: Added a insetButtonRelease call returning true as
4312 * insetlabel.C (edit): Fixed wrong update handling after change I
4313 leave in the wrong code for the one who wrote it to remove and have
4314 a look what he did wrong.
4316 * insettabular.C (localDispatch): force a SELECTION update if we
4317 had a selection and we passed the event down to the inset (fix #213)
4318 (localDispatch): handle font changing stuff when we have a cell
4319 selection so that the selection is not rewoked. I don't really like
4320 this fix, but it's the only way I see to do it right now.
4322 2002-02-22 Juergen Vigna <jug@sad.it>
4324 * insettext.C (insetUnlock): set the cursor to the second paragraph
4325 if available and if the first one is empty (fix #191).
4327 2002-02-20 Juergen Vigna <jug@sad.it>
4329 * insettext.C (getDrawFont): implemented this function to call the
4330 one of the owner if present as the owner normally knows what to do
4333 * insetert.C: implement getDrawFont() function and comment out all
4334 the crap for setting a special latex font inside this inset.
4335 (InsetERT): added a Lanugage parameter to this constructor.
4337 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4338 change the font for being drawn on screen (used only in InsetERT for
4341 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4342 and also above (was missing).
4343 (updateLocal): don't remove the cell selection if we have one this
4344 should be done where we really want to remove it.
4346 2002-02-20 José Matos <jamatos@fep.up.pt>
4348 * insetinclude.h: include_label made string const.
4350 * insetinclude.C (InsetInclude): moved include_label initialization.
4353 (validate): fix support for temporary directory, for docbook and
4356 * insetgraphics.h : new private member, graphic_label, that holds
4357 the entity name that defines the graphics location (SGML).
4359 * insetgraphics.C (unique_id): new function to give a unique label
4362 (validate): the file locatation is given by an entity reference.
4364 2002-02-18 Herbert Voss <voss@lyx.org>
4366 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4368 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4370 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4371 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4373 2002-02-18 José Matos <jamatos@fep.up.pt>
4375 * insetinclude.C (validate): some code only applies to latex buffers,
4376 it was made conditional.
4378 2002-02-12 Herbert Voss <voss@lyx.org>
4380 * insetgraphics.C: (prepareFile) do not check at this time
4381 if the file is present.
4383 2002-02-12 Herbert Voss <voss@lyx.org>
4385 * insetgraphics.C: latex(), return the correct newlines
4387 2002-02-13 José Matos <jamatos@fep.up.pt>
4389 * inseturl.C (docbook): escape & in url.
4391 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4393 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4394 after HYPHENATION and MENU_SEPARATOR
4396 * inset.h (isLineSeparator): new method, returns false by default.
4398 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4400 * insetert.C (status): do not update the text inset, but the ERT
4403 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4405 * insetnote.C: use notebg for background
4407 2002-02-08 Herbert Voss <voss@lyx.org>
4410 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4411 prevent LyX from unzipping when this should be handled
4412 by latex vis the graphic.cfg.
4415 2002-02-08 Herbert Voss <voss@lyx.org>
4417 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4418 exists, than return filename with extension
4420 2002-02-06 Herbert Voss <voss@lyx.org>
4422 * insetgraphic.C: prepareFile(): don't convert the file, when
4423 it's not viewed in LyX. Saves a lot of time when opening a
4426 2002-02-05 Herbert Voss <voss@lyx.org>
4429 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4430 and adding a rotate bool similiar to subcaption
4432 2002-02-04 Herbert Voss <voss@lyx.org>
4435 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4436 similiar view to the LaTeX one. Get zipped files work.
4438 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4440 * insetgraphicsParams.C (init): set display to DEFAULT.
4441 No longer #include "lyxrc.h".
4443 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4445 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4446 for now (so that the code compiles).
4448 2002-02-02 Herbert Voss <voss@lyx.org>
4450 * insetgraphic.C: delete inVariant() and some minor changes
4451 * insetgraphicsParams.[C]:
4453 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4455 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4456 interogate lyxrc.display_graphics before diaplaying the graphic.
4458 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4459 InsetGraphicsParams::DisplayType.
4461 2002-01-31 Herbert Voss <voss@lyx.org>
4463 * insetgraphic.C: (readfigInset) set display to pref-default
4465 2002-01-30 Herbert Voss <voss@lyx.org>
4467 * insetgraphic.C: get the filetyp from it's contents
4468 * insetgraphicparams.C: add token scale and lyxrc.display when
4469 creating a new inset
4471 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4473 * figinset.C: added using std::ios directive.
4475 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4477 * figinset.C (runqueue): open translation file in binary mode (for
4480 2002-01-27 Herbert Voss <voss@lyx.org>
4482 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4483 all options and to be sure that the old figinsets are correct
4485 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4486 structure and to support all lengths as LyXLength. The Parameter
4487 structure changed again, but reading of "old" 1.2 graphic insets
4490 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4492 * insetert.h (forceDefaultParagraphs): Added
4494 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4496 * insettabular.C (getMaxWidth):
4497 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4499 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4501 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4502 of LyXLength::inPixels
4504 * inset.C (latexTextWidth):
4505 * insetminipage.C (latexTextWidth): new method, which implements
4506 the equivalent of the LaTeX macro \textwidth
4508 * insetminipage.C (getMaxWidth): use latexTextWidth
4510 2002-01-18 Juergen Vigna <jug@sad.it>
4512 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4514 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4516 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4518 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4521 2002-01-17 Juergen Vigna <jug@sad.it>
4523 * insettabular.C (lockInsetInInset): same change as in insettext.
4525 * insettext.C (draw): width() function was called without setting
4526 the right top_x which could lead to wrong insetWidth setting!
4527 (lockInsetInInset): call edit instead of calling lockInset if we
4528 have to lock an inset inside!
4529 (edit): we have to also tell the inset that we have to redraw the
4530 frame on an edit call if this inset draws a frame only if locked.
4532 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4534 * insetbib.C (getFiles): uncomment Path variable.
4536 2002-01-16 Juergen Vigna <jug@sad.it>
4538 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4541 2002-01-16 Allan Rae <rae@lyx.org>
4543 * insetinclude.C (docbook): someone forgot a ";"
4545 2002-01-16 José Matos <jamatos@fep.up.pt>
4547 * figinset.C (docbook): removed a old place holder "@".
4548 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4549 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4550 ascii text version, clearly guarded inside a CDATA section.
4551 (docbook): in docbook 4, inlinegraphics is empty.
4552 * insettabular.C (linuxdoc): export the ascii version of the table
4553 inside a CDATA section.
4555 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4557 * insetparent.C (InsetParent):
4558 * insetgraphicsParams.C (Write):
4560 * insetgraphics.C (prepareFile):
4563 * insetexternal.C (executeCommand):
4564 (doSubstitution): use Buffer::filePath
4566 * insetbib.C (getFiles): add a #warning for Angus
4568 * insetgraphics.C: Add a remark about how filenames should be
4569 considered to be relative to buffer (but absolute is still allowed)
4570 (draw): do not try to get status if lyxrc.use_gui is false
4572 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4575 * insetcollapsable.[Ch]:
4576 * insettabular.[Ch] (searchForward, searchBackward): change the
4577 bool const & params to bool.
4579 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4580 to avoid the name clash with InsetCollapsable's methods of the same
4581 names but different functionality.
4583 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4585 * insettext.C (ascii): use lyx::count rather than countChar.
4587 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4589 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4591 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4593 * insetgraphics.C (updateInset): do not try to render image if
4594 lyxrc.use_gui is false (bug #104)
4596 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4597 if file does not exist
4599 * figinset.C (browseFile): add shortcuts to directory buttons
4601 * insettext.C (updateLocal): update menubar and toolbar here too.
4603 2002-01-13 Allan Rae <rae@lyx.org>
4605 * insettabular.C (InsetTabular): Both constructors now initialise
4606 all class variables.
4608 2002-01-11 Juergen Vigna <jug@sad.it>
4610 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4612 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4614 * insettabular.C (getStatus): add forgotten brace around multiline
4617 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4619 * insetfloat.C (validate): require "float" instead of "floats".
4621 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4623 * insettabular.C (getStatus): use FuncStatus
4625 2002-01-08 Juergen Vigna <jug@sad.it>
4627 * insettabular.C (insetButtonRelease): now this should work too
4630 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4631 if the width is a percentage.
4633 * inset.h: added isChar() function and implemented this for
4634 insetspecialchar insetquotes and insetlatexaccent.
4635 added forceDefaultParagraphs() and implemented it for insettabular.
4637 2002-01-07 Juergen Vigna <jug@sad.it>
4639 * insettext.C (getLyXText): Fixed this function. An insert into the
4640 map is only done if we REALLY have a new BufferView.
4642 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4644 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4646 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4648 * insetinclude.C: fix use of FileInfo
4650 2002-01-07 Juergen Vigna <jug@sad.it>
4652 * insettabular.C (draw): fixed clearing of cell around inset.
4654 2002-01-05 Juergen Vigna <jug@sad.it>
4656 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4657 variables are updated.
4659 * insettabular.C (resetPos): set always the inset_y as it may be
4660 needed in another function.
4661 (searchBackward): don't draw while searching.
4663 2002-01-04 Juergen Vigna <jug@sad.it>
4665 * insettext.C (lockInsetInInset): forgot to set a cursor.
4667 2002-01-02 Juergen Vigna <jug@sad.it>
4669 * insettext.C (insertInset): make the correct undo informations on
4670 inserting new insets.
4672 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4674 * insettabular.C: correct single-cell select vertically
4676 2001-12-27 Juergen Vigna <jug@sad.it>
4678 * insettabular.C (ascii): export as tab-separated-values if the
4679 function was not called from export (f.ex.: clipboard).
4681 * insetcollapsable.h: added default support for ascii, linuxdoc and
4682 docbook export (the insettext is exported by default!)
4684 * insettabular.C (copySelection): suff the clipboard with the tabular
4685 data in a tab separated format, seems more naturals then with all the
4688 2001-12-24 Juergen Vigna <jug@sad.it>
4690 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4691 to check for REAL mouseMotion.
4693 2001-12-20 Juergen Vigna <jug@sad.it>
4695 * inset.C (cursor): return the owners cursor if available instead of
4696 always only the bv->text->cursor.
4698 * insettabular.C (checkLongtableSpecial): works now.
4700 2001-12-19 Juergen Vigna <jug@sad.it>
4702 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4703 this has to be always row + 1 as 0 means not selected!
4704 (checkLongtableSpecial): added
4705 (tabularFeatures): better longtable options support
4707 * insettext.C (resizeLyXText): reinit the text always also on a
4710 2001-12-18 Juergen Vigna <jug@sad.it>
4712 * insettext.C (updateInsetInInset): look if we have to autocollapse
4713 paragraps and return if the update is requested for ourself.
4715 * insetert.C (status): update the insettext not myself as that is what
4718 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4719 function only return if the update was requested with myself.
4721 * insettext.C (insetButtonPress): fixed stupid bug.
4722 (various functions): pay attention that lt is cleared BEFORE calling
4723 updateLocal() and try to use it in the right manner (don't use it
4724 if it's not really neccessary!)
4725 (collapseParagraphs): insert a blank between collapsing paragraphs
4726 if neccessary (not already there!).
4728 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4730 * insettabular.C: move includes around a bit, add a couple of
4733 * insettext.[Ch]: move includes around a bit, other ws changes and
4736 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4738 * insettext.C (insetButtonRelease): fix compile problem
4740 2001-12-17 Juergen Vigna <jug@sad.it>
4742 * insettext.C (insetButtonPress): set the selection cursor!
4743 (insetButtonPress): clear the selection (and set with that the
4744 selection.cursor) if we only hit an inset!
4746 * insetert.C (read): removed piece of compatibility code only needed
4749 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4752 * insetcollapsable.C (insetButtonRelease): changed so that it can
4753 open eventual existing popup dialogs on mousebutton==3.
4755 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4757 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4759 * inset.C (insetButtonRelease): return a bool for telling the outer
4760 world that we opened a dialog.
4762 2001-12-07 Juergen Vigna <jug@sad.it>
4764 * insettext.C (paragraph): remove the deleteing of paragraphs as
4765 it was a WRONG move!
4767 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4770 * insettabular.C: use new setSelection(). Allow
4771 selection of single cells.
4773 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4775 * insetquotes.C (latex): fix to use the local language setting at
4776 the point where the inset is inserted (different macros for
4777 different french packages)
4779 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4781 * inset.h: add par_owner_ member variable and parOwner
4784 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4786 * insettabular.C (everywhere): adapt because widths are now real
4787 widths and not strings
4789 * insettext.C (draw): re-introduce the calls to width(), ascent()
4790 and descent() to initialize the caching variables.
4792 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4794 * insettext.C (draw):
4795 (drawFrame): use insetWidth instead of last_width
4797 * insettext.h: remove variable last_width (insetWidth is exactly
4798 the same) and last_height (computed but never used!)
4800 2001-12-10 Allan Rae <rae@lyx.org>
4802 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4804 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4806 * insettext.C (insetAllowed): add comment
4808 2001-12-05 Juergen Vigna <jug@sad.it>
4810 * insettext.C (insetAllowed): fixed for the case that we directly
4811 ask the insettext from its LyXText.
4812 (paragraph): fixed the crash when assigning the par->next() from
4813 the EmptyParagraphMechanism!
4815 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4819 * insettext.C: change "while(" to "while ("
4821 2001-12-04 Juergen Vigna <jug@sad.it>
4823 * insetert.C (edit): handle Inlined status.
4825 * insettext.C (insertInset): trying John's fix for the trailing cursor
4827 * insetert.C (insetButtonPress): added to handle inlined status
4828 (insetMotionNotify): ditto.
4830 * insettext.C (clearInset): changed Painter & in BufferView * param,
4831 to be able to call ascent,descent methods.
4833 2001-12-03 Juergen Vigna <jug@sad.it>
4835 * insettext.C (updateInsetInInset): use lt variable to forbid
4836 changes of LyXText in an update call.
4837 (updateInsetInInset): fixed updating of non locked insets!
4839 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4841 * insettabular.C: capture some more functions to prevent
4842 selection drawing problems. Bug #451274
4844 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4847 * insetgraphicsParams.C: fix inverted sense of float_equal
4849 2001-11-30 Juergen Vigna <jug@sad.it>
4851 * insettabular.C (InsetTabular): use the save_id flag to create also
4852 the tabular with the same id's.
4854 * insettext.C (setParagraphData): added a same_id function for undo
4855 to set the same paragraph id's as of the paragraph we are setting.
4857 2001-11-30 José Matos <jamatos@fep.up.pt>
4860 * insettoc.[Ch]: DocBook -> docbook.
4862 2001-11-29 André Pönitz <poenitz@gmx.net>
4865 * insettext.C: further reduction of header dependencies by using
4866 lyx::layout_type and lyx::textclass_type from support/types.h
4868 2001-11-29 Juergen Vigna <jug@sad.it>
4870 * insettext.C: inserted a reinitLyXText function everywhere I delete
4871 the paragraphs! This should fixe the crashes we had.
4872 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4873 (paragraph): set the InsetOwner() of the new paragraphs!
4875 2001-11-28 André Pönitz <poenitz@gmx.net>
4877 * insetnote.C: add pos initialization that I removed without
4880 2001-11-28 Juergen Vigna <jug@sad.it>
4882 * insettabular.C (resetPos): hack to not crash with infinite paints.
4884 * insettabular.h: insert missing function allowSpellcheck()!
4886 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4888 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4891 * insetfloatlist.C: derive from InsetCommand so gui can use it
4894 2001-11-26 André Pönitz <poenitz@gmx.net>
4898 * insetnote.C: reduce header dependencies, introduce type for
4901 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4903 * various: update for Alert.h
4905 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4907 * inset.h: fix comment
4909 * insettext.C: use par->isInset()
4911 2001-11-22 Allan Rae <rae@lyx.org>
4913 * insetcollapsable.h:
4914 * inset.h: Changes to checkInsertChar() behaviour.
4915 Now return value indicates whether chars can be inserted.
4917 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4919 * various: updated to use the new LaTeXFeatures
4921 2001-11-14 José Matos <jamatos@fep.up.pt>
4923 * insetspecialchar.C (linuxdoc):
4924 (docbook): don't give a name to a unused variable.
4926 * insettext.C (docbook): removed unused variable.
4928 2001-11-13 Herbert Voss <voss@perce.de>
4930 * insetgraphic.C: fix scale bug
4932 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4934 * inset.h (isSpace):
4935 (isLetter): new virtual methods.
4937 * insetspecialchar.C (isSpace):
4938 (isLetter): implement here.
4940 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4942 * inset.h: new inline helpers
4944 * insettext.C: use new helpers
4946 2001-11-07 José Matos <jamatos@fep.up.pt>
4948 * insettext.C (docbook): full support for paragraphs inside insettext.
4950 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4952 * insetindex.C: added header file for std::ostream.
4954 2001-11-03 José Matos <jamatos@fep.up.pt>
4956 * insetindex.C: added using std::ostream that I forgot yesterday.
4958 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4960 * insetindex.h (docbook):
4961 * insetindex.C (docbook): added support for docbook export.
4963 2001-11-02 José Matos <jamatos@fep.up.pt>
4965 * insetcaption.C(docbook): added support for docbook export.
4967 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4969 * insetexternal.C (updateExternal): Do not run update command if
4970 result file exists and is up to date.
4972 * ExternalTemplate.C (readFormat): Support the updateresult token.
4974 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4976 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4977 external_templates) to use the buffer->fileName() but only if
4978 previewing. Generating a TeX file should make FPath return
4981 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4984 * insetert.C: fix some problems
4986 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4988 * insetexternal.C (doSubstitution): Added $$FPath token
4989 to list of usable substitutions in external inset templates.
4991 2001-10-24 Juergen Vigna <jug@sad.it>
4993 * insettabular.C: use new ltType struct for setting longtable
4994 header and footers also new UNSET enums.
4996 2001-10-24 José Matos <jamatos@fep.up.pt>
4998 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4999 (docbook): If the table is not inside a float then wrap it inside
5000 <informaltable>...</informaltable>.
5002 2001-10-23 José Matos <jamatos@fep.up.pt>
5004 * insetref.C (docbook): removed / terminator to conform SGML.
5006 * insetspecialchar.C (linuxdoc):
5007 (docbook): Added support for special chars, more than ascii export.
5009 2001-10-22 Juergen Vigna <jug@sad.it>
5011 * insettext.C (checkInsertChar): added for REALLY checking the
5012 font of the inserted char in the right inset!
5014 2001-10-19 Juergen Vigna <jug@sad.it>
5016 * inset.h: added method allowSpellcheck() so that insets who do
5017 not have anything to spellcheck can tell and so they are over-jumped.
5018 Implemented for InsetText and co.
5020 2001-10-18 Juergen Vigna <jug@sad.it>
5022 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5024 2001-10-15 José Matos <jamatos@fep.up.pt>
5026 * insetert.C: allow export for docbook and linuxdoc
5028 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5030 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5032 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5034 * insetquotes.C (dispString): fix handling of latin9 quotes
5036 2001-10-03 Juergen Vigna <jug@sad.it>
5040 * insetcollapsable.C: change updateInset calls to not tell BV that
5041 we have changed status.
5043 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5045 * insettabular.C (deletable): make const
5047 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5049 * insetert.C (latex): Fix the returned value
5051 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5053 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5054 Returns string(), so nothing in an ERT inset is spellchecked.
5056 * insetgraphics.C (draw): print the filename if not displaying the
5058 (width): make sure that the width and draw methods are consistent.
5059 (updateInset): don't even load the image into cache if not displaying
5062 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5064 * various files (selectNextWord): renamed as
5065 selectNextWordToSpellcheck.
5067 * insetgraphics.C (draw): remove the previous change. Right place
5068 is in imageLoaderXPM.C.
5069 (draw): don't display the image if params.display == NONE.
5071 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5073 * figinset.C (runqueue):
5074 * insetgraphics.C (draw): set background colour of inset from
5075 background to the user-configurable graphicsbg.
5077 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5079 * insetquotes.C (InsetQuotes): when trying to decide the side of
5080 the quote, choose `left' only after a space or '('
5082 2001-09-04 José Matos <jamatos@fep.up.pt>
5087 * insetcollapsable.h
5105 * insetlatexaccent.C
5106 * insetlatexaccent.h
5111 * insetspecialchar.C
5112 * insetspecialchar.h
5116 * insettext.C (docbook): rename docBook method to docbook.
5118 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5120 * inset.h (getFirstParagraph): New virtual method.
5122 2001-08-20 Herbert Voss <voss@perce.de>
5123 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5124 in the the bibtex-database-gui for inserting a line
5127 If no style is given than there is no tex-output.
5129 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5131 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5135 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5137 * insetert.C (latex): Fix output for multiple paragraphs.
5138 (write): New code for writing paragraph data.
5139 (read): Set font after reading the inset.
5140 (localDispatch): Call set_latex_font() for more cases.
5142 * insetnote.h: Add empty validate method.
5145 * insetnote.C (InsetNote): Set language to the language of the
5148 2001-08-16 Juergen Vigna <jug@sad.it>
5150 * insettext.C: implemented the new FINISHED states.
5152 * insettabular.C: ditto
5154 * inset.h: added more FINISHED states for cursor right,up,down
5156 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5158 * insetfloatlist.C: use "FloatName List"
5160 2001-08-14 Juergen Vigna <jug@sad.it>
5162 * insetert.C (edit): forgot to set status_ in edit calls!
5164 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5166 * insettext.C: Compilation fix
5168 2001-08-13 Juergen Vigna <jug@sad.it>
5170 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5172 * insetcollapsable.C (edit): don't recollapse an already open inset.
5174 * insettext.C: fixed problem when reinitializing LyXText by not doing
5175 it while lt is in use and post this to the next possible time in
5177 (searchForward): fixed not unlocking of inset if nothing found.
5178 (edit): set cursor behind right (was set -1 pos).
5180 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5182 * insettabular.C (tabularFeatures): fixed fix where deleting the
5183 last row didn't get the right actcell!
5185 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5187 * insettext.C (localDispatch): Change language only when the inset
5190 2001-08-10 Juergen Vigna <jug@sad.it>
5192 * insettabular.C (selectNextWordInt): use the front using edit call.
5194 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5195 the parameter overwrite class variable inset.
5197 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5199 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5200 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5202 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5203 update only for fixed with cells.
5204 (resetPos): try to fix the lockup on spellchecking or s&r.
5206 * insettext.C (update): comment this out as it seems first wrong
5207 and second not needed anymore!
5208 (some functions): call reinitLyXText() only in update() in all other
5209 positions set only need_update = INIT.
5211 2001-08-08 Juergen Vigna <jug@sad.it>
5213 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5215 * insettext.C (insetUnlock): remove double-space on inset unlock.
5217 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5219 * insettabular.C (update): fixed cursor positon after an insert.
5220 (insetAllowed): do not allow to insert insets when not inside the
5222 (draw): clear below an inset too as it could have changed height.
5224 * inset.C (getMaxWidth): fixed width for inset in inset.
5226 * insettext.C (update): small fix.
5228 * insettabular.C (tabularFeatures): added selection support to
5229 DELETE_ROW/DELETE_COLUMN.
5231 2001-08-07 Juergen Vigna <jug@sad.it>
5233 * inset.C (getMaxWidth): recoded and all it's implementations!
5235 * insettext.C (init,setParagraph+constructors): cleanups
5236 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5237 are new and I want do a save/restore of the cursor position which is
5238 not possible anymore.
5240 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5241 (searchBackward): ditto
5242 (selectNextWord): ditto
5244 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5246 * insetlatexaccent.C (checkContents): Add some debug messages
5248 2001-08-07 Juergen Vigna <jug@sad.it>
5250 * insetert.C (read): don't use InsetCollapsable::read as we don't
5251 write the collapsed status anymore only the status.
5254 2001-08-06 Juergen Vigna <jug@sad.it>
5256 * insetert.C (set_latex_font): use LyXText's setFont directly.
5258 * insettext.C (drawFrame): fixed one time more the right position
5259 and size of the frame!
5261 * insetert.C (~InsetERT): hide the dialog.
5262 (showInsetDialog): added implementation
5265 (status): new function for the status of the ERT inset (3-state).
5266 (write): output also the status of the inset for readback!
5267 (read): readback the status if available otherwise use collapsed_.
5269 * insettext.C (edit): small fix of setting the position, which could
5272 * insetert.C (width): implement this function for inlined viewing.
5273 Added minimum width of 10 pixels!
5275 * insetminipage.C (InsetMinipage): just change the colors a bit so
5276 that border/background is a bit more visible. We will remove this
5279 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5280 function for getting the important widths for drawing in various
5281 functions and in LyXText.
5282 (draw): fixed up a bit (frame drawing/clearing)
5284 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5286 * inset.C (convertFont): delete method. not used.
5288 2001-08-03 Juergen Vigna <jug@sad.it>
5290 * insettext.C (setFont): don't call for a draw update if we're just
5291 changing the cursor font!
5293 2001-08-02 Juergen Vigna <jug@sad.it>
5295 * insettext.C (draw): clear the background with the right color if
5296 needed. Update myself if x&max-width changed and return without doing
5297 anything. Let the update code handle the right stuff.
5299 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5300 inside another inset.
5302 2001-08-01 Juergen Vigna <jug@sad.it>
5304 * insetcollapsable.C (update): added an in_update bool so we avoid
5307 * insettabular.C (update): added an in_update bool so we avoid
5310 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5312 (update): added an in_update bool so we avoid reentering.
5314 * insettabular.C (localDispatch): clear col/row selection when doing
5315 something else inside an inset.
5317 * insettext.C (getLyXText): fixed bug when requesting a recursive
5320 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5322 * insetcite.C (latex): Paranoia check. Make sure that there is no
5323 whitespace between the citation keys.
5325 2001-07-31 Juergen Vigna <jug@sad.it>
5327 * inset.h (nodraw): make the set function also const so that this
5328 can be called from inside other const functions.
5330 * insetcollapsable.h: removed inline variable and moved it over
5331 to the only user InsetERT.
5333 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5334 inset opening immediately therein lying insets dialogs!
5336 * insetert.C (localDispatch): set the font also if we don't have any
5337 chars in this paragraph, otherwise if we delete all of em and start
5338 writing we have the wrong font.
5340 (draw): implemented for inline support
5341 (insetButtonRelease): ditto.
5343 2001-07-30 Juergen Vigna <jug@sad.it>
5345 * insettext.C (reinitLyXText): new function to reinit the insets
5346 text after lot's of paragraph changes. Use this instead of the
5347 cache.clear() which is VERY dangerous.
5349 * insetfloat.C (insetButtonRelease): we should only show the dialog
5350 if we press on the label otherwise we have problems to open mouse
5351 button 3 dialogs inside this float (f.ex. of a tabular!)
5353 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5355 * insetert.C: change back to "ERT"
5357 * insetfloat.C: handliign of RMB on label added.
5359 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5361 * insetgraphicsParams.C: #include LOstream.h here.
5363 * insetfoot.h: remove InsetFoot:: qualifier.
5365 2001-07-29 Baruch Even <baruch@lyx.org>
5367 * ChangeLog: Hiding time travel evidence.
5369 * insetgraphicsParams.h:
5370 * insetgraphicsParams.C:
5371 * insetgraphics.C: Added horizontal scale option, it actually scales both
5372 directions since it keeps image proportions.
5374 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5376 2001-07-29 Baruch Even <baruch@lyx.org>
5378 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5379 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5381 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5383 2001-07-29 Baruch Even <baruch@lyx.org>
5385 * insetgraphics.C: Added EPSI to be an alias of EPS.
5387 2001-07-29 Baruch Even <baruch@lyx.org>
5389 * insetgraphics.C: Change GRAPHICS to Graphics.
5390 Changed image conversion rules (documented at the beginning of file).
5392 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5394 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5397 * insetgraphics.C: added a using std::endl directive.
5399 * insetcommand.h (getScreenLabel): removed pure virtual function,
5400 as it duplicates that in InsetButton.
5402 * insetbib.[Ch] (getScreenLabel):
5403 * insetbutton.[Ch] (getScreenLabel):
5404 * insetcite.[Ch] (getScreenLabel):
5405 * insetert.[Ch] (getScreenLabel):
5406 * insetexternal.[Ch] (getScreenLabel):
5407 * insetfloatlist.[Ch] (getScreenLabel):
5408 * insetinclude.[Ch] (getScreenLabel):
5409 * insetindex.[Ch] (getScreenLabel):
5410 * insetlabel.h (getScreenLabel):
5411 * insetparent.[Ch] (getScreenLabel):
5412 * insetref.[Ch] (getScreenLabel):
5413 * insettoc.[Ch] (getScreenLabel):
5414 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5416 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5418 (validate): remove check on "cite" when using natbib.
5420 2001-07-26 Baruch Even <baruch@lyx.org>
5422 * insetgraphics.C (draw): changed casting to be in one place rather than
5423 all over the function.
5426 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5428 * insetgraphicsParams.h:
5429 * insetgraphicsParams.C:
5430 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5432 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5434 * insetfoot.C (validate): Added method to ensure that the
5435 right bit of LaTeX is emitted.
5437 * insetfoot.h: Added validate method to set the correct
5438 LaTeXFeatures bit for the special footnote code.
5440 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5442 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5445 2001-07-27 Juergen Vigna <jug@sad.it>
5447 * inset.h: remove not used font variable in parameter.
5448 removed checkInsertChar in UpdatableInset as it was equal to
5449 the one in Inset and so not needed.
5451 * insetert.C (checkInsertChar): implementation of function
5454 * inset.h: added new function checkInsertChar.
5456 * various files: added c-tor and clone() function.
5458 * insetcollapsable.h: removed clone function here as this should
5459 be only realized in REAL insets and added it to all collapsable
5460 insets! (with the copy-constructor).
5462 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5464 * insetminipage.C (read): handle missing parameters more gracefully
5466 * insetcollapsable.C (read): handel missing collapsed more gracefully
5468 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5470 * insetfloat.C (read): handle missing parameters.
5472 * insettext.C (read): handle old latex end_inset
5474 * insetert.C (setButtonLabel): new method
5475 (init): use it, to set the dynamic label correctly
5478 * Makefile.am (EXTRA_DIST): add files that is not part or the
5481 * insetcollapsable.h: remove autocollapsable (no users), remove
5482 draw_label, change_label_with_text and companion code. Remove args
5484 * insetert.[Ch]: move here instead (only user)
5486 * inset.h: rename private variable name to name_, make
5487 selectNextWord return a const string. make getInsetName return a
5488 string const &. Remove bool from open, add close.
5490 * Makefile.am: don't compile insetlist, insetsection
5493 2001-07-24 Juergen Vigna <jug@sad.it>
5495 * insetert.C (InsetERT): put init after the paragraph initialization,
5496 as otherwise we don't set the draw_label right.
5498 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5499 insets with the mouse without having strange selections.
5500 (edit): if the inset was collapsed and we open it here then put the
5501 cursor always at the beginning of the inset.
5502 (get_new_label): 15 instead of 10 max chars in the label.
5504 * insetert.C (localDispatch): added and handle various stuff we
5505 need to handle here (font setting on paragraph break, not permitted
5506 layout setting, etc.).
5508 * inset.h: added default copy-consturctor and implemented this in
5509 various insets with the change to use this in the clone function!
5511 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5513 * insetminipage.C (InsetMinipage): set background color to red :)
5515 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5517 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5518 draw frame mode is LOCKED.
5520 * insetcollapsable.C (edit):
5521 (insetButtonRelease): set update status to full when
5524 * insettext.C (clearInset):
5525 * insettabular.C (draw):
5526 * insetlatexaccent.C (draw): honor background color.
5528 * inset.h: new member background_color_, initialized to
5531 * inset.C (backgroundColor): new method.
5532 (setBackgroundColor): new method.
5534 * insetert.C (init): new method, called by the ctors.
5535 (InsetERT): when inserting contents, make sure the font is
5538 * insetnote.C (InsetNote): when inserting content, remove trailing
5540 (init): set background color to LColor::note
5542 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5544 * insetcollapsable.C: adjust
5546 * insetbutton.C: adjust
5548 2001-07-23 Juergen Vigna <jug@sad.it>
5550 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5551 parameter on the _collapsed function (was not needed) and call
5552 always width_collapsed().
5554 * insetert.C (InsetERT): use setLabel with "true" flag.
5556 * insetcollapsable.C: modified various functions to set the draw_label
5557 string right in any condition.
5558 (setLabel): added a bool parameter to set change_label_with_text.
5560 * insetcollapsable.h: added draw_label string which is set to the
5561 actual drawn label-string, while label is the original static label
5562 of this collapsable inset. Added bool change_label_with_text to set
5563 if we want that the label changes to the start of the InsetText's
5564 text when collabpsed. You can set this flag with the setLabel funciton.
5565 Added bool inlined for inlined collapsable insets, but not handled
5568 * insetcollapsable.C (get_new_label): added should get a new label
5569 from the InsetText beginning (for now 10 chars).
5571 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5573 * insetquotes.C (latex): fix the handling of french double quotes
5574 when not using the french pachage.
5576 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5578 * insetcollapsable.h: make WidthCollapsed mutable.
5580 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5581 InsetPrintIndex returns INDEX_PRINT_CODE.
5583 * inset.h: add INDEX_PRINT_CODE
5585 * insetcollapsable.C (draw): init widthCollapsed if necessary
5588 * insetquotes.C (width): use the local language, not the document
5591 (dispString): add additional spacing for all french languages,
5593 (validate): make it work when there is no default language
5595 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5597 * insetnote.C (init): new method, called by the constructors
5598 (InsetNote): new constructor with contents passed as a string
5600 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5602 * insetfootlike.C (insetAllowed): disallow float in footlike.
5604 * insetert.C (InsetERT): add collapsed argument to the constrctor
5607 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5609 * insetindex.h: shut off warning
5611 2001-07-20 Juergen Vigna <jug@sad.it>
5613 * insetcollapsable.C (update): recoded hopefully works now!
5615 2001-07-19 Juergen Vigna <jug@sad.it>
5617 * most files: implemented the below new introduced function.
5619 * inset.h: added new edit(BufferView *, bool front) method to be able
5620 to enter an inset from the front/back without knowing x/y positions
5621 and baselines inside the inset. So I just can tell the inset activate
5622 me and set the cursor on the front/back of yourself.
5624 2001-07-18 Juergen Vigna <jug@sad.it>
5626 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5627 is given to the InsetText.
5628 (insetButtonPress): ditto
5629 (insetButtonRelease): ditto
5630 (insetMotionNotify): ditto
5632 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5634 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5635 LIGATURE_BREAK, since the name is so stupid.
5637 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5639 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5640 the default InsetCollapsable methods. I.e., it can insert anything.
5641 (write) output the name of the inset, not some silly hack for
5642 compatability with the old InsetInfo.
5644 * insetinfo.[Ch]: removed.
5645 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5646 now collapsable, but functionality is otherwise identical to InsetInfo.
5648 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5650 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5652 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5655 * insetquotes.C: general cleanup
5656 (dispString): add spaces inside french double quotes.
5657 (latex): ditto. Moreover, treat first the case where the frenchb
5658 or french options have been given.
5660 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5662 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5665 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5667 * figinset.C (RegisterFigure): Print debug message only when
5668 current_view is available.
5670 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5672 * many files: update to match the change below
5674 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5675 implement the version which takes an inset here.
5677 * insetcollapsable.[Ch]: implement open and isOpen
5679 * inset.h: remove insertInsetAllowed from Inset
5680 (open): new method, to open or close an inset
5681 (isOpen): returns the status of an inset
5682 (isCollapsable, colapse): removed
5684 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5686 * insetquotes.C (dispString): display french guillemets when using
5689 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5691 * insetcollapsable.h: remove bogus return statements
5693 2001-07-18 Juergen Vigna <jug@sad.it>
5695 * insettabular.C (selectNextWord): fixed spellchecking for the
5696 first cell of a tabular (wasn't entered!)
5697 (getLyXText): changed to enter automatically insettext and return
5698 it's LyXText if we're locked.
5700 2001-07-17 Juergen Vigna <jug@sad.it>
5702 * various files: implemented the below functions.
5704 * inset.h: added functions
5705 - virtual string selectNextWord(BufferView *, float & value) const;
5706 - virtual void selectSelectedWord(BufferView *) { return; }
5707 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5708 needed for spellchecking correctly!
5710 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5712 * insetert.C (latex): write out all paragraphs.
5714 2001-07-17 Baruch Even <baruch@lyx.org>
5716 * insetgraphics.C (draw): Removed unneeded casts.
5718 2001-07-16 Juergen Vigna <jug@sad.it>
5720 * insettext.C (update): fixed small oversight (reset lt to 0).
5722 2001-07-14 Baruch Even <baruch@lyx.org>
5725 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5727 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5729 Consistent use of Lsstream.h:
5730 * figinset.C: removed using std::ostringstream directive.
5732 * insetgraphics.C (createLatexOptions):
5733 * insetinclude.C (unique_id):
5734 std::ostringstream -> ostringstream.
5735 * insettext.C (localDispatch): std::istringstream -> istringstream.
5737 2001-07-13 Juergen Vigna <jug@sad.it>
5739 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5741 * insetcollapsable.C (getLockingInset): ditto.
5743 2001-07-12 Juergen Vigna <jug@sad.it>
5745 * insetcollapsable.h: added implementation of new function for
5748 * various files: added implementation of new insertInsetAllowed-func
5749 and redone the function a bit more.
5751 * inset.h: added isCollapsable(), bool collapsed(),
5752 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5754 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5756 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5757 LyXText which is marked for removal while we're using it!
5759 * insettext.h: added private LyXText * lt to use it to assure we are
5760 not deleting our LyXText while we're using it!
5762 2001-07-11 Juergen Vigna <jug@sad.it>
5764 * insettext.C (insertInset): check if we are before the inset after
5765 inserting it! This check IS needed. Remove the Undo-Call as it is
5766 called in LyXText::insertInset!
5768 * insettext.h: added struct InnerCache.
5770 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5771 that we ONLY delete the LyXText in the getLyXText() routine. So we
5772 are sure we don't delete LyXText while someone is working with it!
5774 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5776 * insetexternal.C: (*it). -> it->
5777 * insettext.C: ditto
5779 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5781 * insetcollapsable.C (edit): always open collapsed insets (even if
5782 they are not autocollapsable)
5784 * insetcommand.C (operator=): simplify.
5786 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5788 * insetert.C (latex): handle META_NEWLINE
5790 2001-07-09 Juergen Vigna <jug@sad.it>
5792 * insetert.h: a normal InsetText can insert insets, but we won't.
5794 * inset.h: return default "false" on insertInsetAllowed and implement
5795 this function where a returnvalue != "false" is needed.
5797 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5799 * insetert.C (InsetERT): new contructor
5801 2001-07-06 Juergen Vigna <jug@sad.it>
5803 * a lot of files: added implementation of the below new functions
5804 and the change to clone(). Also the call of the new undo-functions
5807 * inset.h: added an inset_id, added functions getParFromID,
5808 getInsetFromID, firstParagraph, cursor and id functions, added
5809 bool same_ids to clone function.
5811 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5813 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5814 of BufferView * and shared_ptr<LyXText>
5816 2001-07-05 Juergen Vigna <jug@sad.it>
5818 * insettext.C (clear): deleted also the cache not only LyXText.
5819 (setParagraphData): ditto.
5821 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5823 * insetfloat.C (latex): let the specific placement take presedence
5824 if set, otherwise choose document placement if set, otherwise just
5825 use float default placement.
5827 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5829 * insettext.C (localDispatch): call CutAndPaste::'s static method
5832 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5834 * insetbib.C: no meed to include forms.h here.
5836 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5838 * insettext.C: added using std::make_pair directive.
5840 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5842 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5844 (deleteLyXText): ditto
5845 (resizeLyXText): ditto
5847 2001-07-02 Juergen Vigna <jug@sad.it>
5849 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5850 following calls are only returned the right pointer without the over
5851 head to search in the map.
5852 (various funcs): reset the cached_bview variable as this signs that
5853 the cache is not valid anymore.
5855 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5857 * insettabular.C (clone): do not copy the LyXTabular twice
5859 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5861 * insettext.h (TEXT): delete method
5863 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5865 * insetmarginal.C (latex):
5866 * insetfoot.C (latex): fix spacing of notes in LaTeX
5868 * insettext.C (localDispatch): use .c_str() on istringstream
5869 constructor argument.
5871 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5876 * inseturl.C: fix method names in these to begin
5877 with small char too, so they inherit
5879 2001-06-28 Juergen Vigna <jug@sad.it>
5881 * insettext.C (setFont): fixed font settings using toggleFree()
5882 instead of setFont().
5884 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5886 * Change a lot of method names to begin with a small char.
5887 Changes to a lot of files because of this.
5889 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5891 * insetfloatlist.C (Write): std:: qualify ostream
5894 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5898 * insetgraphics.C: send debug output to Debug::INFO instead of
5901 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5904 * insettabular.C (getStatus): update to use func_status
5906 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5908 * insetref.C (DocBook): added support for cross-references without
5911 2001-06-26 The LyX Project <jug@sad.it>
5916 * insetlabel.h: removed escape method and moved it to
5919 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5921 * insettabular.C (getMaxWidth): do the speedup in a different way,
5924 2001-06-24 The LyX Project <Asger>
5926 * insettabular.C (getMaxWidth): We cache a mapping from
5927 inset to cell in order to speed this method up.
5929 2001-06-24 The LyX Project <Asger>
5931 * insettext.C: Optimized InsetText::draw or something.
5933 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5935 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5937 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5939 * inset.h: name change from lyxinset.h
5941 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5943 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5945 2001-06-14 Juergen Vigna <jug@sad.it>
5947 * insettext.C (draw): removed warnings.
5949 2001-06-13 Juergen Vigna <jug@sad.it>
5951 * insettabular.C (nodraw): only go down the tree if we don't have
5952 that flag set otherwise it's obvious that we don't want to draw.
5953 (LocalDispatch): do also an update if we have an undispached result.
5955 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5958 * insetgraphicsParams.C:
5959 * insettext.C: removed // -*- C++ -*- as first line.
5961 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5963 * lyxinset.h (resizeLyXText): shut off warning about unused
5966 2001-06-07 Juergen Vigna <jug@sad.it>
5968 * insettext.C (resizeLyXText): honor the new force flag.
5970 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5972 * insettabular.C (deleteLyXText): new function
5974 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5982 * insetcollapsable.C:
5983 * insetcaption.C: LColor tidy
5985 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5987 * figinset.C: fix typo
5989 2001-06-01 Juergen Vigna <jug@sad.it>
5991 * insettabular.C (resetPos): small hack so that scroll is not set to
5992 0 when we are in the last column of a tabular. This is a problem we
5993 have because of constats 20 offset on both directions, so this can
5994 cause on the limit an endless loop.
5996 * insettext.C (SetFont): forgot that we can have locking insets ;)
5998 2001-05-31 Juergen Vigna <jug@sad.it>
6000 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6002 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6004 * figinset.C: add using std:: directive for the C functions which
6007 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6009 * insetfloat.C (Write): write out wide info
6010 (Read): read the wide info
6011 (Latex): use the wide info when creating latex.
6013 * insettext.C: adjust
6015 * insetgraphics.[Ch] (statusMessage): change to return string
6019 * figinset.C (runqueue): add std::
6022 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6024 * insetcite.C (Ascii): add std:: qualifier
6026 2001-05-28 Juergen Vigna <jug@sad.it>
6028 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6029 a endless-width inset (maxWidth < 0).
6030 (Edit): change language only if not equal.
6032 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6034 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6036 2001-05-16 Juergen Vigna <jug@sad.it>
6038 * insettext.C (selectAll): added
6039 (clearSelection): added
6041 * insettabular.C (SetFont): now we may set a font on a whole selection!
6042 (getSelection): added helper function.
6044 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6046 * insetcite.C (Ascii): Add method.
6048 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6051 * insetbib.C: fix path for OS/2 & Win32
6053 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6055 * insetfoot.C (Latex): don't use % after footnote.
6057 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6059 * insettext.C (Read): use clear
6060 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6062 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6064 * insetfloatlist.h: add a bunch of std:: qualifiers.
6066 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6068 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6069 FLOAT_LIST_CODE, renumber code list.
6071 * insettoc.C (getScreenLabel): remove support for float lists
6075 * insetfloatlist.[Ch]: new files
6077 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6079 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6081 * insettabular.C (LocalDispatch):
6082 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6085 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6087 * insettext.C: remvoe !NEW_INSETS cruft
6089 * insettabular.C: remove !NEW_INSETS cruft
6091 * insetcollapsable.h: remove !NEW_INSETS cruft
6093 * insetbib.C: remove !NEW_INSETS cruft
6095 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6097 * insettoc.C: hack to make listof algorithm work
6099 2001-04-20 Juergen Vigna <jug@sad.it>
6101 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6103 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6105 * insetquotes.C (Latex): improve the guard against
6106 unwanted !` and ?` ligatures. This should really be done in
6107 another place (to catch all this ligatures at low-level).
6109 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6111 * insettext.C (init): remvoe leftovers from cursor_visible change
6112 (draw): use c++ cast
6113 (LocalDispatch): dispatch LFUN_MESSAGE
6115 * insettabular.C (InsetTabular): remove leftovers from
6116 cursor_visible, and scoped_ptr changes
6117 (draw): use c++ cast
6119 * insetcollapsable.C (draw): use c++ cast
6121 * ExternalTemplate.h: inherit privaely from noncopyable
6122 * insetcommand.h: ditto
6123 * insetinclude.h: ditto
6125 2001-04-16 Allan Rae <rae@lyx.org>
6127 * insettoc.C (Ascii):
6128 * insettext.C (draw):
6129 * insettabular.C (setPos):
6130 * insetminipage.C (Read):
6131 * insetfloat.C (placement):
6132 * insetcaption.C (Ascii, DocBook):
6133 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6134 an unrecognised preprocessor directive. So ensure they're wrapped.
6136 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6139 * insetexternal.C: set view on Clone. Add _ to private members.
6141 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6143 * insettext.C (InsetText): fix new
6144 (InsetText): reindent some, simplify deletion of par list
6145 (clear): simplify deletion of par list, fix new
6146 (SetParagraphData): simplify deletion of par list
6148 * insettabular.[Ch] (getLabelList): implement new method
6150 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6152 * lyxinset.h: do not include gettext.h...
6160 * insetlatexaccent.C:
6164 * inseturl.C: ... and do it here instead
6166 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6168 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6170 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6172 * insetcollapsable.[Ch] (getLabelList): implement
6174 * insettext.[Ch] (getLabelList): implement
6176 * insettext.h: reindent
6178 * insettabular.h: make tabular a scoped_ptr
6180 * insettext.C (init): adjust for cursor_visible
6181 (ToggleInsetCursor): constify asc and desc, font, adjust for
6183 (ShowInsetCursor): constify asc and desc, font, adjust for
6185 (HideInsetCursor): adjust for cursor_visible
6187 * insettabular.C: reindent some
6188 (InsetTabular): adjust for scoped_ptr and cursor_visible
6189 (InsetTabular): ditto
6190 (~InsetTabular): delete delete
6191 (Clone): adjust for scoped_ptr
6192 (Read): constify old_format, adjust for scoped_ptr, move init of
6194 (draw): constify tx, localize loop vars.
6195 some other localization of variables, remove double initilizatons.
6197 * insetfoot.C: remove using std::ostream, add ostream where needed
6199 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6201 * lyxinset.h: some reindentaion, use initializer list for
6203 UpdatableInset: make cursor_visible a private var add
6204 public isCursorVisible(), add protected toggleCursorVisible() and
6205 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6207 * insettoc.C: remvoe using decl
6208 (getScreenLabel): make cmdname donst
6211 (Ascii): don't use endl
6213 * insetfootlike.C: remove using decl at file scope and add std::
6215 * insetmarginal.C: ditto
6217 * insetfoot.C: some reformatting
6219 * insetfloat.C (InsetButtonRelease): adjust the hit area
6221 * insetert.C (SetFont): some reformatting
6223 * insetcollapsable.C: some reformatting and constification
6224 (Clone): comment out.
6225 * insetcollapsable.h: some reformatting
6226 (Clone): comment out.
6231 2001-03-30 Juergen Vigna <jug@sad.it>
6233 * insetcollapsable.h: changen *inset to be a InsetText inset.
6235 * some files: changed to reflect the above change.
6237 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6239 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6240 InsetExternal::Params.
6241 Added operator==() and operator!=() for the Params struct.
6243 2001-03-29 Juergen Vigna <jug@sad.it>
6245 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6248 * insetminipage.C: removed widthp_ and all it's functions and changed
6249 to use new %-lengths of LyXLength.
6251 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6253 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6255 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6257 * insetgraphicsParams.C (operator!=): new function, needed by the
6258 ControlGraphics class.
6260 2001-03-28 Juergen Vigna <jug@sad.it>
6262 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6263 (checkAndActivateInset): don't use the values returned from
6264 call to bv->checkInsetHit.
6266 * insetminipage.C (Clone): set special minipage values.
6268 * insetcollapsable.C (draw): changed to draw the button in the
6269 upper left corner outside the textinset.
6270 (ascent): changed because of different drawing
6274 (InsetButtonPress): ditto
6275 (InsetButtonRelease): ditto
6276 (InsetMotionNotify): ditto
6278 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6280 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6284 2001-03-26 Juergen Vigna <jug@sad.it>
6286 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6288 * insettext.C (ShowInsetDialog): implemented above function.
6290 * insettabular.C (ShowInsetDialog): ditto
6292 * insetminipage.C (ShowInsetDialog): ditto
6294 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6296 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6297 InsetInclude::Params. Don't store a buffer * in Params. Store the
6298 master file name instead.
6300 2001-03-23 Juergen Vigna <jug@sad.it>
6302 * insetcollapsable.C (InsetMotionNotify):
6303 (InsetButtonRelease):
6304 (InsetButtonPress): fixed y-offset (minipages).
6306 * insettext.C (draw): force a FULL update if cleared == true.
6308 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6309 routine to draw the minipages on its position-flag.
6310 (InsetInInsetY): give back the right y position, because of minipage
6313 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6316 * insetfloat.C (DocBook): docbook export code.
6318 2001-03-22 Juergen Vigna <jug@sad.it>
6320 * insetminipage.C (getMaxWidth): added function to set the drawing
6322 (Read): should work now!
6324 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6325 if we create a new inset.
6327 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6329 * figinset.C (fl_set_preemptive_callback): moved definition outside
6332 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6334 * insetminipage.C (Read): prepare for reading of minipage arguments.
6336 2001-03-18 Baruch Even <baruch@lyx.org>
6338 * insetgraphics.C: Minor cleanups of the comments and code.
6340 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6342 * insetminipage.C (InsetMinipage): default to not collapsed
6344 2001-03-16 Juergen Vigna <jug@sad.it>
6346 * insetminipage.C (width): modified with to be a string
6347 (widthp): added widthp (for % width) support functions.
6348 (InsetButtonRelease): added to open the options dialog on button==3.
6349 (~InsetMinipage): added to hide the dialog.
6351 * insetminipage.h: added hideDialog signal
6353 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6355 * insetminipage.h: change the order or Position to match
6356 LyXParagraph::MINIPAGE_ALIGNMENT
6358 * several files: remvoe CXX_WORKING_NAMESPACES
6360 * ExternalTemplate.h: noncopyable is in namespace boost
6361 * insetinclude.h: ditto
6362 * insetcommand.h: ditto
6364 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6366 * insettext.C (Edit): #else# -> #else.
6367 * insettoc.C: added using directive.
6369 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6371 * insetminipage.h: add pos, inner_pos, width and height. + getters
6372 and setters for all of them.
6374 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6376 * insetinclude.C (Latex): Do not exit when the textclass of the
6377 included file differ from the textclass of the parent file.
6379 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6381 * ExternalTemplate.C (read): the reading of external insets now checks
6382 for \end_inset and removes it form the input stream.
6384 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6386 * ExternalTemplate.h:
6387 * ExternalTemplate.C:
6389 * insetexternal.C: move form to GUII
6391 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6394 * insetinclude.C: add InsetIncludeParams, use
6395 composition rather than derivation of InsetCommand
6397 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6399 * insettoc.C (Ascii): use the Buffer typedefs
6401 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6403 * insettoc.C (Ascii): implement for dynamic number of lists
6405 * insetcaption.[Ch]: update from new_insets branch
6406 * insetfloat.[Ch]: ditto
6408 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6411 * figinset.C: use new File Dialog
6413 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6415 * insettext.C: changes becuase of ParagraphParameters.
6417 2001-02-28 Baruch Even <baruch@ev-en.org>
6419 * insetgraphics.C (updateInset): Changed due to the change in
6422 2001-02-26 Juergen Vigna <jug@sad.it>
6424 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6425 handled in LyXText).
6427 2001-02-23 Juergen Vigna <jug@sad.it>
6429 * insettext.C (draw): some small repainting fixes.
6430 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6432 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6433 should be) and not an int.
6435 * insettabular.C (LocalDispatch): ditto
6437 * insettext.C (LocalDispatch): ditto
6439 * insetcollapsable.C (LocalDispatch): ditto
6441 2001-02-22 Juergen Vigna <jug@sad.it>
6443 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6444 DISPATCH it and we don't have a locking_inset.
6446 2001-02-21 Baruch Even <baruch@ev-en.org>
6448 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6449 instead of GraphicsCacheItem *.
6451 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6453 * insetcollapsable.C (getLyXText): add const qualifier to second
6456 2001-02-22 Juergen Vigna <jug@sad.it>
6458 * insettext.C (getLyXText): honor the recursive parameter.
6459 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6461 * inset.C (getLyXText): added bool recursive parameter.
6463 * insettext.C (SetUpdateStatus): or the update codes.
6464 (draw): check need_update with &.
6465 (InsetButtonPress): set no_selection to not put a selection when
6466 entering an inset and it is redraws in another spot.
6468 * insettext.h: made need_update an int.
6470 2001-02-20 Baruch Even <baruch@ev-en.org>
6473 * insetgraphisc.C: Changed to use better semantics when loading images
6474 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6476 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6480 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6481 consistent with InsetTabular.
6483 2001-02-19 Juergen Vigna <jug@sad.it>
6485 * insettabular.C (LocalDispatch): implement PAGE up/down.
6487 * insettext.C (draw): clear all of it on need_update==INIT too!
6489 * insettabular.C (InsetUnlock): always clear the selection.
6491 * inset.C (scroll): normally we only want to scroll the inset until
6492 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6494 2001-02-14 Juergen Vigna <jug@sad.it>
6496 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6497 (resetPos): fixed scroll behaviour.
6498 (LocalDispatch): do an update if moving cursor inside a table cell
6499 requests a scroll of the tabular.
6501 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6503 * insettext.C (textWidth): constify local var
6505 * insettabular.C: small cleanup.
6507 * insetfoot.C (Latex): constify local var
6509 * insetcollapsable.C: small cleanup.
6511 * figinset.C (runqueue): use compare instead of strcmp
6513 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6516 * insetinfo.C: remove cruft
6518 2001-02-14 Juergen Vigna <jug@sad.it>
6520 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6522 2001-02-13 Juergen Vigna <jug@sad.it>
6524 * insettext.C (InsertInset): don't move left (is this right?)
6526 * insettabular.C (LocalDispatch): use of the no_draw variable
6528 * insettabular.h: new no_draw variable to stop redraw
6530 * insettabular.C (TabularFeatures): fixed update for alignment change
6532 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6536 * insetbib.C: move dialogs to frontends/
6538 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6540 * insettext.C (LocalDispatch): Restore the language if the inset
6543 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6545 * insettext.C (moveRightIntern): Update the selection cursor.
6546 (moveLeftIntern): Ditto.
6548 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6550 * Makefile.am: remove BoundingBox.h
6552 * BoundingBox.h: removed
6554 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6556 * insettext.C (LocalDispatch): Update selection cursor when moving
6557 cursor to the right.
6558 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6559 (moveLeftIntern): Ditto.
6561 2001-02-05 Baruch Even <baruch.even@writeme.com>
6563 * insetgraphics.C: Updated automatic image conversion, it now goes into
6564 temporary directory instead of with the image itself.
6566 2001-01-21 Baruch Even <baruch@ev-en.org>
6568 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6569 to EPS or PNG when needed (support bitmap graphics).
6571 2000-11-02 Baruch Even <baruch@ev-en.org>
6574 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6575 and removal of commented out code.
6577 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6579 * insetbib.C (callback): Update citations if the key has changed.
6581 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6583 * insetbib.C (InsetBibKey): Better computation of default key.
6584 (getScreenLabel) Show both the key and the label.
6585 (getBibLabel): New method.
6586 (callback): Force a redraw if the inset have been changed.
6588 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6590 * insetref.C (getType, getName): Move methods from
6591 src/frontends/xforms/FormRef.C.
6593 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6595 * insettabular.C: Various improvements (use only one dummy position).
6597 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6599 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6600 par->bibkey->width. This fixes the crashes when running without
6601 gui or when having included documents.
6603 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6605 * insetcommand.C (getAsString, setFromString): Cleanup.
6607 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6609 * insetref.C: Add the array InsetRef::types that contains
6610 information about all supported reference types.
6612 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6614 * lyxinset.h: remove trailing comma in enum.
6616 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6618 * insettext.C: kill LyXBell.