GTK Printing on Win32

General 1 Comment

Now that things have settled down a little at work, we’re finally in the process of moving to gtk# 2.10 now. One of the cooler things that we can finally use now is the Gtk printing system. Previously we were using Gnome.Print on Linux and System.Windows.Forms.PrintDialog on Windows, which sucked for various reasons that you can probably guess. Obviously what we really needed was something we could use easily from both Linux and Windows.

Gtk.Print to the rescue! Except that it didn’t work on Windows yet. But in Berlin Behdad pointed me to #488833, to add support for cairo_win32_printing_surface to GTK. So once I got home I finished up the patch and it’s now committed to gtk+ svn trunk. Since it requires a new (and unstable) version of Cairo I can’t commit this support to gtk-2-12 branch, so I think I’m going to have to maintain a branch for Medsphere’s use.

This doesn’t solve print preview, though, so that’s the next thing I want to work on.

Hello from Berlin!

General Comments Off

So I’m in Berlin at the GTK Hackfest, and it’s a lot of fun. I finally get to meet a lot more of the GTK hackers, and hear everyone’s thoughts and ideas for the future of GTK. Plus, we’re having a lot of fun hacking. It just wouldn’t be a hackfest otherwise.

Brandenburg Gate in Berlin

I’ve been doing some hacking on a few different things. Worked on rewriting the test program for the sensitivity bug, using Tim’s GTester framework this time. Worked on the GtkIconEntry (merging from libsexy’s SexyIconEntry). Tonight I decided to see if I could get some WebKit action going from gtk#, and it was really simple.

WebKit test from gtk#

This should be a lot of fun to play with, and I think Cesar will be interested in it as well. :)

Jenny is in Italy now, but should be arriving on Friday or Saturday I think. So that will be really cool, and I’m going to go hang out with her for a bit. I’m really looking forward to seeing her again.

Nikon D200

General Comments Off

I had been thinking about getting a new camera for awhile, because I bought my Coolpix 995 back in like 2000 or something and it’s getting a little tired. But I thought I might step up to an SLR this time, and I figured now would be a good time to get one so I would have it when I go to Berlin next month.

I’m always very impressed with C├ęsar’s photos, so I bought a Nikon D200 like he has. It just arrived yesterday, and I started toying around with it some. I’m not posting any photos today though, because I haven’t taken any good ones yet. :) Hopefully I’ll get plenty of good photos in Berlin at the GTK Hackfest though.

Win32 Updates for GTK

General Comments Off

Today I committed a patch to rework modal windows on Win32. This fixes #455627 and #511111. Ever vigilant, Brad quickly caught one very important thing that I missed, so I filed and fixed #514643.

I also finally took the time to get the gtk-2-10 branch caught up with all the latest Win32 patches, since Medsphere is using 2.10 still. I merged in patches for #505928, #506769, #504984, #144269 (again), #164537, #371036, and #405178.

There seems to be a lot of interest right now in improving GTK on Windows. There’s now a new wiki page devoted to it, and #win32 on IRC. Very exciting!

Medsphere Widgets Released

General Comments Off

Nobody else at work has blogged on planet about this yet, so I figure I’ll go ahead and post it. Medsphere has just made the first release of Medsphere Widgets under LGPL 2.0. This includes CPaned, FBox (a “flow” container), GridView (managed Excel-like grid widget), and Graph (managed 2d graph widget using Cairo).

Graph Demo

Spending $2/day for food

General Comments Off

George Durham, the cellist from my quartet in school, is apparently in the middle of a bet with his roommate Mike to see who can last the longest by eating on $2/day. If they both last until December 16 then it’s a draw. The last post was on December 1 and it was marked “day 7″. I’m not sure if it’s still going on right now. Interesting stuff!

I think George is also a professional poker player these days, so it seems that he likes to bet. Good luck, George! I hope you don’t die of starvation in order to win your bet!

Dallas Peace Center Event Tomorrow

General Comments Off

Mark and Ute told me this weekend that the Dallas Peace Center is sponsoring a video presentation and a panel discussion about the imminent threat of U.S. military aggression against Iran. If any hackers out there live in the Dallas area and are concerned with this, please join. It will take place tomorrow at the Walnut Hill Library at 9495 Marsh Lane in Dallas between 7:00p and 8:30p.

GTK Win32 update

General 4 Comments

Last night I committed the patch for #164537 that I believe will finally solve the remaining transient and modal window problems that have been affecting GTK on Windows for years. I think this was the last really critical blocker for GTK being usable on Windows, at least that I’m aware of.

Austin City Limits

General, music Comments Off

I just got back from Austin City Limits Festival, and it was really awesome! I couldn’t make it on Saturday because of Plano Symphony, but it ended up working out in my favor anyway. The main reason to go Saturday would have been for The White Stripes, but they ended up bailing because Meg got sick or something. So I met my friend Gerry in Austin on Sunday morning and we stayed all day. Donna said Sunday was the best day overall.

We heard The National, and they were pretty good. Then we went over to hear STS9 and they were cool. They seem to be all instrumental electronic, which was cool. They also seem to attract all the crazy Xers who were clearly enjoying the show with some additional chemical assistance. Then we went to hear Ben Kweller, but it was really boring so we stopped by Robert Earl Keen for a few minutes but were not into it either, so we took a break to get water and rest for a bit. Then headed over to hear Common. I’m not really into hip-hop at all, but it was still a pretty fun show. Then it was off to hear Bloc Party. They were definitely the best show up to this point. They sounded really good, even though they kind of apologized a couple times and mentioned how they were not really used to the heat of Texas. It was only around 90F, but as they said they’re used to a cold rainy island. :) Apparently last year it got up to around 108F! Bloc Party sounded really, really close to their CDs I thought. After they finished we tried to see Regina Spektor, but it was too hard to hear her. She was just singing with piano, and her music was too soft and at the nearest other stage was a band called Rose Hill Drive, and they were very loud and seemed to drown out Regina Spektor from where we were standing. But the crowd around Regina Spektor’s stage was enormous.

So we took a really long break at this point and skipped the next concert block so we’d be well-rested and ready for The Decemberists. I’m really glad we did, too, because it was a fantastic show. We got a really good place kind of near the front and could see really well. Looking out behind us there were obviously tens of thousands of people there. Donna said she couldn’t get anywhere near the Decemberists stage, she and her friends were stuck way off to the right. But the show was incredible, and was very easily the best show of the day. The audience was really into it; you can tell the Decemberists are really loved in Austin. In fact before we went to ACL we stopped for lunch at Hula Hut for lunch and we heard them play a Decemberists song. That was pretty cool. I never hear good music anywhere around Dallas it seems.

The day ended with Bob Dylan, so we stayed to hear him play a couple songs. But he was just so unbelievably terrible that we left almost immediately. He really sounded like he could barely sing. I’m not really sure what happened to his voice.

Michael Moore interview

General Comments Off

I saw the interview with Michael Moore on CNN. It was great that he had so much airtime, although this is probably the last time that happens. He had great things to say, and he was right on with everything. Sadly, he’s not very good at making those points in a way that is really going to rally anyone to his side. He’s just not very good at interviews, and his personality will unfortunately end up pushing people on the fence away from good causes than pulling them in.

« Previous Entries Next Entries »