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