Well, its been a while since I posted. Lots of stuff happening, not much time. I've been on vacation for a week. Went to a wedding 2 saturdays ago for some of stacy's friends which was pretty good. Then did little of anything for a few days. Went to a Solaris code camp for some info on Dtrace and other goodies in Solaris 10. Friends came down last thursday and we did some drinking, made a good round of Bauer burgers, so much grease, so little time. Last weekend was up in Owen Sound for my cousins wedding which was also pretty good, had a few drinks. Back to Toronto today to pack before hopping the train at a god awful time of 6.55 tomorrow morning to head to Quebec City for a few days.
I did get some time to poke EWL a bit more. I did some more work on the selections, I've written it twice so far, but this version seems like it should do what I want. It's currently selecting just seems to have an issue with segv's. Hopefully when I get back from Quebec I can give it a few hours of love and make it all good to go.
Thats about it for now….
Multi-line triggers are in EWL now. They seem to be working pretty well. If there is an entire blank line it will make that part of the trigger width 2. Hopefully someone will give it a run and let me know.
I know Nathan mentioned he was seeing issues on PPC, but they looked more like textblock issues, so I'm not really sure what was going on there. I don't have the tools to look into it so someone else will have to take a look at it.
Now to decide what I want to do next…
Ok, I've changed the trigger calls a bit on suggestion from Nathan. I got rid of the ewl_text_trigger_add and ewl_text_trigger_del calls. You can add and remove triggers just by calling the ewl_container_child_append and appending the trigger into the text widget. It'll do the right thing from there. Keeps the API smaller and cleaner.
I also changed the ewl_widget_appearance_get to return what was set with _set and added an ewl_widget_appearance_path_get to return what _get was originally returning. API makes more sense this way. This also means I can remove ewl_widget_appearance_single_get as it is now redundant.
Other then that, a few bugs and warnings cleaned up. So, next up I may try to get the multiline triggers up to speed, which shouldn't be too bad. Then if I have the energy maybe doing the selection code. Once that's done I think I can let Ewl_Text sit for a little while so people can shake the bugs out.
Finally. Single line triggers are into ewl. You can now setup things like HTML links and have mouse overs and click events trigger.
Now that the base is in there I should be able to figure out multi-line triggers pretty easily, just wanted to get the basics in first (so I don't break it, heh).
This is pretty new code, so if you see any issues, or think the API is crap, let me know. (Oh, and because of its newness, the API may change…)
And in fact, taking with Nathan, I'm going to go change it now to use the container functions….
Did some updates to Emblem tonight. (Emblem is a program for E17 to set the desktop background). It's still a bit slow on the initial load, but after that one it should be quick as all of the thumbnails are cached by Epsilon now. Fixed up a couple other issues that have been outstanding for a while including strange scroll speeds and the arrows not appearing initially.
You'll need a very up to date Epsilon for this too work. There was a memory leak in Epsilon that I've fixed that could wipe out your available memory pretty quick, and slows Emblem down to a crawl.
Let me know if you have any issues…