1. 27 Dec, 2017 1 commit
  2. 23 Dec, 2017 1 commit
  3. 22 Dec, 2017 7 commits
  4. 20 Dec, 2017 3 commits
    • Boudewijn Rempt's avatar
      Update scripter to allow running of scripts without a main() function · 3035b737
      Boudewijn Rempt authored
      Summary:
      Allow scripter to play main()-less scripts without complaining
      
      If a script is typed into the scripter window interactively and saved, scripter keeps a record of the file and automatically loads the script on the next run. When you press play on this auto-loaded script the runner module tries to load the module, then run it's main() method. However, an interactive script may not have a main method.  Scripter should run main() if it's present, but fail silently if it is not present.
      
      Test Plan:
      Not sure what to put here.
      To trigger the initial bug Run krita, run scripter, create a script without main, save the script then press the play button.
      
      Reviewers: #krita, woltherav
      
      Reviewed By: #krita, woltherav
      
      Subscribers: alvinhochun, rempt, eliakinalmeida, woltherav
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D9317
      3035b737
    • Boudewijn Rempt's avatar
      Update scripter to allow running of scripts without a main() function · 0ba75097
      Boudewijn Rempt authored
      Summary:
      Allow scripter to play main()-less scripts without complaining
      
      If a script is typed into the scripter window interactively and saved, scripter keeps a record of the file and automatically loads the script on the next run. When you press play on this auto-loaded script the runner module tries to load the module, then run it's main() method. However, an interactive script may not have a main method.  Scripter should run main() if it's present, but fail silently if it is not present.
      
      Test Plan:
      Not sure what to put here.
      To trigger the initial bug Run krita, run scripter, create a script without main, save the script then press the play button.
      
      Reviewers: #krita, woltherav
      
      Reviewed By: #krita, woltherav
      
      Subscribers: alvinhochun, rempt, eliakinalmeida, woltherav
      
      Tags: #krita
      
      Differential Revision: https://phabricator.kde.org/D9317
      0ba75097
    • Yuri Chornoivan's avatar
      Fix minor typos · a1d73ab3
      Yuri Chornoivan authored
      a1d73ab3
  5. 19 Dec, 2017 2 commits
  6. 17 Dec, 2017 1 commit
  7. 16 Dec, 2017 3 commits
  8. 15 Dec, 2017 1 commit
  9. 14 Dec, 2017 2 commits
  10. 13 Dec, 2017 3 commits
  11. 12 Dec, 2017 10 commits
  12. 11 Dec, 2017 6 commits