1 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * insettabular.C: add using statement for std::vector, remove
4 std:: where using was already used.
6 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
10 * insetinclude.C (validate): use feautures.nice() instead of
13 2004-01-20 André Pönitz <poenitz@gmx.net>
16 * insetbase.[Ch]: move stuff from mathcursor here.
22 * insetcharstyle.[Ch]:
23 * insetcollapsable.[Ch]:
37 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
39 2004-01-15 André Pönitz <poenitz@gmx.net>
46 * insetcharstyle.[Ch]:
47 * insetcollapsable.[Ch]:
61 * updatableinset.[Ch] (priv_dispatch et al): change signature.
63 2004-01-08 André Pönitz <poenitz@gmx.net>
65 * insetcollapsable.[Ch]:
68 * updatableinset.h: use cell index info from global cursor.
70 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
72 * insetnote.C (InsetNoteParams::write): write label only once
74 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
76 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
78 get rid of the SameName functor
80 * insettabular.C: improve the functor.
82 2003-12-29 Angus Leeming <leeming@lyx.org>
84 * insetexternal.C (setParams): update defaultTemplateName.
86 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
88 * insetbox.C: Use term "Box" in button label
90 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
92 * insetcharstyle.C: get getDrawFont working again
94 2003-12-15 André Pönitz <poenitz@gmx.net>
97 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
99 2003-12-12 Angus Leeming <leeming@lyx.org>
101 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
103 (InsetBranchParams): remove the branchlist hack.
104 (isBranchSelected): new function, used to decide whether to
105 print each output format. Also used by InsetList.
106 (read, string2params): repair my own breakage ;-)
108 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
110 * insetminipage.[Ch]: remove from repository.
112 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
115 * insetcollapsable.[Ch]: Move all CollapseStatus code from
116 insetert to insetcollapsable; introduce virtual function
117 setButtonLabel and invoke it from collapsable
119 2003-12-12 Angus Leeming <leeming@lyx.org>
121 * insetinclude.C (draw): cache x,y and so enable the
124 2003-12-12 Angus Leeming <leeming@lyx.org>
126 * mailinset.C (print_mailer_error): tidy up the output.
128 2003-12-11 Angus Leeming <leeming@lyx.org>
130 * mailinset.[Ch] (print_mailer_error): new helper function.
132 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
133 calling InsetCommandMailer.
134 (InsetCommandMailer::string2params): pass the name of the dialog.
136 * insetbibitem.[Ch] (d-tor):
137 * insetbibtex.[Ch] (d-tor):
138 * insetcite.[Ch] (d-tor):
139 * insetfloatlist.[Ch] (d-tor):
140 * insetindex.[Ch] (d-tor):
141 * insetlabel.[Ch] (d-tor):
142 * insetref.[Ch] (d-tor):
143 * insettoc.[Ch] (d-tor):
144 * inseturl.[Ch] (d-tor): removed.
145 Hiding the dialog is handled by InsetCommand.
147 * insetbibtex.[Ch] (draw, metrics):
148 * insetfloatlist.[Ch] (draw, metrics):
149 * insetindex.[Ch] (draw, metrics): removed.
150 Drawing is handled by InsetCommand.
152 * insetbibitem.[Ch] (priv_dispatch):
153 * insetbibtex.[Ch] (priv_dispatch):
154 * insetcite.[Ch] (priv_dispatch):
155 * insetfloatlist.[Ch] (priv_dispatch):
156 * insetindex.[Ch] (priv_dispatch):
157 * insetlabel.[Ch] (priv_dispatch):
158 * insettoc.[Ch] (priv_dispatch):
159 * inseturl.[Ch] (priv_dispatch): removed or simplified.
160 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
161 LFUN_INSET_DIALOG_SHOW.
163 * insetbox.C (string2params):
164 * insetbranch.C (string2params):
165 * insetert.C (string2params):
166 * insetexternal.C (string2params):
167 * insetfloat.C (string2params):
168 * insetinclude.C (string2params):
169 * insetminipage.C (string2params):
170 * insetnote.C (string2params):
171 * insetvspace.C (string2params):
172 * insetwrap.C (string2params): over-hauled.
174 2003-12-10 Angus Leeming <leeming@lyx.org>
176 * insetexternal.[Ch]: add a draft option and respect it when
179 2003-12-10 Angus Leeming <leeming@lyx.org>
181 * insetbox.C: (read, write): now prepend the inset contents with
182 'Box' to identify the inset as a box inset.
184 * insetbox.h: move the translators out of sight.
186 2003-12-10 Angus Leeming <leeming@lyx.org>
188 * insetert.C (string2params): clean-up using the new lyxlex interface.
190 * insetexternal.C: ensure that InsetExternalParams has a default
191 template, 'RasterImage'.
193 2003-12-10 Angus Leeming <leeming@lyx.org>
195 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
196 to an enum. Ensuing clean-ups through out the class.
197 (read, write): now prepend the inset contents with 'Note' to identify
198 the inset as a note inset.
200 2003-12-10 Angus Leeming <leeming@lyx.org>
202 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
203 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
205 2003-12-10 André Pönitz <poenitz@gmx.net>
210 * insettext.[Ch]: remove unused insetInset()
212 * insetert.C: disable some LFUNs
214 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
216 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
218 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
220 2003-12-04 Angus Leeming <leeming@lyx.org>
222 * insetexternal.C (draw): update the xo_, yo_ cache.
224 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
226 (RotationDataType): new helper struct wrapping the
227 RotationData::OriginType enum.
229 2003-12-03 André Pönitz <poenitz@gmx.net>
231 * inset.h: remove getParagraphs()
233 * insetcollapsable.[Ch]:
237 * insettext.C: use getText() instead of getParagraphs()
239 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
241 * insetert.C: fix label text updating bug
243 2003-12-02 Angus Leeming <leeming@lyx.org>
245 * insetvspace.[Ch] (space): new member function. Make space_ private.
246 (read): use the new, simpler lyxlex syntax.
248 2003-12-01 André Pönitz <poenitz@gmx.net>
250 * insetcollapsable.[Ch]:
251 * insetert.[Ch]: move 'inline' state to InsetCollapsable
253 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
255 * insetvspace.C (read): handle 'end_inset' token.
257 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
259 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
261 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
263 * insetcollapsable.[Ch]:
265 * insetcharstyle.C: place inset content on the button when
268 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
270 * insetvspace.C: remove VSpace::NONE; increase inset width
272 2003-12-01 André Pönitz <poenitz@gmx.net>
274 * insetbase.h: whitespace
276 * inset.[Ch]: remove latexTextWidth
277 make setBackgroundColor virtual
279 * insettext.[Ch]: move ParagraphList member to LyXText
281 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
287 * insetminipage.[Ch]:
289 * insetwrap.[Ch]: adjust paragraphs and background color handling,
291 2003-11-28 Angus Leeming <leeming@lyx.org>
293 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
294 hiding and showing the dialog respectively.
295 (priv_dispatch): also actually update the inset contents.
297 2003-11-28 Angus Leeming <leeming@lyx.org>
299 * insetbox.C (d-tor):
300 * insetbranch.C (d-tor):
301 * insetcite.C (d-tor):
302 * insetfloat.C (d-tor):
303 * insetfloatlist.C (d-tor):
304 * insetinclude.C (d-tor):
305 * insetindex.C (d-tor):
306 simplify the invocation of the Mailer::hideDialog() function.
308 * insetminipage.C (showInsetDialog):
309 simplify the invocation of the Mailer::showialog() function.
311 2003-11-28 André Pönitz <poenitz@gmx.net>
314 * insetvspace.[Ch]: new insets
316 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
318 * insetcharstyle.C: Syntax change for CharStyles
320 2003-11-28 André Pönitz <poenitz@gmx.net>
322 * updatableinset.h: remove insetInInsetY
324 * insetcollapsable.[Ch]:
327 * insettext.[Ch]: adjust
329 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
333 * insetcollapsable.[Ch]:
335 * insettabular.[Ch]: remove setFont
337 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
339 * render_graphic.[Ch]: adjust comments
341 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
343 * insetgraphics.C (draw): cache xo_ & yo_
345 2003-11-24 André Pönitz <poenitz@gmx.net>
347 * insettext.C (setViewCache): don't call LyXText::init() anymore
349 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
352 * insetcollapsable.[Ch]:
353 * insetert.[Ch]: remove bufferview parameter in methods
354 open, close, status, and updateStatus.
356 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
358 * insetcollapsable.[Ch]:
360 * insettext.[Ch] (getCursorDim): squash unused variable
362 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
364 * insettext.C (edit): x0_,y0_ -> xo_,yo_
366 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
368 * insettext.C (draw): sets LyXText absolute coordinates
370 2003-11-20 Angus Leeming <leeming@lyx.org>
372 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
373 about unused parameters.
375 * insetcollapsable.C (open):
376 * insettabular.C (pasteSelection):
377 * insettoc.C (draw): ditto.
379 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
381 * insetcollapsable.C:
383 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
384 remove mouse_x mouse_y etc.
386 2003-11-17 André Pönitz <poenitz@gmx.net>
388 * insettext.[Ch] (cx, cy): remove
390 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
392 2003-11-13 André Pönitz <poenitz@gmx.net>
395 * insetcollapsable.[Ch]:
397 * insettext.[Ch] (deleteLyXText): remove
399 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
401 * insetcollapsable.[Ch] (fitInsetCursor): remove
402 * insettabular.[Ch] (fitInsetCursor): remove
403 * insettext.[Ch] (fitInsetCursor): remove
404 * updatableinset.[Ch] (fitInsetCursor): remove
405 (getCursorDIm): add virtual
407 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
409 * src/insets/Makefile.am:
410 * src/insets/inset.h:
411 * src/insets/insetcharstyle.C:
412 * src/insets/insetcharstyle.h: The Character Style /XML short
415 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
417 * insettext.C: remove all update calls
418 * insetcollapsable.C: remove all update calls
420 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
422 * insettext.C (updateLocal, insertInset, setFont): remove
425 2003-11-10 André Pönitz <poenitz@gmx.net>
427 * inset.h: remove Inset::id_
429 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
432 2003-11-10 André Pönitz <poenitz@gmx.net>
436 * insetcollapsable.[Ch]:
443 * updatableinset.[Ch]: remove inset locking & adjust
445 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
447 * inset.h (allowSpellCheck): add (return true)
448 * insetert.h (allowSpellCheck): add (return false)
450 2003-11-05 José Matos <jamatos@lyx.org>
458 * insetcollapsable.[Ch]:
462 * insetexternal.[Ch]:
464 * insetfloatlist.[Ch]:
466 * insetgraphics.[Ch]:
471 * insetlatexaccent.[Ch]:
474 * insetmarginal.[Ch]:
475 * insetminipage.[Ch]:
479 * insetpagebreak.[Ch]:
483 * insetspecialchar.[Ch]:
489 * insetwrap.[Ch]: rename ascii to plaintext
490 and LatexRunParams to OutputParams.
492 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
494 * insetcollapsable.C (edit): add open() all
495 * insettext.C (edit): add setViewCache call
497 2003-11-04 André Pönitz <poenitz@gmx.net>
499 * inset.h (edit): move locking code from dispatch() to edit()
505 * insetcollapsable.[Ch]:
508 * insetexternal.[Ch]:
509 * insetgraphics.[Ch]:
515 * insettext.[Ch]: adjust
517 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
520 * insetcollapsable.[Ch]:
524 * updatableinset.[Ch]: remove dead search code
526 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
529 * insetcollapsable.[Ch]:
533 * updatableinset.[Ch]: remove dead spellcheck code
535 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
537 * insettabular.C (lockInsetInInset): small fix
539 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
541 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
542 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
543 from here. Be stricter on DispatchResult returned.
545 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
547 * Inset::dispatch's: adjust for new DispatchResult semantics.
549 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
551 * render_base.h: make clone return an auto_ptr
552 * render_button.C (clone): adjust
553 * render_graphic.C (clone): adjust
554 * render_preview.C (clone): adjust
556 * insettheorem.C (clone): return an auto_ptr
558 * insettext.C (priv_dispatch): exception safety
560 * insettabular.C: store the file scope variable paste_tabular in a
561 scoped_ptr, adjust usage.
563 * insetexternal.C (setParams): exception safety
565 * insetbibitem.C (clone): exception safety
567 2003-11-03 André Pönitz <poenitz@gmx.net>
570 * insetcollapsable.[Ch]:
572 * insettext.[Ch]: remove Inset::id and related functions
574 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
576 * insets: adjust for DispatchResult changes.
578 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
580 * insetpagebreak.C: fix screen representation & ascii output.
582 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
587 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
589 2003-10-31 José Matos <jamatos@lyx.org>
591 * inset.h (ascii, linuxdoc, docbook):
592 * insetbox.[Ch] (ascii, linuxdoc, docbook):
593 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
594 * insetcaption.[Ch] (ascii, docbook):
595 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
596 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
597 * insetert.[Ch] (ascii, linuxdoc, docbook):
598 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
599 * insetfloat.[Ch] (linuxdoc, docbook):
600 * insetfloatlist.[Ch] (ascii):
601 * insetfoot.[Ch] (docbook):
602 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
603 * insethfill.[Ch] (ascii, linuxdoc, docbook):
604 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
605 * insetindex.[Ch] (docbook):
606 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
607 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
608 * insetline.[Ch] (ascii, linuxdoc, docbook):
609 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
610 * insetnote.[Ch] (ascii, linuxdoc, docbook):
611 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
612 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
613 * insetref.[Ch] (ascii, linuxdoc, docbook):
614 * insetspace.[Ch] (ascii, linuxdoc, docbook):
615 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
616 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
617 * insettext.[Ch] (ascii, linuxdoc, docbook):
618 * insettoc.[Ch] (ascii, linuxdoc, docbook):
619 * inseturl.[Ch] (ascii, linuxdoc, docbook):
620 * insetwrap.[Ch] (docbook):
621 add LatexRunParams argument.
623 2003-10-30 José Matos <jamatos@lyx.org>
625 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
627 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
629 * updatableinset.C (priv_dispatch):
630 * insetwrap.C (priv_dispatch):
631 * inseturl.C (priv_dispatch):
632 * insettoc.C (priv_dispatch):
633 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
634 (moveLeftIntern, moveUp, moveDown):
635 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
636 (moveLeft, moveUp, moveDown):
637 * insetref.C (priv_dispatch):
638 * insetnote.C (priv_dispatch):
639 * insetminipage.C (priv_dispatch):
640 * insetlabel.C (priv_dispatch):
641 * insetindex.C (priv_dispatch):
642 * insetinclude.C (priv_dispatch):
643 * insetgraphics.C (priv_dispatch):
644 * insetfloatlist.C (priv_dispatch):
645 * insetfloat.C (priv_dispatch):
646 * insetexternal.C (priv_dispatch):
647 * insetert.C (priv_dispatch):
648 * insetcommand.C (priv_dispatch):
649 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
650 * insetcite.C (priv_dispatch):
651 * insetbranch.C (priv_dispatch):
652 * insetbox.C (priv_dispatch):
653 * insetbibtex.C (priv_dispatch):
654 * insetbibitem.C (priv_dispatch):
655 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
657 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
659 * insettext.C: small refactoring of docbook stuff
661 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
663 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
664 (priv_dispatch): adjust for operator dispatch_result_t removal
666 * insettabular.C (lfunMouseRelease): put the result of a dispatch
667 in a DispatchResult, adjust accordingly.
668 (priv_dispatch): use strange >= construct... (will be removed later)
670 * most insets: dispatch_result -> DispatchResult
672 * insetbase.h: move DispatchResult out to dispatchresult.h
674 2003-10-27 André Pönitz <poenitz@gmx.net>
676 * insetpagebreak.[Ch]: new inset for page breaks
678 * insetline.[Ch]: new inset for vertical lines
683 2003-10-25 Angus Leeming <leeming@lyx.org>
685 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
686 new virtual member functions, specialised...
687 * render_button.h (asButton):
688 * render_graphic.h (asGraphic):
689 * render_preview.h (asPreview, asMonitoredPreview): ... here.
691 * insetexternal.C: use these new functions rather than dynamic_cast.
692 Various other small simplifications.
694 2003-10-22 Angus Leeming <leeming@lyx.org>
696 * insetexternal.[Ch]: add the ability to 'preview' the external file
699 * insetinclude.C: changes due to the changes in the RenderPreview
702 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
703 message if the preview image is not available. Only initiate the
704 loading of the preview from draw(). Ditto, start the monitoring
705 of an external file from RenderMonitoredPreview::draw.
707 2003-10-22 Angus Leeming <leeming@lyx.org>
709 * insetcite.[Ch] (setLoadingBuffer): removed.
710 (getNatbibLabel): use the new Buffer::fully_loaded member function to
711 ascertain whether to proceed with the (expensive) task of computing
712 the natbib-style label. Remove the home-grown hack providing
713 similar functionality.
715 2003-10-22 Angus Leeming <leeming@lyx.org>
717 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
718 class and into an anonymous namespace.
720 2003-10-22 Angus Leeming <leeming@lyx.org>
722 * insetcommand.h: remove the display method.
726 * insetindex.h (InsetPrintIndex):
727 * insettoc.h: add a display method, returning true.
729 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
731 * insetcollapsable.h:
735 * insetinclude.h: (1) finish off the inset display() work;
736 (2) fix the "is a bit silly" bug (accessing char
739 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
743 * insetfootlike.h: re-introduce display() for insets,
744 fixing the various bugs (stretch of line above, math inset
747 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
749 * insetbase.C (dispatch): new func
750 (priv_dispatch): new func replaces...
751 (localDispatch): this, deleted.
753 * all insets with dispatch modified for new code.
755 2003-10-15 André Pönitz <poenitz@gmx.net>
757 * insetcollapsable.[Ch]
759 * inset.h: re-add some edit(bv, index) method called by undo
761 2003-10-14 Angus Leeming <leeming@lyx.org>
763 * insetexternal.[Ch] (view, cache, view_):
764 * insetgraphics.[Ch] (view, cache, view_):
765 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
766 (statusChanged): call LyX::cref().updateInset.
768 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
769 the BufferView cache.
771 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
774 2003-10-14 Angus Leeming <leeming@lyx.org>
776 * insetinclude.C (metrics, draw): only draw the preview when previews
779 2003-10-14 André Pönitz <poenitz@gmx.net>
781 * insetcollapsable.[Ch]:
784 * inset.h: getText() as alternative to getParagraphs()
786 2003-10-13 Angus Leeming <leeming@lyx.org>
789 * insetgraphicsParams.C: displayTranslator is now a function.
791 2003-10-13 Angus Leeming <leeming@lyx.org>
793 * insetinclude.C: remove #include "PreviewImage.h".
795 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
798 * ExternalTransforms.C:
800 * insetbox.h: ws changes only
802 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
804 * insetinclude.C (localDispatch): do not call
805 InsetOld::localDispatch, just return UNDISPATCHED
806 * insetgraphics.C (localDispatch): ditto
807 * insetcommand.C (localDispatch): ditto
809 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
811 * inset.h: get rid of RESULT typedef for dispatch_result
813 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
814 * insetert.[Ch] (localDispatch): ditto
815 * insettabular.[Ch] (localDispatch): ditto
820 * insettext.[Ch] (localDispatch): ditto
823 (moveRightIntern): ditto
824 (moveLeftIntern): ditto
827 * updatableinset.[Ch] (localDispatch): ditto
829 2003-10-12 Angus Leeming <leeming@lyx.org>
831 * renderbase.h (view, view_): removed.
832 * renderbase.C: removed.
833 * Makefile.am: remove render_base.C. The shortest lived file in
836 * renderbutton.C (draw):
837 * render_graphic.C (draw): don't cache the BufferView.
839 * insetabase.h (cache, view): removed.
841 * inset.h (generatePreview) removed.
843 * insetcallapsable.[Ch] (cache, view, view_): removed.
845 * insetcollapsable.C (draw): don't cache the BufferView.
847 * insetcommand.[Ch] (view): removed.
849 * insetexternal.[Ch] (cache, view, view_):
850 * insetgraphics.[Ch] (cache, view, view_):
851 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
853 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
854 when you have direct access to it. In fact, don't use the cache at all.
856 2003-10-10 Angus Leeming <leeming@lyx.org>
858 * insetinclude.C (metrics): use preview_->metrics.
859 (draw): use preview_->draw.
861 * render_preview.[Ch] (pimage): removed.
863 2003-10-10 Angus Leeming <leeming@lyx.org>
865 * renderers.[Ch]: removed.
868 * render_button.[Ch]:
869 * render_graphic.[Ch]:
870 * render_preview.[Ch]: new files. The first three are split out of
871 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
872 contains a re-worked InsetInclude::PreviewImpl also.
874 * Makefile.am: reflect the changed files.
877 * insetexternal.[Ch]:
878 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
880 * insetinclude.[Ch]: changes reflecting the change from
881 InsetInclude::PreviewImpl to RenderMonitoredPreview.
887 * inseturl.C: add #include "support/std_ostream.h"
889 2003-10-09 Angus Leeming <leeming@lyx.org>
891 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
892 to PreviewedInset::previewReady.
894 2003-10-09 Angus Leeming <leeming@lyx.org>
896 * insetexternal.[Ch] (statusChanged):
897 * insetgraphics.[Ch] (statusChanged): make a const member function.
899 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
902 2003-10-09 Angus Leeming <leeming@lyx.org>
904 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
905 to PreviewedInset's previewReady and removePreview member functions.
907 2003-10-08 André Pönitz <poenitz@gmx.net>
909 * insetcollapsable.C:
910 * insettext.[Ch]: saner 'init' structure
912 * updatableinset.[Ch]: remove unneeded code
914 2003-10-08 Angus Leeming <leeming@lyx.org>
916 Fix doxygen warnings.
918 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
919 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
921 2003-10-07 Angus Leeming <leeming@lyx.org>
923 * ExternalTransforms.[Ch]: new files, detailing transforms that can
924 be applied to InsetExternal.
926 * Makefile.am: add these new files.
928 * ExternalTemplate.[Ch]: add a list of available transforms to
929 class Template and a list of factory functions for transformer classes
930 that can act on this data to class Format.
932 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
934 * ExternalSupport.C: Add code to replace transform placeholders
935 with appropriate output.
937 2003-10-07 Angus Leeming <leeming@lyx.org>
939 * ExternalSupport.[Ch]: new files, moving the private member functions
940 and namespace anon functions out of insetexternal.C to here, so making
941 it easier to understand what is going on in insetexternal itself.
943 * Makefile.am: add new files.
945 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
946 allowing the class to be forward declared. (Also consistent with
947 all other Params classes.)
948 (write): moved out of the class. Move this function and those in
949 namespace anon to ExternalSupport.[Ch].
951 2003-10-07 Angus Leeming <leeming@lyx.org>
953 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
954 non-const member function.
956 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
961 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
963 2003-10-02 André Pönitz <poenitz@gmx.net>
965 * insettext.C (read): make sure there is at least one par
966 in the text after reading.
968 2003-10-01 José Matos <jamatos@lyx.org>
970 * insetbranch.C (linuxdoc, docbook): minor fix.
972 2003-10-01 Angus Leeming <leeming@lyx.org>
974 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
976 * insetexternal.[Ch]: changes due to the introduction of
977 namespace lyx::external.
979 2003-09-30 Angus Leeming <leeming@lyx.org>
981 * insetexternal.[Ch] (Params::read, write): new member functions.
983 2003-09-25 Angus Leeming <leeming@lyx.org>
985 * insetexternal.[Ch] (TempName): new (private) nested struct with
986 fake copy semantics. Enables us to use the generated copy c-tor
987 in the Params struct.
988 (Params::templatename, Params::tempname): use accessor functions.
990 2003-09-25 Angus Leeming <leeming@lyx.org>
992 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
993 function, returning a const pointer.
995 2003-09-23 Angus Leeming <leeming@lyx.org>
997 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
998 store them in a vector, preambleNames.
1000 * insetexternal.C (validate): loop over all preambleNames and call
1001 LaTeXFeatures::addExternalPreamble with each.
1003 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1005 * insetbranch.C: bug fix in branches
1007 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1009 * insetnote.C: small clean-up.
1011 2003-09-19 Angus Leeming <leeming@lyx.org>
1013 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1015 * insetcommand.C (string2params): clear params using the default c-tor.
1017 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1018 InsetInclude::Params. No more data in this struct than in
1019 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1020 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1021 (clone): remove #warning as it's now redundant.
1022 (set): add a 'Buffer const &' arg. Make private.
1023 (loadIfNeeded) move out of the class definition and into namespace anon.
1024 (getMasterFilename, getFileName): ditto.
1026 2003-09-18 Angus Leeming <leeming@lyx.org>
1028 * insetcommand.C (setParams): use the params' copy constructor.
1030 2003-09-18 Angus Leeming <leeming@lyx.org>
1032 * insetinsetbase.h (getLabelList):
1033 * insetinsetcollapsable.[Ch] (getLabelList):
1034 * insetinsetinclude.[Ch] (getLabelList):
1035 * insetinsetlabel.[Ch] (getLabelList):
1036 * insetinsettabular.[Ch] (getLabelList):
1037 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1038 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1040 2003-09-18 Angus Leeming <leeming@lyx.org>
1042 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1043 redundant baggage from yesteryear.
1044 Remove Params::flag as it is redundant; the info is present in
1047 2003-09-18 Angus Leeming <leeming@lyx.org>
1049 * insetinclude.C (latexString): add a Buffer const & arg.
1051 2003-09-18 Angus Leeming <leeming@lyx.org>
1056 * insettext.h: rename EnumLColor as LColor_color.
1058 2003-09-18 Angus Leeming <leeming@lyx.org>
1060 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1061 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1063 2003-09-16 Angus Leeming <leeming@lyx.org>
1065 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1066 set before trying to generate a preview, else we trigger an assert.
1068 2003-09-16 Angus Leeming <leeming@lyx.org>
1070 * insetinclude.C (PreviewImpl::parent): return a const reference.
1072 2003-09-16 Angus Leeming <leeming@lyx.org>
1074 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1076 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1078 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1079 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1081 * insetminipage.C (metrics):
1082 * insetnote.C (metrics):
1083 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1084 access collapsed_ directly.
1086 2003-09-16 Angus Leeming <leeming@lyx.org>
1088 * insetbibitem.C: add #include "lyxfont.h".
1090 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1093 * insetbibtex.C: use namespace alias for lyx::support::os
1095 2003-09-16 Angus Leeming <leeming@lyx.org>
1097 * insetcollapsable.h: remove unused framecolor variable.
1098 Remove #include "LColor.h".
1100 * insetcollapsable.C: remove unused framecolor variable.
1103 * insetcollapsable.C:
1111 Add #include "LColor.h".
1113 2003-09-16 Angus Leeming <leeming@lyx.org>
1115 * insettext.[Ch] (frameColor): new accessor function.
1116 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1122 add #include "LColor.h".
1124 * insetcollapsable.h: add #include "LColor.h"
1125 (for its framecolor member variable).
1127 2003-09-16 Angus Leeming <leeming@lyx.org>
1129 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1131 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1132 rename frame_color as frame_color_. Make private.
1134 * insettext.C: associated changes.
1136 2003-09-16 Angus Leeming <leeming@lyx.org>
1138 * inset.h: store background_color_ as an int, not as an LColor::color to
1139 get LColor.h out of the header file.
1142 * insetlatexaccent.C:
1145 * insetspecialchar.C:
1147 add #include "LColor.h".
1149 2003-09-16 Angus Leeming <leeming@lyx.org>
1151 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1154 2003-09-15 Angus Leeming <leeming@lyx.org>
1156 * inset.[Ch] (setBackgroundColor, backgroundColor):
1157 * insettext.[Ch] (setFrameColor):
1158 pass EnumLColor args, rather than LColor::color ones.
1160 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1170 * insetwrap.C: remove usage of STRCONV
1172 2003-09-15 Angus Leeming <leeming@lyx.org>
1174 * renderers.C (draw):
1175 * insetlatexaccent.C (draw): explicitly define the color passed to
1178 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1180 * insettext.C: remove block causing problems in lockInsetInInset
1181 (mentioned erroneously under Bug #1366)
1183 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1185 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1188 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1190 * several files: change Assert to BOOST_ASSERT
1192 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1194 * insettext.[Ch]: remove drawText[XY]Offset
1196 2003-09-08 Angus Leeming <leeming@lyx.org>
1198 * insetcollapsable.C:
1203 * insetspecialchar.C:
1206 * insettoc.C: remove redundant using directives.
1208 2003-09-07 Angus Leeming <leeming@lyx.org>
1211 * insetspecialchar.h: remove #include "support/std_string.h".
1213 2003-09-06 Angus Leeming <leeming@lyx.org>
1215 * renderers.C: add #include "insets/inset.h"
1217 2003-09-05 Angus Leeming <leeming@lyx.org>
1219 * *.C: strip out redundant #includes. (193 in total.)
1221 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1223 * insets/insetbibtex.[Ch]:
1224 * insets/insetcommand.h:
1225 * insets/insetfloatlist.[Ch]:
1226 * insets/insetinclude.[Ch]:
1227 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1228 of insets like bibtex, include, toc and floatlist to the visible
1229 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1230 up the dialogs. Cursor has to be in front of the inset (i.e.
1231 start of row) for this to function.
1233 2003-09-04 Angus Leeming <leeming@lyx.org>
1235 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1236 structure outside of the Format struct. Format::preambleName refers to
1237 an item in the map of all preamble snippets.
1238 Make use of the new Debug::EXTERNAL flag.
1240 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1241 (validate): Small change due to the changed storage of preamble snippets.
1243 2003-09-04 Angus Leeming <leeming@lyx.org>
1245 * insetgraphics.C: #include "support/os.h"
1247 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1248 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1249 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1251 * insetcollapsable.h:
1253 * insetnote.C: move #include "funcrequest.h" out of the header file.
1255 2003-09-03 Angus Leeming <leeming@lyx.org>
1257 * insetexternal.C (updateExternal):
1258 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1261 2003-09-03 Angus Leeming <leeming@lyx.org>
1263 * insetexternal.C: don't bring namespace lyx::support into the global
1266 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1268 * insetbranch.C: Add Branch: to label
1270 2003-09-02 John Levon <levon@movementarian.org>
1273 * insettext.C: remove cursor.i[xy]()
1275 2003-08-28 Angus Leeming <leeming@lyx.org>
1277 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1278 "sh ", enabling the conversion to be carried out even if the script
1281 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1283 * most files: change to use const Buffer refs
1285 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1287 * insetfootlike.C: whitespace.
1289 2003-08-26 John Levon <levon@movementarian.org>
1293 * insetindex.h: remove remaining mentions of needFullRow()
1295 2003-08-26 André Pönitz <poenitz@gmx.net>
1301 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1303 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1305 * insetbranch.C: Small fix to prevent a crash on loading.
1307 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1312 * insetcollapsable.h:
1314 * insetfloatlist.[Ch]:
1315 * insetfootlike.[Ch]:
1316 * insetinclude.[Ch]:
1322 * insettheorem.[Ch]:
1323 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1324 altogether, putting the logic in metrics/draw in the insets.=20
1325 Draws short single row insets with more or less realistic metrics.
1327 2003-08-19 André Pönitz <poenitz@gmx.net>
1329 * insettext.C: use new RowPainter interface
1331 2003-08-18 John Levon <levon@movementarian.org>
1333 * insetref.C: require amsmath for eqref
1335 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1339 * insetbranch.[Ch]: implements the 'branch inset'
1340 idea. This allows the output of various versions of a document
1341 from a single source version, selectively outputing or suppressing
1342 output of parts of the text.
1343 This implementation contains a 'branch list editor' in a separate
1344 tab of the document settings dialog. Branches are user definable
1345 and have a "display colour" to distinguish them on-screen.
1347 ColorHandler was somewhat cleaned up.
1348 (1) make possible a dynamically growing LColor list by allowing
1349 the graphic context cache to grow along (vector);
1350 (2) eliminate an IMHO unnecessary step in colour allocation.
1352 2003-08-15 André Pönitz <poenitz@gmx.net>
1354 * insettext.[Ch]: adjust after rowlist split
1356 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1358 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1359 rename valign-center to valign-middle;
1360 rename VALIGN_CENTER to VALIGN_MIDDLE
1362 2003-08-11 André Pönitz <poenitz@gmx.net>
1364 * inset.h: remove resizeLyXText
1367 * insetcollapsable.[Ch]:
1369 * insettabular.[Ch]: adjust
1371 * insettext.[Ch]: remove saveLyXTextState,
1372 restoreLyXTextStat, sstate, reinitLyXText
1374 2003-08-07 André Pönitz <poenitz@gmx.net>
1376 * inset.[Ch]: move non-crucial functions out-of-line
1378 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1379 remove duplicated code.
1381 2003-08-05 André Pönitz <poenitz@gmx.net>
1384 * insetcollapsable.[Ch]:
1394 * insettabular.[Ch]:
1397 * updatableinset.[Ch]: rip out "deep update"
1399 * insettext.C (localDispatch): merge cases with default branch
1401 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1403 * insettabular.[Ch] (updateLocal): simplify logic
1405 2003-08-04 André Pönitz <poenitz@gmx.net>
1407 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1408 is 'FULL' all the time.
1410 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1412 * insetert.C (get_new_label): only add ... to the (closed) label
1413 when the string has been shortened
1415 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1417 * Always use std::endl with lyxerr
1419 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1421 * insetnote.C: update \author list
1423 2003-07-31 André Pönitz <poenitz@gmx.net>
1425 * insetcollapsable.h:
1426 * insettabular.[Ch]:
1427 * insettext.[Ch]: remove toggleSelection
1429 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1431 (with help from Juergen Spitzmueller)
1432 * insetnote.C: add add i18n support. Use Prefs-definable
1433 colours for Comment and Greyedout.
1435 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1437 * insetcollapsable.[Ch]:
1439 * insetert.C: factor out the detection of clicking on the inset
1440 button as 'hitButton'. John Levon contributed.
1442 2003-07-30 André Pönitz <poenitz@gmx.net>
1444 * insetcollapsable.C:
1446 * insettabular.C: parantheses, localize vars etc.
1448 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1450 * insetnote.C: Implement a newenvironment in preamble for
1451 greyedout. Patch provided by Jürgen Spitzmüller.
1453 2003-07-29 Angus Leeming <leeming@lyx.org>
1455 * insetcommand.C (localDispatch): default to
1456 InsetOld::localDispatch.
1458 * insetbibitem.C (localDispatch):
1459 * insetbibtex.C (localDispatch): remove call to
1460 ChangeCitationsIfUnique.
1462 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1464 * insetexternal.C (read): use pushpophelper.
1466 2003-07-28 José Matos <jamatos@lyx.org>
1468 * insetext.C (read): \end_document replaces \the_end.
1470 2003-07-28 José Matos <jamatos@fep.up.pt>
1472 * insetert.C (write): \layout -> \begin_layout.
1473 Add missing \end_layout.
1475 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1477 * insetquotes.C: document a bit the format
1479 * insettabular.C (write): remove extra space
1481 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1482 * insetnote.C: Umpf. Hope I *now* get it right :-(
1484 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1485 *insetnote.C: did the right fix to greyedout: \color
1486 instead of \textcolor.
1488 2003-07-28 Angus Leeming <leeming@lyx.org>
1490 * insetbibtex.h: remove extraneous forward declaration.
1493 * insetbibtex.h: Also remove long-dead Holder member class
1496 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1498 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1501 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1503 * insetwrap.C (addToToc): adjust for lyx::toc
1505 * insetfloatlist.C (ascii): adjust for lyx::toc
1507 * insetfloat.C (addToToc): adjust for lyx::toc
1509 2003-07-27 José Matos <jamatos@fep.up.pt>
1511 * insetnote.h (linuxdoc,docbook): update support.
1513 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1515 * insetfloat.C (wide): add a space to label, for consistency
1517 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1519 * insettext.C (nextChange): adjust for lyx::find
1520 (searchForward): ditto
1521 (searchBackward): ditto
1523 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1525 * insetgraphicsParams.C:
1526 * insetexternal.C: declare extern displayTranslator
1529 * renderers.C: add #include "support/LAssert.h"
1531 2003-07-27 José Matos <jamatos@fep.up.pt>
1533 * insetfloat.[Ch] (linuxdoc):
1534 * insetgraphics.C (linuxdoc):
1535 * insettabular.C (linuxdoc):
1536 * insettext.[Ch] (linuxdoc): add support for tables and figures
1539 2003-07-27 José Matos <jamatos@fep.up.pt>
1541 * insetinclude (latex): comply with makeLaTeXFile argument change.
1543 2003-07-26 Asger Alstrup <alstrup@local>
1545 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1546 the undo crashes. We'll see what problems other places this will
1549 2003-07-26 Angus Leeming <leeming@lyx.org>
1551 * insetgraphics.C: remove unused declaration of system_tempdir.
1553 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * rename Inset to InsetOld
1557 * all inset files (clone): return a auto_ptr<InsetBase>
1559 2003-07-23 Angus Leeming <leeming@lyx.org>
1561 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1563 2003-07-23 Angus Leeming <leeming@lyx.org>
1565 * mailinset.[Ch] (inset2string):
1566 * insetcommand.[Ch] (inset2string):
1567 * insetert.[Ch] (inset2string):
1568 * insetexternal.[Ch] (inset2string):
1569 * insetfloat.[Ch] (inset2string):
1570 * insetgraphics.[Ch] (inset2string):
1571 * insetinclude.[Ch] (inset2string):
1572 * insetminipage.[Ch] (inset2string):
1573 * insetnote.[Ch] (inset2string):
1574 * insettabular.[Ch] (inset2string):
1575 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1577 * insetexternal.[Ch]:
1578 * insetgraphics.[Ch]: get rid of the view() function. Associated
1579 changes to the mailers' string2params and params2string functions.
1581 2003-07-23 Angus Leeming <leeming@lyx.org>
1583 * insetexternal.[Ch]: store the external file name in a FileName
1584 member variable rather than a string + associated changes.
1586 2003-07-21 Angus Leeming <leeming@lyx.org>
1588 * insetgraphicsParams.[Ch]: store the graphics file name in
1589 a FileName member variable rather than a string.
1591 * insetgraphics.[Ch]:
1592 * insetgraphicsParams.[Ch]: Associated changes.
1594 2003-07-21 Angus Leeming <leeming@lyx.org>
1596 * insetgraphics.[Ch] (string2params, params2string): passed a
1597 buffer_path argument.
1600 2003-07-21 Angus Leeming <leeming@lyx.org>
1603 * insetgraphicsParams.[Ch]:
1605 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1607 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1609 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1611 2003-07-18 André Pönitz <poenitz@gmx.net>
1614 * insetminipage.[Ch]:
1615 * insettabular.[Ch]:
1618 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1620 2003-07-18 André Pönitz <poenitz@gmx.net>
1624 * insetcollapsable.C:
1628 * insetgraphics.[Ch]:
1629 * insetlatexaccent.[Ch]:
1634 * insetspecialchar.C:
1635 * insettabular.[Ch]:
1637 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1639 2003-07-17 André Pönitz <poenitz@gmx.net>
1641 * insetcollapsable.C:
1643 * insettext.C: don't call Inset::update() anymore
1646 * insettabular.[Ch]: remove unneeded in_update_ members
1648 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1650 2003-07-16 André Pönitz <poenitz@gmx.net>
1652 * insettext.C (selectAll): remove
1654 2003-07-16 John Levon <levon@movementarian.org>
1657 * insetnote.C: implement showInsetDialog()
1659 2003-07-15 André Pönitz <poenitz@gmx.net>
1662 * insettext.C: refresh_status tristate -> need_update bool
1664 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1666 * insettext.C: adjust call to LyXText::init
1668 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1670 * insettext.C: use bufferview_funcs->replaceSelection()
1671 to delete selections in some cases (bugs 441, 673, 702, 954).
1673 2003-07-14 André Pönitz <poenitz@gmx.net>
1675 * insettext.C (draw): use slimmed down rowpainter interface
1677 2003-07-14 André Pönitz <poenitz@gmx.net>
1679 * insetcollapsable.C:
1681 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1682 remove unused BufferView * argument
1684 2003-07-14 André Pönitz <poenitz@gmx.net>
1686 * insettext.[Ch]: used cached metrics a bit more
1688 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1690 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1692 2003-07-10 André Pönitz <poenitz@gmx.net>
1695 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1697 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1699 * introduce namespace lyx::graphics
1701 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1703 * introduce namespace lyx::support
1705 2003-06-30 André Pönitz <poenitz@gmx.net>
1707 * insetcite.C (localDispatch): fix case of missing return value
1709 * insetcite.C (ascii): remove unneeded temporary
1711 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1713 * insetspace.h: fix \file
1715 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1716 * insetinclude.C (fillWithBibKeys): ditto
1718 * insetbibitem.C: fix type const order
1720 * inset.C (getLyXText): add varname for arg
1722 * ExternalTemplate.h: fix type const order
1724 2003-06-27 André Pönitz <poenitz@gmx.net>
1726 * insettext.C: take care of removed LyXCursor::row_ member
1728 * insettext.[Ch]: use new TextCursor struct for sstate
1730 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1732 * inseterror.[Ch]: removed
1734 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1736 * insetinclude.C (docbook): use parseError instead of sgmlError
1738 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1740 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1741 of BufferList::loadLyXFile
1743 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1745 * insettext.C (update): simplify
1746 (updateLocal): remove commented code
1747 (insetUnlock): simplify
1748 (lockInset): simplify
1749 (updateInsetInInset): simplify
1750 (localDispatch): simplify
1752 (resizeLyXText): simplify
1753 (collapseParagraphs): simplify
1755 * insetert.C (get_new_label): simplify
1757 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1759 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1760 pasteSelection with index
1762 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1764 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1766 2003-06-16 André Pönitz <poenitz@gmx.net>
1768 * insetbase.h: new virtual base function clone()
1770 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1771 Inset * clone() -> InsetBase * clone()
1773 2003-06-13 André Pönitz <poenitz@gmx.net>
1775 * insettabular.[Ch]: make tabular a proper member
1777 2003-06-12 André Pönitz <poenitz@gmx.net>
1779 * insettabular.[Ch]: some renaming plus whitespace
1781 2003-06-11 Angus Leeming <leeming@lyx.org>
1783 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1786 * insetbutton.[Ch]: removed.
1787 * graphicinset.[Ch]: renamed as renderers.[Ch].
1789 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1790 Create a new class ButtonRenderer using the InsetButton::metrics() and
1792 Derive both from a common RenderedInset base class.
1794 * insetcommand.[Ch]:
1795 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1796 Give it a ButtonRenderer member variable. Use it.
1797 Give the classes working copy c-tors.
1798 No longer derive from boost::noncopyable.
1800 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1801 display its contents as a button or as a graphic.
1803 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1806 2003-06-11 Angus Leeming <leeming@lyx.org>
1808 * insetcite.C (localDispatch): reformat.
1810 * insetref.C (localDispatch): enable dialog to be lauched.
1812 2003-06-11 John Levon <levon@movementarian.org>
1814 * insettabular.C: correctly mark all cells as erased
1816 2003-06-11 Angus Leeming <leeming@lyx.org>
1818 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1819 ExternalTemplate but its name, templatename. This means that a file
1820 containing a reference to an External Template not installed on the
1821 current machine will be saved retaining this info rather than inserting
1822 the first "valid" template from the list of templates.
1824 As a by product, the visual statement that the Template is missing is
1827 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1829 * insettext.C (appendParagraphs): remove some commented code.
1831 2003-06-10 Angus Leeming <leeming@lyx.org>
1833 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1836 * insetexternal.[Ch]: move tempname_ into the Params struct.
1837 (Params d-tor): new function, to clean-up this temp file.
1838 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1840 (editExternal, doSubstitution): move out of class.
1842 2003-06-10 Angus Leeming <leeming@lyx.org>
1844 * graphicinset.[Ch] (params): removed.
1845 * graphicinset.h (operator=): declared private but not defined.
1846 (statusMessage): made private.
1848 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1850 2003-06-07 John Levon <levon@movementarian.org>
1852 * insetert.C (latex): make a newline mean just that not
1855 2003-06-07 José Matos <jamatos@fep.up.pt>
1857 * insethfill.[Ch] (linuxdoc, docbook): implement output
1858 * insetspace.C (linuxdoc, docbook): remove coments as the code
1861 2003-06-06 José Matos <jamatos@fep.up.pt>
1863 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1865 2003-06-06 André Pönitz <poenitz@gmx.net>
1867 * insetwrap.[Ch]: code compactification
1869 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1871 * mailinset.C (updateDialog): use Dialogs::visible
1873 2003-06-04 Angus Leeming <leeming@lyx.org>
1875 * graphicinset.C (draw): add a comment for the #if 0 block.
1877 * insetexternal.h: remove Params::parameters variable.
1878 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1879 and read it back making full use of LyXLex.
1881 2003-06-04 André Pönitz <poenitz@gmx.net>
1883 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1885 2003-06-04 John Levon <levon@movementarian.org>
1887 * insettabular.C: back out tall table speed up. It was broken
1889 2003-06-03 Angus Leeming <leeming@lyx.org>
1891 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1892 Remove ViewCommand and UpdateCommand.
1894 * graphicinset.C (update): bug fix. Set the params before calling the
1896 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1897 BufferView cache to enable the InsetExternal::editCommand to be invoked
1898 from the frontends. Would not be needed if this were dispatched properly.
1899 (old_ascent_): variable removed.
1901 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1902 do any necessary conversions of external material. Also use the
1903 new GraphicsInset to display the inset within LyX.
1905 2003-06-03 Angus Leeming <leeming@lyx.org>
1907 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1908 and move it somewhere where InsetExternal can use it too.
1910 * Makefile.am: add the new files.
1912 * insetgraphics.[Ch]: make use of the new GraphicInset.
1914 2003-06-03 John Levon <levon@movementarian.org>
1917 * insetbibitem.[Ch]:
1920 * insetcommand.[Ch]:
1924 * insetexternal.[Ch]:
1928 * insetgraphics.[Ch]:
1930 * insetinclude.[Ch]:
1933 * insetlatexaccent.[Ch]:
1934 * insetmarginal.[Ch]:
1935 * insetminipage.[Ch]:
1942 * insetspecialchar.[Ch]:
1943 * insettabular.[Ch]:
1945 * insetthereom.[Ch]:
1948 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1950 * insetgraphics.[Ch]:
1951 * insetgraphicsParams.[Ch]: always store an absolute
1954 2003-06-02 André Pönitz <poenitz@gmx.net>
1958 * insetlatexaccent.C: remove duplicated call to metrics()
1960 2003-06-02 John Levon <levon@movementarian.org>
1962 * insettabular.C: fix resize of column width
1964 2003-06-02 John Levon <levon@movementarian.org>
1969 * insetparent.C: remove insetparent
1971 2003-06-02 André Pönitz <poenitz@gmx.net>
1978 * insetcollapsable.[Ch]:
1982 * insetgraphics.[Ch]:
1983 * insetinclude.[Ch]:
1984 * insetlatexaccent.[Ch]:
1985 * insetminipage.[Ch]:
1986 * insetnewline.[Ch]:
1989 * insetspecialchar.[Ch]:
1990 * insettabular.[Ch]:
1991 * insettext.[Ch]: unify first drawing phase
1994 * insetbase.h: move validate() to the base
1996 2003-05-31 Angus Leeming <leeming@lyx.org>
1998 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2000 2003-05-30 André Pönitz <poenitz@gmx.net>
2005 * insetcaption.[Ch]:
2006 * insetcollapsable.[Ch]:
2009 * insetgraphics.[Ch]:
2010 * insetinclude.[Ch]:
2011 * insetlatexaccent.[Ch]:
2012 * insetnewline.[Ch]:
2015 * insetspecialchar.[Ch]:
2016 * insettabular.[Ch]:
2018 * updatableinset.[Ch]: unify second drawing phase
2020 2003-05-30 John Levon <levon@movementarian.org>
2022 * insetgraphics.C: fix a bformat
2024 2003-05-29 John Levon <levon@movementarian.org>
2026 * insettabular.C: remove unused bufferOwner()
2028 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2030 * insettext.C (lockInsetInInset): adjust
2031 (getLabelList): use const_iterator, adjust
2032 (getInsetFromID): use const_iterator, adjust
2033 (addPreview): use const_iterator, adjust
2035 * insetwrap.C (clone): remove const_cast
2037 * insetnote.C (clone): remove const_cast
2039 * insetminipage.C (clone): remove const_cast
2041 * insetmarginal.C (clone): remove const_cast
2043 * insetfoot.C (clone): remove const_cast
2045 * insetfloat.C (clone): remove const_cast
2047 * insetert.C (clone): remove const_cast
2049 * delete commented same_id functions from a lot of files.
2051 2003-05-28 John Levon <levon@movementarian.org>
2057 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2059 * insetminipage.C: fix metrics (bug 1144)
2061 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2063 * insettext.C (saveLyXTextState): adjust
2064 (restoreLyXTextState): adjust
2067 (unlockInsetInInset): adjust
2068 (localDispatch): adjust
2069 (getLyXText): adjust
2071 * insettabular.C (insertAsciiString): adjust
2073 2003-05-27 André Pönitz <poenitz@gmx.net>
2076 * insetcollapsable.C:
2079 * insetlatexaccent.C:
2084 * insetspecialchar.C:
2086 * insettext.C: dim.w -> dim.wid
2088 2003-05-26 John Levon <levon@movementarian.org>
2090 * insettabular.C: avoid drawing all of a long table
2091 if it's not needed. A big speedup
2093 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2095 * remove same_id from function signatures, adjust
2097 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2099 * insettext.C (InsetText): adjust
2101 (setParagraphData): separate same_id cases, adjust
2102 (appendParagraphs): adjust
2103 (appendParagraphs): adjust
2105 2003-05-23 André Pönitz <poenitz@gmx.net>
2107 * insetbutton.h: whitespace
2109 * insettabular.C: more compact code
2111 * updatableinset.C: remove const_cast
2114 2003-05-23 Angus Leeming <leeming@lyx.org>
2116 * insetexternal.C (write): check how many lines are output.
2117 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2118 if the template has defined it.
2120 2003-05-23 Angus Leeming <leeming@lyx.org>
2122 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2124 2003-05-23 Angus Leeming <leeming@lyx.org>
2126 * insetfoot.C (latex):
2127 * inseturl.C (latex): rename fragile as moving_arg.
2129 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2131 * inseterror.C (localDispatch): comment out unused var.
2133 2003-05-22 Angus Leeming <leeming@lyx.org>
2135 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2136 passed through the LatexRunParams arg.
2138 2003-05-22 Angus Leeming <leeming@lyx.org>
2140 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2141 through the LatexRunParams arg.
2143 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2144 arg rather than through a global var.
2146 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2148 * insetspecialchar.C (dimension): use a string.
2150 2003-05-22 Angus Leeming <leeming@lyx.org>
2152 * insetbibtex.C (latex):
2153 * insetgraphics.C (latex):
2154 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2155 runparams rather than from the buffer itself.
2157 2003-05-22 Angus Leeming <leeming@lyx.org>
2159 * inset*.[Ch] (latex):
2160 passed a LatexRunParams parameter.
2162 * insetgraphics.C (latex): actually use it ;-)
2164 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2166 * insetfloat.C (addToToc): trivial compile fix
2168 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * insettext.[Ch] (paragraph): delete unused function
2172 * insetfloat.C (addToToc): parlist simplfication
2174 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2176 * insetspace.[Ch]: added (new space insets)
2178 * inset.h: handle new space insets
2180 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2182 * insetfloat.C (addToToc): adjust
2184 2003-05-21 André Pönitz <poenitz@gmx.net>
2186 * insettext.[Ch]: fix drawing bug introduced earlier
2188 2003-05-19 André Pönitz <poenitz@gmx.net>
2190 * insetspecialchar.C: fix bug introduced yesterday
2192 2003-05-19 André Pönitz <poenitz@gmx.net>
2196 * insetcollapsable.[Ch]:
2200 * insetgraphics.[Ch]:
2201 * insetgraphicsParams.[Ch]:
2202 * insetlatexaccent.[Ch]:
2203 * insetminipage.[Ch]:
2204 * insetnewline.[Ch]:
2206 * insetspecialchar.[Ch]:
2207 * insettabular.[Ch]:
2208 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2210 2003-05-19 André Pönitz <poenitz@gmx.net>
2213 * insettext.C: more insetenv
2215 2003-05-16 André Pönitz <poenitz@gmx.net>
2218 * insetminimpage.[Ch]:
2219 * insetcollapsable.[Ch]: fix #832
2221 2003-05-16 André Pönitz <poenitz@gmx.net>
2224 * insetbibitem.[Ch]:
2228 * insetcollapsable.[Ch]:
2229 * insetcommand.[Ch]:
2232 * insetexternal.[Ch]:
2233 * insetfloatlist.[Ch]:
2234 * insetgraphics.[Ch]:
2235 * insetinclude.[Ch]:
2238 * insetlatexaccent.[Ch]:
2241 * insettabular.[Ch]:
2245 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2247 2003-05-13 André Pönitz <poenitz@gmx.net>
2250 * insetcollapsable.C:
2254 * insetwrap.C: tostr from own header
2266 * insetwrap.C: STRCONV
2269 2003-05-12 André Pönitz <poenitz@gmx.net>
2281 * insetwwrap.C: boost::format -> bformat all over the place
2283 2003-05-05 André Pönitz <poenitz@gmx.net>
2285 * insettext.h: add missing #include <map>
2287 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2289 * insettext.C (InsetText): parlist cleanup
2292 (insetUnlock): ditto
2294 (lockInsetInInset): ditto
2298 (searchBackward): ditto
2299 (collapseParagraphs): ditto
2301 2003-05-06 John Levon <levon@movementarian.org>
2303 * insetcaption.C: don't cast wrap inset to InsetFloat
2306 * insetfloat.C: remove unneeded type() function
2308 2003-05-05 André Pönitz <poenitz@gmx.net>
2312 * insettabular.[Ch]:
2313 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2314 replace getFirstParagraph() by getParagraphs()
2316 2003-05-03 John Levon <levon@movementarian.org>
2318 * insetcollapsable.h:
2319 * insetcollapsable.C:
2325 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2326 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2327 getCursor(). Remove explicit cursor hides.
2329 2003-05-02 André Pönitz <poenitz@gmx.net>
2331 * insettext.C: remove unneeded &*
2333 2003-04-30 John Levon <levon@movementarian.org>
2335 * insettabular.C: fix edit message
2337 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * insettext.C (setFont): do not convert iterator -> pointer
2341 * insettabular.C (localDispatch): do not convert iterator -> pointer
2343 (tabularFeatures): ditto
2345 2003-04-29 André Pönitz <poenitz@gmx.net>
2347 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2349 2003-04-28 André Pönitz <poenitz@gmx.net>
2351 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2354 2003-04-25 André Pönitz <poenitz@gmx.net>
2356 * insetenv.C: derive from InsetText instead of InsetCollapsable
2358 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2360 * insetexternal.C (string2params): dont do anything if the string
2362 * insetgraphics.C (string2params): ditto
2363 * insetcommand.C (string2params): ditto
2364 * insetert.C (string2params): ditto
2365 * insetfloat.C (string2params): ditto
2366 * insetinclude.C (string2params): ditto
2367 * insetminipage.C (string2params): ditto
2368 * insettabular.C (string2params): ditto
2369 * insetwrap.C (string2params): ditto
2371 2003-04-24 André Pönitz <poenitz@gmx.net>
2373 * insetref.C: support for eqref
2375 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2377 * insetert.C (read): use ParagraphList::iterator.
2379 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2381 * insetquotes.C (latex): comment some code and add warnings.
2383 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2385 * insetexternal.C (localDispatch): added a missing DISPATCHED
2387 2003-04-12 John Levon <levon@movementarian.org>
2389 * insetwrap.C (addToToc): fix a crash, conversion
2390 from while to for loop forgot to remove the explicit
2393 2003-04-10 John Levon <levon@movementarian.org>
2395 * insettabular.C (tabularFeature): make sure
2396 to update the dialog when we change something
2399 (getStatus): don't disable some lfuns (bug 939)
2401 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2403 * insettext.C (saveLyXTextState): adjust
2404 (localDispatch): adjust
2410 * insettabular.C (localDispatch): adjust
2412 (tabularFeatures): adjust
2414 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2416 * insettabular.C (searchForward,searchBackward): fix bug 782
2418 2003-04-07 John Levon <levon@movementarian.org>
2421 * insettext.C: clear status message on inset exit
2423 2003-04-03 John Levon <levon@movementarian.org>
2425 * insetcommand.C: return dispatched on DIALOG_UPDATE
2427 2003-04-02 John Levon <levon@movementarian.org>
2429 * insettabular.C: tab lfuns renamed
2431 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2433 * insettext.C (update): move towards ParagraphList
2434 (updateLocal): ditto
2436 (insetUnlock): ditto
2438 (lockInsetInInset): ditto
2439 (updateInsetInInset): ditto
2440 (localDispatch): ditto
2443 (resizeLyXText): ditto
2444 (searchBackward): ditto
2445 (collapseParagraphs): ditto
2448 * insetwrap.C (InsetWrap): adjust
2449 (addToToc): adjust and rewrite loop
2451 * insettext.[Ch] (paragraph): delete function
2453 * insettabular.C (moveNextCell): adjust
2454 (movePrevCell): adjust
2455 (insertAsciiString): adjust
2457 * insetfloat.C (InsetFloat): adjust
2460 * insetert.C (InsetERT): adjust
2461 (write): adjust, and rewrite loop
2462 (latex): adjust, and rewrite loop
2463 (linuxdoc): adjust, and rewrite loop
2464 (docbook): adjust, and rewrite loop
2465 (localDispatch): adjust
2466 (get_new_label): adjust
2468 2003-04-01 John Levon <levon@movementarian.org>
2470 From Alfredo Braunstein
2473 * insetbutton.C: add localDispatch()
2475 * insetcommand.C: return DISPATCHED when edit() called
2477 * insettext.C: fix bug 967
2479 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2481 * insettext.C: adjust
2483 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2485 * insettext.C (draw): adjust
2486 (crow): return a RowList::iterator not a Row*
2488 * insetminipage.C (localDispatch): adjust
2490 * insetert.C (localDispatch): adjust
2492 2003-03-31 John Levon <levon@movementarian.org>
2495 * insetgraphicsParams.C: use_gui moved to lyx_gui
2497 2003-03-31 John Levon <levon@movementarian.org>
2499 * insettext.C: Alert fix
2501 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2503 * insettext.C (ascent): adjust for RowList
2506 (getLyXText): adjust
2507 (toggleSelection): adjust
2509 * insetminipage.C (localDispatch): adjust for RowList
2511 * insetert.C (localDispatch): adjust for RowList
2512 (getMaxWidth): adjust for RowList
2514 2003-03-29 John Levon <levon@movementarian.org>
2516 * insetert.C: Alert cleanup
2518 2003-03-29 John Levon <levon@movementarian.org>
2520 * insettabular.C: Alert fix
2522 2003-03-28 John Levon <levon@movementarian.org>
2524 * insetfloat.C: reset label on INSET_MODIFY
2526 2003-03-28 John Levon <levon@movementarian.org>
2528 * insetgraphicsParams.C: read subcaptionText as a whole line
2531 2003-03-28 John Levon <levon@movementarian.org>
2533 * insettext.C: remove unused prototypes
2535 2003-03-25 Angus Leeming <leeming@lyx.org>
2537 * insetbibitem.C (localDispatch): repaint the view after modifying
2538 a bibitem inset in case the maximum InsetBibitem width has changed.
2540 2003-03-25 John Levon <levon@movementarian.org>
2543 * insettabular.C: LyXText renamings
2545 2003-03-24 John Levon <levon@movementarian.org>
2547 * insettext.C: remove some dead code. Fix bug 972 and
2548 related by posting a repaint in updateLocal(), and making
2549 the SEL functions set SELECTION.
2551 2003-03-22 John Levon <levon@movementarian.org>
2554 * inset.C: remove no-longer-needed topx_set
2556 * insetcollapsable.h:
2557 * insetcollapsable.C: remove dead code
2560 * insetert.C: rebreak the rows when a possible
2561 change in size is made, and reset the cursor
2564 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2566 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2567 topx_set. Fix drawing errors for clearInset(). Remove
2568 some unnecessary uses of topx, which should die.
2570 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2571 is no longer needed. Replace it with an ugly hack.
2573 2003-03-20 John Levon <levon@movementarian.org>
2576 * insetcollapsable.h:
2577 * insetcollapsable.C:
2585 * insettext.C: remove spurious font parameter
2586 from update(). Fix drawing of ERT insets inside
2587 insets (bug 966). Remove unused mark_dirty from
2588 tabular's updateLocal()
2590 2003-03-19 John Levon <levon@movementarian.org>
2599 * insetwrap.C: remove unused getter/setters
2601 2003-03-19 John Levon <levon@movementarian.org>
2603 * several files: bv->updateInset() doesn't take
2604 a bool mark_dirty any more
2606 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * adjust for BufferView* arg removal from lyxtext.
2610 2003-03-17 John Levon <levon@movementarian.org>
2612 * most files: remove the "cleared" parameter
2613 to draw in favour of always clearing. Associated
2616 2003-03-16 John Levon <levon@movementarian.org>
2618 * insettext.C: remove unused s.refresh
2620 2003-03-13 Angus Leeming <leeming@lyx.org>
2622 * insettext.C (edit): replace Dialogs::updateParagraph with
2623 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2625 2003-03-13 André Pönitz <poenitz@gmx.net>
2627 * Makefile.am: insert insetenv
2629 * insethenv.[Ch]: new files, currently inactive
2631 2003-03-12 John Levon <levon@movementarian.org>
2641 * insettext.C: use new insetnewline
2643 2003-03-12 John Levon <levon@movementarian.org>
2645 * insettext.C: readToken became readParagraph
2647 2003-03-12 John Levon <levon@movementarian.org>
2649 * insettext.C: use parlist iterator for reading contents
2651 2003-03-12 John Levon <levon@movementarian.org>
2653 * insettext.C: name change to readToken()
2655 2003-03-11 André Pönitz <poenitz@gmx.net>
2657 * Makefile.am: insert insethfill
2659 * insethfill.[Ch]: new files
2661 2003-03-10 Angus Leeming <leeming@lyx.org>
2663 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2665 (hideDialog): calls the new static Dialogs::hide() method.
2667 * insetbibitem.C (edit):
2668 * insetbibtex.C (edit):
2669 * insetcite.C (edit):
2670 * insetcommand.C (localDispatch):
2671 * inseterror.C (d-tor):
2672 * insetert.C (showInsetDialog):
2673 * insetexternal.C (localDispatch, edit):
2674 * insetfloat.C (localDispatch, showInsetDialog):
2675 * insetfloatlist.C (edit):
2676 * insetgraphics.C (localDispatch, edit):
2677 * insetinclude.C (localDispatch, edit):
2678 * insetindex.C (edit):
2679 * insetlabel.C (edit):
2680 * insetminipage.C (localDispatch, showInsetDialog):
2681 * insetref.C (edit):
2682 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2683 resetPos, showInsetDialog, openLayoutDialog):
2684 * insettoc.C (edit):
2685 * inseturl.C (edit):
2686 * insetwrap.C (localDispatch, showInsetDialog):
2687 changes due to the changed MailInset interface.
2689 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2691 * insetfloat.h: Set default placement to an empty string.
2693 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2695 * insettext.C (latex): adjust call to latexParagraphs.
2697 2003-03-10 Angus Leeming <leeming@lyx.org>
2699 * mailinset.C: warn the user if the BufferView has not been cached.
2701 2003-03-10 Angus Leeming <leeming@lyx.org>
2703 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2705 * insetcommand.h (inset):
2706 * insetert.h (inset):
2707 * insetexternal.h (inset):
2708 * insetfloat.h (inset):
2709 * insetgraphics.h (inset):
2710 * insetinclude.h (inset):
2711 * insetminipage.h (inset):
2712 * insettabular.h (inset):
2713 * insetwrap.h (inset):
2714 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2716 2003-03-10 Angus Leeming <leeming@lyx.org>
2718 * insetcommand.C (string2params):
2719 * insetexternal.C (string2params):
2720 * insetfloat.C (string2params):
2721 * insetgraphics.C (string2params):
2722 * insetinclude.C (string2params):
2723 * insetminipage.C (string2params):
2724 * insettabular.C (string2params):
2725 * insetwrap.C (string2params): cure warning message about missing
2728 2003-03-09 Angus Leeming <leeming@lyx.org>
2730 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2731 it to communicate with the frontend dialogs.
2733 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2734 contents of this inset!
2736 2003-03-07 Angus Leeming <leeming@lyx.org>
2738 * inseterror.C (localDispatch): new method; calls edit() on
2741 2003-03-07 Angus Leeming <leeming@lyx.org>
2743 * insetbibitem.C (localDispatch):
2744 * insetbibtex.C (localDispatch):
2745 * insetlabel.C (localDispatch):
2746 rewrite as a switch.
2748 2003-03-07 Angus Leeming <leeming@lyx.org>
2750 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2751 it to communicate with the frontend dialogs.
2753 2003-03-07 Angus Leeming <leeming@lyx.org>
2755 * insetexternal.C: remove operator== and operator!= for
2756 InsetExternal::Params. They were used only by the old controller
2759 2003-03-07 Angus Leeming <leeming@lyx.org>
2761 * insetcommand.C (localDispatch):
2762 * insetexternal.C (localDispatch):
2763 * insetfloat.C (localDispatch):
2764 * insetinclude.C (localDispatch):
2765 * insetminipage.C (localDispatch):
2766 * insetwrap.C (localDispatch):
2767 add LFUN_INSET_DIALOG_UPDATE to the switch.
2769 2003-03-07 Angus Leeming <leeming@lyx.org>
2771 * insetcommand.C (string2params):
2772 * insetexternal.C (string2params):
2773 * insetfloat.C (string2params):
2774 * insetinclude.C (string2params):
2775 * insetwrap.C (string2params): use LyXLeX more.
2778 * insetexternal.[Ch]:
2780 * insetinclude.[Ch]:
2781 * insetwrap.[Ch]: change Mailer::name_ to be static.
2783 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2784 it to communicate with the frontend dialogs.
2786 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2789 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2791 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2793 * insettext.C (updateLocal): un-const function
2794 (updateLocal): adjust
2795 (collapseParagraphs): un-const function
2796 (collapseParagraphs): adjust
2798 2003-03-05 Angus Leeming <leeming@lyx.org>
2800 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2801 it to communicate with the frontend dialogs.
2803 2003-03-05 Angus Leeming <leeming@lyx.org>
2805 * insetcollapsable.C (draw): cache the BufferView.
2807 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2808 it to communicate with the frontend dialogs.
2810 2003-03-05 Angus Leeming <leeming@lyx.org>
2812 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2815 2003-03-05 Angus Leeming <leeming@lyx.org>
2817 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2819 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2820 it to communicate with the frontend dialogs.
2822 2003-03-05 Angus Leeming <leeming@lyx.org>
2824 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2825 it to communicate with the frontend dialogs.
2827 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2829 * insettext.C (collapseParagraphs): adjust
2830 (appendParagraphs): make it take a Buffer* instead of a
2831 BufferParams& as arg.
2832 (appendParagraphs): adjust
2834 2003-03-04 Angus Leeming <leeming@lyx.org>
2836 * insetbibitem.C (localDispatch):
2837 * insetbibtex.C (localDispatch):
2838 * insetcommand.C (localDispatch):
2839 * insetert.C (localDispatch):
2840 * insetlabel.C (localDispatch):
2841 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2843 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2845 * insettext.C (latex): adjust for ParagraphList::iterator
2847 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * insetbutton.C (view): adjust for boost 1.30.0
2850 * insetcollapsable.C (view): ditto
2851 * insetgraphics.C (statusChanged): ditto
2853 * insettext.h: move paragraphs to be public.
2855 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2857 * insetnote.[Ch] (InsetNote): remove unused constructor
2859 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2861 * insetgraphics.C: added include "format.h"
2863 2003-02-27 Angus Leeming <leeming@lyx.org>
2865 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2868 2003-02-27 Angus Leeming <leeming@lyx.org>
2870 * insetbibitem.C (localDispatch):
2871 * insetbibtex.C (localDispatch):
2874 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2876 2003-02-26 Angus Leeming <leeming@lyx.org>
2878 * insetbibitem.[Ch] (localDispatch):
2879 * insetbibtex.[Ch] (localDispatch):
2880 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2882 * insetcommand.C (localDispatch):
2883 act only on receipt of LFUN_XYZ_APPLY.
2885 * insetert.C (localDispatch): reformat.
2886 add LFUN_XYZ_APPLY to the switch.
2888 2003-02-26 John Levon <levon@movementarian.org>
2890 * insettext.C: use RowPainter
2892 * inset.h: make helpers take const *
2894 2003-02-26 Angus Leeming <leeming@lyx.org>
2896 * insetcommand.[Ch] (localDispatch): new method.
2898 2003-02-26 Angus Leeming <leeming@lyx.org>
2900 * insetinclude.C (draw): cache the BufferView* using cache not
2901 PreviewImpl::setView
2903 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2905 * insetgraphics.C (draw)
2906 * insetinclude.C (draw): Eliminate also the other argument (owner
2907 inset inset) in the call to PreviewImage::image
2909 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2911 * insetgraphics.C (draw)
2912 * insetinclude.C (draw): Eliminate Buferview argument in call to
2915 2003-02-25 John Levon <levon@movementarian.org>
2917 * insetgraphicsParams.h:
2918 * insetgraphics.C: don't start a load process if
2919 the inset is set to NoDisplay (bug #920)
2921 2003-02-22 John Levon <levon@movementarian.org>
2924 * insetwrap.C: TocItem changed API (bug 913)
2926 2003-02-21 Angus Leeming <leeming@lyx.org>
2928 * insetcollapsable.[Ch] (cache, edit):
2929 * insetbutton.[Ch] (cache, edit): new methods to cache the
2930 BufferView in the draw method.
2932 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2933 simplify comunication between InsetCommand-derived classes and
2936 * insetbibitem.[Ch]:
2940 * insetfloatlist.[Ch]:
2944 * inseturl.[Ch]: small changes to reflect the new interface to the
2947 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2948 other, similar classes.
2950 * Makefile.am: add new files.
2952 2003-02-21 Angus Leeming <leeming@lyx.org>
2954 * updatableinset.h (setView, view): remove.
2955 * inset.h (view, cache): to be replaced by these.
2957 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2960 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2963 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2965 2003-02-21 Allan Rae <rae@lyx.org>
2967 * insetinclude.C (loadIfNeeded): ensure loading also works when
2968 child document is under version control.
2970 2003-02-17 André Pönitz <poenitz@gmx.net>
2972 * insetbib.[Ch]: Adjust access to bibkeys
2974 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2976 * insetquotes.C (dispString): remove use of acute accent for "'"
2979 2003-02-14 John Levon <levon@movementarian.org>
2981 * insettabular.C: changed method names in tabular.C
2983 2003-02-14 John Levon <levon@movementarian.org>
2987 * insetcollapsable.h:
2988 * insetcollapsable.C:
2992 * insettext.C: remove unused getParFromID()
2994 2003-02-13 John Levon <levon@movementarian.org>
2997 * insettext.C: remove unused beginningofMainBody()
2999 2003-02-08 John Levon <levon@movementarian.org>
3003 * insetcollapsable.h:
3004 * insetcollapsable.C:
3009 add nextChange(). Make allowSpellcheck() const. Add markErased().
3011 * insetert.C: ignore deleted text
3013 * insettabular.C: make sure to keep change tracking working
3016 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3021 * insettext.C: Use error messages with identical spelling and punctuation
3023 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3025 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3027 2002-12-17 Juergen Vigna <jug@lyx.org>
3029 * insettext.C (localDispatch): hopefully fixed cursor up down
3030 movement on leaving other insets.
3032 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3034 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3037 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3039 * insetgraphics.C (prepareFile): do not remove the extension of
3040 the file name if it is not the default extension for the given
3041 format (that is, in latex output, remove extension from foo.eps,
3042 but not from foo.epsi)
3044 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3046 * insettext.C (lfunMouseRelease): hackish solution to the "double
3049 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3051 * insetfloat.C (addToToc): use the floats name not its type
3052 * insetwrap.C (addToToc): ditto
3054 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3056 * insetnote.C (init): make label font smaller
3058 2002-12-04 John Levon <levon@movementarian.org>
3060 * insetinclude.C: ressurect setting of command name
3062 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3064 * insetquotes.C (dispString): disambiguate insert call
3066 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3068 * several files: ws changes
3070 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3072 * insetquotes.C (dispString): use string::insert for prepending a
3075 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3077 * insetparent.C (getScreenLabel): use boost::format
3079 * insetgraphics.C (prepareFile): use boost::format
3082 * insetfloatlist.C (latex): use boost::format
3084 * insetcaption.C (draw): use boost::format
3086 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3088 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3091 2002-11-20 Juergen Vigna <jug@sad.it>
3093 * insettabular.C (resetPos): temporary fix for endless loop in
3094 this function on a redraw.
3096 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3098 * insettabular.C (copySelection): STRCONV
3100 * insetinclude.C (uniqueID): STRCONV
3101 (latexString): ditto
3103 * insetgraphics.C: put VersionNumber inside anon namespace
3104 (createLatexOptions): STRCONV
3106 * insetcommandparams.C: include config.h
3108 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3110 * insetgraphicsParams.C (Write): use lyx::float_equal.
3111 Write height data correctly.
3112 (Read): zero scale when reading height data.
3114 2002-10-30 John Levon <levon@movementarian.org>
3116 * insetfloat.C (addToTOC): recursively traverse all
3117 contents looking for captions (fix #568)
3119 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3121 * insetexternal.C (doSubstitution): do not try to replace
3122 environment variables, this is done when executing the command
3124 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3126 * insetexternal.C (doSubstitution): change order of substitution
3127 to work around ReplaceEnvironmentPath brokenness
3129 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3131 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3133 * insetgraphicsParams.C (init, Write): associated changes
3134 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3135 InsetGraphicsParams::scale.
3137 2002-10-21 John Levon <levon@movementarian.org>
3139 * inset.h: remove unused DISPATCH_RESULT
3141 * insettext.C: sgml open/close tag now in sgml namespace
3143 2002-10-21 Angus Leeming <leeming@lyx.org>
3145 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3146 file path subdir/fig.eps when pasting it into a buffer in a different
3149 2002-10-16 John Levon <levon@movementarian.org>
3151 * insetspecialchar.C: remove \\protected_separator parsing
3153 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3155 * insetquote.C: fix LaTeX output of quotation marks.
3157 2002-10-14 Juergen Vigna <jug@sad.it>
3159 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3160 Backspace functions which confused the Undo handling.
3162 2002-10-09 Angus Leeming <leeming@lyx.org>
3164 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3165 BufferView::dispatch that turns off this optimisation when a new inset
3168 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3169 reload the BibTeX keys.
3171 2002-10-11 André Pönitz <poenitz@gmx.net>
3173 * insettext.h: handle LFUN_PRIOR/NEXT
3175 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3177 * insetfloat.C: fix bug with float settings
3178 (document default != float default).
3180 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3182 * insetwrap.C (addToToc): New method.
3183 (InsetWrap): Set layout to caption.
3185 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3187 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3189 2002-09-16 John Levon <levon@movementarian.org>
3191 * insettabular.h: hasSelection() needs to be public
3193 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3195 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3197 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3199 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3201 2002-09-11 André Pönitz <poenitz@gmx.net>
3203 * insettabular.C: implement LFUN_WORDSEL
3205 2002-09-10 John Levon <levon@movementarian.org>
3207 * insetinclude.h: remove unused param
3209 2002-09-09 John Levon <levon@movementarian.org>
3212 * insetinclude.C: remove noload, default to input
3214 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3216 * insetgraphics.C: disfuscated use of ']' in built output string.
3218 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3220 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3222 2002-08-29 Juergen Vigna <jug@sad.it>
3224 * insettabular.C (lfunMousePress): Pay attention where you set
3225 the x/y values as they depend on which inset in the tabular is
3226 actually locked. So you surely have to reset them if you (un)lock
3229 2002-08-29 André Pönitz <poenitz@gmx.net>
3231 * insetfootlike.h: rename include guard to ALL CAPS
3233 * insettext.C: swap object and first parameter for checkInsetHit calls
3234 as this functions has moved from BufferView to LyXText
3237 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3239 * insetgraphicsParams.C: remove local displayTranslator and use
3240 the one from graphics/GraphicsTypes.h.
3242 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3244 * insetfloat.C (wide): add BufferParams parameter
3246 * insetfloatlist.C (read):
3249 * insetfloat.C (latex):
3251 * insetcaption.C (draw): use LyXTextClass::floats()
3253 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3255 * insetoptarg.h: add std:: qualifier.
3257 2002-08-26 Juergen Vigna <jug@sad.it>
3259 * insettext.C (localDispatch): ditto.
3261 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3263 2002-08-25 John Levon <levon@movementarian.org>
3265 * inseturl.C: elide long URLs (bug 404)
3267 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3269 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3270 remove "Format Version <version_no.>" string from inset header
3273 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3275 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3276 a member of "grfx::Params" anymore.
3278 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3280 2002-08-24 John Levon <levon@movementarian.org>
3283 * insetoptarg.C: ws, pedantry ...
3285 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3287 * insettext.C (collapseParagraphs): pasteParagraph now in global
3289 (appendParagraphs): ditto
3291 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3293 * insetcite.C (latex): Remove spaces only after commmas.
3295 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3297 * insettext.C: remove NO_COMPABILITY stuff
3299 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3301 * insettext.C (edit): use ParagraphList iterators
3303 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3304 (bibitemWidest): ditto
3306 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3308 * insettext.C: include <boost/bind.hpp>
3309 add using std::for_each
3310 (saveLyXTextState): use ParagraphsList::iterator
3311 (init): use for_each on paragraphlist iterators
3312 (InsetText): remove superflous setting cached_bview to 0
3313 (latex): reformat a bit
3314 (ascii): use paragraphlist iterators
3315 (validate): use for_each + boost bind
3316 (getLabelList): use paragraphlist iterators
3317 (deleteLyXText): use for_each + boost::bind
3318 (resizeLyXText): ditto
3319 (reinitLyXText): ditto
3320 (removeNewlines): use paragraphlist iterators
3321 (getParFromID): ditto
3322 (paragraph): use for_each + boost::bind
3323 (getInsetFromID): use paragraphlist iterators
3324 (getLabelList): typo fix
3326 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3328 * insettext.C (read): assign tmp to paragraphs after return from
3329 call to parseSingleLyXformat2Token
3332 2002-08-13 Angus Leeming <leeming@lyx.org>
3351 changes due to the changed LyXView interface that now returns references
3352 to member variables not pointers.
3354 2002-08-13 Angus Leeming <leeming@lyx.org>
3357 * insetcollapsable.h:
3360 * insettext.h: forward-declare WordLangTuple
3361 (selectNextWordToSpellcheck) constify return type.
3364 * insetcollapsable.C:
3367 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3369 2002-08-12 Angus Leeming <leeming@lyx.org>
3371 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3373 2002-08-12 Juergen Vigna <jug@sad.it>
3375 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3378 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3380 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3381 (bibitemWidest): ditto
3382 * insettext.[Ch]: ditto
3384 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3386 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3388 2002-08-09 Angus Leeming <leeming@lyx.org>
3390 * insetinclude.C (latexString): remove fudge now that I've found out
3391 how to enable LaTeX to find the file using input@path.
3393 2002-08-09 John Levon <levon@movementarian.org>
3396 * insettext.C: remove unused xpos
3398 2002-08-07 Juergen Vigna <jug@lyx.org>
3400 * insettabular.C (localDispatch): make delete not put the stuff
3401 in the clipboard only do this on a cut operation.
3403 * insettext.C (localDispatch): make delete and backspace not put
3404 selected stuff to the clipboard.
3406 2002-08-07 André Pönitz <poenitz@gmx.net>
3409 * insetcollapsable.[Ch]:
3413 * insettabular.[Ch]:
3414 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3416 2002-08-06 John Levon <levon@movementarian.org>
3420 * insetcollapsable.h:
3421 * insetcollapsable.C:
3427 * insettext.C: use WordLangTuple for spellcheck
3429 2002-08-06 Angus Leeming <leeming@lyx.org>
3431 * insetinclude.C: add a monitor to the previewed image, so that the
3432 image is refreshed if the \input-ed file changes.
3434 2002-08-04 John Levon <levon@movementarian.org>
3437 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3439 2002-08-02 Angus Leeming <leeming@lyx.org>
3441 * insetcommandparams.[Ch] (preview): new methods returning and setting
3442 a new bool preview_ flag.
3443 (read): read this flag.
3444 (operator==): add flag to check.
3446 * insetinclude.C (write): output new preview() flag.
3447 (previewWanted): use this flag.
3449 2002-08-02 Angus Leeming <leeming@lyx.org>
3451 * insetcollapsable.[Ch] (addPreview):
3452 * insettabular.[Ch] (addPreview):
3453 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3454 for insets in insets.
3456 2002-08-02 Angus Leeming <leeming@lyx.org>
3458 * insetcite.C: fix typo.
3460 * insetgraphics.C: kill current_view and instead cache the BufferView
3463 * insetinclude.C: kill current_view and pass the BufferView to the
3464 PreviewedInset so that it can cache it.
3466 2002-08-01 Angus Leeming <leeming@lyx.org>
3468 * inset.h (generatePreview): renamed as addPreview.
3469 (generatePreview): new method. Allows code to be moved out of
3470 math_nestinset.C and into the new PreviewedInset class.
3472 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3473 add previews to the inset when \input-ing LaTeX.
3475 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3477 * several files: strip,frontStrip -> trim,ltrim,rtrim
3479 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3481 * insetbib.C (latex): modify because of strip changes
3483 * insetnote.C (InsetNote): ditto
3485 2002-07-26 Juergen Vigna <jug@sad.it>
3487 * insettabular.C (searchForward): check for lastcell if we
3488 had a locking inset.
3490 2002-07-25 Juergen Vigna <jug@sad.it>
3492 * insettabular.C (insetMotionNotify): Don't update the screen
3493 if we didn't do nothing.
3494 (searchForward): last cell was not checked.
3496 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3498 * insetfloat.C (read, write): Allow default placement
3499 (floatPlacement_ is empty).
3501 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3503 * insetminipage.h (noFontChange):
3504 * insettabular.h (noFontChange):
3505 * insetfootlike.h (noFontChange):
3506 * insetfloat.h (noFontChange): return true
3508 * inset.h (noFontChange): new method, defaulting to false
3510 2002-07-22 Herbert Voss <voss@lyx.org>
3512 * insetgraphicsParams.[Ch]: support size_type for old docs
3514 2002-07-22 Herbert Voss <voss@lyx.org>
3517 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3520 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3522 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3524 * insetlatexaccent.h: do not include "lyxlex.h"
3526 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3529 * insetlatexaccent.C:
3533 * insetbib.C: #include "lyxlex.h"
3539 * insettext.C: use BufferParams::getLyXTextClass
3542 * insetfloat.C (addToToc): new method. Add to toclist the entries
3543 corresponding to Caption layouts
3544 (InsetFloat): when creating a new float, set the layout to "Caption"
3546 2002-07-21 Herbert Voss <voss@lyx.org>
3548 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3549 image relevant part into graphics/GraphicsImgae.C
3551 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3553 * insettoc.C (ascii):
3554 * insetfloatlist.C (ascii): change to use the new Toc functions
3555 instead of stuff that was in Buffer
3557 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3559 * insettext.C (localDispatch): BufferView::Dispatch has been
3560 renamed to BufferView::dispatch
3562 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3564 * insetgraphicsParams.C (as_grfxParams): use the new
3565 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3566 1.2.0 patch, and I do not really know how to adapt it to the new
3567 grfx::Cache world. Angus, please could you have a look?
3569 2002-05-01 Herbert Voss <voss@lyx.org>
3571 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3573 2002-07-18 Angus Leeming <leeming@lyx.org>
3575 * insetgraphics.C: clean-up comments (from Herbert).
3576 add a new checksum variable to the cache. Use it in PrepareFile.
3577 (draw): start monitoring the file for a change.
3578 (prepareFile): re-arrange a little to avoid unnecessary steps.
3580 2002-07-17 Angus Leeming <leeming@lyx.org>
3582 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3583 a method rather than to the signal directly.
3585 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3587 * insettext.C: use view_state_changed, switchKeyMap
3589 2002-07-17 Herbert Voss <voss@perce.de>
3591 * insetgraphics.C (prepareFile): keep the extension when
3592 exporting to nice file
3594 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3596 * insetcite.C (getNatbibLabel):
3597 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3599 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3601 * insetgraphics.C: use ->isDrawable()
3603 2002-07-12 Angus Leeming <leeming@lyx.org>
3605 * insetgraphics.C: use the new smart loading capabilities of the image
3608 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3610 * insettabular.C (edit): Move into correct cell when entering a
3613 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3616 2002-07-05 Angus Leeming <leeming@lyx.org>
3618 * inset.h (generatePreview): new virtual method.
3620 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3622 * insetcommandparams.[Ch] (operator=): move out of class
3623 (operator!): move out of class
3625 2002-07-04 André Pönitz <poenitz@gmx.net>
3627 * insetcommandparams.[Ch]: new files
3629 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3631 2002-06-15 Herbert Voss <voss@perce.de>
3633 * insetgraphics.C (prepareFile): bugfix; return always
3634 files without extension
3636 2002-06-28 Angus Leeming <leeming@lyx.org>
3638 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3639 rename asGParams -> as_grfxParams.
3641 * insetgraphics.C: reflect above change.
3643 2002-06-26 Angus Leeming <leeming@lyx.org>
3645 * insetgraphics.h: use boost::scoped_ptr in preference to
3648 2002-06-26 Angus Leeming <leeming@lyx.org>
3650 * insetgraphics.C: moved the image loading stuff into a new class
3651 grfx::Loader. Simplifies this file enormously.
3653 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3655 * insetgraphicsParams.C: changes aassociated with moving
3656 grfx::DisplayType out of grfx::GParams.
3658 2002-06-26 André Pönitz <poenitz@gmx.net>
3660 * insetgraphics.C: use os::external_path where necesaary according to a
3661 patch from Claus Hentschel)
3663 2002-06-25 Angus Leeming <leeming@lyx.org>
3665 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3666 generating a pixmap once the graphics file is loaded into memory.
3667 The current_view ugliness that was in grfx::ModifiedImage has been
3668 moved here now that grfx::ModifiedImage is no more.
3670 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3672 * insettext.C: layout as layout
3674 2002-05-28 André Pönitz <poenitz@gmx.net>
3676 * insetfloatlist.h: remove source of compiler warning
3678 * insetref.C: tiny whitespace
3680 2002-06-15 Herbert Voss <voss@perce.de>
3682 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3683 and take always convert when no userdefined converter was
3685 (latex) small changes in the lyxerr output
3687 2002-06-15 LyX Development team <lyx@rilke>
3689 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3690 mixed content. Small white spaces clean.
3692 2002-06-14 Angus Leeming <leeming@lyx.org>
3694 * inseetexternal.C: remove the using std::difftime declaration.
3696 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3698 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3700 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3702 * insetquotes.C (draw): fix drawing of double quotes
3704 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3706 * insettabular.C: s/scrollCB/scrollDocView/
3708 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3710 * insettext.C: change of topCursorVisible()
3713 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3716 * insettext.C: rename/change of LyXScreen
3718 2002-06-07 Angus Leeming <leeming@lyx.org>
3720 Fixes needed to compile with Compaq cxx 6.5.
3722 all c-library variables have been moved into namespace std.
3723 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3725 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3727 * insetinclude.C (uniqueID):
3728 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3729 conflicted with some AIX headers.
3731 2002-05-31 Juergen Vigna <jug@sad.it>
3733 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3737 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3739 * insetexternal.C (clone): fix () bug when using new
3740 (updateExternal): don't only look for difftime in global scope
3742 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3744 * insettabular.C: add const
3746 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3748 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3749 file name, in case there are weird characters like ',' in there.
3752 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3754 * switch from SigC signals to boost::signals.
3756 2002-05-28 André Pönitz <poenitz@gmx.net>
3758 * insets/insetgraphicsParams.[Ch]:
3759 put in inset related stuff from src/graphic
3761 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3769 * insetcollapsable.C:
3770 * insetcollapsable.h:
3798 * inseturl.h: use mouse_state. Kill insetKeyPress
3800 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3805 * insetcollapsable.C:
3808 * insetlatexaccent.C:
3810 * insetspecialchar.C:
3812 * insettext.C: name change for font metrics
3814 2002-05-24 Juergen Vigna <jug@sad.it>
3816 * insetgraphics.h: include inset.h first (for LString.h)
3818 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3820 * insettext.C: screen moved
3822 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3840 * inseturl.C: LyXView moved into frontends/
3842 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3847 * insetcollapsable.C:
3851 * insetgraphicsParams.C:
3852 * insetlatexaccent.C:
3854 * insetspecialchar.C:
3856 * insettext.C: move Painter to frontends/
3858 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3860 * insettabular.h: use more specific smart_ptr header.
3861 * insettext.h: ditto
3863 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3866 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3868 * insettext.C: clear selection on paste (bug 393)
3870 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3872 * insettext.C (latex): Honor the moving_arg argument.
3874 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3876 * insetfoot.C (latex): if a footnote is in a title layout, then it
3877 is a \thanks. And then, its contents is a moving argument.
3879 2002-05-14 Juergen Vigna <jug@sad.it>
3881 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3884 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3886 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3887 when using options "Full author list" or "Upper case".
3889 2002-05-14 Herbert Voss <voss@perce.de>
3891 * insetgraphics.C (prepareFile): allow files with same name
3893 (readFigInset): set the flags from old figinset in the right
3895 (findTargetFormat): more comments
3897 2002-05-14 Juergen Vigna <jug@sad.it>
3899 * insettext.C (edit): tell checkAndActivateInset() that we don't
3900 have a button press.
3901 (checkAndActivateInset): if button < 0 we don't have a button press
3902 on the inset and os we won't call edit on it if it's not a Highly
3903 editable inset (then we have to enter it).
3905 2002-05-13 Juergen Vigna <jug@sad.it>
3907 * insetcollapsable.C (insetButtonRelease): returned wrong return
3910 2002-05-09 Juergen Vigna <jug@sad.it>
3912 * insetcollapsable.C (edit): first_after_edit should only be
3913 set to true if we enter this inset and it was collapsed so we
3914 open it up. This is needed to reclose it after a search/replace
3915 or spellcheck function opened it and was negative.
3917 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3919 * insetfloat.C (latex): Return correct value.
3921 2002-05-04 Herbert Voss <voss@perce.de>
3923 * InsetgraphicsParams.C (read): fix bug with WH
3925 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3927 * insetfloat.C (latex): More sensible latex output
3928 (fix the problem with endfloat).
3930 2002-05-02 José Matos <jamatos@fep.up.pt>
3932 * insetgraphics.C (validate): acess params as everyone else.
3934 2002-05-03 Juergen Vigna <jug@sad.it>
3936 * insettabular.C (fitInsetCursor): recalculate the cursor position
3939 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3941 * InsetgraphicsParams.[Ch]: whitespace.
3943 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3945 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3946 float type do not exist.
3948 2002-04-28 Herbert Voss <voss@perce.de>
3950 * insetgraphics.C (latex): fix bug with missing file-extension.
3951 LaTeX still allows a missing "eps" or "ps".
3953 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3955 * insetfloat.C (c-tor, wide): translate the name of the float.
3957 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3959 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3960 when using natbib and make it work efficiently. Must emphasise that the
3961 real work is Herbert's.
3963 2002-04-23 Herbert Voss <voss@perce.de>
3965 * insetgraphic.C (prepareFile): fix bug with overwriting and
3966 deleting an existing *.eps-file in the doc-dir
3968 2002-04-23 Juergen Vigna <jug@sad.it>
3970 * insettabular.C (drawCellSelection): fix off by 1 error.
3972 2002-04-22 Juergen Vigna <jug@sad.it>
3974 * insettabular.C (setFont): rewoke full selection if it was asked,
3975 after we changed all we had to change.
3977 * insettext.C (insetUnlock): code was uninitialized in some situations.
3979 2002-04-19 Herbert Voss <voss@perce.de>
3981 * insetgraphic.C (prepareFile): return filename without
3982 extension if we only export without compiling
3984 2002-04-19 Juergen Vigna <jug@sad.it>
3986 * insettext.C (draw): call a fullRebreak on the row where we had a
3987 change and reset the cursor and selection-cursors.
3989 * insettabular.C (insetUnlock):
3990 (insetButtonPress): call an update before setting the_locking_inset = 0
3991 as otherwise we don't repaint!
3992 (update): reset the cursor position when we changed dimensions as
3993 otherwise our cursor may be on the wrong spot.
3995 2002-04-18 Juergen Vigna <jug@sad.it>
3997 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3998 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3999 redraw otherwise we won't redraw.
4001 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4002 not really right before, but I only discovered this with the last
4003 changes to Page up/down.
4005 2002-04-17 Juergen Vigna <jug@sad.it>
4007 * insettext.C (checkAndActivateInset): simplified as we now have the
4008 edit(bv, bool) call.
4010 * insettext.h: changed behind variables to front variables to be
4011 equal to the one in the edit call (as it is for that they are used).
4013 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4015 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4016 not output anything at all!
4018 2002-04-16 Juergen Vigna <jug@sad.it>
4020 * insettabular.C (insetButtonPress):
4021 (insetUnlock): call a redraw on unlocking the cell inset.
4023 * insettext.C (insetButtonPress): same as below.
4024 (lockInset): new function to set initial values when inset should
4026 (insetButtonPress): use above function.
4027 (insetUnlock): don't force a repaint only set the updateStatus. The
4028 outside world should repaint if it thinks it should be done!
4030 * insettabular.C (insetButtonPress): init values if not set as locked
4031 as we are locked if someone presses on us and don't call the edit()
4032 call of the InsetText to lock it do it as BufferView does it!
4034 * inset.h (insetInInsetY): make func const and return an int.
4037 * insetcollapsable.C: adapt the above changed function.
4039 2002-04-15 Juergen Vigna <jug@sad.it>
4041 * insettext.C (getCursorPos): return relative position as to be able
4042 to give them directly to the edit() call.
4043 (edit): we have to set also x_fix as it is not set inside the
4044 setCursorFromCoordinates call!
4045 (insetMotionNotify): ditto.
4047 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4049 * insetbib.C (getKeys): strip leading '\t's from the line too.
4050 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4052 2002-04-12 Juergen Vigna <jug@sad.it>
4054 * insettext.h: added cix() helper function and use it where appropriate
4056 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4058 * insetgraphics.C (prepareFile): fix bug when graphics is a
4061 2002-04-12 Juergen Vigna <jug@sad.it>
4063 * insettext.C (insertInset): remove unneeded code!
4064 (updateLocal): fitCursor() fixes.
4065 (collapseParagraphs): fix a possible problem when having a selection
4066 and collapsing the paragraphs.
4068 2002-04-08 Herbert Voss <voss@perce.de>
4070 * insetgraphic.C (write): write the rotating angle as
4071 a float as is. test only for != 0.0
4073 2002-04-11 Juergen Vigna <jug@sad.it>
4075 * insettext.C: new function ciy() and use it for setting inset_y.
4077 * insetert.C (draw): fix the x return for collapsed version.
4079 2002-04-07 Herbert Voss <voss@perce.de>
4081 * insetgraphic.C (readFigInset): fix bug with subcaption and
4084 2002-04-08 Herbert Voss <voss@lyx.org>
4086 * insetgraphicsparam.C: forgot special option and delete old
4089 2002-04-05 Juergen Vigna <jug@sad.it>
4091 * insettext.C (localDispatch): make a CURSOR update if we inserted
4094 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4096 * insetfloatlist.C (getScreenLabel):
4097 (latex): use Floating::listName
4098 (validate): new method
4100 2002-04-03 José Matos <jamatos@fep.up.pt>
4102 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4104 * insetfoot.[Ch] (docbook): added forgotten method.
4106 2002-04-03 Juergen Vigna <jug@sad.it>
4108 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4109 way as in Bufferview_pimpl.
4111 2002-04-03 Allan Rae <rae@lyx.org>
4113 * insetgraphics.C (latex): one % too many makes living on the bleeding
4114 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4116 2002-03-28 Herbert Voss <voss@lyx.org>
4118 * insetgraphic.C (latex): simplify the code for the latex
4119 output when the file doesn't exist
4121 2002-03-29 Juergen Vigna <jug@sad.it>
4123 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4126 * insettabular.C (edit): call fitCursor().
4128 * insettext.C (insetButtonPress): change behaviour of no_selection
4129 to the one in the BufferView selection_possible and fix the spurious
4130 selection bug with it.
4131 (localDispatch): revoke selection on BREAK... functions.
4133 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4135 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4137 2002-03-28 Juergen Vigna <jug@sad.it>
4139 * insettabular.C (insetAllowed): return true as default value otherwise
4140 we're not able to insert insets inside paragraphs of an not locked
4143 2002-03-27 Herbert Voss <voss@lyx.org>
4145 * insetgraphicsparam.C: change c%, p% to col%, page%
4147 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4149 * insetspecialchar.C (isLineSeparator): disable the nice code to
4150 allow linebreaks after hyphenation and menu separators.
4152 2002-03-26 Herbert Voss <voss@lyx.org>
4154 * insetgraphics.C (figinsetRead): set the right lyxview
4156 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4158 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4159 $\backslash$ and pass a "string const &" to the function.
4160 (prepareFile, latex): use Path rather than MakeAbsPath.
4162 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4164 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4165 proper fix to the graphics cache.
4166 (latex): "really" nice output if the file is not found ;-)
4168 2002-03-26 Juergen Vigna <jug@sad.it>
4170 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4171 (collapseParagraphs): fixed inserting of separator ' '
4173 * insettabular.C (insertAsciiString): only check for buffer lenght
4174 not if we have \t or \n inside the buffer as if we don't have we only
4175 have 1 cell and that's it!
4177 * insetert.C (close): don't collapse if inlined.
4179 2002-03-25 Herbert Voss <voss@lyx.org>
4181 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4182 graphics file does not exist.
4184 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4186 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4187 path when preparing export.
4189 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4190 no longer MakeRelPath.
4192 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4194 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4195 Used to determine the absolute path to the graphics file in the
4196 graphics cache and only in the graphics cache.
4197 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4198 make graphics file name absolute if it is stored as a relative path.
4200 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4201 make graphics file name absolute if it is stored as a relative path.
4203 * insettext.C (edit): emit an updateParagraph signal on entering a text
4204 inset. Needs to be emitted when leaving the inset also.
4206 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4208 * all files: ws cleanup
4210 * Makefile.am: remove ld -r stuff
4212 2002-03-21 Juergen Vigna <jug@sad.it>
4214 * insettext.C (appendParagraphs): new function added to append
4215 the paragraphs to this insets paragraphs.
4217 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4219 * Makefile.am: special rules if partial linking
4221 2002-03-19 Juergen Vigna <jug@sad.it>
4223 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4225 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4227 * insetgraphics.C: Clean up Baruch's comments a little.
4228 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4230 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4233 * insettheorem.C: wrap warnings
4235 * insetgraphics.C: improve messages, move cached_status_
4236 setting to safer place
4238 2002-03-18 Juergen Vigna <jug@sad.it>
4240 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4242 (localDispatch): ditto
4244 * insettext.C (edit): removed unneeded showCursor calls.
4245 (localDispatch): ditto.
4247 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4249 * insetgraphics.h: remove display() method.
4251 2002-03-11 Juergen Vigna <jug@sad.it>
4253 * insetgraphics.C (draw): hack to fix the redrawing bug.
4254 (draw): seems this fixes #268 (force redraw of row if we changed).
4256 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4257 this inset text (don't know why I missed this earlier).
4259 2002-03-08 Juergen Vigna <jug@sad.it>
4261 * insettabular.C (updateLocal): do a FULL update if we're not locked
4262 and only a CELL update is asked.
4264 * insettext.C (updateInsetInInset): update insets inside inset also
4265 if it isn't inside the_locking_inset.
4267 * insettabular.C (updateInsetInInset): ditto.
4269 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4271 * insetexternal.C (doSubstitution): check whether we are using a
4272 temp dir for defining $$FPath
4274 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4277 * insettext.C: remove #include "WorkArea.h".
4279 2002-03-06 Juergen Vigna <jug@sad.it>
4281 * insettext.C (draw): fixed frame redrawing.
4282 (clear): forgot to set the inset_owner of the paragraph.
4284 * insetert.C (status): pay attention the bv can be 0 here!
4285 (getMaxWidth): add the default leftMargin
4287 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4289 * insetert.C (getMaxWidth): make w unsigned int.
4291 2002-03-05 Juergen Vigna <jug@sad.it>
4293 * insetert.C (status): change behaviour of Inlined.
4294 (getMaxWidth): added for new inlined behaviour.
4296 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4298 * insetnote.h (linuxdoc, docbook): add empty methods.
4299 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4300 before being initialized.
4302 2002-03-05 Juergen Vigna <jug@sad.it>
4304 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4305 only that one in the inset. Should be enough.
4306 (updateLocal): set the selection cursor always if we don't have a
4307 selection to be sure it's set!
4309 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4311 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4313 * insettext.C (clear): a gross hack to set layout on a newly
4316 2002-03-04 Juergen Vigna <jug@sad.it>
4318 * insettabular.C (localDispatch): inserted handling of
4319 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4320 (insertAsciiString): new helper function.
4322 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4324 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4327 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4329 * insettext.C (InsetText): initalize newly created par with
4330 default layout. add bufferparams parameter
4333 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4334 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4335 * insetert.[Ch] (InsetERT): ditto
4336 * insetfloat.[Ch] (InsetFloat): ditto
4337 * insetfoot.[Ch] (InsetFoot): ditto
4338 * insetfootlike.[Ch] (InsetFootLike): ditto
4339 * insetmarginal.[Ch] (InsetMarginal): ditto
4340 * insetminipage.[Ch] (InsetMinipage): ditto
4341 * insetnote.[Ch] (InsetNote): ditto
4342 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4344 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4346 * insettext.C: layout as string
4348 * insetinclude.C: layout as string
4350 * insetert.C: layout as string
4352 * insetbib.C: layout as string
4354 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4357 * insettabular.C: remove #include "lyx_gui_misc.h".
4359 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4364 * inset.h: remove figinset, yahoo !
4366 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4368 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4369 copy c-tor and initialise member variables in the correct order.
4371 2002-02-28 Juergen Vigna <jug@sad.it>
4373 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4375 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4377 * inset.h: ... and add a better one here.
4379 * insetcommand.C (insetButtonRelease): remove that one which was a
4382 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4384 * insetcommand.C (insetButtonRelease): ... and move it here.
4386 * inseturl.h: remove insetButtonRelease from there...
4388 2002-02-26 Juergen Vigna <jug@sad.it>
4390 * inseturl.h: Added a insetButtonRelease call returning true as
4393 * insetlabel.C (edit): Fixed wrong update handling after change I
4394 leave in the wrong code for the one who wrote it to remove and have
4395 a look what he did wrong.
4397 * insettabular.C (localDispatch): force a SELECTION update if we
4398 had a selection and we passed the event down to the inset (fix #213)
4399 (localDispatch): handle font changing stuff when we have a cell
4400 selection so that the selection is not rewoked. I don't really like
4401 this fix, but it's the only way I see to do it right now.
4403 2002-02-22 Juergen Vigna <jug@sad.it>
4405 * insettext.C (insetUnlock): set the cursor to the second paragraph
4406 if available and if the first one is empty (fix #191).
4408 2002-02-20 Juergen Vigna <jug@sad.it>
4410 * insettext.C (getDrawFont): implemented this function to call the
4411 one of the owner if present as the owner normally knows what to do
4414 * insetert.C: implement getDrawFont() function and comment out all
4415 the crap for setting a special latex font inside this inset.
4416 (InsetERT): added a Lanugage parameter to this constructor.
4418 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4419 change the font for being drawn on screen (used only in InsetERT for
4422 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4423 and also above (was missing).
4424 (updateLocal): don't remove the cell selection if we have one this
4425 should be done where we really want to remove it.
4427 2002-02-20 José Matos <jamatos@fep.up.pt>
4429 * insetinclude.h: include_label made string const.
4431 * insetinclude.C (InsetInclude): moved include_label initialization.
4434 (validate): fix support for temporary directory, for docbook and
4437 * insetgraphics.h : new private member, graphic_label, that holds
4438 the entity name that defines the graphics location (SGML).
4440 * insetgraphics.C (unique_id): new function to give a unique label
4443 (validate): the file locatation is given by an entity reference.
4445 2002-02-18 Herbert Voss <voss@lyx.org>
4447 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4449 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4451 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4452 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4454 2002-02-18 José Matos <jamatos@fep.up.pt>
4456 * insetinclude.C (validate): some code only applies to latex buffers,
4457 it was made conditional.
4459 2002-02-12 Herbert Voss <voss@lyx.org>
4461 * insetgraphics.C: (prepareFile) do not check at this time
4462 if the file is present.
4464 2002-02-12 Herbert Voss <voss@lyx.org>
4466 * insetgraphics.C: latex(), return the correct newlines
4468 2002-02-13 José Matos <jamatos@fep.up.pt>
4470 * inseturl.C (docbook): escape & in url.
4472 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4474 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4475 after HYPHENATION and MENU_SEPARATOR
4477 * inset.h (isLineSeparator): new method, returns false by default.
4479 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4481 * insetert.C (status): do not update the text inset, but the ERT
4484 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4486 * insetnote.C: use notebg for background
4488 2002-02-08 Herbert Voss <voss@lyx.org>
4491 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4492 prevent LyX from unzipping when this should be handled
4493 by latex vis the graphic.cfg.
4496 2002-02-08 Herbert Voss <voss@lyx.org>
4498 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4499 exists, than return filename with extension
4501 2002-02-06 Herbert Voss <voss@lyx.org>
4503 * insetgraphic.C: prepareFile(): don't convert the file, when
4504 it's not viewed in LyX. Saves a lot of time when opening a
4507 2002-02-05 Herbert Voss <voss@lyx.org>
4510 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4511 and adding a rotate bool similiar to subcaption
4513 2002-02-04 Herbert Voss <voss@lyx.org>
4516 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4517 similiar view to the LaTeX one. Get zipped files work.
4519 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4521 * insetgraphicsParams.C (init): set display to DEFAULT.
4522 No longer #include "lyxrc.h".
4524 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4526 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4527 for now (so that the code compiles).
4529 2002-02-02 Herbert Voss <voss@lyx.org>
4531 * insetgraphic.C: delete inVariant() and some minor changes
4532 * insetgraphicsParams.[C]:
4534 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4536 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4537 interogate lyxrc.display_graphics before diaplaying the graphic.
4539 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4540 InsetGraphicsParams::DisplayType.
4542 2002-01-31 Herbert Voss <voss@lyx.org>
4544 * insetgraphic.C: (readfigInset) set display to pref-default
4546 2002-01-30 Herbert Voss <voss@lyx.org>
4548 * insetgraphic.C: get the filetyp from it's contents
4549 * insetgraphicparams.C: add token scale and lyxrc.display when
4550 creating a new inset
4552 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4554 * figinset.C: added using std::ios directive.
4556 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4558 * figinset.C (runqueue): open translation file in binary mode (for
4561 2002-01-27 Herbert Voss <voss@lyx.org>
4563 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4564 all options and to be sure that the old figinsets are correct
4566 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4567 structure and to support all lengths as LyXLength. The Parameter
4568 structure changed again, but reading of "old" 1.2 graphic insets
4571 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4573 * insetert.h (forceDefaultParagraphs): Added
4575 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4577 * insettabular.C (getMaxWidth):
4578 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4580 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4582 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4583 of LyXLength::inPixels
4585 * inset.C (latexTextWidth):
4586 * insetminipage.C (latexTextWidth): new method, which implements
4587 the equivalent of the LaTeX macro \textwidth
4589 * insetminipage.C (getMaxWidth): use latexTextWidth
4591 2002-01-18 Juergen Vigna <jug@sad.it>
4593 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4595 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4597 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4599 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4602 2002-01-17 Juergen Vigna <jug@sad.it>
4604 * insettabular.C (lockInsetInInset): same change as in insettext.
4606 * insettext.C (draw): width() function was called without setting
4607 the right top_x which could lead to wrong insetWidth setting!
4608 (lockInsetInInset): call edit instead of calling lockInset if we
4609 have to lock an inset inside!
4610 (edit): we have to also tell the inset that we have to redraw the
4611 frame on an edit call if this inset draws a frame only if locked.
4613 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4615 * insetbib.C (getFiles): uncomment Path variable.
4617 2002-01-16 Juergen Vigna <jug@sad.it>
4619 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4622 2002-01-16 Allan Rae <rae@lyx.org>
4624 * insetinclude.C (docbook): someone forgot a ";"
4626 2002-01-16 José Matos <jamatos@fep.up.pt>
4628 * figinset.C (docbook): removed a old place holder "@".
4629 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4630 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4631 ascii text version, clearly guarded inside a CDATA section.
4632 (docbook): in docbook 4, inlinegraphics is empty.
4633 * insettabular.C (linuxdoc): export the ascii version of the table
4634 inside a CDATA section.
4636 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4638 * insetparent.C (InsetParent):
4639 * insetgraphicsParams.C (Write):
4641 * insetgraphics.C (prepareFile):
4644 * insetexternal.C (executeCommand):
4645 (doSubstitution): use Buffer::filePath
4647 * insetbib.C (getFiles): add a #warning for Angus
4649 * insetgraphics.C: Add a remark about how filenames should be
4650 considered to be relative to buffer (but absolute is still allowed)
4651 (draw): do not try to get status if lyxrc.use_gui is false
4653 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4656 * insetcollapsable.[Ch]:
4657 * insettabular.[Ch] (searchForward, searchBackward): change the
4658 bool const & params to bool.
4660 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4661 to avoid the name clash with InsetCollapsable's methods of the same
4662 names but different functionality.
4664 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4666 * insettext.C (ascii): use lyx::count rather than countChar.
4668 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4670 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4672 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4674 * insetgraphics.C (updateInset): do not try to render image if
4675 lyxrc.use_gui is false (bug #104)
4677 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4678 if file does not exist
4680 * figinset.C (browseFile): add shortcuts to directory buttons
4682 * insettext.C (updateLocal): update menubar and toolbar here too.
4684 2002-01-13 Allan Rae <rae@lyx.org>
4686 * insettabular.C (InsetTabular): Both constructors now initialise
4687 all class variables.
4689 2002-01-11 Juergen Vigna <jug@sad.it>
4691 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4693 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4695 * insettabular.C (getStatus): add forgotten brace around multiline
4698 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4700 * insetfloat.C (validate): require "float" instead of "floats".
4702 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4704 * insettabular.C (getStatus): use FuncStatus
4706 2002-01-08 Juergen Vigna <jug@sad.it>
4708 * insettabular.C (insetButtonRelease): now this should work too
4711 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4712 if the width is a percentage.
4714 * inset.h: added isChar() function and implemented this for
4715 insetspecialchar insetquotes and insetlatexaccent.
4716 added forceDefaultParagraphs() and implemented it for insettabular.
4718 2002-01-07 Juergen Vigna <jug@sad.it>
4720 * insettext.C (getLyXText): Fixed this function. An insert into the
4721 map is only done if we REALLY have a new BufferView.
4723 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4725 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4727 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4729 * insetinclude.C: fix use of FileInfo
4731 2002-01-07 Juergen Vigna <jug@sad.it>
4733 * insettabular.C (draw): fixed clearing of cell around inset.
4735 2002-01-05 Juergen Vigna <jug@sad.it>
4737 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4738 variables are updated.
4740 * insettabular.C (resetPos): set always the inset_y as it may be
4741 needed in another function.
4742 (searchBackward): don't draw while searching.
4744 2002-01-04 Juergen Vigna <jug@sad.it>
4746 * insettext.C (lockInsetInInset): forgot to set a cursor.
4748 2002-01-02 Juergen Vigna <jug@sad.it>
4750 * insettext.C (insertInset): make the correct undo informations on
4751 inserting new insets.
4753 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4755 * insettabular.C: correct single-cell select vertically
4757 2001-12-27 Juergen Vigna <jug@sad.it>
4759 * insettabular.C (ascii): export as tab-separated-values if the
4760 function was not called from export (f.ex.: clipboard).
4762 * insetcollapsable.h: added default support for ascii, linuxdoc and
4763 docbook export (the insettext is exported by default!)
4765 * insettabular.C (copySelection): suff the clipboard with the tabular
4766 data in a tab separated format, seems more naturals then with all the
4769 2001-12-24 Juergen Vigna <jug@sad.it>
4771 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4772 to check for REAL mouseMotion.
4774 2001-12-20 Juergen Vigna <jug@sad.it>
4776 * inset.C (cursor): return the owners cursor if available instead of
4777 always only the bv->text->cursor.
4779 * insettabular.C (checkLongtableSpecial): works now.
4781 2001-12-19 Juergen Vigna <jug@sad.it>
4783 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4784 this has to be always row + 1 as 0 means not selected!
4785 (checkLongtableSpecial): added
4786 (tabularFeatures): better longtable options support
4788 * insettext.C (resizeLyXText): reinit the text always also on a
4791 2001-12-18 Juergen Vigna <jug@sad.it>
4793 * insettext.C (updateInsetInInset): look if we have to autocollapse
4794 paragraps and return if the update is requested for ourself.
4796 * insetert.C (status): update the insettext not myself as that is what
4799 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4800 function only return if the update was requested with myself.
4802 * insettext.C (insetButtonPress): fixed stupid bug.
4803 (various functions): pay attention that lt is cleared BEFORE calling
4804 updateLocal() and try to use it in the right manner (don't use it
4805 if it's not really neccessary!)
4806 (collapseParagraphs): insert a blank between collapsing paragraphs
4807 if neccessary (not already there!).
4809 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4811 * insettabular.C: move includes around a bit, add a couple of
4814 * insettext.[Ch]: move includes around a bit, other ws changes and
4817 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4819 * insettext.C (insetButtonRelease): fix compile problem
4821 2001-12-17 Juergen Vigna <jug@sad.it>
4823 * insettext.C (insetButtonPress): set the selection cursor!
4824 (insetButtonPress): clear the selection (and set with that the
4825 selection.cursor) if we only hit an inset!
4827 * insetert.C (read): removed piece of compatibility code only needed
4830 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4833 * insetcollapsable.C (insetButtonRelease): changed so that it can
4834 open eventual existing popup dialogs on mousebutton==3.
4836 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4838 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4840 * inset.C (insetButtonRelease): return a bool for telling the outer
4841 world that we opened a dialog.
4843 2001-12-07 Juergen Vigna <jug@sad.it>
4845 * insettext.C (paragraph): remove the deleteing of paragraphs as
4846 it was a WRONG move!
4848 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4851 * insettabular.C: use new setSelection(). Allow
4852 selection of single cells.
4854 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4856 * insetquotes.C (latex): fix to use the local language setting at
4857 the point where the inset is inserted (different macros for
4858 different french packages)
4860 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4862 * inset.h: add par_owner_ member variable and parOwner
4865 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4867 * insettabular.C (everywhere): adapt because widths are now real
4868 widths and not strings
4870 * insettext.C (draw): re-introduce the calls to width(), ascent()
4871 and descent() to initialize the caching variables.
4873 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4875 * insettext.C (draw):
4876 (drawFrame): use insetWidth instead of last_width
4878 * insettext.h: remove variable last_width (insetWidth is exactly
4879 the same) and last_height (computed but never used!)
4881 2001-12-10 Allan Rae <rae@lyx.org>
4883 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4885 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4887 * insettext.C (insetAllowed): add comment
4889 2001-12-05 Juergen Vigna <jug@sad.it>
4891 * insettext.C (insetAllowed): fixed for the case that we directly
4892 ask the insettext from its LyXText.
4893 (paragraph): fixed the crash when assigning the par->next() from
4894 the EmptyParagraphMechanism!
4896 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4900 * insettext.C: change "while(" to "while ("
4902 2001-12-04 Juergen Vigna <jug@sad.it>
4904 * insetert.C (edit): handle Inlined status.
4906 * insettext.C (insertInset): trying John's fix for the trailing cursor
4908 * insetert.C (insetButtonPress): added to handle inlined status
4909 (insetMotionNotify): ditto.
4911 * insettext.C (clearInset): changed Painter & in BufferView * param,
4912 to be able to call ascent,descent methods.
4914 2001-12-03 Juergen Vigna <jug@sad.it>
4916 * insettext.C (updateInsetInInset): use lt variable to forbid
4917 changes of LyXText in an update call.
4918 (updateInsetInInset): fixed updating of non locked insets!
4920 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4922 * insettabular.C: capture some more functions to prevent
4923 selection drawing problems. Bug #451274
4925 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4928 * insetgraphicsParams.C: fix inverted sense of float_equal
4930 2001-11-30 Juergen Vigna <jug@sad.it>
4932 * insettabular.C (InsetTabular): use the save_id flag to create also
4933 the tabular with the same id's.
4935 * insettext.C (setParagraphData): added a same_id function for undo
4936 to set the same paragraph id's as of the paragraph we are setting.
4938 2001-11-30 José Matos <jamatos@fep.up.pt>
4941 * insettoc.[Ch]: DocBook -> docbook.
4943 2001-11-29 André Pönitz <poenitz@gmx.net>
4946 * insettext.C: further reduction of header dependencies by using
4947 lyx::layout_type and lyx::textclass_type from support/types.h
4949 2001-11-29 Juergen Vigna <jug@sad.it>
4951 * insettext.C: inserted a reinitLyXText function everywhere I delete
4952 the paragraphs! This should fixe the crashes we had.
4953 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4954 (paragraph): set the InsetOwner() of the new paragraphs!
4956 2001-11-28 André Pönitz <poenitz@gmx.net>
4958 * insetnote.C: add pos initialization that I removed without
4961 2001-11-28 Juergen Vigna <jug@sad.it>
4963 * insettabular.C (resetPos): hack to not crash with infinite paints.
4965 * insettabular.h: insert missing function allowSpellcheck()!
4967 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4969 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4972 * insetfloatlist.C: derive from InsetCommand so gui can use it
4975 2001-11-26 André Pönitz <poenitz@gmx.net>
4979 * insetnote.C: reduce header dependencies, introduce type for
4982 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4984 * various: update for Alert.h
4986 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4988 * inset.h: fix comment
4990 * insettext.C: use par->isInset()
4992 2001-11-22 Allan Rae <rae@lyx.org>
4994 * insetcollapsable.h:
4995 * inset.h: Changes to checkInsertChar() behaviour.
4996 Now return value indicates whether chars can be inserted.
4998 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5000 * various: updated to use the new LaTeXFeatures
5002 2001-11-14 José Matos <jamatos@fep.up.pt>
5004 * insetspecialchar.C (linuxdoc):
5005 (docbook): don't give a name to a unused variable.
5007 * insettext.C (docbook): removed unused variable.
5009 2001-11-13 Herbert Voss <voss@perce.de>
5011 * insetgraphic.C: fix scale bug
5013 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5015 * inset.h (isSpace):
5016 (isLetter): new virtual methods.
5018 * insetspecialchar.C (isSpace):
5019 (isLetter): implement here.
5021 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5023 * inset.h: new inline helpers
5025 * insettext.C: use new helpers
5027 2001-11-07 José Matos <jamatos@fep.up.pt>
5029 * insettext.C (docbook): full support for paragraphs inside insettext.
5031 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5033 * insetindex.C: added header file for std::ostream.
5035 2001-11-03 José Matos <jamatos@fep.up.pt>
5037 * insetindex.C: added using std::ostream that I forgot yesterday.
5039 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5041 * insetindex.h (docbook):
5042 * insetindex.C (docbook): added support for docbook export.
5044 2001-11-02 José Matos <jamatos@fep.up.pt>
5046 * insetcaption.C(docbook): added support for docbook export.
5048 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5050 * insetexternal.C (updateExternal): Do not run update command if
5051 result file exists and is up to date.
5053 * ExternalTemplate.C (readFormat): Support the updateresult token.
5055 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5057 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5058 external_templates) to use the buffer->fileName() but only if
5059 previewing. Generating a TeX file should make FPath return
5062 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5065 * insetert.C: fix some problems
5067 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5069 * insetexternal.C (doSubstitution): Added $$FPath token
5070 to list of usable substitutions in external inset templates.
5072 2001-10-24 Juergen Vigna <jug@sad.it>
5074 * insettabular.C: use new ltType struct for setting longtable
5075 header and footers also new UNSET enums.
5077 2001-10-24 José Matos <jamatos@fep.up.pt>
5079 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5080 (docbook): If the table is not inside a float then wrap it inside
5081 <informaltable>...</informaltable>.
5083 2001-10-23 José Matos <jamatos@fep.up.pt>
5085 * insetref.C (docbook): removed / terminator to conform SGML.
5087 * insetspecialchar.C (linuxdoc):
5088 (docbook): Added support for special chars, more than ascii export.
5090 2001-10-22 Juergen Vigna <jug@sad.it>
5092 * insettext.C (checkInsertChar): added for REALLY checking the
5093 font of the inserted char in the right inset!
5095 2001-10-19 Juergen Vigna <jug@sad.it>
5097 * inset.h: added method allowSpellcheck() so that insets who do
5098 not have anything to spellcheck can tell and so they are over-jumped.
5099 Implemented for InsetText and co.
5101 2001-10-18 Juergen Vigna <jug@sad.it>
5103 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5105 2001-10-15 José Matos <jamatos@fep.up.pt>
5107 * insetert.C: allow export for docbook and linuxdoc
5109 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5111 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5113 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5115 * insetquotes.C (dispString): fix handling of latin9 quotes
5117 2001-10-03 Juergen Vigna <jug@sad.it>
5121 * insetcollapsable.C: change updateInset calls to not tell BV that
5122 we have changed status.
5124 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5126 * insettabular.C (deletable): make const
5128 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5130 * insetert.C (latex): Fix the returned value
5132 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5134 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5135 Returns string(), so nothing in an ERT inset is spellchecked.
5137 * insetgraphics.C (draw): print the filename if not displaying the
5139 (width): make sure that the width and draw methods are consistent.
5140 (updateInset): don't even load the image into cache if not displaying
5143 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5145 * various files (selectNextWord): renamed as
5146 selectNextWordToSpellcheck.
5148 * insetgraphics.C (draw): remove the previous change. Right place
5149 is in imageLoaderXPM.C.
5150 (draw): don't display the image if params.display == NONE.
5152 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5154 * figinset.C (runqueue):
5155 * insetgraphics.C (draw): set background colour of inset from
5156 background to the user-configurable graphicsbg.
5158 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5160 * insetquotes.C (InsetQuotes): when trying to decide the side of
5161 the quote, choose `left' only after a space or '('
5163 2001-09-04 José Matos <jamatos@fep.up.pt>
5168 * insetcollapsable.h
5186 * insetlatexaccent.C
5187 * insetlatexaccent.h
5192 * insetspecialchar.C
5193 * insetspecialchar.h
5197 * insettext.C (docbook): rename docBook method to docbook.
5199 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5201 * inset.h (getFirstParagraph): New virtual method.
5203 2001-08-20 Herbert Voss <voss@perce.de>
5204 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5205 in the the bibtex-database-gui for inserting a line
5208 If no style is given than there is no tex-output.
5210 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5212 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5216 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5218 * insetert.C (latex): Fix output for multiple paragraphs.
5219 (write): New code for writing paragraph data.
5220 (read): Set font after reading the inset.
5221 (localDispatch): Call set_latex_font() for more cases.
5223 * insetnote.h: Add empty validate method.
5226 * insetnote.C (InsetNote): Set language to the language of the
5229 2001-08-16 Juergen Vigna <jug@sad.it>
5231 * insettext.C: implemented the new FINISHED states.
5233 * insettabular.C: ditto
5235 * inset.h: added more FINISHED states for cursor right,up,down
5237 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5239 * insetfloatlist.C: use "FloatName List"
5241 2001-08-14 Juergen Vigna <jug@sad.it>
5243 * insetert.C (edit): forgot to set status_ in edit calls!
5245 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5247 * insettext.C: Compilation fix
5249 2001-08-13 Juergen Vigna <jug@sad.it>
5251 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5253 * insetcollapsable.C (edit): don't recollapse an already open inset.
5255 * insettext.C: fixed problem when reinitializing LyXText by not doing
5256 it while lt is in use and post this to the next possible time in
5258 (searchForward): fixed not unlocking of inset if nothing found.
5259 (edit): set cursor behind right (was set -1 pos).
5261 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5263 * insettabular.C (tabularFeatures): fixed fix where deleting the
5264 last row didn't get the right actcell!
5266 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5268 * insettext.C (localDispatch): Change language only when the inset
5271 2001-08-10 Juergen Vigna <jug@sad.it>
5273 * insettabular.C (selectNextWordInt): use the front using edit call.
5275 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5276 the parameter overwrite class variable inset.
5278 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5280 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5281 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5283 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5284 update only for fixed with cells.
5285 (resetPos): try to fix the lockup on spellchecking or s&r.
5287 * insettext.C (update): comment this out as it seems first wrong
5288 and second not needed anymore!
5289 (some functions): call reinitLyXText() only in update() in all other
5290 positions set only need_update = INIT.
5292 2001-08-08 Juergen Vigna <jug@sad.it>
5294 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5296 * insettext.C (insetUnlock): remove double-space on inset unlock.
5298 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5300 * insettabular.C (update): fixed cursor positon after an insert.
5301 (insetAllowed): do not allow to insert insets when not inside the
5303 (draw): clear below an inset too as it could have changed height.
5305 * inset.C (getMaxWidth): fixed width for inset in inset.
5307 * insettext.C (update): small fix.
5309 * insettabular.C (tabularFeatures): added selection support to
5310 DELETE_ROW/DELETE_COLUMN.
5312 2001-08-07 Juergen Vigna <jug@sad.it>
5314 * inset.C (getMaxWidth): recoded and all it's implementations!
5316 * insettext.C (init,setParagraph+constructors): cleanups
5317 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5318 are new and I want do a save/restore of the cursor position which is
5319 not possible anymore.
5321 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5322 (searchBackward): ditto
5323 (selectNextWord): ditto
5325 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5327 * insetlatexaccent.C (checkContents): Add some debug messages
5329 2001-08-07 Juergen Vigna <jug@sad.it>
5331 * insetert.C (read): don't use InsetCollapsable::read as we don't
5332 write the collapsed status anymore only the status.
5335 2001-08-06 Juergen Vigna <jug@sad.it>
5337 * insetert.C (set_latex_font): use LyXText's setFont directly.
5339 * insettext.C (drawFrame): fixed one time more the right position
5340 and size of the frame!
5342 * insetert.C (~InsetERT): hide the dialog.
5343 (showInsetDialog): added implementation
5346 (status): new function for the status of the ERT inset (3-state).
5347 (write): output also the status of the inset for readback!
5348 (read): readback the status if available otherwise use collapsed_.
5350 * insettext.C (edit): small fix of setting the position, which could
5353 * insetert.C (width): implement this function for inlined viewing.
5354 Added minimum width of 10 pixels!
5356 * insetminipage.C (InsetMinipage): just change the colors a bit so
5357 that border/background is a bit more visible. We will remove this
5360 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5361 function for getting the important widths for drawing in various
5362 functions and in LyXText.
5363 (draw): fixed up a bit (frame drawing/clearing)
5365 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5367 * inset.C (convertFont): delete method. not used.
5369 2001-08-03 Juergen Vigna <jug@sad.it>
5371 * insettext.C (setFont): don't call for a draw update if we're just
5372 changing the cursor font!
5374 2001-08-02 Juergen Vigna <jug@sad.it>
5376 * insettext.C (draw): clear the background with the right color if
5377 needed. Update myself if x&max-width changed and return without doing
5378 anything. Let the update code handle the right stuff.
5380 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5381 inside another inset.
5383 2001-08-01 Juergen Vigna <jug@sad.it>
5385 * insetcollapsable.C (update): added an in_update bool so we avoid
5388 * insettabular.C (update): added an in_update bool so we avoid
5391 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5393 (update): added an in_update bool so we avoid reentering.
5395 * insettabular.C (localDispatch): clear col/row selection when doing
5396 something else inside an inset.
5398 * insettext.C (getLyXText): fixed bug when requesting a recursive
5401 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5403 * insetcite.C (latex): Paranoia check. Make sure that there is no
5404 whitespace between the citation keys.
5406 2001-07-31 Juergen Vigna <jug@sad.it>
5408 * inset.h (nodraw): make the set function also const so that this
5409 can be called from inside other const functions.
5411 * insetcollapsable.h: removed inline variable and moved it over
5412 to the only user InsetERT.
5414 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5415 inset opening immediately therein lying insets dialogs!
5417 * insetert.C (localDispatch): set the font also if we don't have any
5418 chars in this paragraph, otherwise if we delete all of em and start
5419 writing we have the wrong font.
5421 (draw): implemented for inline support
5422 (insetButtonRelease): ditto.
5424 2001-07-30 Juergen Vigna <jug@sad.it>
5426 * insettext.C (reinitLyXText): new function to reinit the insets
5427 text after lot's of paragraph changes. Use this instead of the
5428 cache.clear() which is VERY dangerous.
5430 * insetfloat.C (insetButtonRelease): we should only show the dialog
5431 if we press on the label otherwise we have problems to open mouse
5432 button 3 dialogs inside this float (f.ex. of a tabular!)
5434 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5436 * insetert.C: change back to "ERT"
5438 * insetfloat.C: handliign of RMB on label added.
5440 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5442 * insetgraphicsParams.C: #include LOstream.h here.
5444 * insetfoot.h: remove InsetFoot:: qualifier.
5446 2001-07-29 Baruch Even <baruch@lyx.org>
5448 * ChangeLog: Hiding time travel evidence.
5450 * insetgraphicsParams.h:
5451 * insetgraphicsParams.C:
5452 * insetgraphics.C: Added horizontal scale option, it actually scales both
5453 directions since it keeps image proportions.
5455 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5457 2001-07-29 Baruch Even <baruch@lyx.org>
5459 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5460 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5462 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5464 2001-07-29 Baruch Even <baruch@lyx.org>
5466 * insetgraphics.C: Added EPSI to be an alias of EPS.
5468 2001-07-29 Baruch Even <baruch@lyx.org>
5470 * insetgraphics.C: Change GRAPHICS to Graphics.
5471 Changed image conversion rules (documented at the beginning of file).
5473 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5475 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5478 * insetgraphics.C: added a using std::endl directive.
5480 * insetcommand.h (getScreenLabel): removed pure virtual function,
5481 as it duplicates that in InsetButton.
5483 * insetbib.[Ch] (getScreenLabel):
5484 * insetbutton.[Ch] (getScreenLabel):
5485 * insetcite.[Ch] (getScreenLabel):
5486 * insetert.[Ch] (getScreenLabel):
5487 * insetexternal.[Ch] (getScreenLabel):
5488 * insetfloatlist.[Ch] (getScreenLabel):
5489 * insetinclude.[Ch] (getScreenLabel):
5490 * insetindex.[Ch] (getScreenLabel):
5491 * insetlabel.h (getScreenLabel):
5492 * insetparent.[Ch] (getScreenLabel):
5493 * insetref.[Ch] (getScreenLabel):
5494 * insettoc.[Ch] (getScreenLabel):
5495 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5497 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5499 (validate): remove check on "cite" when using natbib.
5501 2001-07-26 Baruch Even <baruch@lyx.org>
5503 * insetgraphics.C (draw): changed casting to be in one place rather than
5504 all over the function.
5507 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5509 * insetgraphicsParams.h:
5510 * insetgraphicsParams.C:
5511 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5513 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5515 * insetfoot.C (validate): Added method to ensure that the
5516 right bit of LaTeX is emitted.
5518 * insetfoot.h: Added validate method to set the correct
5519 LaTeXFeatures bit for the special footnote code.
5521 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5523 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5526 2001-07-27 Juergen Vigna <jug@sad.it>
5528 * inset.h: remove not used font variable in parameter.
5529 removed checkInsertChar in UpdatableInset as it was equal to
5530 the one in Inset and so not needed.
5532 * insetert.C (checkInsertChar): implementation of function
5535 * inset.h: added new function checkInsertChar.
5537 * various files: added c-tor and clone() function.
5539 * insetcollapsable.h: removed clone function here as this should
5540 be only realized in REAL insets and added it to all collapsable
5541 insets! (with the copy-constructor).
5543 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5545 * insetminipage.C (read): handle missing parameters more gracefully
5547 * insetcollapsable.C (read): handel missing collapsed more gracefully
5549 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5551 * insetfloat.C (read): handle missing parameters.
5553 * insettext.C (read): handle old latex end_inset
5555 * insetert.C (setButtonLabel): new method
5556 (init): use it, to set the dynamic label correctly
5559 * Makefile.am (EXTRA_DIST): add files that is not part or the
5562 * insetcollapsable.h: remove autocollapsable (no users), remove
5563 draw_label, change_label_with_text and companion code. Remove args
5565 * insetert.[Ch]: move here instead (only user)
5567 * inset.h: rename private variable name to name_, make
5568 selectNextWord return a const string. make getInsetName return a
5569 string const &. Remove bool from open, add close.
5571 * Makefile.am: don't compile insetlist, insetsection
5574 2001-07-24 Juergen Vigna <jug@sad.it>
5576 * insetert.C (InsetERT): put init after the paragraph initialization,
5577 as otherwise we don't set the draw_label right.
5579 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5580 insets with the mouse without having strange selections.
5581 (edit): if the inset was collapsed and we open it here then put the
5582 cursor always at the beginning of the inset.
5583 (get_new_label): 15 instead of 10 max chars in the label.
5585 * insetert.C (localDispatch): added and handle various stuff we
5586 need to handle here (font setting on paragraph break, not permitted
5587 layout setting, etc.).
5589 * inset.h: added default copy-consturctor and implemented this in
5590 various insets with the change to use this in the clone function!
5592 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5594 * insetminipage.C (InsetMinipage): set background color to red :)
5596 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5598 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5599 draw frame mode is LOCKED.
5601 * insetcollapsable.C (edit):
5602 (insetButtonRelease): set update status to full when
5605 * insettext.C (clearInset):
5606 * insettabular.C (draw):
5607 * insetlatexaccent.C (draw): honor background color.
5609 * inset.h: new member background_color_, initialized to
5612 * inset.C (backgroundColor): new method.
5613 (setBackgroundColor): new method.
5615 * insetert.C (init): new method, called by the ctors.
5616 (InsetERT): when inserting contents, make sure the font is
5619 * insetnote.C (InsetNote): when inserting content, remove trailing
5621 (init): set background color to LColor::note
5623 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5625 * insetcollapsable.C: adjust
5627 * insetbutton.C: adjust
5629 2001-07-23 Juergen Vigna <jug@sad.it>
5631 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5632 parameter on the _collapsed function (was not needed) and call
5633 always width_collapsed().
5635 * insetert.C (InsetERT): use setLabel with "true" flag.
5637 * insetcollapsable.C: modified various functions to set the draw_label
5638 string right in any condition.
5639 (setLabel): added a bool parameter to set change_label_with_text.
5641 * insetcollapsable.h: added draw_label string which is set to the
5642 actual drawn label-string, while label is the original static label
5643 of this collapsable inset. Added bool change_label_with_text to set
5644 if we want that the label changes to the start of the InsetText's
5645 text when collabpsed. You can set this flag with the setLabel funciton.
5646 Added bool inlined for inlined collapsable insets, but not handled
5649 * insetcollapsable.C (get_new_label): added should get a new label
5650 from the InsetText beginning (for now 10 chars).
5652 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5654 * insetquotes.C (latex): fix the handling of french double quotes
5655 when not using the french pachage.
5657 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5659 * insetcollapsable.h: make WidthCollapsed mutable.
5661 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5662 InsetPrintIndex returns INDEX_PRINT_CODE.
5664 * inset.h: add INDEX_PRINT_CODE
5666 * insetcollapsable.C (draw): init widthCollapsed if necessary
5669 * insetquotes.C (width): use the local language, not the document
5672 (dispString): add additional spacing for all french languages,
5674 (validate): make it work when there is no default language
5676 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5678 * insetnote.C (init): new method, called by the constructors
5679 (InsetNote): new constructor with contents passed as a string
5681 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5683 * insetfootlike.C (insetAllowed): disallow float in footlike.
5685 * insetert.C (InsetERT): add collapsed argument to the constrctor
5688 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5690 * insetindex.h: shut off warning
5692 2001-07-20 Juergen Vigna <jug@sad.it>
5694 * insetcollapsable.C (update): recoded hopefully works now!
5696 2001-07-19 Juergen Vigna <jug@sad.it>
5698 * most files: implemented the below new introduced function.
5700 * inset.h: added new edit(BufferView *, bool front) method to be able
5701 to enter an inset from the front/back without knowing x/y positions
5702 and baselines inside the inset. So I just can tell the inset activate
5703 me and set the cursor on the front/back of yourself.
5705 2001-07-18 Juergen Vigna <jug@sad.it>
5707 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5708 is given to the InsetText.
5709 (insetButtonPress): ditto
5710 (insetButtonRelease): ditto
5711 (insetMotionNotify): ditto
5713 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5715 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5716 LIGATURE_BREAK, since the name is so stupid.
5718 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5720 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5721 the default InsetCollapsable methods. I.e., it can insert anything.
5722 (write) output the name of the inset, not some silly hack for
5723 compatability with the old InsetInfo.
5725 * insetinfo.[Ch]: removed.
5726 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5727 now collapsable, but functionality is otherwise identical to InsetInfo.
5729 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5731 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5733 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5736 * insetquotes.C: general cleanup
5737 (dispString): add spaces inside french double quotes.
5738 (latex): ditto. Moreover, treat first the case where the frenchb
5739 or french options have been given.
5741 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5743 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5746 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5748 * figinset.C (RegisterFigure): Print debug message only when
5749 current_view is available.
5751 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5753 * many files: update to match the change below
5755 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5756 implement the version which takes an inset here.
5758 * insetcollapsable.[Ch]: implement open and isOpen
5760 * inset.h: remove insertInsetAllowed from Inset
5761 (open): new method, to open or close an inset
5762 (isOpen): returns the status of an inset
5763 (isCollapsable, colapse): removed
5765 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5767 * insetquotes.C (dispString): display french guillemets when using
5770 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5772 * insetcollapsable.h: remove bogus return statements
5774 2001-07-18 Juergen Vigna <jug@sad.it>
5776 * insettabular.C (selectNextWord): fixed spellchecking for the
5777 first cell of a tabular (wasn't entered!)
5778 (getLyXText): changed to enter automatically insettext and return
5779 it's LyXText if we're locked.
5781 2001-07-17 Juergen Vigna <jug@sad.it>
5783 * various files: implemented the below functions.
5785 * inset.h: added functions
5786 - virtual string selectNextWord(BufferView *, float & value) const;
5787 - virtual void selectSelectedWord(BufferView *) { return; }
5788 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5789 needed for spellchecking correctly!
5791 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5793 * insetert.C (latex): write out all paragraphs.
5795 2001-07-17 Baruch Even <baruch@lyx.org>
5797 * insetgraphics.C (draw): Removed unneeded casts.
5799 2001-07-16 Juergen Vigna <jug@sad.it>
5801 * insettext.C (update): fixed small oversight (reset lt to 0).
5803 2001-07-14 Baruch Even <baruch@lyx.org>
5806 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5808 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5810 Consistent use of Lsstream.h:
5811 * figinset.C: removed using std::ostringstream directive.
5813 * insetgraphics.C (createLatexOptions):
5814 * insetinclude.C (unique_id):
5815 std::ostringstream -> ostringstream.
5816 * insettext.C (localDispatch): std::istringstream -> istringstream.
5818 2001-07-13 Juergen Vigna <jug@sad.it>
5820 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5822 * insetcollapsable.C (getLockingInset): ditto.
5824 2001-07-12 Juergen Vigna <jug@sad.it>
5826 * insetcollapsable.h: added implementation of new function for
5829 * various files: added implementation of new insertInsetAllowed-func
5830 and redone the function a bit more.
5832 * inset.h: added isCollapsable(), bool collapsed(),
5833 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5835 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5837 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5838 LyXText which is marked for removal while we're using it!
5840 * insettext.h: added private LyXText * lt to use it to assure we are
5841 not deleting our LyXText while we're using it!
5843 2001-07-11 Juergen Vigna <jug@sad.it>
5845 * insettext.C (insertInset): check if we are before the inset after
5846 inserting it! This check IS needed. Remove the Undo-Call as it is
5847 called in LyXText::insertInset!
5849 * insettext.h: added struct InnerCache.
5851 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5852 that we ONLY delete the LyXText in the getLyXText() routine. So we
5853 are sure we don't delete LyXText while someone is working with it!
5855 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5857 * insetexternal.C: (*it). -> it->
5858 * insettext.C: ditto
5860 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5862 * insetcollapsable.C (edit): always open collapsed insets (even if
5863 they are not autocollapsable)
5865 * insetcommand.C (operator=): simplify.
5867 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5869 * insetert.C (latex): handle META_NEWLINE
5871 2001-07-09 Juergen Vigna <jug@sad.it>
5873 * insetert.h: a normal InsetText can insert insets, but we won't.
5875 * inset.h: return default "false" on insertInsetAllowed and implement
5876 this function where a returnvalue != "false" is needed.
5878 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5880 * insetert.C (InsetERT): new contructor
5882 2001-07-06 Juergen Vigna <jug@sad.it>
5884 * a lot of files: added implementation of the below new functions
5885 and the change to clone(). Also the call of the new undo-functions
5888 * inset.h: added an inset_id, added functions getParFromID,
5889 getInsetFromID, firstParagraph, cursor and id functions, added
5890 bool same_ids to clone function.
5892 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5894 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5895 of BufferView * and shared_ptr<LyXText>
5897 2001-07-05 Juergen Vigna <jug@sad.it>
5899 * insettext.C (clear): deleted also the cache not only LyXText.
5900 (setParagraphData): ditto.
5902 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5904 * insetfloat.C (latex): let the specific placement take presedence
5905 if set, otherwise choose document placement if set, otherwise just
5906 use float default placement.
5908 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5910 * insettext.C (localDispatch): call CutAndPaste::'s static method
5913 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5915 * insetbib.C: no meed to include forms.h here.
5917 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5919 * insettext.C: added using std::make_pair directive.
5921 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5923 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5925 (deleteLyXText): ditto
5926 (resizeLyXText): ditto
5928 2001-07-02 Juergen Vigna <jug@sad.it>
5930 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5931 following calls are only returned the right pointer without the over
5932 head to search in the map.
5933 (various funcs): reset the cached_bview variable as this signs that
5934 the cache is not valid anymore.
5936 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5938 * insettabular.C (clone): do not copy the LyXTabular twice
5940 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5942 * insettext.h (TEXT): delete method
5944 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5946 * insetmarginal.C (latex):
5947 * insetfoot.C (latex): fix spacing of notes in LaTeX
5949 * insettext.C (localDispatch): use .c_str() on istringstream
5950 constructor argument.
5952 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5957 * inseturl.C: fix method names in these to begin
5958 with small char too, so they inherit
5960 2001-06-28 Juergen Vigna <jug@sad.it>
5962 * insettext.C (setFont): fixed font settings using toggleFree()
5963 instead of setFont().
5965 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5967 * Change a lot of method names to begin with a small char.
5968 Changes to a lot of files because of this.
5970 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5972 * insetfloatlist.C (Write): std:: qualify ostream
5975 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5979 * insetgraphics.C: send debug output to Debug::INFO instead of
5982 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5985 * insettabular.C (getStatus): update to use func_status
5987 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5989 * insetref.C (DocBook): added support for cross-references without
5992 2001-06-26 The LyX Project <jug@sad.it>
5997 * insetlabel.h: removed escape method and moved it to
6000 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6002 * insettabular.C (getMaxWidth): do the speedup in a different way,
6005 2001-06-24 The LyX Project <Asger>
6007 * insettabular.C (getMaxWidth): We cache a mapping from
6008 inset to cell in order to speed this method up.
6010 2001-06-24 The LyX Project <Asger>
6012 * insettext.C: Optimized InsetText::draw or something.
6014 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6016 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6018 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6020 * inset.h: name change from lyxinset.h
6022 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6024 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6026 2001-06-14 Juergen Vigna <jug@sad.it>
6028 * insettext.C (draw): removed warnings.
6030 2001-06-13 Juergen Vigna <jug@sad.it>
6032 * insettabular.C (nodraw): only go down the tree if we don't have
6033 that flag set otherwise it's obvious that we don't want to draw.
6034 (LocalDispatch): do also an update if we have an undispached result.
6036 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6039 * insetgraphicsParams.C:
6040 * insettext.C: removed // -*- C++ -*- as first line.
6042 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6044 * lyxinset.h (resizeLyXText): shut off warning about unused
6047 2001-06-07 Juergen Vigna <jug@sad.it>
6049 * insettext.C (resizeLyXText): honor the new force flag.
6051 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6053 * insettabular.C (deleteLyXText): new function
6055 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6063 * insetcollapsable.C:
6064 * insetcaption.C: LColor tidy
6066 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6068 * figinset.C: fix typo
6070 2001-06-01 Juergen Vigna <jug@sad.it>
6072 * insettabular.C (resetPos): small hack so that scroll is not set to
6073 0 when we are in the last column of a tabular. This is a problem we
6074 have because of constats 20 offset on both directions, so this can
6075 cause on the limit an endless loop.
6077 * insettext.C (SetFont): forgot that we can have locking insets ;)
6079 2001-05-31 Juergen Vigna <jug@sad.it>
6081 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6083 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6085 * figinset.C: add using std:: directive for the C functions which
6088 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6090 * insetfloat.C (Write): write out wide info
6091 (Read): read the wide info
6092 (Latex): use the wide info when creating latex.
6094 * insettext.C: adjust
6096 * insetgraphics.[Ch] (statusMessage): change to return string
6100 * figinset.C (runqueue): add std::
6103 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6105 * insetcite.C (Ascii): add std:: qualifier
6107 2001-05-28 Juergen Vigna <jug@sad.it>
6109 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6110 a endless-width inset (maxWidth < 0).
6111 (Edit): change language only if not equal.
6113 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6115 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6117 2001-05-16 Juergen Vigna <jug@sad.it>
6119 * insettext.C (selectAll): added
6120 (clearSelection): added
6122 * insettabular.C (SetFont): now we may set a font on a whole selection!
6123 (getSelection): added helper function.
6125 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6127 * insetcite.C (Ascii): Add method.
6129 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6132 * insetbib.C: fix path for OS/2 & Win32
6134 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6136 * insetfoot.C (Latex): don't use % after footnote.
6138 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6140 * insettext.C (Read): use clear
6141 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6143 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6145 * insetfloatlist.h: add a bunch of std:: qualifiers.
6147 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6149 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6150 FLOAT_LIST_CODE, renumber code list.
6152 * insettoc.C (getScreenLabel): remove support for float lists
6156 * insetfloatlist.[Ch]: new files
6158 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6160 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6162 * insettabular.C (LocalDispatch):
6163 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6166 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6168 * insettext.C: remvoe !NEW_INSETS cruft
6170 * insettabular.C: remove !NEW_INSETS cruft
6172 * insetcollapsable.h: remove !NEW_INSETS cruft
6174 * insetbib.C: remove !NEW_INSETS cruft
6176 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6178 * insettoc.C: hack to make listof algorithm work
6180 2001-04-20 Juergen Vigna <jug@sad.it>
6182 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6184 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6186 * insetquotes.C (Latex): improve the guard against
6187 unwanted !` and ?` ligatures. This should really be done in
6188 another place (to catch all this ligatures at low-level).
6190 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6192 * insettext.C (init): remvoe leftovers from cursor_visible change
6193 (draw): use c++ cast
6194 (LocalDispatch): dispatch LFUN_MESSAGE
6196 * insettabular.C (InsetTabular): remove leftovers from
6197 cursor_visible, and scoped_ptr changes
6198 (draw): use c++ cast
6200 * insetcollapsable.C (draw): use c++ cast
6202 * ExternalTemplate.h: inherit privaely from noncopyable
6203 * insetcommand.h: ditto
6204 * insetinclude.h: ditto
6206 2001-04-16 Allan Rae <rae@lyx.org>
6208 * insettoc.C (Ascii):
6209 * insettext.C (draw):
6210 * insettabular.C (setPos):
6211 * insetminipage.C (Read):
6212 * insetfloat.C (placement):
6213 * insetcaption.C (Ascii, DocBook):
6214 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6215 an unrecognised preprocessor directive. So ensure they're wrapped.
6217 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6220 * insetexternal.C: set view on Clone. Add _ to private members.
6222 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6224 * insettext.C (InsetText): fix new
6225 (InsetText): reindent some, simplify deletion of par list
6226 (clear): simplify deletion of par list, fix new
6227 (SetParagraphData): simplify deletion of par list
6229 * insettabular.[Ch] (getLabelList): implement new method
6231 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6233 * lyxinset.h: do not include gettext.h...
6241 * insetlatexaccent.C:
6245 * inseturl.C: ... and do it here instead
6247 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6249 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6251 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6253 * insetcollapsable.[Ch] (getLabelList): implement
6255 * insettext.[Ch] (getLabelList): implement
6257 * insettext.h: reindent
6259 * insettabular.h: make tabular a scoped_ptr
6261 * insettext.C (init): adjust for cursor_visible
6262 (ToggleInsetCursor): constify asc and desc, font, adjust for
6264 (ShowInsetCursor): constify asc and desc, font, adjust for
6266 (HideInsetCursor): adjust for cursor_visible
6268 * insettabular.C: reindent some
6269 (InsetTabular): adjust for scoped_ptr and cursor_visible
6270 (InsetTabular): ditto
6271 (~InsetTabular): delete delete
6272 (Clone): adjust for scoped_ptr
6273 (Read): constify old_format, adjust for scoped_ptr, move init of
6275 (draw): constify tx, localize loop vars.
6276 some other localization of variables, remove double initilizatons.
6278 * insetfoot.C: remove using std::ostream, add ostream where needed
6280 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6282 * lyxinset.h: some reindentaion, use initializer list for
6284 UpdatableInset: make cursor_visible a private var add
6285 public isCursorVisible(), add protected toggleCursorVisible() and
6286 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6288 * insettoc.C: remvoe using decl
6289 (getScreenLabel): make cmdname donst
6292 (Ascii): don't use endl
6294 * insetfootlike.C: remove using decl at file scope and add std::
6296 * insetmarginal.C: ditto
6298 * insetfoot.C: some reformatting
6300 * insetfloat.C (InsetButtonRelease): adjust the hit area
6302 * insetert.C (SetFont): some reformatting
6304 * insetcollapsable.C: some reformatting and constification
6305 (Clone): comment out.
6306 * insetcollapsable.h: some reformatting
6307 (Clone): comment out.
6312 2001-03-30 Juergen Vigna <jug@sad.it>
6314 * insetcollapsable.h: changen *inset to be a InsetText inset.
6316 * some files: changed to reflect the above change.
6318 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6320 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6321 InsetExternal::Params.
6322 Added operator==() and operator!=() for the Params struct.
6324 2001-03-29 Juergen Vigna <jug@sad.it>
6326 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6329 * insetminipage.C: removed widthp_ and all it's functions and changed
6330 to use new %-lengths of LyXLength.
6332 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6334 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6336 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6338 * insetgraphicsParams.C (operator!=): new function, needed by the
6339 ControlGraphics class.
6341 2001-03-28 Juergen Vigna <jug@sad.it>
6343 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6344 (checkAndActivateInset): don't use the values returned from
6345 call to bv->checkInsetHit.
6347 * insetminipage.C (Clone): set special minipage values.
6349 * insetcollapsable.C (draw): changed to draw the button in the
6350 upper left corner outside the textinset.
6351 (ascent): changed because of different drawing
6355 (InsetButtonPress): ditto
6356 (InsetButtonRelease): ditto
6357 (InsetMotionNotify): ditto
6359 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6361 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6365 2001-03-26 Juergen Vigna <jug@sad.it>
6367 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6369 * insettext.C (ShowInsetDialog): implemented above function.
6371 * insettabular.C (ShowInsetDialog): ditto
6373 * insetminipage.C (ShowInsetDialog): ditto
6375 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6377 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6378 InsetInclude::Params. Don't store a buffer * in Params. Store the
6379 master file name instead.
6381 2001-03-23 Juergen Vigna <jug@sad.it>
6383 * insetcollapsable.C (InsetMotionNotify):
6384 (InsetButtonRelease):
6385 (InsetButtonPress): fixed y-offset (minipages).
6387 * insettext.C (draw): force a FULL update if cleared == true.
6389 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6390 routine to draw the minipages on its position-flag.
6391 (InsetInInsetY): give back the right y position, because of minipage
6394 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6397 * insetfloat.C (DocBook): docbook export code.
6399 2001-03-22 Juergen Vigna <jug@sad.it>
6401 * insetminipage.C (getMaxWidth): added function to set the drawing
6403 (Read): should work now!
6405 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6406 if we create a new inset.
6408 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6410 * figinset.C (fl_set_preemptive_callback): moved definition outside
6413 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6415 * insetminipage.C (Read): prepare for reading of minipage arguments.
6417 2001-03-18 Baruch Even <baruch@lyx.org>
6419 * insetgraphics.C: Minor cleanups of the comments and code.
6421 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6423 * insetminipage.C (InsetMinipage): default to not collapsed
6425 2001-03-16 Juergen Vigna <jug@sad.it>
6427 * insetminipage.C (width): modified with to be a string
6428 (widthp): added widthp (for % width) support functions.
6429 (InsetButtonRelease): added to open the options dialog on button==3.
6430 (~InsetMinipage): added to hide the dialog.
6432 * insetminipage.h: added hideDialog signal
6434 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6436 * insetminipage.h: change the order or Position to match
6437 LyXParagraph::MINIPAGE_ALIGNMENT
6439 * several files: remvoe CXX_WORKING_NAMESPACES
6441 * ExternalTemplate.h: noncopyable is in namespace boost
6442 * insetinclude.h: ditto
6443 * insetcommand.h: ditto
6445 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6447 * insettext.C (Edit): #else# -> #else.
6448 * insettoc.C: added using directive.
6450 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6452 * insetminipage.h: add pos, inner_pos, width and height. + getters
6453 and setters for all of them.
6455 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6457 * insetinclude.C (Latex): Do not exit when the textclass of the
6458 included file differ from the textclass of the parent file.
6460 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6462 * ExternalTemplate.C (read): the reading of external insets now checks
6463 for \end_inset and removes it form the input stream.
6465 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6467 * ExternalTemplate.h:
6468 * ExternalTemplate.C:
6470 * insetexternal.C: move form to GUII
6472 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6475 * insetinclude.C: add InsetIncludeParams, use
6476 composition rather than derivation of InsetCommand
6478 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6480 * insettoc.C (Ascii): use the Buffer typedefs
6482 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6484 * insettoc.C (Ascii): implement for dynamic number of lists
6486 * insetcaption.[Ch]: update from new_insets branch
6487 * insetfloat.[Ch]: ditto
6489 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6492 * figinset.C: use new File Dialog
6494 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6496 * insettext.C: changes becuase of ParagraphParameters.
6498 2001-02-28 Baruch Even <baruch@ev-en.org>
6500 * insetgraphics.C (updateInset): Changed due to the change in
6503 2001-02-26 Juergen Vigna <jug@sad.it>
6505 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6506 handled in LyXText).
6508 2001-02-23 Juergen Vigna <jug@sad.it>
6510 * insettext.C (draw): some small repainting fixes.
6511 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6513 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6514 should be) and not an int.
6516 * insettabular.C (LocalDispatch): ditto
6518 * insettext.C (LocalDispatch): ditto
6520 * insetcollapsable.C (LocalDispatch): ditto
6522 2001-02-22 Juergen Vigna <jug@sad.it>
6524 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6525 DISPATCH it and we don't have a locking_inset.
6527 2001-02-21 Baruch Even <baruch@ev-en.org>
6529 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6530 instead of GraphicsCacheItem *.
6532 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6534 * insetcollapsable.C (getLyXText): add const qualifier to second
6537 2001-02-22 Juergen Vigna <jug@sad.it>
6539 * insettext.C (getLyXText): honor the recursive parameter.
6540 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6542 * inset.C (getLyXText): added bool recursive parameter.
6544 * insettext.C (SetUpdateStatus): or the update codes.
6545 (draw): check need_update with &.
6546 (InsetButtonPress): set no_selection to not put a selection when
6547 entering an inset and it is redraws in another spot.
6549 * insettext.h: made need_update an int.
6551 2001-02-20 Baruch Even <baruch@ev-en.org>
6554 * insetgraphisc.C: Changed to use better semantics when loading images
6555 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6557 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6561 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6562 consistent with InsetTabular.
6564 2001-02-19 Juergen Vigna <jug@sad.it>
6566 * insettabular.C (LocalDispatch): implement PAGE up/down.
6568 * insettext.C (draw): clear all of it on need_update==INIT too!
6570 * insettabular.C (InsetUnlock): always clear the selection.
6572 * inset.C (scroll): normally we only want to scroll the inset until
6573 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6575 2001-02-14 Juergen Vigna <jug@sad.it>
6577 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6578 (resetPos): fixed scroll behaviour.
6579 (LocalDispatch): do an update if moving cursor inside a table cell
6580 requests a scroll of the tabular.
6582 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6584 * insettext.C (textWidth): constify local var
6586 * insettabular.C: small cleanup.
6588 * insetfoot.C (Latex): constify local var
6590 * insetcollapsable.C: small cleanup.
6592 * figinset.C (runqueue): use compare instead of strcmp
6594 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6597 * insetinfo.C: remove cruft
6599 2001-02-14 Juergen Vigna <jug@sad.it>
6601 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6603 2001-02-13 Juergen Vigna <jug@sad.it>
6605 * insettext.C (InsertInset): don't move left (is this right?)
6607 * insettabular.C (LocalDispatch): use of the no_draw variable
6609 * insettabular.h: new no_draw variable to stop redraw
6611 * insettabular.C (TabularFeatures): fixed update for alignment change
6613 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6617 * insetbib.C: move dialogs to frontends/
6619 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6621 * insettext.C (LocalDispatch): Restore the language if the inset
6624 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6626 * insettext.C (moveRightIntern): Update the selection cursor.
6627 (moveLeftIntern): Ditto.
6629 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6631 * Makefile.am: remove BoundingBox.h
6633 * BoundingBox.h: removed
6635 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6637 * insettext.C (LocalDispatch): Update selection cursor when moving
6638 cursor to the right.
6639 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6640 (moveLeftIntern): Ditto.
6642 2001-02-05 Baruch Even <baruch.even@writeme.com>
6644 * insetgraphics.C: Updated automatic image conversion, it now goes into
6645 temporary directory instead of with the image itself.
6647 2001-01-21 Baruch Even <baruch@ev-en.org>
6649 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6650 to EPS or PNG when needed (support bitmap graphics).
6652 2000-11-02 Baruch Even <baruch@ev-en.org>
6655 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6656 and removal of commented out code.
6658 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6660 * insetbib.C (callback): Update citations if the key has changed.
6662 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6664 * insetbib.C (InsetBibKey): Better computation of default key.
6665 (getScreenLabel) Show both the key and the label.
6666 (getBibLabel): New method.
6667 (callback): Force a redraw if the inset have been changed.
6669 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6671 * insetref.C (getType, getName): Move methods from
6672 src/frontends/xforms/FormRef.C.
6674 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6676 * insettabular.C: Various improvements (use only one dummy position).
6678 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6680 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6681 par->bibkey->width. This fixes the crashes when running without
6682 gui or when having included documents.
6684 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6686 * insetcommand.C (getAsString, setFromString): Cleanup.
6688 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6690 * insetref.C: Add the array InsetRef::types that contains
6691 information about all supported reference types.
6693 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6695 * lyxinset.h: remove trailing comma in enum.
6697 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6699 * insettext.C: kill LyXBell.