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