1 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
3 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
5 2003-12-04 Angus Leeming <leeming@lyx.org>
7 * insetexternal.C (draw): update the xo_, yo_ cache.
9 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member function.
10 (RotationDataType): new helper struct wrapping the
11 RotationData::OriginType enum.
13 2003-12-03 André Pönitz <poenitz@gmx.net>
15 * inset.h: remove getParagraphs()
17 * insetcollapsable.[Ch]:
21 * insettext.C: use getText() instead of getParagraphs()
23 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
25 * insetert.C: fix label text updating bug
27 2003-12-02 Angus Leeming <leeming@lyx.org>
29 * insetvspace.[Ch] (space): new member function. Make space_ private.
30 (read): use the new, simpler lyxlex syntax.
32 2003-12-01 André Pönitz <poenitz@gmx.net>
34 * insetcollapsable.[Ch]:
35 * insetert.[Ch]: move 'inline' state to InsetCollapsable
37 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
39 * insetvspace.C (read): handle 'end_inset' token.
41 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
43 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
45 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
47 * insetcollapsable.[Ch]:
49 * insetcharstyle.C: place inset content on the button when
52 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
54 * insetvspace.C: remove VSpace::NONE; increase inset width
56 2003-12-01 André Pönitz <poenitz@gmx.net>
58 * insetbase.h: whitespace
60 * inset.[Ch]: remove latexTextWidth
61 make setBackgroundColor virtual
63 * insettext.[Ch]: move ParagraphList member to LyXText
65 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
73 * insetwrap.[Ch]: adjust paragraphs and background color handling,
75 2003-11-28 Angus Leeming <leeming@lyx.org>
77 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
78 hiding and showing the dialog respectively.
79 (priv_dispatch): also actually update the inset contents.
81 2003-11-28 Angus Leeming <leeming@lyx.org>
84 * insetbranch.C (d-tor):
85 * insetcite.C (d-tor):
86 * insetfloat.C (d-tor):
87 * insetfloatlist.C (d-tor):
88 * insetinclude.C (d-tor):
89 * insetindex.C (d-tor):
90 simplify the invocation of the Mailer::hideDialog() function.
92 * insetminipage.C (showInsetDialog):
93 simplify the invocation of the Mailer::showialog() function.
95 2003-11-28 André Pönitz <poenitz@gmx.net>
98 * insetvspace.[Ch]: new insets
100 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
102 * insetcharstyle.C: Syntax change for CharStyles
104 2003-11-28 André Pönitz <poenitz@gmx.net>
106 * updatableinset.h: remove insetInInsetY
108 * insetcollapsable.[Ch]:
111 * insettext.[Ch]: adjust
113 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
117 * insetcollapsable.[Ch]:
119 * insettabular.[Ch]: remove setFont
121 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
123 * render_graphic.[Ch]: adjust comments
125 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
127 * insetgraphics.C (draw): cache xo_ & yo_
129 2003-11-24 André Pönitz <poenitz@gmx.net>
131 * insettext.C (setViewCache): don't call LyXText::init() anymore
133 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
136 * insetcollapsable.[Ch]:
137 * insetert.[Ch]: remove bufferview parameter in methods
138 open, close, status, and updateStatus.
140 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
142 * insetcollapsable.[Ch]:
144 * insettext.[Ch] (getCursorDim): squash unused variable
146 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
148 * insettext.C (edit): x0_,y0_ -> xo_,yo_
150 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
152 * insettext.C (draw): sets LyXText absolute coordinates
154 2003-11-20 Angus Leeming <leeming@lyx.org>
156 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
157 about unused parameters.
159 * insetcollapsable.C (open):
160 * insettabular.C (pasteSelection):
161 * insettoc.C (draw): ditto.
163 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
165 * insetcollapsable.C:
167 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
168 remove mouse_x mouse_y etc.
170 2003-11-17 André Pönitz <poenitz@gmx.net>
172 * insettext.[Ch] (cx, cy): remove
174 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
176 2003-11-13 André Pönitz <poenitz@gmx.net>
179 * insetcollapsable.[Ch]:
181 * insettext.[Ch] (deleteLyXText): remove
183 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
185 * insetcollapsable.[Ch] (fitInsetCursor): remove
186 * insettabular.[Ch] (fitInsetCursor): remove
187 * insettext.[Ch] (fitInsetCursor): remove
188 * updatableinset.[Ch] (fitInsetCursor): remove
189 (getCursorDIm): add virtual
191 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
193 * src/insets/Makefile.am:
194 * src/insets/inset.h:
195 * src/insets/insetcharstyle.C:
196 * src/insets/insetcharstyle.h: The Character Style /XML short
199 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
201 * insettext.C: remove all update calls
202 * insetcollapsable.C: remove all update calls
204 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
206 * insettext.C (updateLocal, insertInset, setFont): remove
209 2003-11-10 André Pönitz <poenitz@gmx.net>
211 * inset.h: remove Inset::id_
213 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
216 2003-11-10 André Pönitz <poenitz@gmx.net>
220 * insetcollapsable.[Ch]:
227 * updatableinset.[Ch]: remove inset locking & adjust
229 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
231 * inset.h (allowSpellCheck): add (return true)
232 * insetert.h (allowSpellCheck): add (return false)
234 2003-11-05 José Matos <jamatos@lyx.org>
242 * insetcollapsable.[Ch]:
246 * insetexternal.[Ch]:
248 * insetfloatlist.[Ch]:
250 * insetgraphics.[Ch]:
255 * insetlatexaccent.[Ch]:
258 * insetmarginal.[Ch]:
259 * insetminipage.[Ch]:
263 * insetpagebreak.[Ch]:
267 * insetspecialchar.[Ch]:
273 * insetwrap.[Ch]: rename ascii to plaintext
274 and LatexRunParams to OutputParams.
276 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
278 * insetcollapsable.C (edit): add open() all
279 * insettext.C (edit): add setViewCache call
281 2003-11-04 André Pönitz <poenitz@gmx.net>
283 * inset.h (edit): move locking code from dispatch() to edit()
289 * insetcollapsable.[Ch]:
292 * insetexternal.[Ch]:
293 * insetgraphics.[Ch]:
299 * insettext.[Ch]: adjust
301 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
304 * insetcollapsable.[Ch]:
308 * updatableinset.[Ch]: remove dead search code
310 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
313 * insetcollapsable.[Ch]:
317 * updatableinset.[Ch]: remove dead spellcheck code
319 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
321 * insettabular.C (lockInsetInInset): small fix
323 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
325 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
326 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
327 from here. Be stricter on DispatchResult returned.
329 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
331 * Inset::dispatch's: adjust for new DispatchResult semantics.
333 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
335 * render_base.h: make clone return an auto_ptr
336 * render_button.C (clone): adjust
337 * render_graphic.C (clone): adjust
338 * render_preview.C (clone): adjust
340 * insettheorem.C (clone): return an auto_ptr
342 * insettext.C (priv_dispatch): exception safety
344 * insettabular.C: store the file scope variable paste_tabular in a
345 scoped_ptr, adjust usage.
347 * insetexternal.C (setParams): exception safety
349 * insetbibitem.C (clone): exception safety
351 2003-11-03 André Pönitz <poenitz@gmx.net>
354 * insetcollapsable.[Ch]:
356 * insettext.[Ch]: remove Inset::id and related functions
358 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
360 * insets: adjust for DispatchResult changes.
362 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
364 * insetpagebreak.C: fix screen representation & ascii output.
366 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
371 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
373 2003-10-31 José Matos <jamatos@lyx.org>
375 * inset.h (ascii, linuxdoc, docbook):
376 * insetbox.[Ch] (ascii, linuxdoc, docbook):
377 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
378 * insetcaption.[Ch] (ascii, docbook):
379 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
380 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
381 * insetert.[Ch] (ascii, linuxdoc, docbook):
382 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
383 * insetfloat.[Ch] (linuxdoc, docbook):
384 * insetfloatlist.[Ch] (ascii):
385 * insetfoot.[Ch] (docbook):
386 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
387 * insethfill.[Ch] (ascii, linuxdoc, docbook):
388 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
389 * insetindex.[Ch] (docbook):
390 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
391 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
392 * insetline.[Ch] (ascii, linuxdoc, docbook):
393 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
394 * insetnote.[Ch] (ascii, linuxdoc, docbook):
395 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
396 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
397 * insetref.[Ch] (ascii, linuxdoc, docbook):
398 * insetspace.[Ch] (ascii, linuxdoc, docbook):
399 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
400 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
401 * insettext.[Ch] (ascii, linuxdoc, docbook):
402 * insettoc.[Ch] (ascii, linuxdoc, docbook):
403 * inseturl.[Ch] (ascii, linuxdoc, docbook):
404 * insetwrap.[Ch] (docbook):
405 add LatexRunParams argument.
407 2003-10-30 José Matos <jamatos@lyx.org>
409 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
411 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
413 * updatableinset.C (priv_dispatch):
414 * insetwrap.C (priv_dispatch):
415 * inseturl.C (priv_dispatch):
416 * insettoc.C (priv_dispatch):
417 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
418 (moveLeftIntern, moveUp, moveDown):
419 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
420 (moveLeft, moveUp, moveDown):
421 * insetref.C (priv_dispatch):
422 * insetnote.C (priv_dispatch):
423 * insetminipage.C (priv_dispatch):
424 * insetlabel.C (priv_dispatch):
425 * insetindex.C (priv_dispatch):
426 * insetinclude.C (priv_dispatch):
427 * insetgraphics.C (priv_dispatch):
428 * insetfloatlist.C (priv_dispatch):
429 * insetfloat.C (priv_dispatch):
430 * insetexternal.C (priv_dispatch):
431 * insetert.C (priv_dispatch):
432 * insetcommand.C (priv_dispatch):
433 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
434 * insetcite.C (priv_dispatch):
435 * insetbranch.C (priv_dispatch):
436 * insetbox.C (priv_dispatch):
437 * insetbibtex.C (priv_dispatch):
438 * insetbibitem.C (priv_dispatch):
439 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
441 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
443 * insettext.C: small refactoring of docbook stuff
445 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
447 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
448 (priv_dispatch): adjust for operator dispatch_result_t removal
450 * insettabular.C (lfunMouseRelease): put the result of a dispatch
451 in a DispatchResult, adjust accordingly.
452 (priv_dispatch): use strange >= construct... (will be removed later)
454 * most insets: dispatch_result -> DispatchResult
456 * insetbase.h: move DispatchResult out to dispatchresult.h
458 2003-10-27 André Pönitz <poenitz@gmx.net>
460 * insetpagebreak.[Ch]: new inset for page breaks
462 * insetline.[Ch]: new inset for vertical lines
467 2003-10-25 Angus Leeming <leeming@lyx.org>
469 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
470 new virtual member functions, specialised...
471 * render_button.h (asButton):
472 * render_graphic.h (asGraphic):
473 * render_preview.h (asPreview, asMonitoredPreview): ... here.
475 * insetexternal.C: use these new functions rather than dynamic_cast.
476 Various other small simplifications.
478 2003-10-22 Angus Leeming <leeming@lyx.org>
480 * insetexternal.[Ch]: add the ability to 'preview' the external file
483 * insetinclude.C: changes due to the changes in the RenderPreview
486 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
487 message if the preview image is not available. Only initiate the
488 loading of the preview from draw(). Ditto, start the monitoring
489 of an external file from RenderMonitoredPreview::draw.
491 2003-10-22 Angus Leeming <leeming@lyx.org>
493 * insetcite.[Ch] (setLoadingBuffer): removed.
494 (getNatbibLabel): use the new Buffer::fully_loaded member function to
495 ascertain whether to proceed with the (expensive) task of computing
496 the natbib-style label. Remove the home-grown hack providing
497 similar functionality.
499 2003-10-22 Angus Leeming <leeming@lyx.org>
501 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
502 class and into an anonymous namespace.
504 2003-10-22 Angus Leeming <leeming@lyx.org>
506 * insetcommand.h: remove the display method.
510 * insetindex.h (InsetPrintIndex):
511 * insettoc.h: add a display method, returning true.
513 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
515 * insetcollapsable.h:
519 * insetinclude.h: (1) finish off the inset display() work;
520 (2) fix the "is a bit silly" bug (accessing char
523 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
527 * insetfootlike.h: re-introduce display() for insets,
528 fixing the various bugs (stretch of line above, math inset
531 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
533 * insetbase.C (dispatch): new func
534 (priv_dispatch): new func replaces...
535 (localDispatch): this, deleted.
537 * all insets with dispatch modified for new code.
539 2003-10-15 André Pönitz <poenitz@gmx.net>
541 * insetcollapsable.[Ch]
543 * inset.h: re-add some edit(bv, index) method called by undo
545 2003-10-14 Angus Leeming <leeming@lyx.org>
547 * insetexternal.[Ch] (view, cache, view_):
548 * insetgraphics.[Ch] (view, cache, view_):
549 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
550 (statusChanged): call LyX::cref().updateInset.
552 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
553 the BufferView cache.
555 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
558 2003-10-14 Angus Leeming <leeming@lyx.org>
560 * insetinclude.C (metrics, draw): only draw the preview when previews
563 2003-10-14 André Pönitz <poenitz@gmx.net>
565 * insetcollapsable.[Ch]:
568 * inset.h: getText() as alternative to getParagraphs()
570 2003-10-13 Angus Leeming <leeming@lyx.org>
573 * insetgraphicsParams.C: displayTranslator is now a function.
575 2003-10-13 Angus Leeming <leeming@lyx.org>
577 * insetinclude.C: remove #include "PreviewImage.h".
579 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
582 * ExternalTransforms.C:
584 * insetbox.h: ws changes only
586 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
588 * insetinclude.C (localDispatch): do not call
589 InsetOld::localDispatch, just return UNDISPATCHED
590 * insetgraphics.C (localDispatch): ditto
591 * insetcommand.C (localDispatch): ditto
593 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
595 * inset.h: get rid of RESULT typedef for dispatch_result
597 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
598 * insetert.[Ch] (localDispatch): ditto
599 * insettabular.[Ch] (localDispatch): ditto
604 * insettext.[Ch] (localDispatch): ditto
607 (moveRightIntern): ditto
608 (moveLeftIntern): ditto
611 * updatableinset.[Ch] (localDispatch): ditto
613 2003-10-12 Angus Leeming <leeming@lyx.org>
615 * renderbase.h (view, view_): removed.
616 * renderbase.C: removed.
617 * Makefile.am: remove render_base.C. The shortest lived file in
620 * renderbutton.C (draw):
621 * render_graphic.C (draw): don't cache the BufferView.
623 * insetabase.h (cache, view): removed.
625 * inset.h (generatePreview) removed.
627 * insetcallapsable.[Ch] (cache, view, view_): removed.
629 * insetcollapsable.C (draw): don't cache the BufferView.
631 * insetcommand.[Ch] (view): removed.
633 * insetexternal.[Ch] (cache, view, view_):
634 * insetgraphics.[Ch] (cache, view, view_):
635 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
637 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
638 when you have direct access to it. In fact, don't use the cache at all.
640 2003-10-10 Angus Leeming <leeming@lyx.org>
642 * insetinclude.C (metrics): use preview_->metrics.
643 (draw): use preview_->draw.
645 * render_preview.[Ch] (pimage): removed.
647 2003-10-10 Angus Leeming <leeming@lyx.org>
649 * renderers.[Ch]: removed.
652 * render_button.[Ch]:
653 * render_graphic.[Ch]:
654 * render_preview.[Ch]: new files. The first three are split out of
655 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
656 contains a re-worked InsetInclude::PreviewImpl also.
658 * Makefile.am: reflect the changed files.
661 * insetexternal.[Ch]:
662 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
664 * insetinclude.[Ch]: changes reflecting the change from
665 InsetInclude::PreviewImpl to RenderMonitoredPreview.
671 * inseturl.C: add #include "support/std_ostream.h"
673 2003-10-09 Angus Leeming <leeming@lyx.org>
675 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
676 to PreviewedInset::previewReady.
678 2003-10-09 Angus Leeming <leeming@lyx.org>
680 * insetexternal.[Ch] (statusChanged):
681 * insetgraphics.[Ch] (statusChanged): make a const member function.
683 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
686 2003-10-09 Angus Leeming <leeming@lyx.org>
688 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
689 to PreviewedInset's previewReady and removePreview member functions.
691 2003-10-08 André Pönitz <poenitz@gmx.net>
693 * insetcollapsable.C:
694 * insettext.[Ch]: saner 'init' structure
696 * updatableinset.[Ch]: remove unneeded code
698 2003-10-08 Angus Leeming <leeming@lyx.org>
700 Fix doxygen warnings.
702 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
703 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
705 2003-10-07 Angus Leeming <leeming@lyx.org>
707 * ExternalTransforms.[Ch]: new files, detailing transforms that can
708 be applied to InsetExternal.
710 * Makefile.am: add these new files.
712 * ExternalTemplate.[Ch]: add a list of available transforms to
713 class Template and a list of factory functions for transformer classes
714 that can act on this data to class Format.
716 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
718 * ExternalSupport.C: Add code to replace transform placeholders
719 with appropriate output.
721 2003-10-07 Angus Leeming <leeming@lyx.org>
723 * ExternalSupport.[Ch]: new files, moving the private member functions
724 and namespace anon functions out of insetexternal.C to here, so making
725 it easier to understand what is going on in insetexternal itself.
727 * Makefile.am: add new files.
729 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
730 allowing the class to be forward declared. (Also consistent with
731 all other Params classes.)
732 (write): moved out of the class. Move this function and those in
733 namespace anon to ExternalSupport.[Ch].
735 2003-10-07 Angus Leeming <leeming@lyx.org>
737 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
738 non-const member function.
740 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
745 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
747 2003-10-02 André Pönitz <poenitz@gmx.net>
749 * insettext.C (read): make sure there is at least one par
750 in the text after reading.
752 2003-10-01 José Matos <jamatos@lyx.org>
754 * insetbranch.C (linuxdoc, docbook): minor fix.
756 2003-10-01 Angus Leeming <leeming@lyx.org>
758 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
760 * insetexternal.[Ch]: changes due to the introduction of
761 namespace lyx::external.
763 2003-09-30 Angus Leeming <leeming@lyx.org>
765 * insetexternal.[Ch] (Params::read, write): new member functions.
767 2003-09-25 Angus Leeming <leeming@lyx.org>
769 * insetexternal.[Ch] (TempName): new (private) nested struct with
770 fake copy semantics. Enables us to use the generated copy c-tor
771 in the Params struct.
772 (Params::templatename, Params::tempname): use accessor functions.
774 2003-09-25 Angus Leeming <leeming@lyx.org>
776 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
777 function, returning a const pointer.
779 2003-09-23 Angus Leeming <leeming@lyx.org>
781 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
782 store them in a vector, preambleNames.
784 * insetexternal.C (validate): loop over all preambleNames and call
785 LaTeXFeatures::addExternalPreamble with each.
787 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
789 * insetbranch.C: bug fix in branches
791 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
793 * insetnote.C: small clean-up.
795 2003-09-19 Angus Leeming <leeming@lyx.org>
797 * inset.h (generatePreview): passed a 'Buffer const &' arg.
799 * insetcommand.C (string2params): clear params using the default c-tor.
801 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
802 InsetInclude::Params. No more data in this struct than in
803 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
804 (c-tor): no need to pass a 'Buffer const &' arg anymore.
805 (clone): remove #warning as it's now redundant.
806 (set): add a 'Buffer const &' arg. Make private.
807 (loadIfNeeded) move out of the class definition and into namespace anon.
808 (getMasterFilename, getFileName): ditto.
810 2003-09-18 Angus Leeming <leeming@lyx.org>
812 * insetcommand.C (setParams): use the params' copy constructor.
814 2003-09-18 Angus Leeming <leeming@lyx.org>
816 * insetinsetbase.h (getLabelList):
817 * insetinsetcollapsable.[Ch] (getLabelList):
818 * insetinsetinclude.[Ch] (getLabelList):
819 * insetinsetlabel.[Ch] (getLabelList):
820 * insetinsettabular.[Ch] (getLabelList):
821 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
822 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
824 2003-09-18 Angus Leeming <leeming@lyx.org>
826 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
827 redundant baggage from yesteryear.
828 Remove Params::flag as it is redundant; the info is present in
831 2003-09-18 Angus Leeming <leeming@lyx.org>
833 * insetinclude.C (latexString): add a Buffer const & arg.
835 2003-09-18 Angus Leeming <leeming@lyx.org>
840 * insettext.h: rename EnumLColor as LColor_color.
842 2003-09-18 Angus Leeming <leeming@lyx.org>
844 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
845 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
847 2003-09-16 Angus Leeming <leeming@lyx.org>
849 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
850 set before trying to generate a preview, else we trigger an assert.
852 2003-09-16 Angus Leeming <leeming@lyx.org>
854 * insetinclude.C (PreviewImpl::parent): return a const reference.
856 2003-09-16 Angus Leeming <leeming@lyx.org>
858 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
860 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
862 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
863 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
865 * insetminipage.C (metrics):
866 * insetnote.C (metrics):
867 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
868 access collapsed_ directly.
870 2003-09-16 Angus Leeming <leeming@lyx.org>
872 * insetbibitem.C: add #include "lyxfont.h".
874 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
877 * insetbibtex.C: use namespace alias for lyx::support::os
879 2003-09-16 Angus Leeming <leeming@lyx.org>
881 * insetcollapsable.h: remove unused framecolor variable.
882 Remove #include "LColor.h".
884 * insetcollapsable.C: remove unused framecolor variable.
887 * insetcollapsable.C:
895 Add #include "LColor.h".
897 2003-09-16 Angus Leeming <leeming@lyx.org>
899 * insettext.[Ch] (frameColor): new accessor function.
900 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
906 add #include "LColor.h".
908 * insetcollapsable.h: add #include "LColor.h"
909 (for its framecolor member variable).
911 2003-09-16 Angus Leeming <leeming@lyx.org>
913 * insetenv.C (constructor): use accessor functions to access InsetText variables.
915 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
916 rename frame_color as frame_color_. Make private.
918 * insettext.C: associated changes.
920 2003-09-16 Angus Leeming <leeming@lyx.org>
922 * inset.h: store background_color_ as an int, not as an LColor::color to
923 get LColor.h out of the header file.
926 * insetlatexaccent.C:
929 * insetspecialchar.C:
931 add #include "LColor.h".
933 2003-09-16 Angus Leeming <leeming@lyx.org>
935 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
938 2003-09-15 Angus Leeming <leeming@lyx.org>
940 * inset.[Ch] (setBackgroundColor, backgroundColor):
941 * insettext.[Ch] (setFrameColor):
942 pass EnumLColor args, rather than LColor::color ones.
944 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
954 * insetwrap.C: remove usage of STRCONV
956 2003-09-15 Angus Leeming <leeming@lyx.org>
958 * renderers.C (draw):
959 * insetlatexaccent.C (draw): explicitly define the color passed to
962 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
964 * insettext.C: remove block causing problems in lockInsetInInset
965 (mentioned erroneously under Bug #1366)
967 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
969 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
972 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
974 * several files: change Assert to BOOST_ASSERT
976 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
978 * insettext.[Ch]: remove drawText[XY]Offset
980 2003-09-08 Angus Leeming <leeming@lyx.org>
982 * insetcollapsable.C:
987 * insetspecialchar.C:
990 * insettoc.C: remove redundant using directives.
992 2003-09-07 Angus Leeming <leeming@lyx.org>
995 * insetspecialchar.h: remove #include "support/std_string.h".
997 2003-09-06 Angus Leeming <leeming@lyx.org>
999 * renderers.C: add #include "insets/inset.h"
1001 2003-09-05 Angus Leeming <leeming@lyx.org>
1003 * *.C: strip out redundant #includes. (193 in total.)
1005 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1007 * insets/insetbibtex.[Ch]:
1008 * insets/insetcommand.h:
1009 * insets/insetfloatlist.[Ch]:
1010 * insets/insetinclude.[Ch]:
1011 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1012 of insets like bibtex, include, toc and floatlist to the visible
1013 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1014 up the dialogs. Cursor has to be in front of the inset (i.e.
1015 start of row) for this to function.
1017 2003-09-04 Angus Leeming <leeming@lyx.org>
1019 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1020 structure outside of the Format struct. Format::preambleName refers to
1021 an item in the map of all preamble snippets.
1022 Make use of the new Debug::EXTERNAL flag.
1024 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1025 (validate): Small change due to the changed storage of preamble snippets.
1027 2003-09-04 Angus Leeming <leeming@lyx.org>
1029 * insetgraphics.C: #include "support/os.h"
1031 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1032 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1033 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1035 * insetcollapsable.h:
1037 * insetnote.C: move #include "funcrequest.h" out of the header file.
1039 2003-09-03 Angus Leeming <leeming@lyx.org>
1041 * insetexternal.C (updateExternal):
1042 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1045 2003-09-03 Angus Leeming <leeming@lyx.org>
1047 * insetexternal.C: don't bring namespace lyx::support into the global
1050 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1052 * insetbranch.C: Add Branch: to label
1054 2003-09-02 John Levon <levon@movementarian.org>
1057 * insettext.C: remove cursor.i[xy]()
1059 2003-08-28 Angus Leeming <leeming@lyx.org>
1061 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1062 "sh ", enabling the conversion to be carried out even if the script
1065 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1067 * most files: change to use const Buffer refs
1069 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1071 * insetfootlike.C: whitespace.
1073 2003-08-26 John Levon <levon@movementarian.org>
1077 * insetindex.h: remove remaining mentions of needFullRow()
1079 2003-08-26 André Pönitz <poenitz@gmx.net>
1085 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1087 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1089 * insetbranch.C: Small fix to prevent a crash on loading.
1091 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1096 * insetcollapsable.h:
1098 * insetfloatlist.[Ch]:
1099 * insetfootlike.[Ch]:
1100 * insetinclude.[Ch]:
1106 * insettheorem.[Ch]:
1107 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1108 altogether, putting the logic in metrics/draw in the insets.=20
1109 Draws short single row insets with more or less realistic metrics.
1111 2003-08-19 André Pönitz <poenitz@gmx.net>
1113 * insettext.C: use new RowPainter interface
1115 2003-08-18 John Levon <levon@movementarian.org>
1117 * insetref.C: require amsmath for eqref
1119 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1123 * insetbranch.[Ch]: implements the 'branch inset'
1124 idea. This allows the output of various versions of a document
1125 from a single source version, selectively outputing or suppressing
1126 output of parts of the text.
1127 This implementation contains a 'branch list editor' in a separate
1128 tab of the document settings dialog. Branches are user definable
1129 and have a "display colour" to distinguish them on-screen.
1131 ColorHandler was somewhat cleaned up.
1132 (1) make possible a dynamically growing LColor list by allowing
1133 the graphic context cache to grow along (vector);
1134 (2) eliminate an IMHO unnecessary step in colour allocation.
1136 2003-08-15 André Pönitz <poenitz@gmx.net>
1138 * insettext.[Ch]: adjust after rowlist split
1140 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1142 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1143 rename valign-center to valign-middle;
1144 rename VALIGN_CENTER to VALIGN_MIDDLE
1146 2003-08-11 André Pönitz <poenitz@gmx.net>
1148 * inset.h: remove resizeLyXText
1151 * insetcollapsable.[Ch]:
1153 * insettabular.[Ch]: adjust
1155 * insettext.[Ch]: remove saveLyXTextState,
1156 restoreLyXTextStat, sstate, reinitLyXText
1158 2003-08-07 André Pönitz <poenitz@gmx.net>
1160 * inset.[Ch]: move non-crucial functions out-of-line
1162 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1163 remove duplicated code.
1165 2003-08-05 André Pönitz <poenitz@gmx.net>
1168 * insetcollapsable.[Ch]:
1178 * insettabular.[Ch]:
1181 * updatableinset.[Ch]: rip out "deep update"
1183 * insettext.C (localDispatch): merge cases with default branch
1185 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1187 * insettabular.[Ch] (updateLocal): simplify logic
1189 2003-08-04 André Pönitz <poenitz@gmx.net>
1191 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1192 is 'FULL' all the time.
1194 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1196 * insetert.C (get_new_label): only add ... to the (closed) label
1197 when the string has been shortened
1199 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1201 * Always use std::endl with lyxerr
1203 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1205 * insetnote.C: update \author list
1207 2003-07-31 André Pönitz <poenitz@gmx.net>
1209 * insetcollapsable.h:
1210 * insettabular.[Ch]:
1211 * insettext.[Ch]: remove toggleSelection
1213 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1215 (with help from Juergen Spitzmueller)
1216 * insetnote.C: add add i18n support. Use Prefs-definable
1217 colours for Comment and Greyedout.
1219 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1221 * insetcollapsable.[Ch]:
1223 * insetert.C: factor out the detection of clicking on the inset
1224 button as 'hitButton'. John Levon contributed.
1226 2003-07-30 André Pönitz <poenitz@gmx.net>
1228 * insetcollapsable.C:
1230 * insettabular.C: parantheses, localize vars etc.
1232 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1234 * insetnote.C: Implement a newenvironment in preamble for
1235 greyedout. Patch provided by Jürgen Spitzmüller.
1237 2003-07-29 Angus Leeming <leeming@lyx.org>
1239 * insetcommand.C (localDispatch): default to
1240 InsetOld::localDispatch.
1242 * insetbibitem.C (localDispatch):
1243 * insetbibtex.C (localDispatch): remove call to
1244 ChangeCitationsIfUnique.
1246 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1248 * insetexternal.C (read): use pushpophelper.
1250 2003-07-28 José Matos <jamatos@lyx.org>
1252 * insetext.C (read): \end_document replaces \the_end.
1254 2003-07-28 José Matos <jamatos@fep.up.pt>
1256 * insetert.C (write): \layout -> \begin_layout.
1257 Add missing \end_layout.
1259 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1261 * insetquotes.C: document a bit the format
1263 * insettabular.C (write): remove extra space
1265 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1266 * insetnote.C: Umpf. Hope I *now* get it right :-(
1268 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1269 *insetnote.C: did the right fix to greyedout: \color
1270 instead of \textcolor.
1272 2003-07-28 Angus Leeming <leeming@lyx.org>
1274 * insetbibtex.h: remove extraneous forward declaration.
1277 * insetbibtex.h: Also remove long-dead Holder member class
1280 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1282 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1285 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1287 * insetwrap.C (addToToc): adjust for lyx::toc
1289 * insetfloatlist.C (ascii): adjust for lyx::toc
1291 * insetfloat.C (addToToc): adjust for lyx::toc
1293 2003-07-27 José Matos <jamatos@fep.up.pt>
1295 * insetnote.h (linuxdoc,docbook): update support.
1297 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1299 * insetfloat.C (wide): add a space to label, for consistency
1301 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1303 * insettext.C (nextChange): adjust for lyx::find
1304 (searchForward): ditto
1305 (searchBackward): ditto
1307 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1309 * insetgraphicsParams.C:
1310 * insetexternal.C: declare extern displayTranslator
1313 * renderers.C: add #include "support/LAssert.h"
1315 2003-07-27 José Matos <jamatos@fep.up.pt>
1317 * insetfloat.[Ch] (linuxdoc):
1318 * insetgraphics.C (linuxdoc):
1319 * insettabular.C (linuxdoc):
1320 * insettext.[Ch] (linuxdoc): add support for tables and figures
1323 2003-07-27 José Matos <jamatos@fep.up.pt>
1325 * insetinclude (latex): comply with makeLaTeXFile argument change.
1327 2003-07-26 Asger Alstrup <alstrup@local>
1329 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1330 the undo crashes. We'll see what problems other places this will
1333 2003-07-26 Angus Leeming <leeming@lyx.org>
1335 * insetgraphics.C: remove unused declaration of system_tempdir.
1337 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1339 * rename Inset to InsetOld
1341 * all inset files (clone): return a auto_ptr<InsetBase>
1343 2003-07-23 Angus Leeming <leeming@lyx.org>
1345 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1347 2003-07-23 Angus Leeming <leeming@lyx.org>
1349 * mailinset.[Ch] (inset2string):
1350 * insetcommand.[Ch] (inset2string):
1351 * insetert.[Ch] (inset2string):
1352 * insetexternal.[Ch] (inset2string):
1353 * insetfloat.[Ch] (inset2string):
1354 * insetgraphics.[Ch] (inset2string):
1355 * insetinclude.[Ch] (inset2string):
1356 * insetminipage.[Ch] (inset2string):
1357 * insetnote.[Ch] (inset2string):
1358 * insettabular.[Ch] (inset2string):
1359 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1361 * insetexternal.[Ch]:
1362 * insetgraphics.[Ch]: get rid of the view() function. Associated
1363 changes to the mailers' string2params and params2string functions.
1365 2003-07-23 Angus Leeming <leeming@lyx.org>
1367 * insetexternal.[Ch]: store the external file name in a FileName
1368 member variable rather than a string + associated changes.
1370 2003-07-21 Angus Leeming <leeming@lyx.org>
1372 * insetgraphicsParams.[Ch]: store the graphics file name in
1373 a FileName member variable rather than a string.
1375 * insetgraphics.[Ch]:
1376 * insetgraphicsParams.[Ch]: Associated changes.
1378 2003-07-21 Angus Leeming <leeming@lyx.org>
1380 * insetgraphics.[Ch] (string2params, params2string): passed a
1381 buffer_path argument.
1384 2003-07-21 Angus Leeming <leeming@lyx.org>
1387 * insetgraphicsParams.[Ch]:
1389 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1391 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1393 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1395 2003-07-18 André Pönitz <poenitz@gmx.net>
1398 * insetminipage.[Ch]:
1399 * insettabular.[Ch]:
1402 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1404 2003-07-18 André Pönitz <poenitz@gmx.net>
1408 * insetcollapsable.C:
1412 * insetgraphics.[Ch]:
1413 * insetlatexaccent.[Ch]:
1418 * insetspecialchar.C:
1419 * insettabular.[Ch]:
1421 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1423 2003-07-17 André Pönitz <poenitz@gmx.net>
1425 * insetcollapsable.C:
1427 * insettext.C: don't call Inset::update() anymore
1430 * insettabular.[Ch]: remove unneeded in_update_ members
1432 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1434 2003-07-16 André Pönitz <poenitz@gmx.net>
1436 * insettext.C (selectAll): remove
1438 2003-07-16 John Levon <levon@movementarian.org>
1441 * insetnote.C: implement showInsetDialog()
1443 2003-07-15 André Pönitz <poenitz@gmx.net>
1446 * insettext.C: refresh_status tristate -> need_update bool
1448 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1450 * insettext.C: adjust call to LyXText::init
1452 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1454 * insettext.C: use bufferview_funcs->replaceSelection()
1455 to delete selections in some cases (bugs 441, 673, 702, 954).
1457 2003-07-14 André Pönitz <poenitz@gmx.net>
1459 * insettext.C (draw): use slimmed down rowpainter interface
1461 2003-07-14 André Pönitz <poenitz@gmx.net>
1463 * insetcollapsable.C:
1465 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1466 remove unused BufferView * argument
1468 2003-07-14 André Pönitz <poenitz@gmx.net>
1470 * insettext.[Ch]: used cached metrics a bit more
1472 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1474 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1476 2003-07-10 André Pönitz <poenitz@gmx.net>
1479 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1481 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1483 * introduce namespace lyx::graphics
1485 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1487 * introduce namespace lyx::support
1489 2003-06-30 André Pönitz <poenitz@gmx.net>
1491 * insetcite.C (localDispatch): fix case of missing return value
1493 * insetcite.C (ascii): remove unneeded temporary
1495 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1497 * insetspace.h: fix \file
1499 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1500 * insetinclude.C (fillWithBibKeys): ditto
1502 * insetbibitem.C: fix type const order
1504 * inset.C (getLyXText): add varname for arg
1506 * ExternalTemplate.h: fix type const order
1508 2003-06-27 André Pönitz <poenitz@gmx.net>
1510 * insettext.C: take care of removed LyXCursor::row_ member
1512 * insettext.[Ch]: use new TextCursor struct for sstate
1514 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1516 * inseterror.[Ch]: removed
1518 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1520 * insetinclude.C (docbook): use parseError instead of sgmlError
1522 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1524 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1525 of BufferList::loadLyXFile
1527 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1529 * insettext.C (update): simplify
1530 (updateLocal): remove commented code
1531 (insetUnlock): simplify
1532 (lockInset): simplify
1533 (updateInsetInInset): simplify
1534 (localDispatch): simplify
1536 (resizeLyXText): simplify
1537 (collapseParagraphs): simplify
1539 * insetert.C (get_new_label): simplify
1541 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1543 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1544 pasteSelection with index
1546 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1548 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1550 2003-06-16 André Pönitz <poenitz@gmx.net>
1552 * insetbase.h: new virtual base function clone()
1554 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1555 Inset * clone() -> InsetBase * clone()
1557 2003-06-13 André Pönitz <poenitz@gmx.net>
1559 * insettabular.[Ch]: make tabular a proper member
1561 2003-06-12 André Pönitz <poenitz@gmx.net>
1563 * insettabular.[Ch]: some renaming plus whitespace
1565 2003-06-11 Angus Leeming <leeming@lyx.org>
1567 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1570 * insetbutton.[Ch]: removed.
1571 * graphicinset.[Ch]: renamed as renderers.[Ch].
1573 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1574 Create a new class ButtonRenderer using the InsetButton::metrics() and
1576 Derive both from a common RenderedInset base class.
1578 * insetcommand.[Ch]:
1579 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1580 Give it a ButtonRenderer member variable. Use it.
1581 Give the classes working copy c-tors.
1582 No longer derive from boost::noncopyable.
1584 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1585 display its contents as a button or as a graphic.
1587 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1590 2003-06-11 Angus Leeming <leeming@lyx.org>
1592 * insetcite.C (localDispatch): reformat.
1594 * insetref.C (localDispatch): enable dialog to be lauched.
1596 2003-06-11 John Levon <levon@movementarian.org>
1598 * insettabular.C: correctly mark all cells as erased
1600 2003-06-11 Angus Leeming <leeming@lyx.org>
1602 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1603 ExternalTemplate but its name, templatename. This means that a file
1604 containing a reference to an External Template not installed on the
1605 current machine will be saved retaining this info rather than inserting
1606 the first "valid" template from the list of templates.
1608 As a by product, the visual statement that the Template is missing is
1611 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1613 * insettext.C (appendParagraphs): remove some commented code.
1615 2003-06-10 Angus Leeming <leeming@lyx.org>
1617 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1620 * insetexternal.[Ch]: move tempname_ into the Params struct.
1621 (Params d-tor): new function, to clean-up this temp file.
1622 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1624 (editExternal, doSubstitution): move out of class.
1626 2003-06-10 Angus Leeming <leeming@lyx.org>
1628 * graphicinset.[Ch] (params): removed.
1629 * graphicinset.h (operator=): declared private but not defined.
1630 (statusMessage): made private.
1632 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1634 2003-06-07 John Levon <levon@movementarian.org>
1636 * insetert.C (latex): make a newline mean just that not
1639 2003-06-07 José Matos <jamatos@fep.up.pt>
1641 * insethfill.[Ch] (linuxdoc, docbook): implement output
1642 * insetspace.C (linuxdoc, docbook): remove coments as the code
1645 2003-06-06 José Matos <jamatos@fep.up.pt>
1647 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1649 2003-06-06 André Pönitz <poenitz@gmx.net>
1651 * insetwrap.[Ch]: code compactification
1653 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1655 * mailinset.C (updateDialog): use Dialogs::visible
1657 2003-06-04 Angus Leeming <leeming@lyx.org>
1659 * graphicinset.C (draw): add a comment for the #if 0 block.
1661 * insetexternal.h: remove Params::parameters variable.
1662 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1663 and read it back making full use of LyXLex.
1665 2003-06-04 André Pönitz <poenitz@gmx.net>
1667 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1669 2003-06-04 John Levon <levon@movementarian.org>
1671 * insettabular.C: back out tall table speed up. It was broken
1673 2003-06-03 Angus Leeming <leeming@lyx.org>
1675 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1676 Remove ViewCommand and UpdateCommand.
1678 * graphicinset.C (update): bug fix. Set the params before calling the
1680 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1681 BufferView cache to enable the InsetExternal::editCommand to be invoked
1682 from the frontends. Would not be needed if this were dispatched properly.
1683 (old_ascent_): variable removed.
1685 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1686 do any necessary conversions of external material. Also use the
1687 new GraphicsInset to display the inset within LyX.
1689 2003-06-03 Angus Leeming <leeming@lyx.org>
1691 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1692 and move it somewhere where InsetExternal can use it too.
1694 * Makefile.am: add the new files.
1696 * insetgraphics.[Ch]: make use of the new GraphicInset.
1698 2003-06-03 John Levon <levon@movementarian.org>
1701 * insetbibitem.[Ch]:
1704 * insetcommand.[Ch]:
1708 * insetexternal.[Ch]:
1712 * insetgraphics.[Ch]:
1714 * insetinclude.[Ch]:
1717 * insetlatexaccent.[Ch]:
1718 * insetmarginal.[Ch]:
1719 * insetminipage.[Ch]:
1726 * insetspecialchar.[Ch]:
1727 * insettabular.[Ch]:
1729 * insetthereom.[Ch]:
1732 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1734 * insetgraphics.[Ch]:
1735 * insetgraphicsParams.[Ch]: always store an absolute
1738 2003-06-02 André Pönitz <poenitz@gmx.net>
1742 * insetlatexaccent.C: remove duplicated call to metrics()
1744 2003-06-02 John Levon <levon@movementarian.org>
1746 * insettabular.C: fix resize of column width
1748 2003-06-02 John Levon <levon@movementarian.org>
1753 * insetparent.C: remove insetparent
1755 2003-06-02 André Pönitz <poenitz@gmx.net>
1762 * insetcollapsable.[Ch]:
1766 * insetgraphics.[Ch]:
1767 * insetinclude.[Ch]:
1768 * insetlatexaccent.[Ch]:
1769 * insetminipage.[Ch]:
1770 * insetnewline.[Ch]:
1773 * insetspecialchar.[Ch]:
1774 * insettabular.[Ch]:
1775 * insettext.[Ch]: unify first drawing phase
1778 * insetbase.h: move validate() to the base
1780 2003-05-31 Angus Leeming <leeming@lyx.org>
1782 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1784 2003-05-30 André Pönitz <poenitz@gmx.net>
1789 * insetcaption.[Ch]:
1790 * insetcollapsable.[Ch]:
1793 * insetgraphics.[Ch]:
1794 * insetinclude.[Ch]:
1795 * insetlatexaccent.[Ch]:
1796 * insetnewline.[Ch]:
1799 * insetspecialchar.[Ch]:
1800 * insettabular.[Ch]:
1802 * updatableinset.[Ch]: unify second drawing phase
1804 2003-05-30 John Levon <levon@movementarian.org>
1806 * insetgraphics.C: fix a bformat
1808 2003-05-29 John Levon <levon@movementarian.org>
1810 * insettabular.C: remove unused bufferOwner()
1812 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1814 * insettext.C (lockInsetInInset): adjust
1815 (getLabelList): use const_iterator, adjust
1816 (getInsetFromID): use const_iterator, adjust
1817 (addPreview): use const_iterator, adjust
1819 * insetwrap.C (clone): remove const_cast
1821 * insetnote.C (clone): remove const_cast
1823 * insetminipage.C (clone): remove const_cast
1825 * insetmarginal.C (clone): remove const_cast
1827 * insetfoot.C (clone): remove const_cast
1829 * insetfloat.C (clone): remove const_cast
1831 * insetert.C (clone): remove const_cast
1833 * delete commented same_id functions from a lot of files.
1835 2003-05-28 John Levon <levon@movementarian.org>
1841 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1843 * insetminipage.C: fix metrics (bug 1144)
1845 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1847 * insettext.C (saveLyXTextState): adjust
1848 (restoreLyXTextState): adjust
1851 (unlockInsetInInset): adjust
1852 (localDispatch): adjust
1853 (getLyXText): adjust
1855 * insettabular.C (insertAsciiString): adjust
1857 2003-05-27 André Pönitz <poenitz@gmx.net>
1860 * insetcollapsable.C:
1863 * insetlatexaccent.C:
1868 * insetspecialchar.C:
1870 * insettext.C: dim.w -> dim.wid
1872 2003-05-26 John Levon <levon@movementarian.org>
1874 * insettabular.C: avoid drawing all of a long table
1875 if it's not needed. A big speedup
1877 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1879 * remove same_id from function signatures, adjust
1881 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1883 * insettext.C (InsetText): adjust
1885 (setParagraphData): separate same_id cases, adjust
1886 (appendParagraphs): adjust
1887 (appendParagraphs): adjust
1889 2003-05-23 André Pönitz <poenitz@gmx.net>
1891 * insetbutton.h: whitespace
1893 * insettabular.C: more compact code
1895 * updatableinset.C: remove const_cast
1898 2003-05-23 Angus Leeming <leeming@lyx.org>
1900 * insetexternal.C (write): check how many lines are output.
1901 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1902 if the template has defined it.
1904 2003-05-23 Angus Leeming <leeming@lyx.org>
1906 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1908 2003-05-23 Angus Leeming <leeming@lyx.org>
1910 * insetfoot.C (latex):
1911 * inseturl.C (latex): rename fragile as moving_arg.
1913 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1915 * inseterror.C (localDispatch): comment out unused var.
1917 2003-05-22 Angus Leeming <leeming@lyx.org>
1919 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1920 passed through the LatexRunParams arg.
1922 2003-05-22 Angus Leeming <leeming@lyx.org>
1924 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1925 through the LatexRunParams arg.
1927 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1928 arg rather than through a global var.
1930 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1932 * insetspecialchar.C (dimension): use a string.
1934 2003-05-22 Angus Leeming <leeming@lyx.org>
1936 * insetbibtex.C (latex):
1937 * insetgraphics.C (latex):
1938 * insetinclude.C (latex): extract the buffer's 'nice'ness from
1939 runparams rather than from the buffer itself.
1941 2003-05-22 Angus Leeming <leeming@lyx.org>
1943 * inset*.[Ch] (latex):
1944 passed a LatexRunParams parameter.
1946 * insetgraphics.C (latex): actually use it ;-)
1948 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
1950 * insetfloat.C (addToToc): trivial compile fix
1952 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1954 * insettext.[Ch] (paragraph): delete unused function
1956 * insetfloat.C (addToToc): parlist simplfication
1958 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1960 * insetspace.[Ch]: added (new space insets)
1962 * inset.h: handle new space insets
1964 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1966 * insetfloat.C (addToToc): adjust
1968 2003-05-21 André Pönitz <poenitz@gmx.net>
1970 * insettext.[Ch]: fix drawing bug introduced earlier
1972 2003-05-19 André Pönitz <poenitz@gmx.net>
1974 * insetspecialchar.C: fix bug introduced yesterday
1976 2003-05-19 André Pönitz <poenitz@gmx.net>
1980 * insetcollapsable.[Ch]:
1984 * insetgraphics.[Ch]:
1985 * insetgraphicsParams.[Ch]:
1986 * insetlatexaccent.[Ch]:
1987 * insetminipage.[Ch]:
1988 * insetnewline.[Ch]:
1990 * insetspecialchar.[Ch]:
1991 * insettabular.[Ch]:
1992 * insettext.[Ch]: dimensions() instead of ascend/descend/width
1994 2003-05-19 André Pönitz <poenitz@gmx.net>
1997 * insettext.C: more insetenv
1999 2003-05-16 André Pönitz <poenitz@gmx.net>
2002 * insetminimpage.[Ch]:
2003 * insetcollapsable.[Ch]: fix #832
2005 2003-05-16 André Pönitz <poenitz@gmx.net>
2008 * insetbibitem.[Ch]:
2012 * insetcollapsable.[Ch]:
2013 * insetcommand.[Ch]:
2016 * insetexternal.[Ch]:
2017 * insetfloatlist.[Ch]:
2018 * insetgraphics.[Ch]:
2019 * insetinclude.[Ch]:
2022 * insetlatexaccent.[Ch]:
2025 * insettabular.[Ch]:
2029 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2031 2003-05-13 André Pönitz <poenitz@gmx.net>
2034 * insetcollapsable.C:
2038 * insetwrap.C: tostr from own header
2050 * insetwrap.C: STRCONV
2053 2003-05-12 André Pönitz <poenitz@gmx.net>
2065 * insetwwrap.C: boost::format -> bformat all over the place
2067 2003-05-05 André Pönitz <poenitz@gmx.net>
2069 * insettext.h: add missing #include <map>
2071 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2073 * insettext.C (InsetText): parlist cleanup
2076 (insetUnlock): ditto
2078 (lockInsetInInset): ditto
2082 (searchBackward): ditto
2083 (collapseParagraphs): ditto
2085 2003-05-06 John Levon <levon@movementarian.org>
2087 * insetcaption.C: don't cast wrap inset to InsetFloat
2090 * insetfloat.C: remove unneeded type() function
2092 2003-05-05 André Pönitz <poenitz@gmx.net>
2096 * insettabular.[Ch]:
2097 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2098 replace getFirstParagraph() by getParagraphs()
2100 2003-05-03 John Levon <levon@movementarian.org>
2102 * insetcollapsable.h:
2103 * insetcollapsable.C:
2109 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2110 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2111 getCursor(). Remove explicit cursor hides.
2113 2003-05-02 André Pönitz <poenitz@gmx.net>
2115 * insettext.C: remove unneeded &*
2117 2003-04-30 John Levon <levon@movementarian.org>
2119 * insettabular.C: fix edit message
2121 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2123 * insettext.C (setFont): do not convert iterator -> pointer
2125 * insettabular.C (localDispatch): do not convert iterator -> pointer
2127 (tabularFeatures): ditto
2129 2003-04-29 André Pönitz <poenitz@gmx.net>
2131 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2133 2003-04-28 André Pönitz <poenitz@gmx.net>
2135 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2138 2003-04-25 André Pönitz <poenitz@gmx.net>
2140 * insetenv.C: derive from InsetText instead of InsetCollapsable
2142 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * insetexternal.C (string2params): dont do anything if the string
2146 * insetgraphics.C (string2params): ditto
2147 * insetcommand.C (string2params): ditto
2148 * insetert.C (string2params): ditto
2149 * insetfloat.C (string2params): ditto
2150 * insetinclude.C (string2params): ditto
2151 * insetminipage.C (string2params): ditto
2152 * insettabular.C (string2params): ditto
2153 * insetwrap.C (string2params): ditto
2155 2003-04-24 André Pönitz <poenitz@gmx.net>
2157 * insetref.C: support for eqref
2159 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2161 * insetert.C (read): use ParagraphList::iterator.
2163 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2165 * insetquotes.C (latex): comment some code and add warnings.
2167 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2169 * insetexternal.C (localDispatch): added a missing DISPATCHED
2171 2003-04-12 John Levon <levon@movementarian.org>
2173 * insetwrap.C (addToToc): fix a crash, conversion
2174 from while to for loop forgot to remove the explicit
2177 2003-04-10 John Levon <levon@movementarian.org>
2179 * insettabular.C (tabularFeature): make sure
2180 to update the dialog when we change something
2183 (getStatus): don't disable some lfuns (bug 939)
2185 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2187 * insettext.C (saveLyXTextState): adjust
2188 (localDispatch): adjust
2194 * insettabular.C (localDispatch): adjust
2196 (tabularFeatures): adjust
2198 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2200 * insettabular.C (searchForward,searchBackward): fix bug 782
2202 2003-04-07 John Levon <levon@movementarian.org>
2205 * insettext.C: clear status message on inset exit
2207 2003-04-03 John Levon <levon@movementarian.org>
2209 * insetcommand.C: return dispatched on DIALOG_UPDATE
2211 2003-04-02 John Levon <levon@movementarian.org>
2213 * insettabular.C: tab lfuns renamed
2215 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2217 * insettext.C (update): move towards ParagraphList
2218 (updateLocal): ditto
2220 (insetUnlock): ditto
2222 (lockInsetInInset): ditto
2223 (updateInsetInInset): ditto
2224 (localDispatch): ditto
2227 (resizeLyXText): ditto
2228 (searchBackward): ditto
2229 (collapseParagraphs): ditto
2232 * insetwrap.C (InsetWrap): adjust
2233 (addToToc): adjust and rewrite loop
2235 * insettext.[Ch] (paragraph): delete function
2237 * insettabular.C (moveNextCell): adjust
2238 (movePrevCell): adjust
2239 (insertAsciiString): adjust
2241 * insetfloat.C (InsetFloat): adjust
2244 * insetert.C (InsetERT): adjust
2245 (write): adjust, and rewrite loop
2246 (latex): adjust, and rewrite loop
2247 (linuxdoc): adjust, and rewrite loop
2248 (docbook): adjust, and rewrite loop
2249 (localDispatch): adjust
2250 (get_new_label): adjust
2252 2003-04-01 John Levon <levon@movementarian.org>
2254 From Alfredo Braunstein
2257 * insetbutton.C: add localDispatch()
2259 * insetcommand.C: return DISPATCHED when edit() called
2261 * insettext.C: fix bug 967
2263 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2265 * insettext.C: adjust
2267 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2269 * insettext.C (draw): adjust
2270 (crow): return a RowList::iterator not a Row*
2272 * insetminipage.C (localDispatch): adjust
2274 * insetert.C (localDispatch): adjust
2276 2003-03-31 John Levon <levon@movementarian.org>
2279 * insetgraphicsParams.C: use_gui moved to lyx_gui
2281 2003-03-31 John Levon <levon@movementarian.org>
2283 * insettext.C: Alert fix
2285 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2287 * insettext.C (ascent): adjust for RowList
2290 (getLyXText): adjust
2291 (toggleSelection): adjust
2293 * insetminipage.C (localDispatch): adjust for RowList
2295 * insetert.C (localDispatch): adjust for RowList
2296 (getMaxWidth): adjust for RowList
2298 2003-03-29 John Levon <levon@movementarian.org>
2300 * insetert.C: Alert cleanup
2302 2003-03-29 John Levon <levon@movementarian.org>
2304 * insettabular.C: Alert fix
2306 2003-03-28 John Levon <levon@movementarian.org>
2308 * insetfloat.C: reset label on INSET_MODIFY
2310 2003-03-28 John Levon <levon@movementarian.org>
2312 * insetgraphicsParams.C: read subcaptionText as a whole line
2315 2003-03-28 John Levon <levon@movementarian.org>
2317 * insettext.C: remove unused prototypes
2319 2003-03-25 Angus Leeming <leeming@lyx.org>
2321 * insetbibitem.C (localDispatch): repaint the view after modifying
2322 a bibitem inset in case the maximum InsetBibitem width has changed.
2324 2003-03-25 John Levon <levon@movementarian.org>
2327 * insettabular.C: LyXText renamings
2329 2003-03-24 John Levon <levon@movementarian.org>
2331 * insettext.C: remove some dead code. Fix bug 972 and
2332 related by posting a repaint in updateLocal(), and making
2333 the SEL functions set SELECTION.
2335 2003-03-22 John Levon <levon@movementarian.org>
2338 * inset.C: remove no-longer-needed topx_set
2340 * insetcollapsable.h:
2341 * insetcollapsable.C: remove dead code
2344 * insetert.C: rebreak the rows when a possible
2345 change in size is made, and reset the cursor
2348 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2350 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2351 topx_set. Fix drawing errors for clearInset(). Remove
2352 some unnecessary uses of topx, which should die.
2354 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2355 is no longer needed. Replace it with an ugly hack.
2357 2003-03-20 John Levon <levon@movementarian.org>
2360 * insetcollapsable.h:
2361 * insetcollapsable.C:
2369 * insettext.C: remove spurious font parameter
2370 from update(). Fix drawing of ERT insets inside
2371 insets (bug 966). Remove unused mark_dirty from
2372 tabular's updateLocal()
2374 2003-03-19 John Levon <levon@movementarian.org>
2383 * insetwrap.C: remove unused getter/setters
2385 2003-03-19 John Levon <levon@movementarian.org>
2387 * several files: bv->updateInset() doesn't take
2388 a bool mark_dirty any more
2390 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2392 * adjust for BufferView* arg removal from lyxtext.
2394 2003-03-17 John Levon <levon@movementarian.org>
2396 * most files: remove the "cleared" parameter
2397 to draw in favour of always clearing. Associated
2400 2003-03-16 John Levon <levon@movementarian.org>
2402 * insettext.C: remove unused s.refresh
2404 2003-03-13 Angus Leeming <leeming@lyx.org>
2406 * insettext.C (edit): replace Dialogs::updateParagraph with
2407 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2409 2003-03-13 André Pönitz <poenitz@gmx.net>
2411 * Makefile.am: insert insetenv
2413 * insethenv.[Ch]: new files, currently inactive
2415 2003-03-12 John Levon <levon@movementarian.org>
2425 * insettext.C: use new insetnewline
2427 2003-03-12 John Levon <levon@movementarian.org>
2429 * insettext.C: readToken became readParagraph
2431 2003-03-12 John Levon <levon@movementarian.org>
2433 * insettext.C: use parlist iterator for reading contents
2435 2003-03-12 John Levon <levon@movementarian.org>
2437 * insettext.C: name change to readToken()
2439 2003-03-11 André Pönitz <poenitz@gmx.net>
2441 * Makefile.am: insert insethfill
2443 * insethfill.[Ch]: new files
2445 2003-03-10 Angus Leeming <leeming@lyx.org>
2447 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2449 (hideDialog): calls the new static Dialogs::hide() method.
2451 * insetbibitem.C (edit):
2452 * insetbibtex.C (edit):
2453 * insetcite.C (edit):
2454 * insetcommand.C (localDispatch):
2455 * inseterror.C (d-tor):
2456 * insetert.C (showInsetDialog):
2457 * insetexternal.C (localDispatch, edit):
2458 * insetfloat.C (localDispatch, showInsetDialog):
2459 * insetfloatlist.C (edit):
2460 * insetgraphics.C (localDispatch, edit):
2461 * insetinclude.C (localDispatch, edit):
2462 * insetindex.C (edit):
2463 * insetlabel.C (edit):
2464 * insetminipage.C (localDispatch, showInsetDialog):
2465 * insetref.C (edit):
2466 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2467 resetPos, showInsetDialog, openLayoutDialog):
2468 * insettoc.C (edit):
2469 * inseturl.C (edit):
2470 * insetwrap.C (localDispatch, showInsetDialog):
2471 changes due to the changed MailInset interface.
2473 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2475 * insetfloat.h: Set default placement to an empty string.
2477 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2479 * insettext.C (latex): adjust call to latexParagraphs.
2481 2003-03-10 Angus Leeming <leeming@lyx.org>
2483 * mailinset.C: warn the user if the BufferView has not been cached.
2485 2003-03-10 Angus Leeming <leeming@lyx.org>
2487 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2489 * insetcommand.h (inset):
2490 * insetert.h (inset):
2491 * insetexternal.h (inset):
2492 * insetfloat.h (inset):
2493 * insetgraphics.h (inset):
2494 * insetinclude.h (inset):
2495 * insetminipage.h (inset):
2496 * insettabular.h (inset):
2497 * insetwrap.h (inset):
2498 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2500 2003-03-10 Angus Leeming <leeming@lyx.org>
2502 * insetcommand.C (string2params):
2503 * insetexternal.C (string2params):
2504 * insetfloat.C (string2params):
2505 * insetgraphics.C (string2params):
2506 * insetinclude.C (string2params):
2507 * insetminipage.C (string2params):
2508 * insettabular.C (string2params):
2509 * insetwrap.C (string2params): cure warning message about missing
2512 2003-03-09 Angus Leeming <leeming@lyx.org>
2514 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2515 it to communicate with the frontend dialogs.
2517 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2518 contents of this inset!
2520 2003-03-07 Angus Leeming <leeming@lyx.org>
2522 * inseterror.C (localDispatch): new method; calls edit() on
2525 2003-03-07 Angus Leeming <leeming@lyx.org>
2527 * insetbibitem.C (localDispatch):
2528 * insetbibtex.C (localDispatch):
2529 * insetlabel.C (localDispatch):
2530 rewrite as a switch.
2532 2003-03-07 Angus Leeming <leeming@lyx.org>
2534 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2535 it to communicate with the frontend dialogs.
2537 2003-03-07 Angus Leeming <leeming@lyx.org>
2539 * insetexternal.C: remove operator== and operator!= for
2540 InsetExternal::Params. They were used only by the old controller
2543 2003-03-07 Angus Leeming <leeming@lyx.org>
2545 * insetcommand.C (localDispatch):
2546 * insetexternal.C (localDispatch):
2547 * insetfloat.C (localDispatch):
2548 * insetinclude.C (localDispatch):
2549 * insetminipage.C (localDispatch):
2550 * insetwrap.C (localDispatch):
2551 add LFUN_INSET_DIALOG_UPDATE to the switch.
2553 2003-03-07 Angus Leeming <leeming@lyx.org>
2555 * insetcommand.C (string2params):
2556 * insetexternal.C (string2params):
2557 * insetfloat.C (string2params):
2558 * insetinclude.C (string2params):
2559 * insetwrap.C (string2params): use LyXLeX more.
2562 * insetexternal.[Ch]:
2564 * insetinclude.[Ch]:
2565 * insetwrap.[Ch]: change Mailer::name_ to be static.
2567 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2568 it to communicate with the frontend dialogs.
2570 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2573 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2575 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2577 * insettext.C (updateLocal): un-const function
2578 (updateLocal): adjust
2579 (collapseParagraphs): un-const function
2580 (collapseParagraphs): adjust
2582 2003-03-05 Angus Leeming <leeming@lyx.org>
2584 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2585 it to communicate with the frontend dialogs.
2587 2003-03-05 Angus Leeming <leeming@lyx.org>
2589 * insetcollapsable.C (draw): cache the BufferView.
2591 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2592 it to communicate with the frontend dialogs.
2594 2003-03-05 Angus Leeming <leeming@lyx.org>
2596 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2599 2003-03-05 Angus Leeming <leeming@lyx.org>
2601 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2603 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2604 it to communicate with the frontend dialogs.
2606 2003-03-05 Angus Leeming <leeming@lyx.org>
2608 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2609 it to communicate with the frontend dialogs.
2611 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2613 * insettext.C (collapseParagraphs): adjust
2614 (appendParagraphs): make it take a Buffer* instead of a
2615 BufferParams& as arg.
2616 (appendParagraphs): adjust
2618 2003-03-04 Angus Leeming <leeming@lyx.org>
2620 * insetbibitem.C (localDispatch):
2621 * insetbibtex.C (localDispatch):
2622 * insetcommand.C (localDispatch):
2623 * insetert.C (localDispatch):
2624 * insetlabel.C (localDispatch):
2625 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2627 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2629 * insettext.C (latex): adjust for ParagraphList::iterator
2631 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2633 * insetbutton.C (view): adjust for boost 1.30.0
2634 * insetcollapsable.C (view): ditto
2635 * insetgraphics.C (statusChanged): ditto
2637 * insettext.h: move paragraphs to be public.
2639 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2641 * insetnote.[Ch] (InsetNote): remove unused constructor
2643 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2645 * insetgraphics.C: added include "format.h"
2647 2003-02-27 Angus Leeming <leeming@lyx.org>
2649 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2652 2003-02-27 Angus Leeming <leeming@lyx.org>
2654 * insetbibitem.C (localDispatch):
2655 * insetbibtex.C (localDispatch):
2658 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2660 2003-02-26 Angus Leeming <leeming@lyx.org>
2662 * insetbibitem.[Ch] (localDispatch):
2663 * insetbibtex.[Ch] (localDispatch):
2664 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2666 * insetcommand.C (localDispatch):
2667 act only on receipt of LFUN_XYZ_APPLY.
2669 * insetert.C (localDispatch): reformat.
2670 add LFUN_XYZ_APPLY to the switch.
2672 2003-02-26 John Levon <levon@movementarian.org>
2674 * insettext.C: use RowPainter
2676 * inset.h: make helpers take const *
2678 2003-02-26 Angus Leeming <leeming@lyx.org>
2680 * insetcommand.[Ch] (localDispatch): new method.
2682 2003-02-26 Angus Leeming <leeming@lyx.org>
2684 * insetinclude.C (draw): cache the BufferView* using cache not
2685 PreviewImpl::setView
2687 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2689 * insetgraphics.C (draw)
2690 * insetinclude.C (draw): Eliminate also the other argument (owner
2691 inset inset) in the call to PreviewImage::image
2693 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2695 * insetgraphics.C (draw)
2696 * insetinclude.C (draw): Eliminate Buferview argument in call to
2699 2003-02-25 John Levon <levon@movementarian.org>
2701 * insetgraphicsParams.h:
2702 * insetgraphics.C: don't start a load process if
2703 the inset is set to NoDisplay (bug #920)
2705 2003-02-22 John Levon <levon@movementarian.org>
2708 * insetwrap.C: TocItem changed API (bug 913)
2710 2003-02-21 Angus Leeming <leeming@lyx.org>
2712 * insetcollapsable.[Ch] (cache, edit):
2713 * insetbutton.[Ch] (cache, edit): new methods to cache the
2714 BufferView in the draw method.
2716 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2717 simplify comunication between InsetCommand-derived classes and
2720 * insetbibitem.[Ch]:
2724 * insetfloatlist.[Ch]:
2728 * inseturl.[Ch]: small changes to reflect the new interface to the
2731 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2732 other, similar classes.
2734 * Makefile.am: add new files.
2736 2003-02-21 Angus Leeming <leeming@lyx.org>
2738 * updatableinset.h (setView, view): remove.
2739 * inset.h (view, cache): to be replaced by these.
2741 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2744 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2747 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2749 2003-02-21 Allan Rae <rae@lyx.org>
2751 * insetinclude.C (loadIfNeeded): ensure loading also works when
2752 child document is under version control.
2754 2003-02-17 André Pönitz <poenitz@gmx.net>
2756 * insetbib.[Ch]: Adjust access to bibkeys
2758 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2760 * insetquotes.C (dispString): remove use of acute accent for "'"
2763 2003-02-14 John Levon <levon@movementarian.org>
2765 * insettabular.C: changed method names in tabular.C
2767 2003-02-14 John Levon <levon@movementarian.org>
2771 * insetcollapsable.h:
2772 * insetcollapsable.C:
2776 * insettext.C: remove unused getParFromID()
2778 2003-02-13 John Levon <levon@movementarian.org>
2781 * insettext.C: remove unused beginningofMainBody()
2783 2003-02-08 John Levon <levon@movementarian.org>
2787 * insetcollapsable.h:
2788 * insetcollapsable.C:
2793 add nextChange(). Make allowSpellcheck() const. Add markErased().
2795 * insetert.C: ignore deleted text
2797 * insettabular.C: make sure to keep change tracking working
2800 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2805 * insettext.C: Use error messages with identical spelling and punctuation
2807 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2809 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2811 2002-12-17 Juergen Vigna <jug@lyx.org>
2813 * insettext.C (localDispatch): hopefully fixed cursor up down
2814 movement on leaving other insets.
2816 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2818 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2821 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2823 * insetgraphics.C (prepareFile): do not remove the extension of
2824 the file name if it is not the default extension for the given
2825 format (that is, in latex output, remove extension from foo.eps,
2826 but not from foo.epsi)
2828 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2830 * insettext.C (lfunMouseRelease): hackish solution to the "double
2833 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2835 * insetfloat.C (addToToc): use the floats name not its type
2836 * insetwrap.C (addToToc): ditto
2838 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2840 * insetnote.C (init): make label font smaller
2842 2002-12-04 John Levon <levon@movementarian.org>
2844 * insetinclude.C: ressurect setting of command name
2846 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2848 * insetquotes.C (dispString): disambiguate insert call
2850 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2852 * several files: ws changes
2854 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * insetquotes.C (dispString): use string::insert for prepending a
2859 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2861 * insetparent.C (getScreenLabel): use boost::format
2863 * insetgraphics.C (prepareFile): use boost::format
2866 * insetfloatlist.C (latex): use boost::format
2868 * insetcaption.C (draw): use boost::format
2870 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2872 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2875 2002-11-20 Juergen Vigna <jug@sad.it>
2877 * insettabular.C (resetPos): temporary fix for endless loop in
2878 this function on a redraw.
2880 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2882 * insettabular.C (copySelection): STRCONV
2884 * insetinclude.C (uniqueID): STRCONV
2885 (latexString): ditto
2887 * insetgraphics.C: put VersionNumber inside anon namespace
2888 (createLatexOptions): STRCONV
2890 * insetcommandparams.C: include config.h
2892 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
2894 * insetgraphicsParams.C (Write): use lyx::float_equal.
2895 Write height data correctly.
2896 (Read): zero scale when reading height data.
2898 2002-10-30 John Levon <levon@movementarian.org>
2900 * insetfloat.C (addToTOC): recursively traverse all
2901 contents looking for captions (fix #568)
2903 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2905 * insetexternal.C (doSubstitution): do not try to replace
2906 environment variables, this is done when executing the command
2908 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2910 * insetexternal.C (doSubstitution): change order of substitution
2911 to work around ReplaceEnvironmentPath brokenness
2913 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
2915 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2917 * insetgraphicsParams.C (init, Write): associated changes
2918 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2919 InsetGraphicsParams::scale.
2921 2002-10-21 John Levon <levon@movementarian.org>
2923 * inset.h: remove unused DISPATCH_RESULT
2925 * insettext.C: sgml open/close tag now in sgml namespace
2927 2002-10-21 Angus Leeming <leeming@lyx.org>
2929 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2930 file path subdir/fig.eps when pasting it into a buffer in a different
2933 2002-10-16 John Levon <levon@movementarian.org>
2935 * insetspecialchar.C: remove \\protected_separator parsing
2937 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2939 * insetquote.C: fix LaTeX output of quotation marks.
2941 2002-10-14 Juergen Vigna <jug@sad.it>
2943 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2944 Backspace functions which confused the Undo handling.
2946 2002-10-09 Angus Leeming <leeming@lyx.org>
2948 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2949 BufferView::dispatch that turns off this optimisation when a new inset
2952 * insetcite.C (getNatbibLabel): correct logic of when and when not to
2953 reload the BibTeX keys.
2955 2002-10-11 André Pönitz <poenitz@gmx.net>
2957 * insettext.h: handle LFUN_PRIOR/NEXT
2959 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2961 * insetfloat.C: fix bug with float settings
2962 (document default != float default).
2964 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2966 * insetwrap.C (addToToc): New method.
2967 (InsetWrap): Set layout to caption.
2969 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2971 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2973 2002-09-16 John Levon <levon@movementarian.org>
2975 * insettabular.h: hasSelection() needs to be public
2977 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2979 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2981 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2983 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2985 2002-09-11 André Pönitz <poenitz@gmx.net>
2987 * insettabular.C: implement LFUN_WORDSEL
2989 2002-09-10 John Levon <levon@movementarian.org>
2991 * insetinclude.h: remove unused param
2993 2002-09-09 John Levon <levon@movementarian.org>
2996 * insetinclude.C: remove noload, default to input
2998 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3000 * insetgraphics.C: disfuscated use of ']' in built output string.
3002 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3004 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3006 2002-08-29 Juergen Vigna <jug@sad.it>
3008 * insettabular.C (lfunMousePress): Pay attention where you set
3009 the x/y values as they depend on which inset in the tabular is
3010 actually locked. So you surely have to reset them if you (un)lock
3013 2002-08-29 André Pönitz <poenitz@gmx.net>
3015 * insetfootlike.h: rename include guard to ALL CAPS
3017 * insettext.C: swap object and first parameter for checkInsetHit calls
3018 as this functions has moved from BufferView to LyXText
3021 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3023 * insetgraphicsParams.C: remove local displayTranslator and use
3024 the one from graphics/GraphicsTypes.h.
3026 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3028 * insetfloat.C (wide): add BufferParams parameter
3030 * insetfloatlist.C (read):
3033 * insetfloat.C (latex):
3035 * insetcaption.C (draw): use LyXTextClass::floats()
3037 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3039 * insetoptarg.h: add std:: qualifier.
3041 2002-08-26 Juergen Vigna <jug@sad.it>
3043 * insettext.C (localDispatch): ditto.
3045 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3047 2002-08-25 John Levon <levon@movementarian.org>
3049 * inseturl.C: elide long URLs (bug 404)
3051 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3053 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3054 remove "Format Version <version_no.>" string from inset header
3057 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3059 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3060 a member of "grfx::Params" anymore.
3062 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3064 2002-08-24 John Levon <levon@movementarian.org>
3067 * insetoptarg.C: ws, pedantry ...
3069 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3071 * insettext.C (collapseParagraphs): pasteParagraph now in global
3073 (appendParagraphs): ditto
3075 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3077 * insetcite.C (latex): Remove spaces only after commmas.
3079 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3081 * insettext.C: remove NO_COMPABILITY stuff
3083 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3085 * insettext.C (edit): use ParagraphList iterators
3087 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3088 (bibitemWidest): ditto
3090 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3092 * insettext.C: include <boost/bind.hpp>
3093 add using std::for_each
3094 (saveLyXTextState): use ParagraphsList::iterator
3095 (init): use for_each on paragraphlist iterators
3096 (InsetText): remove superflous setting cached_bview to 0
3097 (latex): reformat a bit
3098 (ascii): use paragraphlist iterators
3099 (validate): use for_each + boost bind
3100 (getLabelList): use paragraphlist iterators
3101 (deleteLyXText): use for_each + boost::bind
3102 (resizeLyXText): ditto
3103 (reinitLyXText): ditto
3104 (removeNewlines): use paragraphlist iterators
3105 (getParFromID): ditto
3106 (paragraph): use for_each + boost::bind
3107 (getInsetFromID): use paragraphlist iterators
3108 (getLabelList): typo fix
3110 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3112 * insettext.C (read): assign tmp to paragraphs after return from
3113 call to parseSingleLyXformat2Token
3116 2002-08-13 Angus Leeming <leeming@lyx.org>
3135 changes due to the changed LyXView interface that now returns references
3136 to member variables not pointers.
3138 2002-08-13 Angus Leeming <leeming@lyx.org>
3141 * insetcollapsable.h:
3144 * insettext.h: forward-declare WordLangTuple
3145 (selectNextWordToSpellcheck) constify return type.
3148 * insetcollapsable.C:
3151 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3153 2002-08-12 Angus Leeming <leeming@lyx.org>
3155 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3157 2002-08-12 Juergen Vigna <jug@sad.it>
3159 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3162 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3164 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3165 (bibitemWidest): ditto
3166 * insettext.[Ch]: ditto
3168 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3170 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3172 2002-08-09 Angus Leeming <leeming@lyx.org>
3174 * insetinclude.C (latexString): remove fudge now that I've found out
3175 how to enable LaTeX to find the file using input@path.
3177 2002-08-09 John Levon <levon@movementarian.org>
3180 * insettext.C: remove unused xpos
3182 2002-08-07 Juergen Vigna <jug@lyx.org>
3184 * insettabular.C (localDispatch): make delete not put the stuff
3185 in the clipboard only do this on a cut operation.
3187 * insettext.C (localDispatch): make delete and backspace not put
3188 selected stuff to the clipboard.
3190 2002-08-07 André Pönitz <poenitz@gmx.net>
3193 * insetcollapsable.[Ch]:
3197 * insettabular.[Ch]:
3198 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3200 2002-08-06 John Levon <levon@movementarian.org>
3204 * insetcollapsable.h:
3205 * insetcollapsable.C:
3211 * insettext.C: use WordLangTuple for spellcheck
3213 2002-08-06 Angus Leeming <leeming@lyx.org>
3215 * insetinclude.C: add a monitor to the previewed image, so that the
3216 image is refreshed if the \input-ed file changes.
3218 2002-08-04 John Levon <levon@movementarian.org>
3221 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3223 2002-08-02 Angus Leeming <leeming@lyx.org>
3225 * insetcommandparams.[Ch] (preview): new methods returning and setting
3226 a new bool preview_ flag.
3227 (read): read this flag.
3228 (operator==): add flag to check.
3230 * insetinclude.C (write): output new preview() flag.
3231 (previewWanted): use this flag.
3233 2002-08-02 Angus Leeming <leeming@lyx.org>
3235 * insetcollapsable.[Ch] (addPreview):
3236 * insettabular.[Ch] (addPreview):
3237 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3238 for insets in insets.
3240 2002-08-02 Angus Leeming <leeming@lyx.org>
3242 * insetcite.C: fix typo.
3244 * insetgraphics.C: kill current_view and instead cache the BufferView
3247 * insetinclude.C: kill current_view and pass the BufferView to the
3248 PreviewedInset so that it can cache it.
3250 2002-08-01 Angus Leeming <leeming@lyx.org>
3252 * inset.h (generatePreview): renamed as addPreview.
3253 (generatePreview): new method. Allows code to be moved out of
3254 math_nestinset.C and into the new PreviewedInset class.
3256 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3257 add previews to the inset when \input-ing LaTeX.
3259 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3261 * several files: strip,frontStrip -> trim,ltrim,rtrim
3263 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3265 * insetbib.C (latex): modify because of strip changes
3267 * insetnote.C (InsetNote): ditto
3269 2002-07-26 Juergen Vigna <jug@sad.it>
3271 * insettabular.C (searchForward): check for lastcell if we
3272 had a locking inset.
3274 2002-07-25 Juergen Vigna <jug@sad.it>
3276 * insettabular.C (insetMotionNotify): Don't update the screen
3277 if we didn't do nothing.
3278 (searchForward): last cell was not checked.
3280 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3282 * insetfloat.C (read, write): Allow default placement
3283 (floatPlacement_ is empty).
3285 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3287 * insetminipage.h (noFontChange):
3288 * insettabular.h (noFontChange):
3289 * insetfootlike.h (noFontChange):
3290 * insetfloat.h (noFontChange): return true
3292 * inset.h (noFontChange): new method, defaulting to false
3294 2002-07-22 Herbert Voss <voss@lyx.org>
3296 * insetgraphicsParams.[Ch]: support size_type for old docs
3298 2002-07-22 Herbert Voss <voss@lyx.org>
3301 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3304 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3306 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3308 * insetlatexaccent.h: do not include "lyxlex.h"
3310 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3313 * insetlatexaccent.C:
3317 * insetbib.C: #include "lyxlex.h"
3323 * insettext.C: use BufferParams::getLyXTextClass
3326 * insetfloat.C (addToToc): new method. Add to toclist the entries
3327 corresponding to Caption layouts
3328 (InsetFloat): when creating a new float, set the layout to "Caption"
3330 2002-07-21 Herbert Voss <voss@lyx.org>
3332 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3333 image relevant part into graphics/GraphicsImgae.C
3335 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3337 * insettoc.C (ascii):
3338 * insetfloatlist.C (ascii): change to use the new Toc functions
3339 instead of stuff that was in Buffer
3341 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3343 * insettext.C (localDispatch): BufferView::Dispatch has been
3344 renamed to BufferView::dispatch
3346 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3348 * insetgraphicsParams.C (as_grfxParams): use the new
3349 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3350 1.2.0 patch, and I do not really know how to adapt it to the new
3351 grfx::Cache world. Angus, please could you have a look?
3353 2002-05-01 Herbert Voss <voss@lyx.org>
3355 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3357 2002-07-18 Angus Leeming <leeming@lyx.org>
3359 * insetgraphics.C: clean-up comments (from Herbert).
3360 add a new checksum variable to the cache. Use it in PrepareFile.
3361 (draw): start monitoring the file for a change.
3362 (prepareFile): re-arrange a little to avoid unnecessary steps.
3364 2002-07-17 Angus Leeming <leeming@lyx.org>
3366 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3367 a method rather than to the signal directly.
3369 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3371 * insettext.C: use view_state_changed, switchKeyMap
3373 2002-07-17 Herbert Voss <voss@perce.de>
3375 * insetgraphics.C (prepareFile): keep the extension when
3376 exporting to nice file
3378 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3380 * insetcite.C (getNatbibLabel):
3381 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3383 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3385 * insetgraphics.C: use ->isDrawable()
3387 2002-07-12 Angus Leeming <leeming@lyx.org>
3389 * insetgraphics.C: use the new smart loading capabilities of the image
3392 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3394 * insettabular.C (edit): Move into correct cell when entering a
3397 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3400 2002-07-05 Angus Leeming <leeming@lyx.org>
3402 * inset.h (generatePreview): new virtual method.
3404 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3406 * insetcommandparams.[Ch] (operator=): move out of class
3407 (operator!): move out of class
3409 2002-07-04 André Pönitz <poenitz@gmx.net>
3411 * insetcommandparams.[Ch]: new files
3413 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3415 2002-06-15 Herbert Voss <voss@perce.de>
3417 * insetgraphics.C (prepareFile): bugfix; return always
3418 files without extension
3420 2002-06-28 Angus Leeming <leeming@lyx.org>
3422 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3423 rename asGParams -> as_grfxParams.
3425 * insetgraphics.C: reflect above change.
3427 2002-06-26 Angus Leeming <leeming@lyx.org>
3429 * insetgraphics.h: use boost::scoped_ptr in preference to
3432 2002-06-26 Angus Leeming <leeming@lyx.org>
3434 * insetgraphics.C: moved the image loading stuff into a new class
3435 grfx::Loader. Simplifies this file enormously.
3437 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3439 * insetgraphicsParams.C: changes aassociated with moving
3440 grfx::DisplayType out of grfx::GParams.
3442 2002-06-26 André Pönitz <poenitz@gmx.net>
3444 * insetgraphics.C: use os::external_path where necesaary according to a
3445 patch from Claus Hentschel)
3447 2002-06-25 Angus Leeming <leeming@lyx.org>
3449 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3450 generating a pixmap once the graphics file is loaded into memory.
3451 The current_view ugliness that was in grfx::ModifiedImage has been
3452 moved here now that grfx::ModifiedImage is no more.
3454 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3456 * insettext.C: layout as layout
3458 2002-05-28 André Pönitz <poenitz@gmx.net>
3460 * insetfloatlist.h: remove source of compiler warning
3462 * insetref.C: tiny whitespace
3464 2002-06-15 Herbert Voss <voss@perce.de>
3466 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3467 and take always convert when no userdefined converter was
3469 (latex) small changes in the lyxerr output
3471 2002-06-15 LyX Development team <lyx@rilke>
3473 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3474 mixed content. Small white spaces clean.
3476 2002-06-14 Angus Leeming <leeming@lyx.org>
3478 * inseetexternal.C: remove the using std::difftime declaration.
3480 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3482 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3484 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3486 * insetquotes.C (draw): fix drawing of double quotes
3488 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3490 * insettabular.C: s/scrollCB/scrollDocView/
3492 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3494 * insettext.C: change of topCursorVisible()
3497 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3500 * insettext.C: rename/change of LyXScreen
3502 2002-06-07 Angus Leeming <leeming@lyx.org>
3504 Fixes needed to compile with Compaq cxx 6.5.
3506 all c-library variables have been moved into namespace std.
3507 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3509 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3511 * insetinclude.C (uniqueID):
3512 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3513 conflicted with some AIX headers.
3515 2002-05-31 Juergen Vigna <jug@sad.it>
3517 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3521 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3523 * insetexternal.C (clone): fix () bug when using new
3524 (updateExternal): don't only look for difftime in global scope
3526 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3528 * insettabular.C: add const
3530 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3532 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3533 file name, in case there are weird characters like ',' in there.
3536 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3538 * switch from SigC signals to boost::signals.
3540 2002-05-28 André Pönitz <poenitz@gmx.net>
3542 * insets/insetgraphicsParams.[Ch]:
3543 put in inset related stuff from src/graphic
3545 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3553 * insetcollapsable.C:
3554 * insetcollapsable.h:
3582 * inseturl.h: use mouse_state. Kill insetKeyPress
3584 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3589 * insetcollapsable.C:
3592 * insetlatexaccent.C:
3594 * insetspecialchar.C:
3596 * insettext.C: name change for font metrics
3598 2002-05-24 Juergen Vigna <jug@sad.it>
3600 * insetgraphics.h: include inset.h first (for LString.h)
3602 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3604 * insettext.C: screen moved
3606 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3624 * inseturl.C: LyXView moved into frontends/
3626 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3631 * insetcollapsable.C:
3635 * insetgraphicsParams.C:
3636 * insetlatexaccent.C:
3638 * insetspecialchar.C:
3640 * insettext.C: move Painter to frontends/
3642 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3644 * insettabular.h: use more specific smart_ptr header.
3645 * insettext.h: ditto
3647 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3650 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3652 * insettext.C: clear selection on paste (bug 393)
3654 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3656 * insettext.C (latex): Honor the moving_arg argument.
3658 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3660 * insetfoot.C (latex): if a footnote is in a title layout, then it
3661 is a \thanks. And then, its contents is a moving argument.
3663 2002-05-14 Juergen Vigna <jug@sad.it>
3665 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3668 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3670 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3671 when using options "Full author list" or "Upper case".
3673 2002-05-14 Herbert Voss <voss@perce.de>
3675 * insetgraphics.C (prepareFile): allow files with same name
3677 (readFigInset): set the flags from old figinset in the right
3679 (findTargetFormat): more comments
3681 2002-05-14 Juergen Vigna <jug@sad.it>
3683 * insettext.C (edit): tell checkAndActivateInset() that we don't
3684 have a button press.
3685 (checkAndActivateInset): if button < 0 we don't have a button press
3686 on the inset and os we won't call edit on it if it's not a Highly
3687 editable inset (then we have to enter it).
3689 2002-05-13 Juergen Vigna <jug@sad.it>
3691 * insetcollapsable.C (insetButtonRelease): returned wrong return
3694 2002-05-09 Juergen Vigna <jug@sad.it>
3696 * insetcollapsable.C (edit): first_after_edit should only be
3697 set to true if we enter this inset and it was collapsed so we
3698 open it up. This is needed to reclose it after a search/replace
3699 or spellcheck function opened it and was negative.
3701 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3703 * insetfloat.C (latex): Return correct value.
3705 2002-05-04 Herbert Voss <voss@perce.de>
3707 * InsetgraphicsParams.C (read): fix bug with WH
3709 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3711 * insetfloat.C (latex): More sensible latex output
3712 (fix the problem with endfloat).
3714 2002-05-02 José Matos <jamatos@fep.up.pt>
3716 * insetgraphics.C (validate): acess params as everyone else.
3718 2002-05-03 Juergen Vigna <jug@sad.it>
3720 * insettabular.C (fitInsetCursor): recalculate the cursor position
3723 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3725 * InsetgraphicsParams.[Ch]: whitespace.
3727 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3729 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3730 float type do not exist.
3732 2002-04-28 Herbert Voss <voss@perce.de>
3734 * insetgraphics.C (latex): fix bug with missing file-extension.
3735 LaTeX still allows a missing "eps" or "ps".
3737 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3739 * insetfloat.C (c-tor, wide): translate the name of the float.
3741 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3743 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3744 when using natbib and make it work efficiently. Must emphasise that the
3745 real work is Herbert's.
3747 2002-04-23 Herbert Voss <voss@perce.de>
3749 * insetgraphic.C (prepareFile): fix bug with overwriting and
3750 deleting an existing *.eps-file in the doc-dir
3752 2002-04-23 Juergen Vigna <jug@sad.it>
3754 * insettabular.C (drawCellSelection): fix off by 1 error.
3756 2002-04-22 Juergen Vigna <jug@sad.it>
3758 * insettabular.C (setFont): rewoke full selection if it was asked,
3759 after we changed all we had to change.
3761 * insettext.C (insetUnlock): code was uninitialized in some situations.
3763 2002-04-19 Herbert Voss <voss@perce.de>
3765 * insetgraphic.C (prepareFile): return filename without
3766 extension if we only export without compiling
3768 2002-04-19 Juergen Vigna <jug@sad.it>
3770 * insettext.C (draw): call a fullRebreak on the row where we had a
3771 change and reset the cursor and selection-cursors.
3773 * insettabular.C (insetUnlock):
3774 (insetButtonPress): call an update before setting the_locking_inset = 0
3775 as otherwise we don't repaint!
3776 (update): reset the cursor position when we changed dimensions as
3777 otherwise our cursor may be on the wrong spot.
3779 2002-04-18 Juergen Vigna <jug@sad.it>
3781 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3782 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3783 redraw otherwise we won't redraw.
3785 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3786 not really right before, but I only discovered this with the last
3787 changes to Page up/down.
3789 2002-04-17 Juergen Vigna <jug@sad.it>
3791 * insettext.C (checkAndActivateInset): simplified as we now have the
3792 edit(bv, bool) call.
3794 * insettext.h: changed behind variables to front variables to be
3795 equal to the one in the edit call (as it is for that they are used).
3797 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3799 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3800 not output anything at all!
3802 2002-04-16 Juergen Vigna <jug@sad.it>
3804 * insettabular.C (insetButtonPress):
3805 (insetUnlock): call a redraw on unlocking the cell inset.
3807 * insettext.C (insetButtonPress): same as below.
3808 (lockInset): new function to set initial values when inset should
3810 (insetButtonPress): use above function.
3811 (insetUnlock): don't force a repaint only set the updateStatus. The
3812 outside world should repaint if it thinks it should be done!
3814 * insettabular.C (insetButtonPress): init values if not set as locked
3815 as we are locked if someone presses on us and don't call the edit()
3816 call of the InsetText to lock it do it as BufferView does it!
3818 * inset.h (insetInInsetY): make func const and return an int.
3821 * insetcollapsable.C: adapt the above changed function.
3823 2002-04-15 Juergen Vigna <jug@sad.it>
3825 * insettext.C (getCursorPos): return relative position as to be able
3826 to give them directly to the edit() call.
3827 (edit): we have to set also x_fix as it is not set inside the
3828 setCursorFromCoordinates call!
3829 (insetMotionNotify): ditto.
3831 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3833 * insetbib.C (getKeys): strip leading '\t's from the line too.
3834 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3836 2002-04-12 Juergen Vigna <jug@sad.it>
3838 * insettext.h: added cix() helper function and use it where appropriate
3840 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3842 * insetgraphics.C (prepareFile): fix bug when graphics is a
3845 2002-04-12 Juergen Vigna <jug@sad.it>
3847 * insettext.C (insertInset): remove unneeded code!
3848 (updateLocal): fitCursor() fixes.
3849 (collapseParagraphs): fix a possible problem when having a selection
3850 and collapsing the paragraphs.
3852 2002-04-08 Herbert Voss <voss@perce.de>
3854 * insetgraphic.C (write): write the rotating angle as
3855 a float as is. test only for != 0.0
3857 2002-04-11 Juergen Vigna <jug@sad.it>
3859 * insettext.C: new function ciy() and use it for setting inset_y.
3861 * insetert.C (draw): fix the x return for collapsed version.
3863 2002-04-07 Herbert Voss <voss@perce.de>
3865 * insetgraphic.C (readFigInset): fix bug with subcaption and
3868 2002-04-08 Herbert Voss <voss@lyx.org>
3870 * insetgraphicsparam.C: forgot special option and delete old
3873 2002-04-05 Juergen Vigna <jug@sad.it>
3875 * insettext.C (localDispatch): make a CURSOR update if we inserted
3878 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3880 * insetfloatlist.C (getScreenLabel):
3881 (latex): use Floating::listName
3882 (validate): new method
3884 2002-04-03 José Matos <jamatos@fep.up.pt>
3886 * insetlabel.C (docbook): the anchor is an empty element in docbook.
3888 * insetfoot.[Ch] (docbook): added forgotten method.
3890 2002-04-03 Juergen Vigna <jug@sad.it>
3892 * insettext.C (insetButtonPress): fix insetButtonPress events the same
3893 way as in Bufferview_pimpl.
3895 2002-04-03 Allan Rae <rae@lyx.org>
3897 * insetgraphics.C (latex): one % too many makes living on the bleeding
3898 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3900 2002-03-28 Herbert Voss <voss@lyx.org>
3902 * insetgraphic.C (latex): simplify the code for the latex
3903 output when the file doesn't exist
3905 2002-03-29 Juergen Vigna <jug@sad.it>
3907 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3910 * insettabular.C (edit): call fitCursor().
3912 * insettext.C (insetButtonPress): change behaviour of no_selection
3913 to the one in the BufferView selection_possible and fix the spurious
3914 selection bug with it.
3915 (localDispatch): revoke selection on BREAK... functions.
3917 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3919 * insetfloatlist.C (getScreenLabel): translate the GUI label.
3921 2002-03-28 Juergen Vigna <jug@sad.it>
3923 * insettabular.C (insetAllowed): return true as default value otherwise
3924 we're not able to insert insets inside paragraphs of an not locked
3927 2002-03-27 Herbert Voss <voss@lyx.org>
3929 * insetgraphicsparam.C: change c%, p% to col%, page%
3931 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3933 * insetspecialchar.C (isLineSeparator): disable the nice code to
3934 allow linebreaks after hyphenation and menu separators.
3936 2002-03-26 Herbert Voss <voss@lyx.org>
3938 * insetgraphics.C (figinsetRead): set the right lyxview
3940 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3942 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3943 $\backslash$ and pass a "string const &" to the function.
3944 (prepareFile, latex): use Path rather than MakeAbsPath.
3946 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3948 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3949 proper fix to the graphics cache.
3950 (latex): "really" nice output if the file is not found ;-)
3952 2002-03-26 Juergen Vigna <jug@sad.it>
3954 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3955 (collapseParagraphs): fixed inserting of separator ' '
3957 * insettabular.C (insertAsciiString): only check for buffer lenght
3958 not if we have \t or \n inside the buffer as if we don't have we only
3959 have 1 cell and that's it!
3961 * insetert.C (close): don't collapse if inlined.
3963 2002-03-25 Herbert Voss <voss@lyx.org>
3965 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3966 graphics file does not exist.
3968 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3970 * insetgraphics.C (prepareFile): ensure that the file has an absolute
3971 path when preparing export.
3973 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3974 no longer MakeRelPath.
3976 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3978 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3979 Used to determine the absolute path to the graphics file in the
3980 graphics cache and only in the graphics cache.
3981 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3982 make graphics file name absolute if it is stored as a relative path.
3984 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3985 make graphics file name absolute if it is stored as a relative path.
3987 * insettext.C (edit): emit an updateParagraph signal on entering a text
3988 inset. Needs to be emitted when leaving the inset also.
3990 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3992 * all files: ws cleanup
3994 * Makefile.am: remove ld -r stuff
3996 2002-03-21 Juergen Vigna <jug@sad.it>
3998 * insettext.C (appendParagraphs): new function added to append
3999 the paragraphs to this insets paragraphs.
4001 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4003 * Makefile.am: special rules if partial linking
4005 2002-03-19 Juergen Vigna <jug@sad.it>
4007 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4009 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4011 * insetgraphics.C: Clean up Baruch's comments a little.
4012 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4014 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4017 * insettheorem.C: wrap warnings
4019 * insetgraphics.C: improve messages, move cached_status_
4020 setting to safer place
4022 2002-03-18 Juergen Vigna <jug@sad.it>
4024 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4026 (localDispatch): ditto
4028 * insettext.C (edit): removed unneeded showCursor calls.
4029 (localDispatch): ditto.
4031 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4033 * insetgraphics.h: remove display() method.
4035 2002-03-11 Juergen Vigna <jug@sad.it>
4037 * insetgraphics.C (draw): hack to fix the redrawing bug.
4038 (draw): seems this fixes #268 (force redraw of row if we changed).
4040 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4041 this inset text (don't know why I missed this earlier).
4043 2002-03-08 Juergen Vigna <jug@sad.it>
4045 * insettabular.C (updateLocal): do a FULL update if we're not locked
4046 and only a CELL update is asked.
4048 * insettext.C (updateInsetInInset): update insets inside inset also
4049 if it isn't inside the_locking_inset.
4051 * insettabular.C (updateInsetInInset): ditto.
4053 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4055 * insetexternal.C (doSubstitution): check whether we are using a
4056 temp dir for defining $$FPath
4058 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4061 * insettext.C: remove #include "WorkArea.h".
4063 2002-03-06 Juergen Vigna <jug@sad.it>
4065 * insettext.C (draw): fixed frame redrawing.
4066 (clear): forgot to set the inset_owner of the paragraph.
4068 * insetert.C (status): pay attention the bv can be 0 here!
4069 (getMaxWidth): add the default leftMargin
4071 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4073 * insetert.C (getMaxWidth): make w unsigned int.
4075 2002-03-05 Juergen Vigna <jug@sad.it>
4077 * insetert.C (status): change behaviour of Inlined.
4078 (getMaxWidth): added for new inlined behaviour.
4080 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4082 * insetnote.h (linuxdoc, docbook): add empty methods.
4083 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4084 before being initialized.
4086 2002-03-05 Juergen Vigna <jug@sad.it>
4088 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4089 only that one in the inset. Should be enough.
4090 (updateLocal): set the selection cursor always if we don't have a
4091 selection to be sure it's set!
4093 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4095 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4097 * insettext.C (clear): a gross hack to set layout on a newly
4100 2002-03-04 Juergen Vigna <jug@sad.it>
4102 * insettabular.C (localDispatch): inserted handling of
4103 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4104 (insertAsciiString): new helper function.
4106 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4108 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4111 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4113 * insettext.C (InsetText): initalize newly created par with
4114 default layout. add bufferparams parameter
4117 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4118 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4119 * insetert.[Ch] (InsetERT): ditto
4120 * insetfloat.[Ch] (InsetFloat): ditto
4121 * insetfoot.[Ch] (InsetFoot): ditto
4122 * insetfootlike.[Ch] (InsetFootLike): ditto
4123 * insetmarginal.[Ch] (InsetMarginal): ditto
4124 * insetminipage.[Ch] (InsetMinipage): ditto
4125 * insetnote.[Ch] (InsetNote): ditto
4126 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4128 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4130 * insettext.C: layout as string
4132 * insetinclude.C: layout as string
4134 * insetert.C: layout as string
4136 * insetbib.C: layout as string
4138 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4141 * insettabular.C: remove #include "lyx_gui_misc.h".
4143 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4148 * inset.h: remove figinset, yahoo !
4150 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4152 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4153 copy c-tor and initialise member variables in the correct order.
4155 2002-02-28 Juergen Vigna <jug@sad.it>
4157 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4159 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4161 * inset.h: ... and add a better one here.
4163 * insetcommand.C (insetButtonRelease): remove that one which was a
4166 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4168 * insetcommand.C (insetButtonRelease): ... and move it here.
4170 * inseturl.h: remove insetButtonRelease from there...
4172 2002-02-26 Juergen Vigna <jug@sad.it>
4174 * inseturl.h: Added a insetButtonRelease call returning true as
4177 * insetlabel.C (edit): Fixed wrong update handling after change I
4178 leave in the wrong code for the one who wrote it to remove and have
4179 a look what he did wrong.
4181 * insettabular.C (localDispatch): force a SELECTION update if we
4182 had a selection and we passed the event down to the inset (fix #213)
4183 (localDispatch): handle font changing stuff when we have a cell
4184 selection so that the selection is not rewoked. I don't really like
4185 this fix, but it's the only way I see to do it right now.
4187 2002-02-22 Juergen Vigna <jug@sad.it>
4189 * insettext.C (insetUnlock): set the cursor to the second paragraph
4190 if available and if the first one is empty (fix #191).
4192 2002-02-20 Juergen Vigna <jug@sad.it>
4194 * insettext.C (getDrawFont): implemented this function to call the
4195 one of the owner if present as the owner normally knows what to do
4198 * insetert.C: implement getDrawFont() function and comment out all
4199 the crap for setting a special latex font inside this inset.
4200 (InsetERT): added a Lanugage parameter to this constructor.
4202 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4203 change the font for being drawn on screen (used only in InsetERT for
4206 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4207 and also above (was missing).
4208 (updateLocal): don't remove the cell selection if we have one this
4209 should be done where we really want to remove it.
4211 2002-02-20 José Matos <jamatos@fep.up.pt>
4213 * insetinclude.h: include_label made string const.
4215 * insetinclude.C (InsetInclude): moved include_label initialization.
4218 (validate): fix support for temporary directory, for docbook and
4221 * insetgraphics.h : new private member, graphic_label, that holds
4222 the entity name that defines the graphics location (SGML).
4224 * insetgraphics.C (unique_id): new function to give a unique label
4227 (validate): the file locatation is given by an entity reference.
4229 2002-02-18 Herbert Voss <voss@lyx.org>
4231 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4233 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4235 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4236 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4238 2002-02-18 José Matos <jamatos@fep.up.pt>
4240 * insetinclude.C (validate): some code only applies to latex buffers,
4241 it was made conditional.
4243 2002-02-12 Herbert Voss <voss@lyx.org>
4245 * insetgraphics.C: (prepareFile) do not check at this time
4246 if the file is present.
4248 2002-02-12 Herbert Voss <voss@lyx.org>
4250 * insetgraphics.C: latex(), return the correct newlines
4252 2002-02-13 José Matos <jamatos@fep.up.pt>
4254 * inseturl.C (docbook): escape & in url.
4256 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4258 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4259 after HYPHENATION and MENU_SEPARATOR
4261 * inset.h (isLineSeparator): new method, returns false by default.
4263 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4265 * insetert.C (status): do not update the text inset, but the ERT
4268 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4270 * insetnote.C: use notebg for background
4272 2002-02-08 Herbert Voss <voss@lyx.org>
4275 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4276 prevent LyX from unzipping when this should be handled
4277 by latex vis the graphic.cfg.
4280 2002-02-08 Herbert Voss <voss@lyx.org>
4282 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4283 exists, than return filename with extension
4285 2002-02-06 Herbert Voss <voss@lyx.org>
4287 * insetgraphic.C: prepareFile(): don't convert the file, when
4288 it's not viewed in LyX. Saves a lot of time when opening a
4291 2002-02-05 Herbert Voss <voss@lyx.org>
4294 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4295 and adding a rotate bool similiar to subcaption
4297 2002-02-04 Herbert Voss <voss@lyx.org>
4300 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4301 similiar view to the LaTeX one. Get zipped files work.
4303 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4305 * insetgraphicsParams.C (init): set display to DEFAULT.
4306 No longer #include "lyxrc.h".
4308 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4310 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4311 for now (so that the code compiles).
4313 2002-02-02 Herbert Voss <voss@lyx.org>
4315 * insetgraphic.C: delete inVariant() and some minor changes
4316 * insetgraphicsParams.[C]:
4318 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4320 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4321 interogate lyxrc.display_graphics before diaplaying the graphic.
4323 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4324 InsetGraphicsParams::DisplayType.
4326 2002-01-31 Herbert Voss <voss@lyx.org>
4328 * insetgraphic.C: (readfigInset) set display to pref-default
4330 2002-01-30 Herbert Voss <voss@lyx.org>
4332 * insetgraphic.C: get the filetyp from it's contents
4333 * insetgraphicparams.C: add token scale and lyxrc.display when
4334 creating a new inset
4336 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4338 * figinset.C: added using std::ios directive.
4340 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4342 * figinset.C (runqueue): open translation file in binary mode (for
4345 2002-01-27 Herbert Voss <voss@lyx.org>
4347 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4348 all options and to be sure that the old figinsets are correct
4350 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4351 structure and to support all lengths as LyXLength. The Parameter
4352 structure changed again, but reading of "old" 1.2 graphic insets
4355 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4357 * insetert.h (forceDefaultParagraphs): Added
4359 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4361 * insettabular.C (getMaxWidth):
4362 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4364 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4366 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4367 of LyXLength::inPixels
4369 * inset.C (latexTextWidth):
4370 * insetminipage.C (latexTextWidth): new method, which implements
4371 the equivalent of the LaTeX macro \textwidth
4373 * insetminipage.C (getMaxWidth): use latexTextWidth
4375 2002-01-18 Juergen Vigna <jug@sad.it>
4377 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4379 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4381 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4383 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4386 2002-01-17 Juergen Vigna <jug@sad.it>
4388 * insettabular.C (lockInsetInInset): same change as in insettext.
4390 * insettext.C (draw): width() function was called without setting
4391 the right top_x which could lead to wrong insetWidth setting!
4392 (lockInsetInInset): call edit instead of calling lockInset if we
4393 have to lock an inset inside!
4394 (edit): we have to also tell the inset that we have to redraw the
4395 frame on an edit call if this inset draws a frame only if locked.
4397 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4399 * insetbib.C (getFiles): uncomment Path variable.
4401 2002-01-16 Juergen Vigna <jug@sad.it>
4403 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4406 2002-01-16 Allan Rae <rae@lyx.org>
4408 * insetinclude.C (docbook): someone forgot a ";"
4410 2002-01-16 José Matos <jamatos@fep.up.pt>
4412 * figinset.C (docbook): removed a old place holder "@".
4413 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4414 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4415 ascii text version, clearly guarded inside a CDATA section.
4416 (docbook): in docbook 4, inlinegraphics is empty.
4417 * insettabular.C (linuxdoc): export the ascii version of the table
4418 inside a CDATA section.
4420 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4422 * insetparent.C (InsetParent):
4423 * insetgraphicsParams.C (Write):
4425 * insetgraphics.C (prepareFile):
4428 * insetexternal.C (executeCommand):
4429 (doSubstitution): use Buffer::filePath
4431 * insetbib.C (getFiles): add a #warning for Angus
4433 * insetgraphics.C: Add a remark about how filenames should be
4434 considered to be relative to buffer (but absolute is still allowed)
4435 (draw): do not try to get status if lyxrc.use_gui is false
4437 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4440 * insetcollapsable.[Ch]:
4441 * insettabular.[Ch] (searchForward, searchBackward): change the
4442 bool const & params to bool.
4444 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4445 to avoid the name clash with InsetCollapsable's methods of the same
4446 names but different functionality.
4448 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4450 * insettext.C (ascii): use lyx::count rather than countChar.
4452 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4454 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4456 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4458 * insetgraphics.C (updateInset): do not try to render image if
4459 lyxrc.use_gui is false (bug #104)
4461 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4462 if file does not exist
4464 * figinset.C (browseFile): add shortcuts to directory buttons
4466 * insettext.C (updateLocal): update menubar and toolbar here too.
4468 2002-01-13 Allan Rae <rae@lyx.org>
4470 * insettabular.C (InsetTabular): Both constructors now initialise
4471 all class variables.
4473 2002-01-11 Juergen Vigna <jug@sad.it>
4475 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4477 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4479 * insettabular.C (getStatus): add forgotten brace around multiline
4482 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4484 * insetfloat.C (validate): require "float" instead of "floats".
4486 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4488 * insettabular.C (getStatus): use FuncStatus
4490 2002-01-08 Juergen Vigna <jug@sad.it>
4492 * insettabular.C (insetButtonRelease): now this should work too
4495 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4496 if the width is a percentage.
4498 * inset.h: added isChar() function and implemented this for
4499 insetspecialchar insetquotes and insetlatexaccent.
4500 added forceDefaultParagraphs() and implemented it for insettabular.
4502 2002-01-07 Juergen Vigna <jug@sad.it>
4504 * insettext.C (getLyXText): Fixed this function. An insert into the
4505 map is only done if we REALLY have a new BufferView.
4507 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4509 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4511 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4513 * insetinclude.C: fix use of FileInfo
4515 2002-01-07 Juergen Vigna <jug@sad.it>
4517 * insettabular.C (draw): fixed clearing of cell around inset.
4519 2002-01-05 Juergen Vigna <jug@sad.it>
4521 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4522 variables are updated.
4524 * insettabular.C (resetPos): set always the inset_y as it may be
4525 needed in another function.
4526 (searchBackward): don't draw while searching.
4528 2002-01-04 Juergen Vigna <jug@sad.it>
4530 * insettext.C (lockInsetInInset): forgot to set a cursor.
4532 2002-01-02 Juergen Vigna <jug@sad.it>
4534 * insettext.C (insertInset): make the correct undo informations on
4535 inserting new insets.
4537 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4539 * insettabular.C: correct single-cell select vertically
4541 2001-12-27 Juergen Vigna <jug@sad.it>
4543 * insettabular.C (ascii): export as tab-separated-values if the
4544 function was not called from export (f.ex.: clipboard).
4546 * insetcollapsable.h: added default support for ascii, linuxdoc and
4547 docbook export (the insettext is exported by default!)
4549 * insettabular.C (copySelection): suff the clipboard with the tabular
4550 data in a tab separated format, seems more naturals then with all the
4553 2001-12-24 Juergen Vigna <jug@sad.it>
4555 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4556 to check for REAL mouseMotion.
4558 2001-12-20 Juergen Vigna <jug@sad.it>
4560 * inset.C (cursor): return the owners cursor if available instead of
4561 always only the bv->text->cursor.
4563 * insettabular.C (checkLongtableSpecial): works now.
4565 2001-12-19 Juergen Vigna <jug@sad.it>
4567 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4568 this has to be always row + 1 as 0 means not selected!
4569 (checkLongtableSpecial): added
4570 (tabularFeatures): better longtable options support
4572 * insettext.C (resizeLyXText): reinit the text always also on a
4575 2001-12-18 Juergen Vigna <jug@sad.it>
4577 * insettext.C (updateInsetInInset): look if we have to autocollapse
4578 paragraps and return if the update is requested for ourself.
4580 * insetert.C (status): update the insettext not myself as that is what
4583 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4584 function only return if the update was requested with myself.
4586 * insettext.C (insetButtonPress): fixed stupid bug.
4587 (various functions): pay attention that lt is cleared BEFORE calling
4588 updateLocal() and try to use it in the right manner (don't use it
4589 if it's not really neccessary!)
4590 (collapseParagraphs): insert a blank between collapsing paragraphs
4591 if neccessary (not already there!).
4593 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4595 * insettabular.C: move includes around a bit, add a couple of
4598 * insettext.[Ch]: move includes around a bit, other ws changes and
4601 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4603 * insettext.C (insetButtonRelease): fix compile problem
4605 2001-12-17 Juergen Vigna <jug@sad.it>
4607 * insettext.C (insetButtonPress): set the selection cursor!
4608 (insetButtonPress): clear the selection (and set with that the
4609 selection.cursor) if we only hit an inset!
4611 * insetert.C (read): removed piece of compatibility code only needed
4614 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4617 * insetcollapsable.C (insetButtonRelease): changed so that it can
4618 open eventual existing popup dialogs on mousebutton==3.
4620 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4622 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4624 * inset.C (insetButtonRelease): return a bool for telling the outer
4625 world that we opened a dialog.
4627 2001-12-07 Juergen Vigna <jug@sad.it>
4629 * insettext.C (paragraph): remove the deleteing of paragraphs as
4630 it was a WRONG move!
4632 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4635 * insettabular.C: use new setSelection(). Allow
4636 selection of single cells.
4638 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4640 * insetquotes.C (latex): fix to use the local language setting at
4641 the point where the inset is inserted (different macros for
4642 different french packages)
4644 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4646 * inset.h: add par_owner_ member variable and parOwner
4649 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4651 * insettabular.C (everywhere): adapt because widths are now real
4652 widths and not strings
4654 * insettext.C (draw): re-introduce the calls to width(), ascent()
4655 and descent() to initialize the caching variables.
4657 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4659 * insettext.C (draw):
4660 (drawFrame): use insetWidth instead of last_width
4662 * insettext.h: remove variable last_width (insetWidth is exactly
4663 the same) and last_height (computed but never used!)
4665 2001-12-10 Allan Rae <rae@lyx.org>
4667 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4669 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4671 * insettext.C (insetAllowed): add comment
4673 2001-12-05 Juergen Vigna <jug@sad.it>
4675 * insettext.C (insetAllowed): fixed for the case that we directly
4676 ask the insettext from its LyXText.
4677 (paragraph): fixed the crash when assigning the par->next() from
4678 the EmptyParagraphMechanism!
4680 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4684 * insettext.C: change "while(" to "while ("
4686 2001-12-04 Juergen Vigna <jug@sad.it>
4688 * insetert.C (edit): handle Inlined status.
4690 * insettext.C (insertInset): trying John's fix for the trailing cursor
4692 * insetert.C (insetButtonPress): added to handle inlined status
4693 (insetMotionNotify): ditto.
4695 * insettext.C (clearInset): changed Painter & in BufferView * param,
4696 to be able to call ascent,descent methods.
4698 2001-12-03 Juergen Vigna <jug@sad.it>
4700 * insettext.C (updateInsetInInset): use lt variable to forbid
4701 changes of LyXText in an update call.
4702 (updateInsetInInset): fixed updating of non locked insets!
4704 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4706 * insettabular.C: capture some more functions to prevent
4707 selection drawing problems. Bug #451274
4709 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4712 * insetgraphicsParams.C: fix inverted sense of float_equal
4714 2001-11-30 Juergen Vigna <jug@sad.it>
4716 * insettabular.C (InsetTabular): use the save_id flag to create also
4717 the tabular with the same id's.
4719 * insettext.C (setParagraphData): added a same_id function for undo
4720 to set the same paragraph id's as of the paragraph we are setting.
4722 2001-11-30 José Matos <jamatos@fep.up.pt>
4725 * insettoc.[Ch]: DocBook -> docbook.
4727 2001-11-29 André Pönitz <poenitz@gmx.net>
4730 * insettext.C: further reduction of header dependencies by using
4731 lyx::layout_type and lyx::textclass_type from support/types.h
4733 2001-11-29 Juergen Vigna <jug@sad.it>
4735 * insettext.C: inserted a reinitLyXText function everywhere I delete
4736 the paragraphs! This should fixe the crashes we had.
4737 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4738 (paragraph): set the InsetOwner() of the new paragraphs!
4740 2001-11-28 André Pönitz <poenitz@gmx.net>
4742 * insetnote.C: add pos initialization that I removed without
4745 2001-11-28 Juergen Vigna <jug@sad.it>
4747 * insettabular.C (resetPos): hack to not crash with infinite paints.
4749 * insettabular.h: insert missing function allowSpellcheck()!
4751 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4753 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4756 * insetfloatlist.C: derive from InsetCommand so gui can use it
4759 2001-11-26 André Pönitz <poenitz@gmx.net>
4763 * insetnote.C: reduce header dependencies, introduce type for
4766 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4768 * various: update for Alert.h
4770 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4772 * inset.h: fix comment
4774 * insettext.C: use par->isInset()
4776 2001-11-22 Allan Rae <rae@lyx.org>
4778 * insetcollapsable.h:
4779 * inset.h: Changes to checkInsertChar() behaviour.
4780 Now return value indicates whether chars can be inserted.
4782 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4784 * various: updated to use the new LaTeXFeatures
4786 2001-11-14 José Matos <jamatos@fep.up.pt>
4788 * insetspecialchar.C (linuxdoc):
4789 (docbook): don't give a name to a unused variable.
4791 * insettext.C (docbook): removed unused variable.
4793 2001-11-13 Herbert Voss <voss@perce.de>
4795 * insetgraphic.C: fix scale bug
4797 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4799 * inset.h (isSpace):
4800 (isLetter): new virtual methods.
4802 * insetspecialchar.C (isSpace):
4803 (isLetter): implement here.
4805 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4807 * inset.h: new inline helpers
4809 * insettext.C: use new helpers
4811 2001-11-07 José Matos <jamatos@fep.up.pt>
4813 * insettext.C (docbook): full support for paragraphs inside insettext.
4815 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4817 * insetindex.C: added header file for std::ostream.
4819 2001-11-03 José Matos <jamatos@fep.up.pt>
4821 * insetindex.C: added using std::ostream that I forgot yesterday.
4823 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4825 * insetindex.h (docbook):
4826 * insetindex.C (docbook): added support for docbook export.
4828 2001-11-02 José Matos <jamatos@fep.up.pt>
4830 * insetcaption.C(docbook): added support for docbook export.
4832 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4834 * insetexternal.C (updateExternal): Do not run update command if
4835 result file exists and is up to date.
4837 * ExternalTemplate.C (readFormat): Support the updateresult token.
4839 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4841 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4842 external_templates) to use the buffer->fileName() but only if
4843 previewing. Generating a TeX file should make FPath return
4846 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4849 * insetert.C: fix some problems
4851 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4853 * insetexternal.C (doSubstitution): Added $$FPath token
4854 to list of usable substitutions in external inset templates.
4856 2001-10-24 Juergen Vigna <jug@sad.it>
4858 * insettabular.C: use new ltType struct for setting longtable
4859 header and footers also new UNSET enums.
4861 2001-10-24 José Matos <jamatos@fep.up.pt>
4863 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4864 (docbook): If the table is not inside a float then wrap it inside
4865 <informaltable>...</informaltable>.
4867 2001-10-23 José Matos <jamatos@fep.up.pt>
4869 * insetref.C (docbook): removed / terminator to conform SGML.
4871 * insetspecialchar.C (linuxdoc):
4872 (docbook): Added support for special chars, more than ascii export.
4874 2001-10-22 Juergen Vigna <jug@sad.it>
4876 * insettext.C (checkInsertChar): added for REALLY checking the
4877 font of the inserted char in the right inset!
4879 2001-10-19 Juergen Vigna <jug@sad.it>
4881 * inset.h: added method allowSpellcheck() so that insets who do
4882 not have anything to spellcheck can tell and so they are over-jumped.
4883 Implemented for InsetText and co.
4885 2001-10-18 Juergen Vigna <jug@sad.it>
4887 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4889 2001-10-15 José Matos <jamatos@fep.up.pt>
4891 * insetert.C: allow export for docbook and linuxdoc
4893 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4895 * insetquotes.C (dispString): handles latin3 and latin4 quotes
4897 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4899 * insetquotes.C (dispString): fix handling of latin9 quotes
4901 2001-10-03 Juergen Vigna <jug@sad.it>
4905 * insetcollapsable.C: change updateInset calls to not tell BV that
4906 we have changed status.
4908 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4910 * insettabular.C (deletable): make const
4912 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4914 * insetert.C (latex): Fix the returned value
4916 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4918 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4919 Returns string(), so nothing in an ERT inset is spellchecked.
4921 * insetgraphics.C (draw): print the filename if not displaying the
4923 (width): make sure that the width and draw methods are consistent.
4924 (updateInset): don't even load the image into cache if not displaying
4927 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4929 * various files (selectNextWord): renamed as
4930 selectNextWordToSpellcheck.
4932 * insetgraphics.C (draw): remove the previous change. Right place
4933 is in imageLoaderXPM.C.
4934 (draw): don't display the image if params.display == NONE.
4936 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4938 * figinset.C (runqueue):
4939 * insetgraphics.C (draw): set background colour of inset from
4940 background to the user-configurable graphicsbg.
4942 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4944 * insetquotes.C (InsetQuotes): when trying to decide the side of
4945 the quote, choose `left' only after a space or '('
4947 2001-09-04 José Matos <jamatos@fep.up.pt>
4952 * insetcollapsable.h
4970 * insetlatexaccent.C
4971 * insetlatexaccent.h
4976 * insetspecialchar.C
4977 * insetspecialchar.h
4981 * insettext.C (docbook): rename docBook method to docbook.
4983 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4985 * inset.h (getFirstParagraph): New virtual method.
4987 2001-08-20 Herbert Voss <voss@perce.de>
4988 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
4989 in the the bibtex-database-gui for inserting a line
4992 If no style is given than there is no tex-output.
4994 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
4996 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5000 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5002 * insetert.C (latex): Fix output for multiple paragraphs.
5003 (write): New code for writing paragraph data.
5004 (read): Set font after reading the inset.
5005 (localDispatch): Call set_latex_font() for more cases.
5007 * insetnote.h: Add empty validate method.
5010 * insetnote.C (InsetNote): Set language to the language of the
5013 2001-08-16 Juergen Vigna <jug@sad.it>
5015 * insettext.C: implemented the new FINISHED states.
5017 * insettabular.C: ditto
5019 * inset.h: added more FINISHED states for cursor right,up,down
5021 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5023 * insetfloatlist.C: use "FloatName List"
5025 2001-08-14 Juergen Vigna <jug@sad.it>
5027 * insetert.C (edit): forgot to set status_ in edit calls!
5029 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5031 * insettext.C: Compilation fix
5033 2001-08-13 Juergen Vigna <jug@sad.it>
5035 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5037 * insetcollapsable.C (edit): don't recollapse an already open inset.
5039 * insettext.C: fixed problem when reinitializing LyXText by not doing
5040 it while lt is in use and post this to the next possible time in
5042 (searchForward): fixed not unlocking of inset if nothing found.
5043 (edit): set cursor behind right (was set -1 pos).
5045 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5047 * insettabular.C (tabularFeatures): fixed fix where deleting the
5048 last row didn't get the right actcell!
5050 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5052 * insettext.C (localDispatch): Change language only when the inset
5055 2001-08-10 Juergen Vigna <jug@sad.it>
5057 * insettabular.C (selectNextWordInt): use the front using edit call.
5059 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5060 the parameter overwrite class variable inset.
5062 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5064 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5065 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5067 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5068 update only for fixed with cells.
5069 (resetPos): try to fix the lockup on spellchecking or s&r.
5071 * insettext.C (update): comment this out as it seems first wrong
5072 and second not needed anymore!
5073 (some functions): call reinitLyXText() only in update() in all other
5074 positions set only need_update = INIT.
5076 2001-08-08 Juergen Vigna <jug@sad.it>
5078 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5080 * insettext.C (insetUnlock): remove double-space on inset unlock.
5082 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5084 * insettabular.C (update): fixed cursor positon after an insert.
5085 (insetAllowed): do not allow to insert insets when not inside the
5087 (draw): clear below an inset too as it could have changed height.
5089 * inset.C (getMaxWidth): fixed width for inset in inset.
5091 * insettext.C (update): small fix.
5093 * insettabular.C (tabularFeatures): added selection support to
5094 DELETE_ROW/DELETE_COLUMN.
5096 2001-08-07 Juergen Vigna <jug@sad.it>
5098 * inset.C (getMaxWidth): recoded and all it's implementations!
5100 * insettext.C (init,setParagraph+constructors): cleanups
5101 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5102 are new and I want do a save/restore of the cursor position which is
5103 not possible anymore.
5105 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5106 (searchBackward): ditto
5107 (selectNextWord): ditto
5109 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5111 * insetlatexaccent.C (checkContents): Add some debug messages
5113 2001-08-07 Juergen Vigna <jug@sad.it>
5115 * insetert.C (read): don't use InsetCollapsable::read as we don't
5116 write the collapsed status anymore only the status.
5119 2001-08-06 Juergen Vigna <jug@sad.it>
5121 * insetert.C (set_latex_font): use LyXText's setFont directly.
5123 * insettext.C (drawFrame): fixed one time more the right position
5124 and size of the frame!
5126 * insetert.C (~InsetERT): hide the dialog.
5127 (showInsetDialog): added implementation
5130 (status): new function for the status of the ERT inset (3-state).
5131 (write): output also the status of the inset for readback!
5132 (read): readback the status if available otherwise use collapsed_.
5134 * insettext.C (edit): small fix of setting the position, which could
5137 * insetert.C (width): implement this function for inlined viewing.
5138 Added minimum width of 10 pixels!
5140 * insetminipage.C (InsetMinipage): just change the colors a bit so
5141 that border/background is a bit more visible. We will remove this
5144 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5145 function for getting the important widths for drawing in various
5146 functions and in LyXText.
5147 (draw): fixed up a bit (frame drawing/clearing)
5149 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5151 * inset.C (convertFont): delete method. not used.
5153 2001-08-03 Juergen Vigna <jug@sad.it>
5155 * insettext.C (setFont): don't call for a draw update if we're just
5156 changing the cursor font!
5158 2001-08-02 Juergen Vigna <jug@sad.it>
5160 * insettext.C (draw): clear the background with the right color if
5161 needed. Update myself if x&max-width changed and return without doing
5162 anything. Let the update code handle the right stuff.
5164 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5165 inside another inset.
5167 2001-08-01 Juergen Vigna <jug@sad.it>
5169 * insetcollapsable.C (update): added an in_update bool so we avoid
5172 * insettabular.C (update): added an in_update bool so we avoid
5175 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5177 (update): added an in_update bool so we avoid reentering.
5179 * insettabular.C (localDispatch): clear col/row selection when doing
5180 something else inside an inset.
5182 * insettext.C (getLyXText): fixed bug when requesting a recursive
5185 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5187 * insetcite.C (latex): Paranoia check. Make sure that there is no
5188 whitespace between the citation keys.
5190 2001-07-31 Juergen Vigna <jug@sad.it>
5192 * inset.h (nodraw): make the set function also const so that this
5193 can be called from inside other const functions.
5195 * insetcollapsable.h: removed inline variable and moved it over
5196 to the only user InsetERT.
5198 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5199 inset opening immediately therein lying insets dialogs!
5201 * insetert.C (localDispatch): set the font also if we don't have any
5202 chars in this paragraph, otherwise if we delete all of em and start
5203 writing we have the wrong font.
5205 (draw): implemented for inline support
5206 (insetButtonRelease): ditto.
5208 2001-07-30 Juergen Vigna <jug@sad.it>
5210 * insettext.C (reinitLyXText): new function to reinit the insets
5211 text after lot's of paragraph changes. Use this instead of the
5212 cache.clear() which is VERY dangerous.
5214 * insetfloat.C (insetButtonRelease): we should only show the dialog
5215 if we press on the label otherwise we have problems to open mouse
5216 button 3 dialogs inside this float (f.ex. of a tabular!)
5218 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5220 * insetert.C: change back to "ERT"
5222 * insetfloat.C: handliign of RMB on label added.
5224 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5226 * insetgraphicsParams.C: #include LOstream.h here.
5228 * insetfoot.h: remove InsetFoot:: qualifier.
5230 2001-07-29 Baruch Even <baruch@lyx.org>
5232 * ChangeLog: Hiding time travel evidence.
5234 * insetgraphicsParams.h:
5235 * insetgraphicsParams.C:
5236 * insetgraphics.C: Added horizontal scale option, it actually scales both
5237 directions since it keeps image proportions.
5239 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5241 2001-07-29 Baruch Even <baruch@lyx.org>
5243 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5244 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5246 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5248 2001-07-29 Baruch Even <baruch@lyx.org>
5250 * insetgraphics.C: Added EPSI to be an alias of EPS.
5252 2001-07-29 Baruch Even <baruch@lyx.org>
5254 * insetgraphics.C: Change GRAPHICS to Graphics.
5255 Changed image conversion rules (documented at the beginning of file).
5257 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5259 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5262 * insetgraphics.C: added a using std::endl directive.
5264 * insetcommand.h (getScreenLabel): removed pure virtual function,
5265 as it duplicates that in InsetButton.
5267 * insetbib.[Ch] (getScreenLabel):
5268 * insetbutton.[Ch] (getScreenLabel):
5269 * insetcite.[Ch] (getScreenLabel):
5270 * insetert.[Ch] (getScreenLabel):
5271 * insetexternal.[Ch] (getScreenLabel):
5272 * insetfloatlist.[Ch] (getScreenLabel):
5273 * insetinclude.[Ch] (getScreenLabel):
5274 * insetindex.[Ch] (getScreenLabel):
5275 * insetlabel.h (getScreenLabel):
5276 * insetparent.[Ch] (getScreenLabel):
5277 * insetref.[Ch] (getScreenLabel):
5278 * insettoc.[Ch] (getScreenLabel):
5279 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5281 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5283 (validate): remove check on "cite" when using natbib.
5285 2001-07-26 Baruch Even <baruch@lyx.org>
5287 * insetgraphics.C (draw): changed casting to be in one place rather than
5288 all over the function.
5291 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5293 * insetgraphicsParams.h:
5294 * insetgraphicsParams.C:
5295 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5297 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5299 * insetfoot.C (validate): Added method to ensure that the
5300 right bit of LaTeX is emitted.
5302 * insetfoot.h: Added validate method to set the correct
5303 LaTeXFeatures bit for the special footnote code.
5305 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5307 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5310 2001-07-27 Juergen Vigna <jug@sad.it>
5312 * inset.h: remove not used font variable in parameter.
5313 removed checkInsertChar in UpdatableInset as it was equal to
5314 the one in Inset and so not needed.
5316 * insetert.C (checkInsertChar): implementation of function
5319 * inset.h: added new function checkInsertChar.
5321 * various files: added c-tor and clone() function.
5323 * insetcollapsable.h: removed clone function here as this should
5324 be only realized in REAL insets and added it to all collapsable
5325 insets! (with the copy-constructor).
5327 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5329 * insetminipage.C (read): handle missing parameters more gracefully
5331 * insetcollapsable.C (read): handel missing collapsed more gracefully
5333 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5335 * insetfloat.C (read): handle missing parameters.
5337 * insettext.C (read): handle old latex end_inset
5339 * insetert.C (setButtonLabel): new method
5340 (init): use it, to set the dynamic label correctly
5343 * Makefile.am (EXTRA_DIST): add files that is not part or the
5346 * insetcollapsable.h: remove autocollapsable (no users), remove
5347 draw_label, change_label_with_text and companion code. Remove args
5349 * insetert.[Ch]: move here instead (only user)
5351 * inset.h: rename private variable name to name_, make
5352 selectNextWord return a const string. make getInsetName return a
5353 string const &. Remove bool from open, add close.
5355 * Makefile.am: don't compile insetlist, insetsection
5358 2001-07-24 Juergen Vigna <jug@sad.it>
5360 * insetert.C (InsetERT): put init after the paragraph initialization,
5361 as otherwise we don't set the draw_label right.
5363 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5364 insets with the mouse without having strange selections.
5365 (edit): if the inset was collapsed and we open it here then put the
5366 cursor always at the beginning of the inset.
5367 (get_new_label): 15 instead of 10 max chars in the label.
5369 * insetert.C (localDispatch): added and handle various stuff we
5370 need to handle here (font setting on paragraph break, not permitted
5371 layout setting, etc.).
5373 * inset.h: added default copy-consturctor and implemented this in
5374 various insets with the change to use this in the clone function!
5376 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5378 * insetminipage.C (InsetMinipage): set background color to red :)
5380 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5382 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5383 draw frame mode is LOCKED.
5385 * insetcollapsable.C (edit):
5386 (insetButtonRelease): set update status to full when
5389 * insettext.C (clearInset):
5390 * insettabular.C (draw):
5391 * insetlatexaccent.C (draw): honor background color.
5393 * inset.h: new member background_color_, initialized to
5396 * inset.C (backgroundColor): new method.
5397 (setBackgroundColor): new method.
5399 * insetert.C (init): new method, called by the ctors.
5400 (InsetERT): when inserting contents, make sure the font is
5403 * insetnote.C (InsetNote): when inserting content, remove trailing
5405 (init): set background color to LColor::note
5407 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5409 * insetcollapsable.C: adjust
5411 * insetbutton.C: adjust
5413 2001-07-23 Juergen Vigna <jug@sad.it>
5415 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5416 parameter on the _collapsed function (was not needed) and call
5417 always width_collapsed().
5419 * insetert.C (InsetERT): use setLabel with "true" flag.
5421 * insetcollapsable.C: modified various functions to set the draw_label
5422 string right in any condition.
5423 (setLabel): added a bool parameter to set change_label_with_text.
5425 * insetcollapsable.h: added draw_label string which is set to the
5426 actual drawn label-string, while label is the original static label
5427 of this collapsable inset. Added bool change_label_with_text to set
5428 if we want that the label changes to the start of the InsetText's
5429 text when collabpsed. You can set this flag with the setLabel funciton.
5430 Added bool inlined for inlined collapsable insets, but not handled
5433 * insetcollapsable.C (get_new_label): added should get a new label
5434 from the InsetText beginning (for now 10 chars).
5436 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5438 * insetquotes.C (latex): fix the handling of french double quotes
5439 when not using the french pachage.
5441 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5443 * insetcollapsable.h: make WidthCollapsed mutable.
5445 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5446 InsetPrintIndex returns INDEX_PRINT_CODE.
5448 * inset.h: add INDEX_PRINT_CODE
5450 * insetcollapsable.C (draw): init widthCollapsed if necessary
5453 * insetquotes.C (width): use the local language, not the document
5456 (dispString): add additional spacing for all french languages,
5458 (validate): make it work when there is no default language
5460 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5462 * insetnote.C (init): new method, called by the constructors
5463 (InsetNote): new constructor with contents passed as a string
5465 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5467 * insetfootlike.C (insetAllowed): disallow float in footlike.
5469 * insetert.C (InsetERT): add collapsed argument to the constrctor
5472 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5474 * insetindex.h: shut off warning
5476 2001-07-20 Juergen Vigna <jug@sad.it>
5478 * insetcollapsable.C (update): recoded hopefully works now!
5480 2001-07-19 Juergen Vigna <jug@sad.it>
5482 * most files: implemented the below new introduced function.
5484 * inset.h: added new edit(BufferView *, bool front) method to be able
5485 to enter an inset from the front/back without knowing x/y positions
5486 and baselines inside the inset. So I just can tell the inset activate
5487 me and set the cursor on the front/back of yourself.
5489 2001-07-18 Juergen Vigna <jug@sad.it>
5491 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5492 is given to the InsetText.
5493 (insetButtonPress): ditto
5494 (insetButtonRelease): ditto
5495 (insetMotionNotify): ditto
5497 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5499 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5500 LIGATURE_BREAK, since the name is so stupid.
5502 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5504 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5505 the default InsetCollapsable methods. I.e., it can insert anything.
5506 (write) output the name of the inset, not some silly hack for
5507 compatability with the old InsetInfo.
5509 * insetinfo.[Ch]: removed.
5510 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5511 now collapsable, but functionality is otherwise identical to InsetInfo.
5513 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5515 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5517 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5520 * insetquotes.C: general cleanup
5521 (dispString): add spaces inside french double quotes.
5522 (latex): ditto. Moreover, treat first the case where the frenchb
5523 or french options have been given.
5525 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5527 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5530 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5532 * figinset.C (RegisterFigure): Print debug message only when
5533 current_view is available.
5535 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5537 * many files: update to match the change below
5539 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5540 implement the version which takes an inset here.
5542 * insetcollapsable.[Ch]: implement open and isOpen
5544 * inset.h: remove insertInsetAllowed from Inset
5545 (open): new method, to open or close an inset
5546 (isOpen): returns the status of an inset
5547 (isCollapsable, colapse): removed
5549 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5551 * insetquotes.C (dispString): display french guillemets when using
5554 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5556 * insetcollapsable.h: remove bogus return statements
5558 2001-07-18 Juergen Vigna <jug@sad.it>
5560 * insettabular.C (selectNextWord): fixed spellchecking for the
5561 first cell of a tabular (wasn't entered!)
5562 (getLyXText): changed to enter automatically insettext and return
5563 it's LyXText if we're locked.
5565 2001-07-17 Juergen Vigna <jug@sad.it>
5567 * various files: implemented the below functions.
5569 * inset.h: added functions
5570 - virtual string selectNextWord(BufferView *, float & value) const;
5571 - virtual void selectSelectedWord(BufferView *) { return; }
5572 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5573 needed for spellchecking correctly!
5575 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5577 * insetert.C (latex): write out all paragraphs.
5579 2001-07-17 Baruch Even <baruch@lyx.org>
5581 * insetgraphics.C (draw): Removed unneeded casts.
5583 2001-07-16 Juergen Vigna <jug@sad.it>
5585 * insettext.C (update): fixed small oversight (reset lt to 0).
5587 2001-07-14 Baruch Even <baruch@lyx.org>
5590 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5592 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5594 Consistent use of Lsstream.h:
5595 * figinset.C: removed using std::ostringstream directive.
5597 * insetgraphics.C (createLatexOptions):
5598 * insetinclude.C (unique_id):
5599 std::ostringstream -> ostringstream.
5600 * insettext.C (localDispatch): std::istringstream -> istringstream.
5602 2001-07-13 Juergen Vigna <jug@sad.it>
5604 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5606 * insetcollapsable.C (getLockingInset): ditto.
5608 2001-07-12 Juergen Vigna <jug@sad.it>
5610 * insetcollapsable.h: added implementation of new function for
5613 * various files: added implementation of new insertInsetAllowed-func
5614 and redone the function a bit more.
5616 * inset.h: added isCollapsable(), bool collapsed(),
5617 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5619 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5621 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5622 LyXText which is marked for removal while we're using it!
5624 * insettext.h: added private LyXText * lt to use it to assure we are
5625 not deleting our LyXText while we're using it!
5627 2001-07-11 Juergen Vigna <jug@sad.it>
5629 * insettext.C (insertInset): check if we are before the inset after
5630 inserting it! This check IS needed. Remove the Undo-Call as it is
5631 called in LyXText::insertInset!
5633 * insettext.h: added struct InnerCache.
5635 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5636 that we ONLY delete the LyXText in the getLyXText() routine. So we
5637 are sure we don't delete LyXText while someone is working with it!
5639 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5641 * insetexternal.C: (*it). -> it->
5642 * insettext.C: ditto
5644 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5646 * insetcollapsable.C (edit): always open collapsed insets (even if
5647 they are not autocollapsable)
5649 * insetcommand.C (operator=): simplify.
5651 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5653 * insetert.C (latex): handle META_NEWLINE
5655 2001-07-09 Juergen Vigna <jug@sad.it>
5657 * insetert.h: a normal InsetText can insert insets, but we won't.
5659 * inset.h: return default "false" on insertInsetAllowed and implement
5660 this function where a returnvalue != "false" is needed.
5662 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5664 * insetert.C (InsetERT): new contructor
5666 2001-07-06 Juergen Vigna <jug@sad.it>
5668 * a lot of files: added implementation of the below new functions
5669 and the change to clone(). Also the call of the new undo-functions
5672 * inset.h: added an inset_id, added functions getParFromID,
5673 getInsetFromID, firstParagraph, cursor and id functions, added
5674 bool same_ids to clone function.
5676 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5678 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5679 of BufferView * and shared_ptr<LyXText>
5681 2001-07-05 Juergen Vigna <jug@sad.it>
5683 * insettext.C (clear): deleted also the cache not only LyXText.
5684 (setParagraphData): ditto.
5686 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5688 * insetfloat.C (latex): let the specific placement take presedence
5689 if set, otherwise choose document placement if set, otherwise just
5690 use float default placement.
5692 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5694 * insettext.C (localDispatch): call CutAndPaste::'s static method
5697 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5699 * insetbib.C: no meed to include forms.h here.
5701 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5703 * insettext.C: added using std::make_pair directive.
5705 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5707 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5709 (deleteLyXText): ditto
5710 (resizeLyXText): ditto
5712 2001-07-02 Juergen Vigna <jug@sad.it>
5714 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5715 following calls are only returned the right pointer without the over
5716 head to search in the map.
5717 (various funcs): reset the cached_bview variable as this signs that
5718 the cache is not valid anymore.
5720 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5722 * insettabular.C (clone): do not copy the LyXTabular twice
5724 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5726 * insettext.h (TEXT): delete method
5728 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5730 * insetmarginal.C (latex):
5731 * insetfoot.C (latex): fix spacing of notes in LaTeX
5733 * insettext.C (localDispatch): use .c_str() on istringstream
5734 constructor argument.
5736 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5741 * inseturl.C: fix method names in these to begin
5742 with small char too, so they inherit
5744 2001-06-28 Juergen Vigna <jug@sad.it>
5746 * insettext.C (setFont): fixed font settings using toggleFree()
5747 instead of setFont().
5749 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5751 * Change a lot of method names to begin with a small char.
5752 Changes to a lot of files because of this.
5754 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5756 * insetfloatlist.C (Write): std:: qualify ostream
5759 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5763 * insetgraphics.C: send debug output to Debug::INFO instead of
5766 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5769 * insettabular.C (getStatus): update to use func_status
5771 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5773 * insetref.C (DocBook): added support for cross-references without
5776 2001-06-26 The LyX Project <jug@sad.it>
5781 * insetlabel.h: removed escape method and moved it to
5784 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5786 * insettabular.C (getMaxWidth): do the speedup in a different way,
5789 2001-06-24 The LyX Project <Asger>
5791 * insettabular.C (getMaxWidth): We cache a mapping from
5792 inset to cell in order to speed this method up.
5794 2001-06-24 The LyX Project <Asger>
5796 * insettext.C: Optimized InsetText::draw or something.
5798 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5800 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5802 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5804 * inset.h: name change from lyxinset.h
5806 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5808 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5810 2001-06-14 Juergen Vigna <jug@sad.it>
5812 * insettext.C (draw): removed warnings.
5814 2001-06-13 Juergen Vigna <jug@sad.it>
5816 * insettabular.C (nodraw): only go down the tree if we don't have
5817 that flag set otherwise it's obvious that we don't want to draw.
5818 (LocalDispatch): do also an update if we have an undispached result.
5820 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5823 * insetgraphicsParams.C:
5824 * insettext.C: removed // -*- C++ -*- as first line.
5826 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5828 * lyxinset.h (resizeLyXText): shut off warning about unused
5831 2001-06-07 Juergen Vigna <jug@sad.it>
5833 * insettext.C (resizeLyXText): honor the new force flag.
5835 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5837 * insettabular.C (deleteLyXText): new function
5839 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5847 * insetcollapsable.C:
5848 * insetcaption.C: LColor tidy
5850 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5852 * figinset.C: fix typo
5854 2001-06-01 Juergen Vigna <jug@sad.it>
5856 * insettabular.C (resetPos): small hack so that scroll is not set to
5857 0 when we are in the last column of a tabular. This is a problem we
5858 have because of constats 20 offset on both directions, so this can
5859 cause on the limit an endless loop.
5861 * insettext.C (SetFont): forgot that we can have locking insets ;)
5863 2001-05-31 Juergen Vigna <jug@sad.it>
5865 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5867 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5869 * figinset.C: add using std:: directive for the C functions which
5872 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5874 * insetfloat.C (Write): write out wide info
5875 (Read): read the wide info
5876 (Latex): use the wide info when creating latex.
5878 * insettext.C: adjust
5880 * insetgraphics.[Ch] (statusMessage): change to return string
5884 * figinset.C (runqueue): add std::
5887 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5889 * insetcite.C (Ascii): add std:: qualifier
5891 2001-05-28 Juergen Vigna <jug@sad.it>
5893 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5894 a endless-width inset (maxWidth < 0).
5895 (Edit): change language only if not equal.
5897 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5899 * insettext.C (draw): fixed draw/clear of InsetText-Frame
5901 2001-05-16 Juergen Vigna <jug@sad.it>
5903 * insettext.C (selectAll): added
5904 (clearSelection): added
5906 * insettabular.C (SetFont): now we may set a font on a whole selection!
5907 (getSelection): added helper function.
5909 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5911 * insetcite.C (Ascii): Add method.
5913 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5916 * insetbib.C: fix path for OS/2 & Win32
5918 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5920 * insetfoot.C (Latex): don't use % after footnote.
5922 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5924 * insettext.C (Read): use clear
5925 (SetParagraphData): use LyXParagraph copy constructor instead of clone
5927 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5929 * insetfloatlist.h: add a bunch of std:: qualifiers.
5931 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5933 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5934 FLOAT_LIST_CODE, renumber code list.
5936 * insettoc.C (getScreenLabel): remove support for float lists
5940 * insetfloatlist.[Ch]: new files
5942 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5944 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
5946 * insettabular.C (LocalDispatch):
5947 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5950 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5952 * insettext.C: remvoe !NEW_INSETS cruft
5954 * insettabular.C: remove !NEW_INSETS cruft
5956 * insetcollapsable.h: remove !NEW_INSETS cruft
5958 * insetbib.C: remove !NEW_INSETS cruft
5960 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5962 * insettoc.C: hack to make listof algorithm work
5964 2001-04-20 Juergen Vigna <jug@sad.it>
5966 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5968 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5970 * insetquotes.C (Latex): improve the guard against
5971 unwanted !` and ?` ligatures. This should really be done in
5972 another place (to catch all this ligatures at low-level).
5974 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5976 * insettext.C (init): remvoe leftovers from cursor_visible change
5977 (draw): use c++ cast
5978 (LocalDispatch): dispatch LFUN_MESSAGE
5980 * insettabular.C (InsetTabular): remove leftovers from
5981 cursor_visible, and scoped_ptr changes
5982 (draw): use c++ cast
5984 * insetcollapsable.C (draw): use c++ cast
5986 * ExternalTemplate.h: inherit privaely from noncopyable
5987 * insetcommand.h: ditto
5988 * insetinclude.h: ditto
5990 2001-04-16 Allan Rae <rae@lyx.org>
5992 * insettoc.C (Ascii):
5993 * insettext.C (draw):
5994 * insettabular.C (setPos):
5995 * insetminipage.C (Read):
5996 * insetfloat.C (placement):
5997 * insetcaption.C (Ascii, DocBook):
5998 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
5999 an unrecognised preprocessor directive. So ensure they're wrapped.
6001 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6004 * insetexternal.C: set view on Clone. Add _ to private members.
6006 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6008 * insettext.C (InsetText): fix new
6009 (InsetText): reindent some, simplify deletion of par list
6010 (clear): simplify deletion of par list, fix new
6011 (SetParagraphData): simplify deletion of par list
6013 * insettabular.[Ch] (getLabelList): implement new method
6015 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6017 * lyxinset.h: do not include gettext.h...
6025 * insetlatexaccent.C:
6029 * inseturl.C: ... and do it here instead
6031 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6033 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6035 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6037 * insetcollapsable.[Ch] (getLabelList): implement
6039 * insettext.[Ch] (getLabelList): implement
6041 * insettext.h: reindent
6043 * insettabular.h: make tabular a scoped_ptr
6045 * insettext.C (init): adjust for cursor_visible
6046 (ToggleInsetCursor): constify asc and desc, font, adjust for
6048 (ShowInsetCursor): constify asc and desc, font, adjust for
6050 (HideInsetCursor): adjust for cursor_visible
6052 * insettabular.C: reindent some
6053 (InsetTabular): adjust for scoped_ptr and cursor_visible
6054 (InsetTabular): ditto
6055 (~InsetTabular): delete delete
6056 (Clone): adjust for scoped_ptr
6057 (Read): constify old_format, adjust for scoped_ptr, move init of
6059 (draw): constify tx, localize loop vars.
6060 some other localization of variables, remove double initilizatons.
6062 * insetfoot.C: remove using std::ostream, add ostream where needed
6064 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6066 * lyxinset.h: some reindentaion, use initializer list for
6068 UpdatableInset: make cursor_visible a private var add
6069 public isCursorVisible(), add protected toggleCursorVisible() and
6070 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6072 * insettoc.C: remvoe using decl
6073 (getScreenLabel): make cmdname donst
6076 (Ascii): don't use endl
6078 * insetfootlike.C: remove using decl at file scope and add std::
6080 * insetmarginal.C: ditto
6082 * insetfoot.C: some reformatting
6084 * insetfloat.C (InsetButtonRelease): adjust the hit area
6086 * insetert.C (SetFont): some reformatting
6088 * insetcollapsable.C: some reformatting and constification
6089 (Clone): comment out.
6090 * insetcollapsable.h: some reformatting
6091 (Clone): comment out.
6096 2001-03-30 Juergen Vigna <jug@sad.it>
6098 * insetcollapsable.h: changen *inset to be a InsetText inset.
6100 * some files: changed to reflect the above change.
6102 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6104 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6105 InsetExternal::Params.
6106 Added operator==() and operator!=() for the Params struct.
6108 2001-03-29 Juergen Vigna <jug@sad.it>
6110 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6113 * insetminipage.C: removed widthp_ and all it's functions and changed
6114 to use new %-lengths of LyXLength.
6116 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6118 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6120 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6122 * insetgraphicsParams.C (operator!=): new function, needed by the
6123 ControlGraphics class.
6125 2001-03-28 Juergen Vigna <jug@sad.it>
6127 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6128 (checkAndActivateInset): don't use the values returned from
6129 call to bv->checkInsetHit.
6131 * insetminipage.C (Clone): set special minipage values.
6133 * insetcollapsable.C (draw): changed to draw the button in the
6134 upper left corner outside the textinset.
6135 (ascent): changed because of different drawing
6139 (InsetButtonPress): ditto
6140 (InsetButtonRelease): ditto
6141 (InsetMotionNotify): ditto
6143 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6145 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6149 2001-03-26 Juergen Vigna <jug@sad.it>
6151 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6153 * insettext.C (ShowInsetDialog): implemented above function.
6155 * insettabular.C (ShowInsetDialog): ditto
6157 * insetminipage.C (ShowInsetDialog): ditto
6159 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6161 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6162 InsetInclude::Params. Don't store a buffer * in Params. Store the
6163 master file name instead.
6165 2001-03-23 Juergen Vigna <jug@sad.it>
6167 * insetcollapsable.C (InsetMotionNotify):
6168 (InsetButtonRelease):
6169 (InsetButtonPress): fixed y-offset (minipages).
6171 * insettext.C (draw): force a FULL update if cleared == true.
6173 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6174 routine to draw the minipages on its position-flag.
6175 (InsetInInsetY): give back the right y position, because of minipage
6178 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6181 * insetfloat.C (DocBook): docbook export code.
6183 2001-03-22 Juergen Vigna <jug@sad.it>
6185 * insetminipage.C (getMaxWidth): added function to set the drawing
6187 (Read): should work now!
6189 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6190 if we create a new inset.
6192 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6194 * figinset.C (fl_set_preemptive_callback): moved definition outside
6197 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6199 * insetminipage.C (Read): prepare for reading of minipage arguments.
6201 2001-03-18 Baruch Even <baruch@lyx.org>
6203 * insetgraphics.C: Minor cleanups of the comments and code.
6205 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6207 * insetminipage.C (InsetMinipage): default to not collapsed
6209 2001-03-16 Juergen Vigna <jug@sad.it>
6211 * insetminipage.C (width): modified with to be a string
6212 (widthp): added widthp (for % width) support functions.
6213 (InsetButtonRelease): added to open the options dialog on button==3.
6214 (~InsetMinipage): added to hide the dialog.
6216 * insetminipage.h: added hideDialog signal
6218 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6220 * insetminipage.h: change the order or Position to match
6221 LyXParagraph::MINIPAGE_ALIGNMENT
6223 * several files: remvoe CXX_WORKING_NAMESPACES
6225 * ExternalTemplate.h: noncopyable is in namespace boost
6226 * insetinclude.h: ditto
6227 * insetcommand.h: ditto
6229 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6231 * insettext.C (Edit): #else# -> #else.
6232 * insettoc.C: added using directive.
6234 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6236 * insetminipage.h: add pos, inner_pos, width and height. + getters
6237 and setters for all of them.
6239 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6241 * insetinclude.C (Latex): Do not exit when the textclass of the
6242 included file differ from the textclass of the parent file.
6244 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6246 * ExternalTemplate.C (read): the reading of external insets now checks
6247 for \end_inset and removes it form the input stream.
6249 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6251 * ExternalTemplate.h:
6252 * ExternalTemplate.C:
6254 * insetexternal.C: move form to GUII
6256 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6259 * insetinclude.C: add InsetIncludeParams, use
6260 composition rather than derivation of InsetCommand
6262 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6264 * insettoc.C (Ascii): use the Buffer typedefs
6266 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6268 * insettoc.C (Ascii): implement for dynamic number of lists
6270 * insetcaption.[Ch]: update from new_insets branch
6271 * insetfloat.[Ch]: ditto
6273 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6276 * figinset.C: use new File Dialog
6278 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6280 * insettext.C: changes becuase of ParagraphParameters.
6282 2001-02-28 Baruch Even <baruch@ev-en.org>
6284 * insetgraphics.C (updateInset): Changed due to the change in
6287 2001-02-26 Juergen Vigna <jug@sad.it>
6289 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6290 handled in LyXText).
6292 2001-02-23 Juergen Vigna <jug@sad.it>
6294 * insettext.C (draw): some small repainting fixes.
6295 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6297 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6298 should be) and not an int.
6300 * insettabular.C (LocalDispatch): ditto
6302 * insettext.C (LocalDispatch): ditto
6304 * insetcollapsable.C (LocalDispatch): ditto
6306 2001-02-22 Juergen Vigna <jug@sad.it>
6308 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6309 DISPATCH it and we don't have a locking_inset.
6311 2001-02-21 Baruch Even <baruch@ev-en.org>
6313 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6314 instead of GraphicsCacheItem *.
6316 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6318 * insetcollapsable.C (getLyXText): add const qualifier to second
6321 2001-02-22 Juergen Vigna <jug@sad.it>
6323 * insettext.C (getLyXText): honor the recursive parameter.
6324 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6326 * inset.C (getLyXText): added bool recursive parameter.
6328 * insettext.C (SetUpdateStatus): or the update codes.
6329 (draw): check need_update with &.
6330 (InsetButtonPress): set no_selection to not put a selection when
6331 entering an inset and it is redraws in another spot.
6333 * insettext.h: made need_update an int.
6335 2001-02-20 Baruch Even <baruch@ev-en.org>
6338 * insetgraphisc.C: Changed to use better semantics when loading images
6339 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6341 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6345 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6346 consistent with InsetTabular.
6348 2001-02-19 Juergen Vigna <jug@sad.it>
6350 * insettabular.C (LocalDispatch): implement PAGE up/down.
6352 * insettext.C (draw): clear all of it on need_update==INIT too!
6354 * insettabular.C (InsetUnlock): always clear the selection.
6356 * inset.C (scroll): normally we only want to scroll the inset until
6357 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6359 2001-02-14 Juergen Vigna <jug@sad.it>
6361 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6362 (resetPos): fixed scroll behaviour.
6363 (LocalDispatch): do an update if moving cursor inside a table cell
6364 requests a scroll of the tabular.
6366 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6368 * insettext.C (textWidth): constify local var
6370 * insettabular.C: small cleanup.
6372 * insetfoot.C (Latex): constify local var
6374 * insetcollapsable.C: small cleanup.
6376 * figinset.C (runqueue): use compare instead of strcmp
6378 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6381 * insetinfo.C: remove cruft
6383 2001-02-14 Juergen Vigna <jug@sad.it>
6385 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6387 2001-02-13 Juergen Vigna <jug@sad.it>
6389 * insettext.C (InsertInset): don't move left (is this right?)
6391 * insettabular.C (LocalDispatch): use of the no_draw variable
6393 * insettabular.h: new no_draw variable to stop redraw
6395 * insettabular.C (TabularFeatures): fixed update for alignment change
6397 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6401 * insetbib.C: move dialogs to frontends/
6403 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6405 * insettext.C (LocalDispatch): Restore the language if the inset
6408 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6410 * insettext.C (moveRightIntern): Update the selection cursor.
6411 (moveLeftIntern): Ditto.
6413 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6415 * Makefile.am: remove BoundingBox.h
6417 * BoundingBox.h: removed
6419 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6421 * insettext.C (LocalDispatch): Update selection cursor when moving
6422 cursor to the right.
6423 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6424 (moveLeftIntern): Ditto.
6426 2001-02-05 Baruch Even <baruch.even@writeme.com>
6428 * insetgraphics.C: Updated automatic image conversion, it now goes into
6429 temporary directory instead of with the image itself.
6431 2001-01-21 Baruch Even <baruch@ev-en.org>
6433 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6434 to EPS or PNG when needed (support bitmap graphics).
6436 2000-11-02 Baruch Even <baruch@ev-en.org>
6439 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6440 and removal of commented out code.
6442 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6444 * insetbib.C (callback): Update citations if the key has changed.
6446 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6448 * insetbib.C (InsetBibKey): Better computation of default key.
6449 (getScreenLabel) Show both the key and the label.
6450 (getBibLabel): New method.
6451 (callback): Force a redraw if the inset have been changed.
6453 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6455 * insetref.C (getType, getName): Move methods from
6456 src/frontends/xforms/FormRef.C.
6458 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6460 * insettabular.C: Various improvements (use only one dummy position).
6462 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6464 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6465 par->bibkey->width. This fixes the crashes when running without
6466 gui or when having included documents.
6468 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6470 * insetcommand.C (getAsString, setFromString): Cleanup.
6472 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6474 * insetref.C: Add the array InsetRef::types that contains
6475 information about all supported reference types.
6477 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6479 * lyxinset.h: remove trailing comma in enum.
6481 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6483 * insettext.C: kill LyXBell.