]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
Remove unused font variable which caused a warning.
[lyx.git] / src / ChangeLog
index 36994efcef26682d39fec906dc8722fb35b732bf..087933c3794ddd131e7e1238da874b8124a12c51 100644 (file)
@@ -1,3 +1,575 @@
+2001-07-27  Juergen Vigna  <jug@sad.it>
+
+       * text2.C: font.realize function adaption.
+
+       * text.C (draw): add a warnings lyxerr text if needed.
+
+       * layout.C: font.realize function adaption.
+
+       * language.C: add inherit_language and implement it's handlings
+
+       * bufferview_funcs.C (StyleReset): remove language parameter from
+       font creation (should be language_inherit now).
+
+       * bufferparams.C (writeFile): handle ignore_language.
+
+       * paragraph.C (getFontSettings): the language has to be resolved
+       otherwise we have problems in LyXFont!
+
+       * lyxfont.C (lyxWriteChanges): added document_language parameter
+       (update): removed unneeded language parameter
+
+       * paragraph.C (validate): fixed wrong output of color-package when
+       using interface colors for certain fonts in certain environments,
+       which should not seen as that on the final output.
+
+2001-07-26  Juergen Vigna  <jug@sad.it>
+
+       * lyxfont.C (realize): honor ignore_language too!
+       (resolved): ditto.
+
+       * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
+
+       * text.C (draw): one place more for ignore_language to not draw
+       itself!
+
+2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
+
+2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * buffer.C (parseSingleLyXformat2Token): a more general fix for
+       the minipage conversion problem.
+
+2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * buffer.C (parseSingleLyXformat2Token): check minipage if we
+       insert an inset.
+
+2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * BufferView.h: don't forward declare WorkArea
+
+       * BufferView.C: don't include WorkArea.h
+
+2001-07-25  André Pönitz <poenitz@gmx.net>
+
+       * commandtags.h:
+       * LyXAction.C:
+       * lyxfunc.C:  new LFUN 'math-space'
+
+2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text2.C (toggleInset): call open/close
+
+2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * lyxfunc.C (dispatch): add debug for the disabled case
+
+       * font.C (buttonText): make similar to rectText
+
+       * buffer.C (readInset): comment out parsing of insetlist and
+       insttheorem 
+
+       * PainterBase.C (rectText): small correction
+
+       * BufferView_pimpl.C: comment out insettheorem and insetlist
+       * LyXAction.C: ditto
+       * commandtags.h: ditto
+
+2001-07-24  Juergen Vigna  <jug@sad.it>
+
+       * text.C (draw): honor the ignore_language.
+
+       * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
+
+2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
+       char inset.
+
+2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxtext.h: remove unused (and unimplemented) methods
+
+2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text.C (getVisibleRow): honor background color
+
+       * PainterBase.h:
+       * Painter.h: remove default color argument for fillRectangle
+
+       * text.C (backgroundColor): new method
+
+2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text.C (getVisibleRow): adjust
+
+       * font.[Ch] (rectText): new method, metrics
+       (buttonText): new method, metrics
+
+       * PainterBase.[hC]: make rectText and buttonText always draw and take
+       fewer paramteres.
+
+2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * ToolbarDefaults.C (read): 
+       * MenuBackend.C (read): allow escaping in all strings
+
+       * BufferView_pimpl.C (insertAndEditInset): new method.
+       (Dispatch): use insertAndEditInset whenever appropriate.
+
+       * BufferView_pimpl.C (insertNote): removed
+
+       * BufferView_pimpl.C (smartQuote): new method, moved from
+       BufferView; if an insetquote cannot be inserted, insert a '"'
+       character instead.
+
+       * BufferView2.C: remove insertCorrectQuote();
+
+       * lyxfunc.C (getStatus): Add support for all remaingin
+       inset-insert lfuns.
+
+       * trans_mgr.C (insertVerbatim): do not treat '"' specially.
+
+       * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
+       command (necessary to pass " as parameter of self-insert.
+
+       * text.C (selectWordWhenUnderCursor):
+       (selectWord): add word_location parameter
+       (selectWordWhenUnderCursor): same + remove special code for word
+       boundary.
+       (selectNextWord): use kind() to guess type of insetspecialchar,
+       not latex().
+       
+       * buffer.C (insertStringAsLines): new method, extracted from LyXText.
+       (insertErtContents): create ert insets as collapsed.
+       (readInset): better compatibility code for Info inset.
+
+2001-07-20  Juergen Vigna  <jug@sad.it>
+
+       * lyxfunc.C (dispatch): use always LyXFind now!
+
+       * text2.C (init): add a reinit flag so that the LyXText can be
+       reinited instead of deleted and reallocated (used in InsetText).
+
+       * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
+
+       * text.C: ditto
+
+       * text2.C: ditto
+
+2001-07-18  Juergen Vigna  <jug@sad.it>
+
+       * text.C (selectNextWord): handle insets inside inset by calling
+       always the bv->text functions so that we can go up the_locking_inset!
+
+       * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
+       in strange locations when inside an inset!
+
+       * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
+       handling to include insets.
+
+       * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
+
+2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * LyXAction.C (init): 
+       * commandtags.h: 
+       * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
+       LIGATURE_BREAK, since the name is so stupid.
+
+2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * buffer.C (readInset): enable reading of new InsetNotes as well as old
+       InsetInfos.
+
+       * FontLoader.C: remove FORMS_H_LOCATION cruft.
+
+       * sp_form.[Ch]: remove.
+
+       * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
+
+       * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
+       InsetInfo.
+
+       * src/buffer.C (readInset): ditto.
+
+2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * BufferView_pimpl.C (specialChar): new method. Obsoletes
+       menuSeparator(), endOfSentenceDot(), ldots() and
+       hyphenationPoint(), which are therefore removed.
+       (Dispatch): handle LFUN_HYPHENATION_BREAK.
+
+       * LyXAction.C (init): 
+       * commandtags.h: add LFUN_HYPHENATION_BREAK.
+
+       * paragraph.C (getWord): removed.
+
+       * BufferView_pimpl.C (Dispatch): use last word or selection for
+       LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
+
+       * lyx_main.C (queryUserLyXDir): do not ask before creating
+       user_dir, except if it has been named explicitely.
+
+2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
+       a document of zero size.
+
+2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
+       approriately in the c-tor and in require().
+       (getPackages): output the appropriate LaTeX for natbib support.
+
+       * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
+       variables "use_natbib" and "use_numerical_citations" when reading the
+       LyX file.
+       (readInset): read the various natbib cite commands.
+       (validate): white-space change.
+
+       * bufferparams.[Ch]: new variables "bool use_natbib" and
+       "bool use_numerical_citations".
+       (writeFile): output them in the LyX file.
+
+2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfunc.C (getStatus): add support for all the inset insertion
+       commands.
+
+       * text2.C (insertInset): 
+       * paragraph.C (insetAllowed): 
+       * BufferView_pimpl.C (insertInset): update to take in account the
+       renaming of insertInsetAllowed
+
+       * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
+
+       * text2.C (getInset): new method. returns inset at cursor position. 
+
+       * BufferView_pimpl.C (Dispatch): changes because of this.
+
+       * LyXAction.C (init): rename open-stuff to inset-toggle.
+
+       * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
+
+       * text2.C (toggleInset): renamed from openStuff; use
+       Inset::open().
+
+2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
+
+       * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
+
+       * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
+
+2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * buffer.C (readLyXformat2): Add filename to the error dialog
+
+2001-07-18  Juergen Vigna  <jug@sad.it>
+
+       * tabular.C (GetCellNumber): put an assert here instead of the check!
+
+2001-07-17  Juergen Vigna  <jug@sad.it>
+
+       * BufferView_pimpl.C (toggleSelection): adapted too.
+
+       * text.C (selectNextWord): adapted for use with insets.
+       (selectSelectedWord): ditto
+
+2001-07-17  Juergen Vigna  <jug@sad.it>
+
+       * sp_spell.C (PSpell): fix initialitation order.
+
+2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * paragraph.C: spacing
+
+2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
+
+       * sp_spell.C: repair language selection for pspell
+
+2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * lyxfunc.h: change more methods to begin with lower char.
+
+2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * buffer.C (parseSingleLyXformat2Token): Generate error insets
+       for unknown layouts.
+
+2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * buffer.C (readLyXformat2): Generate an error dialog if there are
+       unknown layouts.
+
+2001-07-16  Juergen Vigna  <jug@sad.it>
+
+       * sp_spell.C: always compile ISpell part.
+
+       * lyxrc.C: added use_pspell entry and it's handling.
+
+2001-07-13  Juergen Vigna  <jug@sad.it>
+
+       * sp_spell.C: removed double includes.
+
+2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
+
+       Consistent use of Lsstream.h:
+       * Lsstream.h: added using std::stringstream for consistencies sake.
+
+       * buffer.C: removed using std::stringstream
+
+       * lyxfont.C (stateText):
+       * paragraph.C (asString):
+       * text.C (selectNextWord, selectSelectedWord):
+       * text2.C (setCounter):
+       * vspace.C (asString, asLatexString):
+       std::ostringstream -> ostringstream.
+
+2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
+
+       * LyXAction.C: add LFUN_HELP_ABOUTLYX
+       * commandtags.h: add LFUN_HELP_ABOUTLYX
+       * lyxfunc.C: add about lyx remove credits/copyright/version stuff
+
+2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
+
+       * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
+       cursorToggle()
+       * lyx_gui_misc.C: remove spellchecker
+       * lyxfunc.C: showSpellchecker
+       * sp_base.h: added
+       * sp_ispell.h: added
+       * sp_pspell.h: added
+       * sp_spell.C: added
+       * sp_form.[Ch]: removed
+       * spellchecker.[Ch]: removed
+
+2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
+
+       * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
+       is set.
+       (simpleTeXSpecialChars): Simply print the input character without
+       any special translation if pass_thru is set.
+
+       * layout.h: Added bool pass_thru to layout class for being able to
+       implement pass through of a paragraph for Literate Programming.
+       
+       * layout.C: add LT_PASS_THRU to LayoutTags enum.
+       * layout.C (LyXLayout): set pass_thru to flase in constructor.
+       * layout.C (Read): add "passthru" to list of layout tags and add
+       code to set the pass_thru boolean when it is read.
+
+2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * trans_decl.h: remove allowed from KmodInfo
+
+       * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
+       remove allowed code 
+       (Load): adjust
+
+       * paragraph_pimpl.C (erase): use boost::prior
+
+       * Painter.C (text): use data() instead of c_str() when length is
+       also provided.
+       * WorkArea.C (putClipboard): ditto
+       * font.h (width): ditto
+
+       * BufferView2.C: use it-> instead of (*it). for iterators
+       * texrow.C: ditto
+       * paragraph_pimpl.C: ditto
+       * paragraph.C: ditto
+       * minibuffer.C: ditto
+       * language.C: ditto
+       * kbmap.C: ditto
+       * encoding.C: ditto
+       * counters.C: ditto
+       * converter.C: ditto
+       * chset.C: ditto
+       * Variables.C: ditto
+       * TextCache.C: ditto
+       * MenuBackend.C: ditto
+       * LyXAction.C: ditto
+       * LColor.C: ditto
+       * FloatList.C: ditto
+       * DepTable.C: ditto
+       * ColorHandler.C (LyXColorHandler): ditto
+
+2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
+
+       * text2.C (openStuff): reintroduce this method (which had been
+       nuked in NEW_INSETS frenzy).
+
+       * lyxfunc.C (Dispatch): when an action has not been handled, use
+       its name in the error message, not its number.
+
+       * paragraph.C (inInset): change method name to begin with lowercase.
+
+       * undo_funcs.C:
+       * text2.C: updates because of this.
+
+2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * ToolbarDefaults.C (add): add spaces in error message
+
+2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * buffer.C (readLyXformat2): initialize the ert comp. variables.
+       (readLyXformat2): rename return_par to first_par, use lyxlex's
+       pushToken and remove the manual push handling.
+       (parseSingleLyXformat2Token): add another ert comp. variable:
+       in_tabular, rename return_par to first_par. handle newlines better
+
+2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
+
+2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text2.C (getParFromID): removed
+
+       * buffer.C (getParFromID): new method moved form lyxtext.
+       * BufferView2.C (insertErrors): adjust
+       (setCursorFromRow): adjust
+       * BufferView_pimpl.C (restorePosition): adjust
+       * lyxfunc.C (Dispatch): adjust
+       * undo_funcs.C (textUndo): adjust
+       (textRedo): adjust
+       (textHandleUndo): adjust
+       (textHandleUndo): adjust
+
+2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * buffer.C: up' the LYX_FORMAT
+
+       * lyxfont.h: turn NO_LATEX on as default
+
+       * buffer.C (insertErtContents): new methods of tex style compability.
+       (parseSingleLyXformat2Token): use it several places.
+       * tabular.C (OldFormatRead): and here
+
+2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text2.C: remove some commented code.
+       reindent file.
+
+       * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
+       * trans.C: changes because of the above.
+
+2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * text2.C (setCounter): Fix counters bug with bibliography layout.
+
+2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
+       own member functions
+       (simpleTeXSpecialChars): ditto
+
+2001-07-06  Juergen Vigna  <jug@sad.it>
+
+       * a lot of files: changed the access to LyXText::status and the
+       call of undo-functions.
+       
+       * undo.[Ch]: added a inset_id to the undo informations.
+
+       * undo_funcs.[Ch]: added and moved here all undo functions.
+
+       * lyxtext.h: give the status enum a weight, made status_ a private
+       variable and made accessor functions for it, removed the whole bunch
+       of undo-functions as they are now in their own file, make some
+       functions publically available. Added function ownerParagraph with
+       int parameter.
+
+       * paragraph.[Ch]: added "bool same_ids" to the constructor,
+       made InInset() a const function, added getParFromID() function.
+
+       * buffer.[Ch]: added const version for inset_iterator functions,
+       added getInsetFromID() function.
+
+       * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
+       changed undo functions for new version.
+
+2001-07-05  Juergen Vigna  <jug@sad.it>
+
+       * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
+       unknow mechanism does not call the proper constructor but only this
+       one also if I request the other!?
+
+2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
+
+       * text2.C (LyXText): use initialization lists.
+
+       * lyxtext.h (Selection): initialize set_ and mark_
+       (init): remove method
+
+2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
+
+       * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
+
+2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * screen.[Ch]: change method names to begin with lowercase 
+
+       * BufferView_pimpl.C (updateScrollbar): simplify further and
+       hopefully make it a bit faster.
+
+2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
+       calling directly xforms functions.
+
+       * Painter.C (Painter): 
+       * lyx_cb.C (MenuWrite): 
+       * FontInfo.C (query): use GUIRunTime::x11Display() instead of
+       fl_display.
+
+       * lyx_gui.C: remove bogus guiruntime extern declaration.
+
+2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * text2.C (redoHeightOfParagraph): comment out stuff we don't need
+       in NEW_INSETS
+       (redoDrawingOfParagraph): ditto
+       (redoParagraphs): ditto
+       (cutSelection): don't create a object for CutAndPaste use the
+       static method directly
+       (pasteSelection): ditto
+
+       * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
+       LyXview (+ rename)
+
+2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
+
+       * modifications to some other files because of this.
+       
+       * Makefile.am (lyx_SOURCES): add XFormsView
+
+       * XFormsView.[Ch]: new files
+
+       * LyXView.[Ch]: make LyXView a base class for the gui handling for
+       the main window. Move the gui dependent stuff to XFormsView
+
+2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
+
+       * tabular.C (GetCellInset): update cur_cell also in the row/col
+       version of this function.
+
+       * lyxfunc.C: no need to include figure_form.h here.
+
+       * FontLoader.h: 
+       * lyxfunc.h: 
+       * lyxscreen.h: 
+       * text2.C: 
+       * lyxvc.C: no need to include forms.h here.
+
 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
 
        * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
 
        * bufferlist.C (emergencyWrite): fix assert() call
 
-2001-05-04  Kayvan A. Sylvan  <kayvan@camel.internal.sylvan.com>
+2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
 
        * text.C (InsertChar): Added trivial patch to only send the "you
        can not do multiple spaces this way" message once during a