1 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * insetnote.C (InsetNoteParams::write): write label only once
5 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
7 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
9 get rid of the SameName functor
11 * insettabular.C: improve the functor.
13 2003-12-29 Angus Leeming <leeming@lyx.org>
15 * insetexternal.C (setParams): update defaultTemplateName.
17 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
19 * insetbox.C: Use term "Box" in button label
21 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
23 * insetcharstyle.C: get getDrawFont working again
25 2003-12-15 André Pönitz <poenitz@gmx.net>
28 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
30 2003-12-12 Angus Leeming <leeming@lyx.org>
32 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
34 (InsetBranchParams): remove the branchlist hack.
35 (isBranchSelected): new function, used to decide whether to
36 print each output format. Also used by InsetList.
37 (read, string2params): repair my own breakage ;-)
39 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
41 * insetminipage.[Ch]: remove from repository.
43 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
46 * insetcollapsable.[Ch]: Move all CollapseStatus code from
47 insetert to insetcollapsable; introduce virtual function
48 setButtonLabel and invoke it from collapsable
50 2003-12-12 Angus Leeming <leeming@lyx.org>
52 * insetinclude.C (draw): cache x,y and so enable the
55 2003-12-12 Angus Leeming <leeming@lyx.org>
57 * mailinset.C (print_mailer_error): tidy up the output.
59 2003-12-11 Angus Leeming <leeming@lyx.org>
61 * mailinset.[Ch] (print_mailer_error): new helper function.
63 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
64 calling InsetCommandMailer.
65 (InsetCommandMailer::string2params): pass the name of the dialog.
67 * insetbibitem.[Ch] (d-tor):
68 * insetbibtex.[Ch] (d-tor):
69 * insetcite.[Ch] (d-tor):
70 * insetfloatlist.[Ch] (d-tor):
71 * insetindex.[Ch] (d-tor):
72 * insetlabel.[Ch] (d-tor):
73 * insetref.[Ch] (d-tor):
74 * insettoc.[Ch] (d-tor):
75 * inseturl.[Ch] (d-tor): removed.
76 Hiding the dialog is handled by InsetCommand.
78 * insetbibtex.[Ch] (draw, metrics):
79 * insetfloatlist.[Ch] (draw, metrics):
80 * insetindex.[Ch] (draw, metrics): removed.
81 Drawing is handled by InsetCommand.
83 * insetbibitem.[Ch] (priv_dispatch):
84 * insetbibtex.[Ch] (priv_dispatch):
85 * insetcite.[Ch] (priv_dispatch):
86 * insetfloatlist.[Ch] (priv_dispatch):
87 * insetindex.[Ch] (priv_dispatch):
88 * insetlabel.[Ch] (priv_dispatch):
89 * insettoc.[Ch] (priv_dispatch):
90 * inseturl.[Ch] (priv_dispatch): removed or simplified.
91 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
92 LFUN_INSET_DIALOG_SHOW.
94 * insetbox.C (string2params):
95 * insetbranch.C (string2params):
96 * insetert.C (string2params):
97 * insetexternal.C (string2params):
98 * insetfloat.C (string2params):
99 * insetinclude.C (string2params):
100 * insetminipage.C (string2params):
101 * insetnote.C (string2params):
102 * insetvspace.C (string2params):
103 * insetwrap.C (string2params): over-hauled.
105 2003-12-10 Angus Leeming <leeming@lyx.org>
107 * insetexternal.[Ch]: add a draft option and respect it when
110 2003-12-10 Angus Leeming <leeming@lyx.org>
112 * insetbox.C: (read, write): now prepend the inset contents with
113 'Box' to identify the inset as a box inset.
115 * insetbox.h: move the translators out of sight.
117 2003-12-10 Angus Leeming <leeming@lyx.org>
119 * insetert.C (string2params): clean-up using the new lyxlex interface.
121 * insetexternal.C: ensure that InsetExternalParams has a default
122 template, 'RasterImage'.
124 2003-12-10 Angus Leeming <leeming@lyx.org>
126 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
127 to an enum. Ensuing clean-ups through out the class.
128 (read, write): now prepend the inset contents with 'Note' to identify
129 the inset as a note inset.
131 2003-12-10 Angus Leeming <leeming@lyx.org>
133 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
134 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
136 2003-12-10 André Pönitz <poenitz@gmx.net>
141 * insettext.[Ch]: remove unused insetInset()
143 * insetert.C: disable some LFUNs
145 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
147 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
149 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
151 2003-12-04 Angus Leeming <leeming@lyx.org>
153 * insetexternal.C (draw): update the xo_, yo_ cache.
155 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
157 (RotationDataType): new helper struct wrapping the
158 RotationData::OriginType enum.
160 2003-12-03 André Pönitz <poenitz@gmx.net>
162 * inset.h: remove getParagraphs()
164 * insetcollapsable.[Ch]:
168 * insettext.C: use getText() instead of getParagraphs()
170 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
172 * insetert.C: fix label text updating bug
174 2003-12-02 Angus Leeming <leeming@lyx.org>
176 * insetvspace.[Ch] (space): new member function. Make space_ private.
177 (read): use the new, simpler lyxlex syntax.
179 2003-12-01 André Pönitz <poenitz@gmx.net>
181 * insetcollapsable.[Ch]:
182 * insetert.[Ch]: move 'inline' state to InsetCollapsable
184 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
186 * insetvspace.C (read): handle 'end_inset' token.
188 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
190 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
192 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
194 * insetcollapsable.[Ch]:
196 * insetcharstyle.C: place inset content on the button when
199 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
201 * insetvspace.C: remove VSpace::NONE; increase inset width
203 2003-12-01 André Pönitz <poenitz@gmx.net>
205 * insetbase.h: whitespace
207 * inset.[Ch]: remove latexTextWidth
208 make setBackgroundColor virtual
210 * insettext.[Ch]: move ParagraphList member to LyXText
212 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
218 * insetminipage.[Ch]:
220 * insetwrap.[Ch]: adjust paragraphs and background color handling,
222 2003-11-28 Angus Leeming <leeming@lyx.org>
224 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
225 hiding and showing the dialog respectively.
226 (priv_dispatch): also actually update the inset contents.
228 2003-11-28 Angus Leeming <leeming@lyx.org>
230 * insetbox.C (d-tor):
231 * insetbranch.C (d-tor):
232 * insetcite.C (d-tor):
233 * insetfloat.C (d-tor):
234 * insetfloatlist.C (d-tor):
235 * insetinclude.C (d-tor):
236 * insetindex.C (d-tor):
237 simplify the invocation of the Mailer::hideDialog() function.
239 * insetminipage.C (showInsetDialog):
240 simplify the invocation of the Mailer::showialog() function.
242 2003-11-28 André Pönitz <poenitz@gmx.net>
245 * insetvspace.[Ch]: new insets
247 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
249 * insetcharstyle.C: Syntax change for CharStyles
251 2003-11-28 André Pönitz <poenitz@gmx.net>
253 * updatableinset.h: remove insetInInsetY
255 * insetcollapsable.[Ch]:
258 * insettext.[Ch]: adjust
260 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
264 * insetcollapsable.[Ch]:
266 * insettabular.[Ch]: remove setFont
268 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
270 * render_graphic.[Ch]: adjust comments
272 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
274 * insetgraphics.C (draw): cache xo_ & yo_
276 2003-11-24 André Pönitz <poenitz@gmx.net>
278 * insettext.C (setViewCache): don't call LyXText::init() anymore
280 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
283 * insetcollapsable.[Ch]:
284 * insetert.[Ch]: remove bufferview parameter in methods
285 open, close, status, and updateStatus.
287 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
289 * insetcollapsable.[Ch]:
291 * insettext.[Ch] (getCursorDim): squash unused variable
293 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
295 * insettext.C (edit): x0_,y0_ -> xo_,yo_
297 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
299 * insettext.C (draw): sets LyXText absolute coordinates
301 2003-11-20 Angus Leeming <leeming@lyx.org>
303 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
304 about unused parameters.
306 * insetcollapsable.C (open):
307 * insettabular.C (pasteSelection):
308 * insettoc.C (draw): ditto.
310 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
312 * insetcollapsable.C:
314 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
315 remove mouse_x mouse_y etc.
317 2003-11-17 André Pönitz <poenitz@gmx.net>
319 * insettext.[Ch] (cx, cy): remove
321 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
323 2003-11-13 André Pönitz <poenitz@gmx.net>
326 * insetcollapsable.[Ch]:
328 * insettext.[Ch] (deleteLyXText): remove
330 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
332 * insetcollapsable.[Ch] (fitInsetCursor): remove
333 * insettabular.[Ch] (fitInsetCursor): remove
334 * insettext.[Ch] (fitInsetCursor): remove
335 * updatableinset.[Ch] (fitInsetCursor): remove
336 (getCursorDIm): add virtual
338 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
340 * src/insets/Makefile.am:
341 * src/insets/inset.h:
342 * src/insets/insetcharstyle.C:
343 * src/insets/insetcharstyle.h: The Character Style /XML short
346 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
348 * insettext.C: remove all update calls
349 * insetcollapsable.C: remove all update calls
351 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
353 * insettext.C (updateLocal, insertInset, setFont): remove
356 2003-11-10 André Pönitz <poenitz@gmx.net>
358 * inset.h: remove Inset::id_
360 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
363 2003-11-10 André Pönitz <poenitz@gmx.net>
367 * insetcollapsable.[Ch]:
374 * updatableinset.[Ch]: remove inset locking & adjust
376 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
378 * inset.h (allowSpellCheck): add (return true)
379 * insetert.h (allowSpellCheck): add (return false)
381 2003-11-05 José Matos <jamatos@lyx.org>
389 * insetcollapsable.[Ch]:
393 * insetexternal.[Ch]:
395 * insetfloatlist.[Ch]:
397 * insetgraphics.[Ch]:
402 * insetlatexaccent.[Ch]:
405 * insetmarginal.[Ch]:
406 * insetminipage.[Ch]:
410 * insetpagebreak.[Ch]:
414 * insetspecialchar.[Ch]:
420 * insetwrap.[Ch]: rename ascii to plaintext
421 and LatexRunParams to OutputParams.
423 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
425 * insetcollapsable.C (edit): add open() all
426 * insettext.C (edit): add setViewCache call
428 2003-11-04 André Pönitz <poenitz@gmx.net>
430 * inset.h (edit): move locking code from dispatch() to edit()
436 * insetcollapsable.[Ch]:
439 * insetexternal.[Ch]:
440 * insetgraphics.[Ch]:
446 * insettext.[Ch]: adjust
448 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
451 * insetcollapsable.[Ch]:
455 * updatableinset.[Ch]: remove dead search code
457 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
460 * insetcollapsable.[Ch]:
464 * updatableinset.[Ch]: remove dead spellcheck code
466 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
468 * insettabular.C (lockInsetInInset): small fix
470 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
472 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
473 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
474 from here. Be stricter on DispatchResult returned.
476 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
478 * Inset::dispatch's: adjust for new DispatchResult semantics.
480 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
482 * render_base.h: make clone return an auto_ptr
483 * render_button.C (clone): adjust
484 * render_graphic.C (clone): adjust
485 * render_preview.C (clone): adjust
487 * insettheorem.C (clone): return an auto_ptr
489 * insettext.C (priv_dispatch): exception safety
491 * insettabular.C: store the file scope variable paste_tabular in a
492 scoped_ptr, adjust usage.
494 * insetexternal.C (setParams): exception safety
496 * insetbibitem.C (clone): exception safety
498 2003-11-03 André Pönitz <poenitz@gmx.net>
501 * insetcollapsable.[Ch]:
503 * insettext.[Ch]: remove Inset::id and related functions
505 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
507 * insets: adjust for DispatchResult changes.
509 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
511 * insetpagebreak.C: fix screen representation & ascii output.
513 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
518 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
520 2003-10-31 José Matos <jamatos@lyx.org>
522 * inset.h (ascii, linuxdoc, docbook):
523 * insetbox.[Ch] (ascii, linuxdoc, docbook):
524 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
525 * insetcaption.[Ch] (ascii, docbook):
526 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
527 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
528 * insetert.[Ch] (ascii, linuxdoc, docbook):
529 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
530 * insetfloat.[Ch] (linuxdoc, docbook):
531 * insetfloatlist.[Ch] (ascii):
532 * insetfoot.[Ch] (docbook):
533 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
534 * insethfill.[Ch] (ascii, linuxdoc, docbook):
535 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
536 * insetindex.[Ch] (docbook):
537 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
538 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
539 * insetline.[Ch] (ascii, linuxdoc, docbook):
540 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
541 * insetnote.[Ch] (ascii, linuxdoc, docbook):
542 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
543 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
544 * insetref.[Ch] (ascii, linuxdoc, docbook):
545 * insetspace.[Ch] (ascii, linuxdoc, docbook):
546 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
547 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
548 * insettext.[Ch] (ascii, linuxdoc, docbook):
549 * insettoc.[Ch] (ascii, linuxdoc, docbook):
550 * inseturl.[Ch] (ascii, linuxdoc, docbook):
551 * insetwrap.[Ch] (docbook):
552 add LatexRunParams argument.
554 2003-10-30 José Matos <jamatos@lyx.org>
556 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
558 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
560 * updatableinset.C (priv_dispatch):
561 * insetwrap.C (priv_dispatch):
562 * inseturl.C (priv_dispatch):
563 * insettoc.C (priv_dispatch):
564 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
565 (moveLeftIntern, moveUp, moveDown):
566 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
567 (moveLeft, moveUp, moveDown):
568 * insetref.C (priv_dispatch):
569 * insetnote.C (priv_dispatch):
570 * insetminipage.C (priv_dispatch):
571 * insetlabel.C (priv_dispatch):
572 * insetindex.C (priv_dispatch):
573 * insetinclude.C (priv_dispatch):
574 * insetgraphics.C (priv_dispatch):
575 * insetfloatlist.C (priv_dispatch):
576 * insetfloat.C (priv_dispatch):
577 * insetexternal.C (priv_dispatch):
578 * insetert.C (priv_dispatch):
579 * insetcommand.C (priv_dispatch):
580 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
581 * insetcite.C (priv_dispatch):
582 * insetbranch.C (priv_dispatch):
583 * insetbox.C (priv_dispatch):
584 * insetbibtex.C (priv_dispatch):
585 * insetbibitem.C (priv_dispatch):
586 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
588 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
590 * insettext.C: small refactoring of docbook stuff
592 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
594 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
595 (priv_dispatch): adjust for operator dispatch_result_t removal
597 * insettabular.C (lfunMouseRelease): put the result of a dispatch
598 in a DispatchResult, adjust accordingly.
599 (priv_dispatch): use strange >= construct... (will be removed later)
601 * most insets: dispatch_result -> DispatchResult
603 * insetbase.h: move DispatchResult out to dispatchresult.h
605 2003-10-27 André Pönitz <poenitz@gmx.net>
607 * insetpagebreak.[Ch]: new inset for page breaks
609 * insetline.[Ch]: new inset for vertical lines
614 2003-10-25 Angus Leeming <leeming@lyx.org>
616 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
617 new virtual member functions, specialised...
618 * render_button.h (asButton):
619 * render_graphic.h (asGraphic):
620 * render_preview.h (asPreview, asMonitoredPreview): ... here.
622 * insetexternal.C: use these new functions rather than dynamic_cast.
623 Various other small simplifications.
625 2003-10-22 Angus Leeming <leeming@lyx.org>
627 * insetexternal.[Ch]: add the ability to 'preview' the external file
630 * insetinclude.C: changes due to the changes in the RenderPreview
633 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
634 message if the preview image is not available. Only initiate the
635 loading of the preview from draw(). Ditto, start the monitoring
636 of an external file from RenderMonitoredPreview::draw.
638 2003-10-22 Angus Leeming <leeming@lyx.org>
640 * insetcite.[Ch] (setLoadingBuffer): removed.
641 (getNatbibLabel): use the new Buffer::fully_loaded member function to
642 ascertain whether to proceed with the (expensive) task of computing
643 the natbib-style label. Remove the home-grown hack providing
644 similar functionality.
646 2003-10-22 Angus Leeming <leeming@lyx.org>
648 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
649 class and into an anonymous namespace.
651 2003-10-22 Angus Leeming <leeming@lyx.org>
653 * insetcommand.h: remove the display method.
657 * insetindex.h (InsetPrintIndex):
658 * insettoc.h: add a display method, returning true.
660 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
662 * insetcollapsable.h:
666 * insetinclude.h: (1) finish off the inset display() work;
667 (2) fix the "is a bit silly" bug (accessing char
670 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
674 * insetfootlike.h: re-introduce display() for insets,
675 fixing the various bugs (stretch of line above, math inset
678 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
680 * insetbase.C (dispatch): new func
681 (priv_dispatch): new func replaces...
682 (localDispatch): this, deleted.
684 * all insets with dispatch modified for new code.
686 2003-10-15 André Pönitz <poenitz@gmx.net>
688 * insetcollapsable.[Ch]
690 * inset.h: re-add some edit(bv, index) method called by undo
692 2003-10-14 Angus Leeming <leeming@lyx.org>
694 * insetexternal.[Ch] (view, cache, view_):
695 * insetgraphics.[Ch] (view, cache, view_):
696 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
697 (statusChanged): call LyX::cref().updateInset.
699 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
700 the BufferView cache.
702 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
705 2003-10-14 Angus Leeming <leeming@lyx.org>
707 * insetinclude.C (metrics, draw): only draw the preview when previews
710 2003-10-14 André Pönitz <poenitz@gmx.net>
712 * insetcollapsable.[Ch]:
715 * inset.h: getText() as alternative to getParagraphs()
717 2003-10-13 Angus Leeming <leeming@lyx.org>
720 * insetgraphicsParams.C: displayTranslator is now a function.
722 2003-10-13 Angus Leeming <leeming@lyx.org>
724 * insetinclude.C: remove #include "PreviewImage.h".
726 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
729 * ExternalTransforms.C:
731 * insetbox.h: ws changes only
733 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
735 * insetinclude.C (localDispatch): do not call
736 InsetOld::localDispatch, just return UNDISPATCHED
737 * insetgraphics.C (localDispatch): ditto
738 * insetcommand.C (localDispatch): ditto
740 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
742 * inset.h: get rid of RESULT typedef for dispatch_result
744 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
745 * insetert.[Ch] (localDispatch): ditto
746 * insettabular.[Ch] (localDispatch): ditto
751 * insettext.[Ch] (localDispatch): ditto
754 (moveRightIntern): ditto
755 (moveLeftIntern): ditto
758 * updatableinset.[Ch] (localDispatch): ditto
760 2003-10-12 Angus Leeming <leeming@lyx.org>
762 * renderbase.h (view, view_): removed.
763 * renderbase.C: removed.
764 * Makefile.am: remove render_base.C. The shortest lived file in
767 * renderbutton.C (draw):
768 * render_graphic.C (draw): don't cache the BufferView.
770 * insetabase.h (cache, view): removed.
772 * inset.h (generatePreview) removed.
774 * insetcallapsable.[Ch] (cache, view, view_): removed.
776 * insetcollapsable.C (draw): don't cache the BufferView.
778 * insetcommand.[Ch] (view): removed.
780 * insetexternal.[Ch] (cache, view, view_):
781 * insetgraphics.[Ch] (cache, view, view_):
782 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
784 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
785 when you have direct access to it. In fact, don't use the cache at all.
787 2003-10-10 Angus Leeming <leeming@lyx.org>
789 * insetinclude.C (metrics): use preview_->metrics.
790 (draw): use preview_->draw.
792 * render_preview.[Ch] (pimage): removed.
794 2003-10-10 Angus Leeming <leeming@lyx.org>
796 * renderers.[Ch]: removed.
799 * render_button.[Ch]:
800 * render_graphic.[Ch]:
801 * render_preview.[Ch]: new files. The first three are split out of
802 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
803 contains a re-worked InsetInclude::PreviewImpl also.
805 * Makefile.am: reflect the changed files.
808 * insetexternal.[Ch]:
809 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
811 * insetinclude.[Ch]: changes reflecting the change from
812 InsetInclude::PreviewImpl to RenderMonitoredPreview.
818 * inseturl.C: add #include "support/std_ostream.h"
820 2003-10-09 Angus Leeming <leeming@lyx.org>
822 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
823 to PreviewedInset::previewReady.
825 2003-10-09 Angus Leeming <leeming@lyx.org>
827 * insetexternal.[Ch] (statusChanged):
828 * insetgraphics.[Ch] (statusChanged): make a const member function.
830 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
833 2003-10-09 Angus Leeming <leeming@lyx.org>
835 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
836 to PreviewedInset's previewReady and removePreview member functions.
838 2003-10-08 André Pönitz <poenitz@gmx.net>
840 * insetcollapsable.C:
841 * insettext.[Ch]: saner 'init' structure
843 * updatableinset.[Ch]: remove unneeded code
845 2003-10-08 Angus Leeming <leeming@lyx.org>
847 Fix doxygen warnings.
849 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
850 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
852 2003-10-07 Angus Leeming <leeming@lyx.org>
854 * ExternalTransforms.[Ch]: new files, detailing transforms that can
855 be applied to InsetExternal.
857 * Makefile.am: add these new files.
859 * ExternalTemplate.[Ch]: add a list of available transforms to
860 class Template and a list of factory functions for transformer classes
861 that can act on this data to class Format.
863 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
865 * ExternalSupport.C: Add code to replace transform placeholders
866 with appropriate output.
868 2003-10-07 Angus Leeming <leeming@lyx.org>
870 * ExternalSupport.[Ch]: new files, moving the private member functions
871 and namespace anon functions out of insetexternal.C to here, so making
872 it easier to understand what is going on in insetexternal itself.
874 * Makefile.am: add new files.
876 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
877 allowing the class to be forward declared. (Also consistent with
878 all other Params classes.)
879 (write): moved out of the class. Move this function and those in
880 namespace anon to ExternalSupport.[Ch].
882 2003-10-07 Angus Leeming <leeming@lyx.org>
884 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
885 non-const member function.
887 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
892 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
894 2003-10-02 André Pönitz <poenitz@gmx.net>
896 * insettext.C (read): make sure there is at least one par
897 in the text after reading.
899 2003-10-01 José Matos <jamatos@lyx.org>
901 * insetbranch.C (linuxdoc, docbook): minor fix.
903 2003-10-01 Angus Leeming <leeming@lyx.org>
905 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
907 * insetexternal.[Ch]: changes due to the introduction of
908 namespace lyx::external.
910 2003-09-30 Angus Leeming <leeming@lyx.org>
912 * insetexternal.[Ch] (Params::read, write): new member functions.
914 2003-09-25 Angus Leeming <leeming@lyx.org>
916 * insetexternal.[Ch] (TempName): new (private) nested struct with
917 fake copy semantics. Enables us to use the generated copy c-tor
918 in the Params struct.
919 (Params::templatename, Params::tempname): use accessor functions.
921 2003-09-25 Angus Leeming <leeming@lyx.org>
923 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
924 function, returning a const pointer.
926 2003-09-23 Angus Leeming <leeming@lyx.org>
928 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
929 store them in a vector, preambleNames.
931 * insetexternal.C (validate): loop over all preambleNames and call
932 LaTeXFeatures::addExternalPreamble with each.
934 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
936 * insetbranch.C: bug fix in branches
938 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
940 * insetnote.C: small clean-up.
942 2003-09-19 Angus Leeming <leeming@lyx.org>
944 * inset.h (generatePreview): passed a 'Buffer const &' arg.
946 * insetcommand.C (string2params): clear params using the default c-tor.
948 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
949 InsetInclude::Params. No more data in this struct than in
950 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
951 (c-tor): no need to pass a 'Buffer const &' arg anymore.
952 (clone): remove #warning as it's now redundant.
953 (set): add a 'Buffer const &' arg. Make private.
954 (loadIfNeeded) move out of the class definition and into namespace anon.
955 (getMasterFilename, getFileName): ditto.
957 2003-09-18 Angus Leeming <leeming@lyx.org>
959 * insetcommand.C (setParams): use the params' copy constructor.
961 2003-09-18 Angus Leeming <leeming@lyx.org>
963 * insetinsetbase.h (getLabelList):
964 * insetinsetcollapsable.[Ch] (getLabelList):
965 * insetinsetinclude.[Ch] (getLabelList):
966 * insetinsetlabel.[Ch] (getLabelList):
967 * insetinsettabular.[Ch] (getLabelList):
968 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
969 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
971 2003-09-18 Angus Leeming <leeming@lyx.org>
973 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
974 redundant baggage from yesteryear.
975 Remove Params::flag as it is redundant; the info is present in
978 2003-09-18 Angus Leeming <leeming@lyx.org>
980 * insetinclude.C (latexString): add a Buffer const & arg.
982 2003-09-18 Angus Leeming <leeming@lyx.org>
987 * insettext.h: rename EnumLColor as LColor_color.
989 2003-09-18 Angus Leeming <leeming@lyx.org>
991 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
992 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
994 2003-09-16 Angus Leeming <leeming@lyx.org>
996 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
997 set before trying to generate a preview, else we trigger an assert.
999 2003-09-16 Angus Leeming <leeming@lyx.org>
1001 * insetinclude.C (PreviewImpl::parent): return a const reference.
1003 2003-09-16 Angus Leeming <leeming@lyx.org>
1005 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1007 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1009 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1010 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1012 * insetminipage.C (metrics):
1013 * insetnote.C (metrics):
1014 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1015 access collapsed_ directly.
1017 2003-09-16 Angus Leeming <leeming@lyx.org>
1019 * insetbibitem.C: add #include "lyxfont.h".
1021 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1024 * insetbibtex.C: use namespace alias for lyx::support::os
1026 2003-09-16 Angus Leeming <leeming@lyx.org>
1028 * insetcollapsable.h: remove unused framecolor variable.
1029 Remove #include "LColor.h".
1031 * insetcollapsable.C: remove unused framecolor variable.
1034 * insetcollapsable.C:
1042 Add #include "LColor.h".
1044 2003-09-16 Angus Leeming <leeming@lyx.org>
1046 * insettext.[Ch] (frameColor): new accessor function.
1047 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1053 add #include "LColor.h".
1055 * insetcollapsable.h: add #include "LColor.h"
1056 (for its framecolor member variable).
1058 2003-09-16 Angus Leeming <leeming@lyx.org>
1060 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1062 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1063 rename frame_color as frame_color_. Make private.
1065 * insettext.C: associated changes.
1067 2003-09-16 Angus Leeming <leeming@lyx.org>
1069 * inset.h: store background_color_ as an int, not as an LColor::color to
1070 get LColor.h out of the header file.
1073 * insetlatexaccent.C:
1076 * insetspecialchar.C:
1078 add #include "LColor.h".
1080 2003-09-16 Angus Leeming <leeming@lyx.org>
1082 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1085 2003-09-15 Angus Leeming <leeming@lyx.org>
1087 * inset.[Ch] (setBackgroundColor, backgroundColor):
1088 * insettext.[Ch] (setFrameColor):
1089 pass EnumLColor args, rather than LColor::color ones.
1091 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1101 * insetwrap.C: remove usage of STRCONV
1103 2003-09-15 Angus Leeming <leeming@lyx.org>
1105 * renderers.C (draw):
1106 * insetlatexaccent.C (draw): explicitly define the color passed to
1109 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1111 * insettext.C: remove block causing problems in lockInsetInInset
1112 (mentioned erroneously under Bug #1366)
1114 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1116 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1119 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1121 * several files: change Assert to BOOST_ASSERT
1123 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1125 * insettext.[Ch]: remove drawText[XY]Offset
1127 2003-09-08 Angus Leeming <leeming@lyx.org>
1129 * insetcollapsable.C:
1134 * insetspecialchar.C:
1137 * insettoc.C: remove redundant using directives.
1139 2003-09-07 Angus Leeming <leeming@lyx.org>
1142 * insetspecialchar.h: remove #include "support/std_string.h".
1144 2003-09-06 Angus Leeming <leeming@lyx.org>
1146 * renderers.C: add #include "insets/inset.h"
1148 2003-09-05 Angus Leeming <leeming@lyx.org>
1150 * *.C: strip out redundant #includes. (193 in total.)
1152 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1154 * insets/insetbibtex.[Ch]:
1155 * insets/insetcommand.h:
1156 * insets/insetfloatlist.[Ch]:
1157 * insets/insetinclude.[Ch]:
1158 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1159 of insets like bibtex, include, toc and floatlist to the visible
1160 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1161 up the dialogs. Cursor has to be in front of the inset (i.e.
1162 start of row) for this to function.
1164 2003-09-04 Angus Leeming <leeming@lyx.org>
1166 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1167 structure outside of the Format struct. Format::preambleName refers to
1168 an item in the map of all preamble snippets.
1169 Make use of the new Debug::EXTERNAL flag.
1171 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1172 (validate): Small change due to the changed storage of preamble snippets.
1174 2003-09-04 Angus Leeming <leeming@lyx.org>
1176 * insetgraphics.C: #include "support/os.h"
1178 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1179 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1180 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1182 * insetcollapsable.h:
1184 * insetnote.C: move #include "funcrequest.h" out of the header file.
1186 2003-09-03 Angus Leeming <leeming@lyx.org>
1188 * insetexternal.C (updateExternal):
1189 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1192 2003-09-03 Angus Leeming <leeming@lyx.org>
1194 * insetexternal.C: don't bring namespace lyx::support into the global
1197 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1199 * insetbranch.C: Add Branch: to label
1201 2003-09-02 John Levon <levon@movementarian.org>
1204 * insettext.C: remove cursor.i[xy]()
1206 2003-08-28 Angus Leeming <leeming@lyx.org>
1208 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1209 "sh ", enabling the conversion to be carried out even if the script
1212 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1214 * most files: change to use const Buffer refs
1216 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1218 * insetfootlike.C: whitespace.
1220 2003-08-26 John Levon <levon@movementarian.org>
1224 * insetindex.h: remove remaining mentions of needFullRow()
1226 2003-08-26 André Pönitz <poenitz@gmx.net>
1232 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1234 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1236 * insetbranch.C: Small fix to prevent a crash on loading.
1238 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1243 * insetcollapsable.h:
1245 * insetfloatlist.[Ch]:
1246 * insetfootlike.[Ch]:
1247 * insetinclude.[Ch]:
1253 * insettheorem.[Ch]:
1254 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1255 altogether, putting the logic in metrics/draw in the insets.=20
1256 Draws short single row insets with more or less realistic metrics.
1258 2003-08-19 André Pönitz <poenitz@gmx.net>
1260 * insettext.C: use new RowPainter interface
1262 2003-08-18 John Levon <levon@movementarian.org>
1264 * insetref.C: require amsmath for eqref
1266 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1270 * insetbranch.[Ch]: implements the 'branch inset'
1271 idea. This allows the output of various versions of a document
1272 from a single source version, selectively outputing or suppressing
1273 output of parts of the text.
1274 This implementation contains a 'branch list editor' in a separate
1275 tab of the document settings dialog. Branches are user definable
1276 and have a "display colour" to distinguish them on-screen.
1278 ColorHandler was somewhat cleaned up.
1279 (1) make possible a dynamically growing LColor list by allowing
1280 the graphic context cache to grow along (vector);
1281 (2) eliminate an IMHO unnecessary step in colour allocation.
1283 2003-08-15 André Pönitz <poenitz@gmx.net>
1285 * insettext.[Ch]: adjust after rowlist split
1287 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1289 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1290 rename valign-center to valign-middle;
1291 rename VALIGN_CENTER to VALIGN_MIDDLE
1293 2003-08-11 André Pönitz <poenitz@gmx.net>
1295 * inset.h: remove resizeLyXText
1298 * insetcollapsable.[Ch]:
1300 * insettabular.[Ch]: adjust
1302 * insettext.[Ch]: remove saveLyXTextState,
1303 restoreLyXTextStat, sstate, reinitLyXText
1305 2003-08-07 André Pönitz <poenitz@gmx.net>
1307 * inset.[Ch]: move non-crucial functions out-of-line
1309 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1310 remove duplicated code.
1312 2003-08-05 André Pönitz <poenitz@gmx.net>
1315 * insetcollapsable.[Ch]:
1325 * insettabular.[Ch]:
1328 * updatableinset.[Ch]: rip out "deep update"
1330 * insettext.C (localDispatch): merge cases with default branch
1332 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1334 * insettabular.[Ch] (updateLocal): simplify logic
1336 2003-08-04 André Pönitz <poenitz@gmx.net>
1338 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1339 is 'FULL' all the time.
1341 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1343 * insetert.C (get_new_label): only add ... to the (closed) label
1344 when the string has been shortened
1346 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1348 * Always use std::endl with lyxerr
1350 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1352 * insetnote.C: update \author list
1354 2003-07-31 André Pönitz <poenitz@gmx.net>
1356 * insetcollapsable.h:
1357 * insettabular.[Ch]:
1358 * insettext.[Ch]: remove toggleSelection
1360 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1362 (with help from Juergen Spitzmueller)
1363 * insetnote.C: add add i18n support. Use Prefs-definable
1364 colours for Comment and Greyedout.
1366 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1368 * insetcollapsable.[Ch]:
1370 * insetert.C: factor out the detection of clicking on the inset
1371 button as 'hitButton'. John Levon contributed.
1373 2003-07-30 André Pönitz <poenitz@gmx.net>
1375 * insetcollapsable.C:
1377 * insettabular.C: parantheses, localize vars etc.
1379 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1381 * insetnote.C: Implement a newenvironment in preamble for
1382 greyedout. Patch provided by Jürgen Spitzmüller.
1384 2003-07-29 Angus Leeming <leeming@lyx.org>
1386 * insetcommand.C (localDispatch): default to
1387 InsetOld::localDispatch.
1389 * insetbibitem.C (localDispatch):
1390 * insetbibtex.C (localDispatch): remove call to
1391 ChangeCitationsIfUnique.
1393 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1395 * insetexternal.C (read): use pushpophelper.
1397 2003-07-28 José Matos <jamatos@lyx.org>
1399 * insetext.C (read): \end_document replaces \the_end.
1401 2003-07-28 José Matos <jamatos@fep.up.pt>
1403 * insetert.C (write): \layout -> \begin_layout.
1404 Add missing \end_layout.
1406 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1408 * insetquotes.C: document a bit the format
1410 * insettabular.C (write): remove extra space
1412 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1413 * insetnote.C: Umpf. Hope I *now* get it right :-(
1415 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1416 *insetnote.C: did the right fix to greyedout: \color
1417 instead of \textcolor.
1419 2003-07-28 Angus Leeming <leeming@lyx.org>
1421 * insetbibtex.h: remove extraneous forward declaration.
1424 * insetbibtex.h: Also remove long-dead Holder member class
1427 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1429 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1432 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1434 * insetwrap.C (addToToc): adjust for lyx::toc
1436 * insetfloatlist.C (ascii): adjust for lyx::toc
1438 * insetfloat.C (addToToc): adjust for lyx::toc
1440 2003-07-27 José Matos <jamatos@fep.up.pt>
1442 * insetnote.h (linuxdoc,docbook): update support.
1444 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1446 * insetfloat.C (wide): add a space to label, for consistency
1448 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1450 * insettext.C (nextChange): adjust for lyx::find
1451 (searchForward): ditto
1452 (searchBackward): ditto
1454 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1456 * insetgraphicsParams.C:
1457 * insetexternal.C: declare extern displayTranslator
1460 * renderers.C: add #include "support/LAssert.h"
1462 2003-07-27 José Matos <jamatos@fep.up.pt>
1464 * insetfloat.[Ch] (linuxdoc):
1465 * insetgraphics.C (linuxdoc):
1466 * insettabular.C (linuxdoc):
1467 * insettext.[Ch] (linuxdoc): add support for tables and figures
1470 2003-07-27 José Matos <jamatos@fep.up.pt>
1472 * insetinclude (latex): comply with makeLaTeXFile argument change.
1474 2003-07-26 Asger Alstrup <alstrup@local>
1476 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1477 the undo crashes. We'll see what problems other places this will
1480 2003-07-26 Angus Leeming <leeming@lyx.org>
1482 * insetgraphics.C: remove unused declaration of system_tempdir.
1484 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1486 * rename Inset to InsetOld
1488 * all inset files (clone): return a auto_ptr<InsetBase>
1490 2003-07-23 Angus Leeming <leeming@lyx.org>
1492 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1494 2003-07-23 Angus Leeming <leeming@lyx.org>
1496 * mailinset.[Ch] (inset2string):
1497 * insetcommand.[Ch] (inset2string):
1498 * insetert.[Ch] (inset2string):
1499 * insetexternal.[Ch] (inset2string):
1500 * insetfloat.[Ch] (inset2string):
1501 * insetgraphics.[Ch] (inset2string):
1502 * insetinclude.[Ch] (inset2string):
1503 * insetminipage.[Ch] (inset2string):
1504 * insetnote.[Ch] (inset2string):
1505 * insettabular.[Ch] (inset2string):
1506 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1508 * insetexternal.[Ch]:
1509 * insetgraphics.[Ch]: get rid of the view() function. Associated
1510 changes to the mailers' string2params and params2string functions.
1512 2003-07-23 Angus Leeming <leeming@lyx.org>
1514 * insetexternal.[Ch]: store the external file name in a FileName
1515 member variable rather than a string + associated changes.
1517 2003-07-21 Angus Leeming <leeming@lyx.org>
1519 * insetgraphicsParams.[Ch]: store the graphics file name in
1520 a FileName member variable rather than a string.
1522 * insetgraphics.[Ch]:
1523 * insetgraphicsParams.[Ch]: Associated changes.
1525 2003-07-21 Angus Leeming <leeming@lyx.org>
1527 * insetgraphics.[Ch] (string2params, params2string): passed a
1528 buffer_path argument.
1531 2003-07-21 Angus Leeming <leeming@lyx.org>
1534 * insetgraphicsParams.[Ch]:
1536 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1538 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1540 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1542 2003-07-18 André Pönitz <poenitz@gmx.net>
1545 * insetminipage.[Ch]:
1546 * insettabular.[Ch]:
1549 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1551 2003-07-18 André Pönitz <poenitz@gmx.net>
1555 * insetcollapsable.C:
1559 * insetgraphics.[Ch]:
1560 * insetlatexaccent.[Ch]:
1565 * insetspecialchar.C:
1566 * insettabular.[Ch]:
1568 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1570 2003-07-17 André Pönitz <poenitz@gmx.net>
1572 * insetcollapsable.C:
1574 * insettext.C: don't call Inset::update() anymore
1577 * insettabular.[Ch]: remove unneeded in_update_ members
1579 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1581 2003-07-16 André Pönitz <poenitz@gmx.net>
1583 * insettext.C (selectAll): remove
1585 2003-07-16 John Levon <levon@movementarian.org>
1588 * insetnote.C: implement showInsetDialog()
1590 2003-07-15 André Pönitz <poenitz@gmx.net>
1593 * insettext.C: refresh_status tristate -> need_update bool
1595 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1597 * insettext.C: adjust call to LyXText::init
1599 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1601 * insettext.C: use bufferview_funcs->replaceSelection()
1602 to delete selections in some cases (bugs 441, 673, 702, 954).
1604 2003-07-14 André Pönitz <poenitz@gmx.net>
1606 * insettext.C (draw): use slimmed down rowpainter interface
1608 2003-07-14 André Pönitz <poenitz@gmx.net>
1610 * insetcollapsable.C:
1612 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1613 remove unused BufferView * argument
1615 2003-07-14 André Pönitz <poenitz@gmx.net>
1617 * insettext.[Ch]: used cached metrics a bit more
1619 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1621 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1623 2003-07-10 André Pönitz <poenitz@gmx.net>
1626 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1628 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1630 * introduce namespace lyx::graphics
1632 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1634 * introduce namespace lyx::support
1636 2003-06-30 André Pönitz <poenitz@gmx.net>
1638 * insetcite.C (localDispatch): fix case of missing return value
1640 * insetcite.C (ascii): remove unneeded temporary
1642 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1644 * insetspace.h: fix \file
1646 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1647 * insetinclude.C (fillWithBibKeys): ditto
1649 * insetbibitem.C: fix type const order
1651 * inset.C (getLyXText): add varname for arg
1653 * ExternalTemplate.h: fix type const order
1655 2003-06-27 André Pönitz <poenitz@gmx.net>
1657 * insettext.C: take care of removed LyXCursor::row_ member
1659 * insettext.[Ch]: use new TextCursor struct for sstate
1661 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1663 * inseterror.[Ch]: removed
1665 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1667 * insetinclude.C (docbook): use parseError instead of sgmlError
1669 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1671 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1672 of BufferList::loadLyXFile
1674 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1676 * insettext.C (update): simplify
1677 (updateLocal): remove commented code
1678 (insetUnlock): simplify
1679 (lockInset): simplify
1680 (updateInsetInInset): simplify
1681 (localDispatch): simplify
1683 (resizeLyXText): simplify
1684 (collapseParagraphs): simplify
1686 * insetert.C (get_new_label): simplify
1688 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1690 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1691 pasteSelection with index
1693 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1695 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1697 2003-06-16 André Pönitz <poenitz@gmx.net>
1699 * insetbase.h: new virtual base function clone()
1701 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1702 Inset * clone() -> InsetBase * clone()
1704 2003-06-13 André Pönitz <poenitz@gmx.net>
1706 * insettabular.[Ch]: make tabular a proper member
1708 2003-06-12 André Pönitz <poenitz@gmx.net>
1710 * insettabular.[Ch]: some renaming plus whitespace
1712 2003-06-11 Angus Leeming <leeming@lyx.org>
1714 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1717 * insetbutton.[Ch]: removed.
1718 * graphicinset.[Ch]: renamed as renderers.[Ch].
1720 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1721 Create a new class ButtonRenderer using the InsetButton::metrics() and
1723 Derive both from a common RenderedInset base class.
1725 * insetcommand.[Ch]:
1726 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1727 Give it a ButtonRenderer member variable. Use it.
1728 Give the classes working copy c-tors.
1729 No longer derive from boost::noncopyable.
1731 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1732 display its contents as a button or as a graphic.
1734 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1737 2003-06-11 Angus Leeming <leeming@lyx.org>
1739 * insetcite.C (localDispatch): reformat.
1741 * insetref.C (localDispatch): enable dialog to be lauched.
1743 2003-06-11 John Levon <levon@movementarian.org>
1745 * insettabular.C: correctly mark all cells as erased
1747 2003-06-11 Angus Leeming <leeming@lyx.org>
1749 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1750 ExternalTemplate but its name, templatename. This means that a file
1751 containing a reference to an External Template not installed on the
1752 current machine will be saved retaining this info rather than inserting
1753 the first "valid" template from the list of templates.
1755 As a by product, the visual statement that the Template is missing is
1758 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1760 * insettext.C (appendParagraphs): remove some commented code.
1762 2003-06-10 Angus Leeming <leeming@lyx.org>
1764 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1767 * insetexternal.[Ch]: move tempname_ into the Params struct.
1768 (Params d-tor): new function, to clean-up this temp file.
1769 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1771 (editExternal, doSubstitution): move out of class.
1773 2003-06-10 Angus Leeming <leeming@lyx.org>
1775 * graphicinset.[Ch] (params): removed.
1776 * graphicinset.h (operator=): declared private but not defined.
1777 (statusMessage): made private.
1779 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1781 2003-06-07 John Levon <levon@movementarian.org>
1783 * insetert.C (latex): make a newline mean just that not
1786 2003-06-07 José Matos <jamatos@fep.up.pt>
1788 * insethfill.[Ch] (linuxdoc, docbook): implement output
1789 * insetspace.C (linuxdoc, docbook): remove coments as the code
1792 2003-06-06 José Matos <jamatos@fep.up.pt>
1794 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1796 2003-06-06 André Pönitz <poenitz@gmx.net>
1798 * insetwrap.[Ch]: code compactification
1800 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1802 * mailinset.C (updateDialog): use Dialogs::visible
1804 2003-06-04 Angus Leeming <leeming@lyx.org>
1806 * graphicinset.C (draw): add a comment for the #if 0 block.
1808 * insetexternal.h: remove Params::parameters variable.
1809 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1810 and read it back making full use of LyXLex.
1812 2003-06-04 André Pönitz <poenitz@gmx.net>
1814 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1816 2003-06-04 John Levon <levon@movementarian.org>
1818 * insettabular.C: back out tall table speed up. It was broken
1820 2003-06-03 Angus Leeming <leeming@lyx.org>
1822 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1823 Remove ViewCommand and UpdateCommand.
1825 * graphicinset.C (update): bug fix. Set the params before calling the
1827 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1828 BufferView cache to enable the InsetExternal::editCommand to be invoked
1829 from the frontends. Would not be needed if this were dispatched properly.
1830 (old_ascent_): variable removed.
1832 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1833 do any necessary conversions of external material. Also use the
1834 new GraphicsInset to display the inset within LyX.
1836 2003-06-03 Angus Leeming <leeming@lyx.org>
1838 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1839 and move it somewhere where InsetExternal can use it too.
1841 * Makefile.am: add the new files.
1843 * insetgraphics.[Ch]: make use of the new GraphicInset.
1845 2003-06-03 John Levon <levon@movementarian.org>
1848 * insetbibitem.[Ch]:
1851 * insetcommand.[Ch]:
1855 * insetexternal.[Ch]:
1859 * insetgraphics.[Ch]:
1861 * insetinclude.[Ch]:
1864 * insetlatexaccent.[Ch]:
1865 * insetmarginal.[Ch]:
1866 * insetminipage.[Ch]:
1873 * insetspecialchar.[Ch]:
1874 * insettabular.[Ch]:
1876 * insetthereom.[Ch]:
1879 * insetwrap.[Ch]: make clone() not take a Buffer * arg
1881 * insetgraphics.[Ch]:
1882 * insetgraphicsParams.[Ch]: always store an absolute
1885 2003-06-02 André Pönitz <poenitz@gmx.net>
1889 * insetlatexaccent.C: remove duplicated call to metrics()
1891 2003-06-02 John Levon <levon@movementarian.org>
1893 * insettabular.C: fix resize of column width
1895 2003-06-02 John Levon <levon@movementarian.org>
1900 * insetparent.C: remove insetparent
1902 2003-06-02 André Pönitz <poenitz@gmx.net>
1909 * insetcollapsable.[Ch]:
1913 * insetgraphics.[Ch]:
1914 * insetinclude.[Ch]:
1915 * insetlatexaccent.[Ch]:
1916 * insetminipage.[Ch]:
1917 * insetnewline.[Ch]:
1920 * insetspecialchar.[Ch]:
1921 * insettabular.[Ch]:
1922 * insettext.[Ch]: unify first drawing phase
1925 * insetbase.h: move validate() to the base
1927 2003-05-31 Angus Leeming <leeming@lyx.org>
1929 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
1931 2003-05-30 André Pönitz <poenitz@gmx.net>
1936 * insetcaption.[Ch]:
1937 * insetcollapsable.[Ch]:
1940 * insetgraphics.[Ch]:
1941 * insetinclude.[Ch]:
1942 * insetlatexaccent.[Ch]:
1943 * insetnewline.[Ch]:
1946 * insetspecialchar.[Ch]:
1947 * insettabular.[Ch]:
1949 * updatableinset.[Ch]: unify second drawing phase
1951 2003-05-30 John Levon <levon@movementarian.org>
1953 * insetgraphics.C: fix a bformat
1955 2003-05-29 John Levon <levon@movementarian.org>
1957 * insettabular.C: remove unused bufferOwner()
1959 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1961 * insettext.C (lockInsetInInset): adjust
1962 (getLabelList): use const_iterator, adjust
1963 (getInsetFromID): use const_iterator, adjust
1964 (addPreview): use const_iterator, adjust
1966 * insetwrap.C (clone): remove const_cast
1968 * insetnote.C (clone): remove const_cast
1970 * insetminipage.C (clone): remove const_cast
1972 * insetmarginal.C (clone): remove const_cast
1974 * insetfoot.C (clone): remove const_cast
1976 * insetfloat.C (clone): remove const_cast
1978 * insetert.C (clone): remove const_cast
1980 * delete commented same_id functions from a lot of files.
1982 2003-05-28 John Levon <levon@movementarian.org>
1988 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
1990 * insetminipage.C: fix metrics (bug 1144)
1992 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1994 * insettext.C (saveLyXTextState): adjust
1995 (restoreLyXTextState): adjust
1998 (unlockInsetInInset): adjust
1999 (localDispatch): adjust
2000 (getLyXText): adjust
2002 * insettabular.C (insertAsciiString): adjust
2004 2003-05-27 André Pönitz <poenitz@gmx.net>
2007 * insetcollapsable.C:
2010 * insetlatexaccent.C:
2015 * insetspecialchar.C:
2017 * insettext.C: dim.w -> dim.wid
2019 2003-05-26 John Levon <levon@movementarian.org>
2021 * insettabular.C: avoid drawing all of a long table
2022 if it's not needed. A big speedup
2024 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2026 * remove same_id from function signatures, adjust
2028 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2030 * insettext.C (InsetText): adjust
2032 (setParagraphData): separate same_id cases, adjust
2033 (appendParagraphs): adjust
2034 (appendParagraphs): adjust
2036 2003-05-23 André Pönitz <poenitz@gmx.net>
2038 * insetbutton.h: whitespace
2040 * insettabular.C: more compact code
2042 * updatableinset.C: remove const_cast
2045 2003-05-23 Angus Leeming <leeming@lyx.org>
2047 * insetexternal.C (write): check how many lines are output.
2048 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2049 if the template has defined it.
2051 2003-05-23 Angus Leeming <leeming@lyx.org>
2053 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2055 2003-05-23 Angus Leeming <leeming@lyx.org>
2057 * insetfoot.C (latex):
2058 * inseturl.C (latex): rename fragile as moving_arg.
2060 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2062 * inseterror.C (localDispatch): comment out unused var.
2064 2003-05-22 Angus Leeming <leeming@lyx.org>
2066 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2067 passed through the LatexRunParams arg.
2069 2003-05-22 Angus Leeming <leeming@lyx.org>
2071 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2072 through the LatexRunParams arg.
2074 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2075 arg rather than through a global var.
2077 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2079 * insetspecialchar.C (dimension): use a string.
2081 2003-05-22 Angus Leeming <leeming@lyx.org>
2083 * insetbibtex.C (latex):
2084 * insetgraphics.C (latex):
2085 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2086 runparams rather than from the buffer itself.
2088 2003-05-22 Angus Leeming <leeming@lyx.org>
2090 * inset*.[Ch] (latex):
2091 passed a LatexRunParams parameter.
2093 * insetgraphics.C (latex): actually use it ;-)
2095 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2097 * insetfloat.C (addToToc): trivial compile fix
2099 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2101 * insettext.[Ch] (paragraph): delete unused function
2103 * insetfloat.C (addToToc): parlist simplfication
2105 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2107 * insetspace.[Ch]: added (new space insets)
2109 * inset.h: handle new space insets
2111 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2113 * insetfloat.C (addToToc): adjust
2115 2003-05-21 André Pönitz <poenitz@gmx.net>
2117 * insettext.[Ch]: fix drawing bug introduced earlier
2119 2003-05-19 André Pönitz <poenitz@gmx.net>
2121 * insetspecialchar.C: fix bug introduced yesterday
2123 2003-05-19 André Pönitz <poenitz@gmx.net>
2127 * insetcollapsable.[Ch]:
2131 * insetgraphics.[Ch]:
2132 * insetgraphicsParams.[Ch]:
2133 * insetlatexaccent.[Ch]:
2134 * insetminipage.[Ch]:
2135 * insetnewline.[Ch]:
2137 * insetspecialchar.[Ch]:
2138 * insettabular.[Ch]:
2139 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2141 2003-05-19 André Pönitz <poenitz@gmx.net>
2144 * insettext.C: more insetenv
2146 2003-05-16 André Pönitz <poenitz@gmx.net>
2149 * insetminimpage.[Ch]:
2150 * insetcollapsable.[Ch]: fix #832
2152 2003-05-16 André Pönitz <poenitz@gmx.net>
2155 * insetbibitem.[Ch]:
2159 * insetcollapsable.[Ch]:
2160 * insetcommand.[Ch]:
2163 * insetexternal.[Ch]:
2164 * insetfloatlist.[Ch]:
2165 * insetgraphics.[Ch]:
2166 * insetinclude.[Ch]:
2169 * insetlatexaccent.[Ch]:
2172 * insettabular.[Ch]:
2176 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2178 2003-05-13 André Pönitz <poenitz@gmx.net>
2181 * insetcollapsable.C:
2185 * insetwrap.C: tostr from own header
2197 * insetwrap.C: STRCONV
2200 2003-05-12 André Pönitz <poenitz@gmx.net>
2212 * insetwwrap.C: boost::format -> bformat all over the place
2214 2003-05-05 André Pönitz <poenitz@gmx.net>
2216 * insettext.h: add missing #include <map>
2218 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2220 * insettext.C (InsetText): parlist cleanup
2223 (insetUnlock): ditto
2225 (lockInsetInInset): ditto
2229 (searchBackward): ditto
2230 (collapseParagraphs): ditto
2232 2003-05-06 John Levon <levon@movementarian.org>
2234 * insetcaption.C: don't cast wrap inset to InsetFloat
2237 * insetfloat.C: remove unneeded type() function
2239 2003-05-05 André Pönitz <poenitz@gmx.net>
2243 * insettabular.[Ch]:
2244 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2245 replace getFirstParagraph() by getParagraphs()
2247 2003-05-03 John Levon <levon@movementarian.org>
2249 * insetcollapsable.h:
2250 * insetcollapsable.C:
2256 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2257 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2258 getCursor(). Remove explicit cursor hides.
2260 2003-05-02 André Pönitz <poenitz@gmx.net>
2262 * insettext.C: remove unneeded &*
2264 2003-04-30 John Levon <levon@movementarian.org>
2266 * insettabular.C: fix edit message
2268 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2270 * insettext.C (setFont): do not convert iterator -> pointer
2272 * insettabular.C (localDispatch): do not convert iterator -> pointer
2274 (tabularFeatures): ditto
2276 2003-04-29 André Pönitz <poenitz@gmx.net>
2278 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2280 2003-04-28 André Pönitz <poenitz@gmx.net>
2282 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2285 2003-04-25 André Pönitz <poenitz@gmx.net>
2287 * insetenv.C: derive from InsetText instead of InsetCollapsable
2289 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2291 * insetexternal.C (string2params): dont do anything if the string
2293 * insetgraphics.C (string2params): ditto
2294 * insetcommand.C (string2params): ditto
2295 * insetert.C (string2params): ditto
2296 * insetfloat.C (string2params): ditto
2297 * insetinclude.C (string2params): ditto
2298 * insetminipage.C (string2params): ditto
2299 * insettabular.C (string2params): ditto
2300 * insetwrap.C (string2params): ditto
2302 2003-04-24 André Pönitz <poenitz@gmx.net>
2304 * insetref.C: support for eqref
2306 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2308 * insetert.C (read): use ParagraphList::iterator.
2310 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2312 * insetquotes.C (latex): comment some code and add warnings.
2314 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2316 * insetexternal.C (localDispatch): added a missing DISPATCHED
2318 2003-04-12 John Levon <levon@movementarian.org>
2320 * insetwrap.C (addToToc): fix a crash, conversion
2321 from while to for loop forgot to remove the explicit
2324 2003-04-10 John Levon <levon@movementarian.org>
2326 * insettabular.C (tabularFeature): make sure
2327 to update the dialog when we change something
2330 (getStatus): don't disable some lfuns (bug 939)
2332 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2334 * insettext.C (saveLyXTextState): adjust
2335 (localDispatch): adjust
2341 * insettabular.C (localDispatch): adjust
2343 (tabularFeatures): adjust
2345 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2347 * insettabular.C (searchForward,searchBackward): fix bug 782
2349 2003-04-07 John Levon <levon@movementarian.org>
2352 * insettext.C: clear status message on inset exit
2354 2003-04-03 John Levon <levon@movementarian.org>
2356 * insetcommand.C: return dispatched on DIALOG_UPDATE
2358 2003-04-02 John Levon <levon@movementarian.org>
2360 * insettabular.C: tab lfuns renamed
2362 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2364 * insettext.C (update): move towards ParagraphList
2365 (updateLocal): ditto
2367 (insetUnlock): ditto
2369 (lockInsetInInset): ditto
2370 (updateInsetInInset): ditto
2371 (localDispatch): ditto
2374 (resizeLyXText): ditto
2375 (searchBackward): ditto
2376 (collapseParagraphs): ditto
2379 * insetwrap.C (InsetWrap): adjust
2380 (addToToc): adjust and rewrite loop
2382 * insettext.[Ch] (paragraph): delete function
2384 * insettabular.C (moveNextCell): adjust
2385 (movePrevCell): adjust
2386 (insertAsciiString): adjust
2388 * insetfloat.C (InsetFloat): adjust
2391 * insetert.C (InsetERT): adjust
2392 (write): adjust, and rewrite loop
2393 (latex): adjust, and rewrite loop
2394 (linuxdoc): adjust, and rewrite loop
2395 (docbook): adjust, and rewrite loop
2396 (localDispatch): adjust
2397 (get_new_label): adjust
2399 2003-04-01 John Levon <levon@movementarian.org>
2401 From Alfredo Braunstein
2404 * insetbutton.C: add localDispatch()
2406 * insetcommand.C: return DISPATCHED when edit() called
2408 * insettext.C: fix bug 967
2410 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2412 * insettext.C: adjust
2414 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2416 * insettext.C (draw): adjust
2417 (crow): return a RowList::iterator not a Row*
2419 * insetminipage.C (localDispatch): adjust
2421 * insetert.C (localDispatch): adjust
2423 2003-03-31 John Levon <levon@movementarian.org>
2426 * insetgraphicsParams.C: use_gui moved to lyx_gui
2428 2003-03-31 John Levon <levon@movementarian.org>
2430 * insettext.C: Alert fix
2432 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2434 * insettext.C (ascent): adjust for RowList
2437 (getLyXText): adjust
2438 (toggleSelection): adjust
2440 * insetminipage.C (localDispatch): adjust for RowList
2442 * insetert.C (localDispatch): adjust for RowList
2443 (getMaxWidth): adjust for RowList
2445 2003-03-29 John Levon <levon@movementarian.org>
2447 * insetert.C: Alert cleanup
2449 2003-03-29 John Levon <levon@movementarian.org>
2451 * insettabular.C: Alert fix
2453 2003-03-28 John Levon <levon@movementarian.org>
2455 * insetfloat.C: reset label on INSET_MODIFY
2457 2003-03-28 John Levon <levon@movementarian.org>
2459 * insetgraphicsParams.C: read subcaptionText as a whole line
2462 2003-03-28 John Levon <levon@movementarian.org>
2464 * insettext.C: remove unused prototypes
2466 2003-03-25 Angus Leeming <leeming@lyx.org>
2468 * insetbibitem.C (localDispatch): repaint the view after modifying
2469 a bibitem inset in case the maximum InsetBibitem width has changed.
2471 2003-03-25 John Levon <levon@movementarian.org>
2474 * insettabular.C: LyXText renamings
2476 2003-03-24 John Levon <levon@movementarian.org>
2478 * insettext.C: remove some dead code. Fix bug 972 and
2479 related by posting a repaint in updateLocal(), and making
2480 the SEL functions set SELECTION.
2482 2003-03-22 John Levon <levon@movementarian.org>
2485 * inset.C: remove no-longer-needed topx_set
2487 * insetcollapsable.h:
2488 * insetcollapsable.C: remove dead code
2491 * insetert.C: rebreak the rows when a possible
2492 change in size is made, and reset the cursor
2495 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2497 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2498 topx_set. Fix drawing errors for clearInset(). Remove
2499 some unnecessary uses of topx, which should die.
2501 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2502 is no longer needed. Replace it with an ugly hack.
2504 2003-03-20 John Levon <levon@movementarian.org>
2507 * insetcollapsable.h:
2508 * insetcollapsable.C:
2516 * insettext.C: remove spurious font parameter
2517 from update(). Fix drawing of ERT insets inside
2518 insets (bug 966). Remove unused mark_dirty from
2519 tabular's updateLocal()
2521 2003-03-19 John Levon <levon@movementarian.org>
2530 * insetwrap.C: remove unused getter/setters
2532 2003-03-19 John Levon <levon@movementarian.org>
2534 * several files: bv->updateInset() doesn't take
2535 a bool mark_dirty any more
2537 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2539 * adjust for BufferView* arg removal from lyxtext.
2541 2003-03-17 John Levon <levon@movementarian.org>
2543 * most files: remove the "cleared" parameter
2544 to draw in favour of always clearing. Associated
2547 2003-03-16 John Levon <levon@movementarian.org>
2549 * insettext.C: remove unused s.refresh
2551 2003-03-13 Angus Leeming <leeming@lyx.org>
2553 * insettext.C (edit): replace Dialogs::updateParagraph with
2554 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2556 2003-03-13 André Pönitz <poenitz@gmx.net>
2558 * Makefile.am: insert insetenv
2560 * insethenv.[Ch]: new files, currently inactive
2562 2003-03-12 John Levon <levon@movementarian.org>
2572 * insettext.C: use new insetnewline
2574 2003-03-12 John Levon <levon@movementarian.org>
2576 * insettext.C: readToken became readParagraph
2578 2003-03-12 John Levon <levon@movementarian.org>
2580 * insettext.C: use parlist iterator for reading contents
2582 2003-03-12 John Levon <levon@movementarian.org>
2584 * insettext.C: name change to readToken()
2586 2003-03-11 André Pönitz <poenitz@gmx.net>
2588 * Makefile.am: insert insethfill
2590 * insethfill.[Ch]: new files
2592 2003-03-10 Angus Leeming <leeming@lyx.org>
2594 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2596 (hideDialog): calls the new static Dialogs::hide() method.
2598 * insetbibitem.C (edit):
2599 * insetbibtex.C (edit):
2600 * insetcite.C (edit):
2601 * insetcommand.C (localDispatch):
2602 * inseterror.C (d-tor):
2603 * insetert.C (showInsetDialog):
2604 * insetexternal.C (localDispatch, edit):
2605 * insetfloat.C (localDispatch, showInsetDialog):
2606 * insetfloatlist.C (edit):
2607 * insetgraphics.C (localDispatch, edit):
2608 * insetinclude.C (localDispatch, edit):
2609 * insetindex.C (edit):
2610 * insetlabel.C (edit):
2611 * insetminipage.C (localDispatch, showInsetDialog):
2612 * insetref.C (edit):
2613 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2614 resetPos, showInsetDialog, openLayoutDialog):
2615 * insettoc.C (edit):
2616 * inseturl.C (edit):
2617 * insetwrap.C (localDispatch, showInsetDialog):
2618 changes due to the changed MailInset interface.
2620 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2622 * insetfloat.h: Set default placement to an empty string.
2624 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2626 * insettext.C (latex): adjust call to latexParagraphs.
2628 2003-03-10 Angus Leeming <leeming@lyx.org>
2630 * mailinset.C: warn the user if the BufferView has not been cached.
2632 2003-03-10 Angus Leeming <leeming@lyx.org>
2634 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2636 * insetcommand.h (inset):
2637 * insetert.h (inset):
2638 * insetexternal.h (inset):
2639 * insetfloat.h (inset):
2640 * insetgraphics.h (inset):
2641 * insetinclude.h (inset):
2642 * insetminipage.h (inset):
2643 * insettabular.h (inset):
2644 * insetwrap.h (inset):
2645 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2647 2003-03-10 Angus Leeming <leeming@lyx.org>
2649 * insetcommand.C (string2params):
2650 * insetexternal.C (string2params):
2651 * insetfloat.C (string2params):
2652 * insetgraphics.C (string2params):
2653 * insetinclude.C (string2params):
2654 * insetminipage.C (string2params):
2655 * insettabular.C (string2params):
2656 * insetwrap.C (string2params): cure warning message about missing
2659 2003-03-09 Angus Leeming <leeming@lyx.org>
2661 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2662 it to communicate with the frontend dialogs.
2664 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2665 contents of this inset!
2667 2003-03-07 Angus Leeming <leeming@lyx.org>
2669 * inseterror.C (localDispatch): new method; calls edit() on
2672 2003-03-07 Angus Leeming <leeming@lyx.org>
2674 * insetbibitem.C (localDispatch):
2675 * insetbibtex.C (localDispatch):
2676 * insetlabel.C (localDispatch):
2677 rewrite as a switch.
2679 2003-03-07 Angus Leeming <leeming@lyx.org>
2681 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2682 it to communicate with the frontend dialogs.
2684 2003-03-07 Angus Leeming <leeming@lyx.org>
2686 * insetexternal.C: remove operator== and operator!= for
2687 InsetExternal::Params. They were used only by the old controller
2690 2003-03-07 Angus Leeming <leeming@lyx.org>
2692 * insetcommand.C (localDispatch):
2693 * insetexternal.C (localDispatch):
2694 * insetfloat.C (localDispatch):
2695 * insetinclude.C (localDispatch):
2696 * insetminipage.C (localDispatch):
2697 * insetwrap.C (localDispatch):
2698 add LFUN_INSET_DIALOG_UPDATE to the switch.
2700 2003-03-07 Angus Leeming <leeming@lyx.org>
2702 * insetcommand.C (string2params):
2703 * insetexternal.C (string2params):
2704 * insetfloat.C (string2params):
2705 * insetinclude.C (string2params):
2706 * insetwrap.C (string2params): use LyXLeX more.
2709 * insetexternal.[Ch]:
2711 * insetinclude.[Ch]:
2712 * insetwrap.[Ch]: change Mailer::name_ to be static.
2714 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2715 it to communicate with the frontend dialogs.
2717 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2720 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2722 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2724 * insettext.C (updateLocal): un-const function
2725 (updateLocal): adjust
2726 (collapseParagraphs): un-const function
2727 (collapseParagraphs): adjust
2729 2003-03-05 Angus Leeming <leeming@lyx.org>
2731 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2732 it to communicate with the frontend dialogs.
2734 2003-03-05 Angus Leeming <leeming@lyx.org>
2736 * insetcollapsable.C (draw): cache the BufferView.
2738 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2739 it to communicate with the frontend dialogs.
2741 2003-03-05 Angus Leeming <leeming@lyx.org>
2743 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2746 2003-03-05 Angus Leeming <leeming@lyx.org>
2748 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2750 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2751 it to communicate with the frontend dialogs.
2753 2003-03-05 Angus Leeming <leeming@lyx.org>
2755 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2756 it to communicate with the frontend dialogs.
2758 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2760 * insettext.C (collapseParagraphs): adjust
2761 (appendParagraphs): make it take a Buffer* instead of a
2762 BufferParams& as arg.
2763 (appendParagraphs): adjust
2765 2003-03-04 Angus Leeming <leeming@lyx.org>
2767 * insetbibitem.C (localDispatch):
2768 * insetbibtex.C (localDispatch):
2769 * insetcommand.C (localDispatch):
2770 * insetert.C (localDispatch):
2771 * insetlabel.C (localDispatch):
2772 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2774 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2776 * insettext.C (latex): adjust for ParagraphList::iterator
2778 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2780 * insetbutton.C (view): adjust for boost 1.30.0
2781 * insetcollapsable.C (view): ditto
2782 * insetgraphics.C (statusChanged): ditto
2784 * insettext.h: move paragraphs to be public.
2786 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2788 * insetnote.[Ch] (InsetNote): remove unused constructor
2790 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2792 * insetgraphics.C: added include "format.h"
2794 2003-02-27 Angus Leeming <leeming@lyx.org>
2796 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2799 2003-02-27 Angus Leeming <leeming@lyx.org>
2801 * insetbibitem.C (localDispatch):
2802 * insetbibtex.C (localDispatch):
2805 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2807 2003-02-26 Angus Leeming <leeming@lyx.org>
2809 * insetbibitem.[Ch] (localDispatch):
2810 * insetbibtex.[Ch] (localDispatch):
2811 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2813 * insetcommand.C (localDispatch):
2814 act only on receipt of LFUN_XYZ_APPLY.
2816 * insetert.C (localDispatch): reformat.
2817 add LFUN_XYZ_APPLY to the switch.
2819 2003-02-26 John Levon <levon@movementarian.org>
2821 * insettext.C: use RowPainter
2823 * inset.h: make helpers take const *
2825 2003-02-26 Angus Leeming <leeming@lyx.org>
2827 * insetcommand.[Ch] (localDispatch): new method.
2829 2003-02-26 Angus Leeming <leeming@lyx.org>
2831 * insetinclude.C (draw): cache the BufferView* using cache not
2832 PreviewImpl::setView
2834 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2836 * insetgraphics.C (draw)
2837 * insetinclude.C (draw): Eliminate also the other argument (owner
2838 inset inset) in the call to PreviewImage::image
2840 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2842 * insetgraphics.C (draw)
2843 * insetinclude.C (draw): Eliminate Buferview argument in call to
2846 2003-02-25 John Levon <levon@movementarian.org>
2848 * insetgraphicsParams.h:
2849 * insetgraphics.C: don't start a load process if
2850 the inset is set to NoDisplay (bug #920)
2852 2003-02-22 John Levon <levon@movementarian.org>
2855 * insetwrap.C: TocItem changed API (bug 913)
2857 2003-02-21 Angus Leeming <leeming@lyx.org>
2859 * insetcollapsable.[Ch] (cache, edit):
2860 * insetbutton.[Ch] (cache, edit): new methods to cache the
2861 BufferView in the draw method.
2863 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
2864 simplify comunication between InsetCommand-derived classes and
2867 * insetbibitem.[Ch]:
2871 * insetfloatlist.[Ch]:
2875 * inseturl.[Ch]: small changes to reflect the new interface to the
2878 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
2879 other, similar classes.
2881 * Makefile.am: add new files.
2883 2003-02-21 Angus Leeming <leeming@lyx.org>
2885 * updatableinset.h (setView, view): remove.
2886 * inset.h (view, cache): to be replaced by these.
2888 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
2891 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
2894 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
2896 2003-02-21 Allan Rae <rae@lyx.org>
2898 * insetinclude.C (loadIfNeeded): ensure loading also works when
2899 child document is under version control.
2901 2003-02-17 André Pönitz <poenitz@gmx.net>
2903 * insetbib.[Ch]: Adjust access to bibkeys
2905 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2907 * insetquotes.C (dispString): remove use of acute accent for "'"
2910 2003-02-14 John Levon <levon@movementarian.org>
2912 * insettabular.C: changed method names in tabular.C
2914 2003-02-14 John Levon <levon@movementarian.org>
2918 * insetcollapsable.h:
2919 * insetcollapsable.C:
2923 * insettext.C: remove unused getParFromID()
2925 2003-02-13 John Levon <levon@movementarian.org>
2928 * insettext.C: remove unused beginningofMainBody()
2930 2003-02-08 John Levon <levon@movementarian.org>
2934 * insetcollapsable.h:
2935 * insetcollapsable.C:
2940 add nextChange(). Make allowSpellcheck() const. Add markErased().
2942 * insetert.C: ignore deleted text
2944 * insettabular.C: make sure to keep change tracking working
2947 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
2952 * insettext.C: Use error messages with identical spelling and punctuation
2954 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
2956 * insetgraphics.C (draw, width): Fix spacing around graphics inset
2958 2002-12-17 Juergen Vigna <jug@lyx.org>
2960 * insettext.C (localDispatch): hopefully fixed cursor up down
2961 movement on leaving other insets.
2963 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
2965 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
2968 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2970 * insetgraphics.C (prepareFile): do not remove the extension of
2971 the file name if it is not the default extension for the given
2972 format (that is, in latex output, remove extension from foo.eps,
2973 but not from foo.epsi)
2975 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
2977 * insettext.C (lfunMouseRelease): hackish solution to the "double
2980 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
2982 * insetfloat.C (addToToc): use the floats name not its type
2983 * insetwrap.C (addToToc): ditto
2985 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
2987 * insetnote.C (init): make label font smaller
2989 2002-12-04 John Levon <levon@movementarian.org>
2991 * insetinclude.C: ressurect setting of command name
2993 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2995 * insetquotes.C (dispString): disambiguate insert call
2997 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * several files: ws changes
3001 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3003 * insetquotes.C (dispString): use string::insert for prepending a
3006 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3008 * insetparent.C (getScreenLabel): use boost::format
3010 * insetgraphics.C (prepareFile): use boost::format
3013 * insetfloatlist.C (latex): use boost::format
3015 * insetcaption.C (draw): use boost::format
3017 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3019 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3022 2002-11-20 Juergen Vigna <jug@sad.it>
3024 * insettabular.C (resetPos): temporary fix for endless loop in
3025 this function on a redraw.
3027 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3029 * insettabular.C (copySelection): STRCONV
3031 * insetinclude.C (uniqueID): STRCONV
3032 (latexString): ditto
3034 * insetgraphics.C: put VersionNumber inside anon namespace
3035 (createLatexOptions): STRCONV
3037 * insetcommandparams.C: include config.h
3039 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3041 * insetgraphicsParams.C (Write): use lyx::float_equal.
3042 Write height data correctly.
3043 (Read): zero scale when reading height data.
3045 2002-10-30 John Levon <levon@movementarian.org>
3047 * insetfloat.C (addToTOC): recursively traverse all
3048 contents looking for captions (fix #568)
3050 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3052 * insetexternal.C (doSubstitution): do not try to replace
3053 environment variables, this is done when executing the command
3055 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3057 * insetexternal.C (doSubstitution): change order of substitution
3058 to work around ReplaceEnvironmentPath brokenness
3060 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3062 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3064 * insetgraphicsParams.C (init, Write): associated changes
3065 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3066 InsetGraphicsParams::scale.
3068 2002-10-21 John Levon <levon@movementarian.org>
3070 * inset.h: remove unused DISPATCH_RESULT
3072 * insettext.C: sgml open/close tag now in sgml namespace
3074 2002-10-21 Angus Leeming <leeming@lyx.org>
3076 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3077 file path subdir/fig.eps when pasting it into a buffer in a different
3080 2002-10-16 John Levon <levon@movementarian.org>
3082 * insetspecialchar.C: remove \\protected_separator parsing
3084 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3086 * insetquote.C: fix LaTeX output of quotation marks.
3088 2002-10-14 Juergen Vigna <jug@sad.it>
3090 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3091 Backspace functions which confused the Undo handling.
3093 2002-10-09 Angus Leeming <leeming@lyx.org>
3095 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3096 BufferView::dispatch that turns off this optimisation when a new inset
3099 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3100 reload the BibTeX keys.
3102 2002-10-11 André Pönitz <poenitz@gmx.net>
3104 * insettext.h: handle LFUN_PRIOR/NEXT
3106 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3108 * insetfloat.C: fix bug with float settings
3109 (document default != float default).
3111 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3113 * insetwrap.C (addToToc): New method.
3114 (InsetWrap): Set layout to caption.
3116 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3118 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3120 2002-09-16 John Levon <levon@movementarian.org>
3122 * insettabular.h: hasSelection() needs to be public
3124 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3126 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3128 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3130 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3132 2002-09-11 André Pönitz <poenitz@gmx.net>
3134 * insettabular.C: implement LFUN_WORDSEL
3136 2002-09-10 John Levon <levon@movementarian.org>
3138 * insetinclude.h: remove unused param
3140 2002-09-09 John Levon <levon@movementarian.org>
3143 * insetinclude.C: remove noload, default to input
3145 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3147 * insetgraphics.C: disfuscated use of ']' in built output string.
3149 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3151 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3153 2002-08-29 Juergen Vigna <jug@sad.it>
3155 * insettabular.C (lfunMousePress): Pay attention where you set
3156 the x/y values as they depend on which inset in the tabular is
3157 actually locked. So you surely have to reset them if you (un)lock
3160 2002-08-29 André Pönitz <poenitz@gmx.net>
3162 * insetfootlike.h: rename include guard to ALL CAPS
3164 * insettext.C: swap object and first parameter for checkInsetHit calls
3165 as this functions has moved from BufferView to LyXText
3168 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3170 * insetgraphicsParams.C: remove local displayTranslator and use
3171 the one from graphics/GraphicsTypes.h.
3173 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3175 * insetfloat.C (wide): add BufferParams parameter
3177 * insetfloatlist.C (read):
3180 * insetfloat.C (latex):
3182 * insetcaption.C (draw): use LyXTextClass::floats()
3184 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3186 * insetoptarg.h: add std:: qualifier.
3188 2002-08-26 Juergen Vigna <jug@sad.it>
3190 * insettext.C (localDispatch): ditto.
3192 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3194 2002-08-25 John Levon <levon@movementarian.org>
3196 * inseturl.C: elide long URLs (bug 404)
3198 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3200 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3201 remove "Format Version <version_no.>" string from inset header
3204 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3206 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3207 a member of "grfx::Params" anymore.
3209 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3211 2002-08-24 John Levon <levon@movementarian.org>
3214 * insetoptarg.C: ws, pedantry ...
3216 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3218 * insettext.C (collapseParagraphs): pasteParagraph now in global
3220 (appendParagraphs): ditto
3222 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3224 * insetcite.C (latex): Remove spaces only after commmas.
3226 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3228 * insettext.C: remove NO_COMPABILITY stuff
3230 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3232 * insettext.C (edit): use ParagraphList iterators
3234 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3235 (bibitemWidest): ditto
3237 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3239 * insettext.C: include <boost/bind.hpp>
3240 add using std::for_each
3241 (saveLyXTextState): use ParagraphsList::iterator
3242 (init): use for_each on paragraphlist iterators
3243 (InsetText): remove superflous setting cached_bview to 0
3244 (latex): reformat a bit
3245 (ascii): use paragraphlist iterators
3246 (validate): use for_each + boost bind
3247 (getLabelList): use paragraphlist iterators
3248 (deleteLyXText): use for_each + boost::bind
3249 (resizeLyXText): ditto
3250 (reinitLyXText): ditto
3251 (removeNewlines): use paragraphlist iterators
3252 (getParFromID): ditto
3253 (paragraph): use for_each + boost::bind
3254 (getInsetFromID): use paragraphlist iterators
3255 (getLabelList): typo fix
3257 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3259 * insettext.C (read): assign tmp to paragraphs after return from
3260 call to parseSingleLyXformat2Token
3263 2002-08-13 Angus Leeming <leeming@lyx.org>
3282 changes due to the changed LyXView interface that now returns references
3283 to member variables not pointers.
3285 2002-08-13 Angus Leeming <leeming@lyx.org>
3288 * insetcollapsable.h:
3291 * insettext.h: forward-declare WordLangTuple
3292 (selectNextWordToSpellcheck) constify return type.
3295 * insetcollapsable.C:
3298 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3300 2002-08-12 Angus Leeming <leeming@lyx.org>
3302 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3304 2002-08-12 Juergen Vigna <jug@sad.it>
3306 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3309 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3311 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3312 (bibitemWidest): ditto
3313 * insettext.[Ch]: ditto
3315 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3317 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3319 2002-08-09 Angus Leeming <leeming@lyx.org>
3321 * insetinclude.C (latexString): remove fudge now that I've found out
3322 how to enable LaTeX to find the file using input@path.
3324 2002-08-09 John Levon <levon@movementarian.org>
3327 * insettext.C: remove unused xpos
3329 2002-08-07 Juergen Vigna <jug@lyx.org>
3331 * insettabular.C (localDispatch): make delete not put the stuff
3332 in the clipboard only do this on a cut operation.
3334 * insettext.C (localDispatch): make delete and backspace not put
3335 selected stuff to the clipboard.
3337 2002-08-07 André Pönitz <poenitz@gmx.net>
3340 * insetcollapsable.[Ch]:
3344 * insettabular.[Ch]:
3345 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3347 2002-08-06 John Levon <levon@movementarian.org>
3351 * insetcollapsable.h:
3352 * insetcollapsable.C:
3358 * insettext.C: use WordLangTuple for spellcheck
3360 2002-08-06 Angus Leeming <leeming@lyx.org>
3362 * insetinclude.C: add a monitor to the previewed image, so that the
3363 image is refreshed if the \input-ed file changes.
3365 2002-08-04 John Levon <levon@movementarian.org>
3368 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3370 2002-08-02 Angus Leeming <leeming@lyx.org>
3372 * insetcommandparams.[Ch] (preview): new methods returning and setting
3373 a new bool preview_ flag.
3374 (read): read this flag.
3375 (operator==): add flag to check.
3377 * insetinclude.C (write): output new preview() flag.
3378 (previewWanted): use this flag.
3380 2002-08-02 Angus Leeming <leeming@lyx.org>
3382 * insetcollapsable.[Ch] (addPreview):
3383 * insettabular.[Ch] (addPreview):
3384 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3385 for insets in insets.
3387 2002-08-02 Angus Leeming <leeming@lyx.org>
3389 * insetcite.C: fix typo.
3391 * insetgraphics.C: kill current_view and instead cache the BufferView
3394 * insetinclude.C: kill current_view and pass the BufferView to the
3395 PreviewedInset so that it can cache it.
3397 2002-08-01 Angus Leeming <leeming@lyx.org>
3399 * inset.h (generatePreview): renamed as addPreview.
3400 (generatePreview): new method. Allows code to be moved out of
3401 math_nestinset.C and into the new PreviewedInset class.
3403 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3404 add previews to the inset when \input-ing LaTeX.
3406 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3408 * several files: strip,frontStrip -> trim,ltrim,rtrim
3410 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3412 * insetbib.C (latex): modify because of strip changes
3414 * insetnote.C (InsetNote): ditto
3416 2002-07-26 Juergen Vigna <jug@sad.it>
3418 * insettabular.C (searchForward): check for lastcell if we
3419 had a locking inset.
3421 2002-07-25 Juergen Vigna <jug@sad.it>
3423 * insettabular.C (insetMotionNotify): Don't update the screen
3424 if we didn't do nothing.
3425 (searchForward): last cell was not checked.
3427 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3429 * insetfloat.C (read, write): Allow default placement
3430 (floatPlacement_ is empty).
3432 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3434 * insetminipage.h (noFontChange):
3435 * insettabular.h (noFontChange):
3436 * insetfootlike.h (noFontChange):
3437 * insetfloat.h (noFontChange): return true
3439 * inset.h (noFontChange): new method, defaulting to false
3441 2002-07-22 Herbert Voss <voss@lyx.org>
3443 * insetgraphicsParams.[Ch]: support size_type for old docs
3445 2002-07-22 Herbert Voss <voss@lyx.org>
3448 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3451 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3453 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3455 * insetlatexaccent.h: do not include "lyxlex.h"
3457 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3460 * insetlatexaccent.C:
3464 * insetbib.C: #include "lyxlex.h"
3470 * insettext.C: use BufferParams::getLyXTextClass
3473 * insetfloat.C (addToToc): new method. Add to toclist the entries
3474 corresponding to Caption layouts
3475 (InsetFloat): when creating a new float, set the layout to "Caption"
3477 2002-07-21 Herbert Voss <voss@lyx.org>
3479 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3480 image relevant part into graphics/GraphicsImgae.C
3482 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3484 * insettoc.C (ascii):
3485 * insetfloatlist.C (ascii): change to use the new Toc functions
3486 instead of stuff that was in Buffer
3488 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3490 * insettext.C (localDispatch): BufferView::Dispatch has been
3491 renamed to BufferView::dispatch
3493 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3495 * insetgraphicsParams.C (as_grfxParams): use the new
3496 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3497 1.2.0 patch, and I do not really know how to adapt it to the new
3498 grfx::Cache world. Angus, please could you have a look?
3500 2002-05-01 Herbert Voss <voss@lyx.org>
3502 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3504 2002-07-18 Angus Leeming <leeming@lyx.org>
3506 * insetgraphics.C: clean-up comments (from Herbert).
3507 add a new checksum variable to the cache. Use it in PrepareFile.
3508 (draw): start monitoring the file for a change.
3509 (prepareFile): re-arrange a little to avoid unnecessary steps.
3511 2002-07-17 Angus Leeming <leeming@lyx.org>
3513 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3514 a method rather than to the signal directly.
3516 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3518 * insettext.C: use view_state_changed, switchKeyMap
3520 2002-07-17 Herbert Voss <voss@perce.de>
3522 * insetgraphics.C (prepareFile): keep the extension when
3523 exporting to nice file
3525 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3527 * insetcite.C (getNatbibLabel):
3528 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3530 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3532 * insetgraphics.C: use ->isDrawable()
3534 2002-07-12 Angus Leeming <leeming@lyx.org>
3536 * insetgraphics.C: use the new smart loading capabilities of the image
3539 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3541 * insettabular.C (edit): Move into correct cell when entering a
3544 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3547 2002-07-05 Angus Leeming <leeming@lyx.org>
3549 * inset.h (generatePreview): new virtual method.
3551 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3553 * insetcommandparams.[Ch] (operator=): move out of class
3554 (operator!): move out of class
3556 2002-07-04 André Pönitz <poenitz@gmx.net>
3558 * insetcommandparams.[Ch]: new files
3560 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3562 2002-06-15 Herbert Voss <voss@perce.de>
3564 * insetgraphics.C (prepareFile): bugfix; return always
3565 files without extension
3567 2002-06-28 Angus Leeming <leeming@lyx.org>
3569 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3570 rename asGParams -> as_grfxParams.
3572 * insetgraphics.C: reflect above change.
3574 2002-06-26 Angus Leeming <leeming@lyx.org>
3576 * insetgraphics.h: use boost::scoped_ptr in preference to
3579 2002-06-26 Angus Leeming <leeming@lyx.org>
3581 * insetgraphics.C: moved the image loading stuff into a new class
3582 grfx::Loader. Simplifies this file enormously.
3584 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3586 * insetgraphicsParams.C: changes aassociated with moving
3587 grfx::DisplayType out of grfx::GParams.
3589 2002-06-26 André Pönitz <poenitz@gmx.net>
3591 * insetgraphics.C: use os::external_path where necesaary according to a
3592 patch from Claus Hentschel)
3594 2002-06-25 Angus Leeming <leeming@lyx.org>
3596 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3597 generating a pixmap once the graphics file is loaded into memory.
3598 The current_view ugliness that was in grfx::ModifiedImage has been
3599 moved here now that grfx::ModifiedImage is no more.
3601 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3603 * insettext.C: layout as layout
3605 2002-05-28 André Pönitz <poenitz@gmx.net>
3607 * insetfloatlist.h: remove source of compiler warning
3609 * insetref.C: tiny whitespace
3611 2002-06-15 Herbert Voss <voss@perce.de>
3613 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3614 and take always convert when no userdefined converter was
3616 (latex) small changes in the lyxerr output
3618 2002-06-15 LyX Development team <lyx@rilke>
3620 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3621 mixed content. Small white spaces clean.
3623 2002-06-14 Angus Leeming <leeming@lyx.org>
3625 * inseetexternal.C: remove the using std::difftime declaration.
3627 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3629 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3631 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3633 * insetquotes.C (draw): fix drawing of double quotes
3635 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3637 * insettabular.C: s/scrollCB/scrollDocView/
3639 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3641 * insettext.C: change of topCursorVisible()
3644 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3647 * insettext.C: rename/change of LyXScreen
3649 2002-06-07 Angus Leeming <leeming@lyx.org>
3651 Fixes needed to compile with Compaq cxx 6.5.
3653 all c-library variables have been moved into namespace std.
3654 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3656 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3658 * insetinclude.C (uniqueID):
3659 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3660 conflicted with some AIX headers.
3662 2002-05-31 Juergen Vigna <jug@sad.it>
3664 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3668 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3670 * insetexternal.C (clone): fix () bug when using new
3671 (updateExternal): don't only look for difftime in global scope
3673 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3675 * insettabular.C: add const
3677 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3679 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3680 file name, in case there are weird characters like ',' in there.
3683 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3685 * switch from SigC signals to boost::signals.
3687 2002-05-28 André Pönitz <poenitz@gmx.net>
3689 * insets/insetgraphicsParams.[Ch]:
3690 put in inset related stuff from src/graphic
3692 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3700 * insetcollapsable.C:
3701 * insetcollapsable.h:
3729 * inseturl.h: use mouse_state. Kill insetKeyPress
3731 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3736 * insetcollapsable.C:
3739 * insetlatexaccent.C:
3741 * insetspecialchar.C:
3743 * insettext.C: name change for font metrics
3745 2002-05-24 Juergen Vigna <jug@sad.it>
3747 * insetgraphics.h: include inset.h first (for LString.h)
3749 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3751 * insettext.C: screen moved
3753 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3771 * inseturl.C: LyXView moved into frontends/
3773 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3778 * insetcollapsable.C:
3782 * insetgraphicsParams.C:
3783 * insetlatexaccent.C:
3785 * insetspecialchar.C:
3787 * insettext.C: move Painter to frontends/
3789 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3791 * insettabular.h: use more specific smart_ptr header.
3792 * insettext.h: ditto
3794 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3797 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3799 * insettext.C: clear selection on paste (bug 393)
3801 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3803 * insettext.C (latex): Honor the moving_arg argument.
3805 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3807 * insetfoot.C (latex): if a footnote is in a title layout, then it
3808 is a \thanks. And then, its contents is a moving argument.
3810 2002-05-14 Juergen Vigna <jug@sad.it>
3812 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3815 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3817 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3818 when using options "Full author list" or "Upper case".
3820 2002-05-14 Herbert Voss <voss@perce.de>
3822 * insetgraphics.C (prepareFile): allow files with same name
3824 (readFigInset): set the flags from old figinset in the right
3826 (findTargetFormat): more comments
3828 2002-05-14 Juergen Vigna <jug@sad.it>
3830 * insettext.C (edit): tell checkAndActivateInset() that we don't
3831 have a button press.
3832 (checkAndActivateInset): if button < 0 we don't have a button press
3833 on the inset and os we won't call edit on it if it's not a Highly
3834 editable inset (then we have to enter it).
3836 2002-05-13 Juergen Vigna <jug@sad.it>
3838 * insetcollapsable.C (insetButtonRelease): returned wrong return
3841 2002-05-09 Juergen Vigna <jug@sad.it>
3843 * insetcollapsable.C (edit): first_after_edit should only be
3844 set to true if we enter this inset and it was collapsed so we
3845 open it up. This is needed to reclose it after a search/replace
3846 or spellcheck function opened it and was negative.
3848 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3850 * insetfloat.C (latex): Return correct value.
3852 2002-05-04 Herbert Voss <voss@perce.de>
3854 * InsetgraphicsParams.C (read): fix bug with WH
3856 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3858 * insetfloat.C (latex): More sensible latex output
3859 (fix the problem with endfloat).
3861 2002-05-02 José Matos <jamatos@fep.up.pt>
3863 * insetgraphics.C (validate): acess params as everyone else.
3865 2002-05-03 Juergen Vigna <jug@sad.it>
3867 * insettabular.C (fitInsetCursor): recalculate the cursor position
3870 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
3872 * InsetgraphicsParams.[Ch]: whitespace.
3874 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
3876 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
3877 float type do not exist.
3879 2002-04-28 Herbert Voss <voss@perce.de>
3881 * insetgraphics.C (latex): fix bug with missing file-extension.
3882 LaTeX still allows a missing "eps" or "ps".
3884 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
3886 * insetfloat.C (c-tor, wide): translate the name of the float.
3888 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
3890 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
3891 when using natbib and make it work efficiently. Must emphasise that the
3892 real work is Herbert's.
3894 2002-04-23 Herbert Voss <voss@perce.de>
3896 * insetgraphic.C (prepareFile): fix bug with overwriting and
3897 deleting an existing *.eps-file in the doc-dir
3899 2002-04-23 Juergen Vigna <jug@sad.it>
3901 * insettabular.C (drawCellSelection): fix off by 1 error.
3903 2002-04-22 Juergen Vigna <jug@sad.it>
3905 * insettabular.C (setFont): rewoke full selection if it was asked,
3906 after we changed all we had to change.
3908 * insettext.C (insetUnlock): code was uninitialized in some situations.
3910 2002-04-19 Herbert Voss <voss@perce.de>
3912 * insetgraphic.C (prepareFile): return filename without
3913 extension if we only export without compiling
3915 2002-04-19 Juergen Vigna <jug@sad.it>
3917 * insettext.C (draw): call a fullRebreak on the row where we had a
3918 change and reset the cursor and selection-cursors.
3920 * insettabular.C (insetUnlock):
3921 (insetButtonPress): call an update before setting the_locking_inset = 0
3922 as otherwise we don't repaint!
3923 (update): reset the cursor position when we changed dimensions as
3924 otherwise our cursor may be on the wrong spot.
3926 2002-04-18 Juergen Vigna <jug@sad.it>
3928 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
3929 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
3930 redraw otherwise we won't redraw.
3932 * insettext.C (draw): fixed the setting of LyXText::first_y it was
3933 not really right before, but I only discovered this with the last
3934 changes to Page up/down.
3936 2002-04-17 Juergen Vigna <jug@sad.it>
3938 * insettext.C (checkAndActivateInset): simplified as we now have the
3939 edit(bv, bool) call.
3941 * insettext.h: changed behind variables to front variables to be
3942 equal to the one in the edit call (as it is for that they are used).
3944 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3946 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
3947 not output anything at all!
3949 2002-04-16 Juergen Vigna <jug@sad.it>
3951 * insettabular.C (insetButtonPress):
3952 (insetUnlock): call a redraw on unlocking the cell inset.
3954 * insettext.C (insetButtonPress): same as below.
3955 (lockInset): new function to set initial values when inset should
3957 (insetButtonPress): use above function.
3958 (insetUnlock): don't force a repaint only set the updateStatus. The
3959 outside world should repaint if it thinks it should be done!
3961 * insettabular.C (insetButtonPress): init values if not set as locked
3962 as we are locked if someone presses on us and don't call the edit()
3963 call of the InsetText to lock it do it as BufferView does it!
3965 * inset.h (insetInInsetY): make func const and return an int.
3968 * insetcollapsable.C: adapt the above changed function.
3970 2002-04-15 Juergen Vigna <jug@sad.it>
3972 * insettext.C (getCursorPos): return relative position as to be able
3973 to give them directly to the edit() call.
3974 (edit): we have to set also x_fix as it is not set inside the
3975 setCursorFromCoordinates call!
3976 (insetMotionNotify): ditto.
3978 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
3980 * insetbib.C (getKeys): strip leading '\t's from the line too.
3981 With thanks to Henry Pfister <hpfister@ucsd.edu>.
3983 2002-04-12 Juergen Vigna <jug@sad.it>
3985 * insettext.h: added cix() helper function and use it where appropriate
3987 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3989 * insetgraphics.C (prepareFile): fix bug when graphics is a
3992 2002-04-12 Juergen Vigna <jug@sad.it>
3994 * insettext.C (insertInset): remove unneeded code!
3995 (updateLocal): fitCursor() fixes.
3996 (collapseParagraphs): fix a possible problem when having a selection
3997 and collapsing the paragraphs.
3999 2002-04-08 Herbert Voss <voss@perce.de>
4001 * insetgraphic.C (write): write the rotating angle as
4002 a float as is. test only for != 0.0
4004 2002-04-11 Juergen Vigna <jug@sad.it>
4006 * insettext.C: new function ciy() and use it for setting inset_y.
4008 * insetert.C (draw): fix the x return for collapsed version.
4010 2002-04-07 Herbert Voss <voss@perce.de>
4012 * insetgraphic.C (readFigInset): fix bug with subcaption and
4015 2002-04-08 Herbert Voss <voss@lyx.org>
4017 * insetgraphicsparam.C: forgot special option and delete old
4020 2002-04-05 Juergen Vigna <jug@sad.it>
4022 * insettext.C (localDispatch): make a CURSOR update if we inserted
4025 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4027 * insetfloatlist.C (getScreenLabel):
4028 (latex): use Floating::listName
4029 (validate): new method
4031 2002-04-03 José Matos <jamatos@fep.up.pt>
4033 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4035 * insetfoot.[Ch] (docbook): added forgotten method.
4037 2002-04-03 Juergen Vigna <jug@sad.it>
4039 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4040 way as in Bufferview_pimpl.
4042 2002-04-03 Allan Rae <rae@lyx.org>
4044 * insetgraphics.C (latex): one % too many makes living on the bleeding
4045 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4047 2002-03-28 Herbert Voss <voss@lyx.org>
4049 * insetgraphic.C (latex): simplify the code for the latex
4050 output when the file doesn't exist
4052 2002-03-29 Juergen Vigna <jug@sad.it>
4054 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4057 * insettabular.C (edit): call fitCursor().
4059 * insettext.C (insetButtonPress): change behaviour of no_selection
4060 to the one in the BufferView selection_possible and fix the spurious
4061 selection bug with it.
4062 (localDispatch): revoke selection on BREAK... functions.
4064 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4066 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4068 2002-03-28 Juergen Vigna <jug@sad.it>
4070 * insettabular.C (insetAllowed): return true as default value otherwise
4071 we're not able to insert insets inside paragraphs of an not locked
4074 2002-03-27 Herbert Voss <voss@lyx.org>
4076 * insetgraphicsparam.C: change c%, p% to col%, page%
4078 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4080 * insetspecialchar.C (isLineSeparator): disable the nice code to
4081 allow linebreaks after hyphenation and menu separators.
4083 2002-03-26 Herbert Voss <voss@lyx.org>
4085 * insetgraphics.C (figinsetRead): set the right lyxview
4087 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4089 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4090 $\backslash$ and pass a "string const &" to the function.
4091 (prepareFile, latex): use Path rather than MakeAbsPath.
4093 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4095 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4096 proper fix to the graphics cache.
4097 (latex): "really" nice output if the file is not found ;-)
4099 2002-03-26 Juergen Vigna <jug@sad.it>
4101 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4102 (collapseParagraphs): fixed inserting of separator ' '
4104 * insettabular.C (insertAsciiString): only check for buffer lenght
4105 not if we have \t or \n inside the buffer as if we don't have we only
4106 have 1 cell and that's it!
4108 * insetert.C (close): don't collapse if inlined.
4110 2002-03-25 Herbert Voss <voss@lyx.org>
4112 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4113 graphics file does not exist.
4115 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4117 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4118 path when preparing export.
4120 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4121 no longer MakeRelPath.
4123 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4125 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4126 Used to determine the absolute path to the graphics file in the
4127 graphics cache and only in the graphics cache.
4128 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4129 make graphics file name absolute if it is stored as a relative path.
4131 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4132 make graphics file name absolute if it is stored as a relative path.
4134 * insettext.C (edit): emit an updateParagraph signal on entering a text
4135 inset. Needs to be emitted when leaving the inset also.
4137 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4139 * all files: ws cleanup
4141 * Makefile.am: remove ld -r stuff
4143 2002-03-21 Juergen Vigna <jug@sad.it>
4145 * insettext.C (appendParagraphs): new function added to append
4146 the paragraphs to this insets paragraphs.
4148 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4150 * Makefile.am: special rules if partial linking
4152 2002-03-19 Juergen Vigna <jug@sad.it>
4154 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4156 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4158 * insetgraphics.C: Clean up Baruch's comments a little.
4159 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4161 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4164 * insettheorem.C: wrap warnings
4166 * insetgraphics.C: improve messages, move cached_status_
4167 setting to safer place
4169 2002-03-18 Juergen Vigna <jug@sad.it>
4171 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4173 (localDispatch): ditto
4175 * insettext.C (edit): removed unneeded showCursor calls.
4176 (localDispatch): ditto.
4178 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4180 * insetgraphics.h: remove display() method.
4182 2002-03-11 Juergen Vigna <jug@sad.it>
4184 * insetgraphics.C (draw): hack to fix the redrawing bug.
4185 (draw): seems this fixes #268 (force redraw of row if we changed).
4187 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4188 this inset text (don't know why I missed this earlier).
4190 2002-03-08 Juergen Vigna <jug@sad.it>
4192 * insettabular.C (updateLocal): do a FULL update if we're not locked
4193 and only a CELL update is asked.
4195 * insettext.C (updateInsetInInset): update insets inside inset also
4196 if it isn't inside the_locking_inset.
4198 * insettabular.C (updateInsetInInset): ditto.
4200 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4202 * insetexternal.C (doSubstitution): check whether we are using a
4203 temp dir for defining $$FPath
4205 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4208 * insettext.C: remove #include "WorkArea.h".
4210 2002-03-06 Juergen Vigna <jug@sad.it>
4212 * insettext.C (draw): fixed frame redrawing.
4213 (clear): forgot to set the inset_owner of the paragraph.
4215 * insetert.C (status): pay attention the bv can be 0 here!
4216 (getMaxWidth): add the default leftMargin
4218 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4220 * insetert.C (getMaxWidth): make w unsigned int.
4222 2002-03-05 Juergen Vigna <jug@sad.it>
4224 * insetert.C (status): change behaviour of Inlined.
4225 (getMaxWidth): added for new inlined behaviour.
4227 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4229 * insetnote.h (linuxdoc, docbook): add empty methods.
4230 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4231 before being initialized.
4233 2002-03-05 Juergen Vigna <jug@sad.it>
4235 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4236 only that one in the inset. Should be enough.
4237 (updateLocal): set the selection cursor always if we don't have a
4238 selection to be sure it's set!
4240 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4242 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4244 * insettext.C (clear): a gross hack to set layout on a newly
4247 2002-03-04 Juergen Vigna <jug@sad.it>
4249 * insettabular.C (localDispatch): inserted handling of
4250 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4251 (insertAsciiString): new helper function.
4253 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4255 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4258 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4260 * insettext.C (InsetText): initalize newly created par with
4261 default layout. add bufferparams parameter
4264 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4265 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4266 * insetert.[Ch] (InsetERT): ditto
4267 * insetfloat.[Ch] (InsetFloat): ditto
4268 * insetfoot.[Ch] (InsetFoot): ditto
4269 * insetfootlike.[Ch] (InsetFootLike): ditto
4270 * insetmarginal.[Ch] (InsetMarginal): ditto
4271 * insetminipage.[Ch] (InsetMinipage): ditto
4272 * insetnote.[Ch] (InsetNote): ditto
4273 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4275 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4277 * insettext.C: layout as string
4279 * insetinclude.C: layout as string
4281 * insetert.C: layout as string
4283 * insetbib.C: layout as string
4285 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4288 * insettabular.C: remove #include "lyx_gui_misc.h".
4290 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4295 * inset.h: remove figinset, yahoo !
4297 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4299 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4300 copy c-tor and initialise member variables in the correct order.
4302 2002-02-28 Juergen Vigna <jug@sad.it>
4304 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4306 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4308 * inset.h: ... and add a better one here.
4310 * insetcommand.C (insetButtonRelease): remove that one which was a
4313 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4315 * insetcommand.C (insetButtonRelease): ... and move it here.
4317 * inseturl.h: remove insetButtonRelease from there...
4319 2002-02-26 Juergen Vigna <jug@sad.it>
4321 * inseturl.h: Added a insetButtonRelease call returning true as
4324 * insetlabel.C (edit): Fixed wrong update handling after change I
4325 leave in the wrong code for the one who wrote it to remove and have
4326 a look what he did wrong.
4328 * insettabular.C (localDispatch): force a SELECTION update if we
4329 had a selection and we passed the event down to the inset (fix #213)
4330 (localDispatch): handle font changing stuff when we have a cell
4331 selection so that the selection is not rewoked. I don't really like
4332 this fix, but it's the only way I see to do it right now.
4334 2002-02-22 Juergen Vigna <jug@sad.it>
4336 * insettext.C (insetUnlock): set the cursor to the second paragraph
4337 if available and if the first one is empty (fix #191).
4339 2002-02-20 Juergen Vigna <jug@sad.it>
4341 * insettext.C (getDrawFont): implemented this function to call the
4342 one of the owner if present as the owner normally knows what to do
4345 * insetert.C: implement getDrawFont() function and comment out all
4346 the crap for setting a special latex font inside this inset.
4347 (InsetERT): added a Lanugage parameter to this constructor.
4349 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4350 change the font for being drawn on screen (used only in InsetERT for
4353 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4354 and also above (was missing).
4355 (updateLocal): don't remove the cell selection if we have one this
4356 should be done where we really want to remove it.
4358 2002-02-20 José Matos <jamatos@fep.up.pt>
4360 * insetinclude.h: include_label made string const.
4362 * insetinclude.C (InsetInclude): moved include_label initialization.
4365 (validate): fix support for temporary directory, for docbook and
4368 * insetgraphics.h : new private member, graphic_label, that holds
4369 the entity name that defines the graphics location (SGML).
4371 * insetgraphics.C (unique_id): new function to give a unique label
4374 (validate): the file locatation is given by an entity reference.
4376 2002-02-18 Herbert Voss <voss@lyx.org>
4378 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4380 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4382 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4383 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4385 2002-02-18 José Matos <jamatos@fep.up.pt>
4387 * insetinclude.C (validate): some code only applies to latex buffers,
4388 it was made conditional.
4390 2002-02-12 Herbert Voss <voss@lyx.org>
4392 * insetgraphics.C: (prepareFile) do not check at this time
4393 if the file is present.
4395 2002-02-12 Herbert Voss <voss@lyx.org>
4397 * insetgraphics.C: latex(), return the correct newlines
4399 2002-02-13 José Matos <jamatos@fep.up.pt>
4401 * inseturl.C (docbook): escape & in url.
4403 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4405 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4406 after HYPHENATION and MENU_SEPARATOR
4408 * inset.h (isLineSeparator): new method, returns false by default.
4410 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4412 * insetert.C (status): do not update the text inset, but the ERT
4415 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4417 * insetnote.C: use notebg for background
4419 2002-02-08 Herbert Voss <voss@lyx.org>
4422 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4423 prevent LyX from unzipping when this should be handled
4424 by latex vis the graphic.cfg.
4427 2002-02-08 Herbert Voss <voss@lyx.org>
4429 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4430 exists, than return filename with extension
4432 2002-02-06 Herbert Voss <voss@lyx.org>
4434 * insetgraphic.C: prepareFile(): don't convert the file, when
4435 it's not viewed in LyX. Saves a lot of time when opening a
4438 2002-02-05 Herbert Voss <voss@lyx.org>
4441 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4442 and adding a rotate bool similiar to subcaption
4444 2002-02-04 Herbert Voss <voss@lyx.org>
4447 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4448 similiar view to the LaTeX one. Get zipped files work.
4450 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4452 * insetgraphicsParams.C (init): set display to DEFAULT.
4453 No longer #include "lyxrc.h".
4455 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4457 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4458 for now (so that the code compiles).
4460 2002-02-02 Herbert Voss <voss@lyx.org>
4462 * insetgraphic.C: delete inVariant() and some minor changes
4463 * insetgraphicsParams.[C]:
4465 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4467 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4468 interogate lyxrc.display_graphics before diaplaying the graphic.
4470 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4471 InsetGraphicsParams::DisplayType.
4473 2002-01-31 Herbert Voss <voss@lyx.org>
4475 * insetgraphic.C: (readfigInset) set display to pref-default
4477 2002-01-30 Herbert Voss <voss@lyx.org>
4479 * insetgraphic.C: get the filetyp from it's contents
4480 * insetgraphicparams.C: add token scale and lyxrc.display when
4481 creating a new inset
4483 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4485 * figinset.C: added using std::ios directive.
4487 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4489 * figinset.C (runqueue): open translation file in binary mode (for
4492 2002-01-27 Herbert Voss <voss@lyx.org>
4494 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4495 all options and to be sure that the old figinsets are correct
4497 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4498 structure and to support all lengths as LyXLength. The Parameter
4499 structure changed again, but reading of "old" 1.2 graphic insets
4502 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4504 * insetert.h (forceDefaultParagraphs): Added
4506 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4508 * insettabular.C (getMaxWidth):
4509 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4511 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4513 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4514 of LyXLength::inPixels
4516 * inset.C (latexTextWidth):
4517 * insetminipage.C (latexTextWidth): new method, which implements
4518 the equivalent of the LaTeX macro \textwidth
4520 * insetminipage.C (getMaxWidth): use latexTextWidth
4522 2002-01-18 Juergen Vigna <jug@sad.it>
4524 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4526 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4528 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4530 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4533 2002-01-17 Juergen Vigna <jug@sad.it>
4535 * insettabular.C (lockInsetInInset): same change as in insettext.
4537 * insettext.C (draw): width() function was called without setting
4538 the right top_x which could lead to wrong insetWidth setting!
4539 (lockInsetInInset): call edit instead of calling lockInset if we
4540 have to lock an inset inside!
4541 (edit): we have to also tell the inset that we have to redraw the
4542 frame on an edit call if this inset draws a frame only if locked.
4544 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4546 * insetbib.C (getFiles): uncomment Path variable.
4548 2002-01-16 Juergen Vigna <jug@sad.it>
4550 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4553 2002-01-16 Allan Rae <rae@lyx.org>
4555 * insetinclude.C (docbook): someone forgot a ";"
4557 2002-01-16 José Matos <jamatos@fep.up.pt>
4559 * figinset.C (docbook): removed a old place holder "@".
4560 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4561 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4562 ascii text version, clearly guarded inside a CDATA section.
4563 (docbook): in docbook 4, inlinegraphics is empty.
4564 * insettabular.C (linuxdoc): export the ascii version of the table
4565 inside a CDATA section.
4567 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4569 * insetparent.C (InsetParent):
4570 * insetgraphicsParams.C (Write):
4572 * insetgraphics.C (prepareFile):
4575 * insetexternal.C (executeCommand):
4576 (doSubstitution): use Buffer::filePath
4578 * insetbib.C (getFiles): add a #warning for Angus
4580 * insetgraphics.C: Add a remark about how filenames should be
4581 considered to be relative to buffer (but absolute is still allowed)
4582 (draw): do not try to get status if lyxrc.use_gui is false
4584 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4587 * insetcollapsable.[Ch]:
4588 * insettabular.[Ch] (searchForward, searchBackward): change the
4589 bool const & params to bool.
4591 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4592 to avoid the name clash with InsetCollapsable's methods of the same
4593 names but different functionality.
4595 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4597 * insettext.C (ascii): use lyx::count rather than countChar.
4599 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4601 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4603 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4605 * insetgraphics.C (updateInset): do not try to render image if
4606 lyxrc.use_gui is false (bug #104)
4608 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4609 if file does not exist
4611 * figinset.C (browseFile): add shortcuts to directory buttons
4613 * insettext.C (updateLocal): update menubar and toolbar here too.
4615 2002-01-13 Allan Rae <rae@lyx.org>
4617 * insettabular.C (InsetTabular): Both constructors now initialise
4618 all class variables.
4620 2002-01-11 Juergen Vigna <jug@sad.it>
4622 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4624 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4626 * insettabular.C (getStatus): add forgotten brace around multiline
4629 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4631 * insetfloat.C (validate): require "float" instead of "floats".
4633 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4635 * insettabular.C (getStatus): use FuncStatus
4637 2002-01-08 Juergen Vigna <jug@sad.it>
4639 * insettabular.C (insetButtonRelease): now this should work too
4642 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4643 if the width is a percentage.
4645 * inset.h: added isChar() function and implemented this for
4646 insetspecialchar insetquotes and insetlatexaccent.
4647 added forceDefaultParagraphs() and implemented it for insettabular.
4649 2002-01-07 Juergen Vigna <jug@sad.it>
4651 * insettext.C (getLyXText): Fixed this function. An insert into the
4652 map is only done if we REALLY have a new BufferView.
4654 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4656 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4658 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4660 * insetinclude.C: fix use of FileInfo
4662 2002-01-07 Juergen Vigna <jug@sad.it>
4664 * insettabular.C (draw): fixed clearing of cell around inset.
4666 2002-01-05 Juergen Vigna <jug@sad.it>
4668 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4669 variables are updated.
4671 * insettabular.C (resetPos): set always the inset_y as it may be
4672 needed in another function.
4673 (searchBackward): don't draw while searching.
4675 2002-01-04 Juergen Vigna <jug@sad.it>
4677 * insettext.C (lockInsetInInset): forgot to set a cursor.
4679 2002-01-02 Juergen Vigna <jug@sad.it>
4681 * insettext.C (insertInset): make the correct undo informations on
4682 inserting new insets.
4684 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4686 * insettabular.C: correct single-cell select vertically
4688 2001-12-27 Juergen Vigna <jug@sad.it>
4690 * insettabular.C (ascii): export as tab-separated-values if the
4691 function was not called from export (f.ex.: clipboard).
4693 * insetcollapsable.h: added default support for ascii, linuxdoc and
4694 docbook export (the insettext is exported by default!)
4696 * insettabular.C (copySelection): suff the clipboard with the tabular
4697 data in a tab separated format, seems more naturals then with all the
4700 2001-12-24 Juergen Vigna <jug@sad.it>
4702 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4703 to check for REAL mouseMotion.
4705 2001-12-20 Juergen Vigna <jug@sad.it>
4707 * inset.C (cursor): return the owners cursor if available instead of
4708 always only the bv->text->cursor.
4710 * insettabular.C (checkLongtableSpecial): works now.
4712 2001-12-19 Juergen Vigna <jug@sad.it>
4714 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4715 this has to be always row + 1 as 0 means not selected!
4716 (checkLongtableSpecial): added
4717 (tabularFeatures): better longtable options support
4719 * insettext.C (resizeLyXText): reinit the text always also on a
4722 2001-12-18 Juergen Vigna <jug@sad.it>
4724 * insettext.C (updateInsetInInset): look if we have to autocollapse
4725 paragraps and return if the update is requested for ourself.
4727 * insetert.C (status): update the insettext not myself as that is what
4730 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4731 function only return if the update was requested with myself.
4733 * insettext.C (insetButtonPress): fixed stupid bug.
4734 (various functions): pay attention that lt is cleared BEFORE calling
4735 updateLocal() and try to use it in the right manner (don't use it
4736 if it's not really neccessary!)
4737 (collapseParagraphs): insert a blank between collapsing paragraphs
4738 if neccessary (not already there!).
4740 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4742 * insettabular.C: move includes around a bit, add a couple of
4745 * insettext.[Ch]: move includes around a bit, other ws changes and
4748 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4750 * insettext.C (insetButtonRelease): fix compile problem
4752 2001-12-17 Juergen Vigna <jug@sad.it>
4754 * insettext.C (insetButtonPress): set the selection cursor!
4755 (insetButtonPress): clear the selection (and set with that the
4756 selection.cursor) if we only hit an inset!
4758 * insetert.C (read): removed piece of compatibility code only needed
4761 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4764 * insetcollapsable.C (insetButtonRelease): changed so that it can
4765 open eventual existing popup dialogs on mousebutton==3.
4767 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4769 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4771 * inset.C (insetButtonRelease): return a bool for telling the outer
4772 world that we opened a dialog.
4774 2001-12-07 Juergen Vigna <jug@sad.it>
4776 * insettext.C (paragraph): remove the deleteing of paragraphs as
4777 it was a WRONG move!
4779 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4782 * insettabular.C: use new setSelection(). Allow
4783 selection of single cells.
4785 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4787 * insetquotes.C (latex): fix to use the local language setting at
4788 the point where the inset is inserted (different macros for
4789 different french packages)
4791 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4793 * inset.h: add par_owner_ member variable and parOwner
4796 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4798 * insettabular.C (everywhere): adapt because widths are now real
4799 widths and not strings
4801 * insettext.C (draw): re-introduce the calls to width(), ascent()
4802 and descent() to initialize the caching variables.
4804 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4806 * insettext.C (draw):
4807 (drawFrame): use insetWidth instead of last_width
4809 * insettext.h: remove variable last_width (insetWidth is exactly
4810 the same) and last_height (computed but never used!)
4812 2001-12-10 Allan Rae <rae@lyx.org>
4814 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4816 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4818 * insettext.C (insetAllowed): add comment
4820 2001-12-05 Juergen Vigna <jug@sad.it>
4822 * insettext.C (insetAllowed): fixed for the case that we directly
4823 ask the insettext from its LyXText.
4824 (paragraph): fixed the crash when assigning the par->next() from
4825 the EmptyParagraphMechanism!
4827 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4831 * insettext.C: change "while(" to "while ("
4833 2001-12-04 Juergen Vigna <jug@sad.it>
4835 * insetert.C (edit): handle Inlined status.
4837 * insettext.C (insertInset): trying John's fix for the trailing cursor
4839 * insetert.C (insetButtonPress): added to handle inlined status
4840 (insetMotionNotify): ditto.
4842 * insettext.C (clearInset): changed Painter & in BufferView * param,
4843 to be able to call ascent,descent methods.
4845 2001-12-03 Juergen Vigna <jug@sad.it>
4847 * insettext.C (updateInsetInInset): use lt variable to forbid
4848 changes of LyXText in an update call.
4849 (updateInsetInInset): fixed updating of non locked insets!
4851 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4853 * insettabular.C: capture some more functions to prevent
4854 selection drawing problems. Bug #451274
4856 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4859 * insetgraphicsParams.C: fix inverted sense of float_equal
4861 2001-11-30 Juergen Vigna <jug@sad.it>
4863 * insettabular.C (InsetTabular): use the save_id flag to create also
4864 the tabular with the same id's.
4866 * insettext.C (setParagraphData): added a same_id function for undo
4867 to set the same paragraph id's as of the paragraph we are setting.
4869 2001-11-30 José Matos <jamatos@fep.up.pt>
4872 * insettoc.[Ch]: DocBook -> docbook.
4874 2001-11-29 André Pönitz <poenitz@gmx.net>
4877 * insettext.C: further reduction of header dependencies by using
4878 lyx::layout_type and lyx::textclass_type from support/types.h
4880 2001-11-29 Juergen Vigna <jug@sad.it>
4882 * insettext.C: inserted a reinitLyXText function everywhere I delete
4883 the paragraphs! This should fixe the crashes we had.
4884 Also use the new function firstRow() instead of getRowNearY(dummy_y)
4885 (paragraph): set the InsetOwner() of the new paragraphs!
4887 2001-11-28 André Pönitz <poenitz@gmx.net>
4889 * insetnote.C: add pos initialization that I removed without
4892 2001-11-28 Juergen Vigna <jug@sad.it>
4894 * insettabular.C (resetPos): hack to not crash with infinite paints.
4896 * insettabular.h: insert missing function allowSpellcheck()!
4898 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
4900 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4903 * insetfloatlist.C: derive from InsetCommand so gui can use it
4906 2001-11-26 André Pönitz <poenitz@gmx.net>
4910 * insetnote.C: reduce header dependencies, introduce type for
4913 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
4915 * various: update for Alert.h
4917 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
4919 * inset.h: fix comment
4921 * insettext.C: use par->isInset()
4923 2001-11-22 Allan Rae <rae@lyx.org>
4925 * insetcollapsable.h:
4926 * inset.h: Changes to checkInsertChar() behaviour.
4927 Now return value indicates whether chars can be inserted.
4929 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
4931 * various: updated to use the new LaTeXFeatures
4933 2001-11-14 José Matos <jamatos@fep.up.pt>
4935 * insetspecialchar.C (linuxdoc):
4936 (docbook): don't give a name to a unused variable.
4938 * insettext.C (docbook): removed unused variable.
4940 2001-11-13 Herbert Voss <voss@perce.de>
4942 * insetgraphic.C: fix scale bug
4944 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4946 * inset.h (isSpace):
4947 (isLetter): new virtual methods.
4949 * insetspecialchar.C (isSpace):
4950 (isLetter): implement here.
4952 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
4954 * inset.h: new inline helpers
4956 * insettext.C: use new helpers
4958 2001-11-07 José Matos <jamatos@fep.up.pt>
4960 * insettext.C (docbook): full support for paragraphs inside insettext.
4962 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
4964 * insetindex.C: added header file for std::ostream.
4966 2001-11-03 José Matos <jamatos@fep.up.pt>
4968 * insetindex.C: added using std::ostream that I forgot yesterday.
4970 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
4972 * insetindex.h (docbook):
4973 * insetindex.C (docbook): added support for docbook export.
4975 2001-11-02 José Matos <jamatos@fep.up.pt>
4977 * insetcaption.C(docbook): added support for docbook export.
4979 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
4981 * insetexternal.C (updateExternal): Do not run update command if
4982 result file exists and is up to date.
4984 * ExternalTemplate.C (readFormat): Support the updateresult token.
4986 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
4988 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
4989 external_templates) to use the buffer->fileName() but only if
4990 previewing. Generating a TeX file should make FPath return
4993 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
4996 * insetert.C: fix some problems
4998 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5000 * insetexternal.C (doSubstitution): Added $$FPath token
5001 to list of usable substitutions in external inset templates.
5003 2001-10-24 Juergen Vigna <jug@sad.it>
5005 * insettabular.C: use new ltType struct for setting longtable
5006 header and footers also new UNSET enums.
5008 2001-10-24 José Matos <jamatos@fep.up.pt>
5010 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5011 (docbook): If the table is not inside a float then wrap it inside
5012 <informaltable>...</informaltable>.
5014 2001-10-23 José Matos <jamatos@fep.up.pt>
5016 * insetref.C (docbook): removed / terminator to conform SGML.
5018 * insetspecialchar.C (linuxdoc):
5019 (docbook): Added support for special chars, more than ascii export.
5021 2001-10-22 Juergen Vigna <jug@sad.it>
5023 * insettext.C (checkInsertChar): added for REALLY checking the
5024 font of the inserted char in the right inset!
5026 2001-10-19 Juergen Vigna <jug@sad.it>
5028 * inset.h: added method allowSpellcheck() so that insets who do
5029 not have anything to spellcheck can tell and so they are over-jumped.
5030 Implemented for InsetText and co.
5032 2001-10-18 Juergen Vigna <jug@sad.it>
5034 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5036 2001-10-15 José Matos <jamatos@fep.up.pt>
5038 * insetert.C: allow export for docbook and linuxdoc
5040 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5042 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5044 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5046 * insetquotes.C (dispString): fix handling of latin9 quotes
5048 2001-10-03 Juergen Vigna <jug@sad.it>
5052 * insetcollapsable.C: change updateInset calls to not tell BV that
5053 we have changed status.
5055 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5057 * insettabular.C (deletable): make const
5059 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5061 * insetert.C (latex): Fix the returned value
5063 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5065 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5066 Returns string(), so nothing in an ERT inset is spellchecked.
5068 * insetgraphics.C (draw): print the filename if not displaying the
5070 (width): make sure that the width and draw methods are consistent.
5071 (updateInset): don't even load the image into cache if not displaying
5074 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5076 * various files (selectNextWord): renamed as
5077 selectNextWordToSpellcheck.
5079 * insetgraphics.C (draw): remove the previous change. Right place
5080 is in imageLoaderXPM.C.
5081 (draw): don't display the image if params.display == NONE.
5083 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5085 * figinset.C (runqueue):
5086 * insetgraphics.C (draw): set background colour of inset from
5087 background to the user-configurable graphicsbg.
5089 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5091 * insetquotes.C (InsetQuotes): when trying to decide the side of
5092 the quote, choose `left' only after a space or '('
5094 2001-09-04 José Matos <jamatos@fep.up.pt>
5099 * insetcollapsable.h
5117 * insetlatexaccent.C
5118 * insetlatexaccent.h
5123 * insetspecialchar.C
5124 * insetspecialchar.h
5128 * insettext.C (docbook): rename docBook method to docbook.
5130 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5132 * inset.h (getFirstParagraph): New virtual method.
5134 2001-08-20 Herbert Voss <voss@perce.de>
5135 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5136 in the the bibtex-database-gui for inserting a line
5139 If no style is given than there is no tex-output.
5141 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5143 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5147 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5149 * insetert.C (latex): Fix output for multiple paragraphs.
5150 (write): New code for writing paragraph data.
5151 (read): Set font after reading the inset.
5152 (localDispatch): Call set_latex_font() for more cases.
5154 * insetnote.h: Add empty validate method.
5157 * insetnote.C (InsetNote): Set language to the language of the
5160 2001-08-16 Juergen Vigna <jug@sad.it>
5162 * insettext.C: implemented the new FINISHED states.
5164 * insettabular.C: ditto
5166 * inset.h: added more FINISHED states for cursor right,up,down
5168 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5170 * insetfloatlist.C: use "FloatName List"
5172 2001-08-14 Juergen Vigna <jug@sad.it>
5174 * insetert.C (edit): forgot to set status_ in edit calls!
5176 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5178 * insettext.C: Compilation fix
5180 2001-08-13 Juergen Vigna <jug@sad.it>
5182 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5184 * insetcollapsable.C (edit): don't recollapse an already open inset.
5186 * insettext.C: fixed problem when reinitializing LyXText by not doing
5187 it while lt is in use and post this to the next possible time in
5189 (searchForward): fixed not unlocking of inset if nothing found.
5190 (edit): set cursor behind right (was set -1 pos).
5192 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5194 * insettabular.C (tabularFeatures): fixed fix where deleting the
5195 last row didn't get the right actcell!
5197 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5199 * insettext.C (localDispatch): Change language only when the inset
5202 2001-08-10 Juergen Vigna <jug@sad.it>
5204 * insettabular.C (selectNextWordInt): use the front using edit call.
5206 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5207 the parameter overwrite class variable inset.
5209 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5211 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5212 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5214 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5215 update only for fixed with cells.
5216 (resetPos): try to fix the lockup on spellchecking or s&r.
5218 * insettext.C (update): comment this out as it seems first wrong
5219 and second not needed anymore!
5220 (some functions): call reinitLyXText() only in update() in all other
5221 positions set only need_update = INIT.
5223 2001-08-08 Juergen Vigna <jug@sad.it>
5225 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5227 * insettext.C (insetUnlock): remove double-space on inset unlock.
5229 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5231 * insettabular.C (update): fixed cursor positon after an insert.
5232 (insetAllowed): do not allow to insert insets when not inside the
5234 (draw): clear below an inset too as it could have changed height.
5236 * inset.C (getMaxWidth): fixed width for inset in inset.
5238 * insettext.C (update): small fix.
5240 * insettabular.C (tabularFeatures): added selection support to
5241 DELETE_ROW/DELETE_COLUMN.
5243 2001-08-07 Juergen Vigna <jug@sad.it>
5245 * inset.C (getMaxWidth): recoded and all it's implementations!
5247 * insettext.C (init,setParagraph+constructors): cleanups
5248 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5249 are new and I want do a save/restore of the cursor position which is
5250 not possible anymore.
5252 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5253 (searchBackward): ditto
5254 (selectNextWord): ditto
5256 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5258 * insetlatexaccent.C (checkContents): Add some debug messages
5260 2001-08-07 Juergen Vigna <jug@sad.it>
5262 * insetert.C (read): don't use InsetCollapsable::read as we don't
5263 write the collapsed status anymore only the status.
5266 2001-08-06 Juergen Vigna <jug@sad.it>
5268 * insetert.C (set_latex_font): use LyXText's setFont directly.
5270 * insettext.C (drawFrame): fixed one time more the right position
5271 and size of the frame!
5273 * insetert.C (~InsetERT): hide the dialog.
5274 (showInsetDialog): added implementation
5277 (status): new function for the status of the ERT inset (3-state).
5278 (write): output also the status of the inset for readback!
5279 (read): readback the status if available otherwise use collapsed_.
5281 * insettext.C (edit): small fix of setting the position, which could
5284 * insetert.C (width): implement this function for inlined viewing.
5285 Added minimum width of 10 pixels!
5287 * insetminipage.C (InsetMinipage): just change the colors a bit so
5288 that border/background is a bit more visible. We will remove this
5291 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5292 function for getting the important widths for drawing in various
5293 functions and in LyXText.
5294 (draw): fixed up a bit (frame drawing/clearing)
5296 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5298 * inset.C (convertFont): delete method. not used.
5300 2001-08-03 Juergen Vigna <jug@sad.it>
5302 * insettext.C (setFont): don't call for a draw update if we're just
5303 changing the cursor font!
5305 2001-08-02 Juergen Vigna <jug@sad.it>
5307 * insettext.C (draw): clear the background with the right color if
5308 needed. Update myself if x&max-width changed and return without doing
5309 anything. Let the update code handle the right stuff.
5311 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5312 inside another inset.
5314 2001-08-01 Juergen Vigna <jug@sad.it>
5316 * insetcollapsable.C (update): added an in_update bool so we avoid
5319 * insettabular.C (update): added an in_update bool so we avoid
5322 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5324 (update): added an in_update bool so we avoid reentering.
5326 * insettabular.C (localDispatch): clear col/row selection when doing
5327 something else inside an inset.
5329 * insettext.C (getLyXText): fixed bug when requesting a recursive
5332 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5334 * insetcite.C (latex): Paranoia check. Make sure that there is no
5335 whitespace between the citation keys.
5337 2001-07-31 Juergen Vigna <jug@sad.it>
5339 * inset.h (nodraw): make the set function also const so that this
5340 can be called from inside other const functions.
5342 * insetcollapsable.h: removed inline variable and moved it over
5343 to the only user InsetERT.
5345 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5346 inset opening immediately therein lying insets dialogs!
5348 * insetert.C (localDispatch): set the font also if we don't have any
5349 chars in this paragraph, otherwise if we delete all of em and start
5350 writing we have the wrong font.
5352 (draw): implemented for inline support
5353 (insetButtonRelease): ditto.
5355 2001-07-30 Juergen Vigna <jug@sad.it>
5357 * insettext.C (reinitLyXText): new function to reinit the insets
5358 text after lot's of paragraph changes. Use this instead of the
5359 cache.clear() which is VERY dangerous.
5361 * insetfloat.C (insetButtonRelease): we should only show the dialog
5362 if we press on the label otherwise we have problems to open mouse
5363 button 3 dialogs inside this float (f.ex. of a tabular!)
5365 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5367 * insetert.C: change back to "ERT"
5369 * insetfloat.C: handliign of RMB on label added.
5371 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5373 * insetgraphicsParams.C: #include LOstream.h here.
5375 * insetfoot.h: remove InsetFoot:: qualifier.
5377 2001-07-29 Baruch Even <baruch@lyx.org>
5379 * ChangeLog: Hiding time travel evidence.
5381 * insetgraphicsParams.h:
5382 * insetgraphicsParams.C:
5383 * insetgraphics.C: Added horizontal scale option, it actually scales both
5384 directions since it keeps image proportions.
5386 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5388 2001-07-29 Baruch Even <baruch@lyx.org>
5390 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5391 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5393 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5395 2001-07-29 Baruch Even <baruch@lyx.org>
5397 * insetgraphics.C: Added EPSI to be an alias of EPS.
5399 2001-07-29 Baruch Even <baruch@lyx.org>
5401 * insetgraphics.C: Change GRAPHICS to Graphics.
5402 Changed image conversion rules (documented at the beginning of file).
5404 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5406 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5409 * insetgraphics.C: added a using std::endl directive.
5411 * insetcommand.h (getScreenLabel): removed pure virtual function,
5412 as it duplicates that in InsetButton.
5414 * insetbib.[Ch] (getScreenLabel):
5415 * insetbutton.[Ch] (getScreenLabel):
5416 * insetcite.[Ch] (getScreenLabel):
5417 * insetert.[Ch] (getScreenLabel):
5418 * insetexternal.[Ch] (getScreenLabel):
5419 * insetfloatlist.[Ch] (getScreenLabel):
5420 * insetinclude.[Ch] (getScreenLabel):
5421 * insetindex.[Ch] (getScreenLabel):
5422 * insetlabel.h (getScreenLabel):
5423 * insetparent.[Ch] (getScreenLabel):
5424 * insetref.[Ch] (getScreenLabel):
5425 * insettoc.[Ch] (getScreenLabel):
5426 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5428 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5430 (validate): remove check on "cite" when using natbib.
5432 2001-07-26 Baruch Even <baruch@lyx.org>
5434 * insetgraphics.C (draw): changed casting to be in one place rather than
5435 all over the function.
5438 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5440 * insetgraphicsParams.h:
5441 * insetgraphicsParams.C:
5442 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5444 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5446 * insetfoot.C (validate): Added method to ensure that the
5447 right bit of LaTeX is emitted.
5449 * insetfoot.h: Added validate method to set the correct
5450 LaTeXFeatures bit for the special footnote code.
5452 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5454 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5457 2001-07-27 Juergen Vigna <jug@sad.it>
5459 * inset.h: remove not used font variable in parameter.
5460 removed checkInsertChar in UpdatableInset as it was equal to
5461 the one in Inset and so not needed.
5463 * insetert.C (checkInsertChar): implementation of function
5466 * inset.h: added new function checkInsertChar.
5468 * various files: added c-tor and clone() function.
5470 * insetcollapsable.h: removed clone function here as this should
5471 be only realized in REAL insets and added it to all collapsable
5472 insets! (with the copy-constructor).
5474 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5476 * insetminipage.C (read): handle missing parameters more gracefully
5478 * insetcollapsable.C (read): handel missing collapsed more gracefully
5480 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5482 * insetfloat.C (read): handle missing parameters.
5484 * insettext.C (read): handle old latex end_inset
5486 * insetert.C (setButtonLabel): new method
5487 (init): use it, to set the dynamic label correctly
5490 * Makefile.am (EXTRA_DIST): add files that is not part or the
5493 * insetcollapsable.h: remove autocollapsable (no users), remove
5494 draw_label, change_label_with_text and companion code. Remove args
5496 * insetert.[Ch]: move here instead (only user)
5498 * inset.h: rename private variable name to name_, make
5499 selectNextWord return a const string. make getInsetName return a
5500 string const &. Remove bool from open, add close.
5502 * Makefile.am: don't compile insetlist, insetsection
5505 2001-07-24 Juergen Vigna <jug@sad.it>
5507 * insetert.C (InsetERT): put init after the paragraph initialization,
5508 as otherwise we don't set the draw_label right.
5510 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5511 insets with the mouse without having strange selections.
5512 (edit): if the inset was collapsed and we open it here then put the
5513 cursor always at the beginning of the inset.
5514 (get_new_label): 15 instead of 10 max chars in the label.
5516 * insetert.C (localDispatch): added and handle various stuff we
5517 need to handle here (font setting on paragraph break, not permitted
5518 layout setting, etc.).
5520 * inset.h: added default copy-consturctor and implemented this in
5521 various insets with the change to use this in the clone function!
5523 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5525 * insetminipage.C (InsetMinipage): set background color to red :)
5527 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5529 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5530 draw frame mode is LOCKED.
5532 * insetcollapsable.C (edit):
5533 (insetButtonRelease): set update status to full when
5536 * insettext.C (clearInset):
5537 * insettabular.C (draw):
5538 * insetlatexaccent.C (draw): honor background color.
5540 * inset.h: new member background_color_, initialized to
5543 * inset.C (backgroundColor): new method.
5544 (setBackgroundColor): new method.
5546 * insetert.C (init): new method, called by the ctors.
5547 (InsetERT): when inserting contents, make sure the font is
5550 * insetnote.C (InsetNote): when inserting content, remove trailing
5552 (init): set background color to LColor::note
5554 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5556 * insetcollapsable.C: adjust
5558 * insetbutton.C: adjust
5560 2001-07-23 Juergen Vigna <jug@sad.it>
5562 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5563 parameter on the _collapsed function (was not needed) and call
5564 always width_collapsed().
5566 * insetert.C (InsetERT): use setLabel with "true" flag.
5568 * insetcollapsable.C: modified various functions to set the draw_label
5569 string right in any condition.
5570 (setLabel): added a bool parameter to set change_label_with_text.
5572 * insetcollapsable.h: added draw_label string which is set to the
5573 actual drawn label-string, while label is the original static label
5574 of this collapsable inset. Added bool change_label_with_text to set
5575 if we want that the label changes to the start of the InsetText's
5576 text when collabpsed. You can set this flag with the setLabel funciton.
5577 Added bool inlined for inlined collapsable insets, but not handled
5580 * insetcollapsable.C (get_new_label): added should get a new label
5581 from the InsetText beginning (for now 10 chars).
5583 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5585 * insetquotes.C (latex): fix the handling of french double quotes
5586 when not using the french pachage.
5588 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5590 * insetcollapsable.h: make WidthCollapsed mutable.
5592 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5593 InsetPrintIndex returns INDEX_PRINT_CODE.
5595 * inset.h: add INDEX_PRINT_CODE
5597 * insetcollapsable.C (draw): init widthCollapsed if necessary
5600 * insetquotes.C (width): use the local language, not the document
5603 (dispString): add additional spacing for all french languages,
5605 (validate): make it work when there is no default language
5607 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5609 * insetnote.C (init): new method, called by the constructors
5610 (InsetNote): new constructor with contents passed as a string
5612 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5614 * insetfootlike.C (insetAllowed): disallow float in footlike.
5616 * insetert.C (InsetERT): add collapsed argument to the constrctor
5619 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5621 * insetindex.h: shut off warning
5623 2001-07-20 Juergen Vigna <jug@sad.it>
5625 * insetcollapsable.C (update): recoded hopefully works now!
5627 2001-07-19 Juergen Vigna <jug@sad.it>
5629 * most files: implemented the below new introduced function.
5631 * inset.h: added new edit(BufferView *, bool front) method to be able
5632 to enter an inset from the front/back without knowing x/y positions
5633 and baselines inside the inset. So I just can tell the inset activate
5634 me and set the cursor on the front/back of yourself.
5636 2001-07-18 Juergen Vigna <jug@sad.it>
5638 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5639 is given to the InsetText.
5640 (insetButtonPress): ditto
5641 (insetButtonRelease): ditto
5642 (insetMotionNotify): ditto
5644 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5646 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5647 LIGATURE_BREAK, since the name is so stupid.
5649 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5651 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5652 the default InsetCollapsable methods. I.e., it can insert anything.
5653 (write) output the name of the inset, not some silly hack for
5654 compatability with the old InsetInfo.
5656 * insetinfo.[Ch]: removed.
5657 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5658 now collapsable, but functionality is otherwise identical to InsetInfo.
5660 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5662 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5664 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5667 * insetquotes.C: general cleanup
5668 (dispString): add spaces inside french double quotes.
5669 (latex): ditto. Moreover, treat first the case where the frenchb
5670 or french options have been given.
5672 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5674 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5677 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5679 * figinset.C (RegisterFigure): Print debug message only when
5680 current_view is available.
5682 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5684 * many files: update to match the change below
5686 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5687 implement the version which takes an inset here.
5689 * insetcollapsable.[Ch]: implement open and isOpen
5691 * inset.h: remove insertInsetAllowed from Inset
5692 (open): new method, to open or close an inset
5693 (isOpen): returns the status of an inset
5694 (isCollapsable, colapse): removed
5696 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5698 * insetquotes.C (dispString): display french guillemets when using
5701 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5703 * insetcollapsable.h: remove bogus return statements
5705 2001-07-18 Juergen Vigna <jug@sad.it>
5707 * insettabular.C (selectNextWord): fixed spellchecking for the
5708 first cell of a tabular (wasn't entered!)
5709 (getLyXText): changed to enter automatically insettext and return
5710 it's LyXText if we're locked.
5712 2001-07-17 Juergen Vigna <jug@sad.it>
5714 * various files: implemented the below functions.
5716 * inset.h: added functions
5717 - virtual string selectNextWord(BufferView *, float & value) const;
5718 - virtual void selectSelectedWord(BufferView *) { return; }
5719 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5720 needed for spellchecking correctly!
5722 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5724 * insetert.C (latex): write out all paragraphs.
5726 2001-07-17 Baruch Even <baruch@lyx.org>
5728 * insetgraphics.C (draw): Removed unneeded casts.
5730 2001-07-16 Juergen Vigna <jug@sad.it>
5732 * insettext.C (update): fixed small oversight (reset lt to 0).
5734 2001-07-14 Baruch Even <baruch@lyx.org>
5737 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5739 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5741 Consistent use of Lsstream.h:
5742 * figinset.C: removed using std::ostringstream directive.
5744 * insetgraphics.C (createLatexOptions):
5745 * insetinclude.C (unique_id):
5746 std::ostringstream -> ostringstream.
5747 * insettext.C (localDispatch): std::istringstream -> istringstream.
5749 2001-07-13 Juergen Vigna <jug@sad.it>
5751 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5753 * insetcollapsable.C (getLockingInset): ditto.
5755 2001-07-12 Juergen Vigna <jug@sad.it>
5757 * insetcollapsable.h: added implementation of new function for
5760 * various files: added implementation of new insertInsetAllowed-func
5761 and redone the function a bit more.
5763 * inset.h: added isCollapsable(), bool collapsed(),
5764 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5766 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5768 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5769 LyXText which is marked for removal while we're using it!
5771 * insettext.h: added private LyXText * lt to use it to assure we are
5772 not deleting our LyXText while we're using it!
5774 2001-07-11 Juergen Vigna <jug@sad.it>
5776 * insettext.C (insertInset): check if we are before the inset after
5777 inserting it! This check IS needed. Remove the Undo-Call as it is
5778 called in LyXText::insertInset!
5780 * insettext.h: added struct InnerCache.
5782 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5783 that we ONLY delete the LyXText in the getLyXText() routine. So we
5784 are sure we don't delete LyXText while someone is working with it!
5786 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5788 * insetexternal.C: (*it). -> it->
5789 * insettext.C: ditto
5791 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5793 * insetcollapsable.C (edit): always open collapsed insets (even if
5794 they are not autocollapsable)
5796 * insetcommand.C (operator=): simplify.
5798 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5800 * insetert.C (latex): handle META_NEWLINE
5802 2001-07-09 Juergen Vigna <jug@sad.it>
5804 * insetert.h: a normal InsetText can insert insets, but we won't.
5806 * inset.h: return default "false" on insertInsetAllowed and implement
5807 this function where a returnvalue != "false" is needed.
5809 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5811 * insetert.C (InsetERT): new contructor
5813 2001-07-06 Juergen Vigna <jug@sad.it>
5815 * a lot of files: added implementation of the below new functions
5816 and the change to clone(). Also the call of the new undo-functions
5819 * inset.h: added an inset_id, added functions getParFromID,
5820 getInsetFromID, firstParagraph, cursor and id functions, added
5821 bool same_ids to clone function.
5823 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5825 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5826 of BufferView * and shared_ptr<LyXText>
5828 2001-07-05 Juergen Vigna <jug@sad.it>
5830 * insettext.C (clear): deleted also the cache not only LyXText.
5831 (setParagraphData): ditto.
5833 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5835 * insetfloat.C (latex): let the specific placement take presedence
5836 if set, otherwise choose document placement if set, otherwise just
5837 use float default placement.
5839 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5841 * insettext.C (localDispatch): call CutAndPaste::'s static method
5844 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5846 * insetbib.C: no meed to include forms.h here.
5848 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5850 * insettext.C: added using std::make_pair directive.
5852 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5854 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5856 (deleteLyXText): ditto
5857 (resizeLyXText): ditto
5859 2001-07-02 Juergen Vigna <jug@sad.it>
5861 * insettext.C (getLyXText): introduce a cache in getLyXText so that
5862 following calls are only returned the right pointer without the over
5863 head to search in the map.
5864 (various funcs): reset the cached_bview variable as this signs that
5865 the cache is not valid anymore.
5867 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5869 * insettabular.C (clone): do not copy the LyXTabular twice
5871 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
5873 * insettext.h (TEXT): delete method
5875 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5877 * insetmarginal.C (latex):
5878 * insetfoot.C (latex): fix spacing of notes in LaTeX
5880 * insettext.C (localDispatch): use .c_str() on istringstream
5881 constructor argument.
5883 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
5888 * inseturl.C: fix method names in these to begin
5889 with small char too, so they inherit
5891 2001-06-28 Juergen Vigna <jug@sad.it>
5893 * insettext.C (setFont): fixed font settings using toggleFree()
5894 instead of setFont().
5896 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
5898 * Change a lot of method names to begin with a small char.
5899 Changes to a lot of files because of this.
5901 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
5903 * insetfloatlist.C (Write): std:: qualify ostream
5906 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
5910 * insetgraphics.C: send debug output to Debug::INFO instead of
5913 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
5916 * insettabular.C (getStatus): update to use func_status
5918 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
5920 * insetref.C (DocBook): added support for cross-references without
5923 2001-06-26 The LyX Project <jug@sad.it>
5928 * insetlabel.h: removed escape method and moved it to
5931 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5933 * insettabular.C (getMaxWidth): do the speedup in a different way,
5936 2001-06-24 The LyX Project <Asger>
5938 * insettabular.C (getMaxWidth): We cache a mapping from
5939 inset to cell in order to speed this method up.
5941 2001-06-24 The LyX Project <Asger>
5943 * insettext.C: Optimized InsetText::draw or something.
5945 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
5947 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
5949 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
5951 * inset.h: name change from lyxinset.h
5953 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
5955 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
5957 2001-06-14 Juergen Vigna <jug@sad.it>
5959 * insettext.C (draw): removed warnings.
5961 2001-06-13 Juergen Vigna <jug@sad.it>
5963 * insettabular.C (nodraw): only go down the tree if we don't have
5964 that flag set otherwise it's obvious that we don't want to draw.
5965 (LocalDispatch): do also an update if we have an undispached result.
5967 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
5970 * insetgraphicsParams.C:
5971 * insettext.C: removed // -*- C++ -*- as first line.
5973 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5975 * lyxinset.h (resizeLyXText): shut off warning about unused
5978 2001-06-07 Juergen Vigna <jug@sad.it>
5980 * insettext.C (resizeLyXText): honor the new force flag.
5982 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
5984 * insettabular.C (deleteLyXText): new function
5986 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
5994 * insetcollapsable.C:
5995 * insetcaption.C: LColor tidy
5997 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
5999 * figinset.C: fix typo
6001 2001-06-01 Juergen Vigna <jug@sad.it>
6003 * insettabular.C (resetPos): small hack so that scroll is not set to
6004 0 when we are in the last column of a tabular. This is a problem we
6005 have because of constats 20 offset on both directions, so this can
6006 cause on the limit an endless loop.
6008 * insettext.C (SetFont): forgot that we can have locking insets ;)
6010 2001-05-31 Juergen Vigna <jug@sad.it>
6012 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6014 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6016 * figinset.C: add using std:: directive for the C functions which
6019 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6021 * insetfloat.C (Write): write out wide info
6022 (Read): read the wide info
6023 (Latex): use the wide info when creating latex.
6025 * insettext.C: adjust
6027 * insetgraphics.[Ch] (statusMessage): change to return string
6031 * figinset.C (runqueue): add std::
6034 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6036 * insetcite.C (Ascii): add std:: qualifier
6038 2001-05-28 Juergen Vigna <jug@sad.it>
6040 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6041 a endless-width inset (maxWidth < 0).
6042 (Edit): change language only if not equal.
6044 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6046 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6048 2001-05-16 Juergen Vigna <jug@sad.it>
6050 * insettext.C (selectAll): added
6051 (clearSelection): added
6053 * insettabular.C (SetFont): now we may set a font on a whole selection!
6054 (getSelection): added helper function.
6056 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6058 * insetcite.C (Ascii): Add method.
6060 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6063 * insetbib.C: fix path for OS/2 & Win32
6065 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6067 * insetfoot.C (Latex): don't use % after footnote.
6069 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6071 * insettext.C (Read): use clear
6072 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6074 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6076 * insetfloatlist.h: add a bunch of std:: qualifiers.
6078 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6080 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6081 FLOAT_LIST_CODE, renumber code list.
6083 * insettoc.C (getScreenLabel): remove support for float lists
6087 * insetfloatlist.[Ch]: new files
6089 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6091 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6093 * insettabular.C (LocalDispatch):
6094 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6097 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6099 * insettext.C: remvoe !NEW_INSETS cruft
6101 * insettabular.C: remove !NEW_INSETS cruft
6103 * insetcollapsable.h: remove !NEW_INSETS cruft
6105 * insetbib.C: remove !NEW_INSETS cruft
6107 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6109 * insettoc.C: hack to make listof algorithm work
6111 2001-04-20 Juergen Vigna <jug@sad.it>
6113 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6115 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6117 * insetquotes.C (Latex): improve the guard against
6118 unwanted !` and ?` ligatures. This should really be done in
6119 another place (to catch all this ligatures at low-level).
6121 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6123 * insettext.C (init): remvoe leftovers from cursor_visible change
6124 (draw): use c++ cast
6125 (LocalDispatch): dispatch LFUN_MESSAGE
6127 * insettabular.C (InsetTabular): remove leftovers from
6128 cursor_visible, and scoped_ptr changes
6129 (draw): use c++ cast
6131 * insetcollapsable.C (draw): use c++ cast
6133 * ExternalTemplate.h: inherit privaely from noncopyable
6134 * insetcommand.h: ditto
6135 * insetinclude.h: ditto
6137 2001-04-16 Allan Rae <rae@lyx.org>
6139 * insettoc.C (Ascii):
6140 * insettext.C (draw):
6141 * insettabular.C (setPos):
6142 * insetminipage.C (Read):
6143 * insetfloat.C (placement):
6144 * insetcaption.C (Ascii, DocBook):
6145 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6146 an unrecognised preprocessor directive. So ensure they're wrapped.
6148 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6151 * insetexternal.C: set view on Clone. Add _ to private members.
6153 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6155 * insettext.C (InsetText): fix new
6156 (InsetText): reindent some, simplify deletion of par list
6157 (clear): simplify deletion of par list, fix new
6158 (SetParagraphData): simplify deletion of par list
6160 * insettabular.[Ch] (getLabelList): implement new method
6162 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6164 * lyxinset.h: do not include gettext.h...
6172 * insetlatexaccent.C:
6176 * inseturl.C: ... and do it here instead
6178 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6180 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6182 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6184 * insetcollapsable.[Ch] (getLabelList): implement
6186 * insettext.[Ch] (getLabelList): implement
6188 * insettext.h: reindent
6190 * insettabular.h: make tabular a scoped_ptr
6192 * insettext.C (init): adjust for cursor_visible
6193 (ToggleInsetCursor): constify asc and desc, font, adjust for
6195 (ShowInsetCursor): constify asc and desc, font, adjust for
6197 (HideInsetCursor): adjust for cursor_visible
6199 * insettabular.C: reindent some
6200 (InsetTabular): adjust for scoped_ptr and cursor_visible
6201 (InsetTabular): ditto
6202 (~InsetTabular): delete delete
6203 (Clone): adjust for scoped_ptr
6204 (Read): constify old_format, adjust for scoped_ptr, move init of
6206 (draw): constify tx, localize loop vars.
6207 some other localization of variables, remove double initilizatons.
6209 * insetfoot.C: remove using std::ostream, add ostream where needed
6211 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6213 * lyxinset.h: some reindentaion, use initializer list for
6215 UpdatableInset: make cursor_visible a private var add
6216 public isCursorVisible(), add protected toggleCursorVisible() and
6217 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6219 * insettoc.C: remvoe using decl
6220 (getScreenLabel): make cmdname donst
6223 (Ascii): don't use endl
6225 * insetfootlike.C: remove using decl at file scope and add std::
6227 * insetmarginal.C: ditto
6229 * insetfoot.C: some reformatting
6231 * insetfloat.C (InsetButtonRelease): adjust the hit area
6233 * insetert.C (SetFont): some reformatting
6235 * insetcollapsable.C: some reformatting and constification
6236 (Clone): comment out.
6237 * insetcollapsable.h: some reformatting
6238 (Clone): comment out.
6243 2001-03-30 Juergen Vigna <jug@sad.it>
6245 * insetcollapsable.h: changen *inset to be a InsetText inset.
6247 * some files: changed to reflect the above change.
6249 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6251 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6252 InsetExternal::Params.
6253 Added operator==() and operator!=() for the Params struct.
6255 2001-03-29 Juergen Vigna <jug@sad.it>
6257 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6260 * insetminipage.C: removed widthp_ and all it's functions and changed
6261 to use new %-lengths of LyXLength.
6263 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6265 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6267 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6269 * insetgraphicsParams.C (operator!=): new function, needed by the
6270 ControlGraphics class.
6272 2001-03-28 Juergen Vigna <jug@sad.it>
6274 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6275 (checkAndActivateInset): don't use the values returned from
6276 call to bv->checkInsetHit.
6278 * insetminipage.C (Clone): set special minipage values.
6280 * insetcollapsable.C (draw): changed to draw the button in the
6281 upper left corner outside the textinset.
6282 (ascent): changed because of different drawing
6286 (InsetButtonPress): ditto
6287 (InsetButtonRelease): ditto
6288 (InsetMotionNotify): ditto
6290 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6292 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6296 2001-03-26 Juergen Vigna <jug@sad.it>
6298 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6300 * insettext.C (ShowInsetDialog): implemented above function.
6302 * insettabular.C (ShowInsetDialog): ditto
6304 * insetminipage.C (ShowInsetDialog): ditto
6306 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6308 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6309 InsetInclude::Params. Don't store a buffer * in Params. Store the
6310 master file name instead.
6312 2001-03-23 Juergen Vigna <jug@sad.it>
6314 * insetcollapsable.C (InsetMotionNotify):
6315 (InsetButtonRelease):
6316 (InsetButtonPress): fixed y-offset (minipages).
6318 * insettext.C (draw): force a FULL update if cleared == true.
6320 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6321 routine to draw the minipages on its position-flag.
6322 (InsetInInsetY): give back the right y position, because of minipage
6325 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6328 * insetfloat.C (DocBook): docbook export code.
6330 2001-03-22 Juergen Vigna <jug@sad.it>
6332 * insetminipage.C (getMaxWidth): added function to set the drawing
6334 (Read): should work now!
6336 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6337 if we create a new inset.
6339 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6341 * figinset.C (fl_set_preemptive_callback): moved definition outside
6344 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6346 * insetminipage.C (Read): prepare for reading of minipage arguments.
6348 2001-03-18 Baruch Even <baruch@lyx.org>
6350 * insetgraphics.C: Minor cleanups of the comments and code.
6352 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6354 * insetminipage.C (InsetMinipage): default to not collapsed
6356 2001-03-16 Juergen Vigna <jug@sad.it>
6358 * insetminipage.C (width): modified with to be a string
6359 (widthp): added widthp (for % width) support functions.
6360 (InsetButtonRelease): added to open the options dialog on button==3.
6361 (~InsetMinipage): added to hide the dialog.
6363 * insetminipage.h: added hideDialog signal
6365 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6367 * insetminipage.h: change the order or Position to match
6368 LyXParagraph::MINIPAGE_ALIGNMENT
6370 * several files: remvoe CXX_WORKING_NAMESPACES
6372 * ExternalTemplate.h: noncopyable is in namespace boost
6373 * insetinclude.h: ditto
6374 * insetcommand.h: ditto
6376 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6378 * insettext.C (Edit): #else# -> #else.
6379 * insettoc.C: added using directive.
6381 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6383 * insetminipage.h: add pos, inner_pos, width and height. + getters
6384 and setters for all of them.
6386 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6388 * insetinclude.C (Latex): Do not exit when the textclass of the
6389 included file differ from the textclass of the parent file.
6391 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6393 * ExternalTemplate.C (read): the reading of external insets now checks
6394 for \end_inset and removes it form the input stream.
6396 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6398 * ExternalTemplate.h:
6399 * ExternalTemplate.C:
6401 * insetexternal.C: move form to GUII
6403 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6406 * insetinclude.C: add InsetIncludeParams, use
6407 composition rather than derivation of InsetCommand
6409 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6411 * insettoc.C (Ascii): use the Buffer typedefs
6413 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6415 * insettoc.C (Ascii): implement for dynamic number of lists
6417 * insetcaption.[Ch]: update from new_insets branch
6418 * insetfloat.[Ch]: ditto
6420 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6423 * figinset.C: use new File Dialog
6425 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6427 * insettext.C: changes becuase of ParagraphParameters.
6429 2001-02-28 Baruch Even <baruch@ev-en.org>
6431 * insetgraphics.C (updateInset): Changed due to the change in
6434 2001-02-26 Juergen Vigna <jug@sad.it>
6436 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6437 handled in LyXText).
6439 2001-02-23 Juergen Vigna <jug@sad.it>
6441 * insettext.C (draw): some small repainting fixes.
6442 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6444 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6445 should be) and not an int.
6447 * insettabular.C (LocalDispatch): ditto
6449 * insettext.C (LocalDispatch): ditto
6451 * insetcollapsable.C (LocalDispatch): ditto
6453 2001-02-22 Juergen Vigna <jug@sad.it>
6455 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6456 DISPATCH it and we don't have a locking_inset.
6458 2001-02-21 Baruch Even <baruch@ev-en.org>
6460 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6461 instead of GraphicsCacheItem *.
6463 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6465 * insetcollapsable.C (getLyXText): add const qualifier to second
6468 2001-02-22 Juergen Vigna <jug@sad.it>
6470 * insettext.C (getLyXText): honor the recursive parameter.
6471 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6473 * inset.C (getLyXText): added bool recursive parameter.
6475 * insettext.C (SetUpdateStatus): or the update codes.
6476 (draw): check need_update with &.
6477 (InsetButtonPress): set no_selection to not put a selection when
6478 entering an inset and it is redraws in another spot.
6480 * insettext.h: made need_update an int.
6482 2001-02-20 Baruch Even <baruch@ev-en.org>
6485 * insetgraphisc.C: Changed to use better semantics when loading images
6486 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6488 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6492 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6493 consistent with InsetTabular.
6495 2001-02-19 Juergen Vigna <jug@sad.it>
6497 * insettabular.C (LocalDispatch): implement PAGE up/down.
6499 * insettext.C (draw): clear all of it on need_update==INIT too!
6501 * insettabular.C (InsetUnlock): always clear the selection.
6503 * inset.C (scroll): normally we only want to scroll the inset until
6504 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6506 2001-02-14 Juergen Vigna <jug@sad.it>
6508 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6509 (resetPos): fixed scroll behaviour.
6510 (LocalDispatch): do an update if moving cursor inside a table cell
6511 requests a scroll of the tabular.
6513 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6515 * insettext.C (textWidth): constify local var
6517 * insettabular.C: small cleanup.
6519 * insetfoot.C (Latex): constify local var
6521 * insetcollapsable.C: small cleanup.
6523 * figinset.C (runqueue): use compare instead of strcmp
6525 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6528 * insetinfo.C: remove cruft
6530 2001-02-14 Juergen Vigna <jug@sad.it>
6532 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6534 2001-02-13 Juergen Vigna <jug@sad.it>
6536 * insettext.C (InsertInset): don't move left (is this right?)
6538 * insettabular.C (LocalDispatch): use of the no_draw variable
6540 * insettabular.h: new no_draw variable to stop redraw
6542 * insettabular.C (TabularFeatures): fixed update for alignment change
6544 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6548 * insetbib.C: move dialogs to frontends/
6550 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6552 * insettext.C (LocalDispatch): Restore the language if the inset
6555 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6557 * insettext.C (moveRightIntern): Update the selection cursor.
6558 (moveLeftIntern): Ditto.
6560 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6562 * Makefile.am: remove BoundingBox.h
6564 * BoundingBox.h: removed
6566 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6568 * insettext.C (LocalDispatch): Update selection cursor when moving
6569 cursor to the right.
6570 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6571 (moveLeftIntern): Ditto.
6573 2001-02-05 Baruch Even <baruch.even@writeme.com>
6575 * insetgraphics.C: Updated automatic image conversion, it now goes into
6576 temporary directory instead of with the image itself.
6578 2001-01-21 Baruch Even <baruch@ev-en.org>
6580 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6581 to EPS or PNG when needed (support bitmap graphics).
6583 2000-11-02 Baruch Even <baruch@ev-en.org>
6586 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6587 and removal of commented out code.
6589 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6591 * insetbib.C (callback): Update citations if the key has changed.
6593 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6595 * insetbib.C (InsetBibKey): Better computation of default key.
6596 (getScreenLabel) Show both the key and the label.
6597 (getBibLabel): New method.
6598 (callback): Force a redraw if the inset have been changed.
6600 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6602 * insetref.C (getType, getName): Move methods from
6603 src/frontends/xforms/FormRef.C.
6605 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6607 * insettabular.C: Various improvements (use only one dummy position).
6609 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6611 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6612 par->bibkey->width. This fixes the crashes when running without
6613 gui or when having included documents.
6615 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6617 * insetcommand.C (getAsString, setFromString): Cleanup.
6619 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6621 * insetref.C: Add the array InsetRef::types that contains
6622 information about all supported reference types.
6624 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6626 * lyxinset.h: remove trailing comma in enum.
6628 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6630 * insettext.C: kill LyXBell.