Posted on 03 Jul 2015
This year FUDCon, held at Pune, last week was my first ever FUDCon, and my first steps in to awesome Fedora community. This was also the first conference where I delivered a full-fledged talk about ‘Automating UI testing’ presenting some of the work I did in automating the UI tests for gnome-photos. The talk was more about how they can make their UI tests automated. I also talked about ‘Integrating LibreOffice with your applications’ in a barcamp talk sharing and discussing ideas with few people, presenting what I am up to in this project in LibreOffice, and how they can take advantage by either directly using the new, evolving LibreOfficeKit API, or by using the new Gtk3 widget in their applications. I talked about how I am acheiving this using tiled rendering, and how I (with Michael and Miklos) am planning to enhance this in future by incoporating the support for opengl, efficient tile management, and multi-threaded support. Besides that, it was a wonderful opportunity for me to meet new people contributing to Fedora project, and sharing ideas with them. I now have a better idea of how I can contribute more to Fedora, and feel motivated enough to continue...
Posted on 22 Jun 2015
I managed to integrate LibreOfficeKit’s LOKDocView widget with gnome-documents, finally. Here is the screencast for the same. There are still lot of improvements that I need, for example, we need to have a new editing overlay now in gnome-documents so that you you can do operations like bold, italics, underline, search, switch to edit mode and view mode, and few other things. There are also crashes right now which possibly are because I haven’t yet written robust code to nicely separate the currently used EvinceView and the newly used LOKDocView. On the other hand, I have few ideas to improve the widget backend, for example, improving the tile buffer backend by rendering nearby tiles to increase the visual coherence. Right now, it only renders the visible tiles, but it would be good to render the tiles nearby the boundary of the visual region so that the scrolling is smooth. I would be working on improving upon this in next coming weeks.
Posted on 15 Jun 2015
Posted on 05 Jun 2015
This year I am working on integrating Libreoffice with gnome-documents. gnome-documents currently only supports viewing documents. It indirectly makes use of poppler library to render PDF documents. To show any other format such as .docx, .odt, .ods, it first converts the document into a PDF format using unreliable unoconv command, and then render these PDFs using poppler. Hence, this also disables gnome-documents from editing editable formats. As part of my GSoC 2015 under Libreoffice, my main aim would be to improve an existing widget under Libreoffice, LOKDocView, and integrate the widget with gnome-documents. LOKDocView make calls to Libreoffice core using LibreOfficeKit. The current LOKDocView implementation needs a little furnishing. It also doesn’t support efficient tiled rendering, which is very essential especially at larger zoom levels (You never want the application to render zillions of tiles for you at 500x even if you don’t want to see majority of them). One of the improvements that I would be making in this widget is efficient tiled rendering so that it only renders the visible part, and while scrolling tries to reuse the already renders tiles to the best of its ability. To improve this tiled rendering, I have modfied the widget to...
Posted on 19 Apr 2015
I often use my computer as a router. My friends would login to my system via ssh, and use the internet. Sometimes, its the opposite, that is, I login to their system to access the internet. But most of the time, its me who act as a router for others, as a internet gateway. The problem I only give ssh account to few of my close friends. I expect them to use internet only for browsing and not for downloading heavy stuff. But sometimes they would download heavy stuff and that would drastically affect my internet experience. I don’t want to cut everyone’s ssh access. It would have been great if I could somehow know which user is eating up my bandwidth, and then warn or deny his ssh access. Solution I googled about if there is any existing tool that would suffice my requirements. I found few interesting tools like iftop but the problem with most of them was that they don’t map users with the session. They could only tell me the traffic mapping to any particular ip addresses. Then, I came across this blog post by someone which made use of iptables to log the traffic. Again,...