Monday, December 12, 2011

Importing bookmark (and etc) from other web browsers to Firefox

Several years, we had not maintained profile migration code. On Firefox 4 source code, we had unused migrators such as OmniWeb (not working!), iCab (not working!!) and Camino (not working!!!). Also, localized files had konqueror, epiphany and galeon..

But, from Firefox 11...

Firefox 11

  • Added Google Chrome migrator
    This migrator supports bookmakrs, histories and cookies. And it may support signon data on Windows if possible. This migrator uses async database and file functions, so migration is faster than migrations for other web browsers.
  • Remove Opera migrator
    Current implementation of Opera profile migration is broken. Although this is written for Opera 6!, this doesn't work on the latest Opera. So we will remove this on Firefox 11.

Firefox 12 and feature

  • More support Google Chrome migrator
    It will support preferences and signon data for Mac and Linux
  • New Opera migrator
    I am rewriting new opera migator. This uses async operation as possible and fit with new Gecko code. I will land on Firefox 12 train.

Friday, October 14, 2011

HTC touch input w/ Fennec

In this week, I bought HTC Desire Z to debug several input issue on Firefox Mobile. HTC touch input is very buggy implementation as IME (Input Method Editor). Although I turn on IME support on hardware keyboard for Firefox Mobile from version 9 (released at Dec 2011), Touch Input with hardware keyboard doesn't work well.

When I investigate this, a articles of stackoverflow.com is found. But this wasn't good article for workaround and details.

When IME support on android application, onKeyPreIme has to return false. Then, InputConnection.commitText() is called per input. But 1st parameter may be incorrect because it has no meta state (alt/fn or shift). In other word, When you input Shift+[A], we expect "A". But HTC touch input calls commitText("a")....

If you doesn't implement full IME support using BaseInputConnection. this issue doesn't occurs. BaseInputConnection.commitText() has a workaround code for this issue. It generates KeyEvent for input, then it uses InputConnection.sendKeyEvent. Since this event has correct state, onKeyDown can handle correct key event.

I will create new fix for this problem then, I will land this to Firefox 9 and 10.

Wednesday, September 21, 2011

Starting new platform porting

You know, you can build Firefox, Thunderbird, Seamonkey and Xulrunner as Windows x64 binary by my work. Now, Firefox x64 is tier 2. (automation builder builds binary, runs automation test and nightly is available.). I am interested in porting new platforms

Android x86

It already works on gingerbread of Android x86 and will work on Honeybomb. Bug number is 681202. Also, Opera mobile already runs on Android x86

Windows/arm

Required Visual Studio 11. There is a lack of important libraries such as wsock32 to build binaries. I believe that it will be fixed by Visual Studio 11 beta (actually CTP, not beta!). Also, bug number for my status is 686843.