]> git.lyx.org Git - features.git/blob - src/graphics/ChangeLog
Cache the BufferView as a weak_ptr; get rid of those horrible current_views.
[features.git] / src / graphics / ChangeLog
1 2002-08-02  Angus Leeming  <leeming@lyx.org>
2
3         * GraphicsLoader.C: cache the BufferView as a weak_ptr.
4
5         * PreviewLoader.[Ch] (buffer): new method, returning the owner.
6         (add): don't add empty snippets.
7
8         * PreviewedInset.[Ch]: cache the BufferView as a weak_ptr.
9         (view, setView): access to to the cache_.
10
11 2002-08-02  Angus Leeming  <leeming@lyx.org>
12
13         * PreviewedInset.[Ch]: cache the LaTeX snippet.
14
15 2002-08-01  Angus Leeming  <leeming@lyx.org>
16
17         * PreviewedInset.[Ch]: new files. An abstract base class that can help
18         insets to generate previews.
19         The daughter class must instantiate three small methods.
20         The Inset would own an instance of this daughter class and invoke it
21         as necessary. For example, mathd/formula.C gets previews at the cost
22         of 15 or so lines of code.
23
24         * Makefile.am: add PreviewedInset.[Ch].
25
26         * PreviewLoader.C (add): add debug message.
27
28         * Previews.C (generateBufferPreviews): remove if-block from loop.
29
30 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
31
32         * PreviewLoader.C (setFontScalingFactor): strip,frontStrip ->
33         trim,ltrim,rtrim
34         (setAscentFractions): ditto
35
36 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
37
38         * PreviewLoader.C (setAscentFractions): modify because of strip
39         changes
40
41 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
42
43         * GraphicsConverter.C (build_script): take a ostream as a more
44         general argument than ostringstream.
45
46 2002-07-22  Herbert Voss  <voss@lyx.org>
47
48         * GraphicsConverter.C: get the "default converter" run again
49
50 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
51
52         * PreviewLoader.C: use BufferParams::getLyXTextClass
53
54 2002-07-21  Herbert Voss  <voss@lyx.org>
55
56         * GraphicsImage.C: get the LyXAspectRatio run.
57
58         * GraphicsParams.[Ch]: add bool keepLyXXAspectRatio
59
60 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
61
62         * PreviewLoader.C (startLoading): pass an interger as resolution
63         to the lyxpreview converter
64
65         * GraphicsParams.C: include <cstdlib>
66
67 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
68
69         * PreviewLoader.C (startLoading): use LibScriptSearch to find the
70         preview converter script
71
72 2002-07-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
73
74         * GraphicsCacheItem.C (reset): use erase() instead of clear() for
75         strings
76
77 2002-07-18  Angus Leeming  <leeming@lyx.org>
78
79         * GraphicsCacheItem.[Ch]: add a FileMonitor variable to the the Impl
80         class.
81         (startMonitoring, monitoring, checksum): new methods to interact with
82         the FileMonitor.
83
84         * GraphicsLoader.[Ch] (startMonitoring, monitoring, checksum): new
85         methods invoking the CacheItem methods of the same name.
86         (resetFile): if monitoring and the file changes, start monitoring this
87         new file.
88
89 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
90
91         * Makefile.am: remove FileMonitor.[Ch]
92
93 2002-06-17  Herbert Voss  <voss@lyx.org>
94
95         * GraphicsCachItem.C (findTargetFormat): remove the speciell case
96         for old ps-files (Garst). It's now handled by defining a converter and
97         disabling the ps-support of xforms.
98
99 2002-07-17  Angus Leeming  <leeming@lyx.org>
100
101         Be true to the Pimpl idiom, moving all signals into the respective
102         Impl classes and defining methods to connect them to an outside slot.
103         Const-ify all visible class methods as they act only on a const pimpl_.
104
105         * GraphicsCache.[Ch] (add, remove): const-ify.
106
107         * GraphicsCacheItem.[Ch] (startLoading): const-ify.
108         (statusChanged): move the signal into the Impl class.
109         (connect): new method, enabling a listener to connect to this signal.
110
111         * GraphicsConverter.[Ch]: (startConversion): const-ify.
112         (finishedConversion): move the signal into the Impl class.
113         (connect): new method, enabling a listener to connect to this signal.
114
115         * GraphicsLoader.[Ch] (reset, startLoading): const-ify.
116         (statusChanged): move the signal into the Impl class.
117         (connect): new method, enabling a listener to connect to this signal.
118
119         * PreviewLoader.[Ch] (add, remove, startLoading): const-ify.
120         (imageReady): move the signal into the Impl class.
121         (connect): new method, enabling a listener to connect to this signal.
122         (emitSignal): new method, enabling PreviewImage to tell the outside
123         world that the file has been loaded into memory.
124
125         * Previews.[Ch] (loader, removeLoader, generateBufferPreviews):
126         const-ify.
127
128         * GraphicsCache.C:
129         * GraphicsCacheItem.C:
130         * GraphicsConverter.[Ch]:
131         * GraphicsImage.h:
132         * GraphicsImageXPM.C:
133         * GraphicsLoader.C:
134         * PreviewLoader.[Ch]: whitespace clean-up.
135
136 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
137
138         * PreviewLoader.C (setConverter): remove unused variable
139
140         * GraphicsImageXPM.C (isDrawable): implement
141         (setPixmap): the opaque color is black, not white
142
143 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
144
145         * GraphicsImageXPM.C (color_none_id):
146         (contains_color_none): use ascii_lowercase instead of lowercase
147
148 2002-07-16  Angus Leeming  <leeming@lyx.org>
149
150         * PreviewLoader.C: greater use of STL algorithms.
151
152         * Previews.[Ch]: use const in more places.
153         (generateBufferPreviews): now takes a Buffer const & argument, not a
154         pointer.
155
156 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
157
158         * GraphicsImage.h: remove getPixmap/X, add isDrawable()
159
160 2002-07-12  Angus Leeming  <leeming@lyx.org>
161
162         * GraphicsLoader.[Ch]: smart loading of images. Images are loaded only
163         if visible 2 secs after the call to load them is first made.
164
165         * GraphicsSupport.[Ch]: new files. isInsetVisible interrogates the
166         BufferView to ascertain whether the inset is visible or not.
167
168         * Makefile.am: added GraphicsSupport.[Ch].
169
170         * PreviewImage.[Ch]: use this smart loader.
171
172         * PreviewLoader.C: don't load generated image files indiscimminantly.
173         Instead emit the imageReady signal and allow the image owner to decide.
174
175 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
176
177         * GraphicsCache.C: remove init_graphics()
178
179 2002-07-09  Angus Leeming  <leeming@lyx.org>
180
181         * PreviewLoader.C (setAscentFractions): fix bug due to use of integer
182         arithmetic when it should be floating.
183
184 2002-07-09  Angus Leeming  <leeming@lyx.org>
185
186         * PreviewLoader.C (startLoading): prepend LaTeX file with "\batchmode".
187         Output equation labels as "(#)" if lyxrc preference is set.
188         (setFontScalingFactor): use lyxrc variable preview_scale_factor
189         rather than hard-coding this.
190
191 2002-07-09  Angus Leeming  <leeming@lyx.org>
192
193         * PreviewLoader.C: Further refactoring of the code. Should now be
194         pretty clean.
195
196         * PreviewMetrics.[Ch]: removed. Had a v. short shelf life and is now
197         past its sell-by date. The code to read the metrics file is now found
198         as a helper function in PreviewLoader.C.
199
200         * GraphicsImageXPM.C (scale): use boost::tie.
201
202 2002-07-08  Herbert Voss  <voss@lyx.org>
203
204         * PreviewLoader.C: use of preview_size_factor to get the right
205         font-size! 0.9 is the default.
206
207 2002-07-08  Angus Leeming  <leeming@lyx.org>
208
209         * PreviewLoader.C: Add "delayed" and "showlabels" options to the
210         invocation of preview.sty.
211         Perform something of an internal clean-up.
212
213 2002-07-06  Angus Leeming  <leeming@lyx.org>
214
215         * PreviewLoader.C: ensure that the metrics data is used by the
216         correct image!
217
218         * PreviewLoader.C:
219         * PreviewImage.C: (Impl d-tor): remove all generated files that still
220         exist (perhaps because the process was curtailed before the images
221         were loaded.)
222
223         * PreviewLoader.C (unique_filename): store the files in Buffer::tmppath.
224
225 2002-07-05  Angus Leeming  <leeming@lyx.org>
226
227         * PreviewImage.h:
228         * PreviewImage.C:
229         * PreviewLoader.h:
230         * PreviewLoader.C:
231         * PreviewMetrics.h:
232         * PreviewMetrics.C:
233         * Previews.h:
234         * Previews.C: new files. The previewed LaTeX snippet stuff.
235
236         * Makefile.am: add these files.
237
238 2002-07-05  Angus Leeming  <leeming@lyx.org>
239
240         * GraphicsLoader.h: whitespace.
241
242 2002-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
243
244         * GraphicsImage.[Ch]: newImage and loadableFormats changed to
245         boost::function from boost::signal.
246
247 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
248
249         * GraphicsConverter.C (convert): do not use ChangeExtension
250         because to_file_base may contain a dot.
251
252 2002-06-28  Angus Leeming  <leeming@lyx.org>
253
254         * GraphicsCacheItem.[Ch]: refactor some of the more convoluted logic
255         by moving those SignalPtrs into the grfx::Image and grfx::Converter
256         classes where they really belong.
257         Use the Pimpl idiom to hide the class internals from public view.
258
259         * GraphicsTypes: remove the typedefs, leaving only the enums.
260
261         * GraphicsImage.h: now has a finishedLoading signal, as opposed to being
262         passed a reference to one in the load() method.
263
264         * GraphicsConverter.[Ch]: totally refactored. An instance of
265         grfx::Converter now represents a single conversion process.
266         Thus grfx::CachItem now has a grfx::Converter * that is set when the
267         conversion is initiated and destroyed on completion.
268
269         * GraphicsCache.[Ch]:
270         * GraphicsCacheItem.[Ch]:
271         * GraphicsConverter.[Ch]:
272         * GraphicsLoader.[Ch]: use the Pimpl idiom to hide the class internals
273         from public view.
274         Note that I have done this only after making the above changes,
275         so not only should we have a clean, minimal and well documented
276         interface to these classes in the header files, but the class internals
277         should be much clearer too.
278
279         * Renamed classes
280         grfx::GCache -> grfx::Cache,
281         grfx::GCacheItem -> grfx::CacheItem,
282         grfx::GConverter -> grfx::Converter,
283         grfx::GImage -> grfx::Image,
284         grfx::GImageXPM -> grfx::ImageXPM,
285         grfx::GParams -> grfx::Params.
286
287 2002-06-26  Angus Leeming  <leeming@lyx.org>
288
289         * GraphicsLoader.[Ch]: use boost::scoped_ptr in preference to
290         std::auto_ptr. Define an empty Loader d-tor out-of-line to ensure it
291         compiles.
292
293 2002-06-26  Angus Leeming  <leeming@lyx.org>
294
295         * GraphicsTypes.h: add "Ready" to the ImageStatus enum.
296         move the DisplayType enum out of grfx::GParams to here.
297
298         * GraphicsCacheItem.h: re-write preliminary description to reflect
299         current reality.
300
301         * GraphicsParams.[Ch]:
302         * GraphicsImageXPM.C (load, setPixmap): changes aassociated with moving
303         grfx::DisplayType out of grfx::GParams.
304
305         * GraphicsLoader.[Ch]: new files. Factor out the image loading stuff
306         that was in frontends/screen.C and insets/insetgraphics.C into a
307         single, easy-to-use class.
308
309         * Makefile.am: add these files.
310
311 2002-06-25  Angus Leeming  <leeming@lyx.org>
312
313         * GraphicsCache.[Ch]:
314         * GraphicsCacheItem.[Ch]:
315         * GraphicsTypes.h: rewrite the graphics cache to just load a graphics
316         file into memory. The cache no longer controls the generation of the
317         pixmap. Instead, it just emits a signal when the loading status of an
318         image changes.
319         The cache no longer stores InsetGraphics pointers and nor does it
320         assume responsibility for modifying an image (scaling, rotating etc).
321         Instead, that must now be performed elsewhere.
322
323 2002-06-19  Angus Leeming  <leeming@lyx.org>
324
325         * GraphicsConverter.C: add using std::endl directive.
326
327 2002-06-17  Herbert Voss  <voss@lyx.org>
328
329         * GraphicsCachItem.C: (findTargetFormat)return xpm-format as a
330         default when nothing different was found
331         (convertToDisplayFormat): handle zipped files in the right way and
332         choose always convert as a default converter when no other
333         userdefined was found
334
335         * GraphicsConverter.C: add more lyxerr comments and choose
336         convert when no other userdefined converter was found
337
338 2002-06-10  Herbert Voss  <voss@lyx.org>
339
340         * GraphicsImageXPM.C (convertTo7chars): get another special color
341         format from convert work in the right way
342
343 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
344
345         * GraphicsCache.C: use right colormap incantation
346
347 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
348
349         * GraphicsCache.C: use lyx_gui namespace
350
351         * GraphicsImageXPM.C: back down to using xforms
352           directly again
353
354 2002-06-07  Angus Leeming  <leeming@lyx.org>
355
356         Fixes needed to compile with Compaq cxx 6.5.
357         * GraphicsConverter.h: forward declare class ConvProcess.
358
359         * GraphicsImageXPM.C:
360         all c-library variables have been moved into namespace std.
361         Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
362
363 2002-06-06  Angus Leeming  <a.leeming@ic.ac.uk>
364
365         * GraphicsImageXPM.C (rotate): rotate in the same sense as xdvi!
366
367 2002-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
368
369         * GraphicsImageXPM.C: SigC to boot::signals changes.
370         (newImage): fix () bug when using new.
371
372 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
373
374         * switch from SigC signals to boost::signals.
375
376 2002-05-29  André Pönitz <poenitz@gmx.net>
377
378         * GraphicsParam.C: remove unneeded #include, move vomment
379
380 2002-05-28  André Pönitz <poenitz@gmx.net>
381
382         * GraphicsParam.[Ch]: move inset related stuff to inset/insetgraphics
383
384 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
385
386         * GraphicsImageXPM.C: ColorHandler moved
387
388 2002-05-24  Juergen Vigna  <jug@sad.it>
389
390         * GraphicsCache.h:
391         * GraphicsImage.h: include LString.h first.
392
393 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
394
395         * GraphicsCacheItem.h: use more specific smart_ptr header.
396         * GraphicsTypes.h: ditto
397         * GraphicsImage.h: ditto
398         * GraphicsConverter.h: ditto
399
400 2002-04-28  John Levon  <moz@compsoc.man.ac.uk>
401
402         * GraphicsImageXPM.C: understand convert's use of "opaque"
403           as a colour name
404
405 2002-04-19  Marco Morandini <morandini@aero.polimi.it>
406
407         * GraphicsCache.[Ch] (loadableFormats): new method. A wrapper for
408         GImage::loadableFormats() that ensures that the signal is connected
409         to the derived class' method.
410
411 2002-04-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
412
413         * GraphicsImageXPM.C (convertTo7chars): drop all conversions and
414         only work on the string.
415
416 2002-04-17  Angus Leeming  <a.leeming@ic.ac.uk>
417
418         * GraphicsImageXPM.C (Data::reset): Fix the loading of xpm files by
419         the simple image loader when it encounters colour strings like
420         #rrrrggggbbbb.
421
422 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
423
424         * GraphicsCacheItem.C (convertToDisplayFormat):
425         * GraphicsConverter.C (build_script): remove the Alerts when things go
426         wrong as the inset displays the message anyway. Moreover, Alert seems
427         pretty temperamemtal at the moment.
428
429 2002-04-16  Rob Lahaye  <lahaye@users.sourceforge.net>
430
431         * GraphicsImageXPM.C: fix clipping for boundingbox y-coordinates
432
433 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
434
435         * GraphicsCacheItem.C (findTargetFormat): fix bug waiting to bite:
436         a reference to a temp object that's going out of scope...
437
438 2002-04-09  Herbert Voss  <voss@lyx.org>
439
440         * GraphicsParams.C (BoundingBox c-tor): fix rounding errors by using
441         LyXLength::inBP instead of inPixels.
442
443 2002-04-10  Herbert Voss  <voss@perce.de>
444
445         * GraphicsCache.[Ch]:
446         * GraphicsCacheItem.[Ch]: add width/height functions from Angus
447         to read the "Bounding Box" from non (e)ps files.
448
449 2002-04-08  Angus Leeming  <a.leeming@ic.ac.uk>
450
451         * GraphicsParams.C (c-tor): if clipping, then check the Bounding Box of
452         the EPS file too, to ensure that the clipped Bounding Box is relative
453         to the original. (From Herbert.)
454
455 2002-04-04  Angus Leeming  <a.leeming@ic.ac.uk>
456
457         * GraphicsParams.C (BoundingBox c-tor): ensure that the member
458         variables are initialised. Clean-up parsing of the string (with thanks
459         to Herbert.)
460
461 2002-03-26  Angus Leeming  <a.leeming@ic.ac.uk>
462
463         * GraphicsCacheItem.C (convertToDisplayFormat): don't launch that Alert
464         if the file can't be found.
465
466         * GraphicsParams.h (c-tor): remove string() as default argument.
467
468         * GraphicsCacheItem.C: a couple of changes as a result.
469
470 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
471
472         * GraphicsCache.[Ch] (update): now passed filepath to determine absolute
473         path to graphics file.
474
475         * GraphicsParams.[Ch] (c-tor): now passed filepath.
476
477 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
478
479         * most files: ws cleanup
480
481         * Makefile.am: remove ld -r stuff
482
483 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
484
485         * Makefile.am: special rules if partial linking
486
487 2002-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
488
489         * GraphicsCache.C: use Lars' preferred idiom for a for-loop.
490
491 2002-03-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
492
493         * GraphicsConverter.[Ch] (converted): make first arg const ref.
494
495         * GraphicsCacheItem.h: doxy change
496
497         * GraphicsCacheItem.C: ws change
498
499 2002-03-05  Angus Leeming  <a.leeming@ic.ac.uk>
500
501         * Makefile.am: if there is no image loading class leveraging the power
502         of the appropriate gui library, then compile the basic alternative
503         found in GraphicsImageXPM.[Ch].
504
505 2002-03-04  Angus Leeming  <a.leeming@ic.ac.uk>
506
507         * GraphicsCache.C: change associated with move of initialiseGraphics
508         to GUIRuntime.
509
510 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
511
512         * GraphicsParams.[Ch]:
513         * GraphicsImage.C:
514         * GraphicsImageXPM.C: properly resolve more warnings about comparison
515         between signed and unsigned integer expressions.
516
517         * Makefile.am: add GraphicsTypes.h which I'd carelessly left out.
518
519         * GraphicsCache.C: move connections to the GImage-derived classes to
520         the frontends.
521
522         * GraphicsImageXPM.C (copy c-tor): don't copy pixmap.
523
524         * GraphicsCacheItem.C (findTargetFormat): if we can load direct without
525         conversion, then do that.
526
527 2002-02-27  Angus Leeming  <a.leeming@ic.ac.uk>
528
529         * GraphicsCache.C: improve commentary to graphicsInit and where it
530         should really go.
531
532         * GraphicsImageXPM.C (~Data, free_color_table): resolve the crash
533         that became a memory leak properly. (Let the shared_c_ptr free the
534         color table.)
535         (reset, mapcolor): tidy up and introduce a work around for XPM files
536         with crappy color entries. Print out a nice friendly message on what's
537         gone wrong and how to resolve it properly.
538
539 2002-02-27  Angus Leeming  <a.leeming@ic.ac.uk>
540
541         * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
542         (Data d-tor): introduce memory leak temporarily, to "fix" a crash
543         in free_color_table.
544         (unique_color_string): use the correct string c-tor.
545
546 2002-02-15  Angus Leeming  <a.leeming@ic.ac.uk>
547
548         * ImageLoader.[Ch]:
549         * ImageLoaderXPM.[Ch]: removed.
550
551         * GraphicsConverter.[Ch]:
552         * GraphicsImage.[Ch]:
553         * GraphicsImageXPM.[Ch]:
554         * GraphicsParams.[Ch]:
555         * GraphicsTypes.h: new files.
556
557         * All files. A total re-write of the graphics cache. The cache now
558         supports asynchronous file conversion and file loading. Images
559         can be cropped, rotated and scaled for display on the LyX screen.
560         The old LyXImage and ImageLoader have been combined in a new class
561         GImage. Ditto, ImageLoaderXPM's functionality has been moved into
562         GImageXPM.
563
564 2002-02-07  Herbert Voss  <voss@lyx.org>
565
566         * GraphicsCacheItem.C: use unzipFile() from support/filetools
567
568 2002-01-31  Herbert Voss  <voss@lyx.org>
569
570         * GraphicsCacheItem.h: handle filetype without the file extension;
571         getting type from contents; handle zipped files
572
573 2002-01-27  Herbert Voss  <voss@lyx.org>
574
575         * GraphicsCacheItem.h: added Converting to the ImageStatus enum.
576
577 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
578
579         * ImageLoaderXPM.C: don't set XpmColorKey flag if we don't use it
580
581 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
582
583         * GraphicsCacheItem.h: do not include <config.h> in header files
584
585 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
586
587         * ImageLoaderXPM.C (runImageLoader): If the pixmap contains a
588         transparent colour, then set it to the colour of the background.
589         Also take account of the monochrome, grayscale of color
590         preferences option.
591
592 2001-09-20  Angus Leeming  <a.leeming@ic.ac.uk>
593
594         * GraphicsCacheItem.C (convertImage): only convert if "from" and "to"
595         are different. Thus, don't delete the "to" if it's the original!
596
597 2001-09-01  John Levon  <moz@compsoc.man.ac.uk>
598
599         * ImageLoadXPM.C: remove setting of alloc colour mask,
600           led to crash as we don't define a callback
601
602 2001-07-29  Baruch Even  <baruch@lyx.org>
603
604         * ImageLoaderXPM.C (runImageLoader): When loading agree to use non-exact
605         colors with closeness of 10000.
606
607         * GraphicsCacheItem.C: Fixed a compilation bug introduced earlier.
608
609 2001-07-29  Baruch Even  <baruch@lyx.org>
610
611         * GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
612         too annoying.
613
614 2001-07-23  Baruch Even  <baruch@lyx.org>
615
616         * GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading
617         the image after conversion.
618
619 2001-07-17  Baruch Even  <baruch@lyx.org>
620
621         * GraphicsCacheItem.h:
622         * GraphicsCacheItem.C: Shuffled things a bit to make it easier to switch
623         from synchronous to asynchronous and to ease the coming changes.
624
625 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
626
627         * ImageLoaderXPM.C (runImageLoader): get display information from
628         GUIRunTime.
629
630 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
631
632         * GraphicsCache.C:
633         * GraphicsCacheItem.C:
634         * ImageLoader.C:
635         * ImageLoaderXPM.C: removed // -*- C++ -*- as first line.
636
637 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
638
639         * GraphicsCache.h: inherit privately from noncopyable
640         * ImageLoader.h: ditto
641         * GraphicsCacheItem.h: ditto
642
643 2001-04-16  Allan Rae  <rae@lyx.org>
644
645         * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun
646         CC 6.0 as an unrecognised preprocessor directive.  So ensure they're
647         wrapped.
648
649 2001-04-02  Baruch Even  <baruch@lyx.org>
650
651         * GraphicsCacheItem.[Ch]: Changed to used the Converter class instead
652         of hard coding ImageMagick.
653
654 2001-03-10  Baruch Even  <baruch@lyx.org>
655
656         * GraphicsCache.C: Style change from (*it).field to it->field
657
658 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
659
660         * GraphicsCache.h: noncopyable is in namespace boost
661         * ImageLoader.h: ditto
662         * GraphicsCacheItem.h: ditto
663
664 2001-03-07  Baruch Even  <baruch@lyx.org>
665
666         * GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
667         was false and it's not needed anyhow since the shared_ptr's in the cache
668         will destroy everything on exit.
669
670 2001-02-28  Baruch Even  <baruch@ev-en.org>
671
672         * GraphicsCache.h:
673         * GraphicsCache.C: Changed the singleton pattern implementation, the
674         former version "leaked" in the sense that it was not deallocated at
675         program end.
676
677 2001-02-20  Baruch Even  <baruch@ev-en.org>
678
679         * GraphicsCache.C: Changed to use shared_ptr<GraphicsCacheItem>
680         instead of a pure pointer.
681
682         * GraphicsCacheItem.[Ch]:
683         * GraphicsCacheItem_pimpl.[Ch]: Collapsed them into GraphicsCacheItem,
684         removed the reference counting that was inside. Also fixed a bug where
685         a temporary file wouldn't get erased.
686
687         * ImageLoader.[Ch]: Changed the semantics of the image_ pointers usage.
688         Ownership is now dropped when the caller requests the image_ pointer.
689
690 2001-02-20  Baruch Even  <baruch@ev-en.org>
691
692         * GraphicsCache.C: Cleared up the confusion on when and how it is
693         emptied.
694
695         * GraphicsCacheItem.C: Indentation change.
696
697         * GraphicsCacheItem_pimpl.C: Fixed the loading logic so that it will
698         figure correctly when the image has been loaded successfully.
699
700 2001-02-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
701
702         * ImageLoader.C: add a "using" directive.
703
704         * ImageLoader.h: remove extra comma at the end of enum; add an
705         std:: qualifier for vector.
706
707 2001-01-21  Baruch Even  <baruch@ev-en.org>
708
709         * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
710         height in the image itself and minor cleanups.
711
712         * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
713         new ImageLoader class instead of the older Renderer class. This
714         means change of responsibilities.