1 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
3 * GraphicsImage.C: small style fix to width/height setting.
5 * GraphicsTypes.h: have a displayTranslator here.
8 * GraphicsTypes.C: new file added for the setDisplayTranslator();
10 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
13 * GraphicsParams.[Ch]: remove keepLyXAspectRatio, width and height
14 because this input has gone from the graphics dialog.
16 * GraphicsTypes.h: add enum DisplayType DefaultDisplay
18 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
20 * GraphicsImageXPM.h: inlcude boost/shared_ptr.hpp, remove include
21 for support/smart_ptr.h, switch to boost smart ptr.
23 * GraphicsImageXPM.C: reorder includes, include boost/bind.hpp
24 (~Data): let the smart_ptr handle cleanup
25 (reset): use nifty 3rd arg
27 (free_color_table): free the table manually
29 2002-08-09 Angus Leeming <leeming@lyx.org>
31 * PreviewLoader.C (dumpPreamble): pass Buffer::filePath() to
32 Buffer::makeLaTeXFile() so that LaTeX can find \input files because
33 input@path is now set correctly.
35 2002-08-06 Angus Leeming <leeming@lyx.org>
37 * PreviewLoader.C: add support for preview.sty 0.73 (currently
38 #ifdef-ed out, awaiting the formal release).
40 * PreviewedInset.[Ch] (removePreview): new method. Useful if previewing
41 the contents of a file that has changed.
43 2002-08-05 Angus Leeming <leeming@lyx.org>
45 * PreviewLoader.C (dumpPreamble): add lyx to the list of options output
46 to preview.sty. Works only for versions of preview.sty > 0.72b but
47 doesn't hurt earlier versions. Allows me to test the new parsing of
48 LyX-specific data from the generated log file.
50 2002-08-02 Angus Leeming <leeming@lyx.org>
52 * GraphicsLoader.C: cache the BufferView as a weak_ptr.
54 * PreviewLoader.[Ch] (buffer): new method, returning the owner.
55 (add): don't add empty snippets.
57 * PreviewedInset.[Ch]: cache the BufferView as a weak_ptr.
58 (view, setView): access to to the cache_.
60 2002-08-02 Angus Leeming <leeming@lyx.org>
62 * PreviewedInset.[Ch]: cache the LaTeX snippet.
64 2002-08-01 Angus Leeming <leeming@lyx.org>
66 * PreviewedInset.[Ch]: new files. An abstract base class that can help
67 insets to generate previews.
68 The daughter class must instantiate three small methods.
69 The Inset would own an instance of this daughter class and invoke it
70 as necessary. For example, mathd/formula.C gets previews at the cost
71 of 15 or so lines of code.
73 * Makefile.am: add PreviewedInset.[Ch].
75 * PreviewLoader.C (add): add debug message.
77 * Previews.C (generateBufferPreviews): remove if-block from loop.
79 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
81 * PreviewLoader.C (setFontScalingFactor): strip,frontStrip ->
83 (setAscentFractions): ditto
85 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
87 * PreviewLoader.C (setAscentFractions): modify because of strip
90 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
92 * GraphicsConverter.C (build_script): take a ostream as a more
93 general argument than ostringstream.
95 2002-07-22 Herbert Voss <voss@lyx.org>
97 * GraphicsConverter.C: get the "default converter" run again
99 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
101 * PreviewLoader.C: use BufferParams::getLyXTextClass
103 2002-07-21 Herbert Voss <voss@lyx.org>
105 * GraphicsImage.C: get the LyXAspectRatio run.
107 * GraphicsParams.[Ch]: add bool keepLyXXAspectRatio
109 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
111 * PreviewLoader.C (startLoading): pass an interger as resolution
112 to the lyxpreview converter
114 * GraphicsParams.C: include <cstdlib>
116 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
118 * PreviewLoader.C (startLoading): use LibScriptSearch to find the
119 preview converter script
121 2002-07-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
123 * GraphicsCacheItem.C (reset): use erase() instead of clear() for
126 2002-07-18 Angus Leeming <leeming@lyx.org>
128 * GraphicsCacheItem.[Ch]: add a FileMonitor variable to the the Impl
130 (startMonitoring, monitoring, checksum): new methods to interact with
133 * GraphicsLoader.[Ch] (startMonitoring, monitoring, checksum): new
134 methods invoking the CacheItem methods of the same name.
135 (resetFile): if monitoring and the file changes, start monitoring this
138 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
140 * Makefile.am: remove FileMonitor.[Ch]
142 2002-06-17 Herbert Voss <voss@lyx.org>
144 * GraphicsCachItem.C (findTargetFormat): remove the speciell case
145 for old ps-files (Garst). It's now handled by defining a converter and
146 disabling the ps-support of xforms.
148 2002-07-17 Angus Leeming <leeming@lyx.org>
150 Be true to the Pimpl idiom, moving all signals into the respective
151 Impl classes and defining methods to connect them to an outside slot.
152 Const-ify all visible class methods as they act only on a const pimpl_.
154 * GraphicsCache.[Ch] (add, remove): const-ify.
156 * GraphicsCacheItem.[Ch] (startLoading): const-ify.
157 (statusChanged): move the signal into the Impl class.
158 (connect): new method, enabling a listener to connect to this signal.
160 * GraphicsConverter.[Ch]: (startConversion): const-ify.
161 (finishedConversion): move the signal into the Impl class.
162 (connect): new method, enabling a listener to connect to this signal.
164 * GraphicsLoader.[Ch] (reset, startLoading): const-ify.
165 (statusChanged): move the signal into the Impl class.
166 (connect): new method, enabling a listener to connect to this signal.
168 * PreviewLoader.[Ch] (add, remove, startLoading): const-ify.
169 (imageReady): move the signal into the Impl class.
170 (connect): new method, enabling a listener to connect to this signal.
171 (emitSignal): new method, enabling PreviewImage to tell the outside
172 world that the file has been loaded into memory.
174 * Previews.[Ch] (loader, removeLoader, generateBufferPreviews):
178 * GraphicsCacheItem.C:
179 * GraphicsConverter.[Ch]:
181 * GraphicsImageXPM.C:
183 * PreviewLoader.[Ch]: whitespace clean-up.
185 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
187 * PreviewLoader.C (setConverter): remove unused variable
189 * GraphicsImageXPM.C (isDrawable): implement
190 (setPixmap): the opaque color is black, not white
192 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
194 * GraphicsImageXPM.C (color_none_id):
195 (contains_color_none): use ascii_lowercase instead of lowercase
197 2002-07-16 Angus Leeming <leeming@lyx.org>
199 * PreviewLoader.C: greater use of STL algorithms.
201 * Previews.[Ch]: use const in more places.
202 (generateBufferPreviews): now takes a Buffer const & argument, not a
205 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
207 * GraphicsImage.h: remove getPixmap/X, add isDrawable()
209 2002-07-12 Angus Leeming <leeming@lyx.org>
211 * GraphicsLoader.[Ch]: smart loading of images. Images are loaded only
212 if visible 2 secs after the call to load them is first made.
214 * GraphicsSupport.[Ch]: new files. isInsetVisible interrogates the
215 BufferView to ascertain whether the inset is visible or not.
217 * Makefile.am: added GraphicsSupport.[Ch].
219 * PreviewImage.[Ch]: use this smart loader.
221 * PreviewLoader.C: don't load generated image files indiscimminantly.
222 Instead emit the imageReady signal and allow the image owner to decide.
224 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
226 * GraphicsCache.C: remove init_graphics()
228 2002-07-09 Angus Leeming <leeming@lyx.org>
230 * PreviewLoader.C (setAscentFractions): fix bug due to use of integer
231 arithmetic when it should be floating.
233 2002-07-09 Angus Leeming <leeming@lyx.org>
235 * PreviewLoader.C (startLoading): prepend LaTeX file with "\batchmode".
236 Output equation labels as "(#)" if lyxrc preference is set.
237 (setFontScalingFactor): use lyxrc variable preview_scale_factor
238 rather than hard-coding this.
240 2002-07-09 Angus Leeming <leeming@lyx.org>
242 * PreviewLoader.C: Further refactoring of the code. Should now be
245 * PreviewMetrics.[Ch]: removed. Had a v. short shelf life and is now
246 past its sell-by date. The code to read the metrics file is now found
247 as a helper function in PreviewLoader.C.
249 * GraphicsImageXPM.C (scale): use boost::tie.
251 2002-07-08 Herbert Voss <voss@lyx.org>
253 * PreviewLoader.C: use of preview_size_factor to get the right
254 font-size! 0.9 is the default.
256 2002-07-08 Angus Leeming <leeming@lyx.org>
258 * PreviewLoader.C: Add "delayed" and "showlabels" options to the
259 invocation of preview.sty.
260 Perform something of an internal clean-up.
262 2002-07-06 Angus Leeming <leeming@lyx.org>
264 * PreviewLoader.C: ensure that the metrics data is used by the
268 * PreviewImage.C: (Impl d-tor): remove all generated files that still
269 exist (perhaps because the process was curtailed before the images
272 * PreviewLoader.C (unique_filename): store the files in Buffer::tmppath.
274 2002-07-05 Angus Leeming <leeming@lyx.org>
283 * Previews.C: new files. The previewed LaTeX snippet stuff.
285 * Makefile.am: add these files.
287 2002-07-05 Angus Leeming <leeming@lyx.org>
289 * GraphicsLoader.h: whitespace.
291 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
293 * GraphicsImage.[Ch]: newImage and loadableFormats changed to
294 boost::function from boost::signal.
296 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
298 * GraphicsConverter.C (convert): do not use ChangeExtension
299 because to_file_base may contain a dot.
301 2002-06-28 Angus Leeming <leeming@lyx.org>
303 * GraphicsCacheItem.[Ch]: refactor some of the more convoluted logic
304 by moving those SignalPtrs into the grfx::Image and grfx::Converter
305 classes where they really belong.
306 Use the Pimpl idiom to hide the class internals from public view.
308 * GraphicsTypes: remove the typedefs, leaving only the enums.
310 * GraphicsImage.h: now has a finishedLoading signal, as opposed to being
311 passed a reference to one in the load() method.
313 * GraphicsConverter.[Ch]: totally refactored. An instance of
314 grfx::Converter now represents a single conversion process.
315 Thus grfx::CachItem now has a grfx::Converter * that is set when the
316 conversion is initiated and destroyed on completion.
318 * GraphicsCache.[Ch]:
319 * GraphicsCacheItem.[Ch]:
320 * GraphicsConverter.[Ch]:
321 * GraphicsLoader.[Ch]: use the Pimpl idiom to hide the class internals
323 Note that I have done this only after making the above changes,
324 so not only should we have a clean, minimal and well documented
325 interface to these classes in the header files, but the class internals
326 should be much clearer too.
329 grfx::GCache -> grfx::Cache,
330 grfx::GCacheItem -> grfx::CacheItem,
331 grfx::GConverter -> grfx::Converter,
332 grfx::GImage -> grfx::Image,
333 grfx::GImageXPM -> grfx::ImageXPM,
334 grfx::GParams -> grfx::Params.
336 2002-06-26 Angus Leeming <leeming@lyx.org>
338 * GraphicsLoader.[Ch]: use boost::scoped_ptr in preference to
339 std::auto_ptr. Define an empty Loader d-tor out-of-line to ensure it
342 2002-06-26 Angus Leeming <leeming@lyx.org>
344 * GraphicsTypes.h: add "Ready" to the ImageStatus enum.
345 move the DisplayType enum out of grfx::GParams to here.
347 * GraphicsCacheItem.h: re-write preliminary description to reflect
350 * GraphicsParams.[Ch]:
351 * GraphicsImageXPM.C (load, setPixmap): changes aassociated with moving
352 grfx::DisplayType out of grfx::GParams.
354 * GraphicsLoader.[Ch]: new files. Factor out the image loading stuff
355 that was in frontends/screen.C and insets/insetgraphics.C into a
356 single, easy-to-use class.
358 * Makefile.am: add these files.
360 2002-06-25 Angus Leeming <leeming@lyx.org>
362 * GraphicsCache.[Ch]:
363 * GraphicsCacheItem.[Ch]:
364 * GraphicsTypes.h: rewrite the graphics cache to just load a graphics
365 file into memory. The cache no longer controls the generation of the
366 pixmap. Instead, it just emits a signal when the loading status of an
368 The cache no longer stores InsetGraphics pointers and nor does it
369 assume responsibility for modifying an image (scaling, rotating etc).
370 Instead, that must now be performed elsewhere.
372 2002-06-19 Angus Leeming <leeming@lyx.org>
374 * GraphicsConverter.C: add using std::endl directive.
376 2002-06-17 Herbert Voss <voss@lyx.org>
378 * GraphicsCachItem.C: (findTargetFormat)return xpm-format as a
379 default when nothing different was found
380 (convertToDisplayFormat): handle zipped files in the right way and
381 choose always convert as a default converter when no other
382 userdefined was found
384 * GraphicsConverter.C: add more lyxerr comments and choose
385 convert when no other userdefined converter was found
387 2002-06-10 Herbert Voss <voss@lyx.org>
389 * GraphicsImageXPM.C (convertTo7chars): get another special color
390 format from convert work in the right way
392 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
394 * GraphicsCache.C: use right colormap incantation
396 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
398 * GraphicsCache.C: use lyx_gui namespace
400 * GraphicsImageXPM.C: back down to using xforms
403 2002-06-07 Angus Leeming <leeming@lyx.org>
405 Fixes needed to compile with Compaq cxx 6.5.
406 * GraphicsConverter.h: forward declare class ConvProcess.
408 * GraphicsImageXPM.C:
409 all c-library variables have been moved into namespace std.
410 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
412 2002-06-06 Angus Leeming <a.leeming@ic.ac.uk>
414 * GraphicsImageXPM.C (rotate): rotate in the same sense as xdvi!
416 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
418 * GraphicsImageXPM.C: SigC to boot::signals changes.
419 (newImage): fix () bug when using new.
421 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
423 * switch from SigC signals to boost::signals.
425 2002-05-29 André Pönitz <poenitz@gmx.net>
427 * GraphicsParam.C: remove unneeded #include, move vomment
429 2002-05-28 André Pönitz <poenitz@gmx.net>
431 * GraphicsParam.[Ch]: move inset related stuff to inset/insetgraphics
433 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
435 * GraphicsImageXPM.C: ColorHandler moved
437 2002-05-24 Juergen Vigna <jug@sad.it>
440 * GraphicsImage.h: include LString.h first.
442 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
444 * GraphicsCacheItem.h: use more specific smart_ptr header.
445 * GraphicsTypes.h: ditto
446 * GraphicsImage.h: ditto
447 * GraphicsConverter.h: ditto
449 2002-04-28 John Levon <moz@compsoc.man.ac.uk>
451 * GraphicsImageXPM.C: understand convert's use of "opaque"
454 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
456 * GraphicsCache.[Ch] (loadableFormats): new method. A wrapper for
457 GImage::loadableFormats() that ensures that the signal is connected
458 to the derived class' method.
460 2002-04-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
462 * GraphicsImageXPM.C (convertTo7chars): drop all conversions and
463 only work on the string.
465 2002-04-17 Angus Leeming <a.leeming@ic.ac.uk>
467 * GraphicsImageXPM.C (Data::reset): Fix the loading of xpm files by
468 the simple image loader when it encounters colour strings like
471 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
473 * GraphicsCacheItem.C (convertToDisplayFormat):
474 * GraphicsConverter.C (build_script): remove the Alerts when things go
475 wrong as the inset displays the message anyway. Moreover, Alert seems
476 pretty temperamemtal at the moment.
478 2002-04-16 Rob Lahaye <lahaye@users.sourceforge.net>
480 * GraphicsImageXPM.C: fix clipping for boundingbox y-coordinates
482 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
484 * GraphicsCacheItem.C (findTargetFormat): fix bug waiting to bite:
485 a reference to a temp object that's going out of scope...
487 2002-04-09 Herbert Voss <voss@lyx.org>
489 * GraphicsParams.C (BoundingBox c-tor): fix rounding errors by using
490 LyXLength::inBP instead of inPixels.
492 2002-04-10 Herbert Voss <voss@perce.de>
494 * GraphicsCache.[Ch]:
495 * GraphicsCacheItem.[Ch]: add width/height functions from Angus
496 to read the "Bounding Box" from non (e)ps files.
498 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
500 * GraphicsParams.C (c-tor): if clipping, then check the Bounding Box of
501 the EPS file too, to ensure that the clipped Bounding Box is relative
502 to the original. (From Herbert.)
504 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
506 * GraphicsParams.C (BoundingBox c-tor): ensure that the member
507 variables are initialised. Clean-up parsing of the string (with thanks
510 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
512 * GraphicsCacheItem.C (convertToDisplayFormat): don't launch that Alert
513 if the file can't be found.
515 * GraphicsParams.h (c-tor): remove string() as default argument.
517 * GraphicsCacheItem.C: a couple of changes as a result.
519 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
521 * GraphicsCache.[Ch] (update): now passed filepath to determine absolute
522 path to graphics file.
524 * GraphicsParams.[Ch] (c-tor): now passed filepath.
526 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
528 * most files: ws cleanup
530 * Makefile.am: remove ld -r stuff
532 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
534 * Makefile.am: special rules if partial linking
536 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
538 * GraphicsCache.C: use Lars' preferred idiom for a for-loop.
540 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
542 * GraphicsConverter.[Ch] (converted): make first arg const ref.
544 * GraphicsCacheItem.h: doxy change
546 * GraphicsCacheItem.C: ws change
548 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
550 * Makefile.am: if there is no image loading class leveraging the power
551 of the appropriate gui library, then compile the basic alternative
552 found in GraphicsImageXPM.[Ch].
554 2002-03-04 Angus Leeming <a.leeming@ic.ac.uk>
556 * GraphicsCache.C: change associated with move of initialiseGraphics
559 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
561 * GraphicsParams.[Ch]:
563 * GraphicsImageXPM.C: properly resolve more warnings about comparison
564 between signed and unsigned integer expressions.
566 * Makefile.am: add GraphicsTypes.h which I'd carelessly left out.
568 * GraphicsCache.C: move connections to the GImage-derived classes to
571 * GraphicsImageXPM.C (copy c-tor): don't copy pixmap.
573 * GraphicsCacheItem.C (findTargetFormat): if we can load direct without
574 conversion, then do that.
576 2002-02-27 Angus Leeming <a.leeming@ic.ac.uk>
578 * GraphicsCache.C: improve commentary to graphicsInit and where it
581 * GraphicsImageXPM.C (~Data, free_color_table): resolve the crash
582 that became a memory leak properly. (Let the shared_c_ptr free the
584 (reset, mapcolor): tidy up and introduce a work around for XPM files
585 with crappy color entries. Print out a nice friendly message on what's
586 gone wrong and how to resolve it properly.
588 2002-02-27 Angus Leeming <a.leeming@ic.ac.uk>
590 * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
591 (Data d-tor): introduce memory leak temporarily, to "fix" a crash
593 (unique_color_string): use the correct string c-tor.
595 2002-02-15 Angus Leeming <a.leeming@ic.ac.uk>
598 * ImageLoaderXPM.[Ch]: removed.
600 * GraphicsConverter.[Ch]:
601 * GraphicsImage.[Ch]:
602 * GraphicsImageXPM.[Ch]:
603 * GraphicsParams.[Ch]:
604 * GraphicsTypes.h: new files.
606 * All files. A total re-write of the graphics cache. The cache now
607 supports asynchronous file conversion and file loading. Images
608 can be cropped, rotated and scaled for display on the LyX screen.
609 The old LyXImage and ImageLoader have been combined in a new class
610 GImage. Ditto, ImageLoaderXPM's functionality has been moved into
613 2002-02-07 Herbert Voss <voss@lyx.org>
615 * GraphicsCacheItem.C: use unzipFile() from support/filetools
617 2002-01-31 Herbert Voss <voss@lyx.org>
619 * GraphicsCacheItem.h: handle filetype without the file extension;
620 getting type from contents; handle zipped files
622 2002-01-27 Herbert Voss <voss@lyx.org>
624 * GraphicsCacheItem.h: added Converting to the ImageStatus enum.
626 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
628 * ImageLoaderXPM.C: don't set XpmColorKey flag if we don't use it
630 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
632 * GraphicsCacheItem.h: do not include <config.h> in header files
634 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
636 * ImageLoaderXPM.C (runImageLoader): If the pixmap contains a
637 transparent colour, then set it to the colour of the background.
638 Also take account of the monochrome, grayscale of color
641 2001-09-20 Angus Leeming <a.leeming@ic.ac.uk>
643 * GraphicsCacheItem.C (convertImage): only convert if "from" and "to"
644 are different. Thus, don't delete the "to" if it's the original!
646 2001-09-01 John Levon <moz@compsoc.man.ac.uk>
648 * ImageLoadXPM.C: remove setting of alloc colour mask,
649 led to crash as we don't define a callback
651 2001-07-29 Baruch Even <baruch@lyx.org>
653 * ImageLoaderXPM.C (runImageLoader): When loading agree to use non-exact
654 colors with closeness of 10000.
656 * GraphicsCacheItem.C: Fixed a compilation bug introduced earlier.
658 2001-07-29 Baruch Even <baruch@lyx.org>
660 * GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
663 2001-07-23 Baruch Even <baruch@lyx.org>
665 * GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading
666 the image after conversion.
668 2001-07-17 Baruch Even <baruch@lyx.org>
670 * GraphicsCacheItem.h:
671 * GraphicsCacheItem.C: Shuffled things a bit to make it easier to switch
672 from synchronous to asynchronous and to ease the coming changes.
674 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
676 * ImageLoaderXPM.C (runImageLoader): get display information from
679 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
682 * GraphicsCacheItem.C:
684 * ImageLoaderXPM.C: removed // -*- C++ -*- as first line.
686 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
688 * GraphicsCache.h: inherit privately from noncopyable
689 * ImageLoader.h: ditto
690 * GraphicsCacheItem.h: ditto
692 2001-04-16 Allan Rae <rae@lyx.org>
694 * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun
695 CC 6.0 as an unrecognised preprocessor directive. So ensure they're
698 2001-04-02 Baruch Even <baruch@lyx.org>
700 * GraphicsCacheItem.[Ch]: Changed to used the Converter class instead
701 of hard coding ImageMagick.
703 2001-03-10 Baruch Even <baruch@lyx.org>
705 * GraphicsCache.C: Style change from (*it).field to it->field
707 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
709 * GraphicsCache.h: noncopyable is in namespace boost
710 * ImageLoader.h: ditto
711 * GraphicsCacheItem.h: ditto
713 2001-03-07 Baruch Even <baruch@lyx.org>
715 * GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
716 was false and it's not needed anyhow since the shared_ptr's in the cache
717 will destroy everything on exit.
719 2001-02-28 Baruch Even <baruch@ev-en.org>
722 * GraphicsCache.C: Changed the singleton pattern implementation, the
723 former version "leaked" in the sense that it was not deallocated at
726 2001-02-20 Baruch Even <baruch@ev-en.org>
728 * GraphicsCache.C: Changed to use shared_ptr<GraphicsCacheItem>
729 instead of a pure pointer.
731 * GraphicsCacheItem.[Ch]:
732 * GraphicsCacheItem_pimpl.[Ch]: Collapsed them into GraphicsCacheItem,
733 removed the reference counting that was inside. Also fixed a bug where
734 a temporary file wouldn't get erased.
736 * ImageLoader.[Ch]: Changed the semantics of the image_ pointers usage.
737 Ownership is now dropped when the caller requests the image_ pointer.
739 2001-02-20 Baruch Even <baruch@ev-en.org>
741 * GraphicsCache.C: Cleared up the confusion on when and how it is
744 * GraphicsCacheItem.C: Indentation change.
746 * GraphicsCacheItem_pimpl.C: Fixed the loading logic so that it will
747 figure correctly when the image has been loaded successfully.
749 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
751 * ImageLoader.C: add a "using" directive.
753 * ImageLoader.h: remove extra comma at the end of enum; add an
754 std:: qualifier for vector.
756 2001-01-21 Baruch Even <baruch@ev-en.org>
758 * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
759 height in the image itself and minor cleanups.
761 * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
762 new ImageLoader class instead of the older Renderer class. This
763 means change of responsibilities.