03/28/2010, 11:59 AM
|
#721 (permalink) | |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
After that, I'll concentrate on the transition to the PDK. Of course, since there's still my thesis, I can't say how long that will take. But well, even a journey of a thousand lines of code starts with a single instruction.
Last edited by Jappus; 03/28/2010 at 12:32 PM. |
|
03/28/2010, 12:14 PM
|
#722 (permalink) | |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
All this just to prevent WebOS from killing the app because it consecutively ran for more than 2.5 seconds. And here's the rub: It's distinctly possible that the 800MHz overclocking patch throws a big spanner into these intricately interlocking gears, causing everything to violently explode. Maybe it eats the timed callbacks because time now moves faster for WebOS, or maybe the CPU can't reliable work at 800MHz or maybe it simply causes the hangcheck to trigger after 1.5 instead of 2.5 seconds. Afterall, almost no other Javascript app on WebOS needs THAT much processing time and is therefore so highly dependent on tricking WebOS into not shooting it down. In other words: I can't guarantee that the pReader will work on an overclocked device. All I can test for is whether it works in the WebOS Emulator and on a non-overclocked device. Sorry. |
|
03/28/2010, 12:20 PM
|
#723 (permalink) | |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
If you have, then could you please watch this issue and tell me if it happens again, and if, under what circumstances? After all, maybe there's still a certain sequence of actions that triggers the lossage. Thanks.
|
|
03/28/2010, 12:27 PM
|
#724 (permalink) | |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
I've just added it to my ToDo list, and if it turns out to be more or less trivial to implement, it'll appear in the next version. ![]() Thanks! |
|
03/28/2010, 02:55 PM
|
#725 (permalink) | |
|
Member
![]() Join Date: Mar 2010
Posts: 260
Likes Received: 0
Thanks: 97
Thanked 32 Times in 25 Posts
|
Quote:
![]() Thank you for your quickness in responding to my situation. I only downloaded PReader yesterday (last night actually) from the app catalog. When I check in device info, it tells me that I have version 0.8.3. I will certainly keep a watchful eye and let you know if this happens with the next book(s) I add to my library. Thanks again! I really appreciate your promptness in responding to my concern. Great app and great customer service, I'm very happy. ![]()
|
|
03/30/2010, 01:33 AM
|
#726 (permalink) |
|
Member
![]() Join Date: Jan 2010
Location: central NY
Posts: 10
Likes Received: 0
Thanks: 1
Thanked 0 Times in 0 Posts
|
Love preader. but some of the mobipocket files have character problems. the files get like foreign language fonts
an a with ^ above it a E that is curved with multiple horizontal lines. not on all prc files but many |
03/30/2010, 02:17 AM
|
#727 (permalink) |
|
Member
![]() Join Date: Jan 2010
Posts: 23
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
|
while using this wonderful app (0.8.3) I have run into several things which are annoying...
- the file selection dialog shows too small part filename, either smaller font or landscape mode would help - file conversion: - once file selected for import there is no way to cancel process. this is highly unfortunate as import takes long time and "time is money" ![]() - there should be a way to "disable" html/plaintext question for conversion. something like text/html/auto in preferences would be welcome (autodetection should be easy / just look for <> at first part of text) - backswipe during text/html selection dialog does not go back to file selection but startes conversion - import on background would be nice - charset of book title is still wrong... - book with no title in library could not be read nor deleted |
03/30/2010, 05:10 AM
|
#728 (permalink) | |||||||
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
Quote:
But I'll think about whether it's feasible to add a separate cancel button. Quote:
All in all, autodetection would only be mostly reliable, and that's the quality of hacks, not of actual solutions. But the option to disable it will be in the next version. Quote:
But do note that even then, a backswipe will not take you back to the file selection, it will take you back to the library. That's because the file selection dialogue is actually an external app that is called, and as soon as that's goen away, you can't return to it, you can only re-open it. Quote:
On top of that, there's a whole heap of issues that comes with the inherent parallelism. For example, at the end of the import process, the importer refreshes the Library screen for you. But what happens when you've already left the library screen? What if you've opened the File Selection dialogue that's, as I've stated above, pretty much an independent app? Not to mention the icky details of what happens to parallel writes... All in all, while it would be nice, it would also be an enormous headache and a horror to implement in JavaScript. JS simply is not meant for parallel processing, it's both too slow and to simple for that. Quote:
![]() Quote:
![]() Thanks! |
|||||||
03/30/2010, 05:13 AM
|
#729 (permalink) | |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
Apart from that, have you tried changing the character encoding to UTF-8, or CP-1252? Because MobiPocket books can be stored in either encoding. That would neatly explain why only some of your files exhibit that problem.
|
|
04/02/2010, 08:59 AM
|
#730 (permalink) |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Hello everyone.
I just wanted to point out that I've just fixed a really nasty error with the eReader import code. I don't know who it was who pointed it out for me (and I can't find it anymore in this thread) but much kudos go to him or her for doing it. Basically, he (or she) told me that you couldn't unlock a DRMed eReader document if you once typed in a wrong username / password combination. At least, not until dismissing the dialog and trying it again, or by deleting the username and password. This led me to look closer at what might produce such a weird error, and I found out that it had nothing at all to do with the dialog itself, but with the decryption algorithm that we use! Because whenever you entered a new username/password combo, it appended parts of the old decryption key to the newly generated one, which of course led to total mayhem! This is most likely the reason why so many people had problems with their eReader codes. Basically, even if they entered the correct key, the pReader would say that their key doesn't work, and it would only work again once they completely dismissed the dialog and started from scratch. A thousand thanks again to the user who pointed out that error, for I'd have never found it myself! ![]() Anyway, the bug will be fixed in the next 0.8.4 version and I plan to release it very soon. Sooooo, any last minute feature requests anyone?
Last edited by Jappus; 04/02/2010 at 12:05 PM. |
04/03/2010, 07:54 AM
|
#732 (permalink) |
|
Member
![]() ![]() Join Date: Oct 2009
Location: Klagenfurt - Austria
Posts: 10
Likes Received: 4
Thanks: 4
Thanked 2 Times in 1 Post
|
Very soon sounds great
![]() I am waiting for the fixes regarding the ePub import. But then i don't have any excuses anymore to not read the books i have currently on my hard drive. |
04/03/2010, 04:20 PM
|
#733 (permalink) | |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
I'm on it. It's one of the last four ToDos on my current list.
It's such a simple, but at the same time nasty bug, because I've found out that the pReader simply eats the relevant tags. One moment they're there, the next moment they're gone. I'm more and more convinced that the pReader has reached a level of sophistication where it has gained the "washing machine" perk. You know: Eat 1d4 socks once per day. ![]() Quote:
|
|
04/08/2010, 05:21 AM
|
#734 (permalink) |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Good news, everyone!
I've just submitted the new v0.8.4 revision of the pReader to the App Catalog. Those who can't wait can, as always, download the ipk file from the first posting in this thread. Here are the changes in this version:
The most requested, and most important new feature is colored in red. Unfortunately, it might also be the one that will most delay the v0.8.4 release. Why? Because it makes uses of Palm's internal encryption system ... a system that falls under one of the most momentously stupid US-American legal insanity ever devised: The Cold War relic called the Export Administration Regulations part 772.1. Basically, you have to beg them to allow you to "export" anything that contains an encryption system above a certain strength; no matter if that system is publicly known everywhere. Unfortunately, while this is only a mildly grueling task for US-American citizens, it is an utter nightmare for everyone else -- including poor old German me. ![]() Anyway, it's a distinct possibility that Palm will complain about this release and delay it. In that case, I'll probably have to burden Retrobits with obtaining the necessary magic 6-digit code that's wanted by Palm and given out by the US-Government. Anyway, in unrelated news, this will be the last Javascript-only version of the pReader, except if there are some serious errors. The next version will be half-native, half-Javascript and will get rid of a lot of drawbacks of the JS-API. Of course, this also means that the gap between v0.8.4 and v0.9.0 will be ... rather large. But well, every journey starts with a single step. ![]() P.S.: Do note that I also have delayed to implement the following features that were on my ToDo list for v0.8.4, but didn't make it since they all connect to areas that will be redone in native code anyway:
|
04/08/2010, 01:18 PM
|
#735 (permalink) | |||||
|
Member
![]() Join Date: Jan 2010
Posts: 23
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
|
Quote:
![]() There is however one issue connected to file dialog and import. Until file is imported I can't be sure if I'm importing right book. It would be nice if book TITLE could be displayed at import time so I could cancel import if wrong bookis choosen... Quote:
Quote:
Quote:
Quote:
By importing in the older version of pReader. So the problems is to get rid of it...Thanks for your effort to develop this app |
|||||
04/08/2010, 02:27 PM
|
#736 (permalink) |
|
Member
![]() Join Date: Oct 2007
Location: Plano, Texas
Posts: 109
Likes Received: 0
Thanks: 42
Thanked 10 Times in 9 Posts
|
Uh oh. No indents in my eReader books under 0.8.4, either. Have rebooted Pre, deleted database and reimported several books to no avail. Each book looks good in both Classic and in the desktop eReader.
On a brighter note: Keyring database works awesomely! |
04/08/2010, 02:40 PM
|
#737 (permalink) | |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
I've sent you a PM with my E-Mail address. After all, as long as Palm hasn't approved the release, we can still squeeze in a last-minute fix. ![]() [EDIT] Oh yeah, before I forget it. There's also a certain (if small) chance that we won't be able to properly support the indentation, at least any time soon. The reason is that the "official" eReader apps use a certain set of heuristics to determine when to insert indentations all on their own, even if the file does not specify any indentations. For example, it seems that it always adds an extra indentation after a single-line of centered and bolded text, or when there are two consecutive newlines (an empty line between two blocks of text, in other words). So basically, to render a file like the official apps, we'd have to guess / reverse engineer those heuristics. There are quick fixes, regular fixes, time consuming fixes, tedious fixes and then there are those fixes that need reverse engineering. Guess which of those take the longest time.
Last edited by Jappus; 04/08/2010 at 03:02 PM. |
|
04/08/2010, 02:54 PM
|
#738 (permalink) | |||
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
But indeed, a simple "Importing <name> now..." message is pretty trivial to add. The next version (or v0.8.4 itself if Palm decides to be uppity about it) will contain that text. Quote:
![]() Quote:
|
|||
04/08/2010, 05:20 PM
|
#739 (permalink) | |
|
Member
![]() Join Date: May 2008
Location: College Place, WA
Posts: 21
Likes Received: 0
Thanks: 2
Thanked 0 Times in 0 Posts
|
Quote:
Thanks for you hard work and I can't wait to see what you can do with the 'native' PDK. |
|
04/08/2010, 06:45 PM
|
#740 (permalink) | |
|
Member
![]() ![]() Join Date: Nov 2009
Location: Munich, Germany (né Berlin)
Posts: 687
Likes Received: 34
Thanks: 11
Thanked 338 Times in 139 Posts
|
Quote:
Anyway, to solve your problem at hand, yes there's a slightly more subtle way: You can enter any text you like in the "displayed name" field. While the default is just "%t", which stands for: "Display the title"; and the preset alternatives are "%a - %t" and "%t - %a" for the title separated from the author with a dash as the displayed name; you can enter any string you like. If you want, you can type in: "%a - HHTG - %t" which would would result (for example) in: "Douglas Adams - HHTG - So long and thanks for all the fish" or "Douglas Adams - HHTG - Mostly Harmless" And if you want to give them a number without writing several different formatting strings; well, if one of the fields is free, you can simply abuse one (because the pReader quite frankly hardly cares ). For example, if the "Publisher" field is free, simply put a number in it and use:"%a - HHTG %p - %t" as the code. That would yield you: "Douglas Adams - HHTG 4 - So long and thanks for all the fish" "Douglas Adams - HHTG 5 - Mostly Harmless" It's crude and more or less a "Russian" solution, but it works.
|
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



