2 2003-12-10 André Pönitz <poenitz@gmx.net>
7 * insettext.[Ch]: remove unused insetInset()
9 * insetert.C: disable some LFUNs
11 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
13 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
15 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
17 2003-12-04 Angus Leeming <leeming@lyx.org>
19 * insetexternal.C (draw): update the xo_, yo_ cache.
21 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member function.
22 (RotationDataType): new helper struct wrapping the
23 RotationData::OriginType enum.
25 2003-12-03 André Pönitz <poenitz@gmx.net>
27 * inset.h: remove getParagraphs()
29 * insetcollapsable.[Ch]:
33 * insettext.C: use getText() instead of getParagraphs()
35 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
37 * insetert.C: fix label text updating bug
39 2003-12-02 Angus Leeming <leeming@lyx.org>
41 * insetvspace.[Ch] (space): new member function. Make space_ private.
42 (read): use the new, simpler lyxlex syntax.
44 2003-12-01 André Pönitz <poenitz@gmx.net>
46 * insetcollapsable.[Ch]:
47 * insetert.[Ch]: move 'inline' state to InsetCollapsable
49 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
51 * insetvspace.C (read): handle 'end_inset' token.
53 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
55 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
57 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
59 * insetcollapsable.[Ch]:
61 * insetcharstyle.C: place inset content on the button when
64 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
66 * insetvspace.C: remove VSpace::NONE; increase inset width
68 2003-12-01 André Pönitz <poenitz@gmx.net>
70 * insetbase.h: whitespace
72 * inset.[Ch]: remove latexTextWidth
73 make setBackgroundColor virtual
75 * insettext.[Ch]: move ParagraphList member to LyXText
77 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
85 * insetwrap.[Ch]: adjust paragraphs and background color handling,
87 2003-11-28 Angus Leeming <leeming@lyx.org>
89 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
90 hiding and showing the dialog respectively.
91 (priv_dispatch): also actually update the inset contents.
93 2003-11-28 Angus Leeming <leeming@lyx.org>
96 * insetbranch.C (d-tor):
97 * insetcite.C (d-tor):
98 * insetfloat.C (d-tor):
99 * insetfloatlist.C (d-tor):
100 * insetinclude.C (d-tor):
101 * insetindex.C (d-tor):
102 simplify the invocation of the Mailer::hideDialog() function.
104 * insetminipage.C (showInsetDialog):
105 simplify the invocation of the Mailer::showialog() function.
107 2003-11-28 André Pönitz <poenitz@gmx.net>
110 * insetvspace.[Ch]: new insets
112 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
114 * insetcharstyle.C: Syntax change for CharStyles
116 2003-11-28 André Pönitz <poenitz@gmx.net>
118 * updatableinset.h: remove insetInInsetY
120 * insetcollapsable.[Ch]:
123 * insettext.[Ch]: adjust
125 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
129 * insetcollapsable.[Ch]:
131 * insettabular.[Ch]: remove setFont
133 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
135 * render_graphic.[Ch]: adjust comments
137 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
139 * insetgraphics.C (draw): cache xo_ & yo_
141 2003-11-24 André Pönitz <poenitz@gmx.net>
143 * insettext.C (setViewCache): don't call LyXText::init() anymore
145 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
148 * insetcollapsable.[Ch]:
149 * insetert.[Ch]: remove bufferview parameter in methods
150 open, close, status, and updateStatus.
152 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
154 * insetcollapsable.[Ch]:
156 * insettext.[Ch] (getCursorDim): squash unused variable
158 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
160 * insettext.C (edit): x0_,y0_ -> xo_,yo_
162 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
164 * insettext.C (draw): sets LyXText absolute coordinates
166 2003-11-20 Angus Leeming <leeming@lyx.org>
168 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
169 about unused parameters.
171 * insetcollapsable.C (open):
172 * insettabular.C (pasteSelection):
173 * insettoc.C (draw): ditto.
175 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
177 * insetcollapsable.C:
179 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
180 remove mouse_x mouse_y etc.
182 2003-11-17 André Pönitz <poenitz@gmx.net>
184 * insettext.[Ch] (cx, cy): remove
186 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
188 2003-11-13 André Pönitz <poenitz@gmx.net>
191 * insetcollapsable.[Ch]:
193 * insettext.[Ch] (deleteLyXText): remove
195 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
197 * insetcollapsable.[Ch] (fitInsetCursor): remove
198 * insettabular.[Ch] (fitInsetCursor): remove
199 * insettext.[Ch] (fitInsetCursor): remove
200 * updatableinset.[Ch] (fitInsetCursor): remove
201 (getCursorDIm): add virtual
203 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
205 * src/insets/Makefile.am:
206 * src/insets/inset.h:
207 * src/insets/insetcharstyle.C:
208 * src/insets/insetcharstyle.h: The Character Style /XML short
211 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
213 * insettext.C: remove all update calls
214 * insetcollapsable.C: remove all update calls
216 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
218 * insettext.C (updateLocal, insertInset, setFont): remove
221 2003-11-10 André Pönitz <poenitz@gmx.net>
223 * inset.h: remove Inset::id_
225 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
228 2003-11-10 André Pönitz <poenitz@gmx.net>
232 * insetcollapsable.[Ch]:
239 * updatableinset.[Ch]: remove inset locking & adjust
241 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
243 * inset.h (allowSpellCheck): add (return true)
244 * insetert.h (allowSpellCheck): add (return false)
246 2003-11-05 José Matos <jamatos@lyx.org>
254 * insetcollapsable.[Ch]:
258 * insetexternal.[Ch]:
260 * insetfloatlist.[Ch]:
262 * insetgraphics.[Ch]:
267 * insetlatexaccent.[Ch]:
270 * insetmarginal.[Ch]:
271 * insetminipage.[Ch]:
275 * insetpagebreak.[Ch]:
279 * insetspecialchar.[Ch]:
285 * insetwrap.[Ch]: rename ascii to plaintext
286 and LatexRunParams to OutputParams.
288 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
290 * insetcollapsable.C (edit): add open() all
291 * insettext.C (edit): add setViewCache call
293 2003-11-04 André Pönitz <poenitz@gmx.net>
295 * inset.h (edit): move locking code from dispatch() to edit()
301 * insetcollapsable.[Ch]:
304 * insetexternal.[Ch]:
305 * insetgraphics.[Ch]:
311 * insettext.[Ch]: adjust
313 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
316 * insetcollapsable.[Ch]:
320 * updatableinset.[Ch]: remove dead search code
322 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
325 * insetcollapsable.[Ch]:
329 * updatableinset.[Ch]: remove dead spellcheck code
331 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
333 * insettabular.C (lockInsetInInset): small fix
335 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
337 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
338 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
339 from here. Be stricter on DispatchResult returned.
341 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
343 * Inset::dispatch's: adjust for new DispatchResult semantics.
345 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
347 * render_base.h: make clone return an auto_ptr
348 * render_button.C (clone): adjust
349 * render_graphic.C (clone): adjust
350 * render_preview.C (clone): adjust
352 * insettheorem.C (clone): return an auto_ptr
354 * insettext.C (priv_dispatch): exception safety
356 * insettabular.C: store the file scope variable paste_tabular in a
357 scoped_ptr, adjust usage.
359 * insetexternal.C (setParams): exception safety
361 * insetbibitem.C (clone): exception safety
363 2003-11-03 André Pönitz <poenitz@gmx.net>
366 * insetcollapsable.[Ch]:
368 * insettext.[Ch]: remove Inset::id and related functions
370 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
372 * insets: adjust for DispatchResult changes.
374 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
376 * insetpagebreak.C: fix screen representation & ascii output.
378 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
383 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
385 2003-10-31 José Matos <jamatos@lyx.org>
387 * inset.h (ascii, linuxdoc, docbook):
388 * insetbox.[Ch] (ascii, linuxdoc, docbook):
389 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
390 * insetcaption.[Ch] (ascii, docbook):
391 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
392 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
393 * insetert.[Ch] (ascii, linuxdoc, docbook):
394 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
395 * insetfloat.[Ch] (linuxdoc, docbook):
396 * insetfloatlist.[Ch] (ascii):
397 * insetfoot.[Ch] (docbook):
398 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
399 * insethfill.[Ch] (ascii, linuxdoc, docbook):
400 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
401 * insetindex.[Ch] (docbook):
402 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
403 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
404 * insetline.[Ch] (ascii, linuxdoc, docbook):
405 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
406 * insetnote.[Ch] (ascii, linuxdoc, docbook):
407 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
408 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
409 * insetref.[Ch] (ascii, linuxdoc, docbook):
410 * insetspace.[Ch] (ascii, linuxdoc, docbook):
411 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
412 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
413 * insettext.[Ch] (ascii, linuxdoc, docbook):
414 * insettoc.[Ch] (ascii, linuxdoc, docbook):
415 * inseturl.[Ch] (ascii, linuxdoc, docbook):
416 * insetwrap.[Ch] (docbook):
417 add LatexRunParams argument.
419 2003-10-30 José Matos <jamatos@lyx.org>
421 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
423 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
425 * updatableinset.C (priv_dispatch):
426 * insetwrap.C (priv_dispatch):
427 * inseturl.C (priv_dispatch):
428 * insettoc.C (priv_dispatch):
429 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
430 (moveLeftIntern, moveUp, moveDown):
431 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
432 (moveLeft, moveUp, moveDown):
433 * insetref.C (priv_dispatch):
434 * insetnote.C (priv_dispatch):
435 * insetminipage.C (priv_dispatch):
436 * insetlabel.C (priv_dispatch):
437 * insetindex.C (priv_dispatch):
438 * insetinclude.C (priv_dispatch):
439 * insetgraphics.C (priv_dispatch):
440 * insetfloatlist.C (priv_dispatch):
441 * insetfloat.C (priv_dispatch):
442 * insetexternal.C (priv_dispatch):
443 * insetert.C (priv_dispatch):
444 * insetcommand.C (priv_dispatch):
445 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
446 * insetcite.C (priv_dispatch):
447 * insetbranch.C (priv_dispatch):
448 * insetbox.C (priv_dispatch):
449 * insetbibtex.C (priv_dispatch):
450 * insetbibitem.C (priv_dispatch):
451 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
453 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
455 * insettext.C: small refactoring of docbook stuff
457 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
459 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
460 (priv_dispatch): adjust for operator dispatch_result_t removal
462 * insettabular.C (lfunMouseRelease): put the result of a dispatch
463 in a DispatchResult, adjust accordingly.
464 (priv_dispatch): use strange >= construct... (will be removed later)
466 * most insets: dispatch_result -> DispatchResult
468 * insetbase.h: move DispatchResult out to dispatchresult.h
470 2003-10-27 André Pönitz <poenitz@gmx.net>
472 * insetpagebreak.[Ch]: new inset for page breaks
474 * insetline.[Ch]: new inset for vertical lines
479 2003-10-25 Angus Leeming <leeming@lyx.org>
481 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
482 new virtual member functions, specialised...
483 * render_button.h (asButton):
484 * render_graphic.h (asGraphic):
485 * render_preview.h (asPreview, asMonitoredPreview): ... here.
487 * insetexternal.C: use these new functions rather than dynamic_cast.
488 Various other small simplifications.
490 2003-10-22 Angus Leeming <leeming@lyx.org>
492 * insetexternal.[Ch]: add the ability to 'preview' the external file
495 * insetinclude.C: changes due to the changes in the RenderPreview
498 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
499 message if the preview image is not available. Only initiate the
500 loading of the preview from draw(). Ditto, start the monitoring
501 of an external file from RenderMonitoredPreview::draw.
503 2003-10-22 Angus Leeming <leeming@lyx.org>
505 * insetcite.[Ch] (setLoadingBuffer): removed.
506 (getNatbibLabel): use the new Buffer::fully_loaded member function to
507 ascertain whether to proceed with the (expensive) task of computing
508 the natbib-style label. Remove the home-grown hack providing
509 similar functionality.
511 2003-10-22 Angus Leeming <leeming@lyx.org>
513 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
514 class and into an anonymous namespace.
516 2003-10-22 Angus Leeming <leeming@lyx.org>
518 * insetcommand.h: remove the display method.
522 * insetindex.h (InsetPrintIndex):
523 * insettoc.h: add a display method, returning true.
525 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
527 * insetcollapsable.h:
531 * insetinclude.h: (1) finish off the inset display() work;
532 (2) fix the "is a bit silly" bug (accessing char
535 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
539 * insetfootlike.h: re-introduce display() for insets,
540 fixing the various bugs (stretch of line above, math inset
543 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
545 * insetbase.C (dispatch): new func
546 (priv_dispatch): new func replaces...
547 (localDispatch): this, deleted.
549 * all insets with dispatch modified for new code.
551 2003-10-15 André Pönitz <poenitz@gmx.net>
553 * insetcollapsable.[Ch]
555 * inset.h: re-add some edit(bv, index) method called by undo
557 2003-10-14 Angus Leeming <leeming@lyx.org>
559 * insetexternal.[Ch] (view, cache, view_):
560 * insetgraphics.[Ch] (view, cache, view_):
561 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
562 (statusChanged): call LyX::cref().updateInset.
564 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
565 the BufferView cache.
567 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
570 2003-10-14 Angus Leeming <leeming@lyx.org>
572 * insetinclude.C (metrics, draw): only draw the preview when previews
575 2003-10-14 André Pönitz <poenitz@gmx.net>
577 * insetcollapsable.[Ch]:
580 * inset.h: getText() as alternative to getParagraphs()
582 2003-10-13 Angus Leeming <leeming@lyx.org>
585 * insetgraphicsParams.C: displayTranslator is now a function.
587 2003-10-13 Angus Leeming <leeming@lyx.org>
589 * insetinclude.C: remove #include "PreviewImage.h".
591 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
594 * ExternalTransforms.C:
596 * insetbox.h: ws changes only
598 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
600 * insetinclude.C (localDispatch): do not call
601 InsetOld::localDispatch, just return UNDISPATCHED
602 * insetgraphics.C (localDispatch): ditto
603 * insetcommand.C (localDispatch): ditto
605 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
607 * inset.h: get rid of RESULT typedef for dispatch_result
609 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
610 * insetert.[Ch] (localDispatch): ditto
611 * insettabular.[Ch] (localDispatch): ditto
616 * insettext.[Ch] (localDispatch): ditto
619 (moveRightIntern): ditto
620 (moveLeftIntern): ditto
623 * updatableinset.[Ch] (localDispatch): ditto
625 2003-10-12 Angus Leeming <leeming@lyx.org>
627 * renderbase.h (view, view_): removed.
628 * renderbase.C: removed.
629 * Makefile.am: remove render_base.C. The shortest lived file in
632 * renderbutton.C (draw):
633 * render_graphic.C (draw): don't cache the BufferView.
635 * insetabase.h (cache, view): removed.
637 * inset.h (generatePreview) removed.
639 * insetcallapsable.[Ch] (cache, view, view_): removed.
641 * insetcollapsable.C (draw): don't cache the BufferView.
643 * insetcommand.[Ch] (view): removed.
645 * insetexternal.[Ch] (cache, view, view_):
646 * insetgraphics.[Ch] (cache, view, view_):
647 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
649 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
650 when you have direct access to it. In fact, don't use the cache at all.
652 2003-10-10 Angus Leeming <leeming@lyx.org>
654 * insetinclude.C (metrics): use preview_->metrics.
655 (draw): use preview_->draw.
657 * render_preview.[Ch] (pimage): removed.
659 2003-10-10 Angus Leeming <leeming@lyx.org>
661 * renderers.[Ch]: removed.
664 * render_button.[Ch]:
665 * render_graphic.[Ch]:
666 * render_preview.[Ch]: new files. The first three are split out of
667 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
668 contains a re-worked InsetInclude::PreviewImpl also.
670 * Makefile.am: reflect the changed files.
673 * insetexternal.[Ch]:
674 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
676 * insetinclude.[Ch]: changes reflecting the change from
677 InsetInclude::PreviewImpl to RenderMonitoredPreview.
683 * inseturl.C: add #include "support/std_ostream.h"
685 2003-10-09 Angus Leeming <leeming@lyx.org>
687 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
688 to PreviewedInset::previewReady.
690 2003-10-09 Angus Leeming <leeming@lyx.org>
692 * insetexternal.[Ch] (statusChanged):
693 * insetgraphics.[Ch] (statusChanged): make a const member function.
695 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
698 2003-10-09 Angus Leeming <leeming@lyx.org>
700 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
701 to PreviewedInset's previewReady and removePreview member functions.
703 2003-10-08 André Pönitz <poenitz@gmx.net>
705 * insetcollapsable.C:
706 * insettext.[Ch]: saner 'init' structure
708 * updatableinset.[Ch]: remove unneeded code
710 2003-10-08 Angus Leeming <leeming@lyx.org>
712 Fix doxygen warnings.
714 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
715 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
717 2003-10-07 Angus Leeming <leeming@lyx.org>
719 * ExternalTransforms.[Ch]: new files, detailing transforms that can
720 be applied to InsetExternal.
722 * Makefile.am: add these new files.
724 * ExternalTemplate.[Ch]: add a list of available transforms to
725 class Template and a list of factory functions for transformer classes
726 that can act on this data to class Format.
728 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
730 * ExternalSupport.C: Add code to replace transform placeholders
731 with appropriate output.
733 2003-10-07 Angus Leeming <leeming@lyx.org>
735 * ExternalSupport.[Ch]: new files, moving the private member functions
736 and namespace anon functions out of insetexternal.C to here, so making
737 it easier to understand what is going on in insetexternal itself.
739 * Makefile.am: add new files.
741 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
742 allowing the class to be forward declared. (Also consistent with
743 all other Params classes.)
744 (write): moved out of the class. Move this function and those in
745 namespace anon to ExternalSupport.[Ch].
747 2003-10-07 Angus Leeming <leeming@lyx.org>
749 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
750 non-const member function.
752 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
757 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
759 2003-10-02 André Pönitz <poenitz@gmx.net>
761 * insettext.C (read): make sure there is at least one par
762 in the text after reading.
764 2003-10-01 José Matos <jamatos@lyx.org>
766 * insetbranch.C (linuxdoc, docbook): minor fix.
768 2003-10-01 Angus Leeming <leeming@lyx.org>
770 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
772 * insetexternal.[Ch]: changes due to the introduction of
773 namespace lyx::external.
775 2003-09-30 Angus Leeming <leeming@lyx.org>
777 * insetexternal.[Ch] (Params::read, write): new member functions.
779 2003-09-25 Angus Leeming <leeming@lyx.org>
781 * insetexternal.[Ch] (TempName): new (private) nested struct with
782 fake copy semantics. Enables us to use the generated copy c-tor
783 in the Params struct.
784 (Params::templatename, Params::tempname): use accessor functions.
786 2003-09-25 Angus Leeming <leeming@lyx.org>
788 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
789 function, returning a const pointer.
791 2003-09-23 Angus Leeming <leeming@lyx.org>
793 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
794 store them in a vector, preambleNames.
796 * insetexternal.C (validate): loop over all preambleNames and call
797 LaTeXFeatures::addExternalPreamble with each.
799 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
801 * insetbranch.C: bug fix in branches
803 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
805 * insetnote.C: small clean-up.
807 2003-09-19 Angus Leeming <leeming@lyx.org>
809 * inset.h (generatePreview): passed a 'Buffer const &' arg.
811 * insetcommand.C (string2params): clear params using the default c-tor.
813 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
814 InsetInclude::Params. No more data in this struct than in
815 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
816 (c-tor): no need to pass a 'Buffer const &' arg anymore.
817 (clone): remove #warning as it's now redundant.
818 (set): add a 'Buffer const &' arg. Make private.
819 (loadIfNeeded) move out of the class definition and into namespace anon.
820 (getMasterFilename, getFileName): ditto.
822 2003-09-18 Angus Leeming <leeming@lyx.org>
824 * insetcommand.C (setParams): use the params' copy constructor.
826 2003-09-18 Angus Leeming <leeming@lyx.org>
828 * insetinsetbase.h (getLabelList):
829 * insetinsetcollapsable.[Ch] (getLabelList):
830 * insetinsetinclude.[Ch] (getLabelList):
831 * insetinsetlabel.[Ch] (getLabelList):
832 * insetinsettabular.[Ch] (getLabelList):
833 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
834 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
836 2003-09-18 Angus Leeming <leeming@lyx.org>
838 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
839 redundant baggage from yesteryear.
840 Remove Params::flag as it is redundant; the info is present in
843 2003-09-18 Angus Leeming <leeming@lyx.org>
845 * insetinclude.C (latexString): add a Buffer const & arg.
847 2003-09-18 Angus Leeming <leeming@lyx.org>
852 * insettext.h: rename EnumLColor as LColor_color.
854 2003-09-18 Angus Leeming <leeming@lyx.org>
856 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
857 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
859 2003-09-16 Angus Leeming <leeming@lyx.org>
861 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
862 set before trying to generate a preview, else we trigger an assert.
864 2003-09-16 Angus Leeming <leeming@lyx.org>
866 * insetinclude.C (PreviewImpl::parent): return a const reference.
868 2003-09-16 Angus Leeming <leeming@lyx.org>
870 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
872 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
874 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
875 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
877 * insetminipage.C (metrics):
878 * insetnote.C (metrics):
879 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
880 access collapsed_ directly.
882 2003-09-16 Angus Leeming <leeming@lyx.org>
884 * insetbibitem.C: add #include "lyxfont.h".
886 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
889 * insetbibtex.C: use namespace alias for lyx::support::os
891 2003-09-16 Angus Leeming <leeming@lyx.org>
893 * insetcollapsable.h: remove unused framecolor variable.
894 Remove #include "LColor.h".
896 * insetcollapsable.C: remove unused framecolor variable.
899 * insetcollapsable.C:
907 Add #include "LColor.h".
909 2003-09-16 Angus Leeming <leeming@lyx.org>
911 * insettext.[Ch] (frameColor): new accessor function.
912 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
918 add #include "LColor.h".
920 * insetcollapsable.h: add #include "LColor.h"
921 (for its framecolor member variable).
923 2003-09-16 Angus Leeming <leeming@lyx.org>
925 * insetenv.C (constructor): use accessor functions to access InsetText variables.
927 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
928 rename frame_color as frame_color_. Make private.
930 * insettext.C: associated changes.
932 2003-09-16 Angus Leeming <leeming@lyx.org>
934 * inset.h: store background_color_ as an int, not as an LColor::color to
935 get LColor.h out of the header file.
938 * insetlatexaccent.C:
941 * insetspecialchar.C:
943 add #include "LColor.h".
945 2003-09-16 Angus Leeming <leeming@lyx.org>
947 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
950 2003-09-15 Angus Leeming <leeming@lyx.org>
952 * inset.[Ch] (setBackgroundColor, backgroundColor):
953 * insettext.[Ch] (setFrameColor):
954 pass EnumLColor args, rather than LColor::color ones.
956 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
966 * insetwrap.C: remove usage of STRCONV
968 2003-09-15 Angus Leeming <leeming@lyx.org>
970 * renderers.C (draw):
971 * insetlatexaccent.C (draw): explicitly define the color passed to
974 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
976 * insettext.C: remove block causing problems in lockInsetInInset
977 (mentioned erroneously under Bug #1366)
979 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
981 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
984 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
986 * several files: change Assert to BOOST_ASSERT
988 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
990 * insettext.[Ch]: remove drawText[XY]Offset
992 2003-09-08 Angus Leeming <leeming@lyx.org>
994 * insetcollapsable.C:
999 * insetspecialchar.C:
1002 * insettoc.C: remove redundant using directives.
1004 2003-09-07 Angus Leeming <leeming@lyx.org>
1007 * insetspecialchar.h: remove #include "support/std_string.h".
1009 2003-09-06 Angus Leeming <leeming@lyx.org>
1011 * renderers.C: add #include "insets/inset.h"
1013 2003-09-05 Angus Leeming <leeming@lyx.org>
1015 * *.C: strip out redundant #includes. (193 in total.)
1017 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1019 * insets/insetbibtex.[Ch]:
1020 * insets/insetcommand.h:
1021 * insets/insetfloatlist.[Ch]:
1022 * insets/insetinclude.[Ch]:
1023 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1024 of insets like bibtex, include, toc and floatlist to the visible
1025 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1026 up the dialogs. Cursor has to be in front of the inset (i.e.
1027 start of row) for this to function.
1029 2003-09-04 Angus Leeming <leeming@lyx.org>
1031 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1032 structure outside of the Format struct. Format::preambleName refers to
1033 an item in the map of all preamble snippets.
1034 Make use of the new Debug::EXTERNAL flag.
1036 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1037 (validate): Small change due to the changed storage of preamble snippets.
1039 2003-09-04 Angus Leeming <leeming@lyx.org>
1041 * insetgraphics.C: #include "support/os.h"
1043 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1044 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1045 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1047 * insetcollapsable.h:
1049 * insetnote.C: move #include "funcrequest.h" out of the header file.
1051 2003-09-03 Angus Leeming <leeming@lyx.org>
1053 * insetexternal.C (updateExternal):
1054 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1057 2003-09-03 Angus Leeming <leeming@lyx.org>
1059 * insetexternal.C: don't bring namespace lyx::support into the global
1062 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1064 * insetbranch.C: Add Branch: to label
1066 2003-09-02 John Levon <levon@movementarian.org>
1069 * insettext.C: remove cursor.i[xy]()
1071 2003-08-28 Angus Leeming <leeming@lyx.org>
1073 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1074 "sh ", enabling the conversion to be carried out even if the script
1077 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1079 * most files: change to use const Buffer refs
1081 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1083 * insetfootlike.C: whitespace.
1085 2003-08-26 John Levon <levon@movementarian.org>
1089 * insetindex.h: remove remaining mentions of needFullRow()
1091 2003-08-26 André Pönitz <poenitz@gmx.net>
1097 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1099 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1101 * insetbranch.C: Small fix to prevent a crash on loading.
1103 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1108 * insetcollapsable.h:
1110 * insetfloatlist.[Ch]:
1111 * insetfootlike.[Ch]:
1112 * insetinclude.[Ch]:
1118 * insettheorem.[Ch]:
1119 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1120 altogether, putting the logic in metrics/draw in the insets.=20
1121 Draws short single row insets with more or less realistic metrics.
1123 2003-08-19 André Pönitz <poenitz@gmx.net>
1125 * insettext.C: use new RowPainter interface
1127 2003-08-18 John Levon <levon@movementarian.org>
1129 * insetref.C: require amsmath for eqref
1131 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1135 * insetbranch.[Ch]: implements the 'branch inset'
1136 idea. This allows the output of various versions of a document
1137 from a single source version, selectively outputing or suppressing
1138 output of parts of the text.
1139 This implementation contains a 'branch list editor' in a separate
1140 tab of the document settings dialog. Branches are user definable
1141 and have a "display colour" to distinguish them on-screen.
1143 ColorHandler was somewhat cleaned up.
1144 (1) make possible a dynamically growing LColor list by allowing
1145 the graphic context cache to grow along (vector);
1146 (2) eliminate an IMHO unnecessary step in colour allocation.
1148 2003-08-15 André Pönitz <poenitz@gmx.net>
1150 * insettext.[Ch]: adjust after rowlist split
1152 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1154 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1155 rename valign-center to valign-middle;
1156 rename VALIGN_CENTER to VALIGN_MIDDLE
1158 2003-08-11 André Pönitz <poenitz@gmx.net>
1160 * inset.h: remove resizeLyXText
1163 * insetcollapsable.[Ch]:
1165 * insettabular.[Ch]: adjust
1167 * insettext.[Ch]: remove saveLyXTextState,
1168 restoreLyXTextStat, sstate, reinitLyXText
1170 2003-08-07 André Pönitz <poenitz@gmx.net>
1172 * inset.[Ch]: move non-crucial functions out-of-line
1174 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1175 remove duplicated code.
1177 2003-08-05 André Pönitz <poenitz@gmx.net>
1180 * insetcollapsable.[Ch]:
1190 * insettabular.[Ch]:
1193 * updatableinset.[Ch]: rip out "deep update"
1195 * insettext.C (localDispatch): merge cases with default branch
1197 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1199 * insettabular.[Ch] (updateLocal): simplify logic
1201 2003-08-04 André Pönitz <poenitz@gmx.net>
1203 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1204 is 'FULL' all the time.
1206 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1208 * insetert.C (get_new_label): only add ... to the (closed) label
1209 when the string has been shortened
1211 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1213 * Always use std::endl with lyxerr
1215 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1217 * insetnote.C: update \author list
1219 2003-07-31 André Pönitz <poenitz@gmx.net>
1221 * insetcollapsable.h:
1222 * insettabular.[Ch]:
1223 * insettext.[Ch]: remove toggleSelection
1225 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1227 (with help from Juergen Spitzmueller)
1228 * insetnote.C: add add i18n support. Use Prefs-definable
1229 colours for Comment and Greyedout.
1231 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1233 * insetcollapsable.[Ch]:
1235 * insetert.C: factor out the detection of clicking on the inset
1236 button as 'hitButton'. John Levon contributed.
1238 2003-07-30 André Pönitz <poenitz@gmx.net>
1240 * insetcollapsable.C:
1242 * insettabular.C: parantheses, localize vars etc.
1244 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1246 * insetnote.C: Implement a newenvironment in preamble for
1247 greyedout. Patch provided by Jürgen Spitzmüller.
1249 2003-07-29 Angus Leeming <leeming@lyx.org>
1251 * insetcommand.C (localDispatch): default to
1252 InsetOld::localDispatch.
1254 * insetbibitem.C (localDispatch):
1255 * insetbibtex.C (localDispatch): remove call to
1256 ChangeCitationsIfUnique.
1258 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1260 * insetexternal.C (read): use pushpophelper.
1262 2003-07-28 José Matos <jamatos@lyx.org>
1264 * insetext.C (read): \end_document replaces \the_end.
1266 2003-07-28 José Matos <jamatos@fep.up.pt>
1268 * insetert.C (write): \layout -> \begin_layout.
1269 Add missing \end_layout.
1271 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1273 * insetquotes.C: document a bit the format
1275 * insettabular.C (write): remove extra space
1277 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1278 * insetnote.C: Umpf. Hope I *now* get it right :-(
1280 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1281 *insetnote.C: did the right fix to greyedout: \color
1282 instead of \textcolor.
1284 2003-07-28 Angus Leeming <leeming@lyx.org>
1286 * insetbibtex.h: remove extraneous forward declaration.
1289 * insetbibtex.h: Also remove long-dead Holder member class
1292 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1294 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1297 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1299 * insetwrap.C (addToToc): adjust for lyx::toc
1301 * insetfloatlist.C (ascii): adjust for lyx::toc
1303 * insetfloat.C (addToToc): adjust for lyx::toc
1305 2003-07-27 José Matos <jamatos@fep.up.pt>
1307 * insetnote.h (linuxdoc,docbook): update support.
1309 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1311 * insetfloat.C (wide): add a space to label, for consistency
1313 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1315 * insettext.C (nextChange): adjust for lyx::find
1316 (searchForward): ditto
1317 (searchBackward): ditto
1319 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1321 * insetgraphicsParams.C:
1322 * insetexternal.C: declare extern displayTranslator
1325 * renderers.C: add #include "support/LAssert.h"
1327 2003-07-27 José Matos <jamatos@fep.up.pt>
1329 * insetfloat.[Ch] (linuxdoc):
1330 * insetgraphics.C (linuxdoc):
1331 * insettabular.C (linuxdoc):
1332 * insettext.[Ch] (linuxdoc): add support for tables and figures
1335 2003-07-27 José Matos <jamatos@fep.up.pt>
1337 * insetinclude (latex): comply with makeLaTeXFile argument change.
1339 2003-07-26 Asger Alstrup <alstrup@local>
1341 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1342 the undo crashes. We'll see what problems other places this will
1345 2003-07-26 Angus Leeming <leeming@lyx.org>
1347 * insetgraphics.C: remove unused declaration of system_tempdir.
1349 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1351 * rename Inset to InsetOld
1353 * all inset files (clone): return a auto_ptr<InsetBase>
1355 2003-07-23 Angus Leeming <leeming@lyx.org>
1357 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1359 2003-07-23 Angus Leeming <leeming@lyx.org>
1361 * mailinset.[Ch] (inset2string):
1362 * insetcommand.[Ch] (inset2string):
1363 * insetert.[Ch] (inset2string):
1364 * insetexternal.[Ch] (inset2string):
1365 * insetfloat.[Ch] (inset2string):
1366 * insetgraphics.[Ch] (inset2string):
1367 * insetinclude.[Ch] (inset2string):
1368 * insetminipage.[Ch] (inset2string):
1369 * insetnote.[Ch] (inset2string):
1370 * insettabular.[Ch] (inset2string):
1371 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1373 * insetexternal.[Ch]:
1374 * insetgraphics.[Ch]: get rid of the view() function. Associated
1375 changes to the mailers' string2params and params2string functions.
1377 2003-07-23 Angus Leeming <leeming@lyx.org>
1379 * insetexternal.[Ch]: store the external file name in a FileName
1380 member variable rather than a string + associated changes.
1382 2003-07-21 Angus Leeming <leeming@lyx.org>
1384 * insetgraphicsParams.[Ch]: store the graphics file name in
1385 a FileName member variable rather than a string.
1387 * insetgraphics.[Ch]:
1388 * insetgraphicsParams.[Ch]: Associated changes.
1390 2003-07-21 Angus Leeming <leeming@lyx.org>
1392 * insetgraphics.[Ch] (string2params, params2string): passed a
1393 buffer_path argument.
1396 2003-07-21 Angus Leeming <leeming@lyx.org>
1399 * insetgraphicsParams.[Ch]:
1401 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1403 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1405 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1407 2003-07-18 André Pönitz <poenitz@gmx.net>
1410 * insetminipage.[Ch]:
1411 * insettabular.[Ch]:
1414 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1416 2003-07-18 André Pönitz <poenitz@gmx.net>
1420 * insetcollapsable.C:
1424 * insetgraphics.[Ch]:
1425 * insetlatexaccent.[Ch]:
1430 * insetspecialchar.C:
1431 * insettabular.[Ch]:
1433 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1435 2003-07-17 André Pönitz <poenitz@gmx.net>
1437 * insetcollapsable.C:
1439 * insettext.C: don't call Inset::update() anymore
1442 * insettabular.[Ch]: remove unneeded in_update_ members
1444 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1446 2003-07-16 André Pönitz <poenitz@gmx.net>
1448 * insettext.C (selectAll): remove
1450 2003-07-16 John Levon <levon@movementarian.org>
1453 * insetnote.C: implement showInsetDialog()
1455 2003-07-15 André Pönitz <poenitz@gmx.net>
1458 * insettext.C: refresh_status tristate -> need_update bool
1460 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1462 * insettext.C: adjust call to LyXText::init
1464 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1466 * insettext.C: use bufferview_funcs->replaceSelection()
1467 to delete selections in some cases (bugs 441, 673, 702, 954).
1469 2003-07-14 André Pönitz <poenitz@gmx.net>
1471 * insettext.C (draw): use slimmed down rowpainter interface
1473 2003-07-14 André Pönitz <poenitz@gmx.net>
1475 * insetcollapsable.C:
1477 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1478 remove unused BufferView * argument
1480 2003-07-14 André Pönitz <poenitz@gmx.net>
1482 * insettext.[Ch]: used cached metrics a bit more
1484 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1486 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1488 2003-07-10 André Pönitz <poenitz@gmx.net>
1491 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1493 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1495 * introduce namespace lyx::graphics
1497 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1499 * introduce namespace lyx::support
1501 2003-06-30 André Pönitz <poenitz@gmx.net>
1503 * insetcite.C (localDispatch): fix case of missing return value
1505 * insetcite.C (ascii): remove unneeded temporary
1507 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1509 * insetspace.h: fix \file
1511 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1512 * insetinclude.C (fillWithBibKeys): ditto
1514 * insetbibitem.C: fix type const order
1516 * inset.C (getLyXText): add varname for arg
1518 * ExternalTemplate.h: fix type const order
1520 2003-06-27 André Pönitz <poenitz@gmx.net>
1522 * insettext.C: take care of removed LyXCursor::row_ member
1524 * insettext.[Ch]: use new TextCursor struct for sstate
1526 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1528 * inseterror.[Ch]: removed
1530 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1532 * insetinclude.C (docbook): use parseError instead of sgmlError
1534 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1536 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1537 of BufferList::loadLyXFile
1539 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1541 * insettext.C (update): simplify
1542 (updateLocal): remove commented code
1543 (insetUnlock): simplify
1544 (lockInset): simplify
1545 (updateInsetInInset): simplify
1546 (localDispatch): simplify
1548 (resizeLyXText): simplify
1549 (collapseParagraphs): simplify
1551 * insetert.C (get_new_label): simplify
1553 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1555 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1556 pasteSelection with index
1558 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1560 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1562 2003-06-16 André Pönitz <poenitz@gmx.net>
1564 * insetbase.h: new virtual base function clone()
1566 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1567 Inset * clone() -> InsetBase * clone()
1569 2003-06-13 André Pönitz <poenitz@gmx.net>
1571 * insettabular.[Ch]: make tabular a proper member
1573 2003-06-12 André Pönitz <poenitz@gmx.net>
1575 * insettabular.[Ch]: some renaming plus whitespace
1577 2003-06-11 Angus Leeming <leeming@lyx.org>
1579 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1582 * insetbutton.[Ch]: removed.
1583 * graphicinset.[Ch]: renamed as renderers.[Ch].
1585 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1586 Create a new class ButtonRenderer using the InsetButton::metrics() and
1588 Derive both from a common RenderedInset base class.
1590 * insetcommand.[Ch]:
1591 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1592 Give it a ButtonRenderer member variable. Use it.
1593 Give the classes working copy c-tors.
1594 No longer derive from boost::noncopyable.
1596 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1597 display its contents as a button or as a graphic.
1599 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1602 2003-06-11 Angus Leeming <leeming@lyx.org>
1604 * insetcite.C (localDispatch): reformat.
1606 * insetref.C (localDispatch): enable dialog to be lauched.
1608 2003-06-11 John Levon <levon@movementarian.org>
1610 * insettabular.C: correctly mark all cells as erased
1612 2003-06-11 Angus Leeming <leeming@lyx.org>
1614 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1615 ExternalTemplate but its name, templatename. This means that a file
1616 containing a reference to an External Template not installed on the
1617 current machine will be saved retaining this info rather than inserting
1618 the first "valid" template from the list of templates.
1620 As a by product, the visual statement that the Template is missing is
1623 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1625 * insettext.C (appendParagraphs): remove some commented code.
1627 2003-06-10 Angus Leeming <leeming@lyx.org>
1629 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1632 * insetexternal.[Ch]: move tempname_ into the Params struct.
1633 (Params d-tor): new function, to clean-up this temp file.
1634 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1636 (editExternal, doSubstitution): move out of class.
1638 2003-06-10 Angus Leeming <leeming@lyx.org>
1640 * graphicinset.[Ch] (params): removed.
1641 * graphicinset.h (operator=): declared private but not defined.
1642 (statusMessage): made private.
1644 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1646 2003-06-07 John Levon <levon@movementarian.org>
1648 * insetert.C (latex): make a newline mean just that not
1651 2003-06-07 José Matos <jamatos@fep.up.pt>
1653 * insethfill.[Ch] (linuxdoc, docbook): implement output
1654 * insetspace.C (linuxdoc, docbook): remove coments as the code
1657 2003-06-06 José Matos <jamatos@fep.up.pt>
1659 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1661 2003-06-06 André Pönitz <poenitz@gmx.net>
1663 * insetwrap.[Ch]: code compactification
1665 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1667 * mailinset.C (updateDialog): use Dialogs::visible
1669 2003-06-04 Angus Leeming <leeming@lyx.org>
1671 * graphicinset.C (draw): add a comment for the #if 0 block.
1673 * insetexternal.h: remove Params::parameters variable.
1674 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1675 and read it back making full use of LyXLex.
1677 2003-06-04 André Pönitz <poenitz@gmx.net>
1679 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1681 2003-06-04 John Levon <levon@movementarian.org>
1683 * insettabular.C: back out tall table speed up. It was broken
1685 2003-06-03 Angus Leeming <leeming@lyx.org>
1687 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1688 Remove ViewCommand and UpdateCommand.
1690 * graphicinset.C (update): bug fix. Set the params before calling the
1692 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1693 BufferView cache to enable the InsetExternal::editCommand to be invoked
1694 from the frontends. Would not be needed if this were dispatched properly.
1695 (old_ascent_): variable removed.
1697 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1698 do any necessary conversions of external material. Also use the
1699 new GraphicsInset to display the inset within LyX.
1701 2003-06-03 Angus Leeming <leeming@lyx.org>
1703 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1704 and move it somewhere where InsetExternal can use it too.
1706 * Makefile.am: add the new files.
1708 * insetgraphics.[Ch]: make use of the new GraphicInset.
1710 2003-06-03 John Levon <levon@movementarian.org>
1713 * insetbibitem.[Ch]:
1716 * insetcommand.[Ch]:
1720 * insetexternal.[Ch]:
1724 * insetgraphics.[Ch]:
1726 * insetinclude.[Ch]:
1729 * insetlatexaccent.[Ch]:
1730 * insetmarginal.[Ch]:
1731 * insetminipage.[Ch]:
1738 * insetspecialchar.[Ch]:
1739 * insettabular.[Ch]:
1741 * insetthereom.[Ch]:
1744 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1746 * insetgraphics.[Ch]:
1747 * insetgraphicsParams.[Ch]: always store an absolute
1750 2003-06-02 André Pönitz <poenitz@gmx.net>
1754 * insetlatexaccent.C: remove duplicated call to metrics()
1756 2003-06-02 John Levon <levon@movementarian.org>
1758 * insettabular.C: fix resize of column width
1760 2003-06-02 John Levon <levon@movementarian.org>
1765 * insetparent.C: remove insetparent
1767 2003-06-02 André Pönitz <poenitz@gmx.net>
1774 * insetcollapsable.[Ch]:
1778 * insetgraphics.[Ch]:
1779 * insetinclude.[Ch]:
1780 * insetlatexaccent.[Ch]:
1781 * insetminipage.[Ch]:
1782 * insetnewline.[Ch]:
1785 * insetspecialchar.[Ch]:
1786 * insettabular.[Ch]:
1787 * insettext.[Ch]: unify first drawing phase
1790 * insetbase.h: move validate() to the base
1792 2003-05-31 Angus Leeming <leeming@lyx.org>
1794 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1796 2003-05-30 André Pönitz <poenitz@gmx.net>
1801 * insetcaption.[Ch]:
1802 * insetcollapsable.[Ch]:
1805 * insetgraphics.[Ch]:
1806 * insetinclude.[Ch]:
1807 * insetlatexaccent.[Ch]:
1808 * insetnewline.[Ch]:
1811 * insetspecialchar.[Ch]:
1812 * insettabular.[Ch]:
1814 * updatableinset.[Ch]: unify second drawing phase
1816 2003-05-30 John Levon <levon@movementarian.org>
1818 * insetgraphics.C: fix a bformat
1820 2003-05-29 John Levon <levon@movementarian.org>
1822 * insettabular.C: remove unused bufferOwner()
1824 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1826 * insettext.C (lockInsetInInset): adjust
1827 (getLabelList): use const_iterator, adjust
1828 (getInsetFromID): use const_iterator, adjust
1829 (addPreview): use const_iterator, adjust
1831 * insetwrap.C (clone): remove const_cast
1833 * insetnote.C (clone): remove const_cast
1835 * insetminipage.C (clone): remove const_cast
1837 * insetmarginal.C (clone): remove const_cast
1839 * insetfoot.C (clone): remove const_cast
1841 * insetfloat.C (clone): remove const_cast
1843 * insetert.C (clone): remove const_cast
1845 * delete commented same_id functions from a lot of files.
1847 2003-05-28 John Levon <levon@movementarian.org>
1853 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1855 * insetminipage.C: fix metrics (bug 1144)
1857 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1859 * insettext.C (saveLyXTextState): adjust
1860 (restoreLyXTextState): adjust
1863 (unlockInsetInInset): adjust
1864 (localDispatch): adjust
1865 (getLyXText): adjust
1867 * insettabular.C (insertAsciiString): adjust
1869 2003-05-27 André Pönitz <poenitz@gmx.net>
1872 * insetcollapsable.C:
1875 * insetlatexaccent.C:
1880 * insetspecialchar.C:
1882 * insettext.C: dim.w -> dim.wid
1884 2003-05-26 John Levon <levon@movementarian.org>
1886 * insettabular.C: avoid drawing all of a long table
1887 if it's not needed. A big speedup
1889 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
1891 * remove same_id from function signatures, adjust
1893 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1895 * insettext.C (InsetText): adjust
1897 (setParagraphData): separate same_id cases, adjust
1898 (appendParagraphs): adjust
1899 (appendParagraphs): adjust
1901 2003-05-23 André Pönitz <poenitz@gmx.net>
1903 * insetbutton.h: whitespace
1905 * insettabular.C: more compact code
1907 * updatableinset.C: remove const_cast
1910 2003-05-23 Angus Leeming <leeming@lyx.org>
1912 * insetexternal.C (write): check how many lines are output.
1913 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
1914 if the template has defined it.
1916 2003-05-23 Angus Leeming <leeming@lyx.org>
1918 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
1920 2003-05-23 Angus Leeming <leeming@lyx.org>
1922 * insetfoot.C (latex):
1923 * inseturl.C (latex): rename fragile as moving_arg.
1925 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
1927 * inseterror.C (localDispatch): comment out unused var.
1929 2003-05-22 Angus Leeming <leeming@lyx.org>
1931 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
1932 passed through the LatexRunParams arg.
1934 2003-05-22 Angus Leeming <leeming@lyx.org>
1936 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
1937 through the LatexRunParams arg.
1939 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
1940 arg rather than through a global var.
1942 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1944 * insetspecialchar.C (dimension): use a string.
1946 2003-05-22 Angus Leeming <leeming@lyx.org>
1948 * insetbibtex.C (latex):
1949 * insetgraphics.C (latex):
1950 * insetinclude.C (latex): extract the buffer's 'nice'ness from
1951 runparams rather than from the buffer itself.
1953 2003-05-22 Angus Leeming <leeming@lyx.org>
1955 * inset*.[Ch] (latex):
1956 passed a LatexRunParams parameter.
1958 * insetgraphics.C (latex): actually use it ;-)
1960 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
1962 * insetfloat.C (addToToc): trivial compile fix
1964 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
1966 * insettext.[Ch] (paragraph): delete unused function
1968 * insetfloat.C (addToToc): parlist simplfication
1970 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1972 * insetspace.[Ch]: added (new space insets)
1974 * inset.h: handle new space insets
1976 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1978 * insetfloat.C (addToToc): adjust
1980 2003-05-21 André Pönitz <poenitz@gmx.net>
1982 * insettext.[Ch]: fix drawing bug introduced earlier
1984 2003-05-19 André Pönitz <poenitz@gmx.net>
1986 * insetspecialchar.C: fix bug introduced yesterday
1988 2003-05-19 André Pönitz <poenitz@gmx.net>
1992 * insetcollapsable.[Ch]:
1996 * insetgraphics.[Ch]:
1997 * insetgraphicsParams.[Ch]:
1998 * insetlatexaccent.[Ch]:
1999 * insetminipage.[Ch]:
2000 * insetnewline.[Ch]:
2002 * insetspecialchar.[Ch]:
2003 * insettabular.[Ch]:
2004 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2006 2003-05-19 André Pönitz <poenitz@gmx.net>
2009 * insettext.C: more insetenv
2011 2003-05-16 André Pönitz <poenitz@gmx.net>
2014 * insetminimpage.[Ch]:
2015 * insetcollapsable.[Ch]: fix #832
2017 2003-05-16 André Pönitz <poenitz@gmx.net>
2020 * insetbibitem.[Ch]:
2024 * insetcollapsable.[Ch]:
2025 * insetcommand.[Ch]:
2028 * insetexternal.[Ch]:
2029 * insetfloatlist.[Ch]:
2030 * insetgraphics.[Ch]:
2031 * insetinclude.[Ch]:
2034 * insetlatexaccent.[Ch]:
2037 * insettabular.[Ch]:
2041 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2043 2003-05-13 André Pönitz <poenitz@gmx.net>
2046 * insetcollapsable.C:
2050 * insetwrap.C: tostr from own header
2062 * insetwrap.C: STRCONV
2065 2003-05-12 André Pönitz <poenitz@gmx.net>
2077 * insetwwrap.C: boost::format -> bformat all over the place
2079 2003-05-05 André Pönitz <poenitz@gmx.net>
2081 * insettext.h: add missing #include <map>
2083 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2085 * insettext.C (InsetText): parlist cleanup
2088 (insetUnlock): ditto
2090 (lockInsetInInset): ditto
2094 (searchBackward): ditto
2095 (collapseParagraphs): ditto
2097 2003-05-06 John Levon <levon@movementarian.org>
2099 * insetcaption.C: don't cast wrap inset to InsetFloat
2102 * insetfloat.C: remove unneeded type() function
2104 2003-05-05 André Pönitz <poenitz@gmx.net>
2108 * insettabular.[Ch]:
2109 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2110 replace getFirstParagraph() by getParagraphs()
2112 2003-05-03 John Levon <levon@movementarian.org>
2114 * insetcollapsable.h:
2115 * insetcollapsable.C:
2121 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2122 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2123 getCursor(). Remove explicit cursor hides.
2125 2003-05-02 André Pönitz <poenitz@gmx.net>
2127 * insettext.C: remove unneeded &*
2129 2003-04-30 John Levon <levon@movementarian.org>
2131 * insettabular.C: fix edit message
2133 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2135 * insettext.C (setFont): do not convert iterator -> pointer
2137 * insettabular.C (localDispatch): do not convert iterator -> pointer
2139 (tabularFeatures): ditto
2141 2003-04-29 André Pönitz <poenitz@gmx.net>
2143 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2145 2003-04-28 André Pönitz <poenitz@gmx.net>
2147 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2150 2003-04-25 André Pönitz <poenitz@gmx.net>
2152 * insetenv.C: derive from InsetText instead of InsetCollapsable
2154 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2156 * insetexternal.C (string2params): dont do anything if the string
2158 * insetgraphics.C (string2params): ditto
2159 * insetcommand.C (string2params): ditto
2160 * insetert.C (string2params): ditto
2161 * insetfloat.C (string2params): ditto
2162 * insetinclude.C (string2params): ditto
2163 * insetminipage.C (string2params): ditto
2164 * insettabular.C (string2params): ditto
2165 * insetwrap.C (string2params): ditto
2167 2003-04-24 André Pönitz <poenitz@gmx.net>
2169 * insetref.C: support for eqref
2171 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2173 * insetert.C (read): use ParagraphList::iterator.
2175 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2177 * insetquotes.C (latex): comment some code and add warnings.
2179 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2181 * insetexternal.C (localDispatch): added a missing DISPATCHED
2183 2003-04-12 John Levon <levon@movementarian.org>
2185 * insetwrap.C (addToToc): fix a crash, conversion
2186 from while to for loop forgot to remove the explicit
2189 2003-04-10 John Levon <levon@movementarian.org>
2191 * insettabular.C (tabularFeature): make sure
2192 to update the dialog when we change something
2195 (getStatus): don't disable some lfuns (bug 939)
2197 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2199 * insettext.C (saveLyXTextState): adjust
2200 (localDispatch): adjust
2206 * insettabular.C (localDispatch): adjust
2208 (tabularFeatures): adjust
2210 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2212 * insettabular.C (searchForward,searchBackward): fix bug 782
2214 2003-04-07 John Levon <levon@movementarian.org>
2217 * insettext.C: clear status message on inset exit
2219 2003-04-03 John Levon <levon@movementarian.org>
2221 * insetcommand.C: return dispatched on DIALOG_UPDATE
2223 2003-04-02 John Levon <levon@movementarian.org>
2225 * insettabular.C: tab lfuns renamed
2227 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2229 * insettext.C (update): move towards ParagraphList
2230 (updateLocal): ditto
2232 (insetUnlock): ditto
2234 (lockInsetInInset): ditto
2235 (updateInsetInInset): ditto
2236 (localDispatch): ditto
2239 (resizeLyXText): ditto
2240 (searchBackward): ditto
2241 (collapseParagraphs): ditto
2244 * insetwrap.C (InsetWrap): adjust
2245 (addToToc): adjust and rewrite loop
2247 * insettext.[Ch] (paragraph): delete function
2249 * insettabular.C (moveNextCell): adjust
2250 (movePrevCell): adjust
2251 (insertAsciiString): adjust
2253 * insetfloat.C (InsetFloat): adjust
2256 * insetert.C (InsetERT): adjust
2257 (write): adjust, and rewrite loop
2258 (latex): adjust, and rewrite loop
2259 (linuxdoc): adjust, and rewrite loop
2260 (docbook): adjust, and rewrite loop
2261 (localDispatch): adjust
2262 (get_new_label): adjust
2264 2003-04-01 John Levon <levon@movementarian.org>
2266 From Alfredo Braunstein
2269 * insetbutton.C: add localDispatch()
2271 * insetcommand.C: return DISPATCHED when edit() called
2273 * insettext.C: fix bug 967
2275 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2277 * insettext.C: adjust
2279 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2281 * insettext.C (draw): adjust
2282 (crow): return a RowList::iterator not a Row*
2284 * insetminipage.C (localDispatch): adjust
2286 * insetert.C (localDispatch): adjust
2288 2003-03-31 John Levon <levon@movementarian.org>
2291 * insetgraphicsParams.C: use_gui moved to lyx_gui
2293 2003-03-31 John Levon <levon@movementarian.org>
2295 * insettext.C: Alert fix
2297 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2299 * insettext.C (ascent): adjust for RowList
2302 (getLyXText): adjust
2303 (toggleSelection): adjust
2305 * insetminipage.C (localDispatch): adjust for RowList
2307 * insetert.C (localDispatch): adjust for RowList
2308 (getMaxWidth): adjust for RowList
2310 2003-03-29 John Levon <levon@movementarian.org>
2312 * insetert.C: Alert cleanup
2314 2003-03-29 John Levon <levon@movementarian.org>
2316 * insettabular.C: Alert fix
2318 2003-03-28 John Levon <levon@movementarian.org>
2320 * insetfloat.C: reset label on INSET_MODIFY
2322 2003-03-28 John Levon <levon@movementarian.org>
2324 * insetgraphicsParams.C: read subcaptionText as a whole line
2327 2003-03-28 John Levon <levon@movementarian.org>
2329 * insettext.C: remove unused prototypes
2331 2003-03-25 Angus Leeming <leeming@lyx.org>
2333 * insetbibitem.C (localDispatch): repaint the view after modifying
2334 a bibitem inset in case the maximum InsetBibitem width has changed.
2336 2003-03-25 John Levon <levon@movementarian.org>
2339 * insettabular.C: LyXText renamings
2341 2003-03-24 John Levon <levon@movementarian.org>
2343 * insettext.C: remove some dead code. Fix bug 972 and
2344 related by posting a repaint in updateLocal(), and making
2345 the SEL functions set SELECTION.
2347 2003-03-22 John Levon <levon@movementarian.org>
2350 * inset.C: remove no-longer-needed topx_set
2352 * insetcollapsable.h:
2353 * insetcollapsable.C: remove dead code
2356 * insetert.C: rebreak the rows when a possible
2357 change in size is made, and reset the cursor
2360 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2362 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2363 topx_set. Fix drawing errors for clearInset(). Remove
2364 some unnecessary uses of topx, which should die.
2366 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2367 is no longer needed. Replace it with an ugly hack.
2369 2003-03-20 John Levon <levon@movementarian.org>
2372 * insetcollapsable.h:
2373 * insetcollapsable.C:
2381 * insettext.C: remove spurious font parameter
2382 from update(). Fix drawing of ERT insets inside
2383 insets (bug 966). Remove unused mark_dirty from
2384 tabular's updateLocal()
2386 2003-03-19 John Levon <levon@movementarian.org>
2395 * insetwrap.C: remove unused getter/setters
2397 2003-03-19 John Levon <levon@movementarian.org>
2399 * several files: bv->updateInset() doesn't take
2400 a bool mark_dirty any more
2402 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2404 * adjust for BufferView* arg removal from lyxtext.
2406 2003-03-17 John Levon <levon@movementarian.org>
2408 * most files: remove the "cleared" parameter
2409 to draw in favour of always clearing. Associated
2412 2003-03-16 John Levon <levon@movementarian.org>
2414 * insettext.C: remove unused s.refresh
2416 2003-03-13 Angus Leeming <leeming@lyx.org>
2418 * insettext.C (edit): replace Dialogs::updateParagraph with
2419 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2421 2003-03-13 André Pönitz <poenitz@gmx.net>
2423 * Makefile.am: insert insetenv
2425 * insethenv.[Ch]: new files, currently inactive
2427 2003-03-12 John Levon <levon@movementarian.org>
2437 * insettext.C: use new insetnewline
2439 2003-03-12 John Levon <levon@movementarian.org>
2441 * insettext.C: readToken became readParagraph
2443 2003-03-12 John Levon <levon@movementarian.org>
2445 * insettext.C: use parlist iterator for reading contents
2447 2003-03-12 John Levon <levon@movementarian.org>
2449 * insettext.C: name change to readToken()
2451 2003-03-11 André Pönitz <poenitz@gmx.net>
2453 * Makefile.am: insert insethfill
2455 * insethfill.[Ch]: new files
2457 2003-03-10 Angus Leeming <leeming@lyx.org>
2459 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2461 (hideDialog): calls the new static Dialogs::hide() method.
2463 * insetbibitem.C (edit):
2464 * insetbibtex.C (edit):
2465 * insetcite.C (edit):
2466 * insetcommand.C (localDispatch):
2467 * inseterror.C (d-tor):
2468 * insetert.C (showInsetDialog):
2469 * insetexternal.C (localDispatch, edit):
2470 * insetfloat.C (localDispatch, showInsetDialog):
2471 * insetfloatlist.C (edit):
2472 * insetgraphics.C (localDispatch, edit):
2473 * insetinclude.C (localDispatch, edit):
2474 * insetindex.C (edit):
2475 * insetlabel.C (edit):
2476 * insetminipage.C (localDispatch, showInsetDialog):
2477 * insetref.C (edit):
2478 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2479 resetPos, showInsetDialog, openLayoutDialog):
2480 * insettoc.C (edit):
2481 * inseturl.C (edit):
2482 * insetwrap.C (localDispatch, showInsetDialog):
2483 changes due to the changed MailInset interface.
2485 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2487 * insetfloat.h: Set default placement to an empty string.
2489 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2491 * insettext.C (latex): adjust call to latexParagraphs.
2493 2003-03-10 Angus Leeming <leeming@lyx.org>
2495 * mailinset.C: warn the user if the BufferView has not been cached.
2497 2003-03-10 Angus Leeming <leeming@lyx.org>
2499 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2501 * insetcommand.h (inset):
2502 * insetert.h (inset):
2503 * insetexternal.h (inset):
2504 * insetfloat.h (inset):
2505 * insetgraphics.h (inset):
2506 * insetinclude.h (inset):
2507 * insetminipage.h (inset):
2508 * insettabular.h (inset):
2509 * insetwrap.h (inset):
2510 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2512 2003-03-10 Angus Leeming <leeming@lyx.org>
2514 * insetcommand.C (string2params):
2515 * insetexternal.C (string2params):
2516 * insetfloat.C (string2params):
2517 * insetgraphics.C (string2params):
2518 * insetinclude.C (string2params):
2519 * insetminipage.C (string2params):
2520 * insettabular.C (string2params):
2521 * insetwrap.C (string2params): cure warning message about missing
2524 2003-03-09 Angus Leeming <leeming@lyx.org>
2526 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2527 it to communicate with the frontend dialogs.
2529 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2530 contents of this inset!
2532 2003-03-07 Angus Leeming <leeming@lyx.org>
2534 * inseterror.C (localDispatch): new method; calls edit() on
2537 2003-03-07 Angus Leeming <leeming@lyx.org>
2539 * insetbibitem.C (localDispatch):
2540 * insetbibtex.C (localDispatch):
2541 * insetlabel.C (localDispatch):
2542 rewrite as a switch.
2544 2003-03-07 Angus Leeming <leeming@lyx.org>
2546 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2547 it to communicate with the frontend dialogs.
2549 2003-03-07 Angus Leeming <leeming@lyx.org>
2551 * insetexternal.C: remove operator== and operator!= for
2552 InsetExternal::Params. They were used only by the old controller
2555 2003-03-07 Angus Leeming <leeming@lyx.org>
2557 * insetcommand.C (localDispatch):
2558 * insetexternal.C (localDispatch):
2559 * insetfloat.C (localDispatch):
2560 * insetinclude.C (localDispatch):
2561 * insetminipage.C (localDispatch):
2562 * insetwrap.C (localDispatch):
2563 add LFUN_INSET_DIALOG_UPDATE to the switch.
2565 2003-03-07 Angus Leeming <leeming@lyx.org>
2567 * insetcommand.C (string2params):
2568 * insetexternal.C (string2params):
2569 * insetfloat.C (string2params):
2570 * insetinclude.C (string2params):
2571 * insetwrap.C (string2params): use LyXLeX more.
2574 * insetexternal.[Ch]:
2576 * insetinclude.[Ch]:
2577 * insetwrap.[Ch]: change Mailer::name_ to be static.
2579 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2580 it to communicate with the frontend dialogs.
2582 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2585 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2587 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * insettext.C (updateLocal): un-const function
2590 (updateLocal): adjust
2591 (collapseParagraphs): un-const function
2592 (collapseParagraphs): adjust
2594 2003-03-05 Angus Leeming <leeming@lyx.org>
2596 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2597 it to communicate with the frontend dialogs.
2599 2003-03-05 Angus Leeming <leeming@lyx.org>
2601 * insetcollapsable.C (draw): cache the BufferView.
2603 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2604 it to communicate with the frontend dialogs.
2606 2003-03-05 Angus Leeming <leeming@lyx.org>
2608 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2611 2003-03-05 Angus Leeming <leeming@lyx.org>
2613 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2615 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2616 it to communicate with the frontend dialogs.
2618 2003-03-05 Angus Leeming <leeming@lyx.org>
2620 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2621 it to communicate with the frontend dialogs.
2623 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2625 * insettext.C (collapseParagraphs): adjust
2626 (appendParagraphs): make it take a Buffer* instead of a
2627 BufferParams& as arg.
2628 (appendParagraphs): adjust
2630 2003-03-04 Angus Leeming <leeming@lyx.org>
2632 * insetbibitem.C (localDispatch):
2633 * insetbibtex.C (localDispatch):
2634 * insetcommand.C (localDispatch):
2635 * insetert.C (localDispatch):
2636 * insetlabel.C (localDispatch):
2637 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2639 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2641 * insettext.C (latex): adjust for ParagraphList::iterator
2643 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * insetbutton.C (view): adjust for boost 1.30.0
2646 * insetcollapsable.C (view): ditto
2647 * insetgraphics.C (statusChanged): ditto
2649 * insettext.h: move paragraphs to be public.
2651 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2653 * insetnote.[Ch] (InsetNote): remove unused constructor
2655 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2657 * insetgraphics.C: added include "format.h"
2659 2003-02-27 Angus Leeming <leeming@lyx.org>
2661 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2664 2003-02-27 Angus Leeming <leeming@lyx.org>
2666 * insetbibitem.C (localDispatch):
2667 * insetbibtex.C (localDispatch):
2670 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2672 2003-02-26 Angus Leeming <leeming@lyx.org>
2674 * insetbibitem.[Ch] (localDispatch):
2675 * insetbibtex.[Ch] (localDispatch):
2676 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2678 * insetcommand.C (localDispatch):
2679 act only on receipt of LFUN_XYZ_APPLY.
2681 * insetert.C (localDispatch): reformat.
2682 add LFUN_XYZ_APPLY to the switch.
2684 2003-02-26 John Levon <levon@movementarian.org>
2686 * insettext.C: use RowPainter
2688 * inset.h: make helpers take const *
2690 2003-02-26 Angus Leeming <leeming@lyx.org>
2692 * insetcommand.[Ch] (localDispatch): new method.
2694 2003-02-26 Angus Leeming <leeming@lyx.org>
2696 * insetinclude.C (draw): cache the BufferView* using cache not
2697 PreviewImpl::setView
2699 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2701 * insetgraphics.C (draw)
2702 * insetinclude.C (draw): Eliminate also the other argument (owner
2703 inset inset) in the call to PreviewImage::image
2705 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2707 * insetgraphics.C (draw)
2708 * insetinclude.C (draw): Eliminate Buferview argument in call to
2711 2003-02-25 John Levon <levon@movementarian.org>
2713 * insetgraphicsParams.h:
2714 * insetgraphics.C: don't start a load process if
2715 the inset is set to NoDisplay (bug #920)
2717 2003-02-22 John Levon <levon@movementarian.org>
2720 * insetwrap.C: TocItem changed API (bug 913)
2722 2003-02-21 Angus Leeming <leeming@lyx.org>
2724 * insetcollapsable.[Ch] (cache, edit):
2725 * insetbutton.[Ch] (cache, edit): new methods to cache the
2726 BufferView in the draw method.
2728 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2729 simplify comunication between InsetCommand-derived classes and
2732 * insetbibitem.[Ch]:
2736 * insetfloatlist.[Ch]:
2740 * inseturl.[Ch]: small changes to reflect the new interface to the
2743 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2744 other, similar classes.
2746 * Makefile.am: add new files.
2748 2003-02-21 Angus Leeming <leeming@lyx.org>
2750 * updatableinset.h (setView, view): remove.
2751 * inset.h (view, cache): to be replaced by these.
2753 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2756 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2759 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2761 2003-02-21 Allan Rae <rae@lyx.org>
2763 * insetinclude.C (loadIfNeeded): ensure loading also works when
2764 child document is under version control.
2766 2003-02-17 André Pönitz <poenitz@gmx.net>
2768 * insetbib.[Ch]: Adjust access to bibkeys
2770 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2772 * insetquotes.C (dispString): remove use of acute accent for "'"
2775 2003-02-14 John Levon <levon@movementarian.org>
2777 * insettabular.C: changed method names in tabular.C
2779 2003-02-14 John Levon <levon@movementarian.org>
2783 * insetcollapsable.h:
2784 * insetcollapsable.C:
2788 * insettext.C: remove unused getParFromID()
2790 2003-02-13 John Levon <levon@movementarian.org>
2793 * insettext.C: remove unused beginningofMainBody()
2795 2003-02-08 John Levon <levon@movementarian.org>
2799 * insetcollapsable.h:
2800 * insetcollapsable.C:
2805 add nextChange(). Make allowSpellcheck() const. Add markErased().
2807 * insetert.C: ignore deleted text
2809 * insettabular.C: make sure to keep change tracking working
2812 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2817 * insettext.C: Use error messages with identical spelling and punctuation
2819 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2821 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2823 2002-12-17 Juergen Vigna <jug@lyx.org>
2825 * insettext.C (localDispatch): hopefully fixed cursor up down
2826 movement on leaving other insets.
2828 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2830 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2833 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2835 * insetgraphics.C (prepareFile): do not remove the extension of
2836 the file name if it is not the default extension for the given
2837 format (that is, in latex output, remove extension from foo.eps,
2838 but not from foo.epsi)
2840 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2842 * insettext.C (lfunMouseRelease): hackish solution to the "double
2845 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2847 * insetfloat.C (addToToc): use the floats name not its type
2848 * insetwrap.C (addToToc): ditto
2850 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2852 * insetnote.C (init): make label font smaller
2854 2002-12-04 John Levon <levon@movementarian.org>
2856 * insetinclude.C: ressurect setting of command name
2858 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2860 * insetquotes.C (dispString): disambiguate insert call
2862 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2864 * several files: ws changes
2866 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2868 * insetquotes.C (dispString): use string::insert for prepending a
2871 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2873 * insetparent.C (getScreenLabel): use boost::format
2875 * insetgraphics.C (prepareFile): use boost::format
2878 * insetfloatlist.C (latex): use boost::format
2880 * insetcaption.C (draw): use boost::format
2882 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
2884 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
2887 2002-11-20 Juergen Vigna <jug@sad.it>
2889 * insettabular.C (resetPos): temporary fix for endless loop in
2890 this function on a redraw.
2892 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2894 * insettabular.C (copySelection): STRCONV
2896 * insetinclude.C (uniqueID): STRCONV
2897 (latexString): ditto
2899 * insetgraphics.C: put VersionNumber inside anon namespace
2900 (createLatexOptions): STRCONV
2902 * insetcommandparams.C: include config.h
2904 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
2906 * insetgraphicsParams.C (Write): use lyx::float_equal.
2907 Write height data correctly.
2908 (Read): zero scale when reading height data.
2910 2002-10-30 John Levon <levon@movementarian.org>
2912 * insetfloat.C (addToTOC): recursively traverse all
2913 contents looking for captions (fix #568)
2915 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2917 * insetexternal.C (doSubstitution): do not try to replace
2918 environment variables, this is done when executing the command
2920 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2922 * insetexternal.C (doSubstitution): change order of substitution
2923 to work around ReplaceEnvironmentPath brokenness
2925 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
2927 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
2929 * insetgraphicsParams.C (init, Write): associated changes
2930 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
2931 InsetGraphicsParams::scale.
2933 2002-10-21 John Levon <levon@movementarian.org>
2935 * inset.h: remove unused DISPATCH_RESULT
2937 * insettext.C: sgml open/close tag now in sgml namespace
2939 2002-10-21 Angus Leeming <leeming@lyx.org>
2941 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
2942 file path subdir/fig.eps when pasting it into a buffer in a different
2945 2002-10-16 John Levon <levon@movementarian.org>
2947 * insetspecialchar.C: remove \\protected_separator parsing
2949 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2951 * insetquote.C: fix LaTeX output of quotation marks.
2953 2002-10-14 Juergen Vigna <jug@sad.it>
2955 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
2956 Backspace functions which confused the Undo handling.
2958 2002-10-09 Angus Leeming <leeming@lyx.org>
2960 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
2961 BufferView::dispatch that turns off this optimisation when a new inset
2964 * insetcite.C (getNatbibLabel): correct logic of when and when not to
2965 reload the BibTeX keys.
2967 2002-10-11 André Pönitz <poenitz@gmx.net>
2969 * insettext.h: handle LFUN_PRIOR/NEXT
2971 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2973 * insetfloat.C: fix bug with float settings
2974 (document default != float default).
2976 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
2978 * insetwrap.C (addToToc): New method.
2979 (InsetWrap): Set layout to caption.
2981 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2983 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
2985 2002-09-16 John Levon <levon@movementarian.org>
2987 * insettabular.h: hasSelection() needs to be public
2989 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
2991 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2993 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
2995 * insetgraphicsParams.C: use empty string as default for rotateOrigin
2997 2002-09-11 André Pönitz <poenitz@gmx.net>
2999 * insettabular.C: implement LFUN_WORDSEL
3001 2002-09-10 John Levon <levon@movementarian.org>
3003 * insetinclude.h: remove unused param
3005 2002-09-09 John Levon <levon@movementarian.org>
3008 * insetinclude.C: remove noload, default to input
3010 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3012 * insetgraphics.C: disfuscated use of ']' in built output string.
3014 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3016 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3018 2002-08-29 Juergen Vigna <jug@sad.it>
3020 * insettabular.C (lfunMousePress): Pay attention where you set
3021 the x/y values as they depend on which inset in the tabular is
3022 actually locked. So you surely have to reset them if you (un)lock
3025 2002-08-29 André Pönitz <poenitz@gmx.net>
3027 * insetfootlike.h: rename include guard to ALL CAPS
3029 * insettext.C: swap object and first parameter for checkInsetHit calls
3030 as this functions has moved from BufferView to LyXText
3033 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3035 * insetgraphicsParams.C: remove local displayTranslator and use
3036 the one from graphics/GraphicsTypes.h.
3038 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3040 * insetfloat.C (wide): add BufferParams parameter
3042 * insetfloatlist.C (read):
3045 * insetfloat.C (latex):
3047 * insetcaption.C (draw): use LyXTextClass::floats()
3049 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3051 * insetoptarg.h: add std:: qualifier.
3053 2002-08-26 Juergen Vigna <jug@sad.it>
3055 * insettext.C (localDispatch): ditto.
3057 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3059 2002-08-25 John Levon <levon@movementarian.org>
3061 * inseturl.C: elide long URLs (bug 404)
3063 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3065 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3066 remove "Format Version <version_no.>" string from inset header
3069 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3071 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3072 a member of "grfx::Params" anymore.
3074 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3076 2002-08-24 John Levon <levon@movementarian.org>
3079 * insetoptarg.C: ws, pedantry ...
3081 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3083 * insettext.C (collapseParagraphs): pasteParagraph now in global
3085 (appendParagraphs): ditto
3087 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3089 * insetcite.C (latex): Remove spaces only after commmas.
3091 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3093 * insettext.C: remove NO_COMPABILITY stuff
3095 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3097 * insettext.C (edit): use ParagraphList iterators
3099 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3100 (bibitemWidest): ditto
3102 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3104 * insettext.C: include <boost/bind.hpp>
3105 add using std::for_each
3106 (saveLyXTextState): use ParagraphsList::iterator
3107 (init): use for_each on paragraphlist iterators
3108 (InsetText): remove superflous setting cached_bview to 0
3109 (latex): reformat a bit
3110 (ascii): use paragraphlist iterators
3111 (validate): use for_each + boost bind
3112 (getLabelList): use paragraphlist iterators
3113 (deleteLyXText): use for_each + boost::bind
3114 (resizeLyXText): ditto
3115 (reinitLyXText): ditto
3116 (removeNewlines): use paragraphlist iterators
3117 (getParFromID): ditto
3118 (paragraph): use for_each + boost::bind
3119 (getInsetFromID): use paragraphlist iterators
3120 (getLabelList): typo fix
3122 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3124 * insettext.C (read): assign tmp to paragraphs after return from
3125 call to parseSingleLyXformat2Token
3128 2002-08-13 Angus Leeming <leeming@lyx.org>
3147 changes due to the changed LyXView interface that now returns references
3148 to member variables not pointers.
3150 2002-08-13 Angus Leeming <leeming@lyx.org>
3153 * insetcollapsable.h:
3156 * insettext.h: forward-declare WordLangTuple
3157 (selectNextWordToSpellcheck) constify return type.
3160 * insetcollapsable.C:
3163 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3165 2002-08-12 Angus Leeming <leeming@lyx.org>
3167 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3169 2002-08-12 Juergen Vigna <jug@sad.it>
3171 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3174 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3176 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3177 (bibitemWidest): ditto
3178 * insettext.[Ch]: ditto
3180 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3184 2002-08-09 Angus Leeming <leeming@lyx.org>
3186 * insetinclude.C (latexString): remove fudge now that I've found out
3187 how to enable LaTeX to find the file using input@path.
3189 2002-08-09 John Levon <levon@movementarian.org>
3192 * insettext.C: remove unused xpos
3194 2002-08-07 Juergen Vigna <jug@lyx.org>
3196 * insettabular.C (localDispatch): make delete not put the stuff
3197 in the clipboard only do this on a cut operation.
3199 * insettext.C (localDispatch): make delete and backspace not put
3200 selected stuff to the clipboard.
3202 2002-08-07 André Pönitz <poenitz@gmx.net>
3205 * insetcollapsable.[Ch]:
3209 * insettabular.[Ch]:
3210 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3212 2002-08-06 John Levon <levon@movementarian.org>
3216 * insetcollapsable.h:
3217 * insetcollapsable.C:
3223 * insettext.C: use WordLangTuple for spellcheck
3225 2002-08-06 Angus Leeming <leeming@lyx.org>
3227 * insetinclude.C: add a monitor to the previewed image, so that the
3228 image is refreshed if the \input-ed file changes.
3230 2002-08-04 John Levon <levon@movementarian.org>
3233 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3235 2002-08-02 Angus Leeming <leeming@lyx.org>
3237 * insetcommandparams.[Ch] (preview): new methods returning and setting
3238 a new bool preview_ flag.
3239 (read): read this flag.
3240 (operator==): add flag to check.
3242 * insetinclude.C (write): output new preview() flag.
3243 (previewWanted): use this flag.
3245 2002-08-02 Angus Leeming <leeming@lyx.org>
3247 * insetcollapsable.[Ch] (addPreview):
3248 * insettabular.[Ch] (addPreview):
3249 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3250 for insets in insets.
3252 2002-08-02 Angus Leeming <leeming@lyx.org>
3254 * insetcite.C: fix typo.
3256 * insetgraphics.C: kill current_view and instead cache the BufferView
3259 * insetinclude.C: kill current_view and pass the BufferView to the
3260 PreviewedInset so that it can cache it.
3262 2002-08-01 Angus Leeming <leeming@lyx.org>
3264 * inset.h (generatePreview): renamed as addPreview.
3265 (generatePreview): new method. Allows code to be moved out of
3266 math_nestinset.C and into the new PreviewedInset class.
3268 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3269 add previews to the inset when \input-ing LaTeX.
3271 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3273 * several files: strip,frontStrip -> trim,ltrim,rtrim
3275 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3277 * insetbib.C (latex): modify because of strip changes
3279 * insetnote.C (InsetNote): ditto
3281 2002-07-26 Juergen Vigna <jug@sad.it>
3283 * insettabular.C (searchForward): check for lastcell if we
3284 had a locking inset.
3286 2002-07-25 Juergen Vigna <jug@sad.it>
3288 * insettabular.C (insetMotionNotify): Don't update the screen
3289 if we didn't do nothing.
3290 (searchForward): last cell was not checked.
3292 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3294 * insetfloat.C (read, write): Allow default placement
3295 (floatPlacement_ is empty).
3297 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3299 * insetminipage.h (noFontChange):
3300 * insettabular.h (noFontChange):
3301 * insetfootlike.h (noFontChange):
3302 * insetfloat.h (noFontChange): return true
3304 * inset.h (noFontChange): new method, defaulting to false
3306 2002-07-22 Herbert Voss <voss@lyx.org>
3308 * insetgraphicsParams.[Ch]: support size_type for old docs
3310 2002-07-22 Herbert Voss <voss@lyx.org>
3313 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3316 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3318 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3320 * insetlatexaccent.h: do not include "lyxlex.h"
3322 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3325 * insetlatexaccent.C:
3329 * insetbib.C: #include "lyxlex.h"
3335 * insettext.C: use BufferParams::getLyXTextClass
3338 * insetfloat.C (addToToc): new method. Add to toclist the entries
3339 corresponding to Caption layouts
3340 (InsetFloat): when creating a new float, set the layout to "Caption"
3342 2002-07-21 Herbert Voss <voss@lyx.org>
3344 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3345 image relevant part into graphics/GraphicsImgae.C
3347 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3349 * insettoc.C (ascii):
3350 * insetfloatlist.C (ascii): change to use the new Toc functions
3351 instead of stuff that was in Buffer
3353 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3355 * insettext.C (localDispatch): BufferView::Dispatch has been
3356 renamed to BufferView::dispatch
3358 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3360 * insetgraphicsParams.C (as_grfxParams): use the new
3361 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3362 1.2.0 patch, and I do not really know how to adapt it to the new
3363 grfx::Cache world. Angus, please could you have a look?
3365 2002-05-01 Herbert Voss <voss@lyx.org>
3367 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3369 2002-07-18 Angus Leeming <leeming@lyx.org>
3371 * insetgraphics.C: clean-up comments (from Herbert).
3372 add a new checksum variable to the cache. Use it in PrepareFile.
3373 (draw): start monitoring the file for a change.
3374 (prepareFile): re-arrange a little to avoid unnecessary steps.
3376 2002-07-17 Angus Leeming <leeming@lyx.org>
3378 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3379 a method rather than to the signal directly.
3381 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3383 * insettext.C: use view_state_changed, switchKeyMap
3385 2002-07-17 Herbert Voss <voss@perce.de>
3387 * insetgraphics.C (prepareFile): keep the extension when
3388 exporting to nice file
3390 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3392 * insetcite.C (getNatbibLabel):
3393 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3395 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3397 * insetgraphics.C: use ->isDrawable()
3399 2002-07-12 Angus Leeming <leeming@lyx.org>
3401 * insetgraphics.C: use the new smart loading capabilities of the image
3404 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3406 * insettabular.C (edit): Move into correct cell when entering a
3409 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3412 2002-07-05 Angus Leeming <leeming@lyx.org>
3414 * inset.h (generatePreview): new virtual method.
3416 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3418 * insetcommandparams.[Ch] (operator=): move out of class
3419 (operator!): move out of class
3421 2002-07-04 André Pönitz <poenitz@gmx.net>
3423 * insetcommandparams.[Ch]: new files
3425 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3427 2002-06-15 Herbert Voss <voss@perce.de>
3429 * insetgraphics.C (prepareFile): bugfix; return always
3430 files without extension
3432 2002-06-28 Angus Leeming <leeming@lyx.org>
3434 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3435 rename asGParams -> as_grfxParams.
3437 * insetgraphics.C: reflect above change.
3439 2002-06-26 Angus Leeming <leeming@lyx.org>
3441 * insetgraphics.h: use boost::scoped_ptr in preference to
3444 2002-06-26 Angus Leeming <leeming@lyx.org>
3446 * insetgraphics.C: moved the image loading stuff into a new class
3447 grfx::Loader. Simplifies this file enormously.
3449 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3451 * insetgraphicsParams.C: changes aassociated with moving
3452 grfx::DisplayType out of grfx::GParams.
3454 2002-06-26 André Pönitz <poenitz@gmx.net>
3456 * insetgraphics.C: use os::external_path where necesaary according to a
3457 patch from Claus Hentschel)
3459 2002-06-25 Angus Leeming <leeming@lyx.org>
3461 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3462 generating a pixmap once the graphics file is loaded into memory.
3463 The current_view ugliness that was in grfx::ModifiedImage has been
3464 moved here now that grfx::ModifiedImage is no more.
3466 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3468 * insettext.C: layout as layout
3470 2002-05-28 André Pönitz <poenitz@gmx.net>
3472 * insetfloatlist.h: remove source of compiler warning
3474 * insetref.C: tiny whitespace
3476 2002-06-15 Herbert Voss <voss@perce.de>
3478 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3479 and take always convert when no userdefined converter was
3481 (latex) small changes in the lyxerr output
3483 2002-06-15 LyX Development team <lyx@rilke>
3485 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3486 mixed content. Small white spaces clean.
3488 2002-06-14 Angus Leeming <leeming@lyx.org>
3490 * inseetexternal.C: remove the using std::difftime declaration.
3492 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3494 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3496 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3498 * insetquotes.C (draw): fix drawing of double quotes
3500 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3502 * insettabular.C: s/scrollCB/scrollDocView/
3504 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3506 * insettext.C: change of topCursorVisible()
3509 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3512 * insettext.C: rename/change of LyXScreen
3514 2002-06-07 Angus Leeming <leeming@lyx.org>
3516 Fixes needed to compile with Compaq cxx 6.5.
3518 all c-library variables have been moved into namespace std.
3519 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3521 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3523 * insetinclude.C (uniqueID):
3524 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3525 conflicted with some AIX headers.
3527 2002-05-31 Juergen Vigna <jug@sad.it>
3529 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3533 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3535 * insetexternal.C (clone): fix () bug when using new
3536 (updateExternal): don't only look for difftime in global scope
3538 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3540 * insettabular.C: add const
3542 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3544 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3545 file name, in case there are weird characters like ',' in there.
3548 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3550 * switch from SigC signals to boost::signals.
3552 2002-05-28 André Pönitz <poenitz@gmx.net>
3554 * insets/insetgraphicsParams.[Ch]:
3555 put in inset related stuff from src/graphic
3557 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3565 * insetcollapsable.C:
3566 * insetcollapsable.h:
3594 * inseturl.h: use mouse_state. Kill insetKeyPress
3596 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3601 * insetcollapsable.C:
3604 * insetlatexaccent.C:
3606 * insetspecialchar.C:
3608 * insettext.C: name change for font metrics
3610 2002-05-24 Juergen Vigna <jug@sad.it>
3612 * insetgraphics.h: include inset.h first (for LString.h)
3614 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3616 * insettext.C: screen moved
3618 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3636 * inseturl.C: LyXView moved into frontends/
3638 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3643 * insetcollapsable.C:
3647 * insetgraphicsParams.C:
3648 * insetlatexaccent.C:
3650 * insetspecialchar.C:
3652 * insettext.C: move Painter to frontends/
3654 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3656 * insettabular.h: use more specific smart_ptr header.
3657 * insettext.h: ditto
3659 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3662 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3664 * insettext.C: clear selection on paste (bug 393)
3666 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3668 * insettext.C (latex): Honor the moving_arg argument.
3670 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3672 * insetfoot.C (latex): if a footnote is in a title layout, then it
3673 is a \thanks. And then, its contents is a moving argument.
3675 2002-05-14 Juergen Vigna <jug@sad.it>
3677 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3680 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3682 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3683 when using options "Full author list" or "Upper case".
3685 2002-05-14 Herbert Voss <voss@perce.de>
3687 * insetgraphics.C (prepareFile): allow files with same name
3689 (readFigInset): set the flags from old figinset in the right
3691 (findTargetFormat): more comments
3693 2002-05-14 Juergen Vigna <jug@sad.it>
3695 * insettext.C (edit): tell checkAndActivateInset() that we don't
3696 have a button press.
3697 (checkAndActivateInset): if button < 0 we don't have a button press
3698 on the inset and os we won't call edit on it if it's not a Highly
3699 editable inset (then we have to enter it).
3701 2002-05-13 Juergen Vigna <jug@sad.it>
3703 * insetcollapsable.C (insetButtonRelease): returned wrong return
3706 2002-05-09 Juergen Vigna <jug@sad.it>
3708 * insetcollapsable.C (edit): first_after_edit should only be
3709 set to true if we enter this inset and it was collapsed so we
3710 open it up. This is needed to reclose it after a search/replace
3711 or spellcheck function opened it and was negative.
3713 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3715 * insetfloat.C (latex): Return correct value.
3717 2002-05-04 Herbert Voss <voss@perce.de>
3719 * InsetgraphicsParams.C (read): fix bug with WH
3721 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3723 * insetfloat.C (latex): More sensible latex output
3724 (fix the problem with endfloat).
3726 2002-05-02 José Matos <jamatos@fep.up.pt>
3728 * insetgraphics.C (validate): acess params as everyone else.
3730 2002-05-03 Juergen Vigna <jug@sad.it>
3732 * insettabular.C (fitInsetCursor): recalculate the cursor position
3735 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3737 * InsetgraphicsParams.[Ch]: whitespace.
3739 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3741 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3742 float type do not exist.
3744 2002-04-28 Herbert Voss <voss@perce.de>
3746 * insetgraphics.C (latex): fix bug with missing file-extension.
3747 LaTeX still allows a missing "eps" or "ps".
3749 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3751 * insetfloat.C (c-tor, wide): translate the name of the float.
3753 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3755 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3756 when using natbib and make it work efficiently. Must emphasise that the
3757 real work is Herbert's.
3759 2002-04-23 Herbert Voss <voss@perce.de>
3761 * insetgraphic.C (prepareFile): fix bug with overwriting and
3762 deleting an existing *.eps-file in the doc-dir
3764 2002-04-23 Juergen Vigna <jug@sad.it>
3766 * insettabular.C (drawCellSelection): fix off by 1 error.
3768 2002-04-22 Juergen Vigna <jug@sad.it>
3770 * insettabular.C (setFont): rewoke full selection if it was asked,
3771 after we changed all we had to change.
3773 * insettext.C (insetUnlock): code was uninitialized in some situations.
3775 2002-04-19 Herbert Voss <voss@perce.de>
3777 * insetgraphic.C (prepareFile): return filename without
3778 extension if we only export without compiling
3780 2002-04-19 Juergen Vigna <jug@sad.it>
3782 * insettext.C (draw): call a fullRebreak on the row where we had a
3783 change and reset the cursor and selection-cursors.
3785 * insettabular.C (insetUnlock):
3786 (insetButtonPress): call an update before setting the_locking_inset = 0
3787 as otherwise we don't repaint!
3788 (update): reset the cursor position when we changed dimensions as
3789 otherwise our cursor may be on the wrong spot.
3791 2002-04-18 Juergen Vigna <jug@sad.it>
3793 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3794 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3795 redraw otherwise we won't redraw.
3797 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3798 not really right before, but I only discovered this with the last
3799 changes to Page up/down.
3801 2002-04-17 Juergen Vigna <jug@sad.it>
3803 * insettext.C (checkAndActivateInset): simplified as we now have the
3804 edit(bv, bool) call.
3806 * insettext.h: changed behind variables to front variables to be
3807 equal to the one in the edit call (as it is for that they are used).
3809 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3811 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3812 not output anything at all!
3814 2002-04-16 Juergen Vigna <jug@sad.it>
3816 * insettabular.C (insetButtonPress):
3817 (insetUnlock): call a redraw on unlocking the cell inset.
3819 * insettext.C (insetButtonPress): same as below.
3820 (lockInset): new function to set initial values when inset should
3822 (insetButtonPress): use above function.
3823 (insetUnlock): don't force a repaint only set the updateStatus. The
3824 outside world should repaint if it thinks it should be done!
3826 * insettabular.C (insetButtonPress): init values if not set as locked
3827 as we are locked if someone presses on us and don't call the edit()
3828 call of the InsetText to lock it do it as BufferView does it!
3830 * inset.h (insetInInsetY): make func const and return an int.
3833 * insetcollapsable.C: adapt the above changed function.
3835 2002-04-15 Juergen Vigna <jug@sad.it>
3837 * insettext.C (getCursorPos): return relative position as to be able
3838 to give them directly to the edit() call.
3839 (edit): we have to set also x_fix as it is not set inside the
3840 setCursorFromCoordinates call!
3841 (insetMotionNotify): ditto.
3843 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3845 * insetbib.C (getKeys): strip leading '\t's from the line too.
3846 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3848 2002-04-12 Juergen Vigna <jug@sad.it>
3850 * insettext.h: added cix() helper function and use it where appropriate
3852 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3854 * insetgraphics.C (prepareFile): fix bug when graphics is a
3857 2002-04-12 Juergen Vigna <jug@sad.it>
3859 * insettext.C (insertInset): remove unneeded code!
3860 (updateLocal): fitCursor() fixes.
3861 (collapseParagraphs): fix a possible problem when having a selection
3862 and collapsing the paragraphs.
3864 2002-04-08 Herbert Voss <voss@perce.de>
3866 * insetgraphic.C (write): write the rotating angle as
3867 a float as is. test only for != 0.0
3869 2002-04-11 Juergen Vigna <jug@sad.it>
3871 * insettext.C: new function ciy() and use it for setting inset_y.
3873 * insetert.C (draw): fix the x return for collapsed version.
3875 2002-04-07 Herbert Voss <voss@perce.de>
3877 * insetgraphic.C (readFigInset): fix bug with subcaption and
3880 2002-04-08 Herbert Voss <voss@lyx.org>
3882 * insetgraphicsparam.C: forgot special option and delete old
3885 2002-04-05 Juergen Vigna <jug@sad.it>
3887 * insettext.C (localDispatch): make a CURSOR update if we inserted
3890 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3892 * insetfloatlist.C (getScreenLabel):
3893 (latex): use Floating::listName
3894 (validate): new method
3896 2002-04-03 José Matos <jamatos@fep.up.pt>
3898 * insetlabel.C (docbook): the anchor is an empty element in docbook.
3900 * insetfoot.[Ch] (docbook): added forgotten method.
3902 2002-04-03 Juergen Vigna <jug@sad.it>
3904 * insettext.C (insetButtonPress): fix insetButtonPress events the same
3905 way as in Bufferview_pimpl.
3907 2002-04-03 Allan Rae <rae@lyx.org>
3909 * insetgraphics.C (latex): one % too many makes living on the bleeding
3910 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
3912 2002-03-28 Herbert Voss <voss@lyx.org>
3914 * insetgraphic.C (latex): simplify the code for the latex
3915 output when the file doesn't exist
3917 2002-03-29 Juergen Vigna <jug@sad.it>
3919 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
3922 * insettabular.C (edit): call fitCursor().
3924 * insettext.C (insetButtonPress): change behaviour of no_selection
3925 to the one in the BufferView selection_possible and fix the spurious
3926 selection bug with it.
3927 (localDispatch): revoke selection on BREAK... functions.
3929 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3931 * insetfloatlist.C (getScreenLabel): translate the GUI label.
3933 2002-03-28 Juergen Vigna <jug@sad.it>
3935 * insettabular.C (insetAllowed): return true as default value otherwise
3936 we're not able to insert insets inside paragraphs of an not locked
3939 2002-03-27 Herbert Voss <voss@lyx.org>
3941 * insetgraphicsparam.C: change c%, p% to col%, page%
3943 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3945 * insetspecialchar.C (isLineSeparator): disable the nice code to
3946 allow linebreaks after hyphenation and menu separators.
3948 2002-03-26 Herbert Voss <voss@lyx.org>
3950 * insetgraphics.C (figinsetRead): set the right lyxview
3952 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3954 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
3955 $\backslash$ and pass a "string const &" to the function.
3956 (prepareFile, latex): use Path rather than MakeAbsPath.
3958 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
3960 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
3961 proper fix to the graphics cache.
3962 (latex): "really" nice output if the file is not found ;-)
3964 2002-03-26 Juergen Vigna <jug@sad.it>
3966 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
3967 (collapseParagraphs): fixed inserting of separator ' '
3969 * insettabular.C (insertAsciiString): only check for buffer lenght
3970 not if we have \t or \n inside the buffer as if we don't have we only
3971 have 1 cell and that's it!
3973 * insetert.C (close): don't collapse if inlined.
3975 2002-03-25 Herbert Voss <voss@lyx.org>
3977 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
3978 graphics file does not exist.
3980 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
3982 * insetgraphics.C (prepareFile): ensure that the file has an absolute
3983 path when preparing export.
3985 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
3986 no longer MakeRelPath.
3988 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
3990 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
3991 Used to determine the absolute path to the graphics file in the
3992 graphics cache and only in the graphics cache.
3993 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
3994 make graphics file name absolute if it is stored as a relative path.
3996 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
3997 make graphics file name absolute if it is stored as a relative path.
3999 * insettext.C (edit): emit an updateParagraph signal on entering a text
4000 inset. Needs to be emitted when leaving the inset also.
4002 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4004 * all files: ws cleanup
4006 * Makefile.am: remove ld -r stuff
4008 2002-03-21 Juergen Vigna <jug@sad.it>
4010 * insettext.C (appendParagraphs): new function added to append
4011 the paragraphs to this insets paragraphs.
4013 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4015 * Makefile.am: special rules if partial linking
4017 2002-03-19 Juergen Vigna <jug@sad.it>
4019 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4021 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4023 * insetgraphics.C: Clean up Baruch's comments a little.
4024 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4026 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4029 * insettheorem.C: wrap warnings
4031 * insetgraphics.C: improve messages, move cached_status_
4032 setting to safer place
4034 2002-03-18 Juergen Vigna <jug@sad.it>
4036 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4038 (localDispatch): ditto
4040 * insettext.C (edit): removed unneeded showCursor calls.
4041 (localDispatch): ditto.
4043 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4045 * insetgraphics.h: remove display() method.
4047 2002-03-11 Juergen Vigna <jug@sad.it>
4049 * insetgraphics.C (draw): hack to fix the redrawing bug.
4050 (draw): seems this fixes #268 (force redraw of row if we changed).
4052 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4053 this inset text (don't know why I missed this earlier).
4055 2002-03-08 Juergen Vigna <jug@sad.it>
4057 * insettabular.C (updateLocal): do a FULL update if we're not locked
4058 and only a CELL update is asked.
4060 * insettext.C (updateInsetInInset): update insets inside inset also
4061 if it isn't inside the_locking_inset.
4063 * insettabular.C (updateInsetInInset): ditto.
4065 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4067 * insetexternal.C (doSubstitution): check whether we are using a
4068 temp dir for defining $$FPath
4070 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4073 * insettext.C: remove #include "WorkArea.h".
4075 2002-03-06 Juergen Vigna <jug@sad.it>
4077 * insettext.C (draw): fixed frame redrawing.
4078 (clear): forgot to set the inset_owner of the paragraph.
4080 * insetert.C (status): pay attention the bv can be 0 here!
4081 (getMaxWidth): add the default leftMargin
4083 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4085 * insetert.C (getMaxWidth): make w unsigned int.
4087 2002-03-05 Juergen Vigna <jug@sad.it>
4089 * insetert.C (status): change behaviour of Inlined.
4090 (getMaxWidth): added for new inlined behaviour.
4092 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4094 * insetnote.h (linuxdoc, docbook): add empty methods.
4095 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4096 before being initialized.
4098 2002-03-05 Juergen Vigna <jug@sad.it>
4100 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4101 only that one in the inset. Should be enough.
4102 (updateLocal): set the selection cursor always if we don't have a
4103 selection to be sure it's set!
4105 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4107 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4109 * insettext.C (clear): a gross hack to set layout on a newly
4112 2002-03-04 Juergen Vigna <jug@sad.it>
4114 * insettabular.C (localDispatch): inserted handling of
4115 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4116 (insertAsciiString): new helper function.
4118 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4120 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4123 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4125 * insettext.C (InsetText): initalize newly created par with
4126 default layout. add bufferparams parameter
4129 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4130 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4131 * insetert.[Ch] (InsetERT): ditto
4132 * insetfloat.[Ch] (InsetFloat): ditto
4133 * insetfoot.[Ch] (InsetFoot): ditto
4134 * insetfootlike.[Ch] (InsetFootLike): ditto
4135 * insetmarginal.[Ch] (InsetMarginal): ditto
4136 * insetminipage.[Ch] (InsetMinipage): ditto
4137 * insetnote.[Ch] (InsetNote): ditto
4138 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4140 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4142 * insettext.C: layout as string
4144 * insetinclude.C: layout as string
4146 * insetert.C: layout as string
4148 * insetbib.C: layout as string
4150 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4153 * insettabular.C: remove #include "lyx_gui_misc.h".
4155 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4160 * inset.h: remove figinset, yahoo !
4162 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4164 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4165 copy c-tor and initialise member variables in the correct order.
4167 2002-02-28 Juergen Vigna <jug@sad.it>
4169 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4171 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4173 * inset.h: ... and add a better one here.
4175 * insetcommand.C (insetButtonRelease): remove that one which was a
4178 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4180 * insetcommand.C (insetButtonRelease): ... and move it here.
4182 * inseturl.h: remove insetButtonRelease from there...
4184 2002-02-26 Juergen Vigna <jug@sad.it>
4186 * inseturl.h: Added a insetButtonRelease call returning true as
4189 * insetlabel.C (edit): Fixed wrong update handling after change I
4190 leave in the wrong code for the one who wrote it to remove and have
4191 a look what he did wrong.
4193 * insettabular.C (localDispatch): force a SELECTION update if we
4194 had a selection and we passed the event down to the inset (fix #213)
4195 (localDispatch): handle font changing stuff when we have a cell
4196 selection so that the selection is not rewoked. I don't really like
4197 this fix, but it's the only way I see to do it right now.
4199 2002-02-22 Juergen Vigna <jug@sad.it>
4201 * insettext.C (insetUnlock): set the cursor to the second paragraph
4202 if available and if the first one is empty (fix #191).
4204 2002-02-20 Juergen Vigna <jug@sad.it>
4206 * insettext.C (getDrawFont): implemented this function to call the
4207 one of the owner if present as the owner normally knows what to do
4210 * insetert.C: implement getDrawFont() function and comment out all
4211 the crap for setting a special latex font inside this inset.
4212 (InsetERT): added a Lanugage parameter to this constructor.
4214 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4215 change the font for being drawn on screen (used only in InsetERT for
4218 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4219 and also above (was missing).
4220 (updateLocal): don't remove the cell selection if we have one this
4221 should be done where we really want to remove it.
4223 2002-02-20 José Matos <jamatos@fep.up.pt>
4225 * insetinclude.h: include_label made string const.
4227 * insetinclude.C (InsetInclude): moved include_label initialization.
4230 (validate): fix support for temporary directory, for docbook and
4233 * insetgraphics.h : new private member, graphic_label, that holds
4234 the entity name that defines the graphics location (SGML).
4236 * insetgraphics.C (unique_id): new function to give a unique label
4239 (validate): the file locatation is given by an entity reference.
4241 2002-02-18 Herbert Voss <voss@lyx.org>
4243 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4245 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4247 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4248 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4250 2002-02-18 José Matos <jamatos@fep.up.pt>
4252 * insetinclude.C (validate): some code only applies to latex buffers,
4253 it was made conditional.
4255 2002-02-12 Herbert Voss <voss@lyx.org>
4257 * insetgraphics.C: (prepareFile) do not check at this time
4258 if the file is present.
4260 2002-02-12 Herbert Voss <voss@lyx.org>
4262 * insetgraphics.C: latex(), return the correct newlines
4264 2002-02-13 José Matos <jamatos@fep.up.pt>
4266 * inseturl.C (docbook): escape & in url.
4268 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4270 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4271 after HYPHENATION and MENU_SEPARATOR
4273 * inset.h (isLineSeparator): new method, returns false by default.
4275 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4277 * insetert.C (status): do not update the text inset, but the ERT
4280 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4282 * insetnote.C: use notebg for background
4284 2002-02-08 Herbert Voss <voss@lyx.org>
4287 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4288 prevent LyX from unzipping when this should be handled
4289 by latex vis the graphic.cfg.
4292 2002-02-08 Herbert Voss <voss@lyx.org>
4294 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4295 exists, than return filename with extension
4297 2002-02-06 Herbert Voss <voss@lyx.org>
4299 * insetgraphic.C: prepareFile(): don't convert the file, when
4300 it's not viewed in LyX. Saves a lot of time when opening a
4303 2002-02-05 Herbert Voss <voss@lyx.org>
4306 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4307 and adding a rotate bool similiar to subcaption
4309 2002-02-04 Herbert Voss <voss@lyx.org>
4312 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4313 similiar view to the LaTeX one. Get zipped files work.
4315 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4317 * insetgraphicsParams.C (init): set display to DEFAULT.
4318 No longer #include "lyxrc.h".
4320 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4322 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4323 for now (so that the code compiles).
4325 2002-02-02 Herbert Voss <voss@lyx.org>
4327 * insetgraphic.C: delete inVariant() and some minor changes
4328 * insetgraphicsParams.[C]:
4330 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4332 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4333 interogate lyxrc.display_graphics before diaplaying the graphic.
4335 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4336 InsetGraphicsParams::DisplayType.
4338 2002-01-31 Herbert Voss <voss@lyx.org>
4340 * insetgraphic.C: (readfigInset) set display to pref-default
4342 2002-01-30 Herbert Voss <voss@lyx.org>
4344 * insetgraphic.C: get the filetyp from it's contents
4345 * insetgraphicparams.C: add token scale and lyxrc.display when
4346 creating a new inset
4348 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4350 * figinset.C: added using std::ios directive.
4352 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4354 * figinset.C (runqueue): open translation file in binary mode (for
4357 2002-01-27 Herbert Voss <voss@lyx.org>
4359 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4360 all options and to be sure that the old figinsets are correct
4362 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4363 structure and to support all lengths as LyXLength. The Parameter
4364 structure changed again, but reading of "old" 1.2 graphic insets
4367 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4369 * insetert.h (forceDefaultParagraphs): Added
4371 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4373 * insettabular.C (getMaxWidth):
4374 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4376 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4378 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4379 of LyXLength::inPixels
4381 * inset.C (latexTextWidth):
4382 * insetminipage.C (latexTextWidth): new method, which implements
4383 the equivalent of the LaTeX macro \textwidth
4385 * insetminipage.C (getMaxWidth): use latexTextWidth
4387 2002-01-18 Juergen Vigna <jug@sad.it>
4389 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4391 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4393 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4395 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4398 2002-01-17 Juergen Vigna <jug@sad.it>
4400 * insettabular.C (lockInsetInInset): same change as in insettext.
4402 * insettext.C (draw): width() function was called without setting
4403 the right top_x which could lead to wrong insetWidth setting!
4404 (lockInsetInInset): call edit instead of calling lockInset if we
4405 have to lock an inset inside!
4406 (edit): we have to also tell the inset that we have to redraw the
4407 frame on an edit call if this inset draws a frame only if locked.
4409 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4411 * insetbib.C (getFiles): uncomment Path variable.
4413 2002-01-16 Juergen Vigna <jug@sad.it>
4415 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4418 2002-01-16 Allan Rae <rae@lyx.org>
4420 * insetinclude.C (docbook): someone forgot a ";"
4422 2002-01-16 José Matos <jamatos@fep.up.pt>
4424 * figinset.C (docbook): removed a old place holder "@".
4425 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4426 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4427 ascii text version, clearly guarded inside a CDATA section.
4428 (docbook): in docbook 4, inlinegraphics is empty.
4429 * insettabular.C (linuxdoc): export the ascii version of the table
4430 inside a CDATA section.
4432 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4434 * insetparent.C (InsetParent):
4435 * insetgraphicsParams.C (Write):
4437 * insetgraphics.C (prepareFile):
4440 * insetexternal.C (executeCommand):
4441 (doSubstitution): use Buffer::filePath
4443 * insetbib.C (getFiles): add a #warning for Angus
4445 * insetgraphics.C: Add a remark about how filenames should be
4446 considered to be relative to buffer (but absolute is still allowed)
4447 (draw): do not try to get status if lyxrc.use_gui is false
4449 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4452 * insetcollapsable.[Ch]:
4453 * insettabular.[Ch] (searchForward, searchBackward): change the
4454 bool const & params to bool.
4456 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4457 to avoid the name clash with InsetCollapsable's methods of the same
4458 names but different functionality.
4460 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4462 * insettext.C (ascii): use lyx::count rather than countChar.
4464 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4466 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4468 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4470 * insetgraphics.C (updateInset): do not try to render image if
4471 lyxrc.use_gui is false (bug #104)
4473 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4474 if file does not exist
4476 * figinset.C (browseFile): add shortcuts to directory buttons
4478 * insettext.C (updateLocal): update menubar and toolbar here too.
4480 2002-01-13 Allan Rae <rae@lyx.org>
4482 * insettabular.C (InsetTabular): Both constructors now initialise
4483 all class variables.
4485 2002-01-11 Juergen Vigna <jug@sad.it>
4487 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4489 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4491 * insettabular.C (getStatus): add forgotten brace around multiline
4494 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4496 * insetfloat.C (validate): require "float" instead of "floats".
4498 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4500 * insettabular.C (getStatus): use FuncStatus
4502 2002-01-08 Juergen Vigna <jug@sad.it>
4504 * insettabular.C (insetButtonRelease): now this should work too
4507 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4508 if the width is a percentage.
4510 * inset.h: added isChar() function and implemented this for
4511 insetspecialchar insetquotes and insetlatexaccent.
4512 added forceDefaultParagraphs() and implemented it for insettabular.
4514 2002-01-07 Juergen Vigna <jug@sad.it>
4516 * insettext.C (getLyXText): Fixed this function. An insert into the
4517 map is only done if we REALLY have a new BufferView.
4519 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4521 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4523 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4525 * insetinclude.C: fix use of FileInfo
4527 2002-01-07 Juergen Vigna <jug@sad.it>
4529 * insettabular.C (draw): fixed clearing of cell around inset.
4531 2002-01-05 Juergen Vigna <jug@sad.it>
4533 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4534 variables are updated.
4536 * insettabular.C (resetPos): set always the inset_y as it may be
4537 needed in another function.
4538 (searchBackward): don't draw while searching.
4540 2002-01-04 Juergen Vigna <jug@sad.it>
4542 * insettext.C (lockInsetInInset): forgot to set a cursor.
4544 2002-01-02 Juergen Vigna <jug@sad.it>
4546 * insettext.C (insertInset): make the correct undo informations on
4547 inserting new insets.
4549 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4551 * insettabular.C: correct single-cell select vertically
4553 2001-12-27 Juergen Vigna <jug@sad.it>
4555 * insettabular.C (ascii): export as tab-separated-values if the
4556 function was not called from export (f.ex.: clipboard).
4558 * insetcollapsable.h: added default support for ascii, linuxdoc and
4559 docbook export (the insettext is exported by default!)
4561 * insettabular.C (copySelection): suff the clipboard with the tabular
4562 data in a tab separated format, seems more naturals then with all the
4565 2001-12-24 Juergen Vigna <jug@sad.it>
4567 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4568 to check for REAL mouseMotion.
4570 2001-12-20 Juergen Vigna <jug@sad.it>
4572 * inset.C (cursor): return the owners cursor if available instead of
4573 always only the bv->text->cursor.
4575 * insettabular.C (checkLongtableSpecial): works now.
4577 2001-12-19 Juergen Vigna <jug@sad.it>
4579 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4580 this has to be always row + 1 as 0 means not selected!
4581 (checkLongtableSpecial): added
4582 (tabularFeatures): better longtable options support
4584 * insettext.C (resizeLyXText): reinit the text always also on a
4587 2001-12-18 Juergen Vigna <jug@sad.it>
4589 * insettext.C (updateInsetInInset): look if we have to autocollapse
4590 paragraps and return if the update is requested for ourself.
4592 * insetert.C (status): update the insettext not myself as that is what
4595 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4596 function only return if the update was requested with myself.
4598 * insettext.C (insetButtonPress): fixed stupid bug.
4599 (various functions): pay attention that lt is cleared BEFORE calling
4600 updateLocal() and try to use it in the right manner (don't use it
4601 if it's not really neccessary!)
4602 (collapseParagraphs): insert a blank between collapsing paragraphs
4603 if neccessary (not already there!).
4605 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4607 * insettabular.C: move includes around a bit, add a couple of
4610 * insettext.[Ch]: move includes around a bit, other ws changes and
4613 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4615 * insettext.C (insetButtonRelease): fix compile problem
4617 2001-12-17 Juergen Vigna <jug@sad.it>
4619 * insettext.C (insetButtonPress): set the selection cursor!
4620 (insetButtonPress): clear the selection (and set with that the
4621 selection.cursor) if we only hit an inset!
4623 * insetert.C (read): removed piece of compatibility code only needed
4626 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4629 * insetcollapsable.C (insetButtonRelease): changed so that it can
4630 open eventual existing popup dialogs on mousebutton==3.
4632 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4634 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4636 * inset.C (insetButtonRelease): return a bool for telling the outer
4637 world that we opened a dialog.
4639 2001-12-07 Juergen Vigna <jug@sad.it>
4641 * insettext.C (paragraph): remove the deleteing of paragraphs as
4642 it was a WRONG move!
4644 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4647 * insettabular.C: use new setSelection(). Allow
4648 selection of single cells.
4650 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4652 * insetquotes.C (latex): fix to use the local language setting at
4653 the point where the inset is inserted (different macros for
4654 different french packages)
4656 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4658 * inset.h: add par_owner_ member variable and parOwner
4661 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4663 * insettabular.C (everywhere): adapt because widths are now real
4664 widths and not strings
4666 * insettext.C (draw): re-introduce the calls to width(), ascent()
4667 and descent() to initialize the caching variables.
4669 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4671 * insettext.C (draw):
4672 (drawFrame): use insetWidth instead of last_width
4674 * insettext.h: remove variable last_width (insetWidth is exactly
4675 the same) and last_height (computed but never used!)
4677 2001-12-10 Allan Rae <rae@lyx.org>
4679 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4681 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4683 * insettext.C (insetAllowed): add comment
4685 2001-12-05 Juergen Vigna <jug@sad.it>
4687 * insettext.C (insetAllowed): fixed for the case that we directly
4688 ask the insettext from its LyXText.
4689 (paragraph): fixed the crash when assigning the par->next() from
4690 the EmptyParagraphMechanism!
4692 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4696 * insettext.C: change "while(" to "while ("
4698 2001-12-04 Juergen Vigna <jug@sad.it>
4700 * insetert.C (edit): handle Inlined status.
4702 * insettext.C (insertInset): trying John's fix for the trailing cursor
4704 * insetert.C (insetButtonPress): added to handle inlined status
4705 (insetMotionNotify): ditto.
4707 * insettext.C (clearInset): changed Painter & in BufferView * param,
4708 to be able to call ascent,descent methods.
4710 2001-12-03 Juergen Vigna <jug@sad.it>
4712 * insettext.C (updateInsetInInset): use lt variable to forbid
4713 changes of LyXText in an update call.
4714 (updateInsetInInset): fixed updating of non locked insets!
4716 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4718 * insettabular.C: capture some more functions to prevent
4719 selection drawing problems. Bug #451274
4721 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4724 * insetgraphicsParams.C: fix inverted sense of float_equal
4726 2001-11-30 Juergen Vigna <jug@sad.it>
4728 * insettabular.C (InsetTabular): use the save_id flag to create also
4729 the tabular with the same id's.
4731 * insettext.C (setParagraphData): added a same_id function for undo
4732 to set the same paragraph id's as of the paragraph we are setting.
4734 2001-11-30 José Matos <jamatos@fep.up.pt>
4737 * insettoc.[Ch]: DocBook -> docbook.
4739 2001-11-29 André Pönitz <poenitz@gmx.net>
4742 * insettext.C: further reduction of header dependencies by using
4743 lyx::layout_type and lyx::textclass_type from support/types.h
4745 2001-11-29 Juergen Vigna <jug@sad.it>
4747 * insettext.C: inserted a reinitLyXText function everywhere I delete
4748 the paragraphs! This should fixe the crashes we had.
4749 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4750 (paragraph): set the InsetOwner() of the new paragraphs!
4752 2001-11-28 André Pönitz <poenitz@gmx.net>
4754 * insetnote.C: add pos initialization that I removed without
4757 2001-11-28 Juergen Vigna <jug@sad.it>
4759 * insettabular.C (resetPos): hack to not crash with infinite paints.
4761 * insettabular.h: insert missing function allowSpellcheck()!
4763 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4765 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4768 * insetfloatlist.C: derive from InsetCommand so gui can use it
4771 2001-11-26 André Pönitz <poenitz@gmx.net>
4775 * insetnote.C: reduce header dependencies, introduce type for
4778 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4780 * various: update for Alert.h
4782 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4784 * inset.h: fix comment
4786 * insettext.C: use par->isInset()
4788 2001-11-22 Allan Rae <rae@lyx.org>
4790 * insetcollapsable.h:
4791 * inset.h: Changes to checkInsertChar() behaviour.
4792 Now return value indicates whether chars can be inserted.
4794 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4796 * various: updated to use the new LaTeXFeatures
4798 2001-11-14 José Matos <jamatos@fep.up.pt>
4800 * insetspecialchar.C (linuxdoc):
4801 (docbook): don't give a name to a unused variable.
4803 * insettext.C (docbook): removed unused variable.
4805 2001-11-13 Herbert Voss <voss@perce.de>
4807 * insetgraphic.C: fix scale bug
4809 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4811 * inset.h (isSpace):
4812 (isLetter): new virtual methods.
4814 * insetspecialchar.C (isSpace):
4815 (isLetter): implement here.
4817 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4819 * inset.h: new inline helpers
4821 * insettext.C: use new helpers
4823 2001-11-07 José Matos <jamatos@fep.up.pt>
4825 * insettext.C (docbook): full support for paragraphs inside insettext.
4827 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4829 * insetindex.C: added header file for std::ostream.
4831 2001-11-03 José Matos <jamatos@fep.up.pt>
4833 * insetindex.C: added using std::ostream that I forgot yesterday.
4835 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4837 * insetindex.h (docbook):
4838 * insetindex.C (docbook): added support for docbook export.
4840 2001-11-02 José Matos <jamatos@fep.up.pt>
4842 * insetcaption.C(docbook): added support for docbook export.
4844 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4846 * insetexternal.C (updateExternal): Do not run update command if
4847 result file exists and is up to date.
4849 * ExternalTemplate.C (readFormat): Support the updateresult token.
4851 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4853 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4854 external_templates) to use the buffer->fileName() but only if
4855 previewing. Generating a TeX file should make FPath return
4858 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4861 * insetert.C: fix some problems
4863 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
4865 * insetexternal.C (doSubstitution): Added $$FPath token
4866 to list of usable substitutions in external inset templates.
4868 2001-10-24 Juergen Vigna <jug@sad.it>
4870 * insettabular.C: use new ltType struct for setting longtable
4871 header and footers also new UNSET enums.
4873 2001-10-24 José Matos <jamatos@fep.up.pt>
4875 * insettabular.C (linuxdoc): Now exports the ascii's table version.
4876 (docbook): If the table is not inside a float then wrap it inside
4877 <informaltable>...</informaltable>.
4879 2001-10-23 José Matos <jamatos@fep.up.pt>
4881 * insetref.C (docbook): removed / terminator to conform SGML.
4883 * insetspecialchar.C (linuxdoc):
4884 (docbook): Added support for special chars, more than ascii export.
4886 2001-10-22 Juergen Vigna <jug@sad.it>
4888 * insettext.C (checkInsertChar): added for REALLY checking the
4889 font of the inserted char in the right inset!
4891 2001-10-19 Juergen Vigna <jug@sad.it>
4893 * inset.h: added method allowSpellcheck() so that insets who do
4894 not have anything to spellcheck can tell and so they are over-jumped.
4895 Implemented for InsetText and co.
4897 2001-10-18 Juergen Vigna <jug@sad.it>
4899 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
4901 2001-10-15 José Matos <jamatos@fep.up.pt>
4903 * insetert.C: allow export for docbook and linuxdoc
4905 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4907 * insetquotes.C (dispString): handles latin3 and latin4 quotes
4909 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4911 * insetquotes.C (dispString): fix handling of latin9 quotes
4913 2001-10-03 Juergen Vigna <jug@sad.it>
4917 * insetcollapsable.C: change updateInset calls to not tell BV that
4918 we have changed status.
4920 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4922 * insettabular.C (deletable): make const
4924 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
4926 * insetert.C (latex): Fix the returned value
4928 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
4930 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
4931 Returns string(), so nothing in an ERT inset is spellchecked.
4933 * insetgraphics.C (draw): print the filename if not displaying the
4935 (width): make sure that the width and draw methods are consistent.
4936 (updateInset): don't even load the image into cache if not displaying
4939 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
4941 * various files (selectNextWord): renamed as
4942 selectNextWordToSpellcheck.
4944 * insetgraphics.C (draw): remove the previous change. Right place
4945 is in imageLoaderXPM.C.
4946 (draw): don't display the image if params.display == NONE.
4948 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
4950 * figinset.C (runqueue):
4951 * insetgraphics.C (draw): set background colour of inset from
4952 background to the user-configurable graphicsbg.
4954 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4956 * insetquotes.C (InsetQuotes): when trying to decide the side of
4957 the quote, choose `left' only after a space or '('
4959 2001-09-04 José Matos <jamatos@fep.up.pt>
4964 * insetcollapsable.h
4982 * insetlatexaccent.C
4983 * insetlatexaccent.h
4988 * insetspecialchar.C
4989 * insetspecialchar.h
4993 * insettext.C (docbook): rename docBook method to docbook.
4995 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
4997 * inset.h (getFirstParagraph): New virtual method.
4999 2001-08-20 Herbert Voss <voss@perce.de>
5000 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5001 in the the bibtex-database-gui for inserting a line
5004 If no style is given than there is no tex-output.
5006 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5008 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5012 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5014 * insetert.C (latex): Fix output for multiple paragraphs.
5015 (write): New code for writing paragraph data.
5016 (read): Set font after reading the inset.
5017 (localDispatch): Call set_latex_font() for more cases.
5019 * insetnote.h: Add empty validate method.
5022 * insetnote.C (InsetNote): Set language to the language of the
5025 2001-08-16 Juergen Vigna <jug@sad.it>
5027 * insettext.C: implemented the new FINISHED states.
5029 * insettabular.C: ditto
5031 * inset.h: added more FINISHED states for cursor right,up,down
5033 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5035 * insetfloatlist.C: use "FloatName List"
5037 2001-08-14 Juergen Vigna <jug@sad.it>
5039 * insetert.C (edit): forgot to set status_ in edit calls!
5041 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5043 * insettext.C: Compilation fix
5045 2001-08-13 Juergen Vigna <jug@sad.it>
5047 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5049 * insetcollapsable.C (edit): don't recollapse an already open inset.
5051 * insettext.C: fixed problem when reinitializing LyXText by not doing
5052 it while lt is in use and post this to the next possible time in
5054 (searchForward): fixed not unlocking of inset if nothing found.
5055 (edit): set cursor behind right (was set -1 pos).
5057 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5059 * insettabular.C (tabularFeatures): fixed fix where deleting the
5060 last row didn't get the right actcell!
5062 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5064 * insettext.C (localDispatch): Change language only when the inset
5067 2001-08-10 Juergen Vigna <jug@sad.it>
5069 * insettabular.C (selectNextWordInt): use the front using edit call.
5071 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5072 the parameter overwrite class variable inset.
5074 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5076 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5077 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5079 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5080 update only for fixed with cells.
5081 (resetPos): try to fix the lockup on spellchecking or s&r.
5083 * insettext.C (update): comment this out as it seems first wrong
5084 and second not needed anymore!
5085 (some functions): call reinitLyXText() only in update() in all other
5086 positions set only need_update = INIT.
5088 2001-08-08 Juergen Vigna <jug@sad.it>
5090 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5092 * insettext.C (insetUnlock): remove double-space on inset unlock.
5094 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5096 * insettabular.C (update): fixed cursor positon after an insert.
5097 (insetAllowed): do not allow to insert insets when not inside the
5099 (draw): clear below an inset too as it could have changed height.
5101 * inset.C (getMaxWidth): fixed width for inset in inset.
5103 * insettext.C (update): small fix.
5105 * insettabular.C (tabularFeatures): added selection support to
5106 DELETE_ROW/DELETE_COLUMN.
5108 2001-08-07 Juergen Vigna <jug@sad.it>
5110 * inset.C (getMaxWidth): recoded and all it's implementations!
5112 * insettext.C (init,setParagraph+constructors): cleanups
5113 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5114 are new and I want do a save/restore of the cursor position which is
5115 not possible anymore.
5117 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5118 (searchBackward): ditto
5119 (selectNextWord): ditto
5121 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5123 * insetlatexaccent.C (checkContents): Add some debug messages
5125 2001-08-07 Juergen Vigna <jug@sad.it>
5127 * insetert.C (read): don't use InsetCollapsable::read as we don't
5128 write the collapsed status anymore only the status.
5131 2001-08-06 Juergen Vigna <jug@sad.it>
5133 * insetert.C (set_latex_font): use LyXText's setFont directly.
5135 * insettext.C (drawFrame): fixed one time more the right position
5136 and size of the frame!
5138 * insetert.C (~InsetERT): hide the dialog.
5139 (showInsetDialog): added implementation
5142 (status): new function for the status of the ERT inset (3-state).
5143 (write): output also the status of the inset for readback!
5144 (read): readback the status if available otherwise use collapsed_.
5146 * insettext.C (edit): small fix of setting the position, which could
5149 * insetert.C (width): implement this function for inlined viewing.
5150 Added minimum width of 10 pixels!
5152 * insetminipage.C (InsetMinipage): just change the colors a bit so
5153 that border/background is a bit more visible. We will remove this
5156 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5157 function for getting the important widths for drawing in various
5158 functions and in LyXText.
5159 (draw): fixed up a bit (frame drawing/clearing)
5161 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5163 * inset.C (convertFont): delete method. not used.
5165 2001-08-03 Juergen Vigna <jug@sad.it>
5167 * insettext.C (setFont): don't call for a draw update if we're just
5168 changing the cursor font!
5170 2001-08-02 Juergen Vigna <jug@sad.it>
5172 * insettext.C (draw): clear the background with the right color if
5173 needed. Update myself if x&max-width changed and return without doing
5174 anything. Let the update code handle the right stuff.
5176 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5177 inside another inset.
5179 2001-08-01 Juergen Vigna <jug@sad.it>
5181 * insetcollapsable.C (update): added an in_update bool so we avoid
5184 * insettabular.C (update): added an in_update bool so we avoid
5187 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5189 (update): added an in_update bool so we avoid reentering.
5191 * insettabular.C (localDispatch): clear col/row selection when doing
5192 something else inside an inset.
5194 * insettext.C (getLyXText): fixed bug when requesting a recursive
5197 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5199 * insetcite.C (latex): Paranoia check. Make sure that there is no
5200 whitespace between the citation keys.
5202 2001-07-31 Juergen Vigna <jug@sad.it>
5204 * inset.h (nodraw): make the set function also const so that this
5205 can be called from inside other const functions.
5207 * insetcollapsable.h: removed inline variable and moved it over
5208 to the only user InsetERT.
5210 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5211 inset opening immediately therein lying insets dialogs!
5213 * insetert.C (localDispatch): set the font also if we don't have any
5214 chars in this paragraph, otherwise if we delete all of em and start
5215 writing we have the wrong font.
5217 (draw): implemented for inline support
5218 (insetButtonRelease): ditto.
5220 2001-07-30 Juergen Vigna <jug@sad.it>
5222 * insettext.C (reinitLyXText): new function to reinit the insets
5223 text after lot's of paragraph changes. Use this instead of the
5224 cache.clear() which is VERY dangerous.
5226 * insetfloat.C (insetButtonRelease): we should only show the dialog
5227 if we press on the label otherwise we have problems to open mouse
5228 button 3 dialogs inside this float (f.ex. of a tabular!)
5230 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5232 * insetert.C: change back to "ERT"
5234 * insetfloat.C: handliign of RMB on label added.
5236 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5238 * insetgraphicsParams.C: #include LOstream.h here.
5240 * insetfoot.h: remove InsetFoot:: qualifier.
5242 2001-07-29 Baruch Even <baruch@lyx.org>
5244 * ChangeLog: Hiding time travel evidence.
5246 * insetgraphicsParams.h:
5247 * insetgraphicsParams.C:
5248 * insetgraphics.C: Added horizontal scale option, it actually scales both
5249 directions since it keeps image proportions.
5251 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5253 2001-07-29 Baruch Even <baruch@lyx.org>
5255 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5256 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5258 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5260 2001-07-29 Baruch Even <baruch@lyx.org>
5262 * insetgraphics.C: Added EPSI to be an alias of EPS.
5264 2001-07-29 Baruch Even <baruch@lyx.org>
5266 * insetgraphics.C: Change GRAPHICS to Graphics.
5267 Changed image conversion rules (documented at the beginning of file).
5269 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5271 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5274 * insetgraphics.C: added a using std::endl directive.
5276 * insetcommand.h (getScreenLabel): removed pure virtual function,
5277 as it duplicates that in InsetButton.
5279 * insetbib.[Ch] (getScreenLabel):
5280 * insetbutton.[Ch] (getScreenLabel):
5281 * insetcite.[Ch] (getScreenLabel):
5282 * insetert.[Ch] (getScreenLabel):
5283 * insetexternal.[Ch] (getScreenLabel):
5284 * insetfloatlist.[Ch] (getScreenLabel):
5285 * insetinclude.[Ch] (getScreenLabel):
5286 * insetindex.[Ch] (getScreenLabel):
5287 * insetlabel.h (getScreenLabel):
5288 * insetparent.[Ch] (getScreenLabel):
5289 * insetref.[Ch] (getScreenLabel):
5290 * insettoc.[Ch] (getScreenLabel):
5291 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5293 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5295 (validate): remove check on "cite" when using natbib.
5297 2001-07-26 Baruch Even <baruch@lyx.org>
5299 * insetgraphics.C (draw): changed casting to be in one place rather than
5300 all over the function.
5303 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5305 * insetgraphicsParams.h:
5306 * insetgraphicsParams.C:
5307 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5309 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5311 * insetfoot.C (validate): Added method to ensure that the
5312 right bit of LaTeX is emitted.
5314 * insetfoot.h: Added validate method to set the correct
5315 LaTeXFeatures bit for the special footnote code.
5317 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5319 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5322 2001-07-27 Juergen Vigna <jug@sad.it>
5324 * inset.h: remove not used font variable in parameter.
5325 removed checkInsertChar in UpdatableInset as it was equal to
5326 the one in Inset and so not needed.
5328 * insetert.C (checkInsertChar): implementation of function
5331 * inset.h: added new function checkInsertChar.
5333 * various files: added c-tor and clone() function.
5335 * insetcollapsable.h: removed clone function here as this should
5336 be only realized in REAL insets and added it to all collapsable
5337 insets! (with the copy-constructor).
5339 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5341 * insetminipage.C (read): handle missing parameters more gracefully
5343 * insetcollapsable.C (read): handel missing collapsed more gracefully
5345 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5347 * insetfloat.C (read): handle missing parameters.
5349 * insettext.C (read): handle old latex end_inset
5351 * insetert.C (setButtonLabel): new method
5352 (init): use it, to set the dynamic label correctly
5355 * Makefile.am (EXTRA_DIST): add files that is not part or the
5358 * insetcollapsable.h: remove autocollapsable (no users), remove
5359 draw_label, change_label_with_text and companion code. Remove args
5361 * insetert.[Ch]: move here instead (only user)
5363 * inset.h: rename private variable name to name_, make
5364 selectNextWord return a const string. make getInsetName return a
5365 string const &. Remove bool from open, add close.
5367 * Makefile.am: don't compile insetlist, insetsection
5370 2001-07-24 Juergen Vigna <jug@sad.it>
5372 * insetert.C (InsetERT): put init after the paragraph initialization,
5373 as otherwise we don't set the draw_label right.
5375 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5376 insets with the mouse without having strange selections.
5377 (edit): if the inset was collapsed and we open it here then put the
5378 cursor always at the beginning of the inset.
5379 (get_new_label): 15 instead of 10 max chars in the label.
5381 * insetert.C (localDispatch): added and handle various stuff we
5382 need to handle here (font setting on paragraph break, not permitted
5383 layout setting, etc.).
5385 * inset.h: added default copy-consturctor and implemented this in
5386 various insets with the change to use this in the clone function!
5388 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5390 * insetminipage.C (InsetMinipage): set background color to red :)
5392 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5394 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5395 draw frame mode is LOCKED.
5397 * insetcollapsable.C (edit):
5398 (insetButtonRelease): set update status to full when
5401 * insettext.C (clearInset):
5402 * insettabular.C (draw):
5403 * insetlatexaccent.C (draw): honor background color.
5405 * inset.h: new member background_color_, initialized to
5408 * inset.C (backgroundColor): new method.
5409 (setBackgroundColor): new method.
5411 * insetert.C (init): new method, called by the ctors.
5412 (InsetERT): when inserting contents, make sure the font is
5415 * insetnote.C (InsetNote): when inserting content, remove trailing
5417 (init): set background color to LColor::note
5419 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5421 * insetcollapsable.C: adjust
5423 * insetbutton.C: adjust
5425 2001-07-23 Juergen Vigna <jug@sad.it>
5427 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5428 parameter on the _collapsed function (was not needed) and call
5429 always width_collapsed().
5431 * insetert.C (InsetERT): use setLabel with "true" flag.
5433 * insetcollapsable.C: modified various functions to set the draw_label
5434 string right in any condition.
5435 (setLabel): added a bool parameter to set change_label_with_text.
5437 * insetcollapsable.h: added draw_label string which is set to the
5438 actual drawn label-string, while label is the original static label
5439 of this collapsable inset. Added bool change_label_with_text to set
5440 if we want that the label changes to the start of the InsetText's
5441 text when collabpsed. You can set this flag with the setLabel funciton.
5442 Added bool inlined for inlined collapsable insets, but not handled
5445 * insetcollapsable.C (get_new_label): added should get a new label
5446 from the InsetText beginning (for now 10 chars).
5448 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5450 * insetquotes.C (latex): fix the handling of french double quotes
5451 when not using the french pachage.
5453 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5455 * insetcollapsable.h: make WidthCollapsed mutable.
5457 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5458 InsetPrintIndex returns INDEX_PRINT_CODE.
5460 * inset.h: add INDEX_PRINT_CODE
5462 * insetcollapsable.C (draw): init widthCollapsed if necessary
5465 * insetquotes.C (width): use the local language, not the document
5468 (dispString): add additional spacing for all french languages,
5470 (validate): make it work when there is no default language
5472 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5474 * insetnote.C (init): new method, called by the constructors
5475 (InsetNote): new constructor with contents passed as a string
5477 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5479 * insetfootlike.C (insetAllowed): disallow float in footlike.
5481 * insetert.C (InsetERT): add collapsed argument to the constrctor
5484 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5486 * insetindex.h: shut off warning
5488 2001-07-20 Juergen Vigna <jug@sad.it>
5490 * insetcollapsable.C (update): recoded hopefully works now!
5492 2001-07-19 Juergen Vigna <jug@sad.it>
5494 * most files: implemented the below new introduced function.
5496 * inset.h: added new edit(BufferView *, bool front) method to be able
5497 to enter an inset from the front/back without knowing x/y positions
5498 and baselines inside the inset. So I just can tell the inset activate
5499 me and set the cursor on the front/back of yourself.
5501 2001-07-18 Juergen Vigna <jug@sad.it>
5503 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5504 is given to the InsetText.
5505 (insetButtonPress): ditto
5506 (insetButtonRelease): ditto
5507 (insetMotionNotify): ditto
5509 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5511 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5512 LIGATURE_BREAK, since the name is so stupid.
5514 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5516 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5517 the default InsetCollapsable methods. I.e., it can insert anything.
5518 (write) output the name of the inset, not some silly hack for
5519 compatability with the old InsetInfo.
5521 * insetinfo.[Ch]: removed.
5522 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5523 now collapsable, but functionality is otherwise identical to InsetInfo.
5525 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5527 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5529 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5532 * insetquotes.C: general cleanup
5533 (dispString): add spaces inside french double quotes.
5534 (latex): ditto. Moreover, treat first the case where the frenchb
5535 or french options have been given.
5537 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5539 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5542 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5544 * figinset.C (RegisterFigure): Print debug message only when
5545 current_view is available.
5547 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5549 * many files: update to match the change below
5551 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5552 implement the version which takes an inset here.
5554 * insetcollapsable.[Ch]: implement open and isOpen
5556 * inset.h: remove insertInsetAllowed from Inset
5557 (open): new method, to open or close an inset
5558 (isOpen): returns the status of an inset
5559 (isCollapsable, colapse): removed
5561 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5563 * insetquotes.C (dispString): display french guillemets when using
5566 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5568 * insetcollapsable.h: remove bogus return statements
5570 2001-07-18 Juergen Vigna <jug@sad.it>
5572 * insettabular.C (selectNextWord): fixed spellchecking for the
5573 first cell of a tabular (wasn't entered!)
5574 (getLyXText): changed to enter automatically insettext and return
5575 it's LyXText if we're locked.
5577 2001-07-17 Juergen Vigna <jug@sad.it>
5579 * various files: implemented the below functions.
5581 * inset.h: added functions
5582 - virtual string selectNextWord(BufferView *, float & value) const;
5583 - virtual void selectSelectedWord(BufferView *) { return; }
5584 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5585 needed for spellchecking correctly!
5587 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5589 * insetert.C (latex): write out all paragraphs.
5591 2001-07-17 Baruch Even <baruch@lyx.org>
5593 * insetgraphics.C (draw): Removed unneeded casts.
5595 2001-07-16 Juergen Vigna <jug@sad.it>
5597 * insettext.C (update): fixed small oversight (reset lt to 0).
5599 2001-07-14 Baruch Even <baruch@lyx.org>
5602 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5604 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5606 Consistent use of Lsstream.h:
5607 * figinset.C: removed using std::ostringstream directive.
5609 * insetgraphics.C (createLatexOptions):
5610 * insetinclude.C (unique_id):
5611 std::ostringstream -> ostringstream.
5612 * insettext.C (localDispatch): std::istringstream -> istringstream.
5614 2001-07-13 Juergen Vigna <jug@sad.it>
5616 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5618 * insetcollapsable.C (getLockingInset): ditto.
5620 2001-07-12 Juergen Vigna <jug@sad.it>
5622 * insetcollapsable.h: added implementation of new function for
5625 * various files: added implementation of new insertInsetAllowed-func
5626 and redone the function a bit more.
5628 * inset.h: added isCollapsable(), bool collapsed(),
5629 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5631 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5633 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5634 LyXText which is marked for removal while we're using it!
5636 * insettext.h: added private LyXText * lt to use it to assure we are
5637 not deleting our LyXText while we're using it!
5639 2001-07-11 Juergen Vigna <jug@sad.it>
5641 * insettext.C (insertInset): check if we are before the inset after
5642 inserting it! This check IS needed. Remove the Undo-Call as it is
5643 called in LyXText::insertInset!
5645 * insettext.h: added struct InnerCache.
5647 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5648 that we ONLY delete the LyXText in the getLyXText() routine. So we
5649 are sure we don't delete LyXText while someone is working with it!
5651 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5653 * insetexternal.C: (*it). -> it->
5654 * insettext.C: ditto
5656 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5658 * insetcollapsable.C (edit): always open collapsed insets (even if
5659 they are not autocollapsable)
5661 * insetcommand.C (operator=): simplify.
5663 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5665 * insetert.C (latex): handle META_NEWLINE
5667 2001-07-09 Juergen Vigna <jug@sad.it>
5669 * insetert.h: a normal InsetText can insert insets, but we won't.
5671 * inset.h: return default "false" on insertInsetAllowed and implement
5672 this function where a returnvalue != "false" is needed.
5674 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5676 * insetert.C (InsetERT): new contructor
5678 2001-07-06 Juergen Vigna <jug@sad.it>
5680 * a lot of files: added implementation of the below new functions
5681 and the change to clone(). Also the call of the new undo-functions
5684 * inset.h: added an inset_id, added functions getParFromID,
5685 getInsetFromID, firstParagraph, cursor and id functions, added
5686 bool same_ids to clone function.
5688 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5690 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5691 of BufferView * and shared_ptr<LyXText>
5693 2001-07-05 Juergen Vigna <jug@sad.it>
5695 * insettext.C (clear): deleted also the cache not only LyXText.
5696 (setParagraphData): ditto.
5698 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5700 * insetfloat.C (latex): let the specific placement take presedence
5701 if set, otherwise choose document placement if set, otherwise just
5702 use float default placement.
5704 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5706 * insettext.C (localDispatch): call CutAndPaste::'s static method
5709 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5711 * insetbib.C: no meed to include forms.h here.
5713 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5715 * insettext.C: added using std::make_pair directive.
5717 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5719 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5721 (deleteLyXText): ditto
5722 (resizeLyXText): ditto
5724 2001-07-02 Juergen Vigna <jug@sad.it>
5726 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5727 following calls are only returned the right pointer without the over
5728 head to search in the map.
5729 (various funcs): reset the cached_bview variable as this signs that
5730 the cache is not valid anymore.
5732 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5734 * insettabular.C (clone): do not copy the LyXTabular twice
5736 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5738 * insettext.h (TEXT): delete method
5740 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5742 * insetmarginal.C (latex):
5743 * insetfoot.C (latex): fix spacing of notes in LaTeX
5745 * insettext.C (localDispatch): use .c_str() on istringstream
5746 constructor argument.
5748 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5753 * inseturl.C: fix method names in these to begin
5754 with small char too, so they inherit
5756 2001-06-28 Juergen Vigna <jug@sad.it>
5758 * insettext.C (setFont): fixed font settings using toggleFree()
5759 instead of setFont().
5761 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5763 * Change a lot of method names to begin with a small char.
5764 Changes to a lot of files because of this.
5766 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5768 * insetfloatlist.C (Write): std:: qualify ostream
5771 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5775 * insetgraphics.C: send debug output to Debug::INFO instead of
5778 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5781 * insettabular.C (getStatus): update to use func_status
5783 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5785 * insetref.C (DocBook): added support for cross-references without
5788 2001-06-26 The LyX Project <jug@sad.it>
5793 * insetlabel.h: removed escape method and moved it to
5796 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5798 * insettabular.C (getMaxWidth): do the speedup in a different way,
5801 2001-06-24 The LyX Project <Asger>
5803 * insettabular.C (getMaxWidth): We cache a mapping from
5804 inset to cell in order to speed this method up.
5806 2001-06-24 The LyX Project <Asger>
5808 * insettext.C: Optimized InsetText::draw or something.
5810 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5812 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5814 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5816 * inset.h: name change from lyxinset.h
5818 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5820 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5822 2001-06-14 Juergen Vigna <jug@sad.it>
5824 * insettext.C (draw): removed warnings.
5826 2001-06-13 Juergen Vigna <jug@sad.it>
5828 * insettabular.C (nodraw): only go down the tree if we don't have
5829 that flag set otherwise it's obvious that we don't want to draw.
5830 (LocalDispatch): do also an update if we have an undispached result.
5832 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5835 * insetgraphicsParams.C:
5836 * insettext.C: removed // -*- C++ -*- as first line.
5838 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5840 * lyxinset.h (resizeLyXText): shut off warning about unused
5843 2001-06-07 Juergen Vigna <jug@sad.it>
5845 * insettext.C (resizeLyXText): honor the new force flag.
5847 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5849 * insettabular.C (deleteLyXText): new function
5851 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5859 * insetcollapsable.C:
5860 * insetcaption.C: LColor tidy
5862 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5864 * figinset.C: fix typo
5866 2001-06-01 Juergen Vigna <jug@sad.it>
5868 * insettabular.C (resetPos): small hack so that scroll is not set to
5869 0 when we are in the last column of a tabular. This is a problem we
5870 have because of constats 20 offset on both directions, so this can
5871 cause on the limit an endless loop.
5873 * insettext.C (SetFont): forgot that we can have locking insets ;)
5875 2001-05-31 Juergen Vigna <jug@sad.it>
5877 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
5879 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5881 * figinset.C: add using std:: directive for the C functions which
5884 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
5886 * insetfloat.C (Write): write out wide info
5887 (Read): read the wide info
5888 (Latex): use the wide info when creating latex.
5890 * insettext.C: adjust
5892 * insetgraphics.[Ch] (statusMessage): change to return string
5896 * figinset.C (runqueue): add std::
5899 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5901 * insetcite.C (Ascii): add std:: qualifier
5903 2001-05-28 Juergen Vigna <jug@sad.it>
5905 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
5906 a endless-width inset (maxWidth < 0).
5907 (Edit): change language only if not equal.
5909 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
5911 * insettext.C (draw): fixed draw/clear of InsetText-Frame
5913 2001-05-16 Juergen Vigna <jug@sad.it>
5915 * insettext.C (selectAll): added
5916 (clearSelection): added
5918 * insettabular.C (SetFont): now we may set a font on a whole selection!
5919 (getSelection): added helper function.
5921 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
5923 * insetcite.C (Ascii): Add method.
5925 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
5928 * insetbib.C: fix path for OS/2 & Win32
5930 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5932 * insetfoot.C (Latex): don't use % after footnote.
5934 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5936 * insettext.C (Read): use clear
5937 (SetParagraphData): use LyXParagraph copy constructor instead of clone
5939 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5941 * insetfloatlist.h: add a bunch of std:: qualifiers.
5943 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5945 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
5946 FLOAT_LIST_CODE, renumber code list.
5948 * insettoc.C (getScreenLabel): remove support for float lists
5952 * insetfloatlist.[Ch]: new files
5954 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
5956 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
5958 * insettabular.C (LocalDispatch):
5959 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
5962 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5964 * insettext.C: remvoe !NEW_INSETS cruft
5966 * insettabular.C: remove !NEW_INSETS cruft
5968 * insetcollapsable.h: remove !NEW_INSETS cruft
5970 * insetbib.C: remove !NEW_INSETS cruft
5972 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5974 * insettoc.C: hack to make listof algorithm work
5976 2001-04-20 Juergen Vigna <jug@sad.it>
5978 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
5980 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5982 * insetquotes.C (Latex): improve the guard against
5983 unwanted !` and ?` ligatures. This should really be done in
5984 another place (to catch all this ligatures at low-level).
5986 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
5988 * insettext.C (init): remvoe leftovers from cursor_visible change
5989 (draw): use c++ cast
5990 (LocalDispatch): dispatch LFUN_MESSAGE
5992 * insettabular.C (InsetTabular): remove leftovers from
5993 cursor_visible, and scoped_ptr changes
5994 (draw): use c++ cast
5996 * insetcollapsable.C (draw): use c++ cast
5998 * ExternalTemplate.h: inherit privaely from noncopyable
5999 * insetcommand.h: ditto
6000 * insetinclude.h: ditto
6002 2001-04-16 Allan Rae <rae@lyx.org>
6004 * insettoc.C (Ascii):
6005 * insettext.C (draw):
6006 * insettabular.C (setPos):
6007 * insetminipage.C (Read):
6008 * insetfloat.C (placement):
6009 * insetcaption.C (Ascii, DocBook):
6010 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6011 an unrecognised preprocessor directive. So ensure they're wrapped.
6013 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6016 * insetexternal.C: set view on Clone. Add _ to private members.
6018 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6020 * insettext.C (InsetText): fix new
6021 (InsetText): reindent some, simplify deletion of par list
6022 (clear): simplify deletion of par list, fix new
6023 (SetParagraphData): simplify deletion of par list
6025 * insettabular.[Ch] (getLabelList): implement new method
6027 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6029 * lyxinset.h: do not include gettext.h...
6037 * insetlatexaccent.C:
6041 * inseturl.C: ... and do it here instead
6043 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6045 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6047 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6049 * insetcollapsable.[Ch] (getLabelList): implement
6051 * insettext.[Ch] (getLabelList): implement
6053 * insettext.h: reindent
6055 * insettabular.h: make tabular a scoped_ptr
6057 * insettext.C (init): adjust for cursor_visible
6058 (ToggleInsetCursor): constify asc and desc, font, adjust for
6060 (ShowInsetCursor): constify asc and desc, font, adjust for
6062 (HideInsetCursor): adjust for cursor_visible
6064 * insettabular.C: reindent some
6065 (InsetTabular): adjust for scoped_ptr and cursor_visible
6066 (InsetTabular): ditto
6067 (~InsetTabular): delete delete
6068 (Clone): adjust for scoped_ptr
6069 (Read): constify old_format, adjust for scoped_ptr, move init of
6071 (draw): constify tx, localize loop vars.
6072 some other localization of variables, remove double initilizatons.
6074 * insetfoot.C: remove using std::ostream, add ostream where needed
6076 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6078 * lyxinset.h: some reindentaion, use initializer list for
6080 UpdatableInset: make cursor_visible a private var add
6081 public isCursorVisible(), add protected toggleCursorVisible() and
6082 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6084 * insettoc.C: remvoe using decl
6085 (getScreenLabel): make cmdname donst
6088 (Ascii): don't use endl
6090 * insetfootlike.C: remove using decl at file scope and add std::
6092 * insetmarginal.C: ditto
6094 * insetfoot.C: some reformatting
6096 * insetfloat.C (InsetButtonRelease): adjust the hit area
6098 * insetert.C (SetFont): some reformatting
6100 * insetcollapsable.C: some reformatting and constification
6101 (Clone): comment out.
6102 * insetcollapsable.h: some reformatting
6103 (Clone): comment out.
6108 2001-03-30 Juergen Vigna <jug@sad.it>
6110 * insetcollapsable.h: changen *inset to be a InsetText inset.
6112 * some files: changed to reflect the above change.
6114 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6116 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6117 InsetExternal::Params.
6118 Added operator==() and operator!=() for the Params struct.
6120 2001-03-29 Juergen Vigna <jug@sad.it>
6122 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6125 * insetminipage.C: removed widthp_ and all it's functions and changed
6126 to use new %-lengths of LyXLength.
6128 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6130 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6132 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6134 * insetgraphicsParams.C (operator!=): new function, needed by the
6135 ControlGraphics class.
6137 2001-03-28 Juergen Vigna <jug@sad.it>
6139 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6140 (checkAndActivateInset): don't use the values returned from
6141 call to bv->checkInsetHit.
6143 * insetminipage.C (Clone): set special minipage values.
6145 * insetcollapsable.C (draw): changed to draw the button in the
6146 upper left corner outside the textinset.
6147 (ascent): changed because of different drawing
6151 (InsetButtonPress): ditto
6152 (InsetButtonRelease): ditto
6153 (InsetMotionNotify): ditto
6155 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6157 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6161 2001-03-26 Juergen Vigna <jug@sad.it>
6163 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6165 * insettext.C (ShowInsetDialog): implemented above function.
6167 * insettabular.C (ShowInsetDialog): ditto
6169 * insetminipage.C (ShowInsetDialog): ditto
6171 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6173 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6174 InsetInclude::Params. Don't store a buffer * in Params. Store the
6175 master file name instead.
6177 2001-03-23 Juergen Vigna <jug@sad.it>
6179 * insetcollapsable.C (InsetMotionNotify):
6180 (InsetButtonRelease):
6181 (InsetButtonPress): fixed y-offset (minipages).
6183 * insettext.C (draw): force a FULL update if cleared == true.
6185 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6186 routine to draw the minipages on its position-flag.
6187 (InsetInInsetY): give back the right y position, because of minipage
6190 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6193 * insetfloat.C (DocBook): docbook export code.
6195 2001-03-22 Juergen Vigna <jug@sad.it>
6197 * insetminipage.C (getMaxWidth): added function to set the drawing
6199 (Read): should work now!
6201 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6202 if we create a new inset.
6204 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6206 * figinset.C (fl_set_preemptive_callback): moved definition outside
6209 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6211 * insetminipage.C (Read): prepare for reading of minipage arguments.
6213 2001-03-18 Baruch Even <baruch@lyx.org>
6215 * insetgraphics.C: Minor cleanups of the comments and code.
6217 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6219 * insetminipage.C (InsetMinipage): default to not collapsed
6221 2001-03-16 Juergen Vigna <jug@sad.it>
6223 * insetminipage.C (width): modified with to be a string
6224 (widthp): added widthp (for % width) support functions.
6225 (InsetButtonRelease): added to open the options dialog on button==3.
6226 (~InsetMinipage): added to hide the dialog.
6228 * insetminipage.h: added hideDialog signal
6230 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6232 * insetminipage.h: change the order or Position to match
6233 LyXParagraph::MINIPAGE_ALIGNMENT
6235 * several files: remvoe CXX_WORKING_NAMESPACES
6237 * ExternalTemplate.h: noncopyable is in namespace boost
6238 * insetinclude.h: ditto
6239 * insetcommand.h: ditto
6241 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6243 * insettext.C (Edit): #else# -> #else.
6244 * insettoc.C: added using directive.
6246 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6248 * insetminipage.h: add pos, inner_pos, width and height. + getters
6249 and setters for all of them.
6251 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6253 * insetinclude.C (Latex): Do not exit when the textclass of the
6254 included file differ from the textclass of the parent file.
6256 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6258 * ExternalTemplate.C (read): the reading of external insets now checks
6259 for \end_inset and removes it form the input stream.
6261 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6263 * ExternalTemplate.h:
6264 * ExternalTemplate.C:
6266 * insetexternal.C: move form to GUII
6268 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6271 * insetinclude.C: add InsetIncludeParams, use
6272 composition rather than derivation of InsetCommand
6274 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6276 * insettoc.C (Ascii): use the Buffer typedefs
6278 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6280 * insettoc.C (Ascii): implement for dynamic number of lists
6282 * insetcaption.[Ch]: update from new_insets branch
6283 * insetfloat.[Ch]: ditto
6285 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6288 * figinset.C: use new File Dialog
6290 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6292 * insettext.C: changes becuase of ParagraphParameters.
6294 2001-02-28 Baruch Even <baruch@ev-en.org>
6296 * insetgraphics.C (updateInset): Changed due to the change in
6299 2001-02-26 Juergen Vigna <jug@sad.it>
6301 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6302 handled in LyXText).
6304 2001-02-23 Juergen Vigna <jug@sad.it>
6306 * insettext.C (draw): some small repainting fixes.
6307 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6309 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6310 should be) and not an int.
6312 * insettabular.C (LocalDispatch): ditto
6314 * insettext.C (LocalDispatch): ditto
6316 * insetcollapsable.C (LocalDispatch): ditto
6318 2001-02-22 Juergen Vigna <jug@sad.it>
6320 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6321 DISPATCH it and we don't have a locking_inset.
6323 2001-02-21 Baruch Even <baruch@ev-en.org>
6325 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6326 instead of GraphicsCacheItem *.
6328 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6330 * insetcollapsable.C (getLyXText): add const qualifier to second
6333 2001-02-22 Juergen Vigna <jug@sad.it>
6335 * insettext.C (getLyXText): honor the recursive parameter.
6336 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6338 * inset.C (getLyXText): added bool recursive parameter.
6340 * insettext.C (SetUpdateStatus): or the update codes.
6341 (draw): check need_update with &.
6342 (InsetButtonPress): set no_selection to not put a selection when
6343 entering an inset and it is redraws in another spot.
6345 * insettext.h: made need_update an int.
6347 2001-02-20 Baruch Even <baruch@ev-en.org>
6350 * insetgraphisc.C: Changed to use better semantics when loading images
6351 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6353 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6357 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6358 consistent with InsetTabular.
6360 2001-02-19 Juergen Vigna <jug@sad.it>
6362 * insettabular.C (LocalDispatch): implement PAGE up/down.
6364 * insettext.C (draw): clear all of it on need_update==INIT too!
6366 * insettabular.C (InsetUnlock): always clear the selection.
6368 * inset.C (scroll): normally we only want to scroll the inset until
6369 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6371 2001-02-14 Juergen Vigna <jug@sad.it>
6373 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6374 (resetPos): fixed scroll behaviour.
6375 (LocalDispatch): do an update if moving cursor inside a table cell
6376 requests a scroll of the tabular.
6378 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6380 * insettext.C (textWidth): constify local var
6382 * insettabular.C: small cleanup.
6384 * insetfoot.C (Latex): constify local var
6386 * insetcollapsable.C: small cleanup.
6388 * figinset.C (runqueue): use compare instead of strcmp
6390 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6393 * insetinfo.C: remove cruft
6395 2001-02-14 Juergen Vigna <jug@sad.it>
6397 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6399 2001-02-13 Juergen Vigna <jug@sad.it>
6401 * insettext.C (InsertInset): don't move left (is this right?)
6403 * insettabular.C (LocalDispatch): use of the no_draw variable
6405 * insettabular.h: new no_draw variable to stop redraw
6407 * insettabular.C (TabularFeatures): fixed update for alignment change
6409 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6413 * insetbib.C: move dialogs to frontends/
6415 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6417 * insettext.C (LocalDispatch): Restore the language if the inset
6420 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6422 * insettext.C (moveRightIntern): Update the selection cursor.
6423 (moveLeftIntern): Ditto.
6425 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6427 * Makefile.am: remove BoundingBox.h
6429 * BoundingBox.h: removed
6431 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6433 * insettext.C (LocalDispatch): Update selection cursor when moving
6434 cursor to the right.
6435 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6436 (moveLeftIntern): Ditto.
6438 2001-02-05 Baruch Even <baruch.even@writeme.com>
6440 * insetgraphics.C: Updated automatic image conversion, it now goes into
6441 temporary directory instead of with the image itself.
6443 2001-01-21 Baruch Even <baruch@ev-en.org>
6445 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6446 to EPS or PNG when needed (support bitmap graphics).
6448 2000-11-02 Baruch Even <baruch@ev-en.org>
6451 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6452 and removal of commented out code.
6454 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6456 * insetbib.C (callback): Update citations if the key has changed.
6458 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6460 * insetbib.C (InsetBibKey): Better computation of default key.
6461 (getScreenLabel) Show both the key and the label.
6462 (getBibLabel): New method.
6463 (callback): Force a redraw if the inset have been changed.
6465 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6467 * insetref.C (getType, getName): Move methods from
6468 src/frontends/xforms/FormRef.C.
6470 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6472 * insettabular.C: Various improvements (use only one dummy position).
6474 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6476 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6477 par->bibkey->width. This fixes the crashes when running without
6478 gui or when having included documents.
6480 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6482 * insetcommand.C (getAsString, setFromString): Cleanup.
6484 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6486 * insetref.C: Add the array InsetRef::types that contains
6487 information about all supported reference types.
6489 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6491 * lyxinset.h: remove trailing comma in enum.
6493 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6495 * insettext.C: kill LyXBell.