]> git.lyx.org Git - lyx.git/blob - src/graphics/ChangeLog
InsetOld -> InsetBase renaming
[lyx.git] / src / graphics / ChangeLog
1 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * rename a lot of InsetOld to InsetBase
4
5 2004-11-20  Lars Gullik Bjonnes  <larsbj@gullik.net>
6
7         * GraphicsCache.C: include <map> to fix compilation with boost
8         1.32.0
9
10 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
11
12         * GraphicsCacheItem.C:
13         s/getFormatFromContents/formats.getFormatFromFile/
14
15 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
16
17         * GraphicsCacheItem.C: s/getExtFromContents/getFormatFromContents/
18         * GraphicsImage.h (loadableFormats): correct documentation
19
20 2004-10-01  Angus Leeming  <leeming@lyx.org>
21
22         * GraphicsConverter.C (move_file, build_script): protect
23         shell variables with quotes.
24
25 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
26
27         * pch.h: use proper signal include
28
29         * GraphicsCacheItem.[Ch]: Use preferred calling of Boost.Signal
30         * GraphicsConverter.C: ditto
31         * GraphicsImage.h: ditto
32         * GraphicsLoader.[Ch]: ditto
33         * PreviewLoader.[Ch]: ditto
34
35 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
36
37         * pch.h: include <boost/function.hpp> instead of
38         <boost/function/function0.hpp>
39
40         * GraphicsImage.C: Use preferred calling of boost::function
41         * GraphicsImage.h: ditto
42
43 2004-08-16  José Matos  <jamatos@lyx.org>
44
45         * PreviewLoader.C (Impl::startLoading): remove space at end of line.
46
47 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
48
49         * pch.h: new file
50
51         * Makefile.am: support pch
52
53 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
54
55         * PreviewLoader.C, GraphicsParams.C, GraphicsConverter.C: change
56         "support/std_sstream.h" to <sstream>
57
58 2004-04-19  Angus Leeming  <leeming@lyx.org>
59
60         * Previews.[Ch] (status): new member function, replacing activated.
61
62 2004-04-15  Angus Leeming  <leeming@lyx.org>
63
64         * PreviewLoader.C (startLoading): change arguments passed to the
65         preview-generation script to include the foreground and background
66         colours.
67         (dumpPreamble): no longer write the foreground and background
68         colours to the latex file as PostScript specials.
69         (setConverter): consider only those 'to' formats that are
70         loadable natively by the GUI library, rather than all formats
71         for which a converter exists.
72         (setAscentFractions): re-written to parse much simplified metrics
73         file.
74
75 2004-04-13  Angus Leeming  <leeming@lyx.org>
76
77         * PreviewLoader.C (dumpPreamble):
78         * Previews.C (generateBufferPreviews): re-enable iteration over all
79         insets.
80
81 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
82
83         * GraphicsCacheItem.C (convertToDisplayFormat): unzip zipped files
84         to a temporary file
85         * PreviewLoader.C: use always a temp dir
86         * PreviewLoader.C: check successfull creation of LaTeX file
87
88 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
89
90         * PreviewLoader.C (FindFirst): inherit from std::unary_function
91         and make operator() const
92         (FindSnippet): inherit from unary_function, simplify slightly.
93
94 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
95
96         * GraphicsTypes.C: include <string>
97
98 2003-11-20  Lars Gullik Bjonnes  <larsbj@gullik.net>
99
100         * Previews.C: include paragraph.h
101         * PreviewLoader.C: ditto
102
103 2003-11-05  José Matos  <jamatos@lyx.org>
104
105         * PreviewLoader.C (dumpPreamble): rename ascii to plaintext
106         and LatexRunParams to OutputParams.
107
108 2003-10-22  Angus Leeming  <leeming@lyx.org>
109
110         * PreviewImage.C (statusChanged): always pass on the signal, not just
111         when the preview is ready for display.
112
113 2003-10-22  Angus Leeming  <leeming@lyx.org>
114
115         * GraphicsConverter.C (Impl c-tor): add a warning message if the file
116         to contain the conversion script cannot be opened.
117
118 2003-10-22  Angus Leeming  <leeming@lyx.org>
119
120         * PreviewLoader.C (startLoading): do nothing if the buffer is not yet
121         loaded.
122
123 2003-10-13  Angus Leeming  <leeming@lyx.org>
124
125         * GraphicsTypes.[Ch] (setDisplayTranslator): removed.
126         Make displayTranslator a function,
127
128 2003-10-10  Angus Leeming  <leeming@lyx.org>
129
130         * PreviewedInset.[Ch]: removed.
131
132         * Makefile.am: remove PreviewedInset.[Ch].
133
134 2003-10-09  Angus Leeming  <leeming@lyx.org>
135
136         * PreviewedInset.[Ch] (previewReady): remove the side effects.
137         Now simply reports whether the preview is ready.
138
139 2003-10-09  Angus Leeming  <leeming@lyx.org>
140
141         * PreviewedInset.[Ch]: move PreviewedInset out of namespace lyx::graphics.
142         Remove the inset and view member functions.
143         Add a new connect member function and preview_ready_signal_ member
144         variable, to enable the class to tell an arbirary connectee that the
145         preview is ready.
146
147 2003-10-09  Angus Leeming  <leeming@lyx.org>
148
149         * PreviewedInset.[Ch] (removePreview, previewReady): these functions
150         are now passed a 'Buffer const &', eliminating most of the remaining
151         need for PreviewedInset to use a BufferView cache.
152
153 2003-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
154
155         * GraphicsCache.h:
156         * PreviewImage.h: add <string> and other small fixes to make
157         Lars' std::string patch compile with STLport.
158
159 2003-09-29  Angus Leeming  <leeming@lyx.org>
160
161         * GraphicsParams.[Ch] (asString): removed. Replaced with
162         operator<<(std::ostream &, BoundingBox const &).
163
164 2003-09-25  Angus Leeming  <leeming@lyx.org>
165
166         * GraphicsParams.[Ch] (asString): new member function.
167
168 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
169
170         * Previews.C (Previews): fix new bug
171
172         * GraphicsCache.C (Cache): fix new bug
173
174 2003-09-19  Angus Leeming  <leeming@lyx.org>
175
176         * PreviewedInset.[Ch] (generatePreview, previewWanted): now passed
177         a 'Buffer const &' argument.
178
179 2003-09-18  Angus Leeming  <leeming@lyx.org>
180
181         * PreviewedInset.C (latexString): add a Buffer const & arg.
182         * PreviewedInset.C (addPreview): pass the buffer to latexString.
183
184 2003-09-16  Angus Leeming  <leeming@lyx.org>
185
186         * PreviewedInset.[Ch] (c-tor) move out of line.
187         (d-tor): make private.
188         (inset): return a const reference rather than a non-const pointer.
189
190 2003-09-16  Angus Leeming  <leeming@lyx.org>
191
192         * GraphicsImage.h: separate interface from implementation. Make all the
193         pure virtual functions private.
194
195 2003-09-16  Angus Leeming  <leeming@lyx.org>
196
197         * PreviewLoader.C: add #include "LColor.h".
198
199 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
200
201         * GraphicsConverter.C
202         * PreviewLoader.C: remove usage of STRCONV
203
204 2003-09-14  Angus Leeming  <leeming@lyx.org>
205
206         * PreviewLoader.C (remove): consider all InProgressProcesses when
207         ascertaining which ones to remove from the list, not every other one.
208
209 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
210
211         * GraphicsCacheItem.C: change Assert to BOOST_ASSERT
212         * Previews.C: ditto
213
214 2003-09-08  Angus Leeming  <leeming@lyx.org>
215
216         * GraphicsImage.C:
217         * GraphicsParams.C:
218         * PreviewLoader.C: remove redundant using directives.
219
220 2003-09-07  Angus Leeming  <leeming@lyx.org>
221
222         * GraphicsTypes.h:
223         * Previews.h: remove #include "support/std_string.h".
224
225 2003-09-06  Angus Leeming  <leeming@lyx.org>
226
227         * PreviewedInset.C: add #include "insets/inset.h"
228
229 2003-09-05  Angus Leeming  <leeming@lyx.org>
230
231         * *.C: strip out redundant #includes. (26 in total.)
232
233 2003-09-04  Angus Leeming  <leeming@lyx.org>
234
235         * LoaderQueue.C (get):
236
237 2003-09-04  Angus Leeming  <leeming@lyx.org>
238
239         * GraphicsCache.C:
240         * GraphicsCacheItem.C:
241         * GraphicsConverter.C:
242         * PreviewImage.C:
243         * PreviewLoader.C:
244         * PreviewedInset.C:
245         * Previews.C: 'namespace support = lyx::support' rather than
246         'using lyx::support'.
247
248         * Previews.h: cleaned up some comments.
249
250         * LoaderQueue.[Ch]: move #include "GraphicsCacheItem.h" into the .C file.
251
252 2003-07-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
253
254         * GraphicsTypes.h: do not declare displayTranstor here (and remove
255         extra include)
256
257 2003-07-27  José Matos  <jamatos@fep.up.pt>
258
259         * PreviewLoader.C (Impl::dumpPreamble): comply with makeLaTeXFile
260         argument change.
261
262 2003-07-21  Angus Leeming  <leeming@lyx.org>
263
264         * GraphicsCache.h:
265         * GraphicsCacheItem.[Ch]:
266         * GraphicsParams.h:
267         * PreviewLoader.h:
268         * PreviewedInset.[Ch]:
269         * Previews.h: use namespace lyx::graphics rather than grfx shortcut.
270
271 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
272
273         * Change namespace grfx to lyx::graphics.
274
275 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
276
277         * introcude namespace lyx::support
278
279 2003-06-04  Angus Leeming  <leeming@lyx.org>
280
281         * GraphicsLoader.C (Loader copy c-tor): make it work as expected. ;-)
282         (operator=): if it has a copy c-tor, it should have this too.
283
284 2003-06-03  Angus Leeming  <leeming@lyx.org>
285
286         * GraphicsLoader.[Ch] (Loader): add copy constructor.
287
288 2003-05-23  Angus Leeming  <leeming@lyx.org>
289
290         * PreviewLoader.C (dumpPreamble): rename fragile as moving_arg.
291
292 2003-05-22  Angus Leeming  <leeming@lyx.org>
293
294         * PreviewLoader.C (dumpPreamble): no longer pass a free_spacing arg to
295         the inset::latex method.
296
297 2003-05-22  Angus Leeming  <leeming@lyx.org>
298
299         * PreviewLoader.C (dumpPreamble): no longer pass a fragile arg to
300         the inset::latex method.
301
302 2003-05-22  Angus Leeming  <leeming@lyx.org>
303
304         * PreviewLoader.C (dumpPreamble): the 'nice' param passed to
305         makeLaTeXFile is now encapsulated within runparams.
306
307 2003-05-22  Angus Leeming  <leeming@lyx.org>
308
309         * PreviewLoader.C (dumpPreamble):
310         pass around a LatexRunParams parameter.
311
312 2003-05-13 André Pönitz <poenitz@gmx.net>
313
314         * GraphicsConverter.C:
315         * PreviewLoader.C: use tostr from own header
316
317 2003-05-12 André Pönitz <poenitz@gmx.net>
318
319         * PreviewLoader.C:  boost::format -> bformat
320
321 2003-04-15  Angus Leeming  <leeming@lyx.org>
322
323         * GraphicsConverter.C: #include lstrings.h.
324
325 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
326
327         * GraphicsConverter.C
328         * PreviewLoader.C: added #include "format.h"
329
330 2003-02-26  Angus Leeming  <leeming@lyx.org>
331
332         * PreviewedInset.[Ch]: strip out the caching of the BufferView and
333         use the cache of the parent inset instead.
334
335         * PreviewLoader.C (startLoading): Prevent a crash if the user is
336         not using a tmp directory.
337
338 2003-02-26  Alfredo Braunstein  <abraunst@libero.it>
339
340         * GraphicsLoader.[Ch],
341         * PreviewImage.[Ch],
342         * PreviewedInset.C: Removed unneeded list of owner insets
343
344 2003-02-25  Alfredo Braunstein  <abraunst@libero.it>
345
346         * GraphicsConverter (startConversion): add the call to
347         ForkedCallQueue::add
348
349         * GraphicsLoader.[Ch],
350         * PreviewImage.[Ch],
351         * PreviewedInset.C: Removed unneeded BufferView
352
353 2003-02-25  Alfredo Braunstein  <abraunst@libero.it>
354
355         * LoaderQueue.[Ch]: a simplification of the code, eliminated
356         the unneeded input bucket.
357
358         * GraphicsCacheItem.C (imageConverted): move warning inside the
359         !success block.
360
361 2003-02-25  Alfredo Braunstein  <abraunst@libero.it>
362
363         * PreviewLoader.C (FindFirst): use ==, not < with std::find.
364
365 2003-02-21  Alfredo Braunstein  <abraunst@libero.it>
366
367         * LoaderQueue.[Ch] (setPriority): added
368
369         * PreviewLoader.C (finishedGenerating): reversed the loading order so
370         first images get 'touched' last, and so load first.
371
372 2003-02-20  Alfredo Braunstein  <abraunst@libero.it>
373
374         * LoaderQueue.[Ch]: added. Implements a service queue that loads
375         images in background
376         * GraphicsSupport.[Ch]: removed
377         * Makefile.am: the changes above
378         * GraphicsLoader.C: use the loading queue
379
380 2003-01-21  Angus Leeming  <leeming@lyx.org>
381
382         * PreviewLoader.C (dumpPreamble): ensure that \lyxlock does not prevent
383         previews from being generated.
384
385 2003-01-13  Angus Leeming  <leeming@lyx.org>
386
387         * GraphicsCacheItem.C (findTargetFormat): define the default conversion
388         format to be PPM not XPM.
389
390 2002-12-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
391
392         * Makefile.am (EXTRA_DIST): remove variable
393
394 2002-12-13  Angus Leeming  <leeming@lyx.org>
395
396         * GraphicsImageXPM.[Ch]: removed.
397
398         * Makefile.am: associated change.
399
400 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
401
402         * several files: ws changes
403
404 2002-11-21  Angus Leeming  <leeming@lyx.org>
405
406         * GraphicsConverter.C (build_script, move_file):
407         Don't use "if [ $? -ne 0 ]; then..."
408
409 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
410
411         * PreviewLoader.C (IncrementedFileName): STRCONV
412         (startLoading): ditto
413
414         * GraphicsConverter.C (Impl): STRCONV
415         (move_file): ditto
416
417         * GraphicsTypes.C: include config.h
418
419 2002-10-25  Angus Leeming  <leeming@lyx.org>
420
421         * GraphicsConverter.C (Impl::converted)
422         * PreviewLoader.C (Impl::finishedGenerating): no longer receives a
423         string as first arg, reflecting change in ForkedCall interface.
424
425         * PreviewLoader.C: use pid rather than command as identifier in
426         InProgress map.
427
428 2002-10-18  Angus Leeming  <leeming@lyx.org>
429
430         * GraphicsCacheItem.C (findTargetFormat): add debug message.
431
432 2002-09-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
433
434         * Makefile.am (INCLUDES): loose SIGC_INCLUDES
435
436 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
437
438         * GraphicsConverter.C (build_script): do not use ChangeExtension
439         on a base name
440         (Impl): ditto
441
442 2002-09-05  Angus Leeming  <leeming@lyx.org>
443
444         * all files: modify the headers as discussed on the list.
445
446 2002-09-04  Angus Leeming  <leeming@lyx.org>
447
448         * PreviewLoader.C (startLoading): pass the desired output format to the
449         conversion script.
450
451 2002-09-04  Angus Leeming  <leeming@lyx.org>
452
453         * PreviewLoader.C: remove this ndigits stuff as an unnecessary extra.
454
455 2002-09-03  Angus Leeming  <leeming@lyx.org>
456
457         * PreviewLoader.C: fix crash reported by Norbert Koksch when
458         generating more than 999 preview snippets. Use filenames with 5 digit
459         numbers, not 3, in the first instance, although more general code is
460         commented out. I don't suppose /anyone/ has 100000 formulae in one
461         document...
462
463 2002-09-03  Angus Leeming  <leeming@lyx.org>
464
465         * PreviewLoader.C: activate #ifdef USING_NEW_PREVIEW_STY code.
466
467 2002-09-03  Angus Leeming  <leeming@lyx.org>
468
469         * GraphicsConverter.C (Impl c-tor): remove lyxpreview2xpm cruft.
470
471 2002-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
472
473         * GraphicsConverter.C (Impl c-tor): "hide" crash by prefixing
474         convertDefault command with "sh ".
475
476 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
477
478         * GraphicsImage.C: small style fix to width/height setting.
479
480         * GraphicsTypes.h: have a displayTranslator here.
481
482         * Makefile.am:
483         * GraphicsTypes.C: new file added for the setDisplayTranslator();
484
485 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
486
487         * GraphicsImage.C:
488         * GraphicsParams.[Ch]: remove keepLyXAspectRatio, width and height
489         because this input has gone from the graphics dialog.
490
491         * GraphicsTypes.h: add enum DisplayType DefaultDisplay
492
493 2002-08-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
494
495         * GraphicsImageXPM.h: inlcude boost/shared_ptr.hpp, remove include
496         for support/smart_ptr.h, switch to boost smart ptr.
497
498         * GraphicsImageXPM.C: reorder includes, include boost/bind.hpp
499         (~Data): let the smart_ptr handle cleanup
500         (reset): use nifty 3rd arg
501         (resetData): ditto
502         (free_color_table): free the table manually
503
504 2002-08-09  Angus Leeming  <leeming@lyx.org>
505
506         * PreviewLoader.C (dumpPreamble): pass Buffer::filePath() to
507         Buffer::makeLaTeXFile() so that LaTeX can find \input files because
508         input@path is now set correctly.
509
510 2002-08-06  Angus Leeming  <leeming@lyx.org>
511
512         * PreviewLoader.C: add support for preview.sty 0.73 (currently
513         #ifdef-ed out, awaiting the formal release).
514
515         * PreviewedInset.[Ch] (removePreview): new method. Useful if previewing
516         the contents of a file that has changed.
517
518 2002-08-05  Angus Leeming  <leeming@lyx.org>
519
520         * PreviewLoader.C (dumpPreamble): add lyx to the list of options output
521         to preview.sty. Works only for versions of preview.sty > 0.72b but
522         doesn't hurt earlier versions. Allows me to test the new parsing of
523         LyX-specific data from the generated log file.
524
525 2002-08-02  Angus Leeming  <leeming@lyx.org>
526
527         * GraphicsLoader.C: cache the BufferView as a weak_ptr.
528
529         * PreviewLoader.[Ch] (buffer): new method, returning the owner.
530         (add): don't add empty snippets.
531
532         * PreviewedInset.[Ch]: cache the BufferView as a weak_ptr.
533         (view, setView): access to to the cache_.
534
535 2002-08-02  Angus Leeming  <leeming@lyx.org>
536
537         * PreviewedInset.[Ch]: cache the LaTeX snippet.
538
539 2002-08-01  Angus Leeming  <leeming@lyx.org>
540
541         * PreviewedInset.[Ch]: new files. An abstract base class that can help
542         insets to generate previews.
543         The daughter class must instantiate three small methods.
544         The Inset would own an instance of this daughter class and invoke it
545         as necessary. For example, mathd/formula.C gets previews at the cost
546         of 15 or so lines of code.
547
548         * Makefile.am: add PreviewedInset.[Ch].
549
550         * PreviewLoader.C (add): add debug message.
551
552         * Previews.C (generateBufferPreviews): remove if-block from loop.
553
554 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
555
556         * PreviewLoader.C (setFontScalingFactor): strip,frontStrip ->
557         trim,ltrim,rtrim
558         (setAscentFractions): ditto
559
560 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
561
562         * PreviewLoader.C (setAscentFractions): modify because of strip
563         changes
564
565 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
566
567         * GraphicsConverter.C (build_script): take a ostream as a more
568         general argument than ostringstream.
569
570 2002-07-22  Herbert Voss  <voss@lyx.org>
571
572         * GraphicsConverter.C: get the "default converter" run again
573
574 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
575
576         * PreviewLoader.C: use BufferParams::getLyXTextClass
577
578 2002-07-21  Herbert Voss  <voss@lyx.org>
579
580         * GraphicsImage.C: get the LyXAspectRatio run.
581
582         * GraphicsParams.[Ch]: add bool keepLyXXAspectRatio
583
584 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
585
586         * PreviewLoader.C (startLoading): pass an interger as resolution
587         to the lyxpreview converter
588
589         * GraphicsParams.C: include <cstdlib>
590
591 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
592
593         * PreviewLoader.C (startLoading): use LibScriptSearch to find the
594         preview converter script
595
596 2002-07-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
597
598         * GraphicsCacheItem.C (reset): use erase() instead of clear() for
599         strings
600
601 2002-07-18  Angus Leeming  <leeming@lyx.org>
602
603         * GraphicsCacheItem.[Ch]: add a FileMonitor variable to the the Impl
604         class.
605         (startMonitoring, monitoring, checksum): new methods to interact with
606         the FileMonitor.
607
608         * GraphicsLoader.[Ch] (startMonitoring, monitoring, checksum): new
609         methods invoking the CacheItem methods of the same name.
610         (resetFile): if monitoring and the file changes, start monitoring this
611         new file.
612
613 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
614
615         * Makefile.am: remove FileMonitor.[Ch]
616
617 2002-06-17  Herbert Voss  <voss@lyx.org>
618
619         * GraphicsCachItem.C (findTargetFormat): remove the speciell case
620         for old ps-files (Garst). It's now handled by defining a converter and
621         disabling the ps-support of xforms.
622
623 2002-07-17  Angus Leeming  <leeming@lyx.org>
624
625         Be true to the Pimpl idiom, moving all signals into the respective
626         Impl classes and defining methods to connect them to an outside slot.
627         Const-ify all visible class methods as they act only on a const pimpl_.
628
629         * GraphicsCache.[Ch] (add, remove): const-ify.
630
631         * GraphicsCacheItem.[Ch] (startLoading): const-ify.
632         (statusChanged): move the signal into the Impl class.
633         (connect): new method, enabling a listener to connect to this signal.
634
635         * GraphicsConverter.[Ch]: (startConversion): const-ify.
636         (finishedConversion): move the signal into the Impl class.
637         (connect): new method, enabling a listener to connect to this signal.
638
639         * GraphicsLoader.[Ch] (reset, startLoading): const-ify.
640         (statusChanged): move the signal into the Impl class.
641         (connect): new method, enabling a listener to connect to this signal.
642
643         * PreviewLoader.[Ch] (add, remove, startLoading): const-ify.
644         (imageReady): move the signal into the Impl class.
645         (connect): new method, enabling a listener to connect to this signal.
646         (emitSignal): new method, enabling PreviewImage to tell the outside
647         world that the file has been loaded into memory.
648
649         * Previews.[Ch] (loader, removeLoader, generateBufferPreviews):
650         const-ify.
651
652         * GraphicsCache.C:
653         * GraphicsCacheItem.C:
654         * GraphicsConverter.[Ch]:
655         * GraphicsImage.h:
656         * GraphicsImageXPM.C:
657         * GraphicsLoader.C:
658         * PreviewLoader.[Ch]: whitespace clean-up.
659
660 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
661
662         * PreviewLoader.C (setConverter): remove unused variable
663
664         * GraphicsImageXPM.C (isDrawable): implement
665         (setPixmap): the opaque color is black, not white
666
667 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
668
669         * GraphicsImageXPM.C (color_none_id):
670         (contains_color_none): use ascii_lowercase instead of lowercase
671
672 2002-07-16  Angus Leeming  <leeming@lyx.org>
673
674         * PreviewLoader.C: greater use of STL algorithms.
675
676         * Previews.[Ch]: use const in more places.
677         (generateBufferPreviews): now takes a Buffer const & argument, not a
678         pointer.
679
680 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
681
682         * GraphicsImage.h: remove getPixmap/X, add isDrawable()
683
684 2002-07-12  Angus Leeming  <leeming@lyx.org>
685
686         * GraphicsLoader.[Ch]: smart loading of images. Images are loaded only
687         if visible 2 secs after the call to load them is first made.
688
689         * GraphicsSupport.[Ch]: new files. isInsetVisible interrogates the
690         BufferView to ascertain whether the inset is visible or not.
691
692         * Makefile.am: added GraphicsSupport.[Ch].
693
694         * PreviewImage.[Ch]: use this smart loader.
695
696         * PreviewLoader.C: don't load generated image files indiscimminantly.
697         Instead emit the imageReady signal and allow the image owner to decide.
698
699 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
700
701         * GraphicsCache.C: remove init_graphics()
702
703 2002-07-09  Angus Leeming  <leeming@lyx.org>
704
705         * PreviewLoader.C (setAscentFractions): fix bug due to use of integer
706         arithmetic when it should be floating.
707
708 2002-07-09  Angus Leeming  <leeming@lyx.org>
709
710         * PreviewLoader.C (startLoading): prepend LaTeX file with "\batchmode".
711         Output equation labels as "(#)" if lyxrc preference is set.
712         (setFontScalingFactor): use lyxrc variable preview_scale_factor
713         rather than hard-coding this.
714
715 2002-07-09  Angus Leeming  <leeming@lyx.org>
716
717         * PreviewLoader.C: Further refactoring of the code. Should now be
718         pretty clean.
719
720         * PreviewMetrics.[Ch]: removed. Had a v. short shelf life and is now
721         past its sell-by date. The code to read the metrics file is now found
722         as a helper function in PreviewLoader.C.
723
724         * GraphicsImageXPM.C (scale): use boost::tie.
725
726 2002-07-08  Herbert Voss  <voss@lyx.org>
727
728         * PreviewLoader.C: use of preview_size_factor to get the right
729         font-size! 0.9 is the default.
730
731 2002-07-08  Angus Leeming  <leeming@lyx.org>
732
733         * PreviewLoader.C: Add "delayed" and "showlabels" options to the
734         invocation of preview.sty.
735         Perform something of an internal clean-up.
736
737 2002-07-06  Angus Leeming  <leeming@lyx.org>
738
739         * PreviewLoader.C: ensure that the metrics data is used by the
740         correct image!
741
742         * PreviewLoader.C:
743         * PreviewImage.C: (Impl d-tor): remove all generated files that still
744         exist (perhaps because the process was curtailed before the images
745         were loaded.)
746
747         * PreviewLoader.C (unique_filename): store the files in Buffer::tmppath.
748
749 2002-07-05  Angus Leeming  <leeming@lyx.org>
750
751         * PreviewImage.h:
752         * PreviewImage.C:
753         * PreviewLoader.h:
754         * PreviewLoader.C:
755         * PreviewMetrics.h:
756         * PreviewMetrics.C:
757         * Previews.h:
758         * Previews.C: new files. The previewed LaTeX snippet stuff.
759
760         * Makefile.am: add these files.
761
762 2002-07-05  Angus Leeming  <leeming@lyx.org>
763
764         * GraphicsLoader.h: whitespace.
765
766 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
767
768         * GraphicsImage.[Ch]: newImage and loadableFormats changed to
769         boost::function from boost::signal.
770
771 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
772
773         * GraphicsConverter.C (convert): do not use ChangeExtension
774         because to_file_base may contain a dot.
775
776 2002-06-28  Angus Leeming  <leeming@lyx.org>
777
778         * GraphicsCacheItem.[Ch]: refactor some of the more convoluted logic
779         by moving those SignalPtrs into the grfx::Image and grfx::Converter
780         classes where they really belong.
781         Use the Pimpl idiom to hide the class internals from public view.
782
783         * GraphicsTypes: remove the typedefs, leaving only the enums.
784
785         * GraphicsImage.h: now has a finishedLoading signal, as opposed to being
786         passed a reference to one in the load() method.
787
788         * GraphicsConverter.[Ch]: totally refactored. An instance of
789         grfx::Converter now represents a single conversion process.
790         Thus grfx::CachItem now has a grfx::Converter * that is set when the
791         conversion is initiated and destroyed on completion.
792
793         * GraphicsCache.[Ch]:
794         * GraphicsCacheItem.[Ch]:
795         * GraphicsConverter.[Ch]:
796         * GraphicsLoader.[Ch]: use the Pimpl idiom to hide the class internals
797         from public view.
798         Note that I have done this only after making the above changes,
799         so not only should we have a clean, minimal and well documented
800         interface to these classes in the header files, but the class internals
801         should be much clearer too.
802
803         * Renamed classes
804         grfx::GCache -> grfx::Cache,
805         grfx::GCacheItem -> grfx::CacheItem,
806         grfx::GConverter -> grfx::Converter,
807         grfx::GImage -> grfx::Image,
808         grfx::GImageXPM -> grfx::ImageXPM,
809         grfx::GParams -> grfx::Params.
810
811 2002-06-26  Angus Leeming  <leeming@lyx.org>
812
813         * GraphicsLoader.[Ch]: use boost::scoped_ptr in preference to
814         std::auto_ptr. Define an empty Loader d-tor out-of-line to ensure it
815         compiles.
816
817 2002-06-26  Angus Leeming  <leeming@lyx.org>
818
819         * GraphicsTypes.h: add "Ready" to the ImageStatus enum.
820         move the DisplayType enum out of grfx::GParams to here.
821
822         * GraphicsCacheItem.h: re-write preliminary description to reflect
823         current reality.
824
825         * GraphicsParams.[Ch]:
826         * GraphicsImageXPM.C (load, setPixmap): changes aassociated with moving
827         grfx::DisplayType out of grfx::GParams.
828
829         * GraphicsLoader.[Ch]: new files. Factor out the image loading stuff
830         that was in frontends/screen.C and insets/insetgraphics.C into a
831         single, easy-to-use class.
832
833         * Makefile.am: add these files.
834
835 2002-06-25  Angus Leeming  <leeming@lyx.org>
836
837         * GraphicsCache.[Ch]:
838         * GraphicsCacheItem.[Ch]:
839         * GraphicsTypes.h: rewrite the graphics cache to just load a graphics
840         file into memory. The cache no longer controls the generation of the
841         pixmap. Instead, it just emits a signal when the loading status of an
842         image changes.
843         The cache no longer stores InsetGraphics pointers and nor does it
844         assume responsibility for modifying an image (scaling, rotating etc).
845         Instead, that must now be performed elsewhere.
846
847 2002-06-19  Angus Leeming  <leeming@lyx.org>
848
849         * GraphicsConverter.C: add using std::endl directive.
850
851 2002-06-17  Herbert Voss  <voss@lyx.org>
852
853         * GraphicsCachItem.C: (findTargetFormat)return xpm-format as a
854         default when nothing different was found
855         (convertToDisplayFormat): handle zipped files in the right way and
856         choose always convert as a default converter when no other
857         userdefined was found
858
859         * GraphicsConverter.C: add more lyxerr comments and choose
860         convert when no other userdefined converter was found
861
862 2002-06-10  Herbert Voss  <voss@lyx.org>
863
864         * GraphicsImageXPM.C (convertTo7chars): get another special color
865         format from convert work in the right way
866
867 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
868
869         * GraphicsCache.C: use right colormap incantation
870
871 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
872
873         * GraphicsCache.C: use lyx_gui namespace
874
875         * GraphicsImageXPM.C: back down to using xforms
876           directly again
877
878 2002-06-07  Angus Leeming  <leeming@lyx.org>
879
880         Fixes needed to compile with Compaq cxx 6.5.
881         * GraphicsConverter.h: forward declare class ConvProcess.
882
883         * GraphicsImageXPM.C:
884         all c-library variables have been moved into namespace std.
885         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
886
887 2002-06-06  Angus Leeming  <a.leeming@ic.ac.uk>
888
889         * GraphicsImageXPM.C (rotate): rotate in the same sense as xdvi!
890
891 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
892
893         * GraphicsImageXPM.C: SigC to boot::signals changes.
894         (newImage): fix () bug when using new.
895
896 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
897
898         * switch from SigC signals to boost::signals.
899
900 2002-05-29  André Pönitz <poenitz@gmx.net>
901
902         * GraphicsParam.C: remove unneeded #include, move vomment
903
904 2002-05-28  André Pönitz <poenitz@gmx.net>
905
906         * GraphicsParam.[Ch]: move inset related stuff to inset/insetgraphics
907
908 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
909
910         * GraphicsImageXPM.C: ColorHandler moved
911
912 2002-05-24  Juergen Vigna  <jug@sad.it>
913
914         * GraphicsCache.h:
915         * GraphicsImage.h: include LString.h first.
916
917 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
918
919         * GraphicsCacheItem.h: use more specific smart_ptr header.
920         * GraphicsTypes.h: ditto
921         * GraphicsImage.h: ditto
922         * GraphicsConverter.h: ditto
923
924 2002-04-28  John Levon  <moz@compsoc.man.ac.uk>
925
926         * GraphicsImageXPM.C: understand convert's use of "opaque"
927           as a colour name
928
929 2002-04-19  Marco Morandini <morandini@aero.polimi.it>
930
931         * GraphicsCache.[Ch] (loadableFormats): new method. A wrapper for
932         GImage::loadableFormats() that ensures that the signal is connected
933         to the derived class' method.
934
935 2002-04-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
936
937         * GraphicsImageXPM.C (convertTo7chars): drop all conversions and
938         only work on the string.
939
940 2002-04-17  Angus Leeming  <a.leeming@ic.ac.uk>
941
942         * GraphicsImageXPM.C (Data::reset): Fix the loading of xpm files by
943         the simple image loader when it encounters colour strings like
944         #rrrrggggbbbb.
945
946 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
947
948         * GraphicsCacheItem.C (convertToDisplayFormat):
949         * GraphicsConverter.C (build_script): remove the Alerts when things go
950         wrong as the inset displays the message anyway. Moreover, Alert seems
951         pretty temperamemtal at the moment.
952
953 2002-04-16  Rob Lahaye  <lahaye@users.sourceforge.net>
954
955         * GraphicsImageXPM.C: fix clipping for boundingbox y-coordinates
956
957 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
958
959         * GraphicsCacheItem.C (findTargetFormat): fix bug waiting to bite:
960         a reference to a temp object that's going out of scope...
961
962 2002-04-09  Herbert Voss  <voss@lyx.org>
963
964         * GraphicsParams.C (BoundingBox c-tor): fix rounding errors by using
965         LyXLength::inBP instead of inPixels.
966
967 2002-04-10  Herbert Voss  <voss@perce.de>
968
969         * GraphicsCache.[Ch]:
970         * GraphicsCacheItem.[Ch]: add width/height functions from Angus
971         to read the "Bounding Box" from non (e)ps files.
972
973 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
974
975         * GraphicsParams.C (c-tor): if clipping, then check the Bounding Box of
976         the EPS file too, to ensure that the clipped Bounding Box is relative
977         to the original. (From Herbert.)
978
979 2002-04-04  Angus Leeming  <a.leeming@ic.ac.uk>
980
981         * GraphicsParams.C (BoundingBox c-tor): ensure that the member
982         variables are initialised. Clean-up parsing of the string (with thanks
983         to Herbert.)
984
985 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
986
987         * GraphicsCacheItem.C (convertToDisplayFormat): don't launch that Alert
988         if the file can't be found.
989
990         * GraphicsParams.h (c-tor): remove string() as default argument.
991
992         * GraphicsCacheItem.C: a couple of changes as a result.
993
994 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
995
996         * GraphicsCache.[Ch] (update): now passed filepath to determine absolute
997         path to graphics file.
998
999         * GraphicsParams.[Ch] (c-tor): now passed filepath.
1000
1001 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1002
1003         * most files: ws cleanup
1004
1005         * Makefile.am: remove ld -r stuff
1006
1007 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1008
1009         * Makefile.am: special rules if partial linking
1010
1011 2002-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
1012
1013         * GraphicsCache.C: use Lars' preferred idiom for a for-loop.
1014
1015 2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1016
1017         * GraphicsConverter.[Ch] (converted): make first arg const ref.
1018
1019         * GraphicsCacheItem.h: doxy change
1020
1021         * GraphicsCacheItem.C: ws change
1022
1023 2002-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
1024
1025         * Makefile.am: if there is no image loading class leveraging the power
1026         of the appropriate gui library, then compile the basic alternative
1027         found in GraphicsImageXPM.[Ch].
1028
1029 2002-03-04  Angus Leeming  <a.leeming@ic.ac.uk>
1030
1031         * GraphicsCache.C: change associated with move of initialiseGraphics
1032         to GUIRuntime.
1033
1034 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
1035
1036         * GraphicsParams.[Ch]:
1037         * GraphicsImage.C:
1038         * GraphicsImageXPM.C: properly resolve more warnings about comparison
1039         between signed and unsigned integer expressions.
1040
1041         * Makefile.am: add GraphicsTypes.h which I'd carelessly left out.
1042
1043         * GraphicsCache.C: move connections to the GImage-derived classes to
1044         the frontends.
1045
1046         * GraphicsImageXPM.C (copy c-tor): don't copy pixmap.
1047
1048         * GraphicsCacheItem.C (findTargetFormat): if we can load direct without
1049         conversion, then do that.
1050
1051 2002-02-27  Angus Leeming  <a.leeming@ic.ac.uk>
1052
1053         * GraphicsCache.C: improve commentary to graphicsInit and where it
1054         should really go.
1055
1056         * GraphicsImageXPM.C (~Data, free_color_table): resolve the crash
1057         that became a memory leak properly. (Let the shared_c_ptr free the
1058         color table.)
1059         (reset, mapcolor): tidy up and introduce a work around for XPM files
1060         with crappy color entries. Print out a nice friendly message on what's
1061         gone wrong and how to resolve it properly.
1062
1063 2002-02-27  Angus Leeming  <a.leeming@ic.ac.uk>
1064
1065         * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
1066         (Data d-tor): introduce memory leak temporarily, to "fix" a crash
1067         in free_color_table.
1068         (unique_color_string): use the correct string c-tor.
1069
1070 2002-02-15  Angus Leeming  <a.leeming@ic.ac.uk>
1071
1072         * ImageLoader.[Ch]:
1073         * ImageLoaderXPM.[Ch]: removed.
1074
1075         * GraphicsConverter.[Ch]:
1076         * GraphicsImage.[Ch]:
1077         * GraphicsImageXPM.[Ch]:
1078         * GraphicsParams.[Ch]:
1079         * GraphicsTypes.h: new files.
1080
1081         * All files. A total re-write of the graphics cache. The cache now
1082         supports asynchronous file conversion and file loading. Images
1083         can be cropped, rotated and scaled for display on the LyX screen.
1084         The old LyXImage and ImageLoader have been combined in a new class
1085         GImage. Ditto, ImageLoaderXPM's functionality has been moved into
1086         GImageXPM.
1087
1088 2002-02-07  Herbert Voss  <voss@lyx.org>
1089
1090         * GraphicsCacheItem.C: use unzipFile() from support/filetools
1091
1092 2002-01-31  Herbert Voss  <voss@lyx.org>
1093
1094         * GraphicsCacheItem.h: handle filetype without the file extension;
1095         getting type from contents; handle zipped files
1096
1097 2002-01-27  Herbert Voss  <voss@lyx.org>
1098
1099         * GraphicsCacheItem.h: added Converting to the ImageStatus enum.
1100
1101 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
1102
1103         * ImageLoaderXPM.C: don't set XpmColorKey flag if we don't use it
1104
1105 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1106
1107         * GraphicsCacheItem.h: do not include <config.h> in header files
1108
1109 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
1110
1111         * ImageLoaderXPM.C (runImageLoader): If the pixmap contains a
1112         transparent colour, then set it to the colour of the background.
1113         Also take account of the monochrome, grayscale of color
1114         preferences option.
1115
1116 2001-09-20  Angus Leeming  <a.leeming@ic.ac.uk>
1117
1118         * GraphicsCacheItem.C (convertImage): only convert if "from" and "to"
1119         are different. Thus, don't delete the "to" if it's the original!
1120
1121 2001-09-01  John Levon  <moz@compsoc.man.ac.uk>
1122
1123         * ImageLoadXPM.C: remove setting of alloc colour mask,
1124           led to crash as we don't define a callback
1125
1126 2001-07-29  Baruch Even  <baruch@lyx.org>
1127
1128         * ImageLoaderXPM.C (runImageLoader): When loading agree to use non-exact
1129         colors with closeness of 10000.
1130
1131         * GraphicsCacheItem.C: Fixed a compilation bug introduced earlier.
1132
1133 2001-07-29  Baruch Even  <baruch@lyx.org>
1134
1135         * GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
1136         too annoying.
1137
1138 2001-07-23  Baruch Even  <baruch@lyx.org>
1139
1140         * GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading
1141         the image after conversion.
1142
1143 2001-07-17  Baruch Even  <baruch@lyx.org>
1144
1145         * GraphicsCacheItem.h:
1146         * GraphicsCacheItem.C: Shuffled things a bit to make it easier to switch
1147         from synchronous to asynchronous and to ease the coming changes.
1148
1149 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1150
1151         * ImageLoaderXPM.C (runImageLoader): get display information from
1152         GUIRunTime.
1153
1154 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
1155
1156         * GraphicsCache.C:
1157         * GraphicsCacheItem.C:
1158         * ImageLoader.C:
1159         * ImageLoaderXPM.C: removed // -*- C++ -*- as first line.
1160
1161 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1162
1163         * GraphicsCache.h: inherit privately from noncopyable
1164         * ImageLoader.h: ditto
1165         * GraphicsCacheItem.h: ditto
1166
1167 2001-04-16  Allan Rae  <rae@lyx.org>
1168
1169         * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun
1170         CC 6.0 as an unrecognised preprocessor directive.  So ensure they're
1171         wrapped.
1172
1173 2001-04-02  Baruch Even  <baruch@lyx.org>
1174
1175         * GraphicsCacheItem.[Ch]: Changed to used the Converter class instead
1176         of hard coding ImageMagick.
1177
1178 2001-03-10  Baruch Even  <baruch@lyx.org>
1179
1180         * GraphicsCache.C: Style change from (*it).field to it->field
1181
1182 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
1183
1184         * GraphicsCache.h: noncopyable is in namespace boost
1185         * ImageLoader.h: ditto
1186         * GraphicsCacheItem.h: ditto
1187
1188 2001-03-07  Baruch Even  <baruch@lyx.org>
1189
1190         * GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
1191         was false and it's not needed anyhow since the shared_ptr's in the cache
1192         will destroy everything on exit.
1193
1194 2001-02-28  Baruch Even  <baruch@ev-en.org>
1195
1196         * GraphicsCache.h:
1197         * GraphicsCache.C: Changed the singleton pattern implementation, the
1198         former version "leaked" in the sense that it was not deallocated at
1199         program end.
1200
1201 2001-02-20  Baruch Even  <baruch@ev-en.org>
1202
1203         * GraphicsCache.C: Changed to use shared_ptr<GraphicsCacheItem>
1204         instead of a pure pointer.
1205
1206         * GraphicsCacheItem.[Ch]:
1207         * GraphicsCacheItem_pimpl.[Ch]: Collapsed them into GraphicsCacheItem,
1208         removed the reference counting that was inside. Also fixed a bug where
1209         a temporary file wouldn't get erased.
1210
1211         * ImageLoader.[Ch]: Changed the semantics of the image_ pointers usage.
1212         Ownership is now dropped when the caller requests the image_ pointer.
1213
1214 2001-02-20  Baruch Even  <baruch@ev-en.org>
1215
1216         * GraphicsCache.C: Cleared up the confusion on when and how it is
1217         emptied.
1218
1219         * GraphicsCacheItem.C: Indentation change.
1220
1221         * GraphicsCacheItem_pimpl.C: Fixed the loading logic so that it will
1222         figure correctly when the image has been loaded successfully.
1223
1224 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1225
1226         * ImageLoader.C: add a "using" directive.
1227
1228         * ImageLoader.h: remove extra comma at the end of enum; add an
1229         std:: qualifier for vector.
1230
1231 2001-01-21  Baruch Even  <baruch@ev-en.org>
1232
1233         * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
1234         height in the image itself and minor cleanups.
1235
1236         * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
1237         new ImageLoader class instead of the older Renderer class. This
1238         means change of responsibilities.