Skip to content

Commit 7af3bae

Browse files
author
delphidabbler
committed
Merge branch 'feature/remove-websvcs' into develop
2 parents b324936 + 94b09d9 commit 7af3bae

File tree

138 files changed

+3865
-12641
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+3865
-12641
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# .gitignore file for CodeSnip project
1+
# .gitignore file for CodeSnip project
22

33
# Delphi generated temporary files and directories
44
*.local
@@ -15,3 +15,5 @@ Exe
1515
Release
1616
Src/CodeSnip.cfg
1717
Src/AutoGen/IntfExternalObj.pas
18+
Src/Portable/CodeSnipPortable.cfg
19+
Src/Main/AutoGen/IntfExternalObj.pas

Build.html

Lines changed: 3 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -95,62 +95,12 @@ <h2>
9595

9696
<p>
9797
Several DelphiDabbler and other 3rd party libraries and components are
98-
required to compile <em>CodeSnip</em>, most of which are included in the code
99-
repository in the <code>Src/3rdParty</code> directory. Code not included in
100-
the repository is noted below.
98+
required to compile <em>CodeSnip</em>. They are included in the code
99+
repository in the <code>Src/3rdParty</code> directory.
101100
</p>
102101

103-
<h3>
104-
Indy libraries v10
105-
</h3>
106-
107-
<p>
108-
The Indy 10 Internet components ship with Delphi XE.
109-
If you prefer to work with the latest release you can download it from <a
110-
href="http://www.indyproject.org/"
111-
>http://www.indyproject.org/</a>. If you download a copy of Indy 10 you
112-
should compile the source code separately with the same version of Delphi
113-
that is being used to compile <em>CodeSnip</em>.
114-
</p>
115-
116-
<p>
117-
Regardless of whether you are using the version of Indy 10 supplied with
118-
Delphi or if you have downloaded and compiled your own version, you must set
119-
the <code>INDY10</code> environment variable to the directory where you
120-
placed the compiled code.
121-
</p>
122-
123-
<h4 id="indychanges">
124-
Changes between different Indy 10 releases
125-
</h4>
126-
127-
<p>
128-
Changes were made to the parameter lists of the <var>TWorkBeginEvent</var>
129-
and <var>TWorkEvent</var> events between early and later releases of Indy
130-
10. Specifically, earlier versions use type <var>Integer</var> for the
131-
<var>AWorkCount</var> parameter of <var>TWorkEvent</var> and the
132-
<var>AWorkCountMax</var> parameter of <var>TWorkBeginEvent</var>, while
133-
later versions use <var>Int64</var>.
134-
<p>
135-
136-
<p>
137-
<em>CodeSnip</em>'s source code uses conditional compilation to provide the
138-
correct event handler signatures &ndash; and it makes an intelligent guess
139-
at which signature to use depending on the version number provided by the
140-
Indy library code. Should the program fail to compile with an error in the
141-
<var>Web.UDownloadMonitor</var> unit, you should check the event signatures in
142-
your Indy <var>IdComponent</var> unit and then define the
143-
<code>INDY_WORKEVENT_INT64</code> environment variable if <var>Int64</var>
144-
parameters are required or <code>INDY_WORKEVENT_INT32</code> if
145-
<var>Integer</var> parameters are used.
146-
</p>
147-
148-
<h3>
149-
Delphi RTL &amp; VCL
150-
</h3>
151-
152102
<p>
153-
Goes without saying really, but you need the RTL and VCL that ships with
103+
Goes without saying really, but you will also need the RTL and VCL that ships with
154104
Delphi.
155105
</p>
156106

@@ -230,23 +180,6 @@ <h3>
230180
<code>DELPHIROOT</code> will be set to the value of
231181
<code>DELPHIXE</code>.
232182
</dd>
233-
<dt class="spaced">
234-
<code>INDY10</code> - required
235-
</dt>
236-
<dd>
237-
Must be set to the directory where the Indy 10 components are installed.
238-
The code must have been built with the same version of Delphi used to
239-
compile <em>CodeSnip</em>.
240-
</dd>
241-
<dt class="spaced">
242-
<code>INDY_WORKEVENT_INT64</code> <strong>or</strong>
243-
<code>INDY_WORKEVENT_INT32</code> - optional
244-
</dt>
245-
<dd>
246-
<a href="#indychanges">See above</a> for details. If used, only one of
247-
the environment variables may be defined. Defining both causes
248-
compilation to fail.
249-
</dd>
250183
</dl>
251184

252185
<h3>
@@ -391,9 +324,6 @@ <h4>
391324
<li>
392325
<code>DELPHIROOT</code> <strong>or</strong> <code>DELPHIXE</code>
393326
</li>
394-
<li>
395-
<code>INDY10</code>
396-
</li>
397327
</ul>
398328

399329
<h4>
@@ -440,17 +370,6 @@ <h4>
440370
</li>
441371
</ul>
442372

443-
<h4>
444-
Step 4
445-
</h4>
446-
447-
<p>
448-
Set <code>INDY_WORKEVENT_INT64</code> or <code>INDY_WORKEVENT_INT32</code>
449-
if necessary (explained <a
450-
href="#indychanges"
451-
>above</a>).
452-
</p>
453-
454373
<h3>
455374
Get the Source Code
456375
</h3>

Docs/Design/FileFormats/config.html

Lines changed: 10 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,8 @@ <h3>
122122
</p>
123123

124124
<p>
125-
There have been several versions of this file. The current one is version 6.
126-
The change to version 6 came with CodeSnip v4 and the change to Unicode
127-
encoding.
125+
There have been several versions of this file. The current one is version 7.
126+
The change to version 7 came with CodeSnip v4.### and the removal of DelphiDabbler web service support.
128127
</p>
129128

130129
<p>
@@ -150,20 +149,6 @@ <h4>
150149
<dd>
151150
Unique application ID. String of 32 hex digits.
152151
</dd>
153-
<dt>
154-
<strong>RegCode</strong> (String)
155-
</dt>
156-
<dd>
157-
Registration code. String of 32 hex digits. May be empty string or missing
158-
if application not registered.
159-
</dd>
160-
<dt>
161-
<strong>RegName</strong> (String)
162-
</dt>
163-
<dd>
164-
Name of person who registered program. May be empty string or missing if
165-
application not registered.
166-
</dd>
167152
<dt>
168153
<strong>Version</strong> (String)
169154
</dt>
@@ -214,8 +199,8 @@ <h3>
214199
</p>
215200

216201
<p>
217-
There have been several versions of this file. The current one is version 15.
218-
</p>
202+
There have been several versions of this file. The current one is version 16. The change to version 16 came with CodeSnip v4.### and the removal of DelphiDabbler web service support.
203+
</p>
219204

220205
<p>
221206
The file is in INI file format. It has the following sections.
@@ -1158,29 +1143,6 @@ <h4>
11581143
</dd>
11591144
</dl>
11601145

1161-
<h4>
1162-
[Prefs:News] section
1163-
</h4>
1164-
1165-
<p>
1166-
Stores preferences that determine how items from the CodeSnip news feed are
1167-
displayed.
1168-
</p>
1169-
1170-
<p>
1171-
Name / Value pairs:
1172-
</p>
1173-
1174-
<dl class="indent">
1175-
<dt>
1176-
<strong>MaxAge</strong> (Integer)
1177-
</dt>
1178-
<dd>
1179-
Maximum age of a news item that can appear in CodeSnip News dialogue box in
1180-
days. Default is 92 days.
1181-
</dd>
1182-
</dl>
1183-
11841146
<h4>
11851147
[Prefs:Printing] section
11861148
</h4>
@@ -1339,6 +1301,8 @@ <h4>
13391301
</dd>
13401302
</dl>
13411303

1304+
<div class="del">
1305+
13421306
<h4>
13431307
[Prefs:Updating] section
13441308
</h4>
@@ -1371,6 +1335,8 @@ <h4>
13711335
</dd>
13721336
</dl>
13731337

1338+
</div>
1339+
13741340
<h4>
13751341
[ProxyServer] section
13761342
</h4>
@@ -1420,6 +1386,7 @@ <h4>
14201386
</dd>
14211387
</dl>
14221388

1389+
<div class="del">
14231390
<h4>
14241391
[UpdateChecks] section
14251392
</h4>
@@ -1450,6 +1417,7 @@ <h4>
14501417
the Code Snippets Database had been updated.
14511418
</dd>
14521419
</dl>
1420+
</div>
14531421

14541422
<h4>
14551423
[UserInfo] section

Docs/Design/FileFormats/export.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ <h2>
5050

5151
<p>
5252
User defined snippets can be exported from the program for importing into
53-
another program or for submitting to the online database. Exported data is
54-
stored in a single XML file.
53+
another user's user database. Exported data is stored in a single XML file.
5554
</p>
5655

5756
<p>
@@ -64,8 +63,9 @@ <h2>
6463
</h2>
6564

6665
<p>
67-
XML export files use UTF-8 encoding without a byte order mark. XML generated
68-
for submission to the online database is also encoded in UTF-8.
66+
XML export files use UTF-8 encoding without a byte order mark. (In earlier
67+
versions XML generated for submission to the online database is also encoded
68+
in UTF-8. Code submission is no longer supported.)
6969
</p>
7070

7171
<p>
@@ -159,7 +159,8 @@ <h2>
159159
</dt>
160160
<dd>
161161
Contains information about user who created the file (omitted for normal
162-
exports &ndash; included for submissions to the online database).
162+
exports &ndash; (In earlier versions this was included with submissions to
163+
the online database. Submission to the database is no longer supported.)
163164
</dd>
164165

165166
<dt>

Docs/Design/FileFormats/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ <h1>
6565
<li>
6666
<a href="main-db-update.html">Main Database Update Data Stream</a>
6767
</li>
68-
<li>
69-
<a href="news-rss.html">News RSS Stream</a>
70-
</li>
7168
<li>
7269
<a href="saved.html">Saved Files</a>
7370
</li>

Docs/Design/FileFormats/main.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,8 @@ acronym {
165165
font-style: italic;
166166
font-weight: bold;
167167
}
168+
169+
.del {
170+
text-decoration: line-through;
171+
color: gray;
172+
}

Docs/Design/FileFormats/news-rss.html

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)