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