1 2004-03-31 Angus Leeming <angus@localhost.localdomain>
3 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
5 2004-03-31 Angus Leeming <leeming@lyx.org>
7 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
8 the cursor out of an inset.
10 * insetbranch.C (priv_dispatch):
11 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
12 use getOutOfInset to push the cursor out of the inset when
15 2004-03-30 Angus Leeming <leeming@lyx.org>
17 * insetbase.[Ch] (translate): new static member function, returns
18 an InsetBase::Code corresponding to the input string.
20 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
22 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
23 so that it opens the inset if it refers to the currently active
26 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
28 * insetfloat.C (addToToc): use par_const_iterator_begin and
29 par_const_iterator_end.
31 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
33 * insetbibtex.[Ch]: bibtopic support.
35 * insetfloat.[Ch]: add param \sideways {true|false}
36 (support for sideways floats from rotating.sty).
38 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
40 * insettext.[Ch]: add a default ctor. implement const version of
48 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
50 * insettext.h: add insetAllowed returning true by default (fixing
51 vanishing insets problem)
53 * insettext.C (draw): handle the responsability of adding the
54 ouside offset to collapsable. Clean code a bit.
56 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
57 from insettext correctly, solve a couple of off-by-one drawing
60 2004-03-25 Angus Leeming <leeming@lyx.org>
62 * insetcaption.C (draw): squash warning about unused variable.
64 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
66 * ExternalSupport.C: use the master buffer's temp dir
67 * insetgraphics.C (latex): make relative filename relative to the
69 * insetgraphics.C: use the master buffer's temp dir
70 * insetinclude.C (masterFilename): new function
71 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
72 is always true if loadIfNeeded() returns true)
74 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
76 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
77 set its parent to the current buffer.
78 (latex): use the tmppath of the master buffer, not just the parent
79 buffer (makes a difference with more than one level of include
80 insets). If the file name is relative write in the .tex file a
81 name relative to the master buffer directory.
83 * insetinclude.C: rename masterFilename to parentFilename (this
84 points to the direct parent)
86 2004-03-25 André Pönitz <poenitz@gmx.net>
88 * inset.[Ch]: remover owner
90 * insetcollapsable.[Ch]: derive from InsetText instead having such a
98 * insetcharstyle.[Ch]:
106 * insetwrap.C: adjust
108 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
110 * insetquote.C: use opening quote after '[' char.
112 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
114 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
117 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
119 * insetcite.[Ch]: support jurabib.
121 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
123 * insetcite.C: Support second \cite option.
126 * insetcommandparams.[Ch]: add second optional argument.
128 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
130 * insetcollapsable.C (lfunMouseRelease): right mouse button only
131 shows the inset dialog.
133 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
135 * insetlabel.[Ch]: remove them
136 * Makefile.am: adjust
138 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
140 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
142 * insetinclude.C (latex): show a GUI warning if textclasses don't
144 * insetinclude.C: use mangledFilename() for temp files
145 * insetgraphics.C (readInsetGraphics): remove version check, since
146 the graphics inset has no own fileformat number anymore
148 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
150 * insetquotes.[Ch]: added new member that allows direct access
151 to single/double quotation marks.
153 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
155 2004-02-16 André Pönitz <poenitz@gmx.net>
158 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
159 implicitly assume 'DispatchResult(true, true) with exception of
160 InsetBase::priv_dispatch which does the equivalent of
161 'retrun DispatchResult(false)'
163 * inset*.[Ch] (priv_dispatch): adjust
165 * insettabular.[Ch]: remove remains of the 'update' mechanism,
166 simplify cursor moving function,
167 re-enable horizontal scrolling for large tables
169 2004-02-13 André Pönitz <poenitz@gmx.net>
171 * insettabular.[Ch]: some work after IU
173 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
175 * inset.C (setPosCache): switch to absolute coords in insets
176 * insettext.[Ch] (draw, drawFrame): adjust
177 * insetcollapsable.C (draw): adjust
180 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
182 * insettext.C (edit):
183 (updateLocal): use the cur argument instead of the global cursor
184 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
186 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
188 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
190 * insetfloat.C (validate): "H" -> 'H' in call to contains
192 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
194 2004-01-30 André Pönitz <poenitz@gmx.net>
198 * insetcollapsable.[Ch]:
201 * insetgraphics.[Ch]:
206 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
209 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
211 * insettabular.C: add using statement for std::vector, remove
212 std:: where using was already used.
214 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
216 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
218 * insetinclude.C (validate): use feautures.nice() instead of
221 2004-01-20 André Pönitz <poenitz@gmx.net>
224 * insetbase.[Ch]: move stuff from mathcursor here.
230 * insetcharstyle.[Ch]:
231 * insetcollapsable.[Ch]:
234 * insetexternal.[Ch]:
236 * insetgraphics.[Ch]:
245 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
247 2004-01-15 André Pönitz <poenitz@gmx.net>
254 * insetcharstyle.[Ch]:
255 * insetcollapsable.[Ch]:
258 * insetexternal.[Ch]:
260 * insetgraphics.[Ch]:
269 * updatableinset.[Ch] (priv_dispatch et al): change signature.
271 2004-01-08 André Pönitz <poenitz@gmx.net>
273 * insetcollapsable.[Ch]:
276 * updatableinset.h: use cell index info from global cursor.
278 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
280 * insetnote.C (InsetNoteParams::write): write label only once
282 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
284 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
286 get rid of the SameName functor
288 * insettabular.C: improve the functor.
290 2003-12-29 Angus Leeming <leeming@lyx.org>
292 * insetexternal.C (setParams): update defaultTemplateName.
294 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
296 * insetbox.C: Use term "Box" in button label
298 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
300 * insetcharstyle.C: get getDrawFont working again
302 2003-12-15 André Pönitz <poenitz@gmx.net>
305 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
307 2003-12-12 Angus Leeming <leeming@lyx.org>
309 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
311 (InsetBranchParams): remove the branchlist hack.
312 (isBranchSelected): new function, used to decide whether to
313 print each output format. Also used by InsetList.
314 (read, string2params): repair my own breakage ;-)
316 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
318 * insetminipage.[Ch]: remove from repository.
320 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
323 * insetcollapsable.[Ch]: Move all CollapseStatus code from
324 insetert to insetcollapsable; introduce virtual function
325 setButtonLabel and invoke it from collapsable
327 2003-12-12 Angus Leeming <leeming@lyx.org>
329 * insetinclude.C (draw): cache x,y and so enable the
332 2003-12-12 Angus Leeming <leeming@lyx.org>
334 * mailinset.C (print_mailer_error): tidy up the output.
336 2003-12-11 Angus Leeming <leeming@lyx.org>
338 * mailinset.[Ch] (print_mailer_error): new helper function.
340 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
341 calling InsetCommandMailer.
342 (InsetCommandMailer::string2params): pass the name of the dialog.
344 * insetbibitem.[Ch] (d-tor):
345 * insetbibtex.[Ch] (d-tor):
346 * insetcite.[Ch] (d-tor):
347 * insetfloatlist.[Ch] (d-tor):
348 * insetindex.[Ch] (d-tor):
349 * insetlabel.[Ch] (d-tor):
350 * insetref.[Ch] (d-tor):
351 * insettoc.[Ch] (d-tor):
352 * inseturl.[Ch] (d-tor): removed.
353 Hiding the dialog is handled by InsetCommand.
355 * insetbibtex.[Ch] (draw, metrics):
356 * insetfloatlist.[Ch] (draw, metrics):
357 * insetindex.[Ch] (draw, metrics): removed.
358 Drawing is handled by InsetCommand.
360 * insetbibitem.[Ch] (priv_dispatch):
361 * insetbibtex.[Ch] (priv_dispatch):
362 * insetcite.[Ch] (priv_dispatch):
363 * insetfloatlist.[Ch] (priv_dispatch):
364 * insetindex.[Ch] (priv_dispatch):
365 * insetlabel.[Ch] (priv_dispatch):
366 * insettoc.[Ch] (priv_dispatch):
367 * inseturl.[Ch] (priv_dispatch): removed or simplified.
368 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
369 LFUN_INSET_DIALOG_SHOW.
371 * insetbox.C (string2params):
372 * insetbranch.C (string2params):
373 * insetert.C (string2params):
374 * insetexternal.C (string2params):
375 * insetfloat.C (string2params):
376 * insetinclude.C (string2params):
377 * insetminipage.C (string2params):
378 * insetnote.C (string2params):
379 * insetvspace.C (string2params):
380 * insetwrap.C (string2params): over-hauled.
382 2003-12-10 Angus Leeming <leeming@lyx.org>
384 * insetexternal.[Ch]: add a draft option and respect it when
387 2003-12-10 Angus Leeming <leeming@lyx.org>
389 * insetbox.C: (read, write): now prepend the inset contents with
390 'Box' to identify the inset as a box inset.
392 * insetbox.h: move the translators out of sight.
394 2003-12-10 Angus Leeming <leeming@lyx.org>
396 * insetert.C (string2params): clean-up using the new lyxlex interface.
398 * insetexternal.C: ensure that InsetExternalParams has a default
399 template, 'RasterImage'.
401 2003-12-10 Angus Leeming <leeming@lyx.org>
403 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
404 to an enum. Ensuing clean-ups through out the class.
405 (read, write): now prepend the inset contents with 'Note' to identify
406 the inset as a note inset.
408 2003-12-10 Angus Leeming <leeming@lyx.org>
410 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
411 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
413 2003-12-10 André Pönitz <poenitz@gmx.net>
418 * insettext.[Ch]: remove unused insetInset()
420 * insetert.C: disable some LFUNs
422 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
424 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
426 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
428 2003-12-04 Angus Leeming <leeming@lyx.org>
430 * insetexternal.C (draw): update the xo_, yo_ cache.
432 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
434 (RotationDataType): new helper struct wrapping the
435 RotationData::OriginType enum.
437 2003-12-03 André Pönitz <poenitz@gmx.net>
439 * inset.h: remove getParagraphs()
441 * insetcollapsable.[Ch]:
445 * insettext.C: use getText() instead of getParagraphs()
447 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
449 * insetert.C: fix label text updating bug
451 2003-12-02 Angus Leeming <leeming@lyx.org>
453 * insetvspace.[Ch] (space): new member function. Make space_ private.
454 (read): use the new, simpler lyxlex syntax.
456 2003-12-01 André Pönitz <poenitz@gmx.net>
458 * insetcollapsable.[Ch]:
459 * insetert.[Ch]: move 'inline' state to InsetCollapsable
461 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
463 * insetvspace.C (read): handle 'end_inset' token.
465 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
467 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
469 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
471 * insetcollapsable.[Ch]:
473 * insetcharstyle.C: place inset content on the button when
476 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
478 * insetvspace.C: remove VSpace::NONE; increase inset width
480 2003-12-01 André Pönitz <poenitz@gmx.net>
482 * insetbase.h: whitespace
484 * inset.[Ch]: remove latexTextWidth
485 make setBackgroundColor virtual
487 * insettext.[Ch]: move ParagraphList member to LyXText
489 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
495 * insetminipage.[Ch]:
497 * insetwrap.[Ch]: adjust paragraphs and background color handling,
499 2003-11-28 Angus Leeming <leeming@lyx.org>
501 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
502 hiding and showing the dialog respectively.
503 (priv_dispatch): also actually update the inset contents.
505 2003-11-28 Angus Leeming <leeming@lyx.org>
507 * insetbox.C (d-tor):
508 * insetbranch.C (d-tor):
509 * insetcite.C (d-tor):
510 * insetfloat.C (d-tor):
511 * insetfloatlist.C (d-tor):
512 * insetinclude.C (d-tor):
513 * insetindex.C (d-tor):
514 simplify the invocation of the Mailer::hideDialog() function.
516 * insetminipage.C (showInsetDialog):
517 simplify the invocation of the Mailer::showialog() function.
519 2003-11-28 André Pönitz <poenitz@gmx.net>
522 * insetvspace.[Ch]: new insets
524 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
526 * insetcharstyle.C: Syntax change for CharStyles
528 2003-11-28 André Pönitz <poenitz@gmx.net>
530 * updatableinset.h: remove insetInInsetY
532 * insetcollapsable.[Ch]:
535 * insettext.[Ch]: adjust
537 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
541 * insetcollapsable.[Ch]:
543 * insettabular.[Ch]: remove setFont
545 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
547 * render_graphic.[Ch]: adjust comments
549 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
551 * insetgraphics.C (draw): cache xo_ & yo_
553 2003-11-24 André Pönitz <poenitz@gmx.net>
555 * insettext.C (setViewCache): don't call LyXText::init() anymore
557 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
560 * insetcollapsable.[Ch]:
561 * insetert.[Ch]: remove bufferview parameter in methods
562 open, close, status, and updateStatus.
564 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
566 * insetcollapsable.[Ch]:
568 * insettext.[Ch] (getCursorDim): squash unused variable
570 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
572 * insettext.C (edit): x0_,y0_ -> xo_,yo_
574 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
576 * insettext.C (draw): sets LyXText absolute coordinates
578 2003-11-20 Angus Leeming <leeming@lyx.org>
580 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
581 about unused parameters.
583 * insetcollapsable.C (open):
584 * insettabular.C (pasteSelection):
585 * insettoc.C (draw): ditto.
587 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
589 * insetcollapsable.C:
591 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
592 remove mouse_x mouse_y etc.
594 2003-11-17 André Pönitz <poenitz@gmx.net>
596 * insettext.[Ch] (cx, cy): remove
598 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
600 2003-11-13 André Pönitz <poenitz@gmx.net>
603 * insetcollapsable.[Ch]:
605 * insettext.[Ch] (deleteLyXText): remove
607 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
609 * insetcollapsable.[Ch] (fitInsetCursor): remove
610 * insettabular.[Ch] (fitInsetCursor): remove
611 * insettext.[Ch] (fitInsetCursor): remove
612 * updatableinset.[Ch] (fitInsetCursor): remove
613 (getCursorDIm): add virtual
615 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
617 * src/insets/Makefile.am:
618 * src/insets/inset.h:
619 * src/insets/insetcharstyle.C:
620 * src/insets/insetcharstyle.h: The Character Style /XML short
623 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
625 * insettext.C: remove all update calls
626 * insetcollapsable.C: remove all update calls
628 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
630 * insettext.C (updateLocal, insertInset, setFont): remove
633 2003-11-10 André Pönitz <poenitz@gmx.net>
635 * inset.h: remove Inset::id_
637 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
640 2003-11-10 André Pönitz <poenitz@gmx.net>
644 * insetcollapsable.[Ch]:
651 * updatableinset.[Ch]: remove inset locking & adjust
653 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
655 * inset.h (allowSpellCheck): add (return true)
656 * insetert.h (allowSpellCheck): add (return false)
658 2003-11-05 José Matos <jamatos@lyx.org>
666 * insetcollapsable.[Ch]:
670 * insetexternal.[Ch]:
672 * insetfloatlist.[Ch]:
674 * insetgraphics.[Ch]:
679 * insetlatexaccent.[Ch]:
682 * insetmarginal.[Ch]:
683 * insetminipage.[Ch]:
687 * insetpagebreak.[Ch]:
691 * insetspecialchar.[Ch]:
697 * insetwrap.[Ch]: rename ascii to plaintext
698 and LatexRunParams to OutputParams.
700 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
702 * insetcollapsable.C (edit): add open() all
703 * insettext.C (edit): add setViewCache call
705 2003-11-04 André Pönitz <poenitz@gmx.net>
707 * inset.h (edit): move locking code from dispatch() to edit()
713 * insetcollapsable.[Ch]:
716 * insetexternal.[Ch]:
717 * insetgraphics.[Ch]:
723 * insettext.[Ch]: adjust
725 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
728 * insetcollapsable.[Ch]:
732 * updatableinset.[Ch]: remove dead search code
734 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
737 * insetcollapsable.[Ch]:
741 * updatableinset.[Ch]: remove dead spellcheck code
743 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
745 * insettabular.C (lockInsetInInset): small fix
747 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
749 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
750 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
751 from here. Be stricter on DispatchResult returned.
753 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
755 * Inset::dispatch's: adjust for new DispatchResult semantics.
757 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
759 * render_base.h: make clone return an auto_ptr
760 * render_button.C (clone): adjust
761 * render_graphic.C (clone): adjust
762 * render_preview.C (clone): adjust
764 * insettheorem.C (clone): return an auto_ptr
766 * insettext.C (priv_dispatch): exception safety
768 * insettabular.C: store the file scope variable paste_tabular in a
769 scoped_ptr, adjust usage.
771 * insetexternal.C (setParams): exception safety
773 * insetbibitem.C (clone): exception safety
775 2003-11-03 André Pönitz <poenitz@gmx.net>
778 * insetcollapsable.[Ch]:
780 * insettext.[Ch]: remove Inset::id and related functions
782 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
784 * insets: adjust for DispatchResult changes.
786 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
788 * insetpagebreak.C: fix screen representation & ascii output.
790 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
795 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
797 2003-10-31 José Matos <jamatos@lyx.org>
799 * inset.h (ascii, linuxdoc, docbook):
800 * insetbox.[Ch] (ascii, linuxdoc, docbook):
801 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
802 * insetcaption.[Ch] (ascii, docbook):
803 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
804 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
805 * insetert.[Ch] (ascii, linuxdoc, docbook):
806 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
807 * insetfloat.[Ch] (linuxdoc, docbook):
808 * insetfloatlist.[Ch] (ascii):
809 * insetfoot.[Ch] (docbook):
810 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
811 * insethfill.[Ch] (ascii, linuxdoc, docbook):
812 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
813 * insetindex.[Ch] (docbook):
814 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
815 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
816 * insetline.[Ch] (ascii, linuxdoc, docbook):
817 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
818 * insetnote.[Ch] (ascii, linuxdoc, docbook):
819 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
820 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
821 * insetref.[Ch] (ascii, linuxdoc, docbook):
822 * insetspace.[Ch] (ascii, linuxdoc, docbook):
823 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
824 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
825 * insettext.[Ch] (ascii, linuxdoc, docbook):
826 * insettoc.[Ch] (ascii, linuxdoc, docbook):
827 * inseturl.[Ch] (ascii, linuxdoc, docbook):
828 * insetwrap.[Ch] (docbook):
829 add LatexRunParams argument.
831 2003-10-30 José Matos <jamatos@lyx.org>
833 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
835 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
837 * updatableinset.C (priv_dispatch):
838 * insetwrap.C (priv_dispatch):
839 * inseturl.C (priv_dispatch):
840 * insettoc.C (priv_dispatch):
841 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
842 (moveLeftIntern, moveUp, moveDown):
843 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
844 (moveLeft, moveUp, moveDown):
845 * insetref.C (priv_dispatch):
846 * insetnote.C (priv_dispatch):
847 * insetminipage.C (priv_dispatch):
848 * insetlabel.C (priv_dispatch):
849 * insetindex.C (priv_dispatch):
850 * insetinclude.C (priv_dispatch):
851 * insetgraphics.C (priv_dispatch):
852 * insetfloatlist.C (priv_dispatch):
853 * insetfloat.C (priv_dispatch):
854 * insetexternal.C (priv_dispatch):
855 * insetert.C (priv_dispatch):
856 * insetcommand.C (priv_dispatch):
857 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
858 * insetcite.C (priv_dispatch):
859 * insetbranch.C (priv_dispatch):
860 * insetbox.C (priv_dispatch):
861 * insetbibtex.C (priv_dispatch):
862 * insetbibitem.C (priv_dispatch):
863 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
865 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
867 * insettext.C: small refactoring of docbook stuff
869 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
871 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
872 (priv_dispatch): adjust for operator dispatch_result_t removal
874 * insettabular.C (lfunMouseRelease): put the result of a dispatch
875 in a DispatchResult, adjust accordingly.
876 (priv_dispatch): use strange >= construct... (will be removed later)
878 * most insets: dispatch_result -> DispatchResult
880 * insetbase.h: move DispatchResult out to dispatchresult.h
882 2003-10-27 André Pönitz <poenitz@gmx.net>
884 * insetpagebreak.[Ch]: new inset for page breaks
886 * insetline.[Ch]: new inset for vertical lines
891 2003-10-25 Angus Leeming <leeming@lyx.org>
893 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
894 new virtual member functions, specialised...
895 * render_button.h (asButton):
896 * render_graphic.h (asGraphic):
897 * render_preview.h (asPreview, asMonitoredPreview): ... here.
899 * insetexternal.C: use these new functions rather than dynamic_cast.
900 Various other small simplifications.
902 2003-10-22 Angus Leeming <leeming@lyx.org>
904 * insetexternal.[Ch]: add the ability to 'preview' the external file
907 * insetinclude.C: changes due to the changes in the RenderPreview
910 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
911 message if the preview image is not available. Only initiate the
912 loading of the preview from draw(). Ditto, start the monitoring
913 of an external file from RenderMonitoredPreview::draw.
915 2003-10-22 Angus Leeming <leeming@lyx.org>
917 * insetcite.[Ch] (setLoadingBuffer): removed.
918 (getNatbibLabel): use the new Buffer::fully_loaded member function to
919 ascertain whether to proceed with the (expensive) task of computing
920 the natbib-style label. Remove the home-grown hack providing
921 similar functionality.
923 2003-10-22 Angus Leeming <leeming@lyx.org>
925 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
926 class and into an anonymous namespace.
928 2003-10-22 Angus Leeming <leeming@lyx.org>
930 * insetcommand.h: remove the display method.
934 * insetindex.h (InsetPrintIndex):
935 * insettoc.h: add a display method, returning true.
937 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
939 * insetcollapsable.h:
943 * insetinclude.h: (1) finish off the inset display() work;
944 (2) fix the "is a bit silly" bug (accessing char
947 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
951 * insetfootlike.h: re-introduce display() for insets,
952 fixing the various bugs (stretch of line above, math inset
955 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
957 * insetbase.C (dispatch): new func
958 (priv_dispatch): new func replaces...
959 (localDispatch): this, deleted.
961 * all insets with dispatch modified for new code.
963 2003-10-15 André Pönitz <poenitz@gmx.net>
965 * insetcollapsable.[Ch]
967 * inset.h: re-add some edit(bv, index) method called by undo
969 2003-10-14 Angus Leeming <leeming@lyx.org>
971 * insetexternal.[Ch] (view, cache, view_):
972 * insetgraphics.[Ch] (view, cache, view_):
973 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
974 (statusChanged): call LyX::cref().updateInset.
976 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
977 the BufferView cache.
979 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
982 2003-10-14 Angus Leeming <leeming@lyx.org>
984 * insetinclude.C (metrics, draw): only draw the preview when previews
987 2003-10-14 André Pönitz <poenitz@gmx.net>
989 * insetcollapsable.[Ch]:
992 * inset.h: getText() as alternative to getParagraphs()
994 2003-10-13 Angus Leeming <leeming@lyx.org>
997 * insetgraphicsParams.C: displayTranslator is now a function.
999 2003-10-13 Angus Leeming <leeming@lyx.org>
1001 * insetinclude.C: remove #include "PreviewImage.h".
1003 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1005 * ExternalSupport.C:
1006 * ExternalTransforms.C:
1008 * insetbox.h: ws changes only
1010 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1012 * insetinclude.C (localDispatch): do not call
1013 InsetOld::localDispatch, just return UNDISPATCHED
1014 * insetgraphics.C (localDispatch): ditto
1015 * insetcommand.C (localDispatch): ditto
1017 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1019 * inset.h: get rid of RESULT typedef for dispatch_result
1021 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1022 * insetert.[Ch] (localDispatch): ditto
1023 * insettabular.[Ch] (localDispatch): ditto
1028 * insettext.[Ch] (localDispatch): ditto
1031 (moveRightIntern): ditto
1032 (moveLeftIntern): ditto
1035 * updatableinset.[Ch] (localDispatch): ditto
1037 2003-10-12 Angus Leeming <leeming@lyx.org>
1039 * renderbase.h (view, view_): removed.
1040 * renderbase.C: removed.
1041 * Makefile.am: remove render_base.C. The shortest lived file in
1044 * renderbutton.C (draw):
1045 * render_graphic.C (draw): don't cache the BufferView.
1047 * insetabase.h (cache, view): removed.
1049 * inset.h (generatePreview) removed.
1051 * insetcallapsable.[Ch] (cache, view, view_): removed.
1053 * insetcollapsable.C (draw): don't cache the BufferView.
1055 * insetcommand.[Ch] (view): removed.
1057 * insetexternal.[Ch] (cache, view, view_):
1058 * insetgraphics.[Ch] (cache, view, view_):
1059 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1061 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1062 when you have direct access to it. In fact, don't use the cache at all.
1064 2003-10-10 Angus Leeming <leeming@lyx.org>
1066 * insetinclude.C (metrics): use preview_->metrics.
1067 (draw): use preview_->draw.
1069 * render_preview.[Ch] (pimage): removed.
1071 2003-10-10 Angus Leeming <leeming@lyx.org>
1073 * renderers.[Ch]: removed.
1076 * render_button.[Ch]:
1077 * render_graphic.[Ch]:
1078 * render_preview.[Ch]: new files. The first three are split out of
1079 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1080 contains a re-worked InsetInclude::PreviewImpl also.
1082 * Makefile.am: reflect the changed files.
1085 * insetexternal.[Ch]:
1086 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1088 * insetinclude.[Ch]: changes reflecting the change from
1089 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1095 * inseturl.C: add #include "support/std_ostream.h"
1097 2003-10-09 Angus Leeming <leeming@lyx.org>
1099 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1100 to PreviewedInset::previewReady.
1102 2003-10-09 Angus Leeming <leeming@lyx.org>
1104 * insetexternal.[Ch] (statusChanged):
1105 * insetgraphics.[Ch] (statusChanged): make a const member function.
1107 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1110 2003-10-09 Angus Leeming <leeming@lyx.org>
1112 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1113 to PreviewedInset's previewReady and removePreview member functions.
1115 2003-10-08 André Pönitz <poenitz@gmx.net>
1117 * insetcollapsable.C:
1118 * insettext.[Ch]: saner 'init' structure
1120 * updatableinset.[Ch]: remove unneeded code
1122 2003-10-08 Angus Leeming <leeming@lyx.org>
1124 Fix doxygen warnings.
1126 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1127 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1129 2003-10-07 Angus Leeming <leeming@lyx.org>
1131 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1132 be applied to InsetExternal.
1134 * Makefile.am: add these new files.
1136 * ExternalTemplate.[Ch]: add a list of available transforms to
1137 class Template and a list of factory functions for transformer classes
1138 that can act on this data to class Format.
1140 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1142 * ExternalSupport.C: Add code to replace transform placeholders
1143 with appropriate output.
1145 2003-10-07 Angus Leeming <leeming@lyx.org>
1147 * ExternalSupport.[Ch]: new files, moving the private member functions
1148 and namespace anon functions out of insetexternal.C to here, so making
1149 it easier to understand what is going on in insetexternal itself.
1151 * Makefile.am: add new files.
1153 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1154 allowing the class to be forward declared. (Also consistent with
1155 all other Params classes.)
1156 (write): moved out of the class. Move this function and those in
1157 namespace anon to ExternalSupport.[Ch].
1159 2003-10-07 Angus Leeming <leeming@lyx.org>
1161 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1162 non-const member function.
1164 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1169 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1171 2003-10-02 André Pönitz <poenitz@gmx.net>
1173 * insettext.C (read): make sure there is at least one par
1174 in the text after reading.
1176 2003-10-01 José Matos <jamatos@lyx.org>
1178 * insetbranch.C (linuxdoc, docbook): minor fix.
1180 2003-10-01 Angus Leeming <leeming@lyx.org>
1182 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1184 * insetexternal.[Ch]: changes due to the introduction of
1185 namespace lyx::external.
1187 2003-09-30 Angus Leeming <leeming@lyx.org>
1189 * insetexternal.[Ch] (Params::read, write): new member functions.
1191 2003-09-25 Angus Leeming <leeming@lyx.org>
1193 * insetexternal.[Ch] (TempName): new (private) nested struct with
1194 fake copy semantics. Enables us to use the generated copy c-tor
1195 in the Params struct.
1196 (Params::templatename, Params::tempname): use accessor functions.
1198 2003-09-25 Angus Leeming <leeming@lyx.org>
1200 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1201 function, returning a const pointer.
1203 2003-09-23 Angus Leeming <leeming@lyx.org>
1205 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1206 store them in a vector, preambleNames.
1208 * insetexternal.C (validate): loop over all preambleNames and call
1209 LaTeXFeatures::addExternalPreamble with each.
1211 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1213 * insetbranch.C: bug fix in branches
1215 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1217 * insetnote.C: small clean-up.
1219 2003-09-19 Angus Leeming <leeming@lyx.org>
1221 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1223 * insetcommand.C (string2params): clear params using the default c-tor.
1225 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1226 InsetInclude::Params. No more data in this struct than in
1227 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1228 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1229 (clone): remove #warning as it's now redundant.
1230 (set): add a 'Buffer const &' arg. Make private.
1231 (loadIfNeeded) move out of the class definition and into namespace anon.
1232 (getMasterFilename, getFileName): ditto.
1234 2003-09-18 Angus Leeming <leeming@lyx.org>
1236 * insetcommand.C (setParams): use the params' copy constructor.
1238 2003-09-18 Angus Leeming <leeming@lyx.org>
1240 * insetinsetbase.h (getLabelList):
1241 * insetinsetcollapsable.[Ch] (getLabelList):
1242 * insetinsetinclude.[Ch] (getLabelList):
1243 * insetinsetlabel.[Ch] (getLabelList):
1244 * insetinsettabular.[Ch] (getLabelList):
1245 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1246 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1248 2003-09-18 Angus Leeming <leeming@lyx.org>
1250 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1251 redundant baggage from yesteryear.
1252 Remove Params::flag as it is redundant; the info is present in
1255 2003-09-18 Angus Leeming <leeming@lyx.org>
1257 * insetinclude.C (latexString): add a Buffer const & arg.
1259 2003-09-18 Angus Leeming <leeming@lyx.org>
1264 * insettext.h: rename EnumLColor as LColor_color.
1266 2003-09-18 Angus Leeming <leeming@lyx.org>
1268 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1269 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1271 2003-09-16 Angus Leeming <leeming@lyx.org>
1273 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1274 set before trying to generate a preview, else we trigger an assert.
1276 2003-09-16 Angus Leeming <leeming@lyx.org>
1278 * insetinclude.C (PreviewImpl::parent): return a const reference.
1280 2003-09-16 Angus Leeming <leeming@lyx.org>
1282 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1284 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1286 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1287 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1289 * insetminipage.C (metrics):
1290 * insetnote.C (metrics):
1291 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1292 access collapsed_ directly.
1294 2003-09-16 Angus Leeming <leeming@lyx.org>
1296 * insetbibitem.C: add #include "lyxfont.h".
1298 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1301 * insetbibtex.C: use namespace alias for lyx::support::os
1303 2003-09-16 Angus Leeming <leeming@lyx.org>
1305 * insetcollapsable.h: remove unused framecolor variable.
1306 Remove #include "LColor.h".
1308 * insetcollapsable.C: remove unused framecolor variable.
1311 * insetcollapsable.C:
1319 Add #include "LColor.h".
1321 2003-09-16 Angus Leeming <leeming@lyx.org>
1323 * insettext.[Ch] (frameColor): new accessor function.
1324 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1330 add #include "LColor.h".
1332 * insetcollapsable.h: add #include "LColor.h"
1333 (for its framecolor member variable).
1335 2003-09-16 Angus Leeming <leeming@lyx.org>
1337 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1339 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1340 rename frame_color as frame_color_. Make private.
1342 * insettext.C: associated changes.
1344 2003-09-16 Angus Leeming <leeming@lyx.org>
1346 * inset.h: store background_color_ as an int, not as an LColor::color to
1347 get LColor.h out of the header file.
1350 * insetlatexaccent.C:
1353 * insetspecialchar.C:
1355 add #include "LColor.h".
1357 2003-09-16 Angus Leeming <leeming@lyx.org>
1359 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1362 2003-09-15 Angus Leeming <leeming@lyx.org>
1364 * inset.[Ch] (setBackgroundColor, backgroundColor):
1365 * insettext.[Ch] (setFrameColor):
1366 pass EnumLColor args, rather than LColor::color ones.
1368 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1378 * insetwrap.C: remove usage of STRCONV
1380 2003-09-15 Angus Leeming <leeming@lyx.org>
1382 * renderers.C (draw):
1383 * insetlatexaccent.C (draw): explicitly define the color passed to
1386 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1388 * insettext.C: remove block causing problems in lockInsetInInset
1389 (mentioned erroneously under Bug #1366)
1391 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1393 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1396 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1398 * several files: change Assert to BOOST_ASSERT
1400 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1402 * insettext.[Ch]: remove drawText[XY]Offset
1404 2003-09-08 Angus Leeming <leeming@lyx.org>
1406 * insetcollapsable.C:
1411 * insetspecialchar.C:
1414 * insettoc.C: remove redundant using directives.
1416 2003-09-07 Angus Leeming <leeming@lyx.org>
1419 * insetspecialchar.h: remove #include "support/std_string.h".
1421 2003-09-06 Angus Leeming <leeming@lyx.org>
1423 * renderers.C: add #include "insets/inset.h"
1425 2003-09-05 Angus Leeming <leeming@lyx.org>
1427 * *.C: strip out redundant #includes. (193 in total.)
1429 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1431 * insets/insetbibtex.[Ch]:
1432 * insets/insetcommand.h:
1433 * insets/insetfloatlist.[Ch]:
1434 * insets/insetinclude.[Ch]:
1435 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1436 of insets like bibtex, include, toc and floatlist to the visible
1437 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1438 up the dialogs. Cursor has to be in front of the inset (i.e.
1439 start of row) for this to function.
1441 2003-09-04 Angus Leeming <leeming@lyx.org>
1443 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1444 structure outside of the Format struct. Format::preambleName refers to
1445 an item in the map of all preamble snippets.
1446 Make use of the new Debug::EXTERNAL flag.
1448 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1449 (validate): Small change due to the changed storage of preamble snippets.
1451 2003-09-04 Angus Leeming <leeming@lyx.org>
1453 * insetgraphics.C: #include "support/os.h"
1455 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1456 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1457 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1459 * insetcollapsable.h:
1461 * insetnote.C: move #include "funcrequest.h" out of the header file.
1463 2003-09-03 Angus Leeming <leeming@lyx.org>
1465 * insetexternal.C (updateExternal):
1466 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1469 2003-09-03 Angus Leeming <leeming@lyx.org>
1471 * insetexternal.C: don't bring namespace lyx::support into the global
1474 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1476 * insetbranch.C: Add Branch: to label
1478 2003-09-02 John Levon <levon@movementarian.org>
1481 * insettext.C: remove cursor.i[xy]()
1483 2003-08-28 Angus Leeming <leeming@lyx.org>
1485 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1486 "sh ", enabling the conversion to be carried out even if the script
1489 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1491 * most files: change to use const Buffer refs
1493 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1495 * insetfootlike.C: whitespace.
1497 2003-08-26 John Levon <levon@movementarian.org>
1501 * insetindex.h: remove remaining mentions of needFullRow()
1503 2003-08-26 André Pönitz <poenitz@gmx.net>
1509 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1511 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1513 * insetbranch.C: Small fix to prevent a crash on loading.
1515 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1520 * insetcollapsable.h:
1522 * insetfloatlist.[Ch]:
1523 * insetfootlike.[Ch]:
1524 * insetinclude.[Ch]:
1530 * insettheorem.[Ch]:
1531 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1532 altogether, putting the logic in metrics/draw in the insets.=20
1533 Draws short single row insets with more or less realistic metrics.
1535 2003-08-19 André Pönitz <poenitz@gmx.net>
1537 * insettext.C: use new RowPainter interface
1539 2003-08-18 John Levon <levon@movementarian.org>
1541 * insetref.C: require amsmath for eqref
1543 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1547 * insetbranch.[Ch]: implements the 'branch inset'
1548 idea. This allows the output of various versions of a document
1549 from a single source version, selectively outputing or suppressing
1550 output of parts of the text.
1551 This implementation contains a 'branch list editor' in a separate
1552 tab of the document settings dialog. Branches are user definable
1553 and have a "display colour" to distinguish them on-screen.
1555 ColorHandler was somewhat cleaned up.
1556 (1) make possible a dynamically growing LColor list by allowing
1557 the graphic context cache to grow along (vector);
1558 (2) eliminate an IMHO unnecessary step in colour allocation.
1560 2003-08-15 André Pönitz <poenitz@gmx.net>
1562 * insettext.[Ch]: adjust after rowlist split
1564 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1566 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1567 rename valign-center to valign-middle;
1568 rename VALIGN_CENTER to VALIGN_MIDDLE
1570 2003-08-11 André Pönitz <poenitz@gmx.net>
1572 * inset.h: remove resizeLyXText
1575 * insetcollapsable.[Ch]:
1577 * insettabular.[Ch]: adjust
1579 * insettext.[Ch]: remove saveLyXTextState,
1580 restoreLyXTextStat, sstate, reinitLyXText
1582 2003-08-07 André Pönitz <poenitz@gmx.net>
1584 * inset.[Ch]: move non-crucial functions out-of-line
1586 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1587 remove duplicated code.
1589 2003-08-05 André Pönitz <poenitz@gmx.net>
1592 * insetcollapsable.[Ch]:
1602 * insettabular.[Ch]:
1605 * updatableinset.[Ch]: rip out "deep update"
1607 * insettext.C (localDispatch): merge cases with default branch
1609 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1611 * insettabular.[Ch] (updateLocal): simplify logic
1613 2003-08-04 André Pönitz <poenitz@gmx.net>
1615 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1616 is 'FULL' all the time.
1618 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1620 * insetert.C (get_new_label): only add ... to the (closed) label
1621 when the string has been shortened
1623 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1625 * Always use std::endl with lyxerr
1627 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1629 * insetnote.C: update \author list
1631 2003-07-31 André Pönitz <poenitz@gmx.net>
1633 * insetcollapsable.h:
1634 * insettabular.[Ch]:
1635 * insettext.[Ch]: remove toggleSelection
1637 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1639 (with help from Juergen Spitzmueller)
1640 * insetnote.C: add add i18n support. Use Prefs-definable
1641 colours for Comment and Greyedout.
1643 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1645 * insetcollapsable.[Ch]:
1647 * insetert.C: factor out the detection of clicking on the inset
1648 button as 'hitButton'. John Levon contributed.
1650 2003-07-30 André Pönitz <poenitz@gmx.net>
1652 * insetcollapsable.C:
1654 * insettabular.C: parantheses, localize vars etc.
1656 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1658 * insetnote.C: Implement a newenvironment in preamble for
1659 greyedout. Patch provided by Jürgen Spitzmüller.
1661 2003-07-29 Angus Leeming <leeming@lyx.org>
1663 * insetcommand.C (localDispatch): default to
1664 InsetOld::localDispatch.
1666 * insetbibitem.C (localDispatch):
1667 * insetbibtex.C (localDispatch): remove call to
1668 ChangeCitationsIfUnique.
1670 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1672 * insetexternal.C (read): use pushpophelper.
1674 2003-07-28 José Matos <jamatos@lyx.org>
1676 * insetext.C (read): \end_document replaces \the_end.
1678 2003-07-28 José Matos <jamatos@fep.up.pt>
1680 * insetert.C (write): \layout -> \begin_layout.
1681 Add missing \end_layout.
1683 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1685 * insetquotes.C: document a bit the format
1687 * insettabular.C (write): remove extra space
1689 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1690 * insetnote.C: Umpf. Hope I *now* get it right :-(
1692 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1693 *insetnote.C: did the right fix to greyedout: \color
1694 instead of \textcolor.
1696 2003-07-28 Angus Leeming <leeming@lyx.org>
1698 * insetbibtex.h: remove extraneous forward declaration.
1701 * insetbibtex.h: Also remove long-dead Holder member class
1704 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1706 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1709 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1711 * insetwrap.C (addToToc): adjust for lyx::toc
1713 * insetfloatlist.C (ascii): adjust for lyx::toc
1715 * insetfloat.C (addToToc): adjust for lyx::toc
1717 2003-07-27 José Matos <jamatos@fep.up.pt>
1719 * insetnote.h (linuxdoc,docbook): update support.
1721 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1723 * insetfloat.C (wide): add a space to label, for consistency
1725 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1727 * insettext.C (nextChange): adjust for lyx::find
1728 (searchForward): ditto
1729 (searchBackward): ditto
1731 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1733 * insetgraphicsParams.C:
1734 * insetexternal.C: declare extern displayTranslator
1737 * renderers.C: add #include "support/LAssert.h"
1739 2003-07-27 José Matos <jamatos@fep.up.pt>
1741 * insetfloat.[Ch] (linuxdoc):
1742 * insetgraphics.C (linuxdoc):
1743 * insettabular.C (linuxdoc):
1744 * insettext.[Ch] (linuxdoc): add support for tables and figures
1747 2003-07-27 José Matos <jamatos@fep.up.pt>
1749 * insetinclude (latex): comply with makeLaTeXFile argument change.
1751 2003-07-26 Asger Alstrup <alstrup@local>
1753 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1754 the undo crashes. We'll see what problems other places this will
1757 2003-07-26 Angus Leeming <leeming@lyx.org>
1759 * insetgraphics.C: remove unused declaration of system_tempdir.
1761 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1763 * rename Inset to InsetOld
1765 * all inset files (clone): return a auto_ptr<InsetBase>
1767 2003-07-23 Angus Leeming <leeming@lyx.org>
1769 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1771 2003-07-23 Angus Leeming <leeming@lyx.org>
1773 * mailinset.[Ch] (inset2string):
1774 * insetcommand.[Ch] (inset2string):
1775 * insetert.[Ch] (inset2string):
1776 * insetexternal.[Ch] (inset2string):
1777 * insetfloat.[Ch] (inset2string):
1778 * insetgraphics.[Ch] (inset2string):
1779 * insetinclude.[Ch] (inset2string):
1780 * insetminipage.[Ch] (inset2string):
1781 * insetnote.[Ch] (inset2string):
1782 * insettabular.[Ch] (inset2string):
1783 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1785 * insetexternal.[Ch]:
1786 * insetgraphics.[Ch]: get rid of the view() function. Associated
1787 changes to the mailers' string2params and params2string functions.
1789 2003-07-23 Angus Leeming <leeming@lyx.org>
1791 * insetexternal.[Ch]: store the external file name in a FileName
1792 member variable rather than a string + associated changes.
1794 2003-07-21 Angus Leeming <leeming@lyx.org>
1796 * insetgraphicsParams.[Ch]: store the graphics file name in
1797 a FileName member variable rather than a string.
1799 * insetgraphics.[Ch]:
1800 * insetgraphicsParams.[Ch]: Associated changes.
1802 2003-07-21 Angus Leeming <leeming@lyx.org>
1804 * insetgraphics.[Ch] (string2params, params2string): passed a
1805 buffer_path argument.
1808 2003-07-21 Angus Leeming <leeming@lyx.org>
1811 * insetgraphicsParams.[Ch]:
1813 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1815 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1817 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1819 2003-07-18 André Pönitz <poenitz@gmx.net>
1822 * insetminipage.[Ch]:
1823 * insettabular.[Ch]:
1826 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1828 2003-07-18 André Pönitz <poenitz@gmx.net>
1832 * insetcollapsable.C:
1836 * insetgraphics.[Ch]:
1837 * insetlatexaccent.[Ch]:
1842 * insetspecialchar.C:
1843 * insettabular.[Ch]:
1845 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1847 2003-07-17 André Pönitz <poenitz@gmx.net>
1849 * insetcollapsable.C:
1851 * insettext.C: don't call Inset::update() anymore
1854 * insettabular.[Ch]: remove unneeded in_update_ members
1856 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1858 2003-07-16 André Pönitz <poenitz@gmx.net>
1860 * insettext.C (selectAll): remove
1862 2003-07-16 John Levon <levon@movementarian.org>
1865 * insetnote.C: implement showInsetDialog()
1867 2003-07-15 André Pönitz <poenitz@gmx.net>
1870 * insettext.C: refresh_status tristate -> need_update bool
1872 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1874 * insettext.C: adjust call to LyXText::init
1876 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1878 * insettext.C: use bufferview_funcs->replaceSelection()
1879 to delete selections in some cases (bugs 441, 673, 702, 954).
1881 2003-07-14 André Pönitz <poenitz@gmx.net>
1883 * insettext.C (draw): use slimmed down rowpainter interface
1885 2003-07-14 André Pönitz <poenitz@gmx.net>
1887 * insetcollapsable.C:
1889 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1890 remove unused BufferView * argument
1892 2003-07-14 André Pönitz <poenitz@gmx.net>
1894 * insettext.[Ch]: used cached metrics a bit more
1896 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1898 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1900 2003-07-10 André Pönitz <poenitz@gmx.net>
1903 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1905 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1907 * introduce namespace lyx::graphics
1909 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1911 * introduce namespace lyx::support
1913 2003-06-30 André Pönitz <poenitz@gmx.net>
1915 * insetcite.C (localDispatch): fix case of missing return value
1917 * insetcite.C (ascii): remove unneeded temporary
1919 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1921 * insetspace.h: fix \file
1923 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1924 * insetinclude.C (fillWithBibKeys): ditto
1926 * insetbibitem.C: fix type const order
1928 * inset.C (getLyXText): add varname for arg
1930 * ExternalTemplate.h: fix type const order
1932 2003-06-27 André Pönitz <poenitz@gmx.net>
1934 * insettext.C: take care of removed LyXCursor::row_ member
1936 * insettext.[Ch]: use new TextCursor struct for sstate
1938 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1940 * inseterror.[Ch]: removed
1942 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1944 * insetinclude.C (docbook): use parseError instead of sgmlError
1946 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1948 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1949 of BufferList::loadLyXFile
1951 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1953 * insettext.C (update): simplify
1954 (updateLocal): remove commented code
1955 (insetUnlock): simplify
1956 (lockInset): simplify
1957 (updateInsetInInset): simplify
1958 (localDispatch): simplify
1960 (resizeLyXText): simplify
1961 (collapseParagraphs): simplify
1963 * insetert.C (get_new_label): simplify
1965 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1967 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1968 pasteSelection with index
1970 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1972 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1974 2003-06-16 André Pönitz <poenitz@gmx.net>
1976 * insetbase.h: new virtual base function clone()
1978 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1979 Inset * clone() -> InsetBase * clone()
1981 2003-06-13 André Pönitz <poenitz@gmx.net>
1983 * insettabular.[Ch]: make tabular a proper member
1985 2003-06-12 André Pönitz <poenitz@gmx.net>
1987 * insettabular.[Ch]: some renaming plus whitespace
1989 2003-06-11 Angus Leeming <leeming@lyx.org>
1991 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1994 * insetbutton.[Ch]: removed.
1995 * graphicinset.[Ch]: renamed as renderers.[Ch].
1997 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1998 Create a new class ButtonRenderer using the InsetButton::metrics() and
2000 Derive both from a common RenderedInset base class.
2002 * insetcommand.[Ch]:
2003 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2004 Give it a ButtonRenderer member variable. Use it.
2005 Give the classes working copy c-tors.
2006 No longer derive from boost::noncopyable.
2008 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2009 display its contents as a button or as a graphic.
2011 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2014 2003-06-11 Angus Leeming <leeming@lyx.org>
2016 * insetcite.C (localDispatch): reformat.
2018 * insetref.C (localDispatch): enable dialog to be lauched.
2020 2003-06-11 John Levon <levon@movementarian.org>
2022 * insettabular.C: correctly mark all cells as erased
2024 2003-06-11 Angus Leeming <leeming@lyx.org>
2026 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2027 ExternalTemplate but its name, templatename. This means that a file
2028 containing a reference to an External Template not installed on the
2029 current machine will be saved retaining this info rather than inserting
2030 the first "valid" template from the list of templates.
2032 As a by product, the visual statement that the Template is missing is
2035 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2037 * insettext.C (appendParagraphs): remove some commented code.
2039 2003-06-10 Angus Leeming <leeming@lyx.org>
2041 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2044 * insetexternal.[Ch]: move tempname_ into the Params struct.
2045 (Params d-tor): new function, to clean-up this temp file.
2046 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2048 (editExternal, doSubstitution): move out of class.
2050 2003-06-10 Angus Leeming <leeming@lyx.org>
2052 * graphicinset.[Ch] (params): removed.
2053 * graphicinset.h (operator=): declared private but not defined.
2054 (statusMessage): made private.
2056 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2058 2003-06-07 John Levon <levon@movementarian.org>
2060 * insetert.C (latex): make a newline mean just that not
2063 2003-06-07 José Matos <jamatos@fep.up.pt>
2065 * insethfill.[Ch] (linuxdoc, docbook): implement output
2066 * insetspace.C (linuxdoc, docbook): remove coments as the code
2069 2003-06-06 José Matos <jamatos@fep.up.pt>
2071 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2073 2003-06-06 André Pönitz <poenitz@gmx.net>
2075 * insetwrap.[Ch]: code compactification
2077 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2079 * mailinset.C (updateDialog): use Dialogs::visible
2081 2003-06-04 Angus Leeming <leeming@lyx.org>
2083 * graphicinset.C (draw): add a comment for the #if 0 block.
2085 * insetexternal.h: remove Params::parameters variable.
2086 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2087 and read it back making full use of LyXLex.
2089 2003-06-04 André Pönitz <poenitz@gmx.net>
2091 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2093 2003-06-04 John Levon <levon@movementarian.org>
2095 * insettabular.C: back out tall table speed up. It was broken
2097 2003-06-03 Angus Leeming <leeming@lyx.org>
2099 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2100 Remove ViewCommand and UpdateCommand.
2102 * graphicinset.C (update): bug fix. Set the params before calling the
2104 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2105 BufferView cache to enable the InsetExternal::editCommand to be invoked
2106 from the frontends. Would not be needed if this were dispatched properly.
2107 (old_ascent_): variable removed.
2109 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2110 do any necessary conversions of external material. Also use the
2111 new GraphicsInset to display the inset within LyX.
2113 2003-06-03 Angus Leeming <leeming@lyx.org>
2115 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2116 and move it somewhere where InsetExternal can use it too.
2118 * Makefile.am: add the new files.
2120 * insetgraphics.[Ch]: make use of the new GraphicInset.
2122 2003-06-03 John Levon <levon@movementarian.org>
2125 * insetbibitem.[Ch]:
2128 * insetcommand.[Ch]:
2132 * insetexternal.[Ch]:
2136 * insetgraphics.[Ch]:
2138 * insetinclude.[Ch]:
2141 * insetlatexaccent.[Ch]:
2142 * insetmarginal.[Ch]:
2143 * insetminipage.[Ch]:
2150 * insetspecialchar.[Ch]:
2151 * insettabular.[Ch]:
2153 * insetthereom.[Ch]:
2156 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2158 * insetgraphics.[Ch]:
2159 * insetgraphicsParams.[Ch]: always store an absolute
2162 2003-06-02 André Pönitz <poenitz@gmx.net>
2166 * insetlatexaccent.C: remove duplicated call to metrics()
2168 2003-06-02 John Levon <levon@movementarian.org>
2170 * insettabular.C: fix resize of column width
2172 2003-06-02 John Levon <levon@movementarian.org>
2177 * insetparent.C: remove insetparent
2179 2003-06-02 André Pönitz <poenitz@gmx.net>
2186 * insetcollapsable.[Ch]:
2190 * insetgraphics.[Ch]:
2191 * insetinclude.[Ch]:
2192 * insetlatexaccent.[Ch]:
2193 * insetminipage.[Ch]:
2194 * insetnewline.[Ch]:
2197 * insetspecialchar.[Ch]:
2198 * insettabular.[Ch]:
2199 * insettext.[Ch]: unify first drawing phase
2202 * insetbase.h: move validate() to the base
2204 2003-05-31 Angus Leeming <leeming@lyx.org>
2206 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2208 2003-05-30 André Pönitz <poenitz@gmx.net>
2213 * insetcaption.[Ch]:
2214 * insetcollapsable.[Ch]:
2217 * insetgraphics.[Ch]:
2218 * insetinclude.[Ch]:
2219 * insetlatexaccent.[Ch]:
2220 * insetnewline.[Ch]:
2223 * insetspecialchar.[Ch]:
2224 * insettabular.[Ch]:
2226 * updatableinset.[Ch]: unify second drawing phase
2228 2003-05-30 John Levon <levon@movementarian.org>
2230 * insetgraphics.C: fix a bformat
2232 2003-05-29 John Levon <levon@movementarian.org>
2234 * insettabular.C: remove unused bufferOwner()
2236 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2238 * insettext.C (lockInsetInInset): adjust
2239 (getLabelList): use const_iterator, adjust
2240 (getInsetFromID): use const_iterator, adjust
2241 (addPreview): use const_iterator, adjust
2243 * insetwrap.C (clone): remove const_cast
2245 * insetnote.C (clone): remove const_cast
2247 * insetminipage.C (clone): remove const_cast
2249 * insetmarginal.C (clone): remove const_cast
2251 * insetfoot.C (clone): remove const_cast
2253 * insetfloat.C (clone): remove const_cast
2255 * insetert.C (clone): remove const_cast
2257 * delete commented same_id functions from a lot of files.
2259 2003-05-28 John Levon <levon@movementarian.org>
2265 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2267 * insetminipage.C: fix metrics (bug 1144)
2269 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2271 * insettext.C (saveLyXTextState): adjust
2272 (restoreLyXTextState): adjust
2275 (unlockInsetInInset): adjust
2276 (localDispatch): adjust
2277 (getLyXText): adjust
2279 * insettabular.C (insertAsciiString): adjust
2281 2003-05-27 André Pönitz <poenitz@gmx.net>
2284 * insetcollapsable.C:
2287 * insetlatexaccent.C:
2292 * insetspecialchar.C:
2294 * insettext.C: dim.w -> dim.wid
2296 2003-05-26 John Levon <levon@movementarian.org>
2298 * insettabular.C: avoid drawing all of a long table
2299 if it's not needed. A big speedup
2301 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2303 * remove same_id from function signatures, adjust
2305 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2307 * insettext.C (InsetText): adjust
2309 (setParagraphData): separate same_id cases, adjust
2310 (appendParagraphs): adjust
2311 (appendParagraphs): adjust
2313 2003-05-23 André Pönitz <poenitz@gmx.net>
2315 * insetbutton.h: whitespace
2317 * insettabular.C: more compact code
2319 * updatableinset.C: remove const_cast
2322 2003-05-23 Angus Leeming <leeming@lyx.org>
2324 * insetexternal.C (write): check how many lines are output.
2325 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2326 if the template has defined it.
2328 2003-05-23 Angus Leeming <leeming@lyx.org>
2330 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2332 2003-05-23 Angus Leeming <leeming@lyx.org>
2334 * insetfoot.C (latex):
2335 * inseturl.C (latex): rename fragile as moving_arg.
2337 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2339 * inseterror.C (localDispatch): comment out unused var.
2341 2003-05-22 Angus Leeming <leeming@lyx.org>
2343 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2344 passed through the LatexRunParams arg.
2346 2003-05-22 Angus Leeming <leeming@lyx.org>
2348 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2349 through the LatexRunParams arg.
2351 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2352 arg rather than through a global var.
2354 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2356 * insetspecialchar.C (dimension): use a string.
2358 2003-05-22 Angus Leeming <leeming@lyx.org>
2360 * insetbibtex.C (latex):
2361 * insetgraphics.C (latex):
2362 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2363 runparams rather than from the buffer itself.
2365 2003-05-22 Angus Leeming <leeming@lyx.org>
2367 * inset*.[Ch] (latex):
2368 passed a LatexRunParams parameter.
2370 * insetgraphics.C (latex): actually use it ;-)
2372 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2374 * insetfloat.C (addToToc): trivial compile fix
2376 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2378 * insettext.[Ch] (paragraph): delete unused function
2380 * insetfloat.C (addToToc): parlist simplfication
2382 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2384 * insetspace.[Ch]: added (new space insets)
2386 * inset.h: handle new space insets
2388 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2390 * insetfloat.C (addToToc): adjust
2392 2003-05-21 André Pönitz <poenitz@gmx.net>
2394 * insettext.[Ch]: fix drawing bug introduced earlier
2396 2003-05-19 André Pönitz <poenitz@gmx.net>
2398 * insetspecialchar.C: fix bug introduced yesterday
2400 2003-05-19 André Pönitz <poenitz@gmx.net>
2404 * insetcollapsable.[Ch]:
2408 * insetgraphics.[Ch]:
2409 * insetgraphicsParams.[Ch]:
2410 * insetlatexaccent.[Ch]:
2411 * insetminipage.[Ch]:
2412 * insetnewline.[Ch]:
2414 * insetspecialchar.[Ch]:
2415 * insettabular.[Ch]:
2416 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2418 2003-05-19 André Pönitz <poenitz@gmx.net>
2421 * insettext.C: more insetenv
2423 2003-05-16 André Pönitz <poenitz@gmx.net>
2426 * insetminimpage.[Ch]:
2427 * insetcollapsable.[Ch]: fix #832
2429 2003-05-16 André Pönitz <poenitz@gmx.net>
2432 * insetbibitem.[Ch]:
2436 * insetcollapsable.[Ch]:
2437 * insetcommand.[Ch]:
2440 * insetexternal.[Ch]:
2441 * insetfloatlist.[Ch]:
2442 * insetgraphics.[Ch]:
2443 * insetinclude.[Ch]:
2446 * insetlatexaccent.[Ch]:
2449 * insettabular.[Ch]:
2453 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2455 2003-05-13 André Pönitz <poenitz@gmx.net>
2458 * insetcollapsable.C:
2462 * insetwrap.C: tostr from own header
2474 * insetwrap.C: STRCONV
2477 2003-05-12 André Pönitz <poenitz@gmx.net>
2489 * insetwwrap.C: boost::format -> bformat all over the place
2491 2003-05-05 André Pönitz <poenitz@gmx.net>
2493 * insettext.h: add missing #include <map>
2495 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2497 * insettext.C (InsetText): parlist cleanup
2500 (insetUnlock): ditto
2502 (lockInsetInInset): ditto
2506 (searchBackward): ditto
2507 (collapseParagraphs): ditto
2509 2003-05-06 John Levon <levon@movementarian.org>
2511 * insetcaption.C: don't cast wrap inset to InsetFloat
2514 * insetfloat.C: remove unneeded type() function
2516 2003-05-05 André Pönitz <poenitz@gmx.net>
2520 * insettabular.[Ch]:
2521 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2522 replace getFirstParagraph() by getParagraphs()
2524 2003-05-03 John Levon <levon@movementarian.org>
2526 * insetcollapsable.h:
2527 * insetcollapsable.C:
2533 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2534 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2535 getCursor(). Remove explicit cursor hides.
2537 2003-05-02 André Pönitz <poenitz@gmx.net>
2539 * insettext.C: remove unneeded &*
2541 2003-04-30 John Levon <levon@movementarian.org>
2543 * insettabular.C: fix edit message
2545 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2547 * insettext.C (setFont): do not convert iterator -> pointer
2549 * insettabular.C (localDispatch): do not convert iterator -> pointer
2551 (tabularFeatures): ditto
2553 2003-04-29 André Pönitz <poenitz@gmx.net>
2555 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2557 2003-04-28 André Pönitz <poenitz@gmx.net>
2559 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2562 2003-04-25 André Pönitz <poenitz@gmx.net>
2564 * insetenv.C: derive from InsetText instead of InsetCollapsable
2566 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2568 * insetexternal.C (string2params): dont do anything if the string
2570 * insetgraphics.C (string2params): ditto
2571 * insetcommand.C (string2params): ditto
2572 * insetert.C (string2params): ditto
2573 * insetfloat.C (string2params): ditto
2574 * insetinclude.C (string2params): ditto
2575 * insetminipage.C (string2params): ditto
2576 * insettabular.C (string2params): ditto
2577 * insetwrap.C (string2params): ditto
2579 2003-04-24 André Pönitz <poenitz@gmx.net>
2581 * insetref.C: support for eqref
2583 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2585 * insetert.C (read): use ParagraphList::iterator.
2587 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2589 * insetquotes.C (latex): comment some code and add warnings.
2591 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2593 * insetexternal.C (localDispatch): added a missing DISPATCHED
2595 2003-04-12 John Levon <levon@movementarian.org>
2597 * insetwrap.C (addToToc): fix a crash, conversion
2598 from while to for loop forgot to remove the explicit
2601 2003-04-10 John Levon <levon@movementarian.org>
2603 * insettabular.C (tabularFeature): make sure
2604 to update the dialog when we change something
2607 (getStatus): don't disable some lfuns (bug 939)
2609 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2611 * insettext.C (saveLyXTextState): adjust
2612 (localDispatch): adjust
2618 * insettabular.C (localDispatch): adjust
2620 (tabularFeatures): adjust
2622 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2624 * insettabular.C (searchForward,searchBackward): fix bug 782
2626 2003-04-07 John Levon <levon@movementarian.org>
2629 * insettext.C: clear status message on inset exit
2631 2003-04-03 John Levon <levon@movementarian.org>
2633 * insetcommand.C: return dispatched on DIALOG_UPDATE
2635 2003-04-02 John Levon <levon@movementarian.org>
2637 * insettabular.C: tab lfuns renamed
2639 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2641 * insettext.C (update): move towards ParagraphList
2642 (updateLocal): ditto
2644 (insetUnlock): ditto
2646 (lockInsetInInset): ditto
2647 (updateInsetInInset): ditto
2648 (localDispatch): ditto
2651 (resizeLyXText): ditto
2652 (searchBackward): ditto
2653 (collapseParagraphs): ditto
2656 * insetwrap.C (InsetWrap): adjust
2657 (addToToc): adjust and rewrite loop
2659 * insettext.[Ch] (paragraph): delete function
2661 * insettabular.C (moveNextCell): adjust
2662 (movePrevCell): adjust
2663 (insertAsciiString): adjust
2665 * insetfloat.C (InsetFloat): adjust
2668 * insetert.C (InsetERT): adjust
2669 (write): adjust, and rewrite loop
2670 (latex): adjust, and rewrite loop
2671 (linuxdoc): adjust, and rewrite loop
2672 (docbook): adjust, and rewrite loop
2673 (localDispatch): adjust
2674 (get_new_label): adjust
2676 2003-04-01 John Levon <levon@movementarian.org>
2678 From Alfredo Braunstein
2681 * insetbutton.C: add localDispatch()
2683 * insetcommand.C: return DISPATCHED when edit() called
2685 * insettext.C: fix bug 967
2687 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2689 * insettext.C: adjust
2691 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2693 * insettext.C (draw): adjust
2694 (crow): return a RowList::iterator not a Row*
2696 * insetminipage.C (localDispatch): adjust
2698 * insetert.C (localDispatch): adjust
2700 2003-03-31 John Levon <levon@movementarian.org>
2703 * insetgraphicsParams.C: use_gui moved to lyx_gui
2705 2003-03-31 John Levon <levon@movementarian.org>
2707 * insettext.C: Alert fix
2709 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2711 * insettext.C (ascent): adjust for RowList
2714 (getLyXText): adjust
2715 (toggleSelection): adjust
2717 * insetminipage.C (localDispatch): adjust for RowList
2719 * insetert.C (localDispatch): adjust for RowList
2720 (getMaxWidth): adjust for RowList
2722 2003-03-29 John Levon <levon@movementarian.org>
2724 * insetert.C: Alert cleanup
2726 2003-03-29 John Levon <levon@movementarian.org>
2728 * insettabular.C: Alert fix
2730 2003-03-28 John Levon <levon@movementarian.org>
2732 * insetfloat.C: reset label on INSET_MODIFY
2734 2003-03-28 John Levon <levon@movementarian.org>
2736 * insetgraphicsParams.C: read subcaptionText as a whole line
2739 2003-03-28 John Levon <levon@movementarian.org>
2741 * insettext.C: remove unused prototypes
2743 2003-03-25 Angus Leeming <leeming@lyx.org>
2745 * insetbibitem.C (localDispatch): repaint the view after modifying
2746 a bibitem inset in case the maximum InsetBibitem width has changed.
2748 2003-03-25 John Levon <levon@movementarian.org>
2751 * insettabular.C: LyXText renamings
2753 2003-03-24 John Levon <levon@movementarian.org>
2755 * insettext.C: remove some dead code. Fix bug 972 and
2756 related by posting a repaint in updateLocal(), and making
2757 the SEL functions set SELECTION.
2759 2003-03-22 John Levon <levon@movementarian.org>
2762 * inset.C: remove no-longer-needed topx_set
2764 * insetcollapsable.h:
2765 * insetcollapsable.C: remove dead code
2768 * insetert.C: rebreak the rows when a possible
2769 change in size is made, and reset the cursor
2772 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2774 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2775 topx_set. Fix drawing errors for clearInset(). Remove
2776 some unnecessary uses of topx, which should die.
2778 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2779 is no longer needed. Replace it with an ugly hack.
2781 2003-03-20 John Levon <levon@movementarian.org>
2784 * insetcollapsable.h:
2785 * insetcollapsable.C:
2793 * insettext.C: remove spurious font parameter
2794 from update(). Fix drawing of ERT insets inside
2795 insets (bug 966). Remove unused mark_dirty from
2796 tabular's updateLocal()
2798 2003-03-19 John Levon <levon@movementarian.org>
2807 * insetwrap.C: remove unused getter/setters
2809 2003-03-19 John Levon <levon@movementarian.org>
2811 * several files: bv->updateInset() doesn't take
2812 a bool mark_dirty any more
2814 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2816 * adjust for BufferView* arg removal from lyxtext.
2818 2003-03-17 John Levon <levon@movementarian.org>
2820 * most files: remove the "cleared" parameter
2821 to draw in favour of always clearing. Associated
2824 2003-03-16 John Levon <levon@movementarian.org>
2826 * insettext.C: remove unused s.refresh
2828 2003-03-13 Angus Leeming <leeming@lyx.org>
2830 * insettext.C (edit): replace Dialogs::updateParagraph with
2831 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2833 2003-03-13 André Pönitz <poenitz@gmx.net>
2835 * Makefile.am: insert insetenv
2837 * insethenv.[Ch]: new files, currently inactive
2839 2003-03-12 John Levon <levon@movementarian.org>
2849 * insettext.C: use new insetnewline
2851 2003-03-12 John Levon <levon@movementarian.org>
2853 * insettext.C: readToken became readParagraph
2855 2003-03-12 John Levon <levon@movementarian.org>
2857 * insettext.C: use parlist iterator for reading contents
2859 2003-03-12 John Levon <levon@movementarian.org>
2861 * insettext.C: name change to readToken()
2863 2003-03-11 André Pönitz <poenitz@gmx.net>
2865 * Makefile.am: insert insethfill
2867 * insethfill.[Ch]: new files
2869 2003-03-10 Angus Leeming <leeming@lyx.org>
2871 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2873 (hideDialog): calls the new static Dialogs::hide() method.
2875 * insetbibitem.C (edit):
2876 * insetbibtex.C (edit):
2877 * insetcite.C (edit):
2878 * insetcommand.C (localDispatch):
2879 * inseterror.C (d-tor):
2880 * insetert.C (showInsetDialog):
2881 * insetexternal.C (localDispatch, edit):
2882 * insetfloat.C (localDispatch, showInsetDialog):
2883 * insetfloatlist.C (edit):
2884 * insetgraphics.C (localDispatch, edit):
2885 * insetinclude.C (localDispatch, edit):
2886 * insetindex.C (edit):
2887 * insetlabel.C (edit):
2888 * insetminipage.C (localDispatch, showInsetDialog):
2889 * insetref.C (edit):
2890 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2891 resetPos, showInsetDialog, openLayoutDialog):
2892 * insettoc.C (edit):
2893 * inseturl.C (edit):
2894 * insetwrap.C (localDispatch, showInsetDialog):
2895 changes due to the changed MailInset interface.
2897 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2899 * insetfloat.h: Set default placement to an empty string.
2901 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2903 * insettext.C (latex): adjust call to latexParagraphs.
2905 2003-03-10 Angus Leeming <leeming@lyx.org>
2907 * mailinset.C: warn the user if the BufferView has not been cached.
2909 2003-03-10 Angus Leeming <leeming@lyx.org>
2911 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2913 * insetcommand.h (inset):
2914 * insetert.h (inset):
2915 * insetexternal.h (inset):
2916 * insetfloat.h (inset):
2917 * insetgraphics.h (inset):
2918 * insetinclude.h (inset):
2919 * insetminipage.h (inset):
2920 * insettabular.h (inset):
2921 * insetwrap.h (inset):
2922 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2924 2003-03-10 Angus Leeming <leeming@lyx.org>
2926 * insetcommand.C (string2params):
2927 * insetexternal.C (string2params):
2928 * insetfloat.C (string2params):
2929 * insetgraphics.C (string2params):
2930 * insetinclude.C (string2params):
2931 * insetminipage.C (string2params):
2932 * insettabular.C (string2params):
2933 * insetwrap.C (string2params): cure warning message about missing
2936 2003-03-09 Angus Leeming <leeming@lyx.org>
2938 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2939 it to communicate with the frontend dialogs.
2941 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2942 contents of this inset!
2944 2003-03-07 Angus Leeming <leeming@lyx.org>
2946 * inseterror.C (localDispatch): new method; calls edit() on
2949 2003-03-07 Angus Leeming <leeming@lyx.org>
2951 * insetbibitem.C (localDispatch):
2952 * insetbibtex.C (localDispatch):
2953 * insetlabel.C (localDispatch):
2954 rewrite as a switch.
2956 2003-03-07 Angus Leeming <leeming@lyx.org>
2958 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2959 it to communicate with the frontend dialogs.
2961 2003-03-07 Angus Leeming <leeming@lyx.org>
2963 * insetexternal.C: remove operator== and operator!= for
2964 InsetExternal::Params. They were used only by the old controller
2967 2003-03-07 Angus Leeming <leeming@lyx.org>
2969 * insetcommand.C (localDispatch):
2970 * insetexternal.C (localDispatch):
2971 * insetfloat.C (localDispatch):
2972 * insetinclude.C (localDispatch):
2973 * insetminipage.C (localDispatch):
2974 * insetwrap.C (localDispatch):
2975 add LFUN_INSET_DIALOG_UPDATE to the switch.
2977 2003-03-07 Angus Leeming <leeming@lyx.org>
2979 * insetcommand.C (string2params):
2980 * insetexternal.C (string2params):
2981 * insetfloat.C (string2params):
2982 * insetinclude.C (string2params):
2983 * insetwrap.C (string2params): use LyXLeX more.
2986 * insetexternal.[Ch]:
2988 * insetinclude.[Ch]:
2989 * insetwrap.[Ch]: change Mailer::name_ to be static.
2991 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2992 it to communicate with the frontend dialogs.
2994 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2997 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2999 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3001 * insettext.C (updateLocal): un-const function
3002 (updateLocal): adjust
3003 (collapseParagraphs): un-const function
3004 (collapseParagraphs): adjust
3006 2003-03-05 Angus Leeming <leeming@lyx.org>
3008 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3009 it to communicate with the frontend dialogs.
3011 2003-03-05 Angus Leeming <leeming@lyx.org>
3013 * insetcollapsable.C (draw): cache the BufferView.
3015 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3016 it to communicate with the frontend dialogs.
3018 2003-03-05 Angus Leeming <leeming@lyx.org>
3020 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3023 2003-03-05 Angus Leeming <leeming@lyx.org>
3025 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3027 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3028 it to communicate with the frontend dialogs.
3030 2003-03-05 Angus Leeming <leeming@lyx.org>
3032 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3033 it to communicate with the frontend dialogs.
3035 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3037 * insettext.C (collapseParagraphs): adjust
3038 (appendParagraphs): make it take a Buffer* instead of a
3039 BufferParams& as arg.
3040 (appendParagraphs): adjust
3042 2003-03-04 Angus Leeming <leeming@lyx.org>
3044 * insetbibitem.C (localDispatch):
3045 * insetbibtex.C (localDispatch):
3046 * insetcommand.C (localDispatch):
3047 * insetert.C (localDispatch):
3048 * insetlabel.C (localDispatch):
3049 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3051 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3053 * insettext.C (latex): adjust for ParagraphList::iterator
3055 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3057 * insetbutton.C (view): adjust for boost 1.30.0
3058 * insetcollapsable.C (view): ditto
3059 * insetgraphics.C (statusChanged): ditto
3061 * insettext.h: move paragraphs to be public.
3063 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3065 * insetnote.[Ch] (InsetNote): remove unused constructor
3067 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3069 * insetgraphics.C: added include "format.h"
3071 2003-02-27 Angus Leeming <leeming@lyx.org>
3073 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3076 2003-02-27 Angus Leeming <leeming@lyx.org>
3078 * insetbibitem.C (localDispatch):
3079 * insetbibtex.C (localDispatch):
3082 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3084 2003-02-26 Angus Leeming <leeming@lyx.org>
3086 * insetbibitem.[Ch] (localDispatch):
3087 * insetbibtex.[Ch] (localDispatch):
3088 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3090 * insetcommand.C (localDispatch):
3091 act only on receipt of LFUN_XYZ_APPLY.
3093 * insetert.C (localDispatch): reformat.
3094 add LFUN_XYZ_APPLY to the switch.
3096 2003-02-26 John Levon <levon@movementarian.org>
3098 * insettext.C: use RowPainter
3100 * inset.h: make helpers take const *
3102 2003-02-26 Angus Leeming <leeming@lyx.org>
3104 * insetcommand.[Ch] (localDispatch): new method.
3106 2003-02-26 Angus Leeming <leeming@lyx.org>
3108 * insetinclude.C (draw): cache the BufferView* using cache not
3109 PreviewImpl::setView
3111 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3113 * insetgraphics.C (draw)
3114 * insetinclude.C (draw): Eliminate also the other argument (owner
3115 inset inset) in the call to PreviewImage::image
3117 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3119 * insetgraphics.C (draw)
3120 * insetinclude.C (draw): Eliminate Buferview argument in call to
3123 2003-02-25 John Levon <levon@movementarian.org>
3125 * insetgraphicsParams.h:
3126 * insetgraphics.C: don't start a load process if
3127 the inset is set to NoDisplay (bug #920)
3129 2003-02-22 John Levon <levon@movementarian.org>
3132 * insetwrap.C: TocItem changed API (bug 913)
3134 2003-02-21 Angus Leeming <leeming@lyx.org>
3136 * insetcollapsable.[Ch] (cache, edit):
3137 * insetbutton.[Ch] (cache, edit): new methods to cache the
3138 BufferView in the draw method.
3140 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3141 simplify comunication between InsetCommand-derived classes and
3144 * insetbibitem.[Ch]:
3148 * insetfloatlist.[Ch]:
3152 * inseturl.[Ch]: small changes to reflect the new interface to the
3155 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3156 other, similar classes.
3158 * Makefile.am: add new files.
3160 2003-02-21 Angus Leeming <leeming@lyx.org>
3162 * updatableinset.h (setView, view): remove.
3163 * inset.h (view, cache): to be replaced by these.
3165 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3168 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3171 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3173 2003-02-21 Allan Rae <rae@lyx.org>
3175 * insetinclude.C (loadIfNeeded): ensure loading also works when
3176 child document is under version control.
3178 2003-02-17 André Pönitz <poenitz@gmx.net>
3180 * insetbib.[Ch]: Adjust access to bibkeys
3182 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3184 * insetquotes.C (dispString): remove use of acute accent for "'"
3187 2003-02-14 John Levon <levon@movementarian.org>
3189 * insettabular.C: changed method names in tabular.C
3191 2003-02-14 John Levon <levon@movementarian.org>
3195 * insetcollapsable.h:
3196 * insetcollapsable.C:
3200 * insettext.C: remove unused getParFromID()
3202 2003-02-13 John Levon <levon@movementarian.org>
3205 * insettext.C: remove unused beginningofMainBody()
3207 2003-02-08 John Levon <levon@movementarian.org>
3211 * insetcollapsable.h:
3212 * insetcollapsable.C:
3217 add nextChange(). Make allowSpellcheck() const. Add markErased().
3219 * insetert.C: ignore deleted text
3221 * insettabular.C: make sure to keep change tracking working
3224 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3229 * insettext.C: Use error messages with identical spelling and punctuation
3231 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3233 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3235 2002-12-17 Juergen Vigna <jug@lyx.org>
3237 * insettext.C (localDispatch): hopefully fixed cursor up down
3238 movement on leaving other insets.
3240 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3242 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3245 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3247 * insetgraphics.C (prepareFile): do not remove the extension of
3248 the file name if it is not the default extension for the given
3249 format (that is, in latex output, remove extension from foo.eps,
3250 but not from foo.epsi)
3252 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3254 * insettext.C (lfunMouseRelease): hackish solution to the "double
3257 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3259 * insetfloat.C (addToToc): use the floats name not its type
3260 * insetwrap.C (addToToc): ditto
3262 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3264 * insetnote.C (init): make label font smaller
3266 2002-12-04 John Levon <levon@movementarian.org>
3268 * insetinclude.C: ressurect setting of command name
3270 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3272 * insetquotes.C (dispString): disambiguate insert call
3274 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * several files: ws changes
3278 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3280 * insetquotes.C (dispString): use string::insert for prepending a
3283 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3285 * insetparent.C (getScreenLabel): use boost::format
3287 * insetgraphics.C (prepareFile): use boost::format
3290 * insetfloatlist.C (latex): use boost::format
3292 * insetcaption.C (draw): use boost::format
3294 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3296 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3299 2002-11-20 Juergen Vigna <jug@sad.it>
3301 * insettabular.C (resetPos): temporary fix for endless loop in
3302 this function on a redraw.
3304 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3306 * insettabular.C (copySelection): STRCONV
3308 * insetinclude.C (uniqueID): STRCONV
3309 (latexString): ditto
3311 * insetgraphics.C: put VersionNumber inside anon namespace
3312 (createLatexOptions): STRCONV
3314 * insetcommandparams.C: include config.h
3316 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3318 * insetgraphicsParams.C (Write): use lyx::float_equal.
3319 Write height data correctly.
3320 (Read): zero scale when reading height data.
3322 2002-10-30 John Levon <levon@movementarian.org>
3324 * insetfloat.C (addToTOC): recursively traverse all
3325 contents looking for captions (fix #568)
3327 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3329 * insetexternal.C (doSubstitution): do not try to replace
3330 environment variables, this is done when executing the command
3332 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3334 * insetexternal.C (doSubstitution): change order of substitution
3335 to work around ReplaceEnvironmentPath brokenness
3337 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3339 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3341 * insetgraphicsParams.C (init, Write): associated changes
3342 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3343 InsetGraphicsParams::scale.
3345 2002-10-21 John Levon <levon@movementarian.org>
3347 * inset.h: remove unused DISPATCH_RESULT
3349 * insettext.C: sgml open/close tag now in sgml namespace
3351 2002-10-21 Angus Leeming <leeming@lyx.org>
3353 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3354 file path subdir/fig.eps when pasting it into a buffer in a different
3357 2002-10-16 John Levon <levon@movementarian.org>
3359 * insetspecialchar.C: remove \\protected_separator parsing
3361 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3363 * insetquote.C: fix LaTeX output of quotation marks.
3365 2002-10-14 Juergen Vigna <jug@sad.it>
3367 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3368 Backspace functions which confused the Undo handling.
3370 2002-10-09 Angus Leeming <leeming@lyx.org>
3372 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3373 BufferView::dispatch that turns off this optimisation when a new inset
3376 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3377 reload the BibTeX keys.
3379 2002-10-11 André Pönitz <poenitz@gmx.net>
3381 * insettext.h: handle LFUN_PRIOR/NEXT
3383 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3385 * insetfloat.C: fix bug with float settings
3386 (document default != float default).
3388 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3390 * insetwrap.C (addToToc): New method.
3391 (InsetWrap): Set layout to caption.
3393 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3395 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3397 2002-09-16 John Levon <levon@movementarian.org>
3399 * insettabular.h: hasSelection() needs to be public
3401 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3403 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3405 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3407 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3409 2002-09-11 André Pönitz <poenitz@gmx.net>
3411 * insettabular.C: implement LFUN_WORDSEL
3413 2002-09-10 John Levon <levon@movementarian.org>
3415 * insetinclude.h: remove unused param
3417 2002-09-09 John Levon <levon@movementarian.org>
3420 * insetinclude.C: remove noload, default to input
3422 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3424 * insetgraphics.C: disfuscated use of ']' in built output string.
3426 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3428 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3430 2002-08-29 Juergen Vigna <jug@sad.it>
3432 * insettabular.C (lfunMousePress): Pay attention where you set
3433 the x/y values as they depend on which inset in the tabular is
3434 actually locked. So you surely have to reset them if you (un)lock
3437 2002-08-29 André Pönitz <poenitz@gmx.net>
3439 * insetfootlike.h: rename include guard to ALL CAPS
3441 * insettext.C: swap object and first parameter for checkInsetHit calls
3442 as this functions has moved from BufferView to LyXText
3445 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3447 * insetgraphicsParams.C: remove local displayTranslator and use
3448 the one from graphics/GraphicsTypes.h.
3450 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3452 * insetfloat.C (wide): add BufferParams parameter
3454 * insetfloatlist.C (read):
3457 * insetfloat.C (latex):
3459 * insetcaption.C (draw): use LyXTextClass::floats()
3461 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3463 * insetoptarg.h: add std:: qualifier.
3465 2002-08-26 Juergen Vigna <jug@sad.it>
3467 * insettext.C (localDispatch): ditto.
3469 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3471 2002-08-25 John Levon <levon@movementarian.org>
3473 * inseturl.C: elide long URLs (bug 404)
3475 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3477 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3478 remove "Format Version <version_no.>" string from inset header
3481 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3483 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3484 a member of "grfx::Params" anymore.
3486 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3488 2002-08-24 John Levon <levon@movementarian.org>
3491 * insetoptarg.C: ws, pedantry ...
3493 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3495 * insettext.C (collapseParagraphs): pasteParagraph now in global
3497 (appendParagraphs): ditto
3499 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3501 * insetcite.C (latex): Remove spaces only after commmas.
3503 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3505 * insettext.C: remove NO_COMPABILITY stuff
3507 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3509 * insettext.C (edit): use ParagraphList iterators
3511 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3512 (bibitemWidest): ditto
3514 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3516 * insettext.C: include <boost/bind.hpp>
3517 add using std::for_each
3518 (saveLyXTextState): use ParagraphsList::iterator
3519 (init): use for_each on paragraphlist iterators
3520 (InsetText): remove superflous setting cached_bview to 0
3521 (latex): reformat a bit
3522 (ascii): use paragraphlist iterators
3523 (validate): use for_each + boost bind
3524 (getLabelList): use paragraphlist iterators
3525 (deleteLyXText): use for_each + boost::bind
3526 (resizeLyXText): ditto
3527 (reinitLyXText): ditto
3528 (removeNewlines): use paragraphlist iterators
3529 (getParFromID): ditto
3530 (paragraph): use for_each + boost::bind
3531 (getInsetFromID): use paragraphlist iterators
3532 (getLabelList): typo fix
3534 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3536 * insettext.C (read): assign tmp to paragraphs after return from
3537 call to parseSingleLyXformat2Token
3540 2002-08-13 Angus Leeming <leeming@lyx.org>
3559 changes due to the changed LyXView interface that now returns references
3560 to member variables not pointers.
3562 2002-08-13 Angus Leeming <leeming@lyx.org>
3565 * insetcollapsable.h:
3568 * insettext.h: forward-declare WordLangTuple
3569 (selectNextWordToSpellcheck) constify return type.
3572 * insetcollapsable.C:
3575 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3577 2002-08-12 Angus Leeming <leeming@lyx.org>
3579 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3581 2002-08-12 Juergen Vigna <jug@sad.it>
3583 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3586 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3588 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3589 (bibitemWidest): ditto
3590 * insettext.[Ch]: ditto
3592 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3594 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3596 2002-08-09 Angus Leeming <leeming@lyx.org>
3598 * insetinclude.C (latexString): remove fudge now that I've found out
3599 how to enable LaTeX to find the file using input@path.
3601 2002-08-09 John Levon <levon@movementarian.org>
3604 * insettext.C: remove unused xpos
3606 2002-08-07 Juergen Vigna <jug@lyx.org>
3608 * insettabular.C (localDispatch): make delete not put the stuff
3609 in the clipboard only do this on a cut operation.
3611 * insettext.C (localDispatch): make delete and backspace not put
3612 selected stuff to the clipboard.
3614 2002-08-07 André Pönitz <poenitz@gmx.net>
3617 * insetcollapsable.[Ch]:
3621 * insettabular.[Ch]:
3622 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3624 2002-08-06 John Levon <levon@movementarian.org>
3628 * insetcollapsable.h:
3629 * insetcollapsable.C:
3635 * insettext.C: use WordLangTuple for spellcheck
3637 2002-08-06 Angus Leeming <leeming@lyx.org>
3639 * insetinclude.C: add a monitor to the previewed image, so that the
3640 image is refreshed if the \input-ed file changes.
3642 2002-08-04 John Levon <levon@movementarian.org>
3645 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3647 2002-08-02 Angus Leeming <leeming@lyx.org>
3649 * insetcommandparams.[Ch] (preview): new methods returning and setting
3650 a new bool preview_ flag.
3651 (read): read this flag.
3652 (operator==): add flag to check.
3654 * insetinclude.C (write): output new preview() flag.
3655 (previewWanted): use this flag.
3657 2002-08-02 Angus Leeming <leeming@lyx.org>
3659 * insetcollapsable.[Ch] (addPreview):
3660 * insettabular.[Ch] (addPreview):
3661 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3662 for insets in insets.
3664 2002-08-02 Angus Leeming <leeming@lyx.org>
3666 * insetcite.C: fix typo.
3668 * insetgraphics.C: kill current_view and instead cache the BufferView
3671 * insetinclude.C: kill current_view and pass the BufferView to the
3672 PreviewedInset so that it can cache it.
3674 2002-08-01 Angus Leeming <leeming@lyx.org>
3676 * inset.h (generatePreview): renamed as addPreview.
3677 (generatePreview): new method. Allows code to be moved out of
3678 math_nestinset.C and into the new PreviewedInset class.
3680 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3681 add previews to the inset when \input-ing LaTeX.
3683 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3685 * several files: strip,frontStrip -> trim,ltrim,rtrim
3687 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3689 * insetbib.C (latex): modify because of strip changes
3691 * insetnote.C (InsetNote): ditto
3693 2002-07-26 Juergen Vigna <jug@sad.it>
3695 * insettabular.C (searchForward): check for lastcell if we
3696 had a locking inset.
3698 2002-07-25 Juergen Vigna <jug@sad.it>
3700 * insettabular.C (insetMotionNotify): Don't update the screen
3701 if we didn't do nothing.
3702 (searchForward): last cell was not checked.
3704 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3706 * insetfloat.C (read, write): Allow default placement
3707 (floatPlacement_ is empty).
3709 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3711 * insetminipage.h (noFontChange):
3712 * insettabular.h (noFontChange):
3713 * insetfootlike.h (noFontChange):
3714 * insetfloat.h (noFontChange): return true
3716 * inset.h (noFontChange): new method, defaulting to false
3718 2002-07-22 Herbert Voss <voss@lyx.org>
3720 * insetgraphicsParams.[Ch]: support size_type for old docs
3722 2002-07-22 Herbert Voss <voss@lyx.org>
3725 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3728 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3730 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3732 * insetlatexaccent.h: do not include "lyxlex.h"
3734 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3737 * insetlatexaccent.C:
3741 * insetbib.C: #include "lyxlex.h"
3747 * insettext.C: use BufferParams::getLyXTextClass
3750 * insetfloat.C (addToToc): new method. Add to toclist the entries
3751 corresponding to Caption layouts
3752 (InsetFloat): when creating a new float, set the layout to "Caption"
3754 2002-07-21 Herbert Voss <voss@lyx.org>
3756 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3757 image relevant part into graphics/GraphicsImgae.C
3759 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3761 * insettoc.C (ascii):
3762 * insetfloatlist.C (ascii): change to use the new Toc functions
3763 instead of stuff that was in Buffer
3765 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3767 * insettext.C (localDispatch): BufferView::Dispatch has been
3768 renamed to BufferView::dispatch
3770 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3772 * insetgraphicsParams.C (as_grfxParams): use the new
3773 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3774 1.2.0 patch, and I do not really know how to adapt it to the new
3775 grfx::Cache world. Angus, please could you have a look?
3777 2002-05-01 Herbert Voss <voss@lyx.org>
3779 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3781 2002-07-18 Angus Leeming <leeming@lyx.org>
3783 * insetgraphics.C: clean-up comments (from Herbert).
3784 add a new checksum variable to the cache. Use it in PrepareFile.
3785 (draw): start monitoring the file for a change.
3786 (prepareFile): re-arrange a little to avoid unnecessary steps.
3788 2002-07-17 Angus Leeming <leeming@lyx.org>
3790 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3791 a method rather than to the signal directly.
3793 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3795 * insettext.C: use view_state_changed, switchKeyMap
3797 2002-07-17 Herbert Voss <voss@perce.de>
3799 * insetgraphics.C (prepareFile): keep the extension when
3800 exporting to nice file
3802 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3804 * insetcite.C (getNatbibLabel):
3805 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3807 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3809 * insetgraphics.C: use ->isDrawable()
3811 2002-07-12 Angus Leeming <leeming@lyx.org>
3813 * insetgraphics.C: use the new smart loading capabilities of the image
3816 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3818 * insettabular.C (edit): Move into correct cell when entering a
3821 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3824 2002-07-05 Angus Leeming <leeming@lyx.org>
3826 * inset.h (generatePreview): new virtual method.
3828 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3830 * insetcommandparams.[Ch] (operator=): move out of class
3831 (operator!): move out of class
3833 2002-07-04 André Pönitz <poenitz@gmx.net>
3835 * insetcommandparams.[Ch]: new files
3837 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3839 2002-06-15 Herbert Voss <voss@perce.de>
3841 * insetgraphics.C (prepareFile): bugfix; return always
3842 files without extension
3844 2002-06-28 Angus Leeming <leeming@lyx.org>
3846 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3847 rename asGParams -> as_grfxParams.
3849 * insetgraphics.C: reflect above change.
3851 2002-06-26 Angus Leeming <leeming@lyx.org>
3853 * insetgraphics.h: use boost::scoped_ptr in preference to
3856 2002-06-26 Angus Leeming <leeming@lyx.org>
3858 * insetgraphics.C: moved the image loading stuff into a new class
3859 grfx::Loader. Simplifies this file enormously.
3861 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3863 * insetgraphicsParams.C: changes aassociated with moving
3864 grfx::DisplayType out of grfx::GParams.
3866 2002-06-26 André Pönitz <poenitz@gmx.net>
3868 * insetgraphics.C: use os::external_path where necesaary according to a
3869 patch from Claus Hentschel)
3871 2002-06-25 Angus Leeming <leeming@lyx.org>
3873 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3874 generating a pixmap once the graphics file is loaded into memory.
3875 The current_view ugliness that was in grfx::ModifiedImage has been
3876 moved here now that grfx::ModifiedImage is no more.
3878 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3880 * insettext.C: layout as layout
3882 2002-05-28 André Pönitz <poenitz@gmx.net>
3884 * insetfloatlist.h: remove source of compiler warning
3886 * insetref.C: tiny whitespace
3888 2002-06-15 Herbert Voss <voss@perce.de>
3890 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3891 and take always convert when no userdefined converter was
3893 (latex) small changes in the lyxerr output
3895 2002-06-15 LyX Development team <lyx@rilke>
3897 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3898 mixed content. Small white spaces clean.
3900 2002-06-14 Angus Leeming <leeming@lyx.org>
3902 * inseetexternal.C: remove the using std::difftime declaration.
3904 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3906 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3908 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3910 * insetquotes.C (draw): fix drawing of double quotes
3912 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3914 * insettabular.C: s/scrollCB/scrollDocView/
3916 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3918 * insettext.C: change of topCursorVisible()
3921 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3924 * insettext.C: rename/change of LyXScreen
3926 2002-06-07 Angus Leeming <leeming@lyx.org>
3928 Fixes needed to compile with Compaq cxx 6.5.
3930 all c-library variables have been moved into namespace std.
3931 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3933 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3935 * insetinclude.C (uniqueID):
3936 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3937 conflicted with some AIX headers.
3939 2002-05-31 Juergen Vigna <jug@sad.it>
3941 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3945 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3947 * insetexternal.C (clone): fix () bug when using new
3948 (updateExternal): don't only look for difftime in global scope
3950 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3952 * insettabular.C: add const
3954 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3956 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3957 file name, in case there are weird characters like ',' in there.
3960 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3962 * switch from SigC signals to boost::signals.
3964 2002-05-28 André Pönitz <poenitz@gmx.net>
3966 * insets/insetgraphicsParams.[Ch]:
3967 put in inset related stuff from src/graphic
3969 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3977 * insetcollapsable.C:
3978 * insetcollapsable.h:
4006 * inseturl.h: use mouse_state. Kill insetKeyPress
4008 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4013 * insetcollapsable.C:
4016 * insetlatexaccent.C:
4018 * insetspecialchar.C:
4020 * insettext.C: name change for font metrics
4022 2002-05-24 Juergen Vigna <jug@sad.it>
4024 * insetgraphics.h: include inset.h first (for LString.h)
4026 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4028 * insettext.C: screen moved
4030 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4048 * inseturl.C: LyXView moved into frontends/
4050 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4055 * insetcollapsable.C:
4059 * insetgraphicsParams.C:
4060 * insetlatexaccent.C:
4062 * insetspecialchar.C:
4064 * insettext.C: move Painter to frontends/
4066 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4068 * insettabular.h: use more specific smart_ptr header.
4069 * insettext.h: ditto
4071 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4074 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4076 * insettext.C: clear selection on paste (bug 393)
4078 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4080 * insettext.C (latex): Honor the moving_arg argument.
4082 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4084 * insetfoot.C (latex): if a footnote is in a title layout, then it
4085 is a \thanks. And then, its contents is a moving argument.
4087 2002-05-14 Juergen Vigna <jug@sad.it>
4089 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4092 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4094 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4095 when using options "Full author list" or "Upper case".
4097 2002-05-14 Herbert Voss <voss@perce.de>
4099 * insetgraphics.C (prepareFile): allow files with same name
4101 (readFigInset): set the flags from old figinset in the right
4103 (findTargetFormat): more comments
4105 2002-05-14 Juergen Vigna <jug@sad.it>
4107 * insettext.C (edit): tell checkAndActivateInset() that we don't
4108 have a button press.
4109 (checkAndActivateInset): if button < 0 we don't have a button press
4110 on the inset and os we won't call edit on it if it's not a Highly
4111 editable inset (then we have to enter it).
4113 2002-05-13 Juergen Vigna <jug@sad.it>
4115 * insetcollapsable.C (insetButtonRelease): returned wrong return
4118 2002-05-09 Juergen Vigna <jug@sad.it>
4120 * insetcollapsable.C (edit): first_after_edit should only be
4121 set to true if we enter this inset and it was collapsed so we
4122 open it up. This is needed to reclose it after a search/replace
4123 or spellcheck function opened it and was negative.
4125 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4127 * insetfloat.C (latex): Return correct value.
4129 2002-05-04 Herbert Voss <voss@perce.de>
4131 * InsetgraphicsParams.C (read): fix bug with WH
4133 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4135 * insetfloat.C (latex): More sensible latex output
4136 (fix the problem with endfloat).
4138 2002-05-02 José Matos <jamatos@fep.up.pt>
4140 * insetgraphics.C (validate): acess params as everyone else.
4142 2002-05-03 Juergen Vigna <jug@sad.it>
4144 * insettabular.C (fitInsetCursor): recalculate the cursor position
4147 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4149 * InsetgraphicsParams.[Ch]: whitespace.
4151 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4153 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4154 float type do not exist.
4156 2002-04-28 Herbert Voss <voss@perce.de>
4158 * insetgraphics.C (latex): fix bug with missing file-extension.
4159 LaTeX still allows a missing "eps" or "ps".
4161 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4163 * insetfloat.C (c-tor, wide): translate the name of the float.
4165 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4167 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4168 when using natbib and make it work efficiently. Must emphasise that the
4169 real work is Herbert's.
4171 2002-04-23 Herbert Voss <voss@perce.de>
4173 * insetgraphic.C (prepareFile): fix bug with overwriting and
4174 deleting an existing *.eps-file in the doc-dir
4176 2002-04-23 Juergen Vigna <jug@sad.it>
4178 * insettabular.C (drawCellSelection): fix off by 1 error.
4180 2002-04-22 Juergen Vigna <jug@sad.it>
4182 * insettabular.C (setFont): rewoke full selection if it was asked,
4183 after we changed all we had to change.
4185 * insettext.C (insetUnlock): code was uninitialized in some situations.
4187 2002-04-19 Herbert Voss <voss@perce.de>
4189 * insetgraphic.C (prepareFile): return filename without
4190 extension if we only export without compiling
4192 2002-04-19 Juergen Vigna <jug@sad.it>
4194 * insettext.C (draw): call a fullRebreak on the row where we had a
4195 change and reset the cursor and selection-cursors.
4197 * insettabular.C (insetUnlock):
4198 (insetButtonPress): call an update before setting the_locking_inset = 0
4199 as otherwise we don't repaint!
4200 (update): reset the cursor position when we changed dimensions as
4201 otherwise our cursor may be on the wrong spot.
4203 2002-04-18 Juergen Vigna <jug@sad.it>
4205 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4206 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4207 redraw otherwise we won't redraw.
4209 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4210 not really right before, but I only discovered this with the last
4211 changes to Page up/down.
4213 2002-04-17 Juergen Vigna <jug@sad.it>
4215 * insettext.C (checkAndActivateInset): simplified as we now have the
4216 edit(bv, bool) call.
4218 * insettext.h: changed behind variables to front variables to be
4219 equal to the one in the edit call (as it is for that they are used).
4221 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4223 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4224 not output anything at all!
4226 2002-04-16 Juergen Vigna <jug@sad.it>
4228 * insettabular.C (insetButtonPress):
4229 (insetUnlock): call a redraw on unlocking the cell inset.
4231 * insettext.C (insetButtonPress): same as below.
4232 (lockInset): new function to set initial values when inset should
4234 (insetButtonPress): use above function.
4235 (insetUnlock): don't force a repaint only set the updateStatus. The
4236 outside world should repaint if it thinks it should be done!
4238 * insettabular.C (insetButtonPress): init values if not set as locked
4239 as we are locked if someone presses on us and don't call the edit()
4240 call of the InsetText to lock it do it as BufferView does it!
4242 * inset.h (insetInInsetY): make func const and return an int.
4245 * insetcollapsable.C: adapt the above changed function.
4247 2002-04-15 Juergen Vigna <jug@sad.it>
4249 * insettext.C (getCursorPos): return relative position as to be able
4250 to give them directly to the edit() call.
4251 (edit): we have to set also x_fix as it is not set inside the
4252 setCursorFromCoordinates call!
4253 (insetMotionNotify): ditto.
4255 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4257 * insetbib.C (getKeys): strip leading '\t's from the line too.
4258 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4260 2002-04-12 Juergen Vigna <jug@sad.it>
4262 * insettext.h: added cix() helper function and use it where appropriate
4264 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4266 * insetgraphics.C (prepareFile): fix bug when graphics is a
4269 2002-04-12 Juergen Vigna <jug@sad.it>
4271 * insettext.C (insertInset): remove unneeded code!
4272 (updateLocal): fitCursor() fixes.
4273 (collapseParagraphs): fix a possible problem when having a selection
4274 and collapsing the paragraphs.
4276 2002-04-08 Herbert Voss <voss@perce.de>
4278 * insetgraphic.C (write): write the rotating angle as
4279 a float as is. test only for != 0.0
4281 2002-04-11 Juergen Vigna <jug@sad.it>
4283 * insettext.C: new function ciy() and use it for setting inset_y.
4285 * insetert.C (draw): fix the x return for collapsed version.
4287 2002-04-07 Herbert Voss <voss@perce.de>
4289 * insetgraphic.C (readFigInset): fix bug with subcaption and
4292 2002-04-08 Herbert Voss <voss@lyx.org>
4294 * insetgraphicsparam.C: forgot special option and delete old
4297 2002-04-05 Juergen Vigna <jug@sad.it>
4299 * insettext.C (localDispatch): make a CURSOR update if we inserted
4302 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4304 * insetfloatlist.C (getScreenLabel):
4305 (latex): use Floating::listName
4306 (validate): new method
4308 2002-04-03 José Matos <jamatos@fep.up.pt>
4310 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4312 * insetfoot.[Ch] (docbook): added forgotten method.
4314 2002-04-03 Juergen Vigna <jug@sad.it>
4316 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4317 way as in Bufferview_pimpl.
4319 2002-04-03 Allan Rae <rae@lyx.org>
4321 * insetgraphics.C (latex): one % too many makes living on the bleeding
4322 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4324 2002-03-28 Herbert Voss <voss@lyx.org>
4326 * insetgraphic.C (latex): simplify the code for the latex
4327 output when the file doesn't exist
4329 2002-03-29 Juergen Vigna <jug@sad.it>
4331 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4334 * insettabular.C (edit): call fitCursor().
4336 * insettext.C (insetButtonPress): change behaviour of no_selection
4337 to the one in the BufferView selection_possible and fix the spurious
4338 selection bug with it.
4339 (localDispatch): revoke selection on BREAK... functions.
4341 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4343 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4345 2002-03-28 Juergen Vigna <jug@sad.it>
4347 * insettabular.C (insetAllowed): return true as default value otherwise
4348 we're not able to insert insets inside paragraphs of an not locked
4351 2002-03-27 Herbert Voss <voss@lyx.org>
4353 * insetgraphicsparam.C: change c%, p% to col%, page%
4355 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4357 * insetspecialchar.C (isLineSeparator): disable the nice code to
4358 allow linebreaks after hyphenation and menu separators.
4360 2002-03-26 Herbert Voss <voss@lyx.org>
4362 * insetgraphics.C (figinsetRead): set the right lyxview
4364 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4366 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4367 $\backslash$ and pass a "string const &" to the function.
4368 (prepareFile, latex): use Path rather than MakeAbsPath.
4370 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4372 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4373 proper fix to the graphics cache.
4374 (latex): "really" nice output if the file is not found ;-)
4376 2002-03-26 Juergen Vigna <jug@sad.it>
4378 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4379 (collapseParagraphs): fixed inserting of separator ' '
4381 * insettabular.C (insertAsciiString): only check for buffer lenght
4382 not if we have \t or \n inside the buffer as if we don't have we only
4383 have 1 cell and that's it!
4385 * insetert.C (close): don't collapse if inlined.
4387 2002-03-25 Herbert Voss <voss@lyx.org>
4389 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4390 graphics file does not exist.
4392 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4394 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4395 path when preparing export.
4397 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4398 no longer MakeRelPath.
4400 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4402 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4403 Used to determine the absolute path to the graphics file in the
4404 graphics cache and only in the graphics cache.
4405 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4406 make graphics file name absolute if it is stored as a relative path.
4408 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4409 make graphics file name absolute if it is stored as a relative path.
4411 * insettext.C (edit): emit an updateParagraph signal on entering a text
4412 inset. Needs to be emitted when leaving the inset also.
4414 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4416 * all files: ws cleanup
4418 * Makefile.am: remove ld -r stuff
4420 2002-03-21 Juergen Vigna <jug@sad.it>
4422 * insettext.C (appendParagraphs): new function added to append
4423 the paragraphs to this insets paragraphs.
4425 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4427 * Makefile.am: special rules if partial linking
4429 2002-03-19 Juergen Vigna <jug@sad.it>
4431 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4433 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4435 * insetgraphics.C: Clean up Baruch's comments a little.
4436 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4438 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4441 * insettheorem.C: wrap warnings
4443 * insetgraphics.C: improve messages, move cached_status_
4444 setting to safer place
4446 2002-03-18 Juergen Vigna <jug@sad.it>
4448 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4450 (localDispatch): ditto
4452 * insettext.C (edit): removed unneeded showCursor calls.
4453 (localDispatch): ditto.
4455 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4457 * insetgraphics.h: remove display() method.
4459 2002-03-11 Juergen Vigna <jug@sad.it>
4461 * insetgraphics.C (draw): hack to fix the redrawing bug.
4462 (draw): seems this fixes #268 (force redraw of row if we changed).
4464 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4465 this inset text (don't know why I missed this earlier).
4467 2002-03-08 Juergen Vigna <jug@sad.it>
4469 * insettabular.C (updateLocal): do a FULL update if we're not locked
4470 and only a CELL update is asked.
4472 * insettext.C (updateInsetInInset): update insets inside inset also
4473 if it isn't inside the_locking_inset.
4475 * insettabular.C (updateInsetInInset): ditto.
4477 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4479 * insetexternal.C (doSubstitution): check whether we are using a
4480 temp dir for defining $$FPath
4482 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4485 * insettext.C: remove #include "WorkArea.h".
4487 2002-03-06 Juergen Vigna <jug@sad.it>
4489 * insettext.C (draw): fixed frame redrawing.
4490 (clear): forgot to set the inset_owner of the paragraph.
4492 * insetert.C (status): pay attention the bv can be 0 here!
4493 (getMaxWidth): add the default leftMargin
4495 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4497 * insetert.C (getMaxWidth): make w unsigned int.
4499 2002-03-05 Juergen Vigna <jug@sad.it>
4501 * insetert.C (status): change behaviour of Inlined.
4502 (getMaxWidth): added for new inlined behaviour.
4504 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4506 * insetnote.h (linuxdoc, docbook): add empty methods.
4507 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4508 before being initialized.
4510 2002-03-05 Juergen Vigna <jug@sad.it>
4512 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4513 only that one in the inset. Should be enough.
4514 (updateLocal): set the selection cursor always if we don't have a
4515 selection to be sure it's set!
4517 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4519 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4521 * insettext.C (clear): a gross hack to set layout on a newly
4524 2002-03-04 Juergen Vigna <jug@sad.it>
4526 * insettabular.C (localDispatch): inserted handling of
4527 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4528 (insertAsciiString): new helper function.
4530 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4532 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4535 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4537 * insettext.C (InsetText): initalize newly created par with
4538 default layout. add bufferparams parameter
4541 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4542 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4543 * insetert.[Ch] (InsetERT): ditto
4544 * insetfloat.[Ch] (InsetFloat): ditto
4545 * insetfoot.[Ch] (InsetFoot): ditto
4546 * insetfootlike.[Ch] (InsetFootLike): ditto
4547 * insetmarginal.[Ch] (InsetMarginal): ditto
4548 * insetminipage.[Ch] (InsetMinipage): ditto
4549 * insetnote.[Ch] (InsetNote): ditto
4550 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4552 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4554 * insettext.C: layout as string
4556 * insetinclude.C: layout as string
4558 * insetert.C: layout as string
4560 * insetbib.C: layout as string
4562 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4565 * insettabular.C: remove #include "lyx_gui_misc.h".
4567 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4572 * inset.h: remove figinset, yahoo !
4574 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4576 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4577 copy c-tor and initialise member variables in the correct order.
4579 2002-02-28 Juergen Vigna <jug@sad.it>
4581 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4583 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4585 * inset.h: ... and add a better one here.
4587 * insetcommand.C (insetButtonRelease): remove that one which was a
4590 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4592 * insetcommand.C (insetButtonRelease): ... and move it here.
4594 * inseturl.h: remove insetButtonRelease from there...
4596 2002-02-26 Juergen Vigna <jug@sad.it>
4598 * inseturl.h: Added a insetButtonRelease call returning true as
4601 * insetlabel.C (edit): Fixed wrong update handling after change I
4602 leave in the wrong code for the one who wrote it to remove and have
4603 a look what he did wrong.
4605 * insettabular.C (localDispatch): force a SELECTION update if we
4606 had a selection and we passed the event down to the inset (fix #213)
4607 (localDispatch): handle font changing stuff when we have a cell
4608 selection so that the selection is not rewoked. I don't really like
4609 this fix, but it's the only way I see to do it right now.
4611 2002-02-22 Juergen Vigna <jug@sad.it>
4613 * insettext.C (insetUnlock): set the cursor to the second paragraph
4614 if available and if the first one is empty (fix #191).
4616 2002-02-20 Juergen Vigna <jug@sad.it>
4618 * insettext.C (getDrawFont): implemented this function to call the
4619 one of the owner if present as the owner normally knows what to do
4622 * insetert.C: implement getDrawFont() function and comment out all
4623 the crap for setting a special latex font inside this inset.
4624 (InsetERT): added a Lanugage parameter to this constructor.
4626 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4627 change the font for being drawn on screen (used only in InsetERT for
4630 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4631 and also above (was missing).
4632 (updateLocal): don't remove the cell selection if we have one this
4633 should be done where we really want to remove it.
4635 2002-02-20 José Matos <jamatos@fep.up.pt>
4637 * insetinclude.h: include_label made string const.
4639 * insetinclude.C (InsetInclude): moved include_label initialization.
4642 (validate): fix support for temporary directory, for docbook and
4645 * insetgraphics.h : new private member, graphic_label, that holds
4646 the entity name that defines the graphics location (SGML).
4648 * insetgraphics.C (unique_id): new function to give a unique label
4651 (validate): the file locatation is given by an entity reference.
4653 2002-02-18 Herbert Voss <voss@lyx.org>
4655 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4657 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4659 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4660 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4662 2002-02-18 José Matos <jamatos@fep.up.pt>
4664 * insetinclude.C (validate): some code only applies to latex buffers,
4665 it was made conditional.
4667 2002-02-12 Herbert Voss <voss@lyx.org>
4669 * insetgraphics.C: (prepareFile) do not check at this time
4670 if the file is present.
4672 2002-02-12 Herbert Voss <voss@lyx.org>
4674 * insetgraphics.C: latex(), return the correct newlines
4676 2002-02-13 José Matos <jamatos@fep.up.pt>
4678 * inseturl.C (docbook): escape & in url.
4680 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4682 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4683 after HYPHENATION and MENU_SEPARATOR
4685 * inset.h (isLineSeparator): new method, returns false by default.
4687 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4689 * insetert.C (status): do not update the text inset, but the ERT
4692 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4694 * insetnote.C: use notebg for background
4696 2002-02-08 Herbert Voss <voss@lyx.org>
4699 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4700 prevent LyX from unzipping when this should be handled
4701 by latex vis the graphic.cfg.
4704 2002-02-08 Herbert Voss <voss@lyx.org>
4706 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4707 exists, than return filename with extension
4709 2002-02-06 Herbert Voss <voss@lyx.org>
4711 * insetgraphic.C: prepareFile(): don't convert the file, when
4712 it's not viewed in LyX. Saves a lot of time when opening a
4715 2002-02-05 Herbert Voss <voss@lyx.org>
4718 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4719 and adding a rotate bool similiar to subcaption
4721 2002-02-04 Herbert Voss <voss@lyx.org>
4724 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4725 similiar view to the LaTeX one. Get zipped files work.
4727 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4729 * insetgraphicsParams.C (init): set display to DEFAULT.
4730 No longer #include "lyxrc.h".
4732 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4734 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4735 for now (so that the code compiles).
4737 2002-02-02 Herbert Voss <voss@lyx.org>
4739 * insetgraphic.C: delete inVariant() and some minor changes
4740 * insetgraphicsParams.[C]:
4742 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4744 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4745 interogate lyxrc.display_graphics before diaplaying the graphic.
4747 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4748 InsetGraphicsParams::DisplayType.
4750 2002-01-31 Herbert Voss <voss@lyx.org>
4752 * insetgraphic.C: (readfigInset) set display to pref-default
4754 2002-01-30 Herbert Voss <voss@lyx.org>
4756 * insetgraphic.C: get the filetyp from it's contents
4757 * insetgraphicparams.C: add token scale and lyxrc.display when
4758 creating a new inset
4760 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4762 * figinset.C: added using std::ios directive.
4764 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4766 * figinset.C (runqueue): open translation file in binary mode (for
4769 2002-01-27 Herbert Voss <voss@lyx.org>
4771 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4772 all options and to be sure that the old figinsets are correct
4774 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4775 structure and to support all lengths as LyXLength. The Parameter
4776 structure changed again, but reading of "old" 1.2 graphic insets
4779 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4781 * insetert.h (forceDefaultParagraphs): Added
4783 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4785 * insettabular.C (getMaxWidth):
4786 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4788 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4790 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4791 of LyXLength::inPixels
4793 * inset.C (latexTextWidth):
4794 * insetminipage.C (latexTextWidth): new method, which implements
4795 the equivalent of the LaTeX macro \textwidth
4797 * insetminipage.C (getMaxWidth): use latexTextWidth
4799 2002-01-18 Juergen Vigna <jug@sad.it>
4801 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4803 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4805 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4807 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4810 2002-01-17 Juergen Vigna <jug@sad.it>
4812 * insettabular.C (lockInsetInInset): same change as in insettext.
4814 * insettext.C (draw): width() function was called without setting
4815 the right top_x which could lead to wrong insetWidth setting!
4816 (lockInsetInInset): call edit instead of calling lockInset if we
4817 have to lock an inset inside!
4818 (edit): we have to also tell the inset that we have to redraw the
4819 frame on an edit call if this inset draws a frame only if locked.
4821 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4823 * insetbib.C (getFiles): uncomment Path variable.
4825 2002-01-16 Juergen Vigna <jug@sad.it>
4827 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4830 2002-01-16 Allan Rae <rae@lyx.org>
4832 * insetinclude.C (docbook): someone forgot a ";"
4834 2002-01-16 José Matos <jamatos@fep.up.pt>
4836 * figinset.C (docbook): removed a old place holder "@".
4837 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4838 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4839 ascii text version, clearly guarded inside a CDATA section.
4840 (docbook): in docbook 4, inlinegraphics is empty.
4841 * insettabular.C (linuxdoc): export the ascii version of the table
4842 inside a CDATA section.
4844 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4846 * insetparent.C (InsetParent):
4847 * insetgraphicsParams.C (Write):
4849 * insetgraphics.C (prepareFile):
4852 * insetexternal.C (executeCommand):
4853 (doSubstitution): use Buffer::filePath
4855 * insetbib.C (getFiles): add a #warning for Angus
4857 * insetgraphics.C: Add a remark about how filenames should be
4858 considered to be relative to buffer (but absolute is still allowed)
4859 (draw): do not try to get status if lyxrc.use_gui is false
4861 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4864 * insetcollapsable.[Ch]:
4865 * insettabular.[Ch] (searchForward, searchBackward): change the
4866 bool const & params to bool.
4868 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4869 to avoid the name clash with InsetCollapsable's methods of the same
4870 names but different functionality.
4872 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4874 * insettext.C (ascii): use lyx::count rather than countChar.
4876 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4878 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4880 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4882 * insetgraphics.C (updateInset): do not try to render image if
4883 lyxrc.use_gui is false (bug #104)
4885 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4886 if file does not exist
4888 * figinset.C (browseFile): add shortcuts to directory buttons
4890 * insettext.C (updateLocal): update menubar and toolbar here too.
4892 2002-01-13 Allan Rae <rae@lyx.org>
4894 * insettabular.C (InsetTabular): Both constructors now initialise
4895 all class variables.
4897 2002-01-11 Juergen Vigna <jug@sad.it>
4899 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4901 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4903 * insettabular.C (getStatus): add forgotten brace around multiline
4906 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4908 * insetfloat.C (validate): require "float" instead of "floats".
4910 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4912 * insettabular.C (getStatus): use FuncStatus
4914 2002-01-08 Juergen Vigna <jug@sad.it>
4916 * insettabular.C (insetButtonRelease): now this should work too
4919 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4920 if the width is a percentage.
4922 * inset.h: added isChar() function and implemented this for
4923 insetspecialchar insetquotes and insetlatexaccent.
4924 added forceDefaultParagraphs() and implemented it for insettabular.
4926 2002-01-07 Juergen Vigna <jug@sad.it>
4928 * insettext.C (getLyXText): Fixed this function. An insert into the
4929 map is only done if we REALLY have a new BufferView.
4931 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4933 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4935 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4937 * insetinclude.C: fix use of FileInfo
4939 2002-01-07 Juergen Vigna <jug@sad.it>
4941 * insettabular.C (draw): fixed clearing of cell around inset.
4943 2002-01-05 Juergen Vigna <jug@sad.it>
4945 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4946 variables are updated.
4948 * insettabular.C (resetPos): set always the inset_y as it may be
4949 needed in another function.
4950 (searchBackward): don't draw while searching.
4952 2002-01-04 Juergen Vigna <jug@sad.it>
4954 * insettext.C (lockInsetInInset): forgot to set a cursor.
4956 2002-01-02 Juergen Vigna <jug@sad.it>
4958 * insettext.C (insertInset): make the correct undo informations on
4959 inserting new insets.
4961 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4963 * insettabular.C: correct single-cell select vertically
4965 2001-12-27 Juergen Vigna <jug@sad.it>
4967 * insettabular.C (ascii): export as tab-separated-values if the
4968 function was not called from export (f.ex.: clipboard).
4970 * insetcollapsable.h: added default support for ascii, linuxdoc and
4971 docbook export (the insettext is exported by default!)
4973 * insettabular.C (copySelection): suff the clipboard with the tabular
4974 data in a tab separated format, seems more naturals then with all the
4977 2001-12-24 Juergen Vigna <jug@sad.it>
4979 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4980 to check for REAL mouseMotion.
4982 2001-12-20 Juergen Vigna <jug@sad.it>
4984 * inset.C (cursor): return the owners cursor if available instead of
4985 always only the bv->text->cursor.
4987 * insettabular.C (checkLongtableSpecial): works now.
4989 2001-12-19 Juergen Vigna <jug@sad.it>
4991 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4992 this has to be always row + 1 as 0 means not selected!
4993 (checkLongtableSpecial): added
4994 (tabularFeatures): better longtable options support
4996 * insettext.C (resizeLyXText): reinit the text always also on a
4999 2001-12-18 Juergen Vigna <jug@sad.it>
5001 * insettext.C (updateInsetInInset): look if we have to autocollapse
5002 paragraps and return if the update is requested for ourself.
5004 * insetert.C (status): update the insettext not myself as that is what
5007 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5008 function only return if the update was requested with myself.
5010 * insettext.C (insetButtonPress): fixed stupid bug.
5011 (various functions): pay attention that lt is cleared BEFORE calling
5012 updateLocal() and try to use it in the right manner (don't use it
5013 if it's not really neccessary!)
5014 (collapseParagraphs): insert a blank between collapsing paragraphs
5015 if neccessary (not already there!).
5017 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5019 * insettabular.C: move includes around a bit, add a couple of
5022 * insettext.[Ch]: move includes around a bit, other ws changes and
5025 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5027 * insettext.C (insetButtonRelease): fix compile problem
5029 2001-12-17 Juergen Vigna <jug@sad.it>
5031 * insettext.C (insetButtonPress): set the selection cursor!
5032 (insetButtonPress): clear the selection (and set with that the
5033 selection.cursor) if we only hit an inset!
5035 * insetert.C (read): removed piece of compatibility code only needed
5038 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5041 * insetcollapsable.C (insetButtonRelease): changed so that it can
5042 open eventual existing popup dialogs on mousebutton==3.
5044 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5046 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5048 * inset.C (insetButtonRelease): return a bool for telling the outer
5049 world that we opened a dialog.
5051 2001-12-07 Juergen Vigna <jug@sad.it>
5053 * insettext.C (paragraph): remove the deleteing of paragraphs as
5054 it was a WRONG move!
5056 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5059 * insettabular.C: use new setSelection(). Allow
5060 selection of single cells.
5062 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5064 * insetquotes.C (latex): fix to use the local language setting at
5065 the point where the inset is inserted (different macros for
5066 different french packages)
5068 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5070 * inset.h: add par_owner_ member variable and parOwner
5073 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5075 * insettabular.C (everywhere): adapt because widths are now real
5076 widths and not strings
5078 * insettext.C (draw): re-introduce the calls to width(), ascent()
5079 and descent() to initialize the caching variables.
5081 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5083 * insettext.C (draw):
5084 (drawFrame): use insetWidth instead of last_width
5086 * insettext.h: remove variable last_width (insetWidth is exactly
5087 the same) and last_height (computed but never used!)
5089 2001-12-10 Allan Rae <rae@lyx.org>
5091 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5093 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5095 * insettext.C (insetAllowed): add comment
5097 2001-12-05 Juergen Vigna <jug@sad.it>
5099 * insettext.C (insetAllowed): fixed for the case that we directly
5100 ask the insettext from its LyXText.
5101 (paragraph): fixed the crash when assigning the par->next() from
5102 the EmptyParagraphMechanism!
5104 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5108 * insettext.C: change "while(" to "while ("
5110 2001-12-04 Juergen Vigna <jug@sad.it>
5112 * insetert.C (edit): handle Inlined status.
5114 * insettext.C (insertInset): trying John's fix for the trailing cursor
5116 * insetert.C (insetButtonPress): added to handle inlined status
5117 (insetMotionNotify): ditto.
5119 * insettext.C (clearInset): changed Painter & in BufferView * param,
5120 to be able to call ascent,descent methods.
5122 2001-12-03 Juergen Vigna <jug@sad.it>
5124 * insettext.C (updateInsetInInset): use lt variable to forbid
5125 changes of LyXText in an update call.
5126 (updateInsetInInset): fixed updating of non locked insets!
5128 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5130 * insettabular.C: capture some more functions to prevent
5131 selection drawing problems. Bug #451274
5133 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5136 * insetgraphicsParams.C: fix inverted sense of float_equal
5138 2001-11-30 Juergen Vigna <jug@sad.it>
5140 * insettabular.C (InsetTabular): use the save_id flag to create also
5141 the tabular with the same id's.
5143 * insettext.C (setParagraphData): added a same_id function for undo
5144 to set the same paragraph id's as of the paragraph we are setting.
5146 2001-11-30 José Matos <jamatos@fep.up.pt>
5149 * insettoc.[Ch]: DocBook -> docbook.
5151 2001-11-29 André Pönitz <poenitz@gmx.net>
5154 * insettext.C: further reduction of header dependencies by using
5155 lyx::layout_type and lyx::textclass_type from support/types.h
5157 2001-11-29 Juergen Vigna <jug@sad.it>
5159 * insettext.C: inserted a reinitLyXText function everywhere I delete
5160 the paragraphs! This should fixe the crashes we had.
5161 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5162 (paragraph): set the InsetOwner() of the new paragraphs!
5164 2001-11-28 André Pönitz <poenitz@gmx.net>
5166 * insetnote.C: add pos initialization that I removed without
5169 2001-11-28 Juergen Vigna <jug@sad.it>
5171 * insettabular.C (resetPos): hack to not crash with infinite paints.
5173 * insettabular.h: insert missing function allowSpellcheck()!
5175 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5177 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5180 * insetfloatlist.C: derive from InsetCommand so gui can use it
5183 2001-11-26 André Pönitz <poenitz@gmx.net>
5187 * insetnote.C: reduce header dependencies, introduce type for
5190 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5192 * various: update for Alert.h
5194 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5196 * inset.h: fix comment
5198 * insettext.C: use par->isInset()
5200 2001-11-22 Allan Rae <rae@lyx.org>
5202 * insetcollapsable.h:
5203 * inset.h: Changes to checkInsertChar() behaviour.
5204 Now return value indicates whether chars can be inserted.
5206 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5208 * various: updated to use the new LaTeXFeatures
5210 2001-11-14 José Matos <jamatos@fep.up.pt>
5212 * insetspecialchar.C (linuxdoc):
5213 (docbook): don't give a name to a unused variable.
5215 * insettext.C (docbook): removed unused variable.
5217 2001-11-13 Herbert Voss <voss@perce.de>
5219 * insetgraphic.C: fix scale bug
5221 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5223 * inset.h (isSpace):
5224 (isLetter): new virtual methods.
5226 * insetspecialchar.C (isSpace):
5227 (isLetter): implement here.
5229 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5231 * inset.h: new inline helpers
5233 * insettext.C: use new helpers
5235 2001-11-07 José Matos <jamatos@fep.up.pt>
5237 * insettext.C (docbook): full support for paragraphs inside insettext.
5239 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5241 * insetindex.C: added header file for std::ostream.
5243 2001-11-03 José Matos <jamatos@fep.up.pt>
5245 * insetindex.C: added using std::ostream that I forgot yesterday.
5247 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5249 * insetindex.h (docbook):
5250 * insetindex.C (docbook): added support for docbook export.
5252 2001-11-02 José Matos <jamatos@fep.up.pt>
5254 * insetcaption.C(docbook): added support for docbook export.
5256 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5258 * insetexternal.C (updateExternal): Do not run update command if
5259 result file exists and is up to date.
5261 * ExternalTemplate.C (readFormat): Support the updateresult token.
5263 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5265 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5266 external_templates) to use the buffer->fileName() but only if
5267 previewing. Generating a TeX file should make FPath return
5270 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5273 * insetert.C: fix some problems
5275 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5277 * insetexternal.C (doSubstitution): Added $$FPath token
5278 to list of usable substitutions in external inset templates.
5280 2001-10-24 Juergen Vigna <jug@sad.it>
5282 * insettabular.C: use new ltType struct for setting longtable
5283 header and footers also new UNSET enums.
5285 2001-10-24 José Matos <jamatos@fep.up.pt>
5287 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5288 (docbook): If the table is not inside a float then wrap it inside
5289 <informaltable>...</informaltable>.
5291 2001-10-23 José Matos <jamatos@fep.up.pt>
5293 * insetref.C (docbook): removed / terminator to conform SGML.
5295 * insetspecialchar.C (linuxdoc):
5296 (docbook): Added support for special chars, more than ascii export.
5298 2001-10-22 Juergen Vigna <jug@sad.it>
5300 * insettext.C (checkInsertChar): added for REALLY checking the
5301 font of the inserted char in the right inset!
5303 2001-10-19 Juergen Vigna <jug@sad.it>
5305 * inset.h: added method allowSpellcheck() so that insets who do
5306 not have anything to spellcheck can tell and so they are over-jumped.
5307 Implemented for InsetText and co.
5309 2001-10-18 Juergen Vigna <jug@sad.it>
5311 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5313 2001-10-15 José Matos <jamatos@fep.up.pt>
5315 * insetert.C: allow export for docbook and linuxdoc
5317 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5319 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5321 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5323 * insetquotes.C (dispString): fix handling of latin9 quotes
5325 2001-10-03 Juergen Vigna <jug@sad.it>
5329 * insetcollapsable.C: change updateInset calls to not tell BV that
5330 we have changed status.
5332 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5334 * insettabular.C (deletable): make const
5336 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5338 * insetert.C (latex): Fix the returned value
5340 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5342 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5343 Returns string(), so nothing in an ERT inset is spellchecked.
5345 * insetgraphics.C (draw): print the filename if not displaying the
5347 (width): make sure that the width and draw methods are consistent.
5348 (updateInset): don't even load the image into cache if not displaying
5351 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5353 * various files (selectNextWord): renamed as
5354 selectNextWordToSpellcheck.
5356 * insetgraphics.C (draw): remove the previous change. Right place
5357 is in imageLoaderXPM.C.
5358 (draw): don't display the image if params.display == NONE.
5360 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5362 * figinset.C (runqueue):
5363 * insetgraphics.C (draw): set background colour of inset from
5364 background to the user-configurable graphicsbg.
5366 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5368 * insetquotes.C (InsetQuotes): when trying to decide the side of
5369 the quote, choose `left' only after a space or '('
5371 2001-09-04 José Matos <jamatos@fep.up.pt>
5376 * insetcollapsable.h
5394 * insetlatexaccent.C
5395 * insetlatexaccent.h
5400 * insetspecialchar.C
5401 * insetspecialchar.h
5405 * insettext.C (docbook): rename docBook method to docbook.
5407 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5409 * inset.h (getFirstParagraph): New virtual method.
5411 2001-08-20 Herbert Voss <voss@perce.de>
5412 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5413 in the the bibtex-database-gui for inserting a line
5416 If no style is given than there is no tex-output.
5418 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5420 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5424 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5426 * insetert.C (latex): Fix output for multiple paragraphs.
5427 (write): New code for writing paragraph data.
5428 (read): Set font after reading the inset.
5429 (localDispatch): Call set_latex_font() for more cases.
5431 * insetnote.h: Add empty validate method.
5434 * insetnote.C (InsetNote): Set language to the language of the
5437 2001-08-16 Juergen Vigna <jug@sad.it>
5439 * insettext.C: implemented the new FINISHED states.
5441 * insettabular.C: ditto
5443 * inset.h: added more FINISHED states for cursor right,up,down
5445 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5447 * insetfloatlist.C: use "FloatName List"
5449 2001-08-14 Juergen Vigna <jug@sad.it>
5451 * insetert.C (edit): forgot to set status_ in edit calls!
5453 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5455 * insettext.C: Compilation fix
5457 2001-08-13 Juergen Vigna <jug@sad.it>
5459 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5461 * insetcollapsable.C (edit): don't recollapse an already open inset.
5463 * insettext.C: fixed problem when reinitializing LyXText by not doing
5464 it while lt is in use and post this to the next possible time in
5466 (searchForward): fixed not unlocking of inset if nothing found.
5467 (edit): set cursor behind right (was set -1 pos).
5469 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5471 * insettabular.C (tabularFeatures): fixed fix where deleting the
5472 last row didn't get the right actcell!
5474 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5476 * insettext.C (localDispatch): Change language only when the inset
5479 2001-08-10 Juergen Vigna <jug@sad.it>
5481 * insettabular.C (selectNextWordInt): use the front using edit call.
5483 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5484 the parameter overwrite class variable inset.
5486 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5488 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5489 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5491 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5492 update only for fixed with cells.
5493 (resetPos): try to fix the lockup on spellchecking or s&r.
5495 * insettext.C (update): comment this out as it seems first wrong
5496 and second not needed anymore!
5497 (some functions): call reinitLyXText() only in update() in all other
5498 positions set only need_update = INIT.
5500 2001-08-08 Juergen Vigna <jug@sad.it>
5502 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5504 * insettext.C (insetUnlock): remove double-space on inset unlock.
5506 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5508 * insettabular.C (update): fixed cursor positon after an insert.
5509 (insetAllowed): do not allow to insert insets when not inside the
5511 (draw): clear below an inset too as it could have changed height.
5513 * inset.C (getMaxWidth): fixed width for inset in inset.
5515 * insettext.C (update): small fix.
5517 * insettabular.C (tabularFeatures): added selection support to
5518 DELETE_ROW/DELETE_COLUMN.
5520 2001-08-07 Juergen Vigna <jug@sad.it>
5522 * inset.C (getMaxWidth): recoded and all it's implementations!
5524 * insettext.C (init,setParagraph+constructors): cleanups
5525 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5526 are new and I want do a save/restore of the cursor position which is
5527 not possible anymore.
5529 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5530 (searchBackward): ditto
5531 (selectNextWord): ditto
5533 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5535 * insetlatexaccent.C (checkContents): Add some debug messages
5537 2001-08-07 Juergen Vigna <jug@sad.it>
5539 * insetert.C (read): don't use InsetCollapsable::read as we don't
5540 write the collapsed status anymore only the status.
5543 2001-08-06 Juergen Vigna <jug@sad.it>
5545 * insetert.C (set_latex_font): use LyXText's setFont directly.
5547 * insettext.C (drawFrame): fixed one time more the right position
5548 and size of the frame!
5550 * insetert.C (~InsetERT): hide the dialog.
5551 (showInsetDialog): added implementation
5554 (status): new function for the status of the ERT inset (3-state).
5555 (write): output also the status of the inset for readback!
5556 (read): readback the status if available otherwise use collapsed_.
5558 * insettext.C (edit): small fix of setting the position, which could
5561 * insetert.C (width): implement this function for inlined viewing.
5562 Added minimum width of 10 pixels!
5564 * insetminipage.C (InsetMinipage): just change the colors a bit so
5565 that border/background is a bit more visible. We will remove this
5568 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5569 function for getting the important widths for drawing in various
5570 functions and in LyXText.
5571 (draw): fixed up a bit (frame drawing/clearing)
5573 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5575 * inset.C (convertFont): delete method. not used.
5577 2001-08-03 Juergen Vigna <jug@sad.it>
5579 * insettext.C (setFont): don't call for a draw update if we're just
5580 changing the cursor font!
5582 2001-08-02 Juergen Vigna <jug@sad.it>
5584 * insettext.C (draw): clear the background with the right color if
5585 needed. Update myself if x&max-width changed and return without doing
5586 anything. Let the update code handle the right stuff.
5588 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5589 inside another inset.
5591 2001-08-01 Juergen Vigna <jug@sad.it>
5593 * insetcollapsable.C (update): added an in_update bool so we avoid
5596 * insettabular.C (update): added an in_update bool so we avoid
5599 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5601 (update): added an in_update bool so we avoid reentering.
5603 * insettabular.C (localDispatch): clear col/row selection when doing
5604 something else inside an inset.
5606 * insettext.C (getLyXText): fixed bug when requesting a recursive
5609 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5611 * insetcite.C (latex): Paranoia check. Make sure that there is no
5612 whitespace between the citation keys.
5614 2001-07-31 Juergen Vigna <jug@sad.it>
5616 * inset.h (nodraw): make the set function also const so that this
5617 can be called from inside other const functions.
5619 * insetcollapsable.h: removed inline variable and moved it over
5620 to the only user InsetERT.
5622 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5623 inset opening immediately therein lying insets dialogs!
5625 * insetert.C (localDispatch): set the font also if we don't have any
5626 chars in this paragraph, otherwise if we delete all of em and start
5627 writing we have the wrong font.
5629 (draw): implemented for inline support
5630 (insetButtonRelease): ditto.
5632 2001-07-30 Juergen Vigna <jug@sad.it>
5634 * insettext.C (reinitLyXText): new function to reinit the insets
5635 text after lot's of paragraph changes. Use this instead of the
5636 cache.clear() which is VERY dangerous.
5638 * insetfloat.C (insetButtonRelease): we should only show the dialog
5639 if we press on the label otherwise we have problems to open mouse
5640 button 3 dialogs inside this float (f.ex. of a tabular!)
5642 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5644 * insetert.C: change back to "ERT"
5646 * insetfloat.C: handliign of RMB on label added.
5648 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5650 * insetgraphicsParams.C: #include LOstream.h here.
5652 * insetfoot.h: remove InsetFoot:: qualifier.
5654 2001-07-29 Baruch Even <baruch@lyx.org>
5656 * ChangeLog: Hiding time travel evidence.
5658 * insetgraphicsParams.h:
5659 * insetgraphicsParams.C:
5660 * insetgraphics.C: Added horizontal scale option, it actually scales both
5661 directions since it keeps image proportions.
5663 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5665 2001-07-29 Baruch Even <baruch@lyx.org>
5667 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5668 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5670 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5672 2001-07-29 Baruch Even <baruch@lyx.org>
5674 * insetgraphics.C: Added EPSI to be an alias of EPS.
5676 2001-07-29 Baruch Even <baruch@lyx.org>
5678 * insetgraphics.C: Change GRAPHICS to Graphics.
5679 Changed image conversion rules (documented at the beginning of file).
5681 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5683 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5686 * insetgraphics.C: added a using std::endl directive.
5688 * insetcommand.h (getScreenLabel): removed pure virtual function,
5689 as it duplicates that in InsetButton.
5691 * insetbib.[Ch] (getScreenLabel):
5692 * insetbutton.[Ch] (getScreenLabel):
5693 * insetcite.[Ch] (getScreenLabel):
5694 * insetert.[Ch] (getScreenLabel):
5695 * insetexternal.[Ch] (getScreenLabel):
5696 * insetfloatlist.[Ch] (getScreenLabel):
5697 * insetinclude.[Ch] (getScreenLabel):
5698 * insetindex.[Ch] (getScreenLabel):
5699 * insetlabel.h (getScreenLabel):
5700 * insetparent.[Ch] (getScreenLabel):
5701 * insetref.[Ch] (getScreenLabel):
5702 * insettoc.[Ch] (getScreenLabel):
5703 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5705 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5707 (validate): remove check on "cite" when using natbib.
5709 2001-07-26 Baruch Even <baruch@lyx.org>
5711 * insetgraphics.C (draw): changed casting to be in one place rather than
5712 all over the function.
5715 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5717 * insetgraphicsParams.h:
5718 * insetgraphicsParams.C:
5719 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5721 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5723 * insetfoot.C (validate): Added method to ensure that the
5724 right bit of LaTeX is emitted.
5726 * insetfoot.h: Added validate method to set the correct
5727 LaTeXFeatures bit for the special footnote code.
5729 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5731 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5734 2001-07-27 Juergen Vigna <jug@sad.it>
5736 * inset.h: remove not used font variable in parameter.
5737 removed checkInsertChar in UpdatableInset as it was equal to
5738 the one in Inset and so not needed.
5740 * insetert.C (checkInsertChar): implementation of function
5743 * inset.h: added new function checkInsertChar.
5745 * various files: added c-tor and clone() function.
5747 * insetcollapsable.h: removed clone function here as this should
5748 be only realized in REAL insets and added it to all collapsable
5749 insets! (with the copy-constructor).
5751 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5753 * insetminipage.C (read): handle missing parameters more gracefully
5755 * insetcollapsable.C (read): handel missing collapsed more gracefully
5757 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5759 * insetfloat.C (read): handle missing parameters.
5761 * insettext.C (read): handle old latex end_inset
5763 * insetert.C (setButtonLabel): new method
5764 (init): use it, to set the dynamic label correctly
5767 * Makefile.am (EXTRA_DIST): add files that is not part or the
5770 * insetcollapsable.h: remove autocollapsable (no users), remove
5771 draw_label, change_label_with_text and companion code. Remove args
5773 * insetert.[Ch]: move here instead (only user)
5775 * inset.h: rename private variable name to name_, make
5776 selectNextWord return a const string. make getInsetName return a
5777 string const &. Remove bool from open, add close.
5779 * Makefile.am: don't compile insetlist, insetsection
5782 2001-07-24 Juergen Vigna <jug@sad.it>
5784 * insetert.C (InsetERT): put init after the paragraph initialization,
5785 as otherwise we don't set the draw_label right.
5787 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5788 insets with the mouse without having strange selections.
5789 (edit): if the inset was collapsed and we open it here then put the
5790 cursor always at the beginning of the inset.
5791 (get_new_label): 15 instead of 10 max chars in the label.
5793 * insetert.C (localDispatch): added and handle various stuff we
5794 need to handle here (font setting on paragraph break, not permitted
5795 layout setting, etc.).
5797 * inset.h: added default copy-consturctor and implemented this in
5798 various insets with the change to use this in the clone function!
5800 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5802 * insetminipage.C (InsetMinipage): set background color to red :)
5804 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5806 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5807 draw frame mode is LOCKED.
5809 * insetcollapsable.C (edit):
5810 (insetButtonRelease): set update status to full when
5813 * insettext.C (clearInset):
5814 * insettabular.C (draw):
5815 * insetlatexaccent.C (draw): honor background color.
5817 * inset.h: new member background_color_, initialized to
5820 * inset.C (backgroundColor): new method.
5821 (setBackgroundColor): new method.
5823 * insetert.C (init): new method, called by the ctors.
5824 (InsetERT): when inserting contents, make sure the font is
5827 * insetnote.C (InsetNote): when inserting content, remove trailing
5829 (init): set background color to LColor::note
5831 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5833 * insetcollapsable.C: adjust
5835 * insetbutton.C: adjust
5837 2001-07-23 Juergen Vigna <jug@sad.it>
5839 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5840 parameter on the _collapsed function (was not needed) and call
5841 always width_collapsed().
5843 * insetert.C (InsetERT): use setLabel with "true" flag.
5845 * insetcollapsable.C: modified various functions to set the draw_label
5846 string right in any condition.
5847 (setLabel): added a bool parameter to set change_label_with_text.
5849 * insetcollapsable.h: added draw_label string which is set to the
5850 actual drawn label-string, while label is the original static label
5851 of this collapsable inset. Added bool change_label_with_text to set
5852 if we want that the label changes to the start of the InsetText's
5853 text when collabpsed. You can set this flag with the setLabel funciton.
5854 Added bool inlined for inlined collapsable insets, but not handled
5857 * insetcollapsable.C (get_new_label): added should get a new label
5858 from the InsetText beginning (for now 10 chars).
5860 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5862 * insetquotes.C (latex): fix the handling of french double quotes
5863 when not using the french pachage.
5865 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5867 * insetcollapsable.h: make WidthCollapsed mutable.
5869 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5870 InsetPrintIndex returns INDEX_PRINT_CODE.
5872 * inset.h: add INDEX_PRINT_CODE
5874 * insetcollapsable.C (draw): init widthCollapsed if necessary
5877 * insetquotes.C (width): use the local language, not the document
5880 (dispString): add additional spacing for all french languages,
5882 (validate): make it work when there is no default language
5884 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5886 * insetnote.C (init): new method, called by the constructors
5887 (InsetNote): new constructor with contents passed as a string
5889 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5891 * insetfootlike.C (insetAllowed): disallow float in footlike.
5893 * insetert.C (InsetERT): add collapsed argument to the constrctor
5896 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5898 * insetindex.h: shut off warning
5900 2001-07-20 Juergen Vigna <jug@sad.it>
5902 * insetcollapsable.C (update): recoded hopefully works now!
5904 2001-07-19 Juergen Vigna <jug@sad.it>
5906 * most files: implemented the below new introduced function.
5908 * inset.h: added new edit(BufferView *, bool front) method to be able
5909 to enter an inset from the front/back without knowing x/y positions
5910 and baselines inside the inset. So I just can tell the inset activate
5911 me and set the cursor on the front/back of yourself.
5913 2001-07-18 Juergen Vigna <jug@sad.it>
5915 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5916 is given to the InsetText.
5917 (insetButtonPress): ditto
5918 (insetButtonRelease): ditto
5919 (insetMotionNotify): ditto
5921 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5923 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5924 LIGATURE_BREAK, since the name is so stupid.
5926 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5928 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5929 the default InsetCollapsable methods. I.e., it can insert anything.
5930 (write) output the name of the inset, not some silly hack for
5931 compatability with the old InsetInfo.
5933 * insetinfo.[Ch]: removed.
5934 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5935 now collapsable, but functionality is otherwise identical to InsetInfo.
5937 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5939 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5941 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5944 * insetquotes.C: general cleanup
5945 (dispString): add spaces inside french double quotes.
5946 (latex): ditto. Moreover, treat first the case where the frenchb
5947 or french options have been given.
5949 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5951 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5954 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5956 * figinset.C (RegisterFigure): Print debug message only when
5957 current_view is available.
5959 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5961 * many files: update to match the change below
5963 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5964 implement the version which takes an inset here.
5966 * insetcollapsable.[Ch]: implement open and isOpen
5968 * inset.h: remove insertInsetAllowed from Inset
5969 (open): new method, to open or close an inset
5970 (isOpen): returns the status of an inset
5971 (isCollapsable, colapse): removed
5973 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5975 * insetquotes.C (dispString): display french guillemets when using
5978 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5980 * insetcollapsable.h: remove bogus return statements
5982 2001-07-18 Juergen Vigna <jug@sad.it>
5984 * insettabular.C (selectNextWord): fixed spellchecking for the
5985 first cell of a tabular (wasn't entered!)
5986 (getLyXText): changed to enter automatically insettext and return
5987 it's LyXText if we're locked.
5989 2001-07-17 Juergen Vigna <jug@sad.it>
5991 * various files: implemented the below functions.
5993 * inset.h: added functions
5994 - virtual string selectNextWord(BufferView *, float & value) const;
5995 - virtual void selectSelectedWord(BufferView *) { return; }
5996 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5997 needed for spellchecking correctly!
5999 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6001 * insetert.C (latex): write out all paragraphs.
6003 2001-07-17 Baruch Even <baruch@lyx.org>
6005 * insetgraphics.C (draw): Removed unneeded casts.
6007 2001-07-16 Juergen Vigna <jug@sad.it>
6009 * insettext.C (update): fixed small oversight (reset lt to 0).
6011 2001-07-14 Baruch Even <baruch@lyx.org>
6014 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6016 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6018 Consistent use of Lsstream.h:
6019 * figinset.C: removed using std::ostringstream directive.
6021 * insetgraphics.C (createLatexOptions):
6022 * insetinclude.C (unique_id):
6023 std::ostringstream -> ostringstream.
6024 * insettext.C (localDispatch): std::istringstream -> istringstream.
6026 2001-07-13 Juergen Vigna <jug@sad.it>
6028 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6030 * insetcollapsable.C (getLockingInset): ditto.
6032 2001-07-12 Juergen Vigna <jug@sad.it>
6034 * insetcollapsable.h: added implementation of new function for
6037 * various files: added implementation of new insertInsetAllowed-func
6038 and redone the function a bit more.
6040 * inset.h: added isCollapsable(), bool collapsed(),
6041 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6043 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6045 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6046 LyXText which is marked for removal while we're using it!
6048 * insettext.h: added private LyXText * lt to use it to assure we are
6049 not deleting our LyXText while we're using it!
6051 2001-07-11 Juergen Vigna <jug@sad.it>
6053 * insettext.C (insertInset): check if we are before the inset after
6054 inserting it! This check IS needed. Remove the Undo-Call as it is
6055 called in LyXText::insertInset!
6057 * insettext.h: added struct InnerCache.
6059 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6060 that we ONLY delete the LyXText in the getLyXText() routine. So we
6061 are sure we don't delete LyXText while someone is working with it!
6063 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6065 * insetexternal.C: (*it). -> it->
6066 * insettext.C: ditto
6068 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6070 * insetcollapsable.C (edit): always open collapsed insets (even if
6071 they are not autocollapsable)
6073 * insetcommand.C (operator=): simplify.
6075 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6077 * insetert.C (latex): handle META_NEWLINE
6079 2001-07-09 Juergen Vigna <jug@sad.it>
6081 * insetert.h: a normal InsetText can insert insets, but we won't.
6083 * inset.h: return default "false" on insertInsetAllowed and implement
6084 this function where a returnvalue != "false" is needed.
6086 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6088 * insetert.C (InsetERT): new contructor
6090 2001-07-06 Juergen Vigna <jug@sad.it>
6092 * a lot of files: added implementation of the below new functions
6093 and the change to clone(). Also the call of the new undo-functions
6096 * inset.h: added an inset_id, added functions getParFromID,
6097 getInsetFromID, firstParagraph, cursor and id functions, added
6098 bool same_ids to clone function.
6100 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6102 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6103 of BufferView * and shared_ptr<LyXText>
6105 2001-07-05 Juergen Vigna <jug@sad.it>
6107 * insettext.C (clear): deleted also the cache not only LyXText.
6108 (setParagraphData): ditto.
6110 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6112 * insetfloat.C (latex): let the specific placement take presedence
6113 if set, otherwise choose document placement if set, otherwise just
6114 use float default placement.
6116 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6118 * insettext.C (localDispatch): call CutAndPaste::'s static method
6121 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6123 * insetbib.C: no meed to include forms.h here.
6125 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6127 * insettext.C: added using std::make_pair directive.
6129 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6131 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6133 (deleteLyXText): ditto
6134 (resizeLyXText): ditto
6136 2001-07-02 Juergen Vigna <jug@sad.it>
6138 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6139 following calls are only returned the right pointer without the over
6140 head to search in the map.
6141 (various funcs): reset the cached_bview variable as this signs that
6142 the cache is not valid anymore.
6144 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6146 * insettabular.C (clone): do not copy the LyXTabular twice
6148 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6150 * insettext.h (TEXT): delete method
6152 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6154 * insetmarginal.C (latex):
6155 * insetfoot.C (latex): fix spacing of notes in LaTeX
6157 * insettext.C (localDispatch): use .c_str() on istringstream
6158 constructor argument.
6160 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6165 * inseturl.C: fix method names in these to begin
6166 with small char too, so they inherit
6168 2001-06-28 Juergen Vigna <jug@sad.it>
6170 * insettext.C (setFont): fixed font settings using toggleFree()
6171 instead of setFont().
6173 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6175 * Change a lot of method names to begin with a small char.
6176 Changes to a lot of files because of this.
6178 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6180 * insetfloatlist.C (Write): std:: qualify ostream
6183 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6187 * insetgraphics.C: send debug output to Debug::INFO instead of
6190 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6193 * insettabular.C (getStatus): update to use func_status
6195 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6197 * insetref.C (DocBook): added support for cross-references without
6200 2001-06-26 The LyX Project <jug@sad.it>
6205 * insetlabel.h: removed escape method and moved it to
6208 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6210 * insettabular.C (getMaxWidth): do the speedup in a different way,
6213 2001-06-24 The LyX Project <Asger>
6215 * insettabular.C (getMaxWidth): We cache a mapping from
6216 inset to cell in order to speed this method up.
6218 2001-06-24 The LyX Project <Asger>
6220 * insettext.C: Optimized InsetText::draw or something.
6222 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6224 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6226 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6228 * inset.h: name change from lyxinset.h
6230 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6232 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6234 2001-06-14 Juergen Vigna <jug@sad.it>
6236 * insettext.C (draw): removed warnings.
6238 2001-06-13 Juergen Vigna <jug@sad.it>
6240 * insettabular.C (nodraw): only go down the tree if we don't have
6241 that flag set otherwise it's obvious that we don't want to draw.
6242 (LocalDispatch): do also an update if we have an undispached result.
6244 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6247 * insetgraphicsParams.C:
6248 * insettext.C: removed // -*- C++ -*- as first line.
6250 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6252 * lyxinset.h (resizeLyXText): shut off warning about unused
6255 2001-06-07 Juergen Vigna <jug@sad.it>
6257 * insettext.C (resizeLyXText): honor the new force flag.
6259 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6261 * insettabular.C (deleteLyXText): new function
6263 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6271 * insetcollapsable.C:
6272 * insetcaption.C: LColor tidy
6274 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6276 * figinset.C: fix typo
6278 2001-06-01 Juergen Vigna <jug@sad.it>
6280 * insettabular.C (resetPos): small hack so that scroll is not set to
6281 0 when we are in the last column of a tabular. This is a problem we
6282 have because of constats 20 offset on both directions, so this can
6283 cause on the limit an endless loop.
6285 * insettext.C (SetFont): forgot that we can have locking insets ;)
6287 2001-05-31 Juergen Vigna <jug@sad.it>
6289 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6291 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6293 * figinset.C: add using std:: directive for the C functions which
6296 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6298 * insetfloat.C (Write): write out wide info
6299 (Read): read the wide info
6300 (Latex): use the wide info when creating latex.
6302 * insettext.C: adjust
6304 * insetgraphics.[Ch] (statusMessage): change to return string
6308 * figinset.C (runqueue): add std::
6311 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6313 * insetcite.C (Ascii): add std:: qualifier
6315 2001-05-28 Juergen Vigna <jug@sad.it>
6317 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6318 a endless-width inset (maxWidth < 0).
6319 (Edit): change language only if not equal.
6321 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6323 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6325 2001-05-16 Juergen Vigna <jug@sad.it>
6327 * insettext.C (selectAll): added
6328 (clearSelection): added
6330 * insettabular.C (SetFont): now we may set a font on a whole selection!
6331 (getSelection): added helper function.
6333 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6335 * insetcite.C (Ascii): Add method.
6337 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6340 * insetbib.C: fix path for OS/2 & Win32
6342 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6344 * insetfoot.C (Latex): don't use % after footnote.
6346 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6348 * insettext.C (Read): use clear
6349 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6351 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6353 * insetfloatlist.h: add a bunch of std:: qualifiers.
6355 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6357 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6358 FLOAT_LIST_CODE, renumber code list.
6360 * insettoc.C (getScreenLabel): remove support for float lists
6364 * insetfloatlist.[Ch]: new files
6366 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6368 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6370 * insettabular.C (LocalDispatch):
6371 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6374 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6376 * insettext.C: remvoe !NEW_INSETS cruft
6378 * insettabular.C: remove !NEW_INSETS cruft
6380 * insetcollapsable.h: remove !NEW_INSETS cruft
6382 * insetbib.C: remove !NEW_INSETS cruft
6384 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6386 * insettoc.C: hack to make listof algorithm work
6388 2001-04-20 Juergen Vigna <jug@sad.it>
6390 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6392 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6394 * insetquotes.C (Latex): improve the guard against
6395 unwanted !` and ?` ligatures. This should really be done in
6396 another place (to catch all this ligatures at low-level).
6398 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6400 * insettext.C (init): remvoe leftovers from cursor_visible change
6401 (draw): use c++ cast
6402 (LocalDispatch): dispatch LFUN_MESSAGE
6404 * insettabular.C (InsetTabular): remove leftovers from
6405 cursor_visible, and scoped_ptr changes
6406 (draw): use c++ cast
6408 * insetcollapsable.C (draw): use c++ cast
6410 * ExternalTemplate.h: inherit privaely from noncopyable
6411 * insetcommand.h: ditto
6412 * insetinclude.h: ditto
6414 2001-04-16 Allan Rae <rae@lyx.org>
6416 * insettoc.C (Ascii):
6417 * insettext.C (draw):
6418 * insettabular.C (setPos):
6419 * insetminipage.C (Read):
6420 * insetfloat.C (placement):
6421 * insetcaption.C (Ascii, DocBook):
6422 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6423 an unrecognised preprocessor directive. So ensure they're wrapped.
6425 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6428 * insetexternal.C: set view on Clone. Add _ to private members.
6430 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6432 * insettext.C (InsetText): fix new
6433 (InsetText): reindent some, simplify deletion of par list
6434 (clear): simplify deletion of par list, fix new
6435 (SetParagraphData): simplify deletion of par list
6437 * insettabular.[Ch] (getLabelList): implement new method
6439 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6441 * lyxinset.h: do not include gettext.h...
6449 * insetlatexaccent.C:
6453 * inseturl.C: ... and do it here instead
6455 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6457 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6459 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6461 * insetcollapsable.[Ch] (getLabelList): implement
6463 * insettext.[Ch] (getLabelList): implement
6465 * insettext.h: reindent
6467 * insettabular.h: make tabular a scoped_ptr
6469 * insettext.C (init): adjust for cursor_visible
6470 (ToggleInsetCursor): constify asc and desc, font, adjust for
6472 (ShowInsetCursor): constify asc and desc, font, adjust for
6474 (HideInsetCursor): adjust for cursor_visible
6476 * insettabular.C: reindent some
6477 (InsetTabular): adjust for scoped_ptr and cursor_visible
6478 (InsetTabular): ditto
6479 (~InsetTabular): delete delete
6480 (Clone): adjust for scoped_ptr
6481 (Read): constify old_format, adjust for scoped_ptr, move init of
6483 (draw): constify tx, localize loop vars.
6484 some other localization of variables, remove double initilizatons.
6486 * insetfoot.C: remove using std::ostream, add ostream where needed
6488 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6490 * lyxinset.h: some reindentaion, use initializer list for
6492 UpdatableInset: make cursor_visible a private var add
6493 public isCursorVisible(), add protected toggleCursorVisible() and
6494 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6496 * insettoc.C: remvoe using decl
6497 (getScreenLabel): make cmdname donst
6500 (Ascii): don't use endl
6502 * insetfootlike.C: remove using decl at file scope and add std::
6504 * insetmarginal.C: ditto
6506 * insetfoot.C: some reformatting
6508 * insetfloat.C (InsetButtonRelease): adjust the hit area
6510 * insetert.C (SetFont): some reformatting
6512 * insetcollapsable.C: some reformatting and constification
6513 (Clone): comment out.
6514 * insetcollapsable.h: some reformatting
6515 (Clone): comment out.
6520 2001-03-30 Juergen Vigna <jug@sad.it>
6522 * insetcollapsable.h: changen *inset to be a InsetText inset.
6524 * some files: changed to reflect the above change.
6526 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6528 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6529 InsetExternal::Params.
6530 Added operator==() and operator!=() for the Params struct.
6532 2001-03-29 Juergen Vigna <jug@sad.it>
6534 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6537 * insetminipage.C: removed widthp_ and all it's functions and changed
6538 to use new %-lengths of LyXLength.
6540 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6542 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6544 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6546 * insetgraphicsParams.C (operator!=): new function, needed by the
6547 ControlGraphics class.
6549 2001-03-28 Juergen Vigna <jug@sad.it>
6551 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6552 (checkAndActivateInset): don't use the values returned from
6553 call to bv->checkInsetHit.
6555 * insetminipage.C (Clone): set special minipage values.
6557 * insetcollapsable.C (draw): changed to draw the button in the
6558 upper left corner outside the textinset.
6559 (ascent): changed because of different drawing
6563 (InsetButtonPress): ditto
6564 (InsetButtonRelease): ditto
6565 (InsetMotionNotify): ditto
6567 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6569 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6573 2001-03-26 Juergen Vigna <jug@sad.it>
6575 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6577 * insettext.C (ShowInsetDialog): implemented above function.
6579 * insettabular.C (ShowInsetDialog): ditto
6581 * insetminipage.C (ShowInsetDialog): ditto
6583 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6585 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6586 InsetInclude::Params. Don't store a buffer * in Params. Store the
6587 master file name instead.
6589 2001-03-23 Juergen Vigna <jug@sad.it>
6591 * insetcollapsable.C (InsetMotionNotify):
6592 (InsetButtonRelease):
6593 (InsetButtonPress): fixed y-offset (minipages).
6595 * insettext.C (draw): force a FULL update if cleared == true.
6597 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6598 routine to draw the minipages on its position-flag.
6599 (InsetInInsetY): give back the right y position, because of minipage
6602 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6605 * insetfloat.C (DocBook): docbook export code.
6607 2001-03-22 Juergen Vigna <jug@sad.it>
6609 * insetminipage.C (getMaxWidth): added function to set the drawing
6611 (Read): should work now!
6613 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6614 if we create a new inset.
6616 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6618 * figinset.C (fl_set_preemptive_callback): moved definition outside
6621 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6623 * insetminipage.C (Read): prepare for reading of minipage arguments.
6625 2001-03-18 Baruch Even <baruch@lyx.org>
6627 * insetgraphics.C: Minor cleanups of the comments and code.
6629 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6631 * insetminipage.C (InsetMinipage): default to not collapsed
6633 2001-03-16 Juergen Vigna <jug@sad.it>
6635 * insetminipage.C (width): modified with to be a string
6636 (widthp): added widthp (for % width) support functions.
6637 (InsetButtonRelease): added to open the options dialog on button==3.
6638 (~InsetMinipage): added to hide the dialog.
6640 * insetminipage.h: added hideDialog signal
6642 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6644 * insetminipage.h: change the order or Position to match
6645 LyXParagraph::MINIPAGE_ALIGNMENT
6647 * several files: remvoe CXX_WORKING_NAMESPACES
6649 * ExternalTemplate.h: noncopyable is in namespace boost
6650 * insetinclude.h: ditto
6651 * insetcommand.h: ditto
6653 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6655 * insettext.C (Edit): #else# -> #else.
6656 * insettoc.C: added using directive.
6658 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6660 * insetminipage.h: add pos, inner_pos, width and height. + getters
6661 and setters for all of them.
6663 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6665 * insetinclude.C (Latex): Do not exit when the textclass of the
6666 included file differ from the textclass of the parent file.
6668 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6670 * ExternalTemplate.C (read): the reading of external insets now checks
6671 for \end_inset and removes it form the input stream.
6673 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6675 * ExternalTemplate.h:
6676 * ExternalTemplate.C:
6678 * insetexternal.C: move form to GUII
6680 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6683 * insetinclude.C: add InsetIncludeParams, use
6684 composition rather than derivation of InsetCommand
6686 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6688 * insettoc.C (Ascii): use the Buffer typedefs
6690 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6692 * insettoc.C (Ascii): implement for dynamic number of lists
6694 * insetcaption.[Ch]: update from new_insets branch
6695 * insetfloat.[Ch]: ditto
6697 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6700 * figinset.C: use new File Dialog
6702 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6704 * insettext.C: changes becuase of ParagraphParameters.
6706 2001-02-28 Baruch Even <baruch@ev-en.org>
6708 * insetgraphics.C (updateInset): Changed due to the change in
6711 2001-02-26 Juergen Vigna <jug@sad.it>
6713 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6714 handled in LyXText).
6716 2001-02-23 Juergen Vigna <jug@sad.it>
6718 * insettext.C (draw): some small repainting fixes.
6719 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6721 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6722 should be) and not an int.
6724 * insettabular.C (LocalDispatch): ditto
6726 * insettext.C (LocalDispatch): ditto
6728 * insetcollapsable.C (LocalDispatch): ditto
6730 2001-02-22 Juergen Vigna <jug@sad.it>
6732 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6733 DISPATCH it and we don't have a locking_inset.
6735 2001-02-21 Baruch Even <baruch@ev-en.org>
6737 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6738 instead of GraphicsCacheItem *.
6740 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6742 * insetcollapsable.C (getLyXText): add const qualifier to second
6745 2001-02-22 Juergen Vigna <jug@sad.it>
6747 * insettext.C (getLyXText): honor the recursive parameter.
6748 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6750 * inset.C (getLyXText): added bool recursive parameter.
6752 * insettext.C (SetUpdateStatus): or the update codes.
6753 (draw): check need_update with &.
6754 (InsetButtonPress): set no_selection to not put a selection when
6755 entering an inset and it is redraws in another spot.
6757 * insettext.h: made need_update an int.
6759 2001-02-20 Baruch Even <baruch@ev-en.org>
6762 * insetgraphisc.C: Changed to use better semantics when loading images
6763 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6765 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6769 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6770 consistent with InsetTabular.
6772 2001-02-19 Juergen Vigna <jug@sad.it>
6774 * insettabular.C (LocalDispatch): implement PAGE up/down.
6776 * insettext.C (draw): clear all of it on need_update==INIT too!
6778 * insettabular.C (InsetUnlock): always clear the selection.
6780 * inset.C (scroll): normally we only want to scroll the inset until
6781 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6783 2001-02-14 Juergen Vigna <jug@sad.it>
6785 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6786 (resetPos): fixed scroll behaviour.
6787 (LocalDispatch): do an update if moving cursor inside a table cell
6788 requests a scroll of the tabular.
6790 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6792 * insettext.C (textWidth): constify local var
6794 * insettabular.C: small cleanup.
6796 * insetfoot.C (Latex): constify local var
6798 * insetcollapsable.C: small cleanup.
6800 * figinset.C (runqueue): use compare instead of strcmp
6802 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6805 * insetinfo.C: remove cruft
6807 2001-02-14 Juergen Vigna <jug@sad.it>
6809 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6811 2001-02-13 Juergen Vigna <jug@sad.it>
6813 * insettext.C (InsertInset): don't move left (is this right?)
6815 * insettabular.C (LocalDispatch): use of the no_draw variable
6817 * insettabular.h: new no_draw variable to stop redraw
6819 * insettabular.C (TabularFeatures): fixed update for alignment change
6821 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6825 * insetbib.C: move dialogs to frontends/
6827 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6829 * insettext.C (LocalDispatch): Restore the language if the inset
6832 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6834 * insettext.C (moveRightIntern): Update the selection cursor.
6835 (moveLeftIntern): Ditto.
6837 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6839 * Makefile.am: remove BoundingBox.h
6841 * BoundingBox.h: removed
6843 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6845 * insettext.C (LocalDispatch): Update selection cursor when moving
6846 cursor to the right.
6847 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6848 (moveLeftIntern): Ditto.
6850 2001-02-05 Baruch Even <baruch.even@writeme.com>
6852 * insetgraphics.C: Updated automatic image conversion, it now goes into
6853 temporary directory instead of with the image itself.
6855 2001-01-21 Baruch Even <baruch@ev-en.org>
6857 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6858 to EPS or PNG when needed (support bitmap graphics).
6860 2000-11-02 Baruch Even <baruch@ev-en.org>
6863 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6864 and removal of commented out code.
6866 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6868 * insetbib.C (callback): Update citations if the key has changed.
6870 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6872 * insetbib.C (InsetBibKey): Better computation of default key.
6873 (getScreenLabel) Show both the key and the label.
6874 (getBibLabel): New method.
6875 (callback): Force a redraw if the inset have been changed.
6877 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6879 * insetref.C (getType, getName): Move methods from
6880 src/frontends/xforms/FormRef.C.
6882 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6884 * insettabular.C: Various improvements (use only one dummy position).
6886 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6888 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6889 par->bibkey->width. This fixes the crashes when running without
6890 gui or when having included documents.
6892 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6894 * insetcommand.C (getAsString, setFromString): Cleanup.
6896 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6898 * insetref.C: Add the array InsetRef::types that contains
6899 information about all supported reference types.
6901 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6903 * lyxinset.h: remove trailing comma in enum.
6905 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6907 * insettext.C: kill LyXBell.