Skip to content
This repository has been archived by the owner on Apr 1, 2020. It is now read-only.

Releases: zrzka/blackmamba

1.5.2 (2018-05-28)

28 May 13:00
Compare
Choose a tag to compare

1.5.1 (2018-05-28)

28 May 12:56
Compare
Choose a tag to compare
  • pythonista_startup.py sample - execute main only if appex.is_running_extension() is false
  • Black Mamba supports Pythonista >= 3.2 & Python >= 3.6 only
    • Keyboard shortcuts added to Pythonista 3.2 removed
    • Removed script/new_tab.py, it was there just for Cmd T
    • Black Mamba fails to initialize if you do use with Pythonista < 3.2 || Python < 3.6
  • outline_quickly.py
    • Added support for async functions
    • Added support for TODO and FIXME
      • Supported variants TODO, TODO:, [TODO], case insensitive
      • re for TODO '\A.*#\s*\[?(?i:TODO)\]?[ :]*(?P<text>.*?)\s*\Z' as an example
      • Square brackets because of ligatures in Pragmata Pro
      • Not perfect, matches if it's in the string, but it's good enough for now
  • forum-copy-code.py script added
    • Allows you to copy code elements from the forum
  • blackmamba.framework.security
    • Fixed InternetPassword query (check for not empty auth type)

1.5.0

11 Jan 15:59
Compare
Choose a tag to compare

1.5.0 (2018-01-11)

  • Pass -p no:cacheprovider to fix operation not permitted for .cache directory (run unit tests script)
  • Documentation cleanup and rewrite to Markdown, which is easily editable in Pythonista compared to reST
  • blackmamba.framework.security introduced
  • blackmamba.uikit.keyboard
    • Camel case enum constant deprecated, will be removed in 2.0.0
    • Use UPPER_CASED versions, camel case still exists as aliases
  • with bundle() always unloads pkg_resources.* causing issues
    • Launch Pythonista, run Black Mamba Analyze - works vs
    • Launch Pythonista, run Pythonista unit tests, run Black Mamba Analyze - fails, because of pkg_resources

1.4.3

30 Dec 17:01
Compare
Choose a tag to compare

1.4.3 (2017-12-30)

  • Compatibility check with 3.2 (320000)

1.4.2

23 Dec 16:08
Compare
Choose a tag to compare

1.4.2 (2017-12-23)

  • Compatibility check with 3.1.1 (311017)

1.4.1

13 Nov 08:57
Compare
Choose a tag to compare

1.4.1 (2017-11-13)

  • Compatibility check with 3.1.1 (311016)
  • Bundle refactoring enhanced with future, libfuturize, libpasteurize modules
  • script/refactoring/futurize.py introduced (see Python Future)
    • Equivalent of futurize -1 --all-imports -n -w --add-suffix 3 $editor.get_path() (Stage 1 only)
    • When futurizer ends, editor text is replaced with content of the .py3 and .py3 is trashed
    • You can run futurizer script with Cmd Option F
  • Improved updates check
    • Console is not cluttered with local / latest release info (installer prints this)
    • Update check() doesn't ask if update should (not) be installer (installer also asks)
    • If there's new update available, installer is executed, you will still be asked (just once, not twice)
  • Script new_file.py modified
    • File opened
      • Asks for a file name (empty & Enter -> Cancel)
      • New file path is currently opened file dirname + entered file name
      • If file doesn't exist, new file is created and opened
      • If file exists, file is opened
    • No file opened
      • Same behavior as now
      • New tab created and New File... button tap emulated
  • Installer
    • Replaced ModuleNotFoundError (Python 3.6) with ImportError (Python 3.5)

1.4.0

01 Nov 16:58
Compare
Choose a tag to compare

1.4.0 (2017-11-01)

  • Fixed keyboard shortcut selector name generator
  • Bundle refactoring introduced (includes rope)
  • Refactoring functions introduced
    • It's an EXPERIMENT. You should use version control system to avoid loosing data.
    • Cmd Option O - Organize imports
    • Cmd Option E - Expand star imports
    • Cmd Option R - Rename identifier
    • Can be used as scripts as well, see script/refactoring folder
    • Preview dialog can be closed with Cmd . / Esc, confirmed with Enter
  • Scroll back to initial cursor location if analyzer didn't find an issue, ugly, but better than end of the file

1.3.3

27 Oct 10:35
Compare
Choose a tag to compare

1.3.3 (2017-10-27)

  • Installer improved
    • Print installed version to the console
    • Show installed version in the dialog update/replace dialog
    • Dialog content differs for update/replace (version comparison)
  • script/selfupdate.py added (it just runs installer via requests)
  • Check for updates
    • Update dialog allows you to run selfupdate.py
    • If you hit cancel, installer command is copied to the clipboard
      and additional info about selfupdate.py / installer command
      is printed to the console

1.3.2

25 Oct 05:11
Compare
Choose a tag to compare

1.3.2 (2017-10-25)

  • Fixed exception when there's empty tab opened (#30)
  • Open quickly selects proper tab when the file is already opened
    and empty tab exists as well
  • Compatibility check with 311015
    • Cmd-Shift-], Cmd-Shift-[ registered only in Pythonista < 311015
    • These shortcuts are natively supported
  • flake8-3.5.0, pyflakes-1.6.0
    • Bare exception check
    • Ambigious identifier check

1.3.1

19 Oct 10:53
Compare
Choose a tag to compare

1.3.1 (2017-10-19)

  • Run scripts via pythonista3://, not just pythonista:// (see #29)