1 2004-04-20 Angus Leeming <leeming@lyx.org>
3 * render_preview.C (startLoading): remove lyxerr statement.
5 (getPreviewLoader): new helper function.
7 2004-04-19 Angus Leeming <leeming@lyx.org>
11 * render_preview.[Ch]: changes due to changes to LyXRC::preview.
13 2004-04-19 Angus Leeming <leeming@lyx.org>
15 * insetexternal.C (priv_dispatch): remove unnecessary invocation of
17 (add_preview): renamed as add_preview_and_start_loading. Invoke
18 RenderPreview::startLoading.
20 * insetinclude.C (metrics, draw): changes due to the changed
21 RenderPreview interface.
23 * render_preview.C: remove cached pimage_.
24 (previewReady): removed. Replaced by getPreviewImage(Buffer const &).
25 (draw): don't call startLoading. That's up to the user of
28 2004-04-16 Angus Leeming <leeming@lyx.org>
30 * render_graphic.h (checksum_, hasFileChanged): unused, so removed.
32 2004-04-13 Angus Leeming <leeming@lyx.org>
34 * render_base.[Ch] (clone): now takes an InsetBase ptr to enable
35 the renderer to inform LyX::updateInset that the inset's status
36 has changed and it should be redrawn.
38 * render_button.[Ch] (clone):
39 * render_graphic.[Ch] (c-tors, clone):
40 * render_preview.[Ch] (c-tors, clone): ditto.
42 * render_graphic.[Ch] (connect):
43 * render_preview.[Ch] (connect): removed, as connection is now
44 made in the constructors.
48 * insetinclude.C: ensuing simplification of the client code.
49 (statusChanged): now superfluous. Removed.
51 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * ExternalTemplate.[Ch]: remove editCommand
54 * ExternalSupport.C (editExternal): use formats.edit() instead of
55 the removed editCommand template parameter
56 * insetgraphics.C (priv_dispatch): handle LFUN_GRAPHICS_EDIT
57 * insetgraphics.[Ch] (editGraphics): new method
59 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
61 * insetinclude.C (validate): set/reset features.buffer_ when
64 2004-04-07 Angus Leeming <leeming@lyx.org>
66 * insetexternal.C (priv_dispatch):
67 * insetinclude.C (priv_dispatch): prevent crash by invoking
68 InsetOld::priv_dispatch at the end of the switch, rather than
71 2004-04-07 Martin Vermeer <martin.vermeer@hut.fi>
74 * insetbranch.C: 'assign' to open/close branch inset according to
75 selection; also print content on closed branch button
77 2004-04-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
79 * ExternalSupport.C (doSubstitution): add new variables $$AbsPath,
80 $$RelPath_Master, $$RelPath_Parent, $$Extension,
81 $$AbsOrRelPathMaster and $$AbsOrRelPathParent. Change the meaning
83 * ExternalSupport.C (updateExternal): use absolute and output
84 filename where appropriate
86 2004-04-05 André Pönitz <poenitz@gmx.net>
88 * insetbase.h: use LCursor & in notifyCursorLeave
90 2004-04-05 Angus Leeming <leeming@lyx.org>
92 * insetgraphics.C: remove unused header file "lyxrc.h".
94 * render_graphic.C: squash bug 1372: Misleading graphics label when
95 deactivating lyx view.
97 2004-04-05 Angus Leeming <leeming@lyx.org>
102 * insetlatexaccent.C:
107 wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
109 2004-04-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
111 * insetfloat.C (read): fix yesterday's float fix.
112 * insetwrap.C (read): apply the fixed float fix.
114 2004-04-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
116 * insetfloat.C (read): fix reading of float params
119 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
121 * insettext.C (edit): comment the call to updateLocal (dangling now)
122 * insettext.h: add allowSpellCheck() returning true
124 2004-03-31 Angus Leeming <leeming@lyx.org>
126 * insetcollapsable.[Ch]: (leaveInset): renaming of getOutOfInset.
128 2004-03-31 Angus Leeming <leeming@lyx.org>
130 * insetcollapsable.[Ch] (getOutOfInset): new function which pushes
131 the cursor out of an inset.
133 * insetbranch.C (priv_dispatch):
134 * insetcollapsable.C (priv_dispatch): in the LFUN_INSET_TOGGLE code,
135 use getOutOfInset to push the cursor out of the inset when
138 2004-03-30 Angus Leeming <leeming@lyx.org>
140 * insetbase.[Ch] (translate): new static member function, returns
141 an InsetBase::Code corresponding to the input string.
143 * insetcollapsable.C (priv_dispatch): handle LFUN_INSET_TOGGLE.
145 * insetbranch.C(priv_dispatch): specialize LFUN_INSET_TOGGLE
146 so that it opens the inset if it refers to the currently active
149 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
151 * insetfloat.C (addToToc): use par_const_iterator_begin and
152 par_const_iterator_end.
154 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
156 * insetbibtex.[Ch]: bibtopic support.
158 * insetfloat.[Ch]: add param \sideways {true|false}
159 (support for sideways floats from rotating.sty).
161 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
163 * insettext.[Ch]: add a default ctor. implement const version of
169 * insetwrap.C: adjust
171 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
173 * insettext.h: add insetAllowed returning true by default (fixing
174 vanishing insets problem)
176 * insettext.C (draw): handle the responsability of adding the
177 ouside offset to collapsable. Clean code a bit.
179 * insetcollapsable.[Ch] (metrics, draw): handle the derivation
180 from insettext correctly, solve a couple of off-by-one drawing
183 2004-03-25 Angus Leeming <leeming@lyx.org>
185 * insetcaption.C (draw): squash warning about unused variable.
187 2004-03-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
189 * ExternalSupport.C: use the master buffer's temp dir
190 * insetgraphics.C (latex): make relative filename relative to the
192 * insetgraphics.C: use the master buffer's temp dir
193 * insetinclude.C (masterFilename): new function
194 * insetinclude.C (linuxdoc, docbook): simplify logic (IsLyXFilename()
195 is always true if loadIfNeeded() returns true)
197 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
199 * insetinclude.C (loadIfNeeded): when the child buffer is loaded,
200 set its parent to the current buffer.
201 (latex): use the tmppath of the master buffer, not just the parent
202 buffer (makes a difference with more than one level of include
203 insets). If the file name is relative write in the .tex file a
204 name relative to the master buffer directory.
206 * insetinclude.C: rename masterFilename to parentFilename (this
207 points to the direct parent)
209 2004-03-25 André Pönitz <poenitz@gmx.net>
211 * inset.[Ch]: remover owner
213 * insetcollapsable.[Ch]: derive from InsetText instead having such a
221 * insetcharstyle.[Ch]:
229 * insetwrap.C: adjust
231 2004-03-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
233 * insetquote.C: use opening quote after '[' char.
235 2004-03-09 Alfredo Braunstein <abraunst@lyx.org>
237 * insetcollapsable.[Ch] (metrics, draw): implemented an inlined-Open
240 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
242 * insetcite.[Ch]: support jurabib.
244 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
246 * insetcite.C: Support second \cite option.
249 * insetcommandparams.[Ch]: add second optional argument.
251 2004-03-03 Alfredo Braunstein <abraunst@lyx.org>
253 * insetcollapsable.C (lfunMouseRelease): right mouse button only
254 shows the inset dialog.
256 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
258 * insetlabel.[Ch]: remove them
259 * Makefile.am: adjust
261 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
263 * insetexternal.C, insetgraphics.C, insetinclude.C: use always a
265 * insetinclude.C (latex): show a GUI warning if textclasses don't
267 * insetinclude.C: use mangledFilename() for temp files
268 * insetgraphics.C (readInsetGraphics): remove version check, since
269 the graphics inset has no own fileformat number anymore
271 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
273 * insetquotes.[Ch]: added new member that allows direct access
274 to single/double quotation marks.
276 * insethfill.[Ch]: treat as space (i.e. opening quotes follow)
278 2004-02-16 André Pönitz <poenitz@gmx.net>
281 * insetbase.[Ch]: remove explicit 'DispatchResult' return type and
282 implicitly assume 'DispatchResult(true, true) with exception of
283 InsetBase::priv_dispatch which does the equivalent of
284 'retrun DispatchResult(false)'
286 * inset*.[Ch] (priv_dispatch): adjust
288 * insettabular.[Ch]: remove remains of the 'update' mechanism,
289 simplify cursor moving function,
290 re-enable horizontal scrolling for large tables
292 2004-02-13 André Pönitz <poenitz@gmx.net>
294 * insettabular.[Ch]: some work after IU
296 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
298 * inset.C (setPosCache): switch to absolute coords in insets
299 * insettext.[Ch] (draw, drawFrame): adjust
300 * insetcollapsable.C (draw): adjust
303 2004-02-04 Alfredo Braunstein <abraunst@lyx.org>
305 * insettext.C (edit):
306 (updateLocal): use the cur argument instead of the global cursor
307 * insetcollapsable.C (edit): dont call inset.edit(x,y) when opening
309 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
311 * insetlatexaccent.C (checkContents): "c" -> 'c' in calls to contains
313 * insetfloat.C (validate): "H" -> 'H' in call to contains
315 * insetcite.C (getBasicLabel): "," -> ',' in calls to contains
317 2004-01-30 André Pönitz <poenitz@gmx.net>
321 * insetcollapsable.[Ch]:
324 * insetgraphics.[Ch]:
329 * updatableinset.[Ch]: adjust coordinate handling to 'screen absolute'
332 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
334 * insettabular.C: add using statement for std::vector, remove
335 std:: where using was already used.
337 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
339 * insetgraphics.C, insetinclude.C: use runparams.nice instead of
341 * insetinclude.C (validate): use feautures.nice() instead of
344 2004-01-20 André Pönitz <poenitz@gmx.net>
347 * insetbase.[Ch]: move stuff from mathcursor here.
353 * insetcharstyle.[Ch]:
354 * insetcollapsable.[Ch]:
357 * insetexternal.[Ch]:
359 * insetgraphics.[Ch]:
368 * updatableinset.[Ch]: Adjust to IU changes (see comment in src/Changelog)
370 2004-01-15 André Pönitz <poenitz@gmx.net>
377 * insetcharstyle.[Ch]:
378 * insetcollapsable.[Ch]:
381 * insetexternal.[Ch]:
383 * insetgraphics.[Ch]:
392 * updatableinset.[Ch] (priv_dispatch et al): change signature.
394 2004-01-08 André Pönitz <poenitz@gmx.net>
396 * insetcollapsable.[Ch]:
399 * updatableinset.h: use cell index info from global cursor.
401 2004-01-06 Georg Baum <Georg.Baum@post.rwth-aachen.de>
403 * insetnote.C (InsetNoteParams::write): write label only once
405 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
407 * insetbranch.C (isBranchSelected): use the BranchNamesEqual
409 get rid of the SameName functor
411 * insettabular.C: improve the functor.
413 2003-12-29 Angus Leeming <leeming@lyx.org>
415 * insetexternal.C (setParams): update defaultTemplateName.
417 2003-12-22 Michael Schmitt <michael.schmitt@teststep.org>
419 * insetbox.C: Use term "Box" in button label
421 2003-12-16 Martin Vermeer <martin.vermeer@hut.fi>
423 * insetcharstyle.C: get getDrawFont working again
425 2003-12-15 André Pönitz <poenitz@gmx.net>
428 * insettext.C: adjust to changed name in CursorItem -> CursorSlice
430 2003-12-12 Angus Leeming <leeming@lyx.org>
432 * insetbranch.C (c-tor): takes an InsetBranchParams arg rather than
434 (InsetBranchParams): remove the branchlist hack.
435 (isBranchSelected): new function, used to decide whether to
436 print each output format. Also used by InsetList.
437 (read, string2params): repair my own breakage ;-)
439 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
441 * insetminipage.[Ch]: remove from repository.
443 2003-12-12 Michael Schmitt <michael.schmitt@teststep.org>
446 * insetcollapsable.[Ch]: Move all CollapseStatus code from
447 insetert to insetcollapsable; introduce virtual function
448 setButtonLabel and invoke it from collapsable
450 2003-12-12 Angus Leeming <leeming@lyx.org>
452 * insetinclude.C (draw): cache x,y and so enable the
455 2003-12-12 Angus Leeming <leeming@lyx.org>
457 * mailinset.C (print_mailer_error): tidy up the output.
459 2003-12-11 Angus Leeming <leeming@lyx.org>
461 * mailinset.[Ch] (print_mailer_error): new helper function.
463 * insetcommand.[Ch]: add a mailer_name_ variable and use it when
464 calling InsetCommandMailer.
465 (InsetCommandMailer::string2params): pass the name of the dialog.
467 * insetbibitem.[Ch] (d-tor):
468 * insetbibtex.[Ch] (d-tor):
469 * insetcite.[Ch] (d-tor):
470 * insetfloatlist.[Ch] (d-tor):
471 * insetindex.[Ch] (d-tor):
472 * insetlabel.[Ch] (d-tor):
473 * insetref.[Ch] (d-tor):
474 * insettoc.[Ch] (d-tor):
475 * inseturl.[Ch] (d-tor): removed.
476 Hiding the dialog is handled by InsetCommand.
478 * insetbibtex.[Ch] (draw, metrics):
479 * insetfloatlist.[Ch] (draw, metrics):
480 * insetindex.[Ch] (draw, metrics): removed.
481 Drawing is handled by InsetCommand.
483 * insetbibitem.[Ch] (priv_dispatch):
484 * insetbibtex.[Ch] (priv_dispatch):
485 * insetcite.[Ch] (priv_dispatch):
486 * insetfloatlist.[Ch] (priv_dispatch):
487 * insetindex.[Ch] (priv_dispatch):
488 * insetlabel.[Ch] (priv_dispatch):
489 * insettoc.[Ch] (priv_dispatch):
490 * inseturl.[Ch] (priv_dispatch): removed or simplified.
491 let InsetCommand handle LFUN_MOUSE_PRESS, LFUN_MOUSE_RELEASE,
492 LFUN_INSET_DIALOG_SHOW.
494 * insetbox.C (string2params):
495 * insetbranch.C (string2params):
496 * insetert.C (string2params):
497 * insetexternal.C (string2params):
498 * insetfloat.C (string2params):
499 * insetinclude.C (string2params):
500 * insetminipage.C (string2params):
501 * insetnote.C (string2params):
502 * insetvspace.C (string2params):
503 * insetwrap.C (string2params): over-hauled.
505 2003-12-10 Angus Leeming <leeming@lyx.org>
507 * insetexternal.[Ch]: add a draft option and respect it when
510 2003-12-10 Angus Leeming <leeming@lyx.org>
512 * insetbox.C: (read, write): now prepend the inset contents with
513 'Box' to identify the inset as a box inset.
515 * insetbox.h: move the translators out of sight.
517 2003-12-10 Angus Leeming <leeming@lyx.org>
519 * insetert.C (string2params): clean-up using the new lyxlex interface.
521 * insetexternal.C: ensure that InsetExternalParams has a default
522 template, 'RasterImage'.
524 2003-12-10 Angus Leeming <leeming@lyx.org>
526 * insetnote.[Ch]: change the storage type of InsetNoteParams::type
527 to an enum. Ensuing clean-ups through out the class.
528 (read, write): now prepend the inset contents with 'Note' to identify
529 the inset as a note inset.
531 2003-12-10 Angus Leeming <leeming@lyx.org>
533 * insetbranch.[Ch]: changes to the InsetBranchMailer interface.
534 * insetnote.[Ch]: changes to the InsetNoteMailer interface.
536 2003-12-10 André Pönitz <poenitz@gmx.net>
541 * insettext.[Ch]: remove unused insetInset()
543 * insetert.C: disable some LFUNs
545 * insettoc.[Ch]: metrics() and draw() of InsetButton is enough.
547 2003-12-04 Martin Vermeer <martin.vermee@hut.fi>
549 * insetcharstyle.[Ch]: Conglomerate-style CharStyles
551 2003-12-04 Angus Leeming <leeming@lyx.org>
553 * insetexternal.C (draw): update the xo_, yo_ cache.
555 * ExternalTransforms.[Ch] (ResizeData): add a usingScale member
557 (RotationDataType): new helper struct wrapping the
558 RotationData::OriginType enum.
560 2003-12-03 André Pönitz <poenitz@gmx.net>
562 * inset.h: remove getParagraphs()
564 * insetcollapsable.[Ch]:
568 * insettext.C: use getText() instead of getParagraphs()
570 2003-12-03 Martin Vermeer <martin.vermeer@hut.fi>
572 * insetert.C: fix label text updating bug
574 2003-12-02 Angus Leeming <leeming@lyx.org>
576 * insetvspace.[Ch] (space): new member function. Make space_ private.
577 (read): use the new, simpler lyxlex syntax.
579 2003-12-01 André Pönitz <poenitz@gmx.net>
581 * insetcollapsable.[Ch]:
582 * insetert.[Ch]: move 'inline' state to InsetCollapsable
584 2003-12-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
586 * insetvspace.C (read): handle 'end_inset' token.
588 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
590 * insetcharstyle.[Ch]: add latexparam to CharStyle inset
592 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
594 * insetcollapsable.[Ch]:
596 * insetcharstyle.C: place inset content on the button when
599 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
601 * insetvspace.C: remove VSpace::NONE; increase inset width
603 2003-12-01 André Pönitz <poenitz@gmx.net>
605 * insetbase.h: whitespace
607 * inset.[Ch]: remove latexTextWidth
608 make setBackgroundColor virtual
610 * insettext.[Ch]: move ParagraphList member to LyXText
612 * insetcollapsable.[Ch]: handle LFUN_INSET_TOGGLE
618 * insetminipage.[Ch]:
620 * insetwrap.[Ch]: adjust paragraphs and background color handling,
622 2003-11-28 Angus Leeming <leeming@lyx.org>
624 * insetvspace.[Ch] (d-tor, priv_dispatch): new member functions,
625 hiding and showing the dialog respectively.
626 (priv_dispatch): also actually update the inset contents.
628 2003-11-28 Angus Leeming <leeming@lyx.org>
630 * insetbox.C (d-tor):
631 * insetbranch.C (d-tor):
632 * insetcite.C (d-tor):
633 * insetfloat.C (d-tor):
634 * insetfloatlist.C (d-tor):
635 * insetinclude.C (d-tor):
636 * insetindex.C (d-tor):
637 simplify the invocation of the Mailer::hideDialog() function.
639 * insetminipage.C (showInsetDialog):
640 simplify the invocation of the Mailer::showialog() function.
642 2003-11-28 André Pönitz <poenitz@gmx.net>
645 * insetvspace.[Ch]: new insets
647 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
649 * insetcharstyle.C: Syntax change for CharStyles
651 2003-11-28 André Pönitz <poenitz@gmx.net>
653 * updatableinset.h: remove insetInInsetY
655 * insetcollapsable.[Ch]:
658 * insettext.[Ch]: adjust
660 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
664 * insetcollapsable.[Ch]:
666 * insettabular.[Ch]: remove setFont
668 2003-11-25 Alfredo Braunstein <abraunst@lyx.org>
670 * render_graphic.[Ch]: adjust comments
672 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
674 * insetgraphics.C (draw): cache xo_ & yo_
676 2003-11-24 André Pönitz <poenitz@gmx.net>
678 * insettext.C (setViewCache): don't call LyXText::init() anymore
680 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
683 * insetcollapsable.[Ch]:
684 * insetert.[Ch]: remove bufferview parameter in methods
685 open, close, status, and updateStatus.
687 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
689 * insetcollapsable.[Ch]:
691 * insettext.[Ch] (getCursorDim): squash unused variable
693 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
695 * insettext.C (edit): x0_,y0_ -> xo_,yo_
697 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
699 * insettext.C (draw): sets LyXText absolute coordinates
701 2003-11-20 Angus Leeming <leeming@lyx.org>
703 * insetcharstyle.C (latex, linuxdoc, docbook, plaintext): squash warnings
704 about unused parameters.
706 * insetcollapsable.C (open):
707 * insettabular.C (pasteSelection):
708 * insettoc.C (draw): ditto.
710 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
712 * insetcollapsable.C:
714 * insettext.h: hand on MOUSE_* events to the LyXText when appropriate
715 remove mouse_x mouse_y etc.
717 2003-11-17 André Pönitz <poenitz@gmx.net>
719 * insettext.[Ch] (cx, cy): remove
721 * insettext.[Ch] (dispatch): move most of it to LyXText::dispatch
723 2003-11-13 André Pönitz <poenitz@gmx.net>
726 * insetcollapsable.[Ch]:
728 * insettext.[Ch] (deleteLyXText): remove
730 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
732 * insetcollapsable.[Ch] (fitInsetCursor): remove
733 * insettabular.[Ch] (fitInsetCursor): remove
734 * insettext.[Ch] (fitInsetCursor): remove
735 * updatableinset.[Ch] (fitInsetCursor): remove
736 (getCursorDIm): add virtual
738 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
740 * src/insets/Makefile.am:
741 * src/insets/inset.h:
742 * src/insets/insetcharstyle.C:
743 * src/insets/insetcharstyle.h: The Character Style /XML short
746 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
748 * insettext.C: remove all update calls
749 * insetcollapsable.C: remove all update calls
751 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
753 * insettext.C (updateLocal, insertInset, setFont): remove
756 2003-11-10 André Pönitz <poenitz@gmx.net>
758 * inset.h: remove Inset::id_
760 * inset.h: top_x -> xo_, top_baseline -> yo_ to unify with mathed/*.[Ch]
763 2003-11-10 André Pönitz <poenitz@gmx.net>
767 * insetcollapsable.[Ch]:
774 * updatableinset.[Ch]: remove inset locking & adjust
776 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
778 * inset.h (allowSpellCheck): add (return true)
779 * insetert.h (allowSpellCheck): add (return false)
781 2003-11-05 José Matos <jamatos@lyx.org>
789 * insetcollapsable.[Ch]:
793 * insetexternal.[Ch]:
795 * insetfloatlist.[Ch]:
797 * insetgraphics.[Ch]:
802 * insetlatexaccent.[Ch]:
805 * insetmarginal.[Ch]:
806 * insetminipage.[Ch]:
810 * insetpagebreak.[Ch]:
814 * insetspecialchar.[Ch]:
820 * insetwrap.[Ch]: rename ascii to plaintext
821 and LatexRunParams to OutputParams.
823 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
825 * insetcollapsable.C (edit): add open() all
826 * insettext.C (edit): add setViewCache call
828 2003-11-04 André Pönitz <poenitz@gmx.net>
830 * inset.h (edit): move locking code from dispatch() to edit()
836 * insetcollapsable.[Ch]:
839 * insetexternal.[Ch]:
840 * insetgraphics.[Ch]:
846 * insettext.[Ch]: adjust
848 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
851 * insetcollapsable.[Ch]:
855 * updatableinset.[Ch]: remove dead search code
857 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
860 * insetcollapsable.[Ch]:
864 * updatableinset.[Ch]: remove dead spellcheck code
866 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
868 * insettabular.C (lockInsetInInset): small fix
870 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
872 * insettext.C (priv_dispatch): some DispatchResult type cleanup,
873 don't handle LFUN_UNKNOWN_ACTION, don't call BufferView::dispatch
874 from here. Be stricter on DispatchResult returned.
876 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
878 * Inset::dispatch's: adjust for new DispatchResult semantics.
880 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
882 * render_base.h: make clone return an auto_ptr
883 * render_button.C (clone): adjust
884 * render_graphic.C (clone): adjust
885 * render_preview.C (clone): adjust
887 * insettheorem.C (clone): return an auto_ptr
889 * insettext.C (priv_dispatch): exception safety
891 * insettabular.C: store the file scope variable paste_tabular in a
892 scoped_ptr, adjust usage.
894 * insetexternal.C (setParams): exception safety
896 * insetbibitem.C (clone): exception safety
898 2003-11-03 André Pönitz <poenitz@gmx.net>
901 * insetcollapsable.[Ch]:
903 * insettext.[Ch]: remove Inset::id and related functions
905 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
907 * insets: adjust for DispatchResult changes.
909 2003-11-01 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
911 * insetpagebreak.C: fix screen representation & ascii output.
913 2003-11-01 Alfredo Braunstein <abraunst@libero.it>
918 * insetcollapsable.[Ch]: bool haveParagraphs() -> int numParagraphs()
920 2003-10-31 José Matos <jamatos@lyx.org>
922 * inset.h (ascii, linuxdoc, docbook):
923 * insetbox.[Ch] (ascii, linuxdoc, docbook):
924 * insetbranch.[Ch] (ascii, linuxdoc, docbook):
925 * insetcaption.[Ch] (ascii, docbook):
926 * insetcollapsable.[Ch] (ascii, linuxdoc, docbook):
927 * insetcommand.[Ch] (ascii, linuxdoc, docbook):
928 * insetert.[Ch] (ascii, linuxdoc, docbook):
929 * insetexternal.[Ch] (ascii, linuxdoc, docbook):
930 * insetfloat.[Ch] (linuxdoc, docbook):
931 * insetfloatlist.[Ch] (ascii):
932 * insetfoot.[Ch] (docbook):
933 * insetgraphics.[Ch] (ascii, linuxdoc, docbook):
934 * insethfill.[Ch] (ascii, linuxdoc, docbook):
935 * insetinclude.[Ch] (ascii, linuxdoc, docbook):
936 * insetindex.[Ch] (docbook):
937 * insetlabel.[Ch] (ascii, linuxdoc, docbook):
938 * insetlatexaccent.[Ch] (ascii, linuxdoc, docbook):
939 * insetline.[Ch] (ascii, linuxdoc, docbook):
940 * insetnewline.[Ch] (ascii, linuxdoc, docbook):
941 * insetnote.[Ch] (ascii, linuxdoc, docbook):
942 * insetpagebreak.[Ch] (ascii, linuxdoc, docbook):
943 * insetquotes.[Ch] (ascii, linuxdoc, docbook):
944 * insetref.[Ch] (ascii, linuxdoc, docbook):
945 * insetspace.[Ch] (ascii, linuxdoc, docbook):
946 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
947 * insetspecialchar.[Ch] (ascii, linuxdoc, docbook):
948 * insettext.[Ch] (ascii, linuxdoc, docbook):
949 * insettoc.[Ch] (ascii, linuxdoc, docbook):
950 * inseturl.[Ch] (ascii, linuxdoc, docbook):
951 * insetwrap.[Ch] (docbook):
952 add LatexRunParams argument.
954 2003-10-30 José Matos <jamatos@lyx.org>
956 * insettext.C (linuxdoc, docbook): use new pagraph generation code.
958 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
960 * updatableinset.C (priv_dispatch):
961 * insetwrap.C (priv_dispatch):
962 * inseturl.C (priv_dispatch):
963 * insettoc.C (priv_dispatch):
964 * insettext.C (lfunMouseRelease, priv_dispatch, moveRightIntern)
965 (moveLeftIntern, moveUp, moveDown):
966 * insettabular.C (lfunMouseRelease, priv_dispatch, moveRight)
967 (moveLeft, moveUp, moveDown):
968 * insetref.C (priv_dispatch):
969 * insetnote.C (priv_dispatch):
970 * insetminipage.C (priv_dispatch):
971 * insetlabel.C (priv_dispatch):
972 * insetindex.C (priv_dispatch):
973 * insetinclude.C (priv_dispatch):
974 * insetgraphics.C (priv_dispatch):
975 * insetfloatlist.C (priv_dispatch):
976 * insetfloat.C (priv_dispatch):
977 * insetexternal.C (priv_dispatch):
978 * insetert.C (priv_dispatch):
979 * insetcommand.C (priv_dispatch):
980 * insetcollapsable.C (lfunMouseRelease, priv_dispatch):
981 * insetcite.C (priv_dispatch):
982 * insetbranch.C (priv_dispatch):
983 * insetbox.C (priv_dispatch):
984 * insetbibtex.C (priv_dispatch):
985 * insetbibitem.C (priv_dispatch):
986 * insetbase.C (priv_dispatch): explict DispatchResult ctor fallout.
988 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
990 * insettext.C: small refactoring of docbook stuff
992 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
994 * insettext.C (lfunMouseRelease): dont use implicit conversion to bool
995 (priv_dispatch): adjust for operator dispatch_result_t removal
997 * insettabular.C (lfunMouseRelease): put the result of a dispatch
998 in a DispatchResult, adjust accordingly.
999 (priv_dispatch): use strange >= construct... (will be removed later)
1001 * most insets: dispatch_result -> DispatchResult
1003 * insetbase.h: move DispatchResult out to dispatchresult.h
1005 2003-10-27 André Pönitz <poenitz@gmx.net>
1007 * insetpagebreak.[Ch]: new inset for page breaks
1009 * insetline.[Ch]: new inset for vertical lines
1014 2003-10-25 Angus Leeming <leeming@lyx.org>
1016 * render_base.h (asButton, asGraphic, asPreview, asMonitoredPreview):
1017 new virtual member functions, specialised...
1018 * render_button.h (asButton):
1019 * render_graphic.h (asGraphic):
1020 * render_preview.h (asPreview, asMonitoredPreview): ... here.
1022 * insetexternal.C: use these new functions rather than dynamic_cast.
1023 Various other small simplifications.
1025 2003-10-22 Angus Leeming <leeming@lyx.org>
1027 * insetexternal.[Ch]: add the ability to 'preview' the external file
1030 * insetinclude.C: changes due to the changes in the RenderPreview
1033 * render_preview.[Ch]: Lots of small changes. Display a diagnostic
1034 message if the preview image is not available. Only initiate the
1035 loading of the preview from draw(). Ditto, start the monitoring
1036 of an external file from RenderMonitoredPreview::draw.
1038 2003-10-22 Angus Leeming <leeming@lyx.org>
1040 * insetcite.[Ch] (setLoadingBuffer): removed.
1041 (getNatbibLabel): use the new Buffer::fully_loaded member function to
1042 ascertain whether to proceed with the (expensive) task of computing
1043 the natbib-style label. Remove the home-grown hack providing
1044 similar functionality.
1046 2003-10-22 Angus Leeming <leeming@lyx.org>
1048 * render_graphic.[Ch] (statusMessage, readyToDisplay): move out of the
1049 class and into an anonymous namespace.
1051 2003-10-22 Angus Leeming <leeming@lyx.org>
1053 * insetcommand.h: remove the display method.
1057 * insetindex.h (InsetPrintIndex):
1058 * insettoc.h: add a display method, returning true.
1060 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
1062 * insetcollapsable.h:
1066 * insetinclude.h: (1) finish off the inset display() work;
1067 (2) fix the "is a bit silly" bug (accessing char
1070 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
1074 * insetfootlike.h: re-introduce display() for insets,
1075 fixing the various bugs (stretch of line above, math inset
1078 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1080 * insetbase.C (dispatch): new func
1081 (priv_dispatch): new func replaces...
1082 (localDispatch): this, deleted.
1084 * all insets with dispatch modified for new code.
1086 2003-10-15 André Pönitz <poenitz@gmx.net>
1088 * insetcollapsable.[Ch]
1090 * inset.h: re-add some edit(bv, index) method called by undo
1092 2003-10-14 Angus Leeming <leeming@lyx.org>
1094 * insetexternal.[Ch] (view, cache, view_):
1095 * insetgraphics.[Ch] (view, cache, view_):
1096 * insetinclude.[Ch] (view, cache, view_): remove the BufferView cache.
1097 (statusChanged): call LyX::cref().updateInset.
1099 * insetinclude.C (fileChanged): use LyX::cref().updateInset rather than
1100 the BufferView cache.
1102 * insetlabel.h: remove #include <boost/weak_ptr.hpp>. Cruft from an
1105 2003-10-14 Angus Leeming <leeming@lyx.org>
1107 * insetinclude.C (metrics, draw): only draw the preview when previews
1110 2003-10-14 André Pönitz <poenitz@gmx.net>
1112 * insetcollapsable.[Ch]:
1113 * insettabular.[Ch]:
1115 * inset.h: getText() as alternative to getParagraphs()
1117 2003-10-13 Angus Leeming <leeming@lyx.org>
1120 * insetgraphicsParams.C: displayTranslator is now a function.
1122 2003-10-13 Angus Leeming <leeming@lyx.org>
1124 * insetinclude.C: remove #include "PreviewImage.h".
1126 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1128 * ExternalSupport.C:
1129 * ExternalTransforms.C:
1131 * insetbox.h: ws changes only
1133 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1135 * insetinclude.C (localDispatch): do not call
1136 InsetOld::localDispatch, just return UNDISPATCHED
1137 * insetgraphics.C (localDispatch): ditto
1138 * insetcommand.C (localDispatch): ditto
1140 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
1142 * inset.h: get rid of RESULT typedef for dispatch_result
1144 * insetcollapsable.[Ch] (localDispatch): RESULT -> dispatch_result
1145 * insetert.[Ch] (localDispatch): ditto
1146 * insettabular.[Ch] (localDispatch): ditto
1151 * insettext.[Ch] (localDispatch): ditto
1154 (moveRightIntern): ditto
1155 (moveLeftIntern): ditto
1158 * updatableinset.[Ch] (localDispatch): ditto
1160 2003-10-12 Angus Leeming <leeming@lyx.org>
1162 * renderbase.h (view, view_): removed.
1163 * renderbase.C: removed.
1164 * Makefile.am: remove render_base.C. The shortest lived file in
1167 * renderbutton.C (draw):
1168 * render_graphic.C (draw): don't cache the BufferView.
1170 * insetabase.h (cache, view): removed.
1172 * inset.h (generatePreview) removed.
1174 * insetcallapsable.[Ch] (cache, view, view_): removed.
1176 * insetcollapsable.C (draw): don't cache the BufferView.
1178 * insetcommand.[Ch] (view): removed.
1180 * insetexternal.[Ch] (cache, view, view_):
1181 * insetgraphics.[Ch] (cache, view, view_):
1182 * insetinclude.[Ch] (cache, view, view_): added. Cache the BufferView.
1184 * insetlabel.C: small clean-up. Don't use the BufferView cache, view(),
1185 when you have direct access to it. In fact, don't use the cache at all.
1187 2003-10-10 Angus Leeming <leeming@lyx.org>
1189 * insetinclude.C (metrics): use preview_->metrics.
1190 (draw): use preview_->draw.
1192 * render_preview.[Ch] (pimage): removed.
1194 2003-10-10 Angus Leeming <leeming@lyx.org>
1196 * renderers.[Ch]: removed.
1199 * render_button.[Ch]:
1200 * render_graphic.[Ch]:
1201 * render_preview.[Ch]: new files. The first three are split out of
1202 renderers.[Ch]. The last one is a renamed PreviewedInset.[Ch]. which
1203 contains a re-worked InsetInclude::PreviewImpl also.
1205 * Makefile.am: reflect the changed files.
1208 * insetexternal.[Ch]:
1209 * insetgraphics.[Ch]: trivial changes ButtonRenderer -> RenderButton, etc.
1211 * insetinclude.[Ch]: changes reflecting the change from
1212 InsetInclude::PreviewImpl to RenderMonitoredPreview.
1218 * inseturl.C: add #include "support/std_ostream.h"
1220 2003-10-09 Angus Leeming <leeming@lyx.org>
1222 * insetinclude.C (metrics, draw): no longer need to pass a Buffer arg
1223 to PreviewedInset::previewReady.
1225 2003-10-09 Angus Leeming <leeming@lyx.org>
1227 * insetexternal.[Ch] (statusChanged):
1228 * insetgraphics.[Ch] (statusChanged): make a const member function.
1230 * insetinclude.[Ch]: mods to PreviewImpl due to the changes to
1233 2003-10-09 Angus Leeming <leeming@lyx.org>
1235 * insetinclude.C (metrics, draw, restartLoading): pass a buffer arg
1236 to PreviewedInset's previewReady and removePreview member functions.
1238 2003-10-08 André Pönitz <poenitz@gmx.net>
1240 * insetcollapsable.C:
1241 * insettext.[Ch]: saner 'init' structure
1243 * updatableinset.[Ch]: remove unneeded code
1245 2003-10-08 Angus Leeming <leeming@lyx.org>
1247 Fix doxygen warnings.
1249 * insetbox.h (localDispatch): remove prefix InsetBox:: from declaration.
1250 * insetnote.h (localDispatch): remove prefix InsetNote:: from declaration.
1252 2003-10-07 Angus Leeming <leeming@lyx.org>
1254 * ExternalTransforms.[Ch]: new files, detailing transforms that can
1255 be applied to InsetExternal.
1257 * Makefile.am: add these new files.
1259 * ExternalTemplate.[Ch]: add a list of available transforms to
1260 class Template and a list of factory functions for transformer classes
1261 that can act on this data to class Format.
1263 * insetexternal.[Ch]: add transform data to InsetExternal::Params.
1265 * ExternalSupport.C: Add code to replace transform placeholders
1266 with appropriate output.
1268 2003-10-07 Angus Leeming <leeming@lyx.org>
1270 * ExternalSupport.[Ch]: new files, moving the private member functions
1271 and namespace anon functions out of insetexternal.C to here, so making
1272 it easier to understand what is going on in insetexternal itself.
1274 * Makefile.am: add new files.
1276 * insetexternal.[Ch]: InsetExternal::Params -> InsetExternalParams,
1277 allowing the class to be forward declared. (Also consistent with
1278 all other Params classes.)
1279 (write): moved out of the class. Move this function and those in
1280 namespace anon to ExternalSupport.[Ch].
1282 2003-10-07 Angus Leeming <leeming@lyx.org>
1284 * ExternalTemplate.[Ch] (TemplateManager::getTemplates): remove
1285 non-const member function.
1287 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
1292 * insetbox.h: The Box patch. Fancybox support, minipage, parbox
1294 2003-10-02 André Pönitz <poenitz@gmx.net>
1296 * insettext.C (read): make sure there is at least one par
1297 in the text after reading.
1299 2003-10-01 José Matos <jamatos@lyx.org>
1301 * insetbranch.C (linuxdoc, docbook): minor fix.
1303 2003-10-01 Angus Leeming <leeming@lyx.org>
1305 * ExternalTemplace.[Ch]: introduce namespace lyx::external.
1307 * insetexternal.[Ch]: changes due to the introduction of
1308 namespace lyx::external.
1310 2003-09-30 Angus Leeming <leeming@lyx.org>
1312 * insetexternal.[Ch] (Params::read, write): new member functions.
1314 2003-09-25 Angus Leeming <leeming@lyx.org>
1316 * insetexternal.[Ch] (TempName): new (private) nested struct with
1317 fake copy semantics. Enables us to use the generated copy c-tor
1318 in the Params struct.
1319 (Params::templatename, Params::tempname): use accessor functions.
1321 2003-09-25 Angus Leeming <leeming@lyx.org>
1323 * ExternalTemplate.[Ch] (getTemplateByName): now it's a const member
1324 function, returning a const pointer.
1326 2003-09-23 Angus Leeming <leeming@lyx.org>
1328 * ExternalTemplate.[Ch]: can have multiple preamble snippets if we
1329 store them in a vector, preambleNames.
1331 * insetexternal.C (validate): loop over all preambleNames and call
1332 LaTeXFeatures::addExternalPreamble with each.
1334 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1336 * insetbranch.C: bug fix in branches
1338 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
1340 * insetnote.C: small clean-up.
1342 2003-09-19 Angus Leeming <leeming@lyx.org>
1344 * inset.h (generatePreview): passed a 'Buffer const &' arg.
1346 * insetcommand.C (string2params): clear params using the default c-tor.
1348 * insetinclude[Ch]: get rid of the masterFilename_ parameter in
1349 InsetInclude::Params. No more data in this struct than in
1350 InsetCommandParams, so get rid of it and use InsetCommandParams instead.
1351 (c-tor): no need to pass a 'Buffer const &' arg anymore.
1352 (clone): remove #warning as it's now redundant.
1353 (set): add a 'Buffer const &' arg. Make private.
1354 (loadIfNeeded) move out of the class definition and into namespace anon.
1355 (getMasterFilename, getFileName): ditto.
1357 2003-09-18 Angus Leeming <leeming@lyx.org>
1359 * insetcommand.C (setParams): use the params' copy constructor.
1361 2003-09-18 Angus Leeming <leeming@lyx.org>
1363 * insetinsetbase.h (getLabelList):
1364 * insetinsetcollapsable.[Ch] (getLabelList):
1365 * insetinsetinclude.[Ch] (getLabelList):
1366 * insetinsetlabel.[Ch] (getLabelList):
1367 * insetinsettabular.[Ch] (getLabelList):
1368 * insetinsettext.[Ch] (getLabelList): receive a Buffer const & arg.
1369 * insetinsetinclude.[Ch] (fillWithBibKeys): ditto.
1371 2003-09-18 Angus Leeming <leeming@lyx.org>
1373 * insetinclude.[Ch]: remove Params::operator==, operator!= as they're
1374 redundant baggage from yesteryear.
1375 Remove Params::flag as it is redundant; the info is present in
1378 2003-09-18 Angus Leeming <leeming@lyx.org>
1380 * insetinclude.C (latexString): add a Buffer const & arg.
1382 2003-09-18 Angus Leeming <leeming@lyx.org>
1387 * insettext.h: rename EnumLColor as LColor_color.
1389 2003-09-18 Angus Leeming <leeming@lyx.org>
1391 * inset.h: add the InsetOld::Code wrapper class InsetOld_code.
1392 * insetbase.h: add the dispatch_result wrapper class DispatchResult.
1394 2003-09-16 Angus Leeming <leeming@lyx.org>
1396 * insetinclude.C (localDispatch): ensure that params_.masterFilename_ is
1397 set before trying to generate a preview, else we trigger an assert.
1399 2003-09-16 Angus Leeming <leeming@lyx.org>
1401 * insetinclude.C (PreviewImpl::parent): return a const reference.
1403 2003-09-16 Angus Leeming <leeming@lyx.org>
1405 * insetcollapsable.[Ch]: make all member variables, except for 'inset', private.
1407 * insetert.C (init): use InsetCollapsable::setLabelFont rather than access
1409 (read, updateStatus, lfunMouseRelease, status, showInsetDialog): use
1410 InsetCollapsable::setCollapsed, isOpen rather than access collapsed_ directly.
1412 * insetminipage.C (metrics):
1413 * insetnote.C (metrics):
1414 * insettheorem.C (clone): use InsetCollapsable::isOpen rather than
1415 access collapsed_ directly.
1417 2003-09-16 Angus Leeming <leeming@lyx.org>
1419 * insetbibitem.C: add #include "lyxfont.h".
1421 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
1424 * insetbibtex.C: use namespace alias for lyx::support::os
1426 2003-09-16 Angus Leeming <leeming@lyx.org>
1428 * insetcollapsable.h: remove unused framecolor variable.
1429 Remove #include "LColor.h".
1431 * insetcollapsable.C: remove unused framecolor variable.
1434 * insetcollapsable.C:
1442 Add #include "LColor.h".
1444 2003-09-16 Angus Leeming <leeming@lyx.org>
1446 * insettext.[Ch] (frameColor): new accessor function.
1447 (frame_color_): stored as an int, allows us to remove #include "LColor.h" from
1453 add #include "LColor.h".
1455 * insetcollapsable.h: add #include "LColor.h"
1456 (for its framecolor member variable).
1458 2003-09-16 Angus Leeming <leeming@lyx.org>
1460 * insetenv.C (constructor): use accessor functions to access InsetText variables.
1462 * insettext.h: rename autoBreakRows as autoBreakRows_. Make private.
1463 rename frame_color as frame_color_. Make private.
1465 * insettext.C: associated changes.
1467 2003-09-16 Angus Leeming <leeming@lyx.org>
1469 * inset.h: store background_color_ as an int, not as an LColor::color to
1470 get LColor.h out of the header file.
1473 * insetlatexaccent.C:
1476 * insetspecialchar.C:
1478 add #include "LColor.h".
1480 2003-09-16 Angus Leeming <leeming@lyx.org>
1482 * renderers.C: LyXFont::setColor no longer return a LyXFont &, so cannot string
1485 2003-09-15 Angus Leeming <leeming@lyx.org>
1487 * inset.[Ch] (setBackgroundColor, backgroundColor):
1488 * insettext.[Ch] (setFrameColor):
1489 pass EnumLColor args, rather than LColor::color ones.
1491 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1501 * insetwrap.C: remove usage of STRCONV
1503 2003-09-15 Angus Leeming <leeming@lyx.org>
1505 * renderers.C (draw):
1506 * insetlatexaccent.C (draw): explicitly define the color passed to
1509 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1511 * insettext.C: remove block causing problems in lockInsetInInset
1512 (mentioned erroneously under Bug #1366)
1514 2003-09-10 Martin Vermeer <martin.vermeer@hut.fi>
1516 * insetcollapsable.C: Simplify by using adjustCommand, and fix bug
1519 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
1521 * several files: change Assert to BOOST_ASSERT
1523 2003-09-09 Martin Vermeer <martin.vermeer@hut.fi>
1525 * insettext.[Ch]: remove drawText[XY]Offset
1527 2003-09-08 Angus Leeming <leeming@lyx.org>
1529 * insetcollapsable.C:
1534 * insetspecialchar.C:
1537 * insettoc.C: remove redundant using directives.
1539 2003-09-07 Angus Leeming <leeming@lyx.org>
1542 * insetspecialchar.h: remove #include "support/std_string.h".
1544 2003-09-06 Angus Leeming <leeming@lyx.org>
1546 * renderers.C: add #include "insets/inset.h"
1548 2003-09-05 Angus Leeming <leeming@lyx.org>
1550 * *.C: strip out redundant #includes. (193 in total.)
1552 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
1554 * insets/insetbibtex.[Ch]:
1555 * insets/insetcommand.h:
1556 * insets/insetfloatlist.[Ch]:
1557 * insets/insetinclude.[Ch]:
1558 * insets/insettoc.[Ch]: Restricts the mouse click functionality
1559 of insets like bibtex, include, toc and floatlist to the visible
1560 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1561 up the dialogs. Cursor has to be in front of the inset (i.e.
1562 start of row) for this to function.
1564 2003-09-04 Angus Leeming <leeming@lyx.org>
1566 * ExternalTemplate.[Ch]: store the preamble snippets in a separate
1567 structure outside of the Format struct. Format::preambleName refers to
1568 an item in the map of all preamble snippets.
1569 Make use of the new Debug::EXTERNAL flag.
1571 * insetexternal.C: make use of the new Debug::EXTERNAL flag.
1572 (validate): Small change due to the changed storage of preamble snippets.
1574 2003-09-04 Angus Leeming <leeming@lyx.org>
1576 * insetgraphics.C: #include "support/os.h"
1578 * insetfoot.h: move #include "LaTeXFeatures.h" out of the header file.
1579 * insettabular.h: move #include "FuncStatus.h" out of the header file.
1580 * insettoc.[Ch]: move #include "metricsinfo.h" out of the header file.
1582 * insetcollapsable.h:
1584 * insetnote.C: move #include "funcrequest.h" out of the header file.
1586 2003-09-03 Angus Leeming <leeming@lyx.org>
1588 * insetexternal.C (updateExternal):
1589 * insetgraphics.C (prepareFile): Fix the conversion when exporting to
1592 2003-09-03 Angus Leeming <leeming@lyx.org>
1594 * insetexternal.C: don't bring namespace lyx::support into the global
1597 2003-09-02 Martin Vermeer <martin.vermeer@hut.fi>
1599 * insetbranch.C: Add Branch: to label
1601 2003-09-02 John Levon <levon@movementarian.org>
1604 * insettext.C: remove cursor.i[xy]()
1606 2003-08-28 Angus Leeming <leeming@lyx.org>
1608 * insetgraphics.C (prepareFile): prepend "convertDefault.sh" with
1609 "sh ", enabling the conversion to be carried out even if the script
1612 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1614 * most files: change to use const Buffer refs
1616 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1618 * insetfootlike.C: whitespace.
1620 2003-08-26 John Levon <levon@movementarian.org>
1624 * insetindex.h: remove remaining mentions of needFullRow()
1626 2003-08-26 André Pönitz <poenitz@gmx.net>
1632 * inset.[Ch]: remove InsetOld::par_owner_ & handling
1634 2003-08-26 Martin Vermeer <martin.vermeer@hut.fi>
1636 * insetbranch.C: Small fix to prevent a crash on loading.
1638 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
1643 * insetcollapsable.h:
1645 * insetfloatlist.[Ch]:
1646 * insetfootlike.[Ch]:
1647 * insetinclude.[Ch]:
1653 * insettheorem.[Ch]:
1654 * insettoc.[Ch]: eliminates the needFullRow/display() stuff
1655 altogether, putting the logic in metrics/draw in the insets.=20
1656 Draws short single row insets with more or less realistic metrics.
1658 2003-08-19 André Pönitz <poenitz@gmx.net>
1660 * insettext.C: use new RowPainter interface
1662 2003-08-18 John Levon <levon@movementarian.org>
1664 * insetref.C: require amsmath for eqref
1666 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
1670 * insetbranch.[Ch]: implements the 'branch inset'
1671 idea. This allows the output of various versions of a document
1672 from a single source version, selectively outputing or suppressing
1673 output of parts of the text.
1674 This implementation contains a 'branch list editor' in a separate
1675 tab of the document settings dialog. Branches are user definable
1676 and have a "display colour" to distinguish them on-screen.
1678 ColorHandler was somewhat cleaned up.
1679 (1) make possible a dynamically growing LColor list by allowing
1680 the graphic context cache to grow along (vector);
1681 (2) eliminate an IMHO unnecessary step in colour allocation.
1683 2003-08-15 André Pönitz <poenitz@gmx.net>
1685 * insettext.[Ch]: adjust after rowlist split
1687 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
1689 * insettabular.C: rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1690 rename valign-center to valign-middle;
1691 rename VALIGN_CENTER to VALIGN_MIDDLE
1693 2003-08-11 André Pönitz <poenitz@gmx.net>
1695 * inset.h: remove resizeLyXText
1698 * insetcollapsable.[Ch]:
1700 * insettabular.[Ch]: adjust
1702 * insettext.[Ch]: remove saveLyXTextState,
1703 restoreLyXTextStat, sstate, reinitLyXText
1705 2003-08-07 André Pönitz <poenitz@gmx.net>
1707 * inset.[Ch]: move non-crucial functions out-of-line
1709 * insettext.C: rely on LyXText's LFUN handlers in some more cases,
1710 remove duplicated code.
1712 2003-08-05 André Pönitz <poenitz@gmx.net>
1715 * insetcollapsable.[Ch]:
1725 * insettabular.[Ch]:
1728 * updatableinset.[Ch]: rip out "deep update"
1730 * insettext.C (localDispatch): merge cases with default branch
1732 * insettext.C (frame_x,y,w,h): replace member with automatic variables
1734 * insettabular.[Ch] (updateLocal): simplify logic
1736 2003-08-04 André Pönitz <poenitz@gmx.net>
1738 * insettext.[Ch] (updateLocal): remove 'what' argument by assuimng it
1739 is 'FULL' all the time.
1741 2003-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1743 * insetert.C (get_new_label): only add ... to the (closed) label
1744 when the string has been shortened
1746 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
1748 * Always use std::endl with lyxerr
1750 2003-08-01 Martin Vermeer <martin.vermeer@hut.fi>
1752 * insetnote.C: update \author list
1754 2003-07-31 André Pönitz <poenitz@gmx.net>
1756 * insetcollapsable.h:
1757 * insettabular.[Ch]:
1758 * insettext.[Ch]: remove toggleSelection
1760 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1762 (with help from Juergen Spitzmueller)
1763 * insetnote.C: add add i18n support. Use Prefs-definable
1764 colours for Comment and Greyedout.
1766 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
1768 * insetcollapsable.[Ch]:
1770 * insetert.C: factor out the detection of clicking on the inset
1771 button as 'hitButton'. John Levon contributed.
1773 2003-07-30 André Pönitz <poenitz@gmx.net>
1775 * insetcollapsable.C:
1777 * insettabular.C: parantheses, localize vars etc.
1779 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
1781 * insetnote.C: Implement a newenvironment in preamble for
1782 greyedout. Patch provided by Jürgen Spitzmüller.
1784 2003-07-29 Angus Leeming <leeming@lyx.org>
1786 * insetcommand.C (localDispatch): default to
1787 InsetOld::localDispatch.
1789 * insetbibitem.C (localDispatch):
1790 * insetbibtex.C (localDispatch): remove call to
1791 ChangeCitationsIfUnique.
1793 * insetbibtex.[Ch] (clone): move out of line; use copy c-tor.
1795 * insetexternal.C (read): use pushpophelper.
1797 2003-07-28 José Matos <jamatos@lyx.org>
1799 * insetext.C (read): \end_document replaces \the_end.
1801 2003-07-28 José Matos <jamatos@fep.up.pt>
1803 * insetert.C (write): \layout -> \begin_layout.
1804 Add missing \end_layout.
1806 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1808 * insetquotes.C: document a bit the format
1810 * insettabular.C (write): remove extra space
1812 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1813 * insetnote.C: Umpf. Hope I *now* get it right :-(
1815 2003-07-28 Martin Vermeer <martin.vermeer@hut.fi>
1816 *insetnote.C: did the right fix to greyedout: \color
1817 instead of \textcolor.
1819 2003-07-28 Angus Leeming <leeming@lyx.org>
1821 * insetbibtex.h: remove extraneous forward declaration.
1824 * insetbibtex.h: Also remove long-dead Holder member class
1827 2003-07-27 Martin Vermeer <martin.vermeer@hut.fi>
1829 * insetbase.h: add #include <memory> needed by gcc 2.95.2 at
1832 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1834 * insetwrap.C (addToToc): adjust for lyx::toc
1836 * insetfloatlist.C (ascii): adjust for lyx::toc
1838 * insetfloat.C (addToToc): adjust for lyx::toc
1840 2003-07-27 José Matos <jamatos@fep.up.pt>
1842 * insetnote.h (linuxdoc,docbook): update support.
1844 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1846 * insetfloat.C (wide): add a space to label, for consistency
1848 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
1850 * insettext.C (nextChange): adjust for lyx::find
1851 (searchForward): ditto
1852 (searchBackward): ditto
1854 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1856 * insetgraphicsParams.C:
1857 * insetexternal.C: declare extern displayTranslator
1860 * renderers.C: add #include "support/LAssert.h"
1862 2003-07-27 José Matos <jamatos@fep.up.pt>
1864 * insetfloat.[Ch] (linuxdoc):
1865 * insetgraphics.C (linuxdoc):
1866 * insettabular.C (linuxdoc):
1867 * insettext.[Ch] (linuxdoc): add support for tables and figures
1870 2003-07-27 José Matos <jamatos@fep.up.pt>
1872 * insetinclude (latex): comply with makeLaTeXFile argument change.
1874 2003-07-26 Asger Alstrup <alstrup@local>
1876 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
1877 the undo crashes. We'll see what problems other places this will
1880 2003-07-26 Angus Leeming <leeming@lyx.org>
1882 * insetgraphics.C: remove unused declaration of system_tempdir.
1884 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
1886 * rename Inset to InsetOld
1888 * all inset files (clone): return a auto_ptr<InsetBase>
1890 2003-07-23 Angus Leeming <leeming@lyx.org>
1892 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
1894 2003-07-23 Angus Leeming <leeming@lyx.org>
1896 * mailinset.[Ch] (inset2string):
1897 * insetcommand.[Ch] (inset2string):
1898 * insetert.[Ch] (inset2string):
1899 * insetexternal.[Ch] (inset2string):
1900 * insetfloat.[Ch] (inset2string):
1901 * insetgraphics.[Ch] (inset2string):
1902 * insetinclude.[Ch] (inset2string):
1903 * insetminipage.[Ch] (inset2string):
1904 * insetnote.[Ch] (inset2string):
1905 * insettabular.[Ch] (inset2string):
1906 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
1908 * insetexternal.[Ch]:
1909 * insetgraphics.[Ch]: get rid of the view() function. Associated
1910 changes to the mailers' string2params and params2string functions.
1912 2003-07-23 Angus Leeming <leeming@lyx.org>
1914 * insetexternal.[Ch]: store the external file name in a FileName
1915 member variable rather than a string + associated changes.
1917 2003-07-21 Angus Leeming <leeming@lyx.org>
1919 * insetgraphicsParams.[Ch]: store the graphics file name in
1920 a FileName member variable rather than a string.
1922 * insetgraphics.[Ch]:
1923 * insetgraphicsParams.[Ch]: Associated changes.
1925 2003-07-21 Angus Leeming <leeming@lyx.org>
1927 * insetgraphics.[Ch] (string2params, params2string): passed a
1928 buffer_path argument.
1931 2003-07-21 Angus Leeming <leeming@lyx.org>
1934 * insetgraphicsParams.[Ch]:
1936 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
1938 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
1940 * insetnote.C: fixed greyout and conditionals layout foul-ups.
1942 2003-07-18 André Pönitz <poenitz@gmx.net>
1945 * insetminipage.[Ch]:
1946 * insettabular.[Ch]:
1949 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
1951 2003-07-18 André Pönitz <poenitz@gmx.net>
1955 * insetcollapsable.C:
1959 * insetgraphics.[Ch]:
1960 * insetlatexaccent.[Ch]:
1965 * insetspecialchar.C:
1966 * insettabular.[Ch]:
1968 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
1970 2003-07-17 André Pönitz <poenitz@gmx.net>
1972 * insetcollapsable.C:
1974 * insettext.C: don't call Inset::update() anymore
1977 * insettabular.[Ch]: remove unneeded in_update_ members
1979 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
1981 2003-07-16 André Pönitz <poenitz@gmx.net>
1983 * insettext.C (selectAll): remove
1985 2003-07-16 John Levon <levon@movementarian.org>
1988 * insetnote.C: implement showInsetDialog()
1990 2003-07-15 André Pönitz <poenitz@gmx.net>
1993 * insettext.C: refresh_status tristate -> need_update bool
1995 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
1997 * insettext.C: adjust call to LyXText::init
1999 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
2001 * insettext.C: use bufferview_funcs->replaceSelection()
2002 to delete selections in some cases (bugs 441, 673, 702, 954).
2004 2003-07-14 André Pönitz <poenitz@gmx.net>
2006 * insettext.C (draw): use slimmed down rowpainter interface
2008 2003-07-14 André Pönitz <poenitz@gmx.net>
2010 * insetcollapsable.C:
2012 * insettext.[Ch] (cy, ciy, setUpdateStatus):
2013 remove unused BufferView * argument
2015 2003-07-14 André Pönitz <poenitz@gmx.net>
2017 * insettext.[Ch]: used cached metrics a bit more
2019 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
2021 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
2023 2003-07-10 André Pönitz <poenitz@gmx.net>
2026 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
2028 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2030 * introduce namespace lyx::graphics
2032 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2034 * introduce namespace lyx::support
2036 2003-06-30 André Pönitz <poenitz@gmx.net>
2038 * insetcite.C (localDispatch): fix case of missing return value
2040 * insetcite.C (ascii): remove unneeded temporary
2042 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
2044 * insetspace.h: fix \file
2046 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
2047 * insetinclude.C (fillWithBibKeys): ditto
2049 * insetbibitem.C: fix type const order
2051 * inset.C (getLyXText): add varname for arg
2053 * ExternalTemplate.h: fix type const order
2055 2003-06-27 André Pönitz <poenitz@gmx.net>
2057 * insettext.C: take care of removed LyXCursor::row_ member
2059 * insettext.[Ch]: use new TextCursor struct for sstate
2061 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2063 * inseterror.[Ch]: removed
2065 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
2067 * insetinclude.C (docbook): use parseError instead of sgmlError
2069 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
2071 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
2072 of BufferList::loadLyXFile
2074 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
2076 * insettext.C (update): simplify
2077 (updateLocal): remove commented code
2078 (insetUnlock): simplify
2079 (lockInset): simplify
2080 (updateInsetInInset): simplify
2081 (localDispatch): simplify
2083 (resizeLyXText): simplify
2084 (collapseParagraphs): simplify
2086 * insetert.C (get_new_label): simplify
2088 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
2090 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
2091 pasteSelection with index
2093 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2095 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
2097 2003-06-16 André Pönitz <poenitz@gmx.net>
2099 * insetbase.h: new virtual base function clone()
2101 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
2102 Inset * clone() -> InsetBase * clone()
2104 2003-06-13 André Pönitz <poenitz@gmx.net>
2106 * insettabular.[Ch]: make tabular a proper member
2108 2003-06-12 André Pönitz <poenitz@gmx.net>
2110 * insettabular.[Ch]: some renaming plus whitespace
2112 2003-06-11 Angus Leeming <leeming@lyx.org>
2114 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
2117 * insetbutton.[Ch]: removed.
2118 * graphicinset.[Ch]: renamed as renderers.[Ch].
2120 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
2121 Create a new class ButtonRenderer using the InsetButton::metrics() and
2123 Derive both from a common RenderedInset base class.
2125 * insetcommand.[Ch]:
2126 * insetinclude.[Ch]: derive from Inset, not InsetButton.
2127 Give it a ButtonRenderer member variable. Use it.
2128 Give the classes working copy c-tors.
2129 No longer derive from boost::noncopyable.
2131 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
2132 display its contents as a button or as a graphic.
2134 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
2137 2003-06-11 Angus Leeming <leeming@lyx.org>
2139 * insetcite.C (localDispatch): reformat.
2141 * insetref.C (localDispatch): enable dialog to be lauched.
2143 2003-06-11 John Levon <levon@movementarian.org>
2145 * insettabular.C: correctly mark all cells as erased
2147 2003-06-11 Angus Leeming <leeming@lyx.org>
2149 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
2150 ExternalTemplate but its name, templatename. This means that a file
2151 containing a reference to an External Template not installed on the
2152 current machine will be saved retaining this info rather than inserting
2153 the first "valid" template from the list of templates.
2155 As a by product, the visual statement that the Template is missing is
2158 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
2160 * insettext.C (appendParagraphs): remove some commented code.
2162 2003-06-10 Angus Leeming <leeming@lyx.org>
2164 * graphicinset.[Ch] (view): removed the publicly accessible function to set
2167 * insetexternal.[Ch]: move tempname_ into the Params struct.
2168 (Params d-tor): new function, to clean-up this temp file.
2169 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
2171 (editExternal, doSubstitution): move out of class.
2173 2003-06-10 Angus Leeming <leeming@lyx.org>
2175 * graphicinset.[Ch] (params): removed.
2176 * graphicinset.h (operator=): declared private but not defined.
2177 (statusMessage): made private.
2179 * insetexternal.[Ch]: graphic_ renamed as renderer_.
2181 2003-06-07 John Levon <levon@movementarian.org>
2183 * insetert.C (latex): make a newline mean just that not
2186 2003-06-07 José Matos <jamatos@fep.up.pt>
2188 * insethfill.[Ch] (linuxdoc, docbook): implement output
2189 * insetspace.C (linuxdoc, docbook): remove coments as the code
2192 2003-06-06 José Matos <jamatos@fep.up.pt>
2194 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
2196 2003-06-06 André Pönitz <poenitz@gmx.net>
2198 * insetwrap.[Ch]: code compactification
2200 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
2202 * mailinset.C (updateDialog): use Dialogs::visible
2204 2003-06-04 Angus Leeming <leeming@lyx.org>
2206 * graphicinset.C (draw): add a comment for the #if 0 block.
2208 * insetexternal.h: remove Params::parameters variable.
2209 * insetexternal.C (read, write): rewrite to output new ExternalInset format
2210 and read it back making full use of LyXLex.
2212 2003-06-04 André Pönitz <poenitz@gmx.net>
2214 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
2216 2003-06-04 John Levon <levon@movementarian.org>
2218 * insettabular.C: back out tall table speed up. It was broken
2220 2003-06-03 Angus Leeming <leeming@lyx.org>
2222 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
2223 Remove ViewCommand and UpdateCommand.
2225 * graphicinset.C (update): bug fix. Set the params before calling the
2227 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
2228 BufferView cache to enable the InsetExternal::editCommand to be invoked
2229 from the frontends. Would not be needed if this were dispatched properly.
2230 (old_ascent_): variable removed.
2232 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
2233 do any necessary conversions of external material. Also use the
2234 new GraphicsInset to display the inset within LyX.
2236 2003-06-03 Angus Leeming <leeming@lyx.org>
2238 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
2239 and move it somewhere where InsetExternal can use it too.
2241 * Makefile.am: add the new files.
2243 * insetgraphics.[Ch]: make use of the new GraphicInset.
2245 2003-06-03 John Levon <levon@movementarian.org>
2248 * insetbibitem.[Ch]:
2251 * insetcommand.[Ch]:
2255 * insetexternal.[Ch]:
2259 * insetgraphics.[Ch]:
2261 * insetinclude.[Ch]:
2264 * insetlatexaccent.[Ch]:
2265 * insetmarginal.[Ch]:
2266 * insetminipage.[Ch]:
2273 * insetspecialchar.[Ch]:
2274 * insettabular.[Ch]:
2276 * insetthereom.[Ch]:
2279 * insetwrap.[Ch]: make clone() not take a Buffer * arg
2281 * insetgraphics.[Ch]:
2282 * insetgraphicsParams.[Ch]: always store an absolute
2285 2003-06-02 André Pönitz <poenitz@gmx.net>
2289 * insetlatexaccent.C: remove duplicated call to metrics()
2291 2003-06-02 John Levon <levon@movementarian.org>
2293 * insettabular.C: fix resize of column width
2295 2003-06-02 John Levon <levon@movementarian.org>
2300 * insetparent.C: remove insetparent
2302 2003-06-02 André Pönitz <poenitz@gmx.net>
2309 * insetcollapsable.[Ch]:
2313 * insetgraphics.[Ch]:
2314 * insetinclude.[Ch]:
2315 * insetlatexaccent.[Ch]:
2316 * insetminipage.[Ch]:
2317 * insetnewline.[Ch]:
2320 * insetspecialchar.[Ch]:
2321 * insettabular.[Ch]:
2322 * insettext.[Ch]: unify first drawing phase
2325 * insetbase.h: move validate() to the base
2327 2003-05-31 Angus Leeming <leeming@lyx.org>
2329 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
2331 2003-05-30 André Pönitz <poenitz@gmx.net>
2336 * insetcaption.[Ch]:
2337 * insetcollapsable.[Ch]:
2340 * insetgraphics.[Ch]:
2341 * insetinclude.[Ch]:
2342 * insetlatexaccent.[Ch]:
2343 * insetnewline.[Ch]:
2346 * insetspecialchar.[Ch]:
2347 * insettabular.[Ch]:
2349 * updatableinset.[Ch]: unify second drawing phase
2351 2003-05-30 John Levon <levon@movementarian.org>
2353 * insetgraphics.C: fix a bformat
2355 2003-05-29 John Levon <levon@movementarian.org>
2357 * insettabular.C: remove unused bufferOwner()
2359 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2361 * insettext.C (lockInsetInInset): adjust
2362 (getLabelList): use const_iterator, adjust
2363 (getInsetFromID): use const_iterator, adjust
2364 (addPreview): use const_iterator, adjust
2366 * insetwrap.C (clone): remove const_cast
2368 * insetnote.C (clone): remove const_cast
2370 * insetminipage.C (clone): remove const_cast
2372 * insetmarginal.C (clone): remove const_cast
2374 * insetfoot.C (clone): remove const_cast
2376 * insetfloat.C (clone): remove const_cast
2378 * insetert.C (clone): remove const_cast
2380 * delete commented same_id functions from a lot of files.
2382 2003-05-28 John Levon <levon@movementarian.org>
2388 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
2390 * insetminipage.C: fix metrics (bug 1144)
2392 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
2394 * insettext.C (saveLyXTextState): adjust
2395 (restoreLyXTextState): adjust
2398 (unlockInsetInInset): adjust
2399 (localDispatch): adjust
2400 (getLyXText): adjust
2402 * insettabular.C (insertAsciiString): adjust
2404 2003-05-27 André Pönitz <poenitz@gmx.net>
2407 * insetcollapsable.C:
2410 * insetlatexaccent.C:
2415 * insetspecialchar.C:
2417 * insettext.C: dim.w -> dim.wid
2419 2003-05-26 John Levon <levon@movementarian.org>
2421 * insettabular.C: avoid drawing all of a long table
2422 if it's not needed. A big speedup
2424 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
2426 * remove same_id from function signatures, adjust
2428 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2430 * insettext.C (InsetText): adjust
2432 (setParagraphData): separate same_id cases, adjust
2433 (appendParagraphs): adjust
2434 (appendParagraphs): adjust
2436 2003-05-23 André Pönitz <poenitz@gmx.net>
2438 * insetbutton.h: whitespace
2440 * insettabular.C: more compact code
2442 * updatableinset.C: remove const_cast
2445 2003-05-23 Angus Leeming <leeming@lyx.org>
2447 * insetexternal.C (write): check how many lines are output.
2448 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
2449 if the template has defined it.
2451 2003-05-23 Angus Leeming <leeming@lyx.org>
2453 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
2455 2003-05-23 Angus Leeming <leeming@lyx.org>
2457 * insetfoot.C (latex):
2458 * inseturl.C (latex): rename fragile as moving_arg.
2460 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2462 * inseterror.C (localDispatch): comment out unused var.
2464 2003-05-22 Angus Leeming <leeming@lyx.org>
2466 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
2467 passed through the LatexRunParams arg.
2469 2003-05-22 Angus Leeming <leeming@lyx.org>
2471 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
2472 through the LatexRunParams arg.
2474 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
2475 arg rather than through a global var.
2477 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2479 * insetspecialchar.C (dimension): use a string.
2481 2003-05-22 Angus Leeming <leeming@lyx.org>
2483 * insetbibtex.C (latex):
2484 * insetgraphics.C (latex):
2485 * insetinclude.C (latex): extract the buffer's 'nice'ness from
2486 runparams rather than from the buffer itself.
2488 2003-05-22 Angus Leeming <leeming@lyx.org>
2490 * inset*.[Ch] (latex):
2491 passed a LatexRunParams parameter.
2493 * insetgraphics.C (latex): actually use it ;-)
2495 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
2497 * insetfloat.C (addToToc): trivial compile fix
2499 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
2501 * insettext.[Ch] (paragraph): delete unused function
2503 * insetfloat.C (addToToc): parlist simplfication
2505 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2507 * insetspace.[Ch]: added (new space insets)
2509 * inset.h: handle new space insets
2511 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
2513 * insetfloat.C (addToToc): adjust
2515 2003-05-21 André Pönitz <poenitz@gmx.net>
2517 * insettext.[Ch]: fix drawing bug introduced earlier
2519 2003-05-19 André Pönitz <poenitz@gmx.net>
2521 * insetspecialchar.C: fix bug introduced yesterday
2523 2003-05-19 André Pönitz <poenitz@gmx.net>
2527 * insetcollapsable.[Ch]:
2531 * insetgraphics.[Ch]:
2532 * insetgraphicsParams.[Ch]:
2533 * insetlatexaccent.[Ch]:
2534 * insetminipage.[Ch]:
2535 * insetnewline.[Ch]:
2537 * insetspecialchar.[Ch]:
2538 * insettabular.[Ch]:
2539 * insettext.[Ch]: dimensions() instead of ascend/descend/width
2541 2003-05-19 André Pönitz <poenitz@gmx.net>
2544 * insettext.C: more insetenv
2546 2003-05-16 André Pönitz <poenitz@gmx.net>
2549 * insetminimpage.[Ch]:
2550 * insetcollapsable.[Ch]: fix #832
2552 2003-05-16 André Pönitz <poenitz@gmx.net>
2555 * insetbibitem.[Ch]:
2559 * insetcollapsable.[Ch]:
2560 * insetcommand.[Ch]:
2563 * insetexternal.[Ch]:
2564 * insetfloatlist.[Ch]:
2565 * insetgraphics.[Ch]:
2566 * insetinclude.[Ch]:
2569 * insetlatexaccent.[Ch]:
2572 * insettabular.[Ch]:
2576 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
2578 2003-05-13 André Pönitz <poenitz@gmx.net>
2581 * insetcollapsable.C:
2585 * insetwrap.C: tostr from own header
2597 * insetwrap.C: STRCONV
2600 2003-05-12 André Pönitz <poenitz@gmx.net>
2612 * insetwwrap.C: boost::format -> bformat all over the place
2614 2003-05-05 André Pönitz <poenitz@gmx.net>
2616 * insettext.h: add missing #include <map>
2618 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
2620 * insettext.C (InsetText): parlist cleanup
2623 (insetUnlock): ditto
2625 (lockInsetInInset): ditto
2629 (searchBackward): ditto
2630 (collapseParagraphs): ditto
2632 2003-05-06 John Levon <levon@movementarian.org>
2634 * insetcaption.C: don't cast wrap inset to InsetFloat
2637 * insetfloat.C: remove unneeded type() function
2639 2003-05-05 André Pönitz <poenitz@gmx.net>
2643 * insettabular.[Ch]:
2644 * insetcollapsable.[Ch]: remove unused function firstParagraph()
2645 replace getFirstParagraph() by getParagraphs()
2647 2003-05-03 John Levon <levon@movementarian.org>
2649 * insetcollapsable.h:
2650 * insetcollapsable.C:
2656 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
2657 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
2658 getCursor(). Remove explicit cursor hides.
2660 2003-05-02 André Pönitz <poenitz@gmx.net>
2662 * insettext.C: remove unneeded &*
2664 2003-04-30 John Levon <levon@movementarian.org>
2666 * insettabular.C: fix edit message
2668 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2670 * insettext.C (setFont): do not convert iterator -> pointer
2672 * insettabular.C (localDispatch): do not convert iterator -> pointer
2674 (tabularFeatures): ditto
2676 2003-04-29 André Pönitz <poenitz@gmx.net>
2678 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
2680 2003-04-28 André Pönitz <poenitz@gmx.net>
2682 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2685 2003-04-25 André Pönitz <poenitz@gmx.net>
2687 * insetenv.C: derive from InsetText instead of InsetCollapsable
2689 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
2691 * insetexternal.C (string2params): dont do anything if the string
2693 * insetgraphics.C (string2params): ditto
2694 * insetcommand.C (string2params): ditto
2695 * insetert.C (string2params): ditto
2696 * insetfloat.C (string2params): ditto
2697 * insetinclude.C (string2params): ditto
2698 * insetminipage.C (string2params): ditto
2699 * insettabular.C (string2params): ditto
2700 * insetwrap.C (string2params): ditto
2702 2003-04-24 André Pönitz <poenitz@gmx.net>
2704 * insetref.C: support for eqref
2706 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2708 * insetert.C (read): use ParagraphList::iterator.
2710 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
2712 * insetquotes.C (latex): comment some code and add warnings.
2714 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
2716 * insetexternal.C (localDispatch): added a missing DISPATCHED
2718 2003-04-12 John Levon <levon@movementarian.org>
2720 * insetwrap.C (addToToc): fix a crash, conversion
2721 from while to for loop forgot to remove the explicit
2724 2003-04-10 John Levon <levon@movementarian.org>
2726 * insettabular.C (tabularFeature): make sure
2727 to update the dialog when we change something
2730 (getStatus): don't disable some lfuns (bug 939)
2732 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
2734 * insettext.C (saveLyXTextState): adjust
2735 (localDispatch): adjust
2741 * insettabular.C (localDispatch): adjust
2743 (tabularFeatures): adjust
2745 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
2747 * insettabular.C (searchForward,searchBackward): fix bug 782
2749 2003-04-07 John Levon <levon@movementarian.org>
2752 * insettext.C: clear status message on inset exit
2754 2003-04-03 John Levon <levon@movementarian.org>
2756 * insetcommand.C: return dispatched on DIALOG_UPDATE
2758 2003-04-02 John Levon <levon@movementarian.org>
2760 * insettabular.C: tab lfuns renamed
2762 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
2764 * insettext.C (update): move towards ParagraphList
2765 (updateLocal): ditto
2767 (insetUnlock): ditto
2769 (lockInsetInInset): ditto
2770 (updateInsetInInset): ditto
2771 (localDispatch): ditto
2774 (resizeLyXText): ditto
2775 (searchBackward): ditto
2776 (collapseParagraphs): ditto
2779 * insetwrap.C (InsetWrap): adjust
2780 (addToToc): adjust and rewrite loop
2782 * insettext.[Ch] (paragraph): delete function
2784 * insettabular.C (moveNextCell): adjust
2785 (movePrevCell): adjust
2786 (insertAsciiString): adjust
2788 * insetfloat.C (InsetFloat): adjust
2791 * insetert.C (InsetERT): adjust
2792 (write): adjust, and rewrite loop
2793 (latex): adjust, and rewrite loop
2794 (linuxdoc): adjust, and rewrite loop
2795 (docbook): adjust, and rewrite loop
2796 (localDispatch): adjust
2797 (get_new_label): adjust
2799 2003-04-01 John Levon <levon@movementarian.org>
2801 From Alfredo Braunstein
2804 * insetbutton.C: add localDispatch()
2806 * insetcommand.C: return DISPATCHED when edit() called
2808 * insettext.C: fix bug 967
2810 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2812 * insettext.C: adjust
2814 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2816 * insettext.C (draw): adjust
2817 (crow): return a RowList::iterator not a Row*
2819 * insetminipage.C (localDispatch): adjust
2821 * insetert.C (localDispatch): adjust
2823 2003-03-31 John Levon <levon@movementarian.org>
2826 * insetgraphicsParams.C: use_gui moved to lyx_gui
2828 2003-03-31 John Levon <levon@movementarian.org>
2830 * insettext.C: Alert fix
2832 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
2834 * insettext.C (ascent): adjust for RowList
2837 (getLyXText): adjust
2838 (toggleSelection): adjust
2840 * insetminipage.C (localDispatch): adjust for RowList
2842 * insetert.C (localDispatch): adjust for RowList
2843 (getMaxWidth): adjust for RowList
2845 2003-03-29 John Levon <levon@movementarian.org>
2847 * insetert.C: Alert cleanup
2849 2003-03-29 John Levon <levon@movementarian.org>
2851 * insettabular.C: Alert fix
2853 2003-03-28 John Levon <levon@movementarian.org>
2855 * insetfloat.C: reset label on INSET_MODIFY
2857 2003-03-28 John Levon <levon@movementarian.org>
2859 * insetgraphicsParams.C: read subcaptionText as a whole line
2862 2003-03-28 John Levon <levon@movementarian.org>
2864 * insettext.C: remove unused prototypes
2866 2003-03-25 Angus Leeming <leeming@lyx.org>
2868 * insetbibitem.C (localDispatch): repaint the view after modifying
2869 a bibitem inset in case the maximum InsetBibitem width has changed.
2871 2003-03-25 John Levon <levon@movementarian.org>
2874 * insettabular.C: LyXText renamings
2876 2003-03-24 John Levon <levon@movementarian.org>
2878 * insettext.C: remove some dead code. Fix bug 972 and
2879 related by posting a repaint in updateLocal(), and making
2880 the SEL functions set SELECTION.
2882 2003-03-22 John Levon <levon@movementarian.org>
2885 * inset.C: remove no-longer-needed topx_set
2887 * insetcollapsable.h:
2888 * insetcollapsable.C: remove dead code
2891 * insetert.C: rebreak the rows when a possible
2892 change in size is made, and reset the cursor
2895 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
2897 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
2898 topx_set. Fix drawing errors for clearInset(). Remove
2899 some unnecessary uses of topx, which should die.
2901 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
2902 is no longer needed. Replace it with an ugly hack.
2904 2003-03-20 John Levon <levon@movementarian.org>
2907 * insetcollapsable.h:
2908 * insetcollapsable.C:
2916 * insettext.C: remove spurious font parameter
2917 from update(). Fix drawing of ERT insets inside
2918 insets (bug 966). Remove unused mark_dirty from
2919 tabular's updateLocal()
2921 2003-03-19 John Levon <levon@movementarian.org>
2930 * insetwrap.C: remove unused getter/setters
2932 2003-03-19 John Levon <levon@movementarian.org>
2934 * several files: bv->updateInset() doesn't take
2935 a bool mark_dirty any more
2937 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2939 * adjust for BufferView* arg removal from lyxtext.
2941 2003-03-17 John Levon <levon@movementarian.org>
2943 * most files: remove the "cleared" parameter
2944 to draw in favour of always clearing. Associated
2947 2003-03-16 John Levon <levon@movementarian.org>
2949 * insettext.C: remove unused s.refresh
2951 2003-03-13 Angus Leeming <leeming@lyx.org>
2953 * insettext.C (edit): replace Dialogs::updateParagraph with
2954 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
2956 2003-03-13 André Pönitz <poenitz@gmx.net>
2958 * Makefile.am: insert insetenv
2960 * insethenv.[Ch]: new files, currently inactive
2962 2003-03-12 John Levon <levon@movementarian.org>
2972 * insettext.C: use new insetnewline
2974 2003-03-12 John Levon <levon@movementarian.org>
2976 * insettext.C: readToken became readParagraph
2978 2003-03-12 John Levon <levon@movementarian.org>
2980 * insettext.C: use parlist iterator for reading contents
2982 2003-03-12 John Levon <levon@movementarian.org>
2984 * insettext.C: name change to readToken()
2986 2003-03-11 André Pönitz <poenitz@gmx.net>
2988 * Makefile.am: insert insethfill
2990 * insethfill.[Ch]: new files
2992 2003-03-10 Angus Leeming <leeming@lyx.org>
2994 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
2996 (hideDialog): calls the new static Dialogs::hide() method.
2998 * insetbibitem.C (edit):
2999 * insetbibtex.C (edit):
3000 * insetcite.C (edit):
3001 * insetcommand.C (localDispatch):
3002 * inseterror.C (d-tor):
3003 * insetert.C (showInsetDialog):
3004 * insetexternal.C (localDispatch, edit):
3005 * insetfloat.C (localDispatch, showInsetDialog):
3006 * insetfloatlist.C (edit):
3007 * insetgraphics.C (localDispatch, edit):
3008 * insetinclude.C (localDispatch, edit):
3009 * insetindex.C (edit):
3010 * insetlabel.C (edit):
3011 * insetminipage.C (localDispatch, showInsetDialog):
3012 * insetref.C (edit):
3013 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
3014 resetPos, showInsetDialog, openLayoutDialog):
3015 * insettoc.C (edit):
3016 * inseturl.C (edit):
3017 * insetwrap.C (localDispatch, showInsetDialog):
3018 changes due to the changed MailInset interface.
3020 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
3022 * insetfloat.h: Set default placement to an empty string.
3024 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
3026 * insettext.C (latex): adjust call to latexParagraphs.
3028 2003-03-10 Angus Leeming <leeming@lyx.org>
3030 * mailinset.C: warn the user if the BufferView has not been cached.
3032 2003-03-10 Angus Leeming <leeming@lyx.org>
3034 * inset.h, insetbase.h: move cache() and view() into InsetBase.
3036 * insetcommand.h (inset):
3037 * insetert.h (inset):
3038 * insetexternal.h (inset):
3039 * insetfloat.h (inset):
3040 * insetgraphics.h (inset):
3041 * insetinclude.h (inset):
3042 * insetminipage.h (inset):
3043 * insettabular.h (inset):
3044 * insetwrap.h (inset):
3045 * mailinset.h (inset): return an InsetBase &, not an Inset &.
3047 2003-03-10 Angus Leeming <leeming@lyx.org>
3049 * insetcommand.C (string2params):
3050 * insetexternal.C (string2params):
3051 * insetfloat.C (string2params):
3052 * insetgraphics.C (string2params):
3053 * insetinclude.C (string2params):
3054 * insetminipage.C (string2params):
3055 * insettabular.C (string2params):
3056 * insetwrap.C (string2params): cure warning message about missing
3059 2003-03-09 Angus Leeming <leeming@lyx.org>
3061 * insettabular.[Ch]: define a new class InsetTabularMailer and use
3062 it to communicate with the frontend dialogs.
3064 * mailinset.C (hideDialog): only hide the dialog if it is showing the
3065 contents of this inset!
3067 2003-03-07 Angus Leeming <leeming@lyx.org>
3069 * inseterror.C (localDispatch): new method; calls edit() on
3072 2003-03-07 Angus Leeming <leeming@lyx.org>
3074 * insetbibitem.C (localDispatch):
3075 * insetbibtex.C (localDispatch):
3076 * insetlabel.C (localDispatch):
3077 rewrite as a switch.
3079 2003-03-07 Angus Leeming <leeming@lyx.org>
3081 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
3082 it to communicate with the frontend dialogs.
3084 2003-03-07 Angus Leeming <leeming@lyx.org>
3086 * insetexternal.C: remove operator== and operator!= for
3087 InsetExternal::Params. They were used only by the old controller
3090 2003-03-07 Angus Leeming <leeming@lyx.org>
3092 * insetcommand.C (localDispatch):
3093 * insetexternal.C (localDispatch):
3094 * insetfloat.C (localDispatch):
3095 * insetinclude.C (localDispatch):
3096 * insetminipage.C (localDispatch):
3097 * insetwrap.C (localDispatch):
3098 add LFUN_INSET_DIALOG_UPDATE to the switch.
3100 2003-03-07 Angus Leeming <leeming@lyx.org>
3102 * insetcommand.C (string2params):
3103 * insetexternal.C (string2params):
3104 * insetfloat.C (string2params):
3105 * insetinclude.C (string2params):
3106 * insetwrap.C (string2params): use LyXLeX more.
3109 * insetexternal.[Ch]:
3111 * insetinclude.[Ch]:
3112 * insetwrap.[Ch]: change Mailer::name_ to be static.
3114 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
3115 it to communicate with the frontend dialogs.
3117 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
3120 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
3122 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3124 * insettext.C (updateLocal): un-const function
3125 (updateLocal): adjust
3126 (collapseParagraphs): un-const function
3127 (collapseParagraphs): adjust
3129 2003-03-05 Angus Leeming <leeming@lyx.org>
3131 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
3132 it to communicate with the frontend dialogs.
3134 2003-03-05 Angus Leeming <leeming@lyx.org>
3136 * insetcollapsable.C (draw): cache the BufferView.
3138 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
3139 it to communicate with the frontend dialogs.
3141 2003-03-05 Angus Leeming <leeming@lyx.org>
3143 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
3146 2003-03-05 Angus Leeming <leeming@lyx.org>
3148 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
3150 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
3151 it to communicate with the frontend dialogs.
3153 2003-03-05 Angus Leeming <leeming@lyx.org>
3155 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
3156 it to communicate with the frontend dialogs.
3158 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3160 * insettext.C (collapseParagraphs): adjust
3161 (appendParagraphs): make it take a Buffer* instead of a
3162 BufferParams& as arg.
3163 (appendParagraphs): adjust
3165 2003-03-04 Angus Leeming <leeming@lyx.org>
3167 * insetbibitem.C (localDispatch):
3168 * insetbibtex.C (localDispatch):
3169 * insetcommand.C (localDispatch):
3170 * insetert.C (localDispatch):
3171 * insetlabel.C (localDispatch):
3172 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
3174 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3176 * insettext.C (latex): adjust for ParagraphList::iterator
3178 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3180 * insetbutton.C (view): adjust for boost 1.30.0
3181 * insetcollapsable.C (view): ditto
3182 * insetgraphics.C (statusChanged): ditto
3184 * insettext.h: move paragraphs to be public.
3186 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3188 * insetnote.[Ch] (InsetNote): remove unused constructor
3190 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
3192 * insetgraphics.C: added include "format.h"
3194 2003-02-27 Angus Leeming <leeming@lyx.org>
3196 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
3199 2003-02-27 Angus Leeming <leeming@lyx.org>
3201 * insetbibitem.C (localDispatch):
3202 * insetbibtex.C (localDispatch):
3205 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
3207 2003-02-26 Angus Leeming <leeming@lyx.org>
3209 * insetbibitem.[Ch] (localDispatch):
3210 * insetbibtex.[Ch] (localDispatch):
3211 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
3213 * insetcommand.C (localDispatch):
3214 act only on receipt of LFUN_XYZ_APPLY.
3216 * insetert.C (localDispatch): reformat.
3217 add LFUN_XYZ_APPLY to the switch.
3219 2003-02-26 John Levon <levon@movementarian.org>
3221 * insettext.C: use RowPainter
3223 * inset.h: make helpers take const *
3225 2003-02-26 Angus Leeming <leeming@lyx.org>
3227 * insetcommand.[Ch] (localDispatch): new method.
3229 2003-02-26 Angus Leeming <leeming@lyx.org>
3231 * insetinclude.C (draw): cache the BufferView* using cache not
3232 PreviewImpl::setView
3234 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
3236 * insetgraphics.C (draw)
3237 * insetinclude.C (draw): Eliminate also the other argument (owner
3238 inset inset) in the call to PreviewImage::image
3240 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
3242 * insetgraphics.C (draw)
3243 * insetinclude.C (draw): Eliminate Buferview argument in call to
3246 2003-02-25 John Levon <levon@movementarian.org>
3248 * insetgraphicsParams.h:
3249 * insetgraphics.C: don't start a load process if
3250 the inset is set to NoDisplay (bug #920)
3252 2003-02-22 John Levon <levon@movementarian.org>
3255 * insetwrap.C: TocItem changed API (bug 913)
3257 2003-02-21 Angus Leeming <leeming@lyx.org>
3259 * insetcollapsable.[Ch] (cache, edit):
3260 * insetbutton.[Ch] (cache, edit): new methods to cache the
3261 BufferView in the draw method.
3263 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
3264 simplify comunication between InsetCommand-derived classes and
3267 * insetbibitem.[Ch]:
3271 * insetfloatlist.[Ch]:
3275 * inseturl.[Ch]: small changes to reflect the new interface to the
3278 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
3279 other, similar classes.
3281 * Makefile.am: add new files.
3283 2003-02-21 Angus Leeming <leeming@lyx.org>
3285 * updatableinset.h (setView, view): remove.
3286 * inset.h (view, cache): to be replaced by these.
3288 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
3291 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
3294 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
3296 2003-02-21 Allan Rae <rae@lyx.org>
3298 * insetinclude.C (loadIfNeeded): ensure loading also works when
3299 child document is under version control.
3301 2003-02-17 André Pönitz <poenitz@gmx.net>
3303 * insetbib.[Ch]: Adjust access to bibkeys
3305 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3307 * insetquotes.C (dispString): remove use of acute accent for "'"
3310 2003-02-14 John Levon <levon@movementarian.org>
3312 * insettabular.C: changed method names in tabular.C
3314 2003-02-14 John Levon <levon@movementarian.org>
3318 * insetcollapsable.h:
3319 * insetcollapsable.C:
3323 * insettext.C: remove unused getParFromID()
3325 2003-02-13 John Levon <levon@movementarian.org>
3328 * insettext.C: remove unused beginningofMainBody()
3330 2003-02-08 John Levon <levon@movementarian.org>
3334 * insetcollapsable.h:
3335 * insetcollapsable.C:
3340 add nextChange(). Make allowSpellcheck() const. Add markErased().
3342 * insetert.C: ignore deleted text
3344 * insettabular.C: make sure to keep change tracking working
3347 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
3352 * insettext.C: Use error messages with identical spelling and punctuation
3354 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
3356 * insetgraphics.C (draw, width): Fix spacing around graphics inset
3358 2002-12-17 Juergen Vigna <jug@lyx.org>
3360 * insettext.C (localDispatch): hopefully fixed cursor up down
3361 movement on leaving other insets.
3363 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
3365 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
3368 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3370 * insetgraphics.C (prepareFile): do not remove the extension of
3371 the file name if it is not the default extension for the given
3372 format (that is, in latex output, remove extension from foo.eps,
3373 but not from foo.epsi)
3375 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
3377 * insettext.C (lfunMouseRelease): hackish solution to the "double
3380 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3382 * insetfloat.C (addToToc): use the floats name not its type
3383 * insetwrap.C (addToToc): ditto
3385 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3387 * insetnote.C (init): make label font smaller
3389 2002-12-04 John Levon <levon@movementarian.org>
3391 * insetinclude.C: ressurect setting of command name
3393 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3395 * insetquotes.C (dispString): disambiguate insert call
3397 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3399 * several files: ws changes
3401 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3403 * insetquotes.C (dispString): use string::insert for prepending a
3406 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3408 * insetparent.C (getScreenLabel): use boost::format
3410 * insetgraphics.C (prepareFile): use boost::format
3413 * insetfloatlist.C (latex): use boost::format
3415 * insetcaption.C (draw): use boost::format
3417 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
3419 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
3422 2002-11-20 Juergen Vigna <jug@sad.it>
3424 * insettabular.C (resetPos): temporary fix for endless loop in
3425 this function on a redraw.
3427 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
3429 * insettabular.C (copySelection): STRCONV
3431 * insetinclude.C (uniqueID): STRCONV
3432 (latexString): ditto
3434 * insetgraphics.C: put VersionNumber inside anon namespace
3435 (createLatexOptions): STRCONV
3437 * insetcommandparams.C: include config.h
3439 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
3441 * insetgraphicsParams.C (Write): use lyx::float_equal.
3442 Write height data correctly.
3443 (Read): zero scale when reading height data.
3445 2002-10-30 John Levon <levon@movementarian.org>
3447 * insetfloat.C (addToTOC): recursively traverse all
3448 contents looking for captions (fix #568)
3450 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3452 * insetexternal.C (doSubstitution): do not try to replace
3453 environment variables, this is done when executing the command
3455 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3457 * insetexternal.C (doSubstitution): change order of substitution
3458 to work around ReplaceEnvironmentPath brokenness
3460 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
3462 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
3464 * insetgraphicsParams.C (init, Write): associated changes
3465 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
3466 InsetGraphicsParams::scale.
3468 2002-10-21 John Levon <levon@movementarian.org>
3470 * inset.h: remove unused DISPATCH_RESULT
3472 * insettext.C: sgml open/close tag now in sgml namespace
3474 2002-10-21 Angus Leeming <leeming@lyx.org>
3476 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
3477 file path subdir/fig.eps when pasting it into a buffer in a different
3480 2002-10-16 John Levon <levon@movementarian.org>
3482 * insetspecialchar.C: remove \\protected_separator parsing
3484 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3486 * insetquote.C: fix LaTeX output of quotation marks.
3488 2002-10-14 Juergen Vigna <jug@sad.it>
3490 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
3491 Backspace functions which confused the Undo handling.
3493 2002-10-09 Angus Leeming <leeming@lyx.org>
3495 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
3496 BufferView::dispatch that turns off this optimisation when a new inset
3499 * insetcite.C (getNatbibLabel): correct logic of when and when not to
3500 reload the BibTeX keys.
3502 2002-10-11 André Pönitz <poenitz@gmx.net>
3504 * insettext.h: handle LFUN_PRIOR/NEXT
3506 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3508 * insetfloat.C: fix bug with float settings
3509 (document default != float default).
3511 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
3513 * insetwrap.C (addToToc): New method.
3514 (InsetWrap): Set layout to caption.
3516 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
3518 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
3520 2002-09-16 John Levon <levon@movementarian.org>
3522 * insettabular.h: hasSelection() needs to be public
3524 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
3526 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3528 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3530 * insetgraphicsParams.C: use empty string as default for rotateOrigin
3532 2002-09-11 André Pönitz <poenitz@gmx.net>
3534 * insettabular.C: implement LFUN_WORDSEL
3536 2002-09-10 John Levon <levon@movementarian.org>
3538 * insetinclude.h: remove unused param
3540 2002-09-09 John Levon <levon@movementarian.org>
3543 * insetinclude.C: remove noload, default to input
3545 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
3547 * insetgraphics.C: disfuscated use of ']' in built output string.
3549 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3551 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
3553 2002-08-29 Juergen Vigna <jug@sad.it>
3555 * insettabular.C (lfunMousePress): Pay attention where you set
3556 the x/y values as they depend on which inset in the tabular is
3557 actually locked. So you surely have to reset them if you (un)lock
3560 2002-08-29 André Pönitz <poenitz@gmx.net>
3562 * insetfootlike.h: rename include guard to ALL CAPS
3564 * insettext.C: swap object and first parameter for checkInsetHit calls
3565 as this functions has moved from BufferView to LyXText
3568 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3570 * insetgraphicsParams.C: remove local displayTranslator and use
3571 the one from graphics/GraphicsTypes.h.
3573 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3575 * insetfloat.C (wide): add BufferParams parameter
3577 * insetfloatlist.C (read):
3580 * insetfloat.C (latex):
3582 * insetcaption.C (draw): use LyXTextClass::floats()
3584 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
3586 * insetoptarg.h: add std:: qualifier.
3588 2002-08-26 Juergen Vigna <jug@sad.it>
3590 * insettext.C (localDispatch): ditto.
3592 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
3594 2002-08-25 John Levon <levon@movementarian.org>
3596 * inseturl.C: elide long URLs (bug 404)
3598 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
3600 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
3601 remove "Format Version <version_no.>" string from inset header
3604 * insetgraphicsParams.[Ch]: Implement new graphics dialog
3606 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
3607 a member of "grfx::Params" anymore.
3609 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
3611 2002-08-24 John Levon <levon@movementarian.org>
3614 * insetoptarg.C: ws, pedantry ...
3616 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
3618 * insettext.C (collapseParagraphs): pasteParagraph now in global
3620 (appendParagraphs): ditto
3622 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
3624 * insetcite.C (latex): Remove spaces only after commmas.
3626 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3628 * insettext.C: remove NO_COMPABILITY stuff
3630 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3632 * insettext.C (edit): use ParagraphList iterators
3634 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
3635 (bibitemWidest): ditto
3637 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3639 * insettext.C: include <boost/bind.hpp>
3640 add using std::for_each
3641 (saveLyXTextState): use ParagraphsList::iterator
3642 (init): use for_each on paragraphlist iterators
3643 (InsetText): remove superflous setting cached_bview to 0
3644 (latex): reformat a bit
3645 (ascii): use paragraphlist iterators
3646 (validate): use for_each + boost bind
3647 (getLabelList): use paragraphlist iterators
3648 (deleteLyXText): use for_each + boost::bind
3649 (resizeLyXText): ditto
3650 (reinitLyXText): ditto
3651 (removeNewlines): use paragraphlist iterators
3652 (getParFromID): ditto
3653 (paragraph): use for_each + boost::bind
3654 (getInsetFromID): use paragraphlist iterators
3655 (getLabelList): typo fix
3657 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
3659 * insettext.C (read): assign tmp to paragraphs after return from
3660 call to parseSingleLyXformat2Token
3663 2002-08-13 Angus Leeming <leeming@lyx.org>
3682 changes due to the changed LyXView interface that now returns references
3683 to member variables not pointers.
3685 2002-08-13 Angus Leeming <leeming@lyx.org>
3688 * insetcollapsable.h:
3691 * insettext.h: forward-declare WordLangTuple
3692 (selectNextWordToSpellcheck) constify return type.
3695 * insetcollapsable.C:
3698 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
3700 2002-08-12 Angus Leeming <leeming@lyx.org>
3702 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
3704 2002-08-12 Juergen Vigna <jug@sad.it>
3706 * insetcollapsable.C (edit): ignore if entered when pressing mouse
3709 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
3711 * insetbib.C (bibitemMaxWidth): ParagraphList changes
3712 (bibitemWidest): ditto
3713 * insettext.[Ch]: ditto
3715 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
3717 * insettext.C, insetert.C: use Paragraph::empty where appropriate
3719 2002-08-09 Angus Leeming <leeming@lyx.org>
3721 * insetinclude.C (latexString): remove fudge now that I've found out
3722 how to enable LaTeX to find the file using input@path.
3724 2002-08-09 John Levon <levon@movementarian.org>
3727 * insettext.C: remove unused xpos
3729 2002-08-07 Juergen Vigna <jug@lyx.org>
3731 * insettabular.C (localDispatch): make delete not put the stuff
3732 in the clipboard only do this on a cut operation.
3734 * insettext.C (localDispatch): make delete and backspace not put
3735 selected stuff to the clipboard.
3737 2002-08-07 André Pönitz <poenitz@gmx.net>
3740 * insetcollapsable.[Ch]:
3744 * insettabular.[Ch]:
3745 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
3747 2002-08-06 John Levon <levon@movementarian.org>
3751 * insetcollapsable.h:
3752 * insetcollapsable.C:
3758 * insettext.C: use WordLangTuple for spellcheck
3760 2002-08-06 Angus Leeming <leeming@lyx.org>
3762 * insetinclude.C: add a monitor to the previewed image, so that the
3763 image is refreshed if the \input-ed file changes.
3765 2002-08-04 John Levon <levon@movementarian.org>
3768 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
3770 2002-08-02 Angus Leeming <leeming@lyx.org>
3772 * insetcommandparams.[Ch] (preview): new methods returning and setting
3773 a new bool preview_ flag.
3774 (read): read this flag.
3775 (operator==): add flag to check.
3777 * insetinclude.C (write): output new preview() flag.
3778 (previewWanted): use this flag.
3780 2002-08-02 Angus Leeming <leeming@lyx.org>
3782 * insetcollapsable.[Ch] (addPreview):
3783 * insettabular.[Ch] (addPreview):
3784 * insettext.[Ch] (addPreview): new methods. Can now generate previews
3785 for insets in insets.
3787 2002-08-02 Angus Leeming <leeming@lyx.org>
3789 * insetcite.C: fix typo.
3791 * insetgraphics.C: kill current_view and instead cache the BufferView
3794 * insetinclude.C: kill current_view and pass the BufferView to the
3795 PreviewedInset so that it can cache it.
3797 2002-08-01 Angus Leeming <leeming@lyx.org>
3799 * inset.h (generatePreview): renamed as addPreview.
3800 (generatePreview): new method. Allows code to be moved out of
3801 math_nestinset.C and into the new PreviewedInset class.
3803 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
3804 add previews to the inset when \input-ing LaTeX.
3806 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3808 * several files: strip,frontStrip -> trim,ltrim,rtrim
3810 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3812 * insetbib.C (latex): modify because of strip changes
3814 * insetnote.C (InsetNote): ditto
3816 2002-07-26 Juergen Vigna <jug@sad.it>
3818 * insettabular.C (searchForward): check for lastcell if we
3819 had a locking inset.
3821 2002-07-25 Juergen Vigna <jug@sad.it>
3823 * insettabular.C (insetMotionNotify): Don't update the screen
3824 if we didn't do nothing.
3825 (searchForward): last cell was not checked.
3827 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
3829 * insetfloat.C (read, write): Allow default placement
3830 (floatPlacement_ is empty).
3832 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3834 * insetminipage.h (noFontChange):
3835 * insettabular.h (noFontChange):
3836 * insetfootlike.h (noFontChange):
3837 * insetfloat.h (noFontChange): return true
3839 * inset.h (noFontChange): new method, defaulting to false
3841 2002-07-22 Herbert Voss <voss@lyx.org>
3843 * insetgraphicsParams.[Ch]: support size_type for old docs
3845 2002-07-22 Herbert Voss <voss@lyx.org>
3848 * insetgraphicsParams.[Ch]: change size_type to size_kind and
3851 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3853 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
3855 * insetlatexaccent.h: do not include "lyxlex.h"
3857 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
3860 * insetlatexaccent.C:
3864 * insetbib.C: #include "lyxlex.h"
3870 * insettext.C: use BufferParams::getLyXTextClass
3873 * insetfloat.C (addToToc): new method. Add to toclist the entries
3874 corresponding to Caption layouts
3875 (InsetFloat): when creating a new float, set the layout to "Caption"
3877 2002-07-21 Herbert Voss <voss@lyx.org>
3879 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
3880 image relevant part into graphics/GraphicsImgae.C
3882 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3884 * insettoc.C (ascii):
3885 * insetfloatlist.C (ascii): change to use the new Toc functions
3886 instead of stuff that was in Buffer
3888 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3890 * insettext.C (localDispatch): BufferView::Dispatch has been
3891 renamed to BufferView::dispatch
3893 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3895 * insetgraphicsParams.C (as_grfxParams): use the new
3896 keepLyXAspectRatio parameter. Note that this is an adaptation of a
3897 1.2.0 patch, and I do not really know how to adapt it to the new
3898 grfx::Cache world. Angus, please could you have a look?
3900 2002-05-01 Herbert Voss <voss@lyx.org>
3902 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
3904 2002-07-18 Angus Leeming <leeming@lyx.org>
3906 * insetgraphics.C: clean-up comments (from Herbert).
3907 add a new checksum variable to the cache. Use it in PrepareFile.
3908 (draw): start monitoring the file for a change.
3909 (prepareFile): re-arrange a little to avoid unnecessary steps.
3911 2002-07-17 Angus Leeming <leeming@lyx.org>
3913 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
3914 a method rather than to the signal directly.
3916 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
3918 * insettext.C: use view_state_changed, switchKeyMap
3920 2002-07-17 Herbert Voss <voss@perce.de>
3922 * insetgraphics.C (prepareFile): keep the extension when
3923 exporting to nice file
3925 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3927 * insetcite.C (getNatbibLabel):
3928 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
3930 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
3932 * insetgraphics.C: use ->isDrawable()
3934 2002-07-12 Angus Leeming <leeming@lyx.org>
3936 * insetgraphics.C: use the new smart loading capabilities of the image
3939 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
3941 * insettabular.C (edit): Move into correct cell when entering a
3944 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
3947 2002-07-05 Angus Leeming <leeming@lyx.org>
3949 * inset.h (generatePreview): new virtual method.
3951 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
3953 * insetcommandparams.[Ch] (operator=): move out of class
3954 (operator!): move out of class
3956 2002-07-04 André Pönitz <poenitz@gmx.net>
3958 * insetcommandparams.[Ch]: new files
3960 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
3962 2002-06-15 Herbert Voss <voss@perce.de>
3964 * insetgraphics.C (prepareFile): bugfix; return always
3965 files without extension
3967 2002-06-28 Angus Leeming <leeming@lyx.org>
3969 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
3970 rename asGParams -> as_grfxParams.
3972 * insetgraphics.C: reflect above change.
3974 2002-06-26 Angus Leeming <leeming@lyx.org>
3976 * insetgraphics.h: use boost::scoped_ptr in preference to
3979 2002-06-26 Angus Leeming <leeming@lyx.org>
3981 * insetgraphics.C: moved the image loading stuff into a new class
3982 grfx::Loader. Simplifies this file enormously.
3984 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
3986 * insetgraphicsParams.C: changes aassociated with moving
3987 grfx::DisplayType out of grfx::GParams.
3989 2002-06-26 André Pönitz <poenitz@gmx.net>
3991 * insetgraphics.C: use os::external_path where necesaary according to a
3992 patch from Claus Hentschel)
3994 2002-06-25 Angus Leeming <leeming@lyx.org>
3996 * insetgraphics.[Ch]: The inset now assumes the responsibility for
3997 generating a pixmap once the graphics file is loaded into memory.
3998 The current_view ugliness that was in grfx::ModifiedImage has been
3999 moved here now that grfx::ModifiedImage is no more.
4001 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4003 * insettext.C: layout as layout
4005 2002-05-28 André Pönitz <poenitz@gmx.net>
4007 * insetfloatlist.h: remove source of compiler warning
4009 * insetref.C: tiny whitespace
4011 2002-06-15 Herbert Voss <voss@perce.de>
4013 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
4014 and take always convert when no userdefined converter was
4016 (latex) small changes in the lyxerr output
4018 2002-06-15 LyX Development team <lyx@rilke>
4020 * inset*.[Ch] (docbook): Added new argument to take the pernicious
4021 mixed content. Small white spaces clean.
4023 2002-06-14 Angus Leeming <leeming@lyx.org>
4025 * inseetexternal.C: remove the using std::difftime declaration.
4027 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
4029 * insetquotes.C: change lyxfont::draw to font_metrics::draw
4031 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
4033 * insetquotes.C (draw): fix drawing of double quotes
4035 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4037 * insettabular.C: s/scrollCB/scrollDocView/
4039 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4041 * insettext.C: change of topCursorVisible()
4044 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
4047 * insettext.C: rename/change of LyXScreen
4049 2002-06-07 Angus Leeming <leeming@lyx.org>
4051 Fixes needed to compile with Compaq cxx 6.5.
4053 all c-library variables have been moved into namespace std.
4054 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
4056 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4058 * insetinclude.C (uniqueID):
4059 * insetgraphics.C (uniqueID): renamed from unique_id, since this
4060 conflicted with some AIX headers.
4062 2002-05-31 Juergen Vigna <jug@sad.it>
4064 * insetert.C (get_new_label): add '...' for multi-paragraph ert
4068 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
4070 * insetexternal.C (clone): fix () bug when using new
4071 (updateExternal): don't only look for difftime in global scope
4073 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
4075 * insettabular.C: add const
4077 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4079 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
4080 file name, in case there are weird characters like ',' in there.
4083 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4085 * switch from SigC signals to boost::signals.
4087 2002-05-28 André Pönitz <poenitz@gmx.net>
4089 * insets/insetgraphicsParams.[Ch]:
4090 put in inset related stuff from src/graphic
4092 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
4100 * insetcollapsable.C:
4101 * insetcollapsable.h:
4129 * inseturl.h: use mouse_state. Kill insetKeyPress
4131 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
4136 * insetcollapsable.C:
4139 * insetlatexaccent.C:
4141 * insetspecialchar.C:
4143 * insettext.C: name change for font metrics
4145 2002-05-24 Juergen Vigna <jug@sad.it>
4147 * insetgraphics.h: include inset.h first (for LString.h)
4149 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4151 * insettext.C: screen moved
4153 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4171 * inseturl.C: LyXView moved into frontends/
4173 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
4178 * insetcollapsable.C:
4182 * insetgraphicsParams.C:
4183 * insetlatexaccent.C:
4185 * insetspecialchar.C:
4187 * insettext.C: move Painter to frontends/
4189 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
4191 * insettabular.h: use more specific smart_ptr header.
4192 * insettext.h: ditto
4194 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
4197 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
4199 * insettext.C: clear selection on paste (bug 393)
4201 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
4203 * insettext.C (latex): Honor the moving_arg argument.
4205 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4207 * insetfoot.C (latex): if a footnote is in a title layout, then it
4208 is a \thanks. And then, its contents is a moving argument.
4210 2002-05-14 Juergen Vigna <jug@sad.it>
4212 * insetcollapsable.C (InsetCollapsable): forgot to initialize
4215 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
4217 * Insetcite.C (getNatbibLabel): don't disable natbib label support
4218 when using options "Full author list" or "Upper case".
4220 2002-05-14 Herbert Voss <voss@perce.de>
4222 * insetgraphics.C (prepareFile): allow files with same name
4224 (readFigInset): set the flags from old figinset in the right
4226 (findTargetFormat): more comments
4228 2002-05-14 Juergen Vigna <jug@sad.it>
4230 * insettext.C (edit): tell checkAndActivateInset() that we don't
4231 have a button press.
4232 (checkAndActivateInset): if button < 0 we don't have a button press
4233 on the inset and os we won't call edit on it if it's not a Highly
4234 editable inset (then we have to enter it).
4236 2002-05-13 Juergen Vigna <jug@sad.it>
4238 * insetcollapsable.C (insetButtonRelease): returned wrong return
4241 2002-05-09 Juergen Vigna <jug@sad.it>
4243 * insetcollapsable.C (edit): first_after_edit should only be
4244 set to true if we enter this inset and it was collapsed so we
4245 open it up. This is needed to reclose it after a search/replace
4246 or spellcheck function opened it and was negative.
4248 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
4250 * insetfloat.C (latex): Return correct value.
4252 2002-05-04 Herbert Voss <voss@perce.de>
4254 * InsetgraphicsParams.C (read): fix bug with WH
4256 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
4258 * insetfloat.C (latex): More sensible latex output
4259 (fix the problem with endfloat).
4261 2002-05-02 José Matos <jamatos@fep.up.pt>
4263 * insetgraphics.C (validate): acess params as everyone else.
4265 2002-05-03 Juergen Vigna <jug@sad.it>
4267 * insettabular.C (fitInsetCursor): recalculate the cursor position
4270 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
4272 * InsetgraphicsParams.[Ch]: whitespace.
4274 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
4276 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
4277 float type do not exist.
4279 2002-04-28 Herbert Voss <voss@perce.de>
4281 * insetgraphics.C (latex): fix bug with missing file-extension.
4282 LaTeX still allows a missing "eps" or "ps".
4284 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
4286 * insetfloat.C (c-tor, wide): translate the name of the float.
4288 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
4290 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
4291 when using natbib and make it work efficiently. Must emphasise that the
4292 real work is Herbert's.
4294 2002-04-23 Herbert Voss <voss@perce.de>
4296 * insetgraphic.C (prepareFile): fix bug with overwriting and
4297 deleting an existing *.eps-file in the doc-dir
4299 2002-04-23 Juergen Vigna <jug@sad.it>
4301 * insettabular.C (drawCellSelection): fix off by 1 error.
4303 2002-04-22 Juergen Vigna <jug@sad.it>
4305 * insettabular.C (setFont): rewoke full selection if it was asked,
4306 after we changed all we had to change.
4308 * insettext.C (insetUnlock): code was uninitialized in some situations.
4310 2002-04-19 Herbert Voss <voss@perce.de>
4312 * insetgraphic.C (prepareFile): return filename without
4313 extension if we only export without compiling
4315 2002-04-19 Juergen Vigna <jug@sad.it>
4317 * insettext.C (draw): call a fullRebreak on the row where we had a
4318 change and reset the cursor and selection-cursors.
4320 * insettabular.C (insetUnlock):
4321 (insetButtonPress): call an update before setting the_locking_inset = 0
4322 as otherwise we don't repaint!
4323 (update): reset the cursor position when we changed dimensions as
4324 otherwise our cursor may be on the wrong spot.
4326 2002-04-18 Juergen Vigna <jug@sad.it>
4328 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
4329 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
4330 redraw otherwise we won't redraw.
4332 * insettext.C (draw): fixed the setting of LyXText::first_y it was
4333 not really right before, but I only discovered this with the last
4334 changes to Page up/down.
4336 2002-04-17 Juergen Vigna <jug@sad.it>
4338 * insettext.C (checkAndActivateInset): simplified as we now have the
4339 edit(bv, bool) call.
4341 * insettext.h: changed behind variables to front variables to be
4342 equal to the one in the edit call (as it is for that they are used).
4344 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4346 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
4347 not output anything at all!
4349 2002-04-16 Juergen Vigna <jug@sad.it>
4351 * insettabular.C (insetButtonPress):
4352 (insetUnlock): call a redraw on unlocking the cell inset.
4354 * insettext.C (insetButtonPress): same as below.
4355 (lockInset): new function to set initial values when inset should
4357 (insetButtonPress): use above function.
4358 (insetUnlock): don't force a repaint only set the updateStatus. The
4359 outside world should repaint if it thinks it should be done!
4361 * insettabular.C (insetButtonPress): init values if not set as locked
4362 as we are locked if someone presses on us and don't call the edit()
4363 call of the InsetText to lock it do it as BufferView does it!
4365 * inset.h (insetInInsetY): make func const and return an int.
4368 * insetcollapsable.C: adapt the above changed function.
4370 2002-04-15 Juergen Vigna <jug@sad.it>
4372 * insettext.C (getCursorPos): return relative position as to be able
4373 to give them directly to the edit() call.
4374 (edit): we have to set also x_fix as it is not set inside the
4375 setCursorFromCoordinates call!
4376 (insetMotionNotify): ditto.
4378 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
4380 * insetbib.C (getKeys): strip leading '\t's from the line too.
4381 With thanks to Henry Pfister <hpfister@ucsd.edu>.
4383 2002-04-12 Juergen Vigna <jug@sad.it>
4385 * insettext.h: added cix() helper function and use it where appropriate
4387 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4389 * insetgraphics.C (prepareFile): fix bug when graphics is a
4392 2002-04-12 Juergen Vigna <jug@sad.it>
4394 * insettext.C (insertInset): remove unneeded code!
4395 (updateLocal): fitCursor() fixes.
4396 (collapseParagraphs): fix a possible problem when having a selection
4397 and collapsing the paragraphs.
4399 2002-04-08 Herbert Voss <voss@perce.de>
4401 * insetgraphic.C (write): write the rotating angle as
4402 a float as is. test only for != 0.0
4404 2002-04-11 Juergen Vigna <jug@sad.it>
4406 * insettext.C: new function ciy() and use it for setting inset_y.
4408 * insetert.C (draw): fix the x return for collapsed version.
4410 2002-04-07 Herbert Voss <voss@perce.de>
4412 * insetgraphic.C (readFigInset): fix bug with subcaption and
4415 2002-04-08 Herbert Voss <voss@lyx.org>
4417 * insetgraphicsparam.C: forgot special option and delete old
4420 2002-04-05 Juergen Vigna <jug@sad.it>
4422 * insettext.C (localDispatch): make a CURSOR update if we inserted
4425 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4427 * insetfloatlist.C (getScreenLabel):
4428 (latex): use Floating::listName
4429 (validate): new method
4431 2002-04-03 José Matos <jamatos@fep.up.pt>
4433 * insetlabel.C (docbook): the anchor is an empty element in docbook.
4435 * insetfoot.[Ch] (docbook): added forgotten method.
4437 2002-04-03 Juergen Vigna <jug@sad.it>
4439 * insettext.C (insetButtonPress): fix insetButtonPress events the same
4440 way as in Bufferview_pimpl.
4442 2002-04-03 Allan Rae <rae@lyx.org>
4444 * insetgraphics.C (latex): one % too many makes living on the bleeding
4445 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
4447 2002-03-28 Herbert Voss <voss@lyx.org>
4449 * insetgraphic.C (latex): simplify the code for the latex
4450 output when the file doesn't exist
4452 2002-03-29 Juergen Vigna <jug@sad.it>
4454 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
4457 * insettabular.C (edit): call fitCursor().
4459 * insettext.C (insetButtonPress): change behaviour of no_selection
4460 to the one in the BufferView selection_possible and fix the spurious
4461 selection bug with it.
4462 (localDispatch): revoke selection on BREAK... functions.
4464 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4466 * insetfloatlist.C (getScreenLabel): translate the GUI label.
4468 2002-03-28 Juergen Vigna <jug@sad.it>
4470 * insettabular.C (insetAllowed): return true as default value otherwise
4471 we're not able to insert insets inside paragraphs of an not locked
4474 2002-03-27 Herbert Voss <voss@lyx.org>
4476 * insetgraphicsparam.C: change c%, p% to col%, page%
4478 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4480 * insetspecialchar.C (isLineSeparator): disable the nice code to
4481 allow linebreaks after hyphenation and menu separators.
4483 2002-03-26 Herbert Voss <voss@lyx.org>
4485 * insetgraphics.C (figinsetRead): set the right lyxview
4487 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4489 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
4490 $\backslash$ and pass a "string const &" to the function.
4491 (prepareFile, latex): use Path rather than MakeAbsPath.
4493 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
4495 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
4496 proper fix to the graphics cache.
4497 (latex): "really" nice output if the file is not found ;-)
4499 2002-03-26 Juergen Vigna <jug@sad.it>
4501 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
4502 (collapseParagraphs): fixed inserting of separator ' '
4504 * insettabular.C (insertAsciiString): only check for buffer lenght
4505 not if we have \t or \n inside the buffer as if we don't have we only
4506 have 1 cell and that's it!
4508 * insetert.C (close): don't collapse if inlined.
4510 2002-03-25 Herbert Voss <voss@lyx.org>
4512 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
4513 graphics file does not exist.
4515 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
4517 * insetgraphics.C (prepareFile): ensure that the file has an absolute
4518 path when preparing export.
4520 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
4521 no longer MakeRelPath.
4523 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
4525 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
4526 Used to determine the absolute path to the graphics file in the
4527 graphics cache and only in the graphics cache.
4528 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
4529 make graphics file name absolute if it is stored as a relative path.
4531 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
4532 make graphics file name absolute if it is stored as a relative path.
4534 * insettext.C (edit): emit an updateParagraph signal on entering a text
4535 inset. Needs to be emitted when leaving the inset also.
4537 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
4539 * all files: ws cleanup
4541 * Makefile.am: remove ld -r stuff
4543 2002-03-21 Juergen Vigna <jug@sad.it>
4545 * insettext.C (appendParagraphs): new function added to append
4546 the paragraphs to this insets paragraphs.
4548 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
4550 * Makefile.am: special rules if partial linking
4552 2002-03-19 Juergen Vigna <jug@sad.it>
4554 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
4556 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
4558 * insetgraphics.C: Clean up Baruch's comments a little.
4559 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
4561 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
4564 * insettheorem.C: wrap warnings
4566 * insetgraphics.C: improve messages, move cached_status_
4567 setting to safer place
4569 2002-03-18 Juergen Vigna <jug@sad.it>
4571 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
4573 (localDispatch): ditto
4575 * insettext.C (edit): removed unneeded showCursor calls.
4576 (localDispatch): ditto.
4578 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4580 * insetgraphics.h: remove display() method.
4582 2002-03-11 Juergen Vigna <jug@sad.it>
4584 * insetgraphics.C (draw): hack to fix the redrawing bug.
4585 (draw): seems this fixes #268 (force redraw of row if we changed).
4587 * insettext.C (updateInsetInInset): fixed for updates in insets inside
4588 this inset text (don't know why I missed this earlier).
4590 2002-03-08 Juergen Vigna <jug@sad.it>
4592 * insettabular.C (updateLocal): do a FULL update if we're not locked
4593 and only a CELL update is asked.
4595 * insettext.C (updateInsetInInset): update insets inside inset also
4596 if it isn't inside the_locking_inset.
4598 * insettabular.C (updateInsetInInset): ditto.
4600 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4602 * insetexternal.C (doSubstitution): check whether we are using a
4603 temp dir for defining $$FPath
4605 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
4608 * insettext.C: remove #include "WorkArea.h".
4610 2002-03-06 Juergen Vigna <jug@sad.it>
4612 * insettext.C (draw): fixed frame redrawing.
4613 (clear): forgot to set the inset_owner of the paragraph.
4615 * insetert.C (status): pay attention the bv can be 0 here!
4616 (getMaxWidth): add the default leftMargin
4618 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4620 * insetert.C (getMaxWidth): make w unsigned int.
4622 2002-03-05 Juergen Vigna <jug@sad.it>
4624 * insetert.C (status): change behaviour of Inlined.
4625 (getMaxWidth): added for new inlined behaviour.
4627 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
4629 * insetnote.h (linuxdoc, docbook): add empty methods.
4630 * insetinclude.C (validate): fix a case where buffer->niceFile was used
4631 before being initialized.
4633 2002-03-05 Juergen Vigna <jug@sad.it>
4635 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
4636 only that one in the inset. Should be enough.
4637 (updateLocal): set the selection cursor always if we don't have a
4638 selection to be sure it's set!
4640 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
4642 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4644 * insettext.C (clear): a gross hack to set layout on a newly
4647 2002-03-04 Juergen Vigna <jug@sad.it>
4649 * insettabular.C (localDispatch): inserted handling of
4650 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
4651 (insertAsciiString): new helper function.
4653 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
4655 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
4658 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4660 * insettext.C (InsetText): initalize newly created par with
4661 default layout. add bufferparams parameter
4664 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
4665 * insetcollapsable.[Ch] (InsetCollapsable): ditto
4666 * insetert.[Ch] (InsetERT): ditto
4667 * insetfloat.[Ch] (InsetFloat): ditto
4668 * insetfoot.[Ch] (InsetFoot): ditto
4669 * insetfootlike.[Ch] (InsetFootLike): ditto
4670 * insetmarginal.[Ch] (InsetMarginal): ditto
4671 * insetminipage.[Ch] (InsetMinipage): ditto
4672 * insetnote.[Ch] (InsetNote): ditto
4673 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
4675 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
4677 * insettext.C: layout as string
4679 * insetinclude.C: layout as string
4681 * insetert.C: layout as string
4683 * insetbib.C: layout as string
4685 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4688 * insettabular.C: remove #include "lyx_gui_misc.h".
4690 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
4695 * inset.h: remove figinset, yahoo !
4697 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
4699 * insetgraphics.C (c-tors): initialise parent classes explicitly in
4700 copy c-tor and initialise member variables in the correct order.
4702 2002-02-28 Juergen Vigna <jug@sad.it>
4704 * insettabular.C (localDispatch): clear selection on PgUp/Down.
4706 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4708 * inset.h: ... and add a better one here.
4710 * insetcommand.C (insetButtonRelease): remove that one which was a
4713 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4715 * insetcommand.C (insetButtonRelease): ... and move it here.
4717 * inseturl.h: remove insetButtonRelease from there...
4719 2002-02-26 Juergen Vigna <jug@sad.it>
4721 * inseturl.h: Added a insetButtonRelease call returning true as
4724 * insetlabel.C (edit): Fixed wrong update handling after change I
4725 leave in the wrong code for the one who wrote it to remove and have
4726 a look what he did wrong.
4728 * insettabular.C (localDispatch): force a SELECTION update if we
4729 had a selection and we passed the event down to the inset (fix #213)
4730 (localDispatch): handle font changing stuff when we have a cell
4731 selection so that the selection is not rewoked. I don't really like
4732 this fix, but it's the only way I see to do it right now.
4734 2002-02-22 Juergen Vigna <jug@sad.it>
4736 * insettext.C (insetUnlock): set the cursor to the second paragraph
4737 if available and if the first one is empty (fix #191).
4739 2002-02-20 Juergen Vigna <jug@sad.it>
4741 * insettext.C (getDrawFont): implemented this function to call the
4742 one of the owner if present as the owner normally knows what to do
4745 * insetert.C: implement getDrawFont() function and comment out all
4746 the crap for setting a special latex font inside this inset.
4747 (InsetERT): added a Lanugage parameter to this constructor.
4749 * inset.h: added function getDrawFont(LyXFont & font) to be able to
4750 change the font for being drawn on screen (used only in InsetERT for
4753 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
4754 and also above (was missing).
4755 (updateLocal): don't remove the cell selection if we have one this
4756 should be done where we really want to remove it.
4758 2002-02-20 José Matos <jamatos@fep.up.pt>
4760 * insetinclude.h: include_label made string const.
4762 * insetinclude.C (InsetInclude): moved include_label initialization.
4765 (validate): fix support for temporary directory, for docbook and
4768 * insetgraphics.h : new private member, graphic_label, that holds
4769 the entity name that defines the graphics location (SGML).
4771 * insetgraphics.C (unique_id): new function to give a unique label
4774 (validate): the file locatation is given by an entity reference.
4776 2002-02-18 Herbert Voss <voss@lyx.org>
4778 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
4780 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
4782 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
4783 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
4785 2002-02-18 José Matos <jamatos@fep.up.pt>
4787 * insetinclude.C (validate): some code only applies to latex buffers,
4788 it was made conditional.
4790 2002-02-12 Herbert Voss <voss@lyx.org>
4792 * insetgraphics.C: (prepareFile) do not check at this time
4793 if the file is present.
4795 2002-02-12 Herbert Voss <voss@lyx.org>
4797 * insetgraphics.C: latex(), return the correct newlines
4799 2002-02-13 José Matos <jamatos@fep.up.pt>
4801 * inseturl.C (docbook): escape & in url.
4803 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4805 * insetspecialchar.C (isLineSeparator): line breaking is allowed
4806 after HYPHENATION and MENU_SEPARATOR
4808 * inset.h (isLineSeparator): new method, returns false by default.
4810 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4812 * insetert.C (status): do not update the text inset, but the ERT
4815 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
4817 * insetnote.C: use notebg for background
4819 2002-02-08 Herbert Voss <voss@lyx.org>
4822 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
4823 prevent LyX from unzipping when this should be handled
4824 by latex vis the graphic.cfg.
4827 2002-02-08 Herbert Voss <voss@lyx.org>
4829 * insetgraphic.C: prepareFile(): fix bug when file doesn't
4830 exists, than return filename with extension
4832 2002-02-06 Herbert Voss <voss@lyx.org>
4834 * insetgraphic.C: prepareFile(): don't convert the file, when
4835 it's not viewed in LyX. Saves a lot of time when opening a
4838 2002-02-05 Herbert Voss <voss@lyx.org>
4841 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
4842 and adding a rotate bool similiar to subcaption
4844 2002-02-04 Herbert Voss <voss@lyx.org>
4847 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
4848 similiar view to the LaTeX one. Get zipped files work.
4850 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4852 * insetgraphicsParams.C (init): set display to DEFAULT.
4853 No longer #include "lyxrc.h".
4855 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
4857 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
4858 for now (so that the code compiles).
4860 2002-02-02 Herbert Voss <voss@lyx.org>
4862 * insetgraphic.C: delete inVariant() and some minor changes
4863 * insetgraphicsParams.[C]:
4865 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
4867 * insetgraphics.C (updateInset): if params.display == DEFAULT,
4868 interogate lyxrc.display_graphics before diaplaying the graphic.
4870 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
4871 InsetGraphicsParams::DisplayType.
4873 2002-01-31 Herbert Voss <voss@lyx.org>
4875 * insetgraphic.C: (readfigInset) set display to pref-default
4877 2002-01-30 Herbert Voss <voss@lyx.org>
4879 * insetgraphic.C: get the filetyp from it's contents
4880 * insetgraphicparams.C: add token scale and lyxrc.display when
4881 creating a new inset
4883 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
4885 * figinset.C: added using std::ios directive.
4887 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4889 * figinset.C (runqueue): open translation file in binary mode (for
4892 2002-01-27 Herbert Voss <voss@lyx.org>
4894 * insetgraphic.[Ch]: mostly newritten to support graphicx with
4895 all options and to be sure that the old figinsets are correct
4897 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
4898 structure and to support all lengths as LyXLength. The Parameter
4899 structure changed again, but reading of "old" 1.2 graphic insets
4902 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
4904 * insetert.h (forceDefaultParagraphs): Added
4906 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4908 * insettabular.C (getMaxWidth):
4909 (forceDefaultParagraphs): use Tabular::GetCellFromInset
4911 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4913 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
4914 of LyXLength::inPixels
4916 * inset.C (latexTextWidth):
4917 * insetminipage.C (latexTextWidth): new method, which implements
4918 the equivalent of the LaTeX macro \textwidth
4920 * insetminipage.C (getMaxWidth): use latexTextWidth
4922 2002-01-18 Juergen Vigna <jug@sad.it>
4924 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
4926 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4928 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
4930 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
4933 2002-01-17 Juergen Vigna <jug@sad.it>
4935 * insettabular.C (lockInsetInInset): same change as in insettext.
4937 * insettext.C (draw): width() function was called without setting
4938 the right top_x which could lead to wrong insetWidth setting!
4939 (lockInsetInInset): call edit instead of calling lockInset if we
4940 have to lock an inset inside!
4941 (edit): we have to also tell the inset that we have to redraw the
4942 frame on an edit call if this inset draws a frame only if locked.
4944 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4946 * insetbib.C (getFiles): uncomment Path variable.
4948 2002-01-16 Juergen Vigna <jug@sad.it>
4950 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
4953 2002-01-16 Allan Rae <rae@lyx.org>
4955 * insetinclude.C (docbook): someone forgot a ";"
4957 2002-01-16 José Matos <jamatos@fep.up.pt>
4959 * figinset.C (docbook): removed a old place holder "@".
4960 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
4961 * insetinclude.C (linuxdoc): if include is verbatim, then export the
4962 ascii text version, clearly guarded inside a CDATA section.
4963 (docbook): in docbook 4, inlinegraphics is empty.
4964 * insettabular.C (linuxdoc): export the ascii version of the table
4965 inside a CDATA section.
4967 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4969 * insetparent.C (InsetParent):
4970 * insetgraphicsParams.C (Write):
4972 * insetgraphics.C (prepareFile):
4975 * insetexternal.C (executeCommand):
4976 (doSubstitution): use Buffer::filePath
4978 * insetbib.C (getFiles): add a #warning for Angus
4980 * insetgraphics.C: Add a remark about how filenames should be
4981 considered to be relative to buffer (but absolute is still allowed)
4982 (draw): do not try to get status if lyxrc.use_gui is false
4984 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4987 * insetcollapsable.[Ch]:
4988 * insettabular.[Ch] (searchForward, searchBackward): change the
4989 bool const & params to bool.
4991 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
4992 to avoid the name clash with InsetCollapsable's methods of the same
4993 names but different functionality.
4995 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
4997 * insettext.C (ascii): use lyx::count rather than countChar.
4999 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
5001 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
5003 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5005 * insetgraphics.C (updateInset): do not try to render image if
5006 lyxrc.use_gui is false (bug #104)
5008 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
5009 if file does not exist
5011 * figinset.C (browseFile): add shortcuts to directory buttons
5013 * insettext.C (updateLocal): update menubar and toolbar here too.
5015 2002-01-13 Allan Rae <rae@lyx.org>
5017 * insettabular.C (InsetTabular): Both constructors now initialise
5018 all class variables.
5020 2002-01-11 Juergen Vigna <jug@sad.it>
5022 * insettext.C (insetButtonPress): set the_locking_inset to 0.
5024 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5026 * insettabular.C (getStatus): add forgotten brace around multiline
5029 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5031 * insetfloat.C (validate): require "float" instead of "floats".
5033 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
5035 * insettabular.C (getStatus): use FuncStatus
5037 2002-01-08 Juergen Vigna <jug@sad.it>
5039 * insettabular.C (insetButtonRelease): now this should work too
5042 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
5043 if the width is a percentage.
5045 * inset.h: added isChar() function and implemented this for
5046 insetspecialchar insetquotes and insetlatexaccent.
5047 added forceDefaultParagraphs() and implemented it for insettabular.
5049 2002-01-07 Juergen Vigna <jug@sad.it>
5051 * insettext.C (getLyXText): Fixed this function. An insert into the
5052 map is only done if we REALLY have a new BufferView.
5054 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
5056 * insettext.C: fix bug illustrated by attachment #37 of bug #59
5058 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
5060 * insetinclude.C: fix use of FileInfo
5062 2002-01-07 Juergen Vigna <jug@sad.it>
5064 * insettabular.C (draw): fixed clearing of cell around inset.
5066 2002-01-05 Juergen Vigna <jug@sad.it>
5068 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
5069 variables are updated.
5071 * insettabular.C (resetPos): set always the inset_y as it may be
5072 needed in another function.
5073 (searchBackward): don't draw while searching.
5075 2002-01-04 Juergen Vigna <jug@sad.it>
5077 * insettext.C (lockInsetInInset): forgot to set a cursor.
5079 2002-01-02 Juergen Vigna <jug@sad.it>
5081 * insettext.C (insertInset): make the correct undo informations on
5082 inserting new insets.
5084 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
5086 * insettabular.C: correct single-cell select vertically
5088 2001-12-27 Juergen Vigna <jug@sad.it>
5090 * insettabular.C (ascii): export as tab-separated-values if the
5091 function was not called from export (f.ex.: clipboard).
5093 * insetcollapsable.h: added default support for ascii, linuxdoc and
5094 docbook export (the insettext is exported by default!)
5096 * insettabular.C (copySelection): suff the clipboard with the tabular
5097 data in a tab separated format, seems more naturals then with all the
5100 2001-12-24 Juergen Vigna <jug@sad.it>
5102 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
5103 to check for REAL mouseMotion.
5105 2001-12-20 Juergen Vigna <jug@sad.it>
5107 * inset.C (cursor): return the owners cursor if available instead of
5108 always only the bv->text->cursor.
5110 * insettabular.C (checkLongtableSpecial): works now.
5112 2001-12-19 Juergen Vigna <jug@sad.it>
5114 * insettabular.C (tabularFeatures): fix the row setting of ltt as
5115 this has to be always row + 1 as 0 means not selected!
5116 (checkLongtableSpecial): added
5117 (tabularFeatures): better longtable options support
5119 * insettext.C (resizeLyXText): reinit the text always also on a
5122 2001-12-18 Juergen Vigna <jug@sad.it>
5124 * insettext.C (updateInsetInInset): look if we have to autocollapse
5125 paragraps and return if the update is requested for ourself.
5127 * insetert.C (status): update the insettext not myself as that is what
5130 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
5131 function only return if the update was requested with myself.
5133 * insettext.C (insetButtonPress): fixed stupid bug.
5134 (various functions): pay attention that lt is cleared BEFORE calling
5135 updateLocal() and try to use it in the right manner (don't use it
5136 if it's not really neccessary!)
5137 (collapseParagraphs): insert a blank between collapsing paragraphs
5138 if neccessary (not already there!).
5140 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
5142 * insettabular.C: move includes around a bit, add a couple of
5145 * insettext.[Ch]: move includes around a bit, other ws changes and
5148 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5150 * insettext.C (insetButtonRelease): fix compile problem
5152 2001-12-17 Juergen Vigna <jug@sad.it>
5154 * insettext.C (insetButtonPress): set the selection cursor!
5155 (insetButtonPress): clear the selection (and set with that the
5156 selection.cursor) if we only hit an inset!
5158 * insetert.C (read): removed piece of compatibility code only needed
5161 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
5164 * insetcollapsable.C (insetButtonRelease): changed so that it can
5165 open eventual existing popup dialogs on mousebutton==3.
5167 * insetfloat.C (insetButtonRelease): removed not needed anymore!
5169 * insetminipage.C (insetButtonRelease): removed not needed anymore!
5171 * inset.C (insetButtonRelease): return a bool for telling the outer
5172 world that we opened a dialog.
5174 2001-12-07 Juergen Vigna <jug@sad.it>
5176 * insettext.C (paragraph): remove the deleteing of paragraphs as
5177 it was a WRONG move!
5179 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
5182 * insettabular.C: use new setSelection(). Allow
5183 selection of single cells.
5185 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5187 * insetquotes.C (latex): fix to use the local language setting at
5188 the point where the inset is inserted (different macros for
5189 different french packages)
5191 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5193 * inset.h: add par_owner_ member variable and parOwner
5196 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5198 * insettabular.C (everywhere): adapt because widths are now real
5199 widths and not strings
5201 * insettext.C (draw): re-introduce the calls to width(), ascent()
5202 and descent() to initialize the caching variables.
5204 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
5206 * insettext.C (draw):
5207 (drawFrame): use insetWidth instead of last_width
5209 * insettext.h: remove variable last_width (insetWidth is exactly
5210 the same) and last_height (computed but never used!)
5212 2001-12-10 Allan Rae <rae@lyx.org>
5214 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
5216 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
5218 * insettext.C (insetAllowed): add comment
5220 2001-12-05 Juergen Vigna <jug@sad.it>
5222 * insettext.C (insetAllowed): fixed for the case that we directly
5223 ask the insettext from its LyXText.
5224 (paragraph): fixed the crash when assigning the par->next() from
5225 the EmptyParagraphMechanism!
5227 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
5231 * insettext.C: change "while(" to "while ("
5233 2001-12-04 Juergen Vigna <jug@sad.it>
5235 * insetert.C (edit): handle Inlined status.
5237 * insettext.C (insertInset): trying John's fix for the trailing cursor
5239 * insetert.C (insetButtonPress): added to handle inlined status
5240 (insetMotionNotify): ditto.
5242 * insettext.C (clearInset): changed Painter & in BufferView * param,
5243 to be able to call ascent,descent methods.
5245 2001-12-03 Juergen Vigna <jug@sad.it>
5247 * insettext.C (updateInsetInInset): use lt variable to forbid
5248 changes of LyXText in an update call.
5249 (updateInsetInInset): fixed updating of non locked insets!
5251 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5253 * insettabular.C: capture some more functions to prevent
5254 selection drawing problems. Bug #451274
5256 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
5259 * insetgraphicsParams.C: fix inverted sense of float_equal
5261 2001-11-30 Juergen Vigna <jug@sad.it>
5263 * insettabular.C (InsetTabular): use the save_id flag to create also
5264 the tabular with the same id's.
5266 * insettext.C (setParagraphData): added a same_id function for undo
5267 to set the same paragraph id's as of the paragraph we are setting.
5269 2001-11-30 José Matos <jamatos@fep.up.pt>
5272 * insettoc.[Ch]: DocBook -> docbook.
5274 2001-11-29 André Pönitz <poenitz@gmx.net>
5277 * insettext.C: further reduction of header dependencies by using
5278 lyx::layout_type and lyx::textclass_type from support/types.h
5280 2001-11-29 Juergen Vigna <jug@sad.it>
5282 * insettext.C: inserted a reinitLyXText function everywhere I delete
5283 the paragraphs! This should fixe the crashes we had.
5284 Also use the new function firstRow() instead of getRowNearY(dummy_y)
5285 (paragraph): set the InsetOwner() of the new paragraphs!
5287 2001-11-28 André Pönitz <poenitz@gmx.net>
5289 * insetnote.C: add pos initialization that I removed without
5292 2001-11-28 Juergen Vigna <jug@sad.it>
5294 * insettabular.C (resetPos): hack to not crash with infinite paints.
5296 * insettabular.h: insert missing function allowSpellcheck()!
5298 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
5300 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5303 * insetfloatlist.C: derive from InsetCommand so gui can use it
5306 2001-11-26 André Pönitz <poenitz@gmx.net>
5310 * insetnote.C: reduce header dependencies, introduce type for
5313 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
5315 * various: update for Alert.h
5317 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
5319 * inset.h: fix comment
5321 * insettext.C: use par->isInset()
5323 2001-11-22 Allan Rae <rae@lyx.org>
5325 * insetcollapsable.h:
5326 * inset.h: Changes to checkInsertChar() behaviour.
5327 Now return value indicates whether chars can be inserted.
5329 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
5331 * various: updated to use the new LaTeXFeatures
5333 2001-11-14 José Matos <jamatos@fep.up.pt>
5335 * insetspecialchar.C (linuxdoc):
5336 (docbook): don't give a name to a unused variable.
5338 * insettext.C (docbook): removed unused variable.
5340 2001-11-13 Herbert Voss <voss@perce.de>
5342 * insetgraphic.C: fix scale bug
5344 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5346 * inset.h (isSpace):
5347 (isLetter): new virtual methods.
5349 * insetspecialchar.C (isSpace):
5350 (isLetter): implement here.
5352 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
5354 * inset.h: new inline helpers
5356 * insettext.C: use new helpers
5358 2001-11-07 José Matos <jamatos@fep.up.pt>
5360 * insettext.C (docbook): full support for paragraphs inside insettext.
5362 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
5364 * insetindex.C: added header file for std::ostream.
5366 2001-11-03 José Matos <jamatos@fep.up.pt>
5368 * insetindex.C: added using std::ostream that I forgot yesterday.
5370 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
5372 * insetindex.h (docbook):
5373 * insetindex.C (docbook): added support for docbook export.
5375 2001-11-02 José Matos <jamatos@fep.up.pt>
5377 * insetcaption.C(docbook): added support for docbook export.
5379 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
5381 * insetexternal.C (updateExternal): Do not run update command if
5382 result file exists and is up to date.
5384 * ExternalTemplate.C (readFormat): Support the updateresult token.
5386 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
5388 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
5389 external_templates) to use the buffer->fileName() but only if
5390 previewing. Generating a TeX file should make FPath return
5393 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
5396 * insetert.C: fix some problems
5398 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
5400 * insetexternal.C (doSubstitution): Added $$FPath token
5401 to list of usable substitutions in external inset templates.
5403 2001-10-24 Juergen Vigna <jug@sad.it>
5405 * insettabular.C: use new ltType struct for setting longtable
5406 header and footers also new UNSET enums.
5408 2001-10-24 José Matos <jamatos@fep.up.pt>
5410 * insettabular.C (linuxdoc): Now exports the ascii's table version.
5411 (docbook): If the table is not inside a float then wrap it inside
5412 <informaltable>...</informaltable>.
5414 2001-10-23 José Matos <jamatos@fep.up.pt>
5416 * insetref.C (docbook): removed / terminator to conform SGML.
5418 * insetspecialchar.C (linuxdoc):
5419 (docbook): Added support for special chars, more than ascii export.
5421 2001-10-22 Juergen Vigna <jug@sad.it>
5423 * insettext.C (checkInsertChar): added for REALLY checking the
5424 font of the inserted char in the right inset!
5426 2001-10-19 Juergen Vigna <jug@sad.it>
5428 * inset.h: added method allowSpellcheck() so that insets who do
5429 not have anything to spellcheck can tell and so they are over-jumped.
5430 Implemented for InsetText and co.
5432 2001-10-18 Juergen Vigna <jug@sad.it>
5434 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
5436 2001-10-15 José Matos <jamatos@fep.up.pt>
5438 * insetert.C: allow export for docbook and linuxdoc
5440 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5442 * insetquotes.C (dispString): handles latin3 and latin4 quotes
5444 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5446 * insetquotes.C (dispString): fix handling of latin9 quotes
5448 2001-10-03 Juergen Vigna <jug@sad.it>
5452 * insetcollapsable.C: change updateInset calls to not tell BV that
5453 we have changed status.
5455 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5457 * insettabular.C (deletable): make const
5459 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
5461 * insetert.C (latex): Fix the returned value
5463 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
5465 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
5466 Returns string(), so nothing in an ERT inset is spellchecked.
5468 * insetgraphics.C (draw): print the filename if not displaying the
5470 (width): make sure that the width and draw methods are consistent.
5471 (updateInset): don't even load the image into cache if not displaying
5474 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
5476 * various files (selectNextWord): renamed as
5477 selectNextWordToSpellcheck.
5479 * insetgraphics.C (draw): remove the previous change. Right place
5480 is in imageLoaderXPM.C.
5481 (draw): don't display the image if params.display == NONE.
5483 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
5485 * figinset.C (runqueue):
5486 * insetgraphics.C (draw): set background colour of inset from
5487 background to the user-configurable graphicsbg.
5489 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5491 * insetquotes.C (InsetQuotes): when trying to decide the side of
5492 the quote, choose `left' only after a space or '('
5494 2001-09-04 José Matos <jamatos@fep.up.pt>
5499 * insetcollapsable.h
5517 * insetlatexaccent.C
5518 * insetlatexaccent.h
5523 * insetspecialchar.C
5524 * insetspecialchar.h
5528 * insettext.C (docbook): rename docBook method to docbook.
5530 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
5532 * inset.h (getFirstParagraph): New virtual method.
5534 2001-08-20 Herbert Voss <voss@perce.de>
5535 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
5536 in the the bibtex-database-gui for inserting a line
5539 If no style is given than there is no tex-output.
5541 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
5543 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
5547 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
5549 * insetert.C (latex): Fix output for multiple paragraphs.
5550 (write): New code for writing paragraph data.
5551 (read): Set font after reading the inset.
5552 (localDispatch): Call set_latex_font() for more cases.
5554 * insetnote.h: Add empty validate method.
5557 * insetnote.C (InsetNote): Set language to the language of the
5560 2001-08-16 Juergen Vigna <jug@sad.it>
5562 * insettext.C: implemented the new FINISHED states.
5564 * insettabular.C: ditto
5566 * inset.h: added more FINISHED states for cursor right,up,down
5568 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
5570 * insetfloatlist.C: use "FloatName List"
5572 2001-08-14 Juergen Vigna <jug@sad.it>
5574 * insetert.C (edit): forgot to set status_ in edit calls!
5576 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
5578 * insettext.C: Compilation fix
5580 2001-08-13 Juergen Vigna <jug@sad.it>
5582 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
5584 * insetcollapsable.C (edit): don't recollapse an already open inset.
5586 * insettext.C: fixed problem when reinitializing LyXText by not doing
5587 it while lt is in use and post this to the next possible time in
5589 (searchForward): fixed not unlocking of inset if nothing found.
5590 (edit): set cursor behind right (was set -1 pos).
5592 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
5594 * insettabular.C (tabularFeatures): fixed fix where deleting the
5595 last row didn't get the right actcell!
5597 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
5599 * insettext.C (localDispatch): Change language only when the inset
5602 2001-08-10 Juergen Vigna <jug@sad.it>
5604 * insettabular.C (selectNextWordInt): use the front using edit call.
5606 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
5607 the parameter overwrite class variable inset.
5609 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
5611 * insettext.C (saveLyXTextState): check for invalid cursor-par.
5612 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
5614 * insettabular.C (calculate_dimensions_of_cells): let's try to call
5615 update only for fixed with cells.
5616 (resetPos): try to fix the lockup on spellchecking or s&r.
5618 * insettext.C (update): comment this out as it seems first wrong
5619 and second not needed anymore!
5620 (some functions): call reinitLyXText() only in update() in all other
5621 positions set only need_update = INIT.
5623 2001-08-08 Juergen Vigna <jug@sad.it>
5625 * insettabular.C (setPos): fixed wrong actrow < rows() check.
5627 * insettext.C (insetUnlock): remove double-space on inset unlock.
5629 * insetcollapsable.C (draw): fix returned x when label > inset-width.
5631 * insettabular.C (update): fixed cursor positon after an insert.
5632 (insetAllowed): do not allow to insert insets when not inside the
5634 (draw): clear below an inset too as it could have changed height.
5636 * inset.C (getMaxWidth): fixed width for inset in inset.
5638 * insettext.C (update): small fix.
5640 * insettabular.C (tabularFeatures): added selection support to
5641 DELETE_ROW/DELETE_COLUMN.
5643 2001-08-07 Juergen Vigna <jug@sad.it>
5645 * inset.C (getMaxWidth): recoded and all it's implementations!
5647 * insettext.C (init,setParagraph+constructors): cleanups
5648 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
5649 are new and I want do a save/restore of the cursor position which is
5650 not possible anymore.
5652 * insetcollapsable.C (searchBackward): recollapse inset if not found.
5653 (searchBackward): ditto
5654 (selectNextWord): ditto
5656 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
5658 * insetlatexaccent.C (checkContents): Add some debug messages
5660 2001-08-07 Juergen Vigna <jug@sad.it>
5662 * insetert.C (read): don't use InsetCollapsable::read as we don't
5663 write the collapsed status anymore only the status.
5666 2001-08-06 Juergen Vigna <jug@sad.it>
5668 * insetert.C (set_latex_font): use LyXText's setFont directly.
5670 * insettext.C (drawFrame): fixed one time more the right position
5671 and size of the frame!
5673 * insetert.C (~InsetERT): hide the dialog.
5674 (showInsetDialog): added implementation
5677 (status): new function for the status of the ERT inset (3-state).
5678 (write): output also the status of the inset for readback!
5679 (read): readback the status if available otherwise use collapsed_.
5681 * insettext.C (edit): small fix of setting the position, which could
5684 * insetert.C (width): implement this function for inlined viewing.
5685 Added minimum width of 10 pixels!
5687 * insetminipage.C (InsetMinipage): just change the colors a bit so
5688 that border/background is a bit more visible. We will remove this
5691 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
5692 function for getting the important widths for drawing in various
5693 functions and in LyXText.
5694 (draw): fixed up a bit (frame drawing/clearing)
5696 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
5698 * inset.C (convertFont): delete method. not used.
5700 2001-08-03 Juergen Vigna <jug@sad.it>
5702 * insettext.C (setFont): don't call for a draw update if we're just
5703 changing the cursor font!
5705 2001-08-02 Juergen Vigna <jug@sad.it>
5707 * insettext.C (draw): clear the background with the right color if
5708 needed. Update myself if x&max-width changed and return without doing
5709 anything. Let the update code handle the right stuff.
5711 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
5712 inside another inset.
5714 2001-08-01 Juergen Vigna <jug@sad.it>
5716 * insetcollapsable.C (update): added an in_update bool so we avoid
5719 * insettabular.C (update): added an in_update bool so we avoid
5722 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
5724 (update): added an in_update bool so we avoid reentering.
5726 * insettabular.C (localDispatch): clear col/row selection when doing
5727 something else inside an inset.
5729 * insettext.C (getLyXText): fixed bug when requesting a recursive
5732 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
5734 * insetcite.C (latex): Paranoia check. Make sure that there is no
5735 whitespace between the citation keys.
5737 2001-07-31 Juergen Vigna <jug@sad.it>
5739 * inset.h (nodraw): make the set function also const so that this
5740 can be called from inside other const functions.
5742 * insetcollapsable.h: removed inline variable and moved it over
5743 to the only user InsetERT.
5745 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
5746 inset opening immediately therein lying insets dialogs!
5748 * insetert.C (localDispatch): set the font also if we don't have any
5749 chars in this paragraph, otherwise if we delete all of em and start
5750 writing we have the wrong font.
5752 (draw): implemented for inline support
5753 (insetButtonRelease): ditto.
5755 2001-07-30 Juergen Vigna <jug@sad.it>
5757 * insettext.C (reinitLyXText): new function to reinit the insets
5758 text after lot's of paragraph changes. Use this instead of the
5759 cache.clear() which is VERY dangerous.
5761 * insetfloat.C (insetButtonRelease): we should only show the dialog
5762 if we press on the label otherwise we have problems to open mouse
5763 button 3 dialogs inside this float (f.ex. of a tabular!)
5765 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
5767 * insetert.C: change back to "ERT"
5769 * insetfloat.C: handliign of RMB on label added.
5771 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5773 * insetgraphicsParams.C: #include LOstream.h here.
5775 * insetfoot.h: remove InsetFoot:: qualifier.
5777 2001-07-29 Baruch Even <baruch@lyx.org>
5779 * ChangeLog: Hiding time travel evidence.
5781 * insetgraphicsParams.h:
5782 * insetgraphicsParams.C:
5783 * insetgraphics.C: Added horizontal scale option, it actually scales both
5784 directions since it keeps image proportions.
5786 * insetgraphics.C: Fixed EPS detection to be non-hacky.
5788 2001-07-29 Baruch Even <baruch@lyx.org>
5790 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
5791 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
5793 HACKY! Will need to add an EPS detection routine like old InsetFig does!
5795 2001-07-29 Baruch Even <baruch@lyx.org>
5797 * insetgraphics.C: Added EPSI to be an alias of EPS.
5799 2001-07-29 Baruch Even <baruch@lyx.org>
5801 * insetgraphics.C: Change GRAPHICS to Graphics.
5802 Changed image conversion rules (documented at the beginning of file).
5804 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
5806 * insetert.C (get_new_label): int -> Paragraph::size_type to get
5809 * insetgraphics.C: added a using std::endl directive.
5811 * insetcommand.h (getScreenLabel): removed pure virtual function,
5812 as it duplicates that in InsetButton.
5814 * insetbib.[Ch] (getScreenLabel):
5815 * insetbutton.[Ch] (getScreenLabel):
5816 * insetcite.[Ch] (getScreenLabel):
5817 * insetert.[Ch] (getScreenLabel):
5818 * insetexternal.[Ch] (getScreenLabel):
5819 * insetfloatlist.[Ch] (getScreenLabel):
5820 * insetinclude.[Ch] (getScreenLabel):
5821 * insetindex.[Ch] (getScreenLabel):
5822 * insetlabel.h (getScreenLabel):
5823 * insetparent.[Ch] (getScreenLabel):
5824 * insetref.[Ch] (getScreenLabel):
5825 * insettoc.[Ch] (getScreenLabel):
5826 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
5828 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
5830 (validate): remove check on "cite" when using natbib.
5832 2001-07-26 Baruch Even <baruch@lyx.org>
5834 * insetgraphics.C (draw): changed casting to be in one place rather than
5835 all over the function.
5838 * insetgraphics.C (read): Added compatibility reads of InsetFig.
5840 * insetgraphicsParams.h:
5841 * insetgraphicsParams.C:
5842 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
5844 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
5846 * insetfoot.C (validate): Added method to ensure that the
5847 right bit of LaTeX is emitted.
5849 * insetfoot.h: Added validate method to set the correct
5850 LaTeXFeatures bit for the special footnote code.
5852 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5854 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
5857 2001-07-27 Juergen Vigna <jug@sad.it>
5859 * inset.h: remove not used font variable in parameter.
5860 removed checkInsertChar in UpdatableInset as it was equal to
5861 the one in Inset and so not needed.
5863 * insetert.C (checkInsertChar): implementation of function
5866 * inset.h: added new function checkInsertChar.
5868 * various files: added c-tor and clone() function.
5870 * insetcollapsable.h: removed clone function here as this should
5871 be only realized in REAL insets and added it to all collapsable
5872 insets! (with the copy-constructor).
5874 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
5876 * insetminipage.C (read): handle missing parameters more gracefully
5878 * insetcollapsable.C (read): handel missing collapsed more gracefully
5880 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
5882 * insetfloat.C (read): handle missing parameters.
5884 * insettext.C (read): handle old latex end_inset
5886 * insetert.C (setButtonLabel): new method
5887 (init): use it, to set the dynamic label correctly
5890 * Makefile.am (EXTRA_DIST): add files that is not part or the
5893 * insetcollapsable.h: remove autocollapsable (no users), remove
5894 draw_label, change_label_with_text and companion code. Remove args
5896 * insetert.[Ch]: move here instead (only user)
5898 * inset.h: rename private variable name to name_, make
5899 selectNextWord return a const string. make getInsetName return a
5900 string const &. Remove bool from open, add close.
5902 * Makefile.am: don't compile insetlist, insetsection
5905 2001-07-24 Juergen Vigna <jug@sad.it>
5907 * insetert.C (InsetERT): put init after the paragraph initialization,
5908 as otherwise we don't set the draw_label right.
5910 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
5911 insets with the mouse without having strange selections.
5912 (edit): if the inset was collapsed and we open it here then put the
5913 cursor always at the beginning of the inset.
5914 (get_new_label): 15 instead of 10 max chars in the label.
5916 * insetert.C (localDispatch): added and handle various stuff we
5917 need to handle here (font setting on paragraph break, not permitted
5918 layout setting, etc.).
5920 * inset.h: added default copy-consturctor and implemented this in
5921 various insets with the change to use this in the clone function!
5923 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5925 * insetminipage.C (InsetMinipage): set background color to red :)
5927 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5929 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
5930 draw frame mode is LOCKED.
5932 * insetcollapsable.C (edit):
5933 (insetButtonRelease): set update status to full when
5936 * insettext.C (clearInset):
5937 * insettabular.C (draw):
5938 * insetlatexaccent.C (draw): honor background color.
5940 * inset.h: new member background_color_, initialized to
5943 * inset.C (backgroundColor): new method.
5944 (setBackgroundColor): new method.
5946 * insetert.C (init): new method, called by the ctors.
5947 (InsetERT): when inserting contents, make sure the font is
5950 * insetnote.C (InsetNote): when inserting content, remove trailing
5952 (init): set background color to LColor::note
5954 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
5956 * insetcollapsable.C: adjust
5958 * insetbutton.C: adjust
5960 2001-07-23 Juergen Vigna <jug@sad.it>
5962 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
5963 parameter on the _collapsed function (was not needed) and call
5964 always width_collapsed().
5966 * insetert.C (InsetERT): use setLabel with "true" flag.
5968 * insetcollapsable.C: modified various functions to set the draw_label
5969 string right in any condition.
5970 (setLabel): added a bool parameter to set change_label_with_text.
5972 * insetcollapsable.h: added draw_label string which is set to the
5973 actual drawn label-string, while label is the original static label
5974 of this collapsable inset. Added bool change_label_with_text to set
5975 if we want that the label changes to the start of the InsetText's
5976 text when collabpsed. You can set this flag with the setLabel funciton.
5977 Added bool inlined for inlined collapsable insets, but not handled
5980 * insetcollapsable.C (get_new_label): added should get a new label
5981 from the InsetText beginning (for now 10 chars).
5983 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
5985 * insetquotes.C (latex): fix the handling of french double quotes
5986 when not using the french pachage.
5988 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5990 * insetcollapsable.h: make WidthCollapsed mutable.
5992 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
5993 InsetPrintIndex returns INDEX_PRINT_CODE.
5995 * inset.h: add INDEX_PRINT_CODE
5997 * insetcollapsable.C (draw): init widthCollapsed if necessary
6000 * insetquotes.C (width): use the local language, not the document
6003 (dispString): add additional spacing for all french languages,
6005 (validate): make it work when there is no default language
6007 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
6009 * insetnote.C (init): new method, called by the constructors
6010 (InsetNote): new constructor with contents passed as a string
6012 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6014 * insetfootlike.C (insetAllowed): disallow float in footlike.
6016 * insetert.C (InsetERT): add collapsed argument to the constrctor
6019 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6021 * insetindex.h: shut off warning
6023 2001-07-20 Juergen Vigna <jug@sad.it>
6025 * insetcollapsable.C (update): recoded hopefully works now!
6027 2001-07-19 Juergen Vigna <jug@sad.it>
6029 * most files: implemented the below new introduced function.
6031 * inset.h: added new edit(BufferView *, bool front) method to be able
6032 to enter an inset from the front/back without knowing x/y positions
6033 and baselines inside the inset. So I just can tell the inset activate
6034 me and set the cursor on the front/back of yourself.
6036 2001-07-18 Juergen Vigna <jug@sad.it>
6038 * insetcollapsable.C (edit): fixed hopefully the y parameter which
6039 is given to the InsetText.
6040 (insetButtonPress): ditto
6041 (insetButtonRelease): ditto
6042 (insetMotionNotify): ditto
6044 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6046 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
6047 LIGATURE_BREAK, since the name is so stupid.
6049 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
6051 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
6052 the default InsetCollapsable methods. I.e., it can insert anything.
6053 (write) output the name of the inset, not some silly hack for
6054 compatability with the old InsetInfo.
6056 * insetinfo.[Ch]: removed.
6057 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
6058 now collapsable, but functionality is otherwise identical to InsetInfo.
6060 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
6062 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6064 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
6067 * insetquotes.C: general cleanup
6068 (dispString): add spaces inside french double quotes.
6069 (latex): ditto. Moreover, treat first the case where the frenchb
6070 or french options have been given.
6072 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
6074 * insetcite.[Ch] (latex, validate): new methods, required for natbib
6077 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
6079 * figinset.C (RegisterFigure): Print debug message only when
6080 current_view is available.
6082 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
6084 * many files: update to match the change below
6086 * inset.h (insetAllowed): renamed from insertInsetAllowed;
6087 implement the version which takes an inset here.
6089 * insetcollapsable.[Ch]: implement open and isOpen
6091 * inset.h: remove insertInsetAllowed from Inset
6092 (open): new method, to open or close an inset
6093 (isOpen): returns the status of an inset
6094 (isCollapsable, colapse): removed
6096 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
6098 * insetquotes.C (dispString): display french guillemets when using
6101 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6103 * insetcollapsable.h: remove bogus return statements
6105 2001-07-18 Juergen Vigna <jug@sad.it>
6107 * insettabular.C (selectNextWord): fixed spellchecking for the
6108 first cell of a tabular (wasn't entered!)
6109 (getLyXText): changed to enter automatically insettext and return
6110 it's LyXText if we're locked.
6112 2001-07-17 Juergen Vigna <jug@sad.it>
6114 * various files: implemented the below functions.
6116 * inset.h: added functions
6117 - virtual string selectNextWord(BufferView *, float & value) const;
6118 - virtual void selectSelectedWord(BufferView *) { return; }
6119 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
6120 needed for spellchecking correctly!
6122 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
6124 * insetert.C (latex): write out all paragraphs.
6126 2001-07-17 Baruch Even <baruch@lyx.org>
6128 * insetgraphics.C (draw): Removed unneeded casts.
6130 2001-07-16 Juergen Vigna <jug@sad.it>
6132 * insettext.C (update): fixed small oversight (reset lt to 0).
6134 2001-07-14 Baruch Even <baruch@lyx.org>
6137 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
6139 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
6141 Consistent use of Lsstream.h:
6142 * figinset.C: removed using std::ostringstream directive.
6144 * insetgraphics.C (createLatexOptions):
6145 * insetinclude.C (unique_id):
6146 std::ostringstream -> ostringstream.
6147 * insettext.C (localDispatch): std::istringstream -> istringstream.
6149 2001-07-13 Juergen Vigna <jug@sad.it>
6151 * insetfloat.C (insertInsetAllowed): added missing const_cast.
6153 * insetcollapsable.C (getLockingInset): ditto.
6155 2001-07-12 Juergen Vigna <jug@sad.it>
6157 * insetcollapsable.h: added implementation of new function for
6160 * various files: added implementation of new insertInsetAllowed-func
6161 and redone the function a bit more.
6163 * inset.h: added isCollapsable(), bool collapsed(),
6164 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
6166 * insetfloat.C (insertInsetAllowed): make a bit more checks.
6168 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
6169 LyXText which is marked for removal while we're using it!
6171 * insettext.h: added private LyXText * lt to use it to assure we are
6172 not deleting our LyXText while we're using it!
6174 2001-07-11 Juergen Vigna <jug@sad.it>
6176 * insettext.C (insertInset): check if we are before the inset after
6177 inserting it! This check IS needed. Remove the Undo-Call as it is
6178 called in LyXText::insertInset!
6180 * insettext.h: added struct InnerCache.
6182 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
6183 that we ONLY delete the LyXText in the getLyXText() routine. So we
6184 are sure we don't delete LyXText while someone is working with it!
6186 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
6188 * insetexternal.C: (*it). -> it->
6189 * insettext.C: ditto
6191 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6193 * insetcollapsable.C (edit): always open collapsed insets (even if
6194 they are not autocollapsable)
6196 * insetcommand.C (operator=): simplify.
6198 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6200 * insetert.C (latex): handle META_NEWLINE
6202 2001-07-09 Juergen Vigna <jug@sad.it>
6204 * insetert.h: a normal InsetText can insert insets, but we won't.
6206 * inset.h: return default "false" on insertInsetAllowed and implement
6207 this function where a returnvalue != "false" is needed.
6209 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6211 * insetert.C (InsetERT): new contructor
6213 2001-07-06 Juergen Vigna <jug@sad.it>
6215 * a lot of files: added implementation of the below new functions
6216 and the change to clone(). Also the call of the new undo-functions
6219 * inset.h: added an inset_id, added functions getParFromID,
6220 getInsetFromID, firstParagraph, cursor and id functions, added
6221 bool same_ids to clone function.
6223 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6225 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
6226 of BufferView * and shared_ptr<LyXText>
6228 2001-07-05 Juergen Vigna <jug@sad.it>
6230 * insettext.C (clear): deleted also the cache not only LyXText.
6231 (setParagraphData): ditto.
6233 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6235 * insetfloat.C (latex): let the specific placement take presedence
6236 if set, otherwise choose document placement if set, otherwise just
6237 use float default placement.
6239 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6241 * insettext.C (localDispatch): call CutAndPaste::'s static method
6244 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6246 * insetbib.C: no meed to include forms.h here.
6248 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
6250 * insettext.C: added using std::make_pair directive.
6252 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6254 * insettext.C (getLyXText): avoid multiple lookups, and simplify
6256 (deleteLyXText): ditto
6257 (resizeLyXText): ditto
6259 2001-07-02 Juergen Vigna <jug@sad.it>
6261 * insettext.C (getLyXText): introduce a cache in getLyXText so that
6262 following calls are only returned the right pointer without the over
6263 head to search in the map.
6264 (various funcs): reset the cached_bview variable as this signs that
6265 the cache is not valid anymore.
6267 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6269 * insettabular.C (clone): do not copy the LyXTabular twice
6271 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
6273 * insettext.h (TEXT): delete method
6275 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6277 * insetmarginal.C (latex):
6278 * insetfoot.C (latex): fix spacing of notes in LaTeX
6280 * insettext.C (localDispatch): use .c_str() on istringstream
6281 constructor argument.
6283 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
6288 * inseturl.C: fix method names in these to begin
6289 with small char too, so they inherit
6291 2001-06-28 Juergen Vigna <jug@sad.it>
6293 * insettext.C (setFont): fixed font settings using toggleFree()
6294 instead of setFont().
6296 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
6298 * Change a lot of method names to begin with a small char.
6299 Changes to a lot of files because of this.
6301 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6303 * insetfloatlist.C (Write): std:: qualify ostream
6306 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
6310 * insetgraphics.C: send debug output to Debug::INFO instead of
6313 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
6316 * insettabular.C (getStatus): update to use func_status
6318 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
6320 * insetref.C (DocBook): added support for cross-references without
6323 2001-06-26 The LyX Project <jug@sad.it>
6328 * insetlabel.h: removed escape method and moved it to
6331 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
6333 * insettabular.C (getMaxWidth): do the speedup in a different way,
6336 2001-06-24 The LyX Project <Asger>
6338 * insettabular.C (getMaxWidth): We cache a mapping from
6339 inset to cell in order to speed this method up.
6341 2001-06-24 The LyX Project <Asger>
6343 * insettext.C: Optimized InsetText::draw or something.
6345 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
6347 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
6349 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
6351 * inset.h: name change from lyxinset.h
6353 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
6355 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
6357 2001-06-14 Juergen Vigna <jug@sad.it>
6359 * insettext.C (draw): removed warnings.
6361 2001-06-13 Juergen Vigna <jug@sad.it>
6363 * insettabular.C (nodraw): only go down the tree if we don't have
6364 that flag set otherwise it's obvious that we don't want to draw.
6365 (LocalDispatch): do also an update if we have an undispached result.
6367 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
6370 * insetgraphicsParams.C:
6371 * insettext.C: removed // -*- C++ -*- as first line.
6373 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6375 * lyxinset.h (resizeLyXText): shut off warning about unused
6378 2001-06-07 Juergen Vigna <jug@sad.it>
6380 * insettext.C (resizeLyXText): honor the new force flag.
6382 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
6384 * insettabular.C (deleteLyXText): new function
6386 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
6394 * insetcollapsable.C:
6395 * insetcaption.C: LColor tidy
6397 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
6399 * figinset.C: fix typo
6401 2001-06-01 Juergen Vigna <jug@sad.it>
6403 * insettabular.C (resetPos): small hack so that scroll is not set to
6404 0 when we are in the last column of a tabular. This is a problem we
6405 have because of constats 20 offset on both directions, so this can
6406 cause on the limit an endless loop.
6408 * insettext.C (SetFont): forgot that we can have locking insets ;)
6410 2001-05-31 Juergen Vigna <jug@sad.it>
6412 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
6414 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6416 * figinset.C: add using std:: directive for the C functions which
6419 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
6421 * insetfloat.C (Write): write out wide info
6422 (Read): read the wide info
6423 (Latex): use the wide info when creating latex.
6425 * insettext.C: adjust
6427 * insetgraphics.[Ch] (statusMessage): change to return string
6431 * figinset.C (runqueue): add std::
6434 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6436 * insetcite.C (Ascii): add std:: qualifier
6438 2001-05-28 Juergen Vigna <jug@sad.it>
6440 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
6441 a endless-width inset (maxWidth < 0).
6442 (Edit): change language only if not equal.
6444 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
6446 * insettext.C (draw): fixed draw/clear of InsetText-Frame
6448 2001-05-16 Juergen Vigna <jug@sad.it>
6450 * insettext.C (selectAll): added
6451 (clearSelection): added
6453 * insettabular.C (SetFont): now we may set a font on a whole selection!
6454 (getSelection): added helper function.
6456 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
6458 * insetcite.C (Ascii): Add method.
6460 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
6463 * insetbib.C: fix path for OS/2 & Win32
6465 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
6467 * insetfoot.C (Latex): don't use % after footnote.
6469 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
6471 * insettext.C (Read): use clear
6472 (SetParagraphData): use LyXParagraph copy constructor instead of clone
6474 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6476 * insetfloatlist.h: add a bunch of std:: qualifiers.
6478 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6480 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
6481 FLOAT_LIST_CODE, renumber code list.
6483 * insettoc.C (getScreenLabel): remove support for float lists
6487 * insetfloatlist.[Ch]: new files
6489 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
6491 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
6493 * insettabular.C (LocalDispatch):
6494 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
6497 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
6499 * insettext.C: remvoe !NEW_INSETS cruft
6501 * insettabular.C: remove !NEW_INSETS cruft
6503 * insetcollapsable.h: remove !NEW_INSETS cruft
6505 * insetbib.C: remove !NEW_INSETS cruft
6507 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
6509 * insettoc.C: hack to make listof algorithm work
6511 2001-04-20 Juergen Vigna <jug@sad.it>
6513 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
6515 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6517 * insetquotes.C (Latex): improve the guard against
6518 unwanted !` and ?` ligatures. This should really be done in
6519 another place (to catch all this ligatures at low-level).
6521 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
6523 * insettext.C (init): remvoe leftovers from cursor_visible change
6524 (draw): use c++ cast
6525 (LocalDispatch): dispatch LFUN_MESSAGE
6527 * insettabular.C (InsetTabular): remove leftovers from
6528 cursor_visible, and scoped_ptr changes
6529 (draw): use c++ cast
6531 * insetcollapsable.C (draw): use c++ cast
6533 * ExternalTemplate.h: inherit privaely from noncopyable
6534 * insetcommand.h: ditto
6535 * insetinclude.h: ditto
6537 2001-04-16 Allan Rae <rae@lyx.org>
6539 * insettoc.C (Ascii):
6540 * insettext.C (draw):
6541 * insettabular.C (setPos):
6542 * insetminipage.C (Read):
6543 * insetfloat.C (placement):
6544 * insetcaption.C (Ascii, DocBook):
6545 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
6546 an unrecognised preprocessor directive. So ensure they're wrapped.
6548 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
6551 * insetexternal.C: set view on Clone. Add _ to private members.
6553 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
6555 * insettext.C (InsetText): fix new
6556 (InsetText): reindent some, simplify deletion of par list
6557 (clear): simplify deletion of par list, fix new
6558 (SetParagraphData): simplify deletion of par list
6560 * insettabular.[Ch] (getLabelList): implement new method
6562 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6564 * lyxinset.h: do not include gettext.h...
6572 * insetlatexaccent.C:
6576 * inseturl.C: ... and do it here instead
6578 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
6580 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
6582 * insettext.[Ch] (getLabelList): add std:: on vector<string>
6584 * insetcollapsable.[Ch] (getLabelList): implement
6586 * insettext.[Ch] (getLabelList): implement
6588 * insettext.h: reindent
6590 * insettabular.h: make tabular a scoped_ptr
6592 * insettext.C (init): adjust for cursor_visible
6593 (ToggleInsetCursor): constify asc and desc, font, adjust for
6595 (ShowInsetCursor): constify asc and desc, font, adjust for
6597 (HideInsetCursor): adjust for cursor_visible
6599 * insettabular.C: reindent some
6600 (InsetTabular): adjust for scoped_ptr and cursor_visible
6601 (InsetTabular): ditto
6602 (~InsetTabular): delete delete
6603 (Clone): adjust for scoped_ptr
6604 (Read): constify old_format, adjust for scoped_ptr, move init of
6606 (draw): constify tx, localize loop vars.
6607 some other localization of variables, remove double initilizatons.
6609 * insetfoot.C: remove using std::ostream, add ostream where needed
6611 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
6613 * lyxinset.h: some reindentaion, use initializer list for
6615 UpdatableInset: make cursor_visible a private var add
6616 public isCursorVisible(), add protected toggleCursorVisible() and
6617 proctected setCursorVisible(bool), make scroll call the Inset::scroll
6619 * insettoc.C: remvoe using decl
6620 (getScreenLabel): make cmdname donst
6623 (Ascii): don't use endl
6625 * insetfootlike.C: remove using decl at file scope and add std::
6627 * insetmarginal.C: ditto
6629 * insetfoot.C: some reformatting
6631 * insetfloat.C (InsetButtonRelease): adjust the hit area
6633 * insetert.C (SetFont): some reformatting
6635 * insetcollapsable.C: some reformatting and constification
6636 (Clone): comment out.
6637 * insetcollapsable.h: some reformatting
6638 (Clone): comment out.
6643 2001-03-30 Juergen Vigna <jug@sad.it>
6645 * insetcollapsable.h: changen *inset to be a InsetText inset.
6647 * some files: changed to reflect the above change.
6649 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
6651 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
6652 InsetExternal::Params.
6653 Added operator==() and operator!=() for the Params struct.
6655 2001-03-29 Juergen Vigna <jug@sad.it>
6657 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
6660 * insetminipage.C: removed widthp_ and all it's functions and changed
6661 to use new %-lengths of LyXLength.
6663 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
6665 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
6667 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
6669 * insetgraphicsParams.C (operator!=): new function, needed by the
6670 ControlGraphics class.
6672 2001-03-28 Juergen Vigna <jug@sad.it>
6674 * insettext.C (InsetButtonPress): only enter !inset if button == 2
6675 (checkAndActivateInset): don't use the values returned from
6676 call to bv->checkInsetHit.
6678 * insetminipage.C (Clone): set special minipage values.
6680 * insetcollapsable.C (draw): changed to draw the button in the
6681 upper left corner outside the textinset.
6682 (ascent): changed because of different drawing
6686 (InsetButtonPress): ditto
6687 (InsetButtonRelease): ditto
6688 (InsetMotionNotify): ditto
6690 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
6692 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
6696 2001-03-26 Juergen Vigna <jug@sad.it>
6698 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
6700 * insettext.C (ShowInsetDialog): implemented above function.
6702 * insettabular.C (ShowInsetDialog): ditto
6704 * insetminipage.C (ShowInsetDialog): ditto
6706 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
6708 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
6709 InsetInclude::Params. Don't store a buffer * in Params. Store the
6710 master file name instead.
6712 2001-03-23 Juergen Vigna <jug@sad.it>
6714 * insetcollapsable.C (InsetMotionNotify):
6715 (InsetButtonRelease):
6716 (InsetButtonPress): fixed y-offset (minipages).
6718 * insettext.C (draw): force a FULL update if cleared == true.
6720 * insetcollapsable.C (draw): Lars forgotten entry for changing this
6721 routine to draw the minipages on its position-flag.
6722 (InsetInInsetY): give back the right y position, because of minipage
6725 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
6728 * insetfloat.C (DocBook): docbook export code.
6730 2001-03-22 Juergen Vigna <jug@sad.it>
6732 * insetminipage.C (getMaxWidth): added function to set the drawing
6734 (Read): should work now!
6736 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
6737 if we create a new inset.
6739 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
6741 * figinset.C (fl_set_preemptive_callback): moved definition outside
6744 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6746 * insetminipage.C (Read): prepare for reading of minipage arguments.
6748 2001-03-18 Baruch Even <baruch@lyx.org>
6750 * insetgraphics.C: Minor cleanups of the comments and code.
6752 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6754 * insetminipage.C (InsetMinipage): default to not collapsed
6756 2001-03-16 Juergen Vigna <jug@sad.it>
6758 * insetminipage.C (width): modified with to be a string
6759 (widthp): added widthp (for % width) support functions.
6760 (InsetButtonRelease): added to open the options dialog on button==3.
6761 (~InsetMinipage): added to hide the dialog.
6763 * insetminipage.h: added hideDialog signal
6765 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6767 * insetminipage.h: change the order or Position to match
6768 LyXParagraph::MINIPAGE_ALIGNMENT
6770 * several files: remvoe CXX_WORKING_NAMESPACES
6772 * ExternalTemplate.h: noncopyable is in namespace boost
6773 * insetinclude.h: ditto
6774 * insetcommand.h: ditto
6776 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
6778 * insettext.C (Edit): #else# -> #else.
6779 * insettoc.C: added using directive.
6781 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6783 * insetminipage.h: add pos, inner_pos, width and height. + getters
6784 and setters for all of them.
6786 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
6788 * insetinclude.C (Latex): Do not exit when the textclass of the
6789 included file differ from the textclass of the parent file.
6791 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
6793 * ExternalTemplate.C (read): the reading of external insets now checks
6794 for \end_inset and removes it form the input stream.
6796 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
6798 * ExternalTemplate.h:
6799 * ExternalTemplate.C:
6801 * insetexternal.C: move form to GUII
6803 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
6806 * insetinclude.C: add InsetIncludeParams, use
6807 composition rather than derivation of InsetCommand
6809 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6811 * insettoc.C (Ascii): use the Buffer typedefs
6813 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6815 * insettoc.C (Ascii): implement for dynamic number of lists
6817 * insetcaption.[Ch]: update from new_insets branch
6818 * insetfloat.[Ch]: ditto
6820 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
6823 * figinset.C: use new File Dialog
6825 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
6827 * insettext.C: changes becuase of ParagraphParameters.
6829 2001-02-28 Baruch Even <baruch@ev-en.org>
6831 * insetgraphics.C (updateInset): Changed due to the change in
6834 2001-02-26 Juergen Vigna <jug@sad.it>
6836 * insettext.C (SetFont): Set Undo only if we have selection (as it is
6837 handled in LyXText).
6839 2001-02-23 Juergen Vigna <jug@sad.it>
6841 * insettext.C (draw): some small repainting fixes.
6842 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
6844 * inset.C (LocalDispatch): changed action to be a kb_action (as it
6845 should be) and not an int.
6847 * insettabular.C (LocalDispatch): ditto
6849 * insettext.C (LocalDispatch): ditto
6851 * insetcollapsable.C (LocalDispatch): ditto
6853 2001-02-22 Juergen Vigna <jug@sad.it>
6855 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
6856 DISPATCH it and we don't have a locking_inset.
6858 2001-02-21 Baruch Even <baruch@ev-en.org>
6860 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
6861 instead of GraphicsCacheItem *.
6863 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6865 * insetcollapsable.C (getLyXText): add const qualifier to second
6868 2001-02-22 Juergen Vigna <jug@sad.it>
6870 * insettext.C (getLyXText): honor the recursive parameter.
6871 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
6873 * inset.C (getLyXText): added bool recursive parameter.
6875 * insettext.C (SetUpdateStatus): or the update codes.
6876 (draw): check need_update with &.
6877 (InsetButtonPress): set no_selection to not put a selection when
6878 entering an inset and it is redraws in another spot.
6880 * insettext.h: made need_update an int.
6882 2001-02-20 Baruch Even <baruch@ev-en.org>
6885 * insetgraphisc.C: Changed to use better semantics when loading images
6886 for inline view. Now it doesn't keep the pixmap itself but it's holder.
6888 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
6892 * insetgraphics.C: change name of "hide" signal to "hideDialog",
6893 consistent with InsetTabular.
6895 2001-02-19 Juergen Vigna <jug@sad.it>
6897 * insettabular.C (LocalDispatch): implement PAGE up/down.
6899 * insettext.C (draw): clear all of it on need_update==INIT too!
6901 * insettabular.C (InsetUnlock): always clear the selection.
6903 * inset.C (scroll): normally we only want to scroll the inset until
6904 it is fully visible so if top_x + offset > 20 then just set scx to 0.
6906 2001-02-14 Juergen Vigna <jug@sad.it>
6908 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
6909 (resetPos): fixed scroll behaviour.
6910 (LocalDispatch): do an update if moving cursor inside a table cell
6911 requests a scroll of the tabular.
6913 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
6915 * insettext.C (textWidth): constify local var
6917 * insettabular.C: small cleanup.
6919 * insetfoot.C (Latex): constify local var
6921 * insetcollapsable.C: small cleanup.
6923 * figinset.C (runqueue): use compare instead of strcmp
6925 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
6928 * insetinfo.C: remove cruft
6930 2001-02-14 Juergen Vigna <jug@sad.it>
6932 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
6934 2001-02-13 Juergen Vigna <jug@sad.it>
6936 * insettext.C (InsertInset): don't move left (is this right?)
6938 * insettabular.C (LocalDispatch): use of the no_draw variable
6940 * insettabular.h: new no_draw variable to stop redraw
6942 * insettabular.C (TabularFeatures): fixed update for alignment change
6944 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
6948 * insetbib.C: move dialogs to frontends/
6950 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
6952 * insettext.C (LocalDispatch): Restore the language if the inset
6955 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
6957 * insettext.C (moveRightIntern): Update the selection cursor.
6958 (moveLeftIntern): Ditto.
6960 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
6962 * Makefile.am: remove BoundingBox.h
6964 * BoundingBox.h: removed
6966 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
6968 * insettext.C (LocalDispatch): Update selection cursor when moving
6969 cursor to the right.
6970 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
6971 (moveLeftIntern): Ditto.
6973 2001-02-05 Baruch Even <baruch.even@writeme.com>
6975 * insetgraphics.C: Updated automatic image conversion, it now goes into
6976 temporary directory instead of with the image itself.
6978 2001-01-21 Baruch Even <baruch@ev-en.org>
6980 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
6981 to EPS or PNG when needed (support bitmap graphics).
6983 2000-11-02 Baruch Even <baruch@ev-en.org>
6986 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
6987 and removal of commented out code.
6989 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6991 * insetbib.C (callback): Update citations if the key has changed.
6993 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
6995 * insetbib.C (InsetBibKey): Better computation of default key.
6996 (getScreenLabel) Show both the key and the label.
6997 (getBibLabel): New method.
6998 (callback): Force a redraw if the inset have been changed.
7000 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
7002 * insetref.C (getType, getName): Move methods from
7003 src/frontends/xforms/FormRef.C.
7005 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
7007 * insettabular.C: Various improvements (use only one dummy position).
7009 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
7011 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
7012 par->bibkey->width. This fixes the crashes when running without
7013 gui or when having included documents.
7015 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
7017 * insetcommand.C (getAsString, setFromString): Cleanup.
7019 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
7021 * insetref.C: Add the array InsetRef::types that contains
7022 information about all supported reference types.
7024 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7026 * lyxinset.h: remove trailing comma in enum.
7028 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
7030 * insettext.C: kill LyXBell.