Posts Tagged Firefox

XulTitles! update

Since my last blog post 8 days ago, I have been investigating on how will be the UI (wow, UI designers have a privileged mind!) and basic tests with JavaScript and DOM manipulation as improving my knowledge of these two technologies.

And I think it’s time not to say how is going my project, instead I prefer to share various things about the development.

Since I’m developing a XULrunner application, maybe some things don’t fit for you, but anyway, some tips:

I’m using MacOS X, and there is a problem while running XULrunner app without installation, since if you try to write in a textbox the text that you entered will be displayed on the system console (Terminal) instead in the selected/focused textbox, so I’m using Firefox 3.5 as it is capable of running standalone applications, so to have an easy shortcut to open the project, I have added this line to my

.profile

file:

alias xulSub="/Applications/Firefox.app/Contents/MacOS/firefox -app /Users/willyaranda/mozilla/mmtc/xulsubtitleeditor/application.ini -jsconsole"

and when I need to open the project:

xulSub

and I’m done!

And the bolded argument: -jsconsole . It is a great way to show the Error Console to view Javascript errors, messages, alerts, XUL problems and any kind of debug information we need to know.

And about messages. I have been reading some ways to log messages to the Error Console, but the nice way (thanks FUEL!) is to put on Javascript files:

Application.console.log("foo" + barVariable);

And you will get a message!! Nice, isn’t it?

And just for you, a little screenshot! :D (comments welcomed) (the code is HERE)

xultitles1.png

Tags: , , , , ,

video tag, Dreamhost and Firefox 3.5

I’m copy-pasting a blog post from blizzard, as we had a conversation on IRC about using the video tag on Firefox and Dreamhost hosting (due a problem with my other blog (in Spanish)):

A quick note if you’re going to be using OGG open web video hosted on web servers. There’s an important configuration change that you should make so that Firefox recognizes it as video. In my Apache configuration I’ve added this directive:

AddType application/ogg .ogg

AddType application/ogg .ogx

AddType video/ogg .ogv

AddType audio/ogg .oga

Most web servers are likely to return the mime type as “text/plain” which Mozilla will not show as video. If you don’t set it, and it’s served up as text/plain then Firefox is likely to show either an error or endless buffering. (Although I suspect that the endless buffering is actually a bug in our internal player and will likely be fixed.)

Update 2: You should look at this post from Silvia for the correct information. Thanks, Frank.

Anyway, you should follow the original post, as it could be updated since the publish of this post.

And I have sent an email to Dreamhost support to get a global support for .ogv files. I will post the decision as soon as I’m getting the answer.

Tags: , , , , ,

It's time to change to another browser…

First of all, if you are reading me from education.mozilla.org planet, sorry for my bad english. I’m trying to improve it!

Second, thanks to David Humphrey for adding me to the planet. I will try to keep you informed about thing we are doing in Spain, more concise, in education world (as I’m currently a college student).

One of my first problems on University was to see only Windows computers on it (I’m studying computer engineering, and this is a bit depressing). You shouldn’t have only Windows-machines availables to the students if you are going to teach future computer engineers. So we (my colleagues and me) discovered that we have Linux machines in laboratories, where we can write our own code in a standard way easily and using open source software.

But the most depressing thing about having only Windows-based machines is that you have only one browser per default: Internet Explorer. Not only the bad Internet Explorer. We have Internet Explorer 6!!

Nobody doubts about Internet Explorer. It sucks, and v6 is old (not updated for 5 years) and it’s slowing the web (and developers’ brain). So I’ve thought about trying to install Firefox on all computers. Well, yeah, I can’t, users don’t have enough perms to install new things.

737A712B-A643-4BDE-AB8C-B917D5DE6CA2.jpg

I’m not yet an expert about operating systems and LANs, but I think each student has her/his user, not an “student” standard account and I don’t know how are stored documents of each student, because we usually wait about a minute from the login window to the full desktop (it seems that all is retrieved from an intranet server).

So, what do you think I should do in order to try to make Firefox as the default browser on my University?

For me, the best option is to talk with IT guys and try to explain them what is Firefox (in case they don’t know it!). And then convince it about the Fox and his friends :P

A37F3022-233C-42BF-9F92-C68327B6C395.jpg

Have you driven a similar change? If so, please, contact me on this blog post’s comments.

PS: And if you have time, please, write down my grammatical errors to improve my English. Thanks!

Tags: , , , , ,

Localizing Firefox 3

Well, since I saw a post of sethb about translating and localizing Firefox, I’m trying to do some post about my experience with that case, but with exams, some work and more things, I will post this today ;)

My experience (it’s a person inside of me) says me that it he/she/it hasn’t worked too much… I began with a existing Firefox 2 translation (I don’t remember if it was only a 2.0.0.x translation or a 2.+ translation (on the trunk)), but it was easy to continue. Ricardo Palomares (owner of the es-ES team, and admin of www.proyectonave.es, and translator of Sunbird, and Thunderbird…) helped me with my environment, and it was really really easy to continue his job.

I use Mozilla Translator. Why? It’s simple, easy and has a good UI to manage all things I need, and, of course, because last translator of Firefox es-ES used it.

We use some bash scripts to do the work: one for checking out en-US files (or update), another with my CVS account to check out es-ES files and another to open MT with appropriate settings.

Once it’s opened, press Ctrl+U and you will see new strings to be translated, or modified, or something… Finish the translation and… Export to CVS!! Check in your changes and… that’s it!! You will have a nice build in a few minutes

And that works.

I see people complain about MT and a little problems with that, but if you set a good enviroment and check all things, you will have a nice tool (mmmm, maybe a wiki page?? [wait, writing down on my hand], oook).

The thing is: if you work along the timeline, you will have a nice and near-0-errors final build in your own language. Obviously, you have to translate, but always localize, so, it might be difficult to find a search engine for your region, or a dictionary, or ebay in your language… And protocols-handler too!! (what a headache!!). We decided to keep the same newsfeed (20minutos.es), a free and Creative Commons diary daily, so less things to think about.

The next thing is fix some bad translated strings and check in in the “trunk”.

Next-next thing: mozilla-central!! (cvs, bazar, svn, hg!!!)

Tags: , , , , ,

8M downloads in 24hours!!!

WE did it!!!

Firefox3downloads

Amazing, around 8.3M downloads in 24hours. 83TB of data only in 24hours.

You have downloaded Firefox 3 yesterday? Go and get your certificate!

Amazing guys, amazing!!!

Tags: , ,

Widget: Time until Firefox 3

Firefox 3

Add this code to your page:

<a href="http://www.mozilla-hispano.org/images/ff3-cuenta-atras.php"><img style="border: none" src="http://www.mozilla-hispano.org/images/ff3-cuenta-atras.png.php" alt="Firefox 3" /></a>

Mozilla-Hispano (Nukeador and StripTM) did it.

Tags: , ,

5 days to go!

Victory!!

[Another sizes here]

17th June, 2008.

Note this date on your calendar. Firefox 3 will be shipped this day.

Waiting for that, you can download a RC (RC3 at this momment).

Anyway, you can spread the word and make a world record.

Tags: , , , ,

Firebug on Firefox 3

As we are getting closer to the final release of Firefox 3, all our appreciated addons are being updated to work on Firefox 3.

Now, the turn of Firebug.

Firebug 1.2 beta released. Big improvements on memory and stability.

Recommended.

Tags: , , , , ,

Add-on development on IE and Mozilla.

If you need to develop an extension for a browser, you will definitelly develop for Mozilla products: easy, low-cost, and low-tech.

For IE, you need: Visual Studio 2005, and learn C++… and registry touches, and COM and…

For Firefox, open Notepad, save as .xul, edit an .rdf, know some JS, pack them as .xpi, install it, and:

Hello World!

IE, please, don’t hurt the web.

Tags: , , , , ,

No duplicates, men!

Wow, Ricardo did an incredible work yesterday. Lot of accesskeys were duplicated in the same window/menu/tab so we needed to change them before RC1 is released.

So, thank you Ricardo!. Around 15 mails of wrong accesskeys and translations:

Change 10288

Change 10249

Change 10247 (made by Ricardo)

Lot of stuff to get es-ES a good localization

Tags: , , , , ,