1 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * insetcite.C: Support second \cite option.
6 * insetcommandparams.[Ch]: add second optional argument.
8 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
10 * insetcollapsable.C (lfunMouseRelease): right mouse button only
11 shows the inset dialog.
13 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
15 * insetlabel.[Ch]: remove them
18 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
20 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
22 * insetinclude.C (latex): show a GUI warning if textclasses don't
24 * insetinclude.C: use mangledFilename() for temp files
25 * insetgraphics.C (readInsetGraphics): remove version check, since
26 the graphics inset has no own fileformat number anymore
28 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
30 * insetquotes.[Ch]: added new member that allows direct access
31 to single/double quotation marks.
33 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
35 2004-02-16 André Pönitz <poenitz@gmx.net>
38 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
39 implicitly assume 'DispatchResult(true, true) with exception of
40 InsetBase::priv_dispatch which does the equivalent of
41 'retrun DispatchResult(false)'
43 * inset*.[Ch] (priv_dispatch): adjust
45 * insettabular.[Ch]: remove remains of the 'update' mechanism,
46 simplify cursor moving function,
47 re-enable horizontal scrolling for large tables
49 2004-02-13 André Pönitz <poenitz@gmx.net>
51 * insettabular.[Ch]: some work after IU
53 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
55 * inset.C (setPosCache): switch to absolute coords in insets
56 * insettext.[Ch] (draw, drawFrame): adjust
57 * insetcollapsable.C (draw): adjust
60 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
63 (updateLocal): use the cur argument instead of the global cursor
64 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
66 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
68 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
70 * insetfloat.C (validate): "H" -> 'H' in call to contains
72 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
74 2004-01-30 André Pönitz <poenitz@gmx.net>
78 * insetcollapsable.[Ch]:
86 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
89 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
91 * insettabular.C: add using statement for std::vector, remove
92 std:: where using was already used.
94 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
96 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
98 * insetinclude.C (validate): use feautures.nice() instead of
101 2004-01-20 André Pönitz <poenitz@gmx.net>
104 * insetbase.[Ch]: move stuff from mathcursor here.
110 * insetcharstyle.[Ch]:
111 * insetcollapsable.[Ch]:
114 * insetexternal.[Ch]:
116 * insetgraphics.[Ch]:
125 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
127 2004-01-15 André Pönitz <poenitz@gmx.net>
134 * insetcharstyle.[Ch]:
135 * insetcollapsable.[Ch]:
138 * insetexternal.[Ch]:
140 * insetgraphics.[Ch]:
149 * updatableinset.[Ch] (priv_dispatch et al): change signature.
151 2004-01-08 André Pönitz <poenitz@gmx.net>
153 * insetcollapsable.[Ch]:
156 * updatableinset.h: use cell index info from global cursor.
158 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
160 * insetnote.C (InsetNoteParams::write): write label only once
162 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
164 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
166 get rid of the SameName functor
168 * insettabular.C: improve the functor.
170 2003-12-29 Angus Leeming <leeming@lyx.org>
172 * insetexternal.C (setParams): update defaultTemplateName.
174 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
176 * insetbox.C: Use term "Box" in button label
178 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
180 * insetcharstyle.C: get getDrawFont working again
182 2003-12-15 André Pönitz <poenitz@gmx.net>
185 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
187 2003-12-12 Angus Leeming <leeming@lyx.org>
189 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
191 (InsetBranchParams): remove the branchlist hack.
192 (isBranchSelected): new function, used to decide whether to
193 print each output format. Also used by InsetList.
194 (read, string2params): repair my own breakage ;-)
196 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
198 * insetminipage.[Ch]: remove from repository.
200 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
203 * insetcollapsable.[Ch]: Move all CollapseStatus code from
204 insetert to insetcollapsable; introduce virtual function
205 setButtonLabel and invoke it from collapsable
207 2003-12-12 Angus Leeming <leeming@lyx.org>
209 * insetinclude.C (draw): cache x,y and so enable the
212 2003-12-12 Angus Leeming <leeming@lyx.org>
214 * mailinset.C (print_mailer_error): tidy up the output.
216 2003-12-11 Angus Leeming <leeming@lyx.org>
218 * mailinset.[Ch] (print_mailer_error): new helper function.
220 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
221 calling InsetCommandMailer.
222 (InsetCommandMailer::string2params): pass the name of the dialog.
224 * insetbibitem.[Ch] (d-tor):
225 * insetbibtex.[Ch] (d-tor):
226 * insetcite.[Ch] (d-tor):
227 * insetfloatlist.[Ch] (d-tor):
228 * insetindex.[Ch] (d-tor):
229 * insetlabel.[Ch] (d-tor):
230 * insetref.[Ch] (d-tor):
231 * insettoc.[Ch] (d-tor):
232 * inseturl.[Ch] (d-tor): removed.
233 Hiding the dialog is handled by InsetCommand.
235 * insetbibtex.[Ch] (draw, metrics):
236 * insetfloatlist.[Ch] (draw, metrics):
237 * insetindex.[Ch] (draw, metrics): removed.
238 Drawing is handled by InsetCommand.
240 * insetbibitem.[Ch] (priv_dispatch):
241 * insetbibtex.[Ch] (priv_dispatch):
242 * insetcite.[Ch] (priv_dispatch):
243 * insetfloatlist.[Ch] (priv_dispatch):
244 * insetindex.[Ch] (priv_dispatch):
245 * insetlabel.[Ch] (priv_dispatch):
246 * insettoc.[Ch] (priv_dispatch):
247 * inseturl.[Ch] (priv_dispatch): removed or simplified.
248 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
249 LFUN_INSET_DIALOG_SHOW.
251 * insetbox.C (string2params):
252 * insetbranch.C (string2params):
253 * insetert.C (string2params):
254 * insetexternal.C (string2params):
255 * insetfloat.C (string2params):
256 * insetinclude.C (string2params):
257 * insetminipage.C (string2params):
258 * insetnote.C (string2params):
259 * insetvspace.C (string2params):
260 * insetwrap.C (string2params): over-hauled.
262 2003-12-10 Angus Leeming <leeming@lyx.org>
264 * insetexternal.[Ch]: add a draft option and respect it when
267 2003-12-10 Angus Leeming <leeming@lyx.org>
269 * insetbox.C: (read, write): now prepend the inset contents with
270 'Box' to identify the inset as a box inset.
272 * insetbox.h: move the translators out of sight.
274 2003-12-10 Angus Leeming <leeming@lyx.org>
276 * insetert.C (string2params): clean-up using the new lyxlex interface.
278 * insetexternal.C: ensure that InsetExternalParams has a default
279 template, 'RasterImage'.
281 2003-12-10 Angus Leeming <leeming@lyx.org>
283 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
284 to an enum. Ensuing clean-ups through out the class.
285 (read, write): now prepend the inset contents with 'Note' to identify
286 the inset as a note inset.
288 2003-12-10 Angus Leeming <leeming@lyx.org>
290 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
291 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
293 2003-12-10 André Pönitz <poenitz@gmx.net>
298 * insettext.[Ch]: remove unused insetInset()
300 * insetert.C: disable some LFUNs
302 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
304 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
306 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
308 2003-12-04 Angus Leeming <leeming@lyx.org>
310 * insetexternal.C (draw): update the xo_, yo_ cache.
312 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
314 (RotationDataType): new helper struct wrapping the
315 RotationData::OriginType enum.
317 2003-12-03 André Pönitz <poenitz@gmx.net>
319 * inset.h: remove getParagraphs()
321 * insetcollapsable.[Ch]:
325 * insettext.C: use getText() instead of getParagraphs()
327 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
329 * insetert.C: fix label text updating bug
331 2003-12-02 Angus Leeming <leeming@lyx.org>
333 * insetvspace.[Ch] (space): new member function. Make space_ private.
334 (read): use the new, simpler lyxlex syntax.
336 2003-12-01 André Pönitz <poenitz@gmx.net>
338 * insetcollapsable.[Ch]:
339 * insetert.[Ch]: move 'inline' state to InsetCollapsable
341 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
343 * insetvspace.C (read): handle 'end_inset' token.
345 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
347 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
349 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
351 * insetcollapsable.[Ch]:
353 * insetcharstyle.C: place inset content on the button when
356 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
358 * insetvspace.C: remove VSpace::NONE; increase inset width
360 2003-12-01 André Pönitz <poenitz@gmx.net>
362 * insetbase.h: whitespace
364 * inset.[Ch]: remove latexTextWidth
365 make setBackgroundColor virtual
367 * insettext.[Ch]: move ParagraphList member to LyXText
369 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
375 * insetminipage.[Ch]:
377 * insetwrap.[Ch]: adjust paragraphs and background color handling,
379 2003-11-28 Angus Leeming <leeming@lyx.org>
381 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
382 hiding and showing the dialog respectively.
383 (priv_dispatch): also actually update the inset contents.
385 2003-11-28 Angus Leeming <leeming@lyx.org>
387 * insetbox.C (d-tor):
388 * insetbranch.C (d-tor):
389 * insetcite.C (d-tor):
390 * insetfloat.C (d-tor):
391 * insetfloatlist.C (d-tor):
392 * insetinclude.C (d-tor):
393 * insetindex.C (d-tor):
394 simplify the invocation of the Mailer::hideDialog() function.
396 * insetminipage.C (showInsetDialog):
397 simplify the invocation of the Mailer::showialog() function.
399 2003-11-28 André Pönitz <poenitz@gmx.net>
402 * insetvspace.[Ch]: new insets
404 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
406 * insetcharstyle.C: Syntax change for CharStyles
408 2003-11-28 André Pönitz <poenitz@gmx.net>
410 * updatableinset.h: remove insetInInsetY
412 * insetcollapsable.[Ch]:
415 * insettext.[Ch]: adjust
417 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
421 * insetcollapsable.[Ch]:
423 * insettabular.[Ch]: remove setFont
425 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
427 * render_graphic.[Ch]: adjust comments
429 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
431 * insetgraphics.C (draw): cache xo_ & yo_
433 2003-11-24 André Pönitz <poenitz@gmx.net>
435 * insettext.C (setViewCache): don't call LyXText::init() anymore
437 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
440 * insetcollapsable.[Ch]:
441 * insetert.[Ch]: remove bufferview parameter in methods
442 open, close, status, and updateStatus.
444 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
446 * insetcollapsable.[Ch]:
448 * insettext.[Ch] (getCursorDim): squash unused variable
450 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
452 * insettext.C (edit): x0_,y0_ -> xo_,yo_
454 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
456 * insettext.C (draw): sets LyXText absolute coordinates
458 2003-11-20 Angus Leeming <leeming@lyx.org>
460 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
461 about unused parameters.
463 * insetcollapsable.C (open):
464 * insettabular.C (pasteSelection):
465 * insettoc.C (draw): ditto.
467 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
469 * insetcollapsable.C:
471 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
472 remove mouse_x mouse_y etc.
474 2003-11-17 André Pönitz <poenitz@gmx.net>
476 * insettext.[Ch] (cx, cy): remove
478 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
480 2003-11-13 André Pönitz <poenitz@gmx.net>
483 * insetcollapsable.[Ch]:
485 * insettext.[Ch] (deleteLyXText): remove
487 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
489 * insetcollapsable.[Ch] (fitInsetCursor): remove
490 * insettabular.[Ch] (fitInsetCursor): remove
491 * insettext.[Ch] (fitInsetCursor): remove
492 * updatableinset.[Ch] (fitInsetCursor): remove
493 (getCursorDIm): add virtual
495 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
497 * src/insets/Makefile.am:
498 * src/insets/inset.h:
499 * src/insets/insetcharstyle.C:
500 * src/insets/insetcharstyle.h: The Character Style /XML short
503 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
505 * insettext.C: remove all update calls
506 * insetcollapsable.C: remove all update calls
508 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
510 * insettext.C (updateLocal, insertInset, setFont): remove
513 2003-11-10 André Pönitz <poenitz@gmx.net>
515 * inset.h: remove Inset::id_
517 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
520 2003-11-10 André Pönitz <poenitz@gmx.net>
524 * insetcollapsable.[Ch]:
531 * updatableinset.[Ch]: remove inset locking & adjust
533 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
535 * inset.h (allowSpellCheck): add (return true)
536 * insetert.h (allowSpellCheck): add (return false)
538 2003-11-05 José Matos <jamatos@lyx.org>
546 * insetcollapsable.[Ch]:
550 * insetexternal.[Ch]:
552 * insetfloatlist.[Ch]:
554 * insetgraphics.[Ch]:
559 * insetlatexaccent.[Ch]:
562 * insetmarginal.[Ch]:
563 * insetminipage.[Ch]:
567 * insetpagebreak.[Ch]:
571 * insetspecialchar.[Ch]:
577 * insetwrap.[Ch]: rename ascii to plaintext
578 and LatexRunParams to OutputParams.
580 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
582 * insetcollapsable.C (edit): add open() all
583 * insettext.C (edit): add setViewCache call
585 2003-11-04 André Pönitz <poenitz@gmx.net>
587 * inset.h (edit): move locking code from dispatch() to edit()
593 * insetcollapsable.[Ch]:
596 * insetexternal.[Ch]:
597 * insetgraphics.[Ch]:
603 * insettext.[Ch]: adjust
605 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
608 * insetcollapsable.[Ch]:
612 * updatableinset.[Ch]: remove dead search code
614 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
617 * insetcollapsable.[Ch]:
621 * updatableinset.[Ch]: remove dead spellcheck code
623 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
625 * insettabular.C (lockInsetInInset): small fix
627 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
629 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
630 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
631 from here. Be stricter on DispatchResult returned.
633 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
635 * Inset::dispatch's: adjust for new DispatchResult semantics.
637 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
639 * render_base.h: make clone return an auto_ptr
640 * render_button.C (clone): adjust
641 * render_graphic.C (clone): adjust
642 * render_preview.C (clone): adjust
644 * insettheorem.C (clone): return an auto_ptr
646 * insettext.C (priv_dispatch): exception safety
648 * insettabular.C: store the file scope variable paste_tabular in a
649 scoped_ptr, adjust usage.
651 * insetexternal.C (setParams): exception safety
653 * insetbibitem.C (clone): exception safety
655 2003-11-03 André Pönitz <poenitz@gmx.net>
658 * insetcollapsable.[Ch]:
660 * insettext.[Ch]: remove Inset::id and related functions
662 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
664 * insets: adjust for DispatchResult changes.
666 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
668 * insetpagebreak.C: fix screen representation & ascii output.
670 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
675 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
677 2003-10-31 José Matos <jamatos@lyx.org>
679 * inset.h (ascii, linuxdoc, docbook):
680 * insetbox.[Ch] (ascii, linuxdoc, docbook):
681 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
682 * insetcaption.[Ch] (ascii, docbook):
683 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
684 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
685 * insetert.[Ch] (ascii, linuxdoc, docbook):
686 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
687 * insetfloat.[Ch] (linuxdoc, docbook):
688 * insetfloatlist.[Ch] (ascii):
689 * insetfoot.[Ch] (docbook):
690 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
691 * insethfill.[Ch] (ascii, linuxdoc, docbook):
692 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
693 * insetindex.[Ch] (docbook):
694 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
695 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
696 * insetline.[Ch] (ascii, linuxdoc, docbook):
697 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
698 * insetnote.[Ch] (ascii, linuxdoc, docbook):
699 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
700 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
701 * insetref.[Ch] (ascii, linuxdoc, docbook):
702 * insetspace.[Ch] (ascii, linuxdoc, docbook):
703 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
704 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
705 * insettext.[Ch] (ascii, linuxdoc, docbook):
706 * insettoc.[Ch] (ascii, linuxdoc, docbook):
707 * inseturl.[Ch] (ascii, linuxdoc, docbook):
708 * insetwrap.[Ch] (docbook):
709 add LatexRunParams argument.
711 2003-10-30 José Matos <jamatos@lyx.org>
713 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
715 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
717 * updatableinset.C (priv_dispatch):
718 * insetwrap.C (priv_dispatch):
719 * inseturl.C (priv_dispatch):
720 * insettoc.C (priv_dispatch):
721 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
722 (moveLeftIntern, moveUp, moveDown):
723 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
724 (moveLeft, moveUp, moveDown):
725 * insetref.C (priv_dispatch):
726 * insetnote.C (priv_dispatch):
727 * insetminipage.C (priv_dispatch):
728 * insetlabel.C (priv_dispatch):
729 * insetindex.C (priv_dispatch):
730 * insetinclude.C (priv_dispatch):
731 * insetgraphics.C (priv_dispatch):
732 * insetfloatlist.C (priv_dispatch):
733 * insetfloat.C (priv_dispatch):
734 * insetexternal.C (priv_dispatch):
735 * insetert.C (priv_dispatch):
736 * insetcommand.C (priv_dispatch):
737 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
738 * insetcite.C (priv_dispatch):
739 * insetbranch.C (priv_dispatch):
740 * insetbox.C (priv_dispatch):
741 * insetbibtex.C (priv_dispatch):
742 * insetbibitem.C (priv_dispatch):
743 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
745 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
747 * insettext.C: small refactoring of docbook stuff
749 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
751 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
752 (priv_dispatch): adjust for operator dispatch_result_t removal
754 * insettabular.C (lfunMouseRelease): put the result of a dispatch
755 in a DispatchResult, adjust accordingly.
756 (priv_dispatch): use strange >= construct... (will be removed later)
758 * most insets: dispatch_result -> DispatchResult
760 * insetbase.h: move DispatchResult out to dispatchresult.h
762 2003-10-27 André Pönitz <poenitz@gmx.net>
764 * insetpagebreak.[Ch]: new inset for page breaks
766 * insetline.[Ch]: new inset for vertical lines
771 2003-10-25 Angus Leeming <leeming@lyx.org>
773 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
774 new virtual member functions, specialised...
775 * render_button.h (asButton):
776 * render_graphic.h (asGraphic):
777 * render_preview.h (asPreview, asMonitoredPreview): ... here.
779 * insetexternal.C: use these new functions rather than dynamic_cast.
780 Various other small simplifications.
782 2003-10-22 Angus Leeming <leeming@lyx.org>
784 * insetexternal.[Ch]: add the ability to 'preview' the external file
787 * insetinclude.C: changes due to the changes in the RenderPreview
790 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
791 message if the preview image is not available. Only initiate the
792 loading of the preview from draw(). Ditto, start the monitoring
793 of an external file from RenderMonitoredPreview::draw.
795 2003-10-22 Angus Leeming <leeming@lyx.org>
797 * insetcite.[Ch] (setLoadingBuffer): removed.
798 (getNatbibLabel): use the new Buffer::fully_loaded member function to
799 ascertain whether to proceed with the (expensive) task of computing
800 the natbib-style label. Remove the home-grown hack providing
801 similar functionality.
803 2003-10-22 Angus Leeming <leeming@lyx.org>
805 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
806 class and into an anonymous namespace.
808 2003-10-22 Angus Leeming <leeming@lyx.org>
810 * insetcommand.h: remove the display method.
814 * insetindex.h (InsetPrintIndex):
815 * insettoc.h: add a display method, returning true.
817 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
819 * insetcollapsable.h:
823 * insetinclude.h: (1) finish off the inset display() work;
824 (2) fix the "is a bit silly" bug (accessing char
827 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
831 * insetfootlike.h: re-introduce display() for insets,
832 fixing the various bugs (stretch of line above, math inset
835 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
837 * insetbase.C (dispatch): new func
838 (priv_dispatch): new func replaces...
839 (localDispatch): this, deleted.
841 * all insets with dispatch modified for new code.
843 2003-10-15 André Pönitz <poenitz@gmx.net>
845 * insetcollapsable.[Ch]
847 * inset.h: re-add some edit(bv, index) method called by undo
849 2003-10-14 Angus Leeming <leeming@lyx.org>
851 * insetexternal.[Ch] (view, cache, view_):
852 * insetgraphics.[Ch] (view, cache, view_):
853 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
854 (statusChanged): call LyX::cref().updateInset.
856 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
857 the BufferView cache.
859 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
862 2003-10-14 Angus Leeming <leeming@lyx.org>
864 * insetinclude.C (metrics, draw): only draw the preview when previews
867 2003-10-14 André Pönitz <poenitz@gmx.net>
869 * insetcollapsable.[Ch]:
872 * inset.h: getText() as alternative to getParagraphs()
874 2003-10-13 Angus Leeming <leeming@lyx.org>
877 * insetgraphicsParams.C: displayTranslator is now a function.
879 2003-10-13 Angus Leeming <leeming@lyx.org>
881 * insetinclude.C: remove #include "PreviewImage.h".
883 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
886 * ExternalTransforms.C:
888 * insetbox.h: ws changes only
890 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
892 * insetinclude.C (localDispatch): do not call
893 InsetOld::localDispatch, just return UNDISPATCHED
894 * insetgraphics.C (localDispatch): ditto
895 * insetcommand.C (localDispatch): ditto
897 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
899 * inset.h: get rid of RESULT typedef for dispatch_result
901 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
902 * insetert.[Ch] (localDispatch): ditto
903 * insettabular.[Ch] (localDispatch): ditto
908 * insettext.[Ch] (localDispatch): ditto
911 (moveRightIntern): ditto
912 (moveLeftIntern): ditto
915 * updatableinset.[Ch] (localDispatch): ditto
917 2003-10-12 Angus Leeming <leeming@lyx.org>
919 * renderbase.h (view, view_): removed.
920 * renderbase.C: removed.
921 * Makefile.am: remove render_base.C. The shortest lived file in
924 * renderbutton.C (draw):
925 * render_graphic.C (draw): don't cache the BufferView.
927 * insetabase.h (cache, view): removed.
929 * inset.h (generatePreview) removed.
931 * insetcallapsable.[Ch] (cache, view, view_): removed.
933 * insetcollapsable.C (draw): don't cache the BufferView.
935 * insetcommand.[Ch] (view): removed.
937 * insetexternal.[Ch] (cache, view, view_):
938 * insetgraphics.[Ch] (cache, view, view_):
939 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
941 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
942 when you have direct access to it. In fact, don't use the cache at all.
944 2003-10-10 Angus Leeming <leeming@lyx.org>
946 * insetinclude.C (metrics): use preview_->metrics.
947 (draw): use preview_->draw.
949 * render_preview.[Ch] (pimage): removed.
951 2003-10-10 Angus Leeming <leeming@lyx.org>
953 * renderers.[Ch]: removed.
956 * render_button.[Ch]:
957 * render_graphic.[Ch]:
958 * render_preview.[Ch]: new files. The first three are split out of
959 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
960 contains a re-worked InsetInclude::PreviewImpl also.
962 * Makefile.am: reflect the changed files.
965 * insetexternal.[Ch]:
966 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
968 * insetinclude.[Ch]: changes reflecting the change from
969 InsetInclude::PreviewImpl to RenderMonitoredPreview.
975 * inseturl.C: add #include "support/std_ostream.h"
977 2003-10-09 Angus Leeming <leeming@lyx.org>
979 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
980 to PreviewedInset::previewReady.
982 2003-10-09 Angus Leeming <leeming@lyx.org>
984 * insetexternal.[Ch] (statusChanged):
985 * insetgraphics.[Ch] (statusChanged): make a const member function.
987 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
990 2003-10-09 Angus Leeming <leeming@lyx.org>
992 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
993 to PreviewedInset's previewReady and removePreview member functions.
995 2003-10-08 André Pönitz <poenitz@gmx.net>
997 * insetcollapsable.C:
998 * insettext.[Ch]: saner 'init' structure
1000 * updatableinset.[Ch]: remove unneeded code
1002 2003-10-08 Angus Leeming <leeming@lyx.org>
1004 Fix doxygen warnings.
1006 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1007 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1009 2003-10-07 Angus Leeming <leeming@lyx.org>
1011 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1012 be applied to InsetExternal.
1014 * Makefile.am: add these new files.
1016 * ExternalTemplate.[Ch]: add a list of available transforms to
1017 class Template and a list of factory functions for transformer classes
1018 that can act on this data to class Format.
1020 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1022 * ExternalSupport.C: Add code to replace transform placeholders
1023 with appropriate output.
1025 2003-10-07 Angus Leeming <leeming@lyx.org>
1027 * ExternalSupport.[Ch]: new files, moving the private member functions
1028 and namespace anon functions out of insetexternal.C to here, so making
1029 it easier to understand what is going on in insetexternal itself.
1031 * Makefile.am: add new files.
1033 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1034 allowing the class to be forward declared. (Also consistent with
1035 all other Params classes.)
1036 (write): moved out of the class. Move this function and those in
1037 namespace anon to ExternalSupport.[Ch].
1039 2003-10-07 Angus Leeming <leeming@lyx.org>
1041 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1042 non-const member function.
1044 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1049 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1051 2003-10-02 André Pönitz <poenitz@gmx.net>
1053 * insettext.C (read): make sure there is at least one par
1054 in the text after reading.
1056 2003-10-01 José Matos <jamatos@lyx.org>
1058 * insetbranch.C (linuxdoc, docbook): minor fix.
1060 2003-10-01 Angus Leeming <leeming@lyx.org>
1062 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1064 * insetexternal.[Ch]: changes due to the introduction of
1065 namespace lyx::external.
1067 2003-09-30 Angus Leeming <leeming@lyx.org>
1069 * insetexternal.[Ch] (Params::read, write): new member functions.
1071 2003-09-25 Angus Leeming <leeming@lyx.org>
1073 * insetexternal.[Ch] (TempName): new (private) nested struct with
1074 fake copy semantics. Enables us to use the generated copy c-tor
1075 in the Params struct.
1076 (Params::templatename, Params::tempname): use accessor functions.
1078 2003-09-25 Angus Leeming <leeming@lyx.org>
1080 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1081 function, returning a const pointer.
1083 2003-09-23 Angus Leeming <leeming@lyx.org>
1085 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1086 store them in a vector, preambleNames.
1088 * insetexternal.C (validate): loop over all preambleNames and call
1089 LaTeXFeatures::addExternalPreamble with each.
1091 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1093 * insetbranch.C: bug fix in branches
1095 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1097 * insetnote.C: small clean-up.
1099 2003-09-19 Angus Leeming <leeming@lyx.org>
1101 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1103 * insetcommand.C (string2params): clear params using the default c-tor.
1105 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1106 InsetInclude::Params. No more data in this struct than in
1107 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1108 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1109 (clone): remove #warning as it's now redundant.
1110 (set): add a 'Buffer const &' arg. Make private.
1111 (loadIfNeeded) move out of the class definition and into namespace anon.
1112 (getMasterFilename, getFileName): ditto.
1114 2003-09-18 Angus Leeming <leeming@lyx.org>
1116 * insetcommand.C (setParams): use the params' copy constructor.
1118 2003-09-18 Angus Leeming <leeming@lyx.org>
1120 * insetinsetbase.h (getLabelList):
1121 * insetinsetcollapsable.[Ch] (getLabelList):
1122 * insetinsetinclude.[Ch] (getLabelList):
1123 * insetinsetlabel.[Ch] (getLabelList):
1124 * insetinsettabular.[Ch] (getLabelList):
1125 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1126 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1128 2003-09-18 Angus Leeming <leeming@lyx.org>
1130 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1131 redundant baggage from yesteryear.
1132 Remove Params::flag as it is redundant; the info is present in
1135 2003-09-18 Angus Leeming <leeming@lyx.org>
1137 * insetinclude.C (latexString): add a Buffer const & arg.
1139 2003-09-18 Angus Leeming <leeming@lyx.org>
1144 * insettext.h: rename EnumLColor as LColor_color.
1146 2003-09-18 Angus Leeming <leeming@lyx.org>
1148 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1149 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1151 2003-09-16 Angus Leeming <leeming@lyx.org>
1153 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1154 set before trying to generate a preview, else we trigger an assert.
1156 2003-09-16 Angus Leeming <leeming@lyx.org>
1158 * insetinclude.C (PreviewImpl::parent): return a const reference.
1160 2003-09-16 Angus Leeming <leeming@lyx.org>
1162 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1164 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1166 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1167 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1169 * insetminipage.C (metrics):
1170 * insetnote.C (metrics):
1171 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1172 access collapsed_ directly.
1174 2003-09-16 Angus Leeming <leeming@lyx.org>
1176 * insetbibitem.C: add #include "lyxfont.h".
1178 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1181 * insetbibtex.C: use namespace alias for lyx::support::os
1183 2003-09-16 Angus Leeming <leeming@lyx.org>
1185 * insetcollapsable.h: remove unused framecolor variable.
1186 Remove #include "LColor.h".
1188 * insetcollapsable.C: remove unused framecolor variable.
1191 * insetcollapsable.C:
1199 Add #include "LColor.h".
1201 2003-09-16 Angus Leeming <leeming@lyx.org>
1203 * insettext.[Ch] (frameColor): new accessor function.
1204 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1210 add #include "LColor.h".
1212 * insetcollapsable.h: add #include "LColor.h"
1213 (for its framecolor member variable).
1215 2003-09-16 Angus Leeming <leeming@lyx.org>
1217 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1219 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1220 rename frame_color as frame_color_. Make private.
1222 * insettext.C: associated changes.
1224 2003-09-16 Angus Leeming <leeming@lyx.org>
1226 * inset.h: store background_color_ as an int, not as an LColor::color to
1227 get LColor.h out of the header file.
1230 * insetlatexaccent.C:
1233 * insetspecialchar.C:
1235 add #include "LColor.h".
1237 2003-09-16 Angus Leeming <leeming@lyx.org>
1239 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1242 2003-09-15 Angus Leeming <leeming@lyx.org>
1244 * inset.[Ch] (setBackgroundColor, backgroundColor):
1245 * insettext.[Ch] (setFrameColor):
1246 pass EnumLColor args, rather than LColor::color ones.
1248 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1258 * insetwrap.C: remove usage of STRCONV
1260 2003-09-15 Angus Leeming <leeming@lyx.org>
1262 * renderers.C (draw):
1263 * insetlatexaccent.C (draw): explicitly define the color passed to
1266 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1268 * insettext.C: remove block causing problems in lockInsetInInset
1269 (mentioned erroneously under Bug #1366)
1271 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1273 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1276 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1278 * several files: change Assert to BOOST_ASSERT
1280 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1282 * insettext.[Ch]: remove drawText[XY]Offset
1284 2003-09-08 Angus Leeming <leeming@lyx.org>
1286 * insetcollapsable.C:
1291 * insetspecialchar.C:
1294 * insettoc.C: remove redundant using directives.
1296 2003-09-07 Angus Leeming <leeming@lyx.org>
1299 * insetspecialchar.h: remove #include "support/std_string.h".
1301 2003-09-06 Angus Leeming <leeming@lyx.org>
1303 * renderers.C: add #include "insets/inset.h"
1305 2003-09-05 Angus Leeming <leeming@lyx.org>
1307 * *.C: strip out redundant #includes. (193 in total.)
1309 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1311 * insets/insetbibtex.[Ch]:
1312 * insets/insetcommand.h:
1313 * insets/insetfloatlist.[Ch]:
1314 * insets/insetinclude.[Ch]:
1315 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1316 of insets like bibtex, include, toc and floatlist to the visible
1317 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1318 up the dialogs. Cursor has to be in front of the inset (i.e.
1319 start of row) for this to function.
1321 2003-09-04 Angus Leeming <leeming@lyx.org>
1323 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1324 structure outside of the Format struct. Format::preambleName refers to
1325 an item in the map of all preamble snippets.
1326 Make use of the new Debug::EXTERNAL flag.
1328 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1329 (validate): Small change due to the changed storage of preamble snippets.
1331 2003-09-04 Angus Leeming <leeming@lyx.org>
1333 * insetgraphics.C: #include "support/os.h"
1335 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1336 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1337 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1339 * insetcollapsable.h:
1341 * insetnote.C: move #include "funcrequest.h" out of the header file.
1343 2003-09-03 Angus Leeming <leeming@lyx.org>
1345 * insetexternal.C (updateExternal):
1346 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1349 2003-09-03 Angus Leeming <leeming@lyx.org>
1351 * insetexternal.C: don't bring namespace lyx::support into the global
1354 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1356 * insetbranch.C: Add Branch: to label
1358 2003-09-02 John Levon <levon@movementarian.org>
1361 * insettext.C: remove cursor.i[xy]()
1363 2003-08-28 Angus Leeming <leeming@lyx.org>
1365 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1366 "sh ", enabling the conversion to be carried out even if the script
1369 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1371 * most files: change to use const Buffer refs
1373 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1375 * insetfootlike.C: whitespace.
1377 2003-08-26 John Levon <levon@movementarian.org>
1381 * insetindex.h: remove remaining mentions of needFullRow()
1383 2003-08-26 André Pönitz <poenitz@gmx.net>
1389 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1391 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1393 * insetbranch.C: Small fix to prevent a crash on loading.
1395 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1400 * insetcollapsable.h:
1402 * insetfloatlist.[Ch]:
1403 * insetfootlike.[Ch]:
1404 * insetinclude.[Ch]:
1410 * insettheorem.[Ch]:
1411 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1412 altogether, putting the logic in metrics/draw in the insets.=20
1413 Draws short single row insets with more or less realistic metrics.
1415 2003-08-19 André Pönitz <poenitz@gmx.net>
1417 * insettext.C: use new RowPainter interface
1419 2003-08-18 John Levon <levon@movementarian.org>
1421 * insetref.C: require amsmath for eqref
1423 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1427 * insetbranch.[Ch]: implements the 'branch inset'
1428 idea. This allows the output of various versions of a document
1429 from a single source version, selectively outputing or suppressing
1430 output of parts of the text.
1431 This implementation contains a 'branch list editor' in a separate
1432 tab of the document settings dialog. Branches are user definable
1433 and have a "display colour" to distinguish them on-screen.
1435 ColorHandler was somewhat cleaned up.
1436 (1) make possible a dynamically growing LColor list by allowing
1437 the graphic context cache to grow along (vector);
1438 (2) eliminate an IMHO unnecessary step in colour allocation.
1440 2003-08-15 André Pönitz <poenitz@gmx.net>
1442 * insettext.[Ch]: adjust after rowlist split
1444 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1446 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1447 rename valign-center to valign-middle;
1448 rename VALIGN_CENTER to VALIGN_MIDDLE
1450 2003-08-11 André Pönitz <poenitz@gmx.net>
1452 * inset.h: remove resizeLyXText
1455 * insetcollapsable.[Ch]:
1457 * insettabular.[Ch]: adjust
1459 * insettext.[Ch]: remove saveLyXTextState,
1460 restoreLyXTextStat, sstate, reinitLyXText
1462 2003-08-07 André Pönitz <poenitz@gmx.net>
1464 * inset.[Ch]: move non-crucial functions out-of-line
1466 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1467 remove duplicated code.
1469 2003-08-05 André Pönitz <poenitz@gmx.net>
1472 * insetcollapsable.[Ch]:
1482 * insettabular.[Ch]:
1485 * updatableinset.[Ch]: rip out "deep update"
1487 * insettext.C (localDispatch): merge cases with default branch
1489 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1491 * insettabular.[Ch] (updateLocal): simplify logic
1493 2003-08-04 André Pönitz <poenitz@gmx.net>
1495 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1496 is 'FULL' all the time.
1498 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1500 * insetert.C (get_new_label): only add ... to the (closed) label
1501 when the string has been shortened
1503 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1505 * Always use std::endl with lyxerr
1507 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1509 * insetnote.C: update \author list
1511 2003-07-31 André Pönitz <poenitz@gmx.net>
1513 * insetcollapsable.h:
1514 * insettabular.[Ch]:
1515 * insettext.[Ch]: remove toggleSelection
1517 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1519 (with help from Juergen Spitzmueller)
1520 * insetnote.C: add add i18n support. Use Prefs-definable
1521 colours for Comment and Greyedout.
1523 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1525 * insetcollapsable.[Ch]:
1527 * insetert.C: factor out the detection of clicking on the inset
1528 button as 'hitButton'. John Levon contributed.
1530 2003-07-30 André Pönitz <poenitz@gmx.net>
1532 * insetcollapsable.C:
1534 * insettabular.C: parantheses, localize vars etc.
1536 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1538 * insetnote.C: Implement a newenvironment in preamble for
1539 greyedout. Patch provided by Jürgen Spitzmüller.
1541 2003-07-29 Angus Leeming <leeming@lyx.org>
1543 * insetcommand.C (localDispatch): default to
1544 InsetOld::localDispatch.
1546 * insetbibitem.C (localDispatch):
1547 * insetbibtex.C (localDispatch): remove call to
1548 ChangeCitationsIfUnique.
1550 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1552 * insetexternal.C (read): use pushpophelper.
1554 2003-07-28 José Matos <jamatos@lyx.org>
1556 * insetext.C (read): \end_document replaces \the_end.
1558 2003-07-28 José Matos <jamatos@fep.up.pt>
1560 * insetert.C (write): \layout -> \begin_layout.
1561 Add missing \end_layout.
1563 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1565 * insetquotes.C: document a bit the format
1567 * insettabular.C (write): remove extra space
1569 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1570 * insetnote.C: Umpf. Hope I *now* get it right :-(
1572 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1573 *insetnote.C: did the right fix to greyedout: \color
1574 instead of \textcolor.
1576 2003-07-28 Angus Leeming <leeming@lyx.org>
1578 * insetbibtex.h: remove extraneous forward declaration.
1581 * insetbibtex.h: Also remove long-dead Holder member class
1584 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1586 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1589 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1591 * insetwrap.C (addToToc): adjust for lyx::toc
1593 * insetfloatlist.C (ascii): adjust for lyx::toc
1595 * insetfloat.C (addToToc): adjust for lyx::toc
1597 2003-07-27 José Matos <jamatos@fep.up.pt>
1599 * insetnote.h (linuxdoc,docbook): update support.
1601 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1603 * insetfloat.C (wide): add a space to label, for consistency
1605 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1607 * insettext.C (nextChange): adjust for lyx::find
1608 (searchForward): ditto
1609 (searchBackward): ditto
1611 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1613 * insetgraphicsParams.C:
1614 * insetexternal.C: declare extern displayTranslator
1617 * renderers.C: add #include "support/LAssert.h"
1619 2003-07-27 José Matos <jamatos@fep.up.pt>
1621 * insetfloat.[Ch] (linuxdoc):
1622 * insetgraphics.C (linuxdoc):
1623 * insettabular.C (linuxdoc):
1624 * insettext.[Ch] (linuxdoc): add support for tables and figures
1627 2003-07-27 José Matos <jamatos@fep.up.pt>
1629 * insetinclude (latex): comply with makeLaTeXFile argument change.
1631 2003-07-26 Asger Alstrup <alstrup@local>
1633 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1634 the undo crashes. We'll see what problems other places this will
1637 2003-07-26 Angus Leeming <leeming@lyx.org>
1639 * insetgraphics.C: remove unused declaration of system_tempdir.
1641 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1643 * rename Inset to InsetOld
1645 * all inset files (clone): return a auto_ptr<InsetBase>
1647 2003-07-23 Angus Leeming <leeming@lyx.org>
1649 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1651 2003-07-23 Angus Leeming <leeming@lyx.org>
1653 * mailinset.[Ch] (inset2string):
1654 * insetcommand.[Ch] (inset2string):
1655 * insetert.[Ch] (inset2string):
1656 * insetexternal.[Ch] (inset2string):
1657 * insetfloat.[Ch] (inset2string):
1658 * insetgraphics.[Ch] (inset2string):
1659 * insetinclude.[Ch] (inset2string):
1660 * insetminipage.[Ch] (inset2string):
1661 * insetnote.[Ch] (inset2string):
1662 * insettabular.[Ch] (inset2string):
1663 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1665 * insetexternal.[Ch]:
1666 * insetgraphics.[Ch]: get rid of the view() function. Associated
1667 changes to the mailers' string2params and params2string functions.
1669 2003-07-23 Angus Leeming <leeming@lyx.org>
1671 * insetexternal.[Ch]: store the external file name in a FileName
1672 member variable rather than a string + associated changes.
1674 2003-07-21 Angus Leeming <leeming@lyx.org>
1676 * insetgraphicsParams.[Ch]: store the graphics file name in
1677 a FileName member variable rather than a string.
1679 * insetgraphics.[Ch]:
1680 * insetgraphicsParams.[Ch]: Associated changes.
1682 2003-07-21 Angus Leeming <leeming@lyx.org>
1684 * insetgraphics.[Ch] (string2params, params2string): passed a
1685 buffer_path argument.
1688 2003-07-21 Angus Leeming <leeming@lyx.org>
1691 * insetgraphicsParams.[Ch]:
1693 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1695 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1697 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1699 2003-07-18 André Pönitz <poenitz@gmx.net>
1702 * insetminipage.[Ch]:
1703 * insettabular.[Ch]:
1706 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1708 2003-07-18 André Pönitz <poenitz@gmx.net>
1712 * insetcollapsable.C:
1716 * insetgraphics.[Ch]:
1717 * insetlatexaccent.[Ch]:
1722 * insetspecialchar.C:
1723 * insettabular.[Ch]:
1725 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1727 2003-07-17 André Pönitz <poenitz@gmx.net>
1729 * insetcollapsable.C:
1731 * insettext.C: don't call Inset::update() anymore
1734 * insettabular.[Ch]: remove unneeded in_update_ members
1736 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1738 2003-07-16 André Pönitz <poenitz@gmx.net>
1740 * insettext.C (selectAll): remove
1742 2003-07-16 John Levon <levon@movementarian.org>
1745 * insetnote.C: implement showInsetDialog()
1747 2003-07-15 André Pönitz <poenitz@gmx.net>
1750 * insettext.C: refresh_status tristate -> need_update bool
1752 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1754 * insettext.C: adjust call to LyXText::init
1756 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1758 * insettext.C: use bufferview_funcs->replaceSelection()
1759 to delete selections in some cases (bugs 441, 673, 702, 954).
1761 2003-07-14 André Pönitz <poenitz@gmx.net>
1763 * insettext.C (draw): use slimmed down rowpainter interface
1765 2003-07-14 André Pönitz <poenitz@gmx.net>
1767 * insetcollapsable.C:
1769 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1770 remove unused BufferView * argument
1772 2003-07-14 André Pönitz <poenitz@gmx.net>
1774 * insettext.[Ch]: used cached metrics a bit more
1776 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1778 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1780 2003-07-10 André Pönitz <poenitz@gmx.net>
1783 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1785 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1787 * introduce namespace lyx::graphics
1789 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1791 * introduce namespace lyx::support
1793 2003-06-30 André Pönitz <poenitz@gmx.net>
1795 * insetcite.C (localDispatch): fix case of missing return value
1797 * insetcite.C (ascii): remove unneeded temporary
1799 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1801 * insetspace.h: fix \file
1803 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1804 * insetinclude.C (fillWithBibKeys): ditto
1806 * insetbibitem.C: fix type const order
1808 * inset.C (getLyXText): add varname for arg
1810 * ExternalTemplate.h: fix type const order
1812 2003-06-27 André Pönitz <poenitz@gmx.net>
1814 * insettext.C: take care of removed LyXCursor::row_ member
1816 * insettext.[Ch]: use new TextCursor struct for sstate
1818 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1820 * inseterror.[Ch]: removed
1822 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1824 * insetinclude.C (docbook): use parseError instead of sgmlError
1826 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1828 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1829 of BufferList::loadLyXFile
1831 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1833 * insettext.C (update): simplify
1834 (updateLocal): remove commented code
1835 (insetUnlock): simplify
1836 (lockInset): simplify
1837 (updateInsetInInset): simplify
1838 (localDispatch): simplify
1840 (resizeLyXText): simplify
1841 (collapseParagraphs): simplify
1843 * insetert.C (get_new_label): simplify
1845 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1847 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1848 pasteSelection with index
1850 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1852 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1854 2003-06-16 André Pönitz <poenitz@gmx.net>
1856 * insetbase.h: new virtual base function clone()
1858 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1859 Inset * clone() -> InsetBase * clone()
1861 2003-06-13 André Pönitz <poenitz@gmx.net>
1863 * insettabular.[Ch]: make tabular a proper member
1865 2003-06-12 André Pönitz <poenitz@gmx.net>
1867 * insettabular.[Ch]: some renaming plus whitespace
1869 2003-06-11 Angus Leeming <leeming@lyx.org>
1871 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1874 * insetbutton.[Ch]: removed.
1875 * graphicinset.[Ch]: renamed as renderers.[Ch].
1877 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1878 Create a new class ButtonRenderer using the InsetButton::metrics() and
1880 Derive both from a common RenderedInset base class.
1882 * insetcommand.[Ch]:
1883 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1884 Give it a ButtonRenderer member variable. Use it.
1885 Give the classes working copy c-tors.
1886 No longer derive from boost::noncopyable.
1888 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1889 display its contents as a button or as a graphic.
1891 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1894 2003-06-11 Angus Leeming <leeming@lyx.org>
1896 * insetcite.C (localDispatch): reformat.
1898 * insetref.C (localDispatch): enable dialog to be lauched.
1900 2003-06-11 John Levon <levon@movementarian.org>
1902 * insettabular.C: correctly mark all cells as erased
1904 2003-06-11 Angus Leeming <leeming@lyx.org>
1906 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1907 ExternalTemplate but its name, templatename. This means that a file
1908 containing a reference to an External Template not installed on the
1909 current machine will be saved retaining this info rather than inserting
1910 the first "valid" template from the list of templates.
1912 As a by product, the visual statement that the Template is missing is
1915 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1917 * insettext.C (appendParagraphs): remove some commented code.
1919 2003-06-10 Angus Leeming <leeming@lyx.org>
1921 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1924 * insetexternal.[Ch]: move tempname_ into the Params struct.
1925 (Params d-tor): new function, to clean-up this temp file.
1926 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1928 (editExternal, doSubstitution): move out of class.
1930 2003-06-10 Angus Leeming <leeming@lyx.org>
1932 * graphicinset.[Ch] (params): removed.
1933 * graphicinset.h (operator=): declared private but not defined.
1934 (statusMessage): made private.
1936 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1938 2003-06-07 John Levon <levon@movementarian.org>
1940 * insetert.C (latex): make a newline mean just that not
1943 2003-06-07 José Matos <jamatos@fep.up.pt>
1945 * insethfill.[Ch] (linuxdoc, docbook): implement output
1946 * insetspace.C (linuxdoc, docbook): remove coments as the code
1949 2003-06-06 José Matos <jamatos@fep.up.pt>
1951 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1953 2003-06-06 André Pönitz <poenitz@gmx.net>
1955 * insetwrap.[Ch]: code compactification
1957 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1959 * mailinset.C (updateDialog): use Dialogs::visible
1961 2003-06-04 Angus Leeming <leeming@lyx.org>
1963 * graphicinset.C (draw): add a comment for the #if 0 block.
1965 * insetexternal.h: remove Params::parameters variable.
1966 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1967 and read it back making full use of LyXLex.
1969 2003-06-04 André Pönitz <poenitz@gmx.net>
1971 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1973 2003-06-04 John Levon <levon@movementarian.org>
1975 * insettabular.C: back out tall table speed up. It was broken
1977 2003-06-03 Angus Leeming <leeming@lyx.org>
1979 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1980 Remove ViewCommand and UpdateCommand.
1982 * graphicinset.C (update): bug fix. Set the params before calling the
1984 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1985 BufferView cache to enable the InsetExternal::editCommand to be invoked
1986 from the frontends. Would not be needed if this were dispatched properly.
1987 (old_ascent_): variable removed.
1989 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1990 do any necessary conversions of external material. Also use the
1991 new GraphicsInset to display the inset within LyX.
1993 2003-06-03 Angus Leeming <leeming@lyx.org>
1995 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1996 and move it somewhere where InsetExternal can use it too.
1998 * Makefile.am: add the new files.
2000 * insetgraphics.[Ch]: make use of the new GraphicInset.
2002 2003-06-03 John Levon <levon@movementarian.org>
2005 * insetbibitem.[Ch]:
2008 * insetcommand.[Ch]:
2012 * insetexternal.[Ch]:
2016 * insetgraphics.[Ch]:
2018 * insetinclude.[Ch]:
2021 * insetlatexaccent.[Ch]:
2022 * insetmarginal.[Ch]:
2023 * insetminipage.[Ch]:
2030 * insetspecialchar.[Ch]:
2031 * insettabular.[Ch]:
2033 * insetthereom.[Ch]:
2036 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2038 * insetgraphics.[Ch]:
2039 * insetgraphicsParams.[Ch]: always store an absolute
2042 2003-06-02 André Pönitz <poenitz@gmx.net>
2046 * insetlatexaccent.C: remove duplicated call to metrics()
2048 2003-06-02 John Levon <levon@movementarian.org>
2050 * insettabular.C: fix resize of column width
2052 2003-06-02 John Levon <levon@movementarian.org>
2057 * insetparent.C: remove insetparent
2059 2003-06-02 André Pönitz <poenitz@gmx.net>
2066 * insetcollapsable.[Ch]:
2070 * insetgraphics.[Ch]:
2071 * insetinclude.[Ch]:
2072 * insetlatexaccent.[Ch]:
2073 * insetminipage.[Ch]:
2074 * insetnewline.[Ch]:
2077 * insetspecialchar.[Ch]:
2078 * insettabular.[Ch]:
2079 * insettext.[Ch]: unify first drawing phase
2082 * insetbase.h: move validate() to the base
2084 2003-05-31 Angus Leeming <leeming@lyx.org>
2086 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2088 2003-05-30 André Pönitz <poenitz@gmx.net>
2093 * insetcaption.[Ch]:
2094 * insetcollapsable.[Ch]:
2097 * insetgraphics.[Ch]:
2098 * insetinclude.[Ch]:
2099 * insetlatexaccent.[Ch]:
2100 * insetnewline.[Ch]:
2103 * insetspecialchar.[Ch]:
2104 * insettabular.[Ch]:
2106 * updatableinset.[Ch]: unify second drawing phase
2108 2003-05-30 John Levon <levon@movementarian.org>
2110 * insetgraphics.C: fix a bformat
2112 2003-05-29 John Levon <levon@movementarian.org>
2114 * insettabular.C: remove unused bufferOwner()
2116 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2118 * insettext.C (lockInsetInInset): adjust
2119 (getLabelList): use const_iterator, adjust
2120 (getInsetFromID): use const_iterator, adjust
2121 (addPreview): use const_iterator, adjust
2123 * insetwrap.C (clone): remove const_cast
2125 * insetnote.C (clone): remove const_cast
2127 * insetminipage.C (clone): remove const_cast
2129 * insetmarginal.C (clone): remove const_cast
2131 * insetfoot.C (clone): remove const_cast
2133 * insetfloat.C (clone): remove const_cast
2135 * insetert.C (clone): remove const_cast
2137 * delete commented same_id functions from a lot of files.
2139 2003-05-28 John Levon <levon@movementarian.org>
2145 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2147 * insetminipage.C: fix metrics (bug 1144)
2149 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2151 * insettext.C (saveLyXTextState): adjust
2152 (restoreLyXTextState): adjust
2155 (unlockInsetInInset): adjust
2156 (localDispatch): adjust
2157 (getLyXText): adjust
2159 * insettabular.C (insertAsciiString): adjust
2161 2003-05-27 André Pönitz <poenitz@gmx.net>
2164 * insetcollapsable.C:
2167 * insetlatexaccent.C:
2172 * insetspecialchar.C:
2174 * insettext.C: dim.w -> dim.wid
2176 2003-05-26 John Levon <levon@movementarian.org>
2178 * insettabular.C: avoid drawing all of a long table
2179 if it's not needed. A big speedup
2181 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2183 * remove same_id from function signatures, adjust
2185 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2187 * insettext.C (InsetText): adjust
2189 (setParagraphData): separate same_id cases, adjust
2190 (appendParagraphs): adjust
2191 (appendParagraphs): adjust
2193 2003-05-23 André Pönitz <poenitz@gmx.net>
2195 * insetbutton.h: whitespace
2197 * insettabular.C: more compact code
2199 * updatableinset.C: remove const_cast
2202 2003-05-23 Angus Leeming <leeming@lyx.org>
2204 * insetexternal.C (write): check how many lines are output.
2205 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2206 if the template has defined it.
2208 2003-05-23 Angus Leeming <leeming@lyx.org>
2210 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2212 2003-05-23 Angus Leeming <leeming@lyx.org>
2214 * insetfoot.C (latex):
2215 * inseturl.C (latex): rename fragile as moving_arg.
2217 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2219 * inseterror.C (localDispatch): comment out unused var.
2221 2003-05-22 Angus Leeming <leeming@lyx.org>
2223 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2224 passed through the LatexRunParams arg.
2226 2003-05-22 Angus Leeming <leeming@lyx.org>
2228 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2229 through the LatexRunParams arg.
2231 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2232 arg rather than through a global var.
2234 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2236 * insetspecialchar.C (dimension): use a string.
2238 2003-05-22 Angus Leeming <leeming@lyx.org>
2240 * insetbibtex.C (latex):
2241 * insetgraphics.C (latex):
2242 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2243 runparams rather than from the buffer itself.
2245 2003-05-22 Angus Leeming <leeming@lyx.org>
2247 * inset*.[Ch] (latex):
2248 passed a LatexRunParams parameter.
2250 * insetgraphics.C (latex): actually use it ;-)
2252 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2254 * insetfloat.C (addToToc): trivial compile fix
2256 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2258 * insettext.[Ch] (paragraph): delete unused function
2260 * insetfloat.C (addToToc): parlist simplfication
2262 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2264 * insetspace.[Ch]: added (new space insets)
2266 * inset.h: handle new space insets
2268 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * insetfloat.C (addToToc): adjust
2272 2003-05-21 André Pönitz <poenitz@gmx.net>
2274 * insettext.[Ch]: fix drawing bug introduced earlier
2276 2003-05-19 André Pönitz <poenitz@gmx.net>
2278 * insetspecialchar.C: fix bug introduced yesterday
2280 2003-05-19 André Pönitz <poenitz@gmx.net>
2284 * insetcollapsable.[Ch]:
2288 * insetgraphics.[Ch]:
2289 * insetgraphicsParams.[Ch]:
2290 * insetlatexaccent.[Ch]:
2291 * insetminipage.[Ch]:
2292 * insetnewline.[Ch]:
2294 * insetspecialchar.[Ch]:
2295 * insettabular.[Ch]:
2296 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2298 2003-05-19 André Pönitz <poenitz@gmx.net>
2301 * insettext.C: more insetenv
2303 2003-05-16 André Pönitz <poenitz@gmx.net>
2306 * insetminimpage.[Ch]:
2307 * insetcollapsable.[Ch]: fix #832
2309 2003-05-16 André Pönitz <poenitz@gmx.net>
2312 * insetbibitem.[Ch]:
2316 * insetcollapsable.[Ch]:
2317 * insetcommand.[Ch]:
2320 * insetexternal.[Ch]:
2321 * insetfloatlist.[Ch]:
2322 * insetgraphics.[Ch]:
2323 * insetinclude.[Ch]:
2326 * insetlatexaccent.[Ch]:
2329 * insettabular.[Ch]:
2333 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2335 2003-05-13 André Pönitz <poenitz@gmx.net>
2338 * insetcollapsable.C:
2342 * insetwrap.C: tostr from own header
2354 * insetwrap.C: STRCONV
2357 2003-05-12 André Pönitz <poenitz@gmx.net>
2369 * insetwwrap.C: boost::format -> bformat all over the place
2371 2003-05-05 André Pönitz <poenitz@gmx.net>
2373 * insettext.h: add missing #include <map>
2375 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2377 * insettext.C (InsetText): parlist cleanup
2380 (insetUnlock): ditto
2382 (lockInsetInInset): ditto
2386 (searchBackward): ditto
2387 (collapseParagraphs): ditto
2389 2003-05-06 John Levon <levon@movementarian.org>
2391 * insetcaption.C: don't cast wrap inset to InsetFloat
2394 * insetfloat.C: remove unneeded type() function
2396 2003-05-05 André Pönitz <poenitz@gmx.net>
2400 * insettabular.[Ch]:
2401 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2402 replace getFirstParagraph() by getParagraphs()
2404 2003-05-03 John Levon <levon@movementarian.org>
2406 * insetcollapsable.h:
2407 * insetcollapsable.C:
2413 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2414 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2415 getCursor(). Remove explicit cursor hides.
2417 2003-05-02 André Pönitz <poenitz@gmx.net>
2419 * insettext.C: remove unneeded &*
2421 2003-04-30 John Levon <levon@movementarian.org>
2423 * insettabular.C: fix edit message
2425 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2427 * insettext.C (setFont): do not convert iterator -> pointer
2429 * insettabular.C (localDispatch): do not convert iterator -> pointer
2431 (tabularFeatures): ditto
2433 2003-04-29 André Pönitz <poenitz@gmx.net>
2435 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2437 2003-04-28 André Pönitz <poenitz@gmx.net>
2439 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2442 2003-04-25 André Pönitz <poenitz@gmx.net>
2444 * insetenv.C: derive from InsetText instead of InsetCollapsable
2446 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2448 * insetexternal.C (string2params): dont do anything if the string
2450 * insetgraphics.C (string2params): ditto
2451 * insetcommand.C (string2params): ditto
2452 * insetert.C (string2params): ditto
2453 * insetfloat.C (string2params): ditto
2454 * insetinclude.C (string2params): ditto
2455 * insetminipage.C (string2params): ditto
2456 * insettabular.C (string2params): ditto
2457 * insetwrap.C (string2params): ditto
2459 2003-04-24 André Pönitz <poenitz@gmx.net>
2461 * insetref.C: support for eqref
2463 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2465 * insetert.C (read): use ParagraphList::iterator.
2467 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2469 * insetquotes.C (latex): comment some code and add warnings.
2471 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2473 * insetexternal.C (localDispatch): added a missing DISPATCHED
2475 2003-04-12 John Levon <levon@movementarian.org>
2477 * insetwrap.C (addToToc): fix a crash, conversion
2478 from while to for loop forgot to remove the explicit
2481 2003-04-10 John Levon <levon@movementarian.org>
2483 * insettabular.C (tabularFeature): make sure
2484 to update the dialog when we change something
2487 (getStatus): don't disable some lfuns (bug 939)
2489 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2491 * insettext.C (saveLyXTextState): adjust
2492 (localDispatch): adjust
2498 * insettabular.C (localDispatch): adjust
2500 (tabularFeatures): adjust
2502 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2504 * insettabular.C (searchForward,searchBackward): fix bug 782
2506 2003-04-07 John Levon <levon@movementarian.org>
2509 * insettext.C: clear status message on inset exit
2511 2003-04-03 John Levon <levon@movementarian.org>
2513 * insetcommand.C: return dispatched on DIALOG_UPDATE
2515 2003-04-02 John Levon <levon@movementarian.org>
2517 * insettabular.C: tab lfuns renamed
2519 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2521 * insettext.C (update): move towards ParagraphList
2522 (updateLocal): ditto
2524 (insetUnlock): ditto
2526 (lockInsetInInset): ditto
2527 (updateInsetInInset): ditto
2528 (localDispatch): ditto
2531 (resizeLyXText): ditto
2532 (searchBackward): ditto
2533 (collapseParagraphs): ditto
2536 * insetwrap.C (InsetWrap): adjust
2537 (addToToc): adjust and rewrite loop
2539 * insettext.[Ch] (paragraph): delete function
2541 * insettabular.C (moveNextCell): adjust
2542 (movePrevCell): adjust
2543 (insertAsciiString): adjust
2545 * insetfloat.C (InsetFloat): adjust
2548 * insetert.C (InsetERT): adjust
2549 (write): adjust, and rewrite loop
2550 (latex): adjust, and rewrite loop
2551 (linuxdoc): adjust, and rewrite loop
2552 (docbook): adjust, and rewrite loop
2553 (localDispatch): adjust
2554 (get_new_label): adjust
2556 2003-04-01 John Levon <levon@movementarian.org>
2558 From Alfredo Braunstein
2561 * insetbutton.C: add localDispatch()
2563 * insetcommand.C: return DISPATCHED when edit() called
2565 * insettext.C: fix bug 967
2567 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2569 * insettext.C: adjust
2571 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2573 * insettext.C (draw): adjust
2574 (crow): return a RowList::iterator not a Row*
2576 * insetminipage.C (localDispatch): adjust
2578 * insetert.C (localDispatch): adjust
2580 2003-03-31 John Levon <levon@movementarian.org>
2583 * insetgraphicsParams.C: use_gui moved to lyx_gui
2585 2003-03-31 John Levon <levon@movementarian.org>
2587 * insettext.C: Alert fix
2589 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2591 * insettext.C (ascent): adjust for RowList
2594 (getLyXText): adjust
2595 (toggleSelection): adjust
2597 * insetminipage.C (localDispatch): adjust for RowList
2599 * insetert.C (localDispatch): adjust for RowList
2600 (getMaxWidth): adjust for RowList
2602 2003-03-29 John Levon <levon@movementarian.org>
2604 * insetert.C: Alert cleanup
2606 2003-03-29 John Levon <levon@movementarian.org>
2608 * insettabular.C: Alert fix
2610 2003-03-28 John Levon <levon@movementarian.org>
2612 * insetfloat.C: reset label on INSET_MODIFY
2614 2003-03-28 John Levon <levon@movementarian.org>
2616 * insetgraphicsParams.C: read subcaptionText as a whole line
2619 2003-03-28 John Levon <levon@movementarian.org>
2621 * insettext.C: remove unused prototypes
2623 2003-03-25 Angus Leeming <leeming@lyx.org>
2625 * insetbibitem.C (localDispatch): repaint the view after modifying
2626 a bibitem inset in case the maximum InsetBibitem width has changed.
2628 2003-03-25 John Levon <levon@movementarian.org>
2631 * insettabular.C: LyXText renamings
2633 2003-03-24 John Levon <levon@movementarian.org>
2635 * insettext.C: remove some dead code. Fix bug 972 and
2636 related by posting a repaint in updateLocal(), and making
2637 the SEL functions set SELECTION.
2639 2003-03-22 John Levon <levon@movementarian.org>
2642 * inset.C: remove no-longer-needed topx_set
2644 * insetcollapsable.h:
2645 * insetcollapsable.C: remove dead code
2648 * insetert.C: rebreak the rows when a possible
2649 change in size is made, and reset the cursor
2652 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2654 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2655 topx_set. Fix drawing errors for clearInset(). Remove
2656 some unnecessary uses of topx, which should die.
2658 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2659 is no longer needed. Replace it with an ugly hack.
2661 2003-03-20 John Levon <levon@movementarian.org>
2664 * insetcollapsable.h:
2665 * insetcollapsable.C:
2673 * insettext.C: remove spurious font parameter
2674 from update(). Fix drawing of ERT insets inside
2675 insets (bug 966). Remove unused mark_dirty from
2676 tabular's updateLocal()
2678 2003-03-19 John Levon <levon@movementarian.org>
2687 * insetwrap.C: remove unused getter/setters
2689 2003-03-19 John Levon <levon@movementarian.org>
2691 * several files: bv->updateInset() doesn't take
2692 a bool mark_dirty any more
2694 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2696 * adjust for BufferView* arg removal from lyxtext.
2698 2003-03-17 John Levon <levon@movementarian.org>
2700 * most files: remove the "cleared" parameter
2701 to draw in favour of always clearing. Associated
2704 2003-03-16 John Levon <levon@movementarian.org>
2706 * insettext.C: remove unused s.refresh
2708 2003-03-13 Angus Leeming <leeming@lyx.org>
2710 * insettext.C (edit): replace Dialogs::updateParagraph with
2711 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2713 2003-03-13 André Pönitz <poenitz@gmx.net>
2715 * Makefile.am: insert insetenv
2717 * insethenv.[Ch]: new files, currently inactive
2719 2003-03-12 John Levon <levon@movementarian.org>
2729 * insettext.C: use new insetnewline
2731 2003-03-12 John Levon <levon@movementarian.org>
2733 * insettext.C: readToken became readParagraph
2735 2003-03-12 John Levon <levon@movementarian.org>
2737 * insettext.C: use parlist iterator for reading contents
2739 2003-03-12 John Levon <levon@movementarian.org>
2741 * insettext.C: name change to readToken()
2743 2003-03-11 André Pönitz <poenitz@gmx.net>
2745 * Makefile.am: insert insethfill
2747 * insethfill.[Ch]: new files
2749 2003-03-10 Angus Leeming <leeming@lyx.org>
2751 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2753 (hideDialog): calls the new static Dialogs::hide() method.
2755 * insetbibitem.C (edit):
2756 * insetbibtex.C (edit):
2757 * insetcite.C (edit):
2758 * insetcommand.C (localDispatch):
2759 * inseterror.C (d-tor):
2760 * insetert.C (showInsetDialog):
2761 * insetexternal.C (localDispatch, edit):
2762 * insetfloat.C (localDispatch, showInsetDialog):
2763 * insetfloatlist.C (edit):
2764 * insetgraphics.C (localDispatch, edit):
2765 * insetinclude.C (localDispatch, edit):
2766 * insetindex.C (edit):
2767 * insetlabel.C (edit):
2768 * insetminipage.C (localDispatch, showInsetDialog):
2769 * insetref.C (edit):
2770 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2771 resetPos, showInsetDialog, openLayoutDialog):
2772 * insettoc.C (edit):
2773 * inseturl.C (edit):
2774 * insetwrap.C (localDispatch, showInsetDialog):
2775 changes due to the changed MailInset interface.
2777 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2779 * insetfloat.h: Set default placement to an empty string.
2781 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2783 * insettext.C (latex): adjust call to latexParagraphs.
2785 2003-03-10 Angus Leeming <leeming@lyx.org>
2787 * mailinset.C: warn the user if the BufferView has not been cached.
2789 2003-03-10 Angus Leeming <leeming@lyx.org>
2791 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2793 * insetcommand.h (inset):
2794 * insetert.h (inset):
2795 * insetexternal.h (inset):
2796 * insetfloat.h (inset):
2797 * insetgraphics.h (inset):
2798 * insetinclude.h (inset):
2799 * insetminipage.h (inset):
2800 * insettabular.h (inset):
2801 * insetwrap.h (inset):
2802 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2804 2003-03-10 Angus Leeming <leeming@lyx.org>
2806 * insetcommand.C (string2params):
2807 * insetexternal.C (string2params):
2808 * insetfloat.C (string2params):
2809 * insetgraphics.C (string2params):
2810 * insetinclude.C (string2params):
2811 * insetminipage.C (string2params):
2812 * insettabular.C (string2params):
2813 * insetwrap.C (string2params): cure warning message about missing
2816 2003-03-09 Angus Leeming <leeming@lyx.org>
2818 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2819 it to communicate with the frontend dialogs.
2821 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2822 contents of this inset!
2824 2003-03-07 Angus Leeming <leeming@lyx.org>
2826 * inseterror.C (localDispatch): new method; calls edit() on
2829 2003-03-07 Angus Leeming <leeming@lyx.org>
2831 * insetbibitem.C (localDispatch):
2832 * insetbibtex.C (localDispatch):
2833 * insetlabel.C (localDispatch):
2834 rewrite as a switch.
2836 2003-03-07 Angus Leeming <leeming@lyx.org>
2838 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2839 it to communicate with the frontend dialogs.
2841 2003-03-07 Angus Leeming <leeming@lyx.org>
2843 * insetexternal.C: remove operator== and operator!= for
2844 InsetExternal::Params. They were used only by the old controller
2847 2003-03-07 Angus Leeming <leeming@lyx.org>
2849 * insetcommand.C (localDispatch):
2850 * insetexternal.C (localDispatch):
2851 * insetfloat.C (localDispatch):
2852 * insetinclude.C (localDispatch):
2853 * insetminipage.C (localDispatch):
2854 * insetwrap.C (localDispatch):
2855 add LFUN_INSET_DIALOG_UPDATE to the switch.
2857 2003-03-07 Angus Leeming <leeming@lyx.org>
2859 * insetcommand.C (string2params):
2860 * insetexternal.C (string2params):
2861 * insetfloat.C (string2params):
2862 * insetinclude.C (string2params):
2863 * insetwrap.C (string2params): use LyXLeX more.
2866 * insetexternal.[Ch]:
2868 * insetinclude.[Ch]:
2869 * insetwrap.[Ch]: change Mailer::name_ to be static.
2871 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2872 it to communicate with the frontend dialogs.
2874 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2877 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2879 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2881 * insettext.C (updateLocal): un-const function
2882 (updateLocal): adjust
2883 (collapseParagraphs): un-const function
2884 (collapseParagraphs): adjust
2886 2003-03-05 Angus Leeming <leeming@lyx.org>
2888 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2889 it to communicate with the frontend dialogs.
2891 2003-03-05 Angus Leeming <leeming@lyx.org>
2893 * insetcollapsable.C (draw): cache the BufferView.
2895 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2896 it to communicate with the frontend dialogs.
2898 2003-03-05 Angus Leeming <leeming@lyx.org>
2900 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2903 2003-03-05 Angus Leeming <leeming@lyx.org>
2905 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2907 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2908 it to communicate with the frontend dialogs.
2910 2003-03-05 Angus Leeming <leeming@lyx.org>
2912 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2913 it to communicate with the frontend dialogs.
2915 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2917 * insettext.C (collapseParagraphs): adjust
2918 (appendParagraphs): make it take a Buffer* instead of a
2919 BufferParams& as arg.
2920 (appendParagraphs): adjust
2922 2003-03-04 Angus Leeming <leeming@lyx.org>
2924 * insetbibitem.C (localDispatch):
2925 * insetbibtex.C (localDispatch):
2926 * insetcommand.C (localDispatch):
2927 * insetert.C (localDispatch):
2928 * insetlabel.C (localDispatch):
2929 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2931 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2933 * insettext.C (latex): adjust for ParagraphList::iterator
2935 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2937 * insetbutton.C (view): adjust for boost 1.30.0
2938 * insetcollapsable.C (view): ditto
2939 * insetgraphics.C (statusChanged): ditto
2941 * insettext.h: move paragraphs to be public.
2943 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2945 * insetnote.[Ch] (InsetNote): remove unused constructor
2947 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2949 * insetgraphics.C: added include "format.h"
2951 2003-02-27 Angus Leeming <leeming@lyx.org>
2953 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2956 2003-02-27 Angus Leeming <leeming@lyx.org>
2958 * insetbibitem.C (localDispatch):
2959 * insetbibtex.C (localDispatch):
2962 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2964 2003-02-26 Angus Leeming <leeming@lyx.org>
2966 * insetbibitem.[Ch] (localDispatch):
2967 * insetbibtex.[Ch] (localDispatch):
2968 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2970 * insetcommand.C (localDispatch):
2971 act only on receipt of LFUN_XYZ_APPLY.
2973 * insetert.C (localDispatch): reformat.
2974 add LFUN_XYZ_APPLY to the switch.
2976 2003-02-26 John Levon <levon@movementarian.org>
2978 * insettext.C: use RowPainter
2980 * inset.h: make helpers take const *
2982 2003-02-26 Angus Leeming <leeming@lyx.org>
2984 * insetcommand.[Ch] (localDispatch): new method.
2986 2003-02-26 Angus Leeming <leeming@lyx.org>
2988 * insetinclude.C (draw): cache the BufferView* using cache not
2989 PreviewImpl::setView
2991 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2993 * insetgraphics.C (draw)
2994 * insetinclude.C (draw): Eliminate also the other argument (owner
2995 inset inset) in the call to PreviewImage::image
2997 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2999 * insetgraphics.C (draw)
3000 * insetinclude.C (draw): Eliminate Buferview argument in call to
3003 2003-02-25 John Levon <levon@movementarian.org>
3005 * insetgraphicsParams.h:
3006 * insetgraphics.C: don't start a load process if
3007 the inset is set to NoDisplay (bug #920)
3009 2003-02-22 John Levon <levon@movementarian.org>
3012 * insetwrap.C: TocItem changed API (bug 913)
3014 2003-02-21 Angus Leeming <leeming@lyx.org>
3016 * insetcollapsable.[Ch] (cache, edit):
3017 * insetbutton.[Ch] (cache, edit): new methods to cache the
3018 BufferView in the draw method.
3020 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3021 simplify comunication between InsetCommand-derived classes and
3024 * insetbibitem.[Ch]:
3028 * insetfloatlist.[Ch]:
3032 * inseturl.[Ch]: small changes to reflect the new interface to the
3035 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3036 other, similar classes.
3038 * Makefile.am: add new files.
3040 2003-02-21 Angus Leeming <leeming@lyx.org>
3042 * updatableinset.h (setView, view): remove.
3043 * inset.h (view, cache): to be replaced by these.
3045 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3048 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3051 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3053 2003-02-21 Allan Rae <rae@lyx.org>
3055 * insetinclude.C (loadIfNeeded): ensure loading also works when
3056 child document is under version control.
3058 2003-02-17 André Pönitz <poenitz@gmx.net>
3060 * insetbib.[Ch]: Adjust access to bibkeys
3062 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3064 * insetquotes.C (dispString): remove use of acute accent for "'"
3067 2003-02-14 John Levon <levon@movementarian.org>
3069 * insettabular.C: changed method names in tabular.C
3071 2003-02-14 John Levon <levon@movementarian.org>
3075 * insetcollapsable.h:
3076 * insetcollapsable.C:
3080 * insettext.C: remove unused getParFromID()
3082 2003-02-13 John Levon <levon@movementarian.org>
3085 * insettext.C: remove unused beginningofMainBody()
3087 2003-02-08 John Levon <levon@movementarian.org>
3091 * insetcollapsable.h:
3092 * insetcollapsable.C:
3097 add nextChange(). Make allowSpellcheck() const. Add markErased().
3099 * insetert.C: ignore deleted text
3101 * insettabular.C: make sure to keep change tracking working
3104 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3109 * insettext.C: Use error messages with identical spelling and punctuation
3111 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3113 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3115 2002-12-17 Juergen Vigna <jug@lyx.org>
3117 * insettext.C (localDispatch): hopefully fixed cursor up down
3118 movement on leaving other insets.
3120 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3122 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3125 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3127 * insetgraphics.C (prepareFile): do not remove the extension of
3128 the file name if it is not the default extension for the given
3129 format (that is, in latex output, remove extension from foo.eps,
3130 but not from foo.epsi)
3132 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3134 * insettext.C (lfunMouseRelease): hackish solution to the "double
3137 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * insetfloat.C (addToToc): use the floats name not its type
3140 * insetwrap.C (addToToc): ditto
3142 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3144 * insetnote.C (init): make label font smaller
3146 2002-12-04 John Levon <levon@movementarian.org>
3148 * insetinclude.C: ressurect setting of command name
3150 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3152 * insetquotes.C (dispString): disambiguate insert call
3154 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3156 * several files: ws changes
3158 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3160 * insetquotes.C (dispString): use string::insert for prepending a
3163 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3165 * insetparent.C (getScreenLabel): use boost::format
3167 * insetgraphics.C (prepareFile): use boost::format
3170 * insetfloatlist.C (latex): use boost::format
3172 * insetcaption.C (draw): use boost::format
3174 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3176 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3179 2002-11-20 Juergen Vigna <jug@sad.it>
3181 * insettabular.C (resetPos): temporary fix for endless loop in
3182 this function on a redraw.
3184 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3186 * insettabular.C (copySelection): STRCONV
3188 * insetinclude.C (uniqueID): STRCONV
3189 (latexString): ditto
3191 * insetgraphics.C: put VersionNumber inside anon namespace
3192 (createLatexOptions): STRCONV
3194 * insetcommandparams.C: include config.h
3196 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3198 * insetgraphicsParams.C (Write): use lyx::float_equal.
3199 Write height data correctly.
3200 (Read): zero scale when reading height data.
3202 2002-10-30 John Levon <levon@movementarian.org>
3204 * insetfloat.C (addToTOC): recursively traverse all
3205 contents looking for captions (fix #568)
3207 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3209 * insetexternal.C (doSubstitution): do not try to replace
3210 environment variables, this is done when executing the command
3212 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3214 * insetexternal.C (doSubstitution): change order of substitution
3215 to work around ReplaceEnvironmentPath brokenness
3217 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3219 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3221 * insetgraphicsParams.C (init, Write): associated changes
3222 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3223 InsetGraphicsParams::scale.
3225 2002-10-21 John Levon <levon@movementarian.org>
3227 * inset.h: remove unused DISPATCH_RESULT
3229 * insettext.C: sgml open/close tag now in sgml namespace
3231 2002-10-21 Angus Leeming <leeming@lyx.org>
3233 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3234 file path subdir/fig.eps when pasting it into a buffer in a different
3237 2002-10-16 John Levon <levon@movementarian.org>
3239 * insetspecialchar.C: remove \\protected_separator parsing
3241 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3243 * insetquote.C: fix LaTeX output of quotation marks.
3245 2002-10-14 Juergen Vigna <jug@sad.it>
3247 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3248 Backspace functions which confused the Undo handling.
3250 2002-10-09 Angus Leeming <leeming@lyx.org>
3252 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3253 BufferView::dispatch that turns off this optimisation when a new inset
3256 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3257 reload the BibTeX keys.
3259 2002-10-11 André Pönitz <poenitz@gmx.net>
3261 * insettext.h: handle LFUN_PRIOR/NEXT
3263 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3265 * insetfloat.C: fix bug with float settings
3266 (document default != float default).
3268 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3270 * insetwrap.C (addToToc): New method.
3271 (InsetWrap): Set layout to caption.
3273 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3275 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3277 2002-09-16 John Levon <levon@movementarian.org>
3279 * insettabular.h: hasSelection() needs to be public
3281 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3283 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3285 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3287 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3289 2002-09-11 André Pönitz <poenitz@gmx.net>
3291 * insettabular.C: implement LFUN_WORDSEL
3293 2002-09-10 John Levon <levon@movementarian.org>
3295 * insetinclude.h: remove unused param
3297 2002-09-09 John Levon <levon@movementarian.org>
3300 * insetinclude.C: remove noload, default to input
3302 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3304 * insetgraphics.C: disfuscated use of ']' in built output string.
3306 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3308 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3310 2002-08-29 Juergen Vigna <jug@sad.it>
3312 * insettabular.C (lfunMousePress): Pay attention where you set
3313 the x/y values as they depend on which inset in the tabular is
3314 actually locked. So you surely have to reset them if you (un)lock
3317 2002-08-29 André Pönitz <poenitz@gmx.net>
3319 * insetfootlike.h: rename include guard to ALL CAPS
3321 * insettext.C: swap object and first parameter for checkInsetHit calls
3322 as this functions has moved from BufferView to LyXText
3325 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3327 * insetgraphicsParams.C: remove local displayTranslator and use
3328 the one from graphics/GraphicsTypes.h.
3330 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3332 * insetfloat.C (wide): add BufferParams parameter
3334 * insetfloatlist.C (read):
3337 * insetfloat.C (latex):
3339 * insetcaption.C (draw): use LyXTextClass::floats()
3341 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3343 * insetoptarg.h: add std:: qualifier.
3345 2002-08-26 Juergen Vigna <jug@sad.it>
3347 * insettext.C (localDispatch): ditto.
3349 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3351 2002-08-25 John Levon <levon@movementarian.org>
3353 * inseturl.C: elide long URLs (bug 404)
3355 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3357 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3358 remove "Format Version <version_no.>" string from inset header
3361 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3363 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3364 a member of "grfx::Params" anymore.
3366 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3368 2002-08-24 John Levon <levon@movementarian.org>
3371 * insetoptarg.C: ws, pedantry ...
3373 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3375 * insettext.C (collapseParagraphs): pasteParagraph now in global
3377 (appendParagraphs): ditto
3379 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3381 * insetcite.C (latex): Remove spaces only after commmas.
3383 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3385 * insettext.C: remove NO_COMPABILITY stuff
3387 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3389 * insettext.C (edit): use ParagraphList iterators
3391 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3392 (bibitemWidest): ditto
3394 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3396 * insettext.C: include <boost/bind.hpp>
3397 add using std::for_each
3398 (saveLyXTextState): use ParagraphsList::iterator
3399 (init): use for_each on paragraphlist iterators
3400 (InsetText): remove superflous setting cached_bview to 0
3401 (latex): reformat a bit
3402 (ascii): use paragraphlist iterators
3403 (validate): use for_each + boost bind
3404 (getLabelList): use paragraphlist iterators
3405 (deleteLyXText): use for_each + boost::bind
3406 (resizeLyXText): ditto
3407 (reinitLyXText): ditto
3408 (removeNewlines): use paragraphlist iterators
3409 (getParFromID): ditto
3410 (paragraph): use for_each + boost::bind
3411 (getInsetFromID): use paragraphlist iterators
3412 (getLabelList): typo fix
3414 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3416 * insettext.C (read): assign tmp to paragraphs after return from
3417 call to parseSingleLyXformat2Token
3420 2002-08-13 Angus Leeming <leeming@lyx.org>
3439 changes due to the changed LyXView interface that now returns references
3440 to member variables not pointers.
3442 2002-08-13 Angus Leeming <leeming@lyx.org>
3445 * insetcollapsable.h:
3448 * insettext.h: forward-declare WordLangTuple
3449 (selectNextWordToSpellcheck) constify return type.
3452 * insetcollapsable.C:
3455 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3457 2002-08-12 Angus Leeming <leeming@lyx.org>
3459 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3461 2002-08-12 Juergen Vigna <jug@sad.it>
3463 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3466 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3468 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3469 (bibitemWidest): ditto
3470 * insettext.[Ch]: ditto
3472 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3474 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3476 2002-08-09 Angus Leeming <leeming@lyx.org>
3478 * insetinclude.C (latexString): remove fudge now that I've found out
3479 how to enable LaTeX to find the file using input@path.
3481 2002-08-09 John Levon <levon@movementarian.org>
3484 * insettext.C: remove unused xpos
3486 2002-08-07 Juergen Vigna <jug@lyx.org>
3488 * insettabular.C (localDispatch): make delete not put the stuff
3489 in the clipboard only do this on a cut operation.
3491 * insettext.C (localDispatch): make delete and backspace not put
3492 selected stuff to the clipboard.
3494 2002-08-07 André Pönitz <poenitz@gmx.net>
3497 * insetcollapsable.[Ch]:
3501 * insettabular.[Ch]:
3502 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3504 2002-08-06 John Levon <levon@movementarian.org>
3508 * insetcollapsable.h:
3509 * insetcollapsable.C:
3515 * insettext.C: use WordLangTuple for spellcheck
3517 2002-08-06 Angus Leeming <leeming@lyx.org>
3519 * insetinclude.C: add a monitor to the previewed image, so that the
3520 image is refreshed if the \input-ed file changes.
3522 2002-08-04 John Levon <levon@movementarian.org>
3525 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3527 2002-08-02 Angus Leeming <leeming@lyx.org>
3529 * insetcommandparams.[Ch] (preview): new methods returning and setting
3530 a new bool preview_ flag.
3531 (read): read this flag.
3532 (operator==): add flag to check.
3534 * insetinclude.C (write): output new preview() flag.
3535 (previewWanted): use this flag.
3537 2002-08-02 Angus Leeming <leeming@lyx.org>
3539 * insetcollapsable.[Ch] (addPreview):
3540 * insettabular.[Ch] (addPreview):
3541 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3542 for insets in insets.
3544 2002-08-02 Angus Leeming <leeming@lyx.org>
3546 * insetcite.C: fix typo.
3548 * insetgraphics.C: kill current_view and instead cache the BufferView
3551 * insetinclude.C: kill current_view and pass the BufferView to the
3552 PreviewedInset so that it can cache it.
3554 2002-08-01 Angus Leeming <leeming@lyx.org>
3556 * inset.h (generatePreview): renamed as addPreview.
3557 (generatePreview): new method. Allows code to be moved out of
3558 math_nestinset.C and into the new PreviewedInset class.
3560 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3561 add previews to the inset when \input-ing LaTeX.
3563 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3565 * several files: strip,frontStrip -> trim,ltrim,rtrim
3567 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3569 * insetbib.C (latex): modify because of strip changes
3571 * insetnote.C (InsetNote): ditto
3573 2002-07-26 Juergen Vigna <jug@sad.it>
3575 * insettabular.C (searchForward): check for lastcell if we
3576 had a locking inset.
3578 2002-07-25 Juergen Vigna <jug@sad.it>
3580 * insettabular.C (insetMotionNotify): Don't update the screen
3581 if we didn't do nothing.
3582 (searchForward): last cell was not checked.
3584 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3586 * insetfloat.C (read, write): Allow default placement
3587 (floatPlacement_ is empty).
3589 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3591 * insetminipage.h (noFontChange):
3592 * insettabular.h (noFontChange):
3593 * insetfootlike.h (noFontChange):
3594 * insetfloat.h (noFontChange): return true
3596 * inset.h (noFontChange): new method, defaulting to false
3598 2002-07-22 Herbert Voss <voss@lyx.org>
3600 * insetgraphicsParams.[Ch]: support size_type for old docs
3602 2002-07-22 Herbert Voss <voss@lyx.org>
3605 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3608 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3610 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3612 * insetlatexaccent.h: do not include "lyxlex.h"
3614 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3617 * insetlatexaccent.C:
3621 * insetbib.C: #include "lyxlex.h"
3627 * insettext.C: use BufferParams::getLyXTextClass
3630 * insetfloat.C (addToToc): new method. Add to toclist the entries
3631 corresponding to Caption layouts
3632 (InsetFloat): when creating a new float, set the layout to "Caption"
3634 2002-07-21 Herbert Voss <voss@lyx.org>
3636 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3637 image relevant part into graphics/GraphicsImgae.C
3639 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3641 * insettoc.C (ascii):
3642 * insetfloatlist.C (ascii): change to use the new Toc functions
3643 instead of stuff that was in Buffer
3645 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3647 * insettext.C (localDispatch): BufferView::Dispatch has been
3648 renamed to BufferView::dispatch
3650 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3652 * insetgraphicsParams.C (as_grfxParams): use the new
3653 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3654 1.2.0 patch, and I do not really know how to adapt it to the new
3655 grfx::Cache world. Angus, please could you have a look?
3657 2002-05-01 Herbert Voss <voss@lyx.org>
3659 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3661 2002-07-18 Angus Leeming <leeming@lyx.org>
3663 * insetgraphics.C: clean-up comments (from Herbert).
3664 add a new checksum variable to the cache. Use it in PrepareFile.
3665 (draw): start monitoring the file for a change.
3666 (prepareFile): re-arrange a little to avoid unnecessary steps.
3668 2002-07-17 Angus Leeming <leeming@lyx.org>
3670 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3671 a method rather than to the signal directly.
3673 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3675 * insettext.C: use view_state_changed, switchKeyMap
3677 2002-07-17 Herbert Voss <voss@perce.de>
3679 * insetgraphics.C (prepareFile): keep the extension when
3680 exporting to nice file
3682 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3684 * insetcite.C (getNatbibLabel):
3685 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3687 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3689 * insetgraphics.C: use ->isDrawable()
3691 2002-07-12 Angus Leeming <leeming@lyx.org>
3693 * insetgraphics.C: use the new smart loading capabilities of the image
3696 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3698 * insettabular.C (edit): Move into correct cell when entering a
3701 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3704 2002-07-05 Angus Leeming <leeming@lyx.org>
3706 * inset.h (generatePreview): new virtual method.
3708 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3710 * insetcommandparams.[Ch] (operator=): move out of class
3711 (operator!): move out of class
3713 2002-07-04 André Pönitz <poenitz@gmx.net>
3715 * insetcommandparams.[Ch]: new files
3717 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3719 2002-06-15 Herbert Voss <voss@perce.de>
3721 * insetgraphics.C (prepareFile): bugfix; return always
3722 files without extension
3724 2002-06-28 Angus Leeming <leeming@lyx.org>
3726 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3727 rename asGParams -> as_grfxParams.
3729 * insetgraphics.C: reflect above change.
3731 2002-06-26 Angus Leeming <leeming@lyx.org>
3733 * insetgraphics.h: use boost::scoped_ptr in preference to
3736 2002-06-26 Angus Leeming <leeming@lyx.org>
3738 * insetgraphics.C: moved the image loading stuff into a new class
3739 grfx::Loader. Simplifies this file enormously.
3741 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3743 * insetgraphicsParams.C: changes aassociated with moving
3744 grfx::DisplayType out of grfx::GParams.
3746 2002-06-26 André Pönitz <poenitz@gmx.net>
3748 * insetgraphics.C: use os::external_path where necesaary according to a
3749 patch from Claus Hentschel)
3751 2002-06-25 Angus Leeming <leeming@lyx.org>
3753 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3754 generating a pixmap once the graphics file is loaded into memory.
3755 The current_view ugliness that was in grfx::ModifiedImage has been
3756 moved here now that grfx::ModifiedImage is no more.
3758 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3760 * insettext.C: layout as layout
3762 2002-05-28 André Pönitz <poenitz@gmx.net>
3764 * insetfloatlist.h: remove source of compiler warning
3766 * insetref.C: tiny whitespace
3768 2002-06-15 Herbert Voss <voss@perce.de>
3770 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3771 and take always convert when no userdefined converter was
3773 (latex) small changes in the lyxerr output
3775 2002-06-15 LyX Development team <lyx@rilke>
3777 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3778 mixed content. Small white spaces clean.
3780 2002-06-14 Angus Leeming <leeming@lyx.org>
3782 * inseetexternal.C: remove the using std::difftime declaration.
3784 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3786 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3788 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3790 * insetquotes.C (draw): fix drawing of double quotes
3792 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3794 * insettabular.C: s/scrollCB/scrollDocView/
3796 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3798 * insettext.C: change of topCursorVisible()
3801 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3804 * insettext.C: rename/change of LyXScreen
3806 2002-06-07 Angus Leeming <leeming@lyx.org>
3808 Fixes needed to compile with Compaq cxx 6.5.
3810 all c-library variables have been moved into namespace std.
3811 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3813 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3815 * insetinclude.C (uniqueID):
3816 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3817 conflicted with some AIX headers.
3819 2002-05-31 Juergen Vigna <jug@sad.it>
3821 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3825 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3827 * insetexternal.C (clone): fix () bug when using new
3828 (updateExternal): don't only look for difftime in global scope
3830 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3832 * insettabular.C: add const
3834 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3836 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3837 file name, in case there are weird characters like ',' in there.
3840 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3842 * switch from SigC signals to boost::signals.
3844 2002-05-28 André Pönitz <poenitz@gmx.net>
3846 * insets/insetgraphicsParams.[Ch]:
3847 put in inset related stuff from src/graphic
3849 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3857 * insetcollapsable.C:
3858 * insetcollapsable.h:
3886 * inseturl.h: use mouse_state. Kill insetKeyPress
3888 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3893 * insetcollapsable.C:
3896 * insetlatexaccent.C:
3898 * insetspecialchar.C:
3900 * insettext.C: name change for font metrics
3902 2002-05-24 Juergen Vigna <jug@sad.it>
3904 * insetgraphics.h: include inset.h first (for LString.h)
3906 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3908 * insettext.C: screen moved
3910 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3928 * inseturl.C: LyXView moved into frontends/
3930 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3935 * insetcollapsable.C:
3939 * insetgraphicsParams.C:
3940 * insetlatexaccent.C:
3942 * insetspecialchar.C:
3944 * insettext.C: move Painter to frontends/
3946 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3948 * insettabular.h: use more specific smart_ptr header.
3949 * insettext.h: ditto
3951 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3954 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3956 * insettext.C: clear selection on paste (bug 393)
3958 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3960 * insettext.C (latex): Honor the moving_arg argument.
3962 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3964 * insetfoot.C (latex): if a footnote is in a title layout, then it
3965 is a \thanks. And then, its contents is a moving argument.
3967 2002-05-14 Juergen Vigna <jug@sad.it>
3969 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3972 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3974 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3975 when using options "Full author list" or "Upper case".
3977 2002-05-14 Herbert Voss <voss@perce.de>
3979 * insetgraphics.C (prepareFile): allow files with same name
3981 (readFigInset): set the flags from old figinset in the right
3983 (findTargetFormat): more comments
3985 2002-05-14 Juergen Vigna <jug@sad.it>
3987 * insettext.C (edit): tell checkAndActivateInset() that we don't
3988 have a button press.
3989 (checkAndActivateInset): if button < 0 we don't have a button press
3990 on the inset and os we won't call edit on it if it's not a Highly
3991 editable inset (then we have to enter it).
3993 2002-05-13 Juergen Vigna <jug@sad.it>
3995 * insetcollapsable.C (insetButtonRelease): returned wrong return
3998 2002-05-09 Juergen Vigna <jug@sad.it>
4000 * insetcollapsable.C (edit): first_after_edit should only be
4001 set to true if we enter this inset and it was collapsed so we
4002 open it up. This is needed to reclose it after a search/replace
4003 or spellcheck function opened it and was negative.
4005 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4007 * insetfloat.C (latex): Return correct value.
4009 2002-05-04 Herbert Voss <voss@perce.de>
4011 * InsetgraphicsParams.C (read): fix bug with WH
4013 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4015 * insetfloat.C (latex): More sensible latex output
4016 (fix the problem with endfloat).
4018 2002-05-02 José Matos <jamatos@fep.up.pt>
4020 * insetgraphics.C (validate): acess params as everyone else.
4022 2002-05-03 Juergen Vigna <jug@sad.it>
4024 * insettabular.C (fitInsetCursor): recalculate the cursor position
4027 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4029 * InsetgraphicsParams.[Ch]: whitespace.
4031 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4033 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4034 float type do not exist.
4036 2002-04-28 Herbert Voss <voss@perce.de>
4038 * insetgraphics.C (latex): fix bug with missing file-extension.
4039 LaTeX still allows a missing "eps" or "ps".
4041 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4043 * insetfloat.C (c-tor, wide): translate the name of the float.
4045 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4047 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4048 when using natbib and make it work efficiently. Must emphasise that the
4049 real work is Herbert's.
4051 2002-04-23 Herbert Voss <voss@perce.de>
4053 * insetgraphic.C (prepareFile): fix bug with overwriting and
4054 deleting an existing *.eps-file in the doc-dir
4056 2002-04-23 Juergen Vigna <jug@sad.it>
4058 * insettabular.C (drawCellSelection): fix off by 1 error.
4060 2002-04-22 Juergen Vigna <jug@sad.it>
4062 * insettabular.C (setFont): rewoke full selection if it was asked,
4063 after we changed all we had to change.
4065 * insettext.C (insetUnlock): code was uninitialized in some situations.
4067 2002-04-19 Herbert Voss <voss@perce.de>
4069 * insetgraphic.C (prepareFile): return filename without
4070 extension if we only export without compiling
4072 2002-04-19 Juergen Vigna <jug@sad.it>
4074 * insettext.C (draw): call a fullRebreak on the row where we had a
4075 change and reset the cursor and selection-cursors.
4077 * insettabular.C (insetUnlock):
4078 (insetButtonPress): call an update before setting the_locking_inset = 0
4079 as otherwise we don't repaint!
4080 (update): reset the cursor position when we changed dimensions as
4081 otherwise our cursor may be on the wrong spot.
4083 2002-04-18 Juergen Vigna <jug@sad.it>
4085 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4086 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4087 redraw otherwise we won't redraw.
4089 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4090 not really right before, but I only discovered this with the last
4091 changes to Page up/down.
4093 2002-04-17 Juergen Vigna <jug@sad.it>
4095 * insettext.C (checkAndActivateInset): simplified as we now have the
4096 edit(bv, bool) call.
4098 * insettext.h: changed behind variables to front variables to be
4099 equal to the one in the edit call (as it is for that they are used).
4101 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4103 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4104 not output anything at all!
4106 2002-04-16 Juergen Vigna <jug@sad.it>
4108 * insettabular.C (insetButtonPress):
4109 (insetUnlock): call a redraw on unlocking the cell inset.
4111 * insettext.C (insetButtonPress): same as below.
4112 (lockInset): new function to set initial values when inset should
4114 (insetButtonPress): use above function.
4115 (insetUnlock): don't force a repaint only set the updateStatus. The
4116 outside world should repaint if it thinks it should be done!
4118 * insettabular.C (insetButtonPress): init values if not set as locked
4119 as we are locked if someone presses on us and don't call the edit()
4120 call of the InsetText to lock it do it as BufferView does it!
4122 * inset.h (insetInInsetY): make func const and return an int.
4125 * insetcollapsable.C: adapt the above changed function.
4127 2002-04-15 Juergen Vigna <jug@sad.it>
4129 * insettext.C (getCursorPos): return relative position as to be able
4130 to give them directly to the edit() call.
4131 (edit): we have to set also x_fix as it is not set inside the
4132 setCursorFromCoordinates call!
4133 (insetMotionNotify): ditto.
4135 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4137 * insetbib.C (getKeys): strip leading '\t's from the line too.
4138 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4140 2002-04-12 Juergen Vigna <jug@sad.it>
4142 * insettext.h: added cix() helper function and use it where appropriate
4144 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4146 * insetgraphics.C (prepareFile): fix bug when graphics is a
4149 2002-04-12 Juergen Vigna <jug@sad.it>
4151 * insettext.C (insertInset): remove unneeded code!
4152 (updateLocal): fitCursor() fixes.
4153 (collapseParagraphs): fix a possible problem when having a selection
4154 and collapsing the paragraphs.
4156 2002-04-08 Herbert Voss <voss@perce.de>
4158 * insetgraphic.C (write): write the rotating angle as
4159 a float as is. test only for != 0.0
4161 2002-04-11 Juergen Vigna <jug@sad.it>
4163 * insettext.C: new function ciy() and use it for setting inset_y.
4165 * insetert.C (draw): fix the x return for collapsed version.
4167 2002-04-07 Herbert Voss <voss@perce.de>
4169 * insetgraphic.C (readFigInset): fix bug with subcaption and
4172 2002-04-08 Herbert Voss <voss@lyx.org>
4174 * insetgraphicsparam.C: forgot special option and delete old
4177 2002-04-05 Juergen Vigna <jug@sad.it>
4179 * insettext.C (localDispatch): make a CURSOR update if we inserted
4182 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4184 * insetfloatlist.C (getScreenLabel):
4185 (latex): use Floating::listName
4186 (validate): new method
4188 2002-04-03 José Matos <jamatos@fep.up.pt>
4190 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4192 * insetfoot.[Ch] (docbook): added forgotten method.
4194 2002-04-03 Juergen Vigna <jug@sad.it>
4196 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4197 way as in Bufferview_pimpl.
4199 2002-04-03 Allan Rae <rae@lyx.org>
4201 * insetgraphics.C (latex): one % too many makes living on the bleeding
4202 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4204 2002-03-28 Herbert Voss <voss@lyx.org>
4206 * insetgraphic.C (latex): simplify the code for the latex
4207 output when the file doesn't exist
4209 2002-03-29 Juergen Vigna <jug@sad.it>
4211 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4214 * insettabular.C (edit): call fitCursor().
4216 * insettext.C (insetButtonPress): change behaviour of no_selection
4217 to the one in the BufferView selection_possible and fix the spurious
4218 selection bug with it.
4219 (localDispatch): revoke selection on BREAK... functions.
4221 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4223 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4225 2002-03-28 Juergen Vigna <jug@sad.it>
4227 * insettabular.C (insetAllowed): return true as default value otherwise
4228 we're not able to insert insets inside paragraphs of an not locked
4231 2002-03-27 Herbert Voss <voss@lyx.org>
4233 * insetgraphicsparam.C: change c%, p% to col%, page%
4235 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4237 * insetspecialchar.C (isLineSeparator): disable the nice code to
4238 allow linebreaks after hyphenation and menu separators.
4240 2002-03-26 Herbert Voss <voss@lyx.org>
4242 * insetgraphics.C (figinsetRead): set the right lyxview
4244 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4246 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4247 $\backslash$ and pass a "string const &" to the function.
4248 (prepareFile, latex): use Path rather than MakeAbsPath.
4250 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4252 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4253 proper fix to the graphics cache.
4254 (latex): "really" nice output if the file is not found ;-)
4256 2002-03-26 Juergen Vigna <jug@sad.it>
4258 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4259 (collapseParagraphs): fixed inserting of separator ' '
4261 * insettabular.C (insertAsciiString): only check for buffer lenght
4262 not if we have \t or \n inside the buffer as if we don't have we only
4263 have 1 cell and that's it!
4265 * insetert.C (close): don't collapse if inlined.
4267 2002-03-25 Herbert Voss <voss@lyx.org>
4269 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4270 graphics file does not exist.
4272 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4274 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4275 path when preparing export.
4277 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4278 no longer MakeRelPath.
4280 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4282 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4283 Used to determine the absolute path to the graphics file in the
4284 graphics cache and only in the graphics cache.
4285 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4286 make graphics file name absolute if it is stored as a relative path.
4288 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4289 make graphics file name absolute if it is stored as a relative path.
4291 * insettext.C (edit): emit an updateParagraph signal on entering a text
4292 inset. Needs to be emitted when leaving the inset also.
4294 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4296 * all files: ws cleanup
4298 * Makefile.am: remove ld -r stuff
4300 2002-03-21 Juergen Vigna <jug@sad.it>
4302 * insettext.C (appendParagraphs): new function added to append
4303 the paragraphs to this insets paragraphs.
4305 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4307 * Makefile.am: special rules if partial linking
4309 2002-03-19 Juergen Vigna <jug@sad.it>
4311 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4313 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4315 * insetgraphics.C: Clean up Baruch's comments a little.
4316 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4318 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4321 * insettheorem.C: wrap warnings
4323 * insetgraphics.C: improve messages, move cached_status_
4324 setting to safer place
4326 2002-03-18 Juergen Vigna <jug@sad.it>
4328 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4330 (localDispatch): ditto
4332 * insettext.C (edit): removed unneeded showCursor calls.
4333 (localDispatch): ditto.
4335 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4337 * insetgraphics.h: remove display() method.
4339 2002-03-11 Juergen Vigna <jug@sad.it>
4341 * insetgraphics.C (draw): hack to fix the redrawing bug.
4342 (draw): seems this fixes #268 (force redraw of row if we changed).
4344 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4345 this inset text (don't know why I missed this earlier).
4347 2002-03-08 Juergen Vigna <jug@sad.it>
4349 * insettabular.C (updateLocal): do a FULL update if we're not locked
4350 and only a CELL update is asked.
4352 * insettext.C (updateInsetInInset): update insets inside inset also
4353 if it isn't inside the_locking_inset.
4355 * insettabular.C (updateInsetInInset): ditto.
4357 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4359 * insetexternal.C (doSubstitution): check whether we are using a
4360 temp dir for defining $$FPath
4362 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4365 * insettext.C: remove #include "WorkArea.h".
4367 2002-03-06 Juergen Vigna <jug@sad.it>
4369 * insettext.C (draw): fixed frame redrawing.
4370 (clear): forgot to set the inset_owner of the paragraph.
4372 * insetert.C (status): pay attention the bv can be 0 here!
4373 (getMaxWidth): add the default leftMargin
4375 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4377 * insetert.C (getMaxWidth): make w unsigned int.
4379 2002-03-05 Juergen Vigna <jug@sad.it>
4381 * insetert.C (status): change behaviour of Inlined.
4382 (getMaxWidth): added for new inlined behaviour.
4384 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4386 * insetnote.h (linuxdoc, docbook): add empty methods.
4387 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4388 before being initialized.
4390 2002-03-05 Juergen Vigna <jug@sad.it>
4392 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4393 only that one in the inset. Should be enough.
4394 (updateLocal): set the selection cursor always if we don't have a
4395 selection to be sure it's set!
4397 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4399 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4401 * insettext.C (clear): a gross hack to set layout on a newly
4404 2002-03-04 Juergen Vigna <jug@sad.it>
4406 * insettabular.C (localDispatch): inserted handling of
4407 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4408 (insertAsciiString): new helper function.
4410 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4412 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4415 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4417 * insettext.C (InsetText): initalize newly created par with
4418 default layout. add bufferparams parameter
4421 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4422 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4423 * insetert.[Ch] (InsetERT): ditto
4424 * insetfloat.[Ch] (InsetFloat): ditto
4425 * insetfoot.[Ch] (InsetFoot): ditto
4426 * insetfootlike.[Ch] (InsetFootLike): ditto
4427 * insetmarginal.[Ch] (InsetMarginal): ditto
4428 * insetminipage.[Ch] (InsetMinipage): ditto
4429 * insetnote.[Ch] (InsetNote): ditto
4430 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4432 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4434 * insettext.C: layout as string
4436 * insetinclude.C: layout as string
4438 * insetert.C: layout as string
4440 * insetbib.C: layout as string
4442 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4445 * insettabular.C: remove #include "lyx_gui_misc.h".
4447 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4452 * inset.h: remove figinset, yahoo !
4454 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4456 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4457 copy c-tor and initialise member variables in the correct order.
4459 2002-02-28 Juergen Vigna <jug@sad.it>
4461 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4463 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4465 * inset.h: ... and add a better one here.
4467 * insetcommand.C (insetButtonRelease): remove that one which was a
4470 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4472 * insetcommand.C (insetButtonRelease): ... and move it here.
4474 * inseturl.h: remove insetButtonRelease from there...
4476 2002-02-26 Juergen Vigna <jug@sad.it>
4478 * inseturl.h: Added a insetButtonRelease call returning true as
4481 * insetlabel.C (edit): Fixed wrong update handling after change I
4482 leave in the wrong code for the one who wrote it to remove and have
4483 a look what he did wrong.
4485 * insettabular.C (localDispatch): force a SELECTION update if we
4486 had a selection and we passed the event down to the inset (fix #213)
4487 (localDispatch): handle font changing stuff when we have a cell
4488 selection so that the selection is not rewoked. I don't really like
4489 this fix, but it's the only way I see to do it right now.
4491 2002-02-22 Juergen Vigna <jug@sad.it>
4493 * insettext.C (insetUnlock): set the cursor to the second paragraph
4494 if available and if the first one is empty (fix #191).
4496 2002-02-20 Juergen Vigna <jug@sad.it>
4498 * insettext.C (getDrawFont): implemented this function to call the
4499 one of the owner if present as the owner normally knows what to do
4502 * insetert.C: implement getDrawFont() function and comment out all
4503 the crap for setting a special latex font inside this inset.
4504 (InsetERT): added a Lanugage parameter to this constructor.
4506 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4507 change the font for being drawn on screen (used only in InsetERT for
4510 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4511 and also above (was missing).
4512 (updateLocal): don't remove the cell selection if we have one this
4513 should be done where we really want to remove it.
4515 2002-02-20 José Matos <jamatos@fep.up.pt>
4517 * insetinclude.h: include_label made string const.
4519 * insetinclude.C (InsetInclude): moved include_label initialization.
4522 (validate): fix support for temporary directory, for docbook and
4525 * insetgraphics.h : new private member, graphic_label, that holds
4526 the entity name that defines the graphics location (SGML).
4528 * insetgraphics.C (unique_id): new function to give a unique label
4531 (validate): the file locatation is given by an entity reference.
4533 2002-02-18 Herbert Voss <voss@lyx.org>
4535 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4537 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4539 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4540 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4542 2002-02-18 José Matos <jamatos@fep.up.pt>
4544 * insetinclude.C (validate): some code only applies to latex buffers,
4545 it was made conditional.
4547 2002-02-12 Herbert Voss <voss@lyx.org>
4549 * insetgraphics.C: (prepareFile) do not check at this time
4550 if the file is present.
4552 2002-02-12 Herbert Voss <voss@lyx.org>
4554 * insetgraphics.C: latex(), return the correct newlines
4556 2002-02-13 José Matos <jamatos@fep.up.pt>
4558 * inseturl.C (docbook): escape & in url.
4560 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4562 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4563 after HYPHENATION and MENU_SEPARATOR
4565 * inset.h (isLineSeparator): new method, returns false by default.
4567 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4569 * insetert.C (status): do not update the text inset, but the ERT
4572 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4574 * insetnote.C: use notebg for background
4576 2002-02-08 Herbert Voss <voss@lyx.org>
4579 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4580 prevent LyX from unzipping when this should be handled
4581 by latex vis the graphic.cfg.
4584 2002-02-08 Herbert Voss <voss@lyx.org>
4586 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4587 exists, than return filename with extension
4589 2002-02-06 Herbert Voss <voss@lyx.org>
4591 * insetgraphic.C: prepareFile(): don't convert the file, when
4592 it's not viewed in LyX. Saves a lot of time when opening a
4595 2002-02-05 Herbert Voss <voss@lyx.org>
4598 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4599 and adding a rotate bool similiar to subcaption
4601 2002-02-04 Herbert Voss <voss@lyx.org>
4604 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4605 similiar view to the LaTeX one. Get zipped files work.
4607 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4609 * insetgraphicsParams.C (init): set display to DEFAULT.
4610 No longer #include "lyxrc.h".
4612 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4614 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4615 for now (so that the code compiles).
4617 2002-02-02 Herbert Voss <voss@lyx.org>
4619 * insetgraphic.C: delete inVariant() and some minor changes
4620 * insetgraphicsParams.[C]:
4622 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4624 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4625 interogate lyxrc.display_graphics before diaplaying the graphic.
4627 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4628 InsetGraphicsParams::DisplayType.
4630 2002-01-31 Herbert Voss <voss@lyx.org>
4632 * insetgraphic.C: (readfigInset) set display to pref-default
4634 2002-01-30 Herbert Voss <voss@lyx.org>
4636 * insetgraphic.C: get the filetyp from it's contents
4637 * insetgraphicparams.C: add token scale and lyxrc.display when
4638 creating a new inset
4640 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4642 * figinset.C: added using std::ios directive.
4644 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4646 * figinset.C (runqueue): open translation file in binary mode (for
4649 2002-01-27 Herbert Voss <voss@lyx.org>
4651 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4652 all options and to be sure that the old figinsets are correct
4654 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4655 structure and to support all lengths as LyXLength. The Parameter
4656 structure changed again, but reading of "old" 1.2 graphic insets
4659 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4661 * insetert.h (forceDefaultParagraphs): Added
4663 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4665 * insettabular.C (getMaxWidth):
4666 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4668 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4670 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4671 of LyXLength::inPixels
4673 * inset.C (latexTextWidth):
4674 * insetminipage.C (latexTextWidth): new method, which implements
4675 the equivalent of the LaTeX macro \textwidth
4677 * insetminipage.C (getMaxWidth): use latexTextWidth
4679 2002-01-18 Juergen Vigna <jug@sad.it>
4681 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4683 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4685 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4687 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4690 2002-01-17 Juergen Vigna <jug@sad.it>
4692 * insettabular.C (lockInsetInInset): same change as in insettext.
4694 * insettext.C (draw): width() function was called without setting
4695 the right top_x which could lead to wrong insetWidth setting!
4696 (lockInsetInInset): call edit instead of calling lockInset if we
4697 have to lock an inset inside!
4698 (edit): we have to also tell the inset that we have to redraw the
4699 frame on an edit call if this inset draws a frame only if locked.
4701 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4703 * insetbib.C (getFiles): uncomment Path variable.
4705 2002-01-16 Juergen Vigna <jug@sad.it>
4707 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4710 2002-01-16 Allan Rae <rae@lyx.org>
4712 * insetinclude.C (docbook): someone forgot a ";"
4714 2002-01-16 José Matos <jamatos@fep.up.pt>
4716 * figinset.C (docbook): removed a old place holder "@".
4717 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4718 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4719 ascii text version, clearly guarded inside a CDATA section.
4720 (docbook): in docbook 4, inlinegraphics is empty.
4721 * insettabular.C (linuxdoc): export the ascii version of the table
4722 inside a CDATA section.
4724 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4726 * insetparent.C (InsetParent):
4727 * insetgraphicsParams.C (Write):
4729 * insetgraphics.C (prepareFile):
4732 * insetexternal.C (executeCommand):
4733 (doSubstitution): use Buffer::filePath
4735 * insetbib.C (getFiles): add a #warning for Angus
4737 * insetgraphics.C: Add a remark about how filenames should be
4738 considered to be relative to buffer (but absolute is still allowed)
4739 (draw): do not try to get status if lyxrc.use_gui is false
4741 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4744 * insetcollapsable.[Ch]:
4745 * insettabular.[Ch] (searchForward, searchBackward): change the
4746 bool const & params to bool.
4748 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4749 to avoid the name clash with InsetCollapsable's methods of the same
4750 names but different functionality.
4752 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4754 * insettext.C (ascii): use lyx::count rather than countChar.
4756 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4758 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4760 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4762 * insetgraphics.C (updateInset): do not try to render image if
4763 lyxrc.use_gui is false (bug #104)
4765 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4766 if file does not exist
4768 * figinset.C (browseFile): add shortcuts to directory buttons
4770 * insettext.C (updateLocal): update menubar and toolbar here too.
4772 2002-01-13 Allan Rae <rae@lyx.org>
4774 * insettabular.C (InsetTabular): Both constructors now initialise
4775 all class variables.
4777 2002-01-11 Juergen Vigna <jug@sad.it>
4779 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4781 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4783 * insettabular.C (getStatus): add forgotten brace around multiline
4786 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4788 * insetfloat.C (validate): require "float" instead of "floats".
4790 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4792 * insettabular.C (getStatus): use FuncStatus
4794 2002-01-08 Juergen Vigna <jug@sad.it>
4796 * insettabular.C (insetButtonRelease): now this should work too
4799 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4800 if the width is a percentage.
4802 * inset.h: added isChar() function and implemented this for
4803 insetspecialchar insetquotes and insetlatexaccent.
4804 added forceDefaultParagraphs() and implemented it for insettabular.
4806 2002-01-07 Juergen Vigna <jug@sad.it>
4808 * insettext.C (getLyXText): Fixed this function. An insert into the
4809 map is only done if we REALLY have a new BufferView.
4811 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4813 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4815 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4817 * insetinclude.C: fix use of FileInfo
4819 2002-01-07 Juergen Vigna <jug@sad.it>
4821 * insettabular.C (draw): fixed clearing of cell around inset.
4823 2002-01-05 Juergen Vigna <jug@sad.it>
4825 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4826 variables are updated.
4828 * insettabular.C (resetPos): set always the inset_y as it may be
4829 needed in another function.
4830 (searchBackward): don't draw while searching.
4832 2002-01-04 Juergen Vigna <jug@sad.it>
4834 * insettext.C (lockInsetInInset): forgot to set a cursor.
4836 2002-01-02 Juergen Vigna <jug@sad.it>
4838 * insettext.C (insertInset): make the correct undo informations on
4839 inserting new insets.
4841 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4843 * insettabular.C: correct single-cell select vertically
4845 2001-12-27 Juergen Vigna <jug@sad.it>
4847 * insettabular.C (ascii): export as tab-separated-values if the
4848 function was not called from export (f.ex.: clipboard).
4850 * insetcollapsable.h: added default support for ascii, linuxdoc and
4851 docbook export (the insettext is exported by default!)
4853 * insettabular.C (copySelection): suff the clipboard with the tabular
4854 data in a tab separated format, seems more naturals then with all the
4857 2001-12-24 Juergen Vigna <jug@sad.it>
4859 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4860 to check for REAL mouseMotion.
4862 2001-12-20 Juergen Vigna <jug@sad.it>
4864 * inset.C (cursor): return the owners cursor if available instead of
4865 always only the bv->text->cursor.
4867 * insettabular.C (checkLongtableSpecial): works now.
4869 2001-12-19 Juergen Vigna <jug@sad.it>
4871 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4872 this has to be always row + 1 as 0 means not selected!
4873 (checkLongtableSpecial): added
4874 (tabularFeatures): better longtable options support
4876 * insettext.C (resizeLyXText): reinit the text always also on a
4879 2001-12-18 Juergen Vigna <jug@sad.it>
4881 * insettext.C (updateInsetInInset): look if we have to autocollapse
4882 paragraps and return if the update is requested for ourself.
4884 * insetert.C (status): update the insettext not myself as that is what
4887 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4888 function only return if the update was requested with myself.
4890 * insettext.C (insetButtonPress): fixed stupid bug.
4891 (various functions): pay attention that lt is cleared BEFORE calling
4892 updateLocal() and try to use it in the right manner (don't use it
4893 if it's not really neccessary!)
4894 (collapseParagraphs): insert a blank between collapsing paragraphs
4895 if neccessary (not already there!).
4897 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4899 * insettabular.C: move includes around a bit, add a couple of
4902 * insettext.[Ch]: move includes around a bit, other ws changes and
4905 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4907 * insettext.C (insetButtonRelease): fix compile problem
4909 2001-12-17 Juergen Vigna <jug@sad.it>
4911 * insettext.C (insetButtonPress): set the selection cursor!
4912 (insetButtonPress): clear the selection (and set with that the
4913 selection.cursor) if we only hit an inset!
4915 * insetert.C (read): removed piece of compatibility code only needed
4918 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4921 * insetcollapsable.C (insetButtonRelease): changed so that it can
4922 open eventual existing popup dialogs on mousebutton==3.
4924 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4926 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4928 * inset.C (insetButtonRelease): return a bool for telling the outer
4929 world that we opened a dialog.
4931 2001-12-07 Juergen Vigna <jug@sad.it>
4933 * insettext.C (paragraph): remove the deleteing of paragraphs as
4934 it was a WRONG move!
4936 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4939 * insettabular.C: use new setSelection(). Allow
4940 selection of single cells.
4942 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4944 * insetquotes.C (latex): fix to use the local language setting at
4945 the point where the inset is inserted (different macros for
4946 different french packages)
4948 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4950 * inset.h: add par_owner_ member variable and parOwner
4953 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4955 * insettabular.C (everywhere): adapt because widths are now real
4956 widths and not strings
4958 * insettext.C (draw): re-introduce the calls to width(), ascent()
4959 and descent() to initialize the caching variables.
4961 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4963 * insettext.C (draw):
4964 (drawFrame): use insetWidth instead of last_width
4966 * insettext.h: remove variable last_width (insetWidth is exactly
4967 the same) and last_height (computed but never used!)
4969 2001-12-10 Allan Rae <rae@lyx.org>
4971 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4973 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4975 * insettext.C (insetAllowed): add comment
4977 2001-12-05 Juergen Vigna <jug@sad.it>
4979 * insettext.C (insetAllowed): fixed for the case that we directly
4980 ask the insettext from its LyXText.
4981 (paragraph): fixed the crash when assigning the par->next() from
4982 the EmptyParagraphMechanism!
4984 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4988 * insettext.C: change "while(" to "while ("
4990 2001-12-04 Juergen Vigna <jug@sad.it>
4992 * insetert.C (edit): handle Inlined status.
4994 * insettext.C (insertInset): trying John's fix for the trailing cursor
4996 * insetert.C (insetButtonPress): added to handle inlined status
4997 (insetMotionNotify): ditto.
4999 * insettext.C (clearInset): changed Painter & in BufferView * param,
5000 to be able to call ascent,descent methods.
5002 2001-12-03 Juergen Vigna <jug@sad.it>
5004 * insettext.C (updateInsetInInset): use lt variable to forbid
5005 changes of LyXText in an update call.
5006 (updateInsetInInset): fixed updating of non locked insets!
5008 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5010 * insettabular.C: capture some more functions to prevent
5011 selection drawing problems. Bug #451274
5013 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5016 * insetgraphicsParams.C: fix inverted sense of float_equal
5018 2001-11-30 Juergen Vigna <jug@sad.it>
5020 * insettabular.C (InsetTabular): use the save_id flag to create also
5021 the tabular with the same id's.
5023 * insettext.C (setParagraphData): added a same_id function for undo
5024 to set the same paragraph id's as of the paragraph we are setting.
5026 2001-11-30 José Matos <jamatos@fep.up.pt>
5029 * insettoc.[Ch]: DocBook -> docbook.
5031 2001-11-29 André Pönitz <poenitz@gmx.net>
5034 * insettext.C: further reduction of header dependencies by using
5035 lyx::layout_type and lyx::textclass_type from support/types.h
5037 2001-11-29 Juergen Vigna <jug@sad.it>
5039 * insettext.C: inserted a reinitLyXText function everywhere I delete
5040 the paragraphs! This should fixe the crashes we had.
5041 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5042 (paragraph): set the InsetOwner() of the new paragraphs!
5044 2001-11-28 André Pönitz <poenitz@gmx.net>
5046 * insetnote.C: add pos initialization that I removed without
5049 2001-11-28 Juergen Vigna <jug@sad.it>
5051 * insettabular.C (resetPos): hack to not crash with infinite paints.
5053 * insettabular.h: insert missing function allowSpellcheck()!
5055 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5057 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5060 * insetfloatlist.C: derive from InsetCommand so gui can use it
5063 2001-11-26 André Pönitz <poenitz@gmx.net>
5067 * insetnote.C: reduce header dependencies, introduce type for
5070 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5072 * various: update for Alert.h
5074 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5076 * inset.h: fix comment
5078 * insettext.C: use par->isInset()
5080 2001-11-22 Allan Rae <rae@lyx.org>
5082 * insetcollapsable.h:
5083 * inset.h: Changes to checkInsertChar() behaviour.
5084 Now return value indicates whether chars can be inserted.
5086 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5088 * various: updated to use the new LaTeXFeatures
5090 2001-11-14 José Matos <jamatos@fep.up.pt>
5092 * insetspecialchar.C (linuxdoc):
5093 (docbook): don't give a name to a unused variable.
5095 * insettext.C (docbook): removed unused variable.
5097 2001-11-13 Herbert Voss <voss@perce.de>
5099 * insetgraphic.C: fix scale bug
5101 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5103 * inset.h (isSpace):
5104 (isLetter): new virtual methods.
5106 * insetspecialchar.C (isSpace):
5107 (isLetter): implement here.
5109 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5111 * inset.h: new inline helpers
5113 * insettext.C: use new helpers
5115 2001-11-07 José Matos <jamatos@fep.up.pt>
5117 * insettext.C (docbook): full support for paragraphs inside insettext.
5119 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5121 * insetindex.C: added header file for std::ostream.
5123 2001-11-03 José Matos <jamatos@fep.up.pt>
5125 * insetindex.C: added using std::ostream that I forgot yesterday.
5127 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5129 * insetindex.h (docbook):
5130 * insetindex.C (docbook): added support for docbook export.
5132 2001-11-02 José Matos <jamatos@fep.up.pt>
5134 * insetcaption.C(docbook): added support for docbook export.
5136 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5138 * insetexternal.C (updateExternal): Do not run update command if
5139 result file exists and is up to date.
5141 * ExternalTemplate.C (readFormat): Support the updateresult token.
5143 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5145 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5146 external_templates) to use the buffer->fileName() but only if
5147 previewing. Generating a TeX file should make FPath return
5150 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5153 * insetert.C: fix some problems
5155 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5157 * insetexternal.C (doSubstitution): Added $$FPath token
5158 to list of usable substitutions in external inset templates.
5160 2001-10-24 Juergen Vigna <jug@sad.it>
5162 * insettabular.C: use new ltType struct for setting longtable
5163 header and footers also new UNSET enums.
5165 2001-10-24 José Matos <jamatos@fep.up.pt>
5167 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5168 (docbook): If the table is not inside a float then wrap it inside
5169 <informaltable>...</informaltable>.
5171 2001-10-23 José Matos <jamatos@fep.up.pt>
5173 * insetref.C (docbook): removed / terminator to conform SGML.
5175 * insetspecialchar.C (linuxdoc):
5176 (docbook): Added support for special chars, more than ascii export.
5178 2001-10-22 Juergen Vigna <jug@sad.it>
5180 * insettext.C (checkInsertChar): added for REALLY checking the
5181 font of the inserted char in the right inset!
5183 2001-10-19 Juergen Vigna <jug@sad.it>
5185 * inset.h: added method allowSpellcheck() so that insets who do
5186 not have anything to spellcheck can tell and so they are over-jumped.
5187 Implemented for InsetText and co.
5189 2001-10-18 Juergen Vigna <jug@sad.it>
5191 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5193 2001-10-15 José Matos <jamatos@fep.up.pt>
5195 * insetert.C: allow export for docbook and linuxdoc
5197 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5199 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5201 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5203 * insetquotes.C (dispString): fix handling of latin9 quotes
5205 2001-10-03 Juergen Vigna <jug@sad.it>
5209 * insetcollapsable.C: change updateInset calls to not tell BV that
5210 we have changed status.
5212 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5214 * insettabular.C (deletable): make const
5216 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5218 * insetert.C (latex): Fix the returned value
5220 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5222 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5223 Returns string(), so nothing in an ERT inset is spellchecked.
5225 * insetgraphics.C (draw): print the filename if not displaying the
5227 (width): make sure that the width and draw methods are consistent.
5228 (updateInset): don't even load the image into cache if not displaying
5231 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5233 * various files (selectNextWord): renamed as
5234 selectNextWordToSpellcheck.
5236 * insetgraphics.C (draw): remove the previous change. Right place
5237 is in imageLoaderXPM.C.
5238 (draw): don't display the image if params.display == NONE.
5240 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5242 * figinset.C (runqueue):
5243 * insetgraphics.C (draw): set background colour of inset from
5244 background to the user-configurable graphicsbg.
5246 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5248 * insetquotes.C (InsetQuotes): when trying to decide the side of
5249 the quote, choose `left' only after a space or '('
5251 2001-09-04 José Matos <jamatos@fep.up.pt>
5256 * insetcollapsable.h
5274 * insetlatexaccent.C
5275 * insetlatexaccent.h
5280 * insetspecialchar.C
5281 * insetspecialchar.h
5285 * insettext.C (docbook): rename docBook method to docbook.
5287 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5289 * inset.h (getFirstParagraph): New virtual method.
5291 2001-08-20 Herbert Voss <voss@perce.de>
5292 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5293 in the the bibtex-database-gui for inserting a line
5296 If no style is given than there is no tex-output.
5298 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5300 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5304 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5306 * insetert.C (latex): Fix output for multiple paragraphs.
5307 (write): New code for writing paragraph data.
5308 (read): Set font after reading the inset.
5309 (localDispatch): Call set_latex_font() for more cases.
5311 * insetnote.h: Add empty validate method.
5314 * insetnote.C (InsetNote): Set language to the language of the
5317 2001-08-16 Juergen Vigna <jug@sad.it>
5319 * insettext.C: implemented the new FINISHED states.
5321 * insettabular.C: ditto
5323 * inset.h: added more FINISHED states for cursor right,up,down
5325 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5327 * insetfloatlist.C: use "FloatName List"
5329 2001-08-14 Juergen Vigna <jug@sad.it>
5331 * insetert.C (edit): forgot to set status_ in edit calls!
5333 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5335 * insettext.C: Compilation fix
5337 2001-08-13 Juergen Vigna <jug@sad.it>
5339 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5341 * insetcollapsable.C (edit): don't recollapse an already open inset.
5343 * insettext.C: fixed problem when reinitializing LyXText by not doing
5344 it while lt is in use and post this to the next possible time in
5346 (searchForward): fixed not unlocking of inset if nothing found.
5347 (edit): set cursor behind right (was set -1 pos).
5349 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5351 * insettabular.C (tabularFeatures): fixed fix where deleting the
5352 last row didn't get the right actcell!
5354 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5356 * insettext.C (localDispatch): Change language only when the inset
5359 2001-08-10 Juergen Vigna <jug@sad.it>
5361 * insettabular.C (selectNextWordInt): use the front using edit call.
5363 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5364 the parameter overwrite class variable inset.
5366 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5368 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5369 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5371 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5372 update only for fixed with cells.
5373 (resetPos): try to fix the lockup on spellchecking or s&r.
5375 * insettext.C (update): comment this out as it seems first wrong
5376 and second not needed anymore!
5377 (some functions): call reinitLyXText() only in update() in all other
5378 positions set only need_update = INIT.
5380 2001-08-08 Juergen Vigna <jug@sad.it>
5382 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5384 * insettext.C (insetUnlock): remove double-space on inset unlock.
5386 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5388 * insettabular.C (update): fixed cursor positon after an insert.
5389 (insetAllowed): do not allow to insert insets when not inside the
5391 (draw): clear below an inset too as it could have changed height.
5393 * inset.C (getMaxWidth): fixed width for inset in inset.
5395 * insettext.C (update): small fix.
5397 * insettabular.C (tabularFeatures): added selection support to
5398 DELETE_ROW/DELETE_COLUMN.
5400 2001-08-07 Juergen Vigna <jug@sad.it>
5402 * inset.C (getMaxWidth): recoded and all it's implementations!
5404 * insettext.C (init,setParagraph+constructors): cleanups
5405 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5406 are new and I want do a save/restore of the cursor position which is
5407 not possible anymore.
5409 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5410 (searchBackward): ditto
5411 (selectNextWord): ditto
5413 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5415 * insetlatexaccent.C (checkContents): Add some debug messages
5417 2001-08-07 Juergen Vigna <jug@sad.it>
5419 * insetert.C (read): don't use InsetCollapsable::read as we don't
5420 write the collapsed status anymore only the status.
5423 2001-08-06 Juergen Vigna <jug@sad.it>
5425 * insetert.C (set_latex_font): use LyXText's setFont directly.
5427 * insettext.C (drawFrame): fixed one time more the right position
5428 and size of the frame!
5430 * insetert.C (~InsetERT): hide the dialog.
5431 (showInsetDialog): added implementation
5434 (status): new function for the status of the ERT inset (3-state).
5435 (write): output also the status of the inset for readback!
5436 (read): readback the status if available otherwise use collapsed_.
5438 * insettext.C (edit): small fix of setting the position, which could
5441 * insetert.C (width): implement this function for inlined viewing.
5442 Added minimum width of 10 pixels!
5444 * insetminipage.C (InsetMinipage): just change the colors a bit so
5445 that border/background is a bit more visible. We will remove this
5448 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5449 function for getting the important widths for drawing in various
5450 functions and in LyXText.
5451 (draw): fixed up a bit (frame drawing/clearing)
5453 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5455 * inset.C (convertFont): delete method. not used.
5457 2001-08-03 Juergen Vigna <jug@sad.it>
5459 * insettext.C (setFont): don't call for a draw update if we're just
5460 changing the cursor font!
5462 2001-08-02 Juergen Vigna <jug@sad.it>
5464 * insettext.C (draw): clear the background with the right color if
5465 needed. Update myself if x&max-width changed and return without doing
5466 anything. Let the update code handle the right stuff.
5468 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5469 inside another inset.
5471 2001-08-01 Juergen Vigna <jug@sad.it>
5473 * insetcollapsable.C (update): added an in_update bool so we avoid
5476 * insettabular.C (update): added an in_update bool so we avoid
5479 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5481 (update): added an in_update bool so we avoid reentering.
5483 * insettabular.C (localDispatch): clear col/row selection when doing
5484 something else inside an inset.
5486 * insettext.C (getLyXText): fixed bug when requesting a recursive
5489 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5491 * insetcite.C (latex): Paranoia check. Make sure that there is no
5492 whitespace between the citation keys.
5494 2001-07-31 Juergen Vigna <jug@sad.it>
5496 * inset.h (nodraw): make the set function also const so that this
5497 can be called from inside other const functions.
5499 * insetcollapsable.h: removed inline variable and moved it over
5500 to the only user InsetERT.
5502 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5503 inset opening immediately therein lying insets dialogs!
5505 * insetert.C (localDispatch): set the font also if we don't have any
5506 chars in this paragraph, otherwise if we delete all of em and start
5507 writing we have the wrong font.
5509 (draw): implemented for inline support
5510 (insetButtonRelease): ditto.
5512 2001-07-30 Juergen Vigna <jug@sad.it>
5514 * insettext.C (reinitLyXText): new function to reinit the insets
5515 text after lot's of paragraph changes. Use this instead of the
5516 cache.clear() which is VERY dangerous.
5518 * insetfloat.C (insetButtonRelease): we should only show the dialog
5519 if we press on the label otherwise we have problems to open mouse
5520 button 3 dialogs inside this float (f.ex. of a tabular!)
5522 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5524 * insetert.C: change back to "ERT"
5526 * insetfloat.C: handliign of RMB on label added.
5528 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5530 * insetgraphicsParams.C: #include LOstream.h here.
5532 * insetfoot.h: remove InsetFoot:: qualifier.
5534 2001-07-29 Baruch Even <baruch@lyx.org>
5536 * ChangeLog: Hiding time travel evidence.
5538 * insetgraphicsParams.h:
5539 * insetgraphicsParams.C:
5540 * insetgraphics.C: Added horizontal scale option, it actually scales both
5541 directions since it keeps image proportions.
5543 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5545 2001-07-29 Baruch Even <baruch@lyx.org>
5547 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5548 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5550 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5552 2001-07-29 Baruch Even <baruch@lyx.org>
5554 * insetgraphics.C: Added EPSI to be an alias of EPS.
5556 2001-07-29 Baruch Even <baruch@lyx.org>
5558 * insetgraphics.C: Change GRAPHICS to Graphics.
5559 Changed image conversion rules (documented at the beginning of file).
5561 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5563 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5566 * insetgraphics.C: added a using std::endl directive.
5568 * insetcommand.h (getScreenLabel): removed pure virtual function,
5569 as it duplicates that in InsetButton.
5571 * insetbib.[Ch] (getScreenLabel):
5572 * insetbutton.[Ch] (getScreenLabel):
5573 * insetcite.[Ch] (getScreenLabel):
5574 * insetert.[Ch] (getScreenLabel):
5575 * insetexternal.[Ch] (getScreenLabel):
5576 * insetfloatlist.[Ch] (getScreenLabel):
5577 * insetinclude.[Ch] (getScreenLabel):
5578 * insetindex.[Ch] (getScreenLabel):
5579 * insetlabel.h (getScreenLabel):
5580 * insetparent.[Ch] (getScreenLabel):
5581 * insetref.[Ch] (getScreenLabel):
5582 * insettoc.[Ch] (getScreenLabel):
5583 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5585 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5587 (validate): remove check on "cite" when using natbib.
5589 2001-07-26 Baruch Even <baruch@lyx.org>
5591 * insetgraphics.C (draw): changed casting to be in one place rather than
5592 all over the function.
5595 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5597 * insetgraphicsParams.h:
5598 * insetgraphicsParams.C:
5599 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5601 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5603 * insetfoot.C (validate): Added method to ensure that the
5604 right bit of LaTeX is emitted.
5606 * insetfoot.h: Added validate method to set the correct
5607 LaTeXFeatures bit for the special footnote code.
5609 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5611 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5614 2001-07-27 Juergen Vigna <jug@sad.it>
5616 * inset.h: remove not used font variable in parameter.
5617 removed checkInsertChar in UpdatableInset as it was equal to
5618 the one in Inset and so not needed.
5620 * insetert.C (checkInsertChar): implementation of function
5623 * inset.h: added new function checkInsertChar.
5625 * various files: added c-tor and clone() function.
5627 * insetcollapsable.h: removed clone function here as this should
5628 be only realized in REAL insets and added it to all collapsable
5629 insets! (with the copy-constructor).
5631 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5633 * insetminipage.C (read): handle missing parameters more gracefully
5635 * insetcollapsable.C (read): handel missing collapsed more gracefully
5637 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5639 * insetfloat.C (read): handle missing parameters.
5641 * insettext.C (read): handle old latex end_inset
5643 * insetert.C (setButtonLabel): new method
5644 (init): use it, to set the dynamic label correctly
5647 * Makefile.am (EXTRA_DIST): add files that is not part or the
5650 * insetcollapsable.h: remove autocollapsable (no users), remove
5651 draw_label, change_label_with_text and companion code. Remove args
5653 * insetert.[Ch]: move here instead (only user)
5655 * inset.h: rename private variable name to name_, make
5656 selectNextWord return a const string. make getInsetName return a
5657 string const &. Remove bool from open, add close.
5659 * Makefile.am: don't compile insetlist, insetsection
5662 2001-07-24 Juergen Vigna <jug@sad.it>
5664 * insetert.C (InsetERT): put init after the paragraph initialization,
5665 as otherwise we don't set the draw_label right.
5667 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5668 insets with the mouse without having strange selections.
5669 (edit): if the inset was collapsed and we open it here then put the
5670 cursor always at the beginning of the inset.
5671 (get_new_label): 15 instead of 10 max chars in the label.
5673 * insetert.C (localDispatch): added and handle various stuff we
5674 need to handle here (font setting on paragraph break, not permitted
5675 layout setting, etc.).
5677 * inset.h: added default copy-consturctor and implemented this in
5678 various insets with the change to use this in the clone function!
5680 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5682 * insetminipage.C (InsetMinipage): set background color to red :)
5684 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5686 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5687 draw frame mode is LOCKED.
5689 * insetcollapsable.C (edit):
5690 (insetButtonRelease): set update status to full when
5693 * insettext.C (clearInset):
5694 * insettabular.C (draw):
5695 * insetlatexaccent.C (draw): honor background color.
5697 * inset.h: new member background_color_, initialized to
5700 * inset.C (backgroundColor): new method.
5701 (setBackgroundColor): new method.
5703 * insetert.C (init): new method, called by the ctors.
5704 (InsetERT): when inserting contents, make sure the font is
5707 * insetnote.C (InsetNote): when inserting content, remove trailing
5709 (init): set background color to LColor::note
5711 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5713 * insetcollapsable.C: adjust
5715 * insetbutton.C: adjust
5717 2001-07-23 Juergen Vigna <jug@sad.it>
5719 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5720 parameter on the _collapsed function (was not needed) and call
5721 always width_collapsed().
5723 * insetert.C (InsetERT): use setLabel with "true" flag.
5725 * insetcollapsable.C: modified various functions to set the draw_label
5726 string right in any condition.
5727 (setLabel): added a bool parameter to set change_label_with_text.
5729 * insetcollapsable.h: added draw_label string which is set to the
5730 actual drawn label-string, while label is the original static label
5731 of this collapsable inset. Added bool change_label_with_text to set
5732 if we want that the label changes to the start of the InsetText's
5733 text when collabpsed. You can set this flag with the setLabel funciton.
5734 Added bool inlined for inlined collapsable insets, but not handled
5737 * insetcollapsable.C (get_new_label): added should get a new label
5738 from the InsetText beginning (for now 10 chars).
5740 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5742 * insetquotes.C (latex): fix the handling of french double quotes
5743 when not using the french pachage.
5745 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5747 * insetcollapsable.h: make WidthCollapsed mutable.
5749 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5750 InsetPrintIndex returns INDEX_PRINT_CODE.
5752 * inset.h: add INDEX_PRINT_CODE
5754 * insetcollapsable.C (draw): init widthCollapsed if necessary
5757 * insetquotes.C (width): use the local language, not the document
5760 (dispString): add additional spacing for all french languages,
5762 (validate): make it work when there is no default language
5764 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5766 * insetnote.C (init): new method, called by the constructors
5767 (InsetNote): new constructor with contents passed as a string
5769 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5771 * insetfootlike.C (insetAllowed): disallow float in footlike.
5773 * insetert.C (InsetERT): add collapsed argument to the constrctor
5776 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5778 * insetindex.h: shut off warning
5780 2001-07-20 Juergen Vigna <jug@sad.it>
5782 * insetcollapsable.C (update): recoded hopefully works now!
5784 2001-07-19 Juergen Vigna <jug@sad.it>
5786 * most files: implemented the below new introduced function.
5788 * inset.h: added new edit(BufferView *, bool front) method to be able
5789 to enter an inset from the front/back without knowing x/y positions
5790 and baselines inside the inset. So I just can tell the inset activate
5791 me and set the cursor on the front/back of yourself.
5793 2001-07-18 Juergen Vigna <jug@sad.it>
5795 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5796 is given to the InsetText.
5797 (insetButtonPress): ditto
5798 (insetButtonRelease): ditto
5799 (insetMotionNotify): ditto
5801 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5803 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5804 LIGATURE_BREAK, since the name is so stupid.
5806 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5808 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5809 the default InsetCollapsable methods. I.e., it can insert anything.
5810 (write) output the name of the inset, not some silly hack for
5811 compatability with the old InsetInfo.
5813 * insetinfo.[Ch]: removed.
5814 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5815 now collapsable, but functionality is otherwise identical to InsetInfo.
5817 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5819 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5821 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5824 * insetquotes.C: general cleanup
5825 (dispString): add spaces inside french double quotes.
5826 (latex): ditto. Moreover, treat first the case where the frenchb
5827 or french options have been given.
5829 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5831 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5834 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5836 * figinset.C (RegisterFigure): Print debug message only when
5837 current_view is available.
5839 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5841 * many files: update to match the change below
5843 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5844 implement the version which takes an inset here.
5846 * insetcollapsable.[Ch]: implement open and isOpen
5848 * inset.h: remove insertInsetAllowed from Inset
5849 (open): new method, to open or close an inset
5850 (isOpen): returns the status of an inset
5851 (isCollapsable, colapse): removed
5853 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5855 * insetquotes.C (dispString): display french guillemets when using
5858 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5860 * insetcollapsable.h: remove bogus return statements
5862 2001-07-18 Juergen Vigna <jug@sad.it>
5864 * insettabular.C (selectNextWord): fixed spellchecking for the
5865 first cell of a tabular (wasn't entered!)
5866 (getLyXText): changed to enter automatically insettext and return
5867 it's LyXText if we're locked.
5869 2001-07-17 Juergen Vigna <jug@sad.it>
5871 * various files: implemented the below functions.
5873 * inset.h: added functions
5874 - virtual string selectNextWord(BufferView *, float & value) const;
5875 - virtual void selectSelectedWord(BufferView *) { return; }
5876 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5877 needed for spellchecking correctly!
5879 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5881 * insetert.C (latex): write out all paragraphs.
5883 2001-07-17 Baruch Even <baruch@lyx.org>
5885 * insetgraphics.C (draw): Removed unneeded casts.
5887 2001-07-16 Juergen Vigna <jug@sad.it>
5889 * insettext.C (update): fixed small oversight (reset lt to 0).
5891 2001-07-14 Baruch Even <baruch@lyx.org>
5894 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5896 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5898 Consistent use of Lsstream.h:
5899 * figinset.C: removed using std::ostringstream directive.
5901 * insetgraphics.C (createLatexOptions):
5902 * insetinclude.C (unique_id):
5903 std::ostringstream -> ostringstream.
5904 * insettext.C (localDispatch): std::istringstream -> istringstream.
5906 2001-07-13 Juergen Vigna <jug@sad.it>
5908 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5910 * insetcollapsable.C (getLockingInset): ditto.
5912 2001-07-12 Juergen Vigna <jug@sad.it>
5914 * insetcollapsable.h: added implementation of new function for
5917 * various files: added implementation of new insertInsetAllowed-func
5918 and redone the function a bit more.
5920 * inset.h: added isCollapsable(), bool collapsed(),
5921 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5923 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5925 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5926 LyXText which is marked for removal while we're using it!
5928 * insettext.h: added private LyXText * lt to use it to assure we are
5929 not deleting our LyXText while we're using it!
5931 2001-07-11 Juergen Vigna <jug@sad.it>
5933 * insettext.C (insertInset): check if we are before the inset after
5934 inserting it! This check IS needed. Remove the Undo-Call as it is
5935 called in LyXText::insertInset!
5937 * insettext.h: added struct InnerCache.
5939 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5940 that we ONLY delete the LyXText in the getLyXText() routine. So we
5941 are sure we don't delete LyXText while someone is working with it!
5943 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5945 * insetexternal.C: (*it). -> it->
5946 * insettext.C: ditto
5948 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5950 * insetcollapsable.C (edit): always open collapsed insets (even if
5951 they are not autocollapsable)
5953 * insetcommand.C (operator=): simplify.
5955 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5957 * insetert.C (latex): handle META_NEWLINE
5959 2001-07-09 Juergen Vigna <jug@sad.it>
5961 * insetert.h: a normal InsetText can insert insets, but we won't.
5963 * inset.h: return default "false" on insertInsetAllowed and implement
5964 this function where a returnvalue != "false" is needed.
5966 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5968 * insetert.C (InsetERT): new contructor
5970 2001-07-06 Juergen Vigna <jug@sad.it>
5972 * a lot of files: added implementation of the below new functions
5973 and the change to clone(). Also the call of the new undo-functions
5976 * inset.h: added an inset_id, added functions getParFromID,
5977 getInsetFromID, firstParagraph, cursor and id functions, added
5978 bool same_ids to clone function.
5980 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5982 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5983 of BufferView * and shared_ptr<LyXText>
5985 2001-07-05 Juergen Vigna <jug@sad.it>
5987 * insettext.C (clear): deleted also the cache not only LyXText.
5988 (setParagraphData): ditto.
5990 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5992 * insetfloat.C (latex): let the specific placement take presedence
5993 if set, otherwise choose document placement if set, otherwise just
5994 use float default placement.
5996 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5998 * insettext.C (localDispatch): call CutAndPaste::'s static method
6001 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6003 * insetbib.C: no meed to include forms.h here.
6005 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6007 * insettext.C: added using std::make_pair directive.
6009 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6011 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6013 (deleteLyXText): ditto
6014 (resizeLyXText): ditto
6016 2001-07-02 Juergen Vigna <jug@sad.it>
6018 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6019 following calls are only returned the right pointer without the over
6020 head to search in the map.
6021 (various funcs): reset the cached_bview variable as this signs that
6022 the cache is not valid anymore.
6024 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6026 * insettabular.C (clone): do not copy the LyXTabular twice
6028 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6030 * insettext.h (TEXT): delete method
6032 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6034 * insetmarginal.C (latex):
6035 * insetfoot.C (latex): fix spacing of notes in LaTeX
6037 * insettext.C (localDispatch): use .c_str() on istringstream
6038 constructor argument.
6040 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6045 * inseturl.C: fix method names in these to begin
6046 with small char too, so they inherit
6048 2001-06-28 Juergen Vigna <jug@sad.it>
6050 * insettext.C (setFont): fixed font settings using toggleFree()
6051 instead of setFont().
6053 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6055 * Change a lot of method names to begin with a small char.
6056 Changes to a lot of files because of this.
6058 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6060 * insetfloatlist.C (Write): std:: qualify ostream
6063 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6067 * insetgraphics.C: send debug output to Debug::INFO instead of
6070 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6073 * insettabular.C (getStatus): update to use func_status
6075 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6077 * insetref.C (DocBook): added support for cross-references without
6080 2001-06-26 The LyX Project <jug@sad.it>
6085 * insetlabel.h: removed escape method and moved it to
6088 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6090 * insettabular.C (getMaxWidth): do the speedup in a different way,
6093 2001-06-24 The LyX Project <Asger>
6095 * insettabular.C (getMaxWidth): We cache a mapping from
6096 inset to cell in order to speed this method up.
6098 2001-06-24 The LyX Project <Asger>
6100 * insettext.C: Optimized InsetText::draw or something.
6102 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6104 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6106 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6108 * inset.h: name change from lyxinset.h
6110 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6112 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6114 2001-06-14 Juergen Vigna <jug@sad.it>
6116 * insettext.C (draw): removed warnings.
6118 2001-06-13 Juergen Vigna <jug@sad.it>
6120 * insettabular.C (nodraw): only go down the tree if we don't have
6121 that flag set otherwise it's obvious that we don't want to draw.
6122 (LocalDispatch): do also an update if we have an undispached result.
6124 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6127 * insetgraphicsParams.C:
6128 * insettext.C: removed // -*- C++ -*- as first line.
6130 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6132 * lyxinset.h (resizeLyXText): shut off warning about unused
6135 2001-06-07 Juergen Vigna <jug@sad.it>
6137 * insettext.C (resizeLyXText): honor the new force flag.
6139 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6141 * insettabular.C (deleteLyXText): new function
6143 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6151 * insetcollapsable.C:
6152 * insetcaption.C: LColor tidy
6154 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6156 * figinset.C: fix typo
6158 2001-06-01 Juergen Vigna <jug@sad.it>
6160 * insettabular.C (resetPos): small hack so that scroll is not set to
6161 0 when we are in the last column of a tabular. This is a problem we
6162 have because of constats 20 offset on both directions, so this can
6163 cause on the limit an endless loop.
6165 * insettext.C (SetFont): forgot that we can have locking insets ;)
6167 2001-05-31 Juergen Vigna <jug@sad.it>
6169 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6171 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6173 * figinset.C: add using std:: directive for the C functions which
6176 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6178 * insetfloat.C (Write): write out wide info
6179 (Read): read the wide info
6180 (Latex): use the wide info when creating latex.
6182 * insettext.C: adjust
6184 * insetgraphics.[Ch] (statusMessage): change to return string
6188 * figinset.C (runqueue): add std::
6191 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6193 * insetcite.C (Ascii): add std:: qualifier
6195 2001-05-28 Juergen Vigna <jug@sad.it>
6197 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6198 a endless-width inset (maxWidth < 0).
6199 (Edit): change language only if not equal.
6201 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6203 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6205 2001-05-16 Juergen Vigna <jug@sad.it>
6207 * insettext.C (selectAll): added
6208 (clearSelection): added
6210 * insettabular.C (SetFont): now we may set a font on a whole selection!
6211 (getSelection): added helper function.
6213 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6215 * insetcite.C (Ascii): Add method.
6217 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6220 * insetbib.C: fix path for OS/2 & Win32
6222 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6224 * insetfoot.C (Latex): don't use % after footnote.
6226 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6228 * insettext.C (Read): use clear
6229 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6231 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6233 * insetfloatlist.h: add a bunch of std:: qualifiers.
6235 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6237 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6238 FLOAT_LIST_CODE, renumber code list.
6240 * insettoc.C (getScreenLabel): remove support for float lists
6244 * insetfloatlist.[Ch]: new files
6246 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6248 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6250 * insettabular.C (LocalDispatch):
6251 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6254 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6256 * insettext.C: remvoe !NEW_INSETS cruft
6258 * insettabular.C: remove !NEW_INSETS cruft
6260 * insetcollapsable.h: remove !NEW_INSETS cruft
6262 * insetbib.C: remove !NEW_INSETS cruft
6264 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6266 * insettoc.C: hack to make listof algorithm work
6268 2001-04-20 Juergen Vigna <jug@sad.it>
6270 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6272 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6274 * insetquotes.C (Latex): improve the guard against
6275 unwanted !` and ?` ligatures. This should really be done in
6276 another place (to catch all this ligatures at low-level).
6278 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6280 * insettext.C (init): remvoe leftovers from cursor_visible change
6281 (draw): use c++ cast
6282 (LocalDispatch): dispatch LFUN_MESSAGE
6284 * insettabular.C (InsetTabular): remove leftovers from
6285 cursor_visible, and scoped_ptr changes
6286 (draw): use c++ cast
6288 * insetcollapsable.C (draw): use c++ cast
6290 * ExternalTemplate.h: inherit privaely from noncopyable
6291 * insetcommand.h: ditto
6292 * insetinclude.h: ditto
6294 2001-04-16 Allan Rae <rae@lyx.org>
6296 * insettoc.C (Ascii):
6297 * insettext.C (draw):
6298 * insettabular.C (setPos):
6299 * insetminipage.C (Read):
6300 * insetfloat.C (placement):
6301 * insetcaption.C (Ascii, DocBook):
6302 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6303 an unrecognised preprocessor directive. So ensure they're wrapped.
6305 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6308 * insetexternal.C: set view on Clone. Add _ to private members.
6310 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6312 * insettext.C (InsetText): fix new
6313 (InsetText): reindent some, simplify deletion of par list
6314 (clear): simplify deletion of par list, fix new
6315 (SetParagraphData): simplify deletion of par list
6317 * insettabular.[Ch] (getLabelList): implement new method
6319 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6321 * lyxinset.h: do not include gettext.h...
6329 * insetlatexaccent.C:
6333 * inseturl.C: ... and do it here instead
6335 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6337 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6339 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6341 * insetcollapsable.[Ch] (getLabelList): implement
6343 * insettext.[Ch] (getLabelList): implement
6345 * insettext.h: reindent
6347 * insettabular.h: make tabular a scoped_ptr
6349 * insettext.C (init): adjust for cursor_visible
6350 (ToggleInsetCursor): constify asc and desc, font, adjust for
6352 (ShowInsetCursor): constify asc and desc, font, adjust for
6354 (HideInsetCursor): adjust for cursor_visible
6356 * insettabular.C: reindent some
6357 (InsetTabular): adjust for scoped_ptr and cursor_visible
6358 (InsetTabular): ditto
6359 (~InsetTabular): delete delete
6360 (Clone): adjust for scoped_ptr
6361 (Read): constify old_format, adjust for scoped_ptr, move init of
6363 (draw): constify tx, localize loop vars.
6364 some other localization of variables, remove double initilizatons.
6366 * insetfoot.C: remove using std::ostream, add ostream where needed
6368 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6370 * lyxinset.h: some reindentaion, use initializer list for
6372 UpdatableInset: make cursor_visible a private var add
6373 public isCursorVisible(), add protected toggleCursorVisible() and
6374 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6376 * insettoc.C: remvoe using decl
6377 (getScreenLabel): make cmdname donst
6380 (Ascii): don't use endl
6382 * insetfootlike.C: remove using decl at file scope and add std::
6384 * insetmarginal.C: ditto
6386 * insetfoot.C: some reformatting
6388 * insetfloat.C (InsetButtonRelease): adjust the hit area
6390 * insetert.C (SetFont): some reformatting
6392 * insetcollapsable.C: some reformatting and constification
6393 (Clone): comment out.
6394 * insetcollapsable.h: some reformatting
6395 (Clone): comment out.
6400 2001-03-30 Juergen Vigna <jug@sad.it>
6402 * insetcollapsable.h: changen *inset to be a InsetText inset.
6404 * some files: changed to reflect the above change.
6406 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6408 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6409 InsetExternal::Params.
6410 Added operator==() and operator!=() for the Params struct.
6412 2001-03-29 Juergen Vigna <jug@sad.it>
6414 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6417 * insetminipage.C: removed widthp_ and all it's functions and changed
6418 to use new %-lengths of LyXLength.
6420 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6422 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6424 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6426 * insetgraphicsParams.C (operator!=): new function, needed by the
6427 ControlGraphics class.
6429 2001-03-28 Juergen Vigna <jug@sad.it>
6431 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6432 (checkAndActivateInset): don't use the values returned from
6433 call to bv->checkInsetHit.
6435 * insetminipage.C (Clone): set special minipage values.
6437 * insetcollapsable.C (draw): changed to draw the button in the
6438 upper left corner outside the textinset.
6439 (ascent): changed because of different drawing
6443 (InsetButtonPress): ditto
6444 (InsetButtonRelease): ditto
6445 (InsetMotionNotify): ditto
6447 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6449 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6453 2001-03-26 Juergen Vigna <jug@sad.it>
6455 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6457 * insettext.C (ShowInsetDialog): implemented above function.
6459 * insettabular.C (ShowInsetDialog): ditto
6461 * insetminipage.C (ShowInsetDialog): ditto
6463 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6465 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6466 InsetInclude::Params. Don't store a buffer * in Params. Store the
6467 master file name instead.
6469 2001-03-23 Juergen Vigna <jug@sad.it>
6471 * insetcollapsable.C (InsetMotionNotify):
6472 (InsetButtonRelease):
6473 (InsetButtonPress): fixed y-offset (minipages).
6475 * insettext.C (draw): force a FULL update if cleared == true.
6477 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6478 routine to draw the minipages on its position-flag.
6479 (InsetInInsetY): give back the right y position, because of minipage
6482 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6485 * insetfloat.C (DocBook): docbook export code.
6487 2001-03-22 Juergen Vigna <jug@sad.it>
6489 * insetminipage.C (getMaxWidth): added function to set the drawing
6491 (Read): should work now!
6493 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6494 if we create a new inset.
6496 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6498 * figinset.C (fl_set_preemptive_callback): moved definition outside
6501 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6503 * insetminipage.C (Read): prepare for reading of minipage arguments.
6505 2001-03-18 Baruch Even <baruch@lyx.org>
6507 * insetgraphics.C: Minor cleanups of the comments and code.
6509 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6511 * insetminipage.C (InsetMinipage): default to not collapsed
6513 2001-03-16 Juergen Vigna <jug@sad.it>
6515 * insetminipage.C (width): modified with to be a string
6516 (widthp): added widthp (for % width) support functions.
6517 (InsetButtonRelease): added to open the options dialog on button==3.
6518 (~InsetMinipage): added to hide the dialog.
6520 * insetminipage.h: added hideDialog signal
6522 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6524 * insetminipage.h: change the order or Position to match
6525 LyXParagraph::MINIPAGE_ALIGNMENT
6527 * several files: remvoe CXX_WORKING_NAMESPACES
6529 * ExternalTemplate.h: noncopyable is in namespace boost
6530 * insetinclude.h: ditto
6531 * insetcommand.h: ditto
6533 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6535 * insettext.C (Edit): #else# -> #else.
6536 * insettoc.C: added using directive.
6538 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6540 * insetminipage.h: add pos, inner_pos, width and height. + getters
6541 and setters for all of them.
6543 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6545 * insetinclude.C (Latex): Do not exit when the textclass of the
6546 included file differ from the textclass of the parent file.
6548 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6550 * ExternalTemplate.C (read): the reading of external insets now checks
6551 for \end_inset and removes it form the input stream.
6553 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6555 * ExternalTemplate.h:
6556 * ExternalTemplate.C:
6558 * insetexternal.C: move form to GUII
6560 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6563 * insetinclude.C: add InsetIncludeParams, use
6564 composition rather than derivation of InsetCommand
6566 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6568 * insettoc.C (Ascii): use the Buffer typedefs
6570 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6572 * insettoc.C (Ascii): implement for dynamic number of lists
6574 * insetcaption.[Ch]: update from new_insets branch
6575 * insetfloat.[Ch]: ditto
6577 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6580 * figinset.C: use new File Dialog
6582 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6584 * insettext.C: changes becuase of ParagraphParameters.
6586 2001-02-28 Baruch Even <baruch@ev-en.org>
6588 * insetgraphics.C (updateInset): Changed due to the change in
6591 2001-02-26 Juergen Vigna <jug@sad.it>
6593 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6594 handled in LyXText).
6596 2001-02-23 Juergen Vigna <jug@sad.it>
6598 * insettext.C (draw): some small repainting fixes.
6599 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6601 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6602 should be) and not an int.
6604 * insettabular.C (LocalDispatch): ditto
6606 * insettext.C (LocalDispatch): ditto
6608 * insetcollapsable.C (LocalDispatch): ditto
6610 2001-02-22 Juergen Vigna <jug@sad.it>
6612 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6613 DISPATCH it and we don't have a locking_inset.
6615 2001-02-21 Baruch Even <baruch@ev-en.org>
6617 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6618 instead of GraphicsCacheItem *.
6620 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6622 * insetcollapsable.C (getLyXText): add const qualifier to second
6625 2001-02-22 Juergen Vigna <jug@sad.it>
6627 * insettext.C (getLyXText): honor the recursive parameter.
6628 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6630 * inset.C (getLyXText): added bool recursive parameter.
6632 * insettext.C (SetUpdateStatus): or the update codes.
6633 (draw): check need_update with &.
6634 (InsetButtonPress): set no_selection to not put a selection when
6635 entering an inset and it is redraws in another spot.
6637 * insettext.h: made need_update an int.
6639 2001-02-20 Baruch Even <baruch@ev-en.org>
6642 * insetgraphisc.C: Changed to use better semantics when loading images
6643 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6645 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6649 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6650 consistent with InsetTabular.
6652 2001-02-19 Juergen Vigna <jug@sad.it>
6654 * insettabular.C (LocalDispatch): implement PAGE up/down.
6656 * insettext.C (draw): clear all of it on need_update==INIT too!
6658 * insettabular.C (InsetUnlock): always clear the selection.
6660 * inset.C (scroll): normally we only want to scroll the inset until
6661 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6663 2001-02-14 Juergen Vigna <jug@sad.it>
6665 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6666 (resetPos): fixed scroll behaviour.
6667 (LocalDispatch): do an update if moving cursor inside a table cell
6668 requests a scroll of the tabular.
6670 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6672 * insettext.C (textWidth): constify local var
6674 * insettabular.C: small cleanup.
6676 * insetfoot.C (Latex): constify local var
6678 * insetcollapsable.C: small cleanup.
6680 * figinset.C (runqueue): use compare instead of strcmp
6682 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6685 * insetinfo.C: remove cruft
6687 2001-02-14 Juergen Vigna <jug@sad.it>
6689 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6691 2001-02-13 Juergen Vigna <jug@sad.it>
6693 * insettext.C (InsertInset): don't move left (is this right?)
6695 * insettabular.C (LocalDispatch): use of the no_draw variable
6697 * insettabular.h: new no_draw variable to stop redraw
6699 * insettabular.C (TabularFeatures): fixed update for alignment change
6701 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6705 * insetbib.C: move dialogs to frontends/
6707 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6709 * insettext.C (LocalDispatch): Restore the language if the inset
6712 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6714 * insettext.C (moveRightIntern): Update the selection cursor.
6715 (moveLeftIntern): Ditto.
6717 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6719 * Makefile.am: remove BoundingBox.h
6721 * BoundingBox.h: removed
6723 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6725 * insettext.C (LocalDispatch): Update selection cursor when moving
6726 cursor to the right.
6727 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6728 (moveLeftIntern): Ditto.
6730 2001-02-05 Baruch Even <baruch.even@writeme.com>
6732 * insetgraphics.C: Updated automatic image conversion, it now goes into
6733 temporary directory instead of with the image itself.
6735 2001-01-21 Baruch Even <baruch@ev-en.org>
6737 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6738 to EPS or PNG when needed (support bitmap graphics).
6740 2000-11-02 Baruch Even <baruch@ev-en.org>
6743 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6744 and removal of commented out code.
6746 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6748 * insetbib.C (callback): Update citations if the key has changed.
6750 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6752 * insetbib.C (InsetBibKey): Better computation of default key.
6753 (getScreenLabel) Show both the key and the label.
6754 (getBibLabel): New method.
6755 (callback): Force a redraw if the inset have been changed.
6757 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6759 * insetref.C (getType, getName): Move methods from
6760 src/frontends/xforms/FormRef.C.
6762 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6764 * insettabular.C: Various improvements (use only one dummy position).
6766 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6768 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6769 par->bibkey->width. This fixes the crashes when running without
6770 gui or when having included documents.
6772 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6774 * insetcommand.C (getAsString, setFromString): Cleanup.
6776 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6778 * insetref.C: Add the array InsetRef::types that contains
6779 information about all supported reference types.
6781 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6783 * lyxinset.h: remove trailing comma in enum.
6785 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6787 * insettext.C: kill LyXBell.