This repository has been archived by the owner on Apr 1, 2020. It is now read-only.
Releases: zrzka/blackmamba
Releases · zrzka/blackmamba
0.0.25
blackmamba.script
introduced and it does contain following scriptsaction_quickly.py
,analyze.py
,clear_annotations.py
,close_all_tabs_except_current_one.py
,
drag_provider.py
,jump_to_definition.py
,jump_to_line.py
,new_file.py
,new_tab.py
,
open_quickly.py
,outline_quickly.py
,run_quickly.py
,run_unit_tests.py
,search_dash.py
,
toggle_comments.py
- These scripts can be used in the wrench icon (action)
- These scripts are binded to keyboard shortcuts, whenever you run it via wrench icon
or via keyboard shortcut, same script is executed - It's still required to call
blackmamba.main
from within
~/Documents/site-packages-3/pythonista_startup.py
file to properly configure it
(even without external keyboard)
- Drag Provider uses Pythonista title bar instead of custom title to allow users to close the
the dialog without external keyboard - Unit tests (
tester.py
) moved fromblackmamba.experimental
toblackmamba
ide.run_script
andide.run_action
has new args nameddelay
, which defaults toNone
- Run Quickly & Action Quickly runs scripts with 1.0s delay and that's because
both these actions are binded to scripts in the new script folder and if there's no
delay, nothing happens if these scripts are Python 3 (basically it runs script from script,
which doesn't ended yet) - Fixed #20 (Pythonista appex error)
- Allow to run
main
- Do not check compatibility, updates
- Do not register keyboard shortcuts
- Allow to run
blackmamba.system.Pythonista
decorator has new argappex
- Defaults to
None
appex=True
- run decorated function if it's running as application extensionappex=False
- run decorated function if it's not running as application extensionappex=None
- run in both case, just don't check
- Defaults to
blackmamba.key_command.register_key_command
is decorated withPythonista(appex=False)
to avoid shortcut registration if it's running as application extension- Page Up (
Ctrl Up
) and Page Down (Ctrl Down
)
0.0.24
blackmamba.keyboard
module added- Pickers (open, script, ... quickly)
- Do not focus search field if HW keyboard is not connected
- Show title bar instead of custom title to allow users to close
dialogs with X button
ide.scroll_to_line
optimized- Toggle comments various fixes
- Line is properly commented when there's inline comment
- Uncommented line -> whitespaces only -> '\n'
- More test coverage to avoid future bugs
0.0.23
0.0.22
0.0.21
v0.0.19
0.0.18
- Installation command is copied to the clipboard when the alert about
new version is shown. Just open console and paste it. system.Pythonista
andsystem.iOS
decorator to limit functions
execution under the specific Pythonista & iOS versions.- 0.0.17 skipped, because this version was used for testing & fixing pip
- Outline Quickly... (
Cmd Shift L
) introduced
0.0.16
- Allow to start Black Mamba even in untested version of Pythonista, just
warn the user - Init messages are colored (orange=warn, red=error)
- All print messages replaced with
log.info
(.error
,.warn
) bm.log.level
allows to set logging level (defaultINFO
)- Do not bother user with alert about new version (just use console)
in case the Black Mamba is not installed via installer (git for example) - Tested with latest Pythonista beta (3.1.1 - 311008)
0.0.15
- Fix HUD message when there're no tests in the file
- Removed unreliable PyPI package installation option
- Removed package from PyPI
- Custom installer alla StaSh
- Removed
settings
module (moved to respective modules) - Removed
script_picker.py
(merged tofile_picker.py
) - Updated
pythonista_startup.py
sample - Pythonista version compatibility check
0.0.14
- Since 0.0.14, the license was to changed to MIT
- Seems no one does use PyPI for installation, .pyui files are now included :)
- Comment line with
#
instead of just#
(#12) Ctrl Tab
(orCmd Shift ]
) selects next tabCtrl Shift Tab
(orCmd Shift [
) selects previous tabCmd 1..9
selects specific tab- EXPERIMENTAL
Cmd U
to run unit tests (works, but sometimes, use at your
own risk)