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