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