]> git.lyx.org Git - lyx.git/blob - src/graphics/ChangeLog
Two little things:
[lyx.git] / src / graphics / ChangeLog
1 2002-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
2
3         * GraphicsCache.C: use Lars' preferred idiom for a for-loop.
4
5 2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6
7         * GraphicsConverter.[Ch] (converted): make first arg const ref.
8
9         * GraphicsCacheItem.h: doxy change
10
11         * GraphicsCacheItem.C: ws change
12
13 2002-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
14
15         * Makefile.am: if there is no image loading class leveraging the power
16         of the appropriate gui library, then compile the basic alternative
17         found in GraphicsImageXPM.[Ch].
18
19 2002-03-04  Angus Leeming  <a.leeming@ic.ac.uk>
20
21         * GraphicsCache.C: change associated with move of initialiseGraphics
22         to GUIRuntime.
23
24 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
25
26         * GraphicsParams.[Ch]:
27         * GraphicsImage.C:
28         * GraphicsImageXPM.C: properly resolve more warnings about comparison
29         between signed and unsigned integer expressions.
30
31         * Makefile.am: add GraphicsTypes.h which I'd carelessly left out.
32
33         * GraphicsCache.C: move connections to the GImage-derived classes to
34         the frontends.
35
36         * GraphicsImageXPM.C (copy c-tor): don't copy pixmap.
37
38         * GraphicsCacheItem.C (findTargetFormat): if we can load direct without
39         conversion, then do that.
40
41 2002-02-27  Angus Leeming  <a.leeming@ic.ac.uk>
42
43         * GraphicsCache.C: improve commentary to graphicsInit and where it
44         should really go.
45
46         * GraphicsImageXPM.C (~Data, free_color_table): resolve the crash
47         that became a memory leak properly. (Let the shared_c_ptr free the
48         color table.)
49         (reset, mapcolor): tidy up and introduce a work around for XPM files
50         with crappy color entries. Print out a nice friendly message on what's
51         gone wrong and how to resolve it properly.
52
53 2002-02-27  Angus Leeming  <a.leeming@ic.ac.uk>
54
55         * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
56         (Data d-tor): introduce memory leak temporarily, to "fix" a crash
57         in free_color_table.
58         (unique_color_string): use the correct string c-tor.
59
60 2002-02-15  Angus Leeming  <a.leeming@ic.ac.uk>
61
62         * ImageLoader.[Ch]:
63         * ImageLoaderXPM.[Ch]: removed.
64
65         * GraphicsConverter.[Ch]:
66         * GraphicsImage.[Ch]:
67         * GraphicsImageXPM.[Ch]:
68         * GraphicsParams.[Ch]:
69         * GraphicsTypes.h: new files.
70
71         * All files. A total re-write of the graphics cache. The cache now
72         supports asynchronous file conversion and file loading. Images
73         can be cropped, rotated and scaled for display on the LyX screen.
74         The old LyXImage and ImageLoader have been combined in a new class
75         GImage. Ditto, ImageLoaderXPM's functionality has been moved into
76         GImageXPM.
77
78 2002-02-07  Herbert Voss  <voss@lyx.org>
79
80         * GraphicsCacheItem.C: use unzipFile() from support/filetools
81
82 2002-01-31  Herbert Voss  <voss@lyx.org>
83
84         * GraphicsCacheItem.h: handle filetype without the file extension;
85         getting type from contents; handle zipped files
86
87 2002-01-27  Herbert Voss  <voss@lyx.org>
88
89         * GraphicsCacheItem.h: added Converting to the ImageStatus enum.
90
91 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
92
93         * ImageLoaderXPM.C: don't set XpmColorKey flag if we don't use it
94  
95 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
96
97         * GraphicsCacheItem.h: do not include <config.h> in header files
98
99 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
100
101         * ImageLoaderXPM.C (runImageLoader): If the pixmap contains a
102         transparent colour, then set it to the colour of the background.
103         Also take account of the monochrome, grayscale of color
104         preferences option.
105
106 2001-09-20  Angus Leeming  <a.leeming@ic.ac.uk>
107
108         * GraphicsCacheItem.C (convertImage): only convert if "from" and "to"
109         are different. Thus, don't delete the "to" if it's the original!
110
111 2001-09-01  John Levon  <moz@compsoc.man.ac.uk>
112
113         * ImageLoadXPM.C: remove setting of alloc colour mask,
114           led to crash as we don't define a callback
115
116 2001-07-29  Baruch Even  <baruch@lyx.org>
117
118         * ImageLoaderXPM.C (runImageLoader): When loading agree to use non-exact
119         colors with closeness of 10000.
120
121         * GraphicsCacheItem.C: Fixed a compilation bug introduced earlier.
122
123 2001-07-29  Baruch Even  <baruch@lyx.org>
124
125         * GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
126         too annoying.
127
128 2001-07-23  Baruch Even  <baruch@lyx.org>
129
130         * GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading
131         the image after conversion.
132
133 2001-07-17  Baruch Even  <baruch@lyx.org>
134
135         * GraphicsCacheItem.h:
136         * GraphicsCacheItem.C: Shuffled things a bit to make it easier to switch
137         from synchronous to asynchronous and to ease the coming changes.
138
139 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
140
141         * ImageLoaderXPM.C (runImageLoader): get display information from
142         GUIRunTime. 
143
144 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
145
146         * GraphicsCache.C:
147         * GraphicsCacheItem.C:
148         * ImageLoader.C:
149         * ImageLoaderXPM.C: removed // -*- C++ -*- as first line.
150
151 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
152
153         * GraphicsCache.h: inherit privately from noncopyable
154         * ImageLoader.h: ditto
155         * GraphicsCacheItem.h: ditto
156
157 2001-04-16  Allan Rae  <rae@lyx.org>
158
159         * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun
160         CC 6.0 as an unrecognised preprocessor directive.  So ensure they're 
161         wrapped. 
162
163 2001-04-02  Baruch Even  <baruch@lyx.org>
164
165         * GraphicsCacheItem.[Ch]: Changed to used the Converter class instead
166         of hard coding ImageMagick.
167
168 2001-03-10  Baruch Even  <baruch@lyx.org>
169
170         * GraphicsCache.C: Style change from (*it).field to it->field
171
172 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
173
174         * GraphicsCache.h: noncopyable is in namespace boost
175         * ImageLoader.h: ditto
176         * GraphicsCacheItem.h: ditto
177
178 2001-03-07  Baruch Even  <baruch@lyx.org>
179
180         * GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
181         was false and it's not needed anyhow since the shared_ptr's in the cache
182         will destroy everything on exit.
183
184 2001-02-28  Baruch Even  <baruch@ev-en.org>
185
186         * GraphicsCache.h:
187         * GraphicsCache.C: Changed the singleton pattern implementation, the
188         former version "leaked" in the sense that it was not deallocated at
189         program end.
190
191 2001-02-20  Baruch Even  <baruch@ev-en.org>
192
193         * GraphicsCache.C: Changed to use shared_ptr<GraphicsCacheItem>
194         instead of a pure pointer.
195
196         * GraphicsCacheItem.[Ch]:
197         * GraphicsCacheItem_pimpl.[Ch]: Collapsed them into GraphicsCacheItem,
198         removed the reference counting that was inside. Also fixed a bug where
199         a temporary file wouldn't get erased.
200
201         * ImageLoader.[Ch]: Changed the semantics of the image_ pointers usage.
202         Ownership is now dropped when the caller requests the image_ pointer.
203
204 2001-02-20  Baruch Even  <baruch@ev-en.org>
205
206         * GraphicsCache.C: Cleared up the confusion on when and how it is
207         emptied.
208
209         * GraphicsCacheItem.C: Indentation change.
210
211         * GraphicsCacheItem_pimpl.C: Fixed the loading logic so that it will
212         figure correctly when the image has been loaded successfully.
213
214 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
215
216         * ImageLoader.C: add a "using" directive.
217
218         * ImageLoader.h: remove extra comma at the end of enum; add an
219         std:: qualifier for vector.
220
221 2001-01-21  Baruch Even  <baruch@ev-en.org>
222
223         * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
224         height in the image itself and minor cleanups.
225
226         * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
227         new ImageLoader class instead of the older Renderer class. This
228         means change of responsibilities.