Skip to content

Commit d007434

Browse files
committed
Website updates for v1.0.1
1 parent 56df4a6 commit d007434

File tree

5 files changed

+41
-11
lines changed

5 files changed

+41
-11
lines changed

www/changelog.shtml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,27 @@
11
<!--#include virtual="header.inc" -->
22
<h3>Change log:</h3>
33
<br/>
4+
<b>1.0.1.0</b>
5+
<ul>
6+
<li>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 <strong>much</strong> faster than the old versions, and work reliably.</li>
7+
<li>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</li>
8+
<li>Callbacks for both editor and notepad have had a massive rework, to fix various reliability issues. If you had issues before, try them now.</li>
9+
<li>You can now add a synchronous callback for Editor - see <a href="http://www.brotherstone.co.uk/npp/ps/docs/1.0.1.0/scintilla.html#Editor.callbackSync">editor.callbackSync()</a></li>
10+
<li>GIL (Global Interpreter Lock) management for Python has been significantly improved, and various edge cases that used to crash now work painlessly.</li>
11+
<li>Encoding on the Console is now UTF-8, and printing unicode text to the console works</li>
12+
<li>notepad.setLangType(LANGTYPE) now works</li>
13+
<li>help for editor &amp; notepad methods has been improved to include the parameter names</li>
14+
<li>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)</li>
15+
<li>Scintilla bindings updated to 3.39</li>
16+
<li>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</li>
17+
<li>MODIFICATIONFLAGS enum is now included (use in a handler for SCINTILLANOTIFICATION.MODIFIED, checking args['modificationType']</li>
18+
<li>sys.argv is set</li>
19+
<li>Tcl/Tk now works, and can be installed as an add-on (or with the MSI)</li>
20+
<li>MSI installer to ease installation before Plugin Manager gets the update</li>
21+
<li>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</li>
22+
<li>Lots of little bug fixes that had been reported</li>
23+
</ul>
24+
425
<b>0.9.2.0</b>
526
<br/>
627
<ul>

www/download.shtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ There are different options for downloading.
1414
There's no difference between the zip and the 7zip versions, just that the 7zip versions are smaller.
1515
<br/><br/>
1616
There are two download locations - the primary one is <a href="http://sourceforge.net/projects/npppythonscript/files">here</a>, and the backup is <a href="localdl.shtml">here</a>
17+
h
18+
<h3><a href="http://sourceforge.net/projects/npppythonscript/files/Python%20Script%201.0.1.0/PythonScript_1.0.1.0.msi/download">Download the MSI</a>, or <a href="https://sourceforge.net/projects/npppythonscript/files/">go to the downloads</a> to choose a zipped version</a></h3>
1719

18-
<h3><a href="http://sourceforge.net/projects/npppythonscript/files">Take me to the downloads</a></h3>
1920
<br/>
2021
<br/>
2122

www/header.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
<br/>
3131
<br/>
3232
<br/>
33-
Latest Version: 0.9.2.0
33+
Latest Version: 1.0.1.0
3434
<br/>
3535
<br/>
3636
<br/>
37-
License: <a href="http://www.gnu.org/licenses/gpl-2.0.html">GPL2</a>
37+
License: <a href="http://www.gnu.org/licenses/gpl-3.0.html">GPL3</a>
3838
<br/><br/><br/><br/><br/>
3939
<script type="text/javascript"><!--
4040
google_ad_client = "pub-8311000309957298";

www/index.shtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<li>Python console built-in</li>
1616
<li>Full regular expression support for search and replace - script Python regular expression replaces</li>
1717
<li>Start external programs and pipe the output direct to a Notepad++ document, or filter it, or simply to the console window</li>
18-
<li>Full <a href="/docs/latest/">documentation</a> for all the objects and methods</li>
18+
<li>Full <a href="docs/latest/">documentation</a> for all the objects and methods</li>
1919
</ul>
2020
<br/>
2121

@@ -26,8 +26,8 @@
2626
<span class="sc1"># Simple search / replace</span>
2727
<br/><span class="sc11">editor</span><span class="sc10">.</span><span class="sc11">replace</span><span class="sc10">(</span><span class="sc3">"old"</span><span class="sc10">,</span><span class="sc0"> </span><span class="sc3">"new"</span><span class="sc10">)</span>
2828
<br/>
29-
<br/><span class="sc1"># Python regular expressions search and replace</span>
30-
<br/><span class="sc11">editor</span><span class="sc10">.</span><span class="sc11">pyreplace</span><span class="sc10">(</span><span class="sc3">r"^([A-Z]{3,5})--\1"</span><span class="sc10">,</span><span class="sc0"> </span><span class="sc3">r"CODE: \1"</span><span class="sc10">)</span>
29+
<br/><span class="sc1"># Regular expressions search and replace</span>
30+
<br/><span class="sc11">editor</span><span class="sc10">.</span><span class="sc11">rereplace</span><span class="sc10">(</span><span class="sc3">r"^([A-Z]{3,5})--\1"</span><span class="sc10">,</span><span class="sc0"> </span><span class="sc3">r"CODE: \1"</span><span class="sc10">)</span>
3131
<br/>
3232
<br/><span class="sc1"># Call a Scintilla function</span>
3333
<br/><span class="sc11">editor</span><span class="sc10">.</span><span class="sc11">appendText</span><span class="sc10">(</span><span class="sc3">"Changed codes\r\n"</span><span class="sc10">);</span>

www/localdl.shtml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
<!--#include virtual="header.inc" -->
22

33
<h3>Local Download</h3>
4-
Here are the local server links if you can't get to <a href="http://sourceforge.net/projects/npppythonscript/files">the main one at sourceforge</a>.
5-
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_full_0.9.2.0.7z">Python Script 0.9.2.0 FULL 7zip version (5MB)</a>
6-
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_full_0.9.2.0.zip">Python Script 0.9.2.0 FULL zip version (7.8MB)</a>
7-
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_min_0.9.2.0.7z">Python Script 0.9.2.0 MINIMUM 7zip version (1.9MB)</a>
8-
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_min_0.9.2.0.zip">Python Script 0.9.2.0 MINIMUM zip version (2.8MB)</a>
4+
Here are the local server links if you can't get to <a href="http://sourceforge.net/projects/npppythonscript/files">the main one at sourceforge</a>.
5+
Please use the sourceforge link if you can - I have limited bandwidth limits.
6+
<br/><br/><br/>
7+
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_1.0.1.0.msi">Python Script 1.0.1.0 Installer (includes all extra files) (11MB)</a>
8+
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_Full_1.0.1.0.7z">Python Script 1.0.1.0 FULL 7zip version (3.3MB)</a>
9+
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_Full_1.0.1.0.zip">Python Script 1.0.1.0 FULL zip version (5MB)</a>
10+
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_Min_1.0.1.0.7z">Python Script 1.0.1.0 MINIMUM 7zip version (2.3MB)</a>
11+
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_Min_1.0.1.0.zip">Python Script 1.0.1.0 MINIMUM zip version (3.2MB)</a>
912

13+
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_ExtraLibs_1.0.1.0.7z">Extra libraries 7z(900KB)</a>
14+
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_ExtraLibs_1.0.1.0.zip">Extra libraries zip(1.2MB)</a>
15+
16+
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_TclTk_1.0.1.0.7z">Tcl/Tk libraries 7z(1.7MB)</a>
17+
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_TclTk_1.0.1.0.zip">Tcl/Tk libraries zip(4.6MB)</a>
1018

1119
<!--#include virtual="footer.inc" -->

0 commit comments

Comments
 (0)