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