+2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * PreviewLoader.C, GraphicsParams.C, GraphicsConverter.C: change
+ "support/std_sstream.h" to <sstream>
+
+2004-04-19 Angus Leeming <leeming@lyx.org>
+
+ * Previews.[Ch] (status): new member function, replacing activated.
+
+2004-04-15 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (startLoading): change arguments passed to the
+ preview-generation script to include the foreground and background
+ colours.
+ (dumpPreamble): no longer write the foreground and background
+ colours to the latex file as PostScript specials.
+ (setConverter): consider only those 'to' formats that are
+ loadable natively by the GUI library, rather than all formats
+ for which a converter exists.
+ (setAscentFractions): re-written to parse much simplified metrics
+ file.
+
+2004-04-13 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (dumpPreamble):
+ * Previews.C (generateBufferPreviews): re-enable iteration over all
+ insets.
+
+2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
+
+ * GraphicsCacheItem.C (convertToDisplayFormat): unzip zipped files
+ to a temporary file
+ * PreviewLoader.C: use always a temp dir
+ * PreviewLoader.C: check successfull creation of LaTeX file
+
+2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * PreviewLoader.C (FindFirst): inherit from std::unary_function
+ and make operator() const
+ (FindSnippet): inherit from unary_function, simplify slightly.
+
+2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * GraphicsTypes.C: include <string>
+
+2003-11-20 Lars Gullik Bjonnes <larsbj@gullik.net>
+
+ * Previews.C: include paragraph.h
+ * PreviewLoader.C: ditto
+
+2003-11-05 José Matos <jamatos@lyx.org>
+
+ * PreviewLoader.C (dumpPreamble): rename ascii to plaintext
+ and LatexRunParams to OutputParams.
+
+2003-10-22 Angus Leeming <leeming@lyx.org>
+
+ * PreviewImage.C (statusChanged): always pass on the signal, not just
+ when the preview is ready for display.
+
+2003-10-22 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsConverter.C (Impl c-tor): add a warning message if the file
+ to contain the conversion script cannot be opened.
+
+2003-10-22 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (startLoading): do nothing if the buffer is not yet
+ loaded.
+
+2003-10-13 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsTypes.[Ch] (setDisplayTranslator): removed.
+ Make displayTranslator a function,
+
+2003-10-10 Angus Leeming <leeming@lyx.org>
+
+ * PreviewedInset.[Ch]: removed.
+
+ * Makefile.am: remove PreviewedInset.[Ch].
+
+2003-10-09 Angus Leeming <leeming@lyx.org>
+
+ * PreviewedInset.[Ch] (previewReady): remove the side effects.
+ Now simply reports whether the preview is ready.
+
+2003-10-09 Angus Leeming <leeming@lyx.org>
+
+ * PreviewedInset.[Ch]: move PreviewedInset out of namespace lyx::graphics.
+ Remove the inset and view member functions.
+ Add a new connect member function and preview_ready_signal_ member
+ variable, to enable the class to tell an arbirary connectee that the
+ preview is ready.
+
+2003-10-09 Angus Leeming <leeming@lyx.org>
+
+ * PreviewedInset.[Ch] (removePreview, previewReady): these functions
+ are now passed a 'Buffer const &', eliminating most of the remaining
+ need for PreviewedInset to use a BufferView cache.
+
+2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
+
+ * GraphicsCache.h:
+ * PreviewImage.h: add <string> and other small fixes to make
+ Lars' std::string patch compile with STLport.
+
+2003-09-29 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsParams.[Ch] (asString): removed. Replaced with
+ operator<<(std::ostream &, BoundingBox const &).
+
+2003-09-25 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsParams.[Ch] (asString): new member function.
+
+2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * Previews.C (Previews): fix new bug
+
+ * GraphicsCache.C (Cache): fix new bug
+
+2003-09-19 Angus Leeming <leeming@lyx.org>
+
+ * PreviewedInset.[Ch] (generatePreview, previewWanted): now passed
+ a 'Buffer const &' argument.
+
+2003-09-18 Angus Leeming <leeming@lyx.org>
+
+ * PreviewedInset.C (latexString): add a Buffer const & arg.
+ * PreviewedInset.C (addPreview): pass the buffer to latexString.
+
+2003-09-16 Angus Leeming <leeming@lyx.org>
+
+ * PreviewedInset.[Ch] (c-tor) move out of line.
+ (d-tor): make private.
+ (inset): return a const reference rather than a non-const pointer.
+
+2003-09-16 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsImage.h: separate interface from implementation. Make all the
+ pure virtual functions private.
+
+2003-09-16 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C: add #include "LColor.h".
+
+2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * GraphicsConverter.C
+ * PreviewLoader.C: remove usage of STRCONV
+
+2003-09-14 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (remove): consider all InProgressProcesses when
+ ascertaining which ones to remove from the list, not every other one.
+
+2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
+
+ * GraphicsCacheItem.C: change Assert to BOOST_ASSERT
+ * Previews.C: ditto
+
+2003-09-08 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsImage.C:
+ * GraphicsParams.C:
+ * PreviewLoader.C: remove redundant using directives.
+
+2003-09-07 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsTypes.h:
+ * Previews.h: remove #include "support/std_string.h".
+
+2003-09-06 Angus Leeming <leeming@lyx.org>
+
+ * PreviewedInset.C: add #include "insets/inset.h"
+
+2003-09-05 Angus Leeming <leeming@lyx.org>
+
+ * *.C: strip out redundant #includes. (26 in total.)
+
+2003-09-04 Angus Leeming <leeming@lyx.org>
+
+ * LoaderQueue.C (get):
+
+2003-09-04 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsCache.C:
+ * GraphicsCacheItem.C:
+ * GraphicsConverter.C:
+ * PreviewImage.C:
+ * PreviewLoader.C:
+ * PreviewedInset.C:
+ * Previews.C: 'namespace support = lyx::support' rather than
+ 'using lyx::support'.
+
+ * Previews.h: cleaned up some comments.
+
+ * LoaderQueue.[Ch]: move #include "GraphicsCacheItem.h" into the .C file.
+
+2003-07-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
+
+ * GraphicsTypes.h: do not declare displayTranstor here (and remove
+ extra include)
+
+2003-07-27 José Matos <jamatos@fep.up.pt>
+
+ * PreviewLoader.C (Impl::dumpPreamble): comply with makeLaTeXFile
+ argument change.
+
+2003-07-21 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsCache.h:
+ * GraphicsCacheItem.[Ch]:
+ * GraphicsParams.h:
+ * PreviewLoader.h:
+ * PreviewedInset.[Ch]:
+ * Previews.h: use namespace lyx::graphics rather than grfx shortcut.
+
+2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * Change namespace grfx to lyx::graphics.
+
+2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * introcude namespace lyx::support
+
+2003-06-04 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsLoader.C (Loader copy c-tor): make it work as expected. ;-)
+ (operator=): if it has a copy c-tor, it should have this too.
+
+2003-06-03 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsLoader.[Ch] (Loader): add copy constructor.
+
+2003-05-23 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (dumpPreamble): rename fragile as moving_arg.
+
+2003-05-22 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (dumpPreamble): no longer pass a free_spacing arg to
+ the inset::latex method.
+
+2003-05-22 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (dumpPreamble): no longer pass a fragile arg to
+ the inset::latex method.
+
+2003-05-22 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (dumpPreamble): the 'nice' param passed to
+ makeLaTeXFile is now encapsulated within runparams.
+
+2003-05-22 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (dumpPreamble):
+ pass around a LatexRunParams parameter.
+
+2003-05-13 André Pönitz <poenitz@gmx.net>
+
+ * GraphicsConverter.C:
+ * PreviewLoader.C: use tostr from own header
+
+2003-05-12 André Pönitz <poenitz@gmx.net>
+
+ * PreviewLoader.C: boost::format -> bformat
+
+2003-04-15 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsConverter.C: #include lstrings.h.
+
+2003-02-28 Alfredo Braunstein <abraunst@libero.it>
+
+ * GraphicsConverter.C
+ * PreviewLoader.C: added #include "format.h"
+
+2003-02-26 Angus Leeming <leeming@lyx.org>
+
+ * PreviewedInset.[Ch]: strip out the caching of the BufferView and
+ use the cache of the parent inset instead.
+
+ * PreviewLoader.C (startLoading): Prevent a crash if the user is
+ not using a tmp directory.
+
+2003-02-26 Alfredo Braunstein <abraunst@libero.it>
+
+ * GraphicsLoader.[Ch],
+ * PreviewImage.[Ch],
+ * PreviewedInset.C: Removed unneeded list of owner insets
+
+2003-02-25 Alfredo Braunstein <abraunst@libero.it>
+
+ * GraphicsConverter (startConversion): add the call to
+ ForkedCallQueue::add
+
+ * GraphicsLoader.[Ch],
+ * PreviewImage.[Ch],
+ * PreviewedInset.C: Removed unneeded BufferView
+
+2003-02-25 Alfredo Braunstein <abraunst@libero.it>
+
+ * LoaderQueue.[Ch]: a simplification of the code, eliminated
+ the unneeded input bucket.
+
+ * GraphicsCacheItem.C (imageConverted): move warning inside the
+ !success block.
+
+2003-02-25 Alfredo Braunstein <abraunst@libero.it>
+
+ * PreviewLoader.C (FindFirst): use ==, not < with std::find.
+
+2003-02-21 Alfredo Braunstein <abraunst@libero.it>
+
+ * LoaderQueue.[Ch] (setPriority): added
+
+ * PreviewLoader.C (finishedGenerating): reversed the loading order so
+ first images get 'touched' last, and so load first.
+
+2003-02-20 Alfredo Braunstein <abraunst@libero.it>
+
+ * LoaderQueue.[Ch]: added. Implements a service queue that loads
+ images in background
+ * GraphicsSupport.[Ch]: removed
+ * Makefile.am: the changes above
+ * GraphicsLoader.C: use the loading queue
+
+2003-01-21 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (dumpPreamble): ensure that \lyxlock does not prevent
+ previews from being generated.
+
+2003-01-13 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsCacheItem.C (findTargetFormat): define the default conversion
+ format to be PPM not XPM.
+
+2002-12-17 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * Makefile.am (EXTRA_DIST): remove variable
+
+2002-12-13 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsImageXPM.[Ch]: removed.
+
+ * Makefile.am: associated change.
+
+2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * several files: ws changes
+
+2002-11-21 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsConverter.C (build_script, move_file):
+ Don't use "if [ $? -ne 0 ]; then..."
+
+2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * PreviewLoader.C (IncrementedFileName): STRCONV
+ (startLoading): ditto
+
+ * GraphicsConverter.C (Impl): STRCONV
+ (move_file): ditto
+
+ * GraphicsTypes.C: include config.h
+
+2002-10-25 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsConverter.C (Impl::converted)
+ * PreviewLoader.C (Impl::finishedGenerating): no longer receives a
+ string as first arg, reflecting change in ForkedCall interface.
+
+ * PreviewLoader.C: use pid rather than command as identifier in
+ InProgress map.
+
+2002-10-18 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsCacheItem.C (findTargetFormat): add debug message.
+
+2002-09-24 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * Makefile.am (INCLUDES): loose SIGC_INCLUDES
+
+2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * GraphicsConverter.C (build_script): do not use ChangeExtension
+ on a base name
+ (Impl): ditto
+
+2002-09-05 Angus Leeming <leeming@lyx.org>
+
+ * all files: modify the headers as discussed on the list.
+
+2002-09-04 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (startLoading): pass the desired output format to the
+ conversion script.
+
+2002-09-04 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C: remove this ndigits stuff as an unnecessary extra.
+
+2002-09-03 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C: fix crash reported by Norbert Koksch when
+ generating more than 999 preview snippets. Use filenames with 5 digit
+ numbers, not 3, in the first instance, although more general code is
+ commented out. I don't suppose /anyone/ has 100000 formulae in one
+ document...
+
+2002-09-03 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C: activate #ifdef USING_NEW_PREVIEW_STY code.
+
+2002-09-03 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsConverter.C (Impl c-tor): remove lyxpreview2xpm cruft.
+
+2002-09-03 Martin Vermeer <martin.vermeer@hut.fi>
+
+ * GraphicsConverter.C (Impl c-tor): "hide" crash by prefixing
+ convertDefault command with "sh ".
+
+2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
+
+ * GraphicsImage.C: small style fix to width/height setting.
+
+ * GraphicsTypes.h: have a displayTranslator here.
+
+ * Makefile.am:
+ * GraphicsTypes.C: new file added for the setDisplayTranslator();
+
+2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
+
+ * GraphicsImage.C:
+ * GraphicsParams.[Ch]: remove keepLyXAspectRatio, width and height
+ because this input has gone from the graphics dialog.
+
+ * GraphicsTypes.h: add enum DisplayType DefaultDisplay
+
+2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
+
+ * GraphicsImageXPM.h: inlcude boost/shared_ptr.hpp, remove include
+ for support/smart_ptr.h, switch to boost smart ptr.
+
+ * GraphicsImageXPM.C: reorder includes, include boost/bind.hpp
+ (~Data): let the smart_ptr handle cleanup
+ (reset): use nifty 3rd arg
+ (resetData): ditto
+ (free_color_table): free the table manually
+
+2002-08-09 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (dumpPreamble): pass Buffer::filePath() to
+ Buffer::makeLaTeXFile() so that LaTeX can find \input files because
+ input@path is now set correctly.
+
+2002-08-06 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C: add support for preview.sty 0.73 (currently
+ #ifdef-ed out, awaiting the formal release).
+
+ * PreviewedInset.[Ch] (removePreview): new method. Useful if previewing
+ the contents of a file that has changed.
+
+2002-08-05 Angus Leeming <leeming@lyx.org>
+
+ * PreviewLoader.C (dumpPreamble): add lyx to the list of options output
+ to preview.sty. Works only for versions of preview.sty > 0.72b but
+ doesn't hurt earlier versions. Allows me to test the new parsing of
+ LyX-specific data from the generated log file.
+
+2002-08-02 Angus Leeming <leeming@lyx.org>
+
+ * GraphicsLoader.C: cache the BufferView as a weak_ptr.
+
+ * PreviewLoader.[Ch] (buffer): new method, returning the owner.
+ (add): don't add empty snippets.
+
+ * PreviewedInset.[Ch]: cache the BufferView as a weak_ptr.
+ (view, setView): access to to the cache_.
+
+2002-08-02 Angus Leeming <leeming@lyx.org>
+
+ * PreviewedInset.[Ch]: cache the LaTeX snippet.
+
+2002-08-01 Angus Leeming <leeming@lyx.org>
+
+ * PreviewedInset.[Ch]: new files. An abstract base class that can help
+ insets to generate previews.
+ The daughter class must instantiate three small methods.
+ The Inset would own an instance of this daughter class and invoke it
+ as necessary. For example, mathd/formula.C gets previews at the cost
+ of 15 or so lines of code.
+
+ * Makefile.am: add PreviewedInset.[Ch].
+
+ * PreviewLoader.C (add): add debug message.
+
+ * Previews.C (generateBufferPreviews): remove if-block from loop.
+
+2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * PreviewLoader.C (setFontScalingFactor): strip,frontStrip ->
+ trim,ltrim,rtrim
+ (setAscentFractions): ditto
+
+2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
+
+ * PreviewLoader.C (setAscentFractions): modify because of strip
+ changes
+
+2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
+
+ * GraphicsConverter.C (build_script): take a ostream as a more
+ general argument than ostringstream.
+
+2002-07-22 Herbert Voss <voss@lyx.org>
+
+ * GraphicsConverter.C: get the "default converter" run again
+
+2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
+
+ * PreviewLoader.C: use BufferParams::getLyXTextClass
+
+2002-07-21 Herbert Voss <voss@lyx.org>
+
+ * GraphicsImage.C: get the LyXAspectRatio run.
+
+ * GraphicsParams.[Ch]: add bool keepLyXXAspectRatio
+
2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* PreviewLoader.C (startLoading): pass an interger as resolution
2002-07-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* GraphicsCacheItem.C (reset): use erase() instead of clear() for
- strings
+ strings
2002-07-18 Angus Leeming <leeming@lyx.org>
* GraphicsConverter.[Ch]: (startConversion): const-ify.
(finishedConversion): move the signal into the Impl class.
(connect): new method, enabling a listener to connect to this signal.
-
+
* GraphicsLoader.[Ch] (reset, startLoading): const-ify.
(statusChanged): move the signal into the Impl class.
(connect): new method, enabling a listener to connect to this signal.
* Previews.[Ch]: use const in more places.
(generateBufferPreviews): now takes a Buffer const & argument, not a
pointer.
-
+
2002-07-15 John Levon <moz@compsoc.man.ac.uk>
* GraphicsImage.h: remove getPixmap/X, add isDrawable()
-
+
2002-07-12 Angus Leeming <leeming@lyx.org>
* GraphicsLoader.[Ch]: smart loading of images. Images are loaded only
2002-07-12 John Levon <moz@compsoc.man.ac.uk>
* GraphicsCache.C: remove init_graphics()
-
+
2002-07-09 Angus Leeming <leeming@lyx.org>
* PreviewLoader.C (setAscentFractions): fix bug due to use of integer