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