[18] | 1 | Unit VersionUnit;
|
---|
| 2 |
|
---|
| 3 | // NewView - a new OS/2 Help Viewer
|
---|
[158] | 4 | // Copyright 2003-2006 Aaron Lawrence (aaronl at consultant dot com)
|
---|
[430] | 5 | // Copyright 2006-2019 Ronald Brill (rbri at rbri dot de)
|
---|
[18] | 6 | // This software is released under the Gnu Public License - see readme.txt
|
---|
| 7 |
|
---|
| 8 | Interface
|
---|
| 9 |
|
---|
| 10 | // This file contains the version number and history.
|
---|
| 11 |
|
---|
| 12 | function GetAppVersion: string;
|
---|
[294] | 13 | function GetCopyrightMsg: string;
|
---|
| 14 | function GetLicenseMsg: string;
|
---|
[18] | 15 |
|
---|
| 16 | Implementation
|
---|
| 17 |
|
---|
| 18 | const
|
---|
[438] | 19 | Version = 'V2.19.7'; // $SS_REQUIRE_NEW_VERSION$
|
---|
| 20 | BldLevelVersion = '2.19.7'; // Embedded for IBM BLDLEVEL tool
|
---|
[430] | 21 | CopyrightMsg = 'Copyright 2005 Aaron Lawrence; 2006-2019 Ronald Brill';
|
---|
[294] | 22 | LicenseMsg = 'Licensed under the GNU Public License';
|
---|
[18] | 23 |
|
---|
[294] | 24 |
|
---|
[18] | 25 | // RELEASE PROCESS
|
---|
| 26 | // - notify translators
|
---|
| 27 | // - Record library versions
|
---|
| 28 | // - DISABLE PROFILE
|
---|
| 29 | // - TURN OFF DEBUG INFO
|
---|
| 30 | // - Package: distr NewViewX_Y_Z
|
---|
| 31 | // - Upload to Hobbes
|
---|
| 32 | // - Test download [Yeah right]
|
---|
| 33 | // - Update webpage: index, NewView news, history, download [Down]
|
---|
| 34 | // - Notify eCS apps NG, OS/2 Apps NG
|
---|
| 35 | //
|
---|
| 36 | // HelpMgr: V1.9.0
|
---|
| 37 | // ViewStub: V1.1.1
|
---|
| 38 | // Install: V1.10.0
|
---|
| 39 | // Components: V1.11.23
|
---|
| 40 | // Library: V1.5.12
|
---|
| 41 | // SPCC: V2.1.11.13
|
---|
| 42 | // RTL: V2.0.4.2
|
---|
| 43 | // Addon: V2.0.4
|
---|
| 44 |
|
---|
| 45 | { Todo list
|
---|
| 46 |
|
---|
| 47 | Emphasis:
|
---|
| 48 | major bugs
|
---|
| 49 | missing features that original IPF had.
|
---|
| 50 | major performance issues [none really remaining?]
|
---|
| 51 | - decoding images/text on older machines
|
---|
| 52 | - startup
|
---|
| 53 |
|
---|
| 54 | - os2dbcs.inf, html40 - veit
|
---|
| 55 |
|
---|
| 56 | - MAJOR keyboard navigation of links
|
---|
| 57 | - next: done
|
---|
| 58 | - previous: done
|
---|
| 59 | - enter to activate:
|
---|
| 60 |
|
---|
| 61 | - MINOR: Way to identify new helpmgr.
|
---|
| 62 | A special entry point? Special value in ...? Special Window ULONG? Global mem?
|
---|
| 63 | HM_QUERY with a new value...
|
---|
| 64 | or HM_SET_USERDATA with a magic number, which returns a magic number
|
---|
| 65 | - MODERATE: For Maul Publisher (Peter Koller): ability to get active help panel
|
---|
| 66 | - MODERATE [ENH] Use separate programs for mail, ftp etc.
|
---|
| 67 |
|
---|
| 68 | - MINOR Link control - custom cursors for default controls
|
---|
| 69 | - default cursor for rich text view
|
---|
| 70 | - don't call default window proc for wm_mousemove
|
---|
| 71 | - need to override .wmmousemove...
|
---|
| 72 |
|
---|
| 73 | - MODERATE [PERF]: New art decoder from Sergei
|
---|
| 74 | - MINOR [DEBUG]: Continue removing units to keep debugger
|
---|
| 75 | e.g. Remove file dialog and color wheel to dll?
|
---|
| 76 | - problem is, my newview.dll is C-only :/
|
---|
| 77 |
|
---|
| 78 | - MINOR [ENH] Option to turn off internet links. (or a warning/popup/question)
|
---|
| 79 | - MINOR [ENH] Customise link colors (separately for native links vs urls)
|
---|
| 80 | - MINOR [PERF] Optimise tree (global search) to not redraw if nodes not visible
|
---|
| 81 |
|
---|
| 82 | Help
|
---|
| 83 | - MINOR [ENH] [INST] select language to install
|
---|
| 84 | - MINOR [INST] check for FAT 8.3 before installing, fail gracefully (ie. only nls files)
|
---|
| 85 |
|
---|
| 86 | - MINOR hide language stuff except on param?
|
---|
| 87 | - MINOR [INST] kill off viewhelp?
|
---|
| 88 |
|
---|
| 89 |
|
---|
| 90 | Search enhancements/completion
|
---|
| 91 | - Make AND the default
|
---|
| 92 | - Skip thru search matches...
|
---|
| 93 | - Case sensitive
|
---|
| 94 | - Whole word only match
|
---|
| 95 | - Highlight when searching All Help Files
|
---|
| 96 |
|
---|
| 97 | Keyboard
|
---|
| 98 | - navigation of search results
|
---|
| 99 |
|
---|
| 100 | Printing
|
---|
| 101 | - MEDIUM [ENH] selectable topics - requires support for multi-select in tree
|
---|
| 102 | - MEDIUM [ENH] improve printing of topic to use printing control bits etc
|
---|
| 103 | - MAJOR [ENH] Complete
|
---|
| 104 | - Contents
|
---|
| 105 | - Index
|
---|
| 106 | - Page/Topic numbers
|
---|
| 107 | - Optional hidden topics?
|
---|
| 108 |
|
---|
| 109 | International
|
---|
| 110 | - MODERATE DBCS
|
---|
| 111 | - cursor
|
---|
| 112 | - find
|
---|
| 113 | - Codepage support
|
---|
| 114 | - file
|
---|
| 115 | - codepages in font specifications
|
---|
| 116 |
|
---|
| 117 | User interface tweaks
|
---|
| 118 | - Coloured tabs?
|
---|
| 119 | - Topic menu: "copy link location", back, forward, previous, next
|
---|
| 120 | - Open related windows when a search result is shown
|
---|
| 121 | e.g. vacpp topic ... need to parse entire file
|
---|
| 122 | do only when window is not 100%??
|
---|
| 123 |
|
---|
| 124 | - Button to toggle left panel
|
---|
| 125 | - Hint (popup tooltip) for links
|
---|
| 126 | - Better handling of windows
|
---|
| 127 | - problem with CPPUG toc pane
|
---|
| 128 | - leaving windows smaller than screen...
|
---|
| 129 | - Option: Sort top level contents, would be nice
|
---|
| 130 |
|
---|
| 131 | Bugs/Compatibility
|
---|
| 132 | - [eCS compat] move ini file to appropriate place. (see AE)
|
---|
| 133 | - Run old hmgr...... is this possible??
|
---|
| 134 | - Additional association for *hlp;*.inf to ibmview.exe
|
---|
| 135 |
|
---|
| 136 | New features
|
---|
| 137 | - View all images
|
---|
| 138 | - Tools - Mark Start Topic
|
---|
| 139 | (special bookmark?)
|
---|
| 140 | - Help File Manager
|
---|
| 141 | - Show all found help files...
|
---|
| 142 | - Show History (by date/time only - not a tree)
|
---|
| 143 | - Uninstall
|
---|
| 144 | - Mouse wheel
|
---|
| 145 | - Free-standing notes
|
---|
| 146 | - Font lib from Innotek
|
---|
| 147 | - Export whole file 1 day?
|
---|
| 148 |
|
---|
| 149 | Rich Text View
|
---|
| 150 | - Select/copy and save support, for images.
|
---|
| 151 | - if it wraps during a word that has tags within it,
|
---|
| 152 | then the tags may not be applied at the correct point.
|
---|
| 153 | ... need to remember the style at start of word as well.
|
---|
| 154 | - should not lose cursor if just resizing,
|
---|
| 155 | only if text changed
|
---|
| 156 | - Linked images
|
---|
| 157 | e.g. Export.hlp
|
---|
| 158 |
|
---|
| 159 | Performance
|
---|
| 160 | - helpmgr.dll use global filelist instead of running view.exe first
|
---|
| 161 | - profiler (GpProfile)
|
---|
| 162 | - Speed up bitmap decoding.
|
---|
| 163 | sledit.inf
|
---|
| 164 | slowdown is definitely in ReadBitmapData
|
---|
| 165 |
|
---|
| 166 | 10x stress test sledit
|
---|
| 167 | original: 15 secs
|
---|
| 168 | decode_string asm: 14.5 secs
|
---|
| 169 | LZW -> C DLL: 13.3 secs
|
---|
| 170 |
|
---|
| 171 | without any decoding: 10 seconds
|
---|
| 172 | so - c decode time: 3.3 secs.
|
---|
| 173 | Pas decode time: 5 secs.
|
---|
| 174 |
|
---|
| 175 | loading from file, not adding to images list: 9 s
|
---|
| 176 | loading from file, adding to images list [removed after]: 9.2 s
|
---|
| 177 | without getting any images at all (THelpFile.GetImages)
|
---|
| 178 | 8.5 s.
|
---|
| 179 |
|
---|
| 180 | Therefore, we have:
|
---|
| 181 | decoding: 3.3s (c) or 5s (pascal)
|
---|
| 182 | using: 1s
|
---|
| 183 | reading file: 0.5s
|
---|
| 184 | other loading stuff: 8.5
|
---|
| 185 |
|
---|
| 186 | Observationally, original view is much faster than
|
---|
| 187 | even the C version. It must be in assembler or something.
|
---|
| 188 | I could not see any major optimisations to make in the C
|
---|
| 189 | version.
|
---|
| 190 | Scott from IBM suggested using the original functions
|
---|
| 191 | in helpmgr.dll.
|
---|
| 192 |
|
---|
| 193 | - Make navigation back and forth
|
---|
| 194 | detect differences in windows and make minimum changes 1/2 day
|
---|
| 195 | zorder
|
---|
| 196 |
|
---|
| 197 | Minor
|
---|
| 198 | - Iconedit help for product information doesn't work
|
---|
[34] | 199 | Something weird goin on with resource IDs.
|
---|
[18] | 200 | Note: old view really does work.
|
---|
| 201 | }
|
---|
| 202 |
|
---|
| 203 | function GetAppVersion: string;
|
---|
| 204 | begin
|
---|
| 205 | Result:= Version;
|
---|
| 206 | end;
|
---|
| 207 |
|
---|
[294] | 208 | function GetCopyrightMsg: string;
|
---|
| 209 | begin
|
---|
| 210 | Result:= CopyrightMsg;
|
---|
| 211 | end;
|
---|
| 212 |
|
---|
| 213 | function GetLicenseMsg: string;
|
---|
| 214 | begin
|
---|
| 215 | Result:= LicenseMsg;
|
---|
| 216 | end;
|
---|
| 217 |
|
---|
[18] | 218 | const
|
---|
| 219 | Vendor = 'Aaron Lawrence';
|
---|
| 220 | Description = 'NewView';
|
---|
| 221 |
|
---|
| 222 | // BLDLevel - compatible - mostly
|
---|
| 223 | EmbeddedVersion: string =
|
---|
| 224 | '@#'
|
---|
| 225 | + Vendor
|
---|
| 226 | + ':'
|
---|
| 227 | + BldLevelVersion
|
---|
| 228 | + '#@'
|
---|
| 229 | + Description
|
---|
| 230 | + #0;
|
---|
| 231 |
|
---|
| 232 | Initialization
|
---|
| 233 | End.
|
---|