]> git.lyx.org Git - features.git/blob - src/graphics/ChangeLog
af276a35d8a40e904d13f44040ede15abd051ee3
[features.git] / src / graphics / ChangeLog
1 2002-04-16  Rob Lahaye  <lahaye@users.sourceforge.net>
2         * GraphicsImageXPM.C: fix clipping for boundingbox y-coordinates
3
4 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
5
6         * GraphicsCacheItem.C (findTargetFormat): fix bug waiting to bite:
7         a reference to a temp object that's going out of scope...
8
9 2002-04-09  Herbert Voss  <voss@lyx.org>
10
11         * GraphicsParams.C (BoundingBox c-tor): fix rounding errors by using
12         LyXLength::inBP instead of inPixels.
13
14 2002-04-10  Herbert Voss  <voss@perce.de>
15
16         * GraphicsCache.[Ch]:
17         * GraphicsCacheItem.[Ch]: add width/height functions from Angus
18         to read the "Bounding Box" from non (e)ps files.
19
20 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
21
22         * GraphicsParams.C (c-tor): if clipping, then check the Bounding Box of
23         the EPS file too, to ensure that the clipped Bounding Box is relative
24         to the original. (From Herbert.)
25
26 2002-04-04  Angus Leeming  <a.leeming@ic.ac.uk>
27
28         * GraphicsParams.C (BoundingBox c-tor): ensure that the member
29         variables are initialised. Clean-up parsing of the string (with thanks
30         to Herbert.)
31
32 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
33
34         * GraphicsCacheItem.C (convertToDisplayFormat): don't launch that Alert
35         if the file can't be found.
36
37         * GraphicsParams.h (c-tor): remove string() as default argument.
38
39         * GraphicsCacheItem.C: a couple of changes as a result.
40
41 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
42
43         * GraphicsCache.[Ch] (update): now passed filepath to determine absolute
44         path to graphics file.
45
46         * GraphicsParams.[Ch] (c-tor): now passed filepath.
47         
48 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
49
50         * most files: ws cleanup
51
52         * Makefile.am: remove ld -r stuff
53
54 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
55
56         * Makefile.am: special rules if partial linking
57
58 2002-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
59
60         * GraphicsCache.C: use Lars' preferred idiom for a for-loop.
61
62 2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
63
64         * GraphicsConverter.[Ch] (converted): make first arg const ref.
65
66         * GraphicsCacheItem.h: doxy change
67
68         * GraphicsCacheItem.C: ws change
69
70 2002-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
71
72         * Makefile.am: if there is no image loading class leveraging the power
73         of the appropriate gui library, then compile the basic alternative
74         found in GraphicsImageXPM.[Ch].
75
76 2002-03-04  Angus Leeming  <a.leeming@ic.ac.uk>
77
78         * GraphicsCache.C: change associated with move of initialiseGraphics
79         to GUIRuntime.
80
81 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
82
83         * GraphicsParams.[Ch]:
84         * GraphicsImage.C:
85         * GraphicsImageXPM.C: properly resolve more warnings about comparison
86         between signed and unsigned integer expressions.
87
88         * Makefile.am: add GraphicsTypes.h which I'd carelessly left out.
89
90         * GraphicsCache.C: move connections to the GImage-derived classes to
91         the frontends.
92
93         * GraphicsImageXPM.C (copy c-tor): don't copy pixmap.
94
95         * GraphicsCacheItem.C (findTargetFormat): if we can load direct without
96         conversion, then do that.
97
98 2002-02-27  Angus Leeming  <a.leeming@ic.ac.uk>
99
100         * GraphicsCache.C: improve commentary to graphicsInit and where it
101         should really go.
102
103         * GraphicsImageXPM.C (~Data, free_color_table): resolve the crash
104         that became a memory leak properly. (Let the shared_c_ptr free the
105         color table.)
106         (reset, mapcolor): tidy up and introduce a work around for XPM files
107         with crappy color entries. Print out a nice friendly message on what's
108         gone wrong and how to resolve it properly.
109
110 2002-02-27  Angus Leeming  <a.leeming@ic.ac.uk>
111
112         * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
113         (Data d-tor): introduce memory leak temporarily, to "fix" a crash
114         in free_color_table.
115         (unique_color_string): use the correct string c-tor.
116
117 2002-02-15  Angus Leeming  <a.leeming@ic.ac.uk>
118
119         * ImageLoader.[Ch]:
120         * ImageLoaderXPM.[Ch]: removed.
121
122         * GraphicsConverter.[Ch]:
123         * GraphicsImage.[Ch]:
124         * GraphicsImageXPM.[Ch]:
125         * GraphicsParams.[Ch]:
126         * GraphicsTypes.h: new files.
127
128         * All files. A total re-write of the graphics cache. The cache now
129         supports asynchronous file conversion and file loading. Images
130         can be cropped, rotated and scaled for display on the LyX screen.
131         The old LyXImage and ImageLoader have been combined in a new class
132         GImage. Ditto, ImageLoaderXPM's functionality has been moved into
133         GImageXPM.
134
135 2002-02-07  Herbert Voss  <voss@lyx.org>
136
137         * GraphicsCacheItem.C: use unzipFile() from support/filetools
138
139 2002-01-31  Herbert Voss  <voss@lyx.org>
140
141         * GraphicsCacheItem.h: handle filetype without the file extension;
142         getting type from contents; handle zipped files
143
144 2002-01-27  Herbert Voss  <voss@lyx.org>
145
146         * GraphicsCacheItem.h: added Converting to the ImageStatus enum.
147
148 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
149
150         * ImageLoaderXPM.C: don't set XpmColorKey flag if we don't use it
151
152 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
153
154         * GraphicsCacheItem.h: do not include <config.h> in header files
155
156 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
157
158         * ImageLoaderXPM.C (runImageLoader): If the pixmap contains a
159         transparent colour, then set it to the colour of the background.
160         Also take account of the monochrome, grayscale of color
161         preferences option.
162
163 2001-09-20  Angus Leeming  <a.leeming@ic.ac.uk>
164
165         * GraphicsCacheItem.C (convertImage): only convert if "from" and "to"
166         are different. Thus, don't delete the "to" if it's the original!
167
168 2001-09-01  John Levon  <moz@compsoc.man.ac.uk>
169
170         * ImageLoadXPM.C: remove setting of alloc colour mask,
171           led to crash as we don't define a callback
172
173 2001-07-29  Baruch Even  <baruch@lyx.org>
174
175         * ImageLoaderXPM.C (runImageLoader): When loading agree to use non-exact
176         colors with closeness of 10000.
177
178         * GraphicsCacheItem.C: Fixed a compilation bug introduced earlier.
179
180 2001-07-29  Baruch Even  <baruch@lyx.org>
181
182         * GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
183         too annoying.
184
185 2001-07-23  Baruch Even  <baruch@lyx.org>
186
187         * GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading
188         the image after conversion.
189
190 2001-07-17  Baruch Even  <baruch@lyx.org>
191
192         * GraphicsCacheItem.h:
193         * GraphicsCacheItem.C: Shuffled things a bit to make it easier to switch
194         from synchronous to asynchronous and to ease the coming changes.
195
196 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
197
198         * ImageLoaderXPM.C (runImageLoader): get display information from
199         GUIRunTime.
200
201 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
202
203         * GraphicsCache.C:
204         * GraphicsCacheItem.C:
205         * ImageLoader.C:
206         * ImageLoaderXPM.C: removed // -*- C++ -*- as first line.
207
208 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
209
210         * GraphicsCache.h: inherit privately from noncopyable
211         * ImageLoader.h: ditto
212         * GraphicsCacheItem.h: ditto
213
214 2001-04-16  Allan Rae  <rae@lyx.org>
215
216         * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun
217         CC 6.0 as an unrecognised preprocessor directive.  So ensure they're
218         wrapped.
219
220 2001-04-02  Baruch Even  <baruch@lyx.org>
221
222         * GraphicsCacheItem.[Ch]: Changed to used the Converter class instead
223         of hard coding ImageMagick.
224
225 2001-03-10  Baruch Even  <baruch@lyx.org>
226
227         * GraphicsCache.C: Style change from (*it).field to it->field
228
229 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
230
231         * GraphicsCache.h: noncopyable is in namespace boost
232         * ImageLoader.h: ditto
233         * GraphicsCacheItem.h: ditto
234
235 2001-03-07  Baruch Even  <baruch@lyx.org>
236
237         * GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
238         was false and it's not needed anyhow since the shared_ptr's in the cache
239         will destroy everything on exit.
240
241 2001-02-28  Baruch Even  <baruch@ev-en.org>
242
243         * GraphicsCache.h:
244         * GraphicsCache.C: Changed the singleton pattern implementation, the
245         former version "leaked" in the sense that it was not deallocated at
246         program end.
247
248 2001-02-20  Baruch Even  <baruch@ev-en.org>
249
250         * GraphicsCache.C: Changed to use shared_ptr<GraphicsCacheItem>
251         instead of a pure pointer.
252
253         * GraphicsCacheItem.[Ch]:
254         * GraphicsCacheItem_pimpl.[Ch]: Collapsed them into GraphicsCacheItem,
255         removed the reference counting that was inside. Also fixed a bug where
256         a temporary file wouldn't get erased.
257
258         * ImageLoader.[Ch]: Changed the semantics of the image_ pointers usage.
259         Ownership is now dropped when the caller requests the image_ pointer.
260
261 2001-02-20  Baruch Even  <baruch@ev-en.org>
262
263         * GraphicsCache.C: Cleared up the confusion on when and how it is
264         emptied.
265
266         * GraphicsCacheItem.C: Indentation change.
267
268         * GraphicsCacheItem_pimpl.C: Fixed the loading logic so that it will
269         figure correctly when the image has been loaded successfully.
270
271 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
272
273         * ImageLoader.C: add a "using" directive.
274
275         * ImageLoader.h: remove extra comma at the end of enum; add an
276         std:: qualifier for vector.
277
278 2001-01-21  Baruch Even  <baruch@ev-en.org>
279
280         * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
281         height in the image itself and minor cleanups.
282
283         * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
284         new ImageLoader class instead of the older Renderer class. This
285         means change of responsibilities.