+2005-01-21 Andreas Vox <vox@isp.uni-luebeck.de>
+
+ * lyx_main.C (init): make it compile on the Mac.
+
+2005-01-20 Angus Leeming <leeming@lyx.org>
+
+ * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
+ (setLyXMisc): (char string literal) != (char string literal) is
+ performing a comparison on the addresses. Convert one operand
+ explicitly to string to guarantee expected behaviour.
+ From MSVC warning.
+
+2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
+
+ * buffer.C:
+ * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
+
+ * output_plaintext.C: remove unneeded #include gzstream.h.
+
+2005-01-20 Angus Leeming <leeming@lyx.org>
+
+ * SpellBase.h: rename some of the elements of the Result enum.
+
+ * aspell_local.h:
+ * ispell.h:
+ * pspell.h:
+ * aspell.C (check):
+ * ispell.C (check):
+ * pspell.C (check): ditto
+
+2005-01-20 Asger Ottar Alstrup <aalstrup@laerdal.dk>
+
+ * buffer.C: add #include <fstream>.
+
+ * lyx_main.C (init): Compile fix.
+
+ * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
+
+2005-01-20 Angus Leeming <leeming@lyx.org>
+
+ * mover.h: change commentary to reflect the changed meaning of
+ the $$s placeholder.
+
+2005-01-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * output_linuxdoc.C (linuxdocParagraphs): silence warning
+
+ * lyxfind.C (MatchString::operator()): remove bogus semicolon
+
+2005-01-20 Angus Leeming <leeming@lyx.org>
+
+ * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
+ printing diagnostic data by not dereferecing an iterator past the
+ end.
+
+2005-01-19 Asger Ottar Alstrup <aalstrup@laerdal.dk>
+
+ * buffer.C (readHeader): use "&&" rather than "and".
+
+ * lyxserver.h (inPipeName, outPipeName): make these const.
+
+2005-01-19 Angus Leeming <leeming@lyx.org>
+
+ * lyx_main.C (error_handler, init): protect SIGHUP with
+ #ifdef SIGHUP guards.
+
+2005-01-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
+
+2005-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * text.C (setHeightOfRow): add a margin at the top and bottom of
+ the document (bug 1761)
+
+2005-01-17 Angus Leeming <leeming@lyx.org>
+
+ * buffer.C (readFile): prepend the name of the "lyx2lyx" script
+ with "python ". Workaround for a brain-dead Windows.
+
+2005-01-16 Angus Leeming <leeming@lyx.org>
+
+ * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
+ for MacOSX and Windows to use prependEnvPath.
+ Strip out the hard-coded block to add elements to the PATH for
+ MacOSX and replace it with a call to prependEnvPath using the
+ contents of LyXRC::path_prefix.
+ (queryUserLyXDir): strip out the code to run reconfigure, instead
+ returning a boolean indicating the necessity to do so.
+ (reconfigureUserLyXDir): contains the code to reconfigure the
+ user support directory. Is now called after the various LyXRC data
+ files have been read.
+
+ * lyxrc.[Ch]: add path_prefix var and code to read/write it.
+
+2005-01-14 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * converter.[Ch] (convert): take a new parameter try_default. Use
+ a default converter (imagemagick) if try_default is true.
+
+2005-01-13 Angus Leeming <leeming@lyx.org>
+
+ * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
+ os::cygwin_path_fix.
+ (write): output LyXRC::cygwin_path_fix as necessary.
+
+2005-01-02 Kayvan Sylvan <kayvan@sylvan.com>
+
+ * lyxrc.h:
+ * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
+
+2005-01-12 Angus Leeming <leeming@lyx.org>
+
+ * lyx_main.C (init): set the PATH variable to include the
+ directory containing the LyX binary when running on Mac or Windows.
+
+2005-01-12 Angus Leeming <leeming@lyx.org>
+
+ * lyx_main.C (init): remove cruft that purports to set the locale
+ dir. It doesn't and is not needed anyway.
+
+2005-01-10 Angus Leeming <leeming@lyx.org>
+
+ * Makefile.am: remove the lyx_main.C special casing.
+
+ * BufferView_pimpl.C:
+ * bufferlist.C:
+ * exporter.C:
+ * lyx_cb.C:
+ * lyx_main.C:
+ * lyxfunc.C:
+ * messages.C: use support/package.h to provide the paths to the
+ various directories used by LyX.
+
+2005-01-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
+ layout if pasting into an empty paragraph)
+
+2005-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * tex-accent.C: add <string>
+
+2005-01-06 José Matos <jamatos@lyx.org>
+
+ * ParagraphParameters.C (write): put every parameter in its own line.
+ * paragraph.C (write): reduce number of consecutive empty lines exported.
+ * buffer.C (LYX_FORMAT): increase file format to 239.
+
+2005-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * everywhere: change support/tostr.h -> support/convert.h
+
+ * tabular.C: make all write_attributes templates, tostr -> convert
+
+ * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
+ (emptyTag): and -> &&, and fix type for ret from getChar
+ (getFirstWord): fix type for ret from getChar
+ (onlyText): and -> &&
+ (simpleDocBookOnePar): and not -> && !, fix type for ret from
+ getChar
+
+ * toc.C (goTo, action):
+ * text3.C (dispatch):
+ * text.C (currentState):
+ * tex-accent.C (DoAccent):
+ * sgml.C:
+ * lyxrc.C:
+ * lyxfunc.C (menuNew):
+ * lyxfinc.C (replace):
+ * counters.C (laberItem):
+ * bufferview_funcs.C (font2string):
+ * bufferparams.C (writeFile):
+ * buffer.C (readFile):
+ * Spacing.C (set):
+ * MenuBackend.C: tostr -> convert
+
+ * LaTeX.C (runMessage): fix format
+ (scanAuxFiles): tostr -> convert
+
+ * BufferView_pimpl.C (savePosition): fix format
+ (restorePosition): ditto
+ (dispatch): ditto
+
+2005-01-06 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * Spacing.[Ch]: New method getValueAsString().
+
+ * Spacing.[Ch]:
+ * bufferparams.C:
+ * ParagraphParameters.C:
+ * lyxlayout.C:
+ * text.C:
+ * text3.C: store/read spacing value as string.
+
+ * rowpainter.C: change float value (spacing_val) to double.
+
+ * bufferparams.C: add Spacing::Other to spacetranslator (fixes
+ broken custom document spacing).
+
+2005-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
+ namespace, also more use of temp references and const
+
+ * cursor.[Ch] (getStatus): move to lyxfunc.C
+
+ * bufferparams.C: reformat slightly
+
+ * bufferview_funcs.C (font2string): constify arg
+
+ * changes.C:
+ * converter.C:
+ * counters.C:
+ * bufferlist.C:
+ * buffer_funcs.C: (many funcs): constify arg on function
+ definitions, also make more local vars const, also add ASSERTS on
+ pointer args.
+
+ * buffer.C (LYX_FORMAT): put const in correct place
+ (many funcs): constify arg on function definitions, also make
+ more local vars const
+
+ * aspell_local.h: remove "struct" from typdef setup
+
+ * aspell.C (check): make word_ok const
+ (nextMiss): simplify slightly
+ (error): ditto
+
+2005-01-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * lyxrc.[Ch]: store all float values as strings.
+ use int (not float) for lyxrc.dpi.
+
+2005-01-04 Angus Leeming <leeming@lyx.org>
+
+ * lyx_cb.C (Reconfigure):
+ * lyx_main.C (queryUserLyXDir):
+ to run the <system_lyxdir>/configure correctly on Windows, prefix
+ the path to the script with "sh " when generating the string that
+ is passed to system().
+
+2005-01-04 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
+
+ * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
+
+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
+ the selection.
2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
code; return true also for digits
(isWord, isKomma): remove
- * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
+ * 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.
+ function.
* paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
static cast.