Skip to content

Commit 4c35b68

Browse files
committed
Updated info
1 parent 6e05b33 commit 4c35b68

File tree

4 files changed

+28
-7
lines changed

4 files changed

+28
-7
lines changed

Delphinus.Info.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
"license_file": "LICENSE.txt",
77
"platforms": "Win32;Win64;OSX32;Android;IOSDevice32;IOSDevice64;Linux64",
88
"package_compiler_min": 22,
9-
"package_compiler_max": 35,
9+
"package_compiler_max": 36,
1010
"compiler_min": 22,
11-
"compiler_max": 35,
11+
"compiler_max": 36,
1212
"first_version": "1.0",
1313
"report_url": "",
1414
"dependencies":

Quick.Data.Redis.pas

+3-3
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ TRedisClient = class
144144
function RedisZRANGE(const aKey : string; aStartPosition, aEndPosition : Int64) : TArray<string>;
145145
function RedisZRANGEBYSCORE(const aKey : string; aMinScore, aMaxScore : Int64) : TArray<TRedisSortedItem>;
146146
function RedisLLEN(const aKey : string): Integer;
147-
function RedisTTL(const aKey: string): Integer;
147+
function RedisTTL(const aKey, aValue : string): Integer;
148148
function RedisAUTH(const aPassword : string) : Boolean;
149149
function RedisPING : Boolean;
150150
function RedisQUIT : Boolean;
@@ -469,15 +469,15 @@ function TRedisClient.RedisLLEN(const aKey : string): Integer;
469469
end;
470470
end;
471471

472-
function TRedisClient.RedisTTL(const aKey : string): Integer;
472+
function TRedisClient.RedisTTL(const aKey, aValue : string): Integer;
473473
var
474474
rediscmd : IRedisCommand;
475475
response : IRedisResponse;
476476
begin
477477
Result := 0;
478478
rediscmd := TRedisCommand.Create('TTL')
479479
.AddArgument(aKey)
480-
;
480+
.AddArgument(aValue);
481481
response := Command(rediscmd.ToCommand);
482482
if response.IsDone then
483483
begin

QuickLib.inc

+21-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
This file is part of QuickLib: https://github.com/exilon/QuickLib
33
4-
QuickLibs. Copyright (C) 2022 Kike Pérez
4+
QuickLibs. Copyright (C) 2024 Kike Pérez
55
Exilon - https://www.exilon.es
66
77
***************************************************************************
@@ -169,6 +169,26 @@
169169
{$define NEXTGEN} //compatibility with older delphis
170170
{$endif}
171171
{$endif}
172+
{$if CompilerVersion >= 36.0} //Delphi RX12 Athens
173+
{$define DELPHIRX12_UP}
174+
{$define DELPHIATHENS_UP}
175+
{$UNDEF DELPHILINUX}
176+
{$if defined(POSIX)}
177+
{$DEFINE LINUX}
178+
{$if defined(CPUARM)}
179+
{$if defined(MACOS)}
180+
{$ELSE}
181+
{$DEFINE ANDROID}
182+
{$ENDIF}
183+
{$ELSE}
184+
{$DEFINE LINUX}
185+
{$DEFINE DELPHILINUX}
186+
{$ENDIF}
187+
{$ENDIF}
188+
{$if defined(ANDROID) OR defined(IOS)}
189+
{$define NEXTGEN} //compatibility with older delphis
190+
{$endif}
191+
{$endif}
172192
{$else}
173193
//Delphi 5 or older
174194
{$define DELPHI6OROLDER}

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![alt text](docs/QuickLib.png "QuickLib")
22

3-
QuickLib is a delphi/Firemonkey(Windows, Linux, Android, OSX & IOS) and fpc(Windows & Linux) library containing interesting and quick to implement functions, created to simplify application development and crossplatform support and improve productivity. Delphi XE8 - Delphi 11 Alexandria supported.
3+
QuickLib is a delphi/Firemonkey(Windows, Linux, Android, OSX & IOS) and fpc(Windows & Linux) library containing interesting and quick to implement functions, created to simplify application development and crossplatform support and improve productivity. Delphi XE8 - Delphi 12 Athens supported.
44

55
## Give it a star
66
Please "star" this project in GitHub! It costs nothing but helps to reference the code.
@@ -74,6 +74,7 @@ If you find this project useful, please consider making a donation.
7474

7575
**Updates:**
7676

77+
* NEW: RAD Studio 12 supported
7778
* NEW: RAD Studio 11 supported
7879
* NEW: Condition checks
7980
* NEW: Commonly used RegEx validations

0 commit comments

Comments
 (0)