From c88c757dc1dbb9280e8d0567998f291504df6a30 Mon Sep 17 00:00:00 2001 From: SeanZhang99 <53940993+SeanZhang99@users.noreply.github.com> Date: Mon, 16 Dec 2024 09:38:13 +0800 Subject: [PATCH 1/2] Update ProgressBar.m Fix an issue in line #254, where a letter "j" is missing and the variable "obj" referring to the object itself cannot be resolved by MATLAB --- ProgressBar.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProgressBar.m b/ProgressBar.m index 5b661cb..43cdf2c 100644 --- a/ProgressBar.m +++ b/ProgressBar.m @@ -251,7 +251,7 @@ obj.CurrentFont = s.matlab.fonts.codefont.Name.ActiveValue; % change to Courier New which is shipped by every Windows distro since Windows 3.1 - s.matlab.fonts.codefont.Name.TemporaryValue = ob.OVERRIDE_FONT_NAME; + s.matlab.fonts.codefont.Name.TemporaryValue = obj.OVERRIDE_FONT_NAME; end % add a new timer object with the standard tag name and hide it From 68d9a19d10849031878ef1b5bd91c461955ec82b Mon Sep 17 00:00:00 2001 From: Jens-Alrik Adrian Date: Mon, 16 Dec 2024 21:32:04 +0100 Subject: [PATCH 2/2] Bump versions and year --- CHANGELOG.md | 5 +++++ LICENSE | 2 +- ProgressBar.m | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a4be37..15b00b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.4.1] - 2024-12-16 +### Fixed +- Fixed a bug which lead to an error when trying to change the command line font + on Windows. Thanks @SeanZhang99! + ## [3.4.0] - 2023-09-03 ### Added - Support for nested loops where the inner one is a parallel `parfor` loop. Thanks diff --git a/LICENSE b/LICENSE index 1071665..4baaa1f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause -Copyright (c) 2023, Jens-Alrik Adrian +Copyright (c) 2024, Jens-Alrik Adrian All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/ProgressBar.m b/ProgressBar.m index 43cdf2c..07a9b55 100644 --- a/ProgressBar.m +++ b/ProgressBar.m @@ -45,7 +45,7 @@ properties (Constant) % Tag every timer with this to find it properly TIMER_TAG_NAME = 'ProgressBar'; - VERSION = '3.4.0'; + VERSION = '3.4.1'; end properties (Nontunable)