Subversion Repositories oidplus

Compare Revisions

No changes between revisions

Regard whitespace Rev 233 → Rev 234

/trunk_win311/Db/OID.ini
1,6 → 1,3
; 16384
; 8192
 
[OID:]
delegates=3
delegate1=OID:0
8,7 → 5,7
delegate3=OID:2
 
[OID:0]
createdate=05.04.2020
createdate=04.04.2020
ra=
description=International Telecommunication Union - Telecommunication standardization sector (ITU-T)
draft=0
36,8 → 33,7
information=AAWFHRIE.TXT
asn1id=example
updatedate=04.04.2020
delegates=1
delegate1=
delegates=0
 
[OID:1]
description=International Organization for Standardization (ISO)
109,12 → 105,11
description=Members
asn1id=members
updatedate=04.04.2020
delegates=5
delegates=4
delegate1=OID:1.3.6.1.4.1.37476.1.1
delegate2=OID:1.3.6.1.4.1.37476.1.2
delegate3=OID:1.3.6.1.4.1.37476.1.3
delegate4=OID:1.3.6.1.4.1.37476.1.4
delegate5=OID:1.3.6.1.4.1.37476.1.5
 
[OID:1.3.6.1.4.1.37476.1.1]
createdate=04.04.2020
132,11 → 127,11
 
[OID:1.3.6.1.4.1.37476.1.3]
createdate=04.04.2020
ra=
ra=RA:VTS-DUEPJOHANN
delegates=0
description=Michael Düpjohann
asn1id=mduepjohann
updatedate=4.5.2020
updatedate=04.04.2020
 
[OID:1.3.6.1.4.1.37476.1.4]
createdate=04.04.2020
145,10 → 140,3
asn1id=thommy,tbretzke
updatedate=04.04.2020
 
[OID:1.3.6.1.4.1.37476.1.5]
createdate=05.04.2020
ra=RA:VIATHINKSOFT
description=test
updatedate=05.04.2020
asn1id=test
 
/trunk_win311/Db/RA.ini
1,27 → 1,11
[RA:]
count=13
ra1=
ra2=
ra3=
ra4=
ra5=RA:VIATHINKSOFT
ra6=RA:VTS-MARSCHALL
ra7=RA:VTS-NEGOESCU
ra8=
ra9=
ra10=RA:VTS-BRETZKE
ra11=
ra12=
ra13=
count=5
ra1=RA:VIATHINKSOFT
ra2=RA:VTS-MARSCHALL
ra3=RA:VTS-NEGOESCU
ra4=RA:VTS-DUEPJOHANN
ra5=RA:VTS-BRETZKE
 
[RA:OLIVIER]
name=Olivier
updatedate=04.04.2020
 
[RA:MARSCHALL]
name=Daniel Marschall
updatedate=04.04.2020
 
[RA:VIATHINKSOFT]
createdate=04.04.2020
name=ViaThinkSoft
37,12 → 21,12
name=Victor-Philipp Negoescu
updatedate=04.04.2020
 
[RA:VTS-BRETZKE]
[RA:VTS-DUEPJOHANN]
createdate=04.04.2020
name=Thomas Bretzke
name=Michael Düpjohann
updatedate=04.04.2020
 
[RA:VTS-THOMMY]
[RA:VTS-BRETZKE]
createdate=04.04.2020
name=Thomas Bretzke
updatedate=04.04.2020
 
/trunk_win311/Main.dfm
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk_win311/Main.pas
12,28 → 12,7
TForm1 = class(TForm)
Outline1: TOutline;
Notebook1: TNotebook;
Label1: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
Label7: TLabel;
Label15: TLabel;
Edit3: TEdit;
Memo1: TMemo;
Edit4: TEdit;
CheckBox1: TCheckBox;
ComboBox1: TComboBox;
Edit5: TEdit;
Edit6: TEdit;
ListBox1: TListBox;
Edit7: TEdit;
Button1: TButton;
Button3: TButton;
Button2: TButton;
Button4: TButton;
Edit1: TEdit;
Button6: TButton;
Label2: TLabel;
Label8: TLabel;
Label9: TLabel;
54,6 → 33,29
Label14: TLabel;
Edit8: TEdit;
Button7: TButton;
Panel1: TPanel;
Label1: TLabel;
Label3: TLabel;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
Label7: TLabel;
Edit3: TEdit;
Edit4: TEdit;
CheckBox1: TCheckBox;
ComboBox1: TComboBox;
Edit5: TEdit;
Edit6: TEdit;
ListBox1: TListBox;
Edit7: TEdit;
Button1: TButton;
Button3: TButton;
Panel2: TPanel;
Button2: TButton;
Button4: TButton;
Edit1: TEdit;
Button6: TButton;
Label15: TLabel;
procedure Outline1Change(Sender: TObject; Node: integer);
procedure Button1Click(Sender: TObject);
procedure Button3Click(Sender: TObject);
746,67 → 748,6
end;
end;
 
function DirectoryExists(const Directory: string; FollowLink: Boolean): Boolean; { Source: Delphi 10.3.3 }
{
var
Code: Cardinal;
Handle: THandle;
LastError: Cardinal;
const
faSymLink = $00000400; // Available on POSIX and Vista and above
INVALID_FILE_ATTRIBUTES = DWORD($FFFFFFFF);
begin
Result := False;
Code := GetFileAttributes(PChar(Directory));
 
if Code <> INVALID_FILE_ATTRIBUTES then
begin
if faSymLink and Code = 0 then
Result := faDirectory and Code <> 0
else
begin
if FollowLink then
begin
Handle := CreateFile(PChar(Directory), GENERIC_READ, FILE_SHARE_READ, nil,
OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, 0);
if Handle <> INVALID_HANDLE_VALUE then
begin
CloseHandle(Handle);
Result := faDirectory and Code <> 0;
end;
end
else if faDirectory and Code <> 0 then
Result := True
else
begin
Handle := CreateFile(PChar(Directory), GENERIC_READ, FILE_SHARE_READ, nil,
OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, 0);
if Handle <> INVALID_HANDLE_VALUE then
begin
CloseHandle(Handle);
Result := False;
end
else
Result := True;
end;
end;
end
else
begin
LastError := GetLastError;
Result := (LastError <> ERROR_FILE_NOT_FOUND) and
(LastError <> ERROR_PATH_NOT_FOUND) and
(LastError <> ERROR_BAD_PATHNAME) and
(LastError <> ERROR_INVALID_NAME) and
(LastError <> ERROR_BAD_NETPATH) and
(LastError <> ERROR_NOT_READY) and
(LastError <> ERROR_BAD_NET_NAME);
end;
}
begin
{ TODO }
end;
 
function IniValueExists(ini: TIniFile; const Section, Ident: string): Boolean;
var
S: TStrings;
820,6 → 761,22
end;
end;
 
var
MkDirTriedOnce: boolean; { Avoid that the debugger always shows the exception }
procedure MakeDirIfRequired(dirname: string);
begin
if dirname[Length(dirname)] = '\' then dirname := Copy(dirname, 1, Length(dirname)-1);
 
if not MkDirTriedOnce then
begin
try
MkDir(dirname);
except
end;
MkDirTriedOnce := true;
end;
end;
 
function TForm1.DBPath: string;
var
ini: TIniFile;
836,11 → 793,7
begin
result := ini.ReadString('SETTINGS', 'DATA', 'DB\');
end;
if not DirectoryExists(result, true) then MkDir(result);
if not DirectoryExists(result, true) then
begin
ShowError('Cannot create database directory '+result);
end;
MakeDirIfRequired(result);
finally
ini.Free;
end;
927,7 → 880,7
if Key in ['a'..'z'] then Key := UpCase(Key);
if not (Key in ['A'..'Z', '-']) then
begin
{ Beep; TODO }
MessageBeep(0);
Key := #0;
end;
end;
989,7 → 942,7
end
else
begin
{ Beep; TODO }
MessageBeep(0);
end;
 
Key := 0;
/trunk_win311/OIDPLUS.exe
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
/trunk_win311/OIDPLUS.opt
1,11 → 1,11
[Compiler]
A=1
B=0
D=1
D=0
F=0
I=1
K=1
L=1
L=0
P=1
Q=0
R=0
15,7 → 15,7
V=1
W=0
X=1
Y=1
Y=0
 
[Linker]
MapFile=0
/trunk_win311/screenshot.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream