Bug 73199 - LibreLogo relative paths
Summary: LibreLogo relative paths
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:4.3.0 target:4.2.0.2
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-01 05:26 UTC by László Németh
Modified: 2014-01-01 20:00 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description László Németh 2014-01-01 05:26:32 UTC
It's better to use the directory (if it exists) of the actual document for relative paths, according to an upcoming educational material  (http://www.numbertext.org/tmp/librelogo_oktatasi_segedanyag_v3.pdf), too.

Test

The following LibreLogo program saves the test.svg in the user root directory instead of the directory of the document:

PICTURE 'test.svg' [ CIRCLE 60 ]
Comment 1 Commit Notification 2014-01-01 05:34:31 UTC
Laszlo Nemeth committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=b178afc88ba97f04036e6eef9cf1ee0da987b258

fdo#73199 librelogo: path, interop. and color name fixes



The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.
Comment 2 László Németh 2014-01-01 05:59:20 UTC
Other two fixes in the committed patch:

1. Broken color name in LibreOffice 4.2:

http://lists.freedesktop.org/archives/libreoffice-qa/2013-November/005886.html

2. Continuous text printing / functional interoperability of the known Logo implementations:

Now the command FORWARD supports text arguments, too: the turtle writes the text moving to its end. A similar command will continue the text:

FORWARD 'Hello, '
FORWARD 'World!'

Using regex alternatives of the FORWARD translations can give interoperability for LABEL variants, if needed. For example, „CÍMKE2” (LABEL2) of the closed source Logo interpreters used in Hungarian education, as an alternative of ELŐRE (FORWARD):

FORWARD ->  ELŐRE|E|CÍMKE2
Comment 3 Commit Notification 2014-01-01 20:00:08 UTC
Laszlo Nemeth committed a patch related to this issue.
It has been pushed to "libreoffice-4-2":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=12a79cc9ff44d0e54197f816bca22bff3d3469d2&h=libreoffice-4-2

fdo#73199 librelogo: path, interop. and color name fixes


It will be available in LibreOffice 4.2.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds
Affected users are encouraged to test the fix and report feedback.