Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/mantidproject/mantid.git. Pull mirroring updated .
  1. Feb 21, 2020
    • Martyn Gigg's avatar
      Replace block-style progress reporter with C-api based one · f35671a7
      Martyn Gigg authored
      This implementation is based on the implementation in MantidPlot.
      A C++-based executor has been added that can execute Python code
      with the option of installing a trace function to update
      a progress marker on a given editor window.
      
      The old implementation attempted to chunk up the script into
      the smallest executable blocks and mark each of these as when
      they were executed. There were 2 issues:
        - the chunking of the scripts was error prone as it actually
          requires a good knowledge of how Python internally handles
          indentation etc. It was fairly easy to break and future
          internal updates to Python would have required unknown changes.
        - the progress reporting resolution was far poorer than MantidPlot
          as the actual line being executed was not reported but inferred
          by what block was being executed giving a false sense of progress
          through a script.
      f35671a7
  2. Feb 13, 2020
  3. Oct 25, 2019
  4. Oct 07, 2019
  5. Oct 04, 2019
  6. Oct 01, 2019
  7. Apr 09, 2019
  8. Mar 28, 2019
  9. Mar 12, 2019
  10. Mar 11, 2019
  11. Mar 06, 2019
  12. Feb 28, 2019
  13. Feb 27, 2019
    • Dimitar Tasev's avatar
      Add force_save option to interpreter.save, re #24812 · b195ac0d
      Dimitar Tasev authored
      If the user is being prompted to save files (option in the settings)
      then the prompt has the final decision whether to save or discard.
      
      If the user is NOT being prompted, then pressing File>Save Script or
      CTRL+S will force save, this has 2 outcomes:
      - Code editor contents already exist in a file, in which case the
      file is just saved
      - Code editor is a `New Tab`, in which case the user is prompted to select
      where to save.
      - If a code editor is closed via `X` or middle mouse click, the file is
      just discarded without notice.
      b195ac0d
  14. Feb 26, 2019
  15. Feb 22, 2019
  16. Feb 21, 2019
  17. Feb 14, 2019
  18. Feb 13, 2019
    • Dimitar Tasev's avatar
      Address comments from review, re #24531 · 4fa20272
      Dimitar Tasev authored
      Added "previous" button
      Next/Previous now have icons
      Made layout tighter
      Added X to close
      Added find/replace in Editor menu
      Added Escape to close find, only works if Find/Replace has focus
      Added Enter to search next, Shift+Enter to search previous,
      only works if Find/Replace has focus
      4fa20272
  19. Feb 12, 2019
  20. Feb 11, 2019
  21. Feb 08, 2019
  22. Feb 07, 2019
  23. Feb 06, 2019
  24. Feb 01, 2019
  25. Jan 31, 2019
    • Harry Saunders's avatar
      Add function to remove QScintilla key bindings · 679d343a
      Harry Saunders authored
      Block commenting can now be done with shortcut "Ctrl+/" that used
      to be overridden by a QScintilla shortcut.
      Some error catching still needs to be performed in the
      "clear_key_binding" method in PythonFileInterpreter.
      679d343a
  26. Jan 30, 2019
Loading