Skip to content

Commit ca4202a

Browse files
committed
Final things for release of v1.4.0
1 parent 6502ad5 commit ca4202a

File tree

6 files changed

+27
-13
lines changed

6 files changed

+27
-13
lines changed

DlgAbout.cpp

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/////////////////////////////////////////////////////////////////////////////
22
// //
33
// NppSnippets - Code Snippets plugin for Notepad++ //
4-
// Copyright (C) 2010-2013 Frank Fesevur //
4+
// Copyright (C) 2010-2017 Frank Fesevur //
55
// //
66
// This program is free software; you can redistribute it and/or modify //
77
// it under the terms of the GNU General Public License as published by //
@@ -38,10 +38,11 @@ struct VersionInfo
3838
const WCHAR* text;
3939
};
4040

41-
#define MAX_VERSION_INFO 11
41+
#define MAX_VERSION_INFO 12
4242

4343
static VersionInfo s_info[MAX_VERSION_INFO] =
4444
{
45+
{ {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" },
4546
{ {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" },
4647
{ {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" },
4748
{ {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" },

Version.h

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/////////////////////////////////////////////////////////////////////////////
22
// //
33
// NppSnippets - Code Snippets plugin for Notepad++ //
4-
// Copyright (C) 2010-2013 Frank Fesevur //
4+
// Copyright (C) 2010-2017 Frank Fesevur //
55
// //
66
// This program is free software; you can redistribute it and/or modify //
77
// it under the terms of the GNU General Public License as published by //
@@ -21,10 +21,10 @@
2121

2222
#pragma once
2323

24-
#define VERSION_NUMBER 1,3,0,0
25-
#define VERSION_NUMBER_STR "1.3.0"
26-
#define VERSION_NUMBER_WSTR L"1.3.0"
27-
#define COPYRIGHT_STR "Copyright 2010-2013 by Frank Fesevur"
24+
#define VERSION_NUMBER 1,4,0,0
25+
#define VERSION_NUMBER_STR "1.4.0"
26+
#define VERSION_NUMBER_WSTR L"1.4.0"
27+
#define COPYRIGHT_STR "Copyright 2010-2017 by Frank Fesevur"
2828

2929
#include "version_git.h"
3030

docs/conf.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@
4747

4848
# General information about the project.
4949
project = 'NppSnippets'
50-
copyright = '2010-2015, Frank Fesevur'
50+
copyright = '2010-2017, Frank Fesevur'
5151

5252
# The version info for the project you're documenting, acts as replacement for
5353
# |version| and |release|, also used in various other places throughout the
5454
# built documents.
5555
#
5656
# The short X.Y version.
57-
version = '1.3.0'
57+
version = '1.4.0'
5858
# The full version, including alpha/beta/rc tags.
59-
release = '1.3.0'
59+
release = '1.4.0'
6060

6161
# The language for content autogenerated by Sphinx. Refer to documentation
6262
# for a list of supported languages.

docs/history.rst

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
Release history
22
===============
33

4-
Version 1.4.0 (Yet To Be Released)
5-
----------------------------------
4+
Version `1.4.0`_ (24 May 2017)
5+
------------------------------
66

77
- Provide a 64-bit version of the plug-in.
88

9-
- Added option to export library for easier sharing.
9+
- Added the possibility to :ref:`export a library <import_export_libs>` for easier sharing.
1010

1111
- The color of the plug-in match the current Notepad++ theme.
1212

@@ -23,11 +23,14 @@ Version 1.4.0 (Yet To Be Released)
2323

2424
- Added :ref:`option <options>` ``ToolbarIcon`` to hide the icon from the toolbar.
2525

26+
- Update icon on toolbar. It is now a puzzle piece.
27+
2628
- Fixed issue that sometimes new libraries and/or new snippets could
2729
not be added.
2830

2931
- Upgrade to SQLite version 3.19.0
3032

33+
.. _1.4.0: https://github.com/ffes/nppsnippets/releases/tag/v1.4.0
3134
.. _Read The Docs: http://nppsnippets.readthedocs.io
3235
.. _service has retired: http://google-opensource.blogspot.com/2015/03/farewell-to-google-code.html
3336
.. _GitHub: https://github.com/ffes/nppsnippets

docs/installation.rst

+8
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ directory, but this could result in a read-only database due to file
1919
permissions and/or User Account Control (UAC). Therefore it is advised
2020
to put it in your ``AppData`` directory.
2121

22+
From `issue #9`_:
23+
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).
24+
25+
2226
You can also specify a custom path (like a shared network path or your
2327
Dropbox directory) for your database by manually editing the
2428
``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
3135
template database provided in the archive. If you have not changed
3236
existing snippets or added your own, it is recommended to use the
3337
database in the archive.
38+
39+
40+
.. _issue #9: https://github.com/ffes/nppsnippets/issues/9
41+

docs/libraries.rst

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ To add a lot of snippets, I suggest that you look at the section
1818
data with your favorite SQLite management tool.
1919

2020

21+
.. _import_export_libs:
22+
2123
Importing and exporting libraries
2224
---------------------------------
2325

0 commit comments

Comments
 (0)