1 2004-05-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * insetgraphics.C (validate): remove pre 233 file format stuff,
4 handle zipped files for "nice" export
6 2004-05-05 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * insetgraphics.C (prepareFile): copy zipped file and corresponding
9 .bb file to the tmp dir if we don't unzip it (needed for dvi export)
10 * insetgraphics.C (prepareFile): unzip zipped file also if it has
11 changed since the last run
12 * insetgraphics.C (copyToDirIfNeeded): split into copyToDirIfNeeded
15 2004-04-29 Angus Leeming <leeming@lyx.org>
17 * ExternalTemplate.[Ch]: remove redundant #includes.
19 2004-04-28 Angus Leeming <leeming@lyx.org>
22 s/updateToolbar()/updateToolbars()/
24 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
26 * insetgraphics.C: require file extension (file format change!)
27 * insetgraphics.C (latex): handle zipped files for "nice" export
29 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
31 * insetgraphics.C (latex): strip the extension and replace dots in
32 the filename if doing a "nice" export. This is a partial fix for
33 bug 1231 without reintroducing bug 655.
35 2004-04-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
37 * insetoptarg.h: remove the editable() method (InsetCollapsable
38 does it better already)
40 * insetbibtex.C (normalize_name): new helper function. Changes the
41 name to be suitable to use in a latex file (relative to master
43 (latex): use normalize_name.
45 2004-04-20 Angus Leeming <leeming@lyx.org>
47 * render_preview.C (startLoading): remove lyxerr statement.
49 (getPreviewLoader): new helper function.
51 2004-04-19 Angus Leeming <leeming@lyx.org>
55 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
57 2004-04-19 Angus Leeming <leeming@lyx.org>
59 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
61 (add_preview): renamed as add_preview_and_start_loading. Invoke
62 RenderPreview::startLoading.
64 * insetinclude.C (metrics, draw): changes due to the changed
65 RenderPreview interface.
67 * render_preview.C: remove cached pimage_.
68 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
69 (draw): don't call startLoading. That's up to the user of
72 2004-04-16 Angus Leeming <leeming@lyx.org>
74 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
76 2004-04-13 Angus Leeming <leeming@lyx.org>
78 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
79 the renderer to inform LyX::updateInset that the inset's status
80 has changed and it should be redrawn.
82 * render_button.[Ch] (clone):
83 * render_graphic.[Ch] (c-tors, clone):
84 * render_preview.[Ch] (c-tors, clone): ditto.
86 * render_graphic.[Ch] (connect):
87 * render_preview.[Ch] (connect): removed, as connection is now
88 made in the constructors.
92 * insetinclude.C: ensuing simplification of the client code.
93 (statusChanged): now superfluous. Removed.
95 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
97 * ExternalTemplate.[Ch]: remove editCommand
98 * ExternalSupport.C (editExternal): use formats.edit() instead of
99 the removed editCommand template parameter
100 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
101 * insetgraphics.[Ch] (editGraphics): new method
103 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
105 * insetinclude.C (validate): set/reset features.buffer_ when
108 2004-04-07 Angus Leeming <leeming@lyx.org>
110 * insetexternal.C (priv_dispatch):
111 * insetinclude.C (priv_dispatch): prevent crash by invoking
112 InsetOld::priv_dispatch at the end of the switch, rather than
113 InsetOld::dispatch...
115 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
117 * insetcollapsable.C:
118 * insetbranch.C: 'assign' to open/close branch inset according to
119 selection; also print content on closed branch button
121 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
123 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
124 $$RelPath_Master, $$RelPath_Parent, $$Extension,
125 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
127 * ExternalSupport.C (updateExternal): use absolute and output
128 filename where appropriate
130 2004-04-05 André Pönitz <poenitz@gmx.net>
132 * insetbase.h: use LCursor & in notifyCursorLeave
134 2004-04-05 Angus Leeming <leeming@lyx.org>
136 * insetgraphics.C: remove unused header file "lyxrc.h".
138 * render_graphic.C: squash bug 1372: Misleading graphics label when
139 deactivating lyx view.
141 2004-04-05 Angus Leeming <leeming@lyx.org>
146 * insetlatexaccent.C:
151 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
153 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
155 * insetfloat.C (read): fix yesterday's float fix.
156 * insetwrap.C (read): apply the fixed float fix.
158 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
160 * insetfloat.C (read): fix reading of float params
163 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
165 * insettext.C (edit): comment the call to updateLocal (dangling now)
166 * insettext.h: add allowSpellCheck() returning true
168 2004-03-31 Angus Leeming <leeming@lyx.org>
170 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
172 2004-03-31 Angus Leeming <leeming@lyx.org>
174 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
175 the cursor out of an inset.
177 * insetbranch.C (priv_dispatch):
178 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
179 use getOutOfInset to push the cursor out of the inset when
182 2004-03-30 Angus Leeming <leeming@lyx.org>
184 * insetbase.[Ch] (translate): new static member function, returns
185 an InsetBase::Code corresponding to the input string.
187 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
189 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
190 so that it opens the inset if it refers to the currently active
193 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
195 * insetfloat.C (addToToc): use par_const_iterator_begin and
196 par_const_iterator_end.
198 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
200 * insetbibtex.[Ch]: bibtopic support.
202 * insetfloat.[Ch]: add param \sideways {true|false}
203 (support for sideways floats from rotating.sty).
205 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
207 * insettext.[Ch]: add a default ctor. implement const version of
213 * insetwrap.C: adjust
215 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
217 * insettext.h: add insetAllowed returning true by default (fixing
218 vanishing insets problem)
220 * insettext.C (draw): handle the responsability of adding the
221 ouside offset to collapsable. Clean code a bit.
223 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
224 from insettext correctly, solve a couple of off-by-one drawing
227 2004-03-25 Angus Leeming <leeming@lyx.org>
229 * insetcaption.C (draw): squash warning about unused variable.
231 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
233 * ExternalSupport.C: use the master buffer's temp dir
234 * insetgraphics.C (latex): make relative filename relative to the
236 * insetgraphics.C: use the master buffer's temp dir
237 * insetinclude.C (masterFilename): new function
238 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
239 is always true if loadIfNeeded() returns true)
241 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
243 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
244 set its parent to the current buffer.
245 (latex): use the tmppath of the master buffer, not just the parent
246 buffer (makes a difference with more than one level of include
247 insets). If the file name is relative write in the .tex file a
248 name relative to the master buffer directory.
250 * insetinclude.C: rename masterFilename to parentFilename (this
251 points to the direct parent)
253 2004-03-25 André Pönitz <poenitz@gmx.net>
255 * inset.[Ch]: remover owner
257 * insetcollapsable.[Ch]: derive from InsetText instead having such a
265 * insetcharstyle.[Ch]:
273 * insetwrap.C: adjust
275 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
277 * insetquote.C: use opening quote after '[' char.
279 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
281 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
284 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
286 * insetcite.[Ch]: support jurabib.
288 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
290 * insetcite.C: Support second \cite option.
293 * insetcommandparams.[Ch]: add second optional argument.
295 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
297 * insetcollapsable.C (lfunMouseRelease): right mouse button only
298 shows the inset dialog.
300 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
302 * insetlabel.[Ch]: remove them
303 * Makefile.am: adjust
305 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
307 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
309 * insetinclude.C (latex): show a GUI warning if textclasses don't
311 * insetinclude.C: use mangledFilename() for temp files
312 * insetgraphics.C (readInsetGraphics): remove version check, since
313 the graphics inset has no own fileformat number anymore
315 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
317 * insetquotes.[Ch]: added new member that allows direct access
318 to single/double quotation marks.
320 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
322 2004-02-16 André Pönitz <poenitz@gmx.net>
325 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
326 implicitly assume 'DispatchResult(true, true) with exception of
327 InsetBase::priv_dispatch which does the equivalent of
328 'retrun DispatchResult(false)'
330 * inset*.[Ch] (priv_dispatch): adjust
332 * insettabular.[Ch]: remove remains of the 'update' mechanism,
333 simplify cursor moving function,
334 re-enable horizontal scrolling for large tables
336 2004-02-13 André Pönitz <poenitz@gmx.net>
338 * insettabular.[Ch]: some work after IU
340 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
342 * inset.C (setPosCache): switch to absolute coords in insets
343 * insettext.[Ch] (draw, drawFrame): adjust
344 * insetcollapsable.C (draw): adjust
347 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
349 * insettext.C (edit):
350 (updateLocal): use the cur argument instead of the global cursor
351 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
353 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
355 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
357 * insetfloat.C (validate): "H" -> 'H' in call to contains
359 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
361 2004-01-30 André Pönitz <poenitz@gmx.net>
365 * insetcollapsable.[Ch]:
368 * insetgraphics.[Ch]:
373 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
376 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
378 * insettabular.C: add using statement for std::vector, remove
379 std:: where using was already used.
381 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
383 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
385 * insetinclude.C (validate): use feautures.nice() instead of
388 2004-01-20 André Pönitz <poenitz@gmx.net>
391 * insetbase.[Ch]: move stuff from mathcursor here.
397 * insetcharstyle.[Ch]:
398 * insetcollapsable.[Ch]:
401 * insetexternal.[Ch]:
403 * insetgraphics.[Ch]:
412 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
414 2004-01-15 André Pönitz <poenitz@gmx.net>
421 * insetcharstyle.[Ch]:
422 * insetcollapsable.[Ch]:
425 * insetexternal.[Ch]:
427 * insetgraphics.[Ch]:
436 * updatableinset.[Ch] (priv_dispatch et al): change signature.
438 2004-01-08 André Pönitz <poenitz@gmx.net>
440 * insetcollapsable.[Ch]:
443 * updatableinset.h: use cell index info from global cursor.
445 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
447 * insetnote.C (InsetNoteParams::write): write label only once
449 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
451 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
453 get rid of the SameName functor
455 * insettabular.C: improve the functor.
457 2003-12-29 Angus Leeming <leeming@lyx.org>
459 * insetexternal.C (setParams): update defaultTemplateName.
461 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
463 * insetbox.C: Use term "Box" in button label
465 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
467 * insetcharstyle.C: get getDrawFont working again
469 2003-12-15 André Pönitz <poenitz@gmx.net>
472 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
474 2003-12-12 Angus Leeming <leeming@lyx.org>
476 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
478 (InsetBranchParams): remove the branchlist hack.
479 (isBranchSelected): new function, used to decide whether to
480 print each output format. Also used by InsetList.
481 (read, string2params): repair my own breakage ;-)
483 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
485 * insetminipage.[Ch]: remove from repository.
487 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
490 * insetcollapsable.[Ch]: Move all CollapseStatus code from
491 insetert to insetcollapsable; introduce virtual function
492 setButtonLabel and invoke it from collapsable
494 2003-12-12 Angus Leeming <leeming@lyx.org>
496 * insetinclude.C (draw): cache x,y and so enable the
499 2003-12-12 Angus Leeming <leeming@lyx.org>
501 * mailinset.C (print_mailer_error): tidy up the output.
503 2003-12-11 Angus Leeming <leeming@lyx.org>
505 * mailinset.[Ch] (print_mailer_error): new helper function.
507 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
508 calling InsetCommandMailer.
509 (InsetCommandMailer::string2params): pass the name of the dialog.
511 * insetbibitem.[Ch] (d-tor):
512 * insetbibtex.[Ch] (d-tor):
513 * insetcite.[Ch] (d-tor):
514 * insetfloatlist.[Ch] (d-tor):
515 * insetindex.[Ch] (d-tor):
516 * insetlabel.[Ch] (d-tor):
517 * insetref.[Ch] (d-tor):
518 * insettoc.[Ch] (d-tor):
519 * inseturl.[Ch] (d-tor): removed.
520 Hiding the dialog is handled by InsetCommand.
522 * insetbibtex.[Ch] (draw, metrics):
523 * insetfloatlist.[Ch] (draw, metrics):
524 * insetindex.[Ch] (draw, metrics): removed.
525 Drawing is handled by InsetCommand.
527 * insetbibitem.[Ch] (priv_dispatch):
528 * insetbibtex.[Ch] (priv_dispatch):
529 * insetcite.[Ch] (priv_dispatch):
530 * insetfloatlist.[Ch] (priv_dispatch):
531 * insetindex.[Ch] (priv_dispatch):
532 * insetlabel.[Ch] (priv_dispatch):
533 * insettoc.[Ch] (priv_dispatch):
534 * inseturl.[Ch] (priv_dispatch): removed or simplified.
535 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
536 LFUN_INSET_DIALOG_SHOW.
538 * insetbox.C (string2params):
539 * insetbranch.C (string2params):
540 * insetert.C (string2params):
541 * insetexternal.C (string2params):
542 * insetfloat.C (string2params):
543 * insetinclude.C (string2params):
544 * insetminipage.C (string2params):
545 * insetnote.C (string2params):
546 * insetvspace.C (string2params):
547 * insetwrap.C (string2params): over-hauled.
549 2003-12-10 Angus Leeming <leeming@lyx.org>
551 * insetexternal.[Ch]: add a draft option and respect it when
554 2003-12-10 Angus Leeming <leeming@lyx.org>
556 * insetbox.C: (read, write): now prepend the inset contents with
557 'Box' to identify the inset as a box inset.
559 * insetbox.h: move the translators out of sight.
561 2003-12-10 Angus Leeming <leeming@lyx.org>
563 * insetert.C (string2params): clean-up using the new lyxlex interface.
565 * insetexternal.C: ensure that InsetExternalParams has a default
566 template, 'RasterImage'.
568 2003-12-10 Angus Leeming <leeming@lyx.org>
570 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
571 to an enum. Ensuing clean-ups through out the class.
572 (read, write): now prepend the inset contents with 'Note' to identify
573 the inset as a note inset.
575 2003-12-10 Angus Leeming <leeming@lyx.org>
577 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
578 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
580 2003-12-10 André Pönitz <poenitz@gmx.net>
585 * insettext.[Ch]: remove unused insetInset()
587 * insetert.C: disable some LFUNs
589 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
591 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
593 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
595 2003-12-04 Angus Leeming <leeming@lyx.org>
597 * insetexternal.C (draw): update the xo_, yo_ cache.
599 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
601 (RotationDataType): new helper struct wrapping the
602 RotationData::OriginType enum.
604 2003-12-03 André Pönitz <poenitz@gmx.net>
606 * inset.h: remove getParagraphs()
608 * insetcollapsable.[Ch]:
612 * insettext.C: use getText() instead of getParagraphs()
614 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
616 * insetert.C: fix label text updating bug
618 2003-12-02 Angus Leeming <leeming@lyx.org>
620 * insetvspace.[Ch] (space): new member function. Make space_ private.
621 (read): use the new, simpler lyxlex syntax.
623 2003-12-01 André Pönitz <poenitz@gmx.net>
625 * insetcollapsable.[Ch]:
626 * insetert.[Ch]: move 'inline' state to InsetCollapsable
628 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
630 * insetvspace.C (read): handle 'end_inset' token.
632 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
634 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
636 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
638 * insetcollapsable.[Ch]:
640 * insetcharstyle.C: place inset content on the button when
643 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
645 * insetvspace.C: remove VSpace::NONE; increase inset width
647 2003-12-01 André Pönitz <poenitz@gmx.net>
649 * insetbase.h: whitespace
651 * inset.[Ch]: remove latexTextWidth
652 make setBackgroundColor virtual
654 * insettext.[Ch]: move ParagraphList member to LyXText
656 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
662 * insetminipage.[Ch]:
664 * insetwrap.[Ch]: adjust paragraphs and background color handling,
666 2003-11-28 Angus Leeming <leeming@lyx.org>
668 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
669 hiding and showing the dialog respectively.
670 (priv_dispatch): also actually update the inset contents.
672 2003-11-28 Angus Leeming <leeming@lyx.org>
674 * insetbox.C (d-tor):
675 * insetbranch.C (d-tor):
676 * insetcite.C (d-tor):
677 * insetfloat.C (d-tor):
678 * insetfloatlist.C (d-tor):
679 * insetinclude.C (d-tor):
680 * insetindex.C (d-tor):
681 simplify the invocation of the Mailer::hideDialog() function.
683 * insetminipage.C (showInsetDialog):
684 simplify the invocation of the Mailer::showialog() function.
686 2003-11-28 André Pönitz <poenitz@gmx.net>
689 * insetvspace.[Ch]: new insets
691 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
693 * insetcharstyle.C: Syntax change for CharStyles
695 2003-11-28 André Pönitz <poenitz@gmx.net>
697 * updatableinset.h: remove insetInInsetY
699 * insetcollapsable.[Ch]:
702 * insettext.[Ch]: adjust
704 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
708 * insetcollapsable.[Ch]:
710 * insettabular.[Ch]: remove setFont
712 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
714 * render_graphic.[Ch]: adjust comments
716 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
718 * insetgraphics.C (draw): cache xo_ & yo_
720 2003-11-24 André Pönitz <poenitz@gmx.net>
722 * insettext.C (setViewCache): don't call LyXText::init() anymore
724 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
727 * insetcollapsable.[Ch]:
728 * insetert.[Ch]: remove bufferview parameter in methods
729 open, close, status, and updateStatus.
731 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
733 * insetcollapsable.[Ch]:
735 * insettext.[Ch] (getCursorDim): squash unused variable
737 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
739 * insettext.C (edit): x0_,y0_ -> xo_,yo_
741 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
743 * insettext.C (draw): sets LyXText absolute coordinates
745 2003-11-20 Angus Leeming <leeming@lyx.org>
747 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
748 about unused parameters.
750 * insetcollapsable.C (open):
751 * insettabular.C (pasteSelection):
752 * insettoc.C (draw): ditto.
754 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
756 * insetcollapsable.C:
758 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
759 remove mouse_x mouse_y etc.
761 2003-11-17 André Pönitz <poenitz@gmx.net>
763 * insettext.[Ch] (cx, cy): remove
765 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
767 2003-11-13 André Pönitz <poenitz@gmx.net>
770 * insetcollapsable.[Ch]:
772 * insettext.[Ch] (deleteLyXText): remove
774 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
776 * insetcollapsable.[Ch] (fitInsetCursor): remove
777 * insettabular.[Ch] (fitInsetCursor): remove
778 * insettext.[Ch] (fitInsetCursor): remove
779 * updatableinset.[Ch] (fitInsetCursor): remove
780 (getCursorDIm): add virtual
782 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
784 * src/insets/Makefile.am:
785 * src/insets/inset.h:
786 * src/insets/insetcharstyle.C:
787 * src/insets/insetcharstyle.h: The Character Style /XML short
790 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
792 * insettext.C: remove all update calls
793 * insetcollapsable.C: remove all update calls
795 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
797 * insettext.C (updateLocal, insertInset, setFont): remove
800 2003-11-10 André Pönitz <poenitz@gmx.net>
802 * inset.h: remove Inset::id_
804 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
807 2003-11-10 André Pönitz <poenitz@gmx.net>
811 * insetcollapsable.[Ch]:
818 * updatableinset.[Ch]: remove inset locking & adjust
820 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
822 * inset.h (allowSpellCheck): add (return true)
823 * insetert.h (allowSpellCheck): add (return false)
825 2003-11-05 José Matos <jamatos@lyx.org>
833 * insetcollapsable.[Ch]:
837 * insetexternal.[Ch]:
839 * insetfloatlist.[Ch]:
841 * insetgraphics.[Ch]:
846 * insetlatexaccent.[Ch]:
849 * insetmarginal.[Ch]:
850 * insetminipage.[Ch]:
854 * insetpagebreak.[Ch]:
858 * insetspecialchar.[Ch]:
864 * insetwrap.[Ch]: rename ascii to plaintext
865 and LatexRunParams to OutputParams.
867 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
869 * insetcollapsable.C (edit): add open() all
870 * insettext.C (edit): add setViewCache call
872 2003-11-04 André Pönitz <poenitz@gmx.net>
874 * inset.h (edit): move locking code from dispatch() to edit()
880 * insetcollapsable.[Ch]:
883 * insetexternal.[Ch]:
884 * insetgraphics.[Ch]:
890 * insettext.[Ch]: adjust
892 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
895 * insetcollapsable.[Ch]:
899 * updatableinset.[Ch]: remove dead search code
901 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
904 * insetcollapsable.[Ch]:
908 * updatableinset.[Ch]: remove dead spellcheck code
910 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
912 * insettabular.C (lockInsetInInset): small fix
914 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
916 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
917 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
918 from here. Be stricter on DispatchResult returned.
920 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
922 * Inset::dispatch's: adjust for new DispatchResult semantics.
924 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
926 * render_base.h: make clone return an auto_ptr
927 * render_button.C (clone): adjust
928 * render_graphic.C (clone): adjust
929 * render_preview.C (clone): adjust
931 * insettheorem.C (clone): return an auto_ptr
933 * insettext.C (priv_dispatch): exception safety
935 * insettabular.C: store the file scope variable paste_tabular in a
936 scoped_ptr, adjust usage.
938 * insetexternal.C (setParams): exception safety
940 * insetbibitem.C (clone): exception safety
942 2003-11-03 André Pönitz <poenitz@gmx.net>
945 * insetcollapsable.[Ch]:
947 * insettext.[Ch]: remove Inset::id and related functions
949 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
951 * insets: adjust for DispatchResult changes.
953 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
955 * insetpagebreak.C: fix screen representation & ascii output.
957 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
962 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
964 2003-10-31 José Matos <jamatos@lyx.org>
966 * inset.h (ascii, linuxdoc, docbook):
967 * insetbox.[Ch] (ascii, linuxdoc, docbook):
968 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
969 * insetcaption.[Ch] (ascii, docbook):
970 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
971 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
972 * insetert.[Ch] (ascii, linuxdoc, docbook):
973 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
974 * insetfloat.[Ch] (linuxdoc, docbook):
975 * insetfloatlist.[Ch] (ascii):
976 * insetfoot.[Ch] (docbook):
977 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
978 * insethfill.[Ch] (ascii, linuxdoc, docbook):
979 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
980 * insetindex.[Ch] (docbook):
981 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
982 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
983 * insetline.[Ch] (ascii, linuxdoc, docbook):
984 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
985 * insetnote.[Ch] (ascii, linuxdoc, docbook):
986 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
987 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
988 * insetref.[Ch] (ascii, linuxdoc, docbook):
989 * insetspace.[Ch] (ascii, linuxdoc, docbook):
990 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
991 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
992 * insettext.[Ch] (ascii, linuxdoc, docbook):
993 * insettoc.[Ch] (ascii, linuxdoc, docbook):
994 * inseturl.[Ch] (ascii, linuxdoc, docbook):
995 * insetwrap.[Ch] (docbook):
996 add LatexRunParams argument.
998 2003-10-30 José Matos <jamatos@lyx.org>
1000 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
1002 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1004 * updatableinset.C (priv_dispatch):
1005 * insetwrap.C (priv_dispatch):
1006 * inseturl.C (priv_dispatch):
1007 * insettoc.C (priv_dispatch):
1008 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
1009 (moveLeftIntern, moveUp, moveDown):
1010 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
1011 (moveLeft, moveUp, moveDown):
1012 * insetref.C (priv_dispatch):
1013 * insetnote.C (priv_dispatch):
1014 * insetminipage.C (priv_dispatch):
1015 * insetlabel.C (priv_dispatch):
1016 * insetindex.C (priv_dispatch):
1017 * insetinclude.C (priv_dispatch):
1018 * insetgraphics.C (priv_dispatch):
1019 * insetfloatlist.C (priv_dispatch):
1020 * insetfloat.C (priv_dispatch):
1021 * insetexternal.C (priv_dispatch):
1022 * insetert.C (priv_dispatch):
1023 * insetcommand.C (priv_dispatch):
1024 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
1025 * insetcite.C (priv_dispatch):
1026 * insetbranch.C (priv_dispatch):
1027 * insetbox.C (priv_dispatch):
1028 * insetbibtex.C (priv_dispatch):
1029 * insetbibitem.C (priv_dispatch):
1030 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
1032 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
1034 * insettext.C: small refactoring of docbook stuff
1036 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1038 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
1039 (priv_dispatch): adjust for operator dispatch_result_t removal
1041 * insettabular.C (lfunMouseRelease): put the result of a dispatch
1042 in a DispatchResult, adjust accordingly.
1043 (priv_dispatch): use strange >= construct... (will be removed later)
1045 * most insets: dispatch_result -> DispatchResult
1047 * insetbase.h: move DispatchResult out to dispatchresult.h
1049 2003-10-27 André Pönitz <poenitz@gmx.net>
1051 * insetpagebreak.[Ch]: new inset for page breaks
1053 * insetline.[Ch]: new inset for vertical lines
1058 2003-10-25 Angus Leeming <leeming@lyx.org>
1060 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1061 new virtual member functions, specialised...
1062 * render_button.h (asButton):
1063 * render_graphic.h (asGraphic):
1064 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1066 * insetexternal.C: use these new functions rather than dynamic_cast.
1067 Various other small simplifications.
1069 2003-10-22 Angus Leeming <leeming@lyx.org>
1071 * insetexternal.[Ch]: add the ability to 'preview' the external file
1074 * insetinclude.C: changes due to the changes in the RenderPreview
1077 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1078 message if the preview image is not available. Only initiate the
1079 loading of the preview from draw(). Ditto, start the monitoring
1080 of an external file from RenderMonitoredPreview::draw.
1082 2003-10-22 Angus Leeming <leeming@lyx.org>
1084 * insetcite.[Ch] (setLoadingBuffer): removed.
1085 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1086 ascertain whether to proceed with the (expensive) task of computing
1087 the natbib-style label. Remove the home-grown hack providing
1088 similar functionality.
1090 2003-10-22 Angus Leeming <leeming@lyx.org>
1092 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1093 class and into an anonymous namespace.
1095 2003-10-22 Angus Leeming <leeming@lyx.org>
1097 * insetcommand.h: remove the display method.
1101 * insetindex.h (InsetPrintIndex):
1102 * insettoc.h: add a display method, returning true.
1104 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1106 * insetcollapsable.h:
1110 * insetinclude.h: (1) finish off the inset display() work;
1111 (2) fix the "is a bit silly" bug (accessing char
1114 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1118 * insetfootlike.h: re-introduce display() for insets,
1119 fixing the various bugs (stretch of line above, math inset
1122 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1124 * insetbase.C (dispatch): new func
1125 (priv_dispatch): new func replaces...
1126 (localDispatch): this, deleted.
1128 * all insets with dispatch modified for new code.
1130 2003-10-15 André Pönitz <poenitz@gmx.net>
1132 * insetcollapsable.[Ch]
1134 * inset.h: re-add some edit(bv, index) method called by undo
1136 2003-10-14 Angus Leeming <leeming@lyx.org>
1138 * insetexternal.[Ch] (view, cache, view_):
1139 * insetgraphics.[Ch] (view, cache, view_):
1140 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1141 (statusChanged): call LyX::cref().updateInset.
1143 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1144 the BufferView cache.
1146 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1149 2003-10-14 Angus Leeming <leeming@lyx.org>
1151 * insetinclude.C (metrics, draw): only draw the preview when previews
1154 2003-10-14 André Pönitz <poenitz@gmx.net>
1156 * insetcollapsable.[Ch]:
1157 * insettabular.[Ch]:
1159 * inset.h: getText() as alternative to getParagraphs()
1161 2003-10-13 Angus Leeming <leeming@lyx.org>
1164 * insetgraphicsParams.C: displayTranslator is now a function.
1166 2003-10-13 Angus Leeming <leeming@lyx.org>
1168 * insetinclude.C: remove #include "PreviewImage.h".
1170 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1172 * ExternalSupport.C:
1173 * ExternalTransforms.C:
1175 * insetbox.h: ws changes only
1177 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1179 * insetinclude.C (localDispatch): do not call
1180 InsetOld::localDispatch, just return UNDISPATCHED
1181 * insetgraphics.C (localDispatch): ditto
1182 * insetcommand.C (localDispatch): ditto
1184 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1186 * inset.h: get rid of RESULT typedef for dispatch_result
1188 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1189 * insetert.[Ch] (localDispatch): ditto
1190 * insettabular.[Ch] (localDispatch): ditto
1195 * insettext.[Ch] (localDispatch): ditto
1198 (moveRightIntern): ditto
1199 (moveLeftIntern): ditto
1202 * updatableinset.[Ch] (localDispatch): ditto
1204 2003-10-12 Angus Leeming <leeming@lyx.org>
1206 * renderbase.h (view, view_): removed.
1207 * renderbase.C: removed.
1208 * Makefile.am: remove render_base.C. The shortest lived file in
1211 * renderbutton.C (draw):
1212 * render_graphic.C (draw): don't cache the BufferView.
1214 * insetabase.h (cache, view): removed.
1216 * inset.h (generatePreview) removed.
1218 * insetcallapsable.[Ch] (cache, view, view_): removed.
1220 * insetcollapsable.C (draw): don't cache the BufferView.
1222 * insetcommand.[Ch] (view): removed.
1224 * insetexternal.[Ch] (cache, view, view_):
1225 * insetgraphics.[Ch] (cache, view, view_):
1226 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1228 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1229 when you have direct access to it. In fact, don't use the cache at all.
1231 2003-10-10 Angus Leeming <leeming@lyx.org>
1233 * insetinclude.C (metrics): use preview_->metrics.
1234 (draw): use preview_->draw.
1236 * render_preview.[Ch] (pimage): removed.
1238 2003-10-10 Angus Leeming <leeming@lyx.org>
1240 * renderers.[Ch]: removed.
1243 * render_button.[Ch]:
1244 * render_graphic.[Ch]:
1245 * render_preview.[Ch]: new files. The first three are split out of
1246 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1247 contains a re-worked InsetInclude::PreviewImpl also.
1249 * Makefile.am: reflect the changed files.
1252 * insetexternal.[Ch]:
1253 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1255 * insetinclude.[Ch]: changes reflecting the change from
1256 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1262 * inseturl.C: add #include "support/std_ostream.h"
1264 2003-10-09 Angus Leeming <leeming@lyx.org>
1266 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1267 to PreviewedInset::previewReady.
1269 2003-10-09 Angus Leeming <leeming@lyx.org>
1271 * insetexternal.[Ch] (statusChanged):
1272 * insetgraphics.[Ch] (statusChanged): make a const member function.
1274 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1277 2003-10-09 Angus Leeming <leeming@lyx.org>
1279 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1280 to PreviewedInset's previewReady and removePreview member functions.
1282 2003-10-08 André Pönitz <poenitz@gmx.net>
1284 * insetcollapsable.C:
1285 * insettext.[Ch]: saner 'init' structure
1287 * updatableinset.[Ch]: remove unneeded code
1289 2003-10-08 Angus Leeming <leeming@lyx.org>
1291 Fix doxygen warnings.
1293 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1294 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1296 2003-10-07 Angus Leeming <leeming@lyx.org>
1298 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1299 be applied to InsetExternal.
1301 * Makefile.am: add these new files.
1303 * ExternalTemplate.[Ch]: add a list of available transforms to
1304 class Template and a list of factory functions for transformer classes
1305 that can act on this data to class Format.
1307 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1309 * ExternalSupport.C: Add code to replace transform placeholders
1310 with appropriate output.
1312 2003-10-07 Angus Leeming <leeming@lyx.org>
1314 * ExternalSupport.[Ch]: new files, moving the private member functions
1315 and namespace anon functions out of insetexternal.C to here, so making
1316 it easier to understand what is going on in insetexternal itself.
1318 * Makefile.am: add new files.
1320 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1321 allowing the class to be forward declared. (Also consistent with
1322 all other Params classes.)
1323 (write): moved out of the class. Move this function and those in
1324 namespace anon to ExternalSupport.[Ch].
1326 2003-10-07 Angus Leeming <leeming@lyx.org>
1328 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1329 non-const member function.
1331 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1336 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1338 2003-10-02 André Pönitz <poenitz@gmx.net>
1340 * insettext.C (read): make sure there is at least one par
1341 in the text after reading.
1343 2003-10-01 José Matos <jamatos@lyx.org>
1345 * insetbranch.C (linuxdoc, docbook): minor fix.
1347 2003-10-01 Angus Leeming <leeming@lyx.org>
1349 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1351 * insetexternal.[Ch]: changes due to the introduction of
1352 namespace lyx::external.
1354 2003-09-30 Angus Leeming <leeming@lyx.org>
1356 * insetexternal.[Ch] (Params::read, write): new member functions.
1358 2003-09-25 Angus Leeming <leeming@lyx.org>
1360 * insetexternal.[Ch] (TempName): new (private) nested struct with
1361 fake copy semantics. Enables us to use the generated copy c-tor
1362 in the Params struct.
1363 (Params::templatename, Params::tempname): use accessor functions.
1365 2003-09-25 Angus Leeming <leeming@lyx.org>
1367 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1368 function, returning a const pointer.
1370 2003-09-23 Angus Leeming <leeming@lyx.org>
1372 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1373 store them in a vector, preambleNames.
1375 * insetexternal.C (validate): loop over all preambleNames and call
1376 LaTeXFeatures::addExternalPreamble with each.
1378 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1380 * insetbranch.C: bug fix in branches
1382 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1384 * insetnote.C: small clean-up.
1386 2003-09-19 Angus Leeming <leeming@lyx.org>
1388 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1390 * insetcommand.C (string2params): clear params using the default c-tor.
1392 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1393 InsetInclude::Params. No more data in this struct than in
1394 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1395 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1396 (clone): remove #warning as it's now redundant.
1397 (set): add a 'Buffer const &' arg. Make private.
1398 (loadIfNeeded) move out of the class definition and into namespace anon.
1399 (getMasterFilename, getFileName): ditto.
1401 2003-09-18 Angus Leeming <leeming@lyx.org>
1403 * insetcommand.C (setParams): use the params' copy constructor.
1405 2003-09-18 Angus Leeming <leeming@lyx.org>
1407 * insetinsetbase.h (getLabelList):
1408 * insetinsetcollapsable.[Ch] (getLabelList):
1409 * insetinsetinclude.[Ch] (getLabelList):
1410 * insetinsetlabel.[Ch] (getLabelList):
1411 * insetinsettabular.[Ch] (getLabelList):
1412 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1413 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1415 2003-09-18 Angus Leeming <leeming@lyx.org>
1417 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1418 redundant baggage from yesteryear.
1419 Remove Params::flag as it is redundant; the info is present in
1422 2003-09-18 Angus Leeming <leeming@lyx.org>
1424 * insetinclude.C (latexString): add a Buffer const & arg.
1426 2003-09-18 Angus Leeming <leeming@lyx.org>
1431 * insettext.h: rename EnumLColor as LColor_color.
1433 2003-09-18 Angus Leeming <leeming@lyx.org>
1435 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1436 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1438 2003-09-16 Angus Leeming <leeming@lyx.org>
1440 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1441 set before trying to generate a preview, else we trigger an assert.
1443 2003-09-16 Angus Leeming <leeming@lyx.org>
1445 * insetinclude.C (PreviewImpl::parent): return a const reference.
1447 2003-09-16 Angus Leeming <leeming@lyx.org>
1449 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1451 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1453 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1454 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1456 * insetminipage.C (metrics):
1457 * insetnote.C (metrics):
1458 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1459 access collapsed_ directly.
1461 2003-09-16 Angus Leeming <leeming@lyx.org>
1463 * insetbibitem.C: add #include "lyxfont.h".
1465 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1468 * insetbibtex.C: use namespace alias for lyx::support::os
1470 2003-09-16 Angus Leeming <leeming@lyx.org>
1472 * insetcollapsable.h: remove unused framecolor variable.
1473 Remove #include "LColor.h".
1475 * insetcollapsable.C: remove unused framecolor variable.
1478 * insetcollapsable.C:
1486 Add #include "LColor.h".
1488 2003-09-16 Angus Leeming <leeming@lyx.org>
1490 * insettext.[Ch] (frameColor): new accessor function.
1491 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1497 add #include "LColor.h".
1499 * insetcollapsable.h: add #include "LColor.h"
1500 (for its framecolor member variable).
1502 2003-09-16 Angus Leeming <leeming@lyx.org>
1504 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1506 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1507 rename frame_color as frame_color_. Make private.
1509 * insettext.C: associated changes.
1511 2003-09-16 Angus Leeming <leeming@lyx.org>
1513 * inset.h: store background_color_ as an int, not as an LColor::color to
1514 get LColor.h out of the header file.
1517 * insetlatexaccent.C:
1520 * insetspecialchar.C:
1522 add #include "LColor.h".
1524 2003-09-16 Angus Leeming <leeming@lyx.org>
1526 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1529 2003-09-15 Angus Leeming <leeming@lyx.org>
1531 * inset.[Ch] (setBackgroundColor, backgroundColor):
1532 * insettext.[Ch] (setFrameColor):
1533 pass EnumLColor args, rather than LColor::color ones.
1535 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1545 * insetwrap.C: remove usage of STRCONV
1547 2003-09-15 Angus Leeming <leeming@lyx.org>
1549 * renderers.C (draw):
1550 * insetlatexaccent.C (draw): explicitly define the color passed to
1553 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1555 * insettext.C: remove block causing problems in lockInsetInInset
1556 (mentioned erroneously under Bug #1366)
1558 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1560 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1563 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1565 * several files: change Assert to BOOST_ASSERT
1567 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1569 * insettext.[Ch]: remove drawText[XY]Offset
1571 2003-09-08 Angus Leeming <leeming@lyx.org>
1573 * insetcollapsable.C:
1578 * insetspecialchar.C:
1581 * insettoc.C: remove redundant using directives.
1583 2003-09-07 Angus Leeming <leeming@lyx.org>
1586 * insetspecialchar.h: remove #include "support/std_string.h".
1588 2003-09-06 Angus Leeming <leeming@lyx.org>
1590 * renderers.C: add #include "insets/inset.h"
1592 2003-09-05 Angus Leeming <leeming@lyx.org>
1594 * *.C: strip out redundant #includes. (193 in total.)
1596 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1598 * insets/insetbibtex.[Ch]:
1599 * insets/insetcommand.h:
1600 * insets/insetfloatlist.[Ch]:
1601 * insets/insetinclude.[Ch]:
1602 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1603 of insets like bibtex, include, toc and floatlist to the visible
1604 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1605 up the dialogs. Cursor has to be in front of the inset (i.e.
1606 start of row) for this to function.
1608 2003-09-04 Angus Leeming <leeming@lyx.org>
1610 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1611 structure outside of the Format struct. Format::preambleName refers to
1612 an item in the map of all preamble snippets.
1613 Make use of the new Debug::EXTERNAL flag.
1615 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1616 (validate): Small change due to the changed storage of preamble snippets.
1618 2003-09-04 Angus Leeming <leeming@lyx.org>
1620 * insetgraphics.C: #include "support/os.h"
1622 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1623 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1624 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1626 * insetcollapsable.h:
1628 * insetnote.C: move #include "funcrequest.h" out of the header file.
1630 2003-09-03 Angus Leeming <leeming@lyx.org>
1632 * insetexternal.C (updateExternal):
1633 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1636 2003-09-03 Angus Leeming <leeming@lyx.org>
1638 * insetexternal.C: don't bring namespace lyx::support into the global
1641 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1643 * insetbranch.C: Add Branch: to label
1645 2003-09-02 John Levon <levon@movementarian.org>
1648 * insettext.C: remove cursor.i[xy]()
1650 2003-08-28 Angus Leeming <leeming@lyx.org>
1652 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1653 "sh ", enabling the conversion to be carried out even if the script
1656 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1658 * most files: change to use const Buffer refs
1660 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1662 * insetfootlike.C: whitespace.
1664 2003-08-26 John Levon <levon@movementarian.org>
1668 * insetindex.h: remove remaining mentions of needFullRow()
1670 2003-08-26 André Pönitz <poenitz@gmx.net>
1676 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1678 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1680 * insetbranch.C: Small fix to prevent a crash on loading.
1682 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1687 * insetcollapsable.h:
1689 * insetfloatlist.[Ch]:
1690 * insetfootlike.[Ch]:
1691 * insetinclude.[Ch]:
1697 * insettheorem.[Ch]:
1698 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1699 altogether, putting the logic in metrics/draw in the insets.=20
1700 Draws short single row insets with more or less realistic metrics.
1702 2003-08-19 André Pönitz <poenitz@gmx.net>
1704 * insettext.C: use new RowPainter interface
1706 2003-08-18 John Levon <levon@movementarian.org>
1708 * insetref.C: require amsmath for eqref
1710 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1714 * insetbranch.[Ch]: implements the 'branch inset'
1715 idea. This allows the output of various versions of a document
1716 from a single source version, selectively outputing or suppressing
1717 output of parts of the text.
1718 This implementation contains a 'branch list editor' in a separate
1719 tab of the document settings dialog. Branches are user definable
1720 and have a "display colour" to distinguish them on-screen.
1722 ColorHandler was somewhat cleaned up.
1723 (1) make possible a dynamically growing LColor list by allowing
1724 the graphic context cache to grow along (vector);
1725 (2) eliminate an IMHO unnecessary step in colour allocation.
1727 2003-08-15 André Pönitz <poenitz@gmx.net>
1729 * insettext.[Ch]: adjust after rowlist split
1731 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1733 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1734 rename valign-center to valign-middle;
1735 rename VALIGN_CENTER to VALIGN_MIDDLE
1737 2003-08-11 André Pönitz <poenitz@gmx.net>
1739 * inset.h: remove resizeLyXText
1742 * insetcollapsable.[Ch]:
1744 * insettabular.[Ch]: adjust
1746 * insettext.[Ch]: remove saveLyXTextState,
1747 restoreLyXTextStat, sstate, reinitLyXText
1749 2003-08-07 André Pönitz <poenitz@gmx.net>
1751 * inset.[Ch]: move non-crucial functions out-of-line
1753 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1754 remove duplicated code.
1756 2003-08-05 André Pönitz <poenitz@gmx.net>
1759 * insetcollapsable.[Ch]:
1769 * insettabular.[Ch]:
1772 * updatableinset.[Ch]: rip out "deep update"
1774 * insettext.C (localDispatch): merge cases with default branch
1776 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1778 * insettabular.[Ch] (updateLocal): simplify logic
1780 2003-08-04 André Pönitz <poenitz@gmx.net>
1782 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1783 is 'FULL' all the time.
1785 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1787 * insetert.C (get_new_label): only add ... to the (closed) label
1788 when the string has been shortened
1790 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1792 * Always use std::endl with lyxerr
1794 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1796 * insetnote.C: update \author list
1798 2003-07-31 André Pönitz <poenitz@gmx.net>
1800 * insetcollapsable.h:
1801 * insettabular.[Ch]:
1802 * insettext.[Ch]: remove toggleSelection
1804 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1806 (with help from Juergen Spitzmueller)
1807 * insetnote.C: add add i18n support. Use Prefs-definable
1808 colours for Comment and Greyedout.
1810 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1812 * insetcollapsable.[Ch]:
1814 * insetert.C: factor out the detection of clicking on the inset
1815 button as 'hitButton'. John Levon contributed.
1817 2003-07-30 André Pönitz <poenitz@gmx.net>
1819 * insetcollapsable.C:
1821 * insettabular.C: parantheses, localize vars etc.
1823 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1825 * insetnote.C: Implement a newenvironment in preamble for
1826 greyedout. Patch provided by Jürgen Spitzmüller.
1828 2003-07-29 Angus Leeming <leeming@lyx.org>
1830 * insetcommand.C (localDispatch): default to
1831 InsetOld::localDispatch.
1833 * insetbibitem.C (localDispatch):
1834 * insetbibtex.C (localDispatch): remove call to
1835 ChangeCitationsIfUnique.
1837 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1839 * insetexternal.C (read): use pushpophelper.
1841 2003-07-28 José Matos <jamatos@lyx.org>
1843 * insetext.C (read): \end_document replaces \the_end.
1845 2003-07-28 José Matos <jamatos@fep.up.pt>
1847 * insetert.C (write): \layout -> \begin_layout.
1848 Add missing \end_layout.
1850 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1852 * insetquotes.C: document a bit the format
1854 * insettabular.C (write): remove extra space
1856 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1857 * insetnote.C: Umpf. Hope I *now* get it right :-(
1859 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1860 *insetnote.C: did the right fix to greyedout: \color
1861 instead of \textcolor.
1863 2003-07-28 Angus Leeming <leeming@lyx.org>
1865 * insetbibtex.h: remove extraneous forward declaration.
1868 * insetbibtex.h: Also remove long-dead Holder member class
1871 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1873 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1876 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1878 * insetwrap.C (addToToc): adjust for lyx::toc
1880 * insetfloatlist.C (ascii): adjust for lyx::toc
1882 * insetfloat.C (addToToc): adjust for lyx::toc
1884 2003-07-27 José Matos <jamatos@fep.up.pt>
1886 * insetnote.h (linuxdoc,docbook): update support.
1888 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1890 * insetfloat.C (wide): add a space to label, for consistency
1892 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1894 * insettext.C (nextChange): adjust for lyx::find
1895 (searchForward): ditto
1896 (searchBackward): ditto
1898 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1900 * insetgraphicsParams.C:
1901 * insetexternal.C: declare extern displayTranslator
1904 * renderers.C: add #include "support/LAssert.h"
1906 2003-07-27 José Matos <jamatos@fep.up.pt>
1908 * insetfloat.[Ch] (linuxdoc):
1909 * insetgraphics.C (linuxdoc):
1910 * insettabular.C (linuxdoc):
1911 * insettext.[Ch] (linuxdoc): add support for tables and figures
1914 2003-07-27 José Matos <jamatos@fep.up.pt>
1916 * insetinclude (latex): comply with makeLaTeXFile argument change.
1918 2003-07-26 Asger Alstrup <alstrup@local>
1920 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1921 the undo crashes. We'll see what problems other places this will
1924 2003-07-26 Angus Leeming <leeming@lyx.org>
1926 * insetgraphics.C: remove unused declaration of system_tempdir.
1928 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1930 * rename Inset to InsetOld
1932 * all inset files (clone): return a auto_ptr<InsetBase>
1934 2003-07-23 Angus Leeming <leeming@lyx.org>
1936 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1938 2003-07-23 Angus Leeming <leeming@lyx.org>
1940 * mailinset.[Ch] (inset2string):
1941 * insetcommand.[Ch] (inset2string):
1942 * insetert.[Ch] (inset2string):
1943 * insetexternal.[Ch] (inset2string):
1944 * insetfloat.[Ch] (inset2string):
1945 * insetgraphics.[Ch] (inset2string):
1946 * insetinclude.[Ch] (inset2string):
1947 * insetminipage.[Ch] (inset2string):
1948 * insetnote.[Ch] (inset2string):
1949 * insettabular.[Ch] (inset2string):
1950 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1952 * insetexternal.[Ch]:
1953 * insetgraphics.[Ch]: get rid of the view() function. Associated
1954 changes to the mailers' string2params and params2string functions.
1956 2003-07-23 Angus Leeming <leeming@lyx.org>
1958 * insetexternal.[Ch]: store the external file name in a FileName
1959 member variable rather than a string + associated changes.
1961 2003-07-21 Angus Leeming <leeming@lyx.org>
1963 * insetgraphicsParams.[Ch]: store the graphics file name in
1964 a FileName member variable rather than a string.
1966 * insetgraphics.[Ch]:
1967 * insetgraphicsParams.[Ch]: Associated changes.
1969 2003-07-21 Angus Leeming <leeming@lyx.org>
1971 * insetgraphics.[Ch] (string2params, params2string): passed a
1972 buffer_path argument.
1975 2003-07-21 Angus Leeming <leeming@lyx.org>
1978 * insetgraphicsParams.[Ch]:
1980 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1982 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1984 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1986 2003-07-18 André Pönitz <poenitz@gmx.net>
1989 * insetminipage.[Ch]:
1990 * insettabular.[Ch]:
1993 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1995 2003-07-18 André Pönitz <poenitz@gmx.net>
1999 * insetcollapsable.C:
2003 * insetgraphics.[Ch]:
2004 * insetlatexaccent.[Ch]:
2009 * insetspecialchar.C:
2010 * insettabular.[Ch]:
2012 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
2014 2003-07-17 André Pönitz <poenitz@gmx.net>
2016 * insetcollapsable.C:
2018 * insettext.C: don't call Inset::update() anymore
2021 * insettabular.[Ch]: remove unneeded in_update_ members
2023 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
2025 2003-07-16 André Pönitz <poenitz@gmx.net>
2027 * insettext.C (selectAll): remove
2029 2003-07-16 John Levon <levon@movementarian.org>
2032 * insetnote.C: implement showInsetDialog()
2034 2003-07-15 André Pönitz <poenitz@gmx.net>
2037 * insettext.C: refresh_status tristate -> need_update bool
2039 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
2041 * insettext.C: adjust call to LyXText::init
2043 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2045 * insettext.C: use bufferview_funcs->replaceSelection()
2046 to delete selections in some cases (bugs 441, 673, 702, 954).
2048 2003-07-14 André Pönitz <poenitz@gmx.net>
2050 * insettext.C (draw): use slimmed down rowpainter interface
2052 2003-07-14 André Pönitz <poenitz@gmx.net>
2054 * insetcollapsable.C:
2056 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2057 remove unused BufferView * argument
2059 2003-07-14 André Pönitz <poenitz@gmx.net>
2061 * insettext.[Ch]: used cached metrics a bit more
2063 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2065 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2067 2003-07-10 André Pönitz <poenitz@gmx.net>
2070 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2072 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2074 * introduce namespace lyx::graphics
2076 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2078 * introduce namespace lyx::support
2080 2003-06-30 André Pönitz <poenitz@gmx.net>
2082 * insetcite.C (localDispatch): fix case of missing return value
2084 * insetcite.C (ascii): remove unneeded temporary
2086 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2088 * insetspace.h: fix \file
2090 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2091 * insetinclude.C (fillWithBibKeys): ditto
2093 * insetbibitem.C: fix type const order
2095 * inset.C (getLyXText): add varname for arg
2097 * ExternalTemplate.h: fix type const order
2099 2003-06-27 André Pönitz <poenitz@gmx.net>
2101 * insettext.C: take care of removed LyXCursor::row_ member
2103 * insettext.[Ch]: use new TextCursor struct for sstate
2105 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2107 * inseterror.[Ch]: removed
2109 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2111 * insetinclude.C (docbook): use parseError instead of sgmlError
2113 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2115 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2116 of BufferList::loadLyXFile
2118 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2120 * insettext.C (update): simplify
2121 (updateLocal): remove commented code
2122 (insetUnlock): simplify
2123 (lockInset): simplify
2124 (updateInsetInInset): simplify
2125 (localDispatch): simplify
2127 (resizeLyXText): simplify
2128 (collapseParagraphs): simplify
2130 * insetert.C (get_new_label): simplify
2132 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2134 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2135 pasteSelection with index
2137 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2139 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2141 2003-06-16 André Pönitz <poenitz@gmx.net>
2143 * insetbase.h: new virtual base function clone()
2145 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2146 Inset * clone() -> InsetBase * clone()
2148 2003-06-13 André Pönitz <poenitz@gmx.net>
2150 * insettabular.[Ch]: make tabular a proper member
2152 2003-06-12 André Pönitz <poenitz@gmx.net>
2154 * insettabular.[Ch]: some renaming plus whitespace
2156 2003-06-11 Angus Leeming <leeming@lyx.org>
2158 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2161 * insetbutton.[Ch]: removed.
2162 * graphicinset.[Ch]: renamed as renderers.[Ch].
2164 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2165 Create a new class ButtonRenderer using the InsetButton::metrics() and
2167 Derive both from a common RenderedInset base class.
2169 * insetcommand.[Ch]:
2170 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2171 Give it a ButtonRenderer member variable. Use it.
2172 Give the classes working copy c-tors.
2173 No longer derive from boost::noncopyable.
2175 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2176 display its contents as a button or as a graphic.
2178 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2181 2003-06-11 Angus Leeming <leeming@lyx.org>
2183 * insetcite.C (localDispatch): reformat.
2185 * insetref.C (localDispatch): enable dialog to be lauched.
2187 2003-06-11 John Levon <levon@movementarian.org>
2189 * insettabular.C: correctly mark all cells as erased
2191 2003-06-11 Angus Leeming <leeming@lyx.org>
2193 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2194 ExternalTemplate but its name, templatename. This means that a file
2195 containing a reference to an External Template not installed on the
2196 current machine will be saved retaining this info rather than inserting
2197 the first "valid" template from the list of templates.
2199 As a by product, the visual statement that the Template is missing is
2202 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2204 * insettext.C (appendParagraphs): remove some commented code.
2206 2003-06-10 Angus Leeming <leeming@lyx.org>
2208 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2211 * insetexternal.[Ch]: move tempname_ into the Params struct.
2212 (Params d-tor): new function, to clean-up this temp file.
2213 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2215 (editExternal, doSubstitution): move out of class.
2217 2003-06-10 Angus Leeming <leeming@lyx.org>
2219 * graphicinset.[Ch] (params): removed.
2220 * graphicinset.h (operator=): declared private but not defined.
2221 (statusMessage): made private.
2223 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2225 2003-06-07 John Levon <levon@movementarian.org>
2227 * insetert.C (latex): make a newline mean just that not
2230 2003-06-07 José Matos <jamatos@fep.up.pt>
2232 * insethfill.[Ch] (linuxdoc, docbook): implement output
2233 * insetspace.C (linuxdoc, docbook): remove coments as the code
2236 2003-06-06 José Matos <jamatos@fep.up.pt>
2238 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2240 2003-06-06 André Pönitz <poenitz@gmx.net>
2242 * insetwrap.[Ch]: code compactification
2244 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2246 * mailinset.C (updateDialog): use Dialogs::visible
2248 2003-06-04 Angus Leeming <leeming@lyx.org>
2250 * graphicinset.C (draw): add a comment for the #if 0 block.
2252 * insetexternal.h: remove Params::parameters variable.
2253 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2254 and read it back making full use of LyXLex.
2256 2003-06-04 André Pönitz <poenitz@gmx.net>
2258 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2260 2003-06-04 John Levon <levon@movementarian.org>
2262 * insettabular.C: back out tall table speed up. It was broken
2264 2003-06-03 Angus Leeming <leeming@lyx.org>
2266 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2267 Remove ViewCommand and UpdateCommand.
2269 * graphicinset.C (update): bug fix. Set the params before calling the
2271 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2272 BufferView cache to enable the InsetExternal::editCommand to be invoked
2273 from the frontends. Would not be needed if this were dispatched properly.
2274 (old_ascent_): variable removed.
2276 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2277 do any necessary conversions of external material. Also use the
2278 new GraphicsInset to display the inset within LyX.
2280 2003-06-03 Angus Leeming <leeming@lyx.org>
2282 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2283 and move it somewhere where InsetExternal can use it too.
2285 * Makefile.am: add the new files.
2287 * insetgraphics.[Ch]: make use of the new GraphicInset.
2289 2003-06-03 John Levon <levon@movementarian.org>
2292 * insetbibitem.[Ch]:
2295 * insetcommand.[Ch]:
2299 * insetexternal.[Ch]:
2303 * insetgraphics.[Ch]:
2305 * insetinclude.[Ch]:
2308 * insetlatexaccent.[Ch]:
2309 * insetmarginal.[Ch]:
2310 * insetminipage.[Ch]:
2317 * insetspecialchar.[Ch]:
2318 * insettabular.[Ch]:
2320 * insetthereom.[Ch]:
2323 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2325 * insetgraphics.[Ch]:
2326 * insetgraphicsParams.[Ch]: always store an absolute
2329 2003-06-02 André Pönitz <poenitz@gmx.net>
2333 * insetlatexaccent.C: remove duplicated call to metrics()
2335 2003-06-02 John Levon <levon@movementarian.org>
2337 * insettabular.C: fix resize of column width
2339 2003-06-02 John Levon <levon@movementarian.org>
2344 * insetparent.C: remove insetparent
2346 2003-06-02 André Pönitz <poenitz@gmx.net>
2353 * insetcollapsable.[Ch]:
2357 * insetgraphics.[Ch]:
2358 * insetinclude.[Ch]:
2359 * insetlatexaccent.[Ch]:
2360 * insetminipage.[Ch]:
2361 * insetnewline.[Ch]:
2364 * insetspecialchar.[Ch]:
2365 * insettabular.[Ch]:
2366 * insettext.[Ch]: unify first drawing phase
2369 * insetbase.h: move validate() to the base
2371 2003-05-31 Angus Leeming <leeming@lyx.org>
2373 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2375 2003-05-30 André Pönitz <poenitz@gmx.net>
2380 * insetcaption.[Ch]:
2381 * insetcollapsable.[Ch]:
2384 * insetgraphics.[Ch]:
2385 * insetinclude.[Ch]:
2386 * insetlatexaccent.[Ch]:
2387 * insetnewline.[Ch]:
2390 * insetspecialchar.[Ch]:
2391 * insettabular.[Ch]:
2393 * updatableinset.[Ch]: unify second drawing phase
2395 2003-05-30 John Levon <levon@movementarian.org>
2397 * insetgraphics.C: fix a bformat
2399 2003-05-29 John Levon <levon@movementarian.org>
2401 * insettabular.C: remove unused bufferOwner()
2403 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2405 * insettext.C (lockInsetInInset): adjust
2406 (getLabelList): use const_iterator, adjust
2407 (getInsetFromID): use const_iterator, adjust
2408 (addPreview): use const_iterator, adjust
2410 * insetwrap.C (clone): remove const_cast
2412 * insetnote.C (clone): remove const_cast
2414 * insetminipage.C (clone): remove const_cast
2416 * insetmarginal.C (clone): remove const_cast
2418 * insetfoot.C (clone): remove const_cast
2420 * insetfloat.C (clone): remove const_cast
2422 * insetert.C (clone): remove const_cast
2424 * delete commented same_id functions from a lot of files.
2426 2003-05-28 John Levon <levon@movementarian.org>
2432 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2434 * insetminipage.C: fix metrics (bug 1144)
2436 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * insettext.C (saveLyXTextState): adjust
2439 (restoreLyXTextState): adjust
2442 (unlockInsetInInset): adjust
2443 (localDispatch): adjust
2444 (getLyXText): adjust
2446 * insettabular.C (insertAsciiString): adjust
2448 2003-05-27 André Pönitz <poenitz@gmx.net>
2451 * insetcollapsable.C:
2454 * insetlatexaccent.C:
2459 * insetspecialchar.C:
2461 * insettext.C: dim.w -> dim.wid
2463 2003-05-26 John Levon <levon@movementarian.org>
2465 * insettabular.C: avoid drawing all of a long table
2466 if it's not needed. A big speedup
2468 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2470 * remove same_id from function signatures, adjust
2472 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2474 * insettext.C (InsetText): adjust
2476 (setParagraphData): separate same_id cases, adjust
2477 (appendParagraphs): adjust
2478 (appendParagraphs): adjust
2480 2003-05-23 André Pönitz <poenitz@gmx.net>
2482 * insetbutton.h: whitespace
2484 * insettabular.C: more compact code
2486 * updatableinset.C: remove const_cast
2489 2003-05-23 Angus Leeming <leeming@lyx.org>
2491 * insetexternal.C (write): check how many lines are output.
2492 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2493 if the template has defined it.
2495 2003-05-23 Angus Leeming <leeming@lyx.org>
2497 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2499 2003-05-23 Angus Leeming <leeming@lyx.org>
2501 * insetfoot.C (latex):
2502 * inseturl.C (latex): rename fragile as moving_arg.
2504 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2506 * inseterror.C (localDispatch): comment out unused var.
2508 2003-05-22 Angus Leeming <leeming@lyx.org>
2510 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2511 passed through the LatexRunParams arg.
2513 2003-05-22 Angus Leeming <leeming@lyx.org>
2515 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2516 through the LatexRunParams arg.
2518 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2519 arg rather than through a global var.
2521 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2523 * insetspecialchar.C (dimension): use a string.
2525 2003-05-22 Angus Leeming <leeming@lyx.org>
2527 * insetbibtex.C (latex):
2528 * insetgraphics.C (latex):
2529 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2530 runparams rather than from the buffer itself.
2532 2003-05-22 Angus Leeming <leeming@lyx.org>
2534 * inset*.[Ch] (latex):
2535 passed a LatexRunParams parameter.
2537 * insetgraphics.C (latex): actually use it ;-)
2539 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2541 * insetfloat.C (addToToc): trivial compile fix
2543 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2545 * insettext.[Ch] (paragraph): delete unused function
2547 * insetfloat.C (addToToc): parlist simplfication
2549 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2551 * insetspace.[Ch]: added (new space insets)
2553 * inset.h: handle new space insets
2555 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2557 * insetfloat.C (addToToc): adjust
2559 2003-05-21 André Pönitz <poenitz@gmx.net>
2561 * insettext.[Ch]: fix drawing bug introduced earlier
2563 2003-05-19 André Pönitz <poenitz@gmx.net>
2565 * insetspecialchar.C: fix bug introduced yesterday
2567 2003-05-19 André Pönitz <poenitz@gmx.net>
2571 * insetcollapsable.[Ch]:
2575 * insetgraphics.[Ch]:
2576 * insetgraphicsParams.[Ch]:
2577 * insetlatexaccent.[Ch]:
2578 * insetminipage.[Ch]:
2579 * insetnewline.[Ch]:
2581 * insetspecialchar.[Ch]:
2582 * insettabular.[Ch]:
2583 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2585 2003-05-19 André Pönitz <poenitz@gmx.net>
2588 * insettext.C: more insetenv
2590 2003-05-16 André Pönitz <poenitz@gmx.net>
2593 * insetminimpage.[Ch]:
2594 * insetcollapsable.[Ch]: fix #832
2596 2003-05-16 André Pönitz <poenitz@gmx.net>
2599 * insetbibitem.[Ch]:
2603 * insetcollapsable.[Ch]:
2604 * insetcommand.[Ch]:
2607 * insetexternal.[Ch]:
2608 * insetfloatlist.[Ch]:
2609 * insetgraphics.[Ch]:
2610 * insetinclude.[Ch]:
2613 * insetlatexaccent.[Ch]:
2616 * insettabular.[Ch]:
2620 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2622 2003-05-13 André Pönitz <poenitz@gmx.net>
2625 * insetcollapsable.C:
2629 * insetwrap.C: tostr from own header
2641 * insetwrap.C: STRCONV
2644 2003-05-12 André Pönitz <poenitz@gmx.net>
2656 * insetwwrap.C: boost::format -> bformat all over the place
2658 2003-05-05 André Pönitz <poenitz@gmx.net>
2660 * insettext.h: add missing #include <map>
2662 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2664 * insettext.C (InsetText): parlist cleanup
2667 (insetUnlock): ditto
2669 (lockInsetInInset): ditto
2673 (searchBackward): ditto
2674 (collapseParagraphs): ditto
2676 2003-05-06 John Levon <levon@movementarian.org>
2678 * insetcaption.C: don't cast wrap inset to InsetFloat
2681 * insetfloat.C: remove unneeded type() function
2683 2003-05-05 André Pönitz <poenitz@gmx.net>
2687 * insettabular.[Ch]:
2688 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2689 replace getFirstParagraph() by getParagraphs()
2691 2003-05-03 John Levon <levon@movementarian.org>
2693 * insetcollapsable.h:
2694 * insetcollapsable.C:
2700 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2701 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2702 getCursor(). Remove explicit cursor hides.
2704 2003-05-02 André Pönitz <poenitz@gmx.net>
2706 * insettext.C: remove unneeded &*
2708 2003-04-30 John Levon <levon@movementarian.org>
2710 * insettabular.C: fix edit message
2712 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2714 * insettext.C (setFont): do not convert iterator -> pointer
2716 * insettabular.C (localDispatch): do not convert iterator -> pointer
2718 (tabularFeatures): ditto
2720 2003-04-29 André Pönitz <poenitz@gmx.net>
2722 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2724 2003-04-28 André Pönitz <poenitz@gmx.net>
2726 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2729 2003-04-25 André Pönitz <poenitz@gmx.net>
2731 * insetenv.C: derive from InsetText instead of InsetCollapsable
2733 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2735 * insetexternal.C (string2params): dont do anything if the string
2737 * insetgraphics.C (string2params): ditto
2738 * insetcommand.C (string2params): ditto
2739 * insetert.C (string2params): ditto
2740 * insetfloat.C (string2params): ditto
2741 * insetinclude.C (string2params): ditto
2742 * insetminipage.C (string2params): ditto
2743 * insettabular.C (string2params): ditto
2744 * insetwrap.C (string2params): ditto
2746 2003-04-24 André Pönitz <poenitz@gmx.net>
2748 * insetref.C: support for eqref
2750 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2752 * insetert.C (read): use ParagraphList::iterator.
2754 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2756 * insetquotes.C (latex): comment some code and add warnings.
2758 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2760 * insetexternal.C (localDispatch): added a missing DISPATCHED
2762 2003-04-12 John Levon <levon@movementarian.org>
2764 * insetwrap.C (addToToc): fix a crash, conversion
2765 from while to for loop forgot to remove the explicit
2768 2003-04-10 John Levon <levon@movementarian.org>
2770 * insettabular.C (tabularFeature): make sure
2771 to update the dialog when we change something
2774 (getStatus): don't disable some lfuns (bug 939)
2776 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2778 * insettext.C (saveLyXTextState): adjust
2779 (localDispatch): adjust
2785 * insettabular.C (localDispatch): adjust
2787 (tabularFeatures): adjust
2789 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2791 * insettabular.C (searchForward,searchBackward): fix bug 782
2793 2003-04-07 John Levon <levon@movementarian.org>
2796 * insettext.C: clear status message on inset exit
2798 2003-04-03 John Levon <levon@movementarian.org>
2800 * insetcommand.C: return dispatched on DIALOG_UPDATE
2802 2003-04-02 John Levon <levon@movementarian.org>
2804 * insettabular.C: tab lfuns renamed
2806 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2808 * insettext.C (update): move towards ParagraphList
2809 (updateLocal): ditto
2811 (insetUnlock): ditto
2813 (lockInsetInInset): ditto
2814 (updateInsetInInset): ditto
2815 (localDispatch): ditto
2818 (resizeLyXText): ditto
2819 (searchBackward): ditto
2820 (collapseParagraphs): ditto
2823 * insetwrap.C (InsetWrap): adjust
2824 (addToToc): adjust and rewrite loop
2826 * insettext.[Ch] (paragraph): delete function
2828 * insettabular.C (moveNextCell): adjust
2829 (movePrevCell): adjust
2830 (insertAsciiString): adjust
2832 * insetfloat.C (InsetFloat): adjust
2835 * insetert.C (InsetERT): adjust
2836 (write): adjust, and rewrite loop
2837 (latex): adjust, and rewrite loop
2838 (linuxdoc): adjust, and rewrite loop
2839 (docbook): adjust, and rewrite loop
2840 (localDispatch): adjust
2841 (get_new_label): adjust
2843 2003-04-01 John Levon <levon@movementarian.org>
2845 From Alfredo Braunstein
2848 * insetbutton.C: add localDispatch()
2850 * insetcommand.C: return DISPATCHED when edit() called
2852 * insettext.C: fix bug 967
2854 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2856 * insettext.C: adjust
2858 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2860 * insettext.C (draw): adjust
2861 (crow): return a RowList::iterator not a Row*
2863 * insetminipage.C (localDispatch): adjust
2865 * insetert.C (localDispatch): adjust
2867 2003-03-31 John Levon <levon@movementarian.org>
2870 * insetgraphicsParams.C: use_gui moved to lyx_gui
2872 2003-03-31 John Levon <levon@movementarian.org>
2874 * insettext.C: Alert fix
2876 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2878 * insettext.C (ascent): adjust for RowList
2881 (getLyXText): adjust
2882 (toggleSelection): adjust
2884 * insetminipage.C (localDispatch): adjust for RowList
2886 * insetert.C (localDispatch): adjust for RowList
2887 (getMaxWidth): adjust for RowList
2889 2003-03-29 John Levon <levon@movementarian.org>
2891 * insetert.C: Alert cleanup
2893 2003-03-29 John Levon <levon@movementarian.org>
2895 * insettabular.C: Alert fix
2897 2003-03-28 John Levon <levon@movementarian.org>
2899 * insetfloat.C: reset label on INSET_MODIFY
2901 2003-03-28 John Levon <levon@movementarian.org>
2903 * insetgraphicsParams.C: read subcaptionText as a whole line
2906 2003-03-28 John Levon <levon@movementarian.org>
2908 * insettext.C: remove unused prototypes
2910 2003-03-25 Angus Leeming <leeming@lyx.org>
2912 * insetbibitem.C (localDispatch): repaint the view after modifying
2913 a bibitem inset in case the maximum InsetBibitem width has changed.
2915 2003-03-25 John Levon <levon@movementarian.org>
2918 * insettabular.C: LyXText renamings
2920 2003-03-24 John Levon <levon@movementarian.org>
2922 * insettext.C: remove some dead code. Fix bug 972 and
2923 related by posting a repaint in updateLocal(), and making
2924 the SEL functions set SELECTION.
2926 2003-03-22 John Levon <levon@movementarian.org>
2929 * inset.C: remove no-longer-needed topx_set
2931 * insetcollapsable.h:
2932 * insetcollapsable.C: remove dead code
2935 * insetert.C: rebreak the rows when a possible
2936 change in size is made, and reset the cursor
2939 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2941 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2942 topx_set. Fix drawing errors for clearInset(). Remove
2943 some unnecessary uses of topx, which should die.
2945 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2946 is no longer needed. Replace it with an ugly hack.
2948 2003-03-20 John Levon <levon@movementarian.org>
2951 * insetcollapsable.h:
2952 * insetcollapsable.C:
2960 * insettext.C: remove spurious font parameter
2961 from update(). Fix drawing of ERT insets inside
2962 insets (bug 966). Remove unused mark_dirty from
2963 tabular's updateLocal()
2965 2003-03-19 John Levon <levon@movementarian.org>
2974 * insetwrap.C: remove unused getter/setters
2976 2003-03-19 John Levon <levon@movementarian.org>
2978 * several files: bv->updateInset() doesn't take
2979 a bool mark_dirty any more
2981 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2983 * adjust for BufferView* arg removal from lyxtext.
2985 2003-03-17 John Levon <levon@movementarian.org>
2987 * most files: remove the "cleared" parameter
2988 to draw in favour of always clearing. Associated
2991 2003-03-16 John Levon <levon@movementarian.org>
2993 * insettext.C: remove unused s.refresh
2995 2003-03-13 Angus Leeming <leeming@lyx.org>
2997 * insettext.C (edit): replace Dialogs::updateParagraph with
2998 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
3000 2003-03-13 André Pönitz <poenitz@gmx.net>
3002 * Makefile.am: insert insetenv
3004 * insethenv.[Ch]: new files, currently inactive
3006 2003-03-12 John Levon <levon@movementarian.org>
3016 * insettext.C: use new insetnewline
3018 2003-03-12 John Levon <levon@movementarian.org>
3020 * insettext.C: readToken became readParagraph
3022 2003-03-12 John Levon <levon@movementarian.org>
3024 * insettext.C: use parlist iterator for reading contents
3026 2003-03-12 John Levon <levon@movementarian.org>
3028 * insettext.C: name change to readToken()
3030 2003-03-11 André Pönitz <poenitz@gmx.net>
3032 * Makefile.am: insert insethfill
3034 * insethfill.[Ch]: new files
3036 2003-03-10 Angus Leeming <leeming@lyx.org>
3038 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
3040 (hideDialog): calls the new static Dialogs::hide() method.
3042 * insetbibitem.C (edit):
3043 * insetbibtex.C (edit):
3044 * insetcite.C (edit):
3045 * insetcommand.C (localDispatch):
3046 * inseterror.C (d-tor):
3047 * insetert.C (showInsetDialog):
3048 * insetexternal.C (localDispatch, edit):
3049 * insetfloat.C (localDispatch, showInsetDialog):
3050 * insetfloatlist.C (edit):
3051 * insetgraphics.C (localDispatch, edit):
3052 * insetinclude.C (localDispatch, edit):
3053 * insetindex.C (edit):
3054 * insetlabel.C (edit):
3055 * insetminipage.C (localDispatch, showInsetDialog):
3056 * insetref.C (edit):
3057 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3058 resetPos, showInsetDialog, openLayoutDialog):
3059 * insettoc.C (edit):
3060 * inseturl.C (edit):
3061 * insetwrap.C (localDispatch, showInsetDialog):
3062 changes due to the changed MailInset interface.
3064 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3066 * insetfloat.h: Set default placement to an empty string.
3068 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3070 * insettext.C (latex): adjust call to latexParagraphs.
3072 2003-03-10 Angus Leeming <leeming@lyx.org>
3074 * mailinset.C: warn the user if the BufferView has not been cached.
3076 2003-03-10 Angus Leeming <leeming@lyx.org>
3078 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3080 * insetcommand.h (inset):
3081 * insetert.h (inset):
3082 * insetexternal.h (inset):
3083 * insetfloat.h (inset):
3084 * insetgraphics.h (inset):
3085 * insetinclude.h (inset):
3086 * insetminipage.h (inset):
3087 * insettabular.h (inset):
3088 * insetwrap.h (inset):
3089 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3091 2003-03-10 Angus Leeming <leeming@lyx.org>
3093 * insetcommand.C (string2params):
3094 * insetexternal.C (string2params):
3095 * insetfloat.C (string2params):
3096 * insetgraphics.C (string2params):
3097 * insetinclude.C (string2params):
3098 * insetminipage.C (string2params):
3099 * insettabular.C (string2params):
3100 * insetwrap.C (string2params): cure warning message about missing
3103 2003-03-09 Angus Leeming <leeming@lyx.org>
3105 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3106 it to communicate with the frontend dialogs.
3108 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3109 contents of this inset!
3111 2003-03-07 Angus Leeming <leeming@lyx.org>
3113 * inseterror.C (localDispatch): new method; calls edit() on
3116 2003-03-07 Angus Leeming <leeming@lyx.org>
3118 * insetbibitem.C (localDispatch):
3119 * insetbibtex.C (localDispatch):
3120 * insetlabel.C (localDispatch):
3121 rewrite as a switch.
3123 2003-03-07 Angus Leeming <leeming@lyx.org>
3125 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3126 it to communicate with the frontend dialogs.
3128 2003-03-07 Angus Leeming <leeming@lyx.org>
3130 * insetexternal.C: remove operator== and operator!= for
3131 InsetExternal::Params. They were used only by the old controller
3134 2003-03-07 Angus Leeming <leeming@lyx.org>
3136 * insetcommand.C (localDispatch):
3137 * insetexternal.C (localDispatch):
3138 * insetfloat.C (localDispatch):
3139 * insetinclude.C (localDispatch):
3140 * insetminipage.C (localDispatch):
3141 * insetwrap.C (localDispatch):
3142 add LFUN_INSET_DIALOG_UPDATE to the switch.
3144 2003-03-07 Angus Leeming <leeming@lyx.org>
3146 * insetcommand.C (string2params):
3147 * insetexternal.C (string2params):
3148 * insetfloat.C (string2params):
3149 * insetinclude.C (string2params):
3150 * insetwrap.C (string2params): use LyXLeX more.
3153 * insetexternal.[Ch]:
3155 * insetinclude.[Ch]:
3156 * insetwrap.[Ch]: change Mailer::name_ to be static.
3158 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3159 it to communicate with the frontend dialogs.
3161 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3164 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3166 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3168 * insettext.C (updateLocal): un-const function
3169 (updateLocal): adjust
3170 (collapseParagraphs): un-const function
3171 (collapseParagraphs): adjust
3173 2003-03-05 Angus Leeming <leeming@lyx.org>
3175 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3176 it to communicate with the frontend dialogs.
3178 2003-03-05 Angus Leeming <leeming@lyx.org>
3180 * insetcollapsable.C (draw): cache the BufferView.
3182 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3183 it to communicate with the frontend dialogs.
3185 2003-03-05 Angus Leeming <leeming@lyx.org>
3187 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3190 2003-03-05 Angus Leeming <leeming@lyx.org>
3192 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3194 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3195 it to communicate with the frontend dialogs.
3197 2003-03-05 Angus Leeming <leeming@lyx.org>
3199 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3200 it to communicate with the frontend dialogs.
3202 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3204 * insettext.C (collapseParagraphs): adjust
3205 (appendParagraphs): make it take a Buffer* instead of a
3206 BufferParams& as arg.
3207 (appendParagraphs): adjust
3209 2003-03-04 Angus Leeming <leeming@lyx.org>
3211 * insetbibitem.C (localDispatch):
3212 * insetbibtex.C (localDispatch):
3213 * insetcommand.C (localDispatch):
3214 * insetert.C (localDispatch):
3215 * insetlabel.C (localDispatch):
3216 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3218 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3220 * insettext.C (latex): adjust for ParagraphList::iterator
3222 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3224 * insetbutton.C (view): adjust for boost 1.30.0
3225 * insetcollapsable.C (view): ditto
3226 * insetgraphics.C (statusChanged): ditto
3228 * insettext.h: move paragraphs to be public.
3230 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3232 * insetnote.[Ch] (InsetNote): remove unused constructor
3234 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3236 * insetgraphics.C: added include "format.h"
3238 2003-02-27 Angus Leeming <leeming@lyx.org>
3240 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3243 2003-02-27 Angus Leeming <leeming@lyx.org>
3245 * insetbibitem.C (localDispatch):
3246 * insetbibtex.C (localDispatch):
3249 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3251 2003-02-26 Angus Leeming <leeming@lyx.org>
3253 * insetbibitem.[Ch] (localDispatch):
3254 * insetbibtex.[Ch] (localDispatch):
3255 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3257 * insetcommand.C (localDispatch):
3258 act only on receipt of LFUN_XYZ_APPLY.
3260 * insetert.C (localDispatch): reformat.
3261 add LFUN_XYZ_APPLY to the switch.
3263 2003-02-26 John Levon <levon@movementarian.org>
3265 * insettext.C: use RowPainter
3267 * inset.h: make helpers take const *
3269 2003-02-26 Angus Leeming <leeming@lyx.org>
3271 * insetcommand.[Ch] (localDispatch): new method.
3273 2003-02-26 Angus Leeming <leeming@lyx.org>
3275 * insetinclude.C (draw): cache the BufferView* using cache not
3276 PreviewImpl::setView
3278 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3280 * insetgraphics.C (draw)
3281 * insetinclude.C (draw): Eliminate also the other argument (owner
3282 inset inset) in the call to PreviewImage::image
3284 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3286 * insetgraphics.C (draw)
3287 * insetinclude.C (draw): Eliminate Buferview argument in call to
3290 2003-02-25 John Levon <levon@movementarian.org>
3292 * insetgraphicsParams.h:
3293 * insetgraphics.C: don't start a load process if
3294 the inset is set to NoDisplay (bug #920)
3296 2003-02-22 John Levon <levon@movementarian.org>
3299 * insetwrap.C: TocItem changed API (bug 913)
3301 2003-02-21 Angus Leeming <leeming@lyx.org>
3303 * insetcollapsable.[Ch] (cache, edit):
3304 * insetbutton.[Ch] (cache, edit): new methods to cache the
3305 BufferView in the draw method.
3307 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3308 simplify comunication between InsetCommand-derived classes and
3311 * insetbibitem.[Ch]:
3315 * insetfloatlist.[Ch]:
3319 * inseturl.[Ch]: small changes to reflect the new interface to the
3322 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3323 other, similar classes.
3325 * Makefile.am: add new files.
3327 2003-02-21 Angus Leeming <leeming@lyx.org>
3329 * updatableinset.h (setView, view): remove.
3330 * inset.h (view, cache): to be replaced by these.
3332 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3335 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3338 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3340 2003-02-21 Allan Rae <rae@lyx.org>
3342 * insetinclude.C (loadIfNeeded): ensure loading also works when
3343 child document is under version control.
3345 2003-02-17 André Pönitz <poenitz@gmx.net>
3347 * insetbib.[Ch]: Adjust access to bibkeys
3349 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3351 * insetquotes.C (dispString): remove use of acute accent for "'"
3354 2003-02-14 John Levon <levon@movementarian.org>
3356 * insettabular.C: changed method names in tabular.C
3358 2003-02-14 John Levon <levon@movementarian.org>
3362 * insetcollapsable.h:
3363 * insetcollapsable.C:
3367 * insettext.C: remove unused getParFromID()
3369 2003-02-13 John Levon <levon@movementarian.org>
3372 * insettext.C: remove unused beginningofMainBody()
3374 2003-02-08 John Levon <levon@movementarian.org>
3378 * insetcollapsable.h:
3379 * insetcollapsable.C:
3384 add nextChange(). Make allowSpellcheck() const. Add markErased().
3386 * insetert.C: ignore deleted text
3388 * insettabular.C: make sure to keep change tracking working
3391 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3396 * insettext.C: Use error messages with identical spelling and punctuation
3398 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3400 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3402 2002-12-17 Juergen Vigna <jug@lyx.org>
3404 * insettext.C (localDispatch): hopefully fixed cursor up down
3405 movement on leaving other insets.
3407 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3409 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3412 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3414 * insetgraphics.C (prepareFile): do not remove the extension of
3415 the file name if it is not the default extension for the given
3416 format (that is, in latex output, remove extension from foo.eps,
3417 but not from foo.epsi)
3419 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3421 * insettext.C (lfunMouseRelease): hackish solution to the "double
3424 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3426 * insetfloat.C (addToToc): use the floats name not its type
3427 * insetwrap.C (addToToc): ditto
3429 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3431 * insetnote.C (init): make label font smaller
3433 2002-12-04 John Levon <levon@movementarian.org>
3435 * insetinclude.C: ressurect setting of command name
3437 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3439 * insetquotes.C (dispString): disambiguate insert call
3441 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3443 * several files: ws changes
3445 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3447 * insetquotes.C (dispString): use string::insert for prepending a
3450 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3452 * insetparent.C (getScreenLabel): use boost::format
3454 * insetgraphics.C (prepareFile): use boost::format
3457 * insetfloatlist.C (latex): use boost::format
3459 * insetcaption.C (draw): use boost::format
3461 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3463 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3466 2002-11-20 Juergen Vigna <jug@sad.it>
3468 * insettabular.C (resetPos): temporary fix for endless loop in
3469 this function on a redraw.
3471 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3473 * insettabular.C (copySelection): STRCONV
3475 * insetinclude.C (uniqueID): STRCONV
3476 (latexString): ditto
3478 * insetgraphics.C: put VersionNumber inside anon namespace
3479 (createLatexOptions): STRCONV
3481 * insetcommandparams.C: include config.h
3483 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3485 * insetgraphicsParams.C (Write): use lyx::float_equal.
3486 Write height data correctly.
3487 (Read): zero scale when reading height data.
3489 2002-10-30 John Levon <levon@movementarian.org>
3491 * insetfloat.C (addToTOC): recursively traverse all
3492 contents looking for captions (fix #568)
3494 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3496 * insetexternal.C (doSubstitution): do not try to replace
3497 environment variables, this is done when executing the command
3499 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3501 * insetexternal.C (doSubstitution): change order of substitution
3502 to work around ReplaceEnvironmentPath brokenness
3504 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3506 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3508 * insetgraphicsParams.C (init, Write): associated changes
3509 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3510 InsetGraphicsParams::scale.
3512 2002-10-21 John Levon <levon@movementarian.org>
3514 * inset.h: remove unused DISPATCH_RESULT
3516 * insettext.C: sgml open/close tag now in sgml namespace
3518 2002-10-21 Angus Leeming <leeming@lyx.org>
3520 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3521 file path subdir/fig.eps when pasting it into a buffer in a different
3524 2002-10-16 John Levon <levon@movementarian.org>
3526 * insetspecialchar.C: remove \\protected_separator parsing
3528 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3530 * insetquote.C: fix LaTeX output of quotation marks.
3532 2002-10-14 Juergen Vigna <jug@sad.it>
3534 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3535 Backspace functions which confused the Undo handling.
3537 2002-10-09 Angus Leeming <leeming@lyx.org>
3539 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3540 BufferView::dispatch that turns off this optimisation when a new inset
3543 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3544 reload the BibTeX keys.
3546 2002-10-11 André Pönitz <poenitz@gmx.net>
3548 * insettext.h: handle LFUN_PRIOR/NEXT
3550 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3552 * insetfloat.C: fix bug with float settings
3553 (document default != float default).
3555 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3557 * insetwrap.C (addToToc): New method.
3558 (InsetWrap): Set layout to caption.
3560 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3562 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3564 2002-09-16 John Levon <levon@movementarian.org>
3566 * insettabular.h: hasSelection() needs to be public
3568 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3570 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3572 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3574 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3576 2002-09-11 André Pönitz <poenitz@gmx.net>
3578 * insettabular.C: implement LFUN_WORDSEL
3580 2002-09-10 John Levon <levon@movementarian.org>
3582 * insetinclude.h: remove unused param
3584 2002-09-09 John Levon <levon@movementarian.org>
3587 * insetinclude.C: remove noload, default to input
3589 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3591 * insetgraphics.C: disfuscated use of ']' in built output string.
3593 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3595 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3597 2002-08-29 Juergen Vigna <jug@sad.it>
3599 * insettabular.C (lfunMousePress): Pay attention where you set
3600 the x/y values as they depend on which inset in the tabular is
3601 actually locked. So you surely have to reset them if you (un)lock
3604 2002-08-29 André Pönitz <poenitz@gmx.net>
3606 * insetfootlike.h: rename include guard to ALL CAPS
3608 * insettext.C: swap object and first parameter for checkInsetHit calls
3609 as this functions has moved from BufferView to LyXText
3612 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3614 * insetgraphicsParams.C: remove local displayTranslator and use
3615 the one from graphics/GraphicsTypes.h.
3617 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3619 * insetfloat.C (wide): add BufferParams parameter
3621 * insetfloatlist.C (read):
3624 * insetfloat.C (latex):
3626 * insetcaption.C (draw): use LyXTextClass::floats()
3628 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3630 * insetoptarg.h: add std:: qualifier.
3632 2002-08-26 Juergen Vigna <jug@sad.it>
3634 * insettext.C (localDispatch): ditto.
3636 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3638 2002-08-25 John Levon <levon@movementarian.org>
3640 * inseturl.C: elide long URLs (bug 404)
3642 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3644 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3645 remove "Format Version <version_no.>" string from inset header
3648 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3650 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3651 a member of "grfx::Params" anymore.
3653 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3655 2002-08-24 John Levon <levon@movementarian.org>
3658 * insetoptarg.C: ws, pedantry ...
3660 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3662 * insettext.C (collapseParagraphs): pasteParagraph now in global
3664 (appendParagraphs): ditto
3666 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3668 * insetcite.C (latex): Remove spaces only after commmas.
3670 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3672 * insettext.C: remove NO_COMPABILITY stuff
3674 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3676 * insettext.C (edit): use ParagraphList iterators
3678 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3679 (bibitemWidest): ditto
3681 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3683 * insettext.C: include <boost/bind.hpp>
3684 add using std::for_each
3685 (saveLyXTextState): use ParagraphsList::iterator
3686 (init): use for_each on paragraphlist iterators
3687 (InsetText): remove superflous setting cached_bview to 0
3688 (latex): reformat a bit
3689 (ascii): use paragraphlist iterators
3690 (validate): use for_each + boost bind
3691 (getLabelList): use paragraphlist iterators
3692 (deleteLyXText): use for_each + boost::bind
3693 (resizeLyXText): ditto
3694 (reinitLyXText): ditto
3695 (removeNewlines): use paragraphlist iterators
3696 (getParFromID): ditto
3697 (paragraph): use for_each + boost::bind
3698 (getInsetFromID): use paragraphlist iterators
3699 (getLabelList): typo fix
3701 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3703 * insettext.C (read): assign tmp to paragraphs after return from
3704 call to parseSingleLyXformat2Token
3707 2002-08-13 Angus Leeming <leeming@lyx.org>
3726 changes due to the changed LyXView interface that now returns references
3727 to member variables not pointers.
3729 2002-08-13 Angus Leeming <leeming@lyx.org>
3732 * insetcollapsable.h:
3735 * insettext.h: forward-declare WordLangTuple
3736 (selectNextWordToSpellcheck) constify return type.
3739 * insetcollapsable.C:
3742 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3744 2002-08-12 Angus Leeming <leeming@lyx.org>
3746 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3748 2002-08-12 Juergen Vigna <jug@sad.it>
3750 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3753 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3755 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3756 (bibitemWidest): ditto
3757 * insettext.[Ch]: ditto
3759 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3761 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3763 2002-08-09 Angus Leeming <leeming@lyx.org>
3765 * insetinclude.C (latexString): remove fudge now that I've found out
3766 how to enable LaTeX to find the file using input@path.
3768 2002-08-09 John Levon <levon@movementarian.org>
3771 * insettext.C: remove unused xpos
3773 2002-08-07 Juergen Vigna <jug@lyx.org>
3775 * insettabular.C (localDispatch): make delete not put the stuff
3776 in the clipboard only do this on a cut operation.
3778 * insettext.C (localDispatch): make delete and backspace not put
3779 selected stuff to the clipboard.
3781 2002-08-07 André Pönitz <poenitz@gmx.net>
3784 * insetcollapsable.[Ch]:
3788 * insettabular.[Ch]:
3789 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3791 2002-08-06 John Levon <levon@movementarian.org>
3795 * insetcollapsable.h:
3796 * insetcollapsable.C:
3802 * insettext.C: use WordLangTuple for spellcheck
3804 2002-08-06 Angus Leeming <leeming@lyx.org>
3806 * insetinclude.C: add a monitor to the previewed image, so that the
3807 image is refreshed if the \input-ed file changes.
3809 2002-08-04 John Levon <levon@movementarian.org>
3812 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3814 2002-08-02 Angus Leeming <leeming@lyx.org>
3816 * insetcommandparams.[Ch] (preview): new methods returning and setting
3817 a new bool preview_ flag.
3818 (read): read this flag.
3819 (operator==): add flag to check.
3821 * insetinclude.C (write): output new preview() flag.
3822 (previewWanted): use this flag.
3824 2002-08-02 Angus Leeming <leeming@lyx.org>
3826 * insetcollapsable.[Ch] (addPreview):
3827 * insettabular.[Ch] (addPreview):
3828 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3829 for insets in insets.
3831 2002-08-02 Angus Leeming <leeming@lyx.org>
3833 * insetcite.C: fix typo.
3835 * insetgraphics.C: kill current_view and instead cache the BufferView
3838 * insetinclude.C: kill current_view and pass the BufferView to the
3839 PreviewedInset so that it can cache it.
3841 2002-08-01 Angus Leeming <leeming@lyx.org>
3843 * inset.h (generatePreview): renamed as addPreview.
3844 (generatePreview): new method. Allows code to be moved out of
3845 math_nestinset.C and into the new PreviewedInset class.
3847 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3848 add previews to the inset when \input-ing LaTeX.
3850 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3852 * several files: strip,frontStrip -> trim,ltrim,rtrim
3854 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3856 * insetbib.C (latex): modify because of strip changes
3858 * insetnote.C (InsetNote): ditto
3860 2002-07-26 Juergen Vigna <jug@sad.it>
3862 * insettabular.C (searchForward): check for lastcell if we
3863 had a locking inset.
3865 2002-07-25 Juergen Vigna <jug@sad.it>
3867 * insettabular.C (insetMotionNotify): Don't update the screen
3868 if we didn't do nothing.
3869 (searchForward): last cell was not checked.
3871 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3873 * insetfloat.C (read, write): Allow default placement
3874 (floatPlacement_ is empty).
3876 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3878 * insetminipage.h (noFontChange):
3879 * insettabular.h (noFontChange):
3880 * insetfootlike.h (noFontChange):
3881 * insetfloat.h (noFontChange): return true
3883 * inset.h (noFontChange): new method, defaulting to false
3885 2002-07-22 Herbert Voss <voss@lyx.org>
3887 * insetgraphicsParams.[Ch]: support size_type for old docs
3889 2002-07-22 Herbert Voss <voss@lyx.org>
3892 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3895 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3897 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3899 * insetlatexaccent.h: do not include "lyxlex.h"
3901 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3904 * insetlatexaccent.C:
3908 * insetbib.C: #include "lyxlex.h"
3914 * insettext.C: use BufferParams::getLyXTextClass
3917 * insetfloat.C (addToToc): new method. Add to toclist the entries
3918 corresponding to Caption layouts
3919 (InsetFloat): when creating a new float, set the layout to "Caption"
3921 2002-07-21 Herbert Voss <voss@lyx.org>
3923 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3924 image relevant part into graphics/GraphicsImgae.C
3926 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3928 * insettoc.C (ascii):
3929 * insetfloatlist.C (ascii): change to use the new Toc functions
3930 instead of stuff that was in Buffer
3932 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3934 * insettext.C (localDispatch): BufferView::Dispatch has been
3935 renamed to BufferView::dispatch
3937 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3939 * insetgraphicsParams.C (as_grfxParams): use the new
3940 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3941 1.2.0 patch, and I do not really know how to adapt it to the new
3942 grfx::Cache world. Angus, please could you have a look?
3944 2002-05-01 Herbert Voss <voss@lyx.org>
3946 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3948 2002-07-18 Angus Leeming <leeming@lyx.org>
3950 * insetgraphics.C: clean-up comments (from Herbert).
3951 add a new checksum variable to the cache. Use it in PrepareFile.
3952 (draw): start monitoring the file for a change.
3953 (prepareFile): re-arrange a little to avoid unnecessary steps.
3955 2002-07-17 Angus Leeming <leeming@lyx.org>
3957 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3958 a method rather than to the signal directly.
3960 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3962 * insettext.C: use view_state_changed, switchKeyMap
3964 2002-07-17 Herbert Voss <voss@perce.de>
3966 * insetgraphics.C (prepareFile): keep the extension when
3967 exporting to nice file
3969 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3971 * insetcite.C (getNatbibLabel):
3972 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3974 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3976 * insetgraphics.C: use ->isDrawable()
3978 2002-07-12 Angus Leeming <leeming@lyx.org>
3980 * insetgraphics.C: use the new smart loading capabilities of the image
3983 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3985 * insettabular.C (edit): Move into correct cell when entering a
3988 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3991 2002-07-05 Angus Leeming <leeming@lyx.org>
3993 * inset.h (generatePreview): new virtual method.
3995 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3997 * insetcommandparams.[Ch] (operator=): move out of class
3998 (operator!): move out of class
4000 2002-07-04 André Pönitz <poenitz@gmx.net>
4002 * insetcommandparams.[Ch]: new files
4004 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
4006 2002-06-15 Herbert Voss <voss@perce.de>
4008 * insetgraphics.C (prepareFile): bugfix; return always
4009 files without extension
4011 2002-06-28 Angus Leeming <leeming@lyx.org>
4013 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
4014 rename asGParams -> as_grfxParams.
4016 * insetgraphics.C: reflect above change.
4018 2002-06-26 Angus Leeming <leeming@lyx.org>
4020 * insetgraphics.h: use boost::scoped_ptr in preference to
4023 2002-06-26 Angus Leeming <leeming@lyx.org>
4025 * insetgraphics.C: moved the image loading stuff into a new class
4026 grfx::Loader. Simplifies this file enormously.
4028 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
4030 * insetgraphicsParams.C: changes aassociated with moving
4031 grfx::DisplayType out of grfx::GParams.
4033 2002-06-26 André Pönitz <poenitz@gmx.net>
4035 * insetgraphics.C: use os::external_path where necesaary according to a
4036 patch from Claus Hentschel)
4038 2002-06-25 Angus Leeming <leeming@lyx.org>
4040 * insetgraphics.[Ch]: The inset now assumes the responsibility for
4041 generating a pixmap once the graphics file is loaded into memory.
4042 The current_view ugliness that was in grfx::ModifiedImage has been
4043 moved here now that grfx::ModifiedImage is no more.
4045 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4047 * insettext.C: layout as layout
4049 2002-05-28 André Pönitz <poenitz@gmx.net>
4051 * insetfloatlist.h: remove source of compiler warning
4053 * insetref.C: tiny whitespace
4055 2002-06-15 Herbert Voss <voss@perce.de>
4057 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4058 and take always convert when no userdefined converter was
4060 (latex) small changes in the lyxerr output
4062 2002-06-15 LyX Development team <lyx@rilke>
4064 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4065 mixed content. Small white spaces clean.
4067 2002-06-14 Angus Leeming <leeming@lyx.org>
4069 * inseetexternal.C: remove the using std::difftime declaration.
4071 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4073 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4075 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4077 * insetquotes.C (draw): fix drawing of double quotes
4079 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4081 * insettabular.C: s/scrollCB/scrollDocView/
4083 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4085 * insettext.C: change of topCursorVisible()
4088 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4091 * insettext.C: rename/change of LyXScreen
4093 2002-06-07 Angus Leeming <leeming@lyx.org>
4095 Fixes needed to compile with Compaq cxx 6.5.
4097 all c-library variables have been moved into namespace std.
4098 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4100 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4102 * insetinclude.C (uniqueID):
4103 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4104 conflicted with some AIX headers.
4106 2002-05-31 Juergen Vigna <jug@sad.it>
4108 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4112 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4114 * insetexternal.C (clone): fix () bug when using new
4115 (updateExternal): don't only look for difftime in global scope
4117 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4119 * insettabular.C: add const
4121 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4123 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4124 file name, in case there are weird characters like ',' in there.
4127 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4129 * switch from SigC signals to boost::signals.
4131 2002-05-28 André Pönitz <poenitz@gmx.net>
4133 * insets/insetgraphicsParams.[Ch]:
4134 put in inset related stuff from src/graphic
4136 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4144 * insetcollapsable.C:
4145 * insetcollapsable.h:
4173 * inseturl.h: use mouse_state. Kill insetKeyPress
4175 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4180 * insetcollapsable.C:
4183 * insetlatexaccent.C:
4185 * insetspecialchar.C:
4187 * insettext.C: name change for font metrics
4189 2002-05-24 Juergen Vigna <jug@sad.it>
4191 * insetgraphics.h: include inset.h first (for LString.h)
4193 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4195 * insettext.C: screen moved
4197 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4215 * inseturl.C: LyXView moved into frontends/
4217 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4222 * insetcollapsable.C:
4226 * insetgraphicsParams.C:
4227 * insetlatexaccent.C:
4229 * insetspecialchar.C:
4231 * insettext.C: move Painter to frontends/
4233 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4235 * insettabular.h: use more specific smart_ptr header.
4236 * insettext.h: ditto
4238 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4241 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4243 * insettext.C: clear selection on paste (bug 393)
4245 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4247 * insettext.C (latex): Honor the moving_arg argument.
4249 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4251 * insetfoot.C (latex): if a footnote is in a title layout, then it
4252 is a \thanks. And then, its contents is a moving argument.
4254 2002-05-14 Juergen Vigna <jug@sad.it>
4256 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4259 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4261 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4262 when using options "Full author list" or "Upper case".
4264 2002-05-14 Herbert Voss <voss@perce.de>
4266 * insetgraphics.C (prepareFile): allow files with same name
4268 (readFigInset): set the flags from old figinset in the right
4270 (findTargetFormat): more comments
4272 2002-05-14 Juergen Vigna <jug@sad.it>
4274 * insettext.C (edit): tell checkAndActivateInset() that we don't
4275 have a button press.
4276 (checkAndActivateInset): if button < 0 we don't have a button press
4277 on the inset and os we won't call edit on it if it's not a Highly
4278 editable inset (then we have to enter it).
4280 2002-05-13 Juergen Vigna <jug@sad.it>
4282 * insetcollapsable.C (insetButtonRelease): returned wrong return
4285 2002-05-09 Juergen Vigna <jug@sad.it>
4287 * insetcollapsable.C (edit): first_after_edit should only be
4288 set to true if we enter this inset and it was collapsed so we
4289 open it up. This is needed to reclose it after a search/replace
4290 or spellcheck function opened it and was negative.
4292 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4294 * insetfloat.C (latex): Return correct value.
4296 2002-05-04 Herbert Voss <voss@perce.de>
4298 * InsetgraphicsParams.C (read): fix bug with WH
4300 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4302 * insetfloat.C (latex): More sensible latex output
4303 (fix the problem with endfloat).
4305 2002-05-02 José Matos <jamatos@fep.up.pt>
4307 * insetgraphics.C (validate): acess params as everyone else.
4309 2002-05-03 Juergen Vigna <jug@sad.it>
4311 * insettabular.C (fitInsetCursor): recalculate the cursor position
4314 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4316 * InsetgraphicsParams.[Ch]: whitespace.
4318 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4320 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4321 float type do not exist.
4323 2002-04-28 Herbert Voss <voss@perce.de>
4325 * insetgraphics.C (latex): fix bug with missing file-extension.
4326 LaTeX still allows a missing "eps" or "ps".
4328 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4330 * insetfloat.C (c-tor, wide): translate the name of the float.
4332 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4334 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4335 when using natbib and make it work efficiently. Must emphasise that the
4336 real work is Herbert's.
4338 2002-04-23 Herbert Voss <voss@perce.de>
4340 * insetgraphic.C (prepareFile): fix bug with overwriting and
4341 deleting an existing *.eps-file in the doc-dir
4343 2002-04-23 Juergen Vigna <jug@sad.it>
4345 * insettabular.C (drawCellSelection): fix off by 1 error.
4347 2002-04-22 Juergen Vigna <jug@sad.it>
4349 * insettabular.C (setFont): rewoke full selection if it was asked,
4350 after we changed all we had to change.
4352 * insettext.C (insetUnlock): code was uninitialized in some situations.
4354 2002-04-19 Herbert Voss <voss@perce.de>
4356 * insetgraphic.C (prepareFile): return filename without
4357 extension if we only export without compiling
4359 2002-04-19 Juergen Vigna <jug@sad.it>
4361 * insettext.C (draw): call a fullRebreak on the row where we had a
4362 change and reset the cursor and selection-cursors.
4364 * insettabular.C (insetUnlock):
4365 (insetButtonPress): call an update before setting the_locking_inset = 0
4366 as otherwise we don't repaint!
4367 (update): reset the cursor position when we changed dimensions as
4368 otherwise our cursor may be on the wrong spot.
4370 2002-04-18 Juergen Vigna <jug@sad.it>
4372 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4373 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4374 redraw otherwise we won't redraw.
4376 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4377 not really right before, but I only discovered this with the last
4378 changes to Page up/down.
4380 2002-04-17 Juergen Vigna <jug@sad.it>
4382 * insettext.C (checkAndActivateInset): simplified as we now have the
4383 edit(bv, bool) call.
4385 * insettext.h: changed behind variables to front variables to be
4386 equal to the one in the edit call (as it is for that they are used).
4388 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4390 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4391 not output anything at all!
4393 2002-04-16 Juergen Vigna <jug@sad.it>
4395 * insettabular.C (insetButtonPress):
4396 (insetUnlock): call a redraw on unlocking the cell inset.
4398 * insettext.C (insetButtonPress): same as below.
4399 (lockInset): new function to set initial values when inset should
4401 (insetButtonPress): use above function.
4402 (insetUnlock): don't force a repaint only set the updateStatus. The
4403 outside world should repaint if it thinks it should be done!
4405 * insettabular.C (insetButtonPress): init values if not set as locked
4406 as we are locked if someone presses on us and don't call the edit()
4407 call of the InsetText to lock it do it as BufferView does it!
4409 * inset.h (insetInInsetY): make func const and return an int.
4412 * insetcollapsable.C: adapt the above changed function.
4414 2002-04-15 Juergen Vigna <jug@sad.it>
4416 * insettext.C (getCursorPos): return relative position as to be able
4417 to give them directly to the edit() call.
4418 (edit): we have to set also x_fix as it is not set inside the
4419 setCursorFromCoordinates call!
4420 (insetMotionNotify): ditto.
4422 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4424 * insetbib.C (getKeys): strip leading '\t's from the line too.
4425 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4427 2002-04-12 Juergen Vigna <jug@sad.it>
4429 * insettext.h: added cix() helper function and use it where appropriate
4431 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4433 * insetgraphics.C (prepareFile): fix bug when graphics is a
4436 2002-04-12 Juergen Vigna <jug@sad.it>
4438 * insettext.C (insertInset): remove unneeded code!
4439 (updateLocal): fitCursor() fixes.
4440 (collapseParagraphs): fix a possible problem when having a selection
4441 and collapsing the paragraphs.
4443 2002-04-08 Herbert Voss <voss@perce.de>
4445 * insetgraphic.C (write): write the rotating angle as
4446 a float as is. test only for != 0.0
4448 2002-04-11 Juergen Vigna <jug@sad.it>
4450 * insettext.C: new function ciy() and use it for setting inset_y.
4452 * insetert.C (draw): fix the x return for collapsed version.
4454 2002-04-07 Herbert Voss <voss@perce.de>
4456 * insetgraphic.C (readFigInset): fix bug with subcaption and
4459 2002-04-08 Herbert Voss <voss@lyx.org>
4461 * insetgraphicsparam.C: forgot special option and delete old
4464 2002-04-05 Juergen Vigna <jug@sad.it>
4466 * insettext.C (localDispatch): make a CURSOR update if we inserted
4469 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4471 * insetfloatlist.C (getScreenLabel):
4472 (latex): use Floating::listName
4473 (validate): new method
4475 2002-04-03 José Matos <jamatos@fep.up.pt>
4477 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4479 * insetfoot.[Ch] (docbook): added forgotten method.
4481 2002-04-03 Juergen Vigna <jug@sad.it>
4483 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4484 way as in Bufferview_pimpl.
4486 2002-04-03 Allan Rae <rae@lyx.org>
4488 * insetgraphics.C (latex): one % too many makes living on the bleeding
4489 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4491 2002-03-28 Herbert Voss <voss@lyx.org>
4493 * insetgraphic.C (latex): simplify the code for the latex
4494 output when the file doesn't exist
4496 2002-03-29 Juergen Vigna <jug@sad.it>
4498 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4501 * insettabular.C (edit): call fitCursor().
4503 * insettext.C (insetButtonPress): change behaviour of no_selection
4504 to the one in the BufferView selection_possible and fix the spurious
4505 selection bug with it.
4506 (localDispatch): revoke selection on BREAK... functions.
4508 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4510 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4512 2002-03-28 Juergen Vigna <jug@sad.it>
4514 * insettabular.C (insetAllowed): return true as default value otherwise
4515 we're not able to insert insets inside paragraphs of an not locked
4518 2002-03-27 Herbert Voss <voss@lyx.org>
4520 * insetgraphicsparam.C: change c%, p% to col%, page%
4522 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4524 * insetspecialchar.C (isLineSeparator): disable the nice code to
4525 allow linebreaks after hyphenation and menu separators.
4527 2002-03-26 Herbert Voss <voss@lyx.org>
4529 * insetgraphics.C (figinsetRead): set the right lyxview
4531 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4533 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4534 $\backslash$ and pass a "string const &" to the function.
4535 (prepareFile, latex): use Path rather than MakeAbsPath.
4537 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4539 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4540 proper fix to the graphics cache.
4541 (latex): "really" nice output if the file is not found ;-)
4543 2002-03-26 Juergen Vigna <jug@sad.it>
4545 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4546 (collapseParagraphs): fixed inserting of separator ' '
4548 * insettabular.C (insertAsciiString): only check for buffer lenght
4549 not if we have \t or \n inside the buffer as if we don't have we only
4550 have 1 cell and that's it!
4552 * insetert.C (close): don't collapse if inlined.
4554 2002-03-25 Herbert Voss <voss@lyx.org>
4556 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4557 graphics file does not exist.
4559 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4561 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4562 path when preparing export.
4564 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4565 no longer MakeRelPath.
4567 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4569 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4570 Used to determine the absolute path to the graphics file in the
4571 graphics cache and only in the graphics cache.
4572 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4573 make graphics file name absolute if it is stored as a relative path.
4575 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4576 make graphics file name absolute if it is stored as a relative path.
4578 * insettext.C (edit): emit an updateParagraph signal on entering a text
4579 inset. Needs to be emitted when leaving the inset also.
4581 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4583 * all files: ws cleanup
4585 * Makefile.am: remove ld -r stuff
4587 2002-03-21 Juergen Vigna <jug@sad.it>
4589 * insettext.C (appendParagraphs): new function added to append
4590 the paragraphs to this insets paragraphs.
4592 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4594 * Makefile.am: special rules if partial linking
4596 2002-03-19 Juergen Vigna <jug@sad.it>
4598 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4600 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4602 * insetgraphics.C: Clean up Baruch's comments a little.
4603 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4605 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4608 * insettheorem.C: wrap warnings
4610 * insetgraphics.C: improve messages, move cached_status_
4611 setting to safer place
4613 2002-03-18 Juergen Vigna <jug@sad.it>
4615 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4617 (localDispatch): ditto
4619 * insettext.C (edit): removed unneeded showCursor calls.
4620 (localDispatch): ditto.
4622 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4624 * insetgraphics.h: remove display() method.
4626 2002-03-11 Juergen Vigna <jug@sad.it>
4628 * insetgraphics.C (draw): hack to fix the redrawing bug.
4629 (draw): seems this fixes #268 (force redraw of row if we changed).
4631 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4632 this inset text (don't know why I missed this earlier).
4634 2002-03-08 Juergen Vigna <jug@sad.it>
4636 * insettabular.C (updateLocal): do a FULL update if we're not locked
4637 and only a CELL update is asked.
4639 * insettext.C (updateInsetInInset): update insets inside inset also
4640 if it isn't inside the_locking_inset.
4642 * insettabular.C (updateInsetInInset): ditto.
4644 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4646 * insetexternal.C (doSubstitution): check whether we are using a
4647 temp dir for defining $$FPath
4649 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4652 * insettext.C: remove #include "WorkArea.h".
4654 2002-03-06 Juergen Vigna <jug@sad.it>
4656 * insettext.C (draw): fixed frame redrawing.
4657 (clear): forgot to set the inset_owner of the paragraph.
4659 * insetert.C (status): pay attention the bv can be 0 here!
4660 (getMaxWidth): add the default leftMargin
4662 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4664 * insetert.C (getMaxWidth): make w unsigned int.
4666 2002-03-05 Juergen Vigna <jug@sad.it>
4668 * insetert.C (status): change behaviour of Inlined.
4669 (getMaxWidth): added for new inlined behaviour.
4671 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4673 * insetnote.h (linuxdoc, docbook): add empty methods.
4674 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4675 before being initialized.
4677 2002-03-05 Juergen Vigna <jug@sad.it>
4679 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4680 only that one in the inset. Should be enough.
4681 (updateLocal): set the selection cursor always if we don't have a
4682 selection to be sure it's set!
4684 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4686 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4688 * insettext.C (clear): a gross hack to set layout on a newly
4691 2002-03-04 Juergen Vigna <jug@sad.it>
4693 * insettabular.C (localDispatch): inserted handling of
4694 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4695 (insertAsciiString): new helper function.
4697 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4699 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4702 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4704 * insettext.C (InsetText): initalize newly created par with
4705 default layout. add bufferparams parameter
4708 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4709 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4710 * insetert.[Ch] (InsetERT): ditto
4711 * insetfloat.[Ch] (InsetFloat): ditto
4712 * insetfoot.[Ch] (InsetFoot): ditto
4713 * insetfootlike.[Ch] (InsetFootLike): ditto
4714 * insetmarginal.[Ch] (InsetMarginal): ditto
4715 * insetminipage.[Ch] (InsetMinipage): ditto
4716 * insetnote.[Ch] (InsetNote): ditto
4717 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4719 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4721 * insettext.C: layout as string
4723 * insetinclude.C: layout as string
4725 * insetert.C: layout as string
4727 * insetbib.C: layout as string
4729 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4732 * insettabular.C: remove #include "lyx_gui_misc.h".
4734 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4739 * inset.h: remove figinset, yahoo !
4741 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4743 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4744 copy c-tor and initialise member variables in the correct order.
4746 2002-02-28 Juergen Vigna <jug@sad.it>
4748 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4750 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4752 * inset.h: ... and add a better one here.
4754 * insetcommand.C (insetButtonRelease): remove that one which was a
4757 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4759 * insetcommand.C (insetButtonRelease): ... and move it here.
4761 * inseturl.h: remove insetButtonRelease from there...
4763 2002-02-26 Juergen Vigna <jug@sad.it>
4765 * inseturl.h: Added a insetButtonRelease call returning true as
4768 * insetlabel.C (edit): Fixed wrong update handling after change I
4769 leave in the wrong code for the one who wrote it to remove and have
4770 a look what he did wrong.
4772 * insettabular.C (localDispatch): force a SELECTION update if we
4773 had a selection and we passed the event down to the inset (fix #213)
4774 (localDispatch): handle font changing stuff when we have a cell
4775 selection so that the selection is not rewoked. I don't really like
4776 this fix, but it's the only way I see to do it right now.
4778 2002-02-22 Juergen Vigna <jug@sad.it>
4780 * insettext.C (insetUnlock): set the cursor to the second paragraph
4781 if available and if the first one is empty (fix #191).
4783 2002-02-20 Juergen Vigna <jug@sad.it>
4785 * insettext.C (getDrawFont): implemented this function to call the
4786 one of the owner if present as the owner normally knows what to do
4789 * insetert.C: implement getDrawFont() function and comment out all
4790 the crap for setting a special latex font inside this inset.
4791 (InsetERT): added a Lanugage parameter to this constructor.
4793 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4794 change the font for being drawn on screen (used only in InsetERT for
4797 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4798 and also above (was missing).
4799 (updateLocal): don't remove the cell selection if we have one this
4800 should be done where we really want to remove it.
4802 2002-02-20 José Matos <jamatos@fep.up.pt>
4804 * insetinclude.h: include_label made string const.
4806 * insetinclude.C (InsetInclude): moved include_label initialization.
4809 (validate): fix support for temporary directory, for docbook and
4812 * insetgraphics.h : new private member, graphic_label, that holds
4813 the entity name that defines the graphics location (SGML).
4815 * insetgraphics.C (unique_id): new function to give a unique label
4818 (validate): the file locatation is given by an entity reference.
4820 2002-02-18 Herbert Voss <voss@lyx.org>
4822 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4824 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4826 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4827 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4829 2002-02-18 José Matos <jamatos@fep.up.pt>
4831 * insetinclude.C (validate): some code only applies to latex buffers,
4832 it was made conditional.
4834 2002-02-12 Herbert Voss <voss@lyx.org>
4836 * insetgraphics.C: (prepareFile) do not check at this time
4837 if the file is present.
4839 2002-02-12 Herbert Voss <voss@lyx.org>
4841 * insetgraphics.C: latex(), return the correct newlines
4843 2002-02-13 José Matos <jamatos@fep.up.pt>
4845 * inseturl.C (docbook): escape & in url.
4847 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4849 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4850 after HYPHENATION and MENU_SEPARATOR
4852 * inset.h (isLineSeparator): new method, returns false by default.
4854 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4856 * insetert.C (status): do not update the text inset, but the ERT
4859 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4861 * insetnote.C: use notebg for background
4863 2002-02-08 Herbert Voss <voss@lyx.org>
4866 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4867 prevent LyX from unzipping when this should be handled
4868 by latex vis the graphic.cfg.
4871 2002-02-08 Herbert Voss <voss@lyx.org>
4873 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4874 exists, than return filename with extension
4876 2002-02-06 Herbert Voss <voss@lyx.org>
4878 * insetgraphic.C: prepareFile(): don't convert the file, when
4879 it's not viewed in LyX. Saves a lot of time when opening a
4882 2002-02-05 Herbert Voss <voss@lyx.org>
4885 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4886 and adding a rotate bool similiar to subcaption
4888 2002-02-04 Herbert Voss <voss@lyx.org>
4891 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4892 similiar view to the LaTeX one. Get zipped files work.
4894 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4896 * insetgraphicsParams.C (init): set display to DEFAULT.
4897 No longer #include "lyxrc.h".
4899 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4901 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4902 for now (so that the code compiles).
4904 2002-02-02 Herbert Voss <voss@lyx.org>
4906 * insetgraphic.C: delete inVariant() and some minor changes
4907 * insetgraphicsParams.[C]:
4909 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4911 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4912 interogate lyxrc.display_graphics before diaplaying the graphic.
4914 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4915 InsetGraphicsParams::DisplayType.
4917 2002-01-31 Herbert Voss <voss@lyx.org>
4919 * insetgraphic.C: (readfigInset) set display to pref-default
4921 2002-01-30 Herbert Voss <voss@lyx.org>
4923 * insetgraphic.C: get the filetyp from it's contents
4924 * insetgraphicparams.C: add token scale and lyxrc.display when
4925 creating a new inset
4927 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4929 * figinset.C: added using std::ios directive.
4931 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4933 * figinset.C (runqueue): open translation file in binary mode (for
4936 2002-01-27 Herbert Voss <voss@lyx.org>
4938 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4939 all options and to be sure that the old figinsets are correct
4941 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4942 structure and to support all lengths as LyXLength. The Parameter
4943 structure changed again, but reading of "old" 1.2 graphic insets
4946 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4948 * insetert.h (forceDefaultParagraphs): Added
4950 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4952 * insettabular.C (getMaxWidth):
4953 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4955 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4957 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4958 of LyXLength::inPixels
4960 * inset.C (latexTextWidth):
4961 * insetminipage.C (latexTextWidth): new method, which implements
4962 the equivalent of the LaTeX macro \textwidth
4964 * insetminipage.C (getMaxWidth): use latexTextWidth
4966 2002-01-18 Juergen Vigna <jug@sad.it>
4968 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4970 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4972 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4974 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4977 2002-01-17 Juergen Vigna <jug@sad.it>
4979 * insettabular.C (lockInsetInInset): same change as in insettext.
4981 * insettext.C (draw): width() function was called without setting
4982 the right top_x which could lead to wrong insetWidth setting!
4983 (lockInsetInInset): call edit instead of calling lockInset if we
4984 have to lock an inset inside!
4985 (edit): we have to also tell the inset that we have to redraw the
4986 frame on an edit call if this inset draws a frame only if locked.
4988 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4990 * insetbib.C (getFiles): uncomment Path variable.
4992 2002-01-16 Juergen Vigna <jug@sad.it>
4994 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4997 2002-01-16 Allan Rae <rae@lyx.org>
4999 * insetinclude.C (docbook): someone forgot a ";"
5001 2002-01-16 José Matos <jamatos@fep.up.pt>
5003 * figinset.C (docbook): removed a old place holder "@".
5004 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
5005 * insetinclude.C (linuxdoc): if include is verbatim, then export the
5006 ascii text version, clearly guarded inside a CDATA section.
5007 (docbook): in docbook 4, inlinegraphics is empty.
5008 * insettabular.C (linuxdoc): export the ascii version of the table
5009 inside a CDATA section.
5011 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5013 * insetparent.C (InsetParent):
5014 * insetgraphicsParams.C (Write):
5016 * insetgraphics.C (prepareFile):
5019 * insetexternal.C (executeCommand):
5020 (doSubstitution): use Buffer::filePath
5022 * insetbib.C (getFiles): add a #warning for Angus
5024 * insetgraphics.C: Add a remark about how filenames should be
5025 considered to be relative to buffer (but absolute is still allowed)
5026 (draw): do not try to get status if lyxrc.use_gui is false
5028 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5031 * insetcollapsable.[Ch]:
5032 * insettabular.[Ch] (searchForward, searchBackward): change the
5033 bool const & params to bool.
5035 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
5036 to avoid the name clash with InsetCollapsable's methods of the same
5037 names but different functionality.
5039 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
5041 * insettext.C (ascii): use lyx::count rather than countChar.
5043 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5045 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5047 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5049 * insetgraphics.C (updateInset): do not try to render image if
5050 lyxrc.use_gui is false (bug #104)
5052 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5053 if file does not exist
5055 * figinset.C (browseFile): add shortcuts to directory buttons
5057 * insettext.C (updateLocal): update menubar and toolbar here too.
5059 2002-01-13 Allan Rae <rae@lyx.org>
5061 * insettabular.C (InsetTabular): Both constructors now initialise
5062 all class variables.
5064 2002-01-11 Juergen Vigna <jug@sad.it>
5066 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5068 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5070 * insettabular.C (getStatus): add forgotten brace around multiline
5073 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5075 * insetfloat.C (validate): require "float" instead of "floats".
5077 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5079 * insettabular.C (getStatus): use FuncStatus
5081 2002-01-08 Juergen Vigna <jug@sad.it>
5083 * insettabular.C (insetButtonRelease): now this should work too
5086 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5087 if the width is a percentage.
5089 * inset.h: added isChar() function and implemented this for
5090 insetspecialchar insetquotes and insetlatexaccent.
5091 added forceDefaultParagraphs() and implemented it for insettabular.
5093 2002-01-07 Juergen Vigna <jug@sad.it>
5095 * insettext.C (getLyXText): Fixed this function. An insert into the
5096 map is only done if we REALLY have a new BufferView.
5098 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5100 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5102 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5104 * insetinclude.C: fix use of FileInfo
5106 2002-01-07 Juergen Vigna <jug@sad.it>
5108 * insettabular.C (draw): fixed clearing of cell around inset.
5110 2002-01-05 Juergen Vigna <jug@sad.it>
5112 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5113 variables are updated.
5115 * insettabular.C (resetPos): set always the inset_y as it may be
5116 needed in another function.
5117 (searchBackward): don't draw while searching.
5119 2002-01-04 Juergen Vigna <jug@sad.it>
5121 * insettext.C (lockInsetInInset): forgot to set a cursor.
5123 2002-01-02 Juergen Vigna <jug@sad.it>
5125 * insettext.C (insertInset): make the correct undo informations on
5126 inserting new insets.
5128 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5130 * insettabular.C: correct single-cell select vertically
5132 2001-12-27 Juergen Vigna <jug@sad.it>
5134 * insettabular.C (ascii): export as tab-separated-values if the
5135 function was not called from export (f.ex.: clipboard).
5137 * insetcollapsable.h: added default support for ascii, linuxdoc and
5138 docbook export (the insettext is exported by default!)
5140 * insettabular.C (copySelection): suff the clipboard with the tabular
5141 data in a tab separated format, seems more naturals then with all the
5144 2001-12-24 Juergen Vigna <jug@sad.it>
5146 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5147 to check for REAL mouseMotion.
5149 2001-12-20 Juergen Vigna <jug@sad.it>
5151 * inset.C (cursor): return the owners cursor if available instead of
5152 always only the bv->text->cursor.
5154 * insettabular.C (checkLongtableSpecial): works now.
5156 2001-12-19 Juergen Vigna <jug@sad.it>
5158 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5159 this has to be always row + 1 as 0 means not selected!
5160 (checkLongtableSpecial): added
5161 (tabularFeatures): better longtable options support
5163 * insettext.C (resizeLyXText): reinit the text always also on a
5166 2001-12-18 Juergen Vigna <jug@sad.it>
5168 * insettext.C (updateInsetInInset): look if we have to autocollapse
5169 paragraps and return if the update is requested for ourself.
5171 * insetert.C (status): update the insettext not myself as that is what
5174 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5175 function only return if the update was requested with myself.
5177 * insettext.C (insetButtonPress): fixed stupid bug.
5178 (various functions): pay attention that lt is cleared BEFORE calling
5179 updateLocal() and try to use it in the right manner (don't use it
5180 if it's not really neccessary!)
5181 (collapseParagraphs): insert a blank between collapsing paragraphs
5182 if neccessary (not already there!).
5184 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5186 * insettabular.C: move includes around a bit, add a couple of
5189 * insettext.[Ch]: move includes around a bit, other ws changes and
5192 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5194 * insettext.C (insetButtonRelease): fix compile problem
5196 2001-12-17 Juergen Vigna <jug@sad.it>
5198 * insettext.C (insetButtonPress): set the selection cursor!
5199 (insetButtonPress): clear the selection (and set with that the
5200 selection.cursor) if we only hit an inset!
5202 * insetert.C (read): removed piece of compatibility code only needed
5205 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5208 * insetcollapsable.C (insetButtonRelease): changed so that it can
5209 open eventual existing popup dialogs on mousebutton==3.
5211 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5213 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5215 * inset.C (insetButtonRelease): return a bool for telling the outer
5216 world that we opened a dialog.
5218 2001-12-07 Juergen Vigna <jug@sad.it>
5220 * insettext.C (paragraph): remove the deleteing of paragraphs as
5221 it was a WRONG move!
5223 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5226 * insettabular.C: use new setSelection(). Allow
5227 selection of single cells.
5229 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5231 * insetquotes.C (latex): fix to use the local language setting at
5232 the point where the inset is inserted (different macros for
5233 different french packages)
5235 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5237 * inset.h: add par_owner_ member variable and parOwner
5240 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5242 * insettabular.C (everywhere): adapt because widths are now real
5243 widths and not strings
5245 * insettext.C (draw): re-introduce the calls to width(), ascent()
5246 and descent() to initialize the caching variables.
5248 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5250 * insettext.C (draw):
5251 (drawFrame): use insetWidth instead of last_width
5253 * insettext.h: remove variable last_width (insetWidth is exactly
5254 the same) and last_height (computed but never used!)
5256 2001-12-10 Allan Rae <rae@lyx.org>
5258 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5260 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5262 * insettext.C (insetAllowed): add comment
5264 2001-12-05 Juergen Vigna <jug@sad.it>
5266 * insettext.C (insetAllowed): fixed for the case that we directly
5267 ask the insettext from its LyXText.
5268 (paragraph): fixed the crash when assigning the par->next() from
5269 the EmptyParagraphMechanism!
5271 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5275 * insettext.C: change "while(" to "while ("
5277 2001-12-04 Juergen Vigna <jug@sad.it>
5279 * insetert.C (edit): handle Inlined status.
5281 * insettext.C (insertInset): trying John's fix for the trailing cursor
5283 * insetert.C (insetButtonPress): added to handle inlined status
5284 (insetMotionNotify): ditto.
5286 * insettext.C (clearInset): changed Painter & in BufferView * param,
5287 to be able to call ascent,descent methods.
5289 2001-12-03 Juergen Vigna <jug@sad.it>
5291 * insettext.C (updateInsetInInset): use lt variable to forbid
5292 changes of LyXText in an update call.
5293 (updateInsetInInset): fixed updating of non locked insets!
5295 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5297 * insettabular.C: capture some more functions to prevent
5298 selection drawing problems. Bug #451274
5300 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5303 * insetgraphicsParams.C: fix inverted sense of float_equal
5305 2001-11-30 Juergen Vigna <jug@sad.it>
5307 * insettabular.C (InsetTabular): use the save_id flag to create also
5308 the tabular with the same id's.
5310 * insettext.C (setParagraphData): added a same_id function for undo
5311 to set the same paragraph id's as of the paragraph we are setting.
5313 2001-11-30 José Matos <jamatos@fep.up.pt>
5316 * insettoc.[Ch]: DocBook -> docbook.
5318 2001-11-29 André Pönitz <poenitz@gmx.net>
5321 * insettext.C: further reduction of header dependencies by using
5322 lyx::layout_type and lyx::textclass_type from support/types.h
5324 2001-11-29 Juergen Vigna <jug@sad.it>
5326 * insettext.C: inserted a reinitLyXText function everywhere I delete
5327 the paragraphs! This should fixe the crashes we had.
5328 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5329 (paragraph): set the InsetOwner() of the new paragraphs!
5331 2001-11-28 André Pönitz <poenitz@gmx.net>
5333 * insetnote.C: add pos initialization that I removed without
5336 2001-11-28 Juergen Vigna <jug@sad.it>
5338 * insettabular.C (resetPos): hack to not crash with infinite paints.
5340 * insettabular.h: insert missing function allowSpellcheck()!
5342 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5344 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5347 * insetfloatlist.C: derive from InsetCommand so gui can use it
5350 2001-11-26 André Pönitz <poenitz@gmx.net>
5354 * insetnote.C: reduce header dependencies, introduce type for
5357 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5359 * various: update for Alert.h
5361 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5363 * inset.h: fix comment
5365 * insettext.C: use par->isInset()
5367 2001-11-22 Allan Rae <rae@lyx.org>
5369 * insetcollapsable.h:
5370 * inset.h: Changes to checkInsertChar() behaviour.
5371 Now return value indicates whether chars can be inserted.
5373 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5375 * various: updated to use the new LaTeXFeatures
5377 2001-11-14 José Matos <jamatos@fep.up.pt>
5379 * insetspecialchar.C (linuxdoc):
5380 (docbook): don't give a name to a unused variable.
5382 * insettext.C (docbook): removed unused variable.
5384 2001-11-13 Herbert Voss <voss@perce.de>
5386 * insetgraphic.C: fix scale bug
5388 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5390 * inset.h (isSpace):
5391 (isLetter): new virtual methods.
5393 * insetspecialchar.C (isSpace):
5394 (isLetter): implement here.
5396 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5398 * inset.h: new inline helpers
5400 * insettext.C: use new helpers
5402 2001-11-07 José Matos <jamatos@fep.up.pt>
5404 * insettext.C (docbook): full support for paragraphs inside insettext.
5406 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5408 * insetindex.C: added header file for std::ostream.
5410 2001-11-03 José Matos <jamatos@fep.up.pt>
5412 * insetindex.C: added using std::ostream that I forgot yesterday.
5414 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5416 * insetindex.h (docbook):
5417 * insetindex.C (docbook): added support for docbook export.
5419 2001-11-02 José Matos <jamatos@fep.up.pt>
5421 * insetcaption.C(docbook): added support for docbook export.
5423 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5425 * insetexternal.C (updateExternal): Do not run update command if
5426 result file exists and is up to date.
5428 * ExternalTemplate.C (readFormat): Support the updateresult token.
5430 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5432 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5433 external_templates) to use the buffer->fileName() but only if
5434 previewing. Generating a TeX file should make FPath return
5437 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5440 * insetert.C: fix some problems
5442 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5444 * insetexternal.C (doSubstitution): Added $$FPath token
5445 to list of usable substitutions in external inset templates.
5447 2001-10-24 Juergen Vigna <jug@sad.it>
5449 * insettabular.C: use new ltType struct for setting longtable
5450 header and footers also new UNSET enums.
5452 2001-10-24 José Matos <jamatos@fep.up.pt>
5454 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5455 (docbook): If the table is not inside a float then wrap it inside
5456 <informaltable>...</informaltable>.
5458 2001-10-23 José Matos <jamatos@fep.up.pt>
5460 * insetref.C (docbook): removed / terminator to conform SGML.
5462 * insetspecialchar.C (linuxdoc):
5463 (docbook): Added support for special chars, more than ascii export.
5465 2001-10-22 Juergen Vigna <jug@sad.it>
5467 * insettext.C (checkInsertChar): added for REALLY checking the
5468 font of the inserted char in the right inset!
5470 2001-10-19 Juergen Vigna <jug@sad.it>
5472 * inset.h: added method allowSpellcheck() so that insets who do
5473 not have anything to spellcheck can tell and so they are over-jumped.
5474 Implemented for InsetText and co.
5476 2001-10-18 Juergen Vigna <jug@sad.it>
5478 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5480 2001-10-15 José Matos <jamatos@fep.up.pt>
5482 * insetert.C: allow export for docbook and linuxdoc
5484 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5486 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5488 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5490 * insetquotes.C (dispString): fix handling of latin9 quotes
5492 2001-10-03 Juergen Vigna <jug@sad.it>
5496 * insetcollapsable.C: change updateInset calls to not tell BV that
5497 we have changed status.
5499 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5501 * insettabular.C (deletable): make const
5503 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5505 * insetert.C (latex): Fix the returned value
5507 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5509 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5510 Returns string(), so nothing in an ERT inset is spellchecked.
5512 * insetgraphics.C (draw): print the filename if not displaying the
5514 (width): make sure that the width and draw methods are consistent.
5515 (updateInset): don't even load the image into cache if not displaying
5518 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5520 * various files (selectNextWord): renamed as
5521 selectNextWordToSpellcheck.
5523 * insetgraphics.C (draw): remove the previous change. Right place
5524 is in imageLoaderXPM.C.
5525 (draw): don't display the image if params.display == NONE.
5527 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5529 * figinset.C (runqueue):
5530 * insetgraphics.C (draw): set background colour of inset from
5531 background to the user-configurable graphicsbg.
5533 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5535 * insetquotes.C (InsetQuotes): when trying to decide the side of
5536 the quote, choose `left' only after a space or '('
5538 2001-09-04 José Matos <jamatos@fep.up.pt>
5543 * insetcollapsable.h
5561 * insetlatexaccent.C
5562 * insetlatexaccent.h
5567 * insetspecialchar.C
5568 * insetspecialchar.h
5572 * insettext.C (docbook): rename docBook method to docbook.
5574 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5576 * inset.h (getFirstParagraph): New virtual method.
5578 2001-08-20 Herbert Voss <voss@perce.de>
5579 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5580 in the the bibtex-database-gui for inserting a line
5583 If no style is given than there is no tex-output.
5585 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5587 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5591 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5593 * insetert.C (latex): Fix output for multiple paragraphs.
5594 (write): New code for writing paragraph data.
5595 (read): Set font after reading the inset.
5596 (localDispatch): Call set_latex_font() for more cases.
5598 * insetnote.h: Add empty validate method.
5601 * insetnote.C (InsetNote): Set language to the language of the
5604 2001-08-16 Juergen Vigna <jug@sad.it>
5606 * insettext.C: implemented the new FINISHED states.
5608 * insettabular.C: ditto
5610 * inset.h: added more FINISHED states for cursor right,up,down
5612 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5614 * insetfloatlist.C: use "FloatName List"
5616 2001-08-14 Juergen Vigna <jug@sad.it>
5618 * insetert.C (edit): forgot to set status_ in edit calls!
5620 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5622 * insettext.C: Compilation fix
5624 2001-08-13 Juergen Vigna <jug@sad.it>
5626 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5628 * insetcollapsable.C (edit): don't recollapse an already open inset.
5630 * insettext.C: fixed problem when reinitializing LyXText by not doing
5631 it while lt is in use and post this to the next possible time in
5633 (searchForward): fixed not unlocking of inset if nothing found.
5634 (edit): set cursor behind right (was set -1 pos).
5636 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5638 * insettabular.C (tabularFeatures): fixed fix where deleting the
5639 last row didn't get the right actcell!
5641 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5643 * insettext.C (localDispatch): Change language only when the inset
5646 2001-08-10 Juergen Vigna <jug@sad.it>
5648 * insettabular.C (selectNextWordInt): use the front using edit call.
5650 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5651 the parameter overwrite class variable inset.
5653 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5655 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5656 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5658 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5659 update only for fixed with cells.
5660 (resetPos): try to fix the lockup on spellchecking or s&r.
5662 * insettext.C (update): comment this out as it seems first wrong
5663 and second not needed anymore!
5664 (some functions): call reinitLyXText() only in update() in all other
5665 positions set only need_update = INIT.
5667 2001-08-08 Juergen Vigna <jug@sad.it>
5669 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5671 * insettext.C (insetUnlock): remove double-space on inset unlock.
5673 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5675 * insettabular.C (update): fixed cursor positon after an insert.
5676 (insetAllowed): do not allow to insert insets when not inside the
5678 (draw): clear below an inset too as it could have changed height.
5680 * inset.C (getMaxWidth): fixed width for inset in inset.
5682 * insettext.C (update): small fix.
5684 * insettabular.C (tabularFeatures): added selection support to
5685 DELETE_ROW/DELETE_COLUMN.
5687 2001-08-07 Juergen Vigna <jug@sad.it>
5689 * inset.C (getMaxWidth): recoded and all it's implementations!
5691 * insettext.C (init,setParagraph+constructors): cleanups
5692 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5693 are new and I want do a save/restore of the cursor position which is
5694 not possible anymore.
5696 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5697 (searchBackward): ditto
5698 (selectNextWord): ditto
5700 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5702 * insetlatexaccent.C (checkContents): Add some debug messages
5704 2001-08-07 Juergen Vigna <jug@sad.it>
5706 * insetert.C (read): don't use InsetCollapsable::read as we don't
5707 write the collapsed status anymore only the status.
5710 2001-08-06 Juergen Vigna <jug@sad.it>
5712 * insetert.C (set_latex_font): use LyXText's setFont directly.
5714 * insettext.C (drawFrame): fixed one time more the right position
5715 and size of the frame!
5717 * insetert.C (~InsetERT): hide the dialog.
5718 (showInsetDialog): added implementation
5721 (status): new function for the status of the ERT inset (3-state).
5722 (write): output also the status of the inset for readback!
5723 (read): readback the status if available otherwise use collapsed_.
5725 * insettext.C (edit): small fix of setting the position, which could
5728 * insetert.C (width): implement this function for inlined viewing.
5729 Added minimum width of 10 pixels!
5731 * insetminipage.C (InsetMinipage): just change the colors a bit so
5732 that border/background is a bit more visible. We will remove this
5735 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5736 function for getting the important widths for drawing in various
5737 functions and in LyXText.
5738 (draw): fixed up a bit (frame drawing/clearing)
5740 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5742 * inset.C (convertFont): delete method. not used.
5744 2001-08-03 Juergen Vigna <jug@sad.it>
5746 * insettext.C (setFont): don't call for a draw update if we're just
5747 changing the cursor font!
5749 2001-08-02 Juergen Vigna <jug@sad.it>
5751 * insettext.C (draw): clear the background with the right color if
5752 needed. Update myself if x&max-width changed and return without doing
5753 anything. Let the update code handle the right stuff.
5755 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5756 inside another inset.
5758 2001-08-01 Juergen Vigna <jug@sad.it>
5760 * insetcollapsable.C (update): added an in_update bool so we avoid
5763 * insettabular.C (update): added an in_update bool so we avoid
5766 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5768 (update): added an in_update bool so we avoid reentering.
5770 * insettabular.C (localDispatch): clear col/row selection when doing
5771 something else inside an inset.
5773 * insettext.C (getLyXText): fixed bug when requesting a recursive
5776 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5778 * insetcite.C (latex): Paranoia check. Make sure that there is no
5779 whitespace between the citation keys.
5781 2001-07-31 Juergen Vigna <jug@sad.it>
5783 * inset.h (nodraw): make the set function also const so that this
5784 can be called from inside other const functions.
5786 * insetcollapsable.h: removed inline variable and moved it over
5787 to the only user InsetERT.
5789 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5790 inset opening immediately therein lying insets dialogs!
5792 * insetert.C (localDispatch): set the font also if we don't have any
5793 chars in this paragraph, otherwise if we delete all of em and start
5794 writing we have the wrong font.
5796 (draw): implemented for inline support
5797 (insetButtonRelease): ditto.
5799 2001-07-30 Juergen Vigna <jug@sad.it>
5801 * insettext.C (reinitLyXText): new function to reinit the insets
5802 text after lot's of paragraph changes. Use this instead of the
5803 cache.clear() which is VERY dangerous.
5805 * insetfloat.C (insetButtonRelease): we should only show the dialog
5806 if we press on the label otherwise we have problems to open mouse
5807 button 3 dialogs inside this float (f.ex. of a tabular!)
5809 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5811 * insetert.C: change back to "ERT"
5813 * insetfloat.C: handliign of RMB on label added.
5815 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5817 * insetgraphicsParams.C: #include LOstream.h here.
5819 * insetfoot.h: remove InsetFoot:: qualifier.
5821 2001-07-29 Baruch Even <baruch@lyx.org>
5823 * ChangeLog: Hiding time travel evidence.
5825 * insetgraphicsParams.h:
5826 * insetgraphicsParams.C:
5827 * insetgraphics.C: Added horizontal scale option, it actually scales both
5828 directions since it keeps image proportions.
5830 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5832 2001-07-29 Baruch Even <baruch@lyx.org>
5834 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5835 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5837 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5839 2001-07-29 Baruch Even <baruch@lyx.org>
5841 * insetgraphics.C: Added EPSI to be an alias of EPS.
5843 2001-07-29 Baruch Even <baruch@lyx.org>
5845 * insetgraphics.C: Change GRAPHICS to Graphics.
5846 Changed image conversion rules (documented at the beginning of file).
5848 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5850 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5853 * insetgraphics.C: added a using std::endl directive.
5855 * insetcommand.h (getScreenLabel): removed pure virtual function,
5856 as it duplicates that in InsetButton.
5858 * insetbib.[Ch] (getScreenLabel):
5859 * insetbutton.[Ch] (getScreenLabel):
5860 * insetcite.[Ch] (getScreenLabel):
5861 * insetert.[Ch] (getScreenLabel):
5862 * insetexternal.[Ch] (getScreenLabel):
5863 * insetfloatlist.[Ch] (getScreenLabel):
5864 * insetinclude.[Ch] (getScreenLabel):
5865 * insetindex.[Ch] (getScreenLabel):
5866 * insetlabel.h (getScreenLabel):
5867 * insetparent.[Ch] (getScreenLabel):
5868 * insetref.[Ch] (getScreenLabel):
5869 * insettoc.[Ch] (getScreenLabel):
5870 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5872 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5874 (validate): remove check on "cite" when using natbib.
5876 2001-07-26 Baruch Even <baruch@lyx.org>
5878 * insetgraphics.C (draw): changed casting to be in one place rather than
5879 all over the function.
5882 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5884 * insetgraphicsParams.h:
5885 * insetgraphicsParams.C:
5886 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5888 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5890 * insetfoot.C (validate): Added method to ensure that the
5891 right bit of LaTeX is emitted.
5893 * insetfoot.h: Added validate method to set the correct
5894 LaTeXFeatures bit for the special footnote code.
5896 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5898 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5901 2001-07-27 Juergen Vigna <jug@sad.it>
5903 * inset.h: remove not used font variable in parameter.
5904 removed checkInsertChar in UpdatableInset as it was equal to
5905 the one in Inset and so not needed.
5907 * insetert.C (checkInsertChar): implementation of function
5910 * inset.h: added new function checkInsertChar.
5912 * various files: added c-tor and clone() function.
5914 * insetcollapsable.h: removed clone function here as this should
5915 be only realized in REAL insets and added it to all collapsable
5916 insets! (with the copy-constructor).
5918 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5920 * insetminipage.C (read): handle missing parameters more gracefully
5922 * insetcollapsable.C (read): handel missing collapsed more gracefully
5924 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5926 * insetfloat.C (read): handle missing parameters.
5928 * insettext.C (read): handle old latex end_inset
5930 * insetert.C (setButtonLabel): new method
5931 (init): use it, to set the dynamic label correctly
5934 * Makefile.am (EXTRA_DIST): add files that is not part or the
5937 * insetcollapsable.h: remove autocollapsable (no users), remove
5938 draw_label, change_label_with_text and companion code. Remove args
5940 * insetert.[Ch]: move here instead (only user)
5942 * inset.h: rename private variable name to name_, make
5943 selectNextWord return a const string. make getInsetName return a
5944 string const &. Remove bool from open, add close.
5946 * Makefile.am: don't compile insetlist, insetsection
5949 2001-07-24 Juergen Vigna <jug@sad.it>
5951 * insetert.C (InsetERT): put init after the paragraph initialization,
5952 as otherwise we don't set the draw_label right.
5954 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5955 insets with the mouse without having strange selections.
5956 (edit): if the inset was collapsed and we open it here then put the
5957 cursor always at the beginning of the inset.
5958 (get_new_label): 15 instead of 10 max chars in the label.
5960 * insetert.C (localDispatch): added and handle various stuff we
5961 need to handle here (font setting on paragraph break, not permitted
5962 layout setting, etc.).
5964 * inset.h: added default copy-consturctor and implemented this in
5965 various insets with the change to use this in the clone function!
5967 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5969 * insetminipage.C (InsetMinipage): set background color to red :)
5971 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5973 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5974 draw frame mode is LOCKED.
5976 * insetcollapsable.C (edit):
5977 (insetButtonRelease): set update status to full when
5980 * insettext.C (clearInset):
5981 * insettabular.C (draw):
5982 * insetlatexaccent.C (draw): honor background color.
5984 * inset.h: new member background_color_, initialized to
5987 * inset.C (backgroundColor): new method.
5988 (setBackgroundColor): new method.
5990 * insetert.C (init): new method, called by the ctors.
5991 (InsetERT): when inserting contents, make sure the font is
5994 * insetnote.C (InsetNote): when inserting content, remove trailing
5996 (init): set background color to LColor::note
5998 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
6000 * insetcollapsable.C: adjust
6002 * insetbutton.C: adjust
6004 2001-07-23 Juergen Vigna <jug@sad.it>
6006 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
6007 parameter on the _collapsed function (was not needed) and call
6008 always width_collapsed().
6010 * insetert.C (InsetERT): use setLabel with "true" flag.
6012 * insetcollapsable.C: modified various functions to set the draw_label
6013 string right in any condition.
6014 (setLabel): added a bool parameter to set change_label_with_text.
6016 * insetcollapsable.h: added draw_label string which is set to the
6017 actual drawn label-string, while label is the original static label
6018 of this collapsable inset. Added bool change_label_with_text to set
6019 if we want that the label changes to the start of the InsetText's
6020 text when collabpsed. You can set this flag with the setLabel funciton.
6021 Added bool inlined for inlined collapsable insets, but not handled
6024 * insetcollapsable.C (get_new_label): added should get a new label
6025 from the InsetText beginning (for now 10 chars).
6027 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6029 * insetquotes.C (latex): fix the handling of french double quotes
6030 when not using the french pachage.
6032 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6034 * insetcollapsable.h: make WidthCollapsed mutable.
6036 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
6037 InsetPrintIndex returns INDEX_PRINT_CODE.
6039 * inset.h: add INDEX_PRINT_CODE
6041 * insetcollapsable.C (draw): init widthCollapsed if necessary
6044 * insetquotes.C (width): use the local language, not the document
6047 (dispString): add additional spacing for all french languages,
6049 (validate): make it work when there is no default language
6051 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6053 * insetnote.C (init): new method, called by the constructors
6054 (InsetNote): new constructor with contents passed as a string
6056 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6058 * insetfootlike.C (insetAllowed): disallow float in footlike.
6060 * insetert.C (InsetERT): add collapsed argument to the constrctor
6063 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6065 * insetindex.h: shut off warning
6067 2001-07-20 Juergen Vigna <jug@sad.it>
6069 * insetcollapsable.C (update): recoded hopefully works now!
6071 2001-07-19 Juergen Vigna <jug@sad.it>
6073 * most files: implemented the below new introduced function.
6075 * inset.h: added new edit(BufferView *, bool front) method to be able
6076 to enter an inset from the front/back without knowing x/y positions
6077 and baselines inside the inset. So I just can tell the inset activate
6078 me and set the cursor on the front/back of yourself.
6080 2001-07-18 Juergen Vigna <jug@sad.it>
6082 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6083 is given to the InsetText.
6084 (insetButtonPress): ditto
6085 (insetButtonRelease): ditto
6086 (insetMotionNotify): ditto
6088 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6090 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6091 LIGATURE_BREAK, since the name is so stupid.
6093 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6095 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6096 the default InsetCollapsable methods. I.e., it can insert anything.
6097 (write) output the name of the inset, not some silly hack for
6098 compatability with the old InsetInfo.
6100 * insetinfo.[Ch]: removed.
6101 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6102 now collapsable, but functionality is otherwise identical to InsetInfo.
6104 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6106 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6108 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6111 * insetquotes.C: general cleanup
6112 (dispString): add spaces inside french double quotes.
6113 (latex): ditto. Moreover, treat first the case where the frenchb
6114 or french options have been given.
6116 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6118 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6121 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6123 * figinset.C (RegisterFigure): Print debug message only when
6124 current_view is available.
6126 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6128 * many files: update to match the change below
6130 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6131 implement the version which takes an inset here.
6133 * insetcollapsable.[Ch]: implement open and isOpen
6135 * inset.h: remove insertInsetAllowed from Inset
6136 (open): new method, to open or close an inset
6137 (isOpen): returns the status of an inset
6138 (isCollapsable, colapse): removed
6140 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6142 * insetquotes.C (dispString): display french guillemets when using
6145 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6147 * insetcollapsable.h: remove bogus return statements
6149 2001-07-18 Juergen Vigna <jug@sad.it>
6151 * insettabular.C (selectNextWord): fixed spellchecking for the
6152 first cell of a tabular (wasn't entered!)
6153 (getLyXText): changed to enter automatically insettext and return
6154 it's LyXText if we're locked.
6156 2001-07-17 Juergen Vigna <jug@sad.it>
6158 * various files: implemented the below functions.
6160 * inset.h: added functions
6161 - virtual string selectNextWord(BufferView *, float & value) const;
6162 - virtual void selectSelectedWord(BufferView *) { return; }
6163 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6164 needed for spellchecking correctly!
6166 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6168 * insetert.C (latex): write out all paragraphs.
6170 2001-07-17 Baruch Even <baruch@lyx.org>
6172 * insetgraphics.C (draw): Removed unneeded casts.
6174 2001-07-16 Juergen Vigna <jug@sad.it>
6176 * insettext.C (update): fixed small oversight (reset lt to 0).
6178 2001-07-14 Baruch Even <baruch@lyx.org>
6181 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6183 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6185 Consistent use of Lsstream.h:
6186 * figinset.C: removed using std::ostringstream directive.
6188 * insetgraphics.C (createLatexOptions):
6189 * insetinclude.C (unique_id):
6190 std::ostringstream -> ostringstream.
6191 * insettext.C (localDispatch): std::istringstream -> istringstream.
6193 2001-07-13 Juergen Vigna <jug@sad.it>
6195 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6197 * insetcollapsable.C (getLockingInset): ditto.
6199 2001-07-12 Juergen Vigna <jug@sad.it>
6201 * insetcollapsable.h: added implementation of new function for
6204 * various files: added implementation of new insertInsetAllowed-func
6205 and redone the function a bit more.
6207 * inset.h: added isCollapsable(), bool collapsed(),
6208 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6210 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6212 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6213 LyXText which is marked for removal while we're using it!
6215 * insettext.h: added private LyXText * lt to use it to assure we are
6216 not deleting our LyXText while we're using it!
6218 2001-07-11 Juergen Vigna <jug@sad.it>
6220 * insettext.C (insertInset): check if we are before the inset after
6221 inserting it! This check IS needed. Remove the Undo-Call as it is
6222 called in LyXText::insertInset!
6224 * insettext.h: added struct InnerCache.
6226 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6227 that we ONLY delete the LyXText in the getLyXText() routine. So we
6228 are sure we don't delete LyXText while someone is working with it!
6230 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6232 * insetexternal.C: (*it). -> it->
6233 * insettext.C: ditto
6235 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6237 * insetcollapsable.C (edit): always open collapsed insets (even if
6238 they are not autocollapsable)
6240 * insetcommand.C (operator=): simplify.
6242 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6244 * insetert.C (latex): handle META_NEWLINE
6246 2001-07-09 Juergen Vigna <jug@sad.it>
6248 * insetert.h: a normal InsetText can insert insets, but we won't.
6250 * inset.h: return default "false" on insertInsetAllowed and implement
6251 this function where a returnvalue != "false" is needed.
6253 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6255 * insetert.C (InsetERT): new contructor
6257 2001-07-06 Juergen Vigna <jug@sad.it>
6259 * a lot of files: added implementation of the below new functions
6260 and the change to clone(). Also the call of the new undo-functions
6263 * inset.h: added an inset_id, added functions getParFromID,
6264 getInsetFromID, firstParagraph, cursor and id functions, added
6265 bool same_ids to clone function.
6267 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6269 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6270 of BufferView * and shared_ptr<LyXText>
6272 2001-07-05 Juergen Vigna <jug@sad.it>
6274 * insettext.C (clear): deleted also the cache not only LyXText.
6275 (setParagraphData): ditto.
6277 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6279 * insetfloat.C (latex): let the specific placement take presedence
6280 if set, otherwise choose document placement if set, otherwise just
6281 use float default placement.
6283 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6285 * insettext.C (localDispatch): call CutAndPaste::'s static method
6288 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6290 * insetbib.C: no meed to include forms.h here.
6292 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6294 * insettext.C: added using std::make_pair directive.
6296 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6298 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6300 (deleteLyXText): ditto
6301 (resizeLyXText): ditto
6303 2001-07-02 Juergen Vigna <jug@sad.it>
6305 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6306 following calls are only returned the right pointer without the over
6307 head to search in the map.
6308 (various funcs): reset the cached_bview variable as this signs that
6309 the cache is not valid anymore.
6311 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6313 * insettabular.C (clone): do not copy the LyXTabular twice
6315 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6317 * insettext.h (TEXT): delete method
6319 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6321 * insetmarginal.C (latex):
6322 * insetfoot.C (latex): fix spacing of notes in LaTeX
6324 * insettext.C (localDispatch): use .c_str() on istringstream
6325 constructor argument.
6327 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6332 * inseturl.C: fix method names in these to begin
6333 with small char too, so they inherit
6335 2001-06-28 Juergen Vigna <jug@sad.it>
6337 * insettext.C (setFont): fixed font settings using toggleFree()
6338 instead of setFont().
6340 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6342 * Change a lot of method names to begin with a small char.
6343 Changes to a lot of files because of this.
6345 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6347 * insetfloatlist.C (Write): std:: qualify ostream
6350 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6354 * insetgraphics.C: send debug output to Debug::INFO instead of
6357 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6360 * insettabular.C (getStatus): update to use func_status
6362 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6364 * insetref.C (DocBook): added support for cross-references without
6367 2001-06-26 The LyX Project <jug@sad.it>
6372 * insetlabel.h: removed escape method and moved it to
6375 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6377 * insettabular.C (getMaxWidth): do the speedup in a different way,
6380 2001-06-24 The LyX Project <Asger>
6382 * insettabular.C (getMaxWidth): We cache a mapping from
6383 inset to cell in order to speed this method up.
6385 2001-06-24 The LyX Project <Asger>
6387 * insettext.C: Optimized InsetText::draw or something.
6389 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6391 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6393 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6395 * inset.h: name change from lyxinset.h
6397 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6399 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6401 2001-06-14 Juergen Vigna <jug@sad.it>
6403 * insettext.C (draw): removed warnings.
6405 2001-06-13 Juergen Vigna <jug@sad.it>
6407 * insettabular.C (nodraw): only go down the tree if we don't have
6408 that flag set otherwise it's obvious that we don't want to draw.
6409 (LocalDispatch): do also an update if we have an undispached result.
6411 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6414 * insetgraphicsParams.C:
6415 * insettext.C: removed // -*- C++ -*- as first line.
6417 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6419 * lyxinset.h (resizeLyXText): shut off warning about unused
6422 2001-06-07 Juergen Vigna <jug@sad.it>
6424 * insettext.C (resizeLyXText): honor the new force flag.
6426 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6428 * insettabular.C (deleteLyXText): new function
6430 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6438 * insetcollapsable.C:
6439 * insetcaption.C: LColor tidy
6441 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6443 * figinset.C: fix typo
6445 2001-06-01 Juergen Vigna <jug@sad.it>
6447 * insettabular.C (resetPos): small hack so that scroll is not set to
6448 0 when we are in the last column of a tabular. This is a problem we
6449 have because of constats 20 offset on both directions, so this can
6450 cause on the limit an endless loop.
6452 * insettext.C (SetFont): forgot that we can have locking insets ;)
6454 2001-05-31 Juergen Vigna <jug@sad.it>
6456 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6458 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6460 * figinset.C: add using std:: directive for the C functions which
6463 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6465 * insetfloat.C (Write): write out wide info
6466 (Read): read the wide info
6467 (Latex): use the wide info when creating latex.
6469 * insettext.C: adjust
6471 * insetgraphics.[Ch] (statusMessage): change to return string
6475 * figinset.C (runqueue): add std::
6478 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6480 * insetcite.C (Ascii): add std:: qualifier
6482 2001-05-28 Juergen Vigna <jug@sad.it>
6484 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6485 a endless-width inset (maxWidth < 0).
6486 (Edit): change language only if not equal.
6488 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6490 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6492 2001-05-16 Juergen Vigna <jug@sad.it>
6494 * insettext.C (selectAll): added
6495 (clearSelection): added
6497 * insettabular.C (SetFont): now we may set a font on a whole selection!
6498 (getSelection): added helper function.
6500 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6502 * insetcite.C (Ascii): Add method.
6504 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6507 * insetbib.C: fix path for OS/2 & Win32
6509 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6511 * insetfoot.C (Latex): don't use % after footnote.
6513 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6515 * insettext.C (Read): use clear
6516 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6518 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6520 * insetfloatlist.h: add a bunch of std:: qualifiers.
6522 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6524 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6525 FLOAT_LIST_CODE, renumber code list.
6527 * insettoc.C (getScreenLabel): remove support for float lists
6531 * insetfloatlist.[Ch]: new files
6533 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6535 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6537 * insettabular.C (LocalDispatch):
6538 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6541 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6543 * insettext.C: remvoe !NEW_INSETS cruft
6545 * insettabular.C: remove !NEW_INSETS cruft
6547 * insetcollapsable.h: remove !NEW_INSETS cruft
6549 * insetbib.C: remove !NEW_INSETS cruft
6551 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6553 * insettoc.C: hack to make listof algorithm work
6555 2001-04-20 Juergen Vigna <jug@sad.it>
6557 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6559 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6561 * insetquotes.C (Latex): improve the guard against
6562 unwanted !` and ?` ligatures. This should really be done in
6563 another place (to catch all this ligatures at low-level).
6565 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6567 * insettext.C (init): remvoe leftovers from cursor_visible change
6568 (draw): use c++ cast
6569 (LocalDispatch): dispatch LFUN_MESSAGE
6571 * insettabular.C (InsetTabular): remove leftovers from
6572 cursor_visible, and scoped_ptr changes
6573 (draw): use c++ cast
6575 * insetcollapsable.C (draw): use c++ cast
6577 * ExternalTemplate.h: inherit privaely from noncopyable
6578 * insetcommand.h: ditto
6579 * insetinclude.h: ditto
6581 2001-04-16 Allan Rae <rae@lyx.org>
6583 * insettoc.C (Ascii):
6584 * insettext.C (draw):
6585 * insettabular.C (setPos):
6586 * insetminipage.C (Read):
6587 * insetfloat.C (placement):
6588 * insetcaption.C (Ascii, DocBook):
6589 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6590 an unrecognised preprocessor directive. So ensure they're wrapped.
6592 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6595 * insetexternal.C: set view on Clone. Add _ to private members.
6597 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6599 * insettext.C (InsetText): fix new
6600 (InsetText): reindent some, simplify deletion of par list
6601 (clear): simplify deletion of par list, fix new
6602 (SetParagraphData): simplify deletion of par list
6604 * insettabular.[Ch] (getLabelList): implement new method
6606 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6608 * lyxinset.h: do not include gettext.h...
6616 * insetlatexaccent.C:
6620 * inseturl.C: ... and do it here instead
6622 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6624 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6626 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6628 * insetcollapsable.[Ch] (getLabelList): implement
6630 * insettext.[Ch] (getLabelList): implement
6632 * insettext.h: reindent
6634 * insettabular.h: make tabular a scoped_ptr
6636 * insettext.C (init): adjust for cursor_visible
6637 (ToggleInsetCursor): constify asc and desc, font, adjust for
6639 (ShowInsetCursor): constify asc and desc, font, adjust for
6641 (HideInsetCursor): adjust for cursor_visible
6643 * insettabular.C: reindent some
6644 (InsetTabular): adjust for scoped_ptr and cursor_visible
6645 (InsetTabular): ditto
6646 (~InsetTabular): delete delete
6647 (Clone): adjust for scoped_ptr
6648 (Read): constify old_format, adjust for scoped_ptr, move init of
6650 (draw): constify tx, localize loop vars.
6651 some other localization of variables, remove double initilizatons.
6653 * insetfoot.C: remove using std::ostream, add ostream where needed
6655 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6657 * lyxinset.h: some reindentaion, use initializer list for
6659 UpdatableInset: make cursor_visible a private var add
6660 public isCursorVisible(), add protected toggleCursorVisible() and
6661 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6663 * insettoc.C: remvoe using decl
6664 (getScreenLabel): make cmdname donst
6667 (Ascii): don't use endl
6669 * insetfootlike.C: remove using decl at file scope and add std::
6671 * insetmarginal.C: ditto
6673 * insetfoot.C: some reformatting
6675 * insetfloat.C (InsetButtonRelease): adjust the hit area
6677 * insetert.C (SetFont): some reformatting
6679 * insetcollapsable.C: some reformatting and constification
6680 (Clone): comment out.
6681 * insetcollapsable.h: some reformatting
6682 (Clone): comment out.
6687 2001-03-30 Juergen Vigna <jug@sad.it>
6689 * insetcollapsable.h: changen *inset to be a InsetText inset.
6691 * some files: changed to reflect the above change.
6693 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6695 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6696 InsetExternal::Params.
6697 Added operator==() and operator!=() for the Params struct.
6699 2001-03-29 Juergen Vigna <jug@sad.it>
6701 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6704 * insetminipage.C: removed widthp_ and all it's functions and changed
6705 to use new %-lengths of LyXLength.
6707 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6709 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6711 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6713 * insetgraphicsParams.C (operator!=): new function, needed by the
6714 ControlGraphics class.
6716 2001-03-28 Juergen Vigna <jug@sad.it>
6718 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6719 (checkAndActivateInset): don't use the values returned from
6720 call to bv->checkInsetHit.
6722 * insetminipage.C (Clone): set special minipage values.
6724 * insetcollapsable.C (draw): changed to draw the button in the
6725 upper left corner outside the textinset.
6726 (ascent): changed because of different drawing
6730 (InsetButtonPress): ditto
6731 (InsetButtonRelease): ditto
6732 (InsetMotionNotify): ditto
6734 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6736 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6740 2001-03-26 Juergen Vigna <jug@sad.it>
6742 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6744 * insettext.C (ShowInsetDialog): implemented above function.
6746 * insettabular.C (ShowInsetDialog): ditto
6748 * insetminipage.C (ShowInsetDialog): ditto
6750 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6752 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6753 InsetInclude::Params. Don't store a buffer * in Params. Store the
6754 master file name instead.
6756 2001-03-23 Juergen Vigna <jug@sad.it>
6758 * insetcollapsable.C (InsetMotionNotify):
6759 (InsetButtonRelease):
6760 (InsetButtonPress): fixed y-offset (minipages).
6762 * insettext.C (draw): force a FULL update if cleared == true.
6764 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6765 routine to draw the minipages on its position-flag.
6766 (InsetInInsetY): give back the right y position, because of minipage
6769 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6772 * insetfloat.C (DocBook): docbook export code.
6774 2001-03-22 Juergen Vigna <jug@sad.it>
6776 * insetminipage.C (getMaxWidth): added function to set the drawing
6778 (Read): should work now!
6780 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6781 if we create a new inset.
6783 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6785 * figinset.C (fl_set_preemptive_callback): moved definition outside
6788 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6790 * insetminipage.C (Read): prepare for reading of minipage arguments.
6792 2001-03-18 Baruch Even <baruch@lyx.org>
6794 * insetgraphics.C: Minor cleanups of the comments and code.
6796 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6798 * insetminipage.C (InsetMinipage): default to not collapsed
6800 2001-03-16 Juergen Vigna <jug@sad.it>
6802 * insetminipage.C (width): modified with to be a string
6803 (widthp): added widthp (for % width) support functions.
6804 (InsetButtonRelease): added to open the options dialog on button==3.
6805 (~InsetMinipage): added to hide the dialog.
6807 * insetminipage.h: added hideDialog signal
6809 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6811 * insetminipage.h: change the order or Position to match
6812 LyXParagraph::MINIPAGE_ALIGNMENT
6814 * several files: remvoe CXX_WORKING_NAMESPACES
6816 * ExternalTemplate.h: noncopyable is in namespace boost
6817 * insetinclude.h: ditto
6818 * insetcommand.h: ditto
6820 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6822 * insettext.C (Edit): #else# -> #else.
6823 * insettoc.C: added using directive.
6825 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6827 * insetminipage.h: add pos, inner_pos, width and height. + getters
6828 and setters for all of them.
6830 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6832 * insetinclude.C (Latex): Do not exit when the textclass of the
6833 included file differ from the textclass of the parent file.
6835 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6837 * ExternalTemplate.C (read): the reading of external insets now checks
6838 for \end_inset and removes it form the input stream.
6840 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6842 * ExternalTemplate.h:
6843 * ExternalTemplate.C:
6845 * insetexternal.C: move form to GUII
6847 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6850 * insetinclude.C: add InsetIncludeParams, use
6851 composition rather than derivation of InsetCommand
6853 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6855 * insettoc.C (Ascii): use the Buffer typedefs
6857 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6859 * insettoc.C (Ascii): implement for dynamic number of lists
6861 * insetcaption.[Ch]: update from new_insets branch
6862 * insetfloat.[Ch]: ditto
6864 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6867 * figinset.C: use new File Dialog
6869 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6871 * insettext.C: changes becuase of ParagraphParameters.
6873 2001-02-28 Baruch Even <baruch@ev-en.org>
6875 * insetgraphics.C (updateInset): Changed due to the change in
6878 2001-02-26 Juergen Vigna <jug@sad.it>
6880 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6881 handled in LyXText).
6883 2001-02-23 Juergen Vigna <jug@sad.it>
6885 * insettext.C (draw): some small repainting fixes.
6886 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6888 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6889 should be) and not an int.
6891 * insettabular.C (LocalDispatch): ditto
6893 * insettext.C (LocalDispatch): ditto
6895 * insetcollapsable.C (LocalDispatch): ditto
6897 2001-02-22 Juergen Vigna <jug@sad.it>
6899 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6900 DISPATCH it and we don't have a locking_inset.
6902 2001-02-21 Baruch Even <baruch@ev-en.org>
6904 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6905 instead of GraphicsCacheItem *.
6907 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6909 * insetcollapsable.C (getLyXText): add const qualifier to second
6912 2001-02-22 Juergen Vigna <jug@sad.it>
6914 * insettext.C (getLyXText): honor the recursive parameter.
6915 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6917 * inset.C (getLyXText): added bool recursive parameter.
6919 * insettext.C (SetUpdateStatus): or the update codes.
6920 (draw): check need_update with &.
6921 (InsetButtonPress): set no_selection to not put a selection when
6922 entering an inset and it is redraws in another spot.
6924 * insettext.h: made need_update an int.
6926 2001-02-20 Baruch Even <baruch@ev-en.org>
6929 * insetgraphisc.C: Changed to use better semantics when loading images
6930 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6932 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6936 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6937 consistent with InsetTabular.
6939 2001-02-19 Juergen Vigna <jug@sad.it>
6941 * insettabular.C (LocalDispatch): implement PAGE up/down.
6943 * insettext.C (draw): clear all of it on need_update==INIT too!
6945 * insettabular.C (InsetUnlock): always clear the selection.
6947 * inset.C (scroll): normally we only want to scroll the inset until
6948 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6950 2001-02-14 Juergen Vigna <jug@sad.it>
6952 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6953 (resetPos): fixed scroll behaviour.
6954 (LocalDispatch): do an update if moving cursor inside a table cell
6955 requests a scroll of the tabular.
6957 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6959 * insettext.C (textWidth): constify local var
6961 * insettabular.C: small cleanup.
6963 * insetfoot.C (Latex): constify local var
6965 * insetcollapsable.C: small cleanup.
6967 * figinset.C (runqueue): use compare instead of strcmp
6969 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6972 * insetinfo.C: remove cruft
6974 2001-02-14 Juergen Vigna <jug@sad.it>
6976 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6978 2001-02-13 Juergen Vigna <jug@sad.it>
6980 * insettext.C (InsertInset): don't move left (is this right?)
6982 * insettabular.C (LocalDispatch): use of the no_draw variable
6984 * insettabular.h: new no_draw variable to stop redraw
6986 * insettabular.C (TabularFeatures): fixed update for alignment change
6988 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6992 * insetbib.C: move dialogs to frontends/
6994 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6996 * insettext.C (LocalDispatch): Restore the language if the inset
6999 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
7001 * insettext.C (moveRightIntern): Update the selection cursor.
7002 (moveLeftIntern): Ditto.
7004 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7006 * Makefile.am: remove BoundingBox.h
7008 * BoundingBox.h: removed
7010 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
7012 * insettext.C (LocalDispatch): Update selection cursor when moving
7013 cursor to the right.
7014 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
7015 (moveLeftIntern): Ditto.
7017 2001-02-05 Baruch Even <baruch.even@writeme.com>
7019 * insetgraphics.C: Updated automatic image conversion, it now goes into
7020 temporary directory instead of with the image itself.
7022 2001-01-21 Baruch Even <baruch@ev-en.org>
7024 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
7025 to EPS or PNG when needed (support bitmap graphics).
7027 2000-11-02 Baruch Even <baruch@ev-en.org>
7030 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
7031 and removal of commented out code.
7033 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7035 * insetbib.C (callback): Update citations if the key has changed.
7037 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
7039 * insetbib.C (InsetBibKey): Better computation of default key.
7040 (getScreenLabel) Show both the key and the label.
7041 (getBibLabel): New method.
7042 (callback): Force a redraw if the inset have been changed.
7044 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7046 * insetref.C (getType, getName): Move methods from
7047 src/frontends/xforms/FormRef.C.
7049 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7051 * insettabular.C: Various improvements (use only one dummy position).
7053 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7055 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7056 par->bibkey->width. This fixes the crashes when running without
7057 gui or when having included documents.
7059 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7061 * insetcommand.C (getAsString, setFromString): Cleanup.
7063 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7065 * insetref.C: Add the array InsetRef::types that contains
7066 information about all supported reference types.
7068 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7070 * lyxinset.h: remove trailing comma in enum.
7072 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7074 * insettext.C: kill LyXBell.