Skip to content

Releases: bruderstein/PythonScript

v1.1.0

27 May 16:06
Compare
Choose a tag to compare
  • further adaptations for x64 build
  • add editor.flash() #52
  • console GIL fixes #51
  • Npp754 #50
  • unicode script filenames, see #20 #60
  • provides feature request 56 functionality #62
  • provides feature request 57 functionality #65
  • Documentation: replace "Notepad" and "Editor" with "notepad" and "editor" #59
  • used plain python 2.7.15, without the modifications from fork https://github.com/bruderstein/python, reintroducing dependency to MSVCR90.dll

v1.0.9

17 Apr 16:20
Compare
Choose a tag to compare
  • adaptations for x64 build
  • sync with N++ interface files 7.5.4
  • updated scintilla interface to the one used for 7.5.4 which is version 3.5.6 + small fixes + wrapper generation corrections, updates (thanks to @ClaudiaFrank)
  • reduced compiler warnings
  • used plain python 2.7.14, without the modifications from fork https://github.com/bruderstein/python, reintroducing dependency to MSVCR90.dll

v1.0.8

14 Apr 12:18
Compare
Choose a tag to compare
  • Fix for odd deadlock issues. GIL is now always given up when calling Notepad++ or Scintilla functions
  • Performance optimisation for notifications where there are no callbacks registered

v1.0.7

14 Apr 12:33
Compare
Choose a tag to compare
  • Fix for replacing with extended Unicode characters with editor.rereplace() (thanks to David Instone-Brewer for reporting)
  • Several freeze issues corrected (thanks to skrell and Juergen Busch for reporting)

v1.0.6

14 Apr 12:36
Compare
Choose a tag to compare
  • Arguments for various events fixed (thanks to everyone that reported the various missing arguments)
  • editor.deleteLine() works as expected on first and last lines
  • Various small documentation fixes

v1.0.5

14 Apr 12:36
Compare
Choose a tag to compare
  • Fixed crash bug with notepad.prompt(). Thanks to Dieter Koessl for reporting

v1.0.4

14 Apr 12:37
Compare
Choose a tag to compare
  • Fixed issue in Python with complex numbers (abs, hypot would never return). Thanks to Ron Jenson for reporting
  • Note this release contains an updated python27.dll, and updated modules. Python reports version "2.7.6-notepad++ r2", and sys.version_info reports a serial version 2, instead of 0 as the previous version.
    If the official python ever releases a minor fix of 2.7.6 (unlikely now), please note this python27.dll is actually a modified 2.7.6.0, and does not contain fixes in any future releases of Python 2.7.6.
    If you're updating manually (without the MSI or Plugin Manager), then it is strongly advised to update the libs, so all .pyd files

v1.0.3

14 Apr 12:38
Compare
Choose a tag to compare
  • Fixed crash bug with Notepad.runPluginCommand(). Thanks to Kyrus86 and Ron Jenson for reporting

v1.0.2: Version 1.0.2.0

14 Apr 12:39
Compare
Choose a tag to compare
  • Fixed bug with Editor.rereplace that stopped conditional replacements working (thanks to Cyrillev for reporting)

v1.0.1

14 Apr 12:40
Compare
Choose a tag to compare
  • Editor.pyreplace and similar methods (Editor.pysearch, Editor.pymlreplace) have been rewritten from the ground up. Editor.replace(), Editor.rereplace(), Editor.search() and the unfortunately named Editor.research() (R(egular)E(xpression)Search) methods replace the old functions completely. You can now use a function for the replace argument for editor.replace() and editor.rereplace(). The new functions are much faster than the old versions, and work reliably.
  • The new replace functionality now supports Unicode, and converts appropriately for the active document - you can now pass a unicode string as your search or replace argument, and it will be converted depending on the current document's encoding
  • Callbacks for both editor and notepad have had a massive rework, to fix various reliability issues. If you had issues before, try them now.
  • You can now add a synchronous callback for Editor - see editor.callbackSync()
  • GIL (Global Interpreter Lock) management for Python has been significantly improved, and various edge cases that used to crash now work painlessly.
  • Encoding on the Console is now UTF-8, and printing unicode text to the console works
  • notepad.setLangType(LANGTYPE) now works
  • help for editor & notepad methods has been improved to include the parameter names
  • notepad.runMenuCommand fixed to not ignore the menu name (if you have a user defined language called "Open", the File->Open would previously always be called as it was found first)
  • Scintilla bindings updated to 3.39
  • sys.path now has the Notepad++ PythonScript Lib paths prepended, instead of appended. This fixes various cases of things not working when Python is separately installed. An option has been added to the configuration dialog to put back the old behaviour
  • MODIFICATIONFLAGS enum is now included (use in a handler for SCINTILLANOTIFICATION.MODIFIED, checking args['modificationType']
  • sys.argv is set
  • Tcl/Tk now works, and can be installed as an add-on (or with the MSI)
  • MSI installer to ease installation before Plugin Manager gets the update
  • Unit tests have been added for all the major features, and every combination of arguments for the generated code. There's still work to do, but it's infinitely better than before
  • Lots of little bug fixes that had been reported