1 2004-03-27 Alfredo Braunstein <abraunst@lyx.org>
3 * insettext.C (draw): handle the responsability of adding the
4 ouside offset to collapsable. Clean code a bit.
6 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
7 from insettext correctly, solve a couple of off-by-one drawing
10 2004-03-25 Angus Leeming <leeming@lyx.org>
12 * insetcaption.C (draw): squash warning about unused variable.
14 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
16 * ExternalSupport.C: use the master buffer's temp dir
17 * insetgraphics.C (latex): make relative filename relative to the
19 * insetgraphics.C: use the master buffer's temp dir
20 * insetinclude.C (masterFilename): new function
21 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
22 is always true if loadIfNeeded() returns true)
24 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
26 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
27 set its parent to the current buffer.
28 (latex): use the tmppath of the master buffer, not just the parent
29 buffer (makes a difference with more than one level of include
30 insets). If the file name is relative write in the .tex file a
31 name relative to the master buffer directory.
33 * insetinclude.C: rename masterFilename to parentFilename (this
34 points to the direct parent)
36 2004-03-25 André Pönitz <poenitz@gmx.net>
38 * inset.[Ch]: remover owner
40 * insetcollapsable.[Ch]: derive from InsetText instead having such a
48 * insetcharstyle.[Ch]:
58 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
60 * insetquote.C: use opening quote after '[' char.
62 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
64 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
67 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
69 * insetcite.[Ch]: support jurabib.
71 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
73 * insetcite.C: Support second \cite option.
76 * insetcommandparams.[Ch]: add second optional argument.
78 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
80 * insetcollapsable.C (lfunMouseRelease): right mouse button only
81 shows the inset dialog.
83 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
85 * insetlabel.[Ch]: remove them
88 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
90 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
92 * insetinclude.C (latex): show a GUI warning if textclasses don't
94 * insetinclude.C: use mangledFilename() for temp files
95 * insetgraphics.C (readInsetGraphics): remove version check, since
96 the graphics inset has no own fileformat number anymore
98 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
100 * insetquotes.[Ch]: added new member that allows direct access
101 to single/double quotation marks.
103 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
105 2004-02-16 André Pönitz <poenitz@gmx.net>
108 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
109 implicitly assume 'DispatchResult(true, true) with exception of
110 InsetBase::priv_dispatch which does the equivalent of
111 'retrun DispatchResult(false)'
113 * inset*.[Ch] (priv_dispatch): adjust
115 * insettabular.[Ch]: remove remains of the 'update' mechanism,
116 simplify cursor moving function,
117 re-enable horizontal scrolling for large tables
119 2004-02-13 André Pönitz <poenitz@gmx.net>
121 * insettabular.[Ch]: some work after IU
123 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
125 * inset.C (setPosCache): switch to absolute coords in insets
126 * insettext.[Ch] (draw, drawFrame): adjust
127 * insetcollapsable.C (draw): adjust
130 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
132 * insettext.C (edit):
133 (updateLocal): use the cur argument instead of the global cursor
134 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
136 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
138 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
140 * insetfloat.C (validate): "H" -> 'H' in call to contains
142 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
144 2004-01-30 André Pönitz <poenitz@gmx.net>
148 * insetcollapsable.[Ch]:
151 * insetgraphics.[Ch]:
156 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
159 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
161 * insettabular.C: add using statement for std::vector, remove
162 std:: where using was already used.
164 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
166 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
168 * insetinclude.C (validate): use feautures.nice() instead of
171 2004-01-20 André Pönitz <poenitz@gmx.net>
174 * insetbase.[Ch]: move stuff from mathcursor here.
180 * insetcharstyle.[Ch]:
181 * insetcollapsable.[Ch]:
184 * insetexternal.[Ch]:
186 * insetgraphics.[Ch]:
195 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
197 2004-01-15 André Pönitz <poenitz@gmx.net>
204 * insetcharstyle.[Ch]:
205 * insetcollapsable.[Ch]:
208 * insetexternal.[Ch]:
210 * insetgraphics.[Ch]:
219 * updatableinset.[Ch] (priv_dispatch et al): change signature.
221 2004-01-08 André Pönitz <poenitz@gmx.net>
223 * insetcollapsable.[Ch]:
226 * updatableinset.h: use cell index info from global cursor.
228 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
230 * insetnote.C (InsetNoteParams::write): write label only once
232 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
234 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
236 get rid of the SameName functor
238 * insettabular.C: improve the functor.
240 2003-12-29 Angus Leeming <leeming@lyx.org>
242 * insetexternal.C (setParams): update defaultTemplateName.
244 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
246 * insetbox.C: Use term "Box" in button label
248 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
250 * insetcharstyle.C: get getDrawFont working again
252 2003-12-15 André Pönitz <poenitz@gmx.net>
255 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
257 2003-12-12 Angus Leeming <leeming@lyx.org>
259 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
261 (InsetBranchParams): remove the branchlist hack.
262 (isBranchSelected): new function, used to decide whether to
263 print each output format. Also used by InsetList.
264 (read, string2params): repair my own breakage ;-)
266 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
268 * insetminipage.[Ch]: remove from repository.
270 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
273 * insetcollapsable.[Ch]: Move all CollapseStatus code from
274 insetert to insetcollapsable; introduce virtual function
275 setButtonLabel and invoke it from collapsable
277 2003-12-12 Angus Leeming <leeming@lyx.org>
279 * insetinclude.C (draw): cache x,y and so enable the
282 2003-12-12 Angus Leeming <leeming@lyx.org>
284 * mailinset.C (print_mailer_error): tidy up the output.
286 2003-12-11 Angus Leeming <leeming@lyx.org>
288 * mailinset.[Ch] (print_mailer_error): new helper function.
290 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
291 calling InsetCommandMailer.
292 (InsetCommandMailer::string2params): pass the name of the dialog.
294 * insetbibitem.[Ch] (d-tor):
295 * insetbibtex.[Ch] (d-tor):
296 * insetcite.[Ch] (d-tor):
297 * insetfloatlist.[Ch] (d-tor):
298 * insetindex.[Ch] (d-tor):
299 * insetlabel.[Ch] (d-tor):
300 * insetref.[Ch] (d-tor):
301 * insettoc.[Ch] (d-tor):
302 * inseturl.[Ch] (d-tor): removed.
303 Hiding the dialog is handled by InsetCommand.
305 * insetbibtex.[Ch] (draw, metrics):
306 * insetfloatlist.[Ch] (draw, metrics):
307 * insetindex.[Ch] (draw, metrics): removed.
308 Drawing is handled by InsetCommand.
310 * insetbibitem.[Ch] (priv_dispatch):
311 * insetbibtex.[Ch] (priv_dispatch):
312 * insetcite.[Ch] (priv_dispatch):
313 * insetfloatlist.[Ch] (priv_dispatch):
314 * insetindex.[Ch] (priv_dispatch):
315 * insetlabel.[Ch] (priv_dispatch):
316 * insettoc.[Ch] (priv_dispatch):
317 * inseturl.[Ch] (priv_dispatch): removed or simplified.
318 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
319 LFUN_INSET_DIALOG_SHOW.
321 * insetbox.C (string2params):
322 * insetbranch.C (string2params):
323 * insetert.C (string2params):
324 * insetexternal.C (string2params):
325 * insetfloat.C (string2params):
326 * insetinclude.C (string2params):
327 * insetminipage.C (string2params):
328 * insetnote.C (string2params):
329 * insetvspace.C (string2params):
330 * insetwrap.C (string2params): over-hauled.
332 2003-12-10 Angus Leeming <leeming@lyx.org>
334 * insetexternal.[Ch]: add a draft option and respect it when
337 2003-12-10 Angus Leeming <leeming@lyx.org>
339 * insetbox.C: (read, write): now prepend the inset contents with
340 'Box' to identify the inset as a box inset.
342 * insetbox.h: move the translators out of sight.
344 2003-12-10 Angus Leeming <leeming@lyx.org>
346 * insetert.C (string2params): clean-up using the new lyxlex interface.
348 * insetexternal.C: ensure that InsetExternalParams has a default
349 template, 'RasterImage'.
351 2003-12-10 Angus Leeming <leeming@lyx.org>
353 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
354 to an enum. Ensuing clean-ups through out the class.
355 (read, write): now prepend the inset contents with 'Note' to identify
356 the inset as a note inset.
358 2003-12-10 Angus Leeming <leeming@lyx.org>
360 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
361 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
363 2003-12-10 André Pönitz <poenitz@gmx.net>
368 * insettext.[Ch]: remove unused insetInset()
370 * insetert.C: disable some LFUNs
372 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
374 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
376 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
378 2003-12-04 Angus Leeming <leeming@lyx.org>
380 * insetexternal.C (draw): update the xo_, yo_ cache.
382 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
384 (RotationDataType): new helper struct wrapping the
385 RotationData::OriginType enum.
387 2003-12-03 André Pönitz <poenitz@gmx.net>
389 * inset.h: remove getParagraphs()
391 * insetcollapsable.[Ch]:
395 * insettext.C: use getText() instead of getParagraphs()
397 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
399 * insetert.C: fix label text updating bug
401 2003-12-02 Angus Leeming <leeming@lyx.org>
403 * insetvspace.[Ch] (space): new member function. Make space_ private.
404 (read): use the new, simpler lyxlex syntax.
406 2003-12-01 André Pönitz <poenitz@gmx.net>
408 * insetcollapsable.[Ch]:
409 * insetert.[Ch]: move 'inline' state to InsetCollapsable
411 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
413 * insetvspace.C (read): handle 'end_inset' token.
415 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
417 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
419 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
421 * insetcollapsable.[Ch]:
423 * insetcharstyle.C: place inset content on the button when
426 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
428 * insetvspace.C: remove VSpace::NONE; increase inset width
430 2003-12-01 André Pönitz <poenitz@gmx.net>
432 * insetbase.h: whitespace
434 * inset.[Ch]: remove latexTextWidth
435 make setBackgroundColor virtual
437 * insettext.[Ch]: move ParagraphList member to LyXText
439 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
445 * insetminipage.[Ch]:
447 * insetwrap.[Ch]: adjust paragraphs and background color handling,
449 2003-11-28 Angus Leeming <leeming@lyx.org>
451 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
452 hiding and showing the dialog respectively.
453 (priv_dispatch): also actually update the inset contents.
455 2003-11-28 Angus Leeming <leeming@lyx.org>
457 * insetbox.C (d-tor):
458 * insetbranch.C (d-tor):
459 * insetcite.C (d-tor):
460 * insetfloat.C (d-tor):
461 * insetfloatlist.C (d-tor):
462 * insetinclude.C (d-tor):
463 * insetindex.C (d-tor):
464 simplify the invocation of the Mailer::hideDialog() function.
466 * insetminipage.C (showInsetDialog):
467 simplify the invocation of the Mailer::showialog() function.
469 2003-11-28 André Pönitz <poenitz@gmx.net>
472 * insetvspace.[Ch]: new insets
474 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
476 * insetcharstyle.C: Syntax change for CharStyles
478 2003-11-28 André Pönitz <poenitz@gmx.net>
480 * updatableinset.h: remove insetInInsetY
482 * insetcollapsable.[Ch]:
485 * insettext.[Ch]: adjust
487 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
491 * insetcollapsable.[Ch]:
493 * insettabular.[Ch]: remove setFont
495 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
497 * render_graphic.[Ch]: adjust comments
499 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
501 * insetgraphics.C (draw): cache xo_ & yo_
503 2003-11-24 André Pönitz <poenitz@gmx.net>
505 * insettext.C (setViewCache): don't call LyXText::init() anymore
507 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
510 * insetcollapsable.[Ch]:
511 * insetert.[Ch]: remove bufferview parameter in methods
512 open, close, status, and updateStatus.
514 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
516 * insetcollapsable.[Ch]:
518 * insettext.[Ch] (getCursorDim): squash unused variable
520 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
522 * insettext.C (edit): x0_,y0_ -> xo_,yo_
524 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
526 * insettext.C (draw): sets LyXText absolute coordinates
528 2003-11-20 Angus Leeming <leeming@lyx.org>
530 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
531 about unused parameters.
533 * insetcollapsable.C (open):
534 * insettabular.C (pasteSelection):
535 * insettoc.C (draw): ditto.
537 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
539 * insetcollapsable.C:
541 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
542 remove mouse_x mouse_y etc.
544 2003-11-17 André Pönitz <poenitz@gmx.net>
546 * insettext.[Ch] (cx, cy): remove
548 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
550 2003-11-13 André Pönitz <poenitz@gmx.net>
553 * insetcollapsable.[Ch]:
555 * insettext.[Ch] (deleteLyXText): remove
557 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
559 * insetcollapsable.[Ch] (fitInsetCursor): remove
560 * insettabular.[Ch] (fitInsetCursor): remove
561 * insettext.[Ch] (fitInsetCursor): remove
562 * updatableinset.[Ch] (fitInsetCursor): remove
563 (getCursorDIm): add virtual
565 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
567 * src/insets/Makefile.am:
568 * src/insets/inset.h:
569 * src/insets/insetcharstyle.C:
570 * src/insets/insetcharstyle.h: The Character Style /XML short
573 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
575 * insettext.C: remove all update calls
576 * insetcollapsable.C: remove all update calls
578 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
580 * insettext.C (updateLocal, insertInset, setFont): remove
583 2003-11-10 André Pönitz <poenitz@gmx.net>
585 * inset.h: remove Inset::id_
587 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
590 2003-11-10 André Pönitz <poenitz@gmx.net>
594 * insetcollapsable.[Ch]:
601 * updatableinset.[Ch]: remove inset locking & adjust
603 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
605 * inset.h (allowSpellCheck): add (return true)
606 * insetert.h (allowSpellCheck): add (return false)
608 2003-11-05 José Matos <jamatos@lyx.org>
616 * insetcollapsable.[Ch]:
620 * insetexternal.[Ch]:
622 * insetfloatlist.[Ch]:
624 * insetgraphics.[Ch]:
629 * insetlatexaccent.[Ch]:
632 * insetmarginal.[Ch]:
633 * insetminipage.[Ch]:
637 * insetpagebreak.[Ch]:
641 * insetspecialchar.[Ch]:
647 * insetwrap.[Ch]: rename ascii to plaintext
648 and LatexRunParams to OutputParams.
650 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
652 * insetcollapsable.C (edit): add open() all
653 * insettext.C (edit): add setViewCache call
655 2003-11-04 André Pönitz <poenitz@gmx.net>
657 * inset.h (edit): move locking code from dispatch() to edit()
663 * insetcollapsable.[Ch]:
666 * insetexternal.[Ch]:
667 * insetgraphics.[Ch]:
673 * insettext.[Ch]: adjust
675 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
678 * insetcollapsable.[Ch]:
682 * updatableinset.[Ch]: remove dead search code
684 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
687 * insetcollapsable.[Ch]:
691 * updatableinset.[Ch]: remove dead spellcheck code
693 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
695 * insettabular.C (lockInsetInInset): small fix
697 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
699 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
700 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
701 from here. Be stricter on DispatchResult returned.
703 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
705 * Inset::dispatch's: adjust for new DispatchResult semantics.
707 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
709 * render_base.h: make clone return an auto_ptr
710 * render_button.C (clone): adjust
711 * render_graphic.C (clone): adjust
712 * render_preview.C (clone): adjust
714 * insettheorem.C (clone): return an auto_ptr
716 * insettext.C (priv_dispatch): exception safety
718 * insettabular.C: store the file scope variable paste_tabular in a
719 scoped_ptr, adjust usage.
721 * insetexternal.C (setParams): exception safety
723 * insetbibitem.C (clone): exception safety
725 2003-11-03 André Pönitz <poenitz@gmx.net>
728 * insetcollapsable.[Ch]:
730 * insettext.[Ch]: remove Inset::id and related functions
732 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
734 * insets: adjust for DispatchResult changes.
736 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
738 * insetpagebreak.C: fix screen representation & ascii output.
740 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
745 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
747 2003-10-31 José Matos <jamatos@lyx.org>
749 * inset.h (ascii, linuxdoc, docbook):
750 * insetbox.[Ch] (ascii, linuxdoc, docbook):
751 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
752 * insetcaption.[Ch] (ascii, docbook):
753 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
754 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
755 * insetert.[Ch] (ascii, linuxdoc, docbook):
756 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
757 * insetfloat.[Ch] (linuxdoc, docbook):
758 * insetfloatlist.[Ch] (ascii):
759 * insetfoot.[Ch] (docbook):
760 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
761 * insethfill.[Ch] (ascii, linuxdoc, docbook):
762 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
763 * insetindex.[Ch] (docbook):
764 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
765 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
766 * insetline.[Ch] (ascii, linuxdoc, docbook):
767 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
768 * insetnote.[Ch] (ascii, linuxdoc, docbook):
769 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
770 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
771 * insetref.[Ch] (ascii, linuxdoc, docbook):
772 * insetspace.[Ch] (ascii, linuxdoc, docbook):
773 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
774 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
775 * insettext.[Ch] (ascii, linuxdoc, docbook):
776 * insettoc.[Ch] (ascii, linuxdoc, docbook):
777 * inseturl.[Ch] (ascii, linuxdoc, docbook):
778 * insetwrap.[Ch] (docbook):
779 add LatexRunParams argument.
781 2003-10-30 José Matos <jamatos@lyx.org>
783 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
785 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
787 * updatableinset.C (priv_dispatch):
788 * insetwrap.C (priv_dispatch):
789 * inseturl.C (priv_dispatch):
790 * insettoc.C (priv_dispatch):
791 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
792 (moveLeftIntern, moveUp, moveDown):
793 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
794 (moveLeft, moveUp, moveDown):
795 * insetref.C (priv_dispatch):
796 * insetnote.C (priv_dispatch):
797 * insetminipage.C (priv_dispatch):
798 * insetlabel.C (priv_dispatch):
799 * insetindex.C (priv_dispatch):
800 * insetinclude.C (priv_dispatch):
801 * insetgraphics.C (priv_dispatch):
802 * insetfloatlist.C (priv_dispatch):
803 * insetfloat.C (priv_dispatch):
804 * insetexternal.C (priv_dispatch):
805 * insetert.C (priv_dispatch):
806 * insetcommand.C (priv_dispatch):
807 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
808 * insetcite.C (priv_dispatch):
809 * insetbranch.C (priv_dispatch):
810 * insetbox.C (priv_dispatch):
811 * insetbibtex.C (priv_dispatch):
812 * insetbibitem.C (priv_dispatch):
813 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
815 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
817 * insettext.C: small refactoring of docbook stuff
819 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
821 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
822 (priv_dispatch): adjust for operator dispatch_result_t removal
824 * insettabular.C (lfunMouseRelease): put the result of a dispatch
825 in a DispatchResult, adjust accordingly.
826 (priv_dispatch): use strange >= construct... (will be removed later)
828 * most insets: dispatch_result -> DispatchResult
830 * insetbase.h: move DispatchResult out to dispatchresult.h
832 2003-10-27 André Pönitz <poenitz@gmx.net>
834 * insetpagebreak.[Ch]: new inset for page breaks
836 * insetline.[Ch]: new inset for vertical lines
841 2003-10-25 Angus Leeming <leeming@lyx.org>
843 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
844 new virtual member functions, specialised...
845 * render_button.h (asButton):
846 * render_graphic.h (asGraphic):
847 * render_preview.h (asPreview, asMonitoredPreview): ... here.
849 * insetexternal.C: use these new functions rather than dynamic_cast.
850 Various other small simplifications.
852 2003-10-22 Angus Leeming <leeming@lyx.org>
854 * insetexternal.[Ch]: add the ability to 'preview' the external file
857 * insetinclude.C: changes due to the changes in the RenderPreview
860 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
861 message if the preview image is not available. Only initiate the
862 loading of the preview from draw(). Ditto, start the monitoring
863 of an external file from RenderMonitoredPreview::draw.
865 2003-10-22 Angus Leeming <leeming@lyx.org>
867 * insetcite.[Ch] (setLoadingBuffer): removed.
868 (getNatbibLabel): use the new Buffer::fully_loaded member function to
869 ascertain whether to proceed with the (expensive) task of computing
870 the natbib-style label. Remove the home-grown hack providing
871 similar functionality.
873 2003-10-22 Angus Leeming <leeming@lyx.org>
875 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
876 class and into an anonymous namespace.
878 2003-10-22 Angus Leeming <leeming@lyx.org>
880 * insetcommand.h: remove the display method.
884 * insetindex.h (InsetPrintIndex):
885 * insettoc.h: add a display method, returning true.
887 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
889 * insetcollapsable.h:
893 * insetinclude.h: (1) finish off the inset display() work;
894 (2) fix the "is a bit silly" bug (accessing char
897 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
901 * insetfootlike.h: re-introduce display() for insets,
902 fixing the various bugs (stretch of line above, math inset
905 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
907 * insetbase.C (dispatch): new func
908 (priv_dispatch): new func replaces...
909 (localDispatch): this, deleted.
911 * all insets with dispatch modified for new code.
913 2003-10-15 André Pönitz <poenitz@gmx.net>
915 * insetcollapsable.[Ch]
917 * inset.h: re-add some edit(bv, index) method called by undo
919 2003-10-14 Angus Leeming <leeming@lyx.org>
921 * insetexternal.[Ch] (view, cache, view_):
922 * insetgraphics.[Ch] (view, cache, view_):
923 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
924 (statusChanged): call LyX::cref().updateInset.
926 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
927 the BufferView cache.
929 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
932 2003-10-14 Angus Leeming <leeming@lyx.org>
934 * insetinclude.C (metrics, draw): only draw the preview when previews
937 2003-10-14 André Pönitz <poenitz@gmx.net>
939 * insetcollapsable.[Ch]:
942 * inset.h: getText() as alternative to getParagraphs()
944 2003-10-13 Angus Leeming <leeming@lyx.org>
947 * insetgraphicsParams.C: displayTranslator is now a function.
949 2003-10-13 Angus Leeming <leeming@lyx.org>
951 * insetinclude.C: remove #include "PreviewImage.h".
953 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
956 * ExternalTransforms.C:
958 * insetbox.h: ws changes only
960 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
962 * insetinclude.C (localDispatch): do not call
963 InsetOld::localDispatch, just return UNDISPATCHED
964 * insetgraphics.C (localDispatch): ditto
965 * insetcommand.C (localDispatch): ditto
967 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
969 * inset.h: get rid of RESULT typedef for dispatch_result
971 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
972 * insetert.[Ch] (localDispatch): ditto
973 * insettabular.[Ch] (localDispatch): ditto
978 * insettext.[Ch] (localDispatch): ditto
981 (moveRightIntern): ditto
982 (moveLeftIntern): ditto
985 * updatableinset.[Ch] (localDispatch): ditto
987 2003-10-12 Angus Leeming <leeming@lyx.org>
989 * renderbase.h (view, view_): removed.
990 * renderbase.C: removed.
991 * Makefile.am: remove render_base.C. The shortest lived file in
994 * renderbutton.C (draw):
995 * render_graphic.C (draw): don't cache the BufferView.
997 * insetabase.h (cache, view): removed.
999 * inset.h (generatePreview) removed.
1001 * insetcallapsable.[Ch] (cache, view, view_): removed.
1003 * insetcollapsable.C (draw): don't cache the BufferView.
1005 * insetcommand.[Ch] (view): removed.
1007 * insetexternal.[Ch] (cache, view, view_):
1008 * insetgraphics.[Ch] (cache, view, view_):
1009 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1011 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1012 when you have direct access to it. In fact, don't use the cache at all.
1014 2003-10-10 Angus Leeming <leeming@lyx.org>
1016 * insetinclude.C (metrics): use preview_->metrics.
1017 (draw): use preview_->draw.
1019 * render_preview.[Ch] (pimage): removed.
1021 2003-10-10 Angus Leeming <leeming@lyx.org>
1023 * renderers.[Ch]: removed.
1026 * render_button.[Ch]:
1027 * render_graphic.[Ch]:
1028 * render_preview.[Ch]: new files. The first three are split out of
1029 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1030 contains a re-worked InsetInclude::PreviewImpl also.
1032 * Makefile.am: reflect the changed files.
1035 * insetexternal.[Ch]:
1036 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1038 * insetinclude.[Ch]: changes reflecting the change from
1039 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1045 * inseturl.C: add #include "support/std_ostream.h"
1047 2003-10-09 Angus Leeming <leeming@lyx.org>
1049 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1050 to PreviewedInset::previewReady.
1052 2003-10-09 Angus Leeming <leeming@lyx.org>
1054 * insetexternal.[Ch] (statusChanged):
1055 * insetgraphics.[Ch] (statusChanged): make a const member function.
1057 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1060 2003-10-09 Angus Leeming <leeming@lyx.org>
1062 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1063 to PreviewedInset's previewReady and removePreview member functions.
1065 2003-10-08 André Pönitz <poenitz@gmx.net>
1067 * insetcollapsable.C:
1068 * insettext.[Ch]: saner 'init' structure
1070 * updatableinset.[Ch]: remove unneeded code
1072 2003-10-08 Angus Leeming <leeming@lyx.org>
1074 Fix doxygen warnings.
1076 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1077 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1079 2003-10-07 Angus Leeming <leeming@lyx.org>
1081 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1082 be applied to InsetExternal.
1084 * Makefile.am: add these new files.
1086 * ExternalTemplate.[Ch]: add a list of available transforms to
1087 class Template and a list of factory functions for transformer classes
1088 that can act on this data to class Format.
1090 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1092 * ExternalSupport.C: Add code to replace transform placeholders
1093 with appropriate output.
1095 2003-10-07 Angus Leeming <leeming@lyx.org>
1097 * ExternalSupport.[Ch]: new files, moving the private member functions
1098 and namespace anon functions out of insetexternal.C to here, so making
1099 it easier to understand what is going on in insetexternal itself.
1101 * Makefile.am: add new files.
1103 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1104 allowing the class to be forward declared. (Also consistent with
1105 all other Params classes.)
1106 (write): moved out of the class. Move this function and those in
1107 namespace anon to ExternalSupport.[Ch].
1109 2003-10-07 Angus Leeming <leeming@lyx.org>
1111 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1112 non-const member function.
1114 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1119 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1121 2003-10-02 André Pönitz <poenitz@gmx.net>
1123 * insettext.C (read): make sure there is at least one par
1124 in the text after reading.
1126 2003-10-01 José Matos <jamatos@lyx.org>
1128 * insetbranch.C (linuxdoc, docbook): minor fix.
1130 2003-10-01 Angus Leeming <leeming@lyx.org>
1132 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1134 * insetexternal.[Ch]: changes due to the introduction of
1135 namespace lyx::external.
1137 2003-09-30 Angus Leeming <leeming@lyx.org>
1139 * insetexternal.[Ch] (Params::read, write): new member functions.
1141 2003-09-25 Angus Leeming <leeming@lyx.org>
1143 * insetexternal.[Ch] (TempName): new (private) nested struct with
1144 fake copy semantics. Enables us to use the generated copy c-tor
1145 in the Params struct.
1146 (Params::templatename, Params::tempname): use accessor functions.
1148 2003-09-25 Angus Leeming <leeming@lyx.org>
1150 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1151 function, returning a const pointer.
1153 2003-09-23 Angus Leeming <leeming@lyx.org>
1155 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1156 store them in a vector, preambleNames.
1158 * insetexternal.C (validate): loop over all preambleNames and call
1159 LaTeXFeatures::addExternalPreamble with each.
1161 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1163 * insetbranch.C: bug fix in branches
1165 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1167 * insetnote.C: small clean-up.
1169 2003-09-19 Angus Leeming <leeming@lyx.org>
1171 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1173 * insetcommand.C (string2params): clear params using the default c-tor.
1175 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1176 InsetInclude::Params. No more data in this struct than in
1177 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1178 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1179 (clone): remove #warning as it's now redundant.
1180 (set): add a 'Buffer const &' arg. Make private.
1181 (loadIfNeeded) move out of the class definition and into namespace anon.
1182 (getMasterFilename, getFileName): ditto.
1184 2003-09-18 Angus Leeming <leeming@lyx.org>
1186 * insetcommand.C (setParams): use the params' copy constructor.
1188 2003-09-18 Angus Leeming <leeming@lyx.org>
1190 * insetinsetbase.h (getLabelList):
1191 * insetinsetcollapsable.[Ch] (getLabelList):
1192 * insetinsetinclude.[Ch] (getLabelList):
1193 * insetinsetlabel.[Ch] (getLabelList):
1194 * insetinsettabular.[Ch] (getLabelList):
1195 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1196 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1198 2003-09-18 Angus Leeming <leeming@lyx.org>
1200 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1201 redundant baggage from yesteryear.
1202 Remove Params::flag as it is redundant; the info is present in
1205 2003-09-18 Angus Leeming <leeming@lyx.org>
1207 * insetinclude.C (latexString): add a Buffer const & arg.
1209 2003-09-18 Angus Leeming <leeming@lyx.org>
1214 * insettext.h: rename EnumLColor as LColor_color.
1216 2003-09-18 Angus Leeming <leeming@lyx.org>
1218 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1219 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1221 2003-09-16 Angus Leeming <leeming@lyx.org>
1223 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1224 set before trying to generate a preview, else we trigger an assert.
1226 2003-09-16 Angus Leeming <leeming@lyx.org>
1228 * insetinclude.C (PreviewImpl::parent): return a const reference.
1230 2003-09-16 Angus Leeming <leeming@lyx.org>
1232 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1234 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1236 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1237 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1239 * insetminipage.C (metrics):
1240 * insetnote.C (metrics):
1241 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1242 access collapsed_ directly.
1244 2003-09-16 Angus Leeming <leeming@lyx.org>
1246 * insetbibitem.C: add #include "lyxfont.h".
1248 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1251 * insetbibtex.C: use namespace alias for lyx::support::os
1253 2003-09-16 Angus Leeming <leeming@lyx.org>
1255 * insetcollapsable.h: remove unused framecolor variable.
1256 Remove #include "LColor.h".
1258 * insetcollapsable.C: remove unused framecolor variable.
1261 * insetcollapsable.C:
1269 Add #include "LColor.h".
1271 2003-09-16 Angus Leeming <leeming@lyx.org>
1273 * insettext.[Ch] (frameColor): new accessor function.
1274 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1280 add #include "LColor.h".
1282 * insetcollapsable.h: add #include "LColor.h"
1283 (for its framecolor member variable).
1285 2003-09-16 Angus Leeming <leeming@lyx.org>
1287 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1289 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1290 rename frame_color as frame_color_. Make private.
1292 * insettext.C: associated changes.
1294 2003-09-16 Angus Leeming <leeming@lyx.org>
1296 * inset.h: store background_color_ as an int, not as an LColor::color to
1297 get LColor.h out of the header file.
1300 * insetlatexaccent.C:
1303 * insetspecialchar.C:
1305 add #include "LColor.h".
1307 2003-09-16 Angus Leeming <leeming@lyx.org>
1309 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1312 2003-09-15 Angus Leeming <leeming@lyx.org>
1314 * inset.[Ch] (setBackgroundColor, backgroundColor):
1315 * insettext.[Ch] (setFrameColor):
1316 pass EnumLColor args, rather than LColor::color ones.
1318 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1328 * insetwrap.C: remove usage of STRCONV
1330 2003-09-15 Angus Leeming <leeming@lyx.org>
1332 * renderers.C (draw):
1333 * insetlatexaccent.C (draw): explicitly define the color passed to
1336 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1338 * insettext.C: remove block causing problems in lockInsetInInset
1339 (mentioned erroneously under Bug #1366)
1341 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1343 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1346 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1348 * several files: change Assert to BOOST_ASSERT
1350 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1352 * insettext.[Ch]: remove drawText[XY]Offset
1354 2003-09-08 Angus Leeming <leeming@lyx.org>
1356 * insetcollapsable.C:
1361 * insetspecialchar.C:
1364 * insettoc.C: remove redundant using directives.
1366 2003-09-07 Angus Leeming <leeming@lyx.org>
1369 * insetspecialchar.h: remove #include "support/std_string.h".
1371 2003-09-06 Angus Leeming <leeming@lyx.org>
1373 * renderers.C: add #include "insets/inset.h"
1375 2003-09-05 Angus Leeming <leeming@lyx.org>
1377 * *.C: strip out redundant #includes. (193 in total.)
1379 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1381 * insets/insetbibtex.[Ch]:
1382 * insets/insetcommand.h:
1383 * insets/insetfloatlist.[Ch]:
1384 * insets/insetinclude.[Ch]:
1385 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1386 of insets like bibtex, include, toc and floatlist to the visible
1387 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1388 up the dialogs. Cursor has to be in front of the inset (i.e.
1389 start of row) for this to function.
1391 2003-09-04 Angus Leeming <leeming@lyx.org>
1393 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1394 structure outside of the Format struct. Format::preambleName refers to
1395 an item in the map of all preamble snippets.
1396 Make use of the new Debug::EXTERNAL flag.
1398 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1399 (validate): Small change due to the changed storage of preamble snippets.
1401 2003-09-04 Angus Leeming <leeming@lyx.org>
1403 * insetgraphics.C: #include "support/os.h"
1405 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1406 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1407 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1409 * insetcollapsable.h:
1411 * insetnote.C: move #include "funcrequest.h" out of the header file.
1413 2003-09-03 Angus Leeming <leeming@lyx.org>
1415 * insetexternal.C (updateExternal):
1416 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1419 2003-09-03 Angus Leeming <leeming@lyx.org>
1421 * insetexternal.C: don't bring namespace lyx::support into the global
1424 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1426 * insetbranch.C: Add Branch: to label
1428 2003-09-02 John Levon <levon@movementarian.org>
1431 * insettext.C: remove cursor.i[xy]()
1433 2003-08-28 Angus Leeming <leeming@lyx.org>
1435 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1436 "sh ", enabling the conversion to be carried out even if the script
1439 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1441 * most files: change to use const Buffer refs
1443 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1445 * insetfootlike.C: whitespace.
1447 2003-08-26 John Levon <levon@movementarian.org>
1451 * insetindex.h: remove remaining mentions of needFullRow()
1453 2003-08-26 André Pönitz <poenitz@gmx.net>
1459 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1461 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1463 * insetbranch.C: Small fix to prevent a crash on loading.
1465 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1470 * insetcollapsable.h:
1472 * insetfloatlist.[Ch]:
1473 * insetfootlike.[Ch]:
1474 * insetinclude.[Ch]:
1480 * insettheorem.[Ch]:
1481 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1482 altogether, putting the logic in metrics/draw in the insets.=20
1483 Draws short single row insets with more or less realistic metrics.
1485 2003-08-19 André Pönitz <poenitz@gmx.net>
1487 * insettext.C: use new RowPainter interface
1489 2003-08-18 John Levon <levon@movementarian.org>
1491 * insetref.C: require amsmath for eqref
1493 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1497 * insetbranch.[Ch]: implements the 'branch inset'
1498 idea. This allows the output of various versions of a document
1499 from a single source version, selectively outputing or suppressing
1500 output of parts of the text.
1501 This implementation contains a 'branch list editor' in a separate
1502 tab of the document settings dialog. Branches are user definable
1503 and have a "display colour" to distinguish them on-screen.
1505 ColorHandler was somewhat cleaned up.
1506 (1) make possible a dynamically growing LColor list by allowing
1507 the graphic context cache to grow along (vector);
1508 (2) eliminate an IMHO unnecessary step in colour allocation.
1510 2003-08-15 André Pönitz <poenitz@gmx.net>
1512 * insettext.[Ch]: adjust after rowlist split
1514 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1516 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1517 rename valign-center to valign-middle;
1518 rename VALIGN_CENTER to VALIGN_MIDDLE
1520 2003-08-11 André Pönitz <poenitz@gmx.net>
1522 * inset.h: remove resizeLyXText
1525 * insetcollapsable.[Ch]:
1527 * insettabular.[Ch]: adjust
1529 * insettext.[Ch]: remove saveLyXTextState,
1530 restoreLyXTextStat, sstate, reinitLyXText
1532 2003-08-07 André Pönitz <poenitz@gmx.net>
1534 * inset.[Ch]: move non-crucial functions out-of-line
1536 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1537 remove duplicated code.
1539 2003-08-05 André Pönitz <poenitz@gmx.net>
1542 * insetcollapsable.[Ch]:
1552 * insettabular.[Ch]:
1555 * updatableinset.[Ch]: rip out "deep update"
1557 * insettext.C (localDispatch): merge cases with default branch
1559 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1561 * insettabular.[Ch] (updateLocal): simplify logic
1563 2003-08-04 André Pönitz <poenitz@gmx.net>
1565 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1566 is 'FULL' all the time.
1568 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1570 * insetert.C (get_new_label): only add ... to the (closed) label
1571 when the string has been shortened
1573 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1575 * Always use std::endl with lyxerr
1577 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1579 * insetnote.C: update \author list
1581 2003-07-31 André Pönitz <poenitz@gmx.net>
1583 * insetcollapsable.h:
1584 * insettabular.[Ch]:
1585 * insettext.[Ch]: remove toggleSelection
1587 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1589 (with help from Juergen Spitzmueller)
1590 * insetnote.C: add add i18n support. Use Prefs-definable
1591 colours for Comment and Greyedout.
1593 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1595 * insetcollapsable.[Ch]:
1597 * insetert.C: factor out the detection of clicking on the inset
1598 button as 'hitButton'. John Levon contributed.
1600 2003-07-30 André Pönitz <poenitz@gmx.net>
1602 * insetcollapsable.C:
1604 * insettabular.C: parantheses, localize vars etc.
1606 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1608 * insetnote.C: Implement a newenvironment in preamble for
1609 greyedout. Patch provided by Jürgen Spitzmüller.
1611 2003-07-29 Angus Leeming <leeming@lyx.org>
1613 * insetcommand.C (localDispatch): default to
1614 InsetOld::localDispatch.
1616 * insetbibitem.C (localDispatch):
1617 * insetbibtex.C (localDispatch): remove call to
1618 ChangeCitationsIfUnique.
1620 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1622 * insetexternal.C (read): use pushpophelper.
1624 2003-07-28 José Matos <jamatos@lyx.org>
1626 * insetext.C (read): \end_document replaces \the_end.
1628 2003-07-28 José Matos <jamatos@fep.up.pt>
1630 * insetert.C (write): \layout -> \begin_layout.
1631 Add missing \end_layout.
1633 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1635 * insetquotes.C: document a bit the format
1637 * insettabular.C (write): remove extra space
1639 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1640 * insetnote.C: Umpf. Hope I *now* get it right :-(
1642 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1643 *insetnote.C: did the right fix to greyedout: \color
1644 instead of \textcolor.
1646 2003-07-28 Angus Leeming <leeming@lyx.org>
1648 * insetbibtex.h: remove extraneous forward declaration.
1651 * insetbibtex.h: Also remove long-dead Holder member class
1654 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1656 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1659 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1661 * insetwrap.C (addToToc): adjust for lyx::toc
1663 * insetfloatlist.C (ascii): adjust for lyx::toc
1665 * insetfloat.C (addToToc): adjust for lyx::toc
1667 2003-07-27 José Matos <jamatos@fep.up.pt>
1669 * insetnote.h (linuxdoc,docbook): update support.
1671 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1673 * insetfloat.C (wide): add a space to label, for consistency
1675 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1677 * insettext.C (nextChange): adjust for lyx::find
1678 (searchForward): ditto
1679 (searchBackward): ditto
1681 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1683 * insetgraphicsParams.C:
1684 * insetexternal.C: declare extern displayTranslator
1687 * renderers.C: add #include "support/LAssert.h"
1689 2003-07-27 José Matos <jamatos@fep.up.pt>
1691 * insetfloat.[Ch] (linuxdoc):
1692 * insetgraphics.C (linuxdoc):
1693 * insettabular.C (linuxdoc):
1694 * insettext.[Ch] (linuxdoc): add support for tables and figures
1697 2003-07-27 José Matos <jamatos@fep.up.pt>
1699 * insetinclude (latex): comply with makeLaTeXFile argument change.
1701 2003-07-26 Asger Alstrup <alstrup@local>
1703 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1704 the undo crashes. We'll see what problems other places this will
1707 2003-07-26 Angus Leeming <leeming@lyx.org>
1709 * insetgraphics.C: remove unused declaration of system_tempdir.
1711 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1713 * rename Inset to InsetOld
1715 * all inset files (clone): return a auto_ptr<InsetBase>
1717 2003-07-23 Angus Leeming <leeming@lyx.org>
1719 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1721 2003-07-23 Angus Leeming <leeming@lyx.org>
1723 * mailinset.[Ch] (inset2string):
1724 * insetcommand.[Ch] (inset2string):
1725 * insetert.[Ch] (inset2string):
1726 * insetexternal.[Ch] (inset2string):
1727 * insetfloat.[Ch] (inset2string):
1728 * insetgraphics.[Ch] (inset2string):
1729 * insetinclude.[Ch] (inset2string):
1730 * insetminipage.[Ch] (inset2string):
1731 * insetnote.[Ch] (inset2string):
1732 * insettabular.[Ch] (inset2string):
1733 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1735 * insetexternal.[Ch]:
1736 * insetgraphics.[Ch]: get rid of the view() function. Associated
1737 changes to the mailers' string2params and params2string functions.
1739 2003-07-23 Angus Leeming <leeming@lyx.org>
1741 * insetexternal.[Ch]: store the external file name in a FileName
1742 member variable rather than a string + associated changes.
1744 2003-07-21 Angus Leeming <leeming@lyx.org>
1746 * insetgraphicsParams.[Ch]: store the graphics file name in
1747 a FileName member variable rather than a string.
1749 * insetgraphics.[Ch]:
1750 * insetgraphicsParams.[Ch]: Associated changes.
1752 2003-07-21 Angus Leeming <leeming@lyx.org>
1754 * insetgraphics.[Ch] (string2params, params2string): passed a
1755 buffer_path argument.
1758 2003-07-21 Angus Leeming <leeming@lyx.org>
1761 * insetgraphicsParams.[Ch]:
1763 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1765 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1767 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1769 2003-07-18 André Pönitz <poenitz@gmx.net>
1772 * insetminipage.[Ch]:
1773 * insettabular.[Ch]:
1776 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1778 2003-07-18 André Pönitz <poenitz@gmx.net>
1782 * insetcollapsable.C:
1786 * insetgraphics.[Ch]:
1787 * insetlatexaccent.[Ch]:
1792 * insetspecialchar.C:
1793 * insettabular.[Ch]:
1795 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1797 2003-07-17 André Pönitz <poenitz@gmx.net>
1799 * insetcollapsable.C:
1801 * insettext.C: don't call Inset::update() anymore
1804 * insettabular.[Ch]: remove unneeded in_update_ members
1806 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1808 2003-07-16 André Pönitz <poenitz@gmx.net>
1810 * insettext.C (selectAll): remove
1812 2003-07-16 John Levon <levon@movementarian.org>
1815 * insetnote.C: implement showInsetDialog()
1817 2003-07-15 André Pönitz <poenitz@gmx.net>
1820 * insettext.C: refresh_status tristate -> need_update bool
1822 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1824 * insettext.C: adjust call to LyXText::init
1826 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1828 * insettext.C: use bufferview_funcs->replaceSelection()
1829 to delete selections in some cases (bugs 441, 673, 702, 954).
1831 2003-07-14 André Pönitz <poenitz@gmx.net>
1833 * insettext.C (draw): use slimmed down rowpainter interface
1835 2003-07-14 André Pönitz <poenitz@gmx.net>
1837 * insetcollapsable.C:
1839 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1840 remove unused BufferView * argument
1842 2003-07-14 André Pönitz <poenitz@gmx.net>
1844 * insettext.[Ch]: used cached metrics a bit more
1846 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1848 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1850 2003-07-10 André Pönitz <poenitz@gmx.net>
1853 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1855 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1857 * introduce namespace lyx::graphics
1859 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1861 * introduce namespace lyx::support
1863 2003-06-30 André Pönitz <poenitz@gmx.net>
1865 * insetcite.C (localDispatch): fix case of missing return value
1867 * insetcite.C (ascii): remove unneeded temporary
1869 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1871 * insetspace.h: fix \file
1873 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1874 * insetinclude.C (fillWithBibKeys): ditto
1876 * insetbibitem.C: fix type const order
1878 * inset.C (getLyXText): add varname for arg
1880 * ExternalTemplate.h: fix type const order
1882 2003-06-27 André Pönitz <poenitz@gmx.net>
1884 * insettext.C: take care of removed LyXCursor::row_ member
1886 * insettext.[Ch]: use new TextCursor struct for sstate
1888 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1890 * inseterror.[Ch]: removed
1892 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1894 * insetinclude.C (docbook): use parseError instead of sgmlError
1896 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1898 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1899 of BufferList::loadLyXFile
1901 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1903 * insettext.C (update): simplify
1904 (updateLocal): remove commented code
1905 (insetUnlock): simplify
1906 (lockInset): simplify
1907 (updateInsetInInset): simplify
1908 (localDispatch): simplify
1910 (resizeLyXText): simplify
1911 (collapseParagraphs): simplify
1913 * insetert.C (get_new_label): simplify
1915 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1917 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1918 pasteSelection with index
1920 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1922 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1924 2003-06-16 André Pönitz <poenitz@gmx.net>
1926 * insetbase.h: new virtual base function clone()
1928 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1929 Inset * clone() -> InsetBase * clone()
1931 2003-06-13 André Pönitz <poenitz@gmx.net>
1933 * insettabular.[Ch]: make tabular a proper member
1935 2003-06-12 André Pönitz <poenitz@gmx.net>
1937 * insettabular.[Ch]: some renaming plus whitespace
1939 2003-06-11 Angus Leeming <leeming@lyx.org>
1941 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1944 * insetbutton.[Ch]: removed.
1945 * graphicinset.[Ch]: renamed as renderers.[Ch].
1947 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1948 Create a new class ButtonRenderer using the InsetButton::metrics() and
1950 Derive both from a common RenderedInset base class.
1952 * insetcommand.[Ch]:
1953 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1954 Give it a ButtonRenderer member variable. Use it.
1955 Give the classes working copy c-tors.
1956 No longer derive from boost::noncopyable.
1958 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1959 display its contents as a button or as a graphic.
1961 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1964 2003-06-11 Angus Leeming <leeming@lyx.org>
1966 * insetcite.C (localDispatch): reformat.
1968 * insetref.C (localDispatch): enable dialog to be lauched.
1970 2003-06-11 John Levon <levon@movementarian.org>
1972 * insettabular.C: correctly mark all cells as erased
1974 2003-06-11 Angus Leeming <leeming@lyx.org>
1976 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1977 ExternalTemplate but its name, templatename. This means that a file
1978 containing a reference to an External Template not installed on the
1979 current machine will be saved retaining this info rather than inserting
1980 the first "valid" template from the list of templates.
1982 As a by product, the visual statement that the Template is missing is
1985 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1987 * insettext.C (appendParagraphs): remove some commented code.
1989 2003-06-10 Angus Leeming <leeming@lyx.org>
1991 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1994 * insetexternal.[Ch]: move tempname_ into the Params struct.
1995 (Params d-tor): new function, to clean-up this temp file.
1996 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1998 (editExternal, doSubstitution): move out of class.
2000 2003-06-10 Angus Leeming <leeming@lyx.org>
2002 * graphicinset.[Ch] (params): removed.
2003 * graphicinset.h (operator=): declared private but not defined.
2004 (statusMessage): made private.
2006 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2008 2003-06-07 John Levon <levon@movementarian.org>
2010 * insetert.C (latex): make a newline mean just that not
2013 2003-06-07 José Matos <jamatos@fep.up.pt>
2015 * insethfill.[Ch] (linuxdoc, docbook): implement output
2016 * insetspace.C (linuxdoc, docbook): remove coments as the code
2019 2003-06-06 José Matos <jamatos@fep.up.pt>
2021 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2023 2003-06-06 André Pönitz <poenitz@gmx.net>
2025 * insetwrap.[Ch]: code compactification
2027 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2029 * mailinset.C (updateDialog): use Dialogs::visible
2031 2003-06-04 Angus Leeming <leeming@lyx.org>
2033 * graphicinset.C (draw): add a comment for the #if 0 block.
2035 * insetexternal.h: remove Params::parameters variable.
2036 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2037 and read it back making full use of LyXLex.
2039 2003-06-04 André Pönitz <poenitz@gmx.net>
2041 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2043 2003-06-04 John Levon <levon@movementarian.org>
2045 * insettabular.C: back out tall table speed up. It was broken
2047 2003-06-03 Angus Leeming <leeming@lyx.org>
2049 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2050 Remove ViewCommand and UpdateCommand.
2052 * graphicinset.C (update): bug fix. Set the params before calling the
2054 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2055 BufferView cache to enable the InsetExternal::editCommand to be invoked
2056 from the frontends. Would not be needed if this were dispatched properly.
2057 (old_ascent_): variable removed.
2059 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2060 do any necessary conversions of external material. Also use the
2061 new GraphicsInset to display the inset within LyX.
2063 2003-06-03 Angus Leeming <leeming@lyx.org>
2065 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2066 and move it somewhere where InsetExternal can use it too.
2068 * Makefile.am: add the new files.
2070 * insetgraphics.[Ch]: make use of the new GraphicInset.
2072 2003-06-03 John Levon <levon@movementarian.org>
2075 * insetbibitem.[Ch]:
2078 * insetcommand.[Ch]:
2082 * insetexternal.[Ch]:
2086 * insetgraphics.[Ch]:
2088 * insetinclude.[Ch]:
2091 * insetlatexaccent.[Ch]:
2092 * insetmarginal.[Ch]:
2093 * insetminipage.[Ch]:
2100 * insetspecialchar.[Ch]:
2101 * insettabular.[Ch]:
2103 * insetthereom.[Ch]:
2106 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2108 * insetgraphics.[Ch]:
2109 * insetgraphicsParams.[Ch]: always store an absolute
2112 2003-06-02 André Pönitz <poenitz@gmx.net>
2116 * insetlatexaccent.C: remove duplicated call to metrics()
2118 2003-06-02 John Levon <levon@movementarian.org>
2120 * insettabular.C: fix resize of column width
2122 2003-06-02 John Levon <levon@movementarian.org>
2127 * insetparent.C: remove insetparent
2129 2003-06-02 André Pönitz <poenitz@gmx.net>
2136 * insetcollapsable.[Ch]:
2140 * insetgraphics.[Ch]:
2141 * insetinclude.[Ch]:
2142 * insetlatexaccent.[Ch]:
2143 * insetminipage.[Ch]:
2144 * insetnewline.[Ch]:
2147 * insetspecialchar.[Ch]:
2148 * insettabular.[Ch]:
2149 * insettext.[Ch]: unify first drawing phase
2152 * insetbase.h: move validate() to the base
2154 2003-05-31 Angus Leeming <leeming@lyx.org>
2156 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2158 2003-05-30 André Pönitz <poenitz@gmx.net>
2163 * insetcaption.[Ch]:
2164 * insetcollapsable.[Ch]:
2167 * insetgraphics.[Ch]:
2168 * insetinclude.[Ch]:
2169 * insetlatexaccent.[Ch]:
2170 * insetnewline.[Ch]:
2173 * insetspecialchar.[Ch]:
2174 * insettabular.[Ch]:
2176 * updatableinset.[Ch]: unify second drawing phase
2178 2003-05-30 John Levon <levon@movementarian.org>
2180 * insetgraphics.C: fix a bformat
2182 2003-05-29 John Levon <levon@movementarian.org>
2184 * insettabular.C: remove unused bufferOwner()
2186 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2188 * insettext.C (lockInsetInInset): adjust
2189 (getLabelList): use const_iterator, adjust
2190 (getInsetFromID): use const_iterator, adjust
2191 (addPreview): use const_iterator, adjust
2193 * insetwrap.C (clone): remove const_cast
2195 * insetnote.C (clone): remove const_cast
2197 * insetminipage.C (clone): remove const_cast
2199 * insetmarginal.C (clone): remove const_cast
2201 * insetfoot.C (clone): remove const_cast
2203 * insetfloat.C (clone): remove const_cast
2205 * insetert.C (clone): remove const_cast
2207 * delete commented same_id functions from a lot of files.
2209 2003-05-28 John Levon <levon@movementarian.org>
2215 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2217 * insetminipage.C: fix metrics (bug 1144)
2219 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2221 * insettext.C (saveLyXTextState): adjust
2222 (restoreLyXTextState): adjust
2225 (unlockInsetInInset): adjust
2226 (localDispatch): adjust
2227 (getLyXText): adjust
2229 * insettabular.C (insertAsciiString): adjust
2231 2003-05-27 André Pönitz <poenitz@gmx.net>
2234 * insetcollapsable.C:
2237 * insetlatexaccent.C:
2242 * insetspecialchar.C:
2244 * insettext.C: dim.w -> dim.wid
2246 2003-05-26 John Levon <levon@movementarian.org>
2248 * insettabular.C: avoid drawing all of a long table
2249 if it's not needed. A big speedup
2251 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2253 * remove same_id from function signatures, adjust
2255 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2257 * insettext.C (InsetText): adjust
2259 (setParagraphData): separate same_id cases, adjust
2260 (appendParagraphs): adjust
2261 (appendParagraphs): adjust
2263 2003-05-23 André Pönitz <poenitz@gmx.net>
2265 * insetbutton.h: whitespace
2267 * insettabular.C: more compact code
2269 * updatableinset.C: remove const_cast
2272 2003-05-23 Angus Leeming <leeming@lyx.org>
2274 * insetexternal.C (write): check how many lines are output.
2275 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2276 if the template has defined it.
2278 2003-05-23 Angus Leeming <leeming@lyx.org>
2280 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2282 2003-05-23 Angus Leeming <leeming@lyx.org>
2284 * insetfoot.C (latex):
2285 * inseturl.C (latex): rename fragile as moving_arg.
2287 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2289 * inseterror.C (localDispatch): comment out unused var.
2291 2003-05-22 Angus Leeming <leeming@lyx.org>
2293 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2294 passed through the LatexRunParams arg.
2296 2003-05-22 Angus Leeming <leeming@lyx.org>
2298 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2299 through the LatexRunParams arg.
2301 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2302 arg rather than through a global var.
2304 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2306 * insetspecialchar.C (dimension): use a string.
2308 2003-05-22 Angus Leeming <leeming@lyx.org>
2310 * insetbibtex.C (latex):
2311 * insetgraphics.C (latex):
2312 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2313 runparams rather than from the buffer itself.
2315 2003-05-22 Angus Leeming <leeming@lyx.org>
2317 * inset*.[Ch] (latex):
2318 passed a LatexRunParams parameter.
2320 * insetgraphics.C (latex): actually use it ;-)
2322 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2324 * insetfloat.C (addToToc): trivial compile fix
2326 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2328 * insettext.[Ch] (paragraph): delete unused function
2330 * insetfloat.C (addToToc): parlist simplfication
2332 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2334 * insetspace.[Ch]: added (new space insets)
2336 * inset.h: handle new space insets
2338 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2340 * insetfloat.C (addToToc): adjust
2342 2003-05-21 André Pönitz <poenitz@gmx.net>
2344 * insettext.[Ch]: fix drawing bug introduced earlier
2346 2003-05-19 André Pönitz <poenitz@gmx.net>
2348 * insetspecialchar.C: fix bug introduced yesterday
2350 2003-05-19 André Pönitz <poenitz@gmx.net>
2354 * insetcollapsable.[Ch]:
2358 * insetgraphics.[Ch]:
2359 * insetgraphicsParams.[Ch]:
2360 * insetlatexaccent.[Ch]:
2361 * insetminipage.[Ch]:
2362 * insetnewline.[Ch]:
2364 * insetspecialchar.[Ch]:
2365 * insettabular.[Ch]:
2366 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2368 2003-05-19 André Pönitz <poenitz@gmx.net>
2371 * insettext.C: more insetenv
2373 2003-05-16 André Pönitz <poenitz@gmx.net>
2376 * insetminimpage.[Ch]:
2377 * insetcollapsable.[Ch]: fix #832
2379 2003-05-16 André Pönitz <poenitz@gmx.net>
2382 * insetbibitem.[Ch]:
2386 * insetcollapsable.[Ch]:
2387 * insetcommand.[Ch]:
2390 * insetexternal.[Ch]:
2391 * insetfloatlist.[Ch]:
2392 * insetgraphics.[Ch]:
2393 * insetinclude.[Ch]:
2396 * insetlatexaccent.[Ch]:
2399 * insettabular.[Ch]:
2403 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2405 2003-05-13 André Pönitz <poenitz@gmx.net>
2408 * insetcollapsable.C:
2412 * insetwrap.C: tostr from own header
2424 * insetwrap.C: STRCONV
2427 2003-05-12 André Pönitz <poenitz@gmx.net>
2439 * insetwwrap.C: boost::format -> bformat all over the place
2441 2003-05-05 André Pönitz <poenitz@gmx.net>
2443 * insettext.h: add missing #include <map>
2445 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2447 * insettext.C (InsetText): parlist cleanup
2450 (insetUnlock): ditto
2452 (lockInsetInInset): ditto
2456 (searchBackward): ditto
2457 (collapseParagraphs): ditto
2459 2003-05-06 John Levon <levon@movementarian.org>
2461 * insetcaption.C: don't cast wrap inset to InsetFloat
2464 * insetfloat.C: remove unneeded type() function
2466 2003-05-05 André Pönitz <poenitz@gmx.net>
2470 * insettabular.[Ch]:
2471 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2472 replace getFirstParagraph() by getParagraphs()
2474 2003-05-03 John Levon <levon@movementarian.org>
2476 * insetcollapsable.h:
2477 * insetcollapsable.C:
2483 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2484 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2485 getCursor(). Remove explicit cursor hides.
2487 2003-05-02 André Pönitz <poenitz@gmx.net>
2489 * insettext.C: remove unneeded &*
2491 2003-04-30 John Levon <levon@movementarian.org>
2493 * insettabular.C: fix edit message
2495 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2497 * insettext.C (setFont): do not convert iterator -> pointer
2499 * insettabular.C (localDispatch): do not convert iterator -> pointer
2501 (tabularFeatures): ditto
2503 2003-04-29 André Pönitz <poenitz@gmx.net>
2505 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2507 2003-04-28 André Pönitz <poenitz@gmx.net>
2509 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2512 2003-04-25 André Pönitz <poenitz@gmx.net>
2514 * insetenv.C: derive from InsetText instead of InsetCollapsable
2516 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2518 * insetexternal.C (string2params): dont do anything if the string
2520 * insetgraphics.C (string2params): ditto
2521 * insetcommand.C (string2params): ditto
2522 * insetert.C (string2params): ditto
2523 * insetfloat.C (string2params): ditto
2524 * insetinclude.C (string2params): ditto
2525 * insetminipage.C (string2params): ditto
2526 * insettabular.C (string2params): ditto
2527 * insetwrap.C (string2params): ditto
2529 2003-04-24 André Pönitz <poenitz@gmx.net>
2531 * insetref.C: support for eqref
2533 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2535 * insetert.C (read): use ParagraphList::iterator.
2537 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * insetquotes.C (latex): comment some code and add warnings.
2541 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2543 * insetexternal.C (localDispatch): added a missing DISPATCHED
2545 2003-04-12 John Levon <levon@movementarian.org>
2547 * insetwrap.C (addToToc): fix a crash, conversion
2548 from while to for loop forgot to remove the explicit
2551 2003-04-10 John Levon <levon@movementarian.org>
2553 * insettabular.C (tabularFeature): make sure
2554 to update the dialog when we change something
2557 (getStatus): don't disable some lfuns (bug 939)
2559 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2561 * insettext.C (saveLyXTextState): adjust
2562 (localDispatch): adjust
2568 * insettabular.C (localDispatch): adjust
2570 (tabularFeatures): adjust
2572 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2574 * insettabular.C (searchForward,searchBackward): fix bug 782
2576 2003-04-07 John Levon <levon@movementarian.org>
2579 * insettext.C: clear status message on inset exit
2581 2003-04-03 John Levon <levon@movementarian.org>
2583 * insetcommand.C: return dispatched on DIALOG_UPDATE
2585 2003-04-02 John Levon <levon@movementarian.org>
2587 * insettabular.C: tab lfuns renamed
2589 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2591 * insettext.C (update): move towards ParagraphList
2592 (updateLocal): ditto
2594 (insetUnlock): ditto
2596 (lockInsetInInset): ditto
2597 (updateInsetInInset): ditto
2598 (localDispatch): ditto
2601 (resizeLyXText): ditto
2602 (searchBackward): ditto
2603 (collapseParagraphs): ditto
2606 * insetwrap.C (InsetWrap): adjust
2607 (addToToc): adjust and rewrite loop
2609 * insettext.[Ch] (paragraph): delete function
2611 * insettabular.C (moveNextCell): adjust
2612 (movePrevCell): adjust
2613 (insertAsciiString): adjust
2615 * insetfloat.C (InsetFloat): adjust
2618 * insetert.C (InsetERT): adjust
2619 (write): adjust, and rewrite loop
2620 (latex): adjust, and rewrite loop
2621 (linuxdoc): adjust, and rewrite loop
2622 (docbook): adjust, and rewrite loop
2623 (localDispatch): adjust
2624 (get_new_label): adjust
2626 2003-04-01 John Levon <levon@movementarian.org>
2628 From Alfredo Braunstein
2631 * insetbutton.C: add localDispatch()
2633 * insetcommand.C: return DISPATCHED when edit() called
2635 * insettext.C: fix bug 967
2637 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2639 * insettext.C: adjust
2641 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2643 * insettext.C (draw): adjust
2644 (crow): return a RowList::iterator not a Row*
2646 * insetminipage.C (localDispatch): adjust
2648 * insetert.C (localDispatch): adjust
2650 2003-03-31 John Levon <levon@movementarian.org>
2653 * insetgraphicsParams.C: use_gui moved to lyx_gui
2655 2003-03-31 John Levon <levon@movementarian.org>
2657 * insettext.C: Alert fix
2659 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2661 * insettext.C (ascent): adjust for RowList
2664 (getLyXText): adjust
2665 (toggleSelection): adjust
2667 * insetminipage.C (localDispatch): adjust for RowList
2669 * insetert.C (localDispatch): adjust for RowList
2670 (getMaxWidth): adjust for RowList
2672 2003-03-29 John Levon <levon@movementarian.org>
2674 * insetert.C: Alert cleanup
2676 2003-03-29 John Levon <levon@movementarian.org>
2678 * insettabular.C: Alert fix
2680 2003-03-28 John Levon <levon@movementarian.org>
2682 * insetfloat.C: reset label on INSET_MODIFY
2684 2003-03-28 John Levon <levon@movementarian.org>
2686 * insetgraphicsParams.C: read subcaptionText as a whole line
2689 2003-03-28 John Levon <levon@movementarian.org>
2691 * insettext.C: remove unused prototypes
2693 2003-03-25 Angus Leeming <leeming@lyx.org>
2695 * insetbibitem.C (localDispatch): repaint the view after modifying
2696 a bibitem inset in case the maximum InsetBibitem width has changed.
2698 2003-03-25 John Levon <levon@movementarian.org>
2701 * insettabular.C: LyXText renamings
2703 2003-03-24 John Levon <levon@movementarian.org>
2705 * insettext.C: remove some dead code. Fix bug 972 and
2706 related by posting a repaint in updateLocal(), and making
2707 the SEL functions set SELECTION.
2709 2003-03-22 John Levon <levon@movementarian.org>
2712 * inset.C: remove no-longer-needed topx_set
2714 * insetcollapsable.h:
2715 * insetcollapsable.C: remove dead code
2718 * insetert.C: rebreak the rows when a possible
2719 change in size is made, and reset the cursor
2722 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2724 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2725 topx_set. Fix drawing errors for clearInset(). Remove
2726 some unnecessary uses of topx, which should die.
2728 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2729 is no longer needed. Replace it with an ugly hack.
2731 2003-03-20 John Levon <levon@movementarian.org>
2734 * insetcollapsable.h:
2735 * insetcollapsable.C:
2743 * insettext.C: remove spurious font parameter
2744 from update(). Fix drawing of ERT insets inside
2745 insets (bug 966). Remove unused mark_dirty from
2746 tabular's updateLocal()
2748 2003-03-19 John Levon <levon@movementarian.org>
2757 * insetwrap.C: remove unused getter/setters
2759 2003-03-19 John Levon <levon@movementarian.org>
2761 * several files: bv->updateInset() doesn't take
2762 a bool mark_dirty any more
2764 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2766 * adjust for BufferView* arg removal from lyxtext.
2768 2003-03-17 John Levon <levon@movementarian.org>
2770 * most files: remove the "cleared" parameter
2771 to draw in favour of always clearing. Associated
2774 2003-03-16 John Levon <levon@movementarian.org>
2776 * insettext.C: remove unused s.refresh
2778 2003-03-13 Angus Leeming <leeming@lyx.org>
2780 * insettext.C (edit): replace Dialogs::updateParagraph with
2781 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2783 2003-03-13 André Pönitz <poenitz@gmx.net>
2785 * Makefile.am: insert insetenv
2787 * insethenv.[Ch]: new files, currently inactive
2789 2003-03-12 John Levon <levon@movementarian.org>
2799 * insettext.C: use new insetnewline
2801 2003-03-12 John Levon <levon@movementarian.org>
2803 * insettext.C: readToken became readParagraph
2805 2003-03-12 John Levon <levon@movementarian.org>
2807 * insettext.C: use parlist iterator for reading contents
2809 2003-03-12 John Levon <levon@movementarian.org>
2811 * insettext.C: name change to readToken()
2813 2003-03-11 André Pönitz <poenitz@gmx.net>
2815 * Makefile.am: insert insethfill
2817 * insethfill.[Ch]: new files
2819 2003-03-10 Angus Leeming <leeming@lyx.org>
2821 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2823 (hideDialog): calls the new static Dialogs::hide() method.
2825 * insetbibitem.C (edit):
2826 * insetbibtex.C (edit):
2827 * insetcite.C (edit):
2828 * insetcommand.C (localDispatch):
2829 * inseterror.C (d-tor):
2830 * insetert.C (showInsetDialog):
2831 * insetexternal.C (localDispatch, edit):
2832 * insetfloat.C (localDispatch, showInsetDialog):
2833 * insetfloatlist.C (edit):
2834 * insetgraphics.C (localDispatch, edit):
2835 * insetinclude.C (localDispatch, edit):
2836 * insetindex.C (edit):
2837 * insetlabel.C (edit):
2838 * insetminipage.C (localDispatch, showInsetDialog):
2839 * insetref.C (edit):
2840 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2841 resetPos, showInsetDialog, openLayoutDialog):
2842 * insettoc.C (edit):
2843 * inseturl.C (edit):
2844 * insetwrap.C (localDispatch, showInsetDialog):
2845 changes due to the changed MailInset interface.
2847 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2849 * insetfloat.h: Set default placement to an empty string.
2851 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2853 * insettext.C (latex): adjust call to latexParagraphs.
2855 2003-03-10 Angus Leeming <leeming@lyx.org>
2857 * mailinset.C: warn the user if the BufferView has not been cached.
2859 2003-03-10 Angus Leeming <leeming@lyx.org>
2861 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2863 * insetcommand.h (inset):
2864 * insetert.h (inset):
2865 * insetexternal.h (inset):
2866 * insetfloat.h (inset):
2867 * insetgraphics.h (inset):
2868 * insetinclude.h (inset):
2869 * insetminipage.h (inset):
2870 * insettabular.h (inset):
2871 * insetwrap.h (inset):
2872 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2874 2003-03-10 Angus Leeming <leeming@lyx.org>
2876 * insetcommand.C (string2params):
2877 * insetexternal.C (string2params):
2878 * insetfloat.C (string2params):
2879 * insetgraphics.C (string2params):
2880 * insetinclude.C (string2params):
2881 * insetminipage.C (string2params):
2882 * insettabular.C (string2params):
2883 * insetwrap.C (string2params): cure warning message about missing
2886 2003-03-09 Angus Leeming <leeming@lyx.org>
2888 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2889 it to communicate with the frontend dialogs.
2891 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2892 contents of this inset!
2894 2003-03-07 Angus Leeming <leeming@lyx.org>
2896 * inseterror.C (localDispatch): new method; calls edit() on
2899 2003-03-07 Angus Leeming <leeming@lyx.org>
2901 * insetbibitem.C (localDispatch):
2902 * insetbibtex.C (localDispatch):
2903 * insetlabel.C (localDispatch):
2904 rewrite as a switch.
2906 2003-03-07 Angus Leeming <leeming@lyx.org>
2908 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2909 it to communicate with the frontend dialogs.
2911 2003-03-07 Angus Leeming <leeming@lyx.org>
2913 * insetexternal.C: remove operator== and operator!= for
2914 InsetExternal::Params. They were used only by the old controller
2917 2003-03-07 Angus Leeming <leeming@lyx.org>
2919 * insetcommand.C (localDispatch):
2920 * insetexternal.C (localDispatch):
2921 * insetfloat.C (localDispatch):
2922 * insetinclude.C (localDispatch):
2923 * insetminipage.C (localDispatch):
2924 * insetwrap.C (localDispatch):
2925 add LFUN_INSET_DIALOG_UPDATE to the switch.
2927 2003-03-07 Angus Leeming <leeming@lyx.org>
2929 * insetcommand.C (string2params):
2930 * insetexternal.C (string2params):
2931 * insetfloat.C (string2params):
2932 * insetinclude.C (string2params):
2933 * insetwrap.C (string2params): use LyXLeX more.
2936 * insetexternal.[Ch]:
2938 * insetinclude.[Ch]:
2939 * insetwrap.[Ch]: change Mailer::name_ to be static.
2941 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2942 it to communicate with the frontend dialogs.
2944 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2947 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2949 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2951 * insettext.C (updateLocal): un-const function
2952 (updateLocal): adjust
2953 (collapseParagraphs): un-const function
2954 (collapseParagraphs): adjust
2956 2003-03-05 Angus Leeming <leeming@lyx.org>
2958 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2959 it to communicate with the frontend dialogs.
2961 2003-03-05 Angus Leeming <leeming@lyx.org>
2963 * insetcollapsable.C (draw): cache the BufferView.
2965 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2966 it to communicate with the frontend dialogs.
2968 2003-03-05 Angus Leeming <leeming@lyx.org>
2970 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2973 2003-03-05 Angus Leeming <leeming@lyx.org>
2975 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2977 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2978 it to communicate with the frontend dialogs.
2980 2003-03-05 Angus Leeming <leeming@lyx.org>
2982 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2983 it to communicate with the frontend dialogs.
2985 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2987 * insettext.C (collapseParagraphs): adjust
2988 (appendParagraphs): make it take a Buffer* instead of a
2989 BufferParams& as arg.
2990 (appendParagraphs): adjust
2992 2003-03-04 Angus Leeming <leeming@lyx.org>
2994 * insetbibitem.C (localDispatch):
2995 * insetbibtex.C (localDispatch):
2996 * insetcommand.C (localDispatch):
2997 * insetert.C (localDispatch):
2998 * insetlabel.C (localDispatch):
2999 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3001 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3003 * insettext.C (latex): adjust for ParagraphList::iterator
3005 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3007 * insetbutton.C (view): adjust for boost 1.30.0
3008 * insetcollapsable.C (view): ditto
3009 * insetgraphics.C (statusChanged): ditto
3011 * insettext.h: move paragraphs to be public.
3013 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3015 * insetnote.[Ch] (InsetNote): remove unused constructor
3017 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3019 * insetgraphics.C: added include "format.h"
3021 2003-02-27 Angus Leeming <leeming@lyx.org>
3023 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3026 2003-02-27 Angus Leeming <leeming@lyx.org>
3028 * insetbibitem.C (localDispatch):
3029 * insetbibtex.C (localDispatch):
3032 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3034 2003-02-26 Angus Leeming <leeming@lyx.org>
3036 * insetbibitem.[Ch] (localDispatch):
3037 * insetbibtex.[Ch] (localDispatch):
3038 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3040 * insetcommand.C (localDispatch):
3041 act only on receipt of LFUN_XYZ_APPLY.
3043 * insetert.C (localDispatch): reformat.
3044 add LFUN_XYZ_APPLY to the switch.
3046 2003-02-26 John Levon <levon@movementarian.org>
3048 * insettext.C: use RowPainter
3050 * inset.h: make helpers take const *
3052 2003-02-26 Angus Leeming <leeming@lyx.org>
3054 * insetcommand.[Ch] (localDispatch): new method.
3056 2003-02-26 Angus Leeming <leeming@lyx.org>
3058 * insetinclude.C (draw): cache the BufferView* using cache not
3059 PreviewImpl::setView
3061 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3063 * insetgraphics.C (draw)
3064 * insetinclude.C (draw): Eliminate also the other argument (owner
3065 inset inset) in the call to PreviewImage::image
3067 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3069 * insetgraphics.C (draw)
3070 * insetinclude.C (draw): Eliminate Buferview argument in call to
3073 2003-02-25 John Levon <levon@movementarian.org>
3075 * insetgraphicsParams.h:
3076 * insetgraphics.C: don't start a load process if
3077 the inset is set to NoDisplay (bug #920)
3079 2003-02-22 John Levon <levon@movementarian.org>
3082 * insetwrap.C: TocItem changed API (bug 913)
3084 2003-02-21 Angus Leeming <leeming@lyx.org>
3086 * insetcollapsable.[Ch] (cache, edit):
3087 * insetbutton.[Ch] (cache, edit): new methods to cache the
3088 BufferView in the draw method.
3090 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3091 simplify comunication between InsetCommand-derived classes and
3094 * insetbibitem.[Ch]:
3098 * insetfloatlist.[Ch]:
3102 * inseturl.[Ch]: small changes to reflect the new interface to the
3105 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3106 other, similar classes.
3108 * Makefile.am: add new files.
3110 2003-02-21 Angus Leeming <leeming@lyx.org>
3112 * updatableinset.h (setView, view): remove.
3113 * inset.h (view, cache): to be replaced by these.
3115 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3118 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3121 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3123 2003-02-21 Allan Rae <rae@lyx.org>
3125 * insetinclude.C (loadIfNeeded): ensure loading also works when
3126 child document is under version control.
3128 2003-02-17 André Pönitz <poenitz@gmx.net>
3130 * insetbib.[Ch]: Adjust access to bibkeys
3132 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3134 * insetquotes.C (dispString): remove use of acute accent for "'"
3137 2003-02-14 John Levon <levon@movementarian.org>
3139 * insettabular.C: changed method names in tabular.C
3141 2003-02-14 John Levon <levon@movementarian.org>
3145 * insetcollapsable.h:
3146 * insetcollapsable.C:
3150 * insettext.C: remove unused getParFromID()
3152 2003-02-13 John Levon <levon@movementarian.org>
3155 * insettext.C: remove unused beginningofMainBody()
3157 2003-02-08 John Levon <levon@movementarian.org>
3161 * insetcollapsable.h:
3162 * insetcollapsable.C:
3167 add nextChange(). Make allowSpellcheck() const. Add markErased().
3169 * insetert.C: ignore deleted text
3171 * insettabular.C: make sure to keep change tracking working
3174 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3179 * insettext.C: Use error messages with identical spelling and punctuation
3181 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3183 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3185 2002-12-17 Juergen Vigna <jug@lyx.org>
3187 * insettext.C (localDispatch): hopefully fixed cursor up down
3188 movement on leaving other insets.
3190 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3192 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3195 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3197 * insetgraphics.C (prepareFile): do not remove the extension of
3198 the file name if it is not the default extension for the given
3199 format (that is, in latex output, remove extension from foo.eps,
3200 but not from foo.epsi)
3202 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3204 * insettext.C (lfunMouseRelease): hackish solution to the "double
3207 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3209 * insetfloat.C (addToToc): use the floats name not its type
3210 * insetwrap.C (addToToc): ditto
3212 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3214 * insetnote.C (init): make label font smaller
3216 2002-12-04 John Levon <levon@movementarian.org>
3218 * insetinclude.C: ressurect setting of command name
3220 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3222 * insetquotes.C (dispString): disambiguate insert call
3224 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3226 * several files: ws changes
3228 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3230 * insetquotes.C (dispString): use string::insert for prepending a
3233 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3235 * insetparent.C (getScreenLabel): use boost::format
3237 * insetgraphics.C (prepareFile): use boost::format
3240 * insetfloatlist.C (latex): use boost::format
3242 * insetcaption.C (draw): use boost::format
3244 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3246 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3249 2002-11-20 Juergen Vigna <jug@sad.it>
3251 * insettabular.C (resetPos): temporary fix for endless loop in
3252 this function on a redraw.
3254 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3256 * insettabular.C (copySelection): STRCONV
3258 * insetinclude.C (uniqueID): STRCONV
3259 (latexString): ditto
3261 * insetgraphics.C: put VersionNumber inside anon namespace
3262 (createLatexOptions): STRCONV
3264 * insetcommandparams.C: include config.h
3266 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3268 * insetgraphicsParams.C (Write): use lyx::float_equal.
3269 Write height data correctly.
3270 (Read): zero scale when reading height data.
3272 2002-10-30 John Levon <levon@movementarian.org>
3274 * insetfloat.C (addToTOC): recursively traverse all
3275 contents looking for captions (fix #568)
3277 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3279 * insetexternal.C (doSubstitution): do not try to replace
3280 environment variables, this is done when executing the command
3282 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3284 * insetexternal.C (doSubstitution): change order of substitution
3285 to work around ReplaceEnvironmentPath brokenness
3287 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3289 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3291 * insetgraphicsParams.C (init, Write): associated changes
3292 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3293 InsetGraphicsParams::scale.
3295 2002-10-21 John Levon <levon@movementarian.org>
3297 * inset.h: remove unused DISPATCH_RESULT
3299 * insettext.C: sgml open/close tag now in sgml namespace
3301 2002-10-21 Angus Leeming <leeming@lyx.org>
3303 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3304 file path subdir/fig.eps when pasting it into a buffer in a different
3307 2002-10-16 John Levon <levon@movementarian.org>
3309 * insetspecialchar.C: remove \\protected_separator parsing
3311 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3313 * insetquote.C: fix LaTeX output of quotation marks.
3315 2002-10-14 Juergen Vigna <jug@sad.it>
3317 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3318 Backspace functions which confused the Undo handling.
3320 2002-10-09 Angus Leeming <leeming@lyx.org>
3322 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3323 BufferView::dispatch that turns off this optimisation when a new inset
3326 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3327 reload the BibTeX keys.
3329 2002-10-11 André Pönitz <poenitz@gmx.net>
3331 * insettext.h: handle LFUN_PRIOR/NEXT
3333 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3335 * insetfloat.C: fix bug with float settings
3336 (document default != float default).
3338 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3340 * insetwrap.C (addToToc): New method.
3341 (InsetWrap): Set layout to caption.
3343 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3345 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3347 2002-09-16 John Levon <levon@movementarian.org>
3349 * insettabular.h: hasSelection() needs to be public
3351 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3353 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3355 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3357 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3359 2002-09-11 André Pönitz <poenitz@gmx.net>
3361 * insettabular.C: implement LFUN_WORDSEL
3363 2002-09-10 John Levon <levon@movementarian.org>
3365 * insetinclude.h: remove unused param
3367 2002-09-09 John Levon <levon@movementarian.org>
3370 * insetinclude.C: remove noload, default to input
3372 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3374 * insetgraphics.C: disfuscated use of ']' in built output string.
3376 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3378 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3380 2002-08-29 Juergen Vigna <jug@sad.it>
3382 * insettabular.C (lfunMousePress): Pay attention where you set
3383 the x/y values as they depend on which inset in the tabular is
3384 actually locked. So you surely have to reset them if you (un)lock
3387 2002-08-29 André Pönitz <poenitz@gmx.net>
3389 * insetfootlike.h: rename include guard to ALL CAPS
3391 * insettext.C: swap object and first parameter for checkInsetHit calls
3392 as this functions has moved from BufferView to LyXText
3395 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3397 * insetgraphicsParams.C: remove local displayTranslator and use
3398 the one from graphics/GraphicsTypes.h.
3400 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3402 * insetfloat.C (wide): add BufferParams parameter
3404 * insetfloatlist.C (read):
3407 * insetfloat.C (latex):
3409 * insetcaption.C (draw): use LyXTextClass::floats()
3411 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3413 * insetoptarg.h: add std:: qualifier.
3415 2002-08-26 Juergen Vigna <jug@sad.it>
3417 * insettext.C (localDispatch): ditto.
3419 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3421 2002-08-25 John Levon <levon@movementarian.org>
3423 * inseturl.C: elide long URLs (bug 404)
3425 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3427 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3428 remove "Format Version <version_no.>" string from inset header
3431 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3433 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3434 a member of "grfx::Params" anymore.
3436 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3438 2002-08-24 John Levon <levon@movementarian.org>
3441 * insetoptarg.C: ws, pedantry ...
3443 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3445 * insettext.C (collapseParagraphs): pasteParagraph now in global
3447 (appendParagraphs): ditto
3449 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3451 * insetcite.C (latex): Remove spaces only after commmas.
3453 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3455 * insettext.C: remove NO_COMPABILITY stuff
3457 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * insettext.C (edit): use ParagraphList iterators
3461 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3462 (bibitemWidest): ditto
3464 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3466 * insettext.C: include <boost/bind.hpp>
3467 add using std::for_each
3468 (saveLyXTextState): use ParagraphsList::iterator
3469 (init): use for_each on paragraphlist iterators
3470 (InsetText): remove superflous setting cached_bview to 0
3471 (latex): reformat a bit
3472 (ascii): use paragraphlist iterators
3473 (validate): use for_each + boost bind
3474 (getLabelList): use paragraphlist iterators
3475 (deleteLyXText): use for_each + boost::bind
3476 (resizeLyXText): ditto
3477 (reinitLyXText): ditto
3478 (removeNewlines): use paragraphlist iterators
3479 (getParFromID): ditto
3480 (paragraph): use for_each + boost::bind
3481 (getInsetFromID): use paragraphlist iterators
3482 (getLabelList): typo fix
3484 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3486 * insettext.C (read): assign tmp to paragraphs after return from
3487 call to parseSingleLyXformat2Token
3490 2002-08-13 Angus Leeming <leeming@lyx.org>
3509 changes due to the changed LyXView interface that now returns references
3510 to member variables not pointers.
3512 2002-08-13 Angus Leeming <leeming@lyx.org>
3515 * insetcollapsable.h:
3518 * insettext.h: forward-declare WordLangTuple
3519 (selectNextWordToSpellcheck) constify return type.
3522 * insetcollapsable.C:
3525 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3527 2002-08-12 Angus Leeming <leeming@lyx.org>
3529 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3531 2002-08-12 Juergen Vigna <jug@sad.it>
3533 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3536 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3538 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3539 (bibitemWidest): ditto
3540 * insettext.[Ch]: ditto
3542 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3544 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3546 2002-08-09 Angus Leeming <leeming@lyx.org>
3548 * insetinclude.C (latexString): remove fudge now that I've found out
3549 how to enable LaTeX to find the file using input@path.
3551 2002-08-09 John Levon <levon@movementarian.org>
3554 * insettext.C: remove unused xpos
3556 2002-08-07 Juergen Vigna <jug@lyx.org>
3558 * insettabular.C (localDispatch): make delete not put the stuff
3559 in the clipboard only do this on a cut operation.
3561 * insettext.C (localDispatch): make delete and backspace not put
3562 selected stuff to the clipboard.
3564 2002-08-07 André Pönitz <poenitz@gmx.net>
3567 * insetcollapsable.[Ch]:
3571 * insettabular.[Ch]:
3572 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3574 2002-08-06 John Levon <levon@movementarian.org>
3578 * insetcollapsable.h:
3579 * insetcollapsable.C:
3585 * insettext.C: use WordLangTuple for spellcheck
3587 2002-08-06 Angus Leeming <leeming@lyx.org>
3589 * insetinclude.C: add a monitor to the previewed image, so that the
3590 image is refreshed if the \input-ed file changes.
3592 2002-08-04 John Levon <levon@movementarian.org>
3595 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3597 2002-08-02 Angus Leeming <leeming@lyx.org>
3599 * insetcommandparams.[Ch] (preview): new methods returning and setting
3600 a new bool preview_ flag.
3601 (read): read this flag.
3602 (operator==): add flag to check.
3604 * insetinclude.C (write): output new preview() flag.
3605 (previewWanted): use this flag.
3607 2002-08-02 Angus Leeming <leeming@lyx.org>
3609 * insetcollapsable.[Ch] (addPreview):
3610 * insettabular.[Ch] (addPreview):
3611 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3612 for insets in insets.
3614 2002-08-02 Angus Leeming <leeming@lyx.org>
3616 * insetcite.C: fix typo.
3618 * insetgraphics.C: kill current_view and instead cache the BufferView
3621 * insetinclude.C: kill current_view and pass the BufferView to the
3622 PreviewedInset so that it can cache it.
3624 2002-08-01 Angus Leeming <leeming@lyx.org>
3626 * inset.h (generatePreview): renamed as addPreview.
3627 (generatePreview): new method. Allows code to be moved out of
3628 math_nestinset.C and into the new PreviewedInset class.
3630 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3631 add previews to the inset when \input-ing LaTeX.
3633 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3635 * several files: strip,frontStrip -> trim,ltrim,rtrim
3637 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3639 * insetbib.C (latex): modify because of strip changes
3641 * insetnote.C (InsetNote): ditto
3643 2002-07-26 Juergen Vigna <jug@sad.it>
3645 * insettabular.C (searchForward): check for lastcell if we
3646 had a locking inset.
3648 2002-07-25 Juergen Vigna <jug@sad.it>
3650 * insettabular.C (insetMotionNotify): Don't update the screen
3651 if we didn't do nothing.
3652 (searchForward): last cell was not checked.
3654 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3656 * insetfloat.C (read, write): Allow default placement
3657 (floatPlacement_ is empty).
3659 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3661 * insetminipage.h (noFontChange):
3662 * insettabular.h (noFontChange):
3663 * insetfootlike.h (noFontChange):
3664 * insetfloat.h (noFontChange): return true
3666 * inset.h (noFontChange): new method, defaulting to false
3668 2002-07-22 Herbert Voss <voss@lyx.org>
3670 * insetgraphicsParams.[Ch]: support size_type for old docs
3672 2002-07-22 Herbert Voss <voss@lyx.org>
3675 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3678 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3680 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3682 * insetlatexaccent.h: do not include "lyxlex.h"
3684 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3687 * insetlatexaccent.C:
3691 * insetbib.C: #include "lyxlex.h"
3697 * insettext.C: use BufferParams::getLyXTextClass
3700 * insetfloat.C (addToToc): new method. Add to toclist the entries
3701 corresponding to Caption layouts
3702 (InsetFloat): when creating a new float, set the layout to "Caption"
3704 2002-07-21 Herbert Voss <voss@lyx.org>
3706 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3707 image relevant part into graphics/GraphicsImgae.C
3709 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3711 * insettoc.C (ascii):
3712 * insetfloatlist.C (ascii): change to use the new Toc functions
3713 instead of stuff that was in Buffer
3715 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3717 * insettext.C (localDispatch): BufferView::Dispatch has been
3718 renamed to BufferView::dispatch
3720 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3722 * insetgraphicsParams.C (as_grfxParams): use the new
3723 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3724 1.2.0 patch, and I do not really know how to adapt it to the new
3725 grfx::Cache world. Angus, please could you have a look?
3727 2002-05-01 Herbert Voss <voss@lyx.org>
3729 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3731 2002-07-18 Angus Leeming <leeming@lyx.org>
3733 * insetgraphics.C: clean-up comments (from Herbert).
3734 add a new checksum variable to the cache. Use it in PrepareFile.
3735 (draw): start monitoring the file for a change.
3736 (prepareFile): re-arrange a little to avoid unnecessary steps.
3738 2002-07-17 Angus Leeming <leeming@lyx.org>
3740 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3741 a method rather than to the signal directly.
3743 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3745 * insettext.C: use view_state_changed, switchKeyMap
3747 2002-07-17 Herbert Voss <voss@perce.de>
3749 * insetgraphics.C (prepareFile): keep the extension when
3750 exporting to nice file
3752 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3754 * insetcite.C (getNatbibLabel):
3755 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3757 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3759 * insetgraphics.C: use ->isDrawable()
3761 2002-07-12 Angus Leeming <leeming@lyx.org>
3763 * insetgraphics.C: use the new smart loading capabilities of the image
3766 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3768 * insettabular.C (edit): Move into correct cell when entering a
3771 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3774 2002-07-05 Angus Leeming <leeming@lyx.org>
3776 * inset.h (generatePreview): new virtual method.
3778 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3780 * insetcommandparams.[Ch] (operator=): move out of class
3781 (operator!): move out of class
3783 2002-07-04 André Pönitz <poenitz@gmx.net>
3785 * insetcommandparams.[Ch]: new files
3787 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3789 2002-06-15 Herbert Voss <voss@perce.de>
3791 * insetgraphics.C (prepareFile): bugfix; return always
3792 files without extension
3794 2002-06-28 Angus Leeming <leeming@lyx.org>
3796 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3797 rename asGParams -> as_grfxParams.
3799 * insetgraphics.C: reflect above change.
3801 2002-06-26 Angus Leeming <leeming@lyx.org>
3803 * insetgraphics.h: use boost::scoped_ptr in preference to
3806 2002-06-26 Angus Leeming <leeming@lyx.org>
3808 * insetgraphics.C: moved the image loading stuff into a new class
3809 grfx::Loader. Simplifies this file enormously.
3811 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3813 * insetgraphicsParams.C: changes aassociated with moving
3814 grfx::DisplayType out of grfx::GParams.
3816 2002-06-26 André Pönitz <poenitz@gmx.net>
3818 * insetgraphics.C: use os::external_path where necesaary according to a
3819 patch from Claus Hentschel)
3821 2002-06-25 Angus Leeming <leeming@lyx.org>
3823 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3824 generating a pixmap once the graphics file is loaded into memory.
3825 The current_view ugliness that was in grfx::ModifiedImage has been
3826 moved here now that grfx::ModifiedImage is no more.
3828 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3830 * insettext.C: layout as layout
3832 2002-05-28 André Pönitz <poenitz@gmx.net>
3834 * insetfloatlist.h: remove source of compiler warning
3836 * insetref.C: tiny whitespace
3838 2002-06-15 Herbert Voss <voss@perce.de>
3840 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3841 and take always convert when no userdefined converter was
3843 (latex) small changes in the lyxerr output
3845 2002-06-15 LyX Development team <lyx@rilke>
3847 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3848 mixed content. Small white spaces clean.
3850 2002-06-14 Angus Leeming <leeming@lyx.org>
3852 * inseetexternal.C: remove the using std::difftime declaration.
3854 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3856 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3858 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3860 * insetquotes.C (draw): fix drawing of double quotes
3862 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3864 * insettabular.C: s/scrollCB/scrollDocView/
3866 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3868 * insettext.C: change of topCursorVisible()
3871 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3874 * insettext.C: rename/change of LyXScreen
3876 2002-06-07 Angus Leeming <leeming@lyx.org>
3878 Fixes needed to compile with Compaq cxx 6.5.
3880 all c-library variables have been moved into namespace std.
3881 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3883 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3885 * insetinclude.C (uniqueID):
3886 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3887 conflicted with some AIX headers.
3889 2002-05-31 Juergen Vigna <jug@sad.it>
3891 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3895 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3897 * insetexternal.C (clone): fix () bug when using new
3898 (updateExternal): don't only look for difftime in global scope
3900 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3902 * insettabular.C: add const
3904 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3906 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3907 file name, in case there are weird characters like ',' in there.
3910 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3912 * switch from SigC signals to boost::signals.
3914 2002-05-28 André Pönitz <poenitz@gmx.net>
3916 * insets/insetgraphicsParams.[Ch]:
3917 put in inset related stuff from src/graphic
3919 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3927 * insetcollapsable.C:
3928 * insetcollapsable.h:
3956 * inseturl.h: use mouse_state. Kill insetKeyPress
3958 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3963 * insetcollapsable.C:
3966 * insetlatexaccent.C:
3968 * insetspecialchar.C:
3970 * insettext.C: name change for font metrics
3972 2002-05-24 Juergen Vigna <jug@sad.it>
3974 * insetgraphics.h: include inset.h first (for LString.h)
3976 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3978 * insettext.C: screen moved
3980 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3998 * inseturl.C: LyXView moved into frontends/
4000 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4005 * insetcollapsable.C:
4009 * insetgraphicsParams.C:
4010 * insetlatexaccent.C:
4012 * insetspecialchar.C:
4014 * insettext.C: move Painter to frontends/
4016 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4018 * insettabular.h: use more specific smart_ptr header.
4019 * insettext.h: ditto
4021 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4024 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4026 * insettext.C: clear selection on paste (bug 393)
4028 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4030 * insettext.C (latex): Honor the moving_arg argument.
4032 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4034 * insetfoot.C (latex): if a footnote is in a title layout, then it
4035 is a \thanks. And then, its contents is a moving argument.
4037 2002-05-14 Juergen Vigna <jug@sad.it>
4039 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4042 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4044 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4045 when using options "Full author list" or "Upper case".
4047 2002-05-14 Herbert Voss <voss@perce.de>
4049 * insetgraphics.C (prepareFile): allow files with same name
4051 (readFigInset): set the flags from old figinset in the right
4053 (findTargetFormat): more comments
4055 2002-05-14 Juergen Vigna <jug@sad.it>
4057 * insettext.C (edit): tell checkAndActivateInset() that we don't
4058 have a button press.
4059 (checkAndActivateInset): if button < 0 we don't have a button press
4060 on the inset and os we won't call edit on it if it's not a Highly
4061 editable inset (then we have to enter it).
4063 2002-05-13 Juergen Vigna <jug@sad.it>
4065 * insetcollapsable.C (insetButtonRelease): returned wrong return
4068 2002-05-09 Juergen Vigna <jug@sad.it>
4070 * insetcollapsable.C (edit): first_after_edit should only be
4071 set to true if we enter this inset and it was collapsed so we
4072 open it up. This is needed to reclose it after a search/replace
4073 or spellcheck function opened it and was negative.
4075 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4077 * insetfloat.C (latex): Return correct value.
4079 2002-05-04 Herbert Voss <voss@perce.de>
4081 * InsetgraphicsParams.C (read): fix bug with WH
4083 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4085 * insetfloat.C (latex): More sensible latex output
4086 (fix the problem with endfloat).
4088 2002-05-02 José Matos <jamatos@fep.up.pt>
4090 * insetgraphics.C (validate): acess params as everyone else.
4092 2002-05-03 Juergen Vigna <jug@sad.it>
4094 * insettabular.C (fitInsetCursor): recalculate the cursor position
4097 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4099 * InsetgraphicsParams.[Ch]: whitespace.
4101 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4103 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4104 float type do not exist.
4106 2002-04-28 Herbert Voss <voss@perce.de>
4108 * insetgraphics.C (latex): fix bug with missing file-extension.
4109 LaTeX still allows a missing "eps" or "ps".
4111 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4113 * insetfloat.C (c-tor, wide): translate the name of the float.
4115 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4117 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4118 when using natbib and make it work efficiently. Must emphasise that the
4119 real work is Herbert's.
4121 2002-04-23 Herbert Voss <voss@perce.de>
4123 * insetgraphic.C (prepareFile): fix bug with overwriting and
4124 deleting an existing *.eps-file in the doc-dir
4126 2002-04-23 Juergen Vigna <jug@sad.it>
4128 * insettabular.C (drawCellSelection): fix off by 1 error.
4130 2002-04-22 Juergen Vigna <jug@sad.it>
4132 * insettabular.C (setFont): rewoke full selection if it was asked,
4133 after we changed all we had to change.
4135 * insettext.C (insetUnlock): code was uninitialized in some situations.
4137 2002-04-19 Herbert Voss <voss@perce.de>
4139 * insetgraphic.C (prepareFile): return filename without
4140 extension if we only export without compiling
4142 2002-04-19 Juergen Vigna <jug@sad.it>
4144 * insettext.C (draw): call a fullRebreak on the row where we had a
4145 change and reset the cursor and selection-cursors.
4147 * insettabular.C (insetUnlock):
4148 (insetButtonPress): call an update before setting the_locking_inset = 0
4149 as otherwise we don't repaint!
4150 (update): reset the cursor position when we changed dimensions as
4151 otherwise our cursor may be on the wrong spot.
4153 2002-04-18 Juergen Vigna <jug@sad.it>
4155 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4156 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4157 redraw otherwise we won't redraw.
4159 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4160 not really right before, but I only discovered this with the last
4161 changes to Page up/down.
4163 2002-04-17 Juergen Vigna <jug@sad.it>
4165 * insettext.C (checkAndActivateInset): simplified as we now have the
4166 edit(bv, bool) call.
4168 * insettext.h: changed behind variables to front variables to be
4169 equal to the one in the edit call (as it is for that they are used).
4171 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4173 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4174 not output anything at all!
4176 2002-04-16 Juergen Vigna <jug@sad.it>
4178 * insettabular.C (insetButtonPress):
4179 (insetUnlock): call a redraw on unlocking the cell inset.
4181 * insettext.C (insetButtonPress): same as below.
4182 (lockInset): new function to set initial values when inset should
4184 (insetButtonPress): use above function.
4185 (insetUnlock): don't force a repaint only set the updateStatus. The
4186 outside world should repaint if it thinks it should be done!
4188 * insettabular.C (insetButtonPress): init values if not set as locked
4189 as we are locked if someone presses on us and don't call the edit()
4190 call of the InsetText to lock it do it as BufferView does it!
4192 * inset.h (insetInInsetY): make func const and return an int.
4195 * insetcollapsable.C: adapt the above changed function.
4197 2002-04-15 Juergen Vigna <jug@sad.it>
4199 * insettext.C (getCursorPos): return relative position as to be able
4200 to give them directly to the edit() call.
4201 (edit): we have to set also x_fix as it is not set inside the
4202 setCursorFromCoordinates call!
4203 (insetMotionNotify): ditto.
4205 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4207 * insetbib.C (getKeys): strip leading '\t's from the line too.
4208 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4210 2002-04-12 Juergen Vigna <jug@sad.it>
4212 * insettext.h: added cix() helper function and use it where appropriate
4214 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4216 * insetgraphics.C (prepareFile): fix bug when graphics is a
4219 2002-04-12 Juergen Vigna <jug@sad.it>
4221 * insettext.C (insertInset): remove unneeded code!
4222 (updateLocal): fitCursor() fixes.
4223 (collapseParagraphs): fix a possible problem when having a selection
4224 and collapsing the paragraphs.
4226 2002-04-08 Herbert Voss <voss@perce.de>
4228 * insetgraphic.C (write): write the rotating angle as
4229 a float as is. test only for != 0.0
4231 2002-04-11 Juergen Vigna <jug@sad.it>
4233 * insettext.C: new function ciy() and use it for setting inset_y.
4235 * insetert.C (draw): fix the x return for collapsed version.
4237 2002-04-07 Herbert Voss <voss@perce.de>
4239 * insetgraphic.C (readFigInset): fix bug with subcaption and
4242 2002-04-08 Herbert Voss <voss@lyx.org>
4244 * insetgraphicsparam.C: forgot special option and delete old
4247 2002-04-05 Juergen Vigna <jug@sad.it>
4249 * insettext.C (localDispatch): make a CURSOR update if we inserted
4252 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4254 * insetfloatlist.C (getScreenLabel):
4255 (latex): use Floating::listName
4256 (validate): new method
4258 2002-04-03 José Matos <jamatos@fep.up.pt>
4260 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4262 * insetfoot.[Ch] (docbook): added forgotten method.
4264 2002-04-03 Juergen Vigna <jug@sad.it>
4266 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4267 way as in Bufferview_pimpl.
4269 2002-04-03 Allan Rae <rae@lyx.org>
4271 * insetgraphics.C (latex): one % too many makes living on the bleeding
4272 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4274 2002-03-28 Herbert Voss <voss@lyx.org>
4276 * insetgraphic.C (latex): simplify the code for the latex
4277 output when the file doesn't exist
4279 2002-03-29 Juergen Vigna <jug@sad.it>
4281 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4284 * insettabular.C (edit): call fitCursor().
4286 * insettext.C (insetButtonPress): change behaviour of no_selection
4287 to the one in the BufferView selection_possible and fix the spurious
4288 selection bug with it.
4289 (localDispatch): revoke selection on BREAK... functions.
4291 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4293 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4295 2002-03-28 Juergen Vigna <jug@sad.it>
4297 * insettabular.C (insetAllowed): return true as default value otherwise
4298 we're not able to insert insets inside paragraphs of an not locked
4301 2002-03-27 Herbert Voss <voss@lyx.org>
4303 * insetgraphicsparam.C: change c%, p% to col%, page%
4305 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4307 * insetspecialchar.C (isLineSeparator): disable the nice code to
4308 allow linebreaks after hyphenation and menu separators.
4310 2002-03-26 Herbert Voss <voss@lyx.org>
4312 * insetgraphics.C (figinsetRead): set the right lyxview
4314 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4316 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4317 $\backslash$ and pass a "string const &" to the function.
4318 (prepareFile, latex): use Path rather than MakeAbsPath.
4320 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4322 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4323 proper fix to the graphics cache.
4324 (latex): "really" nice output if the file is not found ;-)
4326 2002-03-26 Juergen Vigna <jug@sad.it>
4328 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4329 (collapseParagraphs): fixed inserting of separator ' '
4331 * insettabular.C (insertAsciiString): only check for buffer lenght
4332 not if we have \t or \n inside the buffer as if we don't have we only
4333 have 1 cell and that's it!
4335 * insetert.C (close): don't collapse if inlined.
4337 2002-03-25 Herbert Voss <voss@lyx.org>
4339 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4340 graphics file does not exist.
4342 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4344 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4345 path when preparing export.
4347 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4348 no longer MakeRelPath.
4350 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4352 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4353 Used to determine the absolute path to the graphics file in the
4354 graphics cache and only in the graphics cache.
4355 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4356 make graphics file name absolute if it is stored as a relative path.
4358 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4359 make graphics file name absolute if it is stored as a relative path.
4361 * insettext.C (edit): emit an updateParagraph signal on entering a text
4362 inset. Needs to be emitted when leaving the inset also.
4364 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4366 * all files: ws cleanup
4368 * Makefile.am: remove ld -r stuff
4370 2002-03-21 Juergen Vigna <jug@sad.it>
4372 * insettext.C (appendParagraphs): new function added to append
4373 the paragraphs to this insets paragraphs.
4375 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4377 * Makefile.am: special rules if partial linking
4379 2002-03-19 Juergen Vigna <jug@sad.it>
4381 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4383 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4385 * insetgraphics.C: Clean up Baruch's comments a little.
4386 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4388 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4391 * insettheorem.C: wrap warnings
4393 * insetgraphics.C: improve messages, move cached_status_
4394 setting to safer place
4396 2002-03-18 Juergen Vigna <jug@sad.it>
4398 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4400 (localDispatch): ditto
4402 * insettext.C (edit): removed unneeded showCursor calls.
4403 (localDispatch): ditto.
4405 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4407 * insetgraphics.h: remove display() method.
4409 2002-03-11 Juergen Vigna <jug@sad.it>
4411 * insetgraphics.C (draw): hack to fix the redrawing bug.
4412 (draw): seems this fixes #268 (force redraw of row if we changed).
4414 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4415 this inset text (don't know why I missed this earlier).
4417 2002-03-08 Juergen Vigna <jug@sad.it>
4419 * insettabular.C (updateLocal): do a FULL update if we're not locked
4420 and only a CELL update is asked.
4422 * insettext.C (updateInsetInInset): update insets inside inset also
4423 if it isn't inside the_locking_inset.
4425 * insettabular.C (updateInsetInInset): ditto.
4427 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4429 * insetexternal.C (doSubstitution): check whether we are using a
4430 temp dir for defining $$FPath
4432 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4435 * insettext.C: remove #include "WorkArea.h".
4437 2002-03-06 Juergen Vigna <jug@sad.it>
4439 * insettext.C (draw): fixed frame redrawing.
4440 (clear): forgot to set the inset_owner of the paragraph.
4442 * insetert.C (status): pay attention the bv can be 0 here!
4443 (getMaxWidth): add the default leftMargin
4445 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4447 * insetert.C (getMaxWidth): make w unsigned int.
4449 2002-03-05 Juergen Vigna <jug@sad.it>
4451 * insetert.C (status): change behaviour of Inlined.
4452 (getMaxWidth): added for new inlined behaviour.
4454 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4456 * insetnote.h (linuxdoc, docbook): add empty methods.
4457 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4458 before being initialized.
4460 2002-03-05 Juergen Vigna <jug@sad.it>
4462 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4463 only that one in the inset. Should be enough.
4464 (updateLocal): set the selection cursor always if we don't have a
4465 selection to be sure it's set!
4467 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4469 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4471 * insettext.C (clear): a gross hack to set layout on a newly
4474 2002-03-04 Juergen Vigna <jug@sad.it>
4476 * insettabular.C (localDispatch): inserted handling of
4477 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4478 (insertAsciiString): new helper function.
4480 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4482 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4485 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4487 * insettext.C (InsetText): initalize newly created par with
4488 default layout. add bufferparams parameter
4491 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4492 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4493 * insetert.[Ch] (InsetERT): ditto
4494 * insetfloat.[Ch] (InsetFloat): ditto
4495 * insetfoot.[Ch] (InsetFoot): ditto
4496 * insetfootlike.[Ch] (InsetFootLike): ditto
4497 * insetmarginal.[Ch] (InsetMarginal): ditto
4498 * insetminipage.[Ch] (InsetMinipage): ditto
4499 * insetnote.[Ch] (InsetNote): ditto
4500 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4502 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4504 * insettext.C: layout as string
4506 * insetinclude.C: layout as string
4508 * insetert.C: layout as string
4510 * insetbib.C: layout as string
4512 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4515 * insettabular.C: remove #include "lyx_gui_misc.h".
4517 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4522 * inset.h: remove figinset, yahoo !
4524 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4526 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4527 copy c-tor and initialise member variables in the correct order.
4529 2002-02-28 Juergen Vigna <jug@sad.it>
4531 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4533 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4535 * inset.h: ... and add a better one here.
4537 * insetcommand.C (insetButtonRelease): remove that one which was a
4540 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4542 * insetcommand.C (insetButtonRelease): ... and move it here.
4544 * inseturl.h: remove insetButtonRelease from there...
4546 2002-02-26 Juergen Vigna <jug@sad.it>
4548 * inseturl.h: Added a insetButtonRelease call returning true as
4551 * insetlabel.C (edit): Fixed wrong update handling after change I
4552 leave in the wrong code for the one who wrote it to remove and have
4553 a look what he did wrong.
4555 * insettabular.C (localDispatch): force a SELECTION update if we
4556 had a selection and we passed the event down to the inset (fix #213)
4557 (localDispatch): handle font changing stuff when we have a cell
4558 selection so that the selection is not rewoked. I don't really like
4559 this fix, but it's the only way I see to do it right now.
4561 2002-02-22 Juergen Vigna <jug@sad.it>
4563 * insettext.C (insetUnlock): set the cursor to the second paragraph
4564 if available and if the first one is empty (fix #191).
4566 2002-02-20 Juergen Vigna <jug@sad.it>
4568 * insettext.C (getDrawFont): implemented this function to call the
4569 one of the owner if present as the owner normally knows what to do
4572 * insetert.C: implement getDrawFont() function and comment out all
4573 the crap for setting a special latex font inside this inset.
4574 (InsetERT): added a Lanugage parameter to this constructor.
4576 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4577 change the font for being drawn on screen (used only in InsetERT for
4580 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4581 and also above (was missing).
4582 (updateLocal): don't remove the cell selection if we have one this
4583 should be done where we really want to remove it.
4585 2002-02-20 José Matos <jamatos@fep.up.pt>
4587 * insetinclude.h: include_label made string const.
4589 * insetinclude.C (InsetInclude): moved include_label initialization.
4592 (validate): fix support for temporary directory, for docbook and
4595 * insetgraphics.h : new private member, graphic_label, that holds
4596 the entity name that defines the graphics location (SGML).
4598 * insetgraphics.C (unique_id): new function to give a unique label
4601 (validate): the file locatation is given by an entity reference.
4603 2002-02-18 Herbert Voss <voss@lyx.org>
4605 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4607 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4609 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4610 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4612 2002-02-18 José Matos <jamatos@fep.up.pt>
4614 * insetinclude.C (validate): some code only applies to latex buffers,
4615 it was made conditional.
4617 2002-02-12 Herbert Voss <voss@lyx.org>
4619 * insetgraphics.C: (prepareFile) do not check at this time
4620 if the file is present.
4622 2002-02-12 Herbert Voss <voss@lyx.org>
4624 * insetgraphics.C: latex(), return the correct newlines
4626 2002-02-13 José Matos <jamatos@fep.up.pt>
4628 * inseturl.C (docbook): escape & in url.
4630 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4632 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4633 after HYPHENATION and MENU_SEPARATOR
4635 * inset.h (isLineSeparator): new method, returns false by default.
4637 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4639 * insetert.C (status): do not update the text inset, but the ERT
4642 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4644 * insetnote.C: use notebg for background
4646 2002-02-08 Herbert Voss <voss@lyx.org>
4649 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4650 prevent LyX from unzipping when this should be handled
4651 by latex vis the graphic.cfg.
4654 2002-02-08 Herbert Voss <voss@lyx.org>
4656 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4657 exists, than return filename with extension
4659 2002-02-06 Herbert Voss <voss@lyx.org>
4661 * insetgraphic.C: prepareFile(): don't convert the file, when
4662 it's not viewed in LyX. Saves a lot of time when opening a
4665 2002-02-05 Herbert Voss <voss@lyx.org>
4668 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4669 and adding a rotate bool similiar to subcaption
4671 2002-02-04 Herbert Voss <voss@lyx.org>
4674 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4675 similiar view to the LaTeX one. Get zipped files work.
4677 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4679 * insetgraphicsParams.C (init): set display to DEFAULT.
4680 No longer #include "lyxrc.h".
4682 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4684 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4685 for now (so that the code compiles).
4687 2002-02-02 Herbert Voss <voss@lyx.org>
4689 * insetgraphic.C: delete inVariant() and some minor changes
4690 * insetgraphicsParams.[C]:
4692 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4694 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4695 interogate lyxrc.display_graphics before diaplaying the graphic.
4697 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4698 InsetGraphicsParams::DisplayType.
4700 2002-01-31 Herbert Voss <voss@lyx.org>
4702 * insetgraphic.C: (readfigInset) set display to pref-default
4704 2002-01-30 Herbert Voss <voss@lyx.org>
4706 * insetgraphic.C: get the filetyp from it's contents
4707 * insetgraphicparams.C: add token scale and lyxrc.display when
4708 creating a new inset
4710 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4712 * figinset.C: added using std::ios directive.
4714 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4716 * figinset.C (runqueue): open translation file in binary mode (for
4719 2002-01-27 Herbert Voss <voss@lyx.org>
4721 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4722 all options and to be sure that the old figinsets are correct
4724 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4725 structure and to support all lengths as LyXLength. The Parameter
4726 structure changed again, but reading of "old" 1.2 graphic insets
4729 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4731 * insetert.h (forceDefaultParagraphs): Added
4733 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4735 * insettabular.C (getMaxWidth):
4736 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4738 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4740 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4741 of LyXLength::inPixels
4743 * inset.C (latexTextWidth):
4744 * insetminipage.C (latexTextWidth): new method, which implements
4745 the equivalent of the LaTeX macro \textwidth
4747 * insetminipage.C (getMaxWidth): use latexTextWidth
4749 2002-01-18 Juergen Vigna <jug@sad.it>
4751 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4753 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4755 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4757 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4760 2002-01-17 Juergen Vigna <jug@sad.it>
4762 * insettabular.C (lockInsetInInset): same change as in insettext.
4764 * insettext.C (draw): width() function was called without setting
4765 the right top_x which could lead to wrong insetWidth setting!
4766 (lockInsetInInset): call edit instead of calling lockInset if we
4767 have to lock an inset inside!
4768 (edit): we have to also tell the inset that we have to redraw the
4769 frame on an edit call if this inset draws a frame only if locked.
4771 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4773 * insetbib.C (getFiles): uncomment Path variable.
4775 2002-01-16 Juergen Vigna <jug@sad.it>
4777 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4780 2002-01-16 Allan Rae <rae@lyx.org>
4782 * insetinclude.C (docbook): someone forgot a ";"
4784 2002-01-16 José Matos <jamatos@fep.up.pt>
4786 * figinset.C (docbook): removed a old place holder "@".
4787 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4788 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4789 ascii text version, clearly guarded inside a CDATA section.
4790 (docbook): in docbook 4, inlinegraphics is empty.
4791 * insettabular.C (linuxdoc): export the ascii version of the table
4792 inside a CDATA section.
4794 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4796 * insetparent.C (InsetParent):
4797 * insetgraphicsParams.C (Write):
4799 * insetgraphics.C (prepareFile):
4802 * insetexternal.C (executeCommand):
4803 (doSubstitution): use Buffer::filePath
4805 * insetbib.C (getFiles): add a #warning for Angus
4807 * insetgraphics.C: Add a remark about how filenames should be
4808 considered to be relative to buffer (but absolute is still allowed)
4809 (draw): do not try to get status if lyxrc.use_gui is false
4811 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4814 * insetcollapsable.[Ch]:
4815 * insettabular.[Ch] (searchForward, searchBackward): change the
4816 bool const & params to bool.
4818 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4819 to avoid the name clash with InsetCollapsable's methods of the same
4820 names but different functionality.
4822 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4824 * insettext.C (ascii): use lyx::count rather than countChar.
4826 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4828 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4830 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4832 * insetgraphics.C (updateInset): do not try to render image if
4833 lyxrc.use_gui is false (bug #104)
4835 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4836 if file does not exist
4838 * figinset.C (browseFile): add shortcuts to directory buttons
4840 * insettext.C (updateLocal): update menubar and toolbar here too.
4842 2002-01-13 Allan Rae <rae@lyx.org>
4844 * insettabular.C (InsetTabular): Both constructors now initialise
4845 all class variables.
4847 2002-01-11 Juergen Vigna <jug@sad.it>
4849 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4851 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4853 * insettabular.C (getStatus): add forgotten brace around multiline
4856 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4858 * insetfloat.C (validate): require "float" instead of "floats".
4860 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4862 * insettabular.C (getStatus): use FuncStatus
4864 2002-01-08 Juergen Vigna <jug@sad.it>
4866 * insettabular.C (insetButtonRelease): now this should work too
4869 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4870 if the width is a percentage.
4872 * inset.h: added isChar() function and implemented this for
4873 insetspecialchar insetquotes and insetlatexaccent.
4874 added forceDefaultParagraphs() and implemented it for insettabular.
4876 2002-01-07 Juergen Vigna <jug@sad.it>
4878 * insettext.C (getLyXText): Fixed this function. An insert into the
4879 map is only done if we REALLY have a new BufferView.
4881 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4883 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4885 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4887 * insetinclude.C: fix use of FileInfo
4889 2002-01-07 Juergen Vigna <jug@sad.it>
4891 * insettabular.C (draw): fixed clearing of cell around inset.
4893 2002-01-05 Juergen Vigna <jug@sad.it>
4895 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4896 variables are updated.
4898 * insettabular.C (resetPos): set always the inset_y as it may be
4899 needed in another function.
4900 (searchBackward): don't draw while searching.
4902 2002-01-04 Juergen Vigna <jug@sad.it>
4904 * insettext.C (lockInsetInInset): forgot to set a cursor.
4906 2002-01-02 Juergen Vigna <jug@sad.it>
4908 * insettext.C (insertInset): make the correct undo informations on
4909 inserting new insets.
4911 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4913 * insettabular.C: correct single-cell select vertically
4915 2001-12-27 Juergen Vigna <jug@sad.it>
4917 * insettabular.C (ascii): export as tab-separated-values if the
4918 function was not called from export (f.ex.: clipboard).
4920 * insetcollapsable.h: added default support for ascii, linuxdoc and
4921 docbook export (the insettext is exported by default!)
4923 * insettabular.C (copySelection): suff the clipboard with the tabular
4924 data in a tab separated format, seems more naturals then with all the
4927 2001-12-24 Juergen Vigna <jug@sad.it>
4929 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4930 to check for REAL mouseMotion.
4932 2001-12-20 Juergen Vigna <jug@sad.it>
4934 * inset.C (cursor): return the owners cursor if available instead of
4935 always only the bv->text->cursor.
4937 * insettabular.C (checkLongtableSpecial): works now.
4939 2001-12-19 Juergen Vigna <jug@sad.it>
4941 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4942 this has to be always row + 1 as 0 means not selected!
4943 (checkLongtableSpecial): added
4944 (tabularFeatures): better longtable options support
4946 * insettext.C (resizeLyXText): reinit the text always also on a
4949 2001-12-18 Juergen Vigna <jug@sad.it>
4951 * insettext.C (updateInsetInInset): look if we have to autocollapse
4952 paragraps and return if the update is requested for ourself.
4954 * insetert.C (status): update the insettext not myself as that is what
4957 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4958 function only return if the update was requested with myself.
4960 * insettext.C (insetButtonPress): fixed stupid bug.
4961 (various functions): pay attention that lt is cleared BEFORE calling
4962 updateLocal() and try to use it in the right manner (don't use it
4963 if it's not really neccessary!)
4964 (collapseParagraphs): insert a blank between collapsing paragraphs
4965 if neccessary (not already there!).
4967 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4969 * insettabular.C: move includes around a bit, add a couple of
4972 * insettext.[Ch]: move includes around a bit, other ws changes and
4975 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4977 * insettext.C (insetButtonRelease): fix compile problem
4979 2001-12-17 Juergen Vigna <jug@sad.it>
4981 * insettext.C (insetButtonPress): set the selection cursor!
4982 (insetButtonPress): clear the selection (and set with that the
4983 selection.cursor) if we only hit an inset!
4985 * insetert.C (read): removed piece of compatibility code only needed
4988 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4991 * insetcollapsable.C (insetButtonRelease): changed so that it can
4992 open eventual existing popup dialogs on mousebutton==3.
4994 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4996 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4998 * inset.C (insetButtonRelease): return a bool for telling the outer
4999 world that we opened a dialog.
5001 2001-12-07 Juergen Vigna <jug@sad.it>
5003 * insettext.C (paragraph): remove the deleteing of paragraphs as
5004 it was a WRONG move!
5006 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5009 * insettabular.C: use new setSelection(). Allow
5010 selection of single cells.
5012 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5014 * insetquotes.C (latex): fix to use the local language setting at
5015 the point where the inset is inserted (different macros for
5016 different french packages)
5018 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5020 * inset.h: add par_owner_ member variable and parOwner
5023 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5025 * insettabular.C (everywhere): adapt because widths are now real
5026 widths and not strings
5028 * insettext.C (draw): re-introduce the calls to width(), ascent()
5029 and descent() to initialize the caching variables.
5031 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5033 * insettext.C (draw):
5034 (drawFrame): use insetWidth instead of last_width
5036 * insettext.h: remove variable last_width (insetWidth is exactly
5037 the same) and last_height (computed but never used!)
5039 2001-12-10 Allan Rae <rae@lyx.org>
5041 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5043 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5045 * insettext.C (insetAllowed): add comment
5047 2001-12-05 Juergen Vigna <jug@sad.it>
5049 * insettext.C (insetAllowed): fixed for the case that we directly
5050 ask the insettext from its LyXText.
5051 (paragraph): fixed the crash when assigning the par->next() from
5052 the EmptyParagraphMechanism!
5054 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5058 * insettext.C: change "while(" to "while ("
5060 2001-12-04 Juergen Vigna <jug@sad.it>
5062 * insetert.C (edit): handle Inlined status.
5064 * insettext.C (insertInset): trying John's fix for the trailing cursor
5066 * insetert.C (insetButtonPress): added to handle inlined status
5067 (insetMotionNotify): ditto.
5069 * insettext.C (clearInset): changed Painter & in BufferView * param,
5070 to be able to call ascent,descent methods.
5072 2001-12-03 Juergen Vigna <jug@sad.it>
5074 * insettext.C (updateInsetInInset): use lt variable to forbid
5075 changes of LyXText in an update call.
5076 (updateInsetInInset): fixed updating of non locked insets!
5078 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5080 * insettabular.C: capture some more functions to prevent
5081 selection drawing problems. Bug #451274
5083 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5086 * insetgraphicsParams.C: fix inverted sense of float_equal
5088 2001-11-30 Juergen Vigna <jug@sad.it>
5090 * insettabular.C (InsetTabular): use the save_id flag to create also
5091 the tabular with the same id's.
5093 * insettext.C (setParagraphData): added a same_id function for undo
5094 to set the same paragraph id's as of the paragraph we are setting.
5096 2001-11-30 José Matos <jamatos@fep.up.pt>
5099 * insettoc.[Ch]: DocBook -> docbook.
5101 2001-11-29 André Pönitz <poenitz@gmx.net>
5104 * insettext.C: further reduction of header dependencies by using
5105 lyx::layout_type and lyx::textclass_type from support/types.h
5107 2001-11-29 Juergen Vigna <jug@sad.it>
5109 * insettext.C: inserted a reinitLyXText function everywhere I delete
5110 the paragraphs! This should fixe the crashes we had.
5111 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5112 (paragraph): set the InsetOwner() of the new paragraphs!
5114 2001-11-28 André Pönitz <poenitz@gmx.net>
5116 * insetnote.C: add pos initialization that I removed without
5119 2001-11-28 Juergen Vigna <jug@sad.it>
5121 * insettabular.C (resetPos): hack to not crash with infinite paints.
5123 * insettabular.h: insert missing function allowSpellcheck()!
5125 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5127 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5130 * insetfloatlist.C: derive from InsetCommand so gui can use it
5133 2001-11-26 André Pönitz <poenitz@gmx.net>
5137 * insetnote.C: reduce header dependencies, introduce type for
5140 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5142 * various: update for Alert.h
5144 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5146 * inset.h: fix comment
5148 * insettext.C: use par->isInset()
5150 2001-11-22 Allan Rae <rae@lyx.org>
5152 * insetcollapsable.h:
5153 * inset.h: Changes to checkInsertChar() behaviour.
5154 Now return value indicates whether chars can be inserted.
5156 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5158 * various: updated to use the new LaTeXFeatures
5160 2001-11-14 José Matos <jamatos@fep.up.pt>
5162 * insetspecialchar.C (linuxdoc):
5163 (docbook): don't give a name to a unused variable.
5165 * insettext.C (docbook): removed unused variable.
5167 2001-11-13 Herbert Voss <voss@perce.de>
5169 * insetgraphic.C: fix scale bug
5171 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5173 * inset.h (isSpace):
5174 (isLetter): new virtual methods.
5176 * insetspecialchar.C (isSpace):
5177 (isLetter): implement here.
5179 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5181 * inset.h: new inline helpers
5183 * insettext.C: use new helpers
5185 2001-11-07 José Matos <jamatos@fep.up.pt>
5187 * insettext.C (docbook): full support for paragraphs inside insettext.
5189 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5191 * insetindex.C: added header file for std::ostream.
5193 2001-11-03 José Matos <jamatos@fep.up.pt>
5195 * insetindex.C: added using std::ostream that I forgot yesterday.
5197 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5199 * insetindex.h (docbook):
5200 * insetindex.C (docbook): added support for docbook export.
5202 2001-11-02 José Matos <jamatos@fep.up.pt>
5204 * insetcaption.C(docbook): added support for docbook export.
5206 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5208 * insetexternal.C (updateExternal): Do not run update command if
5209 result file exists and is up to date.
5211 * ExternalTemplate.C (readFormat): Support the updateresult token.
5213 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5215 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5216 external_templates) to use the buffer->fileName() but only if
5217 previewing. Generating a TeX file should make FPath return
5220 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5223 * insetert.C: fix some problems
5225 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5227 * insetexternal.C (doSubstitution): Added $$FPath token
5228 to list of usable substitutions in external inset templates.
5230 2001-10-24 Juergen Vigna <jug@sad.it>
5232 * insettabular.C: use new ltType struct for setting longtable
5233 header and footers also new UNSET enums.
5235 2001-10-24 José Matos <jamatos@fep.up.pt>
5237 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5238 (docbook): If the table is not inside a float then wrap it inside
5239 <informaltable>...</informaltable>.
5241 2001-10-23 José Matos <jamatos@fep.up.pt>
5243 * insetref.C (docbook): removed / terminator to conform SGML.
5245 * insetspecialchar.C (linuxdoc):
5246 (docbook): Added support for special chars, more than ascii export.
5248 2001-10-22 Juergen Vigna <jug@sad.it>
5250 * insettext.C (checkInsertChar): added for REALLY checking the
5251 font of the inserted char in the right inset!
5253 2001-10-19 Juergen Vigna <jug@sad.it>
5255 * inset.h: added method allowSpellcheck() so that insets who do
5256 not have anything to spellcheck can tell and so they are over-jumped.
5257 Implemented for InsetText and co.
5259 2001-10-18 Juergen Vigna <jug@sad.it>
5261 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5263 2001-10-15 José Matos <jamatos@fep.up.pt>
5265 * insetert.C: allow export for docbook and linuxdoc
5267 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5269 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5271 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5273 * insetquotes.C (dispString): fix handling of latin9 quotes
5275 2001-10-03 Juergen Vigna <jug@sad.it>
5279 * insetcollapsable.C: change updateInset calls to not tell BV that
5280 we have changed status.
5282 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5284 * insettabular.C (deletable): make const
5286 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5288 * insetert.C (latex): Fix the returned value
5290 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5292 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5293 Returns string(), so nothing in an ERT inset is spellchecked.
5295 * insetgraphics.C (draw): print the filename if not displaying the
5297 (width): make sure that the width and draw methods are consistent.
5298 (updateInset): don't even load the image into cache if not displaying
5301 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5303 * various files (selectNextWord): renamed as
5304 selectNextWordToSpellcheck.
5306 * insetgraphics.C (draw): remove the previous change. Right place
5307 is in imageLoaderXPM.C.
5308 (draw): don't display the image if params.display == NONE.
5310 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5312 * figinset.C (runqueue):
5313 * insetgraphics.C (draw): set background colour of inset from
5314 background to the user-configurable graphicsbg.
5316 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5318 * insetquotes.C (InsetQuotes): when trying to decide the side of
5319 the quote, choose `left' only after a space or '('
5321 2001-09-04 José Matos <jamatos@fep.up.pt>
5326 * insetcollapsable.h
5344 * insetlatexaccent.C
5345 * insetlatexaccent.h
5350 * insetspecialchar.C
5351 * insetspecialchar.h
5355 * insettext.C (docbook): rename docBook method to docbook.
5357 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5359 * inset.h (getFirstParagraph): New virtual method.
5361 2001-08-20 Herbert Voss <voss@perce.de>
5362 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5363 in the the bibtex-database-gui for inserting a line
5366 If no style is given than there is no tex-output.
5368 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5370 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5374 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5376 * insetert.C (latex): Fix output for multiple paragraphs.
5377 (write): New code for writing paragraph data.
5378 (read): Set font after reading the inset.
5379 (localDispatch): Call set_latex_font() for more cases.
5381 * insetnote.h: Add empty validate method.
5384 * insetnote.C (InsetNote): Set language to the language of the
5387 2001-08-16 Juergen Vigna <jug@sad.it>
5389 * insettext.C: implemented the new FINISHED states.
5391 * insettabular.C: ditto
5393 * inset.h: added more FINISHED states for cursor right,up,down
5395 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5397 * insetfloatlist.C: use "FloatName List"
5399 2001-08-14 Juergen Vigna <jug@sad.it>
5401 * insetert.C (edit): forgot to set status_ in edit calls!
5403 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5405 * insettext.C: Compilation fix
5407 2001-08-13 Juergen Vigna <jug@sad.it>
5409 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5411 * insetcollapsable.C (edit): don't recollapse an already open inset.
5413 * insettext.C: fixed problem when reinitializing LyXText by not doing
5414 it while lt is in use and post this to the next possible time in
5416 (searchForward): fixed not unlocking of inset if nothing found.
5417 (edit): set cursor behind right (was set -1 pos).
5419 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5421 * insettabular.C (tabularFeatures): fixed fix where deleting the
5422 last row didn't get the right actcell!
5424 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5426 * insettext.C (localDispatch): Change language only when the inset
5429 2001-08-10 Juergen Vigna <jug@sad.it>
5431 * insettabular.C (selectNextWordInt): use the front using edit call.
5433 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5434 the parameter overwrite class variable inset.
5436 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5438 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5439 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5441 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5442 update only for fixed with cells.
5443 (resetPos): try to fix the lockup on spellchecking or s&r.
5445 * insettext.C (update): comment this out as it seems first wrong
5446 and second not needed anymore!
5447 (some functions): call reinitLyXText() only in update() in all other
5448 positions set only need_update = INIT.
5450 2001-08-08 Juergen Vigna <jug@sad.it>
5452 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5454 * insettext.C (insetUnlock): remove double-space on inset unlock.
5456 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5458 * insettabular.C (update): fixed cursor positon after an insert.
5459 (insetAllowed): do not allow to insert insets when not inside the
5461 (draw): clear below an inset too as it could have changed height.
5463 * inset.C (getMaxWidth): fixed width for inset in inset.
5465 * insettext.C (update): small fix.
5467 * insettabular.C (tabularFeatures): added selection support to
5468 DELETE_ROW/DELETE_COLUMN.
5470 2001-08-07 Juergen Vigna <jug@sad.it>
5472 * inset.C (getMaxWidth): recoded and all it's implementations!
5474 * insettext.C (init,setParagraph+constructors): cleanups
5475 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5476 are new and I want do a save/restore of the cursor position which is
5477 not possible anymore.
5479 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5480 (searchBackward): ditto
5481 (selectNextWord): ditto
5483 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5485 * insetlatexaccent.C (checkContents): Add some debug messages
5487 2001-08-07 Juergen Vigna <jug@sad.it>
5489 * insetert.C (read): don't use InsetCollapsable::read as we don't
5490 write the collapsed status anymore only the status.
5493 2001-08-06 Juergen Vigna <jug@sad.it>
5495 * insetert.C (set_latex_font): use LyXText's setFont directly.
5497 * insettext.C (drawFrame): fixed one time more the right position
5498 and size of the frame!
5500 * insetert.C (~InsetERT): hide the dialog.
5501 (showInsetDialog): added implementation
5504 (status): new function for the status of the ERT inset (3-state).
5505 (write): output also the status of the inset for readback!
5506 (read): readback the status if available otherwise use collapsed_.
5508 * insettext.C (edit): small fix of setting the position, which could
5511 * insetert.C (width): implement this function for inlined viewing.
5512 Added minimum width of 10 pixels!
5514 * insetminipage.C (InsetMinipage): just change the colors a bit so
5515 that border/background is a bit more visible. We will remove this
5518 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5519 function for getting the important widths for drawing in various
5520 functions and in LyXText.
5521 (draw): fixed up a bit (frame drawing/clearing)
5523 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5525 * inset.C (convertFont): delete method. not used.
5527 2001-08-03 Juergen Vigna <jug@sad.it>
5529 * insettext.C (setFont): don't call for a draw update if we're just
5530 changing the cursor font!
5532 2001-08-02 Juergen Vigna <jug@sad.it>
5534 * insettext.C (draw): clear the background with the right color if
5535 needed. Update myself if x&max-width changed and return without doing
5536 anything. Let the update code handle the right stuff.
5538 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5539 inside another inset.
5541 2001-08-01 Juergen Vigna <jug@sad.it>
5543 * insetcollapsable.C (update): added an in_update bool so we avoid
5546 * insettabular.C (update): added an in_update bool so we avoid
5549 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5551 (update): added an in_update bool so we avoid reentering.
5553 * insettabular.C (localDispatch): clear col/row selection when doing
5554 something else inside an inset.
5556 * insettext.C (getLyXText): fixed bug when requesting a recursive
5559 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5561 * insetcite.C (latex): Paranoia check. Make sure that there is no
5562 whitespace between the citation keys.
5564 2001-07-31 Juergen Vigna <jug@sad.it>
5566 * inset.h (nodraw): make the set function also const so that this
5567 can be called from inside other const functions.
5569 * insetcollapsable.h: removed inline variable and moved it over
5570 to the only user InsetERT.
5572 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5573 inset opening immediately therein lying insets dialogs!
5575 * insetert.C (localDispatch): set the font also if we don't have any
5576 chars in this paragraph, otherwise if we delete all of em and start
5577 writing we have the wrong font.
5579 (draw): implemented for inline support
5580 (insetButtonRelease): ditto.
5582 2001-07-30 Juergen Vigna <jug@sad.it>
5584 * insettext.C (reinitLyXText): new function to reinit the insets
5585 text after lot's of paragraph changes. Use this instead of the
5586 cache.clear() which is VERY dangerous.
5588 * insetfloat.C (insetButtonRelease): we should only show the dialog
5589 if we press on the label otherwise we have problems to open mouse
5590 button 3 dialogs inside this float (f.ex. of a tabular!)
5592 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5594 * insetert.C: change back to "ERT"
5596 * insetfloat.C: handliign of RMB on label added.
5598 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5600 * insetgraphicsParams.C: #include LOstream.h here.
5602 * insetfoot.h: remove InsetFoot:: qualifier.
5604 2001-07-29 Baruch Even <baruch@lyx.org>
5606 * ChangeLog: Hiding time travel evidence.
5608 * insetgraphicsParams.h:
5609 * insetgraphicsParams.C:
5610 * insetgraphics.C: Added horizontal scale option, it actually scales both
5611 directions since it keeps image proportions.
5613 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5615 2001-07-29 Baruch Even <baruch@lyx.org>
5617 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5618 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5620 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5622 2001-07-29 Baruch Even <baruch@lyx.org>
5624 * insetgraphics.C: Added EPSI to be an alias of EPS.
5626 2001-07-29 Baruch Even <baruch@lyx.org>
5628 * insetgraphics.C: Change GRAPHICS to Graphics.
5629 Changed image conversion rules (documented at the beginning of file).
5631 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5633 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5636 * insetgraphics.C: added a using std::endl directive.
5638 * insetcommand.h (getScreenLabel): removed pure virtual function,
5639 as it duplicates that in InsetButton.
5641 * insetbib.[Ch] (getScreenLabel):
5642 * insetbutton.[Ch] (getScreenLabel):
5643 * insetcite.[Ch] (getScreenLabel):
5644 * insetert.[Ch] (getScreenLabel):
5645 * insetexternal.[Ch] (getScreenLabel):
5646 * insetfloatlist.[Ch] (getScreenLabel):
5647 * insetinclude.[Ch] (getScreenLabel):
5648 * insetindex.[Ch] (getScreenLabel):
5649 * insetlabel.h (getScreenLabel):
5650 * insetparent.[Ch] (getScreenLabel):
5651 * insetref.[Ch] (getScreenLabel):
5652 * insettoc.[Ch] (getScreenLabel):
5653 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5655 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5657 (validate): remove check on "cite" when using natbib.
5659 2001-07-26 Baruch Even <baruch@lyx.org>
5661 * insetgraphics.C (draw): changed casting to be in one place rather than
5662 all over the function.
5665 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5667 * insetgraphicsParams.h:
5668 * insetgraphicsParams.C:
5669 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5671 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5673 * insetfoot.C (validate): Added method to ensure that the
5674 right bit of LaTeX is emitted.
5676 * insetfoot.h: Added validate method to set the correct
5677 LaTeXFeatures bit for the special footnote code.
5679 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5681 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5684 2001-07-27 Juergen Vigna <jug@sad.it>
5686 * inset.h: remove not used font variable in parameter.
5687 removed checkInsertChar in UpdatableInset as it was equal to
5688 the one in Inset and so not needed.
5690 * insetert.C (checkInsertChar): implementation of function
5693 * inset.h: added new function checkInsertChar.
5695 * various files: added c-tor and clone() function.
5697 * insetcollapsable.h: removed clone function here as this should
5698 be only realized in REAL insets and added it to all collapsable
5699 insets! (with the copy-constructor).
5701 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5703 * insetminipage.C (read): handle missing parameters more gracefully
5705 * insetcollapsable.C (read): handel missing collapsed more gracefully
5707 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5709 * insetfloat.C (read): handle missing parameters.
5711 * insettext.C (read): handle old latex end_inset
5713 * insetert.C (setButtonLabel): new method
5714 (init): use it, to set the dynamic label correctly
5717 * Makefile.am (EXTRA_DIST): add files that is not part or the
5720 * insetcollapsable.h: remove autocollapsable (no users), remove
5721 draw_label, change_label_with_text and companion code. Remove args
5723 * insetert.[Ch]: move here instead (only user)
5725 * inset.h: rename private variable name to name_, make
5726 selectNextWord return a const string. make getInsetName return a
5727 string const &. Remove bool from open, add close.
5729 * Makefile.am: don't compile insetlist, insetsection
5732 2001-07-24 Juergen Vigna <jug@sad.it>
5734 * insetert.C (InsetERT): put init after the paragraph initialization,
5735 as otherwise we don't set the draw_label right.
5737 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5738 insets with the mouse without having strange selections.
5739 (edit): if the inset was collapsed and we open it here then put the
5740 cursor always at the beginning of the inset.
5741 (get_new_label): 15 instead of 10 max chars in the label.
5743 * insetert.C (localDispatch): added and handle various stuff we
5744 need to handle here (font setting on paragraph break, not permitted
5745 layout setting, etc.).
5747 * inset.h: added default copy-consturctor and implemented this in
5748 various insets with the change to use this in the clone function!
5750 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5752 * insetminipage.C (InsetMinipage): set background color to red :)
5754 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5756 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5757 draw frame mode is LOCKED.
5759 * insetcollapsable.C (edit):
5760 (insetButtonRelease): set update status to full when
5763 * insettext.C (clearInset):
5764 * insettabular.C (draw):
5765 * insetlatexaccent.C (draw): honor background color.
5767 * inset.h: new member background_color_, initialized to
5770 * inset.C (backgroundColor): new method.
5771 (setBackgroundColor): new method.
5773 * insetert.C (init): new method, called by the ctors.
5774 (InsetERT): when inserting contents, make sure the font is
5777 * insetnote.C (InsetNote): when inserting content, remove trailing
5779 (init): set background color to LColor::note
5781 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5783 * insetcollapsable.C: adjust
5785 * insetbutton.C: adjust
5787 2001-07-23 Juergen Vigna <jug@sad.it>
5789 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5790 parameter on the _collapsed function (was not needed) and call
5791 always width_collapsed().
5793 * insetert.C (InsetERT): use setLabel with "true" flag.
5795 * insetcollapsable.C: modified various functions to set the draw_label
5796 string right in any condition.
5797 (setLabel): added a bool parameter to set change_label_with_text.
5799 * insetcollapsable.h: added draw_label string which is set to the
5800 actual drawn label-string, while label is the original static label
5801 of this collapsable inset. Added bool change_label_with_text to set
5802 if we want that the label changes to the start of the InsetText's
5803 text when collabpsed. You can set this flag with the setLabel funciton.
5804 Added bool inlined for inlined collapsable insets, but not handled
5807 * insetcollapsable.C (get_new_label): added should get a new label
5808 from the InsetText beginning (for now 10 chars).
5810 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5812 * insetquotes.C (latex): fix the handling of french double quotes
5813 when not using the french pachage.
5815 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5817 * insetcollapsable.h: make WidthCollapsed mutable.
5819 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5820 InsetPrintIndex returns INDEX_PRINT_CODE.
5822 * inset.h: add INDEX_PRINT_CODE
5824 * insetcollapsable.C (draw): init widthCollapsed if necessary
5827 * insetquotes.C (width): use the local language, not the document
5830 (dispString): add additional spacing for all french languages,
5832 (validate): make it work when there is no default language
5834 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5836 * insetnote.C (init): new method, called by the constructors
5837 (InsetNote): new constructor with contents passed as a string
5839 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5841 * insetfootlike.C (insetAllowed): disallow float in footlike.
5843 * insetert.C (InsetERT): add collapsed argument to the constrctor
5846 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5848 * insetindex.h: shut off warning
5850 2001-07-20 Juergen Vigna <jug@sad.it>
5852 * insetcollapsable.C (update): recoded hopefully works now!
5854 2001-07-19 Juergen Vigna <jug@sad.it>
5856 * most files: implemented the below new introduced function.
5858 * inset.h: added new edit(BufferView *, bool front) method to be able
5859 to enter an inset from the front/back without knowing x/y positions
5860 and baselines inside the inset. So I just can tell the inset activate
5861 me and set the cursor on the front/back of yourself.
5863 2001-07-18 Juergen Vigna <jug@sad.it>
5865 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5866 is given to the InsetText.
5867 (insetButtonPress): ditto
5868 (insetButtonRelease): ditto
5869 (insetMotionNotify): ditto
5871 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5873 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5874 LIGATURE_BREAK, since the name is so stupid.
5876 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5878 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5879 the default InsetCollapsable methods. I.e., it can insert anything.
5880 (write) output the name of the inset, not some silly hack for
5881 compatability with the old InsetInfo.
5883 * insetinfo.[Ch]: removed.
5884 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5885 now collapsable, but functionality is otherwise identical to InsetInfo.
5887 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5889 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5891 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5894 * insetquotes.C: general cleanup
5895 (dispString): add spaces inside french double quotes.
5896 (latex): ditto. Moreover, treat first the case where the frenchb
5897 or french options have been given.
5899 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5901 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5904 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5906 * figinset.C (RegisterFigure): Print debug message only when
5907 current_view is available.
5909 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5911 * many files: update to match the change below
5913 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5914 implement the version which takes an inset here.
5916 * insetcollapsable.[Ch]: implement open and isOpen
5918 * inset.h: remove insertInsetAllowed from Inset
5919 (open): new method, to open or close an inset
5920 (isOpen): returns the status of an inset
5921 (isCollapsable, colapse): removed
5923 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5925 * insetquotes.C (dispString): display french guillemets when using
5928 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5930 * insetcollapsable.h: remove bogus return statements
5932 2001-07-18 Juergen Vigna <jug@sad.it>
5934 * insettabular.C (selectNextWord): fixed spellchecking for the
5935 first cell of a tabular (wasn't entered!)
5936 (getLyXText): changed to enter automatically insettext and return
5937 it's LyXText if we're locked.
5939 2001-07-17 Juergen Vigna <jug@sad.it>
5941 * various files: implemented the below functions.
5943 * inset.h: added functions
5944 - virtual string selectNextWord(BufferView *, float & value) const;
5945 - virtual void selectSelectedWord(BufferView *) { return; }
5946 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5947 needed for spellchecking correctly!
5949 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5951 * insetert.C (latex): write out all paragraphs.
5953 2001-07-17 Baruch Even <baruch@lyx.org>
5955 * insetgraphics.C (draw): Removed unneeded casts.
5957 2001-07-16 Juergen Vigna <jug@sad.it>
5959 * insettext.C (update): fixed small oversight (reset lt to 0).
5961 2001-07-14 Baruch Even <baruch@lyx.org>
5964 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5966 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5968 Consistent use of Lsstream.h:
5969 * figinset.C: removed using std::ostringstream directive.
5971 * insetgraphics.C (createLatexOptions):
5972 * insetinclude.C (unique_id):
5973 std::ostringstream -> ostringstream.
5974 * insettext.C (localDispatch): std::istringstream -> istringstream.
5976 2001-07-13 Juergen Vigna <jug@sad.it>
5978 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5980 * insetcollapsable.C (getLockingInset): ditto.
5982 2001-07-12 Juergen Vigna <jug@sad.it>
5984 * insetcollapsable.h: added implementation of new function for
5987 * various files: added implementation of new insertInsetAllowed-func
5988 and redone the function a bit more.
5990 * inset.h: added isCollapsable(), bool collapsed(),
5991 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5993 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5995 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5996 LyXText which is marked for removal while we're using it!
5998 * insettext.h: added private LyXText * lt to use it to assure we are
5999 not deleting our LyXText while we're using it!
6001 2001-07-11 Juergen Vigna <jug@sad.it>
6003 * insettext.C (insertInset): check if we are before the inset after
6004 inserting it! This check IS needed. Remove the Undo-Call as it is
6005 called in LyXText::insertInset!
6007 * insettext.h: added struct InnerCache.
6009 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6010 that we ONLY delete the LyXText in the getLyXText() routine. So we
6011 are sure we don't delete LyXText while someone is working with it!
6013 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6015 * insetexternal.C: (*it). -> it->
6016 * insettext.C: ditto
6018 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6020 * insetcollapsable.C (edit): always open collapsed insets (even if
6021 they are not autocollapsable)
6023 * insetcommand.C (operator=): simplify.
6025 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6027 * insetert.C (latex): handle META_NEWLINE
6029 2001-07-09 Juergen Vigna <jug@sad.it>
6031 * insetert.h: a normal InsetText can insert insets, but we won't.
6033 * inset.h: return default "false" on insertInsetAllowed and implement
6034 this function where a returnvalue != "false" is needed.
6036 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6038 * insetert.C (InsetERT): new contructor
6040 2001-07-06 Juergen Vigna <jug@sad.it>
6042 * a lot of files: added implementation of the below new functions
6043 and the change to clone(). Also the call of the new undo-functions
6046 * inset.h: added an inset_id, added functions getParFromID,
6047 getInsetFromID, firstParagraph, cursor and id functions, added
6048 bool same_ids to clone function.
6050 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6052 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6053 of BufferView * and shared_ptr<LyXText>
6055 2001-07-05 Juergen Vigna <jug@sad.it>
6057 * insettext.C (clear): deleted also the cache not only LyXText.
6058 (setParagraphData): ditto.
6060 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6062 * insetfloat.C (latex): let the specific placement take presedence
6063 if set, otherwise choose document placement if set, otherwise just
6064 use float default placement.
6066 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6068 * insettext.C (localDispatch): call CutAndPaste::'s static method
6071 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6073 * insetbib.C: no meed to include forms.h here.
6075 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6077 * insettext.C: added using std::make_pair directive.
6079 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6081 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6083 (deleteLyXText): ditto
6084 (resizeLyXText): ditto
6086 2001-07-02 Juergen Vigna <jug@sad.it>
6088 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6089 following calls are only returned the right pointer without the over
6090 head to search in the map.
6091 (various funcs): reset the cached_bview variable as this signs that
6092 the cache is not valid anymore.
6094 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6096 * insettabular.C (clone): do not copy the LyXTabular twice
6098 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6100 * insettext.h (TEXT): delete method
6102 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6104 * insetmarginal.C (latex):
6105 * insetfoot.C (latex): fix spacing of notes in LaTeX
6107 * insettext.C (localDispatch): use .c_str() on istringstream
6108 constructor argument.
6110 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6115 * inseturl.C: fix method names in these to begin
6116 with small char too, so they inherit
6118 2001-06-28 Juergen Vigna <jug@sad.it>
6120 * insettext.C (setFont): fixed font settings using toggleFree()
6121 instead of setFont().
6123 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6125 * Change a lot of method names to begin with a small char.
6126 Changes to a lot of files because of this.
6128 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6130 * insetfloatlist.C (Write): std:: qualify ostream
6133 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6137 * insetgraphics.C: send debug output to Debug::INFO instead of
6140 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6143 * insettabular.C (getStatus): update to use func_status
6145 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6147 * insetref.C (DocBook): added support for cross-references without
6150 2001-06-26 The LyX Project <jug@sad.it>
6155 * insetlabel.h: removed escape method and moved it to
6158 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6160 * insettabular.C (getMaxWidth): do the speedup in a different way,
6163 2001-06-24 The LyX Project <Asger>
6165 * insettabular.C (getMaxWidth): We cache a mapping from
6166 inset to cell in order to speed this method up.
6168 2001-06-24 The LyX Project <Asger>
6170 * insettext.C: Optimized InsetText::draw or something.
6172 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6174 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6176 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6178 * inset.h: name change from lyxinset.h
6180 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6182 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6184 2001-06-14 Juergen Vigna <jug@sad.it>
6186 * insettext.C (draw): removed warnings.
6188 2001-06-13 Juergen Vigna <jug@sad.it>
6190 * insettabular.C (nodraw): only go down the tree if we don't have
6191 that flag set otherwise it's obvious that we don't want to draw.
6192 (LocalDispatch): do also an update if we have an undispached result.
6194 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6197 * insetgraphicsParams.C:
6198 * insettext.C: removed // -*- C++ -*- as first line.
6200 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6202 * lyxinset.h (resizeLyXText): shut off warning about unused
6205 2001-06-07 Juergen Vigna <jug@sad.it>
6207 * insettext.C (resizeLyXText): honor the new force flag.
6209 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6211 * insettabular.C (deleteLyXText): new function
6213 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6221 * insetcollapsable.C:
6222 * insetcaption.C: LColor tidy
6224 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6226 * figinset.C: fix typo
6228 2001-06-01 Juergen Vigna <jug@sad.it>
6230 * insettabular.C (resetPos): small hack so that scroll is not set to
6231 0 when we are in the last column of a tabular. This is a problem we
6232 have because of constats 20 offset on both directions, so this can
6233 cause on the limit an endless loop.
6235 * insettext.C (SetFont): forgot that we can have locking insets ;)
6237 2001-05-31 Juergen Vigna <jug@sad.it>
6239 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6241 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6243 * figinset.C: add using std:: directive for the C functions which
6246 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6248 * insetfloat.C (Write): write out wide info
6249 (Read): read the wide info
6250 (Latex): use the wide info when creating latex.
6252 * insettext.C: adjust
6254 * insetgraphics.[Ch] (statusMessage): change to return string
6258 * figinset.C (runqueue): add std::
6261 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6263 * insetcite.C (Ascii): add std:: qualifier
6265 2001-05-28 Juergen Vigna <jug@sad.it>
6267 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6268 a endless-width inset (maxWidth < 0).
6269 (Edit): change language only if not equal.
6271 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6273 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6275 2001-05-16 Juergen Vigna <jug@sad.it>
6277 * insettext.C (selectAll): added
6278 (clearSelection): added
6280 * insettabular.C (SetFont): now we may set a font on a whole selection!
6281 (getSelection): added helper function.
6283 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6285 * insetcite.C (Ascii): Add method.
6287 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6290 * insetbib.C: fix path for OS/2 & Win32
6292 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6294 * insetfoot.C (Latex): don't use % after footnote.
6296 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6298 * insettext.C (Read): use clear
6299 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6301 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6303 * insetfloatlist.h: add a bunch of std:: qualifiers.
6305 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6307 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6308 FLOAT_LIST_CODE, renumber code list.
6310 * insettoc.C (getScreenLabel): remove support for float lists
6314 * insetfloatlist.[Ch]: new files
6316 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6318 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6320 * insettabular.C (LocalDispatch):
6321 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6324 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6326 * insettext.C: remvoe !NEW_INSETS cruft
6328 * insettabular.C: remove !NEW_INSETS cruft
6330 * insetcollapsable.h: remove !NEW_INSETS cruft
6332 * insetbib.C: remove !NEW_INSETS cruft
6334 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6336 * insettoc.C: hack to make listof algorithm work
6338 2001-04-20 Juergen Vigna <jug@sad.it>
6340 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6342 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6344 * insetquotes.C (Latex): improve the guard against
6345 unwanted !` and ?` ligatures. This should really be done in
6346 another place (to catch all this ligatures at low-level).
6348 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6350 * insettext.C (init): remvoe leftovers from cursor_visible change
6351 (draw): use c++ cast
6352 (LocalDispatch): dispatch LFUN_MESSAGE
6354 * insettabular.C (InsetTabular): remove leftovers from
6355 cursor_visible, and scoped_ptr changes
6356 (draw): use c++ cast
6358 * insetcollapsable.C (draw): use c++ cast
6360 * ExternalTemplate.h: inherit privaely from noncopyable
6361 * insetcommand.h: ditto
6362 * insetinclude.h: ditto
6364 2001-04-16 Allan Rae <rae@lyx.org>
6366 * insettoc.C (Ascii):
6367 * insettext.C (draw):
6368 * insettabular.C (setPos):
6369 * insetminipage.C (Read):
6370 * insetfloat.C (placement):
6371 * insetcaption.C (Ascii, DocBook):
6372 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6373 an unrecognised preprocessor directive. So ensure they're wrapped.
6375 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6378 * insetexternal.C: set view on Clone. Add _ to private members.
6380 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6382 * insettext.C (InsetText): fix new
6383 (InsetText): reindent some, simplify deletion of par list
6384 (clear): simplify deletion of par list, fix new
6385 (SetParagraphData): simplify deletion of par list
6387 * insettabular.[Ch] (getLabelList): implement new method
6389 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6391 * lyxinset.h: do not include gettext.h...
6399 * insetlatexaccent.C:
6403 * inseturl.C: ... and do it here instead
6405 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6407 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6409 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6411 * insetcollapsable.[Ch] (getLabelList): implement
6413 * insettext.[Ch] (getLabelList): implement
6415 * insettext.h: reindent
6417 * insettabular.h: make tabular a scoped_ptr
6419 * insettext.C (init): adjust for cursor_visible
6420 (ToggleInsetCursor): constify asc and desc, font, adjust for
6422 (ShowInsetCursor): constify asc and desc, font, adjust for
6424 (HideInsetCursor): adjust for cursor_visible
6426 * insettabular.C: reindent some
6427 (InsetTabular): adjust for scoped_ptr and cursor_visible
6428 (InsetTabular): ditto
6429 (~InsetTabular): delete delete
6430 (Clone): adjust for scoped_ptr
6431 (Read): constify old_format, adjust for scoped_ptr, move init of
6433 (draw): constify tx, localize loop vars.
6434 some other localization of variables, remove double initilizatons.
6436 * insetfoot.C: remove using std::ostream, add ostream where needed
6438 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6440 * lyxinset.h: some reindentaion, use initializer list for
6442 UpdatableInset: make cursor_visible a private var add
6443 public isCursorVisible(), add protected toggleCursorVisible() and
6444 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6446 * insettoc.C: remvoe using decl
6447 (getScreenLabel): make cmdname donst
6450 (Ascii): don't use endl
6452 * insetfootlike.C: remove using decl at file scope and add std::
6454 * insetmarginal.C: ditto
6456 * insetfoot.C: some reformatting
6458 * insetfloat.C (InsetButtonRelease): adjust the hit area
6460 * insetert.C (SetFont): some reformatting
6462 * insetcollapsable.C: some reformatting and constification
6463 (Clone): comment out.
6464 * insetcollapsable.h: some reformatting
6465 (Clone): comment out.
6470 2001-03-30 Juergen Vigna <jug@sad.it>
6472 * insetcollapsable.h: changen *inset to be a InsetText inset.
6474 * some files: changed to reflect the above change.
6476 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6478 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6479 InsetExternal::Params.
6480 Added operator==() and operator!=() for the Params struct.
6482 2001-03-29 Juergen Vigna <jug@sad.it>
6484 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6487 * insetminipage.C: removed widthp_ and all it's functions and changed
6488 to use new %-lengths of LyXLength.
6490 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6492 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6494 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6496 * insetgraphicsParams.C (operator!=): new function, needed by the
6497 ControlGraphics class.
6499 2001-03-28 Juergen Vigna <jug@sad.it>
6501 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6502 (checkAndActivateInset): don't use the values returned from
6503 call to bv->checkInsetHit.
6505 * insetminipage.C (Clone): set special minipage values.
6507 * insetcollapsable.C (draw): changed to draw the button in the
6508 upper left corner outside the textinset.
6509 (ascent): changed because of different drawing
6513 (InsetButtonPress): ditto
6514 (InsetButtonRelease): ditto
6515 (InsetMotionNotify): ditto
6517 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6519 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6523 2001-03-26 Juergen Vigna <jug@sad.it>
6525 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6527 * insettext.C (ShowInsetDialog): implemented above function.
6529 * insettabular.C (ShowInsetDialog): ditto
6531 * insetminipage.C (ShowInsetDialog): ditto
6533 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6535 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6536 InsetInclude::Params. Don't store a buffer * in Params. Store the
6537 master file name instead.
6539 2001-03-23 Juergen Vigna <jug@sad.it>
6541 * insetcollapsable.C (InsetMotionNotify):
6542 (InsetButtonRelease):
6543 (InsetButtonPress): fixed y-offset (minipages).
6545 * insettext.C (draw): force a FULL update if cleared == true.
6547 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6548 routine to draw the minipages on its position-flag.
6549 (InsetInInsetY): give back the right y position, because of minipage
6552 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6555 * insetfloat.C (DocBook): docbook export code.
6557 2001-03-22 Juergen Vigna <jug@sad.it>
6559 * insetminipage.C (getMaxWidth): added function to set the drawing
6561 (Read): should work now!
6563 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6564 if we create a new inset.
6566 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6568 * figinset.C (fl_set_preemptive_callback): moved definition outside
6571 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6573 * insetminipage.C (Read): prepare for reading of minipage arguments.
6575 2001-03-18 Baruch Even <baruch@lyx.org>
6577 * insetgraphics.C: Minor cleanups of the comments and code.
6579 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6581 * insetminipage.C (InsetMinipage): default to not collapsed
6583 2001-03-16 Juergen Vigna <jug@sad.it>
6585 * insetminipage.C (width): modified with to be a string
6586 (widthp): added widthp (for % width) support functions.
6587 (InsetButtonRelease): added to open the options dialog on button==3.
6588 (~InsetMinipage): added to hide the dialog.
6590 * insetminipage.h: added hideDialog signal
6592 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6594 * insetminipage.h: change the order or Position to match
6595 LyXParagraph::MINIPAGE_ALIGNMENT
6597 * several files: remvoe CXX_WORKING_NAMESPACES
6599 * ExternalTemplate.h: noncopyable is in namespace boost
6600 * insetinclude.h: ditto
6601 * insetcommand.h: ditto
6603 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6605 * insettext.C (Edit): #else# -> #else.
6606 * insettoc.C: added using directive.
6608 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6610 * insetminipage.h: add pos, inner_pos, width and height. + getters
6611 and setters for all of them.
6613 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6615 * insetinclude.C (Latex): Do not exit when the textclass of the
6616 included file differ from the textclass of the parent file.
6618 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6620 * ExternalTemplate.C (read): the reading of external insets now checks
6621 for \end_inset and removes it form the input stream.
6623 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6625 * ExternalTemplate.h:
6626 * ExternalTemplate.C:
6628 * insetexternal.C: move form to GUII
6630 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6633 * insetinclude.C: add InsetIncludeParams, use
6634 composition rather than derivation of InsetCommand
6636 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6638 * insettoc.C (Ascii): use the Buffer typedefs
6640 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6642 * insettoc.C (Ascii): implement for dynamic number of lists
6644 * insetcaption.[Ch]: update from new_insets branch
6645 * insetfloat.[Ch]: ditto
6647 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6650 * figinset.C: use new File Dialog
6652 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6654 * insettext.C: changes becuase of ParagraphParameters.
6656 2001-02-28 Baruch Even <baruch@ev-en.org>
6658 * insetgraphics.C (updateInset): Changed due to the change in
6661 2001-02-26 Juergen Vigna <jug@sad.it>
6663 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6664 handled in LyXText).
6666 2001-02-23 Juergen Vigna <jug@sad.it>
6668 * insettext.C (draw): some small repainting fixes.
6669 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6671 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6672 should be) and not an int.
6674 * insettabular.C (LocalDispatch): ditto
6676 * insettext.C (LocalDispatch): ditto
6678 * insetcollapsable.C (LocalDispatch): ditto
6680 2001-02-22 Juergen Vigna <jug@sad.it>
6682 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6683 DISPATCH it and we don't have a locking_inset.
6685 2001-02-21 Baruch Even <baruch@ev-en.org>
6687 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6688 instead of GraphicsCacheItem *.
6690 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6692 * insetcollapsable.C (getLyXText): add const qualifier to second
6695 2001-02-22 Juergen Vigna <jug@sad.it>
6697 * insettext.C (getLyXText): honor the recursive parameter.
6698 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6700 * inset.C (getLyXText): added bool recursive parameter.
6702 * insettext.C (SetUpdateStatus): or the update codes.
6703 (draw): check need_update with &.
6704 (InsetButtonPress): set no_selection to not put a selection when
6705 entering an inset and it is redraws in another spot.
6707 * insettext.h: made need_update an int.
6709 2001-02-20 Baruch Even <baruch@ev-en.org>
6712 * insetgraphisc.C: Changed to use better semantics when loading images
6713 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6715 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6719 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6720 consistent with InsetTabular.
6722 2001-02-19 Juergen Vigna <jug@sad.it>
6724 * insettabular.C (LocalDispatch): implement PAGE up/down.
6726 * insettext.C (draw): clear all of it on need_update==INIT too!
6728 * insettabular.C (InsetUnlock): always clear the selection.
6730 * inset.C (scroll): normally we only want to scroll the inset until
6731 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6733 2001-02-14 Juergen Vigna <jug@sad.it>
6735 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6736 (resetPos): fixed scroll behaviour.
6737 (LocalDispatch): do an update if moving cursor inside a table cell
6738 requests a scroll of the tabular.
6740 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6742 * insettext.C (textWidth): constify local var
6744 * insettabular.C: small cleanup.
6746 * insetfoot.C (Latex): constify local var
6748 * insetcollapsable.C: small cleanup.
6750 * figinset.C (runqueue): use compare instead of strcmp
6752 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6755 * insetinfo.C: remove cruft
6757 2001-02-14 Juergen Vigna <jug@sad.it>
6759 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6761 2001-02-13 Juergen Vigna <jug@sad.it>
6763 * insettext.C (InsertInset): don't move left (is this right?)
6765 * insettabular.C (LocalDispatch): use of the no_draw variable
6767 * insettabular.h: new no_draw variable to stop redraw
6769 * insettabular.C (TabularFeatures): fixed update for alignment change
6771 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6775 * insetbib.C: move dialogs to frontends/
6777 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6779 * insettext.C (LocalDispatch): Restore the language if the inset
6782 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6784 * insettext.C (moveRightIntern): Update the selection cursor.
6785 (moveLeftIntern): Ditto.
6787 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6789 * Makefile.am: remove BoundingBox.h
6791 * BoundingBox.h: removed
6793 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6795 * insettext.C (LocalDispatch): Update selection cursor when moving
6796 cursor to the right.
6797 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6798 (moveLeftIntern): Ditto.
6800 2001-02-05 Baruch Even <baruch.even@writeme.com>
6802 * insetgraphics.C: Updated automatic image conversion, it now goes into
6803 temporary directory instead of with the image itself.
6805 2001-01-21 Baruch Even <baruch@ev-en.org>
6807 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6808 to EPS or PNG when needed (support bitmap graphics).
6810 2000-11-02 Baruch Even <baruch@ev-en.org>
6813 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6814 and removal of commented out code.
6816 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6818 * insetbib.C (callback): Update citations if the key has changed.
6820 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6822 * insetbib.C (InsetBibKey): Better computation of default key.
6823 (getScreenLabel) Show both the key and the label.
6824 (getBibLabel): New method.
6825 (callback): Force a redraw if the inset have been changed.
6827 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6829 * insetref.C (getType, getName): Move methods from
6830 src/frontends/xforms/FormRef.C.
6832 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6834 * insettabular.C: Various improvements (use only one dummy position).
6836 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6838 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6839 par->bibkey->width. This fixes the crashes when running without
6840 gui or when having included documents.
6842 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6844 * insetcommand.C (getAsString, setFromString): Cleanup.
6846 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6848 * insetref.C: Add the array InsetRef::types that contains
6849 information about all supported reference types.
6851 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6853 * lyxinset.h: remove trailing comma in enum.
6855 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6857 * insettext.C: kill LyXBell.