Showing posts with label mozilla. Show all posts
Showing posts with label mozilla. Show all posts

Thursday, February 18, 2010

Bug in Bespin ... the search...

After a few hours of searching in and around the area that was given to me inside my bug listing on bugzilla, I believe to have found the section in which the error lies. Inside bespinclient/plugins/supported/Editor/views there's a couple of javascript files called scroll.js and scroller.js. Around line 278 in scroller.js, the code begins focusing around whether the scrollbar is highlighted and has code such as:

_isHighlighted: function() {
return this._isMouseOver === true
this._mouseDownScreenPoint !== null;
},

which is just the first of many similar lines but that goes to show you it's discussing whether the scrollbar is highlighted based on the mouse-event, which is pretty close to focusing on my bug, being that the custom scrollbar doesn't change when the mouse scrolls over the scrollbar. It just stays as the regular mouse cursor, and that ain't right...unfortunately my brain is pretty fried right now due to my 3 hours of sleep last night so I will have to resume it in the morning. Wish me luck, world.

Friday, January 29, 2010

Working on Bespin Bugs

I'll be working on Bespin for Mozilla and have requested to be assigned a few bugs I found on Bugzilla. I have requested to contribute to issue 516852, about how the scrollbar cursor doesn't change to the correct cursor when it's over the custom scrollbars in the editor, and issue 521823 about how commented code doesn't display as being 'greyed-out' when the cursor is near the bottom of the file, but becomes greyed out once you move the cursor to the top of the comment block. I chose to work on these two issues because I thought it would give me an introduction to the Bespin code, give me some access to the code, and begin my understanding of the inner-workings of Bespin. Unfortunately, I was denied working on issue 521823, due to the fact that 'it's unclear to me(Kevin Dangoor) when we will bring the debugging functionality back. There are significantly more important things on our plate than that...'. That is unfortunate because I was looking forward to working on it a lot, but that will have to wait.



Background

Bespin is an online IDE developed by Mozilla Labs. It allows users to create and edit code, similar to Microsoft Visual Studio, from within a web-browser with no client-side installation necessary. It allows multiple users to work on and discuss a single piece of code/program collaboratively. It is also a piece of open-source software...a very attractive option to developers everywhere.



Progress Tracking

I will be tracking this progress on my wiki. I will also post things that other developers would find important on the issue page (516852). They will be able to follow me through my wiki and through my posts on the issue pages listed above. I expect to have looked at the code for these issues by February 5th and to have issue 516852 finished by February 19th. It does not seem to be a very big issue so I do not expect it to take long to resolve.

Different Versions of Each Release

As stated previously, the issue does not seem very large so I do not expect it to take very long. For issue 516852, I plan on it being done for February 19th. I will then continue to work on more bugs to help out the mozilla community. I will discuss my issues with Kevin Dangoor to ensure I am doing everything according to specs.

Overall

I will have to brush up on my JavaScript since that is what Bespin appears to be coded in, in order to complete the bugs I wish to work on.. I have contacted Kevin Dangoor and there is another programmer, Alex. Google will be my best friend when it comes to this assignment, and I plan on using it through every step of the way. I am sure to experience new barriers as time progresses and I hit little annoying bugs that take far too long to fix. I expect to talk to people over irc and learn on my own using google to overcome the barriers, and I expect it to work well. We shall see how it works in the end. It is my first experience working with open source and contributing to a project such as this, so I expect it to be a great learning experience and don't doubt that it will teach me much in terms of contributing to development in the 'real world' and helping me to understand what it's like to contribute my skills outside of corporations (such as RBC, where I did my co-op) and school.


Saturday, January 23, 2010

Joined Some Mozilla Mailing Lists

So I joined some mailing lists from Mozilla that I thought I would find interesting.

The first one: dev-amo, which is discussing the software powering the mozilla add-on website. I thought I'd join because I wish to get involved in some development of addons for mozilla. It may just be discussing the software powering the website, but it looks like a damn cool website and I wouldn't mind hearing about it and what they have to say about it.

The second one: dev-apps-chatzilla, which is discussing the development of ChatZilla, the IRC chat client that is an add-on to Firefox (Firefox has so many add-ons, can anyone really beat it at this point???). I've began using it as my main IRC client and it is really easy to use and nice. I don't really use the mouse with it at all but that's a possibility, and that's always good for users who like the GUIs. If one thing leads to another, maybe getting involved in some development in it would be fun, but for now, hearing about it will satisfy any curiousities I have and it shall be interesting.

The third one: dev-apps-firefox, which is, of course, the development discussions about Firefox. I joined it because I want to keep updated on the general updates and discussions about Firefox and hope to get involved in add-ons with this browser. It is my main browser, as it should be...and everyone else's :-D, and I'd like to hear about what's going on with it. Be in the loop and get the latest news!

The fourth and final mailing list I joined was dev-embedding, which discusses embedding Mozilla code. I believe that to mean general discussions about embedding code into the add-ons and other programs related to Mozilla-type products. I want to learn more about this, so I joined it.

One step closer to being involved in the open source community. Knowledge is power!!!

Experience in Firefox Channel on IRC

I have been sitting and observing the #Firefox irc channel on moznet throughout the night and, by watching what's going on, I can see how effective IRC can truly be. It appears that anyone, even those unknown to anyone, can just pop in at any point in time and ask questions about whatever may me itching their curiousity in regards to Firefox (or whatever the channel they are in is related to), and will in most cases get an answer if someone there is capable of answering that question. It's really a thing of beauty for people who want to troubleshoot their Firefox browser, talk about potential add-ons, and just have general discussions about Firefox's capabilities or lack thereof. I look forward to using irc in my projects and for future projects that I take on in my lifetime. It appears that programmers have another best friend aside from Google, and I can see how once you become a regular user, how involved you can become as well as how knowledgeable you can become, and how you can soon start contributing the knowledge that you have to help those who need it and truly become a part of the community.
It should be fun.