You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
(20) |
May
(48) |
Jun
(8) |
Jul
(23) |
Aug
(41) |
Sep
(42) |
Oct
(22) |
Nov
(17) |
Dec
(36) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(43) |
Feb
(42) |
Mar
(17) |
Apr
(39) |
May
(16) |
Jun
(35) |
Jul
(37) |
Aug
(47) |
Sep
(49) |
Oct
(9) |
Nov
(52) |
Dec
(37) |
| 2008 |
Jan
(48) |
Feb
(21) |
Mar
(7) |
Apr
(2) |
May
(5) |
Jun
(17) |
Jul
(17) |
Aug
(40) |
Sep
(58) |
Oct
(38) |
Nov
(19) |
Dec
(32) |
| 2009 |
Jan
(67) |
Feb
(46) |
Mar
(54) |
Apr
(34) |
May
(37) |
Jun
(52) |
Jul
(67) |
Aug
(72) |
Sep
(48) |
Oct
(35) |
Nov
(27) |
Dec
(12) |
| 2010 |
Jan
(56) |
Feb
(46) |
Mar
(19) |
Apr
(14) |
May
(21) |
Jun
(3) |
Jul
(13) |
Aug
(48) |
Sep
(34) |
Oct
(51) |
Nov
(16) |
Dec
(32) |
| 2011 |
Jan
(36) |
Feb
(14) |
Mar
(12) |
Apr
(3) |
May
(5) |
Jun
(24) |
Jul
(15) |
Aug
(30) |
Sep
(21) |
Oct
(4) |
Nov
(25) |
Dec
(23) |
| 2012 |
Jan
(45) |
Feb
(42) |
Mar
(19) |
Apr
(14) |
May
(13) |
Jun
(7) |
Jul
(3) |
Aug
(46) |
Sep
(21) |
Oct
(10) |
Nov
(2) |
Dec
|
| 2013 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <ou...@us...> - 2012-05-10 19:34:30
|
Revision: 3792
http://jcl.svn.sourceforge.net/jcl/?rev=3792&view=rev
Author: outchy
Date: 2012-05-10 19:34:22 +0000 (Thu, 10 May 2012)
Log Message:
-----------
Mantis 5785: TJclSimpleXMLProps should not use IniFiles.THashedStringList: replace THashedStringList by TStringHash.
Modified Paths:
--------------
trunk/jcl/source/common/JclSimpleXml.pas
Modified: trunk/jcl/source/common/JclSimpleXml.pas
===================================================================
--- trunk/jcl/source/common/JclSimpleXml.pas 2012-05-07 14:18:53 UTC (rev 3791)
+++ trunk/jcl/source/common/JclSimpleXml.pas 2012-05-10 19:34:22 UTC (rev 3792)
@@ -46,32 +46,70 @@
JclUnitVersioning,
{$ENDIF UNITVERSIONING}
{$IFDEF HAS_UNITSCOPE}
+ {$IFDEF HAS_UNIT_RTLCONSTS}
+ System.RTLConsts,
+ {$ENDIF HAS_UNIT_RTLCONSTS}
{$IFDEF MSWINDOWS}
Winapi.Windows, // Delphi 2005 inline
{$ENDIF MSWINDOWS}
System.SysUtils, System.Classes,
System.Variants,
System.IniFiles,
+ System.Contnrs,
{$ELSE ~HAS_UNITSCOPE}
+ {$IFDEF HAS_UNIT_RTLCONSTS}
+ RTLConsts,
+ {$ENDIF HAS_UNIT_RTLCONSTS}
{$IFDEF MSWINDOWS}
Windows, // Delphi 2005 inline
{$ENDIF MSWINDOWS}
SysUtils, Classes,
Variants,
IniFiles,
+ Contnrs,
{$ENDIF ~HAS_UNITSCOPE}
JclBase, JclStreams;
type
- TJclSimpleData = class(TObject)
+ TJclSimpleItem = class(TObject)
private
FName: string;
+ protected
+ procedure SetName(const Value: string); virtual;
+ public
+ property Name: string read FName write SetName;
+ end;
+
+type
+ TJclSimpleItemHashedList = class(TObjectList)
+ private
+ FNameHash: TStringHash;
+ function GetSimpleItemByName(const Name: string): TJclSimpleItem;
+ function GetSimpleItem(Index: Integer): TJclSimpleItem;
+ protected
+ procedure Notify(Ptr: Pointer; Action: TListNotification); override;
+ public
+ constructor Create;
+ destructor Destroy; override;
+ function Add(Item: TJclSimpleItem): Integer;
+ procedure Clear; override;
+ function IndexOfSimpleItem(Item: TJclSimpleItem): Integer;
+ function IndexOfName(const Name: string): Integer;
+ procedure Insert(Index: Integer; Item: TJclSimpleItem);
+ procedure InvalidateHash;
+ procedure Move(CurIndex, NewIndex: Integer);
+ property SimpleItemByNames[const Name: string]: TJclSimpleItem read GetSimpleItemByName;
+ property SimpleItems[Index: Integer]: TJclSimpleItem read GetSimpleItem;
+ end;
+
+type
+ TJclSimpleData = class(TJclSimpleItem)
+ private
FValue: string;
FData: Pointer;
protected
function GetBoolValue: Boolean;
procedure SetBoolValue(const Value: Boolean);
- procedure SetName(const Value: string); virtual;
function GetFloatValue: Extended;
procedure SetFloatValue(const Value: Extended);
function GetAnsiValue: AnsiString;
@@ -79,10 +117,9 @@
function GetIntValue: Int64;
procedure SetIntValue(const Value: Int64);
public
- constructor Create; overload; virtual;
+ constructor Create; overload; virtual;
constructor Create(const AName: string); overload;
constructor Create(const AName, AValue: string); overload;
- property Name: string read FName write SetName;
property Value: string read FValue write FValue;
property AnsiValue: AnsiString read GetAnsiValue write SetAnsiValue;
property IntValue: Int64 read GetIntValue write SetIntValue;
@@ -227,7 +264,7 @@
TJclSimpleXMLElemsProlog = class(TObject)
private
- FElems: THashedStringList;
+ FElems: TJclSimpleItemHashedList;
function GetCount: Integer;
function GetItem(const Index: Integer): TJclSimpleXMLElem;
function GetEncoding: string;
@@ -275,14 +312,14 @@
end;
{$ENDIF SUPPORTS_FOR_IN}
- TJclSimpleXMLNamedElems = class(TObject)
+ TJclSimpleXMLNamedElems = class(TJclSimpleItem)
private
FElems: TJclSimpleXMLElems;
- FName: string;
function GetCount: Integer;
protected
FItems: TList;
function GetItem(const Index: Integer): TJclSimpleXMLElem;
+ procedure SetName(const Value: string); override;
public
constructor Create(AElems: TJclSimpleXMLElems; const AName: string);
destructor Destroy; override;
@@ -308,7 +345,6 @@
property Elems: TJclSimpleXMLElems read FElems;
property Item[const Index: Integer]: TJclSimpleXMLElem read GetItem; default;
property Count: Integer read GetCount;
- property Name: string read FName;
end;
{$IFDEF SUPPORTS_FOR_IN}
@@ -333,15 +369,16 @@
function GetItemNamed(const Name: string): TJclSimpleXMLElem;
function GetNamedElems(const Name: string): TJclSimpleXMLNamedElems;
protected
- FElems: THashedStringList;
+ FElems: TJclSimpleItemHashedList;
FCompare: TJclSimpleXMLElemCompare;
- FNamedElems: THashedStringList;
+ FNamedElems: TJclSimpleItemHashedList;
function GetItem(const Index: Integer): TJclSimpleXMLElem;
procedure AddChild(const Value: TJclSimpleXMLElem);
procedure AddChildFirst(const Value: TJclSimpleXMLElem);
procedure InsertChild(const Value: TJclSimpleXMLElem; Index: Integer);
procedure DoItemRename(Value: TJclSimpleXMLElem; const Name: string);
procedure CreateElems;
+ function SimpleCompare(Elems: TJclSimpleXMLElems; Index1, Index2: Integer): Integer;
public
constructor Create(AParent: TJclSimpleXMLElem);
destructor Destroy; override;
@@ -641,20 +678,11 @@
cBufferSize = 8192;
var
- GlobalSorts: TList = nil;
-
GlobalXMLVariant: TXMLVariant = nil;
PreparedNibbleCharMapping: Boolean = False;
NibbleCharMapping: array [Low(Char)..High(Char)] of Byte;
-function GSorts: TList;
-begin
- if not Assigned(GlobalSorts) then
- GlobalSorts := TList.Create;
- Result := GlobalSorts;
-end;
-
function XMLVariant: TXMLVariant;
begin
if not Assigned(GlobalXMLVariant) then
@@ -974,6 +1002,98 @@
SimpleXMLDecode(Result, False);
end;
+//=== { TJclSimpleItem } =====================================================
+
+procedure TJclSimpleItem.SetName(const Value: string);
+begin
+ FName := Value;
+end;
+
+//=== { TJclSimpleItemHashedList } ===========================================
+
+procedure TJclSimpleItemHashedList.Clear;
+begin
+ InvalidateHash;
+ inherited Clear;
+end;
+
+constructor TJclSimpleItemHashedList.Create;
+begin
+ inherited Create(True);
+end;
+
+destructor TJclSimpleItemHashedList.Destroy;
+begin
+ FreeAndNil(FNameHash);
+ inherited Destroy;
+end;
+
+function TJclSimpleItemHashedList.Add(Item: TJclSimpleItem): Integer;
+begin
+ Result := inherited Add(Item);
+ if FNameHash <> nil then
+ FNameHash.Add(Item.Name, Result);
+end;
+
+function TJclSimpleItemHashedList.GetSimpleItem(Index: Integer): TJclSimpleItem;
+begin
+ Result := TJclSimpleItem(GetItem(Index));
+end;
+
+function TJclSimpleItemHashedList.GetSimpleItemByName(const Name: string): TJclSimpleItem;
+var
+ I: Integer;
+begin
+ I := IndexOfName(Name);
+ if I >= 0 then
+ Result := TJclSimpleItem(Items[I])
+ else
+ Result := nil;
+end;
+
+function TJclSimpleItemHashedList.IndexOfSimpleItem(Item: TJclSimpleItem): Integer;
+begin
+ Result := IndexOf(Item);
+end;
+
+function TJclSimpleItemHashedList.IndexOfName(const Name: string): Integer;
+var
+ I: Integer;
+begin
+ if FNameHash = nil then
+ begin
+ FNameHash := TStringHash.Create(8);
+ for I := 0 to Count - 1 do
+ FNameHash.Add(TJclSimpleData(Items[I]).Name, I);
+ end;
+
+ Result := FNameHash.ValueOf(Name);
+end;
+
+procedure TJclSimpleItemHashedList.Insert(Index: Integer; Item: TJclSimpleItem);
+begin
+ InvalidateHash;
+ inherited Insert(Index, Item);
+end;
+
+procedure TJclSimpleItemHashedList.InvalidateHash;
+begin
+ FreeAndNil(FNameHash);
+end;
+
+procedure TJclSimpleItemHashedList.Move(CurIndex, NewIndex: Integer);
+begin
+ InvalidateHash;
+ inherited Move(CurIndex, NewIndex);
+end;
+
+procedure TJclSimpleItemHashedList.Notify(Ptr: Pointer; Action: TListNotification);
+begin
+ if (Action = lnDeleted) and (FNameHash <> nil) then
+ FNameHash.Remove(TJclSimpleItem(Ptr).Name);
+ inherited Notify(Ptr, Action);
+end;
+
//=== { TJclSimpleData } =====================================================
constructor TJclSimpleData.Create;
@@ -1036,11 +1156,6 @@
FValue := IntToStr(Value);
end;
-procedure TJclSimpleData.SetName(const Value: string);
-begin
- FName := Value;
-end;
-
//=== { TJclSimpleXMLData } ==================================================
function TJclSimpleXMLData.FullName: string;
@@ -1573,13 +1688,12 @@
Stream.Write(Buf, J);
end;
-function TJclSimpleXMLElem.GetChildIndex(
- const AChild: TJclSimpleXMLElem): Integer;
+function TJclSimpleXMLElem.GetChildIndex(const AChild: TJclSimpleXMLElem): Integer;
begin
if FItems = nil then
Result := -1
else
- Result := FItems.FElems.IndexOfObject(AChild);
+ Result := FItems.FElems.IndexOfSimpleItem(AChild);
end;
function TJclSimpleXMLElem.GetChildsCount: Integer;
@@ -1846,6 +1960,11 @@
FItems.Move(CurIndex, NewIndex);
end;
+procedure TJclSimpleXMLNamedElems.SetName(const Value: string);
+begin
+ raise EJclSimpleXMLError.CreateRes(@SReadOnlyProperty);
+end;
+
//=== { TJclSimpleXMLElemsEnumerator } =======================================
{$IFDEF SUPPORTS_FOR_IN}
@@ -1936,13 +2055,13 @@
if Assigned(Value.Parent) then
Value.Parent.Items.Notify(Value, opRemove);
- FElems.AddObject(Value.Name, Value);
+ FElems.Add(Value);
if FNamedElems <> nil then
begin
- NamedIndex := FNamedElems.IndexOf(Value.Name);
+ NamedIndex := FNamedElems.IndexOfName(Value.Name);
if NamedIndex >= 0 then
- TJclSimpleXMLNamedElems(FNamedElems.Objects[NamedIndex]).FItems.Add(Value);
+ TJclSimpleXMLNamedElems(FNamedElems.SimpleItems[NamedIndex]).FItems.Add(Value);
end;
Notify(Value, opInsert);
@@ -1958,13 +2077,13 @@
if Assigned(Value.Parent) then
Value.Parent.Items.Notify(Value, opRemove);
- FElems.InsertObject(0, Value.Name, Value);
+ FElems.Insert(0, Value);
if FNamedElems <> nil then
begin
- NamedIndex := FNamedElems.IndexOf(Value.Name);
+ NamedIndex := FNamedElems.IndexOfName(Value.Name);
if NamedIndex >= 0 then
- TJclSimpleXMLNamedElems(FNamedElems.Objects[NamedIndex]).FItems.Insert(0, Value);
+ TJclSimpleXMLNamedElems(FNamedElems.SimpleItems[NamedIndex]).FItems.Insert(0, Value);
end;
Notify(Value, opInsert);
@@ -2027,28 +2146,11 @@
end;
procedure TJclSimpleXMLElems.Clear;
-var
- I: Integer;
begin
if FElems <> nil then
- begin
- for I := 0 to FElems.Count - 1 do
- begin
- // TJclSimpleXMLElem(FElems.Objects[I]).Clear; // (p3) not needed -called in Destroy
- FElems.Objects[I].Free;
- FElems.Objects[I] := nil;
- end;
FElems.Clear;
- end;
if FNamedElems <> nil then
- begin
- for I := 0 to FNamedElems.Count - 1 do
- begin
- FNamedElems.Objects[I].Free;
- FNamedElems.Objects[I] := nil;
- end;
FNamedElems.Clear;
- end;
end;
constructor TJclSimpleXMLElems.Create(AParent: TJclSimpleXMLElem);
@@ -2060,7 +2162,7 @@
procedure TJclSimpleXMLElems.CreateElems;
begin
if FElems = nil then
- FElems := THashedStringList.Create;
+ FElems := TJclSimpleItemHashedList.Create;
end;
procedure TJclSimpleXMLElems.Delete(const Index: Integer);
@@ -2070,23 +2172,22 @@
begin
if (FElems <> nil) and (Index >= 0) and (Index < FElems.Count) then
begin
- Elem := TJclSimpleXMLElem(FElems.Objects[Index]);
+ Elem := TJclSimpleXMLElem(FElems.SimpleItems[Index]);
if FNamedElems <> nil then
begin
- NamedIndex := FNamedElems.IndexOf(Elem.Name);
+ NamedIndex := FNamedElems.IndexOfName(Elem.Name);
if NamedIndex >= 0 then
- TJclSimpleXMLNamedElems(FNamedElems.Objects[NamedIndex]).FItems.Remove(Elem);
+ TJclSimpleXMLNamedElems(FNamedElems.SimpleItems[NamedIndex]).FItems.Remove(Elem);
end;
FElems.Delete(Index);
FreeAndNil(Elem);
-
end;
end;
procedure TJclSimpleXMLElems.Delete(const Name: string);
begin
if FElems <> nil then
- Delete(FElems.IndexOf(Name));
+ Delete(FElems.IndexOfName(Name));
end;
destructor TJclSimpleXMLElems.Destroy;
@@ -2100,25 +2201,17 @@
procedure TJclSimpleXMLElems.DoItemRename(Value: TJclSimpleXMLElem; const Name: string);
var
- I: Integer;
NamedIndex: Integer;
begin
if FNamedElems <> nil then
begin
- NamedIndex := FNamedElems.IndexOf(Value.Name);
+ NamedIndex := FNamedElems.IndexOfName(Value.Name);
if NamedIndex >= 0 then
- TJclSimpleXMLNamedElems(FNamedElems.Objects[NamedIndex]).FItems.Remove(Value);
- end;
+ TJclSimpleXMLNamedElems(FNamedElems.SimpleItems[NamedIndex]).FItems.Remove(Value);
- I := FElems.IndexOfObject(Value);
- if I <> -1 then
- FElems.Strings[I] := Name;
-
- if FNamedElems <> nil then
- begin
- NamedIndex := FNamedElems.IndexOf(Name);
+ NamedIndex := FNamedElems.IndexOfName(Name);
if NamedIndex >= 0 then
- TJclSimpleXMLNamedElems(FNamedElems.Objects[NamedIndex]).FItems.Add(Value);
+ TJclSimpleXMLNamedElems(FNamedElems.SimpleItems[NamedIndex]).FItems.Add(Value);
end;
end;
@@ -2154,7 +2247,7 @@
if (FElems = nil) or (Index > FElems.Count) then
Result := nil
else
- Result := TJclSimpleXMLElem(FElems.Objects[Index]);
+ Result := TJclSimpleXMLElem(FElems.SimpleItems[Index]);
end;
function TJclSimpleXMLElems.GetItemNamedDefault(const Name, Default: string): TJclSimpleXMLElem;
@@ -2164,9 +2257,9 @@
Result := nil;
if FElems <> nil then
begin
- I := FElems.IndexOf(Name);
+ I := FElems.IndexOfName(Name);
if I <> -1 then
- Result := TJclSimpleXMLElem(FElems.Objects[I])
+ Result := TJclSimpleXMLElem(FElems.SimpleItems[I])
else
if Assigned(Parent) and Assigned(Parent.SimpleXML) and (sxoAutoCreate in Parent.SimpleXML.Options) then
Result := Add(Name, Default);
@@ -2181,19 +2274,19 @@
NamedIndex: Integer;
begin
if FNamedElems = nil then
- FNamedElems := THashedStringList.Create;
- NamedIndex := FNamedElems.IndexOf(Name);
+ FNamedElems := TJclSimpleItemHashedList.Create;
+ NamedIndex := FNamedElems.IndexOfName(Name);
if NamedIndex = -1 then
begin
Result := TJclSimpleXMLNamedElems.Create(Self, Name);
- FNamedElems.AddObject(Name, Result);
+ FNamedElems.Add(Result);
if FElems <> nil then
- for NamedIndex := 0 to FElems.Count - 1 do
- if FElems.Strings[NamedIndex] = Name then
- Result.FItems.Add(FElems.Objects[NamedIndex]);
+ for NamedIndex := 0 to FElems.Count - 1 do
+ if FElems.SimpleItems[NamedIndex].Name = Name then
+ Result.FItems.Add(FElems.SimpleItems[NamedIndex]);
end
else
- Result := TJclSimpleXMLNamedElems(FNamedElems.Objects[NamedIndex]);
+ Result := TJclSimpleXMLNamedElems(FNamedElems.SimpleItems[NamedIndex]);
end;
function TJclSimpleXMLElems.GetItemNamed(const Name: string): TJclSimpleXMLElem;
@@ -2273,7 +2366,7 @@
CreateElems;
Notify(lElem,opInsert);
lElem.LoadFromStringStream(StringStream);
- FElems.AddObject(lElem.Name, lElem);
+ FElems.Add(lElem);
end;
Break;
end
@@ -2331,15 +2424,14 @@
CreateElems;
Notify(lElem, opInsert);
lElem.LoadFromStringStream(StringStream);
- FElems.AddObject(lElem.Name, lElem);
+ FElems.Add(lElem);
end;
end;
end;
end;
end;
-procedure TJclSimpleXMLElems.Notify(Value: TJclSimpleXMLElem;
- Operation: TOperation);
+procedure TJclSimpleXMLElems.Notify(Value: TJclSimpleXMLElem; Operation: TOperation);
var
NamedIndex: Integer;
begin
@@ -2349,11 +2441,11 @@
begin
if FNamedElems <> nil then
begin
- NamedIndex := FNamedElems.IndexOf(Value.Name);
+ NamedIndex := FNamedElems.IndexOfName(Value.Name);
if NamedIndex >= 0 then
- TJclSimpleXMLNamedElems(FNamedElems.Objects[NamedIndex]).FItems.Remove(Value);
+ TJclSimpleXMLNamedElems(FNamedElems.SimpleItems[NamedIndex]).FItems.Remove(Value);
end;
- FElems.Delete(FElems.IndexOfObject(Value));
+ FElems.Remove(Value);
Value.FParent := nil;
Value.FSimpleXML := nil;
end;
@@ -2367,7 +2459,7 @@
function TJclSimpleXMLElems.Remove(Value: TJclSimpleXMLElem): Integer;
begin
- Result := FElems.IndexOfObject(Value);
+ Result := FElems.IndexOfSimpleItem(Value);
Notify(Value, opRemove);
end;
@@ -2380,6 +2472,12 @@
Item[I].SaveToStringStream(StringStream, Level);
end;
+function TJclSimpleXMLElems.SimpleCompare(Elems: TJclSimpleXMLElems; Index1,
+ Index2: Integer): Integer;
+begin
+ Result := CompareText(Elems.Item[Index1].Name, Elems.Item[Index2].Name);
+end;
+
function TJclSimpleXMLElems.Value(const Name, Default: string): string;
var
Elem: TJclSimpleXMLElem;
@@ -2403,7 +2501,7 @@
if FElems = nil then
Result := -1
else
- Result := FElems.IndexOfObject(Value);
+ Result := FElems.IndexOfSimpleItem(Value);
end;
function TJclSimpleXMLElems.IndexOf(const Name: string): Integer;
@@ -2411,7 +2509,7 @@
if FElems = nil then
Result := -1
else
- Result := FElems.IndexOf(Name);
+ Result := FElems.IndexOfName(Name);
end;
procedure TJclSimpleXMLElems.InsertChild(const Value: TJclSimpleXMLElem; Index: Integer);
@@ -2424,13 +2522,13 @@
if Assigned(Value.Parent) then
Value.Parent.Items.Notify(Value, opRemove);
- FElems.InsertObject(Index, Value.Name, Value);
+ FElems.Insert(Index, Value);
if FNamedElems <> nil then
begin
- NamedIndex := FNamedElems.IndexOf(Value.Name);
+ NamedIndex := FNamedElems.IndexOfName(Value.Name);
if NamedIndex >= 0 then
- TJclSimpleXMLNamedElems(FNamedElems.Objects[NamedIndex]).FItems.Add(Value);
+ TJclSimpleXMLNamedElems(FNamedElems.SimpleItems[NamedIndex]).FItems.Add(Value);
end;
Notify(Value, opInsert);
@@ -2451,34 +2549,45 @@
InsertChild(Result, Index);
end;
-function SortItems(List: TStringList; Index1, Index2: Integer): Integer;
+procedure QuickSort(Elems: TJclSimpleXMLElems; List: TList; L, R: Integer;
+ AFunction: TJclSimpleXMLElemCompare);
var
- I: Integer;
+ I, J, M: Integer;
+ T: Pointer;
begin
- Result := 0;
- for I := 0 to GSorts.Count - 1 do
- if TJclSimpleXMLElems(GSorts[I]).FElems = List then
- begin
- Result := TJclSimpleXMLElems(GSorts[I]).FCompare(TJclSimpleXMLElems(GSorts[I]), Index1, Index2);
- Break;
- end;
+ repeat
+ I := L;
+ J := R;
+ M := (L + R) shr 1;
+ repeat
+ while AFunction(Elems, I, M) < 0 do
+ Inc(I);
+ while AFunction(Elems, J, M) > 0 do
+ Dec(J);
+ if I <= J then
+ begin
+ T := List[I];
+ List[I] := List[J];
+ List[J] := T;
+ Inc(I);
+ Dec(J);
+ end;
+ until I > J;
+ if L < J then
+ QuickSort(Elems, List, L, J, AFunction);
+ L := I;
+ until I >= R;
end;
procedure TJclSimpleXMLElems.CustomSort(AFunction: TJclSimpleXMLElemCompare);
begin
if FElems <> nil then
- begin
- GSorts.Add(Self);
- FCompare := AFunction;
- FElems.CustomSort(SortItems);
- GSorts.Remove(Self);
- end;
+ QuickSort(Self, FElems, 0, FElems.Count - 1, AFunction);
end;
procedure TJclSimpleXMLElems.Sort;
begin
- if FElems <> nil then
- FElems.Sort;
+ CustomSort(SimpleCompare);
end;
//=== { TJclSimpleXMLPropsEnumerator } =======================================
@@ -3716,7 +3825,7 @@
begin
inherited Create;
FSimpleXML := ASimpleXML;
- FElems := THashedStringList.Create;
+ FElems := TJclSimpleItemHashedList.Create;
end;
destructor TJclSimpleXMLElemsProlog.Destroy;
@@ -3727,14 +3836,7 @@
end;
procedure TJclSimpleXMLElemsProlog.Clear;
-var
- I: Integer;
begin
- for I := 0 to FElems.Count - 1 do
- begin
- FElems.Objects[I].Free;
- FElems.Objects[I] := nil;
- end;
FElems.Clear;
end;
@@ -3745,7 +3847,7 @@
function TJclSimpleXMLElemsProlog.GetItem(const Index: Integer): TJclSimpleXMLElem;
begin
- Result := TJclSimpleXMLElem(FElems.Objects[Index]);
+ Result := TJclSimpleXMLElem(FElems.SimpleItems[Index]);
end;
procedure TJclSimpleXMLElemsProlog.LoadFromStringStream(StringStream: TJclStringStream);
@@ -3823,7 +3925,7 @@
else
if lElem <> nil then
begin
- FElems.AddObject(lElem.Name, lElem);
+ FElems.Add(lElem);
lElem.LoadFromStringStream(StringStream);
SetLength(St, 0);
lPos := 0;
@@ -4182,7 +4284,7 @@
end;
// (p3) if we get here, an xml header was not found
Result := TJclSimpleXMLElemHeader.Create(SimpleXML);
- FElems.AddObject('', Result);
+ FElems.Add(Result);
end;
function TJclSimpleXMLElemsProlog.AddStyleSheet(const AType, AHRef: string): TJclSimpleXMLElemSheet;
@@ -4192,7 +4294,7 @@
Result := TJclSimpleXMLElemSheet.Create('xml-stylesheet');
Result.Properties.Add('type',AType);
Result.Properties.Add('href',AHRef);
- FElems.AddObject('xml-stylesheet', Result);
+ FElems.Add(Result);
end;
function TJclSimpleXMLElemsProlog.AddMSOApplication(const AProgId : string): TJclSimpleXMLElemMSOApplication;
@@ -4201,7 +4303,7 @@
FindHeader;
Result := TJclSimpleXMLElemMSOApplication.Create('mso-application');
Result.Properties.Add('progid',AProgId);
- FElems.AddObject('mso-application', Result);
+ FElems.Add(Result);
end;
function TJclSimpleXMLElemsProlog.AddComment(const AValue: string): TJclSimpleXMLElemComment;
@@ -4209,7 +4311,7 @@
// make sure there is an xml header
FindHeader;
Result := TJclSimpleXMLElemComment.Create('', AValue);
- FElems.AddObject('', Result);
+ FElems.Add(Result);
end;
function TJclSimpleXMLElemsProlog.AddDocType(const AValue: string): TJclSimpleXMLElemDocType;
@@ -4217,7 +4319,7 @@
// make sure there is an xml header
FindHeader;
Result := TJclSimpleXMLElemDocType.Create('', AValue);
- FElems.AddObject('', Result);
+ FElems.Add(Result);
end;
initialization
@@ -4227,7 +4329,6 @@
finalization
FreeAndNil(GlobalXMLVariant);
- FreeAndNil(GlobalSorts);
{$IFDEF UNITVERSIONING}
UnregisterUnitVersion(HInstance);
{$ENDIF UNITVERSIONING}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-05-07 14:19:04
|
Revision: 3791
http://jcl.svn.sourceforge.net/jcl/?rev=3791&view=rev
Author: outchy
Date: 2012-05-07 14:18:53 +0000 (Mon, 07 May 2012)
Log Message:
-----------
remove UTF-8 BOM.
Modified Paths:
--------------
trunk/jcl/install/JclInstall.pas
Modified: trunk/jcl/install/JclInstall.pas
===================================================================
--- trunk/jcl/install/JclInstall.pas 2012-05-07 09:35:28 UTC (rev 3790)
+++ trunk/jcl/install/JclInstall.pas 2012-05-07 14:18:53 UTC (rev 3791)
@@ -1,4 +1,4 @@
-{**************************************************************************************************}
+{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) extension }
{ }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ob...@us...> - 2012-05-07 09:35:34
|
Revision: 3790
http://jcl.svn.sourceforge.net/jcl/?rev=3790&view=rev
Author: obones
Date: 2012-05-07 09:35:28 +0000 (Mon, 07 May 2012)
Log Message:
-----------
Put the platform in the Target Id so that we have some coherence across JEDI.
Modified Paths:
--------------
trunk/jcl/install/JclInstall.pas
Modified: trunk/jcl/install/JclInstall.pas
===================================================================
--- trunk/jcl/install/JclInstall.pas 2012-05-07 08:59:24 UTC (rev 3789)
+++ trunk/jcl/install/JclInstall.pas 2012-05-07 09:35:28 UTC (rev 3790)
@@ -3475,7 +3475,12 @@
AInstallation := TargetInstalls[I];
AInstallationElem := XML.Root.Items.Add('Installation');
- AInstallationElem.Properties.Add('Target', AInstallation.Target.VersionNumberStr);
+ case AInstallation.TargetPlatform of
+ bpWin64:
+ AInstallationElem.Properties.Add('Target', AInstallation.Target.VersionNumberStr + '_x64');
+ else
+ AInstallationElem.Properties.Add('Target', AInstallation.Target.VersionNumberStr);
+ end;
AInstallationElem.Properties.Add('TargetName', AInstallation.TargetName);
AInstallationElem.Properties.Add('Enabled', AInstallation.Enabled);
AInstallationElem.Properties.Add('InstallAttempted', I <= FNbInstalled);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ob...@us...> - 2012-05-07 08:59:30
|
Revision: 3789
http://jcl.svn.sourceforge.net/jcl/?rev=3789&view=rev
Author: obones
Date: 2012-05-07 08:59:24 +0000 (Mon, 07 May 2012)
Log Message:
-----------
Always save the XML result file
Modified Paths:
--------------
trunk/jcl/install/JclInstall.pas
Modified: trunk/jcl/install/JclInstall.pas
===================================================================
--- trunk/jcl/install/JclInstall.pas 2012-05-05 12:47:22 UTC (rev 3788)
+++ trunk/jcl/install/JclInstall.pas 2012-05-07 08:59:24 UTC (rev 3789)
@@ -1,4 +1,4 @@
-{**************************************************************************************************}
+{**************************************************************************************************}
{ }
{ Project JEDI Code Library (JCL) extension }
{ }
@@ -3397,95 +3397,97 @@
XML: TJclSimpleXML;
AInstallationElem: TJclSimpleXMLElem;
begin
- KeepSettings := True;
+ try
+ KeepSettings := True;
- if RadToolInstallations.AnyInstanceRunning {$IFDEF MSWINDOWS} and not IsDebuggerAttached {$ENDIF} then
- begin
- if Assigned(GUI) then
- GUI.Dialog(LoadResString(@RsCloseRADTool), dtError, [drCancel]);
- Result := False;
- Exit;
- end;
+ if RadToolInstallations.AnyInstanceRunning {$IFDEF MSWINDOWS} and not IsDebuggerAttached {$ENDIF} then
+ begin
+ if Assigned(GUI) then
+ GUI.Dialog(LoadResString(@RsCloseRADTool), dtError, [drCancel]);
+ Result := False;
+ Exit;
+ end;
- if Assigned(LicensePage) and not LicensePage.Options[0] and not GUI.AutoAcceptMPL then
- begin
+ if Assigned(LicensePage) and not LicensePage.Options[0] and not GUI.AutoAcceptMPL then
+ begin
+ if Assigned(GUI) then
+ GUI.Dialog(LoadResString(@RsMissingLicenseAgreement), dtError, [drCancel]);
+ LicensePage.Show;
+ Result := False;
+ Exit;
+ end;
+
+ {$IFDEF MSWINDOWS}
if Assigned(GUI) then
- GUI.Dialog(LoadResString(@RsMissingLicenseAgreement), dtError, [drCancel]);
- LicensePage.Show;
- Result := False;
- Exit;
- end;
+ begin
+ for I := 0 to TargetInstallCount - 1 do
+ begin
+ AInstallation := TargetInstalls[I];
+ if AInstallation.Enabled then
+ begin
+ if Assigned(AInstallation.GUIPage) then
+ AInstallation.GUIPage.Show;
+ KeepSettings := GUI.Dialog(LoadResString(@RsKeepExpertSettings),
+ dtConfirmation, [drYes, drNo]) = drYes;
+ Break;
+ end;
+ end;
+ end;
+ RegHelpClearCommands;
+ {$ENDIF MSWINDOWS}
- {$IFDEF MSWINDOWS}
- if Assigned(GUI) then
- begin
+ FNbEnabled := 0;
+ FNbInstalled := 0;
+
for I := 0 to TargetInstallCount - 1 do
+ if TargetInstalls[I].Enabled then
+ Inc(FNbEnabled);
+
+ Result := True;
+ for I := 0 to TargetInstallCount - 1 do
begin
AInstallation := TargetInstalls[I];
if AInstallation.Enabled then
begin
- if Assigned(AInstallation.GUIPage) then
- AInstallation.GUIPage.Show;
- KeepSettings := GUI.Dialog(LoadResString(@RsKeepExpertSettings),
- dtConfirmation, [drYes, drNo]) = drYes;
- Break;
+ AInstallation.Silent := False;
+ if not KeepSettings then
+ AInstallation.RemoveSettings;
+ AInstallation.Uninstall(False);
+ Result := AInstallation.Install;
+ if not Result and (not Assigned(GUI) or not GUI.ContinueOnTargetError) then
+ Break;
+ Inc(FNbInstalled);
end;
end;
- end;
- RegHelpClearCommands;
- {$ENDIF MSWINDOWS}
- FNbEnabled := 0;
- FNbInstalled := 0;
-
- for I := 0 to TargetInstallCount - 1 do
- if TargetInstalls[I].Enabled then
- Inc(FNbEnabled);
-
- Result := True;
- for I := 0 to TargetInstallCount - 1 do
- begin
- AInstallation := TargetInstalls[I];
- if AInstallation.Enabled then
+ {$IFDEF MSWINDOWS}
+ Result := Result and RegHelpExecuteCommands(True);
+ {$ENDIF MSWINDOWS}
+ finally
+ if Assigned(GUI) and (GUI.XMLResultFileName <> '') then
begin
- AInstallation.Silent := False;
- if not KeepSettings then
- AInstallation.RemoveSettings;
- AInstallation.Uninstall(False);
- Result := AInstallation.Install;
- if not Result and (not Assigned(GUI) or not GUI.ContinueOnTargetError) then
- Break;
- Inc(FNbInstalled);
- end;
- end;
+ XML := TJclSimpleXML.Create;
+ try
+ XML.Options := [sxoAutoCreate, sxoAutoIndent, sxoAutoEncodeValue, sxoAutoEncodeEntity];
+ XML.Root.Name := 'JclInstall';
+ for I := 0 to TargetInstallCount - 1 do
+ begin
+ AInstallation := TargetInstalls[I];
+ AInstallationElem := XML.Root.Items.Add('Installation');
- if Assigned(GUI) and (GUI.XMLResultFileName <> '') then
- begin
- XML := TJclSimpleXML.Create;
- try
- XML.Options := [sxoAutoCreate, sxoAutoIndent, sxoAutoEncodeValue, sxoAutoEncodeEntity];
- XML.Root.Name := 'JclInstall';
- for I := 0 to TargetInstallCount - 1 do
- begin
- AInstallation := TargetInstalls[I];
- AInstallationElem := XML.Root.Items.Add('Installation');
-
- AInstallationElem.Properties.Add('Target', AInstallation.Target.VersionNumberStr);
- AInstallationElem.Properties.Add('TargetName', AInstallation.TargetName);
- AInstallationElem.Properties.Add('Enabled', AInstallation.Enabled);
- AInstallationElem.Properties.Add('InstallAttempted', I <= FNbInstalled);
- AInstallationElem.Properties.Add('InstallSuccess', AInstallation.InstallSuccess);
- AInstallationElem.Properties.Add('LogFileName', AInstallation.LogFileName);
+ AInstallationElem.Properties.Add('Target', AInstallation.Target.VersionNumberStr);
+ AInstallationElem.Properties.Add('TargetName', AInstallation.TargetName);
+ AInstallationElem.Properties.Add('Enabled', AInstallation.Enabled);
+ AInstallationElem.Properties.Add('InstallAttempted', I <= FNbInstalled);
+ AInstallationElem.Properties.Add('InstallSuccess', AInstallation.InstallSuccess);
+ AInstallationElem.Properties.Add('LogFileName', AInstallation.LogFileName);
+ end;
+ XML.SaveToFile(GUI.XMLResultFileName, JclStreams.seUTF8);
+ finally
+ XML.Free;
end;
- XML.SaveToFile(GUI.XMLResultFileName, JclStreams.seUTF8);
- finally
- XML.Free;
end;
end;
-
- {$IFDEF MSWINDOWS}
- Result := Result and RegHelpExecuteCommands(True);
- {$ENDIF MSWINDOWS}
end;
{$IFDEF MSWINDOWS}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-05-05 12:47:28
|
Revision: 3788
http://jcl.svn.sourceforge.net/jcl/?rev=3788&view=rev
Author: outchy
Date: 2012-05-05 12:47:22 +0000 (Sat, 05 May 2012)
Log Message:
-----------
new option to delete MAP file after JDBG conversion.
Modified Paths:
--------------
trunk/jcl/examples/windows/debug/tools/MakeJclDbg.dpr
Modified: trunk/jcl/examples/windows/debug/tools/MakeJclDbg.dpr
===================================================================
--- trunk/jcl/examples/windows/debug/tools/MakeJclDbg.dpr 2012-05-05 12:43:34 UTC (rev 3787)
+++ trunk/jcl/examples/windows/debug/tools/MakeJclDbg.dpr 2012-05-05 12:47:22 UTC (rev 3788)
@@ -38,8 +38,44 @@
JclDebug, JclFileUtils, JclPeImage, JclStrings;
var
- JdbgFlag, InsertToExeFlag: Boolean;
+ CreateJdbgFlag, InsertToExeFlag, DeleteMapFlag: Boolean;
+function FindExecutableFileName(const MapFileName: TFileName): TFileName;
+var
+ ExecFilesList: TStringList;
+ I, ValidCnt: Integer;
+begin
+ Result := '';
+ ValidCnt := 0;
+ ExecFilesList := TStringList.Create;
+ try
+ if AdvBuildFileList(ChangeFileExt(MapFileName, '.*'), faArchive, ExecFilesList, amSubSetOf, [flFullNames]) then
+ with ExecFilesList do
+ begin
+ for I := 0 to Count - 1 do
+ if IsValidPeFile(Strings[I]) then
+ begin
+ Objects[I] := Pointer(True);
+ Inc(ValidCnt);
+ if Result = '' then
+ Result := Strings[I];
+ end;
+ case ValidCnt of
+ 0: WriteLn(#13#10'Can not find any executable file for the MAP file.');
+ 1: Write(' -> ' + ExtractFileName(Result));
+ else
+ Result := '';
+ WriteLn(#13#10'Ambiguous executable file names:');
+ for I := 0 to Count - 1 do
+ if Boolean(Objects[I]) then
+ WriteLn(Strings[I]);
+ end;
+ end;
+ finally
+ ExecFilesList.Free;
+ end;
+end;
+
function MakeDebugData(const FileNames: string): Boolean;
var
FilesList: TStringList;
@@ -47,43 +83,6 @@
MapFileSize, BinDataSize: Integer;
FileName, ExecutableFileName: TFileName;
LinkerBugUnit: string;
-
- procedure FindExecutableFileName(const MapFileName: TFileName);
- var
- ExecFilesList: TStringList;
- I, ValidCnt: Integer;
- begin
- ExecutableFileName := '';
- ValidCnt := 0;
- ExecFilesList := TStringList.Create;
- try
- if AdvBuildFileList(ChangeFileExt(MapFileName, '.*'), faArchive, ExecFilesList, amSubSetOf, [flFullNames]) then
- with ExecFilesList do
- begin
- for I := 0 to Count - 1 do
- if IsValidPeFile(Strings[I]) then
- begin
- Objects[I] := Pointer(True);
- Inc(ValidCnt);
- if ExecutableFileName = '' then
- ExecutableFileName := Strings[I];
- end;
- case ValidCnt of
- 0: WriteLn(#13#10'Can not find any executable file for the MAP file.');
- 1: Write(' -> ' + ExtractFileName(ExecutableFileName));
- else
- ExecutableFileName := '';
- WriteLn(#13#10'Ambiguous executable file names:');
- for I := 0 to Count - 1 do
- if Boolean(Objects[I]) then
- WriteLn(Strings[I]);
- end;
- end;
- finally
- ExecFilesList.Free;
- end;
- end;
-
begin
Result := True;
FilesList := TStringList.Create;
@@ -95,17 +94,18 @@
if not AnsiSameText(ExtractFileExt(FileName), '.map') then
Continue;
Write(#13#10, FilesList[I]);
- Result := False;
- if JdbgFlag then
+ Result := True;
+ if Result and CreateJdbgFlag then
Result := ConvertMapFileToJdbgFile(FileName);
- if InsertToExeFlag then
+ if Result and InsertToExeFlag then
begin
- FindExecutableFileName(FileName);
- Result := (ExecutableFileName <> '');
- if Result then
- Result := InsertDebugDataIntoExecutableFile(ExecutableFileName,
+ ExecutableFileName := FindExecutableFileName(FileName);
+ Result := (ExecutableFileName <> '') and
+ InsertDebugDataIntoExecutableFile(ExecutableFileName,
FileName, LinkerBugUnit, MapFileSize, BinDataSize);
end;
+ if Result and DeleteMapFlag then
+ Result := FileDelete(FileName);
if Result then
WriteLn(' ... OK')
else
@@ -120,14 +120,16 @@
end;
begin
- WriteLn('Make JCL debug data command line utility. (c) 2002 Project JEDI');
- JdbgFlag := AnsiSameText(ParamStr(1), '-J');
- InsertToExeFlag := AnsiSameText(ParamStr(1), '-E');
- if (ParamCount <> 2) or not (JdbgFlag xor InsertToExeFlag) then
+ WriteLn('Make JCL debug data command line utility. (c) 2002-2012 Project JEDI');
+ CreateJdbgFlag := ParamPos('J') > 0;
+ InsertToExeFlag := ParamPos('E') > 0;
+ DeleteMapFlag := ParamPos('M') > 0;
+ if (ParamCount <> 2) or (not CreateJdbgFlag and not InsertToExeFlag and not DeleteMapFlag) then
begin
- WriteLn('Usage: MAKEJCLDBG -<J|E> <map filenames>');
+ WriteLn('Usage: MAKEJCLDBG [-J] [-E] [-M] <map filenames>');
WriteLn(' J - Create .JDBG files');
WriteLn(' E - Insert debug data into executable files');
+ WriteLn(' M - Delete MAP file after conversion');
WriteLn('Executable files must be in the same directory as the MAP files');
end
else
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-05-05 12:43:41
|
Revision: 3787
http://jcl.svn.sourceforge.net/jcl/?rev=3787&view=rev
Author: outchy
Date: 2012-05-05 12:43:34 +0000 (Sat, 05 May 2012)
Log Message:
-----------
refactoring of GetJCLSettings to extract GetRADInstallation.
Modified Paths:
--------------
trunk/jcl/experts/common/JclOtaUtils.pas
Modified: trunk/jcl/experts/common/JclOtaUtils.pas
===================================================================
--- trunk/jcl/experts/common/JclOtaUtils.pas 2012-05-02 08:07:34 UTC (rev 3786)
+++ trunk/jcl/experts/common/JclOtaUtils.pas 2012-05-05 12:43:34 UTC (rev 3787)
@@ -149,6 +149,7 @@
function GetRootDir: string;
function GetJCLRootDir: string;
function GetJCLSettings: TStrings;
+ function GetRADInstallation: TJclBorRADToolInstallation;
procedure ReadEnvVariables(EnvVariables: TStrings);
function GetActivePersonality: TJclBorPersonality;
function GetDesigner: string;
@@ -975,35 +976,24 @@
function TJclOTAExpertBase.GetJCLSettings: TStrings;
var
- Installations: TJclBorRADToolInstallations;
+ ConfigIni: TIniFile;
Installation: TJclBorRADToolInstallation;
- I: Integer;
- IDERegKey: string;
- ConfigIni: TIniFile;
const
JclConfigIni = 'bin\JCL-install.ini';
begin
if not Assigned(FJCLSettings) then
begin
- IDERegKey := StrEnsureNoSuffix('\', GetOTAServices.GetBaseRegistryKey);
- Installations := TJclBorRADToolInstallations.Create;
+ Installation := GetRADInstallation;
try
- for I := 0 to Installations.Count - 1 do
- begin
- Installation := Installations.Installations[I];
- if StrSame(IDERegKey, StrEnsureNoSuffix('\', Installation.ConfigDataLocation)) then
- begin
- ConfigIni := TIniFile.Create(PathAddSeparator(FJCLRootDir) + JclConfigIni);
- try
- FJCLSettings := TStringList.Create;
- ConfigIni.ReadSectionValues(Installation.Name, FJCLSettings);
- finally
- ConfigIni.Free;
- end;
- end;
+ ConfigIni := TIniFile.Create(PathAddSeparator(FJCLRootDir) + JclConfigIni);
+ try
+ FJCLSettings := TStringList.Create;
+ ConfigIni.ReadSectionValues(Installation.Name, FJCLSettings);
+ finally
+ ConfigIni.Free;
end;
finally
- Installations.Free;
+ Installation.Free;
end;
end;
Result := FJCLSettings;
@@ -1471,6 +1461,28 @@
Result := nil;
end;
+function TJclOTAExpertBase.GetRADInstallation: TJclBorRADToolInstallation;
+var
+ Installations: TJclBorRADToolInstallations;
+ Installation: TJclBorRADToolInstallation;
+ I: Integer;
+ IDERegKey: string;
+begin
+ Result := nil;
+ IDERegKey := StrEnsureNoSuffix('\', GetOTAServices.GetBaseRegistryKey);
+ Installations := TJclBorRADToolInstallations.Create;
+ try
+ for I := 0 to Installations.Count - 1 do
+ begin
+ Installation := Installations.Installations[I];
+ if StrSame(IDERegKey, StrEnsureNoSuffix('\', Installation.ConfigDataLocation)) then
+ Result := TJclBorRADToolInstallationClass(Installation.ClassType).Create(Installation.ConfigDataLocation, Installation.RootKey);
+ end;
+ finally
+ Installations.Free;
+ end;
+end;
+
function TJclOTAExpertBase.GetRootDir: string;
begin
if FRootDir = '' then
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ob...@us...> - 2012-05-02 08:07:45
|
Revision: 3786
http://jcl.svn.sourceforge.net/jcl/?rev=3786&view=rev
Author: obones
Date: 2012-05-02 08:07:34 +0000 (Wed, 02 May 2012)
Log Message:
-----------
Always terminate the process, or else it will leave it dangling, with all its handles opened. This is especially important when one of the text handlers triggers and exception
Modified Paths:
--------------
trunk/jcl/source/common/JclSysUtils.pas
Modified: trunk/jcl/source/common/JclSysUtils.pas
===================================================================
--- trunk/jcl/source/common/JclSysUtils.pas 2012-04-30 07:54:26 UTC (rev 3785)
+++ trunk/jcl/source/common/JclSysUtils.pas 2012-05-02 08:07:34 UTC (rev 3786)
@@ -2932,7 +2932,6 @@
AbortPtr := @InternalAbort;
// init the array of events to wait for
ProcessEvent := TJclDispatcherObject.Attach(ProcessInfo.hProcess);
- ProcessInfo.hProcess := 0; // ProcessEvent now "owns" the handle
SetLength(WaitEvents, 2);
// add the process first
WaitEvents[0] := ProcessEvent;
@@ -3017,14 +3016,16 @@
CloseHandle(ErrorPipeInfo.PipeWrite);
if ProcessInfo.hThread <> 0 then
CloseHandle(ProcessInfo.hThread);
- if ProcessInfo.hProcess <> 0 then
- begin
- TerminateProcess(ProcessInfo.hProcess, Cardinal(ABORT_EXIT_CODE));
- WaitForSingleObject(ProcessInfo.hProcess, INFINITE);
- GetExitCodeProcess(ProcessInfo.hProcess, Result);
+
+ // always terminate process, especially useful when an exception occured
+ // in one of the texthandler
+ TerminateProcess(ProcessInfo.hProcess, Cardinal(ABORT_EXIT_CODE));
+ WaitForSingleObject(ProcessInfo.hProcess, INFINITE);
+ GetExitCodeProcess(ProcessInfo.hProcess, Result);
+ if Assigned(ProcessEvent) then
+ ProcessEvent.Free // this calls CloseHandle(ProcessInfo.hProcess)
+ else
CloseHandle(ProcessInfo.hProcess);
- end;
- ProcessEvent.Free; // this calls CloseHandle(ProcessInfo.hProcess)
OutPipeInfo.Event.Free;
ErrorPipeInfo.Event.Free;
end;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <jg...@us...> - 2012-04-30 07:54:32
|
Revision: 3785
http://jcl.svn.sourceforge.net/jcl/?rev=3785&view=rev
Author: jgsoft
Date: 2012-04-30 07:54:26 +0000 (Mon, 30 Apr 2012)
Log Message:
-----------
TJclCompressionItem.SetStream(nil) now removes ipStream from Valid/ModifiedProperties just as SetFileName('') removes ipFilename.
Modified Paths:
--------------
trunk/jcl/source/common/JclCompression.pas
Modified: trunk/jcl/source/common/JclCompression.pas
===================================================================
--- trunk/jcl/source/common/JclCompression.pas 2012-04-21 12:17:57 UTC (rev 3784)
+++ trunk/jcl/source/common/JclCompression.pas 2012-04-30 07:54:26 UTC (rev 3785)
@@ -4175,8 +4175,14 @@
CheckSetProperty(ipStream);
ReleaseStream;
FStream := Value;
- Include(FModifiedProperties, ipStream);
- Include(FValidProperties, ipStream);
+ if Value <> nil then begin
+ Include(FModifiedProperties, ipStream);
+ Include(FValidProperties, ipStream);
+ end
+ else begin
+ Exclude(FModifiedProperties, ipStream);
+ Exclude(FValidProperties, ipStream);
+ end;
end;
procedure TJclCompressionItem.SetUser(const Value: WideString);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-04-21 12:18:04
|
Revision: 3784
http://jcl.svn.sourceforge.net/jcl/?rev=3784&view=rev
Author: outchy
Date: 2012-04-21 12:17:57 +0000 (Sat, 21 Apr 2012)
Log Message:
-----------
add unstable warning on the daily page.
Modified Paths:
--------------
trunk/website/sourceforge/daily/index.php
Modified: trunk/website/sourceforge/daily/index.php
===================================================================
--- trunk/website/sourceforge/daily/index.php 2012-04-20 20:48:14 UTC (rev 3783)
+++ trunk/website/sourceforge/daily/index.php 2012-04-21 12:17:57 UTC (rev 3784)
@@ -114,7 +114,10 @@
They contain a copy of the development repository and as such contain
all the latest bug fixes and improvements provided by the JCL
developers.<br>
+<font color="red">However, from time to time, the content of those files may not compile or may not work properly. We will do everything we can to prevent that but we can't avoid all errors.<br>
+These daily builds are provided for testing purposes and should not be considered stable.</font>
<br>
+<br>
The latest source files are available for download below:<br>
<br>
<table
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-04-20 20:48:21
|
Revision: 3783
http://jcl.svn.sourceforge.net/jcl/?rev=3783&view=rev
Author: outchy
Date: 2012-04-20 20:48:14 +0000 (Fri, 20 Apr 2012)
Log Message:
-----------
revert revision 3780 since it seems to corrupt Win32 binaries.
Revision Links:
--------------
http://jcl.svn.sourceforge.net/jcl/?rev=3780&view=rev
Modified Paths:
--------------
trunk/jcl/source/windows/JclDebug.pas
Modified: trunk/jcl/source/windows/JclDebug.pas
===================================================================
--- trunk/jcl/source/windows/JclDebug.pas 2012-04-19 19:33:13 UTC (rev 3782)
+++ trunk/jcl/source/windows/JclDebug.pas 2012-04-20 20:48:14 UTC (rev 3783)
@@ -2256,15 +2256,15 @@
MapFileSize, JclDebugDataSize, Dummy);
end;
+// TODO 64 bit version
function InsertDebugDataIntoExecutableFile(const ExecutableFileName: TFileName;
BinDebug: TJclBinDebugGenerator; out LinkerBugUnit: string;
out MapFileSize, JclDebugDataSize, LineNumberErrors: Integer): Boolean;
var
ImageStream: TStream;
NtHeaders32: TImageNtHeaders32;
- NtHeaders64: TImageNtHeaders64;
ImageSectionHeaders: TImageSectionHeaderArray;
- NtHeadersPosition, ImageSectionHeadersPosition, JclDebugSectionPosition: Int64;
+ NtHeaders32Position, ImageSectionHeadersPosition, JclDebugSectionPosition: Int64;
JclDebugSection: TImageSectionHeader;
LastSection: PImageSectionHeader;
VirtualAlignedSize: DWORD;
@@ -2298,125 +2298,75 @@
ImageStream := TFileStream.Create(ExecutableFileName, fmOpenReadWrite or fmShareExclusive);
try
try
- MapFileSize := BinDebug.Stream.Size;
- JclDebugDataSize := BinDebug.DataStream.Size;
- VirtualAlignedSize := JclDebugDataSize;
-
- // JCLDEBUG
- ResetMemory(JclDebugSection, SizeOf(JclDebugSection));
- // JCLDEBUG Virtual Size
- JclDebugSection.Misc.VirtualSize := JclDebugDataSize;
- // JCLDEBUG Raw data size
- JclDebugSection.SizeOfRawData := JclDebugDataSize;
- // JCLDEBUG Section name
- StrPLCopy(PAnsiChar(@JclDebugSection.Name), JclDbgDataResName, IMAGE_SIZEOF_SHORT_NAME);
- // JCLDEBUG Characteristics flags
- JclDebugSection.Characteristics := IMAGE_SCN_MEM_READ or IMAGE_SCN_CNT_INITIALIZED_DATA;
-
- case PeMapImgTarget(ImageStream, 0) of
- taWin32:
+ if PeMapImgTarget(ImageStream, 0) = taWin32 then
+ begin
+ MapFileSize := BinDebug.Stream.Size;
+ JclDebugDataSize := BinDebug.DataStream.Size;
+ NtHeaders32Position := PeMapImgNtHeaders32(ImageStream, 0, NtHeaders32);
+ Assert(NtHeaders32Position <> -1);
+ ImageSectionHeadersPosition := PeMapImgSections32(ImageStream, NtHeaders32Position, NtHeaders32, ImageSectionHeaders);
+ Assert(ImageSectionHeadersPosition <> -1);
+ // Check whether there is not a section with the name already. If so, return True (#0000069)
+ if PeMapImgFindSection(ImageSectionHeaders, JclDbgDataResName) <> -1 then
begin
- NtHeadersPosition := PeMapImgNtHeaders32(ImageStream, 0, NtHeaders32);
- Assert(NtHeadersPosition <> -1);
- ImageSectionHeadersPosition := PeMapImgSections32(ImageStream, NtHeadersPosition, NtHeaders32, ImageSectionHeaders);
- Assert(ImageSectionHeadersPosition <> -1);
- // Check whether there is not a section with the name already. If so, return True (0000069)
- if PeMapImgFindSection(ImageSectionHeaders, JclDbgDataResName) <> -1 then
- begin
- Result := True;
- Exit;
- end;
-
- JclDebugSectionPosition := ImageSectionHeadersPosition + (SizeOf(ImageSectionHeaders[0]) * Length(ImageSectionHeaders));
- LastSection := @ImageSectionHeaders[High(ImageSectionHeaders)];
-
- // Increase the number of sections
- Inc(NtHeaders32.FileHeader.NumberOfSections);
-
- // JCLDEBUG Virtual Address
- JclDebugSection.VirtualAddress := LastSection^.VirtualAddress + LastSection^.Misc.VirtualSize;
- // JCLDEBUG Physical Offset
- JclDebugSection.PointerToRawData := LastSection^.PointerToRawData + LastSection^.SizeOfRawData;
-
- // JCLDEBUG section rounding :
- RoundUpToAlignment(JclDebugSection.VirtualAddress, NtHeaders32.OptionalHeader.SectionAlignment);
- RoundUpToAlignment(JclDebugSection.PointerToRawData, NtHeaders32.OptionalHeader.FileAlignment);
- RoundUpToAlignment(JclDebugSection.SizeOfRawData, NtHeaders32.OptionalHeader.FileAlignment);
-
- // Size of virtual data area
- RoundUpToAlignment(VirtualAlignedSize, NtHeaders32.OptionalHeader.SectionAlignment);
- // Update Size of Image
- Inc(NtHeaders32.OptionalHeader.SizeOfImage, VirtualAlignedSize);
- // Update Initialized data size
- Inc(NtHeaders32.OptionalHeader.SizeOfInitializedData, JclDebugSection.SizeOfRawData);
-
- // write NT Headers 32
- if (ImageStream.Seek(NtHeadersPosition, soBeginning) <> NtHeadersPosition) or
- (ImageStream.Write(NtHeaders32, SizeOf(NtHeaders32)) <> SizeOf(NtHeaders32)) then
- raise EJclPeImageError.CreateRes(@SWriteError);
+ Result := True;
+ Exit;
end;
- taWin64:
- begin
- NtHeadersPosition := PeMapImgNtHeaders64(ImageStream, 0, NtHeaders64);
- Assert(NtHeadersPosition <> -1);
- ImageSectionHeadersPosition := PeMapImgSections64(ImageStream, NtHeadersPosition, NtHeaders64, ImageSectionHeaders);
- Assert(ImageSectionHeadersPosition <> -1);
- // Check whether there is not a section with the name already. If so, return True (0000069)
- if PeMapImgFindSection(ImageSectionHeaders, JclDbgDataResName) <> -1 then
- begin
- Result := True;
- Exit;
- end;
- JclDebugSectionPosition := ImageSectionHeadersPosition + (SizeOf(ImageSectionHeaders[0]) * Length(ImageSectionHeaders));
- LastSection := @ImageSectionHeaders[High(ImageSectionHeaders)];
+ JclDebugSectionPosition := ImageSectionHeadersPosition + (SizeOf(ImageSectionHeaders[0]) * Length(ImageSectionHeaders));
+ LastSection := @ImageSectionHeaders[High(ImageSectionHeaders)];
+
+ // Increase the number of sections
+ Inc(NtHeaders32.FileHeader.NumberOfSections);
- // Increase the number of sections
- Inc(NtHeaders64.FileHeader.NumberOfSections);
+ ResetMemory(JclDebugSection, SizeOf(JclDebugSection));
+ // JCLDEBUG Virtual Address
+ JclDebugSection.VirtualAddress := LastSection^.VirtualAddress + LastSection^.Misc.VirtualSize;
+ RoundUpToAlignment(JclDebugSection.VirtualAddress, NtHeaders32.OptionalHeader.SectionAlignment);
+ // JCLDEBUG Physical Offset
+ JclDebugSection.PointerToRawData := LastSection^.PointerToRawData + LastSection^.SizeOfRawData;
+ RoundUpToAlignment(JclDebugSection.PointerToRawData, NtHeaders32.OptionalHeader.FileAlignment);
+ // JCLDEBUG Section name
+ StrPLCopy(PAnsiChar(@JclDebugSection.Name), JclDbgDataResName, IMAGE_SIZEOF_SHORT_NAME);
+ // JCLDEBUG Characteristics flags
+ JclDebugSection.Characteristics := IMAGE_SCN_MEM_READ or IMAGE_SCN_CNT_INITIALIZED_DATA;
- // JCLDEBUG Virtual Address
- JclDebugSection.VirtualAddress := LastSection^.VirtualAddress + LastSection^.Misc.VirtualSize;
- // JCLDEBUG Physical Offset
- JclDebugSection.PointerToRawData := LastSection^.PointerToRawData + LastSection^.SizeOfRawData;
+ // Size of virtual data area
+ JclDebugSection.Misc.VirtualSize := JclDebugDataSize;
+ VirtualAlignedSize := JclDebugDataSize;
+ RoundUpToAlignment(VirtualAlignedSize, NtHeaders32.OptionalHeader.SectionAlignment);
+ // Update Size of Image
+ Inc(NtHeaders32.OptionalHeader.SizeOfImage, VirtualAlignedSize);
+ // Raw data size
+ JclDebugSection.SizeOfRawData := JclDebugDataSize;
+ RoundUpToAlignment(JclDebugSection.SizeOfRawData, NtHeaders32.OptionalHeader.FileAlignment);
+ // Update Initialized data size
+ Inc(NtHeaders32.OptionalHeader.SizeOfInitializedData, JclDebugSection.SizeOfRawData);
- // JCLDEBUG section rounding :
- RoundUpToAlignment(JclDebugSection.VirtualAddress, NtHeaders64.OptionalHeader.SectionAlignment);
- RoundUpToAlignment(JclDebugSection.PointerToRawData, NtHeaders64.OptionalHeader.FileAlignment);
- RoundUpToAlignment(JclDebugSection.SizeOfRawData, NtHeaders64.OptionalHeader.FileAlignment);
+ // write NT Headers 32
+ if (ImageStream.Seek(NtHeaders32Position, soBeginning) <> NtHeaders32Position) or
+ (ImageStream.Write(NtHeaders32, SizeOf(NtHeaders32)) <> SizeOf(NtHeaders32)) then
+ raise EJclPeImageError.CreateRes(@SWriteError);
- // Size of virtual data area
- RoundUpToAlignment(VirtualAlignedSize, NtHeaders64.OptionalHeader.SectionAlignment);
- // Update Size of Image
- Inc(NtHeaders64.OptionalHeader.SizeOfImage, VirtualAlignedSize);
- // Update Initialized data size
- Inc(NtHeaders64.OptionalHeader.SizeOfInitializedData, JclDebugSection.SizeOfRawData);
+ // write section header
+ if (ImageStream.Seek(JclDebugSectionPosition, soBeginning) <> JclDebugSectionPosition) or
+ (ImageStream.Write(JclDebugSection, SizeOf(JclDebugSection)) <> SizeOf(JclDebugSection)) then
+ raise EJclPeImageError.CreateRes(@SWriteError);
- // write NT Headers 64
- if (ImageStream.Seek(NtHeadersPosition, soBeginning) <> NtHeadersPosition) or
- (ImageStream.Write(NtHeaders64, SizeOf(NtHeaders64)) <> SizeOf(NtHeaders64)) then
- raise EJclPeImageError.CreateRes(@SWriteError);
- end;
+ // Fill data to alignment
+ NeedFill := INT_PTR(JclDebugSection.SizeOfRawData) - JclDebugDataSize;
+
+ // Note: Delphi linker seems to generate incorrect (unaligned) size of
+ // the executable when adding TD32 debug data so the position could be
+ // behind the size of the file then.
+ ImageStream.Seek({0 +} JclDebugSection.PointerToRawData, soFromBeginning);
+ ImageStream.CopyFrom(BinDebug.DataStream, 0);
+ X := 0;
+ for I := 1 to NeedFill do
+ ImageStream.WriteBuffer(X, 1);
+ end
else
Result := False;
- Exit;
- end;
-
- // write section header
- if (ImageStream.Seek(JclDebugSectionPosition, soBeginning) <> JclDebugSectionPosition) or
- (ImageStream.Write(JclDebugSection, SizeOf(JclDebugSection)) <> SizeOf(JclDebugSection)) then
- raise EJclPeImageError.CreateRes(@SWriteError);
-
- // Fill data to alignment
- NeedFill := INT_PTR(JclDebugSection.SizeOfRawData) - JclDebugDataSize;
-
- // Note: Delphi linker seems to generate incorrect (unaligned) size of
- // the executable when adding TD32 debug data so the position could be
- // behind the size of the file then.
- ImageStream.Seek({0 +} JclDebugSection.PointerToRawData, soFromBeginning);
- ImageStream.CopyFrom(BinDebug.DataStream, 0);
- X := 0;
- for I := 1 to NeedFill do
- ImageStream.WriteBuffer(X, 1);
except
Result := False;
end;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-04-19 19:33:20
|
Revision: 3782
http://jcl.svn.sourceforge.net/jcl/?rev=3782&view=rev
Author: outchy
Date: 2012-04-19 19:33:13 +0000 (Thu, 19 Apr 2012)
Log Message:
-----------
Mantis 5825: Know which file is being extracted/compressed in JCLCompression.
Modified Paths:
--------------
trunk/jcl/source/common/JclCompression.pas
Modified: trunk/jcl/source/common/JclCompression.pas
===================================================================
--- trunk/jcl/source/common/JclCompression.pas 2012-04-19 19:17:36 UTC (rev 3781)
+++ trunk/jcl/source/common/JclCompression.pas 2012-04-19 19:33:13 UTC (rev 3782)
@@ -777,6 +777,7 @@
FVolumeFileNameMask: TFileName;
FProgressMax: Int64;
FCancelCurrentOperation: Boolean;
+ FCurrentItemIndex: Integer;
function GetItemCount: Integer;
function GetItem(Index: Integer): TJclCompressionItem;
function GetVolumeCount: Integer;
@@ -846,6 +847,7 @@
property VolumeFileNameMask: TFileName read FVolumeFileNameMask;
property VolumeIndexOffset: Integer read FVolumeIndexOffset write FVolumeIndexOffset;
+ property CurrentItemIndex: Integer read FCurrentItemIndex; // valid during OnProgress
property OnProgress: TJclCompressionProgressEvent read FOnProgress write FOnProgress;
property OnRatio: TJclCompressionRatioEvent read FOnRatio write FOnRatio;
@@ -5661,8 +5663,12 @@
procedure TJclSevenzipOutStream.NeedStream;
begin
- if Assigned(FArchive) and not Assigned(FStream) then
- FStream := FArchive.Items[FItemIndex].Stream;
+ if Assigned(FArchive) then
+ begin
+ FArchive.FCurrentItemIndex := FItemIndex;
+ if not Assigned(FStream) then
+ FStream := FArchive.Items[FItemIndex].Stream;
+ end;
end;
procedure TJclSevenzipOutStream.ReleaseStream;
@@ -5813,8 +5819,12 @@
procedure TJclSevenzipInStream.NeedStream;
begin
- if Assigned(FArchive) and not Assigned(FStream) then
- FStream := FArchive.Items[FItemIndex].Stream;
+ if Assigned(FArchive) then
+ begin
+ FArchive.FCurrentItemIndex := FItemIndex;
+ if not Assigned(FStream) then
+ FStream := FArchive.Items[FItemIndex].Stream;
+ end;
end;
function TJclSevenzipInStream.Read(Data: Pointer; Size: Cardinal;
@@ -7624,6 +7634,7 @@
FDestinationDir := '';
FDecompressing := False;
FExtractingAllIndex := -1;
+ FCurrentItemIndex := -1;
AExtractCallback := nil;
// release volumes and other finalizations
inherited ExtractAll(ADestinationDir, AAutoCreateSubDir);
@@ -7671,6 +7682,7 @@
FDestinationDir := '';
FDecompressing := False;
AExtractCallback := nil;
+ FCurrentItemIndex := -1;
// release volumes and other finalizations
inherited ExtractSelected(ADestinationDir, AAutoCreateSubDir);
end;
@@ -8880,6 +8892,7 @@
FDestinationDir := '';
FDecompressing := False;
FExtractingAllIndex := -1;
+ FCurrentItemIndex := -1;
AExtractCallback := nil;
// release volumes and other finalizations
inherited ExtractAll(ADestinationDir, AAutoCreateSubDir);
@@ -8928,6 +8941,7 @@
FDestinationDir := '';
FDecompressing := False;
AExtractCallback := nil;
+ FCurrentItemIndex := -1;
// release volumes and other finalizations
inherited ExtractSelected(ADestinationDir, AAutoCreateSubDir);
end;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-04-19 19:17:42
|
Revision: 3781
http://jcl.svn.sourceforge.net/jcl/?rev=3781&view=rev
Author: outchy
Date: 2012-04-19 19:17:36 +0000 (Thu, 19 Apr 2012)
Log Message:
-----------
Mantis 5839: JclUsesUtils can not resolve unit scope names.
Modified Paths:
--------------
trunk/jcl/source/common/JclUsesUtils.pas
Modified: trunk/jcl/source/common/JclUsesUtils.pas
===================================================================
--- trunk/jcl/source/common/JclUsesUtils.pas 2012-04-19 19:02:17 UTC (rev 3780)
+++ trunk/jcl/source/common/JclUsesUtils.pas 2012-04-19 19:17:36 UTC (rev 3781)
@@ -163,7 +163,7 @@
if Result then
begin
Inc(P);
- while CharIsValidIdentifierLetter(P^) do
+ while CharIsValidIdentifierLetter(P^) or (P^ = '.') do
Inc(P);
end;
end;
@@ -226,7 +226,7 @@
PStart := P;
Inc(P);
- while CharIsValidIdentifierLetter(P^) do
+ while CharIsValidIdentifierLetter(P^) or (P^ = '.') do
Inc(P);
SetString(Result, PStart, P - PStart);
@@ -405,7 +405,7 @@
Inc(I);
if I = Index then
begin
- while CharIsValidIdentifierLetter(PIdentifier^) do
+ while CharIsValidIdentifierLetter(PIdentifier^) or (P^ = '.') do
begin
Result := Result + PIdentifier^;
Inc(PIdentifier);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-04-19 19:02:23
|
Revision: 3780
http://jcl.svn.sourceforge.net/jcl/?rev=3780&view=rev
Author: outchy
Date: 2012-04-19 19:02:17 +0000 (Thu, 19 Apr 2012)
Log Message:
-----------
Mantis 5848: Port JclDebug.InsertDebugDataIntoExecutableFile to 64 bit.
Modified Paths:
--------------
trunk/jcl/source/windows/JclDebug.pas
Modified: trunk/jcl/source/windows/JclDebug.pas
===================================================================
--- trunk/jcl/source/windows/JclDebug.pas 2012-04-19 18:13:33 UTC (rev 3779)
+++ trunk/jcl/source/windows/JclDebug.pas 2012-04-19 19:02:17 UTC (rev 3780)
@@ -2256,15 +2256,15 @@
MapFileSize, JclDebugDataSize, Dummy);
end;
-// TODO 64 bit version
function InsertDebugDataIntoExecutableFile(const ExecutableFileName: TFileName;
BinDebug: TJclBinDebugGenerator; out LinkerBugUnit: string;
out MapFileSize, JclDebugDataSize, LineNumberErrors: Integer): Boolean;
var
ImageStream: TStream;
NtHeaders32: TImageNtHeaders32;
+ NtHeaders64: TImageNtHeaders64;
ImageSectionHeaders: TImageSectionHeaderArray;
- NtHeaders32Position, ImageSectionHeadersPosition, JclDebugSectionPosition: Int64;
+ NtHeadersPosition, ImageSectionHeadersPosition, JclDebugSectionPosition: Int64;
JclDebugSection: TImageSectionHeader;
LastSection: PImageSectionHeader;
VirtualAlignedSize: DWORD;
@@ -2298,75 +2298,125 @@
ImageStream := TFileStream.Create(ExecutableFileName, fmOpenReadWrite or fmShareExclusive);
try
try
- if PeMapImgTarget(ImageStream, 0) = taWin32 then
- begin
- MapFileSize := BinDebug.Stream.Size;
- JclDebugDataSize := BinDebug.DataStream.Size;
- NtHeaders32Position := PeMapImgNtHeaders32(ImageStream, 0, NtHeaders32);
- Assert(NtHeaders32Position <> -1);
- ImageSectionHeadersPosition := PeMapImgSections32(ImageStream, NtHeaders32Position, NtHeaders32, ImageSectionHeaders);
- Assert(ImageSectionHeadersPosition <> -1);
- // Check whether there is not a section with the name already. If so, return True (#0000069)
- if PeMapImgFindSection(ImageSectionHeaders, JclDbgDataResName) <> -1 then
+ MapFileSize := BinDebug.Stream.Size;
+ JclDebugDataSize := BinDebug.DataStream.Size;
+ VirtualAlignedSize := JclDebugDataSize;
+
+ // JCLDEBUG
+ ResetMemory(JclDebugSection, SizeOf(JclDebugSection));
+ // JCLDEBUG Virtual Size
+ JclDebugSection.Misc.VirtualSize := JclDebugDataSize;
+ // JCLDEBUG Raw data size
+ JclDebugSection.SizeOfRawData := JclDebugDataSize;
+ // JCLDEBUG Section name
+ StrPLCopy(PAnsiChar(@JclDebugSection.Name), JclDbgDataResName, IMAGE_SIZEOF_SHORT_NAME);
+ // JCLDEBUG Characteristics flags
+ JclDebugSection.Characteristics := IMAGE_SCN_MEM_READ or IMAGE_SCN_CNT_INITIALIZED_DATA;
+
+ case PeMapImgTarget(ImageStream, 0) of
+ taWin32:
begin
- Result := True;
- Exit;
+ NtHeadersPosition := PeMapImgNtHeaders32(ImageStream, 0, NtHeaders32);
+ Assert(NtHeadersPosition <> -1);
+ ImageSectionHeadersPosition := PeMapImgSections32(ImageStream, NtHeadersPosition, NtHeaders32, ImageSectionHeaders);
+ Assert(ImageSectionHeadersPosition <> -1);
+ // Check whether there is not a section with the name already. If so, return True (0000069)
+ if PeMapImgFindSection(ImageSectionHeaders, JclDbgDataResName) <> -1 then
+ begin
+ Result := True;
+ Exit;
+ end;
+
+ JclDebugSectionPosition := ImageSectionHeadersPosition + (SizeOf(ImageSectionHeaders[0]) * Length(ImageSectionHeaders));
+ LastSection := @ImageSectionHeaders[High(ImageSectionHeaders)];
+
+ // Increase the number of sections
+ Inc(NtHeaders32.FileHeader.NumberOfSections);
+
+ // JCLDEBUG Virtual Address
+ JclDebugSection.VirtualAddress := LastSection^.VirtualAddress + LastSection^.Misc.VirtualSize;
+ // JCLDEBUG Physical Offset
+ JclDebugSection.PointerToRawData := LastSection^.PointerToRawData + LastSection^.SizeOfRawData;
+
+ // JCLDEBUG section rounding :
+ RoundUpToAlignment(JclDebugSection.VirtualAddress, NtHeaders32.OptionalHeader.SectionAlignment);
+ RoundUpToAlignment(JclDebugSection.PointerToRawData, NtHeaders32.OptionalHeader.FileAlignment);
+ RoundUpToAlignment(JclDebugSection.SizeOfRawData, NtHeaders32.OptionalHeader.FileAlignment);
+
+ // Size of virtual data area
+ RoundUpToAlignment(VirtualAlignedSize, NtHeaders32.OptionalHeader.SectionAlignment);
+ // Update Size of Image
+ Inc(NtHeaders32.OptionalHeader.SizeOfImage, VirtualAlignedSize);
+ // Update Initialized data size
+ Inc(NtHeaders32.OptionalHeader.SizeOfInitializedData, JclDebugSection.SizeOfRawData);
+
+ // write NT Headers 32
+ if (ImageStream.Seek(NtHeadersPosition, soBeginning) <> NtHeadersPosition) or
+ (ImageStream.Write(NtHeaders32, SizeOf(NtHeaders32)) <> SizeOf(NtHeaders32)) then
+ raise EJclPeImageError.CreateRes(@SWriteError);
end;
+ taWin64:
+ begin
+ NtHeadersPosition := PeMapImgNtHeaders64(ImageStream, 0, NtHeaders64);
+ Assert(NtHeadersPosition <> -1);
+ ImageSectionHeadersPosition := PeMapImgSections64(ImageStream, NtHeadersPosition, NtHeaders64, ImageSectionHeaders);
+ Assert(ImageSectionHeadersPosition <> -1);
+ // Check whether there is not a section with the name already. If so, return True (0000069)
+ if PeMapImgFindSection(ImageSectionHeaders, JclDbgDataResName) <> -1 then
+ begin
+ Result := True;
+ Exit;
+ end;
- JclDebugSectionPosition := ImageSectionHeadersPosition + (SizeOf(ImageSectionHeaders[0]) * Length(ImageSectionHeaders));
- LastSection := @ImageSectionHeaders[High(ImageSectionHeaders)];
-
- // Increase the number of sections
- Inc(NtHeaders32.FileHeader.NumberOfSections);
+ JclDebugSectionPosition := ImageSectionHeadersPosition + (SizeOf(ImageSectionHeaders[0]) * Length(ImageSectionHeaders));
+ LastSection := @ImageSectionHeaders[High(ImageSectionHeaders)];
- ResetMemory(JclDebugSection, SizeOf(JclDebugSection));
- // JCLDEBUG Virtual Address
- JclDebugSection.VirtualAddress := LastSection^.VirtualAddress + LastSection^.Misc.VirtualSize;
- RoundUpToAlignment(JclDebugSection.VirtualAddress, NtHeaders32.OptionalHeader.SectionAlignment);
- // JCLDEBUG Physical Offset
- JclDebugSection.PointerToRawData := LastSection^.PointerToRawData + LastSection^.SizeOfRawData;
- RoundUpToAlignment(JclDebugSection.PointerToRawData, NtHeaders32.OptionalHeader.FileAlignment);
- // JCLDEBUG Section name
- StrPLCopy(PAnsiChar(@JclDebugSection.Name), JclDbgDataResName, IMAGE_SIZEOF_SHORT_NAME);
- // JCLDEBUG Characteristics flags
- JclDebugSection.Characteristics := IMAGE_SCN_MEM_READ or IMAGE_SCN_CNT_INITIALIZED_DATA;
+ // Increase the number of sections
+ Inc(NtHeaders64.FileHeader.NumberOfSections);
- // Size of virtual data area
- JclDebugSection.Misc.VirtualSize := JclDebugDataSize;
- VirtualAlignedSize := JclDebugDataSize;
- RoundUpToAlignment(VirtualAlignedSize, NtHeaders32.OptionalHeader.SectionAlignment);
- // Update Size of Image
- Inc(NtHeaders32.OptionalHeader.SizeOfImage, VirtualAlignedSize);
- // Raw data size
- JclDebugSection.SizeOfRawData := JclDebugDataSize;
- RoundUpToAlignment(JclDebugSection.SizeOfRawData, NtHeaders32.OptionalHeader.FileAlignment);
- // Update Initialized data size
- Inc(NtHeaders32.OptionalHeader.SizeOfInitializedData, JclDebugSection.SizeOfRawData);
+ // JCLDEBUG Virtual Address
+ JclDebugSection.VirtualAddress := LastSection^.VirtualAddress + LastSection^.Misc.VirtualSize;
+ // JCLDEBUG Physical Offset
+ JclDebugSection.PointerToRawData := LastSection^.PointerToRawData + LastSection^.SizeOfRawData;
- // write NT Headers 32
- if (ImageStream.Seek(NtHeaders32Position, soBeginning) <> NtHeaders32Position) or
- (ImageStream.Write(NtHeaders32, SizeOf(NtHeaders32)) <> SizeOf(NtHeaders32)) then
- raise EJclPeImageError.CreateRes(@SWriteError);
+ // JCLDEBUG section rounding :
+ RoundUpToAlignment(JclDebugSection.VirtualAddress, NtHeaders64.OptionalHeader.SectionAlignment);
+ RoundUpToAlignment(JclDebugSection.PointerToRawData, NtHeaders64.OptionalHeader.FileAlignment);
+ RoundUpToAlignment(JclDebugSection.SizeOfRawData, NtHeaders64.OptionalHeader.FileAlignment);
- // write section header
- if (ImageStream.Seek(JclDebugSectionPosition, soBeginning) <> JclDebugSectionPosition) or
- (ImageStream.Write(JclDebugSection, SizeOf(JclDebugSection)) <> SizeOf(JclDebugSection)) then
- raise EJclPeImageError.CreateRes(@SWriteError);
+ // Size of virtual data area
+ RoundUpToAlignment(VirtualAlignedSize, NtHeaders64.OptionalHeader.SectionAlignment);
+ // Update Size of Image
+ Inc(NtHeaders64.OptionalHeader.SizeOfImage, VirtualAlignedSize);
+ // Update Initialized data size
+ Inc(NtHeaders64.OptionalHeader.SizeOfInitializedData, JclDebugSection.SizeOfRawData);
- // Fill data to alignment
- NeedFill := INT_PTR(JclDebugSection.SizeOfRawData) - JclDebugDataSize;
-
- // Note: Delphi linker seems to generate incorrect (unaligned) size of
- // the executable when adding TD32 debug data so the position could be
- // behind the size of the file then.
- ImageStream.Seek({0 +} JclDebugSection.PointerToRawData, soFromBeginning);
- ImageStream.CopyFrom(BinDebug.DataStream, 0);
- X := 0;
- for I := 1 to NeedFill do
- ImageStream.WriteBuffer(X, 1);
- end
+ // write NT Headers 64
+ if (ImageStream.Seek(NtHeadersPosition, soBeginning) <> NtHeadersPosition) or
+ (ImageStream.Write(NtHeaders64, SizeOf(NtHeaders64)) <> SizeOf(NtHeaders64)) then
+ raise EJclPeImageError.CreateRes(@SWriteError);
+ end;
else
Result := False;
+ Exit;
+ end;
+
+ // write section header
+ if (ImageStream.Seek(JclDebugSectionPosition, soBeginning) <> JclDebugSectionPosition) or
+ (ImageStream.Write(JclDebugSection, SizeOf(JclDebugSection)) <> SizeOf(JclDebugSection)) then
+ raise EJclPeImageError.CreateRes(@SWriteError);
+
+ // Fill data to alignment
+ NeedFill := INT_PTR(JclDebugSection.SizeOfRawData) - JclDebugDataSize;
+
+ // Note: Delphi linker seems to generate incorrect (unaligned) size of
+ // the executable when adding TD32 debug data so the position could be
+ // behind the size of the file then.
+ ImageStream.Seek({0 +} JclDebugSection.PointerToRawData, soFromBeginning);
+ ImageStream.CopyFrom(BinDebug.DataStream, 0);
+ X := 0;
+ for I := 1 to NeedFill do
+ ImageStream.WriteBuffer(X, 1);
except
Result := False;
end;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-04-19 18:13:40
|
Revision: 3779
http://jcl.svn.sourceforge.net/jcl/?rev=3779&view=rev
Author: outchy
Date: 2012-04-19 18:13:33 +0000 (Thu, 19 Apr 2012)
Log Message:
-----------
Mantis 5852: Allow loading 7zip DLL with another filename:
- move all the file/symbol names from implementation to interface;
- rework constant names;
- constants changed to mutable variables when XXX_LINKONREQUEST is defined.
Modified Paths:
--------------
trunk/jcl/source/common/bzip2.pas
trunk/jcl/source/common/pcre.pas
trunk/jcl/source/common/zlibh.pas
trunk/jcl/source/windows/sevenzip.pas
Modified: trunk/jcl/source/common/bzip2.pas
===================================================================
--- trunk/jcl/source/common/bzip2.pas 2012-04-19 16:34:04 UTC (rev 3778)
+++ trunk/jcl/source/common/bzip2.pas 2012-04-19 18:13:33 UTC (rev 3779)
@@ -308,6 +308,38 @@
//DOM-IGNORE-END
+const
+ {$IFDEF MSWINDOWS}
+ BZip2DefaultLibraryName = 'bzip2.dll'; // from http://gnuwin32.sourceforge.net/
+ {$ENDIF MSWINDOWS}
+ {$IFDEF UNIX}
+ BZip2DefaultLibraryName = 'libbz2.so.1';
+ {$ENDIF UNIX}
+ BZip2CompressInitDefaultExportName = 'BZ2_bzCompressInit';
+ BZip2CompressDefaultExportName = 'BZ2_bzCompress';
+ BZip2CompressEndDefaultExportName = 'BZ2_bzCompressEnd';
+ BZip2DecompressInitDefaultExportName = 'BZ2_bzDecompressInit';
+ BZip2DecompressDefaultExportName = 'BZ2_bzDecompress';
+ BZip2DecompressEndDefaultExportName = 'BZ2_bzDecompressEnd';
+ BZip2BuffToBuffCompressDefaultExportName = 'BZ2_bzBuffToBuffCompress';
+ BZip2BuffToBuffDecompressDefaultExportName = 'BZ2_bzBuffToBuffDecompress';
+ BZip2LibVersionDefaultExportName = 'BZ2_bzlibVersion';
+
+{$IFDEF BZIP2_LINKONREQUEST}
+var
+ BZip2LibraryName: string = BZip2DefaultLibraryName;
+ BZip2CompressInitExportName: string = BZip2CompressInitDefaultExportName;
+ BZip2CompressExportName: string = BZip2CompressDefaultExportName;
+ BZip2CompressEndExportName: string = BZip2CompressEndDefaultExportName;
+ BZip2DecompressInitExportName: string = BZip2DecompressInitDefaultExportName;
+ BZip2DecompressExportName: string = BZip2DecompressDefaultExportName;
+ BZip2DecompressEndExportName: string = BZip2DecompressEndDefaultExportName;
+ BZip2BuffToBuffCompressExportName: string = BZip2BuffToBuffCompressDefaultExportName;
+ BZip2BuffToBuffDecompressExportName: string = BZip2BuffToBuffDecompressDefaultExportName;
+ BZip2LibVersionExportName: string = BZip2LibVersionDefaultExportName;
+ BZip2LibraryHandle: TModuleHandle = INVALID_MODULEHANDLE_VALUE;
+{$ENDIF BZIP2_LINKONREQUEST}
+
function LoadBZip2: Boolean;
function IsBZip2Loaded: Boolean;
procedure UnloadBZip2;
@@ -424,63 +456,39 @@
bz2_internal_error_event(errcode);
end;
-{$ELSE ~BZIP2_STATICLINK}
+{$ENDIF BZIP2_STATICLINK}
-const
- {$IFDEF MSWINDOWS}
- szBZIP2 = 'bzip2.dll'; // from http://gnuwin32.sourceforge.net/
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- szBZIP2 = 'libbz2.so.1';
- {$ENDIF UNIX}
- BZ2CompressInitExportName = 'BZ2_bzCompressInit';
- BZ2CompressExportName = 'BZ2_bzCompress';
- BZ2CompressEndExportName = 'BZ2_bzCompressEnd';
- BZ2DecompressInitExportName = 'BZ2_bzDecompressInit';
- BZ2DecompressExportName = 'BZ2_bzDecompress';
- BZ2DecompressEndExportName = 'BZ2_bzDecompressEnd';
- BZ2BuffToBuffCompressExportName = 'BZ2_bzBuffToBuffCompress';
- BZ2BuffToBuffDecompressExportName = 'BZ2_bzBuffToBuffDecompress';
- BZ2LibVersionExportName = 'BZ2_bzlibVersion';
-
-{$ENDIF ~BZIP2_STATICLINK}
-
{$IFDEF BZIP2_LINKDLL}
-function BZ2_bzCompressInit; external szBZIP2 name BZ2CompressInitExportName;
-function BZ2_bzCompress; external szBZIP2 name BZ2CompressExportName;
-function BZ2_bzCompressEnd; external szBZIP2 name BZ2CompressEndExportName;
-function BZ2_bzDecompressInit; external szBZIP2 name BZ2DecompressInitExportName;
-function BZ2_bzDecompress; external szBZIP2 name BZ2DecompressExportName;
-function BZ2_bzDecompressEnd; external szBZIP2 name BZ2DecompressEndExportName;
-function BZ2_bzBuffToBuffCompress; external szBZIP2 name BZ2BuffToBuffCompressExportName;
-function BZ2_bzBuffToBuffDecompress; external szBZIP2 name BZ2BuffToBuffDecompressExportName;
-function BZ2_bzlibVersion; external szBZIP2 name BZ2LibVersionExportName;
+function BZ2_bzCompressInit; external BZip2DefaultLibraryName name BZip2CompressInitDefaultExportName;
+function BZ2_bzCompress; external BZip2DefaultLibraryName name BZip2CompressDefaultExportName;
+function BZ2_bzCompressEnd; external BZip2DefaultLibraryName name BZip2CompressEndDefaultExportName;
+function BZ2_bzDecompressInit; external BZip2DefaultLibraryName name BZip2DecompressInitDefaultExportName;
+function BZ2_bzDecompress; external BZip2DefaultLibraryName name BZip2DecompressDefaultExportName;
+function BZ2_bzDecompressEnd; external BZip2DefaultLibraryName name BZip2DecompressEndDefaultExportName;
+function BZ2_bzBuffToBuffCompress; external BZip2DefaultLibraryName name BZip2BuffToBuffCompressDefaultExportName;
+function BZ2_bzBuffToBuffDecompress; external BZip2DefaultLibraryName name BZip2BuffToBuffDecompressDefaultExportName;
+function BZ2_bzlibVersion; external BZip2DefaultLibraryName name BZip2LibVersionDefaultExportName;
{$ENDIF BZIP2_LINKDLL}
-{$IFDEF BZIP2_LINKONREQUEST}
-var
- BZip2Lib: TModuleHandle = INVALID_MODULEHANDLE_VALUE;
-{$ENDIF BZIP2_LINKONREQUEST}
-
function LoadBZip2: Boolean;
{$IFDEF BZIP2_LINKONREQUEST}
begin
- Result := BZip2Lib <> INVALID_MODULEHANDLE_VALUE;
+ Result := BZip2LibraryHandle <> INVALID_MODULEHANDLE_VALUE;
if Result then
Exit;
- Result := JclSysUtils.LoadModule(BZip2Lib, szBZIP2);
+ Result := JclSysUtils.LoadModule(BZip2LibraryHandle, BZip2LibraryName);
if Result then
begin
- @BZ2_bzCompressInit := GetModuleSymbol(BZip2Lib, BZ2CompressInitExportName);
- @BZ2_bzCompress := GetModuleSymbol(BZip2Lib, BZ2CompressExportName);
- @BZ2_bzCompressEnd := GetModuleSymbol(BZip2Lib, BZ2CompressEndExportName);
- @BZ2_bzDecompressInit := GetModuleSymbol(BZip2Lib, BZ2DecompressInitExportName);
- @BZ2_bzDecompress := GetModuleSymbol(BZip2Lib, BZ2DecompressExportName);
- @BZ2_bzDecompressEnd := GetModuleSymbol(BZip2Lib, BZ2DecompressEndExportName);
- @BZ2_bzBuffToBuffCompress := GetModuleSymbol(BZip2Lib, BZ2BuffToBuffCompressExportName);
- @BZ2_bzBuffToBuffDecompress := GetModuleSymbol(BZip2Lib, BZ2BuffToBuffDecompressExportName);
- @BZ2_bzlibVersion := GetModuleSymbol(BZip2Lib, BZ2LibVersionExportName);
+ @BZ2_bzCompressInit := GetModuleSymbol(BZip2LibraryHandle, BZip2CompressInitExportName);
+ @BZ2_bzCompress := GetModuleSymbol(BZip2LibraryHandle, BZip2CompressExportName);
+ @BZ2_bzCompressEnd := GetModuleSymbol(BZip2LibraryHandle, BZip2CompressEndExportName);
+ @BZ2_bzDecompressInit := GetModuleSymbol(BZip2LibraryHandle, BZip2DecompressInitExportName);
+ @BZ2_bzDecompress := GetModuleSymbol(BZip2LibraryHandle, BZip2DecompressExportName);
+ @BZ2_bzDecompressEnd := GetModuleSymbol(BZip2LibraryHandle, BZip2DecompressEndExportName);
+ @BZ2_bzBuffToBuffCompress := GetModuleSymbol(BZip2LibraryHandle, BZip2BuffToBuffCompressExportName);
+ @BZ2_bzBuffToBuffDecompress := GetModuleSymbol(BZip2LibraryHandle, BZip2BuffToBuffDecompressExportName);
+ @BZ2_bzlibVersion := GetModuleSymbol(BZip2LibraryHandle, BZip2LibVersionExportName);
end;
end;
{$ELSE ~BZIP2_LINKONREQUEST}
@@ -492,7 +500,7 @@
function IsBZip2Loaded: Boolean;
begin
{$IFDEF BZIP2_LINKONREQUEST}
- Result := BZip2Lib <> INVALID_MODULEHANDLE_VALUE;
+ Result := BZip2LibraryHandle <> INVALID_MODULEHANDLE_VALUE;
{$ELSE ~BZIP2_LINKONREQUEST}
Result := True;
{$ENDIF ~BZIP2_LINKONREQUEST}
@@ -501,7 +509,7 @@
procedure UnloadBZip2;
begin
{$IFDEF BZIP2_LINKONREQUEST}
- JclSysUtils.UnloadModule(BZip2Lib);
+ JclSysUtils.UnloadModule(BZip2LibraryHandle);
{$ENDIF BZIP2_LINKONREQUEST}
end;
Modified: trunk/jcl/source/common/pcre.pas
===================================================================
--- trunk/jcl/source/common/pcre.pas 2012-04-19 16:34:04 UTC (rev 3778)
+++ trunk/jcl/source/common/pcre.pas 2012-04-19 18:13:33 UTC (rev 3779)
@@ -674,6 +674,80 @@
{$ENDIF ~PCRE_RTL}
//DOM-IGNORE-END
+const
+ {$IFDEF MSWINDOWS}
+ PCREDefaultLibraryName = 'pcre3.dll';
+ {$ENDIF MSWINDOWS}
+ {$IFDEF UNIX}
+ PCREDefaultLibraryName = 'libpcre.so.0';
+ {$ENDIF UNIX}
+ PCRECompileDefaultExportName = 'pcre_compile';
+ PCRECompile2DefaultExportName = 'pcre_compile2';
+ PCREConfigDefaultExportName = 'pcre_config';
+ PCRECopyNamedSubstringDefaultExportName = 'pcre_copy_named_substring';
+ PCRECopySubStringDefaultExportName = 'pcre_copy_substring';
+ PCREDfaExecDefaultExportName = 'pcre_dfa_exec';
+ PCREExecDefaultExportName = 'pcre_exec';
+ PCREFreeSubStringDefaultExportName = 'pcre_free_substring';
+ PCREFreeSubStringListDefaultExportName = 'pcre_free_substring_list';
+ PCREFullInfoDefaultExportName = 'pcre_fullinfo';
+ PCREGetNamedSubstringDefaultExportName = 'pcre_get_named_substring';
+ PCREGetStringNumberDefaultExportName = 'pcre_get_stringnumber';
+ PCREGetStringTableEntriesDefaultExportName = 'pcre_get_stringtable_entries';
+ PCREGetSubStringDefaultExportName = 'pcre_get_substring';
+ PCREGetSubStringListDefaultExportName = 'pcre_get_substring_list';
+ PCREInfoDefaultExportName = 'pcre_info';
+ PCREMakeTablesDefaultExportName = 'pcre_maketables';
+ PCRERefCountDefaultExportName = 'pcre_refcount';
+ PCREStudyDefaultExportName = 'pcre_study';
+ PCREFreeStudyDefaultExportName = 'pcre_free_study';
+ PCREVersionDefaultExportName = 'pcre_version';
+ PCREJITStackAllocDefaultExportName = 'pcre_jit_stack_alloc';
+ PCREJITStackFreeDefaultExportName = 'pcre_jit_stack_free';
+ PCREAssignJITStackDefaultExportName = 'pcre_assign_jit_stack';
+ PCREMallocDefaultExportName = 'pcre_malloc';
+ PCREFreeDefaultExportName = 'pcre_free';
+ PCREStackMallocDefaultExportName = 'pcre_stack_malloc';
+ PCREStackFreeDefaultExportName = 'pcre_stack_free';
+ PCRECalloutDefaultExportName = 'pcre_callout';
+
+{$IFDEF PCRE_LINKONREQUEST}
+var
+ PCRELibraryName: string = PCREDefaultLibraryName;
+ PCRECompileExportName: string = PCRECompileDefaultExportName;
+ PCRECompile2ExportName: string = PCRECompile2DefaultExportName;
+ PCREConfigExportName: string = PCREConfigDefaultExportName;
+ PCRECopyNamedSubstringExportName: string = PCRECopyNamedSubstringDefaultExportName;
+ PCRECopySubStringExportName: string = PCRECopySubStringDefaultExportName;
+ PCREDfaExecExportName: string = PCREDfaExecDefaultExportName;
+ PCREExecExportName: string = PCREExecDefaultExportName;
+ PCREFreeSubStringExportName: string = PCREFreeSubStringDefaultExportName;
+ PCREFreeSubStringListExportName: string = PCREFreeSubStringListDefaultExportName;
+ PCREFullInfoExportName: string = PCREFullInfoDefaultExportName;
+ PCREGetNamedSubstringExportName: string = PCREGetNamedSubstringDefaultExportName;
+ PCREGetStringNumberExportName: string = PCREGetStringNumberDefaultExportName;
+ PCREGetStringTableEntriesExportName: string = PCREGetStringTableEntriesDefaultExportName;
+ PCREGetSubStringExportName: string = PCREGetSubStringDefaultExportName;
+ PCREGetSubStringListExportName: string = PCREGetSubStringListDefaultExportName;
+ PCREInfoExportName: string = PCREInfoDefaultExportName;
+ PCREMakeTablesExportName: string = PCREMakeTablesDefaultExportName;
+ PCRERefCountExportName: string = PCRERefCountDefaultExportName;
+ PCREStudyExportName: string = PCREStudyDefaultExportName;
+ PCREFreeStudyExportName: string = PCREFreeStudyDefaultExportName;
+ PCREVersionExportName: string = PCREVersionDefaultExportName;
+ PCREJITStackAllocExportName: string = PCREJITStackAllocDefaultExportName;
+ PCREJITStackFreeExportName: string = PCREJITStackFreeDefaultExportName;
+ PCREAssignJITStackExportName: string = PCREAssignJITStackDefaultExportName;
+ PCREMallocExportName: string = PCREMallocDefaultExportName;
+ PCREFreeExportName: string = PCREFreeDefaultExportName;
+ PCREStackMallocExportName: string = PCREStackMallocDefaultExportName;
+ PCREStackFreeExportName: string = PCREStackFreeDefaultExportName;
+ PCRECalloutExportName: string = PCRECalloutDefaultExportName;
+{$ENDIF PCRE_LINKONREQUEST}
+
+var
+ PCRELib: TModuleHandle = INVALID_MODULEHANDLE_VALUE;
+
function IsPCRELoaded: Boolean;
function LoadPCRE: Boolean;
procedure UnloadPCRE;
@@ -933,49 +1007,8 @@
pcre_callout: pcre_callout_callback = pcre_callout_jcl;
{$ENDIF CPU64}
-{$ELSE ~PCRE_STATICLINK}
+{$ENDIF PCRE_STATICLINK}
-const
- {$IFDEF MSWINDOWS}
- libpcremodulename = 'pcre3.dll';
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- libpcremodulename = 'libpcre.so.0';
- {$ENDIF UNIX}
- PCRECompileExportName = 'pcre_compile';
- PCRECompile2ExportName = 'pcre_compile2';
- PCREConfigExportName = 'pcre_config';
- PCRECopyNamedSubstringExportName = 'pcre_copy_named_substring';
- PCRECopySubStringExportName = 'pcre_copy_substring';
- PCREDfaExecExportName = 'pcre_dfa_exec';
- PCREExecExportName = 'pcre_exec';
- PCREFreeSubStringExportName = 'pcre_free_substring';
- PCREFreeSubStringListExportName = 'pcre_free_substring_list';
- PCREFullInfoExportName = 'pcre_fullinfo';
- PCREGetNamedSubstringExportName = 'pcre_get_named_substring';
- PCREGetStringNumberExportName = 'pcre_get_stringnumber';
- PCREGetStringTableEntriesExportName = 'pcre_get_stringtable_entries';
- PCREGetSubStringExportName = 'pcre_get_substring';
- PCREGetSubStringListExportName = 'pcre_get_substring_list';
- PCREInfoExportName = 'pcre_info';
- PCREMakeTablesExportName = 'pcre_maketables';
- PCRERefCountExportName = 'pcre_refcount';
- PCREStudyExportName = 'pcre_study';
- PCREFreeStudyExportName = 'pcre_free_study';
- PCREVersionExportName = 'pcre_version';
- PCREJITStackAllocExportName = 'pcre_jit_stack_alloc';
- PCREJITStackFreeExportName = 'pcre_jit_stack_free';
- PCREAssignJITStackExportName = 'pcre_assign_jit_stack';
- PCREMallocExportName = 'pcre_malloc';
- PCREFreeExportName = 'pcre_free';
- PCREStackMallocExportName = 'pcre_stack_malloc';
- PCREStackFreeExportName = 'pcre_stack_free';
- PCRECalloutExportName = 'pcre_callout';
-
-var
- PCRELib: TModuleHandle = INVALID_MODULEHANDLE_VALUE;
-{$ENDIF ~PCRE_STATICLINK}
-
procedure SetPCREMallocCallback(const Value: pcre_malloc_callback);
begin
{$IFDEF PCRE_STATICLINK}
@@ -1258,7 +1291,11 @@
if Result then
Exit;
- Result := JclSysUtils.LoadModule(PCRELib, libpcremodulename);
+ {$IFDEF PCRE_LINKONREQUEST}
+ Result := JclSysUtils.LoadModule(PCRELib, PCRELibraryName);
+ {$ELSE ~PCRE_LINKONREQUEST}
+ Result := JclSysUtils.LoadModule(PCRELib, PCREDefaultLibraryName);
+ {$ENDIF ~PCRE_LINKONREQUEST}
if Result then
begin
{$IFDEF PCRE_LINKONREQUEST}
@@ -1286,12 +1323,18 @@
@pcre_jit_stack_alloc := GetModuleSymbol(PCRELib, PCREJITStackAllocExportName);
@pcre_jit_stack_free := GetModuleSymbol(PCRELib, PCREJITStackFreeExportName);
@pcre_assign_jit_stack := GetModuleSymbol(PCRELib, PCREAssignJITStackExportName);
- {$ENDIF PCRE_LINKONREQUEST}
pcre_malloc_func := GetModuleSymbol(PCRELib, PCREMallocExportName);
pcre_free_func := GetModuleSymbol(PCRELib, PCREFreeExportName);
pcre_stack_malloc_func := GetModuleSymbol(PCRELib, PCREStackMallocExportName);
pcre_stack_free_func := GetModuleSymbol(PCRELib, PCREStackFreeExportName);
pcre_callout_func := GetModuleSymbol(PCRELib, PCRECalloutExportName);
+ {$ELSE ~PCRE_LINKONREQUEST}
+ pcre_malloc_func := GetModuleSymbol(PCRELib, PCREMallocDefaultExportName);
+ pcre_free_func := GetModuleSymbol(PCRELib, PCREFreeDefaultExportName);
+ pcre_stack_malloc_func := GetModuleSymbol(PCRELib, PCREStackMallocDefaultExportName);
+ pcre_stack_free_func := GetModuleSymbol(PCRELib, PCREStackFreeDefaultExportName);
+ pcre_callout_func := GetModuleSymbol(PCRELib, PCRECalloutDefaultExportName);
+ {$ENDIF ~PCRE_LINKONREQUEST}
end
else
InitPCREFuncPtrs(@LibNotLoadedHandler);
@@ -1310,30 +1353,30 @@
end;
{$IFDEF PCRE_LINKDLL}
-function pcre_compile; external libpcremodulename name PCRECompileExportName;
-function pcre_compile2; external libpcremodulename name PCRECompile2ExportName;
-function pcre_config; external libpcremodulename name PCREConfigExportName;
-function pcre_copy_named_substring; external libpcremodulename name PCRECopyNamedSubStringExportName;
-function pcre_copy_substring; external libpcremodulename name PCRECopySubStringExportName;
-function pcre_dfa_exec; external libpcremodulename name PCREDfaExecExportName;
-function pcre_exec; external libpcremodulename name PCREExecExportName;
-procedure pcre_free_substring; external libpcremodulename name PCREFreeSubStringExportName;
-procedure pcre_free_substring_list; external libpcremodulename name PCREFreeSubStringListExportName;
-function pcre_fullinfo; external libpcremodulename name PCREFullInfoExportName;
-function pcre_get_named_substring; external libpcremodulename name PCREGetNamedSubStringExportName;
-function pcre_get_stringnumber; external libpcremodulename name PCREGetStringNumberExportName;
-function pcre_get_stringtable_entries; external libpcremodulename name PCREGetStringTableEntriesExportName;
-function pcre_get_substring; external libpcremodulename name PCREGetSubStringExportName;
-function pcre_get_substring_list; external libpcremodulename name PCREGetSubStringListExportName;
-function pcre_info; external libpcremodulename name PCREInfoExportName;
-function pcre_maketables; external libpcremodulename name PCREMakeTablesExportName;
-function pcre_refcount; external libpcremodulename name PCRERefCountExportName;
-function pcre_study; external libpcremodulename name PCREStudyExportName;
-procedure pcre_free_study; external libpcremodulename name PCREFreeStudyExportName;
-function pcre_version; external libpcremodulename name PCREVersionExportName;
-function pcre_jit_stack_alloc; external libpcremodulename name PCREJITStackAllocExportName;
-procedure pcre_jit_stack_free; external libpcremodulename name PCREJITStackFreeExportName;
-procedure pcre_assign_jit_stack; external libpcremodulename name PCREAssignJITStackExportName;
+function pcre_compile; external PCREDefaultLibraryName name PCRECompileDefaultExportName;
+function pcre_compile2; external PCREDefaultLibraryName name PCRECompile2DefaultExportName;
+function pcre_config; external PCREDefaultLibraryName name PCREConfigDefaultExportName;
+function pcre_copy_named_substring; external PCREDefaultLibraryName name PCRECopyNamedSubStringDefaultExportName;
+function pcre_copy_substring; external PCREDefaultLibraryName name PCRECopySubStringDefaultExportName;
+function pcre_dfa_exec; external PCREDefaultLibraryName name PCREDfaExecDefaultExportName;
+function pcre_exec; external PCREDefaultLibraryName name PCREExecDefaultExportName;
+procedure pcre_free_substring; external PCREDefaultLibraryName name PCREFreeSubStringDefaultExportName;
+procedure pcre_free_substring_list; external PCREDefaultLibraryName name PCREFreeSubStringListDefaultExportName;
+function pcre_fullinfo; external PCREDefaultLibraryName name PCREFullInfoDefaultExportName;
+function pcre_get_named_substring; external PCREDefaultLibraryName name PCREGetNamedSubStringDefaultExportName;
+function pcre_get_stringnumber; external PCREDefaultLibraryName name PCREGetStringNumberDefaultExportName;
+function pcre_get_stringtable_entries; external PCREDefaultLibraryName name PCREGetStringTableEntriesDefaultExportName;
+function pcre_get_substring; external PCREDefaultLibraryName name PCREGetSubStringDefaultExportName;
+function pcre_get_substring_list; external PCREDefaultLibraryName name PCREGetSubStringListDefaultExportName;
+function pcre_info; external PCREDefaultLibraryName name PCREInfoDefaultExportName;
+function pcre_maketables; external PCREDefaultLibraryName name PCREMakeTablesDefaultExportName;
+function pcre_refcount; external PCREDefaultLibraryName name PCRERefCountDefaultExportName;
+function pcre_study; external PCREDefaultLibraryName name PCREStudyDefaultExportName;
+procedure pcre_free_study; external PCREDefaultLibraryName name PCREFreeStudyDefaultExportName;
+function pcre_version; external PCREDefaultLibraryName name PCREVersionDefaultExportName;
+function pcre_jit_stack_alloc; external PCREDefaultLibraryName name PCREJITStackAllocDefaultExportName;
+procedure pcre_jit_stack_free; external PCREDefaultLibraryName name PCREJITStackFreeDefaultExportName;
+procedure pcre_assign_jit_stack; external PCREDefaultLibraryName name PCREAssignJITStackDefaultExportName;
{$ENDIF PCRE_LINKDLL}
{$IFDEF UNITVERSIONING}
Modified: trunk/jcl/source/common/zlibh.pas
===================================================================
--- trunk/jcl/source/common/zlibh.pas 2012-04-19 16:34:04 UTC (rev 3778)
+++ trunk/jcl/source/common/zlibh.pas 2012-04-19 18:13:33 UTC (rev 3779)
@@ -2026,6 +2026,85 @@
//DOM-IGNORE-END
{$ENDIF ~ZLIB_RTL}
+const
+ {$IFDEF MSWINDOWS}
+ ZLibDefaultLibraryName = 'zlib1.dll';
+ {$ENDIF MSWINDOWS}
+ {$IFDEF UNIX}
+ ZLibDefaultLibraryName = 'libz.so';
+ {$ENDIF UNIX}
+ ZLibzlibVersionDefaultExportName = 'zlibVersion';
+ ZLibdeflateInit_DefaultExportName = 'deflateInit_';
+ ZLibdeflateDefaultExportName = 'deflate';
+ ZLibdeflateEndDefaultExportName = 'deflateEnd';
+ ZLibinflateInit_DefaultExportName = 'inflateInit_';
+ ZLibinflateDefaultExportName = 'inflate';
+ ZLibinflateEndDefaultExportName = 'inflateEnd';
+ ZLibdeflateInit2_DefaultExportName = 'deflateInit2_';
+ ZLibdeflateSetDictionaryDefaultExportName = 'deflateSetDictionary';
+ ZLibdeflateCopyDefaultExportName = 'deflateCopy';
+ ZLibdeflateResetDefaultExportName = 'deflateReset';
+ ZLibdeflateParamsDefaultExportName = 'deflateParams';
+ ZLibdeflateBoundDefaultExportName = 'deflateBound';
+ ZLibdeflatePrimeDefaultExportName = 'deflatePrime';
+ ZLibinflateInit2_DefaultExportName = 'inflateInit2_';
+ ZLibinflateSetDictionaryDefaultExportName = 'inflateSetDictionary';
+ ZLibinflateSyncDefaultExportName = 'inflateSync';
+ ZLibinflateCopyDefaultExportName = 'inflateCopy';
+ ZLibinflateResetDefaultExportName = 'inflateReset';
+ ZLibinflateBackInit_DefaultExportName = 'inflateBackInit_';
+ ZLibinflateBackDefaultExportName = 'inflateBack';
+ ZLibinflateBackEndDefaultExportName = 'inflateBackEnd';
+ ZLibzlibCompileFlagsDefaultExportName = 'zlibCompileFlags';
+ ZLibcompressDefaultExportName = 'compress';
+ ZLibcompress2DefaultExportName = 'compress2';
+ ZLibcompressBoundDefaultExportName = 'compressBound';
+ ZLibuncompressDefaultExportName = 'uncompress';
+ ZLibadler32DefaultExportName = 'adler32';
+ ZLibcrc32DefaultExportName = 'crc32';
+ ZLibzErrorDefaultExportName = 'zError';
+ ZLibinflateSyncPointDefaultExportName = 'inflateSyncPoint';
+ ZLibget_crc_tableDefaultExportName = 'get_crc_table';
+{$IFDEF ZLIB_LINKONREQUEST}
+var
+ ZLibLibraryName: string = ZLibDefaultLibraryName;
+ ZLibzlibVersionExportName: string = ZLibzlibVersionDefaultExportName;
+ ZLibdeflateInit_ExportName: string = ZLibdeflateInit_DefaultExportName;
+ ZLibdeflateExportName: string = ZLibdeflateDefaultExportName;
+ ZLibdeflateEndExportName: string = ZLibdeflateEndDefaultExportName;
+ ZLibinflateInit_ExportName: string = ZLibinflateInit_DefaultExportName;
+ ZLibinflateExportName: string = ZLibinflateDefaultExportName;
+ ZLibinflateEndExportName: string = ZLibinflateEndDefaultExportName;
+ ZLibdeflateInit2_ExportName: string = ZLibdeflateInit2_DefaultExportName;
+ ZLibdeflateSetDictionaryExportName: string = ZLibdeflateSetDictionaryDefaultExportName;
+ ZLibdeflateCopyExportName: string = ZLibdeflateCopyDefaultExportName;
+ ZLibdeflateResetExportName: string = ZLibdeflateResetDefaultExportName;
+ ZLibdeflateParamsExportName: string = ZLibdeflateParamsDefaultExportName;
+ ZLibdeflateBoundExportName: string = ZLibdeflateBoundDefaultExportName;
+ ZLibdeflatePrimeExportName: string = ZLibdeflatePrimeDefaultExportName;
+ ZLibinflateInit2_ExportName: string = ZLibinflateInit2_DefaultExportName;
+ ZLibinflateSetDictionaryExportName: string = ZLibinflateSetDictionaryDefaultExportName;
+ ZLibinflateSyncExportName: string = ZLibinflateSyncDefaultExportName;
+ ZLibinflateCopyExportName: string = ZLibinflateCopyDefaultExportName;
+ ZLibinflateResetExportName: string = ZLibinflateResetDefaultExportName;
+ ZLibinflateBackInit_ExportName: string = ZLibinflateBackInit_DefaultExportName;
+ ZLibinflateBackExportName: string = ZLibinflateBackDefaultExportName;
+ ZLibinflateBackEndExportName: string = ZLibinflateBackEndDefaultExportName;
+ ZLibzlibCompileFlagsExportName: string = ZLibzlibCompileFlagsDefaultExportName;
+ ZLibcompressExportName: string = ZLibcompressDefaultExportName;
+ ZLibcompress2ExportName: string = ZLibcompress2DefaultExportName;
+ ZLibcompressBoundExportName: string = ZLibcompressBoundDefaultExportName;
+ ZLibuncompressExportName: string = ZLibuncompressDefaultExportName;
+ ZLibadler32ExportName: string = ZLibadler32DefaultExportName;
+ ZLibcrc32ExportName: string = ZLibcrc32DefaultExportName;
+ ZLibzErrorExportName: string = ZLibzErrorDefaultExportName;
+ ZLibinflateSyncPointExportName: string = ZLibinflateSyncPointDefaultExportName;
+ ZLibget_crc_tableExportName: string = ZLibget_crc_tableDefaultExportName;
+{$ENDIF ZLIB_LINKONREQUEST}
+
+var
+ ZLibModuleHandle: TModuleHandle = INVALID_MODULEHANDLE_VALUE;
+
function IsZLibLoaded: Boolean;
function LoadZLib: Boolean;
procedure UnloadZLib;
@@ -2255,52 +2334,7 @@
end;
{$ENDIF ~LINK_TO_MSVCRT}
-{$ELSE ~ZLIB_STATICLINK}
-
-const
- {$IFDEF MSWINDOWS}
- szZLIB = 'zlib1.dll';
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- szZLIB = 'libz.so';
- {$ENDIF UNIX}
-
- ZLIBzlibVersionExportName = 'zlibVersion';
- ZLIBdeflateInit_ExportName = 'deflateInit_';
- ZLIBdeflateExportName = 'deflate';
- ZLIBdeflateEndExportName = 'deflateEnd';
- ZLIBinflateInit_ExportName = 'inflateInit_';
- ZLIBinflateExportName = 'inflate';
- ZLIBinflateEndExportName = 'inflateEnd';
- ZLIBdeflateInit2_ExportName = 'deflateInit2_';
- ZLIBdeflateSetDictionaryExportName = 'deflateSetDictionary';
- ZLIBdeflateCopyExportName = 'deflateCopy';
- ZLIBdeflateResetExportName = 'deflateReset';
- ZLIBdeflateParamsExportName = 'deflateParams';
- ZLIBdeflateBoundExportName = 'deflateBound';
- ZLIBdeflatePrimeExportName = 'deflatePrime';
- ZLIBinflateInit2_ExportName = 'inflateInit2_';
- ZLIBinflateSetDictionaryExportName = 'inflateSetDictionary';
- ZLIBinflateSyncExportName = 'inflateSync';
- ZLIBinflateCopyExportName = 'inflateCopy';
- ZLIBinflateResetExportName = 'inflateReset';
- ZLIBinflateBackInit_ExportName = 'inflateBackInit_';
- ZLIBinflateBackExportName = 'inflateBack';
- ZLIBinflateBackEndExportName = 'inflateBackEnd';
- ZLIBzlibCompileFlagsExportName = 'zlibCompileFlags';
- ZLIBcompressExportName = 'compress';
- ZLIBcompress2ExportName = 'compress2';
- ZLIBcompressBoundExportName = 'compressBound';
- ZLIBuncompressExportName = 'uncompress';
- ZLIBadler32ExportName = 'adler32';
- ZLIBcrc32ExportName = 'crc32';
- ZLIBzErrorExportName = 'zError';
- ZLIBinflateSyncPointExportName = 'inflateSyncPoint';
- ZLIBget_crc_tableExportName = 'get_crc_table';
-
-var
- ZLibModuleHandle: TModuleHandle = INVALID_MODULEHANDLE_VALUE;
-{$ENDIF ~ZLIB_STATICLINK}
+{$ENDIF ZLIB_STATICLINK}
{$ENDIF ~ZLIB_RTL}
function IsZLibLoaded: Boolean;
@@ -2319,7 +2353,7 @@
if Result then
Exit;
- Result := JclSysUtils.LoadModule(ZLibModuleHandle, szZLIB);
+ Result := JclSysUtils.LoadModule(ZLibModuleHandle, ZLibLibraryName);
if Result then
begin
@zlibVersion := GetModuleSymbol(ZLibModuleHandle, ZLIBzlibVersionExportName);
@@ -2372,42 +2406,42 @@
{$IFNDEF ZLIB_RTL}
{$IFDEF ZLIB_LINKDLL}
// Core functions
-function zlibVersion; external szZLIB name ZLIBzlibVersionExportName;
-function deflateInit_; external szZLIB name ZLIBdeflateInit_ExportName;
-function deflate; external szZLIB name ZLIBdeflateExportName;
-function deflateEnd; external szZLIB name ZLIBdeflateEndExportName;
-function inflateInit_; external szZLIB name ZLIBinflateInit_ExportName;
-function inflate; external szZLIB name ZLIBinflateExportName;
-function inflateEnd; external szZLIB name ZLIBinflateEndExportName;
-function deflateInit2_; external szZLIB name ZLIBdeflateInit2_ExportName;
-function deflateSetDictionary; external szZLIB name ZLIBdeflateSetDictionaryExportName;
-function deflateCopy; external szZLIB name ZLIBdeflateCopyExportName;
-function deflateReset; external szZLIB name ZLIBdeflateResetExportName;
-function deflateParams; external szZLIB name ZLIBdeflateParamsExportName;
-function deflateBound; external szZLIB name ZLIBdeflateBoundExportName;
-function deflatePrime; external szZLIB name ZLIBdeflatePrimeExportName;
-function inflateInit2_; external szZLIB name ZLIBinflateInit2_ExportName;
-function inflateSetDictionary; external szZLIB name ZLIBinflateSetDictionaryExportName;
-function inflateSync; external szZLIB name ZLIBinflateSyncExportName;
-function inflateCopy; external szZLIB name ZLIBinflateCopyExportName;
-function inflateReset; external szZLIB name ZLIBinflateResetExportName;
+function zlibVersion; external ZLibDefaultLibraryName name ZLibzlibVersionDefaultExportName;
+function deflateInit_; external ZLibDefaultLibraryName name ZLibdeflateInit_DefaultExportName;
+function deflate; external ZLibDefaultLibraryName name ZLibdeflateDefaultExportName;
+function deflateEnd; external ZLibDefaultLibraryName name ZLibdeflateEndDefaultExportName;
+function inflateInit_; external ZLibDefaultLibraryName name ZLibinflateInit_DefaultExportName;
+function inflate; external ZLibDefaultLibraryName name ZLibinflateDefaultExportName;
+function inflateEnd; external ZLibDefaultLibraryName name ZLibinflateEndDefaultExportName;
+function deflateInit2_; external ZLibDefaultLibraryName name ZLibdeflateInit2_DefaultExportName;
+function deflateSetDictionary; external ZLibDefaultLibraryName name ZLibdeflateSetDictionaryDefaultExportName;
+function deflateCopy; external ZLibDefaultLibraryName name ZLibdeflateCopyDefaultExportName;
+function deflateReset; external ZLibDefaultLibraryName name ZLibdeflateResetDefaultExportName;
+function deflateParams; external ZLibDefaultLibraryName name ZLibdeflateParamsDefaultExportName;
+function deflateBound; external ZLibDefaultLibraryName name ZLibdeflateBoundDefaultExportName;
+function deflatePrime; external ZLibDefaultLibraryName name ZLibdeflatePrimeDefaultExportName;
+function inflateInit2_; external ZLibDefaultLibraryName name ZLibinflateInit2_DefaultExportName;
+function inflateSetDictionary; external ZLibDefaultLibraryName name ZLibinflateSetDictionaryDefaultExportName;
+function inflateSync; external ZLibDefaultLibraryName name ZLibinflateSyncDefaultExportName;
+function inflateCopy; external ZLibDefaultLibraryName name ZLibinflateCopyDefaultExportName;
+function inflateReset; external ZLibDefaultLibraryName name ZLibinflateResetDefaultExportName;
-function inflateBackInit_; external szZLIB name ZLIBinflateBackInit_ExportName;
-function inflateBack; external szZLIB name ZLIBinflateBackExportName;
-function inflateBackEnd; external szZLIB name ZLIBinflateBackEndExportName;
-function zlibCompileFlags; external szZLIB name ZLIBzlibCompileFlagsExportName;
-function compress; external szZLIB name ZLIBcompressExportName;
-function compress2; external szZLIB name ZLIBcompress2ExportName;
-function compressBound; external szZLIB name ZLIBcompressBoundExportName;
-function uncompress; external szZLIB name ZLIBuncompressExportName;
+function inflateBackInit_; external ZLibDefaultLibraryName name ZLibinflateBackInit_DefaultExportName;
+function inflateBack; external ZLibDefaultLibraryName name ZLibinflateBackDefaultExportName;
+function inflateBackEnd; external ZLibDefaultLibraryName name ZLibinflateBackEndDefaultExportName;
+function zlibCompileFlags; external ZLibDefaultLibraryName name ZLibzlibCompileFlagsDefaultExportName;
+function compress; external ZLibDefaultLibraryName name ZLibcompressDefaultExportName;
+function compress2; external ZLibDefaultLibraryName name ZLibcompress2DefaultExportName;
+function compressBound; external ZLibDefaultLibraryName name ZLibcompressBoundDefaultExportName;
+function uncompress; external ZLibDefaultLibraryName name ZLibuncompressDefaultExportName;
// Checksums
-function adler32; external szZLIB name ZLIBadler32ExportName;
-function crc32; external szZLIB name ZLIBcrc32ExportName;
+function adler32; external ZLibDefaultLibraryName name ZLibadler32DefaultExportName;
+function crc32; external ZLibDefaultLibraryName name ZLibcrc32DefaultExportName;
-function zError; external szZLIB name ZLIBzErrorExportName;
-function inflateSyncPoint; external szZLIB name ZLIBinflateSyncPointExportName;
-function get_crc_table; external szZLIB name ZLIBget_crc_tableExportName;
+function zError; external ZLibDefaultLibraryName name ZLibzErrorDefaultExportName;
+function inflateSyncPoint; external ZLibDefaultLibraryName name ZLibinflateSyncPointDefaultExportName;
+function get_crc_table; external ZLibDefaultLibraryName name ZLibget_crc_tableDefaultExportName;
{$ENDIF ZLIB_LINKDLL}
{$ENDIF ~ZLIB_RTL}
Modified: trunk/jcl/source/windows/sevenzip.pas
===================================================================
--- trunk/jcl/source/windows/sevenzip.pas 2012-04-19 16:34:04 UTC (rev 3778)
+++ trunk/jcl/source/windows/sevenzip.pas 2012-04-19 18:13:33 UTC (rev 3779)
@@ -647,6 +647,29 @@
//DOM-IGNORE-END
+const
+ SevenzipDefaultLibraryName = '7z.dll';
+ CreateObjectDefaultExportName = 'CreateObject';
+ GetHandlerProperty2DefaultExportName = 'GetHandlerProperty2';
+ GetHandlerPropertyDefaultExportName = 'GetHandlerProperty';
+ GetMethodPropertyDefaultExportName = 'GetMethodProperty';
+ GetNumberOfFormatsDefaultExportName = 'GetNumberOfFormats';
+ GetNumberOfMethodsDefaultExportName = 'GetNumberOfMethods';
+ SetLargePageModeDefaultExportName = 'SetLargePageMode';
+
+{$IFDEF 7ZIP_LINKONREQUEST}
+var
+ SevenzipLibraryName: string = SevenzipDefaultLibraryName;
+ CreateObjectExportName: string = CreateObjectDefaultExportName;
+ GetHandlerProperty2ExportName: string = GetHandlerProperty2DefaultExportName;
+ GetHandlerPropertyExportName: string = GetHandlerPropertyDefaultExportName;
+ GetMethodPropertyExportName: string = GetMethodPropertyDefaultExportName;
+ GetNumberOfFormatsExportName: string = GetNumberOfFormatsDefaultExportName;
+ GetNumberOfMethodsExportName: string = GetNumberOfMethodsDefaultExportName;
+ SetLargePageModeExportName: string = SetLargePageModeDefaultExportName;
+ SevenzipLibraryHandle: TModuleHandle = INVALID_MODULEHANDLE_VALUE;
+{$ENDIF 7ZIP_LINKONREQUEST}
+
function Load7Zip: Boolean;
function Is7ZipLoaded: Boolean;
procedure Unload7Zip;
@@ -665,48 +688,33 @@
implementation
-const
- sz7Zip = '7z.dll';
- CreateObjectExportName = 'CreateObject';
- GetHandlerProperty2ExportName = 'GetHandlerProperty2';
- GetHandlerPropertyExportName = 'GetHandlerProperty';
- GetMethodPropertyExportName = 'GetMethodProperty';
- GetNumberOfFormatsExportName = 'GetNumberOfFormats';
- GetNumberOfMethodsExportName = 'GetNumberOfMethods';
- SetLargePageModeExportName = 'SetLargePageMode';
-
{$IFDEF 7ZIP_LINKDLL}
-function CreateObject; external sz7Zip name CreateObjectExportName;
-function GetHandlerProperty2; external sz7Zip name GetHandlerProperty2ExportName;
-function GetHandlerProperty; external sz7Zip name GetHandlerPropertyExportName;
-function GetMethodProperty; external sz7Zip name GetMethodPropertyExportName;
-function GetNumberOfFormats; external sz7Zip name GetNumberOfFormatsExportName;
-function GetNumberOfMethods; external sz7Zip name GetNumberOfMethodsExportName;
-function SetLargePageMode; external sz7Zip name SetLargePageModeExportName;
+function CreateObject; external SevenzipDefaultLibraryName name CreateObjectDefaultExportName;
+function GetHandlerProperty2; external SevenzipDefaultLibraryName name GetHandlerProperty2DefaultExportName;
+function GetHandlerProperty; external SevenzipDefaultLibraryName name GetHandlerPropertyDefaultExportName;
+function GetMethodProperty; external SevenzipDefaultLibraryName name GetMethodPropertyDefaultExportName;
+function GetNumberOfFormats; external SevenzipDefaultLibraryName name GetNumberOfFormatsDefaultExportName;
+function GetNumberOfMethods; external SevenzipDefaultLibraryName name GetNumberOfMethodsDefaultExportName;
+function SetLargePageMode; external SevenzipDefaultLibraryName name SetLargePageModeDefaultExportName;
{$ENDIF 7ZIP_LINKDLL}
-{$IFDEF 7ZIP_LINKONREQUEST}
-var
- SevenzipLib: TModuleHandle = INVALID_MODULEHANDLE_VALUE;
-{$ENDIF 7ZIP_LINKONREQUEST}
-
function Load7Zip: Boolean;
{$IFDEF 7ZIP_LINKONREQUEST}
begin
- Result := SevenzipLib <> INVALID_MODULEHANDLE_VALUE;
+ Result := SevenzipLibraryHandle <> INVALID_MODULEHANDLE_VALUE;
if Result then
Exit;
- Result := JclSysUtils.LoadModule(SevenzipLib, sz7Zip);
+ Result := JclSysUtils.LoadModule(SevenzipLibraryHandle, SevenzipLibraryName);
if Result then
begin
- @CreateObject := GetModuleSymbol(SevenzipLib, CreateObjectExportName);
- @GetHandlerProperty2 := GetModuleSymbol(SevenzipLib, GetHandlerProperty2ExportName);
- @GetHandlerProperty := GetModuleSymbol(SevenzipLib, GetHandlerPropertyExportName);
- @GetMethodProperty := GetModuleSymbol(SevenzipLib, GetMethodPropertyExportName);
- @GetNumberOfFormats := GetModuleSymbol(SevenzipLib, GetNumberOfFormatsExportName);
- @GetNumberOfMethods := GetModuleSymbol(SevenzipLib, GetNumberOfMethodsExportName);
- @SetLargePageMode := GetModuleSymbol(SevenzipLib, SetLargePageModeExportName);
+ @CreateObject := GetModuleSymbol(SevenzipLibraryHandle, CreateObjectExportName);
+ @GetHandlerProperty2 := GetModuleSymbol(SevenzipLibraryHandle, GetHandlerProperty2ExportName);
+ @GetHandlerProperty := GetModuleSymbol(SevenzipLibraryHandle, GetHandlerPropertyExportName);
+ @GetMethodProperty := GetModuleSymbol(SevenzipLibraryHandle, GetMethodPropertyExportName);
+ @GetNumberOfFormats := GetModuleSymbol(SevenzipLibraryHandle, GetNumberOfFormatsExportName);
+ @GetNumberOfMethods := GetModuleSymbol(SevenzipLibraryHandle, GetNumberOfMethodsExportName);
+ @SetLargePageMode := GetModuleSymbol(SevenzipLibraryHandle, SetLargePageModeExportName);
Result := Assigned(@CreateObject) and Assigned(@GetHandlerProperty2) and
Assigned(@GetHandlerProperty) and Assigned(@GetMethodProperty) and
Assigned(@GetNumberOfFormats) and Assigned(@GetNumberOfMethods) and
@@ -722,7 +730,7 @@
function Is7ZipLoaded: Boolean;
begin
{$IFDEF 7ZIP_LINKONREQUEST}
- Result := SevenzipLib <> INVALID_MODULEHANDLE_VALUE;
+ Result := SevenzipLibraryHandle <> INVALID_MODULEHANDLE_VALUE;
{$ELSE ~7ZIP_LINKONREQUEST}
Result := True;
{$ENDIF ~7ZIP_LINKONREQUEST}
@@ -738,7 +746,7 @@
@GetNumberOfFormats := nil;
@GetNumberOfMethods := nil;
@SetLargePageMode := nil;
- JclSysUtils.UnloadModule(SevenzipLib);
+ JclSysUtils.UnloadModule(SevenzipLibraryHandle);
{$ENDIF 7ZIP_LINKONREQUEST}
end;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-04-19 16:34:11
|
Revision: 3778
http://jcl.svn.sourceforge.net/jcl/?rev=3778&view=rev
Author: outchy
Date: 2012-04-19 16:34:04 +0000 (Thu, 19 Apr 2012)
Log Message:
-----------
use functions from JclSysUtils to load/unload modules and get symbol addresses.
Modified Paths:
--------------
trunk/jcl/source/common/bzip2.pas
trunk/jcl/source/common/pcre.pas
trunk/jcl/source/common/zlibh.pas
trunk/jcl/source/windows/sevenzip.pas
Modified: trunk/jcl/source/common/bzip2.pas
===================================================================
--- trunk/jcl/source/common/bzip2.pas 2012-04-18 20:44:18 UTC (rev 3777)
+++ trunk/jcl/source/common/bzip2.pas 2012-04-19 16:34:04 UTC (rev 3778)
@@ -42,7 +42,8 @@
{$IFDEF UNITVERSIONING}
JclUnitVersioning,
{$ENDIF UNITVERSIONING}
- JclBase; // PByte, PCardinal for Delphi 5 and C++Builder 5...
+ JclBase,
+ JclSysUtils;
//DOM-IGNORE-BEGIN
@@ -425,14 +426,6 @@
{$ELSE ~BZIP2_STATICLINK}
-type
- {$IFDEF MSWINDOWS}
- TModuleHandle = HINST;
- {$ENDIF MSWINDOWS}
- {$IFDEF LINUX}
- TModuleHandle = Pointer;
- {$ENDIF LINUX}
-
const
{$IFDEF MSWINDOWS}
szBZIP2 = 'bzip2.dll'; // from http://gnuwin32.sourceforge.net/
@@ -449,7 +442,6 @@
BZ2BuffToBuffCompressExportName = 'BZ2_bzBuffToBuffCompress';
BZ2BuffToBuffDecompressExportName = 'BZ2_bzBuffToBuffDecompress';
BZ2LibVersionExportName = 'BZ2_bzlibVersion';
- INVALID_MODULEHANDLE_VALUE = TModuleHandle(0);
{$ENDIF ~BZIP2_STATICLINK}
@@ -472,39 +464,23 @@
function LoadBZip2: Boolean;
{$IFDEF BZIP2_LINKONREQUEST}
- function GetSymbol(SymbolName: PAnsiChar): Pointer;
- begin
- {$IFDEF MSWINDOWS}
- Result := GetProcAddress(BZip2Lib, SymbolName);
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- Result := dlsym(BZip2Lib, SymbolName);
- {$ENDIF UNIX}
- end;
begin
Result := BZip2Lib <> INVALID_MODULEHANDLE_VALUE;
if Result then
Exit;
- if BZip2Lib = INVALID_MODULEHANDLE_VALUE then
- {$IFDEF MSWINDOWS}
- BZip2Lib := SafeLoadLibrary(szBZIP2);
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- BZip2Lib := dlopen(PAnsiChar(szBZIP2), RTLD_NOW);
- {$ENDIF UNIX}
- Result := BZip2Lib <> INVALID_MODULEHANDLE_VALUE;
+ Result := JclSysUtils.LoadModule(BZip2Lib, szBZIP2);
if Result then
begin
- @BZ2_bzCompressInit := GetSymbol(BZ2CompressInitExportName);
- @BZ2_bzCompress := GetSymbol(BZ2CompressExportName);
- @BZ2_bzCompressEnd := GetSymbol(BZ2CompressEndExportName);
- @BZ2_bzDecompressInit := GetSymbol(BZ2DecompressInitExportName);
- @BZ2_bzDecompress := GetSymbol(BZ2DecompressExportName);
- @BZ2_bzDecompressEnd := GetSymbol(BZ2DecompressEndExportName);
- @BZ2_bzBuffToBuffCompress := GetSymbol(BZ2BuffToBuffCompressExportName);
- @BZ2_bzBuffToBuffDecompress := GetSymbol(BZ2BuffToBuffDecompressExportName);
- @BZ2_bzlibVersion := GetSymbol(BZ2LibVersionExportName);
+ @BZ2_bzCompressInit := GetModuleSymbol(BZip2Lib, BZ2CompressInitExportName);
+ @BZ2_bzCompress := GetModuleSymbol(BZip2Lib, BZ2CompressExportName);
+ @BZ2_bzCompressEnd := GetModuleSymbol(BZip2Lib, BZ2CompressEndExportName);
+ @BZ2_bzDecompressInit := GetModuleSymbol(BZip2Lib, BZ2DecompressInitExportName);
+ @BZ2_bzDecompress := GetModuleSymbol(BZip2Lib, BZ2DecompressExportName);
+ @BZ2_bzDecompressEnd := GetModuleSymbol(BZip2Lib, BZ2DecompressEndExportName);
+ @BZ2_bzBuffToBuffCompress := GetModuleSymbol(BZip2Lib, BZ2BuffToBuffCompressExportName);
+ @BZ2_bzBuffToBuffDecompress := GetModuleSymbol(BZip2Lib, BZ2BuffToBuffDecompressExportName);
+ @BZ2_bzlibVersion := GetModuleSymbol(BZip2Lib, BZ2LibVersionExportName);
end;
end;
{$ELSE ~BZIP2_LINKONREQUEST}
@@ -525,14 +501,7 @@
procedure UnloadBZip2;
begin
{$IFDEF BZIP2_LINKONREQUEST}
- if BZip2Lib <> INVALID_MODULEHANDLE_VALUE then
- {$IFDEF MSWINDOWS}
- FreeLibrary(BZip2Lib);
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- dlclose(Pointer(BZip2Lib));
- {$ENDIF UNIX}
- BZip2Lib := INVALID_MODULEHANDLE_VALUE;
+ JclSysUtils.UnloadModule(BZip2Lib);
{$ENDIF BZIP2_LINKONREQUEST}
end;
Modified: trunk/jcl/source/common/pcre.pas
===================================================================
--- trunk/jcl/source/common/pcre.pas 2012-04-18 20:44:18 UTC (rev 3777)
+++ trunk/jcl/source/common/pcre.pas 2012-04-19 16:34:04 UTC (rev 3778)
@@ -48,7 +48,8 @@
{$IFDEF UNITVERSIONING}
JclUnitVersioning,
{$ENDIF UNITVERSIONING}
- JclBase;
+ JclBase,
+ JclSysUtils;
//DOM-IGNORE-BEGIN
@@ -934,14 +935,6 @@
{$ELSE ~PCRE_STATICLINK}
-type
- {$IFDEF MSWINDOWS}
- TModuleHandle = HINST;
- {$ENDIF MSWINDOWS}
- {$IFDEF LINUX}
- TModuleHandle = Pointer;
- {$ENDIF LINUX}
-
const
{$IFDEF MSWINDOWS}
libpcremodulename = 'pcre3.dll';
@@ -978,7 +971,6 @@
PCREStackMallocExportName = 'pcre_stack_malloc';
PCREStackFreeExportName = 'pcre_stack_free';
PCRECalloutExportName = 'pcre_callout';
- INVALID_MODULEHANDLE_VALUE = TModuleHandle(0);
var
PCRELib: TModuleHandle = INVALID_MODULEHANDLE_VALUE;
@@ -1261,62 +1253,45 @@
Result := True;
end;
{$ELSE ~PCRE_STATICLINK}
- function GetSymbol(SymbolName: PAnsiChar): Pointer;
- begin
- {$IFDEF MSWINDOWS}
- Result := GetProcAddress(PCRELib, SymbolName);
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- Result := dlsym(PCRELib, SymbolName);
- {$ENDIF UNIX}
- end;
-
begin
Result := PCRELib <> INVALID_MODULEHANDLE_VALUE;
if Result then
Exit;
- if PCRELib = INVALID_MODULEHANDLE_VALUE then
- {$IFDEF MSWINDOWS}
- PCRELib := SafeLoadLibrary(libpcremodulename);
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- PCRELib := dlopen(PAnsiChar(libpcremodulename), RTLD_NOW);
- {$ENDIF UNIX}
- Result := PCRELib <> INVALID_MODULEHANDLE_VALUE;
+ Result := JclSysUtils.LoadModule(PCRELib, libpcremodulename);
if Result then
begin
{$IFDEF PCRE_LINKONREQUEST}
- @pcre_compile := GetSymbol(PCRECompileExportName);
- @pcre_compile2 := GetSymbol(PCRECompile2ExportName);
- @pcre_config := GetSymbol(PCREConfigExportName);
- @pcre_copy_named_substring := GetSymbol(PCRECopyNamedSubstringExportName);
- @pcre_copy_substring := GetSymbol(PCRECopySubStringExportName);
- @pcre_dfa_exec := GetSymbol(PCREDfaExecExportName);
- @pcre_exec := GetSymbol(PCREExecExportName);
- @pcre_free_substring := GetSymbol(PCREFreeSubStringExportName);
- @pcre_free_substring_list := GetSymbol(PCREFreeSubStringListExportName);
- @pcre_fullinfo := GetSymbol(PCREFullInfoExportName);
- @pcre_get_named_substring := GetSymbol(PCREGetNamedSubstringExportName);
- @pcre_get_stringnumber := GetSymbol(PCREGetStringNumberExportName);
- @pcre_get_stringtable_entries := GetSymbol(PCREGetStringTableEntriesExportName);
- @pcre_get_substring := GetSymbol(PCREGetSubStringExportName);
- @pcre_get_substring_list := GetSymbol(PCREGetSubStringListExportName);
- @pcre_info := GetSymbol(PCREInfoExportName);
- @pcre_maketables := GetSymbol(PCREMakeTablesExportName);
- @pcre_refcount := GetSymbol(PCRERefCountExportName);
- @pcre_study := GetSymbol(PCREStudyExportName);
- @pcre_free_study := GetSymbol(PCREFreeStudyExportName);
- @pcre_version := GetSymbol(PCREVersionExportName);
- @pcre_jit_stack_alloc := GetSymbol(PCREJITStackAllocExportName);
- @pcre_jit_stack_free := GetSymbol(PCREJITStackFreeExportName);
- @pcre_assign_jit_stack := GetSymbol(PCREAssignJITStackExportName);
+ @pcre_compile := GetModuleSymbol(PCRELib, PCRECompileExportName);
+ @pcre_compile2 := GetModuleSymbol(PCRELib, PCRECompile2ExportName);
+ @pcre_config := GetModuleSymbol(PCRELib, PCREConfigExportName);
+ @pcre_copy_named_substring := GetModuleSymbol(PCRELib, PCRECopyNamedSubstringExportName);
+ @pcre_copy_substring := GetModuleSymbol(PCRELib, PCRECopySubStringExportName);
+ @pcre_dfa_exec := GetModuleSymbol(PCRELib, PCREDfaExecExportName);
+ @pcre_exec := GetModuleSymbol(PCRELib, PCREExecExportName);
+ @pcre_free_substring := GetModuleSymbol(PCRELib, PCREFreeSubStringExportName);
+ @pcre_free_substring_list := GetModuleSymbol(PCRELib, PCREFreeSubStringListExportName);
+ @pcre_fullinfo := GetModuleSymbol(PCRELib, PCREFullInfoExportName);
+ @pcre_get_named_substring := GetModuleSymbol(PCRELib, PCREGetNamedSubstringExportName);
+ @pcre_get_stringnumber := GetModuleSymbol(PCRELib, PCREGetStringNumberExportName);
+ @pcre_get_stringtable_entries := GetModuleSymbol(PCRELib, PCREGetStringTableEntriesExportName);
+ @pcre_get_substring := GetModuleSymbol(PCRELib, PCREGetSubStringExportName);
+ @pcre_get_substring_list := GetModuleSymbol(PCRELib, PCREGetSubStringListExportName);
+ @pcre_info := GetModuleSymbol(PCRELib, PCREInfoExportName);
+ @pcre_maketables := GetModuleSymbol(PCRELib, PCREMakeTablesExportName);
+ @pcre_refcount := GetModuleSymbol(PCRELib, PCRERefCountExportName);
+ @pcre_study := GetModuleSymbol(PCRELib, PCREStudyExportName);
+ @pcre_free_study := GetModuleSymbol(PCRELib, PCREFreeStudyExportName);
+ @pcre_version := GetModuleSymbol(PCRELib, PCREVersionExportName);
+ @pcre_jit_stack_alloc := GetModuleSymbol(PCRELib, PCREJITStackAllocExportName);
+ @pcre_jit_stack_free := GetModuleSymbol(PCRELib, PCREJITStackFreeExportName);
+ @pcre_assign_jit_stack := GetModuleSymbol(PCRELib, PCREAssignJITStackExportName);
{$ENDIF PCRE_LINKONREQUEST}
- pcre_malloc_func := GetSymbol(PCREMallocExportName);
- pcre_free_func := GetSymbol(PCREFreeExportName);
- pcre_stack_malloc_func := GetSymbol(PCREStackMallocExportName);
- pcre_stack_free_func := GetSymbol(PCREStackFreeExportName);
- pcre_callout_func := GetSymbol(PCRECalloutExportName);
+ pcre_malloc_func := GetModuleSymbol(PCRELib, PCREMallocExportName);
+ pcre_free_func := GetModuleSymbol(PCRELib, PCREFreeExportName);
+ pcre_stack_malloc_func := GetModuleSymbol(PCRELib, PCREStackMallocExportName);
+ pcre_stack_free_func := GetModuleSymbol(PCRELib, PCREStackFreeExportName);
+ pcre_callout_func := GetModuleSymbol(PCRELib, PCRECalloutExportName);
end
else
InitPCREFuncPtrs(@LibNotLoadedHandler);
@@ -1328,15 +1303,8 @@
begin
{$IFNDEF PCRE_RTL}
{$IFNDEF PCRE_STATICLINK}
- if PCRELib <> INVALID_MODULEHANDLE_VALUE then
- {$IFDEF MSWINDOWS}
- FreeLibrary(PCRELib);
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- dlclose(Pointer(PCRELib));
- {$ENDIF UNIX}
- PCRELib := INVALID_MODULEHANDLE_VALUE;
InitPCREFuncPtrs(@LibNotLoadedHandler);
+ JclSysUtils.UnloadModule(PCRELib);
{$ENDIF ~PCRE_STATICLINK}
{$ENDIF ~PCRE_RTL}
end;
Modified: trunk/jcl/source/common/zlibh.pas
===================================================================
--- trunk/jcl/source/common/zlibh.pas 2012-04-18 20:44:18 UTC (rev 3777)
+++ trunk/jcl/source/common/zlibh.pas 2012-04-19 16:34:04 UTC (rev 3778)
@@ -70,7 +70,8 @@
{$IFDEF UNITVERSIONING}
JclUnitVersioning,
{$ENDIF UNITVERSIONING}
- JclBase;
+ JclBase,
+ JclSysUtils;
//DOM-IGNORE-BEGIN
@@ -2256,15 +2257,6 @@
{$ENDIF ~LINK_TO_MSVCRT}
{$ELSE ~ZLIB_STATICLINK}
-{$IFDEF MSWINDOWS}
-type
- TModuleHandle = HINST;
-{$ENDIF MSWINDOWS}
-{$IFDEF LINUX}
-type
- TModuleHandle = Pointer;
-{$ENDIF LINUX}
-
const
{$IFDEF MSWINDOWS}
szZLIB = 'zlib1.dll';
@@ -2272,7 +2264,6 @@
{$IFDEF UNIX}
szZLIB = 'libz.so';
{$ENDIF UNIX}
- INVALID_MODULEHANDLE_VALUE = TModuleHandle(0);
ZLIBzlibVersionExportName = 'zlibVersion';
ZLIBdeflateInit_ExportName = 'deflateInit_';
@@ -2323,62 +2314,46 @@
function LoadZLib: Boolean;
{$IFDEF ZLIB_LINKONREQUEST}
- function GetSymbol(SymbolName: PAnsiChar): Pointer;
- begin
- {$IFDEF MSWINDOWS}
- Result := GetProcAddress(ZLibModuleHandle, SymbolName);
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- Result := dlsym(ZLibModuleHandle, SymbolName);
- {$ENDIF UNIX}
- end;
begin
Result := ZLibModuleHandle <> INVALID_MODULEHANDLE_VALUE;
if Result then
Exit;
- if ZLibModuleHandle = INVALID_MODULEHANDLE_VALUE then
- {$IFDEF MSWINDOWS}
- ZLibModuleHandle := SafeLoadLibrary(szZLIB);
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- ZLibModuleHandle := dlopen(PAnsiChar(szZLIB), RTLD_NOW);
- {$ENDIF UNIX}
- Result := ZLibModuleHandle <> INVALID_MODULEHANDLE_VALUE;
+ Result := JclSysUtils.LoadModule(ZLibModuleHandle, szZLIB);
if Result then
begin
- @zlibVersion := GetSymbol(ZLIBzlibVersionExportName);
- @deflateInit_ := GetSymbol(ZLIBdeflateInit_ExportName);
- @deflate := GetSymbol(ZLIBdeflateExportName);
- @deflateEnd := GetSymbol(ZLIBdeflateEndExportName);
- @inflateInit_ := GetSymbol(ZLIBinflateInit_ExportName);
- @inflate := GetSymbol(ZLIBinflateExportName);
- @inflateEnd := GetSymbol(ZLIBinflateEndExportName);
- @deflateInit2_ := GetSymbol(ZLIBdeflateInit2_ExportName);
- @deflateSetDictionary := GetSymbol(ZLIBdeflateSetDictionaryExportName);
- @deflateCopy := GetSymbol(ZLIBdeflateCopyExportName);
- @deflateReset := GetSymbol(ZLIBdeflateResetExportName);
- @deflateParams := GetSymbol(ZLIBdeflateParamsExportName);
- @deflateBound := GetSymbol(ZLIBdeflateBoundExportName);
- @deflatePrime := GetSymbol(ZLIBdeflatePrimeExportName);
- @inflateInit2_ := GetSymbol(ZLIBinflateInit2_ExportName);
- @inflateSetDictionary := GetSymbol(ZLIBinflateSetDictionaryExportName);
- @inflateSync := GetSymbol(ZLIBinflateSyncExportName);
- @inflateCopy := GetSymbol(ZLIBinflateCopyExportName);
- @inflateReset := GetSymbol(ZLIBinflateResetExportName);
- @inflateBackInit_ := GetSymbol(ZLIBinflateBackInit_ExportName);
- @inflateBack := GetSymbol(ZLIBinflateBackExportName);
- @inflateBackEnd := GetSymbol(ZLIBinflateBackEndExportName);
- @zlibCompileFlags := GetSymbol(ZLIBzlibCompileFlagsExportName);
- @compress := GetSymbol(ZLIBcompressExportName);
- @compress2 := GetSymbol(ZLIBcompress2ExportName);
- @compressBound := GetSymbol(ZLIBcompressBoundExportName);
- @uncompress := GetSymbol(ZLIBuncompressExportName);
- @adler32 := GetSymbol(ZLIBadler32ExportName);
- @crc32 := GetSymbol(ZLIBcrc32ExportName);
- @zError := GetSymbol(ZLIBzErrorExportName);
- @inflateSyncPoint := GetSymbol(ZLIBinflateSyncPointExportName);
- @get_crc_table := GetSymbol(ZLIBget_crc_tableExportName);
+ @zlibVersion := GetModuleSymbol(ZLibModuleHandle, ZLIBzlibVersionExportName);
+ @deflateInit_ := GetModuleSymbol(ZLibModuleHandle, ZLIBdeflateInit_ExportName);
+ @deflate := GetModuleSymbol(ZLibModuleHandle, ZLIBdeflateExportName);
+ @deflateEnd := GetModuleSymbol(ZLibModuleHandle, ZLIBdeflateEndExportName);
+ @inflateInit_ := GetModuleSymbol(ZLibModuleHandle, ZLIBinflateInit_ExportName);
+ @inflate := GetModuleSymbol(ZLibModuleHandle, ZLIBinflateExportName);
+ @inflateEnd := GetModuleSymbol(ZLibModuleHandle, ZLIBinflateEndExportName);
+ @deflateInit2_ := GetModuleSymbol(ZLibModuleHandle, ZLIBdeflateInit2_ExportName);
+ @deflateSetDictionary := GetModuleSymbol(ZLibModuleHandle, ZLIBdeflateSetDictionaryExportName);
+ @deflateCopy := GetModuleSymbol(ZLibModuleHandle, ZLIBdeflateCopyExportName);
+ @deflateReset := GetModuleSymbol(ZLibModuleHandle, ZLIBdeflateResetExportName);
+ @deflateParams := GetModuleSymbol(ZLibModuleHandle, ZLIBdeflateParamsExportName);
+ @deflateBound := GetModuleSymbol(ZLibModuleHandle, ZLIBdeflateBoundExportName);
+ @deflatePrime := GetModuleSymbol(ZLibModuleHandle, ZLIBdeflatePrimeExportName);
+ @inflateInit2_ := GetModuleSymbol(ZLibModuleHandle, ZLIBinflateInit2_ExportName);
+ @inflateSetDictionary := GetModuleSymbol(ZLibModuleHandle, ZLIBinflateSetDictionaryExportName);
+ @inflateSync := GetModuleSymbol(ZLibModuleHandle, ZLIBinflateSyncExportName);
+ @inflateCopy := GetModuleSymbol(ZLibModuleHandle, ZLIBinflateCopyExportName);
+ @inflateReset := GetModuleSymbol(ZLibModuleHandle, ZLIBinflateResetExportName);
+ @inflateBackInit_ := GetModuleSymbol(ZLibModuleHandle, ZLIBinflateBackInit_ExportName);
+ @inflateBack := GetModuleSymbol(ZLibModuleHandle, ZLIBinflateBackExportName);
+ @inflateBackEnd := GetModuleSymbol(ZLibModuleHandle, ZLIBinflateBackEndExportName);
+ @zlibCompileFlags := GetModuleSymbol(ZLibModuleHandle, ZLIBzlibCompileFlagsExportName);
+ @compress := GetModuleSymbol(ZLibModuleHandle, ZLIBcompressExportName);
+ @compress2 := GetModuleSymbol(ZLibModuleHandle, ZLIBcompress2ExportName);
+ @compressBound := GetModuleSymbol(ZLibModuleHandle, ZLIBcompressBoundExportName);
+ @uncompress := GetModuleSymbol(ZLibModuleHandle, ZLIBuncompressExportName);
+ @adler32 := GetModuleSymbol(ZLibModuleHandle, ZLIBadler32ExportName);
+ @crc32 := GetModuleSymbol(ZLibModuleHandle, ZLIBcrc32ExportName);
+ @zError := GetModuleSymbol(ZLibModuleHandle, ZLIBzErrorExportName);
+ @inflateSyncPoint := GetModuleSymbol(ZLibModuleHandle, ZLIBinflateSyncPointExportName);
+ @get_crc_table := GetModuleSymbol(ZLibModuleHandle, ZLIBget_crc_tableExportName);
end;
end;
{$ELSE ~ZLIB_LINKONREQUEST}
@@ -2390,14 +2365,7 @@
procedure UnloadZLib;
begin
{$IFDEF ZLIB_LINKONREQUEST}
- if ZLibModuleHandle <> INVALID_MODULEHANDLE_VALUE then
- {$IFDEF MSWINDOWS}
- FreeLibrary(ZLibModuleHandle);
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- dlclose(Pointer(ZLibModuleHandle));
- {$ENDIF UNIX}
- ZLibModuleHandle := INVALID_MODULEHANDLE_VALUE;
+ JclSysUtils.UnloadModule(ZLibModuleHandle);
{$ENDIF ZLIB_LINKONREQUEST}
end;
Modified: trunk/jcl/source/windows/sevenzip.pas
===================================================================
--- trunk/jcl/source/windows/sevenzip.pas 2012-04-18 20:44:18 UTC (rev 3777)
+++ trunk/jcl/source/windows/sevenzip.pas 2012-04-19 16:34:04 UTC (rev 3778)
@@ -67,7 +67,8 @@
{$IFDEF UNITVERSIONING}
JclUnitVersioning,
{$ENDIF UNITVERSIONING}
- JclBase;
+ JclBase,
+ JclSysUtils;
//DOM-IGNORE-BEGIN
@@ -664,14 +665,6 @@
implementation
-type
- {$IFDEF MSWINDOWS}
- TModuleHandle = HINST;
- {$ENDIF MSWINDOWS}
- {$IFDEF LINUX}
- TModuleHandle = Pointer;
- {$ENDIF LINUX}
-
const
sz7Zip = '7z.dll';
CreateObjectExportName = 'CreateObject';
@@ -681,7 +674,6 @@
GetNumberOfFormatsExportName = 'GetNumberOfFormats';
GetNumberOfMethodsExportName = 'GetNumberOfMethods';
SetLargePageModeExportName = 'SetLargePageMode';
- INVALID_MODULEHANDLE_VALUE = TModuleHandle(0);
{$IFDEF 7ZIP_LINKDLL}
function CreateObject; external sz7Zip name CreateObjectExportName;
@@ -700,40 +692,25 @@
function Load7Zip: Boolean;
{$IFDEF 7ZIP_LINKONREQUEST}
- function GetSymbol(SymbolName: PChar): Pointer;
- begin
- {$IFDEF MSWINDOWS}
- Result := GetProcAddress(SevenzipLib, PChar(SymbolName));
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- Result := dlsym(SevenzipLib, PChar(SymbolName));
- {$ENDIF UNIX}
- end;
begin
Result := SevenzipLib <> INVALID_MODULEHANDLE_VALUE;
- if not Result then
+ if Result then
+ Exit;
+
+ Result := JclSysUtils.LoadModule(SevenzipLib, sz7Zip);
+ if Result then
begin
- {$IFDEF MSWINDOWS}
- SevenzipLib := LoadLibrary(sz7Zip);
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- SevenzipLib := dlopen(PChar(sz7Zip), RTLD_NOW);
- {$ENDIF UNIX}
- Result := SevenzipLib <> INVALID_MODULEHANDLE_VALUE;
- if Result then
- begin
- @CreateObject := GetSymbol(CreateObjectExportName);
- @GetHandlerProperty2 := GetSymbol(GetHandlerProperty2ExportName);
- @GetHandlerProperty := GetSymbol(GetHandlerPropertyExportName);
- @GetMethodProperty := GetSymbol(GetMethodPropertyExportName);
- @GetNumberOfFormats := GetSymbol(GetNumberOfFormatsExportName);
- @GetNumberOfMethods := GetSymbol(GetNumberOfMethodsExportName);
- @SetLargePageMode := GetSymbol(SetLargePageModeExportName);
- Result := Assigned(@CreateObject) and Assigned(@GetHandlerProperty2) and
- Assigned(@GetHandlerProperty) and Assigned(@GetMethodProperty) and
- Assigned(@GetNumberOfFormats) and Assigned(@GetNumberOfMethods) and
- Assigned(@SetLargePageMode);
- end;
+ @CreateObject := GetModuleSymbol(SevenzipLib, CreateObjectExportName);
+ @GetHandlerProperty2 := GetModuleSymbol(SevenzipLib, GetHandlerProperty2ExportName);
+ @GetHandlerProperty := GetModuleSymbol(SevenzipLib, GetHandlerPropertyExportName);
+ @GetMethodProperty := GetModuleSymbol(SevenzipLib, GetMethodPropertyExportName);
+ @GetNumberOfFormats := GetModuleSymbol(SevenzipLib, GetNumberOfFormatsExportName);
+ @GetNumberOfMethods := GetModuleSymbol(SevenzipLib, GetNumberOfMethodsExportName);
+ @SetLargePageMode := GetModuleSymbol(SevenzipLib, SetLargePageModeExportName);
+ Result := Assigned(@CreateObject) and Assigned(@GetHandlerProperty2) and
+ Assigned(@GetHandlerProperty) and Assigned(@GetMethodProperty) and
+ Assigned(@GetNumberOfFormats) and Assigned(@GetNumberOfMethods) and
+ Assigned(@SetLargePageMode);
end;
end;
{$ELSE ~7ZIP_LINKONREQUEST}
@@ -761,14 +738,7 @@
@GetNumberOfFormats := nil;
@GetNumberOfMethods := nil;
@SetLargePageMode := nil;
- if SevenzipLib <> INVALID_MODULEHANDLE_VALUE then
- {$IFDEF MSWINDOWS}
- FreeLibrary(SevenzipLib);
- {$ENDIF MSWINDOWS}
- {$IFDEF UNIX}
- dlclose(Pointer(SevenzipLib));
- {$ENDIF UNIX}
- SevenzipLib := INVALID_MODULEHANDLE_VALUE;
+ JclSysUtils.UnloadModule(SevenzipLib);
{$ENDIF 7ZIP_LINKONREQUEST}
end;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-04-18 20:44:29
|
Revision: 3777
http://jcl.svn.sourceforge.net/jcl/?rev=3777&view=rev
Author: outchy
Date: 2012-04-18 20:44:18 +0000 (Wed, 18 Apr 2012)
Log Message:
-----------
update to return the file list in XML format.
Modified Paths:
--------------
trunk/website/sourceforge/daily/index.php
Modified: trunk/website/sourceforge/daily/index.php
===================================================================
--- trunk/website/sourceforge/daily/index.php 2012-04-09 18:37:35 UTC (rev 3776)
+++ trunk/website/sourceforge/daily/index.php 2012-04-18 20:44:18 UTC (rev 3777)
@@ -23,6 +23,76 @@
return $size;
}
+function GetDailyFileNames()
+{
+ $dh = opendir("./");
+ $filenames = array();
+ while (($filename = readdir($dh)) !== false)
+ {
+ if (!is_dir($filename) &&
+ (substr($filename, 0, 4) == "jcl-") &&
+ (substr($filename, -11, 8) != "-winhelp") &&
+ (substr($filename, -13, 10) != "-htmlhelp2") &&
+ (substr($filename, -11, 8) != "-chmhelp"))
+ {
+ $filenames[] = $filename;
+ }
+ }
+ rsort($filenames);
+ return $filenames;
+}
+
+function GetWeeklyFileNames()
+{
+ $dh = opendir("./");
+ $filenames = array();
+ while (($filename = readdir($dh)) !== false)
+ {
+ if (!is_dir($filename) &&
+ (substr($filename, 0, 4) == "jcl-") &&
+ ((substr($filename, -11, 8) == "-winhelp") ||
+ (substr($filename, -13, 10) == "-htmlhelp2") ||
+ (substr($filename, -11, 8) == "-chmhelp")))
+ {
+ $filenames[] = $filename;
+ }
+ }
+
+ // sort the array before displaying it
+ rsort($filenames);
+ return $filenames;
+}
+
+if ($_GET["xml"] == "yes") {
+ Header('HTTP/1.1 200 OK');
+ //Header("Access-Control-Allow-Origin: delphi-jedi.org");
+ Header("Access-Control-Allow-Origin: *");
+ Header("content-type: application/xml");
+ echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
+ echo "<filelist>\n";
+ echo " <dailyzips>\n";
+ $filenames = GetDailyFileNames();
+ foreach ($filenames as $filename) {
+ echo " <dailyzip>\n";
+ echo " <name>".$filename."</name>\n";
+ echo " <size>".GetDisplayFileSize($filename)."</size>\n";
+ echo " <date>".GetDisplayFileDate($filename)."</date>\n";
+ echo " </dailyzip>\n";
+ }
+ echo " </dailyzips>\n";
+ echo " <weeklyzips>\n";
+ $filenames = GetWeeklyFileNames();
+ foreach ($filenames as $filename) {
+ echo " <weeklyzip>\n";
+ echo " <name>".$filename."</name>\n";
+ echo " <size>".GetDisplayFileSize($filename)."</size>\n";
+ echo " <date>".GetDisplayFileDate($filename)."</date>\n";
+ echo " </weeklyzip>\n";
+ }
+ echo " </weeklyzips>\n";
+ echo "</filelist>\n";
+ exit();
+}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
@@ -63,23 +133,7 @@
</tr>
<?php
- $dh = opendir("./");
- $filenames = array();
- while (($filename = readdir($dh)) !== false)
- {
- if (!is_dir($filename) &&
- (substr($filename, 0, 4) == "jcl-") &&
- (substr($filename, -11, 8) != "-winhelp") &&
- (substr($filename, -13, 10) != "-htmlhelp2") &&
- (substr($filename, -11, 8) != "-chmhelp"))
- {
- $filenames[] = $filename;
- }
- }
-
- // sort the array before displaying it
- rsort($filenames);
-
+ $filenames = GetDailyFileNames();
foreach ($filenames as $filename)
{
$filename_full = $filename;
@@ -116,23 +170,7 @@
</tr>
<?php
- $dh = opendir("./");
- $filenames = array();
- while (($filename = readdir($dh)) !== false)
- {
- if (!is_dir($filename) &&
- (substr($filename, 0, 4) == "jcl-") &&
- ((substr($filename, -11, 8) == "-winhelp") ||
- (substr($filename, -13, 10) == "-htmlhelp2") ||
- (substr($filename, -11, 8) == "-chmhelp")))
- {
- $filenames[] = $filename;
- }
- }
-
- // sort the array before displaying it
- rsort($filenames);
-
+ $filenames = GetWeeklyFileNames();
foreach ($filenames as $filename)
{
$filename_full = $filename;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-04-09 18:37:43
|
Revision: 3776
http://jcl.svn.sourceforge.net/jcl/?rev=3776&view=rev
Author: outchy
Date: 2012-04-09 18:37:35 +0000 (Mon, 09 Apr 2012)
Log Message:
-----------
add JCL version info to D16 project files.
Modified Paths:
--------------
trunk/jcl/packages/d16/Jcl.dpk
trunk/jcl/packages/d16/Jcl.dproj
trunk/jcl/packages/d16/Jcl.rc
trunk/jcl/packages/d16/Jcl.res
trunk/jcl/packages/d16/JclBaseExpert.dproj
trunk/jcl/packages/d16/JclBaseExpert.rc
trunk/jcl/packages/d16/JclBaseExpert.res
trunk/jcl/packages/d16/JclContainers.dproj
trunk/jcl/packages/d16/JclContainers.rc
trunk/jcl/packages/d16/JclContainers.res
trunk/jcl/packages/d16/JclDebugExpert.dproj
trunk/jcl/packages/d16/JclDebugExpert.rc
trunk/jcl/packages/d16/JclDebugExpert.res
trunk/jcl/packages/d16/JclDebugExpertDLL.dproj
trunk/jcl/packages/d16/JclDebugExpertDLL.rc
trunk/jcl/packages/d16/JclDebugExpertDLL.res
trunk/jcl/packages/d16/JclDeveloperTools.dproj
trunk/jcl/packages/d16/JclDeveloperTools.rc
trunk/jcl/packages/d16/JclDeveloperTools.res
trunk/jcl/packages/d16/JclFavoriteFoldersExpert.dproj
trunk/jcl/packages/d16/JclFavoriteFoldersExpert.rc
trunk/jcl/packages/d16/JclFavoriteFoldersExpert.res
trunk/jcl/packages/d16/JclFavoriteFoldersExpertDLL.dproj
trunk/jcl/packages/d16/JclFavoriteFoldersExpertDLL.rc
trunk/jcl/packages/d16/JclFavoriteFoldersExpertDLL.res
trunk/jcl/packages/d16/JclProjectAnalysisExpert.dproj
trunk/jcl/packages/d16/JclProjectAnalysisExpert.rc
trunk/jcl/packages/d16/JclProjectAnalysisExpert.res
trunk/jcl/packages/d16/JclProjectAnalysisExpertDLL.dproj
trunk/jcl/packages/d16/JclProjectAnalysisExpertDLL.rc
trunk/jcl/packages/d16/JclProjectAnalysisExpertDLL.res
trunk/jcl/packages/d16/JclRepositoryExpert.dproj
trunk/jcl/packages/d16/JclRepositoryExpert.rc
trunk/jcl/packages/d16/JclRepositoryExpert.res
trunk/jcl/packages/d16/JclRepositoryExpertDLL.dproj
trunk/jcl/packages/d16/JclRepositoryExpertDLL.rc
trunk/jcl/packages/d16/JclRepositoryExpertDLL.res
trunk/jcl/packages/d16/JclSIMDViewExpert.dproj
trunk/jcl/packages/d16/JclSIMDViewExpert.rc
trunk/jcl/packages/d16/JclSIMDViewExpert.res
trunk/jcl/packages/d16/JclSIMDViewExpertDLL.dproj
trunk/jcl/packages/d16/JclSIMDViewExpertDLL.rc
trunk/jcl/packages/d16/JclSIMDViewExpertDLL.res
trunk/jcl/packages/d16/JclStackTraceViewerExpert.dproj
trunk/jcl/packages/d16/JclStackTraceViewerExpert.rc
trunk/jcl/packages/d16/JclStackTraceViewerExpert.res
trunk/jcl/packages/d16/JclStackTraceViewerExpertDLL.dproj
trunk/jcl/packages/d16/JclStackTraceViewerExpertDLL.rc
trunk/jcl/packages/d16/JclStackTraceViewerExpertDLL.res
trunk/jcl/packages/d16/JclVcl.dproj
trunk/jcl/packages/d16/JclVcl.rc
trunk/jcl/packages/d16/JclVcl.res
trunk/jcl/packages/d16/JclVersionControlExpert.dproj
trunk/jcl/packages/d16/JclVersionControlExpert.rc
trunk/jcl/packages/d16/JclVersionControlExpert.res
trunk/jcl/packages/d16/JclVersionControlExpertDLL.dproj
trunk/jcl/packages/d16/JclVersionControlExpertDLL.rc
trunk/jcl/packages/d16/JclVersionControlExpertDLL.res
trunk/jcl/packages/d16/template.dproj
trunk/jcl/packages/d16/template.rc
Modified: trunk/jcl/packages/d16/Jcl.dpk
===================================================================
--- trunk/jcl/packages/d16/Jcl.dpk 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/Jcl.dpk 2012-04-09 18:37:35 UTC (rev 3776)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (Jcl-R.xml)
- Last generated: 13-08-2011 10:58:21 UTC
+ Last generated: 09-04-2012 18:30:41 UTC
-----------------------------------------------------------------------------
}
Modified: trunk/jcl/packages/d16/Jcl.dproj
===================================================================
--- trunk/jcl/packages/d16/Jcl.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/Jcl.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -1,4 +1,4 @@
- <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{44DB645B-C167-410D-9334-38AF9F0C7913}</ProjectGuid>
<MainSource>Jcl.dpk</MainSource>
@@ -60,6 +60,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JEDI Code Library RTL package;FileVersion=2.4.0.4198;InternalName=Jcl;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=Jcl160.bpl;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<RuntimeOnlyPackage>true</RuntimeOnlyPackage>
<DCC_DebugInformation>false</DCC_DebugInformation>
@@ -270,7 +277,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">Jcl160.bpl</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">Jcl.dpk</Source>
Modified: trunk/jcl/packages/d16/Jcl.rc
===================================================================
--- trunk/jcl/packages/d16/Jcl.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/Jcl.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "Jcl160.bpl\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/Jcl.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclBaseExpert.dproj
===================================================================
--- trunk/jcl/packages/d16/JclBaseExpert.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclBaseExpert.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Package containing common units for JCL Experts;FileVersion=2.4.0.4198;InternalName=JclBaseExpert;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclBaseExpert160.bpl;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DesignOnlyPackage>true</DesignOnlyPackage>
<DCC_DebugInformation>false</DCC_DebugInformation>
@@ -165,7 +172,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclBaseExpert160.bpl</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclBaseExpert.dpk</Source>
Modified: trunk/jcl/packages/d16/JclBaseExpert.rc
===================================================================
--- trunk/jcl/packages/d16/JclBaseExpert.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclBaseExpert.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclBaseExpert160.bpl\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclBaseExpert.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclContainers.dproj
===================================================================
--- trunk/jcl/packages/d16/JclContainers.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclContainers.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -60,6 +60,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JEDI Code Library Containers package;FileVersion=2.4.0.4198;InternalName=JclContainers;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclContainers160.bpl;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<RuntimeOnlyPackage>true</RuntimeOnlyPackage>
<DCC_DebugInformation>false</DCC_DebugInformation>
@@ -208,7 +215,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclContainers160.bpl</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclContainers.dpk</Source>
Modified: trunk/jcl/packages/d16/JclContainers.rc
===================================================================
--- trunk/jcl/packages/d16/JclContainers.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclContainers.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclContainers160.bpl\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclContainers.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclDebugExpert.dproj
===================================================================
--- trunk/jcl/packages/d16/JclDebugExpert.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclDebugExpert.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Debug IDE extension;FileVersion=2.4.0.4198;InternalName=JclDebugExpert;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclDebugExpert160.bpl;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DesignOnlyPackage>true</DesignOnlyPackage>
<DCC_DebugInformation>false</DCC_DebugInformation>
@@ -154,7 +161,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclDebugExpert160.bpl</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclDebugExpert.dpk</Source>
Modified: trunk/jcl/packages/d16/JclDebugExpert.rc
===================================================================
--- trunk/jcl/packages/d16/JclDebugExpert.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclDebugExpert.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclDebugExpert160.bpl\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclDebugExpert.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclDebugExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d16/JclDebugExpertDLL.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclDebugExpertDLL.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Debug IDE extension;FileVersion=2.4.0.4198;InternalName=JclDebugExpertDLL;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclDebugExpertDLL160.dll;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DCC_DebugInformation>false</DCC_DebugInformation>
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
@@ -153,7 +160,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclDebugExpertDLL160.dll</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclDebugExpertDLL.dpr</Source>
Modified: trunk/jcl/packages/d16/JclDebugExpertDLL.rc
===================================================================
--- trunk/jcl/packages/d16/JclDebugExpertDLL.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclDebugExpertDLL.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclDebugExpertDLL160.dll\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclDebugExpertDLL.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclDeveloperTools.dproj
===================================================================
--- trunk/jcl/packages/d16/JclDeveloperTools.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclDeveloperTools.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -60,6 +60,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JEDI Code Library Developer Tools package;FileVersion=2.4.0.4198;InternalName=JclDeveloperTools;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclDeveloperTools160.bpl;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<RuntimeOnlyPackage>true</RuntimeOnlyPackage>
<DCC_DebugInformation>false</DCC_DebugInformation>
@@ -225,7 +232,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclDeveloperTools160.bpl</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclDeveloperTools.dpk</Source>
Modified: trunk/jcl/packages/d16/JclDeveloperTools.rc
===================================================================
--- trunk/jcl/packages/d16/JclDeveloperTools.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclDeveloperTools.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclDeveloperTools160.bpl\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclDeveloperTools.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclFavoriteFoldersExpert.dproj
===================================================================
--- trunk/jcl/packages/d16/JclFavoriteFoldersExpert.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclFavoriteFoldersExpert.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Open and Save IDE dialogs with favorite folders;FileVersion=2.4.0.4198;InternalName=JclFavoriteFoldersExpert;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclFavoriteFoldersExpert160.bpl;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DesignOnlyPackage>true</DesignOnlyPackage>
<DCC_DebugInformation>false</DCC_DebugInformation>
@@ -152,7 +159,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclFavoriteFoldersExpert160.bpl</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclFavoriteFoldersExpert.dpk</Source>
Modified: trunk/jcl/packages/d16/JclFavoriteFoldersExpert.rc
===================================================================
--- trunk/jcl/packages/d16/JclFavoriteFoldersExpert.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclFavoriteFoldersExpert.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclFavoriteFoldersExpert160.bpl\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclFavoriteFoldersExpert.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclFavoriteFoldersExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d16/JclFavoriteFoldersExpertDLL.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclFavoriteFoldersExpertDLL.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Open and Save IDE dialogs with favorite folders;FileVersion=2.4.0.4198;InternalName=JclFavoriteFoldersExpertDLL;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclFavoriteFoldersExpertDLL160.dll;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DCC_DebugInformation>false</DCC_DebugInformation>
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
@@ -151,7 +158,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclFavoriteFoldersExpertDLL160.dll</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclFavoriteFoldersExpertDLL.dpr</Source>
Modified: trunk/jcl/packages/d16/JclFavoriteFoldersExpertDLL.rc
===================================================================
--- trunk/jcl/packages/d16/JclFavoriteFoldersExpertDLL.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclFavoriteFoldersExpertDLL.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclFavoriteFoldersExpertDLL160.dll\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclFavoriteFoldersExpertDLL.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclProjectAnalysisExpert.dproj
===================================================================
--- trunk/jcl/packages/d16/JclProjectAnalysisExpert.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclProjectAnalysisExpert.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Project Analyzer;FileVersion=2.4.0.4198;InternalName=JclProjectAnalysisExpert;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclProjectAnalysisExpert160.bpl;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DesignOnlyPackage>true</DesignOnlyPackage>
<DCC_DebugInformation>false</DCC_DebugInformation>
@@ -152,7 +159,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclProjectAnalysisExpert160.bpl</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclProjectAnalysisExpert.dpk</Source>
Modified: trunk/jcl/packages/d16/JclProjectAnalysisExpert.rc
===================================================================
--- trunk/jcl/packages/d16/JclProjectAnalysisExpert.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclProjectAnalysisExpert.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclProjectAnalysisExpert160.bpl\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclProjectAnalysisExpert.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclProjectAnalysisExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d16/JclProjectAnalysisExpertDLL.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclProjectAnalysisExpertDLL.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Project Analyzer;FileVersion=2.4.0.4198;InternalName=JclProjectAnalysisExpertDLL;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclProjectAnalysisExpertDLL160.dll;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DCC_DebugInformation>false</DCC_DebugInformation>
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
@@ -151,7 +158,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclProjectAnalysisExpertDLL160.dll</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclProjectAnalysisExpertDLL.dpr</Source>
Modified: trunk/jcl/packages/d16/JclProjectAnalysisExpertDLL.rc
===================================================================
--- trunk/jcl/packages/d16/JclProjectAnalysisExpertDLL.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclProjectAnalysisExpertDLL.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclProjectAnalysisExpertDLL160.dll\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclProjectAnalysisExpertDLL.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclRepositoryExpert.dproj
===================================================================
--- trunk/jcl/packages/d16/JclRepositoryExpert.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclRepositoryExpert.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Package containing repository wizards;FileVersion=2.4.0.4198;InternalName=JclRepositoryExpert;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclRepositoryExpert160.bpl;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DesignOnlyPackage>true</DesignOnlyPackage>
<DCC_DebugInformation>false</DCC_DebugInformation>
@@ -163,7 +170,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclRepositoryExpert160.bpl</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclRepositoryExpert.dpk</Source>
Modified: trunk/jcl/packages/d16/JclRepositoryExpert.rc
===================================================================
--- trunk/jcl/packages/d16/JclRepositoryExpert.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclRepositoryExpert.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclRepositoryExpert160.bpl\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclRepositoryExpert.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclRepositoryExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d16/JclRepositoryExpertDLL.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclRepositoryExpertDLL.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Package containing repository wizards;FileVersion=2.4.0.4198;InternalName=JclRepositoryExpertDLL;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclRepositoryExpertDLL160.dll;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DCC_DebugInformation>false</DCC_DebugInformation>
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
@@ -162,7 +169,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclRepositoryExpertDLL160.dll</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclRepositoryExpertDLL.dpr</Source>
Modified: trunk/jcl/packages/d16/JclRepositoryExpertDLL.rc
===================================================================
--- trunk/jcl/packages/d16/JclRepositoryExpertDLL.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclRepositoryExpertDLL.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclRepositoryExpertDLL160.dll\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclRepositoryExpertDLL.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclSIMDViewExpert.dproj
===================================================================
--- trunk/jcl/packages/d16/JclSIMDViewExpert.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclSIMDViewExpert.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Debug Window of XMM registers;FileVersion=2.4.0.4198;InternalName=JclSIMDViewExpert;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclSIMDViewExpert160.bpl;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DesignOnlyPackage>true</DesignOnlyPackage>
<DCC_DebugInformation>false</DCC_DebugInformation>
@@ -155,7 +162,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclSIMDViewExpert160.bpl</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclSIMDViewExpert.dpk</Source>
Modified: trunk/jcl/packages/d16/JclSIMDViewExpert.rc
===================================================================
--- trunk/jcl/packages/d16/JclSIMDViewExpert.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclSIMDViewExpert.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclSIMDViewExpert160.bpl\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclSIMDViewExpert.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclSIMDViewExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d16/JclSIMDViewExpertDLL.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclSIMDViewExpertDLL.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Debug Window of XMM registers;FileVersion=2.4.0.4198;InternalName=JclSIMDViewExpertDLL;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclSIMDViewExpertDLL160.dll;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DCC_DebugInformation>false</DCC_DebugInformation>
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
@@ -154,7 +161,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclSIMDViewExpertDLL160.dll</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclSIMDViewExpertDLL.dpr</Source>
Modified: trunk/jcl/packages/d16/JclSIMDViewExpertDLL.rc
===================================================================
--- trunk/jcl/packages/d16/JclSIMDViewExpertDLL.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclSIMDViewExpertDLL.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclSIMDViewExpertDLL160.dll\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclSIMDViewExpertDLL.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclStackTraceViewerExpert.dproj
===================================================================
--- trunk/jcl/packages/d16/JclStackTraceViewerExpert.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclStackTraceViewerExpert.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Stack Trace Viewer;FileVersion=2.4.0.4198;InternalName=JclStackTraceViewerExpert;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclStackTraceViewerExpert160.bpl;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DesignOnlyPackage>true</DesignOnlyPackage>
<DCC_DebugInformation>false</DCC_DebugInformation>
@@ -164,7 +171,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclStackTraceViewerExpert160.bpl</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclStackTraceViewerExpert.dpk</Source>
Modified: trunk/jcl/packages/d16/JclStackTraceViewerExpert.rc
===================================================================
--- trunk/jcl/packages/d16/JclStackTraceViewerExpert.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclStackTraceViewerExpert.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclStackTraceViewerExpert160.bpl\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclStackTraceViewerExpert.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclStackTraceViewerExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d16/JclStackTraceViewerExpertDLL.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclStackTraceViewerExpertDLL.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Stack Trace Viewer;FileVersion=2.4.0.4198;InternalName=JclStackTraceViewerExpertDLL;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclStackTraceViewerExpertDLL160.dll;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DCC_DebugInformation>false</DCC_DebugInformation>
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
@@ -163,7 +170,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclStackTraceViewerExpertDLL160.dll</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclStackTraceViewerExpertDLL.dpr</Source>
Modified: trunk/jcl/packages/d16/JclStackTraceViewerExpertDLL.rc
===================================================================
--- trunk/jcl/packages/d16/JclStackTraceViewerExpertDLL.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclStackTraceViewerExpertDLL.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclStackTraceViewerExpertDLL160.dll\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclStackTraceViewerExpertDLL.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclVcl.dproj
===================================================================
--- trunk/jcl/packages/d16/JclVcl.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclVcl.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -60,6 +60,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JEDI Code Library VCL package;FileVersion=2.4.0.4198;InternalName=JclVcl;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclVcl160.bpl;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<RuntimeOnlyPackage>true</RuntimeOnlyPackage>
<DCC_DebugInformation>false</DCC_DebugInformation>
@@ -207,7 +214,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclVcl160.bpl</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclVcl.dpk</Source>
Modified: trunk/jcl/packages/d16/JclVcl.rc
===================================================================
--- trunk/jcl/packages/d16/JclVcl.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclVcl.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclVcl160.bpl\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclVcl.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclVersionControlExpert.dproj
===================================================================
--- trunk/jcl/packages/d16/JclVersionControlExpert.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclVersionControlExpert.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Integration of version control systems in the IDE;FileVersion=2.4.0.4198;InternalName=JclVersionControlExpert;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclVersionControlExpert160.bpl;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DesignOnlyPackage>true</DesignOnlyPackage>
<DCC_DebugInformation>false</DCC_DebugInformation>
@@ -153,7 +160,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclVersionControlExpert160.bpl</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclVersionControlExpert.dpk</Source>
Modified: trunk/jcl/packages/d16/JclVersionControlExpert.rc
===================================================================
--- trunk/jcl/packages/d16/JclVersionControlExpert.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclVersionControlExpert.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclVersionControlExpert160.bpl\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclVersionControlExpert.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/JclVersionControlExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d16/JclVersionControlExpertDLL.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclVersionControlExpertDLL.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -43,6 +43,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>2</VerInfo_MajorVer>
+ <VerInfo_Build>4198</VerInfo_Build>
+ <VerInfo_Release>0</VerInfo_Release>
+ <VerInfo_MinorVer>4</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=JCL Integration of version control systems in the IDE;FileVersion=2.4.0.4198;InternalName=JclVersionControlExpertDLL;LegalCopyright=Copyright (C) 1999, 2011 Project JEDI;OriginalFilename=JclVersionControlExpertDLL160.dll;ProductName=JEDI Code Library;ProductVersion=2.4.0.4198</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<DCC_DebugInformation>false</DCC_DebugInformation>
<DCC_SymbolReferenceInfo>0</DCC_SymbolReferenceInfo>
@@ -152,7 +159,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">JclVersionControlExpertDLL160.dll</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">2.4 Build 4198</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">2.4.0.4198</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">JclVersionControlExpertDLL.dpr</Source>
Modified: trunk/jcl/packages/d16/JclVersionControlExpertDLL.rc
===================================================================
--- trunk/jcl/packages/d16/JclVersionControlExpertDLL.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/JclVersionControlExpertDLL.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "Copyright (C) 1999, 2011 Project JEDI\0"
VALUE "OriginalFilename", "JclVersionControlExpertDLL160.dll\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "2.4 Build 4198\0"
+ VALUE "ProductVersion", "2.4.0.4198\0"
END
END
BLOCK "VarFileInfo"
Modified: trunk/jcl/packages/d16/JclVersionControlExpertDLL.res
===================================================================
(Binary files differ)
Modified: trunk/jcl/packages/d16/template.dproj
===================================================================
--- trunk/jcl/packages/d16/template.dproj 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/template.dproj 2012-04-09 18:37:35 UTC (rev 3776)
@@ -66,6 +66,13 @@
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="'$(Base)'!=''">
+ <VerInfo_MajorVer>%VERSION_MAJOR_NUMBER%</VerInfo_MajorVer>
+ <VerInfo_Build>%BUILD_NUMBER%</VerInfo_Build>
+ <VerInfo_Release>%RELEASE_NUMBER%</VerInfo_Release>
+ <VerInfo_MinorVer>%VERSION_MINOR_NUMBER%</VerInfo_MinorVer>
+ <VerInfo_Keys>CompanyName=Project JEDI;FileDescription=%DESCRIPTION%;FileVersion=%VERSION_MAJOR_NUMBER%.%VERSION_MINOR_NUMBER%.%RELEASE_NUMBER%.%BUILD_NUMBER%;InternalName=%NAME%;LegalCopyright=%COPYRIGHT%;OriginalFilename=%NAME%160%BINEXTENSION%;ProductName=JEDI Code Library;ProductVersion=%VERSION_MAJOR_NUMBER%.%VERSION_MINOR_NUMBER%.%RELEASE_NUMBER%.%BUILD_NUMBER%</VerInfo_Keys>
+ <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
+ <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_Namespace>System;System.Win;WinApi;Vcl;Vcl.Imaging;$(DCC_Namespace)</DCC_Namespace>
<%%% BEGIN RUNONLY %%%>
<RuntimeOnlyPackage>true</RuntimeOnlyPackage>
@@ -215,7 +222,7 @@
<VersionInfoKeys Name="LegalTrademarks"/>
<VersionInfoKeys Name="OriginalFilename">%NAME%160%BINEXTENSION%</VersionInfoKeys>
<VersionInfoKeys Name="ProductName">JEDI Code Library</VersionInfoKeys>
- <VersionInfoKeys Name="ProductVersion">%VERSION_MAJOR_NUMBER%.%VERSION_MINOR_NUMBER% Build %BUILD_NUMBER%</VersionInfoKeys>
+ <VersionInfoKeys Name="ProductVersion">%VERSION_MAJOR_NUMBER%.%VERSION_MINOR_NUMBER%.%RELEASE_NUMBER%.%BUILD_NUMBER%</VersionInfoKeys>
</VersionInfoKeys>
<Source>
<Source Name="MainSource">%NAME%%SOURCEEXTENSION%</Source>
Modified: trunk/jcl/packages/d16/template.rc
===================================================================
--- trunk/jcl/packages/d16/template.rc 2012-04-09 18:15:40 UTC (rev 3775)
+++ trunk/jcl/packages/d16/template.rc 2012-04-09 18:37:35 UTC (rev 3776)
@@ -22,7 +22,7 @@
VALUE "LegalCopyright", "%COPYRIGHT%\0"
VALUE "OriginalFilename", "%NAME%160%BINEXTENSION%\0"
VALUE "ProductName", "JEDI Code Library\0"
- VALUE "ProductVersion", "%VERSION_MAJOR_NUMBER%.%VERSION_MINOR_NUMBER% Build %BUILD_NUMBER%\0"
+ VALUE "ProductVersion", "%VERSION_MAJOR_NUMBER%.%VERSION_MINOR_NUMBER%.%RELEASE_NUMBER%.%BUILD_NUMBER%\0"
END
END
BLOCK "VarFileInfo"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-04-09 18:15:47
|
Revision: 3775
http://jcl.svn.sourceforge.net/jcl/?rev=3775&view=rev
Author: outchy
Date: 2012-04-09 18:15:40 +0000 (Mon, 09 Apr 2012)
Log Message:
-----------
enable MainFormOnTaskBar for the JCL installer.
Modified Paths:
--------------
trunk/jcl/install/JediInstaller.dpr
trunk/jcl/install/VclGui/JediGUIMain.dfm
trunk/jcl/install/VclGui/JediGUIMain.pas
Modified: trunk/jcl/install/JediInstaller.dpr
===================================================================
--- trunk/jcl/install/JediInstaller.dpr 2012-04-09 16:17:56 UTC (rev 3774)
+++ trunk/jcl/install/JediInstaller.dpr 2012-04-09 18:15:40 UTC (rev 3775)
@@ -11,7 +11,6 @@
{$I jcl.inc}
uses
- Forms,
JclInstall in 'JclInstall.pas',
JediInstall in 'JediInstall.pas',
JediInstallConfigIni in 'JediInstallConfigIni.pas',
@@ -32,7 +31,5 @@
{$R ..\source\windows\JclCommCtrlAsInvoker.res}
begin
- Application.Initialize;
- Application.Title := 'JEDI Installer';
InstallCore.Execute;
end.
Modified: trunk/jcl/install/VclGui/JediGUIMain.dfm
===================================================================
--- trunk/jcl/install/VclGui/JediGUIMain.dfm 2012-04-09 16:17:56 UTC (rev 3774)
+++ trunk/jcl/install/VclGui/JediGUIMain.dfm 2012-04-09 18:15:40 UTC (rev 3775)
@@ -14,7 +14,7 @@
Font.Name = 'helvetica'
Font.Pitch = fpVariable
Font.Style = []
- OldCreateOrder = True
+ OldCreateOrder = False
Position = poScreenCenter
ShowHint = True
OnCreate = FormCreate
@@ -56,7 +56,7 @@
Color = 9981440
TabOrder = 3
object JediImage: TImage
- Left = 590
+ Left = 582
Top = 8
Width = 116
Height = 31
@@ -352,8 +352,8 @@
Left = 32
Top = 416
Bitmap = {
- 494C010107000900040010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
- 0000000000003600000028000000400000002000000001001000000000000010
+ 494C0101070009000C0010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+ 0000000000003600000028000000400000002000000001002000000000000020
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
@@ -362,42 +362,6 @@
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000018631863
- 1042104210420000000000000000000000000000000000000000000018631863
- 1042104210420000000000000000000000000000000000000000000018631863
- 1042104210420000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000001863186310420000
- 0000000010421042104200000000000000000000000000001863186310420000
- 0000000010421042104200000000000000000000000000001863186310420000
- 0000000010421042104200000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000018631863000000001863
- 000018630000000010421042000000000000000000001863186300000000007C
- 0000007C0000000010421042000000000000000000001863186300000000E003
- 0000E00300000000104210420000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000018630000000000000000
- 0000000000000000000010420000000000000000000018630000000000000000
- 0000000000000000000010420000000000000000000018630000000000000000
- 0000000000000000000010420000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000186310420000000000001863
- 104210420000000000001042104200000000000018631042000000000000007C
- 004000400000000000001042104200000000000018631042000000000000E003
- 0002000200000000000010421042000000000000000000000000000000000000
- 0000000000000000000000000000000000000000186300001863000018631042
- 186310421042000018630000104200000000000018630000007C0000007C0040
- 007C004000400000007C0000104200000000000018630000E0030000E0030002
- E003000200020000E00300001042000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000018631863
- 18631863104200000000000010420000000000000000000000000000007C007C
- 007C007C004000000000000010420000000000000000000000000000E003E003
- E003E00300020000000000001042000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000001863000000001863
- 186310421863000018630000186300000000000000000000007C00000000007C
- 007C0040007C0000007C0000186300000000000000000000E00300000000E003
- E0030002E0030000E00300001863000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000010420000000000000000
- 0000186300000000000010421863000000000000000010420000000000000000
- 0000007C00000000000010421863000000000000000010420000000000000000
- 0000E00300000000000010421863000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
@@ -407,81 +371,245 @@
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000C6C6C600C6C6C600848484008484840084848400000000000000
0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000C6C6C600C6C6C600848484008484840084848400000000000000
0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000C6C6C600C6C6C600848484008484840084848400000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000000000000000000000000000000000000000000000000000C6C6
+ C600C6C6C6008484840000000000000000000000000084848400848484008484
+ 840000000000000000000000000000000000000000000000000000000000C6C6
+ C600C6C6C6008484840000000000000000000000000084848400848484008484
+ 840000000000000000000000000000000000000000000000000000000000C6C6
+ C600C6C6C6008484840000000000000000000000000084848400848484008484
+ 8400000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000C6C6C600C6C6
+ C6000000000000000000C6C6C60000000000C6C6C60000000000000000008484
+ 8400848484000000000000000000000000000000000000000000C6C6C600C6C6
+ C60000000000000000000000FF00000000000000FF0000000000000000008484
+ 8400848484000000000000000000000000000000000000000000C6C6C600C6C6
+ C600000000000000000000FF00000000000000FF000000000000000000008484
+ 8400848484000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000C6C6C6000000
0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000C6C6C6000000
0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000C6C6C6000000
0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000000000000C6C6C600848484000000
+ 00000000000000000000C6C6C600848484008484840000000000000000000000
+ 00008484840084848400000000000000000000000000C6C6C600848484000000
+ 000000000000000000000000FF00000084000000840000000000000000000000
+ 00008484840084848400000000000000000000000000C6C6C600848484000000
+ 0000000000000000000000FF0000008400000084000000000000000000000000
+ 0000848484008484840000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000000000000C6C6C60000000000C6C6
+ C60000000000C6C6C60084848400C6C6C600848484008484840000000000C6C6
+ C6000000000084848400000000000000000000000000C6C6C600000000000000
+ FF00000000000000FF00000084000000FF000000840000008400000000000000
+ FF000000000084848400000000000000000000000000C6C6C6000000000000FF
+ 00000000000000FF00000084000000FF000000840000008400000000000000FF
+ 0000000000008484840000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000C6C6C600C6C6C600C6C6C600C6C6C60084848400000000000000
+ 0000000000008484840000000000000000000000000000000000000000000000
+ 0000000000000000FF000000FF000000FF000000FF0000008400000000000000
+ 0000000000008484840000000000000000000000000000000000000000000000
+ 00000000000000FF000000FF000000FF000000FF000000840000000000000000
+ 0000000000008484840000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000000000000000000000000000000000000000000000000000C6C6
+ C6000000000000000000C6C6C600C6C6C60084848400C6C6C60000000000C6C6
+ C60000000000C6C6C60000000000000000000000000000000000000000000000
+ FF0000000000000000000000FF000000FF00000084000000FF00000000000000
+ FF0000000000C6C6C600000000000000000000000000000000000000000000FF
+ 0000000000000000000000FF000000FF00000084000000FF00000000000000FF
+ 000000000000C6C6C60000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000848484000000
+ 000000000000000000000000000000000000C6C6C60000000000000000000000
+ 000084848400C6C6C60000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000FF0000000000000000000000
+ 000084848400C6C6C60000000000000000000000000000000000848484000000
+ 00000000000000000000000000000000000000FF000000000000000000000000
+ 000084848400C6C6C60000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000001042
- 1042104210420000000000000000000000000000000000000000000000001042
- 1042104210420000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000104210420000
- 0000000000001042104200000000000000000000000000000000104210420000
- 0000000000001042104200000000000000000000000010421042104210421042
- 1042104210421042104210420000000000000000000010421042104210421042
- 1042104210421042104210420000000000000000000000001042000000000000
- 0000000000000000000010420000000000000000000000001042000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000000001042000000000000000010420000000000000000
- 0000000000000000000000001042000000000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000000001042000000000000000010420000000000000000
- 0000000000000000000000001042000000000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000010420000000000000000104200000000000000000000
- 0000000000000000000000000000104200000000104200000000000000000000
- 0000000000000000000000000000104200000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000010420000000000000000104200000000000000000000
- 0000000000000000000000000000104200000000104200000000000000000000
- 0000000000000000000000000000104200000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000010420000000000000000104200000000000000000000
- 0000000000000000000000000000104200000000104200000000000000000000
- 0000000000000000000000000000104200000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000010420000000000000000104200000000000000000000
- 0000000000000000000000000000104200000000104200000000000000000000
- 0000000000000000000000000000104200000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000000001042000000000000000010420000000000000000
- 0000000000000000000000001042000000000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000000001042000000000000000010420000000000000000
- 0000000000000000000000001042000000000000000010420000000000000000
- 0000000000000000000010420000000000000000000010420000000000000000
- 0000000000000000000010420000000000000000000000001042000000000000
- 0000000000000000000010420000000000000000000000001042000000000000
- 0000000000000000000010420000000000000000000010421042104210421042
- 1042104210421042104210420000000000000000000010421042104210421042
- 1042104210421042104210420000000000000000000000000000104210420000
- 0000000000001042104200000000000000000000000000000000104210420000
- 0000000000001042104200000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
- 0000000000000000000000000000000000000000000000000000000000001042
- 1042104210420000000000000000000000000000000000000000000000001042
- 1042104210420000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000084848400848484008484840084848400000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000084848400848484008484840084848400000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484008484840000000000000000000000000000000000848484008484
+ 8400000000000000000000000000000000000000000000000000000000000000
+ 0000848484008484840000000000000000000000000000000000848484008484
+ 8400000000000000000000000000000000000000000000000000848484008484
+ 8400848484008484840084848400848484008484840084848400848484008484
+ 8400848484000000000000000000000000000000000000000000848484008484
+ 8400848484008484840084848400848484008484840084848400848484008484
+ 8400848484000000000000000000000000000000000000000000000000008484
+ 8400000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000000000008484
+ 8400000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000008484840000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000008484840000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000008484840000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000008484840000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000084848400000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000084848400000000000000000084848400000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000084848400000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000084848400000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000084848400000000000000000084848400000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000084848400000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000084848400000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000084848400000000000000000084848400000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000084848400000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000084848400000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000084848400000000000000000084848400000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000084848400000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000008484840000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000008484840000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000008484840000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000008484840000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000000000008484
+ 8400000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000000000008484
+ 8400000000000000000000000000000000000000000000000000000000000000
+ 0000848484000000000000000000000000000000000000000000848484008484
+ 8400848484008484840084848400848484008484840084848400848484008484
+ 8400848484000000000000000000000000000000000000000000848484008484
+ 8400848484008484840084848400848484008484840084848400848484008484
+ 8400848484000000000000000000000000000000000000000000000000000000
+ 0000848484008484840000000000000000000000000000000000848484008484
+ 8400000000000000000000000000000000000000000000000000000000000000
+ 0000848484008484840000000000000000000000000000000000848484008484
+ 8400000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000084848400848484008484840084848400000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000084848400848484008484840084848400000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
000000000000000000000000000000000000424D3E000000000000003E000000
2800000040000000200000000100010000000000000100000000000000000000
000000000000000000000000FFFFFF00FFFFFFFFFFFF0000F83FF83FF83F0000
Modified: trunk/jcl/install/VclGui/JediGUIMain.pas
===================================================================
--- trunk/jcl/install/VclGui/JediGUIMain.pas 2012-04-09 16:17:56 UTC (rev 3774)
+++ trunk/jcl/install/VclGui/JediGUIMain.pas 2012-04-09 18:15:40 UTC (rev 3775)
@@ -134,6 +134,11 @@
var
MainForm: TMainForm;
begin
+ {$IFDEF RTL185_UP}
+ Application.MainFormOnTaskbar := True;
+ {$ENDIF RTL185_UP}
+ Application.Initialize;
+ Application.Title := 'JEDI Installer';
Application.CreateForm(TMainForm, MainForm);
Result := MainForm;
end;
@@ -144,6 +149,7 @@
begin
inherited Create(AOwner);
FPages := TJclIntfArrayList.Create(5);
+ Application.OnException := HandleException;
end;
destructor TMainForm.Destroy;
@@ -152,31 +158,18 @@
inherited Destroy;
end;
-procedure TMainForm.HandleException(Sender: TObject; E: Exception);
+procedure TMainForm.FormCreate(Sender: TObject);
begin
- if E is EJediInstallInitFailure then
- begin
- Dialog(E.Message, dtError);
- Application.ShowMainForm := False;
- Application.Terminate;
- end
- else
- Application.ShowException(E);
-end;
+ SetStatus('');
-procedure TMainForm.FormCreate(Sender: TObject);
-begin
Caption := LoadResString(@RsGUIJEDIInstaller);
Title.Caption := LoadResString(@RsGUIProjectJEDIInstaller);
InstallBtn.Caption := LoadResString(@RsGUIInstall);
UninstallBtn.Caption := LoadResString(@RsGUIUninstall);
QuitBtn.Caption := LoadResString(@RsGUIQuit);
- Application.OnException := HandleException;
JediImage.Hint := DelphiJediURL;
- SetStatus('');
-
TitlePanel.DoubleBuffered := True;
{$IFDEF COMPILER7_UP}
TitlePanel.ParentBackground := False;
@@ -298,6 +291,18 @@
ShellExecEx(DelphiJediURL);
end;
+procedure TMainForm.HandleException(Sender: TObject; E: Exception);
+begin
+ if E is EJediInstallInitFailure then
+ begin
+ Dialog(E.Message, dtError);
+ Application.ShowMainForm := False;
+ Application.Terminate;
+ end
+ else
+ Application.ShowException(E);
+end;
+
function TMainForm.Dialog(const Text: string; DialogType: TDialogType = dtInformation;
Options: TDialogResponses = [drOK]): TDialogResponse;
const
@@ -529,6 +534,6 @@
initialization
-InstallCore.InstallGUICreator := CreateMainForm;
+ InstallCore.InstallGUICreator := CreateMainForm;
end.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-04-09 16:18:07
|
Revision: 3774
http://jcl.svn.sourceforge.net/jcl/?rev=3774&view=rev
Author: outchy
Date: 2012-04-09 16:17:56 +0000 (Mon, 09 Apr 2012)
Log Message:
-----------
new image base addresses to avoid relocations.
Modified Paths:
--------------
trunk/jcl/packages/c6/JclDeveloperTools.bpk
trunk/jcl/packages/c6/JclDeveloperTools.dpk
trunk/jcl/packages/c6/JclRepositoryExpert.bpk
trunk/jcl/packages/c6/JclRepositoryExpert.dpk
trunk/jcl/packages/c6/JclRepositoryExpertDLL.bpr
trunk/jcl/packages/c6/JclStackTraceViewerExpert.bpk
trunk/jcl/packages/c6/JclStackTraceViewerExpert.dpk
trunk/jcl/packages/c6/JclStackTraceViewerExpertDLL.bpr
trunk/jcl/packages/c6/JclVersionControlExpert.bpk
trunk/jcl/packages/c6/JclVersionControlExpert.dpk
trunk/jcl/packages/c6/JclVersionControlExpertDLL.bpr
trunk/jcl/packages/cs1/JclDeveloperTools.bdsproj
trunk/jcl/packages/cs1/JclDeveloperTools.dpk
trunk/jcl/packages/cs1/JclVersionControlExpertDLL.bdsproj
trunk/jcl/packages/cs1/JclVersionControlExpertDLL.dpr
trunk/jcl/packages/d10/JclDeveloperTools.bdsproj
trunk/jcl/packages/d10/JclDeveloperTools.dpk
trunk/jcl/packages/d10/JclRepositoryExpert.bdsproj
trunk/jcl/packages/d10/JclRepositoryExpert.dpk
trunk/jcl/packages/d10/JclRepositoryExpertDLL.bdsproj
trunk/jcl/packages/d10/JclRepositoryExpertDLL.dpr
trunk/jcl/packages/d10/JclStackTraceViewerExpert.bdsproj
trunk/jcl/packages/d10/JclStackTraceViewerExpert.dpk
trunk/jcl/packages/d10/JclStackTraceViewerExpertDLL.bdsproj
trunk/jcl/packages/d10/JclStackTraceViewerExpertDLL.dpr
trunk/jcl/packages/d10/JclVersionControlExpert.bdsproj
trunk/jcl/packages/d10/JclVersionControlExpert.dpk
trunk/jcl/packages/d10/JclVersionControlExpertDLL.bdsproj
trunk/jcl/packages/d10/JclVersionControlExpertDLL.dpr
trunk/jcl/packages/d11/JclDeveloperTools.dpk
trunk/jcl/packages/d11/JclRepositoryExpert.dpk
trunk/jcl/packages/d11/JclRepositoryExpertDLL.dpr
trunk/jcl/packages/d11/JclStackTraceViewerExpert.dpk
trunk/jcl/packages/d11/JclStackTraceViewerExpertDLL.dpr
trunk/jcl/packages/d11/JclVersionControlExpert.dpk
trunk/jcl/packages/d11/JclVersionControlExpertDLL.dpr
trunk/jcl/packages/d12/JclDeveloperTools.dpk
trunk/jcl/packages/d12/JclDeveloperTools.dproj
trunk/jcl/packages/d12/JclRepositoryExpert.dpk
trunk/jcl/packages/d12/JclRepositoryExpert.dproj
trunk/jcl/packages/d12/JclRepositoryExpertDLL.dpr
trunk/jcl/packages/d12/JclRepositoryExpertDLL.dproj
trunk/jcl/packages/d12/JclStackTraceViewerExpert.dpk
trunk/jcl/packages/d12/JclStackTraceViewerExpert.dproj
trunk/jcl/packages/d12/JclStackTraceViewerExpertDLL.dpr
trunk/jcl/packages/d12/JclStackTraceViewerExpertDLL.dproj
trunk/jcl/packages/d12/JclVersionControlExpert.dpk
trunk/jcl/packages/d12/JclVersionControlExpert.dproj
trunk/jcl/packages/d12/JclVersionControlExpertDLL.dpr
trunk/jcl/packages/d12/JclVersionControlExpertDLL.dproj
trunk/jcl/packages/d14/JclDeveloperTools.dpk
trunk/jcl/packages/d14/JclDeveloperTools.dproj
trunk/jcl/packages/d14/JclRepositoryExpert.dpk
trunk/jcl/packages/d14/JclRepositoryExpert.dproj
trunk/jcl/packages/d14/JclRepositoryExpertDLL.dpr
trunk/jcl/packages/d14/JclRepositoryExpertDLL.dproj
trunk/jcl/packages/d14/JclStackTraceViewerExpert.dpk
trunk/jcl/packages/d14/JclStackTraceViewerExpert.dproj
trunk/jcl/packages/d14/JclStackTraceViewerExpertDLL.dpr
trunk/jcl/packages/d14/JclStackTraceViewerExpertDLL.dproj
trunk/jcl/packages/d14/JclVersionControlExpert.dpk
trunk/jcl/packages/d14/JclVersionControlExpert.dproj
trunk/jcl/packages/d14/JclVersionControlExpertDLL.dpr
trunk/jcl/packages/d14/JclVersionControlExpertDLL.dproj
trunk/jcl/packages/d15/JclDeveloperTools.dpk
trunk/jcl/packages/d15/JclDeveloperTools.dproj
trunk/jcl/packages/d15/JclRepositoryExpert.dpk
trunk/jcl/packages/d15/JclRepositoryExpert.dproj
trunk/jcl/packages/d15/JclRepositoryExpertDLL.dpr
trunk/jcl/packages/d15/JclRepositoryExpertDLL.dproj
trunk/jcl/packages/d15/JclStackTraceViewerExpert.dpk
trunk/jcl/packages/d15/JclStackTraceViewerExpert.dproj
trunk/jcl/packages/d15/JclStackTraceViewerExpertDLL.dpr
trunk/jcl/packages/d15/JclStackTraceViewerExpertDLL.dproj
trunk/jcl/packages/d15/JclVersionControlExpert.dpk
trunk/jcl/packages/d15/JclVersionControlExpert.dproj
trunk/jcl/packages/d15/JclVersionControlExpertDLL.dpr
trunk/jcl/packages/d15/JclVersionControlExpertDLL.dproj
trunk/jcl/packages/d16/JclDeveloperTools.dpk
trunk/jcl/packages/d16/JclDeveloperTools.dproj
trunk/jcl/packages/d16/JclRepositoryExpert.dpk
trunk/jcl/packages/d16/JclRepositoryExpert.dproj
trunk/jcl/packages/d16/JclRepositoryExpertDLL.dpr
trunk/jcl/packages/d16/JclRepositoryExpertDLL.dproj
trunk/jcl/packages/d16/JclStackTraceViewerExpert.dpk
trunk/jcl/packages/d16/JclStackTraceViewerExpert.dproj
trunk/jcl/packages/d16/JclStackTraceViewerExpertDLL.dpr
trunk/jcl/packages/d16/JclStackTraceViewerExpertDLL.dproj
trunk/jcl/packages/d16/JclVersionControlExpert.dpk
trunk/jcl/packages/d16/JclVersionControlExpert.dproj
trunk/jcl/packages/d16/JclVersionControlExpertDLL.dpr
trunk/jcl/packages/d16/JclVersionControlExpertDLL.dproj
trunk/jcl/packages/d6/JclDeveloperTools.dpk
trunk/jcl/packages/d6/JclRepositoryExpert.dpk
trunk/jcl/packages/d6/JclRepositoryExpertDLL.dpr
trunk/jcl/packages/d6/JclStackTraceViewerExpert.dpk
trunk/jcl/packages/d6/JclStackTraceViewerExpertDLL.dpr
trunk/jcl/packages/d6/JclVersionControlExpert.dpk
trunk/jcl/packages/d6/JclVersionControlExpertDLL.dpr
trunk/jcl/packages/d7/JclDeveloperTools.dpk
trunk/jcl/packages/d7/JclRepositoryExpert.dpk
trunk/jcl/packages/d7/JclRepositoryExpertDLL.dpr
trunk/jcl/packages/d7/JclStackTraceViewerExpert.dpk
trunk/jcl/packages/d7/JclStackTraceViewerExpertDLL.dpr
trunk/jcl/packages/d7/JclVersionControlExpert.dpk
trunk/jcl/packages/d7/JclVersionControlExpertDLL.dpr
trunk/jcl/packages/d8/JclDeveloperTools.bdsproj
trunk/jcl/packages/d8/JclDeveloperTools.dpk
trunk/jcl/packages/d8/JclVersionControlExpertDLL.bdsproj
trunk/jcl/packages/d8/JclVersionControlExpertDLL.dpr
trunk/jcl/packages/d9/JclDeveloperTools.bdsproj
trunk/jcl/packages/d9/JclDeveloperTools.dpk
trunk/jcl/packages/d9/JclRepositoryExpert.bdsproj
trunk/jcl/packages/d9/JclRepositoryExpert.dpk
trunk/jcl/packages/d9/JclRepositoryExpertDLL.bdsproj
trunk/jcl/packages/d9/JclRepositoryExpertDLL.dpr
trunk/jcl/packages/d9/JclStackTraceViewerExpert.bdsproj
trunk/jcl/packages/d9/JclStackTraceViewerExpert.dpk
trunk/jcl/packages/d9/JclStackTraceViewerExpertDLL.bdsproj
trunk/jcl/packages/d9/JclStackTraceViewerExpertDLL.dpr
trunk/jcl/packages/d9/JclVersionControlExpert.bdsproj
trunk/jcl/packages/d9/JclVersionControlExpert.dpk
trunk/jcl/packages/d9/JclVersionControlExpertDLL.bdsproj
trunk/jcl/packages/d9/JclVersionControlExpertDLL.dpr
trunk/jcl/packages/xml/JclDeveloperTools-R.xml
trunk/jcl/packages/xml/JclRepositoryExpert-D.xml
trunk/jcl/packages/xml/JclRepositoryExpertDLL-L.xml
trunk/jcl/packages/xml/JclStackTraceViewerExpert-D.xml
trunk/jcl/packages/xml/JclStackTraceViewerExpertDLL-L.xml
trunk/jcl/packages/xml/JclVersionControlExpert-D.xml
trunk/jcl/packages/xml/JclVersionControlExpertDLL-L.xml
Modified: trunk/jcl/packages/c6/JclDeveloperTools.bpk
===================================================================
--- trunk/jcl/packages/c6/JclDeveloperTools.bpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/c6/JclDeveloperTools.bpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -5,7 +5,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclDeveloperTools-R.xml)
- Last generated: 23-02-2012 21:07:35 UTC
+ Last generated: 09-04-2012 16:01:27 UTC
*****************************************************************************
-->
<PROJECT>
@@ -83,7 +83,7 @@
<RFLAGS value=""/>
<AFLAGS value="/mx /w2 /zd"/>
<LFLAGS value="-I..\..\lib\c6 -GB"JclDeveloperTools" -D"JEDI Code Library Developer Tools package for C++Builder 6"
- -b:0x48380000 -aa -Tpp -Gpr -x -Gn -Gl -Gi -v"/>
+ -b:0x48800000 -aa -Tpp -Gpr -x -Gn -Gl -Gi -v"/>
<OTHERFILES value=""/>
</OPTIONS>
<LINKER>
Modified: trunk/jcl/packages/c6/JclDeveloperTools.dpk
===================================================================
--- trunk/jcl/packages/c6/JclDeveloperTools.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/c6/JclDeveloperTools.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclDeveloperTools-R.xml)
- Last generated: 23-02-2012 21:07:35 UTC
+ Last generated: 09-04-2012 16:01:28 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
-{$IMAGEBASE $48380000}
+{$IMAGEBASE $48800000}
{$DESCRIPTION 'JEDI Code Library Developer Tools package'}
{$LIBSUFFIX 'C60'}
{$RUNONLY}
Modified: trunk/jcl/packages/c6/JclRepositoryExpert.bpk
===================================================================
--- trunk/jcl/packages/c6/JclRepositoryExpert.bpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/c6/JclRepositoryExpert.bpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -5,7 +5,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclRepositoryExpert-D.xml)
- Last generated: 08-08-2010 09:58:46 UTC
+ Last generated: 09-04-2012 16:01:27 UTC
*****************************************************************************
-->
<PROJECT>
@@ -76,7 +76,7 @@
<RFLAGS value=""/>
<AFLAGS value="/mx /w2 /zd"/>
<LFLAGS value="-I..\..\lib\c6 -GB"JclRepositoryExpert" -D"JCL Package containing repository wizards for C++Builder 6"
- -b:0x58100000 -aa -Tpp -Gpd -x -Gn -Gl -Gi -v"/>
+ -b:0x58180000 -aa -Tpp -Gpd -x -Gn -Gl -Gi -v"/>
<OTHERFILES value=""/>
</OPTIONS>
<LINKER>
Modified: trunk/jcl/packages/c6/JclRepositoryExpert.dpk
===================================================================
--- trunk/jcl/packages/c6/JclRepositoryExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/c6/JclRepositoryExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclRepositoryExpert-D.xml)
- Last generated: 08-08-2010 09:58:46 UTC
+ Last generated: 09-04-2012 16:01:28 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58100000}
+{$IMAGEBASE $58180000}
{$DESCRIPTION 'JCL Package containing repository wizards'}
{$LIBSUFFIX 'C60'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/c6/JclRepositoryExpertDLL.bpr
===================================================================
--- trunk/jcl/packages/c6/JclRepositoryExpertDLL.bpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/c6/JclRepositoryExpertDLL.bpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -5,7 +5,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclRepositoryExpertDLL-L.xml)
- Last generated: 08-08-2010 09:58:46 UTC
+ Last generated: 09-04-2012 16:01:28 UTC
*****************************************************************************
-->
<PROJECT>
@@ -76,7 +76,7 @@
<RFLAGS value=""/>
<AFLAGS value="/mx /w2 /zd"/>
<LFLAGS value="-I..\..\lib\c6 -GB"JclRepositoryExpertDLL" -D"JCL Package containing repository wizards for C++ Builder 6"
- -b:0x58100000 -aa -Tpd -x -Gn -Gi -v"/>
+ -b:0x58180000 -aa -Tpd -x -Gn -Gi -v"/>
<OTHERFILES value=""/>
</OPTIONS>
<LINKER>
Modified: trunk/jcl/packages/c6/JclStackTraceViewerExpert.bpk
===================================================================
--- trunk/jcl/packages/c6/JclStackTraceViewerExpert.bpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/c6/JclStackTraceViewerExpert.bpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -5,7 +5,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclStackTraceViewerExpert-D.xml)
- Last generated: 07-05-2010 18:24:22 UTC
+ Last generated: 09-04-2012 16:07:25 UTC
*****************************************************************************
-->
<PROJECT>
@@ -76,7 +76,7 @@
<RFLAGS value=""/>
<AFLAGS value="/mx /w2 /zd"/>
<LFLAGS value="-I..\..\lib\c6 -GB"JclStackTraceViewerExpert" -D"JCL Stack Trace Viewer for C++Builder 6"
- -b:0x58120000 -aa -Tpp -Gpd -x -Gn -Gl -Gi -v"/>
+ -b:0x58250000 -aa -Tpp -Gpd -x -Gn -Gl -Gi -v"/>
<OTHERFILES value=""/>
</OPTIONS>
<LINKER>
Modified: trunk/jcl/packages/c6/JclStackTraceViewerExpert.dpk
===================================================================
--- trunk/jcl/packages/c6/JclStackTraceViewerExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/c6/JclStackTraceViewerExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclStackTraceViewerExpert-D.xml)
- Last generated: 07-05-2010 18:24:23 UTC
+ Last generated: 09-04-2012 16:07:26 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58120000}
+{$IMAGEBASE $58250000}
{$DESCRIPTION 'JCL Stack Trace Viewer'}
{$LIBSUFFIX 'C60'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/c6/JclStackTraceViewerExpertDLL.bpr
===================================================================
--- trunk/jcl/packages/c6/JclStackTraceViewerExpertDLL.bpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/c6/JclStackTraceViewerExpertDLL.bpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -5,7 +5,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclStackTraceViewerExpertDLL-L.xml)
- Last generated: 07-05-2010 18:24:22 UTC
+ Last generated: 09-04-2012 16:07:25 UTC
*****************************************************************************
-->
<PROJECT>
@@ -76,7 +76,7 @@
<RFLAGS value=""/>
<AFLAGS value="/mx /w2 /zd"/>
<LFLAGS value="-I..\..\lib\c6 -GB"JclStackTraceViewerExpertDLL" -D"JCL Stack Trace Viewer for C++ Builder 6"
- -b:0x58120000 -aa -Tpd -x -Gn -Gi -v"/>
+ -b:0x58250000 -aa -Tpd -x -Gn -Gi -v"/>
<OTHERFILES value=""/>
</OPTIONS>
<LINKER>
Modified: trunk/jcl/packages/c6/JclVersionControlExpert.bpk
===================================================================
--- trunk/jcl/packages/c6/JclVersionControlExpert.bpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/c6/JclVersionControlExpert.bpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -5,7 +5,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclVersionControlExpert-D.xml)
- Last generated: 27-03-2011 21:15:05 UTC
+ Last generated: 09-04-2012 15:46:42 UTC
*****************************************************************************
-->
<PROJECT>
@@ -59,7 +59,7 @@
<RFLAGS value=""/>
<AFLAGS value="/mx /w2 /zd"/>
<LFLAGS value="-I..\..\lib\c6 -GB"JclVersionControlExpert" -D"JCL Integration of version control systems in the IDE for C++Builder 6"
- -b:0x58170000 -aa -Tpp -Gpd -x -Gn -Gl -Gi -v"/>
+ -b:0x58200000 -aa -Tpp -Gpd -x -Gn -Gl -Gi -v"/>
<OTHERFILES value=""/>
</OPTIONS>
<LINKER>
Modified: trunk/jcl/packages/c6/JclVersionControlExpert.dpk
===================================================================
--- trunk/jcl/packages/c6/JclVersionControlExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/c6/JclVersionControlExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclVersionControlExpert-D.xml)
- Last generated: 27-03-2011 21:15:07 UTC
+ Last generated: 09-04-2012 15:46:42 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58170000}
+{$IMAGEBASE $58200000}
{$DESCRIPTION 'JCL Integration of version control systems in the IDE'}
{$LIBSUFFIX 'C60'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/c6/JclVersionControlExpertDLL.bpr
===================================================================
--- trunk/jcl/packages/c6/JclVersionControlExpertDLL.bpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/c6/JclVersionControlExpertDLL.bpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -5,7 +5,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclVersionControlExpertDLL-L.xml)
- Last generated: 27-03-2011 21:15:05 UTC
+ Last generated: 09-04-2012 15:46:42 UTC
*****************************************************************************
-->
<PROJECT>
@@ -59,7 +59,7 @@
<RFLAGS value=""/>
<AFLAGS value="/mx /w2 /zd"/>
<LFLAGS value="-I..\..\lib\c6 -GB"JclVersionControlExpertDLL" -D"JCL Integration of version control systems in the IDE for C++ Builder 6"
- -b:0x58170000 -aa -Tpd -x -Gn -Gi -v"/>
+ -b:0x58200000 -aa -Tpd -x -Gn -Gi -v"/>
<OTHERFILES value=""/>
</OPTIONS>
<LINKER>
Modified: trunk/jcl/packages/cs1/JclDeveloperTools.bdsproj
===================================================================
--- trunk/jcl/packages/cs1/JclDeveloperTools.bdsproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/cs1/JclDeveloperTools.bdsproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -113,7 +113,7 @@
<Linker Name="GenerateDRC">False</Linker>
<Linker Name="MinStackSize">16384</Linker>
<Linker Name="MaxStackSize">1048576</Linker>
- <Linker Name="ImageBase">$48380000</Linker>
+ <Linker Name="ImageBase">$48800000</Linker>
<Linker Name="ExeDescription">JEDI Code Library Developer Tools package</Linker>
</Linker>
<Directories>
Modified: trunk/jcl/packages/cs1/JclDeveloperTools.dpk
===================================================================
--- trunk/jcl/packages/cs1/JclDeveloperTools.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/cs1/JclDeveloperTools.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclDeveloperTools-R.xml)
- Last generated: 04-03-2012 21:02:28 UTC
+ Last generated: 09-04-2012 16:01:28 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
-{$IMAGEBASE $48380000}
+{$IMAGEBASE $48800000}
{$DESCRIPTION 'JEDI Code Library Developer Tools package'}
{$LIBSUFFIX '71'}
{$RUNONLY}
Modified: trunk/jcl/packages/cs1/JclVersionControlExpertDLL.bdsproj
===================================================================
--- trunk/jcl/packages/cs1/JclVersionControlExpertDLL.bdsproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/cs1/JclVersionControlExpertDLL.bdsproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -113,7 +113,7 @@
<Linker Name="GenerateDRC">False</Linker>
<Linker Name="MinStackSize">16384</Linker>
<Linker Name="MaxStackSize">1048576</Linker>
- <Linker Name="ImageBase">$58170000</Linker>
+ <Linker Name="ImageBase">$58200000</Linker>
<Linker Name="ExeDescription">JCL Integration of version control systems in the IDE</Linker>
</Linker>
<Directories>
Modified: trunk/jcl/packages/cs1/JclVersionControlExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/cs1/JclVersionControlExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/cs1/JclVersionControlExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclVersionControlExpertDLL-L.xml)
- Last generated: 27-03-2011 21:15:13 UTC
+ Last generated: 09-04-2012 15:46:43 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58170000}
+{$IMAGEBASE $58200000}
{$DESCRIPTION 'JCL Integration of version control systems in the IDE'}
{$LIBSUFFIX '71'}
Modified: trunk/jcl/packages/d10/JclDeveloperTools.bdsproj
===================================================================
--- trunk/jcl/packages/d10/JclDeveloperTools.bdsproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclDeveloperTools.bdsproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -114,7 +114,7 @@
<Linker Name="GenerateDRC">False</Linker>
<Linker Name="MinStackSize">16384</Linker>
<Linker Name="MaxStackSize">1048576</Linker>
- <Linker Name="ImageBase">$48380000</Linker>
+ <Linker Name="ImageBase">$48800000</Linker>
<Linker Name="ExeDescription">JEDI Code Library Developer Tools package</Linker>
<Linker Name="GenerateHpps">True</Linker>
</Linker>
Modified: trunk/jcl/packages/d10/JclDeveloperTools.dpk
===================================================================
--- trunk/jcl/packages/d10/JclDeveloperTools.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclDeveloperTools.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclDeveloperTools-R.xml)
- Last generated: 23-02-2012 21:07:36 UTC
+ Last generated: 09-04-2012 16:01:30 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $48380000}
+{$IMAGEBASE $48800000}
{$DESCRIPTION 'JEDI Code Library Developer Tools package'}
{$LIBSUFFIX '100'}
{$RUNONLY}
Modified: trunk/jcl/packages/d10/JclRepositoryExpert.bdsproj
===================================================================
--- trunk/jcl/packages/d10/JclRepositoryExpert.bdsproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclRepositoryExpert.bdsproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -114,7 +114,7 @@
<Linker Name="GenerateDRC">False</Linker>
<Linker Name="MinStackSize">16384</Linker>
<Linker Name="MaxStackSize">1048576</Linker>
- <Linker Name="ImageBase">$58100000</Linker>
+ <Linker Name="ImageBase">$58180000</Linker>
<Linker Name="ExeDescription">JCL Package containing repository wizards</Linker>
<Linker Name="GenerateHpps">True</Linker>
</Linker>
Modified: trunk/jcl/packages/d10/JclRepositoryExpert.dpk
===================================================================
--- trunk/jcl/packages/d10/JclRepositoryExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclRepositoryExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclRepositoryExpert-D.xml)
- Last generated: 08-08-2010 09:58:49 UTC
+ Last generated: 09-04-2012 16:01:30 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58100000}
+{$IMAGEBASE $58180000}
{$DESCRIPTION 'JCL Package containing repository wizards'}
{$LIBSUFFIX '100'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/d10/JclRepositoryExpertDLL.bdsproj
===================================================================
--- trunk/jcl/packages/d10/JclRepositoryExpertDLL.bdsproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclRepositoryExpertDLL.bdsproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -114,7 +114,7 @@
<Linker Name="GenerateDRC">False</Linker>
<Linker Name="MinStackSize">16384</Linker>
<Linker Name="MaxStackSize">1048576</Linker>
- <Linker Name="ImageBase">$58100000</Linker>
+ <Linker Name="ImageBase">$58180000</Linker>
<Linker Name="ExeDescription">JCL Package containing repository wizards</Linker>
<Linker Name="GenerateHpps">False</Linker>
</Linker>
Modified: trunk/jcl/packages/d10/JclRepositoryExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/d10/JclRepositoryExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclRepositoryExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclRepositoryExpertDLL-L.xml)
- Last generated: 08-08-2010 09:58:49 UTC
+ Last generated: 09-04-2012 16:01:30 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58100000}
+{$IMAGEBASE $58180000}
{$DESCRIPTION 'JCL Package containing repository wizards'}
{$LIBSUFFIX '100'}
{$IMPLICITBUILD OFF}
Modified: trunk/jcl/packages/d10/JclStackTraceViewerExpert.bdsproj
===================================================================
--- trunk/jcl/packages/d10/JclStackTraceViewerExpert.bdsproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclStackTraceViewerExpert.bdsproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -114,7 +114,7 @@
<Linker Name="GenerateDRC">False</Linker>
<Linker Name="MinStackSize">16384</Linker>
<Linker Name="MaxStackSize">1048576</Linker>
- <Linker Name="ImageBase">$58120000</Linker>
+ <Linker Name="ImageBase">$58250000</Linker>
<Linker Name="ExeDescription">JCL Stack Trace Viewer</Linker>
<Linker Name="GenerateHpps">True</Linker>
</Linker>
Modified: trunk/jcl/packages/d10/JclStackTraceViewerExpert.dpk
===================================================================
--- trunk/jcl/packages/d10/JclStackTraceViewerExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclStackTraceViewerExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclStackTraceViewerExpert-D.xml)
- Last generated: 07-05-2010 18:24:27 UTC
+ Last generated: 09-04-2012 16:07:27 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58120000}
+{$IMAGEBASE $58250000}
{$DESCRIPTION 'JCL Stack Trace Viewer'}
{$LIBSUFFIX '100'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/d10/JclStackTraceViewerExpertDLL.bdsproj
===================================================================
--- trunk/jcl/packages/d10/JclStackTraceViewerExpertDLL.bdsproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclStackTraceViewerExpertDLL.bdsproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -114,7 +114,7 @@
<Linker Name="GenerateDRC">False</Linker>
<Linker Name="MinStackSize">16384</Linker>
<Linker Name="MaxStackSize">1048576</Linker>
- <Linker Name="ImageBase">$58120000</Linker>
+ <Linker Name="ImageBase">$58250000</Linker>
<Linker Name="ExeDescription">JCL Stack Trace Viewer</Linker>
<Linker Name="GenerateHpps">False</Linker>
</Linker>
Modified: trunk/jcl/packages/d10/JclStackTraceViewerExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/d10/JclStackTraceViewerExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclStackTraceViewerExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclStackTraceViewerExpertDLL-L.xml)
- Last generated: 07-05-2010 18:24:27 UTC
+ Last generated: 09-04-2012 16:07:27 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58120000}
+{$IMAGEBASE $58250000}
{$DESCRIPTION 'JCL Stack Trace Viewer'}
{$LIBSUFFIX '100'}
{$IMPLICITBUILD OFF}
Modified: trunk/jcl/packages/d10/JclVersionControlExpert.bdsproj
===================================================================
--- trunk/jcl/packages/d10/JclVersionControlExpert.bdsproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclVersionControlExpert.bdsproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -114,7 +114,7 @@
<Linker Name="GenerateDRC">False</Linker>
<Linker Name="MinStackSize">16384</Linker>
<Linker Name="MaxStackSize">1048576</Linker>
- <Linker Name="ImageBase">$58170000</Linker>
+ <Linker Name="ImageBase">$58200000</Linker>
<Linker Name="ExeDescription">JCL Integration of version control systems in the IDE</Linker>
<Linker Name="GenerateHpps">True</Linker>
</Linker>
Modified: trunk/jcl/packages/d10/JclVersionControlExpert.dpk
===================================================================
--- trunk/jcl/packages/d10/JclVersionControlExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclVersionControlExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclVersionControlExpert-D.xml)
- Last generated: 27-03-2011 21:15:18 UTC
+ Last generated: 09-04-2012 15:46:44 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58170000}
+{$IMAGEBASE $58200000}
{$DESCRIPTION 'JCL Integration of version control systems in the IDE'}
{$LIBSUFFIX '100'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/d10/JclVersionControlExpertDLL.bdsproj
===================================================================
--- trunk/jcl/packages/d10/JclVersionControlExpertDLL.bdsproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclVersionControlExpertDLL.bdsproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -114,7 +114,7 @@
<Linker Name="GenerateDRC">False</Linker>
<Linker Name="MinStackSize">16384</Linker>
<Linker Name="MaxStackSize">1048576</Linker>
- <Linker Name="ImageBase">$58170000</Linker>
+ <Linker Name="ImageBase">$58200000</Linker>
<Linker Name="ExeDescription">JCL Integration of version control systems in the IDE</Linker>
<Linker Name="GenerateHpps">False</Linker>
</Linker>
Modified: trunk/jcl/packages/d10/JclVersionControlExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/d10/JclVersionControlExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d10/JclVersionControlExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclVersionControlExpertDLL-L.xml)
- Last generated: 27-03-2011 21:15:18 UTC
+ Last generated: 09-04-2012 15:46:44 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58170000}
+{$IMAGEBASE $58200000}
{$DESCRIPTION 'JCL Integration of version control systems in the IDE'}
{$LIBSUFFIX '100'}
{$IMPLICITBUILD OFF}
Modified: trunk/jcl/packages/d11/JclDeveloperTools.dpk
===================================================================
--- trunk/jcl/packages/d11/JclDeveloperTools.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d11/JclDeveloperTools.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclDeveloperTools-R.xml)
- Last generated: 23-02-2012 21:07:37 UTC
+ Last generated: 09-04-2012 16:01:30 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $48380000}
+{$IMAGEBASE $48800000}
{$DESCRIPTION 'JEDI Code Library Developer Tools package'}
{$LIBSUFFIX '110'}
{$RUNONLY}
Modified: trunk/jcl/packages/d11/JclRepositoryExpert.dpk
===================================================================
--- trunk/jcl/packages/d11/JclRepositoryExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d11/JclRepositoryExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclRepositoryExpert-D.xml)
- Last generated: 08-08-2010 09:58:49 UTC
+ Last generated: 09-04-2012 16:01:30 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58100000}
+{$IMAGEBASE $58180000}
{$DESCRIPTION 'JCL Package containing repository wizards'}
{$LIBSUFFIX '110'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/d11/JclRepositoryExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/d11/JclRepositoryExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d11/JclRepositoryExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclRepositoryExpertDLL-L.xml)
- Last generated: 08-08-2010 09:58:49 UTC
+ Last generated: 09-04-2012 16:01:30 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58100000}
+{$IMAGEBASE $58180000}
{$DESCRIPTION 'JCL Package containing repository wizards'}
{$LIBSUFFIX '110'}
{$IMPLICITBUILD OFF}
Modified: trunk/jcl/packages/d11/JclStackTraceViewerExpert.dpk
===================================================================
--- trunk/jcl/packages/d11/JclStackTraceViewerExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d11/JclStackTraceViewerExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclStackTraceViewerExpert-D.xml)
- Last generated: 07-05-2010 18:24:27 UTC
+ Last generated: 09-04-2012 16:07:27 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58120000}
+{$IMAGEBASE $58250000}
{$DESCRIPTION 'JCL Stack Trace Viewer'}
{$LIBSUFFIX '110'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/d11/JclStackTraceViewerExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/d11/JclStackTraceViewerExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d11/JclStackTraceViewerExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclStackTraceViewerExpertDLL-L.xml)
- Last generated: 07-05-2010 18:24:28 UTC
+ Last generated: 09-04-2012 16:07:27 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58120000}
+{$IMAGEBASE $58250000}
{$DESCRIPTION 'JCL Stack Trace Viewer'}
{$LIBSUFFIX '110'}
{$IMPLICITBUILD OFF}
Modified: trunk/jcl/packages/d11/JclVersionControlExpert.dpk
===================================================================
--- trunk/jcl/packages/d11/JclVersionControlExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d11/JclVersionControlExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclVersionControlExpert-D.xml)
- Last generated: 27-03-2011 21:15:19 UTC
+ Last generated: 09-04-2012 15:46:44 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58170000}
+{$IMAGEBASE $58200000}
{$DESCRIPTION 'JCL Integration of version control systems in the IDE'}
{$LIBSUFFIX '110'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/d11/JclVersionControlExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/d11/JclVersionControlExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d11/JclVersionControlExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclVersionControlExpertDLL-L.xml)
- Last generated: 27-03-2011 21:15:19 UTC
+ Last generated: 09-04-2012 15:46:44 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58170000}
+{$IMAGEBASE $58200000}
{$DESCRIPTION 'JCL Integration of version control systems in the IDE'}
{$LIBSUFFIX '110'}
{$IMPLICITBUILD OFF}
Modified: trunk/jcl/packages/d12/JclDeveloperTools.dpk
===================================================================
--- trunk/jcl/packages/d12/JclDeveloperTools.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclDeveloperTools.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclDeveloperTools-R.xml)
- Last generated: 23-02-2012 21:07:37 UTC
+ Last generated: 09-04-2012 16:01:30 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $48380000}
+{$IMAGEBASE $48800000}
{$DESCRIPTION 'JEDI Code Library Developer Tools package'}
{$LIBSUFFIX '120'}
{$RUNONLY}
Modified: trunk/jcl/packages/d12/JclDeveloperTools.dproj
===================================================================
--- trunk/jcl/packages/d12/JclDeveloperTools.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclDeveloperTools.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -26,7 +26,7 @@
<DllSuffix>120</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$48380000</DCC_ImageBase>
+ <DCC_ImageBase>$48800000</DCC_ImageBase>
<DCC_UsePackage>rtl;Jcl;JclContainers</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d12/JclRepositoryExpert.dpk
===================================================================
--- trunk/jcl/packages/d12/JclRepositoryExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclRepositoryExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclRepositoryExpert-D.xml)
- Last generated: 08-08-2010 09:58:49 UTC
+ Last generated: 09-04-2012 16:01:30 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58100000}
+{$IMAGEBASE $58180000}
{$DESCRIPTION 'JCL Package containing repository wizards'}
{$LIBSUFFIX '120'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/d12/JclRepositoryExpert.dproj
===================================================================
--- trunk/jcl/packages/d12/JclRepositoryExpert.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclRepositoryExpert.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -26,7 +26,7 @@
<DllSuffix>120</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$58100000</DCC_ImageBase>
+ <DCC_ImageBase>$58180000</DCC_ImageBase>
<DCC_UsePackage>rtl;vcl;designide;Jcl;JclContainers;JclBaseExpert;JclDeveloperTools</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d12/JclRepositoryExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/d12/JclRepositoryExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclRepositoryExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclRepositoryExpertDLL-L.xml)
- Last generated: 08-08-2010 09:58:50 UTC
+ Last generated: 09-04-2012 16:01:30 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58100000}
+{$IMAGEBASE $58180000}
{$DESCRIPTION 'JCL Package containing repository wizards'}
{$LIBSUFFIX '120'}
{$IMPLICITBUILD OFF}
Modified: trunk/jcl/packages/d12/JclRepositoryExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d12/JclRepositoryExpertDLL.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclRepositoryExpertDLL.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -26,7 +26,7 @@
<DllSuffix>120</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$58100000</DCC_ImageBase>
+ <DCC_ImageBase>$58180000</DCC_ImageBase>
<DCC_UsePackage>rtl;vcl;designide;Jcl;JclContainers;JclBaseExpert;JclDeveloperTools</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d12/JclStackTraceViewerExpert.dpk
===================================================================
--- trunk/jcl/packages/d12/JclStackTraceViewerExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclStackTraceViewerExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclStackTraceViewerExpert-D.xml)
- Last generated: 07-05-2010 18:24:28 UTC
+ Last generated: 09-04-2012 16:07:27 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58120000}
+{$IMAGEBASE $58250000}
{$DESCRIPTION 'JCL Stack Trace Viewer'}
{$LIBSUFFIX '120'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/d12/JclStackTraceViewerExpert.dproj
===================================================================
--- trunk/jcl/packages/d12/JclStackTraceViewerExpert.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclStackTraceViewerExpert.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -26,7 +26,7 @@
<DllSuffix>120</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$58120000</DCC_ImageBase>
+ <DCC_ImageBase>$58250000</DCC_ImageBase>
<DCC_UsePackage>rtl;vcl;designide;Jcl;JclBaseExpert</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d12/JclStackTraceViewerExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/d12/JclStackTraceViewerExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclStackTraceViewerExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclStackTraceViewerExpertDLL-L.xml)
- Last generated: 07-05-2010 18:24:28 UTC
+ Last generated: 09-04-2012 16:07:27 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58120000}
+{$IMAGEBASE $58250000}
{$DESCRIPTION 'JCL Stack Trace Viewer'}
{$LIBSUFFIX '120'}
{$IMPLICITBUILD OFF}
Modified: trunk/jcl/packages/d12/JclStackTraceViewerExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d12/JclStackTraceViewerExpertDLL.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclStackTraceViewerExpertDLL.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -26,7 +26,7 @@
<DllSuffix>120</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$58120000</DCC_ImageBase>
+ <DCC_ImageBase>$58250000</DCC_ImageBase>
<DCC_UsePackage>rtl;vcl;designide;Jcl;JclBaseExpert</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d12/JclVersionControlExpert.dpk
===================================================================
--- trunk/jcl/packages/d12/JclVersionControlExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclVersionControlExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclVersionControlExpert-D.xml)
- Last generated: 27-03-2011 21:15:21 UTC
+ Last generated: 09-04-2012 15:46:44 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58170000}
+{$IMAGEBASE $58200000}
{$DESCRIPTION 'JCL Integration of version control systems in the IDE'}
{$LIBSUFFIX '120'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/d12/JclVersionControlExpert.dproj
===================================================================
--- trunk/jcl/packages/d12/JclVersionControlExpert.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclVersionControlExpert.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -26,7 +26,7 @@
<DllSuffix>120</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$58170000</DCC_ImageBase>
+ <DCC_ImageBase>$58200000</DCC_ImageBase>
<DCC_UsePackage>rtl;vcl;designide;Jcl;JclVcl;JclBaseExpert</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d12/JclVersionControlExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/d12/JclVersionControlExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclVersionControlExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclVersionControlExpertDLL-L.xml)
- Last generated: 27-03-2011 21:15:21 UTC
+ Last generated: 09-04-2012 15:46:44 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58170000}
+{$IMAGEBASE $58200000}
{$DESCRIPTION 'JCL Integration of version control systems in the IDE'}
{$LIBSUFFIX '120'}
{$IMPLICITBUILD OFF}
Modified: trunk/jcl/packages/d12/JclVersionControlExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d12/JclVersionControlExpertDLL.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d12/JclVersionControlExpertDLL.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -26,7 +26,7 @@
<DllSuffix>120</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$58170000</DCC_ImageBase>
+ <DCC_ImageBase>$58200000</DCC_ImageBase>
<DCC_UsePackage>rtl;vcl;designide;Jcl;JclVcl;JclBaseExpert</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d14/JclDeveloperTools.dpk
===================================================================
--- trunk/jcl/packages/d14/JclDeveloperTools.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclDeveloperTools.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclDeveloperTools-R.xml)
- Last generated: 23-02-2012 21:07:38 UTC
+ Last generated: 09-04-2012 16:01:30 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $48380000}
+{$IMAGEBASE $48800000}
{$DESCRIPTION 'JEDI Code Library Developer Tools package'}
{$LIBSUFFIX '140'}
{$RUNONLY}
Modified: trunk/jcl/packages/d14/JclDeveloperTools.dproj
===================================================================
--- trunk/jcl/packages/d14/JclDeveloperTools.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclDeveloperTools.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -28,7 +28,7 @@
<DllSuffix>140</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$48380000</DCC_ImageBase>
+ <DCC_ImageBase>$48800000</DCC_ImageBase>
<DCC_UsePackage>rtl;Jcl;JclContainers</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d14/JclRepositoryExpert.dpk
===================================================================
--- trunk/jcl/packages/d14/JclRepositoryExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclRepositoryExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclRepositoryExpert-D.xml)
- Last generated: 08-08-2010 09:58:50 UTC
+ Last generated: 09-04-2012 16:01:30 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58100000}
+{$IMAGEBASE $58180000}
{$DESCRIPTION 'JCL Package containing repository wizards'}
{$LIBSUFFIX '140'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/d14/JclRepositoryExpert.dproj
===================================================================
--- trunk/jcl/packages/d14/JclRepositoryExpert.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclRepositoryExpert.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -28,7 +28,7 @@
<DllSuffix>140</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$58100000</DCC_ImageBase>
+ <DCC_ImageBase>$58180000</DCC_ImageBase>
<DCC_UsePackage>rtl;vcl;designide;Jcl;JclContainers;JclBaseExpert;JclDeveloperTools</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d14/JclRepositoryExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/d14/JclRepositoryExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclRepositoryExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclRepositoryExpertDLL-L.xml)
- Last generated: 08-08-2010 09:58:50 UTC
+ Last generated: 09-04-2012 16:01:30 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58100000}
+{$IMAGEBASE $58180000}
{$DESCRIPTION 'JCL Package containing repository wizards'}
{$LIBSUFFIX '140'}
{$IMPLICITBUILD OFF}
Modified: trunk/jcl/packages/d14/JclRepositoryExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d14/JclRepositoryExpertDLL.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclRepositoryExpertDLL.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -28,7 +28,7 @@
<DllSuffix>140</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$58100000</DCC_ImageBase>
+ <DCC_ImageBase>$58180000</DCC_ImageBase>
<DCC_UsePackage>rtl;vcl;designide;Jcl;JclContainers;JclBaseExpert;JclDeveloperTools</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d14/JclStackTraceViewerExpert.dpk
===================================================================
--- trunk/jcl/packages/d14/JclStackTraceViewerExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclStackTraceViewerExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclStackTraceViewerExpert-D.xml)
- Last generated: 07-05-2010 18:24:29 UTC
+ Last generated: 09-04-2012 16:07:28 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58120000}
+{$IMAGEBASE $58250000}
{$DESCRIPTION 'JCL Stack Trace Viewer'}
{$LIBSUFFIX '140'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/d14/JclStackTraceViewerExpert.dproj
===================================================================
--- trunk/jcl/packages/d14/JclStackTraceViewerExpert.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclStackTraceViewerExpert.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -28,7 +28,7 @@
<DllSuffix>140</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$58120000</DCC_ImageBase>
+ <DCC_ImageBase>$58250000</DCC_ImageBase>
<DCC_UsePackage>rtl;vcl;designide;Jcl;JclBaseExpert</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d14/JclStackTraceViewerExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/d14/JclStackTraceViewerExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclStackTraceViewerExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclStackTraceViewerExpertDLL-L.xml)
- Last generated: 07-05-2010 18:24:29 UTC
+ Last generated: 09-04-2012 16:07:28 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58120000}
+{$IMAGEBASE $58250000}
{$DESCRIPTION 'JCL Stack Trace Viewer'}
{$LIBSUFFIX '140'}
{$IMPLICITBUILD OFF}
Modified: trunk/jcl/packages/d14/JclStackTraceViewerExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d14/JclStackTraceViewerExpertDLL.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclStackTraceViewerExpertDLL.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -28,7 +28,7 @@
<DllSuffix>140</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$58120000</DCC_ImageBase>
+ <DCC_ImageBase>$58250000</DCC_ImageBase>
<DCC_UsePackage>rtl;vcl;designide;Jcl;JclBaseExpert</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d14/JclVersionControlExpert.dpk
===================================================================
--- trunk/jcl/packages/d14/JclVersionControlExpert.dpk 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclVersionControlExpert.dpk 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclVersionControlExpert-D.xml)
- Last generated: 27-03-2011 21:15:22 UTC
+ Last generated: 09-04-2012 15:46:44 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58170000}
+{$IMAGEBASE $58200000}
{$DESCRIPTION 'JCL Integration of version control systems in the IDE'}
{$LIBSUFFIX '140'}
{$DESIGNONLY}
Modified: trunk/jcl/packages/d14/JclVersionControlExpert.dproj
===================================================================
--- trunk/jcl/packages/d14/JclVersionControlExpert.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclVersionControlExpert.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -28,7 +28,7 @@
<DllSuffix>140</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$58170000</DCC_ImageBase>
+ <DCC_ImageBase>$58200000</DCC_ImageBase>
<DCC_UsePackage>rtl;vcl;designide;Jcl;JclVcl;JclBaseExpert</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d14/JclVersionControlExpertDLL.dpr
===================================================================
--- trunk/jcl/packages/d14/JclVersionControlExpertDLL.dpr 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclVersionControlExpertDLL.dpr 2012-04-09 16:17:56 UTC (rev 3774)
@@ -4,7 +4,7 @@
DO NOT EDIT THIS FILE, IT IS GENERATED BY THE PACKAGE GENERATOR
ALWAYS EDIT THE RELATED XML FILE (JclVersionControlExpertDLL-L.xml)
- Last generated: 27-03-2011 21:15:22 UTC
+ Last generated: 09-04-2012 15:46:44 UTC
-----------------------------------------------------------------------------
}
@@ -29,7 +29,7 @@
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST ON}
{$MINENUMSIZE 1}
-{$IMAGEBASE $58170000}
+{$IMAGEBASE $58200000}
{$DESCRIPTION 'JCL Integration of version control systems in the IDE'}
{$LIBSUFFIX '140'}
{$IMPLICITBUILD OFF}
Modified: trunk/jcl/packages/d14/JclVersionControlExpertDLL.dproj
===================================================================
--- trunk/jcl/packages/d14/JclVersionControlExpertDLL.dproj 2012-04-08 16:49:18 UTC (rev 3773)
+++ trunk/jcl/packages/d14/JclVersionControlExpertDLL.dproj 2012-04-09 16:17:56 UTC (rev 3774)
@@ -28,7 +28,7 @@
<DllSuffix>140</DllSuffix>
<GenDll>true</GenDll>
<GenPackage>true</GenPackage>
- <DCC_ImageBase>$58170000</DCC_ImageBase>
+ <DCC_ImageBase>$58200000</DCC_ImageBase>
<DCC_UsePackage>rtl;vcl;designide;Jcl;JclVcl;JclBaseExpert</DCC_UsePackage>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_Release)'!=''">
Modified: trunk/jcl/packages/d15/JclDeveloperTools.dpk
==============================================...
[truncated message content] |
|
From: <ou...@us...> - 2012-04-08 16:49:24
|
Revision: 3773
http://jcl.svn.sourceforge.net/jcl/?rev=3773&view=rev
Author: outchy
Date: 2012-04-08 16:49:18 +0000 (Sun, 08 Apr 2012)
Log Message:
-----------
Mantis 5842: JclStreams.pas - TJclEasyStream.ReadCWideString bug.
Modified Paths:
--------------
trunk/jcl/source/common/JclStreams.pas
Modified: trunk/jcl/source/common/JclStreams.pas
===================================================================
--- trunk/jcl/source/common/JclStreams.pas 2012-04-08 16:32:43 UTC (rev 3772)
+++ trunk/jcl/source/common/JclStreams.pas 2012-04-08 16:49:18 UTC (rev 3773)
@@ -1545,11 +1545,10 @@
CurrPos := Position;
repeat
until ReadAnsiChar = #0;
- StrSize := Position - CurrPos - 1;
- SetLength(Result, StrSize);
- Position := CurrPos;
- ReadBuffer(Result[1], StrSize * SizeOf(Result[1]));
- Position := Position + 1;
+ StrSize := Position - CurrPos; // Get number of bytes
+ SetLength(Result, StrSize div SizeOf(AnsiChar) - 1); // Set number of chars without #0
+ Position := CurrPos; // Seek to start read
+ ReadBuffer(Result[1], StrSize); // Read ansi data and #0
end;
function TJclEasyStream.ReadCWideString: WideString;
@@ -1560,11 +1559,10 @@
CurrPos := Position;
repeat
until ReadWideChar = #0;
- StrSize := Position - CurrPos - 1;
- SetLength(Result, StrSize);
- Position := CurrPos;
- ReadBuffer(Result[1], StrSize * SizeOf(Result[1]));
- Position := Position + 1;
+ StrSize := Position - CurrPos; // Get number of bytes
+ SetLength(Result, StrSize div SizeOf(WideChar) - 1); // Set number of chars without #0
+ Position := CurrPos; // Seek to start read
+ ReadBuffer(Result[1], StrSize); // Read wide data and #0
end;
function TJclEasyStream.ReadShortString: string;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ou...@us...> - 2012-04-08 16:32:50
|
Revision: 3772
http://jcl.svn.sourceforge.net/jcl/?rev=3772&view=rev
Author: outchy
Date: 2012-04-08 16:32:43 +0000 (Sun, 08 Apr 2012)
Log Message:
-----------
Mantis 5835: JclUnicode UnicodeIsWhiteSpace gives different results if UNICODE_RTL_DATABASE is set.
Modified Paths:
--------------
trunk/jcl/source/common/JclUnicode.pas
Modified: trunk/jcl/source/common/JclUnicode.pas
===================================================================
--- trunk/jcl/source/common/JclUnicode.pas 2012-03-22 16:29:05 UTC (rev 3771)
+++ trunk/jcl/source/common/JclUnicode.pas 2012-04-08 16:32:43 UTC (rev 3772)
@@ -6992,7 +6992,7 @@
// tabulator, new line etc.)?
begin
{$IFDEF UNICODE_RTL_DATABASE}
- Result := TCharacter.GetUnicodeCategory(Chr(C)) = TUnicodeCategory.ucSpaceSeparator;
+ Result := TCharacter.IsWhiteSpace(Chr(C));
{$ELSE ~UNICODE_RTL_DATABASE}
Result := CategoryLookup(C, ClassSpace + [ccWhiteSpace, ccSegmentSeparator]);
{$ENDIF ~UNICODE_RTL_DATABASE}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ob...@us...> - 2012-03-22 16:29:11
|
Revision: 3771
http://jcl.svn.sourceforge.net/jcl/?rev=3771&view=rev
Author: obones
Date: 2012-03-22 16:29:05 +0000 (Thu, 22 Mar 2012)
Log Message:
-----------
Added RequireBackupRestorePrivileges parameter to the SetDir time functions because it may not be necessary to have backup and restore privileges to change times on a directory.
These rights are only required when you want to change times on a folder that you don't own.
For compatibility reasons, the default behavior is unchanged.
Modified Paths:
--------------
trunk/jcl/source/common/JclFileUtils.pas
Modified: trunk/jcl/source/common/JclFileUtils.pas
===================================================================
--- trunk/jcl/source/common/JclFileUtils.pas 2012-03-11 17:27:44 UTC (rev 3770)
+++ trunk/jcl/source/common/JclFileUtils.pas 2012-03-22 16:29:05 UTC (rev 3771)
@@ -278,9 +278,9 @@
{$IFDEF MSWINDOWS}
function LockVolume(const Volume: string; var Handle: THandle): Boolean;
function OpenVolume(const Drive: Char): THandle;
-function SetDirLastWrite(const DirName: string; const DateTime: TDateTime): Boolean;
-function SetDirLastAccess(const DirName: string; const DateTime: TDateTime): Boolean;
-function SetDirCreation(const DirName: string; const DateTime: TDateTime): Boolean;
+function SetDirLastWrite(const DirName: string; const DateTime: TDateTime; RequireBackupRestorePrivileges: Boolean = True): Boolean;
+function SetDirLastAccess(const DirName: string; const DateTime: TDateTime; RequireBackupRestorePrivileges: Boolean = True): Boolean;
+function SetDirCreation(const DirName: string; const DateTime: TDateTime; RequireBackupRestorePrivileges: Boolean = True): Boolean;
{$ENDIF MSWINDOWS}
function SetFileLastWrite(const FileName: string; const DateTime: TDateTime): Boolean;
function SetFileLastAccess(const FileName: string; const DateTime: TDateTime): Boolean;
@@ -4443,14 +4443,14 @@
end;
function SetDirTimesHelper(const DirName: string; const DateTime: TDateTime;
- Times: TFileTimes): Boolean;
+ Times: TFileTimes; RequireBackupRestorePrivileges: Boolean): Boolean;
var
Handle: THandle;
FileTime: TFileTime;
SystemTime: TSystemTime;
begin
Result := False;
- if IsDirectory(DirName) and BackupPrivilegesEnabled then
+ if IsDirectory(DirName) and (not RequireBackupRestorePrivileges or BackupPrivilegesEnabled) then
begin
Handle := CreateFile(PChar(DirName), GENERIC_WRITE, FILE_SHARE_READ, nil,
OPEN_EXISTING, FILE_FLAG_BACKUP_SEMANTICS, 0);
@@ -4474,19 +4474,19 @@
end;
end;
-function SetDirLastWrite(const DirName: string; const DateTime: TDateTime): Boolean;
+function SetDirLastWrite(const DirName: string; const DateTime: TDateTime; RequireBackupRestorePrivileges: Boolean = True): Boolean;
begin
- Result := SetDirTimesHelper(DirName, DateTime, ftLastWrite);
+ Result := SetDirTimesHelper(DirName, DateTime, ftLastWrite, RequireBackupRestorePrivileges);
end;
-function SetDirLastAccess(const DirName: string; const DateTime: TDateTime): Boolean;
+function SetDirLastAccess(const DirName: string; const DateTime: TDateTime; RequireBackupRestorePrivileges: Boolean = True): Boolean;
begin
- Result := SetDirTimesHelper(DirName, DateTime, ftLastAccess);
+ Result := SetDirTimesHelper(DirName, DateTime, ftLastAccess, RequireBackupRestorePrivileges);
end;
-function SetDirCreation(const DirName: string; const DateTime: TDateTime): Boolean;
+function SetDirCreation(const DirName: string; const DateTime: TDateTime; RequireBackupRestorePrivileges: Boolean = True): Boolean;
begin
- Result := SetDirTimesHelper(DirName, DateTime, ftCreation);
+ Result := SetDirTimesHelper(DirName, DateTime, ftCreation, RequireBackupRestorePrivileges);
end;
procedure FillByteArray(var Bytes: array of Byte; Count: Cardinal; B: Byte);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ob...@us...> - 2012-03-11 17:27:51
|
Revision: 3770
http://jcl.svn.sourceforge.net/jcl/?rev=3770&view=rev
Author: obones
Date: 2012-03-11 17:27:44 +0000 (Sun, 11 Mar 2012)
Log Message:
-----------
Because of JclFormatSettings.DecimalSeparator from JclSysUtils, most compilers that support inlining can't actually inline those two functions. As such, there is no point telling them to do so and that avoids two hints
Modified Paths:
--------------
trunk/jcl/source/common/JclStrings.pas
Modified: trunk/jcl/source/common/JclStrings.pas
===================================================================
--- trunk/jcl/source/common/JclStrings.pas 2012-03-11 17:00:37 UTC (rev 3769)
+++ trunk/jcl/source/common/JclStrings.pas 2012-03-11 17:27:44 UTC (rev 3770)
@@ -309,8 +309,8 @@
function CharIsFracDigit(const C: Char): Boolean; {$IFDEF SUPPORTS_INLINE} inline; {$ENDIF}
function CharIsHexDigit(const C: Char): Boolean; {$IFDEF SUPPORTS_INLINE} inline; {$ENDIF}
function CharIsLower(const C: Char): Boolean; {$IFDEF SUPPORTS_INLINE} inline; {$ENDIF}
-function CharIsNumberChar(const C: Char): Boolean; {$IFDEF SUPPORTS_INLINE} inline; {$ENDIF}
-function CharIsNumber(const C: Char): Boolean; {$IFDEF SUPPORTS_INLINE} inline; {$ENDIF}
+function CharIsNumberChar(const C: Char): Boolean; {$IFDEF SUPPORTS_INLINE} {$IFDEF COMPILER16_UP} inline; {$ENDIF} {$ENDIF}
+function CharIsNumber(const C: Char): Boolean; {$IFDEF SUPPORTS_INLINE} {$IFDEF COMPILER16_UP} inline; {$ENDIF} {$ENDIF}
function CharIsPrintable(const C: Char): Boolean; {$IFDEF SUPPORTS_INLINE} inline; {$ENDIF}
function CharIsPunctuation(const C: Char): Boolean; {$IFDEF SUPPORTS_INLINE} inline; {$ENDIF}
function CharIsReturn(const C: Char): Boolean; {$IFDEF SUPPORTS_INLINE} inline; {$ENDIF}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ob...@us...> - 2012-03-11 17:00:44
|
Revision: 3769
http://jcl.svn.sourceforge.net/jcl/?rev=3769&view=rev
Author: obones
Date: 2012-03-11 17:00:37 +0000 (Sun, 11 Mar 2012)
Log Message:
-----------
Brought back the interface "workaround" because the C6 compiler does not like the direct construct just like the C5 compiler did not.
Modified Paths:
--------------
trunk/jcl/experts/common/JclOtaConfigurationForm.pas
trunk/jcl/experts/common/JclOtaUtils.pas
Modified: trunk/jcl/experts/common/JclOtaConfigurationForm.pas
===================================================================
--- trunk/jcl/experts/common/JclOtaConfigurationForm.pas 2012-03-10 18:46:19 UTC (rev 3768)
+++ trunk/jcl/experts/common/JclOtaConfigurationForm.pas 2012-03-11 17:00:37 UTC (rev 3769)
@@ -65,7 +65,7 @@
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
- procedure AddPage(Expert: TJclOTAExpertBase);
+ procedure AddPage(Expert: IJclOTAOptionsCallback);
function Execute(PageName: string): Boolean;
property Settings: TJclOTASettings read FSettings;
end;
@@ -94,12 +94,12 @@
TItemDataRec = class
public
Frame: TCustomFrame;
- Expert: TJclOTAExpertBase;
+ Expert: IJclOTAOptionsCallback;
end;
//=== TJclOtaOptionsForm =====================================================
-procedure TJclOtaOptionsForm.AddPage(Expert: TJclOTAExpertBase);
+procedure TJclOtaOptionsForm.AddPage(Expert: IJclOTAOptionsCallback);
var
ParentNode, ChildNode: TTreeNode;
PageName, NodeName: string;
Modified: trunk/jcl/experts/common/JclOtaUtils.pas
===================================================================
--- trunk/jcl/experts/common/JclOtaUtils.pas 2012-03-10 18:46:19 UTC (rev 3768)
+++ trunk/jcl/experts/common/JclOtaUtils.pas 2012-03-11 17:00:37 UTC (rev 3769)
@@ -118,7 +118,25 @@
end;
{$ENDIF BDS8_UP}
- TJclOTAExpertBase = class(TInterfacedObject)
+ // Note: we MUST use an interface as the type of the Expert parameter
+ // and not an object to avoid a bug in C++ Builder 6 (or lower) compiler. If we
+ // used an object, the compiler would crash or give internal error GH4148
+ // being obviously lost trying to resolve almost circular references
+ // between this unit and the JclOtaConfigurationForm unit.
+ IJclOTAOptionsCallback = interface;
+
+ TJclOTAAddPageFunc = procedure (Expert: IJclOTAOptionsCallback) of object;
+
+ IJclOTAOptionsCallback = interface
+ procedure AddConfigurationPages(AddPageFunc: TJclOTAAddPageFunc);
+ procedure DialogClosed(SaveChanges: Boolean);
+ function GetPageName: string;
+ function GetFrameClass: TCustomFrameClass;
+ procedure FrameCreated(AFrame: TCustomFrame);
+ function ValidateContents: Boolean;
+ end;
+
+ TJclOTAExpertBase = class(TInterfacedObject, IJclOTAOptionsCallback)
private
FRootDir: string;
FJCLRootDir: string;
@@ -187,6 +205,9 @@
function IsInstalledPackage(const Project: IOTAProject): Boolean;
function IsPackage(const Project: IOTAProject): Boolean;
+ { IJclOTAOptionsCallback }
+ procedure AddConfigurationPages(AddPageFunc: TJclOTAAddPageFunc); virtual;
+
procedure RegisterCommands; virtual;
procedure UnregisterCommands; virtual;
@@ -884,7 +905,7 @@
Expert := GetExpert(Index);
FrameClass := Expert.GetFrameClass;
if Assigned(FrameClass) then
- OptionsForm.AddPage(Expert);
+ Expert.AddConfigurationPages(OptionsForm.AddPage);
end;
Result := OptionsForm.Execute(StartName);
finally
@@ -1031,6 +1052,13 @@
GlobalExpertList.Remove(AExpert);
end;
+procedure TJclOTAExpertBase.AddConfigurationPages(
+ AddPageFunc: TJclOTAAddPageFunc);
+begin
+ // AddPageFunc uses '\' as a separator in PageName to build a tree
+ AddPageFunc(Self);
+end;
+
constructor TJclOTAExpertBase.Create(AName: string);
begin
inherited Create;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ah...@us...> - 2012-03-10 18:46:26
|
Revision: 3768
http://jcl.svn.sourceforge.net/jcl/?rev=3768&view=rev
Author: ahuser
Date: 2012-03-10 18:46:19 +0000 (Sat, 10 Mar 2012)
Log Message:
-----------
Fixed Mantis #5827: TJvSimpleXML: XMLData gives unreadable characters
The problem was that a unicode TStringStream was written to from a TJclAnsiString proxy if seAuto was used as the Encoding.
Modified Paths:
--------------
trunk/jcl/source/common/JclSimpleXml.pas
Modified: trunk/jcl/source/common/JclSimpleXml.pas
===================================================================
--- trunk/jcl/source/common/JclSimpleXml.pas 2012-03-10 18:22:09 UTC (rev 3767)
+++ trunk/jcl/source/common/JclSimpleXml.pas 2012-03-10 18:46:19 UTC (rev 3768)
@@ -542,6 +542,7 @@
procedure DoValueParsed(const AName, AValue: string);
procedure DoEncodeValue(var Value: string); virtual;
procedure DoDecodeValue(var Value: string); virtual;
+ procedure GetEncodingFromXMLHeader(var Encoding: TJclStringEncoding; var CodePage: Word);
public
constructor Create;
destructor Destroy; override;
@@ -1248,6 +1249,38 @@
end;
end;
+procedure TJclSimpleXML.GetEncodingFromXMLHeader(var Encoding: TJclStringEncoding; var CodePage: Word);
+var
+ XMLHeader: TJclSimpleXMLElemHeader;
+ I: Integer;
+begin
+ XMLHeader := nil;
+ for I := 0 to Prolog.Count - 1 do
+ if Prolog.Item[I] is TJclSimpleXMLElemHeader then
+ begin
+ XMLHeader := TJclSimpleXMLElemHeader(Prolog.Item[I]);
+ Break;
+ end;
+ if Assigned(XMLHeader) then
+ begin
+ CodePage := CodePageFromCharsetName(XMLHeader.Encoding);
+ case CodePage of
+ CP_UTF8:
+ Encoding := seUTF8;
+ CP_UTF16LE:
+ Encoding := seUTF16;
+ else
+ Encoding := seAnsi;
+ end;
+ end
+ else
+ begin
+ // restore from previous load
+ Encoding := FEncoding;
+ CodePage := FCodePage;
+ end;
+end;
+
procedure TJclSimpleXML.SaveToFile(const FileName: TFileName; Encoding: TJclStringEncoding; CodePage: Word);
var
Stream: TMemoryStream;
@@ -1266,8 +1299,6 @@
AOutStream: TStream;
AStringStream: TJclStringStream;
DoFree: Boolean;
- XMLHeader: TJclSimpleXMLElemHeader;
- I: Integer;
begin
if Assigned(FOnEncodeStream) then
begin
@@ -1281,33 +1312,7 @@
end;
try
if Encoding = seAuto then
- begin
- XMLHeader := nil;
- for I := 0 to Prolog.Count - 1 do
- if Prolog.Item[I] is TJclSimpleXMLElemHeader then
- begin
- XMLHeader := TJclSimpleXMLElemHeader(Prolog.Item[I]);
- Break;
- end;
- if Assigned(XMLHeader) then
- begin
- CodePage := CodePageFromCharsetName(XMLHeader.Encoding);
- case CodePage of
- CP_UTF8:
- Encoding := seUTF8;
- CP_UTF16LE:
- Encoding := seUTF16;
- else
- Encoding := seAnsi;
- end;
- end
- else
- begin
- // restore from previous load
- Encoding := FEncoding;
- CodePage := FCodePage;
- end;
- end;
+ GetEncodingFromXMLHeader(Encoding, CodePage);
case Encoding of
seUTF8:
@@ -1373,13 +1378,18 @@
Stream: TStringStream;
begin
{$IFDEF SUPPORTS_UNICODE}
+ // Use the same logic for seAuto as in SaveToStream for creating the TStringStream.
+ // Otherwise a Unicode-TStringStream is written to from a TJclAnsiStream proxy.
+ if Encoding = seAuto then
+ GetEncodingFromXMLHeader(Encoding, CodePage);
+
case Encoding of
seAnsi:
Stream := TStringStream.Create('', TEncoding.{$IFDEF COMPILER16_UP}ANSI{$ELSE}Default{$ENDIF});
seUTF8:
Stream := TStringStream.Create('', TEncoding.UTF8);
else
- //seUTF16, seAuto:
+ //seUTF16:
Stream := TStringStream.Create('', TEncoding.Unicode);
end;
{$ELSE ~SUPPORTS_UNICODE}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|