]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
c_str fixes
[lyx.git] / src / ChangeLog
index 56fa5d201a049cfbc55e4614928579c3abff66e7..aba178940a769b8f3cb6df7046e1019d54c404d4 100644 (file)
@@ -1,3 +1,336 @@
+2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * Spacing.C (set): c_str fix
+
+2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyx_cb.C (Reconfigure): quote the name of configure script in
+       case it contains spaces
+
+2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * client: new dir
+
+       * Makefile.am (SUBDIRS): change order of subdirs and add client dir
+       (BOOST_LIBS): use top_buildir when looking for the file
+
+2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * pch.h: do not use include boost/format.hpp, multiple symbols
+               will result (gcc bug)
+
+
+2004-08-23  José Matos  <jamatos@lyx.org>
+
+       * bufferparams.C (readToken): fix reading of the author field.
+
+2004-08-20  José Matos  <jamatos@lyx.org>
+
+       * lyxrc.C: remove support/translator.h inclusion since it is not used.
+
+2004-08-20  José Matos  <jamatos@lyx.org>
+
+       * lyxlex.[Ch] (findToken): remove function.
+
+       * ParagraphParameters.C (findToken):
+       * bufferparams.C (findToken): replace call for previous function
+       with local copy. This local function has one more argument, the
+       read string argument.
+
+2004-08-16  José Matos  <jamatos@lyx.org>
+
+       * ParagraphParameters.C (write):
+       * Spacing.C (writeFile):
+       * bufferparams.C (writeLaTeX):
+       * lyx_cb.C (Reconfigure):
+       * paragraph.C (write):
+       * tabular.C (write): remove unnecessary space at end of line.
+
+
+2004-08-16  José Matos  <jamatos@lyx.org>
+
+       * text.C (readParagraph): remove debug message.
+
+2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
+       crash
+
+       * output_plaintext.C (asciiParagraph): set depth correctly
+
+       * outputparams.h: add member depth
+
+       * paragraph_funcs.C (ownerPar): remove.
+
+       * text2.C (setCounter): remove first_pit; comment out some
+       non-working code that uses ownerPar
+
+       * BufferView.C (getParentLanguage): remove. Not used anymore, and
+       uses ownerPar
+
+2004-08-16  José Matos  <jamatos@lyx.org>
+
+       * text.C (readParToken, readParagraph, read): report all unknown tokens.
+       For the same level of importance use the same chanel to report problems.
+       (read): add code to deal with \begin_body and \end_body.
+
+
+2004-08-15  José Matos  <jamatos@lyx.org>
+
+       * lyxlex.C (getString): fix comment, buffer::readBody is now
+       buffer:readDocument.
+
+       * tex-strings.C (string_papersize): Default -> default,
+       Custom -> custom, for consistency with other options.
+
+2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * pch.h: new file
+
+       * Makefile.am: support pch
+
+2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text.C (readParToken): remove the static LyXFont variable and
+       pass it as a parameter instead. This fixes a nasty bug where an
+       inset will be inserted with a bad font in some situations
+       (readParagraph): adapt
+
+       * text2.C (setCounter): reduce number of calls to pars_[pit]
+
+       * text.C (singleWidth): add an assert, fix a test
+
+       * rowpainter.C (paintText): reduce number of calls to singleWidth
+
+       * paragraph.C (isHfill):
+       (isNewline): ws only
+
+2004-08-14  André Pönitz  <poenitz@gmx.net>
+
+       * text.C:
+       * text2.C:
+       * rowpainter.C:
+       * lyxtext.h (several functions): use a Paragraph & argument
+       instead of par_type
+
+2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * metricsinfo.h: add a new field ltr_pos to PainterInfo
+
+       * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
+
+       * text.C (singleWidth): remove useless test
+
+2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * tabular.h: remove bogus comments
+
+       * tabular.C (getDescentOfRow):
+       (isPartOfMultiColumn): add assertions
+
+       * lyxlength.C (inPixels): remove #warning
+
+2004-08-14  André Pönitz  <poenitz@gmx.net>
+
+       * paragraph.h: inline getChar()
+
+       * BufferView.h: remove unused declarations
+
+2004-08-14  José Matos  <jamatos@lyx.org>
+
+       * Buffer.[Ch] (readDocument): new name for old readBody.
+       * Buffer.C: new file format, new keywords: \begin_document,
+       \begin_header, \begin_body, \end_body.
+
+       * bufferparams.C (readToken): replace all calls to lex.nextToken
+       by lex.next(). Do the same to eatLine except where really needed.
+
+       * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
+       line when writing to the lyx file.
+
+       * output_plaintext.C (asciiParagraph): fix Bibliography style
+       handling.
+
+       * text.C (read): fix end of file handling.
+
+2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * MenuBackend.C (Menu::operator[]): new method to access
+       individual menu items
+       (Menu::hasFunc): new method. search for an item that corresponds
+       to a given func
+       (MenuBackend::specialMenu): new method
+       (MenuBackend::expand): if a special menu has been set, skip
+       entries whose func() appears in this menu
+
+2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
+
+       * text3.C: use Debug::DEBUG a bit more
+
+       * text.C (leftMargin): try to simplify a tiny bit change var x to
+       l_margin. Dont output the wide margins always.
+       (rightMargin): no margin in inner texts
+
+       * rowpainter.h (nestMargin): new func
+       (changebarMargin): new func
+       (rightMargin): new func
+
+       * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
+       now functions.
+       (paintLast): ditto
+
+       * factory.C (createInset): modify setDrawFrame
+
+       * cursor.C: use Debug::DEBUG a bit more
+
+2004-08-14  André Pönitz  <poenitz@gmx.net>
+
+       * coordcache.[Ch]:
+       * Makefile.am: new files to accomodate an 'external' (x,y)-position
+       cache for all insets in (at least partially) visible (top-level)
+       paragraphs.
+
+       * BufferView_pimpl.C: reset external coord cache before every update.
+       This means the coord cache only contains valid entries.
+
+2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
+
+       bug 1096
+       * BufferView_pimpl.C (getInsetByCode): move function out of class
+       and change in to a template in anon namespace. Also fix to do what
+       suits us better.
+
+2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
+
+       bug 1305
+       * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
+       of char
+       (breakParagraph): rename par to par_offset and use a local
+       reference. Add code to keep the language over a rebreak.
+       (breakParagraphConservative): rename par to par_offset, use a
+       local reference
+       (mergeParagraph): ditto
+       (outerHook): ditto
+       (isFirstInSequence): ditto
+       (outerFont): rename pit to par_offset
+
+       * paragraph.C: ws change
+       * paragraph.h: ditto
+       * text3.C: ditto
+       * text.C: ditto
+
+2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
+       treatment for ']'
+
+       * paragraph.C (simpleTeXOnePar): when we have a \item with
+       optional argument, enclose the argument with curly brackets (in
+       case it contains a closing square bracket)
+
+       * text2.C (editXY):
+       * text2.C (editXY):
+       * text3.C (checkInsetHit): constify
+
+2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
+       documents (bug 1629)
+
+2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       Fix toggling of collapsable insets with the mouse (bug 1558)
+
+       * lyxfunc.C (dispatch): adapt to LCursor changes
+
+       * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
+       make sure that dispatch is not invoked twice
+
+       * cursor.C (needsUpdate): new method
+       (dispatch): return void
+       (result): new method, to access the DispatchResult of the cursor.
+
+2004-08-13  José Matos  <jamatos@lyx.org>
+
+       * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
+
+2004-08-13  André Pönitz  <poenitz@gmx.net>
+
+       * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
+
+       * CutAndPaste.C (eraseSelection): fix cursor position after erasing
+         multiple cells
+
+2004-08-12  André Pönitz  <poenitz@gmx.net>
+
+       * text3.C: take out the 'cursor right' form insertInset and only
+       do it in those places when it is really needed. Fixes crash on
+       C-m...
+
+2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
+
+       * BufferView_pimpl.C (setBuffer): initialize the current font of
+       the underlying LyXText
+
+2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * kbsequence.C (print): use UI native formatting for menu
+       shortcuts
+
+       * text.C (insertChar): call Paragraph::insertChar with a font
+       argument (cosmetic)
+
+       * paragraph.C (insertInset, insertChar): the version that takes a
+       LyXFont argument is now a wrapper around the other one (the
+       opposite used to be true).
+
+       * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
+       argument. Font setting is done in Paragraph now.
+
+2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * outputparams.h: add new members intitle and lang.
+
+       * paragraph.C (simpleTeXOnePar): initialize rp.lang and
+       rp.intitle. Actually use rp in call to simpleTeXSpecialChars
+
+2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * text3.C (dispatch): remove special handling of button 4 and 5,
+       it is now taken care of in the frontend code.
+
+2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * Spacing.h: add <string> (STLPort compile fix)
+
+2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
+
+       * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
+
+2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
+       to bool.
+
+       * converter.C (showMessage): inherit from unary_function, make
+       operator() const.
+
+       * buffer.C (writeFile): initialize retval
+
+       * InsetList.h: rename private variable list to list_
+       * InsetList.[Ch]: adjust accordingly.
+
+2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
+       * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
+       * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
+       * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
+       * ParagraphParameters.C, LaTeXFeatures.C: replace
+       "support/std_sstream.h" with <sstream>
+
 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
 
        * lyxserver.C (startPipe): use this (pointer) not *this (reference)