Skip to content

Commit 35b2403

Browse files
committed
Merge branch 'release/0.3.0'
Release v0.3.0
2 parents 5a064cc + e44d931 commit 35b2403

27 files changed

+1764
-1466
lines changed

.gitattributes

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Customise GitHub Linguist
2+
3+
# Include Markdown files in stats
4+
*.md linguist-detectable
5+
6+
# Specify line endings for text files
7+
8+
.pas text
9+
.fmx text
10+
.dpr text
11+
.dproj text
12+
.gitignore text
13+
.gitattributes text
14+
.rc text
15+
.md text
16+
.txt text
17+
.bat text
18+
.manifest text
19+
LICENSE text

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# .gitignore file for Unit2NS project
1+
# .gitignore file for DUSE project
22

33

44
# Delphi generated temporary files and directories

CHANGELOG.md

Lines changed: 56 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,46 @@
11
# Changelog
22

3-
This is the change log for _unit2ns_ by DelphiDabbler.
3+
This is the change log for DelphiDabbler _DUSE_.
44

55
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.
66

7-
The version numbering attempts to adhere to the principles of [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
## [0.3.0] - 2023-06-23
8+
9+
> Program renamed from _Unit2NS_ to _DUSE_ at this release.
10+
11+
### Fixed
12+
13+
* Unreported bug where reading empty map files would cause an exception.
14+
15+
### Added
16+
17+
* 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].
18+
* Added key board shorcuts [issue #28]:
19+
* Ctrl+C to copy a selected fullly qualified unit name to clipboard.
20+
* Ctrl+U to find unit scopes for a given unit.
21+
* Added version number entry to `config.data` file, beginning with v1 [issue #26].
22+
* New "Contents" section added to `README.md`.
23+
24+
### Changed
25+
26+
* Renamed program to _DUSE_ [issue #20]:
27+
* Changed names of 64 and 32 bit executable files to `DUSE.exe` and `DUSE32.exe` respectively.
28+
* Updated program name that appears in GUI.
29+
* Updated version information to use new program name.
30+
* Changed header line of unit map files to use new name and bumped version number to v2.
31+
* Updated all affected documentation.
32+
* Updated deployment script re changed executable file names and to use new program name in generated zip file names.
33+
* Updated UI and documentation with new repository name and URL following transfer to GitHub repository from `delphidabbler/unit2ns` to `ddabapps/duse`.
34+
* 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".
35+
* Further minor corrections to GUI.
36+
* "Mini-help" section of `README.md` updated:
37+
* Re new features added in this release.
38+
* Re new feature added in v0.2.0 [issue #21].
839

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

42+
Released as _Unit2NS_.
43+
1144
### Fixed
1245

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

1851
## [0.2.0] - 2022-11-02
1952

53+
Released as _Unit2NS_.
54+
2055
### Fixed
2156

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

2863
### Added
2964

30-
* 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]
65+
* 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]
3166

3267
### Changed
3368

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

3873
## [0.1.2] - 2022-08-04
3974

75+
Released as _Unit2NS_.
76+
4077
### Fixed
4178

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

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

90+
Released as _Unit2NS_.
91+
5392
### Fixed
54-
* Memory leek [issue #1].
93+
94+
* Memory leak [issue #1].
5595

5696
### Added
57-
* Debug builds now detect memory leeks.
97+
98+
* Debug builds now detect memory leaks.
5899

59100
### Changed
101+
60102
* Change compiler & `.dproj` file format to Delphi 11 Alexandria from Delphi 10.4.1 Sydney.
61103
* Minor edits to `README.md`
62104

63105
## [0.1.0] - 2021-02-08
64106

65-
Initial beta release.
107+
Released as _Unit2NS_.
108+
109+
**Initial beta release.**
66110

67-
[0.2.1]: https://github.com/delphidabbler/unit2ns/compare/v0.2.0-beta...v0.2.1-beta
68-
[0.2.0]: https://github.com/delphidabbler/unit2ns/compare/v0.1.2-beta...v0.2.0-beta
69-
[0.1.2]: https://github.com/delphidabbler/unit2ns/compare/v0.1.1-beta...v0.1.2-beta
70-
[0.1.1]: https://github.com/delphidabbler/unit2ns/compare/v0.1.0-beta...v0.1.1-beta
71-
[0.1.0]: https://github.com/delphidabbler/unit2ns/tree/v0.1.0-beta
111+
[0.3.0]: https://github.com/ddabapps/duse/compare/v0.2.1-beta...v0.3.0
112+
[0.2.1]: https://github.com/ddabapps/duse/compare/v0.2.0-beta...v0.2.1-beta
113+
[0.2.0]: https://github.com/ddabapps/duse/compare/v0.1.2-beta...v0.2.0-beta
114+
[0.1.2]: https://github.com/ddabapps/duse/compare/v0.1.1-beta...v0.1.2-beta
115+
[0.1.1]: https://github.com/ddabapps/duse/compare/v0.1.0-beta...v0.1.1-beta
116+
[0.1.0]: https://github.com/ddabapps/duse/tree/v0.1.0-beta

Deploy.bat

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
:: Deploy script for Unit2NS
1+
:: Deploy script for DUSE
22
::
3-
:: This script compiles release versions of the 64 and 32 bit versions of
4-
:: Unit2NS and places then into zip files ready for release.
3+
:: This script compiles release versions of the 64 and 32 bit versions of DUSE
4+
:: and places then into zip files ready for release.
55
::
66
:: This script uses MSBuild and Zip.exe
77

@@ -20,9 +20,9 @@
2020

2121
@echo off
2222

23-
echo -------------------------
24-
echo Deploying Unit2NS Release
25-
echo -------------------------
23+
echo ----------------------
24+
echo Deploying DUSE Release
25+
echo ----------------------
2626

2727
:: Check for required parameter
2828
if "%1"=="" goto paramerror
@@ -37,8 +37,8 @@ set BuildExeRoot=%BuildRoot%\exe
3737
set Win32Dir=%BuildExeRoot%\Win32\Release
3838
set Win64Dir=%BuildExeRoot%\Win64\Release
3939
set ReleaseDir=%BuildRoot%\release
40-
set OutFile32=%ReleaseDir%\unit2ns-32bit-%Version%.zip
41-
set OutFile64=%ReleaseDir%\unit2ns-64bit-%Version%.zip
40+
set OutFile32=%ReleaseDir%\duse-32bit-%Version%.zip
41+
set OutFile64=%ReleaseDir%\duse-64bit-%Version%.zip
4242
set DocsDir=docs
4343
set SrcDir=src
4444

@@ -59,33 +59,28 @@ cd %SrcDir%
5959
echo.
6060
echo Building 32 bit version
6161
echo.
62-
msbuild Unit2NS.dproj /p:config=Release /p:platform=Win32
62+
msbuild DUSE.dproj /p:config=Release /p:platform=Win32
6363
echo.
6464

6565
echo.
6666
echo Building 64 bit version
6767
echo.
68-
msbuild Unit2NS.dproj /p:config=Release /p:platform=Win64
68+
msbuild DUSE.dproj /p:config=Release /p:platform=Win64
6969
echo.
7070

7171
endlocal
7272

73-
:: Rename exe files as 32 and 64 bit
73+
:: Rename 32 bit exe file
7474
setlocal
7575
cd %Win32Dir%
76-
ren Unit2NS.exe Unit2NS32.exe
77-
endlocal
78-
79-
setlocal
80-
cd %Win64Dir%
81-
ren Unit2NS.exe Unit2NS64.exe
76+
ren DUSE.exe DUSE32.exe
8277
endlocal
8378

8479
:: Create zip files
8580
echo.
8681
echo Creating zip files
87-
%ZipRoot%\zip.exe -j -9 %OutFile32% %Win32Dir%\Unit2NS32.exe
88-
%ZipRoot%\zip.exe -j -9 %OutFile64% %Win64Dir%\Unit2NS64.exe
82+
%ZipRoot%\zip.exe -j -9 %OutFile32% %Win32Dir%\DUSE32.exe
83+
%ZipRoot%\zip.exe -j -9 %OutFile64% %Win64Dir%\DUSE.exe
8984
%ZipRoot%\zip.exe -j -9 %OutFile32% %DocsDir%\README.txt
9085
%ZipRoot%\zip.exe -j -9 %OutFile64% %DocsDir%\README.txt
9186

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021-2022 Peter Johnson
3+
Copyright (c) 2021-2023 Peter Johnson
44

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

0 commit comments

Comments
 (0)