Pyqode.core

Latest version: v4.0.10

Safety actively analyzes 688792 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

2.11.0

------

As of pyqode 2.11, the project has entered in maintainance mode. Only critical bug fixes will be adressed. The core
team won't add any new features but we will continue to accept PR as long as they are properly tested and not too risky.

This release is mainly a bug fix release, it also adds support for PyQt 5.7.

New features:

- PyQt 5.7 support
- Allow to set case sensitiveness of current word highlighter

Fixed bugs:

- Fix compatibility issues with PyQt 5.7
- JSonTcpClient: wait for socket connected on OSX
- Fix FileNotFoundError in file watcher
- SplittableTabWidget display file save exception in a message box
- Many bug fixes to the new OutputWindow/Terminal widget
- Fix OpenCobolIDE/OpenCobolIDE365
- Fix OpenCobolIDE/OpenCobolIDE376
- Fix OpenCobolIDE/OpenCobolIDE377
- Fix pyQode/pyQode69
- Fix pyQode/pyQode67
- CodeCompletion: fix regex exception when setting prefix

2.10.1

------

Fixed bugs:

- fix some backend issues on OSX (the client socket would remain in conecting state if a request is made before
the tcp server is running)
- fix strange behaviour in buffered input handler of OutputWindow when using backspace or delete

2.10.0

------

New features:

- add a new widget to run interactive process with support for ANSI Escape Codes: pyqode.core.widgets.OutputWindow
- add a Terminal widget based on the new OutputWindow.
- [CodeCompletionMode] improvements to the subsequence matching algorithm to put completion with the same case at the top of the list.
- [SplittableTabWidget] add shortcuts to close current tab (Ctrl+W) or all tabs (Ctrl+Shift+W)

Fixed bugs:

- [FSTreeView] fix file_renamed signal not emitted when moving files
- [FSTreeView] show a message box if there is an OSError while renaming a file/directory

Deprecated features:

- pyqode.core.widgets.InteractiveConsole is now deprecated, you should use pyqode.core.widgets.OutputWindow

2.9.0

-----

New features:

- add ability to extract translatable strings with gettext
- add an option to disable copy of whole line when there is no selection, see PR 158
- add a public method to retrieve the list of submenu of the editor context menu
- add ``keys`` and ``values`` methods to the mode and panel manager
- FSTreeView: delay initialisation of tree view until widget is shown
- Add zoom menu to the editor's context menu
- Add ability to use own QSettings
- Add ability to set custom linter rules and add an option for the backend to know about max_line_length (defined in
the margin mode).
- Add ability to close tabs on the left/right of the current tab.

Fixed bugs:

- fix conflicts between WordClickMode and Ctrl+Mouse move (prevent goto when Ctrl+ mouse move).
- fix text cursor not visible under a margin (solution is to use a 2px wide cursor).
- fix HackEdit/hackedit51
- fix cut not working as intended when cutting a line with only whitespaces
- fix memory issues in HtmlPreviewWidget, now using QTextEdit::setHtml instead of a full blown webview
- fix subprocess.CalledError if xdg-mime returns with non-zero exit code
- fix segfault on Windows (in HackEdit)
- fix many potential unhandled OSError/subprocess errors
- fix file_renamed signal not emitted for child file when a parent directory has been renamed (FSTreeView)
- fix KeyError in backend client if backend function failed due to an exception (result is None)
- fix UnicodeDecodeError when decoding stdout/stderr in InteractiveConsole
- fix backend output not shown in logs when running from a frozen application
- fix mode enabled on install even if enabled was set to False in the constructor
- fix extra selection spanning over multiple lines when user inserts a line breaks (CheckerMode)
- restore case insensitive code completion by default which was causing some major issues in OpenCobolIDE
- fix ImportError when looking for a pygments lexer (and the application has been freezed without all possible
pygments lexers)

2.8.0

-----

New features:

- new pyqode package: pyqode.rst (ReStructuredText)
- enable case sensitive code completion by default
- add a new widget: HtmlPreviewWidget. This widget display the preview of an
editor that implement the ``to_html`` method. (use for the new pyqode
package: pyqode.rst)
- enable code completion in strings (it's up to the cc engine to treat them
differently)
- SplittableCodeEditTabWidget: add a way to repen recently closed tabs
- CI improvements: tests are now running with both PyQt4 and PyQt5 on Travis CI

Fixed bugs:

- fix PYGMENTS_STYLES not including our own styles if pyqode not in standard path (OCIDE now bundles pyqode)
- fix wrong modifiers used for indent/unindent: Ctrl+Tab and Ctrl+Shift+Tab can
now be used to cycle through the tabs of a QTabWidget
- fix AttributeError in FSTreeView: msg box does not have an error method,
use critical instead
- fix unable to create directories/files that starts with '.' in FSTreeView (hidden on linux)
- fix AttributeError in splittable tab widget if editor widget is not a CodeEdit
- fix AttributeError: 'NoneType' object has no attribute 'state' in InteractiveConsole
- fix some segmentation faults when using PyQt4
- fix highlighting not working in split editor if original editor has been
closed.
- fix a memory leak in the backend manager
- fix unreadable search occurences if foreground color is white (dark themes)
- fix wrong tag color in QtStyle pygments style
- fix AttributeError: 'NoneType' object has no attribute '_port' in BackendManager

2.7.0

-----

New features:

- Add a panel to indicate when a file is read-only. The panel will disappear
as soon as the file becomes writeable.
- Add a new mode that remember the cursor history (you can go back and go
forward the cursor history by using Ctrl+Alt+Z and Ctrl+AltY)
- Add a new mode that can highlight a specific line of code (could be used
in a debugger plugin to indicate the line where the debugger has been
stopped...)
- SplittableTabWidget: add "Detach tab" option in the context menu.
- SplittableTabWidget: add a signal for when the editor has been created
but the file has not been loaded yet
- SplittableTabWidget: add a signal for when the editor has been created
and the file has been loaded
- SplittableTabWidget: add a signal for when the editor content has been
saved to disk
- Improve MarkerPanel to be used for a breakpoints panel: add
edit_marker_requested signal and improve internals
- InteractiveConsole: add the SearchPanel to the console so that you
can easily search for a word in the process' output
- FileSystemTreeView: add ability to set a custom file explorer command
- CodeEdit: Reoganisation of the context menu. By default all new actions
(that are not part of QPlainTextEdit) will go to an 'Advanced' sub-menu.
You can also specify a custom sub-menu name or None. All languages
specific extensions (pyqode.python,...) will use a menu with the name
of the language (e.g. Python->Goto definition,
COBOL->Compute field offsets, ...)
- CodeCompletionMode: add support for MatchContains if using PyQt5
- pyqode.core.share.Definition: add path attribute
- Backend: add a heartbeat signal. If no signal was received for
a certain duration, the backend process will exit. This fix an issue
where the backend process were still running as zombies when the parent
crashed.
- SearchPanel: allow to search backward with Shift+Enter when the focus is
in the search box
- SearchPanel: add ability to search in the selected text only.
- The document outline tree widget is now able to sync with the editor
- Add two new logging levels: 1 = debug communication, 5 = internal debugging

Fixed bugs:

- CodeEdit: Fix panel margins not refreshed if panel.setVisible has been called
before the editor is visible.
- SplittableTabWidget: Fix save as not working anymore
- InteractiveConsole: make console read only when process has finished.
- DarculaStyle: fix diff tokens color
- Fix a few TypeError with PyQt 5.5.x
- Fix laggy SearchPanel panel if use enter a space character.
- Fix an encoding issue on Windows in the client-process communication
- ErrorTable: Fix newlines not visible in details dialog.
- Fix many potential memory leaks by breaking the circular dependencies
correctly before removing a mode/panel
- Improve Cache.get_encoding: it will try all preferred encoding if the file
is not in the cache before giving up.
- SplittableTabWidget: Normalize case of input file paths when looking if The
file is already open. Since Windows is not case sensitive, the file might be
already opened but with a different case...
- TextBlockHelper: fix TypeError on some 32 bits systems with old Qt5 libraries

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.