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