Re: [Zim-wiki] Zim 0.26 released !

2008-09-03 Thread Rui Nibau
Hi all.

Le mercredi 03 septembre 2008 à 22:13 +0200, Jaap Karssenberg a écrit :
> > zim ./test.gjots
> >
> > But it's still buggy :
> >   
> 
> Got it, fixed in trunk.
> 

:-) :-) :-)

> >> In theory you should be able to do a commandline command to have zim 
> >> export a gjots notebook to a zim notebook(...)
> 
> Also fixed in trunk. You can now do
>
> zim --export dir=./test,format=wiki test.gjots
> 
> and it will convert a gjots file to a zim notebook.
> 

:-D :-D :-D (translation: Me Happy)

Installed bazaar and zim 0.26r99.

Test it against one of my gjots file (730 Ko) with a complex nested
tree :

(1) opening the gjots file as read only . ok
(2) converting the gjots file to a zim notebook . ok

I'll make some more tests, but it seems to work really well.

Great job Jaap. Thanks a lot !

regards,

-- 
Rui Nibau <[EMAIL PROTECTED]>
Développeur web, rédacteur scientifique
http://www.omacronides.com
http://www.framasoft.net



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.26 released !

2008-09-03 Thread Jaap Karssenberg

Rui Nibau wrote:

Strange. I ran :

zim ./test.gjots

But it's still buggy :
  


Got it, fixed in trunk.

In theory you should be able to do a commandline command to have zim 
export a gjots notebook to a zim notebook. Just tested it but it doesn't 
work :( Give me a few days and I'll push a fix to the bazaar tree.



Also fixed in trunk. You can now do
  
   zim --export dir=./test,format=wiki test.gjots


and it will convert a gjots file to a zim notebook.

Regards,

Jaap


P.S. to get the trunk code tree install bazaar and run "bzr lp:zim"


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.26 released !

2008-09-02 Thread Rui Nibau
Le mardi 02 septembre 2008 à 21:24 +0200, Jaap Karssenberg a écrit :

> What is going wrong here is that zim thinks it is a notebook name 
> because there is no "/" in it. Using "zim ./test.gjots" should work. 
> Probably I should consider this a bug and check all names also as file 
> in the local dir.

Strange. I ran :

zim ./test.gjots

But it's still buggy :

## Got notebook: /home/rnb/test.gjots
# No daemon listening .. let's start one
# locale: fr_FR.UTF-8
# Loading translation from: /usr/local/bin/../share/zim/lingua/fr.pl
# This is zim 0.26
# Gtk2 version is 1.161
#   compiled against gtk+ 2.12.0
#   linked   against gtk+ 2.12.9
# Notebook path = /home/rnb/test.gjots
#  page = 
## Daemon: Forked client with PID 8631
## Daemon: Listening at PID 8629
# Adding store of type 'Gjots' at ':'
## FS read: /home/rnb/notebook.zim
# Store does not use version control
# History file: /home/rnb/.zim/history.cache (max 15)
## FS read: /home/rnb/.zim/state.conf
# Profile: reader
# Reading config from: /usr/local/bin/../share/zim/reader.conf
## FS read: /usr/local/share/zim/reader.conf
## Call daemon: register /home/rnb/
# Notebook: /home/rnb/
## Daemon: PID 8631 says: register /home/rnb/
TODO resolve case for: Home
# Home: :Home
## FS read: /usr/local/share/zim/default.style
TODO resolve case for: Home
## GUI load_page:  (obj:  rec: )
WARNING: You tried to load an empty name.
## emit t_read_only: 0 (Zim::GUI)
Can't call method "name" on unblessed reference
at /usr/local/share/perl/5.8.8/Zim/GUI.pm line 2416.
## Daemon: Client with PID 8631 exited
## Daemon: Last client exited
## Daemon: Exiting 

> In theory you should be able to do a commandline command to have zim 
> export a gjots notebook to a zim notebook. Just tested it but it doesn't 
> work :( Give me a few days and I'll push a fix to the bazaar tree.
> 

Cool. Thanks Jaap.

-- 
Rui Nibau <[EMAIL PROTECTED]>
http://www.omacronides.com
http://www.framasoft.net



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.26 released !

2008-09-02 Thread Jaap Karssenberg

Rui Nibau wrote:
Just opening a ".gjots" file with zim should open it as a read-only 
notebook in zim. Still experimenting with this, included it because I 
needed some other patches from te same source tree. So please give me 
feedback if you actually use this.



Yes, that's what i tried, but it always failed.

(1) Created a gjots test file (test.gjots) with gjots2 2.3.7 :

\NewEntry
Home

Test de fichier gjots

The type MIME of the file is good (application/x-gjots).

(2) Ran zim with the command line :

zim -D test.gjots

I also tried :

zim -p reader -D test.gjots
  


What is going wrong here is that zim thinks it is a notebook name 
because there is no "/" in it. Using "zim ./test.gjots" should work. 
Probably I should consider this a bug and check all names also as file 
in the local dir.



(3) So, I created a virtual entry in the notebooks.list file :

Gjots   ~/test.gjots

(4) Ran zim with the command line

zim -D Gjots

But it still doesn't work.
  


Strange, this should work as well; just tested it without problem.


BTW, it's not a critical point. As an old outliner user, i have a lot of
datas in a lot of different file formats. That's why i'm writing an
outliner converter since a couple of months (well, when i have time),
above all to recover datas saved with Keynote, an old Windows app. So i
worked on a Keynote -> gjots, a Keynote -> Zim and a gjots <-> zim
converters, all in php. Time to finish the work and, maybe, rewrite the
last converter in perl to make it a zim plugin, starting with what you
have done in lib/Zim/Store/Gjots.pm.
  


In theory you should be able to do a commandline command to have zim 
export a gjots notebook to a zim notebook. Just tested it but it doesn't 
work :( Give me a few days and I'll push a fix to the bazaar tree.


Regards,

Jaap


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.26 released !

2008-09-02 Thread Rui Nibau
Hi all.

Le lundi 01 septembre 2008 à 23:09 +0200, Jaap Karssenberg a écrit :

> Verbatim is a style just like bold or italic, so you can toggle
> T to turn it off while typing. The odd thing is that if you are
> on a new line after a verbatim paragraph and toggle T **the
> indent does not go away until you start typing**. You can look at the
> statusbar to get feedback whether you are in Verbatim or in normal
> style mode.

That's exactly what happened. Thanks for the tip.

> Just opening a ".gjots" file with zim should open it as a read-only 
> notebook in zim. Still experimenting with this, included it because I 
> needed some other patches from te same source tree. So please give me 
> feedback if you actually use this.
> 

Yes, that's what i tried, but it always failed.

(1) Created a gjots test file (test.gjots) with gjots2 2.3.7 :

\NewEntry
Home

Test de fichier gjots

The type MIME of the file is good (application/x-gjots).

(2) Ran zim with the command line :

zim -D test.gjots

I also tried :

zim -p reader -D test.gjots

Here's what i've got (first command line):

## FS read: /home/[login]/.config/zim/notebooks.list
## Got notebook: test.gjots
# No daemon listening .. let's start one
# locale: fr_FR.UTF-8
# Loading translation from: /usr/local/bin/../share/zim/lingua/fr.pl
# This is zim 0.26
# Gtk2 version is 1.161
#   compiled against gtk+ 2.12.0
#   linked   against gtk+ 2.12.9
# Notebook path = test.gjots
#  page = 
## FS read: /home/rnb/.config/zim/notebooks.list
## Daemon: Forked client with PID 6705
## Daemon: Listening at PID 6703
zim: Carnet inconnu : test.gjots (NdT. Unknown Notebook)
## Daemon: Client with PID 6705 exited
## Daemon: Last client exited
## Daemon: Exiting

(3) So, I created a virtual entry in the notebooks.list file :

Gjots   ~/test.gjots

(4) Ran zim with the command line

zim -D Gjots

But it still doesn't work.

BTW, it's not a critical point. As an old outliner user, i have a lot of
datas in a lot of different file formats. That's why i'm writing an
outliner converter since a couple of months (well, when i have time),
above all to recover datas saved with Keynote, an old Windows app. So i
worked on a Keynote -> gjots, a Keynote -> Zim and a gjots <-> zim
converters, all in php. Time to finish the work and, maybe, rewrite the
last converter in perl to make it a zim plugin, starting with what you
have done in lib/Zim/Store/Gjots.pm.

Regards,


-- 
Rui Nibau <[EMAIL PROTECTED]>
http://www.omacronides.com
http://www.framasoft.net



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.26 released !

2008-09-02 Thread Jaap Karssenberg
On Tue, Sep 2, 2008 at 9:32 AM, Raphael Hertzog <[EMAIL PROTECTED]> wrote:
> It's not a new issue... one you start a block of indented text, it's
> difficult to get out of it. "Enter" adds a new line in the block, and the
> usual "backspace" doesn't revert the indent of any new line in the
> indented block.
>
> So what's the proper way to end a block of indented text?

Verbatim is a style just like bold or italic, so you can toggle
T to turn it off while typing. The odd thing is that if you are
on a new line after a verbatim paragraph and toggle T the indent
does not go away until you start typing. You can look at the statusbar
to get feedback whether you are in Verbatim or in normal style mode.

I have one suggestion lying around to make  toggle off all styles
and return to normal mode (effectively an alias for 6). I'm
considering adding this key binding in the next release because it
seems quite intuitive.

Regards,

Jaap

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.26 released !

2008-09-02 Thread Raphael Hertzog
On Mon, 01 Sep 2008, Jaap Karssenberg wrote:
> Not sure what you mean here, can you explain? The indent of verbatim  
> paragraphs was reduced when I updated the display style, so maybe it  
> looks less indented now ? But also the wiki syntax for this changed and  
> is no longer using indenting - do you see an issue there ?

It's not a new issue... one you start a block of indented text, it's
difficult to get out of it. "Enter" adds a new line in the block, and the
usual "backspace" doesn't revert the indent of any new line in the
indented block.

So what's the proper way to end a block of indented text?

Cheers,
-- 
Raphaël Hertzog

Le best-seller français mis à jour pour Debian Etch :
http://www.ouaza.com/livre/admin-debian/

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.26 released !

2008-09-01 Thread Jaap Karssenberg

Rui Nibau wrote:

Hi all.

Nice release Jaap.

I didn't test all the features yet, but i'm using Zim on a everyday
basis and the common functionalities worked just well.
  


Good :)


Except sometimes a silly behaviour with the 'verbatim' format : it's
hard to come back to default (line is always indented). I'll try to make
a detailed test case for this.
  


Not sure what you mean here, can you explain? The indent of verbatim 
paragraphs was reduced when I updated the display style, so maybe it 
looks less indented now ? But also the wiki syntax for this changed and 
is no longer using indenting - do you see an issue there ?



* Added support for reading gjots2(1) files; added
  application/x-gjots mimetype



BTW, i didn't find the way to read gjots files. How do you do that ?
  


Just opening a ".gjots" file with zim should open it as a read-only 
notebook in zim. Still experimenting with this, included it because I 
needed some other patches from te same source tree. So please give me 
feedback if you actually use this.


Regards,

Jaap <[EMAIL PROTECTED]>


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim 0.26 released !

2008-08-31 Thread Rui Nibau
Hi all.

Nice release Jaap.

I didn't test all the features yet, but i'm using Zim on a everyday
basis and the common functionalities worked just well.

Except sometimes a silly behaviour with the 'verbatim' format : it's
hard to come back to default (line is always indented). I'll try to make
a detailed test case for this.

> * Added support for reading gjots2(1) files; added
>   application/x-gjots mimetype

BTW, i didn't find the way to read gjots files. How do you do that ?

Regards.


-- 
Rui Nibau <[EMAIL PROTECTED]>
http://www.omacronides.com
http://www.framasoft.net



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] Zim 0.26 released !

2008-08-24 Thread Jaap Karssenberg

Dear all,

Today I released zim 0.26. This is a mayor release adding version 
control based on Bazaar. This means zim now has a "Save Version" action 
and a "Versions" dialog to browse older versions. Also the wiki syntax 
has been changed to allow non-verbatim paragraphs to be indented. 
Critical bugs on windows and with perl 5.10 are fixed. Translation are 
added for Finnish, Turkish and Simplified Chinese.


Please give it a try, report bugs and update the distro packages :)

Changelog:

   * Added translations for Finnish, Turkish and Simplified Chinese
   * Added integrated version control support for zim notebooks based
 on Bazaar. Added "Save Version" (S) and "Versions"
 dialog to File menu.
   * Zim text files now have headers with content type and time stamps
   * Changed wiki syntax for Verbatim blocks, now allows non-verbatim
 paragaphs and bullet lists to be indented - lp #208986
   * Added mimetype for zim text files text/x-zim-wiki
   * Changed mimetype for .zim files to application/x-zim-notebook
   * Added special notebook for man pages with "--man" commandline option
   * Added support for reading gjots2(1) files; added
 application/x-gjots mimetype
   * Made auto incrementing a numbered list optional - lp #235020
   * Added translation support for plural forms - lp #226976
   * Fixed bugs for perl 5.10 - lp #235030, #242490
   * Fixed bug in Calendar plugin when namespace is read-only
   * Fixed bug in ToggleReadOnly plugin when first page is read-only
   * Fixed bug with TrayIcon for single notebook mode - lp #252712
   * Fixed bug that prevented typing under win32 - lp #252005

And of course the translation status:
po/cs.po75 untranlated
po/da.pocomplete, 4 fuzzy
po/de.pocomplete, 10 fuzzy
po/es.po39 untranslated, 10 fuzzy
po/fi.pocomplete, 1 fuzzy
po/fr.pocomplete
po/gl.po20 untranslated, 3 fuzzy
po/he.pocomplete
po/it.po29 untranslated
po/nl.pocomplete
po/pt.po15 untranslated
po/ru.po77 untranslated, 13 fuzzy
po/sv.po90 untranslated
po/tr.pocomplete, 6 fuzzy
po/zh_CN.po complete


A big thanks to everybody for updating translations, reporting bugs and 
sending feedback and feature requests!


Regards,

Jaap <[EMAIL PROTECTED]>


___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp