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