en Mozilla, Técnico

XulTitles! 1st milestone

XulTitles! has reached a time where its necessary to focus on P1 issues.

Until now I have working on coding funny things, I left them, I took others, and it was a bit messy because when I do the commits to my repository my question was: «What are the changes for this commit?» and finally I get nice and very reading commit-messages like:

Sigh. I really need to focus on different things but each one at its time!

So, the UI is there (no styles yet):


(Hi Paul, please, smile!!)

(it is highly possible that I will remove that textbox and progressbar under the play-pause buttons because it’s redundant with the video controls)

Anyway, there were not so much progress on UI (just added menubars, buttons and reworked some XUL code, but the main progress was done (obviously) on the backend. The SRT parser is now written by me! 😀 (I was using Paul’s one), I have refactored code that is used for GUI and file manager things, as well as the SRT parser and helper, and I have created the necessary stuff to made the application localizable (but it’s not yet possible).

This work has shown me how powerful is Mozilla code, XULRunner, Gecko and standards. With no more of 1000 lines of code actually I’m able to: open a file on my computer, show it in a window with buttons to control it, search for subtitles on the same path as the video, parse those subtitles and then show them in a list, and have the ability to change between different languages, and have code to save and diff subs. Just with XUL and Javascript! (HTML is used just in one line, and CSS… CSS… i’m not a designer! :D).

So the trunk is frozen 😛 And the tag «Milestone1» was created. Now… hack on serious issues!

And finally, I want to thank Vivien because he reviewed my code some time ago and caught some problems and show me better ways to resolve the problems I’m finding, thanks!

Deja un comentario

Este sitio usa Akismet para reducir el spam. Aprende cómo se procesan los datos de tus comentarios.