Skip to content

Commit

Permalink
# **json2puml v2.2.20.116** - 09.10.2024
Browse files Browse the repository at this point in the history
## All Editions
### Changed Feature
- Fixed validation of ":" in filenames (Windows) #48
- Empty Chararacteristic records are no longer generated #44
- Improved/simplified error messages when the files could not be loaded via curl #46
  • Loading branch information
jfudickar committed Oct 9, 2024
1 parent dac3cf9 commit 0225ad0
Show file tree
Hide file tree
Showing 10 changed files with 134 additions and 116 deletions.
7 changes: 7 additions & 0 deletions documentation/changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# **json2puml v2.2.20.116** - 09.10.2024
## All Editions
### Changed Feature
- Fixed validation of ":" in filenames (Windows) #48
- Empty Chararacteristic records are no longer generated #44
- Improved/simplified error messages when the files could not be loaded via curl #46

# **json2puml v2.2.19.115** - 08.10.2024
## All Editions
### Changed Feature
Expand Down
2 changes: 1 addition & 1 deletion samples/jsonplaceholder/placeholder_inputlist_curl.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"inputFile": "users.json",
"leadingObject": "user",
"generateOutput": true,
"mandatory": false,
"mandatory": true,
"curlBaseUrl": null,
"curlCache": 0,
"curlExecuteEvaluation": null,
Expand Down
48 changes: 24 additions & 24 deletions source/json2puml.dproj

Large diffs are not rendered by default.

105 changes: 53 additions & 52 deletions source/json2pumlapps.dsk
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ File_13=TSourceModule,'E:\Delphi\Projects\json2puml\source\json2pumlconfigframe.
File_14=TSourceModule,'c:\Users\jensf\Documents\Embarcadero\Studio\23.0\CatalogRepository\SynEdit-12\Source\SynEditMiscProcs.pas',0,1,107,22,140,0,0,,

[Modules]
Module0=E:\Delphi\Projects\json2puml\source\json2pumlconst.pas
Module1=E:\Delphi\Projects\json2puml\source\json2puml.dproj
Module2=E:\Delphi\Projects\json2puml\source\json2pumlservice.dproj
Module3=E:\Delphi\Projects\json2puml\unittests\json2pumlunittests.dproj
Module4=E:\Delphi\Projects\json2puml\source\json2pumlconverter.pas
Module5=E:\Delphi\Projects\json2puml\unittests\utJson2PumlBasePropertyList.pas
Module6=E:\Delphi\Projects\json2puml\source\json2pumlbasedefinition.pas
Module7=E:\Delphi\Projects\json2puml\source\json2pumlconverterdefinition.pas
Module0=E:\Delphi\Projects\json2puml\source\json2pumlconverter.pas
Module1=E:\Delphi\Projects\json2puml\source\json2pumlconverterdefinition.pas
Module2=E:\Delphi\Projects\json2puml\source\json2pumlconst.pas
Module3=E:\Delphi\Projects\json2puml\source\json2puml.dproj
Module4=E:\Delphi\Projects\json2puml\source\json2pumlservice.dproj
Module5=E:\Delphi\Projects\json2puml\unittests\json2pumlunittests.dproj
Module6=E:\Delphi\Projects\json2puml\unittests\utJson2PumlBasePropertyList.pas
Module7=E:\Delphi\Projects\json2puml\source\json2pumlbasedefinition.pas
Module8=E:\Delphi\Projects\json2puml\source\json2pumlpuml.pas
Module9=E:\Delphi\Projects\json2puml\source\json2pumlservicewebmodule.pas
Module10=E:\Delphi\Projects\json2puml\source\json2pumlservicecontroller.pas
Expand All @@ -37,6 +37,12 @@ Module17=E:\Delphi\Projects\json2puml\source\json2pumlvcltools.pas
Count=18
EditWindowCount=1

[E:\Delphi\Projects\json2puml\source\json2pumlconverter.pas]
ModuleType=TSourceModule

[E:\Delphi\Projects\json2puml\source\json2pumlconverterdefinition.pas]
ModuleType=TSourceModule

[E:\Delphi\Projects\json2puml\source\json2pumlconst.pas]
ModuleType=TSourceModule

Expand All @@ -49,18 +55,12 @@ ModuleType=TBaseProject
[E:\Delphi\Projects\json2puml\unittests\json2pumlunittests.dproj]
ModuleType=TBaseProject

[E:\Delphi\Projects\json2puml\source\json2pumlconverter.pas]
ModuleType=TSourceModule

[E:\Delphi\Projects\json2puml\unittests\utJson2PumlBasePropertyList.pas]
ModuleType=TSourceModule

[E:\Delphi\Projects\json2puml\source\json2pumlbasedefinition.pas]
ModuleType=TSourceModule

[E:\Delphi\Projects\json2puml\source\json2pumlconverterdefinition.pas]
ModuleType=TSourceModule

[E:\Delphi\Projects\json2puml\source\json2pumlpuml.pas]
ModuleType=TSourceModule

Expand Down Expand Up @@ -93,7 +93,7 @@ ModuleType=TSourceModule

[EditWindow0]
ViewCount=18
CurrentEditView=E:\Delphi\Projects\json2puml\source\json2pumlconst.pas
CurrentEditView=E:\Delphi\Projects\json2puml\source\json2pumlconverter.pas
View0=0
View1=1
View2=2
Expand Down Expand Up @@ -255,8 +255,8 @@ EditViewName=E:\Delphi\Projects\json2puml\source\json2puml.dpr
CustomEditViewType=TEditView
Module=E:\Delphi\Projects\json2puml\source\json2pumlconverter.pas
CursorX=1
CursorY=346
TopLine=323
CursorY=527
TopLine=518
LeftCol=1
Elisions=
Bookmarks=
Expand All @@ -265,9 +265,9 @@ EditViewName=E:\Delphi\Projects\json2puml\source\json2pumlconverter.pas
[View11]
CustomEditViewType=TEditView
Module=E:\Delphi\Projects\json2puml\source\json2pumlconverterdefinition.pas
CursorX=1
CursorY=1325
TopLine=1301
CursorX=59
CursorY=39
TopLine=22
LeftCol=1
Elisions=
Bookmarks=
Expand All @@ -276,9 +276,9 @@ EditViewName=E:\Delphi\Projects\json2puml\source\json2pumlconverterdefinition.pa
[View12]
CustomEditViewType=TEditView
Module=E:\Delphi\Projects\json2puml\source\json2pumlconst.pas
CursorX=5
CursorY=216
TopLine=173
CursorX=67
CursorY=178
TopLine=174
LeftCol=1
Elisions=
Bookmarks=
Expand Down Expand Up @@ -370,7 +370,8 @@ Dockable=1
StayOnTop=0

[Breakpoints]
Count=0
Count=1
Breakpoint0='E:\Delphi\Projects\json2puml\source\json2pumlconverter.pas',352,'iinfo.propertyname = ''actionReason''',0,0,'',1,0,0,'',1,'','','',0,''

[EmbarcaderoWin32Debugger_AddressBreakpoints]
Count=0
Expand Down Expand Up @@ -425,11 +426,11 @@ State=0
Left=0
Top=0
Width=1996
Height=4382
Height=0
MaxLeft=-1
MaxTop=-1
ClientWidth=1996
ClientHeight=4382
ClientHeight=0
TBDockHeight=5898
LRDockWidth=2348
Dockable=1
Expand Down Expand Up @@ -487,7 +488,7 @@ MaxLeft=-1
MaxTop=-1
ClientWidth=1895
ClientHeight=3542
TBDockHeight=3542
TBDockHeight=6947
LRDockWidth=1895
Dockable=1
StayOnTop=0
Expand All @@ -502,11 +503,11 @@ State=0
Left=0
Top=0
Width=1996
Height=2155
Height=6746
MaxLeft=-1
MaxTop=-1
ClientWidth=1996
ClientHeight=2155
ClientHeight=6746
TBDockHeight=5955
LRDockWidth=2512
Dockable=1
Expand All @@ -518,8 +519,8 @@ Create=1
Visible=0
Docked=1
State=0
Left=0
Top=0
Left=-2296
Top=362
Width=273
Height=359
MaxLeft=-1
Expand Down Expand Up @@ -561,20 +562,20 @@ Docked=1
State=0
Left=0
Top=0
Width=3824
Height=1221
Width=4969
Height=1588
MaxLeft=-1
MaxTop=-1
ClientWidth=3824
ClientHeight=1221
ClientWidth=4969
ClientHeight=1588
TBDockHeight=216
LRDockWidth=7406
Dockable=1
StayOnTop=0
Column0Width=145
Column1Width=100
Column2Width=115
Column3Width=619
Column3Width=912

[LocalVarsWindow]
PercentageSizes=1
Expand Down Expand Up @@ -623,11 +624,11 @@ State=0
Left=0
Top=0
Width=2340
Height=1279
Height=1042
MaxLeft=-1
MaxTop=-1
ClientWidth=2340
ClientHeight=1279
ClientHeight=1042
TBDockHeight=2320
LRDockWidth=2824
Dockable=1
Expand Down Expand Up @@ -688,11 +689,11 @@ State=0
Left=0
Top=0
Width=1996
Height=0
Height=6746
MaxLeft=-1
MaxTop=-1
ClientWidth=1996
ClientHeight=0
ClientHeight=6746
TBDockHeight=4885
LRDockWidth=7148
Dockable=1
Expand All @@ -704,8 +705,8 @@ Create=1
Visible=0
Docked=1
State=0
Left=0
Top=0
Left=501
Top=1099
Width=2855
Height=3211
MaxLeft=-1
Expand All @@ -723,8 +724,8 @@ Create=1
Visible=0
Docked=1
State=0
Left=-284
Top=-257
Left=-250
Top=-132
Width=1848
Height=3139
MaxLeft=-1
Expand Down Expand Up @@ -907,11 +908,11 @@ State=0
Left=0
Top=0
Width=1996
Height=0
Height=6746
MaxLeft=-1
MaxTop=-1
ClientWidth=1996
ClientHeight=0
ClientHeight=6746
TBDockHeight=4885
LRDockWidth=5309
Dockable=1
Expand Down Expand Up @@ -971,8 +972,8 @@ Create=1
Visible=0
Docked=1
State=0
Left=8
Top=8
Left=0
Top=28
Width=3824
Height=1422
MaxLeft=-1
Expand Down Expand Up @@ -1003,12 +1004,12 @@ MaxLeft=-1
MaxTop=-1
ClientWidth=1996
ClientHeight=4583
TBDockHeight=4583
TBDockHeight=6947
LRDockWidth=1996
Dockable=1
StayOnTop=0
TabPosition=1
ActiveTabID=ProjectManager
ActiveTabID=MMXCodeExplorer
TabDockClients=ProjectManager,MMXCodeExplorer,ModelViewTool,DataExplorerContainer,frmDesignPreview

[DockSite3]
Expand All @@ -1027,7 +1028,7 @@ MaxLeft=-1
MaxTop=-1
ClientWidth=1895
ClientHeight=3542
TBDockHeight=3542
TBDockHeight=6947
LRDockWidth=1895
Dockable=1
StayOnTop=0
Expand All @@ -1051,7 +1052,7 @@ MaxLeft=-1
MaxTop=-1
ClientWidth=1996
ClientHeight=2500
TBDockHeight=2500
TBDockHeight=6947
LRDockWidth=1996
Dockable=1
StayOnTop=0
Expand Down
2 changes: 1 addition & 1 deletion source/json2pumlconst.pas
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ tJson2PumlErrorInformation = record
{$ELSE}
cCmdLinePrefix = '-';
{$ENDIF}
cCurrentVersion = '2.2.19.115';
cCurrentVersion = '2.2.20.116';

cApplicationName = 'json2puml';

Expand Down
2 changes: 1 addition & 1 deletion source/json2pumlconverter.pas
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ procedure TJson2PumlConverter.GeneratePumlLegend (iUsedFormats: tStrings);
begin
vAdd := true;
Puml.Add (tPumlHelper.TableLine(['<b>json2puml', '<b>' + FileVersion]));
Puml.Add (tPumlHelper.TableLine(['Generated at', Format('%s %s', [DateTostr(Now), TimetoStr(Now)])]));
Puml.Add (tPumlHelper.TableLine(['Generated at', Format('%s', [DateTimeToStr(Now)])]));
AddFileLine ('Definition File', InputHandler.CurrentDefinitionFileName);
if not InputHandler.CmdLineParameter.InputFileName.IsEmpty then
begin
Expand Down
10 changes: 10 additions & 0 deletions source/json2pumlservice.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@
<CfgParent>Base</CfgParent>
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="('$(Platform)'=='Linux64' and '$(Cfg_1)'=='true') or '$(Cfg_1_Linux64)'!=''">
<Cfg_1_Linux64>true</Cfg_1_Linux64>
<CfgParent>Cfg_1</CfgParent>
<Cfg_1>true</Cfg_1>
<Base>true</Base>
</PropertyGroup>
<PropertyGroup Condition="('$(Platform)'=='Win32' and '$(Cfg_1)'=='true') or '$(Cfg_1_Win32)'!=''">
<Cfg_1_Win32>true</Cfg_1_Win32>
<CfgParent>Cfg_1</CfgParent>
Expand Down Expand Up @@ -177,6 +183,10 @@
<DCC_DebugInfoInExe>true</DCC_DebugInfoInExe>
<DCC_RemoteDebug>true</DCC_RemoteDebug>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_1_Linux64)'!=''">
<Debugger_RunParams>/debug</Debugger_RunParams>
<Debugger_Launcher>/usr/bin/gnome-terminal -- &quot;%debuggee%&quot;</Debugger_Launcher>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
<DCC_RemoteDebug>false</DCC_RemoteDebug>
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
Expand Down
Loading

0 comments on commit 0225ad0

Please sign in to comment.