1 2004-05-12 Angus Leeming <leeming@lyx.org>
3 * insetcite.C: use BufferParams::cite_engine rather than the three
4 bools, use_natbib, use_jurabib, use_numerical_citations.
6 2004-05-10 Angus Leeming <leeming@lyx.org>
8 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
9 Ditto with getStyle, moved to biblio::getEngine.
11 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
13 * insetgraphics.C (validate): remove pre 233 file format stuff,
14 handle zipped files for "nice" export
16 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
18 * insetgraphics.C (prepareFile): copy zipped file and corresponding
19 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
20 * insetgraphics.C (prepareFile): unzip zipped file also if it has
21 changed since the last run
22 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
25 2004-04-29 Angus Leeming <leeming@lyx.org>
27 * ExternalTemplate.[Ch]: remove redundant #includes.
29 2004-04-28 Angus Leeming <leeming@lyx.org>
32 s/updateToolbar()/updateToolbars()/
34 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
36 * insetgraphics.C: require file extension (file format change!)
37 * insetgraphics.C (latex): handle zipped files for "nice" export
39 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
41 * insetgraphics.C (latex): strip the extension and replace dots in
42 the filename if doing a "nice" export. This is a partial fix for
43 bug 1231 without reintroducing bug 655.
45 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * insetoptarg.h: remove the editable() method (InsetCollapsable
48 does it better already)
50 * insetbibtex.C (normalize_name): new helper function. Changes the
51 name to be suitable to use in a latex file (relative to master
53 (latex): use normalize_name.
55 2004-04-20 Angus Leeming <leeming@lyx.org>
57 * render_preview.C (startLoading): remove lyxerr statement.
59 (getPreviewLoader): new helper function.
61 2004-04-19 Angus Leeming <leeming@lyx.org>
65 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
67 2004-04-19 Angus Leeming <leeming@lyx.org>
69 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
71 (add_preview): renamed as add_preview_and_start_loading. Invoke
72 RenderPreview::startLoading.
74 * insetinclude.C (metrics, draw): changes due to the changed
75 RenderPreview interface.
77 * render_preview.C: remove cached pimage_.
78 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
79 (draw): don't call startLoading. That's up to the user of
82 2004-04-16 Angus Leeming <leeming@lyx.org>
84 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
86 2004-04-13 Angus Leeming <leeming@lyx.org>
88 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
89 the renderer to inform LyX::updateInset that the inset's status
90 has changed and it should be redrawn.
92 * render_button.[Ch] (clone):
93 * render_graphic.[Ch] (c-tors, clone):
94 * render_preview.[Ch] (c-tors, clone): ditto.
96 * render_graphic.[Ch] (connect):
97 * render_preview.[Ch] (connect): removed, as connection is now
98 made in the constructors.
102 * insetinclude.C: ensuing simplification of the client code.
103 (statusChanged): now superfluous. Removed.
105 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
107 * ExternalTemplate.[Ch]: remove editCommand
108 * ExternalSupport.C (editExternal): use formats.edit() instead of
109 the removed editCommand template parameter
110 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
111 * insetgraphics.[Ch] (editGraphics): new method
113 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
115 * insetinclude.C (validate): set/reset features.buffer_ when
118 2004-04-07 Angus Leeming <leeming@lyx.org>
120 * insetexternal.C (priv_dispatch):
121 * insetinclude.C (priv_dispatch): prevent crash by invoking
122 InsetOld::priv_dispatch at the end of the switch, rather than
123 InsetOld::dispatch...
125 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
127 * insetcollapsable.C:
128 * insetbranch.C: 'assign' to open/close branch inset according to
129 selection; also print content on closed branch button
131 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
133 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
134 $$RelPath_Master, $$RelPath_Parent, $$Extension,
135 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
137 * ExternalSupport.C (updateExternal): use absolute and output
138 filename where appropriate
140 2004-04-05 André Pönitz <poenitz@gmx.net>
142 * insetbase.h: use LCursor & in notifyCursorLeave
144 2004-04-05 Angus Leeming <leeming@lyx.org>
146 * insetgraphics.C: remove unused header file "lyxrc.h".
148 * render_graphic.C: squash bug 1372: Misleading graphics label when
149 deactivating lyx view.
151 2004-04-05 Angus Leeming <leeming@lyx.org>
156 * insetlatexaccent.C:
161 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
163 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
165 * insetfloat.C (read): fix yesterday's float fix.
166 * insetwrap.C (read): apply the fixed float fix.
168 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
170 * insetfloat.C (read): fix reading of float params
173 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
175 * insettext.C (edit): comment the call to updateLocal (dangling now)
176 * insettext.h: add allowSpellCheck() returning true
178 2004-03-31 Angus Leeming <leeming@lyx.org>
180 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
182 2004-03-31 Angus Leeming <leeming@lyx.org>
184 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
185 the cursor out of an inset.
187 * insetbranch.C (priv_dispatch):
188 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
189 use getOutOfInset to push the cursor out of the inset when
192 2004-03-30 Angus Leeming <leeming@lyx.org>
194 * insetbase.[Ch] (translate): new static member function, returns
195 an InsetBase::Code corresponding to the input string.
197 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
199 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
200 so that it opens the inset if it refers to the currently active
203 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
205 * insetfloat.C (addToToc): use par_const_iterator_begin and
206 par_const_iterator_end.
208 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
210 * insetbibtex.[Ch]: bibtopic support.
212 * insetfloat.[Ch]: add param \sideways {true|false}
213 (support for sideways floats from rotating.sty).
215 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
217 * insettext.[Ch]: add a default ctor. implement const version of
223 * insetwrap.C: adjust
225 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
227 * insettext.h: add insetAllowed returning true by default (fixing
228 vanishing insets problem)
230 * insettext.C (draw): handle the responsability of adding the
231 ouside offset to collapsable. Clean code a bit.
233 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
234 from insettext correctly, solve a couple of off-by-one drawing
237 2004-03-25 Angus Leeming <leeming@lyx.org>
239 * insetcaption.C (draw): squash warning about unused variable.
241 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
243 * ExternalSupport.C: use the master buffer's temp dir
244 * insetgraphics.C (latex): make relative filename relative to the
246 * insetgraphics.C: use the master buffer's temp dir
247 * insetinclude.C (masterFilename): new function
248 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
249 is always true if loadIfNeeded() returns true)
251 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
253 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
254 set its parent to the current buffer.
255 (latex): use the tmppath of the master buffer, not just the parent
256 buffer (makes a difference with more than one level of include
257 insets). If the file name is relative write in the .tex file a
258 name relative to the master buffer directory.
260 * insetinclude.C: rename masterFilename to parentFilename (this
261 points to the direct parent)
263 2004-03-25 André Pönitz <poenitz@gmx.net>
265 * inset.[Ch]: remover owner
267 * insetcollapsable.[Ch]: derive from InsetText instead having such a
275 * insetcharstyle.[Ch]:
283 * insetwrap.C: adjust
285 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
287 * insetquote.C: use opening quote after '[' char.
289 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
291 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
294 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
296 * insetcite.[Ch]: support jurabib.
298 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
300 * insetcite.C: Support second \cite option.
303 * insetcommandparams.[Ch]: add second optional argument.
305 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
307 * insetcollapsable.C (lfunMouseRelease): right mouse button only
308 shows the inset dialog.
310 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
312 * insetlabel.[Ch]: remove them
313 * Makefile.am: adjust
315 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
317 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
319 * insetinclude.C (latex): show a GUI warning if textclasses don't
321 * insetinclude.C: use mangledFilename() for temp files
322 * insetgraphics.C (readInsetGraphics): remove version check, since
323 the graphics inset has no own fileformat number anymore
325 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
327 * insetquotes.[Ch]: added new member that allows direct access
328 to single/double quotation marks.
330 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
332 2004-02-16 André Pönitz <poenitz@gmx.net>
335 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
336 implicitly assume 'DispatchResult(true, true) with exception of
337 InsetBase::priv_dispatch which does the equivalent of
338 'retrun DispatchResult(false)'
340 * inset*.[Ch] (priv_dispatch): adjust
342 * insettabular.[Ch]: remove remains of the 'update' mechanism,
343 simplify cursor moving function,
344 re-enable horizontal scrolling for large tables
346 2004-02-13 André Pönitz <poenitz@gmx.net>
348 * insettabular.[Ch]: some work after IU
350 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
352 * inset.C (setPosCache): switch to absolute coords in insets
353 * insettext.[Ch] (draw, drawFrame): adjust
354 * insetcollapsable.C (draw): adjust
357 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
359 * insettext.C (edit):
360 (updateLocal): use the cur argument instead of the global cursor
361 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
363 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
365 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
367 * insetfloat.C (validate): "H" -> 'H' in call to contains
369 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
371 2004-01-30 André Pönitz <poenitz@gmx.net>
375 * insetcollapsable.[Ch]:
378 * insetgraphics.[Ch]:
383 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
386 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
388 * insettabular.C: add using statement for std::vector, remove
389 std:: where using was already used.
391 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
393 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
395 * insetinclude.C (validate): use feautures.nice() instead of
398 2004-01-20 André Pönitz <poenitz@gmx.net>
401 * insetbase.[Ch]: move stuff from mathcursor here.
407 * insetcharstyle.[Ch]:
408 * insetcollapsable.[Ch]:
411 * insetexternal.[Ch]:
413 * insetgraphics.[Ch]:
422 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
424 2004-01-15 André Pönitz <poenitz@gmx.net>
431 * insetcharstyle.[Ch]:
432 * insetcollapsable.[Ch]:
435 * insetexternal.[Ch]:
437 * insetgraphics.[Ch]:
446 * updatableinset.[Ch] (priv_dispatch et al): change signature.
448 2004-01-08 André Pönitz <poenitz@gmx.net>
450 * insetcollapsable.[Ch]:
453 * updatableinset.h: use cell index info from global cursor.
455 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
457 * insetnote.C (InsetNoteParams::write): write label only once
459 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
461 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
463 get rid of the SameName functor
465 * insettabular.C: improve the functor.
467 2003-12-29 Angus Leeming <leeming@lyx.org>
469 * insetexternal.C (setParams): update defaultTemplateName.
471 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
473 * insetbox.C: Use term "Box" in button label
475 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
477 * insetcharstyle.C: get getDrawFont working again
479 2003-12-15 André Pönitz <poenitz@gmx.net>
482 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
484 2003-12-12 Angus Leeming <leeming@lyx.org>
486 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
488 (InsetBranchParams): remove the branchlist hack.
489 (isBranchSelected): new function, used to decide whether to
490 print each output format. Also used by InsetList.
491 (read, string2params): repair my own breakage ;-)
493 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
495 * insetminipage.[Ch]: remove from repository.
497 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
500 * insetcollapsable.[Ch]: Move all CollapseStatus code from
501 insetert to insetcollapsable; introduce virtual function
502 setButtonLabel and invoke it from collapsable
504 2003-12-12 Angus Leeming <leeming@lyx.org>
506 * insetinclude.C (draw): cache x,y and so enable the
509 2003-12-12 Angus Leeming <leeming@lyx.org>
511 * mailinset.C (print_mailer_error): tidy up the output.
513 2003-12-11 Angus Leeming <leeming@lyx.org>
515 * mailinset.[Ch] (print_mailer_error): new helper function.
517 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
518 calling InsetCommandMailer.
519 (InsetCommandMailer::string2params): pass the name of the dialog.
521 * insetbibitem.[Ch] (d-tor):
522 * insetbibtex.[Ch] (d-tor):
523 * insetcite.[Ch] (d-tor):
524 * insetfloatlist.[Ch] (d-tor):
525 * insetindex.[Ch] (d-tor):
526 * insetlabel.[Ch] (d-tor):
527 * insetref.[Ch] (d-tor):
528 * insettoc.[Ch] (d-tor):
529 * inseturl.[Ch] (d-tor): removed.
530 Hiding the dialog is handled by InsetCommand.
532 * insetbibtex.[Ch] (draw, metrics):
533 * insetfloatlist.[Ch] (draw, metrics):
534 * insetindex.[Ch] (draw, metrics): removed.
535 Drawing is handled by InsetCommand.
537 * insetbibitem.[Ch] (priv_dispatch):
538 * insetbibtex.[Ch] (priv_dispatch):
539 * insetcite.[Ch] (priv_dispatch):
540 * insetfloatlist.[Ch] (priv_dispatch):
541 * insetindex.[Ch] (priv_dispatch):
542 * insetlabel.[Ch] (priv_dispatch):
543 * insettoc.[Ch] (priv_dispatch):
544 * inseturl.[Ch] (priv_dispatch): removed or simplified.
545 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
546 LFUN_INSET_DIALOG_SHOW.
548 * insetbox.C (string2params):
549 * insetbranch.C (string2params):
550 * insetert.C (string2params):
551 * insetexternal.C (string2params):
552 * insetfloat.C (string2params):
553 * insetinclude.C (string2params):
554 * insetminipage.C (string2params):
555 * insetnote.C (string2params):
556 * insetvspace.C (string2params):
557 * insetwrap.C (string2params): over-hauled.
559 2003-12-10 Angus Leeming <leeming@lyx.org>
561 * insetexternal.[Ch]: add a draft option and respect it when
564 2003-12-10 Angus Leeming <leeming@lyx.org>
566 * insetbox.C: (read, write): now prepend the inset contents with
567 'Box' to identify the inset as a box inset.
569 * insetbox.h: move the translators out of sight.
571 2003-12-10 Angus Leeming <leeming@lyx.org>
573 * insetert.C (string2params): clean-up using the new lyxlex interface.
575 * insetexternal.C: ensure that InsetExternalParams has a default
576 template, 'RasterImage'.
578 2003-12-10 Angus Leeming <leeming@lyx.org>
580 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
581 to an enum. Ensuing clean-ups through out the class.
582 (read, write): now prepend the inset contents with 'Note' to identify
583 the inset as a note inset.
585 2003-12-10 Angus Leeming <leeming@lyx.org>
587 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
588 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
590 2003-12-10 André Pönitz <poenitz@gmx.net>
595 * insettext.[Ch]: remove unused insetInset()
597 * insetert.C: disable some LFUNs
599 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
601 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
603 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
605 2003-12-04 Angus Leeming <leeming@lyx.org>
607 * insetexternal.C (draw): update the xo_, yo_ cache.
609 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
611 (RotationDataType): new helper struct wrapping the
612 RotationData::OriginType enum.
614 2003-12-03 André Pönitz <poenitz@gmx.net>
616 * inset.h: remove getParagraphs()
618 * insetcollapsable.[Ch]:
622 * insettext.C: use getText() instead of getParagraphs()
624 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
626 * insetert.C: fix label text updating bug
628 2003-12-02 Angus Leeming <leeming@lyx.org>
630 * insetvspace.[Ch] (space): new member function. Make space_ private.
631 (read): use the new, simpler lyxlex syntax.
633 2003-12-01 André Pönitz <poenitz@gmx.net>
635 * insetcollapsable.[Ch]:
636 * insetert.[Ch]: move 'inline' state to InsetCollapsable
638 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
640 * insetvspace.C (read): handle 'end_inset' token.
642 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
644 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
646 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
648 * insetcollapsable.[Ch]:
650 * insetcharstyle.C: place inset content on the button when
653 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
655 * insetvspace.C: remove VSpace::NONE; increase inset width
657 2003-12-01 André Pönitz <poenitz@gmx.net>
659 * insetbase.h: whitespace
661 * inset.[Ch]: remove latexTextWidth
662 make setBackgroundColor virtual
664 * insettext.[Ch]: move ParagraphList member to LyXText
666 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
672 * insetminipage.[Ch]:
674 * insetwrap.[Ch]: adjust paragraphs and background color handling,
676 2003-11-28 Angus Leeming <leeming@lyx.org>
678 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
679 hiding and showing the dialog respectively.
680 (priv_dispatch): also actually update the inset contents.
682 2003-11-28 Angus Leeming <leeming@lyx.org>
684 * insetbox.C (d-tor):
685 * insetbranch.C (d-tor):
686 * insetcite.C (d-tor):
687 * insetfloat.C (d-tor):
688 * insetfloatlist.C (d-tor):
689 * insetinclude.C (d-tor):
690 * insetindex.C (d-tor):
691 simplify the invocation of the Mailer::hideDialog() function.
693 * insetminipage.C (showInsetDialog):
694 simplify the invocation of the Mailer::showialog() function.
696 2003-11-28 André Pönitz <poenitz@gmx.net>
699 * insetvspace.[Ch]: new insets
701 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
703 * insetcharstyle.C: Syntax change for CharStyles
705 2003-11-28 André Pönitz <poenitz@gmx.net>
707 * updatableinset.h: remove insetInInsetY
709 * insetcollapsable.[Ch]:
712 * insettext.[Ch]: adjust
714 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
718 * insetcollapsable.[Ch]:
720 * insettabular.[Ch]: remove setFont
722 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
724 * render_graphic.[Ch]: adjust comments
726 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
728 * insetgraphics.C (draw): cache xo_ & yo_
730 2003-11-24 André Pönitz <poenitz@gmx.net>
732 * insettext.C (setViewCache): don't call LyXText::init() anymore
734 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
737 * insetcollapsable.[Ch]:
738 * insetert.[Ch]: remove bufferview parameter in methods
739 open, close, status, and updateStatus.
741 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
743 * insetcollapsable.[Ch]:
745 * insettext.[Ch] (getCursorDim): squash unused variable
747 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
749 * insettext.C (edit): x0_,y0_ -> xo_,yo_
751 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
753 * insettext.C (draw): sets LyXText absolute coordinates
755 2003-11-20 Angus Leeming <leeming@lyx.org>
757 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
758 about unused parameters.
760 * insetcollapsable.C (open):
761 * insettabular.C (pasteSelection):
762 * insettoc.C (draw): ditto.
764 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
766 * insetcollapsable.C:
768 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
769 remove mouse_x mouse_y etc.
771 2003-11-17 André Pönitz <poenitz@gmx.net>
773 * insettext.[Ch] (cx, cy): remove
775 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
777 2003-11-13 André Pönitz <poenitz@gmx.net>
780 * insetcollapsable.[Ch]:
782 * insettext.[Ch] (deleteLyXText): remove
784 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
786 * insetcollapsable.[Ch] (fitInsetCursor): remove
787 * insettabular.[Ch] (fitInsetCursor): remove
788 * insettext.[Ch] (fitInsetCursor): remove
789 * updatableinset.[Ch] (fitInsetCursor): remove
790 (getCursorDIm): add virtual
792 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
794 * src/insets/Makefile.am:
795 * src/insets/inset.h:
796 * src/insets/insetcharstyle.C:
797 * src/insets/insetcharstyle.h: The Character Style /XML short
800 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
802 * insettext.C: remove all update calls
803 * insetcollapsable.C: remove all update calls
805 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
807 * insettext.C (updateLocal, insertInset, setFont): remove
810 2003-11-10 André Pönitz <poenitz@gmx.net>
812 * inset.h: remove Inset::id_
814 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
817 2003-11-10 André Pönitz <poenitz@gmx.net>
821 * insetcollapsable.[Ch]:
828 * updatableinset.[Ch]: remove inset locking & adjust
830 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
832 * inset.h (allowSpellCheck): add (return true)
833 * insetert.h (allowSpellCheck): add (return false)
835 2003-11-05 José Matos <jamatos@lyx.org>
843 * insetcollapsable.[Ch]:
847 * insetexternal.[Ch]:
849 * insetfloatlist.[Ch]:
851 * insetgraphics.[Ch]:
856 * insetlatexaccent.[Ch]:
859 * insetmarginal.[Ch]:
860 * insetminipage.[Ch]:
864 * insetpagebreak.[Ch]:
868 * insetspecialchar.[Ch]:
874 * insetwrap.[Ch]: rename ascii to plaintext
875 and LatexRunParams to OutputParams.
877 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
879 * insetcollapsable.C (edit): add open() all
880 * insettext.C (edit): add setViewCache call
882 2003-11-04 André Pönitz <poenitz@gmx.net>
884 * inset.h (edit): move locking code from dispatch() to edit()
890 * insetcollapsable.[Ch]:
893 * insetexternal.[Ch]:
894 * insetgraphics.[Ch]:
900 * insettext.[Ch]: adjust
902 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
905 * insetcollapsable.[Ch]:
909 * updatableinset.[Ch]: remove dead search code
911 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
914 * insetcollapsable.[Ch]:
918 * updatableinset.[Ch]: remove dead spellcheck code
920 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
922 * insettabular.C (lockInsetInInset): small fix
924 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
926 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
927 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
928 from here. Be stricter on DispatchResult returned.
930 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
932 * Inset::dispatch's: adjust for new DispatchResult semantics.
934 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
936 * render_base.h: make clone return an auto_ptr
937 * render_button.C (clone): adjust
938 * render_graphic.C (clone): adjust
939 * render_preview.C (clone): adjust
941 * insettheorem.C (clone): return an auto_ptr
943 * insettext.C (priv_dispatch): exception safety
945 * insettabular.C: store the file scope variable paste_tabular in a
946 scoped_ptr, adjust usage.
948 * insetexternal.C (setParams): exception safety
950 * insetbibitem.C (clone): exception safety
952 2003-11-03 André Pönitz <poenitz@gmx.net>
955 * insetcollapsable.[Ch]:
957 * insettext.[Ch]: remove Inset::id and related functions
959 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
961 * insets: adjust for DispatchResult changes.
963 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
965 * insetpagebreak.C: fix screen representation & ascii output.
967 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
972 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
974 2003-10-31 José Matos <jamatos@lyx.org>
976 * inset.h (ascii, linuxdoc, docbook):
977 * insetbox.[Ch] (ascii, linuxdoc, docbook):
978 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
979 * insetcaption.[Ch] (ascii, docbook):
980 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
981 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
982 * insetert.[Ch] (ascii, linuxdoc, docbook):
983 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
984 * insetfloat.[Ch] (linuxdoc, docbook):
985 * insetfloatlist.[Ch] (ascii):
986 * insetfoot.[Ch] (docbook):
987 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
988 * insethfill.[Ch] (ascii, linuxdoc, docbook):
989 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
990 * insetindex.[Ch] (docbook):
991 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
992 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
993 * insetline.[Ch] (ascii, linuxdoc, docbook):
994 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
995 * insetnote.[Ch] (ascii, linuxdoc, docbook):
996 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
997 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
998 * insetref.[Ch] (ascii, linuxdoc, docbook):
999 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1000 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1001 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1002 * insettext.[Ch] (ascii, linuxdoc, docbook):
1003 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1004 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1005 * insetwrap.[Ch] (docbook):
1006 add LatexRunParams argument.
1008 2003-10-30 José Matos <jamatos@lyx.org>
1010 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1012 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1014 * updatableinset.C (priv_dispatch):
1015 * insetwrap.C (priv_dispatch):
1016 * inseturl.C (priv_dispatch):
1017 * insettoc.C (priv_dispatch):
1018 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1019 (moveLeftIntern, moveUp, moveDown):
1020 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1021 (moveLeft, moveUp, moveDown):
1022 * insetref.C (priv_dispatch):
1023 * insetnote.C (priv_dispatch):
1024 * insetminipage.C (priv_dispatch):
1025 * insetlabel.C (priv_dispatch):
1026 * insetindex.C (priv_dispatch):
1027 * insetinclude.C (priv_dispatch):
1028 * insetgraphics.C (priv_dispatch):
1029 * insetfloatlist.C (priv_dispatch):
1030 * insetfloat.C (priv_dispatch):
1031 * insetexternal.C (priv_dispatch):
1032 * insetert.C (priv_dispatch):
1033 * insetcommand.C (priv_dispatch):
1034 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1035 * insetcite.C (priv_dispatch):
1036 * insetbranch.C (priv_dispatch):
1037 * insetbox.C (priv_dispatch):
1038 * insetbibtex.C (priv_dispatch):
1039 * insetbibitem.C (priv_dispatch):
1040 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1042 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1044 * insettext.C: small refactoring of docbook stuff
1046 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1048 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1049 (priv_dispatch): adjust for operator dispatch_result_t removal
1051 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1052 in a DispatchResult, adjust accordingly.
1053 (priv_dispatch): use strange >= construct... (will be removed later)
1055 * most insets: dispatch_result -> DispatchResult
1057 * insetbase.h: move DispatchResult out to dispatchresult.h
1059 2003-10-27 André Pönitz <poenitz@gmx.net>
1061 * insetpagebreak.[Ch]: new inset for page breaks
1063 * insetline.[Ch]: new inset for vertical lines
1068 2003-10-25 Angus Leeming <leeming@lyx.org>
1070 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1071 new virtual member functions, specialised...
1072 * render_button.h (asButton):
1073 * render_graphic.h (asGraphic):
1074 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1076 * insetexternal.C: use these new functions rather than dynamic_cast.
1077 Various other small simplifications.
1079 2003-10-22 Angus Leeming <leeming@lyx.org>
1081 * insetexternal.[Ch]: add the ability to 'preview' the external file
1084 * insetinclude.C: changes due to the changes in the RenderPreview
1087 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1088 message if the preview image is not available. Only initiate the
1089 loading of the preview from draw(). Ditto, start the monitoring
1090 of an external file from RenderMonitoredPreview::draw.
1092 2003-10-22 Angus Leeming <leeming@lyx.org>
1094 * insetcite.[Ch] (setLoadingBuffer): removed.
1095 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1096 ascertain whether to proceed with the (expensive) task of computing
1097 the natbib-style label. Remove the home-grown hack providing
1098 similar functionality.
1100 2003-10-22 Angus Leeming <leeming@lyx.org>
1102 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1103 class and into an anonymous namespace.
1105 2003-10-22 Angus Leeming <leeming@lyx.org>
1107 * insetcommand.h: remove the display method.
1111 * insetindex.h (InsetPrintIndex):
1112 * insettoc.h: add a display method, returning true.
1114 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1116 * insetcollapsable.h:
1120 * insetinclude.h: (1) finish off the inset display() work;
1121 (2) fix the "is a bit silly" bug (accessing char
1124 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1128 * insetfootlike.h: re-introduce display() for insets,
1129 fixing the various bugs (stretch of line above, math inset
1132 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1134 * insetbase.C (dispatch): new func
1135 (priv_dispatch): new func replaces...
1136 (localDispatch): this, deleted.
1138 * all insets with dispatch modified for new code.
1140 2003-10-15 André Pönitz <poenitz@gmx.net>
1142 * insetcollapsable.[Ch]
1144 * inset.h: re-add some edit(bv, index) method called by undo
1146 2003-10-14 Angus Leeming <leeming@lyx.org>
1148 * insetexternal.[Ch] (view, cache, view_):
1149 * insetgraphics.[Ch] (view, cache, view_):
1150 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1151 (statusChanged): call LyX::cref().updateInset.
1153 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1154 the BufferView cache.
1156 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1159 2003-10-14 Angus Leeming <leeming@lyx.org>
1161 * insetinclude.C (metrics, draw): only draw the preview when previews
1164 2003-10-14 André Pönitz <poenitz@gmx.net>
1166 * insetcollapsable.[Ch]:
1167 * insettabular.[Ch]:
1169 * inset.h: getText() as alternative to getParagraphs()
1171 2003-10-13 Angus Leeming <leeming@lyx.org>
1174 * insetgraphicsParams.C: displayTranslator is now a function.
1176 2003-10-13 Angus Leeming <leeming@lyx.org>
1178 * insetinclude.C: remove #include "PreviewImage.h".
1180 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1182 * ExternalSupport.C:
1183 * ExternalTransforms.C:
1185 * insetbox.h: ws changes only
1187 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1189 * insetinclude.C (localDispatch): do not call
1190 InsetOld::localDispatch, just return UNDISPATCHED
1191 * insetgraphics.C (localDispatch): ditto
1192 * insetcommand.C (localDispatch): ditto
1194 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1196 * inset.h: get rid of RESULT typedef for dispatch_result
1198 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1199 * insetert.[Ch] (localDispatch): ditto
1200 * insettabular.[Ch] (localDispatch): ditto
1205 * insettext.[Ch] (localDispatch): ditto
1208 (moveRightIntern): ditto
1209 (moveLeftIntern): ditto
1212 * updatableinset.[Ch] (localDispatch): ditto
1214 2003-10-12 Angus Leeming <leeming@lyx.org>
1216 * renderbase.h (view, view_): removed.
1217 * renderbase.C: removed.
1218 * Makefile.am: remove render_base.C. The shortest lived file in
1221 * renderbutton.C (draw):
1222 * render_graphic.C (draw): don't cache the BufferView.
1224 * insetabase.h (cache, view): removed.
1226 * inset.h (generatePreview) removed.
1228 * insetcallapsable.[Ch] (cache, view, view_): removed.
1230 * insetcollapsable.C (draw): don't cache the BufferView.
1232 * insetcommand.[Ch] (view): removed.
1234 * insetexternal.[Ch] (cache, view, view_):
1235 * insetgraphics.[Ch] (cache, view, view_):
1236 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1238 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1239 when you have direct access to it. In fact, don't use the cache at all.
1241 2003-10-10 Angus Leeming <leeming@lyx.org>
1243 * insetinclude.C (metrics): use preview_->metrics.
1244 (draw): use preview_->draw.
1246 * render_preview.[Ch] (pimage): removed.
1248 2003-10-10 Angus Leeming <leeming@lyx.org>
1250 * renderers.[Ch]: removed.
1253 * render_button.[Ch]:
1254 * render_graphic.[Ch]:
1255 * render_preview.[Ch]: new files. The first three are split out of
1256 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1257 contains a re-worked InsetInclude::PreviewImpl also.
1259 * Makefile.am: reflect the changed files.
1262 * insetexternal.[Ch]:
1263 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1265 * insetinclude.[Ch]: changes reflecting the change from
1266 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1272 * inseturl.C: add #include "support/std_ostream.h"
1274 2003-10-09 Angus Leeming <leeming@lyx.org>
1276 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1277 to PreviewedInset::previewReady.
1279 2003-10-09 Angus Leeming <leeming@lyx.org>
1281 * insetexternal.[Ch] (statusChanged):
1282 * insetgraphics.[Ch] (statusChanged): make a const member function.
1284 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1287 2003-10-09 Angus Leeming <leeming@lyx.org>
1289 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1290 to PreviewedInset's previewReady and removePreview member functions.
1292 2003-10-08 André Pönitz <poenitz@gmx.net>
1294 * insetcollapsable.C:
1295 * insettext.[Ch]: saner 'init' structure
1297 * updatableinset.[Ch]: remove unneeded code
1299 2003-10-08 Angus Leeming <leeming@lyx.org>
1301 Fix doxygen warnings.
1303 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1304 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1306 2003-10-07 Angus Leeming <leeming@lyx.org>
1308 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1309 be applied to InsetExternal.
1311 * Makefile.am: add these new files.
1313 * ExternalTemplate.[Ch]: add a list of available transforms to
1314 class Template and a list of factory functions for transformer classes
1315 that can act on this data to class Format.
1317 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1319 * ExternalSupport.C: Add code to replace transform placeholders
1320 with appropriate output.
1322 2003-10-07 Angus Leeming <leeming@lyx.org>
1324 * ExternalSupport.[Ch]: new files, moving the private member functions
1325 and namespace anon functions out of insetexternal.C to here, so making
1326 it easier to understand what is going on in insetexternal itself.
1328 * Makefile.am: add new files.
1330 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1331 allowing the class to be forward declared. (Also consistent with
1332 all other Params classes.)
1333 (write): moved out of the class. Move this function and those in
1334 namespace anon to ExternalSupport.[Ch].
1336 2003-10-07 Angus Leeming <leeming@lyx.org>
1338 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1339 non-const member function.
1341 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1346 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1348 2003-10-02 André Pönitz <poenitz@gmx.net>
1350 * insettext.C (read): make sure there is at least one par
1351 in the text after reading.
1353 2003-10-01 José Matos <jamatos@lyx.org>
1355 * insetbranch.C (linuxdoc, docbook): minor fix.
1357 2003-10-01 Angus Leeming <leeming@lyx.org>
1359 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1361 * insetexternal.[Ch]: changes due to the introduction of
1362 namespace lyx::external.
1364 2003-09-30 Angus Leeming <leeming@lyx.org>
1366 * insetexternal.[Ch] (Params::read, write): new member functions.
1368 2003-09-25 Angus Leeming <leeming@lyx.org>
1370 * insetexternal.[Ch] (TempName): new (private) nested struct with
1371 fake copy semantics. Enables us to use the generated copy c-tor
1372 in the Params struct.
1373 (Params::templatename, Params::tempname): use accessor functions.
1375 2003-09-25 Angus Leeming <leeming@lyx.org>
1377 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1378 function, returning a const pointer.
1380 2003-09-23 Angus Leeming <leeming@lyx.org>
1382 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1383 store them in a vector, preambleNames.
1385 * insetexternal.C (validate): loop over all preambleNames and call
1386 LaTeXFeatures::addExternalPreamble with each.
1388 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1390 * insetbranch.C: bug fix in branches
1392 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1394 * insetnote.C: small clean-up.
1396 2003-09-19 Angus Leeming <leeming@lyx.org>
1398 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1400 * insetcommand.C (string2params): clear params using the default c-tor.
1402 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1403 InsetInclude::Params. No more data in this struct than in
1404 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1405 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1406 (clone): remove #warning as it's now redundant.
1407 (set): add a 'Buffer const &' arg. Make private.
1408 (loadIfNeeded) move out of the class definition and into namespace anon.
1409 (getMasterFilename, getFileName): ditto.
1411 2003-09-18 Angus Leeming <leeming@lyx.org>
1413 * insetcommand.C (setParams): use the params' copy constructor.
1415 2003-09-18 Angus Leeming <leeming@lyx.org>
1417 * insetinsetbase.h (getLabelList):
1418 * insetinsetcollapsable.[Ch] (getLabelList):
1419 * insetinsetinclude.[Ch] (getLabelList):
1420 * insetinsetlabel.[Ch] (getLabelList):
1421 * insetinsettabular.[Ch] (getLabelList):
1422 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1423 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1425 2003-09-18 Angus Leeming <leeming@lyx.org>
1427 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1428 redundant baggage from yesteryear.
1429 Remove Params::flag as it is redundant; the info is present in
1432 2003-09-18 Angus Leeming <leeming@lyx.org>
1434 * insetinclude.C (latexString): add a Buffer const & arg.
1436 2003-09-18 Angus Leeming <leeming@lyx.org>
1441 * insettext.h: rename EnumLColor as LColor_color.
1443 2003-09-18 Angus Leeming <leeming@lyx.org>
1445 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1446 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1448 2003-09-16 Angus Leeming <leeming@lyx.org>
1450 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1451 set before trying to generate a preview, else we trigger an assert.
1453 2003-09-16 Angus Leeming <leeming@lyx.org>
1455 * insetinclude.C (PreviewImpl::parent): return a const reference.
1457 2003-09-16 Angus Leeming <leeming@lyx.org>
1459 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1461 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1463 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1464 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1466 * insetminipage.C (metrics):
1467 * insetnote.C (metrics):
1468 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1469 access collapsed_ directly.
1471 2003-09-16 Angus Leeming <leeming@lyx.org>
1473 * insetbibitem.C: add #include "lyxfont.h".
1475 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1478 * insetbibtex.C: use namespace alias for lyx::support::os
1480 2003-09-16 Angus Leeming <leeming@lyx.org>
1482 * insetcollapsable.h: remove unused framecolor variable.
1483 Remove #include "LColor.h".
1485 * insetcollapsable.C: remove unused framecolor variable.
1488 * insetcollapsable.C:
1496 Add #include "LColor.h".
1498 2003-09-16 Angus Leeming <leeming@lyx.org>
1500 * insettext.[Ch] (frameColor): new accessor function.
1501 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1507 add #include "LColor.h".
1509 * insetcollapsable.h: add #include "LColor.h"
1510 (for its framecolor member variable).
1512 2003-09-16 Angus Leeming <leeming@lyx.org>
1514 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1516 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1517 rename frame_color as frame_color_. Make private.
1519 * insettext.C: associated changes.
1521 2003-09-16 Angus Leeming <leeming@lyx.org>
1523 * inset.h: store background_color_ as an int, not as an LColor::color to
1524 get LColor.h out of the header file.
1527 * insetlatexaccent.C:
1530 * insetspecialchar.C:
1532 add #include "LColor.h".
1534 2003-09-16 Angus Leeming <leeming@lyx.org>
1536 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1539 2003-09-15 Angus Leeming <leeming@lyx.org>
1541 * inset.[Ch] (setBackgroundColor, backgroundColor):
1542 * insettext.[Ch] (setFrameColor):
1543 pass EnumLColor args, rather than LColor::color ones.
1545 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1555 * insetwrap.C: remove usage of STRCONV
1557 2003-09-15 Angus Leeming <leeming@lyx.org>
1559 * renderers.C (draw):
1560 * insetlatexaccent.C (draw): explicitly define the color passed to
1563 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1565 * insettext.C: remove block causing problems in lockInsetInInset
1566 (mentioned erroneously under Bug #1366)
1568 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1570 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1573 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1575 * several files: change Assert to BOOST_ASSERT
1577 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1579 * insettext.[Ch]: remove drawText[XY]Offset
1581 2003-09-08 Angus Leeming <leeming@lyx.org>
1583 * insetcollapsable.C:
1588 * insetspecialchar.C:
1591 * insettoc.C: remove redundant using directives.
1593 2003-09-07 Angus Leeming <leeming@lyx.org>
1596 * insetspecialchar.h: remove #include "support/std_string.h".
1598 2003-09-06 Angus Leeming <leeming@lyx.org>
1600 * renderers.C: add #include "insets/inset.h"
1602 2003-09-05 Angus Leeming <leeming@lyx.org>
1604 * *.C: strip out redundant #includes. (193 in total.)
1606 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1608 * insets/insetbibtex.[Ch]:
1609 * insets/insetcommand.h:
1610 * insets/insetfloatlist.[Ch]:
1611 * insets/insetinclude.[Ch]:
1612 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1613 of insets like bibtex, include, toc and floatlist to the visible
1614 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1615 up the dialogs. Cursor has to be in front of the inset (i.e.
1616 start of row) for this to function.
1618 2003-09-04 Angus Leeming <leeming@lyx.org>
1620 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1621 structure outside of the Format struct. Format::preambleName refers to
1622 an item in the map of all preamble snippets.
1623 Make use of the new Debug::EXTERNAL flag.
1625 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1626 (validate): Small change due to the changed storage of preamble snippets.
1628 2003-09-04 Angus Leeming <leeming@lyx.org>
1630 * insetgraphics.C: #include "support/os.h"
1632 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1633 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1634 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1636 * insetcollapsable.h:
1638 * insetnote.C: move #include "funcrequest.h" out of the header file.
1640 2003-09-03 Angus Leeming <leeming@lyx.org>
1642 * insetexternal.C (updateExternal):
1643 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1646 2003-09-03 Angus Leeming <leeming@lyx.org>
1648 * insetexternal.C: don't bring namespace lyx::support into the global
1651 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1653 * insetbranch.C: Add Branch: to label
1655 2003-09-02 John Levon <levon@movementarian.org>
1658 * insettext.C: remove cursor.i[xy]()
1660 2003-08-28 Angus Leeming <leeming@lyx.org>
1662 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1663 "sh ", enabling the conversion to be carried out even if the script
1666 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1668 * most files: change to use const Buffer refs
1670 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1672 * insetfootlike.C: whitespace.
1674 2003-08-26 John Levon <levon@movementarian.org>
1678 * insetindex.h: remove remaining mentions of needFullRow()
1680 2003-08-26 André Pönitz <poenitz@gmx.net>
1686 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1688 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1690 * insetbranch.C: Small fix to prevent a crash on loading.
1692 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1697 * insetcollapsable.h:
1699 * insetfloatlist.[Ch]:
1700 * insetfootlike.[Ch]:
1701 * insetinclude.[Ch]:
1707 * insettheorem.[Ch]:
1708 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1709 altogether, putting the logic in metrics/draw in the insets.=20
1710 Draws short single row insets with more or less realistic metrics.
1712 2003-08-19 André Pönitz <poenitz@gmx.net>
1714 * insettext.C: use new RowPainter interface
1716 2003-08-18 John Levon <levon@movementarian.org>
1718 * insetref.C: require amsmath for eqref
1720 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1724 * insetbranch.[Ch]: implements the 'branch inset'
1725 idea. This allows the output of various versions of a document
1726 from a single source version, selectively outputing or suppressing
1727 output of parts of the text.
1728 This implementation contains a 'branch list editor' in a separate
1729 tab of the document settings dialog. Branches are user definable
1730 and have a "display colour" to distinguish them on-screen.
1732 ColorHandler was somewhat cleaned up.
1733 (1) make possible a dynamically growing LColor list by allowing
1734 the graphic context cache to grow along (vector);
1735 (2) eliminate an IMHO unnecessary step in colour allocation.
1737 2003-08-15 André Pönitz <poenitz@gmx.net>
1739 * insettext.[Ch]: adjust after rowlist split
1741 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1743 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1744 rename valign-center to valign-middle;
1745 rename VALIGN_CENTER to VALIGN_MIDDLE
1747 2003-08-11 André Pönitz <poenitz@gmx.net>
1749 * inset.h: remove resizeLyXText
1752 * insetcollapsable.[Ch]:
1754 * insettabular.[Ch]: adjust
1756 * insettext.[Ch]: remove saveLyXTextState,
1757 restoreLyXTextStat, sstate, reinitLyXText
1759 2003-08-07 André Pönitz <poenitz@gmx.net>
1761 * inset.[Ch]: move non-crucial functions out-of-line
1763 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1764 remove duplicated code.
1766 2003-08-05 André Pönitz <poenitz@gmx.net>
1769 * insetcollapsable.[Ch]:
1779 * insettabular.[Ch]:
1782 * updatableinset.[Ch]: rip out "deep update"
1784 * insettext.C (localDispatch): merge cases with default branch
1786 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1788 * insettabular.[Ch] (updateLocal): simplify logic
1790 2003-08-04 André Pönitz <poenitz@gmx.net>
1792 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1793 is 'FULL' all the time.
1795 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1797 * insetert.C (get_new_label): only add ... to the (closed) label
1798 when the string has been shortened
1800 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1802 * Always use std::endl with lyxerr
1804 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1806 * insetnote.C: update \author list
1808 2003-07-31 André Pönitz <poenitz@gmx.net>
1810 * insetcollapsable.h:
1811 * insettabular.[Ch]:
1812 * insettext.[Ch]: remove toggleSelection
1814 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1816 (with help from Juergen Spitzmueller)
1817 * insetnote.C: add add i18n support. Use Prefs-definable
1818 colours for Comment and Greyedout.
1820 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1822 * insetcollapsable.[Ch]:
1824 * insetert.C: factor out the detection of clicking on the inset
1825 button as 'hitButton'. John Levon contributed.
1827 2003-07-30 André Pönitz <poenitz@gmx.net>
1829 * insetcollapsable.C:
1831 * insettabular.C: parantheses, localize vars etc.
1833 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1835 * insetnote.C: Implement a newenvironment in preamble for
1836 greyedout. Patch provided by Jürgen Spitzmüller.
1838 2003-07-29 Angus Leeming <leeming@lyx.org>
1840 * insetcommand.C (localDispatch): default to
1841 InsetOld::localDispatch.
1843 * insetbibitem.C (localDispatch):
1844 * insetbibtex.C (localDispatch): remove call to
1845 ChangeCitationsIfUnique.
1847 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1849 * insetexternal.C (read): use pushpophelper.
1851 2003-07-28 José Matos <jamatos@lyx.org>
1853 * insetext.C (read): \end_document replaces \the_end.
1855 2003-07-28 José Matos <jamatos@fep.up.pt>
1857 * insetert.C (write): \layout -> \begin_layout.
1858 Add missing \end_layout.
1860 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1862 * insetquotes.C: document a bit the format
1864 * insettabular.C (write): remove extra space
1866 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1867 * insetnote.C: Umpf. Hope I *now* get it right :-(
1869 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1870 *insetnote.C: did the right fix to greyedout: \color
1871 instead of \textcolor.
1873 2003-07-28 Angus Leeming <leeming@lyx.org>
1875 * insetbibtex.h: remove extraneous forward declaration.
1878 * insetbibtex.h: Also remove long-dead Holder member class
1881 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1883 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1886 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1888 * insetwrap.C (addToToc): adjust for lyx::toc
1890 * insetfloatlist.C (ascii): adjust for lyx::toc
1892 * insetfloat.C (addToToc): adjust for lyx::toc
1894 2003-07-27 José Matos <jamatos@fep.up.pt>
1896 * insetnote.h (linuxdoc,docbook): update support.
1898 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1900 * insetfloat.C (wide): add a space to label, for consistency
1902 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1904 * insettext.C (nextChange): adjust for lyx::find
1905 (searchForward): ditto
1906 (searchBackward): ditto
1908 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1910 * insetgraphicsParams.C:
1911 * insetexternal.C: declare extern displayTranslator
1914 * renderers.C: add #include "support/LAssert.h"
1916 2003-07-27 José Matos <jamatos@fep.up.pt>
1918 * insetfloat.[Ch] (linuxdoc):
1919 * insetgraphics.C (linuxdoc):
1920 * insettabular.C (linuxdoc):
1921 * insettext.[Ch] (linuxdoc): add support for tables and figures
1924 2003-07-27 José Matos <jamatos@fep.up.pt>
1926 * insetinclude (latex): comply with makeLaTeXFile argument change.
1928 2003-07-26 Asger Alstrup <alstrup@local>
1930 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1931 the undo crashes. We'll see what problems other places this will
1934 2003-07-26 Angus Leeming <leeming@lyx.org>
1936 * insetgraphics.C: remove unused declaration of system_tempdir.
1938 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1940 * rename Inset to InsetOld
1942 * all inset files (clone): return a auto_ptr<InsetBase>
1944 2003-07-23 Angus Leeming <leeming@lyx.org>
1946 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1948 2003-07-23 Angus Leeming <leeming@lyx.org>
1950 * mailinset.[Ch] (inset2string):
1951 * insetcommand.[Ch] (inset2string):
1952 * insetert.[Ch] (inset2string):
1953 * insetexternal.[Ch] (inset2string):
1954 * insetfloat.[Ch] (inset2string):
1955 * insetgraphics.[Ch] (inset2string):
1956 * insetinclude.[Ch] (inset2string):
1957 * insetminipage.[Ch] (inset2string):
1958 * insetnote.[Ch] (inset2string):
1959 * insettabular.[Ch] (inset2string):
1960 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1962 * insetexternal.[Ch]:
1963 * insetgraphics.[Ch]: get rid of the view() function. Associated
1964 changes to the mailers' string2params and params2string functions.
1966 2003-07-23 Angus Leeming <leeming@lyx.org>
1968 * insetexternal.[Ch]: store the external file name in a FileName
1969 member variable rather than a string + associated changes.
1971 2003-07-21 Angus Leeming <leeming@lyx.org>
1973 * insetgraphicsParams.[Ch]: store the graphics file name in
1974 a FileName member variable rather than a string.
1976 * insetgraphics.[Ch]:
1977 * insetgraphicsParams.[Ch]: Associated changes.
1979 2003-07-21 Angus Leeming <leeming@lyx.org>
1981 * insetgraphics.[Ch] (string2params, params2string): passed a
1982 buffer_path argument.
1985 2003-07-21 Angus Leeming <leeming@lyx.org>
1988 * insetgraphicsParams.[Ch]:
1990 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1992 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1994 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1996 2003-07-18 André Pönitz <poenitz@gmx.net>
1999 * insetminipage.[Ch]:
2000 * insettabular.[Ch]:
2003 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2005 2003-07-18 André Pönitz <poenitz@gmx.net>
2009 * insetcollapsable.C:
2013 * insetgraphics.[Ch]:
2014 * insetlatexaccent.[Ch]:
2019 * insetspecialchar.C:
2020 * insettabular.[Ch]:
2022 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2024 2003-07-17 André Pönitz <poenitz@gmx.net>
2026 * insetcollapsable.C:
2028 * insettext.C: don't call Inset::update() anymore
2031 * insettabular.[Ch]: remove unneeded in_update_ members
2033 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2035 2003-07-16 André Pönitz <poenitz@gmx.net>
2037 * insettext.C (selectAll): remove
2039 2003-07-16 John Levon <levon@movementarian.org>
2042 * insetnote.C: implement showInsetDialog()
2044 2003-07-15 André Pönitz <poenitz@gmx.net>
2047 * insettext.C: refresh_status tristate -> need_update bool
2049 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2051 * insettext.C: adjust call to LyXText::init
2053 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2055 * insettext.C: use bufferview_funcs->replaceSelection()
2056 to delete selections in some cases (bugs 441, 673, 702, 954).
2058 2003-07-14 André Pönitz <poenitz@gmx.net>
2060 * insettext.C (draw): use slimmed down rowpainter interface
2062 2003-07-14 André Pönitz <poenitz@gmx.net>
2064 * insetcollapsable.C:
2066 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2067 remove unused BufferView * argument
2069 2003-07-14 André Pönitz <poenitz@gmx.net>
2071 * insettext.[Ch]: used cached metrics a bit more
2073 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2075 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2077 2003-07-10 André Pönitz <poenitz@gmx.net>
2080 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2082 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2084 * introduce namespace lyx::graphics
2086 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2088 * introduce namespace lyx::support
2090 2003-06-30 André Pönitz <poenitz@gmx.net>
2092 * insetcite.C (localDispatch): fix case of missing return value
2094 * insetcite.C (ascii): remove unneeded temporary
2096 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2098 * insetspace.h: fix \file
2100 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2101 * insetinclude.C (fillWithBibKeys): ditto
2103 * insetbibitem.C: fix type const order
2105 * inset.C (getLyXText): add varname for arg
2107 * ExternalTemplate.h: fix type const order
2109 2003-06-27 André Pönitz <poenitz@gmx.net>
2111 * insettext.C: take care of removed LyXCursor::row_ member
2113 * insettext.[Ch]: use new TextCursor struct for sstate
2115 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2117 * inseterror.[Ch]: removed
2119 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2121 * insetinclude.C (docbook): use parseError instead of sgmlError
2123 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2125 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2126 of BufferList::loadLyXFile
2128 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2130 * insettext.C (update): simplify
2131 (updateLocal): remove commented code
2132 (insetUnlock): simplify
2133 (lockInset): simplify
2134 (updateInsetInInset): simplify
2135 (localDispatch): simplify
2137 (resizeLyXText): simplify
2138 (collapseParagraphs): simplify
2140 * insetert.C (get_new_label): simplify
2142 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2144 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2145 pasteSelection with index
2147 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2149 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2151 2003-06-16 André Pönitz <poenitz@gmx.net>
2153 * insetbase.h: new virtual base function clone()
2155 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2156 Inset * clone() -> InsetBase * clone()
2158 2003-06-13 André Pönitz <poenitz@gmx.net>
2160 * insettabular.[Ch]: make tabular a proper member
2162 2003-06-12 André Pönitz <poenitz@gmx.net>
2164 * insettabular.[Ch]: some renaming plus whitespace
2166 2003-06-11 Angus Leeming <leeming@lyx.org>
2168 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2171 * insetbutton.[Ch]: removed.
2172 * graphicinset.[Ch]: renamed as renderers.[Ch].
2174 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2175 Create a new class ButtonRenderer using the InsetButton::metrics() and
2177 Derive both from a common RenderedInset base class.
2179 * insetcommand.[Ch]:
2180 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2181 Give it a ButtonRenderer member variable. Use it.
2182 Give the classes working copy c-tors.
2183 No longer derive from boost::noncopyable.
2185 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2186 display its contents as a button or as a graphic.
2188 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2191 2003-06-11 Angus Leeming <leeming@lyx.org>
2193 * insetcite.C (localDispatch): reformat.
2195 * insetref.C (localDispatch): enable dialog to be lauched.
2197 2003-06-11 John Levon <levon@movementarian.org>
2199 * insettabular.C: correctly mark all cells as erased
2201 2003-06-11 Angus Leeming <leeming@lyx.org>
2203 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2204 ExternalTemplate but its name, templatename. This means that a file
2205 containing a reference to an External Template not installed on the
2206 current machine will be saved retaining this info rather than inserting
2207 the first "valid" template from the list of templates.
2209 As a by product, the visual statement that the Template is missing is
2212 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2214 * insettext.C (appendParagraphs): remove some commented code.
2216 2003-06-10 Angus Leeming <leeming@lyx.org>
2218 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2221 * insetexternal.[Ch]: move tempname_ into the Params struct.
2222 (Params d-tor): new function, to clean-up this temp file.
2223 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2225 (editExternal, doSubstitution): move out of class.
2227 2003-06-10 Angus Leeming <leeming@lyx.org>
2229 * graphicinset.[Ch] (params): removed.
2230 * graphicinset.h (operator=): declared private but not defined.
2231 (statusMessage): made private.
2233 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2235 2003-06-07 John Levon <levon@movementarian.org>
2237 * insetert.C (latex): make a newline mean just that not
2240 2003-06-07 José Matos <jamatos@fep.up.pt>
2242 * insethfill.[Ch] (linuxdoc, docbook): implement output
2243 * insetspace.C (linuxdoc, docbook): remove coments as the code
2246 2003-06-06 José Matos <jamatos@fep.up.pt>
2248 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2250 2003-06-06 André Pönitz <poenitz@gmx.net>
2252 * insetwrap.[Ch]: code compactification
2254 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2256 * mailinset.C (updateDialog): use Dialogs::visible
2258 2003-06-04 Angus Leeming <leeming@lyx.org>
2260 * graphicinset.C (draw): add a comment for the #if 0 block.
2262 * insetexternal.h: remove Params::parameters variable.
2263 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2264 and read it back making full use of LyXLex.
2266 2003-06-04 André Pönitz <poenitz@gmx.net>
2268 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2270 2003-06-04 John Levon <levon@movementarian.org>
2272 * insettabular.C: back out tall table speed up. It was broken
2274 2003-06-03 Angus Leeming <leeming@lyx.org>
2276 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2277 Remove ViewCommand and UpdateCommand.
2279 * graphicinset.C (update): bug fix. Set the params before calling the
2281 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2282 BufferView cache to enable the InsetExternal::editCommand to be invoked
2283 from the frontends. Would not be needed if this were dispatched properly.
2284 (old_ascent_): variable removed.
2286 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2287 do any necessary conversions of external material. Also use the
2288 new GraphicsInset to display the inset within LyX.
2290 2003-06-03 Angus Leeming <leeming@lyx.org>
2292 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2293 and move it somewhere where InsetExternal can use it too.
2295 * Makefile.am: add the new files.
2297 * insetgraphics.[Ch]: make use of the new GraphicInset.
2299 2003-06-03 John Levon <levon@movementarian.org>
2302 * insetbibitem.[Ch]:
2305 * insetcommand.[Ch]:
2309 * insetexternal.[Ch]:
2313 * insetgraphics.[Ch]:
2315 * insetinclude.[Ch]:
2318 * insetlatexaccent.[Ch]:
2319 * insetmarginal.[Ch]:
2320 * insetminipage.[Ch]:
2327 * insetspecialchar.[Ch]:
2328 * insettabular.[Ch]:
2330 * insetthereom.[Ch]:
2333 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2335 * insetgraphics.[Ch]:
2336 * insetgraphicsParams.[Ch]: always store an absolute
2339 2003-06-02 André Pönitz <poenitz@gmx.net>
2343 * insetlatexaccent.C: remove duplicated call to metrics()
2345 2003-06-02 John Levon <levon@movementarian.org>
2347 * insettabular.C: fix resize of column width
2349 2003-06-02 John Levon <levon@movementarian.org>
2354 * insetparent.C: remove insetparent
2356 2003-06-02 André Pönitz <poenitz@gmx.net>
2363 * insetcollapsable.[Ch]:
2367 * insetgraphics.[Ch]:
2368 * insetinclude.[Ch]:
2369 * insetlatexaccent.[Ch]:
2370 * insetminipage.[Ch]:
2371 * insetnewline.[Ch]:
2374 * insetspecialchar.[Ch]:
2375 * insettabular.[Ch]:
2376 * insettext.[Ch]: unify first drawing phase
2379 * insetbase.h: move validate() to the base
2381 2003-05-31 Angus Leeming <leeming@lyx.org>
2383 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2385 2003-05-30 André Pönitz <poenitz@gmx.net>
2390 * insetcaption.[Ch]:
2391 * insetcollapsable.[Ch]:
2394 * insetgraphics.[Ch]:
2395 * insetinclude.[Ch]:
2396 * insetlatexaccent.[Ch]:
2397 * insetnewline.[Ch]:
2400 * insetspecialchar.[Ch]:
2401 * insettabular.[Ch]:
2403 * updatableinset.[Ch]: unify second drawing phase
2405 2003-05-30 John Levon <levon@movementarian.org>
2407 * insetgraphics.C: fix a bformat
2409 2003-05-29 John Levon <levon@movementarian.org>
2411 * insettabular.C: remove unused bufferOwner()
2413 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2415 * insettext.C (lockInsetInInset): adjust
2416 (getLabelList): use const_iterator, adjust
2417 (getInsetFromID): use const_iterator, adjust
2418 (addPreview): use const_iterator, adjust
2420 * insetwrap.C (clone): remove const_cast
2422 * insetnote.C (clone): remove const_cast
2424 * insetminipage.C (clone): remove const_cast
2426 * insetmarginal.C (clone): remove const_cast
2428 * insetfoot.C (clone): remove const_cast
2430 * insetfloat.C (clone): remove const_cast
2432 * insetert.C (clone): remove const_cast
2434 * delete commented same_id functions from a lot of files.
2436 2003-05-28 John Levon <levon@movementarian.org>
2442 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2444 * insetminipage.C: fix metrics (bug 1144)
2446 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2448 * insettext.C (saveLyXTextState): adjust
2449 (restoreLyXTextState): adjust
2452 (unlockInsetInInset): adjust
2453 (localDispatch): adjust
2454 (getLyXText): adjust
2456 * insettabular.C (insertAsciiString): adjust
2458 2003-05-27 André Pönitz <poenitz@gmx.net>
2461 * insetcollapsable.C:
2464 * insetlatexaccent.C:
2469 * insetspecialchar.C:
2471 * insettext.C: dim.w -> dim.wid
2473 2003-05-26 John Levon <levon@movementarian.org>
2475 * insettabular.C: avoid drawing all of a long table
2476 if it's not needed. A big speedup
2478 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2480 * remove same_id from function signatures, adjust
2482 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2484 * insettext.C (InsetText): adjust
2486 (setParagraphData): separate same_id cases, adjust
2487 (appendParagraphs): adjust
2488 (appendParagraphs): adjust
2490 2003-05-23 André Pönitz <poenitz@gmx.net>
2492 * insetbutton.h: whitespace
2494 * insettabular.C: more compact code
2496 * updatableinset.C: remove const_cast
2499 2003-05-23 Angus Leeming <leeming@lyx.org>
2501 * insetexternal.C (write): check how many lines are output.
2502 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2503 if the template has defined it.
2505 2003-05-23 Angus Leeming <leeming@lyx.org>
2507 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2509 2003-05-23 Angus Leeming <leeming@lyx.org>
2511 * insetfoot.C (latex):
2512 * inseturl.C (latex): rename fragile as moving_arg.
2514 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2516 * inseterror.C (localDispatch): comment out unused var.
2518 2003-05-22 Angus Leeming <leeming@lyx.org>
2520 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2521 passed through the LatexRunParams arg.
2523 2003-05-22 Angus Leeming <leeming@lyx.org>
2525 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2526 through the LatexRunParams arg.
2528 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2529 arg rather than through a global var.
2531 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2533 * insetspecialchar.C (dimension): use a string.
2535 2003-05-22 Angus Leeming <leeming@lyx.org>
2537 * insetbibtex.C (latex):
2538 * insetgraphics.C (latex):
2539 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2540 runparams rather than from the buffer itself.
2542 2003-05-22 Angus Leeming <leeming@lyx.org>
2544 * inset*.[Ch] (latex):
2545 passed a LatexRunParams parameter.
2547 * insetgraphics.C (latex): actually use it ;-)
2549 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2551 * insetfloat.C (addToToc): trivial compile fix
2553 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2555 * insettext.[Ch] (paragraph): delete unused function
2557 * insetfloat.C (addToToc): parlist simplfication
2559 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2561 * insetspace.[Ch]: added (new space insets)
2563 * inset.h: handle new space insets
2565 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2567 * insetfloat.C (addToToc): adjust
2569 2003-05-21 André Pönitz <poenitz@gmx.net>
2571 * insettext.[Ch]: fix drawing bug introduced earlier
2573 2003-05-19 André Pönitz <poenitz@gmx.net>
2575 * insetspecialchar.C: fix bug introduced yesterday
2577 2003-05-19 André Pönitz <poenitz@gmx.net>
2581 * insetcollapsable.[Ch]:
2585 * insetgraphics.[Ch]:
2586 * insetgraphicsParams.[Ch]:
2587 * insetlatexaccent.[Ch]:
2588 * insetminipage.[Ch]:
2589 * insetnewline.[Ch]:
2591 * insetspecialchar.[Ch]:
2592 * insettabular.[Ch]:
2593 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2595 2003-05-19 André Pönitz <poenitz@gmx.net>
2598 * insettext.C: more insetenv
2600 2003-05-16 André Pönitz <poenitz@gmx.net>
2603 * insetminimpage.[Ch]:
2604 * insetcollapsable.[Ch]: fix #832
2606 2003-05-16 André Pönitz <poenitz@gmx.net>
2609 * insetbibitem.[Ch]:
2613 * insetcollapsable.[Ch]:
2614 * insetcommand.[Ch]:
2617 * insetexternal.[Ch]:
2618 * insetfloatlist.[Ch]:
2619 * insetgraphics.[Ch]:
2620 * insetinclude.[Ch]:
2623 * insetlatexaccent.[Ch]:
2626 * insettabular.[Ch]:
2630 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2632 2003-05-13 André Pönitz <poenitz@gmx.net>
2635 * insetcollapsable.C:
2639 * insetwrap.C: tostr from own header
2651 * insetwrap.C: STRCONV
2654 2003-05-12 André Pönitz <poenitz@gmx.net>
2666 * insetwwrap.C: boost::format -> bformat all over the place
2668 2003-05-05 André Pönitz <poenitz@gmx.net>
2670 * insettext.h: add missing #include <map>
2672 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2674 * insettext.C (InsetText): parlist cleanup
2677 (insetUnlock): ditto
2679 (lockInsetInInset): ditto
2683 (searchBackward): ditto
2684 (collapseParagraphs): ditto
2686 2003-05-06 John Levon <levon@movementarian.org>
2688 * insetcaption.C: don't cast wrap inset to InsetFloat
2691 * insetfloat.C: remove unneeded type() function
2693 2003-05-05 André Pönitz <poenitz@gmx.net>
2697 * insettabular.[Ch]:
2698 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2699 replace getFirstParagraph() by getParagraphs()
2701 2003-05-03 John Levon <levon@movementarian.org>
2703 * insetcollapsable.h:
2704 * insetcollapsable.C:
2710 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2711 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2712 getCursor(). Remove explicit cursor hides.
2714 2003-05-02 André Pönitz <poenitz@gmx.net>
2716 * insettext.C: remove unneeded &*
2718 2003-04-30 John Levon <levon@movementarian.org>
2720 * insettabular.C: fix edit message
2722 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2724 * insettext.C (setFont): do not convert iterator -> pointer
2726 * insettabular.C (localDispatch): do not convert iterator -> pointer
2728 (tabularFeatures): ditto
2730 2003-04-29 André Pönitz <poenitz@gmx.net>
2732 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2734 2003-04-28 André Pönitz <poenitz@gmx.net>
2736 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2739 2003-04-25 André Pönitz <poenitz@gmx.net>
2741 * insetenv.C: derive from InsetText instead of InsetCollapsable
2743 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2745 * insetexternal.C (string2params): dont do anything if the string
2747 * insetgraphics.C (string2params): ditto
2748 * insetcommand.C (string2params): ditto
2749 * insetert.C (string2params): ditto
2750 * insetfloat.C (string2params): ditto
2751 * insetinclude.C (string2params): ditto
2752 * insetminipage.C (string2params): ditto
2753 * insettabular.C (string2params): ditto
2754 * insetwrap.C (string2params): ditto
2756 2003-04-24 André Pönitz <poenitz@gmx.net>
2758 * insetref.C: support for eqref
2760 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2762 * insetert.C (read): use ParagraphList::iterator.
2764 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2766 * insetquotes.C (latex): comment some code and add warnings.
2768 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2770 * insetexternal.C (localDispatch): added a missing DISPATCHED
2772 2003-04-12 John Levon <levon@movementarian.org>
2774 * insetwrap.C (addToToc): fix a crash, conversion
2775 from while to for loop forgot to remove the explicit
2778 2003-04-10 John Levon <levon@movementarian.org>
2780 * insettabular.C (tabularFeature): make sure
2781 to update the dialog when we change something
2784 (getStatus): don't disable some lfuns (bug 939)
2786 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2788 * insettext.C (saveLyXTextState): adjust
2789 (localDispatch): adjust
2795 * insettabular.C (localDispatch): adjust
2797 (tabularFeatures): adjust
2799 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2801 * insettabular.C (searchForward,searchBackward): fix bug 782
2803 2003-04-07 John Levon <levon@movementarian.org>
2806 * insettext.C: clear status message on inset exit
2808 2003-04-03 John Levon <levon@movementarian.org>
2810 * insetcommand.C: return dispatched on DIALOG_UPDATE
2812 2003-04-02 John Levon <levon@movementarian.org>
2814 * insettabular.C: tab lfuns renamed
2816 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2818 * insettext.C (update): move towards ParagraphList
2819 (updateLocal): ditto
2821 (insetUnlock): ditto
2823 (lockInsetInInset): ditto
2824 (updateInsetInInset): ditto
2825 (localDispatch): ditto
2828 (resizeLyXText): ditto
2829 (searchBackward): ditto
2830 (collapseParagraphs): ditto
2833 * insetwrap.C (InsetWrap): adjust
2834 (addToToc): adjust and rewrite loop
2836 * insettext.[Ch] (paragraph): delete function
2838 * insettabular.C (moveNextCell): adjust
2839 (movePrevCell): adjust
2840 (insertAsciiString): adjust
2842 * insetfloat.C (InsetFloat): adjust
2845 * insetert.C (InsetERT): adjust
2846 (write): adjust, and rewrite loop
2847 (latex): adjust, and rewrite loop
2848 (linuxdoc): adjust, and rewrite loop
2849 (docbook): adjust, and rewrite loop
2850 (localDispatch): adjust
2851 (get_new_label): adjust
2853 2003-04-01 John Levon <levon@movementarian.org>
2855 From Alfredo Braunstein
2858 * insetbutton.C: add localDispatch()
2860 * insetcommand.C: return DISPATCHED when edit() called
2862 * insettext.C: fix bug 967
2864 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2866 * insettext.C: adjust
2868 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2870 * insettext.C (draw): adjust
2871 (crow): return a RowList::iterator not a Row*
2873 * insetminipage.C (localDispatch): adjust
2875 * insetert.C (localDispatch): adjust
2877 2003-03-31 John Levon <levon@movementarian.org>
2880 * insetgraphicsParams.C: use_gui moved to lyx_gui
2882 2003-03-31 John Levon <levon@movementarian.org>
2884 * insettext.C: Alert fix
2886 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2888 * insettext.C (ascent): adjust for RowList
2891 (getLyXText): adjust
2892 (toggleSelection): adjust
2894 * insetminipage.C (localDispatch): adjust for RowList
2896 * insetert.C (localDispatch): adjust for RowList
2897 (getMaxWidth): adjust for RowList
2899 2003-03-29 John Levon <levon@movementarian.org>
2901 * insetert.C: Alert cleanup
2903 2003-03-29 John Levon <levon@movementarian.org>
2905 * insettabular.C: Alert fix
2907 2003-03-28 John Levon <levon@movementarian.org>
2909 * insetfloat.C: reset label on INSET_MODIFY
2911 2003-03-28 John Levon <levon@movementarian.org>
2913 * insetgraphicsParams.C: read subcaptionText as a whole line
2916 2003-03-28 John Levon <levon@movementarian.org>
2918 * insettext.C: remove unused prototypes
2920 2003-03-25 Angus Leeming <leeming@lyx.org>
2922 * insetbibitem.C (localDispatch): repaint the view after modifying
2923 a bibitem inset in case the maximum InsetBibitem width has changed.
2925 2003-03-25 John Levon <levon@movementarian.org>
2928 * insettabular.C: LyXText renamings
2930 2003-03-24 John Levon <levon@movementarian.org>
2932 * insettext.C: remove some dead code. Fix bug 972 and
2933 related by posting a repaint in updateLocal(), and making
2934 the SEL functions set SELECTION.
2936 2003-03-22 John Levon <levon@movementarian.org>
2939 * inset.C: remove no-longer-needed topx_set
2941 * insetcollapsable.h:
2942 * insetcollapsable.C: remove dead code
2945 * insetert.C: rebreak the rows when a possible
2946 change in size is made, and reset the cursor
2949 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2951 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2952 topx_set. Fix drawing errors for clearInset(). Remove
2953 some unnecessary uses of topx, which should die.
2955 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2956 is no longer needed. Replace it with an ugly hack.
2958 2003-03-20 John Levon <levon@movementarian.org>
2961 * insetcollapsable.h:
2962 * insetcollapsable.C:
2970 * insettext.C: remove spurious font parameter
2971 from update(). Fix drawing of ERT insets inside
2972 insets (bug 966). Remove unused mark_dirty from
2973 tabular's updateLocal()
2975 2003-03-19 John Levon <levon@movementarian.org>
2984 * insetwrap.C: remove unused getter/setters
2986 2003-03-19 John Levon <levon@movementarian.org>
2988 * several files: bv->updateInset() doesn't take
2989 a bool mark_dirty any more
2991 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * adjust for BufferView* arg removal from lyxtext.
2995 2003-03-17 John Levon <levon@movementarian.org>
2997 * most files: remove the "cleared" parameter
2998 to draw in favour of always clearing. Associated
3001 2003-03-16 John Levon <levon@movementarian.org>
3003 * insettext.C: remove unused s.refresh
3005 2003-03-13 Angus Leeming <leeming@lyx.org>
3007 * insettext.C (edit): replace Dialogs::updateParagraph with
3008 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3010 2003-03-13 André Pönitz <poenitz@gmx.net>
3012 * Makefile.am: insert insetenv
3014 * insethenv.[Ch]: new files, currently inactive
3016 2003-03-12 John Levon <levon@movementarian.org>
3026 * insettext.C: use new insetnewline
3028 2003-03-12 John Levon <levon@movementarian.org>
3030 * insettext.C: readToken became readParagraph
3032 2003-03-12 John Levon <levon@movementarian.org>
3034 * insettext.C: use parlist iterator for reading contents
3036 2003-03-12 John Levon <levon@movementarian.org>
3038 * insettext.C: name change to readToken()
3040 2003-03-11 André Pönitz <poenitz@gmx.net>
3042 * Makefile.am: insert insethfill
3044 * insethfill.[Ch]: new files
3046 2003-03-10 Angus Leeming <leeming@lyx.org>
3048 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3050 (hideDialog): calls the new static Dialogs::hide() method.
3052 * insetbibitem.C (edit):
3053 * insetbibtex.C (edit):
3054 * insetcite.C (edit):
3055 * insetcommand.C (localDispatch):
3056 * inseterror.C (d-tor):
3057 * insetert.C (showInsetDialog):
3058 * insetexternal.C (localDispatch, edit):
3059 * insetfloat.C (localDispatch, showInsetDialog):
3060 * insetfloatlist.C (edit):
3061 * insetgraphics.C (localDispatch, edit):
3062 * insetinclude.C (localDispatch, edit):
3063 * insetindex.C (edit):
3064 * insetlabel.C (edit):
3065 * insetminipage.C (localDispatch, showInsetDialog):
3066 * insetref.C (edit):
3067 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3068 resetPos, showInsetDialog, openLayoutDialog):
3069 * insettoc.C (edit):
3070 * inseturl.C (edit):
3071 * insetwrap.C (localDispatch, showInsetDialog):
3072 changes due to the changed MailInset interface.
3074 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3076 * insetfloat.h: Set default placement to an empty string.
3078 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3080 * insettext.C (latex): adjust call to latexParagraphs.
3082 2003-03-10 Angus Leeming <leeming@lyx.org>
3084 * mailinset.C: warn the user if the BufferView has not been cached.
3086 2003-03-10 Angus Leeming <leeming@lyx.org>
3088 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3090 * insetcommand.h (inset):
3091 * insetert.h (inset):
3092 * insetexternal.h (inset):
3093 * insetfloat.h (inset):
3094 * insetgraphics.h (inset):
3095 * insetinclude.h (inset):
3096 * insetminipage.h (inset):
3097 * insettabular.h (inset):
3098 * insetwrap.h (inset):
3099 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3101 2003-03-10 Angus Leeming <leeming@lyx.org>
3103 * insetcommand.C (string2params):
3104 * insetexternal.C (string2params):
3105 * insetfloat.C (string2params):
3106 * insetgraphics.C (string2params):
3107 * insetinclude.C (string2params):
3108 * insetminipage.C (string2params):
3109 * insettabular.C (string2params):
3110 * insetwrap.C (string2params): cure warning message about missing
3113 2003-03-09 Angus Leeming <leeming@lyx.org>
3115 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3116 it to communicate with the frontend dialogs.
3118 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3119 contents of this inset!
3121 2003-03-07 Angus Leeming <leeming@lyx.org>
3123 * inseterror.C (localDispatch): new method; calls edit() on
3126 2003-03-07 Angus Leeming <leeming@lyx.org>
3128 * insetbibitem.C (localDispatch):
3129 * insetbibtex.C (localDispatch):
3130 * insetlabel.C (localDispatch):
3131 rewrite as a switch.
3133 2003-03-07 Angus Leeming <leeming@lyx.org>
3135 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3136 it to communicate with the frontend dialogs.
3138 2003-03-07 Angus Leeming <leeming@lyx.org>
3140 * insetexternal.C: remove operator== and operator!= for
3141 InsetExternal::Params. They were used only by the old controller
3144 2003-03-07 Angus Leeming <leeming@lyx.org>
3146 * insetcommand.C (localDispatch):
3147 * insetexternal.C (localDispatch):
3148 * insetfloat.C (localDispatch):
3149 * insetinclude.C (localDispatch):
3150 * insetminipage.C (localDispatch):
3151 * insetwrap.C (localDispatch):
3152 add LFUN_INSET_DIALOG_UPDATE to the switch.
3154 2003-03-07 Angus Leeming <leeming@lyx.org>
3156 * insetcommand.C (string2params):
3157 * insetexternal.C (string2params):
3158 * insetfloat.C (string2params):
3159 * insetinclude.C (string2params):
3160 * insetwrap.C (string2params): use LyXLeX more.
3163 * insetexternal.[Ch]:
3165 * insetinclude.[Ch]:
3166 * insetwrap.[Ch]: change Mailer::name_ to be static.
3168 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3169 it to communicate with the frontend dialogs.
3171 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3174 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3176 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3178 * insettext.C (updateLocal): un-const function
3179 (updateLocal): adjust
3180 (collapseParagraphs): un-const function
3181 (collapseParagraphs): adjust
3183 2003-03-05 Angus Leeming <leeming@lyx.org>
3185 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3186 it to communicate with the frontend dialogs.
3188 2003-03-05 Angus Leeming <leeming@lyx.org>
3190 * insetcollapsable.C (draw): cache the BufferView.
3192 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3193 it to communicate with the frontend dialogs.
3195 2003-03-05 Angus Leeming <leeming@lyx.org>
3197 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3200 2003-03-05 Angus Leeming <leeming@lyx.org>
3202 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3204 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3205 it to communicate with the frontend dialogs.
3207 2003-03-05 Angus Leeming <leeming@lyx.org>
3209 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3210 it to communicate with the frontend dialogs.
3212 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3214 * insettext.C (collapseParagraphs): adjust
3215 (appendParagraphs): make it take a Buffer* instead of a
3216 BufferParams& as arg.
3217 (appendParagraphs): adjust
3219 2003-03-04 Angus Leeming <leeming@lyx.org>
3221 * insetbibitem.C (localDispatch):
3222 * insetbibtex.C (localDispatch):
3223 * insetcommand.C (localDispatch):
3224 * insetert.C (localDispatch):
3225 * insetlabel.C (localDispatch):
3226 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3228 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3230 * insettext.C (latex): adjust for ParagraphList::iterator
3232 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3234 * insetbutton.C (view): adjust for boost 1.30.0
3235 * insetcollapsable.C (view): ditto
3236 * insetgraphics.C (statusChanged): ditto
3238 * insettext.h: move paragraphs to be public.
3240 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3242 * insetnote.[Ch] (InsetNote): remove unused constructor
3244 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3246 * insetgraphics.C: added include "format.h"
3248 2003-02-27 Angus Leeming <leeming@lyx.org>
3250 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3253 2003-02-27 Angus Leeming <leeming@lyx.org>
3255 * insetbibitem.C (localDispatch):
3256 * insetbibtex.C (localDispatch):
3259 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3261 2003-02-26 Angus Leeming <leeming@lyx.org>
3263 * insetbibitem.[Ch] (localDispatch):
3264 * insetbibtex.[Ch] (localDispatch):
3265 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3267 * insetcommand.C (localDispatch):
3268 act only on receipt of LFUN_XYZ_APPLY.
3270 * insetert.C (localDispatch): reformat.
3271 add LFUN_XYZ_APPLY to the switch.
3273 2003-02-26 John Levon <levon@movementarian.org>
3275 * insettext.C: use RowPainter
3277 * inset.h: make helpers take const *
3279 2003-02-26 Angus Leeming <leeming@lyx.org>
3281 * insetcommand.[Ch] (localDispatch): new method.
3283 2003-02-26 Angus Leeming <leeming@lyx.org>
3285 * insetinclude.C (draw): cache the BufferView* using cache not
3286 PreviewImpl::setView
3288 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3290 * insetgraphics.C (draw)
3291 * insetinclude.C (draw): Eliminate also the other argument (owner
3292 inset inset) in the call to PreviewImage::image
3294 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3296 * insetgraphics.C (draw)
3297 * insetinclude.C (draw): Eliminate Buferview argument in call to
3300 2003-02-25 John Levon <levon@movementarian.org>
3302 * insetgraphicsParams.h:
3303 * insetgraphics.C: don't start a load process if
3304 the inset is set to NoDisplay (bug #920)
3306 2003-02-22 John Levon <levon@movementarian.org>
3309 * insetwrap.C: TocItem changed API (bug 913)
3311 2003-02-21 Angus Leeming <leeming@lyx.org>
3313 * insetcollapsable.[Ch] (cache, edit):
3314 * insetbutton.[Ch] (cache, edit): new methods to cache the
3315 BufferView in the draw method.
3317 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3318 simplify comunication between InsetCommand-derived classes and
3321 * insetbibitem.[Ch]:
3325 * insetfloatlist.[Ch]:
3329 * inseturl.[Ch]: small changes to reflect the new interface to the
3332 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3333 other, similar classes.
3335 * Makefile.am: add new files.
3337 2003-02-21 Angus Leeming <leeming@lyx.org>
3339 * updatableinset.h (setView, view): remove.
3340 * inset.h (view, cache): to be replaced by these.
3342 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3345 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3348 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3350 2003-02-21 Allan Rae <rae@lyx.org>
3352 * insetinclude.C (loadIfNeeded): ensure loading also works when
3353 child document is under version control.
3355 2003-02-17 André Pönitz <poenitz@gmx.net>
3357 * insetbib.[Ch]: Adjust access to bibkeys
3359 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3361 * insetquotes.C (dispString): remove use of acute accent for "'"
3364 2003-02-14 John Levon <levon@movementarian.org>
3366 * insettabular.C: changed method names in tabular.C
3368 2003-02-14 John Levon <levon@movementarian.org>
3372 * insetcollapsable.h:
3373 * insetcollapsable.C:
3377 * insettext.C: remove unused getParFromID()
3379 2003-02-13 John Levon <levon@movementarian.org>
3382 * insettext.C: remove unused beginningofMainBody()
3384 2003-02-08 John Levon <levon@movementarian.org>
3388 * insetcollapsable.h:
3389 * insetcollapsable.C:
3394 add nextChange(). Make allowSpellcheck() const. Add markErased().
3396 * insetert.C: ignore deleted text
3398 * insettabular.C: make sure to keep change tracking working
3401 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3406 * insettext.C: Use error messages with identical spelling and punctuation
3408 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3410 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3412 2002-12-17 Juergen Vigna <jug@lyx.org>
3414 * insettext.C (localDispatch): hopefully fixed cursor up down
3415 movement on leaving other insets.
3417 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3419 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3422 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3424 * insetgraphics.C (prepareFile): do not remove the extension of
3425 the file name if it is not the default extension for the given
3426 format (that is, in latex output, remove extension from foo.eps,
3427 but not from foo.epsi)
3429 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3431 * insettext.C (lfunMouseRelease): hackish solution to the "double
3434 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3436 * insetfloat.C (addToToc): use the floats name not its type
3437 * insetwrap.C (addToToc): ditto
3439 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3441 * insetnote.C (init): make label font smaller
3443 2002-12-04 John Levon <levon@movementarian.org>
3445 * insetinclude.C: ressurect setting of command name
3447 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3449 * insetquotes.C (dispString): disambiguate insert call
3451 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3453 * several files: ws changes
3455 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3457 * insetquotes.C (dispString): use string::insert for prepending a
3460 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3462 * insetparent.C (getScreenLabel): use boost::format
3464 * insetgraphics.C (prepareFile): use boost::format
3467 * insetfloatlist.C (latex): use boost::format
3469 * insetcaption.C (draw): use boost::format
3471 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3473 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3476 2002-11-20 Juergen Vigna <jug@sad.it>
3478 * insettabular.C (resetPos): temporary fix for endless loop in
3479 this function on a redraw.
3481 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3483 * insettabular.C (copySelection): STRCONV
3485 * insetinclude.C (uniqueID): STRCONV
3486 (latexString): ditto
3488 * insetgraphics.C: put VersionNumber inside anon namespace
3489 (createLatexOptions): STRCONV
3491 * insetcommandparams.C: include config.h
3493 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3495 * insetgraphicsParams.C (Write): use lyx::float_equal.
3496 Write height data correctly.
3497 (Read): zero scale when reading height data.
3499 2002-10-30 John Levon <levon@movementarian.org>
3501 * insetfloat.C (addToTOC): recursively traverse all
3502 contents looking for captions (fix #568)
3504 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3506 * insetexternal.C (doSubstitution): do not try to replace
3507 environment variables, this is done when executing the command
3509 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3511 * insetexternal.C (doSubstitution): change order of substitution
3512 to work around ReplaceEnvironmentPath brokenness
3514 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3516 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3518 * insetgraphicsParams.C (init, Write): associated changes
3519 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3520 InsetGraphicsParams::scale.
3522 2002-10-21 John Levon <levon@movementarian.org>
3524 * inset.h: remove unused DISPATCH_RESULT
3526 * insettext.C: sgml open/close tag now in sgml namespace
3528 2002-10-21 Angus Leeming <leeming@lyx.org>
3530 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3531 file path subdir/fig.eps when pasting it into a buffer in a different
3534 2002-10-16 John Levon <levon@movementarian.org>
3536 * insetspecialchar.C: remove \\protected_separator parsing
3538 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3540 * insetquote.C: fix LaTeX output of quotation marks.
3542 2002-10-14 Juergen Vigna <jug@sad.it>
3544 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3545 Backspace functions which confused the Undo handling.
3547 2002-10-09 Angus Leeming <leeming@lyx.org>
3549 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3550 BufferView::dispatch that turns off this optimisation when a new inset
3553 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3554 reload the BibTeX keys.
3556 2002-10-11 André Pönitz <poenitz@gmx.net>
3558 * insettext.h: handle LFUN_PRIOR/NEXT
3560 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3562 * insetfloat.C: fix bug with float settings
3563 (document default != float default).
3565 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3567 * insetwrap.C (addToToc): New method.
3568 (InsetWrap): Set layout to caption.
3570 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3572 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3574 2002-09-16 John Levon <levon@movementarian.org>
3576 * insettabular.h: hasSelection() needs to be public
3578 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3580 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3582 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3584 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3586 2002-09-11 André Pönitz <poenitz@gmx.net>
3588 * insettabular.C: implement LFUN_WORDSEL
3590 2002-09-10 John Levon <levon@movementarian.org>
3592 * insetinclude.h: remove unused param
3594 2002-09-09 John Levon <levon@movementarian.org>
3597 * insetinclude.C: remove noload, default to input
3599 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3601 * insetgraphics.C: disfuscated use of ']' in built output string.
3603 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3605 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3607 2002-08-29 Juergen Vigna <jug@sad.it>
3609 * insettabular.C (lfunMousePress): Pay attention where you set
3610 the x/y values as they depend on which inset in the tabular is
3611 actually locked. So you surely have to reset them if you (un)lock
3614 2002-08-29 André Pönitz <poenitz@gmx.net>
3616 * insetfootlike.h: rename include guard to ALL CAPS
3618 * insettext.C: swap object and first parameter for checkInsetHit calls
3619 as this functions has moved from BufferView to LyXText
3622 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3624 * insetgraphicsParams.C: remove local displayTranslator and use
3625 the one from graphics/GraphicsTypes.h.
3627 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3629 * insetfloat.C (wide): add BufferParams parameter
3631 * insetfloatlist.C (read):
3634 * insetfloat.C (latex):
3636 * insetcaption.C (draw): use LyXTextClass::floats()
3638 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3640 * insetoptarg.h: add std:: qualifier.
3642 2002-08-26 Juergen Vigna <jug@sad.it>
3644 * insettext.C (localDispatch): ditto.
3646 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3648 2002-08-25 John Levon <levon@movementarian.org>
3650 * inseturl.C: elide long URLs (bug 404)
3652 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3654 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3655 remove "Format Version <version_no.>" string from inset header
3658 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3660 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3661 a member of "grfx::Params" anymore.
3663 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3665 2002-08-24 John Levon <levon@movementarian.org>
3668 * insetoptarg.C: ws, pedantry ...
3670 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3672 * insettext.C (collapseParagraphs): pasteParagraph now in global
3674 (appendParagraphs): ditto
3676 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3678 * insetcite.C (latex): Remove spaces only after commmas.
3680 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3682 * insettext.C: remove NO_COMPABILITY stuff
3684 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3686 * insettext.C (edit): use ParagraphList iterators
3688 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3689 (bibitemWidest): ditto
3691 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * insettext.C: include <boost/bind.hpp>
3694 add using std::for_each
3695 (saveLyXTextState): use ParagraphsList::iterator
3696 (init): use for_each on paragraphlist iterators
3697 (InsetText): remove superflous setting cached_bview to 0
3698 (latex): reformat a bit
3699 (ascii): use paragraphlist iterators
3700 (validate): use for_each + boost bind
3701 (getLabelList): use paragraphlist iterators
3702 (deleteLyXText): use for_each + boost::bind
3703 (resizeLyXText): ditto
3704 (reinitLyXText): ditto
3705 (removeNewlines): use paragraphlist iterators
3706 (getParFromID): ditto
3707 (paragraph): use for_each + boost::bind
3708 (getInsetFromID): use paragraphlist iterators
3709 (getLabelList): typo fix
3711 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3713 * insettext.C (read): assign tmp to paragraphs after return from
3714 call to parseSingleLyXformat2Token
3717 2002-08-13 Angus Leeming <leeming@lyx.org>
3736 changes due to the changed LyXView interface that now returns references
3737 to member variables not pointers.
3739 2002-08-13 Angus Leeming <leeming@lyx.org>
3742 * insetcollapsable.h:
3745 * insettext.h: forward-declare WordLangTuple
3746 (selectNextWordToSpellcheck) constify return type.
3749 * insetcollapsable.C:
3752 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3754 2002-08-12 Angus Leeming <leeming@lyx.org>
3756 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3758 2002-08-12 Juergen Vigna <jug@sad.it>
3760 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3763 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3765 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3766 (bibitemWidest): ditto
3767 * insettext.[Ch]: ditto
3769 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3771 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3773 2002-08-09 Angus Leeming <leeming@lyx.org>
3775 * insetinclude.C (latexString): remove fudge now that I've found out
3776 how to enable LaTeX to find the file using input@path.
3778 2002-08-09 John Levon <levon@movementarian.org>
3781 * insettext.C: remove unused xpos
3783 2002-08-07 Juergen Vigna <jug@lyx.org>
3785 * insettabular.C (localDispatch): make delete not put the stuff
3786 in the clipboard only do this on a cut operation.
3788 * insettext.C (localDispatch): make delete and backspace not put
3789 selected stuff to the clipboard.
3791 2002-08-07 André Pönitz <poenitz@gmx.net>
3794 * insetcollapsable.[Ch]:
3798 * insettabular.[Ch]:
3799 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3801 2002-08-06 John Levon <levon@movementarian.org>
3805 * insetcollapsable.h:
3806 * insetcollapsable.C:
3812 * insettext.C: use WordLangTuple for spellcheck
3814 2002-08-06 Angus Leeming <leeming@lyx.org>
3816 * insetinclude.C: add a monitor to the previewed image, so that the
3817 image is refreshed if the \input-ed file changes.
3819 2002-08-04 John Levon <levon@movementarian.org>
3822 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3824 2002-08-02 Angus Leeming <leeming@lyx.org>
3826 * insetcommandparams.[Ch] (preview): new methods returning and setting
3827 a new bool preview_ flag.
3828 (read): read this flag.
3829 (operator==): add flag to check.
3831 * insetinclude.C (write): output new preview() flag.
3832 (previewWanted): use this flag.
3834 2002-08-02 Angus Leeming <leeming@lyx.org>
3836 * insetcollapsable.[Ch] (addPreview):
3837 * insettabular.[Ch] (addPreview):
3838 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3839 for insets in insets.
3841 2002-08-02 Angus Leeming <leeming@lyx.org>
3843 * insetcite.C: fix typo.
3845 * insetgraphics.C: kill current_view and instead cache the BufferView
3848 * insetinclude.C: kill current_view and pass the BufferView to the
3849 PreviewedInset so that it can cache it.
3851 2002-08-01 Angus Leeming <leeming@lyx.org>
3853 * inset.h (generatePreview): renamed as addPreview.
3854 (generatePreview): new method. Allows code to be moved out of
3855 math_nestinset.C and into the new PreviewedInset class.
3857 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3858 add previews to the inset when \input-ing LaTeX.
3860 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3862 * several files: strip,frontStrip -> trim,ltrim,rtrim
3864 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3866 * insetbib.C (latex): modify because of strip changes
3868 * insetnote.C (InsetNote): ditto
3870 2002-07-26 Juergen Vigna <jug@sad.it>
3872 * insettabular.C (searchForward): check for lastcell if we
3873 had a locking inset.
3875 2002-07-25 Juergen Vigna <jug@sad.it>
3877 * insettabular.C (insetMotionNotify): Don't update the screen
3878 if we didn't do nothing.
3879 (searchForward): last cell was not checked.
3881 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3883 * insetfloat.C (read, write): Allow default placement
3884 (floatPlacement_ is empty).
3886 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3888 * insetminipage.h (noFontChange):
3889 * insettabular.h (noFontChange):
3890 * insetfootlike.h (noFontChange):
3891 * insetfloat.h (noFontChange): return true
3893 * inset.h (noFontChange): new method, defaulting to false
3895 2002-07-22 Herbert Voss <voss@lyx.org>
3897 * insetgraphicsParams.[Ch]: support size_type for old docs
3899 2002-07-22 Herbert Voss <voss@lyx.org>
3902 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3905 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3907 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3909 * insetlatexaccent.h: do not include "lyxlex.h"
3911 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3914 * insetlatexaccent.C:
3918 * insetbib.C: #include "lyxlex.h"
3924 * insettext.C: use BufferParams::getLyXTextClass
3927 * insetfloat.C (addToToc): new method. Add to toclist the entries
3928 corresponding to Caption layouts
3929 (InsetFloat): when creating a new float, set the layout to "Caption"
3931 2002-07-21 Herbert Voss <voss@lyx.org>
3933 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3934 image relevant part into graphics/GraphicsImgae.C
3936 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3938 * insettoc.C (ascii):
3939 * insetfloatlist.C (ascii): change to use the new Toc functions
3940 instead of stuff that was in Buffer
3942 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3944 * insettext.C (localDispatch): BufferView::Dispatch has been
3945 renamed to BufferView::dispatch
3947 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3949 * insetgraphicsParams.C (as_grfxParams): use the new
3950 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3951 1.2.0 patch, and I do not really know how to adapt it to the new
3952 grfx::Cache world. Angus, please could you have a look?
3954 2002-05-01 Herbert Voss <voss@lyx.org>
3956 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3958 2002-07-18 Angus Leeming <leeming@lyx.org>
3960 * insetgraphics.C: clean-up comments (from Herbert).
3961 add a new checksum variable to the cache. Use it in PrepareFile.
3962 (draw): start monitoring the file for a change.
3963 (prepareFile): re-arrange a little to avoid unnecessary steps.
3965 2002-07-17 Angus Leeming <leeming@lyx.org>
3967 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3968 a method rather than to the signal directly.
3970 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3972 * insettext.C: use view_state_changed, switchKeyMap
3974 2002-07-17 Herbert Voss <voss@perce.de>
3976 * insetgraphics.C (prepareFile): keep the extension when
3977 exporting to nice file
3979 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3981 * insetcite.C (getNatbibLabel):
3982 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3984 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3986 * insetgraphics.C: use ->isDrawable()
3988 2002-07-12 Angus Leeming <leeming@lyx.org>
3990 * insetgraphics.C: use the new smart loading capabilities of the image
3993 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3995 * insettabular.C (edit): Move into correct cell when entering a
3998 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4001 2002-07-05 Angus Leeming <leeming@lyx.org>
4003 * inset.h (generatePreview): new virtual method.
4005 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4007 * insetcommandparams.[Ch] (operator=): move out of class
4008 (operator!): move out of class
4010 2002-07-04 André Pönitz <poenitz@gmx.net>
4012 * insetcommandparams.[Ch]: new files
4014 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4016 2002-06-15 Herbert Voss <voss@perce.de>
4018 * insetgraphics.C (prepareFile): bugfix; return always
4019 files without extension
4021 2002-06-28 Angus Leeming <leeming@lyx.org>
4023 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4024 rename asGParams -> as_grfxParams.
4026 * insetgraphics.C: reflect above change.
4028 2002-06-26 Angus Leeming <leeming@lyx.org>
4030 * insetgraphics.h: use boost::scoped_ptr in preference to
4033 2002-06-26 Angus Leeming <leeming@lyx.org>
4035 * insetgraphics.C: moved the image loading stuff into a new class
4036 grfx::Loader. Simplifies this file enormously.
4038 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4040 * insetgraphicsParams.C: changes aassociated with moving
4041 grfx::DisplayType out of grfx::GParams.
4043 2002-06-26 André Pönitz <poenitz@gmx.net>
4045 * insetgraphics.C: use os::external_path where necesaary according to a
4046 patch from Claus Hentschel)
4048 2002-06-25 Angus Leeming <leeming@lyx.org>
4050 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4051 generating a pixmap once the graphics file is loaded into memory.
4052 The current_view ugliness that was in grfx::ModifiedImage has been
4053 moved here now that grfx::ModifiedImage is no more.
4055 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4057 * insettext.C: layout as layout
4059 2002-05-28 André Pönitz <poenitz@gmx.net>
4061 * insetfloatlist.h: remove source of compiler warning
4063 * insetref.C: tiny whitespace
4065 2002-06-15 Herbert Voss <voss@perce.de>
4067 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4068 and take always convert when no userdefined converter was
4070 (latex) small changes in the lyxerr output
4072 2002-06-15 LyX Development team <lyx@rilke>
4074 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4075 mixed content. Small white spaces clean.
4077 2002-06-14 Angus Leeming <leeming@lyx.org>
4079 * inseetexternal.C: remove the using std::difftime declaration.
4081 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4083 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4085 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4087 * insetquotes.C (draw): fix drawing of double quotes
4089 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4091 * insettabular.C: s/scrollCB/scrollDocView/
4093 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4095 * insettext.C: change of topCursorVisible()
4098 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4101 * insettext.C: rename/change of LyXScreen
4103 2002-06-07 Angus Leeming <leeming@lyx.org>
4105 Fixes needed to compile with Compaq cxx 6.5.
4107 all c-library variables have been moved into namespace std.
4108 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4110 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4112 * insetinclude.C (uniqueID):
4113 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4114 conflicted with some AIX headers.
4116 2002-05-31 Juergen Vigna <jug@sad.it>
4118 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4122 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4124 * insetexternal.C (clone): fix () bug when using new
4125 (updateExternal): don't only look for difftime in global scope
4127 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4129 * insettabular.C: add const
4131 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4133 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4134 file name, in case there are weird characters like ',' in there.
4137 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4139 * switch from SigC signals to boost::signals.
4141 2002-05-28 André Pönitz <poenitz@gmx.net>
4143 * insets/insetgraphicsParams.[Ch]:
4144 put in inset related stuff from src/graphic
4146 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4154 * insetcollapsable.C:
4155 * insetcollapsable.h:
4183 * inseturl.h: use mouse_state. Kill insetKeyPress
4185 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4190 * insetcollapsable.C:
4193 * insetlatexaccent.C:
4195 * insetspecialchar.C:
4197 * insettext.C: name change for font metrics
4199 2002-05-24 Juergen Vigna <jug@sad.it>
4201 * insetgraphics.h: include inset.h first (for LString.h)
4203 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4205 * insettext.C: screen moved
4207 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4225 * inseturl.C: LyXView moved into frontends/
4227 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4232 * insetcollapsable.C:
4236 * insetgraphicsParams.C:
4237 * insetlatexaccent.C:
4239 * insetspecialchar.C:
4241 * insettext.C: move Painter to frontends/
4243 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4245 * insettabular.h: use more specific smart_ptr header.
4246 * insettext.h: ditto
4248 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4251 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4253 * insettext.C: clear selection on paste (bug 393)
4255 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4257 * insettext.C (latex): Honor the moving_arg argument.
4259 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4261 * insetfoot.C (latex): if a footnote is in a title layout, then it
4262 is a \thanks. And then, its contents is a moving argument.
4264 2002-05-14 Juergen Vigna <jug@sad.it>
4266 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4269 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4271 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4272 when using options "Full author list" or "Upper case".
4274 2002-05-14 Herbert Voss <voss@perce.de>
4276 * insetgraphics.C (prepareFile): allow files with same name
4278 (readFigInset): set the flags from old figinset in the right
4280 (findTargetFormat): more comments
4282 2002-05-14 Juergen Vigna <jug@sad.it>
4284 * insettext.C (edit): tell checkAndActivateInset() that we don't
4285 have a button press.
4286 (checkAndActivateInset): if button < 0 we don't have a button press
4287 on the inset and os we won't call edit on it if it's not a Highly
4288 editable inset (then we have to enter it).
4290 2002-05-13 Juergen Vigna <jug@sad.it>
4292 * insetcollapsable.C (insetButtonRelease): returned wrong return
4295 2002-05-09 Juergen Vigna <jug@sad.it>
4297 * insetcollapsable.C (edit): first_after_edit should only be
4298 set to true if we enter this inset and it was collapsed so we
4299 open it up. This is needed to reclose it after a search/replace
4300 or spellcheck function opened it and was negative.
4302 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4304 * insetfloat.C (latex): Return correct value.
4306 2002-05-04 Herbert Voss <voss@perce.de>
4308 * InsetgraphicsParams.C (read): fix bug with WH
4310 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4312 * insetfloat.C (latex): More sensible latex output
4313 (fix the problem with endfloat).
4315 2002-05-02 José Matos <jamatos@fep.up.pt>
4317 * insetgraphics.C (validate): acess params as everyone else.
4319 2002-05-03 Juergen Vigna <jug@sad.it>
4321 * insettabular.C (fitInsetCursor): recalculate the cursor position
4324 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4326 * InsetgraphicsParams.[Ch]: whitespace.
4328 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4330 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4331 float type do not exist.
4333 2002-04-28 Herbert Voss <voss@perce.de>
4335 * insetgraphics.C (latex): fix bug with missing file-extension.
4336 LaTeX still allows a missing "eps" or "ps".
4338 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4340 * insetfloat.C (c-tor, wide): translate the name of the float.
4342 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4344 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4345 when using natbib and make it work efficiently. Must emphasise that the
4346 real work is Herbert's.
4348 2002-04-23 Herbert Voss <voss@perce.de>
4350 * insetgraphic.C (prepareFile): fix bug with overwriting and
4351 deleting an existing *.eps-file in the doc-dir
4353 2002-04-23 Juergen Vigna <jug@sad.it>
4355 * insettabular.C (drawCellSelection): fix off by 1 error.
4357 2002-04-22 Juergen Vigna <jug@sad.it>
4359 * insettabular.C (setFont): rewoke full selection if it was asked,
4360 after we changed all we had to change.
4362 * insettext.C (insetUnlock): code was uninitialized in some situations.
4364 2002-04-19 Herbert Voss <voss@perce.de>
4366 * insetgraphic.C (prepareFile): return filename without
4367 extension if we only export without compiling
4369 2002-04-19 Juergen Vigna <jug@sad.it>
4371 * insettext.C (draw): call a fullRebreak on the row where we had a
4372 change and reset the cursor and selection-cursors.
4374 * insettabular.C (insetUnlock):
4375 (insetButtonPress): call an update before setting the_locking_inset = 0
4376 as otherwise we don't repaint!
4377 (update): reset the cursor position when we changed dimensions as
4378 otherwise our cursor may be on the wrong spot.
4380 2002-04-18 Juergen Vigna <jug@sad.it>
4382 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4383 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4384 redraw otherwise we won't redraw.
4386 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4387 not really right before, but I only discovered this with the last
4388 changes to Page up/down.
4390 2002-04-17 Juergen Vigna <jug@sad.it>
4392 * insettext.C (checkAndActivateInset): simplified as we now have the
4393 edit(bv, bool) call.
4395 * insettext.h: changed behind variables to front variables to be
4396 equal to the one in the edit call (as it is for that they are used).
4398 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4400 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4401 not output anything at all!
4403 2002-04-16 Juergen Vigna <jug@sad.it>
4405 * insettabular.C (insetButtonPress):
4406 (insetUnlock): call a redraw on unlocking the cell inset.
4408 * insettext.C (insetButtonPress): same as below.
4409 (lockInset): new function to set initial values when inset should
4411 (insetButtonPress): use above function.
4412 (insetUnlock): don't force a repaint only set the updateStatus. The
4413 outside world should repaint if it thinks it should be done!
4415 * insettabular.C (insetButtonPress): init values if not set as locked
4416 as we are locked if someone presses on us and don't call the edit()
4417 call of the InsetText to lock it do it as BufferView does it!
4419 * inset.h (insetInInsetY): make func const and return an int.
4422 * insetcollapsable.C: adapt the above changed function.
4424 2002-04-15 Juergen Vigna <jug@sad.it>
4426 * insettext.C (getCursorPos): return relative position as to be able
4427 to give them directly to the edit() call.
4428 (edit): we have to set also x_fix as it is not set inside the
4429 setCursorFromCoordinates call!
4430 (insetMotionNotify): ditto.
4432 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4434 * insetbib.C (getKeys): strip leading '\t's from the line too.
4435 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4437 2002-04-12 Juergen Vigna <jug@sad.it>
4439 * insettext.h: added cix() helper function and use it where appropriate
4441 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4443 * insetgraphics.C (prepareFile): fix bug when graphics is a
4446 2002-04-12 Juergen Vigna <jug@sad.it>
4448 * insettext.C (insertInset): remove unneeded code!
4449 (updateLocal): fitCursor() fixes.
4450 (collapseParagraphs): fix a possible problem when having a selection
4451 and collapsing the paragraphs.
4453 2002-04-08 Herbert Voss <voss@perce.de>
4455 * insetgraphic.C (write): write the rotating angle as
4456 a float as is. test only for != 0.0
4458 2002-04-11 Juergen Vigna <jug@sad.it>
4460 * insettext.C: new function ciy() and use it for setting inset_y.
4462 * insetert.C (draw): fix the x return for collapsed version.
4464 2002-04-07 Herbert Voss <voss@perce.de>
4466 * insetgraphic.C (readFigInset): fix bug with subcaption and
4469 2002-04-08 Herbert Voss <voss@lyx.org>
4471 * insetgraphicsparam.C: forgot special option and delete old
4474 2002-04-05 Juergen Vigna <jug@sad.it>
4476 * insettext.C (localDispatch): make a CURSOR update if we inserted
4479 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4481 * insetfloatlist.C (getScreenLabel):
4482 (latex): use Floating::listName
4483 (validate): new method
4485 2002-04-03 José Matos <jamatos@fep.up.pt>
4487 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4489 * insetfoot.[Ch] (docbook): added forgotten method.
4491 2002-04-03 Juergen Vigna <jug@sad.it>
4493 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4494 way as in Bufferview_pimpl.
4496 2002-04-03 Allan Rae <rae@lyx.org>
4498 * insetgraphics.C (latex): one % too many makes living on the bleeding
4499 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4501 2002-03-28 Herbert Voss <voss@lyx.org>
4503 * insetgraphic.C (latex): simplify the code for the latex
4504 output when the file doesn't exist
4506 2002-03-29 Juergen Vigna <jug@sad.it>
4508 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4511 * insettabular.C (edit): call fitCursor().
4513 * insettext.C (insetButtonPress): change behaviour of no_selection
4514 to the one in the BufferView selection_possible and fix the spurious
4515 selection bug with it.
4516 (localDispatch): revoke selection on BREAK... functions.
4518 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4520 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4522 2002-03-28 Juergen Vigna <jug@sad.it>
4524 * insettabular.C (insetAllowed): return true as default value otherwise
4525 we're not able to insert insets inside paragraphs of an not locked
4528 2002-03-27 Herbert Voss <voss@lyx.org>
4530 * insetgraphicsparam.C: change c%, p% to col%, page%
4532 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4534 * insetspecialchar.C (isLineSeparator): disable the nice code to
4535 allow linebreaks after hyphenation and menu separators.
4537 2002-03-26 Herbert Voss <voss@lyx.org>
4539 * insetgraphics.C (figinsetRead): set the right lyxview
4541 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4543 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4544 $\backslash$ and pass a "string const &" to the function.
4545 (prepareFile, latex): use Path rather than MakeAbsPath.
4547 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4549 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4550 proper fix to the graphics cache.
4551 (latex): "really" nice output if the file is not found ;-)
4553 2002-03-26 Juergen Vigna <jug@sad.it>
4555 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4556 (collapseParagraphs): fixed inserting of separator ' '
4558 * insettabular.C (insertAsciiString): only check for buffer lenght
4559 not if we have \t or \n inside the buffer as if we don't have we only
4560 have 1 cell and that's it!
4562 * insetert.C (close): don't collapse if inlined.
4564 2002-03-25 Herbert Voss <voss@lyx.org>
4566 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4567 graphics file does not exist.
4569 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4571 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4572 path when preparing export.
4574 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4575 no longer MakeRelPath.
4577 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4579 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4580 Used to determine the absolute path to the graphics file in the
4581 graphics cache and only in the graphics cache.
4582 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4583 make graphics file name absolute if it is stored as a relative path.
4585 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4586 make graphics file name absolute if it is stored as a relative path.
4588 * insettext.C (edit): emit an updateParagraph signal on entering a text
4589 inset. Needs to be emitted when leaving the inset also.
4591 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4593 * all files: ws cleanup
4595 * Makefile.am: remove ld -r stuff
4597 2002-03-21 Juergen Vigna <jug@sad.it>
4599 * insettext.C (appendParagraphs): new function added to append
4600 the paragraphs to this insets paragraphs.
4602 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4604 * Makefile.am: special rules if partial linking
4606 2002-03-19 Juergen Vigna <jug@sad.it>
4608 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4610 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4612 * insetgraphics.C: Clean up Baruch's comments a little.
4613 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4615 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4618 * insettheorem.C: wrap warnings
4620 * insetgraphics.C: improve messages, move cached_status_
4621 setting to safer place
4623 2002-03-18 Juergen Vigna <jug@sad.it>
4625 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4627 (localDispatch): ditto
4629 * insettext.C (edit): removed unneeded showCursor calls.
4630 (localDispatch): ditto.
4632 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4634 * insetgraphics.h: remove display() method.
4636 2002-03-11 Juergen Vigna <jug@sad.it>
4638 * insetgraphics.C (draw): hack to fix the redrawing bug.
4639 (draw): seems this fixes #268 (force redraw of row if we changed).
4641 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4642 this inset text (don't know why I missed this earlier).
4644 2002-03-08 Juergen Vigna <jug@sad.it>
4646 * insettabular.C (updateLocal): do a FULL update if we're not locked
4647 and only a CELL update is asked.
4649 * insettext.C (updateInsetInInset): update insets inside inset also
4650 if it isn't inside the_locking_inset.
4652 * insettabular.C (updateInsetInInset): ditto.
4654 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4656 * insetexternal.C (doSubstitution): check whether we are using a
4657 temp dir for defining $$FPath
4659 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4662 * insettext.C: remove #include "WorkArea.h".
4664 2002-03-06 Juergen Vigna <jug@sad.it>
4666 * insettext.C (draw): fixed frame redrawing.
4667 (clear): forgot to set the inset_owner of the paragraph.
4669 * insetert.C (status): pay attention the bv can be 0 here!
4670 (getMaxWidth): add the default leftMargin
4672 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4674 * insetert.C (getMaxWidth): make w unsigned int.
4676 2002-03-05 Juergen Vigna <jug@sad.it>
4678 * insetert.C (status): change behaviour of Inlined.
4679 (getMaxWidth): added for new inlined behaviour.
4681 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4683 * insetnote.h (linuxdoc, docbook): add empty methods.
4684 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4685 before being initialized.
4687 2002-03-05 Juergen Vigna <jug@sad.it>
4689 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4690 only that one in the inset. Should be enough.
4691 (updateLocal): set the selection cursor always if we don't have a
4692 selection to be sure it's set!
4694 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4696 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4698 * insettext.C (clear): a gross hack to set layout on a newly
4701 2002-03-04 Juergen Vigna <jug@sad.it>
4703 * insettabular.C (localDispatch): inserted handling of
4704 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4705 (insertAsciiString): new helper function.
4707 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4709 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4712 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4714 * insettext.C (InsetText): initalize newly created par with
4715 default layout. add bufferparams parameter
4718 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4719 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4720 * insetert.[Ch] (InsetERT): ditto
4721 * insetfloat.[Ch] (InsetFloat): ditto
4722 * insetfoot.[Ch] (InsetFoot): ditto
4723 * insetfootlike.[Ch] (InsetFootLike): ditto
4724 * insetmarginal.[Ch] (InsetMarginal): ditto
4725 * insetminipage.[Ch] (InsetMinipage): ditto
4726 * insetnote.[Ch] (InsetNote): ditto
4727 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4729 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4731 * insettext.C: layout as string
4733 * insetinclude.C: layout as string
4735 * insetert.C: layout as string
4737 * insetbib.C: layout as string
4739 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4742 * insettabular.C: remove #include "lyx_gui_misc.h".
4744 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4749 * inset.h: remove figinset, yahoo !
4751 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4753 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4754 copy c-tor and initialise member variables in the correct order.
4756 2002-02-28 Juergen Vigna <jug@sad.it>
4758 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4760 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4762 * inset.h: ... and add a better one here.
4764 * insetcommand.C (insetButtonRelease): remove that one which was a
4767 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4769 * insetcommand.C (insetButtonRelease): ... and move it here.
4771 * inseturl.h: remove insetButtonRelease from there...
4773 2002-02-26 Juergen Vigna <jug@sad.it>
4775 * inseturl.h: Added a insetButtonRelease call returning true as
4778 * insetlabel.C (edit): Fixed wrong update handling after change I
4779 leave in the wrong code for the one who wrote it to remove and have
4780 a look what he did wrong.
4782 * insettabular.C (localDispatch): force a SELECTION update if we
4783 had a selection and we passed the event down to the inset (fix #213)
4784 (localDispatch): handle font changing stuff when we have a cell
4785 selection so that the selection is not rewoked. I don't really like
4786 this fix, but it's the only way I see to do it right now.
4788 2002-02-22 Juergen Vigna <jug@sad.it>
4790 * insettext.C (insetUnlock): set the cursor to the second paragraph
4791 if available and if the first one is empty (fix #191).
4793 2002-02-20 Juergen Vigna <jug@sad.it>
4795 * insettext.C (getDrawFont): implemented this function to call the
4796 one of the owner if present as the owner normally knows what to do
4799 * insetert.C: implement getDrawFont() function and comment out all
4800 the crap for setting a special latex font inside this inset.
4801 (InsetERT): added a Lanugage parameter to this constructor.
4803 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4804 change the font for being drawn on screen (used only in InsetERT for
4807 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4808 and also above (was missing).
4809 (updateLocal): don't remove the cell selection if we have one this
4810 should be done where we really want to remove it.
4812 2002-02-20 José Matos <jamatos@fep.up.pt>
4814 * insetinclude.h: include_label made string const.
4816 * insetinclude.C (InsetInclude): moved include_label initialization.
4819 (validate): fix support for temporary directory, for docbook and
4822 * insetgraphics.h : new private member, graphic_label, that holds
4823 the entity name that defines the graphics location (SGML).
4825 * insetgraphics.C (unique_id): new function to give a unique label
4828 (validate): the file locatation is given by an entity reference.
4830 2002-02-18 Herbert Voss <voss@lyx.org>
4832 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4834 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4836 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4837 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4839 2002-02-18 José Matos <jamatos@fep.up.pt>
4841 * insetinclude.C (validate): some code only applies to latex buffers,
4842 it was made conditional.
4844 2002-02-12 Herbert Voss <voss@lyx.org>
4846 * insetgraphics.C: (prepareFile) do not check at this time
4847 if the file is present.
4849 2002-02-12 Herbert Voss <voss@lyx.org>
4851 * insetgraphics.C: latex(), return the correct newlines
4853 2002-02-13 José Matos <jamatos@fep.up.pt>
4855 * inseturl.C (docbook): escape & in url.
4857 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4859 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4860 after HYPHENATION and MENU_SEPARATOR
4862 * inset.h (isLineSeparator): new method, returns false by default.
4864 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4866 * insetert.C (status): do not update the text inset, but the ERT
4869 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4871 * insetnote.C: use notebg for background
4873 2002-02-08 Herbert Voss <voss@lyx.org>
4876 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4877 prevent LyX from unzipping when this should be handled
4878 by latex vis the graphic.cfg.
4881 2002-02-08 Herbert Voss <voss@lyx.org>
4883 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4884 exists, than return filename with extension
4886 2002-02-06 Herbert Voss <voss@lyx.org>
4888 * insetgraphic.C: prepareFile(): don't convert the file, when
4889 it's not viewed in LyX. Saves a lot of time when opening a
4892 2002-02-05 Herbert Voss <voss@lyx.org>
4895 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4896 and adding a rotate bool similiar to subcaption
4898 2002-02-04 Herbert Voss <voss@lyx.org>
4901 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4902 similiar view to the LaTeX one. Get zipped files work.
4904 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4906 * insetgraphicsParams.C (init): set display to DEFAULT.
4907 No longer #include "lyxrc.h".
4909 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4911 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4912 for now (so that the code compiles).
4914 2002-02-02 Herbert Voss <voss@lyx.org>
4916 * insetgraphic.C: delete inVariant() and some minor changes
4917 * insetgraphicsParams.[C]:
4919 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4921 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4922 interogate lyxrc.display_graphics before diaplaying the graphic.
4924 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4925 InsetGraphicsParams::DisplayType.
4927 2002-01-31 Herbert Voss <voss@lyx.org>
4929 * insetgraphic.C: (readfigInset) set display to pref-default
4931 2002-01-30 Herbert Voss <voss@lyx.org>
4933 * insetgraphic.C: get the filetyp from it's contents
4934 * insetgraphicparams.C: add token scale and lyxrc.display when
4935 creating a new inset
4937 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4939 * figinset.C: added using std::ios directive.
4941 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4943 * figinset.C (runqueue): open translation file in binary mode (for
4946 2002-01-27 Herbert Voss <voss@lyx.org>
4948 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4949 all options and to be sure that the old figinsets are correct
4951 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4952 structure and to support all lengths as LyXLength. The Parameter
4953 structure changed again, but reading of "old" 1.2 graphic insets
4956 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4958 * insetert.h (forceDefaultParagraphs): Added
4960 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4962 * insettabular.C (getMaxWidth):
4963 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4965 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4967 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4968 of LyXLength::inPixels
4970 * inset.C (latexTextWidth):
4971 * insetminipage.C (latexTextWidth): new method, which implements
4972 the equivalent of the LaTeX macro \textwidth
4974 * insetminipage.C (getMaxWidth): use latexTextWidth
4976 2002-01-18 Juergen Vigna <jug@sad.it>
4978 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4980 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4982 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4984 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4987 2002-01-17 Juergen Vigna <jug@sad.it>
4989 * insettabular.C (lockInsetInInset): same change as in insettext.
4991 * insettext.C (draw): width() function was called without setting
4992 the right top_x which could lead to wrong insetWidth setting!
4993 (lockInsetInInset): call edit instead of calling lockInset if we
4994 have to lock an inset inside!
4995 (edit): we have to also tell the inset that we have to redraw the
4996 frame on an edit call if this inset draws a frame only if locked.
4998 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5000 * insetbib.C (getFiles): uncomment Path variable.
5002 2002-01-16 Juergen Vigna <jug@sad.it>
5004 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5007 2002-01-16 Allan Rae <rae@lyx.org>
5009 * insetinclude.C (docbook): someone forgot a ";"
5011 2002-01-16 José Matos <jamatos@fep.up.pt>
5013 * figinset.C (docbook): removed a old place holder "@".
5014 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5015 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5016 ascii text version, clearly guarded inside a CDATA section.
5017 (docbook): in docbook 4, inlinegraphics is empty.
5018 * insettabular.C (linuxdoc): export the ascii version of the table
5019 inside a CDATA section.
5021 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5023 * insetparent.C (InsetParent):
5024 * insetgraphicsParams.C (Write):
5026 * insetgraphics.C (prepareFile):
5029 * insetexternal.C (executeCommand):
5030 (doSubstitution): use Buffer::filePath
5032 * insetbib.C (getFiles): add a #warning for Angus
5034 * insetgraphics.C: Add a remark about how filenames should be
5035 considered to be relative to buffer (but absolute is still allowed)
5036 (draw): do not try to get status if lyxrc.use_gui is false
5038 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5041 * insetcollapsable.[Ch]:
5042 * insettabular.[Ch] (searchForward, searchBackward): change the
5043 bool const & params to bool.
5045 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5046 to avoid the name clash with InsetCollapsable's methods of the same
5047 names but different functionality.
5049 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5051 * insettext.C (ascii): use lyx::count rather than countChar.
5053 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5055 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5057 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5059 * insetgraphics.C (updateInset): do not try to render image if
5060 lyxrc.use_gui is false (bug #104)
5062 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5063 if file does not exist
5065 * figinset.C (browseFile): add shortcuts to directory buttons
5067 * insettext.C (updateLocal): update menubar and toolbar here too.
5069 2002-01-13 Allan Rae <rae@lyx.org>
5071 * insettabular.C (InsetTabular): Both constructors now initialise
5072 all class variables.
5074 2002-01-11 Juergen Vigna <jug@sad.it>
5076 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5078 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5080 * insettabular.C (getStatus): add forgotten brace around multiline
5083 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5085 * insetfloat.C (validate): require "float" instead of "floats".
5087 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5089 * insettabular.C (getStatus): use FuncStatus
5091 2002-01-08 Juergen Vigna <jug@sad.it>
5093 * insettabular.C (insetButtonRelease): now this should work too
5096 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5097 if the width is a percentage.
5099 * inset.h: added isChar() function and implemented this for
5100 insetspecialchar insetquotes and insetlatexaccent.
5101 added forceDefaultParagraphs() and implemented it for insettabular.
5103 2002-01-07 Juergen Vigna <jug@sad.it>
5105 * insettext.C (getLyXText): Fixed this function. An insert into the
5106 map is only done if we REALLY have a new BufferView.
5108 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5110 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5112 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5114 * insetinclude.C: fix use of FileInfo
5116 2002-01-07 Juergen Vigna <jug@sad.it>
5118 * insettabular.C (draw): fixed clearing of cell around inset.
5120 2002-01-05 Juergen Vigna <jug@sad.it>
5122 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5123 variables are updated.
5125 * insettabular.C (resetPos): set always the inset_y as it may be
5126 needed in another function.
5127 (searchBackward): don't draw while searching.
5129 2002-01-04 Juergen Vigna <jug@sad.it>
5131 * insettext.C (lockInsetInInset): forgot to set a cursor.
5133 2002-01-02 Juergen Vigna <jug@sad.it>
5135 * insettext.C (insertInset): make the correct undo informations on
5136 inserting new insets.
5138 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5140 * insettabular.C: correct single-cell select vertically
5142 2001-12-27 Juergen Vigna <jug@sad.it>
5144 * insettabular.C (ascii): export as tab-separated-values if the
5145 function was not called from export (f.ex.: clipboard).
5147 * insetcollapsable.h: added default support for ascii, linuxdoc and
5148 docbook export (the insettext is exported by default!)
5150 * insettabular.C (copySelection): suff the clipboard with the tabular
5151 data in a tab separated format, seems more naturals then with all the
5154 2001-12-24 Juergen Vigna <jug@sad.it>
5156 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5157 to check for REAL mouseMotion.
5159 2001-12-20 Juergen Vigna <jug@sad.it>
5161 * inset.C (cursor): return the owners cursor if available instead of
5162 always only the bv->text->cursor.
5164 * insettabular.C (checkLongtableSpecial): works now.
5166 2001-12-19 Juergen Vigna <jug@sad.it>
5168 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5169 this has to be always row + 1 as 0 means not selected!
5170 (checkLongtableSpecial): added
5171 (tabularFeatures): better longtable options support
5173 * insettext.C (resizeLyXText): reinit the text always also on a
5176 2001-12-18 Juergen Vigna <jug@sad.it>
5178 * insettext.C (updateInsetInInset): look if we have to autocollapse
5179 paragraps and return if the update is requested for ourself.
5181 * insetert.C (status): update the insettext not myself as that is what
5184 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5185 function only return if the update was requested with myself.
5187 * insettext.C (insetButtonPress): fixed stupid bug.
5188 (various functions): pay attention that lt is cleared BEFORE calling
5189 updateLocal() and try to use it in the right manner (don't use it
5190 if it's not really neccessary!)
5191 (collapseParagraphs): insert a blank between collapsing paragraphs
5192 if neccessary (not already there!).
5194 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5196 * insettabular.C: move includes around a bit, add a couple of
5199 * insettext.[Ch]: move includes around a bit, other ws changes and
5202 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5204 * insettext.C (insetButtonRelease): fix compile problem
5206 2001-12-17 Juergen Vigna <jug@sad.it>
5208 * insettext.C (insetButtonPress): set the selection cursor!
5209 (insetButtonPress): clear the selection (and set with that the
5210 selection.cursor) if we only hit an inset!
5212 * insetert.C (read): removed piece of compatibility code only needed
5215 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5218 * insetcollapsable.C (insetButtonRelease): changed so that it can
5219 open eventual existing popup dialogs on mousebutton==3.
5221 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5223 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5225 * inset.C (insetButtonRelease): return a bool for telling the outer
5226 world that we opened a dialog.
5228 2001-12-07 Juergen Vigna <jug@sad.it>
5230 * insettext.C (paragraph): remove the deleteing of paragraphs as
5231 it was a WRONG move!
5233 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5236 * insettabular.C: use new setSelection(). Allow
5237 selection of single cells.
5239 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5241 * insetquotes.C (latex): fix to use the local language setting at
5242 the point where the inset is inserted (different macros for
5243 different french packages)
5245 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5247 * inset.h: add par_owner_ member variable and parOwner
5250 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5252 * insettabular.C (everywhere): adapt because widths are now real
5253 widths and not strings
5255 * insettext.C (draw): re-introduce the calls to width(), ascent()
5256 and descent() to initialize the caching variables.
5258 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5260 * insettext.C (draw):
5261 (drawFrame): use insetWidth instead of last_width
5263 * insettext.h: remove variable last_width (insetWidth is exactly
5264 the same) and last_height (computed but never used!)
5266 2001-12-10 Allan Rae <rae@lyx.org>
5268 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5270 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5272 * insettext.C (insetAllowed): add comment
5274 2001-12-05 Juergen Vigna <jug@sad.it>
5276 * insettext.C (insetAllowed): fixed for the case that we directly
5277 ask the insettext from its LyXText.
5278 (paragraph): fixed the crash when assigning the par->next() from
5279 the EmptyParagraphMechanism!
5281 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5285 * insettext.C: change "while(" to "while ("
5287 2001-12-04 Juergen Vigna <jug@sad.it>
5289 * insetert.C (edit): handle Inlined status.
5291 * insettext.C (insertInset): trying John's fix for the trailing cursor
5293 * insetert.C (insetButtonPress): added to handle inlined status
5294 (insetMotionNotify): ditto.
5296 * insettext.C (clearInset): changed Painter & in BufferView * param,
5297 to be able to call ascent,descent methods.
5299 2001-12-03 Juergen Vigna <jug@sad.it>
5301 * insettext.C (updateInsetInInset): use lt variable to forbid
5302 changes of LyXText in an update call.
5303 (updateInsetInInset): fixed updating of non locked insets!
5305 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5307 * insettabular.C: capture some more functions to prevent
5308 selection drawing problems. Bug #451274
5310 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5313 * insetgraphicsParams.C: fix inverted sense of float_equal
5315 2001-11-30 Juergen Vigna <jug@sad.it>
5317 * insettabular.C (InsetTabular): use the save_id flag to create also
5318 the tabular with the same id's.
5320 * insettext.C (setParagraphData): added a same_id function for undo
5321 to set the same paragraph id's as of the paragraph we are setting.
5323 2001-11-30 José Matos <jamatos@fep.up.pt>
5326 * insettoc.[Ch]: DocBook -> docbook.
5328 2001-11-29 André Pönitz <poenitz@gmx.net>
5331 * insettext.C: further reduction of header dependencies by using
5332 lyx::layout_type and lyx::textclass_type from support/types.h
5334 2001-11-29 Juergen Vigna <jug@sad.it>
5336 * insettext.C: inserted a reinitLyXText function everywhere I delete
5337 the paragraphs! This should fixe the crashes we had.
5338 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5339 (paragraph): set the InsetOwner() of the new paragraphs!
5341 2001-11-28 André Pönitz <poenitz@gmx.net>
5343 * insetnote.C: add pos initialization that I removed without
5346 2001-11-28 Juergen Vigna <jug@sad.it>
5348 * insettabular.C (resetPos): hack to not crash with infinite paints.
5350 * insettabular.h: insert missing function allowSpellcheck()!
5352 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5354 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5357 * insetfloatlist.C: derive from InsetCommand so gui can use it
5360 2001-11-26 André Pönitz <poenitz@gmx.net>
5364 * insetnote.C: reduce header dependencies, introduce type for
5367 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5369 * various: update for Alert.h
5371 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5373 * inset.h: fix comment
5375 * insettext.C: use par->isInset()
5377 2001-11-22 Allan Rae <rae@lyx.org>
5379 * insetcollapsable.h:
5380 * inset.h: Changes to checkInsertChar() behaviour.
5381 Now return value indicates whether chars can be inserted.
5383 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5385 * various: updated to use the new LaTeXFeatures
5387 2001-11-14 José Matos <jamatos@fep.up.pt>
5389 * insetspecialchar.C (linuxdoc):
5390 (docbook): don't give a name to a unused variable.
5392 * insettext.C (docbook): removed unused variable.
5394 2001-11-13 Herbert Voss <voss@perce.de>
5396 * insetgraphic.C: fix scale bug
5398 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5400 * inset.h (isSpace):
5401 (isLetter): new virtual methods.
5403 * insetspecialchar.C (isSpace):
5404 (isLetter): implement here.
5406 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5408 * inset.h: new inline helpers
5410 * insettext.C: use new helpers
5412 2001-11-07 José Matos <jamatos@fep.up.pt>
5414 * insettext.C (docbook): full support for paragraphs inside insettext.
5416 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5418 * insetindex.C: added header file for std::ostream.
5420 2001-11-03 José Matos <jamatos@fep.up.pt>
5422 * insetindex.C: added using std::ostream that I forgot yesterday.
5424 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5426 * insetindex.h (docbook):
5427 * insetindex.C (docbook): added support for docbook export.
5429 2001-11-02 José Matos <jamatos@fep.up.pt>
5431 * insetcaption.C(docbook): added support for docbook export.
5433 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5435 * insetexternal.C (updateExternal): Do not run update command if
5436 result file exists and is up to date.
5438 * ExternalTemplate.C (readFormat): Support the updateresult token.
5440 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5442 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5443 external_templates) to use the buffer->fileName() but only if
5444 previewing. Generating a TeX file should make FPath return
5447 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5450 * insetert.C: fix some problems
5452 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5454 * insetexternal.C (doSubstitution): Added $$FPath token
5455 to list of usable substitutions in external inset templates.
5457 2001-10-24 Juergen Vigna <jug@sad.it>
5459 * insettabular.C: use new ltType struct for setting longtable
5460 header and footers also new UNSET enums.
5462 2001-10-24 José Matos <jamatos@fep.up.pt>
5464 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5465 (docbook): If the table is not inside a float then wrap it inside
5466 <informaltable>...</informaltable>.
5468 2001-10-23 José Matos <jamatos@fep.up.pt>
5470 * insetref.C (docbook): removed / terminator to conform SGML.
5472 * insetspecialchar.C (linuxdoc):
5473 (docbook): Added support for special chars, more than ascii export.
5475 2001-10-22 Juergen Vigna <jug@sad.it>
5477 * insettext.C (checkInsertChar): added for REALLY checking the
5478 font of the inserted char in the right inset!
5480 2001-10-19 Juergen Vigna <jug@sad.it>
5482 * inset.h: added method allowSpellcheck() so that insets who do
5483 not have anything to spellcheck can tell and so they are over-jumped.
5484 Implemented for InsetText and co.
5486 2001-10-18 Juergen Vigna <jug@sad.it>
5488 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5490 2001-10-15 José Matos <jamatos@fep.up.pt>
5492 * insetert.C: allow export for docbook and linuxdoc
5494 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5496 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5498 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5500 * insetquotes.C (dispString): fix handling of latin9 quotes
5502 2001-10-03 Juergen Vigna <jug@sad.it>
5506 * insetcollapsable.C: change updateInset calls to not tell BV that
5507 we have changed status.
5509 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5511 * insettabular.C (deletable): make const
5513 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5515 * insetert.C (latex): Fix the returned value
5517 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5519 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5520 Returns string(), so nothing in an ERT inset is spellchecked.
5522 * insetgraphics.C (draw): print the filename if not displaying the
5524 (width): make sure that the width and draw methods are consistent.
5525 (updateInset): don't even load the image into cache if not displaying
5528 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5530 * various files (selectNextWord): renamed as
5531 selectNextWordToSpellcheck.
5533 * insetgraphics.C (draw): remove the previous change. Right place
5534 is in imageLoaderXPM.C.
5535 (draw): don't display the image if params.display == NONE.
5537 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5539 * figinset.C (runqueue):
5540 * insetgraphics.C (draw): set background colour of inset from
5541 background to the user-configurable graphicsbg.
5543 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5545 * insetquotes.C (InsetQuotes): when trying to decide the side of
5546 the quote, choose `left' only after a space or '('
5548 2001-09-04 José Matos <jamatos@fep.up.pt>
5553 * insetcollapsable.h
5571 * insetlatexaccent.C
5572 * insetlatexaccent.h
5577 * insetspecialchar.C
5578 * insetspecialchar.h
5582 * insettext.C (docbook): rename docBook method to docbook.
5584 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5586 * inset.h (getFirstParagraph): New virtual method.
5588 2001-08-20 Herbert Voss <voss@perce.de>
5589 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5590 in the the bibtex-database-gui for inserting a line
5593 If no style is given than there is no tex-output.
5595 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5597 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5601 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5603 * insetert.C (latex): Fix output for multiple paragraphs.
5604 (write): New code for writing paragraph data.
5605 (read): Set font after reading the inset.
5606 (localDispatch): Call set_latex_font() for more cases.
5608 * insetnote.h: Add empty validate method.
5611 * insetnote.C (InsetNote): Set language to the language of the
5614 2001-08-16 Juergen Vigna <jug@sad.it>
5616 * insettext.C: implemented the new FINISHED states.
5618 * insettabular.C: ditto
5620 * inset.h: added more FINISHED states for cursor right,up,down
5622 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5624 * insetfloatlist.C: use "FloatName List"
5626 2001-08-14 Juergen Vigna <jug@sad.it>
5628 * insetert.C (edit): forgot to set status_ in edit calls!
5630 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5632 * insettext.C: Compilation fix
5634 2001-08-13 Juergen Vigna <jug@sad.it>
5636 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5638 * insetcollapsable.C (edit): don't recollapse an already open inset.
5640 * insettext.C: fixed problem when reinitializing LyXText by not doing
5641 it while lt is in use and post this to the next possible time in
5643 (searchForward): fixed not unlocking of inset if nothing found.
5644 (edit): set cursor behind right (was set -1 pos).
5646 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5648 * insettabular.C (tabularFeatures): fixed fix where deleting the
5649 last row didn't get the right actcell!
5651 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5653 * insettext.C (localDispatch): Change language only when the inset
5656 2001-08-10 Juergen Vigna <jug@sad.it>
5658 * insettabular.C (selectNextWordInt): use the front using edit call.
5660 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5661 the parameter overwrite class variable inset.
5663 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5665 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5666 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5668 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5669 update only for fixed with cells.
5670 (resetPos): try to fix the lockup on spellchecking or s&r.
5672 * insettext.C (update): comment this out as it seems first wrong
5673 and second not needed anymore!
5674 (some functions): call reinitLyXText() only in update() in all other
5675 positions set only need_update = INIT.
5677 2001-08-08 Juergen Vigna <jug@sad.it>
5679 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5681 * insettext.C (insetUnlock): remove double-space on inset unlock.
5683 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5685 * insettabular.C (update): fixed cursor positon after an insert.
5686 (insetAllowed): do not allow to insert insets when not inside the
5688 (draw): clear below an inset too as it could have changed height.
5690 * inset.C (getMaxWidth): fixed width for inset in inset.
5692 * insettext.C (update): small fix.
5694 * insettabular.C (tabularFeatures): added selection support to
5695 DELETE_ROW/DELETE_COLUMN.
5697 2001-08-07 Juergen Vigna <jug@sad.it>
5699 * inset.C (getMaxWidth): recoded and all it's implementations!
5701 * insettext.C (init,setParagraph+constructors): cleanups
5702 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5703 are new and I want do a save/restore of the cursor position which is
5704 not possible anymore.
5706 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5707 (searchBackward): ditto
5708 (selectNextWord): ditto
5710 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5712 * insetlatexaccent.C (checkContents): Add some debug messages
5714 2001-08-07 Juergen Vigna <jug@sad.it>
5716 * insetert.C (read): don't use InsetCollapsable::read as we don't
5717 write the collapsed status anymore only the status.
5720 2001-08-06 Juergen Vigna <jug@sad.it>
5722 * insetert.C (set_latex_font): use LyXText's setFont directly.
5724 * insettext.C (drawFrame): fixed one time more the right position
5725 and size of the frame!
5727 * insetert.C (~InsetERT): hide the dialog.
5728 (showInsetDialog): added implementation
5731 (status): new function for the status of the ERT inset (3-state).
5732 (write): output also the status of the inset for readback!
5733 (read): readback the status if available otherwise use collapsed_.
5735 * insettext.C (edit): small fix of setting the position, which could
5738 * insetert.C (width): implement this function for inlined viewing.
5739 Added minimum width of 10 pixels!
5741 * insetminipage.C (InsetMinipage): just change the colors a bit so
5742 that border/background is a bit more visible. We will remove this
5745 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5746 function for getting the important widths for drawing in various
5747 functions and in LyXText.
5748 (draw): fixed up a bit (frame drawing/clearing)
5750 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5752 * inset.C (convertFont): delete method. not used.
5754 2001-08-03 Juergen Vigna <jug@sad.it>
5756 * insettext.C (setFont): don't call for a draw update if we're just
5757 changing the cursor font!
5759 2001-08-02 Juergen Vigna <jug@sad.it>
5761 * insettext.C (draw): clear the background with the right color if
5762 needed. Update myself if x&max-width changed and return without doing
5763 anything. Let the update code handle the right stuff.
5765 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5766 inside another inset.
5768 2001-08-01 Juergen Vigna <jug@sad.it>
5770 * insetcollapsable.C (update): added an in_update bool so we avoid
5773 * insettabular.C (update): added an in_update bool so we avoid
5776 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5778 (update): added an in_update bool so we avoid reentering.
5780 * insettabular.C (localDispatch): clear col/row selection when doing
5781 something else inside an inset.
5783 * insettext.C (getLyXText): fixed bug when requesting a recursive
5786 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5788 * insetcite.C (latex): Paranoia check. Make sure that there is no
5789 whitespace between the citation keys.
5791 2001-07-31 Juergen Vigna <jug@sad.it>
5793 * inset.h (nodraw): make the set function also const so that this
5794 can be called from inside other const functions.
5796 * insetcollapsable.h: removed inline variable and moved it over
5797 to the only user InsetERT.
5799 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5800 inset opening immediately therein lying insets dialogs!
5802 * insetert.C (localDispatch): set the font also if we don't have any
5803 chars in this paragraph, otherwise if we delete all of em and start
5804 writing we have the wrong font.
5806 (draw): implemented for inline support
5807 (insetButtonRelease): ditto.
5809 2001-07-30 Juergen Vigna <jug@sad.it>
5811 * insettext.C (reinitLyXText): new function to reinit the insets
5812 text after lot's of paragraph changes. Use this instead of the
5813 cache.clear() which is VERY dangerous.
5815 * insetfloat.C (insetButtonRelease): we should only show the dialog
5816 if we press on the label otherwise we have problems to open mouse
5817 button 3 dialogs inside this float (f.ex. of a tabular!)
5819 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5821 * insetert.C: change back to "ERT"
5823 * insetfloat.C: handliign of RMB on label added.
5825 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5827 * insetgraphicsParams.C: #include LOstream.h here.
5829 * insetfoot.h: remove InsetFoot:: qualifier.
5831 2001-07-29 Baruch Even <baruch@lyx.org>
5833 * ChangeLog: Hiding time travel evidence.
5835 * insetgraphicsParams.h:
5836 * insetgraphicsParams.C:
5837 * insetgraphics.C: Added horizontal scale option, it actually scales both
5838 directions since it keeps image proportions.
5840 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5842 2001-07-29 Baruch Even <baruch@lyx.org>
5844 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5845 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5847 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5849 2001-07-29 Baruch Even <baruch@lyx.org>
5851 * insetgraphics.C: Added EPSI to be an alias of EPS.
5853 2001-07-29 Baruch Even <baruch@lyx.org>
5855 * insetgraphics.C: Change GRAPHICS to Graphics.
5856 Changed image conversion rules (documented at the beginning of file).
5858 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5860 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5863 * insetgraphics.C: added a using std::endl directive.
5865 * insetcommand.h (getScreenLabel): removed pure virtual function,
5866 as it duplicates that in InsetButton.
5868 * insetbib.[Ch] (getScreenLabel):
5869 * insetbutton.[Ch] (getScreenLabel):
5870 * insetcite.[Ch] (getScreenLabel):
5871 * insetert.[Ch] (getScreenLabel):
5872 * insetexternal.[Ch] (getScreenLabel):
5873 * insetfloatlist.[Ch] (getScreenLabel):
5874 * insetinclude.[Ch] (getScreenLabel):
5875 * insetindex.[Ch] (getScreenLabel):
5876 * insetlabel.h (getScreenLabel):
5877 * insetparent.[Ch] (getScreenLabel):
5878 * insetref.[Ch] (getScreenLabel):
5879 * insettoc.[Ch] (getScreenLabel):
5880 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5882 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5884 (validate): remove check on "cite" when using natbib.
5886 2001-07-26 Baruch Even <baruch@lyx.org>
5888 * insetgraphics.C (draw): changed casting to be in one place rather than
5889 all over the function.
5892 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5894 * insetgraphicsParams.h:
5895 * insetgraphicsParams.C:
5896 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5898 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5900 * insetfoot.C (validate): Added method to ensure that the
5901 right bit of LaTeX is emitted.
5903 * insetfoot.h: Added validate method to set the correct
5904 LaTeXFeatures bit for the special footnote code.
5906 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5908 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5911 2001-07-27 Juergen Vigna <jug@sad.it>
5913 * inset.h: remove not used font variable in parameter.
5914 removed checkInsertChar in UpdatableInset as it was equal to
5915 the one in Inset and so not needed.
5917 * insetert.C (checkInsertChar): implementation of function
5920 * inset.h: added new function checkInsertChar.
5922 * various files: added c-tor and clone() function.
5924 * insetcollapsable.h: removed clone function here as this should
5925 be only realized in REAL insets and added it to all collapsable
5926 insets! (with the copy-constructor).
5928 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5930 * insetminipage.C (read): handle missing parameters more gracefully
5932 * insetcollapsable.C (read): handel missing collapsed more gracefully
5934 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5936 * insetfloat.C (read): handle missing parameters.
5938 * insettext.C (read): handle old latex end_inset
5940 * insetert.C (setButtonLabel): new method
5941 (init): use it, to set the dynamic label correctly
5944 * Makefile.am (EXTRA_DIST): add files that is not part or the
5947 * insetcollapsable.h: remove autocollapsable (no users), remove
5948 draw_label, change_label_with_text and companion code. Remove args
5950 * insetert.[Ch]: move here instead (only user)
5952 * inset.h: rename private variable name to name_, make
5953 selectNextWord return a const string. make getInsetName return a
5954 string const &. Remove bool from open, add close.
5956 * Makefile.am: don't compile insetlist, insetsection
5959 2001-07-24 Juergen Vigna <jug@sad.it>
5961 * insetert.C (InsetERT): put init after the paragraph initialization,
5962 as otherwise we don't set the draw_label right.
5964 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5965 insets with the mouse without having strange selections.
5966 (edit): if the inset was collapsed and we open it here then put the
5967 cursor always at the beginning of the inset.
5968 (get_new_label): 15 instead of 10 max chars in the label.
5970 * insetert.C (localDispatch): added and handle various stuff we
5971 need to handle here (font setting on paragraph break, not permitted
5972 layout setting, etc.).
5974 * inset.h: added default copy-consturctor and implemented this in
5975 various insets with the change to use this in the clone function!
5977 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5979 * insetminipage.C (InsetMinipage): set background color to red :)
5981 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5983 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5984 draw frame mode is LOCKED.
5986 * insetcollapsable.C (edit):
5987 (insetButtonRelease): set update status to full when
5990 * insettext.C (clearInset):
5991 * insettabular.C (draw):
5992 * insetlatexaccent.C (draw): honor background color.
5994 * inset.h: new member background_color_, initialized to
5997 * inset.C (backgroundColor): new method.
5998 (setBackgroundColor): new method.
6000 * insetert.C (init): new method, called by the ctors.
6001 (InsetERT): when inserting contents, make sure the font is
6004 * insetnote.C (InsetNote): when inserting content, remove trailing
6006 (init): set background color to LColor::note
6008 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6010 * insetcollapsable.C: adjust
6012 * insetbutton.C: adjust
6014 2001-07-23 Juergen Vigna <jug@sad.it>
6016 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6017 parameter on the _collapsed function (was not needed) and call
6018 always width_collapsed().
6020 * insetert.C (InsetERT): use setLabel with "true" flag.
6022 * insetcollapsable.C: modified various functions to set the draw_label
6023 string right in any condition.
6024 (setLabel): added a bool parameter to set change_label_with_text.
6026 * insetcollapsable.h: added draw_label string which is set to the
6027 actual drawn label-string, while label is the original static label
6028 of this collapsable inset. Added bool change_label_with_text to set
6029 if we want that the label changes to the start of the InsetText's
6030 text when collabpsed. You can set this flag with the setLabel funciton.
6031 Added bool inlined for inlined collapsable insets, but not handled
6034 * insetcollapsable.C (get_new_label): added should get a new label
6035 from the InsetText beginning (for now 10 chars).
6037 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6039 * insetquotes.C (latex): fix the handling of french double quotes
6040 when not using the french pachage.
6042 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6044 * insetcollapsable.h: make WidthCollapsed mutable.
6046 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6047 InsetPrintIndex returns INDEX_PRINT_CODE.
6049 * inset.h: add INDEX_PRINT_CODE
6051 * insetcollapsable.C (draw): init widthCollapsed if necessary
6054 * insetquotes.C (width): use the local language, not the document
6057 (dispString): add additional spacing for all french languages,
6059 (validate): make it work when there is no default language
6061 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6063 * insetnote.C (init): new method, called by the constructors
6064 (InsetNote): new constructor with contents passed as a string
6066 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6068 * insetfootlike.C (insetAllowed): disallow float in footlike.
6070 * insetert.C (InsetERT): add collapsed argument to the constrctor
6073 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6075 * insetindex.h: shut off warning
6077 2001-07-20 Juergen Vigna <jug@sad.it>
6079 * insetcollapsable.C (update): recoded hopefully works now!
6081 2001-07-19 Juergen Vigna <jug@sad.it>
6083 * most files: implemented the below new introduced function.
6085 * inset.h: added new edit(BufferView *, bool front) method to be able
6086 to enter an inset from the front/back without knowing x/y positions
6087 and baselines inside the inset. So I just can tell the inset activate
6088 me and set the cursor on the front/back of yourself.
6090 2001-07-18 Juergen Vigna <jug@sad.it>
6092 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6093 is given to the InsetText.
6094 (insetButtonPress): ditto
6095 (insetButtonRelease): ditto
6096 (insetMotionNotify): ditto
6098 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6100 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6101 LIGATURE_BREAK, since the name is so stupid.
6103 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6105 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6106 the default InsetCollapsable methods. I.e., it can insert anything.
6107 (write) output the name of the inset, not some silly hack for
6108 compatability with the old InsetInfo.
6110 * insetinfo.[Ch]: removed.
6111 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6112 now collapsable, but functionality is otherwise identical to InsetInfo.
6114 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6116 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6118 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6121 * insetquotes.C: general cleanup
6122 (dispString): add spaces inside french double quotes.
6123 (latex): ditto. Moreover, treat first the case where the frenchb
6124 or french options have been given.
6126 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6128 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6131 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6133 * figinset.C (RegisterFigure): Print debug message only when
6134 current_view is available.
6136 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6138 * many files: update to match the change below
6140 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6141 implement the version which takes an inset here.
6143 * insetcollapsable.[Ch]: implement open and isOpen
6145 * inset.h: remove insertInsetAllowed from Inset
6146 (open): new method, to open or close an inset
6147 (isOpen): returns the status of an inset
6148 (isCollapsable, colapse): removed
6150 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6152 * insetquotes.C (dispString): display french guillemets when using
6155 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6157 * insetcollapsable.h: remove bogus return statements
6159 2001-07-18 Juergen Vigna <jug@sad.it>
6161 * insettabular.C (selectNextWord): fixed spellchecking for the
6162 first cell of a tabular (wasn't entered!)
6163 (getLyXText): changed to enter automatically insettext and return
6164 it's LyXText if we're locked.
6166 2001-07-17 Juergen Vigna <jug@sad.it>
6168 * various files: implemented the below functions.
6170 * inset.h: added functions
6171 - virtual string selectNextWord(BufferView *, float & value) const;
6172 - virtual void selectSelectedWord(BufferView *) { return; }
6173 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6174 needed for spellchecking correctly!
6176 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6178 * insetert.C (latex): write out all paragraphs.
6180 2001-07-17 Baruch Even <baruch@lyx.org>
6182 * insetgraphics.C (draw): Removed unneeded casts.
6184 2001-07-16 Juergen Vigna <jug@sad.it>
6186 * insettext.C (update): fixed small oversight (reset lt to 0).
6188 2001-07-14 Baruch Even <baruch@lyx.org>
6191 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6193 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6195 Consistent use of Lsstream.h:
6196 * figinset.C: removed using std::ostringstream directive.
6198 * insetgraphics.C (createLatexOptions):
6199 * insetinclude.C (unique_id):
6200 std::ostringstream -> ostringstream.
6201 * insettext.C (localDispatch): std::istringstream -> istringstream.
6203 2001-07-13 Juergen Vigna <jug@sad.it>
6205 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6207 * insetcollapsable.C (getLockingInset): ditto.
6209 2001-07-12 Juergen Vigna <jug@sad.it>
6211 * insetcollapsable.h: added implementation of new function for
6214 * various files: added implementation of new insertInsetAllowed-func
6215 and redone the function a bit more.
6217 * inset.h: added isCollapsable(), bool collapsed(),
6218 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6220 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6222 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6223 LyXText which is marked for removal while we're using it!
6225 * insettext.h: added private LyXText * lt to use it to assure we are
6226 not deleting our LyXText while we're using it!
6228 2001-07-11 Juergen Vigna <jug@sad.it>
6230 * insettext.C (insertInset): check if we are before the inset after
6231 inserting it! This check IS needed. Remove the Undo-Call as it is
6232 called in LyXText::insertInset!
6234 * insettext.h: added struct InnerCache.
6236 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6237 that we ONLY delete the LyXText in the getLyXText() routine. So we
6238 are sure we don't delete LyXText while someone is working with it!
6240 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6242 * insetexternal.C: (*it). -> it->
6243 * insettext.C: ditto
6245 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6247 * insetcollapsable.C (edit): always open collapsed insets (even if
6248 they are not autocollapsable)
6250 * insetcommand.C (operator=): simplify.
6252 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6254 * insetert.C (latex): handle META_NEWLINE
6256 2001-07-09 Juergen Vigna <jug@sad.it>
6258 * insetert.h: a normal InsetText can insert insets, but we won't.
6260 * inset.h: return default "false" on insertInsetAllowed and implement
6261 this function where a returnvalue != "false" is needed.
6263 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6265 * insetert.C (InsetERT): new contructor
6267 2001-07-06 Juergen Vigna <jug@sad.it>
6269 * a lot of files: added implementation of the below new functions
6270 and the change to clone(). Also the call of the new undo-functions
6273 * inset.h: added an inset_id, added functions getParFromID,
6274 getInsetFromID, firstParagraph, cursor and id functions, added
6275 bool same_ids to clone function.
6277 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6279 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6280 of BufferView * and shared_ptr<LyXText>
6282 2001-07-05 Juergen Vigna <jug@sad.it>
6284 * insettext.C (clear): deleted also the cache not only LyXText.
6285 (setParagraphData): ditto.
6287 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6289 * insetfloat.C (latex): let the specific placement take presedence
6290 if set, otherwise choose document placement if set, otherwise just
6291 use float default placement.
6293 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6295 * insettext.C (localDispatch): call CutAndPaste::'s static method
6298 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6300 * insetbib.C: no meed to include forms.h here.
6302 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6304 * insettext.C: added using std::make_pair directive.
6306 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6308 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6310 (deleteLyXText): ditto
6311 (resizeLyXText): ditto
6313 2001-07-02 Juergen Vigna <jug@sad.it>
6315 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6316 following calls are only returned the right pointer without the over
6317 head to search in the map.
6318 (various funcs): reset the cached_bview variable as this signs that
6319 the cache is not valid anymore.
6321 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6323 * insettabular.C (clone): do not copy the LyXTabular twice
6325 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6327 * insettext.h (TEXT): delete method
6329 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6331 * insetmarginal.C (latex):
6332 * insetfoot.C (latex): fix spacing of notes in LaTeX
6334 * insettext.C (localDispatch): use .c_str() on istringstream
6335 constructor argument.
6337 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6342 * inseturl.C: fix method names in these to begin
6343 with small char too, so they inherit
6345 2001-06-28 Juergen Vigna <jug@sad.it>
6347 * insettext.C (setFont): fixed font settings using toggleFree()
6348 instead of setFont().
6350 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6352 * Change a lot of method names to begin with a small char.
6353 Changes to a lot of files because of this.
6355 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6357 * insetfloatlist.C (Write): std:: qualify ostream
6360 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6364 * insetgraphics.C: send debug output to Debug::INFO instead of
6367 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6370 * insettabular.C (getStatus): update to use func_status
6372 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6374 * insetref.C (DocBook): added support for cross-references without
6377 2001-06-26 The LyX Project <jug@sad.it>
6382 * insetlabel.h: removed escape method and moved it to
6385 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6387 * insettabular.C (getMaxWidth): do the speedup in a different way,
6390 2001-06-24 The LyX Project <Asger>
6392 * insettabular.C (getMaxWidth): We cache a mapping from
6393 inset to cell in order to speed this method up.
6395 2001-06-24 The LyX Project <Asger>
6397 * insettext.C: Optimized InsetText::draw or something.
6399 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6401 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6403 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6405 * inset.h: name change from lyxinset.h
6407 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6409 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6411 2001-06-14 Juergen Vigna <jug@sad.it>
6413 * insettext.C (draw): removed warnings.
6415 2001-06-13 Juergen Vigna <jug@sad.it>
6417 * insettabular.C (nodraw): only go down the tree if we don't have
6418 that flag set otherwise it's obvious that we don't want to draw.
6419 (LocalDispatch): do also an update if we have an undispached result.
6421 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6424 * insetgraphicsParams.C:
6425 * insettext.C: removed // -*- C++ -*- as first line.
6427 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6429 * lyxinset.h (resizeLyXText): shut off warning about unused
6432 2001-06-07 Juergen Vigna <jug@sad.it>
6434 * insettext.C (resizeLyXText): honor the new force flag.
6436 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6438 * insettabular.C (deleteLyXText): new function
6440 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6448 * insetcollapsable.C:
6449 * insetcaption.C: LColor tidy
6451 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6453 * figinset.C: fix typo
6455 2001-06-01 Juergen Vigna <jug@sad.it>
6457 * insettabular.C (resetPos): small hack so that scroll is not set to
6458 0 when we are in the last column of a tabular. This is a problem we
6459 have because of constats 20 offset on both directions, so this can
6460 cause on the limit an endless loop.
6462 * insettext.C (SetFont): forgot that we can have locking insets ;)
6464 2001-05-31 Juergen Vigna <jug@sad.it>
6466 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6468 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6470 * figinset.C: add using std:: directive for the C functions which
6473 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6475 * insetfloat.C (Write): write out wide info
6476 (Read): read the wide info
6477 (Latex): use the wide info when creating latex.
6479 * insettext.C: adjust
6481 * insetgraphics.[Ch] (statusMessage): change to return string
6485 * figinset.C (runqueue): add std::
6488 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6490 * insetcite.C (Ascii): add std:: qualifier
6492 2001-05-28 Juergen Vigna <jug@sad.it>
6494 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6495 a endless-width inset (maxWidth < 0).
6496 (Edit): change language only if not equal.
6498 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6500 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6502 2001-05-16 Juergen Vigna <jug@sad.it>
6504 * insettext.C (selectAll): added
6505 (clearSelection): added
6507 * insettabular.C (SetFont): now we may set a font on a whole selection!
6508 (getSelection): added helper function.
6510 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6512 * insetcite.C (Ascii): Add method.
6514 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6517 * insetbib.C: fix path for OS/2 & Win32
6519 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6521 * insetfoot.C (Latex): don't use % after footnote.
6523 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6525 * insettext.C (Read): use clear
6526 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6528 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6530 * insetfloatlist.h: add a bunch of std:: qualifiers.
6532 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6534 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6535 FLOAT_LIST_CODE, renumber code list.
6537 * insettoc.C (getScreenLabel): remove support for float lists
6541 * insetfloatlist.[Ch]: new files
6543 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6545 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6547 * insettabular.C (LocalDispatch):
6548 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6551 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6553 * insettext.C: remvoe !NEW_INSETS cruft
6555 * insettabular.C: remove !NEW_INSETS cruft
6557 * insetcollapsable.h: remove !NEW_INSETS cruft
6559 * insetbib.C: remove !NEW_INSETS cruft
6561 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6563 * insettoc.C: hack to make listof algorithm work
6565 2001-04-20 Juergen Vigna <jug@sad.it>
6567 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6569 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6571 * insetquotes.C (Latex): improve the guard against
6572 unwanted !` and ?` ligatures. This should really be done in
6573 another place (to catch all this ligatures at low-level).
6575 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6577 * insettext.C (init): remvoe leftovers from cursor_visible change
6578 (draw): use c++ cast
6579 (LocalDispatch): dispatch LFUN_MESSAGE
6581 * insettabular.C (InsetTabular): remove leftovers from
6582 cursor_visible, and scoped_ptr changes
6583 (draw): use c++ cast
6585 * insetcollapsable.C (draw): use c++ cast
6587 * ExternalTemplate.h: inherit privaely from noncopyable
6588 * insetcommand.h: ditto
6589 * insetinclude.h: ditto
6591 2001-04-16 Allan Rae <rae@lyx.org>
6593 * insettoc.C (Ascii):
6594 * insettext.C (draw):
6595 * insettabular.C (setPos):
6596 * insetminipage.C (Read):
6597 * insetfloat.C (placement):
6598 * insetcaption.C (Ascii, DocBook):
6599 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6600 an unrecognised preprocessor directive. So ensure they're wrapped.
6602 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6605 * insetexternal.C: set view on Clone. Add _ to private members.
6607 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6609 * insettext.C (InsetText): fix new
6610 (InsetText): reindent some, simplify deletion of par list
6611 (clear): simplify deletion of par list, fix new
6612 (SetParagraphData): simplify deletion of par list
6614 * insettabular.[Ch] (getLabelList): implement new method
6616 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6618 * lyxinset.h: do not include gettext.h...
6626 * insetlatexaccent.C:
6630 * inseturl.C: ... and do it here instead
6632 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6634 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6636 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6638 * insetcollapsable.[Ch] (getLabelList): implement
6640 * insettext.[Ch] (getLabelList): implement
6642 * insettext.h: reindent
6644 * insettabular.h: make tabular a scoped_ptr
6646 * insettext.C (init): adjust for cursor_visible
6647 (ToggleInsetCursor): constify asc and desc, font, adjust for
6649 (ShowInsetCursor): constify asc and desc, font, adjust for
6651 (HideInsetCursor): adjust for cursor_visible
6653 * insettabular.C: reindent some
6654 (InsetTabular): adjust for scoped_ptr and cursor_visible
6655 (InsetTabular): ditto
6656 (~InsetTabular): delete delete
6657 (Clone): adjust for scoped_ptr
6658 (Read): constify old_format, adjust for scoped_ptr, move init of
6660 (draw): constify tx, localize loop vars.
6661 some other localization of variables, remove double initilizatons.
6663 * insetfoot.C: remove using std::ostream, add ostream where needed
6665 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6667 * lyxinset.h: some reindentaion, use initializer list for
6669 UpdatableInset: make cursor_visible a private var add
6670 public isCursorVisible(), add protected toggleCursorVisible() and
6671 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6673 * insettoc.C: remvoe using decl
6674 (getScreenLabel): make cmdname donst
6677 (Ascii): don't use endl
6679 * insetfootlike.C: remove using decl at file scope and add std::
6681 * insetmarginal.C: ditto
6683 * insetfoot.C: some reformatting
6685 * insetfloat.C (InsetButtonRelease): adjust the hit area
6687 * insetert.C (SetFont): some reformatting
6689 * insetcollapsable.C: some reformatting and constification
6690 (Clone): comment out.
6691 * insetcollapsable.h: some reformatting
6692 (Clone): comment out.
6697 2001-03-30 Juergen Vigna <jug@sad.it>
6699 * insetcollapsable.h: changen *inset to be a InsetText inset.
6701 * some files: changed to reflect the above change.
6703 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6705 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6706 InsetExternal::Params.
6707 Added operator==() and operator!=() for the Params struct.
6709 2001-03-29 Juergen Vigna <jug@sad.it>
6711 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6714 * insetminipage.C: removed widthp_ and all it's functions and changed
6715 to use new %-lengths of LyXLength.
6717 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6719 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6721 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6723 * insetgraphicsParams.C (operator!=): new function, needed by the
6724 ControlGraphics class.
6726 2001-03-28 Juergen Vigna <jug@sad.it>
6728 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6729 (checkAndActivateInset): don't use the values returned from
6730 call to bv->checkInsetHit.
6732 * insetminipage.C (Clone): set special minipage values.
6734 * insetcollapsable.C (draw): changed to draw the button in the
6735 upper left corner outside the textinset.
6736 (ascent): changed because of different drawing
6740 (InsetButtonPress): ditto
6741 (InsetButtonRelease): ditto
6742 (InsetMotionNotify): ditto
6744 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6746 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6750 2001-03-26 Juergen Vigna <jug@sad.it>
6752 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6754 * insettext.C (ShowInsetDialog): implemented above function.
6756 * insettabular.C (ShowInsetDialog): ditto
6758 * insetminipage.C (ShowInsetDialog): ditto
6760 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6762 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6763 InsetInclude::Params. Don't store a buffer * in Params. Store the
6764 master file name instead.
6766 2001-03-23 Juergen Vigna <jug@sad.it>
6768 * insetcollapsable.C (InsetMotionNotify):
6769 (InsetButtonRelease):
6770 (InsetButtonPress): fixed y-offset (minipages).
6772 * insettext.C (draw): force a FULL update if cleared == true.
6774 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6775 routine to draw the minipages on its position-flag.
6776 (InsetInInsetY): give back the right y position, because of minipage
6779 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6782 * insetfloat.C (DocBook): docbook export code.
6784 2001-03-22 Juergen Vigna <jug@sad.it>
6786 * insetminipage.C (getMaxWidth): added function to set the drawing
6788 (Read): should work now!
6790 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6791 if we create a new inset.
6793 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6795 * figinset.C (fl_set_preemptive_callback): moved definition outside
6798 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6800 * insetminipage.C (Read): prepare for reading of minipage arguments.
6802 2001-03-18 Baruch Even <baruch@lyx.org>
6804 * insetgraphics.C: Minor cleanups of the comments and code.
6806 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6808 * insetminipage.C (InsetMinipage): default to not collapsed
6810 2001-03-16 Juergen Vigna <jug@sad.it>
6812 * insetminipage.C (width): modified with to be a string
6813 (widthp): added widthp (for % width) support functions.
6814 (InsetButtonRelease): added to open the options dialog on button==3.
6815 (~InsetMinipage): added to hide the dialog.
6817 * insetminipage.h: added hideDialog signal
6819 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6821 * insetminipage.h: change the order or Position to match
6822 LyXParagraph::MINIPAGE_ALIGNMENT
6824 * several files: remvoe CXX_WORKING_NAMESPACES
6826 * ExternalTemplate.h: noncopyable is in namespace boost
6827 * insetinclude.h: ditto
6828 * insetcommand.h: ditto
6830 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6832 * insettext.C (Edit): #else# -> #else.
6833 * insettoc.C: added using directive.
6835 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6837 * insetminipage.h: add pos, inner_pos, width and height. + getters
6838 and setters for all of them.
6840 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6842 * insetinclude.C (Latex): Do not exit when the textclass of the
6843 included file differ from the textclass of the parent file.
6845 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6847 * ExternalTemplate.C (read): the reading of external insets now checks
6848 for \end_inset and removes it form the input stream.
6850 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6852 * ExternalTemplate.h:
6853 * ExternalTemplate.C:
6855 * insetexternal.C: move form to GUII
6857 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6860 * insetinclude.C: add InsetIncludeParams, use
6861 composition rather than derivation of InsetCommand
6863 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6865 * insettoc.C (Ascii): use the Buffer typedefs
6867 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6869 * insettoc.C (Ascii): implement for dynamic number of lists
6871 * insetcaption.[Ch]: update from new_insets branch
6872 * insetfloat.[Ch]: ditto
6874 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6877 * figinset.C: use new File Dialog
6879 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6881 * insettext.C: changes becuase of ParagraphParameters.
6883 2001-02-28 Baruch Even <baruch@ev-en.org>
6885 * insetgraphics.C (updateInset): Changed due to the change in
6888 2001-02-26 Juergen Vigna <jug@sad.it>
6890 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6891 handled in LyXText).
6893 2001-02-23 Juergen Vigna <jug@sad.it>
6895 * insettext.C (draw): some small repainting fixes.
6896 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6898 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6899 should be) and not an int.
6901 * insettabular.C (LocalDispatch): ditto
6903 * insettext.C (LocalDispatch): ditto
6905 * insetcollapsable.C (LocalDispatch): ditto
6907 2001-02-22 Juergen Vigna <jug@sad.it>
6909 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6910 DISPATCH it and we don't have a locking_inset.
6912 2001-02-21 Baruch Even <baruch@ev-en.org>
6914 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6915 instead of GraphicsCacheItem *.
6917 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6919 * insetcollapsable.C (getLyXText): add const qualifier to second
6922 2001-02-22 Juergen Vigna <jug@sad.it>
6924 * insettext.C (getLyXText): honor the recursive parameter.
6925 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6927 * inset.C (getLyXText): added bool recursive parameter.
6929 * insettext.C (SetUpdateStatus): or the update codes.
6930 (draw): check need_update with &.
6931 (InsetButtonPress): set no_selection to not put a selection when
6932 entering an inset and it is redraws in another spot.
6934 * insettext.h: made need_update an int.
6936 2001-02-20 Baruch Even <baruch@ev-en.org>
6939 * insetgraphisc.C: Changed to use better semantics when loading images
6940 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6942 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6946 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6947 consistent with InsetTabular.
6949 2001-02-19 Juergen Vigna <jug@sad.it>
6951 * insettabular.C (LocalDispatch): implement PAGE up/down.
6953 * insettext.C (draw): clear all of it on need_update==INIT too!
6955 * insettabular.C (InsetUnlock): always clear the selection.
6957 * inset.C (scroll): normally we only want to scroll the inset until
6958 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6960 2001-02-14 Juergen Vigna <jug@sad.it>
6962 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6963 (resetPos): fixed scroll behaviour.
6964 (LocalDispatch): do an update if moving cursor inside a table cell
6965 requests a scroll of the tabular.
6967 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6969 * insettext.C (textWidth): constify local var
6971 * insettabular.C: small cleanup.
6973 * insetfoot.C (Latex): constify local var
6975 * insetcollapsable.C: small cleanup.
6977 * figinset.C (runqueue): use compare instead of strcmp
6979 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6982 * insetinfo.C: remove cruft
6984 2001-02-14 Juergen Vigna <jug@sad.it>
6986 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6988 2001-02-13 Juergen Vigna <jug@sad.it>
6990 * insettext.C (InsertInset): don't move left (is this right?)
6992 * insettabular.C (LocalDispatch): use of the no_draw variable
6994 * insettabular.h: new no_draw variable to stop redraw
6996 * insettabular.C (TabularFeatures): fixed update for alignment change
6998 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7002 * insetbib.C: move dialogs to frontends/
7004 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7006 * insettext.C (LocalDispatch): Restore the language if the inset
7009 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7011 * insettext.C (moveRightIntern): Update the selection cursor.
7012 (moveLeftIntern): Ditto.
7014 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7016 * Makefile.am: remove BoundingBox.h
7018 * BoundingBox.h: removed
7020 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7022 * insettext.C (LocalDispatch): Update selection cursor when moving
7023 cursor to the right.
7024 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7025 (moveLeftIntern): Ditto.
7027 2001-02-05 Baruch Even <baruch.even@writeme.com>
7029 * insetgraphics.C: Updated automatic image conversion, it now goes into
7030 temporary directory instead of with the image itself.
7032 2001-01-21 Baruch Even <baruch@ev-en.org>
7034 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
7035 to EPS or PNG when needed (support bitmap graphics).
7037 2000-11-02 Baruch Even <baruch@ev-en.org>
7040 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
7041 and removal of commented out code.
7043 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7045 * insetbib.C (callback): Update citations if the key has changed.
7047 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7049 * insetbib.C (InsetBibKey): Better computation of default key.
7050 (getScreenLabel) Show both the key and the label.
7051 (getBibLabel): New method.
7052 (callback): Force a redraw if the inset have been changed.
7054 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7056 * insetref.C (getType, getName): Move methods from
7057 src/frontends/xforms/FormRef.C.
7059 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7061 * insettabular.C: Various improvements (use only one dummy position).
7063 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7065 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7066 par->bibkey->width. This fixes the crashes when running without
7067 gui or when having included documents.
7069 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7071 * insetcommand.C (getAsString, setFromString): Cleanup.
7073 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7075 * insetref.C: Add the array InsetRef::types that contains
7076 information about all supported reference types.
7078 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7080 * lyxinset.h: remove trailing comma in enum.
7082 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7084 * insettext.C: kill LyXBell.