From 748dc36cacc754265859e19d387bc0eb2671fea7 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Sat, 24 Jun 2017 00:17:40 +0800 Subject: [PATCH] release v1.6 --- .linux_bintray.json | 6 +++--- .macos_bintray.json | 6 +++--- .travis.yml | 2 +- README.md | 4 ++-- appveyor.yml | 6 +++--- changes.md | 14 ++++++++++++++ src/vconfigmanager.cpp | 2 +- src/vmainwindow.cpp | 2 +- 8 files changed, 28 insertions(+), 14 deletions(-) diff --git a/.linux_bintray.json b/.linux_bintray.json index 47cabe0a..6088f09c 100644 --- a/.linux_bintray.json +++ b/.linux_bintray.json @@ -16,10 +16,10 @@ }, "version": { - "name": "1.5", + "name": "1.6", "desc": "VNote Releases", - "released": "2017-05-25", - "vcs_tag": "1.5", + "released": "2017-06-24", + "vcs_tag": "1.6", "gpgSign": false }, diff --git a/.macos_bintray.json b/.macos_bintray.json index 2a15bba7..26dd0d23 100644 --- a/.macos_bintray.json +++ b/.macos_bintray.json @@ -16,10 +16,10 @@ }, "version": { - "name": "1.5", + "name": "1.6", "desc": "VNote Releases", - "released": "2017-05-25", - "vcs_tag": "1.5", + "released": "2017-06-24", + "vcs_tag": "1.6", "gpgSign": false }, diff --git a/.travis.yml b/.travis.yml index 6b5a47f9..cedd9731 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,7 @@ branches: before_install: - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test; fi - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then sudo apt-get -qq update ; fi -- export version="1.5" +- export version="1.6" install: - if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then sudo -E apt-get -yq --no-install-suggests --no-install-recommends --force-yes install p7zip-full ; fi diff --git a/README.md b/README.md index 31fdf89b..b97b1a6c 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ ![Windows Build Status](https://ci.appveyor.com/api/projects/status/github/tamlok/vnote?svg=true) - [Github Releases](https://github.com/tamlok/vnote/releases) -- [Latest Builds](https://bintray.com/tamlok/vnote/vnote/view/files) +- Latest Builds: [ ![Download](https://api.bintray.com/packages/tamlok/vnote/vnote/images/download.svg) ](https://bintray.com/tamlok/vnote/vnote/_latestVersion) ## Linux [![Build Status](https://travis-ci.org/tamlok/vnote.svg?branch=master)](https://travis-ci.org/tamlok/vnote) @@ -56,7 +56,7 @@ [![Build Status](https://travis-ci.org/tamlok/vnote.svg?branch=master)](https://travis-ci.org/tamlok/vnote) - [Github Releases](https://github.com/tamlok/vnote/releases) -- [Latest Builds](https://bintray.com/tamlok/vnote/vnote/view/files) +- Latest Builds: [ ![Download](https://api.bintray.com/packages/tamlok/vnote/vnote/images/download.svg) ](https://bintray.com/tamlok/vnote/vnote/_latestVersion) # Description (简介) **VNote** is a Qt-based, free and open source note-taking application, focusing on Markdown. VNote is designed to provide comfortable edit experience. diff --git a/appveyor.yml b/appveyor.yml index 031283d5..232c6986 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,6 +1,6 @@ image: Visual Studio 2015 -version: 1.5.{build} +version: 1.6.{build} branches: only: @@ -38,7 +38,7 @@ build_script: # scripts that run after build after_build: - - set vnote_version=1.5 + - set vnote_version=1.6 # Clone OpenSSL DLLs - git clone https://github.com/tamlok/openssl-utils.git openssl-utils.git - mkdir distrib\VNote @@ -66,6 +66,6 @@ deploy: subject: tamlok repo: vnote package: vnote - version: 1.5 + version: 1.6 publish: true override: true diff --git a/changes.md b/changes.md index 0f190247..3278eef6 100644 --- a/changes.md +++ b/changes.md @@ -1,4 +1,18 @@ # Changes History +## v1.6 +- Support simple but powerful **Vim mode**. +- Change the shortcut of ExitAndRead from `Ctrl+R` to `Ctrl+T`. +- Add a edit status indicator in the status bar. +- Dragging mouse with Ctrl and left button pressed to scroll in read and edit mode. +- Refine highlighting cursor line. +- Support subscript, superscript and footnote in markdown-it renderer. +- Refactor outline logics to not show extra [EMPTY] headers. +- Handle HTML comments correctly. +- Provide a default root folder when adding notebooks. +- Support check for updates. +- Redraw app icons. +- Many minor bug fixes. + ## v1.5 - Support logging in release mode. - Fix Chinese font matching in mdhl. diff --git a/src/vconfigmanager.cpp b/src/vconfigmanager.cpp index ee186d80..bfcdeee5 100644 --- a/src/vconfigmanager.cpp +++ b/src/vconfigmanager.cpp @@ -13,7 +13,7 @@ const QString VConfigManager::orgName = QString("vnote"); const QString VConfigManager::appName = QString("vnote"); -const QString VConfigManager::c_version = QString("1.5"); +const QString VConfigManager::c_version = QString("1.6"); const QString VConfigManager::c_obsoleteDirConfigFile = QString(".vnote.json"); const QString VConfigManager::c_dirConfigFile = QString("_vnote.json"); const QString VConfigManager::defaultConfigFilePath = QString(":/resources/vnote.ini"); diff --git a/src/vmainwindow.cpp b/src/vmainwindow.cpp index b046bf13..4005e8a4 100644 --- a/src/vmainwindow.cpp +++ b/src/vmainwindow.cpp @@ -1562,7 +1562,7 @@ void VMainWindow::updateStatusInfo(const VEditTabInfo &p_info) void VMainWindow::handleVimStatusUpdated(const VVim *p_vim) { - if (!p_vim || !m_curTab) { + if (!p_vim || !m_curTab || !m_curTab->isEditMode()) { m_vimIndicator->hide(); } else { m_vimIndicator->update(p_vim);