1 2004-05-14 José Matos <jamatos@lyx.org>
3 * insetlabel (docbook): do not ouput label, for the moment.
5 2004-05-14 Angus Leeming <leeming@lyx.org>
7 * insetcite.C (getNatbibLabel, generateLabel, latex): use the
8 new biblio::asValidLatexString function.
10 2004-05-12 Angus Leeming <leeming@lyx.org>
12 * insetcite.C: use BufferParams::cite_engine rather than the three
13 bools, use_natbib, use_jurabib, use_numerical_citations.
15 2004-05-10 Angus Leeming <leeming@lyx.org>
17 * insetcite.[Ch]: move the Cache::Style enum to biblio::CiteEngine.
18 Ditto with getStyle, moved to biblio::getEngine.
20 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
22 * insetgraphics.C (validate): remove pre 233 file format stuff,
23 handle zipped files for "nice" export
25 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
27 * insetgraphics.C (prepareFile): copy zipped file and corresponding
28 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
29 * insetgraphics.C (prepareFile): unzip zipped file also if it has
30 changed since the last run
31 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
34 2004-04-29 Angus Leeming <leeming@lyx.org>
36 * ExternalTemplate.[Ch]: remove redundant #includes.
38 2004-04-28 Angus Leeming <leeming@lyx.org>
41 s/updateToolbar()/updateToolbars()/
43 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
45 * insetgraphics.C: require file extension (file format change!)
46 * insetgraphics.C (latex): handle zipped files for "nice" export
48 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
50 * insetgraphics.C (latex): strip the extension and replace dots in
51 the filename if doing a "nice" export. This is a partial fix for
52 bug 1231 without reintroducing bug 655.
54 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
56 * insetoptarg.h: remove the editable() method (InsetCollapsable
57 does it better already)
59 * insetbibtex.C (normalize_name): new helper function. Changes the
60 name to be suitable to use in a latex file (relative to master
62 (latex): use normalize_name.
64 2004-04-20 Angus Leeming <leeming@lyx.org>
66 * render_preview.C (startLoading): remove lyxerr statement.
68 (getPreviewLoader): new helper function.
70 2004-04-19 Angus Leeming <leeming@lyx.org>
74 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
76 2004-04-19 Angus Leeming <leeming@lyx.org>
78 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
80 (add_preview): renamed as add_preview_and_start_loading. Invoke
81 RenderPreview::startLoading.
83 * insetinclude.C (metrics, draw): changes due to the changed
84 RenderPreview interface.
86 * render_preview.C: remove cached pimage_.
87 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
88 (draw): don't call startLoading. That's up to the user of
91 2004-04-16 Angus Leeming <leeming@lyx.org>
93 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
95 2004-04-13 Angus Leeming <leeming@lyx.org>
97 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
98 the renderer to inform LyX::updateInset that the inset's status
99 has changed and it should be redrawn.
101 * render_button.[Ch] (clone):
102 * render_graphic.[Ch] (c-tors, clone):
103 * render_preview.[Ch] (c-tors, clone): ditto.
105 * render_graphic.[Ch] (connect):
106 * render_preview.[Ch] (connect): removed, as connection is now
107 made in the constructors.
111 * insetinclude.C: ensuing simplification of the client code.
112 (statusChanged): now superfluous. Removed.
114 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
116 * ExternalTemplate.[Ch]: remove editCommand
117 * ExternalSupport.C (editExternal): use formats.edit() instead of
118 the removed editCommand template parameter
119 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
120 * insetgraphics.[Ch] (editGraphics): new method
122 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
124 * insetinclude.C (validate): set/reset features.buffer_ when
127 2004-04-07 Angus Leeming <leeming@lyx.org>
129 * insetexternal.C (priv_dispatch):
130 * insetinclude.C (priv_dispatch): prevent crash by invoking
131 InsetOld::priv_dispatch at the end of the switch, rather than
132 InsetOld::dispatch...
134 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
136 * insetcollapsable.C:
137 * insetbranch.C: 'assign' to open/close branch inset according to
138 selection; also print content on closed branch button
140 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
142 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
143 $$RelPath_Master, $$RelPath_Parent, $$Extension,
144 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
146 * ExternalSupport.C (updateExternal): use absolute and output
147 filename where appropriate
149 2004-04-05 André Pönitz <poenitz@gmx.net>
151 * insetbase.h: use LCursor & in notifyCursorLeave
153 2004-04-05 Angus Leeming <leeming@lyx.org>
155 * insetgraphics.C: remove unused header file "lyxrc.h".
157 * render_graphic.C: squash bug 1372: Misleading graphics label when
158 deactivating lyx view.
160 2004-04-05 Angus Leeming <leeming@lyx.org>
165 * insetlatexaccent.C:
170 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
172 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
174 * insetfloat.C (read): fix yesterday's float fix.
175 * insetwrap.C (read): apply the fixed float fix.
177 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
179 * insetfloat.C (read): fix reading of float params
182 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
184 * insettext.C (edit): comment the call to updateLocal (dangling now)
185 * insettext.h: add allowSpellCheck() returning true
187 2004-03-31 Angus Leeming <leeming@lyx.org>
189 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
191 2004-03-31 Angus Leeming <leeming@lyx.org>
193 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
194 the cursor out of an inset.
196 * insetbranch.C (priv_dispatch):
197 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
198 use getOutOfInset to push the cursor out of the inset when
201 2004-03-30 Angus Leeming <leeming@lyx.org>
203 * insetbase.[Ch] (translate): new static member function, returns
204 an InsetBase::Code corresponding to the input string.
206 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
208 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
209 so that it opens the inset if it refers to the currently active
212 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
214 * insetfloat.C (addToToc): use par_const_iterator_begin and
215 par_const_iterator_end.
217 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
219 * insetbibtex.[Ch]: bibtopic support.
221 * insetfloat.[Ch]: add param \sideways {true|false}
222 (support for sideways floats from rotating.sty).
224 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
226 * insettext.[Ch]: add a default ctor. implement const version of
232 * insetwrap.C: adjust
234 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
236 * insettext.h: add insetAllowed returning true by default (fixing
237 vanishing insets problem)
239 * insettext.C (draw): handle the responsability of adding the
240 ouside offset to collapsable. Clean code a bit.
242 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
243 from insettext correctly, solve a couple of off-by-one drawing
246 2004-03-25 Angus Leeming <leeming@lyx.org>
248 * insetcaption.C (draw): squash warning about unused variable.
250 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
252 * ExternalSupport.C: use the master buffer's temp dir
253 * insetgraphics.C (latex): make relative filename relative to the
255 * insetgraphics.C: use the master buffer's temp dir
256 * insetinclude.C (masterFilename): new function
257 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
258 is always true if loadIfNeeded() returns true)
260 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
262 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
263 set its parent to the current buffer.
264 (latex): use the tmppath of the master buffer, not just the parent
265 buffer (makes a difference with more than one level of include
266 insets). If the file name is relative write in the .tex file a
267 name relative to the master buffer directory.
269 * insetinclude.C: rename masterFilename to parentFilename (this
270 points to the direct parent)
272 2004-03-25 André Pönitz <poenitz@gmx.net>
274 * inset.[Ch]: remover owner
276 * insetcollapsable.[Ch]: derive from InsetText instead having such a
284 * insetcharstyle.[Ch]:
292 * insetwrap.C: adjust
294 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
296 * insetquote.C: use opening quote after '[' char.
298 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
300 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
303 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
305 * insetcite.[Ch]: support jurabib.
307 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
309 * insetcite.C: Support second \cite option.
312 * insetcommandparams.[Ch]: add second optional argument.
314 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
316 * insetcollapsable.C (lfunMouseRelease): right mouse button only
317 shows the inset dialog.
319 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
321 * insetlabel.[Ch]: remove them
322 * Makefile.am: adjust
324 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
326 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
328 * insetinclude.C (latex): show a GUI warning if textclasses don't
330 * insetinclude.C: use mangledFilename() for temp files
331 * insetgraphics.C (readInsetGraphics): remove version check, since
332 the graphics inset has no own fileformat number anymore
334 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
336 * insetquotes.[Ch]: added new member that allows direct access
337 to single/double quotation marks.
339 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
341 2004-02-16 André Pönitz <poenitz@gmx.net>
344 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
345 implicitly assume 'DispatchResult(true, true) with exception of
346 InsetBase::priv_dispatch which does the equivalent of
347 'retrun DispatchResult(false)'
349 * inset*.[Ch] (priv_dispatch): adjust
351 * insettabular.[Ch]: remove remains of the 'update' mechanism,
352 simplify cursor moving function,
353 re-enable horizontal scrolling for large tables
355 2004-02-13 André Pönitz <poenitz@gmx.net>
357 * insettabular.[Ch]: some work after IU
359 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
361 * inset.C (setPosCache): switch to absolute coords in insets
362 * insettext.[Ch] (draw, drawFrame): adjust
363 * insetcollapsable.C (draw): adjust
366 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
368 * insettext.C (edit):
369 (updateLocal): use the cur argument instead of the global cursor
370 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
372 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
374 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
376 * insetfloat.C (validate): "H" -> 'H' in call to contains
378 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
380 2004-01-30 André Pönitz <poenitz@gmx.net>
384 * insetcollapsable.[Ch]:
387 * insetgraphics.[Ch]:
392 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
395 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
397 * insettabular.C: add using statement for std::vector, remove
398 std:: where using was already used.
400 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
402 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
404 * insetinclude.C (validate): use feautures.nice() instead of
407 2004-01-20 André Pönitz <poenitz@gmx.net>
410 * insetbase.[Ch]: move stuff from mathcursor here.
416 * insetcharstyle.[Ch]:
417 * insetcollapsable.[Ch]:
420 * insetexternal.[Ch]:
422 * insetgraphics.[Ch]:
431 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
433 2004-01-15 André Pönitz <poenitz@gmx.net>
440 * insetcharstyle.[Ch]:
441 * insetcollapsable.[Ch]:
444 * insetexternal.[Ch]:
446 * insetgraphics.[Ch]:
455 * updatableinset.[Ch] (priv_dispatch et al): change signature.
457 2004-01-08 André Pönitz <poenitz@gmx.net>
459 * insetcollapsable.[Ch]:
462 * updatableinset.h: use cell index info from global cursor.
464 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
466 * insetnote.C (InsetNoteParams::write): write label only once
468 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
470 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
472 get rid of the SameName functor
474 * insettabular.C: improve the functor.
476 2003-12-29 Angus Leeming <leeming@lyx.org>
478 * insetexternal.C (setParams): update defaultTemplateName.
480 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
482 * insetbox.C: Use term "Box" in button label
484 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
486 * insetcharstyle.C: get getDrawFont working again
488 2003-12-15 André Pönitz <poenitz@gmx.net>
491 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
493 2003-12-12 Angus Leeming <leeming@lyx.org>
495 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
497 (InsetBranchParams): remove the branchlist hack.
498 (isBranchSelected): new function, used to decide whether to
499 print each output format. Also used by InsetList.
500 (read, string2params): repair my own breakage ;-)
502 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
504 * insetminipage.[Ch]: remove from repository.
506 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
509 * insetcollapsable.[Ch]: Move all CollapseStatus code from
510 insetert to insetcollapsable; introduce virtual function
511 setButtonLabel and invoke it from collapsable
513 2003-12-12 Angus Leeming <leeming@lyx.org>
515 * insetinclude.C (draw): cache x,y and so enable the
518 2003-12-12 Angus Leeming <leeming@lyx.org>
520 * mailinset.C (print_mailer_error): tidy up the output.
522 2003-12-11 Angus Leeming <leeming@lyx.org>
524 * mailinset.[Ch] (print_mailer_error): new helper function.
526 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
527 calling InsetCommandMailer.
528 (InsetCommandMailer::string2params): pass the name of the dialog.
530 * insetbibitem.[Ch] (d-tor):
531 * insetbibtex.[Ch] (d-tor):
532 * insetcite.[Ch] (d-tor):
533 * insetfloatlist.[Ch] (d-tor):
534 * insetindex.[Ch] (d-tor):
535 * insetlabel.[Ch] (d-tor):
536 * insetref.[Ch] (d-tor):
537 * insettoc.[Ch] (d-tor):
538 * inseturl.[Ch] (d-tor): removed.
539 Hiding the dialog is handled by InsetCommand.
541 * insetbibtex.[Ch] (draw, metrics):
542 * insetfloatlist.[Ch] (draw, metrics):
543 * insetindex.[Ch] (draw, metrics): removed.
544 Drawing is handled by InsetCommand.
546 * insetbibitem.[Ch] (priv_dispatch):
547 * insetbibtex.[Ch] (priv_dispatch):
548 * insetcite.[Ch] (priv_dispatch):
549 * insetfloatlist.[Ch] (priv_dispatch):
550 * insetindex.[Ch] (priv_dispatch):
551 * insetlabel.[Ch] (priv_dispatch):
552 * insettoc.[Ch] (priv_dispatch):
553 * inseturl.[Ch] (priv_dispatch): removed or simplified.
554 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
555 LFUN_INSET_DIALOG_SHOW.
557 * insetbox.C (string2params):
558 * insetbranch.C (string2params):
559 * insetert.C (string2params):
560 * insetexternal.C (string2params):
561 * insetfloat.C (string2params):
562 * insetinclude.C (string2params):
563 * insetminipage.C (string2params):
564 * insetnote.C (string2params):
565 * insetvspace.C (string2params):
566 * insetwrap.C (string2params): over-hauled.
568 2003-12-10 Angus Leeming <leeming@lyx.org>
570 * insetexternal.[Ch]: add a draft option and respect it when
573 2003-12-10 Angus Leeming <leeming@lyx.org>
575 * insetbox.C: (read, write): now prepend the inset contents with
576 'Box' to identify the inset as a box inset.
578 * insetbox.h: move the translators out of sight.
580 2003-12-10 Angus Leeming <leeming@lyx.org>
582 * insetert.C (string2params): clean-up using the new lyxlex interface.
584 * insetexternal.C: ensure that InsetExternalParams has a default
585 template, 'RasterImage'.
587 2003-12-10 Angus Leeming <leeming@lyx.org>
589 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
590 to an enum. Ensuing clean-ups through out the class.
591 (read, write): now prepend the inset contents with 'Note' to identify
592 the inset as a note inset.
594 2003-12-10 Angus Leeming <leeming@lyx.org>
596 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
597 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
599 2003-12-10 André Pönitz <poenitz@gmx.net>
604 * insettext.[Ch]: remove unused insetInset()
606 * insetert.C: disable some LFUNs
608 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
610 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
612 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
614 2003-12-04 Angus Leeming <leeming@lyx.org>
616 * insetexternal.C (draw): update the xo_, yo_ cache.
618 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
620 (RotationDataType): new helper struct wrapping the
621 RotationData::OriginType enum.
623 2003-12-03 André Pönitz <poenitz@gmx.net>
625 * inset.h: remove getParagraphs()
627 * insetcollapsable.[Ch]:
631 * insettext.C: use getText() instead of getParagraphs()
633 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
635 * insetert.C: fix label text updating bug
637 2003-12-02 Angus Leeming <leeming@lyx.org>
639 * insetvspace.[Ch] (space): new member function. Make space_ private.
640 (read): use the new, simpler lyxlex syntax.
642 2003-12-01 André Pönitz <poenitz@gmx.net>
644 * insetcollapsable.[Ch]:
645 * insetert.[Ch]: move 'inline' state to InsetCollapsable
647 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
649 * insetvspace.C (read): handle 'end_inset' token.
651 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
653 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
655 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
657 * insetcollapsable.[Ch]:
659 * insetcharstyle.C: place inset content on the button when
662 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
664 * insetvspace.C: remove VSpace::NONE; increase inset width
666 2003-12-01 André Pönitz <poenitz@gmx.net>
668 * insetbase.h: whitespace
670 * inset.[Ch]: remove latexTextWidth
671 make setBackgroundColor virtual
673 * insettext.[Ch]: move ParagraphList member to LyXText
675 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
681 * insetminipage.[Ch]:
683 * insetwrap.[Ch]: adjust paragraphs and background color handling,
685 2003-11-28 Angus Leeming <leeming@lyx.org>
687 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
688 hiding and showing the dialog respectively.
689 (priv_dispatch): also actually update the inset contents.
691 2003-11-28 Angus Leeming <leeming@lyx.org>
693 * insetbox.C (d-tor):
694 * insetbranch.C (d-tor):
695 * insetcite.C (d-tor):
696 * insetfloat.C (d-tor):
697 * insetfloatlist.C (d-tor):
698 * insetinclude.C (d-tor):
699 * insetindex.C (d-tor):
700 simplify the invocation of the Mailer::hideDialog() function.
702 * insetminipage.C (showInsetDialog):
703 simplify the invocation of the Mailer::showialog() function.
705 2003-11-28 André Pönitz <poenitz@gmx.net>
708 * insetvspace.[Ch]: new insets
710 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
712 * insetcharstyle.C: Syntax change for CharStyles
714 2003-11-28 André Pönitz <poenitz@gmx.net>
716 * updatableinset.h: remove insetInInsetY
718 * insetcollapsable.[Ch]:
721 * insettext.[Ch]: adjust
723 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
727 * insetcollapsable.[Ch]:
729 * insettabular.[Ch]: remove setFont
731 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
733 * render_graphic.[Ch]: adjust comments
735 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
737 * insetgraphics.C (draw): cache xo_ & yo_
739 2003-11-24 André Pönitz <poenitz@gmx.net>
741 * insettext.C (setViewCache): don't call LyXText::init() anymore
743 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
746 * insetcollapsable.[Ch]:
747 * insetert.[Ch]: remove bufferview parameter in methods
748 open, close, status, and updateStatus.
750 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
752 * insetcollapsable.[Ch]:
754 * insettext.[Ch] (getCursorDim): squash unused variable
756 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
758 * insettext.C (edit): x0_,y0_ -> xo_,yo_
760 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
762 * insettext.C (draw): sets LyXText absolute coordinates
764 2003-11-20 Angus Leeming <leeming@lyx.org>
766 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
767 about unused parameters.
769 * insetcollapsable.C (open):
770 * insettabular.C (pasteSelection):
771 * insettoc.C (draw): ditto.
773 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
775 * insetcollapsable.C:
777 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
778 remove mouse_x mouse_y etc.
780 2003-11-17 André Pönitz <poenitz@gmx.net>
782 * insettext.[Ch] (cx, cy): remove
784 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
786 2003-11-13 André Pönitz <poenitz@gmx.net>
789 * insetcollapsable.[Ch]:
791 * insettext.[Ch] (deleteLyXText): remove
793 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
795 * insetcollapsable.[Ch] (fitInsetCursor): remove
796 * insettabular.[Ch] (fitInsetCursor): remove
797 * insettext.[Ch] (fitInsetCursor): remove
798 * updatableinset.[Ch] (fitInsetCursor): remove
799 (getCursorDIm): add virtual
801 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
803 * src/insets/Makefile.am:
804 * src/insets/inset.h:
805 * src/insets/insetcharstyle.C:
806 * src/insets/insetcharstyle.h: The Character Style /XML short
809 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
811 * insettext.C: remove all update calls
812 * insetcollapsable.C: remove all update calls
814 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
816 * insettext.C (updateLocal, insertInset, setFont): remove
819 2003-11-10 André Pönitz <poenitz@gmx.net>
821 * inset.h: remove Inset::id_
823 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
826 2003-11-10 André Pönitz <poenitz@gmx.net>
830 * insetcollapsable.[Ch]:
837 * updatableinset.[Ch]: remove inset locking & adjust
839 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
841 * inset.h (allowSpellCheck): add (return true)
842 * insetert.h (allowSpellCheck): add (return false)
844 2003-11-05 José Matos <jamatos@lyx.org>
852 * insetcollapsable.[Ch]:
856 * insetexternal.[Ch]:
858 * insetfloatlist.[Ch]:
860 * insetgraphics.[Ch]:
865 * insetlatexaccent.[Ch]:
868 * insetmarginal.[Ch]:
869 * insetminipage.[Ch]:
873 * insetpagebreak.[Ch]:
877 * insetspecialchar.[Ch]:
883 * insetwrap.[Ch]: rename ascii to plaintext
884 and LatexRunParams to OutputParams.
886 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
888 * insetcollapsable.C (edit): add open() all
889 * insettext.C (edit): add setViewCache call
891 2003-11-04 André Pönitz <poenitz@gmx.net>
893 * inset.h (edit): move locking code from dispatch() to edit()
899 * insetcollapsable.[Ch]:
902 * insetexternal.[Ch]:
903 * insetgraphics.[Ch]:
909 * insettext.[Ch]: adjust
911 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
914 * insetcollapsable.[Ch]:
918 * updatableinset.[Ch]: remove dead search code
920 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
923 * insetcollapsable.[Ch]:
927 * updatableinset.[Ch]: remove dead spellcheck code
929 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
931 * insettabular.C (lockInsetInInset): small fix
933 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
935 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
936 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
937 from here. Be stricter on DispatchResult returned.
939 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
941 * Inset::dispatch's: adjust for new DispatchResult semantics.
943 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
945 * render_base.h: make clone return an auto_ptr
946 * render_button.C (clone): adjust
947 * render_graphic.C (clone): adjust
948 * render_preview.C (clone): adjust
950 * insettheorem.C (clone): return an auto_ptr
952 * insettext.C (priv_dispatch): exception safety
954 * insettabular.C: store the file scope variable paste_tabular in a
955 scoped_ptr, adjust usage.
957 * insetexternal.C (setParams): exception safety
959 * insetbibitem.C (clone): exception safety
961 2003-11-03 André Pönitz <poenitz@gmx.net>
964 * insetcollapsable.[Ch]:
966 * insettext.[Ch]: remove Inset::id and related functions
968 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
970 * insets: adjust for DispatchResult changes.
972 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
974 * insetpagebreak.C: fix screen representation & ascii output.
976 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
981 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
983 2003-10-31 José Matos <jamatos@lyx.org>
985 * inset.h (ascii, linuxdoc, docbook):
986 * insetbox.[Ch] (ascii, linuxdoc, docbook):
987 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
988 * insetcaption.[Ch] (ascii, docbook):
989 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
990 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
991 * insetert.[Ch] (ascii, linuxdoc, docbook):
992 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
993 * insetfloat.[Ch] (linuxdoc, docbook):
994 * insetfloatlist.[Ch] (ascii):
995 * insetfoot.[Ch] (docbook):
996 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
997 * insethfill.[Ch] (ascii, linuxdoc, docbook):
998 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
999 * insetindex.[Ch] (docbook):
1000 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
1001 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
1002 * insetline.[Ch] (ascii, linuxdoc, docbook):
1003 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
1004 * insetnote.[Ch] (ascii, linuxdoc, docbook):
1005 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
1006 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
1007 * insetref.[Ch] (ascii, linuxdoc, docbook):
1008 * insetspace.[Ch] (ascii, linuxdoc, docbook):
1009 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1010 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
1011 * insettext.[Ch] (ascii, linuxdoc, docbook):
1012 * insettoc.[Ch] (ascii, linuxdoc, docbook):
1013 * inseturl.[Ch] (ascii, linuxdoc, docbook):
1014 * insetwrap.[Ch] (docbook):
1015 add LatexRunParams argument.
1017 2003-10-30 José Matos <jamatos@lyx.org>
1019 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1021 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1023 * updatableinset.C (priv_dispatch):
1024 * insetwrap.C (priv_dispatch):
1025 * inseturl.C (priv_dispatch):
1026 * insettoc.C (priv_dispatch):
1027 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1028 (moveLeftIntern, moveUp, moveDown):
1029 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1030 (moveLeft, moveUp, moveDown):
1031 * insetref.C (priv_dispatch):
1032 * insetnote.C (priv_dispatch):
1033 * insetminipage.C (priv_dispatch):
1034 * insetlabel.C (priv_dispatch):
1035 * insetindex.C (priv_dispatch):
1036 * insetinclude.C (priv_dispatch):
1037 * insetgraphics.C (priv_dispatch):
1038 * insetfloatlist.C (priv_dispatch):
1039 * insetfloat.C (priv_dispatch):
1040 * insetexternal.C (priv_dispatch):
1041 * insetert.C (priv_dispatch):
1042 * insetcommand.C (priv_dispatch):
1043 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1044 * insetcite.C (priv_dispatch):
1045 * insetbranch.C (priv_dispatch):
1046 * insetbox.C (priv_dispatch):
1047 * insetbibtex.C (priv_dispatch):
1048 * insetbibitem.C (priv_dispatch):
1049 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1051 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1053 * insettext.C: small refactoring of docbook stuff
1055 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1057 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1058 (priv_dispatch): adjust for operator dispatch_result_t removal
1060 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1061 in a DispatchResult, adjust accordingly.
1062 (priv_dispatch): use strange >= construct... (will be removed later)
1064 * most insets: dispatch_result -> DispatchResult
1066 * insetbase.h: move DispatchResult out to dispatchresult.h
1068 2003-10-27 André Pönitz <poenitz@gmx.net>
1070 * insetpagebreak.[Ch]: new inset for page breaks
1072 * insetline.[Ch]: new inset for vertical lines
1077 2003-10-25 Angus Leeming <leeming@lyx.org>
1079 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1080 new virtual member functions, specialised...
1081 * render_button.h (asButton):
1082 * render_graphic.h (asGraphic):
1083 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1085 * insetexternal.C: use these new functions rather than dynamic_cast.
1086 Various other small simplifications.
1088 2003-10-22 Angus Leeming <leeming@lyx.org>
1090 * insetexternal.[Ch]: add the ability to 'preview' the external file
1093 * insetinclude.C: changes due to the changes in the RenderPreview
1096 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1097 message if the preview image is not available. Only initiate the
1098 loading of the preview from draw(). Ditto, start the monitoring
1099 of an external file from RenderMonitoredPreview::draw.
1101 2003-10-22 Angus Leeming <leeming@lyx.org>
1103 * insetcite.[Ch] (setLoadingBuffer): removed.
1104 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1105 ascertain whether to proceed with the (expensive) task of computing
1106 the natbib-style label. Remove the home-grown hack providing
1107 similar functionality.
1109 2003-10-22 Angus Leeming <leeming@lyx.org>
1111 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1112 class and into an anonymous namespace.
1114 2003-10-22 Angus Leeming <leeming@lyx.org>
1116 * insetcommand.h: remove the display method.
1120 * insetindex.h (InsetPrintIndex):
1121 * insettoc.h: add a display method, returning true.
1123 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1125 * insetcollapsable.h:
1129 * insetinclude.h: (1) finish off the inset display() work;
1130 (2) fix the "is a bit silly" bug (accessing char
1133 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1137 * insetfootlike.h: re-introduce display() for insets,
1138 fixing the various bugs (stretch of line above, math inset
1141 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1143 * insetbase.C (dispatch): new func
1144 (priv_dispatch): new func replaces...
1145 (localDispatch): this, deleted.
1147 * all insets with dispatch modified for new code.
1149 2003-10-15 André Pönitz <poenitz@gmx.net>
1151 * insetcollapsable.[Ch]
1153 * inset.h: re-add some edit(bv, index) method called by undo
1155 2003-10-14 Angus Leeming <leeming@lyx.org>
1157 * insetexternal.[Ch] (view, cache, view_):
1158 * insetgraphics.[Ch] (view, cache, view_):
1159 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1160 (statusChanged): call LyX::cref().updateInset.
1162 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1163 the BufferView cache.
1165 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1168 2003-10-14 Angus Leeming <leeming@lyx.org>
1170 * insetinclude.C (metrics, draw): only draw the preview when previews
1173 2003-10-14 André Pönitz <poenitz@gmx.net>
1175 * insetcollapsable.[Ch]:
1176 * insettabular.[Ch]:
1178 * inset.h: getText() as alternative to getParagraphs()
1180 2003-10-13 Angus Leeming <leeming@lyx.org>
1183 * insetgraphicsParams.C: displayTranslator is now a function.
1185 2003-10-13 Angus Leeming <leeming@lyx.org>
1187 * insetinclude.C: remove #include "PreviewImage.h".
1189 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1191 * ExternalSupport.C:
1192 * ExternalTransforms.C:
1194 * insetbox.h: ws changes only
1196 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1198 * insetinclude.C (localDispatch): do not call
1199 InsetOld::localDispatch, just return UNDISPATCHED
1200 * insetgraphics.C (localDispatch): ditto
1201 * insetcommand.C (localDispatch): ditto
1203 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1205 * inset.h: get rid of RESULT typedef for dispatch_result
1207 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1208 * insetert.[Ch] (localDispatch): ditto
1209 * insettabular.[Ch] (localDispatch): ditto
1214 * insettext.[Ch] (localDispatch): ditto
1217 (moveRightIntern): ditto
1218 (moveLeftIntern): ditto
1221 * updatableinset.[Ch] (localDispatch): ditto
1223 2003-10-12 Angus Leeming <leeming@lyx.org>
1225 * renderbase.h (view, view_): removed.
1226 * renderbase.C: removed.
1227 * Makefile.am: remove render_base.C. The shortest lived file in
1230 * renderbutton.C (draw):
1231 * render_graphic.C (draw): don't cache the BufferView.
1233 * insetabase.h (cache, view): removed.
1235 * inset.h (generatePreview) removed.
1237 * insetcallapsable.[Ch] (cache, view, view_): removed.
1239 * insetcollapsable.C (draw): don't cache the BufferView.
1241 * insetcommand.[Ch] (view): removed.
1243 * insetexternal.[Ch] (cache, view, view_):
1244 * insetgraphics.[Ch] (cache, view, view_):
1245 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1247 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1248 when you have direct access to it. In fact, don't use the cache at all.
1250 2003-10-10 Angus Leeming <leeming@lyx.org>
1252 * insetinclude.C (metrics): use preview_->metrics.
1253 (draw): use preview_->draw.
1255 * render_preview.[Ch] (pimage): removed.
1257 2003-10-10 Angus Leeming <leeming@lyx.org>
1259 * renderers.[Ch]: removed.
1262 * render_button.[Ch]:
1263 * render_graphic.[Ch]:
1264 * render_preview.[Ch]: new files. The first three are split out of
1265 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1266 contains a re-worked InsetInclude::PreviewImpl also.
1268 * Makefile.am: reflect the changed files.
1271 * insetexternal.[Ch]:
1272 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1274 * insetinclude.[Ch]: changes reflecting the change from
1275 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1281 * inseturl.C: add #include "support/std_ostream.h"
1283 2003-10-09 Angus Leeming <leeming@lyx.org>
1285 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1286 to PreviewedInset::previewReady.
1288 2003-10-09 Angus Leeming <leeming@lyx.org>
1290 * insetexternal.[Ch] (statusChanged):
1291 * insetgraphics.[Ch] (statusChanged): make a const member function.
1293 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1296 2003-10-09 Angus Leeming <leeming@lyx.org>
1298 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1299 to PreviewedInset's previewReady and removePreview member functions.
1301 2003-10-08 André Pönitz <poenitz@gmx.net>
1303 * insetcollapsable.C:
1304 * insettext.[Ch]: saner 'init' structure
1306 * updatableinset.[Ch]: remove unneeded code
1308 2003-10-08 Angus Leeming <leeming@lyx.org>
1310 Fix doxygen warnings.
1312 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1313 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1315 2003-10-07 Angus Leeming <leeming@lyx.org>
1317 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1318 be applied to InsetExternal.
1320 * Makefile.am: add these new files.
1322 * ExternalTemplate.[Ch]: add a list of available transforms to
1323 class Template and a list of factory functions for transformer classes
1324 that can act on this data to class Format.
1326 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1328 * ExternalSupport.C: Add code to replace transform placeholders
1329 with appropriate output.
1331 2003-10-07 Angus Leeming <leeming@lyx.org>
1333 * ExternalSupport.[Ch]: new files, moving the private member functions
1334 and namespace anon functions out of insetexternal.C to here, so making
1335 it easier to understand what is going on in insetexternal itself.
1337 * Makefile.am: add new files.
1339 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1340 allowing the class to be forward declared. (Also consistent with
1341 all other Params classes.)
1342 (write): moved out of the class. Move this function and those in
1343 namespace anon to ExternalSupport.[Ch].
1345 2003-10-07 Angus Leeming <leeming@lyx.org>
1347 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1348 non-const member function.
1350 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1355 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1357 2003-10-02 André Pönitz <poenitz@gmx.net>
1359 * insettext.C (read): make sure there is at least one par
1360 in the text after reading.
1362 2003-10-01 José Matos <jamatos@lyx.org>
1364 * insetbranch.C (linuxdoc, docbook): minor fix.
1366 2003-10-01 Angus Leeming <leeming@lyx.org>
1368 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1370 * insetexternal.[Ch]: changes due to the introduction of
1371 namespace lyx::external.
1373 2003-09-30 Angus Leeming <leeming@lyx.org>
1375 * insetexternal.[Ch] (Params::read, write): new member functions.
1377 2003-09-25 Angus Leeming <leeming@lyx.org>
1379 * insetexternal.[Ch] (TempName): new (private) nested struct with
1380 fake copy semantics. Enables us to use the generated copy c-tor
1381 in the Params struct.
1382 (Params::templatename, Params::tempname): use accessor functions.
1384 2003-09-25 Angus Leeming <leeming@lyx.org>
1386 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1387 function, returning a const pointer.
1389 2003-09-23 Angus Leeming <leeming@lyx.org>
1391 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1392 store them in a vector, preambleNames.
1394 * insetexternal.C (validate): loop over all preambleNames and call
1395 LaTeXFeatures::addExternalPreamble with each.
1397 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1399 * insetbranch.C: bug fix in branches
1401 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1403 * insetnote.C: small clean-up.
1405 2003-09-19 Angus Leeming <leeming@lyx.org>
1407 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1409 * insetcommand.C (string2params): clear params using the default c-tor.
1411 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1412 InsetInclude::Params. No more data in this struct than in
1413 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1414 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1415 (clone): remove #warning as it's now redundant.
1416 (set): add a 'Buffer const &' arg. Make private.
1417 (loadIfNeeded) move out of the class definition and into namespace anon.
1418 (getMasterFilename, getFileName): ditto.
1420 2003-09-18 Angus Leeming <leeming@lyx.org>
1422 * insetcommand.C (setParams): use the params' copy constructor.
1424 2003-09-18 Angus Leeming <leeming@lyx.org>
1426 * insetinsetbase.h (getLabelList):
1427 * insetinsetcollapsable.[Ch] (getLabelList):
1428 * insetinsetinclude.[Ch] (getLabelList):
1429 * insetinsetlabel.[Ch] (getLabelList):
1430 * insetinsettabular.[Ch] (getLabelList):
1431 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1432 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1434 2003-09-18 Angus Leeming <leeming@lyx.org>
1436 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1437 redundant baggage from yesteryear.
1438 Remove Params::flag as it is redundant; the info is present in
1441 2003-09-18 Angus Leeming <leeming@lyx.org>
1443 * insetinclude.C (latexString): add a Buffer const & arg.
1445 2003-09-18 Angus Leeming <leeming@lyx.org>
1450 * insettext.h: rename EnumLColor as LColor_color.
1452 2003-09-18 Angus Leeming <leeming@lyx.org>
1454 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1455 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1457 2003-09-16 Angus Leeming <leeming@lyx.org>
1459 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1460 set before trying to generate a preview, else we trigger an assert.
1462 2003-09-16 Angus Leeming <leeming@lyx.org>
1464 * insetinclude.C (PreviewImpl::parent): return a const reference.
1466 2003-09-16 Angus Leeming <leeming@lyx.org>
1468 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1470 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1472 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1473 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1475 * insetminipage.C (metrics):
1476 * insetnote.C (metrics):
1477 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1478 access collapsed_ directly.
1480 2003-09-16 Angus Leeming <leeming@lyx.org>
1482 * insetbibitem.C: add #include "lyxfont.h".
1484 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1487 * insetbibtex.C: use namespace alias for lyx::support::os
1489 2003-09-16 Angus Leeming <leeming@lyx.org>
1491 * insetcollapsable.h: remove unused framecolor variable.
1492 Remove #include "LColor.h".
1494 * insetcollapsable.C: remove unused framecolor variable.
1497 * insetcollapsable.C:
1505 Add #include "LColor.h".
1507 2003-09-16 Angus Leeming <leeming@lyx.org>
1509 * insettext.[Ch] (frameColor): new accessor function.
1510 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1516 add #include "LColor.h".
1518 * insetcollapsable.h: add #include "LColor.h"
1519 (for its framecolor member variable).
1521 2003-09-16 Angus Leeming <leeming@lyx.org>
1523 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1525 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1526 rename frame_color as frame_color_. Make private.
1528 * insettext.C: associated changes.
1530 2003-09-16 Angus Leeming <leeming@lyx.org>
1532 * inset.h: store background_color_ as an int, not as an LColor::color to
1533 get LColor.h out of the header file.
1536 * insetlatexaccent.C:
1539 * insetspecialchar.C:
1541 add #include "LColor.h".
1543 2003-09-16 Angus Leeming <leeming@lyx.org>
1545 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1548 2003-09-15 Angus Leeming <leeming@lyx.org>
1550 * inset.[Ch] (setBackgroundColor, backgroundColor):
1551 * insettext.[Ch] (setFrameColor):
1552 pass EnumLColor args, rather than LColor::color ones.
1554 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1564 * insetwrap.C: remove usage of STRCONV
1566 2003-09-15 Angus Leeming <leeming@lyx.org>
1568 * renderers.C (draw):
1569 * insetlatexaccent.C (draw): explicitly define the color passed to
1572 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1574 * insettext.C: remove block causing problems in lockInsetInInset
1575 (mentioned erroneously under Bug #1366)
1577 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1579 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1582 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1584 * several files: change Assert to BOOST_ASSERT
1586 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1588 * insettext.[Ch]: remove drawText[XY]Offset
1590 2003-09-08 Angus Leeming <leeming@lyx.org>
1592 * insetcollapsable.C:
1597 * insetspecialchar.C:
1600 * insettoc.C: remove redundant using directives.
1602 2003-09-07 Angus Leeming <leeming@lyx.org>
1605 * insetspecialchar.h: remove #include "support/std_string.h".
1607 2003-09-06 Angus Leeming <leeming@lyx.org>
1609 * renderers.C: add #include "insets/inset.h"
1611 2003-09-05 Angus Leeming <leeming@lyx.org>
1613 * *.C: strip out redundant #includes. (193 in total.)
1615 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1617 * insets/insetbibtex.[Ch]:
1618 * insets/insetcommand.h:
1619 * insets/insetfloatlist.[Ch]:
1620 * insets/insetinclude.[Ch]:
1621 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1622 of insets like bibtex, include, toc and floatlist to the visible
1623 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1624 up the dialogs. Cursor has to be in front of the inset (i.e.
1625 start of row) for this to function.
1627 2003-09-04 Angus Leeming <leeming@lyx.org>
1629 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1630 structure outside of the Format struct. Format::preambleName refers to
1631 an item in the map of all preamble snippets.
1632 Make use of the new Debug::EXTERNAL flag.
1634 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1635 (validate): Small change due to the changed storage of preamble snippets.
1637 2003-09-04 Angus Leeming <leeming@lyx.org>
1639 * insetgraphics.C: #include "support/os.h"
1641 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1642 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1643 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1645 * insetcollapsable.h:
1647 * insetnote.C: move #include "funcrequest.h" out of the header file.
1649 2003-09-03 Angus Leeming <leeming@lyx.org>
1651 * insetexternal.C (updateExternal):
1652 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1655 2003-09-03 Angus Leeming <leeming@lyx.org>
1657 * insetexternal.C: don't bring namespace lyx::support into the global
1660 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1662 * insetbranch.C: Add Branch: to label
1664 2003-09-02 John Levon <levon@movementarian.org>
1667 * insettext.C: remove cursor.i[xy]()
1669 2003-08-28 Angus Leeming <leeming@lyx.org>
1671 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1672 "sh ", enabling the conversion to be carried out even if the script
1675 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1677 * most files: change to use const Buffer refs
1679 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1681 * insetfootlike.C: whitespace.
1683 2003-08-26 John Levon <levon@movementarian.org>
1687 * insetindex.h: remove remaining mentions of needFullRow()
1689 2003-08-26 André Pönitz <poenitz@gmx.net>
1695 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1697 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1699 * insetbranch.C: Small fix to prevent a crash on loading.
1701 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1706 * insetcollapsable.h:
1708 * insetfloatlist.[Ch]:
1709 * insetfootlike.[Ch]:
1710 * insetinclude.[Ch]:
1716 * insettheorem.[Ch]:
1717 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1718 altogether, putting the logic in metrics/draw in the insets.=20
1719 Draws short single row insets with more or less realistic metrics.
1721 2003-08-19 André Pönitz <poenitz@gmx.net>
1723 * insettext.C: use new RowPainter interface
1725 2003-08-18 John Levon <levon@movementarian.org>
1727 * insetref.C: require amsmath for eqref
1729 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1733 * insetbranch.[Ch]: implements the 'branch inset'
1734 idea. This allows the output of various versions of a document
1735 from a single source version, selectively outputing or suppressing
1736 output of parts of the text.
1737 This implementation contains a 'branch list editor' in a separate
1738 tab of the document settings dialog. Branches are user definable
1739 and have a "display colour" to distinguish them on-screen.
1741 ColorHandler was somewhat cleaned up.
1742 (1) make possible a dynamically growing LColor list by allowing
1743 the graphic context cache to grow along (vector);
1744 (2) eliminate an IMHO unnecessary step in colour allocation.
1746 2003-08-15 André Pönitz <poenitz@gmx.net>
1748 * insettext.[Ch]: adjust after rowlist split
1750 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1752 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1753 rename valign-center to valign-middle;
1754 rename VALIGN_CENTER to VALIGN_MIDDLE
1756 2003-08-11 André Pönitz <poenitz@gmx.net>
1758 * inset.h: remove resizeLyXText
1761 * insetcollapsable.[Ch]:
1763 * insettabular.[Ch]: adjust
1765 * insettext.[Ch]: remove saveLyXTextState,
1766 restoreLyXTextStat, sstate, reinitLyXText
1768 2003-08-07 André Pönitz <poenitz@gmx.net>
1770 * inset.[Ch]: move non-crucial functions out-of-line
1772 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1773 remove duplicated code.
1775 2003-08-05 André Pönitz <poenitz@gmx.net>
1778 * insetcollapsable.[Ch]:
1788 * insettabular.[Ch]:
1791 * updatableinset.[Ch]: rip out "deep update"
1793 * insettext.C (localDispatch): merge cases with default branch
1795 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1797 * insettabular.[Ch] (updateLocal): simplify logic
1799 2003-08-04 André Pönitz <poenitz@gmx.net>
1801 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1802 is 'FULL' all the time.
1804 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1806 * insetert.C (get_new_label): only add ... to the (closed) label
1807 when the string has been shortened
1809 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1811 * Always use std::endl with lyxerr
1813 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1815 * insetnote.C: update \author list
1817 2003-07-31 André Pönitz <poenitz@gmx.net>
1819 * insetcollapsable.h:
1820 * insettabular.[Ch]:
1821 * insettext.[Ch]: remove toggleSelection
1823 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1825 (with help from Juergen Spitzmueller)
1826 * insetnote.C: add add i18n support. Use Prefs-definable
1827 colours for Comment and Greyedout.
1829 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1831 * insetcollapsable.[Ch]:
1833 * insetert.C: factor out the detection of clicking on the inset
1834 button as 'hitButton'. John Levon contributed.
1836 2003-07-30 André Pönitz <poenitz@gmx.net>
1838 * insetcollapsable.C:
1840 * insettabular.C: parantheses, localize vars etc.
1842 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1844 * insetnote.C: Implement a newenvironment in preamble for
1845 greyedout. Patch provided by Jürgen Spitzmüller.
1847 2003-07-29 Angus Leeming <leeming@lyx.org>
1849 * insetcommand.C (localDispatch): default to
1850 InsetOld::localDispatch.
1852 * insetbibitem.C (localDispatch):
1853 * insetbibtex.C (localDispatch): remove call to
1854 ChangeCitationsIfUnique.
1856 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1858 * insetexternal.C (read): use pushpophelper.
1860 2003-07-28 José Matos <jamatos@lyx.org>
1862 * insetext.C (read): \end_document replaces \the_end.
1864 2003-07-28 José Matos <jamatos@fep.up.pt>
1866 * insetert.C (write): \layout -> \begin_layout.
1867 Add missing \end_layout.
1869 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1871 * insetquotes.C: document a bit the format
1873 * insettabular.C (write): remove extra space
1875 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1876 * insetnote.C: Umpf. Hope I *now* get it right :-(
1878 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1879 *insetnote.C: did the right fix to greyedout: \color
1880 instead of \textcolor.
1882 2003-07-28 Angus Leeming <leeming@lyx.org>
1884 * insetbibtex.h: remove extraneous forward declaration.
1887 * insetbibtex.h: Also remove long-dead Holder member class
1890 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1892 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1895 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1897 * insetwrap.C (addToToc): adjust for lyx::toc
1899 * insetfloatlist.C (ascii): adjust for lyx::toc
1901 * insetfloat.C (addToToc): adjust for lyx::toc
1903 2003-07-27 José Matos <jamatos@fep.up.pt>
1905 * insetnote.h (linuxdoc,docbook): update support.
1907 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1909 * insetfloat.C (wide): add a space to label, for consistency
1911 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1913 * insettext.C (nextChange): adjust for lyx::find
1914 (searchForward): ditto
1915 (searchBackward): ditto
1917 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1919 * insetgraphicsParams.C:
1920 * insetexternal.C: declare extern displayTranslator
1923 * renderers.C: add #include "support/LAssert.h"
1925 2003-07-27 José Matos <jamatos@fep.up.pt>
1927 * insetfloat.[Ch] (linuxdoc):
1928 * insetgraphics.C (linuxdoc):
1929 * insettabular.C (linuxdoc):
1930 * insettext.[Ch] (linuxdoc): add support for tables and figures
1933 2003-07-27 José Matos <jamatos@fep.up.pt>
1935 * insetinclude (latex): comply with makeLaTeXFile argument change.
1937 2003-07-26 Asger Alstrup <alstrup@local>
1939 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1940 the undo crashes. We'll see what problems other places this will
1943 2003-07-26 Angus Leeming <leeming@lyx.org>
1945 * insetgraphics.C: remove unused declaration of system_tempdir.
1947 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1949 * rename Inset to InsetOld
1951 * all inset files (clone): return a auto_ptr<InsetBase>
1953 2003-07-23 Angus Leeming <leeming@lyx.org>
1955 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1957 2003-07-23 Angus Leeming <leeming@lyx.org>
1959 * mailinset.[Ch] (inset2string):
1960 * insetcommand.[Ch] (inset2string):
1961 * insetert.[Ch] (inset2string):
1962 * insetexternal.[Ch] (inset2string):
1963 * insetfloat.[Ch] (inset2string):
1964 * insetgraphics.[Ch] (inset2string):
1965 * insetinclude.[Ch] (inset2string):
1966 * insetminipage.[Ch] (inset2string):
1967 * insetnote.[Ch] (inset2string):
1968 * insettabular.[Ch] (inset2string):
1969 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1971 * insetexternal.[Ch]:
1972 * insetgraphics.[Ch]: get rid of the view() function. Associated
1973 changes to the mailers' string2params and params2string functions.
1975 2003-07-23 Angus Leeming <leeming@lyx.org>
1977 * insetexternal.[Ch]: store the external file name in a FileName
1978 member variable rather than a string + associated changes.
1980 2003-07-21 Angus Leeming <leeming@lyx.org>
1982 * insetgraphicsParams.[Ch]: store the graphics file name in
1983 a FileName member variable rather than a string.
1985 * insetgraphics.[Ch]:
1986 * insetgraphicsParams.[Ch]: Associated changes.
1988 2003-07-21 Angus Leeming <leeming@lyx.org>
1990 * insetgraphics.[Ch] (string2params, params2string): passed a
1991 buffer_path argument.
1994 2003-07-21 Angus Leeming <leeming@lyx.org>
1997 * insetgraphicsParams.[Ch]:
1999 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
2001 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
2003 * insetnote.C: fixed greyout and conditionals layout foul-ups.
2005 2003-07-18 André Pönitz <poenitz@gmx.net>
2008 * insetminipage.[Ch]:
2009 * insettabular.[Ch]:
2012 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
2014 2003-07-18 André Pönitz <poenitz@gmx.net>
2018 * insetcollapsable.C:
2022 * insetgraphics.[Ch]:
2023 * insetlatexaccent.[Ch]:
2028 * insetspecialchar.C:
2029 * insettabular.[Ch]:
2031 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2033 2003-07-17 André Pönitz <poenitz@gmx.net>
2035 * insetcollapsable.C:
2037 * insettext.C: don't call Inset::update() anymore
2040 * insettabular.[Ch]: remove unneeded in_update_ members
2042 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2044 2003-07-16 André Pönitz <poenitz@gmx.net>
2046 * insettext.C (selectAll): remove
2048 2003-07-16 John Levon <levon@movementarian.org>
2051 * insetnote.C: implement showInsetDialog()
2053 2003-07-15 André Pönitz <poenitz@gmx.net>
2056 * insettext.C: refresh_status tristate -> need_update bool
2058 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2060 * insettext.C: adjust call to LyXText::init
2062 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2064 * insettext.C: use bufferview_funcs->replaceSelection()
2065 to delete selections in some cases (bugs 441, 673, 702, 954).
2067 2003-07-14 André Pönitz <poenitz@gmx.net>
2069 * insettext.C (draw): use slimmed down rowpainter interface
2071 2003-07-14 André Pönitz <poenitz@gmx.net>
2073 * insetcollapsable.C:
2075 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2076 remove unused BufferView * argument
2078 2003-07-14 André Pönitz <poenitz@gmx.net>
2080 * insettext.[Ch]: used cached metrics a bit more
2082 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2084 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2086 2003-07-10 André Pönitz <poenitz@gmx.net>
2089 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2091 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2093 * introduce namespace lyx::graphics
2095 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2097 * introduce namespace lyx::support
2099 2003-06-30 André Pönitz <poenitz@gmx.net>
2101 * insetcite.C (localDispatch): fix case of missing return value
2103 * insetcite.C (ascii): remove unneeded temporary
2105 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2107 * insetspace.h: fix \file
2109 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2110 * insetinclude.C (fillWithBibKeys): ditto
2112 * insetbibitem.C: fix type const order
2114 * inset.C (getLyXText): add varname for arg
2116 * ExternalTemplate.h: fix type const order
2118 2003-06-27 André Pönitz <poenitz@gmx.net>
2120 * insettext.C: take care of removed LyXCursor::row_ member
2122 * insettext.[Ch]: use new TextCursor struct for sstate
2124 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2126 * inseterror.[Ch]: removed
2128 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2130 * insetinclude.C (docbook): use parseError instead of sgmlError
2132 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2134 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2135 of BufferList::loadLyXFile
2137 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2139 * insettext.C (update): simplify
2140 (updateLocal): remove commented code
2141 (insetUnlock): simplify
2142 (lockInset): simplify
2143 (updateInsetInInset): simplify
2144 (localDispatch): simplify
2146 (resizeLyXText): simplify
2147 (collapseParagraphs): simplify
2149 * insetert.C (get_new_label): simplify
2151 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2153 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2154 pasteSelection with index
2156 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2158 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2160 2003-06-16 André Pönitz <poenitz@gmx.net>
2162 * insetbase.h: new virtual base function clone()
2164 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2165 Inset * clone() -> InsetBase * clone()
2167 2003-06-13 André Pönitz <poenitz@gmx.net>
2169 * insettabular.[Ch]: make tabular a proper member
2171 2003-06-12 André Pönitz <poenitz@gmx.net>
2173 * insettabular.[Ch]: some renaming plus whitespace
2175 2003-06-11 Angus Leeming <leeming@lyx.org>
2177 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2180 * insetbutton.[Ch]: removed.
2181 * graphicinset.[Ch]: renamed as renderers.[Ch].
2183 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2184 Create a new class ButtonRenderer using the InsetButton::metrics() and
2186 Derive both from a common RenderedInset base class.
2188 * insetcommand.[Ch]:
2189 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2190 Give it a ButtonRenderer member variable. Use it.
2191 Give the classes working copy c-tors.
2192 No longer derive from boost::noncopyable.
2194 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2195 display its contents as a button or as a graphic.
2197 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2200 2003-06-11 Angus Leeming <leeming@lyx.org>
2202 * insetcite.C (localDispatch): reformat.
2204 * insetref.C (localDispatch): enable dialog to be lauched.
2206 2003-06-11 John Levon <levon@movementarian.org>
2208 * insettabular.C: correctly mark all cells as erased
2210 2003-06-11 Angus Leeming <leeming@lyx.org>
2212 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2213 ExternalTemplate but its name, templatename. This means that a file
2214 containing a reference to an External Template not installed on the
2215 current machine will be saved retaining this info rather than inserting
2216 the first "valid" template from the list of templates.
2218 As a by product, the visual statement that the Template is missing is
2221 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2223 * insettext.C (appendParagraphs): remove some commented code.
2225 2003-06-10 Angus Leeming <leeming@lyx.org>
2227 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2230 * insetexternal.[Ch]: move tempname_ into the Params struct.
2231 (Params d-tor): new function, to clean-up this temp file.
2232 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2234 (editExternal, doSubstitution): move out of class.
2236 2003-06-10 Angus Leeming <leeming@lyx.org>
2238 * graphicinset.[Ch] (params): removed.
2239 * graphicinset.h (operator=): declared private but not defined.
2240 (statusMessage): made private.
2242 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2244 2003-06-07 John Levon <levon@movementarian.org>
2246 * insetert.C (latex): make a newline mean just that not
2249 2003-06-07 José Matos <jamatos@fep.up.pt>
2251 * insethfill.[Ch] (linuxdoc, docbook): implement output
2252 * insetspace.C (linuxdoc, docbook): remove coments as the code
2255 2003-06-06 José Matos <jamatos@fep.up.pt>
2257 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2259 2003-06-06 André Pönitz <poenitz@gmx.net>
2261 * insetwrap.[Ch]: code compactification
2263 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2265 * mailinset.C (updateDialog): use Dialogs::visible
2267 2003-06-04 Angus Leeming <leeming@lyx.org>
2269 * graphicinset.C (draw): add a comment for the #if 0 block.
2271 * insetexternal.h: remove Params::parameters variable.
2272 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2273 and read it back making full use of LyXLex.
2275 2003-06-04 André Pönitz <poenitz@gmx.net>
2277 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2279 2003-06-04 John Levon <levon@movementarian.org>
2281 * insettabular.C: back out tall table speed up. It was broken
2283 2003-06-03 Angus Leeming <leeming@lyx.org>
2285 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2286 Remove ViewCommand and UpdateCommand.
2288 * graphicinset.C (update): bug fix. Set the params before calling the
2290 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2291 BufferView cache to enable the InsetExternal::editCommand to be invoked
2292 from the frontends. Would not be needed if this were dispatched properly.
2293 (old_ascent_): variable removed.
2295 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2296 do any necessary conversions of external material. Also use the
2297 new GraphicsInset to display the inset within LyX.
2299 2003-06-03 Angus Leeming <leeming@lyx.org>
2301 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2302 and move it somewhere where InsetExternal can use it too.
2304 * Makefile.am: add the new files.
2306 * insetgraphics.[Ch]: make use of the new GraphicInset.
2308 2003-06-03 John Levon <levon@movementarian.org>
2311 * insetbibitem.[Ch]:
2314 * insetcommand.[Ch]:
2318 * insetexternal.[Ch]:
2322 * insetgraphics.[Ch]:
2324 * insetinclude.[Ch]:
2327 * insetlatexaccent.[Ch]:
2328 * insetmarginal.[Ch]:
2329 * insetminipage.[Ch]:
2336 * insetspecialchar.[Ch]:
2337 * insettabular.[Ch]:
2339 * insetthereom.[Ch]:
2342 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2344 * insetgraphics.[Ch]:
2345 * insetgraphicsParams.[Ch]: always store an absolute
2348 2003-06-02 André Pönitz <poenitz@gmx.net>
2352 * insetlatexaccent.C: remove duplicated call to metrics()
2354 2003-06-02 John Levon <levon@movementarian.org>
2356 * insettabular.C: fix resize of column width
2358 2003-06-02 John Levon <levon@movementarian.org>
2363 * insetparent.C: remove insetparent
2365 2003-06-02 André Pönitz <poenitz@gmx.net>
2372 * insetcollapsable.[Ch]:
2376 * insetgraphics.[Ch]:
2377 * insetinclude.[Ch]:
2378 * insetlatexaccent.[Ch]:
2379 * insetminipage.[Ch]:
2380 * insetnewline.[Ch]:
2383 * insetspecialchar.[Ch]:
2384 * insettabular.[Ch]:
2385 * insettext.[Ch]: unify first drawing phase
2388 * insetbase.h: move validate() to the base
2390 2003-05-31 Angus Leeming <leeming@lyx.org>
2392 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2394 2003-05-30 André Pönitz <poenitz@gmx.net>
2399 * insetcaption.[Ch]:
2400 * insetcollapsable.[Ch]:
2403 * insetgraphics.[Ch]:
2404 * insetinclude.[Ch]:
2405 * insetlatexaccent.[Ch]:
2406 * insetnewline.[Ch]:
2409 * insetspecialchar.[Ch]:
2410 * insettabular.[Ch]:
2412 * updatableinset.[Ch]: unify second drawing phase
2414 2003-05-30 John Levon <levon@movementarian.org>
2416 * insetgraphics.C: fix a bformat
2418 2003-05-29 John Levon <levon@movementarian.org>
2420 * insettabular.C: remove unused bufferOwner()
2422 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2424 * insettext.C (lockInsetInInset): adjust
2425 (getLabelList): use const_iterator, adjust
2426 (getInsetFromID): use const_iterator, adjust
2427 (addPreview): use const_iterator, adjust
2429 * insetwrap.C (clone): remove const_cast
2431 * insetnote.C (clone): remove const_cast
2433 * insetminipage.C (clone): remove const_cast
2435 * insetmarginal.C (clone): remove const_cast
2437 * insetfoot.C (clone): remove const_cast
2439 * insetfloat.C (clone): remove const_cast
2441 * insetert.C (clone): remove const_cast
2443 * delete commented same_id functions from a lot of files.
2445 2003-05-28 John Levon <levon@movementarian.org>
2451 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2453 * insetminipage.C: fix metrics (bug 1144)
2455 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2457 * insettext.C (saveLyXTextState): adjust
2458 (restoreLyXTextState): adjust
2461 (unlockInsetInInset): adjust
2462 (localDispatch): adjust
2463 (getLyXText): adjust
2465 * insettabular.C (insertAsciiString): adjust
2467 2003-05-27 André Pönitz <poenitz@gmx.net>
2470 * insetcollapsable.C:
2473 * insetlatexaccent.C:
2478 * insetspecialchar.C:
2480 * insettext.C: dim.w -> dim.wid
2482 2003-05-26 John Levon <levon@movementarian.org>
2484 * insettabular.C: avoid drawing all of a long table
2485 if it's not needed. A big speedup
2487 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2489 * remove same_id from function signatures, adjust
2491 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2493 * insettext.C (InsetText): adjust
2495 (setParagraphData): separate same_id cases, adjust
2496 (appendParagraphs): adjust
2497 (appendParagraphs): adjust
2499 2003-05-23 André Pönitz <poenitz@gmx.net>
2501 * insetbutton.h: whitespace
2503 * insettabular.C: more compact code
2505 * updatableinset.C: remove const_cast
2508 2003-05-23 Angus Leeming <leeming@lyx.org>
2510 * insetexternal.C (write): check how many lines are output.
2511 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2512 if the template has defined it.
2514 2003-05-23 Angus Leeming <leeming@lyx.org>
2516 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2518 2003-05-23 Angus Leeming <leeming@lyx.org>
2520 * insetfoot.C (latex):
2521 * inseturl.C (latex): rename fragile as moving_arg.
2523 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2525 * inseterror.C (localDispatch): comment out unused var.
2527 2003-05-22 Angus Leeming <leeming@lyx.org>
2529 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2530 passed through the LatexRunParams arg.
2532 2003-05-22 Angus Leeming <leeming@lyx.org>
2534 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2535 through the LatexRunParams arg.
2537 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2538 arg rather than through a global var.
2540 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2542 * insetspecialchar.C (dimension): use a string.
2544 2003-05-22 Angus Leeming <leeming@lyx.org>
2546 * insetbibtex.C (latex):
2547 * insetgraphics.C (latex):
2548 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2549 runparams rather than from the buffer itself.
2551 2003-05-22 Angus Leeming <leeming@lyx.org>
2553 * inset*.[Ch] (latex):
2554 passed a LatexRunParams parameter.
2556 * insetgraphics.C (latex): actually use it ;-)
2558 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2560 * insetfloat.C (addToToc): trivial compile fix
2562 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2564 * insettext.[Ch] (paragraph): delete unused function
2566 * insetfloat.C (addToToc): parlist simplfication
2568 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2570 * insetspace.[Ch]: added (new space insets)
2572 * inset.h: handle new space insets
2574 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2576 * insetfloat.C (addToToc): adjust
2578 2003-05-21 André Pönitz <poenitz@gmx.net>
2580 * insettext.[Ch]: fix drawing bug introduced earlier
2582 2003-05-19 André Pönitz <poenitz@gmx.net>
2584 * insetspecialchar.C: fix bug introduced yesterday
2586 2003-05-19 André Pönitz <poenitz@gmx.net>
2590 * insetcollapsable.[Ch]:
2594 * insetgraphics.[Ch]:
2595 * insetgraphicsParams.[Ch]:
2596 * insetlatexaccent.[Ch]:
2597 * insetminipage.[Ch]:
2598 * insetnewline.[Ch]:
2600 * insetspecialchar.[Ch]:
2601 * insettabular.[Ch]:
2602 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2604 2003-05-19 André Pönitz <poenitz@gmx.net>
2607 * insettext.C: more insetenv
2609 2003-05-16 André Pönitz <poenitz@gmx.net>
2612 * insetminimpage.[Ch]:
2613 * insetcollapsable.[Ch]: fix #832
2615 2003-05-16 André Pönitz <poenitz@gmx.net>
2618 * insetbibitem.[Ch]:
2622 * insetcollapsable.[Ch]:
2623 * insetcommand.[Ch]:
2626 * insetexternal.[Ch]:
2627 * insetfloatlist.[Ch]:
2628 * insetgraphics.[Ch]:
2629 * insetinclude.[Ch]:
2632 * insetlatexaccent.[Ch]:
2635 * insettabular.[Ch]:
2639 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2641 2003-05-13 André Pönitz <poenitz@gmx.net>
2644 * insetcollapsable.C:
2648 * insetwrap.C: tostr from own header
2660 * insetwrap.C: STRCONV
2663 2003-05-12 André Pönitz <poenitz@gmx.net>
2675 * insetwwrap.C: boost::format -> bformat all over the place
2677 2003-05-05 André Pönitz <poenitz@gmx.net>
2679 * insettext.h: add missing #include <map>
2681 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2683 * insettext.C (InsetText): parlist cleanup
2686 (insetUnlock): ditto
2688 (lockInsetInInset): ditto
2692 (searchBackward): ditto
2693 (collapseParagraphs): ditto
2695 2003-05-06 John Levon <levon@movementarian.org>
2697 * insetcaption.C: don't cast wrap inset to InsetFloat
2700 * insetfloat.C: remove unneeded type() function
2702 2003-05-05 André Pönitz <poenitz@gmx.net>
2706 * insettabular.[Ch]:
2707 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2708 replace getFirstParagraph() by getParagraphs()
2710 2003-05-03 John Levon <levon@movementarian.org>
2712 * insetcollapsable.h:
2713 * insetcollapsable.C:
2719 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2720 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2721 getCursor(). Remove explicit cursor hides.
2723 2003-05-02 André Pönitz <poenitz@gmx.net>
2725 * insettext.C: remove unneeded &*
2727 2003-04-30 John Levon <levon@movementarian.org>
2729 * insettabular.C: fix edit message
2731 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2733 * insettext.C (setFont): do not convert iterator -> pointer
2735 * insettabular.C (localDispatch): do not convert iterator -> pointer
2737 (tabularFeatures): ditto
2739 2003-04-29 André Pönitz <poenitz@gmx.net>
2741 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2743 2003-04-28 André Pönitz <poenitz@gmx.net>
2745 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2748 2003-04-25 André Pönitz <poenitz@gmx.net>
2750 * insetenv.C: derive from InsetText instead of InsetCollapsable
2752 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2754 * insetexternal.C (string2params): dont do anything if the string
2756 * insetgraphics.C (string2params): ditto
2757 * insetcommand.C (string2params): ditto
2758 * insetert.C (string2params): ditto
2759 * insetfloat.C (string2params): ditto
2760 * insetinclude.C (string2params): ditto
2761 * insetminipage.C (string2params): ditto
2762 * insettabular.C (string2params): ditto
2763 * insetwrap.C (string2params): ditto
2765 2003-04-24 André Pönitz <poenitz@gmx.net>
2767 * insetref.C: support for eqref
2769 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2771 * insetert.C (read): use ParagraphList::iterator.
2773 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2775 * insetquotes.C (latex): comment some code and add warnings.
2777 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2779 * insetexternal.C (localDispatch): added a missing DISPATCHED
2781 2003-04-12 John Levon <levon@movementarian.org>
2783 * insetwrap.C (addToToc): fix a crash, conversion
2784 from while to for loop forgot to remove the explicit
2787 2003-04-10 John Levon <levon@movementarian.org>
2789 * insettabular.C (tabularFeature): make sure
2790 to update the dialog when we change something
2793 (getStatus): don't disable some lfuns (bug 939)
2795 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2797 * insettext.C (saveLyXTextState): adjust
2798 (localDispatch): adjust
2804 * insettabular.C (localDispatch): adjust
2806 (tabularFeatures): adjust
2808 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2810 * insettabular.C (searchForward,searchBackward): fix bug 782
2812 2003-04-07 John Levon <levon@movementarian.org>
2815 * insettext.C: clear status message on inset exit
2817 2003-04-03 John Levon <levon@movementarian.org>
2819 * insetcommand.C: return dispatched on DIALOG_UPDATE
2821 2003-04-02 John Levon <levon@movementarian.org>
2823 * insettabular.C: tab lfuns renamed
2825 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2827 * insettext.C (update): move towards ParagraphList
2828 (updateLocal): ditto
2830 (insetUnlock): ditto
2832 (lockInsetInInset): ditto
2833 (updateInsetInInset): ditto
2834 (localDispatch): ditto
2837 (resizeLyXText): ditto
2838 (searchBackward): ditto
2839 (collapseParagraphs): ditto
2842 * insetwrap.C (InsetWrap): adjust
2843 (addToToc): adjust and rewrite loop
2845 * insettext.[Ch] (paragraph): delete function
2847 * insettabular.C (moveNextCell): adjust
2848 (movePrevCell): adjust
2849 (insertAsciiString): adjust
2851 * insetfloat.C (InsetFloat): adjust
2854 * insetert.C (InsetERT): adjust
2855 (write): adjust, and rewrite loop
2856 (latex): adjust, and rewrite loop
2857 (linuxdoc): adjust, and rewrite loop
2858 (docbook): adjust, and rewrite loop
2859 (localDispatch): adjust
2860 (get_new_label): adjust
2862 2003-04-01 John Levon <levon@movementarian.org>
2864 From Alfredo Braunstein
2867 * insetbutton.C: add localDispatch()
2869 * insetcommand.C: return DISPATCHED when edit() called
2871 * insettext.C: fix bug 967
2873 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2875 * insettext.C: adjust
2877 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2879 * insettext.C (draw): adjust
2880 (crow): return a RowList::iterator not a Row*
2882 * insetminipage.C (localDispatch): adjust
2884 * insetert.C (localDispatch): adjust
2886 2003-03-31 John Levon <levon@movementarian.org>
2889 * insetgraphicsParams.C: use_gui moved to lyx_gui
2891 2003-03-31 John Levon <levon@movementarian.org>
2893 * insettext.C: Alert fix
2895 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2897 * insettext.C (ascent): adjust for RowList
2900 (getLyXText): adjust
2901 (toggleSelection): adjust
2903 * insetminipage.C (localDispatch): adjust for RowList
2905 * insetert.C (localDispatch): adjust for RowList
2906 (getMaxWidth): adjust for RowList
2908 2003-03-29 John Levon <levon@movementarian.org>
2910 * insetert.C: Alert cleanup
2912 2003-03-29 John Levon <levon@movementarian.org>
2914 * insettabular.C: Alert fix
2916 2003-03-28 John Levon <levon@movementarian.org>
2918 * insetfloat.C: reset label on INSET_MODIFY
2920 2003-03-28 John Levon <levon@movementarian.org>
2922 * insetgraphicsParams.C: read subcaptionText as a whole line
2925 2003-03-28 John Levon <levon@movementarian.org>
2927 * insettext.C: remove unused prototypes
2929 2003-03-25 Angus Leeming <leeming@lyx.org>
2931 * insetbibitem.C (localDispatch): repaint the view after modifying
2932 a bibitem inset in case the maximum InsetBibitem width has changed.
2934 2003-03-25 John Levon <levon@movementarian.org>
2937 * insettabular.C: LyXText renamings
2939 2003-03-24 John Levon <levon@movementarian.org>
2941 * insettext.C: remove some dead code. Fix bug 972 and
2942 related by posting a repaint in updateLocal(), and making
2943 the SEL functions set SELECTION.
2945 2003-03-22 John Levon <levon@movementarian.org>
2948 * inset.C: remove no-longer-needed topx_set
2950 * insetcollapsable.h:
2951 * insetcollapsable.C: remove dead code
2954 * insetert.C: rebreak the rows when a possible
2955 change in size is made, and reset the cursor
2958 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2960 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2961 topx_set. Fix drawing errors for clearInset(). Remove
2962 some unnecessary uses of topx, which should die.
2964 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2965 is no longer needed. Replace it with an ugly hack.
2967 2003-03-20 John Levon <levon@movementarian.org>
2970 * insetcollapsable.h:
2971 * insetcollapsable.C:
2979 * insettext.C: remove spurious font parameter
2980 from update(). Fix drawing of ERT insets inside
2981 insets (bug 966). Remove unused mark_dirty from
2982 tabular's updateLocal()
2984 2003-03-19 John Levon <levon@movementarian.org>
2993 * insetwrap.C: remove unused getter/setters
2995 2003-03-19 John Levon <levon@movementarian.org>
2997 * several files: bv->updateInset() doesn't take
2998 a bool mark_dirty any more
3000 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3002 * adjust for BufferView* arg removal from lyxtext.
3004 2003-03-17 John Levon <levon@movementarian.org>
3006 * most files: remove the "cleared" parameter
3007 to draw in favour of always clearing. Associated
3010 2003-03-16 John Levon <levon@movementarian.org>
3012 * insettext.C: remove unused s.refresh
3014 2003-03-13 Angus Leeming <leeming@lyx.org>
3016 * insettext.C (edit): replace Dialogs::updateParagraph with
3017 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3019 2003-03-13 André Pönitz <poenitz@gmx.net>
3021 * Makefile.am: insert insetenv
3023 * insethenv.[Ch]: new files, currently inactive
3025 2003-03-12 John Levon <levon@movementarian.org>
3035 * insettext.C: use new insetnewline
3037 2003-03-12 John Levon <levon@movementarian.org>
3039 * insettext.C: readToken became readParagraph
3041 2003-03-12 John Levon <levon@movementarian.org>
3043 * insettext.C: use parlist iterator for reading contents
3045 2003-03-12 John Levon <levon@movementarian.org>
3047 * insettext.C: name change to readToken()
3049 2003-03-11 André Pönitz <poenitz@gmx.net>
3051 * Makefile.am: insert insethfill
3053 * insethfill.[Ch]: new files
3055 2003-03-10 Angus Leeming <leeming@lyx.org>
3057 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3059 (hideDialog): calls the new static Dialogs::hide() method.
3061 * insetbibitem.C (edit):
3062 * insetbibtex.C (edit):
3063 * insetcite.C (edit):
3064 * insetcommand.C (localDispatch):
3065 * inseterror.C (d-tor):
3066 * insetert.C (showInsetDialog):
3067 * insetexternal.C (localDispatch, edit):
3068 * insetfloat.C (localDispatch, showInsetDialog):
3069 * insetfloatlist.C (edit):
3070 * insetgraphics.C (localDispatch, edit):
3071 * insetinclude.C (localDispatch, edit):
3072 * insetindex.C (edit):
3073 * insetlabel.C (edit):
3074 * insetminipage.C (localDispatch, showInsetDialog):
3075 * insetref.C (edit):
3076 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3077 resetPos, showInsetDialog, openLayoutDialog):
3078 * insettoc.C (edit):
3079 * inseturl.C (edit):
3080 * insetwrap.C (localDispatch, showInsetDialog):
3081 changes due to the changed MailInset interface.
3083 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3085 * insetfloat.h: Set default placement to an empty string.
3087 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3089 * insettext.C (latex): adjust call to latexParagraphs.
3091 2003-03-10 Angus Leeming <leeming@lyx.org>
3093 * mailinset.C: warn the user if the BufferView has not been cached.
3095 2003-03-10 Angus Leeming <leeming@lyx.org>
3097 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3099 * insetcommand.h (inset):
3100 * insetert.h (inset):
3101 * insetexternal.h (inset):
3102 * insetfloat.h (inset):
3103 * insetgraphics.h (inset):
3104 * insetinclude.h (inset):
3105 * insetminipage.h (inset):
3106 * insettabular.h (inset):
3107 * insetwrap.h (inset):
3108 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3110 2003-03-10 Angus Leeming <leeming@lyx.org>
3112 * insetcommand.C (string2params):
3113 * insetexternal.C (string2params):
3114 * insetfloat.C (string2params):
3115 * insetgraphics.C (string2params):
3116 * insetinclude.C (string2params):
3117 * insetminipage.C (string2params):
3118 * insettabular.C (string2params):
3119 * insetwrap.C (string2params): cure warning message about missing
3122 2003-03-09 Angus Leeming <leeming@lyx.org>
3124 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3125 it to communicate with the frontend dialogs.
3127 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3128 contents of this inset!
3130 2003-03-07 Angus Leeming <leeming@lyx.org>
3132 * inseterror.C (localDispatch): new method; calls edit() on
3135 2003-03-07 Angus Leeming <leeming@lyx.org>
3137 * insetbibitem.C (localDispatch):
3138 * insetbibtex.C (localDispatch):
3139 * insetlabel.C (localDispatch):
3140 rewrite as a switch.
3142 2003-03-07 Angus Leeming <leeming@lyx.org>
3144 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3145 it to communicate with the frontend dialogs.
3147 2003-03-07 Angus Leeming <leeming@lyx.org>
3149 * insetexternal.C: remove operator== and operator!= for
3150 InsetExternal::Params. They were used only by the old controller
3153 2003-03-07 Angus Leeming <leeming@lyx.org>
3155 * insetcommand.C (localDispatch):
3156 * insetexternal.C (localDispatch):
3157 * insetfloat.C (localDispatch):
3158 * insetinclude.C (localDispatch):
3159 * insetminipage.C (localDispatch):
3160 * insetwrap.C (localDispatch):
3161 add LFUN_INSET_DIALOG_UPDATE to the switch.
3163 2003-03-07 Angus Leeming <leeming@lyx.org>
3165 * insetcommand.C (string2params):
3166 * insetexternal.C (string2params):
3167 * insetfloat.C (string2params):
3168 * insetinclude.C (string2params):
3169 * insetwrap.C (string2params): use LyXLeX more.
3172 * insetexternal.[Ch]:
3174 * insetinclude.[Ch]:
3175 * insetwrap.[Ch]: change Mailer::name_ to be static.
3177 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3178 it to communicate with the frontend dialogs.
3180 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3183 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3185 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3187 * insettext.C (updateLocal): un-const function
3188 (updateLocal): adjust
3189 (collapseParagraphs): un-const function
3190 (collapseParagraphs): adjust
3192 2003-03-05 Angus Leeming <leeming@lyx.org>
3194 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3195 it to communicate with the frontend dialogs.
3197 2003-03-05 Angus Leeming <leeming@lyx.org>
3199 * insetcollapsable.C (draw): cache the BufferView.
3201 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3202 it to communicate with the frontend dialogs.
3204 2003-03-05 Angus Leeming <leeming@lyx.org>
3206 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3209 2003-03-05 Angus Leeming <leeming@lyx.org>
3211 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3213 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3214 it to communicate with the frontend dialogs.
3216 2003-03-05 Angus Leeming <leeming@lyx.org>
3218 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3219 it to communicate with the frontend dialogs.
3221 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3223 * insettext.C (collapseParagraphs): adjust
3224 (appendParagraphs): make it take a Buffer* instead of a
3225 BufferParams& as arg.
3226 (appendParagraphs): adjust
3228 2003-03-04 Angus Leeming <leeming@lyx.org>
3230 * insetbibitem.C (localDispatch):
3231 * insetbibtex.C (localDispatch):
3232 * insetcommand.C (localDispatch):
3233 * insetert.C (localDispatch):
3234 * insetlabel.C (localDispatch):
3235 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3237 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3239 * insettext.C (latex): adjust for ParagraphList::iterator
3241 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3243 * insetbutton.C (view): adjust for boost 1.30.0
3244 * insetcollapsable.C (view): ditto
3245 * insetgraphics.C (statusChanged): ditto
3247 * insettext.h: move paragraphs to be public.
3249 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3251 * insetnote.[Ch] (InsetNote): remove unused constructor
3253 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3255 * insetgraphics.C: added include "format.h"
3257 2003-02-27 Angus Leeming <leeming@lyx.org>
3259 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3262 2003-02-27 Angus Leeming <leeming@lyx.org>
3264 * insetbibitem.C (localDispatch):
3265 * insetbibtex.C (localDispatch):
3268 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3270 2003-02-26 Angus Leeming <leeming@lyx.org>
3272 * insetbibitem.[Ch] (localDispatch):
3273 * insetbibtex.[Ch] (localDispatch):
3274 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3276 * insetcommand.C (localDispatch):
3277 act only on receipt of LFUN_XYZ_APPLY.
3279 * insetert.C (localDispatch): reformat.
3280 add LFUN_XYZ_APPLY to the switch.
3282 2003-02-26 John Levon <levon@movementarian.org>
3284 * insettext.C: use RowPainter
3286 * inset.h: make helpers take const *
3288 2003-02-26 Angus Leeming <leeming@lyx.org>
3290 * insetcommand.[Ch] (localDispatch): new method.
3292 2003-02-26 Angus Leeming <leeming@lyx.org>
3294 * insetinclude.C (draw): cache the BufferView* using cache not
3295 PreviewImpl::setView
3297 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3299 * insetgraphics.C (draw)
3300 * insetinclude.C (draw): Eliminate also the other argument (owner
3301 inset inset) in the call to PreviewImage::image
3303 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3305 * insetgraphics.C (draw)
3306 * insetinclude.C (draw): Eliminate Buferview argument in call to
3309 2003-02-25 John Levon <levon@movementarian.org>
3311 * insetgraphicsParams.h:
3312 * insetgraphics.C: don't start a load process if
3313 the inset is set to NoDisplay (bug #920)
3315 2003-02-22 John Levon <levon@movementarian.org>
3318 * insetwrap.C: TocItem changed API (bug 913)
3320 2003-02-21 Angus Leeming <leeming@lyx.org>
3322 * insetcollapsable.[Ch] (cache, edit):
3323 * insetbutton.[Ch] (cache, edit): new methods to cache the
3324 BufferView in the draw method.
3326 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3327 simplify comunication between InsetCommand-derived classes and
3330 * insetbibitem.[Ch]:
3334 * insetfloatlist.[Ch]:
3338 * inseturl.[Ch]: small changes to reflect the new interface to the
3341 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3342 other, similar classes.
3344 * Makefile.am: add new files.
3346 2003-02-21 Angus Leeming <leeming@lyx.org>
3348 * updatableinset.h (setView, view): remove.
3349 * inset.h (view, cache): to be replaced by these.
3351 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3354 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3357 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3359 2003-02-21 Allan Rae <rae@lyx.org>
3361 * insetinclude.C (loadIfNeeded): ensure loading also works when
3362 child document is under version control.
3364 2003-02-17 André Pönitz <poenitz@gmx.net>
3366 * insetbib.[Ch]: Adjust access to bibkeys
3368 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3370 * insetquotes.C (dispString): remove use of acute accent for "'"
3373 2003-02-14 John Levon <levon@movementarian.org>
3375 * insettabular.C: changed method names in tabular.C
3377 2003-02-14 John Levon <levon@movementarian.org>
3381 * insetcollapsable.h:
3382 * insetcollapsable.C:
3386 * insettext.C: remove unused getParFromID()
3388 2003-02-13 John Levon <levon@movementarian.org>
3391 * insettext.C: remove unused beginningofMainBody()
3393 2003-02-08 John Levon <levon@movementarian.org>
3397 * insetcollapsable.h:
3398 * insetcollapsable.C:
3403 add nextChange(). Make allowSpellcheck() const. Add markErased().
3405 * insetert.C: ignore deleted text
3407 * insettabular.C: make sure to keep change tracking working
3410 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3415 * insettext.C: Use error messages with identical spelling and punctuation
3417 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3419 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3421 2002-12-17 Juergen Vigna <jug@lyx.org>
3423 * insettext.C (localDispatch): hopefully fixed cursor up down
3424 movement on leaving other insets.
3426 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3428 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3431 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3433 * insetgraphics.C (prepareFile): do not remove the extension of
3434 the file name if it is not the default extension for the given
3435 format (that is, in latex output, remove extension from foo.eps,
3436 but not from foo.epsi)
3438 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3440 * insettext.C (lfunMouseRelease): hackish solution to the "double
3443 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3445 * insetfloat.C (addToToc): use the floats name not its type
3446 * insetwrap.C (addToToc): ditto
3448 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3450 * insetnote.C (init): make label font smaller
3452 2002-12-04 John Levon <levon@movementarian.org>
3454 * insetinclude.C: ressurect setting of command name
3456 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3458 * insetquotes.C (dispString): disambiguate insert call
3460 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3462 * several files: ws changes
3464 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3466 * insetquotes.C (dispString): use string::insert for prepending a
3469 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3471 * insetparent.C (getScreenLabel): use boost::format
3473 * insetgraphics.C (prepareFile): use boost::format
3476 * insetfloatlist.C (latex): use boost::format
3478 * insetcaption.C (draw): use boost::format
3480 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3482 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3485 2002-11-20 Juergen Vigna <jug@sad.it>
3487 * insettabular.C (resetPos): temporary fix for endless loop in
3488 this function on a redraw.
3490 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3492 * insettabular.C (copySelection): STRCONV
3494 * insetinclude.C (uniqueID): STRCONV
3495 (latexString): ditto
3497 * insetgraphics.C: put VersionNumber inside anon namespace
3498 (createLatexOptions): STRCONV
3500 * insetcommandparams.C: include config.h
3502 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3504 * insetgraphicsParams.C (Write): use lyx::float_equal.
3505 Write height data correctly.
3506 (Read): zero scale when reading height data.
3508 2002-10-30 John Levon <levon@movementarian.org>
3510 * insetfloat.C (addToTOC): recursively traverse all
3511 contents looking for captions (fix #568)
3513 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3515 * insetexternal.C (doSubstitution): do not try to replace
3516 environment variables, this is done when executing the command
3518 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3520 * insetexternal.C (doSubstitution): change order of substitution
3521 to work around ReplaceEnvironmentPath brokenness
3523 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3525 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3527 * insetgraphicsParams.C (init, Write): associated changes
3528 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3529 InsetGraphicsParams::scale.
3531 2002-10-21 John Levon <levon@movementarian.org>
3533 * inset.h: remove unused DISPATCH_RESULT
3535 * insettext.C: sgml open/close tag now in sgml namespace
3537 2002-10-21 Angus Leeming <leeming@lyx.org>
3539 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3540 file path subdir/fig.eps when pasting it into a buffer in a different
3543 2002-10-16 John Levon <levon@movementarian.org>
3545 * insetspecialchar.C: remove \\protected_separator parsing
3547 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3549 * insetquote.C: fix LaTeX output of quotation marks.
3551 2002-10-14 Juergen Vigna <jug@sad.it>
3553 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3554 Backspace functions which confused the Undo handling.
3556 2002-10-09 Angus Leeming <leeming@lyx.org>
3558 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3559 BufferView::dispatch that turns off this optimisation when a new inset
3562 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3563 reload the BibTeX keys.
3565 2002-10-11 André Pönitz <poenitz@gmx.net>
3567 * insettext.h: handle LFUN_PRIOR/NEXT
3569 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3571 * insetfloat.C: fix bug with float settings
3572 (document default != float default).
3574 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3576 * insetwrap.C (addToToc): New method.
3577 (InsetWrap): Set layout to caption.
3579 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3581 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3583 2002-09-16 John Levon <levon@movementarian.org>
3585 * insettabular.h: hasSelection() needs to be public
3587 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3589 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3591 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3593 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3595 2002-09-11 André Pönitz <poenitz@gmx.net>
3597 * insettabular.C: implement LFUN_WORDSEL
3599 2002-09-10 John Levon <levon@movementarian.org>
3601 * insetinclude.h: remove unused param
3603 2002-09-09 John Levon <levon@movementarian.org>
3606 * insetinclude.C: remove noload, default to input
3608 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3610 * insetgraphics.C: disfuscated use of ']' in built output string.
3612 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3614 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3616 2002-08-29 Juergen Vigna <jug@sad.it>
3618 * insettabular.C (lfunMousePress): Pay attention where you set
3619 the x/y values as they depend on which inset in the tabular is
3620 actually locked. So you surely have to reset them if you (un)lock
3623 2002-08-29 André Pönitz <poenitz@gmx.net>
3625 * insetfootlike.h: rename include guard to ALL CAPS
3627 * insettext.C: swap object and first parameter for checkInsetHit calls
3628 as this functions has moved from BufferView to LyXText
3631 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3633 * insetgraphicsParams.C: remove local displayTranslator and use
3634 the one from graphics/GraphicsTypes.h.
3636 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3638 * insetfloat.C (wide): add BufferParams parameter
3640 * insetfloatlist.C (read):
3643 * insetfloat.C (latex):
3645 * insetcaption.C (draw): use LyXTextClass::floats()
3647 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3649 * insetoptarg.h: add std:: qualifier.
3651 2002-08-26 Juergen Vigna <jug@sad.it>
3653 * insettext.C (localDispatch): ditto.
3655 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3657 2002-08-25 John Levon <levon@movementarian.org>
3659 * inseturl.C: elide long URLs (bug 404)
3661 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3663 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3664 remove "Format Version <version_no.>" string from inset header
3667 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3669 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3670 a member of "grfx::Params" anymore.
3672 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3674 2002-08-24 John Levon <levon@movementarian.org>
3677 * insetoptarg.C: ws, pedantry ...
3679 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3681 * insettext.C (collapseParagraphs): pasteParagraph now in global
3683 (appendParagraphs): ditto
3685 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3687 * insetcite.C (latex): Remove spaces only after commmas.
3689 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3691 * insettext.C: remove NO_COMPABILITY stuff
3693 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3695 * insettext.C (edit): use ParagraphList iterators
3697 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3698 (bibitemWidest): ditto
3700 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3702 * insettext.C: include <boost/bind.hpp>
3703 add using std::for_each
3704 (saveLyXTextState): use ParagraphsList::iterator
3705 (init): use for_each on paragraphlist iterators
3706 (InsetText): remove superflous setting cached_bview to 0
3707 (latex): reformat a bit
3708 (ascii): use paragraphlist iterators
3709 (validate): use for_each + boost bind
3710 (getLabelList): use paragraphlist iterators
3711 (deleteLyXText): use for_each + boost::bind
3712 (resizeLyXText): ditto
3713 (reinitLyXText): ditto
3714 (removeNewlines): use paragraphlist iterators
3715 (getParFromID): ditto
3716 (paragraph): use for_each + boost::bind
3717 (getInsetFromID): use paragraphlist iterators
3718 (getLabelList): typo fix
3720 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3722 * insettext.C (read): assign tmp to paragraphs after return from
3723 call to parseSingleLyXformat2Token
3726 2002-08-13 Angus Leeming <leeming@lyx.org>
3745 changes due to the changed LyXView interface that now returns references
3746 to member variables not pointers.
3748 2002-08-13 Angus Leeming <leeming@lyx.org>
3751 * insetcollapsable.h:
3754 * insettext.h: forward-declare WordLangTuple
3755 (selectNextWordToSpellcheck) constify return type.
3758 * insetcollapsable.C:
3761 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3763 2002-08-12 Angus Leeming <leeming@lyx.org>
3765 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3767 2002-08-12 Juergen Vigna <jug@sad.it>
3769 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3772 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3774 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3775 (bibitemWidest): ditto
3776 * insettext.[Ch]: ditto
3778 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3780 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3782 2002-08-09 Angus Leeming <leeming@lyx.org>
3784 * insetinclude.C (latexString): remove fudge now that I've found out
3785 how to enable LaTeX to find the file using input@path.
3787 2002-08-09 John Levon <levon@movementarian.org>
3790 * insettext.C: remove unused xpos
3792 2002-08-07 Juergen Vigna <jug@lyx.org>
3794 * insettabular.C (localDispatch): make delete not put the stuff
3795 in the clipboard only do this on a cut operation.
3797 * insettext.C (localDispatch): make delete and backspace not put
3798 selected stuff to the clipboard.
3800 2002-08-07 André Pönitz <poenitz@gmx.net>
3803 * insetcollapsable.[Ch]:
3807 * insettabular.[Ch]:
3808 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3810 2002-08-06 John Levon <levon@movementarian.org>
3814 * insetcollapsable.h:
3815 * insetcollapsable.C:
3821 * insettext.C: use WordLangTuple for spellcheck
3823 2002-08-06 Angus Leeming <leeming@lyx.org>
3825 * insetinclude.C: add a monitor to the previewed image, so that the
3826 image is refreshed if the \input-ed file changes.
3828 2002-08-04 John Levon <levon@movementarian.org>
3831 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3833 2002-08-02 Angus Leeming <leeming@lyx.org>
3835 * insetcommandparams.[Ch] (preview): new methods returning and setting
3836 a new bool preview_ flag.
3837 (read): read this flag.
3838 (operator==): add flag to check.
3840 * insetinclude.C (write): output new preview() flag.
3841 (previewWanted): use this flag.
3843 2002-08-02 Angus Leeming <leeming@lyx.org>
3845 * insetcollapsable.[Ch] (addPreview):
3846 * insettabular.[Ch] (addPreview):
3847 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3848 for insets in insets.
3850 2002-08-02 Angus Leeming <leeming@lyx.org>
3852 * insetcite.C: fix typo.
3854 * insetgraphics.C: kill current_view and instead cache the BufferView
3857 * insetinclude.C: kill current_view and pass the BufferView to the
3858 PreviewedInset so that it can cache it.
3860 2002-08-01 Angus Leeming <leeming@lyx.org>
3862 * inset.h (generatePreview): renamed as addPreview.
3863 (generatePreview): new method. Allows code to be moved out of
3864 math_nestinset.C and into the new PreviewedInset class.
3866 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3867 add previews to the inset when \input-ing LaTeX.
3869 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3871 * several files: strip,frontStrip -> trim,ltrim,rtrim
3873 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3875 * insetbib.C (latex): modify because of strip changes
3877 * insetnote.C (InsetNote): ditto
3879 2002-07-26 Juergen Vigna <jug@sad.it>
3881 * insettabular.C (searchForward): check for lastcell if we
3882 had a locking inset.
3884 2002-07-25 Juergen Vigna <jug@sad.it>
3886 * insettabular.C (insetMotionNotify): Don't update the screen
3887 if we didn't do nothing.
3888 (searchForward): last cell was not checked.
3890 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3892 * insetfloat.C (read, write): Allow default placement
3893 (floatPlacement_ is empty).
3895 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3897 * insetminipage.h (noFontChange):
3898 * insettabular.h (noFontChange):
3899 * insetfootlike.h (noFontChange):
3900 * insetfloat.h (noFontChange): return true
3902 * inset.h (noFontChange): new method, defaulting to false
3904 2002-07-22 Herbert Voss <voss@lyx.org>
3906 * insetgraphicsParams.[Ch]: support size_type for old docs
3908 2002-07-22 Herbert Voss <voss@lyx.org>
3911 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3914 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3916 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3918 * insetlatexaccent.h: do not include "lyxlex.h"
3920 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3923 * insetlatexaccent.C:
3927 * insetbib.C: #include "lyxlex.h"
3933 * insettext.C: use BufferParams::getLyXTextClass
3936 * insetfloat.C (addToToc): new method. Add to toclist the entries
3937 corresponding to Caption layouts
3938 (InsetFloat): when creating a new float, set the layout to "Caption"
3940 2002-07-21 Herbert Voss <voss@lyx.org>
3942 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3943 image relevant part into graphics/GraphicsImgae.C
3945 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3947 * insettoc.C (ascii):
3948 * insetfloatlist.C (ascii): change to use the new Toc functions
3949 instead of stuff that was in Buffer
3951 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3953 * insettext.C (localDispatch): BufferView::Dispatch has been
3954 renamed to BufferView::dispatch
3956 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3958 * insetgraphicsParams.C (as_grfxParams): use the new
3959 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3960 1.2.0 patch, and I do not really know how to adapt it to the new
3961 grfx::Cache world. Angus, please could you have a look?
3963 2002-05-01 Herbert Voss <voss@lyx.org>
3965 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3967 2002-07-18 Angus Leeming <leeming@lyx.org>
3969 * insetgraphics.C: clean-up comments (from Herbert).
3970 add a new checksum variable to the cache. Use it in PrepareFile.
3971 (draw): start monitoring the file for a change.
3972 (prepareFile): re-arrange a little to avoid unnecessary steps.
3974 2002-07-17 Angus Leeming <leeming@lyx.org>
3976 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3977 a method rather than to the signal directly.
3979 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3981 * insettext.C: use view_state_changed, switchKeyMap
3983 2002-07-17 Herbert Voss <voss@perce.de>
3985 * insetgraphics.C (prepareFile): keep the extension when
3986 exporting to nice file
3988 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3990 * insetcite.C (getNatbibLabel):
3991 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3993 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3995 * insetgraphics.C: use ->isDrawable()
3997 2002-07-12 Angus Leeming <leeming@lyx.org>
3999 * insetgraphics.C: use the new smart loading capabilities of the image
4002 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
4004 * insettabular.C (edit): Move into correct cell when entering a
4007 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
4010 2002-07-05 Angus Leeming <leeming@lyx.org>
4012 * inset.h (generatePreview): new virtual method.
4014 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4016 * insetcommandparams.[Ch] (operator=): move out of class
4017 (operator!): move out of class
4019 2002-07-04 André Pönitz <poenitz@gmx.net>
4021 * insetcommandparams.[Ch]: new files
4023 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4025 2002-06-15 Herbert Voss <voss@perce.de>
4027 * insetgraphics.C (prepareFile): bugfix; return always
4028 files without extension
4030 2002-06-28 Angus Leeming <leeming@lyx.org>
4032 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4033 rename asGParams -> as_grfxParams.
4035 * insetgraphics.C: reflect above change.
4037 2002-06-26 Angus Leeming <leeming@lyx.org>
4039 * insetgraphics.h: use boost::scoped_ptr in preference to
4042 2002-06-26 Angus Leeming <leeming@lyx.org>
4044 * insetgraphics.C: moved the image loading stuff into a new class
4045 grfx::Loader. Simplifies this file enormously.
4047 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4049 * insetgraphicsParams.C: changes aassociated with moving
4050 grfx::DisplayType out of grfx::GParams.
4052 2002-06-26 André Pönitz <poenitz@gmx.net>
4054 * insetgraphics.C: use os::external_path where necesaary according to a
4055 patch from Claus Hentschel)
4057 2002-06-25 Angus Leeming <leeming@lyx.org>
4059 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4060 generating a pixmap once the graphics file is loaded into memory.
4061 The current_view ugliness that was in grfx::ModifiedImage has been
4062 moved here now that grfx::ModifiedImage is no more.
4064 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4066 * insettext.C: layout as layout
4068 2002-05-28 André Pönitz <poenitz@gmx.net>
4070 * insetfloatlist.h: remove source of compiler warning
4072 * insetref.C: tiny whitespace
4074 2002-06-15 Herbert Voss <voss@perce.de>
4076 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4077 and take always convert when no userdefined converter was
4079 (latex) small changes in the lyxerr output
4081 2002-06-15 LyX Development team <lyx@rilke>
4083 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4084 mixed content. Small white spaces clean.
4086 2002-06-14 Angus Leeming <leeming@lyx.org>
4088 * inseetexternal.C: remove the using std::difftime declaration.
4090 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4092 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4094 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4096 * insetquotes.C (draw): fix drawing of double quotes
4098 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4100 * insettabular.C: s/scrollCB/scrollDocView/
4102 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4104 * insettext.C: change of topCursorVisible()
4107 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4110 * insettext.C: rename/change of LyXScreen
4112 2002-06-07 Angus Leeming <leeming@lyx.org>
4114 Fixes needed to compile with Compaq cxx 6.5.
4116 all c-library variables have been moved into namespace std.
4117 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4119 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4121 * insetinclude.C (uniqueID):
4122 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4123 conflicted with some AIX headers.
4125 2002-05-31 Juergen Vigna <jug@sad.it>
4127 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4131 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4133 * insetexternal.C (clone): fix () bug when using new
4134 (updateExternal): don't only look for difftime in global scope
4136 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4138 * insettabular.C: add const
4140 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4142 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4143 file name, in case there are weird characters like ',' in there.
4146 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4148 * switch from SigC signals to boost::signals.
4150 2002-05-28 André Pönitz <poenitz@gmx.net>
4152 * insets/insetgraphicsParams.[Ch]:
4153 put in inset related stuff from src/graphic
4155 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4163 * insetcollapsable.C:
4164 * insetcollapsable.h:
4192 * inseturl.h: use mouse_state. Kill insetKeyPress
4194 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4199 * insetcollapsable.C:
4202 * insetlatexaccent.C:
4204 * insetspecialchar.C:
4206 * insettext.C: name change for font metrics
4208 2002-05-24 Juergen Vigna <jug@sad.it>
4210 * insetgraphics.h: include inset.h first (for LString.h)
4212 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4214 * insettext.C: screen moved
4216 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4234 * inseturl.C: LyXView moved into frontends/
4236 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4241 * insetcollapsable.C:
4245 * insetgraphicsParams.C:
4246 * insetlatexaccent.C:
4248 * insetspecialchar.C:
4250 * insettext.C: move Painter to frontends/
4252 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4254 * insettabular.h: use more specific smart_ptr header.
4255 * insettext.h: ditto
4257 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4260 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4262 * insettext.C: clear selection on paste (bug 393)
4264 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4266 * insettext.C (latex): Honor the moving_arg argument.
4268 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4270 * insetfoot.C (latex): if a footnote is in a title layout, then it
4271 is a \thanks. And then, its contents is a moving argument.
4273 2002-05-14 Juergen Vigna <jug@sad.it>
4275 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4278 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4280 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4281 when using options "Full author list" or "Upper case".
4283 2002-05-14 Herbert Voss <voss@perce.de>
4285 * insetgraphics.C (prepareFile): allow files with same name
4287 (readFigInset): set the flags from old figinset in the right
4289 (findTargetFormat): more comments
4291 2002-05-14 Juergen Vigna <jug@sad.it>
4293 * insettext.C (edit): tell checkAndActivateInset() that we don't
4294 have a button press.
4295 (checkAndActivateInset): if button < 0 we don't have a button press
4296 on the inset and os we won't call edit on it if it's not a Highly
4297 editable inset (then we have to enter it).
4299 2002-05-13 Juergen Vigna <jug@sad.it>
4301 * insetcollapsable.C (insetButtonRelease): returned wrong return
4304 2002-05-09 Juergen Vigna <jug@sad.it>
4306 * insetcollapsable.C (edit): first_after_edit should only be
4307 set to true if we enter this inset and it was collapsed so we
4308 open it up. This is needed to reclose it after a search/replace
4309 or spellcheck function opened it and was negative.
4311 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4313 * insetfloat.C (latex): Return correct value.
4315 2002-05-04 Herbert Voss <voss@perce.de>
4317 * InsetgraphicsParams.C (read): fix bug with WH
4319 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4321 * insetfloat.C (latex): More sensible latex output
4322 (fix the problem with endfloat).
4324 2002-05-02 José Matos <jamatos@fep.up.pt>
4326 * insetgraphics.C (validate): acess params as everyone else.
4328 2002-05-03 Juergen Vigna <jug@sad.it>
4330 * insettabular.C (fitInsetCursor): recalculate the cursor position
4333 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4335 * InsetgraphicsParams.[Ch]: whitespace.
4337 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4339 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4340 float type do not exist.
4342 2002-04-28 Herbert Voss <voss@perce.de>
4344 * insetgraphics.C (latex): fix bug with missing file-extension.
4345 LaTeX still allows a missing "eps" or "ps".
4347 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4349 * insetfloat.C (c-tor, wide): translate the name of the float.
4351 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4353 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4354 when using natbib and make it work efficiently. Must emphasise that the
4355 real work is Herbert's.
4357 2002-04-23 Herbert Voss <voss@perce.de>
4359 * insetgraphic.C (prepareFile): fix bug with overwriting and
4360 deleting an existing *.eps-file in the doc-dir
4362 2002-04-23 Juergen Vigna <jug@sad.it>
4364 * insettabular.C (drawCellSelection): fix off by 1 error.
4366 2002-04-22 Juergen Vigna <jug@sad.it>
4368 * insettabular.C (setFont): rewoke full selection if it was asked,
4369 after we changed all we had to change.
4371 * insettext.C (insetUnlock): code was uninitialized in some situations.
4373 2002-04-19 Herbert Voss <voss@perce.de>
4375 * insetgraphic.C (prepareFile): return filename without
4376 extension if we only export without compiling
4378 2002-04-19 Juergen Vigna <jug@sad.it>
4380 * insettext.C (draw): call a fullRebreak on the row where we had a
4381 change and reset the cursor and selection-cursors.
4383 * insettabular.C (insetUnlock):
4384 (insetButtonPress): call an update before setting the_locking_inset = 0
4385 as otherwise we don't repaint!
4386 (update): reset the cursor position when we changed dimensions as
4387 otherwise our cursor may be on the wrong spot.
4389 2002-04-18 Juergen Vigna <jug@sad.it>
4391 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4392 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4393 redraw otherwise we won't redraw.
4395 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4396 not really right before, but I only discovered this with the last
4397 changes to Page up/down.
4399 2002-04-17 Juergen Vigna <jug@sad.it>
4401 * insettext.C (checkAndActivateInset): simplified as we now have the
4402 edit(bv, bool) call.
4404 * insettext.h: changed behind variables to front variables to be
4405 equal to the one in the edit call (as it is for that they are used).
4407 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4409 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4410 not output anything at all!
4412 2002-04-16 Juergen Vigna <jug@sad.it>
4414 * insettabular.C (insetButtonPress):
4415 (insetUnlock): call a redraw on unlocking the cell inset.
4417 * insettext.C (insetButtonPress): same as below.
4418 (lockInset): new function to set initial values when inset should
4420 (insetButtonPress): use above function.
4421 (insetUnlock): don't force a repaint only set the updateStatus. The
4422 outside world should repaint if it thinks it should be done!
4424 * insettabular.C (insetButtonPress): init values if not set as locked
4425 as we are locked if someone presses on us and don't call the edit()
4426 call of the InsetText to lock it do it as BufferView does it!
4428 * inset.h (insetInInsetY): make func const and return an int.
4431 * insetcollapsable.C: adapt the above changed function.
4433 2002-04-15 Juergen Vigna <jug@sad.it>
4435 * insettext.C (getCursorPos): return relative position as to be able
4436 to give them directly to the edit() call.
4437 (edit): we have to set also x_fix as it is not set inside the
4438 setCursorFromCoordinates call!
4439 (insetMotionNotify): ditto.
4441 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4443 * insetbib.C (getKeys): strip leading '\t's from the line too.
4444 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4446 2002-04-12 Juergen Vigna <jug@sad.it>
4448 * insettext.h: added cix() helper function and use it where appropriate
4450 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4452 * insetgraphics.C (prepareFile): fix bug when graphics is a
4455 2002-04-12 Juergen Vigna <jug@sad.it>
4457 * insettext.C (insertInset): remove unneeded code!
4458 (updateLocal): fitCursor() fixes.
4459 (collapseParagraphs): fix a possible problem when having a selection
4460 and collapsing the paragraphs.
4462 2002-04-08 Herbert Voss <voss@perce.de>
4464 * insetgraphic.C (write): write the rotating angle as
4465 a float as is. test only for != 0.0
4467 2002-04-11 Juergen Vigna <jug@sad.it>
4469 * insettext.C: new function ciy() and use it for setting inset_y.
4471 * insetert.C (draw): fix the x return for collapsed version.
4473 2002-04-07 Herbert Voss <voss@perce.de>
4475 * insetgraphic.C (readFigInset): fix bug with subcaption and
4478 2002-04-08 Herbert Voss <voss@lyx.org>
4480 * insetgraphicsparam.C: forgot special option and delete old
4483 2002-04-05 Juergen Vigna <jug@sad.it>
4485 * insettext.C (localDispatch): make a CURSOR update if we inserted
4488 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4490 * insetfloatlist.C (getScreenLabel):
4491 (latex): use Floating::listName
4492 (validate): new method
4494 2002-04-03 José Matos <jamatos@fep.up.pt>
4496 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4498 * insetfoot.[Ch] (docbook): added forgotten method.
4500 2002-04-03 Juergen Vigna <jug@sad.it>
4502 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4503 way as in Bufferview_pimpl.
4505 2002-04-03 Allan Rae <rae@lyx.org>
4507 * insetgraphics.C (latex): one % too many makes living on the bleeding
4508 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4510 2002-03-28 Herbert Voss <voss@lyx.org>
4512 * insetgraphic.C (latex): simplify the code for the latex
4513 output when the file doesn't exist
4515 2002-03-29 Juergen Vigna <jug@sad.it>
4517 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4520 * insettabular.C (edit): call fitCursor().
4522 * insettext.C (insetButtonPress): change behaviour of no_selection
4523 to the one in the BufferView selection_possible and fix the spurious
4524 selection bug with it.
4525 (localDispatch): revoke selection on BREAK... functions.
4527 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4529 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4531 2002-03-28 Juergen Vigna <jug@sad.it>
4533 * insettabular.C (insetAllowed): return true as default value otherwise
4534 we're not able to insert insets inside paragraphs of an not locked
4537 2002-03-27 Herbert Voss <voss@lyx.org>
4539 * insetgraphicsparam.C: change c%, p% to col%, page%
4541 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4543 * insetspecialchar.C (isLineSeparator): disable the nice code to
4544 allow linebreaks after hyphenation and menu separators.
4546 2002-03-26 Herbert Voss <voss@lyx.org>
4548 * insetgraphics.C (figinsetRead): set the right lyxview
4550 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4552 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4553 $\backslash$ and pass a "string const &" to the function.
4554 (prepareFile, latex): use Path rather than MakeAbsPath.
4556 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4558 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4559 proper fix to the graphics cache.
4560 (latex): "really" nice output if the file is not found ;-)
4562 2002-03-26 Juergen Vigna <jug@sad.it>
4564 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4565 (collapseParagraphs): fixed inserting of separator ' '
4567 * insettabular.C (insertAsciiString): only check for buffer lenght
4568 not if we have \t or \n inside the buffer as if we don't have we only
4569 have 1 cell and that's it!
4571 * insetert.C (close): don't collapse if inlined.
4573 2002-03-25 Herbert Voss <voss@lyx.org>
4575 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4576 graphics file does not exist.
4578 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4580 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4581 path when preparing export.
4583 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4584 no longer MakeRelPath.
4586 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4588 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4589 Used to determine the absolute path to the graphics file in the
4590 graphics cache and only in the graphics cache.
4591 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4592 make graphics file name absolute if it is stored as a relative path.
4594 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4595 make graphics file name absolute if it is stored as a relative path.
4597 * insettext.C (edit): emit an updateParagraph signal on entering a text
4598 inset. Needs to be emitted when leaving the inset also.
4600 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4602 * all files: ws cleanup
4604 * Makefile.am: remove ld -r stuff
4606 2002-03-21 Juergen Vigna <jug@sad.it>
4608 * insettext.C (appendParagraphs): new function added to append
4609 the paragraphs to this insets paragraphs.
4611 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4613 * Makefile.am: special rules if partial linking
4615 2002-03-19 Juergen Vigna <jug@sad.it>
4617 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4619 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4621 * insetgraphics.C: Clean up Baruch's comments a little.
4622 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4624 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4627 * insettheorem.C: wrap warnings
4629 * insetgraphics.C: improve messages, move cached_status_
4630 setting to safer place
4632 2002-03-18 Juergen Vigna <jug@sad.it>
4634 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4636 (localDispatch): ditto
4638 * insettext.C (edit): removed unneeded showCursor calls.
4639 (localDispatch): ditto.
4641 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4643 * insetgraphics.h: remove display() method.
4645 2002-03-11 Juergen Vigna <jug@sad.it>
4647 * insetgraphics.C (draw): hack to fix the redrawing bug.
4648 (draw): seems this fixes #268 (force redraw of row if we changed).
4650 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4651 this inset text (don't know why I missed this earlier).
4653 2002-03-08 Juergen Vigna <jug@sad.it>
4655 * insettabular.C (updateLocal): do a FULL update if we're not locked
4656 and only a CELL update is asked.
4658 * insettext.C (updateInsetInInset): update insets inside inset also
4659 if it isn't inside the_locking_inset.
4661 * insettabular.C (updateInsetInInset): ditto.
4663 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4665 * insetexternal.C (doSubstitution): check whether we are using a
4666 temp dir for defining $$FPath
4668 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4671 * insettext.C: remove #include "WorkArea.h".
4673 2002-03-06 Juergen Vigna <jug@sad.it>
4675 * insettext.C (draw): fixed frame redrawing.
4676 (clear): forgot to set the inset_owner of the paragraph.
4678 * insetert.C (status): pay attention the bv can be 0 here!
4679 (getMaxWidth): add the default leftMargin
4681 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4683 * insetert.C (getMaxWidth): make w unsigned int.
4685 2002-03-05 Juergen Vigna <jug@sad.it>
4687 * insetert.C (status): change behaviour of Inlined.
4688 (getMaxWidth): added for new inlined behaviour.
4690 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4692 * insetnote.h (linuxdoc, docbook): add empty methods.
4693 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4694 before being initialized.
4696 2002-03-05 Juergen Vigna <jug@sad.it>
4698 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4699 only that one in the inset. Should be enough.
4700 (updateLocal): set the selection cursor always if we don't have a
4701 selection to be sure it's set!
4703 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4705 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4707 * insettext.C (clear): a gross hack to set layout on a newly
4710 2002-03-04 Juergen Vigna <jug@sad.it>
4712 * insettabular.C (localDispatch): inserted handling of
4713 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4714 (insertAsciiString): new helper function.
4716 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4718 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4721 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4723 * insettext.C (InsetText): initalize newly created par with
4724 default layout. add bufferparams parameter
4727 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4728 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4729 * insetert.[Ch] (InsetERT): ditto
4730 * insetfloat.[Ch] (InsetFloat): ditto
4731 * insetfoot.[Ch] (InsetFoot): ditto
4732 * insetfootlike.[Ch] (InsetFootLike): ditto
4733 * insetmarginal.[Ch] (InsetMarginal): ditto
4734 * insetminipage.[Ch] (InsetMinipage): ditto
4735 * insetnote.[Ch] (InsetNote): ditto
4736 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4738 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4740 * insettext.C: layout as string
4742 * insetinclude.C: layout as string
4744 * insetert.C: layout as string
4746 * insetbib.C: layout as string
4748 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4751 * insettabular.C: remove #include "lyx_gui_misc.h".
4753 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4758 * inset.h: remove figinset, yahoo !
4760 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4762 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4763 copy c-tor and initialise member variables in the correct order.
4765 2002-02-28 Juergen Vigna <jug@sad.it>
4767 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4769 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4771 * inset.h: ... and add a better one here.
4773 * insetcommand.C (insetButtonRelease): remove that one which was a
4776 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4778 * insetcommand.C (insetButtonRelease): ... and move it here.
4780 * inseturl.h: remove insetButtonRelease from there...
4782 2002-02-26 Juergen Vigna <jug@sad.it>
4784 * inseturl.h: Added a insetButtonRelease call returning true as
4787 * insetlabel.C (edit): Fixed wrong update handling after change I
4788 leave in the wrong code for the one who wrote it to remove and have
4789 a look what he did wrong.
4791 * insettabular.C (localDispatch): force a SELECTION update if we
4792 had a selection and we passed the event down to the inset (fix #213)
4793 (localDispatch): handle font changing stuff when we have a cell
4794 selection so that the selection is not rewoked. I don't really like
4795 this fix, but it's the only way I see to do it right now.
4797 2002-02-22 Juergen Vigna <jug@sad.it>
4799 * insettext.C (insetUnlock): set the cursor to the second paragraph
4800 if available and if the first one is empty (fix #191).
4802 2002-02-20 Juergen Vigna <jug@sad.it>
4804 * insettext.C (getDrawFont): implemented this function to call the
4805 one of the owner if present as the owner normally knows what to do
4808 * insetert.C: implement getDrawFont() function and comment out all
4809 the crap for setting a special latex font inside this inset.
4810 (InsetERT): added a Lanugage parameter to this constructor.
4812 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4813 change the font for being drawn on screen (used only in InsetERT for
4816 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4817 and also above (was missing).
4818 (updateLocal): don't remove the cell selection if we have one this
4819 should be done where we really want to remove it.
4821 2002-02-20 José Matos <jamatos@fep.up.pt>
4823 * insetinclude.h: include_label made string const.
4825 * insetinclude.C (InsetInclude): moved include_label initialization.
4828 (validate): fix support for temporary directory, for docbook and
4831 * insetgraphics.h : new private member, graphic_label, that holds
4832 the entity name that defines the graphics location (SGML).
4834 * insetgraphics.C (unique_id): new function to give a unique label
4837 (validate): the file locatation is given by an entity reference.
4839 2002-02-18 Herbert Voss <voss@lyx.org>
4841 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4843 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4845 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4846 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4848 2002-02-18 José Matos <jamatos@fep.up.pt>
4850 * insetinclude.C (validate): some code only applies to latex buffers,
4851 it was made conditional.
4853 2002-02-12 Herbert Voss <voss@lyx.org>
4855 * insetgraphics.C: (prepareFile) do not check at this time
4856 if the file is present.
4858 2002-02-12 Herbert Voss <voss@lyx.org>
4860 * insetgraphics.C: latex(), return the correct newlines
4862 2002-02-13 José Matos <jamatos@fep.up.pt>
4864 * inseturl.C (docbook): escape & in url.
4866 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4868 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4869 after HYPHENATION and MENU_SEPARATOR
4871 * inset.h (isLineSeparator): new method, returns false by default.
4873 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4875 * insetert.C (status): do not update the text inset, but the ERT
4878 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4880 * insetnote.C: use notebg for background
4882 2002-02-08 Herbert Voss <voss@lyx.org>
4885 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4886 prevent LyX from unzipping when this should be handled
4887 by latex vis the graphic.cfg.
4890 2002-02-08 Herbert Voss <voss@lyx.org>
4892 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4893 exists, than return filename with extension
4895 2002-02-06 Herbert Voss <voss@lyx.org>
4897 * insetgraphic.C: prepareFile(): don't convert the file, when
4898 it's not viewed in LyX. Saves a lot of time when opening a
4901 2002-02-05 Herbert Voss <voss@lyx.org>
4904 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4905 and adding a rotate bool similiar to subcaption
4907 2002-02-04 Herbert Voss <voss@lyx.org>
4910 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4911 similiar view to the LaTeX one. Get zipped files work.
4913 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4915 * insetgraphicsParams.C (init): set display to DEFAULT.
4916 No longer #include "lyxrc.h".
4918 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4920 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4921 for now (so that the code compiles).
4923 2002-02-02 Herbert Voss <voss@lyx.org>
4925 * insetgraphic.C: delete inVariant() and some minor changes
4926 * insetgraphicsParams.[C]:
4928 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4930 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4931 interogate lyxrc.display_graphics before diaplaying the graphic.
4933 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4934 InsetGraphicsParams::DisplayType.
4936 2002-01-31 Herbert Voss <voss@lyx.org>
4938 * insetgraphic.C: (readfigInset) set display to pref-default
4940 2002-01-30 Herbert Voss <voss@lyx.org>
4942 * insetgraphic.C: get the filetyp from it's contents
4943 * insetgraphicparams.C: add token scale and lyxrc.display when
4944 creating a new inset
4946 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4948 * figinset.C: added using std::ios directive.
4950 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4952 * figinset.C (runqueue): open translation file in binary mode (for
4955 2002-01-27 Herbert Voss <voss@lyx.org>
4957 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4958 all options and to be sure that the old figinsets are correct
4960 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4961 structure and to support all lengths as LyXLength. The Parameter
4962 structure changed again, but reading of "old" 1.2 graphic insets
4965 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4967 * insetert.h (forceDefaultParagraphs): Added
4969 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4971 * insettabular.C (getMaxWidth):
4972 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4974 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4976 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4977 of LyXLength::inPixels
4979 * inset.C (latexTextWidth):
4980 * insetminipage.C (latexTextWidth): new method, which implements
4981 the equivalent of the LaTeX macro \textwidth
4983 * insetminipage.C (getMaxWidth): use latexTextWidth
4985 2002-01-18 Juergen Vigna <jug@sad.it>
4987 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4989 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4991 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4993 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4996 2002-01-17 Juergen Vigna <jug@sad.it>
4998 * insettabular.C (lockInsetInInset): same change as in insettext.
5000 * insettext.C (draw): width() function was called without setting
5001 the right top_x which could lead to wrong insetWidth setting!
5002 (lockInsetInInset): call edit instead of calling lockInset if we
5003 have to lock an inset inside!
5004 (edit): we have to also tell the inset that we have to redraw the
5005 frame on an edit call if this inset draws a frame only if locked.
5007 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5009 * insetbib.C (getFiles): uncomment Path variable.
5011 2002-01-16 Juergen Vigna <jug@sad.it>
5013 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
5016 2002-01-16 Allan Rae <rae@lyx.org>
5018 * insetinclude.C (docbook): someone forgot a ";"
5020 2002-01-16 José Matos <jamatos@fep.up.pt>
5022 * figinset.C (docbook): removed a old place holder "@".
5023 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5024 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5025 ascii text version, clearly guarded inside a CDATA section.
5026 (docbook): in docbook 4, inlinegraphics is empty.
5027 * insettabular.C (linuxdoc): export the ascii version of the table
5028 inside a CDATA section.
5030 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5032 * insetparent.C (InsetParent):
5033 * insetgraphicsParams.C (Write):
5035 * insetgraphics.C (prepareFile):
5038 * insetexternal.C (executeCommand):
5039 (doSubstitution): use Buffer::filePath
5041 * insetbib.C (getFiles): add a #warning for Angus
5043 * insetgraphics.C: Add a remark about how filenames should be
5044 considered to be relative to buffer (but absolute is still allowed)
5045 (draw): do not try to get status if lyxrc.use_gui is false
5047 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5050 * insetcollapsable.[Ch]:
5051 * insettabular.[Ch] (searchForward, searchBackward): change the
5052 bool const & params to bool.
5054 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5055 to avoid the name clash with InsetCollapsable's methods of the same
5056 names but different functionality.
5058 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5060 * insettext.C (ascii): use lyx::count rather than countChar.
5062 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5064 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5066 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5068 * insetgraphics.C (updateInset): do not try to render image if
5069 lyxrc.use_gui is false (bug #104)
5071 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5072 if file does not exist
5074 * figinset.C (browseFile): add shortcuts to directory buttons
5076 * insettext.C (updateLocal): update menubar and toolbar here too.
5078 2002-01-13 Allan Rae <rae@lyx.org>
5080 * insettabular.C (InsetTabular): Both constructors now initialise
5081 all class variables.
5083 2002-01-11 Juergen Vigna <jug@sad.it>
5085 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5087 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5089 * insettabular.C (getStatus): add forgotten brace around multiline
5092 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5094 * insetfloat.C (validate): require "float" instead of "floats".
5096 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5098 * insettabular.C (getStatus): use FuncStatus
5100 2002-01-08 Juergen Vigna <jug@sad.it>
5102 * insettabular.C (insetButtonRelease): now this should work too
5105 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5106 if the width is a percentage.
5108 * inset.h: added isChar() function and implemented this for
5109 insetspecialchar insetquotes and insetlatexaccent.
5110 added forceDefaultParagraphs() and implemented it for insettabular.
5112 2002-01-07 Juergen Vigna <jug@sad.it>
5114 * insettext.C (getLyXText): Fixed this function. An insert into the
5115 map is only done if we REALLY have a new BufferView.
5117 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5119 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5121 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5123 * insetinclude.C: fix use of FileInfo
5125 2002-01-07 Juergen Vigna <jug@sad.it>
5127 * insettabular.C (draw): fixed clearing of cell around inset.
5129 2002-01-05 Juergen Vigna <jug@sad.it>
5131 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5132 variables are updated.
5134 * insettabular.C (resetPos): set always the inset_y as it may be
5135 needed in another function.
5136 (searchBackward): don't draw while searching.
5138 2002-01-04 Juergen Vigna <jug@sad.it>
5140 * insettext.C (lockInsetInInset): forgot to set a cursor.
5142 2002-01-02 Juergen Vigna <jug@sad.it>
5144 * insettext.C (insertInset): make the correct undo informations on
5145 inserting new insets.
5147 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5149 * insettabular.C: correct single-cell select vertically
5151 2001-12-27 Juergen Vigna <jug@sad.it>
5153 * insettabular.C (ascii): export as tab-separated-values if the
5154 function was not called from export (f.ex.: clipboard).
5156 * insetcollapsable.h: added default support for ascii, linuxdoc and
5157 docbook export (the insettext is exported by default!)
5159 * insettabular.C (copySelection): suff the clipboard with the tabular
5160 data in a tab separated format, seems more naturals then with all the
5163 2001-12-24 Juergen Vigna <jug@sad.it>
5165 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5166 to check for REAL mouseMotion.
5168 2001-12-20 Juergen Vigna <jug@sad.it>
5170 * inset.C (cursor): return the owners cursor if available instead of
5171 always only the bv->text->cursor.
5173 * insettabular.C (checkLongtableSpecial): works now.
5175 2001-12-19 Juergen Vigna <jug@sad.it>
5177 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5178 this has to be always row + 1 as 0 means not selected!
5179 (checkLongtableSpecial): added
5180 (tabularFeatures): better longtable options support
5182 * insettext.C (resizeLyXText): reinit the text always also on a
5185 2001-12-18 Juergen Vigna <jug@sad.it>
5187 * insettext.C (updateInsetInInset): look if we have to autocollapse
5188 paragraps and return if the update is requested for ourself.
5190 * insetert.C (status): update the insettext not myself as that is what
5193 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5194 function only return if the update was requested with myself.
5196 * insettext.C (insetButtonPress): fixed stupid bug.
5197 (various functions): pay attention that lt is cleared BEFORE calling
5198 updateLocal() and try to use it in the right manner (don't use it
5199 if it's not really neccessary!)
5200 (collapseParagraphs): insert a blank between collapsing paragraphs
5201 if neccessary (not already there!).
5203 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5205 * insettabular.C: move includes around a bit, add a couple of
5208 * insettext.[Ch]: move includes around a bit, other ws changes and
5211 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5213 * insettext.C (insetButtonRelease): fix compile problem
5215 2001-12-17 Juergen Vigna <jug@sad.it>
5217 * insettext.C (insetButtonPress): set the selection cursor!
5218 (insetButtonPress): clear the selection (and set with that the
5219 selection.cursor) if we only hit an inset!
5221 * insetert.C (read): removed piece of compatibility code only needed
5224 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5227 * insetcollapsable.C (insetButtonRelease): changed so that it can
5228 open eventual existing popup dialogs on mousebutton==3.
5230 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5232 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5234 * inset.C (insetButtonRelease): return a bool for telling the outer
5235 world that we opened a dialog.
5237 2001-12-07 Juergen Vigna <jug@sad.it>
5239 * insettext.C (paragraph): remove the deleteing of paragraphs as
5240 it was a WRONG move!
5242 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5245 * insettabular.C: use new setSelection(). Allow
5246 selection of single cells.
5248 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5250 * insetquotes.C (latex): fix to use the local language setting at
5251 the point where the inset is inserted (different macros for
5252 different french packages)
5254 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5256 * inset.h: add par_owner_ member variable and parOwner
5259 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5261 * insettabular.C (everywhere): adapt because widths are now real
5262 widths and not strings
5264 * insettext.C (draw): re-introduce the calls to width(), ascent()
5265 and descent() to initialize the caching variables.
5267 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5269 * insettext.C (draw):
5270 (drawFrame): use insetWidth instead of last_width
5272 * insettext.h: remove variable last_width (insetWidth is exactly
5273 the same) and last_height (computed but never used!)
5275 2001-12-10 Allan Rae <rae@lyx.org>
5277 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5279 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5281 * insettext.C (insetAllowed): add comment
5283 2001-12-05 Juergen Vigna <jug@sad.it>
5285 * insettext.C (insetAllowed): fixed for the case that we directly
5286 ask the insettext from its LyXText.
5287 (paragraph): fixed the crash when assigning the par->next() from
5288 the EmptyParagraphMechanism!
5290 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5294 * insettext.C: change "while(" to "while ("
5296 2001-12-04 Juergen Vigna <jug@sad.it>
5298 * insetert.C (edit): handle Inlined status.
5300 * insettext.C (insertInset): trying John's fix for the trailing cursor
5302 * insetert.C (insetButtonPress): added to handle inlined status
5303 (insetMotionNotify): ditto.
5305 * insettext.C (clearInset): changed Painter & in BufferView * param,
5306 to be able to call ascent,descent methods.
5308 2001-12-03 Juergen Vigna <jug@sad.it>
5310 * insettext.C (updateInsetInInset): use lt variable to forbid
5311 changes of LyXText in an update call.
5312 (updateInsetInInset): fixed updating of non locked insets!
5314 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5316 * insettabular.C: capture some more functions to prevent
5317 selection drawing problems. Bug #451274
5319 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5322 * insetgraphicsParams.C: fix inverted sense of float_equal
5324 2001-11-30 Juergen Vigna <jug@sad.it>
5326 * insettabular.C (InsetTabular): use the save_id flag to create also
5327 the tabular with the same id's.
5329 * insettext.C (setParagraphData): added a same_id function for undo
5330 to set the same paragraph id's as of the paragraph we are setting.
5332 2001-11-30 José Matos <jamatos@fep.up.pt>
5335 * insettoc.[Ch]: DocBook -> docbook.
5337 2001-11-29 André Pönitz <poenitz@gmx.net>
5340 * insettext.C: further reduction of header dependencies by using
5341 lyx::layout_type and lyx::textclass_type from support/types.h
5343 2001-11-29 Juergen Vigna <jug@sad.it>
5345 * insettext.C: inserted a reinitLyXText function everywhere I delete
5346 the paragraphs! This should fixe the crashes we had.
5347 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5348 (paragraph): set the InsetOwner() of the new paragraphs!
5350 2001-11-28 André Pönitz <poenitz@gmx.net>
5352 * insetnote.C: add pos initialization that I removed without
5355 2001-11-28 Juergen Vigna <jug@sad.it>
5357 * insettabular.C (resetPos): hack to not crash with infinite paints.
5359 * insettabular.h: insert missing function allowSpellcheck()!
5361 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5363 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5366 * insetfloatlist.C: derive from InsetCommand so gui can use it
5369 2001-11-26 André Pönitz <poenitz@gmx.net>
5373 * insetnote.C: reduce header dependencies, introduce type for
5376 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5378 * various: update for Alert.h
5380 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5382 * inset.h: fix comment
5384 * insettext.C: use par->isInset()
5386 2001-11-22 Allan Rae <rae@lyx.org>
5388 * insetcollapsable.h:
5389 * inset.h: Changes to checkInsertChar() behaviour.
5390 Now return value indicates whether chars can be inserted.
5392 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5394 * various: updated to use the new LaTeXFeatures
5396 2001-11-14 José Matos <jamatos@fep.up.pt>
5398 * insetspecialchar.C (linuxdoc):
5399 (docbook): don't give a name to a unused variable.
5401 * insettext.C (docbook): removed unused variable.
5403 2001-11-13 Herbert Voss <voss@perce.de>
5405 * insetgraphic.C: fix scale bug
5407 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5409 * inset.h (isSpace):
5410 (isLetter): new virtual methods.
5412 * insetspecialchar.C (isSpace):
5413 (isLetter): implement here.
5415 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5417 * inset.h: new inline helpers
5419 * insettext.C: use new helpers
5421 2001-11-07 José Matos <jamatos@fep.up.pt>
5423 * insettext.C (docbook): full support for paragraphs inside insettext.
5425 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5427 * insetindex.C: added header file for std::ostream.
5429 2001-11-03 José Matos <jamatos@fep.up.pt>
5431 * insetindex.C: added using std::ostream that I forgot yesterday.
5433 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5435 * insetindex.h (docbook):
5436 * insetindex.C (docbook): added support for docbook export.
5438 2001-11-02 José Matos <jamatos@fep.up.pt>
5440 * insetcaption.C(docbook): added support for docbook export.
5442 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5444 * insetexternal.C (updateExternal): Do not run update command if
5445 result file exists and is up to date.
5447 * ExternalTemplate.C (readFormat): Support the updateresult token.
5449 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5451 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5452 external_templates) to use the buffer->fileName() but only if
5453 previewing. Generating a TeX file should make FPath return
5456 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5459 * insetert.C: fix some problems
5461 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5463 * insetexternal.C (doSubstitution): Added $$FPath token
5464 to list of usable substitutions in external inset templates.
5466 2001-10-24 Juergen Vigna <jug@sad.it>
5468 * insettabular.C: use new ltType struct for setting longtable
5469 header and footers also new UNSET enums.
5471 2001-10-24 José Matos <jamatos@fep.up.pt>
5473 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5474 (docbook): If the table is not inside a float then wrap it inside
5475 <informaltable>...</informaltable>.
5477 2001-10-23 José Matos <jamatos@fep.up.pt>
5479 * insetref.C (docbook): removed / terminator to conform SGML.
5481 * insetspecialchar.C (linuxdoc):
5482 (docbook): Added support for special chars, more than ascii export.
5484 2001-10-22 Juergen Vigna <jug@sad.it>
5486 * insettext.C (checkInsertChar): added for REALLY checking the
5487 font of the inserted char in the right inset!
5489 2001-10-19 Juergen Vigna <jug@sad.it>
5491 * inset.h: added method allowSpellcheck() so that insets who do
5492 not have anything to spellcheck can tell and so they are over-jumped.
5493 Implemented for InsetText and co.
5495 2001-10-18 Juergen Vigna <jug@sad.it>
5497 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5499 2001-10-15 José Matos <jamatos@fep.up.pt>
5501 * insetert.C: allow export for docbook and linuxdoc
5503 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5505 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5507 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5509 * insetquotes.C (dispString): fix handling of latin9 quotes
5511 2001-10-03 Juergen Vigna <jug@sad.it>
5515 * insetcollapsable.C: change updateInset calls to not tell BV that
5516 we have changed status.
5518 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5520 * insettabular.C (deletable): make const
5522 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5524 * insetert.C (latex): Fix the returned value
5526 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5528 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5529 Returns string(), so nothing in an ERT inset is spellchecked.
5531 * insetgraphics.C (draw): print the filename if not displaying the
5533 (width): make sure that the width and draw methods are consistent.
5534 (updateInset): don't even load the image into cache if not displaying
5537 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5539 * various files (selectNextWord): renamed as
5540 selectNextWordToSpellcheck.
5542 * insetgraphics.C (draw): remove the previous change. Right place
5543 is in imageLoaderXPM.C.
5544 (draw): don't display the image if params.display == NONE.
5546 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5548 * figinset.C (runqueue):
5549 * insetgraphics.C (draw): set background colour of inset from
5550 background to the user-configurable graphicsbg.
5552 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5554 * insetquotes.C (InsetQuotes): when trying to decide the side of
5555 the quote, choose `left' only after a space or '('
5557 2001-09-04 José Matos <jamatos@fep.up.pt>
5562 * insetcollapsable.h
5580 * insetlatexaccent.C
5581 * insetlatexaccent.h
5586 * insetspecialchar.C
5587 * insetspecialchar.h
5591 * insettext.C (docbook): rename docBook method to docbook.
5593 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5595 * inset.h (getFirstParagraph): New virtual method.
5597 2001-08-20 Herbert Voss <voss@perce.de>
5598 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5599 in the the bibtex-database-gui for inserting a line
5602 If no style is given than there is no tex-output.
5604 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5606 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5610 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5612 * insetert.C (latex): Fix output for multiple paragraphs.
5613 (write): New code for writing paragraph data.
5614 (read): Set font after reading the inset.
5615 (localDispatch): Call set_latex_font() for more cases.
5617 * insetnote.h: Add empty validate method.
5620 * insetnote.C (InsetNote): Set language to the language of the
5623 2001-08-16 Juergen Vigna <jug@sad.it>
5625 * insettext.C: implemented the new FINISHED states.
5627 * insettabular.C: ditto
5629 * inset.h: added more FINISHED states for cursor right,up,down
5631 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5633 * insetfloatlist.C: use "FloatName List"
5635 2001-08-14 Juergen Vigna <jug@sad.it>
5637 * insetert.C (edit): forgot to set status_ in edit calls!
5639 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5641 * insettext.C: Compilation fix
5643 2001-08-13 Juergen Vigna <jug@sad.it>
5645 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5647 * insetcollapsable.C (edit): don't recollapse an already open inset.
5649 * insettext.C: fixed problem when reinitializing LyXText by not doing
5650 it while lt is in use and post this to the next possible time in
5652 (searchForward): fixed not unlocking of inset if nothing found.
5653 (edit): set cursor behind right (was set -1 pos).
5655 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5657 * insettabular.C (tabularFeatures): fixed fix where deleting the
5658 last row didn't get the right actcell!
5660 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5662 * insettext.C (localDispatch): Change language only when the inset
5665 2001-08-10 Juergen Vigna <jug@sad.it>
5667 * insettabular.C (selectNextWordInt): use the front using edit call.
5669 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5670 the parameter overwrite class variable inset.
5672 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5674 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5675 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5677 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5678 update only for fixed with cells.
5679 (resetPos): try to fix the lockup on spellchecking or s&r.
5681 * insettext.C (update): comment this out as it seems first wrong
5682 and second not needed anymore!
5683 (some functions): call reinitLyXText() only in update() in all other
5684 positions set only need_update = INIT.
5686 2001-08-08 Juergen Vigna <jug@sad.it>
5688 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5690 * insettext.C (insetUnlock): remove double-space on inset unlock.
5692 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5694 * insettabular.C (update): fixed cursor positon after an insert.
5695 (insetAllowed): do not allow to insert insets when not inside the
5697 (draw): clear below an inset too as it could have changed height.
5699 * inset.C (getMaxWidth): fixed width for inset in inset.
5701 * insettext.C (update): small fix.
5703 * insettabular.C (tabularFeatures): added selection support to
5704 DELETE_ROW/DELETE_COLUMN.
5706 2001-08-07 Juergen Vigna <jug@sad.it>
5708 * inset.C (getMaxWidth): recoded and all it's implementations!
5710 * insettext.C (init,setParagraph+constructors): cleanups
5711 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5712 are new and I want do a save/restore of the cursor position which is
5713 not possible anymore.
5715 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5716 (searchBackward): ditto
5717 (selectNextWord): ditto
5719 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5721 * insetlatexaccent.C (checkContents): Add some debug messages
5723 2001-08-07 Juergen Vigna <jug@sad.it>
5725 * insetert.C (read): don't use InsetCollapsable::read as we don't
5726 write the collapsed status anymore only the status.
5729 2001-08-06 Juergen Vigna <jug@sad.it>
5731 * insetert.C (set_latex_font): use LyXText's setFont directly.
5733 * insettext.C (drawFrame): fixed one time more the right position
5734 and size of the frame!
5736 * insetert.C (~InsetERT): hide the dialog.
5737 (showInsetDialog): added implementation
5740 (status): new function for the status of the ERT inset (3-state).
5741 (write): output also the status of the inset for readback!
5742 (read): readback the status if available otherwise use collapsed_.
5744 * insettext.C (edit): small fix of setting the position, which could
5747 * insetert.C (width): implement this function for inlined viewing.
5748 Added minimum width of 10 pixels!
5750 * insetminipage.C (InsetMinipage): just change the colors a bit so
5751 that border/background is a bit more visible. We will remove this
5754 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5755 function for getting the important widths for drawing in various
5756 functions and in LyXText.
5757 (draw): fixed up a bit (frame drawing/clearing)
5759 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5761 * inset.C (convertFont): delete method. not used.
5763 2001-08-03 Juergen Vigna <jug@sad.it>
5765 * insettext.C (setFont): don't call for a draw update if we're just
5766 changing the cursor font!
5768 2001-08-02 Juergen Vigna <jug@sad.it>
5770 * insettext.C (draw): clear the background with the right color if
5771 needed. Update myself if x&max-width changed and return without doing
5772 anything. Let the update code handle the right stuff.
5774 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5775 inside another inset.
5777 2001-08-01 Juergen Vigna <jug@sad.it>
5779 * insetcollapsable.C (update): added an in_update bool so we avoid
5782 * insettabular.C (update): added an in_update bool so we avoid
5785 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5787 (update): added an in_update bool so we avoid reentering.
5789 * insettabular.C (localDispatch): clear col/row selection when doing
5790 something else inside an inset.
5792 * insettext.C (getLyXText): fixed bug when requesting a recursive
5795 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5797 * insetcite.C (latex): Paranoia check. Make sure that there is no
5798 whitespace between the citation keys.
5800 2001-07-31 Juergen Vigna <jug@sad.it>
5802 * inset.h (nodraw): make the set function also const so that this
5803 can be called from inside other const functions.
5805 * insetcollapsable.h: removed inline variable and moved it over
5806 to the only user InsetERT.
5808 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5809 inset opening immediately therein lying insets dialogs!
5811 * insetert.C (localDispatch): set the font also if we don't have any
5812 chars in this paragraph, otherwise if we delete all of em and start
5813 writing we have the wrong font.
5815 (draw): implemented for inline support
5816 (insetButtonRelease): ditto.
5818 2001-07-30 Juergen Vigna <jug@sad.it>
5820 * insettext.C (reinitLyXText): new function to reinit the insets
5821 text after lot's of paragraph changes. Use this instead of the
5822 cache.clear() which is VERY dangerous.
5824 * insetfloat.C (insetButtonRelease): we should only show the dialog
5825 if we press on the label otherwise we have problems to open mouse
5826 button 3 dialogs inside this float (f.ex. of a tabular!)
5828 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5830 * insetert.C: change back to "ERT"
5832 * insetfloat.C: handliign of RMB on label added.
5834 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5836 * insetgraphicsParams.C: #include LOstream.h here.
5838 * insetfoot.h: remove InsetFoot:: qualifier.
5840 2001-07-29 Baruch Even <baruch@lyx.org>
5842 * ChangeLog: Hiding time travel evidence.
5844 * insetgraphicsParams.h:
5845 * insetgraphicsParams.C:
5846 * insetgraphics.C: Added horizontal scale option, it actually scales both
5847 directions since it keeps image proportions.
5849 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5851 2001-07-29 Baruch Even <baruch@lyx.org>
5853 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5854 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5856 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5858 2001-07-29 Baruch Even <baruch@lyx.org>
5860 * insetgraphics.C: Added EPSI to be an alias of EPS.
5862 2001-07-29 Baruch Even <baruch@lyx.org>
5864 * insetgraphics.C: Change GRAPHICS to Graphics.
5865 Changed image conversion rules (documented at the beginning of file).
5867 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5869 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5872 * insetgraphics.C: added a using std::endl directive.
5874 * insetcommand.h (getScreenLabel): removed pure virtual function,
5875 as it duplicates that in InsetButton.
5877 * insetbib.[Ch] (getScreenLabel):
5878 * insetbutton.[Ch] (getScreenLabel):
5879 * insetcite.[Ch] (getScreenLabel):
5880 * insetert.[Ch] (getScreenLabel):
5881 * insetexternal.[Ch] (getScreenLabel):
5882 * insetfloatlist.[Ch] (getScreenLabel):
5883 * insetinclude.[Ch] (getScreenLabel):
5884 * insetindex.[Ch] (getScreenLabel):
5885 * insetlabel.h (getScreenLabel):
5886 * insetparent.[Ch] (getScreenLabel):
5887 * insetref.[Ch] (getScreenLabel):
5888 * insettoc.[Ch] (getScreenLabel):
5889 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5891 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5893 (validate): remove check on "cite" when using natbib.
5895 2001-07-26 Baruch Even <baruch@lyx.org>
5897 * insetgraphics.C (draw): changed casting to be in one place rather than
5898 all over the function.
5901 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5903 * insetgraphicsParams.h:
5904 * insetgraphicsParams.C:
5905 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5907 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5909 * insetfoot.C (validate): Added method to ensure that the
5910 right bit of LaTeX is emitted.
5912 * insetfoot.h: Added validate method to set the correct
5913 LaTeXFeatures bit for the special footnote code.
5915 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5917 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5920 2001-07-27 Juergen Vigna <jug@sad.it>
5922 * inset.h: remove not used font variable in parameter.
5923 removed checkInsertChar in UpdatableInset as it was equal to
5924 the one in Inset and so not needed.
5926 * insetert.C (checkInsertChar): implementation of function
5929 * inset.h: added new function checkInsertChar.
5931 * various files: added c-tor and clone() function.
5933 * insetcollapsable.h: removed clone function here as this should
5934 be only realized in REAL insets and added it to all collapsable
5935 insets! (with the copy-constructor).
5937 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5939 * insetminipage.C (read): handle missing parameters more gracefully
5941 * insetcollapsable.C (read): handel missing collapsed more gracefully
5943 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5945 * insetfloat.C (read): handle missing parameters.
5947 * insettext.C (read): handle old latex end_inset
5949 * insetert.C (setButtonLabel): new method
5950 (init): use it, to set the dynamic label correctly
5953 * Makefile.am (EXTRA_DIST): add files that is not part or the
5956 * insetcollapsable.h: remove autocollapsable (no users), remove
5957 draw_label, change_label_with_text and companion code. Remove args
5959 * insetert.[Ch]: move here instead (only user)
5961 * inset.h: rename private variable name to name_, make
5962 selectNextWord return a const string. make getInsetName return a
5963 string const &. Remove bool from open, add close.
5965 * Makefile.am: don't compile insetlist, insetsection
5968 2001-07-24 Juergen Vigna <jug@sad.it>
5970 * insetert.C (InsetERT): put init after the paragraph initialization,
5971 as otherwise we don't set the draw_label right.
5973 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5974 insets with the mouse without having strange selections.
5975 (edit): if the inset was collapsed and we open it here then put the
5976 cursor always at the beginning of the inset.
5977 (get_new_label): 15 instead of 10 max chars in the label.
5979 * insetert.C (localDispatch): added and handle various stuff we
5980 need to handle here (font setting on paragraph break, not permitted
5981 layout setting, etc.).
5983 * inset.h: added default copy-consturctor and implemented this in
5984 various insets with the change to use this in the clone function!
5986 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5988 * insetminipage.C (InsetMinipage): set background color to red :)
5990 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5992 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5993 draw frame mode is LOCKED.
5995 * insetcollapsable.C (edit):
5996 (insetButtonRelease): set update status to full when
5999 * insettext.C (clearInset):
6000 * insettabular.C (draw):
6001 * insetlatexaccent.C (draw): honor background color.
6003 * inset.h: new member background_color_, initialized to
6006 * inset.C (backgroundColor): new method.
6007 (setBackgroundColor): new method.
6009 * insetert.C (init): new method, called by the ctors.
6010 (InsetERT): when inserting contents, make sure the font is
6013 * insetnote.C (InsetNote): when inserting content, remove trailing
6015 (init): set background color to LColor::note
6017 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6019 * insetcollapsable.C: adjust
6021 * insetbutton.C: adjust
6023 2001-07-23 Juergen Vigna <jug@sad.it>
6025 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6026 parameter on the _collapsed function (was not needed) and call
6027 always width_collapsed().
6029 * insetert.C (InsetERT): use setLabel with "true" flag.
6031 * insetcollapsable.C: modified various functions to set the draw_label
6032 string right in any condition.
6033 (setLabel): added a bool parameter to set change_label_with_text.
6035 * insetcollapsable.h: added draw_label string which is set to the
6036 actual drawn label-string, while label is the original static label
6037 of this collapsable inset. Added bool change_label_with_text to set
6038 if we want that the label changes to the start of the InsetText's
6039 text when collabpsed. You can set this flag with the setLabel funciton.
6040 Added bool inlined for inlined collapsable insets, but not handled
6043 * insetcollapsable.C (get_new_label): added should get a new label
6044 from the InsetText beginning (for now 10 chars).
6046 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6048 * insetquotes.C (latex): fix the handling of french double quotes
6049 when not using the french pachage.
6051 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6053 * insetcollapsable.h: make WidthCollapsed mutable.
6055 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6056 InsetPrintIndex returns INDEX_PRINT_CODE.
6058 * inset.h: add INDEX_PRINT_CODE
6060 * insetcollapsable.C (draw): init widthCollapsed if necessary
6063 * insetquotes.C (width): use the local language, not the document
6066 (dispString): add additional spacing for all french languages,
6068 (validate): make it work when there is no default language
6070 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6072 * insetnote.C (init): new method, called by the constructors
6073 (InsetNote): new constructor with contents passed as a string
6075 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6077 * insetfootlike.C (insetAllowed): disallow float in footlike.
6079 * insetert.C (InsetERT): add collapsed argument to the constrctor
6082 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6084 * insetindex.h: shut off warning
6086 2001-07-20 Juergen Vigna <jug@sad.it>
6088 * insetcollapsable.C (update): recoded hopefully works now!
6090 2001-07-19 Juergen Vigna <jug@sad.it>
6092 * most files: implemented the below new introduced function.
6094 * inset.h: added new edit(BufferView *, bool front) method to be able
6095 to enter an inset from the front/back without knowing x/y positions
6096 and baselines inside the inset. So I just can tell the inset activate
6097 me and set the cursor on the front/back of yourself.
6099 2001-07-18 Juergen Vigna <jug@sad.it>
6101 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6102 is given to the InsetText.
6103 (insetButtonPress): ditto
6104 (insetButtonRelease): ditto
6105 (insetMotionNotify): ditto
6107 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6109 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6110 LIGATURE_BREAK, since the name is so stupid.
6112 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6114 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6115 the default InsetCollapsable methods. I.e., it can insert anything.
6116 (write) output the name of the inset, not some silly hack for
6117 compatability with the old InsetInfo.
6119 * insetinfo.[Ch]: removed.
6120 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6121 now collapsable, but functionality is otherwise identical to InsetInfo.
6123 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6125 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6127 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6130 * insetquotes.C: general cleanup
6131 (dispString): add spaces inside french double quotes.
6132 (latex): ditto. Moreover, treat first the case where the frenchb
6133 or french options have been given.
6135 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6137 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6140 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6142 * figinset.C (RegisterFigure): Print debug message only when
6143 current_view is available.
6145 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6147 * many files: update to match the change below
6149 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6150 implement the version which takes an inset here.
6152 * insetcollapsable.[Ch]: implement open and isOpen
6154 * inset.h: remove insertInsetAllowed from Inset
6155 (open): new method, to open or close an inset
6156 (isOpen): returns the status of an inset
6157 (isCollapsable, colapse): removed
6159 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6161 * insetquotes.C (dispString): display french guillemets when using
6164 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6166 * insetcollapsable.h: remove bogus return statements
6168 2001-07-18 Juergen Vigna <jug@sad.it>
6170 * insettabular.C (selectNextWord): fixed spellchecking for the
6171 first cell of a tabular (wasn't entered!)
6172 (getLyXText): changed to enter automatically insettext and return
6173 it's LyXText if we're locked.
6175 2001-07-17 Juergen Vigna <jug@sad.it>
6177 * various files: implemented the below functions.
6179 * inset.h: added functions
6180 - virtual string selectNextWord(BufferView *, float & value) const;
6181 - virtual void selectSelectedWord(BufferView *) { return; }
6182 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6183 needed for spellchecking correctly!
6185 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6187 * insetert.C (latex): write out all paragraphs.
6189 2001-07-17 Baruch Even <baruch@lyx.org>
6191 * insetgraphics.C (draw): Removed unneeded casts.
6193 2001-07-16 Juergen Vigna <jug@sad.it>
6195 * insettext.C (update): fixed small oversight (reset lt to 0).
6197 2001-07-14 Baruch Even <baruch@lyx.org>
6200 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6202 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6204 Consistent use of Lsstream.h:
6205 * figinset.C: removed using std::ostringstream directive.
6207 * insetgraphics.C (createLatexOptions):
6208 * insetinclude.C (unique_id):
6209 std::ostringstream -> ostringstream.
6210 * insettext.C (localDispatch): std::istringstream -> istringstream.
6212 2001-07-13 Juergen Vigna <jug@sad.it>
6214 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6216 * insetcollapsable.C (getLockingInset): ditto.
6218 2001-07-12 Juergen Vigna <jug@sad.it>
6220 * insetcollapsable.h: added implementation of new function for
6223 * various files: added implementation of new insertInsetAllowed-func
6224 and redone the function a bit more.
6226 * inset.h: added isCollapsable(), bool collapsed(),
6227 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6229 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6231 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6232 LyXText which is marked for removal while we're using it!
6234 * insettext.h: added private LyXText * lt to use it to assure we are
6235 not deleting our LyXText while we're using it!
6237 2001-07-11 Juergen Vigna <jug@sad.it>
6239 * insettext.C (insertInset): check if we are before the inset after
6240 inserting it! This check IS needed. Remove the Undo-Call as it is
6241 called in LyXText::insertInset!
6243 * insettext.h: added struct InnerCache.
6245 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6246 that we ONLY delete the LyXText in the getLyXText() routine. So we
6247 are sure we don't delete LyXText while someone is working with it!
6249 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6251 * insetexternal.C: (*it). -> it->
6252 * insettext.C: ditto
6254 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6256 * insetcollapsable.C (edit): always open collapsed insets (even if
6257 they are not autocollapsable)
6259 * insetcommand.C (operator=): simplify.
6261 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6263 * insetert.C (latex): handle META_NEWLINE
6265 2001-07-09 Juergen Vigna <jug@sad.it>
6267 * insetert.h: a normal InsetText can insert insets, but we won't.
6269 * inset.h: return default "false" on insertInsetAllowed and implement
6270 this function where a returnvalue != "false" is needed.
6272 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6274 * insetert.C (InsetERT): new contructor
6276 2001-07-06 Juergen Vigna <jug@sad.it>
6278 * a lot of files: added implementation of the below new functions
6279 and the change to clone(). Also the call of the new undo-functions
6282 * inset.h: added an inset_id, added functions getParFromID,
6283 getInsetFromID, firstParagraph, cursor and id functions, added
6284 bool same_ids to clone function.
6286 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6288 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6289 of BufferView * and shared_ptr<LyXText>
6291 2001-07-05 Juergen Vigna <jug@sad.it>
6293 * insettext.C (clear): deleted also the cache not only LyXText.
6294 (setParagraphData): ditto.
6296 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6298 * insetfloat.C (latex): let the specific placement take presedence
6299 if set, otherwise choose document placement if set, otherwise just
6300 use float default placement.
6302 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6304 * insettext.C (localDispatch): call CutAndPaste::'s static method
6307 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6309 * insetbib.C: no meed to include forms.h here.
6311 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6313 * insettext.C: added using std::make_pair directive.
6315 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6317 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6319 (deleteLyXText): ditto
6320 (resizeLyXText): ditto
6322 2001-07-02 Juergen Vigna <jug@sad.it>
6324 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6325 following calls are only returned the right pointer without the over
6326 head to search in the map.
6327 (various funcs): reset the cached_bview variable as this signs that
6328 the cache is not valid anymore.
6330 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6332 * insettabular.C (clone): do not copy the LyXTabular twice
6334 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6336 * insettext.h (TEXT): delete method
6338 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6340 * insetmarginal.C (latex):
6341 * insetfoot.C (latex): fix spacing of notes in LaTeX
6343 * insettext.C (localDispatch): use .c_str() on istringstream
6344 constructor argument.
6346 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6351 * inseturl.C: fix method names in these to begin
6352 with small char too, so they inherit
6354 2001-06-28 Juergen Vigna <jug@sad.it>
6356 * insettext.C (setFont): fixed font settings using toggleFree()
6357 instead of setFont().
6359 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6361 * Change a lot of method names to begin with a small char.
6362 Changes to a lot of files because of this.
6364 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6366 * insetfloatlist.C (Write): std:: qualify ostream
6369 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6373 * insetgraphics.C: send debug output to Debug::INFO instead of
6376 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6379 * insettabular.C (getStatus): update to use func_status
6381 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6383 * insetref.C (DocBook): added support for cross-references without
6386 2001-06-26 The LyX Project <jug@sad.it>
6391 * insetlabel.h: removed escape method and moved it to
6394 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6396 * insettabular.C (getMaxWidth): do the speedup in a different way,
6399 2001-06-24 The LyX Project <Asger>
6401 * insettabular.C (getMaxWidth): We cache a mapping from
6402 inset to cell in order to speed this method up.
6404 2001-06-24 The LyX Project <Asger>
6406 * insettext.C: Optimized InsetText::draw or something.
6408 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6410 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6412 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6414 * inset.h: name change from lyxinset.h
6416 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6418 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6420 2001-06-14 Juergen Vigna <jug@sad.it>
6422 * insettext.C (draw): removed warnings.
6424 2001-06-13 Juergen Vigna <jug@sad.it>
6426 * insettabular.C (nodraw): only go down the tree if we don't have
6427 that flag set otherwise it's obvious that we don't want to draw.
6428 (LocalDispatch): do also an update if we have an undispached result.
6430 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6433 * insetgraphicsParams.C:
6434 * insettext.C: removed // -*- C++ -*- as first line.
6436 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6438 * lyxinset.h (resizeLyXText): shut off warning about unused
6441 2001-06-07 Juergen Vigna <jug@sad.it>
6443 * insettext.C (resizeLyXText): honor the new force flag.
6445 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6447 * insettabular.C (deleteLyXText): new function
6449 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6457 * insetcollapsable.C:
6458 * insetcaption.C: LColor tidy
6460 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6462 * figinset.C: fix typo
6464 2001-06-01 Juergen Vigna <jug@sad.it>
6466 * insettabular.C (resetPos): small hack so that scroll is not set to
6467 0 when we are in the last column of a tabular. This is a problem we
6468 have because of constats 20 offset on both directions, so this can
6469 cause on the limit an endless loop.
6471 * insettext.C (SetFont): forgot that we can have locking insets ;)
6473 2001-05-31 Juergen Vigna <jug@sad.it>
6475 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6477 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6479 * figinset.C: add using std:: directive for the C functions which
6482 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6484 * insetfloat.C (Write): write out wide info
6485 (Read): read the wide info
6486 (Latex): use the wide info when creating latex.
6488 * insettext.C: adjust
6490 * insetgraphics.[Ch] (statusMessage): change to return string
6494 * figinset.C (runqueue): add std::
6497 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6499 * insetcite.C (Ascii): add std:: qualifier
6501 2001-05-28 Juergen Vigna <jug@sad.it>
6503 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6504 a endless-width inset (maxWidth < 0).
6505 (Edit): change language only if not equal.
6507 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6509 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6511 2001-05-16 Juergen Vigna <jug@sad.it>
6513 * insettext.C (selectAll): added
6514 (clearSelection): added
6516 * insettabular.C (SetFont): now we may set a font on a whole selection!
6517 (getSelection): added helper function.
6519 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6521 * insetcite.C (Ascii): Add method.
6523 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6526 * insetbib.C: fix path for OS/2 & Win32
6528 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6530 * insetfoot.C (Latex): don't use % after footnote.
6532 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6534 * insettext.C (Read): use clear
6535 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6537 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6539 * insetfloatlist.h: add a bunch of std:: qualifiers.
6541 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6543 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6544 FLOAT_LIST_CODE, renumber code list.
6546 * insettoc.C (getScreenLabel): remove support for float lists
6550 * insetfloatlist.[Ch]: new files
6552 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6554 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6556 * insettabular.C (LocalDispatch):
6557 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6560 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6562 * insettext.C: remvoe !NEW_INSETS cruft
6564 * insettabular.C: remove !NEW_INSETS cruft
6566 * insetcollapsable.h: remove !NEW_INSETS cruft
6568 * insetbib.C: remove !NEW_INSETS cruft
6570 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6572 * insettoc.C: hack to make listof algorithm work
6574 2001-04-20 Juergen Vigna <jug@sad.it>
6576 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6578 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6580 * insetquotes.C (Latex): improve the guard against
6581 unwanted !` and ?` ligatures. This should really be done in
6582 another place (to catch all this ligatures at low-level).
6584 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6586 * insettext.C (init): remvoe leftovers from cursor_visible change
6587 (draw): use c++ cast
6588 (LocalDispatch): dispatch LFUN_MESSAGE
6590 * insettabular.C (InsetTabular): remove leftovers from
6591 cursor_visible, and scoped_ptr changes
6592 (draw): use c++ cast
6594 * insetcollapsable.C (draw): use c++ cast
6596 * ExternalTemplate.h: inherit privaely from noncopyable
6597 * insetcommand.h: ditto
6598 * insetinclude.h: ditto
6600 2001-04-16 Allan Rae <rae@lyx.org>
6602 * insettoc.C (Ascii):
6603 * insettext.C (draw):
6604 * insettabular.C (setPos):
6605 * insetminipage.C (Read):
6606 * insetfloat.C (placement):
6607 * insetcaption.C (Ascii, DocBook):
6608 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6609 an unrecognised preprocessor directive. So ensure they're wrapped.
6611 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6614 * insetexternal.C: set view on Clone. Add _ to private members.
6616 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6618 * insettext.C (InsetText): fix new
6619 (InsetText): reindent some, simplify deletion of par list
6620 (clear): simplify deletion of par list, fix new
6621 (SetParagraphData): simplify deletion of par list
6623 * insettabular.[Ch] (getLabelList): implement new method
6625 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6627 * lyxinset.h: do not include gettext.h...
6635 * insetlatexaccent.C:
6639 * inseturl.C: ... and do it here instead
6641 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6643 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6645 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6647 * insetcollapsable.[Ch] (getLabelList): implement
6649 * insettext.[Ch] (getLabelList): implement
6651 * insettext.h: reindent
6653 * insettabular.h: make tabular a scoped_ptr
6655 * insettext.C (init): adjust for cursor_visible
6656 (ToggleInsetCursor): constify asc and desc, font, adjust for
6658 (ShowInsetCursor): constify asc and desc, font, adjust for
6660 (HideInsetCursor): adjust for cursor_visible
6662 * insettabular.C: reindent some
6663 (InsetTabular): adjust for scoped_ptr and cursor_visible
6664 (InsetTabular): ditto
6665 (~InsetTabular): delete delete
6666 (Clone): adjust for scoped_ptr
6667 (Read): constify old_format, adjust for scoped_ptr, move init of
6669 (draw): constify tx, localize loop vars.
6670 some other localization of variables, remove double initilizatons.
6672 * insetfoot.C: remove using std::ostream, add ostream where needed
6674 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6676 * lyxinset.h: some reindentaion, use initializer list for
6678 UpdatableInset: make cursor_visible a private var add
6679 public isCursorVisible(), add protected toggleCursorVisible() and
6680 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6682 * insettoc.C: remvoe using decl
6683 (getScreenLabel): make cmdname donst
6686 (Ascii): don't use endl
6688 * insetfootlike.C: remove using decl at file scope and add std::
6690 * insetmarginal.C: ditto
6692 * insetfoot.C: some reformatting
6694 * insetfloat.C (InsetButtonRelease): adjust the hit area
6696 * insetert.C (SetFont): some reformatting
6698 * insetcollapsable.C: some reformatting and constification
6699 (Clone): comment out.
6700 * insetcollapsable.h: some reformatting
6701 (Clone): comment out.
6706 2001-03-30 Juergen Vigna <jug@sad.it>
6708 * insetcollapsable.h: changen *inset to be a InsetText inset.
6710 * some files: changed to reflect the above change.
6712 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6714 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6715 InsetExternal::Params.
6716 Added operator==() and operator!=() for the Params struct.
6718 2001-03-29 Juergen Vigna <jug@sad.it>
6720 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6723 * insetminipage.C: removed widthp_ and all it's functions and changed
6724 to use new %-lengths of LyXLength.
6726 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6728 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6730 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6732 * insetgraphicsParams.C (operator!=): new function, needed by the
6733 ControlGraphics class.
6735 2001-03-28 Juergen Vigna <jug@sad.it>
6737 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6738 (checkAndActivateInset): don't use the values returned from
6739 call to bv->checkInsetHit.
6741 * insetminipage.C (Clone): set special minipage values.
6743 * insetcollapsable.C (draw): changed to draw the button in the
6744 upper left corner outside the textinset.
6745 (ascent): changed because of different drawing
6749 (InsetButtonPress): ditto
6750 (InsetButtonRelease): ditto
6751 (InsetMotionNotify): ditto
6753 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6755 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6759 2001-03-26 Juergen Vigna <jug@sad.it>
6761 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6763 * insettext.C (ShowInsetDialog): implemented above function.
6765 * insettabular.C (ShowInsetDialog): ditto
6767 * insetminipage.C (ShowInsetDialog): ditto
6769 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6771 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6772 InsetInclude::Params. Don't store a buffer * in Params. Store the
6773 master file name instead.
6775 2001-03-23 Juergen Vigna <jug@sad.it>
6777 * insetcollapsable.C (InsetMotionNotify):
6778 (InsetButtonRelease):
6779 (InsetButtonPress): fixed y-offset (minipages).
6781 * insettext.C (draw): force a FULL update if cleared == true.
6783 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6784 routine to draw the minipages on its position-flag.
6785 (InsetInInsetY): give back the right y position, because of minipage
6788 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6791 * insetfloat.C (DocBook): docbook export code.
6793 2001-03-22 Juergen Vigna <jug@sad.it>
6795 * insetminipage.C (getMaxWidth): added function to set the drawing
6797 (Read): should work now!
6799 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6800 if we create a new inset.
6802 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6804 * figinset.C (fl_set_preemptive_callback): moved definition outside
6807 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6809 * insetminipage.C (Read): prepare for reading of minipage arguments.
6811 2001-03-18 Baruch Even <baruch@lyx.org>
6813 * insetgraphics.C: Minor cleanups of the comments and code.
6815 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6817 * insetminipage.C (InsetMinipage): default to not collapsed
6819 2001-03-16 Juergen Vigna <jug@sad.it>
6821 * insetminipage.C (width): modified with to be a string
6822 (widthp): added widthp (for % width) support functions.
6823 (InsetButtonRelease): added to open the options dialog on button==3.
6824 (~InsetMinipage): added to hide the dialog.
6826 * insetminipage.h: added hideDialog signal
6828 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6830 * insetminipage.h: change the order or Position to match
6831 LyXParagraph::MINIPAGE_ALIGNMENT
6833 * several files: remvoe CXX_WORKING_NAMESPACES
6835 * ExternalTemplate.h: noncopyable is in namespace boost
6836 * insetinclude.h: ditto
6837 * insetcommand.h: ditto
6839 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6841 * insettext.C (Edit): #else# -> #else.
6842 * insettoc.C: added using directive.
6844 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6846 * insetminipage.h: add pos, inner_pos, width and height. + getters
6847 and setters for all of them.
6849 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6851 * insetinclude.C (Latex): Do not exit when the textclass of the
6852 included file differ from the textclass of the parent file.
6854 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6856 * ExternalTemplate.C (read): the reading of external insets now checks
6857 for \end_inset and removes it form the input stream.
6859 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6861 * ExternalTemplate.h:
6862 * ExternalTemplate.C:
6864 * insetexternal.C: move form to GUII
6866 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6869 * insetinclude.C: add InsetIncludeParams, use
6870 composition rather than derivation of InsetCommand
6872 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6874 * insettoc.C (Ascii): use the Buffer typedefs
6876 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6878 * insettoc.C (Ascii): implement for dynamic number of lists
6880 * insetcaption.[Ch]: update from new_insets branch
6881 * insetfloat.[Ch]: ditto
6883 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6886 * figinset.C: use new File Dialog
6888 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6890 * insettext.C: changes becuase of ParagraphParameters.
6892 2001-02-28 Baruch Even <baruch@ev-en.org>
6894 * insetgraphics.C (updateInset): Changed due to the change in
6897 2001-02-26 Juergen Vigna <jug@sad.it>
6899 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6900 handled in LyXText).
6902 2001-02-23 Juergen Vigna <jug@sad.it>
6904 * insettext.C (draw): some small repainting fixes.
6905 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6907 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6908 should be) and not an int.
6910 * insettabular.C (LocalDispatch): ditto
6912 * insettext.C (LocalDispatch): ditto
6914 * insetcollapsable.C (LocalDispatch): ditto
6916 2001-02-22 Juergen Vigna <jug@sad.it>
6918 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6919 DISPATCH it and we don't have a locking_inset.
6921 2001-02-21 Baruch Even <baruch@ev-en.org>
6923 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6924 instead of GraphicsCacheItem *.
6926 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6928 * insetcollapsable.C (getLyXText): add const qualifier to second
6931 2001-02-22 Juergen Vigna <jug@sad.it>
6933 * insettext.C (getLyXText): honor the recursive parameter.
6934 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6936 * inset.C (getLyXText): added bool recursive parameter.
6938 * insettext.C (SetUpdateStatus): or the update codes.
6939 (draw): check need_update with &.
6940 (InsetButtonPress): set no_selection to not put a selection when
6941 entering an inset and it is redraws in another spot.
6943 * insettext.h: made need_update an int.
6945 2001-02-20 Baruch Even <baruch@ev-en.org>
6948 * insetgraphisc.C: Changed to use better semantics when loading images
6949 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6951 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6955 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6956 consistent with InsetTabular.
6958 2001-02-19 Juergen Vigna <jug@sad.it>
6960 * insettabular.C (LocalDispatch): implement PAGE up/down.
6962 * insettext.C (draw): clear all of it on need_update==INIT too!
6964 * insettabular.C (InsetUnlock): always clear the selection.
6966 * inset.C (scroll): normally we only want to scroll the inset until
6967 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6969 2001-02-14 Juergen Vigna <jug@sad.it>
6971 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6972 (resetPos): fixed scroll behaviour.
6973 (LocalDispatch): do an update if moving cursor inside a table cell
6974 requests a scroll of the tabular.
6976 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6978 * insettext.C (textWidth): constify local var
6980 * insettabular.C: small cleanup.
6982 * insetfoot.C (Latex): constify local var
6984 * insetcollapsable.C: small cleanup.
6986 * figinset.C (runqueue): use compare instead of strcmp
6988 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6991 * insetinfo.C: remove cruft
6993 2001-02-14 Juergen Vigna <jug@sad.it>
6995 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6997 2001-02-13 Juergen Vigna <jug@sad.it>
6999 * insettext.C (InsertInset): don't move left (is this right?)
7001 * insettabular.C (LocalDispatch): use of the no_draw variable
7003 * insettabular.h: new no_draw variable to stop redraw
7005 * insettabular.C (TabularFeatures): fixed update for alignment change
7007 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
7011 * insetbib.C: move dialogs to frontends/
7013 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
7015 * insettext.C (LocalDispatch): Restore the language if the inset
7018 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7020 * insettext.C (moveRightIntern): Update the selection cursor.
7021 (moveLeftIntern): Ditto.
7023 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7025 * Makefile.am: remove BoundingBox.h
7027 * BoundingBox.h: removed
7029 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7031 * insettext.C (LocalDispatch): Update selection cursor when moving
7032 cursor to the right.
7033 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7034 (moveLeftIntern): Ditto.
7036 2001-02-05 Baruch Even <baruch.even@writeme.com>
7038 * insetgraphics.C: Updated automatic image conversion, it now goes into
7039 temporary directory instead of with the image itself.
7041 2001-01-21 Baruch Even <baruch@ev-en.org>
7043 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
7044 to EPS or PNG when needed (support bitmap graphics).
7046 2000-11-02 Baruch Even <baruch@ev-en.org>
7049 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
7050 and removal of commented out code.
7052 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7054 * insetbib.C (callback): Update citations if the key has changed.
7056 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7058 * insetbib.C (InsetBibKey): Better computation of default key.
7059 (getScreenLabel) Show both the key and the label.
7060 (getBibLabel): New method.
7061 (callback): Force a redraw if the inset have been changed.
7063 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7065 * insetref.C (getType, getName): Move methods from
7066 src/frontends/xforms/FormRef.C.
7068 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7070 * insettabular.C: Various improvements (use only one dummy position).
7072 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7074 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7075 par->bibkey->width. This fixes the crashes when running without
7076 gui or when having included documents.
7078 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7080 * insetcommand.C (getAsString, setFromString): Cleanup.
7082 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7084 * insetref.C: Add the array InsetRef::types that contains
7085 information about all supported reference types.
7087 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7089 * lyxinset.h: remove trailing comma in enum.
7091 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7093 * insettext.C: kill LyXBell.