From 57e7254f8daf58e534dfebb7d74a83e45222938c Mon Sep 17 00:00:00 2001 From: Peter Harpending Date: Tue, 16 Dec 2025 22:14:07 -0800 Subject: [PATCH] wip: updating version --- ebin/fewd.app | 10 +++++++--- src/fd_cache.erl | 1 + src/fd_httpd.erl | 2 +- src/fd_httpd_client.erl | 2 +- src/fd_httpd_client_man.erl | 2 +- src/fd_httpd_client_sup.erl | 2 +- src/fd_httpd_clients.erl | 2 +- src/fd_httpd_sfc.erl | 1 + src/fd_httpd_sfc_cache.erl | 1 + src/fd_httpd_sfc_entry.erl | 1 + src/fd_httpd_utils.erl | 3 ++- src/fd_sup.erl | 2 +- src/fd_wsp.erl | 1 + src/fewd.erl | 2 +- src/qhl_ws.erl | 1 + src/wfc.erl | 1 + src/wfc_bm.erl | 1 + src/wfc_eval.erl | 1 + src/wfc_eval_context.erl | 1 + src/wfc_ltr.erl | 1 + src/wfc_pp.erl | 1 + src/wfc_read.erl | 1 + src/wfc_sentence.erl | 1 + src/wfc_sftt.erl | 1 + src/wfc_ttfuns.erl | 1 + src/wfc_utils.erl | 1 + src/wfc_word.erl | 1 + src/zj.erl | 2 +- zomp.meta | 4 ++-- 29 files changed, 37 insertions(+), 14 deletions(-) diff --git a/ebin/fewd.app b/ebin/fewd.app index 5ef8bbb..2642d3f 100644 --- a/ebin/fewd.app +++ b/ebin/fewd.app @@ -3,7 +3,11 @@ {registered,[]}, {included_applications,[]}, {applications,[stdlib,kernel]}, - {vsn,"0.1.0"}, - {modules,[fd_client,fd_client_man,fd_client_sup,fd_clients, - fd_sup,fewd]}, + {vsn,"0.2.0"}, + {modules,[fd_cache,fd_httpd,fd_httpd_client,fd_httpd_client_man, + fd_httpd_client_sup,fd_httpd_clients,fd_httpd_sfc, + fd_httpd_sfc_cache,fd_httpd_sfc_entry,fd_httpd_utils, + fd_sup,fd_wsp,fewd,qhl,qhl_ws,wfc,wfc_bm,wfc_eval, + wfc_eval_context,wfc_ltr,wfc_pp,wfc_read,wfc_sentence, + wfc_sftt,wfc_ttfuns,wfc_utils,wfc_word,zj]}, {mod,{fewd,[]}}]}. diff --git a/src/fd_cache.erl b/src/fd_cache.erl index a35fb9a..403a8dd 100644 --- a/src/fd_cache.erl +++ b/src/fd_cache.erl @@ -1,5 +1,6 @@ % @doc storing map #{cookie := Context} -module(fd_cache). +-vsn("0.2.0"). -behavior(gen_server). diff --git a/src/fd_httpd.erl b/src/fd_httpd.erl index b7091e5..7d2c3b6 100644 --- a/src/fd_httpd.erl +++ b/src/fd_httpd.erl @@ -1,5 +1,5 @@ -module(fd_httpd). --vsn("0.1.0"). +-vsn("0.2.0"). -behaviour(supervisor). -author("Peter Harpending "). -copyright("Peter Harpending "). diff --git a/src/fd_httpd_client.erl b/src/fd_httpd_client.erl index 4e9b808..4056973 100644 --- a/src/fd_httpd_client.erl +++ b/src/fd_httpd_client.erl @@ -14,7 +14,7 @@ %%% @end -module(fd_httpd_client). --vsn("0.1.0"). +-vsn("0.2.0"). -author("Peter Harpending "). -copyright("Peter Harpending "). -license("BSD-2-Clause-FreeBSD"). diff --git a/src/fd_httpd_client_man.erl b/src/fd_httpd_client_man.erl index 5c6ce8f..150f1bf 100644 --- a/src/fd_httpd_client_man.erl +++ b/src/fd_httpd_client_man.erl @@ -10,7 +10,7 @@ %%% @end -module(fd_httpd_client_man). --vsn("0.1.0"). +-vsn("0.2.0"). -behavior(gen_server). -author("Peter Harpending "). -copyright("Peter Harpending "). diff --git a/src/fd_httpd_client_sup.erl b/src/fd_httpd_client_sup.erl index f150aed..43b0d81 100644 --- a/src/fd_httpd_client_sup.erl +++ b/src/fd_httpd_client_sup.erl @@ -14,7 +14,7 @@ %%% @end -module(fd_httpd_client_sup). --vsn("0.1.0"). +-vsn("0.2.0"). -behaviour(supervisor). -author("Peter Harpending "). -copyright("Peter Harpending "). diff --git a/src/fd_httpd_clients.erl b/src/fd_httpd_clients.erl index 6ffcf09..d034120 100644 --- a/src/fd_httpd_clients.erl +++ b/src/fd_httpd_clients.erl @@ -9,7 +9,7 @@ %%% @end -module(fd_httpd_clients). --vsn("0.1.0"). +-vsn("0.2.0"). -behavior(supervisor). -author("Peter Harpending "). -copyright("Peter Harpending "). diff --git a/src/fd_httpd_sfc.erl b/src/fd_httpd_sfc.erl index ad25886..f1730ba 100644 --- a/src/fd_httpd_sfc.erl +++ b/src/fd_httpd_sfc.erl @@ -1,5 +1,6 @@ % @doc static file cache -module(fd_httpd_sfc). +-vsn("0.2.0"). -behavior(gen_server). diff --git a/src/fd_httpd_sfc_cache.erl b/src/fd_httpd_sfc_cache.erl index 235d76a..4708176 100644 --- a/src/fd_httpd_sfc_cache.erl +++ b/src/fd_httpd_sfc_cache.erl @@ -1,6 +1,7 @@ % @doc % cache data management -module(fd_httpd_sfc_cache). +-vsn("0.2.0"). -export_type([ cache/0 diff --git a/src/fd_httpd_sfc_entry.erl b/src/fd_httpd_sfc_entry.erl index 811f6d3..416aa97 100644 --- a/src/fd_httpd_sfc_entry.erl +++ b/src/fd_httpd_sfc_entry.erl @@ -2,6 +2,7 @@ % % this spams the filesystem, so it's not "pure" code -module(fd_httpd_sfc_entry). +-vsn("0.2.0"). -export_type([ encoding/0, diff --git a/src/fd_httpd_utils.erl b/src/fd_httpd_utils.erl index 1956d59..2c11c8e 100644 --- a/src/fd_httpd_utils.erl +++ b/src/fd_httpd_utils.erl @@ -1,5 +1,6 @@ % @doc http utility functions -module(fd_httpd_utils). +-vsn("0.2.0"). -export([ new_cookie/0, @@ -113,6 +114,6 @@ add_headers(Hs, Body) -> default_headers(Body) -> BodySize = byte_size(iolist_to_binary(Body)), - #{"Server" => "fewd 0.1.0", + #{"Server" => "fewd 0.2.0", "Date" => qhl:ridiculous_web_date(), "Content-Length" => io_lib:format("~p", [BodySize])}. diff --git a/src/fd_sup.erl b/src/fd_sup.erl index a82a8ed..77141e6 100644 --- a/src/fd_sup.erl +++ b/src/fd_sup.erl @@ -12,7 +12,7 @@ %%% @end -module(fd_sup). --vsn("0.1.0"). +-vsn("0.2.0"). -behaviour(supervisor). -author("Peter Harpending "). -copyright("Peter Harpending "). diff --git a/src/fd_wsp.erl b/src/fd_wsp.erl index b8d14c0..2a80daa 100644 --- a/src/fd_wsp.erl +++ b/src/fd_wsp.erl @@ -7,6 +7,7 @@ % % for each websocket message it gets -module(fd_wsp). +-vsn("0.2.0"). -behavior(gen_server). diff --git a/src/fewd.erl b/src/fewd.erl index bee61ec..7461ef3 100644 --- a/src/fewd.erl +++ b/src/fewd.erl @@ -3,7 +3,7 @@ %%% @end -module(fewd). --vsn("0.1.0"). +-vsn("0.2.0"). -behavior(application). -author("Peter Harpending "). -copyright("Peter Harpending "). diff --git a/src/qhl_ws.erl b/src/qhl_ws.erl index 01a02ca..f14ab86 100644 --- a/src/qhl_ws.erl +++ b/src/qhl_ws.erl @@ -2,6 +2,7 @@ % % ref: https://datatracker.ietf.org/doc/html/rfc6455 -module(qhl_ws). +-vsn("0.2.0"). -export_type([ opcode/0, diff --git a/src/wfc.erl b/src/wfc.erl index 616a303..5fe6b29 100644 --- a/src/wfc.erl +++ b/src/wfc.erl @@ -1,6 +1,7 @@ % @doc % porcelain wfc ops -module(wfc). +-vsn("0.2.0"). -export_type([ sentence/0 diff --git a/src/wfc_bm.erl b/src/wfc_bm.erl index 878ad5c..0d7daf4 100644 --- a/src/wfc_bm.erl +++ b/src/wfc_bm.erl @@ -1,6 +1,7 @@ % @doc % bit matrices -module(wfc_bm). +-vsn("0.2.0"). -export_type([ bit/0, diff --git a/src/wfc_eval.erl b/src/wfc_eval.erl index 304bb5e..4c88e04 100644 --- a/src/wfc_eval.erl +++ b/src/wfc_eval.erl @@ -1,4 +1,5 @@ -module(wfc_eval). +-vsn("0.2.0"). -export_type([ ]). diff --git a/src/wfc_eval_context.erl b/src/wfc_eval_context.erl index 22e72e8..3258009 100644 --- a/src/wfc_eval_context.erl +++ b/src/wfc_eval_context.erl @@ -1,4 +1,5 @@ -module(wfc_eval_context). +-vsn("0.2.0"). -export_type([ context/0 diff --git a/src/wfc_ltr.erl b/src/wfc_ltr.erl index d198080..395fd50 100644 --- a/src/wfc_ltr.erl +++ b/src/wfc_ltr.erl @@ -7,6 +7,7 @@ % % mathematically, this is a variable like "a", "b", "c", etc -module(wfc_ltr). +-vsn("0.2.0"). -export_type([ ltr/0 diff --git a/src/wfc_pp.erl b/src/wfc_pp.erl index bc2915f..c2b35ca 100644 --- a/src/wfc_pp.erl +++ b/src/wfc_pp.erl @@ -1,4 +1,5 @@ -module(wfc_pp). +-vsn("0.2.0"). -export([ eval_result/1, diff --git a/src/wfc_read.erl b/src/wfc_read.erl index a492147..53a1946 100644 --- a/src/wfc_read.erl +++ b/src/wfc_read.erl @@ -1,4 +1,5 @@ -module(wfc_read). +-vsn("0.2.0"). -export_type([ ]). diff --git a/src/wfc_sentence.erl b/src/wfc_sentence.erl index 6422468..7a59bf7 100644 --- a/src/wfc_sentence.erl +++ b/src/wfc_sentence.erl @@ -6,6 +6,7 @@ % % empty sentence is 0 -module(wfc_sentence). +-vsn("0.2.0"). -export_type([ sentence/0 diff --git a/src/wfc_sftt.erl b/src/wfc_sftt.erl index 435db20..d1bea8a 100644 --- a/src/wfc_sftt.erl +++ b/src/wfc_sftt.erl @@ -1,6 +1,7 @@ % @doc % sentence-fun <-> truth table logic -module(wfc_sftt). +-vsn("0.2.0"). -export_type([ sf/0, tt/0 diff --git a/src/wfc_ttfuns.erl b/src/wfc_ttfuns.erl index 0244420..ef1426c 100644 --- a/src/wfc_ttfuns.erl +++ b/src/wfc_ttfuns.erl @@ -1,6 +1,7 @@ % @doc % library of truth tables -module(wfc_ttfuns). +-vsn("0.2.0"). -export_type([ bit/0, diff --git a/src/wfc_utils.erl b/src/wfc_utils.erl index e2f1dc5..9abd2f8 100644 --- a/src/wfc_utils.erl +++ b/src/wfc_utils.erl @@ -1,5 +1,6 @@ % @doc misc utility functions -module(wfc_utils). +-vsn("0.2.0"). -export([err/2, str/2, emsg/2]). diff --git a/src/wfc_word.erl b/src/wfc_word.erl index 8ffc6e5..ad65992 100644 --- a/src/wfc_word.erl +++ b/src/wfc_word.erl @@ -13,6 +13,7 @@ % % operations assume all inputs are valid -module(wfc_word). +-vsn("0.2.0"). -export_type([ word/0 diff --git a/src/zj.erl b/src/zj.erl index 0040ca8..9f5faa2 100644 --- a/src/zj.erl +++ b/src/zj.erl @@ -5,7 +5,7 @@ %%% @end -module(zj). --vsn("1.1.2"). +-vsn("0.2.0"). -author("Craig Everett "). -copyright("Craig Everett "). -license("MIT"). diff --git a/zomp.meta b/zomp.meta index 55725a6..688e397 100644 --- a/zomp.meta +++ b/zomp.meta @@ -1,10 +1,10 @@ {name,"front end web development lab"}. {type,app}. {modules,[]}. +{author,"Peter Harpending"}. {prefix,"fd"}. {desc,"Front End Web Dev in Erlang stuff"}. -{author,"Peter Harpending"}. -{package_id,{"otpr","fewd",{0,1,0}}}. +{package_id,{"otpr","fewd",{0,2,0}}}. {deps,[]}. {key_name,none}. {a_email,"peterharpending@qpq.swiss"}.