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