1 2004-03-25 Angus Leeming <leeming@lyx.org>
3 * insetcaption.C (draw): squash warning about unused variable.
5 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
7 * ExternalSupport.C: use the master buffer's temp dir
8 * insetgraphics.C (latex): make relative filename relative to the
10 * insetgraphics.C: use the master buffer's temp dir
11 * insetinclude.C (masterFilename): new function
12 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
13 is always true if loadIfNeeded() returns true)
15 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
17 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
18 set its parent to the current buffer.
19 (latex): use the tmppath of the master buffer, not just the parent
20 buffer (makes a difference with more than one level of include
21 insets). If the file name is relative write in the .tex file a
22 name relative to the master buffer directory.
24 * insetinclude.C: rename masterFilename to parentFilename (this
25 points to the direct parent)
27 2004-03-25 André Pönitz <poenitz@gmx.net>
29 * inset.[Ch]: remover owner
31 * insetcollapsable.[Ch]: derive from InsetText instead having such a
39 * insetcharstyle.[Ch]:
49 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
51 * insetquote.C: use opening quote after '[' char.
53 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
55 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
58 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
60 * insetcite.[Ch]: support jurabib.
62 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
64 * insetcite.C: Support second \cite option.
67 * insetcommandparams.[Ch]: add second optional argument.
69 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
71 * insetcollapsable.C (lfunMouseRelease): right mouse button only
72 shows the inset dialog.
74 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
76 * insetlabel.[Ch]: remove them
79 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
81 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
83 * insetinclude.C (latex): show a GUI warning if textclasses don't
85 * insetinclude.C: use mangledFilename() for temp files
86 * insetgraphics.C (readInsetGraphics): remove version check, since
87 the graphics inset has no own fileformat number anymore
89 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
91 * insetquotes.[Ch]: added new member that allows direct access
92 to single/double quotation marks.
94 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
96 2004-02-16 André Pönitz <poenitz@gmx.net>
99 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
100 implicitly assume 'DispatchResult(true, true) with exception of
101 InsetBase::priv_dispatch which does the equivalent of
102 'retrun DispatchResult(false)'
104 * inset*.[Ch] (priv_dispatch): adjust
106 * insettabular.[Ch]: remove remains of the 'update' mechanism,
107 simplify cursor moving function,
108 re-enable horizontal scrolling for large tables
110 2004-02-13 André Pönitz <poenitz@gmx.net>
112 * insettabular.[Ch]: some work after IU
114 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
116 * inset.C (setPosCache): switch to absolute coords in insets
117 * insettext.[Ch] (draw, drawFrame): adjust
118 * insetcollapsable.C (draw): adjust
121 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
123 * insettext.C (edit):
124 (updateLocal): use the cur argument instead of the global cursor
125 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
127 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
129 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
131 * insetfloat.C (validate): "H" -> 'H' in call to contains
133 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
135 2004-01-30 André Pönitz <poenitz@gmx.net>
139 * insetcollapsable.[Ch]:
142 * insetgraphics.[Ch]:
147 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
150 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
152 * insettabular.C: add using statement for std::vector, remove
153 std:: where using was already used.
155 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
157 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
159 * insetinclude.C (validate): use feautures.nice() instead of
162 2004-01-20 André Pönitz <poenitz@gmx.net>
165 * insetbase.[Ch]: move stuff from mathcursor here.
171 * insetcharstyle.[Ch]:
172 * insetcollapsable.[Ch]:
175 * insetexternal.[Ch]:
177 * insetgraphics.[Ch]:
186 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
188 2004-01-15 André Pönitz <poenitz@gmx.net>
195 * insetcharstyle.[Ch]:
196 * insetcollapsable.[Ch]:
199 * insetexternal.[Ch]:
201 * insetgraphics.[Ch]:
210 * updatableinset.[Ch] (priv_dispatch et al): change signature.
212 2004-01-08 André Pönitz <poenitz@gmx.net>
214 * insetcollapsable.[Ch]:
217 * updatableinset.h: use cell index info from global cursor.
219 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
221 * insetnote.C (InsetNoteParams::write): write label only once
223 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
225 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
227 get rid of the SameName functor
229 * insettabular.C: improve the functor.
231 2003-12-29 Angus Leeming <leeming@lyx.org>
233 * insetexternal.C (setParams): update defaultTemplateName.
235 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
237 * insetbox.C: Use term "Box" in button label
239 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
241 * insetcharstyle.C: get getDrawFont working again
243 2003-12-15 André Pönitz <poenitz@gmx.net>
246 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
248 2003-12-12 Angus Leeming <leeming@lyx.org>
250 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
252 (InsetBranchParams): remove the branchlist hack.
253 (isBranchSelected): new function, used to decide whether to
254 print each output format. Also used by InsetList.
255 (read, string2params): repair my own breakage ;-)
257 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
259 * insetminipage.[Ch]: remove from repository.
261 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
264 * insetcollapsable.[Ch]: Move all CollapseStatus code from
265 insetert to insetcollapsable; introduce virtual function
266 setButtonLabel and invoke it from collapsable
268 2003-12-12 Angus Leeming <leeming@lyx.org>
270 * insetinclude.C (draw): cache x,y and so enable the
273 2003-12-12 Angus Leeming <leeming@lyx.org>
275 * mailinset.C (print_mailer_error): tidy up the output.
277 2003-12-11 Angus Leeming <leeming@lyx.org>
279 * mailinset.[Ch] (print_mailer_error): new helper function.
281 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
282 calling InsetCommandMailer.
283 (InsetCommandMailer::string2params): pass the name of the dialog.
285 * insetbibitem.[Ch] (d-tor):
286 * insetbibtex.[Ch] (d-tor):
287 * insetcite.[Ch] (d-tor):
288 * insetfloatlist.[Ch] (d-tor):
289 * insetindex.[Ch] (d-tor):
290 * insetlabel.[Ch] (d-tor):
291 * insetref.[Ch] (d-tor):
292 * insettoc.[Ch] (d-tor):
293 * inseturl.[Ch] (d-tor): removed.
294 Hiding the dialog is handled by InsetCommand.
296 * insetbibtex.[Ch] (draw, metrics):
297 * insetfloatlist.[Ch] (draw, metrics):
298 * insetindex.[Ch] (draw, metrics): removed.
299 Drawing is handled by InsetCommand.
301 * insetbibitem.[Ch] (priv_dispatch):
302 * insetbibtex.[Ch] (priv_dispatch):
303 * insetcite.[Ch] (priv_dispatch):
304 * insetfloatlist.[Ch] (priv_dispatch):
305 * insetindex.[Ch] (priv_dispatch):
306 * insetlabel.[Ch] (priv_dispatch):
307 * insettoc.[Ch] (priv_dispatch):
308 * inseturl.[Ch] (priv_dispatch): removed or simplified.
309 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
310 LFUN_INSET_DIALOG_SHOW.
312 * insetbox.C (string2params):
313 * insetbranch.C (string2params):
314 * insetert.C (string2params):
315 * insetexternal.C (string2params):
316 * insetfloat.C (string2params):
317 * insetinclude.C (string2params):
318 * insetminipage.C (string2params):
319 * insetnote.C (string2params):
320 * insetvspace.C (string2params):
321 * insetwrap.C (string2params): over-hauled.
323 2003-12-10 Angus Leeming <leeming@lyx.org>
325 * insetexternal.[Ch]: add a draft option and respect it when
328 2003-12-10 Angus Leeming <leeming@lyx.org>
330 * insetbox.C: (read, write): now prepend the inset contents with
331 'Box' to identify the inset as a box inset.
333 * insetbox.h: move the translators out of sight.
335 2003-12-10 Angus Leeming <leeming@lyx.org>
337 * insetert.C (string2params): clean-up using the new lyxlex interface.
339 * insetexternal.C: ensure that InsetExternalParams has a default
340 template, 'RasterImage'.
342 2003-12-10 Angus Leeming <leeming@lyx.org>
344 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
345 to an enum. Ensuing clean-ups through out the class.
346 (read, write): now prepend the inset contents with 'Note' to identify
347 the inset as a note inset.
349 2003-12-10 Angus Leeming <leeming@lyx.org>
351 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
352 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
354 2003-12-10 André Pönitz <poenitz@gmx.net>
359 * insettext.[Ch]: remove unused insetInset()
361 * insetert.C: disable some LFUNs
363 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
365 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
367 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
369 2003-12-04 Angus Leeming <leeming@lyx.org>
371 * insetexternal.C (draw): update the xo_, yo_ cache.
373 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
375 (RotationDataType): new helper struct wrapping the
376 RotationData::OriginType enum.
378 2003-12-03 André Pönitz <poenitz@gmx.net>
380 * inset.h: remove getParagraphs()
382 * insetcollapsable.[Ch]:
386 * insettext.C: use getText() instead of getParagraphs()
388 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
390 * insetert.C: fix label text updating bug
392 2003-12-02 Angus Leeming <leeming@lyx.org>
394 * insetvspace.[Ch] (space): new member function. Make space_ private.
395 (read): use the new, simpler lyxlex syntax.
397 2003-12-01 André Pönitz <poenitz@gmx.net>
399 * insetcollapsable.[Ch]:
400 * insetert.[Ch]: move 'inline' state to InsetCollapsable
402 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
404 * insetvspace.C (read): handle 'end_inset' token.
406 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
408 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
410 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
412 * insetcollapsable.[Ch]:
414 * insetcharstyle.C: place inset content on the button when
417 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
419 * insetvspace.C: remove VSpace::NONE; increase inset width
421 2003-12-01 André Pönitz <poenitz@gmx.net>
423 * insetbase.h: whitespace
425 * inset.[Ch]: remove latexTextWidth
426 make setBackgroundColor virtual
428 * insettext.[Ch]: move ParagraphList member to LyXText
430 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
436 * insetminipage.[Ch]:
438 * insetwrap.[Ch]: adjust paragraphs and background color handling,
440 2003-11-28 Angus Leeming <leeming@lyx.org>
442 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
443 hiding and showing the dialog respectively.
444 (priv_dispatch): also actually update the inset contents.
446 2003-11-28 Angus Leeming <leeming@lyx.org>
448 * insetbox.C (d-tor):
449 * insetbranch.C (d-tor):
450 * insetcite.C (d-tor):
451 * insetfloat.C (d-tor):
452 * insetfloatlist.C (d-tor):
453 * insetinclude.C (d-tor):
454 * insetindex.C (d-tor):
455 simplify the invocation of the Mailer::hideDialog() function.
457 * insetminipage.C (showInsetDialog):
458 simplify the invocation of the Mailer::showialog() function.
460 2003-11-28 André Pönitz <poenitz@gmx.net>
463 * insetvspace.[Ch]: new insets
465 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
467 * insetcharstyle.C: Syntax change for CharStyles
469 2003-11-28 André Pönitz <poenitz@gmx.net>
471 * updatableinset.h: remove insetInInsetY
473 * insetcollapsable.[Ch]:
476 * insettext.[Ch]: adjust
478 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
482 * insetcollapsable.[Ch]:
484 * insettabular.[Ch]: remove setFont
486 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
488 * render_graphic.[Ch]: adjust comments
490 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
492 * insetgraphics.C (draw): cache xo_ & yo_
494 2003-11-24 André Pönitz <poenitz@gmx.net>
496 * insettext.C (setViewCache): don't call LyXText::init() anymore
498 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
501 * insetcollapsable.[Ch]:
502 * insetert.[Ch]: remove bufferview parameter in methods
503 open, close, status, and updateStatus.
505 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
507 * insetcollapsable.[Ch]:
509 * insettext.[Ch] (getCursorDim): squash unused variable
511 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
513 * insettext.C (edit): x0_,y0_ -> xo_,yo_
515 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
517 * insettext.C (draw): sets LyXText absolute coordinates
519 2003-11-20 Angus Leeming <leeming@lyx.org>
521 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
522 about unused parameters.
524 * insetcollapsable.C (open):
525 * insettabular.C (pasteSelection):
526 * insettoc.C (draw): ditto.
528 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
530 * insetcollapsable.C:
532 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
533 remove mouse_x mouse_y etc.
535 2003-11-17 André Pönitz <poenitz@gmx.net>
537 * insettext.[Ch] (cx, cy): remove
539 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
541 2003-11-13 André Pönitz <poenitz@gmx.net>
544 * insetcollapsable.[Ch]:
546 * insettext.[Ch] (deleteLyXText): remove
548 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
550 * insetcollapsable.[Ch] (fitInsetCursor): remove
551 * insettabular.[Ch] (fitInsetCursor): remove
552 * insettext.[Ch] (fitInsetCursor): remove
553 * updatableinset.[Ch] (fitInsetCursor): remove
554 (getCursorDIm): add virtual
556 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
558 * src/insets/Makefile.am:
559 * src/insets/inset.h:
560 * src/insets/insetcharstyle.C:
561 * src/insets/insetcharstyle.h: The Character Style /XML short
564 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
566 * insettext.C: remove all update calls
567 * insetcollapsable.C: remove all update calls
569 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
571 * insettext.C (updateLocal, insertInset, setFont): remove
574 2003-11-10 André Pönitz <poenitz@gmx.net>
576 * inset.h: remove Inset::id_
578 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
581 2003-11-10 André Pönitz <poenitz@gmx.net>
585 * insetcollapsable.[Ch]:
592 * updatableinset.[Ch]: remove inset locking & adjust
594 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
596 * inset.h (allowSpellCheck): add (return true)
597 * insetert.h (allowSpellCheck): add (return false)
599 2003-11-05 José Matos <jamatos@lyx.org>
607 * insetcollapsable.[Ch]:
611 * insetexternal.[Ch]:
613 * insetfloatlist.[Ch]:
615 * insetgraphics.[Ch]:
620 * insetlatexaccent.[Ch]:
623 * insetmarginal.[Ch]:
624 * insetminipage.[Ch]:
628 * insetpagebreak.[Ch]:
632 * insetspecialchar.[Ch]:
638 * insetwrap.[Ch]: rename ascii to plaintext
639 and LatexRunParams to OutputParams.
641 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
643 * insetcollapsable.C (edit): add open() all
644 * insettext.C (edit): add setViewCache call
646 2003-11-04 André Pönitz <poenitz@gmx.net>
648 * inset.h (edit): move locking code from dispatch() to edit()
654 * insetcollapsable.[Ch]:
657 * insetexternal.[Ch]:
658 * insetgraphics.[Ch]:
664 * insettext.[Ch]: adjust
666 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
669 * insetcollapsable.[Ch]:
673 * updatableinset.[Ch]: remove dead search code
675 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
678 * insetcollapsable.[Ch]:
682 * updatableinset.[Ch]: remove dead spellcheck code
684 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
686 * insettabular.C (lockInsetInInset): small fix
688 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
690 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
691 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
692 from here. Be stricter on DispatchResult returned.
694 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
696 * Inset::dispatch's: adjust for new DispatchResult semantics.
698 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
700 * render_base.h: make clone return an auto_ptr
701 * render_button.C (clone): adjust
702 * render_graphic.C (clone): adjust
703 * render_preview.C (clone): adjust
705 * insettheorem.C (clone): return an auto_ptr
707 * insettext.C (priv_dispatch): exception safety
709 * insettabular.C: store the file scope variable paste_tabular in a
710 scoped_ptr, adjust usage.
712 * insetexternal.C (setParams): exception safety
714 * insetbibitem.C (clone): exception safety
716 2003-11-03 André Pönitz <poenitz@gmx.net>
719 * insetcollapsable.[Ch]:
721 * insettext.[Ch]: remove Inset::id and related functions
723 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
725 * insets: adjust for DispatchResult changes.
727 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
729 * insetpagebreak.C: fix screen representation & ascii output.
731 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
736 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
738 2003-10-31 José Matos <jamatos@lyx.org>
740 * inset.h (ascii, linuxdoc, docbook):
741 * insetbox.[Ch] (ascii, linuxdoc, docbook):
742 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
743 * insetcaption.[Ch] (ascii, docbook):
744 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
745 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
746 * insetert.[Ch] (ascii, linuxdoc, docbook):
747 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
748 * insetfloat.[Ch] (linuxdoc, docbook):
749 * insetfloatlist.[Ch] (ascii):
750 * insetfoot.[Ch] (docbook):
751 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
752 * insethfill.[Ch] (ascii, linuxdoc, docbook):
753 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
754 * insetindex.[Ch] (docbook):
755 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
756 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
757 * insetline.[Ch] (ascii, linuxdoc, docbook):
758 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
759 * insetnote.[Ch] (ascii, linuxdoc, docbook):
760 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
761 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
762 * insetref.[Ch] (ascii, linuxdoc, docbook):
763 * insetspace.[Ch] (ascii, linuxdoc, docbook):
764 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
765 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
766 * insettext.[Ch] (ascii, linuxdoc, docbook):
767 * insettoc.[Ch] (ascii, linuxdoc, docbook):
768 * inseturl.[Ch] (ascii, linuxdoc, docbook):
769 * insetwrap.[Ch] (docbook):
770 add LatexRunParams argument.
772 2003-10-30 José Matos <jamatos@lyx.org>
774 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
776 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
778 * updatableinset.C (priv_dispatch):
779 * insetwrap.C (priv_dispatch):
780 * inseturl.C (priv_dispatch):
781 * insettoc.C (priv_dispatch):
782 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
783 (moveLeftIntern, moveUp, moveDown):
784 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
785 (moveLeft, moveUp, moveDown):
786 * insetref.C (priv_dispatch):
787 * insetnote.C (priv_dispatch):
788 * insetminipage.C (priv_dispatch):
789 * insetlabel.C (priv_dispatch):
790 * insetindex.C (priv_dispatch):
791 * insetinclude.C (priv_dispatch):
792 * insetgraphics.C (priv_dispatch):
793 * insetfloatlist.C (priv_dispatch):
794 * insetfloat.C (priv_dispatch):
795 * insetexternal.C (priv_dispatch):
796 * insetert.C (priv_dispatch):
797 * insetcommand.C (priv_dispatch):
798 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
799 * insetcite.C (priv_dispatch):
800 * insetbranch.C (priv_dispatch):
801 * insetbox.C (priv_dispatch):
802 * insetbibtex.C (priv_dispatch):
803 * insetbibitem.C (priv_dispatch):
804 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
806 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
808 * insettext.C: small refactoring of docbook stuff
810 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
812 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
813 (priv_dispatch): adjust for operator dispatch_result_t removal
815 * insettabular.C (lfunMouseRelease): put the result of a dispatch
816 in a DispatchResult, adjust accordingly.
817 (priv_dispatch): use strange >= construct... (will be removed later)
819 * most insets: dispatch_result -> DispatchResult
821 * insetbase.h: move DispatchResult out to dispatchresult.h
823 2003-10-27 André Pönitz <poenitz@gmx.net>
825 * insetpagebreak.[Ch]: new inset for page breaks
827 * insetline.[Ch]: new inset for vertical lines
832 2003-10-25 Angus Leeming <leeming@lyx.org>
834 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
835 new virtual member functions, specialised...
836 * render_button.h (asButton):
837 * render_graphic.h (asGraphic):
838 * render_preview.h (asPreview, asMonitoredPreview): ... here.
840 * insetexternal.C: use these new functions rather than dynamic_cast.
841 Various other small simplifications.
843 2003-10-22 Angus Leeming <leeming@lyx.org>
845 * insetexternal.[Ch]: add the ability to 'preview' the external file
848 * insetinclude.C: changes due to the changes in the RenderPreview
851 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
852 message if the preview image is not available. Only initiate the
853 loading of the preview from draw(). Ditto, start the monitoring
854 of an external file from RenderMonitoredPreview::draw.
856 2003-10-22 Angus Leeming <leeming@lyx.org>
858 * insetcite.[Ch] (setLoadingBuffer): removed.
859 (getNatbibLabel): use the new Buffer::fully_loaded member function to
860 ascertain whether to proceed with the (expensive) task of computing
861 the natbib-style label. Remove the home-grown hack providing
862 similar functionality.
864 2003-10-22 Angus Leeming <leeming@lyx.org>
866 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
867 class and into an anonymous namespace.
869 2003-10-22 Angus Leeming <leeming@lyx.org>
871 * insetcommand.h: remove the display method.
875 * insetindex.h (InsetPrintIndex):
876 * insettoc.h: add a display method, returning true.
878 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
880 * insetcollapsable.h:
884 * insetinclude.h: (1) finish off the inset display() work;
885 (2) fix the "is a bit silly" bug (accessing char
888 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
892 * insetfootlike.h: re-introduce display() for insets,
893 fixing the various bugs (stretch of line above, math inset
896 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
898 * insetbase.C (dispatch): new func
899 (priv_dispatch): new func replaces...
900 (localDispatch): this, deleted.
902 * all insets with dispatch modified for new code.
904 2003-10-15 André Pönitz <poenitz@gmx.net>
906 * insetcollapsable.[Ch]
908 * inset.h: re-add some edit(bv, index) method called by undo
910 2003-10-14 Angus Leeming <leeming@lyx.org>
912 * insetexternal.[Ch] (view, cache, view_):
913 * insetgraphics.[Ch] (view, cache, view_):
914 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
915 (statusChanged): call LyX::cref().updateInset.
917 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
918 the BufferView cache.
920 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
923 2003-10-14 Angus Leeming <leeming@lyx.org>
925 * insetinclude.C (metrics, draw): only draw the preview when previews
928 2003-10-14 André Pönitz <poenitz@gmx.net>
930 * insetcollapsable.[Ch]:
933 * inset.h: getText() as alternative to getParagraphs()
935 2003-10-13 Angus Leeming <leeming@lyx.org>
938 * insetgraphicsParams.C: displayTranslator is now a function.
940 2003-10-13 Angus Leeming <leeming@lyx.org>
942 * insetinclude.C: remove #include "PreviewImage.h".
944 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
947 * ExternalTransforms.C:
949 * insetbox.h: ws changes only
951 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
953 * insetinclude.C (localDispatch): do not call
954 InsetOld::localDispatch, just return UNDISPATCHED
955 * insetgraphics.C (localDispatch): ditto
956 * insetcommand.C (localDispatch): ditto
958 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
960 * inset.h: get rid of RESULT typedef for dispatch_result
962 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
963 * insetert.[Ch] (localDispatch): ditto
964 * insettabular.[Ch] (localDispatch): ditto
969 * insettext.[Ch] (localDispatch): ditto
972 (moveRightIntern): ditto
973 (moveLeftIntern): ditto
976 * updatableinset.[Ch] (localDispatch): ditto
978 2003-10-12 Angus Leeming <leeming@lyx.org>
980 * renderbase.h (view, view_): removed.
981 * renderbase.C: removed.
982 * Makefile.am: remove render_base.C. The shortest lived file in
985 * renderbutton.C (draw):
986 * render_graphic.C (draw): don't cache the BufferView.
988 * insetabase.h (cache, view): removed.
990 * inset.h (generatePreview) removed.
992 * insetcallapsable.[Ch] (cache, view, view_): removed.
994 * insetcollapsable.C (draw): don't cache the BufferView.
996 * insetcommand.[Ch] (view): removed.
998 * insetexternal.[Ch] (cache, view, view_):
999 * insetgraphics.[Ch] (cache, view, view_):
1000 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1002 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1003 when you have direct access to it. In fact, don't use the cache at all.
1005 2003-10-10 Angus Leeming <leeming@lyx.org>
1007 * insetinclude.C (metrics): use preview_->metrics.
1008 (draw): use preview_->draw.
1010 * render_preview.[Ch] (pimage): removed.
1012 2003-10-10 Angus Leeming <leeming@lyx.org>
1014 * renderers.[Ch]: removed.
1017 * render_button.[Ch]:
1018 * render_graphic.[Ch]:
1019 * render_preview.[Ch]: new files. The first three are split out of
1020 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1021 contains a re-worked InsetInclude::PreviewImpl also.
1023 * Makefile.am: reflect the changed files.
1026 * insetexternal.[Ch]:
1027 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1029 * insetinclude.[Ch]: changes reflecting the change from
1030 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1036 * inseturl.C: add #include "support/std_ostream.h"
1038 2003-10-09 Angus Leeming <leeming@lyx.org>
1040 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1041 to PreviewedInset::previewReady.
1043 2003-10-09 Angus Leeming <leeming@lyx.org>
1045 * insetexternal.[Ch] (statusChanged):
1046 * insetgraphics.[Ch] (statusChanged): make a const member function.
1048 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1051 2003-10-09 Angus Leeming <leeming@lyx.org>
1053 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1054 to PreviewedInset's previewReady and removePreview member functions.
1056 2003-10-08 André Pönitz <poenitz@gmx.net>
1058 * insetcollapsable.C:
1059 * insettext.[Ch]: saner 'init' structure
1061 * updatableinset.[Ch]: remove unneeded code
1063 2003-10-08 Angus Leeming <leeming@lyx.org>
1065 Fix doxygen warnings.
1067 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1068 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1070 2003-10-07 Angus Leeming <leeming@lyx.org>
1072 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1073 be applied to InsetExternal.
1075 * Makefile.am: add these new files.
1077 * ExternalTemplate.[Ch]: add a list of available transforms to
1078 class Template and a list of factory functions for transformer classes
1079 that can act on this data to class Format.
1081 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1083 * ExternalSupport.C: Add code to replace transform placeholders
1084 with appropriate output.
1086 2003-10-07 Angus Leeming <leeming@lyx.org>
1088 * ExternalSupport.[Ch]: new files, moving the private member functions
1089 and namespace anon functions out of insetexternal.C to here, so making
1090 it easier to understand what is going on in insetexternal itself.
1092 * Makefile.am: add new files.
1094 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1095 allowing the class to be forward declared. (Also consistent with
1096 all other Params classes.)
1097 (write): moved out of the class. Move this function and those in
1098 namespace anon to ExternalSupport.[Ch].
1100 2003-10-07 Angus Leeming <leeming@lyx.org>
1102 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1103 non-const member function.
1105 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1110 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1112 2003-10-02 André Pönitz <poenitz@gmx.net>
1114 * insettext.C (read): make sure there is at least one par
1115 in the text after reading.
1117 2003-10-01 José Matos <jamatos@lyx.org>
1119 * insetbranch.C (linuxdoc, docbook): minor fix.
1121 2003-10-01 Angus Leeming <leeming@lyx.org>
1123 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1125 * insetexternal.[Ch]: changes due to the introduction of
1126 namespace lyx::external.
1128 2003-09-30 Angus Leeming <leeming@lyx.org>
1130 * insetexternal.[Ch] (Params::read, write): new member functions.
1132 2003-09-25 Angus Leeming <leeming@lyx.org>
1134 * insetexternal.[Ch] (TempName): new (private) nested struct with
1135 fake copy semantics. Enables us to use the generated copy c-tor
1136 in the Params struct.
1137 (Params::templatename, Params::tempname): use accessor functions.
1139 2003-09-25 Angus Leeming <leeming@lyx.org>
1141 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1142 function, returning a const pointer.
1144 2003-09-23 Angus Leeming <leeming@lyx.org>
1146 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1147 store them in a vector, preambleNames.
1149 * insetexternal.C (validate): loop over all preambleNames and call
1150 LaTeXFeatures::addExternalPreamble with each.
1152 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1154 * insetbranch.C: bug fix in branches
1156 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1158 * insetnote.C: small clean-up.
1160 2003-09-19 Angus Leeming <leeming@lyx.org>
1162 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1164 * insetcommand.C (string2params): clear params using the default c-tor.
1166 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1167 InsetInclude::Params. No more data in this struct than in
1168 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1169 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1170 (clone): remove #warning as it's now redundant.
1171 (set): add a 'Buffer const &' arg. Make private.
1172 (loadIfNeeded) move out of the class definition and into namespace anon.
1173 (getMasterFilename, getFileName): ditto.
1175 2003-09-18 Angus Leeming <leeming@lyx.org>
1177 * insetcommand.C (setParams): use the params' copy constructor.
1179 2003-09-18 Angus Leeming <leeming@lyx.org>
1181 * insetinsetbase.h (getLabelList):
1182 * insetinsetcollapsable.[Ch] (getLabelList):
1183 * insetinsetinclude.[Ch] (getLabelList):
1184 * insetinsetlabel.[Ch] (getLabelList):
1185 * insetinsettabular.[Ch] (getLabelList):
1186 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1187 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1189 2003-09-18 Angus Leeming <leeming@lyx.org>
1191 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1192 redundant baggage from yesteryear.
1193 Remove Params::flag as it is redundant; the info is present in
1196 2003-09-18 Angus Leeming <leeming@lyx.org>
1198 * insetinclude.C (latexString): add a Buffer const & arg.
1200 2003-09-18 Angus Leeming <leeming@lyx.org>
1205 * insettext.h: rename EnumLColor as LColor_color.
1207 2003-09-18 Angus Leeming <leeming@lyx.org>
1209 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1210 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1212 2003-09-16 Angus Leeming <leeming@lyx.org>
1214 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1215 set before trying to generate a preview, else we trigger an assert.
1217 2003-09-16 Angus Leeming <leeming@lyx.org>
1219 * insetinclude.C (PreviewImpl::parent): return a const reference.
1221 2003-09-16 Angus Leeming <leeming@lyx.org>
1223 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1225 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1227 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1228 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1230 * insetminipage.C (metrics):
1231 * insetnote.C (metrics):
1232 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1233 access collapsed_ directly.
1235 2003-09-16 Angus Leeming <leeming@lyx.org>
1237 * insetbibitem.C: add #include "lyxfont.h".
1239 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1242 * insetbibtex.C: use namespace alias for lyx::support::os
1244 2003-09-16 Angus Leeming <leeming@lyx.org>
1246 * insetcollapsable.h: remove unused framecolor variable.
1247 Remove #include "LColor.h".
1249 * insetcollapsable.C: remove unused framecolor variable.
1252 * insetcollapsable.C:
1260 Add #include "LColor.h".
1262 2003-09-16 Angus Leeming <leeming@lyx.org>
1264 * insettext.[Ch] (frameColor): new accessor function.
1265 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1271 add #include "LColor.h".
1273 * insetcollapsable.h: add #include "LColor.h"
1274 (for its framecolor member variable).
1276 2003-09-16 Angus Leeming <leeming@lyx.org>
1278 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1280 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1281 rename frame_color as frame_color_. Make private.
1283 * insettext.C: associated changes.
1285 2003-09-16 Angus Leeming <leeming@lyx.org>
1287 * inset.h: store background_color_ as an int, not as an LColor::color to
1288 get LColor.h out of the header file.
1291 * insetlatexaccent.C:
1294 * insetspecialchar.C:
1296 add #include "LColor.h".
1298 2003-09-16 Angus Leeming <leeming@lyx.org>
1300 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1303 2003-09-15 Angus Leeming <leeming@lyx.org>
1305 * inset.[Ch] (setBackgroundColor, backgroundColor):
1306 * insettext.[Ch] (setFrameColor):
1307 pass EnumLColor args, rather than LColor::color ones.
1309 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1319 * insetwrap.C: remove usage of STRCONV
1321 2003-09-15 Angus Leeming <leeming@lyx.org>
1323 * renderers.C (draw):
1324 * insetlatexaccent.C (draw): explicitly define the color passed to
1327 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1329 * insettext.C: remove block causing problems in lockInsetInInset
1330 (mentioned erroneously under Bug #1366)
1332 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1334 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1337 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1339 * several files: change Assert to BOOST_ASSERT
1341 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1343 * insettext.[Ch]: remove drawText[XY]Offset
1345 2003-09-08 Angus Leeming <leeming@lyx.org>
1347 * insetcollapsable.C:
1352 * insetspecialchar.C:
1355 * insettoc.C: remove redundant using directives.
1357 2003-09-07 Angus Leeming <leeming@lyx.org>
1360 * insetspecialchar.h: remove #include "support/std_string.h".
1362 2003-09-06 Angus Leeming <leeming@lyx.org>
1364 * renderers.C: add #include "insets/inset.h"
1366 2003-09-05 Angus Leeming <leeming@lyx.org>
1368 * *.C: strip out redundant #includes. (193 in total.)
1370 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1372 * insets/insetbibtex.[Ch]:
1373 * insets/insetcommand.h:
1374 * insets/insetfloatlist.[Ch]:
1375 * insets/insetinclude.[Ch]:
1376 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1377 of insets like bibtex, include, toc and floatlist to the visible
1378 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1379 up the dialogs. Cursor has to be in front of the inset (i.e.
1380 start of row) for this to function.
1382 2003-09-04 Angus Leeming <leeming@lyx.org>
1384 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1385 structure outside of the Format struct. Format::preambleName refers to
1386 an item in the map of all preamble snippets.
1387 Make use of the new Debug::EXTERNAL flag.
1389 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1390 (validate): Small change due to the changed storage of preamble snippets.
1392 2003-09-04 Angus Leeming <leeming@lyx.org>
1394 * insetgraphics.C: #include "support/os.h"
1396 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1397 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1398 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1400 * insetcollapsable.h:
1402 * insetnote.C: move #include "funcrequest.h" out of the header file.
1404 2003-09-03 Angus Leeming <leeming@lyx.org>
1406 * insetexternal.C (updateExternal):
1407 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1410 2003-09-03 Angus Leeming <leeming@lyx.org>
1412 * insetexternal.C: don't bring namespace lyx::support into the global
1415 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1417 * insetbranch.C: Add Branch: to label
1419 2003-09-02 John Levon <levon@movementarian.org>
1422 * insettext.C: remove cursor.i[xy]()
1424 2003-08-28 Angus Leeming <leeming@lyx.org>
1426 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1427 "sh ", enabling the conversion to be carried out even if the script
1430 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1432 * most files: change to use const Buffer refs
1434 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1436 * insetfootlike.C: whitespace.
1438 2003-08-26 John Levon <levon@movementarian.org>
1442 * insetindex.h: remove remaining mentions of needFullRow()
1444 2003-08-26 André Pönitz <poenitz@gmx.net>
1450 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1452 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1454 * insetbranch.C: Small fix to prevent a crash on loading.
1456 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1461 * insetcollapsable.h:
1463 * insetfloatlist.[Ch]:
1464 * insetfootlike.[Ch]:
1465 * insetinclude.[Ch]:
1471 * insettheorem.[Ch]:
1472 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1473 altogether, putting the logic in metrics/draw in the insets.=20
1474 Draws short single row insets with more or less realistic metrics.
1476 2003-08-19 André Pönitz <poenitz@gmx.net>
1478 * insettext.C: use new RowPainter interface
1480 2003-08-18 John Levon <levon@movementarian.org>
1482 * insetref.C: require amsmath for eqref
1484 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1488 * insetbranch.[Ch]: implements the 'branch inset'
1489 idea. This allows the output of various versions of a document
1490 from a single source version, selectively outputing or suppressing
1491 output of parts of the text.
1492 This implementation contains a 'branch list editor' in a separate
1493 tab of the document settings dialog. Branches are user definable
1494 and have a "display colour" to distinguish them on-screen.
1496 ColorHandler was somewhat cleaned up.
1497 (1) make possible a dynamically growing LColor list by allowing
1498 the graphic context cache to grow along (vector);
1499 (2) eliminate an IMHO unnecessary step in colour allocation.
1501 2003-08-15 André Pönitz <poenitz@gmx.net>
1503 * insettext.[Ch]: adjust after rowlist split
1505 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1507 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1508 rename valign-center to valign-middle;
1509 rename VALIGN_CENTER to VALIGN_MIDDLE
1511 2003-08-11 André Pönitz <poenitz@gmx.net>
1513 * inset.h: remove resizeLyXText
1516 * insetcollapsable.[Ch]:
1518 * insettabular.[Ch]: adjust
1520 * insettext.[Ch]: remove saveLyXTextState,
1521 restoreLyXTextStat, sstate, reinitLyXText
1523 2003-08-07 André Pönitz <poenitz@gmx.net>
1525 * inset.[Ch]: move non-crucial functions out-of-line
1527 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1528 remove duplicated code.
1530 2003-08-05 André Pönitz <poenitz@gmx.net>
1533 * insetcollapsable.[Ch]:
1543 * insettabular.[Ch]:
1546 * updatableinset.[Ch]: rip out "deep update"
1548 * insettext.C (localDispatch): merge cases with default branch
1550 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1552 * insettabular.[Ch] (updateLocal): simplify logic
1554 2003-08-04 André Pönitz <poenitz@gmx.net>
1556 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1557 is 'FULL' all the time.
1559 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1561 * insetert.C (get_new_label): only add ... to the (closed) label
1562 when the string has been shortened
1564 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1566 * Always use std::endl with lyxerr
1568 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1570 * insetnote.C: update \author list
1572 2003-07-31 André Pönitz <poenitz@gmx.net>
1574 * insetcollapsable.h:
1575 * insettabular.[Ch]:
1576 * insettext.[Ch]: remove toggleSelection
1578 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1580 (with help from Juergen Spitzmueller)
1581 * insetnote.C: add add i18n support. Use Prefs-definable
1582 colours for Comment and Greyedout.
1584 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1586 * insetcollapsable.[Ch]:
1588 * insetert.C: factor out the detection of clicking on the inset
1589 button as 'hitButton'. John Levon contributed.
1591 2003-07-30 André Pönitz <poenitz@gmx.net>
1593 * insetcollapsable.C:
1595 * insettabular.C: parantheses, localize vars etc.
1597 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1599 * insetnote.C: Implement a newenvironment in preamble for
1600 greyedout. Patch provided by Jürgen Spitzmüller.
1602 2003-07-29 Angus Leeming <leeming@lyx.org>
1604 * insetcommand.C (localDispatch): default to
1605 InsetOld::localDispatch.
1607 * insetbibitem.C (localDispatch):
1608 * insetbibtex.C (localDispatch): remove call to
1609 ChangeCitationsIfUnique.
1611 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1613 * insetexternal.C (read): use pushpophelper.
1615 2003-07-28 José Matos <jamatos@lyx.org>
1617 * insetext.C (read): \end_document replaces \the_end.
1619 2003-07-28 José Matos <jamatos@fep.up.pt>
1621 * insetert.C (write): \layout -> \begin_layout.
1622 Add missing \end_layout.
1624 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1626 * insetquotes.C: document a bit the format
1628 * insettabular.C (write): remove extra space
1630 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1631 * insetnote.C: Umpf. Hope I *now* get it right :-(
1633 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1634 *insetnote.C: did the right fix to greyedout: \color
1635 instead of \textcolor.
1637 2003-07-28 Angus Leeming <leeming@lyx.org>
1639 * insetbibtex.h: remove extraneous forward declaration.
1642 * insetbibtex.h: Also remove long-dead Holder member class
1645 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1647 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1650 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1652 * insetwrap.C (addToToc): adjust for lyx::toc
1654 * insetfloatlist.C (ascii): adjust for lyx::toc
1656 * insetfloat.C (addToToc): adjust for lyx::toc
1658 2003-07-27 José Matos <jamatos@fep.up.pt>
1660 * insetnote.h (linuxdoc,docbook): update support.
1662 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1664 * insetfloat.C (wide): add a space to label, for consistency
1666 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1668 * insettext.C (nextChange): adjust for lyx::find
1669 (searchForward): ditto
1670 (searchBackward): ditto
1672 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1674 * insetgraphicsParams.C:
1675 * insetexternal.C: declare extern displayTranslator
1678 * renderers.C: add #include "support/LAssert.h"
1680 2003-07-27 José Matos <jamatos@fep.up.pt>
1682 * insetfloat.[Ch] (linuxdoc):
1683 * insetgraphics.C (linuxdoc):
1684 * insettabular.C (linuxdoc):
1685 * insettext.[Ch] (linuxdoc): add support for tables and figures
1688 2003-07-27 José Matos <jamatos@fep.up.pt>
1690 * insetinclude (latex): comply with makeLaTeXFile argument change.
1692 2003-07-26 Asger Alstrup <alstrup@local>
1694 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1695 the undo crashes. We'll see what problems other places this will
1698 2003-07-26 Angus Leeming <leeming@lyx.org>
1700 * insetgraphics.C: remove unused declaration of system_tempdir.
1702 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1704 * rename Inset to InsetOld
1706 * all inset files (clone): return a auto_ptr<InsetBase>
1708 2003-07-23 Angus Leeming <leeming@lyx.org>
1710 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1712 2003-07-23 Angus Leeming <leeming@lyx.org>
1714 * mailinset.[Ch] (inset2string):
1715 * insetcommand.[Ch] (inset2string):
1716 * insetert.[Ch] (inset2string):
1717 * insetexternal.[Ch] (inset2string):
1718 * insetfloat.[Ch] (inset2string):
1719 * insetgraphics.[Ch] (inset2string):
1720 * insetinclude.[Ch] (inset2string):
1721 * insetminipage.[Ch] (inset2string):
1722 * insetnote.[Ch] (inset2string):
1723 * insettabular.[Ch] (inset2string):
1724 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1726 * insetexternal.[Ch]:
1727 * insetgraphics.[Ch]: get rid of the view() function. Associated
1728 changes to the mailers' string2params and params2string functions.
1730 2003-07-23 Angus Leeming <leeming@lyx.org>
1732 * insetexternal.[Ch]: store the external file name in a FileName
1733 member variable rather than a string + associated changes.
1735 2003-07-21 Angus Leeming <leeming@lyx.org>
1737 * insetgraphicsParams.[Ch]: store the graphics file name in
1738 a FileName member variable rather than a string.
1740 * insetgraphics.[Ch]:
1741 * insetgraphicsParams.[Ch]: Associated changes.
1743 2003-07-21 Angus Leeming <leeming@lyx.org>
1745 * insetgraphics.[Ch] (string2params, params2string): passed a
1746 buffer_path argument.
1749 2003-07-21 Angus Leeming <leeming@lyx.org>
1752 * insetgraphicsParams.[Ch]:
1754 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1756 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1758 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1760 2003-07-18 André Pönitz <poenitz@gmx.net>
1763 * insetminipage.[Ch]:
1764 * insettabular.[Ch]:
1767 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1769 2003-07-18 André Pönitz <poenitz@gmx.net>
1773 * insetcollapsable.C:
1777 * insetgraphics.[Ch]:
1778 * insetlatexaccent.[Ch]:
1783 * insetspecialchar.C:
1784 * insettabular.[Ch]:
1786 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1788 2003-07-17 André Pönitz <poenitz@gmx.net>
1790 * insetcollapsable.C:
1792 * insettext.C: don't call Inset::update() anymore
1795 * insettabular.[Ch]: remove unneeded in_update_ members
1797 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1799 2003-07-16 André Pönitz <poenitz@gmx.net>
1801 * insettext.C (selectAll): remove
1803 2003-07-16 John Levon <levon@movementarian.org>
1806 * insetnote.C: implement showInsetDialog()
1808 2003-07-15 André Pönitz <poenitz@gmx.net>
1811 * insettext.C: refresh_status tristate -> need_update bool
1813 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1815 * insettext.C: adjust call to LyXText::init
1817 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1819 * insettext.C: use bufferview_funcs->replaceSelection()
1820 to delete selections in some cases (bugs 441, 673, 702, 954).
1822 2003-07-14 André Pönitz <poenitz@gmx.net>
1824 * insettext.C (draw): use slimmed down rowpainter interface
1826 2003-07-14 André Pönitz <poenitz@gmx.net>
1828 * insetcollapsable.C:
1830 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1831 remove unused BufferView * argument
1833 2003-07-14 André Pönitz <poenitz@gmx.net>
1835 * insettext.[Ch]: used cached metrics a bit more
1837 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1839 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1841 2003-07-10 André Pönitz <poenitz@gmx.net>
1844 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1846 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1848 * introduce namespace lyx::graphics
1850 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1852 * introduce namespace lyx::support
1854 2003-06-30 André Pönitz <poenitz@gmx.net>
1856 * insetcite.C (localDispatch): fix case of missing return value
1858 * insetcite.C (ascii): remove unneeded temporary
1860 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1862 * insetspace.h: fix \file
1864 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1865 * insetinclude.C (fillWithBibKeys): ditto
1867 * insetbibitem.C: fix type const order
1869 * inset.C (getLyXText): add varname for arg
1871 * ExternalTemplate.h: fix type const order
1873 2003-06-27 André Pönitz <poenitz@gmx.net>
1875 * insettext.C: take care of removed LyXCursor::row_ member
1877 * insettext.[Ch]: use new TextCursor struct for sstate
1879 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1881 * inseterror.[Ch]: removed
1883 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1885 * insetinclude.C (docbook): use parseError instead of sgmlError
1887 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1889 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1890 of BufferList::loadLyXFile
1892 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1894 * insettext.C (update): simplify
1895 (updateLocal): remove commented code
1896 (insetUnlock): simplify
1897 (lockInset): simplify
1898 (updateInsetInInset): simplify
1899 (localDispatch): simplify
1901 (resizeLyXText): simplify
1902 (collapseParagraphs): simplify
1904 * insetert.C (get_new_label): simplify
1906 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1908 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1909 pasteSelection with index
1911 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1913 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1915 2003-06-16 André Pönitz <poenitz@gmx.net>
1917 * insetbase.h: new virtual base function clone()
1919 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1920 Inset * clone() -> InsetBase * clone()
1922 2003-06-13 André Pönitz <poenitz@gmx.net>
1924 * insettabular.[Ch]: make tabular a proper member
1926 2003-06-12 André Pönitz <poenitz@gmx.net>
1928 * insettabular.[Ch]: some renaming plus whitespace
1930 2003-06-11 Angus Leeming <leeming@lyx.org>
1932 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1935 * insetbutton.[Ch]: removed.
1936 * graphicinset.[Ch]: renamed as renderers.[Ch].
1938 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1939 Create a new class ButtonRenderer using the InsetButton::metrics() and
1941 Derive both from a common RenderedInset base class.
1943 * insetcommand.[Ch]:
1944 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1945 Give it a ButtonRenderer member variable. Use it.
1946 Give the classes working copy c-tors.
1947 No longer derive from boost::noncopyable.
1949 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1950 display its contents as a button or as a graphic.
1952 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1955 2003-06-11 Angus Leeming <leeming@lyx.org>
1957 * insetcite.C (localDispatch): reformat.
1959 * insetref.C (localDispatch): enable dialog to be lauched.
1961 2003-06-11 John Levon <levon@movementarian.org>
1963 * insettabular.C: correctly mark all cells as erased
1965 2003-06-11 Angus Leeming <leeming@lyx.org>
1967 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1968 ExternalTemplate but its name, templatename. This means that a file
1969 containing a reference to an External Template not installed on the
1970 current machine will be saved retaining this info rather than inserting
1971 the first "valid" template from the list of templates.
1973 As a by product, the visual statement that the Template is missing is
1976 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1978 * insettext.C (appendParagraphs): remove some commented code.
1980 2003-06-10 Angus Leeming <leeming@lyx.org>
1982 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1985 * insetexternal.[Ch]: move tempname_ into the Params struct.
1986 (Params d-tor): new function, to clean-up this temp file.
1987 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1989 (editExternal, doSubstitution): move out of class.
1991 2003-06-10 Angus Leeming <leeming@lyx.org>
1993 * graphicinset.[Ch] (params): removed.
1994 * graphicinset.h (operator=): declared private but not defined.
1995 (statusMessage): made private.
1997 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1999 2003-06-07 John Levon <levon@movementarian.org>
2001 * insetert.C (latex): make a newline mean just that not
2004 2003-06-07 José Matos <jamatos@fep.up.pt>
2006 * insethfill.[Ch] (linuxdoc, docbook): implement output
2007 * insetspace.C (linuxdoc, docbook): remove coments as the code
2010 2003-06-06 José Matos <jamatos@fep.up.pt>
2012 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2014 2003-06-06 André Pönitz <poenitz@gmx.net>
2016 * insetwrap.[Ch]: code compactification
2018 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2020 * mailinset.C (updateDialog): use Dialogs::visible
2022 2003-06-04 Angus Leeming <leeming@lyx.org>
2024 * graphicinset.C (draw): add a comment for the #if 0 block.
2026 * insetexternal.h: remove Params::parameters variable.
2027 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2028 and read it back making full use of LyXLex.
2030 2003-06-04 André Pönitz <poenitz@gmx.net>
2032 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2034 2003-06-04 John Levon <levon@movementarian.org>
2036 * insettabular.C: back out tall table speed up. It was broken
2038 2003-06-03 Angus Leeming <leeming@lyx.org>
2040 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2041 Remove ViewCommand and UpdateCommand.
2043 * graphicinset.C (update): bug fix. Set the params before calling the
2045 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2046 BufferView cache to enable the InsetExternal::editCommand to be invoked
2047 from the frontends. Would not be needed if this were dispatched properly.
2048 (old_ascent_): variable removed.
2050 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2051 do any necessary conversions of external material. Also use the
2052 new GraphicsInset to display the inset within LyX.
2054 2003-06-03 Angus Leeming <leeming@lyx.org>
2056 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2057 and move it somewhere where InsetExternal can use it too.
2059 * Makefile.am: add the new files.
2061 * insetgraphics.[Ch]: make use of the new GraphicInset.
2063 2003-06-03 John Levon <levon@movementarian.org>
2066 * insetbibitem.[Ch]:
2069 * insetcommand.[Ch]:
2073 * insetexternal.[Ch]:
2077 * insetgraphics.[Ch]:
2079 * insetinclude.[Ch]:
2082 * insetlatexaccent.[Ch]:
2083 * insetmarginal.[Ch]:
2084 * insetminipage.[Ch]:
2091 * insetspecialchar.[Ch]:
2092 * insettabular.[Ch]:
2094 * insetthereom.[Ch]:
2097 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2099 * insetgraphics.[Ch]:
2100 * insetgraphicsParams.[Ch]: always store an absolute
2103 2003-06-02 André Pönitz <poenitz@gmx.net>
2107 * insetlatexaccent.C: remove duplicated call to metrics()
2109 2003-06-02 John Levon <levon@movementarian.org>
2111 * insettabular.C: fix resize of column width
2113 2003-06-02 John Levon <levon@movementarian.org>
2118 * insetparent.C: remove insetparent
2120 2003-06-02 André Pönitz <poenitz@gmx.net>
2127 * insetcollapsable.[Ch]:
2131 * insetgraphics.[Ch]:
2132 * insetinclude.[Ch]:
2133 * insetlatexaccent.[Ch]:
2134 * insetminipage.[Ch]:
2135 * insetnewline.[Ch]:
2138 * insetspecialchar.[Ch]:
2139 * insettabular.[Ch]:
2140 * insettext.[Ch]: unify first drawing phase
2143 * insetbase.h: move validate() to the base
2145 2003-05-31 Angus Leeming <leeming@lyx.org>
2147 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2149 2003-05-30 André Pönitz <poenitz@gmx.net>
2154 * insetcaption.[Ch]:
2155 * insetcollapsable.[Ch]:
2158 * insetgraphics.[Ch]:
2159 * insetinclude.[Ch]:
2160 * insetlatexaccent.[Ch]:
2161 * insetnewline.[Ch]:
2164 * insetspecialchar.[Ch]:
2165 * insettabular.[Ch]:
2167 * updatableinset.[Ch]: unify second drawing phase
2169 2003-05-30 John Levon <levon@movementarian.org>
2171 * insetgraphics.C: fix a bformat
2173 2003-05-29 John Levon <levon@movementarian.org>
2175 * insettabular.C: remove unused bufferOwner()
2177 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2179 * insettext.C (lockInsetInInset): adjust
2180 (getLabelList): use const_iterator, adjust
2181 (getInsetFromID): use const_iterator, adjust
2182 (addPreview): use const_iterator, adjust
2184 * insetwrap.C (clone): remove const_cast
2186 * insetnote.C (clone): remove const_cast
2188 * insetminipage.C (clone): remove const_cast
2190 * insetmarginal.C (clone): remove const_cast
2192 * insetfoot.C (clone): remove const_cast
2194 * insetfloat.C (clone): remove const_cast
2196 * insetert.C (clone): remove const_cast
2198 * delete commented same_id functions from a lot of files.
2200 2003-05-28 John Levon <levon@movementarian.org>
2206 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2208 * insetminipage.C: fix metrics (bug 1144)
2210 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2212 * insettext.C (saveLyXTextState): adjust
2213 (restoreLyXTextState): adjust
2216 (unlockInsetInInset): adjust
2217 (localDispatch): adjust
2218 (getLyXText): adjust
2220 * insettabular.C (insertAsciiString): adjust
2222 2003-05-27 André Pönitz <poenitz@gmx.net>
2225 * insetcollapsable.C:
2228 * insetlatexaccent.C:
2233 * insetspecialchar.C:
2235 * insettext.C: dim.w -> dim.wid
2237 2003-05-26 John Levon <levon@movementarian.org>
2239 * insettabular.C: avoid drawing all of a long table
2240 if it's not needed. A big speedup
2242 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2244 * remove same_id from function signatures, adjust
2246 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2248 * insettext.C (InsetText): adjust
2250 (setParagraphData): separate same_id cases, adjust
2251 (appendParagraphs): adjust
2252 (appendParagraphs): adjust
2254 2003-05-23 André Pönitz <poenitz@gmx.net>
2256 * insetbutton.h: whitespace
2258 * insettabular.C: more compact code
2260 * updatableinset.C: remove const_cast
2263 2003-05-23 Angus Leeming <leeming@lyx.org>
2265 * insetexternal.C (write): check how many lines are output.
2266 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2267 if the template has defined it.
2269 2003-05-23 Angus Leeming <leeming@lyx.org>
2271 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2273 2003-05-23 Angus Leeming <leeming@lyx.org>
2275 * insetfoot.C (latex):
2276 * inseturl.C (latex): rename fragile as moving_arg.
2278 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2280 * inseterror.C (localDispatch): comment out unused var.
2282 2003-05-22 Angus Leeming <leeming@lyx.org>
2284 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2285 passed through the LatexRunParams arg.
2287 2003-05-22 Angus Leeming <leeming@lyx.org>
2289 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2290 through the LatexRunParams arg.
2292 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2293 arg rather than through a global var.
2295 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2297 * insetspecialchar.C (dimension): use a string.
2299 2003-05-22 Angus Leeming <leeming@lyx.org>
2301 * insetbibtex.C (latex):
2302 * insetgraphics.C (latex):
2303 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2304 runparams rather than from the buffer itself.
2306 2003-05-22 Angus Leeming <leeming@lyx.org>
2308 * inset*.[Ch] (latex):
2309 passed a LatexRunParams parameter.
2311 * insetgraphics.C (latex): actually use it ;-)
2313 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2315 * insetfloat.C (addToToc): trivial compile fix
2317 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2319 * insettext.[Ch] (paragraph): delete unused function
2321 * insetfloat.C (addToToc): parlist simplfication
2323 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2325 * insetspace.[Ch]: added (new space insets)
2327 * inset.h: handle new space insets
2329 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2331 * insetfloat.C (addToToc): adjust
2333 2003-05-21 André Pönitz <poenitz@gmx.net>
2335 * insettext.[Ch]: fix drawing bug introduced earlier
2337 2003-05-19 André Pönitz <poenitz@gmx.net>
2339 * insetspecialchar.C: fix bug introduced yesterday
2341 2003-05-19 André Pönitz <poenitz@gmx.net>
2345 * insetcollapsable.[Ch]:
2349 * insetgraphics.[Ch]:
2350 * insetgraphicsParams.[Ch]:
2351 * insetlatexaccent.[Ch]:
2352 * insetminipage.[Ch]:
2353 * insetnewline.[Ch]:
2355 * insetspecialchar.[Ch]:
2356 * insettabular.[Ch]:
2357 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2359 2003-05-19 André Pönitz <poenitz@gmx.net>
2362 * insettext.C: more insetenv
2364 2003-05-16 André Pönitz <poenitz@gmx.net>
2367 * insetminimpage.[Ch]:
2368 * insetcollapsable.[Ch]: fix #832
2370 2003-05-16 André Pönitz <poenitz@gmx.net>
2373 * insetbibitem.[Ch]:
2377 * insetcollapsable.[Ch]:
2378 * insetcommand.[Ch]:
2381 * insetexternal.[Ch]:
2382 * insetfloatlist.[Ch]:
2383 * insetgraphics.[Ch]:
2384 * insetinclude.[Ch]:
2387 * insetlatexaccent.[Ch]:
2390 * insettabular.[Ch]:
2394 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2396 2003-05-13 André Pönitz <poenitz@gmx.net>
2399 * insetcollapsable.C:
2403 * insetwrap.C: tostr from own header
2415 * insetwrap.C: STRCONV
2418 2003-05-12 André Pönitz <poenitz@gmx.net>
2430 * insetwwrap.C: boost::format -> bformat all over the place
2432 2003-05-05 André Pönitz <poenitz@gmx.net>
2434 * insettext.h: add missing #include <map>
2436 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2438 * insettext.C (InsetText): parlist cleanup
2441 (insetUnlock): ditto
2443 (lockInsetInInset): ditto
2447 (searchBackward): ditto
2448 (collapseParagraphs): ditto
2450 2003-05-06 John Levon <levon@movementarian.org>
2452 * insetcaption.C: don't cast wrap inset to InsetFloat
2455 * insetfloat.C: remove unneeded type() function
2457 2003-05-05 André Pönitz <poenitz@gmx.net>
2461 * insettabular.[Ch]:
2462 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2463 replace getFirstParagraph() by getParagraphs()
2465 2003-05-03 John Levon <levon@movementarian.org>
2467 * insetcollapsable.h:
2468 * insetcollapsable.C:
2474 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2475 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2476 getCursor(). Remove explicit cursor hides.
2478 2003-05-02 André Pönitz <poenitz@gmx.net>
2480 * insettext.C: remove unneeded &*
2482 2003-04-30 John Levon <levon@movementarian.org>
2484 * insettabular.C: fix edit message
2486 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2488 * insettext.C (setFont): do not convert iterator -> pointer
2490 * insettabular.C (localDispatch): do not convert iterator -> pointer
2492 (tabularFeatures): ditto
2494 2003-04-29 André Pönitz <poenitz@gmx.net>
2496 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2498 2003-04-28 André Pönitz <poenitz@gmx.net>
2500 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2503 2003-04-25 André Pönitz <poenitz@gmx.net>
2505 * insetenv.C: derive from InsetText instead of InsetCollapsable
2507 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2509 * insetexternal.C (string2params): dont do anything if the string
2511 * insetgraphics.C (string2params): ditto
2512 * insetcommand.C (string2params): ditto
2513 * insetert.C (string2params): ditto
2514 * insetfloat.C (string2params): ditto
2515 * insetinclude.C (string2params): ditto
2516 * insetminipage.C (string2params): ditto
2517 * insettabular.C (string2params): ditto
2518 * insetwrap.C (string2params): ditto
2520 2003-04-24 André Pönitz <poenitz@gmx.net>
2522 * insetref.C: support for eqref
2524 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2526 * insetert.C (read): use ParagraphList::iterator.
2528 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2530 * insetquotes.C (latex): comment some code and add warnings.
2532 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2534 * insetexternal.C (localDispatch): added a missing DISPATCHED
2536 2003-04-12 John Levon <levon@movementarian.org>
2538 * insetwrap.C (addToToc): fix a crash, conversion
2539 from while to for loop forgot to remove the explicit
2542 2003-04-10 John Levon <levon@movementarian.org>
2544 * insettabular.C (tabularFeature): make sure
2545 to update the dialog when we change something
2548 (getStatus): don't disable some lfuns (bug 939)
2550 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2552 * insettext.C (saveLyXTextState): adjust
2553 (localDispatch): adjust
2559 * insettabular.C (localDispatch): adjust
2561 (tabularFeatures): adjust
2563 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2565 * insettabular.C (searchForward,searchBackward): fix bug 782
2567 2003-04-07 John Levon <levon@movementarian.org>
2570 * insettext.C: clear status message on inset exit
2572 2003-04-03 John Levon <levon@movementarian.org>
2574 * insetcommand.C: return dispatched on DIALOG_UPDATE
2576 2003-04-02 John Levon <levon@movementarian.org>
2578 * insettabular.C: tab lfuns renamed
2580 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2582 * insettext.C (update): move towards ParagraphList
2583 (updateLocal): ditto
2585 (insetUnlock): ditto
2587 (lockInsetInInset): ditto
2588 (updateInsetInInset): ditto
2589 (localDispatch): ditto
2592 (resizeLyXText): ditto
2593 (searchBackward): ditto
2594 (collapseParagraphs): ditto
2597 * insetwrap.C (InsetWrap): adjust
2598 (addToToc): adjust and rewrite loop
2600 * insettext.[Ch] (paragraph): delete function
2602 * insettabular.C (moveNextCell): adjust
2603 (movePrevCell): adjust
2604 (insertAsciiString): adjust
2606 * insetfloat.C (InsetFloat): adjust
2609 * insetert.C (InsetERT): adjust
2610 (write): adjust, and rewrite loop
2611 (latex): adjust, and rewrite loop
2612 (linuxdoc): adjust, and rewrite loop
2613 (docbook): adjust, and rewrite loop
2614 (localDispatch): adjust
2615 (get_new_label): adjust
2617 2003-04-01 John Levon <levon@movementarian.org>
2619 From Alfredo Braunstein
2622 * insetbutton.C: add localDispatch()
2624 * insetcommand.C: return DISPATCHED when edit() called
2626 * insettext.C: fix bug 967
2628 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2630 * insettext.C: adjust
2632 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2634 * insettext.C (draw): adjust
2635 (crow): return a RowList::iterator not a Row*
2637 * insetminipage.C (localDispatch): adjust
2639 * insetert.C (localDispatch): adjust
2641 2003-03-31 John Levon <levon@movementarian.org>
2644 * insetgraphicsParams.C: use_gui moved to lyx_gui
2646 2003-03-31 John Levon <levon@movementarian.org>
2648 * insettext.C: Alert fix
2650 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2652 * insettext.C (ascent): adjust for RowList
2655 (getLyXText): adjust
2656 (toggleSelection): adjust
2658 * insetminipage.C (localDispatch): adjust for RowList
2660 * insetert.C (localDispatch): adjust for RowList
2661 (getMaxWidth): adjust for RowList
2663 2003-03-29 John Levon <levon@movementarian.org>
2665 * insetert.C: Alert cleanup
2667 2003-03-29 John Levon <levon@movementarian.org>
2669 * insettabular.C: Alert fix
2671 2003-03-28 John Levon <levon@movementarian.org>
2673 * insetfloat.C: reset label on INSET_MODIFY
2675 2003-03-28 John Levon <levon@movementarian.org>
2677 * insetgraphicsParams.C: read subcaptionText as a whole line
2680 2003-03-28 John Levon <levon@movementarian.org>
2682 * insettext.C: remove unused prototypes
2684 2003-03-25 Angus Leeming <leeming@lyx.org>
2686 * insetbibitem.C (localDispatch): repaint the view after modifying
2687 a bibitem inset in case the maximum InsetBibitem width has changed.
2689 2003-03-25 John Levon <levon@movementarian.org>
2692 * insettabular.C: LyXText renamings
2694 2003-03-24 John Levon <levon@movementarian.org>
2696 * insettext.C: remove some dead code. Fix bug 972 and
2697 related by posting a repaint in updateLocal(), and making
2698 the SEL functions set SELECTION.
2700 2003-03-22 John Levon <levon@movementarian.org>
2703 * inset.C: remove no-longer-needed topx_set
2705 * insetcollapsable.h:
2706 * insetcollapsable.C: remove dead code
2709 * insetert.C: rebreak the rows when a possible
2710 change in size is made, and reset the cursor
2713 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2715 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2716 topx_set. Fix drawing errors for clearInset(). Remove
2717 some unnecessary uses of topx, which should die.
2719 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2720 is no longer needed. Replace it with an ugly hack.
2722 2003-03-20 John Levon <levon@movementarian.org>
2725 * insetcollapsable.h:
2726 * insetcollapsable.C:
2734 * insettext.C: remove spurious font parameter
2735 from update(). Fix drawing of ERT insets inside
2736 insets (bug 966). Remove unused mark_dirty from
2737 tabular's updateLocal()
2739 2003-03-19 John Levon <levon@movementarian.org>
2748 * insetwrap.C: remove unused getter/setters
2750 2003-03-19 John Levon <levon@movementarian.org>
2752 * several files: bv->updateInset() doesn't take
2753 a bool mark_dirty any more
2755 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2757 * adjust for BufferView* arg removal from lyxtext.
2759 2003-03-17 John Levon <levon@movementarian.org>
2761 * most files: remove the "cleared" parameter
2762 to draw in favour of always clearing. Associated
2765 2003-03-16 John Levon <levon@movementarian.org>
2767 * insettext.C: remove unused s.refresh
2769 2003-03-13 Angus Leeming <leeming@lyx.org>
2771 * insettext.C (edit): replace Dialogs::updateParagraph with
2772 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2774 2003-03-13 André Pönitz <poenitz@gmx.net>
2776 * Makefile.am: insert insetenv
2778 * insethenv.[Ch]: new files, currently inactive
2780 2003-03-12 John Levon <levon@movementarian.org>
2790 * insettext.C: use new insetnewline
2792 2003-03-12 John Levon <levon@movementarian.org>
2794 * insettext.C: readToken became readParagraph
2796 2003-03-12 John Levon <levon@movementarian.org>
2798 * insettext.C: use parlist iterator for reading contents
2800 2003-03-12 John Levon <levon@movementarian.org>
2802 * insettext.C: name change to readToken()
2804 2003-03-11 André Pönitz <poenitz@gmx.net>
2806 * Makefile.am: insert insethfill
2808 * insethfill.[Ch]: new files
2810 2003-03-10 Angus Leeming <leeming@lyx.org>
2812 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2814 (hideDialog): calls the new static Dialogs::hide() method.
2816 * insetbibitem.C (edit):
2817 * insetbibtex.C (edit):
2818 * insetcite.C (edit):
2819 * insetcommand.C (localDispatch):
2820 * inseterror.C (d-tor):
2821 * insetert.C (showInsetDialog):
2822 * insetexternal.C (localDispatch, edit):
2823 * insetfloat.C (localDispatch, showInsetDialog):
2824 * insetfloatlist.C (edit):
2825 * insetgraphics.C (localDispatch, edit):
2826 * insetinclude.C (localDispatch, edit):
2827 * insetindex.C (edit):
2828 * insetlabel.C (edit):
2829 * insetminipage.C (localDispatch, showInsetDialog):
2830 * insetref.C (edit):
2831 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2832 resetPos, showInsetDialog, openLayoutDialog):
2833 * insettoc.C (edit):
2834 * inseturl.C (edit):
2835 * insetwrap.C (localDispatch, showInsetDialog):
2836 changes due to the changed MailInset interface.
2838 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2840 * insetfloat.h: Set default placement to an empty string.
2842 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2844 * insettext.C (latex): adjust call to latexParagraphs.
2846 2003-03-10 Angus Leeming <leeming@lyx.org>
2848 * mailinset.C: warn the user if the BufferView has not been cached.
2850 2003-03-10 Angus Leeming <leeming@lyx.org>
2852 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2854 * insetcommand.h (inset):
2855 * insetert.h (inset):
2856 * insetexternal.h (inset):
2857 * insetfloat.h (inset):
2858 * insetgraphics.h (inset):
2859 * insetinclude.h (inset):
2860 * insetminipage.h (inset):
2861 * insettabular.h (inset):
2862 * insetwrap.h (inset):
2863 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2865 2003-03-10 Angus Leeming <leeming@lyx.org>
2867 * insetcommand.C (string2params):
2868 * insetexternal.C (string2params):
2869 * insetfloat.C (string2params):
2870 * insetgraphics.C (string2params):
2871 * insetinclude.C (string2params):
2872 * insetminipage.C (string2params):
2873 * insettabular.C (string2params):
2874 * insetwrap.C (string2params): cure warning message about missing
2877 2003-03-09 Angus Leeming <leeming@lyx.org>
2879 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2880 it to communicate with the frontend dialogs.
2882 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2883 contents of this inset!
2885 2003-03-07 Angus Leeming <leeming@lyx.org>
2887 * inseterror.C (localDispatch): new method; calls edit() on
2890 2003-03-07 Angus Leeming <leeming@lyx.org>
2892 * insetbibitem.C (localDispatch):
2893 * insetbibtex.C (localDispatch):
2894 * insetlabel.C (localDispatch):
2895 rewrite as a switch.
2897 2003-03-07 Angus Leeming <leeming@lyx.org>
2899 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2900 it to communicate with the frontend dialogs.
2902 2003-03-07 Angus Leeming <leeming@lyx.org>
2904 * insetexternal.C: remove operator== and operator!= for
2905 InsetExternal::Params. They were used only by the old controller
2908 2003-03-07 Angus Leeming <leeming@lyx.org>
2910 * insetcommand.C (localDispatch):
2911 * insetexternal.C (localDispatch):
2912 * insetfloat.C (localDispatch):
2913 * insetinclude.C (localDispatch):
2914 * insetminipage.C (localDispatch):
2915 * insetwrap.C (localDispatch):
2916 add LFUN_INSET_DIALOG_UPDATE to the switch.
2918 2003-03-07 Angus Leeming <leeming@lyx.org>
2920 * insetcommand.C (string2params):
2921 * insetexternal.C (string2params):
2922 * insetfloat.C (string2params):
2923 * insetinclude.C (string2params):
2924 * insetwrap.C (string2params): use LyXLeX more.
2927 * insetexternal.[Ch]:
2929 * insetinclude.[Ch]:
2930 * insetwrap.[Ch]: change Mailer::name_ to be static.
2932 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2933 it to communicate with the frontend dialogs.
2935 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2938 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2940 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2942 * insettext.C (updateLocal): un-const function
2943 (updateLocal): adjust
2944 (collapseParagraphs): un-const function
2945 (collapseParagraphs): adjust
2947 2003-03-05 Angus Leeming <leeming@lyx.org>
2949 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2950 it to communicate with the frontend dialogs.
2952 2003-03-05 Angus Leeming <leeming@lyx.org>
2954 * insetcollapsable.C (draw): cache the BufferView.
2956 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2957 it to communicate with the frontend dialogs.
2959 2003-03-05 Angus Leeming <leeming@lyx.org>
2961 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2964 2003-03-05 Angus Leeming <leeming@lyx.org>
2966 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2968 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2969 it to communicate with the frontend dialogs.
2971 2003-03-05 Angus Leeming <leeming@lyx.org>
2973 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2974 it to communicate with the frontend dialogs.
2976 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2978 * insettext.C (collapseParagraphs): adjust
2979 (appendParagraphs): make it take a Buffer* instead of a
2980 BufferParams& as arg.
2981 (appendParagraphs): adjust
2983 2003-03-04 Angus Leeming <leeming@lyx.org>
2985 * insetbibitem.C (localDispatch):
2986 * insetbibtex.C (localDispatch):
2987 * insetcommand.C (localDispatch):
2988 * insetert.C (localDispatch):
2989 * insetlabel.C (localDispatch):
2990 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2992 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2994 * insettext.C (latex): adjust for ParagraphList::iterator
2996 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2998 * insetbutton.C (view): adjust for boost 1.30.0
2999 * insetcollapsable.C (view): ditto
3000 * insetgraphics.C (statusChanged): ditto
3002 * insettext.h: move paragraphs to be public.
3004 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3006 * insetnote.[Ch] (InsetNote): remove unused constructor
3008 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3010 * insetgraphics.C: added include "format.h"
3012 2003-02-27 Angus Leeming <leeming@lyx.org>
3014 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3017 2003-02-27 Angus Leeming <leeming@lyx.org>
3019 * insetbibitem.C (localDispatch):
3020 * insetbibtex.C (localDispatch):
3023 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3025 2003-02-26 Angus Leeming <leeming@lyx.org>
3027 * insetbibitem.[Ch] (localDispatch):
3028 * insetbibtex.[Ch] (localDispatch):
3029 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3031 * insetcommand.C (localDispatch):
3032 act only on receipt of LFUN_XYZ_APPLY.
3034 * insetert.C (localDispatch): reformat.
3035 add LFUN_XYZ_APPLY to the switch.
3037 2003-02-26 John Levon <levon@movementarian.org>
3039 * insettext.C: use RowPainter
3041 * inset.h: make helpers take const *
3043 2003-02-26 Angus Leeming <leeming@lyx.org>
3045 * insetcommand.[Ch] (localDispatch): new method.
3047 2003-02-26 Angus Leeming <leeming@lyx.org>
3049 * insetinclude.C (draw): cache the BufferView* using cache not
3050 PreviewImpl::setView
3052 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3054 * insetgraphics.C (draw)
3055 * insetinclude.C (draw): Eliminate also the other argument (owner
3056 inset inset) in the call to PreviewImage::image
3058 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3060 * insetgraphics.C (draw)
3061 * insetinclude.C (draw): Eliminate Buferview argument in call to
3064 2003-02-25 John Levon <levon@movementarian.org>
3066 * insetgraphicsParams.h:
3067 * insetgraphics.C: don't start a load process if
3068 the inset is set to NoDisplay (bug #920)
3070 2003-02-22 John Levon <levon@movementarian.org>
3073 * insetwrap.C: TocItem changed API (bug 913)
3075 2003-02-21 Angus Leeming <leeming@lyx.org>
3077 * insetcollapsable.[Ch] (cache, edit):
3078 * insetbutton.[Ch] (cache, edit): new methods to cache the
3079 BufferView in the draw method.
3081 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3082 simplify comunication between InsetCommand-derived classes and
3085 * insetbibitem.[Ch]:
3089 * insetfloatlist.[Ch]:
3093 * inseturl.[Ch]: small changes to reflect the new interface to the
3096 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3097 other, similar classes.
3099 * Makefile.am: add new files.
3101 2003-02-21 Angus Leeming <leeming@lyx.org>
3103 * updatableinset.h (setView, view): remove.
3104 * inset.h (view, cache): to be replaced by these.
3106 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3109 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3112 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3114 2003-02-21 Allan Rae <rae@lyx.org>
3116 * insetinclude.C (loadIfNeeded): ensure loading also works when
3117 child document is under version control.
3119 2003-02-17 André Pönitz <poenitz@gmx.net>
3121 * insetbib.[Ch]: Adjust access to bibkeys
3123 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3125 * insetquotes.C (dispString): remove use of acute accent for "'"
3128 2003-02-14 John Levon <levon@movementarian.org>
3130 * insettabular.C: changed method names in tabular.C
3132 2003-02-14 John Levon <levon@movementarian.org>
3136 * insetcollapsable.h:
3137 * insetcollapsable.C:
3141 * insettext.C: remove unused getParFromID()
3143 2003-02-13 John Levon <levon@movementarian.org>
3146 * insettext.C: remove unused beginningofMainBody()
3148 2003-02-08 John Levon <levon@movementarian.org>
3152 * insetcollapsable.h:
3153 * insetcollapsable.C:
3158 add nextChange(). Make allowSpellcheck() const. Add markErased().
3160 * insetert.C: ignore deleted text
3162 * insettabular.C: make sure to keep change tracking working
3165 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3170 * insettext.C: Use error messages with identical spelling and punctuation
3172 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3174 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3176 2002-12-17 Juergen Vigna <jug@lyx.org>
3178 * insettext.C (localDispatch): hopefully fixed cursor up down
3179 movement on leaving other insets.
3181 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3183 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3186 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3188 * insetgraphics.C (prepareFile): do not remove the extension of
3189 the file name if it is not the default extension for the given
3190 format (that is, in latex output, remove extension from foo.eps,
3191 but not from foo.epsi)
3193 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3195 * insettext.C (lfunMouseRelease): hackish solution to the "double
3198 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3200 * insetfloat.C (addToToc): use the floats name not its type
3201 * insetwrap.C (addToToc): ditto
3203 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3205 * insetnote.C (init): make label font smaller
3207 2002-12-04 John Levon <levon@movementarian.org>
3209 * insetinclude.C: ressurect setting of command name
3211 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * insetquotes.C (dispString): disambiguate insert call
3215 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3217 * several files: ws changes
3219 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3221 * insetquotes.C (dispString): use string::insert for prepending a
3224 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3226 * insetparent.C (getScreenLabel): use boost::format
3228 * insetgraphics.C (prepareFile): use boost::format
3231 * insetfloatlist.C (latex): use boost::format
3233 * insetcaption.C (draw): use boost::format
3235 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3237 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3240 2002-11-20 Juergen Vigna <jug@sad.it>
3242 * insettabular.C (resetPos): temporary fix for endless loop in
3243 this function on a redraw.
3245 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3247 * insettabular.C (copySelection): STRCONV
3249 * insetinclude.C (uniqueID): STRCONV
3250 (latexString): ditto
3252 * insetgraphics.C: put VersionNumber inside anon namespace
3253 (createLatexOptions): STRCONV
3255 * insetcommandparams.C: include config.h
3257 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3259 * insetgraphicsParams.C (Write): use lyx::float_equal.
3260 Write height data correctly.
3261 (Read): zero scale when reading height data.
3263 2002-10-30 John Levon <levon@movementarian.org>
3265 * insetfloat.C (addToTOC): recursively traverse all
3266 contents looking for captions (fix #568)
3268 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3270 * insetexternal.C (doSubstitution): do not try to replace
3271 environment variables, this is done when executing the command
3273 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3275 * insetexternal.C (doSubstitution): change order of substitution
3276 to work around ReplaceEnvironmentPath brokenness
3278 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3280 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3282 * insetgraphicsParams.C (init, Write): associated changes
3283 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3284 InsetGraphicsParams::scale.
3286 2002-10-21 John Levon <levon@movementarian.org>
3288 * inset.h: remove unused DISPATCH_RESULT
3290 * insettext.C: sgml open/close tag now in sgml namespace
3292 2002-10-21 Angus Leeming <leeming@lyx.org>
3294 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3295 file path subdir/fig.eps when pasting it into a buffer in a different
3298 2002-10-16 John Levon <levon@movementarian.org>
3300 * insetspecialchar.C: remove \\protected_separator parsing
3302 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3304 * insetquote.C: fix LaTeX output of quotation marks.
3306 2002-10-14 Juergen Vigna <jug@sad.it>
3308 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3309 Backspace functions which confused the Undo handling.
3311 2002-10-09 Angus Leeming <leeming@lyx.org>
3313 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3314 BufferView::dispatch that turns off this optimisation when a new inset
3317 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3318 reload the BibTeX keys.
3320 2002-10-11 André Pönitz <poenitz@gmx.net>
3322 * insettext.h: handle LFUN_PRIOR/NEXT
3324 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3326 * insetfloat.C: fix bug with float settings
3327 (document default != float default).
3329 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3331 * insetwrap.C (addToToc): New method.
3332 (InsetWrap): Set layout to caption.
3334 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3336 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3338 2002-09-16 John Levon <levon@movementarian.org>
3340 * insettabular.h: hasSelection() needs to be public
3342 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3344 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3346 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3348 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3350 2002-09-11 André Pönitz <poenitz@gmx.net>
3352 * insettabular.C: implement LFUN_WORDSEL
3354 2002-09-10 John Levon <levon@movementarian.org>
3356 * insetinclude.h: remove unused param
3358 2002-09-09 John Levon <levon@movementarian.org>
3361 * insetinclude.C: remove noload, default to input
3363 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3365 * insetgraphics.C: disfuscated use of ']' in built output string.
3367 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3369 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3371 2002-08-29 Juergen Vigna <jug@sad.it>
3373 * insettabular.C (lfunMousePress): Pay attention where you set
3374 the x/y values as they depend on which inset in the tabular is
3375 actually locked. So you surely have to reset them if you (un)lock
3378 2002-08-29 André Pönitz <poenitz@gmx.net>
3380 * insetfootlike.h: rename include guard to ALL CAPS
3382 * insettext.C: swap object and first parameter for checkInsetHit calls
3383 as this functions has moved from BufferView to LyXText
3386 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3388 * insetgraphicsParams.C: remove local displayTranslator and use
3389 the one from graphics/GraphicsTypes.h.
3391 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3393 * insetfloat.C (wide): add BufferParams parameter
3395 * insetfloatlist.C (read):
3398 * insetfloat.C (latex):
3400 * insetcaption.C (draw): use LyXTextClass::floats()
3402 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3404 * insetoptarg.h: add std:: qualifier.
3406 2002-08-26 Juergen Vigna <jug@sad.it>
3408 * insettext.C (localDispatch): ditto.
3410 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3412 2002-08-25 John Levon <levon@movementarian.org>
3414 * inseturl.C: elide long URLs (bug 404)
3416 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3418 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3419 remove "Format Version <version_no.>" string from inset header
3422 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3424 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3425 a member of "grfx::Params" anymore.
3427 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3429 2002-08-24 John Levon <levon@movementarian.org>
3432 * insetoptarg.C: ws, pedantry ...
3434 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3436 * insettext.C (collapseParagraphs): pasteParagraph now in global
3438 (appendParagraphs): ditto
3440 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3442 * insetcite.C (latex): Remove spaces only after commmas.
3444 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3446 * insettext.C: remove NO_COMPABILITY stuff
3448 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3450 * insettext.C (edit): use ParagraphList iterators
3452 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3453 (bibitemWidest): ditto
3455 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3457 * insettext.C: include <boost/bind.hpp>
3458 add using std::for_each
3459 (saveLyXTextState): use ParagraphsList::iterator
3460 (init): use for_each on paragraphlist iterators
3461 (InsetText): remove superflous setting cached_bview to 0
3462 (latex): reformat a bit
3463 (ascii): use paragraphlist iterators
3464 (validate): use for_each + boost bind
3465 (getLabelList): use paragraphlist iterators
3466 (deleteLyXText): use for_each + boost::bind
3467 (resizeLyXText): ditto
3468 (reinitLyXText): ditto
3469 (removeNewlines): use paragraphlist iterators
3470 (getParFromID): ditto
3471 (paragraph): use for_each + boost::bind
3472 (getInsetFromID): use paragraphlist iterators
3473 (getLabelList): typo fix
3475 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3477 * insettext.C (read): assign tmp to paragraphs after return from
3478 call to parseSingleLyXformat2Token
3481 2002-08-13 Angus Leeming <leeming@lyx.org>
3500 changes due to the changed LyXView interface that now returns references
3501 to member variables not pointers.
3503 2002-08-13 Angus Leeming <leeming@lyx.org>
3506 * insetcollapsable.h:
3509 * insettext.h: forward-declare WordLangTuple
3510 (selectNextWordToSpellcheck) constify return type.
3513 * insetcollapsable.C:
3516 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3518 2002-08-12 Angus Leeming <leeming@lyx.org>
3520 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3522 2002-08-12 Juergen Vigna <jug@sad.it>
3524 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3527 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3529 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3530 (bibitemWidest): ditto
3531 * insettext.[Ch]: ditto
3533 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3535 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3537 2002-08-09 Angus Leeming <leeming@lyx.org>
3539 * insetinclude.C (latexString): remove fudge now that I've found out
3540 how to enable LaTeX to find the file using input@path.
3542 2002-08-09 John Levon <levon@movementarian.org>
3545 * insettext.C: remove unused xpos
3547 2002-08-07 Juergen Vigna <jug@lyx.org>
3549 * insettabular.C (localDispatch): make delete not put the stuff
3550 in the clipboard only do this on a cut operation.
3552 * insettext.C (localDispatch): make delete and backspace not put
3553 selected stuff to the clipboard.
3555 2002-08-07 André Pönitz <poenitz@gmx.net>
3558 * insetcollapsable.[Ch]:
3562 * insettabular.[Ch]:
3563 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3565 2002-08-06 John Levon <levon@movementarian.org>
3569 * insetcollapsable.h:
3570 * insetcollapsable.C:
3576 * insettext.C: use WordLangTuple for spellcheck
3578 2002-08-06 Angus Leeming <leeming@lyx.org>
3580 * insetinclude.C: add a monitor to the previewed image, so that the
3581 image is refreshed if the \input-ed file changes.
3583 2002-08-04 John Levon <levon@movementarian.org>
3586 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3588 2002-08-02 Angus Leeming <leeming@lyx.org>
3590 * insetcommandparams.[Ch] (preview): new methods returning and setting
3591 a new bool preview_ flag.
3592 (read): read this flag.
3593 (operator==): add flag to check.
3595 * insetinclude.C (write): output new preview() flag.
3596 (previewWanted): use this flag.
3598 2002-08-02 Angus Leeming <leeming@lyx.org>
3600 * insetcollapsable.[Ch] (addPreview):
3601 * insettabular.[Ch] (addPreview):
3602 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3603 for insets in insets.
3605 2002-08-02 Angus Leeming <leeming@lyx.org>
3607 * insetcite.C: fix typo.
3609 * insetgraphics.C: kill current_view and instead cache the BufferView
3612 * insetinclude.C: kill current_view and pass the BufferView to the
3613 PreviewedInset so that it can cache it.
3615 2002-08-01 Angus Leeming <leeming@lyx.org>
3617 * inset.h (generatePreview): renamed as addPreview.
3618 (generatePreview): new method. Allows code to be moved out of
3619 math_nestinset.C and into the new PreviewedInset class.
3621 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3622 add previews to the inset when \input-ing LaTeX.
3624 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3626 * several files: strip,frontStrip -> trim,ltrim,rtrim
3628 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * insetbib.C (latex): modify because of strip changes
3632 * insetnote.C (InsetNote): ditto
3634 2002-07-26 Juergen Vigna <jug@sad.it>
3636 * insettabular.C (searchForward): check for lastcell if we
3637 had a locking inset.
3639 2002-07-25 Juergen Vigna <jug@sad.it>
3641 * insettabular.C (insetMotionNotify): Don't update the screen
3642 if we didn't do nothing.
3643 (searchForward): last cell was not checked.
3645 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3647 * insetfloat.C (read, write): Allow default placement
3648 (floatPlacement_ is empty).
3650 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3652 * insetminipage.h (noFontChange):
3653 * insettabular.h (noFontChange):
3654 * insetfootlike.h (noFontChange):
3655 * insetfloat.h (noFontChange): return true
3657 * inset.h (noFontChange): new method, defaulting to false
3659 2002-07-22 Herbert Voss <voss@lyx.org>
3661 * insetgraphicsParams.[Ch]: support size_type for old docs
3663 2002-07-22 Herbert Voss <voss@lyx.org>
3666 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3669 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3671 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3673 * insetlatexaccent.h: do not include "lyxlex.h"
3675 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3678 * insetlatexaccent.C:
3682 * insetbib.C: #include "lyxlex.h"
3688 * insettext.C: use BufferParams::getLyXTextClass
3691 * insetfloat.C (addToToc): new method. Add to toclist the entries
3692 corresponding to Caption layouts
3693 (InsetFloat): when creating a new float, set the layout to "Caption"
3695 2002-07-21 Herbert Voss <voss@lyx.org>
3697 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3698 image relevant part into graphics/GraphicsImgae.C
3700 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3702 * insettoc.C (ascii):
3703 * insetfloatlist.C (ascii): change to use the new Toc functions
3704 instead of stuff that was in Buffer
3706 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3708 * insettext.C (localDispatch): BufferView::Dispatch has been
3709 renamed to BufferView::dispatch
3711 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3713 * insetgraphicsParams.C (as_grfxParams): use the new
3714 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3715 1.2.0 patch, and I do not really know how to adapt it to the new
3716 grfx::Cache world. Angus, please could you have a look?
3718 2002-05-01 Herbert Voss <voss@lyx.org>
3720 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3722 2002-07-18 Angus Leeming <leeming@lyx.org>
3724 * insetgraphics.C: clean-up comments (from Herbert).
3725 add a new checksum variable to the cache. Use it in PrepareFile.
3726 (draw): start monitoring the file for a change.
3727 (prepareFile): re-arrange a little to avoid unnecessary steps.
3729 2002-07-17 Angus Leeming <leeming@lyx.org>
3731 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3732 a method rather than to the signal directly.
3734 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3736 * insettext.C: use view_state_changed, switchKeyMap
3738 2002-07-17 Herbert Voss <voss@perce.de>
3740 * insetgraphics.C (prepareFile): keep the extension when
3741 exporting to nice file
3743 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3745 * insetcite.C (getNatbibLabel):
3746 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3748 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3750 * insetgraphics.C: use ->isDrawable()
3752 2002-07-12 Angus Leeming <leeming@lyx.org>
3754 * insetgraphics.C: use the new smart loading capabilities of the image
3757 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3759 * insettabular.C (edit): Move into correct cell when entering a
3762 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3765 2002-07-05 Angus Leeming <leeming@lyx.org>
3767 * inset.h (generatePreview): new virtual method.
3769 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3771 * insetcommandparams.[Ch] (operator=): move out of class
3772 (operator!): move out of class
3774 2002-07-04 André Pönitz <poenitz@gmx.net>
3776 * insetcommandparams.[Ch]: new files
3778 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3780 2002-06-15 Herbert Voss <voss@perce.de>
3782 * insetgraphics.C (prepareFile): bugfix; return always
3783 files without extension
3785 2002-06-28 Angus Leeming <leeming@lyx.org>
3787 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3788 rename asGParams -> as_grfxParams.
3790 * insetgraphics.C: reflect above change.
3792 2002-06-26 Angus Leeming <leeming@lyx.org>
3794 * insetgraphics.h: use boost::scoped_ptr in preference to
3797 2002-06-26 Angus Leeming <leeming@lyx.org>
3799 * insetgraphics.C: moved the image loading stuff into a new class
3800 grfx::Loader. Simplifies this file enormously.
3802 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3804 * insetgraphicsParams.C: changes aassociated with moving
3805 grfx::DisplayType out of grfx::GParams.
3807 2002-06-26 André Pönitz <poenitz@gmx.net>
3809 * insetgraphics.C: use os::external_path where necesaary according to a
3810 patch from Claus Hentschel)
3812 2002-06-25 Angus Leeming <leeming@lyx.org>
3814 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3815 generating a pixmap once the graphics file is loaded into memory.
3816 The current_view ugliness that was in grfx::ModifiedImage has been
3817 moved here now that grfx::ModifiedImage is no more.
3819 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3821 * insettext.C: layout as layout
3823 2002-05-28 André Pönitz <poenitz@gmx.net>
3825 * insetfloatlist.h: remove source of compiler warning
3827 * insetref.C: tiny whitespace
3829 2002-06-15 Herbert Voss <voss@perce.de>
3831 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3832 and take always convert when no userdefined converter was
3834 (latex) small changes in the lyxerr output
3836 2002-06-15 LyX Development team <lyx@rilke>
3838 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3839 mixed content. Small white spaces clean.
3841 2002-06-14 Angus Leeming <leeming@lyx.org>
3843 * inseetexternal.C: remove the using std::difftime declaration.
3845 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3847 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3849 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3851 * insetquotes.C (draw): fix drawing of double quotes
3853 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3855 * insettabular.C: s/scrollCB/scrollDocView/
3857 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3859 * insettext.C: change of topCursorVisible()
3862 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3865 * insettext.C: rename/change of LyXScreen
3867 2002-06-07 Angus Leeming <leeming@lyx.org>
3869 Fixes needed to compile with Compaq cxx 6.5.
3871 all c-library variables have been moved into namespace std.
3872 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3874 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3876 * insetinclude.C (uniqueID):
3877 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3878 conflicted with some AIX headers.
3880 2002-05-31 Juergen Vigna <jug@sad.it>
3882 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3886 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3888 * insetexternal.C (clone): fix () bug when using new
3889 (updateExternal): don't only look for difftime in global scope
3891 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3893 * insettabular.C: add const
3895 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3897 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3898 file name, in case there are weird characters like ',' in there.
3901 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3903 * switch from SigC signals to boost::signals.
3905 2002-05-28 André Pönitz <poenitz@gmx.net>
3907 * insets/insetgraphicsParams.[Ch]:
3908 put in inset related stuff from src/graphic
3910 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3918 * insetcollapsable.C:
3919 * insetcollapsable.h:
3947 * inseturl.h: use mouse_state. Kill insetKeyPress
3949 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3954 * insetcollapsable.C:
3957 * insetlatexaccent.C:
3959 * insetspecialchar.C:
3961 * insettext.C: name change for font metrics
3963 2002-05-24 Juergen Vigna <jug@sad.it>
3965 * insetgraphics.h: include inset.h first (for LString.h)
3967 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3969 * insettext.C: screen moved
3971 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3989 * inseturl.C: LyXView moved into frontends/
3991 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3996 * insetcollapsable.C:
4000 * insetgraphicsParams.C:
4001 * insetlatexaccent.C:
4003 * insetspecialchar.C:
4005 * insettext.C: move Painter to frontends/
4007 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4009 * insettabular.h: use more specific smart_ptr header.
4010 * insettext.h: ditto
4012 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4015 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4017 * insettext.C: clear selection on paste (bug 393)
4019 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4021 * insettext.C (latex): Honor the moving_arg argument.
4023 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4025 * insetfoot.C (latex): if a footnote is in a title layout, then it
4026 is a \thanks. And then, its contents is a moving argument.
4028 2002-05-14 Juergen Vigna <jug@sad.it>
4030 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4033 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4035 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4036 when using options "Full author list" or "Upper case".
4038 2002-05-14 Herbert Voss <voss@perce.de>
4040 * insetgraphics.C (prepareFile): allow files with same name
4042 (readFigInset): set the flags from old figinset in the right
4044 (findTargetFormat): more comments
4046 2002-05-14 Juergen Vigna <jug@sad.it>
4048 * insettext.C (edit): tell checkAndActivateInset() that we don't
4049 have a button press.
4050 (checkAndActivateInset): if button < 0 we don't have a button press
4051 on the inset and os we won't call edit on it if it's not a Highly
4052 editable inset (then we have to enter it).
4054 2002-05-13 Juergen Vigna <jug@sad.it>
4056 * insetcollapsable.C (insetButtonRelease): returned wrong return
4059 2002-05-09 Juergen Vigna <jug@sad.it>
4061 * insetcollapsable.C (edit): first_after_edit should only be
4062 set to true if we enter this inset and it was collapsed so we
4063 open it up. This is needed to reclose it after a search/replace
4064 or spellcheck function opened it and was negative.
4066 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4068 * insetfloat.C (latex): Return correct value.
4070 2002-05-04 Herbert Voss <voss@perce.de>
4072 * InsetgraphicsParams.C (read): fix bug with WH
4074 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4076 * insetfloat.C (latex): More sensible latex output
4077 (fix the problem with endfloat).
4079 2002-05-02 José Matos <jamatos@fep.up.pt>
4081 * insetgraphics.C (validate): acess params as everyone else.
4083 2002-05-03 Juergen Vigna <jug@sad.it>
4085 * insettabular.C (fitInsetCursor): recalculate the cursor position
4088 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4090 * InsetgraphicsParams.[Ch]: whitespace.
4092 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4094 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4095 float type do not exist.
4097 2002-04-28 Herbert Voss <voss@perce.de>
4099 * insetgraphics.C (latex): fix bug with missing file-extension.
4100 LaTeX still allows a missing "eps" or "ps".
4102 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4104 * insetfloat.C (c-tor, wide): translate the name of the float.
4106 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4108 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4109 when using natbib and make it work efficiently. Must emphasise that the
4110 real work is Herbert's.
4112 2002-04-23 Herbert Voss <voss@perce.de>
4114 * insetgraphic.C (prepareFile): fix bug with overwriting and
4115 deleting an existing *.eps-file in the doc-dir
4117 2002-04-23 Juergen Vigna <jug@sad.it>
4119 * insettabular.C (drawCellSelection): fix off by 1 error.
4121 2002-04-22 Juergen Vigna <jug@sad.it>
4123 * insettabular.C (setFont): rewoke full selection if it was asked,
4124 after we changed all we had to change.
4126 * insettext.C (insetUnlock): code was uninitialized in some situations.
4128 2002-04-19 Herbert Voss <voss@perce.de>
4130 * insetgraphic.C (prepareFile): return filename without
4131 extension if we only export without compiling
4133 2002-04-19 Juergen Vigna <jug@sad.it>
4135 * insettext.C (draw): call a fullRebreak on the row where we had a
4136 change and reset the cursor and selection-cursors.
4138 * insettabular.C (insetUnlock):
4139 (insetButtonPress): call an update before setting the_locking_inset = 0
4140 as otherwise we don't repaint!
4141 (update): reset the cursor position when we changed dimensions as
4142 otherwise our cursor may be on the wrong spot.
4144 2002-04-18 Juergen Vigna <jug@sad.it>
4146 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4147 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4148 redraw otherwise we won't redraw.
4150 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4151 not really right before, but I only discovered this with the last
4152 changes to Page up/down.
4154 2002-04-17 Juergen Vigna <jug@sad.it>
4156 * insettext.C (checkAndActivateInset): simplified as we now have the
4157 edit(bv, bool) call.
4159 * insettext.h: changed behind variables to front variables to be
4160 equal to the one in the edit call (as it is for that they are used).
4162 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4164 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4165 not output anything at all!
4167 2002-04-16 Juergen Vigna <jug@sad.it>
4169 * insettabular.C (insetButtonPress):
4170 (insetUnlock): call a redraw on unlocking the cell inset.
4172 * insettext.C (insetButtonPress): same as below.
4173 (lockInset): new function to set initial values when inset should
4175 (insetButtonPress): use above function.
4176 (insetUnlock): don't force a repaint only set the updateStatus. The
4177 outside world should repaint if it thinks it should be done!
4179 * insettabular.C (insetButtonPress): init values if not set as locked
4180 as we are locked if someone presses on us and don't call the edit()
4181 call of the InsetText to lock it do it as BufferView does it!
4183 * inset.h (insetInInsetY): make func const and return an int.
4186 * insetcollapsable.C: adapt the above changed function.
4188 2002-04-15 Juergen Vigna <jug@sad.it>
4190 * insettext.C (getCursorPos): return relative position as to be able
4191 to give them directly to the edit() call.
4192 (edit): we have to set also x_fix as it is not set inside the
4193 setCursorFromCoordinates call!
4194 (insetMotionNotify): ditto.
4196 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4198 * insetbib.C (getKeys): strip leading '\t's from the line too.
4199 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4201 2002-04-12 Juergen Vigna <jug@sad.it>
4203 * insettext.h: added cix() helper function and use it where appropriate
4205 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4207 * insetgraphics.C (prepareFile): fix bug when graphics is a
4210 2002-04-12 Juergen Vigna <jug@sad.it>
4212 * insettext.C (insertInset): remove unneeded code!
4213 (updateLocal): fitCursor() fixes.
4214 (collapseParagraphs): fix a possible problem when having a selection
4215 and collapsing the paragraphs.
4217 2002-04-08 Herbert Voss <voss@perce.de>
4219 * insetgraphic.C (write): write the rotating angle as
4220 a float as is. test only for != 0.0
4222 2002-04-11 Juergen Vigna <jug@sad.it>
4224 * insettext.C: new function ciy() and use it for setting inset_y.
4226 * insetert.C (draw): fix the x return for collapsed version.
4228 2002-04-07 Herbert Voss <voss@perce.de>
4230 * insetgraphic.C (readFigInset): fix bug with subcaption and
4233 2002-04-08 Herbert Voss <voss@lyx.org>
4235 * insetgraphicsparam.C: forgot special option and delete old
4238 2002-04-05 Juergen Vigna <jug@sad.it>
4240 * insettext.C (localDispatch): make a CURSOR update if we inserted
4243 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4245 * insetfloatlist.C (getScreenLabel):
4246 (latex): use Floating::listName
4247 (validate): new method
4249 2002-04-03 José Matos <jamatos@fep.up.pt>
4251 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4253 * insetfoot.[Ch] (docbook): added forgotten method.
4255 2002-04-03 Juergen Vigna <jug@sad.it>
4257 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4258 way as in Bufferview_pimpl.
4260 2002-04-03 Allan Rae <rae@lyx.org>
4262 * insetgraphics.C (latex): one % too many makes living on the bleeding
4263 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4265 2002-03-28 Herbert Voss <voss@lyx.org>
4267 * insetgraphic.C (latex): simplify the code for the latex
4268 output when the file doesn't exist
4270 2002-03-29 Juergen Vigna <jug@sad.it>
4272 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4275 * insettabular.C (edit): call fitCursor().
4277 * insettext.C (insetButtonPress): change behaviour of no_selection
4278 to the one in the BufferView selection_possible and fix the spurious
4279 selection bug with it.
4280 (localDispatch): revoke selection on BREAK... functions.
4282 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4284 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4286 2002-03-28 Juergen Vigna <jug@sad.it>
4288 * insettabular.C (insetAllowed): return true as default value otherwise
4289 we're not able to insert insets inside paragraphs of an not locked
4292 2002-03-27 Herbert Voss <voss@lyx.org>
4294 * insetgraphicsparam.C: change c%, p% to col%, page%
4296 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4298 * insetspecialchar.C (isLineSeparator): disable the nice code to
4299 allow linebreaks after hyphenation and menu separators.
4301 2002-03-26 Herbert Voss <voss@lyx.org>
4303 * insetgraphics.C (figinsetRead): set the right lyxview
4305 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4307 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4308 $\backslash$ and pass a "string const &" to the function.
4309 (prepareFile, latex): use Path rather than MakeAbsPath.
4311 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4313 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4314 proper fix to the graphics cache.
4315 (latex): "really" nice output if the file is not found ;-)
4317 2002-03-26 Juergen Vigna <jug@sad.it>
4319 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4320 (collapseParagraphs): fixed inserting of separator ' '
4322 * insettabular.C (insertAsciiString): only check for buffer lenght
4323 not if we have \t or \n inside the buffer as if we don't have we only
4324 have 1 cell and that's it!
4326 * insetert.C (close): don't collapse if inlined.
4328 2002-03-25 Herbert Voss <voss@lyx.org>
4330 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4331 graphics file does not exist.
4333 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4335 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4336 path when preparing export.
4338 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4339 no longer MakeRelPath.
4341 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4343 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4344 Used to determine the absolute path to the graphics file in the
4345 graphics cache and only in the graphics cache.
4346 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4347 make graphics file name absolute if it is stored as a relative path.
4349 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4350 make graphics file name absolute if it is stored as a relative path.
4352 * insettext.C (edit): emit an updateParagraph signal on entering a text
4353 inset. Needs to be emitted when leaving the inset also.
4355 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4357 * all files: ws cleanup
4359 * Makefile.am: remove ld -r stuff
4361 2002-03-21 Juergen Vigna <jug@sad.it>
4363 * insettext.C (appendParagraphs): new function added to append
4364 the paragraphs to this insets paragraphs.
4366 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4368 * Makefile.am: special rules if partial linking
4370 2002-03-19 Juergen Vigna <jug@sad.it>
4372 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4374 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4376 * insetgraphics.C: Clean up Baruch's comments a little.
4377 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4379 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4382 * insettheorem.C: wrap warnings
4384 * insetgraphics.C: improve messages, move cached_status_
4385 setting to safer place
4387 2002-03-18 Juergen Vigna <jug@sad.it>
4389 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4391 (localDispatch): ditto
4393 * insettext.C (edit): removed unneeded showCursor calls.
4394 (localDispatch): ditto.
4396 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4398 * insetgraphics.h: remove display() method.
4400 2002-03-11 Juergen Vigna <jug@sad.it>
4402 * insetgraphics.C (draw): hack to fix the redrawing bug.
4403 (draw): seems this fixes #268 (force redraw of row if we changed).
4405 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4406 this inset text (don't know why I missed this earlier).
4408 2002-03-08 Juergen Vigna <jug@sad.it>
4410 * insettabular.C (updateLocal): do a FULL update if we're not locked
4411 and only a CELL update is asked.
4413 * insettext.C (updateInsetInInset): update insets inside inset also
4414 if it isn't inside the_locking_inset.
4416 * insettabular.C (updateInsetInInset): ditto.
4418 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4420 * insetexternal.C (doSubstitution): check whether we are using a
4421 temp dir for defining $$FPath
4423 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4426 * insettext.C: remove #include "WorkArea.h".
4428 2002-03-06 Juergen Vigna <jug@sad.it>
4430 * insettext.C (draw): fixed frame redrawing.
4431 (clear): forgot to set the inset_owner of the paragraph.
4433 * insetert.C (status): pay attention the bv can be 0 here!
4434 (getMaxWidth): add the default leftMargin
4436 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4438 * insetert.C (getMaxWidth): make w unsigned int.
4440 2002-03-05 Juergen Vigna <jug@sad.it>
4442 * insetert.C (status): change behaviour of Inlined.
4443 (getMaxWidth): added for new inlined behaviour.
4445 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4447 * insetnote.h (linuxdoc, docbook): add empty methods.
4448 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4449 before being initialized.
4451 2002-03-05 Juergen Vigna <jug@sad.it>
4453 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4454 only that one in the inset. Should be enough.
4455 (updateLocal): set the selection cursor always if we don't have a
4456 selection to be sure it's set!
4458 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4460 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4462 * insettext.C (clear): a gross hack to set layout on a newly
4465 2002-03-04 Juergen Vigna <jug@sad.it>
4467 * insettabular.C (localDispatch): inserted handling of
4468 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4469 (insertAsciiString): new helper function.
4471 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4473 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4476 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4478 * insettext.C (InsetText): initalize newly created par with
4479 default layout. add bufferparams parameter
4482 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4483 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4484 * insetert.[Ch] (InsetERT): ditto
4485 * insetfloat.[Ch] (InsetFloat): ditto
4486 * insetfoot.[Ch] (InsetFoot): ditto
4487 * insetfootlike.[Ch] (InsetFootLike): ditto
4488 * insetmarginal.[Ch] (InsetMarginal): ditto
4489 * insetminipage.[Ch] (InsetMinipage): ditto
4490 * insetnote.[Ch] (InsetNote): ditto
4491 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4493 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4495 * insettext.C: layout as string
4497 * insetinclude.C: layout as string
4499 * insetert.C: layout as string
4501 * insetbib.C: layout as string
4503 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4506 * insettabular.C: remove #include "lyx_gui_misc.h".
4508 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4513 * inset.h: remove figinset, yahoo !
4515 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4517 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4518 copy c-tor and initialise member variables in the correct order.
4520 2002-02-28 Juergen Vigna <jug@sad.it>
4522 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4524 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4526 * inset.h: ... and add a better one here.
4528 * insetcommand.C (insetButtonRelease): remove that one which was a
4531 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4533 * insetcommand.C (insetButtonRelease): ... and move it here.
4535 * inseturl.h: remove insetButtonRelease from there...
4537 2002-02-26 Juergen Vigna <jug@sad.it>
4539 * inseturl.h: Added a insetButtonRelease call returning true as
4542 * insetlabel.C (edit): Fixed wrong update handling after change I
4543 leave in the wrong code for the one who wrote it to remove and have
4544 a look what he did wrong.
4546 * insettabular.C (localDispatch): force a SELECTION update if we
4547 had a selection and we passed the event down to the inset (fix #213)
4548 (localDispatch): handle font changing stuff when we have a cell
4549 selection so that the selection is not rewoked. I don't really like
4550 this fix, but it's the only way I see to do it right now.
4552 2002-02-22 Juergen Vigna <jug@sad.it>
4554 * insettext.C (insetUnlock): set the cursor to the second paragraph
4555 if available and if the first one is empty (fix #191).
4557 2002-02-20 Juergen Vigna <jug@sad.it>
4559 * insettext.C (getDrawFont): implemented this function to call the
4560 one of the owner if present as the owner normally knows what to do
4563 * insetert.C: implement getDrawFont() function and comment out all
4564 the crap for setting a special latex font inside this inset.
4565 (InsetERT): added a Lanugage parameter to this constructor.
4567 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4568 change the font for being drawn on screen (used only in InsetERT for
4571 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4572 and also above (was missing).
4573 (updateLocal): don't remove the cell selection if we have one this
4574 should be done where we really want to remove it.
4576 2002-02-20 José Matos <jamatos@fep.up.pt>
4578 * insetinclude.h: include_label made string const.
4580 * insetinclude.C (InsetInclude): moved include_label initialization.
4583 (validate): fix support for temporary directory, for docbook and
4586 * insetgraphics.h : new private member, graphic_label, that holds
4587 the entity name that defines the graphics location (SGML).
4589 * insetgraphics.C (unique_id): new function to give a unique label
4592 (validate): the file locatation is given by an entity reference.
4594 2002-02-18 Herbert Voss <voss@lyx.org>
4596 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4598 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4600 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4601 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4603 2002-02-18 José Matos <jamatos@fep.up.pt>
4605 * insetinclude.C (validate): some code only applies to latex buffers,
4606 it was made conditional.
4608 2002-02-12 Herbert Voss <voss@lyx.org>
4610 * insetgraphics.C: (prepareFile) do not check at this time
4611 if the file is present.
4613 2002-02-12 Herbert Voss <voss@lyx.org>
4615 * insetgraphics.C: latex(), return the correct newlines
4617 2002-02-13 José Matos <jamatos@fep.up.pt>
4619 * inseturl.C (docbook): escape & in url.
4621 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4623 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4624 after HYPHENATION and MENU_SEPARATOR
4626 * inset.h (isLineSeparator): new method, returns false by default.
4628 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4630 * insetert.C (status): do not update the text inset, but the ERT
4633 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4635 * insetnote.C: use notebg for background
4637 2002-02-08 Herbert Voss <voss@lyx.org>
4640 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4641 prevent LyX from unzipping when this should be handled
4642 by latex vis the graphic.cfg.
4645 2002-02-08 Herbert Voss <voss@lyx.org>
4647 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4648 exists, than return filename with extension
4650 2002-02-06 Herbert Voss <voss@lyx.org>
4652 * insetgraphic.C: prepareFile(): don't convert the file, when
4653 it's not viewed in LyX. Saves a lot of time when opening a
4656 2002-02-05 Herbert Voss <voss@lyx.org>
4659 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4660 and adding a rotate bool similiar to subcaption
4662 2002-02-04 Herbert Voss <voss@lyx.org>
4665 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4666 similiar view to the LaTeX one. Get zipped files work.
4668 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4670 * insetgraphicsParams.C (init): set display to DEFAULT.
4671 No longer #include "lyxrc.h".
4673 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4675 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4676 for now (so that the code compiles).
4678 2002-02-02 Herbert Voss <voss@lyx.org>
4680 * insetgraphic.C: delete inVariant() and some minor changes
4681 * insetgraphicsParams.[C]:
4683 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4685 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4686 interogate lyxrc.display_graphics before diaplaying the graphic.
4688 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4689 InsetGraphicsParams::DisplayType.
4691 2002-01-31 Herbert Voss <voss@lyx.org>
4693 * insetgraphic.C: (readfigInset) set display to pref-default
4695 2002-01-30 Herbert Voss <voss@lyx.org>
4697 * insetgraphic.C: get the filetyp from it's contents
4698 * insetgraphicparams.C: add token scale and lyxrc.display when
4699 creating a new inset
4701 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4703 * figinset.C: added using std::ios directive.
4705 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4707 * figinset.C (runqueue): open translation file in binary mode (for
4710 2002-01-27 Herbert Voss <voss@lyx.org>
4712 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4713 all options and to be sure that the old figinsets are correct
4715 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4716 structure and to support all lengths as LyXLength. The Parameter
4717 structure changed again, but reading of "old" 1.2 graphic insets
4720 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4722 * insetert.h (forceDefaultParagraphs): Added
4724 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4726 * insettabular.C (getMaxWidth):
4727 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4729 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4731 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4732 of LyXLength::inPixels
4734 * inset.C (latexTextWidth):
4735 * insetminipage.C (latexTextWidth): new method, which implements
4736 the equivalent of the LaTeX macro \textwidth
4738 * insetminipage.C (getMaxWidth): use latexTextWidth
4740 2002-01-18 Juergen Vigna <jug@sad.it>
4742 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4744 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4746 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4748 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4751 2002-01-17 Juergen Vigna <jug@sad.it>
4753 * insettabular.C (lockInsetInInset): same change as in insettext.
4755 * insettext.C (draw): width() function was called without setting
4756 the right top_x which could lead to wrong insetWidth setting!
4757 (lockInsetInInset): call edit instead of calling lockInset if we
4758 have to lock an inset inside!
4759 (edit): we have to also tell the inset that we have to redraw the
4760 frame on an edit call if this inset draws a frame only if locked.
4762 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4764 * insetbib.C (getFiles): uncomment Path variable.
4766 2002-01-16 Juergen Vigna <jug@sad.it>
4768 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4771 2002-01-16 Allan Rae <rae@lyx.org>
4773 * insetinclude.C (docbook): someone forgot a ";"
4775 2002-01-16 José Matos <jamatos@fep.up.pt>
4777 * figinset.C (docbook): removed a old place holder "@".
4778 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4779 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4780 ascii text version, clearly guarded inside a CDATA section.
4781 (docbook): in docbook 4, inlinegraphics is empty.
4782 * insettabular.C (linuxdoc): export the ascii version of the table
4783 inside a CDATA section.
4785 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4787 * insetparent.C (InsetParent):
4788 * insetgraphicsParams.C (Write):
4790 * insetgraphics.C (prepareFile):
4793 * insetexternal.C (executeCommand):
4794 (doSubstitution): use Buffer::filePath
4796 * insetbib.C (getFiles): add a #warning for Angus
4798 * insetgraphics.C: Add a remark about how filenames should be
4799 considered to be relative to buffer (but absolute is still allowed)
4800 (draw): do not try to get status if lyxrc.use_gui is false
4802 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4805 * insetcollapsable.[Ch]:
4806 * insettabular.[Ch] (searchForward, searchBackward): change the
4807 bool const & params to bool.
4809 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4810 to avoid the name clash with InsetCollapsable's methods of the same
4811 names but different functionality.
4813 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4815 * insettext.C (ascii): use lyx::count rather than countChar.
4817 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4819 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4821 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4823 * insetgraphics.C (updateInset): do not try to render image if
4824 lyxrc.use_gui is false (bug #104)
4826 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4827 if file does not exist
4829 * figinset.C (browseFile): add shortcuts to directory buttons
4831 * insettext.C (updateLocal): update menubar and toolbar here too.
4833 2002-01-13 Allan Rae <rae@lyx.org>
4835 * insettabular.C (InsetTabular): Both constructors now initialise
4836 all class variables.
4838 2002-01-11 Juergen Vigna <jug@sad.it>
4840 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4842 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4844 * insettabular.C (getStatus): add forgotten brace around multiline
4847 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4849 * insetfloat.C (validate): require "float" instead of "floats".
4851 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4853 * insettabular.C (getStatus): use FuncStatus
4855 2002-01-08 Juergen Vigna <jug@sad.it>
4857 * insettabular.C (insetButtonRelease): now this should work too
4860 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4861 if the width is a percentage.
4863 * inset.h: added isChar() function and implemented this for
4864 insetspecialchar insetquotes and insetlatexaccent.
4865 added forceDefaultParagraphs() and implemented it for insettabular.
4867 2002-01-07 Juergen Vigna <jug@sad.it>
4869 * insettext.C (getLyXText): Fixed this function. An insert into the
4870 map is only done if we REALLY have a new BufferView.
4872 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4874 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4876 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4878 * insetinclude.C: fix use of FileInfo
4880 2002-01-07 Juergen Vigna <jug@sad.it>
4882 * insettabular.C (draw): fixed clearing of cell around inset.
4884 2002-01-05 Juergen Vigna <jug@sad.it>
4886 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4887 variables are updated.
4889 * insettabular.C (resetPos): set always the inset_y as it may be
4890 needed in another function.
4891 (searchBackward): don't draw while searching.
4893 2002-01-04 Juergen Vigna <jug@sad.it>
4895 * insettext.C (lockInsetInInset): forgot to set a cursor.
4897 2002-01-02 Juergen Vigna <jug@sad.it>
4899 * insettext.C (insertInset): make the correct undo informations on
4900 inserting new insets.
4902 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4904 * insettabular.C: correct single-cell select vertically
4906 2001-12-27 Juergen Vigna <jug@sad.it>
4908 * insettabular.C (ascii): export as tab-separated-values if the
4909 function was not called from export (f.ex.: clipboard).
4911 * insetcollapsable.h: added default support for ascii, linuxdoc and
4912 docbook export (the insettext is exported by default!)
4914 * insettabular.C (copySelection): suff the clipboard with the tabular
4915 data in a tab separated format, seems more naturals then with all the
4918 2001-12-24 Juergen Vigna <jug@sad.it>
4920 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4921 to check for REAL mouseMotion.
4923 2001-12-20 Juergen Vigna <jug@sad.it>
4925 * inset.C (cursor): return the owners cursor if available instead of
4926 always only the bv->text->cursor.
4928 * insettabular.C (checkLongtableSpecial): works now.
4930 2001-12-19 Juergen Vigna <jug@sad.it>
4932 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4933 this has to be always row + 1 as 0 means not selected!
4934 (checkLongtableSpecial): added
4935 (tabularFeatures): better longtable options support
4937 * insettext.C (resizeLyXText): reinit the text always also on a
4940 2001-12-18 Juergen Vigna <jug@sad.it>
4942 * insettext.C (updateInsetInInset): look if we have to autocollapse
4943 paragraps and return if the update is requested for ourself.
4945 * insetert.C (status): update the insettext not myself as that is what
4948 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4949 function only return if the update was requested with myself.
4951 * insettext.C (insetButtonPress): fixed stupid bug.
4952 (various functions): pay attention that lt is cleared BEFORE calling
4953 updateLocal() and try to use it in the right manner (don't use it
4954 if it's not really neccessary!)
4955 (collapseParagraphs): insert a blank between collapsing paragraphs
4956 if neccessary (not already there!).
4958 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4960 * insettabular.C: move includes around a bit, add a couple of
4963 * insettext.[Ch]: move includes around a bit, other ws changes and
4966 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4968 * insettext.C (insetButtonRelease): fix compile problem
4970 2001-12-17 Juergen Vigna <jug@sad.it>
4972 * insettext.C (insetButtonPress): set the selection cursor!
4973 (insetButtonPress): clear the selection (and set with that the
4974 selection.cursor) if we only hit an inset!
4976 * insetert.C (read): removed piece of compatibility code only needed
4979 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4982 * insetcollapsable.C (insetButtonRelease): changed so that it can
4983 open eventual existing popup dialogs on mousebutton==3.
4985 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4987 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4989 * inset.C (insetButtonRelease): return a bool for telling the outer
4990 world that we opened a dialog.
4992 2001-12-07 Juergen Vigna <jug@sad.it>
4994 * insettext.C (paragraph): remove the deleteing of paragraphs as
4995 it was a WRONG move!
4997 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5000 * insettabular.C: use new setSelection(). Allow
5001 selection of single cells.
5003 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5005 * insetquotes.C (latex): fix to use the local language setting at
5006 the point where the inset is inserted (different macros for
5007 different french packages)
5009 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5011 * inset.h: add par_owner_ member variable and parOwner
5014 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5016 * insettabular.C (everywhere): adapt because widths are now real
5017 widths and not strings
5019 * insettext.C (draw): re-introduce the calls to width(), ascent()
5020 and descent() to initialize the caching variables.
5022 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5024 * insettext.C (draw):
5025 (drawFrame): use insetWidth instead of last_width
5027 * insettext.h: remove variable last_width (insetWidth is exactly
5028 the same) and last_height (computed but never used!)
5030 2001-12-10 Allan Rae <rae@lyx.org>
5032 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5034 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5036 * insettext.C (insetAllowed): add comment
5038 2001-12-05 Juergen Vigna <jug@sad.it>
5040 * insettext.C (insetAllowed): fixed for the case that we directly
5041 ask the insettext from its LyXText.
5042 (paragraph): fixed the crash when assigning the par->next() from
5043 the EmptyParagraphMechanism!
5045 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5049 * insettext.C: change "while(" to "while ("
5051 2001-12-04 Juergen Vigna <jug@sad.it>
5053 * insetert.C (edit): handle Inlined status.
5055 * insettext.C (insertInset): trying John's fix for the trailing cursor
5057 * insetert.C (insetButtonPress): added to handle inlined status
5058 (insetMotionNotify): ditto.
5060 * insettext.C (clearInset): changed Painter & in BufferView * param,
5061 to be able to call ascent,descent methods.
5063 2001-12-03 Juergen Vigna <jug@sad.it>
5065 * insettext.C (updateInsetInInset): use lt variable to forbid
5066 changes of LyXText in an update call.
5067 (updateInsetInInset): fixed updating of non locked insets!
5069 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5071 * insettabular.C: capture some more functions to prevent
5072 selection drawing problems. Bug #451274
5074 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5077 * insetgraphicsParams.C: fix inverted sense of float_equal
5079 2001-11-30 Juergen Vigna <jug@sad.it>
5081 * insettabular.C (InsetTabular): use the save_id flag to create also
5082 the tabular with the same id's.
5084 * insettext.C (setParagraphData): added a same_id function for undo
5085 to set the same paragraph id's as of the paragraph we are setting.
5087 2001-11-30 José Matos <jamatos@fep.up.pt>
5090 * insettoc.[Ch]: DocBook -> docbook.
5092 2001-11-29 André Pönitz <poenitz@gmx.net>
5095 * insettext.C: further reduction of header dependencies by using
5096 lyx::layout_type and lyx::textclass_type from support/types.h
5098 2001-11-29 Juergen Vigna <jug@sad.it>
5100 * insettext.C: inserted a reinitLyXText function everywhere I delete
5101 the paragraphs! This should fixe the crashes we had.
5102 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5103 (paragraph): set the InsetOwner() of the new paragraphs!
5105 2001-11-28 André Pönitz <poenitz@gmx.net>
5107 * insetnote.C: add pos initialization that I removed without
5110 2001-11-28 Juergen Vigna <jug@sad.it>
5112 * insettabular.C (resetPos): hack to not crash with infinite paints.
5114 * insettabular.h: insert missing function allowSpellcheck()!
5116 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5118 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5121 * insetfloatlist.C: derive from InsetCommand so gui can use it
5124 2001-11-26 André Pönitz <poenitz@gmx.net>
5128 * insetnote.C: reduce header dependencies, introduce type for
5131 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5133 * various: update for Alert.h
5135 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5137 * inset.h: fix comment
5139 * insettext.C: use par->isInset()
5141 2001-11-22 Allan Rae <rae@lyx.org>
5143 * insetcollapsable.h:
5144 * inset.h: Changes to checkInsertChar() behaviour.
5145 Now return value indicates whether chars can be inserted.
5147 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5149 * various: updated to use the new LaTeXFeatures
5151 2001-11-14 José Matos <jamatos@fep.up.pt>
5153 * insetspecialchar.C (linuxdoc):
5154 (docbook): don't give a name to a unused variable.
5156 * insettext.C (docbook): removed unused variable.
5158 2001-11-13 Herbert Voss <voss@perce.de>
5160 * insetgraphic.C: fix scale bug
5162 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5164 * inset.h (isSpace):
5165 (isLetter): new virtual methods.
5167 * insetspecialchar.C (isSpace):
5168 (isLetter): implement here.
5170 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5172 * inset.h: new inline helpers
5174 * insettext.C: use new helpers
5176 2001-11-07 José Matos <jamatos@fep.up.pt>
5178 * insettext.C (docbook): full support for paragraphs inside insettext.
5180 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5182 * insetindex.C: added header file for std::ostream.
5184 2001-11-03 José Matos <jamatos@fep.up.pt>
5186 * insetindex.C: added using std::ostream that I forgot yesterday.
5188 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5190 * insetindex.h (docbook):
5191 * insetindex.C (docbook): added support for docbook export.
5193 2001-11-02 José Matos <jamatos@fep.up.pt>
5195 * insetcaption.C(docbook): added support for docbook export.
5197 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5199 * insetexternal.C (updateExternal): Do not run update command if
5200 result file exists and is up to date.
5202 * ExternalTemplate.C (readFormat): Support the updateresult token.
5204 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5206 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5207 external_templates) to use the buffer->fileName() but only if
5208 previewing. Generating a TeX file should make FPath return
5211 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5214 * insetert.C: fix some problems
5216 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5218 * insetexternal.C (doSubstitution): Added $$FPath token
5219 to list of usable substitutions in external inset templates.
5221 2001-10-24 Juergen Vigna <jug@sad.it>
5223 * insettabular.C: use new ltType struct for setting longtable
5224 header and footers also new UNSET enums.
5226 2001-10-24 José Matos <jamatos@fep.up.pt>
5228 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5229 (docbook): If the table is not inside a float then wrap it inside
5230 <informaltable>...</informaltable>.
5232 2001-10-23 José Matos <jamatos@fep.up.pt>
5234 * insetref.C (docbook): removed / terminator to conform SGML.
5236 * insetspecialchar.C (linuxdoc):
5237 (docbook): Added support for special chars, more than ascii export.
5239 2001-10-22 Juergen Vigna <jug@sad.it>
5241 * insettext.C (checkInsertChar): added for REALLY checking the
5242 font of the inserted char in the right inset!
5244 2001-10-19 Juergen Vigna <jug@sad.it>
5246 * inset.h: added method allowSpellcheck() so that insets who do
5247 not have anything to spellcheck can tell and so they are over-jumped.
5248 Implemented for InsetText and co.
5250 2001-10-18 Juergen Vigna <jug@sad.it>
5252 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5254 2001-10-15 José Matos <jamatos@fep.up.pt>
5256 * insetert.C: allow export for docbook and linuxdoc
5258 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5260 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5262 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5264 * insetquotes.C (dispString): fix handling of latin9 quotes
5266 2001-10-03 Juergen Vigna <jug@sad.it>
5270 * insetcollapsable.C: change updateInset calls to not tell BV that
5271 we have changed status.
5273 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5275 * insettabular.C (deletable): make const
5277 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5279 * insetert.C (latex): Fix the returned value
5281 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5283 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5284 Returns string(), so nothing in an ERT inset is spellchecked.
5286 * insetgraphics.C (draw): print the filename if not displaying the
5288 (width): make sure that the width and draw methods are consistent.
5289 (updateInset): don't even load the image into cache if not displaying
5292 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5294 * various files (selectNextWord): renamed as
5295 selectNextWordToSpellcheck.
5297 * insetgraphics.C (draw): remove the previous change. Right place
5298 is in imageLoaderXPM.C.
5299 (draw): don't display the image if params.display == NONE.
5301 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5303 * figinset.C (runqueue):
5304 * insetgraphics.C (draw): set background colour of inset from
5305 background to the user-configurable graphicsbg.
5307 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5309 * insetquotes.C (InsetQuotes): when trying to decide the side of
5310 the quote, choose `left' only after a space or '('
5312 2001-09-04 José Matos <jamatos@fep.up.pt>
5317 * insetcollapsable.h
5335 * insetlatexaccent.C
5336 * insetlatexaccent.h
5341 * insetspecialchar.C
5342 * insetspecialchar.h
5346 * insettext.C (docbook): rename docBook method to docbook.
5348 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5350 * inset.h (getFirstParagraph): New virtual method.
5352 2001-08-20 Herbert Voss <voss@perce.de>
5353 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5354 in the the bibtex-database-gui for inserting a line
5357 If no style is given than there is no tex-output.
5359 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5361 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5365 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5367 * insetert.C (latex): Fix output for multiple paragraphs.
5368 (write): New code for writing paragraph data.
5369 (read): Set font after reading the inset.
5370 (localDispatch): Call set_latex_font() for more cases.
5372 * insetnote.h: Add empty validate method.
5375 * insetnote.C (InsetNote): Set language to the language of the
5378 2001-08-16 Juergen Vigna <jug@sad.it>
5380 * insettext.C: implemented the new FINISHED states.
5382 * insettabular.C: ditto
5384 * inset.h: added more FINISHED states for cursor right,up,down
5386 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5388 * insetfloatlist.C: use "FloatName List"
5390 2001-08-14 Juergen Vigna <jug@sad.it>
5392 * insetert.C (edit): forgot to set status_ in edit calls!
5394 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5396 * insettext.C: Compilation fix
5398 2001-08-13 Juergen Vigna <jug@sad.it>
5400 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5402 * insetcollapsable.C (edit): don't recollapse an already open inset.
5404 * insettext.C: fixed problem when reinitializing LyXText by not doing
5405 it while lt is in use and post this to the next possible time in
5407 (searchForward): fixed not unlocking of inset if nothing found.
5408 (edit): set cursor behind right (was set -1 pos).
5410 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5412 * insettabular.C (tabularFeatures): fixed fix where deleting the
5413 last row didn't get the right actcell!
5415 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5417 * insettext.C (localDispatch): Change language only when the inset
5420 2001-08-10 Juergen Vigna <jug@sad.it>
5422 * insettabular.C (selectNextWordInt): use the front using edit call.
5424 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5425 the parameter overwrite class variable inset.
5427 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5429 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5430 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5432 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5433 update only for fixed with cells.
5434 (resetPos): try to fix the lockup on spellchecking or s&r.
5436 * insettext.C (update): comment this out as it seems first wrong
5437 and second not needed anymore!
5438 (some functions): call reinitLyXText() only in update() in all other
5439 positions set only need_update = INIT.
5441 2001-08-08 Juergen Vigna <jug@sad.it>
5443 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5445 * insettext.C (insetUnlock): remove double-space on inset unlock.
5447 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5449 * insettabular.C (update): fixed cursor positon after an insert.
5450 (insetAllowed): do not allow to insert insets when not inside the
5452 (draw): clear below an inset too as it could have changed height.
5454 * inset.C (getMaxWidth): fixed width for inset in inset.
5456 * insettext.C (update): small fix.
5458 * insettabular.C (tabularFeatures): added selection support to
5459 DELETE_ROW/DELETE_COLUMN.
5461 2001-08-07 Juergen Vigna <jug@sad.it>
5463 * inset.C (getMaxWidth): recoded and all it's implementations!
5465 * insettext.C (init,setParagraph+constructors): cleanups
5466 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5467 are new and I want do a save/restore of the cursor position which is
5468 not possible anymore.
5470 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5471 (searchBackward): ditto
5472 (selectNextWord): ditto
5474 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5476 * insetlatexaccent.C (checkContents): Add some debug messages
5478 2001-08-07 Juergen Vigna <jug@sad.it>
5480 * insetert.C (read): don't use InsetCollapsable::read as we don't
5481 write the collapsed status anymore only the status.
5484 2001-08-06 Juergen Vigna <jug@sad.it>
5486 * insetert.C (set_latex_font): use LyXText's setFont directly.
5488 * insettext.C (drawFrame): fixed one time more the right position
5489 and size of the frame!
5491 * insetert.C (~InsetERT): hide the dialog.
5492 (showInsetDialog): added implementation
5495 (status): new function for the status of the ERT inset (3-state).
5496 (write): output also the status of the inset for readback!
5497 (read): readback the status if available otherwise use collapsed_.
5499 * insettext.C (edit): small fix of setting the position, which could
5502 * insetert.C (width): implement this function for inlined viewing.
5503 Added minimum width of 10 pixels!
5505 * insetminipage.C (InsetMinipage): just change the colors a bit so
5506 that border/background is a bit more visible. We will remove this
5509 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5510 function for getting the important widths for drawing in various
5511 functions and in LyXText.
5512 (draw): fixed up a bit (frame drawing/clearing)
5514 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5516 * inset.C (convertFont): delete method. not used.
5518 2001-08-03 Juergen Vigna <jug@sad.it>
5520 * insettext.C (setFont): don't call for a draw update if we're just
5521 changing the cursor font!
5523 2001-08-02 Juergen Vigna <jug@sad.it>
5525 * insettext.C (draw): clear the background with the right color if
5526 needed. Update myself if x&max-width changed and return without doing
5527 anything. Let the update code handle the right stuff.
5529 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5530 inside another inset.
5532 2001-08-01 Juergen Vigna <jug@sad.it>
5534 * insetcollapsable.C (update): added an in_update bool so we avoid
5537 * insettabular.C (update): added an in_update bool so we avoid
5540 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5542 (update): added an in_update bool so we avoid reentering.
5544 * insettabular.C (localDispatch): clear col/row selection when doing
5545 something else inside an inset.
5547 * insettext.C (getLyXText): fixed bug when requesting a recursive
5550 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5552 * insetcite.C (latex): Paranoia check. Make sure that there is no
5553 whitespace between the citation keys.
5555 2001-07-31 Juergen Vigna <jug@sad.it>
5557 * inset.h (nodraw): make the set function also const so that this
5558 can be called from inside other const functions.
5560 * insetcollapsable.h: removed inline variable and moved it over
5561 to the only user InsetERT.
5563 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5564 inset opening immediately therein lying insets dialogs!
5566 * insetert.C (localDispatch): set the font also if we don't have any
5567 chars in this paragraph, otherwise if we delete all of em and start
5568 writing we have the wrong font.
5570 (draw): implemented for inline support
5571 (insetButtonRelease): ditto.
5573 2001-07-30 Juergen Vigna <jug@sad.it>
5575 * insettext.C (reinitLyXText): new function to reinit the insets
5576 text after lot's of paragraph changes. Use this instead of the
5577 cache.clear() which is VERY dangerous.
5579 * insetfloat.C (insetButtonRelease): we should only show the dialog
5580 if we press on the label otherwise we have problems to open mouse
5581 button 3 dialogs inside this float (f.ex. of a tabular!)
5583 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5585 * insetert.C: change back to "ERT"
5587 * insetfloat.C: handliign of RMB on label added.
5589 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5591 * insetgraphicsParams.C: #include LOstream.h here.
5593 * insetfoot.h: remove InsetFoot:: qualifier.
5595 2001-07-29 Baruch Even <baruch@lyx.org>
5597 * ChangeLog: Hiding time travel evidence.
5599 * insetgraphicsParams.h:
5600 * insetgraphicsParams.C:
5601 * insetgraphics.C: Added horizontal scale option, it actually scales both
5602 directions since it keeps image proportions.
5604 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5606 2001-07-29 Baruch Even <baruch@lyx.org>
5608 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5609 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5611 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5613 2001-07-29 Baruch Even <baruch@lyx.org>
5615 * insetgraphics.C: Added EPSI to be an alias of EPS.
5617 2001-07-29 Baruch Even <baruch@lyx.org>
5619 * insetgraphics.C: Change GRAPHICS to Graphics.
5620 Changed image conversion rules (documented at the beginning of file).
5622 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5624 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5627 * insetgraphics.C: added a using std::endl directive.
5629 * insetcommand.h (getScreenLabel): removed pure virtual function,
5630 as it duplicates that in InsetButton.
5632 * insetbib.[Ch] (getScreenLabel):
5633 * insetbutton.[Ch] (getScreenLabel):
5634 * insetcite.[Ch] (getScreenLabel):
5635 * insetert.[Ch] (getScreenLabel):
5636 * insetexternal.[Ch] (getScreenLabel):
5637 * insetfloatlist.[Ch] (getScreenLabel):
5638 * insetinclude.[Ch] (getScreenLabel):
5639 * insetindex.[Ch] (getScreenLabel):
5640 * insetlabel.h (getScreenLabel):
5641 * insetparent.[Ch] (getScreenLabel):
5642 * insetref.[Ch] (getScreenLabel):
5643 * insettoc.[Ch] (getScreenLabel):
5644 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5646 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5648 (validate): remove check on "cite" when using natbib.
5650 2001-07-26 Baruch Even <baruch@lyx.org>
5652 * insetgraphics.C (draw): changed casting to be in one place rather than
5653 all over the function.
5656 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5658 * insetgraphicsParams.h:
5659 * insetgraphicsParams.C:
5660 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5662 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5664 * insetfoot.C (validate): Added method to ensure that the
5665 right bit of LaTeX is emitted.
5667 * insetfoot.h: Added validate method to set the correct
5668 LaTeXFeatures bit for the special footnote code.
5670 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5672 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5675 2001-07-27 Juergen Vigna <jug@sad.it>
5677 * inset.h: remove not used font variable in parameter.
5678 removed checkInsertChar in UpdatableInset as it was equal to
5679 the one in Inset and so not needed.
5681 * insetert.C (checkInsertChar): implementation of function
5684 * inset.h: added new function checkInsertChar.
5686 * various files: added c-tor and clone() function.
5688 * insetcollapsable.h: removed clone function here as this should
5689 be only realized in REAL insets and added it to all collapsable
5690 insets! (with the copy-constructor).
5692 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5694 * insetminipage.C (read): handle missing parameters more gracefully
5696 * insetcollapsable.C (read): handel missing collapsed more gracefully
5698 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5700 * insetfloat.C (read): handle missing parameters.
5702 * insettext.C (read): handle old latex end_inset
5704 * insetert.C (setButtonLabel): new method
5705 (init): use it, to set the dynamic label correctly
5708 * Makefile.am (EXTRA_DIST): add files that is not part or the
5711 * insetcollapsable.h: remove autocollapsable (no users), remove
5712 draw_label, change_label_with_text and companion code. Remove args
5714 * insetert.[Ch]: move here instead (only user)
5716 * inset.h: rename private variable name to name_, make
5717 selectNextWord return a const string. make getInsetName return a
5718 string const &. Remove bool from open, add close.
5720 * Makefile.am: don't compile insetlist, insetsection
5723 2001-07-24 Juergen Vigna <jug@sad.it>
5725 * insetert.C (InsetERT): put init after the paragraph initialization,
5726 as otherwise we don't set the draw_label right.
5728 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5729 insets with the mouse without having strange selections.
5730 (edit): if the inset was collapsed and we open it here then put the
5731 cursor always at the beginning of the inset.
5732 (get_new_label): 15 instead of 10 max chars in the label.
5734 * insetert.C (localDispatch): added and handle various stuff we
5735 need to handle here (font setting on paragraph break, not permitted
5736 layout setting, etc.).
5738 * inset.h: added default copy-consturctor and implemented this in
5739 various insets with the change to use this in the clone function!
5741 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5743 * insetminipage.C (InsetMinipage): set background color to red :)
5745 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5747 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5748 draw frame mode is LOCKED.
5750 * insetcollapsable.C (edit):
5751 (insetButtonRelease): set update status to full when
5754 * insettext.C (clearInset):
5755 * insettabular.C (draw):
5756 * insetlatexaccent.C (draw): honor background color.
5758 * inset.h: new member background_color_, initialized to
5761 * inset.C (backgroundColor): new method.
5762 (setBackgroundColor): new method.
5764 * insetert.C (init): new method, called by the ctors.
5765 (InsetERT): when inserting contents, make sure the font is
5768 * insetnote.C (InsetNote): when inserting content, remove trailing
5770 (init): set background color to LColor::note
5772 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5774 * insetcollapsable.C: adjust
5776 * insetbutton.C: adjust
5778 2001-07-23 Juergen Vigna <jug@sad.it>
5780 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5781 parameter on the _collapsed function (was not needed) and call
5782 always width_collapsed().
5784 * insetert.C (InsetERT): use setLabel with "true" flag.
5786 * insetcollapsable.C: modified various functions to set the draw_label
5787 string right in any condition.
5788 (setLabel): added a bool parameter to set change_label_with_text.
5790 * insetcollapsable.h: added draw_label string which is set to the
5791 actual drawn label-string, while label is the original static label
5792 of this collapsable inset. Added bool change_label_with_text to set
5793 if we want that the label changes to the start of the InsetText's
5794 text when collabpsed. You can set this flag with the setLabel funciton.
5795 Added bool inlined for inlined collapsable insets, but not handled
5798 * insetcollapsable.C (get_new_label): added should get a new label
5799 from the InsetText beginning (for now 10 chars).
5801 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5803 * insetquotes.C (latex): fix the handling of french double quotes
5804 when not using the french pachage.
5806 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5808 * insetcollapsable.h: make WidthCollapsed mutable.
5810 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5811 InsetPrintIndex returns INDEX_PRINT_CODE.
5813 * inset.h: add INDEX_PRINT_CODE
5815 * insetcollapsable.C (draw): init widthCollapsed if necessary
5818 * insetquotes.C (width): use the local language, not the document
5821 (dispString): add additional spacing for all french languages,
5823 (validate): make it work when there is no default language
5825 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5827 * insetnote.C (init): new method, called by the constructors
5828 (InsetNote): new constructor with contents passed as a string
5830 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5832 * insetfootlike.C (insetAllowed): disallow float in footlike.
5834 * insetert.C (InsetERT): add collapsed argument to the constrctor
5837 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5839 * insetindex.h: shut off warning
5841 2001-07-20 Juergen Vigna <jug@sad.it>
5843 * insetcollapsable.C (update): recoded hopefully works now!
5845 2001-07-19 Juergen Vigna <jug@sad.it>
5847 * most files: implemented the below new introduced function.
5849 * inset.h: added new edit(BufferView *, bool front) method to be able
5850 to enter an inset from the front/back without knowing x/y positions
5851 and baselines inside the inset. So I just can tell the inset activate
5852 me and set the cursor on the front/back of yourself.
5854 2001-07-18 Juergen Vigna <jug@sad.it>
5856 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5857 is given to the InsetText.
5858 (insetButtonPress): ditto
5859 (insetButtonRelease): ditto
5860 (insetMotionNotify): ditto
5862 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5864 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5865 LIGATURE_BREAK, since the name is so stupid.
5867 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5869 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5870 the default InsetCollapsable methods. I.e., it can insert anything.
5871 (write) output the name of the inset, not some silly hack for
5872 compatability with the old InsetInfo.
5874 * insetinfo.[Ch]: removed.
5875 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5876 now collapsable, but functionality is otherwise identical to InsetInfo.
5878 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5880 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5882 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5885 * insetquotes.C: general cleanup
5886 (dispString): add spaces inside french double quotes.
5887 (latex): ditto. Moreover, treat first the case where the frenchb
5888 or french options have been given.
5890 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5892 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5895 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5897 * figinset.C (RegisterFigure): Print debug message only when
5898 current_view is available.
5900 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5902 * many files: update to match the change below
5904 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5905 implement the version which takes an inset here.
5907 * insetcollapsable.[Ch]: implement open and isOpen
5909 * inset.h: remove insertInsetAllowed from Inset
5910 (open): new method, to open or close an inset
5911 (isOpen): returns the status of an inset
5912 (isCollapsable, colapse): removed
5914 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5916 * insetquotes.C (dispString): display french guillemets when using
5919 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5921 * insetcollapsable.h: remove bogus return statements
5923 2001-07-18 Juergen Vigna <jug@sad.it>
5925 * insettabular.C (selectNextWord): fixed spellchecking for the
5926 first cell of a tabular (wasn't entered!)
5927 (getLyXText): changed to enter automatically insettext and return
5928 it's LyXText if we're locked.
5930 2001-07-17 Juergen Vigna <jug@sad.it>
5932 * various files: implemented the below functions.
5934 * inset.h: added functions
5935 - virtual string selectNextWord(BufferView *, float & value) const;
5936 - virtual void selectSelectedWord(BufferView *) { return; }
5937 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5938 needed for spellchecking correctly!
5940 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5942 * insetert.C (latex): write out all paragraphs.
5944 2001-07-17 Baruch Even <baruch@lyx.org>
5946 * insetgraphics.C (draw): Removed unneeded casts.
5948 2001-07-16 Juergen Vigna <jug@sad.it>
5950 * insettext.C (update): fixed small oversight (reset lt to 0).
5952 2001-07-14 Baruch Even <baruch@lyx.org>
5955 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5957 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5959 Consistent use of Lsstream.h:
5960 * figinset.C: removed using std::ostringstream directive.
5962 * insetgraphics.C (createLatexOptions):
5963 * insetinclude.C (unique_id):
5964 std::ostringstream -> ostringstream.
5965 * insettext.C (localDispatch): std::istringstream -> istringstream.
5967 2001-07-13 Juergen Vigna <jug@sad.it>
5969 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5971 * insetcollapsable.C (getLockingInset): ditto.
5973 2001-07-12 Juergen Vigna <jug@sad.it>
5975 * insetcollapsable.h: added implementation of new function for
5978 * various files: added implementation of new insertInsetAllowed-func
5979 and redone the function a bit more.
5981 * inset.h: added isCollapsable(), bool collapsed(),
5982 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5984 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5986 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5987 LyXText which is marked for removal while we're using it!
5989 * insettext.h: added private LyXText * lt to use it to assure we are
5990 not deleting our LyXText while we're using it!
5992 2001-07-11 Juergen Vigna <jug@sad.it>
5994 * insettext.C (insertInset): check if we are before the inset after
5995 inserting it! This check IS needed. Remove the Undo-Call as it is
5996 called in LyXText::insertInset!
5998 * insettext.h: added struct InnerCache.
6000 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6001 that we ONLY delete the LyXText in the getLyXText() routine. So we
6002 are sure we don't delete LyXText while someone is working with it!
6004 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6006 * insetexternal.C: (*it). -> it->
6007 * insettext.C: ditto
6009 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6011 * insetcollapsable.C (edit): always open collapsed insets (even if
6012 they are not autocollapsable)
6014 * insetcommand.C (operator=): simplify.
6016 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6018 * insetert.C (latex): handle META_NEWLINE
6020 2001-07-09 Juergen Vigna <jug@sad.it>
6022 * insetert.h: a normal InsetText can insert insets, but we won't.
6024 * inset.h: return default "false" on insertInsetAllowed and implement
6025 this function where a returnvalue != "false" is needed.
6027 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6029 * insetert.C (InsetERT): new contructor
6031 2001-07-06 Juergen Vigna <jug@sad.it>
6033 * a lot of files: added implementation of the below new functions
6034 and the change to clone(). Also the call of the new undo-functions
6037 * inset.h: added an inset_id, added functions getParFromID,
6038 getInsetFromID, firstParagraph, cursor and id functions, added
6039 bool same_ids to clone function.
6041 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6043 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6044 of BufferView * and shared_ptr<LyXText>
6046 2001-07-05 Juergen Vigna <jug@sad.it>
6048 * insettext.C (clear): deleted also the cache not only LyXText.
6049 (setParagraphData): ditto.
6051 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6053 * insetfloat.C (latex): let the specific placement take presedence
6054 if set, otherwise choose document placement if set, otherwise just
6055 use float default placement.
6057 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6059 * insettext.C (localDispatch): call CutAndPaste::'s static method
6062 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6064 * insetbib.C: no meed to include forms.h here.
6066 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6068 * insettext.C: added using std::make_pair directive.
6070 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6072 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6074 (deleteLyXText): ditto
6075 (resizeLyXText): ditto
6077 2001-07-02 Juergen Vigna <jug@sad.it>
6079 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6080 following calls are only returned the right pointer without the over
6081 head to search in the map.
6082 (various funcs): reset the cached_bview variable as this signs that
6083 the cache is not valid anymore.
6085 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6087 * insettabular.C (clone): do not copy the LyXTabular twice
6089 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6091 * insettext.h (TEXT): delete method
6093 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6095 * insetmarginal.C (latex):
6096 * insetfoot.C (latex): fix spacing of notes in LaTeX
6098 * insettext.C (localDispatch): use .c_str() on istringstream
6099 constructor argument.
6101 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6106 * inseturl.C: fix method names in these to begin
6107 with small char too, so they inherit
6109 2001-06-28 Juergen Vigna <jug@sad.it>
6111 * insettext.C (setFont): fixed font settings using toggleFree()
6112 instead of setFont().
6114 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6116 * Change a lot of method names to begin with a small char.
6117 Changes to a lot of files because of this.
6119 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6121 * insetfloatlist.C (Write): std:: qualify ostream
6124 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6128 * insetgraphics.C: send debug output to Debug::INFO instead of
6131 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6134 * insettabular.C (getStatus): update to use func_status
6136 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6138 * insetref.C (DocBook): added support for cross-references without
6141 2001-06-26 The LyX Project <jug@sad.it>
6146 * insetlabel.h: removed escape method and moved it to
6149 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6151 * insettabular.C (getMaxWidth): do the speedup in a different way,
6154 2001-06-24 The LyX Project <Asger>
6156 * insettabular.C (getMaxWidth): We cache a mapping from
6157 inset to cell in order to speed this method up.
6159 2001-06-24 The LyX Project <Asger>
6161 * insettext.C: Optimized InsetText::draw or something.
6163 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6165 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6167 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6169 * inset.h: name change from lyxinset.h
6171 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6173 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6175 2001-06-14 Juergen Vigna <jug@sad.it>
6177 * insettext.C (draw): removed warnings.
6179 2001-06-13 Juergen Vigna <jug@sad.it>
6181 * insettabular.C (nodraw): only go down the tree if we don't have
6182 that flag set otherwise it's obvious that we don't want to draw.
6183 (LocalDispatch): do also an update if we have an undispached result.
6185 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6188 * insetgraphicsParams.C:
6189 * insettext.C: removed // -*- C++ -*- as first line.
6191 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6193 * lyxinset.h (resizeLyXText): shut off warning about unused
6196 2001-06-07 Juergen Vigna <jug@sad.it>
6198 * insettext.C (resizeLyXText): honor the new force flag.
6200 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6202 * insettabular.C (deleteLyXText): new function
6204 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6212 * insetcollapsable.C:
6213 * insetcaption.C: LColor tidy
6215 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6217 * figinset.C: fix typo
6219 2001-06-01 Juergen Vigna <jug@sad.it>
6221 * insettabular.C (resetPos): small hack so that scroll is not set to
6222 0 when we are in the last column of a tabular. This is a problem we
6223 have because of constats 20 offset on both directions, so this can
6224 cause on the limit an endless loop.
6226 * insettext.C (SetFont): forgot that we can have locking insets ;)
6228 2001-05-31 Juergen Vigna <jug@sad.it>
6230 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6232 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6234 * figinset.C: add using std:: directive for the C functions which
6237 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6239 * insetfloat.C (Write): write out wide info
6240 (Read): read the wide info
6241 (Latex): use the wide info when creating latex.
6243 * insettext.C: adjust
6245 * insetgraphics.[Ch] (statusMessage): change to return string
6249 * figinset.C (runqueue): add std::
6252 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6254 * insetcite.C (Ascii): add std:: qualifier
6256 2001-05-28 Juergen Vigna <jug@sad.it>
6258 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6259 a endless-width inset (maxWidth < 0).
6260 (Edit): change language only if not equal.
6262 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6264 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6266 2001-05-16 Juergen Vigna <jug@sad.it>
6268 * insettext.C (selectAll): added
6269 (clearSelection): added
6271 * insettabular.C (SetFont): now we may set a font on a whole selection!
6272 (getSelection): added helper function.
6274 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6276 * insetcite.C (Ascii): Add method.
6278 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6281 * insetbib.C: fix path for OS/2 & Win32
6283 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6285 * insetfoot.C (Latex): don't use % after footnote.
6287 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6289 * insettext.C (Read): use clear
6290 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6292 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6294 * insetfloatlist.h: add a bunch of std:: qualifiers.
6296 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6298 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6299 FLOAT_LIST_CODE, renumber code list.
6301 * insettoc.C (getScreenLabel): remove support for float lists
6305 * insetfloatlist.[Ch]: new files
6307 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6309 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6311 * insettabular.C (LocalDispatch):
6312 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6315 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6317 * insettext.C: remvoe !NEW_INSETS cruft
6319 * insettabular.C: remove !NEW_INSETS cruft
6321 * insetcollapsable.h: remove !NEW_INSETS cruft
6323 * insetbib.C: remove !NEW_INSETS cruft
6325 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6327 * insettoc.C: hack to make listof algorithm work
6329 2001-04-20 Juergen Vigna <jug@sad.it>
6331 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6333 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6335 * insetquotes.C (Latex): improve the guard against
6336 unwanted !` and ?` ligatures. This should really be done in
6337 another place (to catch all this ligatures at low-level).
6339 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6341 * insettext.C (init): remvoe leftovers from cursor_visible change
6342 (draw): use c++ cast
6343 (LocalDispatch): dispatch LFUN_MESSAGE
6345 * insettabular.C (InsetTabular): remove leftovers from
6346 cursor_visible, and scoped_ptr changes
6347 (draw): use c++ cast
6349 * insetcollapsable.C (draw): use c++ cast
6351 * ExternalTemplate.h: inherit privaely from noncopyable
6352 * insetcommand.h: ditto
6353 * insetinclude.h: ditto
6355 2001-04-16 Allan Rae <rae@lyx.org>
6357 * insettoc.C (Ascii):
6358 * insettext.C (draw):
6359 * insettabular.C (setPos):
6360 * insetminipage.C (Read):
6361 * insetfloat.C (placement):
6362 * insetcaption.C (Ascii, DocBook):
6363 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6364 an unrecognised preprocessor directive. So ensure they're wrapped.
6366 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6369 * insetexternal.C: set view on Clone. Add _ to private members.
6371 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6373 * insettext.C (InsetText): fix new
6374 (InsetText): reindent some, simplify deletion of par list
6375 (clear): simplify deletion of par list, fix new
6376 (SetParagraphData): simplify deletion of par list
6378 * insettabular.[Ch] (getLabelList): implement new method
6380 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6382 * lyxinset.h: do not include gettext.h...
6390 * insetlatexaccent.C:
6394 * inseturl.C: ... and do it here instead
6396 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6398 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6400 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6402 * insetcollapsable.[Ch] (getLabelList): implement
6404 * insettext.[Ch] (getLabelList): implement
6406 * insettext.h: reindent
6408 * insettabular.h: make tabular a scoped_ptr
6410 * insettext.C (init): adjust for cursor_visible
6411 (ToggleInsetCursor): constify asc and desc, font, adjust for
6413 (ShowInsetCursor): constify asc and desc, font, adjust for
6415 (HideInsetCursor): adjust for cursor_visible
6417 * insettabular.C: reindent some
6418 (InsetTabular): adjust for scoped_ptr and cursor_visible
6419 (InsetTabular): ditto
6420 (~InsetTabular): delete delete
6421 (Clone): adjust for scoped_ptr
6422 (Read): constify old_format, adjust for scoped_ptr, move init of
6424 (draw): constify tx, localize loop vars.
6425 some other localization of variables, remove double initilizatons.
6427 * insetfoot.C: remove using std::ostream, add ostream where needed
6429 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6431 * lyxinset.h: some reindentaion, use initializer list for
6433 UpdatableInset: make cursor_visible a private var add
6434 public isCursorVisible(), add protected toggleCursorVisible() and
6435 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6437 * insettoc.C: remvoe using decl
6438 (getScreenLabel): make cmdname donst
6441 (Ascii): don't use endl
6443 * insetfootlike.C: remove using decl at file scope and add std::
6445 * insetmarginal.C: ditto
6447 * insetfoot.C: some reformatting
6449 * insetfloat.C (InsetButtonRelease): adjust the hit area
6451 * insetert.C (SetFont): some reformatting
6453 * insetcollapsable.C: some reformatting and constification
6454 (Clone): comment out.
6455 * insetcollapsable.h: some reformatting
6456 (Clone): comment out.
6461 2001-03-30 Juergen Vigna <jug@sad.it>
6463 * insetcollapsable.h: changen *inset to be a InsetText inset.
6465 * some files: changed to reflect the above change.
6467 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6469 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6470 InsetExternal::Params.
6471 Added operator==() and operator!=() for the Params struct.
6473 2001-03-29 Juergen Vigna <jug@sad.it>
6475 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6478 * insetminipage.C: removed widthp_ and all it's functions and changed
6479 to use new %-lengths of LyXLength.
6481 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6483 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6485 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6487 * insetgraphicsParams.C (operator!=): new function, needed by the
6488 ControlGraphics class.
6490 2001-03-28 Juergen Vigna <jug@sad.it>
6492 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6493 (checkAndActivateInset): don't use the values returned from
6494 call to bv->checkInsetHit.
6496 * insetminipage.C (Clone): set special minipage values.
6498 * insetcollapsable.C (draw): changed to draw the button in the
6499 upper left corner outside the textinset.
6500 (ascent): changed because of different drawing
6504 (InsetButtonPress): ditto
6505 (InsetButtonRelease): ditto
6506 (InsetMotionNotify): ditto
6508 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6510 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6514 2001-03-26 Juergen Vigna <jug@sad.it>
6516 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6518 * insettext.C (ShowInsetDialog): implemented above function.
6520 * insettabular.C (ShowInsetDialog): ditto
6522 * insetminipage.C (ShowInsetDialog): ditto
6524 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6526 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6527 InsetInclude::Params. Don't store a buffer * in Params. Store the
6528 master file name instead.
6530 2001-03-23 Juergen Vigna <jug@sad.it>
6532 * insetcollapsable.C (InsetMotionNotify):
6533 (InsetButtonRelease):
6534 (InsetButtonPress): fixed y-offset (minipages).
6536 * insettext.C (draw): force a FULL update if cleared == true.
6538 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6539 routine to draw the minipages on its position-flag.
6540 (InsetInInsetY): give back the right y position, because of minipage
6543 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6546 * insetfloat.C (DocBook): docbook export code.
6548 2001-03-22 Juergen Vigna <jug@sad.it>
6550 * insetminipage.C (getMaxWidth): added function to set the drawing
6552 (Read): should work now!
6554 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6555 if we create a new inset.
6557 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6559 * figinset.C (fl_set_preemptive_callback): moved definition outside
6562 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6564 * insetminipage.C (Read): prepare for reading of minipage arguments.
6566 2001-03-18 Baruch Even <baruch@lyx.org>
6568 * insetgraphics.C: Minor cleanups of the comments and code.
6570 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6572 * insetminipage.C (InsetMinipage): default to not collapsed
6574 2001-03-16 Juergen Vigna <jug@sad.it>
6576 * insetminipage.C (width): modified with to be a string
6577 (widthp): added widthp (for % width) support functions.
6578 (InsetButtonRelease): added to open the options dialog on button==3.
6579 (~InsetMinipage): added to hide the dialog.
6581 * insetminipage.h: added hideDialog signal
6583 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6585 * insetminipage.h: change the order or Position to match
6586 LyXParagraph::MINIPAGE_ALIGNMENT
6588 * several files: remvoe CXX_WORKING_NAMESPACES
6590 * ExternalTemplate.h: noncopyable is in namespace boost
6591 * insetinclude.h: ditto
6592 * insetcommand.h: ditto
6594 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6596 * insettext.C (Edit): #else# -> #else.
6597 * insettoc.C: added using directive.
6599 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6601 * insetminipage.h: add pos, inner_pos, width and height. + getters
6602 and setters for all of them.
6604 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6606 * insetinclude.C (Latex): Do not exit when the textclass of the
6607 included file differ from the textclass of the parent file.
6609 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6611 * ExternalTemplate.C (read): the reading of external insets now checks
6612 for \end_inset and removes it form the input stream.
6614 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6616 * ExternalTemplate.h:
6617 * ExternalTemplate.C:
6619 * insetexternal.C: move form to GUII
6621 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6624 * insetinclude.C: add InsetIncludeParams, use
6625 composition rather than derivation of InsetCommand
6627 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6629 * insettoc.C (Ascii): use the Buffer typedefs
6631 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6633 * insettoc.C (Ascii): implement for dynamic number of lists
6635 * insetcaption.[Ch]: update from new_insets branch
6636 * insetfloat.[Ch]: ditto
6638 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6641 * figinset.C: use new File Dialog
6643 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6645 * insettext.C: changes becuase of ParagraphParameters.
6647 2001-02-28 Baruch Even <baruch@ev-en.org>
6649 * insetgraphics.C (updateInset): Changed due to the change in
6652 2001-02-26 Juergen Vigna <jug@sad.it>
6654 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6655 handled in LyXText).
6657 2001-02-23 Juergen Vigna <jug@sad.it>
6659 * insettext.C (draw): some small repainting fixes.
6660 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6662 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6663 should be) and not an int.
6665 * insettabular.C (LocalDispatch): ditto
6667 * insettext.C (LocalDispatch): ditto
6669 * insetcollapsable.C (LocalDispatch): ditto
6671 2001-02-22 Juergen Vigna <jug@sad.it>
6673 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6674 DISPATCH it and we don't have a locking_inset.
6676 2001-02-21 Baruch Even <baruch@ev-en.org>
6678 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6679 instead of GraphicsCacheItem *.
6681 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6683 * insetcollapsable.C (getLyXText): add const qualifier to second
6686 2001-02-22 Juergen Vigna <jug@sad.it>
6688 * insettext.C (getLyXText): honor the recursive parameter.
6689 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6691 * inset.C (getLyXText): added bool recursive parameter.
6693 * insettext.C (SetUpdateStatus): or the update codes.
6694 (draw): check need_update with &.
6695 (InsetButtonPress): set no_selection to not put a selection when
6696 entering an inset and it is redraws in another spot.
6698 * insettext.h: made need_update an int.
6700 2001-02-20 Baruch Even <baruch@ev-en.org>
6703 * insetgraphisc.C: Changed to use better semantics when loading images
6704 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6706 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6710 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6711 consistent with InsetTabular.
6713 2001-02-19 Juergen Vigna <jug@sad.it>
6715 * insettabular.C (LocalDispatch): implement PAGE up/down.
6717 * insettext.C (draw): clear all of it on need_update==INIT too!
6719 * insettabular.C (InsetUnlock): always clear the selection.
6721 * inset.C (scroll): normally we only want to scroll the inset until
6722 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6724 2001-02-14 Juergen Vigna <jug@sad.it>
6726 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6727 (resetPos): fixed scroll behaviour.
6728 (LocalDispatch): do an update if moving cursor inside a table cell
6729 requests a scroll of the tabular.
6731 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6733 * insettext.C (textWidth): constify local var
6735 * insettabular.C: small cleanup.
6737 * insetfoot.C (Latex): constify local var
6739 * insetcollapsable.C: small cleanup.
6741 * figinset.C (runqueue): use compare instead of strcmp
6743 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6746 * insetinfo.C: remove cruft
6748 2001-02-14 Juergen Vigna <jug@sad.it>
6750 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6752 2001-02-13 Juergen Vigna <jug@sad.it>
6754 * insettext.C (InsertInset): don't move left (is this right?)
6756 * insettabular.C (LocalDispatch): use of the no_draw variable
6758 * insettabular.h: new no_draw variable to stop redraw
6760 * insettabular.C (TabularFeatures): fixed update for alignment change
6762 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6766 * insetbib.C: move dialogs to frontends/
6768 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6770 * insettext.C (LocalDispatch): Restore the language if the inset
6773 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6775 * insettext.C (moveRightIntern): Update the selection cursor.
6776 (moveLeftIntern): Ditto.
6778 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6780 * Makefile.am: remove BoundingBox.h
6782 * BoundingBox.h: removed
6784 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6786 * insettext.C (LocalDispatch): Update selection cursor when moving
6787 cursor to the right.
6788 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6789 (moveLeftIntern): Ditto.
6791 2001-02-05 Baruch Even <baruch.even@writeme.com>
6793 * insetgraphics.C: Updated automatic image conversion, it now goes into
6794 temporary directory instead of with the image itself.
6796 2001-01-21 Baruch Even <baruch@ev-en.org>
6798 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6799 to EPS or PNG when needed (support bitmap graphics).
6801 2000-11-02 Baruch Even <baruch@ev-en.org>
6804 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6805 and removal of commented out code.
6807 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6809 * insetbib.C (callback): Update citations if the key has changed.
6811 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6813 * insetbib.C (InsetBibKey): Better computation of default key.
6814 (getScreenLabel) Show both the key and the label.
6815 (getBibLabel): New method.
6816 (callback): Force a redraw if the inset have been changed.
6818 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6820 * insetref.C (getType, getName): Move methods from
6821 src/frontends/xforms/FormRef.C.
6823 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6825 * insettabular.C: Various improvements (use only one dummy position).
6827 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6829 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6830 par->bibkey->width. This fixes the crashes when running without
6831 gui or when having included documents.
6833 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6835 * insetcommand.C (getAsString, setFromString): Cleanup.
6837 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6839 * insetref.C: Add the array InsetRef::types that contains
6840 information about all supported reference types.
6842 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6844 * lyxinset.h: remove trailing comma in enum.
6846 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6848 * insettext.C: kill LyXBell.