1 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * insetfloat.C (read): fix yesterday's float fix.
4 * insetwrap.C (read): apply the fixed float fix.
6 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * insetfloat.C (read): fix reading of float params
11 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
13 * insettext.C (edit): comment the call to updateLocal (dangling now)
14 * insettext.h: add allowSpellCheck() returning true
16 2004-03-31 Angus Leeming <angus@localhost.localdomain>
18 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
20 2004-03-31 Angus Leeming <leeming@lyx.org>
22 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
23 the cursor out of an inset.
25 * insetbranch.C (priv_dispatch):
26 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
27 use getOutOfInset to push the cursor out of the inset when
30 2004-03-30 Angus Leeming <leeming@lyx.org>
32 * insetbase.[Ch] (translate): new static member function, returns
33 an InsetBase::Code corresponding to the input string.
35 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
37 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
38 so that it opens the inset if it refers to the currently active
41 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
43 * insetfloat.C (addToToc): use par_const_iterator_begin and
44 par_const_iterator_end.
46 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
48 * insetbibtex.[Ch]: bibtopic support.
50 * insetfloat.[Ch]: add param \sideways {true|false}
51 (support for sideways floats from rotating.sty).
53 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
55 * insettext.[Ch]: add a default ctor. implement const version of
63 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
65 * insettext.h: add insetAllowed returning true by default (fixing
66 vanishing insets problem)
68 * insettext.C (draw): handle the responsability of adding the
69 ouside offset to collapsable. Clean code a bit.
71 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
72 from insettext correctly, solve a couple of off-by-one drawing
75 2004-03-25 Angus Leeming <leeming@lyx.org>
77 * insetcaption.C (draw): squash warning about unused variable.
79 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
81 * ExternalSupport.C: use the master buffer's temp dir
82 * insetgraphics.C (latex): make relative filename relative to the
84 * insetgraphics.C: use the master buffer's temp dir
85 * insetinclude.C (masterFilename): new function
86 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
87 is always true if loadIfNeeded() returns true)
89 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
91 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
92 set its parent to the current buffer.
93 (latex): use the tmppath of the master buffer, not just the parent
94 buffer (makes a difference with more than one level of include
95 insets). If the file name is relative write in the .tex file a
96 name relative to the master buffer directory.
98 * insetinclude.C: rename masterFilename to parentFilename (this
99 points to the direct parent)
101 2004-03-25 André Pönitz <poenitz@gmx.net>
103 * inset.[Ch]: remover owner
105 * insetcollapsable.[Ch]: derive from InsetText instead having such a
113 * insetcharstyle.[Ch]:
121 * insetwrap.C: adjust
123 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
125 * insetquote.C: use opening quote after '[' char.
127 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
129 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
132 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
134 * insetcite.[Ch]: support jurabib.
136 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
138 * insetcite.C: Support second \cite option.
141 * insetcommandparams.[Ch]: add second optional argument.
143 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
145 * insetcollapsable.C (lfunMouseRelease): right mouse button only
146 shows the inset dialog.
148 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
150 * insetlabel.[Ch]: remove them
151 * Makefile.am: adjust
153 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
155 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
157 * insetinclude.C (latex): show a GUI warning if textclasses don't
159 * insetinclude.C: use mangledFilename() for temp files
160 * insetgraphics.C (readInsetGraphics): remove version check, since
161 the graphics inset has no own fileformat number anymore
163 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
165 * insetquotes.[Ch]: added new member that allows direct access
166 to single/double quotation marks.
168 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
170 2004-02-16 André Pönitz <poenitz@gmx.net>
173 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
174 implicitly assume 'DispatchResult(true, true) with exception of
175 InsetBase::priv_dispatch which does the equivalent of
176 'retrun DispatchResult(false)'
178 * inset*.[Ch] (priv_dispatch): adjust
180 * insettabular.[Ch]: remove remains of the 'update' mechanism,
181 simplify cursor moving function,
182 re-enable horizontal scrolling for large tables
184 2004-02-13 André Pönitz <poenitz@gmx.net>
186 * insettabular.[Ch]: some work after IU
188 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
190 * inset.C (setPosCache): switch to absolute coords in insets
191 * insettext.[Ch] (draw, drawFrame): adjust
192 * insetcollapsable.C (draw): adjust
195 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
197 * insettext.C (edit):
198 (updateLocal): use the cur argument instead of the global cursor
199 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
201 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
203 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
205 * insetfloat.C (validate): "H" -> 'H' in call to contains
207 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
209 2004-01-30 André Pönitz <poenitz@gmx.net>
213 * insetcollapsable.[Ch]:
216 * insetgraphics.[Ch]:
221 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
224 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
226 * insettabular.C: add using statement for std::vector, remove
227 std:: where using was already used.
229 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
231 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
233 * insetinclude.C (validate): use feautures.nice() instead of
236 2004-01-20 André Pönitz <poenitz@gmx.net>
239 * insetbase.[Ch]: move stuff from mathcursor here.
245 * insetcharstyle.[Ch]:
246 * insetcollapsable.[Ch]:
249 * insetexternal.[Ch]:
251 * insetgraphics.[Ch]:
260 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
262 2004-01-15 André Pönitz <poenitz@gmx.net>
269 * insetcharstyle.[Ch]:
270 * insetcollapsable.[Ch]:
273 * insetexternal.[Ch]:
275 * insetgraphics.[Ch]:
284 * updatableinset.[Ch] (priv_dispatch et al): change signature.
286 2004-01-08 André Pönitz <poenitz@gmx.net>
288 * insetcollapsable.[Ch]:
291 * updatableinset.h: use cell index info from global cursor.
293 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
295 * insetnote.C (InsetNoteParams::write): write label only once
297 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
299 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
301 get rid of the SameName functor
303 * insettabular.C: improve the functor.
305 2003-12-29 Angus Leeming <leeming@lyx.org>
307 * insetexternal.C (setParams): update defaultTemplateName.
309 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
311 * insetbox.C: Use term "Box" in button label
313 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
315 * insetcharstyle.C: get getDrawFont working again
317 2003-12-15 André Pönitz <poenitz@gmx.net>
320 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
322 2003-12-12 Angus Leeming <leeming@lyx.org>
324 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
326 (InsetBranchParams): remove the branchlist hack.
327 (isBranchSelected): new function, used to decide whether to
328 print each output format. Also used by InsetList.
329 (read, string2params): repair my own breakage ;-)
331 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
333 * insetminipage.[Ch]: remove from repository.
335 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
338 * insetcollapsable.[Ch]: Move all CollapseStatus code from
339 insetert to insetcollapsable; introduce virtual function
340 setButtonLabel and invoke it from collapsable
342 2003-12-12 Angus Leeming <leeming@lyx.org>
344 * insetinclude.C (draw): cache x,y and so enable the
347 2003-12-12 Angus Leeming <leeming@lyx.org>
349 * mailinset.C (print_mailer_error): tidy up the output.
351 2003-12-11 Angus Leeming <leeming@lyx.org>
353 * mailinset.[Ch] (print_mailer_error): new helper function.
355 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
356 calling InsetCommandMailer.
357 (InsetCommandMailer::string2params): pass the name of the dialog.
359 * insetbibitem.[Ch] (d-tor):
360 * insetbibtex.[Ch] (d-tor):
361 * insetcite.[Ch] (d-tor):
362 * insetfloatlist.[Ch] (d-tor):
363 * insetindex.[Ch] (d-tor):
364 * insetlabel.[Ch] (d-tor):
365 * insetref.[Ch] (d-tor):
366 * insettoc.[Ch] (d-tor):
367 * inseturl.[Ch] (d-tor): removed.
368 Hiding the dialog is handled by InsetCommand.
370 * insetbibtex.[Ch] (draw, metrics):
371 * insetfloatlist.[Ch] (draw, metrics):
372 * insetindex.[Ch] (draw, metrics): removed.
373 Drawing is handled by InsetCommand.
375 * insetbibitem.[Ch] (priv_dispatch):
376 * insetbibtex.[Ch] (priv_dispatch):
377 * insetcite.[Ch] (priv_dispatch):
378 * insetfloatlist.[Ch] (priv_dispatch):
379 * insetindex.[Ch] (priv_dispatch):
380 * insetlabel.[Ch] (priv_dispatch):
381 * insettoc.[Ch] (priv_dispatch):
382 * inseturl.[Ch] (priv_dispatch): removed or simplified.
383 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
384 LFUN_INSET_DIALOG_SHOW.
386 * insetbox.C (string2params):
387 * insetbranch.C (string2params):
388 * insetert.C (string2params):
389 * insetexternal.C (string2params):
390 * insetfloat.C (string2params):
391 * insetinclude.C (string2params):
392 * insetminipage.C (string2params):
393 * insetnote.C (string2params):
394 * insetvspace.C (string2params):
395 * insetwrap.C (string2params): over-hauled.
397 2003-12-10 Angus Leeming <leeming@lyx.org>
399 * insetexternal.[Ch]: add a draft option and respect it when
402 2003-12-10 Angus Leeming <leeming@lyx.org>
404 * insetbox.C: (read, write): now prepend the inset contents with
405 'Box' to identify the inset as a box inset.
407 * insetbox.h: move the translators out of sight.
409 2003-12-10 Angus Leeming <leeming@lyx.org>
411 * insetert.C (string2params): clean-up using the new lyxlex interface.
413 * insetexternal.C: ensure that InsetExternalParams has a default
414 template, 'RasterImage'.
416 2003-12-10 Angus Leeming <leeming@lyx.org>
418 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
419 to an enum. Ensuing clean-ups through out the class.
420 (read, write): now prepend the inset contents with 'Note' to identify
421 the inset as a note inset.
423 2003-12-10 Angus Leeming <leeming@lyx.org>
425 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
426 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
428 2003-12-10 André Pönitz <poenitz@gmx.net>
433 * insettext.[Ch]: remove unused insetInset()
435 * insetert.C: disable some LFUNs
437 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
439 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
441 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
443 2003-12-04 Angus Leeming <leeming@lyx.org>
445 * insetexternal.C (draw): update the xo_, yo_ cache.
447 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
449 (RotationDataType): new helper struct wrapping the
450 RotationData::OriginType enum.
452 2003-12-03 André Pönitz <poenitz@gmx.net>
454 * inset.h: remove getParagraphs()
456 * insetcollapsable.[Ch]:
460 * insettext.C: use getText() instead of getParagraphs()
462 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
464 * insetert.C: fix label text updating bug
466 2003-12-02 Angus Leeming <leeming@lyx.org>
468 * insetvspace.[Ch] (space): new member function. Make space_ private.
469 (read): use the new, simpler lyxlex syntax.
471 2003-12-01 André Pönitz <poenitz@gmx.net>
473 * insetcollapsable.[Ch]:
474 * insetert.[Ch]: move 'inline' state to InsetCollapsable
476 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
478 * insetvspace.C (read): handle 'end_inset' token.
480 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
482 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
484 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
486 * insetcollapsable.[Ch]:
488 * insetcharstyle.C: place inset content on the button when
491 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
493 * insetvspace.C: remove VSpace::NONE; increase inset width
495 2003-12-01 André Pönitz <poenitz@gmx.net>
497 * insetbase.h: whitespace
499 * inset.[Ch]: remove latexTextWidth
500 make setBackgroundColor virtual
502 * insettext.[Ch]: move ParagraphList member to LyXText
504 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
510 * insetminipage.[Ch]:
512 * insetwrap.[Ch]: adjust paragraphs and background color handling,
514 2003-11-28 Angus Leeming <leeming@lyx.org>
516 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
517 hiding and showing the dialog respectively.
518 (priv_dispatch): also actually update the inset contents.
520 2003-11-28 Angus Leeming <leeming@lyx.org>
522 * insetbox.C (d-tor):
523 * insetbranch.C (d-tor):
524 * insetcite.C (d-tor):
525 * insetfloat.C (d-tor):
526 * insetfloatlist.C (d-tor):
527 * insetinclude.C (d-tor):
528 * insetindex.C (d-tor):
529 simplify the invocation of the Mailer::hideDialog() function.
531 * insetminipage.C (showInsetDialog):
532 simplify the invocation of the Mailer::showialog() function.
534 2003-11-28 André Pönitz <poenitz@gmx.net>
537 * insetvspace.[Ch]: new insets
539 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
541 * insetcharstyle.C: Syntax change for CharStyles
543 2003-11-28 André Pönitz <poenitz@gmx.net>
545 * updatableinset.h: remove insetInInsetY
547 * insetcollapsable.[Ch]:
550 * insettext.[Ch]: adjust
552 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
556 * insetcollapsable.[Ch]:
558 * insettabular.[Ch]: remove setFont
560 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
562 * render_graphic.[Ch]: adjust comments
564 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
566 * insetgraphics.C (draw): cache xo_ & yo_
568 2003-11-24 André Pönitz <poenitz@gmx.net>
570 * insettext.C (setViewCache): don't call LyXText::init() anymore
572 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
575 * insetcollapsable.[Ch]:
576 * insetert.[Ch]: remove bufferview parameter in methods
577 open, close, status, and updateStatus.
579 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
581 * insetcollapsable.[Ch]:
583 * insettext.[Ch] (getCursorDim): squash unused variable
585 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
587 * insettext.C (edit): x0_,y0_ -> xo_,yo_
589 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
591 * insettext.C (draw): sets LyXText absolute coordinates
593 2003-11-20 Angus Leeming <leeming@lyx.org>
595 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
596 about unused parameters.
598 * insetcollapsable.C (open):
599 * insettabular.C (pasteSelection):
600 * insettoc.C (draw): ditto.
602 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
604 * insetcollapsable.C:
606 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
607 remove mouse_x mouse_y etc.
609 2003-11-17 André Pönitz <poenitz@gmx.net>
611 * insettext.[Ch] (cx, cy): remove
613 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
615 2003-11-13 André Pönitz <poenitz@gmx.net>
618 * insetcollapsable.[Ch]:
620 * insettext.[Ch] (deleteLyXText): remove
622 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
624 * insetcollapsable.[Ch] (fitInsetCursor): remove
625 * insettabular.[Ch] (fitInsetCursor): remove
626 * insettext.[Ch] (fitInsetCursor): remove
627 * updatableinset.[Ch] (fitInsetCursor): remove
628 (getCursorDIm): add virtual
630 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
632 * src/insets/Makefile.am:
633 * src/insets/inset.h:
634 * src/insets/insetcharstyle.C:
635 * src/insets/insetcharstyle.h: The Character Style /XML short
638 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
640 * insettext.C: remove all update calls
641 * insetcollapsable.C: remove all update calls
643 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
645 * insettext.C (updateLocal, insertInset, setFont): remove
648 2003-11-10 André Pönitz <poenitz@gmx.net>
650 * inset.h: remove Inset::id_
652 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
655 2003-11-10 André Pönitz <poenitz@gmx.net>
659 * insetcollapsable.[Ch]:
666 * updatableinset.[Ch]: remove inset locking & adjust
668 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
670 * inset.h (allowSpellCheck): add (return true)
671 * insetert.h (allowSpellCheck): add (return false)
673 2003-11-05 José Matos <jamatos@lyx.org>
681 * insetcollapsable.[Ch]:
685 * insetexternal.[Ch]:
687 * insetfloatlist.[Ch]:
689 * insetgraphics.[Ch]:
694 * insetlatexaccent.[Ch]:
697 * insetmarginal.[Ch]:
698 * insetminipage.[Ch]:
702 * insetpagebreak.[Ch]:
706 * insetspecialchar.[Ch]:
712 * insetwrap.[Ch]: rename ascii to plaintext
713 and LatexRunParams to OutputParams.
715 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
717 * insetcollapsable.C (edit): add open() all
718 * insettext.C (edit): add setViewCache call
720 2003-11-04 André Pönitz <poenitz@gmx.net>
722 * inset.h (edit): move locking code from dispatch() to edit()
728 * insetcollapsable.[Ch]:
731 * insetexternal.[Ch]:
732 * insetgraphics.[Ch]:
738 * insettext.[Ch]: adjust
740 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
743 * insetcollapsable.[Ch]:
747 * updatableinset.[Ch]: remove dead search code
749 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
752 * insetcollapsable.[Ch]:
756 * updatableinset.[Ch]: remove dead spellcheck code
758 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
760 * insettabular.C (lockInsetInInset): small fix
762 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
764 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
765 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
766 from here. Be stricter on DispatchResult returned.
768 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
770 * Inset::dispatch's: adjust for new DispatchResult semantics.
772 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
774 * render_base.h: make clone return an auto_ptr
775 * render_button.C (clone): adjust
776 * render_graphic.C (clone): adjust
777 * render_preview.C (clone): adjust
779 * insettheorem.C (clone): return an auto_ptr
781 * insettext.C (priv_dispatch): exception safety
783 * insettabular.C: store the file scope variable paste_tabular in a
784 scoped_ptr, adjust usage.
786 * insetexternal.C (setParams): exception safety
788 * insetbibitem.C (clone): exception safety
790 2003-11-03 André Pönitz <poenitz@gmx.net>
793 * insetcollapsable.[Ch]:
795 * insettext.[Ch]: remove Inset::id and related functions
797 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
799 * insets: adjust for DispatchResult changes.
801 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
803 * insetpagebreak.C: fix screen representation & ascii output.
805 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
810 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
812 2003-10-31 José Matos <jamatos@lyx.org>
814 * inset.h (ascii, linuxdoc, docbook):
815 * insetbox.[Ch] (ascii, linuxdoc, docbook):
816 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
817 * insetcaption.[Ch] (ascii, docbook):
818 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
819 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
820 * insetert.[Ch] (ascii, linuxdoc, docbook):
821 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
822 * insetfloat.[Ch] (linuxdoc, docbook):
823 * insetfloatlist.[Ch] (ascii):
824 * insetfoot.[Ch] (docbook):
825 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
826 * insethfill.[Ch] (ascii, linuxdoc, docbook):
827 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
828 * insetindex.[Ch] (docbook):
829 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
830 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
831 * insetline.[Ch] (ascii, linuxdoc, docbook):
832 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
833 * insetnote.[Ch] (ascii, linuxdoc, docbook):
834 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
835 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
836 * insetref.[Ch] (ascii, linuxdoc, docbook):
837 * insetspace.[Ch] (ascii, linuxdoc, docbook):
838 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
839 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
840 * insettext.[Ch] (ascii, linuxdoc, docbook):
841 * insettoc.[Ch] (ascii, linuxdoc, docbook):
842 * inseturl.[Ch] (ascii, linuxdoc, docbook):
843 * insetwrap.[Ch] (docbook):
844 add LatexRunParams argument.
846 2003-10-30 José Matos <jamatos@lyx.org>
848 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
850 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
852 * updatableinset.C (priv_dispatch):
853 * insetwrap.C (priv_dispatch):
854 * inseturl.C (priv_dispatch):
855 * insettoc.C (priv_dispatch):
856 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
857 (moveLeftIntern, moveUp, moveDown):
858 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
859 (moveLeft, moveUp, moveDown):
860 * insetref.C (priv_dispatch):
861 * insetnote.C (priv_dispatch):
862 * insetminipage.C (priv_dispatch):
863 * insetlabel.C (priv_dispatch):
864 * insetindex.C (priv_dispatch):
865 * insetinclude.C (priv_dispatch):
866 * insetgraphics.C (priv_dispatch):
867 * insetfloatlist.C (priv_dispatch):
868 * insetfloat.C (priv_dispatch):
869 * insetexternal.C (priv_dispatch):
870 * insetert.C (priv_dispatch):
871 * insetcommand.C (priv_dispatch):
872 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
873 * insetcite.C (priv_dispatch):
874 * insetbranch.C (priv_dispatch):
875 * insetbox.C (priv_dispatch):
876 * insetbibtex.C (priv_dispatch):
877 * insetbibitem.C (priv_dispatch):
878 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
880 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
882 * insettext.C: small refactoring of docbook stuff
884 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
886 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
887 (priv_dispatch): adjust for operator dispatch_result_t removal
889 * insettabular.C (lfunMouseRelease): put the result of a dispatch
890 in a DispatchResult, adjust accordingly.
891 (priv_dispatch): use strange >= construct... (will be removed later)
893 * most insets: dispatch_result -> DispatchResult
895 * insetbase.h: move DispatchResult out to dispatchresult.h
897 2003-10-27 André Pönitz <poenitz@gmx.net>
899 * insetpagebreak.[Ch]: new inset for page breaks
901 * insetline.[Ch]: new inset for vertical lines
906 2003-10-25 Angus Leeming <leeming@lyx.org>
908 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
909 new virtual member functions, specialised...
910 * render_button.h (asButton):
911 * render_graphic.h (asGraphic):
912 * render_preview.h (asPreview, asMonitoredPreview): ... here.
914 * insetexternal.C: use these new functions rather than dynamic_cast.
915 Various other small simplifications.
917 2003-10-22 Angus Leeming <leeming@lyx.org>
919 * insetexternal.[Ch]: add the ability to 'preview' the external file
922 * insetinclude.C: changes due to the changes in the RenderPreview
925 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
926 message if the preview image is not available. Only initiate the
927 loading of the preview from draw(). Ditto, start the monitoring
928 of an external file from RenderMonitoredPreview::draw.
930 2003-10-22 Angus Leeming <leeming@lyx.org>
932 * insetcite.[Ch] (setLoadingBuffer): removed.
933 (getNatbibLabel): use the new Buffer::fully_loaded member function to
934 ascertain whether to proceed with the (expensive) task of computing
935 the natbib-style label. Remove the home-grown hack providing
936 similar functionality.
938 2003-10-22 Angus Leeming <leeming@lyx.org>
940 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
941 class and into an anonymous namespace.
943 2003-10-22 Angus Leeming <leeming@lyx.org>
945 * insetcommand.h: remove the display method.
949 * insetindex.h (InsetPrintIndex):
950 * insettoc.h: add a display method, returning true.
952 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
954 * insetcollapsable.h:
958 * insetinclude.h: (1) finish off the inset display() work;
959 (2) fix the "is a bit silly" bug (accessing char
962 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
966 * insetfootlike.h: re-introduce display() for insets,
967 fixing the various bugs (stretch of line above, math inset
970 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
972 * insetbase.C (dispatch): new func
973 (priv_dispatch): new func replaces...
974 (localDispatch): this, deleted.
976 * all insets with dispatch modified for new code.
978 2003-10-15 André Pönitz <poenitz@gmx.net>
980 * insetcollapsable.[Ch]
982 * inset.h: re-add some edit(bv, index) method called by undo
984 2003-10-14 Angus Leeming <leeming@lyx.org>
986 * insetexternal.[Ch] (view, cache, view_):
987 * insetgraphics.[Ch] (view, cache, view_):
988 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
989 (statusChanged): call LyX::cref().updateInset.
991 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
992 the BufferView cache.
994 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
997 2003-10-14 Angus Leeming <leeming@lyx.org>
999 * insetinclude.C (metrics, draw): only draw the preview when previews
1002 2003-10-14 André Pönitz <poenitz@gmx.net>
1004 * insetcollapsable.[Ch]:
1005 * insettabular.[Ch]:
1007 * inset.h: getText() as alternative to getParagraphs()
1009 2003-10-13 Angus Leeming <leeming@lyx.org>
1012 * insetgraphicsParams.C: displayTranslator is now a function.
1014 2003-10-13 Angus Leeming <leeming@lyx.org>
1016 * insetinclude.C: remove #include "PreviewImage.h".
1018 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1020 * ExternalSupport.C:
1021 * ExternalTransforms.C:
1023 * insetbox.h: ws changes only
1025 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1027 * insetinclude.C (localDispatch): do not call
1028 InsetOld::localDispatch, just return UNDISPATCHED
1029 * insetgraphics.C (localDispatch): ditto
1030 * insetcommand.C (localDispatch): ditto
1032 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1034 * inset.h: get rid of RESULT typedef for dispatch_result
1036 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1037 * insetert.[Ch] (localDispatch): ditto
1038 * insettabular.[Ch] (localDispatch): ditto
1043 * insettext.[Ch] (localDispatch): ditto
1046 (moveRightIntern): ditto
1047 (moveLeftIntern): ditto
1050 * updatableinset.[Ch] (localDispatch): ditto
1052 2003-10-12 Angus Leeming <leeming@lyx.org>
1054 * renderbase.h (view, view_): removed.
1055 * renderbase.C: removed.
1056 * Makefile.am: remove render_base.C. The shortest lived file in
1059 * renderbutton.C (draw):
1060 * render_graphic.C (draw): don't cache the BufferView.
1062 * insetabase.h (cache, view): removed.
1064 * inset.h (generatePreview) removed.
1066 * insetcallapsable.[Ch] (cache, view, view_): removed.
1068 * insetcollapsable.C (draw): don't cache the BufferView.
1070 * insetcommand.[Ch] (view): removed.
1072 * insetexternal.[Ch] (cache, view, view_):
1073 * insetgraphics.[Ch] (cache, view, view_):
1074 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1076 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1077 when you have direct access to it. In fact, don't use the cache at all.
1079 2003-10-10 Angus Leeming <leeming@lyx.org>
1081 * insetinclude.C (metrics): use preview_->metrics.
1082 (draw): use preview_->draw.
1084 * render_preview.[Ch] (pimage): removed.
1086 2003-10-10 Angus Leeming <leeming@lyx.org>
1088 * renderers.[Ch]: removed.
1091 * render_button.[Ch]:
1092 * render_graphic.[Ch]:
1093 * render_preview.[Ch]: new files. The first three are split out of
1094 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1095 contains a re-worked InsetInclude::PreviewImpl also.
1097 * Makefile.am: reflect the changed files.
1100 * insetexternal.[Ch]:
1101 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1103 * insetinclude.[Ch]: changes reflecting the change from
1104 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1110 * inseturl.C: add #include "support/std_ostream.h"
1112 2003-10-09 Angus Leeming <leeming@lyx.org>
1114 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1115 to PreviewedInset::previewReady.
1117 2003-10-09 Angus Leeming <leeming@lyx.org>
1119 * insetexternal.[Ch] (statusChanged):
1120 * insetgraphics.[Ch] (statusChanged): make a const member function.
1122 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1125 2003-10-09 Angus Leeming <leeming@lyx.org>
1127 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1128 to PreviewedInset's previewReady and removePreview member functions.
1130 2003-10-08 André Pönitz <poenitz@gmx.net>
1132 * insetcollapsable.C:
1133 * insettext.[Ch]: saner 'init' structure
1135 * updatableinset.[Ch]: remove unneeded code
1137 2003-10-08 Angus Leeming <leeming@lyx.org>
1139 Fix doxygen warnings.
1141 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1142 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1144 2003-10-07 Angus Leeming <leeming@lyx.org>
1146 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1147 be applied to InsetExternal.
1149 * Makefile.am: add these new files.
1151 * ExternalTemplate.[Ch]: add a list of available transforms to
1152 class Template and a list of factory functions for transformer classes
1153 that can act on this data to class Format.
1155 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1157 * ExternalSupport.C: Add code to replace transform placeholders
1158 with appropriate output.
1160 2003-10-07 Angus Leeming <leeming@lyx.org>
1162 * ExternalSupport.[Ch]: new files, moving the private member functions
1163 and namespace anon functions out of insetexternal.C to here, so making
1164 it easier to understand what is going on in insetexternal itself.
1166 * Makefile.am: add new files.
1168 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1169 allowing the class to be forward declared. (Also consistent with
1170 all other Params classes.)
1171 (write): moved out of the class. Move this function and those in
1172 namespace anon to ExternalSupport.[Ch].
1174 2003-10-07 Angus Leeming <leeming@lyx.org>
1176 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1177 non-const member function.
1179 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1184 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1186 2003-10-02 André Pönitz <poenitz@gmx.net>
1188 * insettext.C (read): make sure there is at least one par
1189 in the text after reading.
1191 2003-10-01 José Matos <jamatos@lyx.org>
1193 * insetbranch.C (linuxdoc, docbook): minor fix.
1195 2003-10-01 Angus Leeming <leeming@lyx.org>
1197 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1199 * insetexternal.[Ch]: changes due to the introduction of
1200 namespace lyx::external.
1202 2003-09-30 Angus Leeming <leeming@lyx.org>
1204 * insetexternal.[Ch] (Params::read, write): new member functions.
1206 2003-09-25 Angus Leeming <leeming@lyx.org>
1208 * insetexternal.[Ch] (TempName): new (private) nested struct with
1209 fake copy semantics. Enables us to use the generated copy c-tor
1210 in the Params struct.
1211 (Params::templatename, Params::tempname): use accessor functions.
1213 2003-09-25 Angus Leeming <leeming@lyx.org>
1215 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1216 function, returning a const pointer.
1218 2003-09-23 Angus Leeming <leeming@lyx.org>
1220 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1221 store them in a vector, preambleNames.
1223 * insetexternal.C (validate): loop over all preambleNames and call
1224 LaTeXFeatures::addExternalPreamble with each.
1226 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1228 * insetbranch.C: bug fix in branches
1230 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1232 * insetnote.C: small clean-up.
1234 2003-09-19 Angus Leeming <leeming@lyx.org>
1236 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1238 * insetcommand.C (string2params): clear params using the default c-tor.
1240 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1241 InsetInclude::Params. No more data in this struct than in
1242 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1243 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1244 (clone): remove #warning as it's now redundant.
1245 (set): add a 'Buffer const &' arg. Make private.
1246 (loadIfNeeded) move out of the class definition and into namespace anon.
1247 (getMasterFilename, getFileName): ditto.
1249 2003-09-18 Angus Leeming <leeming@lyx.org>
1251 * insetcommand.C (setParams): use the params' copy constructor.
1253 2003-09-18 Angus Leeming <leeming@lyx.org>
1255 * insetinsetbase.h (getLabelList):
1256 * insetinsetcollapsable.[Ch] (getLabelList):
1257 * insetinsetinclude.[Ch] (getLabelList):
1258 * insetinsetlabel.[Ch] (getLabelList):
1259 * insetinsettabular.[Ch] (getLabelList):
1260 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1261 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1263 2003-09-18 Angus Leeming <leeming@lyx.org>
1265 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1266 redundant baggage from yesteryear.
1267 Remove Params::flag as it is redundant; the info is present in
1270 2003-09-18 Angus Leeming <leeming@lyx.org>
1272 * insetinclude.C (latexString): add a Buffer const & arg.
1274 2003-09-18 Angus Leeming <leeming@lyx.org>
1279 * insettext.h: rename EnumLColor as LColor_color.
1281 2003-09-18 Angus Leeming <leeming@lyx.org>
1283 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1284 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1286 2003-09-16 Angus Leeming <leeming@lyx.org>
1288 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1289 set before trying to generate a preview, else we trigger an assert.
1291 2003-09-16 Angus Leeming <leeming@lyx.org>
1293 * insetinclude.C (PreviewImpl::parent): return a const reference.
1295 2003-09-16 Angus Leeming <leeming@lyx.org>
1297 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1299 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1301 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1302 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1304 * insetminipage.C (metrics):
1305 * insetnote.C (metrics):
1306 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1307 access collapsed_ directly.
1309 2003-09-16 Angus Leeming <leeming@lyx.org>
1311 * insetbibitem.C: add #include "lyxfont.h".
1313 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1316 * insetbibtex.C: use namespace alias for lyx::support::os
1318 2003-09-16 Angus Leeming <leeming@lyx.org>
1320 * insetcollapsable.h: remove unused framecolor variable.
1321 Remove #include "LColor.h".
1323 * insetcollapsable.C: remove unused framecolor variable.
1326 * insetcollapsable.C:
1334 Add #include "LColor.h".
1336 2003-09-16 Angus Leeming <leeming@lyx.org>
1338 * insettext.[Ch] (frameColor): new accessor function.
1339 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1345 add #include "LColor.h".
1347 * insetcollapsable.h: add #include "LColor.h"
1348 (for its framecolor member variable).
1350 2003-09-16 Angus Leeming <leeming@lyx.org>
1352 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1354 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1355 rename frame_color as frame_color_. Make private.
1357 * insettext.C: associated changes.
1359 2003-09-16 Angus Leeming <leeming@lyx.org>
1361 * inset.h: store background_color_ as an int, not as an LColor::color to
1362 get LColor.h out of the header file.
1365 * insetlatexaccent.C:
1368 * insetspecialchar.C:
1370 add #include "LColor.h".
1372 2003-09-16 Angus Leeming <leeming@lyx.org>
1374 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1377 2003-09-15 Angus Leeming <leeming@lyx.org>
1379 * inset.[Ch] (setBackgroundColor, backgroundColor):
1380 * insettext.[Ch] (setFrameColor):
1381 pass EnumLColor args, rather than LColor::color ones.
1383 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1393 * insetwrap.C: remove usage of STRCONV
1395 2003-09-15 Angus Leeming <leeming@lyx.org>
1397 * renderers.C (draw):
1398 * insetlatexaccent.C (draw): explicitly define the color passed to
1401 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1403 * insettext.C: remove block causing problems in lockInsetInInset
1404 (mentioned erroneously under Bug #1366)
1406 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1408 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1411 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1413 * several files: change Assert to BOOST_ASSERT
1415 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1417 * insettext.[Ch]: remove drawText[XY]Offset
1419 2003-09-08 Angus Leeming <leeming@lyx.org>
1421 * insetcollapsable.C:
1426 * insetspecialchar.C:
1429 * insettoc.C: remove redundant using directives.
1431 2003-09-07 Angus Leeming <leeming@lyx.org>
1434 * insetspecialchar.h: remove #include "support/std_string.h".
1436 2003-09-06 Angus Leeming <leeming@lyx.org>
1438 * renderers.C: add #include "insets/inset.h"
1440 2003-09-05 Angus Leeming <leeming@lyx.org>
1442 * *.C: strip out redundant #includes. (193 in total.)
1444 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1446 * insets/insetbibtex.[Ch]:
1447 * insets/insetcommand.h:
1448 * insets/insetfloatlist.[Ch]:
1449 * insets/insetinclude.[Ch]:
1450 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1451 of insets like bibtex, include, toc and floatlist to the visible
1452 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1453 up the dialogs. Cursor has to be in front of the inset (i.e.
1454 start of row) for this to function.
1456 2003-09-04 Angus Leeming <leeming@lyx.org>
1458 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1459 structure outside of the Format struct. Format::preambleName refers to
1460 an item in the map of all preamble snippets.
1461 Make use of the new Debug::EXTERNAL flag.
1463 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1464 (validate): Small change due to the changed storage of preamble snippets.
1466 2003-09-04 Angus Leeming <leeming@lyx.org>
1468 * insetgraphics.C: #include "support/os.h"
1470 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1471 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1472 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1474 * insetcollapsable.h:
1476 * insetnote.C: move #include "funcrequest.h" out of the header file.
1478 2003-09-03 Angus Leeming <leeming@lyx.org>
1480 * insetexternal.C (updateExternal):
1481 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1484 2003-09-03 Angus Leeming <leeming@lyx.org>
1486 * insetexternal.C: don't bring namespace lyx::support into the global
1489 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1491 * insetbranch.C: Add Branch: to label
1493 2003-09-02 John Levon <levon@movementarian.org>
1496 * insettext.C: remove cursor.i[xy]()
1498 2003-08-28 Angus Leeming <leeming@lyx.org>
1500 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1501 "sh ", enabling the conversion to be carried out even if the script
1504 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1506 * most files: change to use const Buffer refs
1508 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1510 * insetfootlike.C: whitespace.
1512 2003-08-26 John Levon <levon@movementarian.org>
1516 * insetindex.h: remove remaining mentions of needFullRow()
1518 2003-08-26 André Pönitz <poenitz@gmx.net>
1524 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1526 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1528 * insetbranch.C: Small fix to prevent a crash on loading.
1530 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1535 * insetcollapsable.h:
1537 * insetfloatlist.[Ch]:
1538 * insetfootlike.[Ch]:
1539 * insetinclude.[Ch]:
1545 * insettheorem.[Ch]:
1546 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1547 altogether, putting the logic in metrics/draw in the insets.=20
1548 Draws short single row insets with more or less realistic metrics.
1550 2003-08-19 André Pönitz <poenitz@gmx.net>
1552 * insettext.C: use new RowPainter interface
1554 2003-08-18 John Levon <levon@movementarian.org>
1556 * insetref.C: require amsmath for eqref
1558 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1562 * insetbranch.[Ch]: implements the 'branch inset'
1563 idea. This allows the output of various versions of a document
1564 from a single source version, selectively outputing or suppressing
1565 output of parts of the text.
1566 This implementation contains a 'branch list editor' in a separate
1567 tab of the document settings dialog. Branches are user definable
1568 and have a "display colour" to distinguish them on-screen.
1570 ColorHandler was somewhat cleaned up.
1571 (1) make possible a dynamically growing LColor list by allowing
1572 the graphic context cache to grow along (vector);
1573 (2) eliminate an IMHO unnecessary step in colour allocation.
1575 2003-08-15 André Pönitz <poenitz@gmx.net>
1577 * insettext.[Ch]: adjust after rowlist split
1579 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1581 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1582 rename valign-center to valign-middle;
1583 rename VALIGN_CENTER to VALIGN_MIDDLE
1585 2003-08-11 André Pönitz <poenitz@gmx.net>
1587 * inset.h: remove resizeLyXText
1590 * insetcollapsable.[Ch]:
1592 * insettabular.[Ch]: adjust
1594 * insettext.[Ch]: remove saveLyXTextState,
1595 restoreLyXTextStat, sstate, reinitLyXText
1597 2003-08-07 André Pönitz <poenitz@gmx.net>
1599 * inset.[Ch]: move non-crucial functions out-of-line
1601 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1602 remove duplicated code.
1604 2003-08-05 André Pönitz <poenitz@gmx.net>
1607 * insetcollapsable.[Ch]:
1617 * insettabular.[Ch]:
1620 * updatableinset.[Ch]: rip out "deep update"
1622 * insettext.C (localDispatch): merge cases with default branch
1624 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1626 * insettabular.[Ch] (updateLocal): simplify logic
1628 2003-08-04 André Pönitz <poenitz@gmx.net>
1630 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1631 is 'FULL' all the time.
1633 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1635 * insetert.C (get_new_label): only add ... to the (closed) label
1636 when the string has been shortened
1638 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1640 * Always use std::endl with lyxerr
1642 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1644 * insetnote.C: update \author list
1646 2003-07-31 André Pönitz <poenitz@gmx.net>
1648 * insetcollapsable.h:
1649 * insettabular.[Ch]:
1650 * insettext.[Ch]: remove toggleSelection
1652 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1654 (with help from Juergen Spitzmueller)
1655 * insetnote.C: add add i18n support. Use Prefs-definable
1656 colours for Comment and Greyedout.
1658 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1660 * insetcollapsable.[Ch]:
1662 * insetert.C: factor out the detection of clicking on the inset
1663 button as 'hitButton'. John Levon contributed.
1665 2003-07-30 André Pönitz <poenitz@gmx.net>
1667 * insetcollapsable.C:
1669 * insettabular.C: parantheses, localize vars etc.
1671 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1673 * insetnote.C: Implement a newenvironment in preamble for
1674 greyedout. Patch provided by Jürgen Spitzmüller.
1676 2003-07-29 Angus Leeming <leeming@lyx.org>
1678 * insetcommand.C (localDispatch): default to
1679 InsetOld::localDispatch.
1681 * insetbibitem.C (localDispatch):
1682 * insetbibtex.C (localDispatch): remove call to
1683 ChangeCitationsIfUnique.
1685 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1687 * insetexternal.C (read): use pushpophelper.
1689 2003-07-28 José Matos <jamatos@lyx.org>
1691 * insetext.C (read): \end_document replaces \the_end.
1693 2003-07-28 José Matos <jamatos@fep.up.pt>
1695 * insetert.C (write): \layout -> \begin_layout.
1696 Add missing \end_layout.
1698 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1700 * insetquotes.C: document a bit the format
1702 * insettabular.C (write): remove extra space
1704 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1705 * insetnote.C: Umpf. Hope I *now* get it right :-(
1707 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1708 *insetnote.C: did the right fix to greyedout: \color
1709 instead of \textcolor.
1711 2003-07-28 Angus Leeming <leeming@lyx.org>
1713 * insetbibtex.h: remove extraneous forward declaration.
1716 * insetbibtex.h: Also remove long-dead Holder member class
1719 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1721 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1724 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1726 * insetwrap.C (addToToc): adjust for lyx::toc
1728 * insetfloatlist.C (ascii): adjust for lyx::toc
1730 * insetfloat.C (addToToc): adjust for lyx::toc
1732 2003-07-27 José Matos <jamatos@fep.up.pt>
1734 * insetnote.h (linuxdoc,docbook): update support.
1736 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1738 * insetfloat.C (wide): add a space to label, for consistency
1740 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1742 * insettext.C (nextChange): adjust for lyx::find
1743 (searchForward): ditto
1744 (searchBackward): ditto
1746 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1748 * insetgraphicsParams.C:
1749 * insetexternal.C: declare extern displayTranslator
1752 * renderers.C: add #include "support/LAssert.h"
1754 2003-07-27 José Matos <jamatos@fep.up.pt>
1756 * insetfloat.[Ch] (linuxdoc):
1757 * insetgraphics.C (linuxdoc):
1758 * insettabular.C (linuxdoc):
1759 * insettext.[Ch] (linuxdoc): add support for tables and figures
1762 2003-07-27 José Matos <jamatos@fep.up.pt>
1764 * insetinclude (latex): comply with makeLaTeXFile argument change.
1766 2003-07-26 Asger Alstrup <alstrup@local>
1768 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1769 the undo crashes. We'll see what problems other places this will
1772 2003-07-26 Angus Leeming <leeming@lyx.org>
1774 * insetgraphics.C: remove unused declaration of system_tempdir.
1776 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1778 * rename Inset to InsetOld
1780 * all inset files (clone): return a auto_ptr<InsetBase>
1782 2003-07-23 Angus Leeming <leeming@lyx.org>
1784 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1786 2003-07-23 Angus Leeming <leeming@lyx.org>
1788 * mailinset.[Ch] (inset2string):
1789 * insetcommand.[Ch] (inset2string):
1790 * insetert.[Ch] (inset2string):
1791 * insetexternal.[Ch] (inset2string):
1792 * insetfloat.[Ch] (inset2string):
1793 * insetgraphics.[Ch] (inset2string):
1794 * insetinclude.[Ch] (inset2string):
1795 * insetminipage.[Ch] (inset2string):
1796 * insetnote.[Ch] (inset2string):
1797 * insettabular.[Ch] (inset2string):
1798 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1800 * insetexternal.[Ch]:
1801 * insetgraphics.[Ch]: get rid of the view() function. Associated
1802 changes to the mailers' string2params and params2string functions.
1804 2003-07-23 Angus Leeming <leeming@lyx.org>
1806 * insetexternal.[Ch]: store the external file name in a FileName
1807 member variable rather than a string + associated changes.
1809 2003-07-21 Angus Leeming <leeming@lyx.org>
1811 * insetgraphicsParams.[Ch]: store the graphics file name in
1812 a FileName member variable rather than a string.
1814 * insetgraphics.[Ch]:
1815 * insetgraphicsParams.[Ch]: Associated changes.
1817 2003-07-21 Angus Leeming <leeming@lyx.org>
1819 * insetgraphics.[Ch] (string2params, params2string): passed a
1820 buffer_path argument.
1823 2003-07-21 Angus Leeming <leeming@lyx.org>
1826 * insetgraphicsParams.[Ch]:
1828 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1830 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1832 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1834 2003-07-18 André Pönitz <poenitz@gmx.net>
1837 * insetminipage.[Ch]:
1838 * insettabular.[Ch]:
1841 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1843 2003-07-18 André Pönitz <poenitz@gmx.net>
1847 * insetcollapsable.C:
1851 * insetgraphics.[Ch]:
1852 * insetlatexaccent.[Ch]:
1857 * insetspecialchar.C:
1858 * insettabular.[Ch]:
1860 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1862 2003-07-17 André Pönitz <poenitz@gmx.net>
1864 * insetcollapsable.C:
1866 * insettext.C: don't call Inset::update() anymore
1869 * insettabular.[Ch]: remove unneeded in_update_ members
1871 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1873 2003-07-16 André Pönitz <poenitz@gmx.net>
1875 * insettext.C (selectAll): remove
1877 2003-07-16 John Levon <levon@movementarian.org>
1880 * insetnote.C: implement showInsetDialog()
1882 2003-07-15 André Pönitz <poenitz@gmx.net>
1885 * insettext.C: refresh_status tristate -> need_update bool
1887 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1889 * insettext.C: adjust call to LyXText::init
1891 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1893 * insettext.C: use bufferview_funcs->replaceSelection()
1894 to delete selections in some cases (bugs 441, 673, 702, 954).
1896 2003-07-14 André Pönitz <poenitz@gmx.net>
1898 * insettext.C (draw): use slimmed down rowpainter interface
1900 2003-07-14 André Pönitz <poenitz@gmx.net>
1902 * insetcollapsable.C:
1904 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1905 remove unused BufferView * argument
1907 2003-07-14 André Pönitz <poenitz@gmx.net>
1909 * insettext.[Ch]: used cached metrics a bit more
1911 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1913 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1915 2003-07-10 André Pönitz <poenitz@gmx.net>
1918 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1920 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1922 * introduce namespace lyx::graphics
1924 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1926 * introduce namespace lyx::support
1928 2003-06-30 André Pönitz <poenitz@gmx.net>
1930 * insetcite.C (localDispatch): fix case of missing return value
1932 * insetcite.C (ascii): remove unneeded temporary
1934 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1936 * insetspace.h: fix \file
1938 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1939 * insetinclude.C (fillWithBibKeys): ditto
1941 * insetbibitem.C: fix type const order
1943 * inset.C (getLyXText): add varname for arg
1945 * ExternalTemplate.h: fix type const order
1947 2003-06-27 André Pönitz <poenitz@gmx.net>
1949 * insettext.C: take care of removed LyXCursor::row_ member
1951 * insettext.[Ch]: use new TextCursor struct for sstate
1953 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1955 * inseterror.[Ch]: removed
1957 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1959 * insetinclude.C (docbook): use parseError instead of sgmlError
1961 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1963 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1964 of BufferList::loadLyXFile
1966 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1968 * insettext.C (update): simplify
1969 (updateLocal): remove commented code
1970 (insetUnlock): simplify
1971 (lockInset): simplify
1972 (updateInsetInInset): simplify
1973 (localDispatch): simplify
1975 (resizeLyXText): simplify
1976 (collapseParagraphs): simplify
1978 * insetert.C (get_new_label): simplify
1980 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1982 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1983 pasteSelection with index
1985 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1987 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1989 2003-06-16 André Pönitz <poenitz@gmx.net>
1991 * insetbase.h: new virtual base function clone()
1993 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1994 Inset * clone() -> InsetBase * clone()
1996 2003-06-13 André Pönitz <poenitz@gmx.net>
1998 * insettabular.[Ch]: make tabular a proper member
2000 2003-06-12 André Pönitz <poenitz@gmx.net>
2002 * insettabular.[Ch]: some renaming plus whitespace
2004 2003-06-11 Angus Leeming <leeming@lyx.org>
2006 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2009 * insetbutton.[Ch]: removed.
2010 * graphicinset.[Ch]: renamed as renderers.[Ch].
2012 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2013 Create a new class ButtonRenderer using the InsetButton::metrics() and
2015 Derive both from a common RenderedInset base class.
2017 * insetcommand.[Ch]:
2018 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2019 Give it a ButtonRenderer member variable. Use it.
2020 Give the classes working copy c-tors.
2021 No longer derive from boost::noncopyable.
2023 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2024 display its contents as a button or as a graphic.
2026 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2029 2003-06-11 Angus Leeming <leeming@lyx.org>
2031 * insetcite.C (localDispatch): reformat.
2033 * insetref.C (localDispatch): enable dialog to be lauched.
2035 2003-06-11 John Levon <levon@movementarian.org>
2037 * insettabular.C: correctly mark all cells as erased
2039 2003-06-11 Angus Leeming <leeming@lyx.org>
2041 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2042 ExternalTemplate but its name, templatename. This means that a file
2043 containing a reference to an External Template not installed on the
2044 current machine will be saved retaining this info rather than inserting
2045 the first "valid" template from the list of templates.
2047 As a by product, the visual statement that the Template is missing is
2050 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2052 * insettext.C (appendParagraphs): remove some commented code.
2054 2003-06-10 Angus Leeming <leeming@lyx.org>
2056 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2059 * insetexternal.[Ch]: move tempname_ into the Params struct.
2060 (Params d-tor): new function, to clean-up this temp file.
2061 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2063 (editExternal, doSubstitution): move out of class.
2065 2003-06-10 Angus Leeming <leeming@lyx.org>
2067 * graphicinset.[Ch] (params): removed.
2068 * graphicinset.h (operator=): declared private but not defined.
2069 (statusMessage): made private.
2071 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2073 2003-06-07 John Levon <levon@movementarian.org>
2075 * insetert.C (latex): make a newline mean just that not
2078 2003-06-07 José Matos <jamatos@fep.up.pt>
2080 * insethfill.[Ch] (linuxdoc, docbook): implement output
2081 * insetspace.C (linuxdoc, docbook): remove coments as the code
2084 2003-06-06 José Matos <jamatos@fep.up.pt>
2086 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2088 2003-06-06 André Pönitz <poenitz@gmx.net>
2090 * insetwrap.[Ch]: code compactification
2092 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2094 * mailinset.C (updateDialog): use Dialogs::visible
2096 2003-06-04 Angus Leeming <leeming@lyx.org>
2098 * graphicinset.C (draw): add a comment for the #if 0 block.
2100 * insetexternal.h: remove Params::parameters variable.
2101 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2102 and read it back making full use of LyXLex.
2104 2003-06-04 André Pönitz <poenitz@gmx.net>
2106 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2108 2003-06-04 John Levon <levon@movementarian.org>
2110 * insettabular.C: back out tall table speed up. It was broken
2112 2003-06-03 Angus Leeming <leeming@lyx.org>
2114 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2115 Remove ViewCommand and UpdateCommand.
2117 * graphicinset.C (update): bug fix. Set the params before calling the
2119 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2120 BufferView cache to enable the InsetExternal::editCommand to be invoked
2121 from the frontends. Would not be needed if this were dispatched properly.
2122 (old_ascent_): variable removed.
2124 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2125 do any necessary conversions of external material. Also use the
2126 new GraphicsInset to display the inset within LyX.
2128 2003-06-03 Angus Leeming <leeming@lyx.org>
2130 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2131 and move it somewhere where InsetExternal can use it too.
2133 * Makefile.am: add the new files.
2135 * insetgraphics.[Ch]: make use of the new GraphicInset.
2137 2003-06-03 John Levon <levon@movementarian.org>
2140 * insetbibitem.[Ch]:
2143 * insetcommand.[Ch]:
2147 * insetexternal.[Ch]:
2151 * insetgraphics.[Ch]:
2153 * insetinclude.[Ch]:
2156 * insetlatexaccent.[Ch]:
2157 * insetmarginal.[Ch]:
2158 * insetminipage.[Ch]:
2165 * insetspecialchar.[Ch]:
2166 * insettabular.[Ch]:
2168 * insetthereom.[Ch]:
2171 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2173 * insetgraphics.[Ch]:
2174 * insetgraphicsParams.[Ch]: always store an absolute
2177 2003-06-02 André Pönitz <poenitz@gmx.net>
2181 * insetlatexaccent.C: remove duplicated call to metrics()
2183 2003-06-02 John Levon <levon@movementarian.org>
2185 * insettabular.C: fix resize of column width
2187 2003-06-02 John Levon <levon@movementarian.org>
2192 * insetparent.C: remove insetparent
2194 2003-06-02 André Pönitz <poenitz@gmx.net>
2201 * insetcollapsable.[Ch]:
2205 * insetgraphics.[Ch]:
2206 * insetinclude.[Ch]:
2207 * insetlatexaccent.[Ch]:
2208 * insetminipage.[Ch]:
2209 * insetnewline.[Ch]:
2212 * insetspecialchar.[Ch]:
2213 * insettabular.[Ch]:
2214 * insettext.[Ch]: unify first drawing phase
2217 * insetbase.h: move validate() to the base
2219 2003-05-31 Angus Leeming <leeming@lyx.org>
2221 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2223 2003-05-30 André Pönitz <poenitz@gmx.net>
2228 * insetcaption.[Ch]:
2229 * insetcollapsable.[Ch]:
2232 * insetgraphics.[Ch]:
2233 * insetinclude.[Ch]:
2234 * insetlatexaccent.[Ch]:
2235 * insetnewline.[Ch]:
2238 * insetspecialchar.[Ch]:
2239 * insettabular.[Ch]:
2241 * updatableinset.[Ch]: unify second drawing phase
2243 2003-05-30 John Levon <levon@movementarian.org>
2245 * insetgraphics.C: fix a bformat
2247 2003-05-29 John Levon <levon@movementarian.org>
2249 * insettabular.C: remove unused bufferOwner()
2251 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2253 * insettext.C (lockInsetInInset): adjust
2254 (getLabelList): use const_iterator, adjust
2255 (getInsetFromID): use const_iterator, adjust
2256 (addPreview): use const_iterator, adjust
2258 * insetwrap.C (clone): remove const_cast
2260 * insetnote.C (clone): remove const_cast
2262 * insetminipage.C (clone): remove const_cast
2264 * insetmarginal.C (clone): remove const_cast
2266 * insetfoot.C (clone): remove const_cast
2268 * insetfloat.C (clone): remove const_cast
2270 * insetert.C (clone): remove const_cast
2272 * delete commented same_id functions from a lot of files.
2274 2003-05-28 John Levon <levon@movementarian.org>
2280 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2282 * insetminipage.C: fix metrics (bug 1144)
2284 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2286 * insettext.C (saveLyXTextState): adjust
2287 (restoreLyXTextState): adjust
2290 (unlockInsetInInset): adjust
2291 (localDispatch): adjust
2292 (getLyXText): adjust
2294 * insettabular.C (insertAsciiString): adjust
2296 2003-05-27 André Pönitz <poenitz@gmx.net>
2299 * insetcollapsable.C:
2302 * insetlatexaccent.C:
2307 * insetspecialchar.C:
2309 * insettext.C: dim.w -> dim.wid
2311 2003-05-26 John Levon <levon@movementarian.org>
2313 * insettabular.C: avoid drawing all of a long table
2314 if it's not needed. A big speedup
2316 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2318 * remove same_id from function signatures, adjust
2320 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2322 * insettext.C (InsetText): adjust
2324 (setParagraphData): separate same_id cases, adjust
2325 (appendParagraphs): adjust
2326 (appendParagraphs): adjust
2328 2003-05-23 André Pönitz <poenitz@gmx.net>
2330 * insetbutton.h: whitespace
2332 * insettabular.C: more compact code
2334 * updatableinset.C: remove const_cast
2337 2003-05-23 Angus Leeming <leeming@lyx.org>
2339 * insetexternal.C (write): check how many lines are output.
2340 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2341 if the template has defined it.
2343 2003-05-23 Angus Leeming <leeming@lyx.org>
2345 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2347 2003-05-23 Angus Leeming <leeming@lyx.org>
2349 * insetfoot.C (latex):
2350 * inseturl.C (latex): rename fragile as moving_arg.
2352 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2354 * inseterror.C (localDispatch): comment out unused var.
2356 2003-05-22 Angus Leeming <leeming@lyx.org>
2358 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2359 passed through the LatexRunParams arg.
2361 2003-05-22 Angus Leeming <leeming@lyx.org>
2363 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2364 through the LatexRunParams arg.
2366 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2367 arg rather than through a global var.
2369 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2371 * insetspecialchar.C (dimension): use a string.
2373 2003-05-22 Angus Leeming <leeming@lyx.org>
2375 * insetbibtex.C (latex):
2376 * insetgraphics.C (latex):
2377 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2378 runparams rather than from the buffer itself.
2380 2003-05-22 Angus Leeming <leeming@lyx.org>
2382 * inset*.[Ch] (latex):
2383 passed a LatexRunParams parameter.
2385 * insetgraphics.C (latex): actually use it ;-)
2387 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2389 * insetfloat.C (addToToc): trivial compile fix
2391 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2393 * insettext.[Ch] (paragraph): delete unused function
2395 * insetfloat.C (addToToc): parlist simplfication
2397 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2399 * insetspace.[Ch]: added (new space insets)
2401 * inset.h: handle new space insets
2403 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2405 * insetfloat.C (addToToc): adjust
2407 2003-05-21 André Pönitz <poenitz@gmx.net>
2409 * insettext.[Ch]: fix drawing bug introduced earlier
2411 2003-05-19 André Pönitz <poenitz@gmx.net>
2413 * insetspecialchar.C: fix bug introduced yesterday
2415 2003-05-19 André Pönitz <poenitz@gmx.net>
2419 * insetcollapsable.[Ch]:
2423 * insetgraphics.[Ch]:
2424 * insetgraphicsParams.[Ch]:
2425 * insetlatexaccent.[Ch]:
2426 * insetminipage.[Ch]:
2427 * insetnewline.[Ch]:
2429 * insetspecialchar.[Ch]:
2430 * insettabular.[Ch]:
2431 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2433 2003-05-19 André Pönitz <poenitz@gmx.net>
2436 * insettext.C: more insetenv
2438 2003-05-16 André Pönitz <poenitz@gmx.net>
2441 * insetminimpage.[Ch]:
2442 * insetcollapsable.[Ch]: fix #832
2444 2003-05-16 André Pönitz <poenitz@gmx.net>
2447 * insetbibitem.[Ch]:
2451 * insetcollapsable.[Ch]:
2452 * insetcommand.[Ch]:
2455 * insetexternal.[Ch]:
2456 * insetfloatlist.[Ch]:
2457 * insetgraphics.[Ch]:
2458 * insetinclude.[Ch]:
2461 * insetlatexaccent.[Ch]:
2464 * insettabular.[Ch]:
2468 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2470 2003-05-13 André Pönitz <poenitz@gmx.net>
2473 * insetcollapsable.C:
2477 * insetwrap.C: tostr from own header
2489 * insetwrap.C: STRCONV
2492 2003-05-12 André Pönitz <poenitz@gmx.net>
2504 * insetwwrap.C: boost::format -> bformat all over the place
2506 2003-05-05 André Pönitz <poenitz@gmx.net>
2508 * insettext.h: add missing #include <map>
2510 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2512 * insettext.C (InsetText): parlist cleanup
2515 (insetUnlock): ditto
2517 (lockInsetInInset): ditto
2521 (searchBackward): ditto
2522 (collapseParagraphs): ditto
2524 2003-05-06 John Levon <levon@movementarian.org>
2526 * insetcaption.C: don't cast wrap inset to InsetFloat
2529 * insetfloat.C: remove unneeded type() function
2531 2003-05-05 André Pönitz <poenitz@gmx.net>
2535 * insettabular.[Ch]:
2536 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2537 replace getFirstParagraph() by getParagraphs()
2539 2003-05-03 John Levon <levon@movementarian.org>
2541 * insetcollapsable.h:
2542 * insetcollapsable.C:
2548 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2549 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2550 getCursor(). Remove explicit cursor hides.
2552 2003-05-02 André Pönitz <poenitz@gmx.net>
2554 * insettext.C: remove unneeded &*
2556 2003-04-30 John Levon <levon@movementarian.org>
2558 * insettabular.C: fix edit message
2560 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2562 * insettext.C (setFont): do not convert iterator -> pointer
2564 * insettabular.C (localDispatch): do not convert iterator -> pointer
2566 (tabularFeatures): ditto
2568 2003-04-29 André Pönitz <poenitz@gmx.net>
2570 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2572 2003-04-28 André Pönitz <poenitz@gmx.net>
2574 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2577 2003-04-25 André Pönitz <poenitz@gmx.net>
2579 * insetenv.C: derive from InsetText instead of InsetCollapsable
2581 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2583 * insetexternal.C (string2params): dont do anything if the string
2585 * insetgraphics.C (string2params): ditto
2586 * insetcommand.C (string2params): ditto
2587 * insetert.C (string2params): ditto
2588 * insetfloat.C (string2params): ditto
2589 * insetinclude.C (string2params): ditto
2590 * insetminipage.C (string2params): ditto
2591 * insettabular.C (string2params): ditto
2592 * insetwrap.C (string2params): ditto
2594 2003-04-24 André Pönitz <poenitz@gmx.net>
2596 * insetref.C: support for eqref
2598 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2600 * insetert.C (read): use ParagraphList::iterator.
2602 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2604 * insetquotes.C (latex): comment some code and add warnings.
2606 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2608 * insetexternal.C (localDispatch): added a missing DISPATCHED
2610 2003-04-12 John Levon <levon@movementarian.org>
2612 * insetwrap.C (addToToc): fix a crash, conversion
2613 from while to for loop forgot to remove the explicit
2616 2003-04-10 John Levon <levon@movementarian.org>
2618 * insettabular.C (tabularFeature): make sure
2619 to update the dialog when we change something
2622 (getStatus): don't disable some lfuns (bug 939)
2624 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2626 * insettext.C (saveLyXTextState): adjust
2627 (localDispatch): adjust
2633 * insettabular.C (localDispatch): adjust
2635 (tabularFeatures): adjust
2637 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2639 * insettabular.C (searchForward,searchBackward): fix bug 782
2641 2003-04-07 John Levon <levon@movementarian.org>
2644 * insettext.C: clear status message on inset exit
2646 2003-04-03 John Levon <levon@movementarian.org>
2648 * insetcommand.C: return dispatched on DIALOG_UPDATE
2650 2003-04-02 John Levon <levon@movementarian.org>
2652 * insettabular.C: tab lfuns renamed
2654 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2656 * insettext.C (update): move towards ParagraphList
2657 (updateLocal): ditto
2659 (insetUnlock): ditto
2661 (lockInsetInInset): ditto
2662 (updateInsetInInset): ditto
2663 (localDispatch): ditto
2666 (resizeLyXText): ditto
2667 (searchBackward): ditto
2668 (collapseParagraphs): ditto
2671 * insetwrap.C (InsetWrap): adjust
2672 (addToToc): adjust and rewrite loop
2674 * insettext.[Ch] (paragraph): delete function
2676 * insettabular.C (moveNextCell): adjust
2677 (movePrevCell): adjust
2678 (insertAsciiString): adjust
2680 * insetfloat.C (InsetFloat): adjust
2683 * insetert.C (InsetERT): adjust
2684 (write): adjust, and rewrite loop
2685 (latex): adjust, and rewrite loop
2686 (linuxdoc): adjust, and rewrite loop
2687 (docbook): adjust, and rewrite loop
2688 (localDispatch): adjust
2689 (get_new_label): adjust
2691 2003-04-01 John Levon <levon@movementarian.org>
2693 From Alfredo Braunstein
2696 * insetbutton.C: add localDispatch()
2698 * insetcommand.C: return DISPATCHED when edit() called
2700 * insettext.C: fix bug 967
2702 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2704 * insettext.C: adjust
2706 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2708 * insettext.C (draw): adjust
2709 (crow): return a RowList::iterator not a Row*
2711 * insetminipage.C (localDispatch): adjust
2713 * insetert.C (localDispatch): adjust
2715 2003-03-31 John Levon <levon@movementarian.org>
2718 * insetgraphicsParams.C: use_gui moved to lyx_gui
2720 2003-03-31 John Levon <levon@movementarian.org>
2722 * insettext.C: Alert fix
2724 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2726 * insettext.C (ascent): adjust for RowList
2729 (getLyXText): adjust
2730 (toggleSelection): adjust
2732 * insetminipage.C (localDispatch): adjust for RowList
2734 * insetert.C (localDispatch): adjust for RowList
2735 (getMaxWidth): adjust for RowList
2737 2003-03-29 John Levon <levon@movementarian.org>
2739 * insetert.C: Alert cleanup
2741 2003-03-29 John Levon <levon@movementarian.org>
2743 * insettabular.C: Alert fix
2745 2003-03-28 John Levon <levon@movementarian.org>
2747 * insetfloat.C: reset label on INSET_MODIFY
2749 2003-03-28 John Levon <levon@movementarian.org>
2751 * insetgraphicsParams.C: read subcaptionText as a whole line
2754 2003-03-28 John Levon <levon@movementarian.org>
2756 * insettext.C: remove unused prototypes
2758 2003-03-25 Angus Leeming <leeming@lyx.org>
2760 * insetbibitem.C (localDispatch): repaint the view after modifying
2761 a bibitem inset in case the maximum InsetBibitem width has changed.
2763 2003-03-25 John Levon <levon@movementarian.org>
2766 * insettabular.C: LyXText renamings
2768 2003-03-24 John Levon <levon@movementarian.org>
2770 * insettext.C: remove some dead code. Fix bug 972 and
2771 related by posting a repaint in updateLocal(), and making
2772 the SEL functions set SELECTION.
2774 2003-03-22 John Levon <levon@movementarian.org>
2777 * inset.C: remove no-longer-needed topx_set
2779 * insetcollapsable.h:
2780 * insetcollapsable.C: remove dead code
2783 * insetert.C: rebreak the rows when a possible
2784 change in size is made, and reset the cursor
2787 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2789 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2790 topx_set. Fix drawing errors for clearInset(). Remove
2791 some unnecessary uses of topx, which should die.
2793 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2794 is no longer needed. Replace it with an ugly hack.
2796 2003-03-20 John Levon <levon@movementarian.org>
2799 * insetcollapsable.h:
2800 * insetcollapsable.C:
2808 * insettext.C: remove spurious font parameter
2809 from update(). Fix drawing of ERT insets inside
2810 insets (bug 966). Remove unused mark_dirty from
2811 tabular's updateLocal()
2813 2003-03-19 John Levon <levon@movementarian.org>
2822 * insetwrap.C: remove unused getter/setters
2824 2003-03-19 John Levon <levon@movementarian.org>
2826 * several files: bv->updateInset() doesn't take
2827 a bool mark_dirty any more
2829 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2831 * adjust for BufferView* arg removal from lyxtext.
2833 2003-03-17 John Levon <levon@movementarian.org>
2835 * most files: remove the "cleared" parameter
2836 to draw in favour of always clearing. Associated
2839 2003-03-16 John Levon <levon@movementarian.org>
2841 * insettext.C: remove unused s.refresh
2843 2003-03-13 Angus Leeming <leeming@lyx.org>
2845 * insettext.C (edit): replace Dialogs::updateParagraph with
2846 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2848 2003-03-13 André Pönitz <poenitz@gmx.net>
2850 * Makefile.am: insert insetenv
2852 * insethenv.[Ch]: new files, currently inactive
2854 2003-03-12 John Levon <levon@movementarian.org>
2864 * insettext.C: use new insetnewline
2866 2003-03-12 John Levon <levon@movementarian.org>
2868 * insettext.C: readToken became readParagraph
2870 2003-03-12 John Levon <levon@movementarian.org>
2872 * insettext.C: use parlist iterator for reading contents
2874 2003-03-12 John Levon <levon@movementarian.org>
2876 * insettext.C: name change to readToken()
2878 2003-03-11 André Pönitz <poenitz@gmx.net>
2880 * Makefile.am: insert insethfill
2882 * insethfill.[Ch]: new files
2884 2003-03-10 Angus Leeming <leeming@lyx.org>
2886 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2888 (hideDialog): calls the new static Dialogs::hide() method.
2890 * insetbibitem.C (edit):
2891 * insetbibtex.C (edit):
2892 * insetcite.C (edit):
2893 * insetcommand.C (localDispatch):
2894 * inseterror.C (d-tor):
2895 * insetert.C (showInsetDialog):
2896 * insetexternal.C (localDispatch, edit):
2897 * insetfloat.C (localDispatch, showInsetDialog):
2898 * insetfloatlist.C (edit):
2899 * insetgraphics.C (localDispatch, edit):
2900 * insetinclude.C (localDispatch, edit):
2901 * insetindex.C (edit):
2902 * insetlabel.C (edit):
2903 * insetminipage.C (localDispatch, showInsetDialog):
2904 * insetref.C (edit):
2905 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2906 resetPos, showInsetDialog, openLayoutDialog):
2907 * insettoc.C (edit):
2908 * inseturl.C (edit):
2909 * insetwrap.C (localDispatch, showInsetDialog):
2910 changes due to the changed MailInset interface.
2912 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2914 * insetfloat.h: Set default placement to an empty string.
2916 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2918 * insettext.C (latex): adjust call to latexParagraphs.
2920 2003-03-10 Angus Leeming <leeming@lyx.org>
2922 * mailinset.C: warn the user if the BufferView has not been cached.
2924 2003-03-10 Angus Leeming <leeming@lyx.org>
2926 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2928 * insetcommand.h (inset):
2929 * insetert.h (inset):
2930 * insetexternal.h (inset):
2931 * insetfloat.h (inset):
2932 * insetgraphics.h (inset):
2933 * insetinclude.h (inset):
2934 * insetminipage.h (inset):
2935 * insettabular.h (inset):
2936 * insetwrap.h (inset):
2937 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2939 2003-03-10 Angus Leeming <leeming@lyx.org>
2941 * insetcommand.C (string2params):
2942 * insetexternal.C (string2params):
2943 * insetfloat.C (string2params):
2944 * insetgraphics.C (string2params):
2945 * insetinclude.C (string2params):
2946 * insetminipage.C (string2params):
2947 * insettabular.C (string2params):
2948 * insetwrap.C (string2params): cure warning message about missing
2951 2003-03-09 Angus Leeming <leeming@lyx.org>
2953 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2954 it to communicate with the frontend dialogs.
2956 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2957 contents of this inset!
2959 2003-03-07 Angus Leeming <leeming@lyx.org>
2961 * inseterror.C (localDispatch): new method; calls edit() on
2964 2003-03-07 Angus Leeming <leeming@lyx.org>
2966 * insetbibitem.C (localDispatch):
2967 * insetbibtex.C (localDispatch):
2968 * insetlabel.C (localDispatch):
2969 rewrite as a switch.
2971 2003-03-07 Angus Leeming <leeming@lyx.org>
2973 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2974 it to communicate with the frontend dialogs.
2976 2003-03-07 Angus Leeming <leeming@lyx.org>
2978 * insetexternal.C: remove operator== and operator!= for
2979 InsetExternal::Params. They were used only by the old controller
2982 2003-03-07 Angus Leeming <leeming@lyx.org>
2984 * insetcommand.C (localDispatch):
2985 * insetexternal.C (localDispatch):
2986 * insetfloat.C (localDispatch):
2987 * insetinclude.C (localDispatch):
2988 * insetminipage.C (localDispatch):
2989 * insetwrap.C (localDispatch):
2990 add LFUN_INSET_DIALOG_UPDATE to the switch.
2992 2003-03-07 Angus Leeming <leeming@lyx.org>
2994 * insetcommand.C (string2params):
2995 * insetexternal.C (string2params):
2996 * insetfloat.C (string2params):
2997 * insetinclude.C (string2params):
2998 * insetwrap.C (string2params): use LyXLeX more.
3001 * insetexternal.[Ch]:
3003 * insetinclude.[Ch]:
3004 * insetwrap.[Ch]: change Mailer::name_ to be static.
3006 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3007 it to communicate with the frontend dialogs.
3009 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3012 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3014 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3016 * insettext.C (updateLocal): un-const function
3017 (updateLocal): adjust
3018 (collapseParagraphs): un-const function
3019 (collapseParagraphs): adjust
3021 2003-03-05 Angus Leeming <leeming@lyx.org>
3023 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3024 it to communicate with the frontend dialogs.
3026 2003-03-05 Angus Leeming <leeming@lyx.org>
3028 * insetcollapsable.C (draw): cache the BufferView.
3030 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3031 it to communicate with the frontend dialogs.
3033 2003-03-05 Angus Leeming <leeming@lyx.org>
3035 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3038 2003-03-05 Angus Leeming <leeming@lyx.org>
3040 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3042 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3043 it to communicate with the frontend dialogs.
3045 2003-03-05 Angus Leeming <leeming@lyx.org>
3047 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3048 it to communicate with the frontend dialogs.
3050 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3052 * insettext.C (collapseParagraphs): adjust
3053 (appendParagraphs): make it take a Buffer* instead of a
3054 BufferParams& as arg.
3055 (appendParagraphs): adjust
3057 2003-03-04 Angus Leeming <leeming@lyx.org>
3059 * insetbibitem.C (localDispatch):
3060 * insetbibtex.C (localDispatch):
3061 * insetcommand.C (localDispatch):
3062 * insetert.C (localDispatch):
3063 * insetlabel.C (localDispatch):
3064 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3066 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3068 * insettext.C (latex): adjust for ParagraphList::iterator
3070 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3072 * insetbutton.C (view): adjust for boost 1.30.0
3073 * insetcollapsable.C (view): ditto
3074 * insetgraphics.C (statusChanged): ditto
3076 * insettext.h: move paragraphs to be public.
3078 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3080 * insetnote.[Ch] (InsetNote): remove unused constructor
3082 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3084 * insetgraphics.C: added include "format.h"
3086 2003-02-27 Angus Leeming <leeming@lyx.org>
3088 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3091 2003-02-27 Angus Leeming <leeming@lyx.org>
3093 * insetbibitem.C (localDispatch):
3094 * insetbibtex.C (localDispatch):
3097 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3099 2003-02-26 Angus Leeming <leeming@lyx.org>
3101 * insetbibitem.[Ch] (localDispatch):
3102 * insetbibtex.[Ch] (localDispatch):
3103 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3105 * insetcommand.C (localDispatch):
3106 act only on receipt of LFUN_XYZ_APPLY.
3108 * insetert.C (localDispatch): reformat.
3109 add LFUN_XYZ_APPLY to the switch.
3111 2003-02-26 John Levon <levon@movementarian.org>
3113 * insettext.C: use RowPainter
3115 * inset.h: make helpers take const *
3117 2003-02-26 Angus Leeming <leeming@lyx.org>
3119 * insetcommand.[Ch] (localDispatch): new method.
3121 2003-02-26 Angus Leeming <leeming@lyx.org>
3123 * insetinclude.C (draw): cache the BufferView* using cache not
3124 PreviewImpl::setView
3126 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3128 * insetgraphics.C (draw)
3129 * insetinclude.C (draw): Eliminate also the other argument (owner
3130 inset inset) in the call to PreviewImage::image
3132 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3134 * insetgraphics.C (draw)
3135 * insetinclude.C (draw): Eliminate Buferview argument in call to
3138 2003-02-25 John Levon <levon@movementarian.org>
3140 * insetgraphicsParams.h:
3141 * insetgraphics.C: don't start a load process if
3142 the inset is set to NoDisplay (bug #920)
3144 2003-02-22 John Levon <levon@movementarian.org>
3147 * insetwrap.C: TocItem changed API (bug 913)
3149 2003-02-21 Angus Leeming <leeming@lyx.org>
3151 * insetcollapsable.[Ch] (cache, edit):
3152 * insetbutton.[Ch] (cache, edit): new methods to cache the
3153 BufferView in the draw method.
3155 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3156 simplify comunication between InsetCommand-derived classes and
3159 * insetbibitem.[Ch]:
3163 * insetfloatlist.[Ch]:
3167 * inseturl.[Ch]: small changes to reflect the new interface to the
3170 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3171 other, similar classes.
3173 * Makefile.am: add new files.
3175 2003-02-21 Angus Leeming <leeming@lyx.org>
3177 * updatableinset.h (setView, view): remove.
3178 * inset.h (view, cache): to be replaced by these.
3180 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3183 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3186 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3188 2003-02-21 Allan Rae <rae@lyx.org>
3190 * insetinclude.C (loadIfNeeded): ensure loading also works when
3191 child document is under version control.
3193 2003-02-17 André Pönitz <poenitz@gmx.net>
3195 * insetbib.[Ch]: Adjust access to bibkeys
3197 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3199 * insetquotes.C (dispString): remove use of acute accent for "'"
3202 2003-02-14 John Levon <levon@movementarian.org>
3204 * insettabular.C: changed method names in tabular.C
3206 2003-02-14 John Levon <levon@movementarian.org>
3210 * insetcollapsable.h:
3211 * insetcollapsable.C:
3215 * insettext.C: remove unused getParFromID()
3217 2003-02-13 John Levon <levon@movementarian.org>
3220 * insettext.C: remove unused beginningofMainBody()
3222 2003-02-08 John Levon <levon@movementarian.org>
3226 * insetcollapsable.h:
3227 * insetcollapsable.C:
3232 add nextChange(). Make allowSpellcheck() const. Add markErased().
3234 * insetert.C: ignore deleted text
3236 * insettabular.C: make sure to keep change tracking working
3239 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3244 * insettext.C: Use error messages with identical spelling and punctuation
3246 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3248 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3250 2002-12-17 Juergen Vigna <jug@lyx.org>
3252 * insettext.C (localDispatch): hopefully fixed cursor up down
3253 movement on leaving other insets.
3255 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3257 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3260 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3262 * insetgraphics.C (prepareFile): do not remove the extension of
3263 the file name if it is not the default extension for the given
3264 format (that is, in latex output, remove extension from foo.eps,
3265 but not from foo.epsi)
3267 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3269 * insettext.C (lfunMouseRelease): hackish solution to the "double
3272 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3274 * insetfloat.C (addToToc): use the floats name not its type
3275 * insetwrap.C (addToToc): ditto
3277 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3279 * insetnote.C (init): make label font smaller
3281 2002-12-04 John Levon <levon@movementarian.org>
3283 * insetinclude.C: ressurect setting of command name
3285 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3287 * insetquotes.C (dispString): disambiguate insert call
3289 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3291 * several files: ws changes
3293 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3295 * insetquotes.C (dispString): use string::insert for prepending a
3298 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3300 * insetparent.C (getScreenLabel): use boost::format
3302 * insetgraphics.C (prepareFile): use boost::format
3305 * insetfloatlist.C (latex): use boost::format
3307 * insetcaption.C (draw): use boost::format
3309 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3311 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3314 2002-11-20 Juergen Vigna <jug@sad.it>
3316 * insettabular.C (resetPos): temporary fix for endless loop in
3317 this function on a redraw.
3319 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3321 * insettabular.C (copySelection): STRCONV
3323 * insetinclude.C (uniqueID): STRCONV
3324 (latexString): ditto
3326 * insetgraphics.C: put VersionNumber inside anon namespace
3327 (createLatexOptions): STRCONV
3329 * insetcommandparams.C: include config.h
3331 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3333 * insetgraphicsParams.C (Write): use lyx::float_equal.
3334 Write height data correctly.
3335 (Read): zero scale when reading height data.
3337 2002-10-30 John Levon <levon@movementarian.org>
3339 * insetfloat.C (addToTOC): recursively traverse all
3340 contents looking for captions (fix #568)
3342 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3344 * insetexternal.C (doSubstitution): do not try to replace
3345 environment variables, this is done when executing the command
3347 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3349 * insetexternal.C (doSubstitution): change order of substitution
3350 to work around ReplaceEnvironmentPath brokenness
3352 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3354 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3356 * insetgraphicsParams.C (init, Write): associated changes
3357 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3358 InsetGraphicsParams::scale.
3360 2002-10-21 John Levon <levon@movementarian.org>
3362 * inset.h: remove unused DISPATCH_RESULT
3364 * insettext.C: sgml open/close tag now in sgml namespace
3366 2002-10-21 Angus Leeming <leeming@lyx.org>
3368 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3369 file path subdir/fig.eps when pasting it into a buffer in a different
3372 2002-10-16 John Levon <levon@movementarian.org>
3374 * insetspecialchar.C: remove \\protected_separator parsing
3376 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3378 * insetquote.C: fix LaTeX output of quotation marks.
3380 2002-10-14 Juergen Vigna <jug@sad.it>
3382 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3383 Backspace functions which confused the Undo handling.
3385 2002-10-09 Angus Leeming <leeming@lyx.org>
3387 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3388 BufferView::dispatch that turns off this optimisation when a new inset
3391 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3392 reload the BibTeX keys.
3394 2002-10-11 André Pönitz <poenitz@gmx.net>
3396 * insettext.h: handle LFUN_PRIOR/NEXT
3398 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3400 * insetfloat.C: fix bug with float settings
3401 (document default != float default).
3403 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3405 * insetwrap.C (addToToc): New method.
3406 (InsetWrap): Set layout to caption.
3408 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3410 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3412 2002-09-16 John Levon <levon@movementarian.org>
3414 * insettabular.h: hasSelection() needs to be public
3416 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3418 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3420 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3422 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3424 2002-09-11 André Pönitz <poenitz@gmx.net>
3426 * insettabular.C: implement LFUN_WORDSEL
3428 2002-09-10 John Levon <levon@movementarian.org>
3430 * insetinclude.h: remove unused param
3432 2002-09-09 John Levon <levon@movementarian.org>
3435 * insetinclude.C: remove noload, default to input
3437 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3439 * insetgraphics.C: disfuscated use of ']' in built output string.
3441 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3443 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3445 2002-08-29 Juergen Vigna <jug@sad.it>
3447 * insettabular.C (lfunMousePress): Pay attention where you set
3448 the x/y values as they depend on which inset in the tabular is
3449 actually locked. So you surely have to reset them if you (un)lock
3452 2002-08-29 André Pönitz <poenitz@gmx.net>
3454 * insetfootlike.h: rename include guard to ALL CAPS
3456 * insettext.C: swap object and first parameter for checkInsetHit calls
3457 as this functions has moved from BufferView to LyXText
3460 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3462 * insetgraphicsParams.C: remove local displayTranslator and use
3463 the one from graphics/GraphicsTypes.h.
3465 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3467 * insetfloat.C (wide): add BufferParams parameter
3469 * insetfloatlist.C (read):
3472 * insetfloat.C (latex):
3474 * insetcaption.C (draw): use LyXTextClass::floats()
3476 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3478 * insetoptarg.h: add std:: qualifier.
3480 2002-08-26 Juergen Vigna <jug@sad.it>
3482 * insettext.C (localDispatch): ditto.
3484 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3486 2002-08-25 John Levon <levon@movementarian.org>
3488 * inseturl.C: elide long URLs (bug 404)
3490 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3492 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3493 remove "Format Version <version_no.>" string from inset header
3496 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3498 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3499 a member of "grfx::Params" anymore.
3501 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3503 2002-08-24 John Levon <levon@movementarian.org>
3506 * insetoptarg.C: ws, pedantry ...
3508 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3510 * insettext.C (collapseParagraphs): pasteParagraph now in global
3512 (appendParagraphs): ditto
3514 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3516 * insetcite.C (latex): Remove spaces only after commmas.
3518 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3520 * insettext.C: remove NO_COMPABILITY stuff
3522 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * insettext.C (edit): use ParagraphList iterators
3526 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3527 (bibitemWidest): ditto
3529 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3531 * insettext.C: include <boost/bind.hpp>
3532 add using std::for_each
3533 (saveLyXTextState): use ParagraphsList::iterator
3534 (init): use for_each on paragraphlist iterators
3535 (InsetText): remove superflous setting cached_bview to 0
3536 (latex): reformat a bit
3537 (ascii): use paragraphlist iterators
3538 (validate): use for_each + boost bind
3539 (getLabelList): use paragraphlist iterators
3540 (deleteLyXText): use for_each + boost::bind
3541 (resizeLyXText): ditto
3542 (reinitLyXText): ditto
3543 (removeNewlines): use paragraphlist iterators
3544 (getParFromID): ditto
3545 (paragraph): use for_each + boost::bind
3546 (getInsetFromID): use paragraphlist iterators
3547 (getLabelList): typo fix
3549 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3551 * insettext.C (read): assign tmp to paragraphs after return from
3552 call to parseSingleLyXformat2Token
3555 2002-08-13 Angus Leeming <leeming@lyx.org>
3574 changes due to the changed LyXView interface that now returns references
3575 to member variables not pointers.
3577 2002-08-13 Angus Leeming <leeming@lyx.org>
3580 * insetcollapsable.h:
3583 * insettext.h: forward-declare WordLangTuple
3584 (selectNextWordToSpellcheck) constify return type.
3587 * insetcollapsable.C:
3590 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3592 2002-08-12 Angus Leeming <leeming@lyx.org>
3594 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3596 2002-08-12 Juergen Vigna <jug@sad.it>
3598 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3601 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3603 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3604 (bibitemWidest): ditto
3605 * insettext.[Ch]: ditto
3607 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3609 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3611 2002-08-09 Angus Leeming <leeming@lyx.org>
3613 * insetinclude.C (latexString): remove fudge now that I've found out
3614 how to enable LaTeX to find the file using input@path.
3616 2002-08-09 John Levon <levon@movementarian.org>
3619 * insettext.C: remove unused xpos
3621 2002-08-07 Juergen Vigna <jug@lyx.org>
3623 * insettabular.C (localDispatch): make delete not put the stuff
3624 in the clipboard only do this on a cut operation.
3626 * insettext.C (localDispatch): make delete and backspace not put
3627 selected stuff to the clipboard.
3629 2002-08-07 André Pönitz <poenitz@gmx.net>
3632 * insetcollapsable.[Ch]:
3636 * insettabular.[Ch]:
3637 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3639 2002-08-06 John Levon <levon@movementarian.org>
3643 * insetcollapsable.h:
3644 * insetcollapsable.C:
3650 * insettext.C: use WordLangTuple for spellcheck
3652 2002-08-06 Angus Leeming <leeming@lyx.org>
3654 * insetinclude.C: add a monitor to the previewed image, so that the
3655 image is refreshed if the \input-ed file changes.
3657 2002-08-04 John Levon <levon@movementarian.org>
3660 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3662 2002-08-02 Angus Leeming <leeming@lyx.org>
3664 * insetcommandparams.[Ch] (preview): new methods returning and setting
3665 a new bool preview_ flag.
3666 (read): read this flag.
3667 (operator==): add flag to check.
3669 * insetinclude.C (write): output new preview() flag.
3670 (previewWanted): use this flag.
3672 2002-08-02 Angus Leeming <leeming@lyx.org>
3674 * insetcollapsable.[Ch] (addPreview):
3675 * insettabular.[Ch] (addPreview):
3676 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3677 for insets in insets.
3679 2002-08-02 Angus Leeming <leeming@lyx.org>
3681 * insetcite.C: fix typo.
3683 * insetgraphics.C: kill current_view and instead cache the BufferView
3686 * insetinclude.C: kill current_view and pass the BufferView to the
3687 PreviewedInset so that it can cache it.
3689 2002-08-01 Angus Leeming <leeming@lyx.org>
3691 * inset.h (generatePreview): renamed as addPreview.
3692 (generatePreview): new method. Allows code to be moved out of
3693 math_nestinset.C and into the new PreviewedInset class.
3695 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3696 add previews to the inset when \input-ing LaTeX.
3698 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3700 * several files: strip,frontStrip -> trim,ltrim,rtrim
3702 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3704 * insetbib.C (latex): modify because of strip changes
3706 * insetnote.C (InsetNote): ditto
3708 2002-07-26 Juergen Vigna <jug@sad.it>
3710 * insettabular.C (searchForward): check for lastcell if we
3711 had a locking inset.
3713 2002-07-25 Juergen Vigna <jug@sad.it>
3715 * insettabular.C (insetMotionNotify): Don't update the screen
3716 if we didn't do nothing.
3717 (searchForward): last cell was not checked.
3719 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3721 * insetfloat.C (read, write): Allow default placement
3722 (floatPlacement_ is empty).
3724 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3726 * insetminipage.h (noFontChange):
3727 * insettabular.h (noFontChange):
3728 * insetfootlike.h (noFontChange):
3729 * insetfloat.h (noFontChange): return true
3731 * inset.h (noFontChange): new method, defaulting to false
3733 2002-07-22 Herbert Voss <voss@lyx.org>
3735 * insetgraphicsParams.[Ch]: support size_type for old docs
3737 2002-07-22 Herbert Voss <voss@lyx.org>
3740 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3743 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3745 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3747 * insetlatexaccent.h: do not include "lyxlex.h"
3749 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3752 * insetlatexaccent.C:
3756 * insetbib.C: #include "lyxlex.h"
3762 * insettext.C: use BufferParams::getLyXTextClass
3765 * insetfloat.C (addToToc): new method. Add to toclist the entries
3766 corresponding to Caption layouts
3767 (InsetFloat): when creating a new float, set the layout to "Caption"
3769 2002-07-21 Herbert Voss <voss@lyx.org>
3771 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3772 image relevant part into graphics/GraphicsImgae.C
3774 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3776 * insettoc.C (ascii):
3777 * insetfloatlist.C (ascii): change to use the new Toc functions
3778 instead of stuff that was in Buffer
3780 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3782 * insettext.C (localDispatch): BufferView::Dispatch has been
3783 renamed to BufferView::dispatch
3785 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3787 * insetgraphicsParams.C (as_grfxParams): use the new
3788 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3789 1.2.0 patch, and I do not really know how to adapt it to the new
3790 grfx::Cache world. Angus, please could you have a look?
3792 2002-05-01 Herbert Voss <voss@lyx.org>
3794 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3796 2002-07-18 Angus Leeming <leeming@lyx.org>
3798 * insetgraphics.C: clean-up comments (from Herbert).
3799 add a new checksum variable to the cache. Use it in PrepareFile.
3800 (draw): start monitoring the file for a change.
3801 (prepareFile): re-arrange a little to avoid unnecessary steps.
3803 2002-07-17 Angus Leeming <leeming@lyx.org>
3805 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3806 a method rather than to the signal directly.
3808 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3810 * insettext.C: use view_state_changed, switchKeyMap
3812 2002-07-17 Herbert Voss <voss@perce.de>
3814 * insetgraphics.C (prepareFile): keep the extension when
3815 exporting to nice file
3817 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3819 * insetcite.C (getNatbibLabel):
3820 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3822 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3824 * insetgraphics.C: use ->isDrawable()
3826 2002-07-12 Angus Leeming <leeming@lyx.org>
3828 * insetgraphics.C: use the new smart loading capabilities of the image
3831 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3833 * insettabular.C (edit): Move into correct cell when entering a
3836 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3839 2002-07-05 Angus Leeming <leeming@lyx.org>
3841 * inset.h (generatePreview): new virtual method.
3843 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3845 * insetcommandparams.[Ch] (operator=): move out of class
3846 (operator!): move out of class
3848 2002-07-04 André Pönitz <poenitz@gmx.net>
3850 * insetcommandparams.[Ch]: new files
3852 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3854 2002-06-15 Herbert Voss <voss@perce.de>
3856 * insetgraphics.C (prepareFile): bugfix; return always
3857 files without extension
3859 2002-06-28 Angus Leeming <leeming@lyx.org>
3861 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3862 rename asGParams -> as_grfxParams.
3864 * insetgraphics.C: reflect above change.
3866 2002-06-26 Angus Leeming <leeming@lyx.org>
3868 * insetgraphics.h: use boost::scoped_ptr in preference to
3871 2002-06-26 Angus Leeming <leeming@lyx.org>
3873 * insetgraphics.C: moved the image loading stuff into a new class
3874 grfx::Loader. Simplifies this file enormously.
3876 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3878 * insetgraphicsParams.C: changes aassociated with moving
3879 grfx::DisplayType out of grfx::GParams.
3881 2002-06-26 André Pönitz <poenitz@gmx.net>
3883 * insetgraphics.C: use os::external_path where necesaary according to a
3884 patch from Claus Hentschel)
3886 2002-06-25 Angus Leeming <leeming@lyx.org>
3888 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3889 generating a pixmap once the graphics file is loaded into memory.
3890 The current_view ugliness that was in grfx::ModifiedImage has been
3891 moved here now that grfx::ModifiedImage is no more.
3893 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3895 * insettext.C: layout as layout
3897 2002-05-28 André Pönitz <poenitz@gmx.net>
3899 * insetfloatlist.h: remove source of compiler warning
3901 * insetref.C: tiny whitespace
3903 2002-06-15 Herbert Voss <voss@perce.de>
3905 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3906 and take always convert when no userdefined converter was
3908 (latex) small changes in the lyxerr output
3910 2002-06-15 LyX Development team <lyx@rilke>
3912 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3913 mixed content. Small white spaces clean.
3915 2002-06-14 Angus Leeming <leeming@lyx.org>
3917 * inseetexternal.C: remove the using std::difftime declaration.
3919 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3921 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3923 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3925 * insetquotes.C (draw): fix drawing of double quotes
3927 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3929 * insettabular.C: s/scrollCB/scrollDocView/
3931 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3933 * insettext.C: change of topCursorVisible()
3936 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3939 * insettext.C: rename/change of LyXScreen
3941 2002-06-07 Angus Leeming <leeming@lyx.org>
3943 Fixes needed to compile with Compaq cxx 6.5.
3945 all c-library variables have been moved into namespace std.
3946 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3948 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3950 * insetinclude.C (uniqueID):
3951 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3952 conflicted with some AIX headers.
3954 2002-05-31 Juergen Vigna <jug@sad.it>
3956 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3960 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3962 * insetexternal.C (clone): fix () bug when using new
3963 (updateExternal): don't only look for difftime in global scope
3965 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3967 * insettabular.C: add const
3969 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3971 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3972 file name, in case there are weird characters like ',' in there.
3975 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3977 * switch from SigC signals to boost::signals.
3979 2002-05-28 André Pönitz <poenitz@gmx.net>
3981 * insets/insetgraphicsParams.[Ch]:
3982 put in inset related stuff from src/graphic
3984 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3992 * insetcollapsable.C:
3993 * insetcollapsable.h:
4021 * inseturl.h: use mouse_state. Kill insetKeyPress
4023 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4028 * insetcollapsable.C:
4031 * insetlatexaccent.C:
4033 * insetspecialchar.C:
4035 * insettext.C: name change for font metrics
4037 2002-05-24 Juergen Vigna <jug@sad.it>
4039 * insetgraphics.h: include inset.h first (for LString.h)
4041 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4043 * insettext.C: screen moved
4045 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4063 * inseturl.C: LyXView moved into frontends/
4065 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4070 * insetcollapsable.C:
4074 * insetgraphicsParams.C:
4075 * insetlatexaccent.C:
4077 * insetspecialchar.C:
4079 * insettext.C: move Painter to frontends/
4081 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4083 * insettabular.h: use more specific smart_ptr header.
4084 * insettext.h: ditto
4086 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4089 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4091 * insettext.C: clear selection on paste (bug 393)
4093 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4095 * insettext.C (latex): Honor the moving_arg argument.
4097 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4099 * insetfoot.C (latex): if a footnote is in a title layout, then it
4100 is a \thanks. And then, its contents is a moving argument.
4102 2002-05-14 Juergen Vigna <jug@sad.it>
4104 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4107 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4109 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4110 when using options "Full author list" or "Upper case".
4112 2002-05-14 Herbert Voss <voss@perce.de>
4114 * insetgraphics.C (prepareFile): allow files with same name
4116 (readFigInset): set the flags from old figinset in the right
4118 (findTargetFormat): more comments
4120 2002-05-14 Juergen Vigna <jug@sad.it>
4122 * insettext.C (edit): tell checkAndActivateInset() that we don't
4123 have a button press.
4124 (checkAndActivateInset): if button < 0 we don't have a button press
4125 on the inset and os we won't call edit on it if it's not a Highly
4126 editable inset (then we have to enter it).
4128 2002-05-13 Juergen Vigna <jug@sad.it>
4130 * insetcollapsable.C (insetButtonRelease): returned wrong return
4133 2002-05-09 Juergen Vigna <jug@sad.it>
4135 * insetcollapsable.C (edit): first_after_edit should only be
4136 set to true if we enter this inset and it was collapsed so we
4137 open it up. This is needed to reclose it after a search/replace
4138 or spellcheck function opened it and was negative.
4140 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4142 * insetfloat.C (latex): Return correct value.
4144 2002-05-04 Herbert Voss <voss@perce.de>
4146 * InsetgraphicsParams.C (read): fix bug with WH
4148 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4150 * insetfloat.C (latex): More sensible latex output
4151 (fix the problem with endfloat).
4153 2002-05-02 José Matos <jamatos@fep.up.pt>
4155 * insetgraphics.C (validate): acess params as everyone else.
4157 2002-05-03 Juergen Vigna <jug@sad.it>
4159 * insettabular.C (fitInsetCursor): recalculate the cursor position
4162 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4164 * InsetgraphicsParams.[Ch]: whitespace.
4166 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4168 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4169 float type do not exist.
4171 2002-04-28 Herbert Voss <voss@perce.de>
4173 * insetgraphics.C (latex): fix bug with missing file-extension.
4174 LaTeX still allows a missing "eps" or "ps".
4176 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4178 * insetfloat.C (c-tor, wide): translate the name of the float.
4180 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4182 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4183 when using natbib and make it work efficiently. Must emphasise that the
4184 real work is Herbert's.
4186 2002-04-23 Herbert Voss <voss@perce.de>
4188 * insetgraphic.C (prepareFile): fix bug with overwriting and
4189 deleting an existing *.eps-file in the doc-dir
4191 2002-04-23 Juergen Vigna <jug@sad.it>
4193 * insettabular.C (drawCellSelection): fix off by 1 error.
4195 2002-04-22 Juergen Vigna <jug@sad.it>
4197 * insettabular.C (setFont): rewoke full selection if it was asked,
4198 after we changed all we had to change.
4200 * insettext.C (insetUnlock): code was uninitialized in some situations.
4202 2002-04-19 Herbert Voss <voss@perce.de>
4204 * insetgraphic.C (prepareFile): return filename without
4205 extension if we only export without compiling
4207 2002-04-19 Juergen Vigna <jug@sad.it>
4209 * insettext.C (draw): call a fullRebreak on the row where we had a
4210 change and reset the cursor and selection-cursors.
4212 * insettabular.C (insetUnlock):
4213 (insetButtonPress): call an update before setting the_locking_inset = 0
4214 as otherwise we don't repaint!
4215 (update): reset the cursor position when we changed dimensions as
4216 otherwise our cursor may be on the wrong spot.
4218 2002-04-18 Juergen Vigna <jug@sad.it>
4220 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4221 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4222 redraw otherwise we won't redraw.
4224 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4225 not really right before, but I only discovered this with the last
4226 changes to Page up/down.
4228 2002-04-17 Juergen Vigna <jug@sad.it>
4230 * insettext.C (checkAndActivateInset): simplified as we now have the
4231 edit(bv, bool) call.
4233 * insettext.h: changed behind variables to front variables to be
4234 equal to the one in the edit call (as it is for that they are used).
4236 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4238 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4239 not output anything at all!
4241 2002-04-16 Juergen Vigna <jug@sad.it>
4243 * insettabular.C (insetButtonPress):
4244 (insetUnlock): call a redraw on unlocking the cell inset.
4246 * insettext.C (insetButtonPress): same as below.
4247 (lockInset): new function to set initial values when inset should
4249 (insetButtonPress): use above function.
4250 (insetUnlock): don't force a repaint only set the updateStatus. The
4251 outside world should repaint if it thinks it should be done!
4253 * insettabular.C (insetButtonPress): init values if not set as locked
4254 as we are locked if someone presses on us and don't call the edit()
4255 call of the InsetText to lock it do it as BufferView does it!
4257 * inset.h (insetInInsetY): make func const and return an int.
4260 * insetcollapsable.C: adapt the above changed function.
4262 2002-04-15 Juergen Vigna <jug@sad.it>
4264 * insettext.C (getCursorPos): return relative position as to be able
4265 to give them directly to the edit() call.
4266 (edit): we have to set also x_fix as it is not set inside the
4267 setCursorFromCoordinates call!
4268 (insetMotionNotify): ditto.
4270 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4272 * insetbib.C (getKeys): strip leading '\t's from the line too.
4273 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4275 2002-04-12 Juergen Vigna <jug@sad.it>
4277 * insettext.h: added cix() helper function and use it where appropriate
4279 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4281 * insetgraphics.C (prepareFile): fix bug when graphics is a
4284 2002-04-12 Juergen Vigna <jug@sad.it>
4286 * insettext.C (insertInset): remove unneeded code!
4287 (updateLocal): fitCursor() fixes.
4288 (collapseParagraphs): fix a possible problem when having a selection
4289 and collapsing the paragraphs.
4291 2002-04-08 Herbert Voss <voss@perce.de>
4293 * insetgraphic.C (write): write the rotating angle as
4294 a float as is. test only for != 0.0
4296 2002-04-11 Juergen Vigna <jug@sad.it>
4298 * insettext.C: new function ciy() and use it for setting inset_y.
4300 * insetert.C (draw): fix the x return for collapsed version.
4302 2002-04-07 Herbert Voss <voss@perce.de>
4304 * insetgraphic.C (readFigInset): fix bug with subcaption and
4307 2002-04-08 Herbert Voss <voss@lyx.org>
4309 * insetgraphicsparam.C: forgot special option and delete old
4312 2002-04-05 Juergen Vigna <jug@sad.it>
4314 * insettext.C (localDispatch): make a CURSOR update if we inserted
4317 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4319 * insetfloatlist.C (getScreenLabel):
4320 (latex): use Floating::listName
4321 (validate): new method
4323 2002-04-03 José Matos <jamatos@fep.up.pt>
4325 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4327 * insetfoot.[Ch] (docbook): added forgotten method.
4329 2002-04-03 Juergen Vigna <jug@sad.it>
4331 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4332 way as in Bufferview_pimpl.
4334 2002-04-03 Allan Rae <rae@lyx.org>
4336 * insetgraphics.C (latex): one % too many makes living on the bleeding
4337 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4339 2002-03-28 Herbert Voss <voss@lyx.org>
4341 * insetgraphic.C (latex): simplify the code for the latex
4342 output when the file doesn't exist
4344 2002-03-29 Juergen Vigna <jug@sad.it>
4346 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4349 * insettabular.C (edit): call fitCursor().
4351 * insettext.C (insetButtonPress): change behaviour of no_selection
4352 to the one in the BufferView selection_possible and fix the spurious
4353 selection bug with it.
4354 (localDispatch): revoke selection on BREAK... functions.
4356 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4358 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4360 2002-03-28 Juergen Vigna <jug@sad.it>
4362 * insettabular.C (insetAllowed): return true as default value otherwise
4363 we're not able to insert insets inside paragraphs of an not locked
4366 2002-03-27 Herbert Voss <voss@lyx.org>
4368 * insetgraphicsparam.C: change c%, p% to col%, page%
4370 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4372 * insetspecialchar.C (isLineSeparator): disable the nice code to
4373 allow linebreaks after hyphenation and menu separators.
4375 2002-03-26 Herbert Voss <voss@lyx.org>
4377 * insetgraphics.C (figinsetRead): set the right lyxview
4379 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4381 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4382 $\backslash$ and pass a "string const &" to the function.
4383 (prepareFile, latex): use Path rather than MakeAbsPath.
4385 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4387 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4388 proper fix to the graphics cache.
4389 (latex): "really" nice output if the file is not found ;-)
4391 2002-03-26 Juergen Vigna <jug@sad.it>
4393 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4394 (collapseParagraphs): fixed inserting of separator ' '
4396 * insettabular.C (insertAsciiString): only check for buffer lenght
4397 not if we have \t or \n inside the buffer as if we don't have we only
4398 have 1 cell and that's it!
4400 * insetert.C (close): don't collapse if inlined.
4402 2002-03-25 Herbert Voss <voss@lyx.org>
4404 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4405 graphics file does not exist.
4407 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4409 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4410 path when preparing export.
4412 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4413 no longer MakeRelPath.
4415 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4417 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4418 Used to determine the absolute path to the graphics file in the
4419 graphics cache and only in the graphics cache.
4420 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4421 make graphics file name absolute if it is stored as a relative path.
4423 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4424 make graphics file name absolute if it is stored as a relative path.
4426 * insettext.C (edit): emit an updateParagraph signal on entering a text
4427 inset. Needs to be emitted when leaving the inset also.
4429 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4431 * all files: ws cleanup
4433 * Makefile.am: remove ld -r stuff
4435 2002-03-21 Juergen Vigna <jug@sad.it>
4437 * insettext.C (appendParagraphs): new function added to append
4438 the paragraphs to this insets paragraphs.
4440 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4442 * Makefile.am: special rules if partial linking
4444 2002-03-19 Juergen Vigna <jug@sad.it>
4446 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4448 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4450 * insetgraphics.C: Clean up Baruch's comments a little.
4451 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4453 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4456 * insettheorem.C: wrap warnings
4458 * insetgraphics.C: improve messages, move cached_status_
4459 setting to safer place
4461 2002-03-18 Juergen Vigna <jug@sad.it>
4463 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4465 (localDispatch): ditto
4467 * insettext.C (edit): removed unneeded showCursor calls.
4468 (localDispatch): ditto.
4470 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4472 * insetgraphics.h: remove display() method.
4474 2002-03-11 Juergen Vigna <jug@sad.it>
4476 * insetgraphics.C (draw): hack to fix the redrawing bug.
4477 (draw): seems this fixes #268 (force redraw of row if we changed).
4479 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4480 this inset text (don't know why I missed this earlier).
4482 2002-03-08 Juergen Vigna <jug@sad.it>
4484 * insettabular.C (updateLocal): do a FULL update if we're not locked
4485 and only a CELL update is asked.
4487 * insettext.C (updateInsetInInset): update insets inside inset also
4488 if it isn't inside the_locking_inset.
4490 * insettabular.C (updateInsetInInset): ditto.
4492 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4494 * insetexternal.C (doSubstitution): check whether we are using a
4495 temp dir for defining $$FPath
4497 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4500 * insettext.C: remove #include "WorkArea.h".
4502 2002-03-06 Juergen Vigna <jug@sad.it>
4504 * insettext.C (draw): fixed frame redrawing.
4505 (clear): forgot to set the inset_owner of the paragraph.
4507 * insetert.C (status): pay attention the bv can be 0 here!
4508 (getMaxWidth): add the default leftMargin
4510 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4512 * insetert.C (getMaxWidth): make w unsigned int.
4514 2002-03-05 Juergen Vigna <jug@sad.it>
4516 * insetert.C (status): change behaviour of Inlined.
4517 (getMaxWidth): added for new inlined behaviour.
4519 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4521 * insetnote.h (linuxdoc, docbook): add empty methods.
4522 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4523 before being initialized.
4525 2002-03-05 Juergen Vigna <jug@sad.it>
4527 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4528 only that one in the inset. Should be enough.
4529 (updateLocal): set the selection cursor always if we don't have a
4530 selection to be sure it's set!
4532 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4534 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4536 * insettext.C (clear): a gross hack to set layout on a newly
4539 2002-03-04 Juergen Vigna <jug@sad.it>
4541 * insettabular.C (localDispatch): inserted handling of
4542 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4543 (insertAsciiString): new helper function.
4545 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4547 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4550 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4552 * insettext.C (InsetText): initalize newly created par with
4553 default layout. add bufferparams parameter
4556 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4557 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4558 * insetert.[Ch] (InsetERT): ditto
4559 * insetfloat.[Ch] (InsetFloat): ditto
4560 * insetfoot.[Ch] (InsetFoot): ditto
4561 * insetfootlike.[Ch] (InsetFootLike): ditto
4562 * insetmarginal.[Ch] (InsetMarginal): ditto
4563 * insetminipage.[Ch] (InsetMinipage): ditto
4564 * insetnote.[Ch] (InsetNote): ditto
4565 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4567 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4569 * insettext.C: layout as string
4571 * insetinclude.C: layout as string
4573 * insetert.C: layout as string
4575 * insetbib.C: layout as string
4577 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4580 * insettabular.C: remove #include "lyx_gui_misc.h".
4582 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4587 * inset.h: remove figinset, yahoo !
4589 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4591 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4592 copy c-tor and initialise member variables in the correct order.
4594 2002-02-28 Juergen Vigna <jug@sad.it>
4596 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4598 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4600 * inset.h: ... and add a better one here.
4602 * insetcommand.C (insetButtonRelease): remove that one which was a
4605 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4607 * insetcommand.C (insetButtonRelease): ... and move it here.
4609 * inseturl.h: remove insetButtonRelease from there...
4611 2002-02-26 Juergen Vigna <jug@sad.it>
4613 * inseturl.h: Added a insetButtonRelease call returning true as
4616 * insetlabel.C (edit): Fixed wrong update handling after change I
4617 leave in the wrong code for the one who wrote it to remove and have
4618 a look what he did wrong.
4620 * insettabular.C (localDispatch): force a SELECTION update if we
4621 had a selection and we passed the event down to the inset (fix #213)
4622 (localDispatch): handle font changing stuff when we have a cell
4623 selection so that the selection is not rewoked. I don't really like
4624 this fix, but it's the only way I see to do it right now.
4626 2002-02-22 Juergen Vigna <jug@sad.it>
4628 * insettext.C (insetUnlock): set the cursor to the second paragraph
4629 if available and if the first one is empty (fix #191).
4631 2002-02-20 Juergen Vigna <jug@sad.it>
4633 * insettext.C (getDrawFont): implemented this function to call the
4634 one of the owner if present as the owner normally knows what to do
4637 * insetert.C: implement getDrawFont() function and comment out all
4638 the crap for setting a special latex font inside this inset.
4639 (InsetERT): added a Lanugage parameter to this constructor.
4641 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4642 change the font for being drawn on screen (used only in InsetERT for
4645 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4646 and also above (was missing).
4647 (updateLocal): don't remove the cell selection if we have one this
4648 should be done where we really want to remove it.
4650 2002-02-20 José Matos <jamatos@fep.up.pt>
4652 * insetinclude.h: include_label made string const.
4654 * insetinclude.C (InsetInclude): moved include_label initialization.
4657 (validate): fix support for temporary directory, for docbook and
4660 * insetgraphics.h : new private member, graphic_label, that holds
4661 the entity name that defines the graphics location (SGML).
4663 * insetgraphics.C (unique_id): new function to give a unique label
4666 (validate): the file locatation is given by an entity reference.
4668 2002-02-18 Herbert Voss <voss@lyx.org>
4670 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4672 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4674 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4675 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4677 2002-02-18 José Matos <jamatos@fep.up.pt>
4679 * insetinclude.C (validate): some code only applies to latex buffers,
4680 it was made conditional.
4682 2002-02-12 Herbert Voss <voss@lyx.org>
4684 * insetgraphics.C: (prepareFile) do not check at this time
4685 if the file is present.
4687 2002-02-12 Herbert Voss <voss@lyx.org>
4689 * insetgraphics.C: latex(), return the correct newlines
4691 2002-02-13 José Matos <jamatos@fep.up.pt>
4693 * inseturl.C (docbook): escape & in url.
4695 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4697 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4698 after HYPHENATION and MENU_SEPARATOR
4700 * inset.h (isLineSeparator): new method, returns false by default.
4702 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4704 * insetert.C (status): do not update the text inset, but the ERT
4707 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4709 * insetnote.C: use notebg for background
4711 2002-02-08 Herbert Voss <voss@lyx.org>
4714 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4715 prevent LyX from unzipping when this should be handled
4716 by latex vis the graphic.cfg.
4719 2002-02-08 Herbert Voss <voss@lyx.org>
4721 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4722 exists, than return filename with extension
4724 2002-02-06 Herbert Voss <voss@lyx.org>
4726 * insetgraphic.C: prepareFile(): don't convert the file, when
4727 it's not viewed in LyX. Saves a lot of time when opening a
4730 2002-02-05 Herbert Voss <voss@lyx.org>
4733 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4734 and adding a rotate bool similiar to subcaption
4736 2002-02-04 Herbert Voss <voss@lyx.org>
4739 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4740 similiar view to the LaTeX one. Get zipped files work.
4742 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4744 * insetgraphicsParams.C (init): set display to DEFAULT.
4745 No longer #include "lyxrc.h".
4747 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4749 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4750 for now (so that the code compiles).
4752 2002-02-02 Herbert Voss <voss@lyx.org>
4754 * insetgraphic.C: delete inVariant() and some minor changes
4755 * insetgraphicsParams.[C]:
4757 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4759 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4760 interogate lyxrc.display_graphics before diaplaying the graphic.
4762 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4763 InsetGraphicsParams::DisplayType.
4765 2002-01-31 Herbert Voss <voss@lyx.org>
4767 * insetgraphic.C: (readfigInset) set display to pref-default
4769 2002-01-30 Herbert Voss <voss@lyx.org>
4771 * insetgraphic.C: get the filetyp from it's contents
4772 * insetgraphicparams.C: add token scale and lyxrc.display when
4773 creating a new inset
4775 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4777 * figinset.C: added using std::ios directive.
4779 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4781 * figinset.C (runqueue): open translation file in binary mode (for
4784 2002-01-27 Herbert Voss <voss@lyx.org>
4786 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4787 all options and to be sure that the old figinsets are correct
4789 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4790 structure and to support all lengths as LyXLength. The Parameter
4791 structure changed again, but reading of "old" 1.2 graphic insets
4794 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4796 * insetert.h (forceDefaultParagraphs): Added
4798 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4800 * insettabular.C (getMaxWidth):
4801 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4803 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4805 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4806 of LyXLength::inPixels
4808 * inset.C (latexTextWidth):
4809 * insetminipage.C (latexTextWidth): new method, which implements
4810 the equivalent of the LaTeX macro \textwidth
4812 * insetminipage.C (getMaxWidth): use latexTextWidth
4814 2002-01-18 Juergen Vigna <jug@sad.it>
4816 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4818 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4820 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4822 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4825 2002-01-17 Juergen Vigna <jug@sad.it>
4827 * insettabular.C (lockInsetInInset): same change as in insettext.
4829 * insettext.C (draw): width() function was called without setting
4830 the right top_x which could lead to wrong insetWidth setting!
4831 (lockInsetInInset): call edit instead of calling lockInset if we
4832 have to lock an inset inside!
4833 (edit): we have to also tell the inset that we have to redraw the
4834 frame on an edit call if this inset draws a frame only if locked.
4836 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4838 * insetbib.C (getFiles): uncomment Path variable.
4840 2002-01-16 Juergen Vigna <jug@sad.it>
4842 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4845 2002-01-16 Allan Rae <rae@lyx.org>
4847 * insetinclude.C (docbook): someone forgot a ";"
4849 2002-01-16 José Matos <jamatos@fep.up.pt>
4851 * figinset.C (docbook): removed a old place holder "@".
4852 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4853 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4854 ascii text version, clearly guarded inside a CDATA section.
4855 (docbook): in docbook 4, inlinegraphics is empty.
4856 * insettabular.C (linuxdoc): export the ascii version of the table
4857 inside a CDATA section.
4859 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4861 * insetparent.C (InsetParent):
4862 * insetgraphicsParams.C (Write):
4864 * insetgraphics.C (prepareFile):
4867 * insetexternal.C (executeCommand):
4868 (doSubstitution): use Buffer::filePath
4870 * insetbib.C (getFiles): add a #warning for Angus
4872 * insetgraphics.C: Add a remark about how filenames should be
4873 considered to be relative to buffer (but absolute is still allowed)
4874 (draw): do not try to get status if lyxrc.use_gui is false
4876 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4879 * insetcollapsable.[Ch]:
4880 * insettabular.[Ch] (searchForward, searchBackward): change the
4881 bool const & params to bool.
4883 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4884 to avoid the name clash with InsetCollapsable's methods of the same
4885 names but different functionality.
4887 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4889 * insettext.C (ascii): use lyx::count rather than countChar.
4891 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4893 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4895 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4897 * insetgraphics.C (updateInset): do not try to render image if
4898 lyxrc.use_gui is false (bug #104)
4900 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4901 if file does not exist
4903 * figinset.C (browseFile): add shortcuts to directory buttons
4905 * insettext.C (updateLocal): update menubar and toolbar here too.
4907 2002-01-13 Allan Rae <rae@lyx.org>
4909 * insettabular.C (InsetTabular): Both constructors now initialise
4910 all class variables.
4912 2002-01-11 Juergen Vigna <jug@sad.it>
4914 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4916 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4918 * insettabular.C (getStatus): add forgotten brace around multiline
4921 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4923 * insetfloat.C (validate): require "float" instead of "floats".
4925 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4927 * insettabular.C (getStatus): use FuncStatus
4929 2002-01-08 Juergen Vigna <jug@sad.it>
4931 * insettabular.C (insetButtonRelease): now this should work too
4934 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4935 if the width is a percentage.
4937 * inset.h: added isChar() function and implemented this for
4938 insetspecialchar insetquotes and insetlatexaccent.
4939 added forceDefaultParagraphs() and implemented it for insettabular.
4941 2002-01-07 Juergen Vigna <jug@sad.it>
4943 * insettext.C (getLyXText): Fixed this function. An insert into the
4944 map is only done if we REALLY have a new BufferView.
4946 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4948 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4950 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4952 * insetinclude.C: fix use of FileInfo
4954 2002-01-07 Juergen Vigna <jug@sad.it>
4956 * insettabular.C (draw): fixed clearing of cell around inset.
4958 2002-01-05 Juergen Vigna <jug@sad.it>
4960 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4961 variables are updated.
4963 * insettabular.C (resetPos): set always the inset_y as it may be
4964 needed in another function.
4965 (searchBackward): don't draw while searching.
4967 2002-01-04 Juergen Vigna <jug@sad.it>
4969 * insettext.C (lockInsetInInset): forgot to set a cursor.
4971 2002-01-02 Juergen Vigna <jug@sad.it>
4973 * insettext.C (insertInset): make the correct undo informations on
4974 inserting new insets.
4976 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4978 * insettabular.C: correct single-cell select vertically
4980 2001-12-27 Juergen Vigna <jug@sad.it>
4982 * insettabular.C (ascii): export as tab-separated-values if the
4983 function was not called from export (f.ex.: clipboard).
4985 * insetcollapsable.h: added default support for ascii, linuxdoc and
4986 docbook export (the insettext is exported by default!)
4988 * insettabular.C (copySelection): suff the clipboard with the tabular
4989 data in a tab separated format, seems more naturals then with all the
4992 2001-12-24 Juergen Vigna <jug@sad.it>
4994 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4995 to check for REAL mouseMotion.
4997 2001-12-20 Juergen Vigna <jug@sad.it>
4999 * inset.C (cursor): return the owners cursor if available instead of
5000 always only the bv->text->cursor.
5002 * insettabular.C (checkLongtableSpecial): works now.
5004 2001-12-19 Juergen Vigna <jug@sad.it>
5006 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5007 this has to be always row + 1 as 0 means not selected!
5008 (checkLongtableSpecial): added
5009 (tabularFeatures): better longtable options support
5011 * insettext.C (resizeLyXText): reinit the text always also on a
5014 2001-12-18 Juergen Vigna <jug@sad.it>
5016 * insettext.C (updateInsetInInset): look if we have to autocollapse
5017 paragraps and return if the update is requested for ourself.
5019 * insetert.C (status): update the insettext not myself as that is what
5022 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5023 function only return if the update was requested with myself.
5025 * insettext.C (insetButtonPress): fixed stupid bug.
5026 (various functions): pay attention that lt is cleared BEFORE calling
5027 updateLocal() and try to use it in the right manner (don't use it
5028 if it's not really neccessary!)
5029 (collapseParagraphs): insert a blank between collapsing paragraphs
5030 if neccessary (not already there!).
5032 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5034 * insettabular.C: move includes around a bit, add a couple of
5037 * insettext.[Ch]: move includes around a bit, other ws changes and
5040 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5042 * insettext.C (insetButtonRelease): fix compile problem
5044 2001-12-17 Juergen Vigna <jug@sad.it>
5046 * insettext.C (insetButtonPress): set the selection cursor!
5047 (insetButtonPress): clear the selection (and set with that the
5048 selection.cursor) if we only hit an inset!
5050 * insetert.C (read): removed piece of compatibility code only needed
5053 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5056 * insetcollapsable.C (insetButtonRelease): changed so that it can
5057 open eventual existing popup dialogs on mousebutton==3.
5059 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5061 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5063 * inset.C (insetButtonRelease): return a bool for telling the outer
5064 world that we opened a dialog.
5066 2001-12-07 Juergen Vigna <jug@sad.it>
5068 * insettext.C (paragraph): remove the deleteing of paragraphs as
5069 it was a WRONG move!
5071 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5074 * insettabular.C: use new setSelection(). Allow
5075 selection of single cells.
5077 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5079 * insetquotes.C (latex): fix to use the local language setting at
5080 the point where the inset is inserted (different macros for
5081 different french packages)
5083 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5085 * inset.h: add par_owner_ member variable and parOwner
5088 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5090 * insettabular.C (everywhere): adapt because widths are now real
5091 widths and not strings
5093 * insettext.C (draw): re-introduce the calls to width(), ascent()
5094 and descent() to initialize the caching variables.
5096 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5098 * insettext.C (draw):
5099 (drawFrame): use insetWidth instead of last_width
5101 * insettext.h: remove variable last_width (insetWidth is exactly
5102 the same) and last_height (computed but never used!)
5104 2001-12-10 Allan Rae <rae@lyx.org>
5106 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5108 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5110 * insettext.C (insetAllowed): add comment
5112 2001-12-05 Juergen Vigna <jug@sad.it>
5114 * insettext.C (insetAllowed): fixed for the case that we directly
5115 ask the insettext from its LyXText.
5116 (paragraph): fixed the crash when assigning the par->next() from
5117 the EmptyParagraphMechanism!
5119 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5123 * insettext.C: change "while(" to "while ("
5125 2001-12-04 Juergen Vigna <jug@sad.it>
5127 * insetert.C (edit): handle Inlined status.
5129 * insettext.C (insertInset): trying John's fix for the trailing cursor
5131 * insetert.C (insetButtonPress): added to handle inlined status
5132 (insetMotionNotify): ditto.
5134 * insettext.C (clearInset): changed Painter & in BufferView * param,
5135 to be able to call ascent,descent methods.
5137 2001-12-03 Juergen Vigna <jug@sad.it>
5139 * insettext.C (updateInsetInInset): use lt variable to forbid
5140 changes of LyXText in an update call.
5141 (updateInsetInInset): fixed updating of non locked insets!
5143 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5145 * insettabular.C: capture some more functions to prevent
5146 selection drawing problems. Bug #451274
5148 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5151 * insetgraphicsParams.C: fix inverted sense of float_equal
5153 2001-11-30 Juergen Vigna <jug@sad.it>
5155 * insettabular.C (InsetTabular): use the save_id flag to create also
5156 the tabular with the same id's.
5158 * insettext.C (setParagraphData): added a same_id function for undo
5159 to set the same paragraph id's as of the paragraph we are setting.
5161 2001-11-30 José Matos <jamatos@fep.up.pt>
5164 * insettoc.[Ch]: DocBook -> docbook.
5166 2001-11-29 André Pönitz <poenitz@gmx.net>
5169 * insettext.C: further reduction of header dependencies by using
5170 lyx::layout_type and lyx::textclass_type from support/types.h
5172 2001-11-29 Juergen Vigna <jug@sad.it>
5174 * insettext.C: inserted a reinitLyXText function everywhere I delete
5175 the paragraphs! This should fixe the crashes we had.
5176 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5177 (paragraph): set the InsetOwner() of the new paragraphs!
5179 2001-11-28 André Pönitz <poenitz@gmx.net>
5181 * insetnote.C: add pos initialization that I removed without
5184 2001-11-28 Juergen Vigna <jug@sad.it>
5186 * insettabular.C (resetPos): hack to not crash with infinite paints.
5188 * insettabular.h: insert missing function allowSpellcheck()!
5190 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5192 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5195 * insetfloatlist.C: derive from InsetCommand so gui can use it
5198 2001-11-26 André Pönitz <poenitz@gmx.net>
5202 * insetnote.C: reduce header dependencies, introduce type for
5205 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5207 * various: update for Alert.h
5209 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5211 * inset.h: fix comment
5213 * insettext.C: use par->isInset()
5215 2001-11-22 Allan Rae <rae@lyx.org>
5217 * insetcollapsable.h:
5218 * inset.h: Changes to checkInsertChar() behaviour.
5219 Now return value indicates whether chars can be inserted.
5221 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5223 * various: updated to use the new LaTeXFeatures
5225 2001-11-14 José Matos <jamatos@fep.up.pt>
5227 * insetspecialchar.C (linuxdoc):
5228 (docbook): don't give a name to a unused variable.
5230 * insettext.C (docbook): removed unused variable.
5232 2001-11-13 Herbert Voss <voss@perce.de>
5234 * insetgraphic.C: fix scale bug
5236 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5238 * inset.h (isSpace):
5239 (isLetter): new virtual methods.
5241 * insetspecialchar.C (isSpace):
5242 (isLetter): implement here.
5244 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5246 * inset.h: new inline helpers
5248 * insettext.C: use new helpers
5250 2001-11-07 José Matos <jamatos@fep.up.pt>
5252 * insettext.C (docbook): full support for paragraphs inside insettext.
5254 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5256 * insetindex.C: added header file for std::ostream.
5258 2001-11-03 José Matos <jamatos@fep.up.pt>
5260 * insetindex.C: added using std::ostream that I forgot yesterday.
5262 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5264 * insetindex.h (docbook):
5265 * insetindex.C (docbook): added support for docbook export.
5267 2001-11-02 José Matos <jamatos@fep.up.pt>
5269 * insetcaption.C(docbook): added support for docbook export.
5271 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5273 * insetexternal.C (updateExternal): Do not run update command if
5274 result file exists and is up to date.
5276 * ExternalTemplate.C (readFormat): Support the updateresult token.
5278 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5280 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5281 external_templates) to use the buffer->fileName() but only if
5282 previewing. Generating a TeX file should make FPath return
5285 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5288 * insetert.C: fix some problems
5290 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5292 * insetexternal.C (doSubstitution): Added $$FPath token
5293 to list of usable substitutions in external inset templates.
5295 2001-10-24 Juergen Vigna <jug@sad.it>
5297 * insettabular.C: use new ltType struct for setting longtable
5298 header and footers also new UNSET enums.
5300 2001-10-24 José Matos <jamatos@fep.up.pt>
5302 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5303 (docbook): If the table is not inside a float then wrap it inside
5304 <informaltable>...</informaltable>.
5306 2001-10-23 José Matos <jamatos@fep.up.pt>
5308 * insetref.C (docbook): removed / terminator to conform SGML.
5310 * insetspecialchar.C (linuxdoc):
5311 (docbook): Added support for special chars, more than ascii export.
5313 2001-10-22 Juergen Vigna <jug@sad.it>
5315 * insettext.C (checkInsertChar): added for REALLY checking the
5316 font of the inserted char in the right inset!
5318 2001-10-19 Juergen Vigna <jug@sad.it>
5320 * inset.h: added method allowSpellcheck() so that insets who do
5321 not have anything to spellcheck can tell and so they are over-jumped.
5322 Implemented for InsetText and co.
5324 2001-10-18 Juergen Vigna <jug@sad.it>
5326 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5328 2001-10-15 José Matos <jamatos@fep.up.pt>
5330 * insetert.C: allow export for docbook and linuxdoc
5332 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5334 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5336 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5338 * insetquotes.C (dispString): fix handling of latin9 quotes
5340 2001-10-03 Juergen Vigna <jug@sad.it>
5344 * insetcollapsable.C: change updateInset calls to not tell BV that
5345 we have changed status.
5347 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5349 * insettabular.C (deletable): make const
5351 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5353 * insetert.C (latex): Fix the returned value
5355 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5357 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5358 Returns string(), so nothing in an ERT inset is spellchecked.
5360 * insetgraphics.C (draw): print the filename if not displaying the
5362 (width): make sure that the width and draw methods are consistent.
5363 (updateInset): don't even load the image into cache if not displaying
5366 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5368 * various files (selectNextWord): renamed as
5369 selectNextWordToSpellcheck.
5371 * insetgraphics.C (draw): remove the previous change. Right place
5372 is in imageLoaderXPM.C.
5373 (draw): don't display the image if params.display == NONE.
5375 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5377 * figinset.C (runqueue):
5378 * insetgraphics.C (draw): set background colour of inset from
5379 background to the user-configurable graphicsbg.
5381 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5383 * insetquotes.C (InsetQuotes): when trying to decide the side of
5384 the quote, choose `left' only after a space or '('
5386 2001-09-04 José Matos <jamatos@fep.up.pt>
5391 * insetcollapsable.h
5409 * insetlatexaccent.C
5410 * insetlatexaccent.h
5415 * insetspecialchar.C
5416 * insetspecialchar.h
5420 * insettext.C (docbook): rename docBook method to docbook.
5422 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5424 * inset.h (getFirstParagraph): New virtual method.
5426 2001-08-20 Herbert Voss <voss@perce.de>
5427 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5428 in the the bibtex-database-gui for inserting a line
5431 If no style is given than there is no tex-output.
5433 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5435 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5439 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5441 * insetert.C (latex): Fix output for multiple paragraphs.
5442 (write): New code for writing paragraph data.
5443 (read): Set font after reading the inset.
5444 (localDispatch): Call set_latex_font() for more cases.
5446 * insetnote.h: Add empty validate method.
5449 * insetnote.C (InsetNote): Set language to the language of the
5452 2001-08-16 Juergen Vigna <jug@sad.it>
5454 * insettext.C: implemented the new FINISHED states.
5456 * insettabular.C: ditto
5458 * inset.h: added more FINISHED states for cursor right,up,down
5460 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5462 * insetfloatlist.C: use "FloatName List"
5464 2001-08-14 Juergen Vigna <jug@sad.it>
5466 * insetert.C (edit): forgot to set status_ in edit calls!
5468 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5470 * insettext.C: Compilation fix
5472 2001-08-13 Juergen Vigna <jug@sad.it>
5474 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5476 * insetcollapsable.C (edit): don't recollapse an already open inset.
5478 * insettext.C: fixed problem when reinitializing LyXText by not doing
5479 it while lt is in use and post this to the next possible time in
5481 (searchForward): fixed not unlocking of inset if nothing found.
5482 (edit): set cursor behind right (was set -1 pos).
5484 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5486 * insettabular.C (tabularFeatures): fixed fix where deleting the
5487 last row didn't get the right actcell!
5489 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5491 * insettext.C (localDispatch): Change language only when the inset
5494 2001-08-10 Juergen Vigna <jug@sad.it>
5496 * insettabular.C (selectNextWordInt): use the front using edit call.
5498 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5499 the parameter overwrite class variable inset.
5501 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5503 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5504 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5506 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5507 update only for fixed with cells.
5508 (resetPos): try to fix the lockup on spellchecking or s&r.
5510 * insettext.C (update): comment this out as it seems first wrong
5511 and second not needed anymore!
5512 (some functions): call reinitLyXText() only in update() in all other
5513 positions set only need_update = INIT.
5515 2001-08-08 Juergen Vigna <jug@sad.it>
5517 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5519 * insettext.C (insetUnlock): remove double-space on inset unlock.
5521 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5523 * insettabular.C (update): fixed cursor positon after an insert.
5524 (insetAllowed): do not allow to insert insets when not inside the
5526 (draw): clear below an inset too as it could have changed height.
5528 * inset.C (getMaxWidth): fixed width for inset in inset.
5530 * insettext.C (update): small fix.
5532 * insettabular.C (tabularFeatures): added selection support to
5533 DELETE_ROW/DELETE_COLUMN.
5535 2001-08-07 Juergen Vigna <jug@sad.it>
5537 * inset.C (getMaxWidth): recoded and all it's implementations!
5539 * insettext.C (init,setParagraph+constructors): cleanups
5540 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5541 are new and I want do a save/restore of the cursor position which is
5542 not possible anymore.
5544 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5545 (searchBackward): ditto
5546 (selectNextWord): ditto
5548 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5550 * insetlatexaccent.C (checkContents): Add some debug messages
5552 2001-08-07 Juergen Vigna <jug@sad.it>
5554 * insetert.C (read): don't use InsetCollapsable::read as we don't
5555 write the collapsed status anymore only the status.
5558 2001-08-06 Juergen Vigna <jug@sad.it>
5560 * insetert.C (set_latex_font): use LyXText's setFont directly.
5562 * insettext.C (drawFrame): fixed one time more the right position
5563 and size of the frame!
5565 * insetert.C (~InsetERT): hide the dialog.
5566 (showInsetDialog): added implementation
5569 (status): new function for the status of the ERT inset (3-state).
5570 (write): output also the status of the inset for readback!
5571 (read): readback the status if available otherwise use collapsed_.
5573 * insettext.C (edit): small fix of setting the position, which could
5576 * insetert.C (width): implement this function for inlined viewing.
5577 Added minimum width of 10 pixels!
5579 * insetminipage.C (InsetMinipage): just change the colors a bit so
5580 that border/background is a bit more visible. We will remove this
5583 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5584 function for getting the important widths for drawing in various
5585 functions and in LyXText.
5586 (draw): fixed up a bit (frame drawing/clearing)
5588 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5590 * inset.C (convertFont): delete method. not used.
5592 2001-08-03 Juergen Vigna <jug@sad.it>
5594 * insettext.C (setFont): don't call for a draw update if we're just
5595 changing the cursor font!
5597 2001-08-02 Juergen Vigna <jug@sad.it>
5599 * insettext.C (draw): clear the background with the right color if
5600 needed. Update myself if x&max-width changed and return without doing
5601 anything. Let the update code handle the right stuff.
5603 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5604 inside another inset.
5606 2001-08-01 Juergen Vigna <jug@sad.it>
5608 * insetcollapsable.C (update): added an in_update bool so we avoid
5611 * insettabular.C (update): added an in_update bool so we avoid
5614 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5616 (update): added an in_update bool so we avoid reentering.
5618 * insettabular.C (localDispatch): clear col/row selection when doing
5619 something else inside an inset.
5621 * insettext.C (getLyXText): fixed bug when requesting a recursive
5624 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5626 * insetcite.C (latex): Paranoia check. Make sure that there is no
5627 whitespace between the citation keys.
5629 2001-07-31 Juergen Vigna <jug@sad.it>
5631 * inset.h (nodraw): make the set function also const so that this
5632 can be called from inside other const functions.
5634 * insetcollapsable.h: removed inline variable and moved it over
5635 to the only user InsetERT.
5637 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5638 inset opening immediately therein lying insets dialogs!
5640 * insetert.C (localDispatch): set the font also if we don't have any
5641 chars in this paragraph, otherwise if we delete all of em and start
5642 writing we have the wrong font.
5644 (draw): implemented for inline support
5645 (insetButtonRelease): ditto.
5647 2001-07-30 Juergen Vigna <jug@sad.it>
5649 * insettext.C (reinitLyXText): new function to reinit the insets
5650 text after lot's of paragraph changes. Use this instead of the
5651 cache.clear() which is VERY dangerous.
5653 * insetfloat.C (insetButtonRelease): we should only show the dialog
5654 if we press on the label otherwise we have problems to open mouse
5655 button 3 dialogs inside this float (f.ex. of a tabular!)
5657 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5659 * insetert.C: change back to "ERT"
5661 * insetfloat.C: handliign of RMB on label added.
5663 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5665 * insetgraphicsParams.C: #include LOstream.h here.
5667 * insetfoot.h: remove InsetFoot:: qualifier.
5669 2001-07-29 Baruch Even <baruch@lyx.org>
5671 * ChangeLog: Hiding time travel evidence.
5673 * insetgraphicsParams.h:
5674 * insetgraphicsParams.C:
5675 * insetgraphics.C: Added horizontal scale option, it actually scales both
5676 directions since it keeps image proportions.
5678 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5680 2001-07-29 Baruch Even <baruch@lyx.org>
5682 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5683 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5685 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5687 2001-07-29 Baruch Even <baruch@lyx.org>
5689 * insetgraphics.C: Added EPSI to be an alias of EPS.
5691 2001-07-29 Baruch Even <baruch@lyx.org>
5693 * insetgraphics.C: Change GRAPHICS to Graphics.
5694 Changed image conversion rules (documented at the beginning of file).
5696 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5698 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5701 * insetgraphics.C: added a using std::endl directive.
5703 * insetcommand.h (getScreenLabel): removed pure virtual function,
5704 as it duplicates that in InsetButton.
5706 * insetbib.[Ch] (getScreenLabel):
5707 * insetbutton.[Ch] (getScreenLabel):
5708 * insetcite.[Ch] (getScreenLabel):
5709 * insetert.[Ch] (getScreenLabel):
5710 * insetexternal.[Ch] (getScreenLabel):
5711 * insetfloatlist.[Ch] (getScreenLabel):
5712 * insetinclude.[Ch] (getScreenLabel):
5713 * insetindex.[Ch] (getScreenLabel):
5714 * insetlabel.h (getScreenLabel):
5715 * insetparent.[Ch] (getScreenLabel):
5716 * insetref.[Ch] (getScreenLabel):
5717 * insettoc.[Ch] (getScreenLabel):
5718 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5720 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5722 (validate): remove check on "cite" when using natbib.
5724 2001-07-26 Baruch Even <baruch@lyx.org>
5726 * insetgraphics.C (draw): changed casting to be in one place rather than
5727 all over the function.
5730 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5732 * insetgraphicsParams.h:
5733 * insetgraphicsParams.C:
5734 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5736 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5738 * insetfoot.C (validate): Added method to ensure that the
5739 right bit of LaTeX is emitted.
5741 * insetfoot.h: Added validate method to set the correct
5742 LaTeXFeatures bit for the special footnote code.
5744 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5746 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5749 2001-07-27 Juergen Vigna <jug@sad.it>
5751 * inset.h: remove not used font variable in parameter.
5752 removed checkInsertChar in UpdatableInset as it was equal to
5753 the one in Inset and so not needed.
5755 * insetert.C (checkInsertChar): implementation of function
5758 * inset.h: added new function checkInsertChar.
5760 * various files: added c-tor and clone() function.
5762 * insetcollapsable.h: removed clone function here as this should
5763 be only realized in REAL insets and added it to all collapsable
5764 insets! (with the copy-constructor).
5766 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5768 * insetminipage.C (read): handle missing parameters more gracefully
5770 * insetcollapsable.C (read): handel missing collapsed more gracefully
5772 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5774 * insetfloat.C (read): handle missing parameters.
5776 * insettext.C (read): handle old latex end_inset
5778 * insetert.C (setButtonLabel): new method
5779 (init): use it, to set the dynamic label correctly
5782 * Makefile.am (EXTRA_DIST): add files that is not part or the
5785 * insetcollapsable.h: remove autocollapsable (no users), remove
5786 draw_label, change_label_with_text and companion code. Remove args
5788 * insetert.[Ch]: move here instead (only user)
5790 * inset.h: rename private variable name to name_, make
5791 selectNextWord return a const string. make getInsetName return a
5792 string const &. Remove bool from open, add close.
5794 * Makefile.am: don't compile insetlist, insetsection
5797 2001-07-24 Juergen Vigna <jug@sad.it>
5799 * insetert.C (InsetERT): put init after the paragraph initialization,
5800 as otherwise we don't set the draw_label right.
5802 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5803 insets with the mouse without having strange selections.
5804 (edit): if the inset was collapsed and we open it here then put the
5805 cursor always at the beginning of the inset.
5806 (get_new_label): 15 instead of 10 max chars in the label.
5808 * insetert.C (localDispatch): added and handle various stuff we
5809 need to handle here (font setting on paragraph break, not permitted
5810 layout setting, etc.).
5812 * inset.h: added default copy-consturctor and implemented this in
5813 various insets with the change to use this in the clone function!
5815 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5817 * insetminipage.C (InsetMinipage): set background color to red :)
5819 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5821 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5822 draw frame mode is LOCKED.
5824 * insetcollapsable.C (edit):
5825 (insetButtonRelease): set update status to full when
5828 * insettext.C (clearInset):
5829 * insettabular.C (draw):
5830 * insetlatexaccent.C (draw): honor background color.
5832 * inset.h: new member background_color_, initialized to
5835 * inset.C (backgroundColor): new method.
5836 (setBackgroundColor): new method.
5838 * insetert.C (init): new method, called by the ctors.
5839 (InsetERT): when inserting contents, make sure the font is
5842 * insetnote.C (InsetNote): when inserting content, remove trailing
5844 (init): set background color to LColor::note
5846 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5848 * insetcollapsable.C: adjust
5850 * insetbutton.C: adjust
5852 2001-07-23 Juergen Vigna <jug@sad.it>
5854 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5855 parameter on the _collapsed function (was not needed) and call
5856 always width_collapsed().
5858 * insetert.C (InsetERT): use setLabel with "true" flag.
5860 * insetcollapsable.C: modified various functions to set the draw_label
5861 string right in any condition.
5862 (setLabel): added a bool parameter to set change_label_with_text.
5864 * insetcollapsable.h: added draw_label string which is set to the
5865 actual drawn label-string, while label is the original static label
5866 of this collapsable inset. Added bool change_label_with_text to set
5867 if we want that the label changes to the start of the InsetText's
5868 text when collabpsed. You can set this flag with the setLabel funciton.
5869 Added bool inlined for inlined collapsable insets, but not handled
5872 * insetcollapsable.C (get_new_label): added should get a new label
5873 from the InsetText beginning (for now 10 chars).
5875 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5877 * insetquotes.C (latex): fix the handling of french double quotes
5878 when not using the french pachage.
5880 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5882 * insetcollapsable.h: make WidthCollapsed mutable.
5884 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5885 InsetPrintIndex returns INDEX_PRINT_CODE.
5887 * inset.h: add INDEX_PRINT_CODE
5889 * insetcollapsable.C (draw): init widthCollapsed if necessary
5892 * insetquotes.C (width): use the local language, not the document
5895 (dispString): add additional spacing for all french languages,
5897 (validate): make it work when there is no default language
5899 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5901 * insetnote.C (init): new method, called by the constructors
5902 (InsetNote): new constructor with contents passed as a string
5904 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5906 * insetfootlike.C (insetAllowed): disallow float in footlike.
5908 * insetert.C (InsetERT): add collapsed argument to the constrctor
5911 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5913 * insetindex.h: shut off warning
5915 2001-07-20 Juergen Vigna <jug@sad.it>
5917 * insetcollapsable.C (update): recoded hopefully works now!
5919 2001-07-19 Juergen Vigna <jug@sad.it>
5921 * most files: implemented the below new introduced function.
5923 * inset.h: added new edit(BufferView *, bool front) method to be able
5924 to enter an inset from the front/back without knowing x/y positions
5925 and baselines inside the inset. So I just can tell the inset activate
5926 me and set the cursor on the front/back of yourself.
5928 2001-07-18 Juergen Vigna <jug@sad.it>
5930 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5931 is given to the InsetText.
5932 (insetButtonPress): ditto
5933 (insetButtonRelease): ditto
5934 (insetMotionNotify): ditto
5936 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5938 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5939 LIGATURE_BREAK, since the name is so stupid.
5941 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5943 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5944 the default InsetCollapsable methods. I.e., it can insert anything.
5945 (write) output the name of the inset, not some silly hack for
5946 compatability with the old InsetInfo.
5948 * insetinfo.[Ch]: removed.
5949 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5950 now collapsable, but functionality is otherwise identical to InsetInfo.
5952 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5954 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5956 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5959 * insetquotes.C: general cleanup
5960 (dispString): add spaces inside french double quotes.
5961 (latex): ditto. Moreover, treat first the case where the frenchb
5962 or french options have been given.
5964 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5966 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5969 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5971 * figinset.C (RegisterFigure): Print debug message only when
5972 current_view is available.
5974 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5976 * many files: update to match the change below
5978 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5979 implement the version which takes an inset here.
5981 * insetcollapsable.[Ch]: implement open and isOpen
5983 * inset.h: remove insertInsetAllowed from Inset
5984 (open): new method, to open or close an inset
5985 (isOpen): returns the status of an inset
5986 (isCollapsable, colapse): removed
5988 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5990 * insetquotes.C (dispString): display french guillemets when using
5993 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5995 * insetcollapsable.h: remove bogus return statements
5997 2001-07-18 Juergen Vigna <jug@sad.it>
5999 * insettabular.C (selectNextWord): fixed spellchecking for the
6000 first cell of a tabular (wasn't entered!)
6001 (getLyXText): changed to enter automatically insettext and return
6002 it's LyXText if we're locked.
6004 2001-07-17 Juergen Vigna <jug@sad.it>
6006 * various files: implemented the below functions.
6008 * inset.h: added functions
6009 - virtual string selectNextWord(BufferView *, float & value) const;
6010 - virtual void selectSelectedWord(BufferView *) { return; }
6011 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6012 needed for spellchecking correctly!
6014 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6016 * insetert.C (latex): write out all paragraphs.
6018 2001-07-17 Baruch Even <baruch@lyx.org>
6020 * insetgraphics.C (draw): Removed unneeded casts.
6022 2001-07-16 Juergen Vigna <jug@sad.it>
6024 * insettext.C (update): fixed small oversight (reset lt to 0).
6026 2001-07-14 Baruch Even <baruch@lyx.org>
6029 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6031 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6033 Consistent use of Lsstream.h:
6034 * figinset.C: removed using std::ostringstream directive.
6036 * insetgraphics.C (createLatexOptions):
6037 * insetinclude.C (unique_id):
6038 std::ostringstream -> ostringstream.
6039 * insettext.C (localDispatch): std::istringstream -> istringstream.
6041 2001-07-13 Juergen Vigna <jug@sad.it>
6043 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6045 * insetcollapsable.C (getLockingInset): ditto.
6047 2001-07-12 Juergen Vigna <jug@sad.it>
6049 * insetcollapsable.h: added implementation of new function for
6052 * various files: added implementation of new insertInsetAllowed-func
6053 and redone the function a bit more.
6055 * inset.h: added isCollapsable(), bool collapsed(),
6056 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6058 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6060 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6061 LyXText which is marked for removal while we're using it!
6063 * insettext.h: added private LyXText * lt to use it to assure we are
6064 not deleting our LyXText while we're using it!
6066 2001-07-11 Juergen Vigna <jug@sad.it>
6068 * insettext.C (insertInset): check if we are before the inset after
6069 inserting it! This check IS needed. Remove the Undo-Call as it is
6070 called in LyXText::insertInset!
6072 * insettext.h: added struct InnerCache.
6074 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6075 that we ONLY delete the LyXText in the getLyXText() routine. So we
6076 are sure we don't delete LyXText while someone is working with it!
6078 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6080 * insetexternal.C: (*it). -> it->
6081 * insettext.C: ditto
6083 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6085 * insetcollapsable.C (edit): always open collapsed insets (even if
6086 they are not autocollapsable)
6088 * insetcommand.C (operator=): simplify.
6090 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6092 * insetert.C (latex): handle META_NEWLINE
6094 2001-07-09 Juergen Vigna <jug@sad.it>
6096 * insetert.h: a normal InsetText can insert insets, but we won't.
6098 * inset.h: return default "false" on insertInsetAllowed and implement
6099 this function where a returnvalue != "false" is needed.
6101 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6103 * insetert.C (InsetERT): new contructor
6105 2001-07-06 Juergen Vigna <jug@sad.it>
6107 * a lot of files: added implementation of the below new functions
6108 and the change to clone(). Also the call of the new undo-functions
6111 * inset.h: added an inset_id, added functions getParFromID,
6112 getInsetFromID, firstParagraph, cursor and id functions, added
6113 bool same_ids to clone function.
6115 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6117 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6118 of BufferView * and shared_ptr<LyXText>
6120 2001-07-05 Juergen Vigna <jug@sad.it>
6122 * insettext.C (clear): deleted also the cache not only LyXText.
6123 (setParagraphData): ditto.
6125 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6127 * insetfloat.C (latex): let the specific placement take presedence
6128 if set, otherwise choose document placement if set, otherwise just
6129 use float default placement.
6131 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6133 * insettext.C (localDispatch): call CutAndPaste::'s static method
6136 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6138 * insetbib.C: no meed to include forms.h here.
6140 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6142 * insettext.C: added using std::make_pair directive.
6144 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6146 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6148 (deleteLyXText): ditto
6149 (resizeLyXText): ditto
6151 2001-07-02 Juergen Vigna <jug@sad.it>
6153 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6154 following calls are only returned the right pointer without the over
6155 head to search in the map.
6156 (various funcs): reset the cached_bview variable as this signs that
6157 the cache is not valid anymore.
6159 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6161 * insettabular.C (clone): do not copy the LyXTabular twice
6163 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6165 * insettext.h (TEXT): delete method
6167 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6169 * insetmarginal.C (latex):
6170 * insetfoot.C (latex): fix spacing of notes in LaTeX
6172 * insettext.C (localDispatch): use .c_str() on istringstream
6173 constructor argument.
6175 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6180 * inseturl.C: fix method names in these to begin
6181 with small char too, so they inherit
6183 2001-06-28 Juergen Vigna <jug@sad.it>
6185 * insettext.C (setFont): fixed font settings using toggleFree()
6186 instead of setFont().
6188 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6190 * Change a lot of method names to begin with a small char.
6191 Changes to a lot of files because of this.
6193 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6195 * insetfloatlist.C (Write): std:: qualify ostream
6198 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6202 * insetgraphics.C: send debug output to Debug::INFO instead of
6205 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6208 * insettabular.C (getStatus): update to use func_status
6210 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6212 * insetref.C (DocBook): added support for cross-references without
6215 2001-06-26 The LyX Project <jug@sad.it>
6220 * insetlabel.h: removed escape method and moved it to
6223 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6225 * insettabular.C (getMaxWidth): do the speedup in a different way,
6228 2001-06-24 The LyX Project <Asger>
6230 * insettabular.C (getMaxWidth): We cache a mapping from
6231 inset to cell in order to speed this method up.
6233 2001-06-24 The LyX Project <Asger>
6235 * insettext.C: Optimized InsetText::draw or something.
6237 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6239 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6241 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6243 * inset.h: name change from lyxinset.h
6245 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6247 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6249 2001-06-14 Juergen Vigna <jug@sad.it>
6251 * insettext.C (draw): removed warnings.
6253 2001-06-13 Juergen Vigna <jug@sad.it>
6255 * insettabular.C (nodraw): only go down the tree if we don't have
6256 that flag set otherwise it's obvious that we don't want to draw.
6257 (LocalDispatch): do also an update if we have an undispached result.
6259 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6262 * insetgraphicsParams.C:
6263 * insettext.C: removed // -*- C++ -*- as first line.
6265 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6267 * lyxinset.h (resizeLyXText): shut off warning about unused
6270 2001-06-07 Juergen Vigna <jug@sad.it>
6272 * insettext.C (resizeLyXText): honor the new force flag.
6274 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6276 * insettabular.C (deleteLyXText): new function
6278 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6286 * insetcollapsable.C:
6287 * insetcaption.C: LColor tidy
6289 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6291 * figinset.C: fix typo
6293 2001-06-01 Juergen Vigna <jug@sad.it>
6295 * insettabular.C (resetPos): small hack so that scroll is not set to
6296 0 when we are in the last column of a tabular. This is a problem we
6297 have because of constats 20 offset on both directions, so this can
6298 cause on the limit an endless loop.
6300 * insettext.C (SetFont): forgot that we can have locking insets ;)
6302 2001-05-31 Juergen Vigna <jug@sad.it>
6304 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6306 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6308 * figinset.C: add using std:: directive for the C functions which
6311 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6313 * insetfloat.C (Write): write out wide info
6314 (Read): read the wide info
6315 (Latex): use the wide info when creating latex.
6317 * insettext.C: adjust
6319 * insetgraphics.[Ch] (statusMessage): change to return string
6323 * figinset.C (runqueue): add std::
6326 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6328 * insetcite.C (Ascii): add std:: qualifier
6330 2001-05-28 Juergen Vigna <jug@sad.it>
6332 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6333 a endless-width inset (maxWidth < 0).
6334 (Edit): change language only if not equal.
6336 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6338 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6340 2001-05-16 Juergen Vigna <jug@sad.it>
6342 * insettext.C (selectAll): added
6343 (clearSelection): added
6345 * insettabular.C (SetFont): now we may set a font on a whole selection!
6346 (getSelection): added helper function.
6348 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6350 * insetcite.C (Ascii): Add method.
6352 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6355 * insetbib.C: fix path for OS/2 & Win32
6357 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6359 * insetfoot.C (Latex): don't use % after footnote.
6361 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6363 * insettext.C (Read): use clear
6364 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6366 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6368 * insetfloatlist.h: add a bunch of std:: qualifiers.
6370 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6372 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6373 FLOAT_LIST_CODE, renumber code list.
6375 * insettoc.C (getScreenLabel): remove support for float lists
6379 * insetfloatlist.[Ch]: new files
6381 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6383 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6385 * insettabular.C (LocalDispatch):
6386 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6389 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6391 * insettext.C: remvoe !NEW_INSETS cruft
6393 * insettabular.C: remove !NEW_INSETS cruft
6395 * insetcollapsable.h: remove !NEW_INSETS cruft
6397 * insetbib.C: remove !NEW_INSETS cruft
6399 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6401 * insettoc.C: hack to make listof algorithm work
6403 2001-04-20 Juergen Vigna <jug@sad.it>
6405 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6407 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6409 * insetquotes.C (Latex): improve the guard against
6410 unwanted !` and ?` ligatures. This should really be done in
6411 another place (to catch all this ligatures at low-level).
6413 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6415 * insettext.C (init): remvoe leftovers from cursor_visible change
6416 (draw): use c++ cast
6417 (LocalDispatch): dispatch LFUN_MESSAGE
6419 * insettabular.C (InsetTabular): remove leftovers from
6420 cursor_visible, and scoped_ptr changes
6421 (draw): use c++ cast
6423 * insetcollapsable.C (draw): use c++ cast
6425 * ExternalTemplate.h: inherit privaely from noncopyable
6426 * insetcommand.h: ditto
6427 * insetinclude.h: ditto
6429 2001-04-16 Allan Rae <rae@lyx.org>
6431 * insettoc.C (Ascii):
6432 * insettext.C (draw):
6433 * insettabular.C (setPos):
6434 * insetminipage.C (Read):
6435 * insetfloat.C (placement):
6436 * insetcaption.C (Ascii, DocBook):
6437 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6438 an unrecognised preprocessor directive. So ensure they're wrapped.
6440 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6443 * insetexternal.C: set view on Clone. Add _ to private members.
6445 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6447 * insettext.C (InsetText): fix new
6448 (InsetText): reindent some, simplify deletion of par list
6449 (clear): simplify deletion of par list, fix new
6450 (SetParagraphData): simplify deletion of par list
6452 * insettabular.[Ch] (getLabelList): implement new method
6454 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6456 * lyxinset.h: do not include gettext.h...
6464 * insetlatexaccent.C:
6468 * inseturl.C: ... and do it here instead
6470 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6472 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6474 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6476 * insetcollapsable.[Ch] (getLabelList): implement
6478 * insettext.[Ch] (getLabelList): implement
6480 * insettext.h: reindent
6482 * insettabular.h: make tabular a scoped_ptr
6484 * insettext.C (init): adjust for cursor_visible
6485 (ToggleInsetCursor): constify asc and desc, font, adjust for
6487 (ShowInsetCursor): constify asc and desc, font, adjust for
6489 (HideInsetCursor): adjust for cursor_visible
6491 * insettabular.C: reindent some
6492 (InsetTabular): adjust for scoped_ptr and cursor_visible
6493 (InsetTabular): ditto
6494 (~InsetTabular): delete delete
6495 (Clone): adjust for scoped_ptr
6496 (Read): constify old_format, adjust for scoped_ptr, move init of
6498 (draw): constify tx, localize loop vars.
6499 some other localization of variables, remove double initilizatons.
6501 * insetfoot.C: remove using std::ostream, add ostream where needed
6503 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6505 * lyxinset.h: some reindentaion, use initializer list for
6507 UpdatableInset: make cursor_visible a private var add
6508 public isCursorVisible(), add protected toggleCursorVisible() and
6509 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6511 * insettoc.C: remvoe using decl
6512 (getScreenLabel): make cmdname donst
6515 (Ascii): don't use endl
6517 * insetfootlike.C: remove using decl at file scope and add std::
6519 * insetmarginal.C: ditto
6521 * insetfoot.C: some reformatting
6523 * insetfloat.C (InsetButtonRelease): adjust the hit area
6525 * insetert.C (SetFont): some reformatting
6527 * insetcollapsable.C: some reformatting and constification
6528 (Clone): comment out.
6529 * insetcollapsable.h: some reformatting
6530 (Clone): comment out.
6535 2001-03-30 Juergen Vigna <jug@sad.it>
6537 * insetcollapsable.h: changen *inset to be a InsetText inset.
6539 * some files: changed to reflect the above change.
6541 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6543 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6544 InsetExternal::Params.
6545 Added operator==() and operator!=() for the Params struct.
6547 2001-03-29 Juergen Vigna <jug@sad.it>
6549 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6552 * insetminipage.C: removed widthp_ and all it's functions and changed
6553 to use new %-lengths of LyXLength.
6555 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6557 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6559 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6561 * insetgraphicsParams.C (operator!=): new function, needed by the
6562 ControlGraphics class.
6564 2001-03-28 Juergen Vigna <jug@sad.it>
6566 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6567 (checkAndActivateInset): don't use the values returned from
6568 call to bv->checkInsetHit.
6570 * insetminipage.C (Clone): set special minipage values.
6572 * insetcollapsable.C (draw): changed to draw the button in the
6573 upper left corner outside the textinset.
6574 (ascent): changed because of different drawing
6578 (InsetButtonPress): ditto
6579 (InsetButtonRelease): ditto
6580 (InsetMotionNotify): ditto
6582 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6584 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6588 2001-03-26 Juergen Vigna <jug@sad.it>
6590 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6592 * insettext.C (ShowInsetDialog): implemented above function.
6594 * insettabular.C (ShowInsetDialog): ditto
6596 * insetminipage.C (ShowInsetDialog): ditto
6598 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6600 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6601 InsetInclude::Params. Don't store a buffer * in Params. Store the
6602 master file name instead.
6604 2001-03-23 Juergen Vigna <jug@sad.it>
6606 * insetcollapsable.C (InsetMotionNotify):
6607 (InsetButtonRelease):
6608 (InsetButtonPress): fixed y-offset (minipages).
6610 * insettext.C (draw): force a FULL update if cleared == true.
6612 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6613 routine to draw the minipages on its position-flag.
6614 (InsetInInsetY): give back the right y position, because of minipage
6617 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6620 * insetfloat.C (DocBook): docbook export code.
6622 2001-03-22 Juergen Vigna <jug@sad.it>
6624 * insetminipage.C (getMaxWidth): added function to set the drawing
6626 (Read): should work now!
6628 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6629 if we create a new inset.
6631 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6633 * figinset.C (fl_set_preemptive_callback): moved definition outside
6636 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6638 * insetminipage.C (Read): prepare for reading of minipage arguments.
6640 2001-03-18 Baruch Even <baruch@lyx.org>
6642 * insetgraphics.C: Minor cleanups of the comments and code.
6644 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6646 * insetminipage.C (InsetMinipage): default to not collapsed
6648 2001-03-16 Juergen Vigna <jug@sad.it>
6650 * insetminipage.C (width): modified with to be a string
6651 (widthp): added widthp (for % width) support functions.
6652 (InsetButtonRelease): added to open the options dialog on button==3.
6653 (~InsetMinipage): added to hide the dialog.
6655 * insetminipage.h: added hideDialog signal
6657 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6659 * insetminipage.h: change the order or Position to match
6660 LyXParagraph::MINIPAGE_ALIGNMENT
6662 * several files: remvoe CXX_WORKING_NAMESPACES
6664 * ExternalTemplate.h: noncopyable is in namespace boost
6665 * insetinclude.h: ditto
6666 * insetcommand.h: ditto
6668 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6670 * insettext.C (Edit): #else# -> #else.
6671 * insettoc.C: added using directive.
6673 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6675 * insetminipage.h: add pos, inner_pos, width and height. + getters
6676 and setters for all of them.
6678 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6680 * insetinclude.C (Latex): Do not exit when the textclass of the
6681 included file differ from the textclass of the parent file.
6683 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6685 * ExternalTemplate.C (read): the reading of external insets now checks
6686 for \end_inset and removes it form the input stream.
6688 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6690 * ExternalTemplate.h:
6691 * ExternalTemplate.C:
6693 * insetexternal.C: move form to GUII
6695 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6698 * insetinclude.C: add InsetIncludeParams, use
6699 composition rather than derivation of InsetCommand
6701 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6703 * insettoc.C (Ascii): use the Buffer typedefs
6705 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6707 * insettoc.C (Ascii): implement for dynamic number of lists
6709 * insetcaption.[Ch]: update from new_insets branch
6710 * insetfloat.[Ch]: ditto
6712 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6715 * figinset.C: use new File Dialog
6717 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6719 * insettext.C: changes becuase of ParagraphParameters.
6721 2001-02-28 Baruch Even <baruch@ev-en.org>
6723 * insetgraphics.C (updateInset): Changed due to the change in
6726 2001-02-26 Juergen Vigna <jug@sad.it>
6728 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6729 handled in LyXText).
6731 2001-02-23 Juergen Vigna <jug@sad.it>
6733 * insettext.C (draw): some small repainting fixes.
6734 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6736 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6737 should be) and not an int.
6739 * insettabular.C (LocalDispatch): ditto
6741 * insettext.C (LocalDispatch): ditto
6743 * insetcollapsable.C (LocalDispatch): ditto
6745 2001-02-22 Juergen Vigna <jug@sad.it>
6747 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6748 DISPATCH it and we don't have a locking_inset.
6750 2001-02-21 Baruch Even <baruch@ev-en.org>
6752 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6753 instead of GraphicsCacheItem *.
6755 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6757 * insetcollapsable.C (getLyXText): add const qualifier to second
6760 2001-02-22 Juergen Vigna <jug@sad.it>
6762 * insettext.C (getLyXText): honor the recursive parameter.
6763 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6765 * inset.C (getLyXText): added bool recursive parameter.
6767 * insettext.C (SetUpdateStatus): or the update codes.
6768 (draw): check need_update with &.
6769 (InsetButtonPress): set no_selection to not put a selection when
6770 entering an inset and it is redraws in another spot.
6772 * insettext.h: made need_update an int.
6774 2001-02-20 Baruch Even <baruch@ev-en.org>
6777 * insetgraphisc.C: Changed to use better semantics when loading images
6778 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6780 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6784 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6785 consistent with InsetTabular.
6787 2001-02-19 Juergen Vigna <jug@sad.it>
6789 * insettabular.C (LocalDispatch): implement PAGE up/down.
6791 * insettext.C (draw): clear all of it on need_update==INIT too!
6793 * insettabular.C (InsetUnlock): always clear the selection.
6795 * inset.C (scroll): normally we only want to scroll the inset until
6796 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6798 2001-02-14 Juergen Vigna <jug@sad.it>
6800 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6801 (resetPos): fixed scroll behaviour.
6802 (LocalDispatch): do an update if moving cursor inside a table cell
6803 requests a scroll of the tabular.
6805 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6807 * insettext.C (textWidth): constify local var
6809 * insettabular.C: small cleanup.
6811 * insetfoot.C (Latex): constify local var
6813 * insetcollapsable.C: small cleanup.
6815 * figinset.C (runqueue): use compare instead of strcmp
6817 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6820 * insetinfo.C: remove cruft
6822 2001-02-14 Juergen Vigna <jug@sad.it>
6824 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6826 2001-02-13 Juergen Vigna <jug@sad.it>
6828 * insettext.C (InsertInset): don't move left (is this right?)
6830 * insettabular.C (LocalDispatch): use of the no_draw variable
6832 * insettabular.h: new no_draw variable to stop redraw
6834 * insettabular.C (TabularFeatures): fixed update for alignment change
6836 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6840 * insetbib.C: move dialogs to frontends/
6842 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6844 * insettext.C (LocalDispatch): Restore the language if the inset
6847 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6849 * insettext.C (moveRightIntern): Update the selection cursor.
6850 (moveLeftIntern): Ditto.
6852 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6854 * Makefile.am: remove BoundingBox.h
6856 * BoundingBox.h: removed
6858 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6860 * insettext.C (LocalDispatch): Update selection cursor when moving
6861 cursor to the right.
6862 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6863 (moveLeftIntern): Ditto.
6865 2001-02-05 Baruch Even <baruch.even@writeme.com>
6867 * insetgraphics.C: Updated automatic image conversion, it now goes into
6868 temporary directory instead of with the image itself.
6870 2001-01-21 Baruch Even <baruch@ev-en.org>
6872 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6873 to EPS or PNG when needed (support bitmap graphics).
6875 2000-11-02 Baruch Even <baruch@ev-en.org>
6878 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6879 and removal of commented out code.
6881 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6883 * insetbib.C (callback): Update citations if the key has changed.
6885 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6887 * insetbib.C (InsetBibKey): Better computation of default key.
6888 (getScreenLabel) Show both the key and the label.
6889 (getBibLabel): New method.
6890 (callback): Force a redraw if the inset have been changed.
6892 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6894 * insetref.C (getType, getName): Move methods from
6895 src/frontends/xforms/FormRef.C.
6897 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6899 * insettabular.C: Various improvements (use only one dummy position).
6901 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6903 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6904 par->bibkey->width. This fixes the crashes when running without
6905 gui or when having included documents.
6907 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6909 * insetcommand.C (getAsString, setFromString): Cleanup.
6911 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6913 * insetref.C: Add the array InsetRef::types that contains
6914 information about all supported reference types.
6916 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6918 * lyxinset.h: remove trailing comma in enum.
6920 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6922 * insettext.C: kill LyXBell.