Skip to content

Commit 1140781

Browse files
author
delphidabbler
committed
Fix errors and omissions
1 parent 407944f commit 1140781

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

_software/consoleapp.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ <h2 class="panel-title">
2727
</div>
2828
<div class="panel-body">
2929
<p>
30-
The <em>Console Application Runner</em> classes are designed to be used to control the execution of child console application processes. There are two classes: a class named <var>TPJCustomConsoleApp</var> that is provided a base class for user-defined sub-classes, and <var>TPJConsoleApp</var> that is used to provide a general way to run and manipulate console applications. Both classes are provided in a single unit, <var>PJConsoleApp</var>.
30+
The <em>Console Application Runner</em> classes are designed to be used to control the execution of child console application processes. There are two classes: a class named <var>TPJCustomConsoleApp</var> that is provided as a base class for user-defined sub-classes, and <var>TPJConsoleApp</var> that is used to provide a general way to run and manipulate console applications. Both classes are provided in a single unit, <var>PJConsoleApp</var>.
3131
</p>
3232
<p>
33-
The classes enable the console application's standard input, standard output and standard error to be redirected to and from files or pipes. They can also timeslice the running of the console application to enable the calling application to continue processing and to enable redirected piped output to be processed.
33+
The classes enable the console application's standard input, standard output and standard error to be redirected to and from files or pipes. They can also timeslice the running of the console application to enable the calling application to continue processing in parallel and to enable redirected output to be processed.
3434
</p>
3535

3636
<h3 data-toggle="collapse" data-target="#demo" class="collapsible collapsed">
@@ -58,7 +58,7 @@ <h3 data-toggle="collapse" data-target="#deleted-code" class="collapsible collap
5858
</h3>
5959
<div id="deleted-code" class="collapse callout callout-danger"> <!-- begin collapsible #deleted-code section -->
6060
<p>
61-
As of v3.0 the <var>TPJPipe</var>, <var>TPJPipeFilters</var> &amp; <var>TPJFileHandle</var> classes were removed from the project into a separate project: <a href="{{ site.base-url }}{{ site.data.core.software-base-url}}/ioutils.html">I/O Utility Classes</a>.
61+
As of v3.0 the <var>TPJPipe</var>, <var>TPJPipeFilters</var> &amp; <var>TPJFileHandle</var> classes were removed from the project into <a href="{{ site.base-url }}{{ site.data.core.software-base-url}}/ioutils.html">I/O Utility Classes</a>.
6262
</p>
6363
</div> <!-- /#deleted-code -->
6464
</div>
@@ -136,7 +136,7 @@ <h2 class="panel-title">
136136
The simplest way is to add <code>PJConsoleApp.pas</code> to your projects as and when you need it.
137137
</li>
138138
<li>
139-
To make the unit easier to re-use you can either copy it to a folder on your Delphi search path, or add the folder where you extracted the units to the search path. You then simply use the units as required without needing to add them to your project.
139+
To make the unit easier to re-use you can either copy it to a folder on your Delphi search path, or add the folder where you extracted the unit to the search path. You then simply use the unit as required without needing to add them to your project.
140140
</li>
141141
<li>
142142
For maximum portability you can add the unit to a Delphi design time package. If you need help doing this <a href="http://delphidabbler.com/tips/106" aria-title="see a tip on working with design time packages">see here</a>.

_software/dropfiles.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ <h2 class="panel-title">
7474
Some design time assistance is provided by component and property editors.
7575
</p>
7676
<p class="alert alert-warning glyph">
77-
For security reasons in Windows Vista and later, drag/drop is disallowed between windows with different security permissions. This means that applications that processes drag and drop may not be able to receive files dragged and droppped from another window if the security permissions are not compatible. <strong>This is not a bug.</strong>
77+
For security reasons in Windows Vista and later, drag/drop is disallowed between windows with different security permissions. This means that applications that processes drag and drop may not be able to receive files dragged and droppped from another window if the security permissions are not compatible.<br><strong><span class="fa fa-times-circle fa-x-pad-right" aria-hidden="true"></span>Please do not report this behaviour as a bug<span class="fa fa-times-circle fa-x-pad-left" aria-hidden="true"></span></strong>
7878
</p>
7979

8080
<h3 data-toggle="collapse" data-target="#features" class="collapsible collapsed">
@@ -84,7 +84,7 @@ <h3 data-toggle="collapse" data-target="#features" class="collapsible collapsed"
8484
<p>
8585
Key features of <var>TPJDropFiles</var>, <var>TPJCtrlDropFiles</var> and <var>TPJFormDropFiles</var> are:
8686
</p>
87-
<ul>
87+
<ul class="wide">
8888
<li>
8989
An <var>OnDropFiles</var> event is triggered when files are dropped.
9090
</li>
@@ -143,7 +143,7 @@ <h3 data-toggle="collapse" data-target="#how-it-works" class="collapsible collap
143143
<var>TPJDropFiles</var> notifies Windows that it accepts file drop operations by using the <var>DragAcceptFiles</var> API call. It then responds to <var>WM_DROPFILES</var> messages sent by Windows whenever files are dropped on its window.
144144
</p>
145145
<p>
146-
<var>TPJFormDropFiles</var> and <var>TPJCtrlDropFiles</var> act in a similar way to <var>TPJDropFiles</var> except that they subclass an associated window and respond to <var>WM_DROPFILES</var> messages on the window's behalf. <var>TPJFormDropFiles</var> subclasses its owner form while <var>TPJCtrlDropFiles</var> subclasses the window of an associated <var>TWinControl</var>. These last components derive from a common abstract base class.
146+
<var>TPJFormDropFiles</var> and <var>TPJCtrlDropFiles</var> act in a similar way to <var>TPJDropFiles</var> except that they subclass an associated window and respond to <var>WM_DROPFILES</var> messages on the window's behalf. <var>TPJFormDropFiles</var> subclasses its owner form while <var>TPJCtrlDropFiles</var> subclasses the window of an associated <var>TWinControl</var>. The last two components derive from a common abstract base class.
147147
</p>
148148
<p>
149149
For further information about how to handle files dropped on an application from Explorer, please see my article &quot;<a href="http://delphidabbler.com/articles?article=11">How to catch files dragged and dropped on an application from Explorer</a>&quot;.

_software/envvars.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ <h2 class="panel-title">
2929
<p>
3030
This unit provides a static class for reading and modifying the environment variables available to the current process, along with a class that can be used to enumerate environment variable names.
3131
</p>
32-
<p class="alert alert-info glyph">
33-
The unit also contains a component and a set of routines that duplicate some of the features provided by the static class. These are now <strong>deprecated</strong> and are provided for backward compatibility reasons only: they should no longer be used in new code.
32+
<p class="alert alert-warning glyph">
33+
The unit also contains a component and a set of routines that duplicate some of the features provided by the static class. These are now <strong>deprecated</strong> and are provided for backward compatibility reasons only: they should no longer be used in new code and may be removed from future releases.
3434
</p>
3535
<h3 data-toggle="collapse" data-target="#features" class="collapsible collapsed">
3636
Features
@@ -50,7 +50,7 @@ <h3 data-toggle="collapse" data-target="#features" class="collapsible collapsed"
5050
Get the number of environment variables in the environment block along with the size of the block.
5151
</li>
5252
<li>
53-
List and enumerate the names, or names and value, of all environment variables in the environment block.
53+
List and enumerate the names, or names and values, of all environment variables in the environment block.
5454
</li>
5555
<li>
5656
Create a new environment block suitable for passing to a child process.
@@ -78,7 +78,7 @@ <h3 data-toggle="collapse" data-target="#how-it-works" class="collapsible collap
7878
</h3>
7979
<div id="how-it-works" class="collapse"> <!-- begin collapsible #how-it-works section -->
8080
<p>
81-
This unit uses ideas from my article &quot;<a href="http://delphidabbler.com/articles?article=6">How to access environment variables</a>&quot;. The article shows how to develop routines similar to some of those in this unit and discusses their operation.
81+
This unit uses ideas from my article &quot;<a href="http://delphidabbler.com/articles?article=6">How to access environment variables</a>&quot;. The article shows how to develop routines similar to some of the methods in this unit and discusses their operation.
8282
</p>
8383
</div> <!-- /#how-it-works -->
8484
</div>
@@ -129,14 +129,14 @@ <h2 class="panel-title">
129129
</p>
130130
<ul class="list-group">
131131
<li class="list-group-item">
132-
<strong><code>PJEnvVars.pas</code></strong> &ndash; the <em>Environment Variables Unit</em> contains all source code, including the deprecated component, but excluding the component registration code.
132+
<strong><code>PJEnvVars.pas</code></strong> &ndash; contains all source code, including the deprecated component, but excluding the component registration code.
133133
</li>
134134
<li class="list-group-item">
135135
<strong><code>PJEnvVars.dcr</code></strong> &ndash; component palette
136-
glyph for the deprecated component.
136+
glyph for the deprecated component. <span class="text-warning bg-warning glyph">Deprecated</span>
137137
</li>
138138
<li class="list-group-item">
139-
<strong><code>PJEnvVarsDsgn.pas</code></strong> &ndash; registration code for the deprecated component.
139+
<strong><code>PJEnvVarsDsgn.pas</code></strong> &ndash; registration code for the deprecated component. <span class="text-warning bg-warning glyph">Deprecated</span>
140140
</li>
141141
<li class="list-group-item">
142142
<code>ReadMe.htm</code> &ndash; read-me file.
@@ -227,7 +227,7 @@ <h2 class="panel-title">
227227
<div class="panel-body">
228228
<p>
229229
<span class="fa fa-copyright fa-pull-left fa-3x"></span>
230-
The <em>Environment Variables Unit</em> is open source. They are copyright &copy; 1998-2014 by <a href="http://en.gravatar.com/delphidabbler" aria-label="Peter Johnson's Gravatar account">Peter Johnson</a>. The source code is made available under the terms of the <a href="http://www.mozilla.org/MPL/2.0/" aria-label="Mozilla Public License v2.0 on mozilla.org">Mozilla Public License v2.0</a>. All relevant trademarks are acknowledged.
230+
The <em>Environment Variables Unit</em> is open source. It is copyright &copy; 2001-2014 by <a href="http://en.gravatar.com/delphidabbler" aria-label="Peter Johnson's Gravatar account">Peter Johnson</a>. The source code is made available under the terms of the <a href="http://www.mozilla.org/MPL/2.0/" aria-label="Mozilla Public License v2.0 on mozilla.org">Mozilla Public License v2.0</a>. All relevant trademarks are acknowledged.
231231
</p>
232232
</div>
233233
</section>

_software/fractions.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ <h2 class="panel-title">
3030
This unit, named <code>DelphiDabbler.Lib.Fractions.pas</code>, provides a single Delphi Pascal &quot;Advanced&quot; record, <var>TFraction</var>, that encapsulates a fraction and a number of operations on it.
3131
</p>
3232
<p>
33-
A whole bunch of operator overloads make it straightforward to perform all the usual arithmetic operations on a fraction and to cast a <var>TFraction</var> to a from an integer or floating point value.
33+
A whole bunch of operator overloads make it straightforward to perform all the usual arithmetic operations on a fraction and to cast a <var>TFraction</var> to and from an integer or floating point value.
3434
</p>
3535
<h3>
3636
Testing
@@ -112,7 +112,7 @@ <h2 class="panel-title">
112112
The simplest way is to add <code>DelphiDabbler.Lib.Fractions.pas</code> to your projects as you need it.
113113
</li>
114114
<li>
115-
To make the unit easier to re-use you can either copy it to a folder on your Delphi search path, or add the folder where you extracted the unit to the Delphi Search path. You then simply use the unit as required without needing to add it to your project.
115+
To make the unit easier to re-use you can either copy it to a folder on your Delphi search path, or add the folder where you extracted the unit to the search path. You then simply use the unit as required without needing to add it to your project.
116116
</li>
117117
<li>
118118
For maximum portability you can add the unit to a Delphi design time package. If you need help doing this <a href="http://delphidabbler.com/tips/106" aria-title="see a tip on working with design time packages">see here</a>.

0 commit comments

Comments
 (0)