1 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
3 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
6 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
8 * insetcite.[Ch]: support jurabib.
10 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
12 * insetcite.C: Support second \cite option.
15 * insetcommandparams.[Ch]: add second optional argument.
17 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
19 * insetcollapsable.C (lfunMouseRelease): right mouse button only
20 shows the inset dialog.
22 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
24 * insetlabel.[Ch]: remove them
27 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
29 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
31 * insetinclude.C (latex): show a GUI warning if textclasses don't
33 * insetinclude.C: use mangledFilename() for temp files
34 * insetgraphics.C (readInsetGraphics): remove version check, since
35 the graphics inset has no own fileformat number anymore
37 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
39 * insetquotes.[Ch]: added new member that allows direct access
40 to single/double quotation marks.
42 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
44 2004-02-16 André Pönitz <poenitz@gmx.net>
47 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
48 implicitly assume 'DispatchResult(true, true) with exception of
49 InsetBase::priv_dispatch which does the equivalent of
50 'retrun DispatchResult(false)'
52 * inset*.[Ch] (priv_dispatch): adjust
54 * insettabular.[Ch]: remove remains of the 'update' mechanism,
55 simplify cursor moving function,
56 re-enable horizontal scrolling for large tables
58 2004-02-13 André Pönitz <poenitz@gmx.net>
60 * insettabular.[Ch]: some work after IU
62 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
64 * inset.C (setPosCache): switch to absolute coords in insets
65 * insettext.[Ch] (draw, drawFrame): adjust
66 * insetcollapsable.C (draw): adjust
69 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
72 (updateLocal): use the cur argument instead of the global cursor
73 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
75 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
77 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
79 * insetfloat.C (validate): "H" -> 'H' in call to contains
81 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
83 2004-01-30 André Pönitz <poenitz@gmx.net>
87 * insetcollapsable.[Ch]:
95 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
98 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
100 * insettabular.C: add using statement for std::vector, remove
101 std:: where using was already used.
103 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
105 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
107 * insetinclude.C (validate): use feautures.nice() instead of
110 2004-01-20 André Pönitz <poenitz@gmx.net>
113 * insetbase.[Ch]: move stuff from mathcursor here.
119 * insetcharstyle.[Ch]:
120 * insetcollapsable.[Ch]:
123 * insetexternal.[Ch]:
125 * insetgraphics.[Ch]:
134 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
136 2004-01-15 André Pönitz <poenitz@gmx.net>
143 * insetcharstyle.[Ch]:
144 * insetcollapsable.[Ch]:
147 * insetexternal.[Ch]:
149 * insetgraphics.[Ch]:
158 * updatableinset.[Ch] (priv_dispatch et al): change signature.
160 2004-01-08 André Pönitz <poenitz@gmx.net>
162 * insetcollapsable.[Ch]:
165 * updatableinset.h: use cell index info from global cursor.
167 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
169 * insetnote.C (InsetNoteParams::write): write label only once
171 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
173 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
175 get rid of the SameName functor
177 * insettabular.C: improve the functor.
179 2003-12-29 Angus Leeming <leeming@lyx.org>
181 * insetexternal.C (setParams): update defaultTemplateName.
183 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
185 * insetbox.C: Use term "Box" in button label
187 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
189 * insetcharstyle.C: get getDrawFont working again
191 2003-12-15 André Pönitz <poenitz@gmx.net>
194 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
196 2003-12-12 Angus Leeming <leeming@lyx.org>
198 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
200 (InsetBranchParams): remove the branchlist hack.
201 (isBranchSelected): new function, used to decide whether to
202 print each output format. Also used by InsetList.
203 (read, string2params): repair my own breakage ;-)
205 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
207 * insetminipage.[Ch]: remove from repository.
209 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
212 * insetcollapsable.[Ch]: Move all CollapseStatus code from
213 insetert to insetcollapsable; introduce virtual function
214 setButtonLabel and invoke it from collapsable
216 2003-12-12 Angus Leeming <leeming@lyx.org>
218 * insetinclude.C (draw): cache x,y and so enable the
221 2003-12-12 Angus Leeming <leeming@lyx.org>
223 * mailinset.C (print_mailer_error): tidy up the output.
225 2003-12-11 Angus Leeming <leeming@lyx.org>
227 * mailinset.[Ch] (print_mailer_error): new helper function.
229 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
230 calling InsetCommandMailer.
231 (InsetCommandMailer::string2params): pass the name of the dialog.
233 * insetbibitem.[Ch] (d-tor):
234 * insetbibtex.[Ch] (d-tor):
235 * insetcite.[Ch] (d-tor):
236 * insetfloatlist.[Ch] (d-tor):
237 * insetindex.[Ch] (d-tor):
238 * insetlabel.[Ch] (d-tor):
239 * insetref.[Ch] (d-tor):
240 * insettoc.[Ch] (d-tor):
241 * inseturl.[Ch] (d-tor): removed.
242 Hiding the dialog is handled by InsetCommand.
244 * insetbibtex.[Ch] (draw, metrics):
245 * insetfloatlist.[Ch] (draw, metrics):
246 * insetindex.[Ch] (draw, metrics): removed.
247 Drawing is handled by InsetCommand.
249 * insetbibitem.[Ch] (priv_dispatch):
250 * insetbibtex.[Ch] (priv_dispatch):
251 * insetcite.[Ch] (priv_dispatch):
252 * insetfloatlist.[Ch] (priv_dispatch):
253 * insetindex.[Ch] (priv_dispatch):
254 * insetlabel.[Ch] (priv_dispatch):
255 * insettoc.[Ch] (priv_dispatch):
256 * inseturl.[Ch] (priv_dispatch): removed or simplified.
257 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
258 LFUN_INSET_DIALOG_SHOW.
260 * insetbox.C (string2params):
261 * insetbranch.C (string2params):
262 * insetert.C (string2params):
263 * insetexternal.C (string2params):
264 * insetfloat.C (string2params):
265 * insetinclude.C (string2params):
266 * insetminipage.C (string2params):
267 * insetnote.C (string2params):
268 * insetvspace.C (string2params):
269 * insetwrap.C (string2params): over-hauled.
271 2003-12-10 Angus Leeming <leeming@lyx.org>
273 * insetexternal.[Ch]: add a draft option and respect it when
276 2003-12-10 Angus Leeming <leeming@lyx.org>
278 * insetbox.C: (read, write): now prepend the inset contents with
279 'Box' to identify the inset as a box inset.
281 * insetbox.h: move the translators out of sight.
283 2003-12-10 Angus Leeming <leeming@lyx.org>
285 * insetert.C (string2params): clean-up using the new lyxlex interface.
287 * insetexternal.C: ensure that InsetExternalParams has a default
288 template, 'RasterImage'.
290 2003-12-10 Angus Leeming <leeming@lyx.org>
292 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
293 to an enum. Ensuing clean-ups through out the class.
294 (read, write): now prepend the inset contents with 'Note' to identify
295 the inset as a note inset.
297 2003-12-10 Angus Leeming <leeming@lyx.org>
299 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
300 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
302 2003-12-10 André Pönitz <poenitz@gmx.net>
307 * insettext.[Ch]: remove unused insetInset()
309 * insetert.C: disable some LFUNs
311 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
313 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
315 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
317 2003-12-04 Angus Leeming <leeming@lyx.org>
319 * insetexternal.C (draw): update the xo_, yo_ cache.
321 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
323 (RotationDataType): new helper struct wrapping the
324 RotationData::OriginType enum.
326 2003-12-03 André Pönitz <poenitz@gmx.net>
328 * inset.h: remove getParagraphs()
330 * insetcollapsable.[Ch]:
334 * insettext.C: use getText() instead of getParagraphs()
336 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
338 * insetert.C: fix label text updating bug
340 2003-12-02 Angus Leeming <leeming@lyx.org>
342 * insetvspace.[Ch] (space): new member function. Make space_ private.
343 (read): use the new, simpler lyxlex syntax.
345 2003-12-01 André Pönitz <poenitz@gmx.net>
347 * insetcollapsable.[Ch]:
348 * insetert.[Ch]: move 'inline' state to InsetCollapsable
350 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
352 * insetvspace.C (read): handle 'end_inset' token.
354 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
356 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
358 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
360 * insetcollapsable.[Ch]:
362 * insetcharstyle.C: place inset content on the button when
365 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
367 * insetvspace.C: remove VSpace::NONE; increase inset width
369 2003-12-01 André Pönitz <poenitz@gmx.net>
371 * insetbase.h: whitespace
373 * inset.[Ch]: remove latexTextWidth
374 make setBackgroundColor virtual
376 * insettext.[Ch]: move ParagraphList member to LyXText
378 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
384 * insetminipage.[Ch]:
386 * insetwrap.[Ch]: adjust paragraphs and background color handling,
388 2003-11-28 Angus Leeming <leeming@lyx.org>
390 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
391 hiding and showing the dialog respectively.
392 (priv_dispatch): also actually update the inset contents.
394 2003-11-28 Angus Leeming <leeming@lyx.org>
396 * insetbox.C (d-tor):
397 * insetbranch.C (d-tor):
398 * insetcite.C (d-tor):
399 * insetfloat.C (d-tor):
400 * insetfloatlist.C (d-tor):
401 * insetinclude.C (d-tor):
402 * insetindex.C (d-tor):
403 simplify the invocation of the Mailer::hideDialog() function.
405 * insetminipage.C (showInsetDialog):
406 simplify the invocation of the Mailer::showialog() function.
408 2003-11-28 André Pönitz <poenitz@gmx.net>
411 * insetvspace.[Ch]: new insets
413 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
415 * insetcharstyle.C: Syntax change for CharStyles
417 2003-11-28 André Pönitz <poenitz@gmx.net>
419 * updatableinset.h: remove insetInInsetY
421 * insetcollapsable.[Ch]:
424 * insettext.[Ch]: adjust
426 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
430 * insetcollapsable.[Ch]:
432 * insettabular.[Ch]: remove setFont
434 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
436 * render_graphic.[Ch]: adjust comments
438 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
440 * insetgraphics.C (draw): cache xo_ & yo_
442 2003-11-24 André Pönitz <poenitz@gmx.net>
444 * insettext.C (setViewCache): don't call LyXText::init() anymore
446 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
449 * insetcollapsable.[Ch]:
450 * insetert.[Ch]: remove bufferview parameter in methods
451 open, close, status, and updateStatus.
453 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
455 * insetcollapsable.[Ch]:
457 * insettext.[Ch] (getCursorDim): squash unused variable
459 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
461 * insettext.C (edit): x0_,y0_ -> xo_,yo_
463 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
465 * insettext.C (draw): sets LyXText absolute coordinates
467 2003-11-20 Angus Leeming <leeming@lyx.org>
469 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
470 about unused parameters.
472 * insetcollapsable.C (open):
473 * insettabular.C (pasteSelection):
474 * insettoc.C (draw): ditto.
476 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
478 * insetcollapsable.C:
480 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
481 remove mouse_x mouse_y etc.
483 2003-11-17 André Pönitz <poenitz@gmx.net>
485 * insettext.[Ch] (cx, cy): remove
487 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
489 2003-11-13 André Pönitz <poenitz@gmx.net>
492 * insetcollapsable.[Ch]:
494 * insettext.[Ch] (deleteLyXText): remove
496 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
498 * insetcollapsable.[Ch] (fitInsetCursor): remove
499 * insettabular.[Ch] (fitInsetCursor): remove
500 * insettext.[Ch] (fitInsetCursor): remove
501 * updatableinset.[Ch] (fitInsetCursor): remove
502 (getCursorDIm): add virtual
504 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
506 * src/insets/Makefile.am:
507 * src/insets/inset.h:
508 * src/insets/insetcharstyle.C:
509 * src/insets/insetcharstyle.h: The Character Style /XML short
512 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
514 * insettext.C: remove all update calls
515 * insetcollapsable.C: remove all update calls
517 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
519 * insettext.C (updateLocal, insertInset, setFont): remove
522 2003-11-10 André Pönitz <poenitz@gmx.net>
524 * inset.h: remove Inset::id_
526 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
529 2003-11-10 André Pönitz <poenitz@gmx.net>
533 * insetcollapsable.[Ch]:
540 * updatableinset.[Ch]: remove inset locking & adjust
542 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
544 * inset.h (allowSpellCheck): add (return true)
545 * insetert.h (allowSpellCheck): add (return false)
547 2003-11-05 José Matos <jamatos@lyx.org>
555 * insetcollapsable.[Ch]:
559 * insetexternal.[Ch]:
561 * insetfloatlist.[Ch]:
563 * insetgraphics.[Ch]:
568 * insetlatexaccent.[Ch]:
571 * insetmarginal.[Ch]:
572 * insetminipage.[Ch]:
576 * insetpagebreak.[Ch]:
580 * insetspecialchar.[Ch]:
586 * insetwrap.[Ch]: rename ascii to plaintext
587 and LatexRunParams to OutputParams.
589 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
591 * insetcollapsable.C (edit): add open() all
592 * insettext.C (edit): add setViewCache call
594 2003-11-04 André Pönitz <poenitz@gmx.net>
596 * inset.h (edit): move locking code from dispatch() to edit()
602 * insetcollapsable.[Ch]:
605 * insetexternal.[Ch]:
606 * insetgraphics.[Ch]:
612 * insettext.[Ch]: adjust
614 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
617 * insetcollapsable.[Ch]:
621 * updatableinset.[Ch]: remove dead search code
623 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
626 * insetcollapsable.[Ch]:
630 * updatableinset.[Ch]: remove dead spellcheck code
632 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
634 * insettabular.C (lockInsetInInset): small fix
636 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
638 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
639 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
640 from here. Be stricter on DispatchResult returned.
642 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
644 * Inset::dispatch's: adjust for new DispatchResult semantics.
646 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
648 * render_base.h: make clone return an auto_ptr
649 * render_button.C (clone): adjust
650 * render_graphic.C (clone): adjust
651 * render_preview.C (clone): adjust
653 * insettheorem.C (clone): return an auto_ptr
655 * insettext.C (priv_dispatch): exception safety
657 * insettabular.C: store the file scope variable paste_tabular in a
658 scoped_ptr, adjust usage.
660 * insetexternal.C (setParams): exception safety
662 * insetbibitem.C (clone): exception safety
664 2003-11-03 André Pönitz <poenitz@gmx.net>
667 * insetcollapsable.[Ch]:
669 * insettext.[Ch]: remove Inset::id and related functions
671 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
673 * insets: adjust for DispatchResult changes.
675 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
677 * insetpagebreak.C: fix screen representation & ascii output.
679 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
684 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
686 2003-10-31 José Matos <jamatos@lyx.org>
688 * inset.h (ascii, linuxdoc, docbook):
689 * insetbox.[Ch] (ascii, linuxdoc, docbook):
690 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
691 * insetcaption.[Ch] (ascii, docbook):
692 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
693 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
694 * insetert.[Ch] (ascii, linuxdoc, docbook):
695 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
696 * insetfloat.[Ch] (linuxdoc, docbook):
697 * insetfloatlist.[Ch] (ascii):
698 * insetfoot.[Ch] (docbook):
699 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
700 * insethfill.[Ch] (ascii, linuxdoc, docbook):
701 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
702 * insetindex.[Ch] (docbook):
703 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
704 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
705 * insetline.[Ch] (ascii, linuxdoc, docbook):
706 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
707 * insetnote.[Ch] (ascii, linuxdoc, docbook):
708 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
709 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
710 * insetref.[Ch] (ascii, linuxdoc, docbook):
711 * insetspace.[Ch] (ascii, linuxdoc, docbook):
712 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
713 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
714 * insettext.[Ch] (ascii, linuxdoc, docbook):
715 * insettoc.[Ch] (ascii, linuxdoc, docbook):
716 * inseturl.[Ch] (ascii, linuxdoc, docbook):
717 * insetwrap.[Ch] (docbook):
718 add LatexRunParams argument.
720 2003-10-30 José Matos <jamatos@lyx.org>
722 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
724 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
726 * updatableinset.C (priv_dispatch):
727 * insetwrap.C (priv_dispatch):
728 * inseturl.C (priv_dispatch):
729 * insettoc.C (priv_dispatch):
730 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
731 (moveLeftIntern, moveUp, moveDown):
732 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
733 (moveLeft, moveUp, moveDown):
734 * insetref.C (priv_dispatch):
735 * insetnote.C (priv_dispatch):
736 * insetminipage.C (priv_dispatch):
737 * insetlabel.C (priv_dispatch):
738 * insetindex.C (priv_dispatch):
739 * insetinclude.C (priv_dispatch):
740 * insetgraphics.C (priv_dispatch):
741 * insetfloatlist.C (priv_dispatch):
742 * insetfloat.C (priv_dispatch):
743 * insetexternal.C (priv_dispatch):
744 * insetert.C (priv_dispatch):
745 * insetcommand.C (priv_dispatch):
746 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
747 * insetcite.C (priv_dispatch):
748 * insetbranch.C (priv_dispatch):
749 * insetbox.C (priv_dispatch):
750 * insetbibtex.C (priv_dispatch):
751 * insetbibitem.C (priv_dispatch):
752 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
754 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
756 * insettext.C: small refactoring of docbook stuff
758 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
760 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
761 (priv_dispatch): adjust for operator dispatch_result_t removal
763 * insettabular.C (lfunMouseRelease): put the result of a dispatch
764 in a DispatchResult, adjust accordingly.
765 (priv_dispatch): use strange >= construct... (will be removed later)
767 * most insets: dispatch_result -> DispatchResult
769 * insetbase.h: move DispatchResult out to dispatchresult.h
771 2003-10-27 André Pönitz <poenitz@gmx.net>
773 * insetpagebreak.[Ch]: new inset for page breaks
775 * insetline.[Ch]: new inset for vertical lines
780 2003-10-25 Angus Leeming <leeming@lyx.org>
782 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
783 new virtual member functions, specialised...
784 * render_button.h (asButton):
785 * render_graphic.h (asGraphic):
786 * render_preview.h (asPreview, asMonitoredPreview): ... here.
788 * insetexternal.C: use these new functions rather than dynamic_cast.
789 Various other small simplifications.
791 2003-10-22 Angus Leeming <leeming@lyx.org>
793 * insetexternal.[Ch]: add the ability to 'preview' the external file
796 * insetinclude.C: changes due to the changes in the RenderPreview
799 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
800 message if the preview image is not available. Only initiate the
801 loading of the preview from draw(). Ditto, start the monitoring
802 of an external file from RenderMonitoredPreview::draw.
804 2003-10-22 Angus Leeming <leeming@lyx.org>
806 * insetcite.[Ch] (setLoadingBuffer): removed.
807 (getNatbibLabel): use the new Buffer::fully_loaded member function to
808 ascertain whether to proceed with the (expensive) task of computing
809 the natbib-style label. Remove the home-grown hack providing
810 similar functionality.
812 2003-10-22 Angus Leeming <leeming@lyx.org>
814 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
815 class and into an anonymous namespace.
817 2003-10-22 Angus Leeming <leeming@lyx.org>
819 * insetcommand.h: remove the display method.
823 * insetindex.h (InsetPrintIndex):
824 * insettoc.h: add a display method, returning true.
826 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
828 * insetcollapsable.h:
832 * insetinclude.h: (1) finish off the inset display() work;
833 (2) fix the "is a bit silly" bug (accessing char
836 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
840 * insetfootlike.h: re-introduce display() for insets,
841 fixing the various bugs (stretch of line above, math inset
844 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
846 * insetbase.C (dispatch): new func
847 (priv_dispatch): new func replaces...
848 (localDispatch): this, deleted.
850 * all insets with dispatch modified for new code.
852 2003-10-15 André Pönitz <poenitz@gmx.net>
854 * insetcollapsable.[Ch]
856 * inset.h: re-add some edit(bv, index) method called by undo
858 2003-10-14 Angus Leeming <leeming@lyx.org>
860 * insetexternal.[Ch] (view, cache, view_):
861 * insetgraphics.[Ch] (view, cache, view_):
862 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
863 (statusChanged): call LyX::cref().updateInset.
865 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
866 the BufferView cache.
868 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
871 2003-10-14 Angus Leeming <leeming@lyx.org>
873 * insetinclude.C (metrics, draw): only draw the preview when previews
876 2003-10-14 André Pönitz <poenitz@gmx.net>
878 * insetcollapsable.[Ch]:
881 * inset.h: getText() as alternative to getParagraphs()
883 2003-10-13 Angus Leeming <leeming@lyx.org>
886 * insetgraphicsParams.C: displayTranslator is now a function.
888 2003-10-13 Angus Leeming <leeming@lyx.org>
890 * insetinclude.C: remove #include "PreviewImage.h".
892 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
895 * ExternalTransforms.C:
897 * insetbox.h: ws changes only
899 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
901 * insetinclude.C (localDispatch): do not call
902 InsetOld::localDispatch, just return UNDISPATCHED
903 * insetgraphics.C (localDispatch): ditto
904 * insetcommand.C (localDispatch): ditto
906 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
908 * inset.h: get rid of RESULT typedef for dispatch_result
910 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
911 * insetert.[Ch] (localDispatch): ditto
912 * insettabular.[Ch] (localDispatch): ditto
917 * insettext.[Ch] (localDispatch): ditto
920 (moveRightIntern): ditto
921 (moveLeftIntern): ditto
924 * updatableinset.[Ch] (localDispatch): ditto
926 2003-10-12 Angus Leeming <leeming@lyx.org>
928 * renderbase.h (view, view_): removed.
929 * renderbase.C: removed.
930 * Makefile.am: remove render_base.C. The shortest lived file in
933 * renderbutton.C (draw):
934 * render_graphic.C (draw): don't cache the BufferView.
936 * insetabase.h (cache, view): removed.
938 * inset.h (generatePreview) removed.
940 * insetcallapsable.[Ch] (cache, view, view_): removed.
942 * insetcollapsable.C (draw): don't cache the BufferView.
944 * insetcommand.[Ch] (view): removed.
946 * insetexternal.[Ch] (cache, view, view_):
947 * insetgraphics.[Ch] (cache, view, view_):
948 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
950 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
951 when you have direct access to it. In fact, don't use the cache at all.
953 2003-10-10 Angus Leeming <leeming@lyx.org>
955 * insetinclude.C (metrics): use preview_->metrics.
956 (draw): use preview_->draw.
958 * render_preview.[Ch] (pimage): removed.
960 2003-10-10 Angus Leeming <leeming@lyx.org>
962 * renderers.[Ch]: removed.
965 * render_button.[Ch]:
966 * render_graphic.[Ch]:
967 * render_preview.[Ch]: new files. The first three are split out of
968 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
969 contains a re-worked InsetInclude::PreviewImpl also.
971 * Makefile.am: reflect the changed files.
974 * insetexternal.[Ch]:
975 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
977 * insetinclude.[Ch]: changes reflecting the change from
978 InsetInclude::PreviewImpl to RenderMonitoredPreview.
984 * inseturl.C: add #include "support/std_ostream.h"
986 2003-10-09 Angus Leeming <leeming@lyx.org>
988 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
989 to PreviewedInset::previewReady.
991 2003-10-09 Angus Leeming <leeming@lyx.org>
993 * insetexternal.[Ch] (statusChanged):
994 * insetgraphics.[Ch] (statusChanged): make a const member function.
996 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
999 2003-10-09 Angus Leeming <leeming@lyx.org>
1001 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1002 to PreviewedInset's previewReady and removePreview member functions.
1004 2003-10-08 André Pönitz <poenitz@gmx.net>
1006 * insetcollapsable.C:
1007 * insettext.[Ch]: saner 'init' structure
1009 * updatableinset.[Ch]: remove unneeded code
1011 2003-10-08 Angus Leeming <leeming@lyx.org>
1013 Fix doxygen warnings.
1015 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1016 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1018 2003-10-07 Angus Leeming <leeming@lyx.org>
1020 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1021 be applied to InsetExternal.
1023 * Makefile.am: add these new files.
1025 * ExternalTemplate.[Ch]: add a list of available transforms to
1026 class Template and a list of factory functions for transformer classes
1027 that can act on this data to class Format.
1029 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1031 * ExternalSupport.C: Add code to replace transform placeholders
1032 with appropriate output.
1034 2003-10-07 Angus Leeming <leeming@lyx.org>
1036 * ExternalSupport.[Ch]: new files, moving the private member functions
1037 and namespace anon functions out of insetexternal.C to here, so making
1038 it easier to understand what is going on in insetexternal itself.
1040 * Makefile.am: add new files.
1042 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1043 allowing the class to be forward declared. (Also consistent with
1044 all other Params classes.)
1045 (write): moved out of the class. Move this function and those in
1046 namespace anon to ExternalSupport.[Ch].
1048 2003-10-07 Angus Leeming <leeming@lyx.org>
1050 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1051 non-const member function.
1053 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1058 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1060 2003-10-02 André Pönitz <poenitz@gmx.net>
1062 * insettext.C (read): make sure there is at least one par
1063 in the text after reading.
1065 2003-10-01 José Matos <jamatos@lyx.org>
1067 * insetbranch.C (linuxdoc, docbook): minor fix.
1069 2003-10-01 Angus Leeming <leeming@lyx.org>
1071 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1073 * insetexternal.[Ch]: changes due to the introduction of
1074 namespace lyx::external.
1076 2003-09-30 Angus Leeming <leeming@lyx.org>
1078 * insetexternal.[Ch] (Params::read, write): new member functions.
1080 2003-09-25 Angus Leeming <leeming@lyx.org>
1082 * insetexternal.[Ch] (TempName): new (private) nested struct with
1083 fake copy semantics. Enables us to use the generated copy c-tor
1084 in the Params struct.
1085 (Params::templatename, Params::tempname): use accessor functions.
1087 2003-09-25 Angus Leeming <leeming@lyx.org>
1089 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1090 function, returning a const pointer.
1092 2003-09-23 Angus Leeming <leeming@lyx.org>
1094 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1095 store them in a vector, preambleNames.
1097 * insetexternal.C (validate): loop over all preambleNames and call
1098 LaTeXFeatures::addExternalPreamble with each.
1100 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1102 * insetbranch.C: bug fix in branches
1104 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1106 * insetnote.C: small clean-up.
1108 2003-09-19 Angus Leeming <leeming@lyx.org>
1110 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1112 * insetcommand.C (string2params): clear params using the default c-tor.
1114 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1115 InsetInclude::Params. No more data in this struct than in
1116 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1117 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1118 (clone): remove #warning as it's now redundant.
1119 (set): add a 'Buffer const &' arg. Make private.
1120 (loadIfNeeded) move out of the class definition and into namespace anon.
1121 (getMasterFilename, getFileName): ditto.
1123 2003-09-18 Angus Leeming <leeming@lyx.org>
1125 * insetcommand.C (setParams): use the params' copy constructor.
1127 2003-09-18 Angus Leeming <leeming@lyx.org>
1129 * insetinsetbase.h (getLabelList):
1130 * insetinsetcollapsable.[Ch] (getLabelList):
1131 * insetinsetinclude.[Ch] (getLabelList):
1132 * insetinsetlabel.[Ch] (getLabelList):
1133 * insetinsettabular.[Ch] (getLabelList):
1134 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1135 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1137 2003-09-18 Angus Leeming <leeming@lyx.org>
1139 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1140 redundant baggage from yesteryear.
1141 Remove Params::flag as it is redundant; the info is present in
1144 2003-09-18 Angus Leeming <leeming@lyx.org>
1146 * insetinclude.C (latexString): add a Buffer const & arg.
1148 2003-09-18 Angus Leeming <leeming@lyx.org>
1153 * insettext.h: rename EnumLColor as LColor_color.
1155 2003-09-18 Angus Leeming <leeming@lyx.org>
1157 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1158 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1160 2003-09-16 Angus Leeming <leeming@lyx.org>
1162 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1163 set before trying to generate a preview, else we trigger an assert.
1165 2003-09-16 Angus Leeming <leeming@lyx.org>
1167 * insetinclude.C (PreviewImpl::parent): return a const reference.
1169 2003-09-16 Angus Leeming <leeming@lyx.org>
1171 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1173 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1175 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1176 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1178 * insetminipage.C (metrics):
1179 * insetnote.C (metrics):
1180 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1181 access collapsed_ directly.
1183 2003-09-16 Angus Leeming <leeming@lyx.org>
1185 * insetbibitem.C: add #include "lyxfont.h".
1187 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1190 * insetbibtex.C: use namespace alias for lyx::support::os
1192 2003-09-16 Angus Leeming <leeming@lyx.org>
1194 * insetcollapsable.h: remove unused framecolor variable.
1195 Remove #include "LColor.h".
1197 * insetcollapsable.C: remove unused framecolor variable.
1200 * insetcollapsable.C:
1208 Add #include "LColor.h".
1210 2003-09-16 Angus Leeming <leeming@lyx.org>
1212 * insettext.[Ch] (frameColor): new accessor function.
1213 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1219 add #include "LColor.h".
1221 * insetcollapsable.h: add #include "LColor.h"
1222 (for its framecolor member variable).
1224 2003-09-16 Angus Leeming <leeming@lyx.org>
1226 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1228 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1229 rename frame_color as frame_color_. Make private.
1231 * insettext.C: associated changes.
1233 2003-09-16 Angus Leeming <leeming@lyx.org>
1235 * inset.h: store background_color_ as an int, not as an LColor::color to
1236 get LColor.h out of the header file.
1239 * insetlatexaccent.C:
1242 * insetspecialchar.C:
1244 add #include "LColor.h".
1246 2003-09-16 Angus Leeming <leeming@lyx.org>
1248 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1251 2003-09-15 Angus Leeming <leeming@lyx.org>
1253 * inset.[Ch] (setBackgroundColor, backgroundColor):
1254 * insettext.[Ch] (setFrameColor):
1255 pass EnumLColor args, rather than LColor::color ones.
1257 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1267 * insetwrap.C: remove usage of STRCONV
1269 2003-09-15 Angus Leeming <leeming@lyx.org>
1271 * renderers.C (draw):
1272 * insetlatexaccent.C (draw): explicitly define the color passed to
1275 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1277 * insettext.C: remove block causing problems in lockInsetInInset
1278 (mentioned erroneously under Bug #1366)
1280 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1282 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1285 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1287 * several files: change Assert to BOOST_ASSERT
1289 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1291 * insettext.[Ch]: remove drawText[XY]Offset
1293 2003-09-08 Angus Leeming <leeming@lyx.org>
1295 * insetcollapsable.C:
1300 * insetspecialchar.C:
1303 * insettoc.C: remove redundant using directives.
1305 2003-09-07 Angus Leeming <leeming@lyx.org>
1308 * insetspecialchar.h: remove #include "support/std_string.h".
1310 2003-09-06 Angus Leeming <leeming@lyx.org>
1312 * renderers.C: add #include "insets/inset.h"
1314 2003-09-05 Angus Leeming <leeming@lyx.org>
1316 * *.C: strip out redundant #includes. (193 in total.)
1318 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1320 * insets/insetbibtex.[Ch]:
1321 * insets/insetcommand.h:
1322 * insets/insetfloatlist.[Ch]:
1323 * insets/insetinclude.[Ch]:
1324 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1325 of insets like bibtex, include, toc and floatlist to the visible
1326 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1327 up the dialogs. Cursor has to be in front of the inset (i.e.
1328 start of row) for this to function.
1330 2003-09-04 Angus Leeming <leeming@lyx.org>
1332 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1333 structure outside of the Format struct. Format::preambleName refers to
1334 an item in the map of all preamble snippets.
1335 Make use of the new Debug::EXTERNAL flag.
1337 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1338 (validate): Small change due to the changed storage of preamble snippets.
1340 2003-09-04 Angus Leeming <leeming@lyx.org>
1342 * insetgraphics.C: #include "support/os.h"
1344 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1345 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1346 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1348 * insetcollapsable.h:
1350 * insetnote.C: move #include "funcrequest.h" out of the header file.
1352 2003-09-03 Angus Leeming <leeming@lyx.org>
1354 * insetexternal.C (updateExternal):
1355 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1358 2003-09-03 Angus Leeming <leeming@lyx.org>
1360 * insetexternal.C: don't bring namespace lyx::support into the global
1363 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1365 * insetbranch.C: Add Branch: to label
1367 2003-09-02 John Levon <levon@movementarian.org>
1370 * insettext.C: remove cursor.i[xy]()
1372 2003-08-28 Angus Leeming <leeming@lyx.org>
1374 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1375 "sh ", enabling the conversion to be carried out even if the script
1378 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1380 * most files: change to use const Buffer refs
1382 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1384 * insetfootlike.C: whitespace.
1386 2003-08-26 John Levon <levon@movementarian.org>
1390 * insetindex.h: remove remaining mentions of needFullRow()
1392 2003-08-26 André Pönitz <poenitz@gmx.net>
1398 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1400 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1402 * insetbranch.C: Small fix to prevent a crash on loading.
1404 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1409 * insetcollapsable.h:
1411 * insetfloatlist.[Ch]:
1412 * insetfootlike.[Ch]:
1413 * insetinclude.[Ch]:
1419 * insettheorem.[Ch]:
1420 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1421 altogether, putting the logic in metrics/draw in the insets.=20
1422 Draws short single row insets with more or less realistic metrics.
1424 2003-08-19 André Pönitz <poenitz@gmx.net>
1426 * insettext.C: use new RowPainter interface
1428 2003-08-18 John Levon <levon@movementarian.org>
1430 * insetref.C: require amsmath for eqref
1432 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1436 * insetbranch.[Ch]: implements the 'branch inset'
1437 idea. This allows the output of various versions of a document
1438 from a single source version, selectively outputing or suppressing
1439 output of parts of the text.
1440 This implementation contains a 'branch list editor' in a separate
1441 tab of the document settings dialog. Branches are user definable
1442 and have a "display colour" to distinguish them on-screen.
1444 ColorHandler was somewhat cleaned up.
1445 (1) make possible a dynamically growing LColor list by allowing
1446 the graphic context cache to grow along (vector);
1447 (2) eliminate an IMHO unnecessary step in colour allocation.
1449 2003-08-15 André Pönitz <poenitz@gmx.net>
1451 * insettext.[Ch]: adjust after rowlist split
1453 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1455 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1456 rename valign-center to valign-middle;
1457 rename VALIGN_CENTER to VALIGN_MIDDLE
1459 2003-08-11 André Pönitz <poenitz@gmx.net>
1461 * inset.h: remove resizeLyXText
1464 * insetcollapsable.[Ch]:
1466 * insettabular.[Ch]: adjust
1468 * insettext.[Ch]: remove saveLyXTextState,
1469 restoreLyXTextStat, sstate, reinitLyXText
1471 2003-08-07 André Pönitz <poenitz@gmx.net>
1473 * inset.[Ch]: move non-crucial functions out-of-line
1475 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1476 remove duplicated code.
1478 2003-08-05 André Pönitz <poenitz@gmx.net>
1481 * insetcollapsable.[Ch]:
1491 * insettabular.[Ch]:
1494 * updatableinset.[Ch]: rip out "deep update"
1496 * insettext.C (localDispatch): merge cases with default branch
1498 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1500 * insettabular.[Ch] (updateLocal): simplify logic
1502 2003-08-04 André Pönitz <poenitz@gmx.net>
1504 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1505 is 'FULL' all the time.
1507 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1509 * insetert.C (get_new_label): only add ... to the (closed) label
1510 when the string has been shortened
1512 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1514 * Always use std::endl with lyxerr
1516 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1518 * insetnote.C: update \author list
1520 2003-07-31 André Pönitz <poenitz@gmx.net>
1522 * insetcollapsable.h:
1523 * insettabular.[Ch]:
1524 * insettext.[Ch]: remove toggleSelection
1526 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1528 (with help from Juergen Spitzmueller)
1529 * insetnote.C: add add i18n support. Use Prefs-definable
1530 colours for Comment and Greyedout.
1532 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1534 * insetcollapsable.[Ch]:
1536 * insetert.C: factor out the detection of clicking on the inset
1537 button as 'hitButton'. John Levon contributed.
1539 2003-07-30 André Pönitz <poenitz@gmx.net>
1541 * insetcollapsable.C:
1543 * insettabular.C: parantheses, localize vars etc.
1545 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1547 * insetnote.C: Implement a newenvironment in preamble for
1548 greyedout. Patch provided by Jürgen Spitzmüller.
1550 2003-07-29 Angus Leeming <leeming@lyx.org>
1552 * insetcommand.C (localDispatch): default to
1553 InsetOld::localDispatch.
1555 * insetbibitem.C (localDispatch):
1556 * insetbibtex.C (localDispatch): remove call to
1557 ChangeCitationsIfUnique.
1559 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1561 * insetexternal.C (read): use pushpophelper.
1563 2003-07-28 José Matos <jamatos@lyx.org>
1565 * insetext.C (read): \end_document replaces \the_end.
1567 2003-07-28 José Matos <jamatos@fep.up.pt>
1569 * insetert.C (write): \layout -> \begin_layout.
1570 Add missing \end_layout.
1572 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1574 * insetquotes.C: document a bit the format
1576 * insettabular.C (write): remove extra space
1578 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1579 * insetnote.C: Umpf. Hope I *now* get it right :-(
1581 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1582 *insetnote.C: did the right fix to greyedout: \color
1583 instead of \textcolor.
1585 2003-07-28 Angus Leeming <leeming@lyx.org>
1587 * insetbibtex.h: remove extraneous forward declaration.
1590 * insetbibtex.h: Also remove long-dead Holder member class
1593 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1595 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1598 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1600 * insetwrap.C (addToToc): adjust for lyx::toc
1602 * insetfloatlist.C (ascii): adjust for lyx::toc
1604 * insetfloat.C (addToToc): adjust for lyx::toc
1606 2003-07-27 José Matos <jamatos@fep.up.pt>
1608 * insetnote.h (linuxdoc,docbook): update support.
1610 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1612 * insetfloat.C (wide): add a space to label, for consistency
1614 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1616 * insettext.C (nextChange): adjust for lyx::find
1617 (searchForward): ditto
1618 (searchBackward): ditto
1620 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1622 * insetgraphicsParams.C:
1623 * insetexternal.C: declare extern displayTranslator
1626 * renderers.C: add #include "support/LAssert.h"
1628 2003-07-27 José Matos <jamatos@fep.up.pt>
1630 * insetfloat.[Ch] (linuxdoc):
1631 * insetgraphics.C (linuxdoc):
1632 * insettabular.C (linuxdoc):
1633 * insettext.[Ch] (linuxdoc): add support for tables and figures
1636 2003-07-27 José Matos <jamatos@fep.up.pt>
1638 * insetinclude (latex): comply with makeLaTeXFile argument change.
1640 2003-07-26 Asger Alstrup <alstrup@local>
1642 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1643 the undo crashes. We'll see what problems other places this will
1646 2003-07-26 Angus Leeming <leeming@lyx.org>
1648 * insetgraphics.C: remove unused declaration of system_tempdir.
1650 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1652 * rename Inset to InsetOld
1654 * all inset files (clone): return a auto_ptr<InsetBase>
1656 2003-07-23 Angus Leeming <leeming@lyx.org>
1658 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1660 2003-07-23 Angus Leeming <leeming@lyx.org>
1662 * mailinset.[Ch] (inset2string):
1663 * insetcommand.[Ch] (inset2string):
1664 * insetert.[Ch] (inset2string):
1665 * insetexternal.[Ch] (inset2string):
1666 * insetfloat.[Ch] (inset2string):
1667 * insetgraphics.[Ch] (inset2string):
1668 * insetinclude.[Ch] (inset2string):
1669 * insetminipage.[Ch] (inset2string):
1670 * insetnote.[Ch] (inset2string):
1671 * insettabular.[Ch] (inset2string):
1672 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1674 * insetexternal.[Ch]:
1675 * insetgraphics.[Ch]: get rid of the view() function. Associated
1676 changes to the mailers' string2params and params2string functions.
1678 2003-07-23 Angus Leeming <leeming@lyx.org>
1680 * insetexternal.[Ch]: store the external file name in a FileName
1681 member variable rather than a string + associated changes.
1683 2003-07-21 Angus Leeming <leeming@lyx.org>
1685 * insetgraphicsParams.[Ch]: store the graphics file name in
1686 a FileName member variable rather than a string.
1688 * insetgraphics.[Ch]:
1689 * insetgraphicsParams.[Ch]: Associated changes.
1691 2003-07-21 Angus Leeming <leeming@lyx.org>
1693 * insetgraphics.[Ch] (string2params, params2string): passed a
1694 buffer_path argument.
1697 2003-07-21 Angus Leeming <leeming@lyx.org>
1700 * insetgraphicsParams.[Ch]:
1702 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1704 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1706 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1708 2003-07-18 André Pönitz <poenitz@gmx.net>
1711 * insetminipage.[Ch]:
1712 * insettabular.[Ch]:
1715 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1717 2003-07-18 André Pönitz <poenitz@gmx.net>
1721 * insetcollapsable.C:
1725 * insetgraphics.[Ch]:
1726 * insetlatexaccent.[Ch]:
1731 * insetspecialchar.C:
1732 * insettabular.[Ch]:
1734 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1736 2003-07-17 André Pönitz <poenitz@gmx.net>
1738 * insetcollapsable.C:
1740 * insettext.C: don't call Inset::update() anymore
1743 * insettabular.[Ch]: remove unneeded in_update_ members
1745 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1747 2003-07-16 André Pönitz <poenitz@gmx.net>
1749 * insettext.C (selectAll): remove
1751 2003-07-16 John Levon <levon@movementarian.org>
1754 * insetnote.C: implement showInsetDialog()
1756 2003-07-15 André Pönitz <poenitz@gmx.net>
1759 * insettext.C: refresh_status tristate -> need_update bool
1761 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1763 * insettext.C: adjust call to LyXText::init
1765 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1767 * insettext.C: use bufferview_funcs->replaceSelection()
1768 to delete selections in some cases (bugs 441, 673, 702, 954).
1770 2003-07-14 André Pönitz <poenitz@gmx.net>
1772 * insettext.C (draw): use slimmed down rowpainter interface
1774 2003-07-14 André Pönitz <poenitz@gmx.net>
1776 * insetcollapsable.C:
1778 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1779 remove unused BufferView * argument
1781 2003-07-14 André Pönitz <poenitz@gmx.net>
1783 * insettext.[Ch]: used cached metrics a bit more
1785 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1787 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1789 2003-07-10 André Pönitz <poenitz@gmx.net>
1792 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1794 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1796 * introduce namespace lyx::graphics
1798 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1800 * introduce namespace lyx::support
1802 2003-06-30 André Pönitz <poenitz@gmx.net>
1804 * insetcite.C (localDispatch): fix case of missing return value
1806 * insetcite.C (ascii): remove unneeded temporary
1808 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1810 * insetspace.h: fix \file
1812 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1813 * insetinclude.C (fillWithBibKeys): ditto
1815 * insetbibitem.C: fix type const order
1817 * inset.C (getLyXText): add varname for arg
1819 * ExternalTemplate.h: fix type const order
1821 2003-06-27 André Pönitz <poenitz@gmx.net>
1823 * insettext.C: take care of removed LyXCursor::row_ member
1825 * insettext.[Ch]: use new TextCursor struct for sstate
1827 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1829 * inseterror.[Ch]: removed
1831 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1833 * insetinclude.C (docbook): use parseError instead of sgmlError
1835 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1837 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1838 of BufferList::loadLyXFile
1840 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1842 * insettext.C (update): simplify
1843 (updateLocal): remove commented code
1844 (insetUnlock): simplify
1845 (lockInset): simplify
1846 (updateInsetInInset): simplify
1847 (localDispatch): simplify
1849 (resizeLyXText): simplify
1850 (collapseParagraphs): simplify
1852 * insetert.C (get_new_label): simplify
1854 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1856 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1857 pasteSelection with index
1859 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1861 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1863 2003-06-16 André Pönitz <poenitz@gmx.net>
1865 * insetbase.h: new virtual base function clone()
1867 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1868 Inset * clone() -> InsetBase * clone()
1870 2003-06-13 André Pönitz <poenitz@gmx.net>
1872 * insettabular.[Ch]: make tabular a proper member
1874 2003-06-12 André Pönitz <poenitz@gmx.net>
1876 * insettabular.[Ch]: some renaming plus whitespace
1878 2003-06-11 Angus Leeming <leeming@lyx.org>
1880 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1883 * insetbutton.[Ch]: removed.
1884 * graphicinset.[Ch]: renamed as renderers.[Ch].
1886 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1887 Create a new class ButtonRenderer using the InsetButton::metrics() and
1889 Derive both from a common RenderedInset base class.
1891 * insetcommand.[Ch]:
1892 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1893 Give it a ButtonRenderer member variable. Use it.
1894 Give the classes working copy c-tors.
1895 No longer derive from boost::noncopyable.
1897 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1898 display its contents as a button or as a graphic.
1900 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1903 2003-06-11 Angus Leeming <leeming@lyx.org>
1905 * insetcite.C (localDispatch): reformat.
1907 * insetref.C (localDispatch): enable dialog to be lauched.
1909 2003-06-11 John Levon <levon@movementarian.org>
1911 * insettabular.C: correctly mark all cells as erased
1913 2003-06-11 Angus Leeming <leeming@lyx.org>
1915 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1916 ExternalTemplate but its name, templatename. This means that a file
1917 containing a reference to an External Template not installed on the
1918 current machine will be saved retaining this info rather than inserting
1919 the first "valid" template from the list of templates.
1921 As a by product, the visual statement that the Template is missing is
1924 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1926 * insettext.C (appendParagraphs): remove some commented code.
1928 2003-06-10 Angus Leeming <leeming@lyx.org>
1930 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1933 * insetexternal.[Ch]: move tempname_ into the Params struct.
1934 (Params d-tor): new function, to clean-up this temp file.
1935 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1937 (editExternal, doSubstitution): move out of class.
1939 2003-06-10 Angus Leeming <leeming@lyx.org>
1941 * graphicinset.[Ch] (params): removed.
1942 * graphicinset.h (operator=): declared private but not defined.
1943 (statusMessage): made private.
1945 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1947 2003-06-07 John Levon <levon@movementarian.org>
1949 * insetert.C (latex): make a newline mean just that not
1952 2003-06-07 José Matos <jamatos@fep.up.pt>
1954 * insethfill.[Ch] (linuxdoc, docbook): implement output
1955 * insetspace.C (linuxdoc, docbook): remove coments as the code
1958 2003-06-06 José Matos <jamatos@fep.up.pt>
1960 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1962 2003-06-06 André Pönitz <poenitz@gmx.net>
1964 * insetwrap.[Ch]: code compactification
1966 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1968 * mailinset.C (updateDialog): use Dialogs::visible
1970 2003-06-04 Angus Leeming <leeming@lyx.org>
1972 * graphicinset.C (draw): add a comment for the #if 0 block.
1974 * insetexternal.h: remove Params::parameters variable.
1975 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1976 and read it back making full use of LyXLex.
1978 2003-06-04 André Pönitz <poenitz@gmx.net>
1980 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1982 2003-06-04 John Levon <levon@movementarian.org>
1984 * insettabular.C: back out tall table speed up. It was broken
1986 2003-06-03 Angus Leeming <leeming@lyx.org>
1988 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1989 Remove ViewCommand and UpdateCommand.
1991 * graphicinset.C (update): bug fix. Set the params before calling the
1993 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1994 BufferView cache to enable the InsetExternal::editCommand to be invoked
1995 from the frontends. Would not be needed if this were dispatched properly.
1996 (old_ascent_): variable removed.
1998 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1999 do any necessary conversions of external material. Also use the
2000 new GraphicsInset to display the inset within LyX.
2002 2003-06-03 Angus Leeming <leeming@lyx.org>
2004 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2005 and move it somewhere where InsetExternal can use it too.
2007 * Makefile.am: add the new files.
2009 * insetgraphics.[Ch]: make use of the new GraphicInset.
2011 2003-06-03 John Levon <levon@movementarian.org>
2014 * insetbibitem.[Ch]:
2017 * insetcommand.[Ch]:
2021 * insetexternal.[Ch]:
2025 * insetgraphics.[Ch]:
2027 * insetinclude.[Ch]:
2030 * insetlatexaccent.[Ch]:
2031 * insetmarginal.[Ch]:
2032 * insetminipage.[Ch]:
2039 * insetspecialchar.[Ch]:
2040 * insettabular.[Ch]:
2042 * insetthereom.[Ch]:
2045 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2047 * insetgraphics.[Ch]:
2048 * insetgraphicsParams.[Ch]: always store an absolute
2051 2003-06-02 André Pönitz <poenitz@gmx.net>
2055 * insetlatexaccent.C: remove duplicated call to metrics()
2057 2003-06-02 John Levon <levon@movementarian.org>
2059 * insettabular.C: fix resize of column width
2061 2003-06-02 John Levon <levon@movementarian.org>
2066 * insetparent.C: remove insetparent
2068 2003-06-02 André Pönitz <poenitz@gmx.net>
2075 * insetcollapsable.[Ch]:
2079 * insetgraphics.[Ch]:
2080 * insetinclude.[Ch]:
2081 * insetlatexaccent.[Ch]:
2082 * insetminipage.[Ch]:
2083 * insetnewline.[Ch]:
2086 * insetspecialchar.[Ch]:
2087 * insettabular.[Ch]:
2088 * insettext.[Ch]: unify first drawing phase
2091 * insetbase.h: move validate() to the base
2093 2003-05-31 Angus Leeming <leeming@lyx.org>
2095 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2097 2003-05-30 André Pönitz <poenitz@gmx.net>
2102 * insetcaption.[Ch]:
2103 * insetcollapsable.[Ch]:
2106 * insetgraphics.[Ch]:
2107 * insetinclude.[Ch]:
2108 * insetlatexaccent.[Ch]:
2109 * insetnewline.[Ch]:
2112 * insetspecialchar.[Ch]:
2113 * insettabular.[Ch]:
2115 * updatableinset.[Ch]: unify second drawing phase
2117 2003-05-30 John Levon <levon@movementarian.org>
2119 * insetgraphics.C: fix a bformat
2121 2003-05-29 John Levon <levon@movementarian.org>
2123 * insettabular.C: remove unused bufferOwner()
2125 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2127 * insettext.C (lockInsetInInset): adjust
2128 (getLabelList): use const_iterator, adjust
2129 (getInsetFromID): use const_iterator, adjust
2130 (addPreview): use const_iterator, adjust
2132 * insetwrap.C (clone): remove const_cast
2134 * insetnote.C (clone): remove const_cast
2136 * insetminipage.C (clone): remove const_cast
2138 * insetmarginal.C (clone): remove const_cast
2140 * insetfoot.C (clone): remove const_cast
2142 * insetfloat.C (clone): remove const_cast
2144 * insetert.C (clone): remove const_cast
2146 * delete commented same_id functions from a lot of files.
2148 2003-05-28 John Levon <levon@movementarian.org>
2154 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2156 * insetminipage.C: fix metrics (bug 1144)
2158 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2160 * insettext.C (saveLyXTextState): adjust
2161 (restoreLyXTextState): adjust
2164 (unlockInsetInInset): adjust
2165 (localDispatch): adjust
2166 (getLyXText): adjust
2168 * insettabular.C (insertAsciiString): adjust
2170 2003-05-27 André Pönitz <poenitz@gmx.net>
2173 * insetcollapsable.C:
2176 * insetlatexaccent.C:
2181 * insetspecialchar.C:
2183 * insettext.C: dim.w -> dim.wid
2185 2003-05-26 John Levon <levon@movementarian.org>
2187 * insettabular.C: avoid drawing all of a long table
2188 if it's not needed. A big speedup
2190 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2192 * remove same_id from function signatures, adjust
2194 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2196 * insettext.C (InsetText): adjust
2198 (setParagraphData): separate same_id cases, adjust
2199 (appendParagraphs): adjust
2200 (appendParagraphs): adjust
2202 2003-05-23 André Pönitz <poenitz@gmx.net>
2204 * insetbutton.h: whitespace
2206 * insettabular.C: more compact code
2208 * updatableinset.C: remove const_cast
2211 2003-05-23 Angus Leeming <leeming@lyx.org>
2213 * insetexternal.C (write): check how many lines are output.
2214 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2215 if the template has defined it.
2217 2003-05-23 Angus Leeming <leeming@lyx.org>
2219 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2221 2003-05-23 Angus Leeming <leeming@lyx.org>
2223 * insetfoot.C (latex):
2224 * inseturl.C (latex): rename fragile as moving_arg.
2226 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2228 * inseterror.C (localDispatch): comment out unused var.
2230 2003-05-22 Angus Leeming <leeming@lyx.org>
2232 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2233 passed through the LatexRunParams arg.
2235 2003-05-22 Angus Leeming <leeming@lyx.org>
2237 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2238 through the LatexRunParams arg.
2240 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2241 arg rather than through a global var.
2243 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2245 * insetspecialchar.C (dimension): use a string.
2247 2003-05-22 Angus Leeming <leeming@lyx.org>
2249 * insetbibtex.C (latex):
2250 * insetgraphics.C (latex):
2251 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2252 runparams rather than from the buffer itself.
2254 2003-05-22 Angus Leeming <leeming@lyx.org>
2256 * inset*.[Ch] (latex):
2257 passed a LatexRunParams parameter.
2259 * insetgraphics.C (latex): actually use it ;-)
2261 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2263 * insetfloat.C (addToToc): trivial compile fix
2265 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2267 * insettext.[Ch] (paragraph): delete unused function
2269 * insetfloat.C (addToToc): parlist simplfication
2271 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2273 * insetspace.[Ch]: added (new space insets)
2275 * inset.h: handle new space insets
2277 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2279 * insetfloat.C (addToToc): adjust
2281 2003-05-21 André Pönitz <poenitz@gmx.net>
2283 * insettext.[Ch]: fix drawing bug introduced earlier
2285 2003-05-19 André Pönitz <poenitz@gmx.net>
2287 * insetspecialchar.C: fix bug introduced yesterday
2289 2003-05-19 André Pönitz <poenitz@gmx.net>
2293 * insetcollapsable.[Ch]:
2297 * insetgraphics.[Ch]:
2298 * insetgraphicsParams.[Ch]:
2299 * insetlatexaccent.[Ch]:
2300 * insetminipage.[Ch]:
2301 * insetnewline.[Ch]:
2303 * insetspecialchar.[Ch]:
2304 * insettabular.[Ch]:
2305 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2307 2003-05-19 André Pönitz <poenitz@gmx.net>
2310 * insettext.C: more insetenv
2312 2003-05-16 André Pönitz <poenitz@gmx.net>
2315 * insetminimpage.[Ch]:
2316 * insetcollapsable.[Ch]: fix #832
2318 2003-05-16 André Pönitz <poenitz@gmx.net>
2321 * insetbibitem.[Ch]:
2325 * insetcollapsable.[Ch]:
2326 * insetcommand.[Ch]:
2329 * insetexternal.[Ch]:
2330 * insetfloatlist.[Ch]:
2331 * insetgraphics.[Ch]:
2332 * insetinclude.[Ch]:
2335 * insetlatexaccent.[Ch]:
2338 * insettabular.[Ch]:
2342 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2344 2003-05-13 André Pönitz <poenitz@gmx.net>
2347 * insetcollapsable.C:
2351 * insetwrap.C: tostr from own header
2363 * insetwrap.C: STRCONV
2366 2003-05-12 André Pönitz <poenitz@gmx.net>
2378 * insetwwrap.C: boost::format -> bformat all over the place
2380 2003-05-05 André Pönitz <poenitz@gmx.net>
2382 * insettext.h: add missing #include <map>
2384 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2386 * insettext.C (InsetText): parlist cleanup
2389 (insetUnlock): ditto
2391 (lockInsetInInset): ditto
2395 (searchBackward): ditto
2396 (collapseParagraphs): ditto
2398 2003-05-06 John Levon <levon@movementarian.org>
2400 * insetcaption.C: don't cast wrap inset to InsetFloat
2403 * insetfloat.C: remove unneeded type() function
2405 2003-05-05 André Pönitz <poenitz@gmx.net>
2409 * insettabular.[Ch]:
2410 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2411 replace getFirstParagraph() by getParagraphs()
2413 2003-05-03 John Levon <levon@movementarian.org>
2415 * insetcollapsable.h:
2416 * insetcollapsable.C:
2422 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2423 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2424 getCursor(). Remove explicit cursor hides.
2426 2003-05-02 André Pönitz <poenitz@gmx.net>
2428 * insettext.C: remove unneeded &*
2430 2003-04-30 John Levon <levon@movementarian.org>
2432 * insettabular.C: fix edit message
2434 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2436 * insettext.C (setFont): do not convert iterator -> pointer
2438 * insettabular.C (localDispatch): do not convert iterator -> pointer
2440 (tabularFeatures): ditto
2442 2003-04-29 André Pönitz <poenitz@gmx.net>
2444 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2446 2003-04-28 André Pönitz <poenitz@gmx.net>
2448 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2451 2003-04-25 André Pönitz <poenitz@gmx.net>
2453 * insetenv.C: derive from InsetText instead of InsetCollapsable
2455 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2457 * insetexternal.C (string2params): dont do anything if the string
2459 * insetgraphics.C (string2params): ditto
2460 * insetcommand.C (string2params): ditto
2461 * insetert.C (string2params): ditto
2462 * insetfloat.C (string2params): ditto
2463 * insetinclude.C (string2params): ditto
2464 * insetminipage.C (string2params): ditto
2465 * insettabular.C (string2params): ditto
2466 * insetwrap.C (string2params): ditto
2468 2003-04-24 André Pönitz <poenitz@gmx.net>
2470 * insetref.C: support for eqref
2472 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2474 * insetert.C (read): use ParagraphList::iterator.
2476 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2478 * insetquotes.C (latex): comment some code and add warnings.
2480 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2482 * insetexternal.C (localDispatch): added a missing DISPATCHED
2484 2003-04-12 John Levon <levon@movementarian.org>
2486 * insetwrap.C (addToToc): fix a crash, conversion
2487 from while to for loop forgot to remove the explicit
2490 2003-04-10 John Levon <levon@movementarian.org>
2492 * insettabular.C (tabularFeature): make sure
2493 to update the dialog when we change something
2496 (getStatus): don't disable some lfuns (bug 939)
2498 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2500 * insettext.C (saveLyXTextState): adjust
2501 (localDispatch): adjust
2507 * insettabular.C (localDispatch): adjust
2509 (tabularFeatures): adjust
2511 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2513 * insettabular.C (searchForward,searchBackward): fix bug 782
2515 2003-04-07 John Levon <levon@movementarian.org>
2518 * insettext.C: clear status message on inset exit
2520 2003-04-03 John Levon <levon@movementarian.org>
2522 * insetcommand.C: return dispatched on DIALOG_UPDATE
2524 2003-04-02 John Levon <levon@movementarian.org>
2526 * insettabular.C: tab lfuns renamed
2528 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2530 * insettext.C (update): move towards ParagraphList
2531 (updateLocal): ditto
2533 (insetUnlock): ditto
2535 (lockInsetInInset): ditto
2536 (updateInsetInInset): ditto
2537 (localDispatch): ditto
2540 (resizeLyXText): ditto
2541 (searchBackward): ditto
2542 (collapseParagraphs): ditto
2545 * insetwrap.C (InsetWrap): adjust
2546 (addToToc): adjust and rewrite loop
2548 * insettext.[Ch] (paragraph): delete function
2550 * insettabular.C (moveNextCell): adjust
2551 (movePrevCell): adjust
2552 (insertAsciiString): adjust
2554 * insetfloat.C (InsetFloat): adjust
2557 * insetert.C (InsetERT): adjust
2558 (write): adjust, and rewrite loop
2559 (latex): adjust, and rewrite loop
2560 (linuxdoc): adjust, and rewrite loop
2561 (docbook): adjust, and rewrite loop
2562 (localDispatch): adjust
2563 (get_new_label): adjust
2565 2003-04-01 John Levon <levon@movementarian.org>
2567 From Alfredo Braunstein
2570 * insetbutton.C: add localDispatch()
2572 * insetcommand.C: return DISPATCHED when edit() called
2574 * insettext.C: fix bug 967
2576 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2578 * insettext.C: adjust
2580 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2582 * insettext.C (draw): adjust
2583 (crow): return a RowList::iterator not a Row*
2585 * insetminipage.C (localDispatch): adjust
2587 * insetert.C (localDispatch): adjust
2589 2003-03-31 John Levon <levon@movementarian.org>
2592 * insetgraphicsParams.C: use_gui moved to lyx_gui
2594 2003-03-31 John Levon <levon@movementarian.org>
2596 * insettext.C: Alert fix
2598 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2600 * insettext.C (ascent): adjust for RowList
2603 (getLyXText): adjust
2604 (toggleSelection): adjust
2606 * insetminipage.C (localDispatch): adjust for RowList
2608 * insetert.C (localDispatch): adjust for RowList
2609 (getMaxWidth): adjust for RowList
2611 2003-03-29 John Levon <levon@movementarian.org>
2613 * insetert.C: Alert cleanup
2615 2003-03-29 John Levon <levon@movementarian.org>
2617 * insettabular.C: Alert fix
2619 2003-03-28 John Levon <levon@movementarian.org>
2621 * insetfloat.C: reset label on INSET_MODIFY
2623 2003-03-28 John Levon <levon@movementarian.org>
2625 * insetgraphicsParams.C: read subcaptionText as a whole line
2628 2003-03-28 John Levon <levon@movementarian.org>
2630 * insettext.C: remove unused prototypes
2632 2003-03-25 Angus Leeming <leeming@lyx.org>
2634 * insetbibitem.C (localDispatch): repaint the view after modifying
2635 a bibitem inset in case the maximum InsetBibitem width has changed.
2637 2003-03-25 John Levon <levon@movementarian.org>
2640 * insettabular.C: LyXText renamings
2642 2003-03-24 John Levon <levon@movementarian.org>
2644 * insettext.C: remove some dead code. Fix bug 972 and
2645 related by posting a repaint in updateLocal(), and making
2646 the SEL functions set SELECTION.
2648 2003-03-22 John Levon <levon@movementarian.org>
2651 * inset.C: remove no-longer-needed topx_set
2653 * insetcollapsable.h:
2654 * insetcollapsable.C: remove dead code
2657 * insetert.C: rebreak the rows when a possible
2658 change in size is made, and reset the cursor
2661 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2663 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2664 topx_set. Fix drawing errors for clearInset(). Remove
2665 some unnecessary uses of topx, which should die.
2667 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2668 is no longer needed. Replace it with an ugly hack.
2670 2003-03-20 John Levon <levon@movementarian.org>
2673 * insetcollapsable.h:
2674 * insetcollapsable.C:
2682 * insettext.C: remove spurious font parameter
2683 from update(). Fix drawing of ERT insets inside
2684 insets (bug 966). Remove unused mark_dirty from
2685 tabular's updateLocal()
2687 2003-03-19 John Levon <levon@movementarian.org>
2696 * insetwrap.C: remove unused getter/setters
2698 2003-03-19 John Levon <levon@movementarian.org>
2700 * several files: bv->updateInset() doesn't take
2701 a bool mark_dirty any more
2703 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2705 * adjust for BufferView* arg removal from lyxtext.
2707 2003-03-17 John Levon <levon@movementarian.org>
2709 * most files: remove the "cleared" parameter
2710 to draw in favour of always clearing. Associated
2713 2003-03-16 John Levon <levon@movementarian.org>
2715 * insettext.C: remove unused s.refresh
2717 2003-03-13 Angus Leeming <leeming@lyx.org>
2719 * insettext.C (edit): replace Dialogs::updateParagraph with
2720 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2722 2003-03-13 André Pönitz <poenitz@gmx.net>
2724 * Makefile.am: insert insetenv
2726 * insethenv.[Ch]: new files, currently inactive
2728 2003-03-12 John Levon <levon@movementarian.org>
2738 * insettext.C: use new insetnewline
2740 2003-03-12 John Levon <levon@movementarian.org>
2742 * insettext.C: readToken became readParagraph
2744 2003-03-12 John Levon <levon@movementarian.org>
2746 * insettext.C: use parlist iterator for reading contents
2748 2003-03-12 John Levon <levon@movementarian.org>
2750 * insettext.C: name change to readToken()
2752 2003-03-11 André Pönitz <poenitz@gmx.net>
2754 * Makefile.am: insert insethfill
2756 * insethfill.[Ch]: new files
2758 2003-03-10 Angus Leeming <leeming@lyx.org>
2760 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2762 (hideDialog): calls the new static Dialogs::hide() method.
2764 * insetbibitem.C (edit):
2765 * insetbibtex.C (edit):
2766 * insetcite.C (edit):
2767 * insetcommand.C (localDispatch):
2768 * inseterror.C (d-tor):
2769 * insetert.C (showInsetDialog):
2770 * insetexternal.C (localDispatch, edit):
2771 * insetfloat.C (localDispatch, showInsetDialog):
2772 * insetfloatlist.C (edit):
2773 * insetgraphics.C (localDispatch, edit):
2774 * insetinclude.C (localDispatch, edit):
2775 * insetindex.C (edit):
2776 * insetlabel.C (edit):
2777 * insetminipage.C (localDispatch, showInsetDialog):
2778 * insetref.C (edit):
2779 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2780 resetPos, showInsetDialog, openLayoutDialog):
2781 * insettoc.C (edit):
2782 * inseturl.C (edit):
2783 * insetwrap.C (localDispatch, showInsetDialog):
2784 changes due to the changed MailInset interface.
2786 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2788 * insetfloat.h: Set default placement to an empty string.
2790 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2792 * insettext.C (latex): adjust call to latexParagraphs.
2794 2003-03-10 Angus Leeming <leeming@lyx.org>
2796 * mailinset.C: warn the user if the BufferView has not been cached.
2798 2003-03-10 Angus Leeming <leeming@lyx.org>
2800 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2802 * insetcommand.h (inset):
2803 * insetert.h (inset):
2804 * insetexternal.h (inset):
2805 * insetfloat.h (inset):
2806 * insetgraphics.h (inset):
2807 * insetinclude.h (inset):
2808 * insetminipage.h (inset):
2809 * insettabular.h (inset):
2810 * insetwrap.h (inset):
2811 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2813 2003-03-10 Angus Leeming <leeming@lyx.org>
2815 * insetcommand.C (string2params):
2816 * insetexternal.C (string2params):
2817 * insetfloat.C (string2params):
2818 * insetgraphics.C (string2params):
2819 * insetinclude.C (string2params):
2820 * insetminipage.C (string2params):
2821 * insettabular.C (string2params):
2822 * insetwrap.C (string2params): cure warning message about missing
2825 2003-03-09 Angus Leeming <leeming@lyx.org>
2827 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2828 it to communicate with the frontend dialogs.
2830 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2831 contents of this inset!
2833 2003-03-07 Angus Leeming <leeming@lyx.org>
2835 * inseterror.C (localDispatch): new method; calls edit() on
2838 2003-03-07 Angus Leeming <leeming@lyx.org>
2840 * insetbibitem.C (localDispatch):
2841 * insetbibtex.C (localDispatch):
2842 * insetlabel.C (localDispatch):
2843 rewrite as a switch.
2845 2003-03-07 Angus Leeming <leeming@lyx.org>
2847 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2848 it to communicate with the frontend dialogs.
2850 2003-03-07 Angus Leeming <leeming@lyx.org>
2852 * insetexternal.C: remove operator== and operator!= for
2853 InsetExternal::Params. They were used only by the old controller
2856 2003-03-07 Angus Leeming <leeming@lyx.org>
2858 * insetcommand.C (localDispatch):
2859 * insetexternal.C (localDispatch):
2860 * insetfloat.C (localDispatch):
2861 * insetinclude.C (localDispatch):
2862 * insetminipage.C (localDispatch):
2863 * insetwrap.C (localDispatch):
2864 add LFUN_INSET_DIALOG_UPDATE to the switch.
2866 2003-03-07 Angus Leeming <leeming@lyx.org>
2868 * insetcommand.C (string2params):
2869 * insetexternal.C (string2params):
2870 * insetfloat.C (string2params):
2871 * insetinclude.C (string2params):
2872 * insetwrap.C (string2params): use LyXLeX more.
2875 * insetexternal.[Ch]:
2877 * insetinclude.[Ch]:
2878 * insetwrap.[Ch]: change Mailer::name_ to be static.
2880 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2881 it to communicate with the frontend dialogs.
2883 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2886 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2888 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2890 * insettext.C (updateLocal): un-const function
2891 (updateLocal): adjust
2892 (collapseParagraphs): un-const function
2893 (collapseParagraphs): adjust
2895 2003-03-05 Angus Leeming <leeming@lyx.org>
2897 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2898 it to communicate with the frontend dialogs.
2900 2003-03-05 Angus Leeming <leeming@lyx.org>
2902 * insetcollapsable.C (draw): cache the BufferView.
2904 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2905 it to communicate with the frontend dialogs.
2907 2003-03-05 Angus Leeming <leeming@lyx.org>
2909 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2912 2003-03-05 Angus Leeming <leeming@lyx.org>
2914 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2916 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2917 it to communicate with the frontend dialogs.
2919 2003-03-05 Angus Leeming <leeming@lyx.org>
2921 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2922 it to communicate with the frontend dialogs.
2924 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2926 * insettext.C (collapseParagraphs): adjust
2927 (appendParagraphs): make it take a Buffer* instead of a
2928 BufferParams& as arg.
2929 (appendParagraphs): adjust
2931 2003-03-04 Angus Leeming <leeming@lyx.org>
2933 * insetbibitem.C (localDispatch):
2934 * insetbibtex.C (localDispatch):
2935 * insetcommand.C (localDispatch):
2936 * insetert.C (localDispatch):
2937 * insetlabel.C (localDispatch):
2938 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2940 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2942 * insettext.C (latex): adjust for ParagraphList::iterator
2944 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2946 * insetbutton.C (view): adjust for boost 1.30.0
2947 * insetcollapsable.C (view): ditto
2948 * insetgraphics.C (statusChanged): ditto
2950 * insettext.h: move paragraphs to be public.
2952 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2954 * insetnote.[Ch] (InsetNote): remove unused constructor
2956 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2958 * insetgraphics.C: added include "format.h"
2960 2003-02-27 Angus Leeming <leeming@lyx.org>
2962 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2965 2003-02-27 Angus Leeming <leeming@lyx.org>
2967 * insetbibitem.C (localDispatch):
2968 * insetbibtex.C (localDispatch):
2971 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2973 2003-02-26 Angus Leeming <leeming@lyx.org>
2975 * insetbibitem.[Ch] (localDispatch):
2976 * insetbibtex.[Ch] (localDispatch):
2977 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2979 * insetcommand.C (localDispatch):
2980 act only on receipt of LFUN_XYZ_APPLY.
2982 * insetert.C (localDispatch): reformat.
2983 add LFUN_XYZ_APPLY to the switch.
2985 2003-02-26 John Levon <levon@movementarian.org>
2987 * insettext.C: use RowPainter
2989 * inset.h: make helpers take const *
2991 2003-02-26 Angus Leeming <leeming@lyx.org>
2993 * insetcommand.[Ch] (localDispatch): new method.
2995 2003-02-26 Angus Leeming <leeming@lyx.org>
2997 * insetinclude.C (draw): cache the BufferView* using cache not
2998 PreviewImpl::setView
3000 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3002 * insetgraphics.C (draw)
3003 * insetinclude.C (draw): Eliminate also the other argument (owner
3004 inset inset) in the call to PreviewImage::image
3006 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3008 * insetgraphics.C (draw)
3009 * insetinclude.C (draw): Eliminate Buferview argument in call to
3012 2003-02-25 John Levon <levon@movementarian.org>
3014 * insetgraphicsParams.h:
3015 * insetgraphics.C: don't start a load process if
3016 the inset is set to NoDisplay (bug #920)
3018 2003-02-22 John Levon <levon@movementarian.org>
3021 * insetwrap.C: TocItem changed API (bug 913)
3023 2003-02-21 Angus Leeming <leeming@lyx.org>
3025 * insetcollapsable.[Ch] (cache, edit):
3026 * insetbutton.[Ch] (cache, edit): new methods to cache the
3027 BufferView in the draw method.
3029 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3030 simplify comunication between InsetCommand-derived classes and
3033 * insetbibitem.[Ch]:
3037 * insetfloatlist.[Ch]:
3041 * inseturl.[Ch]: small changes to reflect the new interface to the
3044 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3045 other, similar classes.
3047 * Makefile.am: add new files.
3049 2003-02-21 Angus Leeming <leeming@lyx.org>
3051 * updatableinset.h (setView, view): remove.
3052 * inset.h (view, cache): to be replaced by these.
3054 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3057 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3060 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3062 2003-02-21 Allan Rae <rae@lyx.org>
3064 * insetinclude.C (loadIfNeeded): ensure loading also works when
3065 child document is under version control.
3067 2003-02-17 André Pönitz <poenitz@gmx.net>
3069 * insetbib.[Ch]: Adjust access to bibkeys
3071 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3073 * insetquotes.C (dispString): remove use of acute accent for "'"
3076 2003-02-14 John Levon <levon@movementarian.org>
3078 * insettabular.C: changed method names in tabular.C
3080 2003-02-14 John Levon <levon@movementarian.org>
3084 * insetcollapsable.h:
3085 * insetcollapsable.C:
3089 * insettext.C: remove unused getParFromID()
3091 2003-02-13 John Levon <levon@movementarian.org>
3094 * insettext.C: remove unused beginningofMainBody()
3096 2003-02-08 John Levon <levon@movementarian.org>
3100 * insetcollapsable.h:
3101 * insetcollapsable.C:
3106 add nextChange(). Make allowSpellcheck() const. Add markErased().
3108 * insetert.C: ignore deleted text
3110 * insettabular.C: make sure to keep change tracking working
3113 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3118 * insettext.C: Use error messages with identical spelling and punctuation
3120 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3122 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3124 2002-12-17 Juergen Vigna <jug@lyx.org>
3126 * insettext.C (localDispatch): hopefully fixed cursor up down
3127 movement on leaving other insets.
3129 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3131 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3134 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3136 * insetgraphics.C (prepareFile): do not remove the extension of
3137 the file name if it is not the default extension for the given
3138 format (that is, in latex output, remove extension from foo.eps,
3139 but not from foo.epsi)
3141 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3143 * insettext.C (lfunMouseRelease): hackish solution to the "double
3146 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3148 * insetfloat.C (addToToc): use the floats name not its type
3149 * insetwrap.C (addToToc): ditto
3151 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3153 * insetnote.C (init): make label font smaller
3155 2002-12-04 John Levon <levon@movementarian.org>
3157 * insetinclude.C: ressurect setting of command name
3159 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * insetquotes.C (dispString): disambiguate insert call
3163 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3165 * several files: ws changes
3167 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * insetquotes.C (dispString): use string::insert for prepending a
3172 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3174 * insetparent.C (getScreenLabel): use boost::format
3176 * insetgraphics.C (prepareFile): use boost::format
3179 * insetfloatlist.C (latex): use boost::format
3181 * insetcaption.C (draw): use boost::format
3183 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3185 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3188 2002-11-20 Juergen Vigna <jug@sad.it>
3190 * insettabular.C (resetPos): temporary fix for endless loop in
3191 this function on a redraw.
3193 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3195 * insettabular.C (copySelection): STRCONV
3197 * insetinclude.C (uniqueID): STRCONV
3198 (latexString): ditto
3200 * insetgraphics.C: put VersionNumber inside anon namespace
3201 (createLatexOptions): STRCONV
3203 * insetcommandparams.C: include config.h
3205 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3207 * insetgraphicsParams.C (Write): use lyx::float_equal.
3208 Write height data correctly.
3209 (Read): zero scale when reading height data.
3211 2002-10-30 John Levon <levon@movementarian.org>
3213 * insetfloat.C (addToTOC): recursively traverse all
3214 contents looking for captions (fix #568)
3216 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3218 * insetexternal.C (doSubstitution): do not try to replace
3219 environment variables, this is done when executing the command
3221 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3223 * insetexternal.C (doSubstitution): change order of substitution
3224 to work around ReplaceEnvironmentPath brokenness
3226 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3228 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3230 * insetgraphicsParams.C (init, Write): associated changes
3231 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3232 InsetGraphicsParams::scale.
3234 2002-10-21 John Levon <levon@movementarian.org>
3236 * inset.h: remove unused DISPATCH_RESULT
3238 * insettext.C: sgml open/close tag now in sgml namespace
3240 2002-10-21 Angus Leeming <leeming@lyx.org>
3242 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3243 file path subdir/fig.eps when pasting it into a buffer in a different
3246 2002-10-16 John Levon <levon@movementarian.org>
3248 * insetspecialchar.C: remove \\protected_separator parsing
3250 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3252 * insetquote.C: fix LaTeX output of quotation marks.
3254 2002-10-14 Juergen Vigna <jug@sad.it>
3256 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3257 Backspace functions which confused the Undo handling.
3259 2002-10-09 Angus Leeming <leeming@lyx.org>
3261 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3262 BufferView::dispatch that turns off this optimisation when a new inset
3265 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3266 reload the BibTeX keys.
3268 2002-10-11 André Pönitz <poenitz@gmx.net>
3270 * insettext.h: handle LFUN_PRIOR/NEXT
3272 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3274 * insetfloat.C: fix bug with float settings
3275 (document default != float default).
3277 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3279 * insetwrap.C (addToToc): New method.
3280 (InsetWrap): Set layout to caption.
3282 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3284 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3286 2002-09-16 John Levon <levon@movementarian.org>
3288 * insettabular.h: hasSelection() needs to be public
3290 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3292 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3294 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3296 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3298 2002-09-11 André Pönitz <poenitz@gmx.net>
3300 * insettabular.C: implement LFUN_WORDSEL
3302 2002-09-10 John Levon <levon@movementarian.org>
3304 * insetinclude.h: remove unused param
3306 2002-09-09 John Levon <levon@movementarian.org>
3309 * insetinclude.C: remove noload, default to input
3311 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3313 * insetgraphics.C: disfuscated use of ']' in built output string.
3315 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3319 2002-08-29 Juergen Vigna <jug@sad.it>
3321 * insettabular.C (lfunMousePress): Pay attention where you set
3322 the x/y values as they depend on which inset in the tabular is
3323 actually locked. So you surely have to reset them if you (un)lock
3326 2002-08-29 André Pönitz <poenitz@gmx.net>
3328 * insetfootlike.h: rename include guard to ALL CAPS
3330 * insettext.C: swap object and first parameter for checkInsetHit calls
3331 as this functions has moved from BufferView to LyXText
3334 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3336 * insetgraphicsParams.C: remove local displayTranslator and use
3337 the one from graphics/GraphicsTypes.h.
3339 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3341 * insetfloat.C (wide): add BufferParams parameter
3343 * insetfloatlist.C (read):
3346 * insetfloat.C (latex):
3348 * insetcaption.C (draw): use LyXTextClass::floats()
3350 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3352 * insetoptarg.h: add std:: qualifier.
3354 2002-08-26 Juergen Vigna <jug@sad.it>
3356 * insettext.C (localDispatch): ditto.
3358 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3360 2002-08-25 John Levon <levon@movementarian.org>
3362 * inseturl.C: elide long URLs (bug 404)
3364 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3366 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3367 remove "Format Version <version_no.>" string from inset header
3370 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3372 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3373 a member of "grfx::Params" anymore.
3375 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3377 2002-08-24 John Levon <levon@movementarian.org>
3380 * insetoptarg.C: ws, pedantry ...
3382 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3384 * insettext.C (collapseParagraphs): pasteParagraph now in global
3386 (appendParagraphs): ditto
3388 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3390 * insetcite.C (latex): Remove spaces only after commmas.
3392 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3394 * insettext.C: remove NO_COMPABILITY stuff
3396 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3398 * insettext.C (edit): use ParagraphList iterators
3400 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3401 (bibitemWidest): ditto
3403 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3405 * insettext.C: include <boost/bind.hpp>
3406 add using std::for_each
3407 (saveLyXTextState): use ParagraphsList::iterator
3408 (init): use for_each on paragraphlist iterators
3409 (InsetText): remove superflous setting cached_bview to 0
3410 (latex): reformat a bit
3411 (ascii): use paragraphlist iterators
3412 (validate): use for_each + boost bind
3413 (getLabelList): use paragraphlist iterators
3414 (deleteLyXText): use for_each + boost::bind
3415 (resizeLyXText): ditto
3416 (reinitLyXText): ditto
3417 (removeNewlines): use paragraphlist iterators
3418 (getParFromID): ditto
3419 (paragraph): use for_each + boost::bind
3420 (getInsetFromID): use paragraphlist iterators
3421 (getLabelList): typo fix
3423 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3425 * insettext.C (read): assign tmp to paragraphs after return from
3426 call to parseSingleLyXformat2Token
3429 2002-08-13 Angus Leeming <leeming@lyx.org>
3448 changes due to the changed LyXView interface that now returns references
3449 to member variables not pointers.
3451 2002-08-13 Angus Leeming <leeming@lyx.org>
3454 * insetcollapsable.h:
3457 * insettext.h: forward-declare WordLangTuple
3458 (selectNextWordToSpellcheck) constify return type.
3461 * insetcollapsable.C:
3464 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3466 2002-08-12 Angus Leeming <leeming@lyx.org>
3468 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3470 2002-08-12 Juergen Vigna <jug@sad.it>
3472 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3475 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3477 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3478 (bibitemWidest): ditto
3479 * insettext.[Ch]: ditto
3481 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3483 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3485 2002-08-09 Angus Leeming <leeming@lyx.org>
3487 * insetinclude.C (latexString): remove fudge now that I've found out
3488 how to enable LaTeX to find the file using input@path.
3490 2002-08-09 John Levon <levon@movementarian.org>
3493 * insettext.C: remove unused xpos
3495 2002-08-07 Juergen Vigna <jug@lyx.org>
3497 * insettabular.C (localDispatch): make delete not put the stuff
3498 in the clipboard only do this on a cut operation.
3500 * insettext.C (localDispatch): make delete and backspace not put
3501 selected stuff to the clipboard.
3503 2002-08-07 André Pönitz <poenitz@gmx.net>
3506 * insetcollapsable.[Ch]:
3510 * insettabular.[Ch]:
3511 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3513 2002-08-06 John Levon <levon@movementarian.org>
3517 * insetcollapsable.h:
3518 * insetcollapsable.C:
3524 * insettext.C: use WordLangTuple for spellcheck
3526 2002-08-06 Angus Leeming <leeming@lyx.org>
3528 * insetinclude.C: add a monitor to the previewed image, so that the
3529 image is refreshed if the \input-ed file changes.
3531 2002-08-04 John Levon <levon@movementarian.org>
3534 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3536 2002-08-02 Angus Leeming <leeming@lyx.org>
3538 * insetcommandparams.[Ch] (preview): new methods returning and setting
3539 a new bool preview_ flag.
3540 (read): read this flag.
3541 (operator==): add flag to check.
3543 * insetinclude.C (write): output new preview() flag.
3544 (previewWanted): use this flag.
3546 2002-08-02 Angus Leeming <leeming@lyx.org>
3548 * insetcollapsable.[Ch] (addPreview):
3549 * insettabular.[Ch] (addPreview):
3550 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3551 for insets in insets.
3553 2002-08-02 Angus Leeming <leeming@lyx.org>
3555 * insetcite.C: fix typo.
3557 * insetgraphics.C: kill current_view and instead cache the BufferView
3560 * insetinclude.C: kill current_view and pass the BufferView to the
3561 PreviewedInset so that it can cache it.
3563 2002-08-01 Angus Leeming <leeming@lyx.org>
3565 * inset.h (generatePreview): renamed as addPreview.
3566 (generatePreview): new method. Allows code to be moved out of
3567 math_nestinset.C and into the new PreviewedInset class.
3569 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3570 add previews to the inset when \input-ing LaTeX.
3572 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3574 * several files: strip,frontStrip -> trim,ltrim,rtrim
3576 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3578 * insetbib.C (latex): modify because of strip changes
3580 * insetnote.C (InsetNote): ditto
3582 2002-07-26 Juergen Vigna <jug@sad.it>
3584 * insettabular.C (searchForward): check for lastcell if we
3585 had a locking inset.
3587 2002-07-25 Juergen Vigna <jug@sad.it>
3589 * insettabular.C (insetMotionNotify): Don't update the screen
3590 if we didn't do nothing.
3591 (searchForward): last cell was not checked.
3593 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3595 * insetfloat.C (read, write): Allow default placement
3596 (floatPlacement_ is empty).
3598 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3600 * insetminipage.h (noFontChange):
3601 * insettabular.h (noFontChange):
3602 * insetfootlike.h (noFontChange):
3603 * insetfloat.h (noFontChange): return true
3605 * inset.h (noFontChange): new method, defaulting to false
3607 2002-07-22 Herbert Voss <voss@lyx.org>
3609 * insetgraphicsParams.[Ch]: support size_type for old docs
3611 2002-07-22 Herbert Voss <voss@lyx.org>
3614 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3617 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3619 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3621 * insetlatexaccent.h: do not include "lyxlex.h"
3623 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3626 * insetlatexaccent.C:
3630 * insetbib.C: #include "lyxlex.h"
3636 * insettext.C: use BufferParams::getLyXTextClass
3639 * insetfloat.C (addToToc): new method. Add to toclist the entries
3640 corresponding to Caption layouts
3641 (InsetFloat): when creating a new float, set the layout to "Caption"
3643 2002-07-21 Herbert Voss <voss@lyx.org>
3645 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3646 image relevant part into graphics/GraphicsImgae.C
3648 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3650 * insettoc.C (ascii):
3651 * insetfloatlist.C (ascii): change to use the new Toc functions
3652 instead of stuff that was in Buffer
3654 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3656 * insettext.C (localDispatch): BufferView::Dispatch has been
3657 renamed to BufferView::dispatch
3659 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3661 * insetgraphicsParams.C (as_grfxParams): use the new
3662 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3663 1.2.0 patch, and I do not really know how to adapt it to the new
3664 grfx::Cache world. Angus, please could you have a look?
3666 2002-05-01 Herbert Voss <voss@lyx.org>
3668 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3670 2002-07-18 Angus Leeming <leeming@lyx.org>
3672 * insetgraphics.C: clean-up comments (from Herbert).
3673 add a new checksum variable to the cache. Use it in PrepareFile.
3674 (draw): start monitoring the file for a change.
3675 (prepareFile): re-arrange a little to avoid unnecessary steps.
3677 2002-07-17 Angus Leeming <leeming@lyx.org>
3679 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3680 a method rather than to the signal directly.
3682 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3684 * insettext.C: use view_state_changed, switchKeyMap
3686 2002-07-17 Herbert Voss <voss@perce.de>
3688 * insetgraphics.C (prepareFile): keep the extension when
3689 exporting to nice file
3691 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3693 * insetcite.C (getNatbibLabel):
3694 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3696 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3698 * insetgraphics.C: use ->isDrawable()
3700 2002-07-12 Angus Leeming <leeming@lyx.org>
3702 * insetgraphics.C: use the new smart loading capabilities of the image
3705 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3707 * insettabular.C (edit): Move into correct cell when entering a
3710 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3713 2002-07-05 Angus Leeming <leeming@lyx.org>
3715 * inset.h (generatePreview): new virtual method.
3717 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3719 * insetcommandparams.[Ch] (operator=): move out of class
3720 (operator!): move out of class
3722 2002-07-04 André Pönitz <poenitz@gmx.net>
3724 * insetcommandparams.[Ch]: new files
3726 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3728 2002-06-15 Herbert Voss <voss@perce.de>
3730 * insetgraphics.C (prepareFile): bugfix; return always
3731 files without extension
3733 2002-06-28 Angus Leeming <leeming@lyx.org>
3735 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3736 rename asGParams -> as_grfxParams.
3738 * insetgraphics.C: reflect above change.
3740 2002-06-26 Angus Leeming <leeming@lyx.org>
3742 * insetgraphics.h: use boost::scoped_ptr in preference to
3745 2002-06-26 Angus Leeming <leeming@lyx.org>
3747 * insetgraphics.C: moved the image loading stuff into a new class
3748 grfx::Loader. Simplifies this file enormously.
3750 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3752 * insetgraphicsParams.C: changes aassociated with moving
3753 grfx::DisplayType out of grfx::GParams.
3755 2002-06-26 André Pönitz <poenitz@gmx.net>
3757 * insetgraphics.C: use os::external_path where necesaary according to a
3758 patch from Claus Hentschel)
3760 2002-06-25 Angus Leeming <leeming@lyx.org>
3762 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3763 generating a pixmap once the graphics file is loaded into memory.
3764 The current_view ugliness that was in grfx::ModifiedImage has been
3765 moved here now that grfx::ModifiedImage is no more.
3767 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3769 * insettext.C: layout as layout
3771 2002-05-28 André Pönitz <poenitz@gmx.net>
3773 * insetfloatlist.h: remove source of compiler warning
3775 * insetref.C: tiny whitespace
3777 2002-06-15 Herbert Voss <voss@perce.de>
3779 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3780 and take always convert when no userdefined converter was
3782 (latex) small changes in the lyxerr output
3784 2002-06-15 LyX Development team <lyx@rilke>
3786 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3787 mixed content. Small white spaces clean.
3789 2002-06-14 Angus Leeming <leeming@lyx.org>
3791 * inseetexternal.C: remove the using std::difftime declaration.
3793 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3795 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3797 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3799 * insetquotes.C (draw): fix drawing of double quotes
3801 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3803 * insettabular.C: s/scrollCB/scrollDocView/
3805 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3807 * insettext.C: change of topCursorVisible()
3810 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3813 * insettext.C: rename/change of LyXScreen
3815 2002-06-07 Angus Leeming <leeming@lyx.org>
3817 Fixes needed to compile with Compaq cxx 6.5.
3819 all c-library variables have been moved into namespace std.
3820 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3822 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3824 * insetinclude.C (uniqueID):
3825 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3826 conflicted with some AIX headers.
3828 2002-05-31 Juergen Vigna <jug@sad.it>
3830 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3834 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3836 * insetexternal.C (clone): fix () bug when using new
3837 (updateExternal): don't only look for difftime in global scope
3839 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3841 * insettabular.C: add const
3843 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3845 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3846 file name, in case there are weird characters like ',' in there.
3849 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3851 * switch from SigC signals to boost::signals.
3853 2002-05-28 André Pönitz <poenitz@gmx.net>
3855 * insets/insetgraphicsParams.[Ch]:
3856 put in inset related stuff from src/graphic
3858 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3866 * insetcollapsable.C:
3867 * insetcollapsable.h:
3895 * inseturl.h: use mouse_state. Kill insetKeyPress
3897 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3902 * insetcollapsable.C:
3905 * insetlatexaccent.C:
3907 * insetspecialchar.C:
3909 * insettext.C: name change for font metrics
3911 2002-05-24 Juergen Vigna <jug@sad.it>
3913 * insetgraphics.h: include inset.h first (for LString.h)
3915 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3917 * insettext.C: screen moved
3919 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3937 * inseturl.C: LyXView moved into frontends/
3939 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3944 * insetcollapsable.C:
3948 * insetgraphicsParams.C:
3949 * insetlatexaccent.C:
3951 * insetspecialchar.C:
3953 * insettext.C: move Painter to frontends/
3955 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3957 * insettabular.h: use more specific smart_ptr header.
3958 * insettext.h: ditto
3960 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3963 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3965 * insettext.C: clear selection on paste (bug 393)
3967 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3969 * insettext.C (latex): Honor the moving_arg argument.
3971 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3973 * insetfoot.C (latex): if a footnote is in a title layout, then it
3974 is a \thanks. And then, its contents is a moving argument.
3976 2002-05-14 Juergen Vigna <jug@sad.it>
3978 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3981 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3983 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3984 when using options "Full author list" or "Upper case".
3986 2002-05-14 Herbert Voss <voss@perce.de>
3988 * insetgraphics.C (prepareFile): allow files with same name
3990 (readFigInset): set the flags from old figinset in the right
3992 (findTargetFormat): more comments
3994 2002-05-14 Juergen Vigna <jug@sad.it>
3996 * insettext.C (edit): tell checkAndActivateInset() that we don't
3997 have a button press.
3998 (checkAndActivateInset): if button < 0 we don't have a button press
3999 on the inset and os we won't call edit on it if it's not a Highly
4000 editable inset (then we have to enter it).
4002 2002-05-13 Juergen Vigna <jug@sad.it>
4004 * insetcollapsable.C (insetButtonRelease): returned wrong return
4007 2002-05-09 Juergen Vigna <jug@sad.it>
4009 * insetcollapsable.C (edit): first_after_edit should only be
4010 set to true if we enter this inset and it was collapsed so we
4011 open it up. This is needed to reclose it after a search/replace
4012 or spellcheck function opened it and was negative.
4014 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4016 * insetfloat.C (latex): Return correct value.
4018 2002-05-04 Herbert Voss <voss@perce.de>
4020 * InsetgraphicsParams.C (read): fix bug with WH
4022 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4024 * insetfloat.C (latex): More sensible latex output
4025 (fix the problem with endfloat).
4027 2002-05-02 José Matos <jamatos@fep.up.pt>
4029 * insetgraphics.C (validate): acess params as everyone else.
4031 2002-05-03 Juergen Vigna <jug@sad.it>
4033 * insettabular.C (fitInsetCursor): recalculate the cursor position
4036 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4038 * InsetgraphicsParams.[Ch]: whitespace.
4040 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4042 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4043 float type do not exist.
4045 2002-04-28 Herbert Voss <voss@perce.de>
4047 * insetgraphics.C (latex): fix bug with missing file-extension.
4048 LaTeX still allows a missing "eps" or "ps".
4050 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4052 * insetfloat.C (c-tor, wide): translate the name of the float.
4054 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4056 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4057 when using natbib and make it work efficiently. Must emphasise that the
4058 real work is Herbert's.
4060 2002-04-23 Herbert Voss <voss@perce.de>
4062 * insetgraphic.C (prepareFile): fix bug with overwriting and
4063 deleting an existing *.eps-file in the doc-dir
4065 2002-04-23 Juergen Vigna <jug@sad.it>
4067 * insettabular.C (drawCellSelection): fix off by 1 error.
4069 2002-04-22 Juergen Vigna <jug@sad.it>
4071 * insettabular.C (setFont): rewoke full selection if it was asked,
4072 after we changed all we had to change.
4074 * insettext.C (insetUnlock): code was uninitialized in some situations.
4076 2002-04-19 Herbert Voss <voss@perce.de>
4078 * insetgraphic.C (prepareFile): return filename without
4079 extension if we only export without compiling
4081 2002-04-19 Juergen Vigna <jug@sad.it>
4083 * insettext.C (draw): call a fullRebreak on the row where we had a
4084 change and reset the cursor and selection-cursors.
4086 * insettabular.C (insetUnlock):
4087 (insetButtonPress): call an update before setting the_locking_inset = 0
4088 as otherwise we don't repaint!
4089 (update): reset the cursor position when we changed dimensions as
4090 otherwise our cursor may be on the wrong spot.
4092 2002-04-18 Juergen Vigna <jug@sad.it>
4094 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4095 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4096 redraw otherwise we won't redraw.
4098 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4099 not really right before, but I only discovered this with the last
4100 changes to Page up/down.
4102 2002-04-17 Juergen Vigna <jug@sad.it>
4104 * insettext.C (checkAndActivateInset): simplified as we now have the
4105 edit(bv, bool) call.
4107 * insettext.h: changed behind variables to front variables to be
4108 equal to the one in the edit call (as it is for that they are used).
4110 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4112 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4113 not output anything at all!
4115 2002-04-16 Juergen Vigna <jug@sad.it>
4117 * insettabular.C (insetButtonPress):
4118 (insetUnlock): call a redraw on unlocking the cell inset.
4120 * insettext.C (insetButtonPress): same as below.
4121 (lockInset): new function to set initial values when inset should
4123 (insetButtonPress): use above function.
4124 (insetUnlock): don't force a repaint only set the updateStatus. The
4125 outside world should repaint if it thinks it should be done!
4127 * insettabular.C (insetButtonPress): init values if not set as locked
4128 as we are locked if someone presses on us and don't call the edit()
4129 call of the InsetText to lock it do it as BufferView does it!
4131 * inset.h (insetInInsetY): make func const and return an int.
4134 * insetcollapsable.C: adapt the above changed function.
4136 2002-04-15 Juergen Vigna <jug@sad.it>
4138 * insettext.C (getCursorPos): return relative position as to be able
4139 to give them directly to the edit() call.
4140 (edit): we have to set also x_fix as it is not set inside the
4141 setCursorFromCoordinates call!
4142 (insetMotionNotify): ditto.
4144 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4146 * insetbib.C (getKeys): strip leading '\t's from the line too.
4147 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4149 2002-04-12 Juergen Vigna <jug@sad.it>
4151 * insettext.h: added cix() helper function and use it where appropriate
4153 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4155 * insetgraphics.C (prepareFile): fix bug when graphics is a
4158 2002-04-12 Juergen Vigna <jug@sad.it>
4160 * insettext.C (insertInset): remove unneeded code!
4161 (updateLocal): fitCursor() fixes.
4162 (collapseParagraphs): fix a possible problem when having a selection
4163 and collapsing the paragraphs.
4165 2002-04-08 Herbert Voss <voss@perce.de>
4167 * insetgraphic.C (write): write the rotating angle as
4168 a float as is. test only for != 0.0
4170 2002-04-11 Juergen Vigna <jug@sad.it>
4172 * insettext.C: new function ciy() and use it for setting inset_y.
4174 * insetert.C (draw): fix the x return for collapsed version.
4176 2002-04-07 Herbert Voss <voss@perce.de>
4178 * insetgraphic.C (readFigInset): fix bug with subcaption and
4181 2002-04-08 Herbert Voss <voss@lyx.org>
4183 * insetgraphicsparam.C: forgot special option and delete old
4186 2002-04-05 Juergen Vigna <jug@sad.it>
4188 * insettext.C (localDispatch): make a CURSOR update if we inserted
4191 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4193 * insetfloatlist.C (getScreenLabel):
4194 (latex): use Floating::listName
4195 (validate): new method
4197 2002-04-03 José Matos <jamatos@fep.up.pt>
4199 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4201 * insetfoot.[Ch] (docbook): added forgotten method.
4203 2002-04-03 Juergen Vigna <jug@sad.it>
4205 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4206 way as in Bufferview_pimpl.
4208 2002-04-03 Allan Rae <rae@lyx.org>
4210 * insetgraphics.C (latex): one % too many makes living on the bleeding
4211 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4213 2002-03-28 Herbert Voss <voss@lyx.org>
4215 * insetgraphic.C (latex): simplify the code for the latex
4216 output when the file doesn't exist
4218 2002-03-29 Juergen Vigna <jug@sad.it>
4220 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4223 * insettabular.C (edit): call fitCursor().
4225 * insettext.C (insetButtonPress): change behaviour of no_selection
4226 to the one in the BufferView selection_possible and fix the spurious
4227 selection bug with it.
4228 (localDispatch): revoke selection on BREAK... functions.
4230 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4232 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4234 2002-03-28 Juergen Vigna <jug@sad.it>
4236 * insettabular.C (insetAllowed): return true as default value otherwise
4237 we're not able to insert insets inside paragraphs of an not locked
4240 2002-03-27 Herbert Voss <voss@lyx.org>
4242 * insetgraphicsparam.C: change c%, p% to col%, page%
4244 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4246 * insetspecialchar.C (isLineSeparator): disable the nice code to
4247 allow linebreaks after hyphenation and menu separators.
4249 2002-03-26 Herbert Voss <voss@lyx.org>
4251 * insetgraphics.C (figinsetRead): set the right lyxview
4253 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4255 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4256 $\backslash$ and pass a "string const &" to the function.
4257 (prepareFile, latex): use Path rather than MakeAbsPath.
4259 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4261 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4262 proper fix to the graphics cache.
4263 (latex): "really" nice output if the file is not found ;-)
4265 2002-03-26 Juergen Vigna <jug@sad.it>
4267 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4268 (collapseParagraphs): fixed inserting of separator ' '
4270 * insettabular.C (insertAsciiString): only check for buffer lenght
4271 not if we have \t or \n inside the buffer as if we don't have we only
4272 have 1 cell and that's it!
4274 * insetert.C (close): don't collapse if inlined.
4276 2002-03-25 Herbert Voss <voss@lyx.org>
4278 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4279 graphics file does not exist.
4281 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4283 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4284 path when preparing export.
4286 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4287 no longer MakeRelPath.
4289 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4291 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4292 Used to determine the absolute path to the graphics file in the
4293 graphics cache and only in the graphics cache.
4294 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4295 make graphics file name absolute if it is stored as a relative path.
4297 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4298 make graphics file name absolute if it is stored as a relative path.
4300 * insettext.C (edit): emit an updateParagraph signal on entering a text
4301 inset. Needs to be emitted when leaving the inset also.
4303 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4305 * all files: ws cleanup
4307 * Makefile.am: remove ld -r stuff
4309 2002-03-21 Juergen Vigna <jug@sad.it>
4311 * insettext.C (appendParagraphs): new function added to append
4312 the paragraphs to this insets paragraphs.
4314 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4316 * Makefile.am: special rules if partial linking
4318 2002-03-19 Juergen Vigna <jug@sad.it>
4320 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4322 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4324 * insetgraphics.C: Clean up Baruch's comments a little.
4325 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4327 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4330 * insettheorem.C: wrap warnings
4332 * insetgraphics.C: improve messages, move cached_status_
4333 setting to safer place
4335 2002-03-18 Juergen Vigna <jug@sad.it>
4337 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4339 (localDispatch): ditto
4341 * insettext.C (edit): removed unneeded showCursor calls.
4342 (localDispatch): ditto.
4344 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4346 * insetgraphics.h: remove display() method.
4348 2002-03-11 Juergen Vigna <jug@sad.it>
4350 * insetgraphics.C (draw): hack to fix the redrawing bug.
4351 (draw): seems this fixes #268 (force redraw of row if we changed).
4353 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4354 this inset text (don't know why I missed this earlier).
4356 2002-03-08 Juergen Vigna <jug@sad.it>
4358 * insettabular.C (updateLocal): do a FULL update if we're not locked
4359 and only a CELL update is asked.
4361 * insettext.C (updateInsetInInset): update insets inside inset also
4362 if it isn't inside the_locking_inset.
4364 * insettabular.C (updateInsetInInset): ditto.
4366 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4368 * insetexternal.C (doSubstitution): check whether we are using a
4369 temp dir for defining $$FPath
4371 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4374 * insettext.C: remove #include "WorkArea.h".
4376 2002-03-06 Juergen Vigna <jug@sad.it>
4378 * insettext.C (draw): fixed frame redrawing.
4379 (clear): forgot to set the inset_owner of the paragraph.
4381 * insetert.C (status): pay attention the bv can be 0 here!
4382 (getMaxWidth): add the default leftMargin
4384 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4386 * insetert.C (getMaxWidth): make w unsigned int.
4388 2002-03-05 Juergen Vigna <jug@sad.it>
4390 * insetert.C (status): change behaviour of Inlined.
4391 (getMaxWidth): added for new inlined behaviour.
4393 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4395 * insetnote.h (linuxdoc, docbook): add empty methods.
4396 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4397 before being initialized.
4399 2002-03-05 Juergen Vigna <jug@sad.it>
4401 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4402 only that one in the inset. Should be enough.
4403 (updateLocal): set the selection cursor always if we don't have a
4404 selection to be sure it's set!
4406 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4408 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4410 * insettext.C (clear): a gross hack to set layout on a newly
4413 2002-03-04 Juergen Vigna <jug@sad.it>
4415 * insettabular.C (localDispatch): inserted handling of
4416 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4417 (insertAsciiString): new helper function.
4419 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4421 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4424 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4426 * insettext.C (InsetText): initalize newly created par with
4427 default layout. add bufferparams parameter
4430 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4431 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4432 * insetert.[Ch] (InsetERT): ditto
4433 * insetfloat.[Ch] (InsetFloat): ditto
4434 * insetfoot.[Ch] (InsetFoot): ditto
4435 * insetfootlike.[Ch] (InsetFootLike): ditto
4436 * insetmarginal.[Ch] (InsetMarginal): ditto
4437 * insetminipage.[Ch] (InsetMinipage): ditto
4438 * insetnote.[Ch] (InsetNote): ditto
4439 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4441 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4443 * insettext.C: layout as string
4445 * insetinclude.C: layout as string
4447 * insetert.C: layout as string
4449 * insetbib.C: layout as string
4451 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4454 * insettabular.C: remove #include "lyx_gui_misc.h".
4456 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4461 * inset.h: remove figinset, yahoo !
4463 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4465 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4466 copy c-tor and initialise member variables in the correct order.
4468 2002-02-28 Juergen Vigna <jug@sad.it>
4470 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4472 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4474 * inset.h: ... and add a better one here.
4476 * insetcommand.C (insetButtonRelease): remove that one which was a
4479 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4481 * insetcommand.C (insetButtonRelease): ... and move it here.
4483 * inseturl.h: remove insetButtonRelease from there...
4485 2002-02-26 Juergen Vigna <jug@sad.it>
4487 * inseturl.h: Added a insetButtonRelease call returning true as
4490 * insetlabel.C (edit): Fixed wrong update handling after change I
4491 leave in the wrong code for the one who wrote it to remove and have
4492 a look what he did wrong.
4494 * insettabular.C (localDispatch): force a SELECTION update if we
4495 had a selection and we passed the event down to the inset (fix #213)
4496 (localDispatch): handle font changing stuff when we have a cell
4497 selection so that the selection is not rewoked. I don't really like
4498 this fix, but it's the only way I see to do it right now.
4500 2002-02-22 Juergen Vigna <jug@sad.it>
4502 * insettext.C (insetUnlock): set the cursor to the second paragraph
4503 if available and if the first one is empty (fix #191).
4505 2002-02-20 Juergen Vigna <jug@sad.it>
4507 * insettext.C (getDrawFont): implemented this function to call the
4508 one of the owner if present as the owner normally knows what to do
4511 * insetert.C: implement getDrawFont() function and comment out all
4512 the crap for setting a special latex font inside this inset.
4513 (InsetERT): added a Lanugage parameter to this constructor.
4515 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4516 change the font for being drawn on screen (used only in InsetERT for
4519 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4520 and also above (was missing).
4521 (updateLocal): don't remove the cell selection if we have one this
4522 should be done where we really want to remove it.
4524 2002-02-20 José Matos <jamatos@fep.up.pt>
4526 * insetinclude.h: include_label made string const.
4528 * insetinclude.C (InsetInclude): moved include_label initialization.
4531 (validate): fix support for temporary directory, for docbook and
4534 * insetgraphics.h : new private member, graphic_label, that holds
4535 the entity name that defines the graphics location (SGML).
4537 * insetgraphics.C (unique_id): new function to give a unique label
4540 (validate): the file locatation is given by an entity reference.
4542 2002-02-18 Herbert Voss <voss@lyx.org>
4544 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4546 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4548 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4549 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4551 2002-02-18 José Matos <jamatos@fep.up.pt>
4553 * insetinclude.C (validate): some code only applies to latex buffers,
4554 it was made conditional.
4556 2002-02-12 Herbert Voss <voss@lyx.org>
4558 * insetgraphics.C: (prepareFile) do not check at this time
4559 if the file is present.
4561 2002-02-12 Herbert Voss <voss@lyx.org>
4563 * insetgraphics.C: latex(), return the correct newlines
4565 2002-02-13 José Matos <jamatos@fep.up.pt>
4567 * inseturl.C (docbook): escape & in url.
4569 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4571 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4572 after HYPHENATION and MENU_SEPARATOR
4574 * inset.h (isLineSeparator): new method, returns false by default.
4576 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4578 * insetert.C (status): do not update the text inset, but the ERT
4581 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4583 * insetnote.C: use notebg for background
4585 2002-02-08 Herbert Voss <voss@lyx.org>
4588 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4589 prevent LyX from unzipping when this should be handled
4590 by latex vis the graphic.cfg.
4593 2002-02-08 Herbert Voss <voss@lyx.org>
4595 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4596 exists, than return filename with extension
4598 2002-02-06 Herbert Voss <voss@lyx.org>
4600 * insetgraphic.C: prepareFile(): don't convert the file, when
4601 it's not viewed in LyX. Saves a lot of time when opening a
4604 2002-02-05 Herbert Voss <voss@lyx.org>
4607 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4608 and adding a rotate bool similiar to subcaption
4610 2002-02-04 Herbert Voss <voss@lyx.org>
4613 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4614 similiar view to the LaTeX one. Get zipped files work.
4616 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4618 * insetgraphicsParams.C (init): set display to DEFAULT.
4619 No longer #include "lyxrc.h".
4621 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4623 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4624 for now (so that the code compiles).
4626 2002-02-02 Herbert Voss <voss@lyx.org>
4628 * insetgraphic.C: delete inVariant() and some minor changes
4629 * insetgraphicsParams.[C]:
4631 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4633 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4634 interogate lyxrc.display_graphics before diaplaying the graphic.
4636 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4637 InsetGraphicsParams::DisplayType.
4639 2002-01-31 Herbert Voss <voss@lyx.org>
4641 * insetgraphic.C: (readfigInset) set display to pref-default
4643 2002-01-30 Herbert Voss <voss@lyx.org>
4645 * insetgraphic.C: get the filetyp from it's contents
4646 * insetgraphicparams.C: add token scale and lyxrc.display when
4647 creating a new inset
4649 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4651 * figinset.C: added using std::ios directive.
4653 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4655 * figinset.C (runqueue): open translation file in binary mode (for
4658 2002-01-27 Herbert Voss <voss@lyx.org>
4660 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4661 all options and to be sure that the old figinsets are correct
4663 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4664 structure and to support all lengths as LyXLength. The Parameter
4665 structure changed again, but reading of "old" 1.2 graphic insets
4668 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4670 * insetert.h (forceDefaultParagraphs): Added
4672 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4674 * insettabular.C (getMaxWidth):
4675 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4677 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4679 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4680 of LyXLength::inPixels
4682 * inset.C (latexTextWidth):
4683 * insetminipage.C (latexTextWidth): new method, which implements
4684 the equivalent of the LaTeX macro \textwidth
4686 * insetminipage.C (getMaxWidth): use latexTextWidth
4688 2002-01-18 Juergen Vigna <jug@sad.it>
4690 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4692 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4694 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4696 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4699 2002-01-17 Juergen Vigna <jug@sad.it>
4701 * insettabular.C (lockInsetInInset): same change as in insettext.
4703 * insettext.C (draw): width() function was called without setting
4704 the right top_x which could lead to wrong insetWidth setting!
4705 (lockInsetInInset): call edit instead of calling lockInset if we
4706 have to lock an inset inside!
4707 (edit): we have to also tell the inset that we have to redraw the
4708 frame on an edit call if this inset draws a frame only if locked.
4710 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4712 * insetbib.C (getFiles): uncomment Path variable.
4714 2002-01-16 Juergen Vigna <jug@sad.it>
4716 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4719 2002-01-16 Allan Rae <rae@lyx.org>
4721 * insetinclude.C (docbook): someone forgot a ";"
4723 2002-01-16 José Matos <jamatos@fep.up.pt>
4725 * figinset.C (docbook): removed a old place holder "@".
4726 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4727 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4728 ascii text version, clearly guarded inside a CDATA section.
4729 (docbook): in docbook 4, inlinegraphics is empty.
4730 * insettabular.C (linuxdoc): export the ascii version of the table
4731 inside a CDATA section.
4733 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4735 * insetparent.C (InsetParent):
4736 * insetgraphicsParams.C (Write):
4738 * insetgraphics.C (prepareFile):
4741 * insetexternal.C (executeCommand):
4742 (doSubstitution): use Buffer::filePath
4744 * insetbib.C (getFiles): add a #warning for Angus
4746 * insetgraphics.C: Add a remark about how filenames should be
4747 considered to be relative to buffer (but absolute is still allowed)
4748 (draw): do not try to get status if lyxrc.use_gui is false
4750 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4753 * insetcollapsable.[Ch]:
4754 * insettabular.[Ch] (searchForward, searchBackward): change the
4755 bool const & params to bool.
4757 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4758 to avoid the name clash with InsetCollapsable's methods of the same
4759 names but different functionality.
4761 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4763 * insettext.C (ascii): use lyx::count rather than countChar.
4765 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4767 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4769 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4771 * insetgraphics.C (updateInset): do not try to render image if
4772 lyxrc.use_gui is false (bug #104)
4774 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4775 if file does not exist
4777 * figinset.C (browseFile): add shortcuts to directory buttons
4779 * insettext.C (updateLocal): update menubar and toolbar here too.
4781 2002-01-13 Allan Rae <rae@lyx.org>
4783 * insettabular.C (InsetTabular): Both constructors now initialise
4784 all class variables.
4786 2002-01-11 Juergen Vigna <jug@sad.it>
4788 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4790 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4792 * insettabular.C (getStatus): add forgotten brace around multiline
4795 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4797 * insetfloat.C (validate): require "float" instead of "floats".
4799 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4801 * insettabular.C (getStatus): use FuncStatus
4803 2002-01-08 Juergen Vigna <jug@sad.it>
4805 * insettabular.C (insetButtonRelease): now this should work too
4808 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4809 if the width is a percentage.
4811 * inset.h: added isChar() function and implemented this for
4812 insetspecialchar insetquotes and insetlatexaccent.
4813 added forceDefaultParagraphs() and implemented it for insettabular.
4815 2002-01-07 Juergen Vigna <jug@sad.it>
4817 * insettext.C (getLyXText): Fixed this function. An insert into the
4818 map is only done if we REALLY have a new BufferView.
4820 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4822 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4824 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4826 * insetinclude.C: fix use of FileInfo
4828 2002-01-07 Juergen Vigna <jug@sad.it>
4830 * insettabular.C (draw): fixed clearing of cell around inset.
4832 2002-01-05 Juergen Vigna <jug@sad.it>
4834 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4835 variables are updated.
4837 * insettabular.C (resetPos): set always the inset_y as it may be
4838 needed in another function.
4839 (searchBackward): don't draw while searching.
4841 2002-01-04 Juergen Vigna <jug@sad.it>
4843 * insettext.C (lockInsetInInset): forgot to set a cursor.
4845 2002-01-02 Juergen Vigna <jug@sad.it>
4847 * insettext.C (insertInset): make the correct undo informations on
4848 inserting new insets.
4850 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4852 * insettabular.C: correct single-cell select vertically
4854 2001-12-27 Juergen Vigna <jug@sad.it>
4856 * insettabular.C (ascii): export as tab-separated-values if the
4857 function was not called from export (f.ex.: clipboard).
4859 * insetcollapsable.h: added default support for ascii, linuxdoc and
4860 docbook export (the insettext is exported by default!)
4862 * insettabular.C (copySelection): suff the clipboard with the tabular
4863 data in a tab separated format, seems more naturals then with all the
4866 2001-12-24 Juergen Vigna <jug@sad.it>
4868 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4869 to check for REAL mouseMotion.
4871 2001-12-20 Juergen Vigna <jug@sad.it>
4873 * inset.C (cursor): return the owners cursor if available instead of
4874 always only the bv->text->cursor.
4876 * insettabular.C (checkLongtableSpecial): works now.
4878 2001-12-19 Juergen Vigna <jug@sad.it>
4880 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4881 this has to be always row + 1 as 0 means not selected!
4882 (checkLongtableSpecial): added
4883 (tabularFeatures): better longtable options support
4885 * insettext.C (resizeLyXText): reinit the text always also on a
4888 2001-12-18 Juergen Vigna <jug@sad.it>
4890 * insettext.C (updateInsetInInset): look if we have to autocollapse
4891 paragraps and return if the update is requested for ourself.
4893 * insetert.C (status): update the insettext not myself as that is what
4896 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4897 function only return if the update was requested with myself.
4899 * insettext.C (insetButtonPress): fixed stupid bug.
4900 (various functions): pay attention that lt is cleared BEFORE calling
4901 updateLocal() and try to use it in the right manner (don't use it
4902 if it's not really neccessary!)
4903 (collapseParagraphs): insert a blank between collapsing paragraphs
4904 if neccessary (not already there!).
4906 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4908 * insettabular.C: move includes around a bit, add a couple of
4911 * insettext.[Ch]: move includes around a bit, other ws changes and
4914 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4916 * insettext.C (insetButtonRelease): fix compile problem
4918 2001-12-17 Juergen Vigna <jug@sad.it>
4920 * insettext.C (insetButtonPress): set the selection cursor!
4921 (insetButtonPress): clear the selection (and set with that the
4922 selection.cursor) if we only hit an inset!
4924 * insetert.C (read): removed piece of compatibility code only needed
4927 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4930 * insetcollapsable.C (insetButtonRelease): changed so that it can
4931 open eventual existing popup dialogs on mousebutton==3.
4933 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4935 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4937 * inset.C (insetButtonRelease): return a bool for telling the outer
4938 world that we opened a dialog.
4940 2001-12-07 Juergen Vigna <jug@sad.it>
4942 * insettext.C (paragraph): remove the deleteing of paragraphs as
4943 it was a WRONG move!
4945 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4948 * insettabular.C: use new setSelection(). Allow
4949 selection of single cells.
4951 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4953 * insetquotes.C (latex): fix to use the local language setting at
4954 the point where the inset is inserted (different macros for
4955 different french packages)
4957 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4959 * inset.h: add par_owner_ member variable and parOwner
4962 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4964 * insettabular.C (everywhere): adapt because widths are now real
4965 widths and not strings
4967 * insettext.C (draw): re-introduce the calls to width(), ascent()
4968 and descent() to initialize the caching variables.
4970 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4972 * insettext.C (draw):
4973 (drawFrame): use insetWidth instead of last_width
4975 * insettext.h: remove variable last_width (insetWidth is exactly
4976 the same) and last_height (computed but never used!)
4978 2001-12-10 Allan Rae <rae@lyx.org>
4980 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4982 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4984 * insettext.C (insetAllowed): add comment
4986 2001-12-05 Juergen Vigna <jug@sad.it>
4988 * insettext.C (insetAllowed): fixed for the case that we directly
4989 ask the insettext from its LyXText.
4990 (paragraph): fixed the crash when assigning the par->next() from
4991 the EmptyParagraphMechanism!
4993 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4997 * insettext.C: change "while(" to "while ("
4999 2001-12-04 Juergen Vigna <jug@sad.it>
5001 * insetert.C (edit): handle Inlined status.
5003 * insettext.C (insertInset): trying John's fix for the trailing cursor
5005 * insetert.C (insetButtonPress): added to handle inlined status
5006 (insetMotionNotify): ditto.
5008 * insettext.C (clearInset): changed Painter & in BufferView * param,
5009 to be able to call ascent,descent methods.
5011 2001-12-03 Juergen Vigna <jug@sad.it>
5013 * insettext.C (updateInsetInInset): use lt variable to forbid
5014 changes of LyXText in an update call.
5015 (updateInsetInInset): fixed updating of non locked insets!
5017 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5019 * insettabular.C: capture some more functions to prevent
5020 selection drawing problems. Bug #451274
5022 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5025 * insetgraphicsParams.C: fix inverted sense of float_equal
5027 2001-11-30 Juergen Vigna <jug@sad.it>
5029 * insettabular.C (InsetTabular): use the save_id flag to create also
5030 the tabular with the same id's.
5032 * insettext.C (setParagraphData): added a same_id function for undo
5033 to set the same paragraph id's as of the paragraph we are setting.
5035 2001-11-30 José Matos <jamatos@fep.up.pt>
5038 * insettoc.[Ch]: DocBook -> docbook.
5040 2001-11-29 André Pönitz <poenitz@gmx.net>
5043 * insettext.C: further reduction of header dependencies by using
5044 lyx::layout_type and lyx::textclass_type from support/types.h
5046 2001-11-29 Juergen Vigna <jug@sad.it>
5048 * insettext.C: inserted a reinitLyXText function everywhere I delete
5049 the paragraphs! This should fixe the crashes we had.
5050 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5051 (paragraph): set the InsetOwner() of the new paragraphs!
5053 2001-11-28 André Pönitz <poenitz@gmx.net>
5055 * insetnote.C: add pos initialization that I removed without
5058 2001-11-28 Juergen Vigna <jug@sad.it>
5060 * insettabular.C (resetPos): hack to not crash with infinite paints.
5062 * insettabular.h: insert missing function allowSpellcheck()!
5064 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5066 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5069 * insetfloatlist.C: derive from InsetCommand so gui can use it
5072 2001-11-26 André Pönitz <poenitz@gmx.net>
5076 * insetnote.C: reduce header dependencies, introduce type for
5079 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5081 * various: update for Alert.h
5083 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5085 * inset.h: fix comment
5087 * insettext.C: use par->isInset()
5089 2001-11-22 Allan Rae <rae@lyx.org>
5091 * insetcollapsable.h:
5092 * inset.h: Changes to checkInsertChar() behaviour.
5093 Now return value indicates whether chars can be inserted.
5095 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5097 * various: updated to use the new LaTeXFeatures
5099 2001-11-14 José Matos <jamatos@fep.up.pt>
5101 * insetspecialchar.C (linuxdoc):
5102 (docbook): don't give a name to a unused variable.
5104 * insettext.C (docbook): removed unused variable.
5106 2001-11-13 Herbert Voss <voss@perce.de>
5108 * insetgraphic.C: fix scale bug
5110 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5112 * inset.h (isSpace):
5113 (isLetter): new virtual methods.
5115 * insetspecialchar.C (isSpace):
5116 (isLetter): implement here.
5118 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5120 * inset.h: new inline helpers
5122 * insettext.C: use new helpers
5124 2001-11-07 José Matos <jamatos@fep.up.pt>
5126 * insettext.C (docbook): full support for paragraphs inside insettext.
5128 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5130 * insetindex.C: added header file for std::ostream.
5132 2001-11-03 José Matos <jamatos@fep.up.pt>
5134 * insetindex.C: added using std::ostream that I forgot yesterday.
5136 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5138 * insetindex.h (docbook):
5139 * insetindex.C (docbook): added support for docbook export.
5141 2001-11-02 José Matos <jamatos@fep.up.pt>
5143 * insetcaption.C(docbook): added support for docbook export.
5145 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5147 * insetexternal.C (updateExternal): Do not run update command if
5148 result file exists and is up to date.
5150 * ExternalTemplate.C (readFormat): Support the updateresult token.
5152 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5154 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5155 external_templates) to use the buffer->fileName() but only if
5156 previewing. Generating a TeX file should make FPath return
5159 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5162 * insetert.C: fix some problems
5164 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5166 * insetexternal.C (doSubstitution): Added $$FPath token
5167 to list of usable substitutions in external inset templates.
5169 2001-10-24 Juergen Vigna <jug@sad.it>
5171 * insettabular.C: use new ltType struct for setting longtable
5172 header and footers also new UNSET enums.
5174 2001-10-24 José Matos <jamatos@fep.up.pt>
5176 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5177 (docbook): If the table is not inside a float then wrap it inside
5178 <informaltable>...</informaltable>.
5180 2001-10-23 José Matos <jamatos@fep.up.pt>
5182 * insetref.C (docbook): removed / terminator to conform SGML.
5184 * insetspecialchar.C (linuxdoc):
5185 (docbook): Added support for special chars, more than ascii export.
5187 2001-10-22 Juergen Vigna <jug@sad.it>
5189 * insettext.C (checkInsertChar): added for REALLY checking the
5190 font of the inserted char in the right inset!
5192 2001-10-19 Juergen Vigna <jug@sad.it>
5194 * inset.h: added method allowSpellcheck() so that insets who do
5195 not have anything to spellcheck can tell and so they are over-jumped.
5196 Implemented for InsetText and co.
5198 2001-10-18 Juergen Vigna <jug@sad.it>
5200 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5202 2001-10-15 José Matos <jamatos@fep.up.pt>
5204 * insetert.C: allow export for docbook and linuxdoc
5206 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5208 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5210 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5212 * insetquotes.C (dispString): fix handling of latin9 quotes
5214 2001-10-03 Juergen Vigna <jug@sad.it>
5218 * insetcollapsable.C: change updateInset calls to not tell BV that
5219 we have changed status.
5221 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5223 * insettabular.C (deletable): make const
5225 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5227 * insetert.C (latex): Fix the returned value
5229 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5231 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5232 Returns string(), so nothing in an ERT inset is spellchecked.
5234 * insetgraphics.C (draw): print the filename if not displaying the
5236 (width): make sure that the width and draw methods are consistent.
5237 (updateInset): don't even load the image into cache if not displaying
5240 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5242 * various files (selectNextWord): renamed as
5243 selectNextWordToSpellcheck.
5245 * insetgraphics.C (draw): remove the previous change. Right place
5246 is in imageLoaderXPM.C.
5247 (draw): don't display the image if params.display == NONE.
5249 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5251 * figinset.C (runqueue):
5252 * insetgraphics.C (draw): set background colour of inset from
5253 background to the user-configurable graphicsbg.
5255 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5257 * insetquotes.C (InsetQuotes): when trying to decide the side of
5258 the quote, choose `left' only after a space or '('
5260 2001-09-04 José Matos <jamatos@fep.up.pt>
5265 * insetcollapsable.h
5283 * insetlatexaccent.C
5284 * insetlatexaccent.h
5289 * insetspecialchar.C
5290 * insetspecialchar.h
5294 * insettext.C (docbook): rename docBook method to docbook.
5296 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5298 * inset.h (getFirstParagraph): New virtual method.
5300 2001-08-20 Herbert Voss <voss@perce.de>
5301 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5302 in the the bibtex-database-gui for inserting a line
5305 If no style is given than there is no tex-output.
5307 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5309 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5313 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5315 * insetert.C (latex): Fix output for multiple paragraphs.
5316 (write): New code for writing paragraph data.
5317 (read): Set font after reading the inset.
5318 (localDispatch): Call set_latex_font() for more cases.
5320 * insetnote.h: Add empty validate method.
5323 * insetnote.C (InsetNote): Set language to the language of the
5326 2001-08-16 Juergen Vigna <jug@sad.it>
5328 * insettext.C: implemented the new FINISHED states.
5330 * insettabular.C: ditto
5332 * inset.h: added more FINISHED states for cursor right,up,down
5334 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5336 * insetfloatlist.C: use "FloatName List"
5338 2001-08-14 Juergen Vigna <jug@sad.it>
5340 * insetert.C (edit): forgot to set status_ in edit calls!
5342 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5344 * insettext.C: Compilation fix
5346 2001-08-13 Juergen Vigna <jug@sad.it>
5348 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5350 * insetcollapsable.C (edit): don't recollapse an already open inset.
5352 * insettext.C: fixed problem when reinitializing LyXText by not doing
5353 it while lt is in use and post this to the next possible time in
5355 (searchForward): fixed not unlocking of inset if nothing found.
5356 (edit): set cursor behind right (was set -1 pos).
5358 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5360 * insettabular.C (tabularFeatures): fixed fix where deleting the
5361 last row didn't get the right actcell!
5363 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5365 * insettext.C (localDispatch): Change language only when the inset
5368 2001-08-10 Juergen Vigna <jug@sad.it>
5370 * insettabular.C (selectNextWordInt): use the front using edit call.
5372 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5373 the parameter overwrite class variable inset.
5375 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5377 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5378 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5380 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5381 update only for fixed with cells.
5382 (resetPos): try to fix the lockup on spellchecking or s&r.
5384 * insettext.C (update): comment this out as it seems first wrong
5385 and second not needed anymore!
5386 (some functions): call reinitLyXText() only in update() in all other
5387 positions set only need_update = INIT.
5389 2001-08-08 Juergen Vigna <jug@sad.it>
5391 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5393 * insettext.C (insetUnlock): remove double-space on inset unlock.
5395 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5397 * insettabular.C (update): fixed cursor positon after an insert.
5398 (insetAllowed): do not allow to insert insets when not inside the
5400 (draw): clear below an inset too as it could have changed height.
5402 * inset.C (getMaxWidth): fixed width for inset in inset.
5404 * insettext.C (update): small fix.
5406 * insettabular.C (tabularFeatures): added selection support to
5407 DELETE_ROW/DELETE_COLUMN.
5409 2001-08-07 Juergen Vigna <jug@sad.it>
5411 * inset.C (getMaxWidth): recoded and all it's implementations!
5413 * insettext.C (init,setParagraph+constructors): cleanups
5414 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5415 are new and I want do a save/restore of the cursor position which is
5416 not possible anymore.
5418 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5419 (searchBackward): ditto
5420 (selectNextWord): ditto
5422 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5424 * insetlatexaccent.C (checkContents): Add some debug messages
5426 2001-08-07 Juergen Vigna <jug@sad.it>
5428 * insetert.C (read): don't use InsetCollapsable::read as we don't
5429 write the collapsed status anymore only the status.
5432 2001-08-06 Juergen Vigna <jug@sad.it>
5434 * insetert.C (set_latex_font): use LyXText's setFont directly.
5436 * insettext.C (drawFrame): fixed one time more the right position
5437 and size of the frame!
5439 * insetert.C (~InsetERT): hide the dialog.
5440 (showInsetDialog): added implementation
5443 (status): new function for the status of the ERT inset (3-state).
5444 (write): output also the status of the inset for readback!
5445 (read): readback the status if available otherwise use collapsed_.
5447 * insettext.C (edit): small fix of setting the position, which could
5450 * insetert.C (width): implement this function for inlined viewing.
5451 Added minimum width of 10 pixels!
5453 * insetminipage.C (InsetMinipage): just change the colors a bit so
5454 that border/background is a bit more visible. We will remove this
5457 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5458 function for getting the important widths for drawing in various
5459 functions and in LyXText.
5460 (draw): fixed up a bit (frame drawing/clearing)
5462 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5464 * inset.C (convertFont): delete method. not used.
5466 2001-08-03 Juergen Vigna <jug@sad.it>
5468 * insettext.C (setFont): don't call for a draw update if we're just
5469 changing the cursor font!
5471 2001-08-02 Juergen Vigna <jug@sad.it>
5473 * insettext.C (draw): clear the background with the right color if
5474 needed. Update myself if x&max-width changed and return without doing
5475 anything. Let the update code handle the right stuff.
5477 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5478 inside another inset.
5480 2001-08-01 Juergen Vigna <jug@sad.it>
5482 * insetcollapsable.C (update): added an in_update bool so we avoid
5485 * insettabular.C (update): added an in_update bool so we avoid
5488 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5490 (update): added an in_update bool so we avoid reentering.
5492 * insettabular.C (localDispatch): clear col/row selection when doing
5493 something else inside an inset.
5495 * insettext.C (getLyXText): fixed bug when requesting a recursive
5498 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5500 * insetcite.C (latex): Paranoia check. Make sure that there is no
5501 whitespace between the citation keys.
5503 2001-07-31 Juergen Vigna <jug@sad.it>
5505 * inset.h (nodraw): make the set function also const so that this
5506 can be called from inside other const functions.
5508 * insetcollapsable.h: removed inline variable and moved it over
5509 to the only user InsetERT.
5511 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5512 inset opening immediately therein lying insets dialogs!
5514 * insetert.C (localDispatch): set the font also if we don't have any
5515 chars in this paragraph, otherwise if we delete all of em and start
5516 writing we have the wrong font.
5518 (draw): implemented for inline support
5519 (insetButtonRelease): ditto.
5521 2001-07-30 Juergen Vigna <jug@sad.it>
5523 * insettext.C (reinitLyXText): new function to reinit the insets
5524 text after lot's of paragraph changes. Use this instead of the
5525 cache.clear() which is VERY dangerous.
5527 * insetfloat.C (insetButtonRelease): we should only show the dialog
5528 if we press on the label otherwise we have problems to open mouse
5529 button 3 dialogs inside this float (f.ex. of a tabular!)
5531 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5533 * insetert.C: change back to "ERT"
5535 * insetfloat.C: handliign of RMB on label added.
5537 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5539 * insetgraphicsParams.C: #include LOstream.h here.
5541 * insetfoot.h: remove InsetFoot:: qualifier.
5543 2001-07-29 Baruch Even <baruch@lyx.org>
5545 * ChangeLog: Hiding time travel evidence.
5547 * insetgraphicsParams.h:
5548 * insetgraphicsParams.C:
5549 * insetgraphics.C: Added horizontal scale option, it actually scales both
5550 directions since it keeps image proportions.
5552 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5554 2001-07-29 Baruch Even <baruch@lyx.org>
5556 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5557 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5559 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5561 2001-07-29 Baruch Even <baruch@lyx.org>
5563 * insetgraphics.C: Added EPSI to be an alias of EPS.
5565 2001-07-29 Baruch Even <baruch@lyx.org>
5567 * insetgraphics.C: Change GRAPHICS to Graphics.
5568 Changed image conversion rules (documented at the beginning of file).
5570 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5572 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5575 * insetgraphics.C: added a using std::endl directive.
5577 * insetcommand.h (getScreenLabel): removed pure virtual function,
5578 as it duplicates that in InsetButton.
5580 * insetbib.[Ch] (getScreenLabel):
5581 * insetbutton.[Ch] (getScreenLabel):
5582 * insetcite.[Ch] (getScreenLabel):
5583 * insetert.[Ch] (getScreenLabel):
5584 * insetexternal.[Ch] (getScreenLabel):
5585 * insetfloatlist.[Ch] (getScreenLabel):
5586 * insetinclude.[Ch] (getScreenLabel):
5587 * insetindex.[Ch] (getScreenLabel):
5588 * insetlabel.h (getScreenLabel):
5589 * insetparent.[Ch] (getScreenLabel):
5590 * insetref.[Ch] (getScreenLabel):
5591 * insettoc.[Ch] (getScreenLabel):
5592 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5594 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5596 (validate): remove check on "cite" when using natbib.
5598 2001-07-26 Baruch Even <baruch@lyx.org>
5600 * insetgraphics.C (draw): changed casting to be in one place rather than
5601 all over the function.
5604 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5606 * insetgraphicsParams.h:
5607 * insetgraphicsParams.C:
5608 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5610 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5612 * insetfoot.C (validate): Added method to ensure that the
5613 right bit of LaTeX is emitted.
5615 * insetfoot.h: Added validate method to set the correct
5616 LaTeXFeatures bit for the special footnote code.
5618 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5620 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5623 2001-07-27 Juergen Vigna <jug@sad.it>
5625 * inset.h: remove not used font variable in parameter.
5626 removed checkInsertChar in UpdatableInset as it was equal to
5627 the one in Inset and so not needed.
5629 * insetert.C (checkInsertChar): implementation of function
5632 * inset.h: added new function checkInsertChar.
5634 * various files: added c-tor and clone() function.
5636 * insetcollapsable.h: removed clone function here as this should
5637 be only realized in REAL insets and added it to all collapsable
5638 insets! (with the copy-constructor).
5640 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5642 * insetminipage.C (read): handle missing parameters more gracefully
5644 * insetcollapsable.C (read): handel missing collapsed more gracefully
5646 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5648 * insetfloat.C (read): handle missing parameters.
5650 * insettext.C (read): handle old latex end_inset
5652 * insetert.C (setButtonLabel): new method
5653 (init): use it, to set the dynamic label correctly
5656 * Makefile.am (EXTRA_DIST): add files that is not part or the
5659 * insetcollapsable.h: remove autocollapsable (no users), remove
5660 draw_label, change_label_with_text and companion code. Remove args
5662 * insetert.[Ch]: move here instead (only user)
5664 * inset.h: rename private variable name to name_, make
5665 selectNextWord return a const string. make getInsetName return a
5666 string const &. Remove bool from open, add close.
5668 * Makefile.am: don't compile insetlist, insetsection
5671 2001-07-24 Juergen Vigna <jug@sad.it>
5673 * insetert.C (InsetERT): put init after the paragraph initialization,
5674 as otherwise we don't set the draw_label right.
5676 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5677 insets with the mouse without having strange selections.
5678 (edit): if the inset was collapsed and we open it here then put the
5679 cursor always at the beginning of the inset.
5680 (get_new_label): 15 instead of 10 max chars in the label.
5682 * insetert.C (localDispatch): added and handle various stuff we
5683 need to handle here (font setting on paragraph break, not permitted
5684 layout setting, etc.).
5686 * inset.h: added default copy-consturctor and implemented this in
5687 various insets with the change to use this in the clone function!
5689 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5691 * insetminipage.C (InsetMinipage): set background color to red :)
5693 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5695 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5696 draw frame mode is LOCKED.
5698 * insetcollapsable.C (edit):
5699 (insetButtonRelease): set update status to full when
5702 * insettext.C (clearInset):
5703 * insettabular.C (draw):
5704 * insetlatexaccent.C (draw): honor background color.
5706 * inset.h: new member background_color_, initialized to
5709 * inset.C (backgroundColor): new method.
5710 (setBackgroundColor): new method.
5712 * insetert.C (init): new method, called by the ctors.
5713 (InsetERT): when inserting contents, make sure the font is
5716 * insetnote.C (InsetNote): when inserting content, remove trailing
5718 (init): set background color to LColor::note
5720 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5722 * insetcollapsable.C: adjust
5724 * insetbutton.C: adjust
5726 2001-07-23 Juergen Vigna <jug@sad.it>
5728 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5729 parameter on the _collapsed function (was not needed) and call
5730 always width_collapsed().
5732 * insetert.C (InsetERT): use setLabel with "true" flag.
5734 * insetcollapsable.C: modified various functions to set the draw_label
5735 string right in any condition.
5736 (setLabel): added a bool parameter to set change_label_with_text.
5738 * insetcollapsable.h: added draw_label string which is set to the
5739 actual drawn label-string, while label is the original static label
5740 of this collapsable inset. Added bool change_label_with_text to set
5741 if we want that the label changes to the start of the InsetText's
5742 text when collabpsed. You can set this flag with the setLabel funciton.
5743 Added bool inlined for inlined collapsable insets, but not handled
5746 * insetcollapsable.C (get_new_label): added should get a new label
5747 from the InsetText beginning (for now 10 chars).
5749 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5751 * insetquotes.C (latex): fix the handling of french double quotes
5752 when not using the french pachage.
5754 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5756 * insetcollapsable.h: make WidthCollapsed mutable.
5758 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5759 InsetPrintIndex returns INDEX_PRINT_CODE.
5761 * inset.h: add INDEX_PRINT_CODE
5763 * insetcollapsable.C (draw): init widthCollapsed if necessary
5766 * insetquotes.C (width): use the local language, not the document
5769 (dispString): add additional spacing for all french languages,
5771 (validate): make it work when there is no default language
5773 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5775 * insetnote.C (init): new method, called by the constructors
5776 (InsetNote): new constructor with contents passed as a string
5778 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5780 * insetfootlike.C (insetAllowed): disallow float in footlike.
5782 * insetert.C (InsetERT): add collapsed argument to the constrctor
5785 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5787 * insetindex.h: shut off warning
5789 2001-07-20 Juergen Vigna <jug@sad.it>
5791 * insetcollapsable.C (update): recoded hopefully works now!
5793 2001-07-19 Juergen Vigna <jug@sad.it>
5795 * most files: implemented the below new introduced function.
5797 * inset.h: added new edit(BufferView *, bool front) method to be able
5798 to enter an inset from the front/back without knowing x/y positions
5799 and baselines inside the inset. So I just can tell the inset activate
5800 me and set the cursor on the front/back of yourself.
5802 2001-07-18 Juergen Vigna <jug@sad.it>
5804 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5805 is given to the InsetText.
5806 (insetButtonPress): ditto
5807 (insetButtonRelease): ditto
5808 (insetMotionNotify): ditto
5810 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5812 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5813 LIGATURE_BREAK, since the name is so stupid.
5815 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5817 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5818 the default InsetCollapsable methods. I.e., it can insert anything.
5819 (write) output the name of the inset, not some silly hack for
5820 compatability with the old InsetInfo.
5822 * insetinfo.[Ch]: removed.
5823 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5824 now collapsable, but functionality is otherwise identical to InsetInfo.
5826 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5828 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5830 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5833 * insetquotes.C: general cleanup
5834 (dispString): add spaces inside french double quotes.
5835 (latex): ditto. Moreover, treat first the case where the frenchb
5836 or french options have been given.
5838 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5840 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5843 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5845 * figinset.C (RegisterFigure): Print debug message only when
5846 current_view is available.
5848 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5850 * many files: update to match the change below
5852 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5853 implement the version which takes an inset here.
5855 * insetcollapsable.[Ch]: implement open and isOpen
5857 * inset.h: remove insertInsetAllowed from Inset
5858 (open): new method, to open or close an inset
5859 (isOpen): returns the status of an inset
5860 (isCollapsable, colapse): removed
5862 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5864 * insetquotes.C (dispString): display french guillemets when using
5867 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5869 * insetcollapsable.h: remove bogus return statements
5871 2001-07-18 Juergen Vigna <jug@sad.it>
5873 * insettabular.C (selectNextWord): fixed spellchecking for the
5874 first cell of a tabular (wasn't entered!)
5875 (getLyXText): changed to enter automatically insettext and return
5876 it's LyXText if we're locked.
5878 2001-07-17 Juergen Vigna <jug@sad.it>
5880 * various files: implemented the below functions.
5882 * inset.h: added functions
5883 - virtual string selectNextWord(BufferView *, float & value) const;
5884 - virtual void selectSelectedWord(BufferView *) { return; }
5885 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5886 needed for spellchecking correctly!
5888 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5890 * insetert.C (latex): write out all paragraphs.
5892 2001-07-17 Baruch Even <baruch@lyx.org>
5894 * insetgraphics.C (draw): Removed unneeded casts.
5896 2001-07-16 Juergen Vigna <jug@sad.it>
5898 * insettext.C (update): fixed small oversight (reset lt to 0).
5900 2001-07-14 Baruch Even <baruch@lyx.org>
5903 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5905 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5907 Consistent use of Lsstream.h:
5908 * figinset.C: removed using std::ostringstream directive.
5910 * insetgraphics.C (createLatexOptions):
5911 * insetinclude.C (unique_id):
5912 std::ostringstream -> ostringstream.
5913 * insettext.C (localDispatch): std::istringstream -> istringstream.
5915 2001-07-13 Juergen Vigna <jug@sad.it>
5917 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5919 * insetcollapsable.C (getLockingInset): ditto.
5921 2001-07-12 Juergen Vigna <jug@sad.it>
5923 * insetcollapsable.h: added implementation of new function for
5926 * various files: added implementation of new insertInsetAllowed-func
5927 and redone the function a bit more.
5929 * inset.h: added isCollapsable(), bool collapsed(),
5930 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5932 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5934 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5935 LyXText which is marked for removal while we're using it!
5937 * insettext.h: added private LyXText * lt to use it to assure we are
5938 not deleting our LyXText while we're using it!
5940 2001-07-11 Juergen Vigna <jug@sad.it>
5942 * insettext.C (insertInset): check if we are before the inset after
5943 inserting it! This check IS needed. Remove the Undo-Call as it is
5944 called in LyXText::insertInset!
5946 * insettext.h: added struct InnerCache.
5948 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5949 that we ONLY delete the LyXText in the getLyXText() routine. So we
5950 are sure we don't delete LyXText while someone is working with it!
5952 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5954 * insetexternal.C: (*it). -> it->
5955 * insettext.C: ditto
5957 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5959 * insetcollapsable.C (edit): always open collapsed insets (even if
5960 they are not autocollapsable)
5962 * insetcommand.C (operator=): simplify.
5964 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5966 * insetert.C (latex): handle META_NEWLINE
5968 2001-07-09 Juergen Vigna <jug@sad.it>
5970 * insetert.h: a normal InsetText can insert insets, but we won't.
5972 * inset.h: return default "false" on insertInsetAllowed and implement
5973 this function where a returnvalue != "false" is needed.
5975 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5977 * insetert.C (InsetERT): new contructor
5979 2001-07-06 Juergen Vigna <jug@sad.it>
5981 * a lot of files: added implementation of the below new functions
5982 and the change to clone(). Also the call of the new undo-functions
5985 * inset.h: added an inset_id, added functions getParFromID,
5986 getInsetFromID, firstParagraph, cursor and id functions, added
5987 bool same_ids to clone function.
5989 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5991 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5992 of BufferView * and shared_ptr<LyXText>
5994 2001-07-05 Juergen Vigna <jug@sad.it>
5996 * insettext.C (clear): deleted also the cache not only LyXText.
5997 (setParagraphData): ditto.
5999 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6001 * insetfloat.C (latex): let the specific placement take presedence
6002 if set, otherwise choose document placement if set, otherwise just
6003 use float default placement.
6005 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6007 * insettext.C (localDispatch): call CutAndPaste::'s static method
6010 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6012 * insetbib.C: no meed to include forms.h here.
6014 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6016 * insettext.C: added using std::make_pair directive.
6018 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6020 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6022 (deleteLyXText): ditto
6023 (resizeLyXText): ditto
6025 2001-07-02 Juergen Vigna <jug@sad.it>
6027 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6028 following calls are only returned the right pointer without the over
6029 head to search in the map.
6030 (various funcs): reset the cached_bview variable as this signs that
6031 the cache is not valid anymore.
6033 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6035 * insettabular.C (clone): do not copy the LyXTabular twice
6037 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6039 * insettext.h (TEXT): delete method
6041 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6043 * insetmarginal.C (latex):
6044 * insetfoot.C (latex): fix spacing of notes in LaTeX
6046 * insettext.C (localDispatch): use .c_str() on istringstream
6047 constructor argument.
6049 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6054 * inseturl.C: fix method names in these to begin
6055 with small char too, so they inherit
6057 2001-06-28 Juergen Vigna <jug@sad.it>
6059 * insettext.C (setFont): fixed font settings using toggleFree()
6060 instead of setFont().
6062 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6064 * Change a lot of method names to begin with a small char.
6065 Changes to a lot of files because of this.
6067 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6069 * insetfloatlist.C (Write): std:: qualify ostream
6072 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6076 * insetgraphics.C: send debug output to Debug::INFO instead of
6079 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6082 * insettabular.C (getStatus): update to use func_status
6084 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6086 * insetref.C (DocBook): added support for cross-references without
6089 2001-06-26 The LyX Project <jug@sad.it>
6094 * insetlabel.h: removed escape method and moved it to
6097 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6099 * insettabular.C (getMaxWidth): do the speedup in a different way,
6102 2001-06-24 The LyX Project <Asger>
6104 * insettabular.C (getMaxWidth): We cache a mapping from
6105 inset to cell in order to speed this method up.
6107 2001-06-24 The LyX Project <Asger>
6109 * insettext.C: Optimized InsetText::draw or something.
6111 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6113 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6115 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6117 * inset.h: name change from lyxinset.h
6119 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6121 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6123 2001-06-14 Juergen Vigna <jug@sad.it>
6125 * insettext.C (draw): removed warnings.
6127 2001-06-13 Juergen Vigna <jug@sad.it>
6129 * insettabular.C (nodraw): only go down the tree if we don't have
6130 that flag set otherwise it's obvious that we don't want to draw.
6131 (LocalDispatch): do also an update if we have an undispached result.
6133 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6136 * insetgraphicsParams.C:
6137 * insettext.C: removed // -*- C++ -*- as first line.
6139 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6141 * lyxinset.h (resizeLyXText): shut off warning about unused
6144 2001-06-07 Juergen Vigna <jug@sad.it>
6146 * insettext.C (resizeLyXText): honor the new force flag.
6148 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6150 * insettabular.C (deleteLyXText): new function
6152 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6160 * insetcollapsable.C:
6161 * insetcaption.C: LColor tidy
6163 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6165 * figinset.C: fix typo
6167 2001-06-01 Juergen Vigna <jug@sad.it>
6169 * insettabular.C (resetPos): small hack so that scroll is not set to
6170 0 when we are in the last column of a tabular. This is a problem we
6171 have because of constats 20 offset on both directions, so this can
6172 cause on the limit an endless loop.
6174 * insettext.C (SetFont): forgot that we can have locking insets ;)
6176 2001-05-31 Juergen Vigna <jug@sad.it>
6178 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6180 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6182 * figinset.C: add using std:: directive for the C functions which
6185 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6187 * insetfloat.C (Write): write out wide info
6188 (Read): read the wide info
6189 (Latex): use the wide info when creating latex.
6191 * insettext.C: adjust
6193 * insetgraphics.[Ch] (statusMessage): change to return string
6197 * figinset.C (runqueue): add std::
6200 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6202 * insetcite.C (Ascii): add std:: qualifier
6204 2001-05-28 Juergen Vigna <jug@sad.it>
6206 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6207 a endless-width inset (maxWidth < 0).
6208 (Edit): change language only if not equal.
6210 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6212 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6214 2001-05-16 Juergen Vigna <jug@sad.it>
6216 * insettext.C (selectAll): added
6217 (clearSelection): added
6219 * insettabular.C (SetFont): now we may set a font on a whole selection!
6220 (getSelection): added helper function.
6222 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6224 * insetcite.C (Ascii): Add method.
6226 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6229 * insetbib.C: fix path for OS/2 & Win32
6231 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6233 * insetfoot.C (Latex): don't use % after footnote.
6235 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6237 * insettext.C (Read): use clear
6238 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6240 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6242 * insetfloatlist.h: add a bunch of std:: qualifiers.
6244 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6246 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6247 FLOAT_LIST_CODE, renumber code list.
6249 * insettoc.C (getScreenLabel): remove support for float lists
6253 * insetfloatlist.[Ch]: new files
6255 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6257 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6259 * insettabular.C (LocalDispatch):
6260 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6263 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6265 * insettext.C: remvoe !NEW_INSETS cruft
6267 * insettabular.C: remove !NEW_INSETS cruft
6269 * insetcollapsable.h: remove !NEW_INSETS cruft
6271 * insetbib.C: remove !NEW_INSETS cruft
6273 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6275 * insettoc.C: hack to make listof algorithm work
6277 2001-04-20 Juergen Vigna <jug@sad.it>
6279 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6281 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6283 * insetquotes.C (Latex): improve the guard against
6284 unwanted !` and ?` ligatures. This should really be done in
6285 another place (to catch all this ligatures at low-level).
6287 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6289 * insettext.C (init): remvoe leftovers from cursor_visible change
6290 (draw): use c++ cast
6291 (LocalDispatch): dispatch LFUN_MESSAGE
6293 * insettabular.C (InsetTabular): remove leftovers from
6294 cursor_visible, and scoped_ptr changes
6295 (draw): use c++ cast
6297 * insetcollapsable.C (draw): use c++ cast
6299 * ExternalTemplate.h: inherit privaely from noncopyable
6300 * insetcommand.h: ditto
6301 * insetinclude.h: ditto
6303 2001-04-16 Allan Rae <rae@lyx.org>
6305 * insettoc.C (Ascii):
6306 * insettext.C (draw):
6307 * insettabular.C (setPos):
6308 * insetminipage.C (Read):
6309 * insetfloat.C (placement):
6310 * insetcaption.C (Ascii, DocBook):
6311 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6312 an unrecognised preprocessor directive. So ensure they're wrapped.
6314 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6317 * insetexternal.C: set view on Clone. Add _ to private members.
6319 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6321 * insettext.C (InsetText): fix new
6322 (InsetText): reindent some, simplify deletion of par list
6323 (clear): simplify deletion of par list, fix new
6324 (SetParagraphData): simplify deletion of par list
6326 * insettabular.[Ch] (getLabelList): implement new method
6328 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6330 * lyxinset.h: do not include gettext.h...
6338 * insetlatexaccent.C:
6342 * inseturl.C: ... and do it here instead
6344 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6346 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6348 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6350 * insetcollapsable.[Ch] (getLabelList): implement
6352 * insettext.[Ch] (getLabelList): implement
6354 * insettext.h: reindent
6356 * insettabular.h: make tabular a scoped_ptr
6358 * insettext.C (init): adjust for cursor_visible
6359 (ToggleInsetCursor): constify asc and desc, font, adjust for
6361 (ShowInsetCursor): constify asc and desc, font, adjust for
6363 (HideInsetCursor): adjust for cursor_visible
6365 * insettabular.C: reindent some
6366 (InsetTabular): adjust for scoped_ptr and cursor_visible
6367 (InsetTabular): ditto
6368 (~InsetTabular): delete delete
6369 (Clone): adjust for scoped_ptr
6370 (Read): constify old_format, adjust for scoped_ptr, move init of
6372 (draw): constify tx, localize loop vars.
6373 some other localization of variables, remove double initilizatons.
6375 * insetfoot.C: remove using std::ostream, add ostream where needed
6377 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6379 * lyxinset.h: some reindentaion, use initializer list for
6381 UpdatableInset: make cursor_visible a private var add
6382 public isCursorVisible(), add protected toggleCursorVisible() and
6383 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6385 * insettoc.C: remvoe using decl
6386 (getScreenLabel): make cmdname donst
6389 (Ascii): don't use endl
6391 * insetfootlike.C: remove using decl at file scope and add std::
6393 * insetmarginal.C: ditto
6395 * insetfoot.C: some reformatting
6397 * insetfloat.C (InsetButtonRelease): adjust the hit area
6399 * insetert.C (SetFont): some reformatting
6401 * insetcollapsable.C: some reformatting and constification
6402 (Clone): comment out.
6403 * insetcollapsable.h: some reformatting
6404 (Clone): comment out.
6409 2001-03-30 Juergen Vigna <jug@sad.it>
6411 * insetcollapsable.h: changen *inset to be a InsetText inset.
6413 * some files: changed to reflect the above change.
6415 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6417 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6418 InsetExternal::Params.
6419 Added operator==() and operator!=() for the Params struct.
6421 2001-03-29 Juergen Vigna <jug@sad.it>
6423 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6426 * insetminipage.C: removed widthp_ and all it's functions and changed
6427 to use new %-lengths of LyXLength.
6429 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6431 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6433 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6435 * insetgraphicsParams.C (operator!=): new function, needed by the
6436 ControlGraphics class.
6438 2001-03-28 Juergen Vigna <jug@sad.it>
6440 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6441 (checkAndActivateInset): don't use the values returned from
6442 call to bv->checkInsetHit.
6444 * insetminipage.C (Clone): set special minipage values.
6446 * insetcollapsable.C (draw): changed to draw the button in the
6447 upper left corner outside the textinset.
6448 (ascent): changed because of different drawing
6452 (InsetButtonPress): ditto
6453 (InsetButtonRelease): ditto
6454 (InsetMotionNotify): ditto
6456 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6458 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6462 2001-03-26 Juergen Vigna <jug@sad.it>
6464 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6466 * insettext.C (ShowInsetDialog): implemented above function.
6468 * insettabular.C (ShowInsetDialog): ditto
6470 * insetminipage.C (ShowInsetDialog): ditto
6472 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6474 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6475 InsetInclude::Params. Don't store a buffer * in Params. Store the
6476 master file name instead.
6478 2001-03-23 Juergen Vigna <jug@sad.it>
6480 * insetcollapsable.C (InsetMotionNotify):
6481 (InsetButtonRelease):
6482 (InsetButtonPress): fixed y-offset (minipages).
6484 * insettext.C (draw): force a FULL update if cleared == true.
6486 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6487 routine to draw the minipages on its position-flag.
6488 (InsetInInsetY): give back the right y position, because of minipage
6491 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6494 * insetfloat.C (DocBook): docbook export code.
6496 2001-03-22 Juergen Vigna <jug@sad.it>
6498 * insetminipage.C (getMaxWidth): added function to set the drawing
6500 (Read): should work now!
6502 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6503 if we create a new inset.
6505 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6507 * figinset.C (fl_set_preemptive_callback): moved definition outside
6510 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6512 * insetminipage.C (Read): prepare for reading of minipage arguments.
6514 2001-03-18 Baruch Even <baruch@lyx.org>
6516 * insetgraphics.C: Minor cleanups of the comments and code.
6518 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6520 * insetminipage.C (InsetMinipage): default to not collapsed
6522 2001-03-16 Juergen Vigna <jug@sad.it>
6524 * insetminipage.C (width): modified with to be a string
6525 (widthp): added widthp (for % width) support functions.
6526 (InsetButtonRelease): added to open the options dialog on button==3.
6527 (~InsetMinipage): added to hide the dialog.
6529 * insetminipage.h: added hideDialog signal
6531 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6533 * insetminipage.h: change the order or Position to match
6534 LyXParagraph::MINIPAGE_ALIGNMENT
6536 * several files: remvoe CXX_WORKING_NAMESPACES
6538 * ExternalTemplate.h: noncopyable is in namespace boost
6539 * insetinclude.h: ditto
6540 * insetcommand.h: ditto
6542 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6544 * insettext.C (Edit): #else# -> #else.
6545 * insettoc.C: added using directive.
6547 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6549 * insetminipage.h: add pos, inner_pos, width and height. + getters
6550 and setters for all of them.
6552 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6554 * insetinclude.C (Latex): Do not exit when the textclass of the
6555 included file differ from the textclass of the parent file.
6557 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6559 * ExternalTemplate.C (read): the reading of external insets now checks
6560 for \end_inset and removes it form the input stream.
6562 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6564 * ExternalTemplate.h:
6565 * ExternalTemplate.C:
6567 * insetexternal.C: move form to GUII
6569 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6572 * insetinclude.C: add InsetIncludeParams, use
6573 composition rather than derivation of InsetCommand
6575 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6577 * insettoc.C (Ascii): use the Buffer typedefs
6579 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6581 * insettoc.C (Ascii): implement for dynamic number of lists
6583 * insetcaption.[Ch]: update from new_insets branch
6584 * insetfloat.[Ch]: ditto
6586 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6589 * figinset.C: use new File Dialog
6591 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6593 * insettext.C: changes becuase of ParagraphParameters.
6595 2001-02-28 Baruch Even <baruch@ev-en.org>
6597 * insetgraphics.C (updateInset): Changed due to the change in
6600 2001-02-26 Juergen Vigna <jug@sad.it>
6602 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6603 handled in LyXText).
6605 2001-02-23 Juergen Vigna <jug@sad.it>
6607 * insettext.C (draw): some small repainting fixes.
6608 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6610 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6611 should be) and not an int.
6613 * insettabular.C (LocalDispatch): ditto
6615 * insettext.C (LocalDispatch): ditto
6617 * insetcollapsable.C (LocalDispatch): ditto
6619 2001-02-22 Juergen Vigna <jug@sad.it>
6621 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6622 DISPATCH it and we don't have a locking_inset.
6624 2001-02-21 Baruch Even <baruch@ev-en.org>
6626 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6627 instead of GraphicsCacheItem *.
6629 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6631 * insetcollapsable.C (getLyXText): add const qualifier to second
6634 2001-02-22 Juergen Vigna <jug@sad.it>
6636 * insettext.C (getLyXText): honor the recursive parameter.
6637 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6639 * inset.C (getLyXText): added bool recursive parameter.
6641 * insettext.C (SetUpdateStatus): or the update codes.
6642 (draw): check need_update with &.
6643 (InsetButtonPress): set no_selection to not put a selection when
6644 entering an inset and it is redraws in another spot.
6646 * insettext.h: made need_update an int.
6648 2001-02-20 Baruch Even <baruch@ev-en.org>
6651 * insetgraphisc.C: Changed to use better semantics when loading images
6652 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6654 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6658 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6659 consistent with InsetTabular.
6661 2001-02-19 Juergen Vigna <jug@sad.it>
6663 * insettabular.C (LocalDispatch): implement PAGE up/down.
6665 * insettext.C (draw): clear all of it on need_update==INIT too!
6667 * insettabular.C (InsetUnlock): always clear the selection.
6669 * inset.C (scroll): normally we only want to scroll the inset until
6670 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6672 2001-02-14 Juergen Vigna <jug@sad.it>
6674 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6675 (resetPos): fixed scroll behaviour.
6676 (LocalDispatch): do an update if moving cursor inside a table cell
6677 requests a scroll of the tabular.
6679 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6681 * insettext.C (textWidth): constify local var
6683 * insettabular.C: small cleanup.
6685 * insetfoot.C (Latex): constify local var
6687 * insetcollapsable.C: small cleanup.
6689 * figinset.C (runqueue): use compare instead of strcmp
6691 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6694 * insetinfo.C: remove cruft
6696 2001-02-14 Juergen Vigna <jug@sad.it>
6698 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6700 2001-02-13 Juergen Vigna <jug@sad.it>
6702 * insettext.C (InsertInset): don't move left (is this right?)
6704 * insettabular.C (LocalDispatch): use of the no_draw variable
6706 * insettabular.h: new no_draw variable to stop redraw
6708 * insettabular.C (TabularFeatures): fixed update for alignment change
6710 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6714 * insetbib.C: move dialogs to frontends/
6716 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6718 * insettext.C (LocalDispatch): Restore the language if the inset
6721 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6723 * insettext.C (moveRightIntern): Update the selection cursor.
6724 (moveLeftIntern): Ditto.
6726 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6728 * Makefile.am: remove BoundingBox.h
6730 * BoundingBox.h: removed
6732 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6734 * insettext.C (LocalDispatch): Update selection cursor when moving
6735 cursor to the right.
6736 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6737 (moveLeftIntern): Ditto.
6739 2001-02-05 Baruch Even <baruch.even@writeme.com>
6741 * insetgraphics.C: Updated automatic image conversion, it now goes into
6742 temporary directory instead of with the image itself.
6744 2001-01-21 Baruch Even <baruch@ev-en.org>
6746 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6747 to EPS or PNG when needed (support bitmap graphics).
6749 2000-11-02 Baruch Even <baruch@ev-en.org>
6752 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6753 and removal of commented out code.
6755 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6757 * insetbib.C (callback): Update citations if the key has changed.
6759 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6761 * insetbib.C (InsetBibKey): Better computation of default key.
6762 (getScreenLabel) Show both the key and the label.
6763 (getBibLabel): New method.
6764 (callback): Force a redraw if the inset have been changed.
6766 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6768 * insetref.C (getType, getName): Move methods from
6769 src/frontends/xforms/FormRef.C.
6771 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6773 * insettabular.C: Various improvements (use only one dummy position).
6775 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6777 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6778 par->bibkey->width. This fixes the crashes when running without
6779 gui or when having included documents.
6781 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6783 * insetcommand.C (getAsString, setFromString): Cleanup.
6785 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6787 * insetref.C: Add the array InsetRef::types that contains
6788 information about all supported reference types.
6790 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6792 * lyxinset.h: remove trailing comma in enum.
6794 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6796 * insettext.C: kill LyXBell.