Skip to content

Commit

Permalink
Preparing new version: 1.9.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dpradov committed Mar 17, 2024
1 parent f633ef1 commit cd1fd89
Show file tree
Hide file tree
Showing 8 changed files with 132 additions and 15 deletions.
9 changes: 5 additions & 4 deletions Setup.iss
Expand Up @@ -4,8 +4,8 @@

#define AppName "KeyNote NF"
#define AppFileExe "keynote.exe"
#define Version "1.9.0.1"
#define AppVersion "1.9.0 .1"
#define Version "1.9.1.1"
#define AppVersion "1.9.1 .1"
;#define AppVersion GetVersionNumbersString("..\Output\bin\keynote.exe")
#define DefaultProfile "{app}\Profiles\Default"

Expand All @@ -17,8 +17,8 @@

[Setup]
SignTool=mySignTool
TouchDate=2024-03-07
TouchTime=21:00
TouchDate=2024-03-17
TouchTime=16:00
AppName={#AppName}
AppVersion={#AppVersion}
VersionInfoVersion={#Version}
Expand Down Expand Up @@ -155,6 +155,7 @@ Source: "doc\Changes in 1.8.3 .01.txt"; DestDir: "{app}\doc" ; Components: main
Source: "doc\Changes in 1.8.4 .01.txt"; DestDir: "{app}\doc" ; Components: main
Source: "doc\Changes in 1.8.5 .01.txt"; DestDir: "{app}\doc" ; Components: main
Source: "doc\Changes in 1.9.0 .01.txt"; DestDir: "{app}\doc" ; Components: main
Source: "doc\Changes in 1.9.1 .01.txt"; DestDir: "{app}\doc" ; Components: main
Source: "doc\dart.txt"; DestDir: "{app}\doc" ; Components: main
Source: "doc\dart_format.txt"; DestDir: "{app}\doc" ; Components: main

Expand Down
95 changes: 95 additions & 0 deletions doc/Changes in 1.9.1 .01.txt
@@ -0,0 +1,95 @@

Changes in 1.9.1 .01 (17 mar 2024)
=================================

* [IMPORTANT - You could lose data] Fixed: Importing RTF or HTML files as new nodes or new notes could prevent recognition of the next node or note.

When written to disk, the line break necessary to separate the RTF text from the start tag of the next node or note was not being incorporated.
This would occur only if node or note imported were not modified before saving.

Ex:
Instead of saving as:

... final of converted HTML text\par\pard}
%-
ND=Another node
...

It was saved as:
... final of converted HTML text\par\pard}%-
ND=Another node
...

=> On open, "Another node" would be not recognized correctly.

Note: the first time you opened the file after saving with this bug, the data were not lost. All the data were inside the file, but the application did not recognize the format of the affected node or note.
The next node or note WOULD HAVE BEEN LOST if the file was saved again after a subsequent open (where they could not be recognized and were ignored)
More info in issue #663

- - - -

* [IMPORTANT - You could lose data] Fixed: Changes made in the Scratch panel are being discarded when selecting another tab in the resources panel.
They were saved ok when saving the .knt file or closing the instance. They are also not lost by hiding the resources panel.
Ref: #652


- - - - -

* Fixed: UTF8 files without BOM were treated as ANSI files
... when importing (as new tree node, new note, as content at cursor, or virtual tree node) or inserting templates

Ref: KeynoteNF does not correctly import UTF8 files (currently only import UTF8-BOM files) #658

- - - - -

* Improved: Now when navigating back in history it will return to the exact visible position in the editor
It can be clearly seen when jumping and returning from a marker located on the same node.

* New: Returning to a node now retrieves the exact position in the editor, including status bar scrolling
This is especially important if the editor contains images because although the cursor kept the correct
position in the text, its visual position in the window could be shifted a lot.

* New: Ctrl+Shift+Up/down will smoothly move the scroll bar vertically
This is specially useful when the editor contains images because it allows you to view the image with uniform movement, which is not possible using Ctrl+Up or Ctrl+Down.

- - - - -

* Improvements in "Normal vs maximum tree width" functionality
The new behavior is:
- When you mouse over the tree panel, at any node, the tree panel will expand to the maximum width.
- The same happens if the focus is moved to the tree panel.
- If the Editor panel maintains the focus and the tree panel is expanded, if you mouse over the editor then the tree restores its normal (minimum) width.
- Also, when focus returns to the Editor panel, the tree restores its normal width

Tip: You can maintain the tree panel expanded by keeping the mouse over the tree panel while you type in the editor at the same time.

Additionally, it is now possible to traverse the tree panel with the mouse and not trigger tree width expansion (just move it a little faster).
Besides, it has been avoided the selection of text that sometimes occured as a side effect of switching the focus from tree panel to editor by
clicking on the editor panel (restoring the tree panel width).

- - - - -

* Fixed: Export... It must be checked in the options that the "Symbols" field is not empty
Otherwise an exception will be generated if "Node Headings" is selected
Symbols: "Symbols to use with %< or %>: Level1, Level2, ..."
Ref: Keynote don't export to disk. #657

* Fixed: Export notes... Error when selecting "Export each node to a separate target file"
The error "Error while exporting notes: Failed to Load Stream" was generated when exporting
from a plain text note or from an empty node.

* Fixed: Removed possible hidden characters when exporting from tree panel context menu

- - - - -

* Fixed: Editor needed to be refreshed in certain situations (if enabled Alternative Margins). Also Scratch editor

* Fixed: Import as new node or as new note always showed the Editor content at 100% zoom...
.. ignoring the custom zoom that could be applied. Selecting another node established the correct zoom

* Minimal change to try to resolve "Resource Panel>Favorites, not autocomplete"
I can't reproduce issue #655. Maybe this small change could prevent the issue, but I'm not sure.

- - - - -

* Changes in .ini file used with .knt help
6 changes: 3 additions & 3 deletions doc/Help/KeyNoteNF_Help.knt
Expand Up @@ -13,7 +13,7 @@ II=3
DC=20-04-2003 19:33:48
TI=0
TS=4
CX=6621
CX=512
CY=0
BG=clWindow
CH=0
Expand All @@ -23,7 +23,7 @@ FS=10
LN=1033
ST=
FL=111110000000100000000000
SN=26
SN=0
TW=302
TM=0
EN=New node
Expand Down Expand Up @@ -2637,7 +2637,7 @@ KeyNote uses the freeware WordWeb integration component written by Mr. Antony Le
LV=1
ND=Tree-type Notes
DI=284
NF=000000100100000000000000
NF=000000000100000000000000
BC=clWindow
IX=0
%:
Expand Down
21 changes: 21 additions & 0 deletions doc/history.txt
Expand Up @@ -3,6 +3,27 @@
## Remember to make backups of .knt files. Recommended option: 'Backup at regular intervals'


v 1.9.1.1 (17 mar 2024)
--------------------------
(Detailed info in doc\Changes in 1.9.1 .01.txt)

[IMPORTANT - You could lose data]:
* Fixed: Importing RTF or HTML files as new nodes or notes could prevent recognition of the next node or note.
* Fixed: Changes made in the Scratch panel are being discarded when selecting another tab in the resources panel.

* Fixed: UTF8 files without BOM were treated as ANSI files
* Improved: When navigating back in history it will return to the exact visible position in the editor
* New: Returning to a node now retrieves the exact position in the editor, including status bar scrolling
* New: Ctrl+Shift+Up/down will smoothly move the scroll bar vertically
* Improvements in "Normal vs maximum tree width" functionality
* Fixed: Export... It must be checked in the options that the "Symbols" field is not empty
* Fixed: Export notes... Error when selecting "Export each node to a separate target file"
* Fixed: Removed possible hidden characters when exporting from tree panel context menu
* Fixed: Editor needed to be refreshed in certain situations (if enabled Alternative Margins). Also Scratch editor
* Fixed: Import as new node or as new note always showed the Editor content at 100% zoom...
* Minimal change to try to resolve "Resource Panel>Favorites, not autocomplete"


v 1.9.0.1 (07 mar 2024)
--------------------------
(Detailed info in doc\Changes in 1.9.0 .01.txt)
Expand Down
6 changes: 3 additions & 3 deletions general/kn_Const.pas
Expand Up @@ -119,9 +119,9 @@ procedure DefineConst;

const
Program_Name = 'KeyNote NF';
Program_Version = '1.9.0 .1';
Program_Version_Number = '1.9.0.1';
Program_Version_Date = '07/03/2024';
Program_Version = '1.9.1 .1';
Program_Version_Number = '1.9.1.1';
Program_Version_Date = '17/03/2024';
Program_License = 'Free software, Open Source (Mozilla Public License 2.0)';

Program_URL = 'https://github.com/dpradov/keynote-nf'; //'http://keynote.prv.pl';
Expand Down
10 changes: 5 additions & 5 deletions keynote.dproj
Expand Up @@ -119,8 +119,8 @@
<PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
<AppDPIAwarenessMode>gdiScaling</AppDPIAwarenessMode>
<VerInfo_MinorVer>9</VerInfo_MinorVer>
<VerInfo_Release>0</VerInfo_Release>
<VerInfo_Keys>CompanyName=;FileDescription=KeyNote NF 1.9.0.1;FileVersion=1.9.0.1;InternalName=;LegalCopyright=(c) Daniel Prado 2007-24 (c) Marek Jedlinski 2000-05;LegalTrademarks=Free software, MPL 2.0;OriginalFilename=keynote.exe;ProductName=KeyNote NF (New Features);ProductVersion=1.9.0.1;Comments=;ProgramID=</VerInfo_Keys>
<VerInfo_Release>1</VerInfo_Release>
<VerInfo_Keys>CompanyName=;FileDescription=KeyNote NF 1.9.1.1;FileVersion=1.9.1.1;InternalName=;LegalCopyright=(c) Daniel Prado 2007-24 (c) Marek Jedlinski 2000-05;LegalTrademarks=Free software, MPL 2.0;OriginalFilename=keynote.exe;ProductName=KeyNote NF (New Features);ProductVersion=1.9.1.1;Comments=;ProgramID=</VerInfo_Keys>
<DCC_Define>VCL;$(DCC_Define)</DCC_Define>
<VerInfo_Build>1</VerInfo_Build>
</PropertyGroup>
Expand All @@ -137,8 +137,8 @@
<PropertyGroup Condition="'$(Cfg_2_Win32)'!=''">
<AppDPIAwarenessMode>gdiScaling</AppDPIAwarenessMode>
<VerInfo_MinorVer>9</VerInfo_MinorVer>
<VerInfo_Release>0</VerInfo_Release>
<VerInfo_Keys>CompanyName=;FileDescription=KeyNote NF 1.9.0.1;FileVersion=1.9.0.1;InternalName=;LegalCopyright=(c) Daniel Prado 2007-24 (c) Marek Jedlinski 2000-05;LegalTrademarks=Free software, MPL 2.0;OriginalFilename=keynote.exe;ProductName=KeyNote NF (New Features);ProductVersion=1.9.0.1;Comments=;ProgramID=</VerInfo_Keys>
<VerInfo_Release>1</VerInfo_Release>
<VerInfo_Keys>CompanyName=;FileDescription=KeyNote NF 1.9.1.1;FileVersion=1.9.1.1;InternalName=;LegalCopyright=(c) Daniel Prado 2007-24 (c) Marek Jedlinski 2000-05;LegalTrademarks=Free software, MPL 2.0;OriginalFilename=keynote.exe;ProductName=KeyNote NF (New Features);ProductVersion=1.9.1.1;Comments=;ProgramID=</VerInfo_Keys>
<DCC_Define>VCL;$(DCC_Define)</DCC_Define>
<UsePackages>true</UsePackages>
<UWP_DelphiLogo44>keynote_Icon.ico</UWP_DelphiLogo44>
Expand All @@ -148,7 +148,7 @@
<DCC_DebugDCUs>true</DCC_DebugDCUs>
<DCC_AssertionsAtRuntime>true</DCC_AssertionsAtRuntime>
<VerInfo_Build>1</VerInfo_Build>
<Debugger_RunParams>-ignSI &quot;C:\Program Files (x86)\KeyNote NF\help\KeyNoteNF_Help.knt&quot; &quot;C:\Program Files (x86)\KeyNote NF\Profiles\Help\keynote.ini&quot;</Debugger_RunParams>
<Debugger_RunParams>-ignSI E:\Output\bin\help\KeyNoteNF_Help.knt -title&quot;KeyNote NF Topics&quot;</Debugger_RunParams>
</PropertyGroup>
<ItemGroup>
<DelphiCompile Include="$(MainSource)">
Expand Down
Binary file modified keynote.res
Binary file not shown.
Binary file modified misc_files/KeyNoteNF_Help.knt
Binary file not shown.

0 comments on commit cd1fd89

Please sign in to comment.