1 2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * insetgraphicsParams.C:
4 * insetexternal.C: declare extern displayTranslator
7 * renderers.C: add #include "support/LAssert.h"
9 2003-07-27 José Matos <jamatos@fep.up.pt>
11 * insetfloat.[Ch] (linuxdoc):
12 * insetgraphics.C (linuxdoc):
13 * insettabular.C (linuxdoc):
14 * insettext.[Ch] (linuxdoc): add support for tables and figures
17 2003-07-27 José Matos <jamatos@fep.up.pt>
19 * insetinclude (latex): comply with makeLaTeXFile argument change.
21 2003-07-26 Asger Alstrup <alstrup@local>
23 * insettext.C (reinitLyXText): Get rid of updateLocal which causes
24 the undo crashes. We'll see what problems other places this will
27 2003-07-26 Angus Leeming <leeming@lyx.org>
29 * insetgraphics.C: remove unused declaration of system_tempdir.
31 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
33 * rename Inset to InsetOld
35 * all inset files (clone): return a auto_ptr<InsetBase>
37 2003-07-23 Angus Leeming <leeming@lyx.org>
39 * insetexternal.[Ch] (setParams): pass it a Buffer const *.
41 2003-07-23 Angus Leeming <leeming@lyx.org>
43 * mailinset.[Ch] (inset2string):
44 * insetcommand.[Ch] (inset2string):
45 * insetert.[Ch] (inset2string):
46 * insetexternal.[Ch] (inset2string):
47 * insetfloat.[Ch] (inset2string):
48 * insetgraphics.[Ch] (inset2string):
49 * insetinclude.[Ch] (inset2string):
50 * insetminipage.[Ch] (inset2string):
51 * insetnote.[Ch] (inset2string):
52 * insettabular.[Ch] (inset2string):
53 * insetwrap.[Ch] (inset2string): now requires a Buffer const & arg.
56 * insetgraphics.[Ch]: get rid of the view() function. Associated
57 changes to the mailers' string2params and params2string functions.
59 2003-07-23 Angus Leeming <leeming@lyx.org>
61 * insetexternal.[Ch]: store the external file name in a FileName
62 member variable rather than a string + associated changes.
64 2003-07-21 Angus Leeming <leeming@lyx.org>
66 * insetgraphicsParams.[Ch]: store the graphics file name in
67 a FileName member variable rather than a string.
70 * insetgraphicsParams.[Ch]: Associated changes.
72 2003-07-21 Angus Leeming <leeming@lyx.org>
74 * insetgraphics.[Ch] (string2params, params2string): passed a
78 2003-07-21 Angus Leeming <leeming@lyx.org>
81 * insetgraphicsParams.[Ch]:
83 * renderers.C: use namespace lyx::graphics rather than grfx shortcut.
85 2003-07-21 Martin Vermeer <martin.vermeer@hut.fi>
87 * insetnote.C: fixed greyout and conditionals layout foul-ups.
89 2003-07-18 André Pönitz <poenitz@gmx.net>
96 * updatableinset.[Ch]: remove unneeded Inset::getMaxWidth()
98 2003-07-18 André Pönitz <poenitz@gmx.net>
102 * insetcollapsable.C:
106 * insetgraphics.[Ch]:
107 * insetlatexaccent.[Ch]:
112 * insetspecialchar.C:
115 * updatableinset.C: two-phase-drawing for InsetText & InsetTabular
117 2003-07-17 André Pönitz <poenitz@gmx.net>
119 * insetcollapsable.C:
121 * insettext.C: don't call Inset::update() anymore
124 * insettabular.[Ch]: remove unneeded in_update_ members
126 * insettext.[Ch]: remove unneeded InsetText::old_max_width member
128 2003-07-16 André Pönitz <poenitz@gmx.net>
130 * insettext.C (selectAll): remove
132 2003-07-16 John Levon <levon@movementarian.org>
135 * insetnote.C: implement showInsetDialog()
137 2003-07-15 André Pönitz <poenitz@gmx.net>
140 * insettext.C: refresh_status tristate -> need_update bool
142 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
144 * insettext.C: adjust call to LyXText::init
146 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
148 * insettext.C: use bufferview_funcs->replaceSelection()
149 to delete selections in some cases (bugs 441, 673, 702, 954).
151 2003-07-14 André Pönitz <poenitz@gmx.net>
153 * insettext.C (draw): use slimmed down rowpainter interface
155 2003-07-14 André Pönitz <poenitz@gmx.net>
157 * insetcollapsable.C:
159 * insettext.[Ch] (cy, ciy, setUpdateStatus):
160 remove unused BufferView * argument
162 2003-07-14 André Pönitz <poenitz@gmx.net>
164 * insettext.[Ch]: used cached metrics a bit more
166 2003-07-10 Alfredo Brauntein <abraunst@libero.it>
168 * insettabular.[Ch]: invalidate InsetTabular::view(), added buffer()
170 2003-07-10 André Pönitz <poenitz@gmx.net>
173 * insettext.[Ch]: remove InsetText::InnerCache, clean up consequences
175 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
177 * introduce namespace lyx::graphics
179 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
181 * introduce namespace lyx::support
183 2003-06-30 André Pönitz <poenitz@gmx.net>
185 * insetcite.C (localDispatch): fix case of missing return value
187 * insetcite.C (ascii): remove unneeded temporary
189 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
191 * insetspace.h: fix \file
193 * insetbibtex.C (fillWithBibKeys): use std:: on stdlib types
194 * insetinclude.C (fillWithBibKeys): ditto
196 * insetbibitem.C: fix type const order
198 * inset.C (getLyXText): add varname for arg
200 * ExternalTemplate.h: fix type const order
202 2003-06-27 André Pönitz <poenitz@gmx.net>
204 * insettext.C: take care of removed LyXCursor::row_ member
206 * insettext.[Ch]: use new TextCursor struct for sstate
208 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
210 * inseterror.[Ch]: removed
212 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
214 * insetinclude.C (docbook): use parseError instead of sgmlError
216 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
218 * insetinclude.C (loadIfNeeded): call ::loadLyXFile instead
219 of BufferList::loadLyXFile
221 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
223 * insettext.C (update): simplify
224 (updateLocal): remove commented code
225 (insetUnlock): simplify
226 (lockInset): simplify
227 (updateInsetInInset): simplify
228 (localDispatch): simplify
230 (resizeLyXText): simplify
231 (collapseParagraphs): simplify
233 * insetert.C (get_new_label): simplify
235 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
237 * insettext.C (localDispatch): handle arg to LFUN_PASTE, call
238 pasteSelection with index
240 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
242 * insettext.C (localDispatch): fix call to cutSelection for LFUN_CUT
244 2003-06-16 André Pönitz <poenitz@gmx.net>
246 * insetbase.h: new virtual base function clone()
248 * *inset*.[Ch]: IU of clone() and getLabelList (i.e. essentially
249 Inset * clone() -> InsetBase * clone()
251 2003-06-13 André Pönitz <poenitz@gmx.net>
253 * insettabular.[Ch]: make tabular a proper member
255 2003-06-12 André Pönitz <poenitz@gmx.net>
257 * insettabular.[Ch]: some renaming plus whitespace
259 2003-06-11 Angus Leeming <leeming@lyx.org>
261 * Makefile.am: remove graphicinset.[Ch], insetbutton.[Ch].
264 * insetbutton.[Ch]: removed.
265 * graphicinset.[Ch]: renamed as renderers.[Ch].
267 * renderers.[Ch]: new files. Rename GraphicsInset as GraphicsRenderer.
268 Create a new class ButtonRenderer using the InsetButton::metrics() and
270 Derive both from a common RenderedInset base class.
273 * insetinclude.[Ch]: derive from Inset, not InsetButton.
274 Give it a ButtonRenderer member variable. Use it.
275 Give the classes working copy c-tors.
276 No longer derive from boost::noncopyable.
278 * insetexternal.[Ch]: enable the inset to choose dynamically whether to
279 display its contents as a button or as a graphic.
281 * insetgraphic.[Ch]: changes due to the change in name GraphicInset ->
284 2003-06-11 Angus Leeming <leeming@lyx.org>
286 * insetcite.C (localDispatch): reformat.
288 * insetref.C (localDispatch): enable dialog to be lauched.
290 2003-06-11 John Levon <levon@movementarian.org>
292 * insettabular.C: correctly mark all cells as erased
294 2003-06-11 Angus Leeming <leeming@lyx.org>
296 * insetexternal.[Ch]: InsetExternal::Params no longer stores the
297 ExternalTemplate but its name, templatename. This means that a file
298 containing a reference to an External Template not installed on the
299 current machine will be saved retaining this info rather than inserting
300 the first "valid" template from the list of templates.
302 As a by product, the visual statement that the Template is missing is
305 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
307 * insettext.C (appendParagraphs): remove some commented code.
309 2003-06-10 Angus Leeming <leeming@lyx.org>
311 * graphicinset.[Ch] (view): removed the publicly accessible function to set
314 * insetexternal.[Ch]: move tempname_ into the Params struct.
315 (Params d-tor): new function, to clean-up this temp file.
316 (localDispatch): dispatch LFUN_EXTERNAL_EDIT.
318 (editExternal, doSubstitution): move out of class.
320 2003-06-10 Angus Leeming <leeming@lyx.org>
322 * graphicinset.[Ch] (params): removed.
323 * graphicinset.h (operator=): declared private but not defined.
324 (statusMessage): made private.
326 * insetexternal.[Ch]: graphic_ renamed as renderer_.
328 2003-06-07 John Levon <levon@movementarian.org>
330 * insetert.C (latex): make a newline mean just that not
333 2003-06-07 José Matos <jamatos@fep.up.pt>
335 * insethfill.[Ch] (linuxdoc, docbook): implement output
336 * insetspace.C (linuxdoc, docbook): remove coments as the code
339 2003-06-06 José Matos <jamatos@fep.up.pt>
341 * insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
343 2003-06-06 André Pönitz <poenitz@gmx.net>
345 * insetwrap.[Ch]: code compactification
347 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
349 * mailinset.C (updateDialog): use Dialogs::visible
351 2003-06-04 Angus Leeming <leeming@lyx.org>
353 * graphicinset.C (draw): add a comment for the #if 0 block.
355 * insetexternal.h: remove Params::parameters variable.
356 * insetexternal.C (read, write): rewrite to output new ExternalInset format
357 and read it back making full use of LyXLex.
359 2003-06-04 André Pönitz <poenitz@gmx.net>
361 * inset.[Ch]: change owner_ from Inset * to UpdatableInset *
363 2003-06-04 John Levon <levon@movementarian.org>
365 * insettabular.C: back out tall table speed up. It was broken
367 2003-06-03 Angus Leeming <leeming@lyx.org>
369 * ExternalTemplate.[Ch]: add inputFormat and UpdateFormat variables.
370 Remove ViewCommand and UpdateCommand.
372 * graphicinset.C (update): bug fix. Set the params before calling the
374 * graphicinset.[Ch] (view): new method. A bit of a fudge to set the
375 BufferView cache to enable the InsetExternal::editCommand to be invoked
376 from the frontends. Would not be needed if this were dispatched properly.
377 (old_ascent_): variable removed.
379 * insetexternal.[Ch]: large clean-up to use the converter mechanism to
380 do any necessary conversions of external material. Also use the
381 new GraphicsInset to display the inset within LyX.
383 2003-06-03 Angus Leeming <leeming@lyx.org>
385 * graphicinset.[Ch]: new files. Clean up the InsetGraphics::Cache
386 and move it somewhere where InsetExternal can use it too.
388 * Makefile.am: add the new files.
390 * insetgraphics.[Ch]: make use of the new GraphicInset.
392 2003-06-03 John Levon <levon@movementarian.org>
402 * insetexternal.[Ch]:
406 * insetgraphics.[Ch]:
411 * insetlatexaccent.[Ch]:
412 * insetmarginal.[Ch]:
413 * insetminipage.[Ch]:
420 * insetspecialchar.[Ch]:
426 * insetwrap.[Ch]: make clone() not take a Buffer * arg
428 * insetgraphics.[Ch]:
429 * insetgraphicsParams.[Ch]: always store an absolute
432 2003-06-02 André Pönitz <poenitz@gmx.net>
436 * insetlatexaccent.C: remove duplicated call to metrics()
438 2003-06-02 John Levon <levon@movementarian.org>
440 * insettabular.C: fix resize of column width
442 2003-06-02 John Levon <levon@movementarian.org>
447 * insetparent.C: remove insetparent
449 2003-06-02 André Pönitz <poenitz@gmx.net>
456 * insetcollapsable.[Ch]:
460 * insetgraphics.[Ch]:
462 * insetlatexaccent.[Ch]:
463 * insetminipage.[Ch]:
467 * insetspecialchar.[Ch]:
469 * insettext.[Ch]: unify first drawing phase
472 * insetbase.h: move validate() to the base
474 2003-05-31 Angus Leeming <leeming@lyx.org>
476 * Makefile.am: moved insetwrap.[Ch] into alphabetical order.
478 2003-05-30 André Pönitz <poenitz@gmx.net>
484 * insetcollapsable.[Ch]:
487 * insetgraphics.[Ch]:
489 * insetlatexaccent.[Ch]:
493 * insetspecialchar.[Ch]:
496 * updatableinset.[Ch]: unify second drawing phase
498 2003-05-30 John Levon <levon@movementarian.org>
500 * insetgraphics.C: fix a bformat
502 2003-05-29 John Levon <levon@movementarian.org>
504 * insettabular.C: remove unused bufferOwner()
506 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
508 * insettext.C (lockInsetInInset): adjust
509 (getLabelList): use const_iterator, adjust
510 (getInsetFromID): use const_iterator, adjust
511 (addPreview): use const_iterator, adjust
513 * insetwrap.C (clone): remove const_cast
515 * insetnote.C (clone): remove const_cast
517 * insetminipage.C (clone): remove const_cast
519 * insetmarginal.C (clone): remove const_cast
521 * insetfoot.C (clone): remove const_cast
523 * insetfloat.C (clone): remove const_cast
525 * insetert.C (clone): remove const_cast
527 * delete commented same_id functions from a lot of files.
529 2003-05-28 John Levon <levon@movementarian.org>
535 * insettoc.C: fix dispatch of mouse release (bug 1143 and others)
537 * insetminipage.C: fix metrics (bug 1144)
539 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
541 * insettext.C (saveLyXTextState): adjust
542 (restoreLyXTextState): adjust
545 (unlockInsetInInset): adjust
546 (localDispatch): adjust
549 * insettabular.C (insertAsciiString): adjust
551 2003-05-27 André Pönitz <poenitz@gmx.net>
554 * insetcollapsable.C:
557 * insetlatexaccent.C:
562 * insetspecialchar.C:
564 * insettext.C: dim.w -> dim.wid
566 2003-05-26 John Levon <levon@movementarian.org>
568 * insettabular.C: avoid drawing all of a long table
569 if it's not needed. A big speedup
571 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
573 * remove same_id from function signatures, adjust
575 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
577 * insettext.C (InsetText): adjust
579 (setParagraphData): separate same_id cases, adjust
580 (appendParagraphs): adjust
581 (appendParagraphs): adjust
583 2003-05-23 André Pönitz <poenitz@gmx.net>
585 * insetbutton.h: whitespace
587 * insettabular.C: more compact code
589 * updatableinset.C: remove const_cast
592 2003-05-23 Angus Leeming <leeming@lyx.org>
594 * insetexternal.C (write): check how many lines are output.
595 (latex): use the "PDFLaTeX" flavour if outputting to pfdlatex and
596 if the template has defined it.
598 2003-05-23 Angus Leeming <leeming@lyx.org>
600 * insetquotes (validate): use the new LaTeXFeatures::useBabel() method.
602 2003-05-23 Angus Leeming <leeming@lyx.org>
604 * insetfoot.C (latex):
605 * inseturl.C (latex): rename fragile as moving_arg.
607 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
609 * inseterror.C (localDispatch): comment out unused var.
611 2003-05-22 Angus Leeming <leeming@lyx.org>
613 * inset*.[Ch] (latex): no longer has a free_spacing arg. Data is now
614 passed through the LatexRunParams arg.
616 2003-05-22 Angus Leeming <leeming@lyx.org>
618 * inset*.[Ch] (latex): no longer has a fragile arg. Data is now passed
619 through the LatexRunParams arg.
621 * insetquotes.C (latex): accesses use_babel through the LatexRunParams
622 arg rather than through a global var.
624 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
626 * insetspecialchar.C (dimension): use a string.
628 2003-05-22 Angus Leeming <leeming@lyx.org>
630 * insetbibtex.C (latex):
631 * insetgraphics.C (latex):
632 * insetinclude.C (latex): extract the buffer's 'nice'ness from
633 runparams rather than from the buffer itself.
635 2003-05-22 Angus Leeming <leeming@lyx.org>
637 * inset*.[Ch] (latex):
638 passed a LatexRunParams parameter.
640 * insetgraphics.C (latex): actually use it ;-)
642 2003-05-22 Alfredo Braunstein <abraunst@libero.it>
644 * insetfloat.C (addToToc): trivial compile fix
646 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
648 * insettext.[Ch] (paragraph): delete unused function
650 * insetfloat.C (addToToc): parlist simplfication
652 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
654 * insetspace.[Ch]: added (new space insets)
656 * inset.h: handle new space insets
658 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
660 * insetfloat.C (addToToc): adjust
662 2003-05-21 André Pönitz <poenitz@gmx.net>
664 * insettext.[Ch]: fix drawing bug introduced earlier
666 2003-05-19 André Pönitz <poenitz@gmx.net>
668 * insetspecialchar.C: fix bug introduced yesterday
670 2003-05-19 André Pönitz <poenitz@gmx.net>
674 * insetcollapsable.[Ch]:
678 * insetgraphics.[Ch]:
679 * insetgraphicsParams.[Ch]:
680 * insetlatexaccent.[Ch]:
681 * insetminipage.[Ch]:
684 * insetspecialchar.[Ch]:
686 * insettext.[Ch]: dimensions() instead of ascend/descend/width
688 2003-05-19 André Pönitz <poenitz@gmx.net>
691 * insettext.C: more insetenv
693 2003-05-16 André Pönitz <poenitz@gmx.net>
696 * insetminimpage.[Ch]:
697 * insetcollapsable.[Ch]: fix #832
699 2003-05-16 André Pönitz <poenitz@gmx.net>
706 * insetcollapsable.[Ch]:
710 * insetexternal.[Ch]:
711 * insetfloatlist.[Ch]:
712 * insetgraphics.[Ch]:
716 * insetlatexaccent.[Ch]:
723 * updatableinset.[Ch]: edit() -> LFUN_INSET_EDIT
725 2003-05-13 André Pönitz <poenitz@gmx.net>
728 * insetcollapsable.C:
732 * insetwrap.C: tostr from own header
744 * insetwrap.C: STRCONV
747 2003-05-12 André Pönitz <poenitz@gmx.net>
759 * insetwwrap.C: boost::format -> bformat all over the place
761 2003-05-05 André Pönitz <poenitz@gmx.net>
763 * insettext.h: add missing #include <map>
765 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
767 * insettext.C (InsetText): parlist cleanup
772 (lockInsetInInset): ditto
776 (searchBackward): ditto
777 (collapseParagraphs): ditto
779 2003-05-06 John Levon <levon@movementarian.org>
781 * insetcaption.C: don't cast wrap inset to InsetFloat
784 * insetfloat.C: remove unneeded type() function
786 2003-05-05 André Pönitz <poenitz@gmx.net>
791 * insetcollapsable.[Ch]: remove unused function firstParagraph()
792 replace getFirstParagraph() by getParagraphs()
794 2003-05-03 John Levon <levon@movementarian.org>
796 * insetcollapsable.h:
797 * insetcollapsable.C:
803 * updatableinset.C: remove cursor_visible_, showInsetCursor(),
804 hideInsetCursor(), toggleInsetCursor(), isCursorVisible(). Add
805 getCursor(). Remove explicit cursor hides.
807 2003-05-02 André Pönitz <poenitz@gmx.net>
809 * insettext.C: remove unneeded &*
811 2003-04-30 John Levon <levon@movementarian.org>
813 * insettabular.C: fix edit message
815 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
817 * insettext.C (setFont): do not convert iterator -> pointer
819 * insettabular.C (localDispatch): do not convert iterator -> pointer
821 (tabularFeatures): ditto
823 2003-04-29 André Pönitz <poenitz@gmx.net>
825 * inset.h: introduce "haveParagraph" from Lars' parlist-14-b.
827 2003-04-28 André Pönitz <poenitz@gmx.net>
829 * insettext.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
832 2003-04-25 André Pönitz <poenitz@gmx.net>
834 * insetenv.C: derive from InsetText instead of InsetCollapsable
836 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
838 * insetexternal.C (string2params): dont do anything if the string
840 * insetgraphics.C (string2params): ditto
841 * insetcommand.C (string2params): ditto
842 * insetert.C (string2params): ditto
843 * insetfloat.C (string2params): ditto
844 * insetinclude.C (string2params): ditto
845 * insetminipage.C (string2params): ditto
846 * insettabular.C (string2params): ditto
847 * insetwrap.C (string2params): ditto
849 2003-04-24 André Pönitz <poenitz@gmx.net>
851 * insetref.C: support for eqref
853 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
855 * insetert.C (read): use ParagraphList::iterator.
857 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
859 * insetquotes.C (latex): comment some code and add warnings.
861 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
863 * insetexternal.C (localDispatch): added a missing DISPATCHED
865 2003-04-12 John Levon <levon@movementarian.org>
867 * insetwrap.C (addToToc): fix a crash, conversion
868 from while to for loop forgot to remove the explicit
871 2003-04-10 John Levon <levon@movementarian.org>
873 * insettabular.C (tabularFeature): make sure
874 to update the dialog when we change something
877 (getStatus): don't disable some lfuns (bug 939)
879 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
881 * insettext.C (saveLyXTextState): adjust
882 (localDispatch): adjust
888 * insettabular.C (localDispatch): adjust
890 (tabularFeatures): adjust
892 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
894 * insettabular.C (searchForward,searchBackward): fix bug 782
896 2003-04-07 John Levon <levon@movementarian.org>
899 * insettext.C: clear status message on inset exit
901 2003-04-03 John Levon <levon@movementarian.org>
903 * insetcommand.C: return dispatched on DIALOG_UPDATE
905 2003-04-02 John Levon <levon@movementarian.org>
907 * insettabular.C: tab lfuns renamed
909 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
911 * insettext.C (update): move towards ParagraphList
916 (lockInsetInInset): ditto
917 (updateInsetInInset): ditto
918 (localDispatch): ditto
921 (resizeLyXText): ditto
922 (searchBackward): ditto
923 (collapseParagraphs): ditto
926 * insetwrap.C (InsetWrap): adjust
927 (addToToc): adjust and rewrite loop
929 * insettext.[Ch] (paragraph): delete function
931 * insettabular.C (moveNextCell): adjust
932 (movePrevCell): adjust
933 (insertAsciiString): adjust
935 * insetfloat.C (InsetFloat): adjust
938 * insetert.C (InsetERT): adjust
939 (write): adjust, and rewrite loop
940 (latex): adjust, and rewrite loop
941 (linuxdoc): adjust, and rewrite loop
942 (docbook): adjust, and rewrite loop
943 (localDispatch): adjust
944 (get_new_label): adjust
946 2003-04-01 John Levon <levon@movementarian.org>
948 From Alfredo Braunstein
951 * insetbutton.C: add localDispatch()
953 * insetcommand.C: return DISPATCHED when edit() called
955 * insettext.C: fix bug 967
957 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
959 * insettext.C: adjust
961 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
963 * insettext.C (draw): adjust
964 (crow): return a RowList::iterator not a Row*
966 * insetminipage.C (localDispatch): adjust
968 * insetert.C (localDispatch): adjust
970 2003-03-31 John Levon <levon@movementarian.org>
973 * insetgraphicsParams.C: use_gui moved to lyx_gui
975 2003-03-31 John Levon <levon@movementarian.org>
977 * insettext.C: Alert fix
979 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
981 * insettext.C (ascent): adjust for RowList
985 (toggleSelection): adjust
987 * insetminipage.C (localDispatch): adjust for RowList
989 * insetert.C (localDispatch): adjust for RowList
990 (getMaxWidth): adjust for RowList
992 2003-03-29 John Levon <levon@movementarian.org>
994 * insetert.C: Alert cleanup
996 2003-03-29 John Levon <levon@movementarian.org>
998 * insettabular.C: Alert fix
1000 2003-03-28 John Levon <levon@movementarian.org>
1002 * insetfloat.C: reset label on INSET_MODIFY
1004 2003-03-28 John Levon <levon@movementarian.org>
1006 * insetgraphicsParams.C: read subcaptionText as a whole line
1009 2003-03-28 John Levon <levon@movementarian.org>
1011 * insettext.C: remove unused prototypes
1013 2003-03-25 Angus Leeming <leeming@lyx.org>
1015 * insetbibitem.C (localDispatch): repaint the view after modifying
1016 a bibitem inset in case the maximum InsetBibitem width has changed.
1018 2003-03-25 John Levon <levon@movementarian.org>
1021 * insettabular.C: LyXText renamings
1023 2003-03-24 John Levon <levon@movementarian.org>
1025 * insettext.C: remove some dead code. Fix bug 972 and
1026 related by posting a repaint in updateLocal(), and making
1027 the SEL functions set SELECTION.
1029 2003-03-22 John Levon <levon@movementarian.org>
1032 * inset.C: remove no-longer-needed topx_set
1034 * insetcollapsable.h:
1035 * insetcollapsable.C: remove dead code
1038 * insetert.C: rebreak the rows when a possible
1039 change in size is made, and reset the cursor
1042 * insettabular.C: remove topx_set, CHANGED_IN_DRAW
1044 * insettext.C: remove CHANGED_IN_DRAW noticing/handling,
1045 topx_set. Fix drawing errors for clearInset(). Remove
1046 some unnecessary uses of topx, which should die.
1048 * updatableinset.C: fix getMaxWidth() so CHANGED_IN_DRAW
1049 is no longer needed. Replace it with an ugly hack.
1051 2003-03-20 John Levon <levon@movementarian.org>
1054 * insetcollapsable.h:
1055 * insetcollapsable.C:
1063 * insettext.C: remove spurious font parameter
1064 from update(). Fix drawing of ERT insets inside
1065 insets (bug 966). Remove unused mark_dirty from
1066 tabular's updateLocal()
1068 2003-03-19 John Levon <levon@movementarian.org>
1077 * insetwrap.C: remove unused getter/setters
1079 2003-03-19 John Levon <levon@movementarian.org>
1081 * several files: bv->updateInset() doesn't take
1082 a bool mark_dirty any more
1084 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
1086 * adjust for BufferView* arg removal from lyxtext.
1088 2003-03-17 John Levon <levon@movementarian.org>
1090 * most files: remove the "cleared" parameter
1091 to draw in favour of always clearing. Associated
1094 2003-03-16 John Levon <levon@movementarian.org>
1096 * insettext.C: remove unused s.refresh
1098 2003-03-13 Angus Leeming <leeming@lyx.org>
1100 * insettext.C (edit): replace Dialogs::updateParagraph with
1101 BufferView::dispatch(LFUN_PARAGRAPH_UPDATE).
1103 2003-03-13 André Pönitz <poenitz@gmx.net>
1105 * Makefile.am: insert insetenv
1107 * insethenv.[Ch]: new files, currently inactive
1109 2003-03-12 John Levon <levon@movementarian.org>
1119 * insettext.C: use new insetnewline
1121 2003-03-12 John Levon <levon@movementarian.org>
1123 * insettext.C: readToken became readParagraph
1125 2003-03-12 John Levon <levon@movementarian.org>
1127 * insettext.C: use parlist iterator for reading contents
1129 2003-03-12 John Levon <levon@movementarian.org>
1131 * insettext.C: name change to readToken()
1133 2003-03-11 André Pönitz <poenitz@gmx.net>
1135 * Makefile.am: insert insethfill
1137 * insethfill.[Ch]: new files
1139 2003-03-10 Angus Leeming <leeming@lyx.org>
1141 * mailinset.[Ch] (showDialog, updateDialog): now take a mandatory
1143 (hideDialog): calls the new static Dialogs::hide() method.
1145 * insetbibitem.C (edit):
1146 * insetbibtex.C (edit):
1147 * insetcite.C (edit):
1148 * insetcommand.C (localDispatch):
1149 * inseterror.C (d-tor):
1150 * insetert.C (showInsetDialog):
1151 * insetexternal.C (localDispatch, edit):
1152 * insetfloat.C (localDispatch, showInsetDialog):
1153 * insetfloatlist.C (edit):
1154 * insetgraphics.C (localDispatch, edit):
1155 * insetinclude.C (localDispatch, edit):
1156 * insetindex.C (edit):
1157 * insetlabel.C (edit):
1158 * insetminipage.C (localDispatch, showInsetDialog):
1159 * insetref.C (edit):
1160 * insettabular.C (unlockInsetInInset, lfunMouseRelease, localDispatch,
1161 resetPos, showInsetDialog, openLayoutDialog):
1162 * insettoc.C (edit):
1163 * inseturl.C (edit):
1164 * insetwrap.C (localDispatch, showInsetDialog):
1165 changes due to the changed MailInset interface.
1167 2003-03-10 Dekel Tsur <dekelts@tau.ac.il>
1169 * insetfloat.h: Set default placement to an empty string.
1171 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
1173 * insettext.C (latex): adjust call to latexParagraphs.
1175 2003-03-10 Angus Leeming <leeming@lyx.org>
1177 * mailinset.C: warn the user if the BufferView has not been cached.
1179 2003-03-10 Angus Leeming <leeming@lyx.org>
1181 * inset.h, insetbase.h: move cache() and view() into InsetBase.
1183 * insetcommand.h (inset):
1184 * insetert.h (inset):
1185 * insetexternal.h (inset):
1186 * insetfloat.h (inset):
1187 * insetgraphics.h (inset):
1188 * insetinclude.h (inset):
1189 * insetminipage.h (inset):
1190 * insettabular.h (inset):
1191 * insetwrap.h (inset):
1192 * mailinset.h (inset): return an InsetBase &, not an Inset &.
1194 2003-03-10 Angus Leeming <leeming@lyx.org>
1196 * insetcommand.C (string2params):
1197 * insetexternal.C (string2params):
1198 * insetfloat.C (string2params):
1199 * insetgraphics.C (string2params):
1200 * insetinclude.C (string2params):
1201 * insetminipage.C (string2params):
1202 * insettabular.C (string2params):
1203 * insetwrap.C (string2params): cure warning message about missing
1206 2003-03-09 Angus Leeming <leeming@lyx.org>
1208 * insettabular.[Ch]: define a new class InsetTabularMailer and use
1209 it to communicate with the frontend dialogs.
1211 * mailinset.C (hideDialog): only hide the dialog if it is showing the
1212 contents of this inset!
1214 2003-03-07 Angus Leeming <leeming@lyx.org>
1216 * inseterror.C (localDispatch): new method; calls edit() on
1219 2003-03-07 Angus Leeming <leeming@lyx.org>
1221 * insetbibitem.C (localDispatch):
1222 * insetbibtex.C (localDispatch):
1223 * insetlabel.C (localDispatch):
1224 rewrite as a switch.
1226 2003-03-07 Angus Leeming <leeming@lyx.org>
1228 * insetgraphics.[Ch]: define a new class InsetGraphicsMailer and use
1229 it to communicate with the frontend dialogs.
1231 2003-03-07 Angus Leeming <leeming@lyx.org>
1233 * insetexternal.C: remove operator== and operator!= for
1234 InsetExternal::Params. They were used only by the old controller
1237 2003-03-07 Angus Leeming <leeming@lyx.org>
1239 * insetcommand.C (localDispatch):
1240 * insetexternal.C (localDispatch):
1241 * insetfloat.C (localDispatch):
1242 * insetinclude.C (localDispatch):
1243 * insetminipage.C (localDispatch):
1244 * insetwrap.C (localDispatch):
1245 add LFUN_INSET_DIALOG_UPDATE to the switch.
1247 2003-03-07 Angus Leeming <leeming@lyx.org>
1249 * insetcommand.C (string2params):
1250 * insetexternal.C (string2params):
1251 * insetfloat.C (string2params):
1252 * insetinclude.C (string2params):
1253 * insetwrap.C (string2params): use LyXLeX more.
1256 * insetexternal.[Ch]:
1258 * insetinclude.[Ch]:
1259 * insetwrap.[Ch]: change Mailer::name_ to be static.
1261 * insetminipage.[Ch]: define a new class InsetMinipageMailer and use
1262 it to communicate with the frontend dialogs.
1264 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
1267 * insettabular.C: use LyXText::top_y() instead of LyXText::first_y
1269 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1271 * insettext.C (updateLocal): un-const function
1272 (updateLocal): adjust
1273 (collapseParagraphs): un-const function
1274 (collapseParagraphs): adjust
1276 2003-03-05 Angus Leeming <leeming@lyx.org>
1278 * insetwrap.[Ch]: define a new class InsetWrapMailer and use
1279 it to communicate with the frontend dialogs.
1281 2003-03-05 Angus Leeming <leeming@lyx.org>
1283 * insetcollapsable.C (draw): cache the BufferView.
1285 * insetfloat.[Ch]: define a new class InsetFloatMailer and use
1286 it to communicate with the frontend dialogs.
1288 2003-03-05 Angus Leeming <leeming@lyx.org>
1290 * insetfloat.[Ch]: move the params into a separate InsetFloatParams
1293 2003-03-05 Angus Leeming <leeming@lyx.org>
1295 * insetcommandparams.[Ch] (getAsString, setFromString): remove.
1297 * insetinclude.[Ch]: define a new class InsetIncludeMailer and use
1298 it to communicate with the frontend dialogs.
1300 2003-03-05 Angus Leeming <leeming@lyx.org>
1302 * insetexternal.[Ch]: define a new class InsetExternalMailer and use
1303 it to communicate with the frontend dialogs.
1305 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1307 * insettext.C (collapseParagraphs): adjust
1308 (appendParagraphs): make it take a Buffer* instead of a
1309 BufferParams& as arg.
1310 (appendParagraphs): adjust
1312 2003-03-04 Angus Leeming <leeming@lyx.org>
1314 * insetbibitem.C (localDispatch):
1315 * insetbibtex.C (localDispatch):
1316 * insetcommand.C (localDispatch):
1317 * insetert.C (localDispatch):
1318 * insetlabel.C (localDispatch):
1319 handle LFUN_INSET_MODIFY, not LFUN_INSET_APPLY.
1321 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1323 * insettext.C (latex): adjust for ParagraphList::iterator
1325 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
1327 * insetbutton.C (view): adjust for boost 1.30.0
1328 * insetcollapsable.C (view): ditto
1329 * insetgraphics.C (statusChanged): ditto
1331 * insettext.h: move paragraphs to be public.
1333 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1335 * insetnote.[Ch] (InsetNote): remove unused constructor
1337 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
1339 * insetgraphics.C: added include "format.h"
1341 2003-02-27 Angus Leeming <leeming@lyx.org>
1343 * indexlabel.C: use a real, LyX dialog rather than that nasty Alert
1346 2003-02-27 Angus Leeming <leeming@lyx.org>
1348 * insetbibitem.C (localDispatch):
1349 * insetbibtex.C (localDispatch):
1352 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
1354 2003-02-26 Angus Leeming <leeming@lyx.org>
1356 * insetbibitem.[Ch] (localDispatch):
1357 * insetbibtex.[Ch] (localDispatch):
1358 new method. Modify inset on receipt of LFUN_XYZ_APPLY.
1360 * insetcommand.C (localDispatch):
1361 act only on receipt of LFUN_XYZ_APPLY.
1363 * insetert.C (localDispatch): reformat.
1364 add LFUN_XYZ_APPLY to the switch.
1366 2003-02-26 John Levon <levon@movementarian.org>
1368 * insettext.C: use RowPainter
1370 * inset.h: make helpers take const *
1372 2003-02-26 Angus Leeming <leeming@lyx.org>
1374 * insetcommand.[Ch] (localDispatch): new method.
1376 2003-02-26 Angus Leeming <leeming@lyx.org>
1378 * insetinclude.C (draw): cache the BufferView* using cache not
1379 PreviewImpl::setView
1381 2003-02-26 Alfredo Braunstein <abraunst@libero.it>
1383 * insetgraphics.C (draw)
1384 * insetinclude.C (draw): Eliminate also the other argument (owner
1385 inset inset) in the call to PreviewImage::image
1387 2003-02-25 Alfredo Braunstein <abraunst@libero.it>
1389 * insetgraphics.C (draw)
1390 * insetinclude.C (draw): Eliminate Buferview argument in call to
1393 2003-02-25 John Levon <levon@movementarian.org>
1395 * insetgraphicsParams.h:
1396 * insetgraphics.C: don't start a load process if
1397 the inset is set to NoDisplay (bug #920)
1399 2003-02-22 John Levon <levon@movementarian.org>
1402 * insetwrap.C: TocItem changed API (bug 913)
1404 2003-02-21 Angus Leeming <leeming@lyx.org>
1406 * insetcollapsable.[Ch] (cache, edit):
1407 * insetbutton.[Ch] (cache, edit): new methods to cache the
1408 BufferView in the draw method.
1410 * insetcommand.[Ch]: implement a new class, InsetCommandMailer, to
1411 simplify comunication between InsetCommand-derived classes and
1414 * insetbibitem.[Ch]:
1418 * insetfloatlist.[Ch]:
1422 * inseturl.[Ch]: small changes to reflect the new interface to the
1425 * mailinset.[Ch]: new files. Base class to InsetCommandMailer and
1426 other, similar classes.
1428 * Makefile.am: add new files.
1430 2003-02-21 Angus Leeming <leeming@lyx.org>
1432 * updatableinset.h (setView, view): remove.
1433 * inset.h (view, cache): to be replaced by these.
1435 * insetbib.[Ch]: removed, to be replaced by insetbibitem.[Ch] and
1438 * Makefile.am: replace insetbib.[Ch] with insetbibitem.[Ch] and
1441 * inset.h: change BIBKEY_CODE to BIBITEM_CODE.
1443 2003-02-21 Allan Rae <rae@lyx.org>
1445 * insetinclude.C (loadIfNeeded): ensure loading also works when
1446 child document is under version control.
1448 2003-02-17 André Pönitz <poenitz@gmx.net>
1450 * insetbib.[Ch]: Adjust access to bibkeys
1452 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1454 * insetquotes.C (dispString): remove use of acute accent for "'"
1457 2003-02-14 John Levon <levon@movementarian.org>
1459 * insettabular.C: changed method names in tabular.C
1461 2003-02-14 John Levon <levon@movementarian.org>
1465 * insetcollapsable.h:
1466 * insetcollapsable.C:
1470 * insettext.C: remove unused getParFromID()
1472 2003-02-13 John Levon <levon@movementarian.org>
1475 * insettext.C: remove unused beginningofMainBody()
1477 2003-02-08 John Levon <levon@movementarian.org>
1481 * insetcollapsable.h:
1482 * insetcollapsable.C:
1487 add nextChange(). Make allowSpellcheck() const. Add markErased().
1489 * insetert.C: ignore deleted text
1491 * insettabular.C: make sure to keep change tracking working
1494 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
1499 * insettext.C: Use error messages with identical spelling and punctuation
1501 2003-01-12 Michael Schmitt <michael.schmitt@teststep.org>
1503 * insetgraphics.C (draw, width): Fix spacing around graphics inset
1505 2002-12-17 Juergen Vigna <jug@lyx.org>
1507 * insettext.C (localDispatch): hopefully fixed cursor up down
1508 movement on leaving other insets.
1510 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
1512 * insettext.C: fix inconsistent usage of spaces, colons, capitalization,
1515 2002-12-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1517 * insetgraphics.C (prepareFile): do not remove the extension of
1518 the file name if it is not the default extension for the given
1519 format (that is, in latex output, remove extension from foo.eps,
1520 but not from foo.epsi)
1522 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
1524 * insettext.C (lfunMouseRelease): hackish solution to the "double
1527 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
1529 * insetfloat.C (addToToc): use the floats name not its type
1530 * insetwrap.C (addToToc): ditto
1532 2002-12-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1534 * insetnote.C (init): make label font smaller
1536 2002-12-04 John Levon <levon@movementarian.org>
1538 * insetinclude.C: ressurect setting of command name
1540 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
1542 * insetquotes.C (dispString): disambiguate insert call
1544 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1546 * several files: ws changes
1548 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
1550 * insetquotes.C (dispString): use string::insert for prepending a
1553 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1555 * insetparent.C (getScreenLabel): use boost::format
1557 * insetgraphics.C (prepareFile): use boost::format
1560 * insetfloatlist.C (latex): use boost::format
1562 * insetcaption.C (draw): use boost::format
1564 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
1566 * insettabular.C (tabularFeatures): Support for block alignment in fixed width
1569 2002-11-20 Juergen Vigna <jug@sad.it>
1571 * insettabular.C (resetPos): temporary fix for endless loop in
1572 this function on a redraw.
1574 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
1576 * insettabular.C (copySelection): STRCONV
1578 * insetinclude.C (uniqueID): STRCONV
1579 (latexString): ditto
1581 * insetgraphics.C: put VersionNumber inside anon namespace
1582 (createLatexOptions): STRCONV
1584 * insetcommandparams.C: include config.h
1586 2002-10-31 Rob Lahaye <lahaye@snu.ac.kr>
1588 * insetgraphicsParams.C (Write): use lyx::float_equal.
1589 Write height data correctly.
1590 (Read): zero scale when reading height data.
1592 2002-10-30 John Levon <levon@movementarian.org>
1594 * insetfloat.C (addToTOC): recursively traverse all
1595 contents looking for captions (fix #568)
1597 2002-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1599 * insetexternal.C (doSubstitution): do not try to replace
1600 environment variables, this is done when executing the command
1602 2002-10-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1604 * insetexternal.C (doSubstitution): change order of substitution
1605 to work around ReplaceEnvironmentPath brokenness
1607 2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
1609 * insetgraphicsParams.h (scale): is now a float, not an unsigned int.
1611 * insetgraphicsParams.C (init, Write): associated changes
1612 * insetgraphics.C (createLatexOptions): use lyx::float_equal with
1613 InsetGraphicsParams::scale.
1615 2002-10-21 John Levon <levon@movementarian.org>
1617 * inset.h: remove unused DISPATCH_RESULT
1619 * insettext.C: sgml open/close tag now in sgml namespace
1621 2002-10-21 Angus Leeming <leeming@lyx.org>
1623 * insetgraphics.C (draw): Fix the drawing of an inset with a relative
1624 file path subdir/fig.eps when pasting it into a buffer in a different
1627 2002-10-16 John Levon <levon@movementarian.org>
1629 * insetspecialchar.C: remove \\protected_separator parsing
1631 2002-09-25 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1633 * insetquote.C: fix LaTeX output of quotation marks.
1635 2002-10-14 Juergen Vigna <jug@sad.it>
1637 * insettext.C (localDispatch): remove double setUndo in Cut/Delete/
1638 Backspace functions which confused the Undo handling.
1640 2002-10-09 Angus Leeming <leeming@lyx.org>
1642 * insetcite.[Ch] (setLoadingBuffer): new method, invoked by
1643 BufferView::dispatch that turns off this optimisation when a new inset
1646 * insetcite.C (getNatbibLabel): correct logic of when and when not to
1647 reload the BibTeX keys.
1649 2002-10-11 André Pönitz <poenitz@gmx.net>
1651 * insettext.h: handle LFUN_PRIOR/NEXT
1653 2002-07-30 Juergen Spitzmueller <j.spitzmueller@gmx.de>
1655 * insetfloat.C: fix bug with float settings
1656 (document default != float default).
1658 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
1660 * insetwrap.C (addToToc): New method.
1661 (InsetWrap): Set layout to caption.
1663 2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
1665 * Makefile.am (INCLUDES): loose SIGC_INCLUDES
1667 2002-09-16 John Levon <levon@movementarian.org>
1669 * insettabular.h: hasSelection() needs to be public
1671 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
1673 * insetgraphicsParams.C: use empty string as default for rotateOrigin
1675 2002-09-10 Rob Lahaye <lahaye@snu.ac.kr>
1677 * insetgraphicsParams.C: use empty string as default for rotateOrigin
1679 2002-09-11 André Pönitz <poenitz@gmx.net>
1681 * insettabular.C: implement LFUN_WORDSEL
1683 2002-09-10 John Levon <levon@movementarian.org>
1685 * insetinclude.h: remove unused param
1687 2002-09-09 John Levon <levon@movementarian.org>
1690 * insetinclude.C: remove noload, default to input
1692 2002-09-29 Martin Vermeer <martin.vermeer@hut.fi>
1694 * insetgraphics.C: disfuscated use of ']' in built output string.
1696 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
1698 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code.
1700 2002-08-29 Juergen Vigna <jug@sad.it>
1702 * insettabular.C (lfunMousePress): Pay attention where you set
1703 the x/y values as they depend on which inset in the tabular is
1704 actually locked. So you surely have to reset them if you (un)lock
1707 2002-08-29 André Pönitz <poenitz@gmx.net>
1709 * insetfootlike.h: rename include guard to ALL CAPS
1711 * insettext.C: swap object and first parameter for checkInsetHit calls
1712 as this functions has moved from BufferView to LyXText
1715 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
1717 * insetgraphicsParams.C: remove local displayTranslator and use
1718 the one from graphics/GraphicsTypes.h.
1720 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1722 * insetfloat.C (wide): add BufferParams parameter
1724 * insetfloatlist.C (read):
1727 * insetfloat.C (latex):
1729 * insetcaption.C (draw): use LyXTextClass::floats()
1731 2002-08-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
1733 * insetoptarg.h: add std:: qualifier.
1735 2002-08-26 Juergen Vigna <jug@sad.it>
1737 * insettext.C (localDispatch): ditto.
1739 * insettabular.C (localDispatch): fixed mouse pressing lfuns.
1741 2002-08-25 John Levon <levon@movementarian.org>
1743 * inseturl.C: elide long URLs (bug 404)
1745 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
1747 * insetgraphics.[Ch]: remove InsetGraphics::readFigInset()
1748 remove "Format Version <version_no.>" string from inset header
1751 * insetgraphicsParams.[Ch]: Implement new graphics dialog
1753 * insetgraphicsParams.C: keepLyXAspectRatio, width and height are not
1754 a member of "grfx::Params" anymore.
1756 * insetminipage.C: apply changes to "enum UNIT" in src/lyxlength.h
1758 2002-08-24 John Levon <levon@movementarian.org>
1761 * insetoptarg.C: ws, pedantry ...
1763 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
1765 * insettext.C (collapseParagraphs): pasteParagraph now in global
1767 (appendParagraphs): ditto
1769 2002-08-21 Dekel Tsur <dekelts@tau.ac.il>
1771 * insetcite.C (latex): Remove spaces only after commmas.
1773 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
1775 * insettext.C: remove NO_COMPABILITY stuff
1777 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
1779 * insettext.C (edit): use ParagraphList iterators
1781 * insetbib.C (bibitemMaxWidth): use ParagraphList iterators
1782 (bibitemWidest): ditto
1784 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1786 * insettext.C: include <boost/bind.hpp>
1787 add using std::for_each
1788 (saveLyXTextState): use ParagraphsList::iterator
1789 (init): use for_each on paragraphlist iterators
1790 (InsetText): remove superflous setting cached_bview to 0
1791 (latex): reformat a bit
1792 (ascii): use paragraphlist iterators
1793 (validate): use for_each + boost bind
1794 (getLabelList): use paragraphlist iterators
1795 (deleteLyXText): use for_each + boost::bind
1796 (resizeLyXText): ditto
1797 (reinitLyXText): ditto
1798 (removeNewlines): use paragraphlist iterators
1799 (getParFromID): ditto
1800 (paragraph): use for_each + boost::bind
1801 (getInsetFromID): use paragraphlist iterators
1802 (getLabelList): typo fix
1804 2002-08-14 Lars Gullik Bjønnes <larsbj@gullik.net>
1806 * insettext.C (read): assign tmp to paragraphs after return from
1807 call to parseSingleLyXformat2Token
1810 2002-08-13 Angus Leeming <leeming@lyx.org>
1829 changes due to the changed LyXView interface that now returns references
1830 to member variables not pointers.
1832 2002-08-13 Angus Leeming <leeming@lyx.org>
1835 * insetcollapsable.h:
1838 * insettext.h: forward-declare WordLangTuple
1839 (selectNextWordToSpellcheck) constify return type.
1842 * insetcollapsable.C:
1845 * insettext.C: #include "WordLangTuple.h" and rearrange included files.
1847 2002-08-12 Angus Leeming <leeming@lyx.org>
1849 * insetgraphicsParams.C: fix reading of lyxsize_type in 1.2.0 documents.
1851 2002-08-12 Juergen Vigna <jug@sad.it>
1853 * insetcollapsable.C (edit): ignore if entered when pressing mouse
1856 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
1858 * insetbib.C (bibitemMaxWidth): ParagraphList changes
1859 (bibitemWidest): ditto
1860 * insettext.[Ch]: ditto
1862 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
1864 * insettext.C, insetert.C: use Paragraph::empty where appropriate
1866 2002-08-09 Angus Leeming <leeming@lyx.org>
1868 * insetinclude.C (latexString): remove fudge now that I've found out
1869 how to enable LaTeX to find the file using input@path.
1871 2002-08-09 John Levon <levon@movementarian.org>
1874 * insettext.C: remove unused xpos
1876 2002-08-07 Juergen Vigna <jug@lyx.org>
1878 * insettabular.C (localDispatch): make delete not put the stuff
1879 in the clipboard only do this on a cut operation.
1881 * insettext.C (localDispatch): make delete and backspace not put
1882 selected stuff to the clipboard.
1884 2002-08-07 André Pönitz <poenitz@gmx.net>
1887 * insetcollapsable.[Ch]:
1891 * insettabular.[Ch]:
1892 * insettext.[Ch]: change (kb_action, arg) pair into a FuncRequest
1894 2002-08-06 John Levon <levon@movementarian.org>
1898 * insetcollapsable.h:
1899 * insetcollapsable.C:
1905 * insettext.C: use WordLangTuple for spellcheck
1907 2002-08-06 Angus Leeming <leeming@lyx.org>
1909 * insetinclude.C: add a monitor to the previewed image, so that the
1910 image is refreshed if the \input-ed file changes.
1912 2002-08-04 John Levon <levon@movementarian.org>
1915 * insetnote.h: s/IGNORE_CODE/NOTE_CODE/
1917 2002-08-02 Angus Leeming <leeming@lyx.org>
1919 * insetcommandparams.[Ch] (preview): new methods returning and setting
1920 a new bool preview_ flag.
1921 (read): read this flag.
1922 (operator==): add flag to check.
1924 * insetinclude.C (write): output new preview() flag.
1925 (previewWanted): use this flag.
1927 2002-08-02 Angus Leeming <leeming@lyx.org>
1929 * insetcollapsable.[Ch] (addPreview):
1930 * insettabular.[Ch] (addPreview):
1931 * insettext.[Ch] (addPreview): new methods. Can now generate previews
1932 for insets in insets.
1934 2002-08-02 Angus Leeming <leeming@lyx.org>
1936 * insetcite.C: fix typo.
1938 * insetgraphics.C: kill current_view and instead cache the BufferView
1941 * insetinclude.C: kill current_view and pass the BufferView to the
1942 PreviewedInset so that it can cache it.
1944 2002-08-01 Angus Leeming <leeming@lyx.org>
1946 * inset.h (generatePreview): renamed as addPreview.
1947 (generatePreview): new method. Allows code to be moved out of
1948 math_nestinset.C and into the new PreviewedInset class.
1950 * insetinclude.[Ch] (ascent, descent, width, draw, addPreview):
1951 add previews to the inset when \input-ing LaTeX.
1953 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
1955 * several files: strip,frontStrip -> trim,ltrim,rtrim
1957 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
1959 * insetbib.C (latex): modify because of strip changes
1961 * insetnote.C (InsetNote): ditto
1963 2002-07-26 Juergen Vigna <jug@sad.it>
1965 * insettabular.C (searchForward): check for lastcell if we
1966 had a locking inset.
1968 2002-07-25 Juergen Vigna <jug@sad.it>
1970 * insettabular.C (insetMotionNotify): Don't update the screen
1971 if we didn't do nothing.
1972 (searchForward): last cell was not checked.
1974 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
1976 * insetfloat.C (read, write): Allow default placement
1977 (floatPlacement_ is empty).
1979 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1981 * insetminipage.h (noFontChange):
1982 * insettabular.h (noFontChange):
1983 * insetfootlike.h (noFontChange):
1984 * insetfloat.h (noFontChange): return true
1986 * inset.h (noFontChange): new method, defaulting to false
1988 2002-07-22 Herbert Voss <voss@lyx.org>
1990 * insetgraphicsParams.[Ch]: support size_type for old docs
1992 2002-07-22 Herbert Voss <voss@lyx.org>
1995 * insetgraphicsParams.[Ch]: change size_type to size_kind and
1998 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2000 * insettext.h: do not include "paragraph.h" and "lyxcursor.h"
2002 * insetlatexaccent.h: do not include "lyxlex.h"
2004 * insetgraphicsParams.h: do not include "lyxlex.h" and "buffer.h"
2007 * insetlatexaccent.C:
2011 * insetbib.C: #include "lyxlex.h"
2017 * insettext.C: use BufferParams::getLyXTextClass
2020 * insetfloat.C (addToToc): new method. Add to toclist the entries
2021 corresponding to Caption layouts
2022 (InsetFloat): when creating a new float, set the layout to "Caption"
2024 2002-07-21 Herbert Voss <voss@lyx.org>
2026 * insetgraphicsParams.C: fet the keepLyXAspectRatio run. Move the
2027 image relevant part into graphics/GraphicsImgae.C
2029 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2031 * insettoc.C (ascii):
2032 * insetfloatlist.C (ascii): change to use the new Toc functions
2033 instead of stuff that was in Buffer
2035 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2037 * insettext.C (localDispatch): BufferView::Dispatch has been
2038 renamed to BufferView::dispatch
2040 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2042 * insetgraphicsParams.C (as_grfxParams): use the new
2043 keepLyXAspectRatio parameter. Note that this is an adaptation of a
2044 1.2.0 patch, and I do not really know how to adapt it to the new
2045 grfx::Cache world. Angus, please could you have a look?
2047 2002-05-01 Herbert Voss <voss@lyx.org>
2049 * insetgraphicsParams.[Ch]: define a new keepLyXAspectRatio parameter.
2051 2002-07-18 Angus Leeming <leeming@lyx.org>
2053 * insetgraphics.C: clean-up comments (from Herbert).
2054 add a new checksum variable to the cache. Use it in PrepareFile.
2055 (draw): start monitoring the file for a change.
2056 (prepareFile): re-arrange a little to avoid unnecessary steps.
2058 2002-07-17 Angus Leeming <leeming@lyx.org>
2060 * insetgraphics.C (Cache c-tor): bind to the GraphicsLoader through
2061 a method rather than to the signal directly.
2063 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
2065 * insettext.C: use view_state_changed, switchKeyMap
2067 2002-07-17 Herbert Voss <voss@perce.de>
2069 * insetgraphics.C (prepareFile): keep the extension when
2070 exporting to nice file
2072 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2074 * insetcite.C (getNatbibLabel):
2075 * insetbib.C (getKeys): use ascii_lowercase instead of lowercase
2077 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
2079 * insetgraphics.C: use ->isDrawable()
2081 2002-07-12 Angus Leeming <leeming@lyx.org>
2083 * insetgraphics.C: use the new smart loading capabilities of the image
2086 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
2088 * insettabular.C (edit): Move into correct cell when entering a
2091 * insettext.C (unlockInsetInInset): Correct cursor behaviour for
2094 2002-07-05 Angus Leeming <leeming@lyx.org>
2096 * inset.h (generatePreview): new virtual method.
2098 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2100 * insetcommandparams.[Ch] (operator=): move out of class
2101 (operator!): move out of class
2103 2002-07-04 André Pönitz <poenitz@gmx.net>
2105 * insetcommandparams.[Ch]: new files
2107 * insetcommand.[Ch]: move code to insetcommandparams.[Ch]
2109 2002-06-15 Herbert Voss <voss@perce.de>
2111 * insetgraphics.C (prepareFile): bugfix; return always
2112 files without extension
2114 2002-06-28 Angus Leeming <leeming@lyx.org>
2116 * insetgraphicsParams.[Ch]: forward declare grfx::Params.
2117 rename asGParams -> as_grfxParams.
2119 * insetgraphics.C: reflect above change.
2121 2002-06-26 Angus Leeming <leeming@lyx.org>
2123 * insetgraphics.h: use boost::scoped_ptr in preference to
2126 2002-06-26 Angus Leeming <leeming@lyx.org>
2128 * insetgraphics.C: moved the image loading stuff into a new class
2129 grfx::Loader. Simplifies this file enormously.
2131 * insetgraphics.h: no longer #include "graphics/GraphicsTypes.h".
2133 * insetgraphicsParams.C: changes aassociated with moving
2134 grfx::DisplayType out of grfx::GParams.
2136 2002-06-26 André Pönitz <poenitz@gmx.net>
2138 * insetgraphics.C: use os::external_path where necesaary according to a
2139 patch from Claus Hentschel)
2141 2002-06-25 Angus Leeming <leeming@lyx.org>
2143 * insetgraphics.[Ch]: The inset now assumes the responsibility for
2144 generating a pixmap once the graphics file is loaded into memory.
2145 The current_view ugliness that was in grfx::ModifiedImage has been
2146 moved here now that grfx::ModifiedImage is no more.
2148 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
2150 * insettext.C: layout as layout
2152 2002-05-28 André Pönitz <poenitz@gmx.net>
2154 * insetfloatlist.h: remove source of compiler warning
2156 * insetref.C: tiny whitespace
2158 2002-06-15 Herbert Voss <voss@perce.de>
2160 * insetgraphics.C: (prepareFile) fix bug with zipped eps-files
2161 and take always convert when no userdefined converter was
2163 (latex) small changes in the lyxerr output
2165 2002-06-15 LyX Development team <lyx@rilke>
2167 * inset*.[Ch] (docbook): Added new argument to take the pernicious
2168 mixed content. Small white spaces clean.
2170 2002-06-14 Angus Leeming <leeming@lyx.org>
2172 * inseetexternal.C: remove the using std::difftime declaration.
2174 2002-06-13 Edwin Leuven <leuven@fee.uva.nl>
2176 * insetquotes.C: change lyxfont::draw to font_metrics::draw
2178 2002-06-12 Vitaly Lipatov <LAV@VL3143.spb.edu>
2180 * insetquotes.C (draw): fix drawing of double quotes
2182 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2184 * insettabular.C: s/scrollCB/scrollDocView/
2186 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2188 * insettext.C: change of topCursorVisible()
2191 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
2194 * insettext.C: rename/change of LyXScreen
2196 2002-06-07 Angus Leeming <leeming@lyx.org>
2198 Fixes needed to compile with Compaq cxx 6.5.
2200 all c-library variables have been moved into namespace std.
2201 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
2203 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2205 * insetinclude.C (uniqueID):
2206 * insetgraphics.C (uniqueID): renamed from unique_id, since this
2207 conflicted with some AIX headers.
2209 2002-05-31 Juergen Vigna <jug@sad.it>
2211 * insetert.C (get_new_label): add '...' for multi-paragraph ert
2215 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
2217 * insetexternal.C (clone): fix () bug when using new
2218 (updateExternal): don't only look for difftime in global scope
2220 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
2222 * insettabular.C: add const
2224 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2226 * insetgraphicsParams.C (Read): use lyxlex::eatLine to read the
2227 file name, in case there are weird characters like ',' in there.
2230 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
2232 * switch from SigC signals to boost::signals.
2234 2002-05-28 André Pönitz <poenitz@gmx.net>
2236 * insets/insetgraphicsParams.[Ch]:
2237 put in inset related stuff from src/graphic
2239 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
2247 * insetcollapsable.C:
2248 * insetcollapsable.h:
2276 * inseturl.h: use mouse_state. Kill insetKeyPress
2278 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
2283 * insetcollapsable.C:
2286 * insetlatexaccent.C:
2288 * insetspecialchar.C:
2290 * insettext.C: name change for font metrics
2292 2002-05-24 Juergen Vigna <jug@sad.it>
2294 * insetgraphics.h: include inset.h first (for LString.h)
2296 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2298 * insettext.C: screen moved
2300 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2318 * inseturl.C: LyXView moved into frontends/
2320 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
2325 * insetcollapsable.C:
2329 * insetgraphicsParams.C:
2330 * insetlatexaccent.C:
2332 * insetspecialchar.C:
2334 * insettext.C: move Painter to frontends/
2336 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
2338 * insettabular.h: use more specific smart_ptr header.
2339 * insettext.h: ditto
2341 * insetgraphics.C (InsetGraphics): change call of shared_ptr::reset
2344 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
2346 * insettext.C: clear selection on paste (bug 393)
2348 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
2350 * insettext.C (latex): Honor the moving_arg argument.
2352 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2354 * insetfoot.C (latex): if a footnote is in a title layout, then it
2355 is a \thanks. And then, its contents is a moving argument.
2357 2002-05-14 Juergen Vigna <jug@sad.it>
2359 * insetcollapsable.C (InsetCollapsable): forgot to initialize
2362 2002-05-09 Angus Leeming <a.leeming@ic.ac.uk>
2364 * Insetcite.C (getNatbibLabel): don't disable natbib label support
2365 when using options "Full author list" or "Upper case".
2367 2002-05-14 Herbert Voss <voss@perce.de>
2369 * insetgraphics.C (prepareFile): allow files with same name
2371 (readFigInset): set the flags from old figinset in the right
2373 (findTargetFormat): more comments
2375 2002-05-14 Juergen Vigna <jug@sad.it>
2377 * insettext.C (edit): tell checkAndActivateInset() that we don't
2378 have a button press.
2379 (checkAndActivateInset): if button < 0 we don't have a button press
2380 on the inset and os we won't call edit on it if it's not a Highly
2381 editable inset (then we have to enter it).
2383 2002-05-13 Juergen Vigna <jug@sad.it>
2385 * insetcollapsable.C (insetButtonRelease): returned wrong return
2388 2002-05-09 Juergen Vigna <jug@sad.it>
2390 * insetcollapsable.C (edit): first_after_edit should only be
2391 set to true if we enter this inset and it was collapsed so we
2392 open it up. This is needed to reclose it after a search/replace
2393 or spellcheck function opened it and was negative.
2395 2002-05-09 Dekel Tsur <dekelts@tau.ac.il>
2397 * insetfloat.C (latex): Return correct value.
2399 2002-05-04 Herbert Voss <voss@perce.de>
2401 * InsetgraphicsParams.C (read): fix bug with WH
2403 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
2405 * insetfloat.C (latex): More sensible latex output
2406 (fix the problem with endfloat).
2408 2002-05-02 José Matos <jamatos@fep.up.pt>
2410 * insetgraphics.C (validate): acess params as everyone else.
2412 2002-05-03 Juergen Vigna <jug@sad.it>
2414 * insettabular.C (fitInsetCursor): recalculate the cursor position
2417 2002-05-01 Angus Leeming <a.leeming@ic.ac.uk>
2419 * InsetgraphicsParams.[Ch]: whitespace.
2421 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
2423 * insetfloatlist.C (getScreenLabel): Fix crash in the case where
2424 float type do not exist.
2426 2002-04-28 Herbert Voss <voss@perce.de>
2428 * insetgraphics.C (latex): fix bug with missing file-extension.
2429 LaTeX still allows a missing "eps" or "ps".
2431 2002-04-26 Angus Leeming <a.leeming@ic.ac.uk>
2433 * insetfloat.C (c-tor, wide): translate the name of the float.
2435 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
2437 * insetcite.[Ch]: take Herbert's patch to give WYSIWYG citation labels
2438 when using natbib and make it work efficiently. Must emphasise that the
2439 real work is Herbert's.
2441 2002-04-23 Herbert Voss <voss@perce.de>
2443 * insetgraphic.C (prepareFile): fix bug with overwriting and
2444 deleting an existing *.eps-file in the doc-dir
2446 2002-04-23 Juergen Vigna <jug@sad.it>
2448 * insettabular.C (drawCellSelection): fix off by 1 error.
2450 2002-04-22 Juergen Vigna <jug@sad.it>
2452 * insettabular.C (setFont): rewoke full selection if it was asked,
2453 after we changed all we had to change.
2455 * insettext.C (insetUnlock): code was uninitialized in some situations.
2457 2002-04-19 Herbert Voss <voss@perce.de>
2459 * insetgraphic.C (prepareFile): return filename without
2460 extension if we only export without compiling
2462 2002-04-19 Juergen Vigna <jug@sad.it>
2464 * insettext.C (draw): call a fullRebreak on the row where we had a
2465 change and reset the cursor and selection-cursors.
2467 * insettabular.C (insetUnlock):
2468 (insetButtonPress): call an update before setting the_locking_inset = 0
2469 as otherwise we don't repaint!
2470 (update): reset the cursor position when we changed dimensions as
2471 otherwise our cursor may be on the wrong spot.
2473 2002-04-18 Juergen Vigna <jug@sad.it>
2475 * insettabular.C (localDispatch): repaint the cell if it was unlocked.
2476 (unlockInsetInInset): set the_locking_inset to 0 only AFTER we made the
2477 redraw otherwise we won't redraw.
2479 * insettext.C (draw): fixed the setting of LyXText::first_y it was
2480 not really right before, but I only discovered this with the last
2481 changes to Page up/down.
2483 2002-04-17 Juergen Vigna <jug@sad.it>
2485 * insettext.C (checkAndActivateInset): simplified as we now have the
2486 edit(bv, bool) call.
2488 * insettext.h: changed behind variables to front variables to be
2489 equal to the one in the edit call (as it is for that they are used).
2491 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2493 * insetnote.h (ascii): overide the InsetCollapsable::ascii method to
2494 not output anything at all!
2496 2002-04-16 Juergen Vigna <jug@sad.it>
2498 * insettabular.C (insetButtonPress):
2499 (insetUnlock): call a redraw on unlocking the cell inset.
2501 * insettext.C (insetButtonPress): same as below.
2502 (lockInset): new function to set initial values when inset should
2504 (insetButtonPress): use above function.
2505 (insetUnlock): don't force a repaint only set the updateStatus. The
2506 outside world should repaint if it thinks it should be done!
2508 * insettabular.C (insetButtonPress): init values if not set as locked
2509 as we are locked if someone presses on us and don't call the edit()
2510 call of the InsetText to lock it do it as BufferView does it!
2512 * inset.h (insetInInsetY): make func const and return an int.
2515 * insetcollapsable.C: adapt the above changed function.
2517 2002-04-15 Juergen Vigna <jug@sad.it>
2519 * insettext.C (getCursorPos): return relative position as to be able
2520 to give them directly to the edit() call.
2521 (edit): we have to set also x_fix as it is not set inside the
2522 setCursorFromCoordinates call!
2523 (insetMotionNotify): ditto.
2525 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
2527 * insetbib.C (getKeys): strip leading '\t's from the line too.
2528 With thanks to Henry Pfister <hpfister@ucsd.edu>.
2530 2002-04-12 Juergen Vigna <jug@sad.it>
2532 * insettext.h: added cix() helper function and use it where appropriate
2534 2002-04-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2536 * insetgraphics.C (prepareFile): fix bug when graphics is a
2539 2002-04-12 Juergen Vigna <jug@sad.it>
2541 * insettext.C (insertInset): remove unneeded code!
2542 (updateLocal): fitCursor() fixes.
2543 (collapseParagraphs): fix a possible problem when having a selection
2544 and collapsing the paragraphs.
2546 2002-04-08 Herbert Voss <voss@perce.de>
2548 * insetgraphic.C (write): write the rotating angle as
2549 a float as is. test only for != 0.0
2551 2002-04-11 Juergen Vigna <jug@sad.it>
2553 * insettext.C: new function ciy() and use it for setting inset_y.
2555 * insetert.C (draw): fix the x return for collapsed version.
2557 2002-04-07 Herbert Voss <voss@perce.de>
2559 * insetgraphic.C (readFigInset): fix bug with subcaption and
2562 2002-04-08 Herbert Voss <voss@lyx.org>
2564 * insetgraphicsparam.C: forgot special option and delete old
2567 2002-04-05 Juergen Vigna <jug@sad.it>
2569 * insettext.C (localDispatch): make a CURSOR update if we inserted
2572 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2574 * insetfloatlist.C (getScreenLabel):
2575 (latex): use Floating::listName
2576 (validate): new method
2578 2002-04-03 José Matos <jamatos@fep.up.pt>
2580 * insetlabel.C (docbook): the anchor is an empty element in docbook.
2582 * insetfoot.[Ch] (docbook): added forgotten method.
2584 2002-04-03 Juergen Vigna <jug@sad.it>
2586 * insettext.C (insetButtonPress): fix insetButtonPress events the same
2587 way as in Bufferview_pimpl.
2589 2002-04-03 Allan Rae <rae@lyx.org>
2591 * insetgraphics.C (latex): one % too many makes living on the bleeding
2592 edge fun with less than 30 minutes to a meeting with a PhD supervisor.
2594 2002-03-28 Herbert Voss <voss@lyx.org>
2596 * insetgraphic.C (latex): simplify the code for the latex
2597 output when the file doesn't exist
2599 2002-03-29 Juergen Vigna <jug@sad.it>
2601 * insettext.C (updateLocal): fixes to fitCursor calls when locking/
2604 * insettabular.C (edit): call fitCursor().
2606 * insettext.C (insetButtonPress): change behaviour of no_selection
2607 to the one in the BufferView selection_possible and fix the spurious
2608 selection bug with it.
2609 (localDispatch): revoke selection on BREAK... functions.
2611 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2613 * insetfloatlist.C (getScreenLabel): translate the GUI label.
2615 2002-03-28 Juergen Vigna <jug@sad.it>
2617 * insettabular.C (insetAllowed): return true as default value otherwise
2618 we're not able to insert insets inside paragraphs of an not locked
2621 2002-03-27 Herbert Voss <voss@lyx.org>
2623 * insetgraphicsparam.C: change c%, p% to col%, page%
2625 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2627 * insetspecialchar.C (isLineSeparator): disable the nice code to
2628 allow linebreaks after hyphenation and menu separators.
2630 2002-03-26 Herbert Voss <voss@lyx.org>
2632 * insetgraphics.C (figinsetRead): set the right lyxview
2634 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2636 * insetgraphicsParams.C (latexify): use \textbackslash in preference to
2637 $\backslash$ and pass a "string const &" to the function.
2638 (prepareFile, latex): use Path rather than MakeAbsPath.
2640 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
2642 * insetgraphicsParams.C (Read): revert Herbert's fix and apply the
2643 proper fix to the graphics cache.
2644 (latex): "really" nice output if the file is not found ;-)
2646 2002-03-26 Juergen Vigna <jug@sad.it>
2648 * insettext.C (setText): added a LyXFont param and call reinitLyXText()
2649 (collapseParagraphs): fixed inserting of separator ' '
2651 * insettabular.C (insertAsciiString): only check for buffer lenght
2652 not if we have \t or \n inside the buffer as if we don't have we only
2653 have 1 cell and that's it!
2655 * insetert.C (close): don't collapse if inlined.
2657 2002-03-25 Herbert Voss <voss@lyx.org>
2659 * insetgraphicsParams.C (Read): prevent LyX from hanging if the
2660 graphics file does not exist.
2662 2002-03-25 Angus Leeming <a.leeming@ic.ac.uk>
2664 * insetgraphics.C (prepareFile): ensure that the file has an absolute
2665 path when preparing export.
2667 * insetgraphicsParams.[Ch] (Write): no longer passed Buffer *, as we
2668 no longer MakeRelPath.
2670 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
2672 * insetgraphics.[Ch] (c-tor, setParams, updateInset): passed filepath.
2673 Used to determine the absolute path to the graphics file in the
2674 graphics cache and only in the graphics cache.
2675 (readInsetGraphics, readFigInset) : no longer passed buffer. Do not
2676 make graphics file name absolute if it is stored as a relative path.
2678 * insetgraphicsParams.[Ch] (Read): no longer passed buffer. Do not
2679 make graphics file name absolute if it is stored as a relative path.
2681 * insettext.C (edit): emit an updateParagraph signal on entering a text
2682 inset. Needs to be emitted when leaving the inset also.
2684 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
2686 * all files: ws cleanup
2688 * Makefile.am: remove ld -r stuff
2690 2002-03-21 Juergen Vigna <jug@sad.it>
2692 * insettext.C (appendParagraphs): new function added to append
2693 the paragraphs to this insets paragraphs.
2695 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
2697 * Makefile.am: special rules if partial linking
2699 2002-03-19 Juergen Vigna <jug@sad.it>
2701 * insetgraphics.C (draw): fixed the setting of CHANGED_IN_DRAW!
2703 2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
2705 * insetgraphics.C: Clean up Baruch's comments a little.
2706 (c-tor): remove code setting id_, as it's set in the Inset c-tor.
2708 2002-03-14 John Levon <moz@compsoc.man.ac.uk>
2711 * insettheorem.C: wrap warnings
2713 * insetgraphics.C: improve messages, move cached_status_
2714 setting to safer place
2716 2002-03-18 Juergen Vigna <jug@sad.it>
2718 * insettabular.C (unlockInsetInInset): removed unneeded showCursor
2720 (localDispatch): ditto
2722 * insettext.C (edit): removed unneeded showCursor calls.
2723 (localDispatch): ditto.
2725 2002-03-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2727 * insetgraphics.h: remove display() method.
2729 2002-03-11 Juergen Vigna <jug@sad.it>
2731 * insetgraphics.C (draw): hack to fix the redrawing bug.
2732 (draw): seems this fixes #268 (force redraw of row if we changed).
2734 * insettext.C (updateInsetInInset): fixed for updates in insets inside
2735 this inset text (don't know why I missed this earlier).
2737 2002-03-08 Juergen Vigna <jug@sad.it>
2739 * insettabular.C (updateLocal): do a FULL update if we're not locked
2740 and only a CELL update is asked.
2742 * insettext.C (updateInsetInInset): update insets inside inset also
2743 if it isn't inside the_locking_inset.
2745 * insettabular.C (updateInsetInInset): ditto.
2747 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2749 * insetexternal.C (doSubstitution): check whether we are using a
2750 temp dir for defining $$FPath
2752 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
2755 * insettext.C: remove #include "WorkArea.h".
2757 2002-03-06 Juergen Vigna <jug@sad.it>
2759 * insettext.C (draw): fixed frame redrawing.
2760 (clear): forgot to set the inset_owner of the paragraph.
2762 * insetert.C (status): pay attention the bv can be 0 here!
2763 (getMaxWidth): add the default leftMargin
2765 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
2767 * insetert.C (getMaxWidth): make w unsigned int.
2769 2002-03-05 Juergen Vigna <jug@sad.it>
2771 * insetert.C (status): change behaviour of Inlined.
2772 (getMaxWidth): added for new inlined behaviour.
2774 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
2776 * insetnote.h (linuxdoc, docbook): add empty methods.
2777 * insetinclude.C (validate): fix a case where buffer->niceFile was used
2778 before being initialized.
2780 2002-03-05 Juergen Vigna <jug@sad.it>
2782 * insettext.C (insetButtonPress): don't call exit on a InsetButtonPress
2783 only that one in the inset. Should be enough.
2784 (updateLocal): set the selection cursor always if we don't have a
2785 selection to be sure it's set!
2787 * insettabular.C (insetButtonPress): don't hit a sub inset 2 times.
2789 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
2791 * insettext.C (clear): a gross hack to set layout on a newly
2794 2002-03-04 Juergen Vigna <jug@sad.it>
2796 * insettabular.C (localDispatch): inserted handling of
2797 LFUN_FILE_INSERT_ASCII_PARA and LFUN_FILE_INSERT_ASCII.
2798 (insertAsciiString): new helper function.
2800 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
2802 * insetinclude.C (linuxdoc, docbook): deal correctly with the niceFile
2805 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
2807 * insettext.C (InsetText): initalize newly created par with
2808 default layout. add bufferparams parameter
2811 * insetcaption.[Ch] (InsetCaption): add BufferParams parameter
2812 * insetcollapsable.[Ch] (InsetCollapsable): ditto
2813 * insetert.[Ch] (InsetERT): ditto
2814 * insetfloat.[Ch] (InsetFloat): ditto
2815 * insetfoot.[Ch] (InsetFoot): ditto
2816 * insetfootlike.[Ch] (InsetFootLike): ditto
2817 * insetmarginal.[Ch] (InsetMarginal): ditto
2818 * insetminipage.[Ch] (InsetMinipage): ditto
2819 * insetnote.[Ch] (InsetNote): ditto
2820 * insettabular.[Ch] (InsetTabular): ditto + adjust for tabular changes
2822 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
2824 * insettext.C: layout as string
2826 * insetinclude.C: layout as string
2828 * insetert.C: layout as string
2830 * insetbib.C: layout as string
2832 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2835 * insettabular.C: remove #include "lyx_gui_misc.h".
2837 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
2842 * inset.h: remove figinset, yahoo !
2844 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
2846 * insetgraphics.C (c-tors): initialise parent classes explicitly in
2847 copy c-tor and initialise member variables in the correct order.
2849 2002-02-28 Juergen Vigna <jug@sad.it>
2851 * insettabular.C (localDispatch): clear selection on PgUp/Down.
2853 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2855 * inset.h: ... and add a better one here.
2857 * insetcommand.C (insetButtonRelease): remove that one which was a
2860 2002-02-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2862 * insetcommand.C (insetButtonRelease): ... and move it here.
2864 * inseturl.h: remove insetButtonRelease from there...
2866 2002-02-26 Juergen Vigna <jug@sad.it>
2868 * inseturl.h: Added a insetButtonRelease call returning true as
2871 * insetlabel.C (edit): Fixed wrong update handling after change I
2872 leave in the wrong code for the one who wrote it to remove and have
2873 a look what he did wrong.
2875 * insettabular.C (localDispatch): force a SELECTION update if we
2876 had a selection and we passed the event down to the inset (fix #213)
2877 (localDispatch): handle font changing stuff when we have a cell
2878 selection so that the selection is not rewoked. I don't really like
2879 this fix, but it's the only way I see to do it right now.
2881 2002-02-22 Juergen Vigna <jug@sad.it>
2883 * insettext.C (insetUnlock): set the cursor to the second paragraph
2884 if available and if the first one is empty (fix #191).
2886 2002-02-20 Juergen Vigna <jug@sad.it>
2888 * insettext.C (getDrawFont): implemented this function to call the
2889 one of the owner if present as the owner normally knows what to do
2892 * insetert.C: implement getDrawFont() function and comment out all
2893 the crap for setting a special latex font inside this inset.
2894 (InsetERT): added a Lanugage parameter to this constructor.
2896 * inset.h: added function getDrawFont(LyXFont & font) to be able to
2897 change the font for being drawn on screen (used only in InsetERT for
2900 * insettabular.C (draw): clear the parts around a cellinset ALWAYS
2901 and also above (was missing).
2902 (updateLocal): don't remove the cell selection if we have one this
2903 should be done where we really want to remove it.
2905 2002-02-20 José Matos <jamatos@fep.up.pt>
2907 * insetinclude.h: include_label made string const.
2909 * insetinclude.C (InsetInclude): moved include_label initialization.
2912 (validate): fix support for temporary directory, for docbook and
2915 * insetgraphics.h : new private member, graphic_label, that holds
2916 the entity name that defines the graphics location (SGML).
2918 * insetgraphics.C (unique_id): new function to give a unique label
2921 (validate): the file locatation is given by an entity reference.
2923 2002-02-18 Herbert Voss <voss@lyx.org>
2925 * insetgraphics.C: use [Debug::GRAPHICS] for lyxerr
2927 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
2929 * insetexternal.C Changes due to the renaming of support/syscall.[Ch]
2930 as support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
2932 2002-02-18 José Matos <jamatos@fep.up.pt>
2934 * insetinclude.C (validate): some code only applies to latex buffers,
2935 it was made conditional.
2937 2002-02-12 Herbert Voss <voss@lyx.org>
2939 * insetgraphics.C: (prepareFile) do not check at this time
2940 if the file is present.
2942 2002-02-12 Herbert Voss <voss@lyx.org>
2944 * insetgraphics.C: latex(), return the correct newlines
2946 2002-02-13 José Matos <jamatos@fep.up.pt>
2948 * inseturl.C (docbook): escape & in url.
2950 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2952 * insetspecialchar.C (isLineSeparator): line breaking is allowed
2953 after HYPHENATION and MENU_SEPARATOR
2955 * inset.h (isLineSeparator): new method, returns false by default.
2957 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
2959 * insetert.C (status): do not update the text inset, but the ERT
2962 2002-02-11 John Levon <moz@compsoc.man.ac.uk>
2964 * insetnote.C: use notebg for background
2966 2002-02-08 Herbert Voss <voss@lyx.org>
2969 * insetgraphicsParams.[Ch]: adding new Option noUnzip to
2970 prevent LyX from unzipping when this should be handled
2971 by latex vis the graphic.cfg.
2974 2002-02-08 Herbert Voss <voss@lyx.org>
2976 * insetgraphic.C: prepareFile(): fix bug when file doesn't
2977 exists, than return filename with extension
2979 2002-02-06 Herbert Voss <voss@lyx.org>
2981 * insetgraphic.C: prepareFile(): don't convert the file, when
2982 it's not viewed in LyX. Saves a lot of time when opening a
2985 2002-02-05 Herbert Voss <voss@lyx.org>
2988 * insetgraphicsParams.[Ch]: some cosmetic changes to latex output
2989 and adding a rotate bool similiar to subcaption
2991 2002-02-04 Herbert Voss <voss@lyx.org>
2994 * insetgraphicsParams.[Ch]: add a LyXView-scale to have a
2995 similiar view to the LaTeX one. Get zipped files work.
2997 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
2999 * insetgraphicsParams.C (init): set display to DEFAULT.
3000 No longer #include "lyxrc.h".
3002 2002-02-04 Angus Leeming <a.leeming@ic.ac.uk>
3004 * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff
3005 for now (so that the code compiles).
3007 2002-02-02 Herbert Voss <voss@lyx.org>
3009 * insetgraphic.C: delete inVariant() and some minor changes
3010 * insetgraphicsParams.[C]:
3012 2002-02-01 Angus Leeming <a.leeming@ic.ac.uk>
3014 * insetgraphics.C (updateInset): if params.display == DEFAULT,
3015 interogate lyxrc.display_graphics before diaplaying the graphic.
3017 * insetgraphicsParams.[Ch]: respect the new DEFAULT state of
3018 InsetGraphicsParams::DisplayType.
3020 2002-01-31 Herbert Voss <voss@lyx.org>
3022 * insetgraphic.C: (readfigInset) set display to pref-default
3024 2002-01-30 Herbert Voss <voss@lyx.org>
3026 * insetgraphic.C: get the filetyp from it's contents
3027 * insetgraphicparams.C: add token scale and lyxrc.display when
3028 creating a new inset
3030 2002-01-30 Angus Leeming <a.leeming@ic.ac.uk>
3032 * figinset.C: added using std::ios directive.
3034 2002-01-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3036 * figinset.C (runqueue): open translation file in binary mode (for
3039 2002-01-27 Herbert Voss <voss@lyx.org>
3041 * insetgraphic.[Ch]: mostly newritten to support graphicx with
3042 all options and to be sure that the old figinsets are correct
3044 * insetgraphicParams.[Ch]: a lot of chamges to have a clean data-
3045 structure and to support all lengths as LyXLength. The Parameter
3046 structure changed again, but reading of "old" 1.2 graphic insets
3049 2002-01-20 Dekel Tsur <dekelts@tau.ac.il>
3051 * insetert.h (forceDefaultParagraphs): Added
3053 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3055 * insettabular.C (getMaxWidth):
3056 (forceDefaultParagraphs): use Tabular::GetCellFromInset
3058 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3060 * insettabular.C (getMaxWidthOfCell): adapt to the new definition
3061 of LyXLength::inPixels
3063 * inset.C (latexTextWidth):
3064 * insetminipage.C (latexTextWidth): new method, which implements
3065 the equivalent of the LaTeX macro \textwidth
3067 * insetminipage.C (getMaxWidth): use latexTextWidth
3069 2002-01-18 Juergen Vigna <jug@sad.it>
3071 * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets.
3073 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3075 * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels
3077 * insetminipage.[Ch]: change width_ and height_ to be LyXLength
3080 2002-01-17 Juergen Vigna <jug@sad.it>
3082 * insettabular.C (lockInsetInInset): same change as in insettext.
3084 * insettext.C (draw): width() function was called without setting
3085 the right top_x which could lead to wrong insetWidth setting!
3086 (lockInsetInInset): call edit instead of calling lockInset if we
3087 have to lock an inset inside!
3088 (edit): we have to also tell the inset that we have to redraw the
3089 frame on an edit call if this inset draws a frame only if locked.
3091 2002-01-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3093 * insetbib.C (getFiles): uncomment Path variable.
3095 2002-01-16 Juergen Vigna <jug@sad.it>
3097 * insettabular.C (forceDefaultParagraphs): fixed bug returning value
3100 2002-01-16 Allan Rae <rae@lyx.org>
3102 * insetinclude.C (docbook): someone forgot a ";"
3104 2002-01-16 José Matos <jamatos@fep.up.pt>
3106 * figinset.C (docbook): removed a old place holder "@".
3107 * insetgraphics.C (docbook): remove the file sufix if graphic is eps.
3108 * insetinclude.C (linuxdoc): if include is verbatim, then export the
3109 ascii text version, clearly guarded inside a CDATA section.
3110 (docbook): in docbook 4, inlinegraphics is empty.
3111 * insettabular.C (linuxdoc): export the ascii version of the table
3112 inside a CDATA section.
3114 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3116 * insetparent.C (InsetParent):
3117 * insetgraphicsParams.C (Write):
3119 * insetgraphics.C (prepareFile):
3122 * insetexternal.C (executeCommand):
3123 (doSubstitution): use Buffer::filePath
3125 * insetbib.C (getFiles): add a #warning for Angus
3127 * insetgraphics.C: Add a remark about how filenames should be
3128 considered to be relative to buffer (but absolute is still allowed)
3129 (draw): do not try to get status if lyxrc.use_gui is false
3131 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3134 * insetcollapsable.[Ch]:
3135 * insettabular.[Ch] (searchForward, searchBackward): change the
3136 bool const & params to bool.
3138 * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight
3139 to avoid the name clash with InsetCollapsable's methods of the same
3140 names but different functionality.
3142 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
3144 * insettext.C (ascii): use lyx::count rather than countChar.
3146 2002-01-14 John Levon <moz@compsoc.man.ac.uk>
3148 * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too
3150 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3152 * insetgraphics.C (updateInset): do not try to render image if
3153 lyxrc.use_gui is false (bug #104)
3155 * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile
3156 if file does not exist
3158 * figinset.C (browseFile): add shortcuts to directory buttons
3160 * insettext.C (updateLocal): update menubar and toolbar here too.
3162 2002-01-13 Allan Rae <rae@lyx.org>
3164 * insettabular.C (InsetTabular): Both constructors now initialise
3165 all class variables.
3167 2002-01-11 Juergen Vigna <jug@sad.it>
3169 * insettext.C (insetButtonPress): set the_locking_inset to 0.
3171 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3173 * insettabular.C (getStatus): add forgotten brace around multiline
3176 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3178 * insetfloat.C (validate): require "float" instead of "floats".
3180 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
3182 * insettabular.C (getStatus): use FuncStatus
3184 2002-01-08 Juergen Vigna <jug@sad.it>
3186 * insettabular.C (insetButtonRelease): now this should work too
3189 * insetminipage.C (getMaxWidth): fixed for minipage inside insets and
3190 if the width is a percentage.
3192 * inset.h: added isChar() function and implemented this for
3193 insetspecialchar insetquotes and insetlatexaccent.
3194 added forceDefaultParagraphs() and implemented it for insettabular.
3196 2002-01-07 Juergen Vigna <jug@sad.it>
3198 * insettext.C (getLyXText): Fixed this function. An insert into the
3199 map is only done if we REALLY have a new BufferView.
3201 2002-01-07 Martin Vermeer <martin.vermeer@hut.fi>
3203 * insettext.C: fix bug illustrated by attachment #37 of bug #59
3205 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
3207 * insetinclude.C: fix use of FileInfo
3209 2002-01-07 Juergen Vigna <jug@sad.it>
3211 * insettabular.C (draw): fixed clearing of cell around inset.
3213 2002-01-05 Juergen Vigna <jug@sad.it>
3215 * insettext.C (draw): move the calls so that insetWidth/Asc/Desc
3216 variables are updated.
3218 * insettabular.C (resetPos): set always the inset_y as it may be
3219 needed in another function.
3220 (searchBackward): don't draw while searching.
3222 2002-01-04 Juergen Vigna <jug@sad.it>
3224 * insettext.C (lockInsetInInset): forgot to set a cursor.
3226 2002-01-02 Juergen Vigna <jug@sad.it>
3228 * insettext.C (insertInset): make the correct undo informations on
3229 inserting new insets.
3231 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
3233 * insettabular.C: correct single-cell select vertically
3235 2001-12-27 Juergen Vigna <jug@sad.it>
3237 * insettabular.C (ascii): export as tab-separated-values if the
3238 function was not called from export (f.ex.: clipboard).
3240 * insetcollapsable.h: added default support for ascii, linuxdoc and
3241 docbook export (the insettext is exported by default!)
3243 * insettabular.C (copySelection): suff the clipboard with the tabular
3244 data in a tab separated format, seems more naturals then with all the
3247 2001-12-24 Juergen Vigna <jug@sad.it>
3249 * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position
3250 to check for REAL mouseMotion.
3252 2001-12-20 Juergen Vigna <jug@sad.it>
3254 * inset.C (cursor): return the owners cursor if available instead of
3255 always only the bv->text->cursor.
3257 * insettabular.C (checkLongtableSpecial): works now.
3259 2001-12-19 Juergen Vigna <jug@sad.it>
3261 * insettabular.C (tabularFeatures): fix the row setting of ltt as
3262 this has to be always row + 1 as 0 means not selected!
3263 (checkLongtableSpecial): added
3264 (tabularFeatures): better longtable options support
3266 * insettext.C (resizeLyXText): reinit the text always also on a
3269 2001-12-18 Juergen Vigna <jug@sad.it>
3271 * insettext.C (updateInsetInInset): look if we have to autocollapse
3272 paragraps and return if the update is requested for ourself.
3274 * insetert.C (status): update the insettext not myself as that is what
3277 * insetcollapsable.C (updateInsetInInset): always call the InsetText's
3278 function only return if the update was requested with myself.
3280 * insettext.C (insetButtonPress): fixed stupid bug.
3281 (various functions): pay attention that lt is cleared BEFORE calling
3282 updateLocal() and try to use it in the right manner (don't use it
3283 if it's not really neccessary!)
3284 (collapseParagraphs): insert a blank between collapsing paragraphs
3285 if neccessary (not already there!).
3287 2001-12-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3289 * insettabular.C: move includes around a bit, add a couple of
3292 * insettext.[Ch]: move includes around a bit, other ws changes and
3295 2001-12-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3297 * insettext.C (insetButtonRelease): fix compile problem
3299 2001-12-17 Juergen Vigna <jug@sad.it>
3301 * insettext.C (insetButtonPress): set the selection cursor!
3302 (insetButtonPress): clear the selection (and set with that the
3303 selection.cursor) if we only hit an inset!
3305 * insetert.C (read): removed piece of compatibility code only needed
3308 * insettabular.C (insetButtonRelease): fixed so that sub-dialogs
3311 * insetcollapsable.C (insetButtonRelease): changed so that it can
3312 open eventual existing popup dialogs on mousebutton==3.
3314 * insetfloat.C (insetButtonRelease): removed not needed anymore!
3316 * insetminipage.C (insetButtonRelease): removed not needed anymore!
3318 * inset.C (insetButtonRelease): return a bool for telling the outer
3319 world that we opened a dialog.
3321 2001-12-07 Juergen Vigna <jug@sad.it>
3323 * insettext.C (paragraph): remove the deleteing of paragraphs as
3324 it was a WRONG move!
3326 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
3329 * insettabular.C: use new setSelection(). Allow
3330 selection of single cells.
3332 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3334 * insetquotes.C (latex): fix to use the local language setting at
3335 the point where the inset is inserted (different macros for
3336 different french packages)
3338 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3340 * inset.h: add par_owner_ member variable and parOwner
3343 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3345 * insettabular.C (everywhere): adapt because widths are now real
3346 widths and not strings
3348 * insettext.C (draw): re-introduce the calls to width(), ascent()
3349 and descent() to initialize the caching variables.
3351 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
3353 * insettext.C (draw):
3354 (drawFrame): use insetWidth instead of last_width
3356 * insettext.h: remove variable last_width (insetWidth is exactly
3357 the same) and last_height (computed but never used!)
3359 2001-12-10 Allan Rae <rae@lyx.org>
3361 * insettabular.C (localDispatch): cleanup unlockInsetInInset calls
3363 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
3365 * insettext.C (insetAllowed): add comment
3367 2001-12-05 Juergen Vigna <jug@sad.it>
3369 * insettext.C (insetAllowed): fixed for the case that we directly
3370 ask the insettext from its LyXText.
3371 (paragraph): fixed the crash when assigning the par->next() from
3372 the EmptyParagraphMechanism!
3374 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
3378 * insettext.C: change "while(" to "while ("
3380 2001-12-04 Juergen Vigna <jug@sad.it>
3382 * insetert.C (edit): handle Inlined status.
3384 * insettext.C (insertInset): trying John's fix for the trailing cursor
3386 * insetert.C (insetButtonPress): added to handle inlined status
3387 (insetMotionNotify): ditto.
3389 * insettext.C (clearInset): changed Painter & in BufferView * param,
3390 to be able to call ascent,descent methods.
3392 2001-12-03 Juergen Vigna <jug@sad.it>
3394 * insettext.C (updateInsetInInset): use lt variable to forbid
3395 changes of LyXText in an update call.
3396 (updateInsetInInset): fixed updating of non locked insets!
3398 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3400 * insettabular.C: capture some more functions to prevent
3401 selection drawing problems. Bug #451274
3403 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
3406 * insetgraphicsParams.C: fix inverted sense of float_equal
3408 2001-11-30 Juergen Vigna <jug@sad.it>
3410 * insettabular.C (InsetTabular): use the save_id flag to create also
3411 the tabular with the same id's.
3413 * insettext.C (setParagraphData): added a same_id function for undo
3414 to set the same paragraph id's as of the paragraph we are setting.
3416 2001-11-30 José Matos <jamatos@fep.up.pt>
3419 * insettoc.[Ch]: DocBook -> docbook.
3421 2001-11-29 André Pönitz <poenitz@gmx.net>
3424 * insettext.C: further reduction of header dependencies by using
3425 lyx::layout_type and lyx::textclass_type from support/types.h
3427 2001-11-29 Juergen Vigna <jug@sad.it>
3429 * insettext.C: inserted a reinitLyXText function everywhere I delete
3430 the paragraphs! This should fixe the crashes we had.
3431 Also use the new function firstRow() instead of getRowNearY(dummy_y)
3432 (paragraph): set the InsetOwner() of the new paragraphs!
3434 2001-11-28 André Pönitz <poenitz@gmx.net>
3436 * insetnote.C: add pos initialization that I removed without
3439 2001-11-28 Juergen Vigna <jug@sad.it>
3441 * insettabular.C (resetPos): hack to not crash with infinite paints.
3443 * insettabular.h: insert missing function allowSpellcheck()!
3445 * insetcollapsable.C (draw): fixed wrong width of collapsed inset!
3447 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
3450 * insetfloatlist.C: derive from InsetCommand so gui can use it
3453 2001-11-26 André Pönitz <poenitz@gmx.net>
3457 * insetnote.C: reduce header dependencies, introduce type for
3460 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
3462 * various: update for Alert.h
3464 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
3466 * inset.h: fix comment
3468 * insettext.C: use par->isInset()
3470 2001-11-22 Allan Rae <rae@lyx.org>
3472 * insetcollapsable.h:
3473 * inset.h: Changes to checkInsertChar() behaviour.
3474 Now return value indicates whether chars can be inserted.
3476 2001-11-11 Michael A. Koziarski <michael@koziarski.org>
3478 * various: updated to use the new LaTeXFeatures
3480 2001-11-14 José Matos <jamatos@fep.up.pt>
3482 * insetspecialchar.C (linuxdoc):
3483 (docbook): don't give a name to a unused variable.
3485 * insettext.C (docbook): removed unused variable.
3487 2001-11-13 Herbert Voss <voss@perce.de>
3489 * insetgraphic.C: fix scale bug
3491 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3493 * inset.h (isSpace):
3494 (isLetter): new virtual methods.
3496 * insetspecialchar.C (isSpace):
3497 (isLetter): implement here.
3499 2001-11-04 John Levon <moz@compsoc.man.ac.uk>
3501 * inset.h: new inline helpers
3503 * insettext.C: use new helpers
3505 2001-11-07 José Matos <jamatos@fep.up.pt>
3507 * insettext.C (docbook): full support for paragraphs inside insettext.
3509 2001-11-06 José Matos <jamatos@novalis.fc.up.pt>
3511 * insetindex.C: added header file for std::ostream.
3513 2001-11-03 José Matos <jamatos@fep.up.pt>
3515 * insetindex.C: added using std::ostream that I forgot yesterday.
3517 2001-11-02 Ben Guillon <nicolas.marsgui@libertysurf.fr>
3519 * insetindex.h (docbook):
3520 * insetindex.C (docbook): added support for docbook export.
3522 2001-11-02 José Matos <jamatos@fep.up.pt>
3524 * insetcaption.C(docbook): added support for docbook export.
3526 2001-11-02 Dekel Tsur <dekelts@tau.ac.il>
3528 * insetexternal.C (updateExternal): Do not run update command if
3529 result file exists and is up to date.
3531 * ExternalTemplate.C (readFormat): Support the updateresult token.
3533 2001-10-31 Kayvan A. Sylvan <kayvan@sylvan.com>
3535 * insetexternal.C (doSubstitution): Fix filepath ($$FPath in
3536 external_templates) to use the buffer->fileName() but only if
3537 previewing. Generating a TeX file should make FPath return
3540 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
3543 * insetert.C: fix some problems
3545 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
3547 * insetexternal.C (doSubstitution): Added $$FPath token
3548 to list of usable substitutions in external inset templates.
3550 2001-10-24 Juergen Vigna <jug@sad.it>
3552 * insettabular.C: use new ltType struct for setting longtable
3553 header and footers also new UNSET enums.
3555 2001-10-24 José Matos <jamatos@fep.up.pt>
3557 * insettabular.C (linuxdoc): Now exports the ascii's table version.
3558 (docbook): If the table is not inside a float then wrap it inside
3559 <informaltable>...</informaltable>.
3561 2001-10-23 José Matos <jamatos@fep.up.pt>
3563 * insetref.C (docbook): removed / terminator to conform SGML.
3565 * insetspecialchar.C (linuxdoc):
3566 (docbook): Added support for special chars, more than ascii export.
3568 2001-10-22 Juergen Vigna <jug@sad.it>
3570 * insettext.C (checkInsertChar): added for REALLY checking the
3571 font of the inserted char in the right inset!
3573 2001-10-19 Juergen Vigna <jug@sad.it>
3575 * inset.h: added method allowSpellcheck() so that insets who do
3576 not have anything to spellcheck can tell and so they are over-jumped.
3577 Implemented for InsetText and co.
3579 2001-10-18 Juergen Vigna <jug@sad.it>
3581 * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *).
3583 2001-10-15 José Matos <jamatos@fep.up.pt>
3585 * insetert.C: allow export for docbook and linuxdoc
3587 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
3589 * insetquotes.C (dispString): handles latin3 and latin4 quotes
3591 2001-10-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3593 * insetquotes.C (dispString): fix handling of latin9 quotes
3595 2001-10-03 Juergen Vigna <jug@sad.it>
3599 * insetcollapsable.C: change updateInset calls to not tell BV that
3600 we have changed status.
3602 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3604 * insettabular.C (deletable): make const
3606 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
3608 * insetert.C (latex): Fix the returned value
3610 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
3612 * insetert.[Ch] (selectNextWordToSpellcheck): new method.
3613 Returns string(), so nothing in an ERT inset is spellchecked.
3615 * insetgraphics.C (draw): print the filename if not displaying the
3617 (width): make sure that the width and draw methods are consistent.
3618 (updateInset): don't even load the image into cache if not displaying
3621 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
3623 * various files (selectNextWord): renamed as
3624 selectNextWordToSpellcheck.
3626 * insetgraphics.C (draw): remove the previous change. Right place
3627 is in imageLoaderXPM.C.
3628 (draw): don't display the image if params.display == NONE.
3630 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
3632 * figinset.C (runqueue):
3633 * insetgraphics.C (draw): set background colour of inset from
3634 background to the user-configurable graphicsbg.
3636 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3638 * insetquotes.C (InsetQuotes): when trying to decide the side of
3639 the quote, choose `left' only after a space or '('
3641 2001-09-04 José Matos <jamatos@fep.up.pt>
3646 * insetcollapsable.h
3664 * insetlatexaccent.C
3665 * insetlatexaccent.h
3670 * insetspecialchar.C
3671 * insetspecialchar.h
3675 * insettext.C (docbook): rename docBook method to docbook.
3677 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
3679 * inset.h (getFirstParagraph): New virtual method.
3681 2001-08-20 Herbert Voss <voss@perce.de>
3682 * insetbib.C: added a option bibtotoc which is from "BIB to TOC"
3683 in the the bibtex-database-gui for inserting a line
3686 If no style is given than there is no tex-output.
3688 2001-08-18 Angus Leeming <a.leeming@ic.ac.uk>
3690 * insetbib.[Ch] (getFiles): new method, returning the BibTeX database
3694 2001-08-18 Dekel Tsur <dekelts@tau.ac.il>
3696 * insetert.C (latex): Fix output for multiple paragraphs.
3697 (write): New code for writing paragraph data.
3698 (read): Set font after reading the inset.
3699 (localDispatch): Call set_latex_font() for more cases.
3701 * insetnote.h: Add empty validate method.
3704 * insetnote.C (InsetNote): Set language to the language of the
3707 2001-08-16 Juergen Vigna <jug@sad.it>
3709 * insettext.C: implemented the new FINISHED states.
3711 * insettabular.C: ditto
3713 * inset.h: added more FINISHED states for cursor right,up,down
3715 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
3717 * insetfloatlist.C: use "FloatName List"
3719 2001-08-14 Juergen Vigna <jug@sad.it>
3721 * insetert.C (edit): forgot to set status_ in edit calls!
3723 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
3725 * insettext.C: Compilation fix
3727 2001-08-13 Juergen Vigna <jug@sad.it>
3729 * inset.C (getMaxWidth): fixed bug of returning the wrong max width.
3731 * insetcollapsable.C (edit): don't recollapse an already open inset.
3733 * insettext.C: fixed problem when reinitializing LyXText by not doing
3734 it while lt is in use and post this to the next possible time in
3736 (searchForward): fixed not unlocking of inset if nothing found.
3737 (edit): set cursor behind right (was set -1 pos).
3739 * insetert.C (InsetERT): init status_ also in the 3rd constructor.
3741 * insettabular.C (tabularFeatures): fixed fix where deleting the
3742 last row didn't get the right actcell!
3744 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
3746 * insettext.C (localDispatch): Change language only when the inset
3749 2001-08-10 Juergen Vigna <jug@sad.it>
3751 * insettabular.C (selectNextWordInt): use the front using edit call.
3753 * insetcollapsable.C (getMaxWidth): rename inset to in to not have
3754 the parameter overwrite class variable inset.
3756 * inset.C (getMaxWidth): fix the setting of the minwidth = 10.
3758 * insettext.C (saveLyXTextState): check for invalid cursor-par.
3759 (reinitLyXText): remove wrong_cursor bool as not needed anymore!
3761 * insettabular.C (calculate_dimensions_of_cells): let's try to call
3762 update only for fixed with cells.
3763 (resetPos): try to fix the lockup on spellchecking or s&r.
3765 * insettext.C (update): comment this out as it seems first wrong
3766 and second not needed anymore!
3767 (some functions): call reinitLyXText() only in update() in all other
3768 positions set only need_update = INIT.
3770 2001-08-08 Juergen Vigna <jug@sad.it>
3772 * insettabular.C (setPos): fixed wrong actrow < rows() check.
3774 * insettext.C (insetUnlock): remove double-space on inset unlock.
3776 * insetcollapsable.C (draw): fix returned x when label > inset-width.
3778 * insettabular.C (update): fixed cursor positon after an insert.
3779 (insetAllowed): do not allow to insert insets when not inside the
3781 (draw): clear below an inset too as it could have changed height.
3783 * inset.C (getMaxWidth): fixed width for inset in inset.
3785 * insettext.C (update): small fix.
3787 * insettabular.C (tabularFeatures): added selection support to
3788 DELETE_ROW/DELETE_COLUMN.
3790 2001-08-07 Juergen Vigna <jug@sad.it>
3792 * inset.C (getMaxWidth): recoded and all it's implementations!
3794 * insettext.C (init,setParagraph+constructors): cleanups
3795 (reinitLyXText): fixed problem with wrong cursor when all paragraphs
3796 are new and I want do a save/restore of the cursor position which is
3797 not possible anymore.
3799 * insetcollapsable.C (searchBackward): recollapse inset if not found.
3800 (searchBackward): ditto
3801 (selectNextWord): ditto
3803 2001-08-07 Angus Leeming <a.leeming@ic.ac.uk>
3805 * insetlatexaccent.C (checkContents): Add some debug messages
3807 2001-08-07 Juergen Vigna <jug@sad.it>
3809 * insetert.C (read): don't use InsetCollapsable::read as we don't
3810 write the collapsed status anymore only the status.
3813 2001-08-06 Juergen Vigna <jug@sad.it>
3815 * insetert.C (set_latex_font): use LyXText's setFont directly.
3817 * insettext.C (drawFrame): fixed one time more the right position
3818 and size of the frame!
3820 * insetert.C (~InsetERT): hide the dialog.
3821 (showInsetDialog): added implementation
3824 (status): new function for the status of the ERT inset (3-state).
3825 (write): output also the status of the inset for readback!
3826 (read): readback the status if available otherwise use collapsed_.
3828 * insettext.C (edit): small fix of setting the position, which could
3831 * insetert.C (width): implement this function for inlined viewing.
3832 Added minimum width of 10 pixels!
3834 * insetminipage.C (InsetMinipage): just change the colors a bit so
3835 that border/background is a bit more visible. We will remove this
3838 * insettext.C (textWidth): add a 'bool fordraw' parameter and use this
3839 function for getting the important widths for drawing in various
3840 functions and in LyXText.
3841 (draw): fixed up a bit (frame drawing/clearing)
3843 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
3845 * inset.C (convertFont): delete method. not used.
3847 2001-08-03 Juergen Vigna <jug@sad.it>
3849 * insettext.C (setFont): don't call for a draw update if we're just
3850 changing the cursor font!
3852 2001-08-02 Juergen Vigna <jug@sad.it>
3854 * insettext.C (draw): clear the background with the right color if
3855 needed. Update myself if x&max-width changed and return without doing
3856 anything. Let the update code handle the right stuff.
3858 * insetminipage.C (getMaxWidth): fixed returning of maxwidth when
3859 inside another inset.
3861 2001-08-01 Juergen Vigna <jug@sad.it>
3863 * insetcollapsable.C (update): added an in_update bool so we avoid
3866 * insettabular.C (update): added an in_update bool so we avoid
3869 * insettext.C (insetButtonPress): hopefully fixed setselection/clear
3871 (update): added an in_update bool so we avoid reentering.
3873 * insettabular.C (localDispatch): clear col/row selection when doing
3874 something else inside an inset.
3876 * insettext.C (getLyXText): fixed bug when requesting a recursive
3879 2001-08-01 Angus Leeming <a.leeming@ic.ac.uk>
3881 * insetcite.C (latex): Paranoia check. Make sure that there is no
3882 whitespace between the citation keys.
3884 2001-07-31 Juergen Vigna <jug@sad.it>
3886 * inset.h (nodraw): make the set function also const so that this
3887 can be called from inside other const functions.
3889 * insetcollapsable.h: removed inline variable and moved it over
3890 to the only user InsetERT.
3892 * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the
3893 inset opening immediately therein lying insets dialogs!
3895 * insetert.C (localDispatch): set the font also if we don't have any
3896 chars in this paragraph, otherwise if we delete all of em and start
3897 writing we have the wrong font.
3899 (draw): implemented for inline support
3900 (insetButtonRelease): ditto.
3902 2001-07-30 Juergen Vigna <jug@sad.it>
3904 * insettext.C (reinitLyXText): new function to reinit the insets
3905 text after lot's of paragraph changes. Use this instead of the
3906 cache.clear() which is VERY dangerous.
3908 * insetfloat.C (insetButtonRelease): we should only show the dialog
3909 if we press on the label otherwise we have problems to open mouse
3910 button 3 dialogs inside this float (f.ex. of a tabular!)
3912 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
3914 * insetert.C: change back to "ERT"
3916 * insetfloat.C: handliign of RMB on label added.
3918 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
3920 * insetgraphicsParams.C: #include LOstream.h here.
3922 * insetfoot.h: remove InsetFoot:: qualifier.
3924 2001-07-29 Baruch Even <baruch@lyx.org>
3926 * ChangeLog: Hiding time travel evidence.
3928 * insetgraphicsParams.h:
3929 * insetgraphicsParams.C:
3930 * insetgraphics.C: Added horizontal scale option, it actually scales both
3931 directions since it keeps image proportions.
3933 * insetgraphics.C: Fixed EPS detection to be non-hacky.
3935 2001-07-29 Baruch Even <baruch@lyx.org>
3937 * insetgraphics.C (decideOutputImageFormat): when doing postscript output
3938 convert PNG/GIF/JPG to EPS, assume the rest are EPS already.
3940 HACKY! Will need to add an EPS detection routine like old InsetFig does!
3942 2001-07-29 Baruch Even <baruch@lyx.org>
3944 * insetgraphics.C: Added EPSI to be an alias of EPS.
3946 2001-07-29 Baruch Even <baruch@lyx.org>
3948 * insetgraphics.C: Change GRAPHICS to Graphics.
3949 Changed image conversion rules (documented at the beginning of file).
3951 2001-07-28 Angus Leeming <a.leeming@ic.ac.uk>
3953 * insetert.C (get_new_label): int -> Paragraph::size_type to get
3956 * insetgraphics.C: added a using std::endl directive.
3958 * insetcommand.h (getScreenLabel): removed pure virtual function,
3959 as it duplicates that in InsetButton.
3961 * insetbib.[Ch] (getScreenLabel):
3962 * insetbutton.[Ch] (getScreenLabel):
3963 * insetcite.[Ch] (getScreenLabel):
3964 * insetert.[Ch] (getScreenLabel):
3965 * insetexternal.[Ch] (getScreenLabel):
3966 * insetfloatlist.[Ch] (getScreenLabel):
3967 * insetinclude.[Ch] (getScreenLabel):
3968 * insetindex.[Ch] (getScreenLabel):
3969 * insetlabel.h (getScreenLabel):
3970 * insetparent.[Ch] (getScreenLabel):
3971 * insetref.[Ch] (getScreenLabel):
3972 * insettoc.[Ch] (getScreenLabel):
3973 * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter.
3975 * insetcite.C (getScreenLabel): use this Buffer parameter in creating
3977 (validate): remove check on "cite" when using natbib.
3979 2001-07-26 Baruch Even <baruch@lyx.org>
3981 * insetgraphics.C (draw): changed casting to be in one place rather than
3982 all over the function.
3985 * insetgraphics.C (read): Added compatibility reads of InsetFig.
3987 * insetgraphicsParams.h:
3988 * insetgraphicsParams.C:
3989 * insetgraphics.C: Removed inline option and changed rotateAngle to float.
3991 2001-07-28 Kayvan A. Sylvan <kayvan@sylvan.com>
3993 * insetfoot.C (validate): Added method to ensure that the
3994 right bit of LaTeX is emitted.
3996 * insetfoot.h: Added validate method to set the correct
3997 LaTeXFeatures bit for the special footnote code.
3999 2001-07-26 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4001 * insetquotes.C (dispString): display the right ISO8859-{1,9,15}
4004 2001-07-27 Juergen Vigna <jug@sad.it>
4006 * inset.h: remove not used font variable in parameter.
4007 removed checkInsertChar in UpdatableInset as it was equal to
4008 the one in Inset and so not needed.
4010 * insetert.C (checkInsertChar): implementation of function
4013 * inset.h: added new function checkInsertChar.
4015 * various files: added c-tor and clone() function.
4017 * insetcollapsable.h: removed clone function here as this should
4018 be only realized in REAL insets and added it to all collapsable
4019 insets! (with the copy-constructor).
4021 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4023 * insetminipage.C (read): handle missing parameters more gracefully
4025 * insetcollapsable.C (read): handel missing collapsed more gracefully
4027 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
4029 * insetfloat.C (read): handle missing parameters.
4031 * insettext.C (read): handle old latex end_inset
4033 * insetert.C (setButtonLabel): new method
4034 (init): use it, to set the dynamic label correctly
4037 * Makefile.am (EXTRA_DIST): add files that is not part or the
4040 * insetcollapsable.h: remove autocollapsable (no users), remove
4041 draw_label, change_label_with_text and companion code. Remove args
4043 * insetert.[Ch]: move here instead (only user)
4045 * inset.h: rename private variable name to name_, make
4046 selectNextWord return a const string. make getInsetName return a
4047 string const &. Remove bool from open, add close.
4049 * Makefile.am: don't compile insetlist, insetsection
4052 2001-07-24 Juergen Vigna <jug@sad.it>
4054 * insetert.C (InsetERT): put init after the paragraph initialization,
4055 as otherwise we don't set the draw_label right.
4057 * insetcollapsable.C (insetMotionNotify): fixed opening/closing the
4058 insets with the mouse without having strange selections.
4059 (edit): if the inset was collapsed and we open it here then put the
4060 cursor always at the beginning of the inset.
4061 (get_new_label): 15 instead of 10 max chars in the label.
4063 * insetert.C (localDispatch): added and handle various stuff we
4064 need to handle here (font setting on paragraph break, not permitted
4065 layout setting, etc.).
4067 * inset.h: added default copy-consturctor and implemented this in
4068 various insets with the change to use this in the clone function!
4070 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4072 * insetminipage.C (InsetMinipage): set background color to red :)
4074 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4076 * insettext.C (insetUnlock): only set update to CLEAR_FRAME if
4077 draw frame mode is LOCKED.
4079 * insetcollapsable.C (edit):
4080 (insetButtonRelease): set update status to full when
4083 * insettext.C (clearInset):
4084 * insettabular.C (draw):
4085 * insetlatexaccent.C (draw): honor background color.
4087 * inset.h: new member background_color_, initialized to
4090 * inset.C (backgroundColor): new method.
4091 (setBackgroundColor): new method.
4093 * insetert.C (init): new method, called by the ctors.
4094 (InsetERT): when inserting contents, make sure the font is
4097 * insetnote.C (InsetNote): when inserting content, remove trailing
4099 (init): set background color to LColor::note
4101 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
4103 * insetcollapsable.C: adjust
4105 * insetbutton.C: adjust
4107 2001-07-23 Juergen Vigna <jug@sad.it>
4109 * insetcollapsable.h: removed widthCollapsed variable, LyXFont
4110 parameter on the _collapsed function (was not needed) and call
4111 always width_collapsed().
4113 * insetert.C (InsetERT): use setLabel with "true" flag.
4115 * insetcollapsable.C: modified various functions to set the draw_label
4116 string right in any condition.
4117 (setLabel): added a bool parameter to set change_label_with_text.
4119 * insetcollapsable.h: added draw_label string which is set to the
4120 actual drawn label-string, while label is the original static label
4121 of this collapsable inset. Added bool change_label_with_text to set
4122 if we want that the label changes to the start of the InsetText's
4123 text when collabpsed. You can set this flag with the setLabel funciton.
4124 Added bool inlined for inlined collapsable insets, but not handled
4127 * insetcollapsable.C (get_new_label): added should get a new label
4128 from the InsetText beginning (for now 10 chars).
4130 2001-07-21 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4132 * insetquotes.C (latex): fix the handling of french double quotes
4133 when not using the french pachage.
4135 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4137 * insetcollapsable.h: make WidthCollapsed mutable.
4139 * insetindex.C (lyxCode): InsetIndex returns INDEX_CODE,
4140 InsetPrintIndex returns INDEX_PRINT_CODE.
4142 * inset.h: add INDEX_PRINT_CODE
4144 * insetcollapsable.C (draw): init widthCollapsed if necessary
4147 * insetquotes.C (width): use the local language, not the document
4150 (dispString): add additional spacing for all french languages,
4152 (validate): make it work when there is no default language
4154 * insetspecialchar.h: rename kind to kind_; add kind() accessor.
4156 * insetnote.C (init): new method, called by the constructors
4157 (InsetNote): new constructor with contents passed as a string
4159 2001-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4161 * insetfootlike.C (insetAllowed): disallow float in footlike.
4163 * insetert.C (InsetERT): add collapsed argument to the constrctor
4166 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4168 * insetindex.h: shut off warning
4170 2001-07-20 Juergen Vigna <jug@sad.it>
4172 * insetcollapsable.C (update): recoded hopefully works now!
4174 2001-07-19 Juergen Vigna <jug@sad.it>
4176 * most files: implemented the below new introduced function.
4178 * inset.h: added new edit(BufferView *, bool front) method to be able
4179 to enter an inset from the front/back without knowing x/y positions
4180 and baselines inside the inset. So I just can tell the inset activate
4181 me and set the cursor on the front/back of yourself.
4183 2001-07-18 Juergen Vigna <jug@sad.it>
4185 * insetcollapsable.C (edit): fixed hopefully the y parameter which
4186 is given to the InsetText.
4187 (insetButtonPress): ditto
4188 (insetButtonRelease): ditto
4189 (insetMotionNotify): ditto
4191 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4193 * insetspecialchar.[Ch]: change HYPHENATION_BREAK to
4194 LIGATURE_BREAK, since the name is so stupid.
4196 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
4198 * insetnote.[Ch]: (insertInset, insetAllowed): removed. Note now uses
4199 the default InsetCollapsable methods. I.e., it can insert anything.
4200 (write) output the name of the inset, not some silly hack for
4201 compatability with the old InsetInfo.
4203 * insetinfo.[Ch]: removed.
4204 * insetnote.[Ch]: new files. InsetNote replaces InsetInfo. The inset is
4205 now collapsable, but functionality is otherwise identical to InsetInfo.
4207 * Makefile.am: removed insetinfo.[Ch]. Added insetnote.[Ch].
4209 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4211 * insetspecialchar.[Ch]: add support for HYPHENATION_BREAK. some
4214 * insetquotes.C: general cleanup
4215 (dispString): add spaces inside french double quotes.
4216 (latex): ditto. Moreover, treat first the case where the frenchb
4217 or french options have been given.
4219 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
4221 * insetcite.[Ch] (latex, validate): new methods, required for natbib
4224 2001-07-19 Dekel Tsur <dekelts@tau.ac.il>
4226 * figinset.C (RegisterFigure): Print debug message only when
4227 current_view is available.
4229 2001-07-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4231 * many files: update to match the change below
4233 * inset.h (insetAllowed): renamed from insertInsetAllowed;
4234 implement the version which takes an inset here.
4236 * insetcollapsable.[Ch]: implement open and isOpen
4238 * inset.h: remove insertInsetAllowed from Inset
4239 (open): new method, to open or close an inset
4240 (isOpen): returns the status of an inset
4241 (isCollapsable, colapse): removed
4243 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
4245 * insetquotes.C (dispString): display french guillemets when using
4248 2001-07-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4250 * insetcollapsable.h: remove bogus return statements
4252 2001-07-18 Juergen Vigna <jug@sad.it>
4254 * insettabular.C (selectNextWord): fixed spellchecking for the
4255 first cell of a tabular (wasn't entered!)
4256 (getLyXText): changed to enter automatically insettext and return
4257 it's LyXText if we're locked.
4259 2001-07-17 Juergen Vigna <jug@sad.it>
4261 * various files: implemented the below functions.
4263 * inset.h: added functions
4264 - virtual string selectNextWord(BufferView *, float & value) const;
4265 - virtual void selectSelectedWord(BufferView *) { return; }
4266 - virtual void toggleSelection(BufferView *, bool /*kill_selection*/)
4267 needed for spellchecking correctly!
4269 2001-07-16 Lars Gullik Bjønnes <larsbj@birdstep.com>
4271 * insetert.C (latex): write out all paragraphs.
4273 2001-07-17 Baruch Even <baruch@lyx.org>
4275 * insetgraphics.C (draw): Removed unneeded casts.
4277 2001-07-16 Juergen Vigna <jug@sad.it>
4279 * insettext.C (update): fixed small oversight (reset lt to 0).
4281 2001-07-14 Baruch Even <baruch@lyx.org>
4284 * insetgraphics.C: Added a copy c-tor and handled the same_id case.
4286 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
4288 Consistent use of Lsstream.h:
4289 * figinset.C: removed using std::ostringstream directive.
4291 * insetgraphics.C (createLatexOptions):
4292 * insetinclude.C (unique_id):
4293 std::ostringstream -> ostringstream.
4294 * insettext.C (localDispatch): std::istringstream -> istringstream.
4296 2001-07-13 Juergen Vigna <jug@sad.it>
4298 * insetfloat.C (insertInsetAllowed): added missing const_cast.
4300 * insetcollapsable.C (getLockingInset): ditto.
4302 2001-07-12 Juergen Vigna <jug@sad.it>
4304 * insetcollapsable.h: added implementation of new function for
4307 * various files: added implementation of new insertInsetAllowed-func
4308 and redone the function a bit more.
4310 * inset.h: added isCollapsable(), bool collapsed(),
4311 collapsed(BufferView *, bool) and insertInsetAllowed(Inset::Code).
4313 * insetfloat.C (insertInsetAllowed): make a bit more checks.
4315 * insettext.C (getLyXText): use 'lt' to assure we're not erasing the
4316 LyXText which is marked for removal while we're using it!
4318 * insettext.h: added private LyXText * lt to use it to assure we are
4319 not deleting our LyXText while we're using it!
4321 2001-07-11 Juergen Vigna <jug@sad.it>
4323 * insettext.C (insertInset): check if we are before the inset after
4324 inserting it! This check IS needed. Remove the Undo-Call as it is
4325 called in LyXText::insertInset!
4327 * insettext.h: added struct InnerCache.
4329 * insettext.C (deleteLyXText): insert a new InnerCache mechanism so
4330 that we ONLY delete the LyXText in the getLyXText() routine. So we
4331 are sure we don't delete LyXText while someone is working with it!
4333 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
4335 * insetexternal.C: (*it). -> it->
4336 * insettext.C: ditto
4338 2001-07-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4340 * insetcollapsable.C (edit): always open collapsed insets (even if
4341 they are not autocollapsable)
4343 * insetcommand.C (operator=): simplify.
4345 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4347 * insetert.C (latex): handle META_NEWLINE
4349 2001-07-09 Juergen Vigna <jug@sad.it>
4351 * insetert.h: a normal InsetText can insert insets, but we won't.
4353 * inset.h: return default "false" on insertInsetAllowed and implement
4354 this function where a returnvalue != "false" is needed.
4356 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4358 * insetert.C (InsetERT): new contructor
4360 2001-07-06 Juergen Vigna <jug@sad.it>
4362 * a lot of files: added implementation of the below new functions
4363 and the change to clone(). Also the call of the new undo-functions
4366 * inset.h: added an inset_id, added functions getParFromID,
4367 getInsetFromID, firstParagraph, cursor and id functions, added
4368 bool same_ids to clone function.
4370 2001-07-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4372 * insettext.[hC]: make cached_text a shared_ptr, make Cache be a map
4373 of BufferView * and shared_ptr<LyXText>
4375 2001-07-05 Juergen Vigna <jug@sad.it>
4377 * insettext.C (clear): deleted also the cache not only LyXText.
4378 (setParagraphData): ditto.
4380 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4382 * insetfloat.C (latex): let the specific placement take presedence
4383 if set, otherwise choose document placement if set, otherwise just
4384 use float default placement.
4386 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4388 * insettext.C (localDispatch): call CutAndPaste::'s static method
4391 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4393 * insetbib.C: no meed to include forms.h here.
4395 2001-07-03 Angus Leeming <a.leeming@ic.ac.uk>
4397 * insettext.C: added using std::make_pair directive.
4399 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4401 * insettext.C (getLyXText): avoid multiple lookups, and simplify
4403 (deleteLyXText): ditto
4404 (resizeLyXText): ditto
4406 2001-07-02 Juergen Vigna <jug@sad.it>
4408 * insettext.C (getLyXText): introduce a cache in getLyXText so that
4409 following calls are only returned the right pointer without the over
4410 head to search in the map.
4411 (various funcs): reset the cached_bview variable as this signs that
4412 the cache is not valid anymore.
4414 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4416 * insettabular.C (clone): do not copy the LyXTabular twice
4418 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
4420 * insettext.h (TEXT): delete method
4422 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4424 * insetmarginal.C (latex):
4425 * insetfoot.C (latex): fix spacing of notes in LaTeX
4427 * insettext.C (localDispatch): use .c_str() on istringstream
4428 constructor argument.
4430 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
4435 * inseturl.C: fix method names in these to begin
4436 with small char too, so they inherit
4438 2001-06-28 Juergen Vigna <jug@sad.it>
4440 * insettext.C (setFont): fixed font settings using toggleFree()
4441 instead of setFont().
4443 2001-06-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
4445 * Change a lot of method names to begin with a small char.
4446 Changes to a lot of files because of this.
4448 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4450 * insetfloatlist.C (Write): std:: qualify ostream
4453 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
4457 * insetgraphics.C: send debug output to Debug::INFO instead of
4460 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
4463 * insettabular.C (getStatus): update to use func_status
4465 2001-06-26 ben <nicolas.marsgui@libertysurf.fr>
4467 * insetref.C (DocBook): added support for cross-references without
4470 2001-06-26 The LyX Project <jug@sad.it>
4475 * insetlabel.h: removed escape method and moved it to
4478 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
4480 * insettabular.C (getMaxWidth): do the speedup in a different way,
4483 2001-06-24 The LyX Project <Asger>
4485 * insettabular.C (getMaxWidth): We cache a mapping from
4486 inset to cell in order to speed this method up.
4488 2001-06-24 The LyX Project <Asger>
4490 * insettext.C: Optimized InsetText::draw or something.
4492 2001-06-23 The LyX Project <lyx@rose.home.sad.it>
4494 * insettext.C (LocalDispatch): fixed inserting of 'normal chars'
4496 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
4498 * inset.h: name change from lyxinset.h
4500 2001-06-22 Dekel Tsur <dekelts@tau.ac.il>
4502 * insetfloat.C (Validate): Add a call to InsetCollapsable::Validate
4504 2001-06-14 Juergen Vigna <jug@sad.it>
4506 * insettext.C (draw): removed warnings.
4508 2001-06-13 Juergen Vigna <jug@sad.it>
4510 * insettabular.C (nodraw): only go down the tree if we don't have
4511 that flag set otherwise it's obvious that we don't want to draw.
4512 (LocalDispatch): do also an update if we have an undispached result.
4514 2001-06-19 Angus Leeming <a.leeming@ic.ac.uk>
4517 * insetgraphicsParams.C:
4518 * insettext.C: removed // -*- C++ -*- as first line.
4520 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4522 * lyxinset.h (resizeLyXText): shut off warning about unused
4525 2001-06-07 Juergen Vigna <jug@sad.it>
4527 * insettext.C (resizeLyXText): honor the new force flag.
4529 * lyxinset.h: add 'bool force' parameter to resizeLyXText(...)
4531 * insettabular.C (deleteLyXText): new function
4533 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
4541 * insetcollapsable.C:
4542 * insetcaption.C: LColor tidy
4544 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
4546 * figinset.C: fix typo
4548 2001-06-01 Juergen Vigna <jug@sad.it>
4550 * insettabular.C (resetPos): small hack so that scroll is not set to
4551 0 when we are in the last column of a tabular. This is a problem we
4552 have because of constats 20 offset on both directions, so this can
4553 cause on the limit an endless loop.
4555 * insettext.C (SetFont): forgot that we can have locking insets ;)
4557 2001-05-31 Juergen Vigna <jug@sad.it>
4559 * insettabular.C (LocalDispatch): small fix for LFUN_TAB.
4561 2001-05-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4563 * figinset.C: add using std:: directive for the C functions which
4566 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
4568 * insetfloat.C (Write): write out wide info
4569 (Read): read the wide info
4570 (Latex): use the wide info when creating latex.
4572 * insettext.C: adjust
4574 * insetgraphics.[Ch] (statusMessage): change to return string
4578 * figinset.C (runqueue): add std::
4581 2001-05-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4583 * insetcite.C (Ascii): add std:: qualifier
4585 2001-05-28 Juergen Vigna <jug@sad.it>
4587 * insettext.C (resizeLyXText): clear LyXText ONLY if we don't have
4588 a endless-width inset (maxWidth < 0).
4589 (Edit): change language only if not equal.
4591 * insettabular.C (resetPos): call UpdateLocal only on REAL scroll!
4593 * insettext.C (draw): fixed draw/clear of InsetText-Frame
4595 2001-05-16 Juergen Vigna <jug@sad.it>
4597 * insettext.C (selectAll): added
4598 (clearSelection): added
4600 * insettabular.C (SetFont): now we may set a font on a whole selection!
4601 (getSelection): added helper function.
4603 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
4605 * insetcite.C (Ascii): Add method.
4607 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
4610 * insetbib.C: fix path for OS/2 & Win32
4612 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
4614 * insetfoot.C (Latex): don't use % after footnote.
4616 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
4618 * insettext.C (Read): use clear
4619 (SetParagraphData): use LyXParagraph copy constructor instead of clone
4621 2001-05-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4623 * insetfloatlist.h: add a bunch of std:: qualifiers.
4625 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4627 * lyxinset.h: remve LOF_CODE, LOT_CODE, LOA_CODE, add
4628 FLOAT_LIST_CODE, renumber code list.
4630 * insettoc.C (getScreenLabel): remove support for float lists
4634 * insetfloatlist.[Ch]: new files
4636 * Makefile.am (libinsets_la_SOURCES): add insetfloatlist.[Ch]
4638 2001-04-27 Angus Leeming <a.leeming@ic.ac.uk>
4640 * insettabular.C (LocalDispatch):
4641 * insettext.C (LocalDispatch): getClipboard() is now a BufferView
4644 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
4646 * insettext.C: remvoe !NEW_INSETS cruft
4648 * insettabular.C: remove !NEW_INSETS cruft
4650 * insetcollapsable.h: remove !NEW_INSETS cruft
4652 * insetbib.C: remove !NEW_INSETS cruft
4654 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
4656 * insettoc.C: hack to make listof algorithm work
4658 2001-04-20 Juergen Vigna <jug@sad.it>
4660 * insettext.C (Edit): call checkAndActivateInset with y=0 if y < 0.
4662 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4664 * insetquotes.C (Latex): improve the guard against
4665 unwanted !` and ?` ligatures. This should really be done in
4666 another place (to catch all this ligatures at low-level).
4668 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
4670 * insettext.C (init): remvoe leftovers from cursor_visible change
4671 (draw): use c++ cast
4672 (LocalDispatch): dispatch LFUN_MESSAGE
4674 * insettabular.C (InsetTabular): remove leftovers from
4675 cursor_visible, and scoped_ptr changes
4676 (draw): use c++ cast
4678 * insetcollapsable.C (draw): use c++ cast
4680 * ExternalTemplate.h: inherit privaely from noncopyable
4681 * insetcommand.h: ditto
4682 * insetinclude.h: ditto
4684 2001-04-16 Allan Rae <rae@lyx.org>
4686 * insettoc.C (Ascii):
4687 * insettext.C (draw):
4688 * insettabular.C (setPos):
4689 * insetminipage.C (Read):
4690 * insetfloat.C (placement):
4691 * insetcaption.C (Ascii, DocBook):
4692 * figinset.C (runqueue): #warning triggers an error on Sun CC 6.0 as
4693 an unrecognised preprocessor directive. So ensure they're wrapped.
4695 2001-04-06 John Levon <moz@compsoc.man.ac.uk>
4698 * insetexternal.C: set view on Clone. Add _ to private members.
4700 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
4702 * insettext.C (InsetText): fix new
4703 (InsetText): reindent some, simplify deletion of par list
4704 (clear): simplify deletion of par list, fix new
4705 (SetParagraphData): simplify deletion of par list
4707 * insettabular.[Ch] (getLabelList): implement new method
4709 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
4711 * lyxinset.h: do not include gettext.h...
4719 * insetlatexaccent.C:
4723 * inseturl.C: ... and do it here instead
4725 2001-04-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
4727 * insetcollapsable.[Ch] (getLabelList): add std:: on vector<string>
4729 * insettext.[Ch] (getLabelList): add std:: on vector<string>
4731 * insetcollapsable.[Ch] (getLabelList): implement
4733 * insettext.[Ch] (getLabelList): implement
4735 * insettext.h: reindent
4737 * insettabular.h: make tabular a scoped_ptr
4739 * insettext.C (init): adjust for cursor_visible
4740 (ToggleInsetCursor): constify asc and desc, font, adjust for
4742 (ShowInsetCursor): constify asc and desc, font, adjust for
4744 (HideInsetCursor): adjust for cursor_visible
4746 * insettabular.C: reindent some
4747 (InsetTabular): adjust for scoped_ptr and cursor_visible
4748 (InsetTabular): ditto
4749 (~InsetTabular): delete delete
4750 (Clone): adjust for scoped_ptr
4751 (Read): constify old_format, adjust for scoped_ptr, move init of
4753 (draw): constify tx, localize loop vars.
4754 some other localization of variables, remove double initilizatons.
4756 * insetfoot.C: remove using std::ostream, add ostream where needed
4758 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
4760 * lyxinset.h: some reindentaion, use initializer list for
4762 UpdatableInset: make cursor_visible a private var add
4763 public isCursorVisible(), add protected toggleCursorVisible() and
4764 proctected setCursorVisible(bool), make scroll call the Inset::scroll
4766 * insettoc.C: remvoe using decl
4767 (getScreenLabel): make cmdname donst
4770 (Ascii): don't use endl
4772 * insetfootlike.C: remove using decl at file scope and add std::
4774 * insetmarginal.C: ditto
4776 * insetfoot.C: some reformatting
4778 * insetfloat.C (InsetButtonRelease): adjust the hit area
4780 * insetert.C (SetFont): some reformatting
4782 * insetcollapsable.C: some reformatting and constification
4783 (Clone): comment out.
4784 * insetcollapsable.h: some reformatting
4785 (Clone): comment out.
4790 2001-03-30 Juergen Vigna <jug@sad.it>
4792 * insetcollapsable.h: changen *inset to be a InsetText inset.
4794 * some files: changed to reflect the above change.
4796 2001-03-29 Angus Leeming <a.leeming@ic.ac.uk>
4798 * insetexternal.[Ch]: renamed InsetExternal::InsetExternalParams as
4799 InsetExternal::Params.
4800 Added operator==() and operator!=() for the Params struct.
4802 2001-03-29 Juergen Vigna <jug@sad.it>
4804 * lyxinset.h: changed parameter of getMaxWidth from Painter & to
4807 * insetminipage.C: removed widthp_ and all it's functions and changed
4808 to use new %-lengths of LyXLength.
4810 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
4812 * figinset.[Ch]: changed headers lyx.h, form1.h -> figure_form.h.
4814 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
4816 * insetgraphicsParams.C (operator!=): new function, needed by the
4817 ControlGraphics class.
4819 2001-03-28 Juergen Vigna <jug@sad.it>
4821 * insettext.C (InsetButtonPress): only enter !inset if button == 2
4822 (checkAndActivateInset): don't use the values returned from
4823 call to bv->checkInsetHit.
4825 * insetminipage.C (Clone): set special minipage values.
4827 * insetcollapsable.C (draw): changed to draw the button in the
4828 upper left corner outside the textinset.
4829 (ascent): changed because of different drawing
4833 (InsetButtonPress): ditto
4834 (InsetButtonRelease): ditto
4835 (InsetMotionNotify): ditto
4837 2001-03-27 Dekel Tsur <dekelts@tau.ac.il>
4839 * figinset.C (GetPSSizes): Fix for the case when filename doesn't
4843 2001-03-26 Juergen Vigna <jug@sad.it>
4845 * lyxinset.h: added ShowInsetDialog() function in UpdatableInset.
4847 * insettext.C (ShowInsetDialog): implemented above function.
4849 * insettabular.C (ShowInsetDialog): ditto
4851 * insetminipage.C (ShowInsetDialog): ditto
4853 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
4855 * insetinclude.[Ch]: rename InsetInclude::InsetIncludeParams as
4856 InsetInclude::Params. Don't store a buffer * in Params. Store the
4857 master file name instead.
4859 2001-03-23 Juergen Vigna <jug@sad.it>
4861 * insetcollapsable.C (InsetMotionNotify):
4862 (InsetButtonRelease):
4863 (InsetButtonPress): fixed y-offset (minipages).
4865 * insettext.C (draw): force a FULL update if cleared == true.
4867 * insetcollapsable.C (draw): Lars forgotten entry for changing this
4868 routine to draw the minipages on its position-flag.
4869 (InsetInInsetY): give back the right y position, because of minipage
4872 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
4875 * insetfloat.C (DocBook): docbook export code.
4877 2001-03-22 Juergen Vigna <jug@sad.it>
4879 * insetminipage.C (getMaxWidth): added function to set the drawing
4881 (Read): should work now!
4883 * insetcollapsable.C (InsetCollapsable): default is now NOT collapsed
4884 if we create a new inset.
4886 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
4888 * figinset.C (fl_set_preemptive_callback): moved definition outside
4891 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4893 * insetminipage.C (Read): prepare for reading of minipage arguments.
4895 2001-03-18 Baruch Even <baruch@lyx.org>
4897 * insetgraphics.C: Minor cleanups of the comments and code.
4899 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4901 * insetminipage.C (InsetMinipage): default to not collapsed
4903 2001-03-16 Juergen Vigna <jug@sad.it>
4905 * insetminipage.C (width): modified with to be a string
4906 (widthp): added widthp (for % width) support functions.
4907 (InsetButtonRelease): added to open the options dialog on button==3.
4908 (~InsetMinipage): added to hide the dialog.
4910 * insetminipage.h: added hideDialog signal
4912 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4914 * insetminipage.h: change the order or Position to match
4915 LyXParagraph::MINIPAGE_ALIGNMENT
4917 * several files: remvoe CXX_WORKING_NAMESPACES
4919 * ExternalTemplate.h: noncopyable is in namespace boost
4920 * insetinclude.h: ditto
4921 * insetcommand.h: ditto
4923 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
4925 * insettext.C (Edit): #else# -> #else.
4926 * insettoc.C: added using directive.
4928 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4930 * insetminipage.h: add pos, inner_pos, width and height. + getters
4931 and setters for all of them.
4933 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
4935 * insetinclude.C (Latex): Do not exit when the textclass of the
4936 included file differ from the textclass of the parent file.
4938 2001-03-12 Angus Leeming <a.leeming@ic.ac.uk>
4940 * ExternalTemplate.C (read): the reading of external insets now checks
4941 for \end_inset and removes it form the input stream.
4943 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
4945 * ExternalTemplate.h:
4946 * ExternalTemplate.C:
4948 * insetexternal.C: move form to GUII
4950 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
4953 * insetinclude.C: add InsetIncludeParams, use
4954 composition rather than derivation of InsetCommand
4956 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4958 * insettoc.C (Ascii): use the Buffer typedefs
4960 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4962 * insettoc.C (Ascii): implement for dynamic number of lists
4964 * insetcaption.[Ch]: update from new_insets branch
4965 * insetfloat.[Ch]: ditto
4967 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
4970 * figinset.C: use new File Dialog
4972 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
4974 * insettext.C: changes becuase of ParagraphParameters.
4976 2001-02-28 Baruch Even <baruch@ev-en.org>
4978 * insetgraphics.C (updateInset): Changed due to the change in
4981 2001-02-26 Juergen Vigna <jug@sad.it>
4983 * insettext.C (SetFont): Set Undo only if we have selection (as it is
4984 handled in LyXText).
4986 2001-02-23 Juergen Vigna <jug@sad.it>
4988 * insettext.C (draw): some small repainting fixes.
4989 (LocalDispatch): put the sel_cursor stuff after the insert of chars.
4991 * inset.C (LocalDispatch): changed action to be a kb_action (as it
4992 should be) and not an int.
4994 * insettabular.C (LocalDispatch): ditto
4996 * insettext.C (LocalDispatch): ditto
4998 * insetcollapsable.C (LocalDispatch): ditto
5000 2001-02-22 Juergen Vigna <jug@sad.it>
5002 * insettabular.C (LocalDispatch): return DISPATCHED if we cannot
5003 DISPATCH it and we don't have a locking_inset.
5005 2001-02-21 Baruch Even <baruch@ev-en.org>
5007 * insetgraphics.[Ch]: Changed to use boost::shared_ptr<GraphicsCacheItem>
5008 instead of GraphicsCacheItem *.
5010 2001-02-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5012 * insetcollapsable.C (getLyXText): add const qualifier to second
5015 2001-02-22 Juergen Vigna <jug@sad.it>
5017 * insettext.C (getLyXText): honor the recursive parameter.
5018 (SetUpdateStatus): set need_update to CURSOR_PAR if LyXText needs it.
5020 * inset.C (getLyXText): added bool recursive parameter.
5022 * insettext.C (SetUpdateStatus): or the update codes.
5023 (draw): check need_update with &.
5024 (InsetButtonPress): set no_selection to not put a selection when
5025 entering an inset and it is redraws in another spot.
5027 * insettext.h: made need_update an int.
5029 2001-02-20 Baruch Even <baruch@ev-en.org>
5032 * insetgraphisc.C: Changed to use better semantics when loading images
5033 for inline view. Now it doesn't keep the pixmap itself but it's holder.
5035 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
5039 * insetgraphics.C: change name of "hide" signal to "hideDialog",
5040 consistent with InsetTabular.
5042 2001-02-19 Juergen Vigna <jug@sad.it>
5044 * insettabular.C (LocalDispatch): implement PAGE up/down.
5046 * insettext.C (draw): clear all of it on need_update==INIT too!
5048 * insettabular.C (InsetUnlock): always clear the selection.
5050 * inset.C (scroll): normally we only want to scroll the inset until
5051 it is fully visible so if top_x + offset > 20 then just set scx to 0.
5053 2001-02-14 Juergen Vigna <jug@sad.it>
5055 * insettabular.C (LocalDispatch): remove x_fix as it is not used.
5056 (resetPos): fixed scroll behaviour.
5057 (LocalDispatch): do an update if moving cursor inside a table cell
5058 requests a scroll of the tabular.
5060 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
5062 * insettext.C (textWidth): constify local var
5064 * insettabular.C: small cleanup.
5066 * insetfoot.C (Latex): constify local var
5068 * insetcollapsable.C: small cleanup.
5070 * figinset.C (runqueue): use compare instead of strcmp
5072 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
5075 * insetinfo.C: remove cruft
5077 2001-02-14 Juergen Vigna <jug@sad.it>
5079 * insettext.C (SetUpdateStatus): added a BufferView * parameter.
5081 2001-02-13 Juergen Vigna <jug@sad.it>
5083 * insettext.C (InsertInset): don't move left (is this right?)
5085 * insettabular.C (LocalDispatch): use of the no_draw variable
5087 * insettabular.h: new no_draw variable to stop redraw
5089 * insettabular.C (TabularFeatures): fixed update for alignment change
5091 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
5095 * insetbib.C: move dialogs to frontends/
5097 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
5099 * insettext.C (LocalDispatch): Restore the language if the inset
5102 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
5104 * insettext.C (moveRightIntern): Update the selection cursor.
5105 (moveLeftIntern): Ditto.
5107 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5109 * Makefile.am: remove BoundingBox.h
5111 * BoundingBox.h: removed
5113 2001-02-08 Dekel Tsur <dekelts@tau.ac.il>
5115 * insettext.C (LocalDispatch): Update selection cursor when moving
5116 cursor to the right.
5117 (moveRightIntern): Call to CursorRight with 2 argument eqaul to false.
5118 (moveLeftIntern): Ditto.
5120 2001-02-05 Baruch Even <baruch.even@writeme.com>
5122 * insetgraphics.C: Updated automatic image conversion, it now goes into
5123 temporary directory instead of with the image itself.
5125 2001-01-21 Baruch Even <baruch@ev-en.org>
5127 * insetgraphics.C: Added Docbook support. Added Automatic image conversion
5128 to EPS or PNG when needed (support bitmap graphics).
5130 2000-11-02 Baruch Even <baruch@ev-en.org>
5133 * insetgraphiscParams.C: Some cleaning up, changing from std::endl to '\n'
5134 and removal of commented out code.
5136 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5138 * insetbib.C (callback): Update citations if the key has changed.
5140 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
5142 * insetbib.C (InsetBibKey): Better computation of default key.
5143 (getScreenLabel) Show both the key and the label.
5144 (getBibLabel): New method.
5145 (callback): Force a redraw if the inset have been changed.
5147 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
5149 * insetref.C (getType, getName): Move methods from
5150 src/frontends/xforms/FormRef.C.
5152 2001-01-12 Dekel Tsur <dekelts@tau.ac.il>
5154 * insettabular.C: Various improvements (use only one dummy position).
5156 2001-01-25 Dekel Tsur <dekelts@tau.ac.il>
5158 * insetbib.C (bibitemWidest): Use lyxfont::width instead of
5159 par->bibkey->width. This fixes the crashes when running without
5160 gui or when having included documents.
5162 2001-01-22 Dekel Tsur <dekelts@tau.ac.il>
5164 * insetcommand.C (getAsString, setFromString): Cleanup.
5166 2001-01-21 Dekel Tsur <dekelts@tau.ac.il>
5168 * insetref.C: Add the array InsetRef::types that contains
5169 information about all supported reference types.
5171 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
5173 * lyxinset.h: remove trailing comma in enum.
5175 2001-01-17 John Levon <moz@compsoc.man.ac.uk>
5177 * insettext.C: kill LyXBell.