1 2002-08-06 Angus Leeming <leeming@lyx.org>
3 * PreviewLoader.C: add support for preview.sty 0.73 (currently
4 #ifdef-ed out, awaiting the formal release).
6 2002-08-05 Angus Leeming <leeming@lyx.org>
8 * PreviewLoader.C (dumpPreamble): add lyx to the list of options output
9 to preview.sty. Works only for versions of preview.sty > 0.72b but
10 doesn't hurt earlier versions. Allows me to test the new parsing of
11 LyX-specific data from the generated log file.
13 2002-08-02 Angus Leeming <leeming@lyx.org>
15 * GraphicsLoader.C: cache the BufferView as a weak_ptr.
17 * PreviewLoader.[Ch] (buffer): new method, returning the owner.
18 (add): don't add empty snippets.
20 * PreviewedInset.[Ch]: cache the BufferView as a weak_ptr.
21 (view, setView): access to to the cache_.
23 2002-08-02 Angus Leeming <leeming@lyx.org>
25 * PreviewedInset.[Ch]: cache the LaTeX snippet.
27 2002-08-01 Angus Leeming <leeming@lyx.org>
29 * PreviewedInset.[Ch]: new files. An abstract base class that can help
30 insets to generate previews.
31 The daughter class must instantiate three small methods.
32 The Inset would own an instance of this daughter class and invoke it
33 as necessary. For example, mathd/formula.C gets previews at the cost
34 of 15 or so lines of code.
36 * Makefile.am: add PreviewedInset.[Ch].
38 * PreviewLoader.C (add): add debug message.
40 * Previews.C (generateBufferPreviews): remove if-block from loop.
42 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
44 * PreviewLoader.C (setFontScalingFactor): strip,frontStrip ->
46 (setAscentFractions): ditto
48 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
50 * PreviewLoader.C (setAscentFractions): modify because of strip
53 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
55 * GraphicsConverter.C (build_script): take a ostream as a more
56 general argument than ostringstream.
58 2002-07-22 Herbert Voss <voss@lyx.org>
60 * GraphicsConverter.C: get the "default converter" run again
62 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
64 * PreviewLoader.C: use BufferParams::getLyXTextClass
66 2002-07-21 Herbert Voss <voss@lyx.org>
68 * GraphicsImage.C: get the LyXAspectRatio run.
70 * GraphicsParams.[Ch]: add bool keepLyXXAspectRatio
72 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
74 * PreviewLoader.C (startLoading): pass an interger as resolution
75 to the lyxpreview converter
77 * GraphicsParams.C: include <cstdlib>
79 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
81 * PreviewLoader.C (startLoading): use LibScriptSearch to find the
82 preview converter script
84 2002-07-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
86 * GraphicsCacheItem.C (reset): use erase() instead of clear() for
89 2002-07-18 Angus Leeming <leeming@lyx.org>
91 * GraphicsCacheItem.[Ch]: add a FileMonitor variable to the the Impl
93 (startMonitoring, monitoring, checksum): new methods to interact with
96 * GraphicsLoader.[Ch] (startMonitoring, monitoring, checksum): new
97 methods invoking the CacheItem methods of the same name.
98 (resetFile): if monitoring and the file changes, start monitoring this
101 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
103 * Makefile.am: remove FileMonitor.[Ch]
105 2002-06-17 Herbert Voss <voss@lyx.org>
107 * GraphicsCachItem.C (findTargetFormat): remove the speciell case
108 for old ps-files (Garst). It's now handled by defining a converter and
109 disabling the ps-support of xforms.
111 2002-07-17 Angus Leeming <leeming@lyx.org>
113 Be true to the Pimpl idiom, moving all signals into the respective
114 Impl classes and defining methods to connect them to an outside slot.
115 Const-ify all visible class methods as they act only on a const pimpl_.
117 * GraphicsCache.[Ch] (add, remove): const-ify.
119 * GraphicsCacheItem.[Ch] (startLoading): const-ify.
120 (statusChanged): move the signal into the Impl class.
121 (connect): new method, enabling a listener to connect to this signal.
123 * GraphicsConverter.[Ch]: (startConversion): const-ify.
124 (finishedConversion): move the signal into the Impl class.
125 (connect): new method, enabling a listener to connect to this signal.
127 * GraphicsLoader.[Ch] (reset, startLoading): const-ify.
128 (statusChanged): move the signal into the Impl class.
129 (connect): new method, enabling a listener to connect to this signal.
131 * PreviewLoader.[Ch] (add, remove, startLoading): const-ify.
132 (imageReady): move the signal into the Impl class.
133 (connect): new method, enabling a listener to connect to this signal.
134 (emitSignal): new method, enabling PreviewImage to tell the outside
135 world that the file has been loaded into memory.
137 * Previews.[Ch] (loader, removeLoader, generateBufferPreviews):
141 * GraphicsCacheItem.C:
142 * GraphicsConverter.[Ch]:
144 * GraphicsImageXPM.C:
146 * PreviewLoader.[Ch]: whitespace clean-up.
148 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
150 * PreviewLoader.C (setConverter): remove unused variable
152 * GraphicsImageXPM.C (isDrawable): implement
153 (setPixmap): the opaque color is black, not white
155 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
157 * GraphicsImageXPM.C (color_none_id):
158 (contains_color_none): use ascii_lowercase instead of lowercase
160 2002-07-16 Angus Leeming <leeming@lyx.org>
162 * PreviewLoader.C: greater use of STL algorithms.
164 * Previews.[Ch]: use const in more places.
165 (generateBufferPreviews): now takes a Buffer const & argument, not a
168 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
170 * GraphicsImage.h: remove getPixmap/X, add isDrawable()
172 2002-07-12 Angus Leeming <leeming@lyx.org>
174 * GraphicsLoader.[Ch]: smart loading of images. Images are loaded only
175 if visible 2 secs after the call to load them is first made.
177 * GraphicsSupport.[Ch]: new files. isInsetVisible interrogates the
178 BufferView to ascertain whether the inset is visible or not.
180 * Makefile.am: added GraphicsSupport.[Ch].
182 * PreviewImage.[Ch]: use this smart loader.
184 * PreviewLoader.C: don't load generated image files indiscimminantly.
185 Instead emit the imageReady signal and allow the image owner to decide.
187 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
189 * GraphicsCache.C: remove init_graphics()
191 2002-07-09 Angus Leeming <leeming@lyx.org>
193 * PreviewLoader.C (setAscentFractions): fix bug due to use of integer
194 arithmetic when it should be floating.
196 2002-07-09 Angus Leeming <leeming@lyx.org>
198 * PreviewLoader.C (startLoading): prepend LaTeX file with "\batchmode".
199 Output equation labels as "(#)" if lyxrc preference is set.
200 (setFontScalingFactor): use lyxrc variable preview_scale_factor
201 rather than hard-coding this.
203 2002-07-09 Angus Leeming <leeming@lyx.org>
205 * PreviewLoader.C: Further refactoring of the code. Should now be
208 * PreviewMetrics.[Ch]: removed. Had a v. short shelf life and is now
209 past its sell-by date. The code to read the metrics file is now found
210 as a helper function in PreviewLoader.C.
212 * GraphicsImageXPM.C (scale): use boost::tie.
214 2002-07-08 Herbert Voss <voss@lyx.org>
216 * PreviewLoader.C: use of preview_size_factor to get the right
217 font-size! 0.9 is the default.
219 2002-07-08 Angus Leeming <leeming@lyx.org>
221 * PreviewLoader.C: Add "delayed" and "showlabels" options to the
222 invocation of preview.sty.
223 Perform something of an internal clean-up.
225 2002-07-06 Angus Leeming <leeming@lyx.org>
227 * PreviewLoader.C: ensure that the metrics data is used by the
231 * PreviewImage.C: (Impl d-tor): remove all generated files that still
232 exist (perhaps because the process was curtailed before the images
235 * PreviewLoader.C (unique_filename): store the files in Buffer::tmppath.
237 2002-07-05 Angus Leeming <leeming@lyx.org>
246 * Previews.C: new files. The previewed LaTeX snippet stuff.
248 * Makefile.am: add these files.
250 2002-07-05 Angus Leeming <leeming@lyx.org>
252 * GraphicsLoader.h: whitespace.
254 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
256 * GraphicsImage.[Ch]: newImage and loadableFormats changed to
257 boost::function from boost::signal.
259 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
261 * GraphicsConverter.C (convert): do not use ChangeExtension
262 because to_file_base may contain a dot.
264 2002-06-28 Angus Leeming <leeming@lyx.org>
266 * GraphicsCacheItem.[Ch]: refactor some of the more convoluted logic
267 by moving those SignalPtrs into the grfx::Image and grfx::Converter
268 classes where they really belong.
269 Use the Pimpl idiom to hide the class internals from public view.
271 * GraphicsTypes: remove the typedefs, leaving only the enums.
273 * GraphicsImage.h: now has a finishedLoading signal, as opposed to being
274 passed a reference to one in the load() method.
276 * GraphicsConverter.[Ch]: totally refactored. An instance of
277 grfx::Converter now represents a single conversion process.
278 Thus grfx::CachItem now has a grfx::Converter * that is set when the
279 conversion is initiated and destroyed on completion.
281 * GraphicsCache.[Ch]:
282 * GraphicsCacheItem.[Ch]:
283 * GraphicsConverter.[Ch]:
284 * GraphicsLoader.[Ch]: use the Pimpl idiom to hide the class internals
286 Note that I have done this only after making the above changes,
287 so not only should we have a clean, minimal and well documented
288 interface to these classes in the header files, but the class internals
289 should be much clearer too.
292 grfx::GCache -> grfx::Cache,
293 grfx::GCacheItem -> grfx::CacheItem,
294 grfx::GConverter -> grfx::Converter,
295 grfx::GImage -> grfx::Image,
296 grfx::GImageXPM -> grfx::ImageXPM,
297 grfx::GParams -> grfx::Params.
299 2002-06-26 Angus Leeming <leeming@lyx.org>
301 * GraphicsLoader.[Ch]: use boost::scoped_ptr in preference to
302 std::auto_ptr. Define an empty Loader d-tor out-of-line to ensure it
305 2002-06-26 Angus Leeming <leeming@lyx.org>
307 * GraphicsTypes.h: add "Ready" to the ImageStatus enum.
308 move the DisplayType enum out of grfx::GParams to here.
310 * GraphicsCacheItem.h: re-write preliminary description to reflect
313 * GraphicsParams.[Ch]:
314 * GraphicsImageXPM.C (load, setPixmap): changes aassociated with moving
315 grfx::DisplayType out of grfx::GParams.
317 * GraphicsLoader.[Ch]: new files. Factor out the image loading stuff
318 that was in frontends/screen.C and insets/insetgraphics.C into a
319 single, easy-to-use class.
321 * Makefile.am: add these files.
323 2002-06-25 Angus Leeming <leeming@lyx.org>
325 * GraphicsCache.[Ch]:
326 * GraphicsCacheItem.[Ch]:
327 * GraphicsTypes.h: rewrite the graphics cache to just load a graphics
328 file into memory. The cache no longer controls the generation of the
329 pixmap. Instead, it just emits a signal when the loading status of an
331 The cache no longer stores InsetGraphics pointers and nor does it
332 assume responsibility for modifying an image (scaling, rotating etc).
333 Instead, that must now be performed elsewhere.
335 2002-06-19 Angus Leeming <leeming@lyx.org>
337 * GraphicsConverter.C: add using std::endl directive.
339 2002-06-17 Herbert Voss <voss@lyx.org>
341 * GraphicsCachItem.C: (findTargetFormat)return xpm-format as a
342 default when nothing different was found
343 (convertToDisplayFormat): handle zipped files in the right way and
344 choose always convert as a default converter when no other
345 userdefined was found
347 * GraphicsConverter.C: add more lyxerr comments and choose
348 convert when no other userdefined converter was found
350 2002-06-10 Herbert Voss <voss@lyx.org>
352 * GraphicsImageXPM.C (convertTo7chars): get another special color
353 format from convert work in the right way
355 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
357 * GraphicsCache.C: use right colormap incantation
359 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
361 * GraphicsCache.C: use lyx_gui namespace
363 * GraphicsImageXPM.C: back down to using xforms
366 2002-06-07 Angus Leeming <leeming@lyx.org>
368 Fixes needed to compile with Compaq cxx 6.5.
369 * GraphicsConverter.h: forward declare class ConvProcess.
371 * GraphicsImageXPM.C:
372 all c-library variables have been moved into namespace std.
373 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
375 2002-06-06 Angus Leeming <a.leeming@ic.ac.uk>
377 * GraphicsImageXPM.C (rotate): rotate in the same sense as xdvi!
379 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
381 * GraphicsImageXPM.C: SigC to boot::signals changes.
382 (newImage): fix () bug when using new.
384 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
386 * switch from SigC signals to boost::signals.
388 2002-05-29 André Pönitz <poenitz@gmx.net>
390 * GraphicsParam.C: remove unneeded #include, move vomment
392 2002-05-28 André Pönitz <poenitz@gmx.net>
394 * GraphicsParam.[Ch]: move inset related stuff to inset/insetgraphics
396 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
398 * GraphicsImageXPM.C: ColorHandler moved
400 2002-05-24 Juergen Vigna <jug@sad.it>
403 * GraphicsImage.h: include LString.h first.
405 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
407 * GraphicsCacheItem.h: use more specific smart_ptr header.
408 * GraphicsTypes.h: ditto
409 * GraphicsImage.h: ditto
410 * GraphicsConverter.h: ditto
412 2002-04-28 John Levon <moz@compsoc.man.ac.uk>
414 * GraphicsImageXPM.C: understand convert's use of "opaque"
417 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
419 * GraphicsCache.[Ch] (loadableFormats): new method. A wrapper for
420 GImage::loadableFormats() that ensures that the signal is connected
421 to the derived class' method.
423 2002-04-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
425 * GraphicsImageXPM.C (convertTo7chars): drop all conversions and
426 only work on the string.
428 2002-04-17 Angus Leeming <a.leeming@ic.ac.uk>
430 * GraphicsImageXPM.C (Data::reset): Fix the loading of xpm files by
431 the simple image loader when it encounters colour strings like
434 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
436 * GraphicsCacheItem.C (convertToDisplayFormat):
437 * GraphicsConverter.C (build_script): remove the Alerts when things go
438 wrong as the inset displays the message anyway. Moreover, Alert seems
439 pretty temperamemtal at the moment.
441 2002-04-16 Rob Lahaye <lahaye@users.sourceforge.net>
443 * GraphicsImageXPM.C: fix clipping for boundingbox y-coordinates
445 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
447 * GraphicsCacheItem.C (findTargetFormat): fix bug waiting to bite:
448 a reference to a temp object that's going out of scope...
450 2002-04-09 Herbert Voss <voss@lyx.org>
452 * GraphicsParams.C (BoundingBox c-tor): fix rounding errors by using
453 LyXLength::inBP instead of inPixels.
455 2002-04-10 Herbert Voss <voss@perce.de>
457 * GraphicsCache.[Ch]:
458 * GraphicsCacheItem.[Ch]: add width/height functions from Angus
459 to read the "Bounding Box" from non (e)ps files.
461 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
463 * GraphicsParams.C (c-tor): if clipping, then check the Bounding Box of
464 the EPS file too, to ensure that the clipped Bounding Box is relative
465 to the original. (From Herbert.)
467 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
469 * GraphicsParams.C (BoundingBox c-tor): ensure that the member
470 variables are initialised. Clean-up parsing of the string (with thanks
473 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
475 * GraphicsCacheItem.C (convertToDisplayFormat): don't launch that Alert
476 if the file can't be found.
478 * GraphicsParams.h (c-tor): remove string() as default argument.
480 * GraphicsCacheItem.C: a couple of changes as a result.
482 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
484 * GraphicsCache.[Ch] (update): now passed filepath to determine absolute
485 path to graphics file.
487 * GraphicsParams.[Ch] (c-tor): now passed filepath.
489 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
491 * most files: ws cleanup
493 * Makefile.am: remove ld -r stuff
495 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
497 * Makefile.am: special rules if partial linking
499 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
501 * GraphicsCache.C: use Lars' preferred idiom for a for-loop.
503 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
505 * GraphicsConverter.[Ch] (converted): make first arg const ref.
507 * GraphicsCacheItem.h: doxy change
509 * GraphicsCacheItem.C: ws change
511 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
513 * Makefile.am: if there is no image loading class leveraging the power
514 of the appropriate gui library, then compile the basic alternative
515 found in GraphicsImageXPM.[Ch].
517 2002-03-04 Angus Leeming <a.leeming@ic.ac.uk>
519 * GraphicsCache.C: change associated with move of initialiseGraphics
522 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
524 * GraphicsParams.[Ch]:
526 * GraphicsImageXPM.C: properly resolve more warnings about comparison
527 between signed and unsigned integer expressions.
529 * Makefile.am: add GraphicsTypes.h which I'd carelessly left out.
531 * GraphicsCache.C: move connections to the GImage-derived classes to
534 * GraphicsImageXPM.C (copy c-tor): don't copy pixmap.
536 * GraphicsCacheItem.C (findTargetFormat): if we can load direct without
537 conversion, then do that.
539 2002-02-27 Angus Leeming <a.leeming@ic.ac.uk>
541 * GraphicsCache.C: improve commentary to graphicsInit and where it
544 * GraphicsImageXPM.C (~Data, free_color_table): resolve the crash
545 that became a memory leak properly. (Let the shared_c_ptr free the
547 (reset, mapcolor): tidy up and introduce a work around for XPM files
548 with crappy color entries. Print out a nice friendly message on what's
549 gone wrong and how to resolve it properly.
551 2002-02-27 Angus Leeming <a.leeming@ic.ac.uk>
553 * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
554 (Data d-tor): introduce memory leak temporarily, to "fix" a crash
556 (unique_color_string): use the correct string c-tor.
558 2002-02-15 Angus Leeming <a.leeming@ic.ac.uk>
561 * ImageLoaderXPM.[Ch]: removed.
563 * GraphicsConverter.[Ch]:
564 * GraphicsImage.[Ch]:
565 * GraphicsImageXPM.[Ch]:
566 * GraphicsParams.[Ch]:
567 * GraphicsTypes.h: new files.
569 * All files. A total re-write of the graphics cache. The cache now
570 supports asynchronous file conversion and file loading. Images
571 can be cropped, rotated and scaled for display on the LyX screen.
572 The old LyXImage and ImageLoader have been combined in a new class
573 GImage. Ditto, ImageLoaderXPM's functionality has been moved into
576 2002-02-07 Herbert Voss <voss@lyx.org>
578 * GraphicsCacheItem.C: use unzipFile() from support/filetools
580 2002-01-31 Herbert Voss <voss@lyx.org>
582 * GraphicsCacheItem.h: handle filetype without the file extension;
583 getting type from contents; handle zipped files
585 2002-01-27 Herbert Voss <voss@lyx.org>
587 * GraphicsCacheItem.h: added Converting to the ImageStatus enum.
589 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
591 * ImageLoaderXPM.C: don't set XpmColorKey flag if we don't use it
593 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
595 * GraphicsCacheItem.h: do not include <config.h> in header files
597 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
599 * ImageLoaderXPM.C (runImageLoader): If the pixmap contains a
600 transparent colour, then set it to the colour of the background.
601 Also take account of the monochrome, grayscale of color
604 2001-09-20 Angus Leeming <a.leeming@ic.ac.uk>
606 * GraphicsCacheItem.C (convertImage): only convert if "from" and "to"
607 are different. Thus, don't delete the "to" if it's the original!
609 2001-09-01 John Levon <moz@compsoc.man.ac.uk>
611 * ImageLoadXPM.C: remove setting of alloc colour mask,
612 led to crash as we don't define a callback
614 2001-07-29 Baruch Even <baruch@lyx.org>
616 * ImageLoaderXPM.C (runImageLoader): When loading agree to use non-exact
617 colors with closeness of 10000.
619 * GraphicsCacheItem.C: Fixed a compilation bug introduced earlier.
621 2001-07-29 Baruch Even <baruch@lyx.org>
623 * GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
626 2001-07-23 Baruch Even <baruch@lyx.org>
628 * GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading
629 the image after conversion.
631 2001-07-17 Baruch Even <baruch@lyx.org>
633 * GraphicsCacheItem.h:
634 * GraphicsCacheItem.C: Shuffled things a bit to make it easier to switch
635 from synchronous to asynchronous and to ease the coming changes.
637 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
639 * ImageLoaderXPM.C (runImageLoader): get display information from
642 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
645 * GraphicsCacheItem.C:
647 * ImageLoaderXPM.C: removed // -*- C++ -*- as first line.
649 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
651 * GraphicsCache.h: inherit privately from noncopyable
652 * ImageLoader.h: ditto
653 * GraphicsCacheItem.h: ditto
655 2001-04-16 Allan Rae <rae@lyx.org>
657 * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun
658 CC 6.0 as an unrecognised preprocessor directive. So ensure they're
661 2001-04-02 Baruch Even <baruch@lyx.org>
663 * GraphicsCacheItem.[Ch]: Changed to used the Converter class instead
664 of hard coding ImageMagick.
666 2001-03-10 Baruch Even <baruch@lyx.org>
668 * GraphicsCache.C: Style change from (*it).field to it->field
670 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
672 * GraphicsCache.h: noncopyable is in namespace boost
673 * ImageLoader.h: ditto
674 * GraphicsCacheItem.h: ditto
676 2001-03-07 Baruch Even <baruch@lyx.org>
678 * GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
679 was false and it's not needed anyhow since the shared_ptr's in the cache
680 will destroy everything on exit.
682 2001-02-28 Baruch Even <baruch@ev-en.org>
685 * GraphicsCache.C: Changed the singleton pattern implementation, the
686 former version "leaked" in the sense that it was not deallocated at
689 2001-02-20 Baruch Even <baruch@ev-en.org>
691 * GraphicsCache.C: Changed to use shared_ptr<GraphicsCacheItem>
692 instead of a pure pointer.
694 * GraphicsCacheItem.[Ch]:
695 * GraphicsCacheItem_pimpl.[Ch]: Collapsed them into GraphicsCacheItem,
696 removed the reference counting that was inside. Also fixed a bug where
697 a temporary file wouldn't get erased.
699 * ImageLoader.[Ch]: Changed the semantics of the image_ pointers usage.
700 Ownership is now dropped when the caller requests the image_ pointer.
702 2001-02-20 Baruch Even <baruch@ev-en.org>
704 * GraphicsCache.C: Cleared up the confusion on when and how it is
707 * GraphicsCacheItem.C: Indentation change.
709 * GraphicsCacheItem_pimpl.C: Fixed the loading logic so that it will
710 figure correctly when the image has been loaded successfully.
712 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
714 * ImageLoader.C: add a "using" directive.
716 * ImageLoader.h: remove extra comma at the end of enum; add an
717 std:: qualifier for vector.
719 2001-01-21 Baruch Even <baruch@ev-en.org>
721 * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
722 height in the image itself and minor cleanups.
724 * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
725 new ImageLoader class instead of the older Renderer class. This
726 means change of responsibilities.