Skip to content

Commit 97b43e2

Browse files
+ Update header and license
1 parent 0f9878c commit 97b43e2

File tree

2 files changed

+57
-24
lines changed

2 files changed

+57
-24
lines changed

data_control/uJSON.pas

+44-18
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,53 @@
1+
(******************************************************************************)
2+
(* uJSON.pas ??.??.???? *)
3+
(* *)
4+
(* Version : 0.13 *)
5+
(* *)
6+
(* Author : Uwe Schächterle (Corpsman) *)
7+
(* *)
8+
(* Support : www.Corpsman.de *)
9+
(* *)
10+
(* Description : Own implementation of a JSON-Parser *)
11+
(* *)
12+
(* License : See the file license.md, located under: *)
13+
(* https://github.com/PascalCorpsman/Software_Licenses/blob/main/license.md *)
14+
(* for details about the license. *)
15+
(* *)
16+
(* It is not allowed to change or remove this text from any *)
17+
(* source file of the project. *)
18+
(* *)
19+
(* Warranty : There is no warranty, neither in correctness of the *)
20+
(* implementation, nor anything other that could happen *)
21+
(* or go wrong, use at your own risk. *)
22+
(* *)
23+
(* Known Issues: Wenn der zu Parsende Text kein Gültiges JSON ist, *)
24+
(* entstehen Speicherlöcher ! *)
25+
(* *)
26+
(* History : 0.01 - Initial version *)
27+
(* 0.02 = In Array's erlauben, dass anstatt eines Nodes auch *)
28+
(* einfach nur ein String steht *)
29+
(* 0.03 = TJSONArray.clear *)
30+
(* 0.04 = Fix Parsing Error, Array of Array *)
31+
(* 0.05 = FindPath *)
32+
(* 0.06 = Abstieg in ArrayElemente in Findpath ging nicht *)
33+
(* 0.07 = Optional // und /* */ Kommentare wie in JSON5 *)
34+
(* 0.08 = Uncommenter unterstützt nun StringLiterale *)
35+
(* -> Besserer Support für JSON5 Kommentare *)
36+
(* 0.09 = Array Parsing erlaubte "zu viel" ungültiges *)
37+
(* -> Parser Verschärft *)
38+
(* 0.10 = Einführen des Feldes "Tag" *)
39+
(* 0.11 = TJSONComment -> nur im "erstellen" mode sinnvoll *)
40+
(* 0.12 = .Clone Function *)
41+
(* 0.13 = Erste Versuche eine Zeilennummer aus zu geben, wenn *)
42+
(* der JSON Text falsch ist.. *)
43+
(* *)
44+
(******************************************************************************)
145
Unit uJSON;
246

347
{$MODE objfpc}{$H+}
448

549
Interface
650

7-
(*
8-
* Historie: 0.01 = Initial version
9-
* 0.02 = In Array's erlauben, dass anstatt eines Nodes auch einfach nur ein String steht
10-
* 0.03 = TJSONArray.clear
11-
* 0.04 = Fix Parsing Error, Array of Array
12-
* 0.05 = FindPath
13-
* 0.06 = Abstieg in ArrayElemente in Findpath ging nicht
14-
* 0.07 = Optional // und /* */ Kommentare wie in JSON5
15-
* 0.08 = Uncommenter unterstützt nun StringLiterale -> Besserer Support für JSON5 Kommentare
16-
* 0.09 = Array Parsing erlaubte "zu viel" ungültiges -> Parser Verschärft
17-
* 0.10 = Einführen des Feldes "Tag"
18-
* 0.11 = TJSONComment -> nur im "erstellen" mode sinnvoll
19-
* 0.12 = .Clone Function
20-
* 0.13 = Erste Versuche eine Zeilennummer aus zu geben, wenn der JSON Text falsch ist..
21-
*
22-
* Known Bugs: Wenn der zu Parsende Text kein Gültiges JSON ist, entstehen Speicherlöcher !
23-
*)
24-
2551
(*
2652
* Den untenstehenden Text auf
2753
*

data_control/uvectormath.pas

+13-6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
(******************************************************************************)
2-
(* Autor : Corpsman 12.11.2014 *)
2+
(* uvectormat.pas 12.11.2014 *)
3+
(* *)
4+
(* Version : 0.16 *)
5+
(* *)
6+
(* Author : Uwe Schächterle (Corpsman) *)
37
(* *)
48
(* Support : www.Corpsman.de *)
59
(* *)
@@ -9,18 +13,21 @@
913
(* with the OpenGL standard if used single as TBasetype. *)
1014
(* In Memory the data is stored Column-Major *)
1115
(* *)
12-
(* License : This unit is freeware, for non commercial use only. *)
16+
(* License : See the file license.md, located under: *)
17+
(* https://github.com/PascalCorpsman/Software_Licenses/blob/main/license.md *)
18+
(* for details about the license. *)
19+
(* *)
20+
(* It is not allowed to change or remove this text from any *)
21+
(* source file of the project. *)
1322
(* *)
1423
(* Warranty : There is no warranty, neither in correctness of the *)
1524
(* implementation, nor anything other that could happen *)
16-
(* or go wrong. *)
25+
(* or go wrong, use at your own risk. *)
1726
(* *)
1827
(* Known Issues: The operand * is cross-product not component-wise product *)
1928
(* = Hadamerd Produkt *)
2029
(* *)
21-
(* Version : 0.16 *)
22-
(* *)
23-
(* Historie : 0.01 Basisimplementierung *)
30+
(* History : 0.01 Basisimplementierung *)
2431
(* 0.02 PointInTriangle *)
2532
(* CalculateTriangleArea *)
2633
(* PointsToCircumCircle *)

0 commit comments

Comments
 (0)