User:Adrian

From ASCEND
Revision as of 22:03, 15 May 2015 by Adrian (talk | contribs)
Jump to navigation Jump to search

He is 4th year student of Gdansk University of Technology in the field of Computer Science. He has some expierence with professional work. He is passionate about parallel computing and great enthusiast for Linux and open source. Currently, he is involved in the development and improvements in the GUI of ASCEND.

Contact Email: adrbogus1@student.pg.gda.pl

Subversion account: adrian:/

GSoC 2015 Project : GUI Improvements

Generally GUI migration from Gtk2 to Gtk3 with some bugs fixing. Then implementation of an installer for the Windows users, which bundles and installs necessary libraries. Finally addition of some functionalities to GUI.

Important information

New ASCEND GUI uses Gtk3 library, so some dependencies have to support this version of Gtk.
If you want to use Canvas GUI you need to have gaphas library (gtk3 branch), which is available on github.com. You can use this command to download it automatically:

Invalid language.

You need to specify a language like this: <source lang="html">...</source>

Supported languages for syntax highlighting:

a4c, abap, abc, abnf, actionscript, ada, agda, alan, algol, ampl, amtrix, applescript, arc, arm, as400cl, ascend, asciidoc, asp, aspect, assembler, ats, autohotkey, autoit, avenue, awk, ballerina, bat, bbcode, bcpl, bibtex, biferno, bison, blitzbasic, bms, bnf, boo, c, carbon, ceylon, charmm, chill, chpl, clean, clearbasic, clipper, clojure, clp, cmake, cobol, coffeescript, coldfusion, conf, cpp2, critic, crk, crystal, cs_block_regex, csharp, css, d, dart, delphi, diff, dockerfile, dts, dylan, ebnf, ebnf2, eiffel, elixir, elm, email, erb, erlang, euphoria, exapunks, excel, express, factor, fame, fasm, felix, fish, fortran77, fortran90, frink, fsharp, fstab, fx, gambas, gdb, gdscript, go, graphviz, haml, hare, haskell, haxe, hcl, html, httpd, hugo, icon, idl, idlang, inc_luatex, informix, ini, innosetup, interlis, io, jam, jasmin, java, javascript, js_regex, json, jsp, jsx, julia, kotlin, ldif, less, lhs, lilypond, limbo, lindenscript, lisp, logtalk, lotos, lotus, lua, luban, makefile, maple, markdown, matlab, maya, mercury, meson, miranda, mod2, mod3, modelica, moon, ms, msl, mssql, mxml, n3, nasal, nbc, nemerle, netrexx, nginx, nice, nim, nix, nsis, nxc, oberon, objc, ocaml, octave, oorexx, org, os, oz, paradox, pas, pdf, perl, php, pike, pl1, plperl, plpython, pltcl, po, polygen, pony, pov, powershell, pro, progress, ps, psl, pure, purebasic, purescript, pyrex, python, q, qmake, qml, qu, r, rebol, rego, rexx, rnc, rpg, rpl, rst, ruby, rust, s, sam, sas, scad, scala, scilab, scss, shellscript, slim, small, smalltalk, sml, snmp, snobol, solidity, spec, spn, sql, squirrel, styl, svg, swift, sybase, tcl, tcsh, terraform, tex, toml, tsql, tsx, ttcn3, txt, typescript, upc, vala, vb, verilog, vhd, vimscript, vue, wat, whiley, wren, xml, xpp, yaiff, yaml, yaml_ansible, yang, zig, znn

Then you should copy gaphastmp/gaphas directory either to canvas directory or to python site-packages (usually: /usr/lib/python2.*/site-packages).

General plan

Till mid-term (3rd July 2015):

  • complete working port to GTK3, including canvas GUI (completed)
  • windows installer based on GTK3, tested and working on a clean Windows VM (in progress)
  • improved tree-view in main GUI: (not started)
    • better handling of keyboard navigation and value input (not started)
    • multi-selection of variables to 'observe' (not started)
    • menu option to show/hide different instance types (not started)
    • improve rendering of events, whens, conditionals. (not started)
    • dialog boxes for not-yet-supported instance types (not started)

Till full term (28th August 2015):

  • full support for live plotting during solution of dynamic models (not started)
  • improved line-routing for the canvas GUI (not started)
  • redesign solver/integrator APIs for better handling of user interrupts (not started)
  • substantial progress on associated bug-fixed as agreed in weekly meetings (not started)

Timeline for task completion

  • 1st April 2015 - 3rd May 2015
Major points describing weeks' work
  • Ported Canvas GUI to Gtk3
Fixed bugs
  • Fixed properties displaying after model running
  • Fixed context menu displaying issue
  • Fixed context menu instance wrong tab displaying issue
  • Fixed context menu tool issue
  • Fixed method entry issue
  • Fixed zoom issue
  • Fixed solver status without parent issue
  • Fixed instance showing after run issue
  • Fixed canvas saving issue
  • Fixed blockproperties window issue
  • Fixed transient parent for about dialog issue
  • Fixed transient parent for canvasproperties issue
  • Fixed export svg dialog transient parent issue
  • Fixed KeyError in otank dictionary issue
  • Fixed selected item status issue
  • Fixed no icons issue
  • Fixed disappearing menu issue, removed unecessary multiple definitions of toolbar
  • Fixed adjustments issue
  • 4th May 2015 - 10th May 2015
Major points describing weeks' work
  • Installed three virtual machines and two native systems with different operating systems and desktop enviroments
    • Debian 7 32bit with Gnome 2 - virtual machine to test
    • Fedora 20 32bit with Kde - virtual machine to test
    • Ubuntu 14.04 32bit with Unity - virtual machine to test
    • Fedora 20 64bit with Gnome 3 - main computer to develop and test
    • Debian 8 64bit with Gnome 3 - laptop to develop and test
  • Testes Canvas GUI on every machine
Fixed bugs
  • Fixed renaming block issue
  • Fixed issue with endless depth string in obrowser
  • Fixed issue with attributes for tree column view in blockproperties for gnome 2
  • Fixed saving canvas after running issue