Re: Documents ???

2010-06-26 Thread Bernie Innocenti
El Fri, 25-06-2010 a las 20:56 -0500, Mikus Grinbergs escribió:
 Looking at Journal View as presented by sugar-0.88.1-5.3bernie.fc11,
 a Documents icon shows up in the lower left (in the View's margin).
 
 I am confused by the presence of this new icon.  I have NOT explicitly
 identified any Documents - neither in internal XO storage nor in
 external XO storage.  Yet this new icon appears next to my existing
 storage device icons for Journal (internal) and SD card (external).
 
 What is the purpose of this Documents icon in Journal View footer ?
 
 Should it be shown even when the user hasn't set up Documents ?


It's an unfinished feature that was planned for F11-0.88: to easily
interchange documents with Gnome, the user's Documents directory appears
in the journal volumes bar. It should have a folder icon and be on the
right of the journal itself.

Since we're going to disable Gnome, this feature will probably also go
away in a future build.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Documents ???

2010-06-26 Thread Mikus Grinbergs
 Looking at Journal View as presented by sugar-0.88.1-5.3bernie.fc11,
 a Documents icon shows up in the lower left (in the View's margin).
 
 It's an unfinished feature that was planned for F11-0.88: to easily
 interchange documents with Gnome, the user's Documents directory appears
 in the journal volumes bar. It should have a folder icon and be on the
 right of the journal itself.

[The Documents icon (looking like an USB stick) appeared to the left
of the journal itself.]

There happen to be curmudgeons like me - who dislike canned facilities
pre-built into distributions - we prefer to define our own folder names.

The very first thing I do when I install Fedora is to get rid of as many
to-me-useless folders in /home as I can.  No wonder Journal View stalled
for me when I clicked on its Documents icon -- it could not FIND any
Documents folder !!

Thanks - I appreciate your explanation.

mikus

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Documents ???

2010-06-26 Thread Bernie Innocenti
El Sun, 27-06-2010 a las 00:42 -0500, Mikus Grinbergs escribió:

 [The Documents icon (looking like an USB stick) appeared to the left
 of the journal itself.]
 
 There happen to be curmudgeons like me - who dislike canned facilities
 pre-built into distributions - we prefer to define our own folder names.
 
 The very first thing I do when I install Fedora is to get rid of as many
 to-me-useless folders in /home as I can.  No wonder Journal View stalled
 for me when I clicked on its Documents icon -- it could not FIND any
 Documents folder !!

The default directory is determined with xdg-user-dir DOCUMENTS. One
could change it by editing ~/.config/user-dirs.dirs . In the beginning
we had a control panel applet to configure the directory, but we thought
it wasn't a good idea so we removed it.

Anyway, we're probably going to remove this feature because we don't
have gnome in the first place.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Documents ???

2010-06-25 Thread Mikus Grinbergs
Looking at Journal View as presented by sugar-0.88.1-5.3bernie.fc11,
a Documents icon shows up in the lower left (in the View's margin).

I am confused by the presence of this new icon.  I have NOT explicitly
identified any Documents - neither in internal XO storage nor in
external XO storage.  Yet this new icon appears next to my existing
storage device icons for Journal (internal) and SD card (external).


What is the purpose of this Documents icon in Journal View footer ?

Should it be shown even when the user hasn't set up Documents ?


Thanks,  mikus

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Re: Importing images in Write documents makes file huge

2009-11-30 Thread Martin Langhoff
On Mon, Nov 30, 2009 at 2:03 AM, Philipp Kocher philipp.koc...@gmx.net wrote:
 Is it possible to make a small and low risk JPEG-patch for abiword 2.6.4
 so it could be included in release 8.2.2?

Hubert, Phillip,

Small update: libabiword for 8.2.2 will be 2.6.5 (to include some
Nepali script rendering fixes). Some new deployments may skip 8.2.2
and go for the newer shinier F11-based OS, but large established
deployments move a bit slower (and we care a lot about them!).

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Importing images in Write documents makes file huge

2009-11-30 Thread Bert Freudenberg
On 30.11.2009, at 12:00, Martin Langhoff wrote:
 
 On Mon, Nov 30, 2009 at 2:03 AM, Philipp Kocher philipp.koc...@gmx.net 
 wrote:
 Is it possible to make a small and low risk JPEG-patch for abiword 2.6.4
 so it could be included in release 8.2.2?
 
 Hubert, Phillip,
 
 Small update: libabiword for 8.2.2 will be 2.6.5 (to include some
 Nepali script rendering fixes). Some new deployments may skip 8.2.2
 and go for the newer shinier F11-based OS, but large established
 deployments move a bit slower (and we care a lot about them!).

What's the 8.2.2 schedule? What is changing?

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Fwd: Re: Importing images in Write documents makes file huge

2009-11-29 Thread Philipp Kocher
Bonjour Hubert

I read on planet.abisource.com (June 26, 2009) that you implemented the 
JPEG support for abiword 2.7.6. This feature would be very useful for 
OLPC XO laptops, but the newest release (8.2.1, build 802) for XOs 
includes still abiword 2.6.4.
Is it possible to make a small and low risk JPEG-patch for abiword 2.6.4 
so it could be included in release 8.2.2?

Work for a Fedora 11 based release (8.2.1 and 8.2.2 are based on Fedora 
9) is in progress. This release includes abiword 2.8.1, but it won't be 
stable enough to install it on student XOs soon (I am not aware of a 
schedule for this release).

Thanks,
Philipp

 Original Message 
Subject: Re: Importing images in Write documents makes file huge
Date: Fri, 27 Nov 2009 15:48:38 +0100
From: Martin Langhoff martin.langh...@gmail.com
To: Philipp Kocher philipp.koc...@gmx.net
CC: Tomeu Vizoso to...@sugarlabs.org, devel devel@lists.laptop.org

On Thu, Nov 26, 2009 at 2:48 PM, Philipp Kocher philipp.koc...@gmx.net 
wrote:
 On 11/26/2009 07:06 PM, Tomeu Vizoso wrote:
 On Thu, Nov 26, 2009 at 09:32, Philipp Kocherphilipp.koc...@gmx.net  wrote:
 The conversion to PNG was a general Abiword feature, but it got solved
 last July with Abiword 2.7.6 (see link below).
 On my XO libabiword-2.6.4-6.olpc3 is installed (build 802).

 Is it possible to install an libabiword-olpc rpm of version 2.7.6 or newer?

 http://wiki.laptop.org/go/F11_for_XO-1

 What about 8.2.x?

Only if you can get a patch (from the abiword developers I guess) that
fixes the problem on 2.6.4; and the patch is reasonably small and low
risk.

As Ben points out, this will imply a flag-day change. For people
controlling a whole deployment, this may very well be acceptable...
and the 8.2.x I am working on is focussed on deployments.

cheers,


m
-- 
  martin.langh...@gmail.com
  mar...@laptop.org -- School Server Architect
  - ask interesting questions
  - don't get distracted with shiny stuff  - working code first
  - http://wiki.laptop.org/go/User:Martinlanghoff

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Importing images in Write documents makes file huge

2009-11-27 Thread Martin Langhoff
On Thu, Nov 26, 2009 at 2:48 PM, Philipp Kocher philipp.koc...@gmx.net wrote:
 On 11/26/2009 07:06 PM, Tomeu Vizoso wrote:
 On Thu, Nov 26, 2009 at 09:32, Philipp Kocherphilipp.koc...@gmx.net  wrote:
 The conversion to PNG was a general Abiword feature, but it got solved
 last July with Abiword 2.7.6 (see link below).
 On my XO libabiword-2.6.4-6.olpc3 is installed (build 802).

 Is it possible to install an libabiword-olpc rpm of version 2.7.6 or newer?

 http://wiki.laptop.org/go/F11_for_XO-1

 What about 8.2.x?

Only if you can get a patch (from the abiword developers I guess) that
fixes the problem on 2.6.4; and the patch is reasonably small and low
risk.

As Ben points out, this will imply a flag-day change. For people
controlling a whole deployment, this may very well be acceptable...
and the 8.2.x I am working on is focussed on deployments.

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Importing images in Write documents makes file huge

2009-11-26 Thread Philipp Kocher
Hi all,

We would like the students to create simple html-documents with text and 
images and upload them to the schoolserver for a simple homepage. The 
Write activity (we are using version 60 on build 802) has a feature 
Keep as Hypertext (HTML), but when images are inserted into the 
document the files get huge (10 times bigger than original image).

If I check the file size in the datastore, an image created with Record 
(file size 38kB, mimetype image/jpg) inserted in a html document 
containing nothing else than the image, the html file is 554kB (mimetype 
text/html).

The image is saved in the html-document with:
img ... src=data:image/png;base64,{image data}

I can do the same thing with Abiword 2.8.1 and the html file is just 
52kB, probably because it is using jpg:
img ... src=data:image/jpeg;base64,{image data}

There is an old ticket for that (last modified 2 years ago):
Ticket #1442 non-PNG image support for Abiword

Any suggestions for a workaround? Is there an other activity we could 
use to create html pages?

Best regards,
Philipp

PS: other document types created with Write have the same problem:
image/jpg:   38kB (created with Record activity)
application/rtf:821kB (created with Write activity)
text/html:  554kB (created with Write activity)
application/vnd.oasis.opendocument.text: 406kB (created with Write 
activity, default)
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Importing images in Write documents makes file huge

2009-11-26 Thread Philipp Kocher
The conversion to PNG was a general Abiword feature, but it got solved 
last July with Abiword 2.7.6 (see link below).
On my XO libabiword-2.6.4-6.olpc3 is installed (build 802).

Is it possible to install an libabiword-olpc rpm of version 2.7.6 or newer?

http://planet.abisource.com/:
July 04, 2009
Marc Maurer: Impressive AbiWord release
We just released AbiWord 2.7.6, which is an awesome release in my opinion!
It for example adds native JPEG support, so we don’t convert every JPEG 
internally to PNG anymore. This will be of great benefit on the OLPC 
laptop, where kids use built-in camera to produce photos in JPEG format 
and add them to their document. This will greatly reduce the filesize of 
their document. It will also be a lot less bandwidth intensive when 
collaborating on such a document.

On 11/26/2009 03:01 PM, Philipp Kocher wrote:
 Hi all,

 We would like the students to create simple html-documents with text and
 images and upload them to the schoolserver for a simple homepage. The
 Write activity (we are using version 60 on build 802) has a feature
 Keep as Hypertext (HTML), but when images are inserted into the
 document the files get huge (10 times bigger than original image).

 If I check the file size in the datastore, an image created with Record
 (file size 38kB, mimetype image/jpg) inserted in a html document
 containing nothing else than the image, the html file is 554kB (mimetype
 text/html).

 The image is saved in the html-document with:
 img ... src=data:image/png;base64,{image data}

 I can do the same thing with Abiword 2.8.1 and the html file is just
 52kB, probably because it is using jpg:
 img ... src=data:image/jpeg;base64,{image data}

 There is an old ticket for that (last modified 2 years ago):
 Ticket #1442 non-PNG image support for Abiword

 Any suggestions for a workaround? Is there an other activity we could
 use to create html pages?

 Best regards,
 Philipp

 PS: other document types created with Write have the same problem:
 image/jpg: 38kB (created with Record activity)
 application/rtf:  821kB (created with Write activity)
 text/html:554kB (created with Write activity)
 application/vnd.oasis.opendocument.text: 406kB (created with Write
 activity, default)
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Importing images in Write documents makes file huge

2009-11-26 Thread Tomeu Vizoso
On Thu, Nov 26, 2009 at 09:32, Philipp Kocher philipp.koc...@gmx.net wrote:
 The conversion to PNG was a general Abiword feature, but it got solved
 last July with Abiword 2.7.6 (see link below).
 On my XO libabiword-2.6.4-6.olpc3 is installed (build 802).

 Is it possible to install an libabiword-olpc rpm of version 2.7.6 or newer?

I guess it depends on how many technical resources you have, but it's
definitely possible. Though maybe the best way forward is helping with
the effort of making F11 work well on the XO-1s.

http://wiki.laptop.org/go/F11_for_XO-1

Regards,

Tomeu

 http://planet.abisource.com/:
 July 04, 2009
 Marc Maurer: Impressive AbiWord release
 We just released AbiWord 2.7.6, which is an awesome release in my opinion!
 It for example adds native JPEG support, so we don’t convert every JPEG
 internally to PNG anymore. This will be of great benefit on the OLPC
 laptop, where kids use built-in camera to produce photos in JPEG format
 and add them to their document. This will greatly reduce the filesize of
 their document. It will also be a lot less bandwidth intensive when
 collaborating on such a document.

 On 11/26/2009 03:01 PM, Philipp Kocher wrote:
 Hi all,

 We would like the students to create simple html-documents with text and
 images and upload them to the schoolserver for a simple homepage. The
 Write activity (we are using version 60 on build 802) has a feature
 Keep as Hypertext (HTML), but when images are inserted into the
 document the files get huge (10 times bigger than original image).

 If I check the file size in the datastore, an image created with Record
 (file size 38kB, mimetype image/jpg) inserted in a html document
 containing nothing else than the image, the html file is 554kB (mimetype
 text/html).

 The image is saved in the html-document with:
 img ... src=data:image/png;base64,{image data}

 I can do the same thing with Abiword 2.8.1 and the html file is just
 52kB, probably because it is using jpg:
 img ... src=data:image/jpeg;base64,{image data}

 There is an old ticket for that (last modified 2 years ago):
 Ticket #1442 non-PNG image support for Abiword

 Any suggestions for a workaround? Is there an other activity we could
 use to create html pages?

 Best regards,
 Philipp

 PS: other document types created with Write have the same problem:
 image/jpg:                     38kB (created with Record activity)
 application/rtf:              821kB (created with Write activity)
 text/html:                    554kB (created with Write activity)
 application/vnd.oasis.opendocument.text: 406kB (created with Write
 activity, default)
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel




-- 
«Sugar Labs is anyone who participates in improving and using Sugar.
What Sugar Labs does is determined by the participants.» - David
Farning
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Importing images in Write documents makes file huge

2009-11-26 Thread Philipp Kocher
On 11/26/2009 07:06 PM, Tomeu Vizoso wrote:
 On Thu, Nov 26, 2009 at 09:32, Philipp Kocherphilipp.koc...@gmx.net  wrote:
 The conversion to PNG was a general Abiword feature, but it got solved
 last July with Abiword 2.7.6 (see link below).
 On my XO libabiword-2.6.4-6.olpc3 is installed (build 802).

 Is it possible to install an libabiword-olpc rpm of version 2.7.6 or newer?

 I guess it depends on how many technical resources you have, but it's
 definitely possible. Though maybe the best way forward is helping with
 the effort of making F11 work well on the XO-1s.

 http://wiki.laptop.org/go/F11_for_XO-1

What about 8.2.x?
At the moment the write activity is not really responsive when a few 
pictures are in the document. I expect that would improve as well.

It looks like abiword 2.8.1 is already part of F11 for XO 1, which 
should solve the problem. But I don't expect F11 being installed on the 
student XOs very soon, is there an alternative solution like another 
activity that can create simple html files with pictures?

 Regards,

 Tomeu

 http://planet.abisource.com/:
 July 04, 2009
 Marc Maurer: Impressive AbiWord release
 We just released AbiWord 2.7.6, which is an awesome release in my opinion!
 It for example adds native JPEG support, so we don’t convert every JPEG
 internally to PNG anymore. This will be of great benefit on the OLPC
 laptop, where kids use built-in camera to produce photos in JPEG format
 and add them to their document. This will greatly reduce the filesize of
 their document. It will also be a lot less bandwidth intensive when
 collaborating on such a document.

 On 11/26/2009 03:01 PM, Philipp Kocher wrote:
 Hi all,

 We would like the students to create simple html-documents with text and
 images and upload them to the schoolserver for a simple homepage. The
 Write activity (we are using version 60 on build 802) has a feature
 Keep as Hypertext (HTML), but when images are inserted into the
 document the files get huge (10 times bigger than original image).

 If I check the file size in the datastore, an image created with Record
 (file size 38kB, mimetype image/jpg) inserted in a html document
 containing nothing else than the image, the html file is 554kB (mimetype
 text/html).

 The image is saved in the html-document with:
 img ... src=data:image/png;base64,{image data}

 I can do the same thing with Abiword 2.8.1 and the html file is just
 52kB, probably because it is using jpg:
 img ... src=data:image/jpeg;base64,{image data}

 There is an old ticket for that (last modified 2 years ago):
 Ticket #1442 non-PNG image support for Abiword

 Any suggestions for a workaround? Is there an other activity we could
 use to create html pages?

 Best regards,
 Philipp

 PS: other document types created with Write have the same problem:
 image/jpg: 38kB (created with Record activity)
 application/rtf:  821kB (created with Write activity)
 text/html:554kB (created with Write activity)
 application/vnd.oasis.opendocument.text: 406kB (created with Write
 activity, default)
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel




___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Importing images in Write documents makes file huge

2009-11-26 Thread Benjamin M. Schwartz
Philipp Kocher wrote:
 Is it possible to install an libabiword-olpc rpm of version 2.7.6 or newer?

Note that this represents a flag day change.  Users with version below
and above will not be able to collaborate, at least when trying to share
documents containing jpeg images.

--Ben



signature.asc
Description: OpenPGP digital signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel