1 2002-08-05 Angus Leeming <leeming@lyx.org>
3 * PreviewLoader.C (dumpPreamble): add lyx to the list of options output
4 to preview.sty. Works only for versions of preview.sty > 0.72b but
5 doesn't hurt earlier versions. Allows me to test the new parsing of
6 LyX-specific data from the generated log file.
8 2002-08-02 Angus Leeming <leeming@lyx.org>
10 * GraphicsLoader.C: cache the BufferView as a weak_ptr.
12 * PreviewLoader.[Ch] (buffer): new method, returning the owner.
13 (add): don't add empty snippets.
15 * PreviewedInset.[Ch]: cache the BufferView as a weak_ptr.
16 (view, setView): access to to the cache_.
18 2002-08-02 Angus Leeming <leeming@lyx.org>
20 * PreviewedInset.[Ch]: cache the LaTeX snippet.
22 2002-08-01 Angus Leeming <leeming@lyx.org>
24 * PreviewedInset.[Ch]: new files. An abstract base class that can help
25 insets to generate previews.
26 The daughter class must instantiate three small methods.
27 The Inset would own an instance of this daughter class and invoke it
28 as necessary. For example, mathd/formula.C gets previews at the cost
29 of 15 or so lines of code.
31 * Makefile.am: add PreviewedInset.[Ch].
33 * PreviewLoader.C (add): add debug message.
35 * Previews.C (generateBufferPreviews): remove if-block from loop.
37 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
39 * PreviewLoader.C (setFontScalingFactor): strip,frontStrip ->
41 (setAscentFractions): ditto
43 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
45 * PreviewLoader.C (setAscentFractions): modify because of strip
48 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
50 * GraphicsConverter.C (build_script): take a ostream as a more
51 general argument than ostringstream.
53 2002-07-22 Herbert Voss <voss@lyx.org>
55 * GraphicsConverter.C: get the "default converter" run again
57 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
59 * PreviewLoader.C: use BufferParams::getLyXTextClass
61 2002-07-21 Herbert Voss <voss@lyx.org>
63 * GraphicsImage.C: get the LyXAspectRatio run.
65 * GraphicsParams.[Ch]: add bool keepLyXXAspectRatio
67 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
69 * PreviewLoader.C (startLoading): pass an interger as resolution
70 to the lyxpreview converter
72 * GraphicsParams.C: include <cstdlib>
74 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
76 * PreviewLoader.C (startLoading): use LibScriptSearch to find the
77 preview converter script
79 2002-07-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
81 * GraphicsCacheItem.C (reset): use erase() instead of clear() for
84 2002-07-18 Angus Leeming <leeming@lyx.org>
86 * GraphicsCacheItem.[Ch]: add a FileMonitor variable to the the Impl
88 (startMonitoring, monitoring, checksum): new methods to interact with
91 * GraphicsLoader.[Ch] (startMonitoring, monitoring, checksum): new
92 methods invoking the CacheItem methods of the same name.
93 (resetFile): if monitoring and the file changes, start monitoring this
96 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
98 * Makefile.am: remove FileMonitor.[Ch]
100 2002-06-17 Herbert Voss <voss@lyx.org>
102 * GraphicsCachItem.C (findTargetFormat): remove the speciell case
103 for old ps-files (Garst). It's now handled by defining a converter and
104 disabling the ps-support of xforms.
106 2002-07-17 Angus Leeming <leeming@lyx.org>
108 Be true to the Pimpl idiom, moving all signals into the respective
109 Impl classes and defining methods to connect them to an outside slot.
110 Const-ify all visible class methods as they act only on a const pimpl_.
112 * GraphicsCache.[Ch] (add, remove): const-ify.
114 * GraphicsCacheItem.[Ch] (startLoading): const-ify.
115 (statusChanged): move the signal into the Impl class.
116 (connect): new method, enabling a listener to connect to this signal.
118 * GraphicsConverter.[Ch]: (startConversion): const-ify.
119 (finishedConversion): move the signal into the Impl class.
120 (connect): new method, enabling a listener to connect to this signal.
122 * GraphicsLoader.[Ch] (reset, startLoading): const-ify.
123 (statusChanged): move the signal into the Impl class.
124 (connect): new method, enabling a listener to connect to this signal.
126 * PreviewLoader.[Ch] (add, remove, startLoading): const-ify.
127 (imageReady): move the signal into the Impl class.
128 (connect): new method, enabling a listener to connect to this signal.
129 (emitSignal): new method, enabling PreviewImage to tell the outside
130 world that the file has been loaded into memory.
132 * Previews.[Ch] (loader, removeLoader, generateBufferPreviews):
136 * GraphicsCacheItem.C:
137 * GraphicsConverter.[Ch]:
139 * GraphicsImageXPM.C:
141 * PreviewLoader.[Ch]: whitespace clean-up.
143 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
145 * PreviewLoader.C (setConverter): remove unused variable
147 * GraphicsImageXPM.C (isDrawable): implement
148 (setPixmap): the opaque color is black, not white
150 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
152 * GraphicsImageXPM.C (color_none_id):
153 (contains_color_none): use ascii_lowercase instead of lowercase
155 2002-07-16 Angus Leeming <leeming@lyx.org>
157 * PreviewLoader.C: greater use of STL algorithms.
159 * Previews.[Ch]: use const in more places.
160 (generateBufferPreviews): now takes a Buffer const & argument, not a
163 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
165 * GraphicsImage.h: remove getPixmap/X, add isDrawable()
167 2002-07-12 Angus Leeming <leeming@lyx.org>
169 * GraphicsLoader.[Ch]: smart loading of images. Images are loaded only
170 if visible 2 secs after the call to load them is first made.
172 * GraphicsSupport.[Ch]: new files. isInsetVisible interrogates the
173 BufferView to ascertain whether the inset is visible or not.
175 * Makefile.am: added GraphicsSupport.[Ch].
177 * PreviewImage.[Ch]: use this smart loader.
179 * PreviewLoader.C: don't load generated image files indiscimminantly.
180 Instead emit the imageReady signal and allow the image owner to decide.
182 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
184 * GraphicsCache.C: remove init_graphics()
186 2002-07-09 Angus Leeming <leeming@lyx.org>
188 * PreviewLoader.C (setAscentFractions): fix bug due to use of integer
189 arithmetic when it should be floating.
191 2002-07-09 Angus Leeming <leeming@lyx.org>
193 * PreviewLoader.C (startLoading): prepend LaTeX file with "\batchmode".
194 Output equation labels as "(#)" if lyxrc preference is set.
195 (setFontScalingFactor): use lyxrc variable preview_scale_factor
196 rather than hard-coding this.
198 2002-07-09 Angus Leeming <leeming@lyx.org>
200 * PreviewLoader.C: Further refactoring of the code. Should now be
203 * PreviewMetrics.[Ch]: removed. Had a v. short shelf life and is now
204 past its sell-by date. The code to read the metrics file is now found
205 as a helper function in PreviewLoader.C.
207 * GraphicsImageXPM.C (scale): use boost::tie.
209 2002-07-08 Herbert Voss <voss@lyx.org>
211 * PreviewLoader.C: use of preview_size_factor to get the right
212 font-size! 0.9 is the default.
214 2002-07-08 Angus Leeming <leeming@lyx.org>
216 * PreviewLoader.C: Add "delayed" and "showlabels" options to the
217 invocation of preview.sty.
218 Perform something of an internal clean-up.
220 2002-07-06 Angus Leeming <leeming@lyx.org>
222 * PreviewLoader.C: ensure that the metrics data is used by the
226 * PreviewImage.C: (Impl d-tor): remove all generated files that still
227 exist (perhaps because the process was curtailed before the images
230 * PreviewLoader.C (unique_filename): store the files in Buffer::tmppath.
232 2002-07-05 Angus Leeming <leeming@lyx.org>
241 * Previews.C: new files. The previewed LaTeX snippet stuff.
243 * Makefile.am: add these files.
245 2002-07-05 Angus Leeming <leeming@lyx.org>
247 * GraphicsLoader.h: whitespace.
249 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
251 * GraphicsImage.[Ch]: newImage and loadableFormats changed to
252 boost::function from boost::signal.
254 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
256 * GraphicsConverter.C (convert): do not use ChangeExtension
257 because to_file_base may contain a dot.
259 2002-06-28 Angus Leeming <leeming@lyx.org>
261 * GraphicsCacheItem.[Ch]: refactor some of the more convoluted logic
262 by moving those SignalPtrs into the grfx::Image and grfx::Converter
263 classes where they really belong.
264 Use the Pimpl idiom to hide the class internals from public view.
266 * GraphicsTypes: remove the typedefs, leaving only the enums.
268 * GraphicsImage.h: now has a finishedLoading signal, as opposed to being
269 passed a reference to one in the load() method.
271 * GraphicsConverter.[Ch]: totally refactored. An instance of
272 grfx::Converter now represents a single conversion process.
273 Thus grfx::CachItem now has a grfx::Converter * that is set when the
274 conversion is initiated and destroyed on completion.
276 * GraphicsCache.[Ch]:
277 * GraphicsCacheItem.[Ch]:
278 * GraphicsConverter.[Ch]:
279 * GraphicsLoader.[Ch]: use the Pimpl idiom to hide the class internals
281 Note that I have done this only after making the above changes,
282 so not only should we have a clean, minimal and well documented
283 interface to these classes in the header files, but the class internals
284 should be much clearer too.
287 grfx::GCache -> grfx::Cache,
288 grfx::GCacheItem -> grfx::CacheItem,
289 grfx::GConverter -> grfx::Converter,
290 grfx::GImage -> grfx::Image,
291 grfx::GImageXPM -> grfx::ImageXPM,
292 grfx::GParams -> grfx::Params.
294 2002-06-26 Angus Leeming <leeming@lyx.org>
296 * GraphicsLoader.[Ch]: use boost::scoped_ptr in preference to
297 std::auto_ptr. Define an empty Loader d-tor out-of-line to ensure it
300 2002-06-26 Angus Leeming <leeming@lyx.org>
302 * GraphicsTypes.h: add "Ready" to the ImageStatus enum.
303 move the DisplayType enum out of grfx::GParams to here.
305 * GraphicsCacheItem.h: re-write preliminary description to reflect
308 * GraphicsParams.[Ch]:
309 * GraphicsImageXPM.C (load, setPixmap): changes aassociated with moving
310 grfx::DisplayType out of grfx::GParams.
312 * GraphicsLoader.[Ch]: new files. Factor out the image loading stuff
313 that was in frontends/screen.C and insets/insetgraphics.C into a
314 single, easy-to-use class.
316 * Makefile.am: add these files.
318 2002-06-25 Angus Leeming <leeming@lyx.org>
320 * GraphicsCache.[Ch]:
321 * GraphicsCacheItem.[Ch]:
322 * GraphicsTypes.h: rewrite the graphics cache to just load a graphics
323 file into memory. The cache no longer controls the generation of the
324 pixmap. Instead, it just emits a signal when the loading status of an
326 The cache no longer stores InsetGraphics pointers and nor does it
327 assume responsibility for modifying an image (scaling, rotating etc).
328 Instead, that must now be performed elsewhere.
330 2002-06-19 Angus Leeming <leeming@lyx.org>
332 * GraphicsConverter.C: add using std::endl directive.
334 2002-06-17 Herbert Voss <voss@lyx.org>
336 * GraphicsCachItem.C: (findTargetFormat)return xpm-format as a
337 default when nothing different was found
338 (convertToDisplayFormat): handle zipped files in the right way and
339 choose always convert as a default converter when no other
340 userdefined was found
342 * GraphicsConverter.C: add more lyxerr comments and choose
343 convert when no other userdefined converter was found
345 2002-06-10 Herbert Voss <voss@lyx.org>
347 * GraphicsImageXPM.C (convertTo7chars): get another special color
348 format from convert work in the right way
350 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
352 * GraphicsCache.C: use right colormap incantation
354 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
356 * GraphicsCache.C: use lyx_gui namespace
358 * GraphicsImageXPM.C: back down to using xforms
361 2002-06-07 Angus Leeming <leeming@lyx.org>
363 Fixes needed to compile with Compaq cxx 6.5.
364 * GraphicsConverter.h: forward declare class ConvProcess.
366 * GraphicsImageXPM.C:
367 all c-library variables have been moved into namespace std.
368 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
370 2002-06-06 Angus Leeming <a.leeming@ic.ac.uk>
372 * GraphicsImageXPM.C (rotate): rotate in the same sense as xdvi!
374 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
376 * GraphicsImageXPM.C: SigC to boot::signals changes.
377 (newImage): fix () bug when using new.
379 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
381 * switch from SigC signals to boost::signals.
383 2002-05-29 André Pönitz <poenitz@gmx.net>
385 * GraphicsParam.C: remove unneeded #include, move vomment
387 2002-05-28 André Pönitz <poenitz@gmx.net>
389 * GraphicsParam.[Ch]: move inset related stuff to inset/insetgraphics
391 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
393 * GraphicsImageXPM.C: ColorHandler moved
395 2002-05-24 Juergen Vigna <jug@sad.it>
398 * GraphicsImage.h: include LString.h first.
400 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
402 * GraphicsCacheItem.h: use more specific smart_ptr header.
403 * GraphicsTypes.h: ditto
404 * GraphicsImage.h: ditto
405 * GraphicsConverter.h: ditto
407 2002-04-28 John Levon <moz@compsoc.man.ac.uk>
409 * GraphicsImageXPM.C: understand convert's use of "opaque"
412 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
414 * GraphicsCache.[Ch] (loadableFormats): new method. A wrapper for
415 GImage::loadableFormats() that ensures that the signal is connected
416 to the derived class' method.
418 2002-04-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
420 * GraphicsImageXPM.C (convertTo7chars): drop all conversions and
421 only work on the string.
423 2002-04-17 Angus Leeming <a.leeming@ic.ac.uk>
425 * GraphicsImageXPM.C (Data::reset): Fix the loading of xpm files by
426 the simple image loader when it encounters colour strings like
429 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
431 * GraphicsCacheItem.C (convertToDisplayFormat):
432 * GraphicsConverter.C (build_script): remove the Alerts when things go
433 wrong as the inset displays the message anyway. Moreover, Alert seems
434 pretty temperamemtal at the moment.
436 2002-04-16 Rob Lahaye <lahaye@users.sourceforge.net>
438 * GraphicsImageXPM.C: fix clipping for boundingbox y-coordinates
440 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
442 * GraphicsCacheItem.C (findTargetFormat): fix bug waiting to bite:
443 a reference to a temp object that's going out of scope...
445 2002-04-09 Herbert Voss <voss@lyx.org>
447 * GraphicsParams.C (BoundingBox c-tor): fix rounding errors by using
448 LyXLength::inBP instead of inPixels.
450 2002-04-10 Herbert Voss <voss@perce.de>
452 * GraphicsCache.[Ch]:
453 * GraphicsCacheItem.[Ch]: add width/height functions from Angus
454 to read the "Bounding Box" from non (e)ps files.
456 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
458 * GraphicsParams.C (c-tor): if clipping, then check the Bounding Box of
459 the EPS file too, to ensure that the clipped Bounding Box is relative
460 to the original. (From Herbert.)
462 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
464 * GraphicsParams.C (BoundingBox c-tor): ensure that the member
465 variables are initialised. Clean-up parsing of the string (with thanks
468 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
470 * GraphicsCacheItem.C (convertToDisplayFormat): don't launch that Alert
471 if the file can't be found.
473 * GraphicsParams.h (c-tor): remove string() as default argument.
475 * GraphicsCacheItem.C: a couple of changes as a result.
477 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
479 * GraphicsCache.[Ch] (update): now passed filepath to determine absolute
480 path to graphics file.
482 * GraphicsParams.[Ch] (c-tor): now passed filepath.
484 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
486 * most files: ws cleanup
488 * Makefile.am: remove ld -r stuff
490 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
492 * Makefile.am: special rules if partial linking
494 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
496 * GraphicsCache.C: use Lars' preferred idiom for a for-loop.
498 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
500 * GraphicsConverter.[Ch] (converted): make first arg const ref.
502 * GraphicsCacheItem.h: doxy change
504 * GraphicsCacheItem.C: ws change
506 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
508 * Makefile.am: if there is no image loading class leveraging the power
509 of the appropriate gui library, then compile the basic alternative
510 found in GraphicsImageXPM.[Ch].
512 2002-03-04 Angus Leeming <a.leeming@ic.ac.uk>
514 * GraphicsCache.C: change associated with move of initialiseGraphics
517 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
519 * GraphicsParams.[Ch]:
521 * GraphicsImageXPM.C: properly resolve more warnings about comparison
522 between signed and unsigned integer expressions.
524 * Makefile.am: add GraphicsTypes.h which I'd carelessly left out.
526 * GraphicsCache.C: move connections to the GImage-derived classes to
529 * GraphicsImageXPM.C (copy c-tor): don't copy pixmap.
531 * GraphicsCacheItem.C (findTargetFormat): if we can load direct without
532 conversion, then do that.
534 2002-02-27 Angus Leeming <a.leeming@ic.ac.uk>
536 * GraphicsCache.C: improve commentary to graphicsInit and where it
539 * GraphicsImageXPM.C (~Data, free_color_table): resolve the crash
540 that became a memory leak properly. (Let the shared_c_ptr free the
542 (reset, mapcolor): tidy up and introduce a work around for XPM files
543 with crappy color entries. Print out a nice friendly message on what's
544 gone wrong and how to resolve it properly.
546 2002-02-27 Angus Leeming <a.leeming@ic.ac.uk>
548 * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
549 (Data d-tor): introduce memory leak temporarily, to "fix" a crash
551 (unique_color_string): use the correct string c-tor.
553 2002-02-15 Angus Leeming <a.leeming@ic.ac.uk>
556 * ImageLoaderXPM.[Ch]: removed.
558 * GraphicsConverter.[Ch]:
559 * GraphicsImage.[Ch]:
560 * GraphicsImageXPM.[Ch]:
561 * GraphicsParams.[Ch]:
562 * GraphicsTypes.h: new files.
564 * All files. A total re-write of the graphics cache. The cache now
565 supports asynchronous file conversion and file loading. Images
566 can be cropped, rotated and scaled for display on the LyX screen.
567 The old LyXImage and ImageLoader have been combined in a new class
568 GImage. Ditto, ImageLoaderXPM's functionality has been moved into
571 2002-02-07 Herbert Voss <voss@lyx.org>
573 * GraphicsCacheItem.C: use unzipFile() from support/filetools
575 2002-01-31 Herbert Voss <voss@lyx.org>
577 * GraphicsCacheItem.h: handle filetype without the file extension;
578 getting type from contents; handle zipped files
580 2002-01-27 Herbert Voss <voss@lyx.org>
582 * GraphicsCacheItem.h: added Converting to the ImageStatus enum.
584 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
586 * ImageLoaderXPM.C: don't set XpmColorKey flag if we don't use it
588 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
590 * GraphicsCacheItem.h: do not include <config.h> in header files
592 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
594 * ImageLoaderXPM.C (runImageLoader): If the pixmap contains a
595 transparent colour, then set it to the colour of the background.
596 Also take account of the monochrome, grayscale of color
599 2001-09-20 Angus Leeming <a.leeming@ic.ac.uk>
601 * GraphicsCacheItem.C (convertImage): only convert if "from" and "to"
602 are different. Thus, don't delete the "to" if it's the original!
604 2001-09-01 John Levon <moz@compsoc.man.ac.uk>
606 * ImageLoadXPM.C: remove setting of alloc colour mask,
607 led to crash as we don't define a callback
609 2001-07-29 Baruch Even <baruch@lyx.org>
611 * ImageLoaderXPM.C (runImageLoader): When loading agree to use non-exact
612 colors with closeness of 10000.
614 * GraphicsCacheItem.C: Fixed a compilation bug introduced earlier.
616 2001-07-29 Baruch Even <baruch@lyx.org>
618 * GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
621 2001-07-23 Baruch Even <baruch@lyx.org>
623 * GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading
624 the image after conversion.
626 2001-07-17 Baruch Even <baruch@lyx.org>
628 * GraphicsCacheItem.h:
629 * GraphicsCacheItem.C: Shuffled things a bit to make it easier to switch
630 from synchronous to asynchronous and to ease the coming changes.
632 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
634 * ImageLoaderXPM.C (runImageLoader): get display information from
637 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
640 * GraphicsCacheItem.C:
642 * ImageLoaderXPM.C: removed // -*- C++ -*- as first line.
644 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
646 * GraphicsCache.h: inherit privately from noncopyable
647 * ImageLoader.h: ditto
648 * GraphicsCacheItem.h: ditto
650 2001-04-16 Allan Rae <rae@lyx.org>
652 * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun
653 CC 6.0 as an unrecognised preprocessor directive. So ensure they're
656 2001-04-02 Baruch Even <baruch@lyx.org>
658 * GraphicsCacheItem.[Ch]: Changed to used the Converter class instead
659 of hard coding ImageMagick.
661 2001-03-10 Baruch Even <baruch@lyx.org>
663 * GraphicsCache.C: Style change from (*it).field to it->field
665 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
667 * GraphicsCache.h: noncopyable is in namespace boost
668 * ImageLoader.h: ditto
669 * GraphicsCacheItem.h: ditto
671 2001-03-07 Baruch Even <baruch@lyx.org>
673 * GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
674 was false and it's not needed anyhow since the shared_ptr's in the cache
675 will destroy everything on exit.
677 2001-02-28 Baruch Even <baruch@ev-en.org>
680 * GraphicsCache.C: Changed the singleton pattern implementation, the
681 former version "leaked" in the sense that it was not deallocated at
684 2001-02-20 Baruch Even <baruch@ev-en.org>
686 * GraphicsCache.C: Changed to use shared_ptr<GraphicsCacheItem>
687 instead of a pure pointer.
689 * GraphicsCacheItem.[Ch]:
690 * GraphicsCacheItem_pimpl.[Ch]: Collapsed them into GraphicsCacheItem,
691 removed the reference counting that was inside. Also fixed a bug where
692 a temporary file wouldn't get erased.
694 * ImageLoader.[Ch]: Changed the semantics of the image_ pointers usage.
695 Ownership is now dropped when the caller requests the image_ pointer.
697 2001-02-20 Baruch Even <baruch@ev-en.org>
699 * GraphicsCache.C: Cleared up the confusion on when and how it is
702 * GraphicsCacheItem.C: Indentation change.
704 * GraphicsCacheItem_pimpl.C: Fixed the loading logic so that it will
705 figure correctly when the image has been loaded successfully.
707 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
709 * ImageLoader.C: add a "using" directive.
711 * ImageLoader.h: remove extra comma at the end of enum; add an
712 std:: qualifier for vector.
714 2001-01-21 Baruch Even <baruch@ev-en.org>
716 * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
717 height in the image itself and minor cleanups.
719 * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
720 new ImageLoader class instead of the older Renderer class. This
721 means change of responsibilities.