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