Sunday, May 10, 2009

gsoc2009unicode

Jordi Mas has organized his code so that you could build both ANSI and Unicode builds. Mostly, this uses ugly macros like TCHAR and macro'd functions. I will use wchar_t and the "W" version of the Win32 APIs, since I am going to build only a Unicode only build.

In src/af/util/win/, there are bForceAnsi flags in a number of functions that need to go; in src/wp/ap/win/ap_Win32App.cpp, there are a number of fromXtoY functions that need to be investigated (e.g., AP_Win32App::s_fromUTF8ToWinLocale).
Those fromXtoY functions are used in a number of dialogs.
Also I have to convert *A functions to *W ones. I thought of starting with the editing area and it is said that gui might be the tricker part.

It is also suggested to get rid of the xapencoding manager.

Recent Bug Reports regarding win32 + unicode:

UTF-16 and UCS-2
Microsoft uses UTF-16 little-endian as its standard for Unicode encoding

For Unicode (“Wide”) characters:
typedef unsigned short WCHAR; // 16 bit character
typedef WCHAR *LPWSTR; //pointer to 16 bit string

Abiword's internals are utf-8 and ucs-4. but the win32 parts should use utf-16, and then translate that into utf-8 or ucs-4, asp appropriate.
Internally the text engine uses UCS4.

Jordi Mas' unicode/ANSI build using tchar.h and tchar, and in mine (Unicode only build)
Unicode WCHAR and string functions.

Dialogs. menus. and toolbars to be ported first.

My project proposal can be found here.
List of all the projects and students along with their mentors can be found here.

Summer of Codes additional requirement: debug output.

Thursday, May 7, 2009

MacOS Theme for Ubuntu!


Ubuntu 9.04 is simply great.

I have also given it a Mac OS appearance using Mac4Lin.
It is awesome!!!

Abiword 2.7.0 released!

Abiword 2.7.0 was released yesterday!
Download it here.

Abiword 2.6.6 is the supported version for Ubuntu jaunty.
Download it here.

But feel free to try this debian packaging, if you prefer Abiword 2.6.8, and ready to install dependencies yourself.

An interview with the Abiword team after the Abiword 2.6 release can be found here.

A comparison of the open source word processors, OOo Writer, AbiWord, and KWord can be found here. However it could mostly be outdated by this time.

Apart from this, you may always prefer to check out gsoc2009unicode branch, which will be my branch for this gsoc - Porting Abiword Windows to Unicode.
I will use cross-building for my project.
Windows dependencies can now be found here too.

Initial discussions on this topic, by Jordi Mas, can be found here.

Sunday, May 3, 2009

Computing for all

I have recently started to translate Abiword to ta-LK. It should also be noted that ta-IN already exists for Abiword. So in a language point of view, a Tamil localized form of Abiword can be found. But still ta-LK has some clear differences from ta-IN and follows different standards. In case if a Sinhala translation for Abiword starts in a near future, I hope, we can think of making Abiword the national localized word processor of Sri Lanka.

Yesterday I attended the LAKAPPS fellowship event, which was organized to mark the success of the LAKAPPS team, in the concept "Computing in Sri Lankan languages." Abiword with the adaptability to the OLPC system, suits the position in localized computing for rural community. I wish LAKAPPS team will go forward in its effort for a better computing for all Sri Lankans.

Friday, May 1, 2009

libtool: link: cannot find the library `' or unhandled argument `Version'

When I was building again after some minor directory changes, build failed.
Oh.. Then I found, this 'libtool' is considering 'Version' in the directory name (Working Version mm) as an argument. :)
Removed the white spaces from the directory name. *Issue resolved*!


libtool: link: cannot find the library `' or unhandled argument `Version'
make[4]: *** [opendocument.la] Error 1
make[4]: Leaving directory `/home/pradeeban/Desktop/BackUp/Working Version mm/plugins/opendocument'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/pradeeban/Desktop/BackUp/Working Version mm/plugins/opendocument'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/pradeeban/Desktop/BackUp/Working Version mm/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/pradeeban/Desktop/BackUp/Working Version mm'
make: *** [all] Error 2
pradeeban@pradeeban-laptop:~/Desktop/BackUp/Working Version mm$