Author Topic: zbedic 0.9.2-3 released  (Read 7407 times)

rafm

  • Full Member
  • ***
  • Posts: 145
    • View Profile
zbedic 0.9.2-3 released
« Reply #15 on: November 25, 2004, 04:12:02 am »
Quote
ok, I think I followed your directions correctly this time.
Ken,

I can odly advise you to double check the format of your dictionary with the document at SF:

Browse CVS->libbedic->doc->bedic-format.txt at the project page:
http://sourceforge.net/projects/bedic/

Let me know if you have problem accessing this file.

The problems I can still see in your dictionary file (but there can also be something else):
* The last byte MUST be of value '0', not a string "\0"
* Entries MUST be separated with 0-byte, not EOL
* Each {s} tag MUST be closed with {/s} tag, and {ss} with {/ss}
SL-C1000 w/ Cacko ROM 1.23

rafm

  • Full Member
  • ***
  • Posts: 145
    • View Profile
zbedic 0.9.2-3 released
« Reply #16 on: November 25, 2004, 04:23:09 am »
Quote
This is why we use qmake. We don't need fancy Makefiles, we just need a platform independent .pro file. Handcrafted Makefiles are only a source of trouble for distribution builders like us.
qmake is nice and simplifies a few things. But I am not sure if it can also build .ipk packages (make ipk) and source distributions (make dist).
SL-C1000 w/ Cacko ROM 1.23

rafm

  • Full Member
  • ***
  • Posts: 145
    • View Profile
zbedic 0.9.2-3 released
« Reply #17 on: November 25, 2004, 04:34:43 am »
Quote
One thing I noticed, though, is that this version still makes use of the Global::FindDocuments function, which is death for users with large media (I use a 4GB microdrive, loaded with files). Qtopia's file search functions are very, very slow.
I am aware of this problem and I will try to address it in the next release. Briefly, my solution is:
* Remove search for dictionary files at startup
* Add a settings tab with the list of dictionaries found by Global::FindDocuments
** User can activate and deactivate listed dics
* At startup, load only activated dictionaries
This will speed up startup and eliminate a need for the paths to dictionary files.  Global search will be run only when the user wants to add new dictionaries.

Quote
On a side note, I don't know if you have access to the libbedic project, but I noticed that the files 'file.cpp' and 'file.h' are not in the CVS repository. I had to download the source tarball to get them.

Thanks flagging that. I will add missing files to the CVS.
SL-C1000 w/ Cacko ROM 1.23

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
zbedic 0.9.2-3 released
« Reply #18 on: November 25, 2004, 11:15:50 am »
Quote
rafm:

The changes are nice, especially the new layout. One thing I noticed, though, is that this version still makes use of the Global::FindDocuments function, which is death for users with large media (I use a 4GB microdrive, loaded with files). Qtopia's file search functions are very, very slow.

As the LoadDictionaries function also uses a predefined path (as specified in the settings file), I don't think the global searching is really necessary; I compiled my own version, with the first half of the LoadDictionaries function commented out, and it works fine.
Could you post your compiled version?

I have a big CF and the same problem.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ashikase

  • Sr. Member
  • ****
  • Posts: 280
    • View Profile
    • http://
zbedic 0.9.2-3 released
« Reply #19 on: November 25, 2004, 09:38:56 pm »
rehorrericha:

Here.

- ashikase
- anpachi, gifu, japan
SL-C3100 & SL-C760

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
zbedic 0.9.2-3 released
« Reply #20 on: November 26, 2004, 09:57:17 am »
Quote
rehorrericha:

Here.

- ashikase
- anpachi, gifu, japan
Hmmm...

But why is your compiled file one and a half Meg, as compared to slightly over 200 k for the unmodified zbedic file?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ashikase

  • Sr. Member
  • ****
  • Posts: 280
    • View Profile
    • http://
zbedic 0.9.2-3 released
« Reply #21 on: November 26, 2004, 11:20:32 am »
rehorrericha:

Yeah, I noticed it was rather big... it's probably linking to a library statically or something. I never bothered looking into it before, as I have plenty of space at the moment.

- ashikase
- anpachi, gifu, japan
SL-C3100 & SL-C760

rafm

  • Full Member
  • ***
  • Posts: 145
    • View Profile
zbedic 0.9.2-3 released
« Reply #22 on: November 28, 2004, 01:21:36 pm »
zbedic 0.9.3 is available for testing at sf:
download

This release may not be 100% stable since new features required some radical changes. Use at your own risk. Please report any problems (the best place is sf->bugs, but this forum is good as well).

ChangeLog:
27.11.2004 0.9.3 Rafal Mantiuk <rafm@users.sourceforge.org>
   * Major change: improved loading of dictionary files
   ** Removed global search and path search at startup
   ** Added settings tab: search for dictionary files + switching dictionaries (in)active
   ** Added mime type for .dz files
   ** Loads only the dictionaries selected in the setings
   (Should improve startup time for large SD/CF cards)
   * Fix: Reorganized settings dialog (options categorized into 3 tabs)   
   * Added: Toolbar can be configured in the settings
   * Added: "Switch dictionaries" button
   * Added: Dictionary files can be openned from File Browser
   * Added: Font preview in settings dialog   
   * Fix: Memory leak in libbedic
   * Fix: Tool buttons are not hidden when larger font is selected on 5x00   
   * Change: Simplified state saving - only the word and dictionary is saved and restored
SL-C1000 w/ Cacko ROM 1.23

anonuk

  • Full Member
  • ***
  • Posts: 176
    • View Profile
    • http://
zbedic 0.9.2-3 released
« Reply #23 on: November 29, 2004, 06:14:14 am »
Great work! this program gets better and better...... has anyone got a list of keyboard shortcuts?
* C3100 with Cacko 1.23 and debian (pocketworkstation) - 1Gb SD / 1Gb CF / Prism Wifi
* C-860 with Cacko 1.21b/pdaXrom dualboot with 256Mb CF / 512 Mb SD / Prism Wifi
* SL-5500 with Cacko rom with 128Mb SD home on SD / 96 Mb CF

rafm

  • Full Member
  • ***
  • Posts: 145
    • View Profile
zbedic 0.9.2-3 released
« Reply #24 on: November 29, 2004, 06:36:18 am »
Quote
has anyone got a list of keyboard shortcuts?
How about checking the keyboard shortcuts in the program help
SL-C1000 w/ Cacko ROM 1.23

anonuk

  • Full Member
  • ***
  • Posts: 176
    • View Profile
    • http://
zbedic 0.9.2-3 released
« Reply #25 on: November 29, 2004, 04:26:05 pm »
when i click help i get a blank page with a back button and a home button.... is there a help file to install?
* C3100 with Cacko 1.23 and debian (pocketworkstation) - 1Gb SD / 1Gb CF / Prism Wifi
* C-860 with Cacko 1.21b/pdaXrom dualboot with 256Mb CF / 512 Mb SD / Prism Wifi
* SL-5500 with Cacko rom with 128Mb SD home on SD / 96 Mb CF

rafm

  • Full Member
  • ***
  • Posts: 145
    • View Profile
zbedic 0.9.2-3 released
« Reply #26 on: November 30, 2004, 07:15:07 am »
Quote
when i click help i get a blank page with a back button and a home button.... is there a help file to install?
That is strange. The help files should install together with zbedic. Have you installed zbedic from an ipk archive? What language settings do you use? There are only English help files with zbedic.
SL-C1000 w/ Cacko ROM 1.23

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
zbedic 0.9.2-3 released
« Reply #27 on: December 02, 2004, 05:29:54 am »
Quote
I can odly advise you to double check the format of your dictionary with the document at SF:
Hi:

I'd like to make few dictionaries for myself from textfiles too.

Somehow though I'm not sure about the format exactly, though I have inspected the files.

All the available dictionaries seem to be compressed with SHCM, so I can't inspect their internal text layout.

Could you provide me with a simple non-compressed dictionaries of even just three lines of terms, so I could copy the structure exactly and produce my own?

Thank you.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

rafm

  • Full Member
  • ***
  • Posts: 145
    • View Profile
zbedic 0.9.2-3 released
« Reply #28 on: December 07, 2004, 04:33:21 am »
Quote
I'd like to make few dictionaries for myself from textfiles too.

Somehow though I'm not sure about the format exactly, though I have inspected the files.

All the available dictionaries seem to be compressed with SHCM, so I can't inspect their internal text layout.

Could you provide me with a simple non-compressed dictionaries of even just three lines of terms, so I could copy the structure exactly and produce my own?

Thank you.
SHCM compression is not used any longer as it is less efficient than dictzip.

You can use dictunzip to decompress all *.dic.dz files.  See: http://cvs.sourceforge.net/viewcvs.py/bedi...v=1.2&view=auto -> IV. Step by step guide for building new dictionaries
SL-C1000 w/ Cacko ROM 1.23

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
zbedic 0.9.2-3 released
« Reply #29 on: December 07, 2004, 05:23:22 am »
Quote
You can use dictunzip to decompress all *.dic.dz files.  See: http://cvs.sourceforge.net/viewcvs.py/bedi...v=1.2&view=auto -> IV. Step by step guide for building new dictionaries
I looked but didn't find it at the dict.org site: do you know where I could download dictzip and dictunzip for either the Zaurus or for Windows?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze