diff --git a/DlgAbout.cpp b/DlgAbout.cpp index 667cd75..e28a992 100755 --- a/DlgAbout.cpp +++ b/DlgAbout.cpp @@ -1,7 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// // // // NppSnippets - Code Snippets plugin for Notepad++ // -// Copyright (C) 2010-2013 Frank Fesevur // +// Copyright (C) 2010-2017 Frank Fesevur // // // // This program is free software; you can redistribute it and/or modify // // it under the terms of the GNU General Public License as published by // @@ -38,10 +38,11 @@ struct VersionInfo const WCHAR* text; }; -#define MAX_VERSION_INFO 11 +#define MAX_VERSION_INFO 12 static VersionInfo s_info[MAX_VERSION_INFO] = { + { {1,4,0,0}, {2017, 5,24}, L"- Provide a 64-bit version of the plug-in\n- Added option to export library for easier sharing.\n- The color of the plug-in match the current Notepad++ theme.\n- Converted the documentation from DocBook to reStructuredText. The documentation is now hosted at Read The Docs.\n- Fixed bug #6 at Google Code and its GitHub duplicate issue #8. When a snippet had an empty first line it could not be saved.\n- Removed all references to Google Code because that service has retired. All things that were still on Google Code have been moved to GitHub.\n- Internally use my SqliteDB-class to communicate with the database.\n- Added option ToolbarIcon to hide the icon from the toolbar.\n- Fixed issue that sometimes new libraries and/or new snippets could not be added.\n- Upgrade to SQLite version 3.19.0" }, { {1,3,0,0}, {2013, 6,30}, L"- Fixed problem with inserting UTF snippets.\n- Fixed wrong title of Import Library dialog.\n- Fixed some potential bugs found when trying to fix GCC compilation.\n- Converted the documentation from ODT to DocBook.\n- Upgrade to SQLite version 3.7.17" }, { {1,2,0,0}, {2013, 1, 8}, L"- There was an inconsistency between the documentation and code about the name of the option to specify your custom path for the database. Use DBFile from now on. For backwards compatibility the DBPath entry will still be recognized.\n- When a snippets creates a new document and the current document is empty, it reuses the current one and does not start a new.\n- Added Duplicate snippet function to context menu.\n- New (simple) templates library.\n- Upgrade to SQLite version 3.7.15.1" }, { {1,1,0,0}, {2012, 1, 2}, L"- You can now add a new snippet to a library based upon the current selection or based upon the content of the clipboard.\n- Installation has been improved. A template database is provided and when the plugin tries to find the database and it can't find it, it copies this template database to the AppData plugin-config directory.\n- The About dialog now shows the changelog.\n- When you upgrade the very first time the changelog for the current version will be shown.\n- When you didn't select a specific library for a certain language, the automatic selection of the library is improved. The first language specific library is preferred over the first general library.\n- Resized the edit snippet dialog.\n- Upgrade to SQLite version 3.7.9" }, diff --git a/Version.h b/Version.h index d4c51e3..b728ec8 100755 --- a/Version.h +++ b/Version.h @@ -1,7 +1,7 @@ ///////////////////////////////////////////////////////////////////////////// // // // NppSnippets - Code Snippets plugin for Notepad++ // -// Copyright (C) 2010-2013 Frank Fesevur // +// Copyright (C) 2010-2017 Frank Fesevur // // // // This program is free software; you can redistribute it and/or modify // // it under the terms of the GNU General Public License as published by // @@ -21,10 +21,10 @@ #pragma once -#define VERSION_NUMBER 1,3,0,0 -#define VERSION_NUMBER_STR "1.3.0" -#define VERSION_NUMBER_WSTR L"1.3.0" -#define COPYRIGHT_STR "Copyright 2010-2013 by Frank Fesevur" +#define VERSION_NUMBER 1,4,0,0 +#define VERSION_NUMBER_STR "1.4.0" +#define VERSION_NUMBER_WSTR L"1.4.0" +#define COPYRIGHT_STR "Copyright 2010-2017 by Frank Fesevur" #include "version_git.h" diff --git a/docs/conf.py b/docs/conf.py index 9ee3a4e..2f2b912 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -47,16 +47,16 @@ # General information about the project. project = 'NppSnippets' -copyright = '2010-2015, Frank Fesevur' +copyright = '2010-2017, Frank Fesevur' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '1.3.0' +version = '1.4.0' # The full version, including alpha/beta/rc tags. -release = '1.3.0' +release = '1.4.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/history.rst b/docs/history.rst index 6e5b8dc..9d2bba0 100644 --- a/docs/history.rst +++ b/docs/history.rst @@ -1,12 +1,12 @@ Release history =============== -Version 1.4.0 (Yet To Be Released) ----------------------------------- +Version `1.4.0`_ (24 May 2017) +------------------------------ - Provide a 64-bit version of the plug-in. -- Added option to export library for easier sharing. +- Added the possibility to :ref:`export a library ` for easier sharing. - The color of the plug-in match the current Notepad++ theme. @@ -23,11 +23,14 @@ Version 1.4.0 (Yet To Be Released) - Added :ref:`option ` ``ToolbarIcon`` to hide the icon from the toolbar. +- Update icon on toolbar. It is now a puzzle piece. + - Fixed issue that sometimes new libraries and/or new snippets could not be added. - Upgrade to SQLite version 3.19.0 +.. _1.4.0: https://github.com/ffes/nppsnippets/releases/tag/v1.4.0 .. _Read The Docs: http://nppsnippets.readthedocs.io .. _service has retired: http://google-opensource.blogspot.com/2015/03/farewell-to-google-code.html .. _GitHub: https://github.com/ffes/nppsnippets diff --git a/docs/installation.rst b/docs/installation.rst index abca38e..3926fe8 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -19,6 +19,10 @@ directory, but this could result in a read-only database due to file permissions and/or User Account Control (UAC). Therefore it is advised to put it in your ``AppData`` directory. + From `issue #9`_: + I noticed when I change files with different languages of my progect it takes 2-3 seconds delay when plugin load snippets for this language (for example HTML to PHP). + + You can also specify a custom path (like a shared network path or your Dropbox directory) for your database by manually editing the ``NppSnippets.ini`` file and adding a ``DBFile`` entry pointing to the @@ -31,3 +35,7 @@ existing dll. It is up to you if you override your own database with the template database provided in the archive. If you have not changed existing snippets or added your own, it is recommended to use the database in the archive. + + +.. _issue #9: https://github.com/ffes/nppsnippets/issues/9 + diff --git a/docs/libraries.rst b/docs/libraries.rst index 11c59ed..d583a5b 100644 --- a/docs/libraries.rst +++ b/docs/libraries.rst @@ -18,6 +18,8 @@ To add a lot of snippets, I suggest that you look at the section data with your favorite SQLite management tool. +.. _import_export_libs: + Importing and exporting libraries ---------------------------------