1 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
3 * Makefile.am: if there is no image loading class leveraging the power
4 of the appropriate gui library, then compile the basic alternative
5 found in GraphicsImageXPM.[Ch].
7 2002-03-04 Angus Leeming <a.leeming@ic.ac.uk>
9 * GraphicsCache.C: change associated with move of initialiseGraphics
12 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
14 * GraphicsParams.[Ch]:
16 * GraphicsImageXPM.C: properly resolve more warnings about comparison
17 between signed and unsigned integer expressions.
19 * Makefile.am: add GraphicsTypes.h which I'd carelessly left out.
21 * GraphicsCache.C: move connections to the GImage-derived classes to
24 * GraphicsImageXPM.C (copy c-tor): don't copy pixmap.
26 * GraphicsCacheItem.C (findTargetFormat): if we can load direct without
27 conversion, then do that.
29 2002-02-27 Angus Leeming <a.leeming@ic.ac.uk>
31 * GraphicsCache.C: improve commentary to graphicsInit and where it
34 * GraphicsImageXPM.C (~Data, free_color_table): resolve the crash
35 that became a memory leak properly. (Let the shared_c_ptr free the
37 (reset, mapcolor): tidy up and introduce a work around for XPM files
38 with crappy color entries. Print out a nice friendly message on what's
39 gone wrong and how to resolve it properly.
41 2002-02-27 Angus Leeming <a.leeming@ic.ac.uk>
43 * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
44 (Data d-tor): introduce memory leak temporarily, to "fix" a crash
46 (unique_color_string): use the correct string c-tor.
48 2002-02-15 Angus Leeming <a.leeming@ic.ac.uk>
51 * ImageLoaderXPM.[Ch]: removed.
53 * GraphicsConverter.[Ch]:
55 * GraphicsImageXPM.[Ch]:
56 * GraphicsParams.[Ch]:
57 * GraphicsTypes.h: new files.
59 * All files. A total re-write of the graphics cache. The cache now
60 supports asynchronous file conversion and file loading. Images
61 can be cropped, rotated and scaled for display on the LyX screen.
62 The old LyXImage and ImageLoader have been combined in a new class
63 GImage. Ditto, ImageLoaderXPM's functionality has been moved into
66 2002-02-07 Herbert Voss <voss@lyx.org>
68 * GraphicsCacheItem.C: use unzipFile() from support/filetools
70 2002-01-31 Herbert Voss <voss@lyx.org>
72 * GraphicsCacheItem.h: handle filetype without the file extension;
73 getting type from contents; handle zipped files
75 2002-01-27 Herbert Voss <voss@lyx.org>
77 * GraphicsCacheItem.h: added Converting to the ImageStatus enum.
79 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
81 * ImageLoaderXPM.C: don't set XpmColorKey flag if we don't use it
83 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
85 * GraphicsCacheItem.h: do not include <config.h> in header files
87 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
89 * ImageLoaderXPM.C (runImageLoader): If the pixmap contains a
90 transparent colour, then set it to the colour of the background.
91 Also take account of the monochrome, grayscale of color
94 2001-09-20 Angus Leeming <a.leeming@ic.ac.uk>
96 * GraphicsCacheItem.C (convertImage): only convert if "from" and "to"
97 are different. Thus, don't delete the "to" if it's the original!
99 2001-09-01 John Levon <moz@compsoc.man.ac.uk>
101 * ImageLoadXPM.C: remove setting of alloc colour mask,
102 led to crash as we don't define a callback
104 2001-07-29 Baruch Even <baruch@lyx.org>
106 * ImageLoaderXPM.C (runImageLoader): When loading agree to use non-exact
107 colors with closeness of 10000.
109 * GraphicsCacheItem.C: Fixed a compilation bug introduced earlier.
111 2001-07-29 Baruch Even <baruch@lyx.org>
113 * GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
116 2001-07-23 Baruch Even <baruch@lyx.org>
118 * GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading
119 the image after conversion.
121 2001-07-17 Baruch Even <baruch@lyx.org>
123 * GraphicsCacheItem.h:
124 * GraphicsCacheItem.C: Shuffled things a bit to make it easier to switch
125 from synchronous to asynchronous and to ease the coming changes.
127 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
129 * ImageLoaderXPM.C (runImageLoader): get display information from
132 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
135 * GraphicsCacheItem.C:
137 * ImageLoaderXPM.C: removed // -*- C++ -*- as first line.
139 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
141 * GraphicsCache.h: inherit privately from noncopyable
142 * ImageLoader.h: ditto
143 * GraphicsCacheItem.h: ditto
145 2001-04-16 Allan Rae <rae@lyx.org>
147 * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun
148 CC 6.0 as an unrecognised preprocessor directive. So ensure they're
151 2001-04-02 Baruch Even <baruch@lyx.org>
153 * GraphicsCacheItem.[Ch]: Changed to used the Converter class instead
154 of hard coding ImageMagick.
156 2001-03-10 Baruch Even <baruch@lyx.org>
158 * GraphicsCache.C: Style change from (*it).field to it->field
160 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
162 * GraphicsCache.h: noncopyable is in namespace boost
163 * ImageLoader.h: ditto
164 * GraphicsCacheItem.h: ditto
166 2001-03-07 Baruch Even <baruch@lyx.org>
168 * GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
169 was false and it's not needed anyhow since the shared_ptr's in the cache
170 will destroy everything on exit.
172 2001-02-28 Baruch Even <baruch@ev-en.org>
175 * GraphicsCache.C: Changed the singleton pattern implementation, the
176 former version "leaked" in the sense that it was not deallocated at
179 2001-02-20 Baruch Even <baruch@ev-en.org>
181 * GraphicsCache.C: Changed to use shared_ptr<GraphicsCacheItem>
182 instead of a pure pointer.
184 * GraphicsCacheItem.[Ch]:
185 * GraphicsCacheItem_pimpl.[Ch]: Collapsed them into GraphicsCacheItem,
186 removed the reference counting that was inside. Also fixed a bug where
187 a temporary file wouldn't get erased.
189 * ImageLoader.[Ch]: Changed the semantics of the image_ pointers usage.
190 Ownership is now dropped when the caller requests the image_ pointer.
192 2001-02-20 Baruch Even <baruch@ev-en.org>
194 * GraphicsCache.C: Cleared up the confusion on when and how it is
197 * GraphicsCacheItem.C: Indentation change.
199 * GraphicsCacheItem_pimpl.C: Fixed the loading logic so that it will
200 figure correctly when the image has been loaded successfully.
202 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
204 * ImageLoader.C: add a "using" directive.
206 * ImageLoader.h: remove extra comma at the end of enum; add an
207 std:: qualifier for vector.
209 2001-01-21 Baruch Even <baruch@ev-en.org>
211 * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
212 height in the image itself and minor cleanups.
214 * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
215 new ImageLoader class instead of the older Renderer class. This
216 means change of responsibilities.