Manga
Rick Murray (539) 13851 posts |
Now on !Store (and my site via beta-updater) is a new version of Manga that…
The full list of changes (since last release) are at http://heyrick.ddns.net/manga/changelist.txt |
Rick Murray (539) 13851 posts |
Version 0.37 on my site (self-updater) and on !Store.
There are some UI enhancements, some documented in the help, and some not. Refer to the change list at http://heyrick.ddns.net/manga/changelist.txt for details of what’s new in this version. Note: If you get Pain or crashes when ZeroPain isn’t active, it’s not Manga :-) This appears to be something in AcornHTTP or somesuch… https://www.riscosopen.org/forum/forums/4/topics/14691 My three week summer holiday is nearly over. Where the hell did the time go? |
Rick Murray (539) 13851 posts |
No sooner than I’d released 0.37, I decided that this miserable rainy Saturday afternoon would be the day that I sit down and do something I’ve been planning for a long time but never actually gotten around to implementing. Version 0.38 is available via the self-updater, not Store (just in case it blows up :-) ). What’s new? Not a lot really. Except you might notice a second application directory called !MangaLib. It doesn’t do much by itself. But, then, you might find yourself looking in the big list of manga for H → Hyakumanjou Labyrinth. You might. Or, alternatively, you could put the kettle on and decide that a better solution to a damp end of summer is to one-shot a hot Tetley and then go and remove the expired flowers from your marigolds. You might. |
John Sandgrounder (1650) 574 posts |
We are not even half way through the summer wine yet. |
Andrew Rawnsley (492) 1445 posts |
Speak for yourself John (big wink) – we just finished the second big box (of three) of DVDs last night, so approx series 24? I took Steph to Holmfirth for a couple of days earlier this year, and it just happened to coinside with us watching the Compo’s Passing trilogy (when Bill Owen died) – was very poignant. Sorry, I’m derailing the thread. So, new !Manga… Yay! :) Sounds like a useful update Rick, although the quirky description left me slightly confused about the new library feature… is it basically a disc cache? |
Rick Murray (539) 13851 posts |
;-)
Manga has had a disc cache since forever. |
Rick Murray (539) 13851 posts |
Emergency update to v0.39 (on both Store and self-update). Symptom: Manga crashes when adding a new manga. [upon reloading Manga, it’s listed in your history and it subsequently works] Problem: New code in the function to add an item to the history assumed that the available string length was 128 bytes. It wasn’t. Fix: Simple, once it was tracked down. Resolution: Don’t code when it’s been four hours since the last cup of tea… Oddity: Why did this not show up the entirety of yesterday when I was working with the new library code? Hmmm… |
Rick Murray (539) 13851 posts |
Well… If this doesn’t break it, nothing will… Azumi → |
Rick Murray (539) 13851 posts |
Hmm… Started at 3pm. After an hour nearly to the end of chapter 20. Which… scribbling on the back of an envelope, suggests another 12 hours to go… On the bright side, it’s not One Piece. :-) |
Rick Murray (539) 13851 posts |
Took the better part of an entire day, because the SSL module (I presume?) freezes up for about five seconds at times when the server doesn’t bother to respond; and then there is the fetcher timeout (8 secs) plus another 5 secs delay before the auto error box closer kicks in. And it will retry. Thanks to a number of skipped pages, I needed to get Manga to download again, and again, and again. Each time it’ll skip what it has and try to download the things it’s missing. And, at last, all ~1.4G of Azumi. Good news. I have all 255 or so chapters that I can read at my own pace with no fetching delays. :-) Observing this happening has given me some pointers to things that can be improved. Back at work now, so just got to find the time to do the modifications. But, hey, it did download all of that (eventually) and it did not blow up. Result! |
Rick Murray (539) 13851 posts |
On !Store and self-updater – version 0.40. Basically:
|
Chris Mahoney (1684) 2165 posts |
I’ve found what appears to be a bug: Jojo’s Bizarre Adventure part 3, chapter 1, page 1. The window is slightly wider than the image, and this extra space is getting filled with whatever happened to be underneath the window. Hopefully it behaves the same way on your machine! Note that I’m on 0.39, not 0.40. |
Rick Murray (539) 13851 posts |
That’s okay, not messed with the redraw code in between. ;-)
Easy explanation: It’s a really long title, and the Wimp won’t allow the width to be less than necessary to hold the title text. I tried simply setting the background to white, but this caused really obvious flicker with long-scroll manga such as Release that Witch. I then looked at Wimp_TextOp to work out the title text, and discovered that the Wimp doesn’t appear to have a ReadSysInfo (documented or private) to work out the geometry of the sprites. I’d need to get the toolsprites pointer and get the width of… everything. It was stupid. So I took a lateral approach. In the routine that sizes the reader window, at the end I force a poll and then ask the Wimp for the window size that it actually used. I have put up a test version v0.40b at http://heyrick.ddns.net/manga/m040b.zip but note that it is just the executable, you’ll need to drop it on top of an installation of v0.40, which you can get from the same base URL. ;-) Hope this works for you now. |
Alan Robertson (52) 420 posts |
Rick, if you need to know the size of the titlebar then I think WimpExtend is what you’re after. |
Chris Mahoney (1684) 2165 posts |
That would certainly explain it! I mustn’t have been paying much attention because I should’ve noticed that…
Thanks! However, that URL only lists up to 0.39. I’ll grab it from Store instead. Edit: I can confirm that it’s a white background now, as promised :) |
Rick Murray (539) 13851 posts |
Crap, I forgot to update the web page. Still, it’s not hard to figure out… manga, version number, dot zip. ;-) |
nemo (145) 2556 posts |
Wot? |
Rick Murray (539) 13851 posts |
You probably fixed that in your Wimp years ago. ;-) |
André Timmermans (100) 655 posts |
You’ve set the window’s minimum width and height to 0. The PRM signals that in this case the title’s width is used as minimal width. |
Steve Fryatt (216) 2105 posts |
Didn’t Acorn “fix” it in the Wimp back in the late ’80s? The title length is ignored if the minimum width is set to a non-zero value, I think. If not that, then one of the values in the Wimp_CreateWindow block. ETA: Ah, beaten to it… :-) |