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