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