Skip to content

Commit

Permalink
refactoring clone object with RTTIUtils so no more need of REST.JSON …
Browse files Browse the repository at this point in the history
…and System.JSON. This add compatibiity with prior version of delphi

removed EventBus.Attributes.pas and moved SubscribeAttribute in EventBus.Commons.pas
removed EventBus.Poster.pas because no more needed
  • Loading branch information
spinettaro committed Apr 23, 2018
1 parent c8f4c4e commit d33aa3e
Show file tree
Hide file tree
Showing 28 changed files with 900 additions and 1,036 deletions.
426 changes: 216 additions & 210 deletions samples/AccessRemoteData/AccessRemoteData.dproj

Large diffs are not rendered by default.

Binary file modified samples/AccessRemoteData/AccessRemoteData.res
Binary file not shown.
2 changes: 1 addition & 1 deletion samples/AccessRemoteData/BOsU.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
interface

uses
EventBus.Subscribers, EventBus.Commons, EventBus.Attributes;
EventBus.Subscribers, EventBus.Commons;

type

Expand Down
13 changes: 10 additions & 3 deletions samples/AccessRemoteData/MainFMX.fmx
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ object HeaderFooterForm: THeaderFooterForm
TabIndex = 1
TabOrder = 2
TabPosition = None
Sizes = (
384s
519s
384s
519s)
object TabItem1: TTabItem
CustomIcon = <
item
Expand Down Expand Up @@ -118,12 +123,12 @@ object HeaderFooterForm: THeaderFooterForm
Value = 6.282934691915696000
end>
object Edit1: TEdit
Hint = 'Username'
Touch.InteractiveGestures = [LongTap, DoubleTap]
Align = Client
TabOrder = 0
Hint = 'Username'
Size.Width = 308.013977050781300000
Size.Height = 32.000000000000000000
Size.Height = 32.608428955078130000
Size.PlatformDefault = False
TextPrompt = 'Username...'
end
Expand All @@ -133,7 +138,7 @@ object HeaderFooterForm: THeaderFooterForm
TabOrder = 1
Password = True
Size.Width = 308.013977050781300000
Size.Height = 32.000000000000000000
Size.Height = 32.608428955078130000
Size.PlatformDefault = False
TextPrompt = 'Password...'
end
Expand Down Expand Up @@ -174,6 +179,8 @@ object HeaderFooterForm: THeaderFooterForm
StyleLookup = ''
TabOrder = 0
Text = 'TabItem2'
ExplicitSize.cx = 8.000000000000000000
ExplicitSize.cy = 8.000000000000000000
object GridPanelLayout2: TGridPanelLayout
Align = Client
Size.Width = 384.000000000000000000
Expand Down
3 changes: 1 addition & 2 deletions samples/AccessRemoteData/MainFMX.pas
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ interface
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms,
FMX.Dialogs, FMX.StdCtrls, FMX.Controls.Presentation, FMX.Layouts,
FMX.Objects, FMX.Edit, FMX.TabControl, BOsU, EventBus.Commons,
EventBus.Attributes;
FMX.Objects, FMX.Edit, FMX.TabControl, BOsU, EventBus.Commons;

type
THeaderFooterForm = class(TForm)
Expand Down
392 changes: 196 additions & 196 deletions samples/Analytics/Analytics.dproj

Large diffs are not rendered by default.

Binary file modified samples/Analytics/Analytics.res
Binary file not shown.
4 changes: 2 additions & 2 deletions samples/Analytics/LogginFormU.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ interface

uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, BOU, EventBus.Attributes;
System.Classes, Vcl.Graphics, EventBus.Commons,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, BOU;

type
TFormLogger = class(TForm)
Expand Down
2 changes: 1 addition & 1 deletion samples/WeatherStation/HumidityFMX.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ interface

uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, EventBus.Attributes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, ModelU, EventBus.Commons;

Expand Down
1 change: 1 addition & 0 deletions samples/WeatherStation/ModelU.pas
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,4 @@ procedure TWeatherInformation.SetWeatherType(const Value: TWeatherType);
end;

end.

2 changes: 1 addition & 1 deletion samples/WeatherStation/PaintedFMX.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ interface

uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, EventBus.Attributes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.Objects,
System.ImageList, FMX.ImgList, ModelU, EventBus.Commons;

Expand Down
2 changes: 1 addition & 1 deletion samples/WeatherStation/PressureFMX.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ interface

uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, EventBus.Attributes,
System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, ModelU, EventBus.Commons;

Expand Down
7 changes: 3 additions & 4 deletions samples/WeatherStation/TemperatureFMX.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ interface

uses
System.SysUtils, System.Types, System.UITypes, System.Classes,
System.Variants, EventBus.Attributes,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs,
FMX.Controls.Presentation, FMX.StdCtrls, ModelU, EventBus.Subscribers,
EventBus.Commons;
System.Variants, FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics,
FMX.Dialogs, FMX.Controls.Presentation, FMX.StdCtrls, ModelU,
EventBus.Subscribers, EventBus.Commons;

type
TTemperatureForm = class(TForm)
Expand Down
406 changes: 206 additions & 200 deletions samples/WeatherStation/WeatherStation.dproj

Large diffs are not rendered by default.

Binary file modified samples/WeatherStation/WeatherStation.res
Binary file not shown.
6 changes: 2 additions & 4 deletions samples/vclmessaging/SecondFormU.dfm
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ object frmSecond: TfrmSecond
AlignWithMargins = True
Left = 4
Top = 4
Width = 225
Height = 28
Width = 111
Height = 23
Align = alClient
Caption = 'Second Form'
Font.Charset = DEFAULT_CHARSET
Expand All @@ -50,8 +50,6 @@ object frmSecond: TfrmSecond
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
ExplicitWidth = 111
ExplicitHeight = 23
end
object CheckBox1: TCheckBox
Left = 232
Expand Down
2 changes: 1 addition & 1 deletion samples/vclmessaging/SecondFormU.pas
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs,
Vcl.StdCtrls, Vcl.ExtCtrls, EventBus.Attributes, EventU, EventBus.Commons;
Vcl.StdCtrls, Vcl.ExtCtrls, EventU, EventBus.Commons;

type
TfrmSecond = class(TForm)
Expand Down
2 changes: 1 addition & 1 deletion samples/vclmessaging/ThirdFormU.pas
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ interface

uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics, EventU, EventBus.Attributes,
System.Classes, Vcl.Graphics, EventU, EventBus.Commons,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.ExtCtrls;

type
Expand Down

0 comments on commit d33aa3e

Please sign in to comment.