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