Skip to content

Commit

Permalink
Website updates for v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bruderstein committed Mar 23, 2014
1 parent 56df4a6 commit d007434
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 11 deletions.
21 changes: 21 additions & 0 deletions www/changelog.shtml
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
<!--#include virtual="header.inc" -->
<h3>Change log:</h3>
<br/>
<b>1.0.1.0</b>
<ul>
<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>
<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>
<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>
<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>
<li>GIL (Global Interpreter Lock) management for Python has been significantly improved, and various edge cases that used to crash now work painlessly.</li>
<li>Encoding on the Console is now UTF-8, and printing unicode text to the console works</li>
<li>notepad.setLangType(LANGTYPE) now works</li>
<li>help for editor &amp; notepad methods has been improved to include the parameter names</li>
<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>
<li>Scintilla bindings updated to 3.39</li>
<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>
<li>MODIFICATIONFLAGS enum is now included (use in a handler for SCINTILLANOTIFICATION.MODIFIED, checking args['modificationType']</li>
<li>sys.argv is set</li>
<li>Tcl/Tk now works, and can be installed as an add-on (or with the MSI)</li>
<li>MSI installer to ease installation before Plugin Manager gets the update</li>
<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>
<li>Lots of little bug fixes that had been reported</li>
</ul>

<b>0.9.2.0</b>
<br/>
<ul>
Expand Down
3 changes: 2 additions & 1 deletion www/download.shtml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ There are different options for downloading.
There's no difference between the zip and the 7zip versions, just that the 7zip versions are smaller.
<br/><br/>
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>
h
<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>

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

Expand Down
4 changes: 2 additions & 2 deletions www/header.inc
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
<br/>
<br/>
<br/>
Latest Version: 0.9.2.0
Latest Version: 1.0.1.0
<br/>
<br/>
<br/>
License: <a href="http://www.gnu.org/licenses/gpl-2.0.html">GPL2</a>
License: <a href="http://www.gnu.org/licenses/gpl-3.0.html">GPL3</a>
<br/><br/><br/><br/><br/>
<script type="text/javascript"><!--
google_ad_client = "pub-8311000309957298";
Expand Down
6 changes: 3 additions & 3 deletions www/index.shtml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<li>Python console built-in</li>
<li>Full regular expression support for search and replace - script Python regular expression replaces</li>
<li>Start external programs and pipe the output direct to a Notepad++ document, or filter it, or simply to the console window</li>
<li>Full <a href="/docs/latest/">documentation</a> for all the objects and methods</li>
<li>Full <a href="docs/latest/">documentation</a> for all the objects and methods</li>
</ul>
<br/>

Expand All @@ -26,8 +26,8 @@
<span class="sc1"># Simple search / replace</span>
<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>
<br/>
<br/><span class="sc1"># Python regular expressions search and replace</span>
<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>
<br/><span class="sc1"># Regular expressions search and replace</span>
<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>
<br/>
<br/><span class="sc1"># Call a Scintilla function</span>
<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>
Expand Down
18 changes: 13 additions & 5 deletions www/localdl.shtml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
<!--#include virtual="header.inc" -->

<h3>Local Download</h3>
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>.
<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>
<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>
<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>
<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>
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>.
Please use the sourceforge link if you can - I have limited bandwidth limits.
<br/><br/><br/>
<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>
<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>
<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>
<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>
<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>

<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_ExtraLibs_1.0.1.0.7z">Extra libraries 7z(900KB)</a>
<br/><a href="http://www.brotherstone.co.uk/npp/ps/downloads/PythonScript_ExtraLibs_1.0.1.0.zip">Extra libraries zip(1.2MB)</a>

<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>
<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>

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

0 comments on commit d007434

Please sign in to comment.