User:Pallav

From ASCEND
Revision as of 11:02, 4 June 2013 by Pallav (talk | contribs)
Jump to navigation Jump to search

He is dual-degree undergraduate student of International Institute of Information Technology, Hyderabad (IIIT-H) and pursuing MS in the field of Data Visualization at Center of Data Engineering(CDE) under the guidance of Prof. Kamal Karlapalem. Currently, he is involved in the development and improvements in the PYGTK GUI of ASCEND.

Contact Email : pallav.tinna1604@gmail.com

Subversion account : pallav:/


GSoC 2013 Project : Porting to gtk3 and GUI Improvements

The proposal details can be found here

Highlights of the Project

  • Porting gtk2 PYGTK GUI to gtk3
    • Using a pygtk compatible layer(pygtkcompat) which provides a pygtk compatible API on the top of gobject-introspection
    • Replacing deprecated functionality with the newer version API.
    • Restructuring of gtkbrowser code and changing its design to avoid bugs.
  • Improvising the Error Reporter Module
    • This module that would accept all the errors that are reported and filter the necessary ones(first or based on some keyword).
    • Removing print statements from the code.
  • Improvements in the python wrapper
    • Adding functionality like "automatically generated scripts" to the IPython console's namespace.
    • Automatic update of the IPython console’s environment and provide “tab completion” of all the ASCEND specific commands.
    • Working on automatic indentation in the IPython console.
  • More functionalities
    • openGL support for some models.
    • Changes in the METHOD syntax to provide increased automation capability.
    • Adding some missing pieces from tcl/tk interface.

Preliminary timeline for task completion

  • Week-1,2
    • Work on porting the application to gtk3
    • Understand the dependencies and deprecated functionality in the current code.
  • Week-3,4
    • Add new API changes to the code.
    • Changes in the packages and libraries used in ascend pygtk.
  • Week-5,6
    • Work on restructuring of the user-interface to provide a new design.
    • Fixing the bugs.
  • Mid Term Assessments ( July 29th - August 2nd )
  • Week-7
    • Work on Error reporter module
    • Provide a filter to the reported errors to fetch the necessary ones.
    • Logging all the errors for future reference.
  • Week-8
    • Work on improvements in the python wrapper
    • Add ASCEND specific commands to the IPython console’s namespace.
    • Map the functionality of the console into the GUI interface using widgets/buttons.
  • Week-9,10
    • Automatic update of the IPython console’s environment.
    • Improvements in the IPython console for tab completion and automatic indentation.
    • Adding openGL support for some models.
    • Changes in the METHOD syntax to provide increased automation capability.
  • Week-11,12
    • Bug fixing.
    • Prepare Documentation.


Bug Fixes

  • bug 530
    • Removed the uncompatibilities based on the IPython API changes.
    • Added new IO stream handling methods.
    • Added a method generatePrompt to provide backward compatibility for the previous versions of IPython (0.10 and 0.11) and renders the prompt manager.
    • Changed the configuring of the IPython config loader.
    • Disabled the auto-indent behaviour, because it was incompatible with the new API changes. Need to add a workaround for the auto-indent issue.
  • bug 572
    • Added a new method close_window_on_confirm(), which displays a confimation dialog box to quit pygtk main_window.
    • This method is mapped to quit() and exit() calls in the ipython console.