1 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * insetinclude.C (validate): set/reset features.buffer_ when
6 2004-04-07 Angus Leeming <angus@localhost.localdomain>
8 * insetexternal.C (priv_dispatch):
9 * insetinclude.C (priv_dispatch): prevent crash by invoking
10 InsetOld::priv_dispatch at the end of the switch, rather than
13 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
16 * insetbranch.C: 'assign' to open/close branch inset according to
17 selection; also print content on closed branch button
19 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
21 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
22 $$RelPath_Master, $$RelPath_Parent, $$Extension,
23 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
25 * ExternalSupport.C (updateExternal): use absolute and output
26 filename where appropriate
28 2004-04-05 André Pönitz <poenitz@gmx.net>
30 * insetbase.h: use LCursor & in notifyCursorLeave
32 2004-04-05 Angus Leeming <leeming@lyx.org>
34 * insetgraphics.C: remove unused header file "lyxrc.h".
36 * render_graphic.C: squash bug 1372: Misleading graphics label when
37 deactivating lyx view.
39 2004-04-05 Angus Leeming <leeming@lyx.org>
49 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
51 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
53 * insetfloat.C (read): fix yesterday's float fix.
54 * insetwrap.C (read): apply the fixed float fix.
56 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
58 * insetfloat.C (read): fix reading of float params
61 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
63 * insettext.C (edit): comment the call to updateLocal (dangling now)
64 * insettext.h: add allowSpellCheck() returning true
66 2004-03-31 Angus Leeming <angus@localhost.localdomain>
68 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
70 2004-03-31 Angus Leeming <leeming@lyx.org>
72 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
73 the cursor out of an inset.
75 * insetbranch.C (priv_dispatch):
76 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
77 use getOutOfInset to push the cursor out of the inset when
80 2004-03-30 Angus Leeming <leeming@lyx.org>
82 * insetbase.[Ch] (translate): new static member function, returns
83 an InsetBase::Code corresponding to the input string.
85 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
87 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
88 so that it opens the inset if it refers to the currently active
91 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
93 * insetfloat.C (addToToc): use par_const_iterator_begin and
94 par_const_iterator_end.
96 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
98 * insetbibtex.[Ch]: bibtopic support.
100 * insetfloat.[Ch]: add param \sideways {true|false}
101 (support for sideways floats from rotating.sty).
103 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
105 * insettext.[Ch]: add a default ctor. implement const version of
111 * insetwrap.C: adjust
113 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
115 * insettext.h: add insetAllowed returning true by default (fixing
116 vanishing insets problem)
118 * insettext.C (draw): handle the responsability of adding the
119 ouside offset to collapsable. Clean code a bit.
121 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
122 from insettext correctly, solve a couple of off-by-one drawing
125 2004-03-25 Angus Leeming <leeming@lyx.org>
127 * insetcaption.C (draw): squash warning about unused variable.
129 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
131 * ExternalSupport.C: use the master buffer's temp dir
132 * insetgraphics.C (latex): make relative filename relative to the
134 * insetgraphics.C: use the master buffer's temp dir
135 * insetinclude.C (masterFilename): new function
136 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
137 is always true if loadIfNeeded() returns true)
139 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
141 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
142 set its parent to the current buffer.
143 (latex): use the tmppath of the master buffer, not just the parent
144 buffer (makes a difference with more than one level of include
145 insets). If the file name is relative write in the .tex file a
146 name relative to the master buffer directory.
148 * insetinclude.C: rename masterFilename to parentFilename (this
149 points to the direct parent)
151 2004-03-25 André Pönitz <poenitz@gmx.net>
153 * inset.[Ch]: remover owner
155 * insetcollapsable.[Ch]: derive from InsetText instead having such a
163 * insetcharstyle.[Ch]:
171 * insetwrap.C: adjust
173 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
175 * insetquote.C: use opening quote after '[' char.
177 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
179 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
182 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
184 * insetcite.[Ch]: support jurabib.
186 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
188 * insetcite.C: Support second \cite option.
191 * insetcommandparams.[Ch]: add second optional argument.
193 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
195 * insetcollapsable.C (lfunMouseRelease): right mouse button only
196 shows the inset dialog.
198 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
200 * insetlabel.[Ch]: remove them
201 * Makefile.am: adjust
203 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
205 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
207 * insetinclude.C (latex): show a GUI warning if textclasses don't
209 * insetinclude.C: use mangledFilename() for temp files
210 * insetgraphics.C (readInsetGraphics): remove version check, since
211 the graphics inset has no own fileformat number anymore
213 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
215 * insetquotes.[Ch]: added new member that allows direct access
216 to single/double quotation marks.
218 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
220 2004-02-16 André Pönitz <poenitz@gmx.net>
223 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
224 implicitly assume 'DispatchResult(true, true) with exception of
225 InsetBase::priv_dispatch which does the equivalent of
226 'retrun DispatchResult(false)'
228 * inset*.[Ch] (priv_dispatch): adjust
230 * insettabular.[Ch]: remove remains of the 'update' mechanism,
231 simplify cursor moving function,
232 re-enable horizontal scrolling for large tables
234 2004-02-13 André Pönitz <poenitz@gmx.net>
236 * insettabular.[Ch]: some work after IU
238 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
240 * inset.C (setPosCache): switch to absolute coords in insets
241 * insettext.[Ch] (draw, drawFrame): adjust
242 * insetcollapsable.C (draw): adjust
245 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
247 * insettext.C (edit):
248 (updateLocal): use the cur argument instead of the global cursor
249 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
251 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
253 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
255 * insetfloat.C (validate): "H" -> 'H' in call to contains
257 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
259 2004-01-30 André Pönitz <poenitz@gmx.net>
263 * insetcollapsable.[Ch]:
266 * insetgraphics.[Ch]:
271 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
274 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
276 * insettabular.C: add using statement for std::vector, remove
277 std:: where using was already used.
279 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
281 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
283 * insetinclude.C (validate): use feautures.nice() instead of
286 2004-01-20 André Pönitz <poenitz@gmx.net>
289 * insetbase.[Ch]: move stuff from mathcursor here.
295 * insetcharstyle.[Ch]:
296 * insetcollapsable.[Ch]:
299 * insetexternal.[Ch]:
301 * insetgraphics.[Ch]:
310 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
312 2004-01-15 André Pönitz <poenitz@gmx.net>
319 * insetcharstyle.[Ch]:
320 * insetcollapsable.[Ch]:
323 * insetexternal.[Ch]:
325 * insetgraphics.[Ch]:
334 * updatableinset.[Ch] (priv_dispatch et al): change signature.
336 2004-01-08 André Pönitz <poenitz@gmx.net>
338 * insetcollapsable.[Ch]:
341 * updatableinset.h: use cell index info from global cursor.
343 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
345 * insetnote.C (InsetNoteParams::write): write label only once
347 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
349 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
351 get rid of the SameName functor
353 * insettabular.C: improve the functor.
355 2003-12-29 Angus Leeming <leeming@lyx.org>
357 * insetexternal.C (setParams): update defaultTemplateName.
359 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
361 * insetbox.C: Use term "Box" in button label
363 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
365 * insetcharstyle.C: get getDrawFont working again
367 2003-12-15 André Pönitz <poenitz@gmx.net>
370 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
372 2003-12-12 Angus Leeming <leeming@lyx.org>
374 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
376 (InsetBranchParams): remove the branchlist hack.
377 (isBranchSelected): new function, used to decide whether to
378 print each output format. Also used by InsetList.
379 (read, string2params): repair my own breakage ;-)
381 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
383 * insetminipage.[Ch]: remove from repository.
385 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
388 * insetcollapsable.[Ch]: Move all CollapseStatus code from
389 insetert to insetcollapsable; introduce virtual function
390 setButtonLabel and invoke it from collapsable
392 2003-12-12 Angus Leeming <leeming@lyx.org>
394 * insetinclude.C (draw): cache x,y and so enable the
397 2003-12-12 Angus Leeming <leeming@lyx.org>
399 * mailinset.C (print_mailer_error): tidy up the output.
401 2003-12-11 Angus Leeming <leeming@lyx.org>
403 * mailinset.[Ch] (print_mailer_error): new helper function.
405 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
406 calling InsetCommandMailer.
407 (InsetCommandMailer::string2params): pass the name of the dialog.
409 * insetbibitem.[Ch] (d-tor):
410 * insetbibtex.[Ch] (d-tor):
411 * insetcite.[Ch] (d-tor):
412 * insetfloatlist.[Ch] (d-tor):
413 * insetindex.[Ch] (d-tor):
414 * insetlabel.[Ch] (d-tor):
415 * insetref.[Ch] (d-tor):
416 * insettoc.[Ch] (d-tor):
417 * inseturl.[Ch] (d-tor): removed.
418 Hiding the dialog is handled by InsetCommand.
420 * insetbibtex.[Ch] (draw, metrics):
421 * insetfloatlist.[Ch] (draw, metrics):
422 * insetindex.[Ch] (draw, metrics): removed.
423 Drawing is handled by InsetCommand.
425 * insetbibitem.[Ch] (priv_dispatch):
426 * insetbibtex.[Ch] (priv_dispatch):
427 * insetcite.[Ch] (priv_dispatch):
428 * insetfloatlist.[Ch] (priv_dispatch):
429 * insetindex.[Ch] (priv_dispatch):
430 * insetlabel.[Ch] (priv_dispatch):
431 * insettoc.[Ch] (priv_dispatch):
432 * inseturl.[Ch] (priv_dispatch): removed or simplified.
433 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
434 LFUN_INSET_DIALOG_SHOW.
436 * insetbox.C (string2params):
437 * insetbranch.C (string2params):
438 * insetert.C (string2params):
439 * insetexternal.C (string2params):
440 * insetfloat.C (string2params):
441 * insetinclude.C (string2params):
442 * insetminipage.C (string2params):
443 * insetnote.C (string2params):
444 * insetvspace.C (string2params):
445 * insetwrap.C (string2params): over-hauled.
447 2003-12-10 Angus Leeming <leeming@lyx.org>
449 * insetexternal.[Ch]: add a draft option and respect it when
452 2003-12-10 Angus Leeming <leeming@lyx.org>
454 * insetbox.C: (read, write): now prepend the inset contents with
455 'Box' to identify the inset as a box inset.
457 * insetbox.h: move the translators out of sight.
459 2003-12-10 Angus Leeming <leeming@lyx.org>
461 * insetert.C (string2params): clean-up using the new lyxlex interface.
463 * insetexternal.C: ensure that InsetExternalParams has a default
464 template, 'RasterImage'.
466 2003-12-10 Angus Leeming <leeming@lyx.org>
468 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
469 to an enum. Ensuing clean-ups through out the class.
470 (read, write): now prepend the inset contents with 'Note' to identify
471 the inset as a note inset.
473 2003-12-10 Angus Leeming <leeming@lyx.org>
475 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
476 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
478 2003-12-10 André Pönitz <poenitz@gmx.net>
483 * insettext.[Ch]: remove unused insetInset()
485 * insetert.C: disable some LFUNs
487 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
489 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
491 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
493 2003-12-04 Angus Leeming <leeming@lyx.org>
495 * insetexternal.C (draw): update the xo_, yo_ cache.
497 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
499 (RotationDataType): new helper struct wrapping the
500 RotationData::OriginType enum.
502 2003-12-03 André Pönitz <poenitz@gmx.net>
504 * inset.h: remove getParagraphs()
506 * insetcollapsable.[Ch]:
510 * insettext.C: use getText() instead of getParagraphs()
512 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
514 * insetert.C: fix label text updating bug
516 2003-12-02 Angus Leeming <leeming@lyx.org>
518 * insetvspace.[Ch] (space): new member function. Make space_ private.
519 (read): use the new, simpler lyxlex syntax.
521 2003-12-01 André Pönitz <poenitz@gmx.net>
523 * insetcollapsable.[Ch]:
524 * insetert.[Ch]: move 'inline' state to InsetCollapsable
526 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
528 * insetvspace.C (read): handle 'end_inset' token.
530 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
532 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
534 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
536 * insetcollapsable.[Ch]:
538 * insetcharstyle.C: place inset content on the button when
541 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
543 * insetvspace.C: remove VSpace::NONE; increase inset width
545 2003-12-01 André Pönitz <poenitz@gmx.net>
547 * insetbase.h: whitespace
549 * inset.[Ch]: remove latexTextWidth
550 make setBackgroundColor virtual
552 * insettext.[Ch]: move ParagraphList member to LyXText
554 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
560 * insetminipage.[Ch]:
562 * insetwrap.[Ch]: adjust paragraphs and background color handling,
564 2003-11-28 Angus Leeming <leeming@lyx.org>
566 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
567 hiding and showing the dialog respectively.
568 (priv_dispatch): also actually update the inset contents.
570 2003-11-28 Angus Leeming <leeming@lyx.org>
572 * insetbox.C (d-tor):
573 * insetbranch.C (d-tor):
574 * insetcite.C (d-tor):
575 * insetfloat.C (d-tor):
576 * insetfloatlist.C (d-tor):
577 * insetinclude.C (d-tor):
578 * insetindex.C (d-tor):
579 simplify the invocation of the Mailer::hideDialog() function.
581 * insetminipage.C (showInsetDialog):
582 simplify the invocation of the Mailer::showialog() function.
584 2003-11-28 André Pönitz <poenitz@gmx.net>
587 * insetvspace.[Ch]: new insets
589 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
591 * insetcharstyle.C: Syntax change for CharStyles
593 2003-11-28 André Pönitz <poenitz@gmx.net>
595 * updatableinset.h: remove insetInInsetY
597 * insetcollapsable.[Ch]:
600 * insettext.[Ch]: adjust
602 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
606 * insetcollapsable.[Ch]:
608 * insettabular.[Ch]: remove setFont
610 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
612 * render_graphic.[Ch]: adjust comments
614 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
616 * insetgraphics.C (draw): cache xo_ & yo_
618 2003-11-24 André Pönitz <poenitz@gmx.net>
620 * insettext.C (setViewCache): don't call LyXText::init() anymore
622 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
625 * insetcollapsable.[Ch]:
626 * insetert.[Ch]: remove bufferview parameter in methods
627 open, close, status, and updateStatus.
629 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
631 * insetcollapsable.[Ch]:
633 * insettext.[Ch] (getCursorDim): squash unused variable
635 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
637 * insettext.C (edit): x0_,y0_ -> xo_,yo_
639 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
641 * insettext.C (draw): sets LyXText absolute coordinates
643 2003-11-20 Angus Leeming <leeming@lyx.org>
645 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
646 about unused parameters.
648 * insetcollapsable.C (open):
649 * insettabular.C (pasteSelection):
650 * insettoc.C (draw): ditto.
652 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
654 * insetcollapsable.C:
656 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
657 remove mouse_x mouse_y etc.
659 2003-11-17 André Pönitz <poenitz@gmx.net>
661 * insettext.[Ch] (cx, cy): remove
663 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
665 2003-11-13 André Pönitz <poenitz@gmx.net>
668 * insetcollapsable.[Ch]:
670 * insettext.[Ch] (deleteLyXText): remove
672 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
674 * insetcollapsable.[Ch] (fitInsetCursor): remove
675 * insettabular.[Ch] (fitInsetCursor): remove
676 * insettext.[Ch] (fitInsetCursor): remove
677 * updatableinset.[Ch] (fitInsetCursor): remove
678 (getCursorDIm): add virtual
680 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
682 * src/insets/Makefile.am:
683 * src/insets/inset.h:
684 * src/insets/insetcharstyle.C:
685 * src/insets/insetcharstyle.h: The Character Style /XML short
688 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
690 * insettext.C: remove all update calls
691 * insetcollapsable.C: remove all update calls
693 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
695 * insettext.C (updateLocal, insertInset, setFont): remove
698 2003-11-10 André Pönitz <poenitz@gmx.net>
700 * inset.h: remove Inset::id_
702 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
705 2003-11-10 André Pönitz <poenitz@gmx.net>
709 * insetcollapsable.[Ch]:
716 * updatableinset.[Ch]: remove inset locking & adjust
718 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
720 * inset.h (allowSpellCheck): add (return true)
721 * insetert.h (allowSpellCheck): add (return false)
723 2003-11-05 José Matos <jamatos@lyx.org>
731 * insetcollapsable.[Ch]:
735 * insetexternal.[Ch]:
737 * insetfloatlist.[Ch]:
739 * insetgraphics.[Ch]:
744 * insetlatexaccent.[Ch]:
747 * insetmarginal.[Ch]:
748 * insetminipage.[Ch]:
752 * insetpagebreak.[Ch]:
756 * insetspecialchar.[Ch]:
762 * insetwrap.[Ch]: rename ascii to plaintext
763 and LatexRunParams to OutputParams.
765 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
767 * insetcollapsable.C (edit): add open() all
768 * insettext.C (edit): add setViewCache call
770 2003-11-04 André Pönitz <poenitz@gmx.net>
772 * inset.h (edit): move locking code from dispatch() to edit()
778 * insetcollapsable.[Ch]:
781 * insetexternal.[Ch]:
782 * insetgraphics.[Ch]:
788 * insettext.[Ch]: adjust
790 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
793 * insetcollapsable.[Ch]:
797 * updatableinset.[Ch]: remove dead search code
799 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
802 * insetcollapsable.[Ch]:
806 * updatableinset.[Ch]: remove dead spellcheck code
808 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
810 * insettabular.C (lockInsetInInset): small fix
812 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
814 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
815 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
816 from here. Be stricter on DispatchResult returned.
818 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
820 * Inset::dispatch's: adjust for new DispatchResult semantics.
822 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
824 * render_base.h: make clone return an auto_ptr
825 * render_button.C (clone): adjust
826 * render_graphic.C (clone): adjust
827 * render_preview.C (clone): adjust
829 * insettheorem.C (clone): return an auto_ptr
831 * insettext.C (priv_dispatch): exception safety
833 * insettabular.C: store the file scope variable paste_tabular in a
834 scoped_ptr, adjust usage.
836 * insetexternal.C (setParams): exception safety
838 * insetbibitem.C (clone): exception safety
840 2003-11-03 André Pönitz <poenitz@gmx.net>
843 * insetcollapsable.[Ch]:
845 * insettext.[Ch]: remove Inset::id and related functions
847 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
849 * insets: adjust for DispatchResult changes.
851 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
853 * insetpagebreak.C: fix screen representation & ascii output.
855 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
860 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
862 2003-10-31 José Matos <jamatos@lyx.org>
864 * inset.h (ascii, linuxdoc, docbook):
865 * insetbox.[Ch] (ascii, linuxdoc, docbook):
866 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
867 * insetcaption.[Ch] (ascii, docbook):
868 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
869 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
870 * insetert.[Ch] (ascii, linuxdoc, docbook):
871 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
872 * insetfloat.[Ch] (linuxdoc, docbook):
873 * insetfloatlist.[Ch] (ascii):
874 * insetfoot.[Ch] (docbook):
875 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
876 * insethfill.[Ch] (ascii, linuxdoc, docbook):
877 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
878 * insetindex.[Ch] (docbook):
879 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
880 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
881 * insetline.[Ch] (ascii, linuxdoc, docbook):
882 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
883 * insetnote.[Ch] (ascii, linuxdoc, docbook):
884 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
885 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
886 * insetref.[Ch] (ascii, linuxdoc, docbook):
887 * insetspace.[Ch] (ascii, linuxdoc, docbook):
888 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
889 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
890 * insettext.[Ch] (ascii, linuxdoc, docbook):
891 * insettoc.[Ch] (ascii, linuxdoc, docbook):
892 * inseturl.[Ch] (ascii, linuxdoc, docbook):
893 * insetwrap.[Ch] (docbook):
894 add LatexRunParams argument.
896 2003-10-30 José Matos <jamatos@lyx.org>
898 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
900 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
902 * updatableinset.C (priv_dispatch):
903 * insetwrap.C (priv_dispatch):
904 * inseturl.C (priv_dispatch):
905 * insettoc.C (priv_dispatch):
906 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
907 (moveLeftIntern, moveUp, moveDown):
908 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
909 (moveLeft, moveUp, moveDown):
910 * insetref.C (priv_dispatch):
911 * insetnote.C (priv_dispatch):
912 * insetminipage.C (priv_dispatch):
913 * insetlabel.C (priv_dispatch):
914 * insetindex.C (priv_dispatch):
915 * insetinclude.C (priv_dispatch):
916 * insetgraphics.C (priv_dispatch):
917 * insetfloatlist.C (priv_dispatch):
918 * insetfloat.C (priv_dispatch):
919 * insetexternal.C (priv_dispatch):
920 * insetert.C (priv_dispatch):
921 * insetcommand.C (priv_dispatch):
922 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
923 * insetcite.C (priv_dispatch):
924 * insetbranch.C (priv_dispatch):
925 * insetbox.C (priv_dispatch):
926 * insetbibtex.C (priv_dispatch):
927 * insetbibitem.C (priv_dispatch):
928 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
930 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
932 * insettext.C: small refactoring of docbook stuff
934 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
936 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
937 (priv_dispatch): adjust for operator dispatch_result_t removal
939 * insettabular.C (lfunMouseRelease): put the result of a dispatch
940 in a DispatchResult, adjust accordingly.
941 (priv_dispatch): use strange >= construct... (will be removed later)
943 * most insets: dispatch_result -> DispatchResult
945 * insetbase.h: move DispatchResult out to dispatchresult.h
947 2003-10-27 André Pönitz <poenitz@gmx.net>
949 * insetpagebreak.[Ch]: new inset for page breaks
951 * insetline.[Ch]: new inset for vertical lines
956 2003-10-25 Angus Leeming <leeming@lyx.org>
958 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
959 new virtual member functions, specialised...
960 * render_button.h (asButton):
961 * render_graphic.h (asGraphic):
962 * render_preview.h (asPreview, asMonitoredPreview): ... here.
964 * insetexternal.C: use these new functions rather than dynamic_cast.
965 Various other small simplifications.
967 2003-10-22 Angus Leeming <leeming@lyx.org>
969 * insetexternal.[Ch]: add the ability to 'preview' the external file
972 * insetinclude.C: changes due to the changes in the RenderPreview
975 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
976 message if the preview image is not available. Only initiate the
977 loading of the preview from draw(). Ditto, start the monitoring
978 of an external file from RenderMonitoredPreview::draw.
980 2003-10-22 Angus Leeming <leeming@lyx.org>
982 * insetcite.[Ch] (setLoadingBuffer): removed.
983 (getNatbibLabel): use the new Buffer::fully_loaded member function to
984 ascertain whether to proceed with the (expensive) task of computing
985 the natbib-style label. Remove the home-grown hack providing
986 similar functionality.
988 2003-10-22 Angus Leeming <leeming@lyx.org>
990 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
991 class and into an anonymous namespace.
993 2003-10-22 Angus Leeming <leeming@lyx.org>
995 * insetcommand.h: remove the display method.
999 * insetindex.h (InsetPrintIndex):
1000 * insettoc.h: add a display method, returning true.
1002 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1004 * insetcollapsable.h:
1008 * insetinclude.h: (1) finish off the inset display() work;
1009 (2) fix the "is a bit silly" bug (accessing char
1012 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1016 * insetfootlike.h: re-introduce display() for insets,
1017 fixing the various bugs (stretch of line above, math inset
1020 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1022 * insetbase.C (dispatch): new func
1023 (priv_dispatch): new func replaces...
1024 (localDispatch): this, deleted.
1026 * all insets with dispatch modified for new code.
1028 2003-10-15 André Pönitz <poenitz@gmx.net>
1030 * insetcollapsable.[Ch]
1032 * inset.h: re-add some edit(bv, index) method called by undo
1034 2003-10-14 Angus Leeming <leeming@lyx.org>
1036 * insetexternal.[Ch] (view, cache, view_):
1037 * insetgraphics.[Ch] (view, cache, view_):
1038 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1039 (statusChanged): call LyX::cref().updateInset.
1041 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1042 the BufferView cache.
1044 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1047 2003-10-14 Angus Leeming <leeming@lyx.org>
1049 * insetinclude.C (metrics, draw): only draw the preview when previews
1052 2003-10-14 André Pönitz <poenitz@gmx.net>
1054 * insetcollapsable.[Ch]:
1055 * insettabular.[Ch]:
1057 * inset.h: getText() as alternative to getParagraphs()
1059 2003-10-13 Angus Leeming <leeming@lyx.org>
1062 * insetgraphicsParams.C: displayTranslator is now a function.
1064 2003-10-13 Angus Leeming <leeming@lyx.org>
1066 * insetinclude.C: remove #include "PreviewImage.h".
1068 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1070 * ExternalSupport.C:
1071 * ExternalTransforms.C:
1073 * insetbox.h: ws changes only
1075 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1077 * insetinclude.C (localDispatch): do not call
1078 InsetOld::localDispatch, just return UNDISPATCHED
1079 * insetgraphics.C (localDispatch): ditto
1080 * insetcommand.C (localDispatch): ditto
1082 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1084 * inset.h: get rid of RESULT typedef for dispatch_result
1086 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1087 * insetert.[Ch] (localDispatch): ditto
1088 * insettabular.[Ch] (localDispatch): ditto
1093 * insettext.[Ch] (localDispatch): ditto
1096 (moveRightIntern): ditto
1097 (moveLeftIntern): ditto
1100 * updatableinset.[Ch] (localDispatch): ditto
1102 2003-10-12 Angus Leeming <leeming@lyx.org>
1104 * renderbase.h (view, view_): removed.
1105 * renderbase.C: removed.
1106 * Makefile.am: remove render_base.C. The shortest lived file in
1109 * renderbutton.C (draw):
1110 * render_graphic.C (draw): don't cache the BufferView.
1112 * insetabase.h (cache, view): removed.
1114 * inset.h (generatePreview) removed.
1116 * insetcallapsable.[Ch] (cache, view, view_): removed.
1118 * insetcollapsable.C (draw): don't cache the BufferView.
1120 * insetcommand.[Ch] (view): removed.
1122 * insetexternal.[Ch] (cache, view, view_):
1123 * insetgraphics.[Ch] (cache, view, view_):
1124 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1126 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1127 when you have direct access to it. In fact, don't use the cache at all.
1129 2003-10-10 Angus Leeming <leeming@lyx.org>
1131 * insetinclude.C (metrics): use preview_->metrics.
1132 (draw): use preview_->draw.
1134 * render_preview.[Ch] (pimage): removed.
1136 2003-10-10 Angus Leeming <leeming@lyx.org>
1138 * renderers.[Ch]: removed.
1141 * render_button.[Ch]:
1142 * render_graphic.[Ch]:
1143 * render_preview.[Ch]: new files. The first three are split out of
1144 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1145 contains a re-worked InsetInclude::PreviewImpl also.
1147 * Makefile.am: reflect the changed files.
1150 * insetexternal.[Ch]:
1151 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1153 * insetinclude.[Ch]: changes reflecting the change from
1154 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1160 * inseturl.C: add #include "support/std_ostream.h"
1162 2003-10-09 Angus Leeming <leeming@lyx.org>
1164 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1165 to PreviewedInset::previewReady.
1167 2003-10-09 Angus Leeming <leeming@lyx.org>
1169 * insetexternal.[Ch] (statusChanged):
1170 * insetgraphics.[Ch] (statusChanged): make a const member function.
1172 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1175 2003-10-09 Angus Leeming <leeming@lyx.org>
1177 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1178 to PreviewedInset's previewReady and removePreview member functions.
1180 2003-10-08 André Pönitz <poenitz@gmx.net>
1182 * insetcollapsable.C:
1183 * insettext.[Ch]: saner 'init' structure
1185 * updatableinset.[Ch]: remove unneeded code
1187 2003-10-08 Angus Leeming <leeming@lyx.org>
1189 Fix doxygen warnings.
1191 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1192 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1194 2003-10-07 Angus Leeming <leeming@lyx.org>
1196 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1197 be applied to InsetExternal.
1199 * Makefile.am: add these new files.
1201 * ExternalTemplate.[Ch]: add a list of available transforms to
1202 class Template and a list of factory functions for transformer classes
1203 that can act on this data to class Format.
1205 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1207 * ExternalSupport.C: Add code to replace transform placeholders
1208 with appropriate output.
1210 2003-10-07 Angus Leeming <leeming@lyx.org>
1212 * ExternalSupport.[Ch]: new files, moving the private member functions
1213 and namespace anon functions out of insetexternal.C to here, so making
1214 it easier to understand what is going on in insetexternal itself.
1216 * Makefile.am: add new files.
1218 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1219 allowing the class to be forward declared. (Also consistent with
1220 all other Params classes.)
1221 (write): moved out of the class. Move this function and those in
1222 namespace anon to ExternalSupport.[Ch].
1224 2003-10-07 Angus Leeming <leeming@lyx.org>
1226 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1227 non-const member function.
1229 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1234 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1236 2003-10-02 André Pönitz <poenitz@gmx.net>
1238 * insettext.C (read): make sure there is at least one par
1239 in the text after reading.
1241 2003-10-01 José Matos <jamatos@lyx.org>
1243 * insetbranch.C (linuxdoc, docbook): minor fix.
1245 2003-10-01 Angus Leeming <leeming@lyx.org>
1247 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1249 * insetexternal.[Ch]: changes due to the introduction of
1250 namespace lyx::external.
1252 2003-09-30 Angus Leeming <leeming@lyx.org>
1254 * insetexternal.[Ch] (Params::read, write): new member functions.
1256 2003-09-25 Angus Leeming <leeming@lyx.org>
1258 * insetexternal.[Ch] (TempName): new (private) nested struct with
1259 fake copy semantics. Enables us to use the generated copy c-tor
1260 in the Params struct.
1261 (Params::templatename, Params::tempname): use accessor functions.
1263 2003-09-25 Angus Leeming <leeming@lyx.org>
1265 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1266 function, returning a const pointer.
1268 2003-09-23 Angus Leeming <leeming@lyx.org>
1270 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1271 store them in a vector, preambleNames.
1273 * insetexternal.C (validate): loop over all preambleNames and call
1274 LaTeXFeatures::addExternalPreamble with each.
1276 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1278 * insetbranch.C: bug fix in branches
1280 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1282 * insetnote.C: small clean-up.
1284 2003-09-19 Angus Leeming <leeming@lyx.org>
1286 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1288 * insetcommand.C (string2params): clear params using the default c-tor.
1290 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1291 InsetInclude::Params. No more data in this struct than in
1292 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1293 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1294 (clone): remove #warning as it's now redundant.
1295 (set): add a 'Buffer const &' arg. Make private.
1296 (loadIfNeeded) move out of the class definition and into namespace anon.
1297 (getMasterFilename, getFileName): ditto.
1299 2003-09-18 Angus Leeming <leeming@lyx.org>
1301 * insetcommand.C (setParams): use the params' copy constructor.
1303 2003-09-18 Angus Leeming <leeming@lyx.org>
1305 * insetinsetbase.h (getLabelList):
1306 * insetinsetcollapsable.[Ch] (getLabelList):
1307 * insetinsetinclude.[Ch] (getLabelList):
1308 * insetinsetlabel.[Ch] (getLabelList):
1309 * insetinsettabular.[Ch] (getLabelList):
1310 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1311 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1313 2003-09-18 Angus Leeming <leeming@lyx.org>
1315 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1316 redundant baggage from yesteryear.
1317 Remove Params::flag as it is redundant; the info is present in
1320 2003-09-18 Angus Leeming <leeming@lyx.org>
1322 * insetinclude.C (latexString): add a Buffer const & arg.
1324 2003-09-18 Angus Leeming <leeming@lyx.org>
1329 * insettext.h: rename EnumLColor as LColor_color.
1331 2003-09-18 Angus Leeming <leeming@lyx.org>
1333 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1334 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1336 2003-09-16 Angus Leeming <leeming@lyx.org>
1338 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1339 set before trying to generate a preview, else we trigger an assert.
1341 2003-09-16 Angus Leeming <leeming@lyx.org>
1343 * insetinclude.C (PreviewImpl::parent): return a const reference.
1345 2003-09-16 Angus Leeming <leeming@lyx.org>
1347 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1349 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1351 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1352 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1354 * insetminipage.C (metrics):
1355 * insetnote.C (metrics):
1356 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1357 access collapsed_ directly.
1359 2003-09-16 Angus Leeming <leeming@lyx.org>
1361 * insetbibitem.C: add #include "lyxfont.h".
1363 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1366 * insetbibtex.C: use namespace alias for lyx::support::os
1368 2003-09-16 Angus Leeming <leeming@lyx.org>
1370 * insetcollapsable.h: remove unused framecolor variable.
1371 Remove #include "LColor.h".
1373 * insetcollapsable.C: remove unused framecolor variable.
1376 * insetcollapsable.C:
1384 Add #include "LColor.h".
1386 2003-09-16 Angus Leeming <leeming@lyx.org>
1388 * insettext.[Ch] (frameColor): new accessor function.
1389 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1395 add #include "LColor.h".
1397 * insetcollapsable.h: add #include "LColor.h"
1398 (for its framecolor member variable).
1400 2003-09-16 Angus Leeming <leeming@lyx.org>
1402 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1404 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1405 rename frame_color as frame_color_. Make private.
1407 * insettext.C: associated changes.
1409 2003-09-16 Angus Leeming <leeming@lyx.org>
1411 * inset.h: store background_color_ as an int, not as an LColor::color to
1412 get LColor.h out of the header file.
1415 * insetlatexaccent.C:
1418 * insetspecialchar.C:
1420 add #include "LColor.h".
1422 2003-09-16 Angus Leeming <leeming@lyx.org>
1424 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1427 2003-09-15 Angus Leeming <leeming@lyx.org>
1429 * inset.[Ch] (setBackgroundColor, backgroundColor):
1430 * insettext.[Ch] (setFrameColor):
1431 pass EnumLColor args, rather than LColor::color ones.
1433 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1443 * insetwrap.C: remove usage of STRCONV
1445 2003-09-15 Angus Leeming <leeming@lyx.org>
1447 * renderers.C (draw):
1448 * insetlatexaccent.C (draw): explicitly define the color passed to
1451 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1453 * insettext.C: remove block causing problems in lockInsetInInset
1454 (mentioned erroneously under Bug #1366)
1456 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1458 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1461 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1463 * several files: change Assert to BOOST_ASSERT
1465 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1467 * insettext.[Ch]: remove drawText[XY]Offset
1469 2003-09-08 Angus Leeming <leeming@lyx.org>
1471 * insetcollapsable.C:
1476 * insetspecialchar.C:
1479 * insettoc.C: remove redundant using directives.
1481 2003-09-07 Angus Leeming <leeming@lyx.org>
1484 * insetspecialchar.h: remove #include "support/std_string.h".
1486 2003-09-06 Angus Leeming <leeming@lyx.org>
1488 * renderers.C: add #include "insets/inset.h"
1490 2003-09-05 Angus Leeming <leeming@lyx.org>
1492 * *.C: strip out redundant #includes. (193 in total.)
1494 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1496 * insets/insetbibtex.[Ch]:
1497 * insets/insetcommand.h:
1498 * insets/insetfloatlist.[Ch]:
1499 * insets/insetinclude.[Ch]:
1500 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1501 of insets like bibtex, include, toc and floatlist to the visible
1502 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1503 up the dialogs. Cursor has to be in front of the inset (i.e.
1504 start of row) for this to function.
1506 2003-09-04 Angus Leeming <leeming@lyx.org>
1508 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1509 structure outside of the Format struct. Format::preambleName refers to
1510 an item in the map of all preamble snippets.
1511 Make use of the new Debug::EXTERNAL flag.
1513 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1514 (validate): Small change due to the changed storage of preamble snippets.
1516 2003-09-04 Angus Leeming <leeming@lyx.org>
1518 * insetgraphics.C: #include "support/os.h"
1520 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1521 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1522 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1524 * insetcollapsable.h:
1526 * insetnote.C: move #include "funcrequest.h" out of the header file.
1528 2003-09-03 Angus Leeming <leeming@lyx.org>
1530 * insetexternal.C (updateExternal):
1531 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1534 2003-09-03 Angus Leeming <leeming@lyx.org>
1536 * insetexternal.C: don't bring namespace lyx::support into the global
1539 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1541 * insetbranch.C: Add Branch: to label
1543 2003-09-02 John Levon <levon@movementarian.org>
1546 * insettext.C: remove cursor.i[xy]()
1548 2003-08-28 Angus Leeming <leeming@lyx.org>
1550 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1551 "sh ", enabling the conversion to be carried out even if the script
1554 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1556 * most files: change to use const Buffer refs
1558 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1560 * insetfootlike.C: whitespace.
1562 2003-08-26 John Levon <levon@movementarian.org>
1566 * insetindex.h: remove remaining mentions of needFullRow()
1568 2003-08-26 André Pönitz <poenitz@gmx.net>
1574 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1576 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1578 * insetbranch.C: Small fix to prevent a crash on loading.
1580 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1585 * insetcollapsable.h:
1587 * insetfloatlist.[Ch]:
1588 * insetfootlike.[Ch]:
1589 * insetinclude.[Ch]:
1595 * insettheorem.[Ch]:
1596 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1597 altogether, putting the logic in metrics/draw in the insets.=20
1598 Draws short single row insets with more or less realistic metrics.
1600 2003-08-19 André Pönitz <poenitz@gmx.net>
1602 * insettext.C: use new RowPainter interface
1604 2003-08-18 John Levon <levon@movementarian.org>
1606 * insetref.C: require amsmath for eqref
1608 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1612 * insetbranch.[Ch]: implements the 'branch inset'
1613 idea. This allows the output of various versions of a document
1614 from a single source version, selectively outputing or suppressing
1615 output of parts of the text.
1616 This implementation contains a 'branch list editor' in a separate
1617 tab of the document settings dialog. Branches are user definable
1618 and have a "display colour" to distinguish them on-screen.
1620 ColorHandler was somewhat cleaned up.
1621 (1) make possible a dynamically growing LColor list by allowing
1622 the graphic context cache to grow along (vector);
1623 (2) eliminate an IMHO unnecessary step in colour allocation.
1625 2003-08-15 André Pönitz <poenitz@gmx.net>
1627 * insettext.[Ch]: adjust after rowlist split
1629 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1631 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1632 rename valign-center to valign-middle;
1633 rename VALIGN_CENTER to VALIGN_MIDDLE
1635 2003-08-11 André Pönitz <poenitz@gmx.net>
1637 * inset.h: remove resizeLyXText
1640 * insetcollapsable.[Ch]:
1642 * insettabular.[Ch]: adjust
1644 * insettext.[Ch]: remove saveLyXTextState,
1645 restoreLyXTextStat, sstate, reinitLyXText
1647 2003-08-07 André Pönitz <poenitz@gmx.net>
1649 * inset.[Ch]: move non-crucial functions out-of-line
1651 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1652 remove duplicated code.
1654 2003-08-05 André Pönitz <poenitz@gmx.net>
1657 * insetcollapsable.[Ch]:
1667 * insettabular.[Ch]:
1670 * updatableinset.[Ch]: rip out "deep update"
1672 * insettext.C (localDispatch): merge cases with default branch
1674 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1676 * insettabular.[Ch] (updateLocal): simplify logic
1678 2003-08-04 André Pönitz <poenitz@gmx.net>
1680 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1681 is 'FULL' all the time.
1683 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1685 * insetert.C (get_new_label): only add ... to the (closed) label
1686 when the string has been shortened
1688 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1690 * Always use std::endl with lyxerr
1692 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1694 * insetnote.C: update \author list
1696 2003-07-31 André Pönitz <poenitz@gmx.net>
1698 * insetcollapsable.h:
1699 * insettabular.[Ch]:
1700 * insettext.[Ch]: remove toggleSelection
1702 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1704 (with help from Juergen Spitzmueller)
1705 * insetnote.C: add add i18n support. Use Prefs-definable
1706 colours for Comment and Greyedout.
1708 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1710 * insetcollapsable.[Ch]:
1712 * insetert.C: factor out the detection of clicking on the inset
1713 button as 'hitButton'. John Levon contributed.
1715 2003-07-30 André Pönitz <poenitz@gmx.net>
1717 * insetcollapsable.C:
1719 * insettabular.C: parantheses, localize vars etc.
1721 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1723 * insetnote.C: Implement a newenvironment in preamble for
1724 greyedout. Patch provided by Jürgen Spitzmüller.
1726 2003-07-29 Angus Leeming <leeming@lyx.org>
1728 * insetcommand.C (localDispatch): default to
1729 InsetOld::localDispatch.
1731 * insetbibitem.C (localDispatch):
1732 * insetbibtex.C (localDispatch): remove call to
1733 ChangeCitationsIfUnique.
1735 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1737 * insetexternal.C (read): use pushpophelper.
1739 2003-07-28 José Matos <jamatos@lyx.org>
1741 * insetext.C (read): \end_document replaces \the_end.
1743 2003-07-28 José Matos <jamatos@fep.up.pt>
1745 * insetert.C (write): \layout -> \begin_layout.
1746 Add missing \end_layout.
1748 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1750 * insetquotes.C: document a bit the format
1752 * insettabular.C (write): remove extra space
1754 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1755 * insetnote.C: Umpf. Hope I *now* get it right :-(
1757 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1758 *insetnote.C: did the right fix to greyedout: \color
1759 instead of \textcolor.
1761 2003-07-28 Angus Leeming <leeming@lyx.org>
1763 * insetbibtex.h: remove extraneous forward declaration.
1766 * insetbibtex.h: Also remove long-dead Holder member class
1769 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1771 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1774 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1776 * insetwrap.C (addToToc): adjust for lyx::toc
1778 * insetfloatlist.C (ascii): adjust for lyx::toc
1780 * insetfloat.C (addToToc): adjust for lyx::toc
1782 2003-07-27 José Matos <jamatos@fep.up.pt>
1784 * insetnote.h (linuxdoc,docbook): update support.
1786 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1788 * insetfloat.C (wide): add a space to label, for consistency
1790 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1792 * insettext.C (nextChange): adjust for lyx::find
1793 (searchForward): ditto
1794 (searchBackward): ditto
1796 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1798 * insetgraphicsParams.C:
1799 * insetexternal.C: declare extern displayTranslator
1802 * renderers.C: add #include "support/LAssert.h"
1804 2003-07-27 José Matos <jamatos@fep.up.pt>
1806 * insetfloat.[Ch] (linuxdoc):
1807 * insetgraphics.C (linuxdoc):
1808 * insettabular.C (linuxdoc):
1809 * insettext.[Ch] (linuxdoc): add support for tables and figures
1812 2003-07-27 José Matos <jamatos@fep.up.pt>
1814 * insetinclude (latex): comply with makeLaTeXFile argument change.
1816 2003-07-26 Asger Alstrup <alstrup@local>
1818 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1819 the undo crashes. We'll see what problems other places this will
1822 2003-07-26 Angus Leeming <leeming@lyx.org>
1824 * insetgraphics.C: remove unused declaration of system_tempdir.
1826 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1828 * rename Inset to InsetOld
1830 * all inset files (clone): return a auto_ptr<InsetBase>
1832 2003-07-23 Angus Leeming <leeming@lyx.org>
1834 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1836 2003-07-23 Angus Leeming <leeming@lyx.org>
1838 * mailinset.[Ch] (inset2string):
1839 * insetcommand.[Ch] (inset2string):
1840 * insetert.[Ch] (inset2string):
1841 * insetexternal.[Ch] (inset2string):
1842 * insetfloat.[Ch] (inset2string):
1843 * insetgraphics.[Ch] (inset2string):
1844 * insetinclude.[Ch] (inset2string):
1845 * insetminipage.[Ch] (inset2string):
1846 * insetnote.[Ch] (inset2string):
1847 * insettabular.[Ch] (inset2string):
1848 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1850 * insetexternal.[Ch]:
1851 * insetgraphics.[Ch]: get rid of the view() function. Associated
1852 changes to the mailers' string2params and params2string functions.
1854 2003-07-23 Angus Leeming <leeming@lyx.org>
1856 * insetexternal.[Ch]: store the external file name in a FileName
1857 member variable rather than a string + associated changes.
1859 2003-07-21 Angus Leeming <leeming@lyx.org>
1861 * insetgraphicsParams.[Ch]: store the graphics file name in
1862 a FileName member variable rather than a string.
1864 * insetgraphics.[Ch]:
1865 * insetgraphicsParams.[Ch]: Associated changes.
1867 2003-07-21 Angus Leeming <leeming@lyx.org>
1869 * insetgraphics.[Ch] (string2params, params2string): passed a
1870 buffer_path argument.
1873 2003-07-21 Angus Leeming <leeming@lyx.org>
1876 * insetgraphicsParams.[Ch]:
1878 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1880 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1882 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1884 2003-07-18 André Pönitz <poenitz@gmx.net>
1887 * insetminipage.[Ch]:
1888 * insettabular.[Ch]:
1891 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1893 2003-07-18 André Pönitz <poenitz@gmx.net>
1897 * insetcollapsable.C:
1901 * insetgraphics.[Ch]:
1902 * insetlatexaccent.[Ch]:
1907 * insetspecialchar.C:
1908 * insettabular.[Ch]:
1910 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1912 2003-07-17 André Pönitz <poenitz@gmx.net>
1914 * insetcollapsable.C:
1916 * insettext.C: don't call Inset::update() anymore
1919 * insettabular.[Ch]: remove unneeded in_update_ members
1921 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1923 2003-07-16 André Pönitz <poenitz@gmx.net>
1925 * insettext.C (selectAll): remove
1927 2003-07-16 John Levon <levon@movementarian.org>
1930 * insetnote.C: implement showInsetDialog()
1932 2003-07-15 André Pönitz <poenitz@gmx.net>
1935 * insettext.C: refresh_status tristate -> need_update bool
1937 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1939 * insettext.C: adjust call to LyXText::init
1941 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1943 * insettext.C: use bufferview_funcs->replaceSelection()
1944 to delete selections in some cases (bugs 441, 673, 702, 954).
1946 2003-07-14 André Pönitz <poenitz@gmx.net>
1948 * insettext.C (draw): use slimmed down rowpainter interface
1950 2003-07-14 André Pönitz <poenitz@gmx.net>
1952 * insetcollapsable.C:
1954 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1955 remove unused BufferView * argument
1957 2003-07-14 André Pönitz <poenitz@gmx.net>
1959 * insettext.[Ch]: used cached metrics a bit more
1961 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1963 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1965 2003-07-10 André Pönitz <poenitz@gmx.net>
1968 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1970 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1972 * introduce namespace lyx::graphics
1974 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1976 * introduce namespace lyx::support
1978 2003-06-30 André Pönitz <poenitz@gmx.net>
1980 * insetcite.C (localDispatch): fix case of missing return value
1982 * insetcite.C (ascii): remove unneeded temporary
1984 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1986 * insetspace.h: fix \file
1988 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1989 * insetinclude.C (fillWithBibKeys): ditto
1991 * insetbibitem.C: fix type const order
1993 * inset.C (getLyXText): add varname for arg
1995 * ExternalTemplate.h: fix type const order
1997 2003-06-27 André Pönitz <poenitz@gmx.net>
1999 * insettext.C: take care of removed LyXCursor::row_ member
2001 * insettext.[Ch]: use new TextCursor struct for sstate
2003 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2005 * inseterror.[Ch]: removed
2007 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2009 * insetinclude.C (docbook): use parseError instead of sgmlError
2011 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2013 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2014 of BufferList::loadLyXFile
2016 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2018 * insettext.C (update): simplify
2019 (updateLocal): remove commented code
2020 (insetUnlock): simplify
2021 (lockInset): simplify
2022 (updateInsetInInset): simplify
2023 (localDispatch): simplify
2025 (resizeLyXText): simplify
2026 (collapseParagraphs): simplify
2028 * insetert.C (get_new_label): simplify
2030 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2032 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2033 pasteSelection with index
2035 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2037 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2039 2003-06-16 André Pönitz <poenitz@gmx.net>
2041 * insetbase.h: new virtual base function clone()
2043 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2044 Inset * clone() -> InsetBase * clone()
2046 2003-06-13 André Pönitz <poenitz@gmx.net>
2048 * insettabular.[Ch]: make tabular a proper member
2050 2003-06-12 André Pönitz <poenitz@gmx.net>
2052 * insettabular.[Ch]: some renaming plus whitespace
2054 2003-06-11 Angus Leeming <leeming@lyx.org>
2056 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2059 * insetbutton.[Ch]: removed.
2060 * graphicinset.[Ch]: renamed as renderers.[Ch].
2062 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2063 Create a new class ButtonRenderer using the InsetButton::metrics() and
2065 Derive both from a common RenderedInset base class.
2067 * insetcommand.[Ch]:
2068 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2069 Give it a ButtonRenderer member variable. Use it.
2070 Give the classes working copy c-tors.
2071 No longer derive from boost::noncopyable.
2073 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2074 display its contents as a button or as a graphic.
2076 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2079 2003-06-11 Angus Leeming <leeming@lyx.org>
2081 * insetcite.C (localDispatch): reformat.
2083 * insetref.C (localDispatch): enable dialog to be lauched.
2085 2003-06-11 John Levon <levon@movementarian.org>
2087 * insettabular.C: correctly mark all cells as erased
2089 2003-06-11 Angus Leeming <leeming@lyx.org>
2091 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2092 ExternalTemplate but its name, templatename. This means that a file
2093 containing a reference to an External Template not installed on the
2094 current machine will be saved retaining this info rather than inserting
2095 the first "valid" template from the list of templates.
2097 As a by product, the visual statement that the Template is missing is
2100 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2102 * insettext.C (appendParagraphs): remove some commented code.
2104 2003-06-10 Angus Leeming <leeming@lyx.org>
2106 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2109 * insetexternal.[Ch]: move tempname_ into the Params struct.
2110 (Params d-tor): new function, to clean-up this temp file.
2111 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2113 (editExternal, doSubstitution): move out of class.
2115 2003-06-10 Angus Leeming <leeming@lyx.org>
2117 * graphicinset.[Ch] (params): removed.
2118 * graphicinset.h (operator=): declared private but not defined.
2119 (statusMessage): made private.
2121 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2123 2003-06-07 John Levon <levon@movementarian.org>
2125 * insetert.C (latex): make a newline mean just that not
2128 2003-06-07 José Matos <jamatos@fep.up.pt>
2130 * insethfill.[Ch] (linuxdoc, docbook): implement output
2131 * insetspace.C (linuxdoc, docbook): remove coments as the code
2134 2003-06-06 José Matos <jamatos@fep.up.pt>
2136 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2138 2003-06-06 André Pönitz <poenitz@gmx.net>
2140 * insetwrap.[Ch]: code compactification
2142 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2144 * mailinset.C (updateDialog): use Dialogs::visible
2146 2003-06-04 Angus Leeming <leeming@lyx.org>
2148 * graphicinset.C (draw): add a comment for the #if 0 block.
2150 * insetexternal.h: remove Params::parameters variable.
2151 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2152 and read it back making full use of LyXLex.
2154 2003-06-04 André Pönitz <poenitz@gmx.net>
2156 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2158 2003-06-04 John Levon <levon@movementarian.org>
2160 * insettabular.C: back out tall table speed up. It was broken
2162 2003-06-03 Angus Leeming <leeming@lyx.org>
2164 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2165 Remove ViewCommand and UpdateCommand.
2167 * graphicinset.C (update): bug fix. Set the params before calling the
2169 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2170 BufferView cache to enable the InsetExternal::editCommand to be invoked
2171 from the frontends. Would not be needed if this were dispatched properly.
2172 (old_ascent_): variable removed.
2174 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2175 do any necessary conversions of external material. Also use the
2176 new GraphicsInset to display the inset within LyX.
2178 2003-06-03 Angus Leeming <leeming@lyx.org>
2180 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2181 and move it somewhere where InsetExternal can use it too.
2183 * Makefile.am: add the new files.
2185 * insetgraphics.[Ch]: make use of the new GraphicInset.
2187 2003-06-03 John Levon <levon@movementarian.org>
2190 * insetbibitem.[Ch]:
2193 * insetcommand.[Ch]:
2197 * insetexternal.[Ch]:
2201 * insetgraphics.[Ch]:
2203 * insetinclude.[Ch]:
2206 * insetlatexaccent.[Ch]:
2207 * insetmarginal.[Ch]:
2208 * insetminipage.[Ch]:
2215 * insetspecialchar.[Ch]:
2216 * insettabular.[Ch]:
2218 * insetthereom.[Ch]:
2221 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2223 * insetgraphics.[Ch]:
2224 * insetgraphicsParams.[Ch]: always store an absolute
2227 2003-06-02 André Pönitz <poenitz@gmx.net>
2231 * insetlatexaccent.C: remove duplicated call to metrics()
2233 2003-06-02 John Levon <levon@movementarian.org>
2235 * insettabular.C: fix resize of column width
2237 2003-06-02 John Levon <levon@movementarian.org>
2242 * insetparent.C: remove insetparent
2244 2003-06-02 André Pönitz <poenitz@gmx.net>
2251 * insetcollapsable.[Ch]:
2255 * insetgraphics.[Ch]:
2256 * insetinclude.[Ch]:
2257 * insetlatexaccent.[Ch]:
2258 * insetminipage.[Ch]:
2259 * insetnewline.[Ch]:
2262 * insetspecialchar.[Ch]:
2263 * insettabular.[Ch]:
2264 * insettext.[Ch]: unify first drawing phase
2267 * insetbase.h: move validate() to the base
2269 2003-05-31 Angus Leeming <leeming@lyx.org>
2271 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2273 2003-05-30 André Pönitz <poenitz@gmx.net>
2278 * insetcaption.[Ch]:
2279 * insetcollapsable.[Ch]:
2282 * insetgraphics.[Ch]:
2283 * insetinclude.[Ch]:
2284 * insetlatexaccent.[Ch]:
2285 * insetnewline.[Ch]:
2288 * insetspecialchar.[Ch]:
2289 * insettabular.[Ch]:
2291 * updatableinset.[Ch]: unify second drawing phase
2293 2003-05-30 John Levon <levon@movementarian.org>
2295 * insetgraphics.C: fix a bformat
2297 2003-05-29 John Levon <levon@movementarian.org>
2299 * insettabular.C: remove unused bufferOwner()
2301 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2303 * insettext.C (lockInsetInInset): adjust
2304 (getLabelList): use const_iterator, adjust
2305 (getInsetFromID): use const_iterator, adjust
2306 (addPreview): use const_iterator, adjust
2308 * insetwrap.C (clone): remove const_cast
2310 * insetnote.C (clone): remove const_cast
2312 * insetminipage.C (clone): remove const_cast
2314 * insetmarginal.C (clone): remove const_cast
2316 * insetfoot.C (clone): remove const_cast
2318 * insetfloat.C (clone): remove const_cast
2320 * insetert.C (clone): remove const_cast
2322 * delete commented same_id functions from a lot of files.
2324 2003-05-28 John Levon <levon@movementarian.org>
2330 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2332 * insetminipage.C: fix metrics (bug 1144)
2334 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2336 * insettext.C (saveLyXTextState): adjust
2337 (restoreLyXTextState): adjust
2340 (unlockInsetInInset): adjust
2341 (localDispatch): adjust
2342 (getLyXText): adjust
2344 * insettabular.C (insertAsciiString): adjust
2346 2003-05-27 André Pönitz <poenitz@gmx.net>
2349 * insetcollapsable.C:
2352 * insetlatexaccent.C:
2357 * insetspecialchar.C:
2359 * insettext.C: dim.w -> dim.wid
2361 2003-05-26 John Levon <levon@movementarian.org>
2363 * insettabular.C: avoid drawing all of a long table
2364 if it's not needed. A big speedup
2366 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2368 * remove same_id from function signatures, adjust
2370 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2372 * insettext.C (InsetText): adjust
2374 (setParagraphData): separate same_id cases, adjust
2375 (appendParagraphs): adjust
2376 (appendParagraphs): adjust
2378 2003-05-23 André Pönitz <poenitz@gmx.net>
2380 * insetbutton.h: whitespace
2382 * insettabular.C: more compact code
2384 * updatableinset.C: remove const_cast
2387 2003-05-23 Angus Leeming <leeming@lyx.org>
2389 * insetexternal.C (write): check how many lines are output.
2390 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2391 if the template has defined it.
2393 2003-05-23 Angus Leeming <leeming@lyx.org>
2395 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2397 2003-05-23 Angus Leeming <leeming@lyx.org>
2399 * insetfoot.C (latex):
2400 * inseturl.C (latex): rename fragile as moving_arg.
2402 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2404 * inseterror.C (localDispatch): comment out unused var.
2406 2003-05-22 Angus Leeming <leeming@lyx.org>
2408 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2409 passed through the LatexRunParams arg.
2411 2003-05-22 Angus Leeming <leeming@lyx.org>
2413 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2414 through the LatexRunParams arg.
2416 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2417 arg rather than through a global var.
2419 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2421 * insetspecialchar.C (dimension): use a string.
2423 2003-05-22 Angus Leeming <leeming@lyx.org>
2425 * insetbibtex.C (latex):
2426 * insetgraphics.C (latex):
2427 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2428 runparams rather than from the buffer itself.
2430 2003-05-22 Angus Leeming <leeming@lyx.org>
2432 * inset*.[Ch] (latex):
2433 passed a LatexRunParams parameter.
2435 * insetgraphics.C (latex): actually use it ;-)
2437 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2439 * insetfloat.C (addToToc): trivial compile fix
2441 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2443 * insettext.[Ch] (paragraph): delete unused function
2445 * insetfloat.C (addToToc): parlist simplfication
2447 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2449 * insetspace.[Ch]: added (new space insets)
2451 * inset.h: handle new space insets
2453 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2455 * insetfloat.C (addToToc): adjust
2457 2003-05-21 André Pönitz <poenitz@gmx.net>
2459 * insettext.[Ch]: fix drawing bug introduced earlier
2461 2003-05-19 André Pönitz <poenitz@gmx.net>
2463 * insetspecialchar.C: fix bug introduced yesterday
2465 2003-05-19 André Pönitz <poenitz@gmx.net>
2469 * insetcollapsable.[Ch]:
2473 * insetgraphics.[Ch]:
2474 * insetgraphicsParams.[Ch]:
2475 * insetlatexaccent.[Ch]:
2476 * insetminipage.[Ch]:
2477 * insetnewline.[Ch]:
2479 * insetspecialchar.[Ch]:
2480 * insettabular.[Ch]:
2481 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2483 2003-05-19 André Pönitz <poenitz@gmx.net>
2486 * insettext.C: more insetenv
2488 2003-05-16 André Pönitz <poenitz@gmx.net>
2491 * insetminimpage.[Ch]:
2492 * insetcollapsable.[Ch]: fix #832
2494 2003-05-16 André Pönitz <poenitz@gmx.net>
2497 * insetbibitem.[Ch]:
2501 * insetcollapsable.[Ch]:
2502 * insetcommand.[Ch]:
2505 * insetexternal.[Ch]:
2506 * insetfloatlist.[Ch]:
2507 * insetgraphics.[Ch]:
2508 * insetinclude.[Ch]:
2511 * insetlatexaccent.[Ch]:
2514 * insettabular.[Ch]:
2518 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2520 2003-05-13 André Pönitz <poenitz@gmx.net>
2523 * insetcollapsable.C:
2527 * insetwrap.C: tostr from own header
2539 * insetwrap.C: STRCONV
2542 2003-05-12 André Pönitz <poenitz@gmx.net>
2554 * insetwwrap.C: boost::format -> bformat all over the place
2556 2003-05-05 André Pönitz <poenitz@gmx.net>
2558 * insettext.h: add missing #include <map>
2560 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2562 * insettext.C (InsetText): parlist cleanup
2565 (insetUnlock): ditto
2567 (lockInsetInInset): ditto
2571 (searchBackward): ditto
2572 (collapseParagraphs): ditto
2574 2003-05-06 John Levon <levon@movementarian.org>
2576 * insetcaption.C: don't cast wrap inset to InsetFloat
2579 * insetfloat.C: remove unneeded type() function
2581 2003-05-05 André Pönitz <poenitz@gmx.net>
2585 * insettabular.[Ch]:
2586 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2587 replace getFirstParagraph() by getParagraphs()
2589 2003-05-03 John Levon <levon@movementarian.org>
2591 * insetcollapsable.h:
2592 * insetcollapsable.C:
2598 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2599 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2600 getCursor(). Remove explicit cursor hides.
2602 2003-05-02 André Pönitz <poenitz@gmx.net>
2604 * insettext.C: remove unneeded &*
2606 2003-04-30 John Levon <levon@movementarian.org>
2608 * insettabular.C: fix edit message
2610 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2612 * insettext.C (setFont): do not convert iterator -> pointer
2614 * insettabular.C (localDispatch): do not convert iterator -> pointer
2616 (tabularFeatures): ditto
2618 2003-04-29 André Pönitz <poenitz@gmx.net>
2620 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2622 2003-04-28 André Pönitz <poenitz@gmx.net>
2624 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2627 2003-04-25 André Pönitz <poenitz@gmx.net>
2629 * insetenv.C: derive from InsetText instead of InsetCollapsable
2631 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2633 * insetexternal.C (string2params): dont do anything if the string
2635 * insetgraphics.C (string2params): ditto
2636 * insetcommand.C (string2params): ditto
2637 * insetert.C (string2params): ditto
2638 * insetfloat.C (string2params): ditto
2639 * insetinclude.C (string2params): ditto
2640 * insetminipage.C (string2params): ditto
2641 * insettabular.C (string2params): ditto
2642 * insetwrap.C (string2params): ditto
2644 2003-04-24 André Pönitz <poenitz@gmx.net>
2646 * insetref.C: support for eqref
2648 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2650 * insetert.C (read): use ParagraphList::iterator.
2652 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2654 * insetquotes.C (latex): comment some code and add warnings.
2656 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2658 * insetexternal.C (localDispatch): added a missing DISPATCHED
2660 2003-04-12 John Levon <levon@movementarian.org>
2662 * insetwrap.C (addToToc): fix a crash, conversion
2663 from while to for loop forgot to remove the explicit
2666 2003-04-10 John Levon <levon@movementarian.org>
2668 * insettabular.C (tabularFeature): make sure
2669 to update the dialog when we change something
2672 (getStatus): don't disable some lfuns (bug 939)
2674 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2676 * insettext.C (saveLyXTextState): adjust
2677 (localDispatch): adjust
2683 * insettabular.C (localDispatch): adjust
2685 (tabularFeatures): adjust
2687 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2689 * insettabular.C (searchForward,searchBackward): fix bug 782
2691 2003-04-07 John Levon <levon@movementarian.org>
2694 * insettext.C: clear status message on inset exit
2696 2003-04-03 John Levon <levon@movementarian.org>
2698 * insetcommand.C: return dispatched on DIALOG_UPDATE
2700 2003-04-02 John Levon <levon@movementarian.org>
2702 * insettabular.C: tab lfuns renamed
2704 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2706 * insettext.C (update): move towards ParagraphList
2707 (updateLocal): ditto
2709 (insetUnlock): ditto
2711 (lockInsetInInset): ditto
2712 (updateInsetInInset): ditto
2713 (localDispatch): ditto
2716 (resizeLyXText): ditto
2717 (searchBackward): ditto
2718 (collapseParagraphs): ditto
2721 * insetwrap.C (InsetWrap): adjust
2722 (addToToc): adjust and rewrite loop
2724 * insettext.[Ch] (paragraph): delete function
2726 * insettabular.C (moveNextCell): adjust
2727 (movePrevCell): adjust
2728 (insertAsciiString): adjust
2730 * insetfloat.C (InsetFloat): adjust
2733 * insetert.C (InsetERT): adjust
2734 (write): adjust, and rewrite loop
2735 (latex): adjust, and rewrite loop
2736 (linuxdoc): adjust, and rewrite loop
2737 (docbook): adjust, and rewrite loop
2738 (localDispatch): adjust
2739 (get_new_label): adjust
2741 2003-04-01 John Levon <levon@movementarian.org>
2743 From Alfredo Braunstein
2746 * insetbutton.C: add localDispatch()
2748 * insetcommand.C: return DISPATCHED when edit() called
2750 * insettext.C: fix bug 967
2752 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2754 * insettext.C: adjust
2756 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * insettext.C (draw): adjust
2759 (crow): return a RowList::iterator not a Row*
2761 * insetminipage.C (localDispatch): adjust
2763 * insetert.C (localDispatch): adjust
2765 2003-03-31 John Levon <levon@movementarian.org>
2768 * insetgraphicsParams.C: use_gui moved to lyx_gui
2770 2003-03-31 John Levon <levon@movementarian.org>
2772 * insettext.C: Alert fix
2774 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2776 * insettext.C (ascent): adjust for RowList
2779 (getLyXText): adjust
2780 (toggleSelection): adjust
2782 * insetminipage.C (localDispatch): adjust for RowList
2784 * insetert.C (localDispatch): adjust for RowList
2785 (getMaxWidth): adjust for RowList
2787 2003-03-29 John Levon <levon@movementarian.org>
2789 * insetert.C: Alert cleanup
2791 2003-03-29 John Levon <levon@movementarian.org>
2793 * insettabular.C: Alert fix
2795 2003-03-28 John Levon <levon@movementarian.org>
2797 * insetfloat.C: reset label on INSET_MODIFY
2799 2003-03-28 John Levon <levon@movementarian.org>
2801 * insetgraphicsParams.C: read subcaptionText as a whole line
2804 2003-03-28 John Levon <levon@movementarian.org>
2806 * insettext.C: remove unused prototypes
2808 2003-03-25 Angus Leeming <leeming@lyx.org>
2810 * insetbibitem.C (localDispatch): repaint the view after modifying
2811 a bibitem inset in case the maximum InsetBibitem width has changed.
2813 2003-03-25 John Levon <levon@movementarian.org>
2816 * insettabular.C: LyXText renamings
2818 2003-03-24 John Levon <levon@movementarian.org>
2820 * insettext.C: remove some dead code. Fix bug 972 and
2821 related by posting a repaint in updateLocal(), and making
2822 the SEL functions set SELECTION.
2824 2003-03-22 John Levon <levon@movementarian.org>
2827 * inset.C: remove no-longer-needed topx_set
2829 * insetcollapsable.h:
2830 * insetcollapsable.C: remove dead code
2833 * insetert.C: rebreak the rows when a possible
2834 change in size is made, and reset the cursor
2837 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2839 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2840 topx_set. Fix drawing errors for clearInset(). Remove
2841 some unnecessary uses of topx, which should die.
2843 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2844 is no longer needed. Replace it with an ugly hack.
2846 2003-03-20 John Levon <levon@movementarian.org>
2849 * insetcollapsable.h:
2850 * insetcollapsable.C:
2858 * insettext.C: remove spurious font parameter
2859 from update(). Fix drawing of ERT insets inside
2860 insets (bug 966). Remove unused mark_dirty from
2861 tabular's updateLocal()
2863 2003-03-19 John Levon <levon@movementarian.org>
2872 * insetwrap.C: remove unused getter/setters
2874 2003-03-19 John Levon <levon@movementarian.org>
2876 * several files: bv->updateInset() doesn't take
2877 a bool mark_dirty any more
2879 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2881 * adjust for BufferView* arg removal from lyxtext.
2883 2003-03-17 John Levon <levon@movementarian.org>
2885 * most files: remove the "cleared" parameter
2886 to draw in favour of always clearing. Associated
2889 2003-03-16 John Levon <levon@movementarian.org>
2891 * insettext.C: remove unused s.refresh
2893 2003-03-13 Angus Leeming <leeming@lyx.org>
2895 * insettext.C (edit): replace Dialogs::updateParagraph with
2896 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2898 2003-03-13 André Pönitz <poenitz@gmx.net>
2900 * Makefile.am: insert insetenv
2902 * insethenv.[Ch]: new files, currently inactive
2904 2003-03-12 John Levon <levon@movementarian.org>
2914 * insettext.C: use new insetnewline
2916 2003-03-12 John Levon <levon@movementarian.org>
2918 * insettext.C: readToken became readParagraph
2920 2003-03-12 John Levon <levon@movementarian.org>
2922 * insettext.C: use parlist iterator for reading contents
2924 2003-03-12 John Levon <levon@movementarian.org>
2926 * insettext.C: name change to readToken()
2928 2003-03-11 André Pönitz <poenitz@gmx.net>
2930 * Makefile.am: insert insethfill
2932 * insethfill.[Ch]: new files
2934 2003-03-10 Angus Leeming <leeming@lyx.org>
2936 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2938 (hideDialog): calls the new static Dialogs::hide() method.
2940 * insetbibitem.C (edit):
2941 * insetbibtex.C (edit):
2942 * insetcite.C (edit):
2943 * insetcommand.C (localDispatch):
2944 * inseterror.C (d-tor):
2945 * insetert.C (showInsetDialog):
2946 * insetexternal.C (localDispatch, edit):
2947 * insetfloat.C (localDispatch, showInsetDialog):
2948 * insetfloatlist.C (edit):
2949 * insetgraphics.C (localDispatch, edit):
2950 * insetinclude.C (localDispatch, edit):
2951 * insetindex.C (edit):
2952 * insetlabel.C (edit):
2953 * insetminipage.C (localDispatch, showInsetDialog):
2954 * insetref.C (edit):
2955 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2956 resetPos, showInsetDialog, openLayoutDialog):
2957 * insettoc.C (edit):
2958 * inseturl.C (edit):
2959 * insetwrap.C (localDispatch, showInsetDialog):
2960 changes due to the changed MailInset interface.
2962 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2964 * insetfloat.h: Set default placement to an empty string.
2966 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2968 * insettext.C (latex): adjust call to latexParagraphs.
2970 2003-03-10 Angus Leeming <leeming@lyx.org>
2972 * mailinset.C: warn the user if the BufferView has not been cached.
2974 2003-03-10 Angus Leeming <leeming@lyx.org>
2976 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2978 * insetcommand.h (inset):
2979 * insetert.h (inset):
2980 * insetexternal.h (inset):
2981 * insetfloat.h (inset):
2982 * insetgraphics.h (inset):
2983 * insetinclude.h (inset):
2984 * insetminipage.h (inset):
2985 * insettabular.h (inset):
2986 * insetwrap.h (inset):
2987 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2989 2003-03-10 Angus Leeming <leeming@lyx.org>
2991 * insetcommand.C (string2params):
2992 * insetexternal.C (string2params):
2993 * insetfloat.C (string2params):
2994 * insetgraphics.C (string2params):
2995 * insetinclude.C (string2params):
2996 * insetminipage.C (string2params):
2997 * insettabular.C (string2params):
2998 * insetwrap.C (string2params): cure warning message about missing
3001 2003-03-09 Angus Leeming <leeming@lyx.org>
3003 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3004 it to communicate with the frontend dialogs.
3006 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3007 contents of this inset!
3009 2003-03-07 Angus Leeming <leeming@lyx.org>
3011 * inseterror.C (localDispatch): new method; calls edit() on
3014 2003-03-07 Angus Leeming <leeming@lyx.org>
3016 * insetbibitem.C (localDispatch):
3017 * insetbibtex.C (localDispatch):
3018 * insetlabel.C (localDispatch):
3019 rewrite as a switch.
3021 2003-03-07 Angus Leeming <leeming@lyx.org>
3023 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3024 it to communicate with the frontend dialogs.
3026 2003-03-07 Angus Leeming <leeming@lyx.org>
3028 * insetexternal.C: remove operator== and operator!= for
3029 InsetExternal::Params. They were used only by the old controller
3032 2003-03-07 Angus Leeming <leeming@lyx.org>
3034 * insetcommand.C (localDispatch):
3035 * insetexternal.C (localDispatch):
3036 * insetfloat.C (localDispatch):
3037 * insetinclude.C (localDispatch):
3038 * insetminipage.C (localDispatch):
3039 * insetwrap.C (localDispatch):
3040 add LFUN_INSET_DIALOG_UPDATE to the switch.
3042 2003-03-07 Angus Leeming <leeming@lyx.org>
3044 * insetcommand.C (string2params):
3045 * insetexternal.C (string2params):
3046 * insetfloat.C (string2params):
3047 * insetinclude.C (string2params):
3048 * insetwrap.C (string2params): use LyXLeX more.
3051 * insetexternal.[Ch]:
3053 * insetinclude.[Ch]:
3054 * insetwrap.[Ch]: change Mailer::name_ to be static.
3056 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3057 it to communicate with the frontend dialogs.
3059 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3062 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3064 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3066 * insettext.C (updateLocal): un-const function
3067 (updateLocal): adjust
3068 (collapseParagraphs): un-const function
3069 (collapseParagraphs): adjust
3071 2003-03-05 Angus Leeming <leeming@lyx.org>
3073 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3074 it to communicate with the frontend dialogs.
3076 2003-03-05 Angus Leeming <leeming@lyx.org>
3078 * insetcollapsable.C (draw): cache the BufferView.
3080 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3081 it to communicate with the frontend dialogs.
3083 2003-03-05 Angus Leeming <leeming@lyx.org>
3085 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3088 2003-03-05 Angus Leeming <leeming@lyx.org>
3090 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3092 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3093 it to communicate with the frontend dialogs.
3095 2003-03-05 Angus Leeming <leeming@lyx.org>
3097 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3098 it to communicate with the frontend dialogs.
3100 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3102 * insettext.C (collapseParagraphs): adjust
3103 (appendParagraphs): make it take a Buffer* instead of a
3104 BufferParams& as arg.
3105 (appendParagraphs): adjust
3107 2003-03-04 Angus Leeming <leeming@lyx.org>
3109 * insetbibitem.C (localDispatch):
3110 * insetbibtex.C (localDispatch):
3111 * insetcommand.C (localDispatch):
3112 * insetert.C (localDispatch):
3113 * insetlabel.C (localDispatch):
3114 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3116 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * insettext.C (latex): adjust for ParagraphList::iterator
3120 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3122 * insetbutton.C (view): adjust for boost 1.30.0
3123 * insetcollapsable.C (view): ditto
3124 * insetgraphics.C (statusChanged): ditto
3126 * insettext.h: move paragraphs to be public.
3128 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3130 * insetnote.[Ch] (InsetNote): remove unused constructor
3132 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3134 * insetgraphics.C: added include "format.h"
3136 2003-02-27 Angus Leeming <leeming@lyx.org>
3138 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3141 2003-02-27 Angus Leeming <leeming@lyx.org>
3143 * insetbibitem.C (localDispatch):
3144 * insetbibtex.C (localDispatch):
3147 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3149 2003-02-26 Angus Leeming <leeming@lyx.org>
3151 * insetbibitem.[Ch] (localDispatch):
3152 * insetbibtex.[Ch] (localDispatch):
3153 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3155 * insetcommand.C (localDispatch):
3156 act only on receipt of LFUN_XYZ_APPLY.
3158 * insetert.C (localDispatch): reformat.
3159 add LFUN_XYZ_APPLY to the switch.
3161 2003-02-26 John Levon <levon@movementarian.org>
3163 * insettext.C: use RowPainter
3165 * inset.h: make helpers take const *
3167 2003-02-26 Angus Leeming <leeming@lyx.org>
3169 * insetcommand.[Ch] (localDispatch): new method.
3171 2003-02-26 Angus Leeming <leeming@lyx.org>
3173 * insetinclude.C (draw): cache the BufferView* using cache not
3174 PreviewImpl::setView
3176 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3178 * insetgraphics.C (draw)
3179 * insetinclude.C (draw): Eliminate also the other argument (owner
3180 inset inset) in the call to PreviewImage::image
3182 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3184 * insetgraphics.C (draw)
3185 * insetinclude.C (draw): Eliminate Buferview argument in call to
3188 2003-02-25 John Levon <levon@movementarian.org>
3190 * insetgraphicsParams.h:
3191 * insetgraphics.C: don't start a load process if
3192 the inset is set to NoDisplay (bug #920)
3194 2003-02-22 John Levon <levon@movementarian.org>
3197 * insetwrap.C: TocItem changed API (bug 913)
3199 2003-02-21 Angus Leeming <leeming@lyx.org>
3201 * insetcollapsable.[Ch] (cache, edit):
3202 * insetbutton.[Ch] (cache, edit): new methods to cache the
3203 BufferView in the draw method.
3205 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3206 simplify comunication between InsetCommand-derived classes and
3209 * insetbibitem.[Ch]:
3213 * insetfloatlist.[Ch]:
3217 * inseturl.[Ch]: small changes to reflect the new interface to the
3220 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3221 other, similar classes.
3223 * Makefile.am: add new files.
3225 2003-02-21 Angus Leeming <leeming@lyx.org>
3227 * updatableinset.h (setView, view): remove.
3228 * inset.h (view, cache): to be replaced by these.
3230 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3233 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3236 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3238 2003-02-21 Allan Rae <rae@lyx.org>
3240 * insetinclude.C (loadIfNeeded): ensure loading also works when
3241 child document is under version control.
3243 2003-02-17 André Pönitz <poenitz@gmx.net>
3245 * insetbib.[Ch]: Adjust access to bibkeys
3247 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3249 * insetquotes.C (dispString): remove use of acute accent for "'"
3252 2003-02-14 John Levon <levon@movementarian.org>
3254 * insettabular.C: changed method names in tabular.C
3256 2003-02-14 John Levon <levon@movementarian.org>
3260 * insetcollapsable.h:
3261 * insetcollapsable.C:
3265 * insettext.C: remove unused getParFromID()
3267 2003-02-13 John Levon <levon@movementarian.org>
3270 * insettext.C: remove unused beginningofMainBody()
3272 2003-02-08 John Levon <levon@movementarian.org>
3276 * insetcollapsable.h:
3277 * insetcollapsable.C:
3282 add nextChange(). Make allowSpellcheck() const. Add markErased().
3284 * insetert.C: ignore deleted text
3286 * insettabular.C: make sure to keep change tracking working
3289 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3294 * insettext.C: Use error messages with identical spelling and punctuation
3296 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3298 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3300 2002-12-17 Juergen Vigna <jug@lyx.org>
3302 * insettext.C (localDispatch): hopefully fixed cursor up down
3303 movement on leaving other insets.
3305 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3307 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3310 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3312 * insetgraphics.C (prepareFile): do not remove the extension of
3313 the file name if it is not the default extension for the given
3314 format (that is, in latex output, remove extension from foo.eps,
3315 but not from foo.epsi)
3317 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3319 * insettext.C (lfunMouseRelease): hackish solution to the "double
3322 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3324 * insetfloat.C (addToToc): use the floats name not its type
3325 * insetwrap.C (addToToc): ditto
3327 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3329 * insetnote.C (init): make label font smaller
3331 2002-12-04 John Levon <levon@movementarian.org>
3333 * insetinclude.C: ressurect setting of command name
3335 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3337 * insetquotes.C (dispString): disambiguate insert call
3339 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3341 * several files: ws changes
3343 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3345 * insetquotes.C (dispString): use string::insert for prepending a
3348 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3350 * insetparent.C (getScreenLabel): use boost::format
3352 * insetgraphics.C (prepareFile): use boost::format
3355 * insetfloatlist.C (latex): use boost::format
3357 * insetcaption.C (draw): use boost::format
3359 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3361 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3364 2002-11-20 Juergen Vigna <jug@sad.it>
3366 * insettabular.C (resetPos): temporary fix for endless loop in
3367 this function on a redraw.
3369 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3371 * insettabular.C (copySelection): STRCONV
3373 * insetinclude.C (uniqueID): STRCONV
3374 (latexString): ditto
3376 * insetgraphics.C: put VersionNumber inside anon namespace
3377 (createLatexOptions): STRCONV
3379 * insetcommandparams.C: include config.h
3381 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3383 * insetgraphicsParams.C (Write): use lyx::float_equal.
3384 Write height data correctly.
3385 (Read): zero scale when reading height data.
3387 2002-10-30 John Levon <levon@movementarian.org>
3389 * insetfloat.C (addToTOC): recursively traverse all
3390 contents looking for captions (fix #568)
3392 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3394 * insetexternal.C (doSubstitution): do not try to replace
3395 environment variables, this is done when executing the command
3397 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3399 * insetexternal.C (doSubstitution): change order of substitution
3400 to work around ReplaceEnvironmentPath brokenness
3402 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3404 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3406 * insetgraphicsParams.C (init, Write): associated changes
3407 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3408 InsetGraphicsParams::scale.
3410 2002-10-21 John Levon <levon@movementarian.org>
3412 * inset.h: remove unused DISPATCH_RESULT
3414 * insettext.C: sgml open/close tag now in sgml namespace
3416 2002-10-21 Angus Leeming <leeming@lyx.org>
3418 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3419 file path subdir/fig.eps when pasting it into a buffer in a different
3422 2002-10-16 John Levon <levon@movementarian.org>
3424 * insetspecialchar.C: remove \\protected_separator parsing
3426 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3428 * insetquote.C: fix LaTeX output of quotation marks.
3430 2002-10-14 Juergen Vigna <jug@sad.it>
3432 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3433 Backspace functions which confused the Undo handling.
3435 2002-10-09 Angus Leeming <leeming@lyx.org>
3437 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3438 BufferView::dispatch that turns off this optimisation when a new inset
3441 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3442 reload the BibTeX keys.
3444 2002-10-11 André Pönitz <poenitz@gmx.net>
3446 * insettext.h: handle LFUN_PRIOR/NEXT
3448 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3450 * insetfloat.C: fix bug with float settings
3451 (document default != float default).
3453 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3455 * insetwrap.C (addToToc): New method.
3456 (InsetWrap): Set layout to caption.
3458 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3460 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3462 2002-09-16 John Levon <levon@movementarian.org>
3464 * insettabular.h: hasSelection() needs to be public
3466 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3468 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3470 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3472 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3474 2002-09-11 André Pönitz <poenitz@gmx.net>
3476 * insettabular.C: implement LFUN_WORDSEL
3478 2002-09-10 John Levon <levon@movementarian.org>
3480 * insetinclude.h: remove unused param
3482 2002-09-09 John Levon <levon@movementarian.org>
3485 * insetinclude.C: remove noload, default to input
3487 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3489 * insetgraphics.C: disfuscated use of ']' in built output string.
3491 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3493 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3495 2002-08-29 Juergen Vigna <jug@sad.it>
3497 * insettabular.C (lfunMousePress): Pay attention where you set
3498 the x/y values as they depend on which inset in the tabular is
3499 actually locked. So you surely have to reset them if you (un)lock
3502 2002-08-29 André Pönitz <poenitz@gmx.net>
3504 * insetfootlike.h: rename include guard to ALL CAPS
3506 * insettext.C: swap object and first parameter for checkInsetHit calls
3507 as this functions has moved from BufferView to LyXText
3510 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3512 * insetgraphicsParams.C: remove local displayTranslator and use
3513 the one from graphics/GraphicsTypes.h.
3515 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3517 * insetfloat.C (wide): add BufferParams parameter
3519 * insetfloatlist.C (read):
3522 * insetfloat.C (latex):
3524 * insetcaption.C (draw): use LyXTextClass::floats()
3526 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3528 * insetoptarg.h: add std:: qualifier.
3530 2002-08-26 Juergen Vigna <jug@sad.it>
3532 * insettext.C (localDispatch): ditto.
3534 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3536 2002-08-25 John Levon <levon@movementarian.org>
3538 * inseturl.C: elide long URLs (bug 404)
3540 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3542 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3543 remove "Format Version <version_no.>" string from inset header
3546 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3548 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3549 a member of "grfx::Params" anymore.
3551 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3553 2002-08-24 John Levon <levon@movementarian.org>
3556 * insetoptarg.C: ws, pedantry ...
3558 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3560 * insettext.C (collapseParagraphs): pasteParagraph now in global
3562 (appendParagraphs): ditto
3564 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3566 * insetcite.C (latex): Remove spaces only after commmas.
3568 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3570 * insettext.C: remove NO_COMPABILITY stuff
3572 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3574 * insettext.C (edit): use ParagraphList iterators
3576 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3577 (bibitemWidest): ditto
3579 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3581 * insettext.C: include <boost/bind.hpp>
3582 add using std::for_each
3583 (saveLyXTextState): use ParagraphsList::iterator
3584 (init): use for_each on paragraphlist iterators
3585 (InsetText): remove superflous setting cached_bview to 0
3586 (latex): reformat a bit
3587 (ascii): use paragraphlist iterators
3588 (validate): use for_each + boost bind
3589 (getLabelList): use paragraphlist iterators
3590 (deleteLyXText): use for_each + boost::bind
3591 (resizeLyXText): ditto
3592 (reinitLyXText): ditto
3593 (removeNewlines): use paragraphlist iterators
3594 (getParFromID): ditto
3595 (paragraph): use for_each + boost::bind
3596 (getInsetFromID): use paragraphlist iterators
3597 (getLabelList): typo fix
3599 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3601 * insettext.C (read): assign tmp to paragraphs after return from
3602 call to parseSingleLyXformat2Token
3605 2002-08-13 Angus Leeming <leeming@lyx.org>
3624 changes due to the changed LyXView interface that now returns references
3625 to member variables not pointers.
3627 2002-08-13 Angus Leeming <leeming@lyx.org>
3630 * insetcollapsable.h:
3633 * insettext.h: forward-declare WordLangTuple
3634 (selectNextWordToSpellcheck) constify return type.
3637 * insetcollapsable.C:
3640 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3642 2002-08-12 Angus Leeming <leeming@lyx.org>
3644 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3646 2002-08-12 Juergen Vigna <jug@sad.it>
3648 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3651 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3653 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3654 (bibitemWidest): ditto
3655 * insettext.[Ch]: ditto
3657 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3659 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3661 2002-08-09 Angus Leeming <leeming@lyx.org>
3663 * insetinclude.C (latexString): remove fudge now that I've found out
3664 how to enable LaTeX to find the file using input@path.
3666 2002-08-09 John Levon <levon@movementarian.org>
3669 * insettext.C: remove unused xpos
3671 2002-08-07 Juergen Vigna <jug@lyx.org>
3673 * insettabular.C (localDispatch): make delete not put the stuff
3674 in the clipboard only do this on a cut operation.
3676 * insettext.C (localDispatch): make delete and backspace not put
3677 selected stuff to the clipboard.
3679 2002-08-07 André Pönitz <poenitz@gmx.net>
3682 * insetcollapsable.[Ch]:
3686 * insettabular.[Ch]:
3687 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3689 2002-08-06 John Levon <levon@movementarian.org>
3693 * insetcollapsable.h:
3694 * insetcollapsable.C:
3700 * insettext.C: use WordLangTuple for spellcheck
3702 2002-08-06 Angus Leeming <leeming@lyx.org>
3704 * insetinclude.C: add a monitor to the previewed image, so that the
3705 image is refreshed if the \input-ed file changes.
3707 2002-08-04 John Levon <levon@movementarian.org>
3710 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3712 2002-08-02 Angus Leeming <leeming@lyx.org>
3714 * insetcommandparams.[Ch] (preview): new methods returning and setting
3715 a new bool preview_ flag.
3716 (read): read this flag.
3717 (operator==): add flag to check.
3719 * insetinclude.C (write): output new preview() flag.
3720 (previewWanted): use this flag.
3722 2002-08-02 Angus Leeming <leeming@lyx.org>
3724 * insetcollapsable.[Ch] (addPreview):
3725 * insettabular.[Ch] (addPreview):
3726 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3727 for insets in insets.
3729 2002-08-02 Angus Leeming <leeming@lyx.org>
3731 * insetcite.C: fix typo.
3733 * insetgraphics.C: kill current_view and instead cache the BufferView
3736 * insetinclude.C: kill current_view and pass the BufferView to the
3737 PreviewedInset so that it can cache it.
3739 2002-08-01 Angus Leeming <leeming@lyx.org>
3741 * inset.h (generatePreview): renamed as addPreview.
3742 (generatePreview): new method. Allows code to be moved out of
3743 math_nestinset.C and into the new PreviewedInset class.
3745 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3746 add previews to the inset when \input-ing LaTeX.
3748 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3750 * several files: strip,frontStrip -> trim,ltrim,rtrim
3752 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3754 * insetbib.C (latex): modify because of strip changes
3756 * insetnote.C (InsetNote): ditto
3758 2002-07-26 Juergen Vigna <jug@sad.it>
3760 * insettabular.C (searchForward): check for lastcell if we
3761 had a locking inset.
3763 2002-07-25 Juergen Vigna <jug@sad.it>
3765 * insettabular.C (insetMotionNotify): Don't update the screen
3766 if we didn't do nothing.
3767 (searchForward): last cell was not checked.
3769 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3771 * insetfloat.C (read, write): Allow default placement
3772 (floatPlacement_ is empty).
3774 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3776 * insetminipage.h (noFontChange):
3777 * insettabular.h (noFontChange):
3778 * insetfootlike.h (noFontChange):
3779 * insetfloat.h (noFontChange): return true
3781 * inset.h (noFontChange): new method, defaulting to false
3783 2002-07-22 Herbert Voss <voss@lyx.org>
3785 * insetgraphicsParams.[Ch]: support size_type for old docs
3787 2002-07-22 Herbert Voss <voss@lyx.org>
3790 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3793 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3795 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3797 * insetlatexaccent.h: do not include "lyxlex.h"
3799 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3802 * insetlatexaccent.C:
3806 * insetbib.C: #include "lyxlex.h"
3812 * insettext.C: use BufferParams::getLyXTextClass
3815 * insetfloat.C (addToToc): new method. Add to toclist the entries
3816 corresponding to Caption layouts
3817 (InsetFloat): when creating a new float, set the layout to "Caption"
3819 2002-07-21 Herbert Voss <voss@lyx.org>
3821 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3822 image relevant part into graphics/GraphicsImgae.C
3824 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3826 * insettoc.C (ascii):
3827 * insetfloatlist.C (ascii): change to use the new Toc functions
3828 instead of stuff that was in Buffer
3830 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3832 * insettext.C (localDispatch): BufferView::Dispatch has been
3833 renamed to BufferView::dispatch
3835 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3837 * insetgraphicsParams.C (as_grfxParams): use the new
3838 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3839 1.2.0 patch, and I do not really know how to adapt it to the new
3840 grfx::Cache world. Angus, please could you have a look?
3842 2002-05-01 Herbert Voss <voss@lyx.org>
3844 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3846 2002-07-18 Angus Leeming <leeming@lyx.org>
3848 * insetgraphics.C: clean-up comments (from Herbert).
3849 add a new checksum variable to the cache. Use it in PrepareFile.
3850 (draw): start monitoring the file for a change.
3851 (prepareFile): re-arrange a little to avoid unnecessary steps.
3853 2002-07-17 Angus Leeming <leeming@lyx.org>
3855 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3856 a method rather than to the signal directly.
3858 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3860 * insettext.C: use view_state_changed, switchKeyMap
3862 2002-07-17 Herbert Voss <voss@perce.de>
3864 * insetgraphics.C (prepareFile): keep the extension when
3865 exporting to nice file
3867 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3869 * insetcite.C (getNatbibLabel):
3870 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3872 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3874 * insetgraphics.C: use ->isDrawable()
3876 2002-07-12 Angus Leeming <leeming@lyx.org>
3878 * insetgraphics.C: use the new smart loading capabilities of the image
3881 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3883 * insettabular.C (edit): Move into correct cell when entering a
3886 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3889 2002-07-05 Angus Leeming <leeming@lyx.org>
3891 * inset.h (generatePreview): new virtual method.
3893 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3895 * insetcommandparams.[Ch] (operator=): move out of class
3896 (operator!): move out of class
3898 2002-07-04 André Pönitz <poenitz@gmx.net>
3900 * insetcommandparams.[Ch]: new files
3902 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3904 2002-06-15 Herbert Voss <voss@perce.de>
3906 * insetgraphics.C (prepareFile): bugfix; return always
3907 files without extension
3909 2002-06-28 Angus Leeming <leeming@lyx.org>
3911 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3912 rename asGParams -> as_grfxParams.
3914 * insetgraphics.C: reflect above change.
3916 2002-06-26 Angus Leeming <leeming@lyx.org>
3918 * insetgraphics.h: use boost::scoped_ptr in preference to
3921 2002-06-26 Angus Leeming <leeming@lyx.org>
3923 * insetgraphics.C: moved the image loading stuff into a new class
3924 grfx::Loader. Simplifies this file enormously.
3926 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3928 * insetgraphicsParams.C: changes aassociated with moving
3929 grfx::DisplayType out of grfx::GParams.
3931 2002-06-26 André Pönitz <poenitz@gmx.net>
3933 * insetgraphics.C: use os::external_path where necesaary according to a
3934 patch from Claus Hentschel)
3936 2002-06-25 Angus Leeming <leeming@lyx.org>
3938 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3939 generating a pixmap once the graphics file is loaded into memory.
3940 The current_view ugliness that was in grfx::ModifiedImage has been
3941 moved here now that grfx::ModifiedImage is no more.
3943 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3945 * insettext.C: layout as layout
3947 2002-05-28 André Pönitz <poenitz@gmx.net>
3949 * insetfloatlist.h: remove source of compiler warning
3951 * insetref.C: tiny whitespace
3953 2002-06-15 Herbert Voss <voss@perce.de>
3955 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3956 and take always convert when no userdefined converter was
3958 (latex) small changes in the lyxerr output
3960 2002-06-15 LyX Development team <lyx@rilke>
3962 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3963 mixed content. Small white spaces clean.
3965 2002-06-14 Angus Leeming <leeming@lyx.org>
3967 * inseetexternal.C: remove the using std::difftime declaration.
3969 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3971 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3973 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3975 * insetquotes.C (draw): fix drawing of double quotes
3977 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3979 * insettabular.C: s/scrollCB/scrollDocView/
3981 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3983 * insettext.C: change of topCursorVisible()
3986 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3989 * insettext.C: rename/change of LyXScreen
3991 2002-06-07 Angus Leeming <leeming@lyx.org>
3993 Fixes needed to compile with Compaq cxx 6.5.
3995 all c-library variables have been moved into namespace std.
3996 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3998 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4000 * insetinclude.C (uniqueID):
4001 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4002 conflicted with some AIX headers.
4004 2002-05-31 Juergen Vigna <jug@sad.it>
4006 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4010 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4012 * insetexternal.C (clone): fix () bug when using new
4013 (updateExternal): don't only look for difftime in global scope
4015 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4017 * insettabular.C: add const
4019 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4021 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4022 file name, in case there are weird characters like ',' in there.
4025 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4027 * switch from SigC signals to boost::signals.
4029 2002-05-28 André Pönitz <poenitz@gmx.net>
4031 * insets/insetgraphicsParams.[Ch]:
4032 put in inset related stuff from src/graphic
4034 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4042 * insetcollapsable.C:
4043 * insetcollapsable.h:
4071 * inseturl.h: use mouse_state. Kill insetKeyPress
4073 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4078 * insetcollapsable.C:
4081 * insetlatexaccent.C:
4083 * insetspecialchar.C:
4085 * insettext.C: name change for font metrics
4087 2002-05-24 Juergen Vigna <jug@sad.it>
4089 * insetgraphics.h: include inset.h first (for LString.h)
4091 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4093 * insettext.C: screen moved
4095 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4113 * inseturl.C: LyXView moved into frontends/
4115 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4120 * insetcollapsable.C:
4124 * insetgraphicsParams.C:
4125 * insetlatexaccent.C:
4127 * insetspecialchar.C:
4129 * insettext.C: move Painter to frontends/
4131 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4133 * insettabular.h: use more specific smart_ptr header.
4134 * insettext.h: ditto
4136 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4139 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4141 * insettext.C: clear selection on paste (bug 393)
4143 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4145 * insettext.C (latex): Honor the moving_arg argument.
4147 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4149 * insetfoot.C (latex): if a footnote is in a title layout, then it
4150 is a \thanks. And then, its contents is a moving argument.
4152 2002-05-14 Juergen Vigna <jug@sad.it>
4154 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4157 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4159 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4160 when using options "Full author list" or "Upper case".
4162 2002-05-14 Herbert Voss <voss@perce.de>
4164 * insetgraphics.C (prepareFile): allow files with same name
4166 (readFigInset): set the flags from old figinset in the right
4168 (findTargetFormat): more comments
4170 2002-05-14 Juergen Vigna <jug@sad.it>
4172 * insettext.C (edit): tell checkAndActivateInset() that we don't
4173 have a button press.
4174 (checkAndActivateInset): if button < 0 we don't have a button press
4175 on the inset and os we won't call edit on it if it's not a Highly
4176 editable inset (then we have to enter it).
4178 2002-05-13 Juergen Vigna <jug@sad.it>
4180 * insetcollapsable.C (insetButtonRelease): returned wrong return
4183 2002-05-09 Juergen Vigna <jug@sad.it>
4185 * insetcollapsable.C (edit): first_after_edit should only be
4186 set to true if we enter this inset and it was collapsed so we
4187 open it up. This is needed to reclose it after a search/replace
4188 or spellcheck function opened it and was negative.
4190 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4192 * insetfloat.C (latex): Return correct value.
4194 2002-05-04 Herbert Voss <voss@perce.de>
4196 * InsetgraphicsParams.C (read): fix bug with WH
4198 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4200 * insetfloat.C (latex): More sensible latex output
4201 (fix the problem with endfloat).
4203 2002-05-02 José Matos <jamatos@fep.up.pt>
4205 * insetgraphics.C (validate): acess params as everyone else.
4207 2002-05-03 Juergen Vigna <jug@sad.it>
4209 * insettabular.C (fitInsetCursor): recalculate the cursor position
4212 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4214 * InsetgraphicsParams.[Ch]: whitespace.
4216 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4218 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4219 float type do not exist.
4221 2002-04-28 Herbert Voss <voss@perce.de>
4223 * insetgraphics.C (latex): fix bug with missing file-extension.
4224 LaTeX still allows a missing "eps" or "ps".
4226 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4228 * insetfloat.C (c-tor, wide): translate the name of the float.
4230 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4232 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4233 when using natbib and make it work efficiently. Must emphasise that the
4234 real work is Herbert's.
4236 2002-04-23 Herbert Voss <voss@perce.de>
4238 * insetgraphic.C (prepareFile): fix bug with overwriting and
4239 deleting an existing *.eps-file in the doc-dir
4241 2002-04-23 Juergen Vigna <jug@sad.it>
4243 * insettabular.C (drawCellSelection): fix off by 1 error.
4245 2002-04-22 Juergen Vigna <jug@sad.it>
4247 * insettabular.C (setFont): rewoke full selection if it was asked,
4248 after we changed all we had to change.
4250 * insettext.C (insetUnlock): code was uninitialized in some situations.
4252 2002-04-19 Herbert Voss <voss@perce.de>
4254 * insetgraphic.C (prepareFile): return filename without
4255 extension if we only export without compiling
4257 2002-04-19 Juergen Vigna <jug@sad.it>
4259 * insettext.C (draw): call a fullRebreak on the row where we had a
4260 change and reset the cursor and selection-cursors.
4262 * insettabular.C (insetUnlock):
4263 (insetButtonPress): call an update before setting the_locking_inset = 0
4264 as otherwise we don't repaint!
4265 (update): reset the cursor position when we changed dimensions as
4266 otherwise our cursor may be on the wrong spot.
4268 2002-04-18 Juergen Vigna <jug@sad.it>
4270 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4271 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4272 redraw otherwise we won't redraw.
4274 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4275 not really right before, but I only discovered this with the last
4276 changes to Page up/down.
4278 2002-04-17 Juergen Vigna <jug@sad.it>
4280 * insettext.C (checkAndActivateInset): simplified as we now have the
4281 edit(bv, bool) call.
4283 * insettext.h: changed behind variables to front variables to be
4284 equal to the one in the edit call (as it is for that they are used).
4286 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4288 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4289 not output anything at all!
4291 2002-04-16 Juergen Vigna <jug@sad.it>
4293 * insettabular.C (insetButtonPress):
4294 (insetUnlock): call a redraw on unlocking the cell inset.
4296 * insettext.C (insetButtonPress): same as below.
4297 (lockInset): new function to set initial values when inset should
4299 (insetButtonPress): use above function.
4300 (insetUnlock): don't force a repaint only set the updateStatus. The
4301 outside world should repaint if it thinks it should be done!
4303 * insettabular.C (insetButtonPress): init values if not set as locked
4304 as we are locked if someone presses on us and don't call the edit()
4305 call of the InsetText to lock it do it as BufferView does it!
4307 * inset.h (insetInInsetY): make func const and return an int.
4310 * insetcollapsable.C: adapt the above changed function.
4312 2002-04-15 Juergen Vigna <jug@sad.it>
4314 * insettext.C (getCursorPos): return relative position as to be able
4315 to give them directly to the edit() call.
4316 (edit): we have to set also x_fix as it is not set inside the
4317 setCursorFromCoordinates call!
4318 (insetMotionNotify): ditto.
4320 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4322 * insetbib.C (getKeys): strip leading '\t's from the line too.
4323 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4325 2002-04-12 Juergen Vigna <jug@sad.it>
4327 * insettext.h: added cix() helper function and use it where appropriate
4329 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4331 * insetgraphics.C (prepareFile): fix bug when graphics is a
4334 2002-04-12 Juergen Vigna <jug@sad.it>
4336 * insettext.C (insertInset): remove unneeded code!
4337 (updateLocal): fitCursor() fixes.
4338 (collapseParagraphs): fix a possible problem when having a selection
4339 and collapsing the paragraphs.
4341 2002-04-08 Herbert Voss <voss@perce.de>
4343 * insetgraphic.C (write): write the rotating angle as
4344 a float as is. test only for != 0.0
4346 2002-04-11 Juergen Vigna <jug@sad.it>
4348 * insettext.C: new function ciy() and use it for setting inset_y.
4350 * insetert.C (draw): fix the x return for collapsed version.
4352 2002-04-07 Herbert Voss <voss@perce.de>
4354 * insetgraphic.C (readFigInset): fix bug with subcaption and
4357 2002-04-08 Herbert Voss <voss@lyx.org>
4359 * insetgraphicsparam.C: forgot special option and delete old
4362 2002-04-05 Juergen Vigna <jug@sad.it>
4364 * insettext.C (localDispatch): make a CURSOR update if we inserted
4367 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4369 * insetfloatlist.C (getScreenLabel):
4370 (latex): use Floating::listName
4371 (validate): new method
4373 2002-04-03 José Matos <jamatos@fep.up.pt>
4375 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4377 * insetfoot.[Ch] (docbook): added forgotten method.
4379 2002-04-03 Juergen Vigna <jug@sad.it>
4381 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4382 way as in Bufferview_pimpl.
4384 2002-04-03 Allan Rae <rae@lyx.org>
4386 * insetgraphics.C (latex): one % too many makes living on the bleeding
4387 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4389 2002-03-28 Herbert Voss <voss@lyx.org>
4391 * insetgraphic.C (latex): simplify the code for the latex
4392 output when the file doesn't exist
4394 2002-03-29 Juergen Vigna <jug@sad.it>
4396 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4399 * insettabular.C (edit): call fitCursor().
4401 * insettext.C (insetButtonPress): change behaviour of no_selection
4402 to the one in the BufferView selection_possible and fix the spurious
4403 selection bug with it.
4404 (localDispatch): revoke selection on BREAK... functions.
4406 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4408 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4410 2002-03-28 Juergen Vigna <jug@sad.it>
4412 * insettabular.C (insetAllowed): return true as default value otherwise
4413 we're not able to insert insets inside paragraphs of an not locked
4416 2002-03-27 Herbert Voss <voss@lyx.org>
4418 * insetgraphicsparam.C: change c%, p% to col%, page%
4420 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4422 * insetspecialchar.C (isLineSeparator): disable the nice code to
4423 allow linebreaks after hyphenation and menu separators.
4425 2002-03-26 Herbert Voss <voss@lyx.org>
4427 * insetgraphics.C (figinsetRead): set the right lyxview
4429 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4431 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4432 $\backslash$ and pass a "string const &" to the function.
4433 (prepareFile, latex): use Path rather than MakeAbsPath.
4435 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4437 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4438 proper fix to the graphics cache.
4439 (latex): "really" nice output if the file is not found ;-)
4441 2002-03-26 Juergen Vigna <jug@sad.it>
4443 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4444 (collapseParagraphs): fixed inserting of separator ' '
4446 * insettabular.C (insertAsciiString): only check for buffer lenght
4447 not if we have \t or \n inside the buffer as if we don't have we only
4448 have 1 cell and that's it!
4450 * insetert.C (close): don't collapse if inlined.
4452 2002-03-25 Herbert Voss <voss@lyx.org>
4454 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4455 graphics file does not exist.
4457 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4459 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4460 path when preparing export.
4462 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4463 no longer MakeRelPath.
4465 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4467 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4468 Used to determine the absolute path to the graphics file in the
4469 graphics cache and only in the graphics cache.
4470 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4471 make graphics file name absolute if it is stored as a relative path.
4473 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4474 make graphics file name absolute if it is stored as a relative path.
4476 * insettext.C (edit): emit an updateParagraph signal on entering a text
4477 inset. Needs to be emitted when leaving the inset also.
4479 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4481 * all files: ws cleanup
4483 * Makefile.am: remove ld -r stuff
4485 2002-03-21 Juergen Vigna <jug@sad.it>
4487 * insettext.C (appendParagraphs): new function added to append
4488 the paragraphs to this insets paragraphs.
4490 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4492 * Makefile.am: special rules if partial linking
4494 2002-03-19 Juergen Vigna <jug@sad.it>
4496 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4498 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4500 * insetgraphics.C: Clean up Baruch's comments a little.
4501 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4503 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4506 * insettheorem.C: wrap warnings
4508 * insetgraphics.C: improve messages, move cached_status_
4509 setting to safer place
4511 2002-03-18 Juergen Vigna <jug@sad.it>
4513 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4515 (localDispatch): ditto
4517 * insettext.C (edit): removed unneeded showCursor calls.
4518 (localDispatch): ditto.
4520 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4522 * insetgraphics.h: remove display() method.
4524 2002-03-11 Juergen Vigna <jug@sad.it>
4526 * insetgraphics.C (draw): hack to fix the redrawing bug.
4527 (draw): seems this fixes #268 (force redraw of row if we changed).
4529 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4530 this inset text (don't know why I missed this earlier).
4532 2002-03-08 Juergen Vigna <jug@sad.it>
4534 * insettabular.C (updateLocal): do a FULL update if we're not locked
4535 and only a CELL update is asked.
4537 * insettext.C (updateInsetInInset): update insets inside inset also
4538 if it isn't inside the_locking_inset.
4540 * insettabular.C (updateInsetInInset): ditto.
4542 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4544 * insetexternal.C (doSubstitution): check whether we are using a
4545 temp dir for defining $$FPath
4547 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4550 * insettext.C: remove #include "WorkArea.h".
4552 2002-03-06 Juergen Vigna <jug@sad.it>
4554 * insettext.C (draw): fixed frame redrawing.
4555 (clear): forgot to set the inset_owner of the paragraph.
4557 * insetert.C (status): pay attention the bv can be 0 here!
4558 (getMaxWidth): add the default leftMargin
4560 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4562 * insetert.C (getMaxWidth): make w unsigned int.
4564 2002-03-05 Juergen Vigna <jug@sad.it>
4566 * insetert.C (status): change behaviour of Inlined.
4567 (getMaxWidth): added for new inlined behaviour.
4569 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4571 * insetnote.h (linuxdoc, docbook): add empty methods.
4572 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4573 before being initialized.
4575 2002-03-05 Juergen Vigna <jug@sad.it>
4577 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4578 only that one in the inset. Should be enough.
4579 (updateLocal): set the selection cursor always if we don't have a
4580 selection to be sure it's set!
4582 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4584 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4586 * insettext.C (clear): a gross hack to set layout on a newly
4589 2002-03-04 Juergen Vigna <jug@sad.it>
4591 * insettabular.C (localDispatch): inserted handling of
4592 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4593 (insertAsciiString): new helper function.
4595 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4597 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4600 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4602 * insettext.C (InsetText): initalize newly created par with
4603 default layout. add bufferparams parameter
4606 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4607 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4608 * insetert.[Ch] (InsetERT): ditto
4609 * insetfloat.[Ch] (InsetFloat): ditto
4610 * insetfoot.[Ch] (InsetFoot): ditto
4611 * insetfootlike.[Ch] (InsetFootLike): ditto
4612 * insetmarginal.[Ch] (InsetMarginal): ditto
4613 * insetminipage.[Ch] (InsetMinipage): ditto
4614 * insetnote.[Ch] (InsetNote): ditto
4615 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4617 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4619 * insettext.C: layout as string
4621 * insetinclude.C: layout as string
4623 * insetert.C: layout as string
4625 * insetbib.C: layout as string
4627 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4630 * insettabular.C: remove #include "lyx_gui_misc.h".
4632 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4637 * inset.h: remove figinset, yahoo !
4639 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4641 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4642 copy c-tor and initialise member variables in the correct order.
4644 2002-02-28 Juergen Vigna <jug@sad.it>
4646 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4648 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4650 * inset.h: ... and add a better one here.
4652 * insetcommand.C (insetButtonRelease): remove that one which was a
4655 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4657 * insetcommand.C (insetButtonRelease): ... and move it here.
4659 * inseturl.h: remove insetButtonRelease from there...
4661 2002-02-26 Juergen Vigna <jug@sad.it>
4663 * inseturl.h: Added a insetButtonRelease call returning true as
4666 * insetlabel.C (edit): Fixed wrong update handling after change I
4667 leave in the wrong code for the one who wrote it to remove and have
4668 a look what he did wrong.
4670 * insettabular.C (localDispatch): force a SELECTION update if we
4671 had a selection and we passed the event down to the inset (fix #213)
4672 (localDispatch): handle font changing stuff when we have a cell
4673 selection so that the selection is not rewoked. I don't really like
4674 this fix, but it's the only way I see to do it right now.
4676 2002-02-22 Juergen Vigna <jug@sad.it>
4678 * insettext.C (insetUnlock): set the cursor to the second paragraph
4679 if available and if the first one is empty (fix #191).
4681 2002-02-20 Juergen Vigna <jug@sad.it>
4683 * insettext.C (getDrawFont): implemented this function to call the
4684 one of the owner if present as the owner normally knows what to do
4687 * insetert.C: implement getDrawFont() function and comment out all
4688 the crap for setting a special latex font inside this inset.
4689 (InsetERT): added a Lanugage parameter to this constructor.
4691 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4692 change the font for being drawn on screen (used only in InsetERT for
4695 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4696 and also above (was missing).
4697 (updateLocal): don't remove the cell selection if we have one this
4698 should be done where we really want to remove it.
4700 2002-02-20 José Matos <jamatos@fep.up.pt>
4702 * insetinclude.h: include_label made string const.
4704 * insetinclude.C (InsetInclude): moved include_label initialization.
4707 (validate): fix support for temporary directory, for docbook and
4710 * insetgraphics.h : new private member, graphic_label, that holds
4711 the entity name that defines the graphics location (SGML).
4713 * insetgraphics.C (unique_id): new function to give a unique label
4716 (validate): the file locatation is given by an entity reference.
4718 2002-02-18 Herbert Voss <voss@lyx.org>
4720 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4722 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4724 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4725 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4727 2002-02-18 José Matos <jamatos@fep.up.pt>
4729 * insetinclude.C (validate): some code only applies to latex buffers,
4730 it was made conditional.
4732 2002-02-12 Herbert Voss <voss@lyx.org>
4734 * insetgraphics.C: (prepareFile) do not check at this time
4735 if the file is present.
4737 2002-02-12 Herbert Voss <voss@lyx.org>
4739 * insetgraphics.C: latex(), return the correct newlines
4741 2002-02-13 José Matos <jamatos@fep.up.pt>
4743 * inseturl.C (docbook): escape & in url.
4745 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4747 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4748 after HYPHENATION and MENU_SEPARATOR
4750 * inset.h (isLineSeparator): new method, returns false by default.
4752 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4754 * insetert.C (status): do not update the text inset, but the ERT
4757 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4759 * insetnote.C: use notebg for background
4761 2002-02-08 Herbert Voss <voss@lyx.org>
4764 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4765 prevent LyX from unzipping when this should be handled
4766 by latex vis the graphic.cfg.
4769 2002-02-08 Herbert Voss <voss@lyx.org>
4771 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4772 exists, than return filename with extension
4774 2002-02-06 Herbert Voss <voss@lyx.org>
4776 * insetgraphic.C: prepareFile(): don't convert the file, when
4777 it's not viewed in LyX. Saves a lot of time when opening a
4780 2002-02-05 Herbert Voss <voss@lyx.org>
4783 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4784 and adding a rotate bool similiar to subcaption
4786 2002-02-04 Herbert Voss <voss@lyx.org>
4789 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4790 similiar view to the LaTeX one. Get zipped files work.
4792 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4794 * insetgraphicsParams.C (init): set display to DEFAULT.
4795 No longer #include "lyxrc.h".
4797 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4799 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4800 for now (so that the code compiles).
4802 2002-02-02 Herbert Voss <voss@lyx.org>
4804 * insetgraphic.C: delete inVariant() and some minor changes
4805 * insetgraphicsParams.[C]:
4807 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4809 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4810 interogate lyxrc.display_graphics before diaplaying the graphic.
4812 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4813 InsetGraphicsParams::DisplayType.
4815 2002-01-31 Herbert Voss <voss@lyx.org>
4817 * insetgraphic.C: (readfigInset) set display to pref-default
4819 2002-01-30 Herbert Voss <voss@lyx.org>
4821 * insetgraphic.C: get the filetyp from it's contents
4822 * insetgraphicparams.C: add token scale and lyxrc.display when
4823 creating a new inset
4825 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4827 * figinset.C: added using std::ios directive.
4829 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4831 * figinset.C (runqueue): open translation file in binary mode (for
4834 2002-01-27 Herbert Voss <voss@lyx.org>
4836 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4837 all options and to be sure that the old figinsets are correct
4839 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4840 structure and to support all lengths as LyXLength. The Parameter
4841 structure changed again, but reading of "old" 1.2 graphic insets
4844 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4846 * insetert.h (forceDefaultParagraphs): Added
4848 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4850 * insettabular.C (getMaxWidth):
4851 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4853 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4855 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4856 of LyXLength::inPixels
4858 * inset.C (latexTextWidth):
4859 * insetminipage.C (latexTextWidth): new method, which implements
4860 the equivalent of the LaTeX macro \textwidth
4862 * insetminipage.C (getMaxWidth): use latexTextWidth
4864 2002-01-18 Juergen Vigna <jug@sad.it>
4866 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4868 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4870 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4872 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4875 2002-01-17 Juergen Vigna <jug@sad.it>
4877 * insettabular.C (lockInsetInInset): same change as in insettext.
4879 * insettext.C (draw): width() function was called without setting
4880 the right top_x which could lead to wrong insetWidth setting!
4881 (lockInsetInInset): call edit instead of calling lockInset if we
4882 have to lock an inset inside!
4883 (edit): we have to also tell the inset that we have to redraw the
4884 frame on an edit call if this inset draws a frame only if locked.
4886 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4888 * insetbib.C (getFiles): uncomment Path variable.
4890 2002-01-16 Juergen Vigna <jug@sad.it>
4892 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4895 2002-01-16 Allan Rae <rae@lyx.org>
4897 * insetinclude.C (docbook): someone forgot a ";"
4899 2002-01-16 José Matos <jamatos@fep.up.pt>
4901 * figinset.C (docbook): removed a old place holder "@".
4902 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4903 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4904 ascii text version, clearly guarded inside a CDATA section.
4905 (docbook): in docbook 4, inlinegraphics is empty.
4906 * insettabular.C (linuxdoc): export the ascii version of the table
4907 inside a CDATA section.
4909 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4911 * insetparent.C (InsetParent):
4912 * insetgraphicsParams.C (Write):
4914 * insetgraphics.C (prepareFile):
4917 * insetexternal.C (executeCommand):
4918 (doSubstitution): use Buffer::filePath
4920 * insetbib.C (getFiles): add a #warning for Angus
4922 * insetgraphics.C: Add a remark about how filenames should be
4923 considered to be relative to buffer (but absolute is still allowed)
4924 (draw): do not try to get status if lyxrc.use_gui is false
4926 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4929 * insetcollapsable.[Ch]:
4930 * insettabular.[Ch] (searchForward, searchBackward): change the
4931 bool const & params to bool.
4933 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4934 to avoid the name clash with InsetCollapsable's methods of the same
4935 names but different functionality.
4937 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4939 * insettext.C (ascii): use lyx::count rather than countChar.
4941 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4943 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4945 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4947 * insetgraphics.C (updateInset): do not try to render image if
4948 lyxrc.use_gui is false (bug #104)
4950 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4951 if file does not exist
4953 * figinset.C (browseFile): add shortcuts to directory buttons
4955 * insettext.C (updateLocal): update menubar and toolbar here too.
4957 2002-01-13 Allan Rae <rae@lyx.org>
4959 * insettabular.C (InsetTabular): Both constructors now initialise
4960 all class variables.
4962 2002-01-11 Juergen Vigna <jug@sad.it>
4964 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4966 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4968 * insettabular.C (getStatus): add forgotten brace around multiline
4971 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4973 * insetfloat.C (validate): require "float" instead of "floats".
4975 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4977 * insettabular.C (getStatus): use FuncStatus
4979 2002-01-08 Juergen Vigna <jug@sad.it>
4981 * insettabular.C (insetButtonRelease): now this should work too
4984 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4985 if the width is a percentage.
4987 * inset.h: added isChar() function and implemented this for
4988 insetspecialchar insetquotes and insetlatexaccent.
4989 added forceDefaultParagraphs() and implemented it for insettabular.
4991 2002-01-07 Juergen Vigna <jug@sad.it>
4993 * insettext.C (getLyXText): Fixed this function. An insert into the
4994 map is only done if we REALLY have a new BufferView.
4996 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4998 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5000 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5002 * insetinclude.C: fix use of FileInfo
5004 2002-01-07 Juergen Vigna <jug@sad.it>
5006 * insettabular.C (draw): fixed clearing of cell around inset.
5008 2002-01-05 Juergen Vigna <jug@sad.it>
5010 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5011 variables are updated.
5013 * insettabular.C (resetPos): set always the inset_y as it may be
5014 needed in another function.
5015 (searchBackward): don't draw while searching.
5017 2002-01-04 Juergen Vigna <jug@sad.it>
5019 * insettext.C (lockInsetInInset): forgot to set a cursor.
5021 2002-01-02 Juergen Vigna <jug@sad.it>
5023 * insettext.C (insertInset): make the correct undo informations on
5024 inserting new insets.
5026 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5028 * insettabular.C: correct single-cell select vertically
5030 2001-12-27 Juergen Vigna <jug@sad.it>
5032 * insettabular.C (ascii): export as tab-separated-values if the
5033 function was not called from export (f.ex.: clipboard).
5035 * insetcollapsable.h: added default support for ascii, linuxdoc and
5036 docbook export (the insettext is exported by default!)
5038 * insettabular.C (copySelection): suff the clipboard with the tabular
5039 data in a tab separated format, seems more naturals then with all the
5042 2001-12-24 Juergen Vigna <jug@sad.it>
5044 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5045 to check for REAL mouseMotion.
5047 2001-12-20 Juergen Vigna <jug@sad.it>
5049 * inset.C (cursor): return the owners cursor if available instead of
5050 always only the bv->text->cursor.
5052 * insettabular.C (checkLongtableSpecial): works now.
5054 2001-12-19 Juergen Vigna <jug@sad.it>
5056 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5057 this has to be always row + 1 as 0 means not selected!
5058 (checkLongtableSpecial): added
5059 (tabularFeatures): better longtable options support
5061 * insettext.C (resizeLyXText): reinit the text always also on a
5064 2001-12-18 Juergen Vigna <jug@sad.it>
5066 * insettext.C (updateInsetInInset): look if we have to autocollapse
5067 paragraps and return if the update is requested for ourself.
5069 * insetert.C (status): update the insettext not myself as that is what
5072 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5073 function only return if the update was requested with myself.
5075 * insettext.C (insetButtonPress): fixed stupid bug.
5076 (various functions): pay attention that lt is cleared BEFORE calling
5077 updateLocal() and try to use it in the right manner (don't use it
5078 if it's not really neccessary!)
5079 (collapseParagraphs): insert a blank between collapsing paragraphs
5080 if neccessary (not already there!).
5082 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5084 * insettabular.C: move includes around a bit, add a couple of
5087 * insettext.[Ch]: move includes around a bit, other ws changes and
5090 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5092 * insettext.C (insetButtonRelease): fix compile problem
5094 2001-12-17 Juergen Vigna <jug@sad.it>
5096 * insettext.C (insetButtonPress): set the selection cursor!
5097 (insetButtonPress): clear the selection (and set with that the
5098 selection.cursor) if we only hit an inset!
5100 * insetert.C (read): removed piece of compatibility code only needed
5103 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5106 * insetcollapsable.C (insetButtonRelease): changed so that it can
5107 open eventual existing popup dialogs on mousebutton==3.
5109 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5111 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5113 * inset.C (insetButtonRelease): return a bool for telling the outer
5114 world that we opened a dialog.
5116 2001-12-07 Juergen Vigna <jug@sad.it>
5118 * insettext.C (paragraph): remove the deleteing of paragraphs as
5119 it was a WRONG move!
5121 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5124 * insettabular.C: use new setSelection(). Allow
5125 selection of single cells.
5127 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5129 * insetquotes.C (latex): fix to use the local language setting at
5130 the point where the inset is inserted (different macros for
5131 different french packages)
5133 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5135 * inset.h: add par_owner_ member variable and parOwner
5138 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5140 * insettabular.C (everywhere): adapt because widths are now real
5141 widths and not strings
5143 * insettext.C (draw): re-introduce the calls to width(), ascent()
5144 and descent() to initialize the caching variables.
5146 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5148 * insettext.C (draw):
5149 (drawFrame): use insetWidth instead of last_width
5151 * insettext.h: remove variable last_width (insetWidth is exactly
5152 the same) and last_height (computed but never used!)
5154 2001-12-10 Allan Rae <rae@lyx.org>
5156 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5158 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5160 * insettext.C (insetAllowed): add comment
5162 2001-12-05 Juergen Vigna <jug@sad.it>
5164 * insettext.C (insetAllowed): fixed for the case that we directly
5165 ask the insettext from its LyXText.
5166 (paragraph): fixed the crash when assigning the par->next() from
5167 the EmptyParagraphMechanism!
5169 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5173 * insettext.C: change "while(" to "while ("
5175 2001-12-04 Juergen Vigna <jug@sad.it>
5177 * insetert.C (edit): handle Inlined status.
5179 * insettext.C (insertInset): trying John's fix for the trailing cursor
5181 * insetert.C (insetButtonPress): added to handle inlined status
5182 (insetMotionNotify): ditto.
5184 * insettext.C (clearInset): changed Painter & in BufferView * param,
5185 to be able to call ascent,descent methods.
5187 2001-12-03 Juergen Vigna <jug@sad.it>
5189 * insettext.C (updateInsetInInset): use lt variable to forbid
5190 changes of LyXText in an update call.
5191 (updateInsetInInset): fixed updating of non locked insets!
5193 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5195 * insettabular.C: capture some more functions to prevent
5196 selection drawing problems. Bug #451274
5198 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5201 * insetgraphicsParams.C: fix inverted sense of float_equal
5203 2001-11-30 Juergen Vigna <jug@sad.it>
5205 * insettabular.C (InsetTabular): use the save_id flag to create also
5206 the tabular with the same id's.
5208 * insettext.C (setParagraphData): added a same_id function for undo
5209 to set the same paragraph id's as of the paragraph we are setting.
5211 2001-11-30 José Matos <jamatos@fep.up.pt>
5214 * insettoc.[Ch]: DocBook -> docbook.
5216 2001-11-29 André Pönitz <poenitz@gmx.net>
5219 * insettext.C: further reduction of header dependencies by using
5220 lyx::layout_type and lyx::textclass_type from support/types.h
5222 2001-11-29 Juergen Vigna <jug@sad.it>
5224 * insettext.C: inserted a reinitLyXText function everywhere I delete
5225 the paragraphs! This should fixe the crashes we had.
5226 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5227 (paragraph): set the InsetOwner() of the new paragraphs!
5229 2001-11-28 André Pönitz <poenitz@gmx.net>
5231 * insetnote.C: add pos initialization that I removed without
5234 2001-11-28 Juergen Vigna <jug@sad.it>
5236 * insettabular.C (resetPos): hack to not crash with infinite paints.
5238 * insettabular.h: insert missing function allowSpellcheck()!
5240 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5242 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5245 * insetfloatlist.C: derive from InsetCommand so gui can use it
5248 2001-11-26 André Pönitz <poenitz@gmx.net>
5252 * insetnote.C: reduce header dependencies, introduce type for
5255 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5257 * various: update for Alert.h
5259 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5261 * inset.h: fix comment
5263 * insettext.C: use par->isInset()
5265 2001-11-22 Allan Rae <rae@lyx.org>
5267 * insetcollapsable.h:
5268 * inset.h: Changes to checkInsertChar() behaviour.
5269 Now return value indicates whether chars can be inserted.
5271 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5273 * various: updated to use the new LaTeXFeatures
5275 2001-11-14 José Matos <jamatos@fep.up.pt>
5277 * insetspecialchar.C (linuxdoc):
5278 (docbook): don't give a name to a unused variable.
5280 * insettext.C (docbook): removed unused variable.
5282 2001-11-13 Herbert Voss <voss@perce.de>
5284 * insetgraphic.C: fix scale bug
5286 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5288 * inset.h (isSpace):
5289 (isLetter): new virtual methods.
5291 * insetspecialchar.C (isSpace):
5292 (isLetter): implement here.
5294 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5296 * inset.h: new inline helpers
5298 * insettext.C: use new helpers
5300 2001-11-07 José Matos <jamatos@fep.up.pt>
5302 * insettext.C (docbook): full support for paragraphs inside insettext.
5304 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5306 * insetindex.C: added header file for std::ostream.
5308 2001-11-03 José Matos <jamatos@fep.up.pt>
5310 * insetindex.C: added using std::ostream that I forgot yesterday.
5312 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5314 * insetindex.h (docbook):
5315 * insetindex.C (docbook): added support for docbook export.
5317 2001-11-02 José Matos <jamatos@fep.up.pt>
5319 * insetcaption.C(docbook): added support for docbook export.
5321 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5323 * insetexternal.C (updateExternal): Do not run update command if
5324 result file exists and is up to date.
5326 * ExternalTemplate.C (readFormat): Support the updateresult token.
5328 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5330 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5331 external_templates) to use the buffer->fileName() but only if
5332 previewing. Generating a TeX file should make FPath return
5335 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5338 * insetert.C: fix some problems
5340 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5342 * insetexternal.C (doSubstitution): Added $$FPath token
5343 to list of usable substitutions in external inset templates.
5345 2001-10-24 Juergen Vigna <jug@sad.it>
5347 * insettabular.C: use new ltType struct for setting longtable
5348 header and footers also new UNSET enums.
5350 2001-10-24 José Matos <jamatos@fep.up.pt>
5352 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5353 (docbook): If the table is not inside a float then wrap it inside
5354 <informaltable>...</informaltable>.
5356 2001-10-23 José Matos <jamatos@fep.up.pt>
5358 * insetref.C (docbook): removed / terminator to conform SGML.
5360 * insetspecialchar.C (linuxdoc):
5361 (docbook): Added support for special chars, more than ascii export.
5363 2001-10-22 Juergen Vigna <jug@sad.it>
5365 * insettext.C (checkInsertChar): added for REALLY checking the
5366 font of the inserted char in the right inset!
5368 2001-10-19 Juergen Vigna <jug@sad.it>
5370 * inset.h: added method allowSpellcheck() so that insets who do
5371 not have anything to spellcheck can tell and so they are over-jumped.
5372 Implemented for InsetText and co.
5374 2001-10-18 Juergen Vigna <jug@sad.it>
5376 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5378 2001-10-15 José Matos <jamatos@fep.up.pt>
5380 * insetert.C: allow export for docbook and linuxdoc
5382 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5384 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5386 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5388 * insetquotes.C (dispString): fix handling of latin9 quotes
5390 2001-10-03 Juergen Vigna <jug@sad.it>
5394 * insetcollapsable.C: change updateInset calls to not tell BV that
5395 we have changed status.
5397 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5399 * insettabular.C (deletable): make const
5401 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5403 * insetert.C (latex): Fix the returned value
5405 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5407 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5408 Returns string(), so nothing in an ERT inset is spellchecked.
5410 * insetgraphics.C (draw): print the filename if not displaying the
5412 (width): make sure that the width and draw methods are consistent.
5413 (updateInset): don't even load the image into cache if not displaying
5416 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5418 * various files (selectNextWord): renamed as
5419 selectNextWordToSpellcheck.
5421 * insetgraphics.C (draw): remove the previous change. Right place
5422 is in imageLoaderXPM.C.
5423 (draw): don't display the image if params.display == NONE.
5425 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5427 * figinset.C (runqueue):
5428 * insetgraphics.C (draw): set background colour of inset from
5429 background to the user-configurable graphicsbg.
5431 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5433 * insetquotes.C (InsetQuotes): when trying to decide the side of
5434 the quote, choose `left' only after a space or '('
5436 2001-09-04 José Matos <jamatos@fep.up.pt>
5441 * insetcollapsable.h
5459 * insetlatexaccent.C
5460 * insetlatexaccent.h
5465 * insetspecialchar.C
5466 * insetspecialchar.h
5470 * insettext.C (docbook): rename docBook method to docbook.
5472 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5474 * inset.h (getFirstParagraph): New virtual method.
5476 2001-08-20 Herbert Voss <voss@perce.de>
5477 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5478 in the the bibtex-database-gui for inserting a line
5481 If no style is given than there is no tex-output.
5483 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5485 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5489 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5491 * insetert.C (latex): Fix output for multiple paragraphs.
5492 (write): New code for writing paragraph data.
5493 (read): Set font after reading the inset.
5494 (localDispatch): Call set_latex_font() for more cases.
5496 * insetnote.h: Add empty validate method.
5499 * insetnote.C (InsetNote): Set language to the language of the
5502 2001-08-16 Juergen Vigna <jug@sad.it>
5504 * insettext.C: implemented the new FINISHED states.
5506 * insettabular.C: ditto
5508 * inset.h: added more FINISHED states for cursor right,up,down
5510 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5512 * insetfloatlist.C: use "FloatName List"
5514 2001-08-14 Juergen Vigna <jug@sad.it>
5516 * insetert.C (edit): forgot to set status_ in edit calls!
5518 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5520 * insettext.C: Compilation fix
5522 2001-08-13 Juergen Vigna <jug@sad.it>
5524 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5526 * insetcollapsable.C (edit): don't recollapse an already open inset.
5528 * insettext.C: fixed problem when reinitializing LyXText by not doing
5529 it while lt is in use and post this to the next possible time in
5531 (searchForward): fixed not unlocking of inset if nothing found.
5532 (edit): set cursor behind right (was set -1 pos).
5534 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5536 * insettabular.C (tabularFeatures): fixed fix where deleting the
5537 last row didn't get the right actcell!
5539 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5541 * insettext.C (localDispatch): Change language only when the inset
5544 2001-08-10 Juergen Vigna <jug@sad.it>
5546 * insettabular.C (selectNextWordInt): use the front using edit call.
5548 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5549 the parameter overwrite class variable inset.
5551 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5553 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5554 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5556 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5557 update only for fixed with cells.
5558 (resetPos): try to fix the lockup on spellchecking or s&r.
5560 * insettext.C (update): comment this out as it seems first wrong
5561 and second not needed anymore!
5562 (some functions): call reinitLyXText() only in update() in all other
5563 positions set only need_update = INIT.
5565 2001-08-08 Juergen Vigna <jug@sad.it>
5567 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5569 * insettext.C (insetUnlock): remove double-space on inset unlock.
5571 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5573 * insettabular.C (update): fixed cursor positon after an insert.
5574 (insetAllowed): do not allow to insert insets when not inside the
5576 (draw): clear below an inset too as it could have changed height.
5578 * inset.C (getMaxWidth): fixed width for inset in inset.
5580 * insettext.C (update): small fix.
5582 * insettabular.C (tabularFeatures): added selection support to
5583 DELETE_ROW/DELETE_COLUMN.
5585 2001-08-07 Juergen Vigna <jug@sad.it>
5587 * inset.C (getMaxWidth): recoded and all it's implementations!
5589 * insettext.C (init,setParagraph+constructors): cleanups
5590 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5591 are new and I want do a save/restore of the cursor position which is
5592 not possible anymore.
5594 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5595 (searchBackward): ditto
5596 (selectNextWord): ditto
5598 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5600 * insetlatexaccent.C (checkContents): Add some debug messages
5602 2001-08-07 Juergen Vigna <jug@sad.it>
5604 * insetert.C (read): don't use InsetCollapsable::read as we don't
5605 write the collapsed status anymore only the status.
5608 2001-08-06 Juergen Vigna <jug@sad.it>
5610 * insetert.C (set_latex_font): use LyXText's setFont directly.
5612 * insettext.C (drawFrame): fixed one time more the right position
5613 and size of the frame!
5615 * insetert.C (~InsetERT): hide the dialog.
5616 (showInsetDialog): added implementation
5619 (status): new function for the status of the ERT inset (3-state).
5620 (write): output also the status of the inset for readback!
5621 (read): readback the status if available otherwise use collapsed_.
5623 * insettext.C (edit): small fix of setting the position, which could
5626 * insetert.C (width): implement this function for inlined viewing.
5627 Added minimum width of 10 pixels!
5629 * insetminipage.C (InsetMinipage): just change the colors a bit so
5630 that border/background is a bit more visible. We will remove this
5633 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5634 function for getting the important widths for drawing in various
5635 functions and in LyXText.
5636 (draw): fixed up a bit (frame drawing/clearing)
5638 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5640 * inset.C (convertFont): delete method. not used.
5642 2001-08-03 Juergen Vigna <jug@sad.it>
5644 * insettext.C (setFont): don't call for a draw update if we're just
5645 changing the cursor font!
5647 2001-08-02 Juergen Vigna <jug@sad.it>
5649 * insettext.C (draw): clear the background with the right color if
5650 needed. Update myself if x&max-width changed and return without doing
5651 anything. Let the update code handle the right stuff.
5653 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5654 inside another inset.
5656 2001-08-01 Juergen Vigna <jug@sad.it>
5658 * insetcollapsable.C (update): added an in_update bool so we avoid
5661 * insettabular.C (update): added an in_update bool so we avoid
5664 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5666 (update): added an in_update bool so we avoid reentering.
5668 * insettabular.C (localDispatch): clear col/row selection when doing
5669 something else inside an inset.
5671 * insettext.C (getLyXText): fixed bug when requesting a recursive
5674 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5676 * insetcite.C (latex): Paranoia check. Make sure that there is no
5677 whitespace between the citation keys.
5679 2001-07-31 Juergen Vigna <jug@sad.it>
5681 * inset.h (nodraw): make the set function also const so that this
5682 can be called from inside other const functions.
5684 * insetcollapsable.h: removed inline variable and moved it over
5685 to the only user InsetERT.
5687 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5688 inset opening immediately therein lying insets dialogs!
5690 * insetert.C (localDispatch): set the font also if we don't have any
5691 chars in this paragraph, otherwise if we delete all of em and start
5692 writing we have the wrong font.
5694 (draw): implemented for inline support
5695 (insetButtonRelease): ditto.
5697 2001-07-30 Juergen Vigna <jug@sad.it>
5699 * insettext.C (reinitLyXText): new function to reinit the insets
5700 text after lot's of paragraph changes. Use this instead of the
5701 cache.clear() which is VERY dangerous.
5703 * insetfloat.C (insetButtonRelease): we should only show the dialog
5704 if we press on the label otherwise we have problems to open mouse
5705 button 3 dialogs inside this float (f.ex. of a tabular!)
5707 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5709 * insetert.C: change back to "ERT"
5711 * insetfloat.C: handliign of RMB on label added.
5713 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5715 * insetgraphicsParams.C: #include LOstream.h here.
5717 * insetfoot.h: remove InsetFoot:: qualifier.
5719 2001-07-29 Baruch Even <baruch@lyx.org>
5721 * ChangeLog: Hiding time travel evidence.
5723 * insetgraphicsParams.h:
5724 * insetgraphicsParams.C:
5725 * insetgraphics.C: Added horizontal scale option, it actually scales both
5726 directions since it keeps image proportions.
5728 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5730 2001-07-29 Baruch Even <baruch@lyx.org>
5732 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5733 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5735 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5737 2001-07-29 Baruch Even <baruch@lyx.org>
5739 * insetgraphics.C: Added EPSI to be an alias of EPS.
5741 2001-07-29 Baruch Even <baruch@lyx.org>
5743 * insetgraphics.C: Change GRAPHICS to Graphics.
5744 Changed image conversion rules (documented at the beginning of file).
5746 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5748 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5751 * insetgraphics.C: added a using std::endl directive.
5753 * insetcommand.h (getScreenLabel): removed pure virtual function,
5754 as it duplicates that in InsetButton.
5756 * insetbib.[Ch] (getScreenLabel):
5757 * insetbutton.[Ch] (getScreenLabel):
5758 * insetcite.[Ch] (getScreenLabel):
5759 * insetert.[Ch] (getScreenLabel):
5760 * insetexternal.[Ch] (getScreenLabel):
5761 * insetfloatlist.[Ch] (getScreenLabel):
5762 * insetinclude.[Ch] (getScreenLabel):
5763 * insetindex.[Ch] (getScreenLabel):
5764 * insetlabel.h (getScreenLabel):
5765 * insetparent.[Ch] (getScreenLabel):
5766 * insetref.[Ch] (getScreenLabel):
5767 * insettoc.[Ch] (getScreenLabel):
5768 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5770 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5772 (validate): remove check on "cite" when using natbib.
5774 2001-07-26 Baruch Even <baruch@lyx.org>
5776 * insetgraphics.C (draw): changed casting to be in one place rather than
5777 all over the function.
5780 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5782 * insetgraphicsParams.h:
5783 * insetgraphicsParams.C:
5784 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5786 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5788 * insetfoot.C (validate): Added method to ensure that the
5789 right bit of LaTeX is emitted.
5791 * insetfoot.h: Added validate method to set the correct
5792 LaTeXFeatures bit for the special footnote code.
5794 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5796 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5799 2001-07-27 Juergen Vigna <jug@sad.it>
5801 * inset.h: remove not used font variable in parameter.
5802 removed checkInsertChar in UpdatableInset as it was equal to
5803 the one in Inset and so not needed.
5805 * insetert.C (checkInsertChar): implementation of function
5808 * inset.h: added new function checkInsertChar.
5810 * various files: added c-tor and clone() function.
5812 * insetcollapsable.h: removed clone function here as this should
5813 be only realized in REAL insets and added it to all collapsable
5814 insets! (with the copy-constructor).
5816 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5818 * insetminipage.C (read): handle missing parameters more gracefully
5820 * insetcollapsable.C (read): handel missing collapsed more gracefully
5822 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5824 * insetfloat.C (read): handle missing parameters.
5826 * insettext.C (read): handle old latex end_inset
5828 * insetert.C (setButtonLabel): new method
5829 (init): use it, to set the dynamic label correctly
5832 * Makefile.am (EXTRA_DIST): add files that is not part or the
5835 * insetcollapsable.h: remove autocollapsable (no users), remove
5836 draw_label, change_label_with_text and companion code. Remove args
5838 * insetert.[Ch]: move here instead (only user)
5840 * inset.h: rename private variable name to name_, make
5841 selectNextWord return a const string. make getInsetName return a
5842 string const &. Remove bool from open, add close.
5844 * Makefile.am: don't compile insetlist, insetsection
5847 2001-07-24 Juergen Vigna <jug@sad.it>
5849 * insetert.C (InsetERT): put init after the paragraph initialization,
5850 as otherwise we don't set the draw_label right.
5852 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5853 insets with the mouse without having strange selections.
5854 (edit): if the inset was collapsed and we open it here then put the
5855 cursor always at the beginning of the inset.
5856 (get_new_label): 15 instead of 10 max chars in the label.
5858 * insetert.C (localDispatch): added and handle various stuff we
5859 need to handle here (font setting on paragraph break, not permitted
5860 layout setting, etc.).
5862 * inset.h: added default copy-consturctor and implemented this in
5863 various insets with the change to use this in the clone function!
5865 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5867 * insetminipage.C (InsetMinipage): set background color to red :)
5869 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5871 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5872 draw frame mode is LOCKED.
5874 * insetcollapsable.C (edit):
5875 (insetButtonRelease): set update status to full when
5878 * insettext.C (clearInset):
5879 * insettabular.C (draw):
5880 * insetlatexaccent.C (draw): honor background color.
5882 * inset.h: new member background_color_, initialized to
5885 * inset.C (backgroundColor): new method.
5886 (setBackgroundColor): new method.
5888 * insetert.C (init): new method, called by the ctors.
5889 (InsetERT): when inserting contents, make sure the font is
5892 * insetnote.C (InsetNote): when inserting content, remove trailing
5894 (init): set background color to LColor::note
5896 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5898 * insetcollapsable.C: adjust
5900 * insetbutton.C: adjust
5902 2001-07-23 Juergen Vigna <jug@sad.it>
5904 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5905 parameter on the _collapsed function (was not needed) and call
5906 always width_collapsed().
5908 * insetert.C (InsetERT): use setLabel with "true" flag.
5910 * insetcollapsable.C: modified various functions to set the draw_label
5911 string right in any condition.
5912 (setLabel): added a bool parameter to set change_label_with_text.
5914 * insetcollapsable.h: added draw_label string which is set to the
5915 actual drawn label-string, while label is the original static label
5916 of this collapsable inset. Added bool change_label_with_text to set
5917 if we want that the label changes to the start of the InsetText's
5918 text when collabpsed. You can set this flag with the setLabel funciton.
5919 Added bool inlined for inlined collapsable insets, but not handled
5922 * insetcollapsable.C (get_new_label): added should get a new label
5923 from the InsetText beginning (for now 10 chars).
5925 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5927 * insetquotes.C (latex): fix the handling of french double quotes
5928 when not using the french pachage.
5930 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5932 * insetcollapsable.h: make WidthCollapsed mutable.
5934 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5935 InsetPrintIndex returns INDEX_PRINT_CODE.
5937 * inset.h: add INDEX_PRINT_CODE
5939 * insetcollapsable.C (draw): init widthCollapsed if necessary
5942 * insetquotes.C (width): use the local language, not the document
5945 (dispString): add additional spacing for all french languages,
5947 (validate): make it work when there is no default language
5949 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5951 * insetnote.C (init): new method, called by the constructors
5952 (InsetNote): new constructor with contents passed as a string
5954 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5956 * insetfootlike.C (insetAllowed): disallow float in footlike.
5958 * insetert.C (InsetERT): add collapsed argument to the constrctor
5961 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5963 * insetindex.h: shut off warning
5965 2001-07-20 Juergen Vigna <jug@sad.it>
5967 * insetcollapsable.C (update): recoded hopefully works now!
5969 2001-07-19 Juergen Vigna <jug@sad.it>
5971 * most files: implemented the below new introduced function.
5973 * inset.h: added new edit(BufferView *, bool front) method to be able
5974 to enter an inset from the front/back without knowing x/y positions
5975 and baselines inside the inset. So I just can tell the inset activate
5976 me and set the cursor on the front/back of yourself.
5978 2001-07-18 Juergen Vigna <jug@sad.it>
5980 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5981 is given to the InsetText.
5982 (insetButtonPress): ditto
5983 (insetButtonRelease): ditto
5984 (insetMotionNotify): ditto
5986 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5988 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5989 LIGATURE_BREAK, since the name is so stupid.
5991 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5993 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5994 the default InsetCollapsable methods. I.e., it can insert anything.
5995 (write) output the name of the inset, not some silly hack for
5996 compatability with the old InsetInfo.
5998 * insetinfo.[Ch]: removed.
5999 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6000 now collapsable, but functionality is otherwise identical to InsetInfo.
6002 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6004 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6006 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6009 * insetquotes.C: general cleanup
6010 (dispString): add spaces inside french double quotes.
6011 (latex): ditto. Moreover, treat first the case where the frenchb
6012 or french options have been given.
6014 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6016 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6019 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6021 * figinset.C (RegisterFigure): Print debug message only when
6022 current_view is available.
6024 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6026 * many files: update to match the change below
6028 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6029 implement the version which takes an inset here.
6031 * insetcollapsable.[Ch]: implement open and isOpen
6033 * inset.h: remove insertInsetAllowed from Inset
6034 (open): new method, to open or close an inset
6035 (isOpen): returns the status of an inset
6036 (isCollapsable, colapse): removed
6038 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6040 * insetquotes.C (dispString): display french guillemets when using
6043 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6045 * insetcollapsable.h: remove bogus return statements
6047 2001-07-18 Juergen Vigna <jug@sad.it>
6049 * insettabular.C (selectNextWord): fixed spellchecking for the
6050 first cell of a tabular (wasn't entered!)
6051 (getLyXText): changed to enter automatically insettext and return
6052 it's LyXText if we're locked.
6054 2001-07-17 Juergen Vigna <jug@sad.it>
6056 * various files: implemented the below functions.
6058 * inset.h: added functions
6059 - virtual string selectNextWord(BufferView *, float & value) const;
6060 - virtual void selectSelectedWord(BufferView *) { return; }
6061 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6062 needed for spellchecking correctly!
6064 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6066 * insetert.C (latex): write out all paragraphs.
6068 2001-07-17 Baruch Even <baruch@lyx.org>
6070 * insetgraphics.C (draw): Removed unneeded casts.
6072 2001-07-16 Juergen Vigna <jug@sad.it>
6074 * insettext.C (update): fixed small oversight (reset lt to 0).
6076 2001-07-14 Baruch Even <baruch@lyx.org>
6079 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6081 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6083 Consistent use of Lsstream.h:
6084 * figinset.C: removed using std::ostringstream directive.
6086 * insetgraphics.C (createLatexOptions):
6087 * insetinclude.C (unique_id):
6088 std::ostringstream -> ostringstream.
6089 * insettext.C (localDispatch): std::istringstream -> istringstream.
6091 2001-07-13 Juergen Vigna <jug@sad.it>
6093 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6095 * insetcollapsable.C (getLockingInset): ditto.
6097 2001-07-12 Juergen Vigna <jug@sad.it>
6099 * insetcollapsable.h: added implementation of new function for
6102 * various files: added implementation of new insertInsetAllowed-func
6103 and redone the function a bit more.
6105 * inset.h: added isCollapsable(), bool collapsed(),
6106 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6108 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6110 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6111 LyXText which is marked for removal while we're using it!
6113 * insettext.h: added private LyXText * lt to use it to assure we are
6114 not deleting our LyXText while we're using it!
6116 2001-07-11 Juergen Vigna <jug@sad.it>
6118 * insettext.C (insertInset): check if we are before the inset after
6119 inserting it! This check IS needed. Remove the Undo-Call as it is
6120 called in LyXText::insertInset!
6122 * insettext.h: added struct InnerCache.
6124 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6125 that we ONLY delete the LyXText in the getLyXText() routine. So we
6126 are sure we don't delete LyXText while someone is working with it!
6128 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6130 * insetexternal.C: (*it). -> it->
6131 * insettext.C: ditto
6133 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6135 * insetcollapsable.C (edit): always open collapsed insets (even if
6136 they are not autocollapsable)
6138 * insetcommand.C (operator=): simplify.
6140 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6142 * insetert.C (latex): handle META_NEWLINE
6144 2001-07-09 Juergen Vigna <jug@sad.it>
6146 * insetert.h: a normal InsetText can insert insets, but we won't.
6148 * inset.h: return default "false" on insertInsetAllowed and implement
6149 this function where a returnvalue != "false" is needed.
6151 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6153 * insetert.C (InsetERT): new contructor
6155 2001-07-06 Juergen Vigna <jug@sad.it>
6157 * a lot of files: added implementation of the below new functions
6158 and the change to clone(). Also the call of the new undo-functions
6161 * inset.h: added an inset_id, added functions getParFromID,
6162 getInsetFromID, firstParagraph, cursor and id functions, added
6163 bool same_ids to clone function.
6165 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6167 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6168 of BufferView * and shared_ptr<LyXText>
6170 2001-07-05 Juergen Vigna <jug@sad.it>
6172 * insettext.C (clear): deleted also the cache not only LyXText.
6173 (setParagraphData): ditto.
6175 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6177 * insetfloat.C (latex): let the specific placement take presedence
6178 if set, otherwise choose document placement if set, otherwise just
6179 use float default placement.
6181 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6183 * insettext.C (localDispatch): call CutAndPaste::'s static method
6186 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6188 * insetbib.C: no meed to include forms.h here.
6190 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6192 * insettext.C: added using std::make_pair directive.
6194 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6196 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6198 (deleteLyXText): ditto
6199 (resizeLyXText): ditto
6201 2001-07-02 Juergen Vigna <jug@sad.it>
6203 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6204 following calls are only returned the right pointer without the over
6205 head to search in the map.
6206 (various funcs): reset the cached_bview variable as this signs that
6207 the cache is not valid anymore.
6209 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6211 * insettabular.C (clone): do not copy the LyXTabular twice
6213 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6215 * insettext.h (TEXT): delete method
6217 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6219 * insetmarginal.C (latex):
6220 * insetfoot.C (latex): fix spacing of notes in LaTeX
6222 * insettext.C (localDispatch): use .c_str() on istringstream
6223 constructor argument.
6225 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6230 * inseturl.C: fix method names in these to begin
6231 with small char too, so they inherit
6233 2001-06-28 Juergen Vigna <jug@sad.it>
6235 * insettext.C (setFont): fixed font settings using toggleFree()
6236 instead of setFont().
6238 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6240 * Change a lot of method names to begin with a small char.
6241 Changes to a lot of files because of this.
6243 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6245 * insetfloatlist.C (Write): std:: qualify ostream
6248 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6252 * insetgraphics.C: send debug output to Debug::INFO instead of
6255 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6258 * insettabular.C (getStatus): update to use func_status
6260 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6262 * insetref.C (DocBook): added support for cross-references without
6265 2001-06-26 The LyX Project <jug@sad.it>
6270 * insetlabel.h: removed escape method and moved it to
6273 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6275 * insettabular.C (getMaxWidth): do the speedup in a different way,
6278 2001-06-24 The LyX Project <Asger>
6280 * insettabular.C (getMaxWidth): We cache a mapping from
6281 inset to cell in order to speed this method up.
6283 2001-06-24 The LyX Project <Asger>
6285 * insettext.C: Optimized InsetText::draw or something.
6287 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6289 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6291 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6293 * inset.h: name change from lyxinset.h
6295 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6297 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6299 2001-06-14 Juergen Vigna <jug@sad.it>
6301 * insettext.C (draw): removed warnings.
6303 2001-06-13 Juergen Vigna <jug@sad.it>
6305 * insettabular.C (nodraw): only go down the tree if we don't have
6306 that flag set otherwise it's obvious that we don't want to draw.
6307 (LocalDispatch): do also an update if we have an undispached result.
6309 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6312 * insetgraphicsParams.C:
6313 * insettext.C: removed // -*- C++ -*- as first line.
6315 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6317 * lyxinset.h (resizeLyXText): shut off warning about unused
6320 2001-06-07 Juergen Vigna <jug@sad.it>
6322 * insettext.C (resizeLyXText): honor the new force flag.
6324 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6326 * insettabular.C (deleteLyXText): new function
6328 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6336 * insetcollapsable.C:
6337 * insetcaption.C: LColor tidy
6339 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6341 * figinset.C: fix typo
6343 2001-06-01 Juergen Vigna <jug@sad.it>
6345 * insettabular.C (resetPos): small hack so that scroll is not set to
6346 0 when we are in the last column of a tabular. This is a problem we
6347 have because of constats 20 offset on both directions, so this can
6348 cause on the limit an endless loop.
6350 * insettext.C (SetFont): forgot that we can have locking insets ;)
6352 2001-05-31 Juergen Vigna <jug@sad.it>
6354 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6356 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6358 * figinset.C: add using std:: directive for the C functions which
6361 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6363 * insetfloat.C (Write): write out wide info
6364 (Read): read the wide info
6365 (Latex): use the wide info when creating latex.
6367 * insettext.C: adjust
6369 * insetgraphics.[Ch] (statusMessage): change to return string
6373 * figinset.C (runqueue): add std::
6376 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6378 * insetcite.C (Ascii): add std:: qualifier
6380 2001-05-28 Juergen Vigna <jug@sad.it>
6382 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6383 a endless-width inset (maxWidth < 0).
6384 (Edit): change language only if not equal.
6386 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6388 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6390 2001-05-16 Juergen Vigna <jug@sad.it>
6392 * insettext.C (selectAll): added
6393 (clearSelection): added
6395 * insettabular.C (SetFont): now we may set a font on a whole selection!
6396 (getSelection): added helper function.
6398 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6400 * insetcite.C (Ascii): Add method.
6402 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6405 * insetbib.C: fix path for OS/2 & Win32
6407 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6409 * insetfoot.C (Latex): don't use % after footnote.
6411 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6413 * insettext.C (Read): use clear
6414 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6416 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6418 * insetfloatlist.h: add a bunch of std:: qualifiers.
6420 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6422 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6423 FLOAT_LIST_CODE, renumber code list.
6425 * insettoc.C (getScreenLabel): remove support for float lists
6429 * insetfloatlist.[Ch]: new files
6431 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6433 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6435 * insettabular.C (LocalDispatch):
6436 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6439 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6441 * insettext.C: remvoe !NEW_INSETS cruft
6443 * insettabular.C: remove !NEW_INSETS cruft
6445 * insetcollapsable.h: remove !NEW_INSETS cruft
6447 * insetbib.C: remove !NEW_INSETS cruft
6449 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6451 * insettoc.C: hack to make listof algorithm work
6453 2001-04-20 Juergen Vigna <jug@sad.it>
6455 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6457 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6459 * insetquotes.C (Latex): improve the guard against
6460 unwanted !` and ?` ligatures. This should really be done in
6461 another place (to catch all this ligatures at low-level).
6463 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6465 * insettext.C (init): remvoe leftovers from cursor_visible change
6466 (draw): use c++ cast
6467 (LocalDispatch): dispatch LFUN_MESSAGE
6469 * insettabular.C (InsetTabular): remove leftovers from
6470 cursor_visible, and scoped_ptr changes
6471 (draw): use c++ cast
6473 * insetcollapsable.C (draw): use c++ cast
6475 * ExternalTemplate.h: inherit privaely from noncopyable
6476 * insetcommand.h: ditto
6477 * insetinclude.h: ditto
6479 2001-04-16 Allan Rae <rae@lyx.org>
6481 * insettoc.C (Ascii):
6482 * insettext.C (draw):
6483 * insettabular.C (setPos):
6484 * insetminipage.C (Read):
6485 * insetfloat.C (placement):
6486 * insetcaption.C (Ascii, DocBook):
6487 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6488 an unrecognised preprocessor directive. So ensure they're wrapped.
6490 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6493 * insetexternal.C: set view on Clone. Add _ to private members.
6495 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6497 * insettext.C (InsetText): fix new
6498 (InsetText): reindent some, simplify deletion of par list
6499 (clear): simplify deletion of par list, fix new
6500 (SetParagraphData): simplify deletion of par list
6502 * insettabular.[Ch] (getLabelList): implement new method
6504 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6506 * lyxinset.h: do not include gettext.h...
6514 * insetlatexaccent.C:
6518 * inseturl.C: ... and do it here instead
6520 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6522 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6524 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6526 * insetcollapsable.[Ch] (getLabelList): implement
6528 * insettext.[Ch] (getLabelList): implement
6530 * insettext.h: reindent
6532 * insettabular.h: make tabular a scoped_ptr
6534 * insettext.C (init): adjust for cursor_visible
6535 (ToggleInsetCursor): constify asc and desc, font, adjust for
6537 (ShowInsetCursor): constify asc and desc, font, adjust for
6539 (HideInsetCursor): adjust for cursor_visible
6541 * insettabular.C: reindent some
6542 (InsetTabular): adjust for scoped_ptr and cursor_visible
6543 (InsetTabular): ditto
6544 (~InsetTabular): delete delete
6545 (Clone): adjust for scoped_ptr
6546 (Read): constify old_format, adjust for scoped_ptr, move init of
6548 (draw): constify tx, localize loop vars.
6549 some other localization of variables, remove double initilizatons.
6551 * insetfoot.C: remove using std::ostream, add ostream where needed
6553 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6555 * lyxinset.h: some reindentaion, use initializer list for
6557 UpdatableInset: make cursor_visible a private var add
6558 public isCursorVisible(), add protected toggleCursorVisible() and
6559 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6561 * insettoc.C: remvoe using decl
6562 (getScreenLabel): make cmdname donst
6565 (Ascii): don't use endl
6567 * insetfootlike.C: remove using decl at file scope and add std::
6569 * insetmarginal.C: ditto
6571 * insetfoot.C: some reformatting
6573 * insetfloat.C (InsetButtonRelease): adjust the hit area
6575 * insetert.C (SetFont): some reformatting
6577 * insetcollapsable.C: some reformatting and constification
6578 (Clone): comment out.
6579 * insetcollapsable.h: some reformatting
6580 (Clone): comment out.
6585 2001-03-30 Juergen Vigna <jug@sad.it>
6587 * insetcollapsable.h: changen *inset to be a InsetText inset.
6589 * some files: changed to reflect the above change.
6591 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6593 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6594 InsetExternal::Params.
6595 Added operator==() and operator!=() for the Params struct.
6597 2001-03-29 Juergen Vigna <jug@sad.it>
6599 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6602 * insetminipage.C: removed widthp_ and all it's functions and changed
6603 to use new %-lengths of LyXLength.
6605 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6607 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6609 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6611 * insetgraphicsParams.C (operator!=): new function, needed by the
6612 ControlGraphics class.
6614 2001-03-28 Juergen Vigna <jug@sad.it>
6616 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6617 (checkAndActivateInset): don't use the values returned from
6618 call to bv->checkInsetHit.
6620 * insetminipage.C (Clone): set special minipage values.
6622 * insetcollapsable.C (draw): changed to draw the button in the
6623 upper left corner outside the textinset.
6624 (ascent): changed because of different drawing
6628 (InsetButtonPress): ditto
6629 (InsetButtonRelease): ditto
6630 (InsetMotionNotify): ditto
6632 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6634 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6638 2001-03-26 Juergen Vigna <jug@sad.it>
6640 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6642 * insettext.C (ShowInsetDialog): implemented above function.
6644 * insettabular.C (ShowInsetDialog): ditto
6646 * insetminipage.C (ShowInsetDialog): ditto
6648 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6650 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6651 InsetInclude::Params. Don't store a buffer * in Params. Store the
6652 master file name instead.
6654 2001-03-23 Juergen Vigna <jug@sad.it>
6656 * insetcollapsable.C (InsetMotionNotify):
6657 (InsetButtonRelease):
6658 (InsetButtonPress): fixed y-offset (minipages).
6660 * insettext.C (draw): force a FULL update if cleared == true.
6662 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6663 routine to draw the minipages on its position-flag.
6664 (InsetInInsetY): give back the right y position, because of minipage
6667 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6670 * insetfloat.C (DocBook): docbook export code.
6672 2001-03-22 Juergen Vigna <jug@sad.it>
6674 * insetminipage.C (getMaxWidth): added function to set the drawing
6676 (Read): should work now!
6678 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6679 if we create a new inset.
6681 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6683 * figinset.C (fl_set_preemptive_callback): moved definition outside
6686 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6688 * insetminipage.C (Read): prepare for reading of minipage arguments.
6690 2001-03-18 Baruch Even <baruch@lyx.org>
6692 * insetgraphics.C: Minor cleanups of the comments and code.
6694 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6696 * insetminipage.C (InsetMinipage): default to not collapsed
6698 2001-03-16 Juergen Vigna <jug@sad.it>
6700 * insetminipage.C (width): modified with to be a string
6701 (widthp): added widthp (for % width) support functions.
6702 (InsetButtonRelease): added to open the options dialog on button==3.
6703 (~InsetMinipage): added to hide the dialog.
6705 * insetminipage.h: added hideDialog signal
6707 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6709 * insetminipage.h: change the order or Position to match
6710 LyXParagraph::MINIPAGE_ALIGNMENT
6712 * several files: remvoe CXX_WORKING_NAMESPACES
6714 * ExternalTemplate.h: noncopyable is in namespace boost
6715 * insetinclude.h: ditto
6716 * insetcommand.h: ditto
6718 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6720 * insettext.C (Edit): #else# -> #else.
6721 * insettoc.C: added using directive.
6723 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6725 * insetminipage.h: add pos, inner_pos, width and height. + getters
6726 and setters for all of them.
6728 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6730 * insetinclude.C (Latex): Do not exit when the textclass of the
6731 included file differ from the textclass of the parent file.
6733 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6735 * ExternalTemplate.C (read): the reading of external insets now checks
6736 for \end_inset and removes it form the input stream.
6738 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6740 * ExternalTemplate.h:
6741 * ExternalTemplate.C:
6743 * insetexternal.C: move form to GUII
6745 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6748 * insetinclude.C: add InsetIncludeParams, use
6749 composition rather than derivation of InsetCommand
6751 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6753 * insettoc.C (Ascii): use the Buffer typedefs
6755 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6757 * insettoc.C (Ascii): implement for dynamic number of lists
6759 * insetcaption.[Ch]: update from new_insets branch
6760 * insetfloat.[Ch]: ditto
6762 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6765 * figinset.C: use new File Dialog
6767 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6769 * insettext.C: changes becuase of ParagraphParameters.
6771 2001-02-28 Baruch Even <baruch@ev-en.org>
6773 * insetgraphics.C (updateInset): Changed due to the change in
6776 2001-02-26 Juergen Vigna <jug@sad.it>
6778 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6779 handled in LyXText).
6781 2001-02-23 Juergen Vigna <jug@sad.it>
6783 * insettext.C (draw): some small repainting fixes.
6784 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6786 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6787 should be) and not an int.
6789 * insettabular.C (LocalDispatch): ditto
6791 * insettext.C (LocalDispatch): ditto
6793 * insetcollapsable.C (LocalDispatch): ditto
6795 2001-02-22 Juergen Vigna <jug@sad.it>
6797 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6798 DISPATCH it and we don't have a locking_inset.
6800 2001-02-21 Baruch Even <baruch@ev-en.org>
6802 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6803 instead of GraphicsCacheItem *.
6805 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6807 * insetcollapsable.C (getLyXText): add const qualifier to second
6810 2001-02-22 Juergen Vigna <jug@sad.it>
6812 * insettext.C (getLyXText): honor the recursive parameter.
6813 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6815 * inset.C (getLyXText): added bool recursive parameter.
6817 * insettext.C (SetUpdateStatus): or the update codes.
6818 (draw): check need_update with &.
6819 (InsetButtonPress): set no_selection to not put a selection when
6820 entering an inset and it is redraws in another spot.
6822 * insettext.h: made need_update an int.
6824 2001-02-20 Baruch Even <baruch@ev-en.org>
6827 * insetgraphisc.C: Changed to use better semantics when loading images
6828 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6830 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6834 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6835 consistent with InsetTabular.
6837 2001-02-19 Juergen Vigna <jug@sad.it>
6839 * insettabular.C (LocalDispatch): implement PAGE up/down.
6841 * insettext.C (draw): clear all of it on need_update==INIT too!
6843 * insettabular.C (InsetUnlock): always clear the selection.
6845 * inset.C (scroll): normally we only want to scroll the inset until
6846 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6848 2001-02-14 Juergen Vigna <jug@sad.it>
6850 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6851 (resetPos): fixed scroll behaviour.
6852 (LocalDispatch): do an update if moving cursor inside a table cell
6853 requests a scroll of the tabular.
6855 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6857 * insettext.C (textWidth): constify local var
6859 * insettabular.C: small cleanup.
6861 * insetfoot.C (Latex): constify local var
6863 * insetcollapsable.C: small cleanup.
6865 * figinset.C (runqueue): use compare instead of strcmp
6867 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6870 * insetinfo.C: remove cruft
6872 2001-02-14 Juergen Vigna <jug@sad.it>
6874 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6876 2001-02-13 Juergen Vigna <jug@sad.it>
6878 * insettext.C (InsertInset): don't move left (is this right?)
6880 * insettabular.C (LocalDispatch): use of the no_draw variable
6882 * insettabular.h: new no_draw variable to stop redraw
6884 * insettabular.C (TabularFeatures): fixed update for alignment change
6886 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6890 * insetbib.C: move dialogs to frontends/
6892 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6894 * insettext.C (LocalDispatch): Restore the language if the inset
6897 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6899 * insettext.C (moveRightIntern): Update the selection cursor.
6900 (moveLeftIntern): Ditto.
6902 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6904 * Makefile.am: remove BoundingBox.h
6906 * BoundingBox.h: removed
6908 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6910 * insettext.C (LocalDispatch): Update selection cursor when moving
6911 cursor to the right.
6912 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6913 (moveLeftIntern): Ditto.
6915 2001-02-05 Baruch Even <baruch.even@writeme.com>
6917 * insetgraphics.C: Updated automatic image conversion, it now goes into
6918 temporary directory instead of with the image itself.
6920 2001-01-21 Baruch Even <baruch@ev-en.org>
6922 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6923 to EPS or PNG when needed (support bitmap graphics).
6925 2000-11-02 Baruch Even <baruch@ev-en.org>
6928 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6929 and removal of commented out code.
6931 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6933 * insetbib.C (callback): Update citations if the key has changed.
6935 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6937 * insetbib.C (InsetBibKey): Better computation of default key.
6938 (getScreenLabel) Show both the key and the label.
6939 (getBibLabel): New method.
6940 (callback): Force a redraw if the inset have been changed.
6942 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6944 * insetref.C (getType, getName): Move methods from
6945 src/frontends/xforms/FormRef.C.
6947 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6949 * insettabular.C: Various improvements (use only one dummy position).
6951 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6953 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6954 par->bibkey->width. This fixes the crashes when running without
6955 gui or when having included documents.
6957 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6959 * insetcommand.C (getAsString, setFromString): Cleanup.
6961 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6963 * insetref.C: Add the array InsetRef::types that contains
6964 information about all supported reference types.
6966 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6968 * lyxinset.h: remove trailing comma in enum.
6970 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6972 * insettext.C: kill LyXBell.