Sunday, June 21, 2009

My Summer of Code - Abiword

8th of March, I sent a mail to the Abiword dev list, as I had found Porting Abiword for Windows to Unicode, an interesting idea, and done a basic research on that. I carbon-copied the mail to Jordi Mas, as he has already worked on the project idea. On the very same day, I got a positive encouraging reply from sum1 (Kamran Khan, an Abiword developer). By that time, I had realized that Abiword is the best place for the summer of codes.

I tried my best to hang on the #abiword IRC at gnome, and always interested in interacting with the users and developers of Abiword through the lists. I used this time as the best opportunity to make new friends with the other potential students through the mailing list and IRC.

19th of March, the list of selected organizations were announced, where Abiword was included for the fourth time, as expected. I was awaiting the result the whole day, and really excited to see that Abiword had been chosen. I sent a mail describing the project idea to the developer list immediately. I got some more useful suggestions from my mentor Dom and Jordi Mas.

Abiword had a requirement of building abiword to get selected for the summer of codes. I built Abiword successfully on Ubuntu 8.04 and satisfied the requirement. Dom suggested that since this would be a win32 project, it is expected to have a windows build, or a cross-building.

My Summer of Code - Initial Stage

For a student interested in Open Source project activities, Google Summer of Codes is really a wonderful opportunity, where he is allowed to spend his summer (this is of course not a summer vacation at Sri Lanka and many other countries), in his preferred way while earning a considerable amount of money. Google Summer of Codes is considered a real world working experience in the Software industry. That is, we are of course considered working in an open source project for the three months, yet paid by Google.

4th of March, while I was trying to find a place to do some localization, I got the idea of localizing Abiword into ta-LK (Tamil-Sri Lanka). There is a Tamil localization which is partially completed (ta-IN, Tamil-India). I later got an idea of giving my support in localizing the missing words. But finally settled for a fresh localization of ta-LK, which is, of course, still in very initial stage.

By that time, I had already started to jump into the possible open source community mailing lists, those can be the possible Google Summer of Codes Mentoring Organizations. WSO2, my training organization, Abiword, and OMII topped my lists. Abiword mostly matched my personal interests, where I could find some Unicode related project ideas. I was able to find some scientific workflows related projects in OMII, which matched my experience at WSO2, during my internship, with the project tryLEAD - LEAD Services.

Saturday, June 20, 2009

XBAYA - A Graphical Workflow Composer for Web Services

XBAYA - A Graphical Workflow Composer for Web Services is a graphical client program, developed as a Grid Web Services Project (xgws), at the Extreme! Labs of Indiana University. It does workflow composition, monitoring, and more, by providing a GUI to compose workflows from Web Services described in WSDL. The composed workflow can be exported to workflow languages, where BPEL and Jython Scripts are supported currently.

Source code of XBaya can be checked out here:
https://ogce.svn.sourceforge.net/svnroot/ogce/ogce-portal-only/portlets/xbaya/

XBaya is included in the OGCE Portal of the OGCE Collaboration.

More Information:
Interpreting Workflow Scripts
The wiki page for XBaya
Information on workflow can be found here.



The Open Grid Computing Environments Portal and Gateway Toolkit [The OGCE collaboration]


This contains the collection of components including, OGCE Portal, Workflow Suite, Axis Web Services, GTLAB, OGCE Gadget Container, and Cyberaide.

OGCE Portal Capabilities include Grid credential management, Secure remote file management and code execution, Views of Grid information services such as machine load, usage, and queue wait time, and Workflow composer (XBaya).

It requires Java SDK 1.5 or higher and should be installed on Linux, Unix, or Mac OS X operating systems.
Portal toolkit 2.4 can be downloaded as a tarball here.
You may also checkout the source using
svn co https://ogce.svn.sourceforge.net/svnroot/ogce/tags/ogce-portal-only-release-2.4

Friday, June 12, 2009

C++ Acronyms / Windows API

[Acronym] ([Description]) - [Equivalent to]
==============================================================================
LPSTR (Long Pointer to STRing) - char*
LPCSTR (Long Pointer to Constant STRing) - const char*
LPWSTR (Long Pointer to Wide STRing) - wchar_t*
LPCWSTR (Long Pointer to Constant Wide STRing) - const wchar_t*
LPTSTR (Long Pointer to a null-Terminated STRing) - TCHAR*
LPCTSTR (Long Pointer to a Constant null-Terminated STRing) - const TCHAR*

The above acronyms can commonly be seen in Windows API programming. The above 6 acronyms will define the respective data types without 'Long', when 'L' is omitted. For eg. PSTR denotes Pointer to string.

Thursday, June 11, 2009

Important commits to gsoc2009unicode branch

My SVN Branch can be browsed here.

The later commits are listed here.

The important commits are listed below for an easy reference.
27174 - Porting ap_Win32Dialog_Insert_DateTime.
27169 - Porting ap_Win32Toolbar_FontCombo.
27168 - Porting ap_Win32Dialog_New.
27167 - Porting ap_Win32Dialog_Replace.
27127 - Porting ap_Win32Dialog_WordCount.
27094 - Porting ap_Win32Dialog_FormatTable.
27092 - Porting ap_Win32Dialog_InsertTable.

27044 - Restoring ut_iconv.cpp to an earlier version, since the change made in revision 26696 (replacing the existing file with the fix of trunk) makes the program crash. Since this is a file in xp directory which dom fixed in trunk, have to consider this again.

27009 - Porting ap_Win32Dialog_Goto. Had to fix the parameter 2 of createModal and createModeless of xap_Win32DialogBase from using MAKEINTRESOURCE()to MAKEINTRESOURCEW() for wchar_t.

26987 - Porting xap_Win32PropertySheet.
26976 - Porting xap_Win32EncodingManager.
26910 - Fixes 26909. Porting ap_Win32App.
26909 - Porting xap_Win32App [fails].
26862 - Fixing ap_Win32Dialog_Paragraph; this fix is needed to enable the r26861 build.
26861 - Removing the unnecessary, redundant functions from ut_Win32OS. [Yet to be checked whether this fix breaks the Abicollab plugin]
26860 - Porting xap_Win32FrameImpl.
26859 - Fixing ap_Win32StatusBar.
26854 - Including the header ut_color.h for colors.
26853 - Porting ap_Win32FrameImpl.cpp. Fixing some earlier omissions.
26818 - Porting xap_Win32Dlg_Language.
26817 - Porting xap_Win32Dlg_Insert_Symbol.
26816 - Porting xap_Win32Dlg_Image.
26802 - Porting xap_Win32Dlg_FontChooser.
26753 - Porting winezmouse.
26752 - Porting ut_Win32OS.
26746 - Porting ev_Win32Keyboard.
26740 - Porting ap_Win32Dialog_Options.
26722 - Porting xap_Win32Dlg_History.
26696 - Replacing ut_iconv.cpp with that of the trunk's latest version. This commit introduced some crashes into the program so I reverted the ut_iconv.cpp later.

26691 - Porting xap_Win32Dlg_FileOpenSaveAs.
26669 - Porting xap_Win32DialogBase.
26656 - Minor modifications in util/xp directory.
26607 - Porting ap_Win32FrameImpl.
26600 - Porting gr_Win32Graphics.
26491 - Porting ev_Win32Toolbar.
26447 - Porting xap_Win32Dlg_About.
26389 - Porting ev_Win32Menu.
26252 - Enabling cross-building for jaunty.
26186 - Fix for cross-building.

26150 - The gsoc2009unicode branch was created by uwog.
[Mon, 27 Apr 2009]


Modified Folders:
af/
-ev/win
-gr/win
-util/win
-xap/win
wp/
-ap/win

af/
-xap/xp - Enabling cross-building
-util/xp - Other xp changes; to be considered in merging.