fix bug #577; fix extension problem for filenames with dots

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH-1_2_X@5253 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2002-09-10 15:54:46 +00:00
parent 48fb77d342
commit 5314a45316
5 changed files with 25 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2002-09-10 Michael Schmitt <michael.schmitt@teststep.org>
* text.C (getColumnNearX): placement of cursor in presence of
hfills (bug #577)
2002-08-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* BufferView_pimpl.C (Dispatch): fix double delete when creating

View File

@ -1,3 +1,8 @@
2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* GraphicsConverter.C (build_script): do not use ChangeExtension
in case file name contains a dot
2002-08-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* GraphicsImageXPM.C (color_none_id): do not use type uint, which
@ -40,7 +45,8 @@
* GraphicsImageXPM.C:
all c-library variables have been moved into namespace std.
Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
Wrap using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD
block.
2002-06-10 Herbert Voss <voss@lyx.org>

View File

@ -163,8 +163,10 @@ bool GConverter::build_script(string const & from_file,
{
typedef Converters::EdgePath EdgePath;
string const to_file = ChangeExtension(to_file_base,
formats.extension(to_format));
// We do not use ChangeExtension here because this is a
// basename, which may nevertheless contain a dot
string const to_file =
to_file_base + '.' + formats.extension(to_format);
if (from_format == to_format) {
script << move_file(QuoteName(from_file), QuoteName(to_file));

View File

@ -3804,7 +3804,7 @@ LyXText::getColumnNearX(BufferView * bview, Row * row, int & x,
}
if (hfillExpansion(bview->buffer(), row, c)) {
x += singleWidth(bview, row->par(), c);
tmpx += singleWidth(bview, row->par(), c);
if (c >= main_body)
tmpx += fill_hfill;
else

View File

@ -29,7 +29,8 @@ What's new
- update cl2emult textclass
- update to German User Guide
- small cleanup of UserGuide; update to German User Guide and Extended
manual.
- update german and danish localization of the interface
@ -37,6 +38,10 @@ What's new
- fix bug with citation keys that contain spaces
- fix bug with graphics files which name contain a '.'
- fix placement of cursor with mouse in presence of hfills
- fix the thesaurus dialog so that it can be closed with the Escape key
- fix drawing problem when a line of text contains both left-to-right
@ -46,3 +51,5 @@ What's new
- harmonize the behavior of delete and backspace in main text,
insettext, and tabulars, i.e. don't put stuff into the clipboard
- add missing autoconf file xforms.m4