Community:SummerOfCode08:TSF: Difference between revisions

Jump to navigation Jump to search
Line 2: Line 2:


==Status==
==Status==
This week is GSoC midterm and I'm pretty much on track to finish this project by the end of GSoC. The majority of things are working and the second half of GSoC will be focused on more extensive testing and implementation of several advanced features on top of the basic TSF implementation right now.
Several Good Things(tm) that are planned for the 2nd half:
* Display attributes
** Display attributes are mostly used for IME's. Examples include underlines that make using IME easier. In Mozilla's IME implementation they are called text decorations.
** Currently Mozilla's IME implementation uses a custom set of styles to use for text decorations. However, TSF is more advanced in that it lets the IME decide which text decorations are best to use.
* Input scopes
** The input scope of a textbox is basically the "purpose" of the textbox. For example, for the Location Bar in Firefox, its input scope would be "URL", because the textbox is used to contain URL's. If a textbox is numbers-only, its input scope would be "Numbers" because it's used for numbers. For an HTML file input, the input scope would be "File pathname", and so on.
** Input scopes are used by some IME's and text services, most notably the Tablet Input Panel for more accurate response. If the current input scope is numbers, a circle written by the user would be interpreted as zero rather than the letter O.
** If we have this in Mozilla, it will be very useful for a lot of tablet and speech recognition users.
Speaking of speech recognition, I have been <strike>goofing around with</strike> testing Windows Speech Recognition and it's working pretty well. It used to be that you cannot use WSR to dictate into textboxes in Firefox but with TSF support it's a breeze. I wrote a letter in Gmail by talking only and it was fun :) --[[User:Darchons|Darchons]] 10:29, 8 July 2008 (PDT)
Now that the foundation work is there, new cool stuff will start to pop up :)  
Now that the foundation work is there, new cool stuff will start to pop up :)  
The Tablet Input Panel is working now and the icon is showing up:
The Tablet Input Panel is working now and the icon is showing up:


Line 9: Line 24:


This shows that TSF is activated and also Mozilla textboxes (the address bar in this case) are successfully exposed to the system (i.e. the system has access to the contents of these textboxes). --[[User:Darchons|Darchons]] 14:24, 1 July 2008 (PDT)
This shows that TSF is activated and also Mozilla textboxes (the address bar in this case) are successfully exposed to the system (i.e. the system has access to the contents of these textboxes). --[[User:Darchons|Darchons]] 14:24, 1 July 2008 (PDT)


The end of week 5, and a majority of the text store (the essential part of a TSF implementation and therefore the project) is implemented, and for the unimplemented methods I have a pretty good idea of how to implement them.  
The end of week 5, and a majority of the text store (the essential part of a TSF implementation and therefore the project) is implemented, and for the unimplemented methods I have a pretty good idea of how to implement them.  
Line 14: Line 30:
* Traditional IME's work (but no visual composition indicator, i.e. underline)
* Traditional IME's work (but no visual composition indicator, i.e. underline)
I think I'm ready for my first patch and in terms of completeness my implementation is on par with that of the last patch submitted for the bug a few years ago. In terms of actual functionality my implementation is a lot better because my implementation exposes the actual text boxes in Gecko to TSF while the old patch which did not. --[[User:Darchons|Darchons]] 08:17, 28 June 2008 (PDT)
I think I'm ready for my first patch and in terms of completeness my implementation is on par with that of the last patch submitted for the bug a few years ago. In terms of actual functionality my implementation is a lot better because my implementation exposes the actual text boxes in Gecko to TSF while the old patch which did not. --[[User:Darchons|Darchons]] 08:17, 28 June 2008 (PDT)


This is the end of week 4, (end of "full-time" week 1 for me since I had school and exams the first three weeks :/), and I have made stubs for the implementation, implemented several easy-to-implement methods, and made a basic outline of my design. --[[User:Darchons|Darchons]] 10:48, 20 June 2008 (PDT)
This is the end of week 4, (end of "full-time" week 1 for me since I had school and exams the first three weeks :/), and I have made stubs for the implementation, implemented several easy-to-implement methods, and made a basic outline of my design. --[[User:Darchons|Darchons]] 10:48, 20 June 2008 (PDT)
41

edits

Navigation menu