Belligero Productions

  • Increase font size
  • Default font size
  • Decrease font size
Belligero Productions

My experiences at FSOSS

E-mail Print PDF

Well, I have attended FSOSS, and I must say, it was interesting.  It wasn't quite what I was expecting--less fanfare, primarily--but still interesting to go to.

The best presentation I saw was the first, and this primarily because it actually interested me: Extending Eclipse.  Before this, I never knew that there were non-IDE apps built on top of the Eclipse platform, or that it had a web interface that could (relatively) easily be implemented for general use.

If there's one thing I learned about it, it's to read the descriptions, not just the titles, opf the presentations.  While the last one I saw2 (about legal notices) was interesting, from the title, I had thought it was more about getting the public's attention about a new project.  Reading the descriptions, I'm pretty sure one of the other ones going on at the same time was closer to what I was hoping for: the one about building a community.  Seeing the last 10 minutes or so of this, I have to say, this guy was likely the best presenter there, though this could easily be skewed by the short period I was watching him for.

I've also realized: don't get sicvk on the Friday morning; I wound up missing out on sessions 3 and 4, ans the lunch in the middle, since I had to go home and sleep, otherwise I'd be sleeping during the presentations.

All in all, I'd say it was worth my while, and I will surely be back next year, especially while I'm still a student.

 

NetworkManager Web Authentication: 0.1 Release

E-mail Print PDF

This is my official 0.1 release for the NetworkManager Web Authentication program I have been working on. This is a much more formal release than the one I did last night, and as such, will have a lot more information.  If you do not know anything about this, there is a page on this wiki detailing the specifics of the idea.

What this release is, at present:

  • Firefox Extension
  • Linux-only
  • C++ XPCOM object to communicate with DBus
  • Communication between the extension and another running program via DBus
  • A few prompts and dialog boxes as a proof of concept

A basic how-to to use this extension:

  1. Download and extract the tarball
  2. Install the correct Firefox extension (x86 or x86_64) as they are not cross-platform
  3.  Start Firefox.  You will be presented with a series of prompts
  4. Run the dbus executable from the tarball in a terminal as follows:
    1. To receive a signal: ./dbus receive
    2. To send a signal: ./dbus send "message"
  5. Try sending various pieces of information back and forth
  6. When done, disable or uninstall the extension to make sure you don't get the prompts every time it starts

More information on this follows...

 

Last Updated on Tuesday, 17 February 2009 21:00 Read more...
 

C++ And XPCOM, and some useful hints

E-mail Print PDF

The only way I can get D-Bus working in Javascript is to create an XPCOM object to work as a go-between.  In this case, I'm trying to make a pair of C++ classes (dbusSender and dbusReceiver) that will be called by Javascript to do the actual communication for me.

If it wasn't for an article from the Mozilla Developer's Wiki, I wouldn't have been able to get anything done, and without an IDL Author's Guide, I could never have gotten the basic *.idl files written.  As it stands, I cannot get it to fully compile (wrong libraries, namely cannot find the usual dbus.h file), but other than a few syntax errors like this, I've solves my major compilation problems.

A few things that might help people in the future

There are 2 trees you need to maintain: The original code, and the compiled (objdir) directory.  Below are some things that may help others in the future...

Last Updated on Friday, 10 October 2008 08:15 Read more...
 

networkManager Automatic Web Authentication 0.1: Pre-release

E-mail Print PDF

This is not yet my official 0.1 release for the NetworkManager Web Authentication I'm working on, but is what I will be releasing for it.  I haven't blogged about it for awhile, and figured posting some progress might be in order.  The G-Zipped file can be grabbed from here.

Since it uses binary components for the XPCOM/DBus stuff, there is an x86 and x86_64 version at present, and is Linux-only.  To test it, do the following:

  1. Install the appropriate extension (autologin-x86.xpi or autologin-x86_64.xpi) into  Firefox
  2. Run the dbus executable (compiled on 32-bit, been tested on both).
    1. ./dbus receive to receive signals sent by the extension
    2. ./dbus send "message" to send signals to the bus to be picked up by the extension
  3. When you start Firefox, a series of prompts will pop up, telling you what to do, This includes signals to be send from the dbus exec from #2
  4. When"done" has been both sent and received, the prompts will end.  (WARNING: These will pop up the next time you run Firefox with it installed/enabled)

There are still a few things I want to fix up before I officially release it tomorrow (today?), namely updating the wiki page, and making the action of building it into an extension easier,  It's post-midnight right now, and I'm running on little sleep, making this not very productive time.  However, I do have a contribution opporunity...

Contribution Opportunity

When I put my source into srcdir/extentions/nmautologin it compiles to objdir/dist/bin/extensions/ This e-mail address is being protected from spambots. You need JavaScript enabled to view it .  It puts the compiled objects into components/ and I have been able to get my Javascript XPCOM into there as well.  The problem is, I also have chrome/content/autoLogin.xul in my source I want to export to it, but when I try, it negates the directory path, and just puts it in objdir/dist/bin/extensions/ This e-mail address is being protected from spambots. You need JavaScript enabled to view it .

I am currently exporting these files over using DIST_FILES = autoLogin.xul in my Makefile.  If anybody knows how to keep the directory structure intact (my chrome.manifest references it relative to itself) the build process would be a lot easier, and I would be much appreciative.

 

D-Bus C API Compilation Problems

E-mail Print PDF

Well, ignore my last post.  At this point, I essentially have nothing done for my project, since I cannot get anything to compile.  I figure it would be essentially impossible to learn Python well enough in time to get my 0.1 release coded, so I started looking into the C API for DBus.

However, I cannot get it to compile.  My first hassle was getting the compiler to find the dbus.h file, which I was able to solve with the proper flags.  Now, when I try to compile, the compiler cannot find required functions.  My code and the compilation errors are posted at http://pastebin.ca/1219504

If i can't get this to compile, then I'm screwed for Friday's due date. Does anybody have any suggestions on how to get this to work?

Last Updated on Saturday, 04 October 2008 22:29
 


Page 3 of 5

User Login

RSS Feed

feed-image Global