Skip to content

Commit

Permalink
Final things for release of v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ffes committed May 24, 2017
1 parent 6502ad5 commit ca4202a
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 13 deletions.
5 changes: 3 additions & 2 deletions DlgAbout.cpp
Original file line number Diff line number Diff line change
@@ -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 //
Expand Down Expand Up @@ -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" },
Expand Down
10 changes: 5 additions & 5 deletions Version.h
Original file line number Diff line number Diff line change
@@ -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 //
Expand All @@ -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"

Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
9 changes: 6 additions & 3 deletions docs/history.rst
Original file line number Diff line number Diff line change
@@ -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 <import_export_libs>` for easier sharing.

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

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

- Added :ref:`option <options>` ``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
Expand Down
8 changes: 8 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

2 changes: 2 additions & 0 deletions docs/libraries.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------------------------------

Expand Down

0 comments on commit ca4202a

Please sign in to comment.