wip: updating version
This commit is contained in:
parent
e379a86020
commit
57e7254f8d
@ -3,7 +3,11 @@
|
|||||||
{registered,[]},
|
{registered,[]},
|
||||||
{included_applications,[]},
|
{included_applications,[]},
|
||||||
{applications,[stdlib,kernel]},
|
{applications,[stdlib,kernel]},
|
||||||
{vsn,"0.1.0"},
|
{vsn,"0.2.0"},
|
||||||
{modules,[fd_client,fd_client_man,fd_client_sup,fd_clients,
|
{modules,[fd_cache,fd_httpd,fd_httpd_client,fd_httpd_client_man,
|
||||||
fd_sup,fewd]},
|
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,[]}}]}.
|
{mod,{fewd,[]}}]}.
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
% @doc storing map #{cookie := Context}
|
% @doc storing map #{cookie := Context}
|
||||||
-module(fd_cache).
|
-module(fd_cache).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-behavior(gen_server).
|
-behavior(gen_server).
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
-module(fd_httpd).
|
-module(fd_httpd).
|
||||||
-vsn("0.1.0").
|
-vsn("0.2.0").
|
||||||
-behaviour(supervisor).
|
-behaviour(supervisor).
|
||||||
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
|
|
||||||
-module(fd_httpd_client).
|
-module(fd_httpd_client).
|
||||||
-vsn("0.1.0").
|
-vsn("0.2.0").
|
||||||
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
-license("BSD-2-Clause-FreeBSD").
|
-license("BSD-2-Clause-FreeBSD").
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
|
|
||||||
-module(fd_httpd_client_man).
|
-module(fd_httpd_client_man).
|
||||||
-vsn("0.1.0").
|
-vsn("0.2.0").
|
||||||
-behavior(gen_server).
|
-behavior(gen_server).
|
||||||
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
|
|
||||||
-module(fd_httpd_client_sup).
|
-module(fd_httpd_client_sup).
|
||||||
-vsn("0.1.0").
|
-vsn("0.2.0").
|
||||||
-behaviour(supervisor).
|
-behaviour(supervisor).
|
||||||
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
|
|
||||||
-module(fd_httpd_clients).
|
-module(fd_httpd_clients).
|
||||||
-vsn("0.1.0").
|
-vsn("0.2.0").
|
||||||
-behavior(supervisor).
|
-behavior(supervisor).
|
||||||
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
% @doc static file cache
|
% @doc static file cache
|
||||||
-module(fd_httpd_sfc).
|
-module(fd_httpd_sfc).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-behavior(gen_server).
|
-behavior(gen_server).
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
% @doc
|
% @doc
|
||||||
% cache data management
|
% cache data management
|
||||||
-module(fd_httpd_sfc_cache).
|
-module(fd_httpd_sfc_cache).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
cache/0
|
cache/0
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
%
|
%
|
||||||
% this spams the filesystem, so it's not "pure" code
|
% this spams the filesystem, so it's not "pure" code
|
||||||
-module(fd_httpd_sfc_entry).
|
-module(fd_httpd_sfc_entry).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
encoding/0,
|
encoding/0,
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
% @doc http utility functions
|
% @doc http utility functions
|
||||||
-module(fd_httpd_utils).
|
-module(fd_httpd_utils).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export([
|
-export([
|
||||||
new_cookie/0,
|
new_cookie/0,
|
||||||
@ -113,6 +114,6 @@ add_headers(Hs, Body) ->
|
|||||||
|
|
||||||
default_headers(Body) ->
|
default_headers(Body) ->
|
||||||
BodySize = byte_size(iolist_to_binary(Body)),
|
BodySize = byte_size(iolist_to_binary(Body)),
|
||||||
#{"Server" => "fewd 0.1.0",
|
#{"Server" => "fewd 0.2.0",
|
||||||
"Date" => qhl:ridiculous_web_date(),
|
"Date" => qhl:ridiculous_web_date(),
|
||||||
"Content-Length" => io_lib:format("~p", [BodySize])}.
|
"Content-Length" => io_lib:format("~p", [BodySize])}.
|
||||||
|
|||||||
@ -12,7 +12,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
|
|
||||||
-module(fd_sup).
|
-module(fd_sup).
|
||||||
-vsn("0.1.0").
|
-vsn("0.2.0").
|
||||||
-behaviour(supervisor).
|
-behaviour(supervisor).
|
||||||
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
|
|||||||
@ -7,6 +7,7 @@
|
|||||||
%
|
%
|
||||||
% for each websocket message it gets
|
% for each websocket message it gets
|
||||||
-module(fd_wsp).
|
-module(fd_wsp).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-behavior(gen_server).
|
-behavior(gen_server).
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
|
|
||||||
-module(fewd).
|
-module(fewd).
|
||||||
-vsn("0.1.0").
|
-vsn("0.2.0").
|
||||||
-behavior(application).
|
-behavior(application).
|
||||||
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
-author("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
-copyright("Peter Harpending <peterharpending@qpq.swiss>").
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
%
|
%
|
||||||
% ref: https://datatracker.ietf.org/doc/html/rfc6455
|
% ref: https://datatracker.ietf.org/doc/html/rfc6455
|
||||||
-module(qhl_ws).
|
-module(qhl_ws).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
opcode/0,
|
opcode/0,
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
% @doc
|
% @doc
|
||||||
% porcelain wfc ops
|
% porcelain wfc ops
|
||||||
-module(wfc).
|
-module(wfc).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
sentence/0
|
sentence/0
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
% @doc
|
% @doc
|
||||||
% bit matrices
|
% bit matrices
|
||||||
-module(wfc_bm).
|
-module(wfc_bm).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
bit/0,
|
bit/0,
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
-module(wfc_eval).
|
-module(wfc_eval).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
]).
|
]).
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
-module(wfc_eval_context).
|
-module(wfc_eval_context).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
context/0
|
context/0
|
||||||
|
|||||||
@ -7,6 +7,7 @@
|
|||||||
%
|
%
|
||||||
% mathematically, this is a variable like "a", "b", "c", etc
|
% mathematically, this is a variable like "a", "b", "c", etc
|
||||||
-module(wfc_ltr).
|
-module(wfc_ltr).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
ltr/0
|
ltr/0
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
-module(wfc_pp).
|
-module(wfc_pp).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export([
|
-export([
|
||||||
eval_result/1,
|
eval_result/1,
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
-module(wfc_read).
|
-module(wfc_read).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
]).
|
]).
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
%
|
%
|
||||||
% empty sentence is 0
|
% empty sentence is 0
|
||||||
-module(wfc_sentence).
|
-module(wfc_sentence).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
sentence/0
|
sentence/0
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
% @doc
|
% @doc
|
||||||
% sentence-fun <-> truth table logic
|
% sentence-fun <-> truth table logic
|
||||||
-module(wfc_sftt).
|
-module(wfc_sftt).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
sf/0, tt/0
|
sf/0, tt/0
|
||||||
|
|||||||
@ -1,6 +1,7 @@
|
|||||||
% @doc
|
% @doc
|
||||||
% library of truth tables
|
% library of truth tables
|
||||||
-module(wfc_ttfuns).
|
-module(wfc_ttfuns).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
bit/0,
|
bit/0,
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
% @doc misc utility functions
|
% @doc misc utility functions
|
||||||
-module(wfc_utils).
|
-module(wfc_utils).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export([err/2, str/2, emsg/2]).
|
-export([err/2, str/2, emsg/2]).
|
||||||
|
|
||||||
|
|||||||
@ -13,6 +13,7 @@
|
|||||||
%
|
%
|
||||||
% operations assume all inputs are valid
|
% operations assume all inputs are valid
|
||||||
-module(wfc_word).
|
-module(wfc_word).
|
||||||
|
-vsn("0.2.0").
|
||||||
|
|
||||||
-export_type([
|
-export_type([
|
||||||
word/0
|
word/0
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
%%% @end
|
%%% @end
|
||||||
|
|
||||||
-module(zj).
|
-module(zj).
|
||||||
-vsn("1.1.2").
|
-vsn("0.2.0").
|
||||||
-author("Craig Everett <zxq9@zxq9.com>").
|
-author("Craig Everett <zxq9@zxq9.com>").
|
||||||
-copyright("Craig Everett <zxq9@zxq9.com>").
|
-copyright("Craig Everett <zxq9@zxq9.com>").
|
||||||
-license("MIT").
|
-license("MIT").
|
||||||
|
|||||||
@ -1,10 +1,10 @@
|
|||||||
{name,"front end web development lab"}.
|
{name,"front end web development lab"}.
|
||||||
{type,app}.
|
{type,app}.
|
||||||
{modules,[]}.
|
{modules,[]}.
|
||||||
|
{author,"Peter Harpending"}.
|
||||||
{prefix,"fd"}.
|
{prefix,"fd"}.
|
||||||
{desc,"Front End Web Dev in Erlang stuff"}.
|
{desc,"Front End Web Dev in Erlang stuff"}.
|
||||||
{author,"Peter Harpending"}.
|
{package_id,{"otpr","fewd",{0,2,0}}}.
|
||||||
{package_id,{"otpr","fewd",{0,1,0}}}.
|
|
||||||
{deps,[]}.
|
{deps,[]}.
|
||||||
{key_name,none}.
|
{key_name,none}.
|
||||||
{a_email,"peterharpending@qpq.swiss"}.
|
{a_email,"peterharpending@qpq.swiss"}.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user