1 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * GraphicsImageXPM.h: inlcude boost/shared_ptr.hpp, remove include
4 for support/smart_ptr.h, switch to boost smart ptr.
6 * GraphicsImageXPM.C: reorder includes, include boost/bind.hpp
7 (~Data): let the smart_ptr handle cleanup
8 (reset): use nifty 3rd arg
10 (free_color_table): free the table manually
12 2002-08-09 Angus Leeming <leeming@lyx.org>
14 * PreviewLoader.C (dumpPreamble): pass Buffer::filePath() to
15 Buffer::makeLaTeXFile() so that LaTeX can find \input files because
16 input@path is now set correctly.
18 2002-08-06 Angus Leeming <leeming@lyx.org>
20 * PreviewLoader.C: add support for preview.sty 0.73 (currently
21 #ifdef-ed out, awaiting the formal release).
23 * PreviewedInset.[Ch] (removePreview): new method. Useful if previewing
24 the contents of a file that has changed.
26 2002-08-05 Angus Leeming <leeming@lyx.org>
28 * PreviewLoader.C (dumpPreamble): add lyx to the list of options output
29 to preview.sty. Works only for versions of preview.sty > 0.72b but
30 doesn't hurt earlier versions. Allows me to test the new parsing of
31 LyX-specific data from the generated log file.
33 2002-08-02 Angus Leeming <leeming@lyx.org>
35 * GraphicsLoader.C: cache the BufferView as a weak_ptr.
37 * PreviewLoader.[Ch] (buffer): new method, returning the owner.
38 (add): don't add empty snippets.
40 * PreviewedInset.[Ch]: cache the BufferView as a weak_ptr.
41 (view, setView): access to to the cache_.
43 2002-08-02 Angus Leeming <leeming@lyx.org>
45 * PreviewedInset.[Ch]: cache the LaTeX snippet.
47 2002-08-01 Angus Leeming <leeming@lyx.org>
49 * PreviewedInset.[Ch]: new files. An abstract base class that can help
50 insets to generate previews.
51 The daughter class must instantiate three small methods.
52 The Inset would own an instance of this daughter class and invoke it
53 as necessary. For example, mathd/formula.C gets previews at the cost
54 of 15 or so lines of code.
56 * Makefile.am: add PreviewedInset.[Ch].
58 * PreviewLoader.C (add): add debug message.
60 * Previews.C (generateBufferPreviews): remove if-block from loop.
62 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
64 * PreviewLoader.C (setFontScalingFactor): strip,frontStrip ->
66 (setAscentFractions): ditto
68 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
70 * PreviewLoader.C (setAscentFractions): modify because of strip
73 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
75 * GraphicsConverter.C (build_script): take a ostream as a more
76 general argument than ostringstream.
78 2002-07-22 Herbert Voss <voss@lyx.org>
80 * GraphicsConverter.C: get the "default converter" run again
82 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
84 * PreviewLoader.C: use BufferParams::getLyXTextClass
86 2002-07-21 Herbert Voss <voss@lyx.org>
88 * GraphicsImage.C: get the LyXAspectRatio run.
90 * GraphicsParams.[Ch]: add bool keepLyXXAspectRatio
92 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
94 * PreviewLoader.C (startLoading): pass an interger as resolution
95 to the lyxpreview converter
97 * GraphicsParams.C: include <cstdlib>
99 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
101 * PreviewLoader.C (startLoading): use LibScriptSearch to find the
102 preview converter script
104 2002-07-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
106 * GraphicsCacheItem.C (reset): use erase() instead of clear() for
109 2002-07-18 Angus Leeming <leeming@lyx.org>
111 * GraphicsCacheItem.[Ch]: add a FileMonitor variable to the the Impl
113 (startMonitoring, monitoring, checksum): new methods to interact with
116 * GraphicsLoader.[Ch] (startMonitoring, monitoring, checksum): new
117 methods invoking the CacheItem methods of the same name.
118 (resetFile): if monitoring and the file changes, start monitoring this
121 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
123 * Makefile.am: remove FileMonitor.[Ch]
125 2002-06-17 Herbert Voss <voss@lyx.org>
127 * GraphicsCachItem.C (findTargetFormat): remove the speciell case
128 for old ps-files (Garst). It's now handled by defining a converter and
129 disabling the ps-support of xforms.
131 2002-07-17 Angus Leeming <leeming@lyx.org>
133 Be true to the Pimpl idiom, moving all signals into the respective
134 Impl classes and defining methods to connect them to an outside slot.
135 Const-ify all visible class methods as they act only on a const pimpl_.
137 * GraphicsCache.[Ch] (add, remove): const-ify.
139 * GraphicsCacheItem.[Ch] (startLoading): const-ify.
140 (statusChanged): move the signal into the Impl class.
141 (connect): new method, enabling a listener to connect to this signal.
143 * GraphicsConverter.[Ch]: (startConversion): const-ify.
144 (finishedConversion): move the signal into the Impl class.
145 (connect): new method, enabling a listener to connect to this signal.
147 * GraphicsLoader.[Ch] (reset, startLoading): const-ify.
148 (statusChanged): move the signal into the Impl class.
149 (connect): new method, enabling a listener to connect to this signal.
151 * PreviewLoader.[Ch] (add, remove, startLoading): const-ify.
152 (imageReady): move the signal into the Impl class.
153 (connect): new method, enabling a listener to connect to this signal.
154 (emitSignal): new method, enabling PreviewImage to tell the outside
155 world that the file has been loaded into memory.
157 * Previews.[Ch] (loader, removeLoader, generateBufferPreviews):
161 * GraphicsCacheItem.C:
162 * GraphicsConverter.[Ch]:
164 * GraphicsImageXPM.C:
166 * PreviewLoader.[Ch]: whitespace clean-up.
168 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
170 * PreviewLoader.C (setConverter): remove unused variable
172 * GraphicsImageXPM.C (isDrawable): implement
173 (setPixmap): the opaque color is black, not white
175 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
177 * GraphicsImageXPM.C (color_none_id):
178 (contains_color_none): use ascii_lowercase instead of lowercase
180 2002-07-16 Angus Leeming <leeming@lyx.org>
182 * PreviewLoader.C: greater use of STL algorithms.
184 * Previews.[Ch]: use const in more places.
185 (generateBufferPreviews): now takes a Buffer const & argument, not a
188 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
190 * GraphicsImage.h: remove getPixmap/X, add isDrawable()
192 2002-07-12 Angus Leeming <leeming@lyx.org>
194 * GraphicsLoader.[Ch]: smart loading of images. Images are loaded only
195 if visible 2 secs after the call to load them is first made.
197 * GraphicsSupport.[Ch]: new files. isInsetVisible interrogates the
198 BufferView to ascertain whether the inset is visible or not.
200 * Makefile.am: added GraphicsSupport.[Ch].
202 * PreviewImage.[Ch]: use this smart loader.
204 * PreviewLoader.C: don't load generated image files indiscimminantly.
205 Instead emit the imageReady signal and allow the image owner to decide.
207 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
209 * GraphicsCache.C: remove init_graphics()
211 2002-07-09 Angus Leeming <leeming@lyx.org>
213 * PreviewLoader.C (setAscentFractions): fix bug due to use of integer
214 arithmetic when it should be floating.
216 2002-07-09 Angus Leeming <leeming@lyx.org>
218 * PreviewLoader.C (startLoading): prepend LaTeX file with "\batchmode".
219 Output equation labels as "(#)" if lyxrc preference is set.
220 (setFontScalingFactor): use lyxrc variable preview_scale_factor
221 rather than hard-coding this.
223 2002-07-09 Angus Leeming <leeming@lyx.org>
225 * PreviewLoader.C: Further refactoring of the code. Should now be
228 * PreviewMetrics.[Ch]: removed. Had a v. short shelf life and is now
229 past its sell-by date. The code to read the metrics file is now found
230 as a helper function in PreviewLoader.C.
232 * GraphicsImageXPM.C (scale): use boost::tie.
234 2002-07-08 Herbert Voss <voss@lyx.org>
236 * PreviewLoader.C: use of preview_size_factor to get the right
237 font-size! 0.9 is the default.
239 2002-07-08 Angus Leeming <leeming@lyx.org>
241 * PreviewLoader.C: Add "delayed" and "showlabels" options to the
242 invocation of preview.sty.
243 Perform something of an internal clean-up.
245 2002-07-06 Angus Leeming <leeming@lyx.org>
247 * PreviewLoader.C: ensure that the metrics data is used by the
251 * PreviewImage.C: (Impl d-tor): remove all generated files that still
252 exist (perhaps because the process was curtailed before the images
255 * PreviewLoader.C (unique_filename): store the files in Buffer::tmppath.
257 2002-07-05 Angus Leeming <leeming@lyx.org>
266 * Previews.C: new files. The previewed LaTeX snippet stuff.
268 * Makefile.am: add these files.
270 2002-07-05 Angus Leeming <leeming@lyx.org>
272 * GraphicsLoader.h: whitespace.
274 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
276 * GraphicsImage.[Ch]: newImage and loadableFormats changed to
277 boost::function from boost::signal.
279 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
281 * GraphicsConverter.C (convert): do not use ChangeExtension
282 because to_file_base may contain a dot.
284 2002-06-28 Angus Leeming <leeming@lyx.org>
286 * GraphicsCacheItem.[Ch]: refactor some of the more convoluted logic
287 by moving those SignalPtrs into the grfx::Image and grfx::Converter
288 classes where they really belong.
289 Use the Pimpl idiom to hide the class internals from public view.
291 * GraphicsTypes: remove the typedefs, leaving only the enums.
293 * GraphicsImage.h: now has a finishedLoading signal, as opposed to being
294 passed a reference to one in the load() method.
296 * GraphicsConverter.[Ch]: totally refactored. An instance of
297 grfx::Converter now represents a single conversion process.
298 Thus grfx::CachItem now has a grfx::Converter * that is set when the
299 conversion is initiated and destroyed on completion.
301 * GraphicsCache.[Ch]:
302 * GraphicsCacheItem.[Ch]:
303 * GraphicsConverter.[Ch]:
304 * GraphicsLoader.[Ch]: use the Pimpl idiom to hide the class internals
306 Note that I have done this only after making the above changes,
307 so not only should we have a clean, minimal and well documented
308 interface to these classes in the header files, but the class internals
309 should be much clearer too.
312 grfx::GCache -> grfx::Cache,
313 grfx::GCacheItem -> grfx::CacheItem,
314 grfx::GConverter -> grfx::Converter,
315 grfx::GImage -> grfx::Image,
316 grfx::GImageXPM -> grfx::ImageXPM,
317 grfx::GParams -> grfx::Params.
319 2002-06-26 Angus Leeming <leeming@lyx.org>
321 * GraphicsLoader.[Ch]: use boost::scoped_ptr in preference to
322 std::auto_ptr. Define an empty Loader d-tor out-of-line to ensure it
325 2002-06-26 Angus Leeming <leeming@lyx.org>
327 * GraphicsTypes.h: add "Ready" to the ImageStatus enum.
328 move the DisplayType enum out of grfx::GParams to here.
330 * GraphicsCacheItem.h: re-write preliminary description to reflect
333 * GraphicsParams.[Ch]:
334 * GraphicsImageXPM.C (load, setPixmap): changes aassociated with moving
335 grfx::DisplayType out of grfx::GParams.
337 * GraphicsLoader.[Ch]: new files. Factor out the image loading stuff
338 that was in frontends/screen.C and insets/insetgraphics.C into a
339 single, easy-to-use class.
341 * Makefile.am: add these files.
343 2002-06-25 Angus Leeming <leeming@lyx.org>
345 * GraphicsCache.[Ch]:
346 * GraphicsCacheItem.[Ch]:
347 * GraphicsTypes.h: rewrite the graphics cache to just load a graphics
348 file into memory. The cache no longer controls the generation of the
349 pixmap. Instead, it just emits a signal when the loading status of an
351 The cache no longer stores InsetGraphics pointers and nor does it
352 assume responsibility for modifying an image (scaling, rotating etc).
353 Instead, that must now be performed elsewhere.
355 2002-06-19 Angus Leeming <leeming@lyx.org>
357 * GraphicsConverter.C: add using std::endl directive.
359 2002-06-17 Herbert Voss <voss@lyx.org>
361 * GraphicsCachItem.C: (findTargetFormat)return xpm-format as a
362 default when nothing different was found
363 (convertToDisplayFormat): handle zipped files in the right way and
364 choose always convert as a default converter when no other
365 userdefined was found
367 * GraphicsConverter.C: add more lyxerr comments and choose
368 convert when no other userdefined converter was found
370 2002-06-10 Herbert Voss <voss@lyx.org>
372 * GraphicsImageXPM.C (convertTo7chars): get another special color
373 format from convert work in the right way
375 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
377 * GraphicsCache.C: use right colormap incantation
379 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
381 * GraphicsCache.C: use lyx_gui namespace
383 * GraphicsImageXPM.C: back down to using xforms
386 2002-06-07 Angus Leeming <leeming@lyx.org>
388 Fixes needed to compile with Compaq cxx 6.5.
389 * GraphicsConverter.h: forward declare class ConvProcess.
391 * GraphicsImageXPM.C:
392 all c-library variables have been moved into namespace std.
393 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
395 2002-06-06 Angus Leeming <a.leeming@ic.ac.uk>
397 * GraphicsImageXPM.C (rotate): rotate in the same sense as xdvi!
399 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
401 * GraphicsImageXPM.C: SigC to boot::signals changes.
402 (newImage): fix () bug when using new.
404 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
406 * switch from SigC signals to boost::signals.
408 2002-05-29 André Pönitz <poenitz@gmx.net>
410 * GraphicsParam.C: remove unneeded #include, move vomment
412 2002-05-28 André Pönitz <poenitz@gmx.net>
414 * GraphicsParam.[Ch]: move inset related stuff to inset/insetgraphics
416 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
418 * GraphicsImageXPM.C: ColorHandler moved
420 2002-05-24 Juergen Vigna <jug@sad.it>
423 * GraphicsImage.h: include LString.h first.
425 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
427 * GraphicsCacheItem.h: use more specific smart_ptr header.
428 * GraphicsTypes.h: ditto
429 * GraphicsImage.h: ditto
430 * GraphicsConverter.h: ditto
432 2002-04-28 John Levon <moz@compsoc.man.ac.uk>
434 * GraphicsImageXPM.C: understand convert's use of "opaque"
437 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
439 * GraphicsCache.[Ch] (loadableFormats): new method. A wrapper for
440 GImage::loadableFormats() that ensures that the signal is connected
441 to the derived class' method.
443 2002-04-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
445 * GraphicsImageXPM.C (convertTo7chars): drop all conversions and
446 only work on the string.
448 2002-04-17 Angus Leeming <a.leeming@ic.ac.uk>
450 * GraphicsImageXPM.C (Data::reset): Fix the loading of xpm files by
451 the simple image loader when it encounters colour strings like
454 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
456 * GraphicsCacheItem.C (convertToDisplayFormat):
457 * GraphicsConverter.C (build_script): remove the Alerts when things go
458 wrong as the inset displays the message anyway. Moreover, Alert seems
459 pretty temperamemtal at the moment.
461 2002-04-16 Rob Lahaye <lahaye@users.sourceforge.net>
463 * GraphicsImageXPM.C: fix clipping for boundingbox y-coordinates
465 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
467 * GraphicsCacheItem.C (findTargetFormat): fix bug waiting to bite:
468 a reference to a temp object that's going out of scope...
470 2002-04-09 Herbert Voss <voss@lyx.org>
472 * GraphicsParams.C (BoundingBox c-tor): fix rounding errors by using
473 LyXLength::inBP instead of inPixels.
475 2002-04-10 Herbert Voss <voss@perce.de>
477 * GraphicsCache.[Ch]:
478 * GraphicsCacheItem.[Ch]: add width/height functions from Angus
479 to read the "Bounding Box" from non (e)ps files.
481 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
483 * GraphicsParams.C (c-tor): if clipping, then check the Bounding Box of
484 the EPS file too, to ensure that the clipped Bounding Box is relative
485 to the original. (From Herbert.)
487 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
489 * GraphicsParams.C (BoundingBox c-tor): ensure that the member
490 variables are initialised. Clean-up parsing of the string (with thanks
493 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
495 * GraphicsCacheItem.C (convertToDisplayFormat): don't launch that Alert
496 if the file can't be found.
498 * GraphicsParams.h (c-tor): remove string() as default argument.
500 * GraphicsCacheItem.C: a couple of changes as a result.
502 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
504 * GraphicsCache.[Ch] (update): now passed filepath to determine absolute
505 path to graphics file.
507 * GraphicsParams.[Ch] (c-tor): now passed filepath.
509 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
511 * most files: ws cleanup
513 * Makefile.am: remove ld -r stuff
515 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
517 * Makefile.am: special rules if partial linking
519 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
521 * GraphicsCache.C: use Lars' preferred idiom for a for-loop.
523 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
525 * GraphicsConverter.[Ch] (converted): make first arg const ref.
527 * GraphicsCacheItem.h: doxy change
529 * GraphicsCacheItem.C: ws change
531 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
533 * Makefile.am: if there is no image loading class leveraging the power
534 of the appropriate gui library, then compile the basic alternative
535 found in GraphicsImageXPM.[Ch].
537 2002-03-04 Angus Leeming <a.leeming@ic.ac.uk>
539 * GraphicsCache.C: change associated with move of initialiseGraphics
542 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
544 * GraphicsParams.[Ch]:
546 * GraphicsImageXPM.C: properly resolve more warnings about comparison
547 between signed and unsigned integer expressions.
549 * Makefile.am: add GraphicsTypes.h which I'd carelessly left out.
551 * GraphicsCache.C: move connections to the GImage-derived classes to
554 * GraphicsImageXPM.C (copy c-tor): don't copy pixmap.
556 * GraphicsCacheItem.C (findTargetFormat): if we can load direct without
557 conversion, then do that.
559 2002-02-27 Angus Leeming <a.leeming@ic.ac.uk>
561 * GraphicsCache.C: improve commentary to graphicsInit and where it
564 * GraphicsImageXPM.C (~Data, free_color_table): resolve the crash
565 that became a memory leak properly. (Let the shared_c_ptr free the
567 (reset, mapcolor): tidy up and introduce a work around for XPM files
568 with crappy color entries. Print out a nice friendly message on what's
569 gone wrong and how to resolve it properly.
571 2002-02-27 Angus Leeming <a.leeming@ic.ac.uk>
573 * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
574 (Data d-tor): introduce memory leak temporarily, to "fix" a crash
576 (unique_color_string): use the correct string c-tor.
578 2002-02-15 Angus Leeming <a.leeming@ic.ac.uk>
581 * ImageLoaderXPM.[Ch]: removed.
583 * GraphicsConverter.[Ch]:
584 * GraphicsImage.[Ch]:
585 * GraphicsImageXPM.[Ch]:
586 * GraphicsParams.[Ch]:
587 * GraphicsTypes.h: new files.
589 * All files. A total re-write of the graphics cache. The cache now
590 supports asynchronous file conversion and file loading. Images
591 can be cropped, rotated and scaled for display on the LyX screen.
592 The old LyXImage and ImageLoader have been combined in a new class
593 GImage. Ditto, ImageLoaderXPM's functionality has been moved into
596 2002-02-07 Herbert Voss <voss@lyx.org>
598 * GraphicsCacheItem.C: use unzipFile() from support/filetools
600 2002-01-31 Herbert Voss <voss@lyx.org>
602 * GraphicsCacheItem.h: handle filetype without the file extension;
603 getting type from contents; handle zipped files
605 2002-01-27 Herbert Voss <voss@lyx.org>
607 * GraphicsCacheItem.h: added Converting to the ImageStatus enum.
609 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
611 * ImageLoaderXPM.C: don't set XpmColorKey flag if we don't use it
613 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
615 * GraphicsCacheItem.h: do not include <config.h> in header files
617 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
619 * ImageLoaderXPM.C (runImageLoader): If the pixmap contains a
620 transparent colour, then set it to the colour of the background.
621 Also take account of the monochrome, grayscale of color
624 2001-09-20 Angus Leeming <a.leeming@ic.ac.uk>
626 * GraphicsCacheItem.C (convertImage): only convert if "from" and "to"
627 are different. Thus, don't delete the "to" if it's the original!
629 2001-09-01 John Levon <moz@compsoc.man.ac.uk>
631 * ImageLoadXPM.C: remove setting of alloc colour mask,
632 led to crash as we don't define a callback
634 2001-07-29 Baruch Even <baruch@lyx.org>
636 * ImageLoaderXPM.C (runImageLoader): When loading agree to use non-exact
637 colors with closeness of 10000.
639 * GraphicsCacheItem.C: Fixed a compilation bug introduced earlier.
641 2001-07-29 Baruch Even <baruch@lyx.org>
643 * GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
646 2001-07-23 Baruch Even <baruch@lyx.org>
648 * GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading
649 the image after conversion.
651 2001-07-17 Baruch Even <baruch@lyx.org>
653 * GraphicsCacheItem.h:
654 * GraphicsCacheItem.C: Shuffled things a bit to make it easier to switch
655 from synchronous to asynchronous and to ease the coming changes.
657 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
659 * ImageLoaderXPM.C (runImageLoader): get display information from
662 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
665 * GraphicsCacheItem.C:
667 * ImageLoaderXPM.C: removed // -*- C++ -*- as first line.
669 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
671 * GraphicsCache.h: inherit privately from noncopyable
672 * ImageLoader.h: ditto
673 * GraphicsCacheItem.h: ditto
675 2001-04-16 Allan Rae <rae@lyx.org>
677 * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun
678 CC 6.0 as an unrecognised preprocessor directive. So ensure they're
681 2001-04-02 Baruch Even <baruch@lyx.org>
683 * GraphicsCacheItem.[Ch]: Changed to used the Converter class instead
684 of hard coding ImageMagick.
686 2001-03-10 Baruch Even <baruch@lyx.org>
688 * GraphicsCache.C: Style change from (*it).field to it->field
690 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
692 * GraphicsCache.h: noncopyable is in namespace boost
693 * ImageLoader.h: ditto
694 * GraphicsCacheItem.h: ditto
696 2001-03-07 Baruch Even <baruch@lyx.org>
698 * GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
699 was false and it's not needed anyhow since the shared_ptr's in the cache
700 will destroy everything on exit.
702 2001-02-28 Baruch Even <baruch@ev-en.org>
705 * GraphicsCache.C: Changed the singleton pattern implementation, the
706 former version "leaked" in the sense that it was not deallocated at
709 2001-02-20 Baruch Even <baruch@ev-en.org>
711 * GraphicsCache.C: Changed to use shared_ptr<GraphicsCacheItem>
712 instead of a pure pointer.
714 * GraphicsCacheItem.[Ch]:
715 * GraphicsCacheItem_pimpl.[Ch]: Collapsed them into GraphicsCacheItem,
716 removed the reference counting that was inside. Also fixed a bug where
717 a temporary file wouldn't get erased.
719 * ImageLoader.[Ch]: Changed the semantics of the image_ pointers usage.
720 Ownership is now dropped when the caller requests the image_ pointer.
722 2001-02-20 Baruch Even <baruch@ev-en.org>
724 * GraphicsCache.C: Cleared up the confusion on when and how it is
727 * GraphicsCacheItem.C: Indentation change.
729 * GraphicsCacheItem_pimpl.C: Fixed the loading logic so that it will
730 figure correctly when the image has been loaded successfully.
732 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
734 * ImageLoader.C: add a "using" directive.
736 * ImageLoader.h: remove extra comma at the end of enum; add an
737 std:: qualifier for vector.
739 2001-01-21 Baruch Even <baruch@ev-en.org>
741 * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
742 height in the image itself and minor cleanups.
744 * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
745 new ImageLoader class instead of the older Renderer class. This
746 means change of responsibilities.