]> git.lyx.org Git - features.git/blob - src/graphics/ChangeLog
ddf0b89cea84ec94cd0462cc7202433565d4c018
[features.git] / src / graphics / ChangeLog
1 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2
3         * PreviewLoader.C (startLoading): use LibScriptSearch to find the
4         preview converter script
5
6 2002-07-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7
8         * GraphicsCacheItem.C (reset): use erase() instead of clear() for
9         strings 
10
11 2002-07-18  Angus Leeming  <leeming@lyx.org>
12
13         * GraphicsCacheItem.[Ch]: add a FileMonitor variable to the the Impl
14         class.
15         (startMonitoring, monitoring, checksum): new methods to interact with
16         the FileMonitor.
17
18         * GraphicsLoader.[Ch] (startMonitoring, monitoring, checksum): new
19         methods invoking the CacheItem methods of the same name.
20         (resetFile): if monitoring and the file changes, start monitoring this
21         new file.
22
23 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
24
25         * Makefile.am: remove FileMonitor.[Ch]
26
27 2002-06-17  Herbert Voss  <voss@lyx.org>
28
29         * GraphicsCachItem.C (findTargetFormat): remove the speciell case
30         for old ps-files (Garst). It's now handled by defining a converter and
31         disabling the ps-support of xforms.
32
33 2002-07-17  Angus Leeming  <leeming@lyx.org>
34
35         Be true to the Pimpl idiom, moving all signals into the respective
36         Impl classes and defining methods to connect them to an outside slot.
37         Const-ify all visible class methods as they act only on a const pimpl_.
38
39         * GraphicsCache.[Ch] (add, remove): const-ify.
40
41         * GraphicsCacheItem.[Ch] (startLoading): const-ify.
42         (statusChanged): move the signal into the Impl class.
43         (connect): new method, enabling a listener to connect to this signal.
44
45         * GraphicsConverter.[Ch]: (startConversion): const-ify.
46         (finishedConversion): move the signal into the Impl class.
47         (connect): new method, enabling a listener to connect to this signal.
48         
49         * GraphicsLoader.[Ch] (reset, startLoading): const-ify.
50         (statusChanged): move the signal into the Impl class.
51         (connect): new method, enabling a listener to connect to this signal.
52
53         * PreviewLoader.[Ch] (add, remove, startLoading): const-ify.
54         (imageReady): move the signal into the Impl class.
55         (connect): new method, enabling a listener to connect to this signal.
56         (emitSignal): new method, enabling PreviewImage to tell the outside
57         world that the file has been loaded into memory.
58
59         * Previews.[Ch] (loader, removeLoader, generateBufferPreviews):
60         const-ify.
61
62         * GraphicsCache.C:
63         * GraphicsCacheItem.C:
64         * GraphicsConverter.[Ch]:
65         * GraphicsImage.h:
66         * GraphicsImageXPM.C:
67         * GraphicsLoader.C:
68         * PreviewLoader.[Ch]: whitespace clean-up.
69
70 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
71
72         * PreviewLoader.C (setConverter): remove unused variable
73
74         * GraphicsImageXPM.C (isDrawable): implement
75         (setPixmap): the opaque color is black, not white
76
77 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
78
79         * GraphicsImageXPM.C (color_none_id):
80         (contains_color_none): use ascii_lowercase instead of lowercase
81
82 2002-07-16  Angus Leeming  <leeming@lyx.org>
83
84         * PreviewLoader.C: greater use of STL algorithms.
85
86         * Previews.[Ch]: use const in more places.
87         (generateBufferPreviews): now takes a Buffer const & argument, not a
88         pointer.
89  
90 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
91
92         * GraphicsImage.h: remove getPixmap/X, add isDrawable()
93  
94 2002-07-12  Angus Leeming  <leeming@lyx.org>
95
96         * GraphicsLoader.[Ch]: smart loading of images. Images are loaded only
97         if visible 2 secs after the call to load them is first made.
98
99         * GraphicsSupport.[Ch]: new files. isInsetVisible interrogates the
100         BufferView to ascertain whether the inset is visible or not.
101
102         * Makefile.am: added GraphicsSupport.[Ch].
103
104         * PreviewImage.[Ch]: use this smart loader.
105
106         * PreviewLoader.C: don't load generated image files indiscimminantly.
107         Instead emit the imageReady signal and allow the image owner to decide.
108
109 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
110
111         * GraphicsCache.C: remove init_graphics()
112  
113 2002-07-09  Angus Leeming  <leeming@lyx.org>
114
115         * PreviewLoader.C (setAscentFractions): fix bug due to use of integer
116         arithmetic when it should be floating.
117
118 2002-07-09  Angus Leeming  <leeming@lyx.org>
119
120         * PreviewLoader.C (startLoading): prepend LaTeX file with "\batchmode".
121         Output equation labels as "(#)" if lyxrc preference is set.
122         (setFontScalingFactor): use lyxrc variable preview_scale_factor
123         rather than hard-coding this.
124
125 2002-07-09  Angus Leeming  <leeming@lyx.org>
126
127         * PreviewLoader.C: Further refactoring of the code. Should now be
128         pretty clean.
129
130         * PreviewMetrics.[Ch]: removed. Had a v. short shelf life and is now
131         past its sell-by date. The code to read the metrics file is now found
132         as a helper function in PreviewLoader.C.
133
134         * GraphicsImageXPM.C (scale): use boost::tie.
135
136 2002-07-08  Herbert Voss  <voss@lyx.org>
137
138         * PreviewLoader.C: use of preview_size_factor to get the right
139         font-size! 0.9 is the default.
140
141 2002-07-08  Angus Leeming  <leeming@lyx.org>
142
143         * PreviewLoader.C: Add "delayed" and "showlabels" options to the
144         invocation of preview.sty.
145         Perform something of an internal clean-up.
146
147 2002-07-06  Angus Leeming  <leeming@lyx.org>
148
149         * PreviewLoader.C: ensure that the metrics data is used by the
150         correct image!
151
152         * PreviewLoader.C:
153         * PreviewImage.C: (Impl d-tor): remove all generated files that still
154         exist (perhaps because the process was curtailed before the images
155         were loaded.)
156
157         * PreviewLoader.C (unique_filename): store the files in Buffer::tmppath.
158
159 2002-07-05  Angus Leeming  <leeming@lyx.org>
160
161         * PreviewImage.h:
162         * PreviewImage.C:
163         * PreviewLoader.h:
164         * PreviewLoader.C:
165         * PreviewMetrics.h:
166         * PreviewMetrics.C:
167         * Previews.h:
168         * Previews.C: new files. The previewed LaTeX snippet stuff.
169
170         * Makefile.am: add these files.
171
172 2002-07-05  Angus Leeming  <leeming@lyx.org>
173
174         * GraphicsLoader.h: whitespace.
175
176 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
177
178         * GraphicsImage.[Ch]: newImage and loadableFormats changed to
179         boost::function from boost::signal.
180
181 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
182
183         * GraphicsConverter.C (convert): do not use ChangeExtension
184         because to_file_base may contain a dot.
185
186 2002-06-28  Angus Leeming  <leeming@lyx.org>
187
188         * GraphicsCacheItem.[Ch]: refactor some of the more convoluted logic
189         by moving those SignalPtrs into the grfx::Image and grfx::Converter
190         classes where they really belong.
191         Use the Pimpl idiom to hide the class internals from public view.
192
193         * GraphicsTypes: remove the typedefs, leaving only the enums.
194
195         * GraphicsImage.h: now has a finishedLoading signal, as opposed to being
196         passed a reference to one in the load() method.
197
198         * GraphicsConverter.[Ch]: totally refactored. An instance of
199         grfx::Converter now represents a single conversion process.
200         Thus grfx::CachItem now has a grfx::Converter * that is set when the
201         conversion is initiated and destroyed on completion.
202
203         * GraphicsCache.[Ch]:
204         * GraphicsCacheItem.[Ch]:
205         * GraphicsConverter.[Ch]:
206         * GraphicsLoader.[Ch]: use the Pimpl idiom to hide the class internals
207         from public view.
208         Note that I have done this only after making the above changes,
209         so not only should we have a clean, minimal and well documented
210         interface to these classes in the header files, but the class internals
211         should be much clearer too.
212
213         * Renamed classes
214         grfx::GCache -> grfx::Cache,
215         grfx::GCacheItem -> grfx::CacheItem,
216         grfx::GConverter -> grfx::Converter,
217         grfx::GImage -> grfx::Image,
218         grfx::GImageXPM -> grfx::ImageXPM,
219         grfx::GParams -> grfx::Params.
220
221 2002-06-26  Angus Leeming  <leeming@lyx.org>
222
223         * GraphicsLoader.[Ch]: use boost::scoped_ptr in preference to
224         std::auto_ptr. Define an empty Loader d-tor out-of-line to ensure it
225         compiles.
226
227 2002-06-26  Angus Leeming  <leeming@lyx.org>
228
229         * GraphicsTypes.h: add "Ready" to the ImageStatus enum.
230         move the DisplayType enum out of grfx::GParams to here.
231
232         * GraphicsCacheItem.h: re-write preliminary description to reflect
233         current reality.
234
235         * GraphicsParams.[Ch]:
236         * GraphicsImageXPM.C (load, setPixmap): changes aassociated with moving
237         grfx::DisplayType out of grfx::GParams.
238
239         * GraphicsLoader.[Ch]: new files. Factor out the image loading stuff
240         that was in frontends/screen.C and insets/insetgraphics.C into a
241         single, easy-to-use class.
242
243         * Makefile.am: add these files.
244
245 2002-06-25  Angus Leeming  <leeming@lyx.org>
246
247         * GraphicsCache.[Ch]:
248         * GraphicsCacheItem.[Ch]:
249         * GraphicsTypes.h: rewrite the graphics cache to just load a graphics
250         file into memory. The cache no longer controls the generation of the
251         pixmap. Instead, it just emits a signal when the loading status of an
252         image changes.
253         The cache no longer stores InsetGraphics pointers and nor does it
254         assume responsibility for modifying an image (scaling, rotating etc).
255         Instead, that must now be performed elsewhere.
256
257 2002-06-19  Angus Leeming  <leeming@lyx.org>
258
259         * GraphicsConverter.C: add using std::endl directive.
260
261 2002-06-17  Herbert Voss  <voss@lyx.org>
262
263         * GraphicsCachItem.C: (findTargetFormat)return xpm-format as a
264         default when nothing different was found
265         (convertToDisplayFormat): handle zipped files in the right way and
266         choose always convert as a default converter when no other
267         userdefined was found
268
269         * GraphicsConverter.C: add more lyxerr comments and choose
270         convert when no other userdefined converter was found
271
272 2002-06-10  Herbert Voss  <voss@lyx.org>
273
274         * GraphicsImageXPM.C (convertTo7chars): get another special color
275         format from convert work in the right way
276
277 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
278
279         * GraphicsCache.C: use right colormap incantation
280
281 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
282
283         * GraphicsCache.C: use lyx_gui namespace
284
285         * GraphicsImageXPM.C: back down to using xforms
286           directly again
287
288 2002-06-07  Angus Leeming  <leeming@lyx.org>
289
290         Fixes needed to compile with Compaq cxx 6.5.
291         * GraphicsConverter.h: forward declare class ConvProcess.
292
293         * GraphicsImageXPM.C:
294         all c-library variables have been moved into namespace std.
295         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
296
297 2002-06-06  Angus Leeming  <a.leeming@ic.ac.uk>
298
299         * GraphicsImageXPM.C (rotate): rotate in the same sense as xdvi!
300
301 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
302
303         * GraphicsImageXPM.C: SigC to boot::signals changes.
304         (newImage): fix () bug when using new.
305
306 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
307
308         * switch from SigC signals to boost::signals.
309
310 2002-05-29  André Pönitz <poenitz@gmx.net>
311
312         * GraphicsParam.C: remove unneeded #include, move vomment
313
314 2002-05-28  André Pönitz <poenitz@gmx.net>
315
316         * GraphicsParam.[Ch]: move inset related stuff to inset/insetgraphics
317
318 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
319
320         * GraphicsImageXPM.C: ColorHandler moved
321
322 2002-05-24  Juergen Vigna  <jug@sad.it>
323
324         * GraphicsCache.h:
325         * GraphicsImage.h: include LString.h first.
326
327 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
328
329         * GraphicsCacheItem.h: use more specific smart_ptr header.
330         * GraphicsTypes.h: ditto
331         * GraphicsImage.h: ditto
332         * GraphicsConverter.h: ditto
333
334 2002-04-28  John Levon  <moz@compsoc.man.ac.uk>
335
336         * GraphicsImageXPM.C: understand convert's use of "opaque"
337           as a colour name
338
339 2002-04-19  Marco Morandini <morandini@aero.polimi.it>
340
341         * GraphicsCache.[Ch] (loadableFormats): new method. A wrapper for
342         GImage::loadableFormats() that ensures that the signal is connected
343         to the derived class' method.
344
345 2002-04-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
346
347         * GraphicsImageXPM.C (convertTo7chars): drop all conversions and
348         only work on the string.
349
350 2002-04-17  Angus Leeming  <a.leeming@ic.ac.uk>
351
352         * GraphicsImageXPM.C (Data::reset): Fix the loading of xpm files by
353         the simple image loader when it encounters colour strings like
354         #rrrrggggbbbb.
355
356 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
357
358         * GraphicsCacheItem.C (convertToDisplayFormat):
359         * GraphicsConverter.C (build_script): remove the Alerts when things go
360         wrong as the inset displays the message anyway. Moreover, Alert seems
361         pretty temperamemtal at the moment.
362
363 2002-04-16  Rob Lahaye  <lahaye@users.sourceforge.net>
364
365         * GraphicsImageXPM.C: fix clipping for boundingbox y-coordinates
366
367 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
368
369         * GraphicsCacheItem.C (findTargetFormat): fix bug waiting to bite:
370         a reference to a temp object that's going out of scope...
371
372 2002-04-09  Herbert Voss  <voss@lyx.org>
373
374         * GraphicsParams.C (BoundingBox c-tor): fix rounding errors by using
375         LyXLength::inBP instead of inPixels.
376
377 2002-04-10  Herbert Voss  <voss@perce.de>
378
379         * GraphicsCache.[Ch]:
380         * GraphicsCacheItem.[Ch]: add width/height functions from Angus
381         to read the "Bounding Box" from non (e)ps files.
382
383 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
384
385         * GraphicsParams.C (c-tor): if clipping, then check the Bounding Box of
386         the EPS file too, to ensure that the clipped Bounding Box is relative
387         to the original. (From Herbert.)
388
389 2002-04-04  Angus Leeming  <a.leeming@ic.ac.uk>
390
391         * GraphicsParams.C (BoundingBox c-tor): ensure that the member
392         variables are initialised. Clean-up parsing of the string (with thanks
393         to Herbert.)
394
395 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
396
397         * GraphicsCacheItem.C (convertToDisplayFormat): don't launch that Alert
398         if the file can't be found.
399
400         * GraphicsParams.h (c-tor): remove string() as default argument.
401
402         * GraphicsCacheItem.C: a couple of changes as a result.
403
404 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
405
406         * GraphicsCache.[Ch] (update): now passed filepath to determine absolute
407         path to graphics file.
408
409         * GraphicsParams.[Ch] (c-tor): now passed filepath.
410
411 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
412
413         * most files: ws cleanup
414
415         * Makefile.am: remove ld -r stuff
416
417 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
418
419         * Makefile.am: special rules if partial linking
420
421 2002-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
422
423         * GraphicsCache.C: use Lars' preferred idiom for a for-loop.
424
425 2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
426
427         * GraphicsConverter.[Ch] (converted): make first arg const ref.
428
429         * GraphicsCacheItem.h: doxy change
430
431         * GraphicsCacheItem.C: ws change
432
433 2002-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
434
435         * Makefile.am: if there is no image loading class leveraging the power
436         of the appropriate gui library, then compile the basic alternative
437         found in GraphicsImageXPM.[Ch].
438
439 2002-03-04  Angus Leeming  <a.leeming@ic.ac.uk>
440
441         * GraphicsCache.C: change associated with move of initialiseGraphics
442         to GUIRuntime.
443
444 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
445
446         * GraphicsParams.[Ch]:
447         * GraphicsImage.C:
448         * GraphicsImageXPM.C: properly resolve more warnings about comparison
449         between signed and unsigned integer expressions.
450
451         * Makefile.am: add GraphicsTypes.h which I'd carelessly left out.
452
453         * GraphicsCache.C: move connections to the GImage-derived classes to
454         the frontends.
455
456         * GraphicsImageXPM.C (copy c-tor): don't copy pixmap.
457
458         * GraphicsCacheItem.C (findTargetFormat): if we can load direct without
459         conversion, then do that.
460
461 2002-02-27  Angus Leeming  <a.leeming@ic.ac.uk>
462
463         * GraphicsCache.C: improve commentary to graphicsInit and where it
464         should really go.
465
466         * GraphicsImageXPM.C (~Data, free_color_table): resolve the crash
467         that became a memory leak properly. (Let the shared_c_ptr free the
468         color table.)
469         (reset, mapcolor): tidy up and introduce a work around for XPM files
470         with crappy color entries. Print out a nice friendly message on what's
471         gone wrong and how to resolve it properly.
472
473 2002-02-27  Angus Leeming  <a.leeming@ic.ac.uk>
474
475         * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
476         (Data d-tor): introduce memory leak temporarily, to "fix" a crash
477         in free_color_table.
478         (unique_color_string): use the correct string c-tor.
479
480 2002-02-15  Angus Leeming  <a.leeming@ic.ac.uk>
481
482         * ImageLoader.[Ch]:
483         * ImageLoaderXPM.[Ch]: removed.
484
485         * GraphicsConverter.[Ch]:
486         * GraphicsImage.[Ch]:
487         * GraphicsImageXPM.[Ch]:
488         * GraphicsParams.[Ch]:
489         * GraphicsTypes.h: new files.
490
491         * All files. A total re-write of the graphics cache. The cache now
492         supports asynchronous file conversion and file loading. Images
493         can be cropped, rotated and scaled for display on the LyX screen.
494         The old LyXImage and ImageLoader have been combined in a new class
495         GImage. Ditto, ImageLoaderXPM's functionality has been moved into
496         GImageXPM.
497
498 2002-02-07  Herbert Voss  <voss@lyx.org>
499
500         * GraphicsCacheItem.C: use unzipFile() from support/filetools
501
502 2002-01-31  Herbert Voss  <voss@lyx.org>
503
504         * GraphicsCacheItem.h: handle filetype without the file extension;
505         getting type from contents; handle zipped files
506
507 2002-01-27  Herbert Voss  <voss@lyx.org>
508
509         * GraphicsCacheItem.h: added Converting to the ImageStatus enum.
510
511 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
512
513         * ImageLoaderXPM.C: don't set XpmColorKey flag if we don't use it
514
515 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
516
517         * GraphicsCacheItem.h: do not include <config.h> in header files
518
519 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
520
521         * ImageLoaderXPM.C (runImageLoader): If the pixmap contains a
522         transparent colour, then set it to the colour of the background.
523         Also take account of the monochrome, grayscale of color
524         preferences option.
525
526 2001-09-20  Angus Leeming  <a.leeming@ic.ac.uk>
527
528         * GraphicsCacheItem.C (convertImage): only convert if "from" and "to"
529         are different. Thus, don't delete the "to" if it's the original!
530
531 2001-09-01  John Levon  <moz@compsoc.man.ac.uk>
532
533         * ImageLoadXPM.C: remove setting of alloc colour mask,
534           led to crash as we don't define a callback
535
536 2001-07-29  Baruch Even  <baruch@lyx.org>
537
538         * ImageLoaderXPM.C (runImageLoader): When loading agree to use non-exact
539         colors with closeness of 10000.
540
541         * GraphicsCacheItem.C: Fixed a compilation bug introduced earlier.
542
543 2001-07-29  Baruch Even  <baruch@lyx.org>
544
545         * GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
546         too annoying.
547
548 2001-07-23  Baruch Even  <baruch@lyx.org>
549
550         * GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading
551         the image after conversion.
552
553 2001-07-17  Baruch Even  <baruch@lyx.org>
554
555         * GraphicsCacheItem.h:
556         * GraphicsCacheItem.C: Shuffled things a bit to make it easier to switch
557         from synchronous to asynchronous and to ease the coming changes.
558
559 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
560
561         * ImageLoaderXPM.C (runImageLoader): get display information from
562         GUIRunTime.
563
564 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
565
566         * GraphicsCache.C:
567         * GraphicsCacheItem.C:
568         * ImageLoader.C:
569         * ImageLoaderXPM.C: removed // -*- C++ -*- as first line.
570
571 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
572
573         * GraphicsCache.h: inherit privately from noncopyable
574         * ImageLoader.h: ditto
575         * GraphicsCacheItem.h: ditto
576
577 2001-04-16  Allan Rae  <rae@lyx.org>
578
579         * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun
580         CC 6.0 as an unrecognised preprocessor directive.  So ensure they're
581         wrapped.
582
583 2001-04-02  Baruch Even  <baruch@lyx.org>
584
585         * GraphicsCacheItem.[Ch]: Changed to used the Converter class instead
586         of hard coding ImageMagick.
587
588 2001-03-10  Baruch Even  <baruch@lyx.org>
589
590         * GraphicsCache.C: Style change from (*it).field to it->field
591
592 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
593
594         * GraphicsCache.h: noncopyable is in namespace boost
595         * ImageLoader.h: ditto
596         * GraphicsCacheItem.h: ditto
597
598 2001-03-07  Baruch Even  <baruch@lyx.org>
599
600         * GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
601         was false and it's not needed anyhow since the shared_ptr's in the cache
602         will destroy everything on exit.
603
604 2001-02-28  Baruch Even  <baruch@ev-en.org>
605
606         * GraphicsCache.h:
607         * GraphicsCache.C: Changed the singleton pattern implementation, the
608         former version "leaked" in the sense that it was not deallocated at
609         program end.
610
611 2001-02-20  Baruch Even  <baruch@ev-en.org>
612
613         * GraphicsCache.C: Changed to use shared_ptr<GraphicsCacheItem>
614         instead of a pure pointer.
615
616         * GraphicsCacheItem.[Ch]:
617         * GraphicsCacheItem_pimpl.[Ch]: Collapsed them into GraphicsCacheItem,
618         removed the reference counting that was inside. Also fixed a bug where
619         a temporary file wouldn't get erased.
620
621         * ImageLoader.[Ch]: Changed the semantics of the image_ pointers usage.
622         Ownership is now dropped when the caller requests the image_ pointer.
623
624 2001-02-20  Baruch Even  <baruch@ev-en.org>
625
626         * GraphicsCache.C: Cleared up the confusion on when and how it is
627         emptied.
628
629         * GraphicsCacheItem.C: Indentation change.
630
631         * GraphicsCacheItem_pimpl.C: Fixed the loading logic so that it will
632         figure correctly when the image has been loaded successfully.
633
634 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
635
636         * ImageLoader.C: add a "using" directive.
637
638         * ImageLoader.h: remove extra comma at the end of enum; add an
639         std:: qualifier for vector.
640
641 2001-01-21  Baruch Even  <baruch@ev-en.org>
642
643         * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
644         height in the image itself and minor cleanups.
645
646         * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
647         new ImageLoader class instead of the older Renderer class. This
648         means change of responsibilities.