Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save file: permission denied - Relaunch elevated, keeping changes via temp. buffer file #73

Merged
merged 16 commits into from
Sep 2, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
95 changes: 95 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
# Notes:
# - Minimal appveyor.yml file is an empty file. All sections are optional.
# - Indent each level of configuration with 2 spaces. Do not use tabs!
# - All section names are case-sensitive.
# - Section names should be unique on each level.

#---------------------------------#
# general configuration #
#---------------------------------#

# version format
version: 2.0.2.{build}

# you can use {branch} name in version format too
# version: 1.0.{build}-{branch}

# branches to build
branches:
# whitelist
only:
- master

# blacklist
except:
- gh-pages

# Do not build on tags (GitHub only)
skip_tags: true

#---------------------------------#
# environment configuration #
#---------------------------------#

# Operating system (build VM template)
os: Windows Server 2012

image:
- Visual Studio 2017
# - Visual Studio 2015

# scripts that are called at very beginning, before repo cloning
init:
- git config --global core.autocrlf input

#---------------------------------#
# build configuration #
#---------------------------------#

# build platform, i.e. x86, x64, Any CPU. This setting is optional.
#platform: Any CPU

# to add several platforms to build matrix:
platform:
- Win32
- x64

# build Configuration, i.e. Debug, Release, etc.
#configuration: Release

# to add several configurations to build matrix:
configuration:
- Release
# - Debug

build:
project: Notepad3.sln
parallel: true
verbosity: minimal
test: off

# Artifact paths are relative to C:\projects\notepad2-mod\
artifacts:
- path: bin\**\*.*
# - name: All

matrix:
fast_finish: true

#deploy:
# - provider: S3
# access_key_id: XXXXXXXXXXXXXXXXXXXX
# secret_access_key:
# secure: ---------------------------------------------------------
# region: us-west-2
# bucket: notepad3
# artifact: All
# set_public: true
# encrypt: true
#notifications:
#- provider: Email
# to:
# - [email protected]
# on_build_success: true
# on_build_failure: true
# on_build_status_changed: true
10 changes: 10 additions & 0 deletions crypto/crypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ optionally with master key
see ecryption-doc.txt for details

*/
#if !defined(WINVER)
#define WINVER 0x601 /*_WIN32_WINNT_WIN7*/
#endif
#if !defined(_WIN32_WINNT)
#define _WIN32_WINNT 0x601 /*_WIN32_WINNT_WIN7*/
#endif
#if !defined(NTDDI_VERSION)
#define NTDDI_VERSION 0x06010000 /*NTDDI_WIN7*/
#endif
#define VC_EXTRALEAN 1
#include <windows.h>
#include <intsafe.h>
#include <time.h>
Expand Down
11 changes: 11 additions & 0 deletions crypto/rijndael-api-fst.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@
have been tweaked for compatibility with the local environment.

*/
#if !defined(WINVER)
#define WINVER 0x601 /*_WIN32_WINNT_WIN7*/
#endif
#if !defined(_WIN32_WINNT)
#define _WIN32_WINNT 0x601 /*_WIN32_WINNT_WIN7*/
#endif
#if !defined(NTDDI_VERSION)
#define NTDDI_VERSION 0x06010000 /*NTDDI_WIN7*/
#endif
#define VC_EXTRALEAN 1
#define WIN32_LEAN_AND_MEAN 1
#include <windows.h>
//#include "helpers.h"
//#include "appreg.h"
Expand Down
Loading