maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [OS2008, Maemo 5] kchmviewer (https://talk.maemo.org/showthread.php?t=30576)

asyik 2009-08-18 14:05

Re: kchmviewer for Mameo
 
Quote:

Originally Posted by delaroca (Post 312587)
I tried installing kchmviewer on my easy-debian image (debian-squeeze version) but it doesn't work... some components can't be located. What additional repositories did you configured in to enable the install of kchmviewer?

--denis

i did not use anything extra. I also use debian-squeeze. After installing easy debian i run apt-get update.

i did get error message and i forgot what it was. i think something to do with missing kde package.

what i did was keep repeating doing this in the chroot until it installed fully

Code:

sudo apt-get install kchmviewer
Code:

apt-get -f install
Code:

apt-get upgrade
Code:

apt-get update
Code:

sudo apt-get install kchmviewer
after it is installed, just run kchmviewer in debian chroot.

javispedro 2009-08-18 14:38

Re: kchmviewer for Mameo
 
Quote:

Originally Posted by asyik (Post 312442)
now i run kchmviewer in both maemo and easy debian. what i noticed is that kchmviewer is more responsive and quick in easy debian.

This confirms my observations that qt-diablo is a bit slower than it should be. Maybe the overhead of using gtk to render widgets?

delaroca 2009-08-19 03:57

Re: kchmviewer for Mameo
 
Quote:

Originally Posted by asyik (Post 312690)
i did not use anything extra. I also use debian-squeeze. After installing easy debian i run apt-get update.

Ok, thanks... just updating the repository list via 'apt-get update' suffices. But for some reason, the first update did not complete succesfully... a second update try, though, went fine. After installing kchmviewer and fixing permissions of the /home/user directory tree, everything does appear to work fine.

Problem now is that the kchmviewer install drags in a lot of flotsam... flotsam which Qole had skillfully weeded out in the original debian-squeeze image.

--denis

qole 2009-08-19 07:24

Re: kchmviewer for Mameo
 
Some magic to remember to avoid installing (some) "flotsam"

apt-get install --no-install-recommends <packagename>

asyik 2009-08-19 08:19

Re: kchmviewer for Mameo
 
Quote:

Originally Posted by delaroca (Post 312943)
Problem now is that the kchmviewer install drags in a lot of flotsam... flotsam which Qole had skillfully weeded out in the original debian-squeeze image.
--denis

eh hem... what is this "flotsam" and how to get rid of it.

Addison 2009-08-21 22:55

Re: kchmviewer for Mameo
 
Hey karatchov, just wondering what the status on this was.

Also, should I install and run this through easy debian instead of Maemo like asyik mentioned?

This program totally rocks but it seems like Qwerty's version was much more stable.

Anyway, hope to hear back from you on this.

Cheers! :)

Addison 2009-09-09 02:59

Re: kchmviewer for Mameo
 
So is this project no longer being worked on?

I'm thinking of going back to Qwerty's more stable build.

Cheers.

karatchov 2009-09-17 01:04

Re: kchmviewer for Mameo
 
hello
I'm sorry for this late reply, it seems that I didnt subscribe correctly to this thread.

Anyway, I didnt tested the easy debian version, so I have no idea which one is better.

As for my build, I'm not sure what may have caused the instability, but I'll try to revert non-essential changes.

I've been a little bit busy lately, but I hope I can get a new update this week.

Addison 2009-09-19 05:52

Re: kchmviewer for Mameo
 
Thanks karatchov for your continued support with this release.

It's a total shame this thread isn't generating like a thousand responses.

It's one of the best applications to install for those who are looking to carry around electronic books for reference or reading.

No need to give yourself a deadline. My only hope is that you don't abandon the project.

Cheers! :)

karatchov 2009-09-22 18:11

Re: kchmviewer for Mameo
 
@Addison: I noticed today that kchmviewer_4.1-1maemo2(aka: my build) is more stable when downloaded with apt-get.

The deb file that I built (,uploaded to the garage project and linked in this thread) seems to be buggy.
I updated the link to point to the one in the extras devel repository.
-------------------------------------------------------------
Anyway, I managed to get a new version correctly built, it has been queued for loading into diablo extras-devel repository.

With a special feature that you requested ;-)

I'll post the change log as soon as it's available ...

Addison 2009-09-22 18:43

Re: kchmviewer for Mameo
 
Excellent!

I can't tell you how much I've been waiting patiently for this.

Big time, major thanks! :D

karatchov 2009-09-22 19:06

Re: kchmviewer for Mameo
 
Ok, package correctly uploaded ...
here is the changelog for kchmviewer 4.1-1maemo3 :
* enhanced kinetic scrolling support
* Added an option (enabled by default) to disable tabs
* History is disabled by default now, this should reduce startup crashes
* Using correct CFLAGS to build chmlib & disabled some of the build optimizations(this seems to correct the instability)

The first post is updated to point to the new version.

Please let me know if there is any problem or if you have a suggestion.

Addison 2009-09-22 23:38

Re: kchmviewer for Mameo
 
Give me a few days to post on it's performance while I hammer it with some 300 meg sized books of unhapiness. :)

Thank you so much!

karatchov 2009-09-28 17:23

Re: kchmviewer for Mameo
 
So, what do you think ? is it better ?
Personnaly, not a single crash with this version, even with 150+ MB ebooks.
I know that there are lots of ideas/features or enhancements that could be done, but I think I'm done with kchmviewer now.
I wanted a native chm reader for my N800, and I got it.

I will update source code in github and garage.

Again, if something needs to be corrected, feel free to tell me.

Thanks everybody.

Addison 2009-09-29 00:27

Re: kchmviewer for Mameo
 
I'm sorry dude, this week has been the stupid. :(

I promise to test it immensely and intensely (that kind of sounds sick doesn't it?) come this weekend.

Hey, how's med school going?

It's nice to see that it has yet driven you to suicide. :D

karatchov 2009-09-29 09:32

Re: kchmviewer for Mameo
 
just went back this week... straight into psychiatry :D

I hope you will be able to test it "immensely and intensely".
I may give it one last shot, probably to find a way to implement a fit-to-width function ..., maybe I'll keep hacking it to avoid suicide :p

Addison 2009-09-29 21:06

Re: kchmviewer for Mameo
 
Quote:

just went back this week... straight into psychiatry
Well if there's any place that you belong in, it would be there. *lol*

Okay. Here's a few findings so far.

Installing took about a 23.5 meg chunk out of my internal flash. Totally, totally worth it though.

Scrolling through text is just a little bit faster than MicroB. Very nice! :)

Love the new features!

It only partially crashed on me once but I was receiving a text message at the time so I don't even think it had much to do with kchmviewer. To me, it's pretty rock solid this time around. :D

I'm not all that partial to the kinetic scrolling feature since it can be a little weird at times highlighting junk on the screen without reason. I'd prefer normal scrolling anyway.

Regular scrolling is great but sometimes it has problems highlighting and unhighlighting text as well. This might be my own user misunderstanding though.

Holding the stylus on the screen anywhere, including the scroll bar, for a little over a second causes the pop up menu to appear. No big whoop. It just a little frustrating sometimes to have it constantly popping up on the screen. I'll get the timing down better so it doesn't happen as often.

If you ever repackage this one more time, my only suggestion would be to have an option to remove the scroll bars. Even the one the right, yet still retain the same function as if it were there. Not sure if that would be easy programming for you to remove the right one yet still allow for regular scrolling.

Here's a picture that shows both scroll bars that, to be honest, really aren't even needed:
http://img205.imageshack.us/img205/5231/44578254.png

Other than that, fantastic release!

If you don't touch this ever again, many thanks!

It's good enough for me as well. :)


Off topic: What program do you use for Harrison's? The standard PDF viewer that comes with the tablet is turd.

Cheers!

karatchov 2009-09-30 10:29

Re: kchmviewer for Mameo
 
Quote:

Originally Posted by Addison (Post 336274)
Installing took about a 23.5 meg chunk out of my internal flash. Totally, totally worth it though.

This should be caused by th Qt libraries, nothing much I can do ..

Quote:

Originally Posted by Addison (Post 336274)
I'm not all that partial to the kinetic scrolling feature since it can be a little weird at times highlighting junk on the screen without reason. I'd prefer normal scrolling anyway.

The class I'm using for kinetic scrolling isn't optimized for touch screen, probably I'll hunt this random text selection bug ...

The regular scrolling works correctly so far, I'm not sure what may have caused that.

The popup is a feature of kchmviewer, I'll try to delay it or probably disable it.

Hiding the scrollbars shouldn't be problematic, but I don't understand what you are asking.

About Harrison's, I'm not that addicted since I can't find a french version, but I'm using the english chm version, so you guess what program ....

Addison 2009-10-01 04:19

Re: kchmviewer for Mameo
 
Hey.

The problem is that the pop up menu occurs even when you're scrolling. I don't think that was intentionally programmed to behave in such a way.

Hold down any part of the scroll bar and you'll see what I mean.

What I was trying to mention earlier is to basically have an option for an invisible right scroll bar.

It takes up that little part of the screen making it so it's not full screen anymore so then a bottom scroll bar is needed.

So in a sense, the feature of the scroll bar would still there but it wouldn't be displayed and take up any space on the screen.

It's only a suggestion.

I didn't know that Harrison's was available in .chm format. Mine came in a stupid .pdf. Thanks for the heads up on this.

Good luck in psych. It's one painfully boring piece of unbearable poop to get through. :)

Addison 2009-10-02 19:20

Re: kchmviewer for Mameo
 
So there's a small possibility for one last final update to this? :)

karatchov 2009-10-03 07:37

Re: kchmviewer for Mameo
 
yes, but can't tell exactly when
the popup will be definitely corrected
I'm not sure about the scrollbars,
I need some more feedback, mainly about bugs.
No offense Addison, but I'm not highly motivated to update it when I see that there is only 1 interested user.
------------------------------------------------------
I need your opinion about a feature (any user, not just Addison):
what about making the TOC tab appear on top of the browser (so that the browser window dosent get resized everytime you enable/disable the left side tab)

-------------------------------------------------------
Anyway.., I was thinking about making kchmviewer a good ebook reader for maemo, and writing a converter to chm format for other ebook formats (html converter already exists, so this shouldn't be very hard)
What do you think ?

Addison 2009-10-03 17:38

Re: kchmviewer for Mameo
 
Quote:

I need your opinion about a feature (any user, not just Addison):
what about making the TOC tab appear on top of the browser (so that the browser window dosent get resized everytime you enable/disable the left side tab)
Not sure where that left field idea came from but do you really think that's worth the trouble?

I think it's great the way it is already.

I'm not finding any bugs. The only one I guess I could mention is when you click on a new chapter it clears the right side of the screen. I wait thinking that it's loading up the page but nothing happens. So,I guess you need to double click in it.

A converter would be awesome but I'm not expecting that from you. I personally can manage without one. :)

Addison 2009-10-10 22:35

Re: kchmviewer for Mameo
 
Been using this practically every day. Only once did I get some weird crash but it resolved itself within 5 minutes.

I understand about you being lazy and all, I totally respect that! :)

It still would be nice if you could remove the unnecessay pop up when autoscrolling.

All that other nonsense about invisible scroll bars and stuff probably wouldn't be worth it for you to program.

Can't believe this thread doesn't have like a 1,000 posts. Obviously people here are booger eating *****s. :)

karatchov 2009-10-10 23:09

Re: kchmviewer for Mameo
 
remember, people are not buying Nokia tablets to read chm files :D (even if it could be a good idea)
Besides, most users will find easy debian's applications largely enough for this purpose.

Anyway, I was hoping for some feedback to get a last version out, but ...

I hope I can get a new version out by this week (I know, a procrastinator), I'm so lazy that I cant even convince myself to get my top features done (force fit-to-width and better implement d-pad navigation)

Addison 2009-10-10 23:23

Re: kchmviewer for Mameo
 
Awesome to hear that you'll be chucking out one last version!

Thank you! :D

Addison 2009-10-18 08:53

Re: kchmviewer for Mameo
 
Pop quiz, karatchov.

Guess who's been waiting for another update? :)

Addison 2009-11-02 03:34

Re: kchmviewer for Mameo
 
Hey karatchov!

Any closer to building and releasing one last final version?

I had to ask, you know how it is. :)

Also, are you about half way through psych by now? How are you liking it so far?

Crazies are fun, yeah? :D

karatchov 2009-11-02 20:28

Re: kchmviewer for Mameo
 
Hy
I'm really sorry, I know the change shouldn't take any time.
I'll be looking at it next week. mainly because I have an important exam next monday....

As for psychiatry, I'm already out, it's just 1 month :( , but it was fun

Addison 2009-11-02 22:02

Re: kchmviewer for Mameo
 
Quote:

Originally Posted by karatchov (Post 363953)
Hy
I'm really sorry, I know the change shouldn't take any time.
I'll be looking at it next week. mainly because I have an important exam next monday....

As for psychiatry, I'm already out, it's just 1 month :( , but it was fun

Nothing to be sorry about, well, except for breaking your initial promise, not responding earlier, and making me wait daily on false claims and hopes. Other than that, yeah, you're fine. :)

Oh, and a little tip for you about the upcoming exam on Monday, don't do what I did which was cheat off the guy sitting next to me.

I swear, if only he would have applied himself, I could have been somebody. *lol*

mtjioe 2009-12-21 08:35

KCHMviewer
 
Is there anybody out there who is interested in porting Karatchovs KCHMViewer to maemo5/n900.
Karatchov himself doesn't have anytime anymore to modify it.
Source code is availabe in Github.
http://github.com/karatchov/kchmviewer-for-Maemo/tree
If I could program I would do it myself, but my programming skills only include some basic and OPL (psion).

I really need a proper CHM viewer and unfortunately fbreader is not sufficient enough.

delaroca 2010-01-16 04:43

Re: kchmviewer for Mameo
 
Quote:

Originally Posted by karatchov (Post 307722)
It wasnt easy to build it, but I finally managed to understand the process, and complete it.

When do we have the Fremantle [optified] version?

--denis

Addison 2010-01-16 06:49

Re: kchmviewer for Mameo
 
I'm fairly sure karatchov has no interest importing this for fremantle.

I'm sure someone else might get around to it eventually.

mtjioe 2010-01-16 07:43

Re: kchmviewer for Mameo
 
I have contacted Karatchov and he told me that he didn't have the time nor a N900 to port it to. So if anyone is interested, I for one would be grateful to have a fremantle version

karatchov 2010-01-16 10:48

Re: kchmviewer for Mameo
 
Unless someone sends me an N900 :p I dont have any intention to port it to fremantle, although I'm sure it wont take much time.

The code is freely available at github but it's based on v4.1, and the 5.1 is already released.

I'm willing to help anyone who may want to build it for fremantle.
And dont forget that I has almost zero linux experience when I decided to build a maemo4 version.

mtjioe 2010-01-16 12:31

Re: kchmviewer for Mameo
 
I have installed your 4.1 version
And although I can't enter the menu (Some Qt incompatibilities) I can open a 500 Mb chm file and browse properly through it. Even searching works.
Rellay impressive work Karatchov.

I only have some basic programming skills, and mostly Symbian/Psion OPL, so I unfortunately can't port your code to the N900.

karatchov 2010-01-17 10:49

Re: kchmviewer for Mameo
 
Quote:

Originally Posted by mtjioe (Post 476045)
...

Rellay impressive work Karatchov.

....

No, no no no no, No skills, You need to thank the original authors, and the creator of chmlib, I just made some minor changes, nothing really impressive.
Prior to that, I had only some Delphi and very basic c++ experience, but that didnt stop me.

I'd say: go ahead, get the sdk

maxkiva 2010-01-30 12:14

Re: kchmviewer for Mameo
 
hi
i got the port ready. it is only using libchmfile and libchm from kchmreader. ui is totally new and made to look 'hildon' like. i'll package it up and publish it this weekend.

karatchov 2010-01-31 10:23

Re: kchmviewer for Mameo
 
Great !
Btw, libchm is nothing more than CHM lib. I didnt know how to correctly build and manage external dependencies, so I made its source a part of the project.

maxkiva 2010-02-01 11:49

Re: kchmviewer for Mameo
 
I got the package ready, whats the best way to host it ?
I had to follow similar path to yours and include libchm directly into source, as I could not find the package for it build for arm.

codeMonkey 2010-02-01 12:00

Re: kchmviewer for Mameo
 
If you've got most of it ready, why not try extras-devel?


All times are GMT. The time now is 02:10.

vBulletin® Version 3.8.8