1 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
4 * GraphicsParams.[Ch]: remove keepLyXAspectRatio, width and height
5 because this input has gone from the graphics dialog.
7 * GraphicsTypes.h: add enum DisplayType DefaultDisplay
9 2002-08-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11 * GraphicsImageXPM.h: inlcude boost/shared_ptr.hpp, remove include
12 for support/smart_ptr.h, switch to boost smart ptr.
14 * GraphicsImageXPM.C: reorder includes, include boost/bind.hpp
15 (~Data): let the smart_ptr handle cleanup
16 (reset): use nifty 3rd arg
18 (free_color_table): free the table manually
20 2002-08-09 Angus Leeming <leeming@lyx.org>
22 * PreviewLoader.C (dumpPreamble): pass Buffer::filePath() to
23 Buffer::makeLaTeXFile() so that LaTeX can find \input files because
24 input@path is now set correctly.
26 2002-08-06 Angus Leeming <leeming@lyx.org>
28 * PreviewLoader.C: add support for preview.sty 0.73 (currently
29 #ifdef-ed out, awaiting the formal release).
31 * PreviewedInset.[Ch] (removePreview): new method. Useful if previewing
32 the contents of a file that has changed.
34 2002-08-05 Angus Leeming <leeming@lyx.org>
36 * PreviewLoader.C (dumpPreamble): add lyx to the list of options output
37 to preview.sty. Works only for versions of preview.sty > 0.72b but
38 doesn't hurt earlier versions. Allows me to test the new parsing of
39 LyX-specific data from the generated log file.
41 2002-08-02 Angus Leeming <leeming@lyx.org>
43 * GraphicsLoader.C: cache the BufferView as a weak_ptr.
45 * PreviewLoader.[Ch] (buffer): new method, returning the owner.
46 (add): don't add empty snippets.
48 * PreviewedInset.[Ch]: cache the BufferView as a weak_ptr.
49 (view, setView): access to to the cache_.
51 2002-08-02 Angus Leeming <leeming@lyx.org>
53 * PreviewedInset.[Ch]: cache the LaTeX snippet.
55 2002-08-01 Angus Leeming <leeming@lyx.org>
57 * PreviewedInset.[Ch]: new files. An abstract base class that can help
58 insets to generate previews.
59 The daughter class must instantiate three small methods.
60 The Inset would own an instance of this daughter class and invoke it
61 as necessary. For example, mathd/formula.C gets previews at the cost
62 of 15 or so lines of code.
64 * Makefile.am: add PreviewedInset.[Ch].
66 * PreviewLoader.C (add): add debug message.
68 * Previews.C (generateBufferPreviews): remove if-block from loop.
70 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
72 * PreviewLoader.C (setFontScalingFactor): strip,frontStrip ->
74 (setAscentFractions): ditto
76 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
78 * PreviewLoader.C (setAscentFractions): modify because of strip
81 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
83 * GraphicsConverter.C (build_script): take a ostream as a more
84 general argument than ostringstream.
86 2002-07-22 Herbert Voss <voss@lyx.org>
88 * GraphicsConverter.C: get the "default converter" run again
90 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
92 * PreviewLoader.C: use BufferParams::getLyXTextClass
94 2002-07-21 Herbert Voss <voss@lyx.org>
96 * GraphicsImage.C: get the LyXAspectRatio run.
98 * GraphicsParams.[Ch]: add bool keepLyXXAspectRatio
100 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
102 * PreviewLoader.C (startLoading): pass an interger as resolution
103 to the lyxpreview converter
105 * GraphicsParams.C: include <cstdlib>
107 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
109 * PreviewLoader.C (startLoading): use LibScriptSearch to find the
110 preview converter script
112 2002-07-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
114 * GraphicsCacheItem.C (reset): use erase() instead of clear() for
117 2002-07-18 Angus Leeming <leeming@lyx.org>
119 * GraphicsCacheItem.[Ch]: add a FileMonitor variable to the the Impl
121 (startMonitoring, monitoring, checksum): new methods to interact with
124 * GraphicsLoader.[Ch] (startMonitoring, monitoring, checksum): new
125 methods invoking the CacheItem methods of the same name.
126 (resetFile): if monitoring and the file changes, start monitoring this
129 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
131 * Makefile.am: remove FileMonitor.[Ch]
133 2002-06-17 Herbert Voss <voss@lyx.org>
135 * GraphicsCachItem.C (findTargetFormat): remove the speciell case
136 for old ps-files (Garst). It's now handled by defining a converter and
137 disabling the ps-support of xforms.
139 2002-07-17 Angus Leeming <leeming@lyx.org>
141 Be true to the Pimpl idiom, moving all signals into the respective
142 Impl classes and defining methods to connect them to an outside slot.
143 Const-ify all visible class methods as they act only on a const pimpl_.
145 * GraphicsCache.[Ch] (add, remove): const-ify.
147 * GraphicsCacheItem.[Ch] (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 * GraphicsConverter.[Ch]: (startConversion): const-ify.
152 (finishedConversion): move the signal into the Impl class.
153 (connect): new method, enabling a listener to connect to this signal.
155 * GraphicsLoader.[Ch] (reset, startLoading): const-ify.
156 (statusChanged): move the signal into the Impl class.
157 (connect): new method, enabling a listener to connect to this signal.
159 * PreviewLoader.[Ch] (add, remove, startLoading): const-ify.
160 (imageReady): move the signal into the Impl class.
161 (connect): new method, enabling a listener to connect to this signal.
162 (emitSignal): new method, enabling PreviewImage to tell the outside
163 world that the file has been loaded into memory.
165 * Previews.[Ch] (loader, removeLoader, generateBufferPreviews):
169 * GraphicsCacheItem.C:
170 * GraphicsConverter.[Ch]:
172 * GraphicsImageXPM.C:
174 * PreviewLoader.[Ch]: whitespace clean-up.
176 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
178 * PreviewLoader.C (setConverter): remove unused variable
180 * GraphicsImageXPM.C (isDrawable): implement
181 (setPixmap): the opaque color is black, not white
183 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
185 * GraphicsImageXPM.C (color_none_id):
186 (contains_color_none): use ascii_lowercase instead of lowercase
188 2002-07-16 Angus Leeming <leeming@lyx.org>
190 * PreviewLoader.C: greater use of STL algorithms.
192 * Previews.[Ch]: use const in more places.
193 (generateBufferPreviews): now takes a Buffer const & argument, not a
196 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
198 * GraphicsImage.h: remove getPixmap/X, add isDrawable()
200 2002-07-12 Angus Leeming <leeming@lyx.org>
202 * GraphicsLoader.[Ch]: smart loading of images. Images are loaded only
203 if visible 2 secs after the call to load them is first made.
205 * GraphicsSupport.[Ch]: new files. isInsetVisible interrogates the
206 BufferView to ascertain whether the inset is visible or not.
208 * Makefile.am: added GraphicsSupport.[Ch].
210 * PreviewImage.[Ch]: use this smart loader.
212 * PreviewLoader.C: don't load generated image files indiscimminantly.
213 Instead emit the imageReady signal and allow the image owner to decide.
215 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
217 * GraphicsCache.C: remove init_graphics()
219 2002-07-09 Angus Leeming <leeming@lyx.org>
221 * PreviewLoader.C (setAscentFractions): fix bug due to use of integer
222 arithmetic when it should be floating.
224 2002-07-09 Angus Leeming <leeming@lyx.org>
226 * PreviewLoader.C (startLoading): prepend LaTeX file with "\batchmode".
227 Output equation labels as "(#)" if lyxrc preference is set.
228 (setFontScalingFactor): use lyxrc variable preview_scale_factor
229 rather than hard-coding this.
231 2002-07-09 Angus Leeming <leeming@lyx.org>
233 * PreviewLoader.C: Further refactoring of the code. Should now be
236 * PreviewMetrics.[Ch]: removed. Had a v. short shelf life and is now
237 past its sell-by date. The code to read the metrics file is now found
238 as a helper function in PreviewLoader.C.
240 * GraphicsImageXPM.C (scale): use boost::tie.
242 2002-07-08 Herbert Voss <voss@lyx.org>
244 * PreviewLoader.C: use of preview_size_factor to get the right
245 font-size! 0.9 is the default.
247 2002-07-08 Angus Leeming <leeming@lyx.org>
249 * PreviewLoader.C: Add "delayed" and "showlabels" options to the
250 invocation of preview.sty.
251 Perform something of an internal clean-up.
253 2002-07-06 Angus Leeming <leeming@lyx.org>
255 * PreviewLoader.C: ensure that the metrics data is used by the
259 * PreviewImage.C: (Impl d-tor): remove all generated files that still
260 exist (perhaps because the process was curtailed before the images
263 * PreviewLoader.C (unique_filename): store the files in Buffer::tmppath.
265 2002-07-05 Angus Leeming <leeming@lyx.org>
274 * Previews.C: new files. The previewed LaTeX snippet stuff.
276 * Makefile.am: add these files.
278 2002-07-05 Angus Leeming <leeming@lyx.org>
280 * GraphicsLoader.h: whitespace.
282 2002-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
284 * GraphicsImage.[Ch]: newImage and loadableFormats changed to
285 boost::function from boost::signal.
287 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
289 * GraphicsConverter.C (convert): do not use ChangeExtension
290 because to_file_base may contain a dot.
292 2002-06-28 Angus Leeming <leeming@lyx.org>
294 * GraphicsCacheItem.[Ch]: refactor some of the more convoluted logic
295 by moving those SignalPtrs into the grfx::Image and grfx::Converter
296 classes where they really belong.
297 Use the Pimpl idiom to hide the class internals from public view.
299 * GraphicsTypes: remove the typedefs, leaving only the enums.
301 * GraphicsImage.h: now has a finishedLoading signal, as opposed to being
302 passed a reference to one in the load() method.
304 * GraphicsConverter.[Ch]: totally refactored. An instance of
305 grfx::Converter now represents a single conversion process.
306 Thus grfx::CachItem now has a grfx::Converter * that is set when the
307 conversion is initiated and destroyed on completion.
309 * GraphicsCache.[Ch]:
310 * GraphicsCacheItem.[Ch]:
311 * GraphicsConverter.[Ch]:
312 * GraphicsLoader.[Ch]: use the Pimpl idiom to hide the class internals
314 Note that I have done this only after making the above changes,
315 so not only should we have a clean, minimal and well documented
316 interface to these classes in the header files, but the class internals
317 should be much clearer too.
320 grfx::GCache -> grfx::Cache,
321 grfx::GCacheItem -> grfx::CacheItem,
322 grfx::GConverter -> grfx::Converter,
323 grfx::GImage -> grfx::Image,
324 grfx::GImageXPM -> grfx::ImageXPM,
325 grfx::GParams -> grfx::Params.
327 2002-06-26 Angus Leeming <leeming@lyx.org>
329 * GraphicsLoader.[Ch]: use boost::scoped_ptr in preference to
330 std::auto_ptr. Define an empty Loader d-tor out-of-line to ensure it
333 2002-06-26 Angus Leeming <leeming@lyx.org>
335 * GraphicsTypes.h: add "Ready" to the ImageStatus enum.
336 move the DisplayType enum out of grfx::GParams to here.
338 * GraphicsCacheItem.h: re-write preliminary description to reflect
341 * GraphicsParams.[Ch]:
342 * GraphicsImageXPM.C (load, setPixmap): changes aassociated with moving
343 grfx::DisplayType out of grfx::GParams.
345 * GraphicsLoader.[Ch]: new files. Factor out the image loading stuff
346 that was in frontends/screen.C and insets/insetgraphics.C into a
347 single, easy-to-use class.
349 * Makefile.am: add these files.
351 2002-06-25 Angus Leeming <leeming@lyx.org>
353 * GraphicsCache.[Ch]:
354 * GraphicsCacheItem.[Ch]:
355 * GraphicsTypes.h: rewrite the graphics cache to just load a graphics
356 file into memory. The cache no longer controls the generation of the
357 pixmap. Instead, it just emits a signal when the loading status of an
359 The cache no longer stores InsetGraphics pointers and nor does it
360 assume responsibility for modifying an image (scaling, rotating etc).
361 Instead, that must now be performed elsewhere.
363 2002-06-19 Angus Leeming <leeming@lyx.org>
365 * GraphicsConverter.C: add using std::endl directive.
367 2002-06-17 Herbert Voss <voss@lyx.org>
369 * GraphicsCachItem.C: (findTargetFormat)return xpm-format as a
370 default when nothing different was found
371 (convertToDisplayFormat): handle zipped files in the right way and
372 choose always convert as a default converter when no other
373 userdefined was found
375 * GraphicsConverter.C: add more lyxerr comments and choose
376 convert when no other userdefined converter was found
378 2002-06-10 Herbert Voss <voss@lyx.org>
380 * GraphicsImageXPM.C (convertTo7chars): get another special color
381 format from convert work in the right way
383 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
385 * GraphicsCache.C: use right colormap incantation
387 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
389 * GraphicsCache.C: use lyx_gui namespace
391 * GraphicsImageXPM.C: back down to using xforms
394 2002-06-07 Angus Leeming <leeming@lyx.org>
396 Fixes needed to compile with Compaq cxx 6.5.
397 * GraphicsConverter.h: forward declare class ConvProcess.
399 * GraphicsImageXPM.C:
400 all c-library variables have been moved into namespace std.
401 Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
403 2002-06-06 Angus Leeming <a.leeming@ic.ac.uk>
405 * GraphicsImageXPM.C (rotate): rotate in the same sense as xdvi!
407 2002-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
409 * GraphicsImageXPM.C: SigC to boot::signals changes.
410 (newImage): fix () bug when using new.
412 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
414 * switch from SigC signals to boost::signals.
416 2002-05-29 André Pönitz <poenitz@gmx.net>
418 * GraphicsParam.C: remove unneeded #include, move vomment
420 2002-05-28 André Pönitz <poenitz@gmx.net>
422 * GraphicsParam.[Ch]: move inset related stuff to inset/insetgraphics
424 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
426 * GraphicsImageXPM.C: ColorHandler moved
428 2002-05-24 Juergen Vigna <jug@sad.it>
431 * GraphicsImage.h: include LString.h first.
433 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
435 * GraphicsCacheItem.h: use more specific smart_ptr header.
436 * GraphicsTypes.h: ditto
437 * GraphicsImage.h: ditto
438 * GraphicsConverter.h: ditto
440 2002-04-28 John Levon <moz@compsoc.man.ac.uk>
442 * GraphicsImageXPM.C: understand convert's use of "opaque"
445 2002-04-19 Marco Morandini <morandini@aero.polimi.it>
447 * GraphicsCache.[Ch] (loadableFormats): new method. A wrapper for
448 GImage::loadableFormats() that ensures that the signal is connected
449 to the derived class' method.
451 2002-04-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
453 * GraphicsImageXPM.C (convertTo7chars): drop all conversions and
454 only work on the string.
456 2002-04-17 Angus Leeming <a.leeming@ic.ac.uk>
458 * GraphicsImageXPM.C (Data::reset): Fix the loading of xpm files by
459 the simple image loader when it encounters colour strings like
462 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
464 * GraphicsCacheItem.C (convertToDisplayFormat):
465 * GraphicsConverter.C (build_script): remove the Alerts when things go
466 wrong as the inset displays the message anyway. Moreover, Alert seems
467 pretty temperamemtal at the moment.
469 2002-04-16 Rob Lahaye <lahaye@users.sourceforge.net>
471 * GraphicsImageXPM.C: fix clipping for boundingbox y-coordinates
473 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
475 * GraphicsCacheItem.C (findTargetFormat): fix bug waiting to bite:
476 a reference to a temp object that's going out of scope...
478 2002-04-09 Herbert Voss <voss@lyx.org>
480 * GraphicsParams.C (BoundingBox c-tor): fix rounding errors by using
481 LyXLength::inBP instead of inPixels.
483 2002-04-10 Herbert Voss <voss@perce.de>
485 * GraphicsCache.[Ch]:
486 * GraphicsCacheItem.[Ch]: add width/height functions from Angus
487 to read the "Bounding Box" from non (e)ps files.
489 2002-04-08 Angus Leeming <a.leeming@ic.ac.uk>
491 * GraphicsParams.C (c-tor): if clipping, then check the Bounding Box of
492 the EPS file too, to ensure that the clipped Bounding Box is relative
493 to the original. (From Herbert.)
495 2002-04-04 Angus Leeming <a.leeming@ic.ac.uk>
497 * GraphicsParams.C (BoundingBox c-tor): ensure that the member
498 variables are initialised. Clean-up parsing of the string (with thanks
501 2002-03-26 Angus Leeming <a.leeming@ic.ac.uk>
503 * GraphicsCacheItem.C (convertToDisplayFormat): don't launch that Alert
504 if the file can't be found.
506 * GraphicsParams.h (c-tor): remove string() as default argument.
508 * GraphicsCacheItem.C: a couple of changes as a result.
510 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
512 * GraphicsCache.[Ch] (update): now passed filepath to determine absolute
513 path to graphics file.
515 * GraphicsParams.[Ch] (c-tor): now passed filepath.
517 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
519 * most files: ws cleanup
521 * Makefile.am: remove ld -r stuff
523 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
525 * Makefile.am: special rules if partial linking
527 2002-03-14 Angus Leeming <a.leeming@ic.ac.uk>
529 * GraphicsCache.C: use Lars' preferred idiom for a for-loop.
531 2002-03-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
533 * GraphicsConverter.[Ch] (converted): make first arg const ref.
535 * GraphicsCacheItem.h: doxy change
537 * GraphicsCacheItem.C: ws change
539 2002-03-05 Angus Leeming <a.leeming@ic.ac.uk>
541 * Makefile.am: if there is no image loading class leveraging the power
542 of the appropriate gui library, then compile the basic alternative
543 found in GraphicsImageXPM.[Ch].
545 2002-03-04 Angus Leeming <a.leeming@ic.ac.uk>
547 * GraphicsCache.C: change associated with move of initialiseGraphics
550 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
552 * GraphicsParams.[Ch]:
554 * GraphicsImageXPM.C: properly resolve more warnings about comparison
555 between signed and unsigned integer expressions.
557 * Makefile.am: add GraphicsTypes.h which I'd carelessly left out.
559 * GraphicsCache.C: move connections to the GImage-derived classes to
562 * GraphicsImageXPM.C (copy c-tor): don't copy pixmap.
564 * GraphicsCacheItem.C (findTargetFormat): if we can load direct without
565 conversion, then do that.
567 2002-02-27 Angus Leeming <a.leeming@ic.ac.uk>
569 * GraphicsCache.C: improve commentary to graphicsInit and where it
572 * GraphicsImageXPM.C (~Data, free_color_table): resolve the crash
573 that became a memory leak properly. (Let the shared_c_ptr free the
575 (reset, mapcolor): tidy up and introduce a work around for XPM files
576 with crappy color entries. Print out a nice friendly message on what's
577 gone wrong and how to resolve it properly.
579 2002-02-27 Angus Leeming <a.leeming@ic.ac.uk>
581 * GraphicsImageXPM.[Ch]: more rigorous use of types (signed/unsigned).
582 (Data d-tor): introduce memory leak temporarily, to "fix" a crash
584 (unique_color_string): use the correct string c-tor.
586 2002-02-15 Angus Leeming <a.leeming@ic.ac.uk>
589 * ImageLoaderXPM.[Ch]: removed.
591 * GraphicsConverter.[Ch]:
592 * GraphicsImage.[Ch]:
593 * GraphicsImageXPM.[Ch]:
594 * GraphicsParams.[Ch]:
595 * GraphicsTypes.h: new files.
597 * All files. A total re-write of the graphics cache. The cache now
598 supports asynchronous file conversion and file loading. Images
599 can be cropped, rotated and scaled for display on the LyX screen.
600 The old LyXImage and ImageLoader have been combined in a new class
601 GImage. Ditto, ImageLoaderXPM's functionality has been moved into
604 2002-02-07 Herbert Voss <voss@lyx.org>
606 * GraphicsCacheItem.C: use unzipFile() from support/filetools
608 2002-01-31 Herbert Voss <voss@lyx.org>
610 * GraphicsCacheItem.h: handle filetype without the file extension;
611 getting type from contents; handle zipped files
613 2002-01-27 Herbert Voss <voss@lyx.org>
615 * GraphicsCacheItem.h: added Converting to the ImageStatus enum.
617 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
619 * ImageLoaderXPM.C: don't set XpmColorKey flag if we don't use it
621 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
623 * GraphicsCacheItem.h: do not include <config.h> in header files
625 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
627 * ImageLoaderXPM.C (runImageLoader): If the pixmap contains a
628 transparent colour, then set it to the colour of the background.
629 Also take account of the monochrome, grayscale of color
632 2001-09-20 Angus Leeming <a.leeming@ic.ac.uk>
634 * GraphicsCacheItem.C (convertImage): only convert if "from" and "to"
635 are different. Thus, don't delete the "to" if it's the original!
637 2001-09-01 John Levon <moz@compsoc.man.ac.uk>
639 * ImageLoadXPM.C: remove setting of alloc colour mask,
640 led to crash as we don't define a callback
642 2001-07-29 Baruch Even <baruch@lyx.org>
644 * ImageLoaderXPM.C (runImageLoader): When loading agree to use non-exact
645 colors with closeness of 10000.
647 * GraphicsCacheItem.C: Fixed a compilation bug introduced earlier.
649 2001-07-29 Baruch Even <baruch@lyx.org>
651 * GraphicsCacheItem.C (findTargetFormat): Removed error dialog box,
654 2001-07-23 Baruch Even <baruch@lyx.org>
656 * GraphicsCacheItem.C (convertImage): Fixed a bug with regard to loading
657 the image after conversion.
659 2001-07-17 Baruch Even <baruch@lyx.org>
661 * GraphicsCacheItem.h:
662 * GraphicsCacheItem.C: Shuffled things a bit to make it easier to switch
663 from synchronous to asynchronous and to ease the coming changes.
665 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
667 * ImageLoaderXPM.C (runImageLoader): get display information from
670 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
673 * GraphicsCacheItem.C:
675 * ImageLoaderXPM.C: removed // -*- C++ -*- as first line.
677 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
679 * GraphicsCache.h: inherit privately from noncopyable
680 * ImageLoader.h: ditto
681 * GraphicsCacheItem.h: ditto
683 2001-04-16 Allan Rae <rae@lyx.org>
685 * ImageLoaderXPM.C (runImageLoader): #warning triggers an error on Sun
686 CC 6.0 as an unrecognised preprocessor directive. So ensure they're
689 2001-04-02 Baruch Even <baruch@lyx.org>
691 * GraphicsCacheItem.[Ch]: Changed to used the Converter class instead
692 of hard coding ImageMagick.
694 2001-03-10 Baruch Even <baruch@lyx.org>
696 * GraphicsCache.C: Style change from (*it).field to it->field
698 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
700 * GraphicsCache.h: noncopyable is in namespace boost
701 * ImageLoader.h: ditto
702 * GraphicsCacheItem.h: ditto
704 2001-03-07 Baruch Even <baruch@lyx.org>
706 * GraphicsCache.C (d-tor): Removed the assert, the assumption it carried
707 was false and it's not needed anyhow since the shared_ptr's in the cache
708 will destroy everything on exit.
710 2001-02-28 Baruch Even <baruch@ev-en.org>
713 * GraphicsCache.C: Changed the singleton pattern implementation, the
714 former version "leaked" in the sense that it was not deallocated at
717 2001-02-20 Baruch Even <baruch@ev-en.org>
719 * GraphicsCache.C: Changed to use shared_ptr<GraphicsCacheItem>
720 instead of a pure pointer.
722 * GraphicsCacheItem.[Ch]:
723 * GraphicsCacheItem_pimpl.[Ch]: Collapsed them into GraphicsCacheItem,
724 removed the reference counting that was inside. Also fixed a bug where
725 a temporary file wouldn't get erased.
727 * ImageLoader.[Ch]: Changed the semantics of the image_ pointers usage.
728 Ownership is now dropped when the caller requests the image_ pointer.
730 2001-02-20 Baruch Even <baruch@ev-en.org>
732 * GraphicsCache.C: Cleared up the confusion on when and how it is
735 * GraphicsCacheItem.C: Indentation change.
737 * GraphicsCacheItem_pimpl.C: Fixed the loading logic so that it will
738 figure correctly when the image has been loaded successfully.
740 2001-02-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
742 * ImageLoader.C: add a "using" directive.
744 * ImageLoader.h: remove extra comma at the end of enum; add an
745 std:: qualifier for vector.
747 2001-01-21 Baruch Even <baruch@ev-en.org>
749 * GraphicsCacheItem.[Ch]: Changes due to the storage of width and
750 height in the image itself and minor cleanups.
752 * GraphicsCacheItem_impl.[Ch]: Changes due to the switch to use a
753 new ImageLoader class instead of the older Renderer class. This
754 means change of responsibilities.