1 2004-05-17 Angus Leeming <leeming@lyx.org>
3 * insetcommand.C (priv_dispatch): act on receipt of LFUN_INSET_REFRESH
4 to force the button label to be re-generated.
6 2004-05-14 José Matos <jamatos@lyx.org>
8 * insetlabel (docbook): do not ouput label, for the moment.
10 2004-05-14 Angus Leeming <leeming@lyx.org>
12 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
13 new biblio::asValidLatexString function.
15 2004-05-12 Angus Leeming <leeming@lyx.org>
17 * insetcite.C: use BufferParams::cite_engine rather than the three
18 bools, use_natbib, use_jurabib, use_numerical_citations.
20 2004-05-10 Angus Leeming <leeming@lyx.org>
22 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
23 Ditto with getStyle, moved to biblio::getEngine.
25 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
27 * insetgraphics.C (validate): remove pre 233 file format stuff,
28 handle zipped files for "nice" export
30 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
32 * insetgraphics.C (prepareFile): copy zipped file and corresponding
33 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
34 * insetgraphics.C (prepareFile): unzip zipped file also if it has
35 changed since the last run
36 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
39 2004-04-29 Angus Leeming <leeming@lyx.org>
41 * ExternalTemplate.[Ch]: remove redundant #includes.
43 2004-04-28 Angus Leeming <leeming@lyx.org>
46 s/updateToolbar()/updateToolbars()/
48 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
50 * insetgraphics.C: require file extension (file format change!)
51 * insetgraphics.C (latex): handle zipped files for "nice" export
53 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
55 * insetgraphics.C (latex): strip the extension and replace dots in
56 the filename if doing a "nice" export. This is a partial fix for
57 bug 1231 without reintroducing bug 655.
59 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
61 * insetoptarg.h: remove the editable() method (InsetCollapsable
62 does it better already)
64 * insetbibtex.C (normalize_name): new helper function. Changes the
65 name to be suitable to use in a latex file (relative to master
67 (latex): use normalize_name.
69 2004-04-20 Angus Leeming <leeming@lyx.org>
71 * render_preview.C (startLoading): remove lyxerr statement.
73 (getPreviewLoader): new helper function.
75 2004-04-19 Angus Leeming <leeming@lyx.org>
79 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
81 2004-04-19 Angus Leeming <leeming@lyx.org>
83 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
85 (add_preview): renamed as add_preview_and_start_loading. Invoke
86 RenderPreview::startLoading.
88 * insetinclude.C (metrics, draw): changes due to the changed
89 RenderPreview interface.
91 * render_preview.C: remove cached pimage_.
92 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
93 (draw): don't call startLoading. That's up to the user of
96 2004-04-16 Angus Leeming <leeming@lyx.org>
98 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
100 2004-04-13 Angus Leeming <leeming@lyx.org>
102 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
103 the renderer to inform LyX::updateInset that the inset's status
104 has changed and it should be redrawn.
106 * render_button.[Ch] (clone):
107 * render_graphic.[Ch] (c-tors, clone):
108 * render_preview.[Ch] (c-tors, clone): ditto.
110 * render_graphic.[Ch] (connect):
111 * render_preview.[Ch] (connect): removed, as connection is now
112 made in the constructors.
116 * insetinclude.C: ensuing simplification of the client code.
117 (statusChanged): now superfluous. Removed.
119 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
121 * ExternalTemplate.[Ch]: remove editCommand
122 * ExternalSupport.C (editExternal): use formats.edit() instead of
123 the removed editCommand template parameter
124 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
125 * insetgraphics.[Ch] (editGraphics): new method
127 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
129 * insetinclude.C (validate): set/reset features.buffer_ when
132 2004-04-07 Angus Leeming <leeming@lyx.org>
134 * insetexternal.C (priv_dispatch):
135 * insetinclude.C (priv_dispatch): prevent crash by invoking
136 InsetOld::priv_dispatch at the end of the switch, rather than
137 InsetOld::dispatch...
139 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
141 * insetcollapsable.C:
142 * insetbranch.C: 'assign' to open/close branch inset according to
143 selection; also print content on closed branch button
145 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
147 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
148 $$RelPath_Master, $$RelPath_Parent, $$Extension,
149 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
151 * ExternalSupport.C (updateExternal): use absolute and output
152 filename where appropriate
154 2004-04-05 André Pönitz <poenitz@gmx.net>
156 * insetbase.h: use LCursor & in notifyCursorLeave
158 2004-04-05 Angus Leeming <leeming@lyx.org>
160 * insetgraphics.C: remove unused header file "lyxrc.h".
162 * render_graphic.C: squash bug 1372: Misleading graphics label when
163 deactivating lyx view.
165 2004-04-05 Angus Leeming <leeming@lyx.org>
170 * insetlatexaccent.C:
175 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
177 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
179 * insetfloat.C (read): fix yesterday's float fix.
180 * insetwrap.C (read): apply the fixed float fix.
182 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
184 * insetfloat.C (read): fix reading of float params
187 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
189 * insettext.C (edit): comment the call to updateLocal (dangling now)
190 * insettext.h: add allowSpellCheck() returning true
192 2004-03-31 Angus Leeming <leeming@lyx.org>
194 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
196 2004-03-31 Angus Leeming <leeming@lyx.org>
198 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
199 the cursor out of an inset.
201 * insetbranch.C (priv_dispatch):
202 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
203 use getOutOfInset to push the cursor out of the inset when
206 2004-03-30 Angus Leeming <leeming@lyx.org>
208 * insetbase.[Ch] (translate): new static member function, returns
209 an InsetBase::Code corresponding to the input string.
211 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
213 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
214 so that it opens the inset if it refers to the currently active
217 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
219 * insetfloat.C (addToToc): use par_const_iterator_begin and
220 par_const_iterator_end.
222 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
224 * insetbibtex.[Ch]: bibtopic support.
226 * insetfloat.[Ch]: add param \sideways {true|false}
227 (support for sideways floats from rotating.sty).
229 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
231 * insettext.[Ch]: add a default ctor. implement const version of
237 * insetwrap.C: adjust
239 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
241 * insettext.h: add insetAllowed returning true by default (fixing
242 vanishing insets problem)
244 * insettext.C (draw): handle the responsability of adding the
245 ouside offset to collapsable. Clean code a bit.
247 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
248 from insettext correctly, solve a couple of off-by-one drawing
251 2004-03-25 Angus Leeming <leeming@lyx.org>
253 * insetcaption.C (draw): squash warning about unused variable.
255 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
257 * ExternalSupport.C: use the master buffer's temp dir
258 * insetgraphics.C (latex): make relative filename relative to the
260 * insetgraphics.C: use the master buffer's temp dir
261 * insetinclude.C (masterFilename): new function
262 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
263 is always true if loadIfNeeded() returns true)
265 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
267 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
268 set its parent to the current buffer.
269 (latex): use the tmppath of the master buffer, not just the parent
270 buffer (makes a difference with more than one level of include
271 insets). If the file name is relative write in the .tex file a
272 name relative to the master buffer directory.
274 * insetinclude.C: rename masterFilename to parentFilename (this
275 points to the direct parent)
277 2004-03-25 André Pönitz <poenitz@gmx.net>
279 * inset.[Ch]: remover owner
281 * insetcollapsable.[Ch]: derive from InsetText instead having such a
289 * insetcharstyle.[Ch]:
297 * insetwrap.C: adjust
299 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
301 * insetquote.C: use opening quote after '[' char.
303 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
305 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
308 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
310 * insetcite.[Ch]: support jurabib.
312 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
314 * insetcite.C: Support second \cite option.
317 * insetcommandparams.[Ch]: add second optional argument.
319 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
321 * insetcollapsable.C (lfunMouseRelease): right mouse button only
322 shows the inset dialog.
324 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
326 * insetlabel.[Ch]: remove them
327 * Makefile.am: adjust
329 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
331 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
333 * insetinclude.C (latex): show a GUI warning if textclasses don't
335 * insetinclude.C: use mangledFilename() for temp files
336 * insetgraphics.C (readInsetGraphics): remove version check, since
337 the graphics inset has no own fileformat number anymore
339 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
341 * insetquotes.[Ch]: added new member that allows direct access
342 to single/double quotation marks.
344 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
346 2004-02-16 André Pönitz <poenitz@gmx.net>
349 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
350 implicitly assume 'DispatchResult(true, true) with exception of
351 InsetBase::priv_dispatch which does the equivalent of
352 'retrun DispatchResult(false)'
354 * inset*.[Ch] (priv_dispatch): adjust
356 * insettabular.[Ch]: remove remains of the 'update' mechanism,
357 simplify cursor moving function,
358 re-enable horizontal scrolling for large tables
360 2004-02-13 André Pönitz <poenitz@gmx.net>
362 * insettabular.[Ch]: some work after IU
364 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
366 * inset.C (setPosCache): switch to absolute coords in insets
367 * insettext.[Ch] (draw, drawFrame): adjust
368 * insetcollapsable.C (draw): adjust
371 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
373 * insettext.C (edit):
374 (updateLocal): use the cur argument instead of the global cursor
375 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
377 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
379 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
381 * insetfloat.C (validate): "H" -> 'H' in call to contains
383 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
385 2004-01-30 André Pönitz <poenitz@gmx.net>
389 * insetcollapsable.[Ch]:
392 * insetgraphics.[Ch]:
397 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
400 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
402 * insettabular.C: add using statement for std::vector, remove
403 std:: where using was already used.
405 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
407 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
409 * insetinclude.C (validate): use feautures.nice() instead of
412 2004-01-20 André Pönitz <poenitz@gmx.net>
415 * insetbase.[Ch]: move stuff from mathcursor here.
421 * insetcharstyle.[Ch]:
422 * insetcollapsable.[Ch]:
425 * insetexternal.[Ch]:
427 * insetgraphics.[Ch]:
436 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
438 2004-01-15 André Pönitz <poenitz@gmx.net>
445 * insetcharstyle.[Ch]:
446 * insetcollapsable.[Ch]:
449 * insetexternal.[Ch]:
451 * insetgraphics.[Ch]:
460 * updatableinset.[Ch] (priv_dispatch et al): change signature.
462 2004-01-08 André Pönitz <poenitz@gmx.net>
464 * insetcollapsable.[Ch]:
467 * updatableinset.h: use cell index info from global cursor.
469 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
471 * insetnote.C (InsetNoteParams::write): write label only once
473 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
475 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
477 get rid of the SameName functor
479 * insettabular.C: improve the functor.
481 2003-12-29 Angus Leeming <leeming@lyx.org>
483 * insetexternal.C (setParams): update defaultTemplateName.
485 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
487 * insetbox.C: Use term "Box" in button label
489 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
491 * insetcharstyle.C: get getDrawFont working again
493 2003-12-15 André Pönitz <poenitz@gmx.net>
496 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
498 2003-12-12 Angus Leeming <leeming@lyx.org>
500 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
502 (InsetBranchParams): remove the branchlist hack.
503 (isBranchSelected): new function, used to decide whether to
504 print each output format. Also used by InsetList.
505 (read, string2params): repair my own breakage ;-)
507 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
509 * insetminipage.[Ch]: remove from repository.
511 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
514 * insetcollapsable.[Ch]: Move all CollapseStatus code from
515 insetert to insetcollapsable; introduce virtual function
516 setButtonLabel and invoke it from collapsable
518 2003-12-12 Angus Leeming <leeming@lyx.org>
520 * insetinclude.C (draw): cache x,y and so enable the
523 2003-12-12 Angus Leeming <leeming@lyx.org>
525 * mailinset.C (print_mailer_error): tidy up the output.
527 2003-12-11 Angus Leeming <leeming@lyx.org>
529 * mailinset.[Ch] (print_mailer_error): new helper function.
531 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
532 calling InsetCommandMailer.
533 (InsetCommandMailer::string2params): pass the name of the dialog.
535 * insetbibitem.[Ch] (d-tor):
536 * insetbibtex.[Ch] (d-tor):
537 * insetcite.[Ch] (d-tor):
538 * insetfloatlist.[Ch] (d-tor):
539 * insetindex.[Ch] (d-tor):
540 * insetlabel.[Ch] (d-tor):
541 * insetref.[Ch] (d-tor):
542 * insettoc.[Ch] (d-tor):
543 * inseturl.[Ch] (d-tor): removed.
544 Hiding the dialog is handled by InsetCommand.
546 * insetbibtex.[Ch] (draw, metrics):
547 * insetfloatlist.[Ch] (draw, metrics):
548 * insetindex.[Ch] (draw, metrics): removed.
549 Drawing is handled by InsetCommand.
551 * insetbibitem.[Ch] (priv_dispatch):
552 * insetbibtex.[Ch] (priv_dispatch):
553 * insetcite.[Ch] (priv_dispatch):
554 * insetfloatlist.[Ch] (priv_dispatch):
555 * insetindex.[Ch] (priv_dispatch):
556 * insetlabel.[Ch] (priv_dispatch):
557 * insettoc.[Ch] (priv_dispatch):
558 * inseturl.[Ch] (priv_dispatch): removed or simplified.
559 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
560 LFUN_INSET_DIALOG_SHOW.
562 * insetbox.C (string2params):
563 * insetbranch.C (string2params):
564 * insetert.C (string2params):
565 * insetexternal.C (string2params):
566 * insetfloat.C (string2params):
567 * insetinclude.C (string2params):
568 * insetminipage.C (string2params):
569 * insetnote.C (string2params):
570 * insetvspace.C (string2params):
571 * insetwrap.C (string2params): over-hauled.
573 2003-12-10 Angus Leeming <leeming@lyx.org>
575 * insetexternal.[Ch]: add a draft option and respect it when
578 2003-12-10 Angus Leeming <leeming@lyx.org>
580 * insetbox.C: (read, write): now prepend the inset contents with
581 'Box' to identify the inset as a box inset.
583 * insetbox.h: move the translators out of sight.
585 2003-12-10 Angus Leeming <leeming@lyx.org>
587 * insetert.C (string2params): clean-up using the new lyxlex interface.
589 * insetexternal.C: ensure that InsetExternalParams has a default
590 template, 'RasterImage'.
592 2003-12-10 Angus Leeming <leeming@lyx.org>
594 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
595 to an enum. Ensuing clean-ups through out the class.
596 (read, write): now prepend the inset contents with 'Note' to identify
597 the inset as a note inset.
599 2003-12-10 Angus Leeming <leeming@lyx.org>
601 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
602 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
604 2003-12-10 André Pönitz <poenitz@gmx.net>
609 * insettext.[Ch]: remove unused insetInset()
611 * insetert.C: disable some LFUNs
613 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
615 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
617 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
619 2003-12-04 Angus Leeming <leeming@lyx.org>
621 * insetexternal.C (draw): update the xo_, yo_ cache.
623 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
625 (RotationDataType): new helper struct wrapping the
626 RotationData::OriginType enum.
628 2003-12-03 André Pönitz <poenitz@gmx.net>
630 * inset.h: remove getParagraphs()
632 * insetcollapsable.[Ch]:
636 * insettext.C: use getText() instead of getParagraphs()
638 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
640 * insetert.C: fix label text updating bug
642 2003-12-02 Angus Leeming <leeming@lyx.org>
644 * insetvspace.[Ch] (space): new member function. Make space_ private.
645 (read): use the new, simpler lyxlex syntax.
647 2003-12-01 André Pönitz <poenitz@gmx.net>
649 * insetcollapsable.[Ch]:
650 * insetert.[Ch]: move 'inline' state to InsetCollapsable
652 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
654 * insetvspace.C (read): handle 'end_inset' token.
656 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
658 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
660 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
662 * insetcollapsable.[Ch]:
664 * insetcharstyle.C: place inset content on the button when
667 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
669 * insetvspace.C: remove VSpace::NONE; increase inset width
671 2003-12-01 André Pönitz <poenitz@gmx.net>
673 * insetbase.h: whitespace
675 * inset.[Ch]: remove latexTextWidth
676 make setBackgroundColor virtual
678 * insettext.[Ch]: move ParagraphList member to LyXText
680 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
686 * insetminipage.[Ch]:
688 * insetwrap.[Ch]: adjust paragraphs and background color handling,
690 2003-11-28 Angus Leeming <leeming@lyx.org>
692 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
693 hiding and showing the dialog respectively.
694 (priv_dispatch): also actually update the inset contents.
696 2003-11-28 Angus Leeming <leeming@lyx.org>
698 * insetbox.C (d-tor):
699 * insetbranch.C (d-tor):
700 * insetcite.C (d-tor):
701 * insetfloat.C (d-tor):
702 * insetfloatlist.C (d-tor):
703 * insetinclude.C (d-tor):
704 * insetindex.C (d-tor):
705 simplify the invocation of the Mailer::hideDialog() function.
707 * insetminipage.C (showInsetDialog):
708 simplify the invocation of the Mailer::showialog() function.
710 2003-11-28 André Pönitz <poenitz@gmx.net>
713 * insetvspace.[Ch]: new insets
715 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
717 * insetcharstyle.C: Syntax change for CharStyles
719 2003-11-28 André Pönitz <poenitz@gmx.net>
721 * updatableinset.h: remove insetInInsetY
723 * insetcollapsable.[Ch]:
726 * insettext.[Ch]: adjust
728 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
732 * insetcollapsable.[Ch]:
734 * insettabular.[Ch]: remove setFont
736 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
738 * render_graphic.[Ch]: adjust comments
740 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
742 * insetgraphics.C (draw): cache xo_ & yo_
744 2003-11-24 André Pönitz <poenitz@gmx.net>
746 * insettext.C (setViewCache): don't call LyXText::init() anymore
748 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
751 * insetcollapsable.[Ch]:
752 * insetert.[Ch]: remove bufferview parameter in methods
753 open, close, status, and updateStatus.
755 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
757 * insetcollapsable.[Ch]:
759 * insettext.[Ch] (getCursorDim): squash unused variable
761 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
763 * insettext.C (edit): x0_,y0_ -> xo_,yo_
765 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
767 * insettext.C (draw): sets LyXText absolute coordinates
769 2003-11-20 Angus Leeming <leeming@lyx.org>
771 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
772 about unused parameters.
774 * insetcollapsable.C (open):
775 * insettabular.C (pasteSelection):
776 * insettoc.C (draw): ditto.
778 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
780 * insetcollapsable.C:
782 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
783 remove mouse_x mouse_y etc.
785 2003-11-17 André Pönitz <poenitz@gmx.net>
787 * insettext.[Ch] (cx, cy): remove
789 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
791 2003-11-13 André Pönitz <poenitz@gmx.net>
794 * insetcollapsable.[Ch]:
796 * insettext.[Ch] (deleteLyXText): remove
798 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
800 * insetcollapsable.[Ch] (fitInsetCursor): remove
801 * insettabular.[Ch] (fitInsetCursor): remove
802 * insettext.[Ch] (fitInsetCursor): remove
803 * updatableinset.[Ch] (fitInsetCursor): remove
804 (getCursorDIm): add virtual
806 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
808 * src/insets/Makefile.am:
809 * src/insets/inset.h:
810 * src/insets/insetcharstyle.C:
811 * src/insets/insetcharstyle.h: The Character Style /XML short
814 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
816 * insettext.C: remove all update calls
817 * insetcollapsable.C: remove all update calls
819 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
821 * insettext.C (updateLocal, insertInset, setFont): remove
824 2003-11-10 André Pönitz <poenitz@gmx.net>
826 * inset.h: remove Inset::id_
828 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
831 2003-11-10 André Pönitz <poenitz@gmx.net>
835 * insetcollapsable.[Ch]:
842 * updatableinset.[Ch]: remove inset locking & adjust
844 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
846 * inset.h (allowSpellCheck): add (return true)
847 * insetert.h (allowSpellCheck): add (return false)
849 2003-11-05 José Matos <jamatos@lyx.org>
857 * insetcollapsable.[Ch]:
861 * insetexternal.[Ch]:
863 * insetfloatlist.[Ch]:
865 * insetgraphics.[Ch]:
870 * insetlatexaccent.[Ch]:
873 * insetmarginal.[Ch]:
874 * insetminipage.[Ch]:
878 * insetpagebreak.[Ch]:
882 * insetspecialchar.[Ch]:
888 * insetwrap.[Ch]: rename ascii to plaintext
889 and LatexRunParams to OutputParams.
891 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
893 * insetcollapsable.C (edit): add open() all
894 * insettext.C (edit): add setViewCache call
896 2003-11-04 André Pönitz <poenitz@gmx.net>
898 * inset.h (edit): move locking code from dispatch() to edit()
904 * insetcollapsable.[Ch]:
907 * insetexternal.[Ch]:
908 * insetgraphics.[Ch]:
914 * insettext.[Ch]: adjust
916 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
919 * insetcollapsable.[Ch]:
923 * updatableinset.[Ch]: remove dead search code
925 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
928 * insetcollapsable.[Ch]:
932 * updatableinset.[Ch]: remove dead spellcheck code
934 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
936 * insettabular.C (lockInsetInInset): small fix
938 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
940 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
941 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
942 from here. Be stricter on DispatchResult returned.
944 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
946 * Inset::dispatch's: adjust for new DispatchResult semantics.
948 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
950 * render_base.h: make clone return an auto_ptr
951 * render_button.C (clone): adjust
952 * render_graphic.C (clone): adjust
953 * render_preview.C (clone): adjust
955 * insettheorem.C (clone): return an auto_ptr
957 * insettext.C (priv_dispatch): exception safety
959 * insettabular.C: store the file scope variable paste_tabular in a
960 scoped_ptr, adjust usage.
962 * insetexternal.C (setParams): exception safety
964 * insetbibitem.C (clone): exception safety
966 2003-11-03 André Pönitz <poenitz@gmx.net>
969 * insetcollapsable.[Ch]:
971 * insettext.[Ch]: remove Inset::id and related functions
973 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
975 * insets: adjust for DispatchResult changes.
977 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
979 * insetpagebreak.C: fix screen representation & ascii output.
981 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
986 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
988 2003-10-31 José Matos <jamatos@lyx.org>
990 * inset.h (ascii, linuxdoc, docbook):
991 * insetbox.[Ch] (ascii, linuxdoc, docbook):
992 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
993 * insetcaption.[Ch] (ascii, docbook):
994 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
995 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
996 * insetert.[Ch] (ascii, linuxdoc, docbook):
997 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
998 * insetfloat.[Ch] (linuxdoc, docbook):
999 * insetfloatlist.[Ch] (ascii):
1000 * insetfoot.[Ch] (docbook):
1001 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
1002 * insethfill.[Ch] (ascii, linuxdoc, docbook):
1003 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
1004 * insetindex.[Ch] (docbook):
1005 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1006 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1007 * insetline.[Ch] (ascii, linuxdoc, docbook):
1008 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1009 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1010 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1011 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1012 * insetref.[Ch] (ascii, linuxdoc, docbook):
1013 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1014 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1015 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1016 * insettext.[Ch] (ascii, linuxdoc, docbook):
1017 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1018 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1019 * insetwrap.[Ch] (docbook):
1020 add LatexRunParams argument.
1022 2003-10-30 José Matos <jamatos@lyx.org>
1024 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1026 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1028 * updatableinset.C (priv_dispatch):
1029 * insetwrap.C (priv_dispatch):
1030 * inseturl.C (priv_dispatch):
1031 * insettoc.C (priv_dispatch):
1032 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1033 (moveLeftIntern, moveUp, moveDown):
1034 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1035 (moveLeft, moveUp, moveDown):
1036 * insetref.C (priv_dispatch):
1037 * insetnote.C (priv_dispatch):
1038 * insetminipage.C (priv_dispatch):
1039 * insetlabel.C (priv_dispatch):
1040 * insetindex.C (priv_dispatch):
1041 * insetinclude.C (priv_dispatch):
1042 * insetgraphics.C (priv_dispatch):
1043 * insetfloatlist.C (priv_dispatch):
1044 * insetfloat.C (priv_dispatch):
1045 * insetexternal.C (priv_dispatch):
1046 * insetert.C (priv_dispatch):
1047 * insetcommand.C (priv_dispatch):
1048 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1049 * insetcite.C (priv_dispatch):
1050 * insetbranch.C (priv_dispatch):
1051 * insetbox.C (priv_dispatch):
1052 * insetbibtex.C (priv_dispatch):
1053 * insetbibitem.C (priv_dispatch):
1054 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1056 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1058 * insettext.C: small refactoring of docbook stuff
1060 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1062 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1063 (priv_dispatch): adjust for operator dispatch_result_t removal
1065 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1066 in a DispatchResult, adjust accordingly.
1067 (priv_dispatch): use strange >= construct... (will be removed later)
1069 * most insets: dispatch_result -> DispatchResult
1071 * insetbase.h: move DispatchResult out to dispatchresult.h
1073 2003-10-27 André Pönitz <poenitz@gmx.net>
1075 * insetpagebreak.[Ch]: new inset for page breaks
1077 * insetline.[Ch]: new inset for vertical lines
1082 2003-10-25 Angus Leeming <leeming@lyx.org>
1084 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1085 new virtual member functions, specialised...
1086 * render_button.h (asButton):
1087 * render_graphic.h (asGraphic):
1088 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1090 * insetexternal.C: use these new functions rather than dynamic_cast.
1091 Various other small simplifications.
1093 2003-10-22 Angus Leeming <leeming@lyx.org>
1095 * insetexternal.[Ch]: add the ability to 'preview' the external file
1098 * insetinclude.C: changes due to the changes in the RenderPreview
1101 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1102 message if the preview image is not available. Only initiate the
1103 loading of the preview from draw(). Ditto, start the monitoring
1104 of an external file from RenderMonitoredPreview::draw.
1106 2003-10-22 Angus Leeming <leeming@lyx.org>
1108 * insetcite.[Ch] (setLoadingBuffer): removed.
1109 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1110 ascertain whether to proceed with the (expensive) task of computing
1111 the natbib-style label. Remove the home-grown hack providing
1112 similar functionality.
1114 2003-10-22 Angus Leeming <leeming@lyx.org>
1116 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1117 class and into an anonymous namespace.
1119 2003-10-22 Angus Leeming <leeming@lyx.org>
1121 * insetcommand.h: remove the display method.
1125 * insetindex.h (InsetPrintIndex):
1126 * insettoc.h: add a display method, returning true.
1128 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1130 * insetcollapsable.h:
1134 * insetinclude.h: (1) finish off the inset display() work;
1135 (2) fix the "is a bit silly" bug (accessing char
1138 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1142 * insetfootlike.h: re-introduce display() for insets,
1143 fixing the various bugs (stretch of line above, math inset
1146 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1148 * insetbase.C (dispatch): new func
1149 (priv_dispatch): new func replaces...
1150 (localDispatch): this, deleted.
1152 * all insets with dispatch modified for new code.
1154 2003-10-15 André Pönitz <poenitz@gmx.net>
1156 * insetcollapsable.[Ch]
1158 * inset.h: re-add some edit(bv, index) method called by undo
1160 2003-10-14 Angus Leeming <leeming@lyx.org>
1162 * insetexternal.[Ch] (view, cache, view_):
1163 * insetgraphics.[Ch] (view, cache, view_):
1164 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1165 (statusChanged): call LyX::cref().updateInset.
1167 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1168 the BufferView cache.
1170 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1173 2003-10-14 Angus Leeming <leeming@lyx.org>
1175 * insetinclude.C (metrics, draw): only draw the preview when previews
1178 2003-10-14 André Pönitz <poenitz@gmx.net>
1180 * insetcollapsable.[Ch]:
1181 * insettabular.[Ch]:
1183 * inset.h: getText() as alternative to getParagraphs()
1185 2003-10-13 Angus Leeming <leeming@lyx.org>
1188 * insetgraphicsParams.C: displayTranslator is now a function.
1190 2003-10-13 Angus Leeming <leeming@lyx.org>
1192 * insetinclude.C: remove #include "PreviewImage.h".
1194 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1196 * ExternalSupport.C:
1197 * ExternalTransforms.C:
1199 * insetbox.h: ws changes only
1201 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1203 * insetinclude.C (localDispatch): do not call
1204 InsetOld::localDispatch, just return UNDISPATCHED
1205 * insetgraphics.C (localDispatch): ditto
1206 * insetcommand.C (localDispatch): ditto
1208 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1210 * inset.h: get rid of RESULT typedef for dispatch_result
1212 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1213 * insetert.[Ch] (localDispatch): ditto
1214 * insettabular.[Ch] (localDispatch): ditto
1219 * insettext.[Ch] (localDispatch): ditto
1222 (moveRightIntern): ditto
1223 (moveLeftIntern): ditto
1226 * updatableinset.[Ch] (localDispatch): ditto
1228 2003-10-12 Angus Leeming <leeming@lyx.org>
1230 * renderbase.h (view, view_): removed.
1231 * renderbase.C: removed.
1232 * Makefile.am: remove render_base.C. The shortest lived file in
1235 * renderbutton.C (draw):
1236 * render_graphic.C (draw): don't cache the BufferView.
1238 * insetabase.h (cache, view): removed.
1240 * inset.h (generatePreview) removed.
1242 * insetcallapsable.[Ch] (cache, view, view_): removed.
1244 * insetcollapsable.C (draw): don't cache the BufferView.
1246 * insetcommand.[Ch] (view): removed.
1248 * insetexternal.[Ch] (cache, view, view_):
1249 * insetgraphics.[Ch] (cache, view, view_):
1250 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1252 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1253 when you have direct access to it. In fact, don't use the cache at all.
1255 2003-10-10 Angus Leeming <leeming@lyx.org>
1257 * insetinclude.C (metrics): use preview_->metrics.
1258 (draw): use preview_->draw.
1260 * render_preview.[Ch] (pimage): removed.
1262 2003-10-10 Angus Leeming <leeming@lyx.org>
1264 * renderers.[Ch]: removed.
1267 * render_button.[Ch]:
1268 * render_graphic.[Ch]:
1269 * render_preview.[Ch]: new files. The first three are split out of
1270 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1271 contains a re-worked InsetInclude::PreviewImpl also.
1273 * Makefile.am: reflect the changed files.
1276 * insetexternal.[Ch]:
1277 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1279 * insetinclude.[Ch]: changes reflecting the change from
1280 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1286 * inseturl.C: add #include "support/std_ostream.h"
1288 2003-10-09 Angus Leeming <leeming@lyx.org>
1290 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1291 to PreviewedInset::previewReady.
1293 2003-10-09 Angus Leeming <leeming@lyx.org>
1295 * insetexternal.[Ch] (statusChanged):
1296 * insetgraphics.[Ch] (statusChanged): make a const member function.
1298 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1301 2003-10-09 Angus Leeming <leeming@lyx.org>
1303 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1304 to PreviewedInset's previewReady and removePreview member functions.
1306 2003-10-08 André Pönitz <poenitz@gmx.net>
1308 * insetcollapsable.C:
1309 * insettext.[Ch]: saner 'init' structure
1311 * updatableinset.[Ch]: remove unneeded code
1313 2003-10-08 Angus Leeming <leeming@lyx.org>
1315 Fix doxygen warnings.
1317 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1318 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1320 2003-10-07 Angus Leeming <leeming@lyx.org>
1322 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1323 be applied to InsetExternal.
1325 * Makefile.am: add these new files.
1327 * ExternalTemplate.[Ch]: add a list of available transforms to
1328 class Template and a list of factory functions for transformer classes
1329 that can act on this data to class Format.
1331 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1333 * ExternalSupport.C: Add code to replace transform placeholders
1334 with appropriate output.
1336 2003-10-07 Angus Leeming <leeming@lyx.org>
1338 * ExternalSupport.[Ch]: new files, moving the private member functions
1339 and namespace anon functions out of insetexternal.C to here, so making
1340 it easier to understand what is going on in insetexternal itself.
1342 * Makefile.am: add new files.
1344 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1345 allowing the class to be forward declared. (Also consistent with
1346 all other Params classes.)
1347 (write): moved out of the class. Move this function and those in
1348 namespace anon to ExternalSupport.[Ch].
1350 2003-10-07 Angus Leeming <leeming@lyx.org>
1352 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1353 non-const member function.
1355 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1360 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1362 2003-10-02 André Pönitz <poenitz@gmx.net>
1364 * insettext.C (read): make sure there is at least one par
1365 in the text after reading.
1367 2003-10-01 José Matos <jamatos@lyx.org>
1369 * insetbranch.C (linuxdoc, docbook): minor fix.
1371 2003-10-01 Angus Leeming <leeming@lyx.org>
1373 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1375 * insetexternal.[Ch]: changes due to the introduction of
1376 namespace lyx::external.
1378 2003-09-30 Angus Leeming <leeming@lyx.org>
1380 * insetexternal.[Ch] (Params::read, write): new member functions.
1382 2003-09-25 Angus Leeming <leeming@lyx.org>
1384 * insetexternal.[Ch] (TempName): new (private) nested struct with
1385 fake copy semantics. Enables us to use the generated copy c-tor
1386 in the Params struct.
1387 (Params::templatename, Params::tempname): use accessor functions.
1389 2003-09-25 Angus Leeming <leeming@lyx.org>
1391 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1392 function, returning a const pointer.
1394 2003-09-23 Angus Leeming <leeming@lyx.org>
1396 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1397 store them in a vector, preambleNames.
1399 * insetexternal.C (validate): loop over all preambleNames and call
1400 LaTeXFeatures::addExternalPreamble with each.
1402 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1404 * insetbranch.C: bug fix in branches
1406 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1408 * insetnote.C: small clean-up.
1410 2003-09-19 Angus Leeming <leeming@lyx.org>
1412 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1414 * insetcommand.C (string2params): clear params using the default c-tor.
1416 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1417 InsetInclude::Params. No more data in this struct than in
1418 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1419 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1420 (clone): remove #warning as it's now redundant.
1421 (set): add a 'Buffer const &' arg. Make private.
1422 (loadIfNeeded) move out of the class definition and into namespace anon.
1423 (getMasterFilename, getFileName): ditto.
1425 2003-09-18 Angus Leeming <leeming@lyx.org>
1427 * insetcommand.C (setParams): use the params' copy constructor.
1429 2003-09-18 Angus Leeming <leeming@lyx.org>
1431 * insetinsetbase.h (getLabelList):
1432 * insetinsetcollapsable.[Ch] (getLabelList):
1433 * insetinsetinclude.[Ch] (getLabelList):
1434 * insetinsetlabel.[Ch] (getLabelList):
1435 * insetinsettabular.[Ch] (getLabelList):
1436 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1437 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1439 2003-09-18 Angus Leeming <leeming@lyx.org>
1441 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1442 redundant baggage from yesteryear.
1443 Remove Params::flag as it is redundant; the info is present in
1446 2003-09-18 Angus Leeming <leeming@lyx.org>
1448 * insetinclude.C (latexString): add a Buffer const & arg.
1450 2003-09-18 Angus Leeming <leeming@lyx.org>
1455 * insettext.h: rename EnumLColor as LColor_color.
1457 2003-09-18 Angus Leeming <leeming@lyx.org>
1459 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1460 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1462 2003-09-16 Angus Leeming <leeming@lyx.org>
1464 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1465 set before trying to generate a preview, else we trigger an assert.
1467 2003-09-16 Angus Leeming <leeming@lyx.org>
1469 * insetinclude.C (PreviewImpl::parent): return a const reference.
1471 2003-09-16 Angus Leeming <leeming@lyx.org>
1473 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1475 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1477 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1478 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1480 * insetminipage.C (metrics):
1481 * insetnote.C (metrics):
1482 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1483 access collapsed_ directly.
1485 2003-09-16 Angus Leeming <leeming@lyx.org>
1487 * insetbibitem.C: add #include "lyxfont.h".
1489 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1492 * insetbibtex.C: use namespace alias for lyx::support::os
1494 2003-09-16 Angus Leeming <leeming@lyx.org>
1496 * insetcollapsable.h: remove unused framecolor variable.
1497 Remove #include "LColor.h".
1499 * insetcollapsable.C: remove unused framecolor variable.
1502 * insetcollapsable.C:
1510 Add #include "LColor.h".
1512 2003-09-16 Angus Leeming <leeming@lyx.org>
1514 * insettext.[Ch] (frameColor): new accessor function.
1515 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1521 add #include "LColor.h".
1523 * insetcollapsable.h: add #include "LColor.h"
1524 (for its framecolor member variable).
1526 2003-09-16 Angus Leeming <leeming@lyx.org>
1528 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1530 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1531 rename frame_color as frame_color_. Make private.
1533 * insettext.C: associated changes.
1535 2003-09-16 Angus Leeming <leeming@lyx.org>
1537 * inset.h: store background_color_ as an int, not as an LColor::color to
1538 get LColor.h out of the header file.
1541 * insetlatexaccent.C:
1544 * insetspecialchar.C:
1546 add #include "LColor.h".
1548 2003-09-16 Angus Leeming <leeming@lyx.org>
1550 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1553 2003-09-15 Angus Leeming <leeming@lyx.org>
1555 * inset.[Ch] (setBackgroundColor, backgroundColor):
1556 * insettext.[Ch] (setFrameColor):
1557 pass EnumLColor args, rather than LColor::color ones.
1559 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1569 * insetwrap.C: remove usage of STRCONV
1571 2003-09-15 Angus Leeming <leeming@lyx.org>
1573 * renderers.C (draw):
1574 * insetlatexaccent.C (draw): explicitly define the color passed to
1577 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1579 * insettext.C: remove block causing problems in lockInsetInInset
1580 (mentioned erroneously under Bug #1366)
1582 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1584 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1587 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1589 * several files: change Assert to BOOST_ASSERT
1591 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1593 * insettext.[Ch]: remove drawText[XY]Offset
1595 2003-09-08 Angus Leeming <leeming@lyx.org>
1597 * insetcollapsable.C:
1602 * insetspecialchar.C:
1605 * insettoc.C: remove redundant using directives.
1607 2003-09-07 Angus Leeming <leeming@lyx.org>
1610 * insetspecialchar.h: remove #include "support/std_string.h".
1612 2003-09-06 Angus Leeming <leeming@lyx.org>
1614 * renderers.C: add #include "insets/inset.h"
1616 2003-09-05 Angus Leeming <leeming@lyx.org>
1618 * *.C: strip out redundant #includes. (193 in total.)
1620 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1622 * insets/insetbibtex.[Ch]:
1623 * insets/insetcommand.h:
1624 * insets/insetfloatlist.[Ch]:
1625 * insets/insetinclude.[Ch]:
1626 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1627 of insets like bibtex, include, toc and floatlist to the visible
1628 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1629 up the dialogs. Cursor has to be in front of the inset (i.e.
1630 start of row) for this to function.
1632 2003-09-04 Angus Leeming <leeming@lyx.org>
1634 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1635 structure outside of the Format struct. Format::preambleName refers to
1636 an item in the map of all preamble snippets.
1637 Make use of the new Debug::EXTERNAL flag.
1639 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1640 (validate): Small change due to the changed storage of preamble snippets.
1642 2003-09-04 Angus Leeming <leeming@lyx.org>
1644 * insetgraphics.C: #include "support/os.h"
1646 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1647 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1648 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1650 * insetcollapsable.h:
1652 * insetnote.C: move #include "funcrequest.h" out of the header file.
1654 2003-09-03 Angus Leeming <leeming@lyx.org>
1656 * insetexternal.C (updateExternal):
1657 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1660 2003-09-03 Angus Leeming <leeming@lyx.org>
1662 * insetexternal.C: don't bring namespace lyx::support into the global
1665 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1667 * insetbranch.C: Add Branch: to label
1669 2003-09-02 John Levon <levon@movementarian.org>
1672 * insettext.C: remove cursor.i[xy]()
1674 2003-08-28 Angus Leeming <leeming@lyx.org>
1676 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1677 "sh ", enabling the conversion to be carried out even if the script
1680 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1682 * most files: change to use const Buffer refs
1684 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1686 * insetfootlike.C: whitespace.
1688 2003-08-26 John Levon <levon@movementarian.org>
1692 * insetindex.h: remove remaining mentions of needFullRow()
1694 2003-08-26 André Pönitz <poenitz@gmx.net>
1700 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1702 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1704 * insetbranch.C: Small fix to prevent a crash on loading.
1706 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1711 * insetcollapsable.h:
1713 * insetfloatlist.[Ch]:
1714 * insetfootlike.[Ch]:
1715 * insetinclude.[Ch]:
1721 * insettheorem.[Ch]:
1722 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1723 altogether, putting the logic in metrics/draw in the insets.=20
1724 Draws short single row insets with more or less realistic metrics.
1726 2003-08-19 André Pönitz <poenitz@gmx.net>
1728 * insettext.C: use new RowPainter interface
1730 2003-08-18 John Levon <levon@movementarian.org>
1732 * insetref.C: require amsmath for eqref
1734 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1738 * insetbranch.[Ch]: implements the 'branch inset'
1739 idea. This allows the output of various versions of a document
1740 from a single source version, selectively outputing or suppressing
1741 output of parts of the text.
1742 This implementation contains a 'branch list editor' in a separate
1743 tab of the document settings dialog. Branches are user definable
1744 and have a "display colour" to distinguish them on-screen.
1746 ColorHandler was somewhat cleaned up.
1747 (1) make possible a dynamically growing LColor list by allowing
1748 the graphic context cache to grow along (vector);
1749 (2) eliminate an IMHO unnecessary step in colour allocation.
1751 2003-08-15 André Pönitz <poenitz@gmx.net>
1753 * insettext.[Ch]: adjust after rowlist split
1755 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1757 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1758 rename valign-center to valign-middle;
1759 rename VALIGN_CENTER to VALIGN_MIDDLE
1761 2003-08-11 André Pönitz <poenitz@gmx.net>
1763 * inset.h: remove resizeLyXText
1766 * insetcollapsable.[Ch]:
1768 * insettabular.[Ch]: adjust
1770 * insettext.[Ch]: remove saveLyXTextState,
1771 restoreLyXTextStat, sstate, reinitLyXText
1773 2003-08-07 André Pönitz <poenitz@gmx.net>
1775 * inset.[Ch]: move non-crucial functions out-of-line
1777 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1778 remove duplicated code.
1780 2003-08-05 André Pönitz <poenitz@gmx.net>
1783 * insetcollapsable.[Ch]:
1793 * insettabular.[Ch]:
1796 * updatableinset.[Ch]: rip out "deep update"
1798 * insettext.C (localDispatch): merge cases with default branch
1800 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1802 * insettabular.[Ch] (updateLocal): simplify logic
1804 2003-08-04 André Pönitz <poenitz@gmx.net>
1806 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1807 is 'FULL' all the time.
1809 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1811 * insetert.C (get_new_label): only add ... to the (closed) label
1812 when the string has been shortened
1814 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1816 * Always use std::endl with lyxerr
1818 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1820 * insetnote.C: update \author list
1822 2003-07-31 André Pönitz <poenitz@gmx.net>
1824 * insetcollapsable.h:
1825 * insettabular.[Ch]:
1826 * insettext.[Ch]: remove toggleSelection
1828 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1830 (with help from Juergen Spitzmueller)
1831 * insetnote.C: add add i18n support. Use Prefs-definable
1832 colours for Comment and Greyedout.
1834 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1836 * insetcollapsable.[Ch]:
1838 * insetert.C: factor out the detection of clicking on the inset
1839 button as 'hitButton'. John Levon contributed.
1841 2003-07-30 André Pönitz <poenitz@gmx.net>
1843 * insetcollapsable.C:
1845 * insettabular.C: parantheses, localize vars etc.
1847 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1849 * insetnote.C: Implement a newenvironment in preamble for
1850 greyedout. Patch provided by Jürgen Spitzmüller.
1852 2003-07-29 Angus Leeming <leeming@lyx.org>
1854 * insetcommand.C (localDispatch): default to
1855 InsetOld::localDispatch.
1857 * insetbibitem.C (localDispatch):
1858 * insetbibtex.C (localDispatch): remove call to
1859 ChangeCitationsIfUnique.
1861 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1863 * insetexternal.C (read): use pushpophelper.
1865 2003-07-28 José Matos <jamatos@lyx.org>
1867 * insetext.C (read): \end_document replaces \the_end.
1869 2003-07-28 José Matos <jamatos@fep.up.pt>
1871 * insetert.C (write): \layout -> \begin_layout.
1872 Add missing \end_layout.
1874 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1876 * insetquotes.C: document a bit the format
1878 * insettabular.C (write): remove extra space
1880 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1881 * insetnote.C: Umpf. Hope I *now* get it right :-(
1883 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1884 *insetnote.C: did the right fix to greyedout: \color
1885 instead of \textcolor.
1887 2003-07-28 Angus Leeming <leeming@lyx.org>
1889 * insetbibtex.h: remove extraneous forward declaration.
1892 * insetbibtex.h: Also remove long-dead Holder member class
1895 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1897 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1900 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1902 * insetwrap.C (addToToc): adjust for lyx::toc
1904 * insetfloatlist.C (ascii): adjust for lyx::toc
1906 * insetfloat.C (addToToc): adjust for lyx::toc
1908 2003-07-27 José Matos <jamatos@fep.up.pt>
1910 * insetnote.h (linuxdoc,docbook): update support.
1912 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1914 * insetfloat.C (wide): add a space to label, for consistency
1916 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1918 * insettext.C (nextChange): adjust for lyx::find
1919 (searchForward): ditto
1920 (searchBackward): ditto
1922 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1924 * insetgraphicsParams.C:
1925 * insetexternal.C: declare extern displayTranslator
1928 * renderers.C: add #include "support/LAssert.h"
1930 2003-07-27 José Matos <jamatos@fep.up.pt>
1932 * insetfloat.[Ch] (linuxdoc):
1933 * insetgraphics.C (linuxdoc):
1934 * insettabular.C (linuxdoc):
1935 * insettext.[Ch] (linuxdoc): add support for tables and figures
1938 2003-07-27 José Matos <jamatos@fep.up.pt>
1940 * insetinclude (latex): comply with makeLaTeXFile argument change.
1942 2003-07-26 Asger Alstrup <alstrup@local>
1944 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1945 the undo crashes. We'll see what problems other places this will
1948 2003-07-26 Angus Leeming <leeming@lyx.org>
1950 * insetgraphics.C: remove unused declaration of system_tempdir.
1952 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1954 * rename Inset to InsetOld
1956 * all inset files (clone): return a auto_ptr<InsetBase>
1958 2003-07-23 Angus Leeming <leeming@lyx.org>
1960 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1962 2003-07-23 Angus Leeming <leeming@lyx.org>
1964 * mailinset.[Ch] (inset2string):
1965 * insetcommand.[Ch] (inset2string):
1966 * insetert.[Ch] (inset2string):
1967 * insetexternal.[Ch] (inset2string):
1968 * insetfloat.[Ch] (inset2string):
1969 * insetgraphics.[Ch] (inset2string):
1970 * insetinclude.[Ch] (inset2string):
1971 * insetminipage.[Ch] (inset2string):
1972 * insetnote.[Ch] (inset2string):
1973 * insettabular.[Ch] (inset2string):
1974 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1976 * insetexternal.[Ch]:
1977 * insetgraphics.[Ch]: get rid of the view() function. Associated
1978 changes to the mailers' string2params and params2string functions.
1980 2003-07-23 Angus Leeming <leeming@lyx.org>
1982 * insetexternal.[Ch]: store the external file name in a FileName
1983 member variable rather than a string + associated changes.
1985 2003-07-21 Angus Leeming <leeming@lyx.org>
1987 * insetgraphicsParams.[Ch]: store the graphics file name in
1988 a FileName member variable rather than a string.
1990 * insetgraphics.[Ch]:
1991 * insetgraphicsParams.[Ch]: Associated changes.
1993 2003-07-21 Angus Leeming <leeming@lyx.org>
1995 * insetgraphics.[Ch] (string2params, params2string): passed a
1996 buffer_path argument.
1999 2003-07-21 Angus Leeming <leeming@lyx.org>
2002 * insetgraphicsParams.[Ch]:
2004 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2006 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2008 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2010 2003-07-18 André Pönitz <poenitz@gmx.net>
2013 * insetminipage.[Ch]:
2014 * insettabular.[Ch]:
2017 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2019 2003-07-18 André Pönitz <poenitz@gmx.net>
2023 * insetcollapsable.C:
2027 * insetgraphics.[Ch]:
2028 * insetlatexaccent.[Ch]:
2033 * insetspecialchar.C:
2034 * insettabular.[Ch]:
2036 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2038 2003-07-17 André Pönitz <poenitz@gmx.net>
2040 * insetcollapsable.C:
2042 * insettext.C: don't call Inset::update() anymore
2045 * insettabular.[Ch]: remove unneeded in_update_ members
2047 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2049 2003-07-16 André Pönitz <poenitz@gmx.net>
2051 * insettext.C (selectAll): remove
2053 2003-07-16 John Levon <levon@movementarian.org>
2056 * insetnote.C: implement showInsetDialog()
2058 2003-07-15 André Pönitz <poenitz@gmx.net>
2061 * insettext.C: refresh_status tristate -> need_update bool
2063 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2065 * insettext.C: adjust call to LyXText::init
2067 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2069 * insettext.C: use bufferview_funcs->replaceSelection()
2070 to delete selections in some cases (bugs 441, 673, 702, 954).
2072 2003-07-14 André Pönitz <poenitz@gmx.net>
2074 * insettext.C (draw): use slimmed down rowpainter interface
2076 2003-07-14 André Pönitz <poenitz@gmx.net>
2078 * insetcollapsable.C:
2080 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2081 remove unused BufferView * argument
2083 2003-07-14 André Pönitz <poenitz@gmx.net>
2085 * insettext.[Ch]: used cached metrics a bit more
2087 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2089 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2091 2003-07-10 André Pönitz <poenitz@gmx.net>
2094 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2096 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2098 * introduce namespace lyx::graphics
2100 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2102 * introduce namespace lyx::support
2104 2003-06-30 André Pönitz <poenitz@gmx.net>
2106 * insetcite.C (localDispatch): fix case of missing return value
2108 * insetcite.C (ascii): remove unneeded temporary
2110 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2112 * insetspace.h: fix \file
2114 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2115 * insetinclude.C (fillWithBibKeys): ditto
2117 * insetbibitem.C: fix type const order
2119 * inset.C (getLyXText): add varname for arg
2121 * ExternalTemplate.h: fix type const order
2123 2003-06-27 André Pönitz <poenitz@gmx.net>
2125 * insettext.C: take care of removed LyXCursor::row_ member
2127 * insettext.[Ch]: use new TextCursor struct for sstate
2129 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2131 * inseterror.[Ch]: removed
2133 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2135 * insetinclude.C (docbook): use parseError instead of sgmlError
2137 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2139 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2140 of BufferList::loadLyXFile
2142 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2144 * insettext.C (update): simplify
2145 (updateLocal): remove commented code
2146 (insetUnlock): simplify
2147 (lockInset): simplify
2148 (updateInsetInInset): simplify
2149 (localDispatch): simplify
2151 (resizeLyXText): simplify
2152 (collapseParagraphs): simplify
2154 * insetert.C (get_new_label): simplify
2156 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2158 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2159 pasteSelection with index
2161 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2163 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2165 2003-06-16 André Pönitz <poenitz@gmx.net>
2167 * insetbase.h: new virtual base function clone()
2169 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2170 Inset * clone() -> InsetBase * clone()
2172 2003-06-13 André Pönitz <poenitz@gmx.net>
2174 * insettabular.[Ch]: make tabular a proper member
2176 2003-06-12 André Pönitz <poenitz@gmx.net>
2178 * insettabular.[Ch]: some renaming plus whitespace
2180 2003-06-11 Angus Leeming <leeming@lyx.org>
2182 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2185 * insetbutton.[Ch]: removed.
2186 * graphicinset.[Ch]: renamed as renderers.[Ch].
2188 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2189 Create a new class ButtonRenderer using the InsetButton::metrics() and
2191 Derive both from a common RenderedInset base class.
2193 * insetcommand.[Ch]:
2194 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2195 Give it a ButtonRenderer member variable. Use it.
2196 Give the classes working copy c-tors.
2197 No longer derive from boost::noncopyable.
2199 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2200 display its contents as a button or as a graphic.
2202 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2205 2003-06-11 Angus Leeming <leeming@lyx.org>
2207 * insetcite.C (localDispatch): reformat.
2209 * insetref.C (localDispatch): enable dialog to be lauched.
2211 2003-06-11 John Levon <levon@movementarian.org>
2213 * insettabular.C: correctly mark all cells as erased
2215 2003-06-11 Angus Leeming <leeming@lyx.org>
2217 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2218 ExternalTemplate but its name, templatename. This means that a file
2219 containing a reference to an External Template not installed on the
2220 current machine will be saved retaining this info rather than inserting
2221 the first "valid" template from the list of templates.
2223 As a by product, the visual statement that the Template is missing is
2226 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2228 * insettext.C (appendParagraphs): remove some commented code.
2230 2003-06-10 Angus Leeming <leeming@lyx.org>
2232 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2235 * insetexternal.[Ch]: move tempname_ into the Params struct.
2236 (Params d-tor): new function, to clean-up this temp file.
2237 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2239 (editExternal, doSubstitution): move out of class.
2241 2003-06-10 Angus Leeming <leeming@lyx.org>
2243 * graphicinset.[Ch] (params): removed.
2244 * graphicinset.h (operator=): declared private but not defined.
2245 (statusMessage): made private.
2247 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2249 2003-06-07 John Levon <levon@movementarian.org>
2251 * insetert.C (latex): make a newline mean just that not
2254 2003-06-07 José Matos <jamatos@fep.up.pt>
2256 * insethfill.[Ch] (linuxdoc, docbook): implement output
2257 * insetspace.C (linuxdoc, docbook): remove coments as the code
2260 2003-06-06 José Matos <jamatos@fep.up.pt>
2262 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2264 2003-06-06 André Pönitz <poenitz@gmx.net>
2266 * insetwrap.[Ch]: code compactification
2268 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2270 * mailinset.C (updateDialog): use Dialogs::visible
2272 2003-06-04 Angus Leeming <leeming@lyx.org>
2274 * graphicinset.C (draw): add a comment for the #if 0 block.
2276 * insetexternal.h: remove Params::parameters variable.
2277 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2278 and read it back making full use of LyXLex.
2280 2003-06-04 André Pönitz <poenitz@gmx.net>
2282 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2284 2003-06-04 John Levon <levon@movementarian.org>
2286 * insettabular.C: back out tall table speed up. It was broken
2288 2003-06-03 Angus Leeming <leeming@lyx.org>
2290 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2291 Remove ViewCommand and UpdateCommand.
2293 * graphicinset.C (update): bug fix. Set the params before calling the
2295 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2296 BufferView cache to enable the InsetExternal::editCommand to be invoked
2297 from the frontends. Would not be needed if this were dispatched properly.
2298 (old_ascent_): variable removed.
2300 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2301 do any necessary conversions of external material. Also use the
2302 new GraphicsInset to display the inset within LyX.
2304 2003-06-03 Angus Leeming <leeming@lyx.org>
2306 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2307 and move it somewhere where InsetExternal can use it too.
2309 * Makefile.am: add the new files.
2311 * insetgraphics.[Ch]: make use of the new GraphicInset.
2313 2003-06-03 John Levon <levon@movementarian.org>
2316 * insetbibitem.[Ch]:
2319 * insetcommand.[Ch]:
2323 * insetexternal.[Ch]:
2327 * insetgraphics.[Ch]:
2329 * insetinclude.[Ch]:
2332 * insetlatexaccent.[Ch]:
2333 * insetmarginal.[Ch]:
2334 * insetminipage.[Ch]:
2341 * insetspecialchar.[Ch]:
2342 * insettabular.[Ch]:
2344 * insetthereom.[Ch]:
2347 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2349 * insetgraphics.[Ch]:
2350 * insetgraphicsParams.[Ch]: always store an absolute
2353 2003-06-02 André Pönitz <poenitz@gmx.net>
2357 * insetlatexaccent.C: remove duplicated call to metrics()
2359 2003-06-02 John Levon <levon@movementarian.org>
2361 * insettabular.C: fix resize of column width
2363 2003-06-02 John Levon <levon@movementarian.org>
2368 * insetparent.C: remove insetparent
2370 2003-06-02 André Pönitz <poenitz@gmx.net>
2377 * insetcollapsable.[Ch]:
2381 * insetgraphics.[Ch]:
2382 * insetinclude.[Ch]:
2383 * insetlatexaccent.[Ch]:
2384 * insetminipage.[Ch]:
2385 * insetnewline.[Ch]:
2388 * insetspecialchar.[Ch]:
2389 * insettabular.[Ch]:
2390 * insettext.[Ch]: unify first drawing phase
2393 * insetbase.h: move validate() to the base
2395 2003-05-31 Angus Leeming <leeming@lyx.org>
2397 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2399 2003-05-30 André Pönitz <poenitz@gmx.net>
2404 * insetcaption.[Ch]:
2405 * insetcollapsable.[Ch]:
2408 * insetgraphics.[Ch]:
2409 * insetinclude.[Ch]:
2410 * insetlatexaccent.[Ch]:
2411 * insetnewline.[Ch]:
2414 * insetspecialchar.[Ch]:
2415 * insettabular.[Ch]:
2417 * updatableinset.[Ch]: unify second drawing phase
2419 2003-05-30 John Levon <levon@movementarian.org>
2421 * insetgraphics.C: fix a bformat
2423 2003-05-29 John Levon <levon@movementarian.org>
2425 * insettabular.C: remove unused bufferOwner()
2427 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2429 * insettext.C (lockInsetInInset): adjust
2430 (getLabelList): use const_iterator, adjust
2431 (getInsetFromID): use const_iterator, adjust
2432 (addPreview): use const_iterator, adjust
2434 * insetwrap.C (clone): remove const_cast
2436 * insetnote.C (clone): remove const_cast
2438 * insetminipage.C (clone): remove const_cast
2440 * insetmarginal.C (clone): remove const_cast
2442 * insetfoot.C (clone): remove const_cast
2444 * insetfloat.C (clone): remove const_cast
2446 * insetert.C (clone): remove const_cast
2448 * delete commented same_id functions from a lot of files.
2450 2003-05-28 John Levon <levon@movementarian.org>
2456 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2458 * insetminipage.C: fix metrics (bug 1144)
2460 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2462 * insettext.C (saveLyXTextState): adjust
2463 (restoreLyXTextState): adjust
2466 (unlockInsetInInset): adjust
2467 (localDispatch): adjust
2468 (getLyXText): adjust
2470 * insettabular.C (insertAsciiString): adjust
2472 2003-05-27 André Pönitz <poenitz@gmx.net>
2475 * insetcollapsable.C:
2478 * insetlatexaccent.C:
2483 * insetspecialchar.C:
2485 * insettext.C: dim.w -> dim.wid
2487 2003-05-26 John Levon <levon@movementarian.org>
2489 * insettabular.C: avoid drawing all of a long table
2490 if it's not needed. A big speedup
2492 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2494 * remove same_id from function signatures, adjust
2496 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2498 * insettext.C (InsetText): adjust
2500 (setParagraphData): separate same_id cases, adjust
2501 (appendParagraphs): adjust
2502 (appendParagraphs): adjust
2504 2003-05-23 André Pönitz <poenitz@gmx.net>
2506 * insetbutton.h: whitespace
2508 * insettabular.C: more compact code
2510 * updatableinset.C: remove const_cast
2513 2003-05-23 Angus Leeming <leeming@lyx.org>
2515 * insetexternal.C (write): check how many lines are output.
2516 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2517 if the template has defined it.
2519 2003-05-23 Angus Leeming <leeming@lyx.org>
2521 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2523 2003-05-23 Angus Leeming <leeming@lyx.org>
2525 * insetfoot.C (latex):
2526 * inseturl.C (latex): rename fragile as moving_arg.
2528 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2530 * inseterror.C (localDispatch): comment out unused var.
2532 2003-05-22 Angus Leeming <leeming@lyx.org>
2534 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2535 passed through the LatexRunParams arg.
2537 2003-05-22 Angus Leeming <leeming@lyx.org>
2539 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2540 through the LatexRunParams arg.
2542 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2543 arg rather than through a global var.
2545 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2547 * insetspecialchar.C (dimension): use a string.
2549 2003-05-22 Angus Leeming <leeming@lyx.org>
2551 * insetbibtex.C (latex):
2552 * insetgraphics.C (latex):
2553 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2554 runparams rather than from the buffer itself.
2556 2003-05-22 Angus Leeming <leeming@lyx.org>
2558 * inset*.[Ch] (latex):
2559 passed a LatexRunParams parameter.
2561 * insetgraphics.C (latex): actually use it ;-)
2563 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2565 * insetfloat.C (addToToc): trivial compile fix
2567 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2569 * insettext.[Ch] (paragraph): delete unused function
2571 * insetfloat.C (addToToc): parlist simplfication
2573 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2575 * insetspace.[Ch]: added (new space insets)
2577 * inset.h: handle new space insets
2579 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2581 * insetfloat.C (addToToc): adjust
2583 2003-05-21 André Pönitz <poenitz@gmx.net>
2585 * insettext.[Ch]: fix drawing bug introduced earlier
2587 2003-05-19 André Pönitz <poenitz@gmx.net>
2589 * insetspecialchar.C: fix bug introduced yesterday
2591 2003-05-19 André Pönitz <poenitz@gmx.net>
2595 * insetcollapsable.[Ch]:
2599 * insetgraphics.[Ch]:
2600 * insetgraphicsParams.[Ch]:
2601 * insetlatexaccent.[Ch]:
2602 * insetminipage.[Ch]:
2603 * insetnewline.[Ch]:
2605 * insetspecialchar.[Ch]:
2606 * insettabular.[Ch]:
2607 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2609 2003-05-19 André Pönitz <poenitz@gmx.net>
2612 * insettext.C: more insetenv
2614 2003-05-16 André Pönitz <poenitz@gmx.net>
2617 * insetminimpage.[Ch]:
2618 * insetcollapsable.[Ch]: fix #832
2620 2003-05-16 André Pönitz <poenitz@gmx.net>
2623 * insetbibitem.[Ch]:
2627 * insetcollapsable.[Ch]:
2628 * insetcommand.[Ch]:
2631 * insetexternal.[Ch]:
2632 * insetfloatlist.[Ch]:
2633 * insetgraphics.[Ch]:
2634 * insetinclude.[Ch]:
2637 * insetlatexaccent.[Ch]:
2640 * insettabular.[Ch]:
2644 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2646 2003-05-13 André Pönitz <poenitz@gmx.net>
2649 * insetcollapsable.C:
2653 * insetwrap.C: tostr from own header
2665 * insetwrap.C: STRCONV
2668 2003-05-12 André Pönitz <poenitz@gmx.net>
2680 * insetwwrap.C: boost::format -> bformat all over the place
2682 2003-05-05 André Pönitz <poenitz@gmx.net>
2684 * insettext.h: add missing #include <map>
2686 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2688 * insettext.C (InsetText): parlist cleanup
2691 (insetUnlock): ditto
2693 (lockInsetInInset): ditto
2697 (searchBackward): ditto
2698 (collapseParagraphs): ditto
2700 2003-05-06 John Levon <levon@movementarian.org>
2702 * insetcaption.C: don't cast wrap inset to InsetFloat
2705 * insetfloat.C: remove unneeded type() function
2707 2003-05-05 André Pönitz <poenitz@gmx.net>
2711 * insettabular.[Ch]:
2712 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2713 replace getFirstParagraph() by getParagraphs()
2715 2003-05-03 John Levon <levon@movementarian.org>
2717 * insetcollapsable.h:
2718 * insetcollapsable.C:
2724 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2725 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2726 getCursor(). Remove explicit cursor hides.
2728 2003-05-02 André Pönitz <poenitz@gmx.net>
2730 * insettext.C: remove unneeded &*
2732 2003-04-30 John Levon <levon@movementarian.org>
2734 * insettabular.C: fix edit message
2736 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2738 * insettext.C (setFont): do not convert iterator -> pointer
2740 * insettabular.C (localDispatch): do not convert iterator -> pointer
2742 (tabularFeatures): ditto
2744 2003-04-29 André Pönitz <poenitz@gmx.net>
2746 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2748 2003-04-28 André Pönitz <poenitz@gmx.net>
2750 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2753 2003-04-25 André Pönitz <poenitz@gmx.net>
2755 * insetenv.C: derive from InsetText instead of InsetCollapsable
2757 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2759 * insetexternal.C (string2params): dont do anything if the string
2761 * insetgraphics.C (string2params): ditto
2762 * insetcommand.C (string2params): ditto
2763 * insetert.C (string2params): ditto
2764 * insetfloat.C (string2params): ditto
2765 * insetinclude.C (string2params): ditto
2766 * insetminipage.C (string2params): ditto
2767 * insettabular.C (string2params): ditto
2768 * insetwrap.C (string2params): ditto
2770 2003-04-24 André Pönitz <poenitz@gmx.net>
2772 * insetref.C: support for eqref
2774 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2776 * insetert.C (read): use ParagraphList::iterator.
2778 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * insetquotes.C (latex): comment some code and add warnings.
2782 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2784 * insetexternal.C (localDispatch): added a missing DISPATCHED
2786 2003-04-12 John Levon <levon@movementarian.org>
2788 * insetwrap.C (addToToc): fix a crash, conversion
2789 from while to for loop forgot to remove the explicit
2792 2003-04-10 John Levon <levon@movementarian.org>
2794 * insettabular.C (tabularFeature): make sure
2795 to update the dialog when we change something
2798 (getStatus): don't disable some lfuns (bug 939)
2800 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2802 * insettext.C (saveLyXTextState): adjust
2803 (localDispatch): adjust
2809 * insettabular.C (localDispatch): adjust
2811 (tabularFeatures): adjust
2813 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2815 * insettabular.C (searchForward,searchBackward): fix bug 782
2817 2003-04-07 John Levon <levon@movementarian.org>
2820 * insettext.C: clear status message on inset exit
2822 2003-04-03 John Levon <levon@movementarian.org>
2824 * insetcommand.C: return dispatched on DIALOG_UPDATE
2826 2003-04-02 John Levon <levon@movementarian.org>
2828 * insettabular.C: tab lfuns renamed
2830 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2832 * insettext.C (update): move towards ParagraphList
2833 (updateLocal): ditto
2835 (insetUnlock): ditto
2837 (lockInsetInInset): ditto
2838 (updateInsetInInset): ditto
2839 (localDispatch): ditto
2842 (resizeLyXText): ditto
2843 (searchBackward): ditto
2844 (collapseParagraphs): ditto
2847 * insetwrap.C (InsetWrap): adjust
2848 (addToToc): adjust and rewrite loop
2850 * insettext.[Ch] (paragraph): delete function
2852 * insettabular.C (moveNextCell): adjust
2853 (movePrevCell): adjust
2854 (insertAsciiString): adjust
2856 * insetfloat.C (InsetFloat): adjust
2859 * insetert.C (InsetERT): adjust
2860 (write): adjust, and rewrite loop
2861 (latex): adjust, and rewrite loop
2862 (linuxdoc): adjust, and rewrite loop
2863 (docbook): adjust, and rewrite loop
2864 (localDispatch): adjust
2865 (get_new_label): adjust
2867 2003-04-01 John Levon <levon@movementarian.org>
2869 From Alfredo Braunstein
2872 * insetbutton.C: add localDispatch()
2874 * insetcommand.C: return DISPATCHED when edit() called
2876 * insettext.C: fix bug 967
2878 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2880 * insettext.C: adjust
2882 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2884 * insettext.C (draw): adjust
2885 (crow): return a RowList::iterator not a Row*
2887 * insetminipage.C (localDispatch): adjust
2889 * insetert.C (localDispatch): adjust
2891 2003-03-31 John Levon <levon@movementarian.org>
2894 * insetgraphicsParams.C: use_gui moved to lyx_gui
2896 2003-03-31 John Levon <levon@movementarian.org>
2898 * insettext.C: Alert fix
2900 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2902 * insettext.C (ascent): adjust for RowList
2905 (getLyXText): adjust
2906 (toggleSelection): adjust
2908 * insetminipage.C (localDispatch): adjust for RowList
2910 * insetert.C (localDispatch): adjust for RowList
2911 (getMaxWidth): adjust for RowList
2913 2003-03-29 John Levon <levon@movementarian.org>
2915 * insetert.C: Alert cleanup
2917 2003-03-29 John Levon <levon@movementarian.org>
2919 * insettabular.C: Alert fix
2921 2003-03-28 John Levon <levon@movementarian.org>
2923 * insetfloat.C: reset label on INSET_MODIFY
2925 2003-03-28 John Levon <levon@movementarian.org>
2927 * insetgraphicsParams.C: read subcaptionText as a whole line
2930 2003-03-28 John Levon <levon@movementarian.org>
2932 * insettext.C: remove unused prototypes
2934 2003-03-25 Angus Leeming <leeming@lyx.org>
2936 * insetbibitem.C (localDispatch): repaint the view after modifying
2937 a bibitem inset in case the maximum InsetBibitem width has changed.
2939 2003-03-25 John Levon <levon@movementarian.org>
2942 * insettabular.C: LyXText renamings
2944 2003-03-24 John Levon <levon@movementarian.org>
2946 * insettext.C: remove some dead code. Fix bug 972 and
2947 related by posting a repaint in updateLocal(), and making
2948 the SEL functions set SELECTION.
2950 2003-03-22 John Levon <levon@movementarian.org>
2953 * inset.C: remove no-longer-needed topx_set
2955 * insetcollapsable.h:
2956 * insetcollapsable.C: remove dead code
2959 * insetert.C: rebreak the rows when a possible
2960 change in size is made, and reset the cursor
2963 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2965 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2966 topx_set. Fix drawing errors for clearInset(). Remove
2967 some unnecessary uses of topx, which should die.
2969 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2970 is no longer needed. Replace it with an ugly hack.
2972 2003-03-20 John Levon <levon@movementarian.org>
2975 * insetcollapsable.h:
2976 * insetcollapsable.C:
2984 * insettext.C: remove spurious font parameter
2985 from update(). Fix drawing of ERT insets inside
2986 insets (bug 966). Remove unused mark_dirty from
2987 tabular's updateLocal()
2989 2003-03-19 John Levon <levon@movementarian.org>
2998 * insetwrap.C: remove unused getter/setters
3000 2003-03-19 John Levon <levon@movementarian.org>
3002 * several files: bv->updateInset() doesn't take
3003 a bool mark_dirty any more
3005 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3007 * adjust for BufferView* arg removal from lyxtext.
3009 2003-03-17 John Levon <levon@movementarian.org>
3011 * most files: remove the "cleared" parameter
3012 to draw in favour of always clearing. Associated
3015 2003-03-16 John Levon <levon@movementarian.org>
3017 * insettext.C: remove unused s.refresh
3019 2003-03-13 Angus Leeming <leeming@lyx.org>
3021 * insettext.C (edit): replace Dialogs::updateParagraph with
3022 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3024 2003-03-13 André Pönitz <poenitz@gmx.net>
3026 * Makefile.am: insert insetenv
3028 * insethenv.[Ch]: new files, currently inactive
3030 2003-03-12 John Levon <levon@movementarian.org>
3040 * insettext.C: use new insetnewline
3042 2003-03-12 John Levon <levon@movementarian.org>
3044 * insettext.C: readToken became readParagraph
3046 2003-03-12 John Levon <levon@movementarian.org>
3048 * insettext.C: use parlist iterator for reading contents
3050 2003-03-12 John Levon <levon@movementarian.org>
3052 * insettext.C: name change to readToken()
3054 2003-03-11 André Pönitz <poenitz@gmx.net>
3056 * Makefile.am: insert insethfill
3058 * insethfill.[Ch]: new files
3060 2003-03-10 Angus Leeming <leeming@lyx.org>
3062 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3064 (hideDialog): calls the new static Dialogs::hide() method.
3066 * insetbibitem.C (edit):
3067 * insetbibtex.C (edit):
3068 * insetcite.C (edit):
3069 * insetcommand.C (localDispatch):
3070 * inseterror.C (d-tor):
3071 * insetert.C (showInsetDialog):
3072 * insetexternal.C (localDispatch, edit):
3073 * insetfloat.C (localDispatch, showInsetDialog):
3074 * insetfloatlist.C (edit):
3075 * insetgraphics.C (localDispatch, edit):
3076 * insetinclude.C (localDispatch, edit):
3077 * insetindex.C (edit):
3078 * insetlabel.C (edit):
3079 * insetminipage.C (localDispatch, showInsetDialog):
3080 * insetref.C (edit):
3081 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3082 resetPos, showInsetDialog, openLayoutDialog):
3083 * insettoc.C (edit):
3084 * inseturl.C (edit):
3085 * insetwrap.C (localDispatch, showInsetDialog):
3086 changes due to the changed MailInset interface.
3088 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3090 * insetfloat.h: Set default placement to an empty string.
3092 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3094 * insettext.C (latex): adjust call to latexParagraphs.
3096 2003-03-10 Angus Leeming <leeming@lyx.org>
3098 * mailinset.C: warn the user if the BufferView has not been cached.
3100 2003-03-10 Angus Leeming <leeming@lyx.org>
3102 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3104 * insetcommand.h (inset):
3105 * insetert.h (inset):
3106 * insetexternal.h (inset):
3107 * insetfloat.h (inset):
3108 * insetgraphics.h (inset):
3109 * insetinclude.h (inset):
3110 * insetminipage.h (inset):
3111 * insettabular.h (inset):
3112 * insetwrap.h (inset):
3113 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3115 2003-03-10 Angus Leeming <leeming@lyx.org>
3117 * insetcommand.C (string2params):
3118 * insetexternal.C (string2params):
3119 * insetfloat.C (string2params):
3120 * insetgraphics.C (string2params):
3121 * insetinclude.C (string2params):
3122 * insetminipage.C (string2params):
3123 * insettabular.C (string2params):
3124 * insetwrap.C (string2params): cure warning message about missing
3127 2003-03-09 Angus Leeming <leeming@lyx.org>
3129 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3130 it to communicate with the frontend dialogs.
3132 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3133 contents of this inset!
3135 2003-03-07 Angus Leeming <leeming@lyx.org>
3137 * inseterror.C (localDispatch): new method; calls edit() on
3140 2003-03-07 Angus Leeming <leeming@lyx.org>
3142 * insetbibitem.C (localDispatch):
3143 * insetbibtex.C (localDispatch):
3144 * insetlabel.C (localDispatch):
3145 rewrite as a switch.
3147 2003-03-07 Angus Leeming <leeming@lyx.org>
3149 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3150 it to communicate with the frontend dialogs.
3152 2003-03-07 Angus Leeming <leeming@lyx.org>
3154 * insetexternal.C: remove operator== and operator!= for
3155 InsetExternal::Params. They were used only by the old controller
3158 2003-03-07 Angus Leeming <leeming@lyx.org>
3160 * insetcommand.C (localDispatch):
3161 * insetexternal.C (localDispatch):
3162 * insetfloat.C (localDispatch):
3163 * insetinclude.C (localDispatch):
3164 * insetminipage.C (localDispatch):
3165 * insetwrap.C (localDispatch):
3166 add LFUN_INSET_DIALOG_UPDATE to the switch.
3168 2003-03-07 Angus Leeming <leeming@lyx.org>
3170 * insetcommand.C (string2params):
3171 * insetexternal.C (string2params):
3172 * insetfloat.C (string2params):
3173 * insetinclude.C (string2params):
3174 * insetwrap.C (string2params): use LyXLeX more.
3177 * insetexternal.[Ch]:
3179 * insetinclude.[Ch]:
3180 * insetwrap.[Ch]: change Mailer::name_ to be static.
3182 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3183 it to communicate with the frontend dialogs.
3185 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3188 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3190 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3192 * insettext.C (updateLocal): un-const function
3193 (updateLocal): adjust
3194 (collapseParagraphs): un-const function
3195 (collapseParagraphs): adjust
3197 2003-03-05 Angus Leeming <leeming@lyx.org>
3199 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3200 it to communicate with the frontend dialogs.
3202 2003-03-05 Angus Leeming <leeming@lyx.org>
3204 * insetcollapsable.C (draw): cache the BufferView.
3206 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3207 it to communicate with the frontend dialogs.
3209 2003-03-05 Angus Leeming <leeming@lyx.org>
3211 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3214 2003-03-05 Angus Leeming <leeming@lyx.org>
3216 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3218 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3219 it to communicate with the frontend dialogs.
3221 2003-03-05 Angus Leeming <leeming@lyx.org>
3223 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3224 it to communicate with the frontend dialogs.
3226 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * insettext.C (collapseParagraphs): adjust
3229 (appendParagraphs): make it take a Buffer* instead of a
3230 BufferParams& as arg.
3231 (appendParagraphs): adjust
3233 2003-03-04 Angus Leeming <leeming@lyx.org>
3235 * insetbibitem.C (localDispatch):
3236 * insetbibtex.C (localDispatch):
3237 * insetcommand.C (localDispatch):
3238 * insetert.C (localDispatch):
3239 * insetlabel.C (localDispatch):
3240 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3242 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3244 * insettext.C (latex): adjust for ParagraphList::iterator
3246 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3248 * insetbutton.C (view): adjust for boost 1.30.0
3249 * insetcollapsable.C (view): ditto
3250 * insetgraphics.C (statusChanged): ditto
3252 * insettext.h: move paragraphs to be public.
3254 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3256 * insetnote.[Ch] (InsetNote): remove unused constructor
3258 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3260 * insetgraphics.C: added include "format.h"
3262 2003-02-27 Angus Leeming <leeming@lyx.org>
3264 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3267 2003-02-27 Angus Leeming <leeming@lyx.org>
3269 * insetbibitem.C (localDispatch):
3270 * insetbibtex.C (localDispatch):
3273 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3275 2003-02-26 Angus Leeming <leeming@lyx.org>
3277 * insetbibitem.[Ch] (localDispatch):
3278 * insetbibtex.[Ch] (localDispatch):
3279 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3281 * insetcommand.C (localDispatch):
3282 act only on receipt of LFUN_XYZ_APPLY.
3284 * insetert.C (localDispatch): reformat.
3285 add LFUN_XYZ_APPLY to the switch.
3287 2003-02-26 John Levon <levon@movementarian.org>
3289 * insettext.C: use RowPainter
3291 * inset.h: make helpers take const *
3293 2003-02-26 Angus Leeming <leeming@lyx.org>
3295 * insetcommand.[Ch] (localDispatch): new method.
3297 2003-02-26 Angus Leeming <leeming@lyx.org>
3299 * insetinclude.C (draw): cache the BufferView* using cache not
3300 PreviewImpl::setView
3302 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3304 * insetgraphics.C (draw)
3305 * insetinclude.C (draw): Eliminate also the other argument (owner
3306 inset inset) in the call to PreviewImage::image
3308 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3310 * insetgraphics.C (draw)
3311 * insetinclude.C (draw): Eliminate Buferview argument in call to
3314 2003-02-25 John Levon <levon@movementarian.org>
3316 * insetgraphicsParams.h:
3317 * insetgraphics.C: don't start a load process if
3318 the inset is set to NoDisplay (bug #920)
3320 2003-02-22 John Levon <levon@movementarian.org>
3323 * insetwrap.C: TocItem changed API (bug 913)
3325 2003-02-21 Angus Leeming <leeming@lyx.org>
3327 * insetcollapsable.[Ch] (cache, edit):
3328 * insetbutton.[Ch] (cache, edit): new methods to cache the
3329 BufferView in the draw method.
3331 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3332 simplify comunication between InsetCommand-derived classes and
3335 * insetbibitem.[Ch]:
3339 * insetfloatlist.[Ch]:
3343 * inseturl.[Ch]: small changes to reflect the new interface to the
3346 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3347 other, similar classes.
3349 * Makefile.am: add new files.
3351 2003-02-21 Angus Leeming <leeming@lyx.org>
3353 * updatableinset.h (setView, view): remove.
3354 * inset.h (view, cache): to be replaced by these.
3356 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3359 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3362 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3364 2003-02-21 Allan Rae <rae@lyx.org>
3366 * insetinclude.C (loadIfNeeded): ensure loading also works when
3367 child document is under version control.
3369 2003-02-17 André Pönitz <poenitz@gmx.net>
3371 * insetbib.[Ch]: Adjust access to bibkeys
3373 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3375 * insetquotes.C (dispString): remove use of acute accent for "'"
3378 2003-02-14 John Levon <levon@movementarian.org>
3380 * insettabular.C: changed method names in tabular.C
3382 2003-02-14 John Levon <levon@movementarian.org>
3386 * insetcollapsable.h:
3387 * insetcollapsable.C:
3391 * insettext.C: remove unused getParFromID()
3393 2003-02-13 John Levon <levon@movementarian.org>
3396 * insettext.C: remove unused beginningofMainBody()
3398 2003-02-08 John Levon <levon@movementarian.org>
3402 * insetcollapsable.h:
3403 * insetcollapsable.C:
3408 add nextChange(). Make allowSpellcheck() const. Add markErased().
3410 * insetert.C: ignore deleted text
3412 * insettabular.C: make sure to keep change tracking working
3415 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3420 * insettext.C: Use error messages with identical spelling and punctuation
3422 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3424 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3426 2002-12-17 Juergen Vigna <jug@lyx.org>
3428 * insettext.C (localDispatch): hopefully fixed cursor up down
3429 movement on leaving other insets.
3431 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3433 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3436 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3438 * insetgraphics.C (prepareFile): do not remove the extension of
3439 the file name if it is not the default extension for the given
3440 format (that is, in latex output, remove extension from foo.eps,
3441 but not from foo.epsi)
3443 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3445 * insettext.C (lfunMouseRelease): hackish solution to the "double
3448 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3450 * insetfloat.C (addToToc): use the floats name not its type
3451 * insetwrap.C (addToToc): ditto
3453 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3455 * insetnote.C (init): make label font smaller
3457 2002-12-04 John Levon <levon@movementarian.org>
3459 * insetinclude.C: ressurect setting of command name
3461 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3463 * insetquotes.C (dispString): disambiguate insert call
3465 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3467 * several files: ws changes
3469 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3471 * insetquotes.C (dispString): use string::insert for prepending a
3474 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3476 * insetparent.C (getScreenLabel): use boost::format
3478 * insetgraphics.C (prepareFile): use boost::format
3481 * insetfloatlist.C (latex): use boost::format
3483 * insetcaption.C (draw): use boost::format
3485 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3487 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3490 2002-11-20 Juergen Vigna <jug@sad.it>
3492 * insettabular.C (resetPos): temporary fix for endless loop in
3493 this function on a redraw.
3495 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * insettabular.C (copySelection): STRCONV
3499 * insetinclude.C (uniqueID): STRCONV
3500 (latexString): ditto
3502 * insetgraphics.C: put VersionNumber inside anon namespace
3503 (createLatexOptions): STRCONV
3505 * insetcommandparams.C: include config.h
3507 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3509 * insetgraphicsParams.C (Write): use lyx::float_equal.
3510 Write height data correctly.
3511 (Read): zero scale when reading height data.
3513 2002-10-30 John Levon <levon@movementarian.org>
3515 * insetfloat.C (addToTOC): recursively traverse all
3516 contents looking for captions (fix #568)
3518 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3520 * insetexternal.C (doSubstitution): do not try to replace
3521 environment variables, this is done when executing the command
3523 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3525 * insetexternal.C (doSubstitution): change order of substitution
3526 to work around ReplaceEnvironmentPath brokenness
3528 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3530 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3532 * insetgraphicsParams.C (init, Write): associated changes
3533 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3534 InsetGraphicsParams::scale.
3536 2002-10-21 John Levon <levon@movementarian.org>
3538 * inset.h: remove unused DISPATCH_RESULT
3540 * insettext.C: sgml open/close tag now in sgml namespace
3542 2002-10-21 Angus Leeming <leeming@lyx.org>
3544 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3545 file path subdir/fig.eps when pasting it into a buffer in a different
3548 2002-10-16 John Levon <levon@movementarian.org>
3550 * insetspecialchar.C: remove \\protected_separator parsing
3552 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3554 * insetquote.C: fix LaTeX output of quotation marks.
3556 2002-10-14 Juergen Vigna <jug@sad.it>
3558 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3559 Backspace functions which confused the Undo handling.
3561 2002-10-09 Angus Leeming <leeming@lyx.org>
3563 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3564 BufferView::dispatch that turns off this optimisation when a new inset
3567 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3568 reload the BibTeX keys.
3570 2002-10-11 André Pönitz <poenitz@gmx.net>
3572 * insettext.h: handle LFUN_PRIOR/NEXT
3574 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3576 * insetfloat.C: fix bug with float settings
3577 (document default != float default).
3579 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3581 * insetwrap.C (addToToc): New method.
3582 (InsetWrap): Set layout to caption.
3584 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3586 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3588 2002-09-16 John Levon <levon@movementarian.org>
3590 * insettabular.h: hasSelection() needs to be public
3592 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3594 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3596 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3598 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3600 2002-09-11 André Pönitz <poenitz@gmx.net>
3602 * insettabular.C: implement LFUN_WORDSEL
3604 2002-09-10 John Levon <levon@movementarian.org>
3606 * insetinclude.h: remove unused param
3608 2002-09-09 John Levon <levon@movementarian.org>
3611 * insetinclude.C: remove noload, default to input
3613 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3615 * insetgraphics.C: disfuscated use of ']' in built output string.
3617 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3619 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3621 2002-08-29 Juergen Vigna <jug@sad.it>
3623 * insettabular.C (lfunMousePress): Pay attention where you set
3624 the x/y values as they depend on which inset in the tabular is
3625 actually locked. So you surely have to reset them if you (un)lock
3628 2002-08-29 André Pönitz <poenitz@gmx.net>
3630 * insetfootlike.h: rename include guard to ALL CAPS
3632 * insettext.C: swap object and first parameter for checkInsetHit calls
3633 as this functions has moved from BufferView to LyXText
3636 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3638 * insetgraphicsParams.C: remove local displayTranslator and use
3639 the one from graphics/GraphicsTypes.h.
3641 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3643 * insetfloat.C (wide): add BufferParams parameter
3645 * insetfloatlist.C (read):
3648 * insetfloat.C (latex):
3650 * insetcaption.C (draw): use LyXTextClass::floats()
3652 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3654 * insetoptarg.h: add std:: qualifier.
3656 2002-08-26 Juergen Vigna <jug@sad.it>
3658 * insettext.C (localDispatch): ditto.
3660 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3662 2002-08-25 John Levon <levon@movementarian.org>
3664 * inseturl.C: elide long URLs (bug 404)
3666 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3668 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3669 remove "Format Version <version_no.>" string from inset header
3672 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3674 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3675 a member of "grfx::Params" anymore.
3677 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3679 2002-08-24 John Levon <levon@movementarian.org>
3682 * insetoptarg.C: ws, pedantry ...
3684 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3686 * insettext.C (collapseParagraphs): pasteParagraph now in global
3688 (appendParagraphs): ditto
3690 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3692 * insetcite.C (latex): Remove spaces only after commmas.
3694 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3696 * insettext.C: remove NO_COMPABILITY stuff
3698 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3700 * insettext.C (edit): use ParagraphList iterators
3702 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3703 (bibitemWidest): ditto
3705 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3707 * insettext.C: include <boost/bind.hpp>
3708 add using std::for_each
3709 (saveLyXTextState): use ParagraphsList::iterator
3710 (init): use for_each on paragraphlist iterators
3711 (InsetText): remove superflous setting cached_bview to 0
3712 (latex): reformat a bit
3713 (ascii): use paragraphlist iterators
3714 (validate): use for_each + boost bind
3715 (getLabelList): use paragraphlist iterators
3716 (deleteLyXText): use for_each + boost::bind
3717 (resizeLyXText): ditto
3718 (reinitLyXText): ditto
3719 (removeNewlines): use paragraphlist iterators
3720 (getParFromID): ditto
3721 (paragraph): use for_each + boost::bind
3722 (getInsetFromID): use paragraphlist iterators
3723 (getLabelList): typo fix
3725 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3727 * insettext.C (read): assign tmp to paragraphs after return from
3728 call to parseSingleLyXformat2Token
3731 2002-08-13 Angus Leeming <leeming@lyx.org>
3750 changes due to the changed LyXView interface that now returns references
3751 to member variables not pointers.
3753 2002-08-13 Angus Leeming <leeming@lyx.org>
3756 * insetcollapsable.h:
3759 * insettext.h: forward-declare WordLangTuple
3760 (selectNextWordToSpellcheck) constify return type.
3763 * insetcollapsable.C:
3766 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3768 2002-08-12 Angus Leeming <leeming@lyx.org>
3770 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3772 2002-08-12 Juergen Vigna <jug@sad.it>
3774 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3777 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3779 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3780 (bibitemWidest): ditto
3781 * insettext.[Ch]: ditto
3783 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3785 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3787 2002-08-09 Angus Leeming <leeming@lyx.org>
3789 * insetinclude.C (latexString): remove fudge now that I've found out
3790 how to enable LaTeX to find the file using input@path.
3792 2002-08-09 John Levon <levon@movementarian.org>
3795 * insettext.C: remove unused xpos
3797 2002-08-07 Juergen Vigna <jug@lyx.org>
3799 * insettabular.C (localDispatch): make delete not put the stuff
3800 in the clipboard only do this on a cut operation.
3802 * insettext.C (localDispatch): make delete and backspace not put
3803 selected stuff to the clipboard.
3805 2002-08-07 André Pönitz <poenitz@gmx.net>
3808 * insetcollapsable.[Ch]:
3812 * insettabular.[Ch]:
3813 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3815 2002-08-06 John Levon <levon@movementarian.org>
3819 * insetcollapsable.h:
3820 * insetcollapsable.C:
3826 * insettext.C: use WordLangTuple for spellcheck
3828 2002-08-06 Angus Leeming <leeming@lyx.org>
3830 * insetinclude.C: add a monitor to the previewed image, so that the
3831 image is refreshed if the \input-ed file changes.
3833 2002-08-04 John Levon <levon@movementarian.org>
3836 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3838 2002-08-02 Angus Leeming <leeming@lyx.org>
3840 * insetcommandparams.[Ch] (preview): new methods returning and setting
3841 a new bool preview_ flag.
3842 (read): read this flag.
3843 (operator==): add flag to check.
3845 * insetinclude.C (write): output new preview() flag.
3846 (previewWanted): use this flag.
3848 2002-08-02 Angus Leeming <leeming@lyx.org>
3850 * insetcollapsable.[Ch] (addPreview):
3851 * insettabular.[Ch] (addPreview):
3852 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3853 for insets in insets.
3855 2002-08-02 Angus Leeming <leeming@lyx.org>
3857 * insetcite.C: fix typo.
3859 * insetgraphics.C: kill current_view and instead cache the BufferView
3862 * insetinclude.C: kill current_view and pass the BufferView to the
3863 PreviewedInset so that it can cache it.
3865 2002-08-01 Angus Leeming <leeming@lyx.org>
3867 * inset.h (generatePreview): renamed as addPreview.
3868 (generatePreview): new method. Allows code to be moved out of
3869 math_nestinset.C and into the new PreviewedInset class.
3871 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3872 add previews to the inset when \input-ing LaTeX.
3874 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3876 * several files: strip,frontStrip -> trim,ltrim,rtrim
3878 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3880 * insetbib.C (latex): modify because of strip changes
3882 * insetnote.C (InsetNote): ditto
3884 2002-07-26 Juergen Vigna <jug@sad.it>
3886 * insettabular.C (searchForward): check for lastcell if we
3887 had a locking inset.
3889 2002-07-25 Juergen Vigna <jug@sad.it>
3891 * insettabular.C (insetMotionNotify): Don't update the screen
3892 if we didn't do nothing.
3893 (searchForward): last cell was not checked.
3895 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3897 * insetfloat.C (read, write): Allow default placement
3898 (floatPlacement_ is empty).
3900 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3902 * insetminipage.h (noFontChange):
3903 * insettabular.h (noFontChange):
3904 * insetfootlike.h (noFontChange):
3905 * insetfloat.h (noFontChange): return true
3907 * inset.h (noFontChange): new method, defaulting to false
3909 2002-07-22 Herbert Voss <voss@lyx.org>
3911 * insetgraphicsParams.[Ch]: support size_type for old docs
3913 2002-07-22 Herbert Voss <voss@lyx.org>
3916 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3919 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3921 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3923 * insetlatexaccent.h: do not include "lyxlex.h"
3925 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3928 * insetlatexaccent.C:
3932 * insetbib.C: #include "lyxlex.h"
3938 * insettext.C: use BufferParams::getLyXTextClass
3941 * insetfloat.C (addToToc): new method. Add to toclist the entries
3942 corresponding to Caption layouts
3943 (InsetFloat): when creating a new float, set the layout to "Caption"
3945 2002-07-21 Herbert Voss <voss@lyx.org>
3947 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3948 image relevant part into graphics/GraphicsImgae.C
3950 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3952 * insettoc.C (ascii):
3953 * insetfloatlist.C (ascii): change to use the new Toc functions
3954 instead of stuff that was in Buffer
3956 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3958 * insettext.C (localDispatch): BufferView::Dispatch has been
3959 renamed to BufferView::dispatch
3961 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3963 * insetgraphicsParams.C (as_grfxParams): use the new
3964 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3965 1.2.0 patch, and I do not really know how to adapt it to the new
3966 grfx::Cache world. Angus, please could you have a look?
3968 2002-05-01 Herbert Voss <voss@lyx.org>
3970 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3972 2002-07-18 Angus Leeming <leeming@lyx.org>
3974 * insetgraphics.C: clean-up comments (from Herbert).
3975 add a new checksum variable to the cache. Use it in PrepareFile.
3976 (draw): start monitoring the file for a change.
3977 (prepareFile): re-arrange a little to avoid unnecessary steps.
3979 2002-07-17 Angus Leeming <leeming@lyx.org>
3981 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3982 a method rather than to the signal directly.
3984 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3986 * insettext.C: use view_state_changed, switchKeyMap
3988 2002-07-17 Herbert Voss <voss@perce.de>
3990 * insetgraphics.C (prepareFile): keep the extension when
3991 exporting to nice file
3993 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3995 * insetcite.C (getNatbibLabel):
3996 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3998 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
4000 * insetgraphics.C: use ->isDrawable()
4002 2002-07-12 Angus Leeming <leeming@lyx.org>
4004 * insetgraphics.C: use the new smart loading capabilities of the image
4007 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4009 * insettabular.C (edit): Move into correct cell when entering a
4012 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4015 2002-07-05 Angus Leeming <leeming@lyx.org>
4017 * inset.h (generatePreview): new virtual method.
4019 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4021 * insetcommandparams.[Ch] (operator=): move out of class
4022 (operator!): move out of class
4024 2002-07-04 André Pönitz <poenitz@gmx.net>
4026 * insetcommandparams.[Ch]: new files
4028 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4030 2002-06-15 Herbert Voss <voss@perce.de>
4032 * insetgraphics.C (prepareFile): bugfix; return always
4033 files without extension
4035 2002-06-28 Angus Leeming <leeming@lyx.org>
4037 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4038 rename asGParams -> as_grfxParams.
4040 * insetgraphics.C: reflect above change.
4042 2002-06-26 Angus Leeming <leeming@lyx.org>
4044 * insetgraphics.h: use boost::scoped_ptr in preference to
4047 2002-06-26 Angus Leeming <leeming@lyx.org>
4049 * insetgraphics.C: moved the image loading stuff into a new class
4050 grfx::Loader. Simplifies this file enormously.
4052 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4054 * insetgraphicsParams.C: changes aassociated with moving
4055 grfx::DisplayType out of grfx::GParams.
4057 2002-06-26 André Pönitz <poenitz@gmx.net>
4059 * insetgraphics.C: use os::external_path where necesaary according to a
4060 patch from Claus Hentschel)
4062 2002-06-25 Angus Leeming <leeming@lyx.org>
4064 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4065 generating a pixmap once the graphics file is loaded into memory.
4066 The current_view ugliness that was in grfx::ModifiedImage has been
4067 moved here now that grfx::ModifiedImage is no more.
4069 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4071 * insettext.C: layout as layout
4073 2002-05-28 André Pönitz <poenitz@gmx.net>
4075 * insetfloatlist.h: remove source of compiler warning
4077 * insetref.C: tiny whitespace
4079 2002-06-15 Herbert Voss <voss@perce.de>
4081 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4082 and take always convert when no userdefined converter was
4084 (latex) small changes in the lyxerr output
4086 2002-06-15 LyX Development team <lyx@rilke>
4088 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4089 mixed content. Small white spaces clean.
4091 2002-06-14 Angus Leeming <leeming@lyx.org>
4093 * inseetexternal.C: remove the using std::difftime declaration.
4095 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4097 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4099 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4101 * insetquotes.C (draw): fix drawing of double quotes
4103 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4105 * insettabular.C: s/scrollCB/scrollDocView/
4107 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4109 * insettext.C: change of topCursorVisible()
4112 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4115 * insettext.C: rename/change of LyXScreen
4117 2002-06-07 Angus Leeming <leeming@lyx.org>
4119 Fixes needed to compile with Compaq cxx 6.5.
4121 all c-library variables have been moved into namespace std.
4122 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4124 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4126 * insetinclude.C (uniqueID):
4127 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4128 conflicted with some AIX headers.
4130 2002-05-31 Juergen Vigna <jug@sad.it>
4132 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4136 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4138 * insetexternal.C (clone): fix () bug when using new
4139 (updateExternal): don't only look for difftime in global scope
4141 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4143 * insettabular.C: add const
4145 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4147 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4148 file name, in case there are weird characters like ',' in there.
4151 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4153 * switch from SigC signals to boost::signals.
4155 2002-05-28 André Pönitz <poenitz@gmx.net>
4157 * insets/insetgraphicsParams.[Ch]:
4158 put in inset related stuff from src/graphic
4160 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4168 * insetcollapsable.C:
4169 * insetcollapsable.h:
4197 * inseturl.h: use mouse_state. Kill insetKeyPress
4199 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4204 * insetcollapsable.C:
4207 * insetlatexaccent.C:
4209 * insetspecialchar.C:
4211 * insettext.C: name change for font metrics
4213 2002-05-24 Juergen Vigna <jug@sad.it>
4215 * insetgraphics.h: include inset.h first (for LString.h)
4217 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4219 * insettext.C: screen moved
4221 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4239 * inseturl.C: LyXView moved into frontends/
4241 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4246 * insetcollapsable.C:
4250 * insetgraphicsParams.C:
4251 * insetlatexaccent.C:
4253 * insetspecialchar.C:
4255 * insettext.C: move Painter to frontends/
4257 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4259 * insettabular.h: use more specific smart_ptr header.
4260 * insettext.h: ditto
4262 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4265 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4267 * insettext.C: clear selection on paste (bug 393)
4269 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4271 * insettext.C (latex): Honor the moving_arg argument.
4273 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4275 * insetfoot.C (latex): if a footnote is in a title layout, then it
4276 is a \thanks. And then, its contents is a moving argument.
4278 2002-05-14 Juergen Vigna <jug@sad.it>
4280 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4283 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4285 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4286 when using options "Full author list" or "Upper case".
4288 2002-05-14 Herbert Voss <voss@perce.de>
4290 * insetgraphics.C (prepareFile): allow files with same name
4292 (readFigInset): set the flags from old figinset in the right
4294 (findTargetFormat): more comments
4296 2002-05-14 Juergen Vigna <jug@sad.it>
4298 * insettext.C (edit): tell checkAndActivateInset() that we don't
4299 have a button press.
4300 (checkAndActivateInset): if button < 0 we don't have a button press
4301 on the inset and os we won't call edit on it if it's not a Highly
4302 editable inset (then we have to enter it).
4304 2002-05-13 Juergen Vigna <jug@sad.it>
4306 * insetcollapsable.C (insetButtonRelease): returned wrong return
4309 2002-05-09 Juergen Vigna <jug@sad.it>
4311 * insetcollapsable.C (edit): first_after_edit should only be
4312 set to true if we enter this inset and it was collapsed so we
4313 open it up. This is needed to reclose it after a search/replace
4314 or spellcheck function opened it and was negative.
4316 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4318 * insetfloat.C (latex): Return correct value.
4320 2002-05-04 Herbert Voss <voss@perce.de>
4322 * InsetgraphicsParams.C (read): fix bug with WH
4324 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4326 * insetfloat.C (latex): More sensible latex output
4327 (fix the problem with endfloat).
4329 2002-05-02 José Matos <jamatos@fep.up.pt>
4331 * insetgraphics.C (validate): acess params as everyone else.
4333 2002-05-03 Juergen Vigna <jug@sad.it>
4335 * insettabular.C (fitInsetCursor): recalculate the cursor position
4338 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4340 * InsetgraphicsParams.[Ch]: whitespace.
4342 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4344 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4345 float type do not exist.
4347 2002-04-28 Herbert Voss <voss@perce.de>
4349 * insetgraphics.C (latex): fix bug with missing file-extension.
4350 LaTeX still allows a missing "eps" or "ps".
4352 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4354 * insetfloat.C (c-tor, wide): translate the name of the float.
4356 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4358 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4359 when using natbib and make it work efficiently. Must emphasise that the
4360 real work is Herbert's.
4362 2002-04-23 Herbert Voss <voss@perce.de>
4364 * insetgraphic.C (prepareFile): fix bug with overwriting and
4365 deleting an existing *.eps-file in the doc-dir
4367 2002-04-23 Juergen Vigna <jug@sad.it>
4369 * insettabular.C (drawCellSelection): fix off by 1 error.
4371 2002-04-22 Juergen Vigna <jug@sad.it>
4373 * insettabular.C (setFont): rewoke full selection if it was asked,
4374 after we changed all we had to change.
4376 * insettext.C (insetUnlock): code was uninitialized in some situations.
4378 2002-04-19 Herbert Voss <voss@perce.de>
4380 * insetgraphic.C (prepareFile): return filename without
4381 extension if we only export without compiling
4383 2002-04-19 Juergen Vigna <jug@sad.it>
4385 * insettext.C (draw): call a fullRebreak on the row where we had a
4386 change and reset the cursor and selection-cursors.
4388 * insettabular.C (insetUnlock):
4389 (insetButtonPress): call an update before setting the_locking_inset = 0
4390 as otherwise we don't repaint!
4391 (update): reset the cursor position when we changed dimensions as
4392 otherwise our cursor may be on the wrong spot.
4394 2002-04-18 Juergen Vigna <jug@sad.it>
4396 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4397 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4398 redraw otherwise we won't redraw.
4400 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4401 not really right before, but I only discovered this with the last
4402 changes to Page up/down.
4404 2002-04-17 Juergen Vigna <jug@sad.it>
4406 * insettext.C (checkAndActivateInset): simplified as we now have the
4407 edit(bv, bool) call.
4409 * insettext.h: changed behind variables to front variables to be
4410 equal to the one in the edit call (as it is for that they are used).
4412 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4414 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4415 not output anything at all!
4417 2002-04-16 Juergen Vigna <jug@sad.it>
4419 * insettabular.C (insetButtonPress):
4420 (insetUnlock): call a redraw on unlocking the cell inset.
4422 * insettext.C (insetButtonPress): same as below.
4423 (lockInset): new function to set initial values when inset should
4425 (insetButtonPress): use above function.
4426 (insetUnlock): don't force a repaint only set the updateStatus. The
4427 outside world should repaint if it thinks it should be done!
4429 * insettabular.C (insetButtonPress): init values if not set as locked
4430 as we are locked if someone presses on us and don't call the edit()
4431 call of the InsetText to lock it do it as BufferView does it!
4433 * inset.h (insetInInsetY): make func const and return an int.
4436 * insetcollapsable.C: adapt the above changed function.
4438 2002-04-15 Juergen Vigna <jug@sad.it>
4440 * insettext.C (getCursorPos): return relative position as to be able
4441 to give them directly to the edit() call.
4442 (edit): we have to set also x_fix as it is not set inside the
4443 setCursorFromCoordinates call!
4444 (insetMotionNotify): ditto.
4446 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4448 * insetbib.C (getKeys): strip leading '\t's from the line too.
4449 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4451 2002-04-12 Juergen Vigna <jug@sad.it>
4453 * insettext.h: added cix() helper function and use it where appropriate
4455 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4457 * insetgraphics.C (prepareFile): fix bug when graphics is a
4460 2002-04-12 Juergen Vigna <jug@sad.it>
4462 * insettext.C (insertInset): remove unneeded code!
4463 (updateLocal): fitCursor() fixes.
4464 (collapseParagraphs): fix a possible problem when having a selection
4465 and collapsing the paragraphs.
4467 2002-04-08 Herbert Voss <voss@perce.de>
4469 * insetgraphic.C (write): write the rotating angle as
4470 a float as is. test only for != 0.0
4472 2002-04-11 Juergen Vigna <jug@sad.it>
4474 * insettext.C: new function ciy() and use it for setting inset_y.
4476 * insetert.C (draw): fix the x return for collapsed version.
4478 2002-04-07 Herbert Voss <voss@perce.de>
4480 * insetgraphic.C (readFigInset): fix bug with subcaption and
4483 2002-04-08 Herbert Voss <voss@lyx.org>
4485 * insetgraphicsparam.C: forgot special option and delete old
4488 2002-04-05 Juergen Vigna <jug@sad.it>
4490 * insettext.C (localDispatch): make a CURSOR update if we inserted
4493 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4495 * insetfloatlist.C (getScreenLabel):
4496 (latex): use Floating::listName
4497 (validate): new method
4499 2002-04-03 José Matos <jamatos@fep.up.pt>
4501 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4503 * insetfoot.[Ch] (docbook): added forgotten method.
4505 2002-04-03 Juergen Vigna <jug@sad.it>
4507 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4508 way as in Bufferview_pimpl.
4510 2002-04-03 Allan Rae <rae@lyx.org>
4512 * insetgraphics.C (latex): one % too many makes living on the bleeding
4513 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4515 2002-03-28 Herbert Voss <voss@lyx.org>
4517 * insetgraphic.C (latex): simplify the code for the latex
4518 output when the file doesn't exist
4520 2002-03-29 Juergen Vigna <jug@sad.it>
4522 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4525 * insettabular.C (edit): call fitCursor().
4527 * insettext.C (insetButtonPress): change behaviour of no_selection
4528 to the one in the BufferView selection_possible and fix the spurious
4529 selection bug with it.
4530 (localDispatch): revoke selection on BREAK... functions.
4532 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4534 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4536 2002-03-28 Juergen Vigna <jug@sad.it>
4538 * insettabular.C (insetAllowed): return true as default value otherwise
4539 we're not able to insert insets inside paragraphs of an not locked
4542 2002-03-27 Herbert Voss <voss@lyx.org>
4544 * insetgraphicsparam.C: change c%, p% to col%, page%
4546 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4548 * insetspecialchar.C (isLineSeparator): disable the nice code to
4549 allow linebreaks after hyphenation and menu separators.
4551 2002-03-26 Herbert Voss <voss@lyx.org>
4553 * insetgraphics.C (figinsetRead): set the right lyxview
4555 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4557 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4558 $\backslash$ and pass a "string const &" to the function.
4559 (prepareFile, latex): use Path rather than MakeAbsPath.
4561 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4563 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4564 proper fix to the graphics cache.
4565 (latex): "really" nice output if the file is not found ;-)
4567 2002-03-26 Juergen Vigna <jug@sad.it>
4569 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4570 (collapseParagraphs): fixed inserting of separator ' '
4572 * insettabular.C (insertAsciiString): only check for buffer lenght
4573 not if we have \t or \n inside the buffer as if we don't have we only
4574 have 1 cell and that's it!
4576 * insetert.C (close): don't collapse if inlined.
4578 2002-03-25 Herbert Voss <voss@lyx.org>
4580 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4581 graphics file does not exist.
4583 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4585 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4586 path when preparing export.
4588 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4589 no longer MakeRelPath.
4591 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4593 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4594 Used to determine the absolute path to the graphics file in the
4595 graphics cache and only in the graphics cache.
4596 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4597 make graphics file name absolute if it is stored as a relative path.
4599 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4600 make graphics file name absolute if it is stored as a relative path.
4602 * insettext.C (edit): emit an updateParagraph signal on entering a text
4603 inset. Needs to be emitted when leaving the inset also.
4605 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4607 * all files: ws cleanup
4609 * Makefile.am: remove ld -r stuff
4611 2002-03-21 Juergen Vigna <jug@sad.it>
4613 * insettext.C (appendParagraphs): new function added to append
4614 the paragraphs to this insets paragraphs.
4616 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4618 * Makefile.am: special rules if partial linking
4620 2002-03-19 Juergen Vigna <jug@sad.it>
4622 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4624 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4626 * insetgraphics.C: Clean up Baruch's comments a little.
4627 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4629 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4632 * insettheorem.C: wrap warnings
4634 * insetgraphics.C: improve messages, move cached_status_
4635 setting to safer place
4637 2002-03-18 Juergen Vigna <jug@sad.it>
4639 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4641 (localDispatch): ditto
4643 * insettext.C (edit): removed unneeded showCursor calls.
4644 (localDispatch): ditto.
4646 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4648 * insetgraphics.h: remove display() method.
4650 2002-03-11 Juergen Vigna <jug@sad.it>
4652 * insetgraphics.C (draw): hack to fix the redrawing bug.
4653 (draw): seems this fixes #268 (force redraw of row if we changed).
4655 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4656 this inset text (don't know why I missed this earlier).
4658 2002-03-08 Juergen Vigna <jug@sad.it>
4660 * insettabular.C (updateLocal): do a FULL update if we're not locked
4661 and only a CELL update is asked.
4663 * insettext.C (updateInsetInInset): update insets inside inset also
4664 if it isn't inside the_locking_inset.
4666 * insettabular.C (updateInsetInInset): ditto.
4668 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4670 * insetexternal.C (doSubstitution): check whether we are using a
4671 temp dir for defining $$FPath
4673 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4676 * insettext.C: remove #include "WorkArea.h".
4678 2002-03-06 Juergen Vigna <jug@sad.it>
4680 * insettext.C (draw): fixed frame redrawing.
4681 (clear): forgot to set the inset_owner of the paragraph.
4683 * insetert.C (status): pay attention the bv can be 0 here!
4684 (getMaxWidth): add the default leftMargin
4686 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4688 * insetert.C (getMaxWidth): make w unsigned int.
4690 2002-03-05 Juergen Vigna <jug@sad.it>
4692 * insetert.C (status): change behaviour of Inlined.
4693 (getMaxWidth): added for new inlined behaviour.
4695 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4697 * insetnote.h (linuxdoc, docbook): add empty methods.
4698 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4699 before being initialized.
4701 2002-03-05 Juergen Vigna <jug@sad.it>
4703 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4704 only that one in the inset. Should be enough.
4705 (updateLocal): set the selection cursor always if we don't have a
4706 selection to be sure it's set!
4708 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4710 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4712 * insettext.C (clear): a gross hack to set layout on a newly
4715 2002-03-04 Juergen Vigna <jug@sad.it>
4717 * insettabular.C (localDispatch): inserted handling of
4718 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4719 (insertAsciiString): new helper function.
4721 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4723 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4726 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4728 * insettext.C (InsetText): initalize newly created par with
4729 default layout. add bufferparams parameter
4732 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4733 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4734 * insetert.[Ch] (InsetERT): ditto
4735 * insetfloat.[Ch] (InsetFloat): ditto
4736 * insetfoot.[Ch] (InsetFoot): ditto
4737 * insetfootlike.[Ch] (InsetFootLike): ditto
4738 * insetmarginal.[Ch] (InsetMarginal): ditto
4739 * insetminipage.[Ch] (InsetMinipage): ditto
4740 * insetnote.[Ch] (InsetNote): ditto
4741 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4743 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4745 * insettext.C: layout as string
4747 * insetinclude.C: layout as string
4749 * insetert.C: layout as string
4751 * insetbib.C: layout as string
4753 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4756 * insettabular.C: remove #include "lyx_gui_misc.h".
4758 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4763 * inset.h: remove figinset, yahoo !
4765 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4767 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4768 copy c-tor and initialise member variables in the correct order.
4770 2002-02-28 Juergen Vigna <jug@sad.it>
4772 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4774 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4776 * inset.h: ... and add a better one here.
4778 * insetcommand.C (insetButtonRelease): remove that one which was a
4781 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4783 * insetcommand.C (insetButtonRelease): ... and move it here.
4785 * inseturl.h: remove insetButtonRelease from there...
4787 2002-02-26 Juergen Vigna <jug@sad.it>
4789 * inseturl.h: Added a insetButtonRelease call returning true as
4792 * insetlabel.C (edit): Fixed wrong update handling after change I
4793 leave in the wrong code for the one who wrote it to remove and have
4794 a look what he did wrong.
4796 * insettabular.C (localDispatch): force a SELECTION update if we
4797 had a selection and we passed the event down to the inset (fix #213)
4798 (localDispatch): handle font changing stuff when we have a cell
4799 selection so that the selection is not rewoked. I don't really like
4800 this fix, but it's the only way I see to do it right now.
4802 2002-02-22 Juergen Vigna <jug@sad.it>
4804 * insettext.C (insetUnlock): set the cursor to the second paragraph
4805 if available and if the first one is empty (fix #191).
4807 2002-02-20 Juergen Vigna <jug@sad.it>
4809 * insettext.C (getDrawFont): implemented this function to call the
4810 one of the owner if present as the owner normally knows what to do
4813 * insetert.C: implement getDrawFont() function and comment out all
4814 the crap for setting a special latex font inside this inset.
4815 (InsetERT): added a Lanugage parameter to this constructor.
4817 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4818 change the font for being drawn on screen (used only in InsetERT for
4821 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4822 and also above (was missing).
4823 (updateLocal): don't remove the cell selection if we have one this
4824 should be done where we really want to remove it.
4826 2002-02-20 José Matos <jamatos@fep.up.pt>
4828 * insetinclude.h: include_label made string const.
4830 * insetinclude.C (InsetInclude): moved include_label initialization.
4833 (validate): fix support for temporary directory, for docbook and
4836 * insetgraphics.h : new private member, graphic_label, that holds
4837 the entity name that defines the graphics location (SGML).
4839 * insetgraphics.C (unique_id): new function to give a unique label
4842 (validate): the file locatation is given by an entity reference.
4844 2002-02-18 Herbert Voss <voss@lyx.org>
4846 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4848 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4850 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4851 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4853 2002-02-18 José Matos <jamatos@fep.up.pt>
4855 * insetinclude.C (validate): some code only applies to latex buffers,
4856 it was made conditional.
4858 2002-02-12 Herbert Voss <voss@lyx.org>
4860 * insetgraphics.C: (prepareFile) do not check at this time
4861 if the file is present.
4863 2002-02-12 Herbert Voss <voss@lyx.org>
4865 * insetgraphics.C: latex(), return the correct newlines
4867 2002-02-13 José Matos <jamatos@fep.up.pt>
4869 * inseturl.C (docbook): escape & in url.
4871 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4873 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4874 after HYPHENATION and MENU_SEPARATOR
4876 * inset.h (isLineSeparator): new method, returns false by default.
4878 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4880 * insetert.C (status): do not update the text inset, but the ERT
4883 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4885 * insetnote.C: use notebg for background
4887 2002-02-08 Herbert Voss <voss@lyx.org>
4890 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4891 prevent LyX from unzipping when this should be handled
4892 by latex vis the graphic.cfg.
4895 2002-02-08 Herbert Voss <voss@lyx.org>
4897 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4898 exists, than return filename with extension
4900 2002-02-06 Herbert Voss <voss@lyx.org>
4902 * insetgraphic.C: prepareFile(): don't convert the file, when
4903 it's not viewed in LyX. Saves a lot of time when opening a
4906 2002-02-05 Herbert Voss <voss@lyx.org>
4909 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4910 and adding a rotate bool similiar to subcaption
4912 2002-02-04 Herbert Voss <voss@lyx.org>
4915 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4916 similiar view to the LaTeX one. Get zipped files work.
4918 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4920 * insetgraphicsParams.C (init): set display to DEFAULT.
4921 No longer #include "lyxrc.h".
4923 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4925 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4926 for now (so that the code compiles).
4928 2002-02-02 Herbert Voss <voss@lyx.org>
4930 * insetgraphic.C: delete inVariant() and some minor changes
4931 * insetgraphicsParams.[C]:
4933 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4935 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4936 interogate lyxrc.display_graphics before diaplaying the graphic.
4938 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4939 InsetGraphicsParams::DisplayType.
4941 2002-01-31 Herbert Voss <voss@lyx.org>
4943 * insetgraphic.C: (readfigInset) set display to pref-default
4945 2002-01-30 Herbert Voss <voss@lyx.org>
4947 * insetgraphic.C: get the filetyp from it's contents
4948 * insetgraphicparams.C: add token scale and lyxrc.display when
4949 creating a new inset
4951 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4953 * figinset.C: added using std::ios directive.
4955 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4957 * figinset.C (runqueue): open translation file in binary mode (for
4960 2002-01-27 Herbert Voss <voss@lyx.org>
4962 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4963 all options and to be sure that the old figinsets are correct
4965 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4966 structure and to support all lengths as LyXLength. The Parameter
4967 structure changed again, but reading of "old" 1.2 graphic insets
4970 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4972 * insetert.h (forceDefaultParagraphs): Added
4974 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4976 * insettabular.C (getMaxWidth):
4977 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4979 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4981 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4982 of LyXLength::inPixels
4984 * inset.C (latexTextWidth):
4985 * insetminipage.C (latexTextWidth): new method, which implements
4986 the equivalent of the LaTeX macro \textwidth
4988 * insetminipage.C (getMaxWidth): use latexTextWidth
4990 2002-01-18 Juergen Vigna <jug@sad.it>
4992 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4994 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4996 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4998 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
5001 2002-01-17 Juergen Vigna <jug@sad.it>
5003 * insettabular.C (lockInsetInInset): same change as in insettext.
5005 * insettext.C (draw): width() function was called without setting
5006 the right top_x which could lead to wrong insetWidth setting!
5007 (lockInsetInInset): call edit instead of calling lockInset if we
5008 have to lock an inset inside!
5009 (edit): we have to also tell the inset that we have to redraw the
5010 frame on an edit call if this inset draws a frame only if locked.
5012 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5014 * insetbib.C (getFiles): uncomment Path variable.
5016 2002-01-16 Juergen Vigna <jug@sad.it>
5018 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5021 2002-01-16 Allan Rae <rae@lyx.org>
5023 * insetinclude.C (docbook): someone forgot a ";"
5025 2002-01-16 José Matos <jamatos@fep.up.pt>
5027 * figinset.C (docbook): removed a old place holder "@".
5028 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5029 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5030 ascii text version, clearly guarded inside a CDATA section.
5031 (docbook): in docbook 4, inlinegraphics is empty.
5032 * insettabular.C (linuxdoc): export the ascii version of the table
5033 inside a CDATA section.
5035 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5037 * insetparent.C (InsetParent):
5038 * insetgraphicsParams.C (Write):
5040 * insetgraphics.C (prepareFile):
5043 * insetexternal.C (executeCommand):
5044 (doSubstitution): use Buffer::filePath
5046 * insetbib.C (getFiles): add a #warning for Angus
5048 * insetgraphics.C: Add a remark about how filenames should be
5049 considered to be relative to buffer (but absolute is still allowed)
5050 (draw): do not try to get status if lyxrc.use_gui is false
5052 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5055 * insetcollapsable.[Ch]:
5056 * insettabular.[Ch] (searchForward, searchBackward): change the
5057 bool const & params to bool.
5059 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5060 to avoid the name clash with InsetCollapsable's methods of the same
5061 names but different functionality.
5063 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5065 * insettext.C (ascii): use lyx::count rather than countChar.
5067 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5069 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5071 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5073 * insetgraphics.C (updateInset): do not try to render image if
5074 lyxrc.use_gui is false (bug #104)
5076 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5077 if file does not exist
5079 * figinset.C (browseFile): add shortcuts to directory buttons
5081 * insettext.C (updateLocal): update menubar and toolbar here too.
5083 2002-01-13 Allan Rae <rae@lyx.org>
5085 * insettabular.C (InsetTabular): Both constructors now initialise
5086 all class variables.
5088 2002-01-11 Juergen Vigna <jug@sad.it>
5090 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5092 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5094 * insettabular.C (getStatus): add forgotten brace around multiline
5097 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5099 * insetfloat.C (validate): require "float" instead of "floats".
5101 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5103 * insettabular.C (getStatus): use FuncStatus
5105 2002-01-08 Juergen Vigna <jug@sad.it>
5107 * insettabular.C (insetButtonRelease): now this should work too
5110 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5111 if the width is a percentage.
5113 * inset.h: added isChar() function and implemented this for
5114 insetspecialchar insetquotes and insetlatexaccent.
5115 added forceDefaultParagraphs() and implemented it for insettabular.
5117 2002-01-07 Juergen Vigna <jug@sad.it>
5119 * insettext.C (getLyXText): Fixed this function. An insert into the
5120 map is only done if we REALLY have a new BufferView.
5122 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5124 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5126 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5128 * insetinclude.C: fix use of FileInfo
5130 2002-01-07 Juergen Vigna <jug@sad.it>
5132 * insettabular.C (draw): fixed clearing of cell around inset.
5134 2002-01-05 Juergen Vigna <jug@sad.it>
5136 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5137 variables are updated.
5139 * insettabular.C (resetPos): set always the inset_y as it may be
5140 needed in another function.
5141 (searchBackward): don't draw while searching.
5143 2002-01-04 Juergen Vigna <jug@sad.it>
5145 * insettext.C (lockInsetInInset): forgot to set a cursor.
5147 2002-01-02 Juergen Vigna <jug@sad.it>
5149 * insettext.C (insertInset): make the correct undo informations on
5150 inserting new insets.
5152 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5154 * insettabular.C: correct single-cell select vertically
5156 2001-12-27 Juergen Vigna <jug@sad.it>
5158 * insettabular.C (ascii): export as tab-separated-values if the
5159 function was not called from export (f.ex.: clipboard).
5161 * insetcollapsable.h: added default support for ascii, linuxdoc and
5162 docbook export (the insettext is exported by default!)
5164 * insettabular.C (copySelection): suff the clipboard with the tabular
5165 data in a tab separated format, seems more naturals then with all the
5168 2001-12-24 Juergen Vigna <jug@sad.it>
5170 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5171 to check for REAL mouseMotion.
5173 2001-12-20 Juergen Vigna <jug@sad.it>
5175 * inset.C (cursor): return the owners cursor if available instead of
5176 always only the bv->text->cursor.
5178 * insettabular.C (checkLongtableSpecial): works now.
5180 2001-12-19 Juergen Vigna <jug@sad.it>
5182 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5183 this has to be always row + 1 as 0 means not selected!
5184 (checkLongtableSpecial): added
5185 (tabularFeatures): better longtable options support
5187 * insettext.C (resizeLyXText): reinit the text always also on a
5190 2001-12-18 Juergen Vigna <jug@sad.it>
5192 * insettext.C (updateInsetInInset): look if we have to autocollapse
5193 paragraps and return if the update is requested for ourself.
5195 * insetert.C (status): update the insettext not myself as that is what
5198 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5199 function only return if the update was requested with myself.
5201 * insettext.C (insetButtonPress): fixed stupid bug.
5202 (various functions): pay attention that lt is cleared BEFORE calling
5203 updateLocal() and try to use it in the right manner (don't use it
5204 if it's not really neccessary!)
5205 (collapseParagraphs): insert a blank between collapsing paragraphs
5206 if neccessary (not already there!).
5208 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5210 * insettabular.C: move includes around a bit, add a couple of
5213 * insettext.[Ch]: move includes around a bit, other ws changes and
5216 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5218 * insettext.C (insetButtonRelease): fix compile problem
5220 2001-12-17 Juergen Vigna <jug@sad.it>
5222 * insettext.C (insetButtonPress): set the selection cursor!
5223 (insetButtonPress): clear the selection (and set with that the
5224 selection.cursor) if we only hit an inset!
5226 * insetert.C (read): removed piece of compatibility code only needed
5229 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5232 * insetcollapsable.C (insetButtonRelease): changed so that it can
5233 open eventual existing popup dialogs on mousebutton==3.
5235 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5237 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5239 * inset.C (insetButtonRelease): return a bool for telling the outer
5240 world that we opened a dialog.
5242 2001-12-07 Juergen Vigna <jug@sad.it>
5244 * insettext.C (paragraph): remove the deleteing of paragraphs as
5245 it was a WRONG move!
5247 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5250 * insettabular.C: use new setSelection(). Allow
5251 selection of single cells.
5253 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5255 * insetquotes.C (latex): fix to use the local language setting at
5256 the point where the inset is inserted (different macros for
5257 different french packages)
5259 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5261 * inset.h: add par_owner_ member variable and parOwner
5264 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5266 * insettabular.C (everywhere): adapt because widths are now real
5267 widths and not strings
5269 * insettext.C (draw): re-introduce the calls to width(), ascent()
5270 and descent() to initialize the caching variables.
5272 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5274 * insettext.C (draw):
5275 (drawFrame): use insetWidth instead of last_width
5277 * insettext.h: remove variable last_width (insetWidth is exactly
5278 the same) and last_height (computed but never used!)
5280 2001-12-10 Allan Rae <rae@lyx.org>
5282 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5284 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5286 * insettext.C (insetAllowed): add comment
5288 2001-12-05 Juergen Vigna <jug@sad.it>
5290 * insettext.C (insetAllowed): fixed for the case that we directly
5291 ask the insettext from its LyXText.
5292 (paragraph): fixed the crash when assigning the par->next() from
5293 the EmptyParagraphMechanism!
5295 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5299 * insettext.C: change "while(" to "while ("
5301 2001-12-04 Juergen Vigna <jug@sad.it>
5303 * insetert.C (edit): handle Inlined status.
5305 * insettext.C (insertInset): trying John's fix for the trailing cursor
5307 * insetert.C (insetButtonPress): added to handle inlined status
5308 (insetMotionNotify): ditto.
5310 * insettext.C (clearInset): changed Painter & in BufferView * param,
5311 to be able to call ascent,descent methods.
5313 2001-12-03 Juergen Vigna <jug@sad.it>
5315 * insettext.C (updateInsetInInset): use lt variable to forbid
5316 changes of LyXText in an update call.
5317 (updateInsetInInset): fixed updating of non locked insets!
5319 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5321 * insettabular.C: capture some more functions to prevent
5322 selection drawing problems. Bug #451274
5324 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5327 * insetgraphicsParams.C: fix inverted sense of float_equal
5329 2001-11-30 Juergen Vigna <jug@sad.it>
5331 * insettabular.C (InsetTabular): use the save_id flag to create also
5332 the tabular with the same id's.
5334 * insettext.C (setParagraphData): added a same_id function for undo
5335 to set the same paragraph id's as of the paragraph we are setting.
5337 2001-11-30 José Matos <jamatos@fep.up.pt>
5340 * insettoc.[Ch]: DocBook -> docbook.
5342 2001-11-29 André Pönitz <poenitz@gmx.net>
5345 * insettext.C: further reduction of header dependencies by using
5346 lyx::layout_type and lyx::textclass_type from support/types.h
5348 2001-11-29 Juergen Vigna <jug@sad.it>
5350 * insettext.C: inserted a reinitLyXText function everywhere I delete
5351 the paragraphs! This should fixe the crashes we had.
5352 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5353 (paragraph): set the InsetOwner() of the new paragraphs!
5355 2001-11-28 André Pönitz <poenitz@gmx.net>
5357 * insetnote.C: add pos initialization that I removed without
5360 2001-11-28 Juergen Vigna <jug@sad.it>
5362 * insettabular.C (resetPos): hack to not crash with infinite paints.
5364 * insettabular.h: insert missing function allowSpellcheck()!
5366 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5368 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5371 * insetfloatlist.C: derive from InsetCommand so gui can use it
5374 2001-11-26 André Pönitz <poenitz@gmx.net>
5378 * insetnote.C: reduce header dependencies, introduce type for
5381 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5383 * various: update for Alert.h
5385 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5387 * inset.h: fix comment
5389 * insettext.C: use par->isInset()
5391 2001-11-22 Allan Rae <rae@lyx.org>
5393 * insetcollapsable.h:
5394 * inset.h: Changes to checkInsertChar() behaviour.
5395 Now return value indicates whether chars can be inserted.
5397 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5399 * various: updated to use the new LaTeXFeatures
5401 2001-11-14 José Matos <jamatos@fep.up.pt>
5403 * insetspecialchar.C (linuxdoc):
5404 (docbook): don't give a name to a unused variable.
5406 * insettext.C (docbook): removed unused variable.
5408 2001-11-13 Herbert Voss <voss@perce.de>
5410 * insetgraphic.C: fix scale bug
5412 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5414 * inset.h (isSpace):
5415 (isLetter): new virtual methods.
5417 * insetspecialchar.C (isSpace):
5418 (isLetter): implement here.
5420 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5422 * inset.h: new inline helpers
5424 * insettext.C: use new helpers
5426 2001-11-07 José Matos <jamatos@fep.up.pt>
5428 * insettext.C (docbook): full support for paragraphs inside insettext.
5430 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5432 * insetindex.C: added header file for std::ostream.
5434 2001-11-03 José Matos <jamatos@fep.up.pt>
5436 * insetindex.C: added using std::ostream that I forgot yesterday.
5438 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5440 * insetindex.h (docbook):
5441 * insetindex.C (docbook): added support for docbook export.
5443 2001-11-02 José Matos <jamatos@fep.up.pt>
5445 * insetcaption.C(docbook): added support for docbook export.
5447 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5449 * insetexternal.C (updateExternal): Do not run update command if
5450 result file exists and is up to date.
5452 * ExternalTemplate.C (readFormat): Support the updateresult token.
5454 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5456 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5457 external_templates) to use the buffer->fileName() but only if
5458 previewing. Generating a TeX file should make FPath return
5461 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5464 * insetert.C: fix some problems
5466 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5468 * insetexternal.C (doSubstitution): Added $$FPath token
5469 to list of usable substitutions in external inset templates.
5471 2001-10-24 Juergen Vigna <jug@sad.it>
5473 * insettabular.C: use new ltType struct for setting longtable
5474 header and footers also new UNSET enums.
5476 2001-10-24 José Matos <jamatos@fep.up.pt>
5478 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5479 (docbook): If the table is not inside a float then wrap it inside
5480 <informaltable>...</informaltable>.
5482 2001-10-23 José Matos <jamatos@fep.up.pt>
5484 * insetref.C (docbook): removed / terminator to conform SGML.
5486 * insetspecialchar.C (linuxdoc):
5487 (docbook): Added support for special chars, more than ascii export.
5489 2001-10-22 Juergen Vigna <jug@sad.it>
5491 * insettext.C (checkInsertChar): added for REALLY checking the
5492 font of the inserted char in the right inset!
5494 2001-10-19 Juergen Vigna <jug@sad.it>
5496 * inset.h: added method allowSpellcheck() so that insets who do
5497 not have anything to spellcheck can tell and so they are over-jumped.
5498 Implemented for InsetText and co.
5500 2001-10-18 Juergen Vigna <jug@sad.it>
5502 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5504 2001-10-15 José Matos <jamatos@fep.up.pt>
5506 * insetert.C: allow export for docbook and linuxdoc
5508 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5510 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5512 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5514 * insetquotes.C (dispString): fix handling of latin9 quotes
5516 2001-10-03 Juergen Vigna <jug@sad.it>
5520 * insetcollapsable.C: change updateInset calls to not tell BV that
5521 we have changed status.
5523 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5525 * insettabular.C (deletable): make const
5527 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5529 * insetert.C (latex): Fix the returned value
5531 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5533 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5534 Returns string(), so nothing in an ERT inset is spellchecked.
5536 * insetgraphics.C (draw): print the filename if not displaying the
5538 (width): make sure that the width and draw methods are consistent.
5539 (updateInset): don't even load the image into cache if not displaying
5542 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5544 * various files (selectNextWord): renamed as
5545 selectNextWordToSpellcheck.
5547 * insetgraphics.C (draw): remove the previous change. Right place
5548 is in imageLoaderXPM.C.
5549 (draw): don't display the image if params.display == NONE.
5551 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5553 * figinset.C (runqueue):
5554 * insetgraphics.C (draw): set background colour of inset from
5555 background to the user-configurable graphicsbg.
5557 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5559 * insetquotes.C (InsetQuotes): when trying to decide the side of
5560 the quote, choose `left' only after a space or '('
5562 2001-09-04 José Matos <jamatos@fep.up.pt>
5567 * insetcollapsable.h
5585 * insetlatexaccent.C
5586 * insetlatexaccent.h
5591 * insetspecialchar.C
5592 * insetspecialchar.h
5596 * insettext.C (docbook): rename docBook method to docbook.
5598 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5600 * inset.h (getFirstParagraph): New virtual method.
5602 2001-08-20 Herbert Voss <voss@perce.de>
5603 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5604 in the the bibtex-database-gui for inserting a line
5607 If no style is given than there is no tex-output.
5609 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5611 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5615 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5617 * insetert.C (latex): Fix output for multiple paragraphs.
5618 (write): New code for writing paragraph data.
5619 (read): Set font after reading the inset.
5620 (localDispatch): Call set_latex_font() for more cases.
5622 * insetnote.h: Add empty validate method.
5625 * insetnote.C (InsetNote): Set language to the language of the
5628 2001-08-16 Juergen Vigna <jug@sad.it>
5630 * insettext.C: implemented the new FINISHED states.
5632 * insettabular.C: ditto
5634 * inset.h: added more FINISHED states for cursor right,up,down
5636 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5638 * insetfloatlist.C: use "FloatName List"
5640 2001-08-14 Juergen Vigna <jug@sad.it>
5642 * insetert.C (edit): forgot to set status_ in edit calls!
5644 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5646 * insettext.C: Compilation fix
5648 2001-08-13 Juergen Vigna <jug@sad.it>
5650 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5652 * insetcollapsable.C (edit): don't recollapse an already open inset.
5654 * insettext.C: fixed problem when reinitializing LyXText by not doing
5655 it while lt is in use and post this to the next possible time in
5657 (searchForward): fixed not unlocking of inset if nothing found.
5658 (edit): set cursor behind right (was set -1 pos).
5660 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5662 * insettabular.C (tabularFeatures): fixed fix where deleting the
5663 last row didn't get the right actcell!
5665 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5667 * insettext.C (localDispatch): Change language only when the inset
5670 2001-08-10 Juergen Vigna <jug@sad.it>
5672 * insettabular.C (selectNextWordInt): use the front using edit call.
5674 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5675 the parameter overwrite class variable inset.
5677 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5679 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5680 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5682 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5683 update only for fixed with cells.
5684 (resetPos): try to fix the lockup on spellchecking or s&r.
5686 * insettext.C (update): comment this out as it seems first wrong
5687 and second not needed anymore!
5688 (some functions): call reinitLyXText() only in update() in all other
5689 positions set only need_update = INIT.
5691 2001-08-08 Juergen Vigna <jug@sad.it>
5693 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5695 * insettext.C (insetUnlock): remove double-space on inset unlock.
5697 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5699 * insettabular.C (update): fixed cursor positon after an insert.
5700 (insetAllowed): do not allow to insert insets when not inside the
5702 (draw): clear below an inset too as it could have changed height.
5704 * inset.C (getMaxWidth): fixed width for inset in inset.
5706 * insettext.C (update): small fix.
5708 * insettabular.C (tabularFeatures): added selection support to
5709 DELETE_ROW/DELETE_COLUMN.
5711 2001-08-07 Juergen Vigna <jug@sad.it>
5713 * inset.C (getMaxWidth): recoded and all it's implementations!
5715 * insettext.C (init,setParagraph+constructors): cleanups
5716 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5717 are new and I want do a save/restore of the cursor position which is
5718 not possible anymore.
5720 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5721 (searchBackward): ditto
5722 (selectNextWord): ditto
5724 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5726 * insetlatexaccent.C (checkContents): Add some debug messages
5728 2001-08-07 Juergen Vigna <jug@sad.it>
5730 * insetert.C (read): don't use InsetCollapsable::read as we don't
5731 write the collapsed status anymore only the status.
5734 2001-08-06 Juergen Vigna <jug@sad.it>
5736 * insetert.C (set_latex_font): use LyXText's setFont directly.
5738 * insettext.C (drawFrame): fixed one time more the right position
5739 and size of the frame!
5741 * insetert.C (~InsetERT): hide the dialog.
5742 (showInsetDialog): added implementation
5745 (status): new function for the status of the ERT inset (3-state).
5746 (write): output also the status of the inset for readback!
5747 (read): readback the status if available otherwise use collapsed_.
5749 * insettext.C (edit): small fix of setting the position, which could
5752 * insetert.C (width): implement this function for inlined viewing.
5753 Added minimum width of 10 pixels!
5755 * insetminipage.C (InsetMinipage): just change the colors a bit so
5756 that border/background is a bit more visible. We will remove this
5759 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5760 function for getting the important widths for drawing in various
5761 functions and in LyXText.
5762 (draw): fixed up a bit (frame drawing/clearing)
5764 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5766 * inset.C (convertFont): delete method. not used.
5768 2001-08-03 Juergen Vigna <jug@sad.it>
5770 * insettext.C (setFont): don't call for a draw update if we're just
5771 changing the cursor font!
5773 2001-08-02 Juergen Vigna <jug@sad.it>
5775 * insettext.C (draw): clear the background with the right color if
5776 needed. Update myself if x&max-width changed and return without doing
5777 anything. Let the update code handle the right stuff.
5779 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5780 inside another inset.
5782 2001-08-01 Juergen Vigna <jug@sad.it>
5784 * insetcollapsable.C (update): added an in_update bool so we avoid
5787 * insettabular.C (update): added an in_update bool so we avoid
5790 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5792 (update): added an in_update bool so we avoid reentering.
5794 * insettabular.C (localDispatch): clear col/row selection when doing
5795 something else inside an inset.
5797 * insettext.C (getLyXText): fixed bug when requesting a recursive
5800 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5802 * insetcite.C (latex): Paranoia check. Make sure that there is no
5803 whitespace between the citation keys.
5805 2001-07-31 Juergen Vigna <jug@sad.it>
5807 * inset.h (nodraw): make the set function also const so that this
5808 can be called from inside other const functions.
5810 * insetcollapsable.h: removed inline variable and moved it over
5811 to the only user InsetERT.
5813 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5814 inset opening immediately therein lying insets dialogs!
5816 * insetert.C (localDispatch): set the font also if we don't have any
5817 chars in this paragraph, otherwise if we delete all of em and start
5818 writing we have the wrong font.
5820 (draw): implemented for inline support
5821 (insetButtonRelease): ditto.
5823 2001-07-30 Juergen Vigna <jug@sad.it>
5825 * insettext.C (reinitLyXText): new function to reinit the insets
5826 text after lot's of paragraph changes. Use this instead of the
5827 cache.clear() which is VERY dangerous.
5829 * insetfloat.C (insetButtonRelease): we should only show the dialog
5830 if we press on the label otherwise we have problems to open mouse
5831 button 3 dialogs inside this float (f.ex. of a tabular!)
5833 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5835 * insetert.C: change back to "ERT"
5837 * insetfloat.C: handliign of RMB on label added.
5839 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5841 * insetgraphicsParams.C: #include LOstream.h here.
5843 * insetfoot.h: remove InsetFoot:: qualifier.
5845 2001-07-29 Baruch Even <baruch@lyx.org>
5847 * ChangeLog: Hiding time travel evidence.
5849 * insetgraphicsParams.h:
5850 * insetgraphicsParams.C:
5851 * insetgraphics.C: Added horizontal scale option, it actually scales both
5852 directions since it keeps image proportions.
5854 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5856 2001-07-29 Baruch Even <baruch@lyx.org>
5858 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5859 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5861 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5863 2001-07-29 Baruch Even <baruch@lyx.org>
5865 * insetgraphics.C: Added EPSI to be an alias of EPS.
5867 2001-07-29 Baruch Even <baruch@lyx.org>
5869 * insetgraphics.C: Change GRAPHICS to Graphics.
5870 Changed image conversion rules (documented at the beginning of file).
5872 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5874 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5877 * insetgraphics.C: added a using std::endl directive.
5879 * insetcommand.h (getScreenLabel): removed pure virtual function,
5880 as it duplicates that in InsetButton.
5882 * insetbib.[Ch] (getScreenLabel):
5883 * insetbutton.[Ch] (getScreenLabel):
5884 * insetcite.[Ch] (getScreenLabel):
5885 * insetert.[Ch] (getScreenLabel):
5886 * insetexternal.[Ch] (getScreenLabel):
5887 * insetfloatlist.[Ch] (getScreenLabel):
5888 * insetinclude.[Ch] (getScreenLabel):
5889 * insetindex.[Ch] (getScreenLabel):
5890 * insetlabel.h (getScreenLabel):
5891 * insetparent.[Ch] (getScreenLabel):
5892 * insetref.[Ch] (getScreenLabel):
5893 * insettoc.[Ch] (getScreenLabel):
5894 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5896 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5898 (validate): remove check on "cite" when using natbib.
5900 2001-07-26 Baruch Even <baruch@lyx.org>
5902 * insetgraphics.C (draw): changed casting to be in one place rather than
5903 all over the function.
5906 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5908 * insetgraphicsParams.h:
5909 * insetgraphicsParams.C:
5910 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5912 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5914 * insetfoot.C (validate): Added method to ensure that the
5915 right bit of LaTeX is emitted.
5917 * insetfoot.h: Added validate method to set the correct
5918 LaTeXFeatures bit for the special footnote code.
5920 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5922 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5925 2001-07-27 Juergen Vigna <jug@sad.it>
5927 * inset.h: remove not used font variable in parameter.
5928 removed checkInsertChar in UpdatableInset as it was equal to
5929 the one in Inset and so not needed.
5931 * insetert.C (checkInsertChar): implementation of function
5934 * inset.h: added new function checkInsertChar.
5936 * various files: added c-tor and clone() function.
5938 * insetcollapsable.h: removed clone function here as this should
5939 be only realized in REAL insets and added it to all collapsable
5940 insets! (with the copy-constructor).
5942 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5944 * insetminipage.C (read): handle missing parameters more gracefully
5946 * insetcollapsable.C (read): handel missing collapsed more gracefully
5948 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5950 * insetfloat.C (read): handle missing parameters.
5952 * insettext.C (read): handle old latex end_inset
5954 * insetert.C (setButtonLabel): new method
5955 (init): use it, to set the dynamic label correctly
5958 * Makefile.am (EXTRA_DIST): add files that is not part or the
5961 * insetcollapsable.h: remove autocollapsable (no users), remove
5962 draw_label, change_label_with_text and companion code. Remove args
5964 * insetert.[Ch]: move here instead (only user)
5966 * inset.h: rename private variable name to name_, make
5967 selectNextWord return a const string. make getInsetName return a
5968 string const &. Remove bool from open, add close.
5970 * Makefile.am: don't compile insetlist, insetsection
5973 2001-07-24 Juergen Vigna <jug@sad.it>
5975 * insetert.C (InsetERT): put init after the paragraph initialization,
5976 as otherwise we don't set the draw_label right.
5978 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5979 insets with the mouse without having strange selections.
5980 (edit): if the inset was collapsed and we open it here then put the
5981 cursor always at the beginning of the inset.
5982 (get_new_label): 15 instead of 10 max chars in the label.
5984 * insetert.C (localDispatch): added and handle various stuff we
5985 need to handle here (font setting on paragraph break, not permitted
5986 layout setting, etc.).
5988 * inset.h: added default copy-consturctor and implemented this in
5989 various insets with the change to use this in the clone function!
5991 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5993 * insetminipage.C (InsetMinipage): set background color to red :)
5995 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5997 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5998 draw frame mode is LOCKED.
6000 * insetcollapsable.C (edit):
6001 (insetButtonRelease): set update status to full when
6004 * insettext.C (clearInset):
6005 * insettabular.C (draw):
6006 * insetlatexaccent.C (draw): honor background color.
6008 * inset.h: new member background_color_, initialized to
6011 * inset.C (backgroundColor): new method.
6012 (setBackgroundColor): new method.
6014 * insetert.C (init): new method, called by the ctors.
6015 (InsetERT): when inserting contents, make sure the font is
6018 * insetnote.C (InsetNote): when inserting content, remove trailing
6020 (init): set background color to LColor::note
6022 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6024 * insetcollapsable.C: adjust
6026 * insetbutton.C: adjust
6028 2001-07-23 Juergen Vigna <jug@sad.it>
6030 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6031 parameter on the _collapsed function (was not needed) and call
6032 always width_collapsed().
6034 * insetert.C (InsetERT): use setLabel with "true" flag.
6036 * insetcollapsable.C: modified various functions to set the draw_label
6037 string right in any condition.
6038 (setLabel): added a bool parameter to set change_label_with_text.
6040 * insetcollapsable.h: added draw_label string which is set to the
6041 actual drawn label-string, while label is the original static label
6042 of this collapsable inset. Added bool change_label_with_text to set
6043 if we want that the label changes to the start of the InsetText's
6044 text when collabpsed. You can set this flag with the setLabel funciton.
6045 Added bool inlined for inlined collapsable insets, but not handled
6048 * insetcollapsable.C (get_new_label): added should get a new label
6049 from the InsetText beginning (for now 10 chars).
6051 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6053 * insetquotes.C (latex): fix the handling of french double quotes
6054 when not using the french pachage.
6056 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6058 * insetcollapsable.h: make WidthCollapsed mutable.
6060 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6061 InsetPrintIndex returns INDEX_PRINT_CODE.
6063 * inset.h: add INDEX_PRINT_CODE
6065 * insetcollapsable.C (draw): init widthCollapsed if necessary
6068 * insetquotes.C (width): use the local language, not the document
6071 (dispString): add additional spacing for all french languages,
6073 (validate): make it work when there is no default language
6075 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6077 * insetnote.C (init): new method, called by the constructors
6078 (InsetNote): new constructor with contents passed as a string
6080 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6082 * insetfootlike.C (insetAllowed): disallow float in footlike.
6084 * insetert.C (InsetERT): add collapsed argument to the constrctor
6087 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6089 * insetindex.h: shut off warning
6091 2001-07-20 Juergen Vigna <jug@sad.it>
6093 * insetcollapsable.C (update): recoded hopefully works now!
6095 2001-07-19 Juergen Vigna <jug@sad.it>
6097 * most files: implemented the below new introduced function.
6099 * inset.h: added new edit(BufferView *, bool front) method to be able
6100 to enter an inset from the front/back without knowing x/y positions
6101 and baselines inside the inset. So I just can tell the inset activate
6102 me and set the cursor on the front/back of yourself.
6104 2001-07-18 Juergen Vigna <jug@sad.it>
6106 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6107 is given to the InsetText.
6108 (insetButtonPress): ditto
6109 (insetButtonRelease): ditto
6110 (insetMotionNotify): ditto
6112 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6114 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6115 LIGATURE_BREAK, since the name is so stupid.
6117 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6119 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6120 the default InsetCollapsable methods. I.e., it can insert anything.
6121 (write) output the name of the inset, not some silly hack for
6122 compatability with the old InsetInfo.
6124 * insetinfo.[Ch]: removed.
6125 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6126 now collapsable, but functionality is otherwise identical to InsetInfo.
6128 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6130 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6132 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6135 * insetquotes.C: general cleanup
6136 (dispString): add spaces inside french double quotes.
6137 (latex): ditto. Moreover, treat first the case where the frenchb
6138 or french options have been given.
6140 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6142 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6145 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6147 * figinset.C (RegisterFigure): Print debug message only when
6148 current_view is available.
6150 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6152 * many files: update to match the change below
6154 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6155 implement the version which takes an inset here.
6157 * insetcollapsable.[Ch]: implement open and isOpen
6159 * inset.h: remove insertInsetAllowed from Inset
6160 (open): new method, to open or close an inset
6161 (isOpen): returns the status of an inset
6162 (isCollapsable, colapse): removed
6164 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6166 * insetquotes.C (dispString): display french guillemets when using
6169 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6171 * insetcollapsable.h: remove bogus return statements
6173 2001-07-18 Juergen Vigna <jug@sad.it>
6175 * insettabular.C (selectNextWord): fixed spellchecking for the
6176 first cell of a tabular (wasn't entered!)
6177 (getLyXText): changed to enter automatically insettext and return
6178 it's LyXText if we're locked.
6180 2001-07-17 Juergen Vigna <jug@sad.it>
6182 * various files: implemented the below functions.
6184 * inset.h: added functions
6185 - virtual string selectNextWord(BufferView *, float & value) const;
6186 - virtual void selectSelectedWord(BufferView *) { return; }
6187 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6188 needed for spellchecking correctly!
6190 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6192 * insetert.C (latex): write out all paragraphs.
6194 2001-07-17 Baruch Even <baruch@lyx.org>
6196 * insetgraphics.C (draw): Removed unneeded casts.
6198 2001-07-16 Juergen Vigna <jug@sad.it>
6200 * insettext.C (update): fixed small oversight (reset lt to 0).
6202 2001-07-14 Baruch Even <baruch@lyx.org>
6205 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6207 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6209 Consistent use of Lsstream.h:
6210 * figinset.C: removed using std::ostringstream directive.
6212 * insetgraphics.C (createLatexOptions):
6213 * insetinclude.C (unique_id):
6214 std::ostringstream -> ostringstream.
6215 * insettext.C (localDispatch): std::istringstream -> istringstream.
6217 2001-07-13 Juergen Vigna <jug@sad.it>
6219 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6221 * insetcollapsable.C (getLockingInset): ditto.
6223 2001-07-12 Juergen Vigna <jug@sad.it>
6225 * insetcollapsable.h: added implementation of new function for
6228 * various files: added implementation of new insertInsetAllowed-func
6229 and redone the function a bit more.
6231 * inset.h: added isCollapsable(), bool collapsed(),
6232 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6234 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6236 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6237 LyXText which is marked for removal while we're using it!
6239 * insettext.h: added private LyXText * lt to use it to assure we are
6240 not deleting our LyXText while we're using it!
6242 2001-07-11 Juergen Vigna <jug@sad.it>
6244 * insettext.C (insertInset): check if we are before the inset after
6245 inserting it! This check IS needed. Remove the Undo-Call as it is
6246 called in LyXText::insertInset!
6248 * insettext.h: added struct InnerCache.
6250 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6251 that we ONLY delete the LyXText in the getLyXText() routine. So we
6252 are sure we don't delete LyXText while someone is working with it!
6254 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6256 * insetexternal.C: (*it). -> it->
6257 * insettext.C: ditto
6259 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6261 * insetcollapsable.C (edit): always open collapsed insets (even if
6262 they are not autocollapsable)
6264 * insetcommand.C (operator=): simplify.
6266 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6268 * insetert.C (latex): handle META_NEWLINE
6270 2001-07-09 Juergen Vigna <jug@sad.it>
6272 * insetert.h: a normal InsetText can insert insets, but we won't.
6274 * inset.h: return default "false" on insertInsetAllowed and implement
6275 this function where a returnvalue != "false" is needed.
6277 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6279 * insetert.C (InsetERT): new contructor
6281 2001-07-06 Juergen Vigna <jug@sad.it>
6283 * a lot of files: added implementation of the below new functions
6284 and the change to clone(). Also the call of the new undo-functions
6287 * inset.h: added an inset_id, added functions getParFromID,
6288 getInsetFromID, firstParagraph, cursor and id functions, added
6289 bool same_ids to clone function.
6291 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6293 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6294 of BufferView * and shared_ptr<LyXText>
6296 2001-07-05 Juergen Vigna <jug@sad.it>
6298 * insettext.C (clear): deleted also the cache not only LyXText.
6299 (setParagraphData): ditto.
6301 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6303 * insetfloat.C (latex): let the specific placement take presedence
6304 if set, otherwise choose document placement if set, otherwise just
6305 use float default placement.
6307 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6309 * insettext.C (localDispatch): call CutAndPaste::'s static method
6312 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6314 * insetbib.C: no meed to include forms.h here.
6316 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6318 * insettext.C: added using std::make_pair directive.
6320 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6322 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6324 (deleteLyXText): ditto
6325 (resizeLyXText): ditto
6327 2001-07-02 Juergen Vigna <jug@sad.it>
6329 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6330 following calls are only returned the right pointer without the over
6331 head to search in the map.
6332 (various funcs): reset the cached_bview variable as this signs that
6333 the cache is not valid anymore.
6335 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6337 * insettabular.C (clone): do not copy the LyXTabular twice
6339 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6341 * insettext.h (TEXT): delete method
6343 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6345 * insetmarginal.C (latex):
6346 * insetfoot.C (latex): fix spacing of notes in LaTeX
6348 * insettext.C (localDispatch): use .c_str() on istringstream
6349 constructor argument.
6351 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6356 * inseturl.C: fix method names in these to begin
6357 with small char too, so they inherit
6359 2001-06-28 Juergen Vigna <jug@sad.it>
6361 * insettext.C (setFont): fixed font settings using toggleFree()
6362 instead of setFont().
6364 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6366 * Change a lot of method names to begin with a small char.
6367 Changes to a lot of files because of this.
6369 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6371 * insetfloatlist.C (Write): std:: qualify ostream
6374 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6378 * insetgraphics.C: send debug output to Debug::INFO instead of
6381 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6384 * insettabular.C (getStatus): update to use func_status
6386 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6388 * insetref.C (DocBook): added support for cross-references without
6391 2001-06-26 The LyX Project <jug@sad.it>
6396 * insetlabel.h: removed escape method and moved it to
6399 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6401 * insettabular.C (getMaxWidth): do the speedup in a different way,
6404 2001-06-24 The LyX Project <Asger>
6406 * insettabular.C (getMaxWidth): We cache a mapping from
6407 inset to cell in order to speed this method up.
6409 2001-06-24 The LyX Project <Asger>
6411 * insettext.C: Optimized InsetText::draw or something.
6413 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6415 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6417 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6419 * inset.h: name change from lyxinset.h
6421 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6423 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6425 2001-06-14 Juergen Vigna <jug@sad.it>
6427 * insettext.C (draw): removed warnings.
6429 2001-06-13 Juergen Vigna <jug@sad.it>
6431 * insettabular.C (nodraw): only go down the tree if we don't have
6432 that flag set otherwise it's obvious that we don't want to draw.
6433 (LocalDispatch): do also an update if we have an undispached result.
6435 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6438 * insetgraphicsParams.C:
6439 * insettext.C: removed // -*- C++ -*- as first line.
6441 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6443 * lyxinset.h (resizeLyXText): shut off warning about unused
6446 2001-06-07 Juergen Vigna <jug@sad.it>
6448 * insettext.C (resizeLyXText): honor the new force flag.
6450 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6452 * insettabular.C (deleteLyXText): new function
6454 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6462 * insetcollapsable.C:
6463 * insetcaption.C: LColor tidy
6465 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6467 * figinset.C: fix typo
6469 2001-06-01 Juergen Vigna <jug@sad.it>
6471 * insettabular.C (resetPos): small hack so that scroll is not set to
6472 0 when we are in the last column of a tabular. This is a problem we
6473 have because of constats 20 offset on both directions, so this can
6474 cause on the limit an endless loop.
6476 * insettext.C (SetFont): forgot that we can have locking insets ;)
6478 2001-05-31 Juergen Vigna <jug@sad.it>
6480 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6482 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6484 * figinset.C: add using std:: directive for the C functions which
6487 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6489 * insetfloat.C (Write): write out wide info
6490 (Read): read the wide info
6491 (Latex): use the wide info when creating latex.
6493 * insettext.C: adjust
6495 * insetgraphics.[Ch] (statusMessage): change to return string
6499 * figinset.C (runqueue): add std::
6502 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6504 * insetcite.C (Ascii): add std:: qualifier
6506 2001-05-28 Juergen Vigna <jug@sad.it>
6508 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6509 a endless-width inset (maxWidth < 0).
6510 (Edit): change language only if not equal.
6512 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6514 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6516 2001-05-16 Juergen Vigna <jug@sad.it>
6518 * insettext.C (selectAll): added
6519 (clearSelection): added
6521 * insettabular.C (SetFont): now we may set a font on a whole selection!
6522 (getSelection): added helper function.
6524 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6526 * insetcite.C (Ascii): Add method.
6528 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6531 * insetbib.C: fix path for OS/2 & Win32
6533 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6535 * insetfoot.C (Latex): don't use % after footnote.
6537 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6539 * insettext.C (Read): use clear
6540 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6542 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6544 * insetfloatlist.h: add a bunch of std:: qualifiers.
6546 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6548 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6549 FLOAT_LIST_CODE, renumber code list.
6551 * insettoc.C (getScreenLabel): remove support for float lists
6555 * insetfloatlist.[Ch]: new files
6557 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6559 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6561 * insettabular.C (LocalDispatch):
6562 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6565 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6567 * insettext.C: remvoe !NEW_INSETS cruft
6569 * insettabular.C: remove !NEW_INSETS cruft
6571 * insetcollapsable.h: remove !NEW_INSETS cruft
6573 * insetbib.C: remove !NEW_INSETS cruft
6575 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6577 * insettoc.C: hack to make listof algorithm work
6579 2001-04-20 Juergen Vigna <jug@sad.it>
6581 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6583 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6585 * insetquotes.C (Latex): improve the guard against
6586 unwanted !` and ?` ligatures. This should really be done in
6587 another place (to catch all this ligatures at low-level).
6589 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6591 * insettext.C (init): remvoe leftovers from cursor_visible change
6592 (draw): use c++ cast
6593 (LocalDispatch): dispatch LFUN_MESSAGE
6595 * insettabular.C (InsetTabular): remove leftovers from
6596 cursor_visible, and scoped_ptr changes
6597 (draw): use c++ cast
6599 * insetcollapsable.C (draw): use c++ cast
6601 * ExternalTemplate.h: inherit privaely from noncopyable
6602 * insetcommand.h: ditto
6603 * insetinclude.h: ditto
6605 2001-04-16 Allan Rae <rae@lyx.org>
6607 * insettoc.C (Ascii):
6608 * insettext.C (draw):
6609 * insettabular.C (setPos):
6610 * insetminipage.C (Read):
6611 * insetfloat.C (placement):
6612 * insetcaption.C (Ascii, DocBook):
6613 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6614 an unrecognised preprocessor directive. So ensure they're wrapped.
6616 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6619 * insetexternal.C: set view on Clone. Add _ to private members.
6621 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6623 * insettext.C (InsetText): fix new
6624 (InsetText): reindent some, simplify deletion of par list
6625 (clear): simplify deletion of par list, fix new
6626 (SetParagraphData): simplify deletion of par list
6628 * insettabular.[Ch] (getLabelList): implement new method
6630 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6632 * lyxinset.h: do not include gettext.h...
6640 * insetlatexaccent.C:
6644 * inseturl.C: ... and do it here instead
6646 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6648 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6650 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6652 * insetcollapsable.[Ch] (getLabelList): implement
6654 * insettext.[Ch] (getLabelList): implement
6656 * insettext.h: reindent
6658 * insettabular.h: make tabular a scoped_ptr
6660 * insettext.C (init): adjust for cursor_visible
6661 (ToggleInsetCursor): constify asc and desc, font, adjust for
6663 (ShowInsetCursor): constify asc and desc, font, adjust for
6665 (HideInsetCursor): adjust for cursor_visible
6667 * insettabular.C: reindent some
6668 (InsetTabular): adjust for scoped_ptr and cursor_visible
6669 (InsetTabular): ditto
6670 (~InsetTabular): delete delete
6671 (Clone): adjust for scoped_ptr
6672 (Read): constify old_format, adjust for scoped_ptr, move init of
6674 (draw): constify tx, localize loop vars.
6675 some other localization of variables, remove double initilizatons.
6677 * insetfoot.C: remove using std::ostream, add ostream where needed
6679 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6681 * lyxinset.h: some reindentaion, use initializer list for
6683 UpdatableInset: make cursor_visible a private var add
6684 public isCursorVisible(), add protected toggleCursorVisible() and
6685 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6687 * insettoc.C: remvoe using decl
6688 (getScreenLabel): make cmdname donst
6691 (Ascii): don't use endl
6693 * insetfootlike.C: remove using decl at file scope and add std::
6695 * insetmarginal.C: ditto
6697 * insetfoot.C: some reformatting
6699 * insetfloat.C (InsetButtonRelease): adjust the hit area
6701 * insetert.C (SetFont): some reformatting
6703 * insetcollapsable.C: some reformatting and constification
6704 (Clone): comment out.
6705 * insetcollapsable.h: some reformatting
6706 (Clone): comment out.
6711 2001-03-30 Juergen Vigna <jug@sad.it>
6713 * insetcollapsable.h: changen *inset to be a InsetText inset.
6715 * some files: changed to reflect the above change.
6717 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6719 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6720 InsetExternal::Params.
6721 Added operator==() and operator!=() for the Params struct.
6723 2001-03-29 Juergen Vigna <jug@sad.it>
6725 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6728 * insetminipage.C: removed widthp_ and all it's functions and changed
6729 to use new %-lengths of LyXLength.
6731 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6733 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6735 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6737 * insetgraphicsParams.C (operator!=): new function, needed by the
6738 ControlGraphics class.
6740 2001-03-28 Juergen Vigna <jug@sad.it>
6742 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6743 (checkAndActivateInset): don't use the values returned from
6744 call to bv->checkInsetHit.
6746 * insetminipage.C (Clone): set special minipage values.
6748 * insetcollapsable.C (draw): changed to draw the button in the
6749 upper left corner outside the textinset.
6750 (ascent): changed because of different drawing
6754 (InsetButtonPress): ditto
6755 (InsetButtonRelease): ditto
6756 (InsetMotionNotify): ditto
6758 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6760 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6764 2001-03-26 Juergen Vigna <jug@sad.it>
6766 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6768 * insettext.C (ShowInsetDialog): implemented above function.
6770 * insettabular.C (ShowInsetDialog): ditto
6772 * insetminipage.C (ShowInsetDialog): ditto
6774 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6776 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6777 InsetInclude::Params. Don't store a buffer * in Params. Store the
6778 master file name instead.
6780 2001-03-23 Juergen Vigna <jug@sad.it>
6782 * insetcollapsable.C (InsetMotionNotify):
6783 (InsetButtonRelease):
6784 (InsetButtonPress): fixed y-offset (minipages).
6786 * insettext.C (draw): force a FULL update if cleared == true.
6788 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6789 routine to draw the minipages on its position-flag.
6790 (InsetInInsetY): give back the right y position, because of minipage
6793 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6796 * insetfloat.C (DocBook): docbook export code.
6798 2001-03-22 Juergen Vigna <jug@sad.it>
6800 * insetminipage.C (getMaxWidth): added function to set the drawing
6802 (Read): should work now!
6804 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6805 if we create a new inset.
6807 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6809 * figinset.C (fl_set_preemptive_callback): moved definition outside
6812 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6814 * insetminipage.C (Read): prepare for reading of minipage arguments.
6816 2001-03-18 Baruch Even <baruch@lyx.org>
6818 * insetgraphics.C: Minor cleanups of the comments and code.
6820 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6822 * insetminipage.C (InsetMinipage): default to not collapsed
6824 2001-03-16 Juergen Vigna <jug@sad.it>
6826 * insetminipage.C (width): modified with to be a string
6827 (widthp): added widthp (for % width) support functions.
6828 (InsetButtonRelease): added to open the options dialog on button==3.
6829 (~InsetMinipage): added to hide the dialog.
6831 * insetminipage.h: added hideDialog signal
6833 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6835 * insetminipage.h: change the order or Position to match
6836 LyXParagraph::MINIPAGE_ALIGNMENT
6838 * several files: remvoe CXX_WORKING_NAMESPACES
6840 * ExternalTemplate.h: noncopyable is in namespace boost
6841 * insetinclude.h: ditto
6842 * insetcommand.h: ditto
6844 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6846 * insettext.C (Edit): #else# -> #else.
6847 * insettoc.C: added using directive.
6849 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6851 * insetminipage.h: add pos, inner_pos, width and height. + getters
6852 and setters for all of them.
6854 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6856 * insetinclude.C (Latex): Do not exit when the textclass of the
6857 included file differ from the textclass of the parent file.
6859 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6861 * ExternalTemplate.C (read): the reading of external insets now checks
6862 for \end_inset and removes it form the input stream.
6864 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6866 * ExternalTemplate.h:
6867 * ExternalTemplate.C:
6869 * insetexternal.C: move form to GUII
6871 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6874 * insetinclude.C: add InsetIncludeParams, use
6875 composition rather than derivation of InsetCommand
6877 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6879 * insettoc.C (Ascii): use the Buffer typedefs
6881 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6883 * insettoc.C (Ascii): implement for dynamic number of lists
6885 * insetcaption.[Ch]: update from new_insets branch
6886 * insetfloat.[Ch]: ditto
6888 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6891 * figinset.C: use new File Dialog
6893 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6895 * insettext.C: changes becuase of ParagraphParameters.
6897 2001-02-28 Baruch Even <baruch@ev-en.org>
6899 * insetgraphics.C (updateInset): Changed due to the change in
6902 2001-02-26 Juergen Vigna <jug@sad.it>
6904 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6905 handled in LyXText).
6907 2001-02-23 Juergen Vigna <jug@sad.it>
6909 * insettext.C (draw): some small repainting fixes.
6910 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6912 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6913 should be) and not an int.
6915 * insettabular.C (LocalDispatch): ditto
6917 * insettext.C (LocalDispatch): ditto
6919 * insetcollapsable.C (LocalDispatch): ditto
6921 2001-02-22 Juergen Vigna <jug@sad.it>
6923 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6924 DISPATCH it and we don't have a locking_inset.
6926 2001-02-21 Baruch Even <baruch@ev-en.org>
6928 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6929 instead of GraphicsCacheItem *.
6931 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6933 * insetcollapsable.C (getLyXText): add const qualifier to second
6936 2001-02-22 Juergen Vigna <jug@sad.it>
6938 * insettext.C (getLyXText): honor the recursive parameter.
6939 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6941 * inset.C (getLyXText): added bool recursive parameter.
6943 * insettext.C (SetUpdateStatus): or the update codes.
6944 (draw): check need_update with &.
6945 (InsetButtonPress): set no_selection to not put a selection when
6946 entering an inset and it is redraws in another spot.
6948 * insettext.h: made need_update an int.
6950 2001-02-20 Baruch Even <baruch@ev-en.org>
6953 * insetgraphisc.C: Changed to use better semantics when loading images
6954 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6956 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6960 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6961 consistent with InsetTabular.
6963 2001-02-19 Juergen Vigna <jug@sad.it>
6965 * insettabular.C (LocalDispatch): implement PAGE up/down.
6967 * insettext.C (draw): clear all of it on need_update==INIT too!
6969 * insettabular.C (InsetUnlock): always clear the selection.
6971 * inset.C (scroll): normally we only want to scroll the inset until
6972 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6974 2001-02-14 Juergen Vigna <jug@sad.it>
6976 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6977 (resetPos): fixed scroll behaviour.
6978 (LocalDispatch): do an update if moving cursor inside a table cell
6979 requests a scroll of the tabular.
6981 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6983 * insettext.C (textWidth): constify local var
6985 * insettabular.C: small cleanup.
6987 * insetfoot.C (Latex): constify local var
6989 * insetcollapsable.C: small cleanup.
6991 * figinset.C (runqueue): use compare instead of strcmp
6993 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6996 * insetinfo.C: remove cruft
6998 2001-02-14 Juergen Vigna <jug@sad.it>
7000 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
7002 2001-02-13 Juergen Vigna <jug@sad.it>
7004 * insettext.C (InsertInset): don't move left (is this right?)
7006 * insettabular.C (LocalDispatch): use of the no_draw variable
7008 * insettabular.h: new no_draw variable to stop redraw
7010 * insettabular.C (TabularFeatures): fixed update for alignment change
7012 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7016 * insetbib.C: move dialogs to frontends/
7018 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7020 * insettext.C (LocalDispatch): Restore the language if the inset
7023 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7025 * insettext.C (moveRightIntern): Update the selection cursor.
7026 (moveLeftIntern): Ditto.
7028 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7030 * Makefile.am: remove BoundingBox.h
7032 * BoundingBox.h: removed
7034 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7036 * insettext.C (LocalDispatch): Update selection cursor when moving
7037 cursor to the right.
7038 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7039 (moveLeftIntern): Ditto.
7041 2001-02-05 Baruch Even <baruch.even@writeme.com>
7043 * insetgraphics.C: Updated automatic image conversion, it now goes into
7044 temporary directory instead of with the image itself.
7046 2001-01-21 Baruch Even <baruch@ev-en.org>
7048 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
7049 to EPS or PNG when needed (support bitmap graphics).
7051 2000-11-02 Baruch Even <baruch@ev-en.org>
7054 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
7055 and removal of commented out code.
7057 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7059 * insetbib.C (callback): Update citations if the key has changed.
7061 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7063 * insetbib.C (InsetBibKey): Better computation of default key.
7064 (getScreenLabel) Show both the key and the label.
7065 (getBibLabel): New method.
7066 (callback): Force a redraw if the inset have been changed.
7068 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7070 * insetref.C (getType, getName): Move methods from
7071 src/frontends/xforms/FormRef.C.
7073 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7075 * insettabular.C: Various improvements (use only one dummy position).
7077 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7079 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7080 par->bibkey->width. This fixes the crashes when running without
7081 gui or when having included documents.
7083 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7085 * insetcommand.C (getAsString, setFromString): Cleanup.
7087 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7089 * insetref.C: Add the array InsetRef::types that contains
7090 information about all supported reference types.
7092 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7094 * lyxinset.h: remove trailing comma in enum.
7096 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7098 * insettext.C: kill LyXBell.