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