]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
changelogs
[lyx.git] / src / ChangeLog
index 413d0da7b58839647e7c2ad013c911e21c70c468..4995fc3697a24d95a65c16e9a1b06239be681a1a 100644 (file)
+2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * BufferView.C:
+       * BufferView_pimpl.C:
+       * CutAndPaste.C:
+       * FontIterator.C:
+       * buffer.C:
+       * cursor.C:
+       * cursor_slice.[Ch]:
+       * dociterator.[Ch]:
+       * lyxfind.C:
+       * paragraph_funcs.C:
+       * pariterator.C:
+       * rowpainter.C:
+       * text.C:
+       * text2.C:
+       * text3.C:
+       * undo.C: par->pit renaming
+
+
+2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * tabular.C (cellstruct): use initialization, store a shared_ptr
+       to insettext instead of the insettext directly, adjust to fit.
+       (operator=):  new function
+       (swap): new function
+       (rowstruct): use initialization
+       (columnstruct): use initialization
+       (ltType): use initialization
+       
+
+       * lyxlength.h (swap): new function 
+
+       * LColor.[Ch] (operator=): use the common semantics 
+
+2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfind.C (findNextChange): update the bufferview after setting
+       the selection
+
+2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
+       number of InsetOptArgs has already been inserted.
+
+       * output_latex.C (latexOptArgInsets): new method. This outputs all
+       the optarg insets, up to the limit defined in the layout file.
+       (optArgInset): removed
+       (TeXOnePar): call latexOptArgInsets; correctly update texrow
+
+2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * paragraph.C (isLetter): remove special spellchecker-related
+       code; return true also for digits
+       (isWord, isKomma): remove
+
+       * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
+       * lyxfind.C (MatchString()): use isLetter instead of isWord
+
+2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * pariterator.h (operatir=): comment out un-implemented member
+       function.
+
+       * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
+       static cast.
+
+2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * lyxfont.h: include LColor.h to satisfy concept checks.
+
+2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * pariterator.h: add typdefs for value_type, difference_type,
+       pointer and reference to satisfy concept checks. Also add default
+       constructor for same reason.
+
+       * pariterator.C (operator++): add post-increment operator to
+       satisfy concept checks.
+
+       * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
+       checks.
+
+       * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
+
+       * ParagraphList_fwd.h: include paragraph.h to satisfy concept
+       checks. Also rename base_type to BaseType to follow naming
+       standard better.
+
+       * FloatList.h: include Floating.h to satisfy concept checks.
+
+2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfunc.C (getStatus): when the origin of the request is menu or
+       toolbar, and the LyXView does not have focus, do as if there was
+       no buffer (bug 1720)
+
+       * lyxfunc.C (getStatus, dispatch): propagate the origin of a
+       FuncRequest to individual entries of LFUN_SEQUENCE
+
+2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * output_latex.C (TeXOnePar): override runparams.moving_arg
+       according to the needprotect value of the current paragraph (bug
+       1739)
+
+       * paragraph.C (simpleTeXOnePar): no need to override
+       runparams.moving_args here
+
+2004-11-14  John Spray  <spray_john@users.sourceforge.net>
+
+       * vspace.C: fix off-by-one-error, related to fix #1682
+
+2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * lengthcommon.C: a more general fix for bug 1682
+
+2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
+
+       * text.C (backspace): fix crash
+
+2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * format.[Ch] (getFormatFromFile): new method
+       * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
+
+2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
+
+2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfunc.C (dispatch): remove the verbose argument
+       (sendDispatchMessage): ditto. Use the origin of the FuncRequest
+       instead
+
+       * kbmap.C (defkey): set the origin of func to KEYBOARD
+
+       * MenuBackend.C (MenuItem):
+       * ToolbarBackend.C (add): set the origin of func to UI
+
+       * funcrequest.[Ch]: add origin member, which indicates which part
+       of LyX requests an action
+
+2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * converter.C (move): don't lie in the error message
+       * converter.h (isReachable, move): document
+
+2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * buffer.C: remove unused using lyx::support::atoi
+       * paragraph_funcs.C: ditto
+
+2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * bufferlist.C (exists): use bind and equal_to instead of
+       compare_memfun
+       (getBuffer): ditto
+       * lyxtextclasslist.C (NumberOfClass): ditto
+
+       * cursor.C (insert): use for_each instead of explicit for loop
+
+       * bufferlist.C (getFileNames): use std::transform and
+       std::back_inserter instead of std::copy and lyx::back_inserter_fun.
+
+       * buffer_funcs.C (bufferErrors): use for_each instead of explicit
+       for loop
+
+       * buffer.C (changeLanguage): use for_each instead of explicit for
+       loop
+       (hasParWithID): implement using getParFromID
+
+       * LaTeXFeatures.C: ws change only
+
+       * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
+       to cleanup a bit.
+
+       * BufferView_pimpl.C (trackChanges): use for_each instead of
+       expilicit for loop
+
+2004-11-04  André Pönitz  <poenitz@gmx.net>
+
+       * undo.h:
+       * undo.C (textUndoOrRedo): fix crash when creating undo information.
+
+       * dociterator.C (asDocIterator): use hard assert again.
+
+2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxlength.C (asLatexString): rewrite so that it does not use
+       snprintf anymore
+
+2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * text3.C (specialChar, dispatch): make sure cursor moves to the
+       right after inserting an inset
+
+2004-11-02  José Matos  <jamatos@lyx.org>
+
+       * output_docbook.C (docbook):
+       * paragraph.C (getID):
+       * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
+       garantee that the output is always legal.
+
+       * tabular.C (docbook):
+       * outputprams.[Ch]: remove mixed contents.
+
+2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text2.C (setCounter): prevent endless loop
+
+2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * exporter.C (copyFile): use the mover instead of support::copy()
+       * exporter.C (Export): pass format and latex name to copyFile()
+       * exporter.h (addExternalFile): document
+       * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
+
+2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * text.C (leftMargin): do not indent paragraphs in charstyle insets.
+
+2004-10-30  José Matos  <jamatos@lyx.org>
+
+       * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
+       text and no inset or font change. This allows to use CDATA
+       sections just for the whole paragraph.
+
+2004-10-30  José Matos  <jamatos@lyx.org>
+
+       * paragraph.C (getFirstWord): remove unused variable.
+
+2004-10-30  José Matos  <jamatos@lyx.org>
+
+       * paragraph.C (getFirstWord): the content should always be escaped
+       there.
+       (simpleDocBookOnePar):
+       * output_docbook.C (makeEnvironment): replace reference to CDATA
+       to style pass_thru.
+
+2004-10-30  José Matos  <jamatos@lyx.org>
+
+       * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
+
+2004-10-30  José Matos  <jamatos@lyx.org>
+
+       * output_docbook.C (makeParagraphs):
+       * paragraph.[Ch] (emptyTag): for docbook and company, if the
+       standard paragraph has only a given type of content drop the wrapper.
+
+2004-10-29  José Matos  <jamatos@lyx.org>
+
+       * output_docbook.C (makeEnvironment):
+       * sgml.C (openTag):
+       * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
+
+2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * sgml.[Ch] (uniqueID): returns a unique id for a given label.
+       (cleanID): sanitize any id.
+
+2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * buffer.C, lyxlex_pimpl.C:
+       * lyxlex_pimpl.C (setFile):
+       s/getExtFromContents/getFormatFromContents/
+
+2004-10-28  José Matos  <jamatos@lyx.org>
+
+       * output_docbook.C (makeEnvironment): move id to broadest possible
+       scope.
+
+       * sgml.C (openTag): apply substitution of <> for all attributes.
+
+2004-10-28  José Matos  <jamatos@lyx.org>
+
+       * buffer.C (makeLinuxDocFile, makeDocBookFile):
+       * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
+       * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
+
+       * sgml.[Ch]: new version for open and closeTag for paragraph and
+       for strings. Now they handle the ids of paragraphs.
+
+2004-10-26  Angus Leeming  <leeming@lyx.org>
+
+       * Makefile.am: add mover.[Ch].
+
+       * converter.C (convert, move): use the new Movers to move external
+       files to the temp directory.
+
+       * lyx_main.C (init): ensure that the global system_movers data
+       is initialised.
+
+       * lyxrc.[Ch]: code to read and write 'copiers' from/to the
+       preferences file.
+
+       * mover.[Ch]: new files, defining a Mover as a utility to move an
+       external file between directories and, if necessary, manipulate this
+       file using a helper script.
+
+2004-10-25  José Matos  <jamatos@lyx.org>
+
+       * output_docbook.C (makeCommand): merge two if's that tested the
+       same condition.
+
+2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * sgml.C (escapeString): fix warning in a better way
+
+2004-10-25  José Matos  <jamatos@lyx.org>
+
+       * sgml.C (escapeString): import the require boosts header file for
+       tie, and avoid a signed unsigned comparison.
+
+2004-10-25  José Matos  <jamatos@lyx.org>
+
+       * sgml.h: add #include <string>
+
+2004-10-25  José Matos  <jamatos@lyx.org>
+
+       * sgml.[Ch] (escapeString): new function to escape all the string.
+
+2004-10-24  José Matos  <jamatos@lyx.org>
+
+       * paragraph.[Ch] (getFirstWord): new function to get the first
+       word. Useful for description.
+       (simpleDocBookOnePar): remove depth argument, add another that
+       says where to start the paragraph.
+
+       * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
+       use the new functions to fix cleanly the support for descriptions.
+
+2004-10-24  José Matos  <jamatos@lyx.org>
+
+       * buffer.C (makeLinuxDocFile, makeDocBookFile):
+       * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
+       * output_linuxdoc.C (linuxdocParagraphs):
+       * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
+       add buffer as argument.
+
+2004-10-24  José Matos  <jamatos@lyx.org>
+
+       * output_docbook.C (makeEnvironment, searchEnvironment): place
+       CDATA inside paragraphs and fix scope for listitems.
+
+2004-10-24  José Matos  <jamatos@lyx.org>
+
+       * output_docbook.C: remove using statement for stack.
+
+2004-10-23  José Matos  <jamatos@lyx.org>
+
+       * buffer.C (makeDocBookFile): reorganize the comments about lyx.
+       * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
+       docbook. The new scheme is recursive and makes use of iterators, the
+       same as latex export works.
+       * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
+       directly with the paragraph contents. This code was moved up to
+       output_docbook.C (docbookParagraphs).
+       * sgml.C (openTag, closeTag): removed unneeded newlines.
+       (closeEnvTags) removed.
+
+2004-10-23  André Pönitz  <poenitz@gmx.net>
+
+       * undo.C (textUndoOrRedo):
+       * dociterator.C (asDocIterator): work around crash
+
+       * cursor.C (getStatus): replace ASSERT by more verbose error message
+         and manual correction of the problem. Should increase stability
+         while providing more sensible information.
+
+2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
+
+       * bufferlist.C (previous, next): new methods
+
+       * lfuns.h:
+       * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
+
+2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
+
+       * buffer.C (makeDocBookFile): add dsssl stylesheet control
+       entities to preamble.
+
+2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * messages.C (Pimpl): strip off translation context information
+
+2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
+       the cursor is correct (bug 1694)
+
+2004-10-13  José Matos  <jamatos@lyx.org>
+
+       * output_docbook.C (docbookParagraphs): fix closing tags in the
+       end of the document.
+
+2004-10-09  José Matos  <jamatos@lyx.org>
+
+       * buffer.C: format up to 237.
+       * bufferparams.C (write): use tostr to convert booleans to strings.
+
+2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
+
+2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
+
+       * LaTeX.C: implement use of babel language in xindy.
+
+2004-10-05  José Matos  <jamatos@lyx.org>
+
+       * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
+       Add new translators to help reading and writing the lyx file.
+
+2004-10-05  José Matos  <jamatos@lyx.org>
+
+       * ParagraphParameters.C (read):
+       * text.C (readParToken): replace nexToken by more appropriate lex
+       methods.
+
+2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
+
+       * LaTeX.C (runMakeIndex):
+       * lyxrc.[Ch] (read, write, getDescription): make the indexing command
+       (usually 'makeindex') configurable.
+
+       * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
+       with a variable rather than with a number.
+
+2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * output_latex.C (TeXOnePar): make sure font setting is the first
+       thing that gets output (and the last at the end). Should fix bug
+       1404.
+
+2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * pch.h: use proper signal include
+
+       * LaTeX.h: Use preferred calling of Boost.Signal
+       * buffer.h: ditto
+
+2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * pch.h: dont include <boost/function/function0.hpp>
+
+       * Makefile.am (lyx_SOURCES): remove ShareContainer.h
+
+       * paragraph_pimpl.h: remove usage of ShareContainer
+
+       * paragraph_pimpl.C: remove initialization of ShareContainer.
+
 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
 
        Fix bug #1666
-       
+
        * BufferView.C (putSelectionAt): change the semantics when
        backwards == true: now, this just swaps cursor and anchor wrt the
        forward case
-       
+
        * BufferView.h (putSelectionAt): add some documentation
 
        * lyxfind.C (findBackwards): rewrite using while(). In particular,