1 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * insetoptarg.h: remove the editable() method (InsetCollapsable
4 does it better already)
6 * insetbibtex.C (normalize_name): new helper function. Changes the
7 name to be suitable to use in a latex file (relative to master
9 (latex): use normalize_name.
11 2004-04-20 Angus Leeming <leeming@lyx.org>
13 * render_preview.C (startLoading): remove lyxerr statement.
15 (getPreviewLoader): new helper function.
17 2004-04-19 Angus Leeming <leeming@lyx.org>
21 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
23 2004-04-19 Angus Leeming <leeming@lyx.org>
25 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
27 (add_preview): renamed as add_preview_and_start_loading. Invoke
28 RenderPreview::startLoading.
30 * insetinclude.C (metrics, draw): changes due to the changed
31 RenderPreview interface.
33 * render_preview.C: remove cached pimage_.
34 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
35 (draw): don't call startLoading. That's up to the user of
38 2004-04-16 Angus Leeming <leeming@lyx.org>
40 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
42 2004-04-13 Angus Leeming <leeming@lyx.org>
44 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
45 the renderer to inform LyX::updateInset that the inset's status
46 has changed and it should be redrawn.
48 * render_button.[Ch] (clone):
49 * render_graphic.[Ch] (c-tors, clone):
50 * render_preview.[Ch] (c-tors, clone): ditto.
52 * render_graphic.[Ch] (connect):
53 * render_preview.[Ch] (connect): removed, as connection is now
54 made in the constructors.
58 * insetinclude.C: ensuing simplification of the client code.
59 (statusChanged): now superfluous. Removed.
61 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
63 * ExternalTemplate.[Ch]: remove editCommand
64 * ExternalSupport.C (editExternal): use formats.edit() instead of
65 the removed editCommand template parameter
66 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
67 * insetgraphics.[Ch] (editGraphics): new method
69 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
71 * insetinclude.C (validate): set/reset features.buffer_ when
74 2004-04-07 Angus Leeming <leeming@lyx.org>
76 * insetexternal.C (priv_dispatch):
77 * insetinclude.C (priv_dispatch): prevent crash by invoking
78 InsetOld::priv_dispatch at the end of the switch, rather than
81 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
84 * insetbranch.C: 'assign' to open/close branch inset according to
85 selection; also print content on closed branch button
87 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
89 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
90 $$RelPath_Master, $$RelPath_Parent, $$Extension,
91 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
93 * ExternalSupport.C (updateExternal): use absolute and output
94 filename where appropriate
96 2004-04-05 André Pönitz <poenitz@gmx.net>
98 * insetbase.h: use LCursor & in notifyCursorLeave
100 2004-04-05 Angus Leeming <leeming@lyx.org>
102 * insetgraphics.C: remove unused header file "lyxrc.h".
104 * render_graphic.C: squash bug 1372: Misleading graphics label when
105 deactivating lyx view.
107 2004-04-05 Angus Leeming <leeming@lyx.org>
112 * insetlatexaccent.C:
117 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
119 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
121 * insetfloat.C (read): fix yesterday's float fix.
122 * insetwrap.C (read): apply the fixed float fix.
124 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
126 * insetfloat.C (read): fix reading of float params
129 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
131 * insettext.C (edit): comment the call to updateLocal (dangling now)
132 * insettext.h: add allowSpellCheck() returning true
134 2004-03-31 Angus Leeming <leeming@lyx.org>
136 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
138 2004-03-31 Angus Leeming <leeming@lyx.org>
140 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
141 the cursor out of an inset.
143 * insetbranch.C (priv_dispatch):
144 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
145 use getOutOfInset to push the cursor out of the inset when
148 2004-03-30 Angus Leeming <leeming@lyx.org>
150 * insetbase.[Ch] (translate): new static member function, returns
151 an InsetBase::Code corresponding to the input string.
153 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
155 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
156 so that it opens the inset if it refers to the currently active
159 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
161 * insetfloat.C (addToToc): use par_const_iterator_begin and
162 par_const_iterator_end.
164 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
166 * insetbibtex.[Ch]: bibtopic support.
168 * insetfloat.[Ch]: add param \sideways {true|false}
169 (support for sideways floats from rotating.sty).
171 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
173 * insettext.[Ch]: add a default ctor. implement const version of
179 * insetwrap.C: adjust
181 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
183 * insettext.h: add insetAllowed returning true by default (fixing
184 vanishing insets problem)
186 * insettext.C (draw): handle the responsability of adding the
187 ouside offset to collapsable. Clean code a bit.
189 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
190 from insettext correctly, solve a couple of off-by-one drawing
193 2004-03-25 Angus Leeming <leeming@lyx.org>
195 * insetcaption.C (draw): squash warning about unused variable.
197 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
199 * ExternalSupport.C: use the master buffer's temp dir
200 * insetgraphics.C (latex): make relative filename relative to the
202 * insetgraphics.C: use the master buffer's temp dir
203 * insetinclude.C (masterFilename): new function
204 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
205 is always true if loadIfNeeded() returns true)
207 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
209 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
210 set its parent to the current buffer.
211 (latex): use the tmppath of the master buffer, not just the parent
212 buffer (makes a difference with more than one level of include
213 insets). If the file name is relative write in the .tex file a
214 name relative to the master buffer directory.
216 * insetinclude.C: rename masterFilename to parentFilename (this
217 points to the direct parent)
219 2004-03-25 André Pönitz <poenitz@gmx.net>
221 * inset.[Ch]: remover owner
223 * insetcollapsable.[Ch]: derive from InsetText instead having such a
231 * insetcharstyle.[Ch]:
239 * insetwrap.C: adjust
241 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
243 * insetquote.C: use opening quote after '[' char.
245 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
247 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
250 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
252 * insetcite.[Ch]: support jurabib.
254 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
256 * insetcite.C: Support second \cite option.
259 * insetcommandparams.[Ch]: add second optional argument.
261 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
263 * insetcollapsable.C (lfunMouseRelease): right mouse button only
264 shows the inset dialog.
266 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
268 * insetlabel.[Ch]: remove them
269 * Makefile.am: adjust
271 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
273 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
275 * insetinclude.C (latex): show a GUI warning if textclasses don't
277 * insetinclude.C: use mangledFilename() for temp files
278 * insetgraphics.C (readInsetGraphics): remove version check, since
279 the graphics inset has no own fileformat number anymore
281 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
283 * insetquotes.[Ch]: added new member that allows direct access
284 to single/double quotation marks.
286 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
288 2004-02-16 André Pönitz <poenitz@gmx.net>
291 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
292 implicitly assume 'DispatchResult(true, true) with exception of
293 InsetBase::priv_dispatch which does the equivalent of
294 'retrun DispatchResult(false)'
296 * inset*.[Ch] (priv_dispatch): adjust
298 * insettabular.[Ch]: remove remains of the 'update' mechanism,
299 simplify cursor moving function,
300 re-enable horizontal scrolling for large tables
302 2004-02-13 André Pönitz <poenitz@gmx.net>
304 * insettabular.[Ch]: some work after IU
306 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
308 * inset.C (setPosCache): switch to absolute coords in insets
309 * insettext.[Ch] (draw, drawFrame): adjust
310 * insetcollapsable.C (draw): adjust
313 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
315 * insettext.C (edit):
316 (updateLocal): use the cur argument instead of the global cursor
317 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
319 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
321 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
323 * insetfloat.C (validate): "H" -> 'H' in call to contains
325 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
327 2004-01-30 André Pönitz <poenitz@gmx.net>
331 * insetcollapsable.[Ch]:
334 * insetgraphics.[Ch]:
339 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
342 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
344 * insettabular.C: add using statement for std::vector, remove
345 std:: where using was already used.
347 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
349 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
351 * insetinclude.C (validate): use feautures.nice() instead of
354 2004-01-20 André Pönitz <poenitz@gmx.net>
357 * insetbase.[Ch]: move stuff from mathcursor here.
363 * insetcharstyle.[Ch]:
364 * insetcollapsable.[Ch]:
367 * insetexternal.[Ch]:
369 * insetgraphics.[Ch]:
378 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
380 2004-01-15 André Pönitz <poenitz@gmx.net>
387 * insetcharstyle.[Ch]:
388 * insetcollapsable.[Ch]:
391 * insetexternal.[Ch]:
393 * insetgraphics.[Ch]:
402 * updatableinset.[Ch] (priv_dispatch et al): change signature.
404 2004-01-08 André Pönitz <poenitz@gmx.net>
406 * insetcollapsable.[Ch]:
409 * updatableinset.h: use cell index info from global cursor.
411 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
413 * insetnote.C (InsetNoteParams::write): write label only once
415 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
417 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
419 get rid of the SameName functor
421 * insettabular.C: improve the functor.
423 2003-12-29 Angus Leeming <leeming@lyx.org>
425 * insetexternal.C (setParams): update defaultTemplateName.
427 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
429 * insetbox.C: Use term "Box" in button label
431 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
433 * insetcharstyle.C: get getDrawFont working again
435 2003-12-15 André Pönitz <poenitz@gmx.net>
438 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
440 2003-12-12 Angus Leeming <leeming@lyx.org>
442 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
444 (InsetBranchParams): remove the branchlist hack.
445 (isBranchSelected): new function, used to decide whether to
446 print each output format. Also used by InsetList.
447 (read, string2params): repair my own breakage ;-)
449 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
451 * insetminipage.[Ch]: remove from repository.
453 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
456 * insetcollapsable.[Ch]: Move all CollapseStatus code from
457 insetert to insetcollapsable; introduce virtual function
458 setButtonLabel and invoke it from collapsable
460 2003-12-12 Angus Leeming <leeming@lyx.org>
462 * insetinclude.C (draw): cache x,y and so enable the
465 2003-12-12 Angus Leeming <leeming@lyx.org>
467 * mailinset.C (print_mailer_error): tidy up the output.
469 2003-12-11 Angus Leeming <leeming@lyx.org>
471 * mailinset.[Ch] (print_mailer_error): new helper function.
473 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
474 calling InsetCommandMailer.
475 (InsetCommandMailer::string2params): pass the name of the dialog.
477 * insetbibitem.[Ch] (d-tor):
478 * insetbibtex.[Ch] (d-tor):
479 * insetcite.[Ch] (d-tor):
480 * insetfloatlist.[Ch] (d-tor):
481 * insetindex.[Ch] (d-tor):
482 * insetlabel.[Ch] (d-tor):
483 * insetref.[Ch] (d-tor):
484 * insettoc.[Ch] (d-tor):
485 * inseturl.[Ch] (d-tor): removed.
486 Hiding the dialog is handled by InsetCommand.
488 * insetbibtex.[Ch] (draw, metrics):
489 * insetfloatlist.[Ch] (draw, metrics):
490 * insetindex.[Ch] (draw, metrics): removed.
491 Drawing is handled by InsetCommand.
493 * insetbibitem.[Ch] (priv_dispatch):
494 * insetbibtex.[Ch] (priv_dispatch):
495 * insetcite.[Ch] (priv_dispatch):
496 * insetfloatlist.[Ch] (priv_dispatch):
497 * insetindex.[Ch] (priv_dispatch):
498 * insetlabel.[Ch] (priv_dispatch):
499 * insettoc.[Ch] (priv_dispatch):
500 * inseturl.[Ch] (priv_dispatch): removed or simplified.
501 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
502 LFUN_INSET_DIALOG_SHOW.
504 * insetbox.C (string2params):
505 * insetbranch.C (string2params):
506 * insetert.C (string2params):
507 * insetexternal.C (string2params):
508 * insetfloat.C (string2params):
509 * insetinclude.C (string2params):
510 * insetminipage.C (string2params):
511 * insetnote.C (string2params):
512 * insetvspace.C (string2params):
513 * insetwrap.C (string2params): over-hauled.
515 2003-12-10 Angus Leeming <leeming@lyx.org>
517 * insetexternal.[Ch]: add a draft option and respect it when
520 2003-12-10 Angus Leeming <leeming@lyx.org>
522 * insetbox.C: (read, write): now prepend the inset contents with
523 'Box' to identify the inset as a box inset.
525 * insetbox.h: move the translators out of sight.
527 2003-12-10 Angus Leeming <leeming@lyx.org>
529 * insetert.C (string2params): clean-up using the new lyxlex interface.
531 * insetexternal.C: ensure that InsetExternalParams has a default
532 template, 'RasterImage'.
534 2003-12-10 Angus Leeming <leeming@lyx.org>
536 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
537 to an enum. Ensuing clean-ups through out the class.
538 (read, write): now prepend the inset contents with 'Note' to identify
539 the inset as a note inset.
541 2003-12-10 Angus Leeming <leeming@lyx.org>
543 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
544 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
546 2003-12-10 André Pönitz <poenitz@gmx.net>
551 * insettext.[Ch]: remove unused insetInset()
553 * insetert.C: disable some LFUNs
555 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
557 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
559 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
561 2003-12-04 Angus Leeming <leeming@lyx.org>
563 * insetexternal.C (draw): update the xo_, yo_ cache.
565 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
567 (RotationDataType): new helper struct wrapping the
568 RotationData::OriginType enum.
570 2003-12-03 André Pönitz <poenitz@gmx.net>
572 * inset.h: remove getParagraphs()
574 * insetcollapsable.[Ch]:
578 * insettext.C: use getText() instead of getParagraphs()
580 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
582 * insetert.C: fix label text updating bug
584 2003-12-02 Angus Leeming <leeming@lyx.org>
586 * insetvspace.[Ch] (space): new member function. Make space_ private.
587 (read): use the new, simpler lyxlex syntax.
589 2003-12-01 André Pönitz <poenitz@gmx.net>
591 * insetcollapsable.[Ch]:
592 * insetert.[Ch]: move 'inline' state to InsetCollapsable
594 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
596 * insetvspace.C (read): handle 'end_inset' token.
598 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
600 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
602 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
604 * insetcollapsable.[Ch]:
606 * insetcharstyle.C: place inset content on the button when
609 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
611 * insetvspace.C: remove VSpace::NONE; increase inset width
613 2003-12-01 André Pönitz <poenitz@gmx.net>
615 * insetbase.h: whitespace
617 * inset.[Ch]: remove latexTextWidth
618 make setBackgroundColor virtual
620 * insettext.[Ch]: move ParagraphList member to LyXText
622 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
628 * insetminipage.[Ch]:
630 * insetwrap.[Ch]: adjust paragraphs and background color handling,
632 2003-11-28 Angus Leeming <leeming@lyx.org>
634 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
635 hiding and showing the dialog respectively.
636 (priv_dispatch): also actually update the inset contents.
638 2003-11-28 Angus Leeming <leeming@lyx.org>
640 * insetbox.C (d-tor):
641 * insetbranch.C (d-tor):
642 * insetcite.C (d-tor):
643 * insetfloat.C (d-tor):
644 * insetfloatlist.C (d-tor):
645 * insetinclude.C (d-tor):
646 * insetindex.C (d-tor):
647 simplify the invocation of the Mailer::hideDialog() function.
649 * insetminipage.C (showInsetDialog):
650 simplify the invocation of the Mailer::showialog() function.
652 2003-11-28 André Pönitz <poenitz@gmx.net>
655 * insetvspace.[Ch]: new insets
657 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
659 * insetcharstyle.C: Syntax change for CharStyles
661 2003-11-28 André Pönitz <poenitz@gmx.net>
663 * updatableinset.h: remove insetInInsetY
665 * insetcollapsable.[Ch]:
668 * insettext.[Ch]: adjust
670 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
674 * insetcollapsable.[Ch]:
676 * insettabular.[Ch]: remove setFont
678 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
680 * render_graphic.[Ch]: adjust comments
682 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
684 * insetgraphics.C (draw): cache xo_ & yo_
686 2003-11-24 André Pönitz <poenitz@gmx.net>
688 * insettext.C (setViewCache): don't call LyXText::init() anymore
690 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
693 * insetcollapsable.[Ch]:
694 * insetert.[Ch]: remove bufferview parameter in methods
695 open, close, status, and updateStatus.
697 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
699 * insetcollapsable.[Ch]:
701 * insettext.[Ch] (getCursorDim): squash unused variable
703 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
705 * insettext.C (edit): x0_,y0_ -> xo_,yo_
707 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
709 * insettext.C (draw): sets LyXText absolute coordinates
711 2003-11-20 Angus Leeming <leeming@lyx.org>
713 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
714 about unused parameters.
716 * insetcollapsable.C (open):
717 * insettabular.C (pasteSelection):
718 * insettoc.C (draw): ditto.
720 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
722 * insetcollapsable.C:
724 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
725 remove mouse_x mouse_y etc.
727 2003-11-17 André Pönitz <poenitz@gmx.net>
729 * insettext.[Ch] (cx, cy): remove
731 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
733 2003-11-13 André Pönitz <poenitz@gmx.net>
736 * insetcollapsable.[Ch]:
738 * insettext.[Ch] (deleteLyXText): remove
740 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
742 * insetcollapsable.[Ch] (fitInsetCursor): remove
743 * insettabular.[Ch] (fitInsetCursor): remove
744 * insettext.[Ch] (fitInsetCursor): remove
745 * updatableinset.[Ch] (fitInsetCursor): remove
746 (getCursorDIm): add virtual
748 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
750 * src/insets/Makefile.am:
751 * src/insets/inset.h:
752 * src/insets/insetcharstyle.C:
753 * src/insets/insetcharstyle.h: The Character Style /XML short
756 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
758 * insettext.C: remove all update calls
759 * insetcollapsable.C: remove all update calls
761 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
763 * insettext.C (updateLocal, insertInset, setFont): remove
766 2003-11-10 André Pönitz <poenitz@gmx.net>
768 * inset.h: remove Inset::id_
770 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
773 2003-11-10 André Pönitz <poenitz@gmx.net>
777 * insetcollapsable.[Ch]:
784 * updatableinset.[Ch]: remove inset locking & adjust
786 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
788 * inset.h (allowSpellCheck): add (return true)
789 * insetert.h (allowSpellCheck): add (return false)
791 2003-11-05 José Matos <jamatos@lyx.org>
799 * insetcollapsable.[Ch]:
803 * insetexternal.[Ch]:
805 * insetfloatlist.[Ch]:
807 * insetgraphics.[Ch]:
812 * insetlatexaccent.[Ch]:
815 * insetmarginal.[Ch]:
816 * insetminipage.[Ch]:
820 * insetpagebreak.[Ch]:
824 * insetspecialchar.[Ch]:
830 * insetwrap.[Ch]: rename ascii to plaintext
831 and LatexRunParams to OutputParams.
833 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
835 * insetcollapsable.C (edit): add open() all
836 * insettext.C (edit): add setViewCache call
838 2003-11-04 André Pönitz <poenitz@gmx.net>
840 * inset.h (edit): move locking code from dispatch() to edit()
846 * insetcollapsable.[Ch]:
849 * insetexternal.[Ch]:
850 * insetgraphics.[Ch]:
856 * insettext.[Ch]: adjust
858 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
861 * insetcollapsable.[Ch]:
865 * updatableinset.[Ch]: remove dead search code
867 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
870 * insetcollapsable.[Ch]:
874 * updatableinset.[Ch]: remove dead spellcheck code
876 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
878 * insettabular.C (lockInsetInInset): small fix
880 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
882 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
883 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
884 from here. Be stricter on DispatchResult returned.
886 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
888 * Inset::dispatch's: adjust for new DispatchResult semantics.
890 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
892 * render_base.h: make clone return an auto_ptr
893 * render_button.C (clone): adjust
894 * render_graphic.C (clone): adjust
895 * render_preview.C (clone): adjust
897 * insettheorem.C (clone): return an auto_ptr
899 * insettext.C (priv_dispatch): exception safety
901 * insettabular.C: store the file scope variable paste_tabular in a
902 scoped_ptr, adjust usage.
904 * insetexternal.C (setParams): exception safety
906 * insetbibitem.C (clone): exception safety
908 2003-11-03 André Pönitz <poenitz@gmx.net>
911 * insetcollapsable.[Ch]:
913 * insettext.[Ch]: remove Inset::id and related functions
915 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
917 * insets: adjust for DispatchResult changes.
919 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
921 * insetpagebreak.C: fix screen representation & ascii output.
923 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
928 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
930 2003-10-31 José Matos <jamatos@lyx.org>
932 * inset.h (ascii, linuxdoc, docbook):
933 * insetbox.[Ch] (ascii, linuxdoc, docbook):
934 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
935 * insetcaption.[Ch] (ascii, docbook):
936 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
937 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
938 * insetert.[Ch] (ascii, linuxdoc, docbook):
939 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
940 * insetfloat.[Ch] (linuxdoc, docbook):
941 * insetfloatlist.[Ch] (ascii):
942 * insetfoot.[Ch] (docbook):
943 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
944 * insethfill.[Ch] (ascii, linuxdoc, docbook):
945 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
946 * insetindex.[Ch] (docbook):
947 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
948 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
949 * insetline.[Ch] (ascii, linuxdoc, docbook):
950 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
951 * insetnote.[Ch] (ascii, linuxdoc, docbook):
952 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
953 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
954 * insetref.[Ch] (ascii, linuxdoc, docbook):
955 * insetspace.[Ch] (ascii, linuxdoc, docbook):
956 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
957 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
958 * insettext.[Ch] (ascii, linuxdoc, docbook):
959 * insettoc.[Ch] (ascii, linuxdoc, docbook):
960 * inseturl.[Ch] (ascii, linuxdoc, docbook):
961 * insetwrap.[Ch] (docbook):
962 add LatexRunParams argument.
964 2003-10-30 José Matos <jamatos@lyx.org>
966 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
968 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
970 * updatableinset.C (priv_dispatch):
971 * insetwrap.C (priv_dispatch):
972 * inseturl.C (priv_dispatch):
973 * insettoc.C (priv_dispatch):
974 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
975 (moveLeftIntern, moveUp, moveDown):
976 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
977 (moveLeft, moveUp, moveDown):
978 * insetref.C (priv_dispatch):
979 * insetnote.C (priv_dispatch):
980 * insetminipage.C (priv_dispatch):
981 * insetlabel.C (priv_dispatch):
982 * insetindex.C (priv_dispatch):
983 * insetinclude.C (priv_dispatch):
984 * insetgraphics.C (priv_dispatch):
985 * insetfloatlist.C (priv_dispatch):
986 * insetfloat.C (priv_dispatch):
987 * insetexternal.C (priv_dispatch):
988 * insetert.C (priv_dispatch):
989 * insetcommand.C (priv_dispatch):
990 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
991 * insetcite.C (priv_dispatch):
992 * insetbranch.C (priv_dispatch):
993 * insetbox.C (priv_dispatch):
994 * insetbibtex.C (priv_dispatch):
995 * insetbibitem.C (priv_dispatch):
996 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
998 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1000 * insettext.C: small refactoring of docbook stuff
1002 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1004 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1005 (priv_dispatch): adjust for operator dispatch_result_t removal
1007 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1008 in a DispatchResult, adjust accordingly.
1009 (priv_dispatch): use strange >= construct... (will be removed later)
1011 * most insets: dispatch_result -> DispatchResult
1013 * insetbase.h: move DispatchResult out to dispatchresult.h
1015 2003-10-27 André Pönitz <poenitz@gmx.net>
1017 * insetpagebreak.[Ch]: new inset for page breaks
1019 * insetline.[Ch]: new inset for vertical lines
1024 2003-10-25 Angus Leeming <leeming@lyx.org>
1026 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1027 new virtual member functions, specialised...
1028 * render_button.h (asButton):
1029 * render_graphic.h (asGraphic):
1030 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1032 * insetexternal.C: use these new functions rather than dynamic_cast.
1033 Various other small simplifications.
1035 2003-10-22 Angus Leeming <leeming@lyx.org>
1037 * insetexternal.[Ch]: add the ability to 'preview' the external file
1040 * insetinclude.C: changes due to the changes in the RenderPreview
1043 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1044 message if the preview image is not available. Only initiate the
1045 loading of the preview from draw(). Ditto, start the monitoring
1046 of an external file from RenderMonitoredPreview::draw.
1048 2003-10-22 Angus Leeming <leeming@lyx.org>
1050 * insetcite.[Ch] (setLoadingBuffer): removed.
1051 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1052 ascertain whether to proceed with the (expensive) task of computing
1053 the natbib-style label. Remove the home-grown hack providing
1054 similar functionality.
1056 2003-10-22 Angus Leeming <leeming@lyx.org>
1058 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1059 class and into an anonymous namespace.
1061 2003-10-22 Angus Leeming <leeming@lyx.org>
1063 * insetcommand.h: remove the display method.
1067 * insetindex.h (InsetPrintIndex):
1068 * insettoc.h: add a display method, returning true.
1070 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1072 * insetcollapsable.h:
1076 * insetinclude.h: (1) finish off the inset display() work;
1077 (2) fix the "is a bit silly" bug (accessing char
1080 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1084 * insetfootlike.h: re-introduce display() for insets,
1085 fixing the various bugs (stretch of line above, math inset
1088 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1090 * insetbase.C (dispatch): new func
1091 (priv_dispatch): new func replaces...
1092 (localDispatch): this, deleted.
1094 * all insets with dispatch modified for new code.
1096 2003-10-15 André Pönitz <poenitz@gmx.net>
1098 * insetcollapsable.[Ch]
1100 * inset.h: re-add some edit(bv, index) method called by undo
1102 2003-10-14 Angus Leeming <leeming@lyx.org>
1104 * insetexternal.[Ch] (view, cache, view_):
1105 * insetgraphics.[Ch] (view, cache, view_):
1106 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1107 (statusChanged): call LyX::cref().updateInset.
1109 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1110 the BufferView cache.
1112 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1115 2003-10-14 Angus Leeming <leeming@lyx.org>
1117 * insetinclude.C (metrics, draw): only draw the preview when previews
1120 2003-10-14 André Pönitz <poenitz@gmx.net>
1122 * insetcollapsable.[Ch]:
1123 * insettabular.[Ch]:
1125 * inset.h: getText() as alternative to getParagraphs()
1127 2003-10-13 Angus Leeming <leeming@lyx.org>
1130 * insetgraphicsParams.C: displayTranslator is now a function.
1132 2003-10-13 Angus Leeming <leeming@lyx.org>
1134 * insetinclude.C: remove #include "PreviewImage.h".
1136 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1138 * ExternalSupport.C:
1139 * ExternalTransforms.C:
1141 * insetbox.h: ws changes only
1143 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1145 * insetinclude.C (localDispatch): do not call
1146 InsetOld::localDispatch, just return UNDISPATCHED
1147 * insetgraphics.C (localDispatch): ditto
1148 * insetcommand.C (localDispatch): ditto
1150 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1152 * inset.h: get rid of RESULT typedef for dispatch_result
1154 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1155 * insetert.[Ch] (localDispatch): ditto
1156 * insettabular.[Ch] (localDispatch): ditto
1161 * insettext.[Ch] (localDispatch): ditto
1164 (moveRightIntern): ditto
1165 (moveLeftIntern): ditto
1168 * updatableinset.[Ch] (localDispatch): ditto
1170 2003-10-12 Angus Leeming <leeming@lyx.org>
1172 * renderbase.h (view, view_): removed.
1173 * renderbase.C: removed.
1174 * Makefile.am: remove render_base.C. The shortest lived file in
1177 * renderbutton.C (draw):
1178 * render_graphic.C (draw): don't cache the BufferView.
1180 * insetabase.h (cache, view): removed.
1182 * inset.h (generatePreview) removed.
1184 * insetcallapsable.[Ch] (cache, view, view_): removed.
1186 * insetcollapsable.C (draw): don't cache the BufferView.
1188 * insetcommand.[Ch] (view): removed.
1190 * insetexternal.[Ch] (cache, view, view_):
1191 * insetgraphics.[Ch] (cache, view, view_):
1192 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1194 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1195 when you have direct access to it. In fact, don't use the cache at all.
1197 2003-10-10 Angus Leeming <leeming@lyx.org>
1199 * insetinclude.C (metrics): use preview_->metrics.
1200 (draw): use preview_->draw.
1202 * render_preview.[Ch] (pimage): removed.
1204 2003-10-10 Angus Leeming <leeming@lyx.org>
1206 * renderers.[Ch]: removed.
1209 * render_button.[Ch]:
1210 * render_graphic.[Ch]:
1211 * render_preview.[Ch]: new files. The first three are split out of
1212 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1213 contains a re-worked InsetInclude::PreviewImpl also.
1215 * Makefile.am: reflect the changed files.
1218 * insetexternal.[Ch]:
1219 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1221 * insetinclude.[Ch]: changes reflecting the change from
1222 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1228 * inseturl.C: add #include "support/std_ostream.h"
1230 2003-10-09 Angus Leeming <leeming@lyx.org>
1232 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1233 to PreviewedInset::previewReady.
1235 2003-10-09 Angus Leeming <leeming@lyx.org>
1237 * insetexternal.[Ch] (statusChanged):
1238 * insetgraphics.[Ch] (statusChanged): make a const member function.
1240 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1243 2003-10-09 Angus Leeming <leeming@lyx.org>
1245 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1246 to PreviewedInset's previewReady and removePreview member functions.
1248 2003-10-08 André Pönitz <poenitz@gmx.net>
1250 * insetcollapsable.C:
1251 * insettext.[Ch]: saner 'init' structure
1253 * updatableinset.[Ch]: remove unneeded code
1255 2003-10-08 Angus Leeming <leeming@lyx.org>
1257 Fix doxygen warnings.
1259 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1260 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1262 2003-10-07 Angus Leeming <leeming@lyx.org>
1264 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1265 be applied to InsetExternal.
1267 * Makefile.am: add these new files.
1269 * ExternalTemplate.[Ch]: add a list of available transforms to
1270 class Template and a list of factory functions for transformer classes
1271 that can act on this data to class Format.
1273 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1275 * ExternalSupport.C: Add code to replace transform placeholders
1276 with appropriate output.
1278 2003-10-07 Angus Leeming <leeming@lyx.org>
1280 * ExternalSupport.[Ch]: new files, moving the private member functions
1281 and namespace anon functions out of insetexternal.C to here, so making
1282 it easier to understand what is going on in insetexternal itself.
1284 * Makefile.am: add new files.
1286 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1287 allowing the class to be forward declared. (Also consistent with
1288 all other Params classes.)
1289 (write): moved out of the class. Move this function and those in
1290 namespace anon to ExternalSupport.[Ch].
1292 2003-10-07 Angus Leeming <leeming@lyx.org>
1294 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1295 non-const member function.
1297 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1302 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1304 2003-10-02 André Pönitz <poenitz@gmx.net>
1306 * insettext.C (read): make sure there is at least one par
1307 in the text after reading.
1309 2003-10-01 José Matos <jamatos@lyx.org>
1311 * insetbranch.C (linuxdoc, docbook): minor fix.
1313 2003-10-01 Angus Leeming <leeming@lyx.org>
1315 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1317 * insetexternal.[Ch]: changes due to the introduction of
1318 namespace lyx::external.
1320 2003-09-30 Angus Leeming <leeming@lyx.org>
1322 * insetexternal.[Ch] (Params::read, write): new member functions.
1324 2003-09-25 Angus Leeming <leeming@lyx.org>
1326 * insetexternal.[Ch] (TempName): new (private) nested struct with
1327 fake copy semantics. Enables us to use the generated copy c-tor
1328 in the Params struct.
1329 (Params::templatename, Params::tempname): use accessor functions.
1331 2003-09-25 Angus Leeming <leeming@lyx.org>
1333 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1334 function, returning a const pointer.
1336 2003-09-23 Angus Leeming <leeming@lyx.org>
1338 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1339 store them in a vector, preambleNames.
1341 * insetexternal.C (validate): loop over all preambleNames and call
1342 LaTeXFeatures::addExternalPreamble with each.
1344 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1346 * insetbranch.C: bug fix in branches
1348 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1350 * insetnote.C: small clean-up.
1352 2003-09-19 Angus Leeming <leeming@lyx.org>
1354 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1356 * insetcommand.C (string2params): clear params using the default c-tor.
1358 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1359 InsetInclude::Params. No more data in this struct than in
1360 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1361 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1362 (clone): remove #warning as it's now redundant.
1363 (set): add a 'Buffer const &' arg. Make private.
1364 (loadIfNeeded) move out of the class definition and into namespace anon.
1365 (getMasterFilename, getFileName): ditto.
1367 2003-09-18 Angus Leeming <leeming@lyx.org>
1369 * insetcommand.C (setParams): use the params' copy constructor.
1371 2003-09-18 Angus Leeming <leeming@lyx.org>
1373 * insetinsetbase.h (getLabelList):
1374 * insetinsetcollapsable.[Ch] (getLabelList):
1375 * insetinsetinclude.[Ch] (getLabelList):
1376 * insetinsetlabel.[Ch] (getLabelList):
1377 * insetinsettabular.[Ch] (getLabelList):
1378 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1379 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1381 2003-09-18 Angus Leeming <leeming@lyx.org>
1383 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1384 redundant baggage from yesteryear.
1385 Remove Params::flag as it is redundant; the info is present in
1388 2003-09-18 Angus Leeming <leeming@lyx.org>
1390 * insetinclude.C (latexString): add a Buffer const & arg.
1392 2003-09-18 Angus Leeming <leeming@lyx.org>
1397 * insettext.h: rename EnumLColor as LColor_color.
1399 2003-09-18 Angus Leeming <leeming@lyx.org>
1401 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1402 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1404 2003-09-16 Angus Leeming <leeming@lyx.org>
1406 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1407 set before trying to generate a preview, else we trigger an assert.
1409 2003-09-16 Angus Leeming <leeming@lyx.org>
1411 * insetinclude.C (PreviewImpl::parent): return a const reference.
1413 2003-09-16 Angus Leeming <leeming@lyx.org>
1415 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1417 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1419 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1420 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1422 * insetminipage.C (metrics):
1423 * insetnote.C (metrics):
1424 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1425 access collapsed_ directly.
1427 2003-09-16 Angus Leeming <leeming@lyx.org>
1429 * insetbibitem.C: add #include "lyxfont.h".
1431 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1434 * insetbibtex.C: use namespace alias for lyx::support::os
1436 2003-09-16 Angus Leeming <leeming@lyx.org>
1438 * insetcollapsable.h: remove unused framecolor variable.
1439 Remove #include "LColor.h".
1441 * insetcollapsable.C: remove unused framecolor variable.
1444 * insetcollapsable.C:
1452 Add #include "LColor.h".
1454 2003-09-16 Angus Leeming <leeming@lyx.org>
1456 * insettext.[Ch] (frameColor): new accessor function.
1457 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1463 add #include "LColor.h".
1465 * insetcollapsable.h: add #include "LColor.h"
1466 (for its framecolor member variable).
1468 2003-09-16 Angus Leeming <leeming@lyx.org>
1470 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1472 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1473 rename frame_color as frame_color_. Make private.
1475 * insettext.C: associated changes.
1477 2003-09-16 Angus Leeming <leeming@lyx.org>
1479 * inset.h: store background_color_ as an int, not as an LColor::color to
1480 get LColor.h out of the header file.
1483 * insetlatexaccent.C:
1486 * insetspecialchar.C:
1488 add #include "LColor.h".
1490 2003-09-16 Angus Leeming <leeming@lyx.org>
1492 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1495 2003-09-15 Angus Leeming <leeming@lyx.org>
1497 * inset.[Ch] (setBackgroundColor, backgroundColor):
1498 * insettext.[Ch] (setFrameColor):
1499 pass EnumLColor args, rather than LColor::color ones.
1501 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1511 * insetwrap.C: remove usage of STRCONV
1513 2003-09-15 Angus Leeming <leeming@lyx.org>
1515 * renderers.C (draw):
1516 * insetlatexaccent.C (draw): explicitly define the color passed to
1519 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1521 * insettext.C: remove block causing problems in lockInsetInInset
1522 (mentioned erroneously under Bug #1366)
1524 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1526 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1529 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1531 * several files: change Assert to BOOST_ASSERT
1533 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1535 * insettext.[Ch]: remove drawText[XY]Offset
1537 2003-09-08 Angus Leeming <leeming@lyx.org>
1539 * insetcollapsable.C:
1544 * insetspecialchar.C:
1547 * insettoc.C: remove redundant using directives.
1549 2003-09-07 Angus Leeming <leeming@lyx.org>
1552 * insetspecialchar.h: remove #include "support/std_string.h".
1554 2003-09-06 Angus Leeming <leeming@lyx.org>
1556 * renderers.C: add #include "insets/inset.h"
1558 2003-09-05 Angus Leeming <leeming@lyx.org>
1560 * *.C: strip out redundant #includes. (193 in total.)
1562 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1564 * insets/insetbibtex.[Ch]:
1565 * insets/insetcommand.h:
1566 * insets/insetfloatlist.[Ch]:
1567 * insets/insetinclude.[Ch]:
1568 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1569 of insets like bibtex, include, toc and floatlist to the visible
1570 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1571 up the dialogs. Cursor has to be in front of the inset (i.e.
1572 start of row) for this to function.
1574 2003-09-04 Angus Leeming <leeming@lyx.org>
1576 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1577 structure outside of the Format struct. Format::preambleName refers to
1578 an item in the map of all preamble snippets.
1579 Make use of the new Debug::EXTERNAL flag.
1581 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1582 (validate): Small change due to the changed storage of preamble snippets.
1584 2003-09-04 Angus Leeming <leeming@lyx.org>
1586 * insetgraphics.C: #include "support/os.h"
1588 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1589 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1590 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1592 * insetcollapsable.h:
1594 * insetnote.C: move #include "funcrequest.h" out of the header file.
1596 2003-09-03 Angus Leeming <leeming@lyx.org>
1598 * insetexternal.C (updateExternal):
1599 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1602 2003-09-03 Angus Leeming <leeming@lyx.org>
1604 * insetexternal.C: don't bring namespace lyx::support into the global
1607 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1609 * insetbranch.C: Add Branch: to label
1611 2003-09-02 John Levon <levon@movementarian.org>
1614 * insettext.C: remove cursor.i[xy]()
1616 2003-08-28 Angus Leeming <leeming@lyx.org>
1618 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1619 "sh ", enabling the conversion to be carried out even if the script
1622 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1624 * most files: change to use const Buffer refs
1626 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1628 * insetfootlike.C: whitespace.
1630 2003-08-26 John Levon <levon@movementarian.org>
1634 * insetindex.h: remove remaining mentions of needFullRow()
1636 2003-08-26 André Pönitz <poenitz@gmx.net>
1642 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1644 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1646 * insetbranch.C: Small fix to prevent a crash on loading.
1648 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1653 * insetcollapsable.h:
1655 * insetfloatlist.[Ch]:
1656 * insetfootlike.[Ch]:
1657 * insetinclude.[Ch]:
1663 * insettheorem.[Ch]:
1664 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1665 altogether, putting the logic in metrics/draw in the insets.=20
1666 Draws short single row insets with more or less realistic metrics.
1668 2003-08-19 André Pönitz <poenitz@gmx.net>
1670 * insettext.C: use new RowPainter interface
1672 2003-08-18 John Levon <levon@movementarian.org>
1674 * insetref.C: require amsmath for eqref
1676 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1680 * insetbranch.[Ch]: implements the 'branch inset'
1681 idea. This allows the output of various versions of a document
1682 from a single source version, selectively outputing or suppressing
1683 output of parts of the text.
1684 This implementation contains a 'branch list editor' in a separate
1685 tab of the document settings dialog. Branches are user definable
1686 and have a "display colour" to distinguish them on-screen.
1688 ColorHandler was somewhat cleaned up.
1689 (1) make possible a dynamically growing LColor list by allowing
1690 the graphic context cache to grow along (vector);
1691 (2) eliminate an IMHO unnecessary step in colour allocation.
1693 2003-08-15 André Pönitz <poenitz@gmx.net>
1695 * insettext.[Ch]: adjust after rowlist split
1697 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1699 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1700 rename valign-center to valign-middle;
1701 rename VALIGN_CENTER to VALIGN_MIDDLE
1703 2003-08-11 André Pönitz <poenitz@gmx.net>
1705 * inset.h: remove resizeLyXText
1708 * insetcollapsable.[Ch]:
1710 * insettabular.[Ch]: adjust
1712 * insettext.[Ch]: remove saveLyXTextState,
1713 restoreLyXTextStat, sstate, reinitLyXText
1715 2003-08-07 André Pönitz <poenitz@gmx.net>
1717 * inset.[Ch]: move non-crucial functions out-of-line
1719 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1720 remove duplicated code.
1722 2003-08-05 André Pönitz <poenitz@gmx.net>
1725 * insetcollapsable.[Ch]:
1735 * insettabular.[Ch]:
1738 * updatableinset.[Ch]: rip out "deep update"
1740 * insettext.C (localDispatch): merge cases with default branch
1742 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1744 * insettabular.[Ch] (updateLocal): simplify logic
1746 2003-08-04 André Pönitz <poenitz@gmx.net>
1748 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1749 is 'FULL' all the time.
1751 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1753 * insetert.C (get_new_label): only add ... to the (closed) label
1754 when the string has been shortened
1756 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1758 * Always use std::endl with lyxerr
1760 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1762 * insetnote.C: update \author list
1764 2003-07-31 André Pönitz <poenitz@gmx.net>
1766 * insetcollapsable.h:
1767 * insettabular.[Ch]:
1768 * insettext.[Ch]: remove toggleSelection
1770 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1772 (with help from Juergen Spitzmueller)
1773 * insetnote.C: add add i18n support. Use Prefs-definable
1774 colours for Comment and Greyedout.
1776 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1778 * insetcollapsable.[Ch]:
1780 * insetert.C: factor out the detection of clicking on the inset
1781 button as 'hitButton'. John Levon contributed.
1783 2003-07-30 André Pönitz <poenitz@gmx.net>
1785 * insetcollapsable.C:
1787 * insettabular.C: parantheses, localize vars etc.
1789 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1791 * insetnote.C: Implement a newenvironment in preamble for
1792 greyedout. Patch provided by Jürgen Spitzmüller.
1794 2003-07-29 Angus Leeming <leeming@lyx.org>
1796 * insetcommand.C (localDispatch): default to
1797 InsetOld::localDispatch.
1799 * insetbibitem.C (localDispatch):
1800 * insetbibtex.C (localDispatch): remove call to
1801 ChangeCitationsIfUnique.
1803 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1805 * insetexternal.C (read): use pushpophelper.
1807 2003-07-28 José Matos <jamatos@lyx.org>
1809 * insetext.C (read): \end_document replaces \the_end.
1811 2003-07-28 José Matos <jamatos@fep.up.pt>
1813 * insetert.C (write): \layout -> \begin_layout.
1814 Add missing \end_layout.
1816 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1818 * insetquotes.C: document a bit the format
1820 * insettabular.C (write): remove extra space
1822 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1823 * insetnote.C: Umpf. Hope I *now* get it right :-(
1825 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1826 *insetnote.C: did the right fix to greyedout: \color
1827 instead of \textcolor.
1829 2003-07-28 Angus Leeming <leeming@lyx.org>
1831 * insetbibtex.h: remove extraneous forward declaration.
1834 * insetbibtex.h: Also remove long-dead Holder member class
1837 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1839 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1842 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1844 * insetwrap.C (addToToc): adjust for lyx::toc
1846 * insetfloatlist.C (ascii): adjust for lyx::toc
1848 * insetfloat.C (addToToc): adjust for lyx::toc
1850 2003-07-27 José Matos <jamatos@fep.up.pt>
1852 * insetnote.h (linuxdoc,docbook): update support.
1854 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1856 * insetfloat.C (wide): add a space to label, for consistency
1858 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1860 * insettext.C (nextChange): adjust for lyx::find
1861 (searchForward): ditto
1862 (searchBackward): ditto
1864 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1866 * insetgraphicsParams.C:
1867 * insetexternal.C: declare extern displayTranslator
1870 * renderers.C: add #include "support/LAssert.h"
1872 2003-07-27 José Matos <jamatos@fep.up.pt>
1874 * insetfloat.[Ch] (linuxdoc):
1875 * insetgraphics.C (linuxdoc):
1876 * insettabular.C (linuxdoc):
1877 * insettext.[Ch] (linuxdoc): add support for tables and figures
1880 2003-07-27 José Matos <jamatos@fep.up.pt>
1882 * insetinclude (latex): comply with makeLaTeXFile argument change.
1884 2003-07-26 Asger Alstrup <alstrup@local>
1886 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1887 the undo crashes. We'll see what problems other places this will
1890 2003-07-26 Angus Leeming <leeming@lyx.org>
1892 * insetgraphics.C: remove unused declaration of system_tempdir.
1894 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1896 * rename Inset to InsetOld
1898 * all inset files (clone): return a auto_ptr<InsetBase>
1900 2003-07-23 Angus Leeming <leeming@lyx.org>
1902 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1904 2003-07-23 Angus Leeming <leeming@lyx.org>
1906 * mailinset.[Ch] (inset2string):
1907 * insetcommand.[Ch] (inset2string):
1908 * insetert.[Ch] (inset2string):
1909 * insetexternal.[Ch] (inset2string):
1910 * insetfloat.[Ch] (inset2string):
1911 * insetgraphics.[Ch] (inset2string):
1912 * insetinclude.[Ch] (inset2string):
1913 * insetminipage.[Ch] (inset2string):
1914 * insetnote.[Ch] (inset2string):
1915 * insettabular.[Ch] (inset2string):
1916 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1918 * insetexternal.[Ch]:
1919 * insetgraphics.[Ch]: get rid of the view() function. Associated
1920 changes to the mailers' string2params and params2string functions.
1922 2003-07-23 Angus Leeming <leeming@lyx.org>
1924 * insetexternal.[Ch]: store the external file name in a FileName
1925 member variable rather than a string + associated changes.
1927 2003-07-21 Angus Leeming <leeming@lyx.org>
1929 * insetgraphicsParams.[Ch]: store the graphics file name in
1930 a FileName member variable rather than a string.
1932 * insetgraphics.[Ch]:
1933 * insetgraphicsParams.[Ch]: Associated changes.
1935 2003-07-21 Angus Leeming <leeming@lyx.org>
1937 * insetgraphics.[Ch] (string2params, params2string): passed a
1938 buffer_path argument.
1941 2003-07-21 Angus Leeming <leeming@lyx.org>
1944 * insetgraphicsParams.[Ch]:
1946 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1948 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1950 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1952 2003-07-18 André Pönitz <poenitz@gmx.net>
1955 * insetminipage.[Ch]:
1956 * insettabular.[Ch]:
1959 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1961 2003-07-18 André Pönitz <poenitz@gmx.net>
1965 * insetcollapsable.C:
1969 * insetgraphics.[Ch]:
1970 * insetlatexaccent.[Ch]:
1975 * insetspecialchar.C:
1976 * insettabular.[Ch]:
1978 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1980 2003-07-17 André Pönitz <poenitz@gmx.net>
1982 * insetcollapsable.C:
1984 * insettext.C: don't call Inset::update() anymore
1987 * insettabular.[Ch]: remove unneeded in_update_ members
1989 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1991 2003-07-16 André Pönitz <poenitz@gmx.net>
1993 * insettext.C (selectAll): remove
1995 2003-07-16 John Levon <levon@movementarian.org>
1998 * insetnote.C: implement showInsetDialog()
2000 2003-07-15 André Pönitz <poenitz@gmx.net>
2003 * insettext.C: refresh_status tristate -> need_update bool
2005 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2007 * insettext.C: adjust call to LyXText::init
2009 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2011 * insettext.C: use bufferview_funcs->replaceSelection()
2012 to delete selections in some cases (bugs 441, 673, 702, 954).
2014 2003-07-14 André Pönitz <poenitz@gmx.net>
2016 * insettext.C (draw): use slimmed down rowpainter interface
2018 2003-07-14 André Pönitz <poenitz@gmx.net>
2020 * insetcollapsable.C:
2022 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2023 remove unused BufferView * argument
2025 2003-07-14 André Pönitz <poenitz@gmx.net>
2027 * insettext.[Ch]: used cached metrics a bit more
2029 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2031 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2033 2003-07-10 André Pönitz <poenitz@gmx.net>
2036 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2038 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2040 * introduce namespace lyx::graphics
2042 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2044 * introduce namespace lyx::support
2046 2003-06-30 André Pönitz <poenitz@gmx.net>
2048 * insetcite.C (localDispatch): fix case of missing return value
2050 * insetcite.C (ascii): remove unneeded temporary
2052 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2054 * insetspace.h: fix \file
2056 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2057 * insetinclude.C (fillWithBibKeys): ditto
2059 * insetbibitem.C: fix type const order
2061 * inset.C (getLyXText): add varname for arg
2063 * ExternalTemplate.h: fix type const order
2065 2003-06-27 André Pönitz <poenitz@gmx.net>
2067 * insettext.C: take care of removed LyXCursor::row_ member
2069 * insettext.[Ch]: use new TextCursor struct for sstate
2071 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2073 * inseterror.[Ch]: removed
2075 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2077 * insetinclude.C (docbook): use parseError instead of sgmlError
2079 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2081 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2082 of BufferList::loadLyXFile
2084 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2086 * insettext.C (update): simplify
2087 (updateLocal): remove commented code
2088 (insetUnlock): simplify
2089 (lockInset): simplify
2090 (updateInsetInInset): simplify
2091 (localDispatch): simplify
2093 (resizeLyXText): simplify
2094 (collapseParagraphs): simplify
2096 * insetert.C (get_new_label): simplify
2098 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2100 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2101 pasteSelection with index
2103 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2105 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2107 2003-06-16 André Pönitz <poenitz@gmx.net>
2109 * insetbase.h: new virtual base function clone()
2111 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2112 Inset * clone() -> InsetBase * clone()
2114 2003-06-13 André Pönitz <poenitz@gmx.net>
2116 * insettabular.[Ch]: make tabular a proper member
2118 2003-06-12 André Pönitz <poenitz@gmx.net>
2120 * insettabular.[Ch]: some renaming plus whitespace
2122 2003-06-11 Angus Leeming <leeming@lyx.org>
2124 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2127 * insetbutton.[Ch]: removed.
2128 * graphicinset.[Ch]: renamed as renderers.[Ch].
2130 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2131 Create a new class ButtonRenderer using the InsetButton::metrics() and
2133 Derive both from a common RenderedInset base class.
2135 * insetcommand.[Ch]:
2136 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2137 Give it a ButtonRenderer member variable. Use it.
2138 Give the classes working copy c-tors.
2139 No longer derive from boost::noncopyable.
2141 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2142 display its contents as a button or as a graphic.
2144 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2147 2003-06-11 Angus Leeming <leeming@lyx.org>
2149 * insetcite.C (localDispatch): reformat.
2151 * insetref.C (localDispatch): enable dialog to be lauched.
2153 2003-06-11 John Levon <levon@movementarian.org>
2155 * insettabular.C: correctly mark all cells as erased
2157 2003-06-11 Angus Leeming <leeming@lyx.org>
2159 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2160 ExternalTemplate but its name, templatename. This means that a file
2161 containing a reference to an External Template not installed on the
2162 current machine will be saved retaining this info rather than inserting
2163 the first "valid" template from the list of templates.
2165 As a by product, the visual statement that the Template is missing is
2168 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2170 * insettext.C (appendParagraphs): remove some commented code.
2172 2003-06-10 Angus Leeming <leeming@lyx.org>
2174 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2177 * insetexternal.[Ch]: move tempname_ into the Params struct.
2178 (Params d-tor): new function, to clean-up this temp file.
2179 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2181 (editExternal, doSubstitution): move out of class.
2183 2003-06-10 Angus Leeming <leeming@lyx.org>
2185 * graphicinset.[Ch] (params): removed.
2186 * graphicinset.h (operator=): declared private but not defined.
2187 (statusMessage): made private.
2189 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2191 2003-06-07 John Levon <levon@movementarian.org>
2193 * insetert.C (latex): make a newline mean just that not
2196 2003-06-07 José Matos <jamatos@fep.up.pt>
2198 * insethfill.[Ch] (linuxdoc, docbook): implement output
2199 * insetspace.C (linuxdoc, docbook): remove coments as the code
2202 2003-06-06 José Matos <jamatos@fep.up.pt>
2204 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2206 2003-06-06 André Pönitz <poenitz@gmx.net>
2208 * insetwrap.[Ch]: code compactification
2210 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2212 * mailinset.C (updateDialog): use Dialogs::visible
2214 2003-06-04 Angus Leeming <leeming@lyx.org>
2216 * graphicinset.C (draw): add a comment for the #if 0 block.
2218 * insetexternal.h: remove Params::parameters variable.
2219 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2220 and read it back making full use of LyXLex.
2222 2003-06-04 André Pönitz <poenitz@gmx.net>
2224 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2226 2003-06-04 John Levon <levon@movementarian.org>
2228 * insettabular.C: back out tall table speed up. It was broken
2230 2003-06-03 Angus Leeming <leeming@lyx.org>
2232 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2233 Remove ViewCommand and UpdateCommand.
2235 * graphicinset.C (update): bug fix. Set the params before calling the
2237 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2238 BufferView cache to enable the InsetExternal::editCommand to be invoked
2239 from the frontends. Would not be needed if this were dispatched properly.
2240 (old_ascent_): variable removed.
2242 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2243 do any necessary conversions of external material. Also use the
2244 new GraphicsInset to display the inset within LyX.
2246 2003-06-03 Angus Leeming <leeming@lyx.org>
2248 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2249 and move it somewhere where InsetExternal can use it too.
2251 * Makefile.am: add the new files.
2253 * insetgraphics.[Ch]: make use of the new GraphicInset.
2255 2003-06-03 John Levon <levon@movementarian.org>
2258 * insetbibitem.[Ch]:
2261 * insetcommand.[Ch]:
2265 * insetexternal.[Ch]:
2269 * insetgraphics.[Ch]:
2271 * insetinclude.[Ch]:
2274 * insetlatexaccent.[Ch]:
2275 * insetmarginal.[Ch]:
2276 * insetminipage.[Ch]:
2283 * insetspecialchar.[Ch]:
2284 * insettabular.[Ch]:
2286 * insetthereom.[Ch]:
2289 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2291 * insetgraphics.[Ch]:
2292 * insetgraphicsParams.[Ch]: always store an absolute
2295 2003-06-02 André Pönitz <poenitz@gmx.net>
2299 * insetlatexaccent.C: remove duplicated call to metrics()
2301 2003-06-02 John Levon <levon@movementarian.org>
2303 * insettabular.C: fix resize of column width
2305 2003-06-02 John Levon <levon@movementarian.org>
2310 * insetparent.C: remove insetparent
2312 2003-06-02 André Pönitz <poenitz@gmx.net>
2319 * insetcollapsable.[Ch]:
2323 * insetgraphics.[Ch]:
2324 * insetinclude.[Ch]:
2325 * insetlatexaccent.[Ch]:
2326 * insetminipage.[Ch]:
2327 * insetnewline.[Ch]:
2330 * insetspecialchar.[Ch]:
2331 * insettabular.[Ch]:
2332 * insettext.[Ch]: unify first drawing phase
2335 * insetbase.h: move validate() to the base
2337 2003-05-31 Angus Leeming <leeming@lyx.org>
2339 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2341 2003-05-30 André Pönitz <poenitz@gmx.net>
2346 * insetcaption.[Ch]:
2347 * insetcollapsable.[Ch]:
2350 * insetgraphics.[Ch]:
2351 * insetinclude.[Ch]:
2352 * insetlatexaccent.[Ch]:
2353 * insetnewline.[Ch]:
2356 * insetspecialchar.[Ch]:
2357 * insettabular.[Ch]:
2359 * updatableinset.[Ch]: unify second drawing phase
2361 2003-05-30 John Levon <levon@movementarian.org>
2363 * insetgraphics.C: fix a bformat
2365 2003-05-29 John Levon <levon@movementarian.org>
2367 * insettabular.C: remove unused bufferOwner()
2369 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2371 * insettext.C (lockInsetInInset): adjust
2372 (getLabelList): use const_iterator, adjust
2373 (getInsetFromID): use const_iterator, adjust
2374 (addPreview): use const_iterator, adjust
2376 * insetwrap.C (clone): remove const_cast
2378 * insetnote.C (clone): remove const_cast
2380 * insetminipage.C (clone): remove const_cast
2382 * insetmarginal.C (clone): remove const_cast
2384 * insetfoot.C (clone): remove const_cast
2386 * insetfloat.C (clone): remove const_cast
2388 * insetert.C (clone): remove const_cast
2390 * delete commented same_id functions from a lot of files.
2392 2003-05-28 John Levon <levon@movementarian.org>
2398 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2400 * insetminipage.C: fix metrics (bug 1144)
2402 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2404 * insettext.C (saveLyXTextState): adjust
2405 (restoreLyXTextState): adjust
2408 (unlockInsetInInset): adjust
2409 (localDispatch): adjust
2410 (getLyXText): adjust
2412 * insettabular.C (insertAsciiString): adjust
2414 2003-05-27 André Pönitz <poenitz@gmx.net>
2417 * insetcollapsable.C:
2420 * insetlatexaccent.C:
2425 * insetspecialchar.C:
2427 * insettext.C: dim.w -> dim.wid
2429 2003-05-26 John Levon <levon@movementarian.org>
2431 * insettabular.C: avoid drawing all of a long table
2432 if it's not needed. A big speedup
2434 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2436 * remove same_id from function signatures, adjust
2438 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2440 * insettext.C (InsetText): adjust
2442 (setParagraphData): separate same_id cases, adjust
2443 (appendParagraphs): adjust
2444 (appendParagraphs): adjust
2446 2003-05-23 André Pönitz <poenitz@gmx.net>
2448 * insetbutton.h: whitespace
2450 * insettabular.C: more compact code
2452 * updatableinset.C: remove const_cast
2455 2003-05-23 Angus Leeming <leeming@lyx.org>
2457 * insetexternal.C (write): check how many lines are output.
2458 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2459 if the template has defined it.
2461 2003-05-23 Angus Leeming <leeming@lyx.org>
2463 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2465 2003-05-23 Angus Leeming <leeming@lyx.org>
2467 * insetfoot.C (latex):
2468 * inseturl.C (latex): rename fragile as moving_arg.
2470 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2472 * inseterror.C (localDispatch): comment out unused var.
2474 2003-05-22 Angus Leeming <leeming@lyx.org>
2476 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2477 passed through the LatexRunParams arg.
2479 2003-05-22 Angus Leeming <leeming@lyx.org>
2481 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2482 through the LatexRunParams arg.
2484 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2485 arg rather than through a global var.
2487 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2489 * insetspecialchar.C (dimension): use a string.
2491 2003-05-22 Angus Leeming <leeming@lyx.org>
2493 * insetbibtex.C (latex):
2494 * insetgraphics.C (latex):
2495 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2496 runparams rather than from the buffer itself.
2498 2003-05-22 Angus Leeming <leeming@lyx.org>
2500 * inset*.[Ch] (latex):
2501 passed a LatexRunParams parameter.
2503 * insetgraphics.C (latex): actually use it ;-)
2505 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2507 * insetfloat.C (addToToc): trivial compile fix
2509 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2511 * insettext.[Ch] (paragraph): delete unused function
2513 * insetfloat.C (addToToc): parlist simplfication
2515 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2517 * insetspace.[Ch]: added (new space insets)
2519 * inset.h: handle new space insets
2521 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2523 * insetfloat.C (addToToc): adjust
2525 2003-05-21 André Pönitz <poenitz@gmx.net>
2527 * insettext.[Ch]: fix drawing bug introduced earlier
2529 2003-05-19 André Pönitz <poenitz@gmx.net>
2531 * insetspecialchar.C: fix bug introduced yesterday
2533 2003-05-19 André Pönitz <poenitz@gmx.net>
2537 * insetcollapsable.[Ch]:
2541 * insetgraphics.[Ch]:
2542 * insetgraphicsParams.[Ch]:
2543 * insetlatexaccent.[Ch]:
2544 * insetminipage.[Ch]:
2545 * insetnewline.[Ch]:
2547 * insetspecialchar.[Ch]:
2548 * insettabular.[Ch]:
2549 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2551 2003-05-19 André Pönitz <poenitz@gmx.net>
2554 * insettext.C: more insetenv
2556 2003-05-16 André Pönitz <poenitz@gmx.net>
2559 * insetminimpage.[Ch]:
2560 * insetcollapsable.[Ch]: fix #832
2562 2003-05-16 André Pönitz <poenitz@gmx.net>
2565 * insetbibitem.[Ch]:
2569 * insetcollapsable.[Ch]:
2570 * insetcommand.[Ch]:
2573 * insetexternal.[Ch]:
2574 * insetfloatlist.[Ch]:
2575 * insetgraphics.[Ch]:
2576 * insetinclude.[Ch]:
2579 * insetlatexaccent.[Ch]:
2582 * insettabular.[Ch]:
2586 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2588 2003-05-13 André Pönitz <poenitz@gmx.net>
2591 * insetcollapsable.C:
2595 * insetwrap.C: tostr from own header
2607 * insetwrap.C: STRCONV
2610 2003-05-12 André Pönitz <poenitz@gmx.net>
2622 * insetwwrap.C: boost::format -> bformat all over the place
2624 2003-05-05 André Pönitz <poenitz@gmx.net>
2626 * insettext.h: add missing #include <map>
2628 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2630 * insettext.C (InsetText): parlist cleanup
2633 (insetUnlock): ditto
2635 (lockInsetInInset): ditto
2639 (searchBackward): ditto
2640 (collapseParagraphs): ditto
2642 2003-05-06 John Levon <levon@movementarian.org>
2644 * insetcaption.C: don't cast wrap inset to InsetFloat
2647 * insetfloat.C: remove unneeded type() function
2649 2003-05-05 André Pönitz <poenitz@gmx.net>
2653 * insettabular.[Ch]:
2654 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2655 replace getFirstParagraph() by getParagraphs()
2657 2003-05-03 John Levon <levon@movementarian.org>
2659 * insetcollapsable.h:
2660 * insetcollapsable.C:
2666 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2667 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2668 getCursor(). Remove explicit cursor hides.
2670 2003-05-02 André Pönitz <poenitz@gmx.net>
2672 * insettext.C: remove unneeded &*
2674 2003-04-30 John Levon <levon@movementarian.org>
2676 * insettabular.C: fix edit message
2678 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2680 * insettext.C (setFont): do not convert iterator -> pointer
2682 * insettabular.C (localDispatch): do not convert iterator -> pointer
2684 (tabularFeatures): ditto
2686 2003-04-29 André Pönitz <poenitz@gmx.net>
2688 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2690 2003-04-28 André Pönitz <poenitz@gmx.net>
2692 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2695 2003-04-25 André Pönitz <poenitz@gmx.net>
2697 * insetenv.C: derive from InsetText instead of InsetCollapsable
2699 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2701 * insetexternal.C (string2params): dont do anything if the string
2703 * insetgraphics.C (string2params): ditto
2704 * insetcommand.C (string2params): ditto
2705 * insetert.C (string2params): ditto
2706 * insetfloat.C (string2params): ditto
2707 * insetinclude.C (string2params): ditto
2708 * insetminipage.C (string2params): ditto
2709 * insettabular.C (string2params): ditto
2710 * insetwrap.C (string2params): ditto
2712 2003-04-24 André Pönitz <poenitz@gmx.net>
2714 * insetref.C: support for eqref
2716 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2718 * insetert.C (read): use ParagraphList::iterator.
2720 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2722 * insetquotes.C (latex): comment some code and add warnings.
2724 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2726 * insetexternal.C (localDispatch): added a missing DISPATCHED
2728 2003-04-12 John Levon <levon@movementarian.org>
2730 * insetwrap.C (addToToc): fix a crash, conversion
2731 from while to for loop forgot to remove the explicit
2734 2003-04-10 John Levon <levon@movementarian.org>
2736 * insettabular.C (tabularFeature): make sure
2737 to update the dialog when we change something
2740 (getStatus): don't disable some lfuns (bug 939)
2742 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2744 * insettext.C (saveLyXTextState): adjust
2745 (localDispatch): adjust
2751 * insettabular.C (localDispatch): adjust
2753 (tabularFeatures): adjust
2755 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2757 * insettabular.C (searchForward,searchBackward): fix bug 782
2759 2003-04-07 John Levon <levon@movementarian.org>
2762 * insettext.C: clear status message on inset exit
2764 2003-04-03 John Levon <levon@movementarian.org>
2766 * insetcommand.C: return dispatched on DIALOG_UPDATE
2768 2003-04-02 John Levon <levon@movementarian.org>
2770 * insettabular.C: tab lfuns renamed
2772 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2774 * insettext.C (update): move towards ParagraphList
2775 (updateLocal): ditto
2777 (insetUnlock): ditto
2779 (lockInsetInInset): ditto
2780 (updateInsetInInset): ditto
2781 (localDispatch): ditto
2784 (resizeLyXText): ditto
2785 (searchBackward): ditto
2786 (collapseParagraphs): ditto
2789 * insetwrap.C (InsetWrap): adjust
2790 (addToToc): adjust and rewrite loop
2792 * insettext.[Ch] (paragraph): delete function
2794 * insettabular.C (moveNextCell): adjust
2795 (movePrevCell): adjust
2796 (insertAsciiString): adjust
2798 * insetfloat.C (InsetFloat): adjust
2801 * insetert.C (InsetERT): adjust
2802 (write): adjust, and rewrite loop
2803 (latex): adjust, and rewrite loop
2804 (linuxdoc): adjust, and rewrite loop
2805 (docbook): adjust, and rewrite loop
2806 (localDispatch): adjust
2807 (get_new_label): adjust
2809 2003-04-01 John Levon <levon@movementarian.org>
2811 From Alfredo Braunstein
2814 * insetbutton.C: add localDispatch()
2816 * insetcommand.C: return DISPATCHED when edit() called
2818 * insettext.C: fix bug 967
2820 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2822 * insettext.C: adjust
2824 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2826 * insettext.C (draw): adjust
2827 (crow): return a RowList::iterator not a Row*
2829 * insetminipage.C (localDispatch): adjust
2831 * insetert.C (localDispatch): adjust
2833 2003-03-31 John Levon <levon@movementarian.org>
2836 * insetgraphicsParams.C: use_gui moved to lyx_gui
2838 2003-03-31 John Levon <levon@movementarian.org>
2840 * insettext.C: Alert fix
2842 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2844 * insettext.C (ascent): adjust for RowList
2847 (getLyXText): adjust
2848 (toggleSelection): adjust
2850 * insetminipage.C (localDispatch): adjust for RowList
2852 * insetert.C (localDispatch): adjust for RowList
2853 (getMaxWidth): adjust for RowList
2855 2003-03-29 John Levon <levon@movementarian.org>
2857 * insetert.C: Alert cleanup
2859 2003-03-29 John Levon <levon@movementarian.org>
2861 * insettabular.C: Alert fix
2863 2003-03-28 John Levon <levon@movementarian.org>
2865 * insetfloat.C: reset label on INSET_MODIFY
2867 2003-03-28 John Levon <levon@movementarian.org>
2869 * insetgraphicsParams.C: read subcaptionText as a whole line
2872 2003-03-28 John Levon <levon@movementarian.org>
2874 * insettext.C: remove unused prototypes
2876 2003-03-25 Angus Leeming <leeming@lyx.org>
2878 * insetbibitem.C (localDispatch): repaint the view after modifying
2879 a bibitem inset in case the maximum InsetBibitem width has changed.
2881 2003-03-25 John Levon <levon@movementarian.org>
2884 * insettabular.C: LyXText renamings
2886 2003-03-24 John Levon <levon@movementarian.org>
2888 * insettext.C: remove some dead code. Fix bug 972 and
2889 related by posting a repaint in updateLocal(), and making
2890 the SEL functions set SELECTION.
2892 2003-03-22 John Levon <levon@movementarian.org>
2895 * inset.C: remove no-longer-needed topx_set
2897 * insetcollapsable.h:
2898 * insetcollapsable.C: remove dead code
2901 * insetert.C: rebreak the rows when a possible
2902 change in size is made, and reset the cursor
2905 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2907 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2908 topx_set. Fix drawing errors for clearInset(). Remove
2909 some unnecessary uses of topx, which should die.
2911 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2912 is no longer needed. Replace it with an ugly hack.
2914 2003-03-20 John Levon <levon@movementarian.org>
2917 * insetcollapsable.h:
2918 * insetcollapsable.C:
2926 * insettext.C: remove spurious font parameter
2927 from update(). Fix drawing of ERT insets inside
2928 insets (bug 966). Remove unused mark_dirty from
2929 tabular's updateLocal()
2931 2003-03-19 John Levon <levon@movementarian.org>
2940 * insetwrap.C: remove unused getter/setters
2942 2003-03-19 John Levon <levon@movementarian.org>
2944 * several files: bv->updateInset() doesn't take
2945 a bool mark_dirty any more
2947 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2949 * adjust for BufferView* arg removal from lyxtext.
2951 2003-03-17 John Levon <levon@movementarian.org>
2953 * most files: remove the "cleared" parameter
2954 to draw in favour of always clearing. Associated
2957 2003-03-16 John Levon <levon@movementarian.org>
2959 * insettext.C: remove unused s.refresh
2961 2003-03-13 Angus Leeming <leeming@lyx.org>
2963 * insettext.C (edit): replace Dialogs::updateParagraph with
2964 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2966 2003-03-13 André Pönitz <poenitz@gmx.net>
2968 * Makefile.am: insert insetenv
2970 * insethenv.[Ch]: new files, currently inactive
2972 2003-03-12 John Levon <levon@movementarian.org>
2982 * insettext.C: use new insetnewline
2984 2003-03-12 John Levon <levon@movementarian.org>
2986 * insettext.C: readToken became readParagraph
2988 2003-03-12 John Levon <levon@movementarian.org>
2990 * insettext.C: use parlist iterator for reading contents
2992 2003-03-12 John Levon <levon@movementarian.org>
2994 * insettext.C: name change to readToken()
2996 2003-03-11 André Pönitz <poenitz@gmx.net>
2998 * Makefile.am: insert insethfill
3000 * insethfill.[Ch]: new files
3002 2003-03-10 Angus Leeming <leeming@lyx.org>
3004 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3006 (hideDialog): calls the new static Dialogs::hide() method.
3008 * insetbibitem.C (edit):
3009 * insetbibtex.C (edit):
3010 * insetcite.C (edit):
3011 * insetcommand.C (localDispatch):
3012 * inseterror.C (d-tor):
3013 * insetert.C (showInsetDialog):
3014 * insetexternal.C (localDispatch, edit):
3015 * insetfloat.C (localDispatch, showInsetDialog):
3016 * insetfloatlist.C (edit):
3017 * insetgraphics.C (localDispatch, edit):
3018 * insetinclude.C (localDispatch, edit):
3019 * insetindex.C (edit):
3020 * insetlabel.C (edit):
3021 * insetminipage.C (localDispatch, showInsetDialog):
3022 * insetref.C (edit):
3023 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3024 resetPos, showInsetDialog, openLayoutDialog):
3025 * insettoc.C (edit):
3026 * inseturl.C (edit):
3027 * insetwrap.C (localDispatch, showInsetDialog):
3028 changes due to the changed MailInset interface.
3030 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3032 * insetfloat.h: Set default placement to an empty string.
3034 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3036 * insettext.C (latex): adjust call to latexParagraphs.
3038 2003-03-10 Angus Leeming <leeming@lyx.org>
3040 * mailinset.C: warn the user if the BufferView has not been cached.
3042 2003-03-10 Angus Leeming <leeming@lyx.org>
3044 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3046 * insetcommand.h (inset):
3047 * insetert.h (inset):
3048 * insetexternal.h (inset):
3049 * insetfloat.h (inset):
3050 * insetgraphics.h (inset):
3051 * insetinclude.h (inset):
3052 * insetminipage.h (inset):
3053 * insettabular.h (inset):
3054 * insetwrap.h (inset):
3055 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3057 2003-03-10 Angus Leeming <leeming@lyx.org>
3059 * insetcommand.C (string2params):
3060 * insetexternal.C (string2params):
3061 * insetfloat.C (string2params):
3062 * insetgraphics.C (string2params):
3063 * insetinclude.C (string2params):
3064 * insetminipage.C (string2params):
3065 * insettabular.C (string2params):
3066 * insetwrap.C (string2params): cure warning message about missing
3069 2003-03-09 Angus Leeming <leeming@lyx.org>
3071 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3072 it to communicate with the frontend dialogs.
3074 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3075 contents of this inset!
3077 2003-03-07 Angus Leeming <leeming@lyx.org>
3079 * inseterror.C (localDispatch): new method; calls edit() on
3082 2003-03-07 Angus Leeming <leeming@lyx.org>
3084 * insetbibitem.C (localDispatch):
3085 * insetbibtex.C (localDispatch):
3086 * insetlabel.C (localDispatch):
3087 rewrite as a switch.
3089 2003-03-07 Angus Leeming <leeming@lyx.org>
3091 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3092 it to communicate with the frontend dialogs.
3094 2003-03-07 Angus Leeming <leeming@lyx.org>
3096 * insetexternal.C: remove operator== and operator!= for
3097 InsetExternal::Params. They were used only by the old controller
3100 2003-03-07 Angus Leeming <leeming@lyx.org>
3102 * insetcommand.C (localDispatch):
3103 * insetexternal.C (localDispatch):
3104 * insetfloat.C (localDispatch):
3105 * insetinclude.C (localDispatch):
3106 * insetminipage.C (localDispatch):
3107 * insetwrap.C (localDispatch):
3108 add LFUN_INSET_DIALOG_UPDATE to the switch.
3110 2003-03-07 Angus Leeming <leeming@lyx.org>
3112 * insetcommand.C (string2params):
3113 * insetexternal.C (string2params):
3114 * insetfloat.C (string2params):
3115 * insetinclude.C (string2params):
3116 * insetwrap.C (string2params): use LyXLeX more.
3119 * insetexternal.[Ch]:
3121 * insetinclude.[Ch]:
3122 * insetwrap.[Ch]: change Mailer::name_ to be static.
3124 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3125 it to communicate with the frontend dialogs.
3127 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3130 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3132 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3134 * insettext.C (updateLocal): un-const function
3135 (updateLocal): adjust
3136 (collapseParagraphs): un-const function
3137 (collapseParagraphs): adjust
3139 2003-03-05 Angus Leeming <leeming@lyx.org>
3141 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3142 it to communicate with the frontend dialogs.
3144 2003-03-05 Angus Leeming <leeming@lyx.org>
3146 * insetcollapsable.C (draw): cache the BufferView.
3148 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3149 it to communicate with the frontend dialogs.
3151 2003-03-05 Angus Leeming <leeming@lyx.org>
3153 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3156 2003-03-05 Angus Leeming <leeming@lyx.org>
3158 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3160 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3161 it to communicate with the frontend dialogs.
3163 2003-03-05 Angus Leeming <leeming@lyx.org>
3165 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3166 it to communicate with the frontend dialogs.
3168 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3170 * insettext.C (collapseParagraphs): adjust
3171 (appendParagraphs): make it take a Buffer* instead of a
3172 BufferParams& as arg.
3173 (appendParagraphs): adjust
3175 2003-03-04 Angus Leeming <leeming@lyx.org>
3177 * insetbibitem.C (localDispatch):
3178 * insetbibtex.C (localDispatch):
3179 * insetcommand.C (localDispatch):
3180 * insetert.C (localDispatch):
3181 * insetlabel.C (localDispatch):
3182 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3184 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3186 * insettext.C (latex): adjust for ParagraphList::iterator
3188 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3190 * insetbutton.C (view): adjust for boost 1.30.0
3191 * insetcollapsable.C (view): ditto
3192 * insetgraphics.C (statusChanged): ditto
3194 * insettext.h: move paragraphs to be public.
3196 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3198 * insetnote.[Ch] (InsetNote): remove unused constructor
3200 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3202 * insetgraphics.C: added include "format.h"
3204 2003-02-27 Angus Leeming <leeming@lyx.org>
3206 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3209 2003-02-27 Angus Leeming <leeming@lyx.org>
3211 * insetbibitem.C (localDispatch):
3212 * insetbibtex.C (localDispatch):
3215 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3217 2003-02-26 Angus Leeming <leeming@lyx.org>
3219 * insetbibitem.[Ch] (localDispatch):
3220 * insetbibtex.[Ch] (localDispatch):
3221 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3223 * insetcommand.C (localDispatch):
3224 act only on receipt of LFUN_XYZ_APPLY.
3226 * insetert.C (localDispatch): reformat.
3227 add LFUN_XYZ_APPLY to the switch.
3229 2003-02-26 John Levon <levon@movementarian.org>
3231 * insettext.C: use RowPainter
3233 * inset.h: make helpers take const *
3235 2003-02-26 Angus Leeming <leeming@lyx.org>
3237 * insetcommand.[Ch] (localDispatch): new method.
3239 2003-02-26 Angus Leeming <leeming@lyx.org>
3241 * insetinclude.C (draw): cache the BufferView* using cache not
3242 PreviewImpl::setView
3244 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3246 * insetgraphics.C (draw)
3247 * insetinclude.C (draw): Eliminate also the other argument (owner
3248 inset inset) in the call to PreviewImage::image
3250 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3252 * insetgraphics.C (draw)
3253 * insetinclude.C (draw): Eliminate Buferview argument in call to
3256 2003-02-25 John Levon <levon@movementarian.org>
3258 * insetgraphicsParams.h:
3259 * insetgraphics.C: don't start a load process if
3260 the inset is set to NoDisplay (bug #920)
3262 2003-02-22 John Levon <levon@movementarian.org>
3265 * insetwrap.C: TocItem changed API (bug 913)
3267 2003-02-21 Angus Leeming <leeming@lyx.org>
3269 * insetcollapsable.[Ch] (cache, edit):
3270 * insetbutton.[Ch] (cache, edit): new methods to cache the
3271 BufferView in the draw method.
3273 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3274 simplify comunication between InsetCommand-derived classes and
3277 * insetbibitem.[Ch]:
3281 * insetfloatlist.[Ch]:
3285 * inseturl.[Ch]: small changes to reflect the new interface to the
3288 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3289 other, similar classes.
3291 * Makefile.am: add new files.
3293 2003-02-21 Angus Leeming <leeming@lyx.org>
3295 * updatableinset.h (setView, view): remove.
3296 * inset.h (view, cache): to be replaced by these.
3298 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3301 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3304 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3306 2003-02-21 Allan Rae <rae@lyx.org>
3308 * insetinclude.C (loadIfNeeded): ensure loading also works when
3309 child document is under version control.
3311 2003-02-17 André Pönitz <poenitz@gmx.net>
3313 * insetbib.[Ch]: Adjust access to bibkeys
3315 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3317 * insetquotes.C (dispString): remove use of acute accent for "'"
3320 2003-02-14 John Levon <levon@movementarian.org>
3322 * insettabular.C: changed method names in tabular.C
3324 2003-02-14 John Levon <levon@movementarian.org>
3328 * insetcollapsable.h:
3329 * insetcollapsable.C:
3333 * insettext.C: remove unused getParFromID()
3335 2003-02-13 John Levon <levon@movementarian.org>
3338 * insettext.C: remove unused beginningofMainBody()
3340 2003-02-08 John Levon <levon@movementarian.org>
3344 * insetcollapsable.h:
3345 * insetcollapsable.C:
3350 add nextChange(). Make allowSpellcheck() const. Add markErased().
3352 * insetert.C: ignore deleted text
3354 * insettabular.C: make sure to keep change tracking working
3357 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3362 * insettext.C: Use error messages with identical spelling and punctuation
3364 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3366 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3368 2002-12-17 Juergen Vigna <jug@lyx.org>
3370 * insettext.C (localDispatch): hopefully fixed cursor up down
3371 movement on leaving other insets.
3373 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3375 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3378 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3380 * insetgraphics.C (prepareFile): do not remove the extension of
3381 the file name if it is not the default extension for the given
3382 format (that is, in latex output, remove extension from foo.eps,
3383 but not from foo.epsi)
3385 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3387 * insettext.C (lfunMouseRelease): hackish solution to the "double
3390 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3392 * insetfloat.C (addToToc): use the floats name not its type
3393 * insetwrap.C (addToToc): ditto
3395 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3397 * insetnote.C (init): make label font smaller
3399 2002-12-04 John Levon <levon@movementarian.org>
3401 * insetinclude.C: ressurect setting of command name
3403 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3405 * insetquotes.C (dispString): disambiguate insert call
3407 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3409 * several files: ws changes
3411 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3413 * insetquotes.C (dispString): use string::insert for prepending a
3416 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3418 * insetparent.C (getScreenLabel): use boost::format
3420 * insetgraphics.C (prepareFile): use boost::format
3423 * insetfloatlist.C (latex): use boost::format
3425 * insetcaption.C (draw): use boost::format
3427 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3429 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3432 2002-11-20 Juergen Vigna <jug@sad.it>
3434 * insettabular.C (resetPos): temporary fix for endless loop in
3435 this function on a redraw.
3437 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3439 * insettabular.C (copySelection): STRCONV
3441 * insetinclude.C (uniqueID): STRCONV
3442 (latexString): ditto
3444 * insetgraphics.C: put VersionNumber inside anon namespace
3445 (createLatexOptions): STRCONV
3447 * insetcommandparams.C: include config.h
3449 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3451 * insetgraphicsParams.C (Write): use lyx::float_equal.
3452 Write height data correctly.
3453 (Read): zero scale when reading height data.
3455 2002-10-30 John Levon <levon@movementarian.org>
3457 * insetfloat.C (addToTOC): recursively traverse all
3458 contents looking for captions (fix #568)
3460 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3462 * insetexternal.C (doSubstitution): do not try to replace
3463 environment variables, this is done when executing the command
3465 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3467 * insetexternal.C (doSubstitution): change order of substitution
3468 to work around ReplaceEnvironmentPath brokenness
3470 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3472 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3474 * insetgraphicsParams.C (init, Write): associated changes
3475 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3476 InsetGraphicsParams::scale.
3478 2002-10-21 John Levon <levon@movementarian.org>
3480 * inset.h: remove unused DISPATCH_RESULT
3482 * insettext.C: sgml open/close tag now in sgml namespace
3484 2002-10-21 Angus Leeming <leeming@lyx.org>
3486 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3487 file path subdir/fig.eps when pasting it into a buffer in a different
3490 2002-10-16 John Levon <levon@movementarian.org>
3492 * insetspecialchar.C: remove \\protected_separator parsing
3494 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3496 * insetquote.C: fix LaTeX output of quotation marks.
3498 2002-10-14 Juergen Vigna <jug@sad.it>
3500 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3501 Backspace functions which confused the Undo handling.
3503 2002-10-09 Angus Leeming <leeming@lyx.org>
3505 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3506 BufferView::dispatch that turns off this optimisation when a new inset
3509 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3510 reload the BibTeX keys.
3512 2002-10-11 André Pönitz <poenitz@gmx.net>
3514 * insettext.h: handle LFUN_PRIOR/NEXT
3516 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3518 * insetfloat.C: fix bug with float settings
3519 (document default != float default).
3521 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3523 * insetwrap.C (addToToc): New method.
3524 (InsetWrap): Set layout to caption.
3526 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3528 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3530 2002-09-16 John Levon <levon@movementarian.org>
3532 * insettabular.h: hasSelection() needs to be public
3534 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3536 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3538 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3540 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3542 2002-09-11 André Pönitz <poenitz@gmx.net>
3544 * insettabular.C: implement LFUN_WORDSEL
3546 2002-09-10 John Levon <levon@movementarian.org>
3548 * insetinclude.h: remove unused param
3550 2002-09-09 John Levon <levon@movementarian.org>
3553 * insetinclude.C: remove noload, default to input
3555 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3557 * insetgraphics.C: disfuscated use of ']' in built output string.
3559 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3561 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3563 2002-08-29 Juergen Vigna <jug@sad.it>
3565 * insettabular.C (lfunMousePress): Pay attention where you set
3566 the x/y values as they depend on which inset in the tabular is
3567 actually locked. So you surely have to reset them if you (un)lock
3570 2002-08-29 André Pönitz <poenitz@gmx.net>
3572 * insetfootlike.h: rename include guard to ALL CAPS
3574 * insettext.C: swap object and first parameter for checkInsetHit calls
3575 as this functions has moved from BufferView to LyXText
3578 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3580 * insetgraphicsParams.C: remove local displayTranslator and use
3581 the one from graphics/GraphicsTypes.h.
3583 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3585 * insetfloat.C (wide): add BufferParams parameter
3587 * insetfloatlist.C (read):
3590 * insetfloat.C (latex):
3592 * insetcaption.C (draw): use LyXTextClass::floats()
3594 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3596 * insetoptarg.h: add std:: qualifier.
3598 2002-08-26 Juergen Vigna <jug@sad.it>
3600 * insettext.C (localDispatch): ditto.
3602 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3604 2002-08-25 John Levon <levon@movementarian.org>
3606 * inseturl.C: elide long URLs (bug 404)
3608 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3610 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3611 remove "Format Version <version_no.>" string from inset header
3614 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3616 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3617 a member of "grfx::Params" anymore.
3619 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3621 2002-08-24 John Levon <levon@movementarian.org>
3624 * insetoptarg.C: ws, pedantry ...
3626 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3628 * insettext.C (collapseParagraphs): pasteParagraph now in global
3630 (appendParagraphs): ditto
3632 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3634 * insetcite.C (latex): Remove spaces only after commmas.
3636 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3638 * insettext.C: remove NO_COMPABILITY stuff
3640 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3642 * insettext.C (edit): use ParagraphList iterators
3644 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3645 (bibitemWidest): ditto
3647 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * insettext.C: include <boost/bind.hpp>
3650 add using std::for_each
3651 (saveLyXTextState): use ParagraphsList::iterator
3652 (init): use for_each on paragraphlist iterators
3653 (InsetText): remove superflous setting cached_bview to 0
3654 (latex): reformat a bit
3655 (ascii): use paragraphlist iterators
3656 (validate): use for_each + boost bind
3657 (getLabelList): use paragraphlist iterators
3658 (deleteLyXText): use for_each + boost::bind
3659 (resizeLyXText): ditto
3660 (reinitLyXText): ditto
3661 (removeNewlines): use paragraphlist iterators
3662 (getParFromID): ditto
3663 (paragraph): use for_each + boost::bind
3664 (getInsetFromID): use paragraphlist iterators
3665 (getLabelList): typo fix
3667 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3669 * insettext.C (read): assign tmp to paragraphs after return from
3670 call to parseSingleLyXformat2Token
3673 2002-08-13 Angus Leeming <leeming@lyx.org>
3692 changes due to the changed LyXView interface that now returns references
3693 to member variables not pointers.
3695 2002-08-13 Angus Leeming <leeming@lyx.org>
3698 * insetcollapsable.h:
3701 * insettext.h: forward-declare WordLangTuple
3702 (selectNextWordToSpellcheck) constify return type.
3705 * insetcollapsable.C:
3708 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3710 2002-08-12 Angus Leeming <leeming@lyx.org>
3712 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3714 2002-08-12 Juergen Vigna <jug@sad.it>
3716 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3719 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3721 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3722 (bibitemWidest): ditto
3723 * insettext.[Ch]: ditto
3725 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3727 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3729 2002-08-09 Angus Leeming <leeming@lyx.org>
3731 * insetinclude.C (latexString): remove fudge now that I've found out
3732 how to enable LaTeX to find the file using input@path.
3734 2002-08-09 John Levon <levon@movementarian.org>
3737 * insettext.C: remove unused xpos
3739 2002-08-07 Juergen Vigna <jug@lyx.org>
3741 * insettabular.C (localDispatch): make delete not put the stuff
3742 in the clipboard only do this on a cut operation.
3744 * insettext.C (localDispatch): make delete and backspace not put
3745 selected stuff to the clipboard.
3747 2002-08-07 André Pönitz <poenitz@gmx.net>
3750 * insetcollapsable.[Ch]:
3754 * insettabular.[Ch]:
3755 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3757 2002-08-06 John Levon <levon@movementarian.org>
3761 * insetcollapsable.h:
3762 * insetcollapsable.C:
3768 * insettext.C: use WordLangTuple for spellcheck
3770 2002-08-06 Angus Leeming <leeming@lyx.org>
3772 * insetinclude.C: add a monitor to the previewed image, so that the
3773 image is refreshed if the \input-ed file changes.
3775 2002-08-04 John Levon <levon@movementarian.org>
3778 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3780 2002-08-02 Angus Leeming <leeming@lyx.org>
3782 * insetcommandparams.[Ch] (preview): new methods returning and setting
3783 a new bool preview_ flag.
3784 (read): read this flag.
3785 (operator==): add flag to check.
3787 * insetinclude.C (write): output new preview() flag.
3788 (previewWanted): use this flag.
3790 2002-08-02 Angus Leeming <leeming@lyx.org>
3792 * insetcollapsable.[Ch] (addPreview):
3793 * insettabular.[Ch] (addPreview):
3794 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3795 for insets in insets.
3797 2002-08-02 Angus Leeming <leeming@lyx.org>
3799 * insetcite.C: fix typo.
3801 * insetgraphics.C: kill current_view and instead cache the BufferView
3804 * insetinclude.C: kill current_view and pass the BufferView to the
3805 PreviewedInset so that it can cache it.
3807 2002-08-01 Angus Leeming <leeming@lyx.org>
3809 * inset.h (generatePreview): renamed as addPreview.
3810 (generatePreview): new method. Allows code to be moved out of
3811 math_nestinset.C and into the new PreviewedInset class.
3813 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3814 add previews to the inset when \input-ing LaTeX.
3816 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3818 * several files: strip,frontStrip -> trim,ltrim,rtrim
3820 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * insetbib.C (latex): modify because of strip changes
3824 * insetnote.C (InsetNote): ditto
3826 2002-07-26 Juergen Vigna <jug@sad.it>
3828 * insettabular.C (searchForward): check for lastcell if we
3829 had a locking inset.
3831 2002-07-25 Juergen Vigna <jug@sad.it>
3833 * insettabular.C (insetMotionNotify): Don't update the screen
3834 if we didn't do nothing.
3835 (searchForward): last cell was not checked.
3837 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3839 * insetfloat.C (read, write): Allow default placement
3840 (floatPlacement_ is empty).
3842 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3844 * insetminipage.h (noFontChange):
3845 * insettabular.h (noFontChange):
3846 * insetfootlike.h (noFontChange):
3847 * insetfloat.h (noFontChange): return true
3849 * inset.h (noFontChange): new method, defaulting to false
3851 2002-07-22 Herbert Voss <voss@lyx.org>
3853 * insetgraphicsParams.[Ch]: support size_type for old docs
3855 2002-07-22 Herbert Voss <voss@lyx.org>
3858 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3861 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3863 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3865 * insetlatexaccent.h: do not include "lyxlex.h"
3867 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3870 * insetlatexaccent.C:
3874 * insetbib.C: #include "lyxlex.h"
3880 * insettext.C: use BufferParams::getLyXTextClass
3883 * insetfloat.C (addToToc): new method. Add to toclist the entries
3884 corresponding to Caption layouts
3885 (InsetFloat): when creating a new float, set the layout to "Caption"
3887 2002-07-21 Herbert Voss <voss@lyx.org>
3889 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3890 image relevant part into graphics/GraphicsImgae.C
3892 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3894 * insettoc.C (ascii):
3895 * insetfloatlist.C (ascii): change to use the new Toc functions
3896 instead of stuff that was in Buffer
3898 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3900 * insettext.C (localDispatch): BufferView::Dispatch has been
3901 renamed to BufferView::dispatch
3903 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3905 * insetgraphicsParams.C (as_grfxParams): use the new
3906 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3907 1.2.0 patch, and I do not really know how to adapt it to the new
3908 grfx::Cache world. Angus, please could you have a look?
3910 2002-05-01 Herbert Voss <voss@lyx.org>
3912 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3914 2002-07-18 Angus Leeming <leeming@lyx.org>
3916 * insetgraphics.C: clean-up comments (from Herbert).
3917 add a new checksum variable to the cache. Use it in PrepareFile.
3918 (draw): start monitoring the file for a change.
3919 (prepareFile): re-arrange a little to avoid unnecessary steps.
3921 2002-07-17 Angus Leeming <leeming@lyx.org>
3923 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3924 a method rather than to the signal directly.
3926 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3928 * insettext.C: use view_state_changed, switchKeyMap
3930 2002-07-17 Herbert Voss <voss@perce.de>
3932 * insetgraphics.C (prepareFile): keep the extension when
3933 exporting to nice file
3935 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3937 * insetcite.C (getNatbibLabel):
3938 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3940 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3942 * insetgraphics.C: use ->isDrawable()
3944 2002-07-12 Angus Leeming <leeming@lyx.org>
3946 * insetgraphics.C: use the new smart loading capabilities of the image
3949 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3951 * insettabular.C (edit): Move into correct cell when entering a
3954 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3957 2002-07-05 Angus Leeming <leeming@lyx.org>
3959 * inset.h (generatePreview): new virtual method.
3961 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3963 * insetcommandparams.[Ch] (operator=): move out of class
3964 (operator!): move out of class
3966 2002-07-04 André Pönitz <poenitz@gmx.net>
3968 * insetcommandparams.[Ch]: new files
3970 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3972 2002-06-15 Herbert Voss <voss@perce.de>
3974 * insetgraphics.C (prepareFile): bugfix; return always
3975 files without extension
3977 2002-06-28 Angus Leeming <leeming@lyx.org>
3979 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3980 rename asGParams -> as_grfxParams.
3982 * insetgraphics.C: reflect above change.
3984 2002-06-26 Angus Leeming <leeming@lyx.org>
3986 * insetgraphics.h: use boost::scoped_ptr in preference to
3989 2002-06-26 Angus Leeming <leeming@lyx.org>
3991 * insetgraphics.C: moved the image loading stuff into a new class
3992 grfx::Loader. Simplifies this file enormously.
3994 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3996 * insetgraphicsParams.C: changes aassociated with moving
3997 grfx::DisplayType out of grfx::GParams.
3999 2002-06-26 André Pönitz <poenitz@gmx.net>
4001 * insetgraphics.C: use os::external_path where necesaary according to a
4002 patch from Claus Hentschel)
4004 2002-06-25 Angus Leeming <leeming@lyx.org>
4006 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4007 generating a pixmap once the graphics file is loaded into memory.
4008 The current_view ugliness that was in grfx::ModifiedImage has been
4009 moved here now that grfx::ModifiedImage is no more.
4011 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4013 * insettext.C: layout as layout
4015 2002-05-28 André Pönitz <poenitz@gmx.net>
4017 * insetfloatlist.h: remove source of compiler warning
4019 * insetref.C: tiny whitespace
4021 2002-06-15 Herbert Voss <voss@perce.de>
4023 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4024 and take always convert when no userdefined converter was
4026 (latex) small changes in the lyxerr output
4028 2002-06-15 LyX Development team <lyx@rilke>
4030 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4031 mixed content. Small white spaces clean.
4033 2002-06-14 Angus Leeming <leeming@lyx.org>
4035 * inseetexternal.C: remove the using std::difftime declaration.
4037 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4039 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4041 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4043 * insetquotes.C (draw): fix drawing of double quotes
4045 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4047 * insettabular.C: s/scrollCB/scrollDocView/
4049 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4051 * insettext.C: change of topCursorVisible()
4054 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4057 * insettext.C: rename/change of LyXScreen
4059 2002-06-07 Angus Leeming <leeming@lyx.org>
4061 Fixes needed to compile with Compaq cxx 6.5.
4063 all c-library variables have been moved into namespace std.
4064 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4066 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4068 * insetinclude.C (uniqueID):
4069 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4070 conflicted with some AIX headers.
4072 2002-05-31 Juergen Vigna <jug@sad.it>
4074 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4078 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4080 * insetexternal.C (clone): fix () bug when using new
4081 (updateExternal): don't only look for difftime in global scope
4083 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4085 * insettabular.C: add const
4087 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4089 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4090 file name, in case there are weird characters like ',' in there.
4093 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4095 * switch from SigC signals to boost::signals.
4097 2002-05-28 André Pönitz <poenitz@gmx.net>
4099 * insets/insetgraphicsParams.[Ch]:
4100 put in inset related stuff from src/graphic
4102 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4110 * insetcollapsable.C:
4111 * insetcollapsable.h:
4139 * inseturl.h: use mouse_state. Kill insetKeyPress
4141 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4146 * insetcollapsable.C:
4149 * insetlatexaccent.C:
4151 * insetspecialchar.C:
4153 * insettext.C: name change for font metrics
4155 2002-05-24 Juergen Vigna <jug@sad.it>
4157 * insetgraphics.h: include inset.h first (for LString.h)
4159 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4161 * insettext.C: screen moved
4163 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4181 * inseturl.C: LyXView moved into frontends/
4183 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4188 * insetcollapsable.C:
4192 * insetgraphicsParams.C:
4193 * insetlatexaccent.C:
4195 * insetspecialchar.C:
4197 * insettext.C: move Painter to frontends/
4199 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4201 * insettabular.h: use more specific smart_ptr header.
4202 * insettext.h: ditto
4204 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4207 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4209 * insettext.C: clear selection on paste (bug 393)
4211 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4213 * insettext.C (latex): Honor the moving_arg argument.
4215 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4217 * insetfoot.C (latex): if a footnote is in a title layout, then it
4218 is a \thanks. And then, its contents is a moving argument.
4220 2002-05-14 Juergen Vigna <jug@sad.it>
4222 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4225 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4227 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4228 when using options "Full author list" or "Upper case".
4230 2002-05-14 Herbert Voss <voss@perce.de>
4232 * insetgraphics.C (prepareFile): allow files with same name
4234 (readFigInset): set the flags from old figinset in the right
4236 (findTargetFormat): more comments
4238 2002-05-14 Juergen Vigna <jug@sad.it>
4240 * insettext.C (edit): tell checkAndActivateInset() that we don't
4241 have a button press.
4242 (checkAndActivateInset): if button < 0 we don't have a button press
4243 on the inset and os we won't call edit on it if it's not a Highly
4244 editable inset (then we have to enter it).
4246 2002-05-13 Juergen Vigna <jug@sad.it>
4248 * insetcollapsable.C (insetButtonRelease): returned wrong return
4251 2002-05-09 Juergen Vigna <jug@sad.it>
4253 * insetcollapsable.C (edit): first_after_edit should only be
4254 set to true if we enter this inset and it was collapsed so we
4255 open it up. This is needed to reclose it after a search/replace
4256 or spellcheck function opened it and was negative.
4258 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4260 * insetfloat.C (latex): Return correct value.
4262 2002-05-04 Herbert Voss <voss@perce.de>
4264 * InsetgraphicsParams.C (read): fix bug with WH
4266 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4268 * insetfloat.C (latex): More sensible latex output
4269 (fix the problem with endfloat).
4271 2002-05-02 José Matos <jamatos@fep.up.pt>
4273 * insetgraphics.C (validate): acess params as everyone else.
4275 2002-05-03 Juergen Vigna <jug@sad.it>
4277 * insettabular.C (fitInsetCursor): recalculate the cursor position
4280 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4282 * InsetgraphicsParams.[Ch]: whitespace.
4284 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4286 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4287 float type do not exist.
4289 2002-04-28 Herbert Voss <voss@perce.de>
4291 * insetgraphics.C (latex): fix bug with missing file-extension.
4292 LaTeX still allows a missing "eps" or "ps".
4294 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4296 * insetfloat.C (c-tor, wide): translate the name of the float.
4298 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4300 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4301 when using natbib and make it work efficiently. Must emphasise that the
4302 real work is Herbert's.
4304 2002-04-23 Herbert Voss <voss@perce.de>
4306 * insetgraphic.C (prepareFile): fix bug with overwriting and
4307 deleting an existing *.eps-file in the doc-dir
4309 2002-04-23 Juergen Vigna <jug@sad.it>
4311 * insettabular.C (drawCellSelection): fix off by 1 error.
4313 2002-04-22 Juergen Vigna <jug@sad.it>
4315 * insettabular.C (setFont): rewoke full selection if it was asked,
4316 after we changed all we had to change.
4318 * insettext.C (insetUnlock): code was uninitialized in some situations.
4320 2002-04-19 Herbert Voss <voss@perce.de>
4322 * insetgraphic.C (prepareFile): return filename without
4323 extension if we only export without compiling
4325 2002-04-19 Juergen Vigna <jug@sad.it>
4327 * insettext.C (draw): call a fullRebreak on the row where we had a
4328 change and reset the cursor and selection-cursors.
4330 * insettabular.C (insetUnlock):
4331 (insetButtonPress): call an update before setting the_locking_inset = 0
4332 as otherwise we don't repaint!
4333 (update): reset the cursor position when we changed dimensions as
4334 otherwise our cursor may be on the wrong spot.
4336 2002-04-18 Juergen Vigna <jug@sad.it>
4338 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4339 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4340 redraw otherwise we won't redraw.
4342 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4343 not really right before, but I only discovered this with the last
4344 changes to Page up/down.
4346 2002-04-17 Juergen Vigna <jug@sad.it>
4348 * insettext.C (checkAndActivateInset): simplified as we now have the
4349 edit(bv, bool) call.
4351 * insettext.h: changed behind variables to front variables to be
4352 equal to the one in the edit call (as it is for that they are used).
4354 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4356 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4357 not output anything at all!
4359 2002-04-16 Juergen Vigna <jug@sad.it>
4361 * insettabular.C (insetButtonPress):
4362 (insetUnlock): call a redraw on unlocking the cell inset.
4364 * insettext.C (insetButtonPress): same as below.
4365 (lockInset): new function to set initial values when inset should
4367 (insetButtonPress): use above function.
4368 (insetUnlock): don't force a repaint only set the updateStatus. The
4369 outside world should repaint if it thinks it should be done!
4371 * insettabular.C (insetButtonPress): init values if not set as locked
4372 as we are locked if someone presses on us and don't call the edit()
4373 call of the InsetText to lock it do it as BufferView does it!
4375 * inset.h (insetInInsetY): make func const and return an int.
4378 * insetcollapsable.C: adapt the above changed function.
4380 2002-04-15 Juergen Vigna <jug@sad.it>
4382 * insettext.C (getCursorPos): return relative position as to be able
4383 to give them directly to the edit() call.
4384 (edit): we have to set also x_fix as it is not set inside the
4385 setCursorFromCoordinates call!
4386 (insetMotionNotify): ditto.
4388 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4390 * insetbib.C (getKeys): strip leading '\t's from the line too.
4391 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4393 2002-04-12 Juergen Vigna <jug@sad.it>
4395 * insettext.h: added cix() helper function and use it where appropriate
4397 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4399 * insetgraphics.C (prepareFile): fix bug when graphics is a
4402 2002-04-12 Juergen Vigna <jug@sad.it>
4404 * insettext.C (insertInset): remove unneeded code!
4405 (updateLocal): fitCursor() fixes.
4406 (collapseParagraphs): fix a possible problem when having a selection
4407 and collapsing the paragraphs.
4409 2002-04-08 Herbert Voss <voss@perce.de>
4411 * insetgraphic.C (write): write the rotating angle as
4412 a float as is. test only for != 0.0
4414 2002-04-11 Juergen Vigna <jug@sad.it>
4416 * insettext.C: new function ciy() and use it for setting inset_y.
4418 * insetert.C (draw): fix the x return for collapsed version.
4420 2002-04-07 Herbert Voss <voss@perce.de>
4422 * insetgraphic.C (readFigInset): fix bug with subcaption and
4425 2002-04-08 Herbert Voss <voss@lyx.org>
4427 * insetgraphicsparam.C: forgot special option and delete old
4430 2002-04-05 Juergen Vigna <jug@sad.it>
4432 * insettext.C (localDispatch): make a CURSOR update if we inserted
4435 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4437 * insetfloatlist.C (getScreenLabel):
4438 (latex): use Floating::listName
4439 (validate): new method
4441 2002-04-03 José Matos <jamatos@fep.up.pt>
4443 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4445 * insetfoot.[Ch] (docbook): added forgotten method.
4447 2002-04-03 Juergen Vigna <jug@sad.it>
4449 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4450 way as in Bufferview_pimpl.
4452 2002-04-03 Allan Rae <rae@lyx.org>
4454 * insetgraphics.C (latex): one % too many makes living on the bleeding
4455 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4457 2002-03-28 Herbert Voss <voss@lyx.org>
4459 * insetgraphic.C (latex): simplify the code for the latex
4460 output when the file doesn't exist
4462 2002-03-29 Juergen Vigna <jug@sad.it>
4464 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4467 * insettabular.C (edit): call fitCursor().
4469 * insettext.C (insetButtonPress): change behaviour of no_selection
4470 to the one in the BufferView selection_possible and fix the spurious
4471 selection bug with it.
4472 (localDispatch): revoke selection on BREAK... functions.
4474 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4476 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4478 2002-03-28 Juergen Vigna <jug@sad.it>
4480 * insettabular.C (insetAllowed): return true as default value otherwise
4481 we're not able to insert insets inside paragraphs of an not locked
4484 2002-03-27 Herbert Voss <voss@lyx.org>
4486 * insetgraphicsparam.C: change c%, p% to col%, page%
4488 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4490 * insetspecialchar.C (isLineSeparator): disable the nice code to
4491 allow linebreaks after hyphenation and menu separators.
4493 2002-03-26 Herbert Voss <voss@lyx.org>
4495 * insetgraphics.C (figinsetRead): set the right lyxview
4497 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4499 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4500 $\backslash$ and pass a "string const &" to the function.
4501 (prepareFile, latex): use Path rather than MakeAbsPath.
4503 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4505 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4506 proper fix to the graphics cache.
4507 (latex): "really" nice output if the file is not found ;-)
4509 2002-03-26 Juergen Vigna <jug@sad.it>
4511 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4512 (collapseParagraphs): fixed inserting of separator ' '
4514 * insettabular.C (insertAsciiString): only check for buffer lenght
4515 not if we have \t or \n inside the buffer as if we don't have we only
4516 have 1 cell and that's it!
4518 * insetert.C (close): don't collapse if inlined.
4520 2002-03-25 Herbert Voss <voss@lyx.org>
4522 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4523 graphics file does not exist.
4525 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4527 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4528 path when preparing export.
4530 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4531 no longer MakeRelPath.
4533 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4535 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4536 Used to determine the absolute path to the graphics file in the
4537 graphics cache and only in the graphics cache.
4538 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4539 make graphics file name absolute if it is stored as a relative path.
4541 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4542 make graphics file name absolute if it is stored as a relative path.
4544 * insettext.C (edit): emit an updateParagraph signal on entering a text
4545 inset. Needs to be emitted when leaving the inset also.
4547 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4549 * all files: ws cleanup
4551 * Makefile.am: remove ld -r stuff
4553 2002-03-21 Juergen Vigna <jug@sad.it>
4555 * insettext.C (appendParagraphs): new function added to append
4556 the paragraphs to this insets paragraphs.
4558 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4560 * Makefile.am: special rules if partial linking
4562 2002-03-19 Juergen Vigna <jug@sad.it>
4564 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4566 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4568 * insetgraphics.C: Clean up Baruch's comments a little.
4569 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4571 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4574 * insettheorem.C: wrap warnings
4576 * insetgraphics.C: improve messages, move cached_status_
4577 setting to safer place
4579 2002-03-18 Juergen Vigna <jug@sad.it>
4581 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4583 (localDispatch): ditto
4585 * insettext.C (edit): removed unneeded showCursor calls.
4586 (localDispatch): ditto.
4588 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4590 * insetgraphics.h: remove display() method.
4592 2002-03-11 Juergen Vigna <jug@sad.it>
4594 * insetgraphics.C (draw): hack to fix the redrawing bug.
4595 (draw): seems this fixes #268 (force redraw of row if we changed).
4597 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4598 this inset text (don't know why I missed this earlier).
4600 2002-03-08 Juergen Vigna <jug@sad.it>
4602 * insettabular.C (updateLocal): do a FULL update if we're not locked
4603 and only a CELL update is asked.
4605 * insettext.C (updateInsetInInset): update insets inside inset also
4606 if it isn't inside the_locking_inset.
4608 * insettabular.C (updateInsetInInset): ditto.
4610 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4612 * insetexternal.C (doSubstitution): check whether we are using a
4613 temp dir for defining $$FPath
4615 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4618 * insettext.C: remove #include "WorkArea.h".
4620 2002-03-06 Juergen Vigna <jug@sad.it>
4622 * insettext.C (draw): fixed frame redrawing.
4623 (clear): forgot to set the inset_owner of the paragraph.
4625 * insetert.C (status): pay attention the bv can be 0 here!
4626 (getMaxWidth): add the default leftMargin
4628 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4630 * insetert.C (getMaxWidth): make w unsigned int.
4632 2002-03-05 Juergen Vigna <jug@sad.it>
4634 * insetert.C (status): change behaviour of Inlined.
4635 (getMaxWidth): added for new inlined behaviour.
4637 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4639 * insetnote.h (linuxdoc, docbook): add empty methods.
4640 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4641 before being initialized.
4643 2002-03-05 Juergen Vigna <jug@sad.it>
4645 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4646 only that one in the inset. Should be enough.
4647 (updateLocal): set the selection cursor always if we don't have a
4648 selection to be sure it's set!
4650 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4652 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4654 * insettext.C (clear): a gross hack to set layout on a newly
4657 2002-03-04 Juergen Vigna <jug@sad.it>
4659 * insettabular.C (localDispatch): inserted handling of
4660 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4661 (insertAsciiString): new helper function.
4663 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4665 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4668 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4670 * insettext.C (InsetText): initalize newly created par with
4671 default layout. add bufferparams parameter
4674 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4675 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4676 * insetert.[Ch] (InsetERT): ditto
4677 * insetfloat.[Ch] (InsetFloat): ditto
4678 * insetfoot.[Ch] (InsetFoot): ditto
4679 * insetfootlike.[Ch] (InsetFootLike): ditto
4680 * insetmarginal.[Ch] (InsetMarginal): ditto
4681 * insetminipage.[Ch] (InsetMinipage): ditto
4682 * insetnote.[Ch] (InsetNote): ditto
4683 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4685 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4687 * insettext.C: layout as string
4689 * insetinclude.C: layout as string
4691 * insetert.C: layout as string
4693 * insetbib.C: layout as string
4695 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4698 * insettabular.C: remove #include "lyx_gui_misc.h".
4700 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4705 * inset.h: remove figinset, yahoo !
4707 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4709 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4710 copy c-tor and initialise member variables in the correct order.
4712 2002-02-28 Juergen Vigna <jug@sad.it>
4714 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4716 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4718 * inset.h: ... and add a better one here.
4720 * insetcommand.C (insetButtonRelease): remove that one which was a
4723 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4725 * insetcommand.C (insetButtonRelease): ... and move it here.
4727 * inseturl.h: remove insetButtonRelease from there...
4729 2002-02-26 Juergen Vigna <jug@sad.it>
4731 * inseturl.h: Added a insetButtonRelease call returning true as
4734 * insetlabel.C (edit): Fixed wrong update handling after change I
4735 leave in the wrong code for the one who wrote it to remove and have
4736 a look what he did wrong.
4738 * insettabular.C (localDispatch): force a SELECTION update if we
4739 had a selection and we passed the event down to the inset (fix #213)
4740 (localDispatch): handle font changing stuff when we have a cell
4741 selection so that the selection is not rewoked. I don't really like
4742 this fix, but it's the only way I see to do it right now.
4744 2002-02-22 Juergen Vigna <jug@sad.it>
4746 * insettext.C (insetUnlock): set the cursor to the second paragraph
4747 if available and if the first one is empty (fix #191).
4749 2002-02-20 Juergen Vigna <jug@sad.it>
4751 * insettext.C (getDrawFont): implemented this function to call the
4752 one of the owner if present as the owner normally knows what to do
4755 * insetert.C: implement getDrawFont() function and comment out all
4756 the crap for setting a special latex font inside this inset.
4757 (InsetERT): added a Lanugage parameter to this constructor.
4759 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4760 change the font for being drawn on screen (used only in InsetERT for
4763 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4764 and also above (was missing).
4765 (updateLocal): don't remove the cell selection if we have one this
4766 should be done where we really want to remove it.
4768 2002-02-20 José Matos <jamatos@fep.up.pt>
4770 * insetinclude.h: include_label made string const.
4772 * insetinclude.C (InsetInclude): moved include_label initialization.
4775 (validate): fix support for temporary directory, for docbook and
4778 * insetgraphics.h : new private member, graphic_label, that holds
4779 the entity name that defines the graphics location (SGML).
4781 * insetgraphics.C (unique_id): new function to give a unique label
4784 (validate): the file locatation is given by an entity reference.
4786 2002-02-18 Herbert Voss <voss@lyx.org>
4788 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4790 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4792 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4793 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4795 2002-02-18 José Matos <jamatos@fep.up.pt>
4797 * insetinclude.C (validate): some code only applies to latex buffers,
4798 it was made conditional.
4800 2002-02-12 Herbert Voss <voss@lyx.org>
4802 * insetgraphics.C: (prepareFile) do not check at this time
4803 if the file is present.
4805 2002-02-12 Herbert Voss <voss@lyx.org>
4807 * insetgraphics.C: latex(), return the correct newlines
4809 2002-02-13 José Matos <jamatos@fep.up.pt>
4811 * inseturl.C (docbook): escape & in url.
4813 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4815 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4816 after HYPHENATION and MENU_SEPARATOR
4818 * inset.h (isLineSeparator): new method, returns false by default.
4820 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4822 * insetert.C (status): do not update the text inset, but the ERT
4825 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4827 * insetnote.C: use notebg for background
4829 2002-02-08 Herbert Voss <voss@lyx.org>
4832 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4833 prevent LyX from unzipping when this should be handled
4834 by latex vis the graphic.cfg.
4837 2002-02-08 Herbert Voss <voss@lyx.org>
4839 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4840 exists, than return filename with extension
4842 2002-02-06 Herbert Voss <voss@lyx.org>
4844 * insetgraphic.C: prepareFile(): don't convert the file, when
4845 it's not viewed in LyX. Saves a lot of time when opening a
4848 2002-02-05 Herbert Voss <voss@lyx.org>
4851 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4852 and adding a rotate bool similiar to subcaption
4854 2002-02-04 Herbert Voss <voss@lyx.org>
4857 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4858 similiar view to the LaTeX one. Get zipped files work.
4860 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4862 * insetgraphicsParams.C (init): set display to DEFAULT.
4863 No longer #include "lyxrc.h".
4865 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4867 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4868 for now (so that the code compiles).
4870 2002-02-02 Herbert Voss <voss@lyx.org>
4872 * insetgraphic.C: delete inVariant() and some minor changes
4873 * insetgraphicsParams.[C]:
4875 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4877 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4878 interogate lyxrc.display_graphics before diaplaying the graphic.
4880 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4881 InsetGraphicsParams::DisplayType.
4883 2002-01-31 Herbert Voss <voss@lyx.org>
4885 * insetgraphic.C: (readfigInset) set display to pref-default
4887 2002-01-30 Herbert Voss <voss@lyx.org>
4889 * insetgraphic.C: get the filetyp from it's contents
4890 * insetgraphicparams.C: add token scale and lyxrc.display when
4891 creating a new inset
4893 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4895 * figinset.C: added using std::ios directive.
4897 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4899 * figinset.C (runqueue): open translation file in binary mode (for
4902 2002-01-27 Herbert Voss <voss@lyx.org>
4904 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4905 all options and to be sure that the old figinsets are correct
4907 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4908 structure and to support all lengths as LyXLength. The Parameter
4909 structure changed again, but reading of "old" 1.2 graphic insets
4912 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4914 * insetert.h (forceDefaultParagraphs): Added
4916 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4918 * insettabular.C (getMaxWidth):
4919 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4921 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4923 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4924 of LyXLength::inPixels
4926 * inset.C (latexTextWidth):
4927 * insetminipage.C (latexTextWidth): new method, which implements
4928 the equivalent of the LaTeX macro \textwidth
4930 * insetminipage.C (getMaxWidth): use latexTextWidth
4932 2002-01-18 Juergen Vigna <jug@sad.it>
4934 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4936 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4938 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4940 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4943 2002-01-17 Juergen Vigna <jug@sad.it>
4945 * insettabular.C (lockInsetInInset): same change as in insettext.
4947 * insettext.C (draw): width() function was called without setting
4948 the right top_x which could lead to wrong insetWidth setting!
4949 (lockInsetInInset): call edit instead of calling lockInset if we
4950 have to lock an inset inside!
4951 (edit): we have to also tell the inset that we have to redraw the
4952 frame on an edit call if this inset draws a frame only if locked.
4954 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4956 * insetbib.C (getFiles): uncomment Path variable.
4958 2002-01-16 Juergen Vigna <jug@sad.it>
4960 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4963 2002-01-16 Allan Rae <rae@lyx.org>
4965 * insetinclude.C (docbook): someone forgot a ";"
4967 2002-01-16 José Matos <jamatos@fep.up.pt>
4969 * figinset.C (docbook): removed a old place holder "@".
4970 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4971 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4972 ascii text version, clearly guarded inside a CDATA section.
4973 (docbook): in docbook 4, inlinegraphics is empty.
4974 * insettabular.C (linuxdoc): export the ascii version of the table
4975 inside a CDATA section.
4977 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4979 * insetparent.C (InsetParent):
4980 * insetgraphicsParams.C (Write):
4982 * insetgraphics.C (prepareFile):
4985 * insetexternal.C (executeCommand):
4986 (doSubstitution): use Buffer::filePath
4988 * insetbib.C (getFiles): add a #warning for Angus
4990 * insetgraphics.C: Add a remark about how filenames should be
4991 considered to be relative to buffer (but absolute is still allowed)
4992 (draw): do not try to get status if lyxrc.use_gui is false
4994 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4997 * insetcollapsable.[Ch]:
4998 * insettabular.[Ch] (searchForward, searchBackward): change the
4999 bool const & params to bool.
5001 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5002 to avoid the name clash with InsetCollapsable's methods of the same
5003 names but different functionality.
5005 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5007 * insettext.C (ascii): use lyx::count rather than countChar.
5009 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5011 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5013 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5015 * insetgraphics.C (updateInset): do not try to render image if
5016 lyxrc.use_gui is false (bug #104)
5018 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5019 if file does not exist
5021 * figinset.C (browseFile): add shortcuts to directory buttons
5023 * insettext.C (updateLocal): update menubar and toolbar here too.
5025 2002-01-13 Allan Rae <rae@lyx.org>
5027 * insettabular.C (InsetTabular): Both constructors now initialise
5028 all class variables.
5030 2002-01-11 Juergen Vigna <jug@sad.it>
5032 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5034 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5036 * insettabular.C (getStatus): add forgotten brace around multiline
5039 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5041 * insetfloat.C (validate): require "float" instead of "floats".
5043 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5045 * insettabular.C (getStatus): use FuncStatus
5047 2002-01-08 Juergen Vigna <jug@sad.it>
5049 * insettabular.C (insetButtonRelease): now this should work too
5052 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5053 if the width is a percentage.
5055 * inset.h: added isChar() function and implemented this for
5056 insetspecialchar insetquotes and insetlatexaccent.
5057 added forceDefaultParagraphs() and implemented it for insettabular.
5059 2002-01-07 Juergen Vigna <jug@sad.it>
5061 * insettext.C (getLyXText): Fixed this function. An insert into the
5062 map is only done if we REALLY have a new BufferView.
5064 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5066 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5068 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5070 * insetinclude.C: fix use of FileInfo
5072 2002-01-07 Juergen Vigna <jug@sad.it>
5074 * insettabular.C (draw): fixed clearing of cell around inset.
5076 2002-01-05 Juergen Vigna <jug@sad.it>
5078 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5079 variables are updated.
5081 * insettabular.C (resetPos): set always the inset_y as it may be
5082 needed in another function.
5083 (searchBackward): don't draw while searching.
5085 2002-01-04 Juergen Vigna <jug@sad.it>
5087 * insettext.C (lockInsetInInset): forgot to set a cursor.
5089 2002-01-02 Juergen Vigna <jug@sad.it>
5091 * insettext.C (insertInset): make the correct undo informations on
5092 inserting new insets.
5094 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5096 * insettabular.C: correct single-cell select vertically
5098 2001-12-27 Juergen Vigna <jug@sad.it>
5100 * insettabular.C (ascii): export as tab-separated-values if the
5101 function was not called from export (f.ex.: clipboard).
5103 * insetcollapsable.h: added default support for ascii, linuxdoc and
5104 docbook export (the insettext is exported by default!)
5106 * insettabular.C (copySelection): suff the clipboard with the tabular
5107 data in a tab separated format, seems more naturals then with all the
5110 2001-12-24 Juergen Vigna <jug@sad.it>
5112 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5113 to check for REAL mouseMotion.
5115 2001-12-20 Juergen Vigna <jug@sad.it>
5117 * inset.C (cursor): return the owners cursor if available instead of
5118 always only the bv->text->cursor.
5120 * insettabular.C (checkLongtableSpecial): works now.
5122 2001-12-19 Juergen Vigna <jug@sad.it>
5124 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5125 this has to be always row + 1 as 0 means not selected!
5126 (checkLongtableSpecial): added
5127 (tabularFeatures): better longtable options support
5129 * insettext.C (resizeLyXText): reinit the text always also on a
5132 2001-12-18 Juergen Vigna <jug@sad.it>
5134 * insettext.C (updateInsetInInset): look if we have to autocollapse
5135 paragraps and return if the update is requested for ourself.
5137 * insetert.C (status): update the insettext not myself as that is what
5140 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5141 function only return if the update was requested with myself.
5143 * insettext.C (insetButtonPress): fixed stupid bug.
5144 (various functions): pay attention that lt is cleared BEFORE calling
5145 updateLocal() and try to use it in the right manner (don't use it
5146 if it's not really neccessary!)
5147 (collapseParagraphs): insert a blank between collapsing paragraphs
5148 if neccessary (not already there!).
5150 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5152 * insettabular.C: move includes around a bit, add a couple of
5155 * insettext.[Ch]: move includes around a bit, other ws changes and
5158 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5160 * insettext.C (insetButtonRelease): fix compile problem
5162 2001-12-17 Juergen Vigna <jug@sad.it>
5164 * insettext.C (insetButtonPress): set the selection cursor!
5165 (insetButtonPress): clear the selection (and set with that the
5166 selection.cursor) if we only hit an inset!
5168 * insetert.C (read): removed piece of compatibility code only needed
5171 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5174 * insetcollapsable.C (insetButtonRelease): changed so that it can
5175 open eventual existing popup dialogs on mousebutton==3.
5177 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5179 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5181 * inset.C (insetButtonRelease): return a bool for telling the outer
5182 world that we opened a dialog.
5184 2001-12-07 Juergen Vigna <jug@sad.it>
5186 * insettext.C (paragraph): remove the deleteing of paragraphs as
5187 it was a WRONG move!
5189 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5192 * insettabular.C: use new setSelection(). Allow
5193 selection of single cells.
5195 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5197 * insetquotes.C (latex): fix to use the local language setting at
5198 the point where the inset is inserted (different macros for
5199 different french packages)
5201 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5203 * inset.h: add par_owner_ member variable and parOwner
5206 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5208 * insettabular.C (everywhere): adapt because widths are now real
5209 widths and not strings
5211 * insettext.C (draw): re-introduce the calls to width(), ascent()
5212 and descent() to initialize the caching variables.
5214 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5216 * insettext.C (draw):
5217 (drawFrame): use insetWidth instead of last_width
5219 * insettext.h: remove variable last_width (insetWidth is exactly
5220 the same) and last_height (computed but never used!)
5222 2001-12-10 Allan Rae <rae@lyx.org>
5224 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5226 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5228 * insettext.C (insetAllowed): add comment
5230 2001-12-05 Juergen Vigna <jug@sad.it>
5232 * insettext.C (insetAllowed): fixed for the case that we directly
5233 ask the insettext from its LyXText.
5234 (paragraph): fixed the crash when assigning the par->next() from
5235 the EmptyParagraphMechanism!
5237 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5241 * insettext.C: change "while(" to "while ("
5243 2001-12-04 Juergen Vigna <jug@sad.it>
5245 * insetert.C (edit): handle Inlined status.
5247 * insettext.C (insertInset): trying John's fix for the trailing cursor
5249 * insetert.C (insetButtonPress): added to handle inlined status
5250 (insetMotionNotify): ditto.
5252 * insettext.C (clearInset): changed Painter & in BufferView * param,
5253 to be able to call ascent,descent methods.
5255 2001-12-03 Juergen Vigna <jug@sad.it>
5257 * insettext.C (updateInsetInInset): use lt variable to forbid
5258 changes of LyXText in an update call.
5259 (updateInsetInInset): fixed updating of non locked insets!
5261 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5263 * insettabular.C: capture some more functions to prevent
5264 selection drawing problems. Bug #451274
5266 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5269 * insetgraphicsParams.C: fix inverted sense of float_equal
5271 2001-11-30 Juergen Vigna <jug@sad.it>
5273 * insettabular.C (InsetTabular): use the save_id flag to create also
5274 the tabular with the same id's.
5276 * insettext.C (setParagraphData): added a same_id function for undo
5277 to set the same paragraph id's as of the paragraph we are setting.
5279 2001-11-30 José Matos <jamatos@fep.up.pt>
5282 * insettoc.[Ch]: DocBook -> docbook.
5284 2001-11-29 André Pönitz <poenitz@gmx.net>
5287 * insettext.C: further reduction of header dependencies by using
5288 lyx::layout_type and lyx::textclass_type from support/types.h
5290 2001-11-29 Juergen Vigna <jug@sad.it>
5292 * insettext.C: inserted a reinitLyXText function everywhere I delete
5293 the paragraphs! This should fixe the crashes we had.
5294 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5295 (paragraph): set the InsetOwner() of the new paragraphs!
5297 2001-11-28 André Pönitz <poenitz@gmx.net>
5299 * insetnote.C: add pos initialization that I removed without
5302 2001-11-28 Juergen Vigna <jug@sad.it>
5304 * insettabular.C (resetPos): hack to not crash with infinite paints.
5306 * insettabular.h: insert missing function allowSpellcheck()!
5308 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5310 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5313 * insetfloatlist.C: derive from InsetCommand so gui can use it
5316 2001-11-26 André Pönitz <poenitz@gmx.net>
5320 * insetnote.C: reduce header dependencies, introduce type for
5323 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5325 * various: update for Alert.h
5327 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5329 * inset.h: fix comment
5331 * insettext.C: use par->isInset()
5333 2001-11-22 Allan Rae <rae@lyx.org>
5335 * insetcollapsable.h:
5336 * inset.h: Changes to checkInsertChar() behaviour.
5337 Now return value indicates whether chars can be inserted.
5339 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5341 * various: updated to use the new LaTeXFeatures
5343 2001-11-14 José Matos <jamatos@fep.up.pt>
5345 * insetspecialchar.C (linuxdoc):
5346 (docbook): don't give a name to a unused variable.
5348 * insettext.C (docbook): removed unused variable.
5350 2001-11-13 Herbert Voss <voss@perce.de>
5352 * insetgraphic.C: fix scale bug
5354 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5356 * inset.h (isSpace):
5357 (isLetter): new virtual methods.
5359 * insetspecialchar.C (isSpace):
5360 (isLetter): implement here.
5362 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5364 * inset.h: new inline helpers
5366 * insettext.C: use new helpers
5368 2001-11-07 José Matos <jamatos@fep.up.pt>
5370 * insettext.C (docbook): full support for paragraphs inside insettext.
5372 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5374 * insetindex.C: added header file for std::ostream.
5376 2001-11-03 José Matos <jamatos@fep.up.pt>
5378 * insetindex.C: added using std::ostream that I forgot yesterday.
5380 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5382 * insetindex.h (docbook):
5383 * insetindex.C (docbook): added support for docbook export.
5385 2001-11-02 José Matos <jamatos@fep.up.pt>
5387 * insetcaption.C(docbook): added support for docbook export.
5389 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5391 * insetexternal.C (updateExternal): Do not run update command if
5392 result file exists and is up to date.
5394 * ExternalTemplate.C (readFormat): Support the updateresult token.
5396 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5398 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5399 external_templates) to use the buffer->fileName() but only if
5400 previewing. Generating a TeX file should make FPath return
5403 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5406 * insetert.C: fix some problems
5408 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5410 * insetexternal.C (doSubstitution): Added $$FPath token
5411 to list of usable substitutions in external inset templates.
5413 2001-10-24 Juergen Vigna <jug@sad.it>
5415 * insettabular.C: use new ltType struct for setting longtable
5416 header and footers also new UNSET enums.
5418 2001-10-24 José Matos <jamatos@fep.up.pt>
5420 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5421 (docbook): If the table is not inside a float then wrap it inside
5422 <informaltable>...</informaltable>.
5424 2001-10-23 José Matos <jamatos@fep.up.pt>
5426 * insetref.C (docbook): removed / terminator to conform SGML.
5428 * insetspecialchar.C (linuxdoc):
5429 (docbook): Added support for special chars, more than ascii export.
5431 2001-10-22 Juergen Vigna <jug@sad.it>
5433 * insettext.C (checkInsertChar): added for REALLY checking the
5434 font of the inserted char in the right inset!
5436 2001-10-19 Juergen Vigna <jug@sad.it>
5438 * inset.h: added method allowSpellcheck() so that insets who do
5439 not have anything to spellcheck can tell and so they are over-jumped.
5440 Implemented for InsetText and co.
5442 2001-10-18 Juergen Vigna <jug@sad.it>
5444 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5446 2001-10-15 José Matos <jamatos@fep.up.pt>
5448 * insetert.C: allow export for docbook and linuxdoc
5450 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5452 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5454 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5456 * insetquotes.C (dispString): fix handling of latin9 quotes
5458 2001-10-03 Juergen Vigna <jug@sad.it>
5462 * insetcollapsable.C: change updateInset calls to not tell BV that
5463 we have changed status.
5465 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5467 * insettabular.C (deletable): make const
5469 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5471 * insetert.C (latex): Fix the returned value
5473 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5475 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5476 Returns string(), so nothing in an ERT inset is spellchecked.
5478 * insetgraphics.C (draw): print the filename if not displaying the
5480 (width): make sure that the width and draw methods are consistent.
5481 (updateInset): don't even load the image into cache if not displaying
5484 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5486 * various files (selectNextWord): renamed as
5487 selectNextWordToSpellcheck.
5489 * insetgraphics.C (draw): remove the previous change. Right place
5490 is in imageLoaderXPM.C.
5491 (draw): don't display the image if params.display == NONE.
5493 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5495 * figinset.C (runqueue):
5496 * insetgraphics.C (draw): set background colour of inset from
5497 background to the user-configurable graphicsbg.
5499 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5501 * insetquotes.C (InsetQuotes): when trying to decide the side of
5502 the quote, choose `left' only after a space or '('
5504 2001-09-04 José Matos <jamatos@fep.up.pt>
5509 * insetcollapsable.h
5527 * insetlatexaccent.C
5528 * insetlatexaccent.h
5533 * insetspecialchar.C
5534 * insetspecialchar.h
5538 * insettext.C (docbook): rename docBook method to docbook.
5540 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5542 * inset.h (getFirstParagraph): New virtual method.
5544 2001-08-20 Herbert Voss <voss@perce.de>
5545 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5546 in the the bibtex-database-gui for inserting a line
5549 If no style is given than there is no tex-output.
5551 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5553 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5557 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5559 * insetert.C (latex): Fix output for multiple paragraphs.
5560 (write): New code for writing paragraph data.
5561 (read): Set font after reading the inset.
5562 (localDispatch): Call set_latex_font() for more cases.
5564 * insetnote.h: Add empty validate method.
5567 * insetnote.C (InsetNote): Set language to the language of the
5570 2001-08-16 Juergen Vigna <jug@sad.it>
5572 * insettext.C: implemented the new FINISHED states.
5574 * insettabular.C: ditto
5576 * inset.h: added more FINISHED states for cursor right,up,down
5578 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5580 * insetfloatlist.C: use "FloatName List"
5582 2001-08-14 Juergen Vigna <jug@sad.it>
5584 * insetert.C (edit): forgot to set status_ in edit calls!
5586 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5588 * insettext.C: Compilation fix
5590 2001-08-13 Juergen Vigna <jug@sad.it>
5592 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5594 * insetcollapsable.C (edit): don't recollapse an already open inset.
5596 * insettext.C: fixed problem when reinitializing LyXText by not doing
5597 it while lt is in use and post this to the next possible time in
5599 (searchForward): fixed not unlocking of inset if nothing found.
5600 (edit): set cursor behind right (was set -1 pos).
5602 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5604 * insettabular.C (tabularFeatures): fixed fix where deleting the
5605 last row didn't get the right actcell!
5607 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5609 * insettext.C (localDispatch): Change language only when the inset
5612 2001-08-10 Juergen Vigna <jug@sad.it>
5614 * insettabular.C (selectNextWordInt): use the front using edit call.
5616 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5617 the parameter overwrite class variable inset.
5619 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5621 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5622 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5624 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5625 update only for fixed with cells.
5626 (resetPos): try to fix the lockup on spellchecking or s&r.
5628 * insettext.C (update): comment this out as it seems first wrong
5629 and second not needed anymore!
5630 (some functions): call reinitLyXText() only in update() in all other
5631 positions set only need_update = INIT.
5633 2001-08-08 Juergen Vigna <jug@sad.it>
5635 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5637 * insettext.C (insetUnlock): remove double-space on inset unlock.
5639 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5641 * insettabular.C (update): fixed cursor positon after an insert.
5642 (insetAllowed): do not allow to insert insets when not inside the
5644 (draw): clear below an inset too as it could have changed height.
5646 * inset.C (getMaxWidth): fixed width for inset in inset.
5648 * insettext.C (update): small fix.
5650 * insettabular.C (tabularFeatures): added selection support to
5651 DELETE_ROW/DELETE_COLUMN.
5653 2001-08-07 Juergen Vigna <jug@sad.it>
5655 * inset.C (getMaxWidth): recoded and all it's implementations!
5657 * insettext.C (init,setParagraph+constructors): cleanups
5658 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5659 are new and I want do a save/restore of the cursor position which is
5660 not possible anymore.
5662 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5663 (searchBackward): ditto
5664 (selectNextWord): ditto
5666 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5668 * insetlatexaccent.C (checkContents): Add some debug messages
5670 2001-08-07 Juergen Vigna <jug@sad.it>
5672 * insetert.C (read): don't use InsetCollapsable::read as we don't
5673 write the collapsed status anymore only the status.
5676 2001-08-06 Juergen Vigna <jug@sad.it>
5678 * insetert.C (set_latex_font): use LyXText's setFont directly.
5680 * insettext.C (drawFrame): fixed one time more the right position
5681 and size of the frame!
5683 * insetert.C (~InsetERT): hide the dialog.
5684 (showInsetDialog): added implementation
5687 (status): new function for the status of the ERT inset (3-state).
5688 (write): output also the status of the inset for readback!
5689 (read): readback the status if available otherwise use collapsed_.
5691 * insettext.C (edit): small fix of setting the position, which could
5694 * insetert.C (width): implement this function for inlined viewing.
5695 Added minimum width of 10 pixels!
5697 * insetminipage.C (InsetMinipage): just change the colors a bit so
5698 that border/background is a bit more visible. We will remove this
5701 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5702 function for getting the important widths for drawing in various
5703 functions and in LyXText.
5704 (draw): fixed up a bit (frame drawing/clearing)
5706 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5708 * inset.C (convertFont): delete method. not used.
5710 2001-08-03 Juergen Vigna <jug@sad.it>
5712 * insettext.C (setFont): don't call for a draw update if we're just
5713 changing the cursor font!
5715 2001-08-02 Juergen Vigna <jug@sad.it>
5717 * insettext.C (draw): clear the background with the right color if
5718 needed. Update myself if x&max-width changed and return without doing
5719 anything. Let the update code handle the right stuff.
5721 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5722 inside another inset.
5724 2001-08-01 Juergen Vigna <jug@sad.it>
5726 * insetcollapsable.C (update): added an in_update bool so we avoid
5729 * insettabular.C (update): added an in_update bool so we avoid
5732 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5734 (update): added an in_update bool so we avoid reentering.
5736 * insettabular.C (localDispatch): clear col/row selection when doing
5737 something else inside an inset.
5739 * insettext.C (getLyXText): fixed bug when requesting a recursive
5742 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5744 * insetcite.C (latex): Paranoia check. Make sure that there is no
5745 whitespace between the citation keys.
5747 2001-07-31 Juergen Vigna <jug@sad.it>
5749 * inset.h (nodraw): make the set function also const so that this
5750 can be called from inside other const functions.
5752 * insetcollapsable.h: removed inline variable and moved it over
5753 to the only user InsetERT.
5755 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5756 inset opening immediately therein lying insets dialogs!
5758 * insetert.C (localDispatch): set the font also if we don't have any
5759 chars in this paragraph, otherwise if we delete all of em and start
5760 writing we have the wrong font.
5762 (draw): implemented for inline support
5763 (insetButtonRelease): ditto.
5765 2001-07-30 Juergen Vigna <jug@sad.it>
5767 * insettext.C (reinitLyXText): new function to reinit the insets
5768 text after lot's of paragraph changes. Use this instead of the
5769 cache.clear() which is VERY dangerous.
5771 * insetfloat.C (insetButtonRelease): we should only show the dialog
5772 if we press on the label otherwise we have problems to open mouse
5773 button 3 dialogs inside this float (f.ex. of a tabular!)
5775 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5777 * insetert.C: change back to "ERT"
5779 * insetfloat.C: handliign of RMB on label added.
5781 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5783 * insetgraphicsParams.C: #include LOstream.h here.
5785 * insetfoot.h: remove InsetFoot:: qualifier.
5787 2001-07-29 Baruch Even <baruch@lyx.org>
5789 * ChangeLog: Hiding time travel evidence.
5791 * insetgraphicsParams.h:
5792 * insetgraphicsParams.C:
5793 * insetgraphics.C: Added horizontal scale option, it actually scales both
5794 directions since it keeps image proportions.
5796 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5798 2001-07-29 Baruch Even <baruch@lyx.org>
5800 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5801 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5803 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5805 2001-07-29 Baruch Even <baruch@lyx.org>
5807 * insetgraphics.C: Added EPSI to be an alias of EPS.
5809 2001-07-29 Baruch Even <baruch@lyx.org>
5811 * insetgraphics.C: Change GRAPHICS to Graphics.
5812 Changed image conversion rules (documented at the beginning of file).
5814 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5816 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5819 * insetgraphics.C: added a using std::endl directive.
5821 * insetcommand.h (getScreenLabel): removed pure virtual function,
5822 as it duplicates that in InsetButton.
5824 * insetbib.[Ch] (getScreenLabel):
5825 * insetbutton.[Ch] (getScreenLabel):
5826 * insetcite.[Ch] (getScreenLabel):
5827 * insetert.[Ch] (getScreenLabel):
5828 * insetexternal.[Ch] (getScreenLabel):
5829 * insetfloatlist.[Ch] (getScreenLabel):
5830 * insetinclude.[Ch] (getScreenLabel):
5831 * insetindex.[Ch] (getScreenLabel):
5832 * insetlabel.h (getScreenLabel):
5833 * insetparent.[Ch] (getScreenLabel):
5834 * insetref.[Ch] (getScreenLabel):
5835 * insettoc.[Ch] (getScreenLabel):
5836 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5838 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5840 (validate): remove check on "cite" when using natbib.
5842 2001-07-26 Baruch Even <baruch@lyx.org>
5844 * insetgraphics.C (draw): changed casting to be in one place rather than
5845 all over the function.
5848 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5850 * insetgraphicsParams.h:
5851 * insetgraphicsParams.C:
5852 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5854 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5856 * insetfoot.C (validate): Added method to ensure that the
5857 right bit of LaTeX is emitted.
5859 * insetfoot.h: Added validate method to set the correct
5860 LaTeXFeatures bit for the special footnote code.
5862 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5864 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5867 2001-07-27 Juergen Vigna <jug@sad.it>
5869 * inset.h: remove not used font variable in parameter.
5870 removed checkInsertChar in UpdatableInset as it was equal to
5871 the one in Inset and so not needed.
5873 * insetert.C (checkInsertChar): implementation of function
5876 * inset.h: added new function checkInsertChar.
5878 * various files: added c-tor and clone() function.
5880 * insetcollapsable.h: removed clone function here as this should
5881 be only realized in REAL insets and added it to all collapsable
5882 insets! (with the copy-constructor).
5884 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5886 * insetminipage.C (read): handle missing parameters more gracefully
5888 * insetcollapsable.C (read): handel missing collapsed more gracefully
5890 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5892 * insetfloat.C (read): handle missing parameters.
5894 * insettext.C (read): handle old latex end_inset
5896 * insetert.C (setButtonLabel): new method
5897 (init): use it, to set the dynamic label correctly
5900 * Makefile.am (EXTRA_DIST): add files that is not part or the
5903 * insetcollapsable.h: remove autocollapsable (no users), remove
5904 draw_label, change_label_with_text and companion code. Remove args
5906 * insetert.[Ch]: move here instead (only user)
5908 * inset.h: rename private variable name to name_, make
5909 selectNextWord return a const string. make getInsetName return a
5910 string const &. Remove bool from open, add close.
5912 * Makefile.am: don't compile insetlist, insetsection
5915 2001-07-24 Juergen Vigna <jug@sad.it>
5917 * insetert.C (InsetERT): put init after the paragraph initialization,
5918 as otherwise we don't set the draw_label right.
5920 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5921 insets with the mouse without having strange selections.
5922 (edit): if the inset was collapsed and we open it here then put the
5923 cursor always at the beginning of the inset.
5924 (get_new_label): 15 instead of 10 max chars in the label.
5926 * insetert.C (localDispatch): added and handle various stuff we
5927 need to handle here (font setting on paragraph break, not permitted
5928 layout setting, etc.).
5930 * inset.h: added default copy-consturctor and implemented this in
5931 various insets with the change to use this in the clone function!
5933 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5935 * insetminipage.C (InsetMinipage): set background color to red :)
5937 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5939 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5940 draw frame mode is LOCKED.
5942 * insetcollapsable.C (edit):
5943 (insetButtonRelease): set update status to full when
5946 * insettext.C (clearInset):
5947 * insettabular.C (draw):
5948 * insetlatexaccent.C (draw): honor background color.
5950 * inset.h: new member background_color_, initialized to
5953 * inset.C (backgroundColor): new method.
5954 (setBackgroundColor): new method.
5956 * insetert.C (init): new method, called by the ctors.
5957 (InsetERT): when inserting contents, make sure the font is
5960 * insetnote.C (InsetNote): when inserting content, remove trailing
5962 (init): set background color to LColor::note
5964 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5966 * insetcollapsable.C: adjust
5968 * insetbutton.C: adjust
5970 2001-07-23 Juergen Vigna <jug@sad.it>
5972 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5973 parameter on the _collapsed function (was not needed) and call
5974 always width_collapsed().
5976 * insetert.C (InsetERT): use setLabel with "true" flag.
5978 * insetcollapsable.C: modified various functions to set the draw_label
5979 string right in any condition.
5980 (setLabel): added a bool parameter to set change_label_with_text.
5982 * insetcollapsable.h: added draw_label string which is set to the
5983 actual drawn label-string, while label is the original static label
5984 of this collapsable inset. Added bool change_label_with_text to set
5985 if we want that the label changes to the start of the InsetText's
5986 text when collabpsed. You can set this flag with the setLabel funciton.
5987 Added bool inlined for inlined collapsable insets, but not handled
5990 * insetcollapsable.C (get_new_label): added should get a new label
5991 from the InsetText beginning (for now 10 chars).
5993 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5995 * insetquotes.C (latex): fix the handling of french double quotes
5996 when not using the french pachage.
5998 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6000 * insetcollapsable.h: make WidthCollapsed mutable.
6002 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6003 InsetPrintIndex returns INDEX_PRINT_CODE.
6005 * inset.h: add INDEX_PRINT_CODE
6007 * insetcollapsable.C (draw): init widthCollapsed if necessary
6010 * insetquotes.C (width): use the local language, not the document
6013 (dispString): add additional spacing for all french languages,
6015 (validate): make it work when there is no default language
6017 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6019 * insetnote.C (init): new method, called by the constructors
6020 (InsetNote): new constructor with contents passed as a string
6022 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6024 * insetfootlike.C (insetAllowed): disallow float in footlike.
6026 * insetert.C (InsetERT): add collapsed argument to the constrctor
6029 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6031 * insetindex.h: shut off warning
6033 2001-07-20 Juergen Vigna <jug@sad.it>
6035 * insetcollapsable.C (update): recoded hopefully works now!
6037 2001-07-19 Juergen Vigna <jug@sad.it>
6039 * most files: implemented the below new introduced function.
6041 * inset.h: added new edit(BufferView *, bool front) method to be able
6042 to enter an inset from the front/back without knowing x/y positions
6043 and baselines inside the inset. So I just can tell the inset activate
6044 me and set the cursor on the front/back of yourself.
6046 2001-07-18 Juergen Vigna <jug@sad.it>
6048 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6049 is given to the InsetText.
6050 (insetButtonPress): ditto
6051 (insetButtonRelease): ditto
6052 (insetMotionNotify): ditto
6054 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6056 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6057 LIGATURE_BREAK, since the name is so stupid.
6059 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6061 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6062 the default InsetCollapsable methods. I.e., it can insert anything.
6063 (write) output the name of the inset, not some silly hack for
6064 compatability with the old InsetInfo.
6066 * insetinfo.[Ch]: removed.
6067 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6068 now collapsable, but functionality is otherwise identical to InsetInfo.
6070 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6072 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6074 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6077 * insetquotes.C: general cleanup
6078 (dispString): add spaces inside french double quotes.
6079 (latex): ditto. Moreover, treat first the case where the frenchb
6080 or french options have been given.
6082 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6084 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6087 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6089 * figinset.C (RegisterFigure): Print debug message only when
6090 current_view is available.
6092 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6094 * many files: update to match the change below
6096 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6097 implement the version which takes an inset here.
6099 * insetcollapsable.[Ch]: implement open and isOpen
6101 * inset.h: remove insertInsetAllowed from Inset
6102 (open): new method, to open or close an inset
6103 (isOpen): returns the status of an inset
6104 (isCollapsable, colapse): removed
6106 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6108 * insetquotes.C (dispString): display french guillemets when using
6111 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6113 * insetcollapsable.h: remove bogus return statements
6115 2001-07-18 Juergen Vigna <jug@sad.it>
6117 * insettabular.C (selectNextWord): fixed spellchecking for the
6118 first cell of a tabular (wasn't entered!)
6119 (getLyXText): changed to enter automatically insettext and return
6120 it's LyXText if we're locked.
6122 2001-07-17 Juergen Vigna <jug@sad.it>
6124 * various files: implemented the below functions.
6126 * inset.h: added functions
6127 - virtual string selectNextWord(BufferView *, float & value) const;
6128 - virtual void selectSelectedWord(BufferView *) { return; }
6129 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6130 needed for spellchecking correctly!
6132 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6134 * insetert.C (latex): write out all paragraphs.
6136 2001-07-17 Baruch Even <baruch@lyx.org>
6138 * insetgraphics.C (draw): Removed unneeded casts.
6140 2001-07-16 Juergen Vigna <jug@sad.it>
6142 * insettext.C (update): fixed small oversight (reset lt to 0).
6144 2001-07-14 Baruch Even <baruch@lyx.org>
6147 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6149 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6151 Consistent use of Lsstream.h:
6152 * figinset.C: removed using std::ostringstream directive.
6154 * insetgraphics.C (createLatexOptions):
6155 * insetinclude.C (unique_id):
6156 std::ostringstream -> ostringstream.
6157 * insettext.C (localDispatch): std::istringstream -> istringstream.
6159 2001-07-13 Juergen Vigna <jug@sad.it>
6161 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6163 * insetcollapsable.C (getLockingInset): ditto.
6165 2001-07-12 Juergen Vigna <jug@sad.it>
6167 * insetcollapsable.h: added implementation of new function for
6170 * various files: added implementation of new insertInsetAllowed-func
6171 and redone the function a bit more.
6173 * inset.h: added isCollapsable(), bool collapsed(),
6174 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6176 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6178 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6179 LyXText which is marked for removal while we're using it!
6181 * insettext.h: added private LyXText * lt to use it to assure we are
6182 not deleting our LyXText while we're using it!
6184 2001-07-11 Juergen Vigna <jug@sad.it>
6186 * insettext.C (insertInset): check if we are before the inset after
6187 inserting it! This check IS needed. Remove the Undo-Call as it is
6188 called in LyXText::insertInset!
6190 * insettext.h: added struct InnerCache.
6192 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6193 that we ONLY delete the LyXText in the getLyXText() routine. So we
6194 are sure we don't delete LyXText while someone is working with it!
6196 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6198 * insetexternal.C: (*it). -> it->
6199 * insettext.C: ditto
6201 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6203 * insetcollapsable.C (edit): always open collapsed insets (even if
6204 they are not autocollapsable)
6206 * insetcommand.C (operator=): simplify.
6208 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6210 * insetert.C (latex): handle META_NEWLINE
6212 2001-07-09 Juergen Vigna <jug@sad.it>
6214 * insetert.h: a normal InsetText can insert insets, but we won't.
6216 * inset.h: return default "false" on insertInsetAllowed and implement
6217 this function where a returnvalue != "false" is needed.
6219 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6221 * insetert.C (InsetERT): new contructor
6223 2001-07-06 Juergen Vigna <jug@sad.it>
6225 * a lot of files: added implementation of the below new functions
6226 and the change to clone(). Also the call of the new undo-functions
6229 * inset.h: added an inset_id, added functions getParFromID,
6230 getInsetFromID, firstParagraph, cursor and id functions, added
6231 bool same_ids to clone function.
6233 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6235 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6236 of BufferView * and shared_ptr<LyXText>
6238 2001-07-05 Juergen Vigna <jug@sad.it>
6240 * insettext.C (clear): deleted also the cache not only LyXText.
6241 (setParagraphData): ditto.
6243 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6245 * insetfloat.C (latex): let the specific placement take presedence
6246 if set, otherwise choose document placement if set, otherwise just
6247 use float default placement.
6249 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6251 * insettext.C (localDispatch): call CutAndPaste::'s static method
6254 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6256 * insetbib.C: no meed to include forms.h here.
6258 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6260 * insettext.C: added using std::make_pair directive.
6262 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6264 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6266 (deleteLyXText): ditto
6267 (resizeLyXText): ditto
6269 2001-07-02 Juergen Vigna <jug@sad.it>
6271 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6272 following calls are only returned the right pointer without the over
6273 head to search in the map.
6274 (various funcs): reset the cached_bview variable as this signs that
6275 the cache is not valid anymore.
6277 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6279 * insettabular.C (clone): do not copy the LyXTabular twice
6281 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6283 * insettext.h (TEXT): delete method
6285 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6287 * insetmarginal.C (latex):
6288 * insetfoot.C (latex): fix spacing of notes in LaTeX
6290 * insettext.C (localDispatch): use .c_str() on istringstream
6291 constructor argument.
6293 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6298 * inseturl.C: fix method names in these to begin
6299 with small char too, so they inherit
6301 2001-06-28 Juergen Vigna <jug@sad.it>
6303 * insettext.C (setFont): fixed font settings using toggleFree()
6304 instead of setFont().
6306 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6308 * Change a lot of method names to begin with a small char.
6309 Changes to a lot of files because of this.
6311 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6313 * insetfloatlist.C (Write): std:: qualify ostream
6316 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6320 * insetgraphics.C: send debug output to Debug::INFO instead of
6323 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6326 * insettabular.C (getStatus): update to use func_status
6328 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6330 * insetref.C (DocBook): added support for cross-references without
6333 2001-06-26 The LyX Project <jug@sad.it>
6338 * insetlabel.h: removed escape method and moved it to
6341 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6343 * insettabular.C (getMaxWidth): do the speedup in a different way,
6346 2001-06-24 The LyX Project <Asger>
6348 * insettabular.C (getMaxWidth): We cache a mapping from
6349 inset to cell in order to speed this method up.
6351 2001-06-24 The LyX Project <Asger>
6353 * insettext.C: Optimized InsetText::draw or something.
6355 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6357 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6359 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6361 * inset.h: name change from lyxinset.h
6363 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6365 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6367 2001-06-14 Juergen Vigna <jug@sad.it>
6369 * insettext.C (draw): removed warnings.
6371 2001-06-13 Juergen Vigna <jug@sad.it>
6373 * insettabular.C (nodraw): only go down the tree if we don't have
6374 that flag set otherwise it's obvious that we don't want to draw.
6375 (LocalDispatch): do also an update if we have an undispached result.
6377 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6380 * insetgraphicsParams.C:
6381 * insettext.C: removed // -*- C++ -*- as first line.
6383 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6385 * lyxinset.h (resizeLyXText): shut off warning about unused
6388 2001-06-07 Juergen Vigna <jug@sad.it>
6390 * insettext.C (resizeLyXText): honor the new force flag.
6392 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6394 * insettabular.C (deleteLyXText): new function
6396 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6404 * insetcollapsable.C:
6405 * insetcaption.C: LColor tidy
6407 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6409 * figinset.C: fix typo
6411 2001-06-01 Juergen Vigna <jug@sad.it>
6413 * insettabular.C (resetPos): small hack so that scroll is not set to
6414 0 when we are in the last column of a tabular. This is a problem we
6415 have because of constats 20 offset on both directions, so this can
6416 cause on the limit an endless loop.
6418 * insettext.C (SetFont): forgot that we can have locking insets ;)
6420 2001-05-31 Juergen Vigna <jug@sad.it>
6422 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6424 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6426 * figinset.C: add using std:: directive for the C functions which
6429 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6431 * insetfloat.C (Write): write out wide info
6432 (Read): read the wide info
6433 (Latex): use the wide info when creating latex.
6435 * insettext.C: adjust
6437 * insetgraphics.[Ch] (statusMessage): change to return string
6441 * figinset.C (runqueue): add std::
6444 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6446 * insetcite.C (Ascii): add std:: qualifier
6448 2001-05-28 Juergen Vigna <jug@sad.it>
6450 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6451 a endless-width inset (maxWidth < 0).
6452 (Edit): change language only if not equal.
6454 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6456 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6458 2001-05-16 Juergen Vigna <jug@sad.it>
6460 * insettext.C (selectAll): added
6461 (clearSelection): added
6463 * insettabular.C (SetFont): now we may set a font on a whole selection!
6464 (getSelection): added helper function.
6466 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6468 * insetcite.C (Ascii): Add method.
6470 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6473 * insetbib.C: fix path for OS/2 & Win32
6475 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6477 * insetfoot.C (Latex): don't use % after footnote.
6479 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6481 * insettext.C (Read): use clear
6482 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6484 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6486 * insetfloatlist.h: add a bunch of std:: qualifiers.
6488 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6490 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6491 FLOAT_LIST_CODE, renumber code list.
6493 * insettoc.C (getScreenLabel): remove support for float lists
6497 * insetfloatlist.[Ch]: new files
6499 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6501 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6503 * insettabular.C (LocalDispatch):
6504 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6507 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6509 * insettext.C: remvoe !NEW_INSETS cruft
6511 * insettabular.C: remove !NEW_INSETS cruft
6513 * insetcollapsable.h: remove !NEW_INSETS cruft
6515 * insetbib.C: remove !NEW_INSETS cruft
6517 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6519 * insettoc.C: hack to make listof algorithm work
6521 2001-04-20 Juergen Vigna <jug@sad.it>
6523 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6525 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6527 * insetquotes.C (Latex): improve the guard against
6528 unwanted !` and ?` ligatures. This should really be done in
6529 another place (to catch all this ligatures at low-level).
6531 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6533 * insettext.C (init): remvoe leftovers from cursor_visible change
6534 (draw): use c++ cast
6535 (LocalDispatch): dispatch LFUN_MESSAGE
6537 * insettabular.C (InsetTabular): remove leftovers from
6538 cursor_visible, and scoped_ptr changes
6539 (draw): use c++ cast
6541 * insetcollapsable.C (draw): use c++ cast
6543 * ExternalTemplate.h: inherit privaely from noncopyable
6544 * insetcommand.h: ditto
6545 * insetinclude.h: ditto
6547 2001-04-16 Allan Rae <rae@lyx.org>
6549 * insettoc.C (Ascii):
6550 * insettext.C (draw):
6551 * insettabular.C (setPos):
6552 * insetminipage.C (Read):
6553 * insetfloat.C (placement):
6554 * insetcaption.C (Ascii, DocBook):
6555 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6556 an unrecognised preprocessor directive. So ensure they're wrapped.
6558 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6561 * insetexternal.C: set view on Clone. Add _ to private members.
6563 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6565 * insettext.C (InsetText): fix new
6566 (InsetText): reindent some, simplify deletion of par list
6567 (clear): simplify deletion of par list, fix new
6568 (SetParagraphData): simplify deletion of par list
6570 * insettabular.[Ch] (getLabelList): implement new method
6572 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6574 * lyxinset.h: do not include gettext.h...
6582 * insetlatexaccent.C:
6586 * inseturl.C: ... and do it here instead
6588 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6590 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6592 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6594 * insetcollapsable.[Ch] (getLabelList): implement
6596 * insettext.[Ch] (getLabelList): implement
6598 * insettext.h: reindent
6600 * insettabular.h: make tabular a scoped_ptr
6602 * insettext.C (init): adjust for cursor_visible
6603 (ToggleInsetCursor): constify asc and desc, font, adjust for
6605 (ShowInsetCursor): constify asc and desc, font, adjust for
6607 (HideInsetCursor): adjust for cursor_visible
6609 * insettabular.C: reindent some
6610 (InsetTabular): adjust for scoped_ptr and cursor_visible
6611 (InsetTabular): ditto
6612 (~InsetTabular): delete delete
6613 (Clone): adjust for scoped_ptr
6614 (Read): constify old_format, adjust for scoped_ptr, move init of
6616 (draw): constify tx, localize loop vars.
6617 some other localization of variables, remove double initilizatons.
6619 * insetfoot.C: remove using std::ostream, add ostream where needed
6621 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6623 * lyxinset.h: some reindentaion, use initializer list for
6625 UpdatableInset: make cursor_visible a private var add
6626 public isCursorVisible(), add protected toggleCursorVisible() and
6627 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6629 * insettoc.C: remvoe using decl
6630 (getScreenLabel): make cmdname donst
6633 (Ascii): don't use endl
6635 * insetfootlike.C: remove using decl at file scope and add std::
6637 * insetmarginal.C: ditto
6639 * insetfoot.C: some reformatting
6641 * insetfloat.C (InsetButtonRelease): adjust the hit area
6643 * insetert.C (SetFont): some reformatting
6645 * insetcollapsable.C: some reformatting and constification
6646 (Clone): comment out.
6647 * insetcollapsable.h: some reformatting
6648 (Clone): comment out.
6653 2001-03-30 Juergen Vigna <jug@sad.it>
6655 * insetcollapsable.h: changen *inset to be a InsetText inset.
6657 * some files: changed to reflect the above change.
6659 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6661 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6662 InsetExternal::Params.
6663 Added operator==() and operator!=() for the Params struct.
6665 2001-03-29 Juergen Vigna <jug@sad.it>
6667 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6670 * insetminipage.C: removed widthp_ and all it's functions and changed
6671 to use new %-lengths of LyXLength.
6673 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6675 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6677 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6679 * insetgraphicsParams.C (operator!=): new function, needed by the
6680 ControlGraphics class.
6682 2001-03-28 Juergen Vigna <jug@sad.it>
6684 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6685 (checkAndActivateInset): don't use the values returned from
6686 call to bv->checkInsetHit.
6688 * insetminipage.C (Clone): set special minipage values.
6690 * insetcollapsable.C (draw): changed to draw the button in the
6691 upper left corner outside the textinset.
6692 (ascent): changed because of different drawing
6696 (InsetButtonPress): ditto
6697 (InsetButtonRelease): ditto
6698 (InsetMotionNotify): ditto
6700 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6702 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6706 2001-03-26 Juergen Vigna <jug@sad.it>
6708 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6710 * insettext.C (ShowInsetDialog): implemented above function.
6712 * insettabular.C (ShowInsetDialog): ditto
6714 * insetminipage.C (ShowInsetDialog): ditto
6716 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6718 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6719 InsetInclude::Params. Don't store a buffer * in Params. Store the
6720 master file name instead.
6722 2001-03-23 Juergen Vigna <jug@sad.it>
6724 * insetcollapsable.C (InsetMotionNotify):
6725 (InsetButtonRelease):
6726 (InsetButtonPress): fixed y-offset (minipages).
6728 * insettext.C (draw): force a FULL update if cleared == true.
6730 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6731 routine to draw the minipages on its position-flag.
6732 (InsetInInsetY): give back the right y position, because of minipage
6735 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6738 * insetfloat.C (DocBook): docbook export code.
6740 2001-03-22 Juergen Vigna <jug@sad.it>
6742 * insetminipage.C (getMaxWidth): added function to set the drawing
6744 (Read): should work now!
6746 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6747 if we create a new inset.
6749 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6751 * figinset.C (fl_set_preemptive_callback): moved definition outside
6754 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6756 * insetminipage.C (Read): prepare for reading of minipage arguments.
6758 2001-03-18 Baruch Even <baruch@lyx.org>
6760 * insetgraphics.C: Minor cleanups of the comments and code.
6762 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6764 * insetminipage.C (InsetMinipage): default to not collapsed
6766 2001-03-16 Juergen Vigna <jug@sad.it>
6768 * insetminipage.C (width): modified with to be a string
6769 (widthp): added widthp (for % width) support functions.
6770 (InsetButtonRelease): added to open the options dialog on button==3.
6771 (~InsetMinipage): added to hide the dialog.
6773 * insetminipage.h: added hideDialog signal
6775 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6777 * insetminipage.h: change the order or Position to match
6778 LyXParagraph::MINIPAGE_ALIGNMENT
6780 * several files: remvoe CXX_WORKING_NAMESPACES
6782 * ExternalTemplate.h: noncopyable is in namespace boost
6783 * insetinclude.h: ditto
6784 * insetcommand.h: ditto
6786 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6788 * insettext.C (Edit): #else# -> #else.
6789 * insettoc.C: added using directive.
6791 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6793 * insetminipage.h: add pos, inner_pos, width and height. + getters
6794 and setters for all of them.
6796 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6798 * insetinclude.C (Latex): Do not exit when the textclass of the
6799 included file differ from the textclass of the parent file.
6801 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6803 * ExternalTemplate.C (read): the reading of external insets now checks
6804 for \end_inset and removes it form the input stream.
6806 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6808 * ExternalTemplate.h:
6809 * ExternalTemplate.C:
6811 * insetexternal.C: move form to GUII
6813 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6816 * insetinclude.C: add InsetIncludeParams, use
6817 composition rather than derivation of InsetCommand
6819 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6821 * insettoc.C (Ascii): use the Buffer typedefs
6823 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6825 * insettoc.C (Ascii): implement for dynamic number of lists
6827 * insetcaption.[Ch]: update from new_insets branch
6828 * insetfloat.[Ch]: ditto
6830 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6833 * figinset.C: use new File Dialog
6835 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6837 * insettext.C: changes becuase of ParagraphParameters.
6839 2001-02-28 Baruch Even <baruch@ev-en.org>
6841 * insetgraphics.C (updateInset): Changed due to the change in
6844 2001-02-26 Juergen Vigna <jug@sad.it>
6846 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6847 handled in LyXText).
6849 2001-02-23 Juergen Vigna <jug@sad.it>
6851 * insettext.C (draw): some small repainting fixes.
6852 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6854 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6855 should be) and not an int.
6857 * insettabular.C (LocalDispatch): ditto
6859 * insettext.C (LocalDispatch): ditto
6861 * insetcollapsable.C (LocalDispatch): ditto
6863 2001-02-22 Juergen Vigna <jug@sad.it>
6865 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6866 DISPATCH it and we don't have a locking_inset.
6868 2001-02-21 Baruch Even <baruch@ev-en.org>
6870 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6871 instead of GraphicsCacheItem *.
6873 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6875 * insetcollapsable.C (getLyXText): add const qualifier to second
6878 2001-02-22 Juergen Vigna <jug@sad.it>
6880 * insettext.C (getLyXText): honor the recursive parameter.
6881 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6883 * inset.C (getLyXText): added bool recursive parameter.
6885 * insettext.C (SetUpdateStatus): or the update codes.
6886 (draw): check need_update with &.
6887 (InsetButtonPress): set no_selection to not put a selection when
6888 entering an inset and it is redraws in another spot.
6890 * insettext.h: made need_update an int.
6892 2001-02-20 Baruch Even <baruch@ev-en.org>
6895 * insetgraphisc.C: Changed to use better semantics when loading images
6896 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6898 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6902 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6903 consistent with InsetTabular.
6905 2001-02-19 Juergen Vigna <jug@sad.it>
6907 * insettabular.C (LocalDispatch): implement PAGE up/down.
6909 * insettext.C (draw): clear all of it on need_update==INIT too!
6911 * insettabular.C (InsetUnlock): always clear the selection.
6913 * inset.C (scroll): normally we only want to scroll the inset until
6914 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6916 2001-02-14 Juergen Vigna <jug@sad.it>
6918 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6919 (resetPos): fixed scroll behaviour.
6920 (LocalDispatch): do an update if moving cursor inside a table cell
6921 requests a scroll of the tabular.
6923 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6925 * insettext.C (textWidth): constify local var
6927 * insettabular.C: small cleanup.
6929 * insetfoot.C (Latex): constify local var
6931 * insetcollapsable.C: small cleanup.
6933 * figinset.C (runqueue): use compare instead of strcmp
6935 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6938 * insetinfo.C: remove cruft
6940 2001-02-14 Juergen Vigna <jug@sad.it>
6942 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6944 2001-02-13 Juergen Vigna <jug@sad.it>
6946 * insettext.C (InsertInset): don't move left (is this right?)
6948 * insettabular.C (LocalDispatch): use of the no_draw variable
6950 * insettabular.h: new no_draw variable to stop redraw
6952 * insettabular.C (TabularFeatures): fixed update for alignment change
6954 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6958 * insetbib.C: move dialogs to frontends/
6960 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6962 * insettext.C (LocalDispatch): Restore the language if the inset
6965 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6967 * insettext.C (moveRightIntern): Update the selection cursor.
6968 (moveLeftIntern): Ditto.
6970 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6972 * Makefile.am: remove BoundingBox.h
6974 * BoundingBox.h: removed
6976 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6978 * insettext.C (LocalDispatch): Update selection cursor when moving
6979 cursor to the right.
6980 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6981 (moveLeftIntern): Ditto.
6983 2001-02-05 Baruch Even <baruch.even@writeme.com>
6985 * insetgraphics.C: Updated automatic image conversion, it now goes into
6986 temporary directory instead of with the image itself.
6988 2001-01-21 Baruch Even <baruch@ev-en.org>
6990 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6991 to EPS or PNG when needed (support bitmap graphics).
6993 2000-11-02 Baruch Even <baruch@ev-en.org>
6996 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6997 and removal of commented out code.
6999 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7001 * insetbib.C (callback): Update citations if the key has changed.
7003 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7005 * insetbib.C (InsetBibKey): Better computation of default key.
7006 (getScreenLabel) Show both the key and the label.
7007 (getBibLabel): New method.
7008 (callback): Force a redraw if the inset have been changed.
7010 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7012 * insetref.C (getType, getName): Move methods from
7013 src/frontends/xforms/FormRef.C.
7015 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7017 * insettabular.C: Various improvements (use only one dummy position).
7019 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7021 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7022 par->bibkey->width. This fixes the crashes when running without
7023 gui or when having included documents.
7025 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7027 * insetcommand.C (getAsString, setFromString): Cleanup.
7029 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7031 * insetref.C: Add the array InsetRef::types that contains
7032 information about all supported reference types.
7034 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7036 * lyxinset.h: remove trailing comma in enum.
7038 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7040 * insettext.C: kill LyXBell.