Small clean-up.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3769 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-03-18 17:37:08 +00:00
parent 741f527784
commit 13978291c4
2 changed files with 32 additions and 43 deletions

View File

@ -1,3 +1,8 @@
2002-03-18 Angus Leeming <a.leeming@ic.ac.uk>
* insetgraphics.C: Clean up Baruch's comments a little.
(c-tor): remove code setting id_, as it's set in the Inset c-tor.
2002-03-18 Juergen Vigna <jug@sad.it>
* insettabular.C (unlockInsetInInset): removed unneeded showCursor

View File

@ -18,32 +18,18 @@ Known BUGS:
We should probably use what the user asks to use... but when he chooses
by the file dialog we normally get an absolute path and this may not be
what the user meant.
[Note that browseRelFile in helper_funcs.* provides a file name
Note that browseRelFile in helper_funcs.* provides a file name
which is relative if it is at reference path (here puffer path)
level or below, and an absolute path if the file name is not a
`natural' relative file name. In any case,
MakeAbsPath(filename, buf->filePath())
is guaranteed to provide the correct absolute path. This is what is
done know for include insets. Feel free to ask me -- JMarc
14/01/2002]
* If we are trying to create a file in a read-only directory and there
are graphics that need converting, the converting will fail because
it is done in-place, into the same directory as the original image.
This needs to be fixed in the src/converter.C file
[ This is presumed to be fixed, needs testing.]
* We do not dither or resize the image in a WYSIWYM way, we load it at
its original size and color, resizing is done in the final output,
but not in the LyX window.
14/01/2002
TODO Before initial production release:
* Replace insetfig everywhere
* Search for comments of the form
// INSET_GRAPHICS: remove this when InsetFig is thrown.
And act upon them. Make sure not to remove InsetFig code for the
1.2.0 release, only afterwards, after deployment shows InsetGraphics
to be ok.
* What advanced features the users want to do?
Implement them in a non latex dependent way, but a logical way.
LyX should translate it to latex or any other fitting format.
@ -168,8 +154,6 @@ InsetGraphics::InsetGraphics(InsetGraphics const & ig, bool same_id)
cached_status_(grfx::ErrorUnknown), cache_filled_(false), old_asc(0)
{
setParams(ig.params());
if (same_id)
id_ = ig.id_;
}