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