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