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