Skip to content

Commit

Permalink
Release - 1.4.0.1000
Browse files Browse the repository at this point in the history
  • Loading branch information
Liryna committed Jun 1, 2020
1 parent e29a510 commit 6ae6188
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 35 deletions.
33 changes: 23 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,34 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased] - 1.3.2.1000
## [1.4.0.1000] - 2020-01-06
### Added
- Kernel - Add `DokanAllocZero` that Alloc and ZeroMemory buffer size requested sys - Rename `ExAllocatePool` to `DokanAlloc`
- Kernel - Add Input IRP Buffer Help macro
- Kernel - Use `GET_IRP` for `Type3InputBuffer` and start using Output buffer function helpers for IRP
- FUSE - Add mount manager option
- MemFS - Add a new FS sample project: dokan_memfs. MemFS is a better example to debug and know the dokan driver/library feature supported and NTFS compliant. The FS pass most of WinFSTest and IFSTest. It looks to be stable enough to be included in the installer. It hasn't been test with real usage but it is expected to run without issue. MemFS is written in c++ and is under MIT license.
- Installer - You can now find two installers with binaries built with and without VC redistributable. If no issue is reported, the next release will only have without the VC redistributable.
- Kernel - Support directory path mount with mount manager.
- Kernel - Add `DokanAllocZero` that Alloc and ZeroMemory buffer size requested sys - Rename `ExAllocatePool` to `DokanAlloc`.
- Kernel - Add Input IRP Buffer Help macro.
- Kernel - Use `GET_IRP` for `Type3InputBuffer` and start using Output buffer function helpers for IRP.
- FUSE - Add mount manager option.

### Changed
- Kernel - Do not rethrow exception during `EXCEPTION_EXECUTE_HANDLER`
- Kernel - During EventRelease directly call `FsRtlNotifyCleanupAll` instead of going through all Fcb & Ccb
- Library - Add support for compiling with GCC
- Kernel - Replace `DOKAN_OPTION_OPTIMIZE_SINGLE_NAME_SEARCH` by `DOKAN_OPTION_ENABLE_FCB_GARBAGE_COLLECTION`. The advantage of the GC approach is that it prevents filter drivers from exponentially slowing down procedures like zip file extraction due to repeatedly rebuilding state that they attach to the FCB header.
- Kernel - Multiple code refactoring.
- Kernel - Move and Improve `FixFileNameForReparseMountPoint`.
- Kernel - `FileNetworkPhysicalNameInformation` now return directly the FileName instead of sending the request to userland.
- Kernel - `FileAllocationInformation` - return `STATUS_USER_MAPPED`_FILE when trying to truncate a memory mapped file.
- Kernel - Do not rethrow exception during `EXCEPTION_EXECUTE_HANDLER`.
- Kernel - During EventRelease directly call `FsRtlNotifyCleanupAll` instead of going through all Fcb & Ccb.
- Kernel - Change `DokanPrintNTStatus` with limited number of `NTSTATUS` values print to use `DokanGetNTSTATUSStr`. `DokanGetNTSTATUSStr` use `ntstatus_log.inc` that has all ntstatus from <ntstatus.h>.
- Library - Add support for compiling with GCC.
- Library - Move `DokanRemoveMountPointEx` to internal header as it is not available to the public API.

### Fixed
- FUSE - Read keep local filename instance
- Installer - Fix incorrect pdb file copied for driver
- FUSE - Read keep local filename instance.
- Installer - Fix incorrect pdb file copied for driver.
- Library - `DokanNetworkProviderInstall` return earlier if a Reg failure happens and not corrupt the registry.
- Kernel - Catch `FsRtlNotifyFullReportChange` `STATUS_ACCESS_VIOLATION` exception.
- Library - Correct newName format when a stream name is renamed.

## [1.3.1.1000] - 2019-12-16
### Added
Expand Down
2 changes: 1 addition & 1 deletion Dokan.props
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros">
<DOKANAPIVersion>1</DOKANAPIVersion>
<DOKANVersion>1.3.1</DOKANVersion>
<DOKANVersion>1.4.0</DOKANVersion>
</PropertyGroup>
<PropertyGroup />
<ItemDefinitionGroup />
Expand Down
4 changes: 0 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,6 @@
bash "pacman --sync --needed --noconfirm --cache `"$unix_msys2_cache`" mingw-w64-{x86_64,i686}-toolchain mingw-w64-{x86_64,i686}-cmake make"
}
before_build:
# Remove VS build warning http://help.appveyor.com/discussions/problems/4569-the-target-_convertpdbfiles-listed-in-a-beforetargets-attribute-at-c-does-not-exist-in-the-project-and-will-be-ignored
#- del "C:\Program Files (x86)\MSBuild\14.0\Microsoft.Common.targets\ImportAfter\Xamarin.Common.targets"

build_script:
- ps: |
Write-Host Start building...
Expand Down
2 changes: 1 addition & 1 deletion dokan/dokan.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ extern "C" {
/** @{ */

/** The current Dokan version (ver 1.2.0). \ref DOKAN_OPTIONS.Version */
#define DOKAN_VERSION 131
#define DOKAN_VERSION 140
/** Minimum Dokan version (ver 1.1.0) accepted. */
#define DOKAN_MINIMUM_COMPATIBLE_VERSION 110
/** Driver file name including the DOKAN_MAJOR_API_VERSION */
Expand Down
8 changes: 4 additions & 4 deletions dokan/dokan.rc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,3,1,1000
PRODUCTVERSION 1,3,1,1000
FILEVERSION 1,4,0,1000
PRODUCTVERSION 1,4,0,1000
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -34,12 +34,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Dokan Project"
VALUE "FileDescription", "Dokan Library"
VALUE "FileVersion", "1.3.1.1000"
VALUE "FileVersion", "1.4.0.1000"
VALUE "InternalName", "dokan.dll"
VALUE "LegalCopyright", "Copyright (C) 2018"
VALUE "OriginalFilename", "dokan.dll"
VALUE "ProductName", "Dokan"
VALUE "ProductVersion", "1.3.1.1000"
VALUE "ProductVersion", "1.4.0.1000"
END
END
BLOCK "VarFileInfo"
Expand Down
8 changes: 4 additions & 4 deletions dokan_fuse/src/dokanfuse.rc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,3,1,1000
PRODUCTVERSION 1,3,1,1000
FILEVERSION 1,4,0,1000
PRODUCTVERSION 1,4,0,1000
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -34,12 +34,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Dokan Project"
VALUE "FileDescription", "Dokan Fuse library"
VALUE "FileVersion", "1.3.1.1000"
VALUE "FileVersion", "1.4.0.1000"
VALUE "InternalName", "dokanfuse.dll"
VALUE "LegalCopyright", "Copyright (C) 2018"
VALUE "OriginalFilename", "dokanfuse.dll"
VALUE "ProductName", "Dokan"
VALUE "ProductVersion", "1.3.1.1000"
VALUE "ProductVersion", "1.4.0.1000"
END
END
BLOCK "VarFileInfo"
Expand Down
8 changes: 4 additions & 4 deletions dokan_np/dokan_np.rc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,3,1,1000
PRODUCTVERSION 1,3,1,1000
FILEVERSION 1,4,0,1000
PRODUCTVERSION 1,4,0,1000
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -34,12 +34,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Dokan Project"
VALUE "FileDescription", "Dokan Network Provider"
VALUE "FileVersion", "1.3.1.1000"
VALUE "FileVersion", "1.4.0.1000"
VALUE "InternalName", "dokan.dll"
VALUE "LegalCopyright", "Copyright (C) 2018"
VALUE "OriginalFilename", "dokannp.dll"
VALUE "ProductName", "Dokan"
VALUE "ProductVersion", "1.3.1.1000"
VALUE "ProductVersion", "1.4.0.1000"
END
END
BLOCK "VarFileInfo"
Expand Down
6 changes: 3 additions & 3 deletions dokan_wix/version.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Include>
<?define ProductName="Dokan Library" ?>
<?define ProductCodeX64="{65A3A964-3DC3-0103-0001-191216155727}" ?>
<?define ProductCodeX64="{65A3A964-3DC3-0104-0000-200601191219}" ?>
<?define UpgradeCodeX64="{2EF80C64-08A6-4FE1-BE92-13FD293C831B}" ?>
<?define ProductCodeX86="{65A3A986-3DC3-0103-0001-191216155727}" ?>
<?define ProductCodeX86="{65A3A986-3DC3-0104-0000-200601191219}" ?>
<?define UpgradeCodeX86="{2EF80C86-08A6-4FE1-BE92-13FD293C831B}" ?>
<?define ProviderKey="{5F030BFA-CE6E-408A-9694-F593B319DBBE}" ?>
<?define BundleUpgradeCode="{A30D29CD-FA58-4542-8D41-7EDD1FB1EE5A}" ?>
<?define BaseVersion="1.3.1" ?>
<?define BaseVersion="1.4.0" ?>
<?define MajorVersion="1" ?>
<?define BuildVersion="1000" ?>
<?define CompanyName="Dokany Project" ?>
Expand Down
8 changes: 4 additions & 4 deletions sys/dokan.rc
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,3,1,1000
PRODUCTVERSION 1,3,1,1000
FILEVERSION 1,4,0,1000
PRODUCTVERSION 1,4,0,1000
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
Expand All @@ -34,12 +34,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "Dokan Project"
VALUE "FileDescription", "Dokan Driver"
VALUE "FileVersion", "1.3.1.1000"
VALUE "FileVersion", "1.4.0.1000"
VALUE "InternalName", "dokan.sys"
VALUE "LegalCopyright", "Copyright (C) 2018"
VALUE "OriginalFilename", "dokan.sys"
VALUE "ProductName", "Dokan"
VALUE "ProductVersion", "1.3.1.1000"
VALUE "ProductVersion", "1.4.0.1000"
END
END
BLOCK "VarFileInfo"
Expand Down

0 comments on commit 6ae6188

Please sign in to comment.