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