Skip to content

Commit

Permalink
improved error hanlding when passed invalid refs
Browse files Browse the repository at this point in the history
  • Loading branch information
jimkring committed Jun 27, 2023
1 parent b687fb8 commit 633e299
Show file tree
Hide file tree
Showing 26 changed files with 174 additions and 24 deletions.
Binary file modified lv_src/Doc/from_string.vi
Binary file not shown.
Binary file modified lv_src/Item/close.vi
Binary file not shown.
Binary file modified lv_src/Item/create.vi
Binary file not shown.
Binary file modified lv_src/Item/get_item_type.vi
Binary file not shown.
Binary file modified lv_src/Item/ref_is_valid.vi
Binary file not shown.
15 changes: 12 additions & 3 deletions lv_src/Table/Table.lvclass
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<Property Name="NI.ClassItem.State" Type="Int">1342710288</Property>
</Item>
<Item Name="from_item.vi" Type="VI" URL="../from_item.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!$_!!!!#1!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!$*!=!!?!!!@$X2P&lt;7R@:72J&gt;#ZM&gt;GRJ9AV597*M:3ZM&gt;G.M98.T!!F597*M:3"P&gt;81!)%"1!!-!!!!"!!)4:8*S&lt;X)A;7YA+'ZP)'6S=G^S+1!01!A!#'FU:7V@=G6G!!"5!0!!$!!$!!1!"!!&amp;!!1!"!!%!!1!"A!%!!=!"!-!!(A!!!U)!!!!!!!!!!!!!!E!!!!!!!!!!!!!!!!!!!!!!!!!#A!!!!!!!!!1!!!!!!!!!!!"!!A!!!!!</Property>
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!$_!!!!#1!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!$*!=!!?!!!@$X2P&lt;7R@:72J&gt;#ZM&gt;GRJ9AV597*M:3ZM&gt;G.M98.T!!F597*M:3"P&gt;81!)%"1!!-!!!!"!!)4:8*S&lt;X)A;7YA+'ZP)'6S=G^S+1!01!A!#'FU:7V@=G6G!!"5!0!!$!!$!!1!"!!&amp;!!1!"!!%!!1!"A!%!!=!"!-!!(A!!!U)!!!!!!!!!!!!!!E!!!!!!!!!!!!!!!!!!!!!!!!!#A!!!!!!!!!3!!!!!!!!!!!"!!A!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
<Property Name="NI.ClassItem.Flags" Type="Int">0</Property>
<Property Name="NI.ClassItem.IsStaticMethod" Type="Bool">true</Property>
Expand All @@ -73,6 +73,15 @@
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1342710289</Property>
</Item>
<Item Name="is_valid_ref.vi" Type="VI" URL="../is_valid_ref.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!%B!!!!#1!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!$*!=!!?!!!@$X2P&lt;7R@:72J&gt;#ZM&gt;GRJ9AV597*M:3ZM&gt;G.M98.T!!F597*M:3"P&gt;81!)%"1!!-!!!!"!!)4:8*S&lt;X)A;7YA+'ZP)'6S=G^S+1!S1(!!(A!!(Q^U&lt;WVM8W6E;81O&lt;(:M;7).6'&amp;C&lt;'5O&lt;(:D&lt;'&amp;T=Q!)6'&amp;C&lt;'5A;7Y!!&amp;1!]!!-!!-!"!!%!!5!"!!%!!1!"!!'!!1!"!!(!A!!?!!!$1A!!!!!!!!!!!!!D1M!!!!!!!!!!!!!!!!!!!!!!!!)!!!!!!!!!!!!!!#1!!!!!!%!#!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
<Property Name="NI.ClassItem.Flags" Type="Int">0</Property>
<Property Name="NI.ClassItem.IsStaticMethod" Type="Bool">false</Property>
<Property Name="NI.ClassItem.MethodScope" Type="UInt">1</Property>
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1082401280</Property>
</Item>
<Item Name="list_items.vi" Type="VI" URL="../list_items.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!&amp;/!!!!#Q!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!"!!!!!Z!-0````]%&lt;'FO:1!!%E"!!!(`````!!5&amp;;82F&lt;8-!-E"Q!"Y!!"]0&gt;'^N&lt;&amp;^F:'FU,GRW&lt;'FC$62B9GRF,GRW9WRB=X-!#62B9GRF)'^V&gt;!!A1&amp;!!!Q!!!!%!!B.F=H*P=C"J&lt;C!I&lt;G]A:8*S&lt;X)J!$*!=!!?!!!@$X2P&lt;7R@:72J&gt;#ZM&gt;GRJ9AV597*M:3ZM&gt;G.M98.T!!B597*M:3"J&lt;A!!91$Q!!Q!!Q!%!!9!"Q!%!!1!"!!%!!A!"!!%!!E$!!"Y!!!.#!!!!!!!!!E!!!!.#Q!!!!!!!!!!!!!!!!!!!!!!!!I!!!!!!!!!!!!!!"!!!!U!!!!-!!!!!!!!!!!!!!%!#A!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
Expand Down Expand Up @@ -110,13 +119,13 @@
<Property Name="NI.ClassItem.State" Type="Int">1342710290</Property>
</Item>
<Item Name="to_item.vi" Type="VI" URL="../to_item.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@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!!!!!!#1!!!!!!!!!!!!!!!!!!!!!!!!!+!!!!!!!!!!!!!!!1!!!!!!%!#!!!!!!</Property>
<Property Name="NI.ClassItem.ExecutionSystem" Type="Int">-1</Property>
<Property Name="NI.ClassItem.Flags" Type="Int">0</Property>
<Property Name="NI.ClassItem.IsStaticMethod" Type="Bool">true</Property>
<Property Name="NI.ClassItem.MethodScope" Type="UInt">1</Property>
<Property Name="NI.ClassItem.Priority" Type="Int">1</Property>
<Property Name="NI.ClassItem.State" Type="Int">1115685392</Property>
<Property Name="NI.ClassItem.State" Type="Int">1082139152</Property>
</Item>
<Item Name="to_string.vi" Type="VI" URL="../to_string.vi">
<Property Name="NI.ClassItem.ConnectorPane" Type="Bin">)!#!!!!!!!)!"1!&amp;!!!-!%!!!@````]!!!!"!!%!!!%]!!!!#A!-1#%'=X2B&gt;(6T!!!,1!-!"'.P:'5!!""!-0````]'=W^V=G.F!!!71&amp;!!!Q!!!!%!!AFF=H*P=C"P&gt;81!$E!Q`````Q2U&lt;WVM!!!%!!!!-E"Q!"Y!!"]0&gt;'^N&lt;&amp;^F:'FU,GRW&lt;'FC$62B9GRF,GRW9WRB=X-!#62B9GRF)'^V&gt;!!A1&amp;!!!Q!!!!%!!B.F=H*P=C"J&lt;C!I&lt;G]A:8*S&lt;X)J!$*!=!!?!!!@$X2P&lt;7R@:72J&gt;#ZM&gt;GRJ9AV597*M:3ZM&gt;G.M98.T!!B597*M:3"J&lt;A!!91$Q!!Q!!Q!%!!5!"A!&amp;!!5!"1!&amp;!!=!"1!&amp;!!A$!!"Y!!!.#!!!#1!!!!!!!!!.#Q!!!!!!!!!!!!!!!!!!!!!!!!I!!!!!!!!!!!!!!"!!!!U!!!!-!!!!!!!!!!!!!!%!#1!!!!!</Property>
Expand Down
Binary file modified lv_src/Table/close.vi
Binary file not shown.
Binary file modified lv_src/Table/contains_item.vi
Binary file not shown.
Binary file modified lv_src/Table/from_item.vi
Binary file not shown.
Binary file modified lv_src/Table/from_reference.vi
Binary file not shown.
Binary file modified lv_src/Table/get_item_by_name.vi
Binary file not shown.
Binary file added lv_src/Table/is_valid_ref.vi
Binary file not shown.
Binary file modified lv_src/Table/list_items.vi
Binary file not shown.
Binary file modified lv_src/Table/remove_item_by_name.vi
Binary file not shown.
Binary file modified lv_src/Table/set_item_by_name.vi
Binary file not shown.
Binary file modified lv_src/Table/to_item.vi
Binary file not shown.
Binary file modified lv_src/Table/to_string.vi
Binary file not shown.
Binary file modified lv_src/dragon_toml_32.dll
Binary file not shown.
Binary file modified lv_src/dragon_toml_64.dll
Binary file not shown.
Binary file modified lv_src/test_toml_reader.vi
Binary file not shown.
Binary file modified lv_src/toml/read_key_integer.vi
Binary file not shown.
Binary file modified lv_src/toml/support/table_delete_subtable_item.vi
Binary file not shown.
Binary file modified lv_src/toml/support/table_get_subtable_item.vi
Binary file not shown.
Binary file modified lv_src/toml/support/table_get_subtable_keys.vi
Binary file not shown.
Binary file modified lv_src/toml/support/table_set_subtable_item.vi
Binary file not shown.
Loading

0 comments on commit 633e299

Please sign in to comment.