+2004-12-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * lyxlength.C (asLatexString): get rid of setprecision
+
+2004-12-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * text2.C (setLayout): remove unused variable endpit.
+ (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
+
+ * paragraph.C (onlyText): remove unused variable style.
+
+ * cursor.C (bruteFind): remove unused variables beg and end.
+
+ * Makefile.am (dist_noinset_DATA): not needed anymore
+
+ * cheaders/*: remove.
+
+2004-12-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * text3.C: fix LFUN_MATH_MODE.
+
+2004-12-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * buffer_funcs.C (countWords): new function. Counts words between
+ two iterators.
+
+ * BufferView_pimpl.C (getStatus, dispatch): handle
+ LFUN_WORDS_COUNT.
+
+ * LyXAction.C (init):
+ * lfuns.h: add LFUN_WORDS_COUNT.
+
+2004-12-19 Angus Leeming <leeming@lyx.org>
+
+ * buffer.C (save): s/slashify_path/internal_path/.
+
+2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * lyxfind.C (findChange): do not search for end of pars, because
+ the change tracker cannot handle this (fixes bug 1719).
+
+2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
+
+ * paragraph.[Ch] (autoBreakRows): remove
+
+ * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
+
+ * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
+ avoid using the paragraph one
+
+ * text2.C (LyXText, insertStringAsLines): adjust
+
+2004-12-16 Angus Leeming <leeming@lyx.org>
+
+ * bufferlist.C:
+ * lyx_main.C:
+ * messages.C: remove redundant "using lyx::support::GetEnvPath;"
+
+2004-12-14 Angus Leeming <leeming@lyx.org>
+
+ * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
+
+ * bufferlist.C (emergencyWrite):
+ * lyx_main.C (queryUserLyXDir): use os::homepath(), not
+ GetEnvPath("HOME").
+
+2004-12-14 Angus Leeming <leeming@lyx.org>
+
+ * main.C: (main): no longer pass pointers to os::init.
+
+2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
+
+ * undo.C (textUndoOrRedo): simplify logic, fix a crash
+ (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
+
+2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
+
+ * lyxfunc.C:
+ * text3.C: remove selection_possible global flag
+
+2004-12-06 Alfredo Braunstein <abraunst@lyx.org>
+
+ * text2.C (getSelectionSpan): remove
+ (changeDepth, changeDepthAllowed): adjust
+
+2004-12-05 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * Makefile.am (BOOST_LIBS): use boost variables
+
+2004-12-03 José Matos <jamatos@lyx.org>
+
+ * buffer.C: format up to 238.
+
+2004-12-03 José Matos <jamatos@lyx.org>
+
+ * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
+
+2004-12-03 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * cursor.C (goUpDown): remove call to idxUpDown2
+
+2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * tabular.[Ch]: use size_t-like types for cell, row and column
+ indices
+
+2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * lyxfunc.C (getStatus): do not lose previous information when
+ calling BufferView::getStatus; do not set a default "Command
+ disabled" message at the beginning, but just before returning.
+
+2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * cursor.h (getStatus): add better comment from src/cursor.C
+
+2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * text3.C (getStatus): return false when the lfun is not handled
+
+2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * broken_headers.h: remove
+
+ * Makefile.am (lyx_SOURCES): remove broken_headers.h
+
+2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
+
+ * BufferView.[Ch]: remove top_y, introduce anchor_ref,
+ offset_ref accessors
+
+ * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
+ top_y_, merge fitcursor with update
+ (updateScrollbar, scrollDocView, fitCursor, center, update): new
+ coord scheme
+ (metrics): introduce
+ (workAreaDispatch): adapt to new coord scheme
+ (redoCurrentBuffer): remove
+
+ * FontIterator.[Ch]: Use Paragraph & instead of pit_type
+
+ * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
+ CurStatus enum.
+
+ * coordcache.[Ch]: add paragraph cache and helpers
+
+ * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
+ adjust everywhere
+
+ * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
+ (targetX, setTargetX): introduce
+
+ * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
+ baseline -> ascent, as the rest of lyx
+
+ * lyxtext.h: remove redoParagraphs, updateParPositions,
+ fullRebreak, redoParagraphInternal. move dist to anon namespace in
+ tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
+ have ascent/descent (ascent is ascent of first par)
+
+ * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
+ step of BufferView
+
+ * paragraph.[Ch]: unify dimension handling with the rest of lyx
+
+ * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
+
+ * pariterator.C: fix infinite loop introduced in par->pit renaming
+
+ * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
+ in insets and LyXText, draw two off-screen paragraphs using
+ NullPainter, and adapt to new coord scheme
+
+ * text.C:
+ * text2.C:
+ * text3.C: adapt lfun handlers to the new coord scheme, which
+ means: there's only guaranteed coord information for onscreen pars
+ plus one above and one below. This implies that one can do search
+ from y coordinates in the range [-1,workHeight]
+
+2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * rename a lot of InsetOld to InsetBase
+
+2004-11-25 Angus Leeming <leeming@lyx.org>
+
+ * BufferView_pimpl.C:
+ * lyx_cb.C:
+ * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
+
+2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
+ call BufferView::getStatus if LCursor::getStatus did nothing
+ (setStatusMessage, getStatusMessage): removed.
+
+ * FuncStatus.C (message): new methods. Used to provide an error
+ message indicating why a command is disabled.
+ (clear, |=, FuncStatus): update for message.
+
+2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * lyxfunc.C (dispatch): always call sendDispatchMessage
+
+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:
2004-10-28 José Matos <jamatos@lyx.org>
- * output_docbook.C (makeEnvironment): move id to broadest possible scope.
+ * output_docbook.C (makeEnvironment): move id to broadest possible
+ scope.
- * sgml.C (openTag): apply substitution of <> for all attribuites.
+ * sgml.C (openTag): apply substitution of <> for all attributes.
2004-10-28 José Matos <jamatos@lyx.org>
2004-10-25 José Matos <jamatos@lyx.org>
- * output_docbook.C (makeCommand): merge two if's that tested the same condition.
+ * output_docbook.C (makeCommand): merge two if's that tested the
+ same condition.
2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* sgml.C (openTag, closeTag): removed unneeded newlines.
(closeEnvTags) removed.
-2003-10-23 André Pönitz <poenitz@gmx.net>
+2004-10-23 André Pönitz <poenitz@gmx.net>
* undo.C (textUndoOrRedo):
* dociterator.C (asDocIterator): work around crash