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