1 2004-04-19 Angus Leeming <leeming@lyx.org>
5 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
7 2004-04-19 Angus Leeming <leeming@lyx.org>
9 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
11 (add_preview): renamed as add_preview_and_start_loading. Invoke
12 RenderPreview::startLoading.
14 * insetinclude.C (metrics, draw): changes due to the changed
15 RenderPreview interface.
17 * render_preview.C: remove cached pimage_.
18 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
19 (draw): don't call startLoading. That's up to the user of
22 2004-04-16 Angus Leeming <leeming@lyx.org>
24 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
26 2004-04-13 Angus Leeming <leeming@lyx.org>
28 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
29 the renderer to inform LyX::updateInset that the inset's status
30 has changed and it should be redrawn.
32 * render_button.[Ch] (clone):
33 * render_graphic.[Ch] (c-tors, clone):
34 * render_preview.[Ch] (c-tors, clone): ditto.
36 * render_graphic.[Ch] (connect):
37 * render_preview.[Ch] (connect): removed, as connection is now
38 made in the constructors.
42 * insetinclude.C: ensuing simplification of the client code.
43 (statusChanged): now superfluous. Removed.
45 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
47 * ExternalTemplate.[Ch]: remove editCommand
48 * ExternalSupport.C (editExternal): use formats.edit() instead of
49 the removed editCommand template parameter
50 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
51 * insetgraphics.[Ch] (editGraphics): new method
53 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
55 * insetinclude.C (validate): set/reset features.buffer_ when
58 2004-04-07 Angus Leeming <leeming@lyx.org>
60 * insetexternal.C (priv_dispatch):
61 * insetinclude.C (priv_dispatch): prevent crash by invoking
62 InsetOld::priv_dispatch at the end of the switch, rather than
65 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
68 * insetbranch.C: 'assign' to open/close branch inset according to
69 selection; also print content on closed branch button
71 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
73 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
74 $$RelPath_Master, $$RelPath_Parent, $$Extension,
75 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
77 * ExternalSupport.C (updateExternal): use absolute and output
78 filename where appropriate
80 2004-04-05 André Pönitz <poenitz@gmx.net>
82 * insetbase.h: use LCursor & in notifyCursorLeave
84 2004-04-05 Angus Leeming <leeming@lyx.org>
86 * insetgraphics.C: remove unused header file "lyxrc.h".
88 * render_graphic.C: squash bug 1372: Misleading graphics label when
89 deactivating lyx view.
91 2004-04-05 Angus Leeming <leeming@lyx.org>
101 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
103 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
105 * insetfloat.C (read): fix yesterday's float fix.
106 * insetwrap.C (read): apply the fixed float fix.
108 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
110 * insetfloat.C (read): fix reading of float params
113 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
115 * insettext.C (edit): comment the call to updateLocal (dangling now)
116 * insettext.h: add allowSpellCheck() returning true
118 2004-03-31 Angus Leeming <leeming@lyx.org>
120 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
122 2004-03-31 Angus Leeming <leeming@lyx.org>
124 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
125 the cursor out of an inset.
127 * insetbranch.C (priv_dispatch):
128 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
129 use getOutOfInset to push the cursor out of the inset when
132 2004-03-30 Angus Leeming <leeming@lyx.org>
134 * insetbase.[Ch] (translate): new static member function, returns
135 an InsetBase::Code corresponding to the input string.
137 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
139 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
140 so that it opens the inset if it refers to the currently active
143 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
145 * insetfloat.C (addToToc): use par_const_iterator_begin and
146 par_const_iterator_end.
148 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
150 * insetbibtex.[Ch]: bibtopic support.
152 * insetfloat.[Ch]: add param \sideways {true|false}
153 (support for sideways floats from rotating.sty).
155 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
157 * insettext.[Ch]: add a default ctor. implement const version of
163 * insetwrap.C: adjust
165 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
167 * insettext.h: add insetAllowed returning true by default (fixing
168 vanishing insets problem)
170 * insettext.C (draw): handle the responsability of adding the
171 ouside offset to collapsable. Clean code a bit.
173 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
174 from insettext correctly, solve a couple of off-by-one drawing
177 2004-03-25 Angus Leeming <leeming@lyx.org>
179 * insetcaption.C (draw): squash warning about unused variable.
181 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
183 * ExternalSupport.C: use the master buffer's temp dir
184 * insetgraphics.C (latex): make relative filename relative to the
186 * insetgraphics.C: use the master buffer's temp dir
187 * insetinclude.C (masterFilename): new function
188 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
189 is always true if loadIfNeeded() returns true)
191 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
193 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
194 set its parent to the current buffer.
195 (latex): use the tmppath of the master buffer, not just the parent
196 buffer (makes a difference with more than one level of include
197 insets). If the file name is relative write in the .tex file a
198 name relative to the master buffer directory.
200 * insetinclude.C: rename masterFilename to parentFilename (this
201 points to the direct parent)
203 2004-03-25 André Pönitz <poenitz@gmx.net>
205 * inset.[Ch]: remover owner
207 * insetcollapsable.[Ch]: derive from InsetText instead having such a
215 * insetcharstyle.[Ch]:
223 * insetwrap.C: adjust
225 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
227 * insetquote.C: use opening quote after '[' char.
229 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
231 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
234 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
236 * insetcite.[Ch]: support jurabib.
238 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
240 * insetcite.C: Support second \cite option.
243 * insetcommandparams.[Ch]: add second optional argument.
245 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
247 * insetcollapsable.C (lfunMouseRelease): right mouse button only
248 shows the inset dialog.
250 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
252 * insetlabel.[Ch]: remove them
253 * Makefile.am: adjust
255 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
257 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
259 * insetinclude.C (latex): show a GUI warning if textclasses don't
261 * insetinclude.C: use mangledFilename() for temp files
262 * insetgraphics.C (readInsetGraphics): remove version check, since
263 the graphics inset has no own fileformat number anymore
265 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
267 * insetquotes.[Ch]: added new member that allows direct access
268 to single/double quotation marks.
270 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
272 2004-02-16 André Pönitz <poenitz@gmx.net>
275 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
276 implicitly assume 'DispatchResult(true, true) with exception of
277 InsetBase::priv_dispatch which does the equivalent of
278 'retrun DispatchResult(false)'
280 * inset*.[Ch] (priv_dispatch): adjust
282 * insettabular.[Ch]: remove remains of the 'update' mechanism,
283 simplify cursor moving function,
284 re-enable horizontal scrolling for large tables
286 2004-02-13 André Pönitz <poenitz@gmx.net>
288 * insettabular.[Ch]: some work after IU
290 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
292 * inset.C (setPosCache): switch to absolute coords in insets
293 * insettext.[Ch] (draw, drawFrame): adjust
294 * insetcollapsable.C (draw): adjust
297 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
299 * insettext.C (edit):
300 (updateLocal): use the cur argument instead of the global cursor
301 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
303 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
305 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
307 * insetfloat.C (validate): "H" -> 'H' in call to contains
309 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
311 2004-01-30 André Pönitz <poenitz@gmx.net>
315 * insetcollapsable.[Ch]:
318 * insetgraphics.[Ch]:
323 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
326 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
328 * insettabular.C: add using statement for std::vector, remove
329 std:: where using was already used.
331 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
333 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
335 * insetinclude.C (validate): use feautures.nice() instead of
338 2004-01-20 André Pönitz <poenitz@gmx.net>
341 * insetbase.[Ch]: move stuff from mathcursor here.
347 * insetcharstyle.[Ch]:
348 * insetcollapsable.[Ch]:
351 * insetexternal.[Ch]:
353 * insetgraphics.[Ch]:
362 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
364 2004-01-15 André Pönitz <poenitz@gmx.net>
371 * insetcharstyle.[Ch]:
372 * insetcollapsable.[Ch]:
375 * insetexternal.[Ch]:
377 * insetgraphics.[Ch]:
386 * updatableinset.[Ch] (priv_dispatch et al): change signature.
388 2004-01-08 André Pönitz <poenitz@gmx.net>
390 * insetcollapsable.[Ch]:
393 * updatableinset.h: use cell index info from global cursor.
395 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
397 * insetnote.C (InsetNoteParams::write): write label only once
399 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
401 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
403 get rid of the SameName functor
405 * insettabular.C: improve the functor.
407 2003-12-29 Angus Leeming <leeming@lyx.org>
409 * insetexternal.C (setParams): update defaultTemplateName.
411 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
413 * insetbox.C: Use term "Box" in button label
415 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
417 * insetcharstyle.C: get getDrawFont working again
419 2003-12-15 André Pönitz <poenitz@gmx.net>
422 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
424 2003-12-12 Angus Leeming <leeming@lyx.org>
426 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
428 (InsetBranchParams): remove the branchlist hack.
429 (isBranchSelected): new function, used to decide whether to
430 print each output format. Also used by InsetList.
431 (read, string2params): repair my own breakage ;-)
433 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
435 * insetminipage.[Ch]: remove from repository.
437 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
440 * insetcollapsable.[Ch]: Move all CollapseStatus code from
441 insetert to insetcollapsable; introduce virtual function
442 setButtonLabel and invoke it from collapsable
444 2003-12-12 Angus Leeming <leeming@lyx.org>
446 * insetinclude.C (draw): cache x,y and so enable the
449 2003-12-12 Angus Leeming <leeming@lyx.org>
451 * mailinset.C (print_mailer_error): tidy up the output.
453 2003-12-11 Angus Leeming <leeming@lyx.org>
455 * mailinset.[Ch] (print_mailer_error): new helper function.
457 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
458 calling InsetCommandMailer.
459 (InsetCommandMailer::string2params): pass the name of the dialog.
461 * insetbibitem.[Ch] (d-tor):
462 * insetbibtex.[Ch] (d-tor):
463 * insetcite.[Ch] (d-tor):
464 * insetfloatlist.[Ch] (d-tor):
465 * insetindex.[Ch] (d-tor):
466 * insetlabel.[Ch] (d-tor):
467 * insetref.[Ch] (d-tor):
468 * insettoc.[Ch] (d-tor):
469 * inseturl.[Ch] (d-tor): removed.
470 Hiding the dialog is handled by InsetCommand.
472 * insetbibtex.[Ch] (draw, metrics):
473 * insetfloatlist.[Ch] (draw, metrics):
474 * insetindex.[Ch] (draw, metrics): removed.
475 Drawing is handled by InsetCommand.
477 * insetbibitem.[Ch] (priv_dispatch):
478 * insetbibtex.[Ch] (priv_dispatch):
479 * insetcite.[Ch] (priv_dispatch):
480 * insetfloatlist.[Ch] (priv_dispatch):
481 * insetindex.[Ch] (priv_dispatch):
482 * insetlabel.[Ch] (priv_dispatch):
483 * insettoc.[Ch] (priv_dispatch):
484 * inseturl.[Ch] (priv_dispatch): removed or simplified.
485 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
486 LFUN_INSET_DIALOG_SHOW.
488 * insetbox.C (string2params):
489 * insetbranch.C (string2params):
490 * insetert.C (string2params):
491 * insetexternal.C (string2params):
492 * insetfloat.C (string2params):
493 * insetinclude.C (string2params):
494 * insetminipage.C (string2params):
495 * insetnote.C (string2params):
496 * insetvspace.C (string2params):
497 * insetwrap.C (string2params): over-hauled.
499 2003-12-10 Angus Leeming <leeming@lyx.org>
501 * insetexternal.[Ch]: add a draft option and respect it when
504 2003-12-10 Angus Leeming <leeming@lyx.org>
506 * insetbox.C: (read, write): now prepend the inset contents with
507 'Box' to identify the inset as a box inset.
509 * insetbox.h: move the translators out of sight.
511 2003-12-10 Angus Leeming <leeming@lyx.org>
513 * insetert.C (string2params): clean-up using the new lyxlex interface.
515 * insetexternal.C: ensure that InsetExternalParams has a default
516 template, 'RasterImage'.
518 2003-12-10 Angus Leeming <leeming@lyx.org>
520 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
521 to an enum. Ensuing clean-ups through out the class.
522 (read, write): now prepend the inset contents with 'Note' to identify
523 the inset as a note inset.
525 2003-12-10 Angus Leeming <leeming@lyx.org>
527 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
528 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
530 2003-12-10 André Pönitz <poenitz@gmx.net>
535 * insettext.[Ch]: remove unused insetInset()
537 * insetert.C: disable some LFUNs
539 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
541 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
543 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
545 2003-12-04 Angus Leeming <leeming@lyx.org>
547 * insetexternal.C (draw): update the xo_, yo_ cache.
549 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
551 (RotationDataType): new helper struct wrapping the
552 RotationData::OriginType enum.
554 2003-12-03 André Pönitz <poenitz@gmx.net>
556 * inset.h: remove getParagraphs()
558 * insetcollapsable.[Ch]:
562 * insettext.C: use getText() instead of getParagraphs()
564 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
566 * insetert.C: fix label text updating bug
568 2003-12-02 Angus Leeming <leeming@lyx.org>
570 * insetvspace.[Ch] (space): new member function. Make space_ private.
571 (read): use the new, simpler lyxlex syntax.
573 2003-12-01 André Pönitz <poenitz@gmx.net>
575 * insetcollapsable.[Ch]:
576 * insetert.[Ch]: move 'inline' state to InsetCollapsable
578 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
580 * insetvspace.C (read): handle 'end_inset' token.
582 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
584 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
586 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
588 * insetcollapsable.[Ch]:
590 * insetcharstyle.C: place inset content on the button when
593 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
595 * insetvspace.C: remove VSpace::NONE; increase inset width
597 2003-12-01 André Pönitz <poenitz@gmx.net>
599 * insetbase.h: whitespace
601 * inset.[Ch]: remove latexTextWidth
602 make setBackgroundColor virtual
604 * insettext.[Ch]: move ParagraphList member to LyXText
606 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
612 * insetminipage.[Ch]:
614 * insetwrap.[Ch]: adjust paragraphs and background color handling,
616 2003-11-28 Angus Leeming <leeming@lyx.org>
618 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
619 hiding and showing the dialog respectively.
620 (priv_dispatch): also actually update the inset contents.
622 2003-11-28 Angus Leeming <leeming@lyx.org>
624 * insetbox.C (d-tor):
625 * insetbranch.C (d-tor):
626 * insetcite.C (d-tor):
627 * insetfloat.C (d-tor):
628 * insetfloatlist.C (d-tor):
629 * insetinclude.C (d-tor):
630 * insetindex.C (d-tor):
631 simplify the invocation of the Mailer::hideDialog() function.
633 * insetminipage.C (showInsetDialog):
634 simplify the invocation of the Mailer::showialog() function.
636 2003-11-28 André Pönitz <poenitz@gmx.net>
639 * insetvspace.[Ch]: new insets
641 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
643 * insetcharstyle.C: Syntax change for CharStyles
645 2003-11-28 André Pönitz <poenitz@gmx.net>
647 * updatableinset.h: remove insetInInsetY
649 * insetcollapsable.[Ch]:
652 * insettext.[Ch]: adjust
654 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
658 * insetcollapsable.[Ch]:
660 * insettabular.[Ch]: remove setFont
662 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
664 * render_graphic.[Ch]: adjust comments
666 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
668 * insetgraphics.C (draw): cache xo_ & yo_
670 2003-11-24 André Pönitz <poenitz@gmx.net>
672 * insettext.C (setViewCache): don't call LyXText::init() anymore
674 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
677 * insetcollapsable.[Ch]:
678 * insetert.[Ch]: remove bufferview parameter in methods
679 open, close, status, and updateStatus.
681 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
683 * insetcollapsable.[Ch]:
685 * insettext.[Ch] (getCursorDim): squash unused variable
687 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
689 * insettext.C (edit): x0_,y0_ -> xo_,yo_
691 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
693 * insettext.C (draw): sets LyXText absolute coordinates
695 2003-11-20 Angus Leeming <leeming@lyx.org>
697 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
698 about unused parameters.
700 * insetcollapsable.C (open):
701 * insettabular.C (pasteSelection):
702 * insettoc.C (draw): ditto.
704 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
706 * insetcollapsable.C:
708 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
709 remove mouse_x mouse_y etc.
711 2003-11-17 André Pönitz <poenitz@gmx.net>
713 * insettext.[Ch] (cx, cy): remove
715 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
717 2003-11-13 André Pönitz <poenitz@gmx.net>
720 * insetcollapsable.[Ch]:
722 * insettext.[Ch] (deleteLyXText): remove
724 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
726 * insetcollapsable.[Ch] (fitInsetCursor): remove
727 * insettabular.[Ch] (fitInsetCursor): remove
728 * insettext.[Ch] (fitInsetCursor): remove
729 * updatableinset.[Ch] (fitInsetCursor): remove
730 (getCursorDIm): add virtual
732 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
734 * src/insets/Makefile.am:
735 * src/insets/inset.h:
736 * src/insets/insetcharstyle.C:
737 * src/insets/insetcharstyle.h: The Character Style /XML short
740 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
742 * insettext.C: remove all update calls
743 * insetcollapsable.C: remove all update calls
745 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
747 * insettext.C (updateLocal, insertInset, setFont): remove
750 2003-11-10 André Pönitz <poenitz@gmx.net>
752 * inset.h: remove Inset::id_
754 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
757 2003-11-10 André Pönitz <poenitz@gmx.net>
761 * insetcollapsable.[Ch]:
768 * updatableinset.[Ch]: remove inset locking & adjust
770 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
772 * inset.h (allowSpellCheck): add (return true)
773 * insetert.h (allowSpellCheck): add (return false)
775 2003-11-05 José Matos <jamatos@lyx.org>
783 * insetcollapsable.[Ch]:
787 * insetexternal.[Ch]:
789 * insetfloatlist.[Ch]:
791 * insetgraphics.[Ch]:
796 * insetlatexaccent.[Ch]:
799 * insetmarginal.[Ch]:
800 * insetminipage.[Ch]:
804 * insetpagebreak.[Ch]:
808 * insetspecialchar.[Ch]:
814 * insetwrap.[Ch]: rename ascii to plaintext
815 and LatexRunParams to OutputParams.
817 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
819 * insetcollapsable.C (edit): add open() all
820 * insettext.C (edit): add setViewCache call
822 2003-11-04 André Pönitz <poenitz@gmx.net>
824 * inset.h (edit): move locking code from dispatch() to edit()
830 * insetcollapsable.[Ch]:
833 * insetexternal.[Ch]:
834 * insetgraphics.[Ch]:
840 * insettext.[Ch]: adjust
842 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
845 * insetcollapsable.[Ch]:
849 * updatableinset.[Ch]: remove dead search code
851 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
854 * insetcollapsable.[Ch]:
858 * updatableinset.[Ch]: remove dead spellcheck code
860 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
862 * insettabular.C (lockInsetInInset): small fix
864 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
866 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
867 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
868 from here. Be stricter on DispatchResult returned.
870 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
872 * Inset::dispatch's: adjust for new DispatchResult semantics.
874 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
876 * render_base.h: make clone return an auto_ptr
877 * render_button.C (clone): adjust
878 * render_graphic.C (clone): adjust
879 * render_preview.C (clone): adjust
881 * insettheorem.C (clone): return an auto_ptr
883 * insettext.C (priv_dispatch): exception safety
885 * insettabular.C: store the file scope variable paste_tabular in a
886 scoped_ptr, adjust usage.
888 * insetexternal.C (setParams): exception safety
890 * insetbibitem.C (clone): exception safety
892 2003-11-03 André Pönitz <poenitz@gmx.net>
895 * insetcollapsable.[Ch]:
897 * insettext.[Ch]: remove Inset::id and related functions
899 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
901 * insets: adjust for DispatchResult changes.
903 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
905 * insetpagebreak.C: fix screen representation & ascii output.
907 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
912 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
914 2003-10-31 José Matos <jamatos@lyx.org>
916 * inset.h (ascii, linuxdoc, docbook):
917 * insetbox.[Ch] (ascii, linuxdoc, docbook):
918 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
919 * insetcaption.[Ch] (ascii, docbook):
920 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
921 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
922 * insetert.[Ch] (ascii, linuxdoc, docbook):
923 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
924 * insetfloat.[Ch] (linuxdoc, docbook):
925 * insetfloatlist.[Ch] (ascii):
926 * insetfoot.[Ch] (docbook):
927 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
928 * insethfill.[Ch] (ascii, linuxdoc, docbook):
929 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
930 * insetindex.[Ch] (docbook):
931 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
932 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
933 * insetline.[Ch] (ascii, linuxdoc, docbook):
934 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
935 * insetnote.[Ch] (ascii, linuxdoc, docbook):
936 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
937 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
938 * insetref.[Ch] (ascii, linuxdoc, docbook):
939 * insetspace.[Ch] (ascii, linuxdoc, docbook):
940 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
941 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
942 * insettext.[Ch] (ascii, linuxdoc, docbook):
943 * insettoc.[Ch] (ascii, linuxdoc, docbook):
944 * inseturl.[Ch] (ascii, linuxdoc, docbook):
945 * insetwrap.[Ch] (docbook):
946 add LatexRunParams argument.
948 2003-10-30 José Matos <jamatos@lyx.org>
950 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
952 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
954 * updatableinset.C (priv_dispatch):
955 * insetwrap.C (priv_dispatch):
956 * inseturl.C (priv_dispatch):
957 * insettoc.C (priv_dispatch):
958 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
959 (moveLeftIntern, moveUp, moveDown):
960 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
961 (moveLeft, moveUp, moveDown):
962 * insetref.C (priv_dispatch):
963 * insetnote.C (priv_dispatch):
964 * insetminipage.C (priv_dispatch):
965 * insetlabel.C (priv_dispatch):
966 * insetindex.C (priv_dispatch):
967 * insetinclude.C (priv_dispatch):
968 * insetgraphics.C (priv_dispatch):
969 * insetfloatlist.C (priv_dispatch):
970 * insetfloat.C (priv_dispatch):
971 * insetexternal.C (priv_dispatch):
972 * insetert.C (priv_dispatch):
973 * insetcommand.C (priv_dispatch):
974 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
975 * insetcite.C (priv_dispatch):
976 * insetbranch.C (priv_dispatch):
977 * insetbox.C (priv_dispatch):
978 * insetbibtex.C (priv_dispatch):
979 * insetbibitem.C (priv_dispatch):
980 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
982 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
984 * insettext.C: small refactoring of docbook stuff
986 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
988 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
989 (priv_dispatch): adjust for operator dispatch_result_t removal
991 * insettabular.C (lfunMouseRelease): put the result of a dispatch
992 in a DispatchResult, adjust accordingly.
993 (priv_dispatch): use strange >= construct... (will be removed later)
995 * most insets: dispatch_result -> DispatchResult
997 * insetbase.h: move DispatchResult out to dispatchresult.h
999 2003-10-27 André Pönitz <poenitz@gmx.net>
1001 * insetpagebreak.[Ch]: new inset for page breaks
1003 * insetline.[Ch]: new inset for vertical lines
1008 2003-10-25 Angus Leeming <leeming@lyx.org>
1010 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1011 new virtual member functions, specialised...
1012 * render_button.h (asButton):
1013 * render_graphic.h (asGraphic):
1014 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1016 * insetexternal.C: use these new functions rather than dynamic_cast.
1017 Various other small simplifications.
1019 2003-10-22 Angus Leeming <leeming@lyx.org>
1021 * insetexternal.[Ch]: add the ability to 'preview' the external file
1024 * insetinclude.C: changes due to the changes in the RenderPreview
1027 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1028 message if the preview image is not available. Only initiate the
1029 loading of the preview from draw(). Ditto, start the monitoring
1030 of an external file from RenderMonitoredPreview::draw.
1032 2003-10-22 Angus Leeming <leeming@lyx.org>
1034 * insetcite.[Ch] (setLoadingBuffer): removed.
1035 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1036 ascertain whether to proceed with the (expensive) task of computing
1037 the natbib-style label. Remove the home-grown hack providing
1038 similar functionality.
1040 2003-10-22 Angus Leeming <leeming@lyx.org>
1042 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1043 class and into an anonymous namespace.
1045 2003-10-22 Angus Leeming <leeming@lyx.org>
1047 * insetcommand.h: remove the display method.
1051 * insetindex.h (InsetPrintIndex):
1052 * insettoc.h: add a display method, returning true.
1054 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1056 * insetcollapsable.h:
1060 * insetinclude.h: (1) finish off the inset display() work;
1061 (2) fix the "is a bit silly" bug (accessing char
1064 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1068 * insetfootlike.h: re-introduce display() for insets,
1069 fixing the various bugs (stretch of line above, math inset
1072 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1074 * insetbase.C (dispatch): new func
1075 (priv_dispatch): new func replaces...
1076 (localDispatch): this, deleted.
1078 * all insets with dispatch modified for new code.
1080 2003-10-15 André Pönitz <poenitz@gmx.net>
1082 * insetcollapsable.[Ch]
1084 * inset.h: re-add some edit(bv, index) method called by undo
1086 2003-10-14 Angus Leeming <leeming@lyx.org>
1088 * insetexternal.[Ch] (view, cache, view_):
1089 * insetgraphics.[Ch] (view, cache, view_):
1090 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1091 (statusChanged): call LyX::cref().updateInset.
1093 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1094 the BufferView cache.
1096 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1099 2003-10-14 Angus Leeming <leeming@lyx.org>
1101 * insetinclude.C (metrics, draw): only draw the preview when previews
1104 2003-10-14 André Pönitz <poenitz@gmx.net>
1106 * insetcollapsable.[Ch]:
1107 * insettabular.[Ch]:
1109 * inset.h: getText() as alternative to getParagraphs()
1111 2003-10-13 Angus Leeming <leeming@lyx.org>
1114 * insetgraphicsParams.C: displayTranslator is now a function.
1116 2003-10-13 Angus Leeming <leeming@lyx.org>
1118 * insetinclude.C: remove #include "PreviewImage.h".
1120 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1122 * ExternalSupport.C:
1123 * ExternalTransforms.C:
1125 * insetbox.h: ws changes only
1127 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1129 * insetinclude.C (localDispatch): do not call
1130 InsetOld::localDispatch, just return UNDISPATCHED
1131 * insetgraphics.C (localDispatch): ditto
1132 * insetcommand.C (localDispatch): ditto
1134 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1136 * inset.h: get rid of RESULT typedef for dispatch_result
1138 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1139 * insetert.[Ch] (localDispatch): ditto
1140 * insettabular.[Ch] (localDispatch): ditto
1145 * insettext.[Ch] (localDispatch): ditto
1148 (moveRightIntern): ditto
1149 (moveLeftIntern): ditto
1152 * updatableinset.[Ch] (localDispatch): ditto
1154 2003-10-12 Angus Leeming <leeming@lyx.org>
1156 * renderbase.h (view, view_): removed.
1157 * renderbase.C: removed.
1158 * Makefile.am: remove render_base.C. The shortest lived file in
1161 * renderbutton.C (draw):
1162 * render_graphic.C (draw): don't cache the BufferView.
1164 * insetabase.h (cache, view): removed.
1166 * inset.h (generatePreview) removed.
1168 * insetcallapsable.[Ch] (cache, view, view_): removed.
1170 * insetcollapsable.C (draw): don't cache the BufferView.
1172 * insetcommand.[Ch] (view): removed.
1174 * insetexternal.[Ch] (cache, view, view_):
1175 * insetgraphics.[Ch] (cache, view, view_):
1176 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1178 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1179 when you have direct access to it. In fact, don't use the cache at all.
1181 2003-10-10 Angus Leeming <leeming@lyx.org>
1183 * insetinclude.C (metrics): use preview_->metrics.
1184 (draw): use preview_->draw.
1186 * render_preview.[Ch] (pimage): removed.
1188 2003-10-10 Angus Leeming <leeming@lyx.org>
1190 * renderers.[Ch]: removed.
1193 * render_button.[Ch]:
1194 * render_graphic.[Ch]:
1195 * render_preview.[Ch]: new files. The first three are split out of
1196 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1197 contains a re-worked InsetInclude::PreviewImpl also.
1199 * Makefile.am: reflect the changed files.
1202 * insetexternal.[Ch]:
1203 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1205 * insetinclude.[Ch]: changes reflecting the change from
1206 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1212 * inseturl.C: add #include "support/std_ostream.h"
1214 2003-10-09 Angus Leeming <leeming@lyx.org>
1216 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1217 to PreviewedInset::previewReady.
1219 2003-10-09 Angus Leeming <leeming@lyx.org>
1221 * insetexternal.[Ch] (statusChanged):
1222 * insetgraphics.[Ch] (statusChanged): make a const member function.
1224 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1227 2003-10-09 Angus Leeming <leeming@lyx.org>
1229 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1230 to PreviewedInset's previewReady and removePreview member functions.
1232 2003-10-08 André Pönitz <poenitz@gmx.net>
1234 * insetcollapsable.C:
1235 * insettext.[Ch]: saner 'init' structure
1237 * updatableinset.[Ch]: remove unneeded code
1239 2003-10-08 Angus Leeming <leeming@lyx.org>
1241 Fix doxygen warnings.
1243 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1244 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1246 2003-10-07 Angus Leeming <leeming@lyx.org>
1248 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1249 be applied to InsetExternal.
1251 * Makefile.am: add these new files.
1253 * ExternalTemplate.[Ch]: add a list of available transforms to
1254 class Template and a list of factory functions for transformer classes
1255 that can act on this data to class Format.
1257 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1259 * ExternalSupport.C: Add code to replace transform placeholders
1260 with appropriate output.
1262 2003-10-07 Angus Leeming <leeming@lyx.org>
1264 * ExternalSupport.[Ch]: new files, moving the private member functions
1265 and namespace anon functions out of insetexternal.C to here, so making
1266 it easier to understand what is going on in insetexternal itself.
1268 * Makefile.am: add new files.
1270 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1271 allowing the class to be forward declared. (Also consistent with
1272 all other Params classes.)
1273 (write): moved out of the class. Move this function and those in
1274 namespace anon to ExternalSupport.[Ch].
1276 2003-10-07 Angus Leeming <leeming@lyx.org>
1278 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1279 non-const member function.
1281 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1286 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1288 2003-10-02 André Pönitz <poenitz@gmx.net>
1290 * insettext.C (read): make sure there is at least one par
1291 in the text after reading.
1293 2003-10-01 José Matos <jamatos@lyx.org>
1295 * insetbranch.C (linuxdoc, docbook): minor fix.
1297 2003-10-01 Angus Leeming <leeming@lyx.org>
1299 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1301 * insetexternal.[Ch]: changes due to the introduction of
1302 namespace lyx::external.
1304 2003-09-30 Angus Leeming <leeming@lyx.org>
1306 * insetexternal.[Ch] (Params::read, write): new member functions.
1308 2003-09-25 Angus Leeming <leeming@lyx.org>
1310 * insetexternal.[Ch] (TempName): new (private) nested struct with
1311 fake copy semantics. Enables us to use the generated copy c-tor
1312 in the Params struct.
1313 (Params::templatename, Params::tempname): use accessor functions.
1315 2003-09-25 Angus Leeming <leeming@lyx.org>
1317 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1318 function, returning a const pointer.
1320 2003-09-23 Angus Leeming <leeming@lyx.org>
1322 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1323 store them in a vector, preambleNames.
1325 * insetexternal.C (validate): loop over all preambleNames and call
1326 LaTeXFeatures::addExternalPreamble with each.
1328 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1330 * insetbranch.C: bug fix in branches
1332 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1334 * insetnote.C: small clean-up.
1336 2003-09-19 Angus Leeming <leeming@lyx.org>
1338 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1340 * insetcommand.C (string2params): clear params using the default c-tor.
1342 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1343 InsetInclude::Params. No more data in this struct than in
1344 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1345 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1346 (clone): remove #warning as it's now redundant.
1347 (set): add a 'Buffer const &' arg. Make private.
1348 (loadIfNeeded) move out of the class definition and into namespace anon.
1349 (getMasterFilename, getFileName): ditto.
1351 2003-09-18 Angus Leeming <leeming@lyx.org>
1353 * insetcommand.C (setParams): use the params' copy constructor.
1355 2003-09-18 Angus Leeming <leeming@lyx.org>
1357 * insetinsetbase.h (getLabelList):
1358 * insetinsetcollapsable.[Ch] (getLabelList):
1359 * insetinsetinclude.[Ch] (getLabelList):
1360 * insetinsetlabel.[Ch] (getLabelList):
1361 * insetinsettabular.[Ch] (getLabelList):
1362 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1363 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1365 2003-09-18 Angus Leeming <leeming@lyx.org>
1367 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1368 redundant baggage from yesteryear.
1369 Remove Params::flag as it is redundant; the info is present in
1372 2003-09-18 Angus Leeming <leeming@lyx.org>
1374 * insetinclude.C (latexString): add a Buffer const & arg.
1376 2003-09-18 Angus Leeming <leeming@lyx.org>
1381 * insettext.h: rename EnumLColor as LColor_color.
1383 2003-09-18 Angus Leeming <leeming@lyx.org>
1385 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1386 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1388 2003-09-16 Angus Leeming <leeming@lyx.org>
1390 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1391 set before trying to generate a preview, else we trigger an assert.
1393 2003-09-16 Angus Leeming <leeming@lyx.org>
1395 * insetinclude.C (PreviewImpl::parent): return a const reference.
1397 2003-09-16 Angus Leeming <leeming@lyx.org>
1399 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1401 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1403 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1404 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1406 * insetminipage.C (metrics):
1407 * insetnote.C (metrics):
1408 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1409 access collapsed_ directly.
1411 2003-09-16 Angus Leeming <leeming@lyx.org>
1413 * insetbibitem.C: add #include "lyxfont.h".
1415 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1418 * insetbibtex.C: use namespace alias for lyx::support::os
1420 2003-09-16 Angus Leeming <leeming@lyx.org>
1422 * insetcollapsable.h: remove unused framecolor variable.
1423 Remove #include "LColor.h".
1425 * insetcollapsable.C: remove unused framecolor variable.
1428 * insetcollapsable.C:
1436 Add #include "LColor.h".
1438 2003-09-16 Angus Leeming <leeming@lyx.org>
1440 * insettext.[Ch] (frameColor): new accessor function.
1441 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1447 add #include "LColor.h".
1449 * insetcollapsable.h: add #include "LColor.h"
1450 (for its framecolor member variable).
1452 2003-09-16 Angus Leeming <leeming@lyx.org>
1454 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1456 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1457 rename frame_color as frame_color_. Make private.
1459 * insettext.C: associated changes.
1461 2003-09-16 Angus Leeming <leeming@lyx.org>
1463 * inset.h: store background_color_ as an int, not as an LColor::color to
1464 get LColor.h out of the header file.
1467 * insetlatexaccent.C:
1470 * insetspecialchar.C:
1472 add #include "LColor.h".
1474 2003-09-16 Angus Leeming <leeming@lyx.org>
1476 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1479 2003-09-15 Angus Leeming <leeming@lyx.org>
1481 * inset.[Ch] (setBackgroundColor, backgroundColor):
1482 * insettext.[Ch] (setFrameColor):
1483 pass EnumLColor args, rather than LColor::color ones.
1485 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1495 * insetwrap.C: remove usage of STRCONV
1497 2003-09-15 Angus Leeming <leeming@lyx.org>
1499 * renderers.C (draw):
1500 * insetlatexaccent.C (draw): explicitly define the color passed to
1503 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1505 * insettext.C: remove block causing problems in lockInsetInInset
1506 (mentioned erroneously under Bug #1366)
1508 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1510 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1513 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1515 * several files: change Assert to BOOST_ASSERT
1517 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1519 * insettext.[Ch]: remove drawText[XY]Offset
1521 2003-09-08 Angus Leeming <leeming@lyx.org>
1523 * insetcollapsable.C:
1528 * insetspecialchar.C:
1531 * insettoc.C: remove redundant using directives.
1533 2003-09-07 Angus Leeming <leeming@lyx.org>
1536 * insetspecialchar.h: remove #include "support/std_string.h".
1538 2003-09-06 Angus Leeming <leeming@lyx.org>
1540 * renderers.C: add #include "insets/inset.h"
1542 2003-09-05 Angus Leeming <leeming@lyx.org>
1544 * *.C: strip out redundant #includes. (193 in total.)
1546 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1548 * insets/insetbibtex.[Ch]:
1549 * insets/insetcommand.h:
1550 * insets/insetfloatlist.[Ch]:
1551 * insets/insetinclude.[Ch]:
1552 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1553 of insets like bibtex, include, toc and floatlist to the visible
1554 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1555 up the dialogs. Cursor has to be in front of the inset (i.e.
1556 start of row) for this to function.
1558 2003-09-04 Angus Leeming <leeming@lyx.org>
1560 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1561 structure outside of the Format struct. Format::preambleName refers to
1562 an item in the map of all preamble snippets.
1563 Make use of the new Debug::EXTERNAL flag.
1565 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1566 (validate): Small change due to the changed storage of preamble snippets.
1568 2003-09-04 Angus Leeming <leeming@lyx.org>
1570 * insetgraphics.C: #include "support/os.h"
1572 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1573 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1574 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1576 * insetcollapsable.h:
1578 * insetnote.C: move #include "funcrequest.h" out of the header file.
1580 2003-09-03 Angus Leeming <leeming@lyx.org>
1582 * insetexternal.C (updateExternal):
1583 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1586 2003-09-03 Angus Leeming <leeming@lyx.org>
1588 * insetexternal.C: don't bring namespace lyx::support into the global
1591 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1593 * insetbranch.C: Add Branch: to label
1595 2003-09-02 John Levon <levon@movementarian.org>
1598 * insettext.C: remove cursor.i[xy]()
1600 2003-08-28 Angus Leeming <leeming@lyx.org>
1602 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1603 "sh ", enabling the conversion to be carried out even if the script
1606 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1608 * most files: change to use const Buffer refs
1610 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1612 * insetfootlike.C: whitespace.
1614 2003-08-26 John Levon <levon@movementarian.org>
1618 * insetindex.h: remove remaining mentions of needFullRow()
1620 2003-08-26 André Pönitz <poenitz@gmx.net>
1626 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1628 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1630 * insetbranch.C: Small fix to prevent a crash on loading.
1632 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1637 * insetcollapsable.h:
1639 * insetfloatlist.[Ch]:
1640 * insetfootlike.[Ch]:
1641 * insetinclude.[Ch]:
1647 * insettheorem.[Ch]:
1648 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1649 altogether, putting the logic in metrics/draw in the insets.=20
1650 Draws short single row insets with more or less realistic metrics.
1652 2003-08-19 André Pönitz <poenitz@gmx.net>
1654 * insettext.C: use new RowPainter interface
1656 2003-08-18 John Levon <levon@movementarian.org>
1658 * insetref.C: require amsmath for eqref
1660 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1664 * insetbranch.[Ch]: implements the 'branch inset'
1665 idea. This allows the output of various versions of a document
1666 from a single source version, selectively outputing or suppressing
1667 output of parts of the text.
1668 This implementation contains a 'branch list editor' in a separate
1669 tab of the document settings dialog. Branches are user definable
1670 and have a "display colour" to distinguish them on-screen.
1672 ColorHandler was somewhat cleaned up.
1673 (1) make possible a dynamically growing LColor list by allowing
1674 the graphic context cache to grow along (vector);
1675 (2) eliminate an IMHO unnecessary step in colour allocation.
1677 2003-08-15 André Pönitz <poenitz@gmx.net>
1679 * insettext.[Ch]: adjust after rowlist split
1681 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1683 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1684 rename valign-center to valign-middle;
1685 rename VALIGN_CENTER to VALIGN_MIDDLE
1687 2003-08-11 André Pönitz <poenitz@gmx.net>
1689 * inset.h: remove resizeLyXText
1692 * insetcollapsable.[Ch]:
1694 * insettabular.[Ch]: adjust
1696 * insettext.[Ch]: remove saveLyXTextState,
1697 restoreLyXTextStat, sstate, reinitLyXText
1699 2003-08-07 André Pönitz <poenitz@gmx.net>
1701 * inset.[Ch]: move non-crucial functions out-of-line
1703 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1704 remove duplicated code.
1706 2003-08-05 André Pönitz <poenitz@gmx.net>
1709 * insetcollapsable.[Ch]:
1719 * insettabular.[Ch]:
1722 * updatableinset.[Ch]: rip out "deep update"
1724 * insettext.C (localDispatch): merge cases with default branch
1726 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1728 * insettabular.[Ch] (updateLocal): simplify logic
1730 2003-08-04 André Pönitz <poenitz@gmx.net>
1732 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1733 is 'FULL' all the time.
1735 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1737 * insetert.C (get_new_label): only add ... to the (closed) label
1738 when the string has been shortened
1740 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1742 * Always use std::endl with lyxerr
1744 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1746 * insetnote.C: update \author list
1748 2003-07-31 André Pönitz <poenitz@gmx.net>
1750 * insetcollapsable.h:
1751 * insettabular.[Ch]:
1752 * insettext.[Ch]: remove toggleSelection
1754 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1756 (with help from Juergen Spitzmueller)
1757 * insetnote.C: add add i18n support. Use Prefs-definable
1758 colours for Comment and Greyedout.
1760 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1762 * insetcollapsable.[Ch]:
1764 * insetert.C: factor out the detection of clicking on the inset
1765 button as 'hitButton'. John Levon contributed.
1767 2003-07-30 André Pönitz <poenitz@gmx.net>
1769 * insetcollapsable.C:
1771 * insettabular.C: parantheses, localize vars etc.
1773 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1775 * insetnote.C: Implement a newenvironment in preamble for
1776 greyedout. Patch provided by Jürgen Spitzmüller.
1778 2003-07-29 Angus Leeming <leeming@lyx.org>
1780 * insetcommand.C (localDispatch): default to
1781 InsetOld::localDispatch.
1783 * insetbibitem.C (localDispatch):
1784 * insetbibtex.C (localDispatch): remove call to
1785 ChangeCitationsIfUnique.
1787 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1789 * insetexternal.C (read): use pushpophelper.
1791 2003-07-28 José Matos <jamatos@lyx.org>
1793 * insetext.C (read): \end_document replaces \the_end.
1795 2003-07-28 José Matos <jamatos@fep.up.pt>
1797 * insetert.C (write): \layout -> \begin_layout.
1798 Add missing \end_layout.
1800 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1802 * insetquotes.C: document a bit the format
1804 * insettabular.C (write): remove extra space
1806 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1807 * insetnote.C: Umpf. Hope I *now* get it right :-(
1809 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1810 *insetnote.C: did the right fix to greyedout: \color
1811 instead of \textcolor.
1813 2003-07-28 Angus Leeming <leeming@lyx.org>
1815 * insetbibtex.h: remove extraneous forward declaration.
1818 * insetbibtex.h: Also remove long-dead Holder member class
1821 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1823 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1826 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1828 * insetwrap.C (addToToc): adjust for lyx::toc
1830 * insetfloatlist.C (ascii): adjust for lyx::toc
1832 * insetfloat.C (addToToc): adjust for lyx::toc
1834 2003-07-27 José Matos <jamatos@fep.up.pt>
1836 * insetnote.h (linuxdoc,docbook): update support.
1838 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1840 * insetfloat.C (wide): add a space to label, for consistency
1842 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1844 * insettext.C (nextChange): adjust for lyx::find
1845 (searchForward): ditto
1846 (searchBackward): ditto
1848 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1850 * insetgraphicsParams.C:
1851 * insetexternal.C: declare extern displayTranslator
1854 * renderers.C: add #include "support/LAssert.h"
1856 2003-07-27 José Matos <jamatos@fep.up.pt>
1858 * insetfloat.[Ch] (linuxdoc):
1859 * insetgraphics.C (linuxdoc):
1860 * insettabular.C (linuxdoc):
1861 * insettext.[Ch] (linuxdoc): add support for tables and figures
1864 2003-07-27 José Matos <jamatos@fep.up.pt>
1866 * insetinclude (latex): comply with makeLaTeXFile argument change.
1868 2003-07-26 Asger Alstrup <alstrup@local>
1870 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1871 the undo crashes. We'll see what problems other places this will
1874 2003-07-26 Angus Leeming <leeming@lyx.org>
1876 * insetgraphics.C: remove unused declaration of system_tempdir.
1878 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1880 * rename Inset to InsetOld
1882 * all inset files (clone): return a auto_ptr<InsetBase>
1884 2003-07-23 Angus Leeming <leeming@lyx.org>
1886 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1888 2003-07-23 Angus Leeming <leeming@lyx.org>
1890 * mailinset.[Ch] (inset2string):
1891 * insetcommand.[Ch] (inset2string):
1892 * insetert.[Ch] (inset2string):
1893 * insetexternal.[Ch] (inset2string):
1894 * insetfloat.[Ch] (inset2string):
1895 * insetgraphics.[Ch] (inset2string):
1896 * insetinclude.[Ch] (inset2string):
1897 * insetminipage.[Ch] (inset2string):
1898 * insetnote.[Ch] (inset2string):
1899 * insettabular.[Ch] (inset2string):
1900 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1902 * insetexternal.[Ch]:
1903 * insetgraphics.[Ch]: get rid of the view() function. Associated
1904 changes to the mailers' string2params and params2string functions.
1906 2003-07-23 Angus Leeming <leeming@lyx.org>
1908 * insetexternal.[Ch]: store the external file name in a FileName
1909 member variable rather than a string + associated changes.
1911 2003-07-21 Angus Leeming <leeming@lyx.org>
1913 * insetgraphicsParams.[Ch]: store the graphics file name in
1914 a FileName member variable rather than a string.
1916 * insetgraphics.[Ch]:
1917 * insetgraphicsParams.[Ch]: Associated changes.
1919 2003-07-21 Angus Leeming <leeming@lyx.org>
1921 * insetgraphics.[Ch] (string2params, params2string): passed a
1922 buffer_path argument.
1925 2003-07-21 Angus Leeming <leeming@lyx.org>
1928 * insetgraphicsParams.[Ch]:
1930 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1932 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1934 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1936 2003-07-18 André Pönitz <poenitz@gmx.net>
1939 * insetminipage.[Ch]:
1940 * insettabular.[Ch]:
1943 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1945 2003-07-18 André Pönitz <poenitz@gmx.net>
1949 * insetcollapsable.C:
1953 * insetgraphics.[Ch]:
1954 * insetlatexaccent.[Ch]:
1959 * insetspecialchar.C:
1960 * insettabular.[Ch]:
1962 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1964 2003-07-17 André Pönitz <poenitz@gmx.net>
1966 * insetcollapsable.C:
1968 * insettext.C: don't call Inset::update() anymore
1971 * insettabular.[Ch]: remove unneeded in_update_ members
1973 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1975 2003-07-16 André Pönitz <poenitz@gmx.net>
1977 * insettext.C (selectAll): remove
1979 2003-07-16 John Levon <levon@movementarian.org>
1982 * insetnote.C: implement showInsetDialog()
1984 2003-07-15 André Pönitz <poenitz@gmx.net>
1987 * insettext.C: refresh_status tristate -> need_update bool
1989 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1991 * insettext.C: adjust call to LyXText::init
1993 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1995 * insettext.C: use bufferview_funcs->replaceSelection()
1996 to delete selections in some cases (bugs 441, 673, 702, 954).
1998 2003-07-14 André Pönitz <poenitz@gmx.net>
2000 * insettext.C (draw): use slimmed down rowpainter interface
2002 2003-07-14 André Pönitz <poenitz@gmx.net>
2004 * insetcollapsable.C:
2006 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2007 remove unused BufferView * argument
2009 2003-07-14 André Pönitz <poenitz@gmx.net>
2011 * insettext.[Ch]: used cached metrics a bit more
2013 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2015 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2017 2003-07-10 André Pönitz <poenitz@gmx.net>
2020 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2022 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2024 * introduce namespace lyx::graphics
2026 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2028 * introduce namespace lyx::support
2030 2003-06-30 André Pönitz <poenitz@gmx.net>
2032 * insetcite.C (localDispatch): fix case of missing return value
2034 * insetcite.C (ascii): remove unneeded temporary
2036 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2038 * insetspace.h: fix \file
2040 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2041 * insetinclude.C (fillWithBibKeys): ditto
2043 * insetbibitem.C: fix type const order
2045 * inset.C (getLyXText): add varname for arg
2047 * ExternalTemplate.h: fix type const order
2049 2003-06-27 André Pönitz <poenitz@gmx.net>
2051 * insettext.C: take care of removed LyXCursor::row_ member
2053 * insettext.[Ch]: use new TextCursor struct for sstate
2055 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2057 * inseterror.[Ch]: removed
2059 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2061 * insetinclude.C (docbook): use parseError instead of sgmlError
2063 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2065 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2066 of BufferList::loadLyXFile
2068 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2070 * insettext.C (update): simplify
2071 (updateLocal): remove commented code
2072 (insetUnlock): simplify
2073 (lockInset): simplify
2074 (updateInsetInInset): simplify
2075 (localDispatch): simplify
2077 (resizeLyXText): simplify
2078 (collapseParagraphs): simplify
2080 * insetert.C (get_new_label): simplify
2082 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2084 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2085 pasteSelection with index
2087 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2089 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2091 2003-06-16 André Pönitz <poenitz@gmx.net>
2093 * insetbase.h: new virtual base function clone()
2095 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2096 Inset * clone() -> InsetBase * clone()
2098 2003-06-13 André Pönitz <poenitz@gmx.net>
2100 * insettabular.[Ch]: make tabular a proper member
2102 2003-06-12 André Pönitz <poenitz@gmx.net>
2104 * insettabular.[Ch]: some renaming plus whitespace
2106 2003-06-11 Angus Leeming <leeming@lyx.org>
2108 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2111 * insetbutton.[Ch]: removed.
2112 * graphicinset.[Ch]: renamed as renderers.[Ch].
2114 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2115 Create a new class ButtonRenderer using the InsetButton::metrics() and
2117 Derive both from a common RenderedInset base class.
2119 * insetcommand.[Ch]:
2120 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2121 Give it a ButtonRenderer member variable. Use it.
2122 Give the classes working copy c-tors.
2123 No longer derive from boost::noncopyable.
2125 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2126 display its contents as a button or as a graphic.
2128 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2131 2003-06-11 Angus Leeming <leeming@lyx.org>
2133 * insetcite.C (localDispatch): reformat.
2135 * insetref.C (localDispatch): enable dialog to be lauched.
2137 2003-06-11 John Levon <levon@movementarian.org>
2139 * insettabular.C: correctly mark all cells as erased
2141 2003-06-11 Angus Leeming <leeming@lyx.org>
2143 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2144 ExternalTemplate but its name, templatename. This means that a file
2145 containing a reference to an External Template not installed on the
2146 current machine will be saved retaining this info rather than inserting
2147 the first "valid" template from the list of templates.
2149 As a by product, the visual statement that the Template is missing is
2152 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2154 * insettext.C (appendParagraphs): remove some commented code.
2156 2003-06-10 Angus Leeming <leeming@lyx.org>
2158 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2161 * insetexternal.[Ch]: move tempname_ into the Params struct.
2162 (Params d-tor): new function, to clean-up this temp file.
2163 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2165 (editExternal, doSubstitution): move out of class.
2167 2003-06-10 Angus Leeming <leeming@lyx.org>
2169 * graphicinset.[Ch] (params): removed.
2170 * graphicinset.h (operator=): declared private but not defined.
2171 (statusMessage): made private.
2173 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2175 2003-06-07 John Levon <levon@movementarian.org>
2177 * insetert.C (latex): make a newline mean just that not
2180 2003-06-07 José Matos <jamatos@fep.up.pt>
2182 * insethfill.[Ch] (linuxdoc, docbook): implement output
2183 * insetspace.C (linuxdoc, docbook): remove coments as the code
2186 2003-06-06 José Matos <jamatos@fep.up.pt>
2188 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2190 2003-06-06 André Pönitz <poenitz@gmx.net>
2192 * insetwrap.[Ch]: code compactification
2194 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2196 * mailinset.C (updateDialog): use Dialogs::visible
2198 2003-06-04 Angus Leeming <leeming@lyx.org>
2200 * graphicinset.C (draw): add a comment for the #if 0 block.
2202 * insetexternal.h: remove Params::parameters variable.
2203 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2204 and read it back making full use of LyXLex.
2206 2003-06-04 André Pönitz <poenitz@gmx.net>
2208 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2210 2003-06-04 John Levon <levon@movementarian.org>
2212 * insettabular.C: back out tall table speed up. It was broken
2214 2003-06-03 Angus Leeming <leeming@lyx.org>
2216 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2217 Remove ViewCommand and UpdateCommand.
2219 * graphicinset.C (update): bug fix. Set the params before calling the
2221 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2222 BufferView cache to enable the InsetExternal::editCommand to be invoked
2223 from the frontends. Would not be needed if this were dispatched properly.
2224 (old_ascent_): variable removed.
2226 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2227 do any necessary conversions of external material. Also use the
2228 new GraphicsInset to display the inset within LyX.
2230 2003-06-03 Angus Leeming <leeming@lyx.org>
2232 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2233 and move it somewhere where InsetExternal can use it too.
2235 * Makefile.am: add the new files.
2237 * insetgraphics.[Ch]: make use of the new GraphicInset.
2239 2003-06-03 John Levon <levon@movementarian.org>
2242 * insetbibitem.[Ch]:
2245 * insetcommand.[Ch]:
2249 * insetexternal.[Ch]:
2253 * insetgraphics.[Ch]:
2255 * insetinclude.[Ch]:
2258 * insetlatexaccent.[Ch]:
2259 * insetmarginal.[Ch]:
2260 * insetminipage.[Ch]:
2267 * insetspecialchar.[Ch]:
2268 * insettabular.[Ch]:
2270 * insetthereom.[Ch]:
2273 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2275 * insetgraphics.[Ch]:
2276 * insetgraphicsParams.[Ch]: always store an absolute
2279 2003-06-02 André Pönitz <poenitz@gmx.net>
2283 * insetlatexaccent.C: remove duplicated call to metrics()
2285 2003-06-02 John Levon <levon@movementarian.org>
2287 * insettabular.C: fix resize of column width
2289 2003-06-02 John Levon <levon@movementarian.org>
2294 * insetparent.C: remove insetparent
2296 2003-06-02 André Pönitz <poenitz@gmx.net>
2303 * insetcollapsable.[Ch]:
2307 * insetgraphics.[Ch]:
2308 * insetinclude.[Ch]:
2309 * insetlatexaccent.[Ch]:
2310 * insetminipage.[Ch]:
2311 * insetnewline.[Ch]:
2314 * insetspecialchar.[Ch]:
2315 * insettabular.[Ch]:
2316 * insettext.[Ch]: unify first drawing phase
2319 * insetbase.h: move validate() to the base
2321 2003-05-31 Angus Leeming <leeming@lyx.org>
2323 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2325 2003-05-30 André Pönitz <poenitz@gmx.net>
2330 * insetcaption.[Ch]:
2331 * insetcollapsable.[Ch]:
2334 * insetgraphics.[Ch]:
2335 * insetinclude.[Ch]:
2336 * insetlatexaccent.[Ch]:
2337 * insetnewline.[Ch]:
2340 * insetspecialchar.[Ch]:
2341 * insettabular.[Ch]:
2343 * updatableinset.[Ch]: unify second drawing phase
2345 2003-05-30 John Levon <levon@movementarian.org>
2347 * insetgraphics.C: fix a bformat
2349 2003-05-29 John Levon <levon@movementarian.org>
2351 * insettabular.C: remove unused bufferOwner()
2353 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2355 * insettext.C (lockInsetInInset): adjust
2356 (getLabelList): use const_iterator, adjust
2357 (getInsetFromID): use const_iterator, adjust
2358 (addPreview): use const_iterator, adjust
2360 * insetwrap.C (clone): remove const_cast
2362 * insetnote.C (clone): remove const_cast
2364 * insetminipage.C (clone): remove const_cast
2366 * insetmarginal.C (clone): remove const_cast
2368 * insetfoot.C (clone): remove const_cast
2370 * insetfloat.C (clone): remove const_cast
2372 * insetert.C (clone): remove const_cast
2374 * delete commented same_id functions from a lot of files.
2376 2003-05-28 John Levon <levon@movementarian.org>
2382 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2384 * insetminipage.C: fix metrics (bug 1144)
2386 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2388 * insettext.C (saveLyXTextState): adjust
2389 (restoreLyXTextState): adjust
2392 (unlockInsetInInset): adjust
2393 (localDispatch): adjust
2394 (getLyXText): adjust
2396 * insettabular.C (insertAsciiString): adjust
2398 2003-05-27 André Pönitz <poenitz@gmx.net>
2401 * insetcollapsable.C:
2404 * insetlatexaccent.C:
2409 * insetspecialchar.C:
2411 * insettext.C: dim.w -> dim.wid
2413 2003-05-26 John Levon <levon@movementarian.org>
2415 * insettabular.C: avoid drawing all of a long table
2416 if it's not needed. A big speedup
2418 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2420 * remove same_id from function signatures, adjust
2422 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2424 * insettext.C (InsetText): adjust
2426 (setParagraphData): separate same_id cases, adjust
2427 (appendParagraphs): adjust
2428 (appendParagraphs): adjust
2430 2003-05-23 André Pönitz <poenitz@gmx.net>
2432 * insetbutton.h: whitespace
2434 * insettabular.C: more compact code
2436 * updatableinset.C: remove const_cast
2439 2003-05-23 Angus Leeming <leeming@lyx.org>
2441 * insetexternal.C (write): check how many lines are output.
2442 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2443 if the template has defined it.
2445 2003-05-23 Angus Leeming <leeming@lyx.org>
2447 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2449 2003-05-23 Angus Leeming <leeming@lyx.org>
2451 * insetfoot.C (latex):
2452 * inseturl.C (latex): rename fragile as moving_arg.
2454 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2456 * inseterror.C (localDispatch): comment out unused var.
2458 2003-05-22 Angus Leeming <leeming@lyx.org>
2460 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2461 passed through the LatexRunParams arg.
2463 2003-05-22 Angus Leeming <leeming@lyx.org>
2465 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2466 through the LatexRunParams arg.
2468 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2469 arg rather than through a global var.
2471 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2473 * insetspecialchar.C (dimension): use a string.
2475 2003-05-22 Angus Leeming <leeming@lyx.org>
2477 * insetbibtex.C (latex):
2478 * insetgraphics.C (latex):
2479 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2480 runparams rather than from the buffer itself.
2482 2003-05-22 Angus Leeming <leeming@lyx.org>
2484 * inset*.[Ch] (latex):
2485 passed a LatexRunParams parameter.
2487 * insetgraphics.C (latex): actually use it ;-)
2489 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2491 * insetfloat.C (addToToc): trivial compile fix
2493 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2495 * insettext.[Ch] (paragraph): delete unused function
2497 * insetfloat.C (addToToc): parlist simplfication
2499 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2501 * insetspace.[Ch]: added (new space insets)
2503 * inset.h: handle new space insets
2505 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2507 * insetfloat.C (addToToc): adjust
2509 2003-05-21 André Pönitz <poenitz@gmx.net>
2511 * insettext.[Ch]: fix drawing bug introduced earlier
2513 2003-05-19 André Pönitz <poenitz@gmx.net>
2515 * insetspecialchar.C: fix bug introduced yesterday
2517 2003-05-19 André Pönitz <poenitz@gmx.net>
2521 * insetcollapsable.[Ch]:
2525 * insetgraphics.[Ch]:
2526 * insetgraphicsParams.[Ch]:
2527 * insetlatexaccent.[Ch]:
2528 * insetminipage.[Ch]:
2529 * insetnewline.[Ch]:
2531 * insetspecialchar.[Ch]:
2532 * insettabular.[Ch]:
2533 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2535 2003-05-19 André Pönitz <poenitz@gmx.net>
2538 * insettext.C: more insetenv
2540 2003-05-16 André Pönitz <poenitz@gmx.net>
2543 * insetminimpage.[Ch]:
2544 * insetcollapsable.[Ch]: fix #832
2546 2003-05-16 André Pönitz <poenitz@gmx.net>
2549 * insetbibitem.[Ch]:
2553 * insetcollapsable.[Ch]:
2554 * insetcommand.[Ch]:
2557 * insetexternal.[Ch]:
2558 * insetfloatlist.[Ch]:
2559 * insetgraphics.[Ch]:
2560 * insetinclude.[Ch]:
2563 * insetlatexaccent.[Ch]:
2566 * insettabular.[Ch]:
2570 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2572 2003-05-13 André Pönitz <poenitz@gmx.net>
2575 * insetcollapsable.C:
2579 * insetwrap.C: tostr from own header
2591 * insetwrap.C: STRCONV
2594 2003-05-12 André Pönitz <poenitz@gmx.net>
2606 * insetwwrap.C: boost::format -> bformat all over the place
2608 2003-05-05 André Pönitz <poenitz@gmx.net>
2610 * insettext.h: add missing #include <map>
2612 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2614 * insettext.C (InsetText): parlist cleanup
2617 (insetUnlock): ditto
2619 (lockInsetInInset): ditto
2623 (searchBackward): ditto
2624 (collapseParagraphs): ditto
2626 2003-05-06 John Levon <levon@movementarian.org>
2628 * insetcaption.C: don't cast wrap inset to InsetFloat
2631 * insetfloat.C: remove unneeded type() function
2633 2003-05-05 André Pönitz <poenitz@gmx.net>
2637 * insettabular.[Ch]:
2638 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2639 replace getFirstParagraph() by getParagraphs()
2641 2003-05-03 John Levon <levon@movementarian.org>
2643 * insetcollapsable.h:
2644 * insetcollapsable.C:
2650 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2651 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2652 getCursor(). Remove explicit cursor hides.
2654 2003-05-02 André Pönitz <poenitz@gmx.net>
2656 * insettext.C: remove unneeded &*
2658 2003-04-30 John Levon <levon@movementarian.org>
2660 * insettabular.C: fix edit message
2662 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2664 * insettext.C (setFont): do not convert iterator -> pointer
2666 * insettabular.C (localDispatch): do not convert iterator -> pointer
2668 (tabularFeatures): ditto
2670 2003-04-29 André Pönitz <poenitz@gmx.net>
2672 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2674 2003-04-28 André Pönitz <poenitz@gmx.net>
2676 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2679 2003-04-25 André Pönitz <poenitz@gmx.net>
2681 * insetenv.C: derive from InsetText instead of InsetCollapsable
2683 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2685 * insetexternal.C (string2params): dont do anything if the string
2687 * insetgraphics.C (string2params): ditto
2688 * insetcommand.C (string2params): ditto
2689 * insetert.C (string2params): ditto
2690 * insetfloat.C (string2params): ditto
2691 * insetinclude.C (string2params): ditto
2692 * insetminipage.C (string2params): ditto
2693 * insettabular.C (string2params): ditto
2694 * insetwrap.C (string2params): ditto
2696 2003-04-24 André Pönitz <poenitz@gmx.net>
2698 * insetref.C: support for eqref
2700 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2702 * insetert.C (read): use ParagraphList::iterator.
2704 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2706 * insetquotes.C (latex): comment some code and add warnings.
2708 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2710 * insetexternal.C (localDispatch): added a missing DISPATCHED
2712 2003-04-12 John Levon <levon@movementarian.org>
2714 * insetwrap.C (addToToc): fix a crash, conversion
2715 from while to for loop forgot to remove the explicit
2718 2003-04-10 John Levon <levon@movementarian.org>
2720 * insettabular.C (tabularFeature): make sure
2721 to update the dialog when we change something
2724 (getStatus): don't disable some lfuns (bug 939)
2726 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2728 * insettext.C (saveLyXTextState): adjust
2729 (localDispatch): adjust
2735 * insettabular.C (localDispatch): adjust
2737 (tabularFeatures): adjust
2739 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2741 * insettabular.C (searchForward,searchBackward): fix bug 782
2743 2003-04-07 John Levon <levon@movementarian.org>
2746 * insettext.C: clear status message on inset exit
2748 2003-04-03 John Levon <levon@movementarian.org>
2750 * insetcommand.C: return dispatched on DIALOG_UPDATE
2752 2003-04-02 John Levon <levon@movementarian.org>
2754 * insettabular.C: tab lfuns renamed
2756 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * insettext.C (update): move towards ParagraphList
2759 (updateLocal): ditto
2761 (insetUnlock): ditto
2763 (lockInsetInInset): ditto
2764 (updateInsetInInset): ditto
2765 (localDispatch): ditto
2768 (resizeLyXText): ditto
2769 (searchBackward): ditto
2770 (collapseParagraphs): ditto
2773 * insetwrap.C (InsetWrap): adjust
2774 (addToToc): adjust and rewrite loop
2776 * insettext.[Ch] (paragraph): delete function
2778 * insettabular.C (moveNextCell): adjust
2779 (movePrevCell): adjust
2780 (insertAsciiString): adjust
2782 * insetfloat.C (InsetFloat): adjust
2785 * insetert.C (InsetERT): adjust
2786 (write): adjust, and rewrite loop
2787 (latex): adjust, and rewrite loop
2788 (linuxdoc): adjust, and rewrite loop
2789 (docbook): adjust, and rewrite loop
2790 (localDispatch): adjust
2791 (get_new_label): adjust
2793 2003-04-01 John Levon <levon@movementarian.org>
2795 From Alfredo Braunstein
2798 * insetbutton.C: add localDispatch()
2800 * insetcommand.C: return DISPATCHED when edit() called
2802 * insettext.C: fix bug 967
2804 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2806 * insettext.C: adjust
2808 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2810 * insettext.C (draw): adjust
2811 (crow): return a RowList::iterator not a Row*
2813 * insetminipage.C (localDispatch): adjust
2815 * insetert.C (localDispatch): adjust
2817 2003-03-31 John Levon <levon@movementarian.org>
2820 * insetgraphicsParams.C: use_gui moved to lyx_gui
2822 2003-03-31 John Levon <levon@movementarian.org>
2824 * insettext.C: Alert fix
2826 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2828 * insettext.C (ascent): adjust for RowList
2831 (getLyXText): adjust
2832 (toggleSelection): adjust
2834 * insetminipage.C (localDispatch): adjust for RowList
2836 * insetert.C (localDispatch): adjust for RowList
2837 (getMaxWidth): adjust for RowList
2839 2003-03-29 John Levon <levon@movementarian.org>
2841 * insetert.C: Alert cleanup
2843 2003-03-29 John Levon <levon@movementarian.org>
2845 * insettabular.C: Alert fix
2847 2003-03-28 John Levon <levon@movementarian.org>
2849 * insetfloat.C: reset label on INSET_MODIFY
2851 2003-03-28 John Levon <levon@movementarian.org>
2853 * insetgraphicsParams.C: read subcaptionText as a whole line
2856 2003-03-28 John Levon <levon@movementarian.org>
2858 * insettext.C: remove unused prototypes
2860 2003-03-25 Angus Leeming <leeming@lyx.org>
2862 * insetbibitem.C (localDispatch): repaint the view after modifying
2863 a bibitem inset in case the maximum InsetBibitem width has changed.
2865 2003-03-25 John Levon <levon@movementarian.org>
2868 * insettabular.C: LyXText renamings
2870 2003-03-24 John Levon <levon@movementarian.org>
2872 * insettext.C: remove some dead code. Fix bug 972 and
2873 related by posting a repaint in updateLocal(), and making
2874 the SEL functions set SELECTION.
2876 2003-03-22 John Levon <levon@movementarian.org>
2879 * inset.C: remove no-longer-needed topx_set
2881 * insetcollapsable.h:
2882 * insetcollapsable.C: remove dead code
2885 * insetert.C: rebreak the rows when a possible
2886 change in size is made, and reset the cursor
2889 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2891 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2892 topx_set. Fix drawing errors for clearInset(). Remove
2893 some unnecessary uses of topx, which should die.
2895 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2896 is no longer needed. Replace it with an ugly hack.
2898 2003-03-20 John Levon <levon@movementarian.org>
2901 * insetcollapsable.h:
2902 * insetcollapsable.C:
2910 * insettext.C: remove spurious font parameter
2911 from update(). Fix drawing of ERT insets inside
2912 insets (bug 966). Remove unused mark_dirty from
2913 tabular's updateLocal()
2915 2003-03-19 John Levon <levon@movementarian.org>
2924 * insetwrap.C: remove unused getter/setters
2926 2003-03-19 John Levon <levon@movementarian.org>
2928 * several files: bv->updateInset() doesn't take
2929 a bool mark_dirty any more
2931 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2933 * adjust for BufferView* arg removal from lyxtext.
2935 2003-03-17 John Levon <levon@movementarian.org>
2937 * most files: remove the "cleared" parameter
2938 to draw in favour of always clearing. Associated
2941 2003-03-16 John Levon <levon@movementarian.org>
2943 * insettext.C: remove unused s.refresh
2945 2003-03-13 Angus Leeming <leeming@lyx.org>
2947 * insettext.C (edit): replace Dialogs::updateParagraph with
2948 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2950 2003-03-13 André Pönitz <poenitz@gmx.net>
2952 * Makefile.am: insert insetenv
2954 * insethenv.[Ch]: new files, currently inactive
2956 2003-03-12 John Levon <levon@movementarian.org>
2966 * insettext.C: use new insetnewline
2968 2003-03-12 John Levon <levon@movementarian.org>
2970 * insettext.C: readToken became readParagraph
2972 2003-03-12 John Levon <levon@movementarian.org>
2974 * insettext.C: use parlist iterator for reading contents
2976 2003-03-12 John Levon <levon@movementarian.org>
2978 * insettext.C: name change to readToken()
2980 2003-03-11 André Pönitz <poenitz@gmx.net>
2982 * Makefile.am: insert insethfill
2984 * insethfill.[Ch]: new files
2986 2003-03-10 Angus Leeming <leeming@lyx.org>
2988 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2990 (hideDialog): calls the new static Dialogs::hide() method.
2992 * insetbibitem.C (edit):
2993 * insetbibtex.C (edit):
2994 * insetcite.C (edit):
2995 * insetcommand.C (localDispatch):
2996 * inseterror.C (d-tor):
2997 * insetert.C (showInsetDialog):
2998 * insetexternal.C (localDispatch, edit):
2999 * insetfloat.C (localDispatch, showInsetDialog):
3000 * insetfloatlist.C (edit):
3001 * insetgraphics.C (localDispatch, edit):
3002 * insetinclude.C (localDispatch, edit):
3003 * insetindex.C (edit):
3004 * insetlabel.C (edit):
3005 * insetminipage.C (localDispatch, showInsetDialog):
3006 * insetref.C (edit):
3007 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3008 resetPos, showInsetDialog, openLayoutDialog):
3009 * insettoc.C (edit):
3010 * inseturl.C (edit):
3011 * insetwrap.C (localDispatch, showInsetDialog):
3012 changes due to the changed MailInset interface.
3014 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3016 * insetfloat.h: Set default placement to an empty string.
3018 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3020 * insettext.C (latex): adjust call to latexParagraphs.
3022 2003-03-10 Angus Leeming <leeming@lyx.org>
3024 * mailinset.C: warn the user if the BufferView has not been cached.
3026 2003-03-10 Angus Leeming <leeming@lyx.org>
3028 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3030 * insetcommand.h (inset):
3031 * insetert.h (inset):
3032 * insetexternal.h (inset):
3033 * insetfloat.h (inset):
3034 * insetgraphics.h (inset):
3035 * insetinclude.h (inset):
3036 * insetminipage.h (inset):
3037 * insettabular.h (inset):
3038 * insetwrap.h (inset):
3039 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3041 2003-03-10 Angus Leeming <leeming@lyx.org>
3043 * insetcommand.C (string2params):
3044 * insetexternal.C (string2params):
3045 * insetfloat.C (string2params):
3046 * insetgraphics.C (string2params):
3047 * insetinclude.C (string2params):
3048 * insetminipage.C (string2params):
3049 * insettabular.C (string2params):
3050 * insetwrap.C (string2params): cure warning message about missing
3053 2003-03-09 Angus Leeming <leeming@lyx.org>
3055 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3056 it to communicate with the frontend dialogs.
3058 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3059 contents of this inset!
3061 2003-03-07 Angus Leeming <leeming@lyx.org>
3063 * inseterror.C (localDispatch): new method; calls edit() on
3066 2003-03-07 Angus Leeming <leeming@lyx.org>
3068 * insetbibitem.C (localDispatch):
3069 * insetbibtex.C (localDispatch):
3070 * insetlabel.C (localDispatch):
3071 rewrite as a switch.
3073 2003-03-07 Angus Leeming <leeming@lyx.org>
3075 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3076 it to communicate with the frontend dialogs.
3078 2003-03-07 Angus Leeming <leeming@lyx.org>
3080 * insetexternal.C: remove operator== and operator!= for
3081 InsetExternal::Params. They were used only by the old controller
3084 2003-03-07 Angus Leeming <leeming@lyx.org>
3086 * insetcommand.C (localDispatch):
3087 * insetexternal.C (localDispatch):
3088 * insetfloat.C (localDispatch):
3089 * insetinclude.C (localDispatch):
3090 * insetminipage.C (localDispatch):
3091 * insetwrap.C (localDispatch):
3092 add LFUN_INSET_DIALOG_UPDATE to the switch.
3094 2003-03-07 Angus Leeming <leeming@lyx.org>
3096 * insetcommand.C (string2params):
3097 * insetexternal.C (string2params):
3098 * insetfloat.C (string2params):
3099 * insetinclude.C (string2params):
3100 * insetwrap.C (string2params): use LyXLeX more.
3103 * insetexternal.[Ch]:
3105 * insetinclude.[Ch]:
3106 * insetwrap.[Ch]: change Mailer::name_ to be static.
3108 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3109 it to communicate with the frontend dialogs.
3111 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3114 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3116 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * insettext.C (updateLocal): un-const function
3119 (updateLocal): adjust
3120 (collapseParagraphs): un-const function
3121 (collapseParagraphs): adjust
3123 2003-03-05 Angus Leeming <leeming@lyx.org>
3125 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3126 it to communicate with the frontend dialogs.
3128 2003-03-05 Angus Leeming <leeming@lyx.org>
3130 * insetcollapsable.C (draw): cache the BufferView.
3132 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3133 it to communicate with the frontend dialogs.
3135 2003-03-05 Angus Leeming <leeming@lyx.org>
3137 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3140 2003-03-05 Angus Leeming <leeming@lyx.org>
3142 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3144 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3145 it to communicate with the frontend dialogs.
3147 2003-03-05 Angus Leeming <leeming@lyx.org>
3149 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3150 it to communicate with the frontend dialogs.
3152 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3154 * insettext.C (collapseParagraphs): adjust
3155 (appendParagraphs): make it take a Buffer* instead of a
3156 BufferParams& as arg.
3157 (appendParagraphs): adjust
3159 2003-03-04 Angus Leeming <leeming@lyx.org>
3161 * insetbibitem.C (localDispatch):
3162 * insetbibtex.C (localDispatch):
3163 * insetcommand.C (localDispatch):
3164 * insetert.C (localDispatch):
3165 * insetlabel.C (localDispatch):
3166 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3168 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3170 * insettext.C (latex): adjust for ParagraphList::iterator
3172 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3174 * insetbutton.C (view): adjust for boost 1.30.0
3175 * insetcollapsable.C (view): ditto
3176 * insetgraphics.C (statusChanged): ditto
3178 * insettext.h: move paragraphs to be public.
3180 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * insetnote.[Ch] (InsetNote): remove unused constructor
3184 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3186 * insetgraphics.C: added include "format.h"
3188 2003-02-27 Angus Leeming <leeming@lyx.org>
3190 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3193 2003-02-27 Angus Leeming <leeming@lyx.org>
3195 * insetbibitem.C (localDispatch):
3196 * insetbibtex.C (localDispatch):
3199 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3201 2003-02-26 Angus Leeming <leeming@lyx.org>
3203 * insetbibitem.[Ch] (localDispatch):
3204 * insetbibtex.[Ch] (localDispatch):
3205 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3207 * insetcommand.C (localDispatch):
3208 act only on receipt of LFUN_XYZ_APPLY.
3210 * insetert.C (localDispatch): reformat.
3211 add LFUN_XYZ_APPLY to the switch.
3213 2003-02-26 John Levon <levon@movementarian.org>
3215 * insettext.C: use RowPainter
3217 * inset.h: make helpers take const *
3219 2003-02-26 Angus Leeming <leeming@lyx.org>
3221 * insetcommand.[Ch] (localDispatch): new method.
3223 2003-02-26 Angus Leeming <leeming@lyx.org>
3225 * insetinclude.C (draw): cache the BufferView* using cache not
3226 PreviewImpl::setView
3228 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3230 * insetgraphics.C (draw)
3231 * insetinclude.C (draw): Eliminate also the other argument (owner
3232 inset inset) in the call to PreviewImage::image
3234 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3236 * insetgraphics.C (draw)
3237 * insetinclude.C (draw): Eliminate Buferview argument in call to
3240 2003-02-25 John Levon <levon@movementarian.org>
3242 * insetgraphicsParams.h:
3243 * insetgraphics.C: don't start a load process if
3244 the inset is set to NoDisplay (bug #920)
3246 2003-02-22 John Levon <levon@movementarian.org>
3249 * insetwrap.C: TocItem changed API (bug 913)
3251 2003-02-21 Angus Leeming <leeming@lyx.org>
3253 * insetcollapsable.[Ch] (cache, edit):
3254 * insetbutton.[Ch] (cache, edit): new methods to cache the
3255 BufferView in the draw method.
3257 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3258 simplify comunication between InsetCommand-derived classes and
3261 * insetbibitem.[Ch]:
3265 * insetfloatlist.[Ch]:
3269 * inseturl.[Ch]: small changes to reflect the new interface to the
3272 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3273 other, similar classes.
3275 * Makefile.am: add new files.
3277 2003-02-21 Angus Leeming <leeming@lyx.org>
3279 * updatableinset.h (setView, view): remove.
3280 * inset.h (view, cache): to be replaced by these.
3282 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3285 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3288 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3290 2003-02-21 Allan Rae <rae@lyx.org>
3292 * insetinclude.C (loadIfNeeded): ensure loading also works when
3293 child document is under version control.
3295 2003-02-17 André Pönitz <poenitz@gmx.net>
3297 * insetbib.[Ch]: Adjust access to bibkeys
3299 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3301 * insetquotes.C (dispString): remove use of acute accent for "'"
3304 2003-02-14 John Levon <levon@movementarian.org>
3306 * insettabular.C: changed method names in tabular.C
3308 2003-02-14 John Levon <levon@movementarian.org>
3312 * insetcollapsable.h:
3313 * insetcollapsable.C:
3317 * insettext.C: remove unused getParFromID()
3319 2003-02-13 John Levon <levon@movementarian.org>
3322 * insettext.C: remove unused beginningofMainBody()
3324 2003-02-08 John Levon <levon@movementarian.org>
3328 * insetcollapsable.h:
3329 * insetcollapsable.C:
3334 add nextChange(). Make allowSpellcheck() const. Add markErased().
3336 * insetert.C: ignore deleted text
3338 * insettabular.C: make sure to keep change tracking working
3341 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3346 * insettext.C: Use error messages with identical spelling and punctuation
3348 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3350 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3352 2002-12-17 Juergen Vigna <jug@lyx.org>
3354 * insettext.C (localDispatch): hopefully fixed cursor up down
3355 movement on leaving other insets.
3357 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3359 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3362 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3364 * insetgraphics.C (prepareFile): do not remove the extension of
3365 the file name if it is not the default extension for the given
3366 format (that is, in latex output, remove extension from foo.eps,
3367 but not from foo.epsi)
3369 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3371 * insettext.C (lfunMouseRelease): hackish solution to the "double
3374 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3376 * insetfloat.C (addToToc): use the floats name not its type
3377 * insetwrap.C (addToToc): ditto
3379 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3381 * insetnote.C (init): make label font smaller
3383 2002-12-04 John Levon <levon@movementarian.org>
3385 * insetinclude.C: ressurect setting of command name
3387 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3389 * insetquotes.C (dispString): disambiguate insert call
3391 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3393 * several files: ws changes
3395 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3397 * insetquotes.C (dispString): use string::insert for prepending a
3400 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3402 * insetparent.C (getScreenLabel): use boost::format
3404 * insetgraphics.C (prepareFile): use boost::format
3407 * insetfloatlist.C (latex): use boost::format
3409 * insetcaption.C (draw): use boost::format
3411 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3413 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3416 2002-11-20 Juergen Vigna <jug@sad.it>
3418 * insettabular.C (resetPos): temporary fix for endless loop in
3419 this function on a redraw.
3421 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3423 * insettabular.C (copySelection): STRCONV
3425 * insetinclude.C (uniqueID): STRCONV
3426 (latexString): ditto
3428 * insetgraphics.C: put VersionNumber inside anon namespace
3429 (createLatexOptions): STRCONV
3431 * insetcommandparams.C: include config.h
3433 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3435 * insetgraphicsParams.C (Write): use lyx::float_equal.
3436 Write height data correctly.
3437 (Read): zero scale when reading height data.
3439 2002-10-30 John Levon <levon@movementarian.org>
3441 * insetfloat.C (addToTOC): recursively traverse all
3442 contents looking for captions (fix #568)
3444 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3446 * insetexternal.C (doSubstitution): do not try to replace
3447 environment variables, this is done when executing the command
3449 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3451 * insetexternal.C (doSubstitution): change order of substitution
3452 to work around ReplaceEnvironmentPath brokenness
3454 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3456 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3458 * insetgraphicsParams.C (init, Write): associated changes
3459 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3460 InsetGraphicsParams::scale.
3462 2002-10-21 John Levon <levon@movementarian.org>
3464 * inset.h: remove unused DISPATCH_RESULT
3466 * insettext.C: sgml open/close tag now in sgml namespace
3468 2002-10-21 Angus Leeming <leeming@lyx.org>
3470 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3471 file path subdir/fig.eps when pasting it into a buffer in a different
3474 2002-10-16 John Levon <levon@movementarian.org>
3476 * insetspecialchar.C: remove \\protected_separator parsing
3478 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3480 * insetquote.C: fix LaTeX output of quotation marks.
3482 2002-10-14 Juergen Vigna <jug@sad.it>
3484 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3485 Backspace functions which confused the Undo handling.
3487 2002-10-09 Angus Leeming <leeming@lyx.org>
3489 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3490 BufferView::dispatch that turns off this optimisation when a new inset
3493 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3494 reload the BibTeX keys.
3496 2002-10-11 André Pönitz <poenitz@gmx.net>
3498 * insettext.h: handle LFUN_PRIOR/NEXT
3500 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3502 * insetfloat.C: fix bug with float settings
3503 (document default != float default).
3505 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3507 * insetwrap.C (addToToc): New method.
3508 (InsetWrap): Set layout to caption.
3510 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3512 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3514 2002-09-16 John Levon <levon@movementarian.org>
3516 * insettabular.h: hasSelection() needs to be public
3518 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3520 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3522 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3524 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3526 2002-09-11 André Pönitz <poenitz@gmx.net>
3528 * insettabular.C: implement LFUN_WORDSEL
3530 2002-09-10 John Levon <levon@movementarian.org>
3532 * insetinclude.h: remove unused param
3534 2002-09-09 John Levon <levon@movementarian.org>
3537 * insetinclude.C: remove noload, default to input
3539 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3541 * insetgraphics.C: disfuscated use of ']' in built output string.
3543 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3545 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3547 2002-08-29 Juergen Vigna <jug@sad.it>
3549 * insettabular.C (lfunMousePress): Pay attention where you set
3550 the x/y values as they depend on which inset in the tabular is
3551 actually locked. So you surely have to reset them if you (un)lock
3554 2002-08-29 André Pönitz <poenitz@gmx.net>
3556 * insetfootlike.h: rename include guard to ALL CAPS
3558 * insettext.C: swap object and first parameter for checkInsetHit calls
3559 as this functions has moved from BufferView to LyXText
3562 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3564 * insetgraphicsParams.C: remove local displayTranslator and use
3565 the one from graphics/GraphicsTypes.h.
3567 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3569 * insetfloat.C (wide): add BufferParams parameter
3571 * insetfloatlist.C (read):
3574 * insetfloat.C (latex):
3576 * insetcaption.C (draw): use LyXTextClass::floats()
3578 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3580 * insetoptarg.h: add std:: qualifier.
3582 2002-08-26 Juergen Vigna <jug@sad.it>
3584 * insettext.C (localDispatch): ditto.
3586 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3588 2002-08-25 John Levon <levon@movementarian.org>
3590 * inseturl.C: elide long URLs (bug 404)
3592 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3594 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3595 remove "Format Version <version_no.>" string from inset header
3598 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3600 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3601 a member of "grfx::Params" anymore.
3603 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3605 2002-08-24 John Levon <levon@movementarian.org>
3608 * insetoptarg.C: ws, pedantry ...
3610 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3612 * insettext.C (collapseParagraphs): pasteParagraph now in global
3614 (appendParagraphs): ditto
3616 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3618 * insetcite.C (latex): Remove spaces only after commmas.
3620 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3622 * insettext.C: remove NO_COMPABILITY stuff
3624 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3626 * insettext.C (edit): use ParagraphList iterators
3628 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3629 (bibitemWidest): ditto
3631 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3633 * insettext.C: include <boost/bind.hpp>
3634 add using std::for_each
3635 (saveLyXTextState): use ParagraphsList::iterator
3636 (init): use for_each on paragraphlist iterators
3637 (InsetText): remove superflous setting cached_bview to 0
3638 (latex): reformat a bit
3639 (ascii): use paragraphlist iterators
3640 (validate): use for_each + boost bind
3641 (getLabelList): use paragraphlist iterators
3642 (deleteLyXText): use for_each + boost::bind
3643 (resizeLyXText): ditto
3644 (reinitLyXText): ditto
3645 (removeNewlines): use paragraphlist iterators
3646 (getParFromID): ditto
3647 (paragraph): use for_each + boost::bind
3648 (getInsetFromID): use paragraphlist iterators
3649 (getLabelList): typo fix
3651 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3653 * insettext.C (read): assign tmp to paragraphs after return from
3654 call to parseSingleLyXformat2Token
3657 2002-08-13 Angus Leeming <leeming@lyx.org>
3676 changes due to the changed LyXView interface that now returns references
3677 to member variables not pointers.
3679 2002-08-13 Angus Leeming <leeming@lyx.org>
3682 * insetcollapsable.h:
3685 * insettext.h: forward-declare WordLangTuple
3686 (selectNextWordToSpellcheck) constify return type.
3689 * insetcollapsable.C:
3692 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3694 2002-08-12 Angus Leeming <leeming@lyx.org>
3696 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3698 2002-08-12 Juergen Vigna <jug@sad.it>
3700 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3703 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3705 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3706 (bibitemWidest): ditto
3707 * insettext.[Ch]: ditto
3709 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3711 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3713 2002-08-09 Angus Leeming <leeming@lyx.org>
3715 * insetinclude.C (latexString): remove fudge now that I've found out
3716 how to enable LaTeX to find the file using input@path.
3718 2002-08-09 John Levon <levon@movementarian.org>
3721 * insettext.C: remove unused xpos
3723 2002-08-07 Juergen Vigna <jug@lyx.org>
3725 * insettabular.C (localDispatch): make delete not put the stuff
3726 in the clipboard only do this on a cut operation.
3728 * insettext.C (localDispatch): make delete and backspace not put
3729 selected stuff to the clipboard.
3731 2002-08-07 André Pönitz <poenitz@gmx.net>
3734 * insetcollapsable.[Ch]:
3738 * insettabular.[Ch]:
3739 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3741 2002-08-06 John Levon <levon@movementarian.org>
3745 * insetcollapsable.h:
3746 * insetcollapsable.C:
3752 * insettext.C: use WordLangTuple for spellcheck
3754 2002-08-06 Angus Leeming <leeming@lyx.org>
3756 * insetinclude.C: add a monitor to the previewed image, so that the
3757 image is refreshed if the \input-ed file changes.
3759 2002-08-04 John Levon <levon@movementarian.org>
3762 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3764 2002-08-02 Angus Leeming <leeming@lyx.org>
3766 * insetcommandparams.[Ch] (preview): new methods returning and setting
3767 a new bool preview_ flag.
3768 (read): read this flag.
3769 (operator==): add flag to check.
3771 * insetinclude.C (write): output new preview() flag.
3772 (previewWanted): use this flag.
3774 2002-08-02 Angus Leeming <leeming@lyx.org>
3776 * insetcollapsable.[Ch] (addPreview):
3777 * insettabular.[Ch] (addPreview):
3778 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3779 for insets in insets.
3781 2002-08-02 Angus Leeming <leeming@lyx.org>
3783 * insetcite.C: fix typo.
3785 * insetgraphics.C: kill current_view and instead cache the BufferView
3788 * insetinclude.C: kill current_view and pass the BufferView to the
3789 PreviewedInset so that it can cache it.
3791 2002-08-01 Angus Leeming <leeming@lyx.org>
3793 * inset.h (generatePreview): renamed as addPreview.
3794 (generatePreview): new method. Allows code to be moved out of
3795 math_nestinset.C and into the new PreviewedInset class.
3797 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3798 add previews to the inset when \input-ing LaTeX.
3800 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3802 * several files: strip,frontStrip -> trim,ltrim,rtrim
3804 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * insetbib.C (latex): modify because of strip changes
3808 * insetnote.C (InsetNote): ditto
3810 2002-07-26 Juergen Vigna <jug@sad.it>
3812 * insettabular.C (searchForward): check for lastcell if we
3813 had a locking inset.
3815 2002-07-25 Juergen Vigna <jug@sad.it>
3817 * insettabular.C (insetMotionNotify): Don't update the screen
3818 if we didn't do nothing.
3819 (searchForward): last cell was not checked.
3821 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3823 * insetfloat.C (read, write): Allow default placement
3824 (floatPlacement_ is empty).
3826 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3828 * insetminipage.h (noFontChange):
3829 * insettabular.h (noFontChange):
3830 * insetfootlike.h (noFontChange):
3831 * insetfloat.h (noFontChange): return true
3833 * inset.h (noFontChange): new method, defaulting to false
3835 2002-07-22 Herbert Voss <voss@lyx.org>
3837 * insetgraphicsParams.[Ch]: support size_type for old docs
3839 2002-07-22 Herbert Voss <voss@lyx.org>
3842 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3845 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3847 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3849 * insetlatexaccent.h: do not include "lyxlex.h"
3851 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3854 * insetlatexaccent.C:
3858 * insetbib.C: #include "lyxlex.h"
3864 * insettext.C: use BufferParams::getLyXTextClass
3867 * insetfloat.C (addToToc): new method. Add to toclist the entries
3868 corresponding to Caption layouts
3869 (InsetFloat): when creating a new float, set the layout to "Caption"
3871 2002-07-21 Herbert Voss <voss@lyx.org>
3873 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3874 image relevant part into graphics/GraphicsImgae.C
3876 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3878 * insettoc.C (ascii):
3879 * insetfloatlist.C (ascii): change to use the new Toc functions
3880 instead of stuff that was in Buffer
3882 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3884 * insettext.C (localDispatch): BufferView::Dispatch has been
3885 renamed to BufferView::dispatch
3887 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3889 * insetgraphicsParams.C (as_grfxParams): use the new
3890 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3891 1.2.0 patch, and I do not really know how to adapt it to the new
3892 grfx::Cache world. Angus, please could you have a look?
3894 2002-05-01 Herbert Voss <voss@lyx.org>
3896 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3898 2002-07-18 Angus Leeming <leeming@lyx.org>
3900 * insetgraphics.C: clean-up comments (from Herbert).
3901 add a new checksum variable to the cache. Use it in PrepareFile.
3902 (draw): start monitoring the file for a change.
3903 (prepareFile): re-arrange a little to avoid unnecessary steps.
3905 2002-07-17 Angus Leeming <leeming@lyx.org>
3907 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3908 a method rather than to the signal directly.
3910 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3912 * insettext.C: use view_state_changed, switchKeyMap
3914 2002-07-17 Herbert Voss <voss@perce.de>
3916 * insetgraphics.C (prepareFile): keep the extension when
3917 exporting to nice file
3919 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3921 * insetcite.C (getNatbibLabel):
3922 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3924 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3926 * insetgraphics.C: use ->isDrawable()
3928 2002-07-12 Angus Leeming <leeming@lyx.org>
3930 * insetgraphics.C: use the new smart loading capabilities of the image
3933 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3935 * insettabular.C (edit): Move into correct cell when entering a
3938 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3941 2002-07-05 Angus Leeming <leeming@lyx.org>
3943 * inset.h (generatePreview): new virtual method.
3945 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3947 * insetcommandparams.[Ch] (operator=): move out of class
3948 (operator!): move out of class
3950 2002-07-04 André Pönitz <poenitz@gmx.net>
3952 * insetcommandparams.[Ch]: new files
3954 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3956 2002-06-15 Herbert Voss <voss@perce.de>
3958 * insetgraphics.C (prepareFile): bugfix; return always
3959 files without extension
3961 2002-06-28 Angus Leeming <leeming@lyx.org>
3963 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3964 rename asGParams -> as_grfxParams.
3966 * insetgraphics.C: reflect above change.
3968 2002-06-26 Angus Leeming <leeming@lyx.org>
3970 * insetgraphics.h: use boost::scoped_ptr in preference to
3973 2002-06-26 Angus Leeming <leeming@lyx.org>
3975 * insetgraphics.C: moved the image loading stuff into a new class
3976 grfx::Loader. Simplifies this file enormously.
3978 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3980 * insetgraphicsParams.C: changes aassociated with moving
3981 grfx::DisplayType out of grfx::GParams.
3983 2002-06-26 André Pönitz <poenitz@gmx.net>
3985 * insetgraphics.C: use os::external_path where necesaary according to a
3986 patch from Claus Hentschel)
3988 2002-06-25 Angus Leeming <leeming@lyx.org>
3990 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3991 generating a pixmap once the graphics file is loaded into memory.
3992 The current_view ugliness that was in grfx::ModifiedImage has been
3993 moved here now that grfx::ModifiedImage is no more.
3995 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3997 * insettext.C: layout as layout
3999 2002-05-28 André Pönitz <poenitz@gmx.net>
4001 * insetfloatlist.h: remove source of compiler warning
4003 * insetref.C: tiny whitespace
4005 2002-06-15 Herbert Voss <voss@perce.de>
4007 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4008 and take always convert when no userdefined converter was
4010 (latex) small changes in the lyxerr output
4012 2002-06-15 LyX Development team <lyx@rilke>
4014 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4015 mixed content. Small white spaces clean.
4017 2002-06-14 Angus Leeming <leeming@lyx.org>
4019 * inseetexternal.C: remove the using std::difftime declaration.
4021 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4023 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4025 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4027 * insetquotes.C (draw): fix drawing of double quotes
4029 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4031 * insettabular.C: s/scrollCB/scrollDocView/
4033 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4035 * insettext.C: change of topCursorVisible()
4038 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4041 * insettext.C: rename/change of LyXScreen
4043 2002-06-07 Angus Leeming <leeming@lyx.org>
4045 Fixes needed to compile with Compaq cxx 6.5.
4047 all c-library variables have been moved into namespace std.
4048 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4050 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4052 * insetinclude.C (uniqueID):
4053 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4054 conflicted with some AIX headers.
4056 2002-05-31 Juergen Vigna <jug@sad.it>
4058 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4062 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4064 * insetexternal.C (clone): fix () bug when using new
4065 (updateExternal): don't only look for difftime in global scope
4067 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4069 * insettabular.C: add const
4071 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4073 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4074 file name, in case there are weird characters like ',' in there.
4077 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4079 * switch from SigC signals to boost::signals.
4081 2002-05-28 André Pönitz <poenitz@gmx.net>
4083 * insets/insetgraphicsParams.[Ch]:
4084 put in inset related stuff from src/graphic
4086 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4094 * insetcollapsable.C:
4095 * insetcollapsable.h:
4123 * inseturl.h: use mouse_state. Kill insetKeyPress
4125 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4130 * insetcollapsable.C:
4133 * insetlatexaccent.C:
4135 * insetspecialchar.C:
4137 * insettext.C: name change for font metrics
4139 2002-05-24 Juergen Vigna <jug@sad.it>
4141 * insetgraphics.h: include inset.h first (for LString.h)
4143 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4145 * insettext.C: screen moved
4147 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4165 * inseturl.C: LyXView moved into frontends/
4167 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4172 * insetcollapsable.C:
4176 * insetgraphicsParams.C:
4177 * insetlatexaccent.C:
4179 * insetspecialchar.C:
4181 * insettext.C: move Painter to frontends/
4183 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4185 * insettabular.h: use more specific smart_ptr header.
4186 * insettext.h: ditto
4188 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4191 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4193 * insettext.C: clear selection on paste (bug 393)
4195 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4197 * insettext.C (latex): Honor the moving_arg argument.
4199 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4201 * insetfoot.C (latex): if a footnote is in a title layout, then it
4202 is a \thanks. And then, its contents is a moving argument.
4204 2002-05-14 Juergen Vigna <jug@sad.it>
4206 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4209 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4211 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4212 when using options "Full author list" or "Upper case".
4214 2002-05-14 Herbert Voss <voss@perce.de>
4216 * insetgraphics.C (prepareFile): allow files with same name
4218 (readFigInset): set the flags from old figinset in the right
4220 (findTargetFormat): more comments
4222 2002-05-14 Juergen Vigna <jug@sad.it>
4224 * insettext.C (edit): tell checkAndActivateInset() that we don't
4225 have a button press.
4226 (checkAndActivateInset): if button < 0 we don't have a button press
4227 on the inset and os we won't call edit on it if it's not a Highly
4228 editable inset (then we have to enter it).
4230 2002-05-13 Juergen Vigna <jug@sad.it>
4232 * insetcollapsable.C (insetButtonRelease): returned wrong return
4235 2002-05-09 Juergen Vigna <jug@sad.it>
4237 * insetcollapsable.C (edit): first_after_edit should only be
4238 set to true if we enter this inset and it was collapsed so we
4239 open it up. This is needed to reclose it after a search/replace
4240 or spellcheck function opened it and was negative.
4242 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4244 * insetfloat.C (latex): Return correct value.
4246 2002-05-04 Herbert Voss <voss@perce.de>
4248 * InsetgraphicsParams.C (read): fix bug with WH
4250 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4252 * insetfloat.C (latex): More sensible latex output
4253 (fix the problem with endfloat).
4255 2002-05-02 José Matos <jamatos@fep.up.pt>
4257 * insetgraphics.C (validate): acess params as everyone else.
4259 2002-05-03 Juergen Vigna <jug@sad.it>
4261 * insettabular.C (fitInsetCursor): recalculate the cursor position
4264 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4266 * InsetgraphicsParams.[Ch]: whitespace.
4268 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4270 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4271 float type do not exist.
4273 2002-04-28 Herbert Voss <voss@perce.de>
4275 * insetgraphics.C (latex): fix bug with missing file-extension.
4276 LaTeX still allows a missing "eps" or "ps".
4278 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4280 * insetfloat.C (c-tor, wide): translate the name of the float.
4282 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4284 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4285 when using natbib and make it work efficiently. Must emphasise that the
4286 real work is Herbert's.
4288 2002-04-23 Herbert Voss <voss@perce.de>
4290 * insetgraphic.C (prepareFile): fix bug with overwriting and
4291 deleting an existing *.eps-file in the doc-dir
4293 2002-04-23 Juergen Vigna <jug@sad.it>
4295 * insettabular.C (drawCellSelection): fix off by 1 error.
4297 2002-04-22 Juergen Vigna <jug@sad.it>
4299 * insettabular.C (setFont): rewoke full selection if it was asked,
4300 after we changed all we had to change.
4302 * insettext.C (insetUnlock): code was uninitialized in some situations.
4304 2002-04-19 Herbert Voss <voss@perce.de>
4306 * insetgraphic.C (prepareFile): return filename without
4307 extension if we only export without compiling
4309 2002-04-19 Juergen Vigna <jug@sad.it>
4311 * insettext.C (draw): call a fullRebreak on the row where we had a
4312 change and reset the cursor and selection-cursors.
4314 * insettabular.C (insetUnlock):
4315 (insetButtonPress): call an update before setting the_locking_inset = 0
4316 as otherwise we don't repaint!
4317 (update): reset the cursor position when we changed dimensions as
4318 otherwise our cursor may be on the wrong spot.
4320 2002-04-18 Juergen Vigna <jug@sad.it>
4322 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4323 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4324 redraw otherwise we won't redraw.
4326 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4327 not really right before, but I only discovered this with the last
4328 changes to Page up/down.
4330 2002-04-17 Juergen Vigna <jug@sad.it>
4332 * insettext.C (checkAndActivateInset): simplified as we now have the
4333 edit(bv, bool) call.
4335 * insettext.h: changed behind variables to front variables to be
4336 equal to the one in the edit call (as it is for that they are used).
4338 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4340 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4341 not output anything at all!
4343 2002-04-16 Juergen Vigna <jug@sad.it>
4345 * insettabular.C (insetButtonPress):
4346 (insetUnlock): call a redraw on unlocking the cell inset.
4348 * insettext.C (insetButtonPress): same as below.
4349 (lockInset): new function to set initial values when inset should
4351 (insetButtonPress): use above function.
4352 (insetUnlock): don't force a repaint only set the updateStatus. The
4353 outside world should repaint if it thinks it should be done!
4355 * insettabular.C (insetButtonPress): init values if not set as locked
4356 as we are locked if someone presses on us and don't call the edit()
4357 call of the InsetText to lock it do it as BufferView does it!
4359 * inset.h (insetInInsetY): make func const and return an int.
4362 * insetcollapsable.C: adapt the above changed function.
4364 2002-04-15 Juergen Vigna <jug@sad.it>
4366 * insettext.C (getCursorPos): return relative position as to be able
4367 to give them directly to the edit() call.
4368 (edit): we have to set also x_fix as it is not set inside the
4369 setCursorFromCoordinates call!
4370 (insetMotionNotify): ditto.
4372 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4374 * insetbib.C (getKeys): strip leading '\t's from the line too.
4375 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4377 2002-04-12 Juergen Vigna <jug@sad.it>
4379 * insettext.h: added cix() helper function and use it where appropriate
4381 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4383 * insetgraphics.C (prepareFile): fix bug when graphics is a
4386 2002-04-12 Juergen Vigna <jug@sad.it>
4388 * insettext.C (insertInset): remove unneeded code!
4389 (updateLocal): fitCursor() fixes.
4390 (collapseParagraphs): fix a possible problem when having a selection
4391 and collapsing the paragraphs.
4393 2002-04-08 Herbert Voss <voss@perce.de>
4395 * insetgraphic.C (write): write the rotating angle as
4396 a float as is. test only for != 0.0
4398 2002-04-11 Juergen Vigna <jug@sad.it>
4400 * insettext.C: new function ciy() and use it for setting inset_y.
4402 * insetert.C (draw): fix the x return for collapsed version.
4404 2002-04-07 Herbert Voss <voss@perce.de>
4406 * insetgraphic.C (readFigInset): fix bug with subcaption and
4409 2002-04-08 Herbert Voss <voss@lyx.org>
4411 * insetgraphicsparam.C: forgot special option and delete old
4414 2002-04-05 Juergen Vigna <jug@sad.it>
4416 * insettext.C (localDispatch): make a CURSOR update if we inserted
4419 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4421 * insetfloatlist.C (getScreenLabel):
4422 (latex): use Floating::listName
4423 (validate): new method
4425 2002-04-03 José Matos <jamatos@fep.up.pt>
4427 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4429 * insetfoot.[Ch] (docbook): added forgotten method.
4431 2002-04-03 Juergen Vigna <jug@sad.it>
4433 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4434 way as in Bufferview_pimpl.
4436 2002-04-03 Allan Rae <rae@lyx.org>
4438 * insetgraphics.C (latex): one % too many makes living on the bleeding
4439 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4441 2002-03-28 Herbert Voss <voss@lyx.org>
4443 * insetgraphic.C (latex): simplify the code for the latex
4444 output when the file doesn't exist
4446 2002-03-29 Juergen Vigna <jug@sad.it>
4448 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4451 * insettabular.C (edit): call fitCursor().
4453 * insettext.C (insetButtonPress): change behaviour of no_selection
4454 to the one in the BufferView selection_possible and fix the spurious
4455 selection bug with it.
4456 (localDispatch): revoke selection on BREAK... functions.
4458 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4460 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4462 2002-03-28 Juergen Vigna <jug@sad.it>
4464 * insettabular.C (insetAllowed): return true as default value otherwise
4465 we're not able to insert insets inside paragraphs of an not locked
4468 2002-03-27 Herbert Voss <voss@lyx.org>
4470 * insetgraphicsparam.C: change c%, p% to col%, page%
4472 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4474 * insetspecialchar.C (isLineSeparator): disable the nice code to
4475 allow linebreaks after hyphenation and menu separators.
4477 2002-03-26 Herbert Voss <voss@lyx.org>
4479 * insetgraphics.C (figinsetRead): set the right lyxview
4481 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4483 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4484 $\backslash$ and pass a "string const &" to the function.
4485 (prepareFile, latex): use Path rather than MakeAbsPath.
4487 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4489 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4490 proper fix to the graphics cache.
4491 (latex): "really" nice output if the file is not found ;-)
4493 2002-03-26 Juergen Vigna <jug@sad.it>
4495 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4496 (collapseParagraphs): fixed inserting of separator ' '
4498 * insettabular.C (insertAsciiString): only check for buffer lenght
4499 not if we have \t or \n inside the buffer as if we don't have we only
4500 have 1 cell and that's it!
4502 * insetert.C (close): don't collapse if inlined.
4504 2002-03-25 Herbert Voss <voss@lyx.org>
4506 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4507 graphics file does not exist.
4509 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4511 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4512 path when preparing export.
4514 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4515 no longer MakeRelPath.
4517 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4519 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4520 Used to determine the absolute path to the graphics file in the
4521 graphics cache and only in the graphics cache.
4522 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4523 make graphics file name absolute if it is stored as a relative path.
4525 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4526 make graphics file name absolute if it is stored as a relative path.
4528 * insettext.C (edit): emit an updateParagraph signal on entering a text
4529 inset. Needs to be emitted when leaving the inset also.
4531 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4533 * all files: ws cleanup
4535 * Makefile.am: remove ld -r stuff
4537 2002-03-21 Juergen Vigna <jug@sad.it>
4539 * insettext.C (appendParagraphs): new function added to append
4540 the paragraphs to this insets paragraphs.
4542 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4544 * Makefile.am: special rules if partial linking
4546 2002-03-19 Juergen Vigna <jug@sad.it>
4548 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4550 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4552 * insetgraphics.C: Clean up Baruch's comments a little.
4553 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4555 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4558 * insettheorem.C: wrap warnings
4560 * insetgraphics.C: improve messages, move cached_status_
4561 setting to safer place
4563 2002-03-18 Juergen Vigna <jug@sad.it>
4565 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4567 (localDispatch): ditto
4569 * insettext.C (edit): removed unneeded showCursor calls.
4570 (localDispatch): ditto.
4572 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4574 * insetgraphics.h: remove display() method.
4576 2002-03-11 Juergen Vigna <jug@sad.it>
4578 * insetgraphics.C (draw): hack to fix the redrawing bug.
4579 (draw): seems this fixes #268 (force redraw of row if we changed).
4581 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4582 this inset text (don't know why I missed this earlier).
4584 2002-03-08 Juergen Vigna <jug@sad.it>
4586 * insettabular.C (updateLocal): do a FULL update if we're not locked
4587 and only a CELL update is asked.
4589 * insettext.C (updateInsetInInset): update insets inside inset also
4590 if it isn't inside the_locking_inset.
4592 * insettabular.C (updateInsetInInset): ditto.
4594 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4596 * insetexternal.C (doSubstitution): check whether we are using a
4597 temp dir for defining $$FPath
4599 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4602 * insettext.C: remove #include "WorkArea.h".
4604 2002-03-06 Juergen Vigna <jug@sad.it>
4606 * insettext.C (draw): fixed frame redrawing.
4607 (clear): forgot to set the inset_owner of the paragraph.
4609 * insetert.C (status): pay attention the bv can be 0 here!
4610 (getMaxWidth): add the default leftMargin
4612 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4614 * insetert.C (getMaxWidth): make w unsigned int.
4616 2002-03-05 Juergen Vigna <jug@sad.it>
4618 * insetert.C (status): change behaviour of Inlined.
4619 (getMaxWidth): added for new inlined behaviour.
4621 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4623 * insetnote.h (linuxdoc, docbook): add empty methods.
4624 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4625 before being initialized.
4627 2002-03-05 Juergen Vigna <jug@sad.it>
4629 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4630 only that one in the inset. Should be enough.
4631 (updateLocal): set the selection cursor always if we don't have a
4632 selection to be sure it's set!
4634 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4636 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4638 * insettext.C (clear): a gross hack to set layout on a newly
4641 2002-03-04 Juergen Vigna <jug@sad.it>
4643 * insettabular.C (localDispatch): inserted handling of
4644 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4645 (insertAsciiString): new helper function.
4647 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4649 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4652 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4654 * insettext.C (InsetText): initalize newly created par with
4655 default layout. add bufferparams parameter
4658 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4659 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4660 * insetert.[Ch] (InsetERT): ditto
4661 * insetfloat.[Ch] (InsetFloat): ditto
4662 * insetfoot.[Ch] (InsetFoot): ditto
4663 * insetfootlike.[Ch] (InsetFootLike): ditto
4664 * insetmarginal.[Ch] (InsetMarginal): ditto
4665 * insetminipage.[Ch] (InsetMinipage): ditto
4666 * insetnote.[Ch] (InsetNote): ditto
4667 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4669 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4671 * insettext.C: layout as string
4673 * insetinclude.C: layout as string
4675 * insetert.C: layout as string
4677 * insetbib.C: layout as string
4679 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4682 * insettabular.C: remove #include "lyx_gui_misc.h".
4684 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4689 * inset.h: remove figinset, yahoo !
4691 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4693 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4694 copy c-tor and initialise member variables in the correct order.
4696 2002-02-28 Juergen Vigna <jug@sad.it>
4698 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4700 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4702 * inset.h: ... and add a better one here.
4704 * insetcommand.C (insetButtonRelease): remove that one which was a
4707 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4709 * insetcommand.C (insetButtonRelease): ... and move it here.
4711 * inseturl.h: remove insetButtonRelease from there...
4713 2002-02-26 Juergen Vigna <jug@sad.it>
4715 * inseturl.h: Added a insetButtonRelease call returning true as
4718 * insetlabel.C (edit): Fixed wrong update handling after change I
4719 leave in the wrong code for the one who wrote it to remove and have
4720 a look what he did wrong.
4722 * insettabular.C (localDispatch): force a SELECTION update if we
4723 had a selection and we passed the event down to the inset (fix #213)
4724 (localDispatch): handle font changing stuff when we have a cell
4725 selection so that the selection is not rewoked. I don't really like
4726 this fix, but it's the only way I see to do it right now.
4728 2002-02-22 Juergen Vigna <jug@sad.it>
4730 * insettext.C (insetUnlock): set the cursor to the second paragraph
4731 if available and if the first one is empty (fix #191).
4733 2002-02-20 Juergen Vigna <jug@sad.it>
4735 * insettext.C (getDrawFont): implemented this function to call the
4736 one of the owner if present as the owner normally knows what to do
4739 * insetert.C: implement getDrawFont() function and comment out all
4740 the crap for setting a special latex font inside this inset.
4741 (InsetERT): added a Lanugage parameter to this constructor.
4743 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4744 change the font for being drawn on screen (used only in InsetERT for
4747 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4748 and also above (was missing).
4749 (updateLocal): don't remove the cell selection if we have one this
4750 should be done where we really want to remove it.
4752 2002-02-20 José Matos <jamatos@fep.up.pt>
4754 * insetinclude.h: include_label made string const.
4756 * insetinclude.C (InsetInclude): moved include_label initialization.
4759 (validate): fix support for temporary directory, for docbook and
4762 * insetgraphics.h : new private member, graphic_label, that holds
4763 the entity name that defines the graphics location (SGML).
4765 * insetgraphics.C (unique_id): new function to give a unique label
4768 (validate): the file locatation is given by an entity reference.
4770 2002-02-18 Herbert Voss <voss@lyx.org>
4772 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4774 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4776 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4777 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4779 2002-02-18 José Matos <jamatos@fep.up.pt>
4781 * insetinclude.C (validate): some code only applies to latex buffers,
4782 it was made conditional.
4784 2002-02-12 Herbert Voss <voss@lyx.org>
4786 * insetgraphics.C: (prepareFile) do not check at this time
4787 if the file is present.
4789 2002-02-12 Herbert Voss <voss@lyx.org>
4791 * insetgraphics.C: latex(), return the correct newlines
4793 2002-02-13 José Matos <jamatos@fep.up.pt>
4795 * inseturl.C (docbook): escape & in url.
4797 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4799 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4800 after HYPHENATION and MENU_SEPARATOR
4802 * inset.h (isLineSeparator): new method, returns false by default.
4804 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4806 * insetert.C (status): do not update the text inset, but the ERT
4809 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4811 * insetnote.C: use notebg for background
4813 2002-02-08 Herbert Voss <voss@lyx.org>
4816 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4817 prevent LyX from unzipping when this should be handled
4818 by latex vis the graphic.cfg.
4821 2002-02-08 Herbert Voss <voss@lyx.org>
4823 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4824 exists, than return filename with extension
4826 2002-02-06 Herbert Voss <voss@lyx.org>
4828 * insetgraphic.C: prepareFile(): don't convert the file, when
4829 it's not viewed in LyX. Saves a lot of time when opening a
4832 2002-02-05 Herbert Voss <voss@lyx.org>
4835 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4836 and adding a rotate bool similiar to subcaption
4838 2002-02-04 Herbert Voss <voss@lyx.org>
4841 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4842 similiar view to the LaTeX one. Get zipped files work.
4844 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4846 * insetgraphicsParams.C (init): set display to DEFAULT.
4847 No longer #include "lyxrc.h".
4849 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4851 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4852 for now (so that the code compiles).
4854 2002-02-02 Herbert Voss <voss@lyx.org>
4856 * insetgraphic.C: delete inVariant() and some minor changes
4857 * insetgraphicsParams.[C]:
4859 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4861 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4862 interogate lyxrc.display_graphics before diaplaying the graphic.
4864 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4865 InsetGraphicsParams::DisplayType.
4867 2002-01-31 Herbert Voss <voss@lyx.org>
4869 * insetgraphic.C: (readfigInset) set display to pref-default
4871 2002-01-30 Herbert Voss <voss@lyx.org>
4873 * insetgraphic.C: get the filetyp from it's contents
4874 * insetgraphicparams.C: add token scale and lyxrc.display when
4875 creating a new inset
4877 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4879 * figinset.C: added using std::ios directive.
4881 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4883 * figinset.C (runqueue): open translation file in binary mode (for
4886 2002-01-27 Herbert Voss <voss@lyx.org>
4888 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4889 all options and to be sure that the old figinsets are correct
4891 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4892 structure and to support all lengths as LyXLength. The Parameter
4893 structure changed again, but reading of "old" 1.2 graphic insets
4896 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4898 * insetert.h (forceDefaultParagraphs): Added
4900 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4902 * insettabular.C (getMaxWidth):
4903 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4905 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4907 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4908 of LyXLength::inPixels
4910 * inset.C (latexTextWidth):
4911 * insetminipage.C (latexTextWidth): new method, which implements
4912 the equivalent of the LaTeX macro \textwidth
4914 * insetminipage.C (getMaxWidth): use latexTextWidth
4916 2002-01-18 Juergen Vigna <jug@sad.it>
4918 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4920 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4922 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4924 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4927 2002-01-17 Juergen Vigna <jug@sad.it>
4929 * insettabular.C (lockInsetInInset): same change as in insettext.
4931 * insettext.C (draw): width() function was called without setting
4932 the right top_x which could lead to wrong insetWidth setting!
4933 (lockInsetInInset): call edit instead of calling lockInset if we
4934 have to lock an inset inside!
4935 (edit): we have to also tell the inset that we have to redraw the
4936 frame on an edit call if this inset draws a frame only if locked.
4938 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4940 * insetbib.C (getFiles): uncomment Path variable.
4942 2002-01-16 Juergen Vigna <jug@sad.it>
4944 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4947 2002-01-16 Allan Rae <rae@lyx.org>
4949 * insetinclude.C (docbook): someone forgot a ";"
4951 2002-01-16 José Matos <jamatos@fep.up.pt>
4953 * figinset.C (docbook): removed a old place holder "@".
4954 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4955 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4956 ascii text version, clearly guarded inside a CDATA section.
4957 (docbook): in docbook 4, inlinegraphics is empty.
4958 * insettabular.C (linuxdoc): export the ascii version of the table
4959 inside a CDATA section.
4961 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4963 * insetparent.C (InsetParent):
4964 * insetgraphicsParams.C (Write):
4966 * insetgraphics.C (prepareFile):
4969 * insetexternal.C (executeCommand):
4970 (doSubstitution): use Buffer::filePath
4972 * insetbib.C (getFiles): add a #warning for Angus
4974 * insetgraphics.C: Add a remark about how filenames should be
4975 considered to be relative to buffer (but absolute is still allowed)
4976 (draw): do not try to get status if lyxrc.use_gui is false
4978 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4981 * insetcollapsable.[Ch]:
4982 * insettabular.[Ch] (searchForward, searchBackward): change the
4983 bool const & params to bool.
4985 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4986 to avoid the name clash with InsetCollapsable's methods of the same
4987 names but different functionality.
4989 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4991 * insettext.C (ascii): use lyx::count rather than countChar.
4993 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4995 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4997 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4999 * insetgraphics.C (updateInset): do not try to render image if
5000 lyxrc.use_gui is false (bug #104)
5002 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5003 if file does not exist
5005 * figinset.C (browseFile): add shortcuts to directory buttons
5007 * insettext.C (updateLocal): update menubar and toolbar here too.
5009 2002-01-13 Allan Rae <rae@lyx.org>
5011 * insettabular.C (InsetTabular): Both constructors now initialise
5012 all class variables.
5014 2002-01-11 Juergen Vigna <jug@sad.it>
5016 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5018 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5020 * insettabular.C (getStatus): add forgotten brace around multiline
5023 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5025 * insetfloat.C (validate): require "float" instead of "floats".
5027 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5029 * insettabular.C (getStatus): use FuncStatus
5031 2002-01-08 Juergen Vigna <jug@sad.it>
5033 * insettabular.C (insetButtonRelease): now this should work too
5036 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5037 if the width is a percentage.
5039 * inset.h: added isChar() function and implemented this for
5040 insetspecialchar insetquotes and insetlatexaccent.
5041 added forceDefaultParagraphs() and implemented it for insettabular.
5043 2002-01-07 Juergen Vigna <jug@sad.it>
5045 * insettext.C (getLyXText): Fixed this function. An insert into the
5046 map is only done if we REALLY have a new BufferView.
5048 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5050 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5052 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5054 * insetinclude.C: fix use of FileInfo
5056 2002-01-07 Juergen Vigna <jug@sad.it>
5058 * insettabular.C (draw): fixed clearing of cell around inset.
5060 2002-01-05 Juergen Vigna <jug@sad.it>
5062 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5063 variables are updated.
5065 * insettabular.C (resetPos): set always the inset_y as it may be
5066 needed in another function.
5067 (searchBackward): don't draw while searching.
5069 2002-01-04 Juergen Vigna <jug@sad.it>
5071 * insettext.C (lockInsetInInset): forgot to set a cursor.
5073 2002-01-02 Juergen Vigna <jug@sad.it>
5075 * insettext.C (insertInset): make the correct undo informations on
5076 inserting new insets.
5078 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5080 * insettabular.C: correct single-cell select vertically
5082 2001-12-27 Juergen Vigna <jug@sad.it>
5084 * insettabular.C (ascii): export as tab-separated-values if the
5085 function was not called from export (f.ex.: clipboard).
5087 * insetcollapsable.h: added default support for ascii, linuxdoc and
5088 docbook export (the insettext is exported by default!)
5090 * insettabular.C (copySelection): suff the clipboard with the tabular
5091 data in a tab separated format, seems more naturals then with all the
5094 2001-12-24 Juergen Vigna <jug@sad.it>
5096 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5097 to check for REAL mouseMotion.
5099 2001-12-20 Juergen Vigna <jug@sad.it>
5101 * inset.C (cursor): return the owners cursor if available instead of
5102 always only the bv->text->cursor.
5104 * insettabular.C (checkLongtableSpecial): works now.
5106 2001-12-19 Juergen Vigna <jug@sad.it>
5108 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5109 this has to be always row + 1 as 0 means not selected!
5110 (checkLongtableSpecial): added
5111 (tabularFeatures): better longtable options support
5113 * insettext.C (resizeLyXText): reinit the text always also on a
5116 2001-12-18 Juergen Vigna <jug@sad.it>
5118 * insettext.C (updateInsetInInset): look if we have to autocollapse
5119 paragraps and return if the update is requested for ourself.
5121 * insetert.C (status): update the insettext not myself as that is what
5124 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5125 function only return if the update was requested with myself.
5127 * insettext.C (insetButtonPress): fixed stupid bug.
5128 (various functions): pay attention that lt is cleared BEFORE calling
5129 updateLocal() and try to use it in the right manner (don't use it
5130 if it's not really neccessary!)
5131 (collapseParagraphs): insert a blank between collapsing paragraphs
5132 if neccessary (not already there!).
5134 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5136 * insettabular.C: move includes around a bit, add a couple of
5139 * insettext.[Ch]: move includes around a bit, other ws changes and
5142 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5144 * insettext.C (insetButtonRelease): fix compile problem
5146 2001-12-17 Juergen Vigna <jug@sad.it>
5148 * insettext.C (insetButtonPress): set the selection cursor!
5149 (insetButtonPress): clear the selection (and set with that the
5150 selection.cursor) if we only hit an inset!
5152 * insetert.C (read): removed piece of compatibility code only needed
5155 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5158 * insetcollapsable.C (insetButtonRelease): changed so that it can
5159 open eventual existing popup dialogs on mousebutton==3.
5161 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5163 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5165 * inset.C (insetButtonRelease): return a bool for telling the outer
5166 world that we opened a dialog.
5168 2001-12-07 Juergen Vigna <jug@sad.it>
5170 * insettext.C (paragraph): remove the deleteing of paragraphs as
5171 it was a WRONG move!
5173 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5176 * insettabular.C: use new setSelection(). Allow
5177 selection of single cells.
5179 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5181 * insetquotes.C (latex): fix to use the local language setting at
5182 the point where the inset is inserted (different macros for
5183 different french packages)
5185 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5187 * inset.h: add par_owner_ member variable and parOwner
5190 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5192 * insettabular.C (everywhere): adapt because widths are now real
5193 widths and not strings
5195 * insettext.C (draw): re-introduce the calls to width(), ascent()
5196 and descent() to initialize the caching variables.
5198 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5200 * insettext.C (draw):
5201 (drawFrame): use insetWidth instead of last_width
5203 * insettext.h: remove variable last_width (insetWidth is exactly
5204 the same) and last_height (computed but never used!)
5206 2001-12-10 Allan Rae <rae@lyx.org>
5208 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5210 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5212 * insettext.C (insetAllowed): add comment
5214 2001-12-05 Juergen Vigna <jug@sad.it>
5216 * insettext.C (insetAllowed): fixed for the case that we directly
5217 ask the insettext from its LyXText.
5218 (paragraph): fixed the crash when assigning the par->next() from
5219 the EmptyParagraphMechanism!
5221 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5225 * insettext.C: change "while(" to "while ("
5227 2001-12-04 Juergen Vigna <jug@sad.it>
5229 * insetert.C (edit): handle Inlined status.
5231 * insettext.C (insertInset): trying John's fix for the trailing cursor
5233 * insetert.C (insetButtonPress): added to handle inlined status
5234 (insetMotionNotify): ditto.
5236 * insettext.C (clearInset): changed Painter & in BufferView * param,
5237 to be able to call ascent,descent methods.
5239 2001-12-03 Juergen Vigna <jug@sad.it>
5241 * insettext.C (updateInsetInInset): use lt variable to forbid
5242 changes of LyXText in an update call.
5243 (updateInsetInInset): fixed updating of non locked insets!
5245 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5247 * insettabular.C: capture some more functions to prevent
5248 selection drawing problems. Bug #451274
5250 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5253 * insetgraphicsParams.C: fix inverted sense of float_equal
5255 2001-11-30 Juergen Vigna <jug@sad.it>
5257 * insettabular.C (InsetTabular): use the save_id flag to create also
5258 the tabular with the same id's.
5260 * insettext.C (setParagraphData): added a same_id function for undo
5261 to set the same paragraph id's as of the paragraph we are setting.
5263 2001-11-30 José Matos <jamatos@fep.up.pt>
5266 * insettoc.[Ch]: DocBook -> docbook.
5268 2001-11-29 André Pönitz <poenitz@gmx.net>
5271 * insettext.C: further reduction of header dependencies by using
5272 lyx::layout_type and lyx::textclass_type from support/types.h
5274 2001-11-29 Juergen Vigna <jug@sad.it>
5276 * insettext.C: inserted a reinitLyXText function everywhere I delete
5277 the paragraphs! This should fixe the crashes we had.
5278 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5279 (paragraph): set the InsetOwner() of the new paragraphs!
5281 2001-11-28 André Pönitz <poenitz@gmx.net>
5283 * insetnote.C: add pos initialization that I removed without
5286 2001-11-28 Juergen Vigna <jug@sad.it>
5288 * insettabular.C (resetPos): hack to not crash with infinite paints.
5290 * insettabular.h: insert missing function allowSpellcheck()!
5292 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5294 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5297 * insetfloatlist.C: derive from InsetCommand so gui can use it
5300 2001-11-26 André Pönitz <poenitz@gmx.net>
5304 * insetnote.C: reduce header dependencies, introduce type for
5307 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5309 * various: update for Alert.h
5311 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5313 * inset.h: fix comment
5315 * insettext.C: use par->isInset()
5317 2001-11-22 Allan Rae <rae@lyx.org>
5319 * insetcollapsable.h:
5320 * inset.h: Changes to checkInsertChar() behaviour.
5321 Now return value indicates whether chars can be inserted.
5323 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5325 * various: updated to use the new LaTeXFeatures
5327 2001-11-14 José Matos <jamatos@fep.up.pt>
5329 * insetspecialchar.C (linuxdoc):
5330 (docbook): don't give a name to a unused variable.
5332 * insettext.C (docbook): removed unused variable.
5334 2001-11-13 Herbert Voss <voss@perce.de>
5336 * insetgraphic.C: fix scale bug
5338 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5340 * inset.h (isSpace):
5341 (isLetter): new virtual methods.
5343 * insetspecialchar.C (isSpace):
5344 (isLetter): implement here.
5346 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5348 * inset.h: new inline helpers
5350 * insettext.C: use new helpers
5352 2001-11-07 José Matos <jamatos@fep.up.pt>
5354 * insettext.C (docbook): full support for paragraphs inside insettext.
5356 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5358 * insetindex.C: added header file for std::ostream.
5360 2001-11-03 José Matos <jamatos@fep.up.pt>
5362 * insetindex.C: added using std::ostream that I forgot yesterday.
5364 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5366 * insetindex.h (docbook):
5367 * insetindex.C (docbook): added support for docbook export.
5369 2001-11-02 José Matos <jamatos@fep.up.pt>
5371 * insetcaption.C(docbook): added support for docbook export.
5373 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5375 * insetexternal.C (updateExternal): Do not run update command if
5376 result file exists and is up to date.
5378 * ExternalTemplate.C (readFormat): Support the updateresult token.
5380 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5382 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5383 external_templates) to use the buffer->fileName() but only if
5384 previewing. Generating a TeX file should make FPath return
5387 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5390 * insetert.C: fix some problems
5392 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5394 * insetexternal.C (doSubstitution): Added $$FPath token
5395 to list of usable substitutions in external inset templates.
5397 2001-10-24 Juergen Vigna <jug@sad.it>
5399 * insettabular.C: use new ltType struct for setting longtable
5400 header and footers also new UNSET enums.
5402 2001-10-24 José Matos <jamatos@fep.up.pt>
5404 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5405 (docbook): If the table is not inside a float then wrap it inside
5406 <informaltable>...</informaltable>.
5408 2001-10-23 José Matos <jamatos@fep.up.pt>
5410 * insetref.C (docbook): removed / terminator to conform SGML.
5412 * insetspecialchar.C (linuxdoc):
5413 (docbook): Added support for special chars, more than ascii export.
5415 2001-10-22 Juergen Vigna <jug@sad.it>
5417 * insettext.C (checkInsertChar): added for REALLY checking the
5418 font of the inserted char in the right inset!
5420 2001-10-19 Juergen Vigna <jug@sad.it>
5422 * inset.h: added method allowSpellcheck() so that insets who do
5423 not have anything to spellcheck can tell and so they are over-jumped.
5424 Implemented for InsetText and co.
5426 2001-10-18 Juergen Vigna <jug@sad.it>
5428 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5430 2001-10-15 José Matos <jamatos@fep.up.pt>
5432 * insetert.C: allow export for docbook and linuxdoc
5434 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5436 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5438 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5440 * insetquotes.C (dispString): fix handling of latin9 quotes
5442 2001-10-03 Juergen Vigna <jug@sad.it>
5446 * insetcollapsable.C: change updateInset calls to not tell BV that
5447 we have changed status.
5449 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5451 * insettabular.C (deletable): make const
5453 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5455 * insetert.C (latex): Fix the returned value
5457 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5459 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5460 Returns string(), so nothing in an ERT inset is spellchecked.
5462 * insetgraphics.C (draw): print the filename if not displaying the
5464 (width): make sure that the width and draw methods are consistent.
5465 (updateInset): don't even load the image into cache if not displaying
5468 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5470 * various files (selectNextWord): renamed as
5471 selectNextWordToSpellcheck.
5473 * insetgraphics.C (draw): remove the previous change. Right place
5474 is in imageLoaderXPM.C.
5475 (draw): don't display the image if params.display == NONE.
5477 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5479 * figinset.C (runqueue):
5480 * insetgraphics.C (draw): set background colour of inset from
5481 background to the user-configurable graphicsbg.
5483 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5485 * insetquotes.C (InsetQuotes): when trying to decide the side of
5486 the quote, choose `left' only after a space or '('
5488 2001-09-04 José Matos <jamatos@fep.up.pt>
5493 * insetcollapsable.h
5511 * insetlatexaccent.C
5512 * insetlatexaccent.h
5517 * insetspecialchar.C
5518 * insetspecialchar.h
5522 * insettext.C (docbook): rename docBook method to docbook.
5524 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5526 * inset.h (getFirstParagraph): New virtual method.
5528 2001-08-20 Herbert Voss <voss@perce.de>
5529 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5530 in the the bibtex-database-gui for inserting a line
5533 If no style is given than there is no tex-output.
5535 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5537 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5541 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5543 * insetert.C (latex): Fix output for multiple paragraphs.
5544 (write): New code for writing paragraph data.
5545 (read): Set font after reading the inset.
5546 (localDispatch): Call set_latex_font() for more cases.
5548 * insetnote.h: Add empty validate method.
5551 * insetnote.C (InsetNote): Set language to the language of the
5554 2001-08-16 Juergen Vigna <jug@sad.it>
5556 * insettext.C: implemented the new FINISHED states.
5558 * insettabular.C: ditto
5560 * inset.h: added more FINISHED states for cursor right,up,down
5562 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5564 * insetfloatlist.C: use "FloatName List"
5566 2001-08-14 Juergen Vigna <jug@sad.it>
5568 * insetert.C (edit): forgot to set status_ in edit calls!
5570 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5572 * insettext.C: Compilation fix
5574 2001-08-13 Juergen Vigna <jug@sad.it>
5576 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5578 * insetcollapsable.C (edit): don't recollapse an already open inset.
5580 * insettext.C: fixed problem when reinitializing LyXText by not doing
5581 it while lt is in use and post this to the next possible time in
5583 (searchForward): fixed not unlocking of inset if nothing found.
5584 (edit): set cursor behind right (was set -1 pos).
5586 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5588 * insettabular.C (tabularFeatures): fixed fix where deleting the
5589 last row didn't get the right actcell!
5591 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5593 * insettext.C (localDispatch): Change language only when the inset
5596 2001-08-10 Juergen Vigna <jug@sad.it>
5598 * insettabular.C (selectNextWordInt): use the front using edit call.
5600 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5601 the parameter overwrite class variable inset.
5603 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5605 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5606 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5608 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5609 update only for fixed with cells.
5610 (resetPos): try to fix the lockup on spellchecking or s&r.
5612 * insettext.C (update): comment this out as it seems first wrong
5613 and second not needed anymore!
5614 (some functions): call reinitLyXText() only in update() in all other
5615 positions set only need_update = INIT.
5617 2001-08-08 Juergen Vigna <jug@sad.it>
5619 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5621 * insettext.C (insetUnlock): remove double-space on inset unlock.
5623 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5625 * insettabular.C (update): fixed cursor positon after an insert.
5626 (insetAllowed): do not allow to insert insets when not inside the
5628 (draw): clear below an inset too as it could have changed height.
5630 * inset.C (getMaxWidth): fixed width for inset in inset.
5632 * insettext.C (update): small fix.
5634 * insettabular.C (tabularFeatures): added selection support to
5635 DELETE_ROW/DELETE_COLUMN.
5637 2001-08-07 Juergen Vigna <jug@sad.it>
5639 * inset.C (getMaxWidth): recoded and all it's implementations!
5641 * insettext.C (init,setParagraph+constructors): cleanups
5642 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5643 are new and I want do a save/restore of the cursor position which is
5644 not possible anymore.
5646 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5647 (searchBackward): ditto
5648 (selectNextWord): ditto
5650 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5652 * insetlatexaccent.C (checkContents): Add some debug messages
5654 2001-08-07 Juergen Vigna <jug@sad.it>
5656 * insetert.C (read): don't use InsetCollapsable::read as we don't
5657 write the collapsed status anymore only the status.
5660 2001-08-06 Juergen Vigna <jug@sad.it>
5662 * insetert.C (set_latex_font): use LyXText's setFont directly.
5664 * insettext.C (drawFrame): fixed one time more the right position
5665 and size of the frame!
5667 * insetert.C (~InsetERT): hide the dialog.
5668 (showInsetDialog): added implementation
5671 (status): new function for the status of the ERT inset (3-state).
5672 (write): output also the status of the inset for readback!
5673 (read): readback the status if available otherwise use collapsed_.
5675 * insettext.C (edit): small fix of setting the position, which could
5678 * insetert.C (width): implement this function for inlined viewing.
5679 Added minimum width of 10 pixels!
5681 * insetminipage.C (InsetMinipage): just change the colors a bit so
5682 that border/background is a bit more visible. We will remove this
5685 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5686 function for getting the important widths for drawing in various
5687 functions and in LyXText.
5688 (draw): fixed up a bit (frame drawing/clearing)
5690 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5692 * inset.C (convertFont): delete method. not used.
5694 2001-08-03 Juergen Vigna <jug@sad.it>
5696 * insettext.C (setFont): don't call for a draw update if we're just
5697 changing the cursor font!
5699 2001-08-02 Juergen Vigna <jug@sad.it>
5701 * insettext.C (draw): clear the background with the right color if
5702 needed. Update myself if x&max-width changed and return without doing
5703 anything. Let the update code handle the right stuff.
5705 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5706 inside another inset.
5708 2001-08-01 Juergen Vigna <jug@sad.it>
5710 * insetcollapsable.C (update): added an in_update bool so we avoid
5713 * insettabular.C (update): added an in_update bool so we avoid
5716 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5718 (update): added an in_update bool so we avoid reentering.
5720 * insettabular.C (localDispatch): clear col/row selection when doing
5721 something else inside an inset.
5723 * insettext.C (getLyXText): fixed bug when requesting a recursive
5726 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5728 * insetcite.C (latex): Paranoia check. Make sure that there is no
5729 whitespace between the citation keys.
5731 2001-07-31 Juergen Vigna <jug@sad.it>
5733 * inset.h (nodraw): make the set function also const so that this
5734 can be called from inside other const functions.
5736 * insetcollapsable.h: removed inline variable and moved it over
5737 to the only user InsetERT.
5739 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5740 inset opening immediately therein lying insets dialogs!
5742 * insetert.C (localDispatch): set the font also if we don't have any
5743 chars in this paragraph, otherwise if we delete all of em and start
5744 writing we have the wrong font.
5746 (draw): implemented for inline support
5747 (insetButtonRelease): ditto.
5749 2001-07-30 Juergen Vigna <jug@sad.it>
5751 * insettext.C (reinitLyXText): new function to reinit the insets
5752 text after lot's of paragraph changes. Use this instead of the
5753 cache.clear() which is VERY dangerous.
5755 * insetfloat.C (insetButtonRelease): we should only show the dialog
5756 if we press on the label otherwise we have problems to open mouse
5757 button 3 dialogs inside this float (f.ex. of a tabular!)
5759 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5761 * insetert.C: change back to "ERT"
5763 * insetfloat.C: handliign of RMB on label added.
5765 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5767 * insetgraphicsParams.C: #include LOstream.h here.
5769 * insetfoot.h: remove InsetFoot:: qualifier.
5771 2001-07-29 Baruch Even <baruch@lyx.org>
5773 * ChangeLog: Hiding time travel evidence.
5775 * insetgraphicsParams.h:
5776 * insetgraphicsParams.C:
5777 * insetgraphics.C: Added horizontal scale option, it actually scales both
5778 directions since it keeps image proportions.
5780 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5782 2001-07-29 Baruch Even <baruch@lyx.org>
5784 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5785 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5787 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5789 2001-07-29 Baruch Even <baruch@lyx.org>
5791 * insetgraphics.C: Added EPSI to be an alias of EPS.
5793 2001-07-29 Baruch Even <baruch@lyx.org>
5795 * insetgraphics.C: Change GRAPHICS to Graphics.
5796 Changed image conversion rules (documented at the beginning of file).
5798 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5800 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5803 * insetgraphics.C: added a using std::endl directive.
5805 * insetcommand.h (getScreenLabel): removed pure virtual function,
5806 as it duplicates that in InsetButton.
5808 * insetbib.[Ch] (getScreenLabel):
5809 * insetbutton.[Ch] (getScreenLabel):
5810 * insetcite.[Ch] (getScreenLabel):
5811 * insetert.[Ch] (getScreenLabel):
5812 * insetexternal.[Ch] (getScreenLabel):
5813 * insetfloatlist.[Ch] (getScreenLabel):
5814 * insetinclude.[Ch] (getScreenLabel):
5815 * insetindex.[Ch] (getScreenLabel):
5816 * insetlabel.h (getScreenLabel):
5817 * insetparent.[Ch] (getScreenLabel):
5818 * insetref.[Ch] (getScreenLabel):
5819 * insettoc.[Ch] (getScreenLabel):
5820 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5822 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5824 (validate): remove check on "cite" when using natbib.
5826 2001-07-26 Baruch Even <baruch@lyx.org>
5828 * insetgraphics.C (draw): changed casting to be in one place rather than
5829 all over the function.
5832 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5834 * insetgraphicsParams.h:
5835 * insetgraphicsParams.C:
5836 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5838 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5840 * insetfoot.C (validate): Added method to ensure that the
5841 right bit of LaTeX is emitted.
5843 * insetfoot.h: Added validate method to set the correct
5844 LaTeXFeatures bit for the special footnote code.
5846 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5848 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5851 2001-07-27 Juergen Vigna <jug@sad.it>
5853 * inset.h: remove not used font variable in parameter.
5854 removed checkInsertChar in UpdatableInset as it was equal to
5855 the one in Inset and so not needed.
5857 * insetert.C (checkInsertChar): implementation of function
5860 * inset.h: added new function checkInsertChar.
5862 * various files: added c-tor and clone() function.
5864 * insetcollapsable.h: removed clone function here as this should
5865 be only realized in REAL insets and added it to all collapsable
5866 insets! (with the copy-constructor).
5868 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5870 * insetminipage.C (read): handle missing parameters more gracefully
5872 * insetcollapsable.C (read): handel missing collapsed more gracefully
5874 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5876 * insetfloat.C (read): handle missing parameters.
5878 * insettext.C (read): handle old latex end_inset
5880 * insetert.C (setButtonLabel): new method
5881 (init): use it, to set the dynamic label correctly
5884 * Makefile.am (EXTRA_DIST): add files that is not part or the
5887 * insetcollapsable.h: remove autocollapsable (no users), remove
5888 draw_label, change_label_with_text and companion code. Remove args
5890 * insetert.[Ch]: move here instead (only user)
5892 * inset.h: rename private variable name to name_, make
5893 selectNextWord return a const string. make getInsetName return a
5894 string const &. Remove bool from open, add close.
5896 * Makefile.am: don't compile insetlist, insetsection
5899 2001-07-24 Juergen Vigna <jug@sad.it>
5901 * insetert.C (InsetERT): put init after the paragraph initialization,
5902 as otherwise we don't set the draw_label right.
5904 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5905 insets with the mouse without having strange selections.
5906 (edit): if the inset was collapsed and we open it here then put the
5907 cursor always at the beginning of the inset.
5908 (get_new_label): 15 instead of 10 max chars in the label.
5910 * insetert.C (localDispatch): added and handle various stuff we
5911 need to handle here (font setting on paragraph break, not permitted
5912 layout setting, etc.).
5914 * inset.h: added default copy-consturctor and implemented this in
5915 various insets with the change to use this in the clone function!
5917 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5919 * insetminipage.C (InsetMinipage): set background color to red :)
5921 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5923 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5924 draw frame mode is LOCKED.
5926 * insetcollapsable.C (edit):
5927 (insetButtonRelease): set update status to full when
5930 * insettext.C (clearInset):
5931 * insettabular.C (draw):
5932 * insetlatexaccent.C (draw): honor background color.
5934 * inset.h: new member background_color_, initialized to
5937 * inset.C (backgroundColor): new method.
5938 (setBackgroundColor): new method.
5940 * insetert.C (init): new method, called by the ctors.
5941 (InsetERT): when inserting contents, make sure the font is
5944 * insetnote.C (InsetNote): when inserting content, remove trailing
5946 (init): set background color to LColor::note
5948 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5950 * insetcollapsable.C: adjust
5952 * insetbutton.C: adjust
5954 2001-07-23 Juergen Vigna <jug@sad.it>
5956 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5957 parameter on the _collapsed function (was not needed) and call
5958 always width_collapsed().
5960 * insetert.C (InsetERT): use setLabel with "true" flag.
5962 * insetcollapsable.C: modified various functions to set the draw_label
5963 string right in any condition.
5964 (setLabel): added a bool parameter to set change_label_with_text.
5966 * insetcollapsable.h: added draw_label string which is set to the
5967 actual drawn label-string, while label is the original static label
5968 of this collapsable inset. Added bool change_label_with_text to set
5969 if we want that the label changes to the start of the InsetText's
5970 text when collabpsed. You can set this flag with the setLabel funciton.
5971 Added bool inlined for inlined collapsable insets, but not handled
5974 * insetcollapsable.C (get_new_label): added should get a new label
5975 from the InsetText beginning (for now 10 chars).
5977 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5979 * insetquotes.C (latex): fix the handling of french double quotes
5980 when not using the french pachage.
5982 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5984 * insetcollapsable.h: make WidthCollapsed mutable.
5986 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5987 InsetPrintIndex returns INDEX_PRINT_CODE.
5989 * inset.h: add INDEX_PRINT_CODE
5991 * insetcollapsable.C (draw): init widthCollapsed if necessary
5994 * insetquotes.C (width): use the local language, not the document
5997 (dispString): add additional spacing for all french languages,
5999 (validate): make it work when there is no default language
6001 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6003 * insetnote.C (init): new method, called by the constructors
6004 (InsetNote): new constructor with contents passed as a string
6006 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6008 * insetfootlike.C (insetAllowed): disallow float in footlike.
6010 * insetert.C (InsetERT): add collapsed argument to the constrctor
6013 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6015 * insetindex.h: shut off warning
6017 2001-07-20 Juergen Vigna <jug@sad.it>
6019 * insetcollapsable.C (update): recoded hopefully works now!
6021 2001-07-19 Juergen Vigna <jug@sad.it>
6023 * most files: implemented the below new introduced function.
6025 * inset.h: added new edit(BufferView *, bool front) method to be able
6026 to enter an inset from the front/back without knowing x/y positions
6027 and baselines inside the inset. So I just can tell the inset activate
6028 me and set the cursor on the front/back of yourself.
6030 2001-07-18 Juergen Vigna <jug@sad.it>
6032 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6033 is given to the InsetText.
6034 (insetButtonPress): ditto
6035 (insetButtonRelease): ditto
6036 (insetMotionNotify): ditto
6038 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6040 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6041 LIGATURE_BREAK, since the name is so stupid.
6043 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6045 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6046 the default InsetCollapsable methods. I.e., it can insert anything.
6047 (write) output the name of the inset, not some silly hack for
6048 compatability with the old InsetInfo.
6050 * insetinfo.[Ch]: removed.
6051 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6052 now collapsable, but functionality is otherwise identical to InsetInfo.
6054 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6056 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6058 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6061 * insetquotes.C: general cleanup
6062 (dispString): add spaces inside french double quotes.
6063 (latex): ditto. Moreover, treat first the case where the frenchb
6064 or french options have been given.
6066 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6068 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6071 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6073 * figinset.C (RegisterFigure): Print debug message only when
6074 current_view is available.
6076 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6078 * many files: update to match the change below
6080 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6081 implement the version which takes an inset here.
6083 * insetcollapsable.[Ch]: implement open and isOpen
6085 * inset.h: remove insertInsetAllowed from Inset
6086 (open): new method, to open or close an inset
6087 (isOpen): returns the status of an inset
6088 (isCollapsable, colapse): removed
6090 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6092 * insetquotes.C (dispString): display french guillemets when using
6095 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6097 * insetcollapsable.h: remove bogus return statements
6099 2001-07-18 Juergen Vigna <jug@sad.it>
6101 * insettabular.C (selectNextWord): fixed spellchecking for the
6102 first cell of a tabular (wasn't entered!)
6103 (getLyXText): changed to enter automatically insettext and return
6104 it's LyXText if we're locked.
6106 2001-07-17 Juergen Vigna <jug@sad.it>
6108 * various files: implemented the below functions.
6110 * inset.h: added functions
6111 - virtual string selectNextWord(BufferView *, float & value) const;
6112 - virtual void selectSelectedWord(BufferView *) { return; }
6113 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6114 needed for spellchecking correctly!
6116 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6118 * insetert.C (latex): write out all paragraphs.
6120 2001-07-17 Baruch Even <baruch@lyx.org>
6122 * insetgraphics.C (draw): Removed unneeded casts.
6124 2001-07-16 Juergen Vigna <jug@sad.it>
6126 * insettext.C (update): fixed small oversight (reset lt to 0).
6128 2001-07-14 Baruch Even <baruch@lyx.org>
6131 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6133 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6135 Consistent use of Lsstream.h:
6136 * figinset.C: removed using std::ostringstream directive.
6138 * insetgraphics.C (createLatexOptions):
6139 * insetinclude.C (unique_id):
6140 std::ostringstream -> ostringstream.
6141 * insettext.C (localDispatch): std::istringstream -> istringstream.
6143 2001-07-13 Juergen Vigna <jug@sad.it>
6145 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6147 * insetcollapsable.C (getLockingInset): ditto.
6149 2001-07-12 Juergen Vigna <jug@sad.it>
6151 * insetcollapsable.h: added implementation of new function for
6154 * various files: added implementation of new insertInsetAllowed-func
6155 and redone the function a bit more.
6157 * inset.h: added isCollapsable(), bool collapsed(),
6158 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6160 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6162 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6163 LyXText which is marked for removal while we're using it!
6165 * insettext.h: added private LyXText * lt to use it to assure we are
6166 not deleting our LyXText while we're using it!
6168 2001-07-11 Juergen Vigna <jug@sad.it>
6170 * insettext.C (insertInset): check if we are before the inset after
6171 inserting it! This check IS needed. Remove the Undo-Call as it is
6172 called in LyXText::insertInset!
6174 * insettext.h: added struct InnerCache.
6176 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6177 that we ONLY delete the LyXText in the getLyXText() routine. So we
6178 are sure we don't delete LyXText while someone is working with it!
6180 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6182 * insetexternal.C: (*it). -> it->
6183 * insettext.C: ditto
6185 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6187 * insetcollapsable.C (edit): always open collapsed insets (even if
6188 they are not autocollapsable)
6190 * insetcommand.C (operator=): simplify.
6192 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6194 * insetert.C (latex): handle META_NEWLINE
6196 2001-07-09 Juergen Vigna <jug@sad.it>
6198 * insetert.h: a normal InsetText can insert insets, but we won't.
6200 * inset.h: return default "false" on insertInsetAllowed and implement
6201 this function where a returnvalue != "false" is needed.
6203 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6205 * insetert.C (InsetERT): new contructor
6207 2001-07-06 Juergen Vigna <jug@sad.it>
6209 * a lot of files: added implementation of the below new functions
6210 and the change to clone(). Also the call of the new undo-functions
6213 * inset.h: added an inset_id, added functions getParFromID,
6214 getInsetFromID, firstParagraph, cursor and id functions, added
6215 bool same_ids to clone function.
6217 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6219 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6220 of BufferView * and shared_ptr<LyXText>
6222 2001-07-05 Juergen Vigna <jug@sad.it>
6224 * insettext.C (clear): deleted also the cache not only LyXText.
6225 (setParagraphData): ditto.
6227 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6229 * insetfloat.C (latex): let the specific placement take presedence
6230 if set, otherwise choose document placement if set, otherwise just
6231 use float default placement.
6233 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6235 * insettext.C (localDispatch): call CutAndPaste::'s static method
6238 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6240 * insetbib.C: no meed to include forms.h here.
6242 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6244 * insettext.C: added using std::make_pair directive.
6246 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6248 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6250 (deleteLyXText): ditto
6251 (resizeLyXText): ditto
6253 2001-07-02 Juergen Vigna <jug@sad.it>
6255 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6256 following calls are only returned the right pointer without the over
6257 head to search in the map.
6258 (various funcs): reset the cached_bview variable as this signs that
6259 the cache is not valid anymore.
6261 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6263 * insettabular.C (clone): do not copy the LyXTabular twice
6265 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6267 * insettext.h (TEXT): delete method
6269 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6271 * insetmarginal.C (latex):
6272 * insetfoot.C (latex): fix spacing of notes in LaTeX
6274 * insettext.C (localDispatch): use .c_str() on istringstream
6275 constructor argument.
6277 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6282 * inseturl.C: fix method names in these to begin
6283 with small char too, so they inherit
6285 2001-06-28 Juergen Vigna <jug@sad.it>
6287 * insettext.C (setFont): fixed font settings using toggleFree()
6288 instead of setFont().
6290 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6292 * Change a lot of method names to begin with a small char.
6293 Changes to a lot of files because of this.
6295 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6297 * insetfloatlist.C (Write): std:: qualify ostream
6300 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6304 * insetgraphics.C: send debug output to Debug::INFO instead of
6307 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6310 * insettabular.C (getStatus): update to use func_status
6312 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6314 * insetref.C (DocBook): added support for cross-references without
6317 2001-06-26 The LyX Project <jug@sad.it>
6322 * insetlabel.h: removed escape method and moved it to
6325 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6327 * insettabular.C (getMaxWidth): do the speedup in a different way,
6330 2001-06-24 The LyX Project <Asger>
6332 * insettabular.C (getMaxWidth): We cache a mapping from
6333 inset to cell in order to speed this method up.
6335 2001-06-24 The LyX Project <Asger>
6337 * insettext.C: Optimized InsetText::draw or something.
6339 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6341 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6343 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6345 * inset.h: name change from lyxinset.h
6347 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6349 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6351 2001-06-14 Juergen Vigna <jug@sad.it>
6353 * insettext.C (draw): removed warnings.
6355 2001-06-13 Juergen Vigna <jug@sad.it>
6357 * insettabular.C (nodraw): only go down the tree if we don't have
6358 that flag set otherwise it's obvious that we don't want to draw.
6359 (LocalDispatch): do also an update if we have an undispached result.
6361 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6364 * insetgraphicsParams.C:
6365 * insettext.C: removed // -*- C++ -*- as first line.
6367 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6369 * lyxinset.h (resizeLyXText): shut off warning about unused
6372 2001-06-07 Juergen Vigna <jug@sad.it>
6374 * insettext.C (resizeLyXText): honor the new force flag.
6376 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6378 * insettabular.C (deleteLyXText): new function
6380 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6388 * insetcollapsable.C:
6389 * insetcaption.C: LColor tidy
6391 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6393 * figinset.C: fix typo
6395 2001-06-01 Juergen Vigna <jug@sad.it>
6397 * insettabular.C (resetPos): small hack so that scroll is not set to
6398 0 when we are in the last column of a tabular. This is a problem we
6399 have because of constats 20 offset on both directions, so this can
6400 cause on the limit an endless loop.
6402 * insettext.C (SetFont): forgot that we can have locking insets ;)
6404 2001-05-31 Juergen Vigna <jug@sad.it>
6406 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6408 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6410 * figinset.C: add using std:: directive for the C functions which
6413 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6415 * insetfloat.C (Write): write out wide info
6416 (Read): read the wide info
6417 (Latex): use the wide info when creating latex.
6419 * insettext.C: adjust
6421 * insetgraphics.[Ch] (statusMessage): change to return string
6425 * figinset.C (runqueue): add std::
6428 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6430 * insetcite.C (Ascii): add std:: qualifier
6432 2001-05-28 Juergen Vigna <jug@sad.it>
6434 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6435 a endless-width inset (maxWidth < 0).
6436 (Edit): change language only if not equal.
6438 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6440 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6442 2001-05-16 Juergen Vigna <jug@sad.it>
6444 * insettext.C (selectAll): added
6445 (clearSelection): added
6447 * insettabular.C (SetFont): now we may set a font on a whole selection!
6448 (getSelection): added helper function.
6450 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6452 * insetcite.C (Ascii): Add method.
6454 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6457 * insetbib.C: fix path for OS/2 & Win32
6459 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6461 * insetfoot.C (Latex): don't use % after footnote.
6463 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6465 * insettext.C (Read): use clear
6466 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6468 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6470 * insetfloatlist.h: add a bunch of std:: qualifiers.
6472 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6474 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6475 FLOAT_LIST_CODE, renumber code list.
6477 * insettoc.C (getScreenLabel): remove support for float lists
6481 * insetfloatlist.[Ch]: new files
6483 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6485 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6487 * insettabular.C (LocalDispatch):
6488 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6491 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6493 * insettext.C: remvoe !NEW_INSETS cruft
6495 * insettabular.C: remove !NEW_INSETS cruft
6497 * insetcollapsable.h: remove !NEW_INSETS cruft
6499 * insetbib.C: remove !NEW_INSETS cruft
6501 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6503 * insettoc.C: hack to make listof algorithm work
6505 2001-04-20 Juergen Vigna <jug@sad.it>
6507 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6509 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6511 * insetquotes.C (Latex): improve the guard against
6512 unwanted !` and ?` ligatures. This should really be done in
6513 another place (to catch all this ligatures at low-level).
6515 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6517 * insettext.C (init): remvoe leftovers from cursor_visible change
6518 (draw): use c++ cast
6519 (LocalDispatch): dispatch LFUN_MESSAGE
6521 * insettabular.C (InsetTabular): remove leftovers from
6522 cursor_visible, and scoped_ptr changes
6523 (draw): use c++ cast
6525 * insetcollapsable.C (draw): use c++ cast
6527 * ExternalTemplate.h: inherit privaely from noncopyable
6528 * insetcommand.h: ditto
6529 * insetinclude.h: ditto
6531 2001-04-16 Allan Rae <rae@lyx.org>
6533 * insettoc.C (Ascii):
6534 * insettext.C (draw):
6535 * insettabular.C (setPos):
6536 * insetminipage.C (Read):
6537 * insetfloat.C (placement):
6538 * insetcaption.C (Ascii, DocBook):
6539 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6540 an unrecognised preprocessor directive. So ensure they're wrapped.
6542 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6545 * insetexternal.C: set view on Clone. Add _ to private members.
6547 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6549 * insettext.C (InsetText): fix new
6550 (InsetText): reindent some, simplify deletion of par list
6551 (clear): simplify deletion of par list, fix new
6552 (SetParagraphData): simplify deletion of par list
6554 * insettabular.[Ch] (getLabelList): implement new method
6556 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6558 * lyxinset.h: do not include gettext.h...
6566 * insetlatexaccent.C:
6570 * inseturl.C: ... and do it here instead
6572 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6574 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6576 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6578 * insetcollapsable.[Ch] (getLabelList): implement
6580 * insettext.[Ch] (getLabelList): implement
6582 * insettext.h: reindent
6584 * insettabular.h: make tabular a scoped_ptr
6586 * insettext.C (init): adjust for cursor_visible
6587 (ToggleInsetCursor): constify asc and desc, font, adjust for
6589 (ShowInsetCursor): constify asc and desc, font, adjust for
6591 (HideInsetCursor): adjust for cursor_visible
6593 * insettabular.C: reindent some
6594 (InsetTabular): adjust for scoped_ptr and cursor_visible
6595 (InsetTabular): ditto
6596 (~InsetTabular): delete delete
6597 (Clone): adjust for scoped_ptr
6598 (Read): constify old_format, adjust for scoped_ptr, move init of
6600 (draw): constify tx, localize loop vars.
6601 some other localization of variables, remove double initilizatons.
6603 * insetfoot.C: remove using std::ostream, add ostream where needed
6605 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6607 * lyxinset.h: some reindentaion, use initializer list for
6609 UpdatableInset: make cursor_visible a private var add
6610 public isCursorVisible(), add protected toggleCursorVisible() and
6611 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6613 * insettoc.C: remvoe using decl
6614 (getScreenLabel): make cmdname donst
6617 (Ascii): don't use endl
6619 * insetfootlike.C: remove using decl at file scope and add std::
6621 * insetmarginal.C: ditto
6623 * insetfoot.C: some reformatting
6625 * insetfloat.C (InsetButtonRelease): adjust the hit area
6627 * insetert.C (SetFont): some reformatting
6629 * insetcollapsable.C: some reformatting and constification
6630 (Clone): comment out.
6631 * insetcollapsable.h: some reformatting
6632 (Clone): comment out.
6637 2001-03-30 Juergen Vigna <jug@sad.it>
6639 * insetcollapsable.h: changen *inset to be a InsetText inset.
6641 * some files: changed to reflect the above change.
6643 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6645 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6646 InsetExternal::Params.
6647 Added operator==() and operator!=() for the Params struct.
6649 2001-03-29 Juergen Vigna <jug@sad.it>
6651 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6654 * insetminipage.C: removed widthp_ and all it's functions and changed
6655 to use new %-lengths of LyXLength.
6657 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6659 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6661 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6663 * insetgraphicsParams.C (operator!=): new function, needed by the
6664 ControlGraphics class.
6666 2001-03-28 Juergen Vigna <jug@sad.it>
6668 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6669 (checkAndActivateInset): don't use the values returned from
6670 call to bv->checkInsetHit.
6672 * insetminipage.C (Clone): set special minipage values.
6674 * insetcollapsable.C (draw): changed to draw the button in the
6675 upper left corner outside the textinset.
6676 (ascent): changed because of different drawing
6680 (InsetButtonPress): ditto
6681 (InsetButtonRelease): ditto
6682 (InsetMotionNotify): ditto
6684 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6686 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6690 2001-03-26 Juergen Vigna <jug@sad.it>
6692 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6694 * insettext.C (ShowInsetDialog): implemented above function.
6696 * insettabular.C (ShowInsetDialog): ditto
6698 * insetminipage.C (ShowInsetDialog): ditto
6700 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6702 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6703 InsetInclude::Params. Don't store a buffer * in Params. Store the
6704 master file name instead.
6706 2001-03-23 Juergen Vigna <jug@sad.it>
6708 * insetcollapsable.C (InsetMotionNotify):
6709 (InsetButtonRelease):
6710 (InsetButtonPress): fixed y-offset (minipages).
6712 * insettext.C (draw): force a FULL update if cleared == true.
6714 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6715 routine to draw the minipages on its position-flag.
6716 (InsetInInsetY): give back the right y position, because of minipage
6719 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6722 * insetfloat.C (DocBook): docbook export code.
6724 2001-03-22 Juergen Vigna <jug@sad.it>
6726 * insetminipage.C (getMaxWidth): added function to set the drawing
6728 (Read): should work now!
6730 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6731 if we create a new inset.
6733 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6735 * figinset.C (fl_set_preemptive_callback): moved definition outside
6738 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6740 * insetminipage.C (Read): prepare for reading of minipage arguments.
6742 2001-03-18 Baruch Even <baruch@lyx.org>
6744 * insetgraphics.C: Minor cleanups of the comments and code.
6746 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6748 * insetminipage.C (InsetMinipage): default to not collapsed
6750 2001-03-16 Juergen Vigna <jug@sad.it>
6752 * insetminipage.C (width): modified with to be a string
6753 (widthp): added widthp (for % width) support functions.
6754 (InsetButtonRelease): added to open the options dialog on button==3.
6755 (~InsetMinipage): added to hide the dialog.
6757 * insetminipage.h: added hideDialog signal
6759 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6761 * insetminipage.h: change the order or Position to match
6762 LyXParagraph::MINIPAGE_ALIGNMENT
6764 * several files: remvoe CXX_WORKING_NAMESPACES
6766 * ExternalTemplate.h: noncopyable is in namespace boost
6767 * insetinclude.h: ditto
6768 * insetcommand.h: ditto
6770 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6772 * insettext.C (Edit): #else# -> #else.
6773 * insettoc.C: added using directive.
6775 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6777 * insetminipage.h: add pos, inner_pos, width and height. + getters
6778 and setters for all of them.
6780 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6782 * insetinclude.C (Latex): Do not exit when the textclass of the
6783 included file differ from the textclass of the parent file.
6785 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6787 * ExternalTemplate.C (read): the reading of external insets now checks
6788 for \end_inset and removes it form the input stream.
6790 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6792 * ExternalTemplate.h:
6793 * ExternalTemplate.C:
6795 * insetexternal.C: move form to GUII
6797 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6800 * insetinclude.C: add InsetIncludeParams, use
6801 composition rather than derivation of InsetCommand
6803 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6805 * insettoc.C (Ascii): use the Buffer typedefs
6807 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6809 * insettoc.C (Ascii): implement for dynamic number of lists
6811 * insetcaption.[Ch]: update from new_insets branch
6812 * insetfloat.[Ch]: ditto
6814 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6817 * figinset.C: use new File Dialog
6819 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6821 * insettext.C: changes becuase of ParagraphParameters.
6823 2001-02-28 Baruch Even <baruch@ev-en.org>
6825 * insetgraphics.C (updateInset): Changed due to the change in
6828 2001-02-26 Juergen Vigna <jug@sad.it>
6830 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6831 handled in LyXText).
6833 2001-02-23 Juergen Vigna <jug@sad.it>
6835 * insettext.C (draw): some small repainting fixes.
6836 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6838 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6839 should be) and not an int.
6841 * insettabular.C (LocalDispatch): ditto
6843 * insettext.C (LocalDispatch): ditto
6845 * insetcollapsable.C (LocalDispatch): ditto
6847 2001-02-22 Juergen Vigna <jug@sad.it>
6849 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6850 DISPATCH it and we don't have a locking_inset.
6852 2001-02-21 Baruch Even <baruch@ev-en.org>
6854 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6855 instead of GraphicsCacheItem *.
6857 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6859 * insetcollapsable.C (getLyXText): add const qualifier to second
6862 2001-02-22 Juergen Vigna <jug@sad.it>
6864 * insettext.C (getLyXText): honor the recursive parameter.
6865 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6867 * inset.C (getLyXText): added bool recursive parameter.
6869 * insettext.C (SetUpdateStatus): or the update codes.
6870 (draw): check need_update with &.
6871 (InsetButtonPress): set no_selection to not put a selection when
6872 entering an inset and it is redraws in another spot.
6874 * insettext.h: made need_update an int.
6876 2001-02-20 Baruch Even <baruch@ev-en.org>
6879 * insetgraphisc.C: Changed to use better semantics when loading images
6880 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6882 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6886 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6887 consistent with InsetTabular.
6889 2001-02-19 Juergen Vigna <jug@sad.it>
6891 * insettabular.C (LocalDispatch): implement PAGE up/down.
6893 * insettext.C (draw): clear all of it on need_update==INIT too!
6895 * insettabular.C (InsetUnlock): always clear the selection.
6897 * inset.C (scroll): normally we only want to scroll the inset until
6898 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6900 2001-02-14 Juergen Vigna <jug@sad.it>
6902 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6903 (resetPos): fixed scroll behaviour.
6904 (LocalDispatch): do an update if moving cursor inside a table cell
6905 requests a scroll of the tabular.
6907 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6909 * insettext.C (textWidth): constify local var
6911 * insettabular.C: small cleanup.
6913 * insetfoot.C (Latex): constify local var
6915 * insetcollapsable.C: small cleanup.
6917 * figinset.C (runqueue): use compare instead of strcmp
6919 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6922 * insetinfo.C: remove cruft
6924 2001-02-14 Juergen Vigna <jug@sad.it>
6926 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6928 2001-02-13 Juergen Vigna <jug@sad.it>
6930 * insettext.C (InsertInset): don't move left (is this right?)
6932 * insettabular.C (LocalDispatch): use of the no_draw variable
6934 * insettabular.h: new no_draw variable to stop redraw
6936 * insettabular.C (TabularFeatures): fixed update for alignment change
6938 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6942 * insetbib.C: move dialogs to frontends/
6944 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6946 * insettext.C (LocalDispatch): Restore the language if the inset
6949 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6951 * insettext.C (moveRightIntern): Update the selection cursor.
6952 (moveLeftIntern): Ditto.
6954 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6956 * Makefile.am: remove BoundingBox.h
6958 * BoundingBox.h: removed
6960 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6962 * insettext.C (LocalDispatch): Update selection cursor when moving
6963 cursor to the right.
6964 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6965 (moveLeftIntern): Ditto.
6967 2001-02-05 Baruch Even <baruch.even@writeme.com>
6969 * insetgraphics.C: Updated automatic image conversion, it now goes into
6970 temporary directory instead of with the image itself.
6972 2001-01-21 Baruch Even <baruch@ev-en.org>
6974 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6975 to EPS or PNG when needed (support bitmap graphics).
6977 2000-11-02 Baruch Even <baruch@ev-en.org>
6980 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6981 and removal of commented out code.
6983 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6985 * insetbib.C (callback): Update citations if the key has changed.
6987 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6989 * insetbib.C (InsetBibKey): Better computation of default key.
6990 (getScreenLabel) Show both the key and the label.
6991 (getBibLabel): New method.
6992 (callback): Force a redraw if the inset have been changed.
6994 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6996 * insetref.C (getType, getName): Move methods from
6997 src/frontends/xforms/FormRef.C.
6999 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7001 * insettabular.C: Various improvements (use only one dummy position).
7003 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7005 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7006 par->bibkey->width. This fixes the crashes when running without
7007 gui or when having included documents.
7009 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7011 * insetcommand.C (getAsString, setFromString): Cleanup.
7013 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7015 * insetref.C: Add the array InsetRef::types that contains
7016 information about all supported reference types.
7018 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7020 * lyxinset.h: remove trailing comma in enum.
7022 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7024 * insettext.C: kill LyXBell.