You've already forked lazarus-ccr
RxFPC:start reorder source folder structure
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5704 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
<CompilerOptions>
|
<CompilerOptions>
|
||||||
<Version Value="11"/>
|
<Version Value="11"/>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
|
<OtherUnitFiles Value="rx_sort_fbdataset"/>
|
||||||
<UnitOutputDirectory Value="lib/rx_sort_fbdataset/$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="lib/rx_sort_fbdataset/$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
</CompilerOptions>
|
</CompilerOptions>
|
||||||
@@ -14,13 +15,13 @@
|
|||||||
<Version Major="1" Minor="1" Release="1" Build="2"/>
|
<Version Major="1" Minor="1" Release="1" Build="2"/>
|
||||||
<Files Count="2">
|
<Files Count="2">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="rxsortfbdataset.pas"/>
|
<Filename Value="rx_sort_fbdataset/exsortfb.pas"/>
|
||||||
<HasRegisterProc Value="True"/>
|
<UnitName Value="exsortfb"/>
|
||||||
<UnitName Value="RxSortFBDataSet"/>
|
|
||||||
</Item1>
|
</Item1>
|
||||||
<Item2>
|
<Item2>
|
||||||
<Filename Value="exsortfb.pas"/>
|
<Filename Value="rx_sort_fbdataset/rxsortfbdataset.pas"/>
|
||||||
<UnitName Value="exsortfb"/>
|
<HasRegisterProc Value="True"/>
|
||||||
|
<UnitName Value="RxSortFBDataSet"/>
|
||||||
</Item2>
|
</Item2>
|
||||||
</Files>
|
</Files>
|
||||||
<RequiredPkgs Count="3">
|
<RequiredPkgs Count="3">
|
||||||
|
@@ -8,7 +8,7 @@ unit rx_sort_fbdataset;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
RxSortFBDataSet, exsortfb, LazarusPackageIntf;
|
exsortfb, RxSortFBDataSet, LazarusPackageIntf;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
@@ -6,16 +6,21 @@
|
|||||||
<CompilerOptions>
|
<CompilerOptions>
|
||||||
<Version Value="11"/>
|
<Version Value="11"/>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
|
<OtherUnitFiles Value="rx_sort_sqldb"/>
|
||||||
<UnitOutputDirectory Value="lib/rx_sort_sqldb/$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="lib/rx_sort_sqldb/$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
</CompilerOptions>
|
</CompilerOptions>
|
||||||
<Version Major="1" Minor="1" Release="1" Build="2"/>
|
<Version Major="1" Minor="1" Release="1" Build="2"/>
|
||||||
<Files Count="1">
|
<Files Count="2">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="rxsortsqldb.pas"/>
|
<Filename Value="rx_sort_sqldb/rxsortsqldb.pas"/>
|
||||||
<HasRegisterProc Value="True"/>
|
<HasRegisterProc Value="True"/>
|
||||||
<UnitName Value="RxSortSqlDB"/>
|
<UnitName Value="RxSortSqlDB"/>
|
||||||
</Item1>
|
</Item1>
|
||||||
|
<Item2>
|
||||||
|
<Filename Value="rx_sort_sqldb/exsortsql.pas"/>
|
||||||
|
<UnitName Value="exsortsql"/>
|
||||||
|
</Item2>
|
||||||
</Files>
|
</Files>
|
||||||
<RequiredPkgs Count="2">
|
<RequiredPkgs Count="2">
|
||||||
<Item1>
|
<Item1>
|
||||||
|
@@ -8,7 +8,7 @@ unit rx_sort_sqldb;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
RxSortSqlDB, LazarusPackageIntf;
|
RxSortSqlDB, exsortsql, LazarusPackageIntf;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
@@ -7,6 +7,7 @@
|
|||||||
<CompilerOptions>
|
<CompilerOptions>
|
||||||
<Version Value="11"/>
|
<Version Value="11"/>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
|
<OtherUnitFiles Value="rx_sort_zeos"/>
|
||||||
<UnitOutputDirectory Value="lib/rx_sort_zeos/$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="lib/rx_sort_zeos/$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
</CompilerOptions>
|
</CompilerOptions>
|
||||||
@@ -14,13 +15,13 @@
|
|||||||
<Version Major="1" Minor="1" Release="1" Build="1"/>
|
<Version Major="1" Minor="1" Release="1" Build="1"/>
|
||||||
<Files Count="2">
|
<Files Count="2">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="rxsortzeos.pas"/>
|
<Filename Value="rx_sort_zeos/exsortzeos.pas"/>
|
||||||
<HasRegisterProc Value="True"/>
|
<UnitName Value="exsortzeos"/>
|
||||||
<UnitName Value="RxSortZeos"/>
|
|
||||||
</Item1>
|
</Item1>
|
||||||
<Item2>
|
<Item2>
|
||||||
<Filename Value="exsortzeos.pas"/>
|
<Filename Value="rx_sort_zeos/rxsortzeos.pas"/>
|
||||||
<UnitName Value="exsortzeos"/>
|
<HasRegisterProc Value="True"/>
|
||||||
|
<UnitName Value="RxSortZeos"/>
|
||||||
</Item2>
|
</Item2>
|
||||||
</Files>
|
</Files>
|
||||||
<LazDoc Paths="docs"/>
|
<LazDoc Paths="docs"/>
|
||||||
|
@@ -8,7 +8,7 @@ unit rx_sort_zeos;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
RxSortZeos, exsortzeos, LazarusPackageIntf;
|
exsortzeos, RxSortZeos, LazarusPackageIntf;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
@@ -8,9 +8,12 @@ uses
|
|||||||
Classes, SysUtils, DB, RxDBGrid;
|
Classes, SysUtils, DB, RxDBGrid;
|
||||||
|
|
||||||
type
|
type
|
||||||
TMemDataSetSortEngine = class(TExDBGridSortEngine)
|
|
||||||
|
{ TMemDataSetSortEngine }
|
||||||
|
|
||||||
|
TMemDataSetSortEngine = class(TRxDBGridSortEngine)
|
||||||
public
|
public
|
||||||
procedure Sort(Field:TField; ADataSet:TDataSet; Asc:boolean);override;
|
procedure Sort(FieldName: string; ADataSet:TDataSet; Asc:boolean; SortOptions:TRxSortEngineOptions);override;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
@@ -20,7 +23,8 @@ type
|
|||||||
THackMDS = class(TMemDataSet)
|
THackMDS = class(TMemDataSet)
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TMemDataSetSortEngine.Sort(Field:TField; ADataSet:TDataSet; Asc:boolean);
|
procedure TMemDataSetSortEngine.Sort(FieldName: string; ADataSet: TDataSet;
|
||||||
|
Asc: boolean; SortOptions: TRxSortEngineOptions);
|
||||||
var
|
var
|
||||||
MS:TMemoryStream;
|
MS:TMemoryStream;
|
||||||
V, FRecSize, FRecCount, I, J:integer;
|
V, FRecSize, FRecCount, I, J:integer;
|
||||||
@@ -31,6 +35,7 @@ var
|
|||||||
I1:integer;
|
I1:integer;
|
||||||
B1:boolean;
|
B1:boolean;
|
||||||
D1:TDateTime;
|
D1:TDateTime;
|
||||||
|
Field:TField;
|
||||||
|
|
||||||
|
|
||||||
function DoExch:boolean;
|
function DoExch:boolean;
|
||||||
@@ -103,6 +108,7 @@ end;
|
|||||||
begin
|
begin
|
||||||
if Assigned(ADataSet) then
|
if Assigned(ADataSet) then
|
||||||
begin
|
begin
|
||||||
|
Field:=ADataSet.FieldByName(FieldName);
|
||||||
ADataSet.DisableControls;
|
ADataSet.DisableControls;
|
||||||
MS:=TMemoryStream.Create;
|
MS:=TMemoryStream.Create;
|
||||||
BufOrign:=THackMDS(ADataSet).AllocRecordBuffer;
|
BufOrign:=THackMDS(ADataSet).AllocRecordBuffer;
|
||||||
@@ -181,6 +187,6 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
initialization
|
||||||
RegisterExDBGridSortEngine(TMemDataSetSortEngine, TMemDataset);
|
RegisterRxDBGridSortEngine(TMemDataSetSortEngine, 'TMemDataset');
|
||||||
end.
|
end.
|
||||||
|
|
@@ -7,25 +7,22 @@
|
|||||||
<CompilerOptions>
|
<CompilerOptions>
|
||||||
<Version Value="11"/>
|
<Version Value="11"/>
|
||||||
<SearchPaths>
|
<SearchPaths>
|
||||||
|
<OtherUnitFiles Value="rxdbgrid_export_spreadsheet"/>
|
||||||
<UnitOutputDirectory Value="lib/rxdbgrid_export_spreadsheet/$(TargetCPU)-$(TargetOS)"/>
|
<UnitOutputDirectory Value="lib/rxdbgrid_export_spreadsheet/$(TargetCPU)-$(TargetOS)"/>
|
||||||
</SearchPaths>
|
</SearchPaths>
|
||||||
</CompilerOptions>
|
</CompilerOptions>
|
||||||
<License Value="LGPL"/>
|
<License Value="LGPL"/>
|
||||||
<Version Major="1" Release="1" Build="6"/>
|
<Version Major="1" Release="1" Build="6"/>
|
||||||
<Files Count="3">
|
<Files Count="2">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="rxdbgridexportspreadsheet.pas"/>
|
<Filename Value="rxdbgrid_export_spreadsheet/rxdbgridexportspreadsheet.pas"/>
|
||||||
<HasRegisterProc Value="True"/>
|
<HasRegisterProc Value="True"/>
|
||||||
<UnitName Value="RxDBGridExportSpreadSheet"/>
|
<UnitName Value="RxDBGridExportSpreadSheet"/>
|
||||||
</Item1>
|
</Item1>
|
||||||
<Item2>
|
<Item2>
|
||||||
<Filename Value="rxdbgridexportspreadsheet_paramsunit.lfm"/>
|
<Filename Value="rxdbgrid_export_spreadsheet/rxdbgridexportspreadsheet_paramsunit.pas"/>
|
||||||
<Type Value="LFM"/>
|
|
||||||
</Item2>
|
|
||||||
<Item3>
|
|
||||||
<Filename Value="rxdbgridexportspreadsheet_paramsunit.pas"/>
|
|
||||||
<UnitName Value="RxDBGridExportSpreadSheet_ParamsUnit"/>
|
<UnitName Value="RxDBGridExportSpreadSheet_ParamsUnit"/>
|
||||||
</Item3>
|
</Item2>
|
||||||
</Files>
|
</Files>
|
||||||
<LazDoc Paths="docs"/>
|
<LazDoc Paths="docs"/>
|
||||||
<RequiredPkgs Count="3">
|
<RequiredPkgs Count="3">
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user