1 2004-04-05 Angus Leeming <leeming@lyx.org>
3 * insetgraphics.C: remove unused header file "lyxrc.h".
5 * render_graphic.C: squash bug 1372: Misleading graphics label when
8 2004-04-05 Angus Leeming <leeming@lyx.org>
18 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
20 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
22 * insetfloat.C (read): fix yesterday's float fix.
23 * insetwrap.C (read): apply the fixed float fix.
25 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
27 * insetfloat.C (read): fix reading of float params
30 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
32 * insettext.C (edit): comment the call to updateLocal (dangling now)
33 * insettext.h: add allowSpellCheck() returning true
35 2004-03-31 Angus Leeming <angus@localhost.localdomain>
37 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
39 2004-03-31 Angus Leeming <leeming@lyx.org>
41 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
42 the cursor out of an inset.
44 * insetbranch.C (priv_dispatch):
45 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
46 use getOutOfInset to push the cursor out of the inset when
49 2004-03-30 Angus Leeming <leeming@lyx.org>
51 * insetbase.[Ch] (translate): new static member function, returns
52 an InsetBase::Code corresponding to the input string.
54 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
56 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
57 so that it opens the inset if it refers to the currently active
60 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
62 * insetfloat.C (addToToc): use par_const_iterator_begin and
63 par_const_iterator_end.
65 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
67 * insetbibtex.[Ch]: bibtopic support.
69 * insetfloat.[Ch]: add param \sideways {true|false}
70 (support for sideways floats from rotating.sty).
72 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
74 * insettext.[Ch]: add a default ctor. implement const version of
82 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
84 * insettext.h: add insetAllowed returning true by default (fixing
85 vanishing insets problem)
87 * insettext.C (draw): handle the responsability of adding the
88 ouside offset to collapsable. Clean code a bit.
90 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
91 from insettext correctly, solve a couple of off-by-one drawing
94 2004-03-25 Angus Leeming <leeming@lyx.org>
96 * insetcaption.C (draw): squash warning about unused variable.
98 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
100 * ExternalSupport.C: use the master buffer's temp dir
101 * insetgraphics.C (latex): make relative filename relative to the
103 * insetgraphics.C: use the master buffer's temp dir
104 * insetinclude.C (masterFilename): new function
105 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
106 is always true if loadIfNeeded() returns true)
108 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
110 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
111 set its parent to the current buffer.
112 (latex): use the tmppath of the master buffer, not just the parent
113 buffer (makes a difference with more than one level of include
114 insets). If the file name is relative write in the .tex file a
115 name relative to the master buffer directory.
117 * insetinclude.C: rename masterFilename to parentFilename (this
118 points to the direct parent)
120 2004-03-25 André Pönitz <poenitz@gmx.net>
122 * inset.[Ch]: remover owner
124 * insetcollapsable.[Ch]: derive from InsetText instead having such a
132 * insetcharstyle.[Ch]:
140 * insetwrap.C: adjust
142 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
144 * insetquote.C: use opening quote after '[' char.
146 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
148 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
151 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
153 * insetcite.[Ch]: support jurabib.
155 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
157 * insetcite.C: Support second \cite option.
160 * insetcommandparams.[Ch]: add second optional argument.
162 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
164 * insetcollapsable.C (lfunMouseRelease): right mouse button only
165 shows the inset dialog.
167 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
169 * insetlabel.[Ch]: remove them
170 * Makefile.am: adjust
172 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
174 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
176 * insetinclude.C (latex): show a GUI warning if textclasses don't
178 * insetinclude.C: use mangledFilename() for temp files
179 * insetgraphics.C (readInsetGraphics): remove version check, since
180 the graphics inset has no own fileformat number anymore
182 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
184 * insetquotes.[Ch]: added new member that allows direct access
185 to single/double quotation marks.
187 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
189 2004-02-16 André Pönitz <poenitz@gmx.net>
192 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
193 implicitly assume 'DispatchResult(true, true) with exception of
194 InsetBase::priv_dispatch which does the equivalent of
195 'retrun DispatchResult(false)'
197 * inset*.[Ch] (priv_dispatch): adjust
199 * insettabular.[Ch]: remove remains of the 'update' mechanism,
200 simplify cursor moving function,
201 re-enable horizontal scrolling for large tables
203 2004-02-13 André Pönitz <poenitz@gmx.net>
205 * insettabular.[Ch]: some work after IU
207 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
209 * inset.C (setPosCache): switch to absolute coords in insets
210 * insettext.[Ch] (draw, drawFrame): adjust
211 * insetcollapsable.C (draw): adjust
214 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
216 * insettext.C (edit):
217 (updateLocal): use the cur argument instead of the global cursor
218 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
220 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
222 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
224 * insetfloat.C (validate): "H" -> 'H' in call to contains
226 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
228 2004-01-30 André Pönitz <poenitz@gmx.net>
232 * insetcollapsable.[Ch]:
235 * insetgraphics.[Ch]:
240 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
243 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
245 * insettabular.C: add using statement for std::vector, remove
246 std:: where using was already used.
248 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
250 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
252 * insetinclude.C (validate): use feautures.nice() instead of
255 2004-01-20 André Pönitz <poenitz@gmx.net>
258 * insetbase.[Ch]: move stuff from mathcursor here.
264 * insetcharstyle.[Ch]:
265 * insetcollapsable.[Ch]:
268 * insetexternal.[Ch]:
270 * insetgraphics.[Ch]:
279 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
281 2004-01-15 André Pönitz <poenitz@gmx.net>
288 * insetcharstyle.[Ch]:
289 * insetcollapsable.[Ch]:
292 * insetexternal.[Ch]:
294 * insetgraphics.[Ch]:
303 * updatableinset.[Ch] (priv_dispatch et al): change signature.
305 2004-01-08 André Pönitz <poenitz@gmx.net>
307 * insetcollapsable.[Ch]:
310 * updatableinset.h: use cell index info from global cursor.
312 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
314 * insetnote.C (InsetNoteParams::write): write label only once
316 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
318 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
320 get rid of the SameName functor
322 * insettabular.C: improve the functor.
324 2003-12-29 Angus Leeming <leeming@lyx.org>
326 * insetexternal.C (setParams): update defaultTemplateName.
328 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
330 * insetbox.C: Use term "Box" in button label
332 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
334 * insetcharstyle.C: get getDrawFont working again
336 2003-12-15 André Pönitz <poenitz@gmx.net>
339 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
341 2003-12-12 Angus Leeming <leeming@lyx.org>
343 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
345 (InsetBranchParams): remove the branchlist hack.
346 (isBranchSelected): new function, used to decide whether to
347 print each output format. Also used by InsetList.
348 (read, string2params): repair my own breakage ;-)
350 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
352 * insetminipage.[Ch]: remove from repository.
354 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
357 * insetcollapsable.[Ch]: Move all CollapseStatus code from
358 insetert to insetcollapsable; introduce virtual function
359 setButtonLabel and invoke it from collapsable
361 2003-12-12 Angus Leeming <leeming@lyx.org>
363 * insetinclude.C (draw): cache x,y and so enable the
366 2003-12-12 Angus Leeming <leeming@lyx.org>
368 * mailinset.C (print_mailer_error): tidy up the output.
370 2003-12-11 Angus Leeming <leeming@lyx.org>
372 * mailinset.[Ch] (print_mailer_error): new helper function.
374 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
375 calling InsetCommandMailer.
376 (InsetCommandMailer::string2params): pass the name of the dialog.
378 * insetbibitem.[Ch] (d-tor):
379 * insetbibtex.[Ch] (d-tor):
380 * insetcite.[Ch] (d-tor):
381 * insetfloatlist.[Ch] (d-tor):
382 * insetindex.[Ch] (d-tor):
383 * insetlabel.[Ch] (d-tor):
384 * insetref.[Ch] (d-tor):
385 * insettoc.[Ch] (d-tor):
386 * inseturl.[Ch] (d-tor): removed.
387 Hiding the dialog is handled by InsetCommand.
389 * insetbibtex.[Ch] (draw, metrics):
390 * insetfloatlist.[Ch] (draw, metrics):
391 * insetindex.[Ch] (draw, metrics): removed.
392 Drawing is handled by InsetCommand.
394 * insetbibitem.[Ch] (priv_dispatch):
395 * insetbibtex.[Ch] (priv_dispatch):
396 * insetcite.[Ch] (priv_dispatch):
397 * insetfloatlist.[Ch] (priv_dispatch):
398 * insetindex.[Ch] (priv_dispatch):
399 * insetlabel.[Ch] (priv_dispatch):
400 * insettoc.[Ch] (priv_dispatch):
401 * inseturl.[Ch] (priv_dispatch): removed or simplified.
402 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
403 LFUN_INSET_DIALOG_SHOW.
405 * insetbox.C (string2params):
406 * insetbranch.C (string2params):
407 * insetert.C (string2params):
408 * insetexternal.C (string2params):
409 * insetfloat.C (string2params):
410 * insetinclude.C (string2params):
411 * insetminipage.C (string2params):
412 * insetnote.C (string2params):
413 * insetvspace.C (string2params):
414 * insetwrap.C (string2params): over-hauled.
416 2003-12-10 Angus Leeming <leeming@lyx.org>
418 * insetexternal.[Ch]: add a draft option and respect it when
421 2003-12-10 Angus Leeming <leeming@lyx.org>
423 * insetbox.C: (read, write): now prepend the inset contents with
424 'Box' to identify the inset as a box inset.
426 * insetbox.h: move the translators out of sight.
428 2003-12-10 Angus Leeming <leeming@lyx.org>
430 * insetert.C (string2params): clean-up using the new lyxlex interface.
432 * insetexternal.C: ensure that InsetExternalParams has a default
433 template, 'RasterImage'.
435 2003-12-10 Angus Leeming <leeming@lyx.org>
437 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
438 to an enum. Ensuing clean-ups through out the class.
439 (read, write): now prepend the inset contents with 'Note' to identify
440 the inset as a note inset.
442 2003-12-10 Angus Leeming <leeming@lyx.org>
444 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
445 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
447 2003-12-10 André Pönitz <poenitz@gmx.net>
452 * insettext.[Ch]: remove unused insetInset()
454 * insetert.C: disable some LFUNs
456 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
458 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
460 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
462 2003-12-04 Angus Leeming <leeming@lyx.org>
464 * insetexternal.C (draw): update the xo_, yo_ cache.
466 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
468 (RotationDataType): new helper struct wrapping the
469 RotationData::OriginType enum.
471 2003-12-03 André Pönitz <poenitz@gmx.net>
473 * inset.h: remove getParagraphs()
475 * insetcollapsable.[Ch]:
479 * insettext.C: use getText() instead of getParagraphs()
481 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
483 * insetert.C: fix label text updating bug
485 2003-12-02 Angus Leeming <leeming@lyx.org>
487 * insetvspace.[Ch] (space): new member function. Make space_ private.
488 (read): use the new, simpler lyxlex syntax.
490 2003-12-01 André Pönitz <poenitz@gmx.net>
492 * insetcollapsable.[Ch]:
493 * insetert.[Ch]: move 'inline' state to InsetCollapsable
495 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
497 * insetvspace.C (read): handle 'end_inset' token.
499 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
501 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
503 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
505 * insetcollapsable.[Ch]:
507 * insetcharstyle.C: place inset content on the button when
510 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
512 * insetvspace.C: remove VSpace::NONE; increase inset width
514 2003-12-01 André Pönitz <poenitz@gmx.net>
516 * insetbase.h: whitespace
518 * inset.[Ch]: remove latexTextWidth
519 make setBackgroundColor virtual
521 * insettext.[Ch]: move ParagraphList member to LyXText
523 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
529 * insetminipage.[Ch]:
531 * insetwrap.[Ch]: adjust paragraphs and background color handling,
533 2003-11-28 Angus Leeming <leeming@lyx.org>
535 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
536 hiding and showing the dialog respectively.
537 (priv_dispatch): also actually update the inset contents.
539 2003-11-28 Angus Leeming <leeming@lyx.org>
541 * insetbox.C (d-tor):
542 * insetbranch.C (d-tor):
543 * insetcite.C (d-tor):
544 * insetfloat.C (d-tor):
545 * insetfloatlist.C (d-tor):
546 * insetinclude.C (d-tor):
547 * insetindex.C (d-tor):
548 simplify the invocation of the Mailer::hideDialog() function.
550 * insetminipage.C (showInsetDialog):
551 simplify the invocation of the Mailer::showialog() function.
553 2003-11-28 André Pönitz <poenitz@gmx.net>
556 * insetvspace.[Ch]: new insets
558 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
560 * insetcharstyle.C: Syntax change for CharStyles
562 2003-11-28 André Pönitz <poenitz@gmx.net>
564 * updatableinset.h: remove insetInInsetY
566 * insetcollapsable.[Ch]:
569 * insettext.[Ch]: adjust
571 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
575 * insetcollapsable.[Ch]:
577 * insettabular.[Ch]: remove setFont
579 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
581 * render_graphic.[Ch]: adjust comments
583 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
585 * insetgraphics.C (draw): cache xo_ & yo_
587 2003-11-24 André Pönitz <poenitz@gmx.net>
589 * insettext.C (setViewCache): don't call LyXText::init() anymore
591 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
594 * insetcollapsable.[Ch]:
595 * insetert.[Ch]: remove bufferview parameter in methods
596 open, close, status, and updateStatus.
598 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
600 * insetcollapsable.[Ch]:
602 * insettext.[Ch] (getCursorDim): squash unused variable
604 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
606 * insettext.C (edit): x0_,y0_ -> xo_,yo_
608 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
610 * insettext.C (draw): sets LyXText absolute coordinates
612 2003-11-20 Angus Leeming <leeming@lyx.org>
614 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
615 about unused parameters.
617 * insetcollapsable.C (open):
618 * insettabular.C (pasteSelection):
619 * insettoc.C (draw): ditto.
621 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
623 * insetcollapsable.C:
625 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
626 remove mouse_x mouse_y etc.
628 2003-11-17 André Pönitz <poenitz@gmx.net>
630 * insettext.[Ch] (cx, cy): remove
632 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
634 2003-11-13 André Pönitz <poenitz@gmx.net>
637 * insetcollapsable.[Ch]:
639 * insettext.[Ch] (deleteLyXText): remove
641 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
643 * insetcollapsable.[Ch] (fitInsetCursor): remove
644 * insettabular.[Ch] (fitInsetCursor): remove
645 * insettext.[Ch] (fitInsetCursor): remove
646 * updatableinset.[Ch] (fitInsetCursor): remove
647 (getCursorDIm): add virtual
649 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
651 * src/insets/Makefile.am:
652 * src/insets/inset.h:
653 * src/insets/insetcharstyle.C:
654 * src/insets/insetcharstyle.h: The Character Style /XML short
657 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
659 * insettext.C: remove all update calls
660 * insetcollapsable.C: remove all update calls
662 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
664 * insettext.C (updateLocal, insertInset, setFont): remove
667 2003-11-10 André Pönitz <poenitz@gmx.net>
669 * inset.h: remove Inset::id_
671 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
674 2003-11-10 André Pönitz <poenitz@gmx.net>
678 * insetcollapsable.[Ch]:
685 * updatableinset.[Ch]: remove inset locking & adjust
687 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
689 * inset.h (allowSpellCheck): add (return true)
690 * insetert.h (allowSpellCheck): add (return false)
692 2003-11-05 José Matos <jamatos@lyx.org>
700 * insetcollapsable.[Ch]:
704 * insetexternal.[Ch]:
706 * insetfloatlist.[Ch]:
708 * insetgraphics.[Ch]:
713 * insetlatexaccent.[Ch]:
716 * insetmarginal.[Ch]:
717 * insetminipage.[Ch]:
721 * insetpagebreak.[Ch]:
725 * insetspecialchar.[Ch]:
731 * insetwrap.[Ch]: rename ascii to plaintext
732 and LatexRunParams to OutputParams.
734 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
736 * insetcollapsable.C (edit): add open() all
737 * insettext.C (edit): add setViewCache call
739 2003-11-04 André Pönitz <poenitz@gmx.net>
741 * inset.h (edit): move locking code from dispatch() to edit()
747 * insetcollapsable.[Ch]:
750 * insetexternal.[Ch]:
751 * insetgraphics.[Ch]:
757 * insettext.[Ch]: adjust
759 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
762 * insetcollapsable.[Ch]:
766 * updatableinset.[Ch]: remove dead search code
768 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
771 * insetcollapsable.[Ch]:
775 * updatableinset.[Ch]: remove dead spellcheck code
777 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
779 * insettabular.C (lockInsetInInset): small fix
781 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
783 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
784 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
785 from here. Be stricter on DispatchResult returned.
787 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
789 * Inset::dispatch's: adjust for new DispatchResult semantics.
791 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
793 * render_base.h: make clone return an auto_ptr
794 * render_button.C (clone): adjust
795 * render_graphic.C (clone): adjust
796 * render_preview.C (clone): adjust
798 * insettheorem.C (clone): return an auto_ptr
800 * insettext.C (priv_dispatch): exception safety
802 * insettabular.C: store the file scope variable paste_tabular in a
803 scoped_ptr, adjust usage.
805 * insetexternal.C (setParams): exception safety
807 * insetbibitem.C (clone): exception safety
809 2003-11-03 André Pönitz <poenitz@gmx.net>
812 * insetcollapsable.[Ch]:
814 * insettext.[Ch]: remove Inset::id and related functions
816 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
818 * insets: adjust for DispatchResult changes.
820 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
822 * insetpagebreak.C: fix screen representation & ascii output.
824 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
829 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
831 2003-10-31 José Matos <jamatos@lyx.org>
833 * inset.h (ascii, linuxdoc, docbook):
834 * insetbox.[Ch] (ascii, linuxdoc, docbook):
835 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
836 * insetcaption.[Ch] (ascii, docbook):
837 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
838 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
839 * insetert.[Ch] (ascii, linuxdoc, docbook):
840 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
841 * insetfloat.[Ch] (linuxdoc, docbook):
842 * insetfloatlist.[Ch] (ascii):
843 * insetfoot.[Ch] (docbook):
844 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
845 * insethfill.[Ch] (ascii, linuxdoc, docbook):
846 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
847 * insetindex.[Ch] (docbook):
848 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
849 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
850 * insetline.[Ch] (ascii, linuxdoc, docbook):
851 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
852 * insetnote.[Ch] (ascii, linuxdoc, docbook):
853 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
854 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
855 * insetref.[Ch] (ascii, linuxdoc, docbook):
856 * insetspace.[Ch] (ascii, linuxdoc, docbook):
857 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
858 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
859 * insettext.[Ch] (ascii, linuxdoc, docbook):
860 * insettoc.[Ch] (ascii, linuxdoc, docbook):
861 * inseturl.[Ch] (ascii, linuxdoc, docbook):
862 * insetwrap.[Ch] (docbook):
863 add LatexRunParams argument.
865 2003-10-30 José Matos <jamatos@lyx.org>
867 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
869 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
871 * updatableinset.C (priv_dispatch):
872 * insetwrap.C (priv_dispatch):
873 * inseturl.C (priv_dispatch):
874 * insettoc.C (priv_dispatch):
875 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
876 (moveLeftIntern, moveUp, moveDown):
877 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
878 (moveLeft, moveUp, moveDown):
879 * insetref.C (priv_dispatch):
880 * insetnote.C (priv_dispatch):
881 * insetminipage.C (priv_dispatch):
882 * insetlabel.C (priv_dispatch):
883 * insetindex.C (priv_dispatch):
884 * insetinclude.C (priv_dispatch):
885 * insetgraphics.C (priv_dispatch):
886 * insetfloatlist.C (priv_dispatch):
887 * insetfloat.C (priv_dispatch):
888 * insetexternal.C (priv_dispatch):
889 * insetert.C (priv_dispatch):
890 * insetcommand.C (priv_dispatch):
891 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
892 * insetcite.C (priv_dispatch):
893 * insetbranch.C (priv_dispatch):
894 * insetbox.C (priv_dispatch):
895 * insetbibtex.C (priv_dispatch):
896 * insetbibitem.C (priv_dispatch):
897 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
899 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
901 * insettext.C: small refactoring of docbook stuff
903 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
905 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
906 (priv_dispatch): adjust for operator dispatch_result_t removal
908 * insettabular.C (lfunMouseRelease): put the result of a dispatch
909 in a DispatchResult, adjust accordingly.
910 (priv_dispatch): use strange >= construct... (will be removed later)
912 * most insets: dispatch_result -> DispatchResult
914 * insetbase.h: move DispatchResult out to dispatchresult.h
916 2003-10-27 André Pönitz <poenitz@gmx.net>
918 * insetpagebreak.[Ch]: new inset for page breaks
920 * insetline.[Ch]: new inset for vertical lines
925 2003-10-25 Angus Leeming <leeming@lyx.org>
927 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
928 new virtual member functions, specialised...
929 * render_button.h (asButton):
930 * render_graphic.h (asGraphic):
931 * render_preview.h (asPreview, asMonitoredPreview): ... here.
933 * insetexternal.C: use these new functions rather than dynamic_cast.
934 Various other small simplifications.
936 2003-10-22 Angus Leeming <leeming@lyx.org>
938 * insetexternal.[Ch]: add the ability to 'preview' the external file
941 * insetinclude.C: changes due to the changes in the RenderPreview
944 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
945 message if the preview image is not available. Only initiate the
946 loading of the preview from draw(). Ditto, start the monitoring
947 of an external file from RenderMonitoredPreview::draw.
949 2003-10-22 Angus Leeming <leeming@lyx.org>
951 * insetcite.[Ch] (setLoadingBuffer): removed.
952 (getNatbibLabel): use the new Buffer::fully_loaded member function to
953 ascertain whether to proceed with the (expensive) task of computing
954 the natbib-style label. Remove the home-grown hack providing
955 similar functionality.
957 2003-10-22 Angus Leeming <leeming@lyx.org>
959 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
960 class and into an anonymous namespace.
962 2003-10-22 Angus Leeming <leeming@lyx.org>
964 * insetcommand.h: remove the display method.
968 * insetindex.h (InsetPrintIndex):
969 * insettoc.h: add a display method, returning true.
971 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
973 * insetcollapsable.h:
977 * insetinclude.h: (1) finish off the inset display() work;
978 (2) fix the "is a bit silly" bug (accessing char
981 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
985 * insetfootlike.h: re-introduce display() for insets,
986 fixing the various bugs (stretch of line above, math inset
989 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
991 * insetbase.C (dispatch): new func
992 (priv_dispatch): new func replaces...
993 (localDispatch): this, deleted.
995 * all insets with dispatch modified for new code.
997 2003-10-15 André Pönitz <poenitz@gmx.net>
999 * insetcollapsable.[Ch]
1001 * inset.h: re-add some edit(bv, index) method called by undo
1003 2003-10-14 Angus Leeming <leeming@lyx.org>
1005 * insetexternal.[Ch] (view, cache, view_):
1006 * insetgraphics.[Ch] (view, cache, view_):
1007 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1008 (statusChanged): call LyX::cref().updateInset.
1010 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1011 the BufferView cache.
1013 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1016 2003-10-14 Angus Leeming <leeming@lyx.org>
1018 * insetinclude.C (metrics, draw): only draw the preview when previews
1021 2003-10-14 André Pönitz <poenitz@gmx.net>
1023 * insetcollapsable.[Ch]:
1024 * insettabular.[Ch]:
1026 * inset.h: getText() as alternative to getParagraphs()
1028 2003-10-13 Angus Leeming <leeming@lyx.org>
1031 * insetgraphicsParams.C: displayTranslator is now a function.
1033 2003-10-13 Angus Leeming <leeming@lyx.org>
1035 * insetinclude.C: remove #include "PreviewImage.h".
1037 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1039 * ExternalSupport.C:
1040 * ExternalTransforms.C:
1042 * insetbox.h: ws changes only
1044 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1046 * insetinclude.C (localDispatch): do not call
1047 InsetOld::localDispatch, just return UNDISPATCHED
1048 * insetgraphics.C (localDispatch): ditto
1049 * insetcommand.C (localDispatch): ditto
1051 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1053 * inset.h: get rid of RESULT typedef for dispatch_result
1055 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1056 * insetert.[Ch] (localDispatch): ditto
1057 * insettabular.[Ch] (localDispatch): ditto
1062 * insettext.[Ch] (localDispatch): ditto
1065 (moveRightIntern): ditto
1066 (moveLeftIntern): ditto
1069 * updatableinset.[Ch] (localDispatch): ditto
1071 2003-10-12 Angus Leeming <leeming@lyx.org>
1073 * renderbase.h (view, view_): removed.
1074 * renderbase.C: removed.
1075 * Makefile.am: remove render_base.C. The shortest lived file in
1078 * renderbutton.C (draw):
1079 * render_graphic.C (draw): don't cache the BufferView.
1081 * insetabase.h (cache, view): removed.
1083 * inset.h (generatePreview) removed.
1085 * insetcallapsable.[Ch] (cache, view, view_): removed.
1087 * insetcollapsable.C (draw): don't cache the BufferView.
1089 * insetcommand.[Ch] (view): removed.
1091 * insetexternal.[Ch] (cache, view, view_):
1092 * insetgraphics.[Ch] (cache, view, view_):
1093 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1095 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1096 when you have direct access to it. In fact, don't use the cache at all.
1098 2003-10-10 Angus Leeming <leeming@lyx.org>
1100 * insetinclude.C (metrics): use preview_->metrics.
1101 (draw): use preview_->draw.
1103 * render_preview.[Ch] (pimage): removed.
1105 2003-10-10 Angus Leeming <leeming@lyx.org>
1107 * renderers.[Ch]: removed.
1110 * render_button.[Ch]:
1111 * render_graphic.[Ch]:
1112 * render_preview.[Ch]: new files. The first three are split out of
1113 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1114 contains a re-worked InsetInclude::PreviewImpl also.
1116 * Makefile.am: reflect the changed files.
1119 * insetexternal.[Ch]:
1120 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1122 * insetinclude.[Ch]: changes reflecting the change from
1123 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1129 * inseturl.C: add #include "support/std_ostream.h"
1131 2003-10-09 Angus Leeming <leeming@lyx.org>
1133 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1134 to PreviewedInset::previewReady.
1136 2003-10-09 Angus Leeming <leeming@lyx.org>
1138 * insetexternal.[Ch] (statusChanged):
1139 * insetgraphics.[Ch] (statusChanged): make a const member function.
1141 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1144 2003-10-09 Angus Leeming <leeming@lyx.org>
1146 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1147 to PreviewedInset's previewReady and removePreview member functions.
1149 2003-10-08 André Pönitz <poenitz@gmx.net>
1151 * insetcollapsable.C:
1152 * insettext.[Ch]: saner 'init' structure
1154 * updatableinset.[Ch]: remove unneeded code
1156 2003-10-08 Angus Leeming <leeming@lyx.org>
1158 Fix doxygen warnings.
1160 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1161 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1163 2003-10-07 Angus Leeming <leeming@lyx.org>
1165 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1166 be applied to InsetExternal.
1168 * Makefile.am: add these new files.
1170 * ExternalTemplate.[Ch]: add a list of available transforms to
1171 class Template and a list of factory functions for transformer classes
1172 that can act on this data to class Format.
1174 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1176 * ExternalSupport.C: Add code to replace transform placeholders
1177 with appropriate output.
1179 2003-10-07 Angus Leeming <leeming@lyx.org>
1181 * ExternalSupport.[Ch]: new files, moving the private member functions
1182 and namespace anon functions out of insetexternal.C to here, so making
1183 it easier to understand what is going on in insetexternal itself.
1185 * Makefile.am: add new files.
1187 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1188 allowing the class to be forward declared. (Also consistent with
1189 all other Params classes.)
1190 (write): moved out of the class. Move this function and those in
1191 namespace anon to ExternalSupport.[Ch].
1193 2003-10-07 Angus Leeming <leeming@lyx.org>
1195 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1196 non-const member function.
1198 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1203 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1205 2003-10-02 André Pönitz <poenitz@gmx.net>
1207 * insettext.C (read): make sure there is at least one par
1208 in the text after reading.
1210 2003-10-01 José Matos <jamatos@lyx.org>
1212 * insetbranch.C (linuxdoc, docbook): minor fix.
1214 2003-10-01 Angus Leeming <leeming@lyx.org>
1216 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1218 * insetexternal.[Ch]: changes due to the introduction of
1219 namespace lyx::external.
1221 2003-09-30 Angus Leeming <leeming@lyx.org>
1223 * insetexternal.[Ch] (Params::read, write): new member functions.
1225 2003-09-25 Angus Leeming <leeming@lyx.org>
1227 * insetexternal.[Ch] (TempName): new (private) nested struct with
1228 fake copy semantics. Enables us to use the generated copy c-tor
1229 in the Params struct.
1230 (Params::templatename, Params::tempname): use accessor functions.
1232 2003-09-25 Angus Leeming <leeming@lyx.org>
1234 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1235 function, returning a const pointer.
1237 2003-09-23 Angus Leeming <leeming@lyx.org>
1239 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1240 store them in a vector, preambleNames.
1242 * insetexternal.C (validate): loop over all preambleNames and call
1243 LaTeXFeatures::addExternalPreamble with each.
1245 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1247 * insetbranch.C: bug fix in branches
1249 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1251 * insetnote.C: small clean-up.
1253 2003-09-19 Angus Leeming <leeming@lyx.org>
1255 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1257 * insetcommand.C (string2params): clear params using the default c-tor.
1259 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1260 InsetInclude::Params. No more data in this struct than in
1261 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1262 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1263 (clone): remove #warning as it's now redundant.
1264 (set): add a 'Buffer const &' arg. Make private.
1265 (loadIfNeeded) move out of the class definition and into namespace anon.
1266 (getMasterFilename, getFileName): ditto.
1268 2003-09-18 Angus Leeming <leeming@lyx.org>
1270 * insetcommand.C (setParams): use the params' copy constructor.
1272 2003-09-18 Angus Leeming <leeming@lyx.org>
1274 * insetinsetbase.h (getLabelList):
1275 * insetinsetcollapsable.[Ch] (getLabelList):
1276 * insetinsetinclude.[Ch] (getLabelList):
1277 * insetinsetlabel.[Ch] (getLabelList):
1278 * insetinsettabular.[Ch] (getLabelList):
1279 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1280 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1282 2003-09-18 Angus Leeming <leeming@lyx.org>
1284 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1285 redundant baggage from yesteryear.
1286 Remove Params::flag as it is redundant; the info is present in
1289 2003-09-18 Angus Leeming <leeming@lyx.org>
1291 * insetinclude.C (latexString): add a Buffer const & arg.
1293 2003-09-18 Angus Leeming <leeming@lyx.org>
1298 * insettext.h: rename EnumLColor as LColor_color.
1300 2003-09-18 Angus Leeming <leeming@lyx.org>
1302 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1303 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1305 2003-09-16 Angus Leeming <leeming@lyx.org>
1307 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1308 set before trying to generate a preview, else we trigger an assert.
1310 2003-09-16 Angus Leeming <leeming@lyx.org>
1312 * insetinclude.C (PreviewImpl::parent): return a const reference.
1314 2003-09-16 Angus Leeming <leeming@lyx.org>
1316 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1318 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1320 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1321 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1323 * insetminipage.C (metrics):
1324 * insetnote.C (metrics):
1325 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1326 access collapsed_ directly.
1328 2003-09-16 Angus Leeming <leeming@lyx.org>
1330 * insetbibitem.C: add #include "lyxfont.h".
1332 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1335 * insetbibtex.C: use namespace alias for lyx::support::os
1337 2003-09-16 Angus Leeming <leeming@lyx.org>
1339 * insetcollapsable.h: remove unused framecolor variable.
1340 Remove #include "LColor.h".
1342 * insetcollapsable.C: remove unused framecolor variable.
1345 * insetcollapsable.C:
1353 Add #include "LColor.h".
1355 2003-09-16 Angus Leeming <leeming@lyx.org>
1357 * insettext.[Ch] (frameColor): new accessor function.
1358 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1364 add #include "LColor.h".
1366 * insetcollapsable.h: add #include "LColor.h"
1367 (for its framecolor member variable).
1369 2003-09-16 Angus Leeming <leeming@lyx.org>
1371 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1373 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1374 rename frame_color as frame_color_. Make private.
1376 * insettext.C: associated changes.
1378 2003-09-16 Angus Leeming <leeming@lyx.org>
1380 * inset.h: store background_color_ as an int, not as an LColor::color to
1381 get LColor.h out of the header file.
1384 * insetlatexaccent.C:
1387 * insetspecialchar.C:
1389 add #include "LColor.h".
1391 2003-09-16 Angus Leeming <leeming@lyx.org>
1393 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1396 2003-09-15 Angus Leeming <leeming@lyx.org>
1398 * inset.[Ch] (setBackgroundColor, backgroundColor):
1399 * insettext.[Ch] (setFrameColor):
1400 pass EnumLColor args, rather than LColor::color ones.
1402 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1412 * insetwrap.C: remove usage of STRCONV
1414 2003-09-15 Angus Leeming <leeming@lyx.org>
1416 * renderers.C (draw):
1417 * insetlatexaccent.C (draw): explicitly define the color passed to
1420 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1422 * insettext.C: remove block causing problems in lockInsetInInset
1423 (mentioned erroneously under Bug #1366)
1425 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1427 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1430 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1432 * several files: change Assert to BOOST_ASSERT
1434 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1436 * insettext.[Ch]: remove drawText[XY]Offset
1438 2003-09-08 Angus Leeming <leeming@lyx.org>
1440 * insetcollapsable.C:
1445 * insetspecialchar.C:
1448 * insettoc.C: remove redundant using directives.
1450 2003-09-07 Angus Leeming <leeming@lyx.org>
1453 * insetspecialchar.h: remove #include "support/std_string.h".
1455 2003-09-06 Angus Leeming <leeming@lyx.org>
1457 * renderers.C: add #include "insets/inset.h"
1459 2003-09-05 Angus Leeming <leeming@lyx.org>
1461 * *.C: strip out redundant #includes. (193 in total.)
1463 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1465 * insets/insetbibtex.[Ch]:
1466 * insets/insetcommand.h:
1467 * insets/insetfloatlist.[Ch]:
1468 * insets/insetinclude.[Ch]:
1469 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1470 of insets like bibtex, include, toc and floatlist to the visible
1471 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1472 up the dialogs. Cursor has to be in front of the inset (i.e.
1473 start of row) for this to function.
1475 2003-09-04 Angus Leeming <leeming@lyx.org>
1477 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1478 structure outside of the Format struct. Format::preambleName refers to
1479 an item in the map of all preamble snippets.
1480 Make use of the new Debug::EXTERNAL flag.
1482 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1483 (validate): Small change due to the changed storage of preamble snippets.
1485 2003-09-04 Angus Leeming <leeming@lyx.org>
1487 * insetgraphics.C: #include "support/os.h"
1489 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1490 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1491 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1493 * insetcollapsable.h:
1495 * insetnote.C: move #include "funcrequest.h" out of the header file.
1497 2003-09-03 Angus Leeming <leeming@lyx.org>
1499 * insetexternal.C (updateExternal):
1500 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1503 2003-09-03 Angus Leeming <leeming@lyx.org>
1505 * insetexternal.C: don't bring namespace lyx::support into the global
1508 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1510 * insetbranch.C: Add Branch: to label
1512 2003-09-02 John Levon <levon@movementarian.org>
1515 * insettext.C: remove cursor.i[xy]()
1517 2003-08-28 Angus Leeming <leeming@lyx.org>
1519 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1520 "sh ", enabling the conversion to be carried out even if the script
1523 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1525 * most files: change to use const Buffer refs
1527 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1529 * insetfootlike.C: whitespace.
1531 2003-08-26 John Levon <levon@movementarian.org>
1535 * insetindex.h: remove remaining mentions of needFullRow()
1537 2003-08-26 André Pönitz <poenitz@gmx.net>
1543 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1545 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1547 * insetbranch.C: Small fix to prevent a crash on loading.
1549 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1554 * insetcollapsable.h:
1556 * insetfloatlist.[Ch]:
1557 * insetfootlike.[Ch]:
1558 * insetinclude.[Ch]:
1564 * insettheorem.[Ch]:
1565 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1566 altogether, putting the logic in metrics/draw in the insets.=20
1567 Draws short single row insets with more or less realistic metrics.
1569 2003-08-19 André Pönitz <poenitz@gmx.net>
1571 * insettext.C: use new RowPainter interface
1573 2003-08-18 John Levon <levon@movementarian.org>
1575 * insetref.C: require amsmath for eqref
1577 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1581 * insetbranch.[Ch]: implements the 'branch inset'
1582 idea. This allows the output of various versions of a document
1583 from a single source version, selectively outputing or suppressing
1584 output of parts of the text.
1585 This implementation contains a 'branch list editor' in a separate
1586 tab of the document settings dialog. Branches are user definable
1587 and have a "display colour" to distinguish them on-screen.
1589 ColorHandler was somewhat cleaned up.
1590 (1) make possible a dynamically growing LColor list by allowing
1591 the graphic context cache to grow along (vector);
1592 (2) eliminate an IMHO unnecessary step in colour allocation.
1594 2003-08-15 André Pönitz <poenitz@gmx.net>
1596 * insettext.[Ch]: adjust after rowlist split
1598 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1600 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1601 rename valign-center to valign-middle;
1602 rename VALIGN_CENTER to VALIGN_MIDDLE
1604 2003-08-11 André Pönitz <poenitz@gmx.net>
1606 * inset.h: remove resizeLyXText
1609 * insetcollapsable.[Ch]:
1611 * insettabular.[Ch]: adjust
1613 * insettext.[Ch]: remove saveLyXTextState,
1614 restoreLyXTextStat, sstate, reinitLyXText
1616 2003-08-07 André Pönitz <poenitz@gmx.net>
1618 * inset.[Ch]: move non-crucial functions out-of-line
1620 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1621 remove duplicated code.
1623 2003-08-05 André Pönitz <poenitz@gmx.net>
1626 * insetcollapsable.[Ch]:
1636 * insettabular.[Ch]:
1639 * updatableinset.[Ch]: rip out "deep update"
1641 * insettext.C (localDispatch): merge cases with default branch
1643 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1645 * insettabular.[Ch] (updateLocal): simplify logic
1647 2003-08-04 André Pönitz <poenitz@gmx.net>
1649 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1650 is 'FULL' all the time.
1652 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1654 * insetert.C (get_new_label): only add ... to the (closed) label
1655 when the string has been shortened
1657 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1659 * Always use std::endl with lyxerr
1661 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1663 * insetnote.C: update \author list
1665 2003-07-31 André Pönitz <poenitz@gmx.net>
1667 * insetcollapsable.h:
1668 * insettabular.[Ch]:
1669 * insettext.[Ch]: remove toggleSelection
1671 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1673 (with help from Juergen Spitzmueller)
1674 * insetnote.C: add add i18n support. Use Prefs-definable
1675 colours for Comment and Greyedout.
1677 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1679 * insetcollapsable.[Ch]:
1681 * insetert.C: factor out the detection of clicking on the inset
1682 button as 'hitButton'. John Levon contributed.
1684 2003-07-30 André Pönitz <poenitz@gmx.net>
1686 * insetcollapsable.C:
1688 * insettabular.C: parantheses, localize vars etc.
1690 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1692 * insetnote.C: Implement a newenvironment in preamble for
1693 greyedout. Patch provided by Jürgen Spitzmüller.
1695 2003-07-29 Angus Leeming <leeming@lyx.org>
1697 * insetcommand.C (localDispatch): default to
1698 InsetOld::localDispatch.
1700 * insetbibitem.C (localDispatch):
1701 * insetbibtex.C (localDispatch): remove call to
1702 ChangeCitationsIfUnique.
1704 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1706 * insetexternal.C (read): use pushpophelper.
1708 2003-07-28 José Matos <jamatos@lyx.org>
1710 * insetext.C (read): \end_document replaces \the_end.
1712 2003-07-28 José Matos <jamatos@fep.up.pt>
1714 * insetert.C (write): \layout -> \begin_layout.
1715 Add missing \end_layout.
1717 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1719 * insetquotes.C: document a bit the format
1721 * insettabular.C (write): remove extra space
1723 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1724 * insetnote.C: Umpf. Hope I *now* get it right :-(
1726 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1727 *insetnote.C: did the right fix to greyedout: \color
1728 instead of \textcolor.
1730 2003-07-28 Angus Leeming <leeming@lyx.org>
1732 * insetbibtex.h: remove extraneous forward declaration.
1735 * insetbibtex.h: Also remove long-dead Holder member class
1738 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1740 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1743 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1745 * insetwrap.C (addToToc): adjust for lyx::toc
1747 * insetfloatlist.C (ascii): adjust for lyx::toc
1749 * insetfloat.C (addToToc): adjust for lyx::toc
1751 2003-07-27 José Matos <jamatos@fep.up.pt>
1753 * insetnote.h (linuxdoc,docbook): update support.
1755 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1757 * insetfloat.C (wide): add a space to label, for consistency
1759 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1761 * insettext.C (nextChange): adjust for lyx::find
1762 (searchForward): ditto
1763 (searchBackward): ditto
1765 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1767 * insetgraphicsParams.C:
1768 * insetexternal.C: declare extern displayTranslator
1771 * renderers.C: add #include "support/LAssert.h"
1773 2003-07-27 José Matos <jamatos@fep.up.pt>
1775 * insetfloat.[Ch] (linuxdoc):
1776 * insetgraphics.C (linuxdoc):
1777 * insettabular.C (linuxdoc):
1778 * insettext.[Ch] (linuxdoc): add support for tables and figures
1781 2003-07-27 José Matos <jamatos@fep.up.pt>
1783 * insetinclude (latex): comply with makeLaTeXFile argument change.
1785 2003-07-26 Asger Alstrup <alstrup@local>
1787 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1788 the undo crashes. We'll see what problems other places this will
1791 2003-07-26 Angus Leeming <leeming@lyx.org>
1793 * insetgraphics.C: remove unused declaration of system_tempdir.
1795 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1797 * rename Inset to InsetOld
1799 * all inset files (clone): return a auto_ptr<InsetBase>
1801 2003-07-23 Angus Leeming <leeming@lyx.org>
1803 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1805 2003-07-23 Angus Leeming <leeming@lyx.org>
1807 * mailinset.[Ch] (inset2string):
1808 * insetcommand.[Ch] (inset2string):
1809 * insetert.[Ch] (inset2string):
1810 * insetexternal.[Ch] (inset2string):
1811 * insetfloat.[Ch] (inset2string):
1812 * insetgraphics.[Ch] (inset2string):
1813 * insetinclude.[Ch] (inset2string):
1814 * insetminipage.[Ch] (inset2string):
1815 * insetnote.[Ch] (inset2string):
1816 * insettabular.[Ch] (inset2string):
1817 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1819 * insetexternal.[Ch]:
1820 * insetgraphics.[Ch]: get rid of the view() function. Associated
1821 changes to the mailers' string2params and params2string functions.
1823 2003-07-23 Angus Leeming <leeming@lyx.org>
1825 * insetexternal.[Ch]: store the external file name in a FileName
1826 member variable rather than a string + associated changes.
1828 2003-07-21 Angus Leeming <leeming@lyx.org>
1830 * insetgraphicsParams.[Ch]: store the graphics file name in
1831 a FileName member variable rather than a string.
1833 * insetgraphics.[Ch]:
1834 * insetgraphicsParams.[Ch]: Associated changes.
1836 2003-07-21 Angus Leeming <leeming@lyx.org>
1838 * insetgraphics.[Ch] (string2params, params2string): passed a
1839 buffer_path argument.
1842 2003-07-21 Angus Leeming <leeming@lyx.org>
1845 * insetgraphicsParams.[Ch]:
1847 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1849 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1851 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1853 2003-07-18 André Pönitz <poenitz@gmx.net>
1856 * insetminipage.[Ch]:
1857 * insettabular.[Ch]:
1860 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1862 2003-07-18 André Pönitz <poenitz@gmx.net>
1866 * insetcollapsable.C:
1870 * insetgraphics.[Ch]:
1871 * insetlatexaccent.[Ch]:
1876 * insetspecialchar.C:
1877 * insettabular.[Ch]:
1879 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1881 2003-07-17 André Pönitz <poenitz@gmx.net>
1883 * insetcollapsable.C:
1885 * insettext.C: don't call Inset::update() anymore
1888 * insettabular.[Ch]: remove unneeded in_update_ members
1890 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1892 2003-07-16 André Pönitz <poenitz@gmx.net>
1894 * insettext.C (selectAll): remove
1896 2003-07-16 John Levon <levon@movementarian.org>
1899 * insetnote.C: implement showInsetDialog()
1901 2003-07-15 André Pönitz <poenitz@gmx.net>
1904 * insettext.C: refresh_status tristate -> need_update bool
1906 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1908 * insettext.C: adjust call to LyXText::init
1910 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1912 * insettext.C: use bufferview_funcs->replaceSelection()
1913 to delete selections in some cases (bugs 441, 673, 702, 954).
1915 2003-07-14 André Pönitz <poenitz@gmx.net>
1917 * insettext.C (draw): use slimmed down rowpainter interface
1919 2003-07-14 André Pönitz <poenitz@gmx.net>
1921 * insetcollapsable.C:
1923 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1924 remove unused BufferView * argument
1926 2003-07-14 André Pönitz <poenitz@gmx.net>
1928 * insettext.[Ch]: used cached metrics a bit more
1930 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1932 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1934 2003-07-10 André Pönitz <poenitz@gmx.net>
1937 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1939 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1941 * introduce namespace lyx::graphics
1943 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1945 * introduce namespace lyx::support
1947 2003-06-30 André Pönitz <poenitz@gmx.net>
1949 * insetcite.C (localDispatch): fix case of missing return value
1951 * insetcite.C (ascii): remove unneeded temporary
1953 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1955 * insetspace.h: fix \file
1957 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1958 * insetinclude.C (fillWithBibKeys): ditto
1960 * insetbibitem.C: fix type const order
1962 * inset.C (getLyXText): add varname for arg
1964 * ExternalTemplate.h: fix type const order
1966 2003-06-27 André Pönitz <poenitz@gmx.net>
1968 * insettext.C: take care of removed LyXCursor::row_ member
1970 * insettext.[Ch]: use new TextCursor struct for sstate
1972 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1974 * inseterror.[Ch]: removed
1976 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1978 * insetinclude.C (docbook): use parseError instead of sgmlError
1980 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1982 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1983 of BufferList::loadLyXFile
1985 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1987 * insettext.C (update): simplify
1988 (updateLocal): remove commented code
1989 (insetUnlock): simplify
1990 (lockInset): simplify
1991 (updateInsetInInset): simplify
1992 (localDispatch): simplify
1994 (resizeLyXText): simplify
1995 (collapseParagraphs): simplify
1997 * insetert.C (get_new_label): simplify
1999 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2001 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2002 pasteSelection with index
2004 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2006 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2008 2003-06-16 André Pönitz <poenitz@gmx.net>
2010 * insetbase.h: new virtual base function clone()
2012 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2013 Inset * clone() -> InsetBase * clone()
2015 2003-06-13 André Pönitz <poenitz@gmx.net>
2017 * insettabular.[Ch]: make tabular a proper member
2019 2003-06-12 André Pönitz <poenitz@gmx.net>
2021 * insettabular.[Ch]: some renaming plus whitespace
2023 2003-06-11 Angus Leeming <leeming@lyx.org>
2025 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2028 * insetbutton.[Ch]: removed.
2029 * graphicinset.[Ch]: renamed as renderers.[Ch].
2031 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2032 Create a new class ButtonRenderer using the InsetButton::metrics() and
2034 Derive both from a common RenderedInset base class.
2036 * insetcommand.[Ch]:
2037 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2038 Give it a ButtonRenderer member variable. Use it.
2039 Give the classes working copy c-tors.
2040 No longer derive from boost::noncopyable.
2042 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2043 display its contents as a button or as a graphic.
2045 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2048 2003-06-11 Angus Leeming <leeming@lyx.org>
2050 * insetcite.C (localDispatch): reformat.
2052 * insetref.C (localDispatch): enable dialog to be lauched.
2054 2003-06-11 John Levon <levon@movementarian.org>
2056 * insettabular.C: correctly mark all cells as erased
2058 2003-06-11 Angus Leeming <leeming@lyx.org>
2060 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2061 ExternalTemplate but its name, templatename. This means that a file
2062 containing a reference to an External Template not installed on the
2063 current machine will be saved retaining this info rather than inserting
2064 the first "valid" template from the list of templates.
2066 As a by product, the visual statement that the Template is missing is
2069 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2071 * insettext.C (appendParagraphs): remove some commented code.
2073 2003-06-10 Angus Leeming <leeming@lyx.org>
2075 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2078 * insetexternal.[Ch]: move tempname_ into the Params struct.
2079 (Params d-tor): new function, to clean-up this temp file.
2080 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2082 (editExternal, doSubstitution): move out of class.
2084 2003-06-10 Angus Leeming <leeming@lyx.org>
2086 * graphicinset.[Ch] (params): removed.
2087 * graphicinset.h (operator=): declared private but not defined.
2088 (statusMessage): made private.
2090 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2092 2003-06-07 John Levon <levon@movementarian.org>
2094 * insetert.C (latex): make a newline mean just that not
2097 2003-06-07 José Matos <jamatos@fep.up.pt>
2099 * insethfill.[Ch] (linuxdoc, docbook): implement output
2100 * insetspace.C (linuxdoc, docbook): remove coments as the code
2103 2003-06-06 José Matos <jamatos@fep.up.pt>
2105 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2107 2003-06-06 André Pönitz <poenitz@gmx.net>
2109 * insetwrap.[Ch]: code compactification
2111 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2113 * mailinset.C (updateDialog): use Dialogs::visible
2115 2003-06-04 Angus Leeming <leeming@lyx.org>
2117 * graphicinset.C (draw): add a comment for the #if 0 block.
2119 * insetexternal.h: remove Params::parameters variable.
2120 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2121 and read it back making full use of LyXLex.
2123 2003-06-04 André Pönitz <poenitz@gmx.net>
2125 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2127 2003-06-04 John Levon <levon@movementarian.org>
2129 * insettabular.C: back out tall table speed up. It was broken
2131 2003-06-03 Angus Leeming <leeming@lyx.org>
2133 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2134 Remove ViewCommand and UpdateCommand.
2136 * graphicinset.C (update): bug fix. Set the params before calling the
2138 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2139 BufferView cache to enable the InsetExternal::editCommand to be invoked
2140 from the frontends. Would not be needed if this were dispatched properly.
2141 (old_ascent_): variable removed.
2143 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2144 do any necessary conversions of external material. Also use the
2145 new GraphicsInset to display the inset within LyX.
2147 2003-06-03 Angus Leeming <leeming@lyx.org>
2149 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2150 and move it somewhere where InsetExternal can use it too.
2152 * Makefile.am: add the new files.
2154 * insetgraphics.[Ch]: make use of the new GraphicInset.
2156 2003-06-03 John Levon <levon@movementarian.org>
2159 * insetbibitem.[Ch]:
2162 * insetcommand.[Ch]:
2166 * insetexternal.[Ch]:
2170 * insetgraphics.[Ch]:
2172 * insetinclude.[Ch]:
2175 * insetlatexaccent.[Ch]:
2176 * insetmarginal.[Ch]:
2177 * insetminipage.[Ch]:
2184 * insetspecialchar.[Ch]:
2185 * insettabular.[Ch]:
2187 * insetthereom.[Ch]:
2190 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2192 * insetgraphics.[Ch]:
2193 * insetgraphicsParams.[Ch]: always store an absolute
2196 2003-06-02 André Pönitz <poenitz@gmx.net>
2200 * insetlatexaccent.C: remove duplicated call to metrics()
2202 2003-06-02 John Levon <levon@movementarian.org>
2204 * insettabular.C: fix resize of column width
2206 2003-06-02 John Levon <levon@movementarian.org>
2211 * insetparent.C: remove insetparent
2213 2003-06-02 André Pönitz <poenitz@gmx.net>
2220 * insetcollapsable.[Ch]:
2224 * insetgraphics.[Ch]:
2225 * insetinclude.[Ch]:
2226 * insetlatexaccent.[Ch]:
2227 * insetminipage.[Ch]:
2228 * insetnewline.[Ch]:
2231 * insetspecialchar.[Ch]:
2232 * insettabular.[Ch]:
2233 * insettext.[Ch]: unify first drawing phase
2236 * insetbase.h: move validate() to the base
2238 2003-05-31 Angus Leeming <leeming@lyx.org>
2240 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2242 2003-05-30 André Pönitz <poenitz@gmx.net>
2247 * insetcaption.[Ch]:
2248 * insetcollapsable.[Ch]:
2251 * insetgraphics.[Ch]:
2252 * insetinclude.[Ch]:
2253 * insetlatexaccent.[Ch]:
2254 * insetnewline.[Ch]:
2257 * insetspecialchar.[Ch]:
2258 * insettabular.[Ch]:
2260 * updatableinset.[Ch]: unify second drawing phase
2262 2003-05-30 John Levon <levon@movementarian.org>
2264 * insetgraphics.C: fix a bformat
2266 2003-05-29 John Levon <levon@movementarian.org>
2268 * insettabular.C: remove unused bufferOwner()
2270 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2272 * insettext.C (lockInsetInInset): adjust
2273 (getLabelList): use const_iterator, adjust
2274 (getInsetFromID): use const_iterator, adjust
2275 (addPreview): use const_iterator, adjust
2277 * insetwrap.C (clone): remove const_cast
2279 * insetnote.C (clone): remove const_cast
2281 * insetminipage.C (clone): remove const_cast
2283 * insetmarginal.C (clone): remove const_cast
2285 * insetfoot.C (clone): remove const_cast
2287 * insetfloat.C (clone): remove const_cast
2289 * insetert.C (clone): remove const_cast
2291 * delete commented same_id functions from a lot of files.
2293 2003-05-28 John Levon <levon@movementarian.org>
2299 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2301 * insetminipage.C: fix metrics (bug 1144)
2303 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2305 * insettext.C (saveLyXTextState): adjust
2306 (restoreLyXTextState): adjust
2309 (unlockInsetInInset): adjust
2310 (localDispatch): adjust
2311 (getLyXText): adjust
2313 * insettabular.C (insertAsciiString): adjust
2315 2003-05-27 André Pönitz <poenitz@gmx.net>
2318 * insetcollapsable.C:
2321 * insetlatexaccent.C:
2326 * insetspecialchar.C:
2328 * insettext.C: dim.w -> dim.wid
2330 2003-05-26 John Levon <levon@movementarian.org>
2332 * insettabular.C: avoid drawing all of a long table
2333 if it's not needed. A big speedup
2335 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2337 * remove same_id from function signatures, adjust
2339 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2341 * insettext.C (InsetText): adjust
2343 (setParagraphData): separate same_id cases, adjust
2344 (appendParagraphs): adjust
2345 (appendParagraphs): adjust
2347 2003-05-23 André Pönitz <poenitz@gmx.net>
2349 * insetbutton.h: whitespace
2351 * insettabular.C: more compact code
2353 * updatableinset.C: remove const_cast
2356 2003-05-23 Angus Leeming <leeming@lyx.org>
2358 * insetexternal.C (write): check how many lines are output.
2359 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2360 if the template has defined it.
2362 2003-05-23 Angus Leeming <leeming@lyx.org>
2364 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2366 2003-05-23 Angus Leeming <leeming@lyx.org>
2368 * insetfoot.C (latex):
2369 * inseturl.C (latex): rename fragile as moving_arg.
2371 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2373 * inseterror.C (localDispatch): comment out unused var.
2375 2003-05-22 Angus Leeming <leeming@lyx.org>
2377 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2378 passed through the LatexRunParams arg.
2380 2003-05-22 Angus Leeming <leeming@lyx.org>
2382 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2383 through the LatexRunParams arg.
2385 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2386 arg rather than through a global var.
2388 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2390 * insetspecialchar.C (dimension): use a string.
2392 2003-05-22 Angus Leeming <leeming@lyx.org>
2394 * insetbibtex.C (latex):
2395 * insetgraphics.C (latex):
2396 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2397 runparams rather than from the buffer itself.
2399 2003-05-22 Angus Leeming <leeming@lyx.org>
2401 * inset*.[Ch] (latex):
2402 passed a LatexRunParams parameter.
2404 * insetgraphics.C (latex): actually use it ;-)
2406 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2408 * insetfloat.C (addToToc): trivial compile fix
2410 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2412 * insettext.[Ch] (paragraph): delete unused function
2414 * insetfloat.C (addToToc): parlist simplfication
2416 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2418 * insetspace.[Ch]: added (new space insets)
2420 * inset.h: handle new space insets
2422 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2424 * insetfloat.C (addToToc): adjust
2426 2003-05-21 André Pönitz <poenitz@gmx.net>
2428 * insettext.[Ch]: fix drawing bug introduced earlier
2430 2003-05-19 André Pönitz <poenitz@gmx.net>
2432 * insetspecialchar.C: fix bug introduced yesterday
2434 2003-05-19 André Pönitz <poenitz@gmx.net>
2438 * insetcollapsable.[Ch]:
2442 * insetgraphics.[Ch]:
2443 * insetgraphicsParams.[Ch]:
2444 * insetlatexaccent.[Ch]:
2445 * insetminipage.[Ch]:
2446 * insetnewline.[Ch]:
2448 * insetspecialchar.[Ch]:
2449 * insettabular.[Ch]:
2450 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2452 2003-05-19 André Pönitz <poenitz@gmx.net>
2455 * insettext.C: more insetenv
2457 2003-05-16 André Pönitz <poenitz@gmx.net>
2460 * insetminimpage.[Ch]:
2461 * insetcollapsable.[Ch]: fix #832
2463 2003-05-16 André Pönitz <poenitz@gmx.net>
2466 * insetbibitem.[Ch]:
2470 * insetcollapsable.[Ch]:
2471 * insetcommand.[Ch]:
2474 * insetexternal.[Ch]:
2475 * insetfloatlist.[Ch]:
2476 * insetgraphics.[Ch]:
2477 * insetinclude.[Ch]:
2480 * insetlatexaccent.[Ch]:
2483 * insettabular.[Ch]:
2487 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2489 2003-05-13 André Pönitz <poenitz@gmx.net>
2492 * insetcollapsable.C:
2496 * insetwrap.C: tostr from own header
2508 * insetwrap.C: STRCONV
2511 2003-05-12 André Pönitz <poenitz@gmx.net>
2523 * insetwwrap.C: boost::format -> bformat all over the place
2525 2003-05-05 André Pönitz <poenitz@gmx.net>
2527 * insettext.h: add missing #include <map>
2529 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2531 * insettext.C (InsetText): parlist cleanup
2534 (insetUnlock): ditto
2536 (lockInsetInInset): ditto
2540 (searchBackward): ditto
2541 (collapseParagraphs): ditto
2543 2003-05-06 John Levon <levon@movementarian.org>
2545 * insetcaption.C: don't cast wrap inset to InsetFloat
2548 * insetfloat.C: remove unneeded type() function
2550 2003-05-05 André Pönitz <poenitz@gmx.net>
2554 * insettabular.[Ch]:
2555 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2556 replace getFirstParagraph() by getParagraphs()
2558 2003-05-03 John Levon <levon@movementarian.org>
2560 * insetcollapsable.h:
2561 * insetcollapsable.C:
2567 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2568 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2569 getCursor(). Remove explicit cursor hides.
2571 2003-05-02 André Pönitz <poenitz@gmx.net>
2573 * insettext.C: remove unneeded &*
2575 2003-04-30 John Levon <levon@movementarian.org>
2577 * insettabular.C: fix edit message
2579 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2581 * insettext.C (setFont): do not convert iterator -> pointer
2583 * insettabular.C (localDispatch): do not convert iterator -> pointer
2585 (tabularFeatures): ditto
2587 2003-04-29 André Pönitz <poenitz@gmx.net>
2589 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2591 2003-04-28 André Pönitz <poenitz@gmx.net>
2593 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2596 2003-04-25 André Pönitz <poenitz@gmx.net>
2598 * insetenv.C: derive from InsetText instead of InsetCollapsable
2600 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2602 * insetexternal.C (string2params): dont do anything if the string
2604 * insetgraphics.C (string2params): ditto
2605 * insetcommand.C (string2params): ditto
2606 * insetert.C (string2params): ditto
2607 * insetfloat.C (string2params): ditto
2608 * insetinclude.C (string2params): ditto
2609 * insetminipage.C (string2params): ditto
2610 * insettabular.C (string2params): ditto
2611 * insetwrap.C (string2params): ditto
2613 2003-04-24 André Pönitz <poenitz@gmx.net>
2615 * insetref.C: support for eqref
2617 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2619 * insetert.C (read): use ParagraphList::iterator.
2621 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2623 * insetquotes.C (latex): comment some code and add warnings.
2625 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2627 * insetexternal.C (localDispatch): added a missing DISPATCHED
2629 2003-04-12 John Levon <levon@movementarian.org>
2631 * insetwrap.C (addToToc): fix a crash, conversion
2632 from while to for loop forgot to remove the explicit
2635 2003-04-10 John Levon <levon@movementarian.org>
2637 * insettabular.C (tabularFeature): make sure
2638 to update the dialog when we change something
2641 (getStatus): don't disable some lfuns (bug 939)
2643 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2645 * insettext.C (saveLyXTextState): adjust
2646 (localDispatch): adjust
2652 * insettabular.C (localDispatch): adjust
2654 (tabularFeatures): adjust
2656 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2658 * insettabular.C (searchForward,searchBackward): fix bug 782
2660 2003-04-07 John Levon <levon@movementarian.org>
2663 * insettext.C: clear status message on inset exit
2665 2003-04-03 John Levon <levon@movementarian.org>
2667 * insetcommand.C: return dispatched on DIALOG_UPDATE
2669 2003-04-02 John Levon <levon@movementarian.org>
2671 * insettabular.C: tab lfuns renamed
2673 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * insettext.C (update): move towards ParagraphList
2676 (updateLocal): ditto
2678 (insetUnlock): ditto
2680 (lockInsetInInset): ditto
2681 (updateInsetInInset): ditto
2682 (localDispatch): ditto
2685 (resizeLyXText): ditto
2686 (searchBackward): ditto
2687 (collapseParagraphs): ditto
2690 * insetwrap.C (InsetWrap): adjust
2691 (addToToc): adjust and rewrite loop
2693 * insettext.[Ch] (paragraph): delete function
2695 * insettabular.C (moveNextCell): adjust
2696 (movePrevCell): adjust
2697 (insertAsciiString): adjust
2699 * insetfloat.C (InsetFloat): adjust
2702 * insetert.C (InsetERT): adjust
2703 (write): adjust, and rewrite loop
2704 (latex): adjust, and rewrite loop
2705 (linuxdoc): adjust, and rewrite loop
2706 (docbook): adjust, and rewrite loop
2707 (localDispatch): adjust
2708 (get_new_label): adjust
2710 2003-04-01 John Levon <levon@movementarian.org>
2712 From Alfredo Braunstein
2715 * insetbutton.C: add localDispatch()
2717 * insetcommand.C: return DISPATCHED when edit() called
2719 * insettext.C: fix bug 967
2721 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2723 * insettext.C: adjust
2725 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2727 * insettext.C (draw): adjust
2728 (crow): return a RowList::iterator not a Row*
2730 * insetminipage.C (localDispatch): adjust
2732 * insetert.C (localDispatch): adjust
2734 2003-03-31 John Levon <levon@movementarian.org>
2737 * insetgraphicsParams.C: use_gui moved to lyx_gui
2739 2003-03-31 John Levon <levon@movementarian.org>
2741 * insettext.C: Alert fix
2743 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2745 * insettext.C (ascent): adjust for RowList
2748 (getLyXText): adjust
2749 (toggleSelection): adjust
2751 * insetminipage.C (localDispatch): adjust for RowList
2753 * insetert.C (localDispatch): adjust for RowList
2754 (getMaxWidth): adjust for RowList
2756 2003-03-29 John Levon <levon@movementarian.org>
2758 * insetert.C: Alert cleanup
2760 2003-03-29 John Levon <levon@movementarian.org>
2762 * insettabular.C: Alert fix
2764 2003-03-28 John Levon <levon@movementarian.org>
2766 * insetfloat.C: reset label on INSET_MODIFY
2768 2003-03-28 John Levon <levon@movementarian.org>
2770 * insetgraphicsParams.C: read subcaptionText as a whole line
2773 2003-03-28 John Levon <levon@movementarian.org>
2775 * insettext.C: remove unused prototypes
2777 2003-03-25 Angus Leeming <leeming@lyx.org>
2779 * insetbibitem.C (localDispatch): repaint the view after modifying
2780 a bibitem inset in case the maximum InsetBibitem width has changed.
2782 2003-03-25 John Levon <levon@movementarian.org>
2785 * insettabular.C: LyXText renamings
2787 2003-03-24 John Levon <levon@movementarian.org>
2789 * insettext.C: remove some dead code. Fix bug 972 and
2790 related by posting a repaint in updateLocal(), and making
2791 the SEL functions set SELECTION.
2793 2003-03-22 John Levon <levon@movementarian.org>
2796 * inset.C: remove no-longer-needed topx_set
2798 * insetcollapsable.h:
2799 * insetcollapsable.C: remove dead code
2802 * insetert.C: rebreak the rows when a possible
2803 change in size is made, and reset the cursor
2806 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2808 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2809 topx_set. Fix drawing errors for clearInset(). Remove
2810 some unnecessary uses of topx, which should die.
2812 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2813 is no longer needed. Replace it with an ugly hack.
2815 2003-03-20 John Levon <levon@movementarian.org>
2818 * insetcollapsable.h:
2819 * insetcollapsable.C:
2827 * insettext.C: remove spurious font parameter
2828 from update(). Fix drawing of ERT insets inside
2829 insets (bug 966). Remove unused mark_dirty from
2830 tabular's updateLocal()
2832 2003-03-19 John Levon <levon@movementarian.org>
2841 * insetwrap.C: remove unused getter/setters
2843 2003-03-19 John Levon <levon@movementarian.org>
2845 * several files: bv->updateInset() doesn't take
2846 a bool mark_dirty any more
2848 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2850 * adjust for BufferView* arg removal from lyxtext.
2852 2003-03-17 John Levon <levon@movementarian.org>
2854 * most files: remove the "cleared" parameter
2855 to draw in favour of always clearing. Associated
2858 2003-03-16 John Levon <levon@movementarian.org>
2860 * insettext.C: remove unused s.refresh
2862 2003-03-13 Angus Leeming <leeming@lyx.org>
2864 * insettext.C (edit): replace Dialogs::updateParagraph with
2865 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2867 2003-03-13 André Pönitz <poenitz@gmx.net>
2869 * Makefile.am: insert insetenv
2871 * insethenv.[Ch]: new files, currently inactive
2873 2003-03-12 John Levon <levon@movementarian.org>
2883 * insettext.C: use new insetnewline
2885 2003-03-12 John Levon <levon@movementarian.org>
2887 * insettext.C: readToken became readParagraph
2889 2003-03-12 John Levon <levon@movementarian.org>
2891 * insettext.C: use parlist iterator for reading contents
2893 2003-03-12 John Levon <levon@movementarian.org>
2895 * insettext.C: name change to readToken()
2897 2003-03-11 André Pönitz <poenitz@gmx.net>
2899 * Makefile.am: insert insethfill
2901 * insethfill.[Ch]: new files
2903 2003-03-10 Angus Leeming <leeming@lyx.org>
2905 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2907 (hideDialog): calls the new static Dialogs::hide() method.
2909 * insetbibitem.C (edit):
2910 * insetbibtex.C (edit):
2911 * insetcite.C (edit):
2912 * insetcommand.C (localDispatch):
2913 * inseterror.C (d-tor):
2914 * insetert.C (showInsetDialog):
2915 * insetexternal.C (localDispatch, edit):
2916 * insetfloat.C (localDispatch, showInsetDialog):
2917 * insetfloatlist.C (edit):
2918 * insetgraphics.C (localDispatch, edit):
2919 * insetinclude.C (localDispatch, edit):
2920 * insetindex.C (edit):
2921 * insetlabel.C (edit):
2922 * insetminipage.C (localDispatch, showInsetDialog):
2923 * insetref.C (edit):
2924 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2925 resetPos, showInsetDialog, openLayoutDialog):
2926 * insettoc.C (edit):
2927 * inseturl.C (edit):
2928 * insetwrap.C (localDispatch, showInsetDialog):
2929 changes due to the changed MailInset interface.
2931 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2933 * insetfloat.h: Set default placement to an empty string.
2935 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2937 * insettext.C (latex): adjust call to latexParagraphs.
2939 2003-03-10 Angus Leeming <leeming@lyx.org>
2941 * mailinset.C: warn the user if the BufferView has not been cached.
2943 2003-03-10 Angus Leeming <leeming@lyx.org>
2945 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2947 * insetcommand.h (inset):
2948 * insetert.h (inset):
2949 * insetexternal.h (inset):
2950 * insetfloat.h (inset):
2951 * insetgraphics.h (inset):
2952 * insetinclude.h (inset):
2953 * insetminipage.h (inset):
2954 * insettabular.h (inset):
2955 * insetwrap.h (inset):
2956 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2958 2003-03-10 Angus Leeming <leeming@lyx.org>
2960 * insetcommand.C (string2params):
2961 * insetexternal.C (string2params):
2962 * insetfloat.C (string2params):
2963 * insetgraphics.C (string2params):
2964 * insetinclude.C (string2params):
2965 * insetminipage.C (string2params):
2966 * insettabular.C (string2params):
2967 * insetwrap.C (string2params): cure warning message about missing
2970 2003-03-09 Angus Leeming <leeming@lyx.org>
2972 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2973 it to communicate with the frontend dialogs.
2975 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2976 contents of this inset!
2978 2003-03-07 Angus Leeming <leeming@lyx.org>
2980 * inseterror.C (localDispatch): new method; calls edit() on
2983 2003-03-07 Angus Leeming <leeming@lyx.org>
2985 * insetbibitem.C (localDispatch):
2986 * insetbibtex.C (localDispatch):
2987 * insetlabel.C (localDispatch):
2988 rewrite as a switch.
2990 2003-03-07 Angus Leeming <leeming@lyx.org>
2992 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2993 it to communicate with the frontend dialogs.
2995 2003-03-07 Angus Leeming <leeming@lyx.org>
2997 * insetexternal.C: remove operator== and operator!= for
2998 InsetExternal::Params. They were used only by the old controller
3001 2003-03-07 Angus Leeming <leeming@lyx.org>
3003 * insetcommand.C (localDispatch):
3004 * insetexternal.C (localDispatch):
3005 * insetfloat.C (localDispatch):
3006 * insetinclude.C (localDispatch):
3007 * insetminipage.C (localDispatch):
3008 * insetwrap.C (localDispatch):
3009 add LFUN_INSET_DIALOG_UPDATE to the switch.
3011 2003-03-07 Angus Leeming <leeming@lyx.org>
3013 * insetcommand.C (string2params):
3014 * insetexternal.C (string2params):
3015 * insetfloat.C (string2params):
3016 * insetinclude.C (string2params):
3017 * insetwrap.C (string2params): use LyXLeX more.
3020 * insetexternal.[Ch]:
3022 * insetinclude.[Ch]:
3023 * insetwrap.[Ch]: change Mailer::name_ to be static.
3025 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3026 it to communicate with the frontend dialogs.
3028 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3031 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3033 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3035 * insettext.C (updateLocal): un-const function
3036 (updateLocal): adjust
3037 (collapseParagraphs): un-const function
3038 (collapseParagraphs): adjust
3040 2003-03-05 Angus Leeming <leeming@lyx.org>
3042 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3043 it to communicate with the frontend dialogs.
3045 2003-03-05 Angus Leeming <leeming@lyx.org>
3047 * insetcollapsable.C (draw): cache the BufferView.
3049 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3050 it to communicate with the frontend dialogs.
3052 2003-03-05 Angus Leeming <leeming@lyx.org>
3054 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3057 2003-03-05 Angus Leeming <leeming@lyx.org>
3059 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3061 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3062 it to communicate with the frontend dialogs.
3064 2003-03-05 Angus Leeming <leeming@lyx.org>
3066 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3067 it to communicate with the frontend dialogs.
3069 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3071 * insettext.C (collapseParagraphs): adjust
3072 (appendParagraphs): make it take a Buffer* instead of a
3073 BufferParams& as arg.
3074 (appendParagraphs): adjust
3076 2003-03-04 Angus Leeming <leeming@lyx.org>
3078 * insetbibitem.C (localDispatch):
3079 * insetbibtex.C (localDispatch):
3080 * insetcommand.C (localDispatch):
3081 * insetert.C (localDispatch):
3082 * insetlabel.C (localDispatch):
3083 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3085 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3087 * insettext.C (latex): adjust for ParagraphList::iterator
3089 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3091 * insetbutton.C (view): adjust for boost 1.30.0
3092 * insetcollapsable.C (view): ditto
3093 * insetgraphics.C (statusChanged): ditto
3095 * insettext.h: move paragraphs to be public.
3097 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3099 * insetnote.[Ch] (InsetNote): remove unused constructor
3101 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3103 * insetgraphics.C: added include "format.h"
3105 2003-02-27 Angus Leeming <leeming@lyx.org>
3107 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3110 2003-02-27 Angus Leeming <leeming@lyx.org>
3112 * insetbibitem.C (localDispatch):
3113 * insetbibtex.C (localDispatch):
3116 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3118 2003-02-26 Angus Leeming <leeming@lyx.org>
3120 * insetbibitem.[Ch] (localDispatch):
3121 * insetbibtex.[Ch] (localDispatch):
3122 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3124 * insetcommand.C (localDispatch):
3125 act only on receipt of LFUN_XYZ_APPLY.
3127 * insetert.C (localDispatch): reformat.
3128 add LFUN_XYZ_APPLY to the switch.
3130 2003-02-26 John Levon <levon@movementarian.org>
3132 * insettext.C: use RowPainter
3134 * inset.h: make helpers take const *
3136 2003-02-26 Angus Leeming <leeming@lyx.org>
3138 * insetcommand.[Ch] (localDispatch): new method.
3140 2003-02-26 Angus Leeming <leeming@lyx.org>
3142 * insetinclude.C (draw): cache the BufferView* using cache not
3143 PreviewImpl::setView
3145 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3147 * insetgraphics.C (draw)
3148 * insetinclude.C (draw): Eliminate also the other argument (owner
3149 inset inset) in the call to PreviewImage::image
3151 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3153 * insetgraphics.C (draw)
3154 * insetinclude.C (draw): Eliminate Buferview argument in call to
3157 2003-02-25 John Levon <levon@movementarian.org>
3159 * insetgraphicsParams.h:
3160 * insetgraphics.C: don't start a load process if
3161 the inset is set to NoDisplay (bug #920)
3163 2003-02-22 John Levon <levon@movementarian.org>
3166 * insetwrap.C: TocItem changed API (bug 913)
3168 2003-02-21 Angus Leeming <leeming@lyx.org>
3170 * insetcollapsable.[Ch] (cache, edit):
3171 * insetbutton.[Ch] (cache, edit): new methods to cache the
3172 BufferView in the draw method.
3174 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3175 simplify comunication between InsetCommand-derived classes and
3178 * insetbibitem.[Ch]:
3182 * insetfloatlist.[Ch]:
3186 * inseturl.[Ch]: small changes to reflect the new interface to the
3189 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3190 other, similar classes.
3192 * Makefile.am: add new files.
3194 2003-02-21 Angus Leeming <leeming@lyx.org>
3196 * updatableinset.h (setView, view): remove.
3197 * inset.h (view, cache): to be replaced by these.
3199 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3202 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3205 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3207 2003-02-21 Allan Rae <rae@lyx.org>
3209 * insetinclude.C (loadIfNeeded): ensure loading also works when
3210 child document is under version control.
3212 2003-02-17 André Pönitz <poenitz@gmx.net>
3214 * insetbib.[Ch]: Adjust access to bibkeys
3216 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3218 * insetquotes.C (dispString): remove use of acute accent for "'"
3221 2003-02-14 John Levon <levon@movementarian.org>
3223 * insettabular.C: changed method names in tabular.C
3225 2003-02-14 John Levon <levon@movementarian.org>
3229 * insetcollapsable.h:
3230 * insetcollapsable.C:
3234 * insettext.C: remove unused getParFromID()
3236 2003-02-13 John Levon <levon@movementarian.org>
3239 * insettext.C: remove unused beginningofMainBody()
3241 2003-02-08 John Levon <levon@movementarian.org>
3245 * insetcollapsable.h:
3246 * insetcollapsable.C:
3251 add nextChange(). Make allowSpellcheck() const. Add markErased().
3253 * insetert.C: ignore deleted text
3255 * insettabular.C: make sure to keep change tracking working
3258 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3263 * insettext.C: Use error messages with identical spelling and punctuation
3265 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3267 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3269 2002-12-17 Juergen Vigna <jug@lyx.org>
3271 * insettext.C (localDispatch): hopefully fixed cursor up down
3272 movement on leaving other insets.
3274 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3276 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3279 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3281 * insetgraphics.C (prepareFile): do not remove the extension of
3282 the file name if it is not the default extension for the given
3283 format (that is, in latex output, remove extension from foo.eps,
3284 but not from foo.epsi)
3286 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3288 * insettext.C (lfunMouseRelease): hackish solution to the "double
3291 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3293 * insetfloat.C (addToToc): use the floats name not its type
3294 * insetwrap.C (addToToc): ditto
3296 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3298 * insetnote.C (init): make label font smaller
3300 2002-12-04 John Levon <levon@movementarian.org>
3302 * insetinclude.C: ressurect setting of command name
3304 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3306 * insetquotes.C (dispString): disambiguate insert call
3308 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3310 * several files: ws changes
3312 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3314 * insetquotes.C (dispString): use string::insert for prepending a
3317 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3319 * insetparent.C (getScreenLabel): use boost::format
3321 * insetgraphics.C (prepareFile): use boost::format
3324 * insetfloatlist.C (latex): use boost::format
3326 * insetcaption.C (draw): use boost::format
3328 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3330 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3333 2002-11-20 Juergen Vigna <jug@sad.it>
3335 * insettabular.C (resetPos): temporary fix for endless loop in
3336 this function on a redraw.
3338 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3340 * insettabular.C (copySelection): STRCONV
3342 * insetinclude.C (uniqueID): STRCONV
3343 (latexString): ditto
3345 * insetgraphics.C: put VersionNumber inside anon namespace
3346 (createLatexOptions): STRCONV
3348 * insetcommandparams.C: include config.h
3350 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3352 * insetgraphicsParams.C (Write): use lyx::float_equal.
3353 Write height data correctly.
3354 (Read): zero scale when reading height data.
3356 2002-10-30 John Levon <levon@movementarian.org>
3358 * insetfloat.C (addToTOC): recursively traverse all
3359 contents looking for captions (fix #568)
3361 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3363 * insetexternal.C (doSubstitution): do not try to replace
3364 environment variables, this is done when executing the command
3366 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3368 * insetexternal.C (doSubstitution): change order of substitution
3369 to work around ReplaceEnvironmentPath brokenness
3371 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3373 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3375 * insetgraphicsParams.C (init, Write): associated changes
3376 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3377 InsetGraphicsParams::scale.
3379 2002-10-21 John Levon <levon@movementarian.org>
3381 * inset.h: remove unused DISPATCH_RESULT
3383 * insettext.C: sgml open/close tag now in sgml namespace
3385 2002-10-21 Angus Leeming <leeming@lyx.org>
3387 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3388 file path subdir/fig.eps when pasting it into a buffer in a different
3391 2002-10-16 John Levon <levon@movementarian.org>
3393 * insetspecialchar.C: remove \\protected_separator parsing
3395 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3397 * insetquote.C: fix LaTeX output of quotation marks.
3399 2002-10-14 Juergen Vigna <jug@sad.it>
3401 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3402 Backspace functions which confused the Undo handling.
3404 2002-10-09 Angus Leeming <leeming@lyx.org>
3406 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3407 BufferView::dispatch that turns off this optimisation when a new inset
3410 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3411 reload the BibTeX keys.
3413 2002-10-11 André Pönitz <poenitz@gmx.net>
3415 * insettext.h: handle LFUN_PRIOR/NEXT
3417 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3419 * insetfloat.C: fix bug with float settings
3420 (document default != float default).
3422 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3424 * insetwrap.C (addToToc): New method.
3425 (InsetWrap): Set layout to caption.
3427 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3429 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3431 2002-09-16 John Levon <levon@movementarian.org>
3433 * insettabular.h: hasSelection() needs to be public
3435 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3437 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3439 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3441 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3443 2002-09-11 André Pönitz <poenitz@gmx.net>
3445 * insettabular.C: implement LFUN_WORDSEL
3447 2002-09-10 John Levon <levon@movementarian.org>
3449 * insetinclude.h: remove unused param
3451 2002-09-09 John Levon <levon@movementarian.org>
3454 * insetinclude.C: remove noload, default to input
3456 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3458 * insetgraphics.C: disfuscated use of ']' in built output string.
3460 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3462 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3464 2002-08-29 Juergen Vigna <jug@sad.it>
3466 * insettabular.C (lfunMousePress): Pay attention where you set
3467 the x/y values as they depend on which inset in the tabular is
3468 actually locked. So you surely have to reset them if you (un)lock
3471 2002-08-29 André Pönitz <poenitz@gmx.net>
3473 * insetfootlike.h: rename include guard to ALL CAPS
3475 * insettext.C: swap object and first parameter for checkInsetHit calls
3476 as this functions has moved from BufferView to LyXText
3479 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3481 * insetgraphicsParams.C: remove local displayTranslator and use
3482 the one from graphics/GraphicsTypes.h.
3484 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3486 * insetfloat.C (wide): add BufferParams parameter
3488 * insetfloatlist.C (read):
3491 * insetfloat.C (latex):
3493 * insetcaption.C (draw): use LyXTextClass::floats()
3495 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3497 * insetoptarg.h: add std:: qualifier.
3499 2002-08-26 Juergen Vigna <jug@sad.it>
3501 * insettext.C (localDispatch): ditto.
3503 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3505 2002-08-25 John Levon <levon@movementarian.org>
3507 * inseturl.C: elide long URLs (bug 404)
3509 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3511 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3512 remove "Format Version <version_no.>" string from inset header
3515 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3517 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3518 a member of "grfx::Params" anymore.
3520 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3522 2002-08-24 John Levon <levon@movementarian.org>
3525 * insetoptarg.C: ws, pedantry ...
3527 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3529 * insettext.C (collapseParagraphs): pasteParagraph now in global
3531 (appendParagraphs): ditto
3533 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3535 * insetcite.C (latex): Remove spaces only after commmas.
3537 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3539 * insettext.C: remove NO_COMPABILITY stuff
3541 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3543 * insettext.C (edit): use ParagraphList iterators
3545 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3546 (bibitemWidest): ditto
3548 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3550 * insettext.C: include <boost/bind.hpp>
3551 add using std::for_each
3552 (saveLyXTextState): use ParagraphsList::iterator
3553 (init): use for_each on paragraphlist iterators
3554 (InsetText): remove superflous setting cached_bview to 0
3555 (latex): reformat a bit
3556 (ascii): use paragraphlist iterators
3557 (validate): use for_each + boost bind
3558 (getLabelList): use paragraphlist iterators
3559 (deleteLyXText): use for_each + boost::bind
3560 (resizeLyXText): ditto
3561 (reinitLyXText): ditto
3562 (removeNewlines): use paragraphlist iterators
3563 (getParFromID): ditto
3564 (paragraph): use for_each + boost::bind
3565 (getInsetFromID): use paragraphlist iterators
3566 (getLabelList): typo fix
3568 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * insettext.C (read): assign tmp to paragraphs after return from
3571 call to parseSingleLyXformat2Token
3574 2002-08-13 Angus Leeming <leeming@lyx.org>
3593 changes due to the changed LyXView interface that now returns references
3594 to member variables not pointers.
3596 2002-08-13 Angus Leeming <leeming@lyx.org>
3599 * insetcollapsable.h:
3602 * insettext.h: forward-declare WordLangTuple
3603 (selectNextWordToSpellcheck) constify return type.
3606 * insetcollapsable.C:
3609 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3611 2002-08-12 Angus Leeming <leeming@lyx.org>
3613 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3615 2002-08-12 Juergen Vigna <jug@sad.it>
3617 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3620 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3622 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3623 (bibitemWidest): ditto
3624 * insettext.[Ch]: ditto
3626 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3628 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3630 2002-08-09 Angus Leeming <leeming@lyx.org>
3632 * insetinclude.C (latexString): remove fudge now that I've found out
3633 how to enable LaTeX to find the file using input@path.
3635 2002-08-09 John Levon <levon@movementarian.org>
3638 * insettext.C: remove unused xpos
3640 2002-08-07 Juergen Vigna <jug@lyx.org>
3642 * insettabular.C (localDispatch): make delete not put the stuff
3643 in the clipboard only do this on a cut operation.
3645 * insettext.C (localDispatch): make delete and backspace not put
3646 selected stuff to the clipboard.
3648 2002-08-07 André Pönitz <poenitz@gmx.net>
3651 * insetcollapsable.[Ch]:
3655 * insettabular.[Ch]:
3656 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3658 2002-08-06 John Levon <levon@movementarian.org>
3662 * insetcollapsable.h:
3663 * insetcollapsable.C:
3669 * insettext.C: use WordLangTuple for spellcheck
3671 2002-08-06 Angus Leeming <leeming@lyx.org>
3673 * insetinclude.C: add a monitor to the previewed image, so that the
3674 image is refreshed if the \input-ed file changes.
3676 2002-08-04 John Levon <levon@movementarian.org>
3679 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3681 2002-08-02 Angus Leeming <leeming@lyx.org>
3683 * insetcommandparams.[Ch] (preview): new methods returning and setting
3684 a new bool preview_ flag.
3685 (read): read this flag.
3686 (operator==): add flag to check.
3688 * insetinclude.C (write): output new preview() flag.
3689 (previewWanted): use this flag.
3691 2002-08-02 Angus Leeming <leeming@lyx.org>
3693 * insetcollapsable.[Ch] (addPreview):
3694 * insettabular.[Ch] (addPreview):
3695 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3696 for insets in insets.
3698 2002-08-02 Angus Leeming <leeming@lyx.org>
3700 * insetcite.C: fix typo.
3702 * insetgraphics.C: kill current_view and instead cache the BufferView
3705 * insetinclude.C: kill current_view and pass the BufferView to the
3706 PreviewedInset so that it can cache it.
3708 2002-08-01 Angus Leeming <leeming@lyx.org>
3710 * inset.h (generatePreview): renamed as addPreview.
3711 (generatePreview): new method. Allows code to be moved out of
3712 math_nestinset.C and into the new PreviewedInset class.
3714 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3715 add previews to the inset when \input-ing LaTeX.
3717 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3719 * several files: strip,frontStrip -> trim,ltrim,rtrim
3721 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3723 * insetbib.C (latex): modify because of strip changes
3725 * insetnote.C (InsetNote): ditto
3727 2002-07-26 Juergen Vigna <jug@sad.it>
3729 * insettabular.C (searchForward): check for lastcell if we
3730 had a locking inset.
3732 2002-07-25 Juergen Vigna <jug@sad.it>
3734 * insettabular.C (insetMotionNotify): Don't update the screen
3735 if we didn't do nothing.
3736 (searchForward): last cell was not checked.
3738 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3740 * insetfloat.C (read, write): Allow default placement
3741 (floatPlacement_ is empty).
3743 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3745 * insetminipage.h (noFontChange):
3746 * insettabular.h (noFontChange):
3747 * insetfootlike.h (noFontChange):
3748 * insetfloat.h (noFontChange): return true
3750 * inset.h (noFontChange): new method, defaulting to false
3752 2002-07-22 Herbert Voss <voss@lyx.org>
3754 * insetgraphicsParams.[Ch]: support size_type for old docs
3756 2002-07-22 Herbert Voss <voss@lyx.org>
3759 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3762 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3764 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3766 * insetlatexaccent.h: do not include "lyxlex.h"
3768 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3771 * insetlatexaccent.C:
3775 * insetbib.C: #include "lyxlex.h"
3781 * insettext.C: use BufferParams::getLyXTextClass
3784 * insetfloat.C (addToToc): new method. Add to toclist the entries
3785 corresponding to Caption layouts
3786 (InsetFloat): when creating a new float, set the layout to "Caption"
3788 2002-07-21 Herbert Voss <voss@lyx.org>
3790 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3791 image relevant part into graphics/GraphicsImgae.C
3793 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3795 * insettoc.C (ascii):
3796 * insetfloatlist.C (ascii): change to use the new Toc functions
3797 instead of stuff that was in Buffer
3799 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3801 * insettext.C (localDispatch): BufferView::Dispatch has been
3802 renamed to BufferView::dispatch
3804 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3806 * insetgraphicsParams.C (as_grfxParams): use the new
3807 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3808 1.2.0 patch, and I do not really know how to adapt it to the new
3809 grfx::Cache world. Angus, please could you have a look?
3811 2002-05-01 Herbert Voss <voss@lyx.org>
3813 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3815 2002-07-18 Angus Leeming <leeming@lyx.org>
3817 * insetgraphics.C: clean-up comments (from Herbert).
3818 add a new checksum variable to the cache. Use it in PrepareFile.
3819 (draw): start monitoring the file for a change.
3820 (prepareFile): re-arrange a little to avoid unnecessary steps.
3822 2002-07-17 Angus Leeming <leeming@lyx.org>
3824 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3825 a method rather than to the signal directly.
3827 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3829 * insettext.C: use view_state_changed, switchKeyMap
3831 2002-07-17 Herbert Voss <voss@perce.de>
3833 * insetgraphics.C (prepareFile): keep the extension when
3834 exporting to nice file
3836 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3838 * insetcite.C (getNatbibLabel):
3839 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3841 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3843 * insetgraphics.C: use ->isDrawable()
3845 2002-07-12 Angus Leeming <leeming@lyx.org>
3847 * insetgraphics.C: use the new smart loading capabilities of the image
3850 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3852 * insettabular.C (edit): Move into correct cell when entering a
3855 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3858 2002-07-05 Angus Leeming <leeming@lyx.org>
3860 * inset.h (generatePreview): new virtual method.
3862 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3864 * insetcommandparams.[Ch] (operator=): move out of class
3865 (operator!): move out of class
3867 2002-07-04 André Pönitz <poenitz@gmx.net>
3869 * insetcommandparams.[Ch]: new files
3871 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3873 2002-06-15 Herbert Voss <voss@perce.de>
3875 * insetgraphics.C (prepareFile): bugfix; return always
3876 files without extension
3878 2002-06-28 Angus Leeming <leeming@lyx.org>
3880 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3881 rename asGParams -> as_grfxParams.
3883 * insetgraphics.C: reflect above change.
3885 2002-06-26 Angus Leeming <leeming@lyx.org>
3887 * insetgraphics.h: use boost::scoped_ptr in preference to
3890 2002-06-26 Angus Leeming <leeming@lyx.org>
3892 * insetgraphics.C: moved the image loading stuff into a new class
3893 grfx::Loader. Simplifies this file enormously.
3895 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3897 * insetgraphicsParams.C: changes aassociated with moving
3898 grfx::DisplayType out of grfx::GParams.
3900 2002-06-26 André Pönitz <poenitz@gmx.net>
3902 * insetgraphics.C: use os::external_path where necesaary according to a
3903 patch from Claus Hentschel)
3905 2002-06-25 Angus Leeming <leeming@lyx.org>
3907 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3908 generating a pixmap once the graphics file is loaded into memory.
3909 The current_view ugliness that was in grfx::ModifiedImage has been
3910 moved here now that grfx::ModifiedImage is no more.
3912 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3914 * insettext.C: layout as layout
3916 2002-05-28 André Pönitz <poenitz@gmx.net>
3918 * insetfloatlist.h: remove source of compiler warning
3920 * insetref.C: tiny whitespace
3922 2002-06-15 Herbert Voss <voss@perce.de>
3924 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3925 and take always convert when no userdefined converter was
3927 (latex) small changes in the lyxerr output
3929 2002-06-15 LyX Development team <lyx@rilke>
3931 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3932 mixed content. Small white spaces clean.
3934 2002-06-14 Angus Leeming <leeming@lyx.org>
3936 * inseetexternal.C: remove the using std::difftime declaration.
3938 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3940 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3942 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3944 * insetquotes.C (draw): fix drawing of double quotes
3946 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3948 * insettabular.C: s/scrollCB/scrollDocView/
3950 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3952 * insettext.C: change of topCursorVisible()
3955 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3958 * insettext.C: rename/change of LyXScreen
3960 2002-06-07 Angus Leeming <leeming@lyx.org>
3962 Fixes needed to compile with Compaq cxx 6.5.
3964 all c-library variables have been moved into namespace std.
3965 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3967 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3969 * insetinclude.C (uniqueID):
3970 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3971 conflicted with some AIX headers.
3973 2002-05-31 Juergen Vigna <jug@sad.it>
3975 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3979 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3981 * insetexternal.C (clone): fix () bug when using new
3982 (updateExternal): don't only look for difftime in global scope
3984 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3986 * insettabular.C: add const
3988 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3990 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3991 file name, in case there are weird characters like ',' in there.
3994 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3996 * switch from SigC signals to boost::signals.
3998 2002-05-28 André Pönitz <poenitz@gmx.net>
4000 * insets/insetgraphicsParams.[Ch]:
4001 put in inset related stuff from src/graphic
4003 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4011 * insetcollapsable.C:
4012 * insetcollapsable.h:
4040 * inseturl.h: use mouse_state. Kill insetKeyPress
4042 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4047 * insetcollapsable.C:
4050 * insetlatexaccent.C:
4052 * insetspecialchar.C:
4054 * insettext.C: name change for font metrics
4056 2002-05-24 Juergen Vigna <jug@sad.it>
4058 * insetgraphics.h: include inset.h first (for LString.h)
4060 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4062 * insettext.C: screen moved
4064 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4082 * inseturl.C: LyXView moved into frontends/
4084 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4089 * insetcollapsable.C:
4093 * insetgraphicsParams.C:
4094 * insetlatexaccent.C:
4096 * insetspecialchar.C:
4098 * insettext.C: move Painter to frontends/
4100 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4102 * insettabular.h: use more specific smart_ptr header.
4103 * insettext.h: ditto
4105 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4108 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4110 * insettext.C: clear selection on paste (bug 393)
4112 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4114 * insettext.C (latex): Honor the moving_arg argument.
4116 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4118 * insetfoot.C (latex): if a footnote is in a title layout, then it
4119 is a \thanks. And then, its contents is a moving argument.
4121 2002-05-14 Juergen Vigna <jug@sad.it>
4123 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4126 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4128 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4129 when using options "Full author list" or "Upper case".
4131 2002-05-14 Herbert Voss <voss@perce.de>
4133 * insetgraphics.C (prepareFile): allow files with same name
4135 (readFigInset): set the flags from old figinset in the right
4137 (findTargetFormat): more comments
4139 2002-05-14 Juergen Vigna <jug@sad.it>
4141 * insettext.C (edit): tell checkAndActivateInset() that we don't
4142 have a button press.
4143 (checkAndActivateInset): if button < 0 we don't have a button press
4144 on the inset and os we won't call edit on it if it's not a Highly
4145 editable inset (then we have to enter it).
4147 2002-05-13 Juergen Vigna <jug@sad.it>
4149 * insetcollapsable.C (insetButtonRelease): returned wrong return
4152 2002-05-09 Juergen Vigna <jug@sad.it>
4154 * insetcollapsable.C (edit): first_after_edit should only be
4155 set to true if we enter this inset and it was collapsed so we
4156 open it up. This is needed to reclose it after a search/replace
4157 or spellcheck function opened it and was negative.
4159 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4161 * insetfloat.C (latex): Return correct value.
4163 2002-05-04 Herbert Voss <voss@perce.de>
4165 * InsetgraphicsParams.C (read): fix bug with WH
4167 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4169 * insetfloat.C (latex): More sensible latex output
4170 (fix the problem with endfloat).
4172 2002-05-02 José Matos <jamatos@fep.up.pt>
4174 * insetgraphics.C (validate): acess params as everyone else.
4176 2002-05-03 Juergen Vigna <jug@sad.it>
4178 * insettabular.C (fitInsetCursor): recalculate the cursor position
4181 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4183 * InsetgraphicsParams.[Ch]: whitespace.
4185 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4187 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4188 float type do not exist.
4190 2002-04-28 Herbert Voss <voss@perce.de>
4192 * insetgraphics.C (latex): fix bug with missing file-extension.
4193 LaTeX still allows a missing "eps" or "ps".
4195 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4197 * insetfloat.C (c-tor, wide): translate the name of the float.
4199 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4201 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4202 when using natbib and make it work efficiently. Must emphasise that the
4203 real work is Herbert's.
4205 2002-04-23 Herbert Voss <voss@perce.de>
4207 * insetgraphic.C (prepareFile): fix bug with overwriting and
4208 deleting an existing *.eps-file in the doc-dir
4210 2002-04-23 Juergen Vigna <jug@sad.it>
4212 * insettabular.C (drawCellSelection): fix off by 1 error.
4214 2002-04-22 Juergen Vigna <jug@sad.it>
4216 * insettabular.C (setFont): rewoke full selection if it was asked,
4217 after we changed all we had to change.
4219 * insettext.C (insetUnlock): code was uninitialized in some situations.
4221 2002-04-19 Herbert Voss <voss@perce.de>
4223 * insetgraphic.C (prepareFile): return filename without
4224 extension if we only export without compiling
4226 2002-04-19 Juergen Vigna <jug@sad.it>
4228 * insettext.C (draw): call a fullRebreak on the row where we had a
4229 change and reset the cursor and selection-cursors.
4231 * insettabular.C (insetUnlock):
4232 (insetButtonPress): call an update before setting the_locking_inset = 0
4233 as otherwise we don't repaint!
4234 (update): reset the cursor position when we changed dimensions as
4235 otherwise our cursor may be on the wrong spot.
4237 2002-04-18 Juergen Vigna <jug@sad.it>
4239 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4240 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4241 redraw otherwise we won't redraw.
4243 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4244 not really right before, but I only discovered this with the last
4245 changes to Page up/down.
4247 2002-04-17 Juergen Vigna <jug@sad.it>
4249 * insettext.C (checkAndActivateInset): simplified as we now have the
4250 edit(bv, bool) call.
4252 * insettext.h: changed behind variables to front variables to be
4253 equal to the one in the edit call (as it is for that they are used).
4255 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4257 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4258 not output anything at all!
4260 2002-04-16 Juergen Vigna <jug@sad.it>
4262 * insettabular.C (insetButtonPress):
4263 (insetUnlock): call a redraw on unlocking the cell inset.
4265 * insettext.C (insetButtonPress): same as below.
4266 (lockInset): new function to set initial values when inset should
4268 (insetButtonPress): use above function.
4269 (insetUnlock): don't force a repaint only set the updateStatus. The
4270 outside world should repaint if it thinks it should be done!
4272 * insettabular.C (insetButtonPress): init values if not set as locked
4273 as we are locked if someone presses on us and don't call the edit()
4274 call of the InsetText to lock it do it as BufferView does it!
4276 * inset.h (insetInInsetY): make func const and return an int.
4279 * insetcollapsable.C: adapt the above changed function.
4281 2002-04-15 Juergen Vigna <jug@sad.it>
4283 * insettext.C (getCursorPos): return relative position as to be able
4284 to give them directly to the edit() call.
4285 (edit): we have to set also x_fix as it is not set inside the
4286 setCursorFromCoordinates call!
4287 (insetMotionNotify): ditto.
4289 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4291 * insetbib.C (getKeys): strip leading '\t's from the line too.
4292 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4294 2002-04-12 Juergen Vigna <jug@sad.it>
4296 * insettext.h: added cix() helper function and use it where appropriate
4298 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4300 * insetgraphics.C (prepareFile): fix bug when graphics is a
4303 2002-04-12 Juergen Vigna <jug@sad.it>
4305 * insettext.C (insertInset): remove unneeded code!
4306 (updateLocal): fitCursor() fixes.
4307 (collapseParagraphs): fix a possible problem when having a selection
4308 and collapsing the paragraphs.
4310 2002-04-08 Herbert Voss <voss@perce.de>
4312 * insetgraphic.C (write): write the rotating angle as
4313 a float as is. test only for != 0.0
4315 2002-04-11 Juergen Vigna <jug@sad.it>
4317 * insettext.C: new function ciy() and use it for setting inset_y.
4319 * insetert.C (draw): fix the x return for collapsed version.
4321 2002-04-07 Herbert Voss <voss@perce.de>
4323 * insetgraphic.C (readFigInset): fix bug with subcaption and
4326 2002-04-08 Herbert Voss <voss@lyx.org>
4328 * insetgraphicsparam.C: forgot special option and delete old
4331 2002-04-05 Juergen Vigna <jug@sad.it>
4333 * insettext.C (localDispatch): make a CURSOR update if we inserted
4336 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4338 * insetfloatlist.C (getScreenLabel):
4339 (latex): use Floating::listName
4340 (validate): new method
4342 2002-04-03 José Matos <jamatos@fep.up.pt>
4344 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4346 * insetfoot.[Ch] (docbook): added forgotten method.
4348 2002-04-03 Juergen Vigna <jug@sad.it>
4350 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4351 way as in Bufferview_pimpl.
4353 2002-04-03 Allan Rae <rae@lyx.org>
4355 * insetgraphics.C (latex): one % too many makes living on the bleeding
4356 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4358 2002-03-28 Herbert Voss <voss@lyx.org>
4360 * insetgraphic.C (latex): simplify the code for the latex
4361 output when the file doesn't exist
4363 2002-03-29 Juergen Vigna <jug@sad.it>
4365 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4368 * insettabular.C (edit): call fitCursor().
4370 * insettext.C (insetButtonPress): change behaviour of no_selection
4371 to the one in the BufferView selection_possible and fix the spurious
4372 selection bug with it.
4373 (localDispatch): revoke selection on BREAK... functions.
4375 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4377 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4379 2002-03-28 Juergen Vigna <jug@sad.it>
4381 * insettabular.C (insetAllowed): return true as default value otherwise
4382 we're not able to insert insets inside paragraphs of an not locked
4385 2002-03-27 Herbert Voss <voss@lyx.org>
4387 * insetgraphicsparam.C: change c%, p% to col%, page%
4389 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4391 * insetspecialchar.C (isLineSeparator): disable the nice code to
4392 allow linebreaks after hyphenation and menu separators.
4394 2002-03-26 Herbert Voss <voss@lyx.org>
4396 * insetgraphics.C (figinsetRead): set the right lyxview
4398 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4400 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4401 $\backslash$ and pass a "string const &" to the function.
4402 (prepareFile, latex): use Path rather than MakeAbsPath.
4404 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4406 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4407 proper fix to the graphics cache.
4408 (latex): "really" nice output if the file is not found ;-)
4410 2002-03-26 Juergen Vigna <jug@sad.it>
4412 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4413 (collapseParagraphs): fixed inserting of separator ' '
4415 * insettabular.C (insertAsciiString): only check for buffer lenght
4416 not if we have \t or \n inside the buffer as if we don't have we only
4417 have 1 cell and that's it!
4419 * insetert.C (close): don't collapse if inlined.
4421 2002-03-25 Herbert Voss <voss@lyx.org>
4423 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4424 graphics file does not exist.
4426 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4428 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4429 path when preparing export.
4431 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4432 no longer MakeRelPath.
4434 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4436 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4437 Used to determine the absolute path to the graphics file in the
4438 graphics cache and only in the graphics cache.
4439 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4440 make graphics file name absolute if it is stored as a relative path.
4442 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4443 make graphics file name absolute if it is stored as a relative path.
4445 * insettext.C (edit): emit an updateParagraph signal on entering a text
4446 inset. Needs to be emitted when leaving the inset also.
4448 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4450 * all files: ws cleanup
4452 * Makefile.am: remove ld -r stuff
4454 2002-03-21 Juergen Vigna <jug@sad.it>
4456 * insettext.C (appendParagraphs): new function added to append
4457 the paragraphs to this insets paragraphs.
4459 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4461 * Makefile.am: special rules if partial linking
4463 2002-03-19 Juergen Vigna <jug@sad.it>
4465 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4467 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4469 * insetgraphics.C: Clean up Baruch's comments a little.
4470 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4472 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4475 * insettheorem.C: wrap warnings
4477 * insetgraphics.C: improve messages, move cached_status_
4478 setting to safer place
4480 2002-03-18 Juergen Vigna <jug@sad.it>
4482 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4484 (localDispatch): ditto
4486 * insettext.C (edit): removed unneeded showCursor calls.
4487 (localDispatch): ditto.
4489 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4491 * insetgraphics.h: remove display() method.
4493 2002-03-11 Juergen Vigna <jug@sad.it>
4495 * insetgraphics.C (draw): hack to fix the redrawing bug.
4496 (draw): seems this fixes #268 (force redraw of row if we changed).
4498 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4499 this inset text (don't know why I missed this earlier).
4501 2002-03-08 Juergen Vigna <jug@sad.it>
4503 * insettabular.C (updateLocal): do a FULL update if we're not locked
4504 and only a CELL update is asked.
4506 * insettext.C (updateInsetInInset): update insets inside inset also
4507 if it isn't inside the_locking_inset.
4509 * insettabular.C (updateInsetInInset): ditto.
4511 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4513 * insetexternal.C (doSubstitution): check whether we are using a
4514 temp dir for defining $$FPath
4516 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4519 * insettext.C: remove #include "WorkArea.h".
4521 2002-03-06 Juergen Vigna <jug@sad.it>
4523 * insettext.C (draw): fixed frame redrawing.
4524 (clear): forgot to set the inset_owner of the paragraph.
4526 * insetert.C (status): pay attention the bv can be 0 here!
4527 (getMaxWidth): add the default leftMargin
4529 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4531 * insetert.C (getMaxWidth): make w unsigned int.
4533 2002-03-05 Juergen Vigna <jug@sad.it>
4535 * insetert.C (status): change behaviour of Inlined.
4536 (getMaxWidth): added for new inlined behaviour.
4538 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4540 * insetnote.h (linuxdoc, docbook): add empty methods.
4541 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4542 before being initialized.
4544 2002-03-05 Juergen Vigna <jug@sad.it>
4546 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4547 only that one in the inset. Should be enough.
4548 (updateLocal): set the selection cursor always if we don't have a
4549 selection to be sure it's set!
4551 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4553 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4555 * insettext.C (clear): a gross hack to set layout on a newly
4558 2002-03-04 Juergen Vigna <jug@sad.it>
4560 * insettabular.C (localDispatch): inserted handling of
4561 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4562 (insertAsciiString): new helper function.
4564 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4566 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4569 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4571 * insettext.C (InsetText): initalize newly created par with
4572 default layout. add bufferparams parameter
4575 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4576 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4577 * insetert.[Ch] (InsetERT): ditto
4578 * insetfloat.[Ch] (InsetFloat): ditto
4579 * insetfoot.[Ch] (InsetFoot): ditto
4580 * insetfootlike.[Ch] (InsetFootLike): ditto
4581 * insetmarginal.[Ch] (InsetMarginal): ditto
4582 * insetminipage.[Ch] (InsetMinipage): ditto
4583 * insetnote.[Ch] (InsetNote): ditto
4584 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4586 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4588 * insettext.C: layout as string
4590 * insetinclude.C: layout as string
4592 * insetert.C: layout as string
4594 * insetbib.C: layout as string
4596 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4599 * insettabular.C: remove #include "lyx_gui_misc.h".
4601 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4606 * inset.h: remove figinset, yahoo !
4608 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4610 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4611 copy c-tor and initialise member variables in the correct order.
4613 2002-02-28 Juergen Vigna <jug@sad.it>
4615 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4617 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4619 * inset.h: ... and add a better one here.
4621 * insetcommand.C (insetButtonRelease): remove that one which was a
4624 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4626 * insetcommand.C (insetButtonRelease): ... and move it here.
4628 * inseturl.h: remove insetButtonRelease from there...
4630 2002-02-26 Juergen Vigna <jug@sad.it>
4632 * inseturl.h: Added a insetButtonRelease call returning true as
4635 * insetlabel.C (edit): Fixed wrong update handling after change I
4636 leave in the wrong code for the one who wrote it to remove and have
4637 a look what he did wrong.
4639 * insettabular.C (localDispatch): force a SELECTION update if we
4640 had a selection and we passed the event down to the inset (fix #213)
4641 (localDispatch): handle font changing stuff when we have a cell
4642 selection so that the selection is not rewoked. I don't really like
4643 this fix, but it's the only way I see to do it right now.
4645 2002-02-22 Juergen Vigna <jug@sad.it>
4647 * insettext.C (insetUnlock): set the cursor to the second paragraph
4648 if available and if the first one is empty (fix #191).
4650 2002-02-20 Juergen Vigna <jug@sad.it>
4652 * insettext.C (getDrawFont): implemented this function to call the
4653 one of the owner if present as the owner normally knows what to do
4656 * insetert.C: implement getDrawFont() function and comment out all
4657 the crap for setting a special latex font inside this inset.
4658 (InsetERT): added a Lanugage parameter to this constructor.
4660 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4661 change the font for being drawn on screen (used only in InsetERT for
4664 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4665 and also above (was missing).
4666 (updateLocal): don't remove the cell selection if we have one this
4667 should be done where we really want to remove it.
4669 2002-02-20 José Matos <jamatos@fep.up.pt>
4671 * insetinclude.h: include_label made string const.
4673 * insetinclude.C (InsetInclude): moved include_label initialization.
4676 (validate): fix support for temporary directory, for docbook and
4679 * insetgraphics.h : new private member, graphic_label, that holds
4680 the entity name that defines the graphics location (SGML).
4682 * insetgraphics.C (unique_id): new function to give a unique label
4685 (validate): the file locatation is given by an entity reference.
4687 2002-02-18 Herbert Voss <voss@lyx.org>
4689 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4691 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4693 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4694 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4696 2002-02-18 José Matos <jamatos@fep.up.pt>
4698 * insetinclude.C (validate): some code only applies to latex buffers,
4699 it was made conditional.
4701 2002-02-12 Herbert Voss <voss@lyx.org>
4703 * insetgraphics.C: (prepareFile) do not check at this time
4704 if the file is present.
4706 2002-02-12 Herbert Voss <voss@lyx.org>
4708 * insetgraphics.C: latex(), return the correct newlines
4710 2002-02-13 José Matos <jamatos@fep.up.pt>
4712 * inseturl.C (docbook): escape & in url.
4714 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4716 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4717 after HYPHENATION and MENU_SEPARATOR
4719 * inset.h (isLineSeparator): new method, returns false by default.
4721 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4723 * insetert.C (status): do not update the text inset, but the ERT
4726 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4728 * insetnote.C: use notebg for background
4730 2002-02-08 Herbert Voss <voss@lyx.org>
4733 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4734 prevent LyX from unzipping when this should be handled
4735 by latex vis the graphic.cfg.
4738 2002-02-08 Herbert Voss <voss@lyx.org>
4740 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4741 exists, than return filename with extension
4743 2002-02-06 Herbert Voss <voss@lyx.org>
4745 * insetgraphic.C: prepareFile(): don't convert the file, when
4746 it's not viewed in LyX. Saves a lot of time when opening a
4749 2002-02-05 Herbert Voss <voss@lyx.org>
4752 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4753 and adding a rotate bool similiar to subcaption
4755 2002-02-04 Herbert Voss <voss@lyx.org>
4758 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4759 similiar view to the LaTeX one. Get zipped files work.
4761 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4763 * insetgraphicsParams.C (init): set display to DEFAULT.
4764 No longer #include "lyxrc.h".
4766 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4768 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4769 for now (so that the code compiles).
4771 2002-02-02 Herbert Voss <voss@lyx.org>
4773 * insetgraphic.C: delete inVariant() and some minor changes
4774 * insetgraphicsParams.[C]:
4776 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4778 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4779 interogate lyxrc.display_graphics before diaplaying the graphic.
4781 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4782 InsetGraphicsParams::DisplayType.
4784 2002-01-31 Herbert Voss <voss@lyx.org>
4786 * insetgraphic.C: (readfigInset) set display to pref-default
4788 2002-01-30 Herbert Voss <voss@lyx.org>
4790 * insetgraphic.C: get the filetyp from it's contents
4791 * insetgraphicparams.C: add token scale and lyxrc.display when
4792 creating a new inset
4794 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4796 * figinset.C: added using std::ios directive.
4798 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4800 * figinset.C (runqueue): open translation file in binary mode (for
4803 2002-01-27 Herbert Voss <voss@lyx.org>
4805 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4806 all options and to be sure that the old figinsets are correct
4808 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4809 structure and to support all lengths as LyXLength. The Parameter
4810 structure changed again, but reading of "old" 1.2 graphic insets
4813 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4815 * insetert.h (forceDefaultParagraphs): Added
4817 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4819 * insettabular.C (getMaxWidth):
4820 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4822 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4824 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4825 of LyXLength::inPixels
4827 * inset.C (latexTextWidth):
4828 * insetminipage.C (latexTextWidth): new method, which implements
4829 the equivalent of the LaTeX macro \textwidth
4831 * insetminipage.C (getMaxWidth): use latexTextWidth
4833 2002-01-18 Juergen Vigna <jug@sad.it>
4835 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4837 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4839 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4841 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4844 2002-01-17 Juergen Vigna <jug@sad.it>
4846 * insettabular.C (lockInsetInInset): same change as in insettext.
4848 * insettext.C (draw): width() function was called without setting
4849 the right top_x which could lead to wrong insetWidth setting!
4850 (lockInsetInInset): call edit instead of calling lockInset if we
4851 have to lock an inset inside!
4852 (edit): we have to also tell the inset that we have to redraw the
4853 frame on an edit call if this inset draws a frame only if locked.
4855 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4857 * insetbib.C (getFiles): uncomment Path variable.
4859 2002-01-16 Juergen Vigna <jug@sad.it>
4861 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4864 2002-01-16 Allan Rae <rae@lyx.org>
4866 * insetinclude.C (docbook): someone forgot a ";"
4868 2002-01-16 José Matos <jamatos@fep.up.pt>
4870 * figinset.C (docbook): removed a old place holder "@".
4871 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4872 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4873 ascii text version, clearly guarded inside a CDATA section.
4874 (docbook): in docbook 4, inlinegraphics is empty.
4875 * insettabular.C (linuxdoc): export the ascii version of the table
4876 inside a CDATA section.
4878 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4880 * insetparent.C (InsetParent):
4881 * insetgraphicsParams.C (Write):
4883 * insetgraphics.C (prepareFile):
4886 * insetexternal.C (executeCommand):
4887 (doSubstitution): use Buffer::filePath
4889 * insetbib.C (getFiles): add a #warning for Angus
4891 * insetgraphics.C: Add a remark about how filenames should be
4892 considered to be relative to buffer (but absolute is still allowed)
4893 (draw): do not try to get status if lyxrc.use_gui is false
4895 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4898 * insetcollapsable.[Ch]:
4899 * insettabular.[Ch] (searchForward, searchBackward): change the
4900 bool const & params to bool.
4902 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4903 to avoid the name clash with InsetCollapsable's methods of the same
4904 names but different functionality.
4906 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4908 * insettext.C (ascii): use lyx::count rather than countChar.
4910 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4912 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4914 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4916 * insetgraphics.C (updateInset): do not try to render image if
4917 lyxrc.use_gui is false (bug #104)
4919 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4920 if file does not exist
4922 * figinset.C (browseFile): add shortcuts to directory buttons
4924 * insettext.C (updateLocal): update menubar and toolbar here too.
4926 2002-01-13 Allan Rae <rae@lyx.org>
4928 * insettabular.C (InsetTabular): Both constructors now initialise
4929 all class variables.
4931 2002-01-11 Juergen Vigna <jug@sad.it>
4933 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4935 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4937 * insettabular.C (getStatus): add forgotten brace around multiline
4940 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4942 * insetfloat.C (validate): require "float" instead of "floats".
4944 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4946 * insettabular.C (getStatus): use FuncStatus
4948 2002-01-08 Juergen Vigna <jug@sad.it>
4950 * insettabular.C (insetButtonRelease): now this should work too
4953 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4954 if the width is a percentage.
4956 * inset.h: added isChar() function and implemented this for
4957 insetspecialchar insetquotes and insetlatexaccent.
4958 added forceDefaultParagraphs() and implemented it for insettabular.
4960 2002-01-07 Juergen Vigna <jug@sad.it>
4962 * insettext.C (getLyXText): Fixed this function. An insert into the
4963 map is only done if we REALLY have a new BufferView.
4965 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4967 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4969 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4971 * insetinclude.C: fix use of FileInfo
4973 2002-01-07 Juergen Vigna <jug@sad.it>
4975 * insettabular.C (draw): fixed clearing of cell around inset.
4977 2002-01-05 Juergen Vigna <jug@sad.it>
4979 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4980 variables are updated.
4982 * insettabular.C (resetPos): set always the inset_y as it may be
4983 needed in another function.
4984 (searchBackward): don't draw while searching.
4986 2002-01-04 Juergen Vigna <jug@sad.it>
4988 * insettext.C (lockInsetInInset): forgot to set a cursor.
4990 2002-01-02 Juergen Vigna <jug@sad.it>
4992 * insettext.C (insertInset): make the correct undo informations on
4993 inserting new insets.
4995 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4997 * insettabular.C: correct single-cell select vertically
4999 2001-12-27 Juergen Vigna <jug@sad.it>
5001 * insettabular.C (ascii): export as tab-separated-values if the
5002 function was not called from export (f.ex.: clipboard).
5004 * insetcollapsable.h: added default support for ascii, linuxdoc and
5005 docbook export (the insettext is exported by default!)
5007 * insettabular.C (copySelection): suff the clipboard with the tabular
5008 data in a tab separated format, seems more naturals then with all the
5011 2001-12-24 Juergen Vigna <jug@sad.it>
5013 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5014 to check for REAL mouseMotion.
5016 2001-12-20 Juergen Vigna <jug@sad.it>
5018 * inset.C (cursor): return the owners cursor if available instead of
5019 always only the bv->text->cursor.
5021 * insettabular.C (checkLongtableSpecial): works now.
5023 2001-12-19 Juergen Vigna <jug@sad.it>
5025 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5026 this has to be always row + 1 as 0 means not selected!
5027 (checkLongtableSpecial): added
5028 (tabularFeatures): better longtable options support
5030 * insettext.C (resizeLyXText): reinit the text always also on a
5033 2001-12-18 Juergen Vigna <jug@sad.it>
5035 * insettext.C (updateInsetInInset): look if we have to autocollapse
5036 paragraps and return if the update is requested for ourself.
5038 * insetert.C (status): update the insettext not myself as that is what
5041 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5042 function only return if the update was requested with myself.
5044 * insettext.C (insetButtonPress): fixed stupid bug.
5045 (various functions): pay attention that lt is cleared BEFORE calling
5046 updateLocal() and try to use it in the right manner (don't use it
5047 if it's not really neccessary!)
5048 (collapseParagraphs): insert a blank between collapsing paragraphs
5049 if neccessary (not already there!).
5051 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5053 * insettabular.C: move includes around a bit, add a couple of
5056 * insettext.[Ch]: move includes around a bit, other ws changes and
5059 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5061 * insettext.C (insetButtonRelease): fix compile problem
5063 2001-12-17 Juergen Vigna <jug@sad.it>
5065 * insettext.C (insetButtonPress): set the selection cursor!
5066 (insetButtonPress): clear the selection (and set with that the
5067 selection.cursor) if we only hit an inset!
5069 * insetert.C (read): removed piece of compatibility code only needed
5072 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5075 * insetcollapsable.C (insetButtonRelease): changed so that it can
5076 open eventual existing popup dialogs on mousebutton==3.
5078 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5080 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5082 * inset.C (insetButtonRelease): return a bool for telling the outer
5083 world that we opened a dialog.
5085 2001-12-07 Juergen Vigna <jug@sad.it>
5087 * insettext.C (paragraph): remove the deleteing of paragraphs as
5088 it was a WRONG move!
5090 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5093 * insettabular.C: use new setSelection(). Allow
5094 selection of single cells.
5096 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5098 * insetquotes.C (latex): fix to use the local language setting at
5099 the point where the inset is inserted (different macros for
5100 different french packages)
5102 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5104 * inset.h: add par_owner_ member variable and parOwner
5107 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5109 * insettabular.C (everywhere): adapt because widths are now real
5110 widths and not strings
5112 * insettext.C (draw): re-introduce the calls to width(), ascent()
5113 and descent() to initialize the caching variables.
5115 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5117 * insettext.C (draw):
5118 (drawFrame): use insetWidth instead of last_width
5120 * insettext.h: remove variable last_width (insetWidth is exactly
5121 the same) and last_height (computed but never used!)
5123 2001-12-10 Allan Rae <rae@lyx.org>
5125 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5127 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5129 * insettext.C (insetAllowed): add comment
5131 2001-12-05 Juergen Vigna <jug@sad.it>
5133 * insettext.C (insetAllowed): fixed for the case that we directly
5134 ask the insettext from its LyXText.
5135 (paragraph): fixed the crash when assigning the par->next() from
5136 the EmptyParagraphMechanism!
5138 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5142 * insettext.C: change "while(" to "while ("
5144 2001-12-04 Juergen Vigna <jug@sad.it>
5146 * insetert.C (edit): handle Inlined status.
5148 * insettext.C (insertInset): trying John's fix for the trailing cursor
5150 * insetert.C (insetButtonPress): added to handle inlined status
5151 (insetMotionNotify): ditto.
5153 * insettext.C (clearInset): changed Painter & in BufferView * param,
5154 to be able to call ascent,descent methods.
5156 2001-12-03 Juergen Vigna <jug@sad.it>
5158 * insettext.C (updateInsetInInset): use lt variable to forbid
5159 changes of LyXText in an update call.
5160 (updateInsetInInset): fixed updating of non locked insets!
5162 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5164 * insettabular.C: capture some more functions to prevent
5165 selection drawing problems. Bug #451274
5167 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5170 * insetgraphicsParams.C: fix inverted sense of float_equal
5172 2001-11-30 Juergen Vigna <jug@sad.it>
5174 * insettabular.C (InsetTabular): use the save_id flag to create also
5175 the tabular with the same id's.
5177 * insettext.C (setParagraphData): added a same_id function for undo
5178 to set the same paragraph id's as of the paragraph we are setting.
5180 2001-11-30 José Matos <jamatos@fep.up.pt>
5183 * insettoc.[Ch]: DocBook -> docbook.
5185 2001-11-29 André Pönitz <poenitz@gmx.net>
5188 * insettext.C: further reduction of header dependencies by using
5189 lyx::layout_type and lyx::textclass_type from support/types.h
5191 2001-11-29 Juergen Vigna <jug@sad.it>
5193 * insettext.C: inserted a reinitLyXText function everywhere I delete
5194 the paragraphs! This should fixe the crashes we had.
5195 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5196 (paragraph): set the InsetOwner() of the new paragraphs!
5198 2001-11-28 André Pönitz <poenitz@gmx.net>
5200 * insetnote.C: add pos initialization that I removed without
5203 2001-11-28 Juergen Vigna <jug@sad.it>
5205 * insettabular.C (resetPos): hack to not crash with infinite paints.
5207 * insettabular.h: insert missing function allowSpellcheck()!
5209 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5211 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5214 * insetfloatlist.C: derive from InsetCommand so gui can use it
5217 2001-11-26 André Pönitz <poenitz@gmx.net>
5221 * insetnote.C: reduce header dependencies, introduce type for
5224 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5226 * various: update for Alert.h
5228 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5230 * inset.h: fix comment
5232 * insettext.C: use par->isInset()
5234 2001-11-22 Allan Rae <rae@lyx.org>
5236 * insetcollapsable.h:
5237 * inset.h: Changes to checkInsertChar() behaviour.
5238 Now return value indicates whether chars can be inserted.
5240 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5242 * various: updated to use the new LaTeXFeatures
5244 2001-11-14 José Matos <jamatos@fep.up.pt>
5246 * insetspecialchar.C (linuxdoc):
5247 (docbook): don't give a name to a unused variable.
5249 * insettext.C (docbook): removed unused variable.
5251 2001-11-13 Herbert Voss <voss@perce.de>
5253 * insetgraphic.C: fix scale bug
5255 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5257 * inset.h (isSpace):
5258 (isLetter): new virtual methods.
5260 * insetspecialchar.C (isSpace):
5261 (isLetter): implement here.
5263 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5265 * inset.h: new inline helpers
5267 * insettext.C: use new helpers
5269 2001-11-07 José Matos <jamatos@fep.up.pt>
5271 * insettext.C (docbook): full support for paragraphs inside insettext.
5273 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5275 * insetindex.C: added header file for std::ostream.
5277 2001-11-03 José Matos <jamatos@fep.up.pt>
5279 * insetindex.C: added using std::ostream that I forgot yesterday.
5281 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5283 * insetindex.h (docbook):
5284 * insetindex.C (docbook): added support for docbook export.
5286 2001-11-02 José Matos <jamatos@fep.up.pt>
5288 * insetcaption.C(docbook): added support for docbook export.
5290 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5292 * insetexternal.C (updateExternal): Do not run update command if
5293 result file exists and is up to date.
5295 * ExternalTemplate.C (readFormat): Support the updateresult token.
5297 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5299 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5300 external_templates) to use the buffer->fileName() but only if
5301 previewing. Generating a TeX file should make FPath return
5304 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5307 * insetert.C: fix some problems
5309 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5311 * insetexternal.C (doSubstitution): Added $$FPath token
5312 to list of usable substitutions in external inset templates.
5314 2001-10-24 Juergen Vigna <jug@sad.it>
5316 * insettabular.C: use new ltType struct for setting longtable
5317 header and footers also new UNSET enums.
5319 2001-10-24 José Matos <jamatos@fep.up.pt>
5321 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5322 (docbook): If the table is not inside a float then wrap it inside
5323 <informaltable>...</informaltable>.
5325 2001-10-23 José Matos <jamatos@fep.up.pt>
5327 * insetref.C (docbook): removed / terminator to conform SGML.
5329 * insetspecialchar.C (linuxdoc):
5330 (docbook): Added support for special chars, more than ascii export.
5332 2001-10-22 Juergen Vigna <jug@sad.it>
5334 * insettext.C (checkInsertChar): added for REALLY checking the
5335 font of the inserted char in the right inset!
5337 2001-10-19 Juergen Vigna <jug@sad.it>
5339 * inset.h: added method allowSpellcheck() so that insets who do
5340 not have anything to spellcheck can tell and so they are over-jumped.
5341 Implemented for InsetText and co.
5343 2001-10-18 Juergen Vigna <jug@sad.it>
5345 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5347 2001-10-15 José Matos <jamatos@fep.up.pt>
5349 * insetert.C: allow export for docbook and linuxdoc
5351 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5353 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5355 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5357 * insetquotes.C (dispString): fix handling of latin9 quotes
5359 2001-10-03 Juergen Vigna <jug@sad.it>
5363 * insetcollapsable.C: change updateInset calls to not tell BV that
5364 we have changed status.
5366 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5368 * insettabular.C (deletable): make const
5370 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5372 * insetert.C (latex): Fix the returned value
5374 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5376 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5377 Returns string(), so nothing in an ERT inset is spellchecked.
5379 * insetgraphics.C (draw): print the filename if not displaying the
5381 (width): make sure that the width and draw methods are consistent.
5382 (updateInset): don't even load the image into cache if not displaying
5385 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5387 * various files (selectNextWord): renamed as
5388 selectNextWordToSpellcheck.
5390 * insetgraphics.C (draw): remove the previous change. Right place
5391 is in imageLoaderXPM.C.
5392 (draw): don't display the image if params.display == NONE.
5394 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5396 * figinset.C (runqueue):
5397 * insetgraphics.C (draw): set background colour of inset from
5398 background to the user-configurable graphicsbg.
5400 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5402 * insetquotes.C (InsetQuotes): when trying to decide the side of
5403 the quote, choose `left' only after a space or '('
5405 2001-09-04 José Matos <jamatos@fep.up.pt>
5410 * insetcollapsable.h
5428 * insetlatexaccent.C
5429 * insetlatexaccent.h
5434 * insetspecialchar.C
5435 * insetspecialchar.h
5439 * insettext.C (docbook): rename docBook method to docbook.
5441 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5443 * inset.h (getFirstParagraph): New virtual method.
5445 2001-08-20 Herbert Voss <voss@perce.de>
5446 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5447 in the the bibtex-database-gui for inserting a line
5450 If no style is given than there is no tex-output.
5452 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5454 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5458 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5460 * insetert.C (latex): Fix output for multiple paragraphs.
5461 (write): New code for writing paragraph data.
5462 (read): Set font after reading the inset.
5463 (localDispatch): Call set_latex_font() for more cases.
5465 * insetnote.h: Add empty validate method.
5468 * insetnote.C (InsetNote): Set language to the language of the
5471 2001-08-16 Juergen Vigna <jug@sad.it>
5473 * insettext.C: implemented the new FINISHED states.
5475 * insettabular.C: ditto
5477 * inset.h: added more FINISHED states for cursor right,up,down
5479 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5481 * insetfloatlist.C: use "FloatName List"
5483 2001-08-14 Juergen Vigna <jug@sad.it>
5485 * insetert.C (edit): forgot to set status_ in edit calls!
5487 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5489 * insettext.C: Compilation fix
5491 2001-08-13 Juergen Vigna <jug@sad.it>
5493 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5495 * insetcollapsable.C (edit): don't recollapse an already open inset.
5497 * insettext.C: fixed problem when reinitializing LyXText by not doing
5498 it while lt is in use and post this to the next possible time in
5500 (searchForward): fixed not unlocking of inset if nothing found.
5501 (edit): set cursor behind right (was set -1 pos).
5503 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5505 * insettabular.C (tabularFeatures): fixed fix where deleting the
5506 last row didn't get the right actcell!
5508 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5510 * insettext.C (localDispatch): Change language only when the inset
5513 2001-08-10 Juergen Vigna <jug@sad.it>
5515 * insettabular.C (selectNextWordInt): use the front using edit call.
5517 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5518 the parameter overwrite class variable inset.
5520 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5522 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5523 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5525 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5526 update only for fixed with cells.
5527 (resetPos): try to fix the lockup on spellchecking or s&r.
5529 * insettext.C (update): comment this out as it seems first wrong
5530 and second not needed anymore!
5531 (some functions): call reinitLyXText() only in update() in all other
5532 positions set only need_update = INIT.
5534 2001-08-08 Juergen Vigna <jug@sad.it>
5536 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5538 * insettext.C (insetUnlock): remove double-space on inset unlock.
5540 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5542 * insettabular.C (update): fixed cursor positon after an insert.
5543 (insetAllowed): do not allow to insert insets when not inside the
5545 (draw): clear below an inset too as it could have changed height.
5547 * inset.C (getMaxWidth): fixed width for inset in inset.
5549 * insettext.C (update): small fix.
5551 * insettabular.C (tabularFeatures): added selection support to
5552 DELETE_ROW/DELETE_COLUMN.
5554 2001-08-07 Juergen Vigna <jug@sad.it>
5556 * inset.C (getMaxWidth): recoded and all it's implementations!
5558 * insettext.C (init,setParagraph+constructors): cleanups
5559 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5560 are new and I want do a save/restore of the cursor position which is
5561 not possible anymore.
5563 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5564 (searchBackward): ditto
5565 (selectNextWord): ditto
5567 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5569 * insetlatexaccent.C (checkContents): Add some debug messages
5571 2001-08-07 Juergen Vigna <jug@sad.it>
5573 * insetert.C (read): don't use InsetCollapsable::read as we don't
5574 write the collapsed status anymore only the status.
5577 2001-08-06 Juergen Vigna <jug@sad.it>
5579 * insetert.C (set_latex_font): use LyXText's setFont directly.
5581 * insettext.C (drawFrame): fixed one time more the right position
5582 and size of the frame!
5584 * insetert.C (~InsetERT): hide the dialog.
5585 (showInsetDialog): added implementation
5588 (status): new function for the status of the ERT inset (3-state).
5589 (write): output also the status of the inset for readback!
5590 (read): readback the status if available otherwise use collapsed_.
5592 * insettext.C (edit): small fix of setting the position, which could
5595 * insetert.C (width): implement this function for inlined viewing.
5596 Added minimum width of 10 pixels!
5598 * insetminipage.C (InsetMinipage): just change the colors a bit so
5599 that border/background is a bit more visible. We will remove this
5602 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5603 function for getting the important widths for drawing in various
5604 functions and in LyXText.
5605 (draw): fixed up a bit (frame drawing/clearing)
5607 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5609 * inset.C (convertFont): delete method. not used.
5611 2001-08-03 Juergen Vigna <jug@sad.it>
5613 * insettext.C (setFont): don't call for a draw update if we're just
5614 changing the cursor font!
5616 2001-08-02 Juergen Vigna <jug@sad.it>
5618 * insettext.C (draw): clear the background with the right color if
5619 needed. Update myself if x&max-width changed and return without doing
5620 anything. Let the update code handle the right stuff.
5622 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5623 inside another inset.
5625 2001-08-01 Juergen Vigna <jug@sad.it>
5627 * insetcollapsable.C (update): added an in_update bool so we avoid
5630 * insettabular.C (update): added an in_update bool so we avoid
5633 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5635 (update): added an in_update bool so we avoid reentering.
5637 * insettabular.C (localDispatch): clear col/row selection when doing
5638 something else inside an inset.
5640 * insettext.C (getLyXText): fixed bug when requesting a recursive
5643 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5645 * insetcite.C (latex): Paranoia check. Make sure that there is no
5646 whitespace between the citation keys.
5648 2001-07-31 Juergen Vigna <jug@sad.it>
5650 * inset.h (nodraw): make the set function also const so that this
5651 can be called from inside other const functions.
5653 * insetcollapsable.h: removed inline variable and moved it over
5654 to the only user InsetERT.
5656 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5657 inset opening immediately therein lying insets dialogs!
5659 * insetert.C (localDispatch): set the font also if we don't have any
5660 chars in this paragraph, otherwise if we delete all of em and start
5661 writing we have the wrong font.
5663 (draw): implemented for inline support
5664 (insetButtonRelease): ditto.
5666 2001-07-30 Juergen Vigna <jug@sad.it>
5668 * insettext.C (reinitLyXText): new function to reinit the insets
5669 text after lot's of paragraph changes. Use this instead of the
5670 cache.clear() which is VERY dangerous.
5672 * insetfloat.C (insetButtonRelease): we should only show the dialog
5673 if we press on the label otherwise we have problems to open mouse
5674 button 3 dialogs inside this float (f.ex. of a tabular!)
5676 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5678 * insetert.C: change back to "ERT"
5680 * insetfloat.C: handliign of RMB on label added.
5682 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5684 * insetgraphicsParams.C: #include LOstream.h here.
5686 * insetfoot.h: remove InsetFoot:: qualifier.
5688 2001-07-29 Baruch Even <baruch@lyx.org>
5690 * ChangeLog: Hiding time travel evidence.
5692 * insetgraphicsParams.h:
5693 * insetgraphicsParams.C:
5694 * insetgraphics.C: Added horizontal scale option, it actually scales both
5695 directions since it keeps image proportions.
5697 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5699 2001-07-29 Baruch Even <baruch@lyx.org>
5701 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5702 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5704 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5706 2001-07-29 Baruch Even <baruch@lyx.org>
5708 * insetgraphics.C: Added EPSI to be an alias of EPS.
5710 2001-07-29 Baruch Even <baruch@lyx.org>
5712 * insetgraphics.C: Change GRAPHICS to Graphics.
5713 Changed image conversion rules (documented at the beginning of file).
5715 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5717 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5720 * insetgraphics.C: added a using std::endl directive.
5722 * insetcommand.h (getScreenLabel): removed pure virtual function,
5723 as it duplicates that in InsetButton.
5725 * insetbib.[Ch] (getScreenLabel):
5726 * insetbutton.[Ch] (getScreenLabel):
5727 * insetcite.[Ch] (getScreenLabel):
5728 * insetert.[Ch] (getScreenLabel):
5729 * insetexternal.[Ch] (getScreenLabel):
5730 * insetfloatlist.[Ch] (getScreenLabel):
5731 * insetinclude.[Ch] (getScreenLabel):
5732 * insetindex.[Ch] (getScreenLabel):
5733 * insetlabel.h (getScreenLabel):
5734 * insetparent.[Ch] (getScreenLabel):
5735 * insetref.[Ch] (getScreenLabel):
5736 * insettoc.[Ch] (getScreenLabel):
5737 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5739 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5741 (validate): remove check on "cite" when using natbib.
5743 2001-07-26 Baruch Even <baruch@lyx.org>
5745 * insetgraphics.C (draw): changed casting to be in one place rather than
5746 all over the function.
5749 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5751 * insetgraphicsParams.h:
5752 * insetgraphicsParams.C:
5753 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5755 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5757 * insetfoot.C (validate): Added method to ensure that the
5758 right bit of LaTeX is emitted.
5760 * insetfoot.h: Added validate method to set the correct
5761 LaTeXFeatures bit for the special footnote code.
5763 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5765 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5768 2001-07-27 Juergen Vigna <jug@sad.it>
5770 * inset.h: remove not used font variable in parameter.
5771 removed checkInsertChar in UpdatableInset as it was equal to
5772 the one in Inset and so not needed.
5774 * insetert.C (checkInsertChar): implementation of function
5777 * inset.h: added new function checkInsertChar.
5779 * various files: added c-tor and clone() function.
5781 * insetcollapsable.h: removed clone function here as this should
5782 be only realized in REAL insets and added it to all collapsable
5783 insets! (with the copy-constructor).
5785 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5787 * insetminipage.C (read): handle missing parameters more gracefully
5789 * insetcollapsable.C (read): handel missing collapsed more gracefully
5791 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5793 * insetfloat.C (read): handle missing parameters.
5795 * insettext.C (read): handle old latex end_inset
5797 * insetert.C (setButtonLabel): new method
5798 (init): use it, to set the dynamic label correctly
5801 * Makefile.am (EXTRA_DIST): add files that is not part or the
5804 * insetcollapsable.h: remove autocollapsable (no users), remove
5805 draw_label, change_label_with_text and companion code. Remove args
5807 * insetert.[Ch]: move here instead (only user)
5809 * inset.h: rename private variable name to name_, make
5810 selectNextWord return a const string. make getInsetName return a
5811 string const &. Remove bool from open, add close.
5813 * Makefile.am: don't compile insetlist, insetsection
5816 2001-07-24 Juergen Vigna <jug@sad.it>
5818 * insetert.C (InsetERT): put init after the paragraph initialization,
5819 as otherwise we don't set the draw_label right.
5821 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5822 insets with the mouse without having strange selections.
5823 (edit): if the inset was collapsed and we open it here then put the
5824 cursor always at the beginning of the inset.
5825 (get_new_label): 15 instead of 10 max chars in the label.
5827 * insetert.C (localDispatch): added and handle various stuff we
5828 need to handle here (font setting on paragraph break, not permitted
5829 layout setting, etc.).
5831 * inset.h: added default copy-consturctor and implemented this in
5832 various insets with the change to use this in the clone function!
5834 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5836 * insetminipage.C (InsetMinipage): set background color to red :)
5838 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5840 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5841 draw frame mode is LOCKED.
5843 * insetcollapsable.C (edit):
5844 (insetButtonRelease): set update status to full when
5847 * insettext.C (clearInset):
5848 * insettabular.C (draw):
5849 * insetlatexaccent.C (draw): honor background color.
5851 * inset.h: new member background_color_, initialized to
5854 * inset.C (backgroundColor): new method.
5855 (setBackgroundColor): new method.
5857 * insetert.C (init): new method, called by the ctors.
5858 (InsetERT): when inserting contents, make sure the font is
5861 * insetnote.C (InsetNote): when inserting content, remove trailing
5863 (init): set background color to LColor::note
5865 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5867 * insetcollapsable.C: adjust
5869 * insetbutton.C: adjust
5871 2001-07-23 Juergen Vigna <jug@sad.it>
5873 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5874 parameter on the _collapsed function (was not needed) and call
5875 always width_collapsed().
5877 * insetert.C (InsetERT): use setLabel with "true" flag.
5879 * insetcollapsable.C: modified various functions to set the draw_label
5880 string right in any condition.
5881 (setLabel): added a bool parameter to set change_label_with_text.
5883 * insetcollapsable.h: added draw_label string which is set to the
5884 actual drawn label-string, while label is the original static label
5885 of this collapsable inset. Added bool change_label_with_text to set
5886 if we want that the label changes to the start of the InsetText's
5887 text when collabpsed. You can set this flag with the setLabel funciton.
5888 Added bool inlined for inlined collapsable insets, but not handled
5891 * insetcollapsable.C (get_new_label): added should get a new label
5892 from the InsetText beginning (for now 10 chars).
5894 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5896 * insetquotes.C (latex): fix the handling of french double quotes
5897 when not using the french pachage.
5899 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5901 * insetcollapsable.h: make WidthCollapsed mutable.
5903 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5904 InsetPrintIndex returns INDEX_PRINT_CODE.
5906 * inset.h: add INDEX_PRINT_CODE
5908 * insetcollapsable.C (draw): init widthCollapsed if necessary
5911 * insetquotes.C (width): use the local language, not the document
5914 (dispString): add additional spacing for all french languages,
5916 (validate): make it work when there is no default language
5918 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5920 * insetnote.C (init): new method, called by the constructors
5921 (InsetNote): new constructor with contents passed as a string
5923 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5925 * insetfootlike.C (insetAllowed): disallow float in footlike.
5927 * insetert.C (InsetERT): add collapsed argument to the constrctor
5930 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5932 * insetindex.h: shut off warning
5934 2001-07-20 Juergen Vigna <jug@sad.it>
5936 * insetcollapsable.C (update): recoded hopefully works now!
5938 2001-07-19 Juergen Vigna <jug@sad.it>
5940 * most files: implemented the below new introduced function.
5942 * inset.h: added new edit(BufferView *, bool front) method to be able
5943 to enter an inset from the front/back without knowing x/y positions
5944 and baselines inside the inset. So I just can tell the inset activate
5945 me and set the cursor on the front/back of yourself.
5947 2001-07-18 Juergen Vigna <jug@sad.it>
5949 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5950 is given to the InsetText.
5951 (insetButtonPress): ditto
5952 (insetButtonRelease): ditto
5953 (insetMotionNotify): ditto
5955 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5957 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5958 LIGATURE_BREAK, since the name is so stupid.
5960 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5962 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5963 the default InsetCollapsable methods. I.e., it can insert anything.
5964 (write) output the name of the inset, not some silly hack for
5965 compatability with the old InsetInfo.
5967 * insetinfo.[Ch]: removed.
5968 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5969 now collapsable, but functionality is otherwise identical to InsetInfo.
5971 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5973 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5975 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5978 * insetquotes.C: general cleanup
5979 (dispString): add spaces inside french double quotes.
5980 (latex): ditto. Moreover, treat first the case where the frenchb
5981 or french options have been given.
5983 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5985 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5988 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5990 * figinset.C (RegisterFigure): Print debug message only when
5991 current_view is available.
5993 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5995 * many files: update to match the change below
5997 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5998 implement the version which takes an inset here.
6000 * insetcollapsable.[Ch]: implement open and isOpen
6002 * inset.h: remove insertInsetAllowed from Inset
6003 (open): new method, to open or close an inset
6004 (isOpen): returns the status of an inset
6005 (isCollapsable, colapse): removed
6007 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6009 * insetquotes.C (dispString): display french guillemets when using
6012 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6014 * insetcollapsable.h: remove bogus return statements
6016 2001-07-18 Juergen Vigna <jug@sad.it>
6018 * insettabular.C (selectNextWord): fixed spellchecking for the
6019 first cell of a tabular (wasn't entered!)
6020 (getLyXText): changed to enter automatically insettext and return
6021 it's LyXText if we're locked.
6023 2001-07-17 Juergen Vigna <jug@sad.it>
6025 * various files: implemented the below functions.
6027 * inset.h: added functions
6028 - virtual string selectNextWord(BufferView *, float & value) const;
6029 - virtual void selectSelectedWord(BufferView *) { return; }
6030 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6031 needed for spellchecking correctly!
6033 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6035 * insetert.C (latex): write out all paragraphs.
6037 2001-07-17 Baruch Even <baruch@lyx.org>
6039 * insetgraphics.C (draw): Removed unneeded casts.
6041 2001-07-16 Juergen Vigna <jug@sad.it>
6043 * insettext.C (update): fixed small oversight (reset lt to 0).
6045 2001-07-14 Baruch Even <baruch@lyx.org>
6048 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6050 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6052 Consistent use of Lsstream.h:
6053 * figinset.C: removed using std::ostringstream directive.
6055 * insetgraphics.C (createLatexOptions):
6056 * insetinclude.C (unique_id):
6057 std::ostringstream -> ostringstream.
6058 * insettext.C (localDispatch): std::istringstream -> istringstream.
6060 2001-07-13 Juergen Vigna <jug@sad.it>
6062 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6064 * insetcollapsable.C (getLockingInset): ditto.
6066 2001-07-12 Juergen Vigna <jug@sad.it>
6068 * insetcollapsable.h: added implementation of new function for
6071 * various files: added implementation of new insertInsetAllowed-func
6072 and redone the function a bit more.
6074 * inset.h: added isCollapsable(), bool collapsed(),
6075 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6077 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6079 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6080 LyXText which is marked for removal while we're using it!
6082 * insettext.h: added private LyXText * lt to use it to assure we are
6083 not deleting our LyXText while we're using it!
6085 2001-07-11 Juergen Vigna <jug@sad.it>
6087 * insettext.C (insertInset): check if we are before the inset after
6088 inserting it! This check IS needed. Remove the Undo-Call as it is
6089 called in LyXText::insertInset!
6091 * insettext.h: added struct InnerCache.
6093 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6094 that we ONLY delete the LyXText in the getLyXText() routine. So we
6095 are sure we don't delete LyXText while someone is working with it!
6097 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6099 * insetexternal.C: (*it). -> it->
6100 * insettext.C: ditto
6102 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6104 * insetcollapsable.C (edit): always open collapsed insets (even if
6105 they are not autocollapsable)
6107 * insetcommand.C (operator=): simplify.
6109 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6111 * insetert.C (latex): handle META_NEWLINE
6113 2001-07-09 Juergen Vigna <jug@sad.it>
6115 * insetert.h: a normal InsetText can insert insets, but we won't.
6117 * inset.h: return default "false" on insertInsetAllowed and implement
6118 this function where a returnvalue != "false" is needed.
6120 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6122 * insetert.C (InsetERT): new contructor
6124 2001-07-06 Juergen Vigna <jug@sad.it>
6126 * a lot of files: added implementation of the below new functions
6127 and the change to clone(). Also the call of the new undo-functions
6130 * inset.h: added an inset_id, added functions getParFromID,
6131 getInsetFromID, firstParagraph, cursor and id functions, added
6132 bool same_ids to clone function.
6134 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6136 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6137 of BufferView * and shared_ptr<LyXText>
6139 2001-07-05 Juergen Vigna <jug@sad.it>
6141 * insettext.C (clear): deleted also the cache not only LyXText.
6142 (setParagraphData): ditto.
6144 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6146 * insetfloat.C (latex): let the specific placement take presedence
6147 if set, otherwise choose document placement if set, otherwise just
6148 use float default placement.
6150 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6152 * insettext.C (localDispatch): call CutAndPaste::'s static method
6155 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6157 * insetbib.C: no meed to include forms.h here.
6159 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6161 * insettext.C: added using std::make_pair directive.
6163 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6165 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6167 (deleteLyXText): ditto
6168 (resizeLyXText): ditto
6170 2001-07-02 Juergen Vigna <jug@sad.it>
6172 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6173 following calls are only returned the right pointer without the over
6174 head to search in the map.
6175 (various funcs): reset the cached_bview variable as this signs that
6176 the cache is not valid anymore.
6178 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6180 * insettabular.C (clone): do not copy the LyXTabular twice
6182 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6184 * insettext.h (TEXT): delete method
6186 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6188 * insetmarginal.C (latex):
6189 * insetfoot.C (latex): fix spacing of notes in LaTeX
6191 * insettext.C (localDispatch): use .c_str() on istringstream
6192 constructor argument.
6194 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6199 * inseturl.C: fix method names in these to begin
6200 with small char too, so they inherit
6202 2001-06-28 Juergen Vigna <jug@sad.it>
6204 * insettext.C (setFont): fixed font settings using toggleFree()
6205 instead of setFont().
6207 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6209 * Change a lot of method names to begin with a small char.
6210 Changes to a lot of files because of this.
6212 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6214 * insetfloatlist.C (Write): std:: qualify ostream
6217 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6221 * insetgraphics.C: send debug output to Debug::INFO instead of
6224 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6227 * insettabular.C (getStatus): update to use func_status
6229 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6231 * insetref.C (DocBook): added support for cross-references without
6234 2001-06-26 The LyX Project <jug@sad.it>
6239 * insetlabel.h: removed escape method and moved it to
6242 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6244 * insettabular.C (getMaxWidth): do the speedup in a different way,
6247 2001-06-24 The LyX Project <Asger>
6249 * insettabular.C (getMaxWidth): We cache a mapping from
6250 inset to cell in order to speed this method up.
6252 2001-06-24 The LyX Project <Asger>
6254 * insettext.C: Optimized InsetText::draw or something.
6256 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6258 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6260 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6262 * inset.h: name change from lyxinset.h
6264 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6266 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6268 2001-06-14 Juergen Vigna <jug@sad.it>
6270 * insettext.C (draw): removed warnings.
6272 2001-06-13 Juergen Vigna <jug@sad.it>
6274 * insettabular.C (nodraw): only go down the tree if we don't have
6275 that flag set otherwise it's obvious that we don't want to draw.
6276 (LocalDispatch): do also an update if we have an undispached result.
6278 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6281 * insetgraphicsParams.C:
6282 * insettext.C: removed // -*- C++ -*- as first line.
6284 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6286 * lyxinset.h (resizeLyXText): shut off warning about unused
6289 2001-06-07 Juergen Vigna <jug@sad.it>
6291 * insettext.C (resizeLyXText): honor the new force flag.
6293 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6295 * insettabular.C (deleteLyXText): new function
6297 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6305 * insetcollapsable.C:
6306 * insetcaption.C: LColor tidy
6308 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6310 * figinset.C: fix typo
6312 2001-06-01 Juergen Vigna <jug@sad.it>
6314 * insettabular.C (resetPos): small hack so that scroll is not set to
6315 0 when we are in the last column of a tabular. This is a problem we
6316 have because of constats 20 offset on both directions, so this can
6317 cause on the limit an endless loop.
6319 * insettext.C (SetFont): forgot that we can have locking insets ;)
6321 2001-05-31 Juergen Vigna <jug@sad.it>
6323 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6325 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6327 * figinset.C: add using std:: directive for the C functions which
6330 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6332 * insetfloat.C (Write): write out wide info
6333 (Read): read the wide info
6334 (Latex): use the wide info when creating latex.
6336 * insettext.C: adjust
6338 * insetgraphics.[Ch] (statusMessage): change to return string
6342 * figinset.C (runqueue): add std::
6345 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6347 * insetcite.C (Ascii): add std:: qualifier
6349 2001-05-28 Juergen Vigna <jug@sad.it>
6351 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6352 a endless-width inset (maxWidth < 0).
6353 (Edit): change language only if not equal.
6355 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6357 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6359 2001-05-16 Juergen Vigna <jug@sad.it>
6361 * insettext.C (selectAll): added
6362 (clearSelection): added
6364 * insettabular.C (SetFont): now we may set a font on a whole selection!
6365 (getSelection): added helper function.
6367 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6369 * insetcite.C (Ascii): Add method.
6371 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6374 * insetbib.C: fix path for OS/2 & Win32
6376 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6378 * insetfoot.C (Latex): don't use % after footnote.
6380 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6382 * insettext.C (Read): use clear
6383 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6385 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6387 * insetfloatlist.h: add a bunch of std:: qualifiers.
6389 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6391 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6392 FLOAT_LIST_CODE, renumber code list.
6394 * insettoc.C (getScreenLabel): remove support for float lists
6398 * insetfloatlist.[Ch]: new files
6400 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6402 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6404 * insettabular.C (LocalDispatch):
6405 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6408 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6410 * insettext.C: remvoe !NEW_INSETS cruft
6412 * insettabular.C: remove !NEW_INSETS cruft
6414 * insetcollapsable.h: remove !NEW_INSETS cruft
6416 * insetbib.C: remove !NEW_INSETS cruft
6418 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6420 * insettoc.C: hack to make listof algorithm work
6422 2001-04-20 Juergen Vigna <jug@sad.it>
6424 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6426 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6428 * insetquotes.C (Latex): improve the guard against
6429 unwanted !` and ?` ligatures. This should really be done in
6430 another place (to catch all this ligatures at low-level).
6432 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6434 * insettext.C (init): remvoe leftovers from cursor_visible change
6435 (draw): use c++ cast
6436 (LocalDispatch): dispatch LFUN_MESSAGE
6438 * insettabular.C (InsetTabular): remove leftovers from
6439 cursor_visible, and scoped_ptr changes
6440 (draw): use c++ cast
6442 * insetcollapsable.C (draw): use c++ cast
6444 * ExternalTemplate.h: inherit privaely from noncopyable
6445 * insetcommand.h: ditto
6446 * insetinclude.h: ditto
6448 2001-04-16 Allan Rae <rae@lyx.org>
6450 * insettoc.C (Ascii):
6451 * insettext.C (draw):
6452 * insettabular.C (setPos):
6453 * insetminipage.C (Read):
6454 * insetfloat.C (placement):
6455 * insetcaption.C (Ascii, DocBook):
6456 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6457 an unrecognised preprocessor directive. So ensure they're wrapped.
6459 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6462 * insetexternal.C: set view on Clone. Add _ to private members.
6464 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6466 * insettext.C (InsetText): fix new
6467 (InsetText): reindent some, simplify deletion of par list
6468 (clear): simplify deletion of par list, fix new
6469 (SetParagraphData): simplify deletion of par list
6471 * insettabular.[Ch] (getLabelList): implement new method
6473 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6475 * lyxinset.h: do not include gettext.h...
6483 * insetlatexaccent.C:
6487 * inseturl.C: ... and do it here instead
6489 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6491 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6493 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6495 * insetcollapsable.[Ch] (getLabelList): implement
6497 * insettext.[Ch] (getLabelList): implement
6499 * insettext.h: reindent
6501 * insettabular.h: make tabular a scoped_ptr
6503 * insettext.C (init): adjust for cursor_visible
6504 (ToggleInsetCursor): constify asc and desc, font, adjust for
6506 (ShowInsetCursor): constify asc and desc, font, adjust for
6508 (HideInsetCursor): adjust for cursor_visible
6510 * insettabular.C: reindent some
6511 (InsetTabular): adjust for scoped_ptr and cursor_visible
6512 (InsetTabular): ditto
6513 (~InsetTabular): delete delete
6514 (Clone): adjust for scoped_ptr
6515 (Read): constify old_format, adjust for scoped_ptr, move init of
6517 (draw): constify tx, localize loop vars.
6518 some other localization of variables, remove double initilizatons.
6520 * insetfoot.C: remove using std::ostream, add ostream where needed
6522 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6524 * lyxinset.h: some reindentaion, use initializer list for
6526 UpdatableInset: make cursor_visible a private var add
6527 public isCursorVisible(), add protected toggleCursorVisible() and
6528 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6530 * insettoc.C: remvoe using decl
6531 (getScreenLabel): make cmdname donst
6534 (Ascii): don't use endl
6536 * insetfootlike.C: remove using decl at file scope and add std::
6538 * insetmarginal.C: ditto
6540 * insetfoot.C: some reformatting
6542 * insetfloat.C (InsetButtonRelease): adjust the hit area
6544 * insetert.C (SetFont): some reformatting
6546 * insetcollapsable.C: some reformatting and constification
6547 (Clone): comment out.
6548 * insetcollapsable.h: some reformatting
6549 (Clone): comment out.
6554 2001-03-30 Juergen Vigna <jug@sad.it>
6556 * insetcollapsable.h: changen *inset to be a InsetText inset.
6558 * some files: changed to reflect the above change.
6560 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6562 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6563 InsetExternal::Params.
6564 Added operator==() and operator!=() for the Params struct.
6566 2001-03-29 Juergen Vigna <jug@sad.it>
6568 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6571 * insetminipage.C: removed widthp_ and all it's functions and changed
6572 to use new %-lengths of LyXLength.
6574 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6576 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6578 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6580 * insetgraphicsParams.C (operator!=): new function, needed by the
6581 ControlGraphics class.
6583 2001-03-28 Juergen Vigna <jug@sad.it>
6585 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6586 (checkAndActivateInset): don't use the values returned from
6587 call to bv->checkInsetHit.
6589 * insetminipage.C (Clone): set special minipage values.
6591 * insetcollapsable.C (draw): changed to draw the button in the
6592 upper left corner outside the textinset.
6593 (ascent): changed because of different drawing
6597 (InsetButtonPress): ditto
6598 (InsetButtonRelease): ditto
6599 (InsetMotionNotify): ditto
6601 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6603 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6607 2001-03-26 Juergen Vigna <jug@sad.it>
6609 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6611 * insettext.C (ShowInsetDialog): implemented above function.
6613 * insettabular.C (ShowInsetDialog): ditto
6615 * insetminipage.C (ShowInsetDialog): ditto
6617 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6619 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6620 InsetInclude::Params. Don't store a buffer * in Params. Store the
6621 master file name instead.
6623 2001-03-23 Juergen Vigna <jug@sad.it>
6625 * insetcollapsable.C (InsetMotionNotify):
6626 (InsetButtonRelease):
6627 (InsetButtonPress): fixed y-offset (minipages).
6629 * insettext.C (draw): force a FULL update if cleared == true.
6631 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6632 routine to draw the minipages on its position-flag.
6633 (InsetInInsetY): give back the right y position, because of minipage
6636 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6639 * insetfloat.C (DocBook): docbook export code.
6641 2001-03-22 Juergen Vigna <jug@sad.it>
6643 * insetminipage.C (getMaxWidth): added function to set the drawing
6645 (Read): should work now!
6647 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6648 if we create a new inset.
6650 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6652 * figinset.C (fl_set_preemptive_callback): moved definition outside
6655 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6657 * insetminipage.C (Read): prepare for reading of minipage arguments.
6659 2001-03-18 Baruch Even <baruch@lyx.org>
6661 * insetgraphics.C: Minor cleanups of the comments and code.
6663 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6665 * insetminipage.C (InsetMinipage): default to not collapsed
6667 2001-03-16 Juergen Vigna <jug@sad.it>
6669 * insetminipage.C (width): modified with to be a string
6670 (widthp): added widthp (for % width) support functions.
6671 (InsetButtonRelease): added to open the options dialog on button==3.
6672 (~InsetMinipage): added to hide the dialog.
6674 * insetminipage.h: added hideDialog signal
6676 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6678 * insetminipage.h: change the order or Position to match
6679 LyXParagraph::MINIPAGE_ALIGNMENT
6681 * several files: remvoe CXX_WORKING_NAMESPACES
6683 * ExternalTemplate.h: noncopyable is in namespace boost
6684 * insetinclude.h: ditto
6685 * insetcommand.h: ditto
6687 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6689 * insettext.C (Edit): #else# -> #else.
6690 * insettoc.C: added using directive.
6692 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6694 * insetminipage.h: add pos, inner_pos, width and height. + getters
6695 and setters for all of them.
6697 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6699 * insetinclude.C (Latex): Do not exit when the textclass of the
6700 included file differ from the textclass of the parent file.
6702 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6704 * ExternalTemplate.C (read): the reading of external insets now checks
6705 for \end_inset and removes it form the input stream.
6707 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6709 * ExternalTemplate.h:
6710 * ExternalTemplate.C:
6712 * insetexternal.C: move form to GUII
6714 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6717 * insetinclude.C: add InsetIncludeParams, use
6718 composition rather than derivation of InsetCommand
6720 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6722 * insettoc.C (Ascii): use the Buffer typedefs
6724 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6726 * insettoc.C (Ascii): implement for dynamic number of lists
6728 * insetcaption.[Ch]: update from new_insets branch
6729 * insetfloat.[Ch]: ditto
6731 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6734 * figinset.C: use new File Dialog
6736 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6738 * insettext.C: changes becuase of ParagraphParameters.
6740 2001-02-28 Baruch Even <baruch@ev-en.org>
6742 * insetgraphics.C (updateInset): Changed due to the change in
6745 2001-02-26 Juergen Vigna <jug@sad.it>
6747 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6748 handled in LyXText).
6750 2001-02-23 Juergen Vigna <jug@sad.it>
6752 * insettext.C (draw): some small repainting fixes.
6753 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6755 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6756 should be) and not an int.
6758 * insettabular.C (LocalDispatch): ditto
6760 * insettext.C (LocalDispatch): ditto
6762 * insetcollapsable.C (LocalDispatch): ditto
6764 2001-02-22 Juergen Vigna <jug@sad.it>
6766 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6767 DISPATCH it and we don't have a locking_inset.
6769 2001-02-21 Baruch Even <baruch@ev-en.org>
6771 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6772 instead of GraphicsCacheItem *.
6774 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6776 * insetcollapsable.C (getLyXText): add const qualifier to second
6779 2001-02-22 Juergen Vigna <jug@sad.it>
6781 * insettext.C (getLyXText): honor the recursive parameter.
6782 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6784 * inset.C (getLyXText): added bool recursive parameter.
6786 * insettext.C (SetUpdateStatus): or the update codes.
6787 (draw): check need_update with &.
6788 (InsetButtonPress): set no_selection to not put a selection when
6789 entering an inset and it is redraws in another spot.
6791 * insettext.h: made need_update an int.
6793 2001-02-20 Baruch Even <baruch@ev-en.org>
6796 * insetgraphisc.C: Changed to use better semantics when loading images
6797 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6799 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6803 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6804 consistent with InsetTabular.
6806 2001-02-19 Juergen Vigna <jug@sad.it>
6808 * insettabular.C (LocalDispatch): implement PAGE up/down.
6810 * insettext.C (draw): clear all of it on need_update==INIT too!
6812 * insettabular.C (InsetUnlock): always clear the selection.
6814 * inset.C (scroll): normally we only want to scroll the inset until
6815 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6817 2001-02-14 Juergen Vigna <jug@sad.it>
6819 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6820 (resetPos): fixed scroll behaviour.
6821 (LocalDispatch): do an update if moving cursor inside a table cell
6822 requests a scroll of the tabular.
6824 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6826 * insettext.C (textWidth): constify local var
6828 * insettabular.C: small cleanup.
6830 * insetfoot.C (Latex): constify local var
6832 * insetcollapsable.C: small cleanup.
6834 * figinset.C (runqueue): use compare instead of strcmp
6836 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6839 * insetinfo.C: remove cruft
6841 2001-02-14 Juergen Vigna <jug@sad.it>
6843 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6845 2001-02-13 Juergen Vigna <jug@sad.it>
6847 * insettext.C (InsertInset): don't move left (is this right?)
6849 * insettabular.C (LocalDispatch): use of the no_draw variable
6851 * insettabular.h: new no_draw variable to stop redraw
6853 * insettabular.C (TabularFeatures): fixed update for alignment change
6855 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6859 * insetbib.C: move dialogs to frontends/
6861 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6863 * insettext.C (LocalDispatch): Restore the language if the inset
6866 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6868 * insettext.C (moveRightIntern): Update the selection cursor.
6869 (moveLeftIntern): Ditto.
6871 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6873 * Makefile.am: remove BoundingBox.h
6875 * BoundingBox.h: removed
6877 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6879 * insettext.C (LocalDispatch): Update selection cursor when moving
6880 cursor to the right.
6881 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6882 (moveLeftIntern): Ditto.
6884 2001-02-05 Baruch Even <baruch.even@writeme.com>
6886 * insetgraphics.C: Updated automatic image conversion, it now goes into
6887 temporary directory instead of with the image itself.
6889 2001-01-21 Baruch Even <baruch@ev-en.org>
6891 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6892 to EPS or PNG when needed (support bitmap graphics).
6894 2000-11-02 Baruch Even <baruch@ev-en.org>
6897 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6898 and removal of commented out code.
6900 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6902 * insetbib.C (callback): Update citations if the key has changed.
6904 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6906 * insetbib.C (InsetBibKey): Better computation of default key.
6907 (getScreenLabel) Show both the key and the label.
6908 (getBibLabel): New method.
6909 (callback): Force a redraw if the inset have been changed.
6911 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6913 * insetref.C (getType, getName): Move methods from
6914 src/frontends/xforms/FormRef.C.
6916 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6918 * insettabular.C: Various improvements (use only one dummy position).
6920 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6922 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6923 par->bibkey->width. This fixes the crashes when running without
6924 gui or when having included documents.
6926 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6928 * insetcommand.C (getAsString, setFromString): Cleanup.
6930 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6932 * insetref.C: Add the array InsetRef::types that contains
6933 information about all supported reference types.
6935 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6937 * lyxinset.h: remove trailing comma in enum.
6939 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6941 * insettext.C: kill LyXBell.