Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions-bot committed Dec 19, 2024
1 parent 8c72e08 commit 7b58b6a
Show file tree
Hide file tree
Showing 36 changed files with 195 additions and 236 deletions.
51 changes: 16 additions & 35 deletions docs/html/globals_8hpp_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,47 +94,28 @@
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> </div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="keyword">namespace </span>vs{</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span> </div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="comment">/*</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="comment">extern app_env_t env; //Computed basic environment based on user config &amp; shell env</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="comment">extern path_env_t path_env; //Computed paths</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="comment"></span> </div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="comment">//extern policies_t policy;</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span><span class="comment"> </span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="comment">extern js_rt_t js_rt;</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="comment">extern cache::mem_storage_t mem_storage;</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="comment">//extern cache::kv_storage_t kv_storage;</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span><span class="comment">//extern cache::res_storage_t res_storage;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span><span class="comment">//extern cache::secrets_t secrets;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span><span class="comment"></span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="comment">extern vs_test_debug_t debug;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="comment"></span> </div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span><span class="comment">extern field_models_t value_models;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span><span class="comment">*/</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> </div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
<div class="foldopen" id="foldopen00037" data-start="{" data-end="};">
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="structvs_1_1global__ctx__t.html"> 37</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structvs_1_1global__ctx__t.html">global_ctx_t</a>{</div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> <a class="code hl_struct" href="structvs_1_1app__env__t.html">app_env_t</a> env; </div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> <a class="code hl_struct" href="structvs_1_1path__env__t.html">path_env_t</a> path_env;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <a class="code hl_struct" href="structvs_1_1js__rt__t.html">js_rt_t</a> js_rt;</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> <a class="code hl_class" href="classvs_1_1cache_1_1mem__storage__t.html">cache::mem_storage_t</a> mem_storage;</div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> <a class="code hl_struct" href="structvs_1_1field__models__t.html">field_models_t</a> value_models;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span>};</div>
<div class="foldopen" id="foldopen00018" data-start="{" data-end="};">
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="structvs_1_1global__ctx__t.html"> 18</a></span><span class="keyword">struct </span><a class="code hl_struct" href="structvs_1_1global__ctx__t.html">global_ctx_t</a>{</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <a class="code hl_struct" href="structvs_1_1app__env__t.html">app_env_t</a> env; </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <a class="code hl_struct" href="structvs_1_1path__env__t.html">path_env_t</a> path_env;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> <a class="code hl_struct" href="structvs_1_1js__rt__t.html">js_rt_t</a> js_rt;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <a class="code hl_class" href="classvs_1_1cache_1_1mem__storage__t.html">cache::mem_storage_t</a> mem_storage;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <a class="code hl_struct" href="structvs_1_1field__models__t.html">field_models_t</a> value_models;</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span>};</div>
</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> </div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span><span class="keyword">namespace </span>singleton{</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span><span class="keyword">extern</span> <a class="code hl_struct" href="structvs_1_1vs__test__debug__t.html">vs_test_debug_t</a> debug;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span>}</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> </div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span>}</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span><span class="keyword">namespace </span>singleton{</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span><span class="keyword">extern</span> <a class="code hl_struct" href="structvs_1_1vs__test__debug__t.html">vs_test_debug_t</a> debug;</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span>}</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span>}</div>
<div class="ttc" id="aclassvs_1_1cache_1_1mem__storage__t_html"><div class="ttname"><a href="classvs_1_1cache_1_1mem__storage__t.html">vs::cache::mem_storage_t</a></div><div class="ttdef"><b>Definition</b> memory-storage.hpp:61</div></div>
<div class="ttc" id="aenv_8hpp_html"><div class="ttname"><a href="env_8hpp.html">env.hpp</a></div><div class="ttdoc">Utilities to set up the base environment for paths. Ideally portable.</div></div>
<div class="ttc" id="apaths_8hpp_html"><div class="ttname"><a href="paths_8hpp.html">paths.hpp</a></div><div class="ttdoc">Utilities to handle virtual and real paths in a safe and portable way.</div></div>
<div class="ttc" id="astructvs_1_1app__env__t_html"><div class="ttname"><a href="structvs_1_1app__env__t.html">vs::app_env_t</a></div><div class="ttdef"><b>Definition</b> app-env.hpp:9</div></div>
<div class="ttc" id="astructvs_1_1field__models__t_html"><div class="ttname"><a href="structvs_1_1field__models__t.html">vs::field_models_t</a></div><div class="ttdef"><b>Definition</b> ui-frame.hpp:33</div></div>
<div class="ttc" id="astructvs_1_1global__ctx__t_html"><div class="ttname"><a href="structvs_1_1global__ctx__t.html">vs::global_ctx_t</a></div><div class="ttdoc">Global context structure.</div><div class="ttdef"><b>Definition</b> globals.hpp:37</div></div>
<div class="ttc" id="astructvs_1_1global__ctx__t_html"><div class="ttname"><a href="structvs_1_1global__ctx__t.html">vs::global_ctx_t</a></div><div class="ttdoc">Global context structure.</div><div class="ttdef"><b>Definition</b> globals.hpp:18</div></div>
<div class="ttc" id="astructvs_1_1js__rt__t_html"><div class="ttname"><a href="structvs_1_1js__rt__t.html">vs::js_rt_t</a></div><div class="ttdef"><b>Definition</b> env.hpp:22</div></div>
<div class="ttc" id="astructvs_1_1path__env__t_html"><div class="ttname"><a href="structvs_1_1path__env__t.html">vs::path_env_t</a></div><div class="ttdef"><b>Definition</b> paths.hpp:131</div></div>
<div class="ttc" id="astructvs_1_1vs__test__debug__t_html"><div class="ttname"><a href="structvs_1_1vs__test__debug__t.html">vs::vs_test_debug_t</a></div><div class="ttdef"><b>Definition</b> env.hpp:29</div></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/loader_8hpp_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span>}</div>
<div class="ttc" id="astructvs_1_1app__loader_html"><div class="ttname"><a href="structvs_1_1app__loader.html">vs::app_loader</a></div><div class="ttdef"><b>Definition</b> loader.hpp:11</div></div>
<div class="ttc" id="astructvs_1_1global__ctx__t_html"><div class="ttname"><a href="structvs_1_1global__ctx__t.html">vs::global_ctx_t</a></div><div class="ttdoc">Global context structure.</div><div class="ttdef"><b>Definition</b> globals.hpp:37</div></div>
<div class="ttc" id="astructvs_1_1global__ctx__t_html"><div class="ttname"><a href="structvs_1_1global__ctx__t.html">vs::global_ctx_t</a></div><div class="ttdoc">Global context structure.</div><div class="ttdef"><b>Definition</b> globals.hpp:18</div></div>
<div class="ttc" id="astructvs_1_1ui__tree__xml_html"><div class="ttname"><a href="structvs_1_1ui__tree__xml.html">vs::ui_tree_xml</a></div><div class="ttdef"><b>Definition</b> ui-tree.xml.hpp:11</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
Expand Down
38 changes: 20 additions & 18 deletions docs/html/memory-storage_8hpp_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,29 +164,31 @@
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> entry_it fetch_from_buffer(<span class="keyword">const</span> mem_key_t&amp; path, std::span&lt;uint8_t const&gt; str, entry_t::format_t format);</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> entry_it fetch_from_cstring(<span class="keyword">const</span> mem_key_t&amp; path, std::string_view str, entry_t::format_t format);</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span> entry_it fetch_from_fs(<span class="keyword">const</span> mem_key_t&amp; path, entry_t::format_t format);</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span><span class="preprocessor"># ifdef HAS_CURL</span></div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"> 82</span><span class="preprocessor"># if defined VS_USE_NETWORKING_CURL || defined VS_USE_NETWORKING_SIMPLE</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> entry_it fetch_from_http(<span class="keyword">const</span> mem_key_t&amp; path, entry_t::format_t format);</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span> entry_it fetch_from_https(<span class="keyword">const</span> mem_key_t&amp; path, entry_t::format_t format);</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span> entry_it fetch_from_gemini(<span class="keyword">const</span> mem_key_t&amp; path, entry_t::format_t format);</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> entry_it fetch_from_res_storage(<span class="keyword">const</span> mem_key_t&amp; path, entry_t::format_t format);</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> entry_it fetch_from_shared(<span class="keyword">const</span> mem_key_t&amp; key, <span class="keyword">const</span> std::shared_ptr&lt;void&gt;&amp; src, entry_t::format_t format);</div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> </div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> <span class="keywordtype">void</span> drop(<span class="keyword">const</span> mem_key_t&amp;);</div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> entry_t* get(<span class="keyword">const</span> mem_key_t&amp;);</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="comment">//Remove all entries which are no longer needed (be it because already consumed, or because copies of shared_ptr are all in place)</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keywordtype">void</span> cleanup();</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span>};</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"> 84</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"> 85</span><span class="preprocessor"># ifdef VS_USE_NETWORKING_CURL</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"> 86</span> entry_it fetch_from_https(<span class="keyword">const</span> mem_key_t&amp; path, entry_t::format_t format);</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"> 87</span> entry_it fetch_from_gemini(<span class="keyword">const</span> mem_key_t&amp; path, entry_t::format_t format);</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span><span class="preprocessor"># endif</span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"> 89</span> entry_it fetch_from_res_storage(<span class="keyword">const</span> mem_key_t&amp; path, entry_t::format_t format);</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"> 90</span> entry_it fetch_from_shared(<span class="keyword">const</span> mem_key_t&amp; key, <span class="keyword">const</span> std::shared_ptr&lt;void&gt;&amp; src, entry_t::format_t format);</div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"> 91</span> </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"> 92</span> </div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> <span class="keywordtype">void</span> drop(<span class="keyword">const</span> mem_key_t&amp;);</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"> 94</span> </div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> entry_t* get(<span class="keyword">const</span> mem_key_t&amp;);</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> </div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> <span class="comment">//Remove all entries which are no longer needed (be it because already consumed, or because copies of shared_ptr are all in place)</span></div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> <span class="keywordtype">void</span> cleanup();</div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span>};</div>
</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span> </div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span>}</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span> </div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"> 101</span> </div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"> 102</span>}</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"> 103</span> </div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"> 104</span>}</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"> 105</span> </div>
<div class="ttc" id="aclassvs_1_1cache_1_1mem__storage__t_html"><div class="ttname"><a href="classvs_1_1cache_1_1mem__storage__t.html">vs::cache::mem_storage_t</a></div><div class="ttdef"><b>Definition</b> memory-storage.hpp:61</div></div>
<div class="ttc" id="astructvs_1_1cache_1_1mem__key__t_html"><div class="ttname"><a href="structvs_1_1cache_1_1mem__key__t.html">vs::cache::mem_key_t</a></div><div class="ttdef"><b>Definition</b> memory-storage.hpp:26</div></div>
<div class="ttc" id="astructvs_1_1cache_1_1mem__storage__t_1_1entry__t_html"><div class="ttname"><a href="structvs_1_1cache_1_1mem__storage__t_1_1entry__t.html">vs::cache::mem_storage_t::entry_t</a></div><div class="ttdef"><b>Definition</b> memory-storage.hpp:63</div></div>
Expand Down
2 changes: 1 addition & 1 deletion docs/html/structvs_1_1ui__tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
frame_mode_t&#160;</td><td class="memItemRight" valign="bottom"><b>mode</b> = frame_mode_t::AUTO</td></tr>
<tr class="separator:a6ef2e7d810641b191c719cee05cb9e97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a693dbf40f4b56caba6c96e347f88726d" id="r_a693dbf40f4b56caba6c96e347f88726d"><td class="memItemLeft" align="right" valign="top"><a id="a693dbf40f4b56caba6c96e347f88726d" name="a693dbf40f4b56caba6c96e347f88726d"></a>
<a class="el" href="structvs_1_1global__ctx__t.html">global_ctx_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>globals</b></td></tr>
<a class="el" href="structvs_1_1global__ctx__t.html">global_ctx_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>globals</b> = nullptr</td></tr>
<tr class="separator:a693dbf40f4b56caba6c96e347f88726d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab209fadff9a814fb94b0d4045491a9f3" id="r_ab209fadff9a814fb94b0d4045491a9f3"><td class="memItemLeft" align="right" valign="top"><a id="ab209fadff9a814fb94b0d4045491a9f3" name="ab209fadff9a814fb94b0d4045491a9f3"></a>
<a class="el" href="structvs_1_1pipelines_1_1link__with__t.html">pipelines::link_with_t</a>&#160;</td><td class="memItemRight" valign="bottom"><b>link_with</b> = {nullptr, nullptr}</td></tr>
Expand Down
Loading

0 comments on commit 7b58b6a

Please sign in to comment.