Author Topic: Zaurus Port Of Treeline  (Read 21473 times)

fpp

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • http://
Zaurus Port Of Treeline
« Reply #15 on: April 08, 2005, 05:36:17 pm »
Episode 6 - A real problem...

The only thing I've found that is not workable on the Z is the "Configure Data Types" dialog in its present state.

The top and bottom parts are off-screen, along with a couple of fields and the OK/Cancel buttons...

On my 760 the Cancel button on the keyboard dismisses the dialog, but the OK button does not validate it. So as far as I can tell, you can't *define* a new record type directly on the Zaurus version.

Of course, you can run the app on your desktop PC too (Windows/Linux), so you can organize your data types there, then copy over the .trl file(s), so that doesn't mean you can't put treeline to good use on the Z !

Maybe someone familiar wih Qt/QPE could turn that dialog into a vertically scrolling one like the General Options above ?

 [ Invalid Attachment ]

Thanks to Zenyatta for making his port available !

If there's something specific anyone wants tried/tested/checked, just ask...

Enjoy,
fp

kahm

  • Hero Member
  • *****
  • Posts: 657
    • View Profile
Zaurus Port Of Treeline
« Reply #16 on: April 08, 2005, 06:02:58 pm »
Quote
Episode 6 - A real problem...

The only thing I've found that is not workable on the Z is the "Configure Data Types" dialog in its present state.

The top and bottom parts are off-screen, along with a couple of fields and the OK/Cancel buttons...

On my 760 the Cancel button on the keyboard dismisses the dialog, but the OK button does not validate it. So as far as I can tell, you can't *define* a new record type directly on the Zaurus version.

Of course, you can run the app on your desktop PC too (Windows/Linux), so you can organize your data types there, then copy over the .trl file(s), so that doesn't mean you can't put treeline to good use on the Z !

Maybe someone familiar wih Qt/QPE could turn that dialog into a vertically scrolling one like the General Options above ?

 [ Invalid Attachment ]

Thanks to Zenyatta for making his port available !

If there's something specific anyone wants tried/tested/checked, just ask...

Enjoy,
fp
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74331\"][{POST_SNAPBACK}][/a][/div]

I'm not familiar with Python, so I'm not even going to try and fix the problem. Just curious, though - Have you tried rotating the screen? That may bring the dialog buttons into view.
Fujitsu U8240 "Stormtrooper" -  Zaurus Supplement
Libretto U100 | Sony Librie, Sony Reader
SL-C3100: Sharp 1.11JP (Kanji Dictionary/Translator) - LCD Top swap with C1000.
SL-C3000: pdaXii13 5.4.7, SL-C3000 5.4.9 - microdrive replaced with 8gb Sandisk
SL-C1000: PDAXRom Beta3 | SL-6000L: Sharp 1.12 | SL-5500: Cacko, 64-0 kernel | SL-5000D: OZ-Opie
Linksys WCF12; Sharp CE-AG06, CE-RH2, CE-170TS; iRiver USB OTG Host cable; Socket BT rev.E CF; Hitachi 6gb Microdrive

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Zaurus Port Of Treeline
« Reply #17 on: April 09, 2005, 11:16:34 am »
fpp: You da man! I'm very impressed. Two of the problems you mention are very easy to solve or work around:

1. The Enter key on the keyboard is equivalent to the OK key, at least on the 5500. That allows me to define new data types even on the Zaurus (although it is pure torture). I have added this workaround to the documentation.

2. If the biggest difference between Sharp and OZ packages is the archiving program used, it's very trivial to create both versions. I have now added a package to the download area that will hopefully work with Sharp ROMs. I have no way of testing that, of course. There may be dependency problems if python packages on the Sharp side are structured differently than under OZ. It might have to be installed without dependency checking.

I must say I never thought that differences between Sharp ROMs and OpenZaurus might present bigger problems than differences between Zaurus models  

Cheers,
z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

fpp

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • http://
Zaurus Port Of Treeline
« Reply #18 on: April 10, 2005, 05:57:38 pm »
Quote
fpp: You da man! I'm very impressed. Two of the problems you mention are very easy to solve or work around:
1. The Enter key on the keyboard is equivalent to the OK key, at least on the 5500. That allows me to define new data types even on the Zaurus (although it is pure torture).
On the 760 keyboard the Enter and OK keys are also equivalent, and generally map to a dialog's OK/Yes button... but not on this one. Mostly it seems to call the "modify data type list" dialog, although it depends where the focus is.
There are other workarounds though : kham's idea works (nice call kham, see below !), and also you can tab your way to the OK button itself (4 tabs from the "output format" field, or 2 shift-tabs from the first field) and press Enter. But I agree it's strictly for emergencies only
Quote
2. If the biggest difference between Sharp and OZ packages is the archiving program used, it's very trivial to create both versions. I have now added a package to the download area that will hopefully work with Sharp ROMs.
Well, dunno if it's really trivial, but this one doesn't work here :
Code: [Select]
# ipkg install treeline_0.8.1_sharp_arm.ipk
 zcat: stdin: unexpected end of file
ipkg_install_file: ERROR unpacking control.tar.gz from treeline_0.8.1_sharp_arm.ipk
BTW, that's the exact same error I received many times while trying to build my own ipk from the OZ original, which is why I ended up installing by hand. So there must be another difference somewhere...

fpp

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • http://
Zaurus Port Of Treeline
« Reply #19 on: April 10, 2005, 06:09:04 pm »
Episode 7 - Mo' Fun !

Yes, I know there ain't no Star Wars episode 7, but just for kicks... When I started Treeline from the console today, to check on the above, I got a very different result than on Friday :



More legible and easier on the eyes, no ? I've already seen both the small text/large text versions, but I'm not sure how to reliably get either. Guess it comes from launching through the console... I wonder which version a proper IPK installation with a working icon will give ?

Obviously though, the "Configure Data Types" dialog problem just got worse :



Fortunately, kham comes to the rescue : if you rotate the screen, this is what you get (well, most of the time anyway - here too there are variants :-) :

 [ Invalid Attachment ]

Yay, an OK button

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Zaurus Port Of Treeline
« Reply #20 on: April 11, 2005, 03:26:08 am »
Quote
I wonder which version a proper IPK installation with a working icon will give ?
*sigh* I have to buy a new unit by the end of the month. This is no good without a Zaurus.

Cheers,
z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

mandjab

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Zaurus Port Of Treeline
« Reply #21 on: April 11, 2005, 04:45:08 pm »
Quote
Code: [Select]
# ipkg install treeline_0.8.1_sharp_arm.ipk
 zcat: stdin: unexpected end of file
ipkg_install_file: ERROR unpacking control.tar.gz from treeline_0.8.1_sharp_arm.ipk

I have the same installation problem with my 760 - Cacko 1.22

Could you help me?
« Last Edit: April 11, 2005, 04:45:49 pm by mandjab »
Zaurus SL-C 3100,  SL-C 760 Cacko 1.23, Buffalo Wifi, Buffalo Lan card,¨Planex GW-CF11X, 1Go SD card, 512 Mo SD card, 2 X EABL08, 1 CE RH1, 1 sharp Mic

http://myzauri.blogspot.com/

fpp

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • http://
Zaurus Port Of Treeline
« Reply #22 on: April 11, 2005, 06:42:39 pm »
Quote
I have the same installation problem with my 760 - Cacko 1.22
Could you help me?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74641\"][{POST_SNAPBACK}][/a][/div]
Sorry, no. I've tried, several times, to build an ipk on my own Z by disassembling zenyatta's and putting it back together, but I always get the same result. It's either something with the Cacko/Sharp installer, or something to do with the contents of the control file, despite its being plain text...

fpp

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • http://
Zaurus Port Of Treeline
« Reply #23 on: April 11, 2005, 06:51:11 pm »
Episode 8 - Icon works !
(Match that one, George L ! :-)

Saw this thread over in the python forum : https://www.oesf.org/forums/index.php?showtopic=11827

and tried some of those hints. Guess what, now the Treeline icon launches Treeline, nifty uh ? More good news, it launches the large-text version

I don't pretend to understand any of it, but it seems to boil down to this :

- either you take the treelinelauncher script that's called by the icon (Exec= in treeline.desktop) and you make it much more complicated using the stuff from the thread above (env, PYTHONPATH, output redirection, not sure which does it...)

- either you take it out of the loop entirely and just stick the path to treeline.py as the icon action, seems to work just as well :-)

Okay, back to that darned ipk...
« Last Edit: April 11, 2005, 06:51:37 pm by fpp »

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Zaurus Port Of Treeline
« Reply #24 on: April 12, 2005, 08:40:35 am »
Quote
- either you take it out of the loop entirely and just stick the path to treeline.py as the icon action, seems to work just as well :-)

Can you try the following please?

1. Launch TreeLine by tapping on its icon.
2. Push the Home button to get back to Qtopia desktop.
3. Tap the TreeLine icon in the task bar to go back to TreeLine.

I remember having a big problem with this - TreeLine would never come back up. My setup of treeline.desktop / treelinelauncher / treeline.py is the only way I found to make it work.

Thanks,
z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

fpp

  • Full Member
  • ***
  • Posts: 187
    • View Profile
    • http://
Zaurus Port Of Treeline
« Reply #25 on: April 13, 2005, 08:59:11 am »
Quote
Can you try the following please?
1. Launch TreeLine by tapping on its icon.
2. Push the Home button to get back to Qtopia desktop.
3. Tap the TreeLine icon in the task bar to go back to TreeLine.
I remember having a big problem with this - TreeLine would never come back up. My setup of treeline.desktop / treelinelauncher / treeline.py is the only way I found to make it work.
Yes, I seem to remember such things being discussed in the forums sometime last year (maybe it was you :-).

Well, I had done just this without thinking about it during the course of my testing, and I just tried again just to be sure, and I can confirm it just works, even with my treeline.desktop calling treeline.py directly...

Actually it's very fortunate that it does, because there is one peculiar thing about launching treeline on my Z : quite often ("...but not quite always", as seems to be my mantra these days :-), it will appear briefly then switch back to the desktop or to another app that's running. So you have to tap its icon on the taskbar to get it back.

It's not a problem, just a bit strange - the PyQt "demo app" (basic example) doesn't do this for example. And I *think* the behaviour was there with treelinelauncher, too.

Oh, and I seem to remember that early in the thread there was a question about start times. Subjectively I find them quite acceptable : with my 760 running its usual set of apps (Ko/Pi, Opera, a couple of python instances and a Snakelet server) loading Treeline takes just under 10 seconds. Not bad ! A bit more than lighter, native apps (like Portabase), but on par with compiled code like Ko/Pi, Ka/Pi etc., and certainly much better than some monsters running on kdemicrolib (like Tuxcards and Kcommander) that take so much of forever to start that they need a splashscreen to warn the user... Go Python/PyQt ! :-)

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Zaurus Port Of Treeline
« Reply #26 on: April 27, 2005, 07:47:35 am »
OK folks,

today I received my "new" 5500 so things should slowly start moving once again.

In the few long weeks without a Zaurus I've come up with alternative ways of doing PIM stuff. Thanks to that I will try to use the Zaurus less as a PIM tool and more as a development and testing toy. Hopefully my life will not disintegrate into complete chaos.

I would like everyone who is interested in this program to let me know
- the ROM (including version) they want to run it under,
- whether that ROM is available for the SL-5500, and
- where that ROM can be downloaded.

Thanks,
z.
« Last Edit: April 27, 2005, 07:50:58 am by zenyatta »
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

ken

  • Sr. Member
  • ****
  • Posts: 274
    • View Profile
Zaurus Port Of Treeline
« Reply #27 on: April 27, 2005, 02:40:06 pm »
I dont know if this is of any help, but I've found 'stageone' to be a great outliner.  It can be found at http://www.handango.com

It's one of the few apps that I'd buy the author's other programs if he made more apps.

It's well worth the price.  Since I first purchased it last year in November, I've noticed that he still is providing updates.
« Last Edit: April 27, 2005, 03:05:32 pm by ken »
SL-6000L Sharp ROM 1.12 - 1G SD (RiDATA) - 2G Microdrive (Hitachi)
TRENDnet TE-CF100 10/100 (no drivers needed) AmbiCom CF56M-EZ modem (no drivers needed)

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Zaurus Port Of Treeline
« Reply #28 on: April 28, 2005, 05:25:37 am »
Yes, there are several outliners on Handango, most of them quite good as far as I know. Certainly, people who want a polished outliner now should go with one of them. I'm just having fun dabbling in Python, that's all :-)

z.
« Last Edit: April 28, 2005, 06:25:19 am by zenyatta »
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)

zenyatta

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Zaurus Port Of Treeline
« Reply #29 on: May 22, 2005, 08:01:05 am »
I have spent some time living under SharpROM 3.13 and come up with an ipk that installs without crashing and produces a working icon on the Applications tab.

There are some limitations, of course. I've given up on registering .trl files as a mime typ e in Qtopia because I couldn't get TreeLine to associate properly with them. At best, TreeLine would launch upon tapping on a file's icon but it didn't receive the file name on the command line - apparently Qtopia uses the QWidget::setDocument() slot to implement the association but I couldn't get it to work.

I also updated the OZ ipk with one small bugfix (resizing when an input method area pops up). I can now finally leave SharpROM, re-flash OZ and move ahead with other things.

Cheers,
z.
SL-5500, 256MB Kingston CF card, 128MB EDGE SD card, Thomson HED-155 headphones
OpenZaurus 3.5.3 / Opie (kernel 64-0)