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