Skip to content

Commit afb05ff

Browse files
author
delphidabbler
committed
Merge branch 'feature/update-library-code' into develop
2 parents b0a885b + cb5a437 commit afb05ff

File tree

6 files changed

+505
-117
lines changed

6 files changed

+505
-117
lines changed

Src/3rdParty/PJMD5.pas

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
44
* obtain one at http://mozilla.org/MPL/2.0/
55
*
6-
* Copyright (C) 2010-2013, Peter Johnson (www.delphidabbler.com).
6+
* Copyright (C) 2010-2014, Peter Johnson (www.delphidabbler.com).
77
*
8-
* $Rev$
9-
* $Date$
8+
* $Rev: 1515 $
9+
* $Date: 2014-01-11 02:36:28 +0000 (Sat, 11 Jan 2014) $
1010
*
1111
* This unit is a Delphi Pascal implementation of the MD5 Message-Digest
1212
* algorithm. See RFC1321 (http://www.faqs.org/rfcs/rfc1321.html).
@@ -31,12 +31,15 @@
3131
{$UNDEF CANCOMPILE}
3232
{$UNDEF RTLNAMESPACES}
3333
{$IFDEF CONDITIONALEXPRESSIONS}
34-
{$IF CompilerVersion >= 20.0} // Delphi 2009
35-
{$DEFINE CANCOMPILE}
34+
{$IF CompilerVersion >= 24.0} // Delphi XE3 and later
35+
{$LEGACYIFEND ON} // NOTE: this must come before all $IFEND directives
3636
{$IFEND}
37-
{$IF CompilerVersion >= 23.0} // Delphi XE2
37+
{$IF CompilerVersion >= 23.0} // Delphi XE2 and later
3838
{$DEFINE RTLNAMESPACES}
3939
{$IFEND}
40+
{$IF CompilerVersion >= 20.0} // Delphi 2009 and later
41+
{$DEFINE CANCOMPILE}
42+
{$IFEND}
4043
{$ENDIF}
4144
{$IFNDEF CANCOMPILE}
4245
{$MESSAGE FATAL 'Delphi 2009 or later required'}

Src/3rdParty/PJShellFolders.pas

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
44
* obtain one at http://mozilla.org/MPL/2.0/
55
*
6-
* Copyright (C) 2001-2013, Peter Johnson (www.delphidabbler.com).
6+
* Copyright (C) 2001-2014, Peter Johnson (www.delphidabbler.com).
77
*
8-
* $Rev$
9-
* $Date$
8+
* $Rev: 1515 $
9+
* $Date: 2014-01-11 02:36:28 +0000 (Sat, 11 Jan 2014) $
1010
*
1111
* Run time unit that defines shell folders components, classes and routines.
1212
}
@@ -27,17 +27,20 @@ interface
2727
{$DEFINE DELPHI5ANDUP}
2828
{$ENDIF}
2929
{$IFDEF CONDITIONALEXPRESSIONS}
30-
{$IF CompilerVersion >= 14.0} // Delphi 6 and later
31-
{$DEFINE DELPHI5ANDUP}
32-
{$DEFINE DELPHI6ANDUP}
30+
{$IF CompilerVersion >= 24.0} // Delphi XE3 and later
31+
{$LEGACYIFEND ON} // NOTE: this must come before all $IFEND directives
32+
{$IFEND}
33+
{$IF CompilerVersion >= 23.0} // Delphi XE2 and later
34+
{$DEFINE RTLNameSpaces}
3335
{$IFEND}
3436
{$IF CompilerVersion >= 15.0} // Delphi 7 and later
3537
{$DEFINE DELPHI7ANDUP}
3638
{$WARN UNSAFE_CODE OFF}
3739
{$WARN UNSAFE_CAST OFF}
3840
{$IFEND}
39-
{$IF CompilerVersion >= 23.0} // Delphi XE2
40-
{$DEFINE RTLNameSpaces}
41+
{$IF CompilerVersion >= 14.0} // Delphi 6 and later
42+
{$DEFINE DELPHI5ANDUP}
43+
{$DEFINE DELPHI6ANDUP}
4144
{$IFEND}
4245
{$ENDIF}
4346

Src/3rdParty/PJStreamWrapper.pas

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
44
* obtain one at http://mozilla.org/MPL/2.0/
55
*
6-
* Copyright (C) 2000-2013, Peter Johnson (www.delphidabbler.com).
6+
* Copyright (C) 2000-2014, Peter Johnson (www.delphidabbler.com).
77
*
8-
* $Rev$
9-
* $Date$
8+
* $Rev: 1515 $
9+
* $Date: 2014-01-11 02:36:28 +0000 (Sat, 11 Jan 2014) $
1010
*
1111
* Defines the TPJStreamWrapper class. This is a base class for descendant
1212
* classes that "wrap" a TStream class to provide some form of filter or
@@ -22,14 +22,17 @@
2222
{$UNDEF SUPPORTS_TSTREAM64}
2323
{$UNDEF RTLNAMESPACES}
2424
{$IFDEF CONDITIONALEXPRESSIONS}
25-
{$IF CompilerVersion >= 14.0} // >= Delphi 6
26-
{$DEFINE SUPPORTS_TSTREAM64}
25+
{$IF CompilerVersion >= 24.0} // Delphi XE3 and later
26+
{$LEGACYIFEND ON} // NOTE: this must come before all $IFEND directives
27+
{$IFEND}
28+
{$IF CompilerVersion >= 23.0} // Delphi XE2 and later
29+
{$DEFINE RTLNAMESPACES}
2730
{$IFEND}
28-
{$IF CompilerVersion >= 18.0} // >= Delphi 2006
31+
{$IF CompilerVersion >= 18.0} // Delphi 2006 and later
2932
{$DEFINE SUPPORTS_STRICT}
3033
{$IFEND}
31-
{$IF CompilerVersion >= 23.0} // >= Delphi XE2
32-
{$DEFINE RTLNAMESPACES}
34+
{$IF CompilerVersion >= 14.0} // Delphi 6 and later
35+
{$DEFINE SUPPORTS_TSTREAM64}
3336
{$IFEND}
3437
{$ENDIF}
3538

0 commit comments

Comments
 (0)