1 2004-06-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * insetfloatlist.C (latex,getScreenLabel): translate according to
4 the document language (bug #1312)
6 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * ExternalSupport.[Ch] (doSubstitution): exchange filename argument
9 with external_in_tmpdir and compute filename ourself
10 * ExternalSupport.[Ch] (updateExternal): add exportdata argument and
11 use it to store referenced file(s)
12 * ExternalSupport.C (writeExternal): write relative filename if
14 * ExternalTemplate.[Ch]: add ReferencedFile command
15 * insetgraphics.C (prepareFile, docbook, linuxdoc): add file to
17 * insetgraphics.C (prepareFile): write relative filename if
19 * insetinclude.C (latex, docbook, linuxdoc): add file to
20 runparams.exportdata and write it to the temp dir instead of
21 writing it to the final destination
22 * insetinclude.C (docbook, linuxdoc): don't copy runparams
24 2004-05-19 Angus Leeming <leeming@lyx.org>
26 * insetcite.[Ch]: small change because namespace biblio is
27 now namespace lyx::biblio.
29 2004-05-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
31 * insettabular.[Ch] (buffer): make Buffer * argument const
33 2004-05-17 Angus Leeming <leeming@lyx.org>
35 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
36 to force the button label to be re-generated.
38 2004-05-14 José Matos <jamatos@lyx.org>
40 * insetlabel (docbook): do not ouput label, for the moment.
42 2004-05-14 Angus Leeming <leeming@lyx.org>
44 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
45 new biblio::asValidLatexString function.
47 2004-05-12 Angus Leeming <leeming@lyx.org>
49 * insetcite.C: use BufferParams::cite_engine rather than the three
50 bools, use_natbib, use_jurabib, use_numerical_citations.
52 2004-05-10 Angus Leeming <leeming@lyx.org>
54 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
55 Ditto with getStyle, moved to biblio::getEngine.
57 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
59 * insetgraphics.C (validate): remove pre 233 file format stuff,
60 handle zipped files for "nice" export
62 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
64 * insetgraphics.C (prepareFile): copy zipped file and corresponding
65 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
66 * insetgraphics.C (prepareFile): unzip zipped file also if it has
67 changed since the last run
68 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
71 2004-04-29 Angus Leeming <leeming@lyx.org>
73 * ExternalTemplate.[Ch]: remove redundant #includes.
75 2004-04-28 Angus Leeming <leeming@lyx.org>
78 s/updateToolbar()/updateToolbars()/
80 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
82 * insetgraphics.C: require file extension (file format change!)
83 * insetgraphics.C (latex): handle zipped files for "nice" export
85 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
87 * insetgraphics.C (latex): strip the extension and replace dots in
88 the filename if doing a "nice" export. This is a partial fix for
89 bug 1231 without reintroducing bug 655.
91 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
93 * insetoptarg.h: remove the editable() method (InsetCollapsable
94 does it better already)
96 * insetbibtex.C (normalize_name): new helper function. Changes the
97 name to be suitable to use in a latex file (relative to master
99 (latex): use normalize_name.
101 2004-04-20 Angus Leeming <leeming@lyx.org>
103 * render_preview.C (startLoading): remove lyxerr statement.
105 (getPreviewLoader): new helper function.
107 2004-04-19 Angus Leeming <leeming@lyx.org>
111 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
113 2004-04-19 Angus Leeming <leeming@lyx.org>
115 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
117 (add_preview): renamed as add_preview_and_start_loading. Invoke
118 RenderPreview::startLoading.
120 * insetinclude.C (metrics, draw): changes due to the changed
121 RenderPreview interface.
123 * render_preview.C: remove cached pimage_.
124 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
125 (draw): don't call startLoading. That's up to the user of
128 2004-04-16 Angus Leeming <leeming@lyx.org>
130 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
132 2004-04-13 Angus Leeming <leeming@lyx.org>
134 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
135 the renderer to inform LyX::updateInset that the inset's status
136 has changed and it should be redrawn.
138 * render_button.[Ch] (clone):
139 * render_graphic.[Ch] (c-tors, clone):
140 * render_preview.[Ch] (c-tors, clone): ditto.
142 * render_graphic.[Ch] (connect):
143 * render_preview.[Ch] (connect): removed, as connection is now
144 made in the constructors.
148 * insetinclude.C: ensuing simplification of the client code.
149 (statusChanged): now superfluous. Removed.
151 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
153 * ExternalTemplate.[Ch]: remove editCommand
154 * ExternalSupport.C (editExternal): use formats.edit() instead of
155 the removed editCommand template parameter
156 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
157 * insetgraphics.[Ch] (editGraphics): new method
159 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
161 * insetinclude.C (validate): set/reset features.buffer_ when
164 2004-04-07 Angus Leeming <leeming@lyx.org>
166 * insetexternal.C (priv_dispatch):
167 * insetinclude.C (priv_dispatch): prevent crash by invoking
168 InsetOld::priv_dispatch at the end of the switch, rather than
169 InsetOld::dispatch...
171 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
173 * insetcollapsable.C:
174 * insetbranch.C: 'assign' to open/close branch inset according to
175 selection; also print content on closed branch button
177 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
179 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
180 $$RelPath_Master, $$RelPath_Parent, $$Extension,
181 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
183 * ExternalSupport.C (updateExternal): use absolute and output
184 filename where appropriate
186 2004-04-05 André Pönitz <poenitz@gmx.net>
188 * insetbase.h: use LCursor & in notifyCursorLeave
190 2004-04-05 Angus Leeming <leeming@lyx.org>
192 * insetgraphics.C: remove unused header file "lyxrc.h".
194 * render_graphic.C: squash bug 1372: Misleading graphics label when
195 deactivating lyx view.
197 2004-04-05 Angus Leeming <leeming@lyx.org>
202 * insetlatexaccent.C:
207 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
209 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
211 * insetfloat.C (read): fix yesterday's float fix.
212 * insetwrap.C (read): apply the fixed float fix.
214 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
216 * insetfloat.C (read): fix reading of float params
219 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
221 * insettext.C (edit): comment the call to updateLocal (dangling now)
222 * insettext.h: add allowSpellCheck() returning true
224 2004-03-31 Angus Leeming <leeming@lyx.org>
226 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
228 2004-03-31 Angus Leeming <leeming@lyx.org>
230 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
231 the cursor out of an inset.
233 * insetbranch.C (priv_dispatch):
234 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
235 use getOutOfInset to push the cursor out of the inset when
238 2004-03-30 Angus Leeming <leeming@lyx.org>
240 * insetbase.[Ch] (translate): new static member function, returns
241 an InsetBase::Code corresponding to the input string.
243 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
245 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
246 so that it opens the inset if it refers to the currently active
249 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
251 * insetfloat.C (addToToc): use par_const_iterator_begin and
252 par_const_iterator_end.
254 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
256 * insetbibtex.[Ch]: bibtopic support.
258 * insetfloat.[Ch]: add param \sideways {true|false}
259 (support for sideways floats from rotating.sty).
261 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
263 * insettext.[Ch]: add a default ctor. implement const version of
269 * insetwrap.C: adjust
271 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
273 * insettext.h: add insetAllowed returning true by default (fixing
274 vanishing insets problem)
276 * insettext.C (draw): handle the responsability of adding the
277 ouside offset to collapsable. Clean code a bit.
279 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
280 from insettext correctly, solve a couple of off-by-one drawing
283 2004-03-25 Angus Leeming <leeming@lyx.org>
285 * insetcaption.C (draw): squash warning about unused variable.
287 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
289 * ExternalSupport.C: use the master buffer's temp dir
290 * insetgraphics.C (latex): make relative filename relative to the
292 * insetgraphics.C: use the master buffer's temp dir
293 * insetinclude.C (masterFilename): new function
294 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
295 is always true if loadIfNeeded() returns true)
297 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
299 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
300 set its parent to the current buffer.
301 (latex): use the tmppath of the master buffer, not just the parent
302 buffer (makes a difference with more than one level of include
303 insets). If the file name is relative write in the .tex file a
304 name relative to the master buffer directory.
306 * insetinclude.C: rename masterFilename to parentFilename (this
307 points to the direct parent)
309 2004-03-25 André Pönitz <poenitz@gmx.net>
311 * inset.[Ch]: remover owner
313 * insetcollapsable.[Ch]: derive from InsetText instead having such a
321 * insetcharstyle.[Ch]:
329 * insetwrap.C: adjust
331 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
333 * insetquote.C: use opening quote after '[' char.
335 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
337 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
340 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
342 * insetcite.[Ch]: support jurabib.
344 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
346 * insetcite.C: Support second \cite option.
349 * insetcommandparams.[Ch]: add second optional argument.
351 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
353 * insetcollapsable.C (lfunMouseRelease): right mouse button only
354 shows the inset dialog.
356 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
358 * insetlabel.[Ch]: remove them
359 * Makefile.am: adjust
361 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
363 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
365 * insetinclude.C (latex): show a GUI warning if textclasses don't
367 * insetinclude.C: use mangledFilename() for temp files
368 * insetgraphics.C (readInsetGraphics): remove version check, since
369 the graphics inset has no own fileformat number anymore
371 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
373 * insetquotes.[Ch]: added new member that allows direct access
374 to single/double quotation marks.
376 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
378 2004-02-16 André Pönitz <poenitz@gmx.net>
381 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
382 implicitly assume 'DispatchResult(true, true) with exception of
383 InsetBase::priv_dispatch which does the equivalent of
384 'retrun DispatchResult(false)'
386 * inset*.[Ch] (priv_dispatch): adjust
388 * insettabular.[Ch]: remove remains of the 'update' mechanism,
389 simplify cursor moving function,
390 re-enable horizontal scrolling for large tables
392 2004-02-13 André Pönitz <poenitz@gmx.net>
394 * insettabular.[Ch]: some work after IU
396 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
398 * inset.C (setPosCache): switch to absolute coords in insets
399 * insettext.[Ch] (draw, drawFrame): adjust
400 * insetcollapsable.C (draw): adjust
403 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
405 * insettext.C (edit):
406 (updateLocal): use the cur argument instead of the global cursor
407 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
409 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
411 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
413 * insetfloat.C (validate): "H" -> 'H' in call to contains
415 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
417 2004-01-30 André Pönitz <poenitz@gmx.net>
421 * insetcollapsable.[Ch]:
424 * insetgraphics.[Ch]:
429 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
432 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
434 * insettabular.C: add using statement for std::vector, remove
435 std:: where using was already used.
437 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
439 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
441 * insetinclude.C (validate): use feautures.nice() instead of
444 2004-01-20 André Pönitz <poenitz@gmx.net>
447 * insetbase.[Ch]: move stuff from mathcursor here.
453 * insetcharstyle.[Ch]:
454 * insetcollapsable.[Ch]:
457 * insetexternal.[Ch]:
459 * insetgraphics.[Ch]:
468 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
470 2004-01-15 André Pönitz <poenitz@gmx.net>
477 * insetcharstyle.[Ch]:
478 * insetcollapsable.[Ch]:
481 * insetexternal.[Ch]:
483 * insetgraphics.[Ch]:
492 * updatableinset.[Ch] (priv_dispatch et al): change signature.
494 2004-01-08 André Pönitz <poenitz@gmx.net>
496 * insetcollapsable.[Ch]:
499 * updatableinset.h: use cell index info from global cursor.
501 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
503 * insetnote.C (InsetNoteParams::write): write label only once
505 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
507 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
509 get rid of the SameName functor
511 * insettabular.C: improve the functor.
513 2003-12-29 Angus Leeming <leeming@lyx.org>
515 * insetexternal.C (setParams): update defaultTemplateName.
517 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
519 * insetbox.C: Use term "Box" in button label
521 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
523 * insetcharstyle.C: get getDrawFont working again
525 2003-12-15 André Pönitz <poenitz@gmx.net>
528 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
530 2003-12-12 Angus Leeming <leeming@lyx.org>
532 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
534 (InsetBranchParams): remove the branchlist hack.
535 (isBranchSelected): new function, used to decide whether to
536 print each output format. Also used by InsetList.
537 (read, string2params): repair my own breakage ;-)
539 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
541 * insetminipage.[Ch]: remove from repository.
543 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
546 * insetcollapsable.[Ch]: Move all CollapseStatus code from
547 insetert to insetcollapsable; introduce virtual function
548 setButtonLabel and invoke it from collapsable
550 2003-12-12 Angus Leeming <leeming@lyx.org>
552 * insetinclude.C (draw): cache x,y and so enable the
555 2003-12-12 Angus Leeming <leeming@lyx.org>
557 * mailinset.C (print_mailer_error): tidy up the output.
559 2003-12-11 Angus Leeming <leeming@lyx.org>
561 * mailinset.[Ch] (print_mailer_error): new helper function.
563 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
564 calling InsetCommandMailer.
565 (InsetCommandMailer::string2params): pass the name of the dialog.
567 * insetbibitem.[Ch] (d-tor):
568 * insetbibtex.[Ch] (d-tor):
569 * insetcite.[Ch] (d-tor):
570 * insetfloatlist.[Ch] (d-tor):
571 * insetindex.[Ch] (d-tor):
572 * insetlabel.[Ch] (d-tor):
573 * insetref.[Ch] (d-tor):
574 * insettoc.[Ch] (d-tor):
575 * inseturl.[Ch] (d-tor): removed.
576 Hiding the dialog is handled by InsetCommand.
578 * insetbibtex.[Ch] (draw, metrics):
579 * insetfloatlist.[Ch] (draw, metrics):
580 * insetindex.[Ch] (draw, metrics): removed.
581 Drawing is handled by InsetCommand.
583 * insetbibitem.[Ch] (priv_dispatch):
584 * insetbibtex.[Ch] (priv_dispatch):
585 * insetcite.[Ch] (priv_dispatch):
586 * insetfloatlist.[Ch] (priv_dispatch):
587 * insetindex.[Ch] (priv_dispatch):
588 * insetlabel.[Ch] (priv_dispatch):
589 * insettoc.[Ch] (priv_dispatch):
590 * inseturl.[Ch] (priv_dispatch): removed or simplified.
591 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
592 LFUN_INSET_DIALOG_SHOW.
594 * insetbox.C (string2params):
595 * insetbranch.C (string2params):
596 * insetert.C (string2params):
597 * insetexternal.C (string2params):
598 * insetfloat.C (string2params):
599 * insetinclude.C (string2params):
600 * insetminipage.C (string2params):
601 * insetnote.C (string2params):
602 * insetvspace.C (string2params):
603 * insetwrap.C (string2params): over-hauled.
605 2003-12-10 Angus Leeming <leeming@lyx.org>
607 * insetexternal.[Ch]: add a draft option and respect it when
610 2003-12-10 Angus Leeming <leeming@lyx.org>
612 * insetbox.C: (read, write): now prepend the inset contents with
613 'Box' to identify the inset as a box inset.
615 * insetbox.h: move the translators out of sight.
617 2003-12-10 Angus Leeming <leeming@lyx.org>
619 * insetert.C (string2params): clean-up using the new lyxlex interface.
621 * insetexternal.C: ensure that InsetExternalParams has a default
622 template, 'RasterImage'.
624 2003-12-10 Angus Leeming <leeming@lyx.org>
626 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
627 to an enum. Ensuing clean-ups through out the class.
628 (read, write): now prepend the inset contents with 'Note' to identify
629 the inset as a note inset.
631 2003-12-10 Angus Leeming <leeming@lyx.org>
633 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
634 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
636 2003-12-10 André Pönitz <poenitz@gmx.net>
641 * insettext.[Ch]: remove unused insetInset()
643 * insetert.C: disable some LFUNs
645 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
647 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
649 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
651 2003-12-04 Angus Leeming <leeming@lyx.org>
653 * insetexternal.C (draw): update the xo_, yo_ cache.
655 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
657 (RotationDataType): new helper struct wrapping the
658 RotationData::OriginType enum.
660 2003-12-03 André Pönitz <poenitz@gmx.net>
662 * inset.h: remove getParagraphs()
664 * insetcollapsable.[Ch]:
668 * insettext.C: use getText() instead of getParagraphs()
670 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
672 * insetert.C: fix label text updating bug
674 2003-12-02 Angus Leeming <leeming@lyx.org>
676 * insetvspace.[Ch] (space): new member function. Make space_ private.
677 (read): use the new, simpler lyxlex syntax.
679 2003-12-01 André Pönitz <poenitz@gmx.net>
681 * insetcollapsable.[Ch]:
682 * insetert.[Ch]: move 'inline' state to InsetCollapsable
684 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
686 * insetvspace.C (read): handle 'end_inset' token.
688 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
690 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
692 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
694 * insetcollapsable.[Ch]:
696 * insetcharstyle.C: place inset content on the button when
699 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
701 * insetvspace.C: remove VSpace::NONE; increase inset width
703 2003-12-01 André Pönitz <poenitz@gmx.net>
705 * insetbase.h: whitespace
707 * inset.[Ch]: remove latexTextWidth
708 make setBackgroundColor virtual
710 * insettext.[Ch]: move ParagraphList member to LyXText
712 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
718 * insetminipage.[Ch]:
720 * insetwrap.[Ch]: adjust paragraphs and background color handling,
722 2003-11-28 Angus Leeming <leeming@lyx.org>
724 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
725 hiding and showing the dialog respectively.
726 (priv_dispatch): also actually update the inset contents.
728 2003-11-28 Angus Leeming <leeming@lyx.org>
730 * insetbox.C (d-tor):
731 * insetbranch.C (d-tor):
732 * insetcite.C (d-tor):
733 * insetfloat.C (d-tor):
734 * insetfloatlist.C (d-tor):
735 * insetinclude.C (d-tor):
736 * insetindex.C (d-tor):
737 simplify the invocation of the Mailer::hideDialog() function.
739 * insetminipage.C (showInsetDialog):
740 simplify the invocation of the Mailer::showialog() function.
742 2003-11-28 André Pönitz <poenitz@gmx.net>
745 * insetvspace.[Ch]: new insets
747 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
749 * insetcharstyle.C: Syntax change for CharStyles
751 2003-11-28 André Pönitz <poenitz@gmx.net>
753 * updatableinset.h: remove insetInInsetY
755 * insetcollapsable.[Ch]:
758 * insettext.[Ch]: adjust
760 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
764 * insetcollapsable.[Ch]:
766 * insettabular.[Ch]: remove setFont
768 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
770 * render_graphic.[Ch]: adjust comments
772 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
774 * insetgraphics.C (draw): cache xo_ & yo_
776 2003-11-24 André Pönitz <poenitz@gmx.net>
778 * insettext.C (setViewCache): don't call LyXText::init() anymore
780 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
783 * insetcollapsable.[Ch]:
784 * insetert.[Ch]: remove bufferview parameter in methods
785 open, close, status, and updateStatus.
787 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
789 * insetcollapsable.[Ch]:
791 * insettext.[Ch] (getCursorDim): squash unused variable
793 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
795 * insettext.C (edit): x0_,y0_ -> xo_,yo_
797 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
799 * insettext.C (draw): sets LyXText absolute coordinates
801 2003-11-20 Angus Leeming <leeming@lyx.org>
803 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
804 about unused parameters.
806 * insetcollapsable.C (open):
807 * insettabular.C (pasteSelection):
808 * insettoc.C (draw): ditto.
810 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
812 * insetcollapsable.C:
814 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
815 remove mouse_x mouse_y etc.
817 2003-11-17 André Pönitz <poenitz@gmx.net>
819 * insettext.[Ch] (cx, cy): remove
821 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
823 2003-11-13 André Pönitz <poenitz@gmx.net>
826 * insetcollapsable.[Ch]:
828 * insettext.[Ch] (deleteLyXText): remove
830 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
832 * insetcollapsable.[Ch] (fitInsetCursor): remove
833 * insettabular.[Ch] (fitInsetCursor): remove
834 * insettext.[Ch] (fitInsetCursor): remove
835 * updatableinset.[Ch] (fitInsetCursor): remove
836 (getCursorDIm): add virtual
838 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
840 * src/insets/Makefile.am:
841 * src/insets/inset.h:
842 * src/insets/insetcharstyle.C:
843 * src/insets/insetcharstyle.h: The Character Style /XML short
846 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
848 * insettext.C: remove all update calls
849 * insetcollapsable.C: remove all update calls
851 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
853 * insettext.C (updateLocal, insertInset, setFont): remove
856 2003-11-10 André Pönitz <poenitz@gmx.net>
858 * inset.h: remove Inset::id_
860 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
863 2003-11-10 André Pönitz <poenitz@gmx.net>
867 * insetcollapsable.[Ch]:
874 * updatableinset.[Ch]: remove inset locking & adjust
876 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
878 * inset.h (allowSpellCheck): add (return true)
879 * insetert.h (allowSpellCheck): add (return false)
881 2003-11-05 José Matos <jamatos@lyx.org>
889 * insetcollapsable.[Ch]:
893 * insetexternal.[Ch]:
895 * insetfloatlist.[Ch]:
897 * insetgraphics.[Ch]:
902 * insetlatexaccent.[Ch]:
905 * insetmarginal.[Ch]:
906 * insetminipage.[Ch]:
910 * insetpagebreak.[Ch]:
914 * insetspecialchar.[Ch]:
920 * insetwrap.[Ch]: rename ascii to plaintext
921 and LatexRunParams to OutputParams.
923 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
925 * insetcollapsable.C (edit): add open() all
926 * insettext.C (edit): add setViewCache call
928 2003-11-04 André Pönitz <poenitz@gmx.net>
930 * inset.h (edit): move locking code from dispatch() to edit()
936 * insetcollapsable.[Ch]:
939 * insetexternal.[Ch]:
940 * insetgraphics.[Ch]:
946 * insettext.[Ch]: adjust
948 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
951 * insetcollapsable.[Ch]:
955 * updatableinset.[Ch]: remove dead search code
957 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
960 * insetcollapsable.[Ch]:
964 * updatableinset.[Ch]: remove dead spellcheck code
966 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
968 * insettabular.C (lockInsetInInset): small fix
970 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
972 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
973 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
974 from here. Be stricter on DispatchResult returned.
976 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
978 * Inset::dispatch's: adjust for new DispatchResult semantics.
980 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
982 * render_base.h: make clone return an auto_ptr
983 * render_button.C (clone): adjust
984 * render_graphic.C (clone): adjust
985 * render_preview.C (clone): adjust
987 * insettheorem.C (clone): return an auto_ptr
989 * insettext.C (priv_dispatch): exception safety
991 * insettabular.C: store the file scope variable paste_tabular in a
992 scoped_ptr, adjust usage.
994 * insetexternal.C (setParams): exception safety
996 * insetbibitem.C (clone): exception safety
998 2003-11-03 André Pönitz <poenitz@gmx.net>
1001 * insetcollapsable.[Ch]:
1002 * insettabular.[Ch]:
1003 * insettext.[Ch]: remove Inset::id and related functions
1005 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1007 * insets: adjust for DispatchResult changes.
1009 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1011 * insetpagebreak.C: fix screen representation & ascii output.
1013 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
1017 * insettabular.[Ch]:
1018 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
1020 2003-10-31 José Matos <jamatos@lyx.org>
1022 * inset.h (ascii, linuxdoc, docbook):
1023 * insetbox.[Ch] (ascii, linuxdoc, docbook):
1024 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
1025 * insetcaption.[Ch] (ascii, docbook):
1026 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
1027 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
1028 * insetert.[Ch] (ascii, linuxdoc, docbook):
1029 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
1030 * insetfloat.[Ch] (linuxdoc, docbook):
1031 * insetfloatlist.[Ch] (ascii):
1032 * insetfoot.[Ch] (docbook):
1033 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1034 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1035 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1036 * insetindex.[Ch] (docbook):
1037 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1038 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1039 * insetline.[Ch] (ascii, linuxdoc, docbook):
1040 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1041 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1042 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1043 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1044 * insetref.[Ch] (ascii, linuxdoc, docbook):
1045 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1046 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1047 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1048 * insettext.[Ch] (ascii, linuxdoc, docbook):
1049 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1050 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1051 * insetwrap.[Ch] (docbook):
1052 add LatexRunParams argument.
1054 2003-10-30 José Matos <jamatos@lyx.org>
1056 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1058 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1060 * updatableinset.C (priv_dispatch):
1061 * insetwrap.C (priv_dispatch):
1062 * inseturl.C (priv_dispatch):
1063 * insettoc.C (priv_dispatch):
1064 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1065 (moveLeftIntern, moveUp, moveDown):
1066 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1067 (moveLeft, moveUp, moveDown):
1068 * insetref.C (priv_dispatch):
1069 * insetnote.C (priv_dispatch):
1070 * insetminipage.C (priv_dispatch):
1071 * insetlabel.C (priv_dispatch):
1072 * insetindex.C (priv_dispatch):
1073 * insetinclude.C (priv_dispatch):
1074 * insetgraphics.C (priv_dispatch):
1075 * insetfloatlist.C (priv_dispatch):
1076 * insetfloat.C (priv_dispatch):
1077 * insetexternal.C (priv_dispatch):
1078 * insetert.C (priv_dispatch):
1079 * insetcommand.C (priv_dispatch):
1080 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1081 * insetcite.C (priv_dispatch):
1082 * insetbranch.C (priv_dispatch):
1083 * insetbox.C (priv_dispatch):
1084 * insetbibtex.C (priv_dispatch):
1085 * insetbibitem.C (priv_dispatch):
1086 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1088 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1090 * insettext.C: small refactoring of docbook stuff
1092 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1094 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1095 (priv_dispatch): adjust for operator dispatch_result_t removal
1097 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1098 in a DispatchResult, adjust accordingly.
1099 (priv_dispatch): use strange >= construct... (will be removed later)
1101 * most insets: dispatch_result -> DispatchResult
1103 * insetbase.h: move DispatchResult out to dispatchresult.h
1105 2003-10-27 André Pönitz <poenitz@gmx.net>
1107 * insetpagebreak.[Ch]: new inset for page breaks
1109 * insetline.[Ch]: new inset for vertical lines
1114 2003-10-25 Angus Leeming <leeming@lyx.org>
1116 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1117 new virtual member functions, specialised...
1118 * render_button.h (asButton):
1119 * render_graphic.h (asGraphic):
1120 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1122 * insetexternal.C: use these new functions rather than dynamic_cast.
1123 Various other small simplifications.
1125 2003-10-22 Angus Leeming <leeming@lyx.org>
1127 * insetexternal.[Ch]: add the ability to 'preview' the external file
1130 * insetinclude.C: changes due to the changes in the RenderPreview
1133 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1134 message if the preview image is not available. Only initiate the
1135 loading of the preview from draw(). Ditto, start the monitoring
1136 of an external file from RenderMonitoredPreview::draw.
1138 2003-10-22 Angus Leeming <leeming@lyx.org>
1140 * insetcite.[Ch] (setLoadingBuffer): removed.
1141 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1142 ascertain whether to proceed with the (expensive) task of computing
1143 the natbib-style label. Remove the home-grown hack providing
1144 similar functionality.
1146 2003-10-22 Angus Leeming <leeming@lyx.org>
1148 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1149 class and into an anonymous namespace.
1151 2003-10-22 Angus Leeming <leeming@lyx.org>
1153 * insetcommand.h: remove the display method.
1157 * insetindex.h (InsetPrintIndex):
1158 * insettoc.h: add a display method, returning true.
1160 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1162 * insetcollapsable.h:
1166 * insetinclude.h: (1) finish off the inset display() work;
1167 (2) fix the "is a bit silly" bug (accessing char
1170 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1174 * insetfootlike.h: re-introduce display() for insets,
1175 fixing the various bugs (stretch of line above, math inset
1178 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1180 * insetbase.C (dispatch): new func
1181 (priv_dispatch): new func replaces...
1182 (localDispatch): this, deleted.
1184 * all insets with dispatch modified for new code.
1186 2003-10-15 André Pönitz <poenitz@gmx.net>
1188 * insetcollapsable.[Ch]
1190 * inset.h: re-add some edit(bv, index) method called by undo
1192 2003-10-14 Angus Leeming <leeming@lyx.org>
1194 * insetexternal.[Ch] (view, cache, view_):
1195 * insetgraphics.[Ch] (view, cache, view_):
1196 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1197 (statusChanged): call LyX::cref().updateInset.
1199 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1200 the BufferView cache.
1202 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1205 2003-10-14 Angus Leeming <leeming@lyx.org>
1207 * insetinclude.C (metrics, draw): only draw the preview when previews
1210 2003-10-14 André Pönitz <poenitz@gmx.net>
1212 * insetcollapsable.[Ch]:
1213 * insettabular.[Ch]:
1215 * inset.h: getText() as alternative to getParagraphs()
1217 2003-10-13 Angus Leeming <leeming@lyx.org>
1220 * insetgraphicsParams.C: displayTranslator is now a function.
1222 2003-10-13 Angus Leeming <leeming@lyx.org>
1224 * insetinclude.C: remove #include "PreviewImage.h".
1226 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1228 * ExternalSupport.C:
1229 * ExternalTransforms.C:
1231 * insetbox.h: ws changes only
1233 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1235 * insetinclude.C (localDispatch): do not call
1236 InsetOld::localDispatch, just return UNDISPATCHED
1237 * insetgraphics.C (localDispatch): ditto
1238 * insetcommand.C (localDispatch): ditto
1240 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1242 * inset.h: get rid of RESULT typedef for dispatch_result
1244 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1245 * insetert.[Ch] (localDispatch): ditto
1246 * insettabular.[Ch] (localDispatch): ditto
1251 * insettext.[Ch] (localDispatch): ditto
1254 (moveRightIntern): ditto
1255 (moveLeftIntern): ditto
1258 * updatableinset.[Ch] (localDispatch): ditto
1260 2003-10-12 Angus Leeming <leeming@lyx.org>
1262 * renderbase.h (view, view_): removed.
1263 * renderbase.C: removed.
1264 * Makefile.am: remove render_base.C. The shortest lived file in
1267 * renderbutton.C (draw):
1268 * render_graphic.C (draw): don't cache the BufferView.
1270 * insetabase.h (cache, view): removed.
1272 * inset.h (generatePreview) removed.
1274 * insetcallapsable.[Ch] (cache, view, view_): removed.
1276 * insetcollapsable.C (draw): don't cache the BufferView.
1278 * insetcommand.[Ch] (view): removed.
1280 * insetexternal.[Ch] (cache, view, view_):
1281 * insetgraphics.[Ch] (cache, view, view_):
1282 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1284 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1285 when you have direct access to it. In fact, don't use the cache at all.
1287 2003-10-10 Angus Leeming <leeming@lyx.org>
1289 * insetinclude.C (metrics): use preview_->metrics.
1290 (draw): use preview_->draw.
1292 * render_preview.[Ch] (pimage): removed.
1294 2003-10-10 Angus Leeming <leeming@lyx.org>
1296 * renderers.[Ch]: removed.
1299 * render_button.[Ch]:
1300 * render_graphic.[Ch]:
1301 * render_preview.[Ch]: new files. The first three are split out of
1302 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1303 contains a re-worked InsetInclude::PreviewImpl also.
1305 * Makefile.am: reflect the changed files.
1308 * insetexternal.[Ch]:
1309 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1311 * insetinclude.[Ch]: changes reflecting the change from
1312 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1318 * inseturl.C: add #include "support/std_ostream.h"
1320 2003-10-09 Angus Leeming <leeming@lyx.org>
1322 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1323 to PreviewedInset::previewReady.
1325 2003-10-09 Angus Leeming <leeming@lyx.org>
1327 * insetexternal.[Ch] (statusChanged):
1328 * insetgraphics.[Ch] (statusChanged): make a const member function.
1330 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1333 2003-10-09 Angus Leeming <leeming@lyx.org>
1335 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1336 to PreviewedInset's previewReady and removePreview member functions.
1338 2003-10-08 André Pönitz <poenitz@gmx.net>
1340 * insetcollapsable.C:
1341 * insettext.[Ch]: saner 'init' structure
1343 * updatableinset.[Ch]: remove unneeded code
1345 2003-10-08 Angus Leeming <leeming@lyx.org>
1347 Fix doxygen warnings.
1349 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1350 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1352 2003-10-07 Angus Leeming <leeming@lyx.org>
1354 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1355 be applied to InsetExternal.
1357 * Makefile.am: add these new files.
1359 * ExternalTemplate.[Ch]: add a list of available transforms to
1360 class Template and a list of factory functions for transformer classes
1361 that can act on this data to class Format.
1363 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1365 * ExternalSupport.C: Add code to replace transform placeholders
1366 with appropriate output.
1368 2003-10-07 Angus Leeming <leeming@lyx.org>
1370 * ExternalSupport.[Ch]: new files, moving the private member functions
1371 and namespace anon functions out of insetexternal.C to here, so making
1372 it easier to understand what is going on in insetexternal itself.
1374 * Makefile.am: add new files.
1376 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1377 allowing the class to be forward declared. (Also consistent with
1378 all other Params classes.)
1379 (write): moved out of the class. Move this function and those in
1380 namespace anon to ExternalSupport.[Ch].
1382 2003-10-07 Angus Leeming <leeming@lyx.org>
1384 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1385 non-const member function.
1387 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1392 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1394 2003-10-02 André Pönitz <poenitz@gmx.net>
1396 * insettext.C (read): make sure there is at least one par
1397 in the text after reading.
1399 2003-10-01 José Matos <jamatos@lyx.org>
1401 * insetbranch.C (linuxdoc, docbook): minor fix.
1403 2003-10-01 Angus Leeming <leeming@lyx.org>
1405 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1407 * insetexternal.[Ch]: changes due to the introduction of
1408 namespace lyx::external.
1410 2003-09-30 Angus Leeming <leeming@lyx.org>
1412 * insetexternal.[Ch] (Params::read, write): new member functions.
1414 2003-09-25 Angus Leeming <leeming@lyx.org>
1416 * insetexternal.[Ch] (TempName): new (private) nested struct with
1417 fake copy semantics. Enables us to use the generated copy c-tor
1418 in the Params struct.
1419 (Params::templatename, Params::tempname): use accessor functions.
1421 2003-09-25 Angus Leeming <leeming@lyx.org>
1423 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1424 function, returning a const pointer.
1426 2003-09-23 Angus Leeming <leeming@lyx.org>
1428 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1429 store them in a vector, preambleNames.
1431 * insetexternal.C (validate): loop over all preambleNames and call
1432 LaTeXFeatures::addExternalPreamble with each.
1434 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1436 * insetbranch.C: bug fix in branches
1438 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1440 * insetnote.C: small clean-up.
1442 2003-09-19 Angus Leeming <leeming@lyx.org>
1444 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1446 * insetcommand.C (string2params): clear params using the default c-tor.
1448 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1449 InsetInclude::Params. No more data in this struct than in
1450 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1451 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1452 (clone): remove #warning as it's now redundant.
1453 (set): add a 'Buffer const &' arg. Make private.
1454 (loadIfNeeded) move out of the class definition and into namespace anon.
1455 (getMasterFilename, getFileName): ditto.
1457 2003-09-18 Angus Leeming <leeming@lyx.org>
1459 * insetcommand.C (setParams): use the params' copy constructor.
1461 2003-09-18 Angus Leeming <leeming@lyx.org>
1463 * insetinsetbase.h (getLabelList):
1464 * insetinsetcollapsable.[Ch] (getLabelList):
1465 * insetinsetinclude.[Ch] (getLabelList):
1466 * insetinsetlabel.[Ch] (getLabelList):
1467 * insetinsettabular.[Ch] (getLabelList):
1468 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1469 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1471 2003-09-18 Angus Leeming <leeming@lyx.org>
1473 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1474 redundant baggage from yesteryear.
1475 Remove Params::flag as it is redundant; the info is present in
1478 2003-09-18 Angus Leeming <leeming@lyx.org>
1480 * insetinclude.C (latexString): add a Buffer const & arg.
1482 2003-09-18 Angus Leeming <leeming@lyx.org>
1487 * insettext.h: rename EnumLColor as LColor_color.
1489 2003-09-18 Angus Leeming <leeming@lyx.org>
1491 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1492 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1494 2003-09-16 Angus Leeming <leeming@lyx.org>
1496 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1497 set before trying to generate a preview, else we trigger an assert.
1499 2003-09-16 Angus Leeming <leeming@lyx.org>
1501 * insetinclude.C (PreviewImpl::parent): return a const reference.
1503 2003-09-16 Angus Leeming <leeming@lyx.org>
1505 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1507 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1509 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1510 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1512 * insetminipage.C (metrics):
1513 * insetnote.C (metrics):
1514 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1515 access collapsed_ directly.
1517 2003-09-16 Angus Leeming <leeming@lyx.org>
1519 * insetbibitem.C: add #include "lyxfont.h".
1521 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1524 * insetbibtex.C: use namespace alias for lyx::support::os
1526 2003-09-16 Angus Leeming <leeming@lyx.org>
1528 * insetcollapsable.h: remove unused framecolor variable.
1529 Remove #include "LColor.h".
1531 * insetcollapsable.C: remove unused framecolor variable.
1534 * insetcollapsable.C:
1542 Add #include "LColor.h".
1544 2003-09-16 Angus Leeming <leeming@lyx.org>
1546 * insettext.[Ch] (frameColor): new accessor function.
1547 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1553 add #include "LColor.h".
1555 * insetcollapsable.h: add #include "LColor.h"
1556 (for its framecolor member variable).
1558 2003-09-16 Angus Leeming <leeming@lyx.org>
1560 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1562 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1563 rename frame_color as frame_color_. Make private.
1565 * insettext.C: associated changes.
1567 2003-09-16 Angus Leeming <leeming@lyx.org>
1569 * inset.h: store background_color_ as an int, not as an LColor::color to
1570 get LColor.h out of the header file.
1573 * insetlatexaccent.C:
1576 * insetspecialchar.C:
1578 add #include "LColor.h".
1580 2003-09-16 Angus Leeming <leeming@lyx.org>
1582 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1585 2003-09-15 Angus Leeming <leeming@lyx.org>
1587 * inset.[Ch] (setBackgroundColor, backgroundColor):
1588 * insettext.[Ch] (setFrameColor):
1589 pass EnumLColor args, rather than LColor::color ones.
1591 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1601 * insetwrap.C: remove usage of STRCONV
1603 2003-09-15 Angus Leeming <leeming@lyx.org>
1605 * renderers.C (draw):
1606 * insetlatexaccent.C (draw): explicitly define the color passed to
1609 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1611 * insettext.C: remove block causing problems in lockInsetInInset
1612 (mentioned erroneously under Bug #1366)
1614 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1616 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1619 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1621 * several files: change Assert to BOOST_ASSERT
1623 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1625 * insettext.[Ch]: remove drawText[XY]Offset
1627 2003-09-08 Angus Leeming <leeming@lyx.org>
1629 * insetcollapsable.C:
1634 * insetspecialchar.C:
1637 * insettoc.C: remove redundant using directives.
1639 2003-09-07 Angus Leeming <leeming@lyx.org>
1642 * insetspecialchar.h: remove #include "support/std_string.h".
1644 2003-09-06 Angus Leeming <leeming@lyx.org>
1646 * renderers.C: add #include "insets/inset.h"
1648 2003-09-05 Angus Leeming <leeming@lyx.org>
1650 * *.C: strip out redundant #includes. (193 in total.)
1652 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1654 * insets/insetbibtex.[Ch]:
1655 * insets/insetcommand.h:
1656 * insets/insetfloatlist.[Ch]:
1657 * insets/insetinclude.[Ch]:
1658 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1659 of insets like bibtex, include, toc and floatlist to the visible
1660 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1661 up the dialogs. Cursor has to be in front of the inset (i.e.
1662 start of row) for this to function.
1664 2003-09-04 Angus Leeming <leeming@lyx.org>
1666 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1667 structure outside of the Format struct. Format::preambleName refers to
1668 an item in the map of all preamble snippets.
1669 Make use of the new Debug::EXTERNAL flag.
1671 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1672 (validate): Small change due to the changed storage of preamble snippets.
1674 2003-09-04 Angus Leeming <leeming@lyx.org>
1676 * insetgraphics.C: #include "support/os.h"
1678 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1679 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1680 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1682 * insetcollapsable.h:
1684 * insetnote.C: move #include "funcrequest.h" out of the header file.
1686 2003-09-03 Angus Leeming <leeming@lyx.org>
1688 * insetexternal.C (updateExternal):
1689 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1692 2003-09-03 Angus Leeming <leeming@lyx.org>
1694 * insetexternal.C: don't bring namespace lyx::support into the global
1697 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1699 * insetbranch.C: Add Branch: to label
1701 2003-09-02 John Levon <levon@movementarian.org>
1704 * insettext.C: remove cursor.i[xy]()
1706 2003-08-28 Angus Leeming <leeming@lyx.org>
1708 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1709 "sh ", enabling the conversion to be carried out even if the script
1712 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1714 * most files: change to use const Buffer refs
1716 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1718 * insetfootlike.C: whitespace.
1720 2003-08-26 John Levon <levon@movementarian.org>
1724 * insetindex.h: remove remaining mentions of needFullRow()
1726 2003-08-26 André Pönitz <poenitz@gmx.net>
1732 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1734 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1736 * insetbranch.C: Small fix to prevent a crash on loading.
1738 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1743 * insetcollapsable.h:
1745 * insetfloatlist.[Ch]:
1746 * insetfootlike.[Ch]:
1747 * insetinclude.[Ch]:
1753 * insettheorem.[Ch]:
1754 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1755 altogether, putting the logic in metrics/draw in the insets.=20
1756 Draws short single row insets with more or less realistic metrics.
1758 2003-08-19 André Pönitz <poenitz@gmx.net>
1760 * insettext.C: use new RowPainter interface
1762 2003-08-18 John Levon <levon@movementarian.org>
1764 * insetref.C: require amsmath for eqref
1766 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1770 * insetbranch.[Ch]: implements the 'branch inset'
1771 idea. This allows the output of various versions of a document
1772 from a single source version, selectively outputing or suppressing
1773 output of parts of the text.
1774 This implementation contains a 'branch list editor' in a separate
1775 tab of the document settings dialog. Branches are user definable
1776 and have a "display colour" to distinguish them on-screen.
1778 ColorHandler was somewhat cleaned up.
1779 (1) make possible a dynamically growing LColor list by allowing
1780 the graphic context cache to grow along (vector);
1781 (2) eliminate an IMHO unnecessary step in colour allocation.
1783 2003-08-15 André Pönitz <poenitz@gmx.net>
1785 * insettext.[Ch]: adjust after rowlist split
1787 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1789 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1790 rename valign-center to valign-middle;
1791 rename VALIGN_CENTER to VALIGN_MIDDLE
1793 2003-08-11 André Pönitz <poenitz@gmx.net>
1795 * inset.h: remove resizeLyXText
1798 * insetcollapsable.[Ch]:
1800 * insettabular.[Ch]: adjust
1802 * insettext.[Ch]: remove saveLyXTextState,
1803 restoreLyXTextStat, sstate, reinitLyXText
1805 2003-08-07 André Pönitz <poenitz@gmx.net>
1807 * inset.[Ch]: move non-crucial functions out-of-line
1809 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1810 remove duplicated code.
1812 2003-08-05 André Pönitz <poenitz@gmx.net>
1815 * insetcollapsable.[Ch]:
1825 * insettabular.[Ch]:
1828 * updatableinset.[Ch]: rip out "deep update"
1830 * insettext.C (localDispatch): merge cases with default branch
1832 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1834 * insettabular.[Ch] (updateLocal): simplify logic
1836 2003-08-04 André Pönitz <poenitz@gmx.net>
1838 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1839 is 'FULL' all the time.
1841 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1843 * insetert.C (get_new_label): only add ... to the (closed) label
1844 when the string has been shortened
1846 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1848 * Always use std::endl with lyxerr
1850 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1852 * insetnote.C: update \author list
1854 2003-07-31 André Pönitz <poenitz@gmx.net>
1856 * insetcollapsable.h:
1857 * insettabular.[Ch]:
1858 * insettext.[Ch]: remove toggleSelection
1860 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1862 (with help from Juergen Spitzmueller)
1863 * insetnote.C: add add i18n support. Use Prefs-definable
1864 colours for Comment and Greyedout.
1866 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1868 * insetcollapsable.[Ch]:
1870 * insetert.C: factor out the detection of clicking on the inset
1871 button as 'hitButton'. John Levon contributed.
1873 2003-07-30 André Pönitz <poenitz@gmx.net>
1875 * insetcollapsable.C:
1877 * insettabular.C: parantheses, localize vars etc.
1879 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1881 * insetnote.C: Implement a newenvironment in preamble for
1882 greyedout. Patch provided by Jürgen Spitzmüller.
1884 2003-07-29 Angus Leeming <leeming@lyx.org>
1886 * insetcommand.C (localDispatch): default to
1887 InsetOld::localDispatch.
1889 * insetbibitem.C (localDispatch):
1890 * insetbibtex.C (localDispatch): remove call to
1891 ChangeCitationsIfUnique.
1893 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1895 * insetexternal.C (read): use pushpophelper.
1897 2003-07-28 José Matos <jamatos@lyx.org>
1899 * insetext.C (read): \end_document replaces \the_end.
1901 2003-07-28 José Matos <jamatos@fep.up.pt>
1903 * insetert.C (write): \layout -> \begin_layout.
1904 Add missing \end_layout.
1906 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1908 * insetquotes.C: document a bit the format
1910 * insettabular.C (write): remove extra space
1912 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1913 * insetnote.C: Umpf. Hope I *now* get it right :-(
1915 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1916 *insetnote.C: did the right fix to greyedout: \color
1917 instead of \textcolor.
1919 2003-07-28 Angus Leeming <leeming@lyx.org>
1921 * insetbibtex.h: remove extraneous forward declaration.
1924 * insetbibtex.h: Also remove long-dead Holder member class
1927 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1929 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1932 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1934 * insetwrap.C (addToToc): adjust for lyx::toc
1936 * insetfloatlist.C (ascii): adjust for lyx::toc
1938 * insetfloat.C (addToToc): adjust for lyx::toc
1940 2003-07-27 José Matos <jamatos@fep.up.pt>
1942 * insetnote.h (linuxdoc,docbook): update support.
1944 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1946 * insetfloat.C (wide): add a space to label, for consistency
1948 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1950 * insettext.C (nextChange): adjust for lyx::find
1951 (searchForward): ditto
1952 (searchBackward): ditto
1954 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1956 * insetgraphicsParams.C:
1957 * insetexternal.C: declare extern displayTranslator
1960 * renderers.C: add #include "support/LAssert.h"
1962 2003-07-27 José Matos <jamatos@fep.up.pt>
1964 * insetfloat.[Ch] (linuxdoc):
1965 * insetgraphics.C (linuxdoc):
1966 * insettabular.C (linuxdoc):
1967 * insettext.[Ch] (linuxdoc): add support for tables and figures
1970 2003-07-27 José Matos <jamatos@fep.up.pt>
1972 * insetinclude (latex): comply with makeLaTeXFile argument change.
1974 2003-07-26 Asger Alstrup <alstrup@local>
1976 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1977 the undo crashes. We'll see what problems other places this will
1980 2003-07-26 Angus Leeming <leeming@lyx.org>
1982 * insetgraphics.C: remove unused declaration of system_tempdir.
1984 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1986 * rename Inset to InsetOld
1988 * all inset files (clone): return a auto_ptr<InsetBase>
1990 2003-07-23 Angus Leeming <leeming@lyx.org>
1992 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1994 2003-07-23 Angus Leeming <leeming@lyx.org>
1996 * mailinset.[Ch] (inset2string):
1997 * insetcommand.[Ch] (inset2string):
1998 * insetert.[Ch] (inset2string):
1999 * insetexternal.[Ch] (inset2string):
2000 * insetfloat.[Ch] (inset2string):
2001 * insetgraphics.[Ch] (inset2string):
2002 * insetinclude.[Ch] (inset2string):
2003 * insetminipage.[Ch] (inset2string):
2004 * insetnote.[Ch] (inset2string):
2005 * insettabular.[Ch] (inset2string):
2006 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
2008 * insetexternal.[Ch]:
2009 * insetgraphics.[Ch]: get rid of the view() function. Associated
2010 changes to the mailers' string2params and params2string functions.
2012 2003-07-23 Angus Leeming <leeming@lyx.org>
2014 * insetexternal.[Ch]: store the external file name in a FileName
2015 member variable rather than a string + associated changes.
2017 2003-07-21 Angus Leeming <leeming@lyx.org>
2019 * insetgraphicsParams.[Ch]: store the graphics file name in
2020 a FileName member variable rather than a string.
2022 * insetgraphics.[Ch]:
2023 * insetgraphicsParams.[Ch]: Associated changes.
2025 2003-07-21 Angus Leeming <leeming@lyx.org>
2027 * insetgraphics.[Ch] (string2params, params2string): passed a
2028 buffer_path argument.
2031 2003-07-21 Angus Leeming <leeming@lyx.org>
2034 * insetgraphicsParams.[Ch]:
2036 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2038 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2040 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2042 2003-07-18 André Pönitz <poenitz@gmx.net>
2045 * insetminipage.[Ch]:
2046 * insettabular.[Ch]:
2049 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2051 2003-07-18 André Pönitz <poenitz@gmx.net>
2055 * insetcollapsable.C:
2059 * insetgraphics.[Ch]:
2060 * insetlatexaccent.[Ch]:
2065 * insetspecialchar.C:
2066 * insettabular.[Ch]:
2068 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2070 2003-07-17 André Pönitz <poenitz@gmx.net>
2072 * insetcollapsable.C:
2074 * insettext.C: don't call Inset::update() anymore
2077 * insettabular.[Ch]: remove unneeded in_update_ members
2079 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2081 2003-07-16 André Pönitz <poenitz@gmx.net>
2083 * insettext.C (selectAll): remove
2085 2003-07-16 John Levon <levon@movementarian.org>
2088 * insetnote.C: implement showInsetDialog()
2090 2003-07-15 André Pönitz <poenitz@gmx.net>
2093 * insettext.C: refresh_status tristate -> need_update bool
2095 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2097 * insettext.C: adjust call to LyXText::init
2099 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2101 * insettext.C: use bufferview_funcs->replaceSelection()
2102 to delete selections in some cases (bugs 441, 673, 702, 954).
2104 2003-07-14 André Pönitz <poenitz@gmx.net>
2106 * insettext.C (draw): use slimmed down rowpainter interface
2108 2003-07-14 André Pönitz <poenitz@gmx.net>
2110 * insetcollapsable.C:
2112 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2113 remove unused BufferView * argument
2115 2003-07-14 André Pönitz <poenitz@gmx.net>
2117 * insettext.[Ch]: used cached metrics a bit more
2119 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2121 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2123 2003-07-10 André Pönitz <poenitz@gmx.net>
2126 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2128 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2130 * introduce namespace lyx::graphics
2132 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2134 * introduce namespace lyx::support
2136 2003-06-30 André Pönitz <poenitz@gmx.net>
2138 * insetcite.C (localDispatch): fix case of missing return value
2140 * insetcite.C (ascii): remove unneeded temporary
2142 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * insetspace.h: fix \file
2146 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2147 * insetinclude.C (fillWithBibKeys): ditto
2149 * insetbibitem.C: fix type const order
2151 * inset.C (getLyXText): add varname for arg
2153 * ExternalTemplate.h: fix type const order
2155 2003-06-27 André Pönitz <poenitz@gmx.net>
2157 * insettext.C: take care of removed LyXCursor::row_ member
2159 * insettext.[Ch]: use new TextCursor struct for sstate
2161 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2163 * inseterror.[Ch]: removed
2165 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2167 * insetinclude.C (docbook): use parseError instead of sgmlError
2169 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2171 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2172 of BufferList::loadLyXFile
2174 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2176 * insettext.C (update): simplify
2177 (updateLocal): remove commented code
2178 (insetUnlock): simplify
2179 (lockInset): simplify
2180 (updateInsetInInset): simplify
2181 (localDispatch): simplify
2183 (resizeLyXText): simplify
2184 (collapseParagraphs): simplify
2186 * insetert.C (get_new_label): simplify
2188 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2190 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2191 pasteSelection with index
2193 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2195 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2197 2003-06-16 André Pönitz <poenitz@gmx.net>
2199 * insetbase.h: new virtual base function clone()
2201 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2202 Inset * clone() -> InsetBase * clone()
2204 2003-06-13 André Pönitz <poenitz@gmx.net>
2206 * insettabular.[Ch]: make tabular a proper member
2208 2003-06-12 André Pönitz <poenitz@gmx.net>
2210 * insettabular.[Ch]: some renaming plus whitespace
2212 2003-06-11 Angus Leeming <leeming@lyx.org>
2214 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2217 * insetbutton.[Ch]: removed.
2218 * graphicinset.[Ch]: renamed as renderers.[Ch].
2220 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2221 Create a new class ButtonRenderer using the InsetButton::metrics() and
2223 Derive both from a common RenderedInset base class.
2225 * insetcommand.[Ch]:
2226 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2227 Give it a ButtonRenderer member variable. Use it.
2228 Give the classes working copy c-tors.
2229 No longer derive from boost::noncopyable.
2231 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2232 display its contents as a button or as a graphic.
2234 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2237 2003-06-11 Angus Leeming <leeming@lyx.org>
2239 * insetcite.C (localDispatch): reformat.
2241 * insetref.C (localDispatch): enable dialog to be lauched.
2243 2003-06-11 John Levon <levon@movementarian.org>
2245 * insettabular.C: correctly mark all cells as erased
2247 2003-06-11 Angus Leeming <leeming@lyx.org>
2249 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2250 ExternalTemplate but its name, templatename. This means that a file
2251 containing a reference to an External Template not installed on the
2252 current machine will be saved retaining this info rather than inserting
2253 the first "valid" template from the list of templates.
2255 As a by product, the visual statement that the Template is missing is
2258 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2260 * insettext.C (appendParagraphs): remove some commented code.
2262 2003-06-10 Angus Leeming <leeming@lyx.org>
2264 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2267 * insetexternal.[Ch]: move tempname_ into the Params struct.
2268 (Params d-tor): new function, to clean-up this temp file.
2269 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2271 (editExternal, doSubstitution): move out of class.
2273 2003-06-10 Angus Leeming <leeming@lyx.org>
2275 * graphicinset.[Ch] (params): removed.
2276 * graphicinset.h (operator=): declared private but not defined.
2277 (statusMessage): made private.
2279 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2281 2003-06-07 John Levon <levon@movementarian.org>
2283 * insetert.C (latex): make a newline mean just that not
2286 2003-06-07 José Matos <jamatos@fep.up.pt>
2288 * insethfill.[Ch] (linuxdoc, docbook): implement output
2289 * insetspace.C (linuxdoc, docbook): remove coments as the code
2292 2003-06-06 José Matos <jamatos@fep.up.pt>
2294 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2296 2003-06-06 André Pönitz <poenitz@gmx.net>
2298 * insetwrap.[Ch]: code compactification
2300 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2302 * mailinset.C (updateDialog): use Dialogs::visible
2304 2003-06-04 Angus Leeming <leeming@lyx.org>
2306 * graphicinset.C (draw): add a comment for the #if 0 block.
2308 * insetexternal.h: remove Params::parameters variable.
2309 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2310 and read it back making full use of LyXLex.
2312 2003-06-04 André Pönitz <poenitz@gmx.net>
2314 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2316 2003-06-04 John Levon <levon@movementarian.org>
2318 * insettabular.C: back out tall table speed up. It was broken
2320 2003-06-03 Angus Leeming <leeming@lyx.org>
2322 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2323 Remove ViewCommand and UpdateCommand.
2325 * graphicinset.C (update): bug fix. Set the params before calling the
2327 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2328 BufferView cache to enable the InsetExternal::editCommand to be invoked
2329 from the frontends. Would not be needed if this were dispatched properly.
2330 (old_ascent_): variable removed.
2332 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2333 do any necessary conversions of external material. Also use the
2334 new GraphicsInset to display the inset within LyX.
2336 2003-06-03 Angus Leeming <leeming@lyx.org>
2338 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2339 and move it somewhere where InsetExternal can use it too.
2341 * Makefile.am: add the new files.
2343 * insetgraphics.[Ch]: make use of the new GraphicInset.
2345 2003-06-03 John Levon <levon@movementarian.org>
2348 * insetbibitem.[Ch]:
2351 * insetcommand.[Ch]:
2355 * insetexternal.[Ch]:
2359 * insetgraphics.[Ch]:
2361 * insetinclude.[Ch]:
2364 * insetlatexaccent.[Ch]:
2365 * insetmarginal.[Ch]:
2366 * insetminipage.[Ch]:
2373 * insetspecialchar.[Ch]:
2374 * insettabular.[Ch]:
2376 * insetthereom.[Ch]:
2379 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2381 * insetgraphics.[Ch]:
2382 * insetgraphicsParams.[Ch]: always store an absolute
2385 2003-06-02 André Pönitz <poenitz@gmx.net>
2389 * insetlatexaccent.C: remove duplicated call to metrics()
2391 2003-06-02 John Levon <levon@movementarian.org>
2393 * insettabular.C: fix resize of column width
2395 2003-06-02 John Levon <levon@movementarian.org>
2400 * insetparent.C: remove insetparent
2402 2003-06-02 André Pönitz <poenitz@gmx.net>
2409 * insetcollapsable.[Ch]:
2413 * insetgraphics.[Ch]:
2414 * insetinclude.[Ch]:
2415 * insetlatexaccent.[Ch]:
2416 * insetminipage.[Ch]:
2417 * insetnewline.[Ch]:
2420 * insetspecialchar.[Ch]:
2421 * insettabular.[Ch]:
2422 * insettext.[Ch]: unify first drawing phase
2425 * insetbase.h: move validate() to the base
2427 2003-05-31 Angus Leeming <leeming@lyx.org>
2429 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2431 2003-05-30 André Pönitz <poenitz@gmx.net>
2436 * insetcaption.[Ch]:
2437 * insetcollapsable.[Ch]:
2440 * insetgraphics.[Ch]:
2441 * insetinclude.[Ch]:
2442 * insetlatexaccent.[Ch]:
2443 * insetnewline.[Ch]:
2446 * insetspecialchar.[Ch]:
2447 * insettabular.[Ch]:
2449 * updatableinset.[Ch]: unify second drawing phase
2451 2003-05-30 John Levon <levon@movementarian.org>
2453 * insetgraphics.C: fix a bformat
2455 2003-05-29 John Levon <levon@movementarian.org>
2457 * insettabular.C: remove unused bufferOwner()
2459 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2461 * insettext.C (lockInsetInInset): adjust
2462 (getLabelList): use const_iterator, adjust
2463 (getInsetFromID): use const_iterator, adjust
2464 (addPreview): use const_iterator, adjust
2466 * insetwrap.C (clone): remove const_cast
2468 * insetnote.C (clone): remove const_cast
2470 * insetminipage.C (clone): remove const_cast
2472 * insetmarginal.C (clone): remove const_cast
2474 * insetfoot.C (clone): remove const_cast
2476 * insetfloat.C (clone): remove const_cast
2478 * insetert.C (clone): remove const_cast
2480 * delete commented same_id functions from a lot of files.
2482 2003-05-28 John Levon <levon@movementarian.org>
2488 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2490 * insetminipage.C: fix metrics (bug 1144)
2492 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2494 * insettext.C (saveLyXTextState): adjust
2495 (restoreLyXTextState): adjust
2498 (unlockInsetInInset): adjust
2499 (localDispatch): adjust
2500 (getLyXText): adjust
2502 * insettabular.C (insertAsciiString): adjust
2504 2003-05-27 André Pönitz <poenitz@gmx.net>
2507 * insetcollapsable.C:
2510 * insetlatexaccent.C:
2515 * insetspecialchar.C:
2517 * insettext.C: dim.w -> dim.wid
2519 2003-05-26 John Levon <levon@movementarian.org>
2521 * insettabular.C: avoid drawing all of a long table
2522 if it's not needed. A big speedup
2524 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2526 * remove same_id from function signatures, adjust
2528 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2530 * insettext.C (InsetText): adjust
2532 (setParagraphData): separate same_id cases, adjust
2533 (appendParagraphs): adjust
2534 (appendParagraphs): adjust
2536 2003-05-23 André Pönitz <poenitz@gmx.net>
2538 * insetbutton.h: whitespace
2540 * insettabular.C: more compact code
2542 * updatableinset.C: remove const_cast
2545 2003-05-23 Angus Leeming <leeming@lyx.org>
2547 * insetexternal.C (write): check how many lines are output.
2548 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2549 if the template has defined it.
2551 2003-05-23 Angus Leeming <leeming@lyx.org>
2553 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2555 2003-05-23 Angus Leeming <leeming@lyx.org>
2557 * insetfoot.C (latex):
2558 * inseturl.C (latex): rename fragile as moving_arg.
2560 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2562 * inseterror.C (localDispatch): comment out unused var.
2564 2003-05-22 Angus Leeming <leeming@lyx.org>
2566 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2567 passed through the LatexRunParams arg.
2569 2003-05-22 Angus Leeming <leeming@lyx.org>
2571 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2572 through the LatexRunParams arg.
2574 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2575 arg rather than through a global var.
2577 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2579 * insetspecialchar.C (dimension): use a string.
2581 2003-05-22 Angus Leeming <leeming@lyx.org>
2583 * insetbibtex.C (latex):
2584 * insetgraphics.C (latex):
2585 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2586 runparams rather than from the buffer itself.
2588 2003-05-22 Angus Leeming <leeming@lyx.org>
2590 * inset*.[Ch] (latex):
2591 passed a LatexRunParams parameter.
2593 * insetgraphics.C (latex): actually use it ;-)
2595 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2597 * insetfloat.C (addToToc): trivial compile fix
2599 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2601 * insettext.[Ch] (paragraph): delete unused function
2603 * insetfloat.C (addToToc): parlist simplfication
2605 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2607 * insetspace.[Ch]: added (new space insets)
2609 * inset.h: handle new space insets
2611 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2613 * insetfloat.C (addToToc): adjust
2615 2003-05-21 André Pönitz <poenitz@gmx.net>
2617 * insettext.[Ch]: fix drawing bug introduced earlier
2619 2003-05-19 André Pönitz <poenitz@gmx.net>
2621 * insetspecialchar.C: fix bug introduced yesterday
2623 2003-05-19 André Pönitz <poenitz@gmx.net>
2627 * insetcollapsable.[Ch]:
2631 * insetgraphics.[Ch]:
2632 * insetgraphicsParams.[Ch]:
2633 * insetlatexaccent.[Ch]:
2634 * insetminipage.[Ch]:
2635 * insetnewline.[Ch]:
2637 * insetspecialchar.[Ch]:
2638 * insettabular.[Ch]:
2639 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2641 2003-05-19 André Pönitz <poenitz@gmx.net>
2644 * insettext.C: more insetenv
2646 2003-05-16 André Pönitz <poenitz@gmx.net>
2649 * insetminimpage.[Ch]:
2650 * insetcollapsable.[Ch]: fix #832
2652 2003-05-16 André Pönitz <poenitz@gmx.net>
2655 * insetbibitem.[Ch]:
2659 * insetcollapsable.[Ch]:
2660 * insetcommand.[Ch]:
2663 * insetexternal.[Ch]:
2664 * insetfloatlist.[Ch]:
2665 * insetgraphics.[Ch]:
2666 * insetinclude.[Ch]:
2669 * insetlatexaccent.[Ch]:
2672 * insettabular.[Ch]:
2676 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2678 2003-05-13 André Pönitz <poenitz@gmx.net>
2681 * insetcollapsable.C:
2685 * insetwrap.C: tostr from own header
2697 * insetwrap.C: STRCONV
2700 2003-05-12 André Pönitz <poenitz@gmx.net>
2712 * insetwwrap.C: boost::format -> bformat all over the place
2714 2003-05-05 André Pönitz <poenitz@gmx.net>
2716 * insettext.h: add missing #include <map>
2718 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2720 * insettext.C (InsetText): parlist cleanup
2723 (insetUnlock): ditto
2725 (lockInsetInInset): ditto
2729 (searchBackward): ditto
2730 (collapseParagraphs): ditto
2732 2003-05-06 John Levon <levon@movementarian.org>
2734 * insetcaption.C: don't cast wrap inset to InsetFloat
2737 * insetfloat.C: remove unneeded type() function
2739 2003-05-05 André Pönitz <poenitz@gmx.net>
2743 * insettabular.[Ch]:
2744 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2745 replace getFirstParagraph() by getParagraphs()
2747 2003-05-03 John Levon <levon@movementarian.org>
2749 * insetcollapsable.h:
2750 * insetcollapsable.C:
2756 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2757 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2758 getCursor(). Remove explicit cursor hides.
2760 2003-05-02 André Pönitz <poenitz@gmx.net>
2762 * insettext.C: remove unneeded &*
2764 2003-04-30 John Levon <levon@movementarian.org>
2766 * insettabular.C: fix edit message
2768 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2770 * insettext.C (setFont): do not convert iterator -> pointer
2772 * insettabular.C (localDispatch): do not convert iterator -> pointer
2774 (tabularFeatures): ditto
2776 2003-04-29 André Pönitz <poenitz@gmx.net>
2778 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2780 2003-04-28 André Pönitz <poenitz@gmx.net>
2782 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2785 2003-04-25 André Pönitz <poenitz@gmx.net>
2787 * insetenv.C: derive from InsetText instead of InsetCollapsable
2789 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2791 * insetexternal.C (string2params): dont do anything if the string
2793 * insetgraphics.C (string2params): ditto
2794 * insetcommand.C (string2params): ditto
2795 * insetert.C (string2params): ditto
2796 * insetfloat.C (string2params): ditto
2797 * insetinclude.C (string2params): ditto
2798 * insetminipage.C (string2params): ditto
2799 * insettabular.C (string2params): ditto
2800 * insetwrap.C (string2params): ditto
2802 2003-04-24 André Pönitz <poenitz@gmx.net>
2804 * insetref.C: support for eqref
2806 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2808 * insetert.C (read): use ParagraphList::iterator.
2810 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2812 * insetquotes.C (latex): comment some code and add warnings.
2814 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2816 * insetexternal.C (localDispatch): added a missing DISPATCHED
2818 2003-04-12 John Levon <levon@movementarian.org>
2820 * insetwrap.C (addToToc): fix a crash, conversion
2821 from while to for loop forgot to remove the explicit
2824 2003-04-10 John Levon <levon@movementarian.org>
2826 * insettabular.C (tabularFeature): make sure
2827 to update the dialog when we change something
2830 (getStatus): don't disable some lfuns (bug 939)
2832 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2834 * insettext.C (saveLyXTextState): adjust
2835 (localDispatch): adjust
2841 * insettabular.C (localDispatch): adjust
2843 (tabularFeatures): adjust
2845 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2847 * insettabular.C (searchForward,searchBackward): fix bug 782
2849 2003-04-07 John Levon <levon@movementarian.org>
2852 * insettext.C: clear status message on inset exit
2854 2003-04-03 John Levon <levon@movementarian.org>
2856 * insetcommand.C: return dispatched on DIALOG_UPDATE
2858 2003-04-02 John Levon <levon@movementarian.org>
2860 * insettabular.C: tab lfuns renamed
2862 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2864 * insettext.C (update): move towards ParagraphList
2865 (updateLocal): ditto
2867 (insetUnlock): ditto
2869 (lockInsetInInset): ditto
2870 (updateInsetInInset): ditto
2871 (localDispatch): ditto
2874 (resizeLyXText): ditto
2875 (searchBackward): ditto
2876 (collapseParagraphs): ditto
2879 * insetwrap.C (InsetWrap): adjust
2880 (addToToc): adjust and rewrite loop
2882 * insettext.[Ch] (paragraph): delete function
2884 * insettabular.C (moveNextCell): adjust
2885 (movePrevCell): adjust
2886 (insertAsciiString): adjust
2888 * insetfloat.C (InsetFloat): adjust
2891 * insetert.C (InsetERT): adjust
2892 (write): adjust, and rewrite loop
2893 (latex): adjust, and rewrite loop
2894 (linuxdoc): adjust, and rewrite loop
2895 (docbook): adjust, and rewrite loop
2896 (localDispatch): adjust
2897 (get_new_label): adjust
2899 2003-04-01 John Levon <levon@movementarian.org>
2901 From Alfredo Braunstein
2904 * insetbutton.C: add localDispatch()
2906 * insetcommand.C: return DISPATCHED when edit() called
2908 * insettext.C: fix bug 967
2910 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2912 * insettext.C: adjust
2914 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2916 * insettext.C (draw): adjust
2917 (crow): return a RowList::iterator not a Row*
2919 * insetminipage.C (localDispatch): adjust
2921 * insetert.C (localDispatch): adjust
2923 2003-03-31 John Levon <levon@movementarian.org>
2926 * insetgraphicsParams.C: use_gui moved to lyx_gui
2928 2003-03-31 John Levon <levon@movementarian.org>
2930 * insettext.C: Alert fix
2932 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2934 * insettext.C (ascent): adjust for RowList
2937 (getLyXText): adjust
2938 (toggleSelection): adjust
2940 * insetminipage.C (localDispatch): adjust for RowList
2942 * insetert.C (localDispatch): adjust for RowList
2943 (getMaxWidth): adjust for RowList
2945 2003-03-29 John Levon <levon@movementarian.org>
2947 * insetert.C: Alert cleanup
2949 2003-03-29 John Levon <levon@movementarian.org>
2951 * insettabular.C: Alert fix
2953 2003-03-28 John Levon <levon@movementarian.org>
2955 * insetfloat.C: reset label on INSET_MODIFY
2957 2003-03-28 John Levon <levon@movementarian.org>
2959 * insetgraphicsParams.C: read subcaptionText as a whole line
2962 2003-03-28 John Levon <levon@movementarian.org>
2964 * insettext.C: remove unused prototypes
2966 2003-03-25 Angus Leeming <leeming@lyx.org>
2968 * insetbibitem.C (localDispatch): repaint the view after modifying
2969 a bibitem inset in case the maximum InsetBibitem width has changed.
2971 2003-03-25 John Levon <levon@movementarian.org>
2974 * insettabular.C: LyXText renamings
2976 2003-03-24 John Levon <levon@movementarian.org>
2978 * insettext.C: remove some dead code. Fix bug 972 and
2979 related by posting a repaint in updateLocal(), and making
2980 the SEL functions set SELECTION.
2982 2003-03-22 John Levon <levon@movementarian.org>
2985 * inset.C: remove no-longer-needed topx_set
2987 * insetcollapsable.h:
2988 * insetcollapsable.C: remove dead code
2991 * insetert.C: rebreak the rows when a possible
2992 change in size is made, and reset the cursor
2995 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2997 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2998 topx_set. Fix drawing errors for clearInset(). Remove
2999 some unnecessary uses of topx, which should die.
3001 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
3002 is no longer needed. Replace it with an ugly hack.
3004 2003-03-20 John Levon <levon@movementarian.org>
3007 * insetcollapsable.h:
3008 * insetcollapsable.C:
3016 * insettext.C: remove spurious font parameter
3017 from update(). Fix drawing of ERT insets inside
3018 insets (bug 966). Remove unused mark_dirty from
3019 tabular's updateLocal()
3021 2003-03-19 John Levon <levon@movementarian.org>
3030 * insetwrap.C: remove unused getter/setters
3032 2003-03-19 John Levon <levon@movementarian.org>
3034 * several files: bv->updateInset() doesn't take
3035 a bool mark_dirty any more
3037 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3039 * adjust for BufferView* arg removal from lyxtext.
3041 2003-03-17 John Levon <levon@movementarian.org>
3043 * most files: remove the "cleared" parameter
3044 to draw in favour of always clearing. Associated
3047 2003-03-16 John Levon <levon@movementarian.org>
3049 * insettext.C: remove unused s.refresh
3051 2003-03-13 Angus Leeming <leeming@lyx.org>
3053 * insettext.C (edit): replace Dialogs::updateParagraph with
3054 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3056 2003-03-13 André Pönitz <poenitz@gmx.net>
3058 * Makefile.am: insert insetenv
3060 * insethenv.[Ch]: new files, currently inactive
3062 2003-03-12 John Levon <levon@movementarian.org>
3072 * insettext.C: use new insetnewline
3074 2003-03-12 John Levon <levon@movementarian.org>
3076 * insettext.C: readToken became readParagraph
3078 2003-03-12 John Levon <levon@movementarian.org>
3080 * insettext.C: use parlist iterator for reading contents
3082 2003-03-12 John Levon <levon@movementarian.org>
3084 * insettext.C: name change to readToken()
3086 2003-03-11 André Pönitz <poenitz@gmx.net>
3088 * Makefile.am: insert insethfill
3090 * insethfill.[Ch]: new files
3092 2003-03-10 Angus Leeming <leeming@lyx.org>
3094 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3096 (hideDialog): calls the new static Dialogs::hide() method.
3098 * insetbibitem.C (edit):
3099 * insetbibtex.C (edit):
3100 * insetcite.C (edit):
3101 * insetcommand.C (localDispatch):
3102 * inseterror.C (d-tor):
3103 * insetert.C (showInsetDialog):
3104 * insetexternal.C (localDispatch, edit):
3105 * insetfloat.C (localDispatch, showInsetDialog):
3106 * insetfloatlist.C (edit):
3107 * insetgraphics.C (localDispatch, edit):
3108 * insetinclude.C (localDispatch, edit):
3109 * insetindex.C (edit):
3110 * insetlabel.C (edit):
3111 * insetminipage.C (localDispatch, showInsetDialog):
3112 * insetref.C (edit):
3113 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3114 resetPos, showInsetDialog, openLayoutDialog):
3115 * insettoc.C (edit):
3116 * inseturl.C (edit):
3117 * insetwrap.C (localDispatch, showInsetDialog):
3118 changes due to the changed MailInset interface.
3120 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3122 * insetfloat.h: Set default placement to an empty string.
3124 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3126 * insettext.C (latex): adjust call to latexParagraphs.
3128 2003-03-10 Angus Leeming <leeming@lyx.org>
3130 * mailinset.C: warn the user if the BufferView has not been cached.
3132 2003-03-10 Angus Leeming <leeming@lyx.org>
3134 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3136 * insetcommand.h (inset):
3137 * insetert.h (inset):
3138 * insetexternal.h (inset):
3139 * insetfloat.h (inset):
3140 * insetgraphics.h (inset):
3141 * insetinclude.h (inset):
3142 * insetminipage.h (inset):
3143 * insettabular.h (inset):
3144 * insetwrap.h (inset):
3145 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3147 2003-03-10 Angus Leeming <leeming@lyx.org>
3149 * insetcommand.C (string2params):
3150 * insetexternal.C (string2params):
3151 * insetfloat.C (string2params):
3152 * insetgraphics.C (string2params):
3153 * insetinclude.C (string2params):
3154 * insetminipage.C (string2params):
3155 * insettabular.C (string2params):
3156 * insetwrap.C (string2params): cure warning message about missing
3159 2003-03-09 Angus Leeming <leeming@lyx.org>
3161 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3162 it to communicate with the frontend dialogs.
3164 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3165 contents of this inset!
3167 2003-03-07 Angus Leeming <leeming@lyx.org>
3169 * inseterror.C (localDispatch): new method; calls edit() on
3172 2003-03-07 Angus Leeming <leeming@lyx.org>
3174 * insetbibitem.C (localDispatch):
3175 * insetbibtex.C (localDispatch):
3176 * insetlabel.C (localDispatch):
3177 rewrite as a switch.
3179 2003-03-07 Angus Leeming <leeming@lyx.org>
3181 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3182 it to communicate with the frontend dialogs.
3184 2003-03-07 Angus Leeming <leeming@lyx.org>
3186 * insetexternal.C: remove operator== and operator!= for
3187 InsetExternal::Params. They were used only by the old controller
3190 2003-03-07 Angus Leeming <leeming@lyx.org>
3192 * insetcommand.C (localDispatch):
3193 * insetexternal.C (localDispatch):
3194 * insetfloat.C (localDispatch):
3195 * insetinclude.C (localDispatch):
3196 * insetminipage.C (localDispatch):
3197 * insetwrap.C (localDispatch):
3198 add LFUN_INSET_DIALOG_UPDATE to the switch.
3200 2003-03-07 Angus Leeming <leeming@lyx.org>
3202 * insetcommand.C (string2params):
3203 * insetexternal.C (string2params):
3204 * insetfloat.C (string2params):
3205 * insetinclude.C (string2params):
3206 * insetwrap.C (string2params): use LyXLeX more.
3209 * insetexternal.[Ch]:
3211 * insetinclude.[Ch]:
3212 * insetwrap.[Ch]: change Mailer::name_ to be static.
3214 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3215 it to communicate with the frontend dialogs.
3217 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3220 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3222 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3224 * insettext.C (updateLocal): un-const function
3225 (updateLocal): adjust
3226 (collapseParagraphs): un-const function
3227 (collapseParagraphs): adjust
3229 2003-03-05 Angus Leeming <leeming@lyx.org>
3231 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3232 it to communicate with the frontend dialogs.
3234 2003-03-05 Angus Leeming <leeming@lyx.org>
3236 * insetcollapsable.C (draw): cache the BufferView.
3238 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3239 it to communicate with the frontend dialogs.
3241 2003-03-05 Angus Leeming <leeming@lyx.org>
3243 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3246 2003-03-05 Angus Leeming <leeming@lyx.org>
3248 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3250 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3251 it to communicate with the frontend dialogs.
3253 2003-03-05 Angus Leeming <leeming@lyx.org>
3255 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3256 it to communicate with the frontend dialogs.
3258 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3260 * insettext.C (collapseParagraphs): adjust
3261 (appendParagraphs): make it take a Buffer* instead of a
3262 BufferParams& as arg.
3263 (appendParagraphs): adjust
3265 2003-03-04 Angus Leeming <leeming@lyx.org>
3267 * insetbibitem.C (localDispatch):
3268 * insetbibtex.C (localDispatch):
3269 * insetcommand.C (localDispatch):
3270 * insetert.C (localDispatch):
3271 * insetlabel.C (localDispatch):
3272 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3274 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * insettext.C (latex): adjust for ParagraphList::iterator
3278 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3280 * insetbutton.C (view): adjust for boost 1.30.0
3281 * insetcollapsable.C (view): ditto
3282 * insetgraphics.C (statusChanged): ditto
3284 * insettext.h: move paragraphs to be public.
3286 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3288 * insetnote.[Ch] (InsetNote): remove unused constructor
3290 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3292 * insetgraphics.C: added include "format.h"
3294 2003-02-27 Angus Leeming <leeming@lyx.org>
3296 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3299 2003-02-27 Angus Leeming <leeming@lyx.org>
3301 * insetbibitem.C (localDispatch):
3302 * insetbibtex.C (localDispatch):
3305 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3307 2003-02-26 Angus Leeming <leeming@lyx.org>
3309 * insetbibitem.[Ch] (localDispatch):
3310 * insetbibtex.[Ch] (localDispatch):
3311 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3313 * insetcommand.C (localDispatch):
3314 act only on receipt of LFUN_XYZ_APPLY.
3316 * insetert.C (localDispatch): reformat.
3317 add LFUN_XYZ_APPLY to the switch.
3319 2003-02-26 John Levon <levon@movementarian.org>
3321 * insettext.C: use RowPainter
3323 * inset.h: make helpers take const *
3325 2003-02-26 Angus Leeming <leeming@lyx.org>
3327 * insetcommand.[Ch] (localDispatch): new method.
3329 2003-02-26 Angus Leeming <leeming@lyx.org>
3331 * insetinclude.C (draw): cache the BufferView* using cache not
3332 PreviewImpl::setView
3334 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3336 * insetgraphics.C (draw)
3337 * insetinclude.C (draw): Eliminate also the other argument (owner
3338 inset inset) in the call to PreviewImage::image
3340 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3342 * insetgraphics.C (draw)
3343 * insetinclude.C (draw): Eliminate Buferview argument in call to
3346 2003-02-25 John Levon <levon@movementarian.org>
3348 * insetgraphicsParams.h:
3349 * insetgraphics.C: don't start a load process if
3350 the inset is set to NoDisplay (bug #920)
3352 2003-02-22 John Levon <levon@movementarian.org>
3355 * insetwrap.C: TocItem changed API (bug 913)
3357 2003-02-21 Angus Leeming <leeming@lyx.org>
3359 * insetcollapsable.[Ch] (cache, edit):
3360 * insetbutton.[Ch] (cache, edit): new methods to cache the
3361 BufferView in the draw method.
3363 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3364 simplify comunication between InsetCommand-derived classes and
3367 * insetbibitem.[Ch]:
3371 * insetfloatlist.[Ch]:
3375 * inseturl.[Ch]: small changes to reflect the new interface to the
3378 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3379 other, similar classes.
3381 * Makefile.am: add new files.
3383 2003-02-21 Angus Leeming <leeming@lyx.org>
3385 * updatableinset.h (setView, view): remove.
3386 * inset.h (view, cache): to be replaced by these.
3388 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3391 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3394 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3396 2003-02-21 Allan Rae <rae@lyx.org>
3398 * insetinclude.C (loadIfNeeded): ensure loading also works when
3399 child document is under version control.
3401 2003-02-17 André Pönitz <poenitz@gmx.net>
3403 * insetbib.[Ch]: Adjust access to bibkeys
3405 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3407 * insetquotes.C (dispString): remove use of acute accent for "'"
3410 2003-02-14 John Levon <levon@movementarian.org>
3412 * insettabular.C: changed method names in tabular.C
3414 2003-02-14 John Levon <levon@movementarian.org>
3418 * insetcollapsable.h:
3419 * insetcollapsable.C:
3423 * insettext.C: remove unused getParFromID()
3425 2003-02-13 John Levon <levon@movementarian.org>
3428 * insettext.C: remove unused beginningofMainBody()
3430 2003-02-08 John Levon <levon@movementarian.org>
3434 * insetcollapsable.h:
3435 * insetcollapsable.C:
3440 add nextChange(). Make allowSpellcheck() const. Add markErased().
3442 * insetert.C: ignore deleted text
3444 * insettabular.C: make sure to keep change tracking working
3447 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3452 * insettext.C: Use error messages with identical spelling and punctuation
3454 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3456 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3458 2002-12-17 Juergen Vigna <jug@lyx.org>
3460 * insettext.C (localDispatch): hopefully fixed cursor up down
3461 movement on leaving other insets.
3463 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3465 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3468 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3470 * insetgraphics.C (prepareFile): do not remove the extension of
3471 the file name if it is not the default extension for the given
3472 format (that is, in latex output, remove extension from foo.eps,
3473 but not from foo.epsi)
3475 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3477 * insettext.C (lfunMouseRelease): hackish solution to the "double
3480 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3482 * insetfloat.C (addToToc): use the floats name not its type
3483 * insetwrap.C (addToToc): ditto
3485 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3487 * insetnote.C (init): make label font smaller
3489 2002-12-04 John Levon <levon@movementarian.org>
3491 * insetinclude.C: ressurect setting of command name
3493 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3495 * insetquotes.C (dispString): disambiguate insert call
3497 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3499 * several files: ws changes
3501 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3503 * insetquotes.C (dispString): use string::insert for prepending a
3506 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3508 * insetparent.C (getScreenLabel): use boost::format
3510 * insetgraphics.C (prepareFile): use boost::format
3513 * insetfloatlist.C (latex): use boost::format
3515 * insetcaption.C (draw): use boost::format
3517 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3519 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3522 2002-11-20 Juergen Vigna <jug@sad.it>
3524 * insettabular.C (resetPos): temporary fix for endless loop in
3525 this function on a redraw.
3527 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3529 * insettabular.C (copySelection): STRCONV
3531 * insetinclude.C (uniqueID): STRCONV
3532 (latexString): ditto
3534 * insetgraphics.C: put VersionNumber inside anon namespace
3535 (createLatexOptions): STRCONV
3537 * insetcommandparams.C: include config.h
3539 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3541 * insetgraphicsParams.C (Write): use lyx::float_equal.
3542 Write height data correctly.
3543 (Read): zero scale when reading height data.
3545 2002-10-30 John Levon <levon@movementarian.org>
3547 * insetfloat.C (addToTOC): recursively traverse all
3548 contents looking for captions (fix #568)
3550 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3552 * insetexternal.C (doSubstitution): do not try to replace
3553 environment variables, this is done when executing the command
3555 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3557 * insetexternal.C (doSubstitution): change order of substitution
3558 to work around ReplaceEnvironmentPath brokenness
3560 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3562 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3564 * insetgraphicsParams.C (init, Write): associated changes
3565 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3566 InsetGraphicsParams::scale.
3568 2002-10-21 John Levon <levon@movementarian.org>
3570 * inset.h: remove unused DISPATCH_RESULT
3572 * insettext.C: sgml open/close tag now in sgml namespace
3574 2002-10-21 Angus Leeming <leeming@lyx.org>
3576 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3577 file path subdir/fig.eps when pasting it into a buffer in a different
3580 2002-10-16 John Levon <levon@movementarian.org>
3582 * insetspecialchar.C: remove \\protected_separator parsing
3584 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3586 * insetquote.C: fix LaTeX output of quotation marks.
3588 2002-10-14 Juergen Vigna <jug@sad.it>
3590 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3591 Backspace functions which confused the Undo handling.
3593 2002-10-09 Angus Leeming <leeming@lyx.org>
3595 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3596 BufferView::dispatch that turns off this optimisation when a new inset
3599 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3600 reload the BibTeX keys.
3602 2002-10-11 André Pönitz <poenitz@gmx.net>
3604 * insettext.h: handle LFUN_PRIOR/NEXT
3606 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3608 * insetfloat.C: fix bug with float settings
3609 (document default != float default).
3611 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3613 * insetwrap.C (addToToc): New method.
3614 (InsetWrap): Set layout to caption.
3616 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3618 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3620 2002-09-16 John Levon <levon@movementarian.org>
3622 * insettabular.h: hasSelection() needs to be public
3624 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3626 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3628 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3630 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3632 2002-09-11 André Pönitz <poenitz@gmx.net>
3634 * insettabular.C: implement LFUN_WORDSEL
3636 2002-09-10 John Levon <levon@movementarian.org>
3638 * insetinclude.h: remove unused param
3640 2002-09-09 John Levon <levon@movementarian.org>
3643 * insetinclude.C: remove noload, default to input
3645 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3647 * insetgraphics.C: disfuscated use of ']' in built output string.
3649 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3651 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3653 2002-08-29 Juergen Vigna <jug@sad.it>
3655 * insettabular.C (lfunMousePress): Pay attention where you set
3656 the x/y values as they depend on which inset in the tabular is
3657 actually locked. So you surely have to reset them if you (un)lock
3660 2002-08-29 André Pönitz <poenitz@gmx.net>
3662 * insetfootlike.h: rename include guard to ALL CAPS
3664 * insettext.C: swap object and first parameter for checkInsetHit calls
3665 as this functions has moved from BufferView to LyXText
3668 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3670 * insetgraphicsParams.C: remove local displayTranslator and use
3671 the one from graphics/GraphicsTypes.h.
3673 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3675 * insetfloat.C (wide): add BufferParams parameter
3677 * insetfloatlist.C (read):
3680 * insetfloat.C (latex):
3682 * insetcaption.C (draw): use LyXTextClass::floats()
3684 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3686 * insetoptarg.h: add std:: qualifier.
3688 2002-08-26 Juergen Vigna <jug@sad.it>
3690 * insettext.C (localDispatch): ditto.
3692 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3694 2002-08-25 John Levon <levon@movementarian.org>
3696 * inseturl.C: elide long URLs (bug 404)
3698 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3700 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3701 remove "Format Version <version_no.>" string from inset header
3704 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3706 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3707 a member of "grfx::Params" anymore.
3709 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3711 2002-08-24 John Levon <levon@movementarian.org>
3714 * insetoptarg.C: ws, pedantry ...
3716 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3718 * insettext.C (collapseParagraphs): pasteParagraph now in global
3720 (appendParagraphs): ditto
3722 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3724 * insetcite.C (latex): Remove spaces only after commmas.
3726 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3728 * insettext.C: remove NO_COMPABILITY stuff
3730 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3732 * insettext.C (edit): use ParagraphList iterators
3734 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3735 (bibitemWidest): ditto
3737 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3739 * insettext.C: include <boost/bind.hpp>
3740 add using std::for_each
3741 (saveLyXTextState): use ParagraphsList::iterator
3742 (init): use for_each on paragraphlist iterators
3743 (InsetText): remove superflous setting cached_bview to 0
3744 (latex): reformat a bit
3745 (ascii): use paragraphlist iterators
3746 (validate): use for_each + boost bind
3747 (getLabelList): use paragraphlist iterators
3748 (deleteLyXText): use for_each + boost::bind
3749 (resizeLyXText): ditto
3750 (reinitLyXText): ditto
3751 (removeNewlines): use paragraphlist iterators
3752 (getParFromID): ditto
3753 (paragraph): use for_each + boost::bind
3754 (getInsetFromID): use paragraphlist iterators
3755 (getLabelList): typo fix
3757 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3759 * insettext.C (read): assign tmp to paragraphs after return from
3760 call to parseSingleLyXformat2Token
3763 2002-08-13 Angus Leeming <leeming@lyx.org>
3782 changes due to the changed LyXView interface that now returns references
3783 to member variables not pointers.
3785 2002-08-13 Angus Leeming <leeming@lyx.org>
3788 * insetcollapsable.h:
3791 * insettext.h: forward-declare WordLangTuple
3792 (selectNextWordToSpellcheck) constify return type.
3795 * insetcollapsable.C:
3798 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3800 2002-08-12 Angus Leeming <leeming@lyx.org>
3802 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3804 2002-08-12 Juergen Vigna <jug@sad.it>
3806 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3809 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3811 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3812 (bibitemWidest): ditto
3813 * insettext.[Ch]: ditto
3815 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3817 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3819 2002-08-09 Angus Leeming <leeming@lyx.org>
3821 * insetinclude.C (latexString): remove fudge now that I've found out
3822 how to enable LaTeX to find the file using input@path.
3824 2002-08-09 John Levon <levon@movementarian.org>
3827 * insettext.C: remove unused xpos
3829 2002-08-07 Juergen Vigna <jug@lyx.org>
3831 * insettabular.C (localDispatch): make delete not put the stuff
3832 in the clipboard only do this on a cut operation.
3834 * insettext.C (localDispatch): make delete and backspace not put
3835 selected stuff to the clipboard.
3837 2002-08-07 André Pönitz <poenitz@gmx.net>
3840 * insetcollapsable.[Ch]:
3844 * insettabular.[Ch]:
3845 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3847 2002-08-06 John Levon <levon@movementarian.org>
3851 * insetcollapsable.h:
3852 * insetcollapsable.C:
3858 * insettext.C: use WordLangTuple for spellcheck
3860 2002-08-06 Angus Leeming <leeming@lyx.org>
3862 * insetinclude.C: add a monitor to the previewed image, so that the
3863 image is refreshed if the \input-ed file changes.
3865 2002-08-04 John Levon <levon@movementarian.org>
3868 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3870 2002-08-02 Angus Leeming <leeming@lyx.org>
3872 * insetcommandparams.[Ch] (preview): new methods returning and setting
3873 a new bool preview_ flag.
3874 (read): read this flag.
3875 (operator==): add flag to check.
3877 * insetinclude.C (write): output new preview() flag.
3878 (previewWanted): use this flag.
3880 2002-08-02 Angus Leeming <leeming@lyx.org>
3882 * insetcollapsable.[Ch] (addPreview):
3883 * insettabular.[Ch] (addPreview):
3884 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3885 for insets in insets.
3887 2002-08-02 Angus Leeming <leeming@lyx.org>
3889 * insetcite.C: fix typo.
3891 * insetgraphics.C: kill current_view and instead cache the BufferView
3894 * insetinclude.C: kill current_view and pass the BufferView to the
3895 PreviewedInset so that it can cache it.
3897 2002-08-01 Angus Leeming <leeming@lyx.org>
3899 * inset.h (generatePreview): renamed as addPreview.
3900 (generatePreview): new method. Allows code to be moved out of
3901 math_nestinset.C and into the new PreviewedInset class.
3903 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3904 add previews to the inset when \input-ing LaTeX.
3906 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3908 * several files: strip,frontStrip -> trim,ltrim,rtrim
3910 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3912 * insetbib.C (latex): modify because of strip changes
3914 * insetnote.C (InsetNote): ditto
3916 2002-07-26 Juergen Vigna <jug@sad.it>
3918 * insettabular.C (searchForward): check for lastcell if we
3919 had a locking inset.
3921 2002-07-25 Juergen Vigna <jug@sad.it>
3923 * insettabular.C (insetMotionNotify): Don't update the screen
3924 if we didn't do nothing.
3925 (searchForward): last cell was not checked.
3927 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3929 * insetfloat.C (read, write): Allow default placement
3930 (floatPlacement_ is empty).
3932 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3934 * insetminipage.h (noFontChange):
3935 * insettabular.h (noFontChange):
3936 * insetfootlike.h (noFontChange):
3937 * insetfloat.h (noFontChange): return true
3939 * inset.h (noFontChange): new method, defaulting to false
3941 2002-07-22 Herbert Voss <voss@lyx.org>
3943 * insetgraphicsParams.[Ch]: support size_type for old docs
3945 2002-07-22 Herbert Voss <voss@lyx.org>
3948 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3951 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3953 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3955 * insetlatexaccent.h: do not include "lyxlex.h"
3957 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3960 * insetlatexaccent.C:
3964 * insetbib.C: #include "lyxlex.h"
3970 * insettext.C: use BufferParams::getLyXTextClass
3973 * insetfloat.C (addToToc): new method. Add to toclist the entries
3974 corresponding to Caption layouts
3975 (InsetFloat): when creating a new float, set the layout to "Caption"
3977 2002-07-21 Herbert Voss <voss@lyx.org>
3979 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3980 image relevant part into graphics/GraphicsImgae.C
3982 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3984 * insettoc.C (ascii):
3985 * insetfloatlist.C (ascii): change to use the new Toc functions
3986 instead of stuff that was in Buffer
3988 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3990 * insettext.C (localDispatch): BufferView::Dispatch has been
3991 renamed to BufferView::dispatch
3993 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3995 * insetgraphicsParams.C (as_grfxParams): use the new
3996 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3997 1.2.0 patch, and I do not really know how to adapt it to the new
3998 grfx::Cache world. Angus, please could you have a look?
4000 2002-05-01 Herbert Voss <voss@lyx.org>
4002 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
4004 2002-07-18 Angus Leeming <leeming@lyx.org>
4006 * insetgraphics.C: clean-up comments (from Herbert).
4007 add a new checksum variable to the cache. Use it in PrepareFile.
4008 (draw): start monitoring the file for a change.
4009 (prepareFile): re-arrange a little to avoid unnecessary steps.
4011 2002-07-17 Angus Leeming <leeming@lyx.org>
4013 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
4014 a method rather than to the signal directly.
4016 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
4018 * insettext.C: use view_state_changed, switchKeyMap
4020 2002-07-17 Herbert Voss <voss@perce.de>
4022 * insetgraphics.C (prepareFile): keep the extension when
4023 exporting to nice file
4025 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4027 * insetcite.C (getNatbibLabel):
4028 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
4030 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4032 * insetgraphics.C: use ->isDrawable()
4034 2002-07-12 Angus Leeming <leeming@lyx.org>
4036 * insetgraphics.C: use the new smart loading capabilities of the image
4039 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4041 * insettabular.C (edit): Move into correct cell when entering a
4044 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4047 2002-07-05 Angus Leeming <leeming@lyx.org>
4049 * inset.h (generatePreview): new virtual method.
4051 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4053 * insetcommandparams.[Ch] (operator=): move out of class
4054 (operator!): move out of class
4056 2002-07-04 André Pönitz <poenitz@gmx.net>
4058 * insetcommandparams.[Ch]: new files
4060 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4062 2002-06-15 Herbert Voss <voss@perce.de>
4064 * insetgraphics.C (prepareFile): bugfix; return always
4065 files without extension
4067 2002-06-28 Angus Leeming <leeming@lyx.org>
4069 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4070 rename asGParams -> as_grfxParams.
4072 * insetgraphics.C: reflect above change.
4074 2002-06-26 Angus Leeming <leeming@lyx.org>
4076 * insetgraphics.h: use boost::scoped_ptr in preference to
4079 2002-06-26 Angus Leeming <leeming@lyx.org>
4081 * insetgraphics.C: moved the image loading stuff into a new class
4082 grfx::Loader. Simplifies this file enormously.
4084 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4086 * insetgraphicsParams.C: changes aassociated with moving
4087 grfx::DisplayType out of grfx::GParams.
4089 2002-06-26 André Pönitz <poenitz@gmx.net>
4091 * insetgraphics.C: use os::external_path where necesaary according to a
4092 patch from Claus Hentschel)
4094 2002-06-25 Angus Leeming <leeming@lyx.org>
4096 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4097 generating a pixmap once the graphics file is loaded into memory.
4098 The current_view ugliness that was in grfx::ModifiedImage has been
4099 moved here now that grfx::ModifiedImage is no more.
4101 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4103 * insettext.C: layout as layout
4105 2002-05-28 André Pönitz <poenitz@gmx.net>
4107 * insetfloatlist.h: remove source of compiler warning
4109 * insetref.C: tiny whitespace
4111 2002-06-15 Herbert Voss <voss@perce.de>
4113 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4114 and take always convert when no userdefined converter was
4116 (latex) small changes in the lyxerr output
4118 2002-06-15 LyX Development team <lyx@rilke>
4120 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4121 mixed content. Small white spaces clean.
4123 2002-06-14 Angus Leeming <leeming@lyx.org>
4125 * inseetexternal.C: remove the using std::difftime declaration.
4127 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4129 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4131 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4133 * insetquotes.C (draw): fix drawing of double quotes
4135 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4137 * insettabular.C: s/scrollCB/scrollDocView/
4139 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4141 * insettext.C: change of topCursorVisible()
4144 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4147 * insettext.C: rename/change of LyXScreen
4149 2002-06-07 Angus Leeming <leeming@lyx.org>
4151 Fixes needed to compile with Compaq cxx 6.5.
4153 all c-library variables have been moved into namespace std.
4154 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4156 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4158 * insetinclude.C (uniqueID):
4159 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4160 conflicted with some AIX headers.
4162 2002-05-31 Juergen Vigna <jug@sad.it>
4164 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4168 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4170 * insetexternal.C (clone): fix () bug when using new
4171 (updateExternal): don't only look for difftime in global scope
4173 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4175 * insettabular.C: add const
4177 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4179 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4180 file name, in case there are weird characters like ',' in there.
4183 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4185 * switch from SigC signals to boost::signals.
4187 2002-05-28 André Pönitz <poenitz@gmx.net>
4189 * insets/insetgraphicsParams.[Ch]:
4190 put in inset related stuff from src/graphic
4192 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4200 * insetcollapsable.C:
4201 * insetcollapsable.h:
4229 * inseturl.h: use mouse_state. Kill insetKeyPress
4231 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4236 * insetcollapsable.C:
4239 * insetlatexaccent.C:
4241 * insetspecialchar.C:
4243 * insettext.C: name change for font metrics
4245 2002-05-24 Juergen Vigna <jug@sad.it>
4247 * insetgraphics.h: include inset.h first (for LString.h)
4249 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4251 * insettext.C: screen moved
4253 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4271 * inseturl.C: LyXView moved into frontends/
4273 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4278 * insetcollapsable.C:
4282 * insetgraphicsParams.C:
4283 * insetlatexaccent.C:
4285 * insetspecialchar.C:
4287 * insettext.C: move Painter to frontends/
4289 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4291 * insettabular.h: use more specific smart_ptr header.
4292 * insettext.h: ditto
4294 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4297 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4299 * insettext.C: clear selection on paste (bug 393)
4301 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4303 * insettext.C (latex): Honor the moving_arg argument.
4305 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4307 * insetfoot.C (latex): if a footnote is in a title layout, then it
4308 is a \thanks. And then, its contents is a moving argument.
4310 2002-05-14 Juergen Vigna <jug@sad.it>
4312 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4315 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4317 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4318 when using options "Full author list" or "Upper case".
4320 2002-05-14 Herbert Voss <voss@perce.de>
4322 * insetgraphics.C (prepareFile): allow files with same name
4324 (readFigInset): set the flags from old figinset in the right
4326 (findTargetFormat): more comments
4328 2002-05-14 Juergen Vigna <jug@sad.it>
4330 * insettext.C (edit): tell checkAndActivateInset() that we don't
4331 have a button press.
4332 (checkAndActivateInset): if button < 0 we don't have a button press
4333 on the inset and os we won't call edit on it if it's not a Highly
4334 editable inset (then we have to enter it).
4336 2002-05-13 Juergen Vigna <jug@sad.it>
4338 * insetcollapsable.C (insetButtonRelease): returned wrong return
4341 2002-05-09 Juergen Vigna <jug@sad.it>
4343 * insetcollapsable.C (edit): first_after_edit should only be
4344 set to true if we enter this inset and it was collapsed so we
4345 open it up. This is needed to reclose it after a search/replace
4346 or spellcheck function opened it and was negative.
4348 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4350 * insetfloat.C (latex): Return correct value.
4352 2002-05-04 Herbert Voss <voss@perce.de>
4354 * InsetgraphicsParams.C (read): fix bug with WH
4356 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4358 * insetfloat.C (latex): More sensible latex output
4359 (fix the problem with endfloat).
4361 2002-05-02 José Matos <jamatos@fep.up.pt>
4363 * insetgraphics.C (validate): acess params as everyone else.
4365 2002-05-03 Juergen Vigna <jug@sad.it>
4367 * insettabular.C (fitInsetCursor): recalculate the cursor position
4370 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4372 * InsetgraphicsParams.[Ch]: whitespace.
4374 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4376 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4377 float type do not exist.
4379 2002-04-28 Herbert Voss <voss@perce.de>
4381 * insetgraphics.C (latex): fix bug with missing file-extension.
4382 LaTeX still allows a missing "eps" or "ps".
4384 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4386 * insetfloat.C (c-tor, wide): translate the name of the float.
4388 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4390 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4391 when using natbib and make it work efficiently. Must emphasise that the
4392 real work is Herbert's.
4394 2002-04-23 Herbert Voss <voss@perce.de>
4396 * insetgraphic.C (prepareFile): fix bug with overwriting and
4397 deleting an existing *.eps-file in the doc-dir
4399 2002-04-23 Juergen Vigna <jug@sad.it>
4401 * insettabular.C (drawCellSelection): fix off by 1 error.
4403 2002-04-22 Juergen Vigna <jug@sad.it>
4405 * insettabular.C (setFont): rewoke full selection if it was asked,
4406 after we changed all we had to change.
4408 * insettext.C (insetUnlock): code was uninitialized in some situations.
4410 2002-04-19 Herbert Voss <voss@perce.de>
4412 * insetgraphic.C (prepareFile): return filename without
4413 extension if we only export without compiling
4415 2002-04-19 Juergen Vigna <jug@sad.it>
4417 * insettext.C (draw): call a fullRebreak on the row where we had a
4418 change and reset the cursor and selection-cursors.
4420 * insettabular.C (insetUnlock):
4421 (insetButtonPress): call an update before setting the_locking_inset = 0
4422 as otherwise we don't repaint!
4423 (update): reset the cursor position when we changed dimensions as
4424 otherwise our cursor may be on the wrong spot.
4426 2002-04-18 Juergen Vigna <jug@sad.it>
4428 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4429 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4430 redraw otherwise we won't redraw.
4432 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4433 not really right before, but I only discovered this with the last
4434 changes to Page up/down.
4436 2002-04-17 Juergen Vigna <jug@sad.it>
4438 * insettext.C (checkAndActivateInset): simplified as we now have the
4439 edit(bv, bool) call.
4441 * insettext.h: changed behind variables to front variables to be
4442 equal to the one in the edit call (as it is for that they are used).
4444 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4446 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4447 not output anything at all!
4449 2002-04-16 Juergen Vigna <jug@sad.it>
4451 * insettabular.C (insetButtonPress):
4452 (insetUnlock): call a redraw on unlocking the cell inset.
4454 * insettext.C (insetButtonPress): same as below.
4455 (lockInset): new function to set initial values when inset should
4457 (insetButtonPress): use above function.
4458 (insetUnlock): don't force a repaint only set the updateStatus. The
4459 outside world should repaint if it thinks it should be done!
4461 * insettabular.C (insetButtonPress): init values if not set as locked
4462 as we are locked if someone presses on us and don't call the edit()
4463 call of the InsetText to lock it do it as BufferView does it!
4465 * inset.h (insetInInsetY): make func const and return an int.
4468 * insetcollapsable.C: adapt the above changed function.
4470 2002-04-15 Juergen Vigna <jug@sad.it>
4472 * insettext.C (getCursorPos): return relative position as to be able
4473 to give them directly to the edit() call.
4474 (edit): we have to set also x_fix as it is not set inside the
4475 setCursorFromCoordinates call!
4476 (insetMotionNotify): ditto.
4478 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4480 * insetbib.C (getKeys): strip leading '\t's from the line too.
4481 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4483 2002-04-12 Juergen Vigna <jug@sad.it>
4485 * insettext.h: added cix() helper function and use it where appropriate
4487 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4489 * insetgraphics.C (prepareFile): fix bug when graphics is a
4492 2002-04-12 Juergen Vigna <jug@sad.it>
4494 * insettext.C (insertInset): remove unneeded code!
4495 (updateLocal): fitCursor() fixes.
4496 (collapseParagraphs): fix a possible problem when having a selection
4497 and collapsing the paragraphs.
4499 2002-04-08 Herbert Voss <voss@perce.de>
4501 * insetgraphic.C (write): write the rotating angle as
4502 a float as is. test only for != 0.0
4504 2002-04-11 Juergen Vigna <jug@sad.it>
4506 * insettext.C: new function ciy() and use it for setting inset_y.
4508 * insetert.C (draw): fix the x return for collapsed version.
4510 2002-04-07 Herbert Voss <voss@perce.de>
4512 * insetgraphic.C (readFigInset): fix bug with subcaption and
4515 2002-04-08 Herbert Voss <voss@lyx.org>
4517 * insetgraphicsparam.C: forgot special option and delete old
4520 2002-04-05 Juergen Vigna <jug@sad.it>
4522 * insettext.C (localDispatch): make a CURSOR update if we inserted
4525 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4527 * insetfloatlist.C (getScreenLabel):
4528 (latex): use Floating::listName
4529 (validate): new method
4531 2002-04-03 José Matos <jamatos@fep.up.pt>
4533 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4535 * insetfoot.[Ch] (docbook): added forgotten method.
4537 2002-04-03 Juergen Vigna <jug@sad.it>
4539 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4540 way as in Bufferview_pimpl.
4542 2002-04-03 Allan Rae <rae@lyx.org>
4544 * insetgraphics.C (latex): one % too many makes living on the bleeding
4545 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4547 2002-03-28 Herbert Voss <voss@lyx.org>
4549 * insetgraphic.C (latex): simplify the code for the latex
4550 output when the file doesn't exist
4552 2002-03-29 Juergen Vigna <jug@sad.it>
4554 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4557 * insettabular.C (edit): call fitCursor().
4559 * insettext.C (insetButtonPress): change behaviour of no_selection
4560 to the one in the BufferView selection_possible and fix the spurious
4561 selection bug with it.
4562 (localDispatch): revoke selection on BREAK... functions.
4564 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4566 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4568 2002-03-28 Juergen Vigna <jug@sad.it>
4570 * insettabular.C (insetAllowed): return true as default value otherwise
4571 we're not able to insert insets inside paragraphs of an not locked
4574 2002-03-27 Herbert Voss <voss@lyx.org>
4576 * insetgraphicsparam.C: change c%, p% to col%, page%
4578 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4580 * insetspecialchar.C (isLineSeparator): disable the nice code to
4581 allow linebreaks after hyphenation and menu separators.
4583 2002-03-26 Herbert Voss <voss@lyx.org>
4585 * insetgraphics.C (figinsetRead): set the right lyxview
4587 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4589 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4590 $\backslash$ and pass a "string const &" to the function.
4591 (prepareFile, latex): use Path rather than MakeAbsPath.
4593 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4595 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4596 proper fix to the graphics cache.
4597 (latex): "really" nice output if the file is not found ;-)
4599 2002-03-26 Juergen Vigna <jug@sad.it>
4601 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4602 (collapseParagraphs): fixed inserting of separator ' '
4604 * insettabular.C (insertAsciiString): only check for buffer lenght
4605 not if we have \t or \n inside the buffer as if we don't have we only
4606 have 1 cell and that's it!
4608 * insetert.C (close): don't collapse if inlined.
4610 2002-03-25 Herbert Voss <voss@lyx.org>
4612 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4613 graphics file does not exist.
4615 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4617 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4618 path when preparing export.
4620 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4621 no longer MakeRelPath.
4623 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4625 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4626 Used to determine the absolute path to the graphics file in the
4627 graphics cache and only in the graphics cache.
4628 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4629 make graphics file name absolute if it is stored as a relative path.
4631 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4632 make graphics file name absolute if it is stored as a relative path.
4634 * insettext.C (edit): emit an updateParagraph signal on entering a text
4635 inset. Needs to be emitted when leaving the inset also.
4637 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4639 * all files: ws cleanup
4641 * Makefile.am: remove ld -r stuff
4643 2002-03-21 Juergen Vigna <jug@sad.it>
4645 * insettext.C (appendParagraphs): new function added to append
4646 the paragraphs to this insets paragraphs.
4648 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4650 * Makefile.am: special rules if partial linking
4652 2002-03-19 Juergen Vigna <jug@sad.it>
4654 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4656 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4658 * insetgraphics.C: Clean up Baruch's comments a little.
4659 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4661 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4664 * insettheorem.C: wrap warnings
4666 * insetgraphics.C: improve messages, move cached_status_
4667 setting to safer place
4669 2002-03-18 Juergen Vigna <jug@sad.it>
4671 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4673 (localDispatch): ditto
4675 * insettext.C (edit): removed unneeded showCursor calls.
4676 (localDispatch): ditto.
4678 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4680 * insetgraphics.h: remove display() method.
4682 2002-03-11 Juergen Vigna <jug@sad.it>
4684 * insetgraphics.C (draw): hack to fix the redrawing bug.
4685 (draw): seems this fixes #268 (force redraw of row if we changed).
4687 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4688 this inset text (don't know why I missed this earlier).
4690 2002-03-08 Juergen Vigna <jug@sad.it>
4692 * insettabular.C (updateLocal): do a FULL update if we're not locked
4693 and only a CELL update is asked.
4695 * insettext.C (updateInsetInInset): update insets inside inset also
4696 if it isn't inside the_locking_inset.
4698 * insettabular.C (updateInsetInInset): ditto.
4700 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4702 * insetexternal.C (doSubstitution): check whether we are using a
4703 temp dir for defining $$FPath
4705 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4708 * insettext.C: remove #include "WorkArea.h".
4710 2002-03-06 Juergen Vigna <jug@sad.it>
4712 * insettext.C (draw): fixed frame redrawing.
4713 (clear): forgot to set the inset_owner of the paragraph.
4715 * insetert.C (status): pay attention the bv can be 0 here!
4716 (getMaxWidth): add the default leftMargin
4718 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4720 * insetert.C (getMaxWidth): make w unsigned int.
4722 2002-03-05 Juergen Vigna <jug@sad.it>
4724 * insetert.C (status): change behaviour of Inlined.
4725 (getMaxWidth): added for new inlined behaviour.
4727 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4729 * insetnote.h (linuxdoc, docbook): add empty methods.
4730 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4731 before being initialized.
4733 2002-03-05 Juergen Vigna <jug@sad.it>
4735 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4736 only that one in the inset. Should be enough.
4737 (updateLocal): set the selection cursor always if we don't have a
4738 selection to be sure it's set!
4740 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4742 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4744 * insettext.C (clear): a gross hack to set layout on a newly
4747 2002-03-04 Juergen Vigna <jug@sad.it>
4749 * insettabular.C (localDispatch): inserted handling of
4750 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4751 (insertAsciiString): new helper function.
4753 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4755 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4758 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4760 * insettext.C (InsetText): initalize newly created par with
4761 default layout. add bufferparams parameter
4764 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4765 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4766 * insetert.[Ch] (InsetERT): ditto
4767 * insetfloat.[Ch] (InsetFloat): ditto
4768 * insetfoot.[Ch] (InsetFoot): ditto
4769 * insetfootlike.[Ch] (InsetFootLike): ditto
4770 * insetmarginal.[Ch] (InsetMarginal): ditto
4771 * insetminipage.[Ch] (InsetMinipage): ditto
4772 * insetnote.[Ch] (InsetNote): ditto
4773 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4775 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4777 * insettext.C: layout as string
4779 * insetinclude.C: layout as string
4781 * insetert.C: layout as string
4783 * insetbib.C: layout as string
4785 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4788 * insettabular.C: remove #include "lyx_gui_misc.h".
4790 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4795 * inset.h: remove figinset, yahoo !
4797 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4799 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4800 copy c-tor and initialise member variables in the correct order.
4802 2002-02-28 Juergen Vigna <jug@sad.it>
4804 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4806 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4808 * inset.h: ... and add a better one here.
4810 * insetcommand.C (insetButtonRelease): remove that one which was a
4813 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4815 * insetcommand.C (insetButtonRelease): ... and move it here.
4817 * inseturl.h: remove insetButtonRelease from there...
4819 2002-02-26 Juergen Vigna <jug@sad.it>
4821 * inseturl.h: Added a insetButtonRelease call returning true as
4824 * insetlabel.C (edit): Fixed wrong update handling after change I
4825 leave in the wrong code for the one who wrote it to remove and have
4826 a look what he did wrong.
4828 * insettabular.C (localDispatch): force a SELECTION update if we
4829 had a selection and we passed the event down to the inset (fix #213)
4830 (localDispatch): handle font changing stuff when we have a cell
4831 selection so that the selection is not rewoked. I don't really like
4832 this fix, but it's the only way I see to do it right now.
4834 2002-02-22 Juergen Vigna <jug@sad.it>
4836 * insettext.C (insetUnlock): set the cursor to the second paragraph
4837 if available and if the first one is empty (fix #191).
4839 2002-02-20 Juergen Vigna <jug@sad.it>
4841 * insettext.C (getDrawFont): implemented this function to call the
4842 one of the owner if present as the owner normally knows what to do
4845 * insetert.C: implement getDrawFont() function and comment out all
4846 the crap for setting a special latex font inside this inset.
4847 (InsetERT): added a Lanugage parameter to this constructor.
4849 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4850 change the font for being drawn on screen (used only in InsetERT for
4853 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4854 and also above (was missing).
4855 (updateLocal): don't remove the cell selection if we have one this
4856 should be done where we really want to remove it.
4858 2002-02-20 José Matos <jamatos@fep.up.pt>
4860 * insetinclude.h: include_label made string const.
4862 * insetinclude.C (InsetInclude): moved include_label initialization.
4865 (validate): fix support for temporary directory, for docbook and
4868 * insetgraphics.h : new private member, graphic_label, that holds
4869 the entity name that defines the graphics location (SGML).
4871 * insetgraphics.C (unique_id): new function to give a unique label
4874 (validate): the file locatation is given by an entity reference.
4876 2002-02-18 Herbert Voss <voss@lyx.org>
4878 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4880 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4882 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4883 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4885 2002-02-18 José Matos <jamatos@fep.up.pt>
4887 * insetinclude.C (validate): some code only applies to latex buffers,
4888 it was made conditional.
4890 2002-02-12 Herbert Voss <voss@lyx.org>
4892 * insetgraphics.C: (prepareFile) do not check at this time
4893 if the file is present.
4895 2002-02-12 Herbert Voss <voss@lyx.org>
4897 * insetgraphics.C: latex(), return the correct newlines
4899 2002-02-13 José Matos <jamatos@fep.up.pt>
4901 * inseturl.C (docbook): escape & in url.
4903 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4905 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4906 after HYPHENATION and MENU_SEPARATOR
4908 * inset.h (isLineSeparator): new method, returns false by default.
4910 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4912 * insetert.C (status): do not update the text inset, but the ERT
4915 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4917 * insetnote.C: use notebg for background
4919 2002-02-08 Herbert Voss <voss@lyx.org>
4922 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4923 prevent LyX from unzipping when this should be handled
4924 by latex vis the graphic.cfg.
4927 2002-02-08 Herbert Voss <voss@lyx.org>
4929 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4930 exists, than return filename with extension
4932 2002-02-06 Herbert Voss <voss@lyx.org>
4934 * insetgraphic.C: prepareFile(): don't convert the file, when
4935 it's not viewed in LyX. Saves a lot of time when opening a
4938 2002-02-05 Herbert Voss <voss@lyx.org>
4941 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4942 and adding a rotate bool similiar to subcaption
4944 2002-02-04 Herbert Voss <voss@lyx.org>
4947 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4948 similiar view to the LaTeX one. Get zipped files work.
4950 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4952 * insetgraphicsParams.C (init): set display to DEFAULT.
4953 No longer #include "lyxrc.h".
4955 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4957 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4958 for now (so that the code compiles).
4960 2002-02-02 Herbert Voss <voss@lyx.org>
4962 * insetgraphic.C: delete inVariant() and some minor changes
4963 * insetgraphicsParams.[C]:
4965 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4967 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4968 interogate lyxrc.display_graphics before diaplaying the graphic.
4970 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4971 InsetGraphicsParams::DisplayType.
4973 2002-01-31 Herbert Voss <voss@lyx.org>
4975 * insetgraphic.C: (readfigInset) set display to pref-default
4977 2002-01-30 Herbert Voss <voss@lyx.org>
4979 * insetgraphic.C: get the filetyp from it's contents
4980 * insetgraphicparams.C: add token scale and lyxrc.display when
4981 creating a new inset
4983 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4985 * figinset.C: added using std::ios directive.
4987 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4989 * figinset.C (runqueue): open translation file in binary mode (for
4992 2002-01-27 Herbert Voss <voss@lyx.org>
4994 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4995 all options and to be sure that the old figinsets are correct
4997 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4998 structure and to support all lengths as LyXLength. The Parameter
4999 structure changed again, but reading of "old" 1.2 graphic insets
5002 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
5004 * insetert.h (forceDefaultParagraphs): Added
5006 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5008 * insettabular.C (getMaxWidth):
5009 (forceDefaultParagraphs): use Tabular::GetCellFromInset
5011 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5013 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
5014 of LyXLength::inPixels
5016 * inset.C (latexTextWidth):
5017 * insetminipage.C (latexTextWidth): new method, which implements
5018 the equivalent of the LaTeX macro \textwidth
5020 * insetminipage.C (getMaxWidth): use latexTextWidth
5022 2002-01-18 Juergen Vigna <jug@sad.it>
5024 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
5026 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5028 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
5030 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5033 2002-01-17 Juergen Vigna <jug@sad.it>
5035 * insettabular.C (lockInsetInInset): same change as in insettext.
5037 * insettext.C (draw): width() function was called without setting
5038 the right top_x which could lead to wrong insetWidth setting!
5039 (lockInsetInInset): call edit instead of calling lockInset if we
5040 have to lock an inset inside!
5041 (edit): we have to also tell the inset that we have to redraw the
5042 frame on an edit call if this inset draws a frame only if locked.
5044 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5046 * insetbib.C (getFiles): uncomment Path variable.
5048 2002-01-16 Juergen Vigna <jug@sad.it>
5050 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5053 2002-01-16 Allan Rae <rae@lyx.org>
5055 * insetinclude.C (docbook): someone forgot a ";"
5057 2002-01-16 José Matos <jamatos@fep.up.pt>
5059 * figinset.C (docbook): removed a old place holder "@".
5060 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5061 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5062 ascii text version, clearly guarded inside a CDATA section.
5063 (docbook): in docbook 4, inlinegraphics is empty.
5064 * insettabular.C (linuxdoc): export the ascii version of the table
5065 inside a CDATA section.
5067 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5069 * insetparent.C (InsetParent):
5070 * insetgraphicsParams.C (Write):
5072 * insetgraphics.C (prepareFile):
5075 * insetexternal.C (executeCommand):
5076 (doSubstitution): use Buffer::filePath
5078 * insetbib.C (getFiles): add a #warning for Angus
5080 * insetgraphics.C: Add a remark about how filenames should be
5081 considered to be relative to buffer (but absolute is still allowed)
5082 (draw): do not try to get status if lyxrc.use_gui is false
5084 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5087 * insetcollapsable.[Ch]:
5088 * insettabular.[Ch] (searchForward, searchBackward): change the
5089 bool const & params to bool.
5091 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5092 to avoid the name clash with InsetCollapsable's methods of the same
5093 names but different functionality.
5095 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5097 * insettext.C (ascii): use lyx::count rather than countChar.
5099 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5101 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5103 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5105 * insetgraphics.C (updateInset): do not try to render image if
5106 lyxrc.use_gui is false (bug #104)
5108 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5109 if file does not exist
5111 * figinset.C (browseFile): add shortcuts to directory buttons
5113 * insettext.C (updateLocal): update menubar and toolbar here too.
5115 2002-01-13 Allan Rae <rae@lyx.org>
5117 * insettabular.C (InsetTabular): Both constructors now initialise
5118 all class variables.
5120 2002-01-11 Juergen Vigna <jug@sad.it>
5122 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5124 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5126 * insettabular.C (getStatus): add forgotten brace around multiline
5129 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5131 * insetfloat.C (validate): require "float" instead of "floats".
5133 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5135 * insettabular.C (getStatus): use FuncStatus
5137 2002-01-08 Juergen Vigna <jug@sad.it>
5139 * insettabular.C (insetButtonRelease): now this should work too
5142 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5143 if the width is a percentage.
5145 * inset.h: added isChar() function and implemented this for
5146 insetspecialchar insetquotes and insetlatexaccent.
5147 added forceDefaultParagraphs() and implemented it for insettabular.
5149 2002-01-07 Juergen Vigna <jug@sad.it>
5151 * insettext.C (getLyXText): Fixed this function. An insert into the
5152 map is only done if we REALLY have a new BufferView.
5154 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5156 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5158 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5160 * insetinclude.C: fix use of FileInfo
5162 2002-01-07 Juergen Vigna <jug@sad.it>
5164 * insettabular.C (draw): fixed clearing of cell around inset.
5166 2002-01-05 Juergen Vigna <jug@sad.it>
5168 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5169 variables are updated.
5171 * insettabular.C (resetPos): set always the inset_y as it may be
5172 needed in another function.
5173 (searchBackward): don't draw while searching.
5175 2002-01-04 Juergen Vigna <jug@sad.it>
5177 * insettext.C (lockInsetInInset): forgot to set a cursor.
5179 2002-01-02 Juergen Vigna <jug@sad.it>
5181 * insettext.C (insertInset): make the correct undo informations on
5182 inserting new insets.
5184 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5186 * insettabular.C: correct single-cell select vertically
5188 2001-12-27 Juergen Vigna <jug@sad.it>
5190 * insettabular.C (ascii): export as tab-separated-values if the
5191 function was not called from export (f.ex.: clipboard).
5193 * insetcollapsable.h: added default support for ascii, linuxdoc and
5194 docbook export (the insettext is exported by default!)
5196 * insettabular.C (copySelection): suff the clipboard with the tabular
5197 data in a tab separated format, seems more naturals then with all the
5200 2001-12-24 Juergen Vigna <jug@sad.it>
5202 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5203 to check for REAL mouseMotion.
5205 2001-12-20 Juergen Vigna <jug@sad.it>
5207 * inset.C (cursor): return the owners cursor if available instead of
5208 always only the bv->text->cursor.
5210 * insettabular.C (checkLongtableSpecial): works now.
5212 2001-12-19 Juergen Vigna <jug@sad.it>
5214 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5215 this has to be always row + 1 as 0 means not selected!
5216 (checkLongtableSpecial): added
5217 (tabularFeatures): better longtable options support
5219 * insettext.C (resizeLyXText): reinit the text always also on a
5222 2001-12-18 Juergen Vigna <jug@sad.it>
5224 * insettext.C (updateInsetInInset): look if we have to autocollapse
5225 paragraps and return if the update is requested for ourself.
5227 * insetert.C (status): update the insettext not myself as that is what
5230 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5231 function only return if the update was requested with myself.
5233 * insettext.C (insetButtonPress): fixed stupid bug.
5234 (various functions): pay attention that lt is cleared BEFORE calling
5235 updateLocal() and try to use it in the right manner (don't use it
5236 if it's not really neccessary!)
5237 (collapseParagraphs): insert a blank between collapsing paragraphs
5238 if neccessary (not already there!).
5240 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5242 * insettabular.C: move includes around a bit, add a couple of
5245 * insettext.[Ch]: move includes around a bit, other ws changes and
5248 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5250 * insettext.C (insetButtonRelease): fix compile problem
5252 2001-12-17 Juergen Vigna <jug@sad.it>
5254 * insettext.C (insetButtonPress): set the selection cursor!
5255 (insetButtonPress): clear the selection (and set with that the
5256 selection.cursor) if we only hit an inset!
5258 * insetert.C (read): removed piece of compatibility code only needed
5261 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5264 * insetcollapsable.C (insetButtonRelease): changed so that it can
5265 open eventual existing popup dialogs on mousebutton==3.
5267 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5269 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5271 * inset.C (insetButtonRelease): return a bool for telling the outer
5272 world that we opened a dialog.
5274 2001-12-07 Juergen Vigna <jug@sad.it>
5276 * insettext.C (paragraph): remove the deleteing of paragraphs as
5277 it was a WRONG move!
5279 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5282 * insettabular.C: use new setSelection(). Allow
5283 selection of single cells.
5285 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5287 * insetquotes.C (latex): fix to use the local language setting at
5288 the point where the inset is inserted (different macros for
5289 different french packages)
5291 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5293 * inset.h: add par_owner_ member variable and parOwner
5296 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5298 * insettabular.C (everywhere): adapt because widths are now real
5299 widths and not strings
5301 * insettext.C (draw): re-introduce the calls to width(), ascent()
5302 and descent() to initialize the caching variables.
5304 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5306 * insettext.C (draw):
5307 (drawFrame): use insetWidth instead of last_width
5309 * insettext.h: remove variable last_width (insetWidth is exactly
5310 the same) and last_height (computed but never used!)
5312 2001-12-10 Allan Rae <rae@lyx.org>
5314 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5316 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5318 * insettext.C (insetAllowed): add comment
5320 2001-12-05 Juergen Vigna <jug@sad.it>
5322 * insettext.C (insetAllowed): fixed for the case that we directly
5323 ask the insettext from its LyXText.
5324 (paragraph): fixed the crash when assigning the par->next() from
5325 the EmptyParagraphMechanism!
5327 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5331 * insettext.C: change "while(" to "while ("
5333 2001-12-04 Juergen Vigna <jug@sad.it>
5335 * insetert.C (edit): handle Inlined status.
5337 * insettext.C (insertInset): trying John's fix for the trailing cursor
5339 * insetert.C (insetButtonPress): added to handle inlined status
5340 (insetMotionNotify): ditto.
5342 * insettext.C (clearInset): changed Painter & in BufferView * param,
5343 to be able to call ascent,descent methods.
5345 2001-12-03 Juergen Vigna <jug@sad.it>
5347 * insettext.C (updateInsetInInset): use lt variable to forbid
5348 changes of LyXText in an update call.
5349 (updateInsetInInset): fixed updating of non locked insets!
5351 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5353 * insettabular.C: capture some more functions to prevent
5354 selection drawing problems. Bug #451274
5356 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5359 * insetgraphicsParams.C: fix inverted sense of float_equal
5361 2001-11-30 Juergen Vigna <jug@sad.it>
5363 * insettabular.C (InsetTabular): use the save_id flag to create also
5364 the tabular with the same id's.
5366 * insettext.C (setParagraphData): added a same_id function for undo
5367 to set the same paragraph id's as of the paragraph we are setting.
5369 2001-11-30 José Matos <jamatos@fep.up.pt>
5372 * insettoc.[Ch]: DocBook -> docbook.
5374 2001-11-29 André Pönitz <poenitz@gmx.net>
5377 * insettext.C: further reduction of header dependencies by using
5378 lyx::layout_type and lyx::textclass_type from support/types.h
5380 2001-11-29 Juergen Vigna <jug@sad.it>
5382 * insettext.C: inserted a reinitLyXText function everywhere I delete
5383 the paragraphs! This should fixe the crashes we had.
5384 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5385 (paragraph): set the InsetOwner() of the new paragraphs!
5387 2001-11-28 André Pönitz <poenitz@gmx.net>
5389 * insetnote.C: add pos initialization that I removed without
5392 2001-11-28 Juergen Vigna <jug@sad.it>
5394 * insettabular.C (resetPos): hack to not crash with infinite paints.
5396 * insettabular.h: insert missing function allowSpellcheck()!
5398 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5400 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5403 * insetfloatlist.C: derive from InsetCommand so gui can use it
5406 2001-11-26 André Pönitz <poenitz@gmx.net>
5410 * insetnote.C: reduce header dependencies, introduce type for
5413 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5415 * various: update for Alert.h
5417 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5419 * inset.h: fix comment
5421 * insettext.C: use par->isInset()
5423 2001-11-22 Allan Rae <rae@lyx.org>
5425 * insetcollapsable.h:
5426 * inset.h: Changes to checkInsertChar() behaviour.
5427 Now return value indicates whether chars can be inserted.
5429 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5431 * various: updated to use the new LaTeXFeatures
5433 2001-11-14 José Matos <jamatos@fep.up.pt>
5435 * insetspecialchar.C (linuxdoc):
5436 (docbook): don't give a name to a unused variable.
5438 * insettext.C (docbook): removed unused variable.
5440 2001-11-13 Herbert Voss <voss@perce.de>
5442 * insetgraphic.C: fix scale bug
5444 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5446 * inset.h (isSpace):
5447 (isLetter): new virtual methods.
5449 * insetspecialchar.C (isSpace):
5450 (isLetter): implement here.
5452 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5454 * inset.h: new inline helpers
5456 * insettext.C: use new helpers
5458 2001-11-07 José Matos <jamatos@fep.up.pt>
5460 * insettext.C (docbook): full support for paragraphs inside insettext.
5462 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5464 * insetindex.C: added header file for std::ostream.
5466 2001-11-03 José Matos <jamatos@fep.up.pt>
5468 * insetindex.C: added using std::ostream that I forgot yesterday.
5470 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5472 * insetindex.h (docbook):
5473 * insetindex.C (docbook): added support for docbook export.
5475 2001-11-02 José Matos <jamatos@fep.up.pt>
5477 * insetcaption.C(docbook): added support for docbook export.
5479 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5481 * insetexternal.C (updateExternal): Do not run update command if
5482 result file exists and is up to date.
5484 * ExternalTemplate.C (readFormat): Support the updateresult token.
5486 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5488 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5489 external_templates) to use the buffer->fileName() but only if
5490 previewing. Generating a TeX file should make FPath return
5493 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5496 * insetert.C: fix some problems
5498 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5500 * insetexternal.C (doSubstitution): Added $$FPath token
5501 to list of usable substitutions in external inset templates.
5503 2001-10-24 Juergen Vigna <jug@sad.it>
5505 * insettabular.C: use new ltType struct for setting longtable
5506 header and footers also new UNSET enums.
5508 2001-10-24 José Matos <jamatos@fep.up.pt>
5510 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5511 (docbook): If the table is not inside a float then wrap it inside
5512 <informaltable>...</informaltable>.
5514 2001-10-23 José Matos <jamatos@fep.up.pt>
5516 * insetref.C (docbook): removed / terminator to conform SGML.
5518 * insetspecialchar.C (linuxdoc):
5519 (docbook): Added support for special chars, more than ascii export.
5521 2001-10-22 Juergen Vigna <jug@sad.it>
5523 * insettext.C (checkInsertChar): added for REALLY checking the
5524 font of the inserted char in the right inset!
5526 2001-10-19 Juergen Vigna <jug@sad.it>
5528 * inset.h: added method allowSpellcheck() so that insets who do
5529 not have anything to spellcheck can tell and so they are over-jumped.
5530 Implemented for InsetText and co.
5532 2001-10-18 Juergen Vigna <jug@sad.it>
5534 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5536 2001-10-15 José Matos <jamatos@fep.up.pt>
5538 * insetert.C: allow export for docbook and linuxdoc
5540 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5542 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5544 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5546 * insetquotes.C (dispString): fix handling of latin9 quotes
5548 2001-10-03 Juergen Vigna <jug@sad.it>
5552 * insetcollapsable.C: change updateInset calls to not tell BV that
5553 we have changed status.
5555 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5557 * insettabular.C (deletable): make const
5559 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5561 * insetert.C (latex): Fix the returned value
5563 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5565 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5566 Returns string(), so nothing in an ERT inset is spellchecked.
5568 * insetgraphics.C (draw): print the filename if not displaying the
5570 (width): make sure that the width and draw methods are consistent.
5571 (updateInset): don't even load the image into cache if not displaying
5574 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5576 * various files (selectNextWord): renamed as
5577 selectNextWordToSpellcheck.
5579 * insetgraphics.C (draw): remove the previous change. Right place
5580 is in imageLoaderXPM.C.
5581 (draw): don't display the image if params.display == NONE.
5583 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5585 * figinset.C (runqueue):
5586 * insetgraphics.C (draw): set background colour of inset from
5587 background to the user-configurable graphicsbg.
5589 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5591 * insetquotes.C (InsetQuotes): when trying to decide the side of
5592 the quote, choose `left' only after a space or '('
5594 2001-09-04 José Matos <jamatos@fep.up.pt>
5599 * insetcollapsable.h
5617 * insetlatexaccent.C
5618 * insetlatexaccent.h
5623 * insetspecialchar.C
5624 * insetspecialchar.h
5628 * insettext.C (docbook): rename docBook method to docbook.
5630 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5632 * inset.h (getFirstParagraph): New virtual method.
5634 2001-08-20 Herbert Voss <voss@perce.de>
5635 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5636 in the the bibtex-database-gui for inserting a line
5639 If no style is given than there is no tex-output.
5641 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5643 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5647 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5649 * insetert.C (latex): Fix output for multiple paragraphs.
5650 (write): New code for writing paragraph data.
5651 (read): Set font after reading the inset.
5652 (localDispatch): Call set_latex_font() for more cases.
5654 * insetnote.h: Add empty validate method.
5657 * insetnote.C (InsetNote): Set language to the language of the
5660 2001-08-16 Juergen Vigna <jug@sad.it>
5662 * insettext.C: implemented the new FINISHED states.
5664 * insettabular.C: ditto
5666 * inset.h: added more FINISHED states for cursor right,up,down
5668 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5670 * insetfloatlist.C: use "FloatName List"
5672 2001-08-14 Juergen Vigna <jug@sad.it>
5674 * insetert.C (edit): forgot to set status_ in edit calls!
5676 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5678 * insettext.C: Compilation fix
5680 2001-08-13 Juergen Vigna <jug@sad.it>
5682 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5684 * insetcollapsable.C (edit): don't recollapse an already open inset.
5686 * insettext.C: fixed problem when reinitializing LyXText by not doing
5687 it while lt is in use and post this to the next possible time in
5689 (searchForward): fixed not unlocking of inset if nothing found.
5690 (edit): set cursor behind right (was set -1 pos).
5692 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5694 * insettabular.C (tabularFeatures): fixed fix where deleting the
5695 last row didn't get the right actcell!
5697 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5699 * insettext.C (localDispatch): Change language only when the inset
5702 2001-08-10 Juergen Vigna <jug@sad.it>
5704 * insettabular.C (selectNextWordInt): use the front using edit call.
5706 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5707 the parameter overwrite class variable inset.
5709 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5711 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5712 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5714 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5715 update only for fixed with cells.
5716 (resetPos): try to fix the lockup on spellchecking or s&r.
5718 * insettext.C (update): comment this out as it seems first wrong
5719 and second not needed anymore!
5720 (some functions): call reinitLyXText() only in update() in all other
5721 positions set only need_update = INIT.
5723 2001-08-08 Juergen Vigna <jug@sad.it>
5725 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5727 * insettext.C (insetUnlock): remove double-space on inset unlock.
5729 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5731 * insettabular.C (update): fixed cursor positon after an insert.
5732 (insetAllowed): do not allow to insert insets when not inside the
5734 (draw): clear below an inset too as it could have changed height.
5736 * inset.C (getMaxWidth): fixed width for inset in inset.
5738 * insettext.C (update): small fix.
5740 * insettabular.C (tabularFeatures): added selection support to
5741 DELETE_ROW/DELETE_COLUMN.
5743 2001-08-07 Juergen Vigna <jug@sad.it>
5745 * inset.C (getMaxWidth): recoded and all it's implementations!
5747 * insettext.C (init,setParagraph+constructors): cleanups
5748 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5749 are new and I want do a save/restore of the cursor position which is
5750 not possible anymore.
5752 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5753 (searchBackward): ditto
5754 (selectNextWord): ditto
5756 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5758 * insetlatexaccent.C (checkContents): Add some debug messages
5760 2001-08-07 Juergen Vigna <jug@sad.it>
5762 * insetert.C (read): don't use InsetCollapsable::read as we don't
5763 write the collapsed status anymore only the status.
5766 2001-08-06 Juergen Vigna <jug@sad.it>
5768 * insetert.C (set_latex_font): use LyXText's setFont directly.
5770 * insettext.C (drawFrame): fixed one time more the right position
5771 and size of the frame!
5773 * insetert.C (~InsetERT): hide the dialog.
5774 (showInsetDialog): added implementation
5777 (status): new function for the status of the ERT inset (3-state).
5778 (write): output also the status of the inset for readback!
5779 (read): readback the status if available otherwise use collapsed_.
5781 * insettext.C (edit): small fix of setting the position, which could
5784 * insetert.C (width): implement this function for inlined viewing.
5785 Added minimum width of 10 pixels!
5787 * insetminipage.C (InsetMinipage): just change the colors a bit so
5788 that border/background is a bit more visible. We will remove this
5791 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5792 function for getting the important widths for drawing in various
5793 functions and in LyXText.
5794 (draw): fixed up a bit (frame drawing/clearing)
5796 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5798 * inset.C (convertFont): delete method. not used.
5800 2001-08-03 Juergen Vigna <jug@sad.it>
5802 * insettext.C (setFont): don't call for a draw update if we're just
5803 changing the cursor font!
5805 2001-08-02 Juergen Vigna <jug@sad.it>
5807 * insettext.C (draw): clear the background with the right color if
5808 needed. Update myself if x&max-width changed and return without doing
5809 anything. Let the update code handle the right stuff.
5811 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5812 inside another inset.
5814 2001-08-01 Juergen Vigna <jug@sad.it>
5816 * insetcollapsable.C (update): added an in_update bool so we avoid
5819 * insettabular.C (update): added an in_update bool so we avoid
5822 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5824 (update): added an in_update bool so we avoid reentering.
5826 * insettabular.C (localDispatch): clear col/row selection when doing
5827 something else inside an inset.
5829 * insettext.C (getLyXText): fixed bug when requesting a recursive
5832 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5834 * insetcite.C (latex): Paranoia check. Make sure that there is no
5835 whitespace between the citation keys.
5837 2001-07-31 Juergen Vigna <jug@sad.it>
5839 * inset.h (nodraw): make the set function also const so that this
5840 can be called from inside other const functions.
5842 * insetcollapsable.h: removed inline variable and moved it over
5843 to the only user InsetERT.
5845 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5846 inset opening immediately therein lying insets dialogs!
5848 * insetert.C (localDispatch): set the font also if we don't have any
5849 chars in this paragraph, otherwise if we delete all of em and start
5850 writing we have the wrong font.
5852 (draw): implemented for inline support
5853 (insetButtonRelease): ditto.
5855 2001-07-30 Juergen Vigna <jug@sad.it>
5857 * insettext.C (reinitLyXText): new function to reinit the insets
5858 text after lot's of paragraph changes. Use this instead of the
5859 cache.clear() which is VERY dangerous.
5861 * insetfloat.C (insetButtonRelease): we should only show the dialog
5862 if we press on the label otherwise we have problems to open mouse
5863 button 3 dialogs inside this float (f.ex. of a tabular!)
5865 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5867 * insetert.C: change back to "ERT"
5869 * insetfloat.C: handliign of RMB on label added.
5871 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5873 * insetgraphicsParams.C: #include LOstream.h here.
5875 * insetfoot.h: remove InsetFoot:: qualifier.
5877 2001-07-29 Baruch Even <baruch@lyx.org>
5879 * ChangeLog: Hiding time travel evidence.
5881 * insetgraphicsParams.h:
5882 * insetgraphicsParams.C:
5883 * insetgraphics.C: Added horizontal scale option, it actually scales both
5884 directions since it keeps image proportions.
5886 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5888 2001-07-29 Baruch Even <baruch@lyx.org>
5890 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5891 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5893 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5895 2001-07-29 Baruch Even <baruch@lyx.org>
5897 * insetgraphics.C: Added EPSI to be an alias of EPS.
5899 2001-07-29 Baruch Even <baruch@lyx.org>
5901 * insetgraphics.C: Change GRAPHICS to Graphics.
5902 Changed image conversion rules (documented at the beginning of file).
5904 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5906 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5909 * insetgraphics.C: added a using std::endl directive.
5911 * insetcommand.h (getScreenLabel): removed pure virtual function,
5912 as it duplicates that in InsetButton.
5914 * insetbib.[Ch] (getScreenLabel):
5915 * insetbutton.[Ch] (getScreenLabel):
5916 * insetcite.[Ch] (getScreenLabel):
5917 * insetert.[Ch] (getScreenLabel):
5918 * insetexternal.[Ch] (getScreenLabel):
5919 * insetfloatlist.[Ch] (getScreenLabel):
5920 * insetinclude.[Ch] (getScreenLabel):
5921 * insetindex.[Ch] (getScreenLabel):
5922 * insetlabel.h (getScreenLabel):
5923 * insetparent.[Ch] (getScreenLabel):
5924 * insetref.[Ch] (getScreenLabel):
5925 * insettoc.[Ch] (getScreenLabel):
5926 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5928 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5930 (validate): remove check on "cite" when using natbib.
5932 2001-07-26 Baruch Even <baruch@lyx.org>
5934 * insetgraphics.C (draw): changed casting to be in one place rather than
5935 all over the function.
5938 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5940 * insetgraphicsParams.h:
5941 * insetgraphicsParams.C:
5942 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5944 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5946 * insetfoot.C (validate): Added method to ensure that the
5947 right bit of LaTeX is emitted.
5949 * insetfoot.h: Added validate method to set the correct
5950 LaTeXFeatures bit for the special footnote code.
5952 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5954 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5957 2001-07-27 Juergen Vigna <jug@sad.it>
5959 * inset.h: remove not used font variable in parameter.
5960 removed checkInsertChar in UpdatableInset as it was equal to
5961 the one in Inset and so not needed.
5963 * insetert.C (checkInsertChar): implementation of function
5966 * inset.h: added new function checkInsertChar.
5968 * various files: added c-tor and clone() function.
5970 * insetcollapsable.h: removed clone function here as this should
5971 be only realized in REAL insets and added it to all collapsable
5972 insets! (with the copy-constructor).
5974 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5976 * insetminipage.C (read): handle missing parameters more gracefully
5978 * insetcollapsable.C (read): handel missing collapsed more gracefully
5980 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5982 * insetfloat.C (read): handle missing parameters.
5984 * insettext.C (read): handle old latex end_inset
5986 * insetert.C (setButtonLabel): new method
5987 (init): use it, to set the dynamic label correctly
5990 * Makefile.am (EXTRA_DIST): add files that is not part or the
5993 * insetcollapsable.h: remove autocollapsable (no users), remove
5994 draw_label, change_label_with_text and companion code. Remove args
5996 * insetert.[Ch]: move here instead (only user)
5998 * inset.h: rename private variable name to name_, make
5999 selectNextWord return a const string. make getInsetName return a
6000 string const &. Remove bool from open, add close.
6002 * Makefile.am: don't compile insetlist, insetsection
6005 2001-07-24 Juergen Vigna <jug@sad.it>
6007 * insetert.C (InsetERT): put init after the paragraph initialization,
6008 as otherwise we don't set the draw_label right.
6010 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
6011 insets with the mouse without having strange selections.
6012 (edit): if the inset was collapsed and we open it here then put the
6013 cursor always at the beginning of the inset.
6014 (get_new_label): 15 instead of 10 max chars in the label.
6016 * insetert.C (localDispatch): added and handle various stuff we
6017 need to handle here (font setting on paragraph break, not permitted
6018 layout setting, etc.).
6020 * inset.h: added default copy-consturctor and implemented this in
6021 various insets with the change to use this in the clone function!
6023 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6025 * insetminipage.C (InsetMinipage): set background color to red :)
6027 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6029 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
6030 draw frame mode is LOCKED.
6032 * insetcollapsable.C (edit):
6033 (insetButtonRelease): set update status to full when
6036 * insettext.C (clearInset):
6037 * insettabular.C (draw):
6038 * insetlatexaccent.C (draw): honor background color.
6040 * inset.h: new member background_color_, initialized to
6043 * inset.C (backgroundColor): new method.
6044 (setBackgroundColor): new method.
6046 * insetert.C (init): new method, called by the ctors.
6047 (InsetERT): when inserting contents, make sure the font is
6050 * insetnote.C (InsetNote): when inserting content, remove trailing
6052 (init): set background color to LColor::note
6054 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6056 * insetcollapsable.C: adjust
6058 * insetbutton.C: adjust
6060 2001-07-23 Juergen Vigna <jug@sad.it>
6062 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6063 parameter on the _collapsed function (was not needed) and call
6064 always width_collapsed().
6066 * insetert.C (InsetERT): use setLabel with "true" flag.
6068 * insetcollapsable.C: modified various functions to set the draw_label
6069 string right in any condition.
6070 (setLabel): added a bool parameter to set change_label_with_text.
6072 * insetcollapsable.h: added draw_label string which is set to the
6073 actual drawn label-string, while label is the original static label
6074 of this collapsable inset. Added bool change_label_with_text to set
6075 if we want that the label changes to the start of the InsetText's
6076 text when collabpsed. You can set this flag with the setLabel funciton.
6077 Added bool inlined for inlined collapsable insets, but not handled
6080 * insetcollapsable.C (get_new_label): added should get a new label
6081 from the InsetText beginning (for now 10 chars).
6083 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6085 * insetquotes.C (latex): fix the handling of french double quotes
6086 when not using the french pachage.
6088 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6090 * insetcollapsable.h: make WidthCollapsed mutable.
6092 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6093 InsetPrintIndex returns INDEX_PRINT_CODE.
6095 * inset.h: add INDEX_PRINT_CODE
6097 * insetcollapsable.C (draw): init widthCollapsed if necessary
6100 * insetquotes.C (width): use the local language, not the document
6103 (dispString): add additional spacing for all french languages,
6105 (validate): make it work when there is no default language
6107 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6109 * insetnote.C (init): new method, called by the constructors
6110 (InsetNote): new constructor with contents passed as a string
6112 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6114 * insetfootlike.C (insetAllowed): disallow float in footlike.
6116 * insetert.C (InsetERT): add collapsed argument to the constrctor
6119 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6121 * insetindex.h: shut off warning
6123 2001-07-20 Juergen Vigna <jug@sad.it>
6125 * insetcollapsable.C (update): recoded hopefully works now!
6127 2001-07-19 Juergen Vigna <jug@sad.it>
6129 * most files: implemented the below new introduced function.
6131 * inset.h: added new edit(BufferView *, bool front) method to be able
6132 to enter an inset from the front/back without knowing x/y positions
6133 and baselines inside the inset. So I just can tell the inset activate
6134 me and set the cursor on the front/back of yourself.
6136 2001-07-18 Juergen Vigna <jug@sad.it>
6138 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6139 is given to the InsetText.
6140 (insetButtonPress): ditto
6141 (insetButtonRelease): ditto
6142 (insetMotionNotify): ditto
6144 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6146 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6147 LIGATURE_BREAK, since the name is so stupid.
6149 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6151 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6152 the default InsetCollapsable methods. I.e., it can insert anything.
6153 (write) output the name of the inset, not some silly hack for
6154 compatability with the old InsetInfo.
6156 * insetinfo.[Ch]: removed.
6157 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6158 now collapsable, but functionality is otherwise identical to InsetInfo.
6160 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6162 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6164 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6167 * insetquotes.C: general cleanup
6168 (dispString): add spaces inside french double quotes.
6169 (latex): ditto. Moreover, treat first the case where the frenchb
6170 or french options have been given.
6172 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6174 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6177 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6179 * figinset.C (RegisterFigure): Print debug message only when
6180 current_view is available.
6182 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6184 * many files: update to match the change below
6186 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6187 implement the version which takes an inset here.
6189 * insetcollapsable.[Ch]: implement open and isOpen
6191 * inset.h: remove insertInsetAllowed from Inset
6192 (open): new method, to open or close an inset
6193 (isOpen): returns the status of an inset
6194 (isCollapsable, colapse): removed
6196 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6198 * insetquotes.C (dispString): display french guillemets when using
6201 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6203 * insetcollapsable.h: remove bogus return statements
6205 2001-07-18 Juergen Vigna <jug@sad.it>
6207 * insettabular.C (selectNextWord): fixed spellchecking for the
6208 first cell of a tabular (wasn't entered!)
6209 (getLyXText): changed to enter automatically insettext and return
6210 it's LyXText if we're locked.
6212 2001-07-17 Juergen Vigna <jug@sad.it>
6214 * various files: implemented the below functions.
6216 * inset.h: added functions
6217 - virtual string selectNextWord(BufferView *, float & value) const;
6218 - virtual void selectSelectedWord(BufferView *) { return; }
6219 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6220 needed for spellchecking correctly!
6222 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6224 * insetert.C (latex): write out all paragraphs.
6226 2001-07-17 Baruch Even <baruch@lyx.org>
6228 * insetgraphics.C (draw): Removed unneeded casts.
6230 2001-07-16 Juergen Vigna <jug@sad.it>
6232 * insettext.C (update): fixed small oversight (reset lt to 0).
6234 2001-07-14 Baruch Even <baruch@lyx.org>
6237 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6239 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6241 Consistent use of Lsstream.h:
6242 * figinset.C: removed using std::ostringstream directive.
6244 * insetgraphics.C (createLatexOptions):
6245 * insetinclude.C (unique_id):
6246 std::ostringstream -> ostringstream.
6247 * insettext.C (localDispatch): std::istringstream -> istringstream.
6249 2001-07-13 Juergen Vigna <jug@sad.it>
6251 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6253 * insetcollapsable.C (getLockingInset): ditto.
6255 2001-07-12 Juergen Vigna <jug@sad.it>
6257 * insetcollapsable.h: added implementation of new function for
6260 * various files: added implementation of new insertInsetAllowed-func
6261 and redone the function a bit more.
6263 * inset.h: added isCollapsable(), bool collapsed(),
6264 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6266 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6268 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6269 LyXText which is marked for removal while we're using it!
6271 * insettext.h: added private LyXText * lt to use it to assure we are
6272 not deleting our LyXText while we're using it!
6274 2001-07-11 Juergen Vigna <jug@sad.it>
6276 * insettext.C (insertInset): check if we are before the inset after
6277 inserting it! This check IS needed. Remove the Undo-Call as it is
6278 called in LyXText::insertInset!
6280 * insettext.h: added struct InnerCache.
6282 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6283 that we ONLY delete the LyXText in the getLyXText() routine. So we
6284 are sure we don't delete LyXText while someone is working with it!
6286 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6288 * insetexternal.C: (*it). -> it->
6289 * insettext.C: ditto
6291 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6293 * insetcollapsable.C (edit): always open collapsed insets (even if
6294 they are not autocollapsable)
6296 * insetcommand.C (operator=): simplify.
6298 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6300 * insetert.C (latex): handle META_NEWLINE
6302 2001-07-09 Juergen Vigna <jug@sad.it>
6304 * insetert.h: a normal InsetText can insert insets, but we won't.
6306 * inset.h: return default "false" on insertInsetAllowed and implement
6307 this function where a returnvalue != "false" is needed.
6309 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6311 * insetert.C (InsetERT): new contructor
6313 2001-07-06 Juergen Vigna <jug@sad.it>
6315 * a lot of files: added implementation of the below new functions
6316 and the change to clone(). Also the call of the new undo-functions
6319 * inset.h: added an inset_id, added functions getParFromID,
6320 getInsetFromID, firstParagraph, cursor and id functions, added
6321 bool same_ids to clone function.
6323 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6325 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6326 of BufferView * and shared_ptr<LyXText>
6328 2001-07-05 Juergen Vigna <jug@sad.it>
6330 * insettext.C (clear): deleted also the cache not only LyXText.
6331 (setParagraphData): ditto.
6333 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6335 * insetfloat.C (latex): let the specific placement take presedence
6336 if set, otherwise choose document placement if set, otherwise just
6337 use float default placement.
6339 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6341 * insettext.C (localDispatch): call CutAndPaste::'s static method
6344 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6346 * insetbib.C: no meed to include forms.h here.
6348 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6350 * insettext.C: added using std::make_pair directive.
6352 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6354 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6356 (deleteLyXText): ditto
6357 (resizeLyXText): ditto
6359 2001-07-02 Juergen Vigna <jug@sad.it>
6361 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6362 following calls are only returned the right pointer without the over
6363 head to search in the map.
6364 (various funcs): reset the cached_bview variable as this signs that
6365 the cache is not valid anymore.
6367 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6369 * insettabular.C (clone): do not copy the LyXTabular twice
6371 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6373 * insettext.h (TEXT): delete method
6375 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6377 * insetmarginal.C (latex):
6378 * insetfoot.C (latex): fix spacing of notes in LaTeX
6380 * insettext.C (localDispatch): use .c_str() on istringstream
6381 constructor argument.
6383 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6388 * inseturl.C: fix method names in these to begin
6389 with small char too, so they inherit
6391 2001-06-28 Juergen Vigna <jug@sad.it>
6393 * insettext.C (setFont): fixed font settings using toggleFree()
6394 instead of setFont().
6396 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6398 * Change a lot of method names to begin with a small char.
6399 Changes to a lot of files because of this.
6401 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6403 * insetfloatlist.C (Write): std:: qualify ostream
6406 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6410 * insetgraphics.C: send debug output to Debug::INFO instead of
6413 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6416 * insettabular.C (getStatus): update to use func_status
6418 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6420 * insetref.C (DocBook): added support for cross-references without
6423 2001-06-26 The LyX Project <jug@sad.it>
6428 * insetlabel.h: removed escape method and moved it to
6431 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6433 * insettabular.C (getMaxWidth): do the speedup in a different way,
6436 2001-06-24 The LyX Project <Asger>
6438 * insettabular.C (getMaxWidth): We cache a mapping from
6439 inset to cell in order to speed this method up.
6441 2001-06-24 The LyX Project <Asger>
6443 * insettext.C: Optimized InsetText::draw or something.
6445 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6447 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6449 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6451 * inset.h: name change from lyxinset.h
6453 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6455 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6457 2001-06-14 Juergen Vigna <jug@sad.it>
6459 * insettext.C (draw): removed warnings.
6461 2001-06-13 Juergen Vigna <jug@sad.it>
6463 * insettabular.C (nodraw): only go down the tree if we don't have
6464 that flag set otherwise it's obvious that we don't want to draw.
6465 (LocalDispatch): do also an update if we have an undispached result.
6467 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6470 * insetgraphicsParams.C:
6471 * insettext.C: removed // -*- C++ -*- as first line.
6473 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6475 * lyxinset.h (resizeLyXText): shut off warning about unused
6478 2001-06-07 Juergen Vigna <jug@sad.it>
6480 * insettext.C (resizeLyXText): honor the new force flag.
6482 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6484 * insettabular.C (deleteLyXText): new function
6486 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6494 * insetcollapsable.C:
6495 * insetcaption.C: LColor tidy
6497 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6499 * figinset.C: fix typo
6501 2001-06-01 Juergen Vigna <jug@sad.it>
6503 * insettabular.C (resetPos): small hack so that scroll is not set to
6504 0 when we are in the last column of a tabular. This is a problem we
6505 have because of constats 20 offset on both directions, so this can
6506 cause on the limit an endless loop.
6508 * insettext.C (SetFont): forgot that we can have locking insets ;)
6510 2001-05-31 Juergen Vigna <jug@sad.it>
6512 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6514 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6516 * figinset.C: add using std:: directive for the C functions which
6519 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6521 * insetfloat.C (Write): write out wide info
6522 (Read): read the wide info
6523 (Latex): use the wide info when creating latex.
6525 * insettext.C: adjust
6527 * insetgraphics.[Ch] (statusMessage): change to return string
6531 * figinset.C (runqueue): add std::
6534 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6536 * insetcite.C (Ascii): add std:: qualifier
6538 2001-05-28 Juergen Vigna <jug@sad.it>
6540 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6541 a endless-width inset (maxWidth < 0).
6542 (Edit): change language only if not equal.
6544 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6546 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6548 2001-05-16 Juergen Vigna <jug@sad.it>
6550 * insettext.C (selectAll): added
6551 (clearSelection): added
6553 * insettabular.C (SetFont): now we may set a font on a whole selection!
6554 (getSelection): added helper function.
6556 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6558 * insetcite.C (Ascii): Add method.
6560 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6563 * insetbib.C: fix path for OS/2 & Win32
6565 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6567 * insetfoot.C (Latex): don't use % after footnote.
6569 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6571 * insettext.C (Read): use clear
6572 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6574 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6576 * insetfloatlist.h: add a bunch of std:: qualifiers.
6578 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6580 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6581 FLOAT_LIST_CODE, renumber code list.
6583 * insettoc.C (getScreenLabel): remove support for float lists
6587 * insetfloatlist.[Ch]: new files
6589 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6591 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6593 * insettabular.C (LocalDispatch):
6594 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6597 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6599 * insettext.C: remvoe !NEW_INSETS cruft
6601 * insettabular.C: remove !NEW_INSETS cruft
6603 * insetcollapsable.h: remove !NEW_INSETS cruft
6605 * insetbib.C: remove !NEW_INSETS cruft
6607 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6609 * insettoc.C: hack to make listof algorithm work
6611 2001-04-20 Juergen Vigna <jug@sad.it>
6613 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6615 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6617 * insetquotes.C (Latex): improve the guard against
6618 unwanted !` and ?` ligatures. This should really be done in
6619 another place (to catch all this ligatures at low-level).
6621 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6623 * insettext.C (init): remvoe leftovers from cursor_visible change
6624 (draw): use c++ cast
6625 (LocalDispatch): dispatch LFUN_MESSAGE
6627 * insettabular.C (InsetTabular): remove leftovers from
6628 cursor_visible, and scoped_ptr changes
6629 (draw): use c++ cast
6631 * insetcollapsable.C (draw): use c++ cast
6633 * ExternalTemplate.h: inherit privaely from noncopyable
6634 * insetcommand.h: ditto
6635 * insetinclude.h: ditto
6637 2001-04-16 Allan Rae <rae@lyx.org>
6639 * insettoc.C (Ascii):
6640 * insettext.C (draw):
6641 * insettabular.C (setPos):
6642 * insetminipage.C (Read):
6643 * insetfloat.C (placement):
6644 * insetcaption.C (Ascii, DocBook):
6645 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6646 an unrecognised preprocessor directive. So ensure they're wrapped.
6648 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6651 * insetexternal.C: set view on Clone. Add _ to private members.
6653 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6655 * insettext.C (InsetText): fix new
6656 (InsetText): reindent some, simplify deletion of par list
6657 (clear): simplify deletion of par list, fix new
6658 (SetParagraphData): simplify deletion of par list
6660 * insettabular.[Ch] (getLabelList): implement new method
6662 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6664 * lyxinset.h: do not include gettext.h...
6672 * insetlatexaccent.C:
6676 * inseturl.C: ... and do it here instead
6678 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6680 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6682 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6684 * insetcollapsable.[Ch] (getLabelList): implement
6686 * insettext.[Ch] (getLabelList): implement
6688 * insettext.h: reindent
6690 * insettabular.h: make tabular a scoped_ptr
6692 * insettext.C (init): adjust for cursor_visible
6693 (ToggleInsetCursor): constify asc and desc, font, adjust for
6695 (ShowInsetCursor): constify asc and desc, font, adjust for
6697 (HideInsetCursor): adjust for cursor_visible
6699 * insettabular.C: reindent some
6700 (InsetTabular): adjust for scoped_ptr and cursor_visible
6701 (InsetTabular): ditto
6702 (~InsetTabular): delete delete
6703 (Clone): adjust for scoped_ptr
6704 (Read): constify old_format, adjust for scoped_ptr, move init of
6706 (draw): constify tx, localize loop vars.
6707 some other localization of variables, remove double initilizatons.
6709 * insetfoot.C: remove using std::ostream, add ostream where needed
6711 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6713 * lyxinset.h: some reindentaion, use initializer list for
6715 UpdatableInset: make cursor_visible a private var add
6716 public isCursorVisible(), add protected toggleCursorVisible() and
6717 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6719 * insettoc.C: remvoe using decl
6720 (getScreenLabel): make cmdname donst
6723 (Ascii): don't use endl
6725 * insetfootlike.C: remove using decl at file scope and add std::
6727 * insetmarginal.C: ditto
6729 * insetfoot.C: some reformatting
6731 * insetfloat.C (InsetButtonRelease): adjust the hit area
6733 * insetert.C (SetFont): some reformatting
6735 * insetcollapsable.C: some reformatting and constification
6736 (Clone): comment out.
6737 * insetcollapsable.h: some reformatting
6738 (Clone): comment out.
6743 2001-03-30 Juergen Vigna <jug@sad.it>
6745 * insetcollapsable.h: changen *inset to be a InsetText inset.
6747 * some files: changed to reflect the above change.
6749 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6751 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6752 InsetExternal::Params.
6753 Added operator==() and operator!=() for the Params struct.
6755 2001-03-29 Juergen Vigna <jug@sad.it>
6757 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6760 * insetminipage.C: removed widthp_ and all it's functions and changed
6761 to use new %-lengths of LyXLength.
6763 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6765 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6767 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6769 * insetgraphicsParams.C (operator!=): new function, needed by the
6770 ControlGraphics class.
6772 2001-03-28 Juergen Vigna <jug@sad.it>
6774 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6775 (checkAndActivateInset): don't use the values returned from
6776 call to bv->checkInsetHit.
6778 * insetminipage.C (Clone): set special minipage values.
6780 * insetcollapsable.C (draw): changed to draw the button in the
6781 upper left corner outside the textinset.
6782 (ascent): changed because of different drawing
6786 (InsetButtonPress): ditto
6787 (InsetButtonRelease): ditto
6788 (InsetMotionNotify): ditto
6790 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6792 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6796 2001-03-26 Juergen Vigna <jug@sad.it>
6798 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6800 * insettext.C (ShowInsetDialog): implemented above function.
6802 * insettabular.C (ShowInsetDialog): ditto
6804 * insetminipage.C (ShowInsetDialog): ditto
6806 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6808 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6809 InsetInclude::Params. Don't store a buffer * in Params. Store the
6810 master file name instead.
6812 2001-03-23 Juergen Vigna <jug@sad.it>
6814 * insetcollapsable.C (InsetMotionNotify):
6815 (InsetButtonRelease):
6816 (InsetButtonPress): fixed y-offset (minipages).
6818 * insettext.C (draw): force a FULL update if cleared == true.
6820 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6821 routine to draw the minipages on its position-flag.
6822 (InsetInInsetY): give back the right y position, because of minipage
6825 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6828 * insetfloat.C (DocBook): docbook export code.
6830 2001-03-22 Juergen Vigna <jug@sad.it>
6832 * insetminipage.C (getMaxWidth): added function to set the drawing
6834 (Read): should work now!
6836 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6837 if we create a new inset.
6839 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6841 * figinset.C (fl_set_preemptive_callback): moved definition outside
6844 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6846 * insetminipage.C (Read): prepare for reading of minipage arguments.
6848 2001-03-18 Baruch Even <baruch@lyx.org>
6850 * insetgraphics.C: Minor cleanups of the comments and code.
6852 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6854 * insetminipage.C (InsetMinipage): default to not collapsed
6856 2001-03-16 Juergen Vigna <jug@sad.it>
6858 * insetminipage.C (width): modified with to be a string
6859 (widthp): added widthp (for % width) support functions.
6860 (InsetButtonRelease): added to open the options dialog on button==3.
6861 (~InsetMinipage): added to hide the dialog.
6863 * insetminipage.h: added hideDialog signal
6865 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6867 * insetminipage.h: change the order or Position to match
6868 LyXParagraph::MINIPAGE_ALIGNMENT
6870 * several files: remvoe CXX_WORKING_NAMESPACES
6872 * ExternalTemplate.h: noncopyable is in namespace boost
6873 * insetinclude.h: ditto
6874 * insetcommand.h: ditto
6876 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6878 * insettext.C (Edit): #else# -> #else.
6879 * insettoc.C: added using directive.
6881 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6883 * insetminipage.h: add pos, inner_pos, width and height. + getters
6884 and setters for all of them.
6886 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6888 * insetinclude.C (Latex): Do not exit when the textclass of the
6889 included file differ from the textclass of the parent file.
6891 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6893 * ExternalTemplate.C (read): the reading of external insets now checks
6894 for \end_inset and removes it form the input stream.
6896 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6898 * ExternalTemplate.h:
6899 * ExternalTemplate.C:
6901 * insetexternal.C: move form to GUII
6903 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6906 * insetinclude.C: add InsetIncludeParams, use
6907 composition rather than derivation of InsetCommand
6909 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6911 * insettoc.C (Ascii): use the Buffer typedefs
6913 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6915 * insettoc.C (Ascii): implement for dynamic number of lists
6917 * insetcaption.[Ch]: update from new_insets branch
6918 * insetfloat.[Ch]: ditto
6920 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6923 * figinset.C: use new File Dialog
6925 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6927 * insettext.C: changes becuase of ParagraphParameters.
6929 2001-02-28 Baruch Even <baruch@ev-en.org>
6931 * insetgraphics.C (updateInset): Changed due to the change in
6934 2001-02-26 Juergen Vigna <jug@sad.it>
6936 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6937 handled in LyXText).
6939 2001-02-23 Juergen Vigna <jug@sad.it>
6941 * insettext.C (draw): some small repainting fixes.
6942 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6944 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6945 should be) and not an int.
6947 * insettabular.C (LocalDispatch): ditto
6949 * insettext.C (LocalDispatch): ditto
6951 * insetcollapsable.C (LocalDispatch): ditto
6953 2001-02-22 Juergen Vigna <jug@sad.it>
6955 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6956 DISPATCH it and we don't have a locking_inset.
6958 2001-02-21 Baruch Even <baruch@ev-en.org>
6960 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6961 instead of GraphicsCacheItem *.
6963 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6965 * insetcollapsable.C (getLyXText): add const qualifier to second
6968 2001-02-22 Juergen Vigna <jug@sad.it>
6970 * insettext.C (getLyXText): honor the recursive parameter.
6971 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6973 * inset.C (getLyXText): added bool recursive parameter.
6975 * insettext.C (SetUpdateStatus): or the update codes.
6976 (draw): check need_update with &.
6977 (InsetButtonPress): set no_selection to not put a selection when
6978 entering an inset and it is redraws in another spot.
6980 * insettext.h: made need_update an int.
6982 2001-02-20 Baruch Even <baruch@ev-en.org>
6985 * insetgraphisc.C: Changed to use better semantics when loading images
6986 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6988 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6992 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6993 consistent with InsetTabular.
6995 2001-02-19 Juergen Vigna <jug@sad.it>
6997 * insettabular.C (LocalDispatch): implement PAGE up/down.
6999 * insettext.C (draw): clear all of it on need_update==INIT too!
7001 * insettabular.C (InsetUnlock): always clear the selection.
7003 * inset.C (scroll): normally we only want to scroll the inset until
7004 it is fully visible so if top_x + offset > 20 then just set scx to 0.
7006 2001-02-14 Juergen Vigna <jug@sad.it>
7008 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
7009 (resetPos): fixed scroll behaviour.
7010 (LocalDispatch): do an update if moving cursor inside a table cell
7011 requests a scroll of the tabular.
7013 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
7015 * insettext.C (textWidth): constify local var
7017 * insettabular.C: small cleanup.
7019 * insetfoot.C (Latex): constify local var
7021 * insetcollapsable.C: small cleanup.
7023 * figinset.C (runqueue): use compare instead of strcmp
7025 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
7028 * insetinfo.C: remove cruft
7030 2001-02-14 Juergen Vigna <jug@sad.it>
7032 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7034 2001-02-13 Juergen Vigna <jug@sad.it>
7036 * insettext.C (InsertInset): don't move left (is this right?)
7038 * insettabular.C (LocalDispatch): use of the no_draw variable
7040 * insettabular.h: new no_draw variable to stop redraw
7042 * insettabular.C (TabularFeatures): fixed update for alignment change
7044 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7048 * insetbib.C: move dialogs to frontends/
7050 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7052 * insettext.C (LocalDispatch): Restore the language if the inset
7055 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7057 * insettext.C (moveRightIntern): Update the selection cursor.
7058 (moveLeftIntern): Ditto.
7060 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7062 * Makefile.am: remove BoundingBox.h
7064 * BoundingBox.h: removed
7066 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7068 * insettext.C (LocalDispatch): Update selection cursor when moving
7069 cursor to the right.
7070 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7071 (moveLeftIntern): Ditto.
7073 2001-02-05 Baruch Even <baruch.even@writeme.com>
7075 * insetgraphics.C: Updated automatic image conversion, it now goes into
7076 temporary directory instead of with the image itself.
7078 2001-01-21 Baruch Even <baruch@ev-en.org>
7080 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
7081 to EPS or PNG when needed (support bitmap graphics).
7083 2000-11-02 Baruch Even <baruch@ev-en.org>
7086 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
7087 and removal of commented out code.
7089 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7091 * insetbib.C (callback): Update citations if the key has changed.
7093 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7095 * insetbib.C (InsetBibKey): Better computation of default key.
7096 (getScreenLabel) Show both the key and the label.
7097 (getBibLabel): New method.
7098 (callback): Force a redraw if the inset have been changed.
7100 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7102 * insetref.C (getType, getName): Move methods from
7103 src/frontends/xforms/FormRef.C.
7105 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7107 * insettabular.C: Various improvements (use only one dummy position).
7109 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7111 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7112 par->bibkey->width. This fixes the crashes when running without
7113 gui or when having included documents.
7115 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7117 * insetcommand.C (getAsString, setFromString): Cleanup.
7119 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7121 * insetref.C: Add the array InsetRef::types that contains
7122 information about all supported reference types.
7124 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7126 * lyxinset.h: remove trailing comma in enum.
7128 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7130 * insettext.C: kill LyXBell.