浏览代码

release v1.6

Le Tan 8 年之前
父节点
当前提交
748dc36cac
共有 8 个文件被更改,包括 28 次插入14 次删除
  1. 3 3
      .linux_bintray.json
  2. 3 3
      .macos_bintray.json
  3. 1 1
      .travis.yml
  4. 2 2
      README.md
  5. 3 3
      appveyor.yml
  6. 14 0
      changes.md
  7. 1 1
      src/vconfigmanager.cpp
  8. 1 1
      src/vmainwindow.cpp

+ 3 - 3
.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
     },
 

+ 3 - 3
.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
     },
 

+ 1 - 1
.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

+ 2 - 2
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.

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

+ 14 - 0
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.

+ 1 - 1
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");

+ 1 - 1
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);