Archive for the ‘General’ Category

Grant me a wish !

Tuesday, February 16th, 2010

Hey my gnomies, long time no blog !

Actually long time since I’ve been actually doing gnome stuff and for not rolling a tarball this winter I’m a bit sorry… actually I did get the impression this past year that there was really very little interest in our little Glade project, which from my point of view is a work in progress with so many really amazing opportunities on the horizon.

But on the other side of the coin, while not everyone sees the potential as I do – I do not think all that work to get our initial writeup of GtkBuilder support was a waste of time; on the contrary, it still amazes me how many people around the world are using Glade and getting stuff done, even though Glade itself… is not done !

Actually I’m also touching base with you guys because my own plans fell to the water this winter and I need some help to make my wishes come true !!!

I dont wish for a house… I dont wish for a BMW… all I wish is to get to Korea soon to visit somebody important to me (as silly as it sounds – seems to me the house and the beemer are more attainable in the world I live in).

So doesn’t anyone have some odd contract for me ? I’d love to do some serious hacking of course, as specially anything gnome development platformish (hint hint: … ;-) ), but hey I can write silly iphone apps or even script some php if I have to.

So whether this is an opportunity for you to secure my services for a long term, or just throwing me a bone cause you’re a nice guy, just send my cv along to someone who might be interested and you’ll really make my day.

and dammit why cant I build gnome-doc-utils today ?! (joke, dont have to answer that ;-) )

Another rant about nothing

Monday, November 9th, 2009

This year I’ve had lots of mixed feelings about Glade 3.6 … The bright side of things is that despite some regressions and even if some of the feedback we get is negative – alot of people are still using Glade 3.6 and leveraging at least some of the new features available with GtkBuilder (ofcourse only a few loose strings can make entire features unusable, like tight GtkTextBuffer/GtkTextView integration for a random example), but Im still really happy for this – its a shame we missed out on tying up GtkActionGroups so far but I think some people might already be doing some interesting stuff with GtkActivatable/GtkAction associations.

Some things do make me sad, and if you are reading this and I snapped at you in the past for some bugzilla comment that I found was not helpful to me at the time, sorry about that. The truth is I bit off more than I could chew, and for some reason I imagined that picking up the pieces after releasing 3.6 would be different.

The bugmail I received this morning was kindof disheartening, this bug was probably one of the most imporant and most annoying bugs still open since the release of 3.6, it was filed in April.

It took me 20min. to fix including the changelog entry, and it took me more time to beat up git and make a fresh checkout/commit and go comment/close the bug … and the core is like 100% documented … and I usually answer my emails …

Well I think Glade has big big potential personally, but sadly the potential is (potential * 0) if people are so scared to fix the bug in Glade, that they need to integrate a script into the build to reinterpret Glade’s xml output to fix the bug locally instead.

Anyway I wish you all luck, theres another big decade coming up for the those who will do this thing all over again, I dont know if or how much Im gonna be there but man, its important to be a crew and stick together, set your objectives together, get funding together, rock the gnome crew logo, leverage it and do something really revolutionary. I doubt the traditional competitive every man for himself attitude inherent in the free software domain is going to cut it this time.

And PEACE OUT !

Today is worth a blog post

Wednesday, July 22nd, 2009

In the last couple of days there has been some quick unexpected improvements in Glade, Javier Jardón wrote us up a brand new website !

So with the help of Rafael Villar Burke (Pachi), we touched up and finalized the content and translated it into python scripts so it can be easily updated with news items in the future.

I was also inspired to write down and share all my possible plans (a frustrating kung-fu process of mailing plain text attachments), and also compile them into a list of possible roadmaps that we can track on the Wiki. Hopefully, since I cant move mountains by myself other people will be interested and we can accomplish some great things together ;-)

Do I really ever have to write another treeview again ?

Wednesday, December 17th, 2008

You havent seen me blog in a long time, but that doesnt mean I havent been busy doing gnome stuff :)

there was alot of demand this year for a Glade that eats up and spits out GtkBuilder format ui definitions, this was undoubtedly hard for me to dish out so I missed the last stable release, but now we’ve got the mechanics in place plus a hand full of new toys to share. So heres a sneak peek at whats available in Glade for todays GNOME development release…

First of all, GtkBuilder – in general if you open a GtkBuilder file you just edit it in its format, if you need to convert your glade file, you need to pass through the project preferences dialog (Edit->Preferences):

Project Preferences

Setting the project format is undoable, and along with project target versions, will effect how the editors will react in glade (unavailable or warning highlighted widgets/properties by format and targetted version), I got a little carried away and brought you a fancy naming scheme control on the side. You’ll notice alot of the more commonly used editors have nicer formatting, we now have an iface that lets us format editor layouts by widget class (mostly we just add radio buttons with this), it also sports some ui candy; wrappy labels: long editor, short editor.

Another thing I had to do to get the show on the road was fix menus in gtk+ so that they would
build normally from GtkBuilder file input, I might be guilty of spreading roomers but there is a chance we’ll see that in a gtk+ stable release for GNOME 2.26… (currently native menus created by Glade will be depending on that release), oh yeah, we also have a simple editor in glade that applies pango attributes globally on your labels (without putting markup in translatable strings…)

Its worth noting what remarkable things you can do with GtkIconFactory, just create a factory, add icon sources to it, then use the newly created stock icons as stock ids in your widgets (its hard to make this feature obvious in Glade, it would really really rock if someone volunteered to write user documentation for Glade 3.6…), this feature allows you to define alternate graphics for your icon in different widget states, text directions etc (anyway, I was surprised by the obvious leverage after integrating that).

So I think the real question is “Do I really have to write yet another freakn treeview by hand ever ever again ?” … hehe, no I didnt mean to scare you, dont worry, you’ll never have to write one of those by hand again in your life :) heres a shot of the whole app with some views and a model:

Several views attached to a single model

Several views attached to a single model

Editing treeviews/iconviews/comboboxes takes a few steps, you have to create a data store, create cell renderers and sometimes columns, you have to define column types and optionally data in the store and finally you have to assing renderer attributes either to hard coded values or to indexes in the data store – I did my best to unify all of this into a single 2 tab editor, its totally based on Juan Pablo’s original menu editor, so it supports dynamic type changing of cell renderers, and drag’n'drop of renderers in a treeview to reorder them or drop them into other columns, on the face page it has the editor for the toplevel view widget embedded on the left, and the associated treemodel editor on the right that allows you to add columns to your data store and add and edit data in the store. On the second page it allows for adding and removing cell renderers, and editing thier attiributes:

set attributes to columns by name

set attributes to columns by name

This one will let you choose columns by name/type from the model for use as cell renderer attributes, I’m still having problems laying these properties out coherently, I would also like the combo box to stay small while the menu resizes to display the whole value (I’m using ellipsize=end when the combo menu is not popped down, and displaying the full text only in the menu)… anyway, this part is highly functional but needs some work in the ui ;-)

So that was a long time no see update on Glade and what we’ve been doing to it, in other news I have time on my hands so Im looking for some work (its pretty cold without a plane ticket in canada this time of year so I figured some planet roaming was in order) I put my text mode resume online today, in the mean time I got a great job helping the butcher at the supermarket shredding up meat all day, its spiritually calming honest grunt work and it sure beats relocating permanantly to california ;-D

Glade has full versioning support

Wednesday, April 9th, 2008

I know I’ve been going on and on all week about how I’ve been staying up all night making glade a better tool, but really guys … whoa, you gotta see this.

How do I add my custom widget to Glade ?

Monday, April 7th, 2008

With the freshly cooked after 2 years rewritten api docs of course !

Yay for no more confusion or fear of integrating widgets !

dawn of the builder

Sunday, April 6th, 2008

Its been a long week, I went ahead and rewrote the parser code in Glade from the ground up, and then moved on to support dual formats, Im a little ashamed to say that this huge hacking experience was brought to you by coffee and cigarettes, for lack of *cough* other illicit substances that may have done better for my health, all grievances aside, it really is a nice piece of work I’d like to share with you all (its 7:15am Sao Paulo time and I’m blogging while cooling down and getting ready to sleep).

So lets see, what do we have ?

Well the new parser supports what Ive been calling class level definitions of xml layouts, in other words your widget library plugin is allowed to define, read and write properties and children in customizable ways, this was ofcourse needed to support the different formats that some widget classes are loaded from using GtkBuilder. We’ve also added an option, available in Glade’s edit menu, to decide which format your project will be saved in, Libglade or GtkBuilder.

Currently all widgets and properties formerly supported by Glade can now be saved and loaded in both formats. We dont yet have any support for the fancy GObjects now supported by GtkBuilder but VERY thankfully Johan has already provided a first try patch to get UIManager, our most awkward exception to load, this also must have been alot of work (and we may still need a few minor tweaks in the core to get it running). Other exciting things such as liststores and sizegroups should follow suit without too much of a headache. Another caveat is that Glade still has no idea what widgets are deprecated in the new builder format, which should be easy enough to remedy (glade will currently just save any widgets in the new format regardless).

This work is now available in trunk, and I do sincerely hope you all enjoy ;-)

newsflash

Friday, October 26th, 2007

Well, incase you’ve been wondering what the hell happened to me, I am alive and well – finally I am unemployed – hoping I wont have to use the software hobby alter-ego as a crutch again anytime soon… man I am free can you believe it ?

So, with this newfound freedom I decided to aimlessly tread the earth, I am now in the beautiful huge crazy city of Sao Paolo in Brazil, comming from montreal canada thats quite a long shot (10 hrs one the plane !), the weather is a little dreary at the moment but promises well, the people are very hospitable and the women beautiful and abundant, oh and this great hostel that I highly recommend is sporting an Ubuntu system for its guests, wow !

Glade is due for a tarball soon, I guess I’ll roll one as soon there are a couple more fixes, I guess it goes without saying that I wont be actively hacking for at least a couple of months, but thanks to hostels in south america running solid ubuntu systems I’m still reachable in the virtual tube of your desktop.

who knows maybe I’ll even run into some gnomers down here ;-)

Some popular features …

Wednesday, July 25th, 2007

… that I finally managed to add to glade trunk today

So I finally applied a refit version of Yevgen Muntyan’s patch

One common source of frustration about glade 3 has been that, sure you can add your own widgets to the runtime but, you gotta write that catalog, install a support module, or struggle with your setup so that we can load the type from the widget library, but you dont want to write a widget library just for that one widget you got in your app so, here’s the solution:

you make a catalog that looks like this one note the “parent” element from the “glade-widget-class” definition, it choses which widget class your “fake” widget class will derive from.

then, since we now have user defined search paths for catalogs and modules; you put it wherever you want (it has to keep the .xml extention though), lets say ~/mycatalogs

then you fire up glade like so:

GLADE_CATALOG_PATH=~/mycatalogs glade-3

And voila ! you got your widget in the glade runtime.

Happy Glading !

Long time no blog

Wednesday, July 4th, 2007

Hey hey, long time no blog, my hacker alter-ego takes the back seat as much as possible but sometimes I have to pop out of the woodworks and say BOO !

As you all know from Johan’s recent post the infamous builder is on the rise, this means people will be desiring UI designers to produce UI description files that can be interpreted by the builder.

I dont expect to have any support for GtkBuilder files available for Glade 3.4 but that’s yet to be seen, we’re still a good month ahead of string freeze. We’ve scheduled a meeting on monday to discuss where all that is going – as usual we’ve got lots of blockers and only a few hands on deck (hint ;-D)

So on that note, I wish you all plenty of sunshine, tequila, hot babes on the beach & booming beats to dance to… if you’re not all that lucky, you can always put on your hacker alter-ego and hack away on gnome !