2019 |
mateusz.vi |
1 |
History/Changes - Alternate Tree - pdTree v1.03
|
|
|
2 |
Written by Kenneth J. Davis
|
|
|
3 |
Public Domain Tree
|
|
|
4 |
|
|
|
5 |
Future Plans: When time permits. KJD
|
|
|
6 |
I would like to get it to compile using other
|
|
|
7 |
compilers, such as DJGPP, Dunfield's Micro C,
|
|
|
8 |
and Borland's TC++ v1.01
|
|
|
9 |
Update cats library (use cats v4 aka kitten
|
|
|
10 |
for DOS and cats v3.97 for Windows)
|
|
|
11 |
|
|
|
12 |
Sept 12, 2005 pdTree V1.04 Release KJD
|
|
|
13 |
Add /DS option to display alternate streams in files
|
|
|
14 |
on Windows NT systems with NTFS. Use with /F option.
|
|
|
15 |
See notes for V1.03 Beta about DOS version.
|
|
|
16 |
|
|
|
17 |
Dec 03, 2004 -- KJD
|
|
|
18 |
Official source now in fdos project cvs on SourceForge.
|
|
|
19 |
Moved fixstub to TOOLS module (fixhdr).
|
|
|
20 |
|
|
|
21 |
May 30, 2004 pdTree V1.03 Beta Release KJD
|
|
|
22 |
Fix so runs on Windows 95 again and compiles for DOS.
|
|
|
23 |
On NT we use its advanced FindFirstFileEx (which may
|
|
|
24 |
limit search results to just directories, that is,
|
|
|
25 |
may omit extranous filename matches).
|
|
|
26 |
Warning: The /U option should not be used when
|
|
|
27 |
ran under pure DOS, as the DOS executable [stub]
|
|
|
28 |
does not yet properly map characters outside of
|
|
|
29 |
7bit ASCII range to Unicode equivalent.
|
|
|
30 |
Warning: The DOS version may exit early due to
|
|
|
31 |
out of memory errors or findnext failing too early.
|
|
|
32 |
|
|
|
33 |
May 29, 2004 pdTree V1.03 Alpha Release KJD
|
|
|
34 |
Update DOS version to properly query screen size
|
|
|
35 |
and detect if output is redirected or not,
|
|
|
36 |
so /P produces more correct results. [Note:
|
|
|
37 |
if ran under Windows XP (R) console, the size
|
|
|
38 |
returned by Windows approximates standard display
|
|
|
39 |
modes and not actual console size.]
|
|
|
40 |
Add support for FreeDOS tree 3.x display options,
|
|
|
41 |
/DF (display filesize) and /DA (display attributes).
|
|
|
42 |
Add support for UTF-8 output (filenames may not
|
|
|
43 |
be converted correctly under DOS).
|
|
|
44 |
Changed FindFile functions to use short name for
|
|
|
45 |
actual query if exists as LFN returned with Unicode
|
|
|
46 |
values that can't be converted to current ANSI CP
|
|
|
47 |
may be invalid (include default character replacement
|
|
|
48 |
for unconvertable values, e.g. ? character).
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
May 22, 2004 pdTree V1.02 Release KJD
|
|
|
52 |
Add Latvian translation from Kristaps Kaupe
|
|
|
53 |
Adjust to continue on certain errors accessing
|
|
|
54 |
subdirectories (match v1.00 behaviour I believe).
|
|
|
55 |
Add initial /P option, pause after screenful (80x25).
|
|
|
56 |
Update Win32 version to also support /S option
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
Feb 11, 2001 pdTree V1.01 Release KJD
|
|
|
60 |
Source includes fixstub that can be used to fix DOS
|
|
|
61 |
executable automatically so can be used as stub
|
|
|
62 |
for win32 executable (limited testing).
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
Jan 21, 2001 pdTree V1.01 Beta Release KJD
|
|
|
66 |
Ensured compiles with Borland's v5 win32 C++ compiler
|
|
|
67 |
that is freely (if you tell them about yourself)
|
|
|
68 |
available. Retested with various versions of DOS
|
|
|
69 |
and Windows. Tree.exe is dual Win32 and DOS executable,
|
|
|
70 |
with both parts compressed with UPX.
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
Jan 18, 2001 pdTree V1.01 Alpha Release KJD
|
|
|
74 |
Implemented proper fix for potential stack overwrites
|
|
|
75 |
on really deep (> 30) directory structures in DOS
|
|
|
76 |
version. Now uses non-recursive function to display
|
|
|
77 |
directory tree, placing necessary information onto
|
|
|
78 |
the heap via a 'stack' object. Depth is still
|
|
|
79 |
limited to available memory, but maintained goal
|
|
|
80 |
of minimal hard coded limits (if there is enough memory
|
|
|
81 |
should be able to handle any number of files or
|
|
|
82 |
subdirectories in a given directory and able to
|
|
|
83 |
handle any depth directory tree up to MAX PATH length).
|
|
|
84 |
|
|
|
85 |
|
|
|
86 |
November, 2000 Fixed relocation table of the dual Win32/DOS binary.
|
|
|
87 |
|
|
|
88 |
|
|
|
89 |
Oct 26, 2000 pdTree V1.00 Initial Release Kenneth J. Davis
|
|
|
90 |
Initial Release version of my public domain tree.
|
|
|
91 |
Initially called Tree (and labeled version 4) in hopes
|
|
|
92 |
it would become the official FreeDOS tree (at version 3),
|
|
|
93 |
but I have since given up on that and officially released
|
|
|
94 |
it as pdTree. Includes the method specified by Borland
|
|
|
95 |
to insure the stack on the DOS version is 40KB instead
|
|
|
96 |
of the default 4KB value. History.txt is now separate
|
|
|
97 |
as it is for the FreeDOS tree (and this is no longer
|
|
|
98 |
attempting to be part of that chain). Updated tree.htm
|
|
|
99 |
to conform to HTML Help 4.1 help files (added <pre></pre>).
|
|
|
100 |
Using unmodified Jim Hall's cats v3.8 now.
|
|
|
101 |
DOS version packed using APACK v0.99b
|
|
|
102 |
http://apack.cjb.net/ - jibz@hotmail.com - Joergen Ibsen
|
|
|
103 |
Copyright (c) 1997-2000 by - Jibz - All Rights Reserved
|
|
|
104 |
Greetings. [Apack is free for noncommerical use - with greeting.]
|
|
|
105 |
Note: apack produces slightly smaller DOS exes than UPX, but
|
|
|
106 |
UPX will make a win32 only binary about 20k.
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
October, 2000 Tree V4.00 Gold Revision G KJD
|
|
|
110 |
Internal version. Not released.
|
|
|
111 |
|
|
|
112 |
Sept 11, 2000 Tree V4.00 Gold Revision F Release KJD
|
|
|
113 |
Recompiled DOS version using small model. Found a
|
|
|
114 |
minor bug in the large model compile. Will be fixed
|
|
|
115 |
in next release (as soon as I figure out the cause).
|
|
|
116 |
DOS version now packed using APACK v0.98b
|
|
|
117 |
http://apack.cjb.net/ - jibz@hotmail.com - Joergen Ibsen
|
|
|
118 |
Copyright (c) 1997-99 by - Jibz - All Rights Reserved
|
|
|
119 |
Greetings.
|
|
|
120 |
[ Apack is free for noncommerical use - requires greeting. ]
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
Sept 7, 2000 Tree V4.00 Gold Revision E Release KJD
|
|
|
124 |
Updated w32fdos.cpp to use far pointers, allowing it
|
|
|
125 |
to used in large and compact memory models.
|
|
|
126 |
Changed traverseTree to reuse buffers instead
|
|
|
127 |
of adding them to the stack with each recursive call.
|
|
|
128 |
|
|
|
129 |
Sept 2, 2000 Tree V4.00 Gold Revision D Release KJD
|
|
|
130 |
Modified tree source to use latest cats (v3.71), it
|
|
|
131 |
includes most of the changes I made to v3.6 for
|
|
|
132 |
prior releases of tree v4. Changed history.txt to
|
|
|
133 |
changes.txt. Added history.txt to reflect FreeDOS
|
|
|
134 |
versions of tree including ones prior to v4 tree.
|
|
|
135 |
Added batch files to aid in compiling.
|
|
|
136 |
|
|
|
137 |
Aug 26, 2000 Tree V4.00 Gold Revision C Updated KJD
|
|
|
138 |
Added Aitor Santamaria Merino's corrected spanish
|
|
|
139 |
translation (tree.es) and changed MAXLINE to support
|
|
|
140 |
lines twice as long. [version change deemed unneccesary
|
|
|
141 |
due to lack of availability of prior release]
|
|
|
142 |
|
|
|
143 |
Aug 25, 2000 Tree V4.00 Gold Revision C Release KJD
|
|
|
144 |
Added check in DOS get volume information for FreeDOS
|
|
|
145 |
returning 0x02=File Not Found, instead of 0x12=No More
|
|
|
146 |
Files when disk has no label.
|
|
|
147 |
|
|
|
148 |
Aug 24, 2000 Tree v4.00 Gold Revision B Release KJD
|
|
|
149 |
Changed argument processing to allow the switch character
|
|
|
150 |
and options to be read in from message catalog. This is
|
|
|
151 |
to allow easy changing of switch character and language
|
|
|
152 |
specific option character(s). Aitor Santamaria Merino
|
|
|
153 |
is helping me to fix my spanish translation.
|
|
|
154 |
Added tree.htm for Joe Cosentino's HTML Help (using
|
|
|
155 |
existing tree.htm from HTML4.ZIP as basis).
|
|
|
156 |
|
|
|
157 |
|
|
|
158 |
Aug 22, 2000 Tree v4.00 Gold Revision A Release KJD
|
|
|
159 |
Added fix so LFN failure detection works properly under
|
|
|
160 |
FreeDOS (beta 5 mini boot disk). Now tree also works
|
|
|
161 |
under FreeDOS (without using /S switch - force shortnames
|
|
|
162 |
only). Also added initial spanish translation.
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
Aug 18, 2000 Tree v4.00 Gold Release KJD
|
|
|
166 |
This version contains fully functional tree (win32 and DOS),
|
|
|
167 |
with support for Long FileNames, [DOS limited] network
|
|
|
168 |
shares using Universal Naming Convention (\\server\share),
|
|
|
169 |
near identical output to NT tree, and support for messages
|
|
|
170 |
catalog (language specific output). Tested under
|
|
|
171 |
WinNT 2000SP1, WinNT 4SP6a, Win98SE, PC DOS 2000, and
|
|
|
172 |
Caldera OpenDOS 7.01 [ Includes minor fixes, such as
|
|
|
173 |
now using official DOS 4+ documented interface to get
|
|
|
174 |
disk serial #. ]
|
|
|
175 |
|
|
|
176 |
Aug 15, 2000 Tree V4.00 Beta4 Release KJD
|
|
|
177 |
Added Long FileName support.
|
|
|
178 |
|
|
|
179 |
Aug 14, 2000 Tree V4.00 Beta3c (Beta3b updated) KJD
|
|
|
180 |
Minor code clean up and fixes for failing on network
|
|
|
181 |
drives (in form \\server\share).
|
|
|
182 |
|
|
|
183 |
Aug 14, 2000 Tree V4.00 Beta3b (Beta3 updated) KJD
|
|
|
184 |
Added a fix to GetVolumeInformation(...) so under NT5
|
|
|
185 |
properly detects failure. NT5 does not change the
|
|
|
186 |
carry flag on int 21h 0x6900, so the only test for
|
|
|
187 |
failure is if it made no changes.
|
|
|
188 |
|
|
|
189 |
Aug 13, 2000 Tree V4.00 Beta3 Release KJD
|
|
|
190 |
Rewrote w32fdos to directly call DOS's findfirst/findnext.
|
|
|
191 |
This is a much better DOS implementation.
|
|
|
192 |
|
|
|
193 |
Aug 13, 2000 Tree V4.00 Beta2 (updated) KJD
|
|
|
194 |
Added support for serial# using DOS 4+ internal
|
|
|
195 |
int 21 0x6900 call.
|
|
|
196 |
|
|
|
197 |
Aug 11, 2000 Tree V4.00 Beta2 Release KJD
|
|
|
198 |
Added DOS support using Borland's findfirst, findnext.
|
|
|
199 |
Supports volume label but not serial #.
|
|
|
200 |
Not a good implementation, but appears to work.
|
|
|
201 |
|
|
|
202 |
Aug 10, 2000 Tree V4.00 Beta Release KJD
|
|
|
203 |
Tested cases produce identical results to WinNT's tree.
|
|
|
204 |
Except return code, which instead of always 0, uses
|
|
|
205 |
PC DOS 2000's return codes. Still Win32 only.
|
|
|
206 |
|
|
|
207 |
Aug 9, 2000 Alpha version (Win32 only) of alternate tree.
|
|
|
208 |
Adding LFN support and message support, so opting
|
|
|
209 |
to rewrite instead of retro fitting FreeDOS tree v3.5
|
|
|
210 |
with LFN findfirst/findnext/findclose and message
|
|
|
211 |
catalog support.
|
|
|
212 |
|
|
|
213 |
Feb 2000 KJD For a short time official maintainer of tree.
|
|
|
214 |
Wanted to add LFN support to tree (current then
|
|
|
215 |
was v3.2 - port to Borland's compilers from v3.1).
|
|
|
216 |
But alas, my time was consumed with my last
|
|
|
217 |
class for my MS in CS. [ And yes I'm still working
|
|
|
218 |
on that, but its near complete so I took a break
|
|
|
219 |
to work on this. ]
|