1 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
4 with external_in_tmpdir and compute filename ourself
5 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
6 use it to store referenced file(s)
7 * ExternalSupport.C (writeExternal): write relative filename if
9 * ExternalTemplate.[Ch]: add ReferencedFile command
10 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
12 * insetgraphics.C (prepareFile): write relative filename if
14 * insetinclude.C (latex, docbook, linuxdoc): add file to
15 runparams.exportdata and write it to the temp dir instead of
16 writing it to the final destination
17 * insetinclude.C (docbook, linuxdoc): don't copy runparams
19 2004-05-19 Angus Leeming <leeming@lyx.org>
21 * insetcite.[Ch]: small change because namespace biblio is
22 now namespace lyx::biblio.
24 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
26 * insettabular.[Ch] (buffer): make Buffer * argument const
28 2004-05-17 Angus Leeming <leeming@lyx.org>
30 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
31 to force the button label to be re-generated.
33 2004-05-14 José Matos <jamatos@lyx.org>
35 * insetlabel (docbook): do not ouput label, for the moment.
37 2004-05-14 Angus Leeming <leeming@lyx.org>
39 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
40 new biblio::asValidLatexString function.
42 2004-05-12 Angus Leeming <leeming@lyx.org>
44 * insetcite.C: use BufferParams::cite_engine rather than the three
45 bools, use_natbib, use_jurabib, use_numerical_citations.
47 2004-05-10 Angus Leeming <leeming@lyx.org>
49 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
50 Ditto with getStyle, moved to biblio::getEngine.
52 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
54 * insetgraphics.C (validate): remove pre 233 file format stuff,
55 handle zipped files for "nice" export
57 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
59 * insetgraphics.C (prepareFile): copy zipped file and corresponding
60 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
61 * insetgraphics.C (prepareFile): unzip zipped file also if it has
62 changed since the last run
63 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
66 2004-04-29 Angus Leeming <leeming@lyx.org>
68 * ExternalTemplate.[Ch]: remove redundant #includes.
70 2004-04-28 Angus Leeming <leeming@lyx.org>
73 s/updateToolbar()/updateToolbars()/
75 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
77 * insetgraphics.C: require file extension (file format change!)
78 * insetgraphics.C (latex): handle zipped files for "nice" export
80 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
82 * insetgraphics.C (latex): strip the extension and replace dots in
83 the filename if doing a "nice" export. This is a partial fix for
84 bug 1231 without reintroducing bug 655.
86 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
88 * insetoptarg.h: remove the editable() method (InsetCollapsable
89 does it better already)
91 * insetbibtex.C (normalize_name): new helper function. Changes the
92 name to be suitable to use in a latex file (relative to master
94 (latex): use normalize_name.
96 2004-04-20 Angus Leeming <leeming@lyx.org>
98 * render_preview.C (startLoading): remove lyxerr statement.
100 (getPreviewLoader): new helper function.
102 2004-04-19 Angus Leeming <leeming@lyx.org>
106 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
108 2004-04-19 Angus Leeming <leeming@lyx.org>
110 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
112 (add_preview): renamed as add_preview_and_start_loading. Invoke
113 RenderPreview::startLoading.
115 * insetinclude.C (metrics, draw): changes due to the changed
116 RenderPreview interface.
118 * render_preview.C: remove cached pimage_.
119 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
120 (draw): don't call startLoading. That's up to the user of
123 2004-04-16 Angus Leeming <leeming@lyx.org>
125 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
127 2004-04-13 Angus Leeming <leeming@lyx.org>
129 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
130 the renderer to inform LyX::updateInset that the inset's status
131 has changed and it should be redrawn.
133 * render_button.[Ch] (clone):
134 * render_graphic.[Ch] (c-tors, clone):
135 * render_preview.[Ch] (c-tors, clone): ditto.
137 * render_graphic.[Ch] (connect):
138 * render_preview.[Ch] (connect): removed, as connection is now
139 made in the constructors.
143 * insetinclude.C: ensuing simplification of the client code.
144 (statusChanged): now superfluous. Removed.
146 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * ExternalTemplate.[Ch]: remove editCommand
149 * ExternalSupport.C (editExternal): use formats.edit() instead of
150 the removed editCommand template parameter
151 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
152 * insetgraphics.[Ch] (editGraphics): new method
154 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
156 * insetinclude.C (validate): set/reset features.buffer_ when
159 2004-04-07 Angus Leeming <leeming@lyx.org>
161 * insetexternal.C (priv_dispatch):
162 * insetinclude.C (priv_dispatch): prevent crash by invoking
163 InsetOld::priv_dispatch at the end of the switch, rather than
164 InsetOld::dispatch...
166 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
168 * insetcollapsable.C:
169 * insetbranch.C: 'assign' to open/close branch inset according to
170 selection; also print content on closed branch button
172 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
174 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
175 $$RelPath_Master, $$RelPath_Parent, $$Extension,
176 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
178 * ExternalSupport.C (updateExternal): use absolute and output
179 filename where appropriate
181 2004-04-05 André Pönitz <poenitz@gmx.net>
183 * insetbase.h: use LCursor & in notifyCursorLeave
185 2004-04-05 Angus Leeming <leeming@lyx.org>
187 * insetgraphics.C: remove unused header file "lyxrc.h".
189 * render_graphic.C: squash bug 1372: Misleading graphics label when
190 deactivating lyx view.
192 2004-04-05 Angus Leeming <leeming@lyx.org>
197 * insetlatexaccent.C:
202 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
204 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
206 * insetfloat.C (read): fix yesterday's float fix.
207 * insetwrap.C (read): apply the fixed float fix.
209 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
211 * insetfloat.C (read): fix reading of float params
214 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
216 * insettext.C (edit): comment the call to updateLocal (dangling now)
217 * insettext.h: add allowSpellCheck() returning true
219 2004-03-31 Angus Leeming <leeming@lyx.org>
221 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
223 2004-03-31 Angus Leeming <leeming@lyx.org>
225 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
226 the cursor out of an inset.
228 * insetbranch.C (priv_dispatch):
229 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
230 use getOutOfInset to push the cursor out of the inset when
233 2004-03-30 Angus Leeming <leeming@lyx.org>
235 * insetbase.[Ch] (translate): new static member function, returns
236 an InsetBase::Code corresponding to the input string.
238 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
240 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
241 so that it opens the inset if it refers to the currently active
244 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
246 * insetfloat.C (addToToc): use par_const_iterator_begin and
247 par_const_iterator_end.
249 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
251 * insetbibtex.[Ch]: bibtopic support.
253 * insetfloat.[Ch]: add param \sideways {true|false}
254 (support for sideways floats from rotating.sty).
256 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
258 * insettext.[Ch]: add a default ctor. implement const version of
264 * insetwrap.C: adjust
266 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
268 * insettext.h: add insetAllowed returning true by default (fixing
269 vanishing insets problem)
271 * insettext.C (draw): handle the responsability of adding the
272 ouside offset to collapsable. Clean code a bit.
274 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
275 from insettext correctly, solve a couple of off-by-one drawing
278 2004-03-25 Angus Leeming <leeming@lyx.org>
280 * insetcaption.C (draw): squash warning about unused variable.
282 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
284 * ExternalSupport.C: use the master buffer's temp dir
285 * insetgraphics.C (latex): make relative filename relative to the
287 * insetgraphics.C: use the master buffer's temp dir
288 * insetinclude.C (masterFilename): new function
289 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
290 is always true if loadIfNeeded() returns true)
292 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
294 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
295 set its parent to the current buffer.
296 (latex): use the tmppath of the master buffer, not just the parent
297 buffer (makes a difference with more than one level of include
298 insets). If the file name is relative write in the .tex file a
299 name relative to the master buffer directory.
301 * insetinclude.C: rename masterFilename to parentFilename (this
302 points to the direct parent)
304 2004-03-25 André Pönitz <poenitz@gmx.net>
306 * inset.[Ch]: remover owner
308 * insetcollapsable.[Ch]: derive from InsetText instead having such a
316 * insetcharstyle.[Ch]:
324 * insetwrap.C: adjust
326 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
328 * insetquote.C: use opening quote after '[' char.
330 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
332 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
335 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
337 * insetcite.[Ch]: support jurabib.
339 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
341 * insetcite.C: Support second \cite option.
344 * insetcommandparams.[Ch]: add second optional argument.
346 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
348 * insetcollapsable.C (lfunMouseRelease): right mouse button only
349 shows the inset dialog.
351 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
353 * insetlabel.[Ch]: remove them
354 * Makefile.am: adjust
356 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
358 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
360 * insetinclude.C (latex): show a GUI warning if textclasses don't
362 * insetinclude.C: use mangledFilename() for temp files
363 * insetgraphics.C (readInsetGraphics): remove version check, since
364 the graphics inset has no own fileformat number anymore
366 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
368 * insetquotes.[Ch]: added new member that allows direct access
369 to single/double quotation marks.
371 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
373 2004-02-16 André Pönitz <poenitz@gmx.net>
376 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
377 implicitly assume 'DispatchResult(true, true) with exception of
378 InsetBase::priv_dispatch which does the equivalent of
379 'retrun DispatchResult(false)'
381 * inset*.[Ch] (priv_dispatch): adjust
383 * insettabular.[Ch]: remove remains of the 'update' mechanism,
384 simplify cursor moving function,
385 re-enable horizontal scrolling for large tables
387 2004-02-13 André Pönitz <poenitz@gmx.net>
389 * insettabular.[Ch]: some work after IU
391 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
393 * inset.C (setPosCache): switch to absolute coords in insets
394 * insettext.[Ch] (draw, drawFrame): adjust
395 * insetcollapsable.C (draw): adjust
398 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
400 * insettext.C (edit):
401 (updateLocal): use the cur argument instead of the global cursor
402 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
404 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
406 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
408 * insetfloat.C (validate): "H" -> 'H' in call to contains
410 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
412 2004-01-30 André Pönitz <poenitz@gmx.net>
416 * insetcollapsable.[Ch]:
419 * insetgraphics.[Ch]:
424 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
427 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
429 * insettabular.C: add using statement for std::vector, remove
430 std:: where using was already used.
432 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
434 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
436 * insetinclude.C (validate): use feautures.nice() instead of
439 2004-01-20 André Pönitz <poenitz@gmx.net>
442 * insetbase.[Ch]: move stuff from mathcursor here.
448 * insetcharstyle.[Ch]:
449 * insetcollapsable.[Ch]:
452 * insetexternal.[Ch]:
454 * insetgraphics.[Ch]:
463 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
465 2004-01-15 André Pönitz <poenitz@gmx.net>
472 * insetcharstyle.[Ch]:
473 * insetcollapsable.[Ch]:
476 * insetexternal.[Ch]:
478 * insetgraphics.[Ch]:
487 * updatableinset.[Ch] (priv_dispatch et al): change signature.
489 2004-01-08 André Pönitz <poenitz@gmx.net>
491 * insetcollapsable.[Ch]:
494 * updatableinset.h: use cell index info from global cursor.
496 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
498 * insetnote.C (InsetNoteParams::write): write label only once
500 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
502 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
504 get rid of the SameName functor
506 * insettabular.C: improve the functor.
508 2003-12-29 Angus Leeming <leeming@lyx.org>
510 * insetexternal.C (setParams): update defaultTemplateName.
512 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
514 * insetbox.C: Use term "Box" in button label
516 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
518 * insetcharstyle.C: get getDrawFont working again
520 2003-12-15 André Pönitz <poenitz@gmx.net>
523 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
525 2003-12-12 Angus Leeming <leeming@lyx.org>
527 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
529 (InsetBranchParams): remove the branchlist hack.
530 (isBranchSelected): new function, used to decide whether to
531 print each output format. Also used by InsetList.
532 (read, string2params): repair my own breakage ;-)
534 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
536 * insetminipage.[Ch]: remove from repository.
538 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
541 * insetcollapsable.[Ch]: Move all CollapseStatus code from
542 insetert to insetcollapsable; introduce virtual function
543 setButtonLabel and invoke it from collapsable
545 2003-12-12 Angus Leeming <leeming@lyx.org>
547 * insetinclude.C (draw): cache x,y and so enable the
550 2003-12-12 Angus Leeming <leeming@lyx.org>
552 * mailinset.C (print_mailer_error): tidy up the output.
554 2003-12-11 Angus Leeming <leeming@lyx.org>
556 * mailinset.[Ch] (print_mailer_error): new helper function.
558 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
559 calling InsetCommandMailer.
560 (InsetCommandMailer::string2params): pass the name of the dialog.
562 * insetbibitem.[Ch] (d-tor):
563 * insetbibtex.[Ch] (d-tor):
564 * insetcite.[Ch] (d-tor):
565 * insetfloatlist.[Ch] (d-tor):
566 * insetindex.[Ch] (d-tor):
567 * insetlabel.[Ch] (d-tor):
568 * insetref.[Ch] (d-tor):
569 * insettoc.[Ch] (d-tor):
570 * inseturl.[Ch] (d-tor): removed.
571 Hiding the dialog is handled by InsetCommand.
573 * insetbibtex.[Ch] (draw, metrics):
574 * insetfloatlist.[Ch] (draw, metrics):
575 * insetindex.[Ch] (draw, metrics): removed.
576 Drawing is handled by InsetCommand.
578 * insetbibitem.[Ch] (priv_dispatch):
579 * insetbibtex.[Ch] (priv_dispatch):
580 * insetcite.[Ch] (priv_dispatch):
581 * insetfloatlist.[Ch] (priv_dispatch):
582 * insetindex.[Ch] (priv_dispatch):
583 * insetlabel.[Ch] (priv_dispatch):
584 * insettoc.[Ch] (priv_dispatch):
585 * inseturl.[Ch] (priv_dispatch): removed or simplified.
586 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
587 LFUN_INSET_DIALOG_SHOW.
589 * insetbox.C (string2params):
590 * insetbranch.C (string2params):
591 * insetert.C (string2params):
592 * insetexternal.C (string2params):
593 * insetfloat.C (string2params):
594 * insetinclude.C (string2params):
595 * insetminipage.C (string2params):
596 * insetnote.C (string2params):
597 * insetvspace.C (string2params):
598 * insetwrap.C (string2params): over-hauled.
600 2003-12-10 Angus Leeming <leeming@lyx.org>
602 * insetexternal.[Ch]: add a draft option and respect it when
605 2003-12-10 Angus Leeming <leeming@lyx.org>
607 * insetbox.C: (read, write): now prepend the inset contents with
608 'Box' to identify the inset as a box inset.
610 * insetbox.h: move the translators out of sight.
612 2003-12-10 Angus Leeming <leeming@lyx.org>
614 * insetert.C (string2params): clean-up using the new lyxlex interface.
616 * insetexternal.C: ensure that InsetExternalParams has a default
617 template, 'RasterImage'.
619 2003-12-10 Angus Leeming <leeming@lyx.org>
621 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
622 to an enum. Ensuing clean-ups through out the class.
623 (read, write): now prepend the inset contents with 'Note' to identify
624 the inset as a note inset.
626 2003-12-10 Angus Leeming <leeming@lyx.org>
628 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
629 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
631 2003-12-10 André Pönitz <poenitz@gmx.net>
636 * insettext.[Ch]: remove unused insetInset()
638 * insetert.C: disable some LFUNs
640 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
642 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
644 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
646 2003-12-04 Angus Leeming <leeming@lyx.org>
648 * insetexternal.C (draw): update the xo_, yo_ cache.
650 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
652 (RotationDataType): new helper struct wrapping the
653 RotationData::OriginType enum.
655 2003-12-03 André Pönitz <poenitz@gmx.net>
657 * inset.h: remove getParagraphs()
659 * insetcollapsable.[Ch]:
663 * insettext.C: use getText() instead of getParagraphs()
665 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
667 * insetert.C: fix label text updating bug
669 2003-12-02 Angus Leeming <leeming@lyx.org>
671 * insetvspace.[Ch] (space): new member function. Make space_ private.
672 (read): use the new, simpler lyxlex syntax.
674 2003-12-01 André Pönitz <poenitz@gmx.net>
676 * insetcollapsable.[Ch]:
677 * insetert.[Ch]: move 'inline' state to InsetCollapsable
679 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
681 * insetvspace.C (read): handle 'end_inset' token.
683 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
685 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
687 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
689 * insetcollapsable.[Ch]:
691 * insetcharstyle.C: place inset content on the button when
694 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
696 * insetvspace.C: remove VSpace::NONE; increase inset width
698 2003-12-01 André Pönitz <poenitz@gmx.net>
700 * insetbase.h: whitespace
702 * inset.[Ch]: remove latexTextWidth
703 make setBackgroundColor virtual
705 * insettext.[Ch]: move ParagraphList member to LyXText
707 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
713 * insetminipage.[Ch]:
715 * insetwrap.[Ch]: adjust paragraphs and background color handling,
717 2003-11-28 Angus Leeming <leeming@lyx.org>
719 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
720 hiding and showing the dialog respectively.
721 (priv_dispatch): also actually update the inset contents.
723 2003-11-28 Angus Leeming <leeming@lyx.org>
725 * insetbox.C (d-tor):
726 * insetbranch.C (d-tor):
727 * insetcite.C (d-tor):
728 * insetfloat.C (d-tor):
729 * insetfloatlist.C (d-tor):
730 * insetinclude.C (d-tor):
731 * insetindex.C (d-tor):
732 simplify the invocation of the Mailer::hideDialog() function.
734 * insetminipage.C (showInsetDialog):
735 simplify the invocation of the Mailer::showialog() function.
737 2003-11-28 André Pönitz <poenitz@gmx.net>
740 * insetvspace.[Ch]: new insets
742 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
744 * insetcharstyle.C: Syntax change for CharStyles
746 2003-11-28 André Pönitz <poenitz@gmx.net>
748 * updatableinset.h: remove insetInInsetY
750 * insetcollapsable.[Ch]:
753 * insettext.[Ch]: adjust
755 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
759 * insetcollapsable.[Ch]:
761 * insettabular.[Ch]: remove setFont
763 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
765 * render_graphic.[Ch]: adjust comments
767 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
769 * insetgraphics.C (draw): cache xo_ & yo_
771 2003-11-24 André Pönitz <poenitz@gmx.net>
773 * insettext.C (setViewCache): don't call LyXText::init() anymore
775 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
778 * insetcollapsable.[Ch]:
779 * insetert.[Ch]: remove bufferview parameter in methods
780 open, close, status, and updateStatus.
782 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
784 * insetcollapsable.[Ch]:
786 * insettext.[Ch] (getCursorDim): squash unused variable
788 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
790 * insettext.C (edit): x0_,y0_ -> xo_,yo_
792 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
794 * insettext.C (draw): sets LyXText absolute coordinates
796 2003-11-20 Angus Leeming <leeming@lyx.org>
798 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
799 about unused parameters.
801 * insetcollapsable.C (open):
802 * insettabular.C (pasteSelection):
803 * insettoc.C (draw): ditto.
805 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
807 * insetcollapsable.C:
809 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
810 remove mouse_x mouse_y etc.
812 2003-11-17 André Pönitz <poenitz@gmx.net>
814 * insettext.[Ch] (cx, cy): remove
816 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
818 2003-11-13 André Pönitz <poenitz@gmx.net>
821 * insetcollapsable.[Ch]:
823 * insettext.[Ch] (deleteLyXText): remove
825 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
827 * insetcollapsable.[Ch] (fitInsetCursor): remove
828 * insettabular.[Ch] (fitInsetCursor): remove
829 * insettext.[Ch] (fitInsetCursor): remove
830 * updatableinset.[Ch] (fitInsetCursor): remove
831 (getCursorDIm): add virtual
833 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
835 * src/insets/Makefile.am:
836 * src/insets/inset.h:
837 * src/insets/insetcharstyle.C:
838 * src/insets/insetcharstyle.h: The Character Style /XML short
841 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
843 * insettext.C: remove all update calls
844 * insetcollapsable.C: remove all update calls
846 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
848 * insettext.C (updateLocal, insertInset, setFont): remove
851 2003-11-10 André Pönitz <poenitz@gmx.net>
853 * inset.h: remove Inset::id_
855 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
858 2003-11-10 André Pönitz <poenitz@gmx.net>
862 * insetcollapsable.[Ch]:
869 * updatableinset.[Ch]: remove inset locking & adjust
871 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
873 * inset.h (allowSpellCheck): add (return true)
874 * insetert.h (allowSpellCheck): add (return false)
876 2003-11-05 José Matos <jamatos@lyx.org>
884 * insetcollapsable.[Ch]:
888 * insetexternal.[Ch]:
890 * insetfloatlist.[Ch]:
892 * insetgraphics.[Ch]:
897 * insetlatexaccent.[Ch]:
900 * insetmarginal.[Ch]:
901 * insetminipage.[Ch]:
905 * insetpagebreak.[Ch]:
909 * insetspecialchar.[Ch]:
915 * insetwrap.[Ch]: rename ascii to plaintext
916 and LatexRunParams to OutputParams.
918 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
920 * insetcollapsable.C (edit): add open() all
921 * insettext.C (edit): add setViewCache call
923 2003-11-04 André Pönitz <poenitz@gmx.net>
925 * inset.h (edit): move locking code from dispatch() to edit()
931 * insetcollapsable.[Ch]:
934 * insetexternal.[Ch]:
935 * insetgraphics.[Ch]:
941 * insettext.[Ch]: adjust
943 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
946 * insetcollapsable.[Ch]:
950 * updatableinset.[Ch]: remove dead search code
952 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
955 * insetcollapsable.[Ch]:
959 * updatableinset.[Ch]: remove dead spellcheck code
961 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
963 * insettabular.C (lockInsetInInset): small fix
965 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
967 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
968 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
969 from here. Be stricter on DispatchResult returned.
971 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
973 * Inset::dispatch's: adjust for new DispatchResult semantics.
975 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
977 * render_base.h: make clone return an auto_ptr
978 * render_button.C (clone): adjust
979 * render_graphic.C (clone): adjust
980 * render_preview.C (clone): adjust
982 * insettheorem.C (clone): return an auto_ptr
984 * insettext.C (priv_dispatch): exception safety
986 * insettabular.C: store the file scope variable paste_tabular in a
987 scoped_ptr, adjust usage.
989 * insetexternal.C (setParams): exception safety
991 * insetbibitem.C (clone): exception safety
993 2003-11-03 André Pönitz <poenitz@gmx.net>
996 * insetcollapsable.[Ch]:
998 * insettext.[Ch]: remove Inset::id and related functions
1000 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1002 * insets: adjust for DispatchResult changes.
1004 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1006 * insetpagebreak.C: fix screen representation & ascii output.
1008 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1012 * insettabular.[Ch]:
1013 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1015 2003-10-31 José Matos <jamatos@lyx.org>
1017 * inset.h (ascii, linuxdoc, docbook):
1018 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1019 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1020 * insetcaption.[Ch] (ascii, docbook):
1021 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1022 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1023 * insetert.[Ch] (ascii, linuxdoc, docbook):
1024 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1025 * insetfloat.[Ch] (linuxdoc, docbook):
1026 * insetfloatlist.[Ch] (ascii):
1027 * insetfoot.[Ch] (docbook):
1028 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1029 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1030 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1031 * insetindex.[Ch] (docbook):
1032 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1033 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1034 * insetline.[Ch] (ascii, linuxdoc, docbook):
1035 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1036 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1037 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1038 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1039 * insetref.[Ch] (ascii, linuxdoc, docbook):
1040 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1041 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1042 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1043 * insettext.[Ch] (ascii, linuxdoc, docbook):
1044 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1045 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1046 * insetwrap.[Ch] (docbook):
1047 add LatexRunParams argument.
1049 2003-10-30 José Matos <jamatos@lyx.org>
1051 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1053 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1055 * updatableinset.C (priv_dispatch):
1056 * insetwrap.C (priv_dispatch):
1057 * inseturl.C (priv_dispatch):
1058 * insettoc.C (priv_dispatch):
1059 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1060 (moveLeftIntern, moveUp, moveDown):
1061 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1062 (moveLeft, moveUp, moveDown):
1063 * insetref.C (priv_dispatch):
1064 * insetnote.C (priv_dispatch):
1065 * insetminipage.C (priv_dispatch):
1066 * insetlabel.C (priv_dispatch):
1067 * insetindex.C (priv_dispatch):
1068 * insetinclude.C (priv_dispatch):
1069 * insetgraphics.C (priv_dispatch):
1070 * insetfloatlist.C (priv_dispatch):
1071 * insetfloat.C (priv_dispatch):
1072 * insetexternal.C (priv_dispatch):
1073 * insetert.C (priv_dispatch):
1074 * insetcommand.C (priv_dispatch):
1075 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1076 * insetcite.C (priv_dispatch):
1077 * insetbranch.C (priv_dispatch):
1078 * insetbox.C (priv_dispatch):
1079 * insetbibtex.C (priv_dispatch):
1080 * insetbibitem.C (priv_dispatch):
1081 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1083 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1085 * insettext.C: small refactoring of docbook stuff
1087 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1089 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1090 (priv_dispatch): adjust for operator dispatch_result_t removal
1092 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1093 in a DispatchResult, adjust accordingly.
1094 (priv_dispatch): use strange >= construct... (will be removed later)
1096 * most insets: dispatch_result -> DispatchResult
1098 * insetbase.h: move DispatchResult out to dispatchresult.h
1100 2003-10-27 André Pönitz <poenitz@gmx.net>
1102 * insetpagebreak.[Ch]: new inset for page breaks
1104 * insetline.[Ch]: new inset for vertical lines
1109 2003-10-25 Angus Leeming <leeming@lyx.org>
1111 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1112 new virtual member functions, specialised...
1113 * render_button.h (asButton):
1114 * render_graphic.h (asGraphic):
1115 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1117 * insetexternal.C: use these new functions rather than dynamic_cast.
1118 Various other small simplifications.
1120 2003-10-22 Angus Leeming <leeming@lyx.org>
1122 * insetexternal.[Ch]: add the ability to 'preview' the external file
1125 * insetinclude.C: changes due to the changes in the RenderPreview
1128 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1129 message if the preview image is not available. Only initiate the
1130 loading of the preview from draw(). Ditto, start the monitoring
1131 of an external file from RenderMonitoredPreview::draw.
1133 2003-10-22 Angus Leeming <leeming@lyx.org>
1135 * insetcite.[Ch] (setLoadingBuffer): removed.
1136 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1137 ascertain whether to proceed with the (expensive) task of computing
1138 the natbib-style label. Remove the home-grown hack providing
1139 similar functionality.
1141 2003-10-22 Angus Leeming <leeming@lyx.org>
1143 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1144 class and into an anonymous namespace.
1146 2003-10-22 Angus Leeming <leeming@lyx.org>
1148 * insetcommand.h: remove the display method.
1152 * insetindex.h (InsetPrintIndex):
1153 * insettoc.h: add a display method, returning true.
1155 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1157 * insetcollapsable.h:
1161 * insetinclude.h: (1) finish off the inset display() work;
1162 (2) fix the "is a bit silly" bug (accessing char
1165 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1169 * insetfootlike.h: re-introduce display() for insets,
1170 fixing the various bugs (stretch of line above, math inset
1173 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1175 * insetbase.C (dispatch): new func
1176 (priv_dispatch): new func replaces...
1177 (localDispatch): this, deleted.
1179 * all insets with dispatch modified for new code.
1181 2003-10-15 André Pönitz <poenitz@gmx.net>
1183 * insetcollapsable.[Ch]
1185 * inset.h: re-add some edit(bv, index) method called by undo
1187 2003-10-14 Angus Leeming <leeming@lyx.org>
1189 * insetexternal.[Ch] (view, cache, view_):
1190 * insetgraphics.[Ch] (view, cache, view_):
1191 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1192 (statusChanged): call LyX::cref().updateInset.
1194 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1195 the BufferView cache.
1197 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1200 2003-10-14 Angus Leeming <leeming@lyx.org>
1202 * insetinclude.C (metrics, draw): only draw the preview when previews
1205 2003-10-14 André Pönitz <poenitz@gmx.net>
1207 * insetcollapsable.[Ch]:
1208 * insettabular.[Ch]:
1210 * inset.h: getText() as alternative to getParagraphs()
1212 2003-10-13 Angus Leeming <leeming@lyx.org>
1215 * insetgraphicsParams.C: displayTranslator is now a function.
1217 2003-10-13 Angus Leeming <leeming@lyx.org>
1219 * insetinclude.C: remove #include "PreviewImage.h".
1221 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1223 * ExternalSupport.C:
1224 * ExternalTransforms.C:
1226 * insetbox.h: ws changes only
1228 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1230 * insetinclude.C (localDispatch): do not call
1231 InsetOld::localDispatch, just return UNDISPATCHED
1232 * insetgraphics.C (localDispatch): ditto
1233 * insetcommand.C (localDispatch): ditto
1235 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1237 * inset.h: get rid of RESULT typedef for dispatch_result
1239 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1240 * insetert.[Ch] (localDispatch): ditto
1241 * insettabular.[Ch] (localDispatch): ditto
1246 * insettext.[Ch] (localDispatch): ditto
1249 (moveRightIntern): ditto
1250 (moveLeftIntern): ditto
1253 * updatableinset.[Ch] (localDispatch): ditto
1255 2003-10-12 Angus Leeming <leeming@lyx.org>
1257 * renderbase.h (view, view_): removed.
1258 * renderbase.C: removed.
1259 * Makefile.am: remove render_base.C. The shortest lived file in
1262 * renderbutton.C (draw):
1263 * render_graphic.C (draw): don't cache the BufferView.
1265 * insetabase.h (cache, view): removed.
1267 * inset.h (generatePreview) removed.
1269 * insetcallapsable.[Ch] (cache, view, view_): removed.
1271 * insetcollapsable.C (draw): don't cache the BufferView.
1273 * insetcommand.[Ch] (view): removed.
1275 * insetexternal.[Ch] (cache, view, view_):
1276 * insetgraphics.[Ch] (cache, view, view_):
1277 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1279 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1280 when you have direct access to it. In fact, don't use the cache at all.
1282 2003-10-10 Angus Leeming <leeming@lyx.org>
1284 * insetinclude.C (metrics): use preview_->metrics.
1285 (draw): use preview_->draw.
1287 * render_preview.[Ch] (pimage): removed.
1289 2003-10-10 Angus Leeming <leeming@lyx.org>
1291 * renderers.[Ch]: removed.
1294 * render_button.[Ch]:
1295 * render_graphic.[Ch]:
1296 * render_preview.[Ch]: new files. The first three are split out of
1297 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1298 contains a re-worked InsetInclude::PreviewImpl also.
1300 * Makefile.am: reflect the changed files.
1303 * insetexternal.[Ch]:
1304 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1306 * insetinclude.[Ch]: changes reflecting the change from
1307 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1313 * inseturl.C: add #include "support/std_ostream.h"
1315 2003-10-09 Angus Leeming <leeming@lyx.org>
1317 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1318 to PreviewedInset::previewReady.
1320 2003-10-09 Angus Leeming <leeming@lyx.org>
1322 * insetexternal.[Ch] (statusChanged):
1323 * insetgraphics.[Ch] (statusChanged): make a const member function.
1325 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1328 2003-10-09 Angus Leeming <leeming@lyx.org>
1330 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1331 to PreviewedInset's previewReady and removePreview member functions.
1333 2003-10-08 André Pönitz <poenitz@gmx.net>
1335 * insetcollapsable.C:
1336 * insettext.[Ch]: saner 'init' structure
1338 * updatableinset.[Ch]: remove unneeded code
1340 2003-10-08 Angus Leeming <leeming@lyx.org>
1342 Fix doxygen warnings.
1344 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1345 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1347 2003-10-07 Angus Leeming <leeming@lyx.org>
1349 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1350 be applied to InsetExternal.
1352 * Makefile.am: add these new files.
1354 * ExternalTemplate.[Ch]: add a list of available transforms to
1355 class Template and a list of factory functions for transformer classes
1356 that can act on this data to class Format.
1358 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1360 * ExternalSupport.C: Add code to replace transform placeholders
1361 with appropriate output.
1363 2003-10-07 Angus Leeming <leeming@lyx.org>
1365 * ExternalSupport.[Ch]: new files, moving the private member functions
1366 and namespace anon functions out of insetexternal.C to here, so making
1367 it easier to understand what is going on in insetexternal itself.
1369 * Makefile.am: add new files.
1371 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1372 allowing the class to be forward declared. (Also consistent with
1373 all other Params classes.)
1374 (write): moved out of the class. Move this function and those in
1375 namespace anon to ExternalSupport.[Ch].
1377 2003-10-07 Angus Leeming <leeming@lyx.org>
1379 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1380 non-const member function.
1382 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1387 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1389 2003-10-02 André Pönitz <poenitz@gmx.net>
1391 * insettext.C (read): make sure there is at least one par
1392 in the text after reading.
1394 2003-10-01 José Matos <jamatos@lyx.org>
1396 * insetbranch.C (linuxdoc, docbook): minor fix.
1398 2003-10-01 Angus Leeming <leeming@lyx.org>
1400 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1402 * insetexternal.[Ch]: changes due to the introduction of
1403 namespace lyx::external.
1405 2003-09-30 Angus Leeming <leeming@lyx.org>
1407 * insetexternal.[Ch] (Params::read, write): new member functions.
1409 2003-09-25 Angus Leeming <leeming@lyx.org>
1411 * insetexternal.[Ch] (TempName): new (private) nested struct with
1412 fake copy semantics. Enables us to use the generated copy c-tor
1413 in the Params struct.
1414 (Params::templatename, Params::tempname): use accessor functions.
1416 2003-09-25 Angus Leeming <leeming@lyx.org>
1418 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1419 function, returning a const pointer.
1421 2003-09-23 Angus Leeming <leeming@lyx.org>
1423 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1424 store them in a vector, preambleNames.
1426 * insetexternal.C (validate): loop over all preambleNames and call
1427 LaTeXFeatures::addExternalPreamble with each.
1429 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1431 * insetbranch.C: bug fix in branches
1433 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1435 * insetnote.C: small clean-up.
1437 2003-09-19 Angus Leeming <leeming@lyx.org>
1439 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1441 * insetcommand.C (string2params): clear params using the default c-tor.
1443 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1444 InsetInclude::Params. No more data in this struct than in
1445 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1446 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1447 (clone): remove #warning as it's now redundant.
1448 (set): add a 'Buffer const &' arg. Make private.
1449 (loadIfNeeded) move out of the class definition and into namespace anon.
1450 (getMasterFilename, getFileName): ditto.
1452 2003-09-18 Angus Leeming <leeming@lyx.org>
1454 * insetcommand.C (setParams): use the params' copy constructor.
1456 2003-09-18 Angus Leeming <leeming@lyx.org>
1458 * insetinsetbase.h (getLabelList):
1459 * insetinsetcollapsable.[Ch] (getLabelList):
1460 * insetinsetinclude.[Ch] (getLabelList):
1461 * insetinsetlabel.[Ch] (getLabelList):
1462 * insetinsettabular.[Ch] (getLabelList):
1463 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1464 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1466 2003-09-18 Angus Leeming <leeming@lyx.org>
1468 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1469 redundant baggage from yesteryear.
1470 Remove Params::flag as it is redundant; the info is present in
1473 2003-09-18 Angus Leeming <leeming@lyx.org>
1475 * insetinclude.C (latexString): add a Buffer const & arg.
1477 2003-09-18 Angus Leeming <leeming@lyx.org>
1482 * insettext.h: rename EnumLColor as LColor_color.
1484 2003-09-18 Angus Leeming <leeming@lyx.org>
1486 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1487 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1489 2003-09-16 Angus Leeming <leeming@lyx.org>
1491 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1492 set before trying to generate a preview, else we trigger an assert.
1494 2003-09-16 Angus Leeming <leeming@lyx.org>
1496 * insetinclude.C (PreviewImpl::parent): return a const reference.
1498 2003-09-16 Angus Leeming <leeming@lyx.org>
1500 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1502 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1504 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1505 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1507 * insetminipage.C (metrics):
1508 * insetnote.C (metrics):
1509 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1510 access collapsed_ directly.
1512 2003-09-16 Angus Leeming <leeming@lyx.org>
1514 * insetbibitem.C: add #include "lyxfont.h".
1516 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1519 * insetbibtex.C: use namespace alias for lyx::support::os
1521 2003-09-16 Angus Leeming <leeming@lyx.org>
1523 * insetcollapsable.h: remove unused framecolor variable.
1524 Remove #include "LColor.h".
1526 * insetcollapsable.C: remove unused framecolor variable.
1529 * insetcollapsable.C:
1537 Add #include "LColor.h".
1539 2003-09-16 Angus Leeming <leeming@lyx.org>
1541 * insettext.[Ch] (frameColor): new accessor function.
1542 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1548 add #include "LColor.h".
1550 * insetcollapsable.h: add #include "LColor.h"
1551 (for its framecolor member variable).
1553 2003-09-16 Angus Leeming <leeming@lyx.org>
1555 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1557 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1558 rename frame_color as frame_color_. Make private.
1560 * insettext.C: associated changes.
1562 2003-09-16 Angus Leeming <leeming@lyx.org>
1564 * inset.h: store background_color_ as an int, not as an LColor::color to
1565 get LColor.h out of the header file.
1568 * insetlatexaccent.C:
1571 * insetspecialchar.C:
1573 add #include "LColor.h".
1575 2003-09-16 Angus Leeming <leeming@lyx.org>
1577 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1580 2003-09-15 Angus Leeming <leeming@lyx.org>
1582 * inset.[Ch] (setBackgroundColor, backgroundColor):
1583 * insettext.[Ch] (setFrameColor):
1584 pass EnumLColor args, rather than LColor::color ones.
1586 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1596 * insetwrap.C: remove usage of STRCONV
1598 2003-09-15 Angus Leeming <leeming@lyx.org>
1600 * renderers.C (draw):
1601 * insetlatexaccent.C (draw): explicitly define the color passed to
1604 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1606 * insettext.C: remove block causing problems in lockInsetInInset
1607 (mentioned erroneously under Bug #1366)
1609 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1611 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1614 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1616 * several files: change Assert to BOOST_ASSERT
1618 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1620 * insettext.[Ch]: remove drawText[XY]Offset
1622 2003-09-08 Angus Leeming <leeming@lyx.org>
1624 * insetcollapsable.C:
1629 * insetspecialchar.C:
1632 * insettoc.C: remove redundant using directives.
1634 2003-09-07 Angus Leeming <leeming@lyx.org>
1637 * insetspecialchar.h: remove #include "support/std_string.h".
1639 2003-09-06 Angus Leeming <leeming@lyx.org>
1641 * renderers.C: add #include "insets/inset.h"
1643 2003-09-05 Angus Leeming <leeming@lyx.org>
1645 * *.C: strip out redundant #includes. (193 in total.)
1647 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1649 * insets/insetbibtex.[Ch]:
1650 * insets/insetcommand.h:
1651 * insets/insetfloatlist.[Ch]:
1652 * insets/insetinclude.[Ch]:
1653 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1654 of insets like bibtex, include, toc and floatlist to the visible
1655 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1656 up the dialogs. Cursor has to be in front of the inset (i.e.
1657 start of row) for this to function.
1659 2003-09-04 Angus Leeming <leeming@lyx.org>
1661 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1662 structure outside of the Format struct. Format::preambleName refers to
1663 an item in the map of all preamble snippets.
1664 Make use of the new Debug::EXTERNAL flag.
1666 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1667 (validate): Small change due to the changed storage of preamble snippets.
1669 2003-09-04 Angus Leeming <leeming@lyx.org>
1671 * insetgraphics.C: #include "support/os.h"
1673 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1674 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1675 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1677 * insetcollapsable.h:
1679 * insetnote.C: move #include "funcrequest.h" out of the header file.
1681 2003-09-03 Angus Leeming <leeming@lyx.org>
1683 * insetexternal.C (updateExternal):
1684 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1687 2003-09-03 Angus Leeming <leeming@lyx.org>
1689 * insetexternal.C: don't bring namespace lyx::support into the global
1692 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1694 * insetbranch.C: Add Branch: to label
1696 2003-09-02 John Levon <levon@movementarian.org>
1699 * insettext.C: remove cursor.i[xy]()
1701 2003-08-28 Angus Leeming <leeming@lyx.org>
1703 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1704 "sh ", enabling the conversion to be carried out even if the script
1707 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1709 * most files: change to use const Buffer refs
1711 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1713 * insetfootlike.C: whitespace.
1715 2003-08-26 John Levon <levon@movementarian.org>
1719 * insetindex.h: remove remaining mentions of needFullRow()
1721 2003-08-26 André Pönitz <poenitz@gmx.net>
1727 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1729 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1731 * insetbranch.C: Small fix to prevent a crash on loading.
1733 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1738 * insetcollapsable.h:
1740 * insetfloatlist.[Ch]:
1741 * insetfootlike.[Ch]:
1742 * insetinclude.[Ch]:
1748 * insettheorem.[Ch]:
1749 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1750 altogether, putting the logic in metrics/draw in the insets.=20
1751 Draws short single row insets with more or less realistic metrics.
1753 2003-08-19 André Pönitz <poenitz@gmx.net>
1755 * insettext.C: use new RowPainter interface
1757 2003-08-18 John Levon <levon@movementarian.org>
1759 * insetref.C: require amsmath for eqref
1761 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1765 * insetbranch.[Ch]: implements the 'branch inset'
1766 idea. This allows the output of various versions of a document
1767 from a single source version, selectively outputing or suppressing
1768 output of parts of the text.
1769 This implementation contains a 'branch list editor' in a separate
1770 tab of the document settings dialog. Branches are user definable
1771 and have a "display colour" to distinguish them on-screen.
1773 ColorHandler was somewhat cleaned up.
1774 (1) make possible a dynamically growing LColor list by allowing
1775 the graphic context cache to grow along (vector);
1776 (2) eliminate an IMHO unnecessary step in colour allocation.
1778 2003-08-15 André Pönitz <poenitz@gmx.net>
1780 * insettext.[Ch]: adjust after rowlist split
1782 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1784 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1785 rename valign-center to valign-middle;
1786 rename VALIGN_CENTER to VALIGN_MIDDLE
1788 2003-08-11 André Pönitz <poenitz@gmx.net>
1790 * inset.h: remove resizeLyXText
1793 * insetcollapsable.[Ch]:
1795 * insettabular.[Ch]: adjust
1797 * insettext.[Ch]: remove saveLyXTextState,
1798 restoreLyXTextStat, sstate, reinitLyXText
1800 2003-08-07 André Pönitz <poenitz@gmx.net>
1802 * inset.[Ch]: move non-crucial functions out-of-line
1804 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1805 remove duplicated code.
1807 2003-08-05 André Pönitz <poenitz@gmx.net>
1810 * insetcollapsable.[Ch]:
1820 * insettabular.[Ch]:
1823 * updatableinset.[Ch]: rip out "deep update"
1825 * insettext.C (localDispatch): merge cases with default branch
1827 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1829 * insettabular.[Ch] (updateLocal): simplify logic
1831 2003-08-04 André Pönitz <poenitz@gmx.net>
1833 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1834 is 'FULL' all the time.
1836 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1838 * insetert.C (get_new_label): only add ... to the (closed) label
1839 when the string has been shortened
1841 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1843 * Always use std::endl with lyxerr
1845 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1847 * insetnote.C: update \author list
1849 2003-07-31 André Pönitz <poenitz@gmx.net>
1851 * insetcollapsable.h:
1852 * insettabular.[Ch]:
1853 * insettext.[Ch]: remove toggleSelection
1855 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1857 (with help from Juergen Spitzmueller)
1858 * insetnote.C: add add i18n support. Use Prefs-definable
1859 colours for Comment and Greyedout.
1861 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1863 * insetcollapsable.[Ch]:
1865 * insetert.C: factor out the detection of clicking on the inset
1866 button as 'hitButton'. John Levon contributed.
1868 2003-07-30 André Pönitz <poenitz@gmx.net>
1870 * insetcollapsable.C:
1872 * insettabular.C: parantheses, localize vars etc.
1874 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1876 * insetnote.C: Implement a newenvironment in preamble for
1877 greyedout. Patch provided by Jürgen Spitzmüller.
1879 2003-07-29 Angus Leeming <leeming@lyx.org>
1881 * insetcommand.C (localDispatch): default to
1882 InsetOld::localDispatch.
1884 * insetbibitem.C (localDispatch):
1885 * insetbibtex.C (localDispatch): remove call to
1886 ChangeCitationsIfUnique.
1888 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1890 * insetexternal.C (read): use pushpophelper.
1892 2003-07-28 José Matos <jamatos@lyx.org>
1894 * insetext.C (read): \end_document replaces \the_end.
1896 2003-07-28 José Matos <jamatos@fep.up.pt>
1898 * insetert.C (write): \layout -> \begin_layout.
1899 Add missing \end_layout.
1901 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1903 * insetquotes.C: document a bit the format
1905 * insettabular.C (write): remove extra space
1907 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1908 * insetnote.C: Umpf. Hope I *now* get it right :-(
1910 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1911 *insetnote.C: did the right fix to greyedout: \color
1912 instead of \textcolor.
1914 2003-07-28 Angus Leeming <leeming@lyx.org>
1916 * insetbibtex.h: remove extraneous forward declaration.
1919 * insetbibtex.h: Also remove long-dead Holder member class
1922 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1924 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1927 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1929 * insetwrap.C (addToToc): adjust for lyx::toc
1931 * insetfloatlist.C (ascii): adjust for lyx::toc
1933 * insetfloat.C (addToToc): adjust for lyx::toc
1935 2003-07-27 José Matos <jamatos@fep.up.pt>
1937 * insetnote.h (linuxdoc,docbook): update support.
1939 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1941 * insetfloat.C (wide): add a space to label, for consistency
1943 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1945 * insettext.C (nextChange): adjust for lyx::find
1946 (searchForward): ditto
1947 (searchBackward): ditto
1949 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1951 * insetgraphicsParams.C:
1952 * insetexternal.C: declare extern displayTranslator
1955 * renderers.C: add #include "support/LAssert.h"
1957 2003-07-27 José Matos <jamatos@fep.up.pt>
1959 * insetfloat.[Ch] (linuxdoc):
1960 * insetgraphics.C (linuxdoc):
1961 * insettabular.C (linuxdoc):
1962 * insettext.[Ch] (linuxdoc): add support for tables and figures
1965 2003-07-27 José Matos <jamatos@fep.up.pt>
1967 * insetinclude (latex): comply with makeLaTeXFile argument change.
1969 2003-07-26 Asger Alstrup <alstrup@local>
1971 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1972 the undo crashes. We'll see what problems other places this will
1975 2003-07-26 Angus Leeming <leeming@lyx.org>
1977 * insetgraphics.C: remove unused declaration of system_tempdir.
1979 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1981 * rename Inset to InsetOld
1983 * all inset files (clone): return a auto_ptr<InsetBase>
1985 2003-07-23 Angus Leeming <leeming@lyx.org>
1987 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1989 2003-07-23 Angus Leeming <leeming@lyx.org>
1991 * mailinset.[Ch] (inset2string):
1992 * insetcommand.[Ch] (inset2string):
1993 * insetert.[Ch] (inset2string):
1994 * insetexternal.[Ch] (inset2string):
1995 * insetfloat.[Ch] (inset2string):
1996 * insetgraphics.[Ch] (inset2string):
1997 * insetinclude.[Ch] (inset2string):
1998 * insetminipage.[Ch] (inset2string):
1999 * insetnote.[Ch] (inset2string):
2000 * insettabular.[Ch] (inset2string):
2001 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2003 * insetexternal.[Ch]:
2004 * insetgraphics.[Ch]: get rid of the view() function. Associated
2005 changes to the mailers' string2params and params2string functions.
2007 2003-07-23 Angus Leeming <leeming@lyx.org>
2009 * insetexternal.[Ch]: store the external file name in a FileName
2010 member variable rather than a string + associated changes.
2012 2003-07-21 Angus Leeming <leeming@lyx.org>
2014 * insetgraphicsParams.[Ch]: store the graphics file name in
2015 a FileName member variable rather than a string.
2017 * insetgraphics.[Ch]:
2018 * insetgraphicsParams.[Ch]: Associated changes.
2020 2003-07-21 Angus Leeming <leeming@lyx.org>
2022 * insetgraphics.[Ch] (string2params, params2string): passed a
2023 buffer_path argument.
2026 2003-07-21 Angus Leeming <leeming@lyx.org>
2029 * insetgraphicsParams.[Ch]:
2031 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2033 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2035 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2037 2003-07-18 André Pönitz <poenitz@gmx.net>
2040 * insetminipage.[Ch]:
2041 * insettabular.[Ch]:
2044 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2046 2003-07-18 André Pönitz <poenitz@gmx.net>
2050 * insetcollapsable.C:
2054 * insetgraphics.[Ch]:
2055 * insetlatexaccent.[Ch]:
2060 * insetspecialchar.C:
2061 * insettabular.[Ch]:
2063 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2065 2003-07-17 André Pönitz <poenitz@gmx.net>
2067 * insetcollapsable.C:
2069 * insettext.C: don't call Inset::update() anymore
2072 * insettabular.[Ch]: remove unneeded in_update_ members
2074 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2076 2003-07-16 André Pönitz <poenitz@gmx.net>
2078 * insettext.C (selectAll): remove
2080 2003-07-16 John Levon <levon@movementarian.org>
2083 * insetnote.C: implement showInsetDialog()
2085 2003-07-15 André Pönitz <poenitz@gmx.net>
2088 * insettext.C: refresh_status tristate -> need_update bool
2090 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2092 * insettext.C: adjust call to LyXText::init
2094 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2096 * insettext.C: use bufferview_funcs->replaceSelection()
2097 to delete selections in some cases (bugs 441, 673, 702, 954).
2099 2003-07-14 André Pönitz <poenitz@gmx.net>
2101 * insettext.C (draw): use slimmed down rowpainter interface
2103 2003-07-14 André Pönitz <poenitz@gmx.net>
2105 * insetcollapsable.C:
2107 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2108 remove unused BufferView * argument
2110 2003-07-14 André Pönitz <poenitz@gmx.net>
2112 * insettext.[Ch]: used cached metrics a bit more
2114 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2116 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2118 2003-07-10 André Pönitz <poenitz@gmx.net>
2121 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2123 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2125 * introduce namespace lyx::graphics
2127 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2129 * introduce namespace lyx::support
2131 2003-06-30 André Pönitz <poenitz@gmx.net>
2133 * insetcite.C (localDispatch): fix case of missing return value
2135 * insetcite.C (ascii): remove unneeded temporary
2137 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2139 * insetspace.h: fix \file
2141 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2142 * insetinclude.C (fillWithBibKeys): ditto
2144 * insetbibitem.C: fix type const order
2146 * inset.C (getLyXText): add varname for arg
2148 * ExternalTemplate.h: fix type const order
2150 2003-06-27 André Pönitz <poenitz@gmx.net>
2152 * insettext.C: take care of removed LyXCursor::row_ member
2154 * insettext.[Ch]: use new TextCursor struct for sstate
2156 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2158 * inseterror.[Ch]: removed
2160 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2162 * insetinclude.C (docbook): use parseError instead of sgmlError
2164 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2166 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2167 of BufferList::loadLyXFile
2169 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2171 * insettext.C (update): simplify
2172 (updateLocal): remove commented code
2173 (insetUnlock): simplify
2174 (lockInset): simplify
2175 (updateInsetInInset): simplify
2176 (localDispatch): simplify
2178 (resizeLyXText): simplify
2179 (collapseParagraphs): simplify
2181 * insetert.C (get_new_label): simplify
2183 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2185 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2186 pasteSelection with index
2188 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2190 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2192 2003-06-16 André Pönitz <poenitz@gmx.net>
2194 * insetbase.h: new virtual base function clone()
2196 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2197 Inset * clone() -> InsetBase * clone()
2199 2003-06-13 André Pönitz <poenitz@gmx.net>
2201 * insettabular.[Ch]: make tabular a proper member
2203 2003-06-12 André Pönitz <poenitz@gmx.net>
2205 * insettabular.[Ch]: some renaming plus whitespace
2207 2003-06-11 Angus Leeming <leeming@lyx.org>
2209 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2212 * insetbutton.[Ch]: removed.
2213 * graphicinset.[Ch]: renamed as renderers.[Ch].
2215 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2216 Create a new class ButtonRenderer using the InsetButton::metrics() and
2218 Derive both from a common RenderedInset base class.
2220 * insetcommand.[Ch]:
2221 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2222 Give it a ButtonRenderer member variable. Use it.
2223 Give the classes working copy c-tors.
2224 No longer derive from boost::noncopyable.
2226 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2227 display its contents as a button or as a graphic.
2229 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2232 2003-06-11 Angus Leeming <leeming@lyx.org>
2234 * insetcite.C (localDispatch): reformat.
2236 * insetref.C (localDispatch): enable dialog to be lauched.
2238 2003-06-11 John Levon <levon@movementarian.org>
2240 * insettabular.C: correctly mark all cells as erased
2242 2003-06-11 Angus Leeming <leeming@lyx.org>
2244 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2245 ExternalTemplate but its name, templatename. This means that a file
2246 containing a reference to an External Template not installed on the
2247 current machine will be saved retaining this info rather than inserting
2248 the first "valid" template from the list of templates.
2250 As a by product, the visual statement that the Template is missing is
2253 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2255 * insettext.C (appendParagraphs): remove some commented code.
2257 2003-06-10 Angus Leeming <leeming@lyx.org>
2259 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2262 * insetexternal.[Ch]: move tempname_ into the Params struct.
2263 (Params d-tor): new function, to clean-up this temp file.
2264 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2266 (editExternal, doSubstitution): move out of class.
2268 2003-06-10 Angus Leeming <leeming@lyx.org>
2270 * graphicinset.[Ch] (params): removed.
2271 * graphicinset.h (operator=): declared private but not defined.
2272 (statusMessage): made private.
2274 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2276 2003-06-07 John Levon <levon@movementarian.org>
2278 * insetert.C (latex): make a newline mean just that not
2281 2003-06-07 José Matos <jamatos@fep.up.pt>
2283 * insethfill.[Ch] (linuxdoc, docbook): implement output
2284 * insetspace.C (linuxdoc, docbook): remove coments as the code
2287 2003-06-06 José Matos <jamatos@fep.up.pt>
2289 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2291 2003-06-06 André Pönitz <poenitz@gmx.net>
2293 * insetwrap.[Ch]: code compactification
2295 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2297 * mailinset.C (updateDialog): use Dialogs::visible
2299 2003-06-04 Angus Leeming <leeming@lyx.org>
2301 * graphicinset.C (draw): add a comment for the #if 0 block.
2303 * insetexternal.h: remove Params::parameters variable.
2304 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2305 and read it back making full use of LyXLex.
2307 2003-06-04 André Pönitz <poenitz@gmx.net>
2309 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2311 2003-06-04 John Levon <levon@movementarian.org>
2313 * insettabular.C: back out tall table speed up. It was broken
2315 2003-06-03 Angus Leeming <leeming@lyx.org>
2317 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2318 Remove ViewCommand and UpdateCommand.
2320 * graphicinset.C (update): bug fix. Set the params before calling the
2322 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2323 BufferView cache to enable the InsetExternal::editCommand to be invoked
2324 from the frontends. Would not be needed if this were dispatched properly.
2325 (old_ascent_): variable removed.
2327 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2328 do any necessary conversions of external material. Also use the
2329 new GraphicsInset to display the inset within LyX.
2331 2003-06-03 Angus Leeming <leeming@lyx.org>
2333 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2334 and move it somewhere where InsetExternal can use it too.
2336 * Makefile.am: add the new files.
2338 * insetgraphics.[Ch]: make use of the new GraphicInset.
2340 2003-06-03 John Levon <levon@movementarian.org>
2343 * insetbibitem.[Ch]:
2346 * insetcommand.[Ch]:
2350 * insetexternal.[Ch]:
2354 * insetgraphics.[Ch]:
2356 * insetinclude.[Ch]:
2359 * insetlatexaccent.[Ch]:
2360 * insetmarginal.[Ch]:
2361 * insetminipage.[Ch]:
2368 * insetspecialchar.[Ch]:
2369 * insettabular.[Ch]:
2371 * insetthereom.[Ch]:
2374 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2376 * insetgraphics.[Ch]:
2377 * insetgraphicsParams.[Ch]: always store an absolute
2380 2003-06-02 André Pönitz <poenitz@gmx.net>
2384 * insetlatexaccent.C: remove duplicated call to metrics()
2386 2003-06-02 John Levon <levon@movementarian.org>
2388 * insettabular.C: fix resize of column width
2390 2003-06-02 John Levon <levon@movementarian.org>
2395 * insetparent.C: remove insetparent
2397 2003-06-02 André Pönitz <poenitz@gmx.net>
2404 * insetcollapsable.[Ch]:
2408 * insetgraphics.[Ch]:
2409 * insetinclude.[Ch]:
2410 * insetlatexaccent.[Ch]:
2411 * insetminipage.[Ch]:
2412 * insetnewline.[Ch]:
2415 * insetspecialchar.[Ch]:
2416 * insettabular.[Ch]:
2417 * insettext.[Ch]: unify first drawing phase
2420 * insetbase.h: move validate() to the base
2422 2003-05-31 Angus Leeming <leeming@lyx.org>
2424 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2426 2003-05-30 André Pönitz <poenitz@gmx.net>
2431 * insetcaption.[Ch]:
2432 * insetcollapsable.[Ch]:
2435 * insetgraphics.[Ch]:
2436 * insetinclude.[Ch]:
2437 * insetlatexaccent.[Ch]:
2438 * insetnewline.[Ch]:
2441 * insetspecialchar.[Ch]:
2442 * insettabular.[Ch]:
2444 * updatableinset.[Ch]: unify second drawing phase
2446 2003-05-30 John Levon <levon@movementarian.org>
2448 * insetgraphics.C: fix a bformat
2450 2003-05-29 John Levon <levon@movementarian.org>
2452 * insettabular.C: remove unused bufferOwner()
2454 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2456 * insettext.C (lockInsetInInset): adjust
2457 (getLabelList): use const_iterator, adjust
2458 (getInsetFromID): use const_iterator, adjust
2459 (addPreview): use const_iterator, adjust
2461 * insetwrap.C (clone): remove const_cast
2463 * insetnote.C (clone): remove const_cast
2465 * insetminipage.C (clone): remove const_cast
2467 * insetmarginal.C (clone): remove const_cast
2469 * insetfoot.C (clone): remove const_cast
2471 * insetfloat.C (clone): remove const_cast
2473 * insetert.C (clone): remove const_cast
2475 * delete commented same_id functions from a lot of files.
2477 2003-05-28 John Levon <levon@movementarian.org>
2483 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2485 * insetminipage.C: fix metrics (bug 1144)
2487 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2489 * insettext.C (saveLyXTextState): adjust
2490 (restoreLyXTextState): adjust
2493 (unlockInsetInInset): adjust
2494 (localDispatch): adjust
2495 (getLyXText): adjust
2497 * insettabular.C (insertAsciiString): adjust
2499 2003-05-27 André Pönitz <poenitz@gmx.net>
2502 * insetcollapsable.C:
2505 * insetlatexaccent.C:
2510 * insetspecialchar.C:
2512 * insettext.C: dim.w -> dim.wid
2514 2003-05-26 John Levon <levon@movementarian.org>
2516 * insettabular.C: avoid drawing all of a long table
2517 if it's not needed. A big speedup
2519 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2521 * remove same_id from function signatures, adjust
2523 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2525 * insettext.C (InsetText): adjust
2527 (setParagraphData): separate same_id cases, adjust
2528 (appendParagraphs): adjust
2529 (appendParagraphs): adjust
2531 2003-05-23 André Pönitz <poenitz@gmx.net>
2533 * insetbutton.h: whitespace
2535 * insettabular.C: more compact code
2537 * updatableinset.C: remove const_cast
2540 2003-05-23 Angus Leeming <leeming@lyx.org>
2542 * insetexternal.C (write): check how many lines are output.
2543 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2544 if the template has defined it.
2546 2003-05-23 Angus Leeming <leeming@lyx.org>
2548 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2550 2003-05-23 Angus Leeming <leeming@lyx.org>
2552 * insetfoot.C (latex):
2553 * inseturl.C (latex): rename fragile as moving_arg.
2555 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2557 * inseterror.C (localDispatch): comment out unused var.
2559 2003-05-22 Angus Leeming <leeming@lyx.org>
2561 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2562 passed through the LatexRunParams arg.
2564 2003-05-22 Angus Leeming <leeming@lyx.org>
2566 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2567 through the LatexRunParams arg.
2569 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2570 arg rather than through a global var.
2572 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2574 * insetspecialchar.C (dimension): use a string.
2576 2003-05-22 Angus Leeming <leeming@lyx.org>
2578 * insetbibtex.C (latex):
2579 * insetgraphics.C (latex):
2580 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2581 runparams rather than from the buffer itself.
2583 2003-05-22 Angus Leeming <leeming@lyx.org>
2585 * inset*.[Ch] (latex):
2586 passed a LatexRunParams parameter.
2588 * insetgraphics.C (latex): actually use it ;-)
2590 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2592 * insetfloat.C (addToToc): trivial compile fix
2594 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2596 * insettext.[Ch] (paragraph): delete unused function
2598 * insetfloat.C (addToToc): parlist simplfication
2600 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2602 * insetspace.[Ch]: added (new space insets)
2604 * inset.h: handle new space insets
2606 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2608 * insetfloat.C (addToToc): adjust
2610 2003-05-21 André Pönitz <poenitz@gmx.net>
2612 * insettext.[Ch]: fix drawing bug introduced earlier
2614 2003-05-19 André Pönitz <poenitz@gmx.net>
2616 * insetspecialchar.C: fix bug introduced yesterday
2618 2003-05-19 André Pönitz <poenitz@gmx.net>
2622 * insetcollapsable.[Ch]:
2626 * insetgraphics.[Ch]:
2627 * insetgraphicsParams.[Ch]:
2628 * insetlatexaccent.[Ch]:
2629 * insetminipage.[Ch]:
2630 * insetnewline.[Ch]:
2632 * insetspecialchar.[Ch]:
2633 * insettabular.[Ch]:
2634 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2636 2003-05-19 André Pönitz <poenitz@gmx.net>
2639 * insettext.C: more insetenv
2641 2003-05-16 André Pönitz <poenitz@gmx.net>
2644 * insetminimpage.[Ch]:
2645 * insetcollapsable.[Ch]: fix #832
2647 2003-05-16 André Pönitz <poenitz@gmx.net>
2650 * insetbibitem.[Ch]:
2654 * insetcollapsable.[Ch]:
2655 * insetcommand.[Ch]:
2658 * insetexternal.[Ch]:
2659 * insetfloatlist.[Ch]:
2660 * insetgraphics.[Ch]:
2661 * insetinclude.[Ch]:
2664 * insetlatexaccent.[Ch]:
2667 * insettabular.[Ch]:
2671 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2673 2003-05-13 André Pönitz <poenitz@gmx.net>
2676 * insetcollapsable.C:
2680 * insetwrap.C: tostr from own header
2692 * insetwrap.C: STRCONV
2695 2003-05-12 André Pönitz <poenitz@gmx.net>
2707 * insetwwrap.C: boost::format -> bformat all over the place
2709 2003-05-05 André Pönitz <poenitz@gmx.net>
2711 * insettext.h: add missing #include <map>
2713 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2715 * insettext.C (InsetText): parlist cleanup
2718 (insetUnlock): ditto
2720 (lockInsetInInset): ditto
2724 (searchBackward): ditto
2725 (collapseParagraphs): ditto
2727 2003-05-06 John Levon <levon@movementarian.org>
2729 * insetcaption.C: don't cast wrap inset to InsetFloat
2732 * insetfloat.C: remove unneeded type() function
2734 2003-05-05 André Pönitz <poenitz@gmx.net>
2738 * insettabular.[Ch]:
2739 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2740 replace getFirstParagraph() by getParagraphs()
2742 2003-05-03 John Levon <levon@movementarian.org>
2744 * insetcollapsable.h:
2745 * insetcollapsable.C:
2751 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2752 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2753 getCursor(). Remove explicit cursor hides.
2755 2003-05-02 André Pönitz <poenitz@gmx.net>
2757 * insettext.C: remove unneeded &*
2759 2003-04-30 John Levon <levon@movementarian.org>
2761 * insettabular.C: fix edit message
2763 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2765 * insettext.C (setFont): do not convert iterator -> pointer
2767 * insettabular.C (localDispatch): do not convert iterator -> pointer
2769 (tabularFeatures): ditto
2771 2003-04-29 André Pönitz <poenitz@gmx.net>
2773 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2775 2003-04-28 André Pönitz <poenitz@gmx.net>
2777 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2780 2003-04-25 André Pönitz <poenitz@gmx.net>
2782 * insetenv.C: derive from InsetText instead of InsetCollapsable
2784 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2786 * insetexternal.C (string2params): dont do anything if the string
2788 * insetgraphics.C (string2params): ditto
2789 * insetcommand.C (string2params): ditto
2790 * insetert.C (string2params): ditto
2791 * insetfloat.C (string2params): ditto
2792 * insetinclude.C (string2params): ditto
2793 * insetminipage.C (string2params): ditto
2794 * insettabular.C (string2params): ditto
2795 * insetwrap.C (string2params): ditto
2797 2003-04-24 André Pönitz <poenitz@gmx.net>
2799 * insetref.C: support for eqref
2801 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * insetert.C (read): use ParagraphList::iterator.
2805 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2807 * insetquotes.C (latex): comment some code and add warnings.
2809 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2811 * insetexternal.C (localDispatch): added a missing DISPATCHED
2813 2003-04-12 John Levon <levon@movementarian.org>
2815 * insetwrap.C (addToToc): fix a crash, conversion
2816 from while to for loop forgot to remove the explicit
2819 2003-04-10 John Levon <levon@movementarian.org>
2821 * insettabular.C (tabularFeature): make sure
2822 to update the dialog when we change something
2825 (getStatus): don't disable some lfuns (bug 939)
2827 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2829 * insettext.C (saveLyXTextState): adjust
2830 (localDispatch): adjust
2836 * insettabular.C (localDispatch): adjust
2838 (tabularFeatures): adjust
2840 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2842 * insettabular.C (searchForward,searchBackward): fix bug 782
2844 2003-04-07 John Levon <levon@movementarian.org>
2847 * insettext.C: clear status message on inset exit
2849 2003-04-03 John Levon <levon@movementarian.org>
2851 * insetcommand.C: return dispatched on DIALOG_UPDATE
2853 2003-04-02 John Levon <levon@movementarian.org>
2855 * insettabular.C: tab lfuns renamed
2857 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2859 * insettext.C (update): move towards ParagraphList
2860 (updateLocal): ditto
2862 (insetUnlock): ditto
2864 (lockInsetInInset): ditto
2865 (updateInsetInInset): ditto
2866 (localDispatch): ditto
2869 (resizeLyXText): ditto
2870 (searchBackward): ditto
2871 (collapseParagraphs): ditto
2874 * insetwrap.C (InsetWrap): adjust
2875 (addToToc): adjust and rewrite loop
2877 * insettext.[Ch] (paragraph): delete function
2879 * insettabular.C (moveNextCell): adjust
2880 (movePrevCell): adjust
2881 (insertAsciiString): adjust
2883 * insetfloat.C (InsetFloat): adjust
2886 * insetert.C (InsetERT): adjust
2887 (write): adjust, and rewrite loop
2888 (latex): adjust, and rewrite loop
2889 (linuxdoc): adjust, and rewrite loop
2890 (docbook): adjust, and rewrite loop
2891 (localDispatch): adjust
2892 (get_new_label): adjust
2894 2003-04-01 John Levon <levon@movementarian.org>
2896 From Alfredo Braunstein
2899 * insetbutton.C: add localDispatch()
2901 * insetcommand.C: return DISPATCHED when edit() called
2903 * insettext.C: fix bug 967
2905 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2907 * insettext.C: adjust
2909 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2911 * insettext.C (draw): adjust
2912 (crow): return a RowList::iterator not a Row*
2914 * insetminipage.C (localDispatch): adjust
2916 * insetert.C (localDispatch): adjust
2918 2003-03-31 John Levon <levon@movementarian.org>
2921 * insetgraphicsParams.C: use_gui moved to lyx_gui
2923 2003-03-31 John Levon <levon@movementarian.org>
2925 * insettext.C: Alert fix
2927 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2929 * insettext.C (ascent): adjust for RowList
2932 (getLyXText): adjust
2933 (toggleSelection): adjust
2935 * insetminipage.C (localDispatch): adjust for RowList
2937 * insetert.C (localDispatch): adjust for RowList
2938 (getMaxWidth): adjust for RowList
2940 2003-03-29 John Levon <levon@movementarian.org>
2942 * insetert.C: Alert cleanup
2944 2003-03-29 John Levon <levon@movementarian.org>
2946 * insettabular.C: Alert fix
2948 2003-03-28 John Levon <levon@movementarian.org>
2950 * insetfloat.C: reset label on INSET_MODIFY
2952 2003-03-28 John Levon <levon@movementarian.org>
2954 * insetgraphicsParams.C: read subcaptionText as a whole line
2957 2003-03-28 John Levon <levon@movementarian.org>
2959 * insettext.C: remove unused prototypes
2961 2003-03-25 Angus Leeming <leeming@lyx.org>
2963 * insetbibitem.C (localDispatch): repaint the view after modifying
2964 a bibitem inset in case the maximum InsetBibitem width has changed.
2966 2003-03-25 John Levon <levon@movementarian.org>
2969 * insettabular.C: LyXText renamings
2971 2003-03-24 John Levon <levon@movementarian.org>
2973 * insettext.C: remove some dead code. Fix bug 972 and
2974 related by posting a repaint in updateLocal(), and making
2975 the SEL functions set SELECTION.
2977 2003-03-22 John Levon <levon@movementarian.org>
2980 * inset.C: remove no-longer-needed topx_set
2982 * insetcollapsable.h:
2983 * insetcollapsable.C: remove dead code
2986 * insetert.C: rebreak the rows when a possible
2987 change in size is made, and reset the cursor
2990 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2992 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2993 topx_set. Fix drawing errors for clearInset(). Remove
2994 some unnecessary uses of topx, which should die.
2996 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2997 is no longer needed. Replace it with an ugly hack.
2999 2003-03-20 John Levon <levon@movementarian.org>
3002 * insetcollapsable.h:
3003 * insetcollapsable.C:
3011 * insettext.C: remove spurious font parameter
3012 from update(). Fix drawing of ERT insets inside
3013 insets (bug 966). Remove unused mark_dirty from
3014 tabular's updateLocal()
3016 2003-03-19 John Levon <levon@movementarian.org>
3025 * insetwrap.C: remove unused getter/setters
3027 2003-03-19 John Levon <levon@movementarian.org>
3029 * several files: bv->updateInset() doesn't take
3030 a bool mark_dirty any more
3032 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3034 * adjust for BufferView* arg removal from lyxtext.
3036 2003-03-17 John Levon <levon@movementarian.org>
3038 * most files: remove the "cleared" parameter
3039 to draw in favour of always clearing. Associated
3042 2003-03-16 John Levon <levon@movementarian.org>
3044 * insettext.C: remove unused s.refresh
3046 2003-03-13 Angus Leeming <leeming@lyx.org>
3048 * insettext.C (edit): replace Dialogs::updateParagraph with
3049 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3051 2003-03-13 André Pönitz <poenitz@gmx.net>
3053 * Makefile.am: insert insetenv
3055 * insethenv.[Ch]: new files, currently inactive
3057 2003-03-12 John Levon <levon@movementarian.org>
3067 * insettext.C: use new insetnewline
3069 2003-03-12 John Levon <levon@movementarian.org>
3071 * insettext.C: readToken became readParagraph
3073 2003-03-12 John Levon <levon@movementarian.org>
3075 * insettext.C: use parlist iterator for reading contents
3077 2003-03-12 John Levon <levon@movementarian.org>
3079 * insettext.C: name change to readToken()
3081 2003-03-11 André Pönitz <poenitz@gmx.net>
3083 * Makefile.am: insert insethfill
3085 * insethfill.[Ch]: new files
3087 2003-03-10 Angus Leeming <leeming@lyx.org>
3089 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3091 (hideDialog): calls the new static Dialogs::hide() method.
3093 * insetbibitem.C (edit):
3094 * insetbibtex.C (edit):
3095 * insetcite.C (edit):
3096 * insetcommand.C (localDispatch):
3097 * inseterror.C (d-tor):
3098 * insetert.C (showInsetDialog):
3099 * insetexternal.C (localDispatch, edit):
3100 * insetfloat.C (localDispatch, showInsetDialog):
3101 * insetfloatlist.C (edit):
3102 * insetgraphics.C (localDispatch, edit):
3103 * insetinclude.C (localDispatch, edit):
3104 * insetindex.C (edit):
3105 * insetlabel.C (edit):
3106 * insetminipage.C (localDispatch, showInsetDialog):
3107 * insetref.C (edit):
3108 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3109 resetPos, showInsetDialog, openLayoutDialog):
3110 * insettoc.C (edit):
3111 * inseturl.C (edit):
3112 * insetwrap.C (localDispatch, showInsetDialog):
3113 changes due to the changed MailInset interface.
3115 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3117 * insetfloat.h: Set default placement to an empty string.
3119 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3121 * insettext.C (latex): adjust call to latexParagraphs.
3123 2003-03-10 Angus Leeming <leeming@lyx.org>
3125 * mailinset.C: warn the user if the BufferView has not been cached.
3127 2003-03-10 Angus Leeming <leeming@lyx.org>
3129 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3131 * insetcommand.h (inset):
3132 * insetert.h (inset):
3133 * insetexternal.h (inset):
3134 * insetfloat.h (inset):
3135 * insetgraphics.h (inset):
3136 * insetinclude.h (inset):
3137 * insetminipage.h (inset):
3138 * insettabular.h (inset):
3139 * insetwrap.h (inset):
3140 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3142 2003-03-10 Angus Leeming <leeming@lyx.org>
3144 * insetcommand.C (string2params):
3145 * insetexternal.C (string2params):
3146 * insetfloat.C (string2params):
3147 * insetgraphics.C (string2params):
3148 * insetinclude.C (string2params):
3149 * insetminipage.C (string2params):
3150 * insettabular.C (string2params):
3151 * insetwrap.C (string2params): cure warning message about missing
3154 2003-03-09 Angus Leeming <leeming@lyx.org>
3156 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3157 it to communicate with the frontend dialogs.
3159 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3160 contents of this inset!
3162 2003-03-07 Angus Leeming <leeming@lyx.org>
3164 * inseterror.C (localDispatch): new method; calls edit() on
3167 2003-03-07 Angus Leeming <leeming@lyx.org>
3169 * insetbibitem.C (localDispatch):
3170 * insetbibtex.C (localDispatch):
3171 * insetlabel.C (localDispatch):
3172 rewrite as a switch.
3174 2003-03-07 Angus Leeming <leeming@lyx.org>
3176 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3177 it to communicate with the frontend dialogs.
3179 2003-03-07 Angus Leeming <leeming@lyx.org>
3181 * insetexternal.C: remove operator== and operator!= for
3182 InsetExternal::Params. They were used only by the old controller
3185 2003-03-07 Angus Leeming <leeming@lyx.org>
3187 * insetcommand.C (localDispatch):
3188 * insetexternal.C (localDispatch):
3189 * insetfloat.C (localDispatch):
3190 * insetinclude.C (localDispatch):
3191 * insetminipage.C (localDispatch):
3192 * insetwrap.C (localDispatch):
3193 add LFUN_INSET_DIALOG_UPDATE to the switch.
3195 2003-03-07 Angus Leeming <leeming@lyx.org>
3197 * insetcommand.C (string2params):
3198 * insetexternal.C (string2params):
3199 * insetfloat.C (string2params):
3200 * insetinclude.C (string2params):
3201 * insetwrap.C (string2params): use LyXLeX more.
3204 * insetexternal.[Ch]:
3206 * insetinclude.[Ch]:
3207 * insetwrap.[Ch]: change Mailer::name_ to be static.
3209 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3210 it to communicate with the frontend dialogs.
3212 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3215 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3217 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3219 * insettext.C (updateLocal): un-const function
3220 (updateLocal): adjust
3221 (collapseParagraphs): un-const function
3222 (collapseParagraphs): adjust
3224 2003-03-05 Angus Leeming <leeming@lyx.org>
3226 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3227 it to communicate with the frontend dialogs.
3229 2003-03-05 Angus Leeming <leeming@lyx.org>
3231 * insetcollapsable.C (draw): cache the BufferView.
3233 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3234 it to communicate with the frontend dialogs.
3236 2003-03-05 Angus Leeming <leeming@lyx.org>
3238 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3241 2003-03-05 Angus Leeming <leeming@lyx.org>
3243 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3245 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3246 it to communicate with the frontend dialogs.
3248 2003-03-05 Angus Leeming <leeming@lyx.org>
3250 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3251 it to communicate with the frontend dialogs.
3253 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3255 * insettext.C (collapseParagraphs): adjust
3256 (appendParagraphs): make it take a Buffer* instead of a
3257 BufferParams& as arg.
3258 (appendParagraphs): adjust
3260 2003-03-04 Angus Leeming <leeming@lyx.org>
3262 * insetbibitem.C (localDispatch):
3263 * insetbibtex.C (localDispatch):
3264 * insetcommand.C (localDispatch):
3265 * insetert.C (localDispatch):
3266 * insetlabel.C (localDispatch):
3267 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3269 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3271 * insettext.C (latex): adjust for ParagraphList::iterator
3273 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3275 * insetbutton.C (view): adjust for boost 1.30.0
3276 * insetcollapsable.C (view): ditto
3277 * insetgraphics.C (statusChanged): ditto
3279 * insettext.h: move paragraphs to be public.
3281 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3283 * insetnote.[Ch] (InsetNote): remove unused constructor
3285 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3287 * insetgraphics.C: added include "format.h"
3289 2003-02-27 Angus Leeming <leeming@lyx.org>
3291 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3294 2003-02-27 Angus Leeming <leeming@lyx.org>
3296 * insetbibitem.C (localDispatch):
3297 * insetbibtex.C (localDispatch):
3300 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3302 2003-02-26 Angus Leeming <leeming@lyx.org>
3304 * insetbibitem.[Ch] (localDispatch):
3305 * insetbibtex.[Ch] (localDispatch):
3306 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3308 * insetcommand.C (localDispatch):
3309 act only on receipt of LFUN_XYZ_APPLY.
3311 * insetert.C (localDispatch): reformat.
3312 add LFUN_XYZ_APPLY to the switch.
3314 2003-02-26 John Levon <levon@movementarian.org>
3316 * insettext.C: use RowPainter
3318 * inset.h: make helpers take const *
3320 2003-02-26 Angus Leeming <leeming@lyx.org>
3322 * insetcommand.[Ch] (localDispatch): new method.
3324 2003-02-26 Angus Leeming <leeming@lyx.org>
3326 * insetinclude.C (draw): cache the BufferView* using cache not
3327 PreviewImpl::setView
3329 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3331 * insetgraphics.C (draw)
3332 * insetinclude.C (draw): Eliminate also the other argument (owner
3333 inset inset) in the call to PreviewImage::image
3335 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3337 * insetgraphics.C (draw)
3338 * insetinclude.C (draw): Eliminate Buferview argument in call to
3341 2003-02-25 John Levon <levon@movementarian.org>
3343 * insetgraphicsParams.h:
3344 * insetgraphics.C: don't start a load process if
3345 the inset is set to NoDisplay (bug #920)
3347 2003-02-22 John Levon <levon@movementarian.org>
3350 * insetwrap.C: TocItem changed API (bug 913)
3352 2003-02-21 Angus Leeming <leeming@lyx.org>
3354 * insetcollapsable.[Ch] (cache, edit):
3355 * insetbutton.[Ch] (cache, edit): new methods to cache the
3356 BufferView in the draw method.
3358 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3359 simplify comunication between InsetCommand-derived classes and
3362 * insetbibitem.[Ch]:
3366 * insetfloatlist.[Ch]:
3370 * inseturl.[Ch]: small changes to reflect the new interface to the
3373 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3374 other, similar classes.
3376 * Makefile.am: add new files.
3378 2003-02-21 Angus Leeming <leeming@lyx.org>
3380 * updatableinset.h (setView, view): remove.
3381 * inset.h (view, cache): to be replaced by these.
3383 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3386 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3389 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3391 2003-02-21 Allan Rae <rae@lyx.org>
3393 * insetinclude.C (loadIfNeeded): ensure loading also works when
3394 child document is under version control.
3396 2003-02-17 André Pönitz <poenitz@gmx.net>
3398 * insetbib.[Ch]: Adjust access to bibkeys
3400 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3402 * insetquotes.C (dispString): remove use of acute accent for "'"
3405 2003-02-14 John Levon <levon@movementarian.org>
3407 * insettabular.C: changed method names in tabular.C
3409 2003-02-14 John Levon <levon@movementarian.org>
3413 * insetcollapsable.h:
3414 * insetcollapsable.C:
3418 * insettext.C: remove unused getParFromID()
3420 2003-02-13 John Levon <levon@movementarian.org>
3423 * insettext.C: remove unused beginningofMainBody()
3425 2003-02-08 John Levon <levon@movementarian.org>
3429 * insetcollapsable.h:
3430 * insetcollapsable.C:
3435 add nextChange(). Make allowSpellcheck() const. Add markErased().
3437 * insetert.C: ignore deleted text
3439 * insettabular.C: make sure to keep change tracking working
3442 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3447 * insettext.C: Use error messages with identical spelling and punctuation
3449 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3451 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3453 2002-12-17 Juergen Vigna <jug@lyx.org>
3455 * insettext.C (localDispatch): hopefully fixed cursor up down
3456 movement on leaving other insets.
3458 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3460 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3463 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3465 * insetgraphics.C (prepareFile): do not remove the extension of
3466 the file name if it is not the default extension for the given
3467 format (that is, in latex output, remove extension from foo.eps,
3468 but not from foo.epsi)
3470 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3472 * insettext.C (lfunMouseRelease): hackish solution to the "double
3475 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3477 * insetfloat.C (addToToc): use the floats name not its type
3478 * insetwrap.C (addToToc): ditto
3480 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3482 * insetnote.C (init): make label font smaller
3484 2002-12-04 John Levon <levon@movementarian.org>
3486 * insetinclude.C: ressurect setting of command name
3488 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3490 * insetquotes.C (dispString): disambiguate insert call
3492 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3494 * several files: ws changes
3496 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3498 * insetquotes.C (dispString): use string::insert for prepending a
3501 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3503 * insetparent.C (getScreenLabel): use boost::format
3505 * insetgraphics.C (prepareFile): use boost::format
3508 * insetfloatlist.C (latex): use boost::format
3510 * insetcaption.C (draw): use boost::format
3512 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3514 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3517 2002-11-20 Juergen Vigna <jug@sad.it>
3519 * insettabular.C (resetPos): temporary fix for endless loop in
3520 this function on a redraw.
3522 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * insettabular.C (copySelection): STRCONV
3526 * insetinclude.C (uniqueID): STRCONV
3527 (latexString): ditto
3529 * insetgraphics.C: put VersionNumber inside anon namespace
3530 (createLatexOptions): STRCONV
3532 * insetcommandparams.C: include config.h
3534 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3536 * insetgraphicsParams.C (Write): use lyx::float_equal.
3537 Write height data correctly.
3538 (Read): zero scale when reading height data.
3540 2002-10-30 John Levon <levon@movementarian.org>
3542 * insetfloat.C (addToTOC): recursively traverse all
3543 contents looking for captions (fix #568)
3545 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3547 * insetexternal.C (doSubstitution): do not try to replace
3548 environment variables, this is done when executing the command
3550 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3552 * insetexternal.C (doSubstitution): change order of substitution
3553 to work around ReplaceEnvironmentPath brokenness
3555 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3557 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3559 * insetgraphicsParams.C (init, Write): associated changes
3560 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3561 InsetGraphicsParams::scale.
3563 2002-10-21 John Levon <levon@movementarian.org>
3565 * inset.h: remove unused DISPATCH_RESULT
3567 * insettext.C: sgml open/close tag now in sgml namespace
3569 2002-10-21 Angus Leeming <leeming@lyx.org>
3571 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3572 file path subdir/fig.eps when pasting it into a buffer in a different
3575 2002-10-16 John Levon <levon@movementarian.org>
3577 * insetspecialchar.C: remove \\protected_separator parsing
3579 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3581 * insetquote.C: fix LaTeX output of quotation marks.
3583 2002-10-14 Juergen Vigna <jug@sad.it>
3585 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3586 Backspace functions which confused the Undo handling.
3588 2002-10-09 Angus Leeming <leeming@lyx.org>
3590 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3591 BufferView::dispatch that turns off this optimisation when a new inset
3594 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3595 reload the BibTeX keys.
3597 2002-10-11 André Pönitz <poenitz@gmx.net>
3599 * insettext.h: handle LFUN_PRIOR/NEXT
3601 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3603 * insetfloat.C: fix bug with float settings
3604 (document default != float default).
3606 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3608 * insetwrap.C (addToToc): New method.
3609 (InsetWrap): Set layout to caption.
3611 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3613 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3615 2002-09-16 John Levon <levon@movementarian.org>
3617 * insettabular.h: hasSelection() needs to be public
3619 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3621 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3623 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3625 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3627 2002-09-11 André Pönitz <poenitz@gmx.net>
3629 * insettabular.C: implement LFUN_WORDSEL
3631 2002-09-10 John Levon <levon@movementarian.org>
3633 * insetinclude.h: remove unused param
3635 2002-09-09 John Levon <levon@movementarian.org>
3638 * insetinclude.C: remove noload, default to input
3640 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3642 * insetgraphics.C: disfuscated use of ']' in built output string.
3644 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3646 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3648 2002-08-29 Juergen Vigna <jug@sad.it>
3650 * insettabular.C (lfunMousePress): Pay attention where you set
3651 the x/y values as they depend on which inset in the tabular is
3652 actually locked. So you surely have to reset them if you (un)lock
3655 2002-08-29 André Pönitz <poenitz@gmx.net>
3657 * insetfootlike.h: rename include guard to ALL CAPS
3659 * insettext.C: swap object and first parameter for checkInsetHit calls
3660 as this functions has moved from BufferView to LyXText
3663 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3665 * insetgraphicsParams.C: remove local displayTranslator and use
3666 the one from graphics/GraphicsTypes.h.
3668 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3670 * insetfloat.C (wide): add BufferParams parameter
3672 * insetfloatlist.C (read):
3675 * insetfloat.C (latex):
3677 * insetcaption.C (draw): use LyXTextClass::floats()
3679 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3681 * insetoptarg.h: add std:: qualifier.
3683 2002-08-26 Juergen Vigna <jug@sad.it>
3685 * insettext.C (localDispatch): ditto.
3687 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3689 2002-08-25 John Levon <levon@movementarian.org>
3691 * inseturl.C: elide long URLs (bug 404)
3693 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3695 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3696 remove "Format Version <version_no.>" string from inset header
3699 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3701 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3702 a member of "grfx::Params" anymore.
3704 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3706 2002-08-24 John Levon <levon@movementarian.org>
3709 * insetoptarg.C: ws, pedantry ...
3711 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3713 * insettext.C (collapseParagraphs): pasteParagraph now in global
3715 (appendParagraphs): ditto
3717 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3719 * insetcite.C (latex): Remove spaces only after commmas.
3721 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3723 * insettext.C: remove NO_COMPABILITY stuff
3725 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3727 * insettext.C (edit): use ParagraphList iterators
3729 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3730 (bibitemWidest): ditto
3732 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3734 * insettext.C: include <boost/bind.hpp>
3735 add using std::for_each
3736 (saveLyXTextState): use ParagraphsList::iterator
3737 (init): use for_each on paragraphlist iterators
3738 (InsetText): remove superflous setting cached_bview to 0
3739 (latex): reformat a bit
3740 (ascii): use paragraphlist iterators
3741 (validate): use for_each + boost bind
3742 (getLabelList): use paragraphlist iterators
3743 (deleteLyXText): use for_each + boost::bind
3744 (resizeLyXText): ditto
3745 (reinitLyXText): ditto
3746 (removeNewlines): use paragraphlist iterators
3747 (getParFromID): ditto
3748 (paragraph): use for_each + boost::bind
3749 (getInsetFromID): use paragraphlist iterators
3750 (getLabelList): typo fix
3752 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3754 * insettext.C (read): assign tmp to paragraphs after return from
3755 call to parseSingleLyXformat2Token
3758 2002-08-13 Angus Leeming <leeming@lyx.org>
3777 changes due to the changed LyXView interface that now returns references
3778 to member variables not pointers.
3780 2002-08-13 Angus Leeming <leeming@lyx.org>
3783 * insetcollapsable.h:
3786 * insettext.h: forward-declare WordLangTuple
3787 (selectNextWordToSpellcheck) constify return type.
3790 * insetcollapsable.C:
3793 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3795 2002-08-12 Angus Leeming <leeming@lyx.org>
3797 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3799 2002-08-12 Juergen Vigna <jug@sad.it>
3801 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3804 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3806 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3807 (bibitemWidest): ditto
3808 * insettext.[Ch]: ditto
3810 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3812 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3814 2002-08-09 Angus Leeming <leeming@lyx.org>
3816 * insetinclude.C (latexString): remove fudge now that I've found out
3817 how to enable LaTeX to find the file using input@path.
3819 2002-08-09 John Levon <levon@movementarian.org>
3822 * insettext.C: remove unused xpos
3824 2002-08-07 Juergen Vigna <jug@lyx.org>
3826 * insettabular.C (localDispatch): make delete not put the stuff
3827 in the clipboard only do this on a cut operation.
3829 * insettext.C (localDispatch): make delete and backspace not put
3830 selected stuff to the clipboard.
3832 2002-08-07 André Pönitz <poenitz@gmx.net>
3835 * insetcollapsable.[Ch]:
3839 * insettabular.[Ch]:
3840 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3842 2002-08-06 John Levon <levon@movementarian.org>
3846 * insetcollapsable.h:
3847 * insetcollapsable.C:
3853 * insettext.C: use WordLangTuple for spellcheck
3855 2002-08-06 Angus Leeming <leeming@lyx.org>
3857 * insetinclude.C: add a monitor to the previewed image, so that the
3858 image is refreshed if the \input-ed file changes.
3860 2002-08-04 John Levon <levon@movementarian.org>
3863 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3865 2002-08-02 Angus Leeming <leeming@lyx.org>
3867 * insetcommandparams.[Ch] (preview): new methods returning and setting
3868 a new bool preview_ flag.
3869 (read): read this flag.
3870 (operator==): add flag to check.
3872 * insetinclude.C (write): output new preview() flag.
3873 (previewWanted): use this flag.
3875 2002-08-02 Angus Leeming <leeming@lyx.org>
3877 * insetcollapsable.[Ch] (addPreview):
3878 * insettabular.[Ch] (addPreview):
3879 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3880 for insets in insets.
3882 2002-08-02 Angus Leeming <leeming@lyx.org>
3884 * insetcite.C: fix typo.
3886 * insetgraphics.C: kill current_view and instead cache the BufferView
3889 * insetinclude.C: kill current_view and pass the BufferView to the
3890 PreviewedInset so that it can cache it.
3892 2002-08-01 Angus Leeming <leeming@lyx.org>
3894 * inset.h (generatePreview): renamed as addPreview.
3895 (generatePreview): new method. Allows code to be moved out of
3896 math_nestinset.C and into the new PreviewedInset class.
3898 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3899 add previews to the inset when \input-ing LaTeX.
3901 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3903 * several files: strip,frontStrip -> trim,ltrim,rtrim
3905 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3907 * insetbib.C (latex): modify because of strip changes
3909 * insetnote.C (InsetNote): ditto
3911 2002-07-26 Juergen Vigna <jug@sad.it>
3913 * insettabular.C (searchForward): check for lastcell if we
3914 had a locking inset.
3916 2002-07-25 Juergen Vigna <jug@sad.it>
3918 * insettabular.C (insetMotionNotify): Don't update the screen
3919 if we didn't do nothing.
3920 (searchForward): last cell was not checked.
3922 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3924 * insetfloat.C (read, write): Allow default placement
3925 (floatPlacement_ is empty).
3927 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3929 * insetminipage.h (noFontChange):
3930 * insettabular.h (noFontChange):
3931 * insetfootlike.h (noFontChange):
3932 * insetfloat.h (noFontChange): return true
3934 * inset.h (noFontChange): new method, defaulting to false
3936 2002-07-22 Herbert Voss <voss@lyx.org>
3938 * insetgraphicsParams.[Ch]: support size_type for old docs
3940 2002-07-22 Herbert Voss <voss@lyx.org>
3943 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3946 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3948 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3950 * insetlatexaccent.h: do not include "lyxlex.h"
3952 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3955 * insetlatexaccent.C:
3959 * insetbib.C: #include "lyxlex.h"
3965 * insettext.C: use BufferParams::getLyXTextClass
3968 * insetfloat.C (addToToc): new method. Add to toclist the entries
3969 corresponding to Caption layouts
3970 (InsetFloat): when creating a new float, set the layout to "Caption"
3972 2002-07-21 Herbert Voss <voss@lyx.org>
3974 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3975 image relevant part into graphics/GraphicsImgae.C
3977 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3979 * insettoc.C (ascii):
3980 * insetfloatlist.C (ascii): change to use the new Toc functions
3981 instead of stuff that was in Buffer
3983 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3985 * insettext.C (localDispatch): BufferView::Dispatch has been
3986 renamed to BufferView::dispatch
3988 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3990 * insetgraphicsParams.C (as_grfxParams): use the new
3991 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3992 1.2.0 patch, and I do not really know how to adapt it to the new
3993 grfx::Cache world. Angus, please could you have a look?
3995 2002-05-01 Herbert Voss <voss@lyx.org>
3997 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3999 2002-07-18 Angus Leeming <leeming@lyx.org>
4001 * insetgraphics.C: clean-up comments (from Herbert).
4002 add a new checksum variable to the cache. Use it in PrepareFile.
4003 (draw): start monitoring the file for a change.
4004 (prepareFile): re-arrange a little to avoid unnecessary steps.
4006 2002-07-17 Angus Leeming <leeming@lyx.org>
4008 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4009 a method rather than to the signal directly.
4011 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4013 * insettext.C: use view_state_changed, switchKeyMap
4015 2002-07-17 Herbert Voss <voss@perce.de>
4017 * insetgraphics.C (prepareFile): keep the extension when
4018 exporting to nice file
4020 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4022 * insetcite.C (getNatbibLabel):
4023 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4025 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4027 * insetgraphics.C: use ->isDrawable()
4029 2002-07-12 Angus Leeming <leeming@lyx.org>
4031 * insetgraphics.C: use the new smart loading capabilities of the image
4034 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4036 * insettabular.C (edit): Move into correct cell when entering a
4039 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4042 2002-07-05 Angus Leeming <leeming@lyx.org>
4044 * inset.h (generatePreview): new virtual method.
4046 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4048 * insetcommandparams.[Ch] (operator=): move out of class
4049 (operator!): move out of class
4051 2002-07-04 André Pönitz <poenitz@gmx.net>
4053 * insetcommandparams.[Ch]: new files
4055 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4057 2002-06-15 Herbert Voss <voss@perce.de>
4059 * insetgraphics.C (prepareFile): bugfix; return always
4060 files without extension
4062 2002-06-28 Angus Leeming <leeming@lyx.org>
4064 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4065 rename asGParams -> as_grfxParams.
4067 * insetgraphics.C: reflect above change.
4069 2002-06-26 Angus Leeming <leeming@lyx.org>
4071 * insetgraphics.h: use boost::scoped_ptr in preference to
4074 2002-06-26 Angus Leeming <leeming@lyx.org>
4076 * insetgraphics.C: moved the image loading stuff into a new class
4077 grfx::Loader. Simplifies this file enormously.
4079 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4081 * insetgraphicsParams.C: changes aassociated with moving
4082 grfx::DisplayType out of grfx::GParams.
4084 2002-06-26 André Pönitz <poenitz@gmx.net>
4086 * insetgraphics.C: use os::external_path where necesaary according to a
4087 patch from Claus Hentschel)
4089 2002-06-25 Angus Leeming <leeming@lyx.org>
4091 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4092 generating a pixmap once the graphics file is loaded into memory.
4093 The current_view ugliness that was in grfx::ModifiedImage has been
4094 moved here now that grfx::ModifiedImage is no more.
4096 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4098 * insettext.C: layout as layout
4100 2002-05-28 André Pönitz <poenitz@gmx.net>
4102 * insetfloatlist.h: remove source of compiler warning
4104 * insetref.C: tiny whitespace
4106 2002-06-15 Herbert Voss <voss@perce.de>
4108 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4109 and take always convert when no userdefined converter was
4111 (latex) small changes in the lyxerr output
4113 2002-06-15 LyX Development team <lyx@rilke>
4115 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4116 mixed content. Small white spaces clean.
4118 2002-06-14 Angus Leeming <leeming@lyx.org>
4120 * inseetexternal.C: remove the using std::difftime declaration.
4122 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4124 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4126 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4128 * insetquotes.C (draw): fix drawing of double quotes
4130 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4132 * insettabular.C: s/scrollCB/scrollDocView/
4134 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4136 * insettext.C: change of topCursorVisible()
4139 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4142 * insettext.C: rename/change of LyXScreen
4144 2002-06-07 Angus Leeming <leeming@lyx.org>
4146 Fixes needed to compile with Compaq cxx 6.5.
4148 all c-library variables have been moved into namespace std.
4149 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4151 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4153 * insetinclude.C (uniqueID):
4154 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4155 conflicted with some AIX headers.
4157 2002-05-31 Juergen Vigna <jug@sad.it>
4159 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4163 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4165 * insetexternal.C (clone): fix () bug when using new
4166 (updateExternal): don't only look for difftime in global scope
4168 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4170 * insettabular.C: add const
4172 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4174 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4175 file name, in case there are weird characters like ',' in there.
4178 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4180 * switch from SigC signals to boost::signals.
4182 2002-05-28 André Pönitz <poenitz@gmx.net>
4184 * insets/insetgraphicsParams.[Ch]:
4185 put in inset related stuff from src/graphic
4187 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4195 * insetcollapsable.C:
4196 * insetcollapsable.h:
4224 * inseturl.h: use mouse_state. Kill insetKeyPress
4226 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4231 * insetcollapsable.C:
4234 * insetlatexaccent.C:
4236 * insetspecialchar.C:
4238 * insettext.C: name change for font metrics
4240 2002-05-24 Juergen Vigna <jug@sad.it>
4242 * insetgraphics.h: include inset.h first (for LString.h)
4244 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4246 * insettext.C: screen moved
4248 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4266 * inseturl.C: LyXView moved into frontends/
4268 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4273 * insetcollapsable.C:
4277 * insetgraphicsParams.C:
4278 * insetlatexaccent.C:
4280 * insetspecialchar.C:
4282 * insettext.C: move Painter to frontends/
4284 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4286 * insettabular.h: use more specific smart_ptr header.
4287 * insettext.h: ditto
4289 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4292 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4294 * insettext.C: clear selection on paste (bug 393)
4296 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4298 * insettext.C (latex): Honor the moving_arg argument.
4300 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4302 * insetfoot.C (latex): if a footnote is in a title layout, then it
4303 is a \thanks. And then, its contents is a moving argument.
4305 2002-05-14 Juergen Vigna <jug@sad.it>
4307 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4310 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4312 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4313 when using options "Full author list" or "Upper case".
4315 2002-05-14 Herbert Voss <voss@perce.de>
4317 * insetgraphics.C (prepareFile): allow files with same name
4319 (readFigInset): set the flags from old figinset in the right
4321 (findTargetFormat): more comments
4323 2002-05-14 Juergen Vigna <jug@sad.it>
4325 * insettext.C (edit): tell checkAndActivateInset() that we don't
4326 have a button press.
4327 (checkAndActivateInset): if button < 0 we don't have a button press
4328 on the inset and os we won't call edit on it if it's not a Highly
4329 editable inset (then we have to enter it).
4331 2002-05-13 Juergen Vigna <jug@sad.it>
4333 * insetcollapsable.C (insetButtonRelease): returned wrong return
4336 2002-05-09 Juergen Vigna <jug@sad.it>
4338 * insetcollapsable.C (edit): first_after_edit should only be
4339 set to true if we enter this inset and it was collapsed so we
4340 open it up. This is needed to reclose it after a search/replace
4341 or spellcheck function opened it and was negative.
4343 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4345 * insetfloat.C (latex): Return correct value.
4347 2002-05-04 Herbert Voss <voss@perce.de>
4349 * InsetgraphicsParams.C (read): fix bug with WH
4351 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4353 * insetfloat.C (latex): More sensible latex output
4354 (fix the problem with endfloat).
4356 2002-05-02 José Matos <jamatos@fep.up.pt>
4358 * insetgraphics.C (validate): acess params as everyone else.
4360 2002-05-03 Juergen Vigna <jug@sad.it>
4362 * insettabular.C (fitInsetCursor): recalculate the cursor position
4365 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4367 * InsetgraphicsParams.[Ch]: whitespace.
4369 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4371 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4372 float type do not exist.
4374 2002-04-28 Herbert Voss <voss@perce.de>
4376 * insetgraphics.C (latex): fix bug with missing file-extension.
4377 LaTeX still allows a missing "eps" or "ps".
4379 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4381 * insetfloat.C (c-tor, wide): translate the name of the float.
4383 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4385 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4386 when using natbib and make it work efficiently. Must emphasise that the
4387 real work is Herbert's.
4389 2002-04-23 Herbert Voss <voss@perce.de>
4391 * insetgraphic.C (prepareFile): fix bug with overwriting and
4392 deleting an existing *.eps-file in the doc-dir
4394 2002-04-23 Juergen Vigna <jug@sad.it>
4396 * insettabular.C (drawCellSelection): fix off by 1 error.
4398 2002-04-22 Juergen Vigna <jug@sad.it>
4400 * insettabular.C (setFont): rewoke full selection if it was asked,
4401 after we changed all we had to change.
4403 * insettext.C (insetUnlock): code was uninitialized in some situations.
4405 2002-04-19 Herbert Voss <voss@perce.de>
4407 * insetgraphic.C (prepareFile): return filename without
4408 extension if we only export without compiling
4410 2002-04-19 Juergen Vigna <jug@sad.it>
4412 * insettext.C (draw): call a fullRebreak on the row where we had a
4413 change and reset the cursor and selection-cursors.
4415 * insettabular.C (insetUnlock):
4416 (insetButtonPress): call an update before setting the_locking_inset = 0
4417 as otherwise we don't repaint!
4418 (update): reset the cursor position when we changed dimensions as
4419 otherwise our cursor may be on the wrong spot.
4421 2002-04-18 Juergen Vigna <jug@sad.it>
4423 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4424 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4425 redraw otherwise we won't redraw.
4427 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4428 not really right before, but I only discovered this with the last
4429 changes to Page up/down.
4431 2002-04-17 Juergen Vigna <jug@sad.it>
4433 * insettext.C (checkAndActivateInset): simplified as we now have the
4434 edit(bv, bool) call.
4436 * insettext.h: changed behind variables to front variables to be
4437 equal to the one in the edit call (as it is for that they are used).
4439 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4441 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4442 not output anything at all!
4444 2002-04-16 Juergen Vigna <jug@sad.it>
4446 * insettabular.C (insetButtonPress):
4447 (insetUnlock): call a redraw on unlocking the cell inset.
4449 * insettext.C (insetButtonPress): same as below.
4450 (lockInset): new function to set initial values when inset should
4452 (insetButtonPress): use above function.
4453 (insetUnlock): don't force a repaint only set the updateStatus. The
4454 outside world should repaint if it thinks it should be done!
4456 * insettabular.C (insetButtonPress): init values if not set as locked
4457 as we are locked if someone presses on us and don't call the edit()
4458 call of the InsetText to lock it do it as BufferView does it!
4460 * inset.h (insetInInsetY): make func const and return an int.
4463 * insetcollapsable.C: adapt the above changed function.
4465 2002-04-15 Juergen Vigna <jug@sad.it>
4467 * insettext.C (getCursorPos): return relative position as to be able
4468 to give them directly to the edit() call.
4469 (edit): we have to set also x_fix as it is not set inside the
4470 setCursorFromCoordinates call!
4471 (insetMotionNotify): ditto.
4473 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4475 * insetbib.C (getKeys): strip leading '\t's from the line too.
4476 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4478 2002-04-12 Juergen Vigna <jug@sad.it>
4480 * insettext.h: added cix() helper function and use it where appropriate
4482 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4484 * insetgraphics.C (prepareFile): fix bug when graphics is a
4487 2002-04-12 Juergen Vigna <jug@sad.it>
4489 * insettext.C (insertInset): remove unneeded code!
4490 (updateLocal): fitCursor() fixes.
4491 (collapseParagraphs): fix a possible problem when having a selection
4492 and collapsing the paragraphs.
4494 2002-04-08 Herbert Voss <voss@perce.de>
4496 * insetgraphic.C (write): write the rotating angle as
4497 a float as is. test only for != 0.0
4499 2002-04-11 Juergen Vigna <jug@sad.it>
4501 * insettext.C: new function ciy() and use it for setting inset_y.
4503 * insetert.C (draw): fix the x return for collapsed version.
4505 2002-04-07 Herbert Voss <voss@perce.de>
4507 * insetgraphic.C (readFigInset): fix bug with subcaption and
4510 2002-04-08 Herbert Voss <voss@lyx.org>
4512 * insetgraphicsparam.C: forgot special option and delete old
4515 2002-04-05 Juergen Vigna <jug@sad.it>
4517 * insettext.C (localDispatch): make a CURSOR update if we inserted
4520 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4522 * insetfloatlist.C (getScreenLabel):
4523 (latex): use Floating::listName
4524 (validate): new method
4526 2002-04-03 José Matos <jamatos@fep.up.pt>
4528 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4530 * insetfoot.[Ch] (docbook): added forgotten method.
4532 2002-04-03 Juergen Vigna <jug@sad.it>
4534 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4535 way as in Bufferview_pimpl.
4537 2002-04-03 Allan Rae <rae@lyx.org>
4539 * insetgraphics.C (latex): one % too many makes living on the bleeding
4540 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4542 2002-03-28 Herbert Voss <voss@lyx.org>
4544 * insetgraphic.C (latex): simplify the code for the latex
4545 output when the file doesn't exist
4547 2002-03-29 Juergen Vigna <jug@sad.it>
4549 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4552 * insettabular.C (edit): call fitCursor().
4554 * insettext.C (insetButtonPress): change behaviour of no_selection
4555 to the one in the BufferView selection_possible and fix the spurious
4556 selection bug with it.
4557 (localDispatch): revoke selection on BREAK... functions.
4559 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4561 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4563 2002-03-28 Juergen Vigna <jug@sad.it>
4565 * insettabular.C (insetAllowed): return true as default value otherwise
4566 we're not able to insert insets inside paragraphs of an not locked
4569 2002-03-27 Herbert Voss <voss@lyx.org>
4571 * insetgraphicsparam.C: change c%, p% to col%, page%
4573 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4575 * insetspecialchar.C (isLineSeparator): disable the nice code to
4576 allow linebreaks after hyphenation and menu separators.
4578 2002-03-26 Herbert Voss <voss@lyx.org>
4580 * insetgraphics.C (figinsetRead): set the right lyxview
4582 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4584 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4585 $\backslash$ and pass a "string const &" to the function.
4586 (prepareFile, latex): use Path rather than MakeAbsPath.
4588 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4590 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4591 proper fix to the graphics cache.
4592 (latex): "really" nice output if the file is not found ;-)
4594 2002-03-26 Juergen Vigna <jug@sad.it>
4596 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4597 (collapseParagraphs): fixed inserting of separator ' '
4599 * insettabular.C (insertAsciiString): only check for buffer lenght
4600 not if we have \t or \n inside the buffer as if we don't have we only
4601 have 1 cell and that's it!
4603 * insetert.C (close): don't collapse if inlined.
4605 2002-03-25 Herbert Voss <voss@lyx.org>
4607 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4608 graphics file does not exist.
4610 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4612 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4613 path when preparing export.
4615 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4616 no longer MakeRelPath.
4618 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4620 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4621 Used to determine the absolute path to the graphics file in the
4622 graphics cache and only in the graphics cache.
4623 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4624 make graphics file name absolute if it is stored as a relative path.
4626 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4627 make graphics file name absolute if it is stored as a relative path.
4629 * insettext.C (edit): emit an updateParagraph signal on entering a text
4630 inset. Needs to be emitted when leaving the inset also.
4632 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4634 * all files: ws cleanup
4636 * Makefile.am: remove ld -r stuff
4638 2002-03-21 Juergen Vigna <jug@sad.it>
4640 * insettext.C (appendParagraphs): new function added to append
4641 the paragraphs to this insets paragraphs.
4643 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4645 * Makefile.am: special rules if partial linking
4647 2002-03-19 Juergen Vigna <jug@sad.it>
4649 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4651 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4653 * insetgraphics.C: Clean up Baruch's comments a little.
4654 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4656 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4659 * insettheorem.C: wrap warnings
4661 * insetgraphics.C: improve messages, move cached_status_
4662 setting to safer place
4664 2002-03-18 Juergen Vigna <jug@sad.it>
4666 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4668 (localDispatch): ditto
4670 * insettext.C (edit): removed unneeded showCursor calls.
4671 (localDispatch): ditto.
4673 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4675 * insetgraphics.h: remove display() method.
4677 2002-03-11 Juergen Vigna <jug@sad.it>
4679 * insetgraphics.C (draw): hack to fix the redrawing bug.
4680 (draw): seems this fixes #268 (force redraw of row if we changed).
4682 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4683 this inset text (don't know why I missed this earlier).
4685 2002-03-08 Juergen Vigna <jug@sad.it>
4687 * insettabular.C (updateLocal): do a FULL update if we're not locked
4688 and only a CELL update is asked.
4690 * insettext.C (updateInsetInInset): update insets inside inset also
4691 if it isn't inside the_locking_inset.
4693 * insettabular.C (updateInsetInInset): ditto.
4695 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4697 * insetexternal.C (doSubstitution): check whether we are using a
4698 temp dir for defining $$FPath
4700 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4703 * insettext.C: remove #include "WorkArea.h".
4705 2002-03-06 Juergen Vigna <jug@sad.it>
4707 * insettext.C (draw): fixed frame redrawing.
4708 (clear): forgot to set the inset_owner of the paragraph.
4710 * insetert.C (status): pay attention the bv can be 0 here!
4711 (getMaxWidth): add the default leftMargin
4713 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4715 * insetert.C (getMaxWidth): make w unsigned int.
4717 2002-03-05 Juergen Vigna <jug@sad.it>
4719 * insetert.C (status): change behaviour of Inlined.
4720 (getMaxWidth): added for new inlined behaviour.
4722 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4724 * insetnote.h (linuxdoc, docbook): add empty methods.
4725 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4726 before being initialized.
4728 2002-03-05 Juergen Vigna <jug@sad.it>
4730 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4731 only that one in the inset. Should be enough.
4732 (updateLocal): set the selection cursor always if we don't have a
4733 selection to be sure it's set!
4735 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4737 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4739 * insettext.C (clear): a gross hack to set layout on a newly
4742 2002-03-04 Juergen Vigna <jug@sad.it>
4744 * insettabular.C (localDispatch): inserted handling of
4745 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4746 (insertAsciiString): new helper function.
4748 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4750 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4753 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4755 * insettext.C (InsetText): initalize newly created par with
4756 default layout. add bufferparams parameter
4759 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4760 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4761 * insetert.[Ch] (InsetERT): ditto
4762 * insetfloat.[Ch] (InsetFloat): ditto
4763 * insetfoot.[Ch] (InsetFoot): ditto
4764 * insetfootlike.[Ch] (InsetFootLike): ditto
4765 * insetmarginal.[Ch] (InsetMarginal): ditto
4766 * insetminipage.[Ch] (InsetMinipage): ditto
4767 * insetnote.[Ch] (InsetNote): ditto
4768 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4770 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4772 * insettext.C: layout as string
4774 * insetinclude.C: layout as string
4776 * insetert.C: layout as string
4778 * insetbib.C: layout as string
4780 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4783 * insettabular.C: remove #include "lyx_gui_misc.h".
4785 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4790 * inset.h: remove figinset, yahoo !
4792 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4794 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4795 copy c-tor and initialise member variables in the correct order.
4797 2002-02-28 Juergen Vigna <jug@sad.it>
4799 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4801 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4803 * inset.h: ... and add a better one here.
4805 * insetcommand.C (insetButtonRelease): remove that one which was a
4808 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4810 * insetcommand.C (insetButtonRelease): ... and move it here.
4812 * inseturl.h: remove insetButtonRelease from there...
4814 2002-02-26 Juergen Vigna <jug@sad.it>
4816 * inseturl.h: Added a insetButtonRelease call returning true as
4819 * insetlabel.C (edit): Fixed wrong update handling after change I
4820 leave in the wrong code for the one who wrote it to remove and have
4821 a look what he did wrong.
4823 * insettabular.C (localDispatch): force a SELECTION update if we
4824 had a selection and we passed the event down to the inset (fix #213)
4825 (localDispatch): handle font changing stuff when we have a cell
4826 selection so that the selection is not rewoked. I don't really like
4827 this fix, but it's the only way I see to do it right now.
4829 2002-02-22 Juergen Vigna <jug@sad.it>
4831 * insettext.C (insetUnlock): set the cursor to the second paragraph
4832 if available and if the first one is empty (fix #191).
4834 2002-02-20 Juergen Vigna <jug@sad.it>
4836 * insettext.C (getDrawFont): implemented this function to call the
4837 one of the owner if present as the owner normally knows what to do
4840 * insetert.C: implement getDrawFont() function and comment out all
4841 the crap for setting a special latex font inside this inset.
4842 (InsetERT): added a Lanugage parameter to this constructor.
4844 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4845 change the font for being drawn on screen (used only in InsetERT for
4848 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4849 and also above (was missing).
4850 (updateLocal): don't remove the cell selection if we have one this
4851 should be done where we really want to remove it.
4853 2002-02-20 José Matos <jamatos@fep.up.pt>
4855 * insetinclude.h: include_label made string const.
4857 * insetinclude.C (InsetInclude): moved include_label initialization.
4860 (validate): fix support for temporary directory, for docbook and
4863 * insetgraphics.h : new private member, graphic_label, that holds
4864 the entity name that defines the graphics location (SGML).
4866 * insetgraphics.C (unique_id): new function to give a unique label
4869 (validate): the file locatation is given by an entity reference.
4871 2002-02-18 Herbert Voss <voss@lyx.org>
4873 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4875 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4877 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4878 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4880 2002-02-18 José Matos <jamatos@fep.up.pt>
4882 * insetinclude.C (validate): some code only applies to latex buffers,
4883 it was made conditional.
4885 2002-02-12 Herbert Voss <voss@lyx.org>
4887 * insetgraphics.C: (prepareFile) do not check at this time
4888 if the file is present.
4890 2002-02-12 Herbert Voss <voss@lyx.org>
4892 * insetgraphics.C: latex(), return the correct newlines
4894 2002-02-13 José Matos <jamatos@fep.up.pt>
4896 * inseturl.C (docbook): escape & in url.
4898 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4900 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4901 after HYPHENATION and MENU_SEPARATOR
4903 * inset.h (isLineSeparator): new method, returns false by default.
4905 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4907 * insetert.C (status): do not update the text inset, but the ERT
4910 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4912 * insetnote.C: use notebg for background
4914 2002-02-08 Herbert Voss <voss@lyx.org>
4917 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4918 prevent LyX from unzipping when this should be handled
4919 by latex vis the graphic.cfg.
4922 2002-02-08 Herbert Voss <voss@lyx.org>
4924 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4925 exists, than return filename with extension
4927 2002-02-06 Herbert Voss <voss@lyx.org>
4929 * insetgraphic.C: prepareFile(): don't convert the file, when
4930 it's not viewed in LyX. Saves a lot of time when opening a
4933 2002-02-05 Herbert Voss <voss@lyx.org>
4936 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4937 and adding a rotate bool similiar to subcaption
4939 2002-02-04 Herbert Voss <voss@lyx.org>
4942 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4943 similiar view to the LaTeX one. Get zipped files work.
4945 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4947 * insetgraphicsParams.C (init): set display to DEFAULT.
4948 No longer #include "lyxrc.h".
4950 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4952 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4953 for now (so that the code compiles).
4955 2002-02-02 Herbert Voss <voss@lyx.org>
4957 * insetgraphic.C: delete inVariant() and some minor changes
4958 * insetgraphicsParams.[C]:
4960 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4962 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4963 interogate lyxrc.display_graphics before diaplaying the graphic.
4965 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4966 InsetGraphicsParams::DisplayType.
4968 2002-01-31 Herbert Voss <voss@lyx.org>
4970 * insetgraphic.C: (readfigInset) set display to pref-default
4972 2002-01-30 Herbert Voss <voss@lyx.org>
4974 * insetgraphic.C: get the filetyp from it's contents
4975 * insetgraphicparams.C: add token scale and lyxrc.display when
4976 creating a new inset
4978 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4980 * figinset.C: added using std::ios directive.
4982 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4984 * figinset.C (runqueue): open translation file in binary mode (for
4987 2002-01-27 Herbert Voss <voss@lyx.org>
4989 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4990 all options and to be sure that the old figinsets are correct
4992 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4993 structure and to support all lengths as LyXLength. The Parameter
4994 structure changed again, but reading of "old" 1.2 graphic insets
4997 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4999 * insetert.h (forceDefaultParagraphs): Added
5001 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5003 * insettabular.C (getMaxWidth):
5004 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5006 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5008 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5009 of LyXLength::inPixels
5011 * inset.C (latexTextWidth):
5012 * insetminipage.C (latexTextWidth): new method, which implements
5013 the equivalent of the LaTeX macro \textwidth
5015 * insetminipage.C (getMaxWidth): use latexTextWidth
5017 2002-01-18 Juergen Vigna <jug@sad.it>
5019 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5021 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5023 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5025 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5028 2002-01-17 Juergen Vigna <jug@sad.it>
5030 * insettabular.C (lockInsetInInset): same change as in insettext.
5032 * insettext.C (draw): width() function was called without setting
5033 the right top_x which could lead to wrong insetWidth setting!
5034 (lockInsetInInset): call edit instead of calling lockInset if we
5035 have to lock an inset inside!
5036 (edit): we have to also tell the inset that we have to redraw the
5037 frame on an edit call if this inset draws a frame only if locked.
5039 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5041 * insetbib.C (getFiles): uncomment Path variable.
5043 2002-01-16 Juergen Vigna <jug@sad.it>
5045 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5048 2002-01-16 Allan Rae <rae@lyx.org>
5050 * insetinclude.C (docbook): someone forgot a ";"
5052 2002-01-16 José Matos <jamatos@fep.up.pt>
5054 * figinset.C (docbook): removed a old place holder "@".
5055 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5056 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5057 ascii text version, clearly guarded inside a CDATA section.
5058 (docbook): in docbook 4, inlinegraphics is empty.
5059 * insettabular.C (linuxdoc): export the ascii version of the table
5060 inside a CDATA section.
5062 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5064 * insetparent.C (InsetParent):
5065 * insetgraphicsParams.C (Write):
5067 * insetgraphics.C (prepareFile):
5070 * insetexternal.C (executeCommand):
5071 (doSubstitution): use Buffer::filePath
5073 * insetbib.C (getFiles): add a #warning for Angus
5075 * insetgraphics.C: Add a remark about how filenames should be
5076 considered to be relative to buffer (but absolute is still allowed)
5077 (draw): do not try to get status if lyxrc.use_gui is false
5079 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5082 * insetcollapsable.[Ch]:
5083 * insettabular.[Ch] (searchForward, searchBackward): change the
5084 bool const & params to bool.
5086 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5087 to avoid the name clash with InsetCollapsable's methods of the same
5088 names but different functionality.
5090 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5092 * insettext.C (ascii): use lyx::count rather than countChar.
5094 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5096 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5098 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5100 * insetgraphics.C (updateInset): do not try to render image if
5101 lyxrc.use_gui is false (bug #104)
5103 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5104 if file does not exist
5106 * figinset.C (browseFile): add shortcuts to directory buttons
5108 * insettext.C (updateLocal): update menubar and toolbar here too.
5110 2002-01-13 Allan Rae <rae@lyx.org>
5112 * insettabular.C (InsetTabular): Both constructors now initialise
5113 all class variables.
5115 2002-01-11 Juergen Vigna <jug@sad.it>
5117 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5119 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5121 * insettabular.C (getStatus): add forgotten brace around multiline
5124 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5126 * insetfloat.C (validate): require "float" instead of "floats".
5128 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5130 * insettabular.C (getStatus): use FuncStatus
5132 2002-01-08 Juergen Vigna <jug@sad.it>
5134 * insettabular.C (insetButtonRelease): now this should work too
5137 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5138 if the width is a percentage.
5140 * inset.h: added isChar() function and implemented this for
5141 insetspecialchar insetquotes and insetlatexaccent.
5142 added forceDefaultParagraphs() and implemented it for insettabular.
5144 2002-01-07 Juergen Vigna <jug@sad.it>
5146 * insettext.C (getLyXText): Fixed this function. An insert into the
5147 map is only done if we REALLY have a new BufferView.
5149 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5151 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5153 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5155 * insetinclude.C: fix use of FileInfo
5157 2002-01-07 Juergen Vigna <jug@sad.it>
5159 * insettabular.C (draw): fixed clearing of cell around inset.
5161 2002-01-05 Juergen Vigna <jug@sad.it>
5163 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5164 variables are updated.
5166 * insettabular.C (resetPos): set always the inset_y as it may be
5167 needed in another function.
5168 (searchBackward): don't draw while searching.
5170 2002-01-04 Juergen Vigna <jug@sad.it>
5172 * insettext.C (lockInsetInInset): forgot to set a cursor.
5174 2002-01-02 Juergen Vigna <jug@sad.it>
5176 * insettext.C (insertInset): make the correct undo informations on
5177 inserting new insets.
5179 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5181 * insettabular.C: correct single-cell select vertically
5183 2001-12-27 Juergen Vigna <jug@sad.it>
5185 * insettabular.C (ascii): export as tab-separated-values if the
5186 function was not called from export (f.ex.: clipboard).
5188 * insetcollapsable.h: added default support for ascii, linuxdoc and
5189 docbook export (the insettext is exported by default!)
5191 * insettabular.C (copySelection): suff the clipboard with the tabular
5192 data in a tab separated format, seems more naturals then with all the
5195 2001-12-24 Juergen Vigna <jug@sad.it>
5197 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5198 to check for REAL mouseMotion.
5200 2001-12-20 Juergen Vigna <jug@sad.it>
5202 * inset.C (cursor): return the owners cursor if available instead of
5203 always only the bv->text->cursor.
5205 * insettabular.C (checkLongtableSpecial): works now.
5207 2001-12-19 Juergen Vigna <jug@sad.it>
5209 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5210 this has to be always row + 1 as 0 means not selected!
5211 (checkLongtableSpecial): added
5212 (tabularFeatures): better longtable options support
5214 * insettext.C (resizeLyXText): reinit the text always also on a
5217 2001-12-18 Juergen Vigna <jug@sad.it>
5219 * insettext.C (updateInsetInInset): look if we have to autocollapse
5220 paragraps and return if the update is requested for ourself.
5222 * insetert.C (status): update the insettext not myself as that is what
5225 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5226 function only return if the update was requested with myself.
5228 * insettext.C (insetButtonPress): fixed stupid bug.
5229 (various functions): pay attention that lt is cleared BEFORE calling
5230 updateLocal() and try to use it in the right manner (don't use it
5231 if it's not really neccessary!)
5232 (collapseParagraphs): insert a blank between collapsing paragraphs
5233 if neccessary (not already there!).
5235 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5237 * insettabular.C: move includes around a bit, add a couple of
5240 * insettext.[Ch]: move includes around a bit, other ws changes and
5243 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5245 * insettext.C (insetButtonRelease): fix compile problem
5247 2001-12-17 Juergen Vigna <jug@sad.it>
5249 * insettext.C (insetButtonPress): set the selection cursor!
5250 (insetButtonPress): clear the selection (and set with that the
5251 selection.cursor) if we only hit an inset!
5253 * insetert.C (read): removed piece of compatibility code only needed
5256 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5259 * insetcollapsable.C (insetButtonRelease): changed so that it can
5260 open eventual existing popup dialogs on mousebutton==3.
5262 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5264 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5266 * inset.C (insetButtonRelease): return a bool for telling the outer
5267 world that we opened a dialog.
5269 2001-12-07 Juergen Vigna <jug@sad.it>
5271 * insettext.C (paragraph): remove the deleteing of paragraphs as
5272 it was a WRONG move!
5274 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5277 * insettabular.C: use new setSelection(). Allow
5278 selection of single cells.
5280 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5282 * insetquotes.C (latex): fix to use the local language setting at
5283 the point where the inset is inserted (different macros for
5284 different french packages)
5286 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5288 * inset.h: add par_owner_ member variable and parOwner
5291 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5293 * insettabular.C (everywhere): adapt because widths are now real
5294 widths and not strings
5296 * insettext.C (draw): re-introduce the calls to width(), ascent()
5297 and descent() to initialize the caching variables.
5299 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5301 * insettext.C (draw):
5302 (drawFrame): use insetWidth instead of last_width
5304 * insettext.h: remove variable last_width (insetWidth is exactly
5305 the same) and last_height (computed but never used!)
5307 2001-12-10 Allan Rae <rae@lyx.org>
5309 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5311 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5313 * insettext.C (insetAllowed): add comment
5315 2001-12-05 Juergen Vigna <jug@sad.it>
5317 * insettext.C (insetAllowed): fixed for the case that we directly
5318 ask the insettext from its LyXText.
5319 (paragraph): fixed the crash when assigning the par->next() from
5320 the EmptyParagraphMechanism!
5322 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5326 * insettext.C: change "while(" to "while ("
5328 2001-12-04 Juergen Vigna <jug@sad.it>
5330 * insetert.C (edit): handle Inlined status.
5332 * insettext.C (insertInset): trying John's fix for the trailing cursor
5334 * insetert.C (insetButtonPress): added to handle inlined status
5335 (insetMotionNotify): ditto.
5337 * insettext.C (clearInset): changed Painter & in BufferView * param,
5338 to be able to call ascent,descent methods.
5340 2001-12-03 Juergen Vigna <jug@sad.it>
5342 * insettext.C (updateInsetInInset): use lt variable to forbid
5343 changes of LyXText in an update call.
5344 (updateInsetInInset): fixed updating of non locked insets!
5346 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5348 * insettabular.C: capture some more functions to prevent
5349 selection drawing problems. Bug #451274
5351 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5354 * insetgraphicsParams.C: fix inverted sense of float_equal
5356 2001-11-30 Juergen Vigna <jug@sad.it>
5358 * insettabular.C (InsetTabular): use the save_id flag to create also
5359 the tabular with the same id's.
5361 * insettext.C (setParagraphData): added a same_id function for undo
5362 to set the same paragraph id's as of the paragraph we are setting.
5364 2001-11-30 José Matos <jamatos@fep.up.pt>
5367 * insettoc.[Ch]: DocBook -> docbook.
5369 2001-11-29 André Pönitz <poenitz@gmx.net>
5372 * insettext.C: further reduction of header dependencies by using
5373 lyx::layout_type and lyx::textclass_type from support/types.h
5375 2001-11-29 Juergen Vigna <jug@sad.it>
5377 * insettext.C: inserted a reinitLyXText function everywhere I delete
5378 the paragraphs! This should fixe the crashes we had.
5379 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5380 (paragraph): set the InsetOwner() of the new paragraphs!
5382 2001-11-28 André Pönitz <poenitz@gmx.net>
5384 * insetnote.C: add pos initialization that I removed without
5387 2001-11-28 Juergen Vigna <jug@sad.it>
5389 * insettabular.C (resetPos): hack to not crash with infinite paints.
5391 * insettabular.h: insert missing function allowSpellcheck()!
5393 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5395 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5398 * insetfloatlist.C: derive from InsetCommand so gui can use it
5401 2001-11-26 André Pönitz <poenitz@gmx.net>
5405 * insetnote.C: reduce header dependencies, introduce type for
5408 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5410 * various: update for Alert.h
5412 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5414 * inset.h: fix comment
5416 * insettext.C: use par->isInset()
5418 2001-11-22 Allan Rae <rae@lyx.org>
5420 * insetcollapsable.h:
5421 * inset.h: Changes to checkInsertChar() behaviour.
5422 Now return value indicates whether chars can be inserted.
5424 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5426 * various: updated to use the new LaTeXFeatures
5428 2001-11-14 José Matos <jamatos@fep.up.pt>
5430 * insetspecialchar.C (linuxdoc):
5431 (docbook): don't give a name to a unused variable.
5433 * insettext.C (docbook): removed unused variable.
5435 2001-11-13 Herbert Voss <voss@perce.de>
5437 * insetgraphic.C: fix scale bug
5439 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5441 * inset.h (isSpace):
5442 (isLetter): new virtual methods.
5444 * insetspecialchar.C (isSpace):
5445 (isLetter): implement here.
5447 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5449 * inset.h: new inline helpers
5451 * insettext.C: use new helpers
5453 2001-11-07 José Matos <jamatos@fep.up.pt>
5455 * insettext.C (docbook): full support for paragraphs inside insettext.
5457 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5459 * insetindex.C: added header file for std::ostream.
5461 2001-11-03 José Matos <jamatos@fep.up.pt>
5463 * insetindex.C: added using std::ostream that I forgot yesterday.
5465 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5467 * insetindex.h (docbook):
5468 * insetindex.C (docbook): added support for docbook export.
5470 2001-11-02 José Matos <jamatos@fep.up.pt>
5472 * insetcaption.C(docbook): added support for docbook export.
5474 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5476 * insetexternal.C (updateExternal): Do not run update command if
5477 result file exists and is up to date.
5479 * ExternalTemplate.C (readFormat): Support the updateresult token.
5481 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5483 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5484 external_templates) to use the buffer->fileName() but only if
5485 previewing. Generating a TeX file should make FPath return
5488 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5491 * insetert.C: fix some problems
5493 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5495 * insetexternal.C (doSubstitution): Added $$FPath token
5496 to list of usable substitutions in external inset templates.
5498 2001-10-24 Juergen Vigna <jug@sad.it>
5500 * insettabular.C: use new ltType struct for setting longtable
5501 header and footers also new UNSET enums.
5503 2001-10-24 José Matos <jamatos@fep.up.pt>
5505 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5506 (docbook): If the table is not inside a float then wrap it inside
5507 <informaltable>...</informaltable>.
5509 2001-10-23 José Matos <jamatos@fep.up.pt>
5511 * insetref.C (docbook): removed / terminator to conform SGML.
5513 * insetspecialchar.C (linuxdoc):
5514 (docbook): Added support for special chars, more than ascii export.
5516 2001-10-22 Juergen Vigna <jug@sad.it>
5518 * insettext.C (checkInsertChar): added for REALLY checking the
5519 font of the inserted char in the right inset!
5521 2001-10-19 Juergen Vigna <jug@sad.it>
5523 * inset.h: added method allowSpellcheck() so that insets who do
5524 not have anything to spellcheck can tell and so they are over-jumped.
5525 Implemented for InsetText and co.
5527 2001-10-18 Juergen Vigna <jug@sad.it>
5529 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5531 2001-10-15 José Matos <jamatos@fep.up.pt>
5533 * insetert.C: allow export for docbook and linuxdoc
5535 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5537 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5539 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5541 * insetquotes.C (dispString): fix handling of latin9 quotes
5543 2001-10-03 Juergen Vigna <jug@sad.it>
5547 * insetcollapsable.C: change updateInset calls to not tell BV that
5548 we have changed status.
5550 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5552 * insettabular.C (deletable): make const
5554 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5556 * insetert.C (latex): Fix the returned value
5558 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5560 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5561 Returns string(), so nothing in an ERT inset is spellchecked.
5563 * insetgraphics.C (draw): print the filename if not displaying the
5565 (width): make sure that the width and draw methods are consistent.
5566 (updateInset): don't even load the image into cache if not displaying
5569 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5571 * various files (selectNextWord): renamed as
5572 selectNextWordToSpellcheck.
5574 * insetgraphics.C (draw): remove the previous change. Right place
5575 is in imageLoaderXPM.C.
5576 (draw): don't display the image if params.display == NONE.
5578 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5580 * figinset.C (runqueue):
5581 * insetgraphics.C (draw): set background colour of inset from
5582 background to the user-configurable graphicsbg.
5584 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5586 * insetquotes.C (InsetQuotes): when trying to decide the side of
5587 the quote, choose `left' only after a space or '('
5589 2001-09-04 José Matos <jamatos@fep.up.pt>
5594 * insetcollapsable.h
5612 * insetlatexaccent.C
5613 * insetlatexaccent.h
5618 * insetspecialchar.C
5619 * insetspecialchar.h
5623 * insettext.C (docbook): rename docBook method to docbook.
5625 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5627 * inset.h (getFirstParagraph): New virtual method.
5629 2001-08-20 Herbert Voss <voss@perce.de>
5630 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5631 in the the bibtex-database-gui for inserting a line
5634 If no style is given than there is no tex-output.
5636 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5638 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5642 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5644 * insetert.C (latex): Fix output for multiple paragraphs.
5645 (write): New code for writing paragraph data.
5646 (read): Set font after reading the inset.
5647 (localDispatch): Call set_latex_font() for more cases.
5649 * insetnote.h: Add empty validate method.
5652 * insetnote.C (InsetNote): Set language to the language of the
5655 2001-08-16 Juergen Vigna <jug@sad.it>
5657 * insettext.C: implemented the new FINISHED states.
5659 * insettabular.C: ditto
5661 * inset.h: added more FINISHED states for cursor right,up,down
5663 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5665 * insetfloatlist.C: use "FloatName List"
5667 2001-08-14 Juergen Vigna <jug@sad.it>
5669 * insetert.C (edit): forgot to set status_ in edit calls!
5671 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5673 * insettext.C: Compilation fix
5675 2001-08-13 Juergen Vigna <jug@sad.it>
5677 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5679 * insetcollapsable.C (edit): don't recollapse an already open inset.
5681 * insettext.C: fixed problem when reinitializing LyXText by not doing
5682 it while lt is in use and post this to the next possible time in
5684 (searchForward): fixed not unlocking of inset if nothing found.
5685 (edit): set cursor behind right (was set -1 pos).
5687 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5689 * insettabular.C (tabularFeatures): fixed fix where deleting the
5690 last row didn't get the right actcell!
5692 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5694 * insettext.C (localDispatch): Change language only when the inset
5697 2001-08-10 Juergen Vigna <jug@sad.it>
5699 * insettabular.C (selectNextWordInt): use the front using edit call.
5701 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5702 the parameter overwrite class variable inset.
5704 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5706 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5707 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5709 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5710 update only for fixed with cells.
5711 (resetPos): try to fix the lockup on spellchecking or s&r.
5713 * insettext.C (update): comment this out as it seems first wrong
5714 and second not needed anymore!
5715 (some functions): call reinitLyXText() only in update() in all other
5716 positions set only need_update = INIT.
5718 2001-08-08 Juergen Vigna <jug@sad.it>
5720 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5722 * insettext.C (insetUnlock): remove double-space on inset unlock.
5724 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5726 * insettabular.C (update): fixed cursor positon after an insert.
5727 (insetAllowed): do not allow to insert insets when not inside the
5729 (draw): clear below an inset too as it could have changed height.
5731 * inset.C (getMaxWidth): fixed width for inset in inset.
5733 * insettext.C (update): small fix.
5735 * insettabular.C (tabularFeatures): added selection support to
5736 DELETE_ROW/DELETE_COLUMN.
5738 2001-08-07 Juergen Vigna <jug@sad.it>
5740 * inset.C (getMaxWidth): recoded and all it's implementations!
5742 * insettext.C (init,setParagraph+constructors): cleanups
5743 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5744 are new and I want do a save/restore of the cursor position which is
5745 not possible anymore.
5747 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5748 (searchBackward): ditto
5749 (selectNextWord): ditto
5751 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5753 * insetlatexaccent.C (checkContents): Add some debug messages
5755 2001-08-07 Juergen Vigna <jug@sad.it>
5757 * insetert.C (read): don't use InsetCollapsable::read as we don't
5758 write the collapsed status anymore only the status.
5761 2001-08-06 Juergen Vigna <jug@sad.it>
5763 * insetert.C (set_latex_font): use LyXText's setFont directly.
5765 * insettext.C (drawFrame): fixed one time more the right position
5766 and size of the frame!
5768 * insetert.C (~InsetERT): hide the dialog.
5769 (showInsetDialog): added implementation
5772 (status): new function for the status of the ERT inset (3-state).
5773 (write): output also the status of the inset for readback!
5774 (read): readback the status if available otherwise use collapsed_.
5776 * insettext.C (edit): small fix of setting the position, which could
5779 * insetert.C (width): implement this function for inlined viewing.
5780 Added minimum width of 10 pixels!
5782 * insetminipage.C (InsetMinipage): just change the colors a bit so
5783 that border/background is a bit more visible. We will remove this
5786 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5787 function for getting the important widths for drawing in various
5788 functions and in LyXText.
5789 (draw): fixed up a bit (frame drawing/clearing)
5791 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5793 * inset.C (convertFont): delete method. not used.
5795 2001-08-03 Juergen Vigna <jug@sad.it>
5797 * insettext.C (setFont): don't call for a draw update if we're just
5798 changing the cursor font!
5800 2001-08-02 Juergen Vigna <jug@sad.it>
5802 * insettext.C (draw): clear the background with the right color if
5803 needed. Update myself if x&max-width changed and return without doing
5804 anything. Let the update code handle the right stuff.
5806 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5807 inside another inset.
5809 2001-08-01 Juergen Vigna <jug@sad.it>
5811 * insetcollapsable.C (update): added an in_update bool so we avoid
5814 * insettabular.C (update): added an in_update bool so we avoid
5817 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5819 (update): added an in_update bool so we avoid reentering.
5821 * insettabular.C (localDispatch): clear col/row selection when doing
5822 something else inside an inset.
5824 * insettext.C (getLyXText): fixed bug when requesting a recursive
5827 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5829 * insetcite.C (latex): Paranoia check. Make sure that there is no
5830 whitespace between the citation keys.
5832 2001-07-31 Juergen Vigna <jug@sad.it>
5834 * inset.h (nodraw): make the set function also const so that this
5835 can be called from inside other const functions.
5837 * insetcollapsable.h: removed inline variable and moved it over
5838 to the only user InsetERT.
5840 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5841 inset opening immediately therein lying insets dialogs!
5843 * insetert.C (localDispatch): set the font also if we don't have any
5844 chars in this paragraph, otherwise if we delete all of em and start
5845 writing we have the wrong font.
5847 (draw): implemented for inline support
5848 (insetButtonRelease): ditto.
5850 2001-07-30 Juergen Vigna <jug@sad.it>
5852 * insettext.C (reinitLyXText): new function to reinit the insets
5853 text after lot's of paragraph changes. Use this instead of the
5854 cache.clear() which is VERY dangerous.
5856 * insetfloat.C (insetButtonRelease): we should only show the dialog
5857 if we press on the label otherwise we have problems to open mouse
5858 button 3 dialogs inside this float (f.ex. of a tabular!)
5860 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5862 * insetert.C: change back to "ERT"
5864 * insetfloat.C: handliign of RMB on label added.
5866 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5868 * insetgraphicsParams.C: #include LOstream.h here.
5870 * insetfoot.h: remove InsetFoot:: qualifier.
5872 2001-07-29 Baruch Even <baruch@lyx.org>
5874 * ChangeLog: Hiding time travel evidence.
5876 * insetgraphicsParams.h:
5877 * insetgraphicsParams.C:
5878 * insetgraphics.C: Added horizontal scale option, it actually scales both
5879 directions since it keeps image proportions.
5881 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5883 2001-07-29 Baruch Even <baruch@lyx.org>
5885 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5886 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5888 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5890 2001-07-29 Baruch Even <baruch@lyx.org>
5892 * insetgraphics.C: Added EPSI to be an alias of EPS.
5894 2001-07-29 Baruch Even <baruch@lyx.org>
5896 * insetgraphics.C: Change GRAPHICS to Graphics.
5897 Changed image conversion rules (documented at the beginning of file).
5899 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5901 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5904 * insetgraphics.C: added a using std::endl directive.
5906 * insetcommand.h (getScreenLabel): removed pure virtual function,
5907 as it duplicates that in InsetButton.
5909 * insetbib.[Ch] (getScreenLabel):
5910 * insetbutton.[Ch] (getScreenLabel):
5911 * insetcite.[Ch] (getScreenLabel):
5912 * insetert.[Ch] (getScreenLabel):
5913 * insetexternal.[Ch] (getScreenLabel):
5914 * insetfloatlist.[Ch] (getScreenLabel):
5915 * insetinclude.[Ch] (getScreenLabel):
5916 * insetindex.[Ch] (getScreenLabel):
5917 * insetlabel.h (getScreenLabel):
5918 * insetparent.[Ch] (getScreenLabel):
5919 * insetref.[Ch] (getScreenLabel):
5920 * insettoc.[Ch] (getScreenLabel):
5921 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5923 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5925 (validate): remove check on "cite" when using natbib.
5927 2001-07-26 Baruch Even <baruch@lyx.org>
5929 * insetgraphics.C (draw): changed casting to be in one place rather than
5930 all over the function.
5933 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5935 * insetgraphicsParams.h:
5936 * insetgraphicsParams.C:
5937 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5939 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5941 * insetfoot.C (validate): Added method to ensure that the
5942 right bit of LaTeX is emitted.
5944 * insetfoot.h: Added validate method to set the correct
5945 LaTeXFeatures bit for the special footnote code.
5947 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5949 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5952 2001-07-27 Juergen Vigna <jug@sad.it>
5954 * inset.h: remove not used font variable in parameter.
5955 removed checkInsertChar in UpdatableInset as it was equal to
5956 the one in Inset and so not needed.
5958 * insetert.C (checkInsertChar): implementation of function
5961 * inset.h: added new function checkInsertChar.
5963 * various files: added c-tor and clone() function.
5965 * insetcollapsable.h: removed clone function here as this should
5966 be only realized in REAL insets and added it to all collapsable
5967 insets! (with the copy-constructor).
5969 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5971 * insetminipage.C (read): handle missing parameters more gracefully
5973 * insetcollapsable.C (read): handel missing collapsed more gracefully
5975 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5977 * insetfloat.C (read): handle missing parameters.
5979 * insettext.C (read): handle old latex end_inset
5981 * insetert.C (setButtonLabel): new method
5982 (init): use it, to set the dynamic label correctly
5985 * Makefile.am (EXTRA_DIST): add files that is not part or the
5988 * insetcollapsable.h: remove autocollapsable (no users), remove
5989 draw_label, change_label_with_text and companion code. Remove args
5991 * insetert.[Ch]: move here instead (only user)
5993 * inset.h: rename private variable name to name_, make
5994 selectNextWord return a const string. make getInsetName return a
5995 string const &. Remove bool from open, add close.
5997 * Makefile.am: don't compile insetlist, insetsection
6000 2001-07-24 Juergen Vigna <jug@sad.it>
6002 * insetert.C (InsetERT): put init after the paragraph initialization,
6003 as otherwise we don't set the draw_label right.
6005 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6006 insets with the mouse without having strange selections.
6007 (edit): if the inset was collapsed and we open it here then put the
6008 cursor always at the beginning of the inset.
6009 (get_new_label): 15 instead of 10 max chars in the label.
6011 * insetert.C (localDispatch): added and handle various stuff we
6012 need to handle here (font setting on paragraph break, not permitted
6013 layout setting, etc.).
6015 * inset.h: added default copy-consturctor and implemented this in
6016 various insets with the change to use this in the clone function!
6018 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6020 * insetminipage.C (InsetMinipage): set background color to red :)
6022 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6024 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6025 draw frame mode is LOCKED.
6027 * insetcollapsable.C (edit):
6028 (insetButtonRelease): set update status to full when
6031 * insettext.C (clearInset):
6032 * insettabular.C (draw):
6033 * insetlatexaccent.C (draw): honor background color.
6035 * inset.h: new member background_color_, initialized to
6038 * inset.C (backgroundColor): new method.
6039 (setBackgroundColor): new method.
6041 * insetert.C (init): new method, called by the ctors.
6042 (InsetERT): when inserting contents, make sure the font is
6045 * insetnote.C (InsetNote): when inserting content, remove trailing
6047 (init): set background color to LColor::note
6049 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6051 * insetcollapsable.C: adjust
6053 * insetbutton.C: adjust
6055 2001-07-23 Juergen Vigna <jug@sad.it>
6057 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6058 parameter on the _collapsed function (was not needed) and call
6059 always width_collapsed().
6061 * insetert.C (InsetERT): use setLabel with "true" flag.
6063 * insetcollapsable.C: modified various functions to set the draw_label
6064 string right in any condition.
6065 (setLabel): added a bool parameter to set change_label_with_text.
6067 * insetcollapsable.h: added draw_label string which is set to the
6068 actual drawn label-string, while label is the original static label
6069 of this collapsable inset. Added bool change_label_with_text to set
6070 if we want that the label changes to the start of the InsetText's
6071 text when collabpsed. You can set this flag with the setLabel funciton.
6072 Added bool inlined for inlined collapsable insets, but not handled
6075 * insetcollapsable.C (get_new_label): added should get a new label
6076 from the InsetText beginning (for now 10 chars).
6078 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6080 * insetquotes.C (latex): fix the handling of french double quotes
6081 when not using the french pachage.
6083 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6085 * insetcollapsable.h: make WidthCollapsed mutable.
6087 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6088 InsetPrintIndex returns INDEX_PRINT_CODE.
6090 * inset.h: add INDEX_PRINT_CODE
6092 * insetcollapsable.C (draw): init widthCollapsed if necessary
6095 * insetquotes.C (width): use the local language, not the document
6098 (dispString): add additional spacing for all french languages,
6100 (validate): make it work when there is no default language
6102 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6104 * insetnote.C (init): new method, called by the constructors
6105 (InsetNote): new constructor with contents passed as a string
6107 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6109 * insetfootlike.C (insetAllowed): disallow float in footlike.
6111 * insetert.C (InsetERT): add collapsed argument to the constrctor
6114 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6116 * insetindex.h: shut off warning
6118 2001-07-20 Juergen Vigna <jug@sad.it>
6120 * insetcollapsable.C (update): recoded hopefully works now!
6122 2001-07-19 Juergen Vigna <jug@sad.it>
6124 * most files: implemented the below new introduced function.
6126 * inset.h: added new edit(BufferView *, bool front) method to be able
6127 to enter an inset from the front/back without knowing x/y positions
6128 and baselines inside the inset. So I just can tell the inset activate
6129 me and set the cursor on the front/back of yourself.
6131 2001-07-18 Juergen Vigna <jug@sad.it>
6133 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6134 is given to the InsetText.
6135 (insetButtonPress): ditto
6136 (insetButtonRelease): ditto
6137 (insetMotionNotify): ditto
6139 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6141 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6142 LIGATURE_BREAK, since the name is so stupid.
6144 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6146 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6147 the default InsetCollapsable methods. I.e., it can insert anything.
6148 (write) output the name of the inset, not some silly hack for
6149 compatability with the old InsetInfo.
6151 * insetinfo.[Ch]: removed.
6152 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6153 now collapsable, but functionality is otherwise identical to InsetInfo.
6155 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6157 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6159 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6162 * insetquotes.C: general cleanup
6163 (dispString): add spaces inside french double quotes.
6164 (latex): ditto. Moreover, treat first the case where the frenchb
6165 or french options have been given.
6167 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6169 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6172 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6174 * figinset.C (RegisterFigure): Print debug message only when
6175 current_view is available.
6177 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6179 * many files: update to match the change below
6181 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6182 implement the version which takes an inset here.
6184 * insetcollapsable.[Ch]: implement open and isOpen
6186 * inset.h: remove insertInsetAllowed from Inset
6187 (open): new method, to open or close an inset
6188 (isOpen): returns the status of an inset
6189 (isCollapsable, colapse): removed
6191 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6193 * insetquotes.C (dispString): display french guillemets when using
6196 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6198 * insetcollapsable.h: remove bogus return statements
6200 2001-07-18 Juergen Vigna <jug@sad.it>
6202 * insettabular.C (selectNextWord): fixed spellchecking for the
6203 first cell of a tabular (wasn't entered!)
6204 (getLyXText): changed to enter automatically insettext and return
6205 it's LyXText if we're locked.
6207 2001-07-17 Juergen Vigna <jug@sad.it>
6209 * various files: implemented the below functions.
6211 * inset.h: added functions
6212 - virtual string selectNextWord(BufferView *, float & value) const;
6213 - virtual void selectSelectedWord(BufferView *) { return; }
6214 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6215 needed for spellchecking correctly!
6217 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6219 * insetert.C (latex): write out all paragraphs.
6221 2001-07-17 Baruch Even <baruch@lyx.org>
6223 * insetgraphics.C (draw): Removed unneeded casts.
6225 2001-07-16 Juergen Vigna <jug@sad.it>
6227 * insettext.C (update): fixed small oversight (reset lt to 0).
6229 2001-07-14 Baruch Even <baruch@lyx.org>
6232 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6234 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6236 Consistent use of Lsstream.h:
6237 * figinset.C: removed using std::ostringstream directive.
6239 * insetgraphics.C (createLatexOptions):
6240 * insetinclude.C (unique_id):
6241 std::ostringstream -> ostringstream.
6242 * insettext.C (localDispatch): std::istringstream -> istringstream.
6244 2001-07-13 Juergen Vigna <jug@sad.it>
6246 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6248 * insetcollapsable.C (getLockingInset): ditto.
6250 2001-07-12 Juergen Vigna <jug@sad.it>
6252 * insetcollapsable.h: added implementation of new function for
6255 * various files: added implementation of new insertInsetAllowed-func
6256 and redone the function a bit more.
6258 * inset.h: added isCollapsable(), bool collapsed(),
6259 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6261 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6263 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6264 LyXText which is marked for removal while we're using it!
6266 * insettext.h: added private LyXText * lt to use it to assure we are
6267 not deleting our LyXText while we're using it!
6269 2001-07-11 Juergen Vigna <jug@sad.it>
6271 * insettext.C (insertInset): check if we are before the inset after
6272 inserting it! This check IS needed. Remove the Undo-Call as it is
6273 called in LyXText::insertInset!
6275 * insettext.h: added struct InnerCache.
6277 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6278 that we ONLY delete the LyXText in the getLyXText() routine. So we
6279 are sure we don't delete LyXText while someone is working with it!
6281 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6283 * insetexternal.C: (*it). -> it->
6284 * insettext.C: ditto
6286 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6288 * insetcollapsable.C (edit): always open collapsed insets (even if
6289 they are not autocollapsable)
6291 * insetcommand.C (operator=): simplify.
6293 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6295 * insetert.C (latex): handle META_NEWLINE
6297 2001-07-09 Juergen Vigna <jug@sad.it>
6299 * insetert.h: a normal InsetText can insert insets, but we won't.
6301 * inset.h: return default "false" on insertInsetAllowed and implement
6302 this function where a returnvalue != "false" is needed.
6304 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6306 * insetert.C (InsetERT): new contructor
6308 2001-07-06 Juergen Vigna <jug@sad.it>
6310 * a lot of files: added implementation of the below new functions
6311 and the change to clone(). Also the call of the new undo-functions
6314 * inset.h: added an inset_id, added functions getParFromID,
6315 getInsetFromID, firstParagraph, cursor and id functions, added
6316 bool same_ids to clone function.
6318 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6320 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6321 of BufferView * and shared_ptr<LyXText>
6323 2001-07-05 Juergen Vigna <jug@sad.it>
6325 * insettext.C (clear): deleted also the cache not only LyXText.
6326 (setParagraphData): ditto.
6328 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6330 * insetfloat.C (latex): let the specific placement take presedence
6331 if set, otherwise choose document placement if set, otherwise just
6332 use float default placement.
6334 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6336 * insettext.C (localDispatch): call CutAndPaste::'s static method
6339 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6341 * insetbib.C: no meed to include forms.h here.
6343 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6345 * insettext.C: added using std::make_pair directive.
6347 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6349 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6351 (deleteLyXText): ditto
6352 (resizeLyXText): ditto
6354 2001-07-02 Juergen Vigna <jug@sad.it>
6356 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6357 following calls are only returned the right pointer without the over
6358 head to search in the map.
6359 (various funcs): reset the cached_bview variable as this signs that
6360 the cache is not valid anymore.
6362 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6364 * insettabular.C (clone): do not copy the LyXTabular twice
6366 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6368 * insettext.h (TEXT): delete method
6370 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6372 * insetmarginal.C (latex):
6373 * insetfoot.C (latex): fix spacing of notes in LaTeX
6375 * insettext.C (localDispatch): use .c_str() on istringstream
6376 constructor argument.
6378 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6383 * inseturl.C: fix method names in these to begin
6384 with small char too, so they inherit
6386 2001-06-28 Juergen Vigna <jug@sad.it>
6388 * insettext.C (setFont): fixed font settings using toggleFree()
6389 instead of setFont().
6391 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6393 * Change a lot of method names to begin with a small char.
6394 Changes to a lot of files because of this.
6396 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6398 * insetfloatlist.C (Write): std:: qualify ostream
6401 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6405 * insetgraphics.C: send debug output to Debug::INFO instead of
6408 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6411 * insettabular.C (getStatus): update to use func_status
6413 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6415 * insetref.C (DocBook): added support for cross-references without
6418 2001-06-26 The LyX Project <jug@sad.it>
6423 * insetlabel.h: removed escape method and moved it to
6426 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6428 * insettabular.C (getMaxWidth): do the speedup in a different way,
6431 2001-06-24 The LyX Project <Asger>
6433 * insettabular.C (getMaxWidth): We cache a mapping from
6434 inset to cell in order to speed this method up.
6436 2001-06-24 The LyX Project <Asger>
6438 * insettext.C: Optimized InsetText::draw or something.
6440 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6442 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6444 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6446 * inset.h: name change from lyxinset.h
6448 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6450 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6452 2001-06-14 Juergen Vigna <jug@sad.it>
6454 * insettext.C (draw): removed warnings.
6456 2001-06-13 Juergen Vigna <jug@sad.it>
6458 * insettabular.C (nodraw): only go down the tree if we don't have
6459 that flag set otherwise it's obvious that we don't want to draw.
6460 (LocalDispatch): do also an update if we have an undispached result.
6462 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6465 * insetgraphicsParams.C:
6466 * insettext.C: removed // -*- C++ -*- as first line.
6468 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6470 * lyxinset.h (resizeLyXText): shut off warning about unused
6473 2001-06-07 Juergen Vigna <jug@sad.it>
6475 * insettext.C (resizeLyXText): honor the new force flag.
6477 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6479 * insettabular.C (deleteLyXText): new function
6481 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6489 * insetcollapsable.C:
6490 * insetcaption.C: LColor tidy
6492 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6494 * figinset.C: fix typo
6496 2001-06-01 Juergen Vigna <jug@sad.it>
6498 * insettabular.C (resetPos): small hack so that scroll is not set to
6499 0 when we are in the last column of a tabular. This is a problem we
6500 have because of constats 20 offset on both directions, so this can
6501 cause on the limit an endless loop.
6503 * insettext.C (SetFont): forgot that we can have locking insets ;)
6505 2001-05-31 Juergen Vigna <jug@sad.it>
6507 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6509 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6511 * figinset.C: add using std:: directive for the C functions which
6514 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6516 * insetfloat.C (Write): write out wide info
6517 (Read): read the wide info
6518 (Latex): use the wide info when creating latex.
6520 * insettext.C: adjust
6522 * insetgraphics.[Ch] (statusMessage): change to return string
6526 * figinset.C (runqueue): add std::
6529 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6531 * insetcite.C (Ascii): add std:: qualifier
6533 2001-05-28 Juergen Vigna <jug@sad.it>
6535 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6536 a endless-width inset (maxWidth < 0).
6537 (Edit): change language only if not equal.
6539 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6541 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6543 2001-05-16 Juergen Vigna <jug@sad.it>
6545 * insettext.C (selectAll): added
6546 (clearSelection): added
6548 * insettabular.C (SetFont): now we may set a font on a whole selection!
6549 (getSelection): added helper function.
6551 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6553 * insetcite.C (Ascii): Add method.
6555 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6558 * insetbib.C: fix path for OS/2 & Win32
6560 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6562 * insetfoot.C (Latex): don't use % after footnote.
6564 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6566 * insettext.C (Read): use clear
6567 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6569 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6571 * insetfloatlist.h: add a bunch of std:: qualifiers.
6573 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6575 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6576 FLOAT_LIST_CODE, renumber code list.
6578 * insettoc.C (getScreenLabel): remove support for float lists
6582 * insetfloatlist.[Ch]: new files
6584 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6586 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6588 * insettabular.C (LocalDispatch):
6589 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6592 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6594 * insettext.C: remvoe !NEW_INSETS cruft
6596 * insettabular.C: remove !NEW_INSETS cruft
6598 * insetcollapsable.h: remove !NEW_INSETS cruft
6600 * insetbib.C: remove !NEW_INSETS cruft
6602 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6604 * insettoc.C: hack to make listof algorithm work
6606 2001-04-20 Juergen Vigna <jug@sad.it>
6608 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6610 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6612 * insetquotes.C (Latex): improve the guard against
6613 unwanted !` and ?` ligatures. This should really be done in
6614 another place (to catch all this ligatures at low-level).
6616 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6618 * insettext.C (init): remvoe leftovers from cursor_visible change
6619 (draw): use c++ cast
6620 (LocalDispatch): dispatch LFUN_MESSAGE
6622 * insettabular.C (InsetTabular): remove leftovers from
6623 cursor_visible, and scoped_ptr changes
6624 (draw): use c++ cast
6626 * insetcollapsable.C (draw): use c++ cast
6628 * ExternalTemplate.h: inherit privaely from noncopyable
6629 * insetcommand.h: ditto
6630 * insetinclude.h: ditto
6632 2001-04-16 Allan Rae <rae@lyx.org>
6634 * insettoc.C (Ascii):
6635 * insettext.C (draw):
6636 * insettabular.C (setPos):
6637 * insetminipage.C (Read):
6638 * insetfloat.C (placement):
6639 * insetcaption.C (Ascii, DocBook):
6640 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6641 an unrecognised preprocessor directive. So ensure they're wrapped.
6643 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6646 * insetexternal.C: set view on Clone. Add _ to private members.
6648 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6650 * insettext.C (InsetText): fix new
6651 (InsetText): reindent some, simplify deletion of par list
6652 (clear): simplify deletion of par list, fix new
6653 (SetParagraphData): simplify deletion of par list
6655 * insettabular.[Ch] (getLabelList): implement new method
6657 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6659 * lyxinset.h: do not include gettext.h...
6667 * insetlatexaccent.C:
6671 * inseturl.C: ... and do it here instead
6673 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6675 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6677 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6679 * insetcollapsable.[Ch] (getLabelList): implement
6681 * insettext.[Ch] (getLabelList): implement
6683 * insettext.h: reindent
6685 * insettabular.h: make tabular a scoped_ptr
6687 * insettext.C (init): adjust for cursor_visible
6688 (ToggleInsetCursor): constify asc and desc, font, adjust for
6690 (ShowInsetCursor): constify asc and desc, font, adjust for
6692 (HideInsetCursor): adjust for cursor_visible
6694 * insettabular.C: reindent some
6695 (InsetTabular): adjust for scoped_ptr and cursor_visible
6696 (InsetTabular): ditto
6697 (~InsetTabular): delete delete
6698 (Clone): adjust for scoped_ptr
6699 (Read): constify old_format, adjust for scoped_ptr, move init of
6701 (draw): constify tx, localize loop vars.
6702 some other localization of variables, remove double initilizatons.
6704 * insetfoot.C: remove using std::ostream, add ostream where needed
6706 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6708 * lyxinset.h: some reindentaion, use initializer list for
6710 UpdatableInset: make cursor_visible a private var add
6711 public isCursorVisible(), add protected toggleCursorVisible() and
6712 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6714 * insettoc.C: remvoe using decl
6715 (getScreenLabel): make cmdname donst
6718 (Ascii): don't use endl
6720 * insetfootlike.C: remove using decl at file scope and add std::
6722 * insetmarginal.C: ditto
6724 * insetfoot.C: some reformatting
6726 * insetfloat.C (InsetButtonRelease): adjust the hit area
6728 * insetert.C (SetFont): some reformatting
6730 * insetcollapsable.C: some reformatting and constification
6731 (Clone): comment out.
6732 * insetcollapsable.h: some reformatting
6733 (Clone): comment out.
6738 2001-03-30 Juergen Vigna <jug@sad.it>
6740 * insetcollapsable.h: changen *inset to be a InsetText inset.
6742 * some files: changed to reflect the above change.
6744 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6746 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6747 InsetExternal::Params.
6748 Added operator==() and operator!=() for the Params struct.
6750 2001-03-29 Juergen Vigna <jug@sad.it>
6752 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6755 * insetminipage.C: removed widthp_ and all it's functions and changed
6756 to use new %-lengths of LyXLength.
6758 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6760 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6762 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6764 * insetgraphicsParams.C (operator!=): new function, needed by the
6765 ControlGraphics class.
6767 2001-03-28 Juergen Vigna <jug@sad.it>
6769 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6770 (checkAndActivateInset): don't use the values returned from
6771 call to bv->checkInsetHit.
6773 * insetminipage.C (Clone): set special minipage values.
6775 * insetcollapsable.C (draw): changed to draw the button in the
6776 upper left corner outside the textinset.
6777 (ascent): changed because of different drawing
6781 (InsetButtonPress): ditto
6782 (InsetButtonRelease): ditto
6783 (InsetMotionNotify): ditto
6785 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6787 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6791 2001-03-26 Juergen Vigna <jug@sad.it>
6793 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6795 * insettext.C (ShowInsetDialog): implemented above function.
6797 * insettabular.C (ShowInsetDialog): ditto
6799 * insetminipage.C (ShowInsetDialog): ditto
6801 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6803 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6804 InsetInclude::Params. Don't store a buffer * in Params. Store the
6805 master file name instead.
6807 2001-03-23 Juergen Vigna <jug@sad.it>
6809 * insetcollapsable.C (InsetMotionNotify):
6810 (InsetButtonRelease):
6811 (InsetButtonPress): fixed y-offset (minipages).
6813 * insettext.C (draw): force a FULL update if cleared == true.
6815 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6816 routine to draw the minipages on its position-flag.
6817 (InsetInInsetY): give back the right y position, because of minipage
6820 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6823 * insetfloat.C (DocBook): docbook export code.
6825 2001-03-22 Juergen Vigna <jug@sad.it>
6827 * insetminipage.C (getMaxWidth): added function to set the drawing
6829 (Read): should work now!
6831 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6832 if we create a new inset.
6834 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6836 * figinset.C (fl_set_preemptive_callback): moved definition outside
6839 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6841 * insetminipage.C (Read): prepare for reading of minipage arguments.
6843 2001-03-18 Baruch Even <baruch@lyx.org>
6845 * insetgraphics.C: Minor cleanups of the comments and code.
6847 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6849 * insetminipage.C (InsetMinipage): default to not collapsed
6851 2001-03-16 Juergen Vigna <jug@sad.it>
6853 * insetminipage.C (width): modified with to be a string
6854 (widthp): added widthp (for % width) support functions.
6855 (InsetButtonRelease): added to open the options dialog on button==3.
6856 (~InsetMinipage): added to hide the dialog.
6858 * insetminipage.h: added hideDialog signal
6860 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6862 * insetminipage.h: change the order or Position to match
6863 LyXParagraph::MINIPAGE_ALIGNMENT
6865 * several files: remvoe CXX_WORKING_NAMESPACES
6867 * ExternalTemplate.h: noncopyable is in namespace boost
6868 * insetinclude.h: ditto
6869 * insetcommand.h: ditto
6871 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6873 * insettext.C (Edit): #else# -> #else.
6874 * insettoc.C: added using directive.
6876 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6878 * insetminipage.h: add pos, inner_pos, width and height. + getters
6879 and setters for all of them.
6881 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6883 * insetinclude.C (Latex): Do not exit when the textclass of the
6884 included file differ from the textclass of the parent file.
6886 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6888 * ExternalTemplate.C (read): the reading of external insets now checks
6889 for \end_inset and removes it form the input stream.
6891 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6893 * ExternalTemplate.h:
6894 * ExternalTemplate.C:
6896 * insetexternal.C: move form to GUII
6898 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6901 * insetinclude.C: add InsetIncludeParams, use
6902 composition rather than derivation of InsetCommand
6904 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6906 * insettoc.C (Ascii): use the Buffer typedefs
6908 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6910 * insettoc.C (Ascii): implement for dynamic number of lists
6912 * insetcaption.[Ch]: update from new_insets branch
6913 * insetfloat.[Ch]: ditto
6915 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6918 * figinset.C: use new File Dialog
6920 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6922 * insettext.C: changes becuase of ParagraphParameters.
6924 2001-02-28 Baruch Even <baruch@ev-en.org>
6926 * insetgraphics.C (updateInset): Changed due to the change in
6929 2001-02-26 Juergen Vigna <jug@sad.it>
6931 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6932 handled in LyXText).
6934 2001-02-23 Juergen Vigna <jug@sad.it>
6936 * insettext.C (draw): some small repainting fixes.
6937 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6939 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6940 should be) and not an int.
6942 * insettabular.C (LocalDispatch): ditto
6944 * insettext.C (LocalDispatch): ditto
6946 * insetcollapsable.C (LocalDispatch): ditto
6948 2001-02-22 Juergen Vigna <jug@sad.it>
6950 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6951 DISPATCH it and we don't have a locking_inset.
6953 2001-02-21 Baruch Even <baruch@ev-en.org>
6955 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6956 instead of GraphicsCacheItem *.
6958 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6960 * insetcollapsable.C (getLyXText): add const qualifier to second
6963 2001-02-22 Juergen Vigna <jug@sad.it>
6965 * insettext.C (getLyXText): honor the recursive parameter.
6966 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6968 * inset.C (getLyXText): added bool recursive parameter.
6970 * insettext.C (SetUpdateStatus): or the update codes.
6971 (draw): check need_update with &.
6972 (InsetButtonPress): set no_selection to not put a selection when
6973 entering an inset and it is redraws in another spot.
6975 * insettext.h: made need_update an int.
6977 2001-02-20 Baruch Even <baruch@ev-en.org>
6980 * insetgraphisc.C: Changed to use better semantics when loading images
6981 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6983 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6987 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6988 consistent with InsetTabular.
6990 2001-02-19 Juergen Vigna <jug@sad.it>
6992 * insettabular.C (LocalDispatch): implement PAGE up/down.
6994 * insettext.C (draw): clear all of it on need_update==INIT too!
6996 * insettabular.C (InsetUnlock): always clear the selection.
6998 * inset.C (scroll): normally we only want to scroll the inset until
6999 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7001 2001-02-14 Juergen Vigna <jug@sad.it>
7003 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7004 (resetPos): fixed scroll behaviour.
7005 (LocalDispatch): do an update if moving cursor inside a table cell
7006 requests a scroll of the tabular.
7008 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7010 * insettext.C (textWidth): constify local var
7012 * insettabular.C: small cleanup.
7014 * insetfoot.C (Latex): constify local var
7016 * insetcollapsable.C: small cleanup.
7018 * figinset.C (runqueue): use compare instead of strcmp
7020 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7023 * insetinfo.C: remove cruft
7025 2001-02-14 Juergen Vigna <jug@sad.it>
7027 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7029 2001-02-13 Juergen Vigna <jug@sad.it>
7031 * insettext.C (InsertInset): don't move left (is this right?)
7033 * insettabular.C (LocalDispatch): use of the no_draw variable
7035 * insettabular.h: new no_draw variable to stop redraw
7037 * insettabular.C (TabularFeatures): fixed update for alignment change
7039 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7043 * insetbib.C: move dialogs to frontends/
7045 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7047 * insettext.C (LocalDispatch): Restore the language if the inset
7050 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7052 * insettext.C (moveRightIntern): Update the selection cursor.
7053 (moveLeftIntern): Ditto.
7055 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7057 * Makefile.am: remove BoundingBox.h
7059 * BoundingBox.h: removed
7061 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7063 * insettext.C (LocalDispatch): Update selection cursor when moving
7064 cursor to the right.
7065 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7066 (moveLeftIntern): Ditto.
7068 2001-02-05 Baruch Even <baruch.even@writeme.com>
7070 * insetgraphics.C: Updated automatic image conversion, it now goes into
7071 temporary directory instead of with the image itself.
7073 2001-01-21 Baruch Even <baruch@ev-en.org>
7075 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
7076 to EPS or PNG when needed (support bitmap graphics).
7078 2000-11-02 Baruch Even <baruch@ev-en.org>
7081 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
7082 and removal of commented out code.
7084 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7086 * insetbib.C (callback): Update citations if the key has changed.
7088 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7090 * insetbib.C (InsetBibKey): Better computation of default key.
7091 (getScreenLabel) Show both the key and the label.
7092 (getBibLabel): New method.
7093 (callback): Force a redraw if the inset have been changed.
7095 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7097 * insetref.C (getType, getName): Move methods from
7098 src/frontends/xforms/FormRef.C.
7100 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7102 * insettabular.C: Various improvements (use only one dummy position).
7104 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7106 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7107 par->bibkey->width. This fixes the crashes when running without
7108 gui or when having included documents.
7110 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7112 * insetcommand.C (getAsString, setFromString): Cleanup.
7114 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7116 * insetref.C: Add the array InsetRef::types that contains
7117 information about all supported reference types.
7119 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7121 * lyxinset.h: remove trailing comma in enum.
7123 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7125 * insettext.C: kill LyXBell.