1 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
5 * insetinclude.C (latex): show a GUI warning if textclasses don't
7 * insetinclude.C: use mangledFilename() for temp files
8 * insetgraphics.C (readInsetGraphics): remove version check, since
9 the graphics inset has no own fileformat number anymore
11 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13 * insetquotes.[Ch]: added new member that allows direct access
14 to single/double quotation marks.
16 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
18 2004-02-16 André Pönitz <poenitz@gmx.net>
21 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
22 implicitly assume 'DispatchResult(true, true) with exception of
23 InsetBase::priv_dispatch which does the equivalent of
24 'retrun DispatchResult(false)'
26 * inset*.[Ch] (priv_dispatch): adjust
28 * insettabular.[Ch]: remove remains of the 'update' mechanism,
29 simplify cursor moving function,
30 re-enable horizontal scrolling for large tables
32 2004-02-13 André Pönitz <poenitz@gmx.net>
34 * insettabular.[Ch]: some work after IU
36 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
38 * inset.C (setPosCache): switch to absolute coords in insets
39 * insettext.[Ch] (draw, drawFrame): adjust
40 * insetcollapsable.C (draw): adjust
43 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
46 (updateLocal): use the cur argument instead of the global cursor
47 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
49 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
51 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
53 * insetfloat.C (validate): "H" -> 'H' in call to contains
55 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
57 2004-01-30 André Pönitz <poenitz@gmx.net>
61 * insetcollapsable.[Ch]:
69 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
72 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
74 * insettabular.C: add using statement for std::vector, remove
75 std:: where using was already used.
77 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
79 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
81 * insetinclude.C (validate): use feautures.nice() instead of
84 2004-01-20 André Pönitz <poenitz@gmx.net>
87 * insetbase.[Ch]: move stuff from mathcursor here.
93 * insetcharstyle.[Ch]:
94 * insetcollapsable.[Ch]:
108 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
110 2004-01-15 André Pönitz <poenitz@gmx.net>
117 * insetcharstyle.[Ch]:
118 * insetcollapsable.[Ch]:
121 * insetexternal.[Ch]:
123 * insetgraphics.[Ch]:
132 * updatableinset.[Ch] (priv_dispatch et al): change signature.
134 2004-01-08 André Pönitz <poenitz@gmx.net>
136 * insetcollapsable.[Ch]:
139 * updatableinset.h: use cell index info from global cursor.
141 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
143 * insetnote.C (InsetNoteParams::write): write label only once
145 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
147 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
149 get rid of the SameName functor
151 * insettabular.C: improve the functor.
153 2003-12-29 Angus Leeming <leeming@lyx.org>
155 * insetexternal.C (setParams): update defaultTemplateName.
157 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
159 * insetbox.C: Use term "Box" in button label
161 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
163 * insetcharstyle.C: get getDrawFont working again
165 2003-12-15 André Pönitz <poenitz@gmx.net>
168 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
170 2003-12-12 Angus Leeming <leeming@lyx.org>
172 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
174 (InsetBranchParams): remove the branchlist hack.
175 (isBranchSelected): new function, used to decide whether to
176 print each output format. Also used by InsetList.
177 (read, string2params): repair my own breakage ;-)
179 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
181 * insetminipage.[Ch]: remove from repository.
183 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
186 * insetcollapsable.[Ch]: Move all CollapseStatus code from
187 insetert to insetcollapsable; introduce virtual function
188 setButtonLabel and invoke it from collapsable
190 2003-12-12 Angus Leeming <leeming@lyx.org>
192 * insetinclude.C (draw): cache x,y and so enable the
195 2003-12-12 Angus Leeming <leeming@lyx.org>
197 * mailinset.C (print_mailer_error): tidy up the output.
199 2003-12-11 Angus Leeming <leeming@lyx.org>
201 * mailinset.[Ch] (print_mailer_error): new helper function.
203 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
204 calling InsetCommandMailer.
205 (InsetCommandMailer::string2params): pass the name of the dialog.
207 * insetbibitem.[Ch] (d-tor):
208 * insetbibtex.[Ch] (d-tor):
209 * insetcite.[Ch] (d-tor):
210 * insetfloatlist.[Ch] (d-tor):
211 * insetindex.[Ch] (d-tor):
212 * insetlabel.[Ch] (d-tor):
213 * insetref.[Ch] (d-tor):
214 * insettoc.[Ch] (d-tor):
215 * inseturl.[Ch] (d-tor): removed.
216 Hiding the dialog is handled by InsetCommand.
218 * insetbibtex.[Ch] (draw, metrics):
219 * insetfloatlist.[Ch] (draw, metrics):
220 * insetindex.[Ch] (draw, metrics): removed.
221 Drawing is handled by InsetCommand.
223 * insetbibitem.[Ch] (priv_dispatch):
224 * insetbibtex.[Ch] (priv_dispatch):
225 * insetcite.[Ch] (priv_dispatch):
226 * insetfloatlist.[Ch] (priv_dispatch):
227 * insetindex.[Ch] (priv_dispatch):
228 * insetlabel.[Ch] (priv_dispatch):
229 * insettoc.[Ch] (priv_dispatch):
230 * inseturl.[Ch] (priv_dispatch): removed or simplified.
231 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
232 LFUN_INSET_DIALOG_SHOW.
234 * insetbox.C (string2params):
235 * insetbranch.C (string2params):
236 * insetert.C (string2params):
237 * insetexternal.C (string2params):
238 * insetfloat.C (string2params):
239 * insetinclude.C (string2params):
240 * insetminipage.C (string2params):
241 * insetnote.C (string2params):
242 * insetvspace.C (string2params):
243 * insetwrap.C (string2params): over-hauled.
245 2003-12-10 Angus Leeming <leeming@lyx.org>
247 * insetexternal.[Ch]: add a draft option and respect it when
250 2003-12-10 Angus Leeming <leeming@lyx.org>
252 * insetbox.C: (read, write): now prepend the inset contents with
253 'Box' to identify the inset as a box inset.
255 * insetbox.h: move the translators out of sight.
257 2003-12-10 Angus Leeming <leeming@lyx.org>
259 * insetert.C (string2params): clean-up using the new lyxlex interface.
261 * insetexternal.C: ensure that InsetExternalParams has a default
262 template, 'RasterImage'.
264 2003-12-10 Angus Leeming <leeming@lyx.org>
266 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
267 to an enum. Ensuing clean-ups through out the class.
268 (read, write): now prepend the inset contents with 'Note' to identify
269 the inset as a note inset.
271 2003-12-10 Angus Leeming <leeming@lyx.org>
273 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
274 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
276 2003-12-10 André Pönitz <poenitz@gmx.net>
281 * insettext.[Ch]: remove unused insetInset()
283 * insetert.C: disable some LFUNs
285 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
287 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
289 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
291 2003-12-04 Angus Leeming <leeming@lyx.org>
293 * insetexternal.C (draw): update the xo_, yo_ cache.
295 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
297 (RotationDataType): new helper struct wrapping the
298 RotationData::OriginType enum.
300 2003-12-03 André Pönitz <poenitz@gmx.net>
302 * inset.h: remove getParagraphs()
304 * insetcollapsable.[Ch]:
308 * insettext.C: use getText() instead of getParagraphs()
310 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
312 * insetert.C: fix label text updating bug
314 2003-12-02 Angus Leeming <leeming@lyx.org>
316 * insetvspace.[Ch] (space): new member function. Make space_ private.
317 (read): use the new, simpler lyxlex syntax.
319 2003-12-01 André Pönitz <poenitz@gmx.net>
321 * insetcollapsable.[Ch]:
322 * insetert.[Ch]: move 'inline' state to InsetCollapsable
324 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
326 * insetvspace.C (read): handle 'end_inset' token.
328 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
330 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
332 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
334 * insetcollapsable.[Ch]:
336 * insetcharstyle.C: place inset content on the button when
339 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
341 * insetvspace.C: remove VSpace::NONE; increase inset width
343 2003-12-01 André Pönitz <poenitz@gmx.net>
345 * insetbase.h: whitespace
347 * inset.[Ch]: remove latexTextWidth
348 make setBackgroundColor virtual
350 * insettext.[Ch]: move ParagraphList member to LyXText
352 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
358 * insetminipage.[Ch]:
360 * insetwrap.[Ch]: adjust paragraphs and background color handling,
362 2003-11-28 Angus Leeming <leeming@lyx.org>
364 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
365 hiding and showing the dialog respectively.
366 (priv_dispatch): also actually update the inset contents.
368 2003-11-28 Angus Leeming <leeming@lyx.org>
370 * insetbox.C (d-tor):
371 * insetbranch.C (d-tor):
372 * insetcite.C (d-tor):
373 * insetfloat.C (d-tor):
374 * insetfloatlist.C (d-tor):
375 * insetinclude.C (d-tor):
376 * insetindex.C (d-tor):
377 simplify the invocation of the Mailer::hideDialog() function.
379 * insetminipage.C (showInsetDialog):
380 simplify the invocation of the Mailer::showialog() function.
382 2003-11-28 André Pönitz <poenitz@gmx.net>
385 * insetvspace.[Ch]: new insets
387 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
389 * insetcharstyle.C: Syntax change for CharStyles
391 2003-11-28 André Pönitz <poenitz@gmx.net>
393 * updatableinset.h: remove insetInInsetY
395 * insetcollapsable.[Ch]:
398 * insettext.[Ch]: adjust
400 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
404 * insetcollapsable.[Ch]:
406 * insettabular.[Ch]: remove setFont
408 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
410 * render_graphic.[Ch]: adjust comments
412 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
414 * insetgraphics.C (draw): cache xo_ & yo_
416 2003-11-24 André Pönitz <poenitz@gmx.net>
418 * insettext.C (setViewCache): don't call LyXText::init() anymore
420 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
423 * insetcollapsable.[Ch]:
424 * insetert.[Ch]: remove bufferview parameter in methods
425 open, close, status, and updateStatus.
427 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
429 * insetcollapsable.[Ch]:
431 * insettext.[Ch] (getCursorDim): squash unused variable
433 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
435 * insettext.C (edit): x0_,y0_ -> xo_,yo_
437 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
439 * insettext.C (draw): sets LyXText absolute coordinates
441 2003-11-20 Angus Leeming <leeming@lyx.org>
443 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
444 about unused parameters.
446 * insetcollapsable.C (open):
447 * insettabular.C (pasteSelection):
448 * insettoc.C (draw): ditto.
450 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
452 * insetcollapsable.C:
454 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
455 remove mouse_x mouse_y etc.
457 2003-11-17 André Pönitz <poenitz@gmx.net>
459 * insettext.[Ch] (cx, cy): remove
461 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
463 2003-11-13 André Pönitz <poenitz@gmx.net>
466 * insetcollapsable.[Ch]:
468 * insettext.[Ch] (deleteLyXText): remove
470 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
472 * insetcollapsable.[Ch] (fitInsetCursor): remove
473 * insettabular.[Ch] (fitInsetCursor): remove
474 * insettext.[Ch] (fitInsetCursor): remove
475 * updatableinset.[Ch] (fitInsetCursor): remove
476 (getCursorDIm): add virtual
478 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
480 * src/insets/Makefile.am:
481 * src/insets/inset.h:
482 * src/insets/insetcharstyle.C:
483 * src/insets/insetcharstyle.h: The Character Style /XML short
486 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
488 * insettext.C: remove all update calls
489 * insetcollapsable.C: remove all update calls
491 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
493 * insettext.C (updateLocal, insertInset, setFont): remove
496 2003-11-10 André Pönitz <poenitz@gmx.net>
498 * inset.h: remove Inset::id_
500 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
503 2003-11-10 André Pönitz <poenitz@gmx.net>
507 * insetcollapsable.[Ch]:
514 * updatableinset.[Ch]: remove inset locking & adjust
516 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
518 * inset.h (allowSpellCheck): add (return true)
519 * insetert.h (allowSpellCheck): add (return false)
521 2003-11-05 José Matos <jamatos@lyx.org>
529 * insetcollapsable.[Ch]:
533 * insetexternal.[Ch]:
535 * insetfloatlist.[Ch]:
537 * insetgraphics.[Ch]:
542 * insetlatexaccent.[Ch]:
545 * insetmarginal.[Ch]:
546 * insetminipage.[Ch]:
550 * insetpagebreak.[Ch]:
554 * insetspecialchar.[Ch]:
560 * insetwrap.[Ch]: rename ascii to plaintext
561 and LatexRunParams to OutputParams.
563 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
565 * insetcollapsable.C (edit): add open() all
566 * insettext.C (edit): add setViewCache call
568 2003-11-04 André Pönitz <poenitz@gmx.net>
570 * inset.h (edit): move locking code from dispatch() to edit()
576 * insetcollapsable.[Ch]:
579 * insetexternal.[Ch]:
580 * insetgraphics.[Ch]:
586 * insettext.[Ch]: adjust
588 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
591 * insetcollapsable.[Ch]:
595 * updatableinset.[Ch]: remove dead search code
597 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
600 * insetcollapsable.[Ch]:
604 * updatableinset.[Ch]: remove dead spellcheck code
606 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
608 * insettabular.C (lockInsetInInset): small fix
610 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
612 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
613 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
614 from here. Be stricter on DispatchResult returned.
616 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
618 * Inset::dispatch's: adjust for new DispatchResult semantics.
620 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
622 * render_base.h: make clone return an auto_ptr
623 * render_button.C (clone): adjust
624 * render_graphic.C (clone): adjust
625 * render_preview.C (clone): adjust
627 * insettheorem.C (clone): return an auto_ptr
629 * insettext.C (priv_dispatch): exception safety
631 * insettabular.C: store the file scope variable paste_tabular in a
632 scoped_ptr, adjust usage.
634 * insetexternal.C (setParams): exception safety
636 * insetbibitem.C (clone): exception safety
638 2003-11-03 André Pönitz <poenitz@gmx.net>
641 * insetcollapsable.[Ch]:
643 * insettext.[Ch]: remove Inset::id and related functions
645 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
647 * insets: adjust for DispatchResult changes.
649 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
651 * insetpagebreak.C: fix screen representation & ascii output.
653 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
658 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
660 2003-10-31 José Matos <jamatos@lyx.org>
662 * inset.h (ascii, linuxdoc, docbook):
663 * insetbox.[Ch] (ascii, linuxdoc, docbook):
664 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
665 * insetcaption.[Ch] (ascii, docbook):
666 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
667 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
668 * insetert.[Ch] (ascii, linuxdoc, docbook):
669 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
670 * insetfloat.[Ch] (linuxdoc, docbook):
671 * insetfloatlist.[Ch] (ascii):
672 * insetfoot.[Ch] (docbook):
673 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
674 * insethfill.[Ch] (ascii, linuxdoc, docbook):
675 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
676 * insetindex.[Ch] (docbook):
677 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
678 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
679 * insetline.[Ch] (ascii, linuxdoc, docbook):
680 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
681 * insetnote.[Ch] (ascii, linuxdoc, docbook):
682 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
683 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
684 * insetref.[Ch] (ascii, linuxdoc, docbook):
685 * insetspace.[Ch] (ascii, linuxdoc, docbook):
686 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
687 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
688 * insettext.[Ch] (ascii, linuxdoc, docbook):
689 * insettoc.[Ch] (ascii, linuxdoc, docbook):
690 * inseturl.[Ch] (ascii, linuxdoc, docbook):
691 * insetwrap.[Ch] (docbook):
692 add LatexRunParams argument.
694 2003-10-30 José Matos <jamatos@lyx.org>
696 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
698 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
700 * updatableinset.C (priv_dispatch):
701 * insetwrap.C (priv_dispatch):
702 * inseturl.C (priv_dispatch):
703 * insettoc.C (priv_dispatch):
704 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
705 (moveLeftIntern, moveUp, moveDown):
706 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
707 (moveLeft, moveUp, moveDown):
708 * insetref.C (priv_dispatch):
709 * insetnote.C (priv_dispatch):
710 * insetminipage.C (priv_dispatch):
711 * insetlabel.C (priv_dispatch):
712 * insetindex.C (priv_dispatch):
713 * insetinclude.C (priv_dispatch):
714 * insetgraphics.C (priv_dispatch):
715 * insetfloatlist.C (priv_dispatch):
716 * insetfloat.C (priv_dispatch):
717 * insetexternal.C (priv_dispatch):
718 * insetert.C (priv_dispatch):
719 * insetcommand.C (priv_dispatch):
720 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
721 * insetcite.C (priv_dispatch):
722 * insetbranch.C (priv_dispatch):
723 * insetbox.C (priv_dispatch):
724 * insetbibtex.C (priv_dispatch):
725 * insetbibitem.C (priv_dispatch):
726 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
728 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
730 * insettext.C: small refactoring of docbook stuff
732 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
734 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
735 (priv_dispatch): adjust for operator dispatch_result_t removal
737 * insettabular.C (lfunMouseRelease): put the result of a dispatch
738 in a DispatchResult, adjust accordingly.
739 (priv_dispatch): use strange >= construct... (will be removed later)
741 * most insets: dispatch_result -> DispatchResult
743 * insetbase.h: move DispatchResult out to dispatchresult.h
745 2003-10-27 André Pönitz <poenitz@gmx.net>
747 * insetpagebreak.[Ch]: new inset for page breaks
749 * insetline.[Ch]: new inset for vertical lines
754 2003-10-25 Angus Leeming <leeming@lyx.org>
756 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
757 new virtual member functions, specialised...
758 * render_button.h (asButton):
759 * render_graphic.h (asGraphic):
760 * render_preview.h (asPreview, asMonitoredPreview): ... here.
762 * insetexternal.C: use these new functions rather than dynamic_cast.
763 Various other small simplifications.
765 2003-10-22 Angus Leeming <leeming@lyx.org>
767 * insetexternal.[Ch]: add the ability to 'preview' the external file
770 * insetinclude.C: changes due to the changes in the RenderPreview
773 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
774 message if the preview image is not available. Only initiate the
775 loading of the preview from draw(). Ditto, start the monitoring
776 of an external file from RenderMonitoredPreview::draw.
778 2003-10-22 Angus Leeming <leeming@lyx.org>
780 * insetcite.[Ch] (setLoadingBuffer): removed.
781 (getNatbibLabel): use the new Buffer::fully_loaded member function to
782 ascertain whether to proceed with the (expensive) task of computing
783 the natbib-style label. Remove the home-grown hack providing
784 similar functionality.
786 2003-10-22 Angus Leeming <leeming@lyx.org>
788 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
789 class and into an anonymous namespace.
791 2003-10-22 Angus Leeming <leeming@lyx.org>
793 * insetcommand.h: remove the display method.
797 * insetindex.h (InsetPrintIndex):
798 * insettoc.h: add a display method, returning true.
800 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
802 * insetcollapsable.h:
806 * insetinclude.h: (1) finish off the inset display() work;
807 (2) fix the "is a bit silly" bug (accessing char
810 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
814 * insetfootlike.h: re-introduce display() for insets,
815 fixing the various bugs (stretch of line above, math inset
818 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
820 * insetbase.C (dispatch): new func
821 (priv_dispatch): new func replaces...
822 (localDispatch): this, deleted.
824 * all insets with dispatch modified for new code.
826 2003-10-15 André Pönitz <poenitz@gmx.net>
828 * insetcollapsable.[Ch]
830 * inset.h: re-add some edit(bv, index) method called by undo
832 2003-10-14 Angus Leeming <leeming@lyx.org>
834 * insetexternal.[Ch] (view, cache, view_):
835 * insetgraphics.[Ch] (view, cache, view_):
836 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
837 (statusChanged): call LyX::cref().updateInset.
839 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
840 the BufferView cache.
842 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
845 2003-10-14 Angus Leeming <leeming@lyx.org>
847 * insetinclude.C (metrics, draw): only draw the preview when previews
850 2003-10-14 André Pönitz <poenitz@gmx.net>
852 * insetcollapsable.[Ch]:
855 * inset.h: getText() as alternative to getParagraphs()
857 2003-10-13 Angus Leeming <leeming@lyx.org>
860 * insetgraphicsParams.C: displayTranslator is now a function.
862 2003-10-13 Angus Leeming <leeming@lyx.org>
864 * insetinclude.C: remove #include "PreviewImage.h".
866 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
869 * ExternalTransforms.C:
871 * insetbox.h: ws changes only
873 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
875 * insetinclude.C (localDispatch): do not call
876 InsetOld::localDispatch, just return UNDISPATCHED
877 * insetgraphics.C (localDispatch): ditto
878 * insetcommand.C (localDispatch): ditto
880 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
882 * inset.h: get rid of RESULT typedef for dispatch_result
884 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
885 * insetert.[Ch] (localDispatch): ditto
886 * insettabular.[Ch] (localDispatch): ditto
891 * insettext.[Ch] (localDispatch): ditto
894 (moveRightIntern): ditto
895 (moveLeftIntern): ditto
898 * updatableinset.[Ch] (localDispatch): ditto
900 2003-10-12 Angus Leeming <leeming@lyx.org>
902 * renderbase.h (view, view_): removed.
903 * renderbase.C: removed.
904 * Makefile.am: remove render_base.C. The shortest lived file in
907 * renderbutton.C (draw):
908 * render_graphic.C (draw): don't cache the BufferView.
910 * insetabase.h (cache, view): removed.
912 * inset.h (generatePreview) removed.
914 * insetcallapsable.[Ch] (cache, view, view_): removed.
916 * insetcollapsable.C (draw): don't cache the BufferView.
918 * insetcommand.[Ch] (view): removed.
920 * insetexternal.[Ch] (cache, view, view_):
921 * insetgraphics.[Ch] (cache, view, view_):
922 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
924 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
925 when you have direct access to it. In fact, don't use the cache at all.
927 2003-10-10 Angus Leeming <leeming@lyx.org>
929 * insetinclude.C (metrics): use preview_->metrics.
930 (draw): use preview_->draw.
932 * render_preview.[Ch] (pimage): removed.
934 2003-10-10 Angus Leeming <leeming@lyx.org>
936 * renderers.[Ch]: removed.
939 * render_button.[Ch]:
940 * render_graphic.[Ch]:
941 * render_preview.[Ch]: new files. The first three are split out of
942 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
943 contains a re-worked InsetInclude::PreviewImpl also.
945 * Makefile.am: reflect the changed files.
948 * insetexternal.[Ch]:
949 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
951 * insetinclude.[Ch]: changes reflecting the change from
952 InsetInclude::PreviewImpl to RenderMonitoredPreview.
958 * inseturl.C: add #include "support/std_ostream.h"
960 2003-10-09 Angus Leeming <leeming@lyx.org>
962 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
963 to PreviewedInset::previewReady.
965 2003-10-09 Angus Leeming <leeming@lyx.org>
967 * insetexternal.[Ch] (statusChanged):
968 * insetgraphics.[Ch] (statusChanged): make a const member function.
970 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
973 2003-10-09 Angus Leeming <leeming@lyx.org>
975 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
976 to PreviewedInset's previewReady and removePreview member functions.
978 2003-10-08 André Pönitz <poenitz@gmx.net>
980 * insetcollapsable.C:
981 * insettext.[Ch]: saner 'init' structure
983 * updatableinset.[Ch]: remove unneeded code
985 2003-10-08 Angus Leeming <leeming@lyx.org>
987 Fix doxygen warnings.
989 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
990 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
992 2003-10-07 Angus Leeming <leeming@lyx.org>
994 * ExternalTransforms.[Ch]: new files, detailing transforms that can
995 be applied to InsetExternal.
997 * Makefile.am: add these new files.
999 * ExternalTemplate.[Ch]: add a list of available transforms to
1000 class Template and a list of factory functions for transformer classes
1001 that can act on this data to class Format.
1003 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1005 * ExternalSupport.C: Add code to replace transform placeholders
1006 with appropriate output.
1008 2003-10-07 Angus Leeming <leeming@lyx.org>
1010 * ExternalSupport.[Ch]: new files, moving the private member functions
1011 and namespace anon functions out of insetexternal.C to here, so making
1012 it easier to understand what is going on in insetexternal itself.
1014 * Makefile.am: add new files.
1016 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1017 allowing the class to be forward declared. (Also consistent with
1018 all other Params classes.)
1019 (write): moved out of the class. Move this function and those in
1020 namespace anon to ExternalSupport.[Ch].
1022 2003-10-07 Angus Leeming <leeming@lyx.org>
1024 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1025 non-const member function.
1027 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1032 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1034 2003-10-02 André Pönitz <poenitz@gmx.net>
1036 * insettext.C (read): make sure there is at least one par
1037 in the text after reading.
1039 2003-10-01 José Matos <jamatos@lyx.org>
1041 * insetbranch.C (linuxdoc, docbook): minor fix.
1043 2003-10-01 Angus Leeming <leeming@lyx.org>
1045 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1047 * insetexternal.[Ch]: changes due to the introduction of
1048 namespace lyx::external.
1050 2003-09-30 Angus Leeming <leeming@lyx.org>
1052 * insetexternal.[Ch] (Params::read, write): new member functions.
1054 2003-09-25 Angus Leeming <leeming@lyx.org>
1056 * insetexternal.[Ch] (TempName): new (private) nested struct with
1057 fake copy semantics. Enables us to use the generated copy c-tor
1058 in the Params struct.
1059 (Params::templatename, Params::tempname): use accessor functions.
1061 2003-09-25 Angus Leeming <leeming@lyx.org>
1063 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1064 function, returning a const pointer.
1066 2003-09-23 Angus Leeming <leeming@lyx.org>
1068 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1069 store them in a vector, preambleNames.
1071 * insetexternal.C (validate): loop over all preambleNames and call
1072 LaTeXFeatures::addExternalPreamble with each.
1074 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1076 * insetbranch.C: bug fix in branches
1078 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1080 * insetnote.C: small clean-up.
1082 2003-09-19 Angus Leeming <leeming@lyx.org>
1084 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1086 * insetcommand.C (string2params): clear params using the default c-tor.
1088 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1089 InsetInclude::Params. No more data in this struct than in
1090 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1091 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1092 (clone): remove #warning as it's now redundant.
1093 (set): add a 'Buffer const &' arg. Make private.
1094 (loadIfNeeded) move out of the class definition and into namespace anon.
1095 (getMasterFilename, getFileName): ditto.
1097 2003-09-18 Angus Leeming <leeming@lyx.org>
1099 * insetcommand.C (setParams): use the params' copy constructor.
1101 2003-09-18 Angus Leeming <leeming@lyx.org>
1103 * insetinsetbase.h (getLabelList):
1104 * insetinsetcollapsable.[Ch] (getLabelList):
1105 * insetinsetinclude.[Ch] (getLabelList):
1106 * insetinsetlabel.[Ch] (getLabelList):
1107 * insetinsettabular.[Ch] (getLabelList):
1108 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1109 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1111 2003-09-18 Angus Leeming <leeming@lyx.org>
1113 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1114 redundant baggage from yesteryear.
1115 Remove Params::flag as it is redundant; the info is present in
1118 2003-09-18 Angus Leeming <leeming@lyx.org>
1120 * insetinclude.C (latexString): add a Buffer const & arg.
1122 2003-09-18 Angus Leeming <leeming@lyx.org>
1127 * insettext.h: rename EnumLColor as LColor_color.
1129 2003-09-18 Angus Leeming <leeming@lyx.org>
1131 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1132 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1134 2003-09-16 Angus Leeming <leeming@lyx.org>
1136 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1137 set before trying to generate a preview, else we trigger an assert.
1139 2003-09-16 Angus Leeming <leeming@lyx.org>
1141 * insetinclude.C (PreviewImpl::parent): return a const reference.
1143 2003-09-16 Angus Leeming <leeming@lyx.org>
1145 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1147 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1149 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1150 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1152 * insetminipage.C (metrics):
1153 * insetnote.C (metrics):
1154 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1155 access collapsed_ directly.
1157 2003-09-16 Angus Leeming <leeming@lyx.org>
1159 * insetbibitem.C: add #include "lyxfont.h".
1161 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1164 * insetbibtex.C: use namespace alias for lyx::support::os
1166 2003-09-16 Angus Leeming <leeming@lyx.org>
1168 * insetcollapsable.h: remove unused framecolor variable.
1169 Remove #include "LColor.h".
1171 * insetcollapsable.C: remove unused framecolor variable.
1174 * insetcollapsable.C:
1182 Add #include "LColor.h".
1184 2003-09-16 Angus Leeming <leeming@lyx.org>
1186 * insettext.[Ch] (frameColor): new accessor function.
1187 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1193 add #include "LColor.h".
1195 * insetcollapsable.h: add #include "LColor.h"
1196 (for its framecolor member variable).
1198 2003-09-16 Angus Leeming <leeming@lyx.org>
1200 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1202 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1203 rename frame_color as frame_color_. Make private.
1205 * insettext.C: associated changes.
1207 2003-09-16 Angus Leeming <leeming@lyx.org>
1209 * inset.h: store background_color_ as an int, not as an LColor::color to
1210 get LColor.h out of the header file.
1213 * insetlatexaccent.C:
1216 * insetspecialchar.C:
1218 add #include "LColor.h".
1220 2003-09-16 Angus Leeming <leeming@lyx.org>
1222 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1225 2003-09-15 Angus Leeming <leeming@lyx.org>
1227 * inset.[Ch] (setBackgroundColor, backgroundColor):
1228 * insettext.[Ch] (setFrameColor):
1229 pass EnumLColor args, rather than LColor::color ones.
1231 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1241 * insetwrap.C: remove usage of STRCONV
1243 2003-09-15 Angus Leeming <leeming@lyx.org>
1245 * renderers.C (draw):
1246 * insetlatexaccent.C (draw): explicitly define the color passed to
1249 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1251 * insettext.C: remove block causing problems in lockInsetInInset
1252 (mentioned erroneously under Bug #1366)
1254 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1256 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1259 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1261 * several files: change Assert to BOOST_ASSERT
1263 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1265 * insettext.[Ch]: remove drawText[XY]Offset
1267 2003-09-08 Angus Leeming <leeming@lyx.org>
1269 * insetcollapsable.C:
1274 * insetspecialchar.C:
1277 * insettoc.C: remove redundant using directives.
1279 2003-09-07 Angus Leeming <leeming@lyx.org>
1282 * insetspecialchar.h: remove #include "support/std_string.h".
1284 2003-09-06 Angus Leeming <leeming@lyx.org>
1286 * renderers.C: add #include "insets/inset.h"
1288 2003-09-05 Angus Leeming <leeming@lyx.org>
1290 * *.C: strip out redundant #includes. (193 in total.)
1292 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1294 * insets/insetbibtex.[Ch]:
1295 * insets/insetcommand.h:
1296 * insets/insetfloatlist.[Ch]:
1297 * insets/insetinclude.[Ch]:
1298 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1299 of insets like bibtex, include, toc and floatlist to the visible
1300 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1301 up the dialogs. Cursor has to be in front of the inset (i.e.
1302 start of row) for this to function.
1304 2003-09-04 Angus Leeming <leeming@lyx.org>
1306 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1307 structure outside of the Format struct. Format::preambleName refers to
1308 an item in the map of all preamble snippets.
1309 Make use of the new Debug::EXTERNAL flag.
1311 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1312 (validate): Small change due to the changed storage of preamble snippets.
1314 2003-09-04 Angus Leeming <leeming@lyx.org>
1316 * insetgraphics.C: #include "support/os.h"
1318 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1319 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1320 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1322 * insetcollapsable.h:
1324 * insetnote.C: move #include "funcrequest.h" out of the header file.
1326 2003-09-03 Angus Leeming <leeming@lyx.org>
1328 * insetexternal.C (updateExternal):
1329 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1332 2003-09-03 Angus Leeming <leeming@lyx.org>
1334 * insetexternal.C: don't bring namespace lyx::support into the global
1337 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1339 * insetbranch.C: Add Branch: to label
1341 2003-09-02 John Levon <levon@movementarian.org>
1344 * insettext.C: remove cursor.i[xy]()
1346 2003-08-28 Angus Leeming <leeming@lyx.org>
1348 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1349 "sh ", enabling the conversion to be carried out even if the script
1352 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1354 * most files: change to use const Buffer refs
1356 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1358 * insetfootlike.C: whitespace.
1360 2003-08-26 John Levon <levon@movementarian.org>
1364 * insetindex.h: remove remaining mentions of needFullRow()
1366 2003-08-26 André Pönitz <poenitz@gmx.net>
1372 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1374 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1376 * insetbranch.C: Small fix to prevent a crash on loading.
1378 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1383 * insetcollapsable.h:
1385 * insetfloatlist.[Ch]:
1386 * insetfootlike.[Ch]:
1387 * insetinclude.[Ch]:
1393 * insettheorem.[Ch]:
1394 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1395 altogether, putting the logic in metrics/draw in the insets.=20
1396 Draws short single row insets with more or less realistic metrics.
1398 2003-08-19 André Pönitz <poenitz@gmx.net>
1400 * insettext.C: use new RowPainter interface
1402 2003-08-18 John Levon <levon@movementarian.org>
1404 * insetref.C: require amsmath for eqref
1406 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1410 * insetbranch.[Ch]: implements the 'branch inset'
1411 idea. This allows the output of various versions of a document
1412 from a single source version, selectively outputing or suppressing
1413 output of parts of the text.
1414 This implementation contains a 'branch list editor' in a separate
1415 tab of the document settings dialog. Branches are user definable
1416 and have a "display colour" to distinguish them on-screen.
1418 ColorHandler was somewhat cleaned up.
1419 (1) make possible a dynamically growing LColor list by allowing
1420 the graphic context cache to grow along (vector);
1421 (2) eliminate an IMHO unnecessary step in colour allocation.
1423 2003-08-15 André Pönitz <poenitz@gmx.net>
1425 * insettext.[Ch]: adjust after rowlist split
1427 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1429 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1430 rename valign-center to valign-middle;
1431 rename VALIGN_CENTER to VALIGN_MIDDLE
1433 2003-08-11 André Pönitz <poenitz@gmx.net>
1435 * inset.h: remove resizeLyXText
1438 * insetcollapsable.[Ch]:
1440 * insettabular.[Ch]: adjust
1442 * insettext.[Ch]: remove saveLyXTextState,
1443 restoreLyXTextStat, sstate, reinitLyXText
1445 2003-08-07 André Pönitz <poenitz@gmx.net>
1447 * inset.[Ch]: move non-crucial functions out-of-line
1449 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1450 remove duplicated code.
1452 2003-08-05 André Pönitz <poenitz@gmx.net>
1455 * insetcollapsable.[Ch]:
1465 * insettabular.[Ch]:
1468 * updatableinset.[Ch]: rip out "deep update"
1470 * insettext.C (localDispatch): merge cases with default branch
1472 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1474 * insettabular.[Ch] (updateLocal): simplify logic
1476 2003-08-04 André Pönitz <poenitz@gmx.net>
1478 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1479 is 'FULL' all the time.
1481 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1483 * insetert.C (get_new_label): only add ... to the (closed) label
1484 when the string has been shortened
1486 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1488 * Always use std::endl with lyxerr
1490 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1492 * insetnote.C: update \author list
1494 2003-07-31 André Pönitz <poenitz@gmx.net>
1496 * insetcollapsable.h:
1497 * insettabular.[Ch]:
1498 * insettext.[Ch]: remove toggleSelection
1500 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1502 (with help from Juergen Spitzmueller)
1503 * insetnote.C: add add i18n support. Use Prefs-definable
1504 colours for Comment and Greyedout.
1506 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1508 * insetcollapsable.[Ch]:
1510 * insetert.C: factor out the detection of clicking on the inset
1511 button as 'hitButton'. John Levon contributed.
1513 2003-07-30 André Pönitz <poenitz@gmx.net>
1515 * insetcollapsable.C:
1517 * insettabular.C: parantheses, localize vars etc.
1519 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1521 * insetnote.C: Implement a newenvironment in preamble for
1522 greyedout. Patch provided by Jürgen Spitzmüller.
1524 2003-07-29 Angus Leeming <leeming@lyx.org>
1526 * insetcommand.C (localDispatch): default to
1527 InsetOld::localDispatch.
1529 * insetbibitem.C (localDispatch):
1530 * insetbibtex.C (localDispatch): remove call to
1531 ChangeCitationsIfUnique.
1533 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1535 * insetexternal.C (read): use pushpophelper.
1537 2003-07-28 José Matos <jamatos@lyx.org>
1539 * insetext.C (read): \end_document replaces \the_end.
1541 2003-07-28 José Matos <jamatos@fep.up.pt>
1543 * insetert.C (write): \layout -> \begin_layout.
1544 Add missing \end_layout.
1546 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1548 * insetquotes.C: document a bit the format
1550 * insettabular.C (write): remove extra space
1552 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1553 * insetnote.C: Umpf. Hope I *now* get it right :-(
1555 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1556 *insetnote.C: did the right fix to greyedout: \color
1557 instead of \textcolor.
1559 2003-07-28 Angus Leeming <leeming@lyx.org>
1561 * insetbibtex.h: remove extraneous forward declaration.
1564 * insetbibtex.h: Also remove long-dead Holder member class
1567 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1569 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1572 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1574 * insetwrap.C (addToToc): adjust for lyx::toc
1576 * insetfloatlist.C (ascii): adjust for lyx::toc
1578 * insetfloat.C (addToToc): adjust for lyx::toc
1580 2003-07-27 José Matos <jamatos@fep.up.pt>
1582 * insetnote.h (linuxdoc,docbook): update support.
1584 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1586 * insetfloat.C (wide): add a space to label, for consistency
1588 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1590 * insettext.C (nextChange): adjust for lyx::find
1591 (searchForward): ditto
1592 (searchBackward): ditto
1594 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1596 * insetgraphicsParams.C:
1597 * insetexternal.C: declare extern displayTranslator
1600 * renderers.C: add #include "support/LAssert.h"
1602 2003-07-27 José Matos <jamatos@fep.up.pt>
1604 * insetfloat.[Ch] (linuxdoc):
1605 * insetgraphics.C (linuxdoc):
1606 * insettabular.C (linuxdoc):
1607 * insettext.[Ch] (linuxdoc): add support for tables and figures
1610 2003-07-27 José Matos <jamatos@fep.up.pt>
1612 * insetinclude (latex): comply with makeLaTeXFile argument change.
1614 2003-07-26 Asger Alstrup <alstrup@local>
1616 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1617 the undo crashes. We'll see what problems other places this will
1620 2003-07-26 Angus Leeming <leeming@lyx.org>
1622 * insetgraphics.C: remove unused declaration of system_tempdir.
1624 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1626 * rename Inset to InsetOld
1628 * all inset files (clone): return a auto_ptr<InsetBase>
1630 2003-07-23 Angus Leeming <leeming@lyx.org>
1632 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1634 2003-07-23 Angus Leeming <leeming@lyx.org>
1636 * mailinset.[Ch] (inset2string):
1637 * insetcommand.[Ch] (inset2string):
1638 * insetert.[Ch] (inset2string):
1639 * insetexternal.[Ch] (inset2string):
1640 * insetfloat.[Ch] (inset2string):
1641 * insetgraphics.[Ch] (inset2string):
1642 * insetinclude.[Ch] (inset2string):
1643 * insetminipage.[Ch] (inset2string):
1644 * insetnote.[Ch] (inset2string):
1645 * insettabular.[Ch] (inset2string):
1646 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1648 * insetexternal.[Ch]:
1649 * insetgraphics.[Ch]: get rid of the view() function. Associated
1650 changes to the mailers' string2params and params2string functions.
1652 2003-07-23 Angus Leeming <leeming@lyx.org>
1654 * insetexternal.[Ch]: store the external file name in a FileName
1655 member variable rather than a string + associated changes.
1657 2003-07-21 Angus Leeming <leeming@lyx.org>
1659 * insetgraphicsParams.[Ch]: store the graphics file name in
1660 a FileName member variable rather than a string.
1662 * insetgraphics.[Ch]:
1663 * insetgraphicsParams.[Ch]: Associated changes.
1665 2003-07-21 Angus Leeming <leeming@lyx.org>
1667 * insetgraphics.[Ch] (string2params, params2string): passed a
1668 buffer_path argument.
1671 2003-07-21 Angus Leeming <leeming@lyx.org>
1674 * insetgraphicsParams.[Ch]:
1676 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1678 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1680 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1682 2003-07-18 André Pönitz <poenitz@gmx.net>
1685 * insetminipage.[Ch]:
1686 * insettabular.[Ch]:
1689 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1691 2003-07-18 André Pönitz <poenitz@gmx.net>
1695 * insetcollapsable.C:
1699 * insetgraphics.[Ch]:
1700 * insetlatexaccent.[Ch]:
1705 * insetspecialchar.C:
1706 * insettabular.[Ch]:
1708 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1710 2003-07-17 André Pönitz <poenitz@gmx.net>
1712 * insetcollapsable.C:
1714 * insettext.C: don't call Inset::update() anymore
1717 * insettabular.[Ch]: remove unneeded in_update_ members
1719 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1721 2003-07-16 André Pönitz <poenitz@gmx.net>
1723 * insettext.C (selectAll): remove
1725 2003-07-16 John Levon <levon@movementarian.org>
1728 * insetnote.C: implement showInsetDialog()
1730 2003-07-15 André Pönitz <poenitz@gmx.net>
1733 * insettext.C: refresh_status tristate -> need_update bool
1735 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1737 * insettext.C: adjust call to LyXText::init
1739 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1741 * insettext.C: use bufferview_funcs->replaceSelection()
1742 to delete selections in some cases (bugs 441, 673, 702, 954).
1744 2003-07-14 André Pönitz <poenitz@gmx.net>
1746 * insettext.C (draw): use slimmed down rowpainter interface
1748 2003-07-14 André Pönitz <poenitz@gmx.net>
1750 * insetcollapsable.C:
1752 * insettext.[Ch] (cy, ciy, setUpdateStatus):
1753 remove unused BufferView * argument
1755 2003-07-14 André Pönitz <poenitz@gmx.net>
1757 * insettext.[Ch]: used cached metrics a bit more
1759 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
1761 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
1763 2003-07-10 André Pönitz <poenitz@gmx.net>
1766 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
1768 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1770 * introduce namespace lyx::graphics
1772 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1774 * introduce namespace lyx::support
1776 2003-06-30 André Pönitz <poenitz@gmx.net>
1778 * insetcite.C (localDispatch): fix case of missing return value
1780 * insetcite.C (ascii): remove unneeded temporary
1782 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1784 * insetspace.h: fix \file
1786 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
1787 * insetinclude.C (fillWithBibKeys): ditto
1789 * insetbibitem.C: fix type const order
1791 * inset.C (getLyXText): add varname for arg
1793 * ExternalTemplate.h: fix type const order
1795 2003-06-27 André Pönitz <poenitz@gmx.net>
1797 * insettext.C: take care of removed LyXCursor::row_ member
1799 * insettext.[Ch]: use new TextCursor struct for sstate
1801 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1803 * inseterror.[Ch]: removed
1805 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
1807 * insetinclude.C (docbook): use parseError instead of sgmlError
1809 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
1811 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
1812 of BufferList::loadLyXFile
1814 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
1816 * insettext.C (update): simplify
1817 (updateLocal): remove commented code
1818 (insetUnlock): simplify
1819 (lockInset): simplify
1820 (updateInsetInInset): simplify
1821 (localDispatch): simplify
1823 (resizeLyXText): simplify
1824 (collapseParagraphs): simplify
1826 * insetert.C (get_new_label): simplify
1828 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
1830 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
1831 pasteSelection with index
1833 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1835 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
1837 2003-06-16 André Pönitz <poenitz@gmx.net>
1839 * insetbase.h: new virtual base function clone()
1841 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
1842 Inset * clone() -> InsetBase * clone()
1844 2003-06-13 André Pönitz <poenitz@gmx.net>
1846 * insettabular.[Ch]: make tabular a proper member
1848 2003-06-12 André Pönitz <poenitz@gmx.net>
1850 * insettabular.[Ch]: some renaming plus whitespace
1852 2003-06-11 Angus Leeming <leeming@lyx.org>
1854 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
1857 * insetbutton.[Ch]: removed.
1858 * graphicinset.[Ch]: renamed as renderers.[Ch].
1860 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
1861 Create a new class ButtonRenderer using the InsetButton::metrics() and
1863 Derive both from a common RenderedInset base class.
1865 * insetcommand.[Ch]:
1866 * insetinclude.[Ch]: derive from Inset, not InsetButton.
1867 Give it a ButtonRenderer member variable. Use it.
1868 Give the classes working copy c-tors.
1869 No longer derive from boost::noncopyable.
1871 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
1872 display its contents as a button or as a graphic.
1874 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
1877 2003-06-11 Angus Leeming <leeming@lyx.org>
1879 * insetcite.C (localDispatch): reformat.
1881 * insetref.C (localDispatch): enable dialog to be lauched.
1883 2003-06-11 John Levon <levon@movementarian.org>
1885 * insettabular.C: correctly mark all cells as erased
1887 2003-06-11 Angus Leeming <leeming@lyx.org>
1889 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
1890 ExternalTemplate but its name, templatename. This means that a file
1891 containing a reference to an External Template not installed on the
1892 current machine will be saved retaining this info rather than inserting
1893 the first "valid" template from the list of templates.
1895 As a by product, the visual statement that the Template is missing is
1898 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
1900 * insettext.C (appendParagraphs): remove some commented code.
1902 2003-06-10 Angus Leeming <leeming@lyx.org>
1904 * graphicinset.[Ch] (view): removed the publicly accessible function to set
1907 * insetexternal.[Ch]: move tempname_ into the Params struct.
1908 (Params d-tor): new function, to clean-up this temp file.
1909 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
1911 (editExternal, doSubstitution): move out of class.
1913 2003-06-10 Angus Leeming <leeming@lyx.org>
1915 * graphicinset.[Ch] (params): removed.
1916 * graphicinset.h (operator=): declared private but not defined.
1917 (statusMessage): made private.
1919 * insetexternal.[Ch]: graphic_ renamed as renderer_.
1921 2003-06-07 John Levon <levon@movementarian.org>
1923 * insetert.C (latex): make a newline mean just that not
1926 2003-06-07 José Matos <jamatos@fep.up.pt>
1928 * insethfill.[Ch] (linuxdoc, docbook): implement output
1929 * insetspace.C (linuxdoc, docbook): remove coments as the code
1932 2003-06-06 José Matos <jamatos@fep.up.pt>
1934 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
1936 2003-06-06 André Pönitz <poenitz@gmx.net>
1938 * insetwrap.[Ch]: code compactification
1940 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
1942 * mailinset.C (updateDialog): use Dialogs::visible
1944 2003-06-04 Angus Leeming <leeming@lyx.org>
1946 * graphicinset.C (draw): add a comment for the #if 0 block.
1948 * insetexternal.h: remove Params::parameters variable.
1949 * insetexternal.C (read, write): rewrite to output new ExternalInset format
1950 and read it back making full use of LyXLex.
1952 2003-06-04 André Pönitz <poenitz@gmx.net>
1954 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
1956 2003-06-04 John Levon <levon@movementarian.org>
1958 * insettabular.C: back out tall table speed up. It was broken
1960 2003-06-03 Angus Leeming <leeming@lyx.org>
1962 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
1963 Remove ViewCommand and UpdateCommand.
1965 * graphicinset.C (update): bug fix. Set the params before calling the
1967 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
1968 BufferView cache to enable the InsetExternal::editCommand to be invoked
1969 from the frontends. Would not be needed if this were dispatched properly.
1970 (old_ascent_): variable removed.
1972 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
1973 do any necessary conversions of external material. Also use the
1974 new GraphicsInset to display the inset within LyX.
1976 2003-06-03 Angus Leeming <leeming@lyx.org>
1978 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
1979 and move it somewhere where InsetExternal can use it too.
1981 * Makefile.am: add the new files.
1983 * insetgraphics.[Ch]: make use of the new GraphicInset.
1985 2003-06-03 John Levon <levon@movementarian.org>
1988 * insetbibitem.[Ch]:
1991 * insetcommand.[Ch]:
1995 * insetexternal.[Ch]:
1999 * insetgraphics.[Ch]:
2001 * insetinclude.[Ch]:
2004 * insetlatexaccent.[Ch]:
2005 * insetmarginal.[Ch]:
2006 * insetminipage.[Ch]:
2013 * insetspecialchar.[Ch]:
2014 * insettabular.[Ch]:
2016 * insetthereom.[Ch]:
2019 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2021 * insetgraphics.[Ch]:
2022 * insetgraphicsParams.[Ch]: always store an absolute
2025 2003-06-02 André Pönitz <poenitz@gmx.net>
2029 * insetlatexaccent.C: remove duplicated call to metrics()
2031 2003-06-02 John Levon <levon@movementarian.org>
2033 * insettabular.C: fix resize of column width
2035 2003-06-02 John Levon <levon@movementarian.org>
2040 * insetparent.C: remove insetparent
2042 2003-06-02 André Pönitz <poenitz@gmx.net>
2049 * insetcollapsable.[Ch]:
2053 * insetgraphics.[Ch]:
2054 * insetinclude.[Ch]:
2055 * insetlatexaccent.[Ch]:
2056 * insetminipage.[Ch]:
2057 * insetnewline.[Ch]:
2060 * insetspecialchar.[Ch]:
2061 * insettabular.[Ch]:
2062 * insettext.[Ch]: unify first drawing phase
2065 * insetbase.h: move validate() to the base
2067 2003-05-31 Angus Leeming <leeming@lyx.org>
2069 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2071 2003-05-30 André Pönitz <poenitz@gmx.net>
2076 * insetcaption.[Ch]:
2077 * insetcollapsable.[Ch]:
2080 * insetgraphics.[Ch]:
2081 * insetinclude.[Ch]:
2082 * insetlatexaccent.[Ch]:
2083 * insetnewline.[Ch]:
2086 * insetspecialchar.[Ch]:
2087 * insettabular.[Ch]:
2089 * updatableinset.[Ch]: unify second drawing phase
2091 2003-05-30 John Levon <levon@movementarian.org>
2093 * insetgraphics.C: fix a bformat
2095 2003-05-29 John Levon <levon@movementarian.org>
2097 * insettabular.C: remove unused bufferOwner()
2099 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2101 * insettext.C (lockInsetInInset): adjust
2102 (getLabelList): use const_iterator, adjust
2103 (getInsetFromID): use const_iterator, adjust
2104 (addPreview): use const_iterator, adjust
2106 * insetwrap.C (clone): remove const_cast
2108 * insetnote.C (clone): remove const_cast
2110 * insetminipage.C (clone): remove const_cast
2112 * insetmarginal.C (clone): remove const_cast
2114 * insetfoot.C (clone): remove const_cast
2116 * insetfloat.C (clone): remove const_cast
2118 * insetert.C (clone): remove const_cast
2120 * delete commented same_id functions from a lot of files.
2122 2003-05-28 John Levon <levon@movementarian.org>
2128 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2130 * insetminipage.C: fix metrics (bug 1144)
2132 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2134 * insettext.C (saveLyXTextState): adjust
2135 (restoreLyXTextState): adjust
2138 (unlockInsetInInset): adjust
2139 (localDispatch): adjust
2140 (getLyXText): adjust
2142 * insettabular.C (insertAsciiString): adjust
2144 2003-05-27 André Pönitz <poenitz@gmx.net>
2147 * insetcollapsable.C:
2150 * insetlatexaccent.C:
2155 * insetspecialchar.C:
2157 * insettext.C: dim.w -> dim.wid
2159 2003-05-26 John Levon <levon@movementarian.org>
2161 * insettabular.C: avoid drawing all of a long table
2162 if it's not needed. A big speedup
2164 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2166 * remove same_id from function signatures, adjust
2168 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2170 * insettext.C (InsetText): adjust
2172 (setParagraphData): separate same_id cases, adjust
2173 (appendParagraphs): adjust
2174 (appendParagraphs): adjust
2176 2003-05-23 André Pönitz <poenitz@gmx.net>
2178 * insetbutton.h: whitespace
2180 * insettabular.C: more compact code
2182 * updatableinset.C: remove const_cast
2185 2003-05-23 Angus Leeming <leeming@lyx.org>
2187 * insetexternal.C (write): check how many lines are output.
2188 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2189 if the template has defined it.
2191 2003-05-23 Angus Leeming <leeming@lyx.org>
2193 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2195 2003-05-23 Angus Leeming <leeming@lyx.org>
2197 * insetfoot.C (latex):
2198 * inseturl.C (latex): rename fragile as moving_arg.
2200 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2202 * inseterror.C (localDispatch): comment out unused var.
2204 2003-05-22 Angus Leeming <leeming@lyx.org>
2206 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2207 passed through the LatexRunParams arg.
2209 2003-05-22 Angus Leeming <leeming@lyx.org>
2211 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2212 through the LatexRunParams arg.
2214 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2215 arg rather than through a global var.
2217 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2219 * insetspecialchar.C (dimension): use a string.
2221 2003-05-22 Angus Leeming <leeming@lyx.org>
2223 * insetbibtex.C (latex):
2224 * insetgraphics.C (latex):
2225 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2226 runparams rather than from the buffer itself.
2228 2003-05-22 Angus Leeming <leeming@lyx.org>
2230 * inset*.[Ch] (latex):
2231 passed a LatexRunParams parameter.
2233 * insetgraphics.C (latex): actually use it ;-)
2235 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2237 * insetfloat.C (addToToc): trivial compile fix
2239 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2241 * insettext.[Ch] (paragraph): delete unused function
2243 * insetfloat.C (addToToc): parlist simplfication
2245 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2247 * insetspace.[Ch]: added (new space insets)
2249 * inset.h: handle new space insets
2251 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2253 * insetfloat.C (addToToc): adjust
2255 2003-05-21 André Pönitz <poenitz@gmx.net>
2257 * insettext.[Ch]: fix drawing bug introduced earlier
2259 2003-05-19 André Pönitz <poenitz@gmx.net>
2261 * insetspecialchar.C: fix bug introduced yesterday
2263 2003-05-19 André Pönitz <poenitz@gmx.net>
2267 * insetcollapsable.[Ch]:
2271 * insetgraphics.[Ch]:
2272 * insetgraphicsParams.[Ch]:
2273 * insetlatexaccent.[Ch]:
2274 * insetminipage.[Ch]:
2275 * insetnewline.[Ch]:
2277 * insetspecialchar.[Ch]:
2278 * insettabular.[Ch]:
2279 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2281 2003-05-19 André Pönitz <poenitz@gmx.net>
2284 * insettext.C: more insetenv
2286 2003-05-16 André Pönitz <poenitz@gmx.net>
2289 * insetminimpage.[Ch]:
2290 * insetcollapsable.[Ch]: fix #832
2292 2003-05-16 André Pönitz <poenitz@gmx.net>
2295 * insetbibitem.[Ch]:
2299 * insetcollapsable.[Ch]:
2300 * insetcommand.[Ch]:
2303 * insetexternal.[Ch]:
2304 * insetfloatlist.[Ch]:
2305 * insetgraphics.[Ch]:
2306 * insetinclude.[Ch]:
2309 * insetlatexaccent.[Ch]:
2312 * insettabular.[Ch]:
2316 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2318 2003-05-13 André Pönitz <poenitz@gmx.net>
2321 * insetcollapsable.C:
2325 * insetwrap.C: tostr from own header
2337 * insetwrap.C: STRCONV
2340 2003-05-12 André Pönitz <poenitz@gmx.net>
2352 * insetwwrap.C: boost::format -> bformat all over the place
2354 2003-05-05 André Pönitz <poenitz@gmx.net>
2356 * insettext.h: add missing #include <map>
2358 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2360 * insettext.C (InsetText): parlist cleanup
2363 (insetUnlock): ditto
2365 (lockInsetInInset): ditto
2369 (searchBackward): ditto
2370 (collapseParagraphs): ditto
2372 2003-05-06 John Levon <levon@movementarian.org>
2374 * insetcaption.C: don't cast wrap inset to InsetFloat
2377 * insetfloat.C: remove unneeded type() function
2379 2003-05-05 André Pönitz <poenitz@gmx.net>
2383 * insettabular.[Ch]:
2384 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2385 replace getFirstParagraph() by getParagraphs()
2387 2003-05-03 John Levon <levon@movementarian.org>
2389 * insetcollapsable.h:
2390 * insetcollapsable.C:
2396 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2397 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2398 getCursor(). Remove explicit cursor hides.
2400 2003-05-02 André Pönitz <poenitz@gmx.net>
2402 * insettext.C: remove unneeded &*
2404 2003-04-30 John Levon <levon@movementarian.org>
2406 * insettabular.C: fix edit message
2408 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2410 * insettext.C (setFont): do not convert iterator -> pointer
2412 * insettabular.C (localDispatch): do not convert iterator -> pointer
2414 (tabularFeatures): ditto
2416 2003-04-29 André Pönitz <poenitz@gmx.net>
2418 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2420 2003-04-28 André Pönitz <poenitz@gmx.net>
2422 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2425 2003-04-25 André Pönitz <poenitz@gmx.net>
2427 * insetenv.C: derive from InsetText instead of InsetCollapsable
2429 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2431 * insetexternal.C (string2params): dont do anything if the string
2433 * insetgraphics.C (string2params): ditto
2434 * insetcommand.C (string2params): ditto
2435 * insetert.C (string2params): ditto
2436 * insetfloat.C (string2params): ditto
2437 * insetinclude.C (string2params): ditto
2438 * insetminipage.C (string2params): ditto
2439 * insettabular.C (string2params): ditto
2440 * insetwrap.C (string2params): ditto
2442 2003-04-24 André Pönitz <poenitz@gmx.net>
2444 * insetref.C: support for eqref
2446 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2448 * insetert.C (read): use ParagraphList::iterator.
2450 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2452 * insetquotes.C (latex): comment some code and add warnings.
2454 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2456 * insetexternal.C (localDispatch): added a missing DISPATCHED
2458 2003-04-12 John Levon <levon@movementarian.org>
2460 * insetwrap.C (addToToc): fix a crash, conversion
2461 from while to for loop forgot to remove the explicit
2464 2003-04-10 John Levon <levon@movementarian.org>
2466 * insettabular.C (tabularFeature): make sure
2467 to update the dialog when we change something
2470 (getStatus): don't disable some lfuns (bug 939)
2472 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2474 * insettext.C (saveLyXTextState): adjust
2475 (localDispatch): adjust
2481 * insettabular.C (localDispatch): adjust
2483 (tabularFeatures): adjust
2485 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2487 * insettabular.C (searchForward,searchBackward): fix bug 782
2489 2003-04-07 John Levon <levon@movementarian.org>
2492 * insettext.C: clear status message on inset exit
2494 2003-04-03 John Levon <levon@movementarian.org>
2496 * insetcommand.C: return dispatched on DIALOG_UPDATE
2498 2003-04-02 John Levon <levon@movementarian.org>
2500 * insettabular.C: tab lfuns renamed
2502 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2504 * insettext.C (update): move towards ParagraphList
2505 (updateLocal): ditto
2507 (insetUnlock): ditto
2509 (lockInsetInInset): ditto
2510 (updateInsetInInset): ditto
2511 (localDispatch): ditto
2514 (resizeLyXText): ditto
2515 (searchBackward): ditto
2516 (collapseParagraphs): ditto
2519 * insetwrap.C (InsetWrap): adjust
2520 (addToToc): adjust and rewrite loop
2522 * insettext.[Ch] (paragraph): delete function
2524 * insettabular.C (moveNextCell): adjust
2525 (movePrevCell): adjust
2526 (insertAsciiString): adjust
2528 * insetfloat.C (InsetFloat): adjust
2531 * insetert.C (InsetERT): adjust
2532 (write): adjust, and rewrite loop
2533 (latex): adjust, and rewrite loop
2534 (linuxdoc): adjust, and rewrite loop
2535 (docbook): adjust, and rewrite loop
2536 (localDispatch): adjust
2537 (get_new_label): adjust
2539 2003-04-01 John Levon <levon@movementarian.org>
2541 From Alfredo Braunstein
2544 * insetbutton.C: add localDispatch()
2546 * insetcommand.C: return DISPATCHED when edit() called
2548 * insettext.C: fix bug 967
2550 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2552 * insettext.C: adjust
2554 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2556 * insettext.C (draw): adjust
2557 (crow): return a RowList::iterator not a Row*
2559 * insetminipage.C (localDispatch): adjust
2561 * insetert.C (localDispatch): adjust
2563 2003-03-31 John Levon <levon@movementarian.org>
2566 * insetgraphicsParams.C: use_gui moved to lyx_gui
2568 2003-03-31 John Levon <levon@movementarian.org>
2570 * insettext.C: Alert fix
2572 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2574 * insettext.C (ascent): adjust for RowList
2577 (getLyXText): adjust
2578 (toggleSelection): adjust
2580 * insetminipage.C (localDispatch): adjust for RowList
2582 * insetert.C (localDispatch): adjust for RowList
2583 (getMaxWidth): adjust for RowList
2585 2003-03-29 John Levon <levon@movementarian.org>
2587 * insetert.C: Alert cleanup
2589 2003-03-29 John Levon <levon@movementarian.org>
2591 * insettabular.C: Alert fix
2593 2003-03-28 John Levon <levon@movementarian.org>
2595 * insetfloat.C: reset label on INSET_MODIFY
2597 2003-03-28 John Levon <levon@movementarian.org>
2599 * insetgraphicsParams.C: read subcaptionText as a whole line
2602 2003-03-28 John Levon <levon@movementarian.org>
2604 * insettext.C: remove unused prototypes
2606 2003-03-25 Angus Leeming <leeming@lyx.org>
2608 * insetbibitem.C (localDispatch): repaint the view after modifying
2609 a bibitem inset in case the maximum InsetBibitem width has changed.
2611 2003-03-25 John Levon <levon@movementarian.org>
2614 * insettabular.C: LyXText renamings
2616 2003-03-24 John Levon <levon@movementarian.org>
2618 * insettext.C: remove some dead code. Fix bug 972 and
2619 related by posting a repaint in updateLocal(), and making
2620 the SEL functions set SELECTION.
2622 2003-03-22 John Levon <levon@movementarian.org>
2625 * inset.C: remove no-longer-needed topx_set
2627 * insetcollapsable.h:
2628 * insetcollapsable.C: remove dead code
2631 * insetert.C: rebreak the rows when a possible
2632 change in size is made, and reset the cursor
2635 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2637 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2638 topx_set. Fix drawing errors for clearInset(). Remove
2639 some unnecessary uses of topx, which should die.
2641 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2642 is no longer needed. Replace it with an ugly hack.
2644 2003-03-20 John Levon <levon@movementarian.org>
2647 * insetcollapsable.h:
2648 * insetcollapsable.C:
2656 * insettext.C: remove spurious font parameter
2657 from update(). Fix drawing of ERT insets inside
2658 insets (bug 966). Remove unused mark_dirty from
2659 tabular's updateLocal()
2661 2003-03-19 John Levon <levon@movementarian.org>
2670 * insetwrap.C: remove unused getter/setters
2672 2003-03-19 John Levon <levon@movementarian.org>
2674 * several files: bv->updateInset() doesn't take
2675 a bool mark_dirty any more
2677 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2679 * adjust for BufferView* arg removal from lyxtext.
2681 2003-03-17 John Levon <levon@movementarian.org>
2683 * most files: remove the "cleared" parameter
2684 to draw in favour of always clearing. Associated
2687 2003-03-16 John Levon <levon@movementarian.org>
2689 * insettext.C: remove unused s.refresh
2691 2003-03-13 Angus Leeming <leeming@lyx.org>
2693 * insettext.C (edit): replace Dialogs::updateParagraph with
2694 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2696 2003-03-13 André Pönitz <poenitz@gmx.net>
2698 * Makefile.am: insert insetenv
2700 * insethenv.[Ch]: new files, currently inactive
2702 2003-03-12 John Levon <levon@movementarian.org>
2712 * insettext.C: use new insetnewline
2714 2003-03-12 John Levon <levon@movementarian.org>
2716 * insettext.C: readToken became readParagraph
2718 2003-03-12 John Levon <levon@movementarian.org>
2720 * insettext.C: use parlist iterator for reading contents
2722 2003-03-12 John Levon <levon@movementarian.org>
2724 * insettext.C: name change to readToken()
2726 2003-03-11 André Pönitz <poenitz@gmx.net>
2728 * Makefile.am: insert insethfill
2730 * insethfill.[Ch]: new files
2732 2003-03-10 Angus Leeming <leeming@lyx.org>
2734 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2736 (hideDialog): calls the new static Dialogs::hide() method.
2738 * insetbibitem.C (edit):
2739 * insetbibtex.C (edit):
2740 * insetcite.C (edit):
2741 * insetcommand.C (localDispatch):
2742 * inseterror.C (d-tor):
2743 * insetert.C (showInsetDialog):
2744 * insetexternal.C (localDispatch, edit):
2745 * insetfloat.C (localDispatch, showInsetDialog):
2746 * insetfloatlist.C (edit):
2747 * insetgraphics.C (localDispatch, edit):
2748 * insetinclude.C (localDispatch, edit):
2749 * insetindex.C (edit):
2750 * insetlabel.C (edit):
2751 * insetminipage.C (localDispatch, showInsetDialog):
2752 * insetref.C (edit):
2753 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
2754 resetPos, showInsetDialog, openLayoutDialog):
2755 * insettoc.C (edit):
2756 * inseturl.C (edit):
2757 * insetwrap.C (localDispatch, showInsetDialog):
2758 changes due to the changed MailInset interface.
2760 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
2762 * insetfloat.h: Set default placement to an empty string.
2764 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
2766 * insettext.C (latex): adjust call to latexParagraphs.
2768 2003-03-10 Angus Leeming <leeming@lyx.org>
2770 * mailinset.C: warn the user if the BufferView has not been cached.
2772 2003-03-10 Angus Leeming <leeming@lyx.org>
2774 * inset.h, insetbase.h: move cache() and view() into InsetBase.
2776 * insetcommand.h (inset):
2777 * insetert.h (inset):
2778 * insetexternal.h (inset):
2779 * insetfloat.h (inset):
2780 * insetgraphics.h (inset):
2781 * insetinclude.h (inset):
2782 * insetminipage.h (inset):
2783 * insettabular.h (inset):
2784 * insetwrap.h (inset):
2785 * mailinset.h (inset): return an InsetBase &, not an Inset &.
2787 2003-03-10 Angus Leeming <leeming@lyx.org>
2789 * insetcommand.C (string2params):
2790 * insetexternal.C (string2params):
2791 * insetfloat.C (string2params):
2792 * insetgraphics.C (string2params):
2793 * insetinclude.C (string2params):
2794 * insetminipage.C (string2params):
2795 * insettabular.C (string2params):
2796 * insetwrap.C (string2params): cure warning message about missing
2799 2003-03-09 Angus Leeming <leeming@lyx.org>
2801 * insettabular.[Ch]: define a new class InsetTabularMailer and use
2802 it to communicate with the frontend dialogs.
2804 * mailinset.C (hideDialog): only hide the dialog if it is showing the
2805 contents of this inset!
2807 2003-03-07 Angus Leeming <leeming@lyx.org>
2809 * inseterror.C (localDispatch): new method; calls edit() on
2812 2003-03-07 Angus Leeming <leeming@lyx.org>
2814 * insetbibitem.C (localDispatch):
2815 * insetbibtex.C (localDispatch):
2816 * insetlabel.C (localDispatch):
2817 rewrite as a switch.
2819 2003-03-07 Angus Leeming <leeming@lyx.org>
2821 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
2822 it to communicate with the frontend dialogs.
2824 2003-03-07 Angus Leeming <leeming@lyx.org>
2826 * insetexternal.C: remove operator== and operator!= for
2827 InsetExternal::Params. They were used only by the old controller
2830 2003-03-07 Angus Leeming <leeming@lyx.org>
2832 * insetcommand.C (localDispatch):
2833 * insetexternal.C (localDispatch):
2834 * insetfloat.C (localDispatch):
2835 * insetinclude.C (localDispatch):
2836 * insetminipage.C (localDispatch):
2837 * insetwrap.C (localDispatch):
2838 add LFUN_INSET_DIALOG_UPDATE to the switch.
2840 2003-03-07 Angus Leeming <leeming@lyx.org>
2842 * insetcommand.C (string2params):
2843 * insetexternal.C (string2params):
2844 * insetfloat.C (string2params):
2845 * insetinclude.C (string2params):
2846 * insetwrap.C (string2params): use LyXLeX more.
2849 * insetexternal.[Ch]:
2851 * insetinclude.[Ch]:
2852 * insetwrap.[Ch]: change Mailer::name_ to be static.
2854 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
2855 it to communicate with the frontend dialogs.
2857 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
2860 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
2862 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
2864 * insettext.C (updateLocal): un-const function
2865 (updateLocal): adjust
2866 (collapseParagraphs): un-const function
2867 (collapseParagraphs): adjust
2869 2003-03-05 Angus Leeming <leeming@lyx.org>
2871 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
2872 it to communicate with the frontend dialogs.
2874 2003-03-05 Angus Leeming <leeming@lyx.org>
2876 * insetcollapsable.C (draw): cache the BufferView.
2878 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
2879 it to communicate with the frontend dialogs.
2881 2003-03-05 Angus Leeming <leeming@lyx.org>
2883 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
2886 2003-03-05 Angus Leeming <leeming@lyx.org>
2888 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
2890 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
2891 it to communicate with the frontend dialogs.
2893 2003-03-05 Angus Leeming <leeming@lyx.org>
2895 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
2896 it to communicate with the frontend dialogs.
2898 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2900 * insettext.C (collapseParagraphs): adjust
2901 (appendParagraphs): make it take a Buffer* instead of a
2902 BufferParams& as arg.
2903 (appendParagraphs): adjust
2905 2003-03-04 Angus Leeming <leeming@lyx.org>
2907 * insetbibitem.C (localDispatch):
2908 * insetbibtex.C (localDispatch):
2909 * insetcommand.C (localDispatch):
2910 * insetert.C (localDispatch):
2911 * insetlabel.C (localDispatch):
2912 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
2914 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2916 * insettext.C (latex): adjust for ParagraphList::iterator
2918 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2920 * insetbutton.C (view): adjust for boost 1.30.0
2921 * insetcollapsable.C (view): ditto
2922 * insetgraphics.C (statusChanged): ditto
2924 * insettext.h: move paragraphs to be public.
2926 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2928 * insetnote.[Ch] (InsetNote): remove unused constructor
2930 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
2932 * insetgraphics.C: added include "format.h"
2934 2003-02-27 Angus Leeming <leeming@lyx.org>
2936 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
2939 2003-02-27 Angus Leeming <leeming@lyx.org>
2941 * insetbibitem.C (localDispatch):
2942 * insetbibtex.C (localDispatch):
2945 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2947 2003-02-26 Angus Leeming <leeming@lyx.org>
2949 * insetbibitem.[Ch] (localDispatch):
2950 * insetbibtex.[Ch] (localDispatch):
2951 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
2953 * insetcommand.C (localDispatch):
2954 act only on receipt of LFUN_XYZ_APPLY.
2956 * insetert.C (localDispatch): reformat.
2957 add LFUN_XYZ_APPLY to the switch.
2959 2003-02-26 John Levon <levon@movementarian.org>
2961 * insettext.C: use RowPainter
2963 * inset.h: make helpers take const *
2965 2003-02-26 Angus Leeming <leeming@lyx.org>
2967 * insetcommand.[Ch] (localDispatch): new method.
2969 2003-02-26 Angus Leeming <leeming@lyx.org>
2971 * insetinclude.C (draw): cache the BufferView* using cache not
2972 PreviewImpl::setView
2974 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
2976 * insetgraphics.C (draw)
2977 * insetinclude.C (draw): Eliminate also the other argument (owner
2978 inset inset) in the call to PreviewImage::image
2980 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
2982 * insetgraphics.C (draw)
2983 * insetinclude.C (draw): Eliminate Buferview argument in call to
2986 2003-02-25 John Levon <levon@movementarian.org>
2988 * insetgraphicsParams.h:
2989 * insetgraphics.C: don't start a load process if
2990 the inset is set to NoDisplay (bug #920)
2992 2003-02-22 John Levon <levon@movementarian.org>
2995 * insetwrap.C: TocItem changed API (bug 913)
2997 2003-02-21 Angus Leeming <leeming@lyx.org>
2999 * insetcollapsable.[Ch] (cache, edit):
3000 * insetbutton.[Ch] (cache, edit): new methods to cache the
3001 BufferView in the draw method.
3003 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3004 simplify comunication between InsetCommand-derived classes and
3007 * insetbibitem.[Ch]:
3011 * insetfloatlist.[Ch]:
3015 * inseturl.[Ch]: small changes to reflect the new interface to the
3018 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3019 other, similar classes.
3021 * Makefile.am: add new files.
3023 2003-02-21 Angus Leeming <leeming@lyx.org>
3025 * updatableinset.h (setView, view): remove.
3026 * inset.h (view, cache): to be replaced by these.
3028 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3031 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3034 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3036 2003-02-21 Allan Rae <rae@lyx.org>
3038 * insetinclude.C (loadIfNeeded): ensure loading also works when
3039 child document is under version control.
3041 2003-02-17 André Pönitz <poenitz@gmx.net>
3043 * insetbib.[Ch]: Adjust access to bibkeys
3045 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3047 * insetquotes.C (dispString): remove use of acute accent for "'"
3050 2003-02-14 John Levon <levon@movementarian.org>
3052 * insettabular.C: changed method names in tabular.C
3054 2003-02-14 John Levon <levon@movementarian.org>
3058 * insetcollapsable.h:
3059 * insetcollapsable.C:
3063 * insettext.C: remove unused getParFromID()
3065 2003-02-13 John Levon <levon@movementarian.org>
3068 * insettext.C: remove unused beginningofMainBody()
3070 2003-02-08 John Levon <levon@movementarian.org>
3074 * insetcollapsable.h:
3075 * insetcollapsable.C:
3080 add nextChange(). Make allowSpellcheck() const. Add markErased().
3082 * insetert.C: ignore deleted text
3084 * insettabular.C: make sure to keep change tracking working
3087 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3092 * insettext.C: Use error messages with identical spelling and punctuation
3094 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3096 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3098 2002-12-17 Juergen Vigna <jug@lyx.org>
3100 * insettext.C (localDispatch): hopefully fixed cursor up down
3101 movement on leaving other insets.
3103 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3105 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3108 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3110 * insetgraphics.C (prepareFile): do not remove the extension of
3111 the file name if it is not the default extension for the given
3112 format (that is, in latex output, remove extension from foo.eps,
3113 but not from foo.epsi)
3115 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3117 * insettext.C (lfunMouseRelease): hackish solution to the "double
3120 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3122 * insetfloat.C (addToToc): use the floats name not its type
3123 * insetwrap.C (addToToc): ditto
3125 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3127 * insetnote.C (init): make label font smaller
3129 2002-12-04 John Levon <levon@movementarian.org>
3131 * insetinclude.C: ressurect setting of command name
3133 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3135 * insetquotes.C (dispString): disambiguate insert call
3137 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * several files: ws changes
3141 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3143 * insetquotes.C (dispString): use string::insert for prepending a
3146 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3148 * insetparent.C (getScreenLabel): use boost::format
3150 * insetgraphics.C (prepareFile): use boost::format
3153 * insetfloatlist.C (latex): use boost::format
3155 * insetcaption.C (draw): use boost::format
3157 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3159 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3162 2002-11-20 Juergen Vigna <jug@sad.it>
3164 * insettabular.C (resetPos): temporary fix for endless loop in
3165 this function on a redraw.
3167 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3169 * insettabular.C (copySelection): STRCONV
3171 * insetinclude.C (uniqueID): STRCONV
3172 (latexString): ditto
3174 * insetgraphics.C: put VersionNumber inside anon namespace
3175 (createLatexOptions): STRCONV
3177 * insetcommandparams.C: include config.h
3179 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3181 * insetgraphicsParams.C (Write): use lyx::float_equal.
3182 Write height data correctly.
3183 (Read): zero scale when reading height data.
3185 2002-10-30 John Levon <levon@movementarian.org>
3187 * insetfloat.C (addToTOC): recursively traverse all
3188 contents looking for captions (fix #568)
3190 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3192 * insetexternal.C (doSubstitution): do not try to replace
3193 environment variables, this is done when executing the command
3195 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3197 * insetexternal.C (doSubstitution): change order of substitution
3198 to work around ReplaceEnvironmentPath brokenness
3200 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3202 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3204 * insetgraphicsParams.C (init, Write): associated changes
3205 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3206 InsetGraphicsParams::scale.
3208 2002-10-21 John Levon <levon@movementarian.org>
3210 * inset.h: remove unused DISPATCH_RESULT
3212 * insettext.C: sgml open/close tag now in sgml namespace
3214 2002-10-21 Angus Leeming <leeming@lyx.org>
3216 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3217 file path subdir/fig.eps when pasting it into a buffer in a different
3220 2002-10-16 John Levon <levon@movementarian.org>
3222 * insetspecialchar.C: remove \\protected_separator parsing
3224 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3226 * insetquote.C: fix LaTeX output of quotation marks.
3228 2002-10-14 Juergen Vigna <jug@sad.it>
3230 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3231 Backspace functions which confused the Undo handling.
3233 2002-10-09 Angus Leeming <leeming@lyx.org>
3235 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3236 BufferView::dispatch that turns off this optimisation when a new inset
3239 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3240 reload the BibTeX keys.
3242 2002-10-11 André Pönitz <poenitz@gmx.net>
3244 * insettext.h: handle LFUN_PRIOR/NEXT
3246 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3248 * insetfloat.C: fix bug with float settings
3249 (document default != float default).
3251 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3253 * insetwrap.C (addToToc): New method.
3254 (InsetWrap): Set layout to caption.
3256 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3258 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3260 2002-09-16 John Levon <levon@movementarian.org>
3262 * insettabular.h: hasSelection() needs to be public
3264 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3266 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3268 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3270 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3272 2002-09-11 André Pönitz <poenitz@gmx.net>
3274 * insettabular.C: implement LFUN_WORDSEL
3276 2002-09-10 John Levon <levon@movementarian.org>
3278 * insetinclude.h: remove unused param
3280 2002-09-09 John Levon <levon@movementarian.org>
3283 * insetinclude.C: remove noload, default to input
3285 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3287 * insetgraphics.C: disfuscated use of ']' in built output string.
3289 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3291 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3293 2002-08-29 Juergen Vigna <jug@sad.it>
3295 * insettabular.C (lfunMousePress): Pay attention where you set
3296 the x/y values as they depend on which inset in the tabular is
3297 actually locked. So you surely have to reset them if you (un)lock
3300 2002-08-29 André Pönitz <poenitz@gmx.net>
3302 * insetfootlike.h: rename include guard to ALL CAPS
3304 * insettext.C: swap object and first parameter for checkInsetHit calls
3305 as this functions has moved from BufferView to LyXText
3308 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3310 * insetgraphicsParams.C: remove local displayTranslator and use
3311 the one from graphics/GraphicsTypes.h.
3313 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3315 * insetfloat.C (wide): add BufferParams parameter
3317 * insetfloatlist.C (read):
3320 * insetfloat.C (latex):
3322 * insetcaption.C (draw): use LyXTextClass::floats()
3324 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3326 * insetoptarg.h: add std:: qualifier.
3328 2002-08-26 Juergen Vigna <jug@sad.it>
3330 * insettext.C (localDispatch): ditto.
3332 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3334 2002-08-25 John Levon <levon@movementarian.org>
3336 * inseturl.C: elide long URLs (bug 404)
3338 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3340 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3341 remove "Format Version <version_no.>" string from inset header
3344 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3346 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3347 a member of "grfx::Params" anymore.
3349 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3351 2002-08-24 John Levon <levon@movementarian.org>
3354 * insetoptarg.C: ws, pedantry ...
3356 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3358 * insettext.C (collapseParagraphs): pasteParagraph now in global
3360 (appendParagraphs): ditto
3362 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3364 * insetcite.C (latex): Remove spaces only after commmas.
3366 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3368 * insettext.C: remove NO_COMPABILITY stuff
3370 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3372 * insettext.C (edit): use ParagraphList iterators
3374 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3375 (bibitemWidest): ditto
3377 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3379 * insettext.C: include <boost/bind.hpp>
3380 add using std::for_each
3381 (saveLyXTextState): use ParagraphsList::iterator
3382 (init): use for_each on paragraphlist iterators
3383 (InsetText): remove superflous setting cached_bview to 0
3384 (latex): reformat a bit
3385 (ascii): use paragraphlist iterators
3386 (validate): use for_each + boost bind
3387 (getLabelList): use paragraphlist iterators
3388 (deleteLyXText): use for_each + boost::bind
3389 (resizeLyXText): ditto
3390 (reinitLyXText): ditto
3391 (removeNewlines): use paragraphlist iterators
3392 (getParFromID): ditto
3393 (paragraph): use for_each + boost::bind
3394 (getInsetFromID): use paragraphlist iterators
3395 (getLabelList): typo fix
3397 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3399 * insettext.C (read): assign tmp to paragraphs after return from
3400 call to parseSingleLyXformat2Token
3403 2002-08-13 Angus Leeming <leeming@lyx.org>
3422 changes due to the changed LyXView interface that now returns references
3423 to member variables not pointers.
3425 2002-08-13 Angus Leeming <leeming@lyx.org>
3428 * insetcollapsable.h:
3431 * insettext.h: forward-declare WordLangTuple
3432 (selectNextWordToSpellcheck) constify return type.
3435 * insetcollapsable.C:
3438 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3440 2002-08-12 Angus Leeming <leeming@lyx.org>
3442 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3444 2002-08-12 Juergen Vigna <jug@sad.it>
3446 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3449 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3451 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3452 (bibitemWidest): ditto
3453 * insettext.[Ch]: ditto
3455 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3457 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3459 2002-08-09 Angus Leeming <leeming@lyx.org>
3461 * insetinclude.C (latexString): remove fudge now that I've found out
3462 how to enable LaTeX to find the file using input@path.
3464 2002-08-09 John Levon <levon@movementarian.org>
3467 * insettext.C: remove unused xpos
3469 2002-08-07 Juergen Vigna <jug@lyx.org>
3471 * insettabular.C (localDispatch): make delete not put the stuff
3472 in the clipboard only do this on a cut operation.
3474 * insettext.C (localDispatch): make delete and backspace not put
3475 selected stuff to the clipboard.
3477 2002-08-07 André Pönitz <poenitz@gmx.net>
3480 * insetcollapsable.[Ch]:
3484 * insettabular.[Ch]:
3485 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3487 2002-08-06 John Levon <levon@movementarian.org>
3491 * insetcollapsable.h:
3492 * insetcollapsable.C:
3498 * insettext.C: use WordLangTuple for spellcheck
3500 2002-08-06 Angus Leeming <leeming@lyx.org>
3502 * insetinclude.C: add a monitor to the previewed image, so that the
3503 image is refreshed if the \input-ed file changes.
3505 2002-08-04 John Levon <levon@movementarian.org>
3508 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3510 2002-08-02 Angus Leeming <leeming@lyx.org>
3512 * insetcommandparams.[Ch] (preview): new methods returning and setting
3513 a new bool preview_ flag.
3514 (read): read this flag.
3515 (operator==): add flag to check.
3517 * insetinclude.C (write): output new preview() flag.
3518 (previewWanted): use this flag.
3520 2002-08-02 Angus Leeming <leeming@lyx.org>
3522 * insetcollapsable.[Ch] (addPreview):
3523 * insettabular.[Ch] (addPreview):
3524 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3525 for insets in insets.
3527 2002-08-02 Angus Leeming <leeming@lyx.org>
3529 * insetcite.C: fix typo.
3531 * insetgraphics.C: kill current_view and instead cache the BufferView
3534 * insetinclude.C: kill current_view and pass the BufferView to the
3535 PreviewedInset so that it can cache it.
3537 2002-08-01 Angus Leeming <leeming@lyx.org>
3539 * inset.h (generatePreview): renamed as addPreview.
3540 (generatePreview): new method. Allows code to be moved out of
3541 math_nestinset.C and into the new PreviewedInset class.
3543 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3544 add previews to the inset when \input-ing LaTeX.
3546 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3548 * several files: strip,frontStrip -> trim,ltrim,rtrim
3550 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3552 * insetbib.C (latex): modify because of strip changes
3554 * insetnote.C (InsetNote): ditto
3556 2002-07-26 Juergen Vigna <jug@sad.it>
3558 * insettabular.C (searchForward): check for lastcell if we
3559 had a locking inset.
3561 2002-07-25 Juergen Vigna <jug@sad.it>
3563 * insettabular.C (insetMotionNotify): Don't update the screen
3564 if we didn't do nothing.
3565 (searchForward): last cell was not checked.
3567 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3569 * insetfloat.C (read, write): Allow default placement
3570 (floatPlacement_ is empty).
3572 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3574 * insetminipage.h (noFontChange):
3575 * insettabular.h (noFontChange):
3576 * insetfootlike.h (noFontChange):
3577 * insetfloat.h (noFontChange): return true
3579 * inset.h (noFontChange): new method, defaulting to false
3581 2002-07-22 Herbert Voss <voss@lyx.org>
3583 * insetgraphicsParams.[Ch]: support size_type for old docs
3585 2002-07-22 Herbert Voss <voss@lyx.org>
3588 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3591 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3593 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3595 * insetlatexaccent.h: do not include "lyxlex.h"
3597 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3600 * insetlatexaccent.C:
3604 * insetbib.C: #include "lyxlex.h"
3610 * insettext.C: use BufferParams::getLyXTextClass
3613 * insetfloat.C (addToToc): new method. Add to toclist the entries
3614 corresponding to Caption layouts
3615 (InsetFloat): when creating a new float, set the layout to "Caption"
3617 2002-07-21 Herbert Voss <voss@lyx.org>
3619 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3620 image relevant part into graphics/GraphicsImgae.C
3622 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3624 * insettoc.C (ascii):
3625 * insetfloatlist.C (ascii): change to use the new Toc functions
3626 instead of stuff that was in Buffer
3628 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3630 * insettext.C (localDispatch): BufferView::Dispatch has been
3631 renamed to BufferView::dispatch
3633 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3635 * insetgraphicsParams.C (as_grfxParams): use the new
3636 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3637 1.2.0 patch, and I do not really know how to adapt it to the new
3638 grfx::Cache world. Angus, please could you have a look?
3640 2002-05-01 Herbert Voss <voss@lyx.org>
3642 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3644 2002-07-18 Angus Leeming <leeming@lyx.org>
3646 * insetgraphics.C: clean-up comments (from Herbert).
3647 add a new checksum variable to the cache. Use it in PrepareFile.
3648 (draw): start monitoring the file for a change.
3649 (prepareFile): re-arrange a little to avoid unnecessary steps.
3651 2002-07-17 Angus Leeming <leeming@lyx.org>
3653 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3654 a method rather than to the signal directly.
3656 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3658 * insettext.C: use view_state_changed, switchKeyMap
3660 2002-07-17 Herbert Voss <voss@perce.de>
3662 * insetgraphics.C (prepareFile): keep the extension when
3663 exporting to nice file
3665 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3667 * insetcite.C (getNatbibLabel):
3668 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3670 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3672 * insetgraphics.C: use ->isDrawable()
3674 2002-07-12 Angus Leeming <leeming@lyx.org>
3676 * insetgraphics.C: use the new smart loading capabilities of the image
3679 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3681 * insettabular.C (edit): Move into correct cell when entering a
3684 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3687 2002-07-05 Angus Leeming <leeming@lyx.org>
3689 * inset.h (generatePreview): new virtual method.
3691 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3693 * insetcommandparams.[Ch] (operator=): move out of class
3694 (operator!): move out of class
3696 2002-07-04 André Pönitz <poenitz@gmx.net>
3698 * insetcommandparams.[Ch]: new files
3700 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3702 2002-06-15 Herbert Voss <voss@perce.de>
3704 * insetgraphics.C (prepareFile): bugfix; return always
3705 files without extension
3707 2002-06-28 Angus Leeming <leeming@lyx.org>
3709 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3710 rename asGParams -> as_grfxParams.
3712 * insetgraphics.C: reflect above change.
3714 2002-06-26 Angus Leeming <leeming@lyx.org>
3716 * insetgraphics.h: use boost::scoped_ptr in preference to
3719 2002-06-26 Angus Leeming <leeming@lyx.org>
3721 * insetgraphics.C: moved the image loading stuff into a new class
3722 grfx::Loader. Simplifies this file enormously.
3724 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3726 * insetgraphicsParams.C: changes aassociated with moving
3727 grfx::DisplayType out of grfx::GParams.
3729 2002-06-26 André Pönitz <poenitz@gmx.net>
3731 * insetgraphics.C: use os::external_path where necesaary according to a
3732 patch from Claus Hentschel)
3734 2002-06-25 Angus Leeming <leeming@lyx.org>
3736 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3737 generating a pixmap once the graphics file is loaded into memory.
3738 The current_view ugliness that was in grfx::ModifiedImage has been
3739 moved here now that grfx::ModifiedImage is no more.
3741 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
3743 * insettext.C: layout as layout
3745 2002-05-28 André Pönitz <poenitz@gmx.net>
3747 * insetfloatlist.h: remove source of compiler warning
3749 * insetref.C: tiny whitespace
3751 2002-06-15 Herbert Voss <voss@perce.de>
3753 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
3754 and take always convert when no userdefined converter was
3756 (latex) small changes in the lyxerr output
3758 2002-06-15 LyX Development team <lyx@rilke>
3760 * inset*.[Ch] (docbook): Added new argument to take the pernicious
3761 mixed content. Small white spaces clean.
3763 2002-06-14 Angus Leeming <leeming@lyx.org>
3765 * inseetexternal.C: remove the using std::difftime declaration.
3767 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
3769 * insetquotes.C: change lyxfont::draw to font_metrics::draw
3771 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
3773 * insetquotes.C (draw): fix drawing of double quotes
3775 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3777 * insettabular.C: s/scrollCB/scrollDocView/
3779 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3781 * insettext.C: change of topCursorVisible()
3784 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
3787 * insettext.C: rename/change of LyXScreen
3789 2002-06-07 Angus Leeming <leeming@lyx.org>
3791 Fixes needed to compile with Compaq cxx 6.5.
3793 all c-library variables have been moved into namespace std.
3794 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
3796 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3798 * insetinclude.C (uniqueID):
3799 * insetgraphics.C (uniqueID): renamed from unique_id, since this
3800 conflicted with some AIX headers.
3802 2002-05-31 Juergen Vigna <jug@sad.it>
3804 * insetert.C (get_new_label): add '...' for multi-paragraph ert
3808 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3810 * insetexternal.C (clone): fix () bug when using new
3811 (updateExternal): don't only look for difftime in global scope
3813 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
3815 * insettabular.C: add const
3817 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3819 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
3820 file name, in case there are weird characters like ',' in there.
3823 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
3825 * switch from SigC signals to boost::signals.
3827 2002-05-28 André Pönitz <poenitz@gmx.net>
3829 * insets/insetgraphicsParams.[Ch]:
3830 put in inset related stuff from src/graphic
3832 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
3840 * insetcollapsable.C:
3841 * insetcollapsable.h:
3869 * inseturl.h: use mouse_state. Kill insetKeyPress
3871 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
3876 * insetcollapsable.C:
3879 * insetlatexaccent.C:
3881 * insetspecialchar.C:
3883 * insettext.C: name change for font metrics
3885 2002-05-24 Juergen Vigna <jug@sad.it>
3887 * insetgraphics.h: include inset.h first (for LString.h)
3889 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3891 * insettext.C: screen moved
3893 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3911 * inseturl.C: LyXView moved into frontends/
3913 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
3918 * insetcollapsable.C:
3922 * insetgraphicsParams.C:
3923 * insetlatexaccent.C:
3925 * insetspecialchar.C:
3927 * insettext.C: move Painter to frontends/
3929 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
3931 * insettabular.h: use more specific smart_ptr header.
3932 * insettext.h: ditto
3934 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
3937 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
3939 * insettext.C: clear selection on paste (bug 393)
3941 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
3943 * insettext.C (latex): Honor the moving_arg argument.
3945 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3947 * insetfoot.C (latex): if a footnote is in a title layout, then it
3948 is a \thanks. And then, its contents is a moving argument.
3950 2002-05-14 Juergen Vigna <jug@sad.it>
3952 * insetcollapsable.C (InsetCollapsable): forgot to initialize
3955 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
3957 * Insetcite.C (getNatbibLabel): don't disable natbib label support
3958 when using options "Full author list" or "Upper case".
3960 2002-05-14 Herbert Voss <voss@perce.de>
3962 * insetgraphics.C (prepareFile): allow files with same name
3964 (readFigInset): set the flags from old figinset in the right
3966 (findTargetFormat): more comments
3968 2002-05-14 Juergen Vigna <jug@sad.it>
3970 * insettext.C (edit): tell checkAndActivateInset() that we don't
3971 have a button press.
3972 (checkAndActivateInset): if button < 0 we don't have a button press
3973 on the inset and os we won't call edit on it if it's not a Highly
3974 editable inset (then we have to enter it).
3976 2002-05-13 Juergen Vigna <jug@sad.it>
3978 * insetcollapsable.C (insetButtonRelease): returned wrong return
3981 2002-05-09 Juergen Vigna <jug@sad.it>
3983 * insetcollapsable.C (edit): first_after_edit should only be
3984 set to true if we enter this inset and it was collapsed so we
3985 open it up. This is needed to reclose it after a search/replace
3986 or spellcheck function opened it and was negative.
3988 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
3990 * insetfloat.C (latex): Return correct value.
3992 2002-05-04 Herbert Voss <voss@perce.de>
3994 * InsetgraphicsParams.C (read): fix bug with WH
3996 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
3998 * insetfloat.C (latex): More sensible latex output
3999 (fix the problem with endfloat).
4001 2002-05-02 José Matos <jamatos@fep.up.pt>
4003 * insetgraphics.C (validate): acess params as everyone else.
4005 2002-05-03 Juergen Vigna <jug@sad.it>
4007 * insettabular.C (fitInsetCursor): recalculate the cursor position
4010 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4012 * InsetgraphicsParams.[Ch]: whitespace.
4014 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4016 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4017 float type do not exist.
4019 2002-04-28 Herbert Voss <voss@perce.de>
4021 * insetgraphics.C (latex): fix bug with missing file-extension.
4022 LaTeX still allows a missing "eps" or "ps".
4024 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4026 * insetfloat.C (c-tor, wide): translate the name of the float.
4028 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4030 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4031 when using natbib and make it work efficiently. Must emphasise that the
4032 real work is Herbert's.
4034 2002-04-23 Herbert Voss <voss@perce.de>
4036 * insetgraphic.C (prepareFile): fix bug with overwriting and
4037 deleting an existing *.eps-file in the doc-dir
4039 2002-04-23 Juergen Vigna <jug@sad.it>
4041 * insettabular.C (drawCellSelection): fix off by 1 error.
4043 2002-04-22 Juergen Vigna <jug@sad.it>
4045 * insettabular.C (setFont): rewoke full selection if it was asked,
4046 after we changed all we had to change.
4048 * insettext.C (insetUnlock): code was uninitialized in some situations.
4050 2002-04-19 Herbert Voss <voss@perce.de>
4052 * insetgraphic.C (prepareFile): return filename without
4053 extension if we only export without compiling
4055 2002-04-19 Juergen Vigna <jug@sad.it>
4057 * insettext.C (draw): call a fullRebreak on the row where we had a
4058 change and reset the cursor and selection-cursors.
4060 * insettabular.C (insetUnlock):
4061 (insetButtonPress): call an update before setting the_locking_inset = 0
4062 as otherwise we don't repaint!
4063 (update): reset the cursor position when we changed dimensions as
4064 otherwise our cursor may be on the wrong spot.
4066 2002-04-18 Juergen Vigna <jug@sad.it>
4068 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4069 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4070 redraw otherwise we won't redraw.
4072 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4073 not really right before, but I only discovered this with the last
4074 changes to Page up/down.
4076 2002-04-17 Juergen Vigna <jug@sad.it>
4078 * insettext.C (checkAndActivateInset): simplified as we now have the
4079 edit(bv, bool) call.
4081 * insettext.h: changed behind variables to front variables to be
4082 equal to the one in the edit call (as it is for that they are used).
4084 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4086 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4087 not output anything at all!
4089 2002-04-16 Juergen Vigna <jug@sad.it>
4091 * insettabular.C (insetButtonPress):
4092 (insetUnlock): call a redraw on unlocking the cell inset.
4094 * insettext.C (insetButtonPress): same as below.
4095 (lockInset): new function to set initial values when inset should
4097 (insetButtonPress): use above function.
4098 (insetUnlock): don't force a repaint only set the updateStatus. The
4099 outside world should repaint if it thinks it should be done!
4101 * insettabular.C (insetButtonPress): init values if not set as locked
4102 as we are locked if someone presses on us and don't call the edit()
4103 call of the InsetText to lock it do it as BufferView does it!
4105 * inset.h (insetInInsetY): make func const and return an int.
4108 * insetcollapsable.C: adapt the above changed function.
4110 2002-04-15 Juergen Vigna <jug@sad.it>
4112 * insettext.C (getCursorPos): return relative position as to be able
4113 to give them directly to the edit() call.
4114 (edit): we have to set also x_fix as it is not set inside the
4115 setCursorFromCoordinates call!
4116 (insetMotionNotify): ditto.
4118 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4120 * insetbib.C (getKeys): strip leading '\t's from the line too.
4121 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4123 2002-04-12 Juergen Vigna <jug@sad.it>
4125 * insettext.h: added cix() helper function and use it where appropriate
4127 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4129 * insetgraphics.C (prepareFile): fix bug when graphics is a
4132 2002-04-12 Juergen Vigna <jug@sad.it>
4134 * insettext.C (insertInset): remove unneeded code!
4135 (updateLocal): fitCursor() fixes.
4136 (collapseParagraphs): fix a possible problem when having a selection
4137 and collapsing the paragraphs.
4139 2002-04-08 Herbert Voss <voss@perce.de>
4141 * insetgraphic.C (write): write the rotating angle as
4142 a float as is. test only for != 0.0
4144 2002-04-11 Juergen Vigna <jug@sad.it>
4146 * insettext.C: new function ciy() and use it for setting inset_y.
4148 * insetert.C (draw): fix the x return for collapsed version.
4150 2002-04-07 Herbert Voss <voss@perce.de>
4152 * insetgraphic.C (readFigInset): fix bug with subcaption and
4155 2002-04-08 Herbert Voss <voss@lyx.org>
4157 * insetgraphicsparam.C: forgot special option and delete old
4160 2002-04-05 Juergen Vigna <jug@sad.it>
4162 * insettext.C (localDispatch): make a CURSOR update if we inserted
4165 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4167 * insetfloatlist.C (getScreenLabel):
4168 (latex): use Floating::listName
4169 (validate): new method
4171 2002-04-03 José Matos <jamatos@fep.up.pt>
4173 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4175 * insetfoot.[Ch] (docbook): added forgotten method.
4177 2002-04-03 Juergen Vigna <jug@sad.it>
4179 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4180 way as in Bufferview_pimpl.
4182 2002-04-03 Allan Rae <rae@lyx.org>
4184 * insetgraphics.C (latex): one % too many makes living on the bleeding
4185 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4187 2002-03-28 Herbert Voss <voss@lyx.org>
4189 * insetgraphic.C (latex): simplify the code for the latex
4190 output when the file doesn't exist
4192 2002-03-29 Juergen Vigna <jug@sad.it>
4194 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4197 * insettabular.C (edit): call fitCursor().
4199 * insettext.C (insetButtonPress): change behaviour of no_selection
4200 to the one in the BufferView selection_possible and fix the spurious
4201 selection bug with it.
4202 (localDispatch): revoke selection on BREAK... functions.
4204 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4206 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4208 2002-03-28 Juergen Vigna <jug@sad.it>
4210 * insettabular.C (insetAllowed): return true as default value otherwise
4211 we're not able to insert insets inside paragraphs of an not locked
4214 2002-03-27 Herbert Voss <voss@lyx.org>
4216 * insetgraphicsparam.C: change c%, p% to col%, page%
4218 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4220 * insetspecialchar.C (isLineSeparator): disable the nice code to
4221 allow linebreaks after hyphenation and menu separators.
4223 2002-03-26 Herbert Voss <voss@lyx.org>
4225 * insetgraphics.C (figinsetRead): set the right lyxview
4227 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4229 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4230 $\backslash$ and pass a "string const &" to the function.
4231 (prepareFile, latex): use Path rather than MakeAbsPath.
4233 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4235 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4236 proper fix to the graphics cache.
4237 (latex): "really" nice output if the file is not found ;-)
4239 2002-03-26 Juergen Vigna <jug@sad.it>
4241 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4242 (collapseParagraphs): fixed inserting of separator ' '
4244 * insettabular.C (insertAsciiString): only check for buffer lenght
4245 not if we have \t or \n inside the buffer as if we don't have we only
4246 have 1 cell and that's it!
4248 * insetert.C (close): don't collapse if inlined.
4250 2002-03-25 Herbert Voss <voss@lyx.org>
4252 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4253 graphics file does not exist.
4255 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4257 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4258 path when preparing export.
4260 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4261 no longer MakeRelPath.
4263 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4265 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4266 Used to determine the absolute path to the graphics file in the
4267 graphics cache and only in the graphics cache.
4268 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4269 make graphics file name absolute if it is stored as a relative path.
4271 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4272 make graphics file name absolute if it is stored as a relative path.
4274 * insettext.C (edit): emit an updateParagraph signal on entering a text
4275 inset. Needs to be emitted when leaving the inset also.
4277 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4279 * all files: ws cleanup
4281 * Makefile.am: remove ld -r stuff
4283 2002-03-21 Juergen Vigna <jug@sad.it>
4285 * insettext.C (appendParagraphs): new function added to append
4286 the paragraphs to this insets paragraphs.
4288 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4290 * Makefile.am: special rules if partial linking
4292 2002-03-19 Juergen Vigna <jug@sad.it>
4294 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4296 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4298 * insetgraphics.C: Clean up Baruch's comments a little.
4299 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4301 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4304 * insettheorem.C: wrap warnings
4306 * insetgraphics.C: improve messages, move cached_status_
4307 setting to safer place
4309 2002-03-18 Juergen Vigna <jug@sad.it>
4311 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4313 (localDispatch): ditto
4315 * insettext.C (edit): removed unneeded showCursor calls.
4316 (localDispatch): ditto.
4318 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4320 * insetgraphics.h: remove display() method.
4322 2002-03-11 Juergen Vigna <jug@sad.it>
4324 * insetgraphics.C (draw): hack to fix the redrawing bug.
4325 (draw): seems this fixes #268 (force redraw of row if we changed).
4327 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4328 this inset text (don't know why I missed this earlier).
4330 2002-03-08 Juergen Vigna <jug@sad.it>
4332 * insettabular.C (updateLocal): do a FULL update if we're not locked
4333 and only a CELL update is asked.
4335 * insettext.C (updateInsetInInset): update insets inside inset also
4336 if it isn't inside the_locking_inset.
4338 * insettabular.C (updateInsetInInset): ditto.
4340 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4342 * insetexternal.C (doSubstitution): check whether we are using a
4343 temp dir for defining $$FPath
4345 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4348 * insettext.C: remove #include "WorkArea.h".
4350 2002-03-06 Juergen Vigna <jug@sad.it>
4352 * insettext.C (draw): fixed frame redrawing.
4353 (clear): forgot to set the inset_owner of the paragraph.
4355 * insetert.C (status): pay attention the bv can be 0 here!
4356 (getMaxWidth): add the default leftMargin
4358 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4360 * insetert.C (getMaxWidth): make w unsigned int.
4362 2002-03-05 Juergen Vigna <jug@sad.it>
4364 * insetert.C (status): change behaviour of Inlined.
4365 (getMaxWidth): added for new inlined behaviour.
4367 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4369 * insetnote.h (linuxdoc, docbook): add empty methods.
4370 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4371 before being initialized.
4373 2002-03-05 Juergen Vigna <jug@sad.it>
4375 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4376 only that one in the inset. Should be enough.
4377 (updateLocal): set the selection cursor always if we don't have a
4378 selection to be sure it's set!
4380 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4382 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4384 * insettext.C (clear): a gross hack to set layout on a newly
4387 2002-03-04 Juergen Vigna <jug@sad.it>
4389 * insettabular.C (localDispatch): inserted handling of
4390 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4391 (insertAsciiString): new helper function.
4393 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4395 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4398 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4400 * insettext.C (InsetText): initalize newly created par with
4401 default layout. add bufferparams parameter
4404 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4405 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4406 * insetert.[Ch] (InsetERT): ditto
4407 * insetfloat.[Ch] (InsetFloat): ditto
4408 * insetfoot.[Ch] (InsetFoot): ditto
4409 * insetfootlike.[Ch] (InsetFootLike): ditto
4410 * insetmarginal.[Ch] (InsetMarginal): ditto
4411 * insetminipage.[Ch] (InsetMinipage): ditto
4412 * insetnote.[Ch] (InsetNote): ditto
4413 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4415 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4417 * insettext.C: layout as string
4419 * insetinclude.C: layout as string
4421 * insetert.C: layout as string
4423 * insetbib.C: layout as string
4425 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4428 * insettabular.C: remove #include "lyx_gui_misc.h".
4430 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4435 * inset.h: remove figinset, yahoo !
4437 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4439 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4440 copy c-tor and initialise member variables in the correct order.
4442 2002-02-28 Juergen Vigna <jug@sad.it>
4444 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4446 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4448 * inset.h: ... and add a better one here.
4450 * insetcommand.C (insetButtonRelease): remove that one which was a
4453 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4455 * insetcommand.C (insetButtonRelease): ... and move it here.
4457 * inseturl.h: remove insetButtonRelease from there...
4459 2002-02-26 Juergen Vigna <jug@sad.it>
4461 * inseturl.h: Added a insetButtonRelease call returning true as
4464 * insetlabel.C (edit): Fixed wrong update handling after change I
4465 leave in the wrong code for the one who wrote it to remove and have
4466 a look what he did wrong.
4468 * insettabular.C (localDispatch): force a SELECTION update if we
4469 had a selection and we passed the event down to the inset (fix #213)
4470 (localDispatch): handle font changing stuff when we have a cell
4471 selection so that the selection is not rewoked. I don't really like
4472 this fix, but it's the only way I see to do it right now.
4474 2002-02-22 Juergen Vigna <jug@sad.it>
4476 * insettext.C (insetUnlock): set the cursor to the second paragraph
4477 if available and if the first one is empty (fix #191).
4479 2002-02-20 Juergen Vigna <jug@sad.it>
4481 * insettext.C (getDrawFont): implemented this function to call the
4482 one of the owner if present as the owner normally knows what to do
4485 * insetert.C: implement getDrawFont() function and comment out all
4486 the crap for setting a special latex font inside this inset.
4487 (InsetERT): added a Lanugage parameter to this constructor.
4489 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4490 change the font for being drawn on screen (used only in InsetERT for
4493 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4494 and also above (was missing).
4495 (updateLocal): don't remove the cell selection if we have one this
4496 should be done where we really want to remove it.
4498 2002-02-20 José Matos <jamatos@fep.up.pt>
4500 * insetinclude.h: include_label made string const.
4502 * insetinclude.C (InsetInclude): moved include_label initialization.
4505 (validate): fix support for temporary directory, for docbook and
4508 * insetgraphics.h : new private member, graphic_label, that holds
4509 the entity name that defines the graphics location (SGML).
4511 * insetgraphics.C (unique_id): new function to give a unique label
4514 (validate): the file locatation is given by an entity reference.
4516 2002-02-18 Herbert Voss <voss@lyx.org>
4518 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4520 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4522 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4523 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4525 2002-02-18 José Matos <jamatos@fep.up.pt>
4527 * insetinclude.C (validate): some code only applies to latex buffers,
4528 it was made conditional.
4530 2002-02-12 Herbert Voss <voss@lyx.org>
4532 * insetgraphics.C: (prepareFile) do not check at this time
4533 if the file is present.
4535 2002-02-12 Herbert Voss <voss@lyx.org>
4537 * insetgraphics.C: latex(), return the correct newlines
4539 2002-02-13 José Matos <jamatos@fep.up.pt>
4541 * inseturl.C (docbook): escape & in url.
4543 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4545 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4546 after HYPHENATION and MENU_SEPARATOR
4548 * inset.h (isLineSeparator): new method, returns false by default.
4550 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4552 * insetert.C (status): do not update the text inset, but the ERT
4555 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4557 * insetnote.C: use notebg for background
4559 2002-02-08 Herbert Voss <voss@lyx.org>
4562 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4563 prevent LyX from unzipping when this should be handled
4564 by latex vis the graphic.cfg.
4567 2002-02-08 Herbert Voss <voss@lyx.org>
4569 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4570 exists, than return filename with extension
4572 2002-02-06 Herbert Voss <voss@lyx.org>
4574 * insetgraphic.C: prepareFile(): don't convert the file, when
4575 it's not viewed in LyX. Saves a lot of time when opening a
4578 2002-02-05 Herbert Voss <voss@lyx.org>
4581 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4582 and adding a rotate bool similiar to subcaption
4584 2002-02-04 Herbert Voss <voss@lyx.org>
4587 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4588 similiar view to the LaTeX one. Get zipped files work.
4590 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4592 * insetgraphicsParams.C (init): set display to DEFAULT.
4593 No longer #include "lyxrc.h".
4595 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4597 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4598 for now (so that the code compiles).
4600 2002-02-02 Herbert Voss <voss@lyx.org>
4602 * insetgraphic.C: delete inVariant() and some minor changes
4603 * insetgraphicsParams.[C]:
4605 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4607 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4608 interogate lyxrc.display_graphics before diaplaying the graphic.
4610 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4611 InsetGraphicsParams::DisplayType.
4613 2002-01-31 Herbert Voss <voss@lyx.org>
4615 * insetgraphic.C: (readfigInset) set display to pref-default
4617 2002-01-30 Herbert Voss <voss@lyx.org>
4619 * insetgraphic.C: get the filetyp from it's contents
4620 * insetgraphicparams.C: add token scale and lyxrc.display when
4621 creating a new inset
4623 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4625 * figinset.C: added using std::ios directive.
4627 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4629 * figinset.C (runqueue): open translation file in binary mode (for
4632 2002-01-27 Herbert Voss <voss@lyx.org>
4634 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4635 all options and to be sure that the old figinsets are correct
4637 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4638 structure and to support all lengths as LyXLength. The Parameter
4639 structure changed again, but reading of "old" 1.2 graphic insets
4642 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4644 * insetert.h (forceDefaultParagraphs): Added
4646 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4648 * insettabular.C (getMaxWidth):
4649 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4651 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4653 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4654 of LyXLength::inPixels
4656 * inset.C (latexTextWidth):
4657 * insetminipage.C (latexTextWidth): new method, which implements
4658 the equivalent of the LaTeX macro \textwidth
4660 * insetminipage.C (getMaxWidth): use latexTextWidth
4662 2002-01-18 Juergen Vigna <jug@sad.it>
4664 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4666 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4668 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4670 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4673 2002-01-17 Juergen Vigna <jug@sad.it>
4675 * insettabular.C (lockInsetInInset): same change as in insettext.
4677 * insettext.C (draw): width() function was called without setting
4678 the right top_x which could lead to wrong insetWidth setting!
4679 (lockInsetInInset): call edit instead of calling lockInset if we
4680 have to lock an inset inside!
4681 (edit): we have to also tell the inset that we have to redraw the
4682 frame on an edit call if this inset draws a frame only if locked.
4684 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4686 * insetbib.C (getFiles): uncomment Path variable.
4688 2002-01-16 Juergen Vigna <jug@sad.it>
4690 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4693 2002-01-16 Allan Rae <rae@lyx.org>
4695 * insetinclude.C (docbook): someone forgot a ";"
4697 2002-01-16 José Matos <jamatos@fep.up.pt>
4699 * figinset.C (docbook): removed a old place holder "@".
4700 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4701 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4702 ascii text version, clearly guarded inside a CDATA section.
4703 (docbook): in docbook 4, inlinegraphics is empty.
4704 * insettabular.C (linuxdoc): export the ascii version of the table
4705 inside a CDATA section.
4707 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4709 * insetparent.C (InsetParent):
4710 * insetgraphicsParams.C (Write):
4712 * insetgraphics.C (prepareFile):
4715 * insetexternal.C (executeCommand):
4716 (doSubstitution): use Buffer::filePath
4718 * insetbib.C (getFiles): add a #warning for Angus
4720 * insetgraphics.C: Add a remark about how filenames should be
4721 considered to be relative to buffer (but absolute is still allowed)
4722 (draw): do not try to get status if lyxrc.use_gui is false
4724 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4727 * insetcollapsable.[Ch]:
4728 * insettabular.[Ch] (searchForward, searchBackward): change the
4729 bool const & params to bool.
4731 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4732 to avoid the name clash with InsetCollapsable's methods of the same
4733 names but different functionality.
4735 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4737 * insettext.C (ascii): use lyx::count rather than countChar.
4739 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
4741 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
4743 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4745 * insetgraphics.C (updateInset): do not try to render image if
4746 lyxrc.use_gui is false (bug #104)
4748 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
4749 if file does not exist
4751 * figinset.C (browseFile): add shortcuts to directory buttons
4753 * insettext.C (updateLocal): update menubar and toolbar here too.
4755 2002-01-13 Allan Rae <rae@lyx.org>
4757 * insettabular.C (InsetTabular): Both constructors now initialise
4758 all class variables.
4760 2002-01-11 Juergen Vigna <jug@sad.it>
4762 * insettext.C (insetButtonPress): set the_locking_inset to 0.
4764 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4766 * insettabular.C (getStatus): add forgotten brace around multiline
4769 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4771 * insetfloat.C (validate): require "float" instead of "floats".
4773 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
4775 * insettabular.C (getStatus): use FuncStatus
4777 2002-01-08 Juergen Vigna <jug@sad.it>
4779 * insettabular.C (insetButtonRelease): now this should work too
4782 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
4783 if the width is a percentage.
4785 * inset.h: added isChar() function and implemented this for
4786 insetspecialchar insetquotes and insetlatexaccent.
4787 added forceDefaultParagraphs() and implemented it for insettabular.
4789 2002-01-07 Juergen Vigna <jug@sad.it>
4791 * insettext.C (getLyXText): Fixed this function. An insert into the
4792 map is only done if we REALLY have a new BufferView.
4794 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
4796 * insettext.C: fix bug illustrated by attachment #37 of bug #59
4798 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
4800 * insetinclude.C: fix use of FileInfo
4802 2002-01-07 Juergen Vigna <jug@sad.it>
4804 * insettabular.C (draw): fixed clearing of cell around inset.
4806 2002-01-05 Juergen Vigna <jug@sad.it>
4808 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
4809 variables are updated.
4811 * insettabular.C (resetPos): set always the inset_y as it may be
4812 needed in another function.
4813 (searchBackward): don't draw while searching.
4815 2002-01-04 Juergen Vigna <jug@sad.it>
4817 * insettext.C (lockInsetInInset): forgot to set a cursor.
4819 2002-01-02 Juergen Vigna <jug@sad.it>
4821 * insettext.C (insertInset): make the correct undo informations on
4822 inserting new insets.
4824 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
4826 * insettabular.C: correct single-cell select vertically
4828 2001-12-27 Juergen Vigna <jug@sad.it>
4830 * insettabular.C (ascii): export as tab-separated-values if the
4831 function was not called from export (f.ex.: clipboard).
4833 * insetcollapsable.h: added default support for ascii, linuxdoc and
4834 docbook export (the insettext is exported by default!)
4836 * insettabular.C (copySelection): suff the clipboard with the tabular
4837 data in a tab separated format, seems more naturals then with all the
4840 2001-12-24 Juergen Vigna <jug@sad.it>
4842 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
4843 to check for REAL mouseMotion.
4845 2001-12-20 Juergen Vigna <jug@sad.it>
4847 * inset.C (cursor): return the owners cursor if available instead of
4848 always only the bv->text->cursor.
4850 * insettabular.C (checkLongtableSpecial): works now.
4852 2001-12-19 Juergen Vigna <jug@sad.it>
4854 * insettabular.C (tabularFeatures): fix the row setting of ltt as
4855 this has to be always row + 1 as 0 means not selected!
4856 (checkLongtableSpecial): added
4857 (tabularFeatures): better longtable options support
4859 * insettext.C (resizeLyXText): reinit the text always also on a
4862 2001-12-18 Juergen Vigna <jug@sad.it>
4864 * insettext.C (updateInsetInInset): look if we have to autocollapse
4865 paragraps and return if the update is requested for ourself.
4867 * insetert.C (status): update the insettext not myself as that is what
4870 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
4871 function only return if the update was requested with myself.
4873 * insettext.C (insetButtonPress): fixed stupid bug.
4874 (various functions): pay attention that lt is cleared BEFORE calling
4875 updateLocal() and try to use it in the right manner (don't use it
4876 if it's not really neccessary!)
4877 (collapseParagraphs): insert a blank between collapsing paragraphs
4878 if neccessary (not already there!).
4880 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
4882 * insettabular.C: move includes around a bit, add a couple of
4885 * insettext.[Ch]: move includes around a bit, other ws changes and
4888 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4890 * insettext.C (insetButtonRelease): fix compile problem
4892 2001-12-17 Juergen Vigna <jug@sad.it>
4894 * insettext.C (insetButtonPress): set the selection cursor!
4895 (insetButtonPress): clear the selection (and set with that the
4896 selection.cursor) if we only hit an inset!
4898 * insetert.C (read): removed piece of compatibility code only needed
4901 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
4904 * insetcollapsable.C (insetButtonRelease): changed so that it can
4905 open eventual existing popup dialogs on mousebutton==3.
4907 * insetfloat.C (insetButtonRelease): removed not needed anymore!
4909 * insetminipage.C (insetButtonRelease): removed not needed anymore!
4911 * inset.C (insetButtonRelease): return a bool for telling the outer
4912 world that we opened a dialog.
4914 2001-12-07 Juergen Vigna <jug@sad.it>
4916 * insettext.C (paragraph): remove the deleteing of paragraphs as
4917 it was a WRONG move!
4919 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
4922 * insettabular.C: use new setSelection(). Allow
4923 selection of single cells.
4925 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4927 * insetquotes.C (latex): fix to use the local language setting at
4928 the point where the inset is inserted (different macros for
4929 different french packages)
4931 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4933 * inset.h: add par_owner_ member variable and parOwner
4936 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4938 * insettabular.C (everywhere): adapt because widths are now real
4939 widths and not strings
4941 * insettext.C (draw): re-introduce the calls to width(), ascent()
4942 and descent() to initialize the caching variables.
4944 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4946 * insettext.C (draw):
4947 (drawFrame): use insetWidth instead of last_width
4949 * insettext.h: remove variable last_width (insetWidth is exactly
4950 the same) and last_height (computed but never used!)
4952 2001-12-10 Allan Rae <rae@lyx.org>
4954 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
4956 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
4958 * insettext.C (insetAllowed): add comment
4960 2001-12-05 Juergen Vigna <jug@sad.it>
4962 * insettext.C (insetAllowed): fixed for the case that we directly
4963 ask the insettext from its LyXText.
4964 (paragraph): fixed the crash when assigning the par->next() from
4965 the EmptyParagraphMechanism!
4967 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4971 * insettext.C: change "while(" to "while ("
4973 2001-12-04 Juergen Vigna <jug@sad.it>
4975 * insetert.C (edit): handle Inlined status.
4977 * insettext.C (insertInset): trying John's fix for the trailing cursor
4979 * insetert.C (insetButtonPress): added to handle inlined status
4980 (insetMotionNotify): ditto.
4982 * insettext.C (clearInset): changed Painter & in BufferView * param,
4983 to be able to call ascent,descent methods.
4985 2001-12-03 Juergen Vigna <jug@sad.it>
4987 * insettext.C (updateInsetInInset): use lt variable to forbid
4988 changes of LyXText in an update call.
4989 (updateInsetInInset): fixed updating of non locked insets!
4991 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4993 * insettabular.C: capture some more functions to prevent
4994 selection drawing problems. Bug #451274
4996 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
4999 * insetgraphicsParams.C: fix inverted sense of float_equal
5001 2001-11-30 Juergen Vigna <jug@sad.it>
5003 * insettabular.C (InsetTabular): use the save_id flag to create also
5004 the tabular with the same id's.
5006 * insettext.C (setParagraphData): added a same_id function for undo
5007 to set the same paragraph id's as of the paragraph we are setting.
5009 2001-11-30 José Matos <jamatos@fep.up.pt>
5012 * insettoc.[Ch]: DocBook -> docbook.
5014 2001-11-29 André Pönitz <poenitz@gmx.net>
5017 * insettext.C: further reduction of header dependencies by using
5018 lyx::layout_type and lyx::textclass_type from support/types.h
5020 2001-11-29 Juergen Vigna <jug@sad.it>
5022 * insettext.C: inserted a reinitLyXText function everywhere I delete
5023 the paragraphs! This should fixe the crashes we had.
5024 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5025 (paragraph): set the InsetOwner() of the new paragraphs!
5027 2001-11-28 André Pönitz <poenitz@gmx.net>
5029 * insetnote.C: add pos initialization that I removed without
5032 2001-11-28 Juergen Vigna <jug@sad.it>
5034 * insettabular.C (resetPos): hack to not crash with infinite paints.
5036 * insettabular.h: insert missing function allowSpellcheck()!
5038 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5040 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5043 * insetfloatlist.C: derive from InsetCommand so gui can use it
5046 2001-11-26 André Pönitz <poenitz@gmx.net>
5050 * insetnote.C: reduce header dependencies, introduce type for
5053 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5055 * various: update for Alert.h
5057 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5059 * inset.h: fix comment
5061 * insettext.C: use par->isInset()
5063 2001-11-22 Allan Rae <rae@lyx.org>
5065 * insetcollapsable.h:
5066 * inset.h: Changes to checkInsertChar() behaviour.
5067 Now return value indicates whether chars can be inserted.
5069 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5071 * various: updated to use the new LaTeXFeatures
5073 2001-11-14 José Matos <jamatos@fep.up.pt>
5075 * insetspecialchar.C (linuxdoc):
5076 (docbook): don't give a name to a unused variable.
5078 * insettext.C (docbook): removed unused variable.
5080 2001-11-13 Herbert Voss <voss@perce.de>
5082 * insetgraphic.C: fix scale bug
5084 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5086 * inset.h (isSpace):
5087 (isLetter): new virtual methods.
5089 * insetspecialchar.C (isSpace):
5090 (isLetter): implement here.
5092 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5094 * inset.h: new inline helpers
5096 * insettext.C: use new helpers
5098 2001-11-07 José Matos <jamatos@fep.up.pt>
5100 * insettext.C (docbook): full support for paragraphs inside insettext.
5102 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5104 * insetindex.C: added header file for std::ostream.
5106 2001-11-03 José Matos <jamatos@fep.up.pt>
5108 * insetindex.C: added using std::ostream that I forgot yesterday.
5110 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5112 * insetindex.h (docbook):
5113 * insetindex.C (docbook): added support for docbook export.
5115 2001-11-02 José Matos <jamatos@fep.up.pt>
5117 * insetcaption.C(docbook): added support for docbook export.
5119 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5121 * insetexternal.C (updateExternal): Do not run update command if
5122 result file exists and is up to date.
5124 * ExternalTemplate.C (readFormat): Support the updateresult token.
5126 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5128 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5129 external_templates) to use the buffer->fileName() but only if
5130 previewing. Generating a TeX file should make FPath return
5133 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5136 * insetert.C: fix some problems
5138 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5140 * insetexternal.C (doSubstitution): Added $$FPath token
5141 to list of usable substitutions in external inset templates.
5143 2001-10-24 Juergen Vigna <jug@sad.it>
5145 * insettabular.C: use new ltType struct for setting longtable
5146 header and footers also new UNSET enums.
5148 2001-10-24 José Matos <jamatos@fep.up.pt>
5150 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5151 (docbook): If the table is not inside a float then wrap it inside
5152 <informaltable>...</informaltable>.
5154 2001-10-23 José Matos <jamatos@fep.up.pt>
5156 * insetref.C (docbook): removed / terminator to conform SGML.
5158 * insetspecialchar.C (linuxdoc):
5159 (docbook): Added support for special chars, more than ascii export.
5161 2001-10-22 Juergen Vigna <jug@sad.it>
5163 * insettext.C (checkInsertChar): added for REALLY checking the
5164 font of the inserted char in the right inset!
5166 2001-10-19 Juergen Vigna <jug@sad.it>
5168 * inset.h: added method allowSpellcheck() so that insets who do
5169 not have anything to spellcheck can tell and so they are over-jumped.
5170 Implemented for InsetText and co.
5172 2001-10-18 Juergen Vigna <jug@sad.it>
5174 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5176 2001-10-15 José Matos <jamatos@fep.up.pt>
5178 * insetert.C: allow export for docbook and linuxdoc
5180 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5182 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5184 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5186 * insetquotes.C (dispString): fix handling of latin9 quotes
5188 2001-10-03 Juergen Vigna <jug@sad.it>
5192 * insetcollapsable.C: change updateInset calls to not tell BV that
5193 we have changed status.
5195 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5197 * insettabular.C (deletable): make const
5199 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5201 * insetert.C (latex): Fix the returned value
5203 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5205 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5206 Returns string(), so nothing in an ERT inset is spellchecked.
5208 * insetgraphics.C (draw): print the filename if not displaying the
5210 (width): make sure that the width and draw methods are consistent.
5211 (updateInset): don't even load the image into cache if not displaying
5214 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5216 * various files (selectNextWord): renamed as
5217 selectNextWordToSpellcheck.
5219 * insetgraphics.C (draw): remove the previous change. Right place
5220 is in imageLoaderXPM.C.
5221 (draw): don't display the image if params.display == NONE.
5223 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5225 * figinset.C (runqueue):
5226 * insetgraphics.C (draw): set background colour of inset from
5227 background to the user-configurable graphicsbg.
5229 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5231 * insetquotes.C (InsetQuotes): when trying to decide the side of
5232 the quote, choose `left' only after a space or '('
5234 2001-09-04 José Matos <jamatos@fep.up.pt>
5239 * insetcollapsable.h
5257 * insetlatexaccent.C
5258 * insetlatexaccent.h
5263 * insetspecialchar.C
5264 * insetspecialchar.h
5268 * insettext.C (docbook): rename docBook method to docbook.
5270 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5272 * inset.h (getFirstParagraph): New virtual method.
5274 2001-08-20 Herbert Voss <voss@perce.de>
5275 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5276 in the the bibtex-database-gui for inserting a line
5279 If no style is given than there is no tex-output.
5281 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5283 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5287 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5289 * insetert.C (latex): Fix output for multiple paragraphs.
5290 (write): New code for writing paragraph data.
5291 (read): Set font after reading the inset.
5292 (localDispatch): Call set_latex_font() for more cases.
5294 * insetnote.h: Add empty validate method.
5297 * insetnote.C (InsetNote): Set language to the language of the
5300 2001-08-16 Juergen Vigna <jug@sad.it>
5302 * insettext.C: implemented the new FINISHED states.
5304 * insettabular.C: ditto
5306 * inset.h: added more FINISHED states for cursor right,up,down
5308 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5310 * insetfloatlist.C: use "FloatName List"
5312 2001-08-14 Juergen Vigna <jug@sad.it>
5314 * insetert.C (edit): forgot to set status_ in edit calls!
5316 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5318 * insettext.C: Compilation fix
5320 2001-08-13 Juergen Vigna <jug@sad.it>
5322 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5324 * insetcollapsable.C (edit): don't recollapse an already open inset.
5326 * insettext.C: fixed problem when reinitializing LyXText by not doing
5327 it while lt is in use and post this to the next possible time in
5329 (searchForward): fixed not unlocking of inset if nothing found.
5330 (edit): set cursor behind right (was set -1 pos).
5332 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5334 * insettabular.C (tabularFeatures): fixed fix where deleting the
5335 last row didn't get the right actcell!
5337 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5339 * insettext.C (localDispatch): Change language only when the inset
5342 2001-08-10 Juergen Vigna <jug@sad.it>
5344 * insettabular.C (selectNextWordInt): use the front using edit call.
5346 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5347 the parameter overwrite class variable inset.
5349 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5351 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5352 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5354 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5355 update only for fixed with cells.
5356 (resetPos): try to fix the lockup on spellchecking or s&r.
5358 * insettext.C (update): comment this out as it seems first wrong
5359 and second not needed anymore!
5360 (some functions): call reinitLyXText() only in update() in all other
5361 positions set only need_update = INIT.
5363 2001-08-08 Juergen Vigna <jug@sad.it>
5365 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5367 * insettext.C (insetUnlock): remove double-space on inset unlock.
5369 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5371 * insettabular.C (update): fixed cursor positon after an insert.
5372 (insetAllowed): do not allow to insert insets when not inside the
5374 (draw): clear below an inset too as it could have changed height.
5376 * inset.C (getMaxWidth): fixed width for inset in inset.
5378 * insettext.C (update): small fix.
5380 * insettabular.C (tabularFeatures): added selection support to
5381 DELETE_ROW/DELETE_COLUMN.
5383 2001-08-07 Juergen Vigna <jug@sad.it>
5385 * inset.C (getMaxWidth): recoded and all it's implementations!
5387 * insettext.C (init,setParagraph+constructors): cleanups
5388 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5389 are new and I want do a save/restore of the cursor position which is
5390 not possible anymore.
5392 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5393 (searchBackward): ditto
5394 (selectNextWord): ditto
5396 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5398 * insetlatexaccent.C (checkContents): Add some debug messages
5400 2001-08-07 Juergen Vigna <jug@sad.it>
5402 * insetert.C (read): don't use InsetCollapsable::read as we don't
5403 write the collapsed status anymore only the status.
5406 2001-08-06 Juergen Vigna <jug@sad.it>
5408 * insetert.C (set_latex_font): use LyXText's setFont directly.
5410 * insettext.C (drawFrame): fixed one time more the right position
5411 and size of the frame!
5413 * insetert.C (~InsetERT): hide the dialog.
5414 (showInsetDialog): added implementation
5417 (status): new function for the status of the ERT inset (3-state).
5418 (write): output also the status of the inset for readback!
5419 (read): readback the status if available otherwise use collapsed_.
5421 * insettext.C (edit): small fix of setting the position, which could
5424 * insetert.C (width): implement this function for inlined viewing.
5425 Added minimum width of 10 pixels!
5427 * insetminipage.C (InsetMinipage): just change the colors a bit so
5428 that border/background is a bit more visible. We will remove this
5431 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5432 function for getting the important widths for drawing in various
5433 functions and in LyXText.
5434 (draw): fixed up a bit (frame drawing/clearing)
5436 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5438 * inset.C (convertFont): delete method. not used.
5440 2001-08-03 Juergen Vigna <jug@sad.it>
5442 * insettext.C (setFont): don't call for a draw update if we're just
5443 changing the cursor font!
5445 2001-08-02 Juergen Vigna <jug@sad.it>
5447 * insettext.C (draw): clear the background with the right color if
5448 needed. Update myself if x&max-width changed and return without doing
5449 anything. Let the update code handle the right stuff.
5451 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5452 inside another inset.
5454 2001-08-01 Juergen Vigna <jug@sad.it>
5456 * insetcollapsable.C (update): added an in_update bool so we avoid
5459 * insettabular.C (update): added an in_update bool so we avoid
5462 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5464 (update): added an in_update bool so we avoid reentering.
5466 * insettabular.C (localDispatch): clear col/row selection when doing
5467 something else inside an inset.
5469 * insettext.C (getLyXText): fixed bug when requesting a recursive
5472 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5474 * insetcite.C (latex): Paranoia check. Make sure that there is no
5475 whitespace between the citation keys.
5477 2001-07-31 Juergen Vigna <jug@sad.it>
5479 * inset.h (nodraw): make the set function also const so that this
5480 can be called from inside other const functions.
5482 * insetcollapsable.h: removed inline variable and moved it over
5483 to the only user InsetERT.
5485 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5486 inset opening immediately therein lying insets dialogs!
5488 * insetert.C (localDispatch): set the font also if we don't have any
5489 chars in this paragraph, otherwise if we delete all of em and start
5490 writing we have the wrong font.
5492 (draw): implemented for inline support
5493 (insetButtonRelease): ditto.
5495 2001-07-30 Juergen Vigna <jug@sad.it>
5497 * insettext.C (reinitLyXText): new function to reinit the insets
5498 text after lot's of paragraph changes. Use this instead of the
5499 cache.clear() which is VERY dangerous.
5501 * insetfloat.C (insetButtonRelease): we should only show the dialog
5502 if we press on the label otherwise we have problems to open mouse
5503 button 3 dialogs inside this float (f.ex. of a tabular!)
5505 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5507 * insetert.C: change back to "ERT"
5509 * insetfloat.C: handliign of RMB on label added.
5511 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5513 * insetgraphicsParams.C: #include LOstream.h here.
5515 * insetfoot.h: remove InsetFoot:: qualifier.
5517 2001-07-29 Baruch Even <baruch@lyx.org>
5519 * ChangeLog: Hiding time travel evidence.
5521 * insetgraphicsParams.h:
5522 * insetgraphicsParams.C:
5523 * insetgraphics.C: Added horizontal scale option, it actually scales both
5524 directions since it keeps image proportions.
5526 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5528 2001-07-29 Baruch Even <baruch@lyx.org>
5530 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5531 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5533 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5535 2001-07-29 Baruch Even <baruch@lyx.org>
5537 * insetgraphics.C: Added EPSI to be an alias of EPS.
5539 2001-07-29 Baruch Even <baruch@lyx.org>
5541 * insetgraphics.C: Change GRAPHICS to Graphics.
5542 Changed image conversion rules (documented at the beginning of file).
5544 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5546 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5549 * insetgraphics.C: added a using std::endl directive.
5551 * insetcommand.h (getScreenLabel): removed pure virtual function,
5552 as it duplicates that in InsetButton.
5554 * insetbib.[Ch] (getScreenLabel):
5555 * insetbutton.[Ch] (getScreenLabel):
5556 * insetcite.[Ch] (getScreenLabel):
5557 * insetert.[Ch] (getScreenLabel):
5558 * insetexternal.[Ch] (getScreenLabel):
5559 * insetfloatlist.[Ch] (getScreenLabel):
5560 * insetinclude.[Ch] (getScreenLabel):
5561 * insetindex.[Ch] (getScreenLabel):
5562 * insetlabel.h (getScreenLabel):
5563 * insetparent.[Ch] (getScreenLabel):
5564 * insetref.[Ch] (getScreenLabel):
5565 * insettoc.[Ch] (getScreenLabel):
5566 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5568 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5570 (validate): remove check on "cite" when using natbib.
5572 2001-07-26 Baruch Even <baruch@lyx.org>
5574 * insetgraphics.C (draw): changed casting to be in one place rather than
5575 all over the function.
5578 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5580 * insetgraphicsParams.h:
5581 * insetgraphicsParams.C:
5582 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5584 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5586 * insetfoot.C (validate): Added method to ensure that the
5587 right bit of LaTeX is emitted.
5589 * insetfoot.h: Added validate method to set the correct
5590 LaTeXFeatures bit for the special footnote code.
5592 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5594 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5597 2001-07-27 Juergen Vigna <jug@sad.it>
5599 * inset.h: remove not used font variable in parameter.
5600 removed checkInsertChar in UpdatableInset as it was equal to
5601 the one in Inset and so not needed.
5603 * insetert.C (checkInsertChar): implementation of function
5606 * inset.h: added new function checkInsertChar.
5608 * various files: added c-tor and clone() function.
5610 * insetcollapsable.h: removed clone function here as this should
5611 be only realized in REAL insets and added it to all collapsable
5612 insets! (with the copy-constructor).
5614 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5616 * insetminipage.C (read): handle missing parameters more gracefully
5618 * insetcollapsable.C (read): handel missing collapsed more gracefully
5620 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5622 * insetfloat.C (read): handle missing parameters.
5624 * insettext.C (read): handle old latex end_inset
5626 * insetert.C (setButtonLabel): new method
5627 (init): use it, to set the dynamic label correctly
5630 * Makefile.am (EXTRA_DIST): add files that is not part or the
5633 * insetcollapsable.h: remove autocollapsable (no users), remove
5634 draw_label, change_label_with_text and companion code. Remove args
5636 * insetert.[Ch]: move here instead (only user)
5638 * inset.h: rename private variable name to name_, make
5639 selectNextWord return a const string. make getInsetName return a
5640 string const &. Remove bool from open, add close.
5642 * Makefile.am: don't compile insetlist, insetsection
5645 2001-07-24 Juergen Vigna <jug@sad.it>
5647 * insetert.C (InsetERT): put init after the paragraph initialization,
5648 as otherwise we don't set the draw_label right.
5650 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5651 insets with the mouse without having strange selections.
5652 (edit): if the inset was collapsed and we open it here then put the
5653 cursor always at the beginning of the inset.
5654 (get_new_label): 15 instead of 10 max chars in the label.
5656 * insetert.C (localDispatch): added and handle various stuff we
5657 need to handle here (font setting on paragraph break, not permitted
5658 layout setting, etc.).
5660 * inset.h: added default copy-consturctor and implemented this in
5661 various insets with the change to use this in the clone function!
5663 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5665 * insetminipage.C (InsetMinipage): set background color to red :)
5667 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5669 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5670 draw frame mode is LOCKED.
5672 * insetcollapsable.C (edit):
5673 (insetButtonRelease): set update status to full when
5676 * insettext.C (clearInset):
5677 * insettabular.C (draw):
5678 * insetlatexaccent.C (draw): honor background color.
5680 * inset.h: new member background_color_, initialized to
5683 * inset.C (backgroundColor): new method.
5684 (setBackgroundColor): new method.
5686 * insetert.C (init): new method, called by the ctors.
5687 (InsetERT): when inserting contents, make sure the font is
5690 * insetnote.C (InsetNote): when inserting content, remove trailing
5692 (init): set background color to LColor::note
5694 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5696 * insetcollapsable.C: adjust
5698 * insetbutton.C: adjust
5700 2001-07-23 Juergen Vigna <jug@sad.it>
5702 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5703 parameter on the _collapsed function (was not needed) and call
5704 always width_collapsed().
5706 * insetert.C (InsetERT): use setLabel with "true" flag.
5708 * insetcollapsable.C: modified various functions to set the draw_label
5709 string right in any condition.
5710 (setLabel): added a bool parameter to set change_label_with_text.
5712 * insetcollapsable.h: added draw_label string which is set to the
5713 actual drawn label-string, while label is the original static label
5714 of this collapsable inset. Added bool change_label_with_text to set
5715 if we want that the label changes to the start of the InsetText's
5716 text when collabpsed. You can set this flag with the setLabel funciton.
5717 Added bool inlined for inlined collapsable insets, but not handled
5720 * insetcollapsable.C (get_new_label): added should get a new label
5721 from the InsetText beginning (for now 10 chars).
5723 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5725 * insetquotes.C (latex): fix the handling of french double quotes
5726 when not using the french pachage.
5728 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5730 * insetcollapsable.h: make WidthCollapsed mutable.
5732 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5733 InsetPrintIndex returns INDEX_PRINT_CODE.
5735 * inset.h: add INDEX_PRINT_CODE
5737 * insetcollapsable.C (draw): init widthCollapsed if necessary
5740 * insetquotes.C (width): use the local language, not the document
5743 (dispString): add additional spacing for all french languages,
5745 (validate): make it work when there is no default language
5747 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
5749 * insetnote.C (init): new method, called by the constructors
5750 (InsetNote): new constructor with contents passed as a string
5752 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5754 * insetfootlike.C (insetAllowed): disallow float in footlike.
5756 * insetert.C (InsetERT): add collapsed argument to the constrctor
5759 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5761 * insetindex.h: shut off warning
5763 2001-07-20 Juergen Vigna <jug@sad.it>
5765 * insetcollapsable.C (update): recoded hopefully works now!
5767 2001-07-19 Juergen Vigna <jug@sad.it>
5769 * most files: implemented the below new introduced function.
5771 * inset.h: added new edit(BufferView *, bool front) method to be able
5772 to enter an inset from the front/back without knowing x/y positions
5773 and baselines inside the inset. So I just can tell the inset activate
5774 me and set the cursor on the front/back of yourself.
5776 2001-07-18 Juergen Vigna <jug@sad.it>
5778 * insetcollapsable.C (edit): fixed hopefully the y parameter which
5779 is given to the InsetText.
5780 (insetButtonPress): ditto
5781 (insetButtonRelease): ditto
5782 (insetMotionNotify): ditto
5784 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5786 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
5787 LIGATURE_BREAK, since the name is so stupid.
5789 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
5791 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
5792 the default InsetCollapsable methods. I.e., it can insert anything.
5793 (write) output the name of the inset, not some silly hack for
5794 compatability with the old InsetInfo.
5796 * insetinfo.[Ch]: removed.
5797 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
5798 now collapsable, but functionality is otherwise identical to InsetInfo.
5800 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
5802 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5804 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
5807 * insetquotes.C: general cleanup
5808 (dispString): add spaces inside french double quotes.
5809 (latex): ditto. Moreover, treat first the case where the frenchb
5810 or french options have been given.
5812 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
5814 * insetcite.[Ch] (latex, validate): new methods, required for natbib
5817 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
5819 * figinset.C (RegisterFigure): Print debug message only when
5820 current_view is available.
5822 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5824 * many files: update to match the change below
5826 * inset.h (insetAllowed): renamed from insertInsetAllowed;
5827 implement the version which takes an inset here.
5829 * insetcollapsable.[Ch]: implement open and isOpen
5831 * inset.h: remove insertInsetAllowed from Inset
5832 (open): new method, to open or close an inset
5833 (isOpen): returns the status of an inset
5834 (isCollapsable, colapse): removed
5836 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5838 * insetquotes.C (dispString): display french guillemets when using
5841 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5843 * insetcollapsable.h: remove bogus return statements
5845 2001-07-18 Juergen Vigna <jug@sad.it>
5847 * insettabular.C (selectNextWord): fixed spellchecking for the
5848 first cell of a tabular (wasn't entered!)
5849 (getLyXText): changed to enter automatically insettext and return
5850 it's LyXText if we're locked.
5852 2001-07-17 Juergen Vigna <jug@sad.it>
5854 * various files: implemented the below functions.
5856 * inset.h: added functions
5857 - virtual string selectNextWord(BufferView *, float & value) const;
5858 - virtual void selectSelectedWord(BufferView *) { return; }
5859 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
5860 needed for spellchecking correctly!
5862 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
5864 * insetert.C (latex): write out all paragraphs.
5866 2001-07-17 Baruch Even <baruch@lyx.org>
5868 * insetgraphics.C (draw): Removed unneeded casts.
5870 2001-07-16 Juergen Vigna <jug@sad.it>
5872 * insettext.C (update): fixed small oversight (reset lt to 0).
5874 2001-07-14 Baruch Even <baruch@lyx.org>
5877 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
5879 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
5881 Consistent use of Lsstream.h:
5882 * figinset.C: removed using std::ostringstream directive.
5884 * insetgraphics.C (createLatexOptions):
5885 * insetinclude.C (unique_id):
5886 std::ostringstream -> ostringstream.
5887 * insettext.C (localDispatch): std::istringstream -> istringstream.
5889 2001-07-13 Juergen Vigna <jug@sad.it>
5891 * insetfloat.C (insertInsetAllowed): added missing const_cast.
5893 * insetcollapsable.C (getLockingInset): ditto.
5895 2001-07-12 Juergen Vigna <jug@sad.it>
5897 * insetcollapsable.h: added implementation of new function for
5900 * various files: added implementation of new insertInsetAllowed-func
5901 and redone the function a bit more.
5903 * inset.h: added isCollapsable(), bool collapsed(),
5904 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
5906 * insetfloat.C (insertInsetAllowed): make a bit more checks.
5908 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
5909 LyXText which is marked for removal while we're using it!
5911 * insettext.h: added private LyXText * lt to use it to assure we are
5912 not deleting our LyXText while we're using it!
5914 2001-07-11 Juergen Vigna <jug@sad.it>
5916 * insettext.C (insertInset): check if we are before the inset after
5917 inserting it! This check IS needed. Remove the Undo-Call as it is
5918 called in LyXText::insertInset!
5920 * insettext.h: added struct InnerCache.
5922 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
5923 that we ONLY delete the LyXText in the getLyXText() routine. So we
5924 are sure we don't delete LyXText while someone is working with it!
5926 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
5928 * insetexternal.C: (*it). -> it->
5929 * insettext.C: ditto
5931 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5933 * insetcollapsable.C (edit): always open collapsed insets (even if
5934 they are not autocollapsable)
5936 * insetcommand.C (operator=): simplify.
5938 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
5940 * insetert.C (latex): handle META_NEWLINE
5942 2001-07-09 Juergen Vigna <jug@sad.it>
5944 * insetert.h: a normal InsetText can insert insets, but we won't.
5946 * inset.h: return default "false" on insertInsetAllowed and implement
5947 this function where a returnvalue != "false" is needed.
5949 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
5951 * insetert.C (InsetERT): new contructor
5953 2001-07-06 Juergen Vigna <jug@sad.it>
5955 * a lot of files: added implementation of the below new functions
5956 and the change to clone(). Also the call of the new undo-functions
5959 * inset.h: added an inset_id, added functions getParFromID,
5960 getInsetFromID, firstParagraph, cursor and id functions, added
5961 bool same_ids to clone function.
5963 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5965 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
5966 of BufferView * and shared_ptr<LyXText>
5968 2001-07-05 Juergen Vigna <jug@sad.it>
5970 * insettext.C (clear): deleted also the cache not only LyXText.
5971 (setParagraphData): ditto.
5973 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
5975 * insetfloat.C (latex): let the specific placement take presedence
5976 if set, otherwise choose document placement if set, otherwise just
5977 use float default placement.
5979 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5981 * insettext.C (localDispatch): call CutAndPaste::'s static method
5984 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5986 * insetbib.C: no meed to include forms.h here.
5988 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
5990 * insettext.C: added using std::make_pair directive.
5992 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5994 * insettext.C (getLyXText): avoid multiple lookups, and simplify
5996 (deleteLyXText): ditto
5997 (resizeLyXText): ditto
5999 2001-07-02 Juergen Vigna <jug@sad.it>
6001 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6002 following calls are only returned the right pointer without the over
6003 head to search in the map.
6004 (various funcs): reset the cached_bview variable as this signs that
6005 the cache is not valid anymore.
6007 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6009 * insettabular.C (clone): do not copy the LyXTabular twice
6011 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6013 * insettext.h (TEXT): delete method
6015 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6017 * insetmarginal.C (latex):
6018 * insetfoot.C (latex): fix spacing of notes in LaTeX
6020 * insettext.C (localDispatch): use .c_str() on istringstream
6021 constructor argument.
6023 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6028 * inseturl.C: fix method names in these to begin
6029 with small char too, so they inherit
6031 2001-06-28 Juergen Vigna <jug@sad.it>
6033 * insettext.C (setFont): fixed font settings using toggleFree()
6034 instead of setFont().
6036 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6038 * Change a lot of method names to begin with a small char.
6039 Changes to a lot of files because of this.
6041 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6043 * insetfloatlist.C (Write): std:: qualify ostream
6046 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6050 * insetgraphics.C: send debug output to Debug::INFO instead of
6053 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6056 * insettabular.C (getStatus): update to use func_status
6058 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6060 * insetref.C (DocBook): added support for cross-references without
6063 2001-06-26 The LyX Project <jug@sad.it>
6068 * insetlabel.h: removed escape method and moved it to
6071 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6073 * insettabular.C (getMaxWidth): do the speedup in a different way,
6076 2001-06-24 The LyX Project <Asger>
6078 * insettabular.C (getMaxWidth): We cache a mapping from
6079 inset to cell in order to speed this method up.
6081 2001-06-24 The LyX Project <Asger>
6083 * insettext.C: Optimized InsetText::draw or something.
6085 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6087 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6089 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6091 * inset.h: name change from lyxinset.h
6093 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6095 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6097 2001-06-14 Juergen Vigna <jug@sad.it>
6099 * insettext.C (draw): removed warnings.
6101 2001-06-13 Juergen Vigna <jug@sad.it>
6103 * insettabular.C (nodraw): only go down the tree if we don't have
6104 that flag set otherwise it's obvious that we don't want to draw.
6105 (LocalDispatch): do also an update if we have an undispached result.
6107 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6110 * insetgraphicsParams.C:
6111 * insettext.C: removed // -*- C++ -*- as first line.
6113 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6115 * lyxinset.h (resizeLyXText): shut off warning about unused
6118 2001-06-07 Juergen Vigna <jug@sad.it>
6120 * insettext.C (resizeLyXText): honor the new force flag.
6122 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6124 * insettabular.C (deleteLyXText): new function
6126 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6134 * insetcollapsable.C:
6135 * insetcaption.C: LColor tidy
6137 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6139 * figinset.C: fix typo
6141 2001-06-01 Juergen Vigna <jug@sad.it>
6143 * insettabular.C (resetPos): small hack so that scroll is not set to
6144 0 when we are in the last column of a tabular. This is a problem we
6145 have because of constats 20 offset on both directions, so this can
6146 cause on the limit an endless loop.
6148 * insettext.C (SetFont): forgot that we can have locking insets ;)
6150 2001-05-31 Juergen Vigna <jug@sad.it>
6152 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6154 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6156 * figinset.C: add using std:: directive for the C functions which
6159 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6161 * insetfloat.C (Write): write out wide info
6162 (Read): read the wide info
6163 (Latex): use the wide info when creating latex.
6165 * insettext.C: adjust
6167 * insetgraphics.[Ch] (statusMessage): change to return string
6171 * figinset.C (runqueue): add std::
6174 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6176 * insetcite.C (Ascii): add std:: qualifier
6178 2001-05-28 Juergen Vigna <jug@sad.it>
6180 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6181 a endless-width inset (maxWidth < 0).
6182 (Edit): change language only if not equal.
6184 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6186 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6188 2001-05-16 Juergen Vigna <jug@sad.it>
6190 * insettext.C (selectAll): added
6191 (clearSelection): added
6193 * insettabular.C (SetFont): now we may set a font on a whole selection!
6194 (getSelection): added helper function.
6196 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6198 * insetcite.C (Ascii): Add method.
6200 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6203 * insetbib.C: fix path for OS/2 & Win32
6205 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6207 * insetfoot.C (Latex): don't use % after footnote.
6209 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6211 * insettext.C (Read): use clear
6212 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6214 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6216 * insetfloatlist.h: add a bunch of std:: qualifiers.
6218 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6220 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6221 FLOAT_LIST_CODE, renumber code list.
6223 * insettoc.C (getScreenLabel): remove support for float lists
6227 * insetfloatlist.[Ch]: new files
6229 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6231 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6233 * insettabular.C (LocalDispatch):
6234 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6237 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6239 * insettext.C: remvoe !NEW_INSETS cruft
6241 * insettabular.C: remove !NEW_INSETS cruft
6243 * insetcollapsable.h: remove !NEW_INSETS cruft
6245 * insetbib.C: remove !NEW_INSETS cruft
6247 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6249 * insettoc.C: hack to make listof algorithm work
6251 2001-04-20 Juergen Vigna <jug@sad.it>
6253 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6255 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6257 * insetquotes.C (Latex): improve the guard against
6258 unwanted !` and ?` ligatures. This should really be done in
6259 another place (to catch all this ligatures at low-level).
6261 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6263 * insettext.C (init): remvoe leftovers from cursor_visible change
6264 (draw): use c++ cast
6265 (LocalDispatch): dispatch LFUN_MESSAGE
6267 * insettabular.C (InsetTabular): remove leftovers from
6268 cursor_visible, and scoped_ptr changes
6269 (draw): use c++ cast
6271 * insetcollapsable.C (draw): use c++ cast
6273 * ExternalTemplate.h: inherit privaely from noncopyable
6274 * insetcommand.h: ditto
6275 * insetinclude.h: ditto
6277 2001-04-16 Allan Rae <rae@lyx.org>
6279 * insettoc.C (Ascii):
6280 * insettext.C (draw):
6281 * insettabular.C (setPos):
6282 * insetminipage.C (Read):
6283 * insetfloat.C (placement):
6284 * insetcaption.C (Ascii, DocBook):
6285 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6286 an unrecognised preprocessor directive. So ensure they're wrapped.
6288 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6291 * insetexternal.C: set view on Clone. Add _ to private members.
6293 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6295 * insettext.C (InsetText): fix new
6296 (InsetText): reindent some, simplify deletion of par list
6297 (clear): simplify deletion of par list, fix new
6298 (SetParagraphData): simplify deletion of par list
6300 * insettabular.[Ch] (getLabelList): implement new method
6302 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6304 * lyxinset.h: do not include gettext.h...
6312 * insetlatexaccent.C:
6316 * inseturl.C: ... and do it here instead
6318 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6320 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6322 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6324 * insetcollapsable.[Ch] (getLabelList): implement
6326 * insettext.[Ch] (getLabelList): implement
6328 * insettext.h: reindent
6330 * insettabular.h: make tabular a scoped_ptr
6332 * insettext.C (init): adjust for cursor_visible
6333 (ToggleInsetCursor): constify asc and desc, font, adjust for
6335 (ShowInsetCursor): constify asc and desc, font, adjust for
6337 (HideInsetCursor): adjust for cursor_visible
6339 * insettabular.C: reindent some
6340 (InsetTabular): adjust for scoped_ptr and cursor_visible
6341 (InsetTabular): ditto
6342 (~InsetTabular): delete delete
6343 (Clone): adjust for scoped_ptr
6344 (Read): constify old_format, adjust for scoped_ptr, move init of
6346 (draw): constify tx, localize loop vars.
6347 some other localization of variables, remove double initilizatons.
6349 * insetfoot.C: remove using std::ostream, add ostream where needed
6351 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6353 * lyxinset.h: some reindentaion, use initializer list for
6355 UpdatableInset: make cursor_visible a private var add
6356 public isCursorVisible(), add protected toggleCursorVisible() and
6357 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6359 * insettoc.C: remvoe using decl
6360 (getScreenLabel): make cmdname donst
6363 (Ascii): don't use endl
6365 * insetfootlike.C: remove using decl at file scope and add std::
6367 * insetmarginal.C: ditto
6369 * insetfoot.C: some reformatting
6371 * insetfloat.C (InsetButtonRelease): adjust the hit area
6373 * insetert.C (SetFont): some reformatting
6375 * insetcollapsable.C: some reformatting and constification
6376 (Clone): comment out.
6377 * insetcollapsable.h: some reformatting
6378 (Clone): comment out.
6383 2001-03-30 Juergen Vigna <jug@sad.it>
6385 * insetcollapsable.h: changen *inset to be a InsetText inset.
6387 * some files: changed to reflect the above change.
6389 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6391 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6392 InsetExternal::Params.
6393 Added operator==() and operator!=() for the Params struct.
6395 2001-03-29 Juergen Vigna <jug@sad.it>
6397 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6400 * insetminipage.C: removed widthp_ and all it's functions and changed
6401 to use new %-lengths of LyXLength.
6403 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6405 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6407 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6409 * insetgraphicsParams.C (operator!=): new function, needed by the
6410 ControlGraphics class.
6412 2001-03-28 Juergen Vigna <jug@sad.it>
6414 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6415 (checkAndActivateInset): don't use the values returned from
6416 call to bv->checkInsetHit.
6418 * insetminipage.C (Clone): set special minipage values.
6420 * insetcollapsable.C (draw): changed to draw the button in the
6421 upper left corner outside the textinset.
6422 (ascent): changed because of different drawing
6426 (InsetButtonPress): ditto
6427 (InsetButtonRelease): ditto
6428 (InsetMotionNotify): ditto
6430 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6432 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6436 2001-03-26 Juergen Vigna <jug@sad.it>
6438 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6440 * insettext.C (ShowInsetDialog): implemented above function.
6442 * insettabular.C (ShowInsetDialog): ditto
6444 * insetminipage.C (ShowInsetDialog): ditto
6446 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6448 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6449 InsetInclude::Params. Don't store a buffer * in Params. Store the
6450 master file name instead.
6452 2001-03-23 Juergen Vigna <jug@sad.it>
6454 * insetcollapsable.C (InsetMotionNotify):
6455 (InsetButtonRelease):
6456 (InsetButtonPress): fixed y-offset (minipages).
6458 * insettext.C (draw): force a FULL update if cleared == true.
6460 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6461 routine to draw the minipages on its position-flag.
6462 (InsetInInsetY): give back the right y position, because of minipage
6465 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6468 * insetfloat.C (DocBook): docbook export code.
6470 2001-03-22 Juergen Vigna <jug@sad.it>
6472 * insetminipage.C (getMaxWidth): added function to set the drawing
6474 (Read): should work now!
6476 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6477 if we create a new inset.
6479 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6481 * figinset.C (fl_set_preemptive_callback): moved definition outside
6484 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6486 * insetminipage.C (Read): prepare for reading of minipage arguments.
6488 2001-03-18 Baruch Even <baruch@lyx.org>
6490 * insetgraphics.C: Minor cleanups of the comments and code.
6492 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6494 * insetminipage.C (InsetMinipage): default to not collapsed
6496 2001-03-16 Juergen Vigna <jug@sad.it>
6498 * insetminipage.C (width): modified with to be a string
6499 (widthp): added widthp (for % width) support functions.
6500 (InsetButtonRelease): added to open the options dialog on button==3.
6501 (~InsetMinipage): added to hide the dialog.
6503 * insetminipage.h: added hideDialog signal
6505 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6507 * insetminipage.h: change the order or Position to match
6508 LyXParagraph::MINIPAGE_ALIGNMENT
6510 * several files: remvoe CXX_WORKING_NAMESPACES
6512 * ExternalTemplate.h: noncopyable is in namespace boost
6513 * insetinclude.h: ditto
6514 * insetcommand.h: ditto
6516 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6518 * insettext.C (Edit): #else# -> #else.
6519 * insettoc.C: added using directive.
6521 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6523 * insetminipage.h: add pos, inner_pos, width and height. + getters
6524 and setters for all of them.
6526 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6528 * insetinclude.C (Latex): Do not exit when the textclass of the
6529 included file differ from the textclass of the parent file.
6531 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6533 * ExternalTemplate.C (read): the reading of external insets now checks
6534 for \end_inset and removes it form the input stream.
6536 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6538 * ExternalTemplate.h:
6539 * ExternalTemplate.C:
6541 * insetexternal.C: move form to GUII
6543 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6546 * insetinclude.C: add InsetIncludeParams, use
6547 composition rather than derivation of InsetCommand
6549 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6551 * insettoc.C (Ascii): use the Buffer typedefs
6553 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6555 * insettoc.C (Ascii): implement for dynamic number of lists
6557 * insetcaption.[Ch]: update from new_insets branch
6558 * insetfloat.[Ch]: ditto
6560 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6563 * figinset.C: use new File Dialog
6565 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6567 * insettext.C: changes becuase of ParagraphParameters.
6569 2001-02-28 Baruch Even <baruch@ev-en.org>
6571 * insetgraphics.C (updateInset): Changed due to the change in
6574 2001-02-26 Juergen Vigna <jug@sad.it>
6576 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6577 handled in LyXText).
6579 2001-02-23 Juergen Vigna <jug@sad.it>
6581 * insettext.C (draw): some small repainting fixes.
6582 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6584 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6585 should be) and not an int.
6587 * insettabular.C (LocalDispatch): ditto
6589 * insettext.C (LocalDispatch): ditto
6591 * insetcollapsable.C (LocalDispatch): ditto
6593 2001-02-22 Juergen Vigna <jug@sad.it>
6595 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6596 DISPATCH it and we don't have a locking_inset.
6598 2001-02-21 Baruch Even <baruch@ev-en.org>
6600 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6601 instead of GraphicsCacheItem *.
6603 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6605 * insetcollapsable.C (getLyXText): add const qualifier to second
6608 2001-02-22 Juergen Vigna <jug@sad.it>
6610 * insettext.C (getLyXText): honor the recursive parameter.
6611 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6613 * inset.C (getLyXText): added bool recursive parameter.
6615 * insettext.C (SetUpdateStatus): or the update codes.
6616 (draw): check need_update with &.
6617 (InsetButtonPress): set no_selection to not put a selection when
6618 entering an inset and it is redraws in another spot.
6620 * insettext.h: made need_update an int.
6622 2001-02-20 Baruch Even <baruch@ev-en.org>
6625 * insetgraphisc.C: Changed to use better semantics when loading images
6626 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6628 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6632 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6633 consistent with InsetTabular.
6635 2001-02-19 Juergen Vigna <jug@sad.it>
6637 * insettabular.C (LocalDispatch): implement PAGE up/down.
6639 * insettext.C (draw): clear all of it on need_update==INIT too!
6641 * insettabular.C (InsetUnlock): always clear the selection.
6643 * inset.C (scroll): normally we only want to scroll the inset until
6644 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6646 2001-02-14 Juergen Vigna <jug@sad.it>
6648 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6649 (resetPos): fixed scroll behaviour.
6650 (LocalDispatch): do an update if moving cursor inside a table cell
6651 requests a scroll of the tabular.
6653 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6655 * insettext.C (textWidth): constify local var
6657 * insettabular.C: small cleanup.
6659 * insetfoot.C (Latex): constify local var
6661 * insetcollapsable.C: small cleanup.
6663 * figinset.C (runqueue): use compare instead of strcmp
6665 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6668 * insetinfo.C: remove cruft
6670 2001-02-14 Juergen Vigna <jug@sad.it>
6672 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6674 2001-02-13 Juergen Vigna <jug@sad.it>
6676 * insettext.C (InsertInset): don't move left (is this right?)
6678 * insettabular.C (LocalDispatch): use of the no_draw variable
6680 * insettabular.h: new no_draw variable to stop redraw
6682 * insettabular.C (TabularFeatures): fixed update for alignment change
6684 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6688 * insetbib.C: move dialogs to frontends/
6690 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6692 * insettext.C (LocalDispatch): Restore the language if the inset
6695 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6697 * insettext.C (moveRightIntern): Update the selection cursor.
6698 (moveLeftIntern): Ditto.
6700 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6702 * Makefile.am: remove BoundingBox.h
6704 * BoundingBox.h: removed
6706 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6708 * insettext.C (LocalDispatch): Update selection cursor when moving
6709 cursor to the right.
6710 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6711 (moveLeftIntern): Ditto.
6713 2001-02-05 Baruch Even <baruch.even@writeme.com>
6715 * insetgraphics.C: Updated automatic image conversion, it now goes into
6716 temporary directory instead of with the image itself.
6718 2001-01-21 Baruch Even <baruch@ev-en.org>
6720 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6721 to EPS or PNG when needed (support bitmap graphics).
6723 2000-11-02 Baruch Even <baruch@ev-en.org>
6726 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6727 and removal of commented out code.
6729 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6731 * insetbib.C (callback): Update citations if the key has changed.
6733 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6735 * insetbib.C (InsetBibKey): Better computation of default key.
6736 (getScreenLabel) Show both the key and the label.
6737 (getBibLabel): New method.
6738 (callback): Force a redraw if the inset have been changed.
6740 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
6742 * insetref.C (getType, getName): Move methods from
6743 src/frontends/xforms/FormRef.C.
6745 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
6747 * insettabular.C: Various improvements (use only one dummy position).
6749 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
6751 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
6752 par->bibkey->width. This fixes the crashes when running without
6753 gui or when having included documents.
6755 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
6757 * insetcommand.C (getAsString, setFromString): Cleanup.
6759 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
6761 * insetref.C: Add the array InsetRef::types that contains
6762 information about all supported reference types.
6764 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6766 * lyxinset.h: remove trailing comma in enum.
6768 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
6770 * insettext.C: kill LyXBell.