Hey ho campers, is anyone still out there? I'm going to be getting together a new build of AliveJournal. This one will use the head code from the last public release, add in Sergei's UTF-8 code and my fix for the truncation bugs that introduced. I'll do a Zeta build and do some basic localization - i.e.I'll do enGB and enUS and someone else can do the rest ;-)
Question is really, does anybody still care out there? The more comments, the quicker it'll get done ;-)
Well, all you millions of people who still look at this journal... I have just got my unreleased AJ 1.62 to compile and post under Zeta NEO. This is being posted by that same client. This means a fully BONE'd up build is now feasable. Most of the painful part of the Zeta port was the header changes necessary. Odd little things - mostly just weird stuff on yT's part (no offenec - I happened to run into mmu_man at the time on BeShare, so yT are aware..)
I still have to tweak things, but I'll do a Zeta and R5 realease, "real soon now (tm)" and I'll multi lingual up the Zeta release...
Now - bed time...
Well, I've got the client to have multiple, currently hard coded, servers. You also have the option to type your own... The ititial state is now correct - the "remember settings" flag now seems to actually restore the settings properly. It was working in the GUI, but the internal stuff wasn't in place.
There's one segment violation that needs sorting out now. This is something to do with an object being deleted in the wrong place or before we've finished with it. No biggy, not at all - mat have already sorted it - just need to check when this closes down.
I'm going to release a "preview release" rather than a propper release I think. This will be as soon as the app runs and I have added the UTF-8 switch... Mid next week is optomistic, but will be something like it.
Okay... I've done a bif comparison with Sergei and Sean's different versions of 1.61 (using BeyondCompare 2 - try it if you do Windows development, it's very good!!) and discovered the only differences are
(1) Sergei uses man->Setvalue("ver", "1") anywhere the CommandBlockManager is used to create a command block for the server. A quick squizz at the LJ API specs reveal this to flip it in to UTF-8 mode. I'll provide a configuration switch for this, though I don't see any real issue with just using UTF-8. It may fix one or two issues I guess.
(2) in the EncodeString method for the LJApplication, Sean creates a string, fiddles with encoding the data withing the string and then returns that string. For some reason in Sergei's version, it does all this, but returns the unencoded string we passed intot he routine!! Alarm bells!! This is possibly why Sean's code works with URL's but the Sergei UTF version does not. Normal plain text/ASCII probably goes through without a problem. However, anything needing encoding is seemingly truncated at that point on the server, I guess.
Don't quote me on point (2) as it's purely speculation at the moment. I'm at work and on a Windows machine, so I can't run any tests. However, this is the only major change (bar the adding of the ver flag) from Sean's code, so unless UTF-8 adds in extra encoding requirements, I think this'll fix it... (not sure, have to look into this if my fix doesn't work)
More news from the "front" as it happens ;-)
wow.. slow but sure.
Got the client remembering the settings for different servers!!
Progress is very slow though :-(
Had a nasty cold/flu like thing this weekend, and so haven't got an awful lot done. I'll have to revise my schedule, but am looking for a release at the end of the week.
Support for Zeta may also be in the works...
Yes, more progress!
I've got a buch of stuff half done now. I have the post options on the main window, and most of them, as of this morning, work and are populated by the values LiveJournal sends back. I've also got the pref changes I made earlier merged. It all ran this morning, but is not tested too far (still a bug or two.)
I've looked into XML-RPC and come up with a couple of libraries I'm going to evaluate. More on this as it happens!
I've also applied for, and had accepted, a sourceforge account for the AliveJournal source code. PHEW ;-)
Anyway, more progress as it happened, and a release "Real soon now(tm)" (ETA mid next week, if not earlier..)
I have made some progress tonight/this morning... I have revised the settings window to include the ability to remember the last settings after a closing and reopening the app. It currently remembers the mood, picture and journal. I realise this is kind of dangerous, given that these settings are more or less hidden unless you specially check them - this is why I'm moving them to the main window "real soon now (tm)". Having said that, I've also got the menufields (aka Combo boxes in Windows and Popup menus on the Mac (IIRC)) to display the selected item. This, on the face of it was really simplem though it turned out to be slightly harder than I thought.
Internally, Alive Journal needs some rearchitecting. All of the Windows seem to be persistent (at least I needed a bit of a hack to get the settings to save, I digress).. This will happen as the Post options get moved.
If anyone has a problem with me moving the post options, speak out now!
*Yawn* ... bed... (It's 3am here..)
Well, firstly a big thank you to Sean for being so cool (and swift) with the changeover ;-) I'll be dong my best to get things rolling along again as quickly as possible. All contributions (ideas, code etc.) will be graciously accepted. Just send code to the email address listed on the user info page and comments/suggestions here!!
I've been using AliveJournal now for 6+ months and I have a number of things on the old todo list... all is subject to change, but:
(1) Multiple servers - I used to post to Blurty.com. I'd like the ability to keep that up. At the moment we have to recompile the entire app to change servers...
(2) Look into the UTF-8 issues that someone reported a while back - I've never had any issues, but I'll look into why this is happening.
(3) Drop the sub Window for the sub controls... I get forced to use Semagic at work (via Windows) and the one thing I like about it over AliveJournal is the fact that it has all of the controls for mood, security etc. under the entry text box. This is something we can expect to happen real soon ;-)
(4) Look at the LiveJournal XML-RPC - this is a little way off. It looks to be a fairly simple thing to implement given an off the shelf XML parser, but I want to source an XML decoder/encoder that is cross platform before I commit to implementing it. Otherwise I'll write one myself - this will take the most time ;-)
(5) Look at the Blogger XML-RPC - LJ also supports this, but it also opens up another BLOG on BeOS... I have registered an appid code, so pending the LJ XML-RPC investigation... (this may get done first as there are less methods in the blogger API)
(6) Release at least part (1) asap.... this will happen within the next 2 weeks... part (2) may be included, though I can't promise anything. Part 3 will at least be under way (I need to alter some controls on that window because they aren't working quite right..)
What I need from you - the users... Comments, comments, comments! I'll be doing all of this even if zero people actually use AliveJournal (save me), but I'll do it a lot quicker if you all start hassling me... Pressure is a wonderful catalyst.
Oh, and when I say 'cross-platform', I mean PowerPC... Yes there will be a PowerPC version from now on!