X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FChangeLog;h=ca43d81826d140213467200a31012f3b47f0af7e;hb=49dcb7a5d44f5cdd1a32769f866a5229d7e6e42f;hp=8f3241584074b82519fc93462b4940fbba14d98e;hpb=55bf6460f304a4632af2136a62c8a82fb86053f3;p=lyx.git diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index 8f32415840..9e5dfe3afc 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,1196 @@ +2002-02-12 Herbert Voss + + * insetgraphics.C: latex(), return the correct newlines + +2002-02-13 José Matos + + * inseturl.C (docbook): escape & in url. + +2002-02-13 Jean-Marc Lasgouttes + + * insetspecialchar.C (isLineSeparator): line breaking is allowed + after HYPHENATION and MENU_SEPARATOR + + * inset.h (isLineSeparator): new method, returns false by default. + +2002-02-12 Jean-Marc Lasgouttes + + * insetert.C (status): do not update the text inset, but the ERT + inset. + +2002-02-11 John Levon + + * insetnote.C: use notebg for background + +2002-02-08 Herbert Voss + + * insetgraphic.C: + * insetgraphicsParams.[Ch]: adding new Option noUnzip to + prevent LyX from unzipping when this should be handled + by latex vis the graphic.cfg. + clean up the code + +2002-02-08 Herbert Voss + + * insetgraphic.C: prepareFile(): fix bug when file doesn't + exists, than return filename with extension + +2002-02-06 Herbert Voss + + * insetgraphic.C: prepareFile(): don't convert the file, when + it's not viewed in LyX. Saves a lot of time when opening a + document! + +2002-02-05 Herbert Voss + + * insetgraphic.C: + * insetgraphicsParams.[Ch]: some cosmetic changes to latex output + and adding a rotate bool similiar to subcaption + +2002-02-04 Herbert Voss + + * insetgraphic.C: + * insetgraphicsParams.[Ch]: add a LyXView-scale to have a + similiar view to the LaTeX one. Get zipped files work. + +2002-02-04 Angus Leeming + + * insetgraphicsParams.C (init): set display to DEFAULT. + No longer #include "lyxrc.h". + +2002-02-04 Angus Leeming + + * insetgraphics.C (readFigInset): comment out the "zippedFile" stuff + for now (so that the code compiles). + +2002-02-02 Herbert Voss + + * insetgraphic.C: delete inVariant() and some minor changes + * insetgraphicsParams.[C]: + +2002-02-01 Angus Leeming + + * insetgraphics.C (updateInset): if params.display == DEFAULT, + interogate lyxrc.display_graphics before diaplaying the graphic. + + * insetgraphicsParams.[Ch]: respect the new DEFAULT state of + InsetGraphicsParams::DisplayType. + +2002-01-31 Herbert Voss + + * insetgraphic.C: (readfigInset) set display to pref-default + +2002-01-30 Herbert Voss + + * insetgraphic.C: get the filetyp from it's contents + * insetgraphicparams.C: add token scale and lyxrc.display when + creating a new inset + +2002-01-30 Angus Leeming + + * figinset.C: added using std::ios directive. + +2002-01-30 Jean-Marc Lasgouttes + + * figinset.C (runqueue): open translation file in binary mode (for + cygwin). + +2002-01-27 Herbert Voss + + * insetgraphic.[Ch]: mostly newritten to support graphicx with + all options and to be sure that the old figinsets are correct + converted. + * insetgraphicParams.[Ch]: a lot of chamges to have a clean data- + structure and to support all lengths as LyXLength. The Parameter + structure changed again, but reading of "old" 1.2 graphic insets + is no problem. + +2002-01-20 Dekel Tsur + + * insetert.h (forceDefaultParagraphs): Added + +2002-01-20 Jean-Marc Lasgouttes + + * insettabular.C (getMaxWidth): + (forceDefaultParagraphs): use Tabular::GetCellFromInset + +2002-01-19 Jean-Marc Lasgouttes + + * insettabular.C (getMaxWidthOfCell): adapt to the new definition + of LyXLength::inPixels + + * inset.C (latexTextWidth): + * insetminipage.C (latexTextWidth): new method, which implements + the equivalent of the LaTeX macro \textwidth + + * insetminipage.C (getMaxWidth): use latexTextWidth + +2002-01-18 Juergen Vigna + + * inset.C (getMaxWidth): try to fix fluctuation of collapsable insets. + +2002-01-17 Jean-Marc Lasgouttes + + * insettabular.C (getMaxWidthOfCell): use LyXLength::inPixels + + * insetminipage.[Ch]: change width_ and height_ to be LyXLength + instead of string + +2002-01-17 Juergen Vigna + + * insettabular.C (lockInsetInInset): same change as in insettext. + + * insettext.C (draw): width() function was called without setting + the right top_x which could lead to wrong insetWidth setting! + (lockInsetInInset): call edit instead of calling lockInset if we + have to lock an inset inside! + (edit): we have to also tell the inset that we have to redraw the + frame on an edit call if this inset draws a frame only if locked. + +2002-01-16 Jean-Marc Lasgouttes + + * insetbib.C (getFiles): uncomment Path variable. + +2002-01-16 Juergen Vigna + + * insettabular.C (forceDefaultParagraphs): fixed bug returning value + of wrong cell. + +2002-01-16 Allan Rae + + * insetinclude.C (docbook): someone forgot a ";" + +2002-01-16 José Matos + + * figinset.C (docbook): removed a old place holder "@". + * insetgraphics.C (docbook): remove the file sufix if graphic is eps. + * insetinclude.C (linuxdoc): if include is verbatim, then export the + ascii text version, clearly guarded inside a CDATA section. + (docbook): in docbook 4, inlinegraphics is empty. + * insettabular.C (linuxdoc): export the ascii version of the table + inside a CDATA section. + +2002-01-14 Jean-Marc Lasgouttes + + * insetparent.C (InsetParent): + * insetgraphicsParams.C (Write): + (Read): + * insetgraphics.C (prepareFile): + (readFigInset): + (docbook): + * insetexternal.C (executeCommand): + (doSubstitution): use Buffer::filePath + + * insetbib.C (getFiles): add a #warning for Angus + + * insetgraphics.C: Add a remark about how filenames should be + considered to be relative to buffer (but absolute is still allowed) + (draw): do not try to get status if lyxrc.use_gui is false + +2002-01-14 Angus Leeming + + * inset.[Ch]: + * insetcollapsable.[Ch]: + * insettabular.[Ch] (searchForward, searchBackward): change the + bool const & params to bool. + + * insetminipage.[Ch] (width, height): renamed as pageWidth, pageHeight + to avoid the name clash with InsetCollapsable's methods of the same + names but different functionality. + +2002-01-14 Angus Leeming + + * insettext.C (ascii): use lyx::count rather than countChar. + +2002-01-14 John Levon + + * insettabular.C: return early for the LFUN_*BUF[SEL] funcs too + +2002-01-13 Jean-Marc Lasgouttes + + * insetgraphics.C (updateInset): do not try to render image if + lyxrc.use_gui is false (bug #104) + + * insetinclude.C (loadIfNeeded): do not call bufferlist.readFile + if file does not exist + + * figinset.C (browseFile): add shortcuts to directory buttons + + * insettext.C (updateLocal): update menubar and toolbar here too. + +2002-01-13 Allan Rae + + * insettabular.C (InsetTabular): Both constructors now initialise + all class variables. + +2002-01-11 Juergen Vigna + + * insettext.C (insetButtonPress): set the_locking_inset to 0. + +2002-01-11 Jean-Marc Lasgouttes + + * insettabular.C (getStatus): add forgotten brace around multiline + if statement. + +2002-01-09 Jean-Marc Lasgouttes + + * insetfloat.C (validate): require "float" instead of "floats". + +2002-01-08 Martin Vermeer + + * insettabular.C (getStatus): use FuncStatus + +2002-01-08 Juergen Vigna + + * insettabular.C (insetButtonRelease): now this should work too + correctly. + + * insetminipage.C (getMaxWidth): fixed for minipage inside insets and + if the width is a percentage. + + * inset.h: added isChar() function and implemented this for + insetspecialchar insetquotes and insetlatexaccent. + added forceDefaultParagraphs() and implemented it for insettabular. + +2002-01-07 Juergen Vigna + + * insettext.C (getLyXText): Fixed this function. An insert into the + map is only done if we REALLY have a new BufferView. + +2002-01-07 Martin Vermeer + + * insettext.C: fix bug illustrated by attachment #37 of bug #59 + +2002-01-05 John Levon + + * insetinclude.C: fix use of FileInfo + +2002-01-07 Juergen Vigna + + * insettabular.C (draw): fixed clearing of cell around inset. + +2002-01-05 Juergen Vigna + + * insettext.C (draw): move the calls so that insetWidth/Asc/Desc + variables are updated. + + * insettabular.C (resetPos): set always the inset_y as it may be + needed in another function. + (searchBackward): don't draw while searching. + +2002-01-04 Juergen Vigna + + * insettext.C (lockInsetInInset): forgot to set a cursor. + +2002-01-02 Juergen Vigna + + * insettext.C (insertInset): make the correct undo informations on + inserting new insets. + +2001-12-31 John Levon + + * insettabular.C: correct single-cell select vertically + +2001-12-27 Juergen Vigna + + * insettabular.C (ascii): export as tab-separated-values if the + function was not called from export (f.ex.: clipboard). + + * insetcollapsable.h: added default support for ascii, linuxdoc and + docbook export (the insettext is exported by default!) + + * insettabular.C (copySelection): suff the clipboard with the tabular + data in a tab separated format, seems more naturals then with all the + formating. + +2001-12-24 Juergen Vigna + + * insettext.C (insetMotionNotify): added a mouse_x & mouse_y position + to check for REAL mouseMotion. + +2001-12-20 Juergen Vigna + + * inset.C (cursor): return the owners cursor if available instead of + always only the bv->text->cursor. + + * insettabular.C (checkLongtableSpecial): works now. + +2001-12-19 Juergen Vigna + + * insettabular.C (tabularFeatures): fix the row setting of ltt as + this has to be always row + 1 as 0 means not selected! + (checkLongtableSpecial): added + (tabularFeatures): better longtable options support + + * insettext.C (resizeLyXText): reinit the text always also on a + empty insettext! + +2001-12-18 Juergen Vigna + + * insettext.C (updateInsetInInset): look if we have to autocollapse + paragraps and return if the update is requested for ourself. + + * insetert.C (status): update the insettext not myself as that is what + we need. + + * insetcollapsable.C (updateInsetInInset): always call the InsetText's + function only return if the update was requested with myself. + + * insettext.C (insetButtonPress): fixed stupid bug. + (various functions): pay attention that lt is cleared BEFORE calling + updateLocal() and try to use it in the right manner (don't use it + if it's not really neccessary!) + (collapseParagraphs): insert a blank between collapsing paragraphs + if neccessary (not already there!). + +2001-12-18 Lars Gullik Bjønnes + + * insettabular.C: move includes around a bit, add a couple of + consts. + + * insettext.[Ch]: move includes around a bit, other ws changes and + small stuff. + +2001-12-17 Jean-Marc Lasgouttes + + * insettext.C (insetButtonRelease): fix compile problem + +2001-12-17 Juergen Vigna + + * insettext.C (insetButtonPress): set the selection cursor! + (insetButtonPress): clear the selection (and set with that the + selection.cursor) if we only hit an inset! + + * insetert.C (read): removed piece of compatibility code only needed + for 1.2.0. + + * insettabular.C (insetButtonRelease): fixed so that sub-dialogs + can be opened. + + * insetcollapsable.C (insetButtonRelease): changed so that it can + open eventual existing popup dialogs on mousebutton==3. + + * insetfloat.C (insetButtonRelease): removed not needed anymore! + + * insetminipage.C (insetButtonRelease): removed not needed anymore! + + * inset.C (insetButtonRelease): return a bool for telling the outer + world that we opened a dialog. + +2001-12-07 Juergen Vigna + + * insettext.C (paragraph): remove the deleteing of paragraphs as + it was a WRONG move! + +2001-12-06 John Levon + + * insettabular.h: + * insettabular.C: use new setSelection(). Allow + selection of single cells. + +2001-12-12 Jean-Marc Lasgouttes + + * insetquotes.C (latex): fix to use the local language setting at + the point where the inset is inserted (different macros for + different french packages) + +2001-12-11 Jean-Marc Lasgouttes + + * inset.h: add par_owner_ member variable and parOwner + setter/accessor. + +2001-12-10 Jean-Marc Lasgouttes + + * insettabular.C (everywhere): adapt because widths are now real + widths and not strings + + * insettext.C (draw): re-introduce the calls to width(), ascent() + and descent() to initialize the caching variables. + +2001-12-09 Jean-Marc Lasgouttes + + * insettext.C (draw): + (drawFrame): use insetWidth instead of last_width + + * insettext.h: remove variable last_width (insetWidth is exactly + the same) and last_height (computed but never used!) + +2001-12-10 Allan Rae + + * insettabular.C (localDispatch): cleanup unlockInsetInInset calls + +2001-12-05 John Levon + + * insettext.C (insetAllowed): add comment + +2001-12-05 Juergen Vigna + + * insettext.C (insetAllowed): fixed for the case that we directly + ask the insettext from its LyXText. + (paragraph): fixed the crash when assigning the par->next() from + the EmptyParagraphMechanism! + +2001-12-05 Lars Gullik Bjønnes + + * insetbib.C: + * insettabular.C: + * insettext.C: change "while(" to "while (" + +2001-12-04 Juergen Vigna + + * insetert.C (edit): handle Inlined status. + + * insettext.C (insertInset): trying John's fix for the trailing cursor + + * insetert.C (insetButtonPress): added to handle inlined status + (insetMotionNotify): ditto. + + * insettext.C (clearInset): changed Painter & in BufferView * param, + to be able to call ascent,descent methods. + +2001-12-03 Juergen Vigna + + * insettext.C (updateInsetInInset): use lt variable to forbid + changes of LyXText in an update call. + (updateInsetInInset): fixed updating of non locked insets! + +2001-12-01 John Levon + + * insettabular.C: capture some more functions to prevent + selection drawing problems. Bug #451274 + +2001-12-01 John Levon + + * insetgraphics.C: + * insetgraphicsParams.C: fix inverted sense of float_equal + +2001-11-30 Juergen Vigna + + * insettabular.C (InsetTabular): use the save_id flag to create also + the tabular with the same id's. + + * insettext.C (setParagraphData): added a same_id function for undo + to set the same paragraph id's as of the paragraph we are setting. + +2001-11-30 José Matos + + * inseturl.[Ch]: + * insettoc.[Ch]: DocBook -> docbook. + +2001-11-29 André Pönitz + + * inseterror.C: + * insettext.C: further reduction of header dependencies by using + lyx::layout_type and lyx::textclass_type from support/types.h + +2001-11-29 Juergen Vigna + + * insettext.C: inserted a reinitLyXText function everywhere I delete + the paragraphs! This should fixe the crashes we had. + Also use the new function firstRow() instead of getRowNearY(dummy_y) + (paragraph): set the InsetOwner() of the new paragraphs! + +2001-11-28 André Pönitz + + * insetnote.C: add pos initialization that I removed without + knowing what I did. + +2001-11-28 Juergen Vigna + + * insettabular.C (resetPos): hack to not crash with infinite paints. + + * insettabular.h: insert missing function allowSpellcheck()! + + * insetcollapsable.C (draw): fixed wrong width of collapsed inset! + +2001-11-04 John Levon + + * insetfloatlist.h: + * insetfloatlist.C: derive from InsetCommand so gui can use it + easily + +2001-11-26 André Pönitz + + * insettext.[Ch]: + * insetert.C: + * insetnote.C: reduce header dependencies, introduce type for + positions + +2001-11-23 John Levon + + * various: update for Alert.h + +2001-11-22 John Levon + + * inset.h: fix comment + + * insettext.C: use par->isInset() + +2001-11-22 Allan Rae + + * insetcollapsable.h: + * inset.h: Changes to checkInsertChar() behaviour. + Now return value indicates whether chars can be inserted. + +2001-11-11 Michael A. Koziarski + + * various: updated to use the new LaTeXFeatures + +2001-11-14 José Matos + + * insetspecialchar.C (linuxdoc): + (docbook): don't give a name to a unused variable. + + * insettext.C (docbook): removed unused variable. + +2001-11-13 Herbert Voss + + * insetgraphic.C: fix scale bug + +2001-11-13 Jean-Marc Lasgouttes + + * inset.h (isSpace): + (isLetter): new virtual methods. + + * insetspecialchar.C (isSpace): + (isLetter): implement here. + +2001-11-04 John Levon + + * inset.h: new inline helpers + + * insettext.C: use new helpers + +2001-11-07 José Matos + + * insettext.C (docbook): full support for paragraphs inside insettext. + +2001-11-06 José Matos + + * insetindex.C: added header file for std::ostream. + +2001-11-03 José Matos + + * insetindex.C: added using std::ostream that I forgot yesterday. + +2001-11-02 Ben Guillon + + * insetindex.h (docbook): + * insetindex.C (docbook): added support for docbook export. + +2001-11-02 José Matos + + * insetcaption.C(docbook): added support for docbook export. + +2001-11-02 Dekel Tsur + + * insetexternal.C (updateExternal): Do not run update command if + result file exists and is up to date. + + * ExternalTemplate.C (readFormat): Support the updateresult token. + +2001-10-31 Kayvan A. Sylvan + + * insetexternal.C (doSubstitution): Fix filepath ($$FPath in + external_templates) to use the buffer->fileName() but only if + previewing. Generating a TeX file should make FPath return + "". + +2001-10-30 John Levon + + * insetert.h: + * insetert.C: fix some problems + +2001-10-30 Kayvan A. Sylvan + + * insetexternal.C (doSubstitution): Added $$FPath token + to list of usable substitutions in external inset templates. + +2001-10-24 Juergen Vigna + + * insettabular.C: use new ltType struct for setting longtable + header and footers also new UNSET enums. + +2001-10-24 José Matos + + * insettabular.C (linuxdoc): Now exports the ascii's table version. + (docbook): If the table is not inside a float then wrap it inside + .... + +2001-10-23 José Matos + + * insetref.C (docbook): removed / terminator to conform SGML. + + * insetspecialchar.C (linuxdoc): + (docbook): Added support for special chars, more than ascii export. + +2001-10-22 Juergen Vigna + + * insettext.C (checkInsertChar): added for REALLY checking the + font of the inserted char in the right inset! + +2001-10-19 Juergen Vigna + + * inset.h: added method allowSpellcheck() so that insets who do + not have anything to spellcheck can tell and so they are over-jumped. + Implemented for InsetText and co. + +2001-10-18 Juergen Vigna + + * inset.C (getMaxWidth): use LyXText::workWidth(BufferView, Inset *). + +2001-10-15 José Matos + + * insetert.C: allow export for docbook and linuxdoc + +2001-10-07 Adrien Rebollo + + * insetquotes.C (dispString): handles latin3 and latin4 quotes + +2001-10-05 Jean-Marc Lasgouttes + + * insetquotes.C (dispString): fix handling of latin9 quotes + +2001-10-03 Juergen Vigna + + * insetert.C: ditto + + * insetcollapsable.C: change updateInset calls to not tell BV that + we have changed status. + +2001-10-01 Jean-Marc Lasgouttes + + * insettabular.C (deletable): make const + +2001-09-28 Dekel Tsur + + * insetert.C (latex): Fix the returned value + +2001-09-24 Angus Leeming + + * insetert.[Ch] (selectNextWordToSpellcheck): new method. + Returns string(), so nothing in an ERT inset is spellchecked. + + * insetgraphics.C (draw): print the filename if not displaying the + image. + (width): make sure that the width and draw methods are consistent. + (updateInset): don't even load the image into cache if not displaying + it. + +2001-09-21 Angus Leeming + + * various files (selectNextWord): renamed as + selectNextWordToSpellcheck. + + * insetgraphics.C (draw): remove the previous change. Right place + is in imageLoaderXPM.C. + (draw): don't display the image if params.display == NONE. + +2001-09-18 Angus Leeming + + * figinset.C (runqueue): + * insetgraphics.C (draw): set background colour of inset from + background to the user-configurable graphicsbg. + +2001-09-07 Jean-Marc Lasgouttes + + * insetquotes.C (InsetQuotes): when trying to decide the side of + the quote, choose `left' only after a space or '(' + +2001-09-04 José Matos + * figinset.C + * figinset.h + * insetcaption.C + * insetcaption.h + * insetcollapsable.h + * insetcommand.C + * insetcommand.h + * inseterror.h + * insetert.C + * insetert.h + * insetexternal.C + * insetexternal.h + * insetfloat.C + * insetfloat.h + * insetfloatlist.h + * insetgraphics.C + * insetgraphics.h + * inset.h + * insetinclude.C + * insetinclude.h + * insetlabel.C + * insetlabel.h + * insetlatexaccent.C + * insetlatexaccent.h + * insetquotes.C + * insetquotes.h + * insetref.C + * insetref.h + * insetspecialchar.C + * insetspecialchar.h + * insettabular.C + * insettabular.h + * insettext.C + * insettext.C (docbook): rename docBook method to docbook. + +2001-09-02 Dekel Tsur + + * inset.h (getFirstParagraph): New virtual method. + +2001-08-20 Herbert Voss + * insetbib.C: added a option bibtotoc which is from "BIB to TOC" + in the the bibtex-database-gui for inserting a line + \addcontentsline... + + If no style is given than there is no tex-output. + +2001-08-18 Angus Leeming + + * insetbib.[Ch] (getFiles): new method, returning the BibTeX database + files as a vector. + (getKeys): use it. + +2001-08-18 Dekel Tsur + + * insetert.C (latex): Fix output for multiple paragraphs. + (write): New code for writing paragraph data. + (read): Set font after reading the inset. + (localDispatch): Call set_latex_font() for more cases. + + * insetnote.h: Add empty validate method. + * insetert.h: Ditto + + * insetnote.C (InsetNote): Set language to the language of the + document. + +2001-08-16 Juergen Vigna + + * insettext.C: implemented the new FINISHED states. + + * insettabular.C: ditto + + * inset.h: added more FINISHED states for cursor right,up,down + +2001-08-16 John Levon + + * insetfloatlist.C: use "FloatName List" + +2001-08-14 Juergen Vigna + + * insetert.C (edit): forgot to set status_ in edit calls! + +2001-08-14 Dekel Tsur + + * insettext.C: Compilation fix + +2001-08-13 Juergen Vigna + + * inset.C (getMaxWidth): fixed bug of returning the wrong max width. + + * insetcollapsable.C (edit): don't recollapse an already open inset. + + * insettext.C: fixed problem when reinitializing LyXText by not doing + it while lt is in use and post this to the next possible time in + getLyXText(). + (searchForward): fixed not unlocking of inset if nothing found. + (edit): set cursor behind right (was set -1 pos). + + * insetert.C (InsetERT): init status_ also in the 3rd constructor. + + * insettabular.C (tabularFeatures): fixed fix where deleting the + last row didn't get the right actcell! + +2001-08-11 Dekel Tsur + + * insettext.C (localDispatch): Change language only when the inset + becomes empty. + +2001-08-10 Juergen Vigna + + * insettabular.C (selectNextWordInt): use the front using edit call. + + * insetcollapsable.C (getMaxWidth): rename inset to in to not have + the parameter overwrite class variable inset. + + * inset.C (getMaxWidth): fix the setting of the minwidth = 10. + + * insettext.C (saveLyXTextState): check for invalid cursor-par. + (reinitLyXText): remove wrong_cursor bool as not needed anymore! + + * insettabular.C (calculate_dimensions_of_cells): let's try to call + update only for fixed with cells. + (resetPos): try to fix the lockup on spellchecking or s&r. + + * insettext.C (update): comment this out as it seems first wrong + and second not needed anymore! + (some functions): call reinitLyXText() only in update() in all other + positions set only need_update = INIT. + +2001-08-08 Juergen Vigna + + * insettabular.C (setPos): fixed wrong actrow < rows() check. + + * insettext.C (insetUnlock): remove double-space on inset unlock. + + * insetcollapsable.C (draw): fix returned x when label > inset-width. + + * insettabular.C (update): fixed cursor positon after an insert. + (insetAllowed): do not allow to insert insets when not inside the + inset! + (draw): clear below an inset too as it could have changed height. + + * inset.C (getMaxWidth): fixed width for inset in inset. + + * insettext.C (update): small fix. + + * insettabular.C (tabularFeatures): added selection support to + DELETE_ROW/DELETE_COLUMN. + +2001-08-07 Juergen Vigna + + * inset.C (getMaxWidth): recoded and all it's implementations! + + * insettext.C (init,setParagraph+constructors): cleanups + (reinitLyXText): fixed problem with wrong cursor when all paragraphs + are new and I want do a save/restore of the cursor position which is + not possible anymore. + + * insetcollapsable.C (searchBackward): recollapse inset if not found. + (searchBackward): ditto + (selectNextWord): ditto + +2001-08-07 Angus Leeming + + * insetlatexaccent.C (checkContents): Add some debug messages + +2001-08-07 Juergen Vigna + + * insetert.C (read): don't use InsetCollapsable::read as we don't + write the collapsed status anymore only the status. + (write): ditto. + +2001-08-06 Juergen Vigna + + * insetert.C (set_latex_font): use LyXText's setFont directly. + + * insettext.C (drawFrame): fixed one time more the right position + and size of the frame! + + * insetert.C (~InsetERT): hide the dialog. + (showInsetDialog): added implementation + (open): ditto + (close): ditto + (status): new function for the status of the ERT inset (3-state). + (write): output also the status of the inset for readback! + (read): readback the status if available otherwise use collapsed_. + + * insettext.C (edit): small fix of setting the position, which could + have gone < 0. + + * insetert.C (width): implement this function for inlined viewing. + Added minimum width of 10 pixels! + + * insetminipage.C (InsetMinipage): just change the colors a bit so + that border/background is a bit more visible. We will remove this + anyway for 1.2.0! + + * insettext.C (textWidth): add a 'bool fordraw' parameter and use this + function for getting the important widths for drawing in various + functions and in LyXText. + (draw): fixed up a bit (frame drawing/clearing) + +2001-08-03 Lars Gullik Bjønnes + + * inset.C (convertFont): delete method. not used. + +2001-08-03 Juergen Vigna + + * insettext.C (setFont): don't call for a draw update if we're just + changing the cursor font! + +2001-08-02 Juergen Vigna + + * insettext.C (draw): clear the background with the right color if + needed. Update myself if x&max-width changed and return without doing + anything. Let the update code handle the right stuff. + + * insetminipage.C (getMaxWidth): fixed returning of maxwidth when + inside another inset. + +2001-08-01 Juergen Vigna + + * insetcollapsable.C (update): added an in_update bool so we avoid + reentering. + + * insettabular.C (update): added an in_update bool so we avoid + reentering. + + * insettext.C (insetButtonPress): hopefully fixed setselection/clear + selection problem. + (update): added an in_update bool so we avoid reentering. + + * insettabular.C (localDispatch): clear col/row selection when doing + something else inside an inset. + + * insettext.C (getLyXText): fixed bug when requesting a recursive + insettext! + +2001-08-01 Angus Leeming + + * insetcite.C (latex): Paranoia check. Make sure that there is no + whitespace between the citation keys. + +2001-07-31 Juergen Vigna + + * inset.h (nodraw): make the set function also const so that this + can be called from inside other const functions. + + * insetcollapsable.h: removed inline variable and moved it over + to the only user InsetERT. + + * insetcollapsable.C (insetButtonRelease): fixed uncollpasing the + inset opening immediately therein lying insets dialogs! + + * insetert.C (localDispatch): set the font also if we don't have any + chars in this paragraph, otherwise if we delete all of em and start + writing we have the wrong font. + (inlined): added + (draw): implemented for inline support + (insetButtonRelease): ditto. + +2001-07-30 Juergen Vigna + + * insettext.C (reinitLyXText): new function to reinit the insets + text after lot's of paragraph changes. Use this instead of the + cache.clear() which is VERY dangerous. + + * insetfloat.C (insetButtonRelease): we should only show the dialog + if we press on the label otherwise we have problems to open mouse + button 3 dialogs inside this float (f.ex. of a tabular!) + +2001-07-30 Lars Gullik Bjønnes + + * insetert.C: change back to "ERT" + + * insetfloat.C: handliign of RMB on label added. + +2001-07-30 Jean-Marc Lasgouttes + + * insetgraphicsParams.C: #include LOstream.h here. + + * insetfoot.h: remove InsetFoot:: qualifier. + +2001-07-29 Baruch Even + + * ChangeLog: Hiding time travel evidence. + + * insetgraphicsParams.h: + * insetgraphicsParams.C: + * insetgraphics.C: Added horizontal scale option, it actually scales both + directions since it keeps image proportions. + + * insetgraphics.C: Fixed EPS detection to be non-hacky. + +2001-07-29 Baruch Even + + * insetgraphics.C (decideOutputImageFormat): when doing postscript output + convert PNG/GIF/JPG to EPS, assume the rest are EPS already. + + HACKY! Will need to add an EPS detection routine like old InsetFig does! + +2001-07-29 Baruch Even + + * insetgraphics.C: Added EPSI to be an alias of EPS. + +2001-07-29 Baruch Even + + * insetgraphics.C: Change GRAPHICS to Graphics. + Changed image conversion rules (documented at the beginning of file). + +2001-07-28 Angus Leeming + + * insetert.C (get_new_label): int -> Paragraph::size_type to get + std::min working. + + * insetgraphics.C: added a using std::endl directive. + + * insetcommand.h (getScreenLabel): removed pure virtual function, + as it duplicates that in InsetButton. + + * insetbib.[Ch] (getScreenLabel): + * insetbutton.[Ch] (getScreenLabel): + * insetcite.[Ch] (getScreenLabel): + * insetert.[Ch] (getScreenLabel): + * insetexternal.[Ch] (getScreenLabel): + * insetfloatlist.[Ch] (getScreenLabel): + * insetinclude.[Ch] (getScreenLabel): + * insetindex.[Ch] (getScreenLabel): + * insetlabel.h (getScreenLabel): + * insetparent.[Ch] (getScreenLabel): + * insetref.[Ch] (getScreenLabel): + * insettoc.[Ch] (getScreenLabel): + * inseturl.[Ch] (getScreenLabel): passed a Buffer const * parameter. + + * insetcite.C (getScreenLabel): use this Buffer parameter in creating + the label. + (validate): remove check on "cite" when using natbib. + +2001-07-26 Baruch Even + + * insetgraphics.C (draw): changed casting to be in one place rather than + all over the function. + + * insetgraphics.h: + * insetgraphics.C (read): Added compatibility reads of InsetFig. + + * insetgraphicsParams.h: + * insetgraphicsParams.C: + * insetgraphics.C: Removed inline option and changed rotateAngle to float. + +2001-07-28 Kayvan A. Sylvan + + * insetfoot.C (validate): Added method to ensure that the + right bit of LaTeX is emitted. + + * insetfoot.h: Added validate method to set the correct + LaTeXFeatures bit for the special footnote code. + +2001-07-26 Yves Bastide + + * insetquotes.C (dispString): display the right ISO8859-{1,9,15} + quotes + +2001-07-27 Juergen Vigna + + * inset.h: remove not used font variable in parameter. + removed checkInsertChar in UpdatableInset as it was equal to + the one in Inset and so not needed. + + * insetert.C (checkInsertChar): implementation of function + checkInsertChar. + + * inset.h: added new function checkInsertChar. + + * various files: added c-tor and clone() function. + + * insetcollapsable.h: removed clone function here as this should + be only realized in REAL insets and added it to all collapsable + insets! (with the copy-constructor). + +2001-07-26 Lars Gullik Bjønnes + + * insetminipage.C (read): handle missing parameters more gracefully + + * insetcollapsable.C (read): handel missing collapsed more gracefully + +2001-07-25 Lars Gullik Bjønnes + + * insetfloat.C (read): handle missing parameters. + + * insettext.C (read): handle old latex end_inset + + * insetert.C (setButtonLabel): new method + (init): use it, to set the dynamic label correctly + (read): use it + + * Makefile.am (EXTRA_DIST): add files that is not part or the + binary here. + + * insetcollapsable.h: remove autocollapsable (no users), remove + draw_label, change_label_with_text and companion code. Remove args + from some methods. + * insetert.[Ch]: move here instead (only user) + + * inset.h: rename private variable name to name_, make + selectNextWord return a const string. make getInsetName return a + string const &. Remove bool from open, add close. + + * Makefile.am: don't compile insetlist, insetsection + and insettheorem + +2001-07-24 Juergen Vigna + + * insetert.C (InsetERT): put init after the paragraph initialization, + as otherwise we don't set the draw_label right. + + * insetcollapsable.C (insetMotionNotify): fixed opening/closing the + insets with the mouse without having strange selections. + (edit): if the inset was collapsed and we open it here then put the + cursor always at the beginning of the inset. + (get_new_label): 15 instead of 10 max chars in the label. + + * insetert.C (localDispatch): added and handle various stuff we + need to handle here (font setting on paragraph break, not permitted + layout setting, etc.). + + * inset.h: added default copy-consturctor and implemented this in + various insets with the change to use this in the clone function! + +2001-07-24 Jean-Marc Lasgouttes + + * insetminipage.C (InsetMinipage): set background color to red :) + +2001-07-23 Jean-Marc Lasgouttes + + * insettext.C (insetUnlock): only set update to CLEAR_FRAME if + draw frame mode is LOCKED. + + * insetcollapsable.C (edit): + (insetButtonRelease): set update status to full when + opening inset. + + * insettext.C (clearInset): + * insettabular.C (draw): + * insetlatexaccent.C (draw): honor background color. + + * inset.h: new member background_color_, initialized to + LColor::inherit. + + * inset.C (backgroundColor): new method. + (setBackgroundColor): new method. + + * insetert.C (init): new method, called by the ctors. + (InsetERT): when inserting contents, make sure the font is + ALL_INHERIT. + + * insetnote.C (InsetNote): when inserting content, remove trailing + newline + (init): set background color to LColor::note + +2001-07-24 Lars Gullik Bjønnes + + * insetcollapsable.C: adjust + + * insetbutton.C: adjust + +2001-07-23 Juergen Vigna + + * insetcollapsable.h: removed widthCollapsed variable, LyXFont + parameter on the _collapsed function (was not needed) and call + always width_collapsed(). + + * insetert.C (InsetERT): use setLabel with "true" flag. + + * insetcollapsable.C: modified various functions to set the draw_label + string right in any condition. + (setLabel): added a bool parameter to set change_label_with_text. + + * insetcollapsable.h: added draw_label string which is set to the + actual drawn label-string, while label is the original static label + of this collapsable inset. Added bool change_label_with_text to set + if we want that the label changes to the start of the InsetText's + text when collabpsed. You can set this flag with the setLabel funciton. + Added bool inlined for inlined collapsable insets, but not handled + yet. + + * insetcollapsable.C (get_new_label): added should get a new label + from the InsetText beginning (for now 10 chars). + +2001-07-21 Yves Bastide + + * insetquotes.C (latex): fix the handling of french double quotes + when not using the french pachage. + 2001-07-22 Jean-Marc Lasgouttes * insetcollapsable.h: make WidthCollapsed mutable. @@ -49,7 +1242,7 @@ 2001-07-18 Juergen Vigna * insetcollapsable.C (edit): fixed hopefully the y parameter which - is givven to the InsetText. + is given to the InsetText. (insetButtonPress): ditto (insetButtonRelease): ditto (insetMotionNotify): ditto