1 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * insetminipage.[Ch]: remove from repository.
5 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
8 * insetcollapsable.[Ch]: Move all CollapseStatus code from
9 insetert to insetcollapsable; introduce virtual function
10 setButtonLabel and invoke it from collapsable
12 2003-12-12 Angus Leeming <leeming@lyx.org>
14 * insetinclude.C (draw): cache x,y and so enable the
17 2003-12-12 Angus Leeming <leeming@lyx.org>
19 * mailinset.C (print_mailer_error): tidy up the output.
21 2003-12-11 Angus Leeming <leeming@lyx.org>
23 * mailinset.[Ch] (print_mailer_error): new helper function.
25 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
26 calling InsetCommandMailer.
27 (InsetCommandMailer::string2params): pass the name of the dialog.
29 * insetbibitem.[Ch] (d-tor):
30 * insetbibtex.[Ch] (d-tor):
31 * insetcite.[Ch] (d-tor):
32 * insetfloatlist.[Ch] (d-tor):
33 * insetindex.[Ch] (d-tor):
34 * insetlabel.[Ch] (d-tor):
35 * insetref.[Ch] (d-tor):
36 * insettoc.[Ch] (d-tor):
37 * inseturl.[Ch] (d-tor): removed.
38 Hiding the dialog is handled by InsetCommand.
40 * insetbibtex.[Ch] (draw, metrics):
41 * insetfloatlist.[Ch] (draw, metrics):
42 * insetindex.[Ch] (draw, metrics): removed.
43 Drawing is handled by InsetCommand.
45 * insetbibitem.[Ch] (priv_dispatch):
46 * insetbibtex.[Ch] (priv_dispatch):
47 * insetcite.[Ch] (priv_dispatch):
48 * insetfloatlist.[Ch] (priv_dispatch):
49 * insetindex.[Ch] (priv_dispatch):
50 * insetlabel.[Ch] (priv_dispatch):
51 * insettoc.[Ch] (priv_dispatch):
52 * inseturl.[Ch] (priv_dispatch): removed or simplified.
53 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
54 LFUN_INSET_DIALOG_SHOW.
56 * insetbox.C (string2params):
57 * insetbranch.C (string2params):
58 * insetert.C (string2params):
59 * insetexternal.C (string2params):
60 * insetfloat.C (string2params):
61 * insetinclude.C (string2params):
62 * insetminipage.C (string2params):
63 * insetnote.C (string2params):
64 * insetvspace.C (string2params):
65 * insetwrap.C (string2params): over-hauled.
67 2003-12-10 Angus Leeming <leeming@lyx.org>
69 * insetexternal.[Ch]: add a draft option and respect it when
72 2003-12-10 Angus Leeming <leeming@lyx.org>
74 * insetbox.C: (read, write): now prepend the inset contents with
75 'Box' to identify the inset as a box inset.
77 * insetbox.h: move the translators out of sight.
79 2003-12-10 Angus Leeming <leeming@lyx.org>
81 * insetert.C (string2params): clean-up using the new lyxlex interface.
83 * insetexternal.C: ensure that InsetExternalParams has a default
84 template, 'RasterImage'.
86 2003-12-10 Angus Leeming <leeming@lyx.org>
88 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
89 to an enum. Ensuing clean-ups through out the class.
90 (read, write): now prepend the inset contents with 'Note' to identify
91 the inset as a note inset.
93 2003-12-10 Angus Leeming <leeming@lyx.org>
95 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
96 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
98 2003-12-10 André Pönitz <poenitz@gmx.net>
103 * insettext.[Ch]: remove unused insetInset()
105 * insetert.C: disable some LFUNs
107 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
109 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
111 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
113 2003-12-04 Angus Leeming <leeming@lyx.org>
115 * insetexternal.C (draw): update the xo_, yo_ cache.
117 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
119 (RotationDataType): new helper struct wrapping the
120 RotationData::OriginType enum.
122 2003-12-03 André Pönitz <poenitz@gmx.net>
124 * inset.h: remove getParagraphs()
126 * insetcollapsable.[Ch]:
130 * insettext.C: use getText() instead of getParagraphs()
132 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
134 * insetert.C: fix label text updating bug
136 2003-12-02 Angus Leeming <leeming@lyx.org>
138 * insetvspace.[Ch] (space): new member function. Make space_ private.
139 (read): use the new, simpler lyxlex syntax.
141 2003-12-01 André Pönitz <poenitz@gmx.net>
143 * insetcollapsable.[Ch]:
144 * insetert.[Ch]: move 'inline' state to InsetCollapsable
146 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * insetvspace.C (read): handle 'end_inset' token.
150 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
152 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
154 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
156 * insetcollapsable.[Ch]:
158 * insetcharstyle.C: place inset content on the button when
161 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
163 * insetvspace.C: remove VSpace::NONE; increase inset width
165 2003-12-01 André Pönitz <poenitz@gmx.net>
167 * insetbase.h: whitespace
169 * inset.[Ch]: remove latexTextWidth
170 make setBackgroundColor virtual
172 * insettext.[Ch]: move ParagraphList member to LyXText
174 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
180 * insetminipage.[Ch]:
182 * insetwrap.[Ch]: adjust paragraphs and background color handling,
184 2003-11-28 Angus Leeming <leeming@lyx.org>
186 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
187 hiding and showing the dialog respectively.
188 (priv_dispatch): also actually update the inset contents.
190 2003-11-28 Angus Leeming <leeming@lyx.org>
192 * insetbox.C (d-tor):
193 * insetbranch.C (d-tor):
194 * insetcite.C (d-tor):
195 * insetfloat.C (d-tor):
196 * insetfloatlist.C (d-tor):
197 * insetinclude.C (d-tor):
198 * insetindex.C (d-tor):
199 simplify the invocation of the Mailer::hideDialog() function.
201 * insetminipage.C (showInsetDialog):
202 simplify the invocation of the Mailer::showialog() function.
204 2003-11-28 André Pönitz <poenitz@gmx.net>
207 * insetvspace.[Ch]: new insets
209 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
211 * insetcharstyle.C: Syntax change for CharStyles
213 2003-11-28 André Pönitz <poenitz@gmx.net>
215 * updatableinset.h: remove insetInInsetY
217 * insetcollapsable.[Ch]:
220 * insettext.[Ch]: adjust
222 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
226 * insetcollapsable.[Ch]:
228 * insettabular.[Ch]: remove setFont
230 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
232 * render_graphic.[Ch]: adjust comments
234 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
236 * insetgraphics.C (draw): cache xo_ & yo_
238 2003-11-24 André Pönitz <poenitz@gmx.net>
240 * insettext.C (setViewCache): don't call LyXText::init() anymore
242 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
245 * insetcollapsable.[Ch]:
246 * insetert.[Ch]: remove bufferview parameter in methods
247 open, close, status, and updateStatus.
249 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
251 * insetcollapsable.[Ch]:
253 * insettext.[Ch] (getCursorDim): squash unused variable
255 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
257 * insettext.C (edit): x0_,y0_ -> xo_,yo_
259 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
261 * insettext.C (draw): sets LyXText absolute coordinates
263 2003-11-20 Angus Leeming <leeming@lyx.org>
265 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
266 about unused parameters.
268 * insetcollapsable.C (open):
269 * insettabular.C (pasteSelection):
270 * insettoc.C (draw): ditto.
272 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
274 * insetcollapsable.C:
276 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
277 remove mouse_x mouse_y etc.
279 2003-11-17 André Pönitz <poenitz@gmx.net>
281 * insettext.[Ch] (cx, cy): remove
283 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
285 2003-11-13 André Pönitz <poenitz@gmx.net>
288 * insetcollapsable.[Ch]:
290 * insettext.[Ch] (deleteLyXText): remove
292 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
294 * insetcollapsable.[Ch] (fitInsetCursor): remove
295 * insettabular.[Ch] (fitInsetCursor): remove
296 * insettext.[Ch] (fitInsetCursor): remove
297 * updatableinset.[Ch] (fitInsetCursor): remove
298 (getCursorDIm): add virtual
300 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
302 * src/insets/Makefile.am:
303 * src/insets/inset.h:
304 * src/insets/insetcharstyle.C:
305 * src/insets/insetcharstyle.h: The Character Style /XML short
308 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
310 * insettext.C: remove all update calls
311 * insetcollapsable.C: remove all update calls
313 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
315 * insettext.C (updateLocal, insertInset, setFont): remove
318 2003-11-10 André Pönitz <poenitz@gmx.net>
320 * inset.h: remove Inset::id_
322 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
325 2003-11-10 André Pönitz <poenitz@gmx.net>
329 * insetcollapsable.[Ch]:
336 * updatableinset.[Ch]: remove inset locking & adjust
338 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
340 * inset.h (allowSpellCheck): add (return true)
341 * insetert.h (allowSpellCheck): add (return false)
343 2003-11-05 José Matos <jamatos@lyx.org>
351 * insetcollapsable.[Ch]:
355 * insetexternal.[Ch]:
357 * insetfloatlist.[Ch]:
359 * insetgraphics.[Ch]:
364 * insetlatexaccent.[Ch]:
367 * insetmarginal.[Ch]:
368 * insetminipage.[Ch]:
372 * insetpagebreak.[Ch]:
376 * insetspecialchar.[Ch]:
382 * insetwrap.[Ch]: rename ascii to plaintext
383 and LatexRunParams to OutputParams.
385 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
387 * insetcollapsable.C (edit): add open() all
388 * insettext.C (edit): add setViewCache call
390 2003-11-04 André Pönitz <poenitz@gmx.net>
392 * inset.h (edit): move locking code from dispatch() to edit()
398 * insetcollapsable.[Ch]:
401 * insetexternal.[Ch]:
402 * insetgraphics.[Ch]:
408 * insettext.[Ch]: adjust
410 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
413 * insetcollapsable.[Ch]:
417 * updatableinset.[Ch]: remove dead search code
419 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
422 * insetcollapsable.[Ch]:
426 * updatableinset.[Ch]: remove dead spellcheck code
428 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
430 * insettabular.C (lockInsetInInset): small fix
432 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
434 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
435 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
436 from here. Be stricter on DispatchResult returned.
438 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
440 * Inset::dispatch's: adjust for new DispatchResult semantics.
442 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
444 * render_base.h: make clone return an auto_ptr
445 * render_button.C (clone): adjust
446 * render_graphic.C (clone): adjust
447 * render_preview.C (clone): adjust
449 * insettheorem.C (clone): return an auto_ptr
451 * insettext.C (priv_dispatch): exception safety
453 * insettabular.C: store the file scope variable paste_tabular in a
454 scoped_ptr, adjust usage.
456 * insetexternal.C (setParams): exception safety
458 * insetbibitem.C (clone): exception safety
460 2003-11-03 André Pönitz <poenitz@gmx.net>
463 * insetcollapsable.[Ch]:
465 * insettext.[Ch]: remove Inset::id and related functions
467 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
469 * insets: adjust for DispatchResult changes.
471 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
473 * insetpagebreak.C: fix screen representation & ascii output.
475 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
480 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
482 2003-10-31 José Matos <jamatos@lyx.org>
484 * inset.h (ascii, linuxdoc, docbook):
485 * insetbox.[Ch] (ascii, linuxdoc, docbook):
486 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
487 * insetcaption.[Ch] (ascii, docbook):
488 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
489 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
490 * insetert.[Ch] (ascii, linuxdoc, docbook):
491 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
492 * insetfloat.[Ch] (linuxdoc, docbook):
493 * insetfloatlist.[Ch] (ascii):
494 * insetfoot.[Ch] (docbook):
495 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
496 * insethfill.[Ch] (ascii, linuxdoc, docbook):
497 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
498 * insetindex.[Ch] (docbook):
499 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
500 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
501 * insetline.[Ch] (ascii, linuxdoc, docbook):
502 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
503 * insetnote.[Ch] (ascii, linuxdoc, docbook):
504 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
505 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
506 * insetref.[Ch] (ascii, linuxdoc, docbook):
507 * insetspace.[Ch] (ascii, linuxdoc, docbook):
508 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
509 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
510 * insettext.[Ch] (ascii, linuxdoc, docbook):
511 * insettoc.[Ch] (ascii, linuxdoc, docbook):
512 * inseturl.[Ch] (ascii, linuxdoc, docbook):
513 * insetwrap.[Ch] (docbook):
514 add LatexRunParams argument.
516 2003-10-30 José Matos <jamatos@lyx.org>
518 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
520 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
522 * updatableinset.C (priv_dispatch):
523 * insetwrap.C (priv_dispatch):
524 * inseturl.C (priv_dispatch):
525 * insettoc.C (priv_dispatch):
526 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
527 (moveLeftIntern, moveUp, moveDown):
528 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
529 (moveLeft, moveUp, moveDown):
530 * insetref.C (priv_dispatch):
531 * insetnote.C (priv_dispatch):
532 * insetminipage.C (priv_dispatch):
533 * insetlabel.C (priv_dispatch):
534 * insetindex.C (priv_dispatch):
535 * insetinclude.C (priv_dispatch):
536 * insetgraphics.C (priv_dispatch):
537 * insetfloatlist.C (priv_dispatch):
538 * insetfloat.C (priv_dispatch):
539 * insetexternal.C (priv_dispatch):
540 * insetert.C (priv_dispatch):
541 * insetcommand.C (priv_dispatch):
542 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
543 * insetcite.C (priv_dispatch):
544 * insetbranch.C (priv_dispatch):
545 * insetbox.C (priv_dispatch):
546 * insetbibtex.C (priv_dispatch):
547 * insetbibitem.C (priv_dispatch):
548 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
550 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
552 * insettext.C: small refactoring of docbook stuff
554 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
556 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
557 (priv_dispatch): adjust for operator dispatch_result_t removal
559 * insettabular.C (lfunMouseRelease): put the result of a dispatch
560 in a DispatchResult, adjust accordingly.
561 (priv_dispatch): use strange >= construct... (will be removed later)
563 * most insets: dispatch_result -> DispatchResult
565 * insetbase.h: move DispatchResult out to dispatchresult.h
567 2003-10-27 André Pönitz <poenitz@gmx.net>
569 * insetpagebreak.[Ch]: new inset for page breaks
571 * insetline.[Ch]: new inset for vertical lines
576 2003-10-25 Angus Leeming <leeming@lyx.org>
578 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
579 new virtual member functions, specialised...
580 * render_button.h (asButton):
581 * render_graphic.h (asGraphic):
582 * render_preview.h (asPreview, asMonitoredPreview): ... here.
584 * insetexternal.C: use these new functions rather than dynamic_cast.
585 Various other small simplifications.
587 2003-10-22 Angus Leeming <leeming@lyx.org>
589 * insetexternal.[Ch]: add the ability to 'preview' the external file
592 * insetinclude.C: changes due to the changes in the RenderPreview
595 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
596 message if the preview image is not available. Only initiate the
597 loading of the preview from draw(). Ditto, start the monitoring
598 of an external file from RenderMonitoredPreview::draw.
600 2003-10-22 Angus Leeming <leeming@lyx.org>
602 * insetcite.[Ch] (setLoadingBuffer): removed.
603 (getNatbibLabel): use the new Buffer::fully_loaded member function to
604 ascertain whether to proceed with the (expensive) task of computing
605 the natbib-style label. Remove the home-grown hack providing
606 similar functionality.
608 2003-10-22 Angus Leeming <leeming@lyx.org>
610 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
611 class and into an anonymous namespace.
613 2003-10-22 Angus Leeming <leeming@lyx.org>
615 * insetcommand.h: remove the display method.
619 * insetindex.h (InsetPrintIndex):
620 * insettoc.h: add a display method, returning true.
622 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
624 * insetcollapsable.h:
628 * insetinclude.h: (1) finish off the inset display() work;
629 (2) fix the "is a bit silly" bug (accessing char
632 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
636 * insetfootlike.h: re-introduce display() for insets,
637 fixing the various bugs (stretch of line above, math inset
640 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
642 * insetbase.C (dispatch): new func
643 (priv_dispatch): new func replaces...
644 (localDispatch): this, deleted.
646 * all insets with dispatch modified for new code.
648 2003-10-15 André Pönitz <poenitz@gmx.net>
650 * insetcollapsable.[Ch]
652 * inset.h: re-add some edit(bv, index) method called by undo
654 2003-10-14 Angus Leeming <leeming@lyx.org>
656 * insetexternal.[Ch] (view, cache, view_):
657 * insetgraphics.[Ch] (view, cache, view_):
658 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
659 (statusChanged): call LyX::cref().updateInset.
661 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
662 the BufferView cache.
664 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
667 2003-10-14 Angus Leeming <leeming@lyx.org>
669 * insetinclude.C (metrics, draw): only draw the preview when previews
672 2003-10-14 André Pönitz <poenitz@gmx.net>
674 * insetcollapsable.[Ch]:
677 * inset.h: getText() as alternative to getParagraphs()
679 2003-10-13 Angus Leeming <leeming@lyx.org>
682 * insetgraphicsParams.C: displayTranslator is now a function.
684 2003-10-13 Angus Leeming <leeming@lyx.org>
686 * insetinclude.C: remove #include "PreviewImage.h".
688 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
691 * ExternalTransforms.C:
693 * insetbox.h: ws changes only
695 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
697 * insetinclude.C (localDispatch): do not call
698 InsetOld::localDispatch, just return UNDISPATCHED
699 * insetgraphics.C (localDispatch): ditto
700 * insetcommand.C (localDispatch): ditto
702 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
704 * inset.h: get rid of RESULT typedef for dispatch_result
706 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
707 * insetert.[Ch] (localDispatch): ditto
708 * insettabular.[Ch] (localDispatch): ditto
713 * insettext.[Ch] (localDispatch): ditto
716 (moveRightIntern): ditto
717 (moveLeftIntern): ditto
720 * updatableinset.[Ch] (localDispatch): ditto
722 2003-10-12 Angus Leeming <leeming@lyx.org>
724 * renderbase.h (view, view_): removed.
725 * renderbase.C: removed.
726 * Makefile.am: remove render_base.C. The shortest lived file in
729 * renderbutton.C (draw):
730 * render_graphic.C (draw): don't cache the BufferView.
732 * insetabase.h (cache, view): removed.
734 * inset.h (generatePreview) removed.
736 * insetcallapsable.[Ch] (cache, view, view_): removed.
738 * insetcollapsable.C (draw): don't cache the BufferView.
740 * insetcommand.[Ch] (view): removed.
742 * insetexternal.[Ch] (cache, view, view_):
743 * insetgraphics.[Ch] (cache, view, view_):
744 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
746 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
747 when you have direct access to it. In fact, don't use the cache at all.
749 2003-10-10 Angus Leeming <leeming@lyx.org>
751 * insetinclude.C (metrics): use preview_->metrics.
752 (draw): use preview_->draw.
754 * render_preview.[Ch] (pimage): removed.
756 2003-10-10 Angus Leeming <leeming@lyx.org>
758 * renderers.[Ch]: removed.
761 * render_button.[Ch]:
762 * render_graphic.[Ch]:
763 * render_preview.[Ch]: new files. The first three are split out of
764 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
765 contains a re-worked InsetInclude::PreviewImpl also.
767 * Makefile.am: reflect the changed files.
770 * insetexternal.[Ch]:
771 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
773 * insetinclude.[Ch]: changes reflecting the change from
774 InsetInclude::PreviewImpl to RenderMonitoredPreview.
780 * inseturl.C: add #include "support/std_ostream.h"
782 2003-10-09 Angus Leeming <leeming@lyx.org>
784 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
785 to PreviewedInset::previewReady.
787 2003-10-09 Angus Leeming <leeming@lyx.org>
789 * insetexternal.[Ch] (statusChanged):
790 * insetgraphics.[Ch] (statusChanged): make a const member function.
792 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
795 2003-10-09 Angus Leeming <leeming@lyx.org>
797 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
798 to PreviewedInset's previewReady and removePreview member functions.
800 2003-10-08 André Pönitz <poenitz@gmx.net>
802 * insetcollapsable.C:
803 * insettext.[Ch]: saner 'init' structure
805 * updatableinset.[Ch]: remove unneeded code
807 2003-10-08 Angus Leeming <leeming@lyx.org>
809 Fix doxygen warnings.
811 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
812 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
814 2003-10-07 Angus Leeming <leeming@lyx.org>
816 * ExternalTransforms.[Ch]: new files, detailing transforms that can
817 be applied to InsetExternal.
819 * Makefile.am: add these new files.
821 * ExternalTemplate.[Ch]: add a list of available transforms to
822 class Template and a list of factory functions for transformer classes
823 that can act on this data to class Format.
825 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
827 * ExternalSupport.C: Add code to replace transform placeholders
828 with appropriate output.
830 2003-10-07 Angus Leeming <leeming@lyx.org>
832 * ExternalSupport.[Ch]: new files, moving the private member functions
833 and namespace anon functions out of insetexternal.C to here, so making
834 it easier to understand what is going on in insetexternal itself.
836 * Makefile.am: add new files.
838 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
839 allowing the class to be forward declared. (Also consistent with
840 all other Params classes.)
841 (write): moved out of the class. Move this function and those in
842 namespace anon to ExternalSupport.[Ch].
844 2003-10-07 Angus Leeming <leeming@lyx.org>
846 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
847 non-const member function.
849 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
854 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
856 2003-10-02 André Pönitz <poenitz@gmx.net>
858 * insettext.C (read): make sure there is at least one par
859 in the text after reading.
861 2003-10-01 José Matos <jamatos@lyx.org>
863 * insetbranch.C (linuxdoc, docbook): minor fix.
865 2003-10-01 Angus Leeming <leeming@lyx.org>
867 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
869 * insetexternal.[Ch]: changes due to the introduction of
870 namespace lyx::external.
872 2003-09-30 Angus Leeming <leeming@lyx.org>
874 * insetexternal.[Ch] (Params::read, write): new member functions.
876 2003-09-25 Angus Leeming <leeming@lyx.org>
878 * insetexternal.[Ch] (TempName): new (private) nested struct with
879 fake copy semantics. Enables us to use the generated copy c-tor
880 in the Params struct.
881 (Params::templatename, Params::tempname): use accessor functions.
883 2003-09-25 Angus Leeming <leeming@lyx.org>
885 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
886 function, returning a const pointer.
888 2003-09-23 Angus Leeming <leeming@lyx.org>
890 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
891 store them in a vector, preambleNames.
893 * insetexternal.C (validate): loop over all preambleNames and call
894 LaTeXFeatures::addExternalPreamble with each.
896 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
898 * insetbranch.C: bug fix in branches
900 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
902 * insetnote.C: small clean-up.
904 2003-09-19 Angus Leeming <leeming@lyx.org>
906 * inset.h (generatePreview): passed a 'Buffer const &' arg.
908 * insetcommand.C (string2params): clear params using the default c-tor.
910 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
911 InsetInclude::Params. No more data in this struct than in
912 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
913 (c-tor): no need to pass a 'Buffer const &' arg anymore.
914 (clone): remove #warning as it's now redundant.
915 (set): add a 'Buffer const &' arg. Make private.
916 (loadIfNeeded) move out of the class definition and into namespace anon.
917 (getMasterFilename, getFileName): ditto.
919 2003-09-18 Angus Leeming <leeming@lyx.org>
921 * insetcommand.C (setParams): use the params' copy constructor.
923 2003-09-18 Angus Leeming <leeming@lyx.org>
925 * insetinsetbase.h (getLabelList):
926 * insetinsetcollapsable.[Ch] (getLabelList):
927 * insetinsetinclude.[Ch] (getLabelList):
928 * insetinsetlabel.[Ch] (getLabelList):
929 * insetinsettabular.[Ch] (getLabelList):
930 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
931 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
933 2003-09-18 Angus Leeming <leeming@lyx.org>
935 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
936 redundant baggage from yesteryear.
937 Remove Params::flag as it is redundant; the info is present in
940 2003-09-18 Angus Leeming <leeming@lyx.org>
942 * insetinclude.C (latexString): add a Buffer const & arg.
944 2003-09-18 Angus Leeming <leeming@lyx.org>
949 * insettext.h: rename EnumLColor as LColor_color.
951 2003-09-18 Angus Leeming <leeming@lyx.org>
953 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
954 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
956 2003-09-16 Angus Leeming <leeming@lyx.org>
958 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
959 set before trying to generate a preview, else we trigger an assert.
961 2003-09-16 Angus Leeming <leeming@lyx.org>
963 * insetinclude.C (PreviewImpl::parent): return a const reference.
965 2003-09-16 Angus Leeming <leeming@lyx.org>
967 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
969 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
971 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
972 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
974 * insetminipage.C (metrics):
975 * insetnote.C (metrics):
976 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
977 access collapsed_ directly.
979 2003-09-16 Angus Leeming <leeming@lyx.org>
981 * insetbibitem.C: add #include "lyxfont.h".
983 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
986 * insetbibtex.C: use namespace alias for lyx::support::os
988 2003-09-16 Angus Leeming <leeming@lyx.org>
990 * insetcollapsable.h: remove unused framecolor variable.
991 Remove #include "LColor.h".
993 * insetcollapsable.C: remove unused framecolor variable.
996 * insetcollapsable.C:
1004 Add #include "LColor.h".
1006 2003-09-16 Angus Leeming <leeming@lyx.org>
1008 * insettext.[Ch] (frameColor): new accessor function.
1009 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1015 add #include "LColor.h".
1017 * insetcollapsable.h: add #include "LColor.h"
1018 (for its framecolor member variable).
1020 2003-09-16 Angus Leeming <leeming@lyx.org>
1022 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1024 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1025 rename frame_color as frame_color_. Make private.
1027 * insettext.C: associated changes.
1029 2003-09-16 Angus Leeming <leeming@lyx.org>
1031 * inset.h: store background_color_ as an int, not as an LColor::color to
1032 get LColor.h out of the header file.
1035 * insetlatexaccent.C:
1038 * insetspecialchar.C:
1040 add #include "LColor.h".
1042 2003-09-16 Angus Leeming <leeming@lyx.org>
1044 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1047 2003-09-15 Angus Leeming <leeming@lyx.org>
1049 * inset.[Ch] (setBackgroundColor, backgroundColor):
1050 * insettext.[Ch] (setFrameColor):
1051 pass EnumLColor args, rather than LColor::color ones.
1053 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1063 * insetwrap.C: remove usage of STRCONV
1065 2003-09-15 Angus Leeming <leeming@lyx.org>
1067 * renderers.C (draw):
1068 * insetlatexaccent.C (draw): explicitly define the color passed to
1071 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1073 * insettext.C: remove block causing problems in lockInsetInInset
1074 (mentioned erroneously under Bug #1366)
1076 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1078 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1081 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1083 * several files: change Assert to BOOST_ASSERT
1085 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1087 * insettext.[Ch]: remove drawText[XY]Offset
1089 2003-09-08 Angus Leeming <leeming@lyx.org>
1091 * insetcollapsable.C:
1096 * insetspecialchar.C:
1099 * insettoc.C: remove redundant using directives.
1101 2003-09-07 Angus Leeming <leeming@lyx.org>
1104 * insetspecialchar.h: remove #include "support/std_string.h".
1106 2003-09-06 Angus Leeming <leeming@lyx.org>
1108 * renderers.C: add #include "insets/inset.h"
1110 2003-09-05 Angus Leeming <leeming@lyx.org>
1112 * *.C: strip out redundant #includes. (193 in total.)
1114 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1116 * insets/insetbibtex.[Ch]:
1117 * insets/insetcommand.h:
1118 * insets/insetfloatlist.[Ch]:
1119 * insets/insetinclude.[Ch]:
1120 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1121 of insets like bibtex, include, toc and floatlist to the visible
1122 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1123 up the dialogs. Cursor has to be in front of the inset (i.e.
1124 start of row) for this to function.
1126 2003-09-04 Angus Leeming <leeming@lyx.org>
1128 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1129 structure outside of the Format struct. Format::preambleName refers to
1130 an item in the map of all preamble snippets.
1131 Make use of the new Debug::EXTERNAL flag.
1133 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1134 (validate): Small change due to the changed storage of preamble snippets.
1136 2003-09-04 Angus Leeming <leeming@lyx.org>
1138 * insetgraphics.C: #include "support/os.h"
1140 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1141 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1142 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1144 * insetcollapsable.h:
1146 * insetnote.C: move #include "funcrequest.h" out of the header file.
1148 2003-09-03 Angus Leeming <leeming@lyx.org>
1150 * insetexternal.C (updateExternal):
1151 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1154 2003-09-03 Angus Leeming <leeming@lyx.org>
1156 * insetexternal.C: don't bring namespace lyx::support into the global
1159 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1161 * insetbranch.C: Add Branch: to label
1163 2003-09-02 John Levon <levon@movementarian.org>
1166 * insettext.C: remove cursor.i[xy]()
1168 2003-08-28 Angus Leeming <leeming@lyx.org>
1170 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1171 "sh ", enabling the conversion to be carried out even if the script
1174 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1176 * most files: change to use const Buffer refs
1178 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1180 * insetfootlike.C: whitespace.
1182 2003-08-26 John Levon <levon@movementarian.org>
1186 * insetindex.h: remove remaining mentions of needFullRow()
1188 2003-08-26 André Pönitz <poenitz@gmx.net>
1194 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1196 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1198 * insetbranch.C: Small fix to prevent a crash on loading.
1200 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1205 * insetcollapsable.h:
1207 * insetfloatlist.[Ch]:
1208 * insetfootlike.[Ch]:
1209 * insetinclude.[Ch]:
1215 * insettheorem.[Ch]:
1216 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1217 altogether, putting the logic in metrics/draw in the insets.=20
1218 Draws short single row insets with more or less realistic metrics.
1220 2003-08-19 André Pönitz <poenitz@gmx.net>
1222 * insettext.C: use new RowPainter interface
1224 2003-08-18 John Levon <levon@movementarian.org>
1226 * insetref.C: require amsmath for eqref
1228 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1232 * insetbranch.[Ch]: implements the 'branch inset'
1233 idea. This allows the output of various versions of a document
1234 from a single source version, selectively outputing or suppressing
1235 output of parts of the text.
1236 This implementation contains a 'branch list editor' in a separate
1237 tab of the document settings dialog. Branches are user definable
1238 and have a "display colour" to distinguish them on-screen.
1240 ColorHandler was somewhat cleaned up.
1241 (1) make possible a dynamically growing LColor list by allowing
1242 the graphic context cache to grow along (vector);
1243 (2) eliminate an IMHO unnecessary step in colour allocation.
1245 2003-08-15 André Pönitz <poenitz@gmx.net>
1247 * insettext.[Ch]: adjust after rowlist split
1249 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1251 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1252 rename valign-center to valign-middle;
1253 rename VALIGN_CENTER to VALIGN_MIDDLE
1255 2003-08-11 André Pönitz <poenitz@gmx.net>
1257 * inset.h: remove resizeLyXText
1260 * insetcollapsable.[Ch]:
1262 * insettabular.[Ch]: adjust
1264 * insettext.[Ch]: remove saveLyXTextState,
1265 restoreLyXTextStat, sstate, reinitLyXText
1267 2003-08-07 André Pönitz <poenitz@gmx.net>
1269 * inset.[Ch]: move non-crucial functions out-of-line
1271 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1272 remove duplicated code.
1274 2003-08-05 André Pönitz <poenitz@gmx.net>
1277 * insetcollapsable.[Ch]:
1287 * insettabular.[Ch]:
1290 * updatableinset.[Ch]: rip out "deep update"
1292 * insettext.C (localDispatch): merge cases with default branch
1294 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1296 * insettabular.[Ch] (updateLocal): simplify logic
1298 2003-08-04 André Pönitz <poenitz@gmx.net>
1300 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1301 is 'FULL' all the time.
1303 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1305 * insetert.C (get_new_label): only add ... to the (closed) label
1306 when the string has been shortened
1308 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1310 * Always use std::endl with lyxerr
1312 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1314 * insetnote.C: update \author list
1316 2003-07-31 André Pönitz <poenitz@gmx.net>
1318 * insetcollapsable.h:
1319 * insettabular.[Ch]:
1320 * insettext.[Ch]: remove toggleSelection
1322 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1324 (with help from Juergen Spitzmueller)
1325 * insetnote.C: add add i18n support. Use Prefs-definable
1326 colours for Comment and Greyedout.
1328 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1330 * insetcollapsable.[Ch]:
1332 * insetert.C: factor out the detection of clicking on the inset
1333 button as 'hitButton'. John Levon contributed.
1335 2003-07-30 André Pönitz <poenitz@gmx.net>
1337 * insetcollapsable.C:
1339 * insettabular.C: parantheses, localize vars etc.
1341 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1343 * insetnote.C: Implement a newenvironment in preamble for
1344 greyedout. Patch provided by Jürgen Spitzmüller.
1346 2003-07-29 Angus Leeming <leeming@lyx.org>
1348 * insetcommand.C (localDispatch): default to
1349 InsetOld::localDispatch.
1351 * insetbibitem.C (localDispatch):
1352 * insetbibtex.C (localDispatch): remove call to
1353 ChangeCitationsIfUnique.
1355 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1357 * insetexternal.C (read): use pushpophelper.
1359 2003-07-28 José Matos <jamatos@lyx.org>
1361 * insetext.C (read): \end_document replaces \the_end.
1363 2003-07-28 José Matos <jamatos@fep.up.pt>
1365 * insetert.C (write): \layout -> \begin_layout.
1366 Add missing \end_layout.
1368 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1370 * insetquotes.C: document a bit the format
1372 * insettabular.C (write): remove extra space
1374 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1375 * insetnote.C: Umpf. Hope I *now* get it right :-(
1377 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1378 *insetnote.C: did the right fix to greyedout: \color
1379 instead of \textcolor.
1381 2003-07-28 Angus Leeming <leeming@lyx.org>
1383 * insetbibtex.h: remove extraneous forward declaration.
1386 * insetbibtex.h: Also remove long-dead Holder member class
1389 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1391 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1394 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1396 * insetwrap.C (addToToc): adjust for lyx::toc
1398 * insetfloatlist.C (ascii): adjust for lyx::toc
1400 * insetfloat.C (addToToc): adjust for lyx::toc
1402 2003-07-27 José Matos <jamatos@fep.up.pt>
1404 * insetnote.h (linuxdoc,docbook): update support.
1406 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1408 * insetfloat.C (wide): add a space to label, for consistency
1410 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1412 * insettext.C (nextChange): adjust for lyx::find
1413 (searchForward): ditto
1414 (searchBackward): ditto
1416 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1418 * insetgraphicsParams.C:
1419 * insetexternal.C: declare extern displayTranslator
1422 * renderers.C: add #include "support/LAssert.h"
1424 2003-07-27 José Matos <jamatos@fep.up.pt>
1426 * insetfloat.[Ch] (linuxdoc):
1427 * insetgraphics.C (linuxdoc):
1428 * insettabular.C (linuxdoc):
1429 * insettext.[Ch] (linuxdoc): add support for tables and figures
1432 2003-07-27 José Matos <jamatos@fep.up.pt>
1434 * insetinclude (latex): comply with makeLaTeXFile argument change.
1436 2003-07-26 Asger Alstrup <alstrup@local>
1438 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1439 the undo crashes. We'll see what problems other places this will
1442 2003-07-26 Angus Leeming <leeming@lyx.org>
1444 * insetgraphics.C: remove unused declaration of system_tempdir.
1446 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1448 * rename Inset to InsetOld
1450 * all inset files (clone): return a auto_ptr<InsetBase>
1452 2003-07-23 Angus Leeming <leeming@lyx.org>
1454 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1456 2003-07-23 Angus Leeming <leeming@lyx.org>
1458 * mailinset.[Ch] (inset2string):
1459 * insetcommand.[Ch] (inset2string):
1460 * insetert.[Ch] (inset2string):
1461 * insetexternal.[Ch] (inset2string):
1462 * insetfloat.[Ch] (inset2string):
1463 * insetgraphics.[Ch] (inset2string):
1464 * insetinclude.[Ch] (inset2string):
1465 * insetminipage.[Ch] (inset2string):
1466 * insetnote.[Ch] (inset2string):
1467 * insettabular.[Ch] (inset2string):
1468 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1470 * insetexternal.[Ch]:
1471 * insetgraphics.[Ch]: get rid of the view() function. Associated
1472 changes to the mailers' string2params and params2string functions.
1474 2003-07-23 Angus Leeming <leeming@lyx.org>
1476 * insetexternal.[Ch]: store the external file name in a FileName
1477 member variable rather than a string + associated changes.
1479 2003-07-21 Angus Leeming <leeming@lyx.org>
1481 * insetgraphicsParams.[Ch]: store the graphics file name in
1482 a FileName member variable rather than a string.
1484 * insetgraphics.[Ch]:
1485 * insetgraphicsParams.[Ch]: Associated changes.
1487 2003-07-21 Angus Leeming <leeming@lyx.org>
1489 * insetgraphics.[Ch] (string2params, params2string): passed a
1490 buffer_path argument.
1493 2003-07-21 Angus Leeming <leeming@lyx.org>
1496 * insetgraphicsParams.[Ch]:
1498 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1500 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1502 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1504 2003-07-18 André Pönitz <poenitz@gmx.net>
1507 * insetminipage.[Ch]:
1508 * insettabular.[Ch]:
1511 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1513 2003-07-18 André Pönitz <poenitz@gmx.net>
1517 * insetcollapsable.C:
1521 * insetgraphics.[Ch]:
1522 * insetlatexaccent.[Ch]:
1527 * insetspecialchar.C:
1528 * insettabular.[Ch]:
1530 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1532 2003-07-17 André Pönitz <poenitz@gmx.net>
1534 * insetcollapsable.C:
1536 * insettext.C: don't call Inset::update() anymore
1539 * insettabular.[Ch]: remove unneeded in_update_ members
1541 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1543 2003-07-16 André Pönitz <poenitz@gmx.net>
1545 * insettext.C (selectAll): remove
1547 2003-07-16 John Levon <levon@movementarian.org>
1550 * insetnote.C: implement showInsetDialog()
1552 2003-07-15 André Pönitz <poenitz@gmx.net>
1555 * insettext.C: refresh_status tristate -> need_update bool
1557 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1559 * insettext.C: adjust call to LyXText::init
1561 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1563 * insettext.C: use bufferview_funcs->replaceSelection()
1564 to delete selections in some cases (bugs 441, 673, 702, 954).
1566 2003-07-14 André Pönitz <poenitz@gmx.net>
1568 * insettext.C (draw): use slimmed down rowpainter interface
1570 2003-07-14 André Pönitz <poenitz@gmx.net>
1572 * insetcollapsable.C:
1574 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1575 remove unused BufferView * argument
1577 2003-07-14 André Pönitz <poenitz@gmx.net>
1579 * insettext.[Ch]: used cached metrics a bit more
1581 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1583 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1585 2003-07-10 André Pönitz <poenitz@gmx.net>
1588 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1590 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1592 * introduce namespace lyx::graphics
1594 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1596 * introduce namespace lyx::support
1598 2003-06-30 André Pönitz <poenitz@gmx.net>
1600 * insetcite.C (localDispatch): fix case of missing return value
1602 * insetcite.C (ascii): remove unneeded temporary
1604 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1606 * insetspace.h: fix \file
1608 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1609 * insetinclude.C (fillWithBibKeys): ditto
1611 * insetbibitem.C: fix type const order
1613 * inset.C (getLyXText): add varname for arg
1615 * ExternalTemplate.h: fix type const order
1617 2003-06-27 André Pönitz <poenitz@gmx.net>
1619 * insettext.C: take care of removed LyXCursor::row_ member
1621 * insettext.[Ch]: use new TextCursor struct for sstate
1623 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1625 * inseterror.[Ch]: removed
1627 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1629 * insetinclude.C (docbook): use parseError instead of sgmlError
1631 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1633 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1634 of BufferList::loadLyXFile
1636 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1638 * insettext.C (update): simplify
1639 (updateLocal): remove commented code
1640 (insetUnlock): simplify
1641 (lockInset): simplify
1642 (updateInsetInInset): simplify
1643 (localDispatch): simplify
1645 (resizeLyXText): simplify
1646 (collapseParagraphs): simplify
1648 * insetert.C (get_new_label): simplify
1650 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1652 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1653 pasteSelection with index
1655 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1657 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1659 2003-06-16 André Pönitz <poenitz@gmx.net>
1661 * insetbase.h: new virtual base function clone()
1663 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1664 Inset * clone() -> InsetBase * clone()
1666 2003-06-13 André Pönitz <poenitz@gmx.net>
1668 * insettabular.[Ch]: make tabular a proper member
1670 2003-06-12 André Pönitz <poenitz@gmx.net>
1672 * insettabular.[Ch]: some renaming plus whitespace
1674 2003-06-11 Angus Leeming <leeming@lyx.org>
1676 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1679 * insetbutton.[Ch]: removed.
1680 * graphicinset.[Ch]: renamed as renderers.[Ch].
1682 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1683 Create a new class ButtonRenderer using the InsetButton::metrics() and
1685 Derive both from a common RenderedInset base class.
1687 * insetcommand.[Ch]:
1688 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1689 Give it a ButtonRenderer member variable. Use it.
1690 Give the classes working copy c-tors.
1691 No longer derive from boost::noncopyable.
1693 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1694 display its contents as a button or as a graphic.
1696 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1699 2003-06-11 Angus Leeming <leeming@lyx.org>
1701 * insetcite.C (localDispatch): reformat.
1703 * insetref.C (localDispatch): enable dialog to be lauched.
1705 2003-06-11 John Levon <levon@movementarian.org>
1707 * insettabular.C: correctly mark all cells as erased
1709 2003-06-11 Angus Leeming <leeming@lyx.org>
1711 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1712 ExternalTemplate but its name, templatename. This means that a file
1713 containing a reference to an External Template not installed on the
1714 current machine will be saved retaining this info rather than inserting
1715 the first "valid" template from the list of templates.
1717 As a by product, the visual statement that the Template is missing is
1720 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1722 * insettext.C (appendParagraphs): remove some commented code.
1724 2003-06-10 Angus Leeming <leeming@lyx.org>
1726 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1729 * insetexternal.[Ch]: move tempname_ into the Params struct.
1730 (Params d-tor): new function, to clean-up this temp file.
1731 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1733 (editExternal, doSubstitution): move out of class.
1735 2003-06-10 Angus Leeming <leeming@lyx.org>
1737 * graphicinset.[Ch] (params): removed.
1738 * graphicinset.h (operator=): declared private but not defined.
1739 (statusMessage): made private.
1741 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1743 2003-06-07 John Levon <levon@movementarian.org>
1745 * insetert.C (latex): make a newline mean just that not
1748 2003-06-07 José Matos <jamatos@fep.up.pt>
1750 * insethfill.[Ch] (linuxdoc, docbook): implement output
1751 * insetspace.C (linuxdoc, docbook): remove coments as the code
1754 2003-06-06 José Matos <jamatos@fep.up.pt>
1756 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1758 2003-06-06 André Pönitz <poenitz@gmx.net>
1760 * insetwrap.[Ch]: code compactification
1762 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1764 * mailinset.C (updateDialog): use Dialogs::visible
1766 2003-06-04 Angus Leeming <leeming@lyx.org>
1768 * graphicinset.C (draw): add a comment for the #if 0 block.
1770 * insetexternal.h: remove Params::parameters variable.
1771 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1772 and read it back making full use of LyXLex.
1774 2003-06-04 André Pönitz <poenitz@gmx.net>
1776 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1778 2003-06-04 John Levon <levon@movementarian.org>
1780 * insettabular.C: back out tall table speed up. It was broken
1782 2003-06-03 Angus Leeming <leeming@lyx.org>
1784 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1785 Remove ViewCommand and UpdateCommand.
1787 * graphicinset.C (update): bug fix. Set the params before calling the
1789 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1790 BufferView cache to enable the InsetExternal::editCommand to be invoked
1791 from the frontends. Would not be needed if this were dispatched properly.
1792 (old_ascent_): variable removed.
1794 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1795 do any necessary conversions of external material. Also use the
1796 new GraphicsInset to display the inset within LyX.
1798 2003-06-03 Angus Leeming <leeming@lyx.org>
1800 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1801 and move it somewhere where InsetExternal can use it too.
1803 * Makefile.am: add the new files.
1805 * insetgraphics.[Ch]: make use of the new GraphicInset.
1807 2003-06-03 John Levon <levon@movementarian.org>
1810 * insetbibitem.[Ch]:
1813 * insetcommand.[Ch]:
1817 * insetexternal.[Ch]:
1821 * insetgraphics.[Ch]:
1823 * insetinclude.[Ch]:
1826 * insetlatexaccent.[Ch]:
1827 * insetmarginal.[Ch]:
1828 * insetminipage.[Ch]:
1835 * insetspecialchar.[Ch]:
1836 * insettabular.[Ch]:
1838 * insetthereom.[Ch]:
1841 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1843 * insetgraphics.[Ch]:
1844 * insetgraphicsParams.[Ch]: always store an absolute
1847 2003-06-02 André Pönitz <poenitz@gmx.net>
1851 * insetlatexaccent.C: remove duplicated call to metrics()
1853 2003-06-02 John Levon <levon@movementarian.org>
1855 * insettabular.C: fix resize of column width
1857 2003-06-02 John Levon <levon@movementarian.org>
1862 * insetparent.C: remove insetparent
1864 2003-06-02 André Pönitz <poenitz@gmx.net>
1871 * insetcollapsable.[Ch]:
1875 * insetgraphics.[Ch]:
1876 * insetinclude.[Ch]:
1877 * insetlatexaccent.[Ch]:
1878 * insetminipage.[Ch]:
1879 * insetnewline.[Ch]:
1882 * insetspecialchar.[Ch]:
1883 * insettabular.[Ch]:
1884 * insettext.[Ch]: unify first drawing phase
1887 * insetbase.h: move validate() to the base
1889 2003-05-31 Angus Leeming <leeming@lyx.org>
1891 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1893 2003-05-30 André Pönitz <poenitz@gmx.net>
1898 * insetcaption.[Ch]:
1899 * insetcollapsable.[Ch]:
1902 * insetgraphics.[Ch]:
1903 * insetinclude.[Ch]:
1904 * insetlatexaccent.[Ch]:
1905 * insetnewline.[Ch]:
1908 * insetspecialchar.[Ch]:
1909 * insettabular.[Ch]:
1911 * updatableinset.[Ch]: unify second drawing phase
1913 2003-05-30 John Levon <levon@movementarian.org>
1915 * insetgraphics.C: fix a bformat
1917 2003-05-29 John Levon <levon@movementarian.org>
1919 * insettabular.C: remove unused bufferOwner()
1921 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1923 * insettext.C (lockInsetInInset): adjust
1924 (getLabelList): use const_iterator, adjust
1925 (getInsetFromID): use const_iterator, adjust
1926 (addPreview): use const_iterator, adjust
1928 * insetwrap.C (clone): remove const_cast
1930 * insetnote.C (clone): remove const_cast
1932 * insetminipage.C (clone): remove const_cast
1934 * insetmarginal.C (clone): remove const_cast
1936 * insetfoot.C (clone): remove const_cast
1938 * insetfloat.C (clone): remove const_cast
1940 * insetert.C (clone): remove const_cast
1942 * delete commented same_id functions from a lot of files.
1944 2003-05-28 John Levon <levon@movementarian.org>
1950 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1952 * insetminipage.C: fix metrics (bug 1144)
1954 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1956 * insettext.C (saveLyXTextState): adjust
1957 (restoreLyXTextState): adjust
1960 (unlockInsetInInset): adjust
1961 (localDispatch): adjust
1962 (getLyXText): adjust
1964 * insettabular.C (insertAsciiString): adjust
1966 2003-05-27 André Pönitz <poenitz@gmx.net>
1969 * insetcollapsable.C:
1972 * insetlatexaccent.C:
1977 * insetspecialchar.C:
1979 * insettext.C: dim.w -> dim.wid
1981 2003-05-26 John Levon <levon@movementarian.org>
1983 * insettabular.C: avoid drawing all of a long table
1984 if it's not needed. A big speedup
1986 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1988 * remove same_id from function signatures, adjust
1990 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1992 * insettext.C (InsetText): adjust
1994 (setParagraphData): separate same_id cases, adjust
1995 (appendParagraphs): adjust
1996 (appendParagraphs): adjust
1998 2003-05-23 André Pönitz <poenitz@gmx.net>
2000 * insetbutton.h: whitespace
2002 * insettabular.C: more compact code
2004 * updatableinset.C: remove const_cast
2007 2003-05-23 Angus Leeming <leeming@lyx.org>
2009 * insetexternal.C (write): check how many lines are output.
2010 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2011 if the template has defined it.
2013 2003-05-23 Angus Leeming <leeming@lyx.org>
2015 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2017 2003-05-23 Angus Leeming <leeming@lyx.org>
2019 * insetfoot.C (latex):
2020 * inseturl.C (latex): rename fragile as moving_arg.
2022 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2024 * inseterror.C (localDispatch): comment out unused var.
2026 2003-05-22 Angus Leeming <leeming@lyx.org>
2028 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2029 passed through the LatexRunParams arg.
2031 2003-05-22 Angus Leeming <leeming@lyx.org>
2033 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2034 through the LatexRunParams arg.
2036 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2037 arg rather than through a global var.
2039 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2041 * insetspecialchar.C (dimension): use a string.
2043 2003-05-22 Angus Leeming <leeming@lyx.org>
2045 * insetbibtex.C (latex):
2046 * insetgraphics.C (latex):
2047 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2048 runparams rather than from the buffer itself.
2050 2003-05-22 Angus Leeming <leeming@lyx.org>
2052 * inset*.[Ch] (latex):
2053 passed a LatexRunParams parameter.
2055 * insetgraphics.C (latex): actually use it ;-)
2057 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2059 * insetfloat.C (addToToc): trivial compile fix
2061 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2063 * insettext.[Ch] (paragraph): delete unused function
2065 * insetfloat.C (addToToc): parlist simplfication
2067 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2069 * insetspace.[Ch]: added (new space insets)
2071 * inset.h: handle new space insets
2073 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2075 * insetfloat.C (addToToc): adjust
2077 2003-05-21 André Pönitz <poenitz@gmx.net>
2079 * insettext.[Ch]: fix drawing bug introduced earlier
2081 2003-05-19 André Pönitz <poenitz@gmx.net>
2083 * insetspecialchar.C: fix bug introduced yesterday
2085 2003-05-19 André Pönitz <poenitz@gmx.net>
2089 * insetcollapsable.[Ch]:
2093 * insetgraphics.[Ch]:
2094 * insetgraphicsParams.[Ch]:
2095 * insetlatexaccent.[Ch]:
2096 * insetminipage.[Ch]:
2097 * insetnewline.[Ch]:
2099 * insetspecialchar.[Ch]:
2100 * insettabular.[Ch]:
2101 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2103 2003-05-19 André Pönitz <poenitz@gmx.net>
2106 * insettext.C: more insetenv
2108 2003-05-16 André Pönitz <poenitz@gmx.net>
2111 * insetminimpage.[Ch]:
2112 * insetcollapsable.[Ch]: fix #832
2114 2003-05-16 André Pönitz <poenitz@gmx.net>
2117 * insetbibitem.[Ch]:
2121 * insetcollapsable.[Ch]:
2122 * insetcommand.[Ch]:
2125 * insetexternal.[Ch]:
2126 * insetfloatlist.[Ch]:
2127 * insetgraphics.[Ch]:
2128 * insetinclude.[Ch]:
2131 * insetlatexaccent.[Ch]:
2134 * insettabular.[Ch]:
2138 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2140 2003-05-13 André Pönitz <poenitz@gmx.net>
2143 * insetcollapsable.C:
2147 * insetwrap.C: tostr from own header
2159 * insetwrap.C: STRCONV
2162 2003-05-12 André Pönitz <poenitz@gmx.net>
2174 * insetwwrap.C: boost::format -> bformat all over the place
2176 2003-05-05 André Pönitz <poenitz@gmx.net>
2178 * insettext.h: add missing #include <map>
2180 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2182 * insettext.C (InsetText): parlist cleanup
2185 (insetUnlock): ditto
2187 (lockInsetInInset): ditto
2191 (searchBackward): ditto
2192 (collapseParagraphs): ditto
2194 2003-05-06 John Levon <levon@movementarian.org>
2196 * insetcaption.C: don't cast wrap inset to InsetFloat
2199 * insetfloat.C: remove unneeded type() function
2201 2003-05-05 André Pönitz <poenitz@gmx.net>
2205 * insettabular.[Ch]:
2206 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2207 replace getFirstParagraph() by getParagraphs()
2209 2003-05-03 John Levon <levon@movementarian.org>
2211 * insetcollapsable.h:
2212 * insetcollapsable.C:
2218 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2219 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2220 getCursor(). Remove explicit cursor hides.
2222 2003-05-02 André Pönitz <poenitz@gmx.net>
2224 * insettext.C: remove unneeded &*
2226 2003-04-30 John Levon <levon@movementarian.org>
2228 * insettabular.C: fix edit message
2230 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2232 * insettext.C (setFont): do not convert iterator -> pointer
2234 * insettabular.C (localDispatch): do not convert iterator -> pointer
2236 (tabularFeatures): ditto
2238 2003-04-29 André Pönitz <poenitz@gmx.net>
2240 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2242 2003-04-28 André Pönitz <poenitz@gmx.net>
2244 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2247 2003-04-25 André Pönitz <poenitz@gmx.net>
2249 * insetenv.C: derive from InsetText instead of InsetCollapsable
2251 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2253 * insetexternal.C (string2params): dont do anything if the string
2255 * insetgraphics.C (string2params): ditto
2256 * insetcommand.C (string2params): ditto
2257 * insetert.C (string2params): ditto
2258 * insetfloat.C (string2params): ditto
2259 * insetinclude.C (string2params): ditto
2260 * insetminipage.C (string2params): ditto
2261 * insettabular.C (string2params): ditto
2262 * insetwrap.C (string2params): ditto
2264 2003-04-24 André Pönitz <poenitz@gmx.net>
2266 * insetref.C: support for eqref
2268 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * insetert.C (read): use ParagraphList::iterator.
2272 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2274 * insetquotes.C (latex): comment some code and add warnings.
2276 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2278 * insetexternal.C (localDispatch): added a missing DISPATCHED
2280 2003-04-12 John Levon <levon@movementarian.org>
2282 * insetwrap.C (addToToc): fix a crash, conversion
2283 from while to for loop forgot to remove the explicit
2286 2003-04-10 John Levon <levon@movementarian.org>
2288 * insettabular.C (tabularFeature): make sure
2289 to update the dialog when we change something
2292 (getStatus): don't disable some lfuns (bug 939)
2294 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2296 * insettext.C (saveLyXTextState): adjust
2297 (localDispatch): adjust
2303 * insettabular.C (localDispatch): adjust
2305 (tabularFeatures): adjust
2307 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2309 * insettabular.C (searchForward,searchBackward): fix bug 782
2311 2003-04-07 John Levon <levon@movementarian.org>
2314 * insettext.C: clear status message on inset exit
2316 2003-04-03 John Levon <levon@movementarian.org>
2318 * insetcommand.C: return dispatched on DIALOG_UPDATE
2320 2003-04-02 John Levon <levon@movementarian.org>
2322 * insettabular.C: tab lfuns renamed
2324 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2326 * insettext.C (update): move towards ParagraphList
2327 (updateLocal): ditto
2329 (insetUnlock): ditto
2331 (lockInsetInInset): ditto
2332 (updateInsetInInset): ditto
2333 (localDispatch): ditto
2336 (resizeLyXText): ditto
2337 (searchBackward): ditto
2338 (collapseParagraphs): ditto
2341 * insetwrap.C (InsetWrap): adjust
2342 (addToToc): adjust and rewrite loop
2344 * insettext.[Ch] (paragraph): delete function
2346 * insettabular.C (moveNextCell): adjust
2347 (movePrevCell): adjust
2348 (insertAsciiString): adjust
2350 * insetfloat.C (InsetFloat): adjust
2353 * insetert.C (InsetERT): adjust
2354 (write): adjust, and rewrite loop
2355 (latex): adjust, and rewrite loop
2356 (linuxdoc): adjust, and rewrite loop
2357 (docbook): adjust, and rewrite loop
2358 (localDispatch): adjust
2359 (get_new_label): adjust
2361 2003-04-01 John Levon <levon@movementarian.org>
2363 From Alfredo Braunstein
2366 * insetbutton.C: add localDispatch()
2368 * insetcommand.C: return DISPATCHED when edit() called
2370 * insettext.C: fix bug 967
2372 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2374 * insettext.C: adjust
2376 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2378 * insettext.C (draw): adjust
2379 (crow): return a RowList::iterator not a Row*
2381 * insetminipage.C (localDispatch): adjust
2383 * insetert.C (localDispatch): adjust
2385 2003-03-31 John Levon <levon@movementarian.org>
2388 * insetgraphicsParams.C: use_gui moved to lyx_gui
2390 2003-03-31 John Levon <levon@movementarian.org>
2392 * insettext.C: Alert fix
2394 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2396 * insettext.C (ascent): adjust for RowList
2399 (getLyXText): adjust
2400 (toggleSelection): adjust
2402 * insetminipage.C (localDispatch): adjust for RowList
2404 * insetert.C (localDispatch): adjust for RowList
2405 (getMaxWidth): adjust for RowList
2407 2003-03-29 John Levon <levon@movementarian.org>
2409 * insetert.C: Alert cleanup
2411 2003-03-29 John Levon <levon@movementarian.org>
2413 * insettabular.C: Alert fix
2415 2003-03-28 John Levon <levon@movementarian.org>
2417 * insetfloat.C: reset label on INSET_MODIFY
2419 2003-03-28 John Levon <levon@movementarian.org>
2421 * insetgraphicsParams.C: read subcaptionText as a whole line
2424 2003-03-28 John Levon <levon@movementarian.org>
2426 * insettext.C: remove unused prototypes
2428 2003-03-25 Angus Leeming <leeming@lyx.org>
2430 * insetbibitem.C (localDispatch): repaint the view after modifying
2431 a bibitem inset in case the maximum InsetBibitem width has changed.
2433 2003-03-25 John Levon <levon@movementarian.org>
2436 * insettabular.C: LyXText renamings
2438 2003-03-24 John Levon <levon@movementarian.org>
2440 * insettext.C: remove some dead code. Fix bug 972 and
2441 related by posting a repaint in updateLocal(), and making
2442 the SEL functions set SELECTION.
2444 2003-03-22 John Levon <levon@movementarian.org>
2447 * inset.C: remove no-longer-needed topx_set
2449 * insetcollapsable.h:
2450 * insetcollapsable.C: remove dead code
2453 * insetert.C: rebreak the rows when a possible
2454 change in size is made, and reset the cursor
2457 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2459 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2460 topx_set. Fix drawing errors for clearInset(). Remove
2461 some unnecessary uses of topx, which should die.
2463 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2464 is no longer needed. Replace it with an ugly hack.
2466 2003-03-20 John Levon <levon@movementarian.org>
2469 * insetcollapsable.h:
2470 * insetcollapsable.C:
2478 * insettext.C: remove spurious font parameter
2479 from update(). Fix drawing of ERT insets inside
2480 insets (bug 966). Remove unused mark_dirty from
2481 tabular's updateLocal()
2483 2003-03-19 John Levon <levon@movementarian.org>
2492 * insetwrap.C: remove unused getter/setters
2494 2003-03-19 John Levon <levon@movementarian.org>
2496 * several files: bv->updateInset() doesn't take
2497 a bool mark_dirty any more
2499 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2501 * adjust for BufferView* arg removal from lyxtext.
2503 2003-03-17 John Levon <levon@movementarian.org>
2505 * most files: remove the "cleared" parameter
2506 to draw in favour of always clearing. Associated
2509 2003-03-16 John Levon <levon@movementarian.org>
2511 * insettext.C: remove unused s.refresh
2513 2003-03-13 Angus Leeming <leeming@lyx.org>
2515 * insettext.C (edit): replace Dialogs::updateParagraph with
2516 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2518 2003-03-13 André Pönitz <poenitz@gmx.net>
2520 * Makefile.am: insert insetenv
2522 * insethenv.[Ch]: new files, currently inactive
2524 2003-03-12 John Levon <levon@movementarian.org>
2534 * insettext.C: use new insetnewline
2536 2003-03-12 John Levon <levon@movementarian.org>
2538 * insettext.C: readToken became readParagraph
2540 2003-03-12 John Levon <levon@movementarian.org>
2542 * insettext.C: use parlist iterator for reading contents
2544 2003-03-12 John Levon <levon@movementarian.org>
2546 * insettext.C: name change to readToken()
2548 2003-03-11 André Pönitz <poenitz@gmx.net>
2550 * Makefile.am: insert insethfill
2552 * insethfill.[Ch]: new files
2554 2003-03-10 Angus Leeming <leeming@lyx.org>
2556 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2558 (hideDialog): calls the new static Dialogs::hide() method.
2560 * insetbibitem.C (edit):
2561 * insetbibtex.C (edit):
2562 * insetcite.C (edit):
2563 * insetcommand.C (localDispatch):
2564 * inseterror.C (d-tor):
2565 * insetert.C (showInsetDialog):
2566 * insetexternal.C (localDispatch, edit):
2567 * insetfloat.C (localDispatch, showInsetDialog):
2568 * insetfloatlist.C (edit):
2569 * insetgraphics.C (localDispatch, edit):
2570 * insetinclude.C (localDispatch, edit):
2571 * insetindex.C (edit):
2572 * insetlabel.C (edit):
2573 * insetminipage.C (localDispatch, showInsetDialog):
2574 * insetref.C (edit):
2575 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2576 resetPos, showInsetDialog, openLayoutDialog):
2577 * insettoc.C (edit):
2578 * inseturl.C (edit):
2579 * insetwrap.C (localDispatch, showInsetDialog):
2580 changes due to the changed MailInset interface.
2582 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2584 * insetfloat.h: Set default placement to an empty string.
2586 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2588 * insettext.C (latex): adjust call to latexParagraphs.
2590 2003-03-10 Angus Leeming <leeming@lyx.org>
2592 * mailinset.C: warn the user if the BufferView has not been cached.
2594 2003-03-10 Angus Leeming <leeming@lyx.org>
2596 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2598 * insetcommand.h (inset):
2599 * insetert.h (inset):
2600 * insetexternal.h (inset):
2601 * insetfloat.h (inset):
2602 * insetgraphics.h (inset):
2603 * insetinclude.h (inset):
2604 * insetminipage.h (inset):
2605 * insettabular.h (inset):
2606 * insetwrap.h (inset):
2607 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2609 2003-03-10 Angus Leeming <leeming@lyx.org>
2611 * insetcommand.C (string2params):
2612 * insetexternal.C (string2params):
2613 * insetfloat.C (string2params):
2614 * insetgraphics.C (string2params):
2615 * insetinclude.C (string2params):
2616 * insetminipage.C (string2params):
2617 * insettabular.C (string2params):
2618 * insetwrap.C (string2params): cure warning message about missing
2621 2003-03-09 Angus Leeming <leeming@lyx.org>
2623 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2624 it to communicate with the frontend dialogs.
2626 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2627 contents of this inset!
2629 2003-03-07 Angus Leeming <leeming@lyx.org>
2631 * inseterror.C (localDispatch): new method; calls edit() on
2634 2003-03-07 Angus Leeming <leeming@lyx.org>
2636 * insetbibitem.C (localDispatch):
2637 * insetbibtex.C (localDispatch):
2638 * insetlabel.C (localDispatch):
2639 rewrite as a switch.
2641 2003-03-07 Angus Leeming <leeming@lyx.org>
2643 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2644 it to communicate with the frontend dialogs.
2646 2003-03-07 Angus Leeming <leeming@lyx.org>
2648 * insetexternal.C: remove operator== and operator!= for
2649 InsetExternal::Params. They were used only by the old controller
2652 2003-03-07 Angus Leeming <leeming@lyx.org>
2654 * insetcommand.C (localDispatch):
2655 * insetexternal.C (localDispatch):
2656 * insetfloat.C (localDispatch):
2657 * insetinclude.C (localDispatch):
2658 * insetminipage.C (localDispatch):
2659 * insetwrap.C (localDispatch):
2660 add LFUN_INSET_DIALOG_UPDATE to the switch.
2662 2003-03-07 Angus Leeming <leeming@lyx.org>
2664 * insetcommand.C (string2params):
2665 * insetexternal.C (string2params):
2666 * insetfloat.C (string2params):
2667 * insetinclude.C (string2params):
2668 * insetwrap.C (string2params): use LyXLeX more.
2671 * insetexternal.[Ch]:
2673 * insetinclude.[Ch]:
2674 * insetwrap.[Ch]: change Mailer::name_ to be static.
2676 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2677 it to communicate with the frontend dialogs.
2679 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2682 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2684 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2686 * insettext.C (updateLocal): un-const function
2687 (updateLocal): adjust
2688 (collapseParagraphs): un-const function
2689 (collapseParagraphs): adjust
2691 2003-03-05 Angus Leeming <leeming@lyx.org>
2693 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2694 it to communicate with the frontend dialogs.
2696 2003-03-05 Angus Leeming <leeming@lyx.org>
2698 * insetcollapsable.C (draw): cache the BufferView.
2700 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2701 it to communicate with the frontend dialogs.
2703 2003-03-05 Angus Leeming <leeming@lyx.org>
2705 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2708 2003-03-05 Angus Leeming <leeming@lyx.org>
2710 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2712 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2713 it to communicate with the frontend dialogs.
2715 2003-03-05 Angus Leeming <leeming@lyx.org>
2717 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2718 it to communicate with the frontend dialogs.
2720 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2722 * insettext.C (collapseParagraphs): adjust
2723 (appendParagraphs): make it take a Buffer* instead of a
2724 BufferParams& as arg.
2725 (appendParagraphs): adjust
2727 2003-03-04 Angus Leeming <leeming@lyx.org>
2729 * insetbibitem.C (localDispatch):
2730 * insetbibtex.C (localDispatch):
2731 * insetcommand.C (localDispatch):
2732 * insetert.C (localDispatch):
2733 * insetlabel.C (localDispatch):
2734 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2736 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2738 * insettext.C (latex): adjust for ParagraphList::iterator
2740 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2742 * insetbutton.C (view): adjust for boost 1.30.0
2743 * insetcollapsable.C (view): ditto
2744 * insetgraphics.C (statusChanged): ditto
2746 * insettext.h: move paragraphs to be public.
2748 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2750 * insetnote.[Ch] (InsetNote): remove unused constructor
2752 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2754 * insetgraphics.C: added include "format.h"
2756 2003-02-27 Angus Leeming <leeming@lyx.org>
2758 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2761 2003-02-27 Angus Leeming <leeming@lyx.org>
2763 * insetbibitem.C (localDispatch):
2764 * insetbibtex.C (localDispatch):
2767 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2769 2003-02-26 Angus Leeming <leeming@lyx.org>
2771 * insetbibitem.[Ch] (localDispatch):
2772 * insetbibtex.[Ch] (localDispatch):
2773 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2775 * insetcommand.C (localDispatch):
2776 act only on receipt of LFUN_XYZ_APPLY.
2778 * insetert.C (localDispatch): reformat.
2779 add LFUN_XYZ_APPLY to the switch.
2781 2003-02-26 John Levon <levon@movementarian.org>
2783 * insettext.C: use RowPainter
2785 * inset.h: make helpers take const *
2787 2003-02-26 Angus Leeming <leeming@lyx.org>
2789 * insetcommand.[Ch] (localDispatch): new method.
2791 2003-02-26 Angus Leeming <leeming@lyx.org>
2793 * insetinclude.C (draw): cache the BufferView* using cache not
2794 PreviewImpl::setView
2796 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2798 * insetgraphics.C (draw)
2799 * insetinclude.C (draw): Eliminate also the other argument (owner
2800 inset inset) in the call to PreviewImage::image
2802 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2804 * insetgraphics.C (draw)
2805 * insetinclude.C (draw): Eliminate Buferview argument in call to
2808 2003-02-25 John Levon <levon@movementarian.org>
2810 * insetgraphicsParams.h:
2811 * insetgraphics.C: don't start a load process if
2812 the inset is set to NoDisplay (bug #920)
2814 2003-02-22 John Levon <levon@movementarian.org>
2817 * insetwrap.C: TocItem changed API (bug 913)
2819 2003-02-21 Angus Leeming <leeming@lyx.org>
2821 * insetcollapsable.[Ch] (cache, edit):
2822 * insetbutton.[Ch] (cache, edit): new methods to cache the
2823 BufferView in the draw method.
2825 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2826 simplify comunication between InsetCommand-derived classes and
2829 * insetbibitem.[Ch]:
2833 * insetfloatlist.[Ch]:
2837 * inseturl.[Ch]: small changes to reflect the new interface to the
2840 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2841 other, similar classes.
2843 * Makefile.am: add new files.
2845 2003-02-21 Angus Leeming <leeming@lyx.org>
2847 * updatableinset.h (setView, view): remove.
2848 * inset.h (view, cache): to be replaced by these.
2850 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2853 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2856 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2858 2003-02-21 Allan Rae <rae@lyx.org>
2860 * insetinclude.C (loadIfNeeded): ensure loading also works when
2861 child document is under version control.
2863 2003-02-17 André Pönitz <poenitz@gmx.net>
2865 * insetbib.[Ch]: Adjust access to bibkeys
2867 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2869 * insetquotes.C (dispString): remove use of acute accent for "'"
2872 2003-02-14 John Levon <levon@movementarian.org>
2874 * insettabular.C: changed method names in tabular.C
2876 2003-02-14 John Levon <levon@movementarian.org>
2880 * insetcollapsable.h:
2881 * insetcollapsable.C:
2885 * insettext.C: remove unused getParFromID()
2887 2003-02-13 John Levon <levon@movementarian.org>
2890 * insettext.C: remove unused beginningofMainBody()
2892 2003-02-08 John Levon <levon@movementarian.org>
2896 * insetcollapsable.h:
2897 * insetcollapsable.C:
2902 add nextChange(). Make allowSpellcheck() const. Add markErased().
2904 * insetert.C: ignore deleted text
2906 * insettabular.C: make sure to keep change tracking working
2909 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2914 * insettext.C: Use error messages with identical spelling and punctuation
2916 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2918 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2920 2002-12-17 Juergen Vigna <jug@lyx.org>
2922 * insettext.C (localDispatch): hopefully fixed cursor up down
2923 movement on leaving other insets.
2925 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2927 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2930 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2932 * insetgraphics.C (prepareFile): do not remove the extension of
2933 the file name if it is not the default extension for the given
2934 format (that is, in latex output, remove extension from foo.eps,
2935 but not from foo.epsi)
2937 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2939 * insettext.C (lfunMouseRelease): hackish solution to the "double
2942 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2944 * insetfloat.C (addToToc): use the floats name not its type
2945 * insetwrap.C (addToToc): ditto
2947 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2949 * insetnote.C (init): make label font smaller
2951 2002-12-04 John Levon <levon@movementarian.org>
2953 * insetinclude.C: ressurect setting of command name
2955 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2957 * insetquotes.C (dispString): disambiguate insert call
2959 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2961 * several files: ws changes
2963 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2965 * insetquotes.C (dispString): use string::insert for prepending a
2968 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2970 * insetparent.C (getScreenLabel): use boost::format
2972 * insetgraphics.C (prepareFile): use boost::format
2975 * insetfloatlist.C (latex): use boost::format
2977 * insetcaption.C (draw): use boost::format
2979 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2981 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2984 2002-11-20 Juergen Vigna <jug@sad.it>
2986 * insettabular.C (resetPos): temporary fix for endless loop in
2987 this function on a redraw.
2989 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2991 * insettabular.C (copySelection): STRCONV
2993 * insetinclude.C (uniqueID): STRCONV
2994 (latexString): ditto
2996 * insetgraphics.C: put VersionNumber inside anon namespace
2997 (createLatexOptions): STRCONV
2999 * insetcommandparams.C: include config.h
3001 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3003 * insetgraphicsParams.C (Write): use lyx::float_equal.
3004 Write height data correctly.
3005 (Read): zero scale when reading height data.
3007 2002-10-30 John Levon <levon@movementarian.org>
3009 * insetfloat.C (addToTOC): recursively traverse all
3010 contents looking for captions (fix #568)
3012 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3014 * insetexternal.C (doSubstitution): do not try to replace
3015 environment variables, this is done when executing the command
3017 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3019 * insetexternal.C (doSubstitution): change order of substitution
3020 to work around ReplaceEnvironmentPath brokenness
3022 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3024 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3026 * insetgraphicsParams.C (init, Write): associated changes
3027 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3028 InsetGraphicsParams::scale.
3030 2002-10-21 John Levon <levon@movementarian.org>
3032 * inset.h: remove unused DISPATCH_RESULT
3034 * insettext.C: sgml open/close tag now in sgml namespace
3036 2002-10-21 Angus Leeming <leeming@lyx.org>
3038 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3039 file path subdir/fig.eps when pasting it into a buffer in a different
3042 2002-10-16 John Levon <levon@movementarian.org>
3044 * insetspecialchar.C: remove \\protected_separator parsing
3046 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3048 * insetquote.C: fix LaTeX output of quotation marks.
3050 2002-10-14 Juergen Vigna <jug@sad.it>
3052 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3053 Backspace functions which confused the Undo handling.
3055 2002-10-09 Angus Leeming <leeming@lyx.org>
3057 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3058 BufferView::dispatch that turns off this optimisation when a new inset
3061 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3062 reload the BibTeX keys.
3064 2002-10-11 André Pönitz <poenitz@gmx.net>
3066 * insettext.h: handle LFUN_PRIOR/NEXT
3068 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3070 * insetfloat.C: fix bug with float settings
3071 (document default != float default).
3073 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3075 * insetwrap.C (addToToc): New method.
3076 (InsetWrap): Set layout to caption.
3078 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3080 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3082 2002-09-16 John Levon <levon@movementarian.org>
3084 * insettabular.h: hasSelection() needs to be public
3086 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3088 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3090 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3092 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3094 2002-09-11 André Pönitz <poenitz@gmx.net>
3096 * insettabular.C: implement LFUN_WORDSEL
3098 2002-09-10 John Levon <levon@movementarian.org>
3100 * insetinclude.h: remove unused param
3102 2002-09-09 John Levon <levon@movementarian.org>
3105 * insetinclude.C: remove noload, default to input
3107 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3109 * insetgraphics.C: disfuscated use of ']' in built output string.
3111 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3113 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3115 2002-08-29 Juergen Vigna <jug@sad.it>
3117 * insettabular.C (lfunMousePress): Pay attention where you set
3118 the x/y values as they depend on which inset in the tabular is
3119 actually locked. So you surely have to reset them if you (un)lock
3122 2002-08-29 André Pönitz <poenitz@gmx.net>
3124 * insetfootlike.h: rename include guard to ALL CAPS
3126 * insettext.C: swap object and first parameter for checkInsetHit calls
3127 as this functions has moved from BufferView to LyXText
3130 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3132 * insetgraphicsParams.C: remove local displayTranslator and use
3133 the one from graphics/GraphicsTypes.h.
3135 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3137 * insetfloat.C (wide): add BufferParams parameter
3139 * insetfloatlist.C (read):
3142 * insetfloat.C (latex):
3144 * insetcaption.C (draw): use LyXTextClass::floats()
3146 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3148 * insetoptarg.h: add std:: qualifier.
3150 2002-08-26 Juergen Vigna <jug@sad.it>
3152 * insettext.C (localDispatch): ditto.
3154 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3156 2002-08-25 John Levon <levon@movementarian.org>
3158 * inseturl.C: elide long URLs (bug 404)
3160 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3162 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3163 remove "Format Version <version_no.>" string from inset header
3166 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3168 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3169 a member of "grfx::Params" anymore.
3171 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3173 2002-08-24 John Levon <levon@movementarian.org>
3176 * insetoptarg.C: ws, pedantry ...
3178 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3180 * insettext.C (collapseParagraphs): pasteParagraph now in global
3182 (appendParagraphs): ditto
3184 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3186 * insetcite.C (latex): Remove spaces only after commmas.
3188 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3190 * insettext.C: remove NO_COMPABILITY stuff
3192 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3194 * insettext.C (edit): use ParagraphList iterators
3196 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3197 (bibitemWidest): ditto
3199 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3201 * insettext.C: include <boost/bind.hpp>
3202 add using std::for_each
3203 (saveLyXTextState): use ParagraphsList::iterator
3204 (init): use for_each on paragraphlist iterators
3205 (InsetText): remove superflous setting cached_bview to 0
3206 (latex): reformat a bit
3207 (ascii): use paragraphlist iterators
3208 (validate): use for_each + boost bind
3209 (getLabelList): use paragraphlist iterators
3210 (deleteLyXText): use for_each + boost::bind
3211 (resizeLyXText): ditto
3212 (reinitLyXText): ditto
3213 (removeNewlines): use paragraphlist iterators
3214 (getParFromID): ditto
3215 (paragraph): use for_each + boost::bind
3216 (getInsetFromID): use paragraphlist iterators
3217 (getLabelList): typo fix
3219 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3221 * insettext.C (read): assign tmp to paragraphs after return from
3222 call to parseSingleLyXformat2Token
3225 2002-08-13 Angus Leeming <leeming@lyx.org>
3244 changes due to the changed LyXView interface that now returns references
3245 to member variables not pointers.
3247 2002-08-13 Angus Leeming <leeming@lyx.org>
3250 * insetcollapsable.h:
3253 * insettext.h: forward-declare WordLangTuple
3254 (selectNextWordToSpellcheck) constify return type.
3257 * insetcollapsable.C:
3260 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3262 2002-08-12 Angus Leeming <leeming@lyx.org>
3264 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3266 2002-08-12 Juergen Vigna <jug@sad.it>
3268 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3271 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3273 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3274 (bibitemWidest): ditto
3275 * insettext.[Ch]: ditto
3277 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3279 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3281 2002-08-09 Angus Leeming <leeming@lyx.org>
3283 * insetinclude.C (latexString): remove fudge now that I've found out
3284 how to enable LaTeX to find the file using input@path.
3286 2002-08-09 John Levon <levon@movementarian.org>
3289 * insettext.C: remove unused xpos
3291 2002-08-07 Juergen Vigna <jug@lyx.org>
3293 * insettabular.C (localDispatch): make delete not put the stuff
3294 in the clipboard only do this on a cut operation.
3296 * insettext.C (localDispatch): make delete and backspace not put
3297 selected stuff to the clipboard.
3299 2002-08-07 André Pönitz <poenitz@gmx.net>
3302 * insetcollapsable.[Ch]:
3306 * insettabular.[Ch]:
3307 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3309 2002-08-06 John Levon <levon@movementarian.org>
3313 * insetcollapsable.h:
3314 * insetcollapsable.C:
3320 * insettext.C: use WordLangTuple for spellcheck
3322 2002-08-06 Angus Leeming <leeming@lyx.org>
3324 * insetinclude.C: add a monitor to the previewed image, so that the
3325 image is refreshed if the \input-ed file changes.
3327 2002-08-04 John Levon <levon@movementarian.org>
3330 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3332 2002-08-02 Angus Leeming <leeming@lyx.org>
3334 * insetcommandparams.[Ch] (preview): new methods returning and setting
3335 a new bool preview_ flag.
3336 (read): read this flag.
3337 (operator==): add flag to check.
3339 * insetinclude.C (write): output new preview() flag.
3340 (previewWanted): use this flag.
3342 2002-08-02 Angus Leeming <leeming@lyx.org>
3344 * insetcollapsable.[Ch] (addPreview):
3345 * insettabular.[Ch] (addPreview):
3346 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3347 for insets in insets.
3349 2002-08-02 Angus Leeming <leeming@lyx.org>
3351 * insetcite.C: fix typo.
3353 * insetgraphics.C: kill current_view and instead cache the BufferView
3356 * insetinclude.C: kill current_view and pass the BufferView to the
3357 PreviewedInset so that it can cache it.
3359 2002-08-01 Angus Leeming <leeming@lyx.org>
3361 * inset.h (generatePreview): renamed as addPreview.
3362 (generatePreview): new method. Allows code to be moved out of
3363 math_nestinset.C and into the new PreviewedInset class.
3365 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3366 add previews to the inset when \input-ing LaTeX.
3368 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3370 * several files: strip,frontStrip -> trim,ltrim,rtrim
3372 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3374 * insetbib.C (latex): modify because of strip changes
3376 * insetnote.C (InsetNote): ditto
3378 2002-07-26 Juergen Vigna <jug@sad.it>
3380 * insettabular.C (searchForward): check for lastcell if we
3381 had a locking inset.
3383 2002-07-25 Juergen Vigna <jug@sad.it>
3385 * insettabular.C (insetMotionNotify): Don't update the screen
3386 if we didn't do nothing.
3387 (searchForward): last cell was not checked.
3389 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3391 * insetfloat.C (read, write): Allow default placement
3392 (floatPlacement_ is empty).
3394 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3396 * insetminipage.h (noFontChange):
3397 * insettabular.h (noFontChange):
3398 * insetfootlike.h (noFontChange):
3399 * insetfloat.h (noFontChange): return true
3401 * inset.h (noFontChange): new method, defaulting to false
3403 2002-07-22 Herbert Voss <voss@lyx.org>
3405 * insetgraphicsParams.[Ch]: support size_type for old docs
3407 2002-07-22 Herbert Voss <voss@lyx.org>
3410 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3413 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3415 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3417 * insetlatexaccent.h: do not include "lyxlex.h"
3419 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3422 * insetlatexaccent.C:
3426 * insetbib.C: #include "lyxlex.h"
3432 * insettext.C: use BufferParams::getLyXTextClass
3435 * insetfloat.C (addToToc): new method. Add to toclist the entries
3436 corresponding to Caption layouts
3437 (InsetFloat): when creating a new float, set the layout to "Caption"
3439 2002-07-21 Herbert Voss <voss@lyx.org>
3441 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3442 image relevant part into graphics/GraphicsImgae.C
3444 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3446 * insettoc.C (ascii):
3447 * insetfloatlist.C (ascii): change to use the new Toc functions
3448 instead of stuff that was in Buffer
3450 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3452 * insettext.C (localDispatch): BufferView::Dispatch has been
3453 renamed to BufferView::dispatch
3455 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3457 * insetgraphicsParams.C (as_grfxParams): use the new
3458 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3459 1.2.0 patch, and I do not really know how to adapt it to the new
3460 grfx::Cache world. Angus, please could you have a look?
3462 2002-05-01 Herbert Voss <voss@lyx.org>
3464 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3466 2002-07-18 Angus Leeming <leeming@lyx.org>
3468 * insetgraphics.C: clean-up comments (from Herbert).
3469 add a new checksum variable to the cache. Use it in PrepareFile.
3470 (draw): start monitoring the file for a change.
3471 (prepareFile): re-arrange a little to avoid unnecessary steps.
3473 2002-07-17 Angus Leeming <leeming@lyx.org>
3475 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3476 a method rather than to the signal directly.
3478 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3480 * insettext.C: use view_state_changed, switchKeyMap
3482 2002-07-17 Herbert Voss <voss@perce.de>
3484 * insetgraphics.C (prepareFile): keep the extension when
3485 exporting to nice file
3487 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3489 * insetcite.C (getNatbibLabel):
3490 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3492 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3494 * insetgraphics.C: use ->isDrawable()
3496 2002-07-12 Angus Leeming <leeming@lyx.org>
3498 * insetgraphics.C: use the new smart loading capabilities of the image
3501 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3503 * insettabular.C (edit): Move into correct cell when entering a
3506 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3509 2002-07-05 Angus Leeming <leeming@lyx.org>
3511 * inset.h (generatePreview): new virtual method.
3513 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3515 * insetcommandparams.[Ch] (operator=): move out of class
3516 (operator!): move out of class
3518 2002-07-04 André Pönitz <poenitz@gmx.net>
3520 * insetcommandparams.[Ch]: new files
3522 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3524 2002-06-15 Herbert Voss <voss@perce.de>
3526 * insetgraphics.C (prepareFile): bugfix; return always
3527 files without extension
3529 2002-06-28 Angus Leeming <leeming@lyx.org>
3531 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3532 rename asGParams -> as_grfxParams.
3534 * insetgraphics.C: reflect above change.
3536 2002-06-26 Angus Leeming <leeming@lyx.org>
3538 * insetgraphics.h: use boost::scoped_ptr in preference to
3541 2002-06-26 Angus Leeming <leeming@lyx.org>
3543 * insetgraphics.C: moved the image loading stuff into a new class
3544 grfx::Loader. Simplifies this file enormously.
3546 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3548 * insetgraphicsParams.C: changes aassociated with moving
3549 grfx::DisplayType out of grfx::GParams.
3551 2002-06-26 André Pönitz <poenitz@gmx.net>
3553 * insetgraphics.C: use os::external_path where necesaary according to a
3554 patch from Claus Hentschel)
3556 2002-06-25 Angus Leeming <leeming@lyx.org>
3558 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3559 generating a pixmap once the graphics file is loaded into memory.
3560 The current_view ugliness that was in grfx::ModifiedImage has been
3561 moved here now that grfx::ModifiedImage is no more.
3563 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3565 * insettext.C: layout as layout
3567 2002-05-28 André Pönitz <poenitz@gmx.net>
3569 * insetfloatlist.h: remove source of compiler warning
3571 * insetref.C: tiny whitespace
3573 2002-06-15 Herbert Voss <voss@perce.de>
3575 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3576 and take always convert when no userdefined converter was
3578 (latex) small changes in the lyxerr output
3580 2002-06-15 LyX Development team <lyx@rilke>
3582 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3583 mixed content. Small white spaces clean.
3585 2002-06-14 Angus Leeming <leeming@lyx.org>
3587 * inseetexternal.C: remove the using std::difftime declaration.
3589 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3591 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3593 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3595 * insetquotes.C (draw): fix drawing of double quotes
3597 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3599 * insettabular.C: s/scrollCB/scrollDocView/
3601 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3603 * insettext.C: change of topCursorVisible()
3606 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3609 * insettext.C: rename/change of LyXScreen
3611 2002-06-07 Angus Leeming <leeming@lyx.org>
3613 Fixes needed to compile with Compaq cxx 6.5.
3615 all c-library variables have been moved into namespace std.
3616 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3618 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3620 * insetinclude.C (uniqueID):
3621 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3622 conflicted with some AIX headers.
3624 2002-05-31 Juergen Vigna <jug@sad.it>
3626 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3630 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3632 * insetexternal.C (clone): fix () bug when using new
3633 (updateExternal): don't only look for difftime in global scope
3635 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3637 * insettabular.C: add const
3639 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3641 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3642 file name, in case there are weird characters like ',' in there.
3645 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3647 * switch from SigC signals to boost::signals.
3649 2002-05-28 André Pönitz <poenitz@gmx.net>
3651 * insets/insetgraphicsParams.[Ch]:
3652 put in inset related stuff from src/graphic
3654 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3662 * insetcollapsable.C:
3663 * insetcollapsable.h:
3691 * inseturl.h: use mouse_state. Kill insetKeyPress
3693 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3698 * insetcollapsable.C:
3701 * insetlatexaccent.C:
3703 * insetspecialchar.C:
3705 * insettext.C: name change for font metrics
3707 2002-05-24 Juergen Vigna <jug@sad.it>
3709 * insetgraphics.h: include inset.h first (for LString.h)
3711 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3713 * insettext.C: screen moved
3715 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3733 * inseturl.C: LyXView moved into frontends/
3735 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3740 * insetcollapsable.C:
3744 * insetgraphicsParams.C:
3745 * insetlatexaccent.C:
3747 * insetspecialchar.C:
3749 * insettext.C: move Painter to frontends/
3751 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3753 * insettabular.h: use more specific smart_ptr header.
3754 * insettext.h: ditto
3756 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3759 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3761 * insettext.C: clear selection on paste (bug 393)
3763 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3765 * insettext.C (latex): Honor the moving_arg argument.
3767 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3769 * insetfoot.C (latex): if a footnote is in a title layout, then it
3770 is a \thanks. And then, its contents is a moving argument.
3772 2002-05-14 Juergen Vigna <jug@sad.it>
3774 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3777 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3779 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3780 when using options "Full author list" or "Upper case".
3782 2002-05-14 Herbert Voss <voss@perce.de>
3784 * insetgraphics.C (prepareFile): allow files with same name
3786 (readFigInset): set the flags from old figinset in the right
3788 (findTargetFormat): more comments
3790 2002-05-14 Juergen Vigna <jug@sad.it>
3792 * insettext.C (edit): tell checkAndActivateInset() that we don't
3793 have a button press.
3794 (checkAndActivateInset): if button < 0 we don't have a button press
3795 on the inset and os we won't call edit on it if it's not a Highly
3796 editable inset (then we have to enter it).
3798 2002-05-13 Juergen Vigna <jug@sad.it>
3800 * insetcollapsable.C (insetButtonRelease): returned wrong return
3803 2002-05-09 Juergen Vigna <jug@sad.it>
3805 * insetcollapsable.C (edit): first_after_edit should only be
3806 set to true if we enter this inset and it was collapsed so we
3807 open it up. This is needed to reclose it after a search/replace
3808 or spellcheck function opened it and was negative.
3810 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3812 * insetfloat.C (latex): Return correct value.
3814 2002-05-04 Herbert Voss <voss@perce.de>
3816 * InsetgraphicsParams.C (read): fix bug with WH
3818 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3820 * insetfloat.C (latex): More sensible latex output
3821 (fix the problem with endfloat).
3823 2002-05-02 José Matos <jamatos@fep.up.pt>
3825 * insetgraphics.C (validate): acess params as everyone else.
3827 2002-05-03 Juergen Vigna <jug@sad.it>
3829 * insettabular.C (fitInsetCursor): recalculate the cursor position
3832 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3834 * InsetgraphicsParams.[Ch]: whitespace.
3836 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3838 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3839 float type do not exist.
3841 2002-04-28 Herbert Voss <voss@perce.de>
3843 * insetgraphics.C (latex): fix bug with missing file-extension.
3844 LaTeX still allows a missing "eps" or "ps".
3846 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3848 * insetfloat.C (c-tor, wide): translate the name of the float.
3850 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3852 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3853 when using natbib and make it work efficiently. Must emphasise that the
3854 real work is Herbert's.
3856 2002-04-23 Herbert Voss <voss@perce.de>
3858 * insetgraphic.C (prepareFile): fix bug with overwriting and
3859 deleting an existing *.eps-file in the doc-dir
3861 2002-04-23 Juergen Vigna <jug@sad.it>
3863 * insettabular.C (drawCellSelection): fix off by 1 error.
3865 2002-04-22 Juergen Vigna <jug@sad.it>
3867 * insettabular.C (setFont): rewoke full selection if it was asked,
3868 after we changed all we had to change.
3870 * insettext.C (insetUnlock): code was uninitialized in some situations.
3872 2002-04-19 Herbert Voss <voss@perce.de>
3874 * insetgraphic.C (prepareFile): return filename without
3875 extension if we only export without compiling
3877 2002-04-19 Juergen Vigna <jug@sad.it>
3879 * insettext.C (draw): call a fullRebreak on the row where we had a
3880 change and reset the cursor and selection-cursors.
3882 * insettabular.C (insetUnlock):
3883 (insetButtonPress): call an update before setting the_locking_inset = 0
3884 as otherwise we don't repaint!
3885 (update): reset the cursor position when we changed dimensions as
3886 otherwise our cursor may be on the wrong spot.
3888 2002-04-18 Juergen Vigna <jug@sad.it>
3890 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3891 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3892 redraw otherwise we won't redraw.
3894 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3895 not really right before, but I only discovered this with the last
3896 changes to Page up/down.
3898 2002-04-17 Juergen Vigna <jug@sad.it>
3900 * insettext.C (checkAndActivateInset): simplified as we now have the
3901 edit(bv, bool) call.
3903 * insettext.h: changed behind variables to front variables to be
3904 equal to the one in the edit call (as it is for that they are used).
3906 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3908 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3909 not output anything at all!
3911 2002-04-16 Juergen Vigna <jug@sad.it>
3913 * insettabular.C (insetButtonPress):
3914 (insetUnlock): call a redraw on unlocking the cell inset.
3916 * insettext.C (insetButtonPress): same as below.
3917 (lockInset): new function to set initial values when inset should
3919 (insetButtonPress): use above function.
3920 (insetUnlock): don't force a repaint only set the updateStatus. The
3921 outside world should repaint if it thinks it should be done!
3923 * insettabular.C (insetButtonPress): init values if not set as locked
3924 as we are locked if someone presses on us and don't call the edit()
3925 call of the InsetText to lock it do it as BufferView does it!
3927 * inset.h (insetInInsetY): make func const and return an int.
3930 * insetcollapsable.C: adapt the above changed function.
3932 2002-04-15 Juergen Vigna <jug@sad.it>
3934 * insettext.C (getCursorPos): return relative position as to be able
3935 to give them directly to the edit() call.
3936 (edit): we have to set also x_fix as it is not set inside the
3937 setCursorFromCoordinates call!
3938 (insetMotionNotify): ditto.
3940 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3942 * insetbib.C (getKeys): strip leading '\t's from the line too.
3943 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3945 2002-04-12 Juergen Vigna <jug@sad.it>
3947 * insettext.h: added cix() helper function and use it where appropriate
3949 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3951 * insetgraphics.C (prepareFile): fix bug when graphics is a
3954 2002-04-12 Juergen Vigna <jug@sad.it>
3956 * insettext.C (insertInset): remove unneeded code!
3957 (updateLocal): fitCursor() fixes.
3958 (collapseParagraphs): fix a possible problem when having a selection
3959 and collapsing the paragraphs.
3961 2002-04-08 Herbert Voss <voss@perce.de>
3963 * insetgraphic.C (write): write the rotating angle as
3964 a float as is. test only for != 0.0
3966 2002-04-11 Juergen Vigna <jug@sad.it>
3968 * insettext.C: new function ciy() and use it for setting inset_y.
3970 * insetert.C (draw): fix the x return for collapsed version.
3972 2002-04-07 Herbert Voss <voss@perce.de>
3974 * insetgraphic.C (readFigInset): fix bug with subcaption and
3977 2002-04-08 Herbert Voss <voss@lyx.org>
3979 * insetgraphicsparam.C: forgot special option and delete old
3982 2002-04-05 Juergen Vigna <jug@sad.it>
3984 * insettext.C (localDispatch): make a CURSOR update if we inserted
3987 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3989 * insetfloatlist.C (getScreenLabel):
3990 (latex): use Floating::listName
3991 (validate): new method
3993 2002-04-03 José Matos <jamatos@fep.up.pt>
3995 * insetlabel.C (docbook): the anchor is an empty element in docbook.
3997 * insetfoot.[Ch] (docbook): added forgotten method.
3999 2002-04-03 Juergen Vigna <jug@sad.it>
4001 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4002 way as in Bufferview_pimpl.
4004 2002-04-03 Allan Rae <rae@lyx.org>
4006 * insetgraphics.C (latex): one % too many makes living on the bleeding
4007 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4009 2002-03-28 Herbert Voss <voss@lyx.org>
4011 * insetgraphic.C (latex): simplify the code for the latex
4012 output when the file doesn't exist
4014 2002-03-29 Juergen Vigna <jug@sad.it>
4016 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4019 * insettabular.C (edit): call fitCursor().
4021 * insettext.C (insetButtonPress): change behaviour of no_selection
4022 to the one in the BufferView selection_possible and fix the spurious
4023 selection bug with it.
4024 (localDispatch): revoke selection on BREAK... functions.
4026 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4028 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4030 2002-03-28 Juergen Vigna <jug@sad.it>
4032 * insettabular.C (insetAllowed): return true as default value otherwise
4033 we're not able to insert insets inside paragraphs of an not locked
4036 2002-03-27 Herbert Voss <voss@lyx.org>
4038 * insetgraphicsparam.C: change c%, p% to col%, page%
4040 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4042 * insetspecialchar.C (isLineSeparator): disable the nice code to
4043 allow linebreaks after hyphenation and menu separators.
4045 2002-03-26 Herbert Voss <voss@lyx.org>
4047 * insetgraphics.C (figinsetRead): set the right lyxview
4049 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4051 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4052 $\backslash$ and pass a "string const &" to the function.
4053 (prepareFile, latex): use Path rather than MakeAbsPath.
4055 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4057 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4058 proper fix to the graphics cache.
4059 (latex): "really" nice output if the file is not found ;-)
4061 2002-03-26 Juergen Vigna <jug@sad.it>
4063 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4064 (collapseParagraphs): fixed inserting of separator ' '
4066 * insettabular.C (insertAsciiString): only check for buffer lenght
4067 not if we have \t or \n inside the buffer as if we don't have we only
4068 have 1 cell and that's it!
4070 * insetert.C (close): don't collapse if inlined.
4072 2002-03-25 Herbert Voss <voss@lyx.org>
4074 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4075 graphics file does not exist.
4077 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4079 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4080 path when preparing export.
4082 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4083 no longer MakeRelPath.
4085 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4087 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4088 Used to determine the absolute path to the graphics file in the
4089 graphics cache and only in the graphics cache.
4090 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4091 make graphics file name absolute if it is stored as a relative path.
4093 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4094 make graphics file name absolute if it is stored as a relative path.
4096 * insettext.C (edit): emit an updateParagraph signal on entering a text
4097 inset. Needs to be emitted when leaving the inset also.
4099 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4101 * all files: ws cleanup
4103 * Makefile.am: remove ld -r stuff
4105 2002-03-21 Juergen Vigna <jug@sad.it>
4107 * insettext.C (appendParagraphs): new function added to append
4108 the paragraphs to this insets paragraphs.
4110 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4112 * Makefile.am: special rules if partial linking
4114 2002-03-19 Juergen Vigna <jug@sad.it>
4116 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4118 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4120 * insetgraphics.C: Clean up Baruch's comments a little.
4121 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4123 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4126 * insettheorem.C: wrap warnings
4128 * insetgraphics.C: improve messages, move cached_status_
4129 setting to safer place
4131 2002-03-18 Juergen Vigna <jug@sad.it>
4133 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4135 (localDispatch): ditto
4137 * insettext.C (edit): removed unneeded showCursor calls.
4138 (localDispatch): ditto.
4140 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4142 * insetgraphics.h: remove display() method.
4144 2002-03-11 Juergen Vigna <jug@sad.it>
4146 * insetgraphics.C (draw): hack to fix the redrawing bug.
4147 (draw): seems this fixes #268 (force redraw of row if we changed).
4149 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4150 this inset text (don't know why I missed this earlier).
4152 2002-03-08 Juergen Vigna <jug@sad.it>
4154 * insettabular.C (updateLocal): do a FULL update if we're not locked
4155 and only a CELL update is asked.
4157 * insettext.C (updateInsetInInset): update insets inside inset also
4158 if it isn't inside the_locking_inset.
4160 * insettabular.C (updateInsetInInset): ditto.
4162 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4164 * insetexternal.C (doSubstitution): check whether we are using a
4165 temp dir for defining $$FPath
4167 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4170 * insettext.C: remove #include "WorkArea.h".
4172 2002-03-06 Juergen Vigna <jug@sad.it>
4174 * insettext.C (draw): fixed frame redrawing.
4175 (clear): forgot to set the inset_owner of the paragraph.
4177 * insetert.C (status): pay attention the bv can be 0 here!
4178 (getMaxWidth): add the default leftMargin
4180 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4182 * insetert.C (getMaxWidth): make w unsigned int.
4184 2002-03-05 Juergen Vigna <jug@sad.it>
4186 * insetert.C (status): change behaviour of Inlined.
4187 (getMaxWidth): added for new inlined behaviour.
4189 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4191 * insetnote.h (linuxdoc, docbook): add empty methods.
4192 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4193 before being initialized.
4195 2002-03-05 Juergen Vigna <jug@sad.it>
4197 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4198 only that one in the inset. Should be enough.
4199 (updateLocal): set the selection cursor always if we don't have a
4200 selection to be sure it's set!
4202 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4204 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4206 * insettext.C (clear): a gross hack to set layout on a newly
4209 2002-03-04 Juergen Vigna <jug@sad.it>
4211 * insettabular.C (localDispatch): inserted handling of
4212 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4213 (insertAsciiString): new helper function.
4215 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4217 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4220 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4222 * insettext.C (InsetText): initalize newly created par with
4223 default layout. add bufferparams parameter
4226 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4227 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4228 * insetert.[Ch] (InsetERT): ditto
4229 * insetfloat.[Ch] (InsetFloat): ditto
4230 * insetfoot.[Ch] (InsetFoot): ditto
4231 * insetfootlike.[Ch] (InsetFootLike): ditto
4232 * insetmarginal.[Ch] (InsetMarginal): ditto
4233 * insetminipage.[Ch] (InsetMinipage): ditto
4234 * insetnote.[Ch] (InsetNote): ditto
4235 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4237 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4239 * insettext.C: layout as string
4241 * insetinclude.C: layout as string
4243 * insetert.C: layout as string
4245 * insetbib.C: layout as string
4247 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4250 * insettabular.C: remove #include "lyx_gui_misc.h".
4252 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4257 * inset.h: remove figinset, yahoo !
4259 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4261 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4262 copy c-tor and initialise member variables in the correct order.
4264 2002-02-28 Juergen Vigna <jug@sad.it>
4266 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4268 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4270 * inset.h: ... and add a better one here.
4272 * insetcommand.C (insetButtonRelease): remove that one which was a
4275 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4277 * insetcommand.C (insetButtonRelease): ... and move it here.
4279 * inseturl.h: remove insetButtonRelease from there...
4281 2002-02-26 Juergen Vigna <jug@sad.it>
4283 * inseturl.h: Added a insetButtonRelease call returning true as
4286 * insetlabel.C (edit): Fixed wrong update handling after change I
4287 leave in the wrong code for the one who wrote it to remove and have
4288 a look what he did wrong.
4290 * insettabular.C (localDispatch): force a SELECTION update if we
4291 had a selection and we passed the event down to the inset (fix #213)
4292 (localDispatch): handle font changing stuff when we have a cell
4293 selection so that the selection is not rewoked. I don't really like
4294 this fix, but it's the only way I see to do it right now.
4296 2002-02-22 Juergen Vigna <jug@sad.it>
4298 * insettext.C (insetUnlock): set the cursor to the second paragraph
4299 if available and if the first one is empty (fix #191).
4301 2002-02-20 Juergen Vigna <jug@sad.it>
4303 * insettext.C (getDrawFont): implemented this function to call the
4304 one of the owner if present as the owner normally knows what to do
4307 * insetert.C: implement getDrawFont() function and comment out all
4308 the crap for setting a special latex font inside this inset.
4309 (InsetERT): added a Lanugage parameter to this constructor.
4311 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4312 change the font for being drawn on screen (used only in InsetERT for
4315 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4316 and also above (was missing).
4317 (updateLocal): don't remove the cell selection if we have one this
4318 should be done where we really want to remove it.
4320 2002-02-20 José Matos <jamatos@fep.up.pt>
4322 * insetinclude.h: include_label made string const.
4324 * insetinclude.C (InsetInclude): moved include_label initialization.
4327 (validate): fix support for temporary directory, for docbook and
4330 * insetgraphics.h : new private member, graphic_label, that holds
4331 the entity name that defines the graphics location (SGML).
4333 * insetgraphics.C (unique_id): new function to give a unique label
4336 (validate): the file locatation is given by an entity reference.
4338 2002-02-18 Herbert Voss <voss@lyx.org>
4340 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4342 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4344 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4345 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4347 2002-02-18 José Matos <jamatos@fep.up.pt>
4349 * insetinclude.C (validate): some code only applies to latex buffers,
4350 it was made conditional.
4352 2002-02-12 Herbert Voss <voss@lyx.org>
4354 * insetgraphics.C: (prepareFile) do not check at this time
4355 if the file is present.
4357 2002-02-12 Herbert Voss <voss@lyx.org>
4359 * insetgraphics.C: latex(), return the correct newlines
4361 2002-02-13 José Matos <jamatos@fep.up.pt>
4363 * inseturl.C (docbook): escape & in url.
4365 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4367 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4368 after HYPHENATION and MENU_SEPARATOR
4370 * inset.h (isLineSeparator): new method, returns false by default.
4372 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4374 * insetert.C (status): do not update the text inset, but the ERT
4377 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4379 * insetnote.C: use notebg for background
4381 2002-02-08 Herbert Voss <voss@lyx.org>
4384 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4385 prevent LyX from unzipping when this should be handled
4386 by latex vis the graphic.cfg.
4389 2002-02-08 Herbert Voss <voss@lyx.org>
4391 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4392 exists, than return filename with extension
4394 2002-02-06 Herbert Voss <voss@lyx.org>
4396 * insetgraphic.C: prepareFile(): don't convert the file, when
4397 it's not viewed in LyX. Saves a lot of time when opening a
4400 2002-02-05 Herbert Voss <voss@lyx.org>
4403 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4404 and adding a rotate bool similiar to subcaption
4406 2002-02-04 Herbert Voss <voss@lyx.org>
4409 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4410 similiar view to the LaTeX one. Get zipped files work.
4412 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4414 * insetgraphicsParams.C (init): set display to DEFAULT.
4415 No longer #include "lyxrc.h".
4417 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4419 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4420 for now (so that the code compiles).
4422 2002-02-02 Herbert Voss <voss@lyx.org>
4424 * insetgraphic.C: delete inVariant() and some minor changes
4425 * insetgraphicsParams.[C]:
4427 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4429 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4430 interogate lyxrc.display_graphics before diaplaying the graphic.
4432 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4433 InsetGraphicsParams::DisplayType.
4435 2002-01-31 Herbert Voss <voss@lyx.org>
4437 * insetgraphic.C: (readfigInset) set display to pref-default
4439 2002-01-30 Herbert Voss <voss@lyx.org>
4441 * insetgraphic.C: get the filetyp from it's contents
4442 * insetgraphicparams.C: add token scale and lyxrc.display when
4443 creating a new inset
4445 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4447 * figinset.C: added using std::ios directive.
4449 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4451 * figinset.C (runqueue): open translation file in binary mode (for
4454 2002-01-27 Herbert Voss <voss@lyx.org>
4456 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4457 all options and to be sure that the old figinsets are correct
4459 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4460 structure and to support all lengths as LyXLength. The Parameter
4461 structure changed again, but reading of "old" 1.2 graphic insets
4464 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4466 * insetert.h (forceDefaultParagraphs): Added
4468 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4470 * insettabular.C (getMaxWidth):
4471 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4473 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4475 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4476 of LyXLength::inPixels
4478 * inset.C (latexTextWidth):
4479 * insetminipage.C (latexTextWidth): new method, which implements
4480 the equivalent of the LaTeX macro \textwidth
4482 * insetminipage.C (getMaxWidth): use latexTextWidth
4484 2002-01-18 Juergen Vigna <jug@sad.it>
4486 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4488 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4490 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4492 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4495 2002-01-17 Juergen Vigna <jug@sad.it>
4497 * insettabular.C (lockInsetInInset): same change as in insettext.
4499 * insettext.C (draw): width() function was called without setting
4500 the right top_x which could lead to wrong insetWidth setting!
4501 (lockInsetInInset): call edit instead of calling lockInset if we
4502 have to lock an inset inside!
4503 (edit): we have to also tell the inset that we have to redraw the
4504 frame on an edit call if this inset draws a frame only if locked.
4506 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4508 * insetbib.C (getFiles): uncomment Path variable.
4510 2002-01-16 Juergen Vigna <jug@sad.it>
4512 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4515 2002-01-16 Allan Rae <rae@lyx.org>
4517 * insetinclude.C (docbook): someone forgot a ";"
4519 2002-01-16 José Matos <jamatos@fep.up.pt>
4521 * figinset.C (docbook): removed a old place holder "@".
4522 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4523 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4524 ascii text version, clearly guarded inside a CDATA section.
4525 (docbook): in docbook 4, inlinegraphics is empty.
4526 * insettabular.C (linuxdoc): export the ascii version of the table
4527 inside a CDATA section.
4529 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4531 * insetparent.C (InsetParent):
4532 * insetgraphicsParams.C (Write):
4534 * insetgraphics.C (prepareFile):
4537 * insetexternal.C (executeCommand):
4538 (doSubstitution): use Buffer::filePath
4540 * insetbib.C (getFiles): add a #warning for Angus
4542 * insetgraphics.C: Add a remark about how filenames should be
4543 considered to be relative to buffer (but absolute is still allowed)
4544 (draw): do not try to get status if lyxrc.use_gui is false
4546 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4549 * insetcollapsable.[Ch]:
4550 * insettabular.[Ch] (searchForward, searchBackward): change the
4551 bool const & params to bool.
4553 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4554 to avoid the name clash with InsetCollapsable's methods of the same
4555 names but different functionality.
4557 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4559 * insettext.C (ascii): use lyx::count rather than countChar.
4561 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4563 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4565 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4567 * insetgraphics.C (updateInset): do not try to render image if
4568 lyxrc.use_gui is false (bug #104)
4570 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4571 if file does not exist
4573 * figinset.C (browseFile): add shortcuts to directory buttons
4575 * insettext.C (updateLocal): update menubar and toolbar here too.
4577 2002-01-13 Allan Rae <rae@lyx.org>
4579 * insettabular.C (InsetTabular): Both constructors now initialise
4580 all class variables.
4582 2002-01-11 Juergen Vigna <jug@sad.it>
4584 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4586 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4588 * insettabular.C (getStatus): add forgotten brace around multiline
4591 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4593 * insetfloat.C (validate): require "float" instead of "floats".
4595 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4597 * insettabular.C (getStatus): use FuncStatus
4599 2002-01-08 Juergen Vigna <jug@sad.it>
4601 * insettabular.C (insetButtonRelease): now this should work too
4604 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4605 if the width is a percentage.
4607 * inset.h: added isChar() function and implemented this for
4608 insetspecialchar insetquotes and insetlatexaccent.
4609 added forceDefaultParagraphs() and implemented it for insettabular.
4611 2002-01-07 Juergen Vigna <jug@sad.it>
4613 * insettext.C (getLyXText): Fixed this function. An insert into the
4614 map is only done if we REALLY have a new BufferView.
4616 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4618 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4620 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4622 * insetinclude.C: fix use of FileInfo
4624 2002-01-07 Juergen Vigna <jug@sad.it>
4626 * insettabular.C (draw): fixed clearing of cell around inset.
4628 2002-01-05 Juergen Vigna <jug@sad.it>
4630 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4631 variables are updated.
4633 * insettabular.C (resetPos): set always the inset_y as it may be
4634 needed in another function.
4635 (searchBackward): don't draw while searching.
4637 2002-01-04 Juergen Vigna <jug@sad.it>
4639 * insettext.C (lockInsetInInset): forgot to set a cursor.
4641 2002-01-02 Juergen Vigna <jug@sad.it>
4643 * insettext.C (insertInset): make the correct undo informations on
4644 inserting new insets.
4646 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4648 * insettabular.C: correct single-cell select vertically
4650 2001-12-27 Juergen Vigna <jug@sad.it>
4652 * insettabular.C (ascii): export as tab-separated-values if the
4653 function was not called from export (f.ex.: clipboard).
4655 * insetcollapsable.h: added default support for ascii, linuxdoc and
4656 docbook export (the insettext is exported by default!)
4658 * insettabular.C (copySelection): suff the clipboard with the tabular
4659 data in a tab separated format, seems more naturals then with all the
4662 2001-12-24 Juergen Vigna <jug@sad.it>
4664 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4665 to check for REAL mouseMotion.
4667 2001-12-20 Juergen Vigna <jug@sad.it>
4669 * inset.C (cursor): return the owners cursor if available instead of
4670 always only the bv->text->cursor.
4672 * insettabular.C (checkLongtableSpecial): works now.
4674 2001-12-19 Juergen Vigna <jug@sad.it>
4676 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4677 this has to be always row + 1 as 0 means not selected!
4678 (checkLongtableSpecial): added
4679 (tabularFeatures): better longtable options support
4681 * insettext.C (resizeLyXText): reinit the text always also on a
4684 2001-12-18 Juergen Vigna <jug@sad.it>
4686 * insettext.C (updateInsetInInset): look if we have to autocollapse
4687 paragraps and return if the update is requested for ourself.
4689 * insetert.C (status): update the insettext not myself as that is what
4692 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4693 function only return if the update was requested with myself.
4695 * insettext.C (insetButtonPress): fixed stupid bug.
4696 (various functions): pay attention that lt is cleared BEFORE calling
4697 updateLocal() and try to use it in the right manner (don't use it
4698 if it's not really neccessary!)
4699 (collapseParagraphs): insert a blank between collapsing paragraphs
4700 if neccessary (not already there!).
4702 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4704 * insettabular.C: move includes around a bit, add a couple of
4707 * insettext.[Ch]: move includes around a bit, other ws changes and
4710 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4712 * insettext.C (insetButtonRelease): fix compile problem
4714 2001-12-17 Juergen Vigna <jug@sad.it>
4716 * insettext.C (insetButtonPress): set the selection cursor!
4717 (insetButtonPress): clear the selection (and set with that the
4718 selection.cursor) if we only hit an inset!
4720 * insetert.C (read): removed piece of compatibility code only needed
4723 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4726 * insetcollapsable.C (insetButtonRelease): changed so that it can
4727 open eventual existing popup dialogs on mousebutton==3.
4729 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4731 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4733 * inset.C (insetButtonRelease): return a bool for telling the outer
4734 world that we opened a dialog.
4736 2001-12-07 Juergen Vigna <jug@sad.it>
4738 * insettext.C (paragraph): remove the deleteing of paragraphs as
4739 it was a WRONG move!
4741 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4744 * insettabular.C: use new setSelection(). Allow
4745 selection of single cells.
4747 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4749 * insetquotes.C (latex): fix to use the local language setting at
4750 the point where the inset is inserted (different macros for
4751 different french packages)
4753 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4755 * inset.h: add par_owner_ member variable and parOwner
4758 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4760 * insettabular.C (everywhere): adapt because widths are now real
4761 widths and not strings
4763 * insettext.C (draw): re-introduce the calls to width(), ascent()
4764 and descent() to initialize the caching variables.
4766 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4768 * insettext.C (draw):
4769 (drawFrame): use insetWidth instead of last_width
4771 * insettext.h: remove variable last_width (insetWidth is exactly
4772 the same) and last_height (computed but never used!)
4774 2001-12-10 Allan Rae <rae@lyx.org>
4776 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4778 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4780 * insettext.C (insetAllowed): add comment
4782 2001-12-05 Juergen Vigna <jug@sad.it>
4784 * insettext.C (insetAllowed): fixed for the case that we directly
4785 ask the insettext from its LyXText.
4786 (paragraph): fixed the crash when assigning the par->next() from
4787 the EmptyParagraphMechanism!
4789 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4793 * insettext.C: change "while(" to "while ("
4795 2001-12-04 Juergen Vigna <jug@sad.it>
4797 * insetert.C (edit): handle Inlined status.
4799 * insettext.C (insertInset): trying John's fix for the trailing cursor
4801 * insetert.C (insetButtonPress): added to handle inlined status
4802 (insetMotionNotify): ditto.
4804 * insettext.C (clearInset): changed Painter & in BufferView * param,
4805 to be able to call ascent,descent methods.
4807 2001-12-03 Juergen Vigna <jug@sad.it>
4809 * insettext.C (updateInsetInInset): use lt variable to forbid
4810 changes of LyXText in an update call.
4811 (updateInsetInInset): fixed updating of non locked insets!
4813 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4815 * insettabular.C: capture some more functions to prevent
4816 selection drawing problems. Bug #451274
4818 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4821 * insetgraphicsParams.C: fix inverted sense of float_equal
4823 2001-11-30 Juergen Vigna <jug@sad.it>
4825 * insettabular.C (InsetTabular): use the save_id flag to create also
4826 the tabular with the same id's.
4828 * insettext.C (setParagraphData): added a same_id function for undo
4829 to set the same paragraph id's as of the paragraph we are setting.
4831 2001-11-30 José Matos <jamatos@fep.up.pt>
4834 * insettoc.[Ch]: DocBook -> docbook.
4836 2001-11-29 André Pönitz <poenitz@gmx.net>
4839 * insettext.C: further reduction of header dependencies by using
4840 lyx::layout_type and lyx::textclass_type from support/types.h
4842 2001-11-29 Juergen Vigna <jug@sad.it>
4844 * insettext.C: inserted a reinitLyXText function everywhere I delete
4845 the paragraphs! This should fixe the crashes we had.
4846 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4847 (paragraph): set the InsetOwner() of the new paragraphs!
4849 2001-11-28 André Pönitz <poenitz@gmx.net>
4851 * insetnote.C: add pos initialization that I removed without
4854 2001-11-28 Juergen Vigna <jug@sad.it>
4856 * insettabular.C (resetPos): hack to not crash with infinite paints.
4858 * insettabular.h: insert missing function allowSpellcheck()!
4860 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4862 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4865 * insetfloatlist.C: derive from InsetCommand so gui can use it
4868 2001-11-26 André Pönitz <poenitz@gmx.net>
4872 * insetnote.C: reduce header dependencies, introduce type for
4875 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4877 * various: update for Alert.h
4879 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4881 * inset.h: fix comment
4883 * insettext.C: use par->isInset()
4885 2001-11-22 Allan Rae <rae@lyx.org>
4887 * insetcollapsable.h:
4888 * inset.h: Changes to checkInsertChar() behaviour.
4889 Now return value indicates whether chars can be inserted.
4891 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4893 * various: updated to use the new LaTeXFeatures
4895 2001-11-14 José Matos <jamatos@fep.up.pt>
4897 * insetspecialchar.C (linuxdoc):
4898 (docbook): don't give a name to a unused variable.
4900 * insettext.C (docbook): removed unused variable.
4902 2001-11-13 Herbert Voss <voss@perce.de>
4904 * insetgraphic.C: fix scale bug
4906 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4908 * inset.h (isSpace):
4909 (isLetter): new virtual methods.
4911 * insetspecialchar.C (isSpace):
4912 (isLetter): implement here.
4914 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4916 * inset.h: new inline helpers
4918 * insettext.C: use new helpers
4920 2001-11-07 José Matos <jamatos@fep.up.pt>
4922 * insettext.C (docbook): full support for paragraphs inside insettext.
4924 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4926 * insetindex.C: added header file for std::ostream.
4928 2001-11-03 José Matos <jamatos@fep.up.pt>
4930 * insetindex.C: added using std::ostream that I forgot yesterday.
4932 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4934 * insetindex.h (docbook):
4935 * insetindex.C (docbook): added support for docbook export.
4937 2001-11-02 José Matos <jamatos@fep.up.pt>
4939 * insetcaption.C(docbook): added support for docbook export.
4941 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4943 * insetexternal.C (updateExternal): Do not run update command if
4944 result file exists and is up to date.
4946 * ExternalTemplate.C (readFormat): Support the updateresult token.
4948 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4950 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4951 external_templates) to use the buffer->fileName() but only if
4952 previewing. Generating a TeX file should make FPath return
4955 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4958 * insetert.C: fix some problems
4960 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4962 * insetexternal.C (doSubstitution): Added $$FPath token
4963 to list of usable substitutions in external inset templates.
4965 2001-10-24 Juergen Vigna <jug@sad.it>
4967 * insettabular.C: use new ltType struct for setting longtable
4968 header and footers also new UNSET enums.
4970 2001-10-24 José Matos <jamatos@fep.up.pt>
4972 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4973 (docbook): If the table is not inside a float then wrap it inside
4974 <informaltable>...</informaltable>.
4976 2001-10-23 José Matos <jamatos@fep.up.pt>
4978 * insetref.C (docbook): removed / terminator to conform SGML.
4980 * insetspecialchar.C (linuxdoc):
4981 (docbook): Added support for special chars, more than ascii export.
4983 2001-10-22 Juergen Vigna <jug@sad.it>
4985 * insettext.C (checkInsertChar): added for REALLY checking the
4986 font of the inserted char in the right inset!
4988 2001-10-19 Juergen Vigna <jug@sad.it>
4990 * inset.h: added method allowSpellcheck() so that insets who do
4991 not have anything to spellcheck can tell and so they are over-jumped.
4992 Implemented for InsetText and co.
4994 2001-10-18 Juergen Vigna <jug@sad.it>
4996 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4998 2001-10-15 José Matos <jamatos@fep.up.pt>
5000 * insetert.C: allow export for docbook and linuxdoc
5002 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5004 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5006 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5008 * insetquotes.C (dispString): fix handling of latin9 quotes
5010 2001-10-03 Juergen Vigna <jug@sad.it>
5014 * insetcollapsable.C: change updateInset calls to not tell BV that
5015 we have changed status.
5017 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5019 * insettabular.C (deletable): make const
5021 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5023 * insetert.C (latex): Fix the returned value
5025 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5027 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5028 Returns string(), so nothing in an ERT inset is spellchecked.
5030 * insetgraphics.C (draw): print the filename if not displaying the
5032 (width): make sure that the width and draw methods are consistent.
5033 (updateInset): don't even load the image into cache if not displaying
5036 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5038 * various files (selectNextWord): renamed as
5039 selectNextWordToSpellcheck.
5041 * insetgraphics.C (draw): remove the previous change. Right place
5042 is in imageLoaderXPM.C.
5043 (draw): don't display the image if params.display == NONE.
5045 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5047 * figinset.C (runqueue):
5048 * insetgraphics.C (draw): set background colour of inset from
5049 background to the user-configurable graphicsbg.
5051 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5053 * insetquotes.C (InsetQuotes): when trying to decide the side of
5054 the quote, choose `left' only after a space or '('
5056 2001-09-04 José Matos <jamatos@fep.up.pt>
5061 * insetcollapsable.h
5079 * insetlatexaccent.C
5080 * insetlatexaccent.h
5085 * insetspecialchar.C
5086 * insetspecialchar.h
5090 * insettext.C (docbook): rename docBook method to docbook.
5092 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5094 * inset.h (getFirstParagraph): New virtual method.
5096 2001-08-20 Herbert Voss <voss@perce.de>
5097 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5098 in the the bibtex-database-gui for inserting a line
5101 If no style is given than there is no tex-output.
5103 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5105 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5109 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5111 * insetert.C (latex): Fix output for multiple paragraphs.
5112 (write): New code for writing paragraph data.
5113 (read): Set font after reading the inset.
5114 (localDispatch): Call set_latex_font() for more cases.
5116 * insetnote.h: Add empty validate method.
5119 * insetnote.C (InsetNote): Set language to the language of the
5122 2001-08-16 Juergen Vigna <jug@sad.it>
5124 * insettext.C: implemented the new FINISHED states.
5126 * insettabular.C: ditto
5128 * inset.h: added more FINISHED states for cursor right,up,down
5130 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5132 * insetfloatlist.C: use "FloatName List"
5134 2001-08-14 Juergen Vigna <jug@sad.it>
5136 * insetert.C (edit): forgot to set status_ in edit calls!
5138 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5140 * insettext.C: Compilation fix
5142 2001-08-13 Juergen Vigna <jug@sad.it>
5144 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5146 * insetcollapsable.C (edit): don't recollapse an already open inset.
5148 * insettext.C: fixed problem when reinitializing LyXText by not doing
5149 it while lt is in use and post this to the next possible time in
5151 (searchForward): fixed not unlocking of inset if nothing found.
5152 (edit): set cursor behind right (was set -1 pos).
5154 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5156 * insettabular.C (tabularFeatures): fixed fix where deleting the
5157 last row didn't get the right actcell!
5159 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5161 * insettext.C (localDispatch): Change language only when the inset
5164 2001-08-10 Juergen Vigna <jug@sad.it>
5166 * insettabular.C (selectNextWordInt): use the front using edit call.
5168 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5169 the parameter overwrite class variable inset.
5171 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5173 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5174 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5176 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5177 update only for fixed with cells.
5178 (resetPos): try to fix the lockup on spellchecking or s&r.
5180 * insettext.C (update): comment this out as it seems first wrong
5181 and second not needed anymore!
5182 (some functions): call reinitLyXText() only in update() in all other
5183 positions set only need_update = INIT.
5185 2001-08-08 Juergen Vigna <jug@sad.it>
5187 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5189 * insettext.C (insetUnlock): remove double-space on inset unlock.
5191 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5193 * insettabular.C (update): fixed cursor positon after an insert.
5194 (insetAllowed): do not allow to insert insets when not inside the
5196 (draw): clear below an inset too as it could have changed height.
5198 * inset.C (getMaxWidth): fixed width for inset in inset.
5200 * insettext.C (update): small fix.
5202 * insettabular.C (tabularFeatures): added selection support to
5203 DELETE_ROW/DELETE_COLUMN.
5205 2001-08-07 Juergen Vigna <jug@sad.it>
5207 * inset.C (getMaxWidth): recoded and all it's implementations!
5209 * insettext.C (init,setParagraph+constructors): cleanups
5210 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5211 are new and I want do a save/restore of the cursor position which is
5212 not possible anymore.
5214 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5215 (searchBackward): ditto
5216 (selectNextWord): ditto
5218 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5220 * insetlatexaccent.C (checkContents): Add some debug messages
5222 2001-08-07 Juergen Vigna <jug@sad.it>
5224 * insetert.C (read): don't use InsetCollapsable::read as we don't
5225 write the collapsed status anymore only the status.
5228 2001-08-06 Juergen Vigna <jug@sad.it>
5230 * insetert.C (set_latex_font): use LyXText's setFont directly.
5232 * insettext.C (drawFrame): fixed one time more the right position
5233 and size of the frame!
5235 * insetert.C (~InsetERT): hide the dialog.
5236 (showInsetDialog): added implementation
5239 (status): new function for the status of the ERT inset (3-state).
5240 (write): output also the status of the inset for readback!
5241 (read): readback the status if available otherwise use collapsed_.
5243 * insettext.C (edit): small fix of setting the position, which could
5246 * insetert.C (width): implement this function for inlined viewing.
5247 Added minimum width of 10 pixels!
5249 * insetminipage.C (InsetMinipage): just change the colors a bit so
5250 that border/background is a bit more visible. We will remove this
5253 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5254 function for getting the important widths for drawing in various
5255 functions and in LyXText.
5256 (draw): fixed up a bit (frame drawing/clearing)
5258 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5260 * inset.C (convertFont): delete method. not used.
5262 2001-08-03 Juergen Vigna <jug@sad.it>
5264 * insettext.C (setFont): don't call for a draw update if we're just
5265 changing the cursor font!
5267 2001-08-02 Juergen Vigna <jug@sad.it>
5269 * insettext.C (draw): clear the background with the right color if
5270 needed. Update myself if x&max-width changed and return without doing
5271 anything. Let the update code handle the right stuff.
5273 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5274 inside another inset.
5276 2001-08-01 Juergen Vigna <jug@sad.it>
5278 * insetcollapsable.C (update): added an in_update bool so we avoid
5281 * insettabular.C (update): added an in_update bool so we avoid
5284 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5286 (update): added an in_update bool so we avoid reentering.
5288 * insettabular.C (localDispatch): clear col/row selection when doing
5289 something else inside an inset.
5291 * insettext.C (getLyXText): fixed bug when requesting a recursive
5294 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5296 * insetcite.C (latex): Paranoia check. Make sure that there is no
5297 whitespace between the citation keys.
5299 2001-07-31 Juergen Vigna <jug@sad.it>
5301 * inset.h (nodraw): make the set function also const so that this
5302 can be called from inside other const functions.
5304 * insetcollapsable.h: removed inline variable and moved it over
5305 to the only user InsetERT.
5307 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5308 inset opening immediately therein lying insets dialogs!
5310 * insetert.C (localDispatch): set the font also if we don't have any
5311 chars in this paragraph, otherwise if we delete all of em and start
5312 writing we have the wrong font.
5314 (draw): implemented for inline support
5315 (insetButtonRelease): ditto.
5317 2001-07-30 Juergen Vigna <jug@sad.it>
5319 * insettext.C (reinitLyXText): new function to reinit the insets
5320 text after lot's of paragraph changes. Use this instead of the
5321 cache.clear() which is VERY dangerous.
5323 * insetfloat.C (insetButtonRelease): we should only show the dialog
5324 if we press on the label otherwise we have problems to open mouse
5325 button 3 dialogs inside this float (f.ex. of a tabular!)
5327 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5329 * insetert.C: change back to "ERT"
5331 * insetfloat.C: handliign of RMB on label added.
5333 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5335 * insetgraphicsParams.C: #include LOstream.h here.
5337 * insetfoot.h: remove InsetFoot:: qualifier.
5339 2001-07-29 Baruch Even <baruch@lyx.org>
5341 * ChangeLog: Hiding time travel evidence.
5343 * insetgraphicsParams.h:
5344 * insetgraphicsParams.C:
5345 * insetgraphics.C: Added horizontal scale option, it actually scales both
5346 directions since it keeps image proportions.
5348 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5350 2001-07-29 Baruch Even <baruch@lyx.org>
5352 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5353 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5355 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5357 2001-07-29 Baruch Even <baruch@lyx.org>
5359 * insetgraphics.C: Added EPSI to be an alias of EPS.
5361 2001-07-29 Baruch Even <baruch@lyx.org>
5363 * insetgraphics.C: Change GRAPHICS to Graphics.
5364 Changed image conversion rules (documented at the beginning of file).
5366 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5368 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5371 * insetgraphics.C: added a using std::endl directive.
5373 * insetcommand.h (getScreenLabel): removed pure virtual function,
5374 as it duplicates that in InsetButton.
5376 * insetbib.[Ch] (getScreenLabel):
5377 * insetbutton.[Ch] (getScreenLabel):
5378 * insetcite.[Ch] (getScreenLabel):
5379 * insetert.[Ch] (getScreenLabel):
5380 * insetexternal.[Ch] (getScreenLabel):
5381 * insetfloatlist.[Ch] (getScreenLabel):
5382 * insetinclude.[Ch] (getScreenLabel):
5383 * insetindex.[Ch] (getScreenLabel):
5384 * insetlabel.h (getScreenLabel):
5385 * insetparent.[Ch] (getScreenLabel):
5386 * insetref.[Ch] (getScreenLabel):
5387 * insettoc.[Ch] (getScreenLabel):
5388 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5390 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5392 (validate): remove check on "cite" when using natbib.
5394 2001-07-26 Baruch Even <baruch@lyx.org>
5396 * insetgraphics.C (draw): changed casting to be in one place rather than
5397 all over the function.
5400 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5402 * insetgraphicsParams.h:
5403 * insetgraphicsParams.C:
5404 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5406 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5408 * insetfoot.C (validate): Added method to ensure that the
5409 right bit of LaTeX is emitted.
5411 * insetfoot.h: Added validate method to set the correct
5412 LaTeXFeatures bit for the special footnote code.
5414 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5416 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5419 2001-07-27 Juergen Vigna <jug@sad.it>
5421 * inset.h: remove not used font variable in parameter.
5422 removed checkInsertChar in UpdatableInset as it was equal to
5423 the one in Inset and so not needed.
5425 * insetert.C (checkInsertChar): implementation of function
5428 * inset.h: added new function checkInsertChar.
5430 * various files: added c-tor and clone() function.
5432 * insetcollapsable.h: removed clone function here as this should
5433 be only realized in REAL insets and added it to all collapsable
5434 insets! (with the copy-constructor).
5436 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5438 * insetminipage.C (read): handle missing parameters more gracefully
5440 * insetcollapsable.C (read): handel missing collapsed more gracefully
5442 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5444 * insetfloat.C (read): handle missing parameters.
5446 * insettext.C (read): handle old latex end_inset
5448 * insetert.C (setButtonLabel): new method
5449 (init): use it, to set the dynamic label correctly
5452 * Makefile.am (EXTRA_DIST): add files that is not part or the
5455 * insetcollapsable.h: remove autocollapsable (no users), remove
5456 draw_label, change_label_with_text and companion code. Remove args
5458 * insetert.[Ch]: move here instead (only user)
5460 * inset.h: rename private variable name to name_, make
5461 selectNextWord return a const string. make getInsetName return a
5462 string const &. Remove bool from open, add close.
5464 * Makefile.am: don't compile insetlist, insetsection
5467 2001-07-24 Juergen Vigna <jug@sad.it>
5469 * insetert.C (InsetERT): put init after the paragraph initialization,
5470 as otherwise we don't set the draw_label right.
5472 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5473 insets with the mouse without having strange selections.
5474 (edit): if the inset was collapsed and we open it here then put the
5475 cursor always at the beginning of the inset.
5476 (get_new_label): 15 instead of 10 max chars in the label.
5478 * insetert.C (localDispatch): added and handle various stuff we
5479 need to handle here (font setting on paragraph break, not permitted
5480 layout setting, etc.).
5482 * inset.h: added default copy-consturctor and implemented this in
5483 various insets with the change to use this in the clone function!
5485 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5487 * insetminipage.C (InsetMinipage): set background color to red :)
5489 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5491 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5492 draw frame mode is LOCKED.
5494 * insetcollapsable.C (edit):
5495 (insetButtonRelease): set update status to full when
5498 * insettext.C (clearInset):
5499 * insettabular.C (draw):
5500 * insetlatexaccent.C (draw): honor background color.
5502 * inset.h: new member background_color_, initialized to
5505 * inset.C (backgroundColor): new method.
5506 (setBackgroundColor): new method.
5508 * insetert.C (init): new method, called by the ctors.
5509 (InsetERT): when inserting contents, make sure the font is
5512 * insetnote.C (InsetNote): when inserting content, remove trailing
5514 (init): set background color to LColor::note
5516 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5518 * insetcollapsable.C: adjust
5520 * insetbutton.C: adjust
5522 2001-07-23 Juergen Vigna <jug@sad.it>
5524 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5525 parameter on the _collapsed function (was not needed) and call
5526 always width_collapsed().
5528 * insetert.C (InsetERT): use setLabel with "true" flag.
5530 * insetcollapsable.C: modified various functions to set the draw_label
5531 string right in any condition.
5532 (setLabel): added a bool parameter to set change_label_with_text.
5534 * insetcollapsable.h: added draw_label string which is set to the
5535 actual drawn label-string, while label is the original static label
5536 of this collapsable inset. Added bool change_label_with_text to set
5537 if we want that the label changes to the start of the InsetText's
5538 text when collabpsed. You can set this flag with the setLabel funciton.
5539 Added bool inlined for inlined collapsable insets, but not handled
5542 * insetcollapsable.C (get_new_label): added should get a new label
5543 from the InsetText beginning (for now 10 chars).
5545 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5547 * insetquotes.C (latex): fix the handling of french double quotes
5548 when not using the french pachage.
5550 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5552 * insetcollapsable.h: make WidthCollapsed mutable.
5554 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5555 InsetPrintIndex returns INDEX_PRINT_CODE.
5557 * inset.h: add INDEX_PRINT_CODE
5559 * insetcollapsable.C (draw): init widthCollapsed if necessary
5562 * insetquotes.C (width): use the local language, not the document
5565 (dispString): add additional spacing for all french languages,
5567 (validate): make it work when there is no default language
5569 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5571 * insetnote.C (init): new method, called by the constructors
5572 (InsetNote): new constructor with contents passed as a string
5574 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5576 * insetfootlike.C (insetAllowed): disallow float in footlike.
5578 * insetert.C (InsetERT): add collapsed argument to the constrctor
5581 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5583 * insetindex.h: shut off warning
5585 2001-07-20 Juergen Vigna <jug@sad.it>
5587 * insetcollapsable.C (update): recoded hopefully works now!
5589 2001-07-19 Juergen Vigna <jug@sad.it>
5591 * most files: implemented the below new introduced function.
5593 * inset.h: added new edit(BufferView *, bool front) method to be able
5594 to enter an inset from the front/back without knowing x/y positions
5595 and baselines inside the inset. So I just can tell the inset activate
5596 me and set the cursor on the front/back of yourself.
5598 2001-07-18 Juergen Vigna <jug@sad.it>
5600 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5601 is given to the InsetText.
5602 (insetButtonPress): ditto
5603 (insetButtonRelease): ditto
5604 (insetMotionNotify): ditto
5606 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5608 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5609 LIGATURE_BREAK, since the name is so stupid.
5611 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5613 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5614 the default InsetCollapsable methods. I.e., it can insert anything.
5615 (write) output the name of the inset, not some silly hack for
5616 compatability with the old InsetInfo.
5618 * insetinfo.[Ch]: removed.
5619 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5620 now collapsable, but functionality is otherwise identical to InsetInfo.
5622 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5624 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5626 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5629 * insetquotes.C: general cleanup
5630 (dispString): add spaces inside french double quotes.
5631 (latex): ditto. Moreover, treat first the case where the frenchb
5632 or french options have been given.
5634 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5636 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5639 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5641 * figinset.C (RegisterFigure): Print debug message only when
5642 current_view is available.
5644 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5646 * many files: update to match the change below
5648 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5649 implement the version which takes an inset here.
5651 * insetcollapsable.[Ch]: implement open and isOpen
5653 * inset.h: remove insertInsetAllowed from Inset
5654 (open): new method, to open or close an inset
5655 (isOpen): returns the status of an inset
5656 (isCollapsable, colapse): removed
5658 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5660 * insetquotes.C (dispString): display french guillemets when using
5663 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5665 * insetcollapsable.h: remove bogus return statements
5667 2001-07-18 Juergen Vigna <jug@sad.it>
5669 * insettabular.C (selectNextWord): fixed spellchecking for the
5670 first cell of a tabular (wasn't entered!)
5671 (getLyXText): changed to enter automatically insettext and return
5672 it's LyXText if we're locked.
5674 2001-07-17 Juergen Vigna <jug@sad.it>
5676 * various files: implemented the below functions.
5678 * inset.h: added functions
5679 - virtual string selectNextWord(BufferView *, float & value) const;
5680 - virtual void selectSelectedWord(BufferView *) { return; }
5681 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5682 needed for spellchecking correctly!
5684 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5686 * insetert.C (latex): write out all paragraphs.
5688 2001-07-17 Baruch Even <baruch@lyx.org>
5690 * insetgraphics.C (draw): Removed unneeded casts.
5692 2001-07-16 Juergen Vigna <jug@sad.it>
5694 * insettext.C (update): fixed small oversight (reset lt to 0).
5696 2001-07-14 Baruch Even <baruch@lyx.org>
5699 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5701 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5703 Consistent use of Lsstream.h:
5704 * figinset.C: removed using std::ostringstream directive.
5706 * insetgraphics.C (createLatexOptions):
5707 * insetinclude.C (unique_id):
5708 std::ostringstream -> ostringstream.
5709 * insettext.C (localDispatch): std::istringstream -> istringstream.
5711 2001-07-13 Juergen Vigna <jug@sad.it>
5713 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5715 * insetcollapsable.C (getLockingInset): ditto.
5717 2001-07-12 Juergen Vigna <jug@sad.it>
5719 * insetcollapsable.h: added implementation of new function for
5722 * various files: added implementation of new insertInsetAllowed-func
5723 and redone the function a bit more.
5725 * inset.h: added isCollapsable(), bool collapsed(),
5726 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5728 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5730 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5731 LyXText which is marked for removal while we're using it!
5733 * insettext.h: added private LyXText * lt to use it to assure we are
5734 not deleting our LyXText while we're using it!
5736 2001-07-11 Juergen Vigna <jug@sad.it>
5738 * insettext.C (insertInset): check if we are before the inset after
5739 inserting it! This check IS needed. Remove the Undo-Call as it is
5740 called in LyXText::insertInset!
5742 * insettext.h: added struct InnerCache.
5744 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5745 that we ONLY delete the LyXText in the getLyXText() routine. So we
5746 are sure we don't delete LyXText while someone is working with it!
5748 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5750 * insetexternal.C: (*it). -> it->
5751 * insettext.C: ditto
5753 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5755 * insetcollapsable.C (edit): always open collapsed insets (even if
5756 they are not autocollapsable)
5758 * insetcommand.C (operator=): simplify.
5760 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5762 * insetert.C (latex): handle META_NEWLINE
5764 2001-07-09 Juergen Vigna <jug@sad.it>
5766 * insetert.h: a normal InsetText can insert insets, but we won't.
5768 * inset.h: return default "false" on insertInsetAllowed and implement
5769 this function where a returnvalue != "false" is needed.
5771 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5773 * insetert.C (InsetERT): new contructor
5775 2001-07-06 Juergen Vigna <jug@sad.it>
5777 * a lot of files: added implementation of the below new functions
5778 and the change to clone(). Also the call of the new undo-functions
5781 * inset.h: added an inset_id, added functions getParFromID,
5782 getInsetFromID, firstParagraph, cursor and id functions, added
5783 bool same_ids to clone function.
5785 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5787 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5788 of BufferView * and shared_ptr<LyXText>
5790 2001-07-05 Juergen Vigna <jug@sad.it>
5792 * insettext.C (clear): deleted also the cache not only LyXText.
5793 (setParagraphData): ditto.
5795 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5797 * insetfloat.C (latex): let the specific placement take presedence
5798 if set, otherwise choose document placement if set, otherwise just
5799 use float default placement.
5801 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5803 * insettext.C (localDispatch): call CutAndPaste::'s static method
5806 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5808 * insetbib.C: no meed to include forms.h here.
5810 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5812 * insettext.C: added using std::make_pair directive.
5814 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5816 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5818 (deleteLyXText): ditto
5819 (resizeLyXText): ditto
5821 2001-07-02 Juergen Vigna <jug@sad.it>
5823 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5824 following calls are only returned the right pointer without the over
5825 head to search in the map.
5826 (various funcs): reset the cached_bview variable as this signs that
5827 the cache is not valid anymore.
5829 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5831 * insettabular.C (clone): do not copy the LyXTabular twice
5833 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5835 * insettext.h (TEXT): delete method
5837 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5839 * insetmarginal.C (latex):
5840 * insetfoot.C (latex): fix spacing of notes in LaTeX
5842 * insettext.C (localDispatch): use .c_str() on istringstream
5843 constructor argument.
5845 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5850 * inseturl.C: fix method names in these to begin
5851 with small char too, so they inherit
5853 2001-06-28 Juergen Vigna <jug@sad.it>
5855 * insettext.C (setFont): fixed font settings using toggleFree()
5856 instead of setFont().
5858 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5860 * Change a lot of method names to begin with a small char.
5861 Changes to a lot of files because of this.
5863 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5865 * insetfloatlist.C (Write): std:: qualify ostream
5868 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5872 * insetgraphics.C: send debug output to Debug::INFO instead of
5875 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5878 * insettabular.C (getStatus): update to use func_status
5880 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5882 * insetref.C (DocBook): added support for cross-references without
5885 2001-06-26 The LyX Project <jug@sad.it>
5890 * insetlabel.h: removed escape method and moved it to
5893 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5895 * insettabular.C (getMaxWidth): do the speedup in a different way,
5898 2001-06-24 The LyX Project <Asger>
5900 * insettabular.C (getMaxWidth): We cache a mapping from
5901 inset to cell in order to speed this method up.
5903 2001-06-24 The LyX Project <Asger>
5905 * insettext.C: Optimized InsetText::draw or something.
5907 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5909 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5911 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5913 * inset.h: name change from lyxinset.h
5915 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5917 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5919 2001-06-14 Juergen Vigna <jug@sad.it>
5921 * insettext.C (draw): removed warnings.
5923 2001-06-13 Juergen Vigna <jug@sad.it>
5925 * insettabular.C (nodraw): only go down the tree if we don't have
5926 that flag set otherwise it's obvious that we don't want to draw.
5927 (LocalDispatch): do also an update if we have an undispached result.
5929 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5932 * insetgraphicsParams.C:
5933 * insettext.C: removed // -*- C++ -*- as first line.
5935 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5937 * lyxinset.h (resizeLyXText): shut off warning about unused
5940 2001-06-07 Juergen Vigna <jug@sad.it>
5942 * insettext.C (resizeLyXText): honor the new force flag.
5944 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5946 * insettabular.C (deleteLyXText): new function
5948 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5956 * insetcollapsable.C:
5957 * insetcaption.C: LColor tidy
5959 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5961 * figinset.C: fix typo
5963 2001-06-01 Juergen Vigna <jug@sad.it>
5965 * insettabular.C (resetPos): small hack so that scroll is not set to
5966 0 when we are in the last column of a tabular. This is a problem we
5967 have because of constats 20 offset on both directions, so this can
5968 cause on the limit an endless loop.
5970 * insettext.C (SetFont): forgot that we can have locking insets ;)
5972 2001-05-31 Juergen Vigna <jug@sad.it>
5974 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5976 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5978 * figinset.C: add using std:: directive for the C functions which
5981 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5983 * insetfloat.C (Write): write out wide info
5984 (Read): read the wide info
5985 (Latex): use the wide info when creating latex.
5987 * insettext.C: adjust
5989 * insetgraphics.[Ch] (statusMessage): change to return string
5993 * figinset.C (runqueue): add std::
5996 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5998 * insetcite.C (Ascii): add std:: qualifier
6000 2001-05-28 Juergen Vigna <jug@sad.it>
6002 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6003 a endless-width inset (maxWidth < 0).
6004 (Edit): change language only if not equal.
6006 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6008 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6010 2001-05-16 Juergen Vigna <jug@sad.it>
6012 * insettext.C (selectAll): added
6013 (clearSelection): added
6015 * insettabular.C (SetFont): now we may set a font on a whole selection!
6016 (getSelection): added helper function.
6018 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6020 * insetcite.C (Ascii): Add method.
6022 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6025 * insetbib.C: fix path for OS/2 & Win32
6027 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6029 * insetfoot.C (Latex): don't use % after footnote.
6031 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6033 * insettext.C (Read): use clear
6034 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6036 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6038 * insetfloatlist.h: add a bunch of std:: qualifiers.
6040 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6042 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6043 FLOAT_LIST_CODE, renumber code list.
6045 * insettoc.C (getScreenLabel): remove support for float lists
6049 * insetfloatlist.[Ch]: new files
6051 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6053 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6055 * insettabular.C (LocalDispatch):
6056 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6059 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6061 * insettext.C: remvoe !NEW_INSETS cruft
6063 * insettabular.C: remove !NEW_INSETS cruft
6065 * insetcollapsable.h: remove !NEW_INSETS cruft
6067 * insetbib.C: remove !NEW_INSETS cruft
6069 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6071 * insettoc.C: hack to make listof algorithm work
6073 2001-04-20 Juergen Vigna <jug@sad.it>
6075 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6077 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6079 * insetquotes.C (Latex): improve the guard against
6080 unwanted !` and ?` ligatures. This should really be done in
6081 another place (to catch all this ligatures at low-level).
6083 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6085 * insettext.C (init): remvoe leftovers from cursor_visible change
6086 (draw): use c++ cast
6087 (LocalDispatch): dispatch LFUN_MESSAGE
6089 * insettabular.C (InsetTabular): remove leftovers from
6090 cursor_visible, and scoped_ptr changes
6091 (draw): use c++ cast
6093 * insetcollapsable.C (draw): use c++ cast
6095 * ExternalTemplate.h: inherit privaely from noncopyable
6096 * insetcommand.h: ditto
6097 * insetinclude.h: ditto
6099 2001-04-16 Allan Rae <rae@lyx.org>
6101 * insettoc.C (Ascii):
6102 * insettext.C (draw):
6103 * insettabular.C (setPos):
6104 * insetminipage.C (Read):
6105 * insetfloat.C (placement):
6106 * insetcaption.C (Ascii, DocBook):
6107 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6108 an unrecognised preprocessor directive. So ensure they're wrapped.
6110 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6113 * insetexternal.C: set view on Clone. Add _ to private members.
6115 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6117 * insettext.C (InsetText): fix new
6118 (InsetText): reindent some, simplify deletion of par list
6119 (clear): simplify deletion of par list, fix new
6120 (SetParagraphData): simplify deletion of par list
6122 * insettabular.[Ch] (getLabelList): implement new method
6124 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6126 * lyxinset.h: do not include gettext.h...
6134 * insetlatexaccent.C:
6138 * inseturl.C: ... and do it here instead
6140 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6142 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6144 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6146 * insetcollapsable.[Ch] (getLabelList): implement
6148 * insettext.[Ch] (getLabelList): implement
6150 * insettext.h: reindent
6152 * insettabular.h: make tabular a scoped_ptr
6154 * insettext.C (init): adjust for cursor_visible
6155 (ToggleInsetCursor): constify asc and desc, font, adjust for
6157 (ShowInsetCursor): constify asc and desc, font, adjust for
6159 (HideInsetCursor): adjust for cursor_visible
6161 * insettabular.C: reindent some
6162 (InsetTabular): adjust for scoped_ptr and cursor_visible
6163 (InsetTabular): ditto
6164 (~InsetTabular): delete delete
6165 (Clone): adjust for scoped_ptr
6166 (Read): constify old_format, adjust for scoped_ptr, move init of
6168 (draw): constify tx, localize loop vars.
6169 some other localization of variables, remove double initilizatons.
6171 * insetfoot.C: remove using std::ostream, add ostream where needed
6173 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6175 * lyxinset.h: some reindentaion, use initializer list for
6177 UpdatableInset: make cursor_visible a private var add
6178 public isCursorVisible(), add protected toggleCursorVisible() and
6179 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6181 * insettoc.C: remvoe using decl
6182 (getScreenLabel): make cmdname donst
6185 (Ascii): don't use endl
6187 * insetfootlike.C: remove using decl at file scope and add std::
6189 * insetmarginal.C: ditto
6191 * insetfoot.C: some reformatting
6193 * insetfloat.C (InsetButtonRelease): adjust the hit area
6195 * insetert.C (SetFont): some reformatting
6197 * insetcollapsable.C: some reformatting and constification
6198 (Clone): comment out.
6199 * insetcollapsable.h: some reformatting
6200 (Clone): comment out.
6205 2001-03-30 Juergen Vigna <jug@sad.it>
6207 * insetcollapsable.h: changen *inset to be a InsetText inset.
6209 * some files: changed to reflect the above change.
6211 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6213 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6214 InsetExternal::Params.
6215 Added operator==() and operator!=() for the Params struct.
6217 2001-03-29 Juergen Vigna <jug@sad.it>
6219 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6222 * insetminipage.C: removed widthp_ and all it's functions and changed
6223 to use new %-lengths of LyXLength.
6225 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6227 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6229 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6231 * insetgraphicsParams.C (operator!=): new function, needed by the
6232 ControlGraphics class.
6234 2001-03-28 Juergen Vigna <jug@sad.it>
6236 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6237 (checkAndActivateInset): don't use the values returned from
6238 call to bv->checkInsetHit.
6240 * insetminipage.C (Clone): set special minipage values.
6242 * insetcollapsable.C (draw): changed to draw the button in the
6243 upper left corner outside the textinset.
6244 (ascent): changed because of different drawing
6248 (InsetButtonPress): ditto
6249 (InsetButtonRelease): ditto
6250 (InsetMotionNotify): ditto
6252 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6254 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6258 2001-03-26 Juergen Vigna <jug@sad.it>
6260 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6262 * insettext.C (ShowInsetDialog): implemented above function.
6264 * insettabular.C (ShowInsetDialog): ditto
6266 * insetminipage.C (ShowInsetDialog): ditto
6268 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6270 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6271 InsetInclude::Params. Don't store a buffer * in Params. Store the
6272 master file name instead.
6274 2001-03-23 Juergen Vigna <jug@sad.it>
6276 * insetcollapsable.C (InsetMotionNotify):
6277 (InsetButtonRelease):
6278 (InsetButtonPress): fixed y-offset (minipages).
6280 * insettext.C (draw): force a FULL update if cleared == true.
6282 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6283 routine to draw the minipages on its position-flag.
6284 (InsetInInsetY): give back the right y position, because of minipage
6287 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6290 * insetfloat.C (DocBook): docbook export code.
6292 2001-03-22 Juergen Vigna <jug@sad.it>
6294 * insetminipage.C (getMaxWidth): added function to set the drawing
6296 (Read): should work now!
6298 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6299 if we create a new inset.
6301 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6303 * figinset.C (fl_set_preemptive_callback): moved definition outside
6306 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6308 * insetminipage.C (Read): prepare for reading of minipage arguments.
6310 2001-03-18 Baruch Even <baruch@lyx.org>
6312 * insetgraphics.C: Minor cleanups of the comments and code.
6314 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6316 * insetminipage.C (InsetMinipage): default to not collapsed
6318 2001-03-16 Juergen Vigna <jug@sad.it>
6320 * insetminipage.C (width): modified with to be a string
6321 (widthp): added widthp (for % width) support functions.
6322 (InsetButtonRelease): added to open the options dialog on button==3.
6323 (~InsetMinipage): added to hide the dialog.
6325 * insetminipage.h: added hideDialog signal
6327 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6329 * insetminipage.h: change the order or Position to match
6330 LyXParagraph::MINIPAGE_ALIGNMENT
6332 * several files: remvoe CXX_WORKING_NAMESPACES
6334 * ExternalTemplate.h: noncopyable is in namespace boost
6335 * insetinclude.h: ditto
6336 * insetcommand.h: ditto
6338 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6340 * insettext.C (Edit): #else# -> #else.
6341 * insettoc.C: added using directive.
6343 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6345 * insetminipage.h: add pos, inner_pos, width and height. + getters
6346 and setters for all of them.
6348 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6350 * insetinclude.C (Latex): Do not exit when the textclass of the
6351 included file differ from the textclass of the parent file.
6353 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6355 * ExternalTemplate.C (read): the reading of external insets now checks
6356 for \end_inset and removes it form the input stream.
6358 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6360 * ExternalTemplate.h:
6361 * ExternalTemplate.C:
6363 * insetexternal.C: move form to GUII
6365 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6368 * insetinclude.C: add InsetIncludeParams, use
6369 composition rather than derivation of InsetCommand
6371 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6373 * insettoc.C (Ascii): use the Buffer typedefs
6375 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6377 * insettoc.C (Ascii): implement for dynamic number of lists
6379 * insetcaption.[Ch]: update from new_insets branch
6380 * insetfloat.[Ch]: ditto
6382 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6385 * figinset.C: use new File Dialog
6387 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6389 * insettext.C: changes becuase of ParagraphParameters.
6391 2001-02-28 Baruch Even <baruch@ev-en.org>
6393 * insetgraphics.C (updateInset): Changed due to the change in
6396 2001-02-26 Juergen Vigna <jug@sad.it>
6398 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6399 handled in LyXText).
6401 2001-02-23 Juergen Vigna <jug@sad.it>
6403 * insettext.C (draw): some small repainting fixes.
6404 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6406 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6407 should be) and not an int.
6409 * insettabular.C (LocalDispatch): ditto
6411 * insettext.C (LocalDispatch): ditto
6413 * insetcollapsable.C (LocalDispatch): ditto
6415 2001-02-22 Juergen Vigna <jug@sad.it>
6417 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6418 DISPATCH it and we don't have a locking_inset.
6420 2001-02-21 Baruch Even <baruch@ev-en.org>
6422 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6423 instead of GraphicsCacheItem *.
6425 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6427 * insetcollapsable.C (getLyXText): add const qualifier to second
6430 2001-02-22 Juergen Vigna <jug@sad.it>
6432 * insettext.C (getLyXText): honor the recursive parameter.
6433 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6435 * inset.C (getLyXText): added bool recursive parameter.
6437 * insettext.C (SetUpdateStatus): or the update codes.
6438 (draw): check need_update with &.
6439 (InsetButtonPress): set no_selection to not put a selection when
6440 entering an inset and it is redraws in another spot.
6442 * insettext.h: made need_update an int.
6444 2001-02-20 Baruch Even <baruch@ev-en.org>
6447 * insetgraphisc.C: Changed to use better semantics when loading images
6448 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6450 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6454 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6455 consistent with InsetTabular.
6457 2001-02-19 Juergen Vigna <jug@sad.it>
6459 * insettabular.C (LocalDispatch): implement PAGE up/down.
6461 * insettext.C (draw): clear all of it on need_update==INIT too!
6463 * insettabular.C (InsetUnlock): always clear the selection.
6465 * inset.C (scroll): normally we only want to scroll the inset until
6466 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6468 2001-02-14 Juergen Vigna <jug@sad.it>
6470 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6471 (resetPos): fixed scroll behaviour.
6472 (LocalDispatch): do an update if moving cursor inside a table cell
6473 requests a scroll of the tabular.
6475 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6477 * insettext.C (textWidth): constify local var
6479 * insettabular.C: small cleanup.
6481 * insetfoot.C (Latex): constify local var
6483 * insetcollapsable.C: small cleanup.
6485 * figinset.C (runqueue): use compare instead of strcmp
6487 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6490 * insetinfo.C: remove cruft
6492 2001-02-14 Juergen Vigna <jug@sad.it>
6494 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6496 2001-02-13 Juergen Vigna <jug@sad.it>
6498 * insettext.C (InsertInset): don't move left (is this right?)
6500 * insettabular.C (LocalDispatch): use of the no_draw variable
6502 * insettabular.h: new no_draw variable to stop redraw
6504 * insettabular.C (TabularFeatures): fixed update for alignment change
6506 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6510 * insetbib.C: move dialogs to frontends/
6512 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6514 * insettext.C (LocalDispatch): Restore the language if the inset
6517 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6519 * insettext.C (moveRightIntern): Update the selection cursor.
6520 (moveLeftIntern): Ditto.
6522 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6524 * Makefile.am: remove BoundingBox.h
6526 * BoundingBox.h: removed
6528 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6530 * insettext.C (LocalDispatch): Update selection cursor when moving
6531 cursor to the right.
6532 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6533 (moveLeftIntern): Ditto.
6535 2001-02-05 Baruch Even <baruch.even@writeme.com>
6537 * insetgraphics.C: Updated automatic image conversion, it now goes into
6538 temporary directory instead of with the image itself.
6540 2001-01-21 Baruch Even <baruch@ev-en.org>
6542 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6543 to EPS or PNG when needed (support bitmap graphics).
6545 2000-11-02 Baruch Even <baruch@ev-en.org>
6548 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6549 and removal of commented out code.
6551 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6553 * insetbib.C (callback): Update citations if the key has changed.
6555 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6557 * insetbib.C (InsetBibKey): Better computation of default key.
6558 (getScreenLabel) Show both the key and the label.
6559 (getBibLabel): New method.
6560 (callback): Force a redraw if the inset have been changed.
6562 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6564 * insetref.C (getType, getName): Move methods from
6565 src/frontends/xforms/FormRef.C.
6567 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6569 * insettabular.C: Various improvements (use only one dummy position).
6571 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6573 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6574 par->bibkey->width. This fixes the crashes when running without
6575 gui or when having included documents.
6577 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6579 * insetcommand.C (getAsString, setFromString): Cleanup.
6581 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6583 * insetref.C: Add the array InsetRef::types that contains
6584 information about all supported reference types.
6586 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6588 * lyxinset.h: remove trailing comma in enum.
6590 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6592 * insettext.C: kill LyXBell.