Archive for the ‘Technology’ Category

Execution environments, use them…

Tuesday, October 9th, 2007

Setting an execution environment in your MANIFEST.MF file isn’t difficult. I mean, PDE provides great tooling for doing this on the ‘Overview’ tab and you can just use the ‘Update the classpath settings’ hyperlink to fix up your other preferences (although I think there’s a bug in a rather odd case, I’ll have to look into it later). Sounds pretty easy, right, just a few mouse clicks?

No, you’re wrong. Because, if Java 6 APIs can somehow sneak in to the Platform, you know there’s something wrong. That issue’s been fixed but 204736 is still an open issue. I hope we can get that resolved quickly. :/

So that’s what Port 25 does…

Wednesday, October 3rd, 2007

Many moons ago, I brought up the fact that I had no idea what the people at Port 25 did. Today, I was browsing a website when I was told that I had to manually install the Windows Media Player 11 plug-in for Firefox. The provided link brought me to Port 25.

I don’t know where the source code is or if it’s even available, but seeing this download page has cleared things up for me as to just what kind of work it is they do over there.

Beware of Eclipse on WPF…

Wednesday, September 5th, 2007

If you’re thinking about trying out the WPF build of Eclipse, you better be prepared to wade yourself through the UI bugs, because there are quite a few.

The above is only one example of the problems that I’ve faced. As you can imagine, the top image is the WPF build and the bottom one is the regular 32-bit Windows build. Bug 184878 is also another strange issue. I’ll be filing bugs to the SWT team as soon as I gather more information.

Kernel panic hits again…

Saturday, September 1st, 2007

I was hit by a kernel panic upon booting the day after I got wireless working on my T61. At the time, I resolved it by not having net.eth0 or net.wlan0 start up upon boot. The dhcpcd client always wasted time trying to get an IP when I wasn’t even connected so I was rather pleased to see that fixing this one problem magically resolved a bigger one.

Unfortunately, it seems that it’s back and I am currently typing this up in my Vista environment. I’m browsing the Gentoo forums right now looking for solutions, we’ll see how that goes.

Hardware is go…

Sunday, August 26th, 2007

Well, I’ve got most of the hardware on my T61 to work. X is running with the NVIDIA drivers and my wireless setup seems to be working just fine. The computer hung twice today but hasn’t for the last seven hours or so so I’m guessing (and hoping) that it was just a minor glitch.

Now that Linux is running fine, the only times I’ll need to boot Vista is probably when my wireless doesn’t work and when I need to develop eRCP applications.

T61 secured…

Saturday, August 25th, 2007

Well, as you can imagine, I’m typing this up from my T61 ThinkPad notebook. I’m in Vista at the moment because XP refused to pick up the fact that I had a hard drive in this notebook (so I couldn’t install XP) and I’m not in Gentoo because I’m having some NVIDIA driver issues which is preventing me from using X (I can use X with vesa, but who wants to do that when you have an NVIDIA card). I don’t know when I’ll get those driver issues resolved, but I hope I can get it done before I meet up with Sam since he’s probably going to want me to walk him through the installation process when I move in to Waterloo.

eRCP Sudoku code now in CVS…

Friday, August 17th, 2007

The hacks I made back in April have been committed to DSDP’s CVS repository. The three CVS modules you’ll need are o.e.ercp.sudoku.core, o.e.ercp.sudoku.solver.backtracking, and o.e.ercp.sudoku.ui. I talked to Mark today and the ECF bridge code is not in as that’s an ECF thing and it should be in our CVS repository.

If you’re interested in when that code’s going to go in, please see bug 184491. I’ll get to hacking once we’ve got that settled.

Microsoft submits their licenses to the OSI…

Thursday, July 26th, 2007

It seems that Microsoft has decided to submit their shared source licenses to the OSI. Only time will tell as to what other moves Microsoft will make in the future, but let us all hope that they’ll keep it up.

Listening to selection events from a single IWorkbenchPart…

Tuesday, July 24th, 2007

Ever wanted to just listen to selection events from a single IWorkbenchPart like the ‘Outline’ view? Well, org.eclipse.ui.ISelectionService is just what you need. In your own IWorkbenchPart where a call to getSite() is valid (say like in your createPartControl(Composite) method), you can use getSite().getWorkbenchWindow().getSelectionService() to get an ISelectionService. From there, you can invoke addSelectionListener(String, ISelectionListener).

To listen to selection changes from the ‘Outline’ view, all you’d need to do is pass in org.eclipse.ui.IPageLayout.ID_OUTLINE to the first parameter of the method and you’re gold. No more funky instanceof checks for those ISelections and more conditional checks for what they contain and your implementing method also isn’t called a gazillion times whenever something’s happened in the workbench. Keeps the code clean and “improved” performance thanks to it not being called all the time, you’ve just killed two birds with one stone!

Before I sign off, I’d like to remind you all to not forget about removing your ISelectionListener with removeSelectionListener(String, ISelectionListener)! Invoking the call in your dispose() method should be good. Enjoy! :)

Patch for Emonic accepted…

Sunday, July 15th, 2007

Well, one of my patches for the Emonic project has been committed to CVS. Bernhard said he’ll review my patches over the next week or so and commit them if all looks good to him. So far so good.

It’s going to take a fair bit of work to take this plug-in to a beta level, but I intend to help out wherever I can.