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