Skip to content

Commit

Permalink
Merge branch 'release/0.3.0'
Browse files Browse the repository at this point in the history
Release v0.3.0
  • Loading branch information
delphidabbler committed Jun 23, 2023
2 parents 5a064cc + e44d931 commit 35b2403
Show file tree
Hide file tree
Showing 27 changed files with 1,764 additions and 1,466 deletions.
19 changes: 19 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Customise GitHub Linguist

# Include Markdown files in stats
*.md linguist-detectable

# Specify line endings for text files

.pas text
.fmx text
.dpr text
.dproj text
.gitignore text
.gitattributes text
.rc text
.md text
.txt text
.bat text
.manifest text
LICENSE text
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# .gitignore file for Unit2NS project
# .gitignore file for DUSE project


# Delphi generated temporary files and directories
Expand Down
67 changes: 56 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,46 @@
# Changelog

This is the change log for _unit2ns_ by DelphiDabbler.
This is the change log for DelphiDabbler _DUSE_.

All notable changes to this project are documented in this file. Releases are listed in reverse version number order. The file format adheres closely to the recommendations of the [keep a changelog](https://keepachangelog.com/) project.

The version numbering attempts to adhere to the principles of [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.3.0] - 2023-06-23

> Program renamed from _Unit2NS_ to _DUSE_ at this release.
### Fixed

* Unreported bug where reading empty map files would cause an exception.

### Added

* New option to read a unit mapping by reading the names of `.dcu` files from a given directory. Added new _Read Units From DCU Folder_ button to _New Mapping_ and _Edit Mapping_ dialogue boxes [issue #13].
* Added key board shorcuts [issue #28]:
* Ctrl+C to copy a selected fullly qualified unit name to clipboard.
* Ctrl+U to find unit scopes for a given unit.
* Added version number entry to `config.data` file, beginning with v1 [issue #26].
* New "Contents" section added to `README.md`.

### Changed

* Renamed program to _DUSE_ [issue #20]:
* Changed names of 64 and 32 bit executable files to `DUSE.exe` and `DUSE32.exe` respectively.
* Updated program name that appears in GUI.
* Updated version information to use new program name.
* Changed header line of unit map files to use new name and bumped version number to v2.
* Updated all affected documentation.
* Updated deployment script re changed executable file names and to use new program name in generated zip file names.
* Updated UI and documentation with new repository name and URL following transfer to GitHub repository from `delphidabbler/unit2ns` to `ddabapps/duse`.
* Corrected UI, documentation and version information to refer to "unit scope names" instead of "namespaces" [issue #19]. Also revised program icon so it no longer contains the text "ns".
* Further minor corrections to GUI.
* "Mini-help" section of `README.md` updated:
* Re new features added in this release.
* Re new feature added in v0.2.0 [issue #21].

## [0.2.1] - 2022-11-03 [HOTFIX]

Released as _Unit2NS_.

### Fixed

* Fixed bugs in New Mapping and Edit Mapping dialogue boxes:
Expand All @@ -17,6 +50,8 @@ The version numbering attempts to adhere to the principles of [Semantic Versioni

## [0.2.0] - 2022-11-02

Released as _Unit2NS_.

### Fixed

* Fixed potential access to method of nil object in configuration code [issue #16]
Expand All @@ -27,7 +62,7 @@ The version numbering attempts to adhere to the principles of [Semantic Versioni

### Added

* New button on mapping editor & new associated new dialogue box to choose an installed version of Delphi from whose source code directory to read units into a mapping. [issue #8]
* New button on mapping editor & associated new dialogue box to choose an installed version of Delphi from whose source code directory to read units into a mapping. [issue #8]

### Changed

Expand All @@ -37,6 +72,8 @@ The version numbering attempts to adhere to the principles of [Semantic Versioni

## [0.1.2] - 2022-08-04

Released as _Unit2NS_.

### Fixed

* Memory leak caused by deleting mappings [issue #11].
Expand All @@ -50,22 +87,30 @@ The version numbering attempts to adhere to the principles of [Semantic Versioni

## [0.1.1] - 2021-10-01 [HOTFIX]

Released as _Unit2NS_.

### Fixed
* Memory leek [issue #1].

* Memory leak [issue #1].

### Added
* Debug builds now detect memory leeks.

* Debug builds now detect memory leaks.

### Changed

* Change compiler & `.dproj` file format to Delphi 11 Alexandria from Delphi 10.4.1 Sydney.
* Minor edits to `README.md`

## [0.1.0] - 2021-02-08

Initial beta release.
Released as _Unit2NS_.

**Initial beta release.**

[0.2.1]: https://github.com/delphidabbler/unit2ns/compare/v0.2.0-beta...v0.2.1-beta
[0.2.0]: https://github.com/delphidabbler/unit2ns/compare/v0.1.2-beta...v0.2.0-beta
[0.1.2]: https://github.com/delphidabbler/unit2ns/compare/v0.1.1-beta...v0.1.2-beta
[0.1.1]: https://github.com/delphidabbler/unit2ns/compare/v0.1.0-beta...v0.1.1-beta
[0.1.0]: https://github.com/delphidabbler/unit2ns/tree/v0.1.0-beta
[0.3.0]: https://github.com/ddabapps/duse/compare/v0.2.1-beta...v0.3.0
[0.2.1]: https://github.com/ddabapps/duse/compare/v0.2.0-beta...v0.2.1-beta
[0.2.0]: https://github.com/ddabapps/duse/compare/v0.1.2-beta...v0.2.0-beta
[0.1.2]: https://github.com/ddabapps/duse/compare/v0.1.1-beta...v0.1.2-beta
[0.1.1]: https://github.com/ddabapps/duse/compare/v0.1.0-beta...v0.1.1-beta
[0.1.0]: https://github.com/ddabapps/duse/tree/v0.1.0-beta
33 changes: 14 additions & 19 deletions Deploy.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
:: Deploy script for Unit2NS
:: Deploy script for DUSE
::
:: This script compiles release versions of the 64 and 32 bit versions of
:: Unit2NS and places then into zip files ready for release.
:: This script compiles release versions of the 64 and 32 bit versions of DUSE
:: and places then into zip files ready for release.
::
:: This script uses MSBuild and Zip.exe

Expand All @@ -20,9 +20,9 @@

@echo off

echo -------------------------
echo Deploying Unit2NS Release
echo -------------------------
echo ----------------------
echo Deploying DUSE Release
echo ----------------------

:: Check for required parameter
if "%1"=="" goto paramerror
Expand All @@ -37,8 +37,8 @@ set BuildExeRoot=%BuildRoot%\exe
set Win32Dir=%BuildExeRoot%\Win32\Release
set Win64Dir=%BuildExeRoot%\Win64\Release
set ReleaseDir=%BuildRoot%\release
set OutFile32=%ReleaseDir%\unit2ns-32bit-%Version%.zip
set OutFile64=%ReleaseDir%\unit2ns-64bit-%Version%.zip
set OutFile32=%ReleaseDir%\duse-32bit-%Version%.zip
set OutFile64=%ReleaseDir%\duse-64bit-%Version%.zip
set DocsDir=docs
set SrcDir=src

Expand All @@ -59,33 +59,28 @@ cd %SrcDir%
echo.
echo Building 32 bit version
echo.
msbuild Unit2NS.dproj /p:config=Release /p:platform=Win32
msbuild DUSE.dproj /p:config=Release /p:platform=Win32
echo.

echo.
echo Building 64 bit version
echo.
msbuild Unit2NS.dproj /p:config=Release /p:platform=Win64
msbuild DUSE.dproj /p:config=Release /p:platform=Win64
echo.

endlocal

:: Rename exe files as 32 and 64 bit
:: Rename 32 bit exe file
setlocal
cd %Win32Dir%
ren Unit2NS.exe Unit2NS32.exe
endlocal

setlocal
cd %Win64Dir%
ren Unit2NS.exe Unit2NS64.exe
ren DUSE.exe DUSE32.exe
endlocal

:: Create zip files
echo.
echo Creating zip files
%ZipRoot%\zip.exe -j -9 %OutFile32% %Win32Dir%\Unit2NS32.exe
%ZipRoot%\zip.exe -j -9 %OutFile64% %Win64Dir%\Unit2NS64.exe
%ZipRoot%\zip.exe -j -9 %OutFile32% %Win32Dir%\DUSE32.exe
%ZipRoot%\zip.exe -j -9 %OutFile64% %Win64Dir%\DUSE.exe
%ZipRoot%\zip.exe -j -9 %OutFile32% %DocsDir%\README.txt
%ZipRoot%\zip.exe -j -9 %OutFile64% %DocsDir%\README.txt

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021-2022 Peter Johnson
Copyright (c) 2021-2023 Peter Johnson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down

0 comments on commit 35b2403

Please sign in to comment.