Skip to content
This repository has been archived by the owner on May 31, 2022. It is now read-only.

Commit

Permalink
Nagisa 0.2 Final
Browse files Browse the repository at this point in the history
  • Loading branch information
MouriNaruto committed Feb 5, 2018
1 parent 78cd0b4 commit af4a951
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 35 deletions.
8 changes: 7 additions & 1 deletion Assassin/TransferTask.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ License: The MIT License

using namespace Assassin;
using namespace Platform;
using namespace Windows::Networking::BackgroundTransfer;

using Windows::Networking::BackgroundTransfer::BackgroundDownloadProgress;
using Windows::Networking::BackgroundTransfer::BackgroundTransferStatus;

TransferTask::TransferTask(
String^ Guid,
Expand Down Expand Up @@ -46,6 +48,10 @@ TransferTask::TransferTask(
? iterator->second : nullptr;
if (nullptr == this->m_Operation) throw;

BackgroundDownloadProgress Progress = this->m_Operation->Progress;
this->m_BytesReceived = Progress.BytesReceived;
this->m_TotalBytesToReceive = Progress.TotalBytesToReceive;

if (TransferTaskStatus::Running == this->Status)
{
this->m_Operation->AttachAsync();
Expand Down
46 changes: 17 additions & 29 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,18 @@

## Changelog

**Nagisa 0.2 [Build 21]**
- You can open default download folder by File Explorer in the UI.
- Fix several bugs and improve several implementations.

**Nagisa 0.2 [Build 20]**
- Fix several bugs and improve several implementations.
- Add ITransferManager::LastusedFolder property.
- Add ITransferManager::DefaultFolder property.
- Add NullableBooleanToBooleanConverter converter.
- You can use the custom or last used folder as the default download folder.
- Add ITransferManager::TotalDownloadBandwidth property.
- Add ITransferManager::TotalUploadBandwidth property.
- Add TransferManagerFactory::CreateInstance method.
- Remove TransferManager class.
- You can get the total download and total upload bandwidth in the UI.

**Nagisa 0.2 [Build 19]**
- Merge the changelog.
- Improve several implementations.
- Continue to implement the "Settings" dialog.

### Nagisa 0.2 [Build 18]
### Nagisa 0.2 [Build 22]
**New Changes**
- Change the icon.
- Fix several bugs and improve several implementations.
- Add configuration infrastructure.
- You can cancel task without remove it in the UI.
- You can open every task's folder in the UI.
- Change the icon.
- You can start or pause all tasks in the UI.
- You can clear task list in the UI.

**Changed APIs**
- Assassin
- TransferManager class (Based on ITransferManager interface).
- Constructor.
- You can use the custom or last used folder as the default download folder.
- You can get the total download and total upload bandwidth in the UI.
- You can open default download folder by File Explorer in the UI.

**New APIs**
- Assassin
Expand All @@ -58,9 +35,17 @@
- StartAllTasks method.
- PauseAllTasks method.
- ClearTaskList method.
- LastusedFolder property.
- DefaultFolder property.
- TotalDownloadBandwidth property.
- TotalUploadBandwidth property.
- TransferManagerFactory class.
- CreateInstance method.
- M2-Team Common Library
- M2CreateGuid function.
- Add CFutureAccessList class.
- CFutureAccessList class.
- XAML
- NullableBooleanToBooleanConverter converter.

**Removed APIs**
- Assassin
Expand All @@ -71,6 +56,9 @@
- NotifyPropertyChanged method.
- ITransferManager interface.
- AddTask method.
- TransferManager class (Based on ITransferManager interface).
- Constructor.
- Close method.
- XAML
- StorageFileToFileNameConverter converter.

Expand Down
4 changes: 4 additions & 0 deletions Nagisa/MainPage.xaml.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,10 @@ IAsyncOperation<ContentDialogResult>^ MainPage::ShowContentDialogAsync(
double PageActualWidth = this->ActualWidth;
if (Dialog->MaxWidth > PageActualWidth)
Dialog->MaxWidth = PageActualWidth;

double PageActualHeight = this->ActualHeight;
if (Dialog->MaxHeight > PageActualHeight)
Dialog->MaxHeight = PageActualHeight;

return Dialog->ShowAsync();
}
Expand Down
2 changes: 1 addition & 1 deletion Nagisa/Nagisa.vcxproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<AppIconSource>F:\NagisaRepositories\Nagisa\Nagisa\LogoAssets\Nagisa.png</AppIconSource>
<SplashScreenSource>F:\NagisaRepositories\Nagisa\Nagisa\LogoAssets\Nagisa.png</SplashScreenSource>
<PackageLogoSource>F:\NagisaRepositories\Nagisa\Nagisa\LogoAssets\Nagisa.png</PackageLogoSource>
<AppxPackageIsForStore>False</AppxPackageIsForStore>
<AppxPackageIsForStore>True</AppxPackageIsForStore>
<AppxBuildConfigurationSelection>x86|x64|arm</AppxBuildConfigurationSelection>
<PackageOptionalProjectsInIdeBuilds>False</PackageOptionalProjectsInIdeBuilds>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Nagisa/Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
<Identity Name="40174MouriNaruto.Nagisa" Publisher="CN=E310A153-74A9-4D81-800B-857A8D58408A" Version="0.2.21.0" />
<Identity Name="40174MouriNaruto.Nagisa" Publisher="CN=E310A153-74A9-4D81-800B-857A8D58408A" Version="0.2.22.0" />
<mp:PhoneIdentity PhoneProductId="eac382d2-e582-49fb-83ec-61dc13250420" PhonePublisherId="00000000-0000-0000-0000-000000000000" />
<Properties>
<DisplayName>Nagisa</DisplayName>
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ already a translation present in the Nagisa's GitHub Repository.
(Temporarily Based on Windows.Networking.BackgroundTransfer)
- Support single-threaded multi-tasking download.
(Temporarily Based on Windows.Networking.BackgroundTransfer)
- Support for searching tasks from the task list.
- The color themes of Nagisa follows the options in Windows Settings.

# Unfininshed Features
- Cortana Integration
Expand All @@ -58,6 +56,7 @@ already a translation present in the Nagisa's GitHub Repository.
- [Nagisa's Changelog](Changelog.md)
- [Nagisa's Relevant People](People.md)
- [Nagisa's Privacy Policy](Privacy.md)
- [Nagisa's Windows Store](https://www.microsoft.com/store/apps/9NFW53N9MFJR)

[release.badge]: https://img.shields.io/github/release/Project-Nagisa/Nagisa.svg
[release.link]: https://github.com/Project-Nagisa/Nagisa/releases/latest
Expand Down
Binary file modified Screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Shared/NagisaVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ License: The MIT License

#define NAGISA_VER_MAJOR 0
#define NAGISA_VER_MINOR 2
#define NAGISA_VER_BUILD 21
#define NAGISA_VER_BUILD 22
#define NAGISA_VER_REV 0
#endif

Expand Down

0 comments on commit af4a951

Please sign in to comment.