Releases: blurstudio/PrEditor
2.0.0
What's Changed
Warning: Preference saving has been re-worked. It will automatically migrate
to the new setup so you won't lose your current workbox tab contents. However
if you want to switch back to the 1.X release see "Reverting to v1.X prefs" below.
- Overhaul workbox tabs
- Support linking tabs to files. You can edit these files in an external editor and the tab will be updated automatically.
- Support backing up workbox files, with ability to scroll forward and backward thru previous versions. Only workboxes / prefs with changes are saved.
- Add Recently Closed Workbox menu and add auto-cleanup
- Colorize tabs indicating state (with toolTips)
- Support auto-sync between multiple instances of PrEditor in same core
- Support updating prefs args / values based on json file
- Enforce unique tab names
- Preference changes
- Moved most of the preferences from the various menus into a single dialog accessed via Options -> Preferences menu.
- Console code highlighting is now optional
- Created
preditor.gui.output_console.OutputConsole, a widget for showing select python output.- Optionally shows stdout
- Optionally shows stderr
- Optionally shows filtered logging messages
- Optionally shows tracebacks(if you don't want to show all of stderr)
- See example implementation in /examples/output_console.py
- Font resizing and consistency improvements
- The QScintilla workbox now supports inserting text separators.
- Include json file name if encountering errors parsing PrEditor json files. This api can be used via
preditor.utils.Json. - Added
preditor.utils.call_stackproviding decorators that log the input and return of functions indenting for recursive calls. - Better handling of errors raised by PrEditor's internal error handling code. This shouldn't affect normal users, but makes it easier to debug issues with PrEditor's internal error handling. The output will be written to
sys.__stderr__(ie. the console) for debugging. - Update Sublime Text default editor path
- Added PyQt5/6 QtDesigner support exposing OutputConsole and ConsolePrEdit.
- Improved text file encoding detection. It now assumes utf-8 unless that generates errors.
- Many other code improvements
Reverting to v1.X prefs
In the rare case that you must revert to older Preditor (v1.X), you will only
see the workboxes you had when you updated to PrEditor v2.0. When you switch
back to v2.0 again, you still may only see those same workboxes. This can be
fixed with these steps, which in summary is to replace preditor_pref.json
with one of the backups of that file.
- Options Menu > Preferences
- In the
Prefs files on disksection, click Browse. An Explorer window opens. - Close PrEditor
- Go into the
prefs_bakfolder - Sort by name or by date, so most recent files are at the top
- Look for a backup that is at least slightly larger than recent ones. If they are all the same size, go with the latest one.
- Copy that into the parent directory (ie PrEditor)
- Remove
preditor_pref.json - Rename the
preditor_pref<timestamp>.jsonfile you copied, so it ispreditor_pref.json - Restart PrEditor. Check if it has all your workboxes.
- If it still isn't correct, do a little sleuthing or trial and error to find the correct backup to use.
Source Pull Requests
- Correctly handle SyntaxError tracebacks by @MHendricks in #39
- Code Hightlighting updates by @macevhicz in #38
- Overhaul workbox tabs and font improvements by @macevhicz in #40
- Move most preferences from menu into widget by @macevhicz in #41
- Add OutputConsole widget for displaying stdout/err, logging messages and tracebacks by @MHendricks in #43
- Release 2.0 code changes by @MHendricks in #44
Full Changelog: 1.5.0...2.0.0
1.5.0
What's Changed
- Improve tracebacks / hyperlinks and minor fixes and tweaks by @macevhicz in #36
- Refactor the stream Director to support code accessing its .buffer by @MHendricks in #37
Full Changelog: 1.4.0...1.5.0
1.4.0
What's Changed
- Markm/Workbox tab updates by @macevhicz in #35
- Enforces unique tab (group or workbox) names
- Fixes bug of closing the wrong group, if the clicked group is not the current one
- Display the name of the tab being closed in the Confirm Close dialog
Full Changelog: 1.3.0...1.4.0
1.3.0
1.2.0
Drop support for Qt4
This release drops support for PySide/PyQt4.
What's Changed
- Show if a logger is disabled, and prevent logging_config from disabling loggers. by @MHendricks in #34
- The Logging button now shows a warning if a python logger is disabled.
- Improvement to how python logging config prefs are applied. Now uses
disable_existing_loggers=Falseso loggers are not disabled when logging config's are re-applied.
- Support Qt5 and Qt6 drop support for Qt4 by @MHendricks in #23
- Support for PySide6/PyQt6 added. Support for PySide/PyQt4 has been dropped. Now requires
Qt.py>=1.4.4. - Added 3ds Max example DCC integration plugin and updated the Maya integration.
- Support for PySide6/PyQt6 added. Support for PySide/PyQt4 has been dropped. Now requires
Full Changelog: 1.1.0...1.2.0
1.1.0
What's Changed
- Add ability to run code when instance is first created by @MHendricks in #32
Full Changelog: 1.0.0...1.1.0
1.0.0
Python 2 support has been dropped.
What's Changed
- Refactor configure and excepthook system by @MHendricks in #30
- Drop support for Python 2, replace setup.cfg with pyproject.toml by @MHendricks in #31
Full Changelog: 0.10.0...1.0.0
0.10.0
What's Changed
- configure now updates on every call unless the instance has been created by @MHendricks in #29
Full Changelog: 0.9.0...0.10.0
Note: This removes preditor.set_parent_callback created in the last release. You now just call preditor.configure again.
0.9.0
What's Changed
- Improve api for configuring PrEditor by @MHendricks in #28
Full Changelog: 0.8.0...0.9.0
0.8.0
What's Changed
- Release action now uses the same build command as the preview build by @MHendricks in #27
The previous release was yanked, here are it's changes.
- Add ability to set console colors with style sheets by @MHendricks in #24
- Fix getting errorMessageColor in ErrorDialog from previous commit by @MHendricks in #25
- Add missing Slot definition and fix isort issue by @MHendricks in #26
Full Changelog: 0.6.0...0.8.0