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