]> git.lyx.org Git - lyx.git/blobdiff - src/ChangeLog
the convert patch
[lyx.git] / src / ChangeLog
index c1692f59cb3f8068d6943864f30975080e184978..dff1a7ae7078c471a0086e8c8c4342cf05f04d9e 100644 (file)
@@ -1,5 +1,294 @@
+2005-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
+
+       * lyxlayout.[Ch]: change some vars from float to double
+
+       * buffer.C (readFile): make a local var const
+
+       * Several files: use convert<> instead of atoi,strToXXX and friends
+
+2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
+
+       * LaTeXFeatures.[Ch]: Add a static list packages_ that
+       holds the contens of packages.lst. New functions getAvailable
+       and isAvailable to parse and check that list, resp.
+
+       * LyXAction.C:
+       * lfuns.h:
+       * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
+
+       * bufferparams.[Ch]: new param output_changes.
+
+       * Buffer.C: increase file format to 240.
+       Use output_changes and isVailable.
+
+       * changes.[Ch]:
+       * paragraph.C:
+       * paragraph_pimpl.C: Use output_changes and isVailable.
+
+2005-01-23  Angus Leeming  <leeming@lyx.org>
+
+       * output_latex.C: #include "insetbibitem.h", rather than
+       forward declare function bibitemWidest.
+
+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.
        * BufferView_pimpl.C (getStatus, dispatch): handle
        LFUN_WORDS_COUNT.
 
-       * LyXAction.C (init): 
+       * LyXAction.C (init):
        * lfuns.h: add LFUN_WORDS_COUNT.
 
 2004-12-19  Angus Leeming  <leeming@lyx.org>
        avoid using the paragraph one
 
        * text2.C (LyXText, insertStringAsLines): adjust
-       
+
 2004-12-16  Angus Leeming  <leeming@lyx.org>
 
        * bufferlist.C:
-       * lyx_main.C: 
+       * lyx_main.C:
        * messages.C: remove redundant "using lyx::support::GetEnvPath;"
 
 2004-12-14  Angus Leeming  <leeming@lyx.org>
 
 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
 
-       * lyxfunc.C: 
+       * lyxfunc.C:
        * text3.C: remove selection_possible global flag
 
 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
 
        * Makefile.am (BOOST_LIBS): use boost variables
 
-2004-12-03  José Matos <jamatos@lyx.org>
+2004-12-03  José Matos  <jamatos@lyx.org>
 
        * buffer.C: format up to 238.