From 65deae4adea0d3851a47e108d8e4e93015c087d4 Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Sun, 7 Apr 2024 16:12:01 -0400 Subject: [PATCH 01/25] make benchmark images responsive --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index d99ae53..7689f9d 100644 --- a/index.html +++ b/index.html @@ -251,11 +251,11 @@

Benchmark

Performance comparison using different event notification mech - + - + From ec20b0c3fb4520ae2ee2d85633c4513f5cb96340 Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Mon, 29 Apr 2024 23:09:25 -0400 Subject: [PATCH 02/25] outline release info json structure --- content/releases.json | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 content/releases.json diff --git a/content/releases.json b/content/releases.json new file mode 100644 index 0000000..d7c0853 --- /dev/null +++ b/content/releases.json @@ -0,0 +1,21 @@ +{ + "stable releases":{ + "latest release":{}, + + "other releases":[ + {} + ] + }, + + "release candidates":[ + {} + ], + + "alpha releases":[ + {} + ], + + "older releases":[ + {} + ] +} \ No newline at end of file From 3cde3014bbe8960f8bada037738814432c9d1588 Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Tue, 14 May 2024 11:55:32 -0400 Subject: [PATCH 03/25] finish adding stable releases --- content/releases.json | 113 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 110 insertions(+), 3 deletions(-) diff --git a/content/releases.json b/content/releases.json index d7c0853..5e2f5bd 100644 --- a/content/releases.json +++ b/content/releases.json @@ -1,9 +1,116 @@ { + "release info template": + { + "name":"", + "version":"", + "release date":"", + "download link":"", + "GPG Sig":"", + "change log":"", + "PR":"", + "comments":[""] + }, + "stable releases":{ - "latest release":{}, + "latest release": { + "name":"libevent-2.1.12-stable.tar.gz", + "version":"2.1.12", + "release date":"2020-07-05", + "download link":"https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz", + "GPG Sig":"https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz.asc", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.12-stable/ChangeLog", + "PR":"https://github.com/libevent/libevent/pull/1045", + "comments":[] + }, - "other releases":[ - {} + "other stable releases":[ + { + "name":"libevent-2.1.11-stable.tar.gz", + "version":"2.1.11", + "release date":"2019-08-01 (ABI changed)", + "download link":"https://github.com/libevent/libevent/releases/download/release-2.1.11-stable/libevent-2.1.11-stable.tar.gz", + "GPG Sig":"https://github.com/libevent/libevent/releases/download/release-2.1.11-stable/libevent-2.1.11-stable.tar.gz.asc", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.11-stable/ChangeLog" + }, + { + "name":"libevent-2.1.10-stable.tar.gz", + "version":"2.1.10", + "release date":"2019-05-26", + "download link":"https://github.com/libevent/libevent/releases/download/release-2.1.10-stable/libevent-2.1.10-stable.tar.gz", + "GPG Sig":"https://github.com/libevent/libevent/releases/download/release-2.1.10-stable/libevent-2.1.10-stable.tar.gz.asc", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.10-stable/ChangeLog" + }, + { + "name":"libevent-2.1.8-stable.tar.gz", + "version":"2.1.8", + "release date":"2017-01-22", + "download link":"https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz", + "GPG Sig":"https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz.asc", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.8-stable/ChangeLog", + "comments":["Changelog to follow"] + }, + { + "name":"libevent-2.0.22-stable.tar.gz", + "version":"2.0.22", + "release date":"2014-01-05", + "download link":"https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz", + "GPG Sig":"https://github.com/libevent/libevent/releases/download/release-2.0.22-stable/libevent-2.0.22-stable.tar.gz.asc", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.0.22-stable/ChangeLog", + "comments":["Changelog to follow"] + }, + { + "name":"libevent-2.0.21-stable.tar.gz", + "version":"2.0.21", + "release date":"2012-11-18", + "download link":"https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz", + "GPG Sig":"https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz.asc", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.0.21-stable/ChangeLog", + "comments":["Several SSL correctness and performance fixes.", + "Build fixes for mingw64", + "Avoid a few resource leaks", + "and more..." + ] + }, + { + "name":"libevent-2.0.20-stable.tar.gz", + "version":"2.0.20", + "release date":"2012-08-23", + "download link":"https://github.com/downloads/libevent/libevent/libevent-2.0.20-stable.tar.gz", + "GPG Sig":"https://github.com/downloads/libevent/libevent/libevent-2.0.20-stable.tar.gz.asc", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.0.20-stable/ChangeLog", + "comments": ["Fix a crash on windows.", + "Make event_pending() threadsafe.", + "Another SSL callback behavior fixes", + "Avoid an evdns segfault (Greg Hazel)", + "and more..." + ] + }, + { + "name":"libevent-1.4.15-stable.tar.gz", + "version":"1.4.15", + "release date":"2015-01-05", + "download link":"https://github.com/libevent/libevent/archive/release-1.4.15-stable.tar.gz", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-1.4.15-stable/ChangeLog", + "comments":["Changelog to follow"] + }, + { + "name":"libevent-1.4.14b-stable.tar.gz", + "version":"1.4.14b", + "release date":"2010-06-07", + "download link":"https://github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz", + "GPG Sig":"https://github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz.sig", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-1.4.14b-stable/ChangeLog", + "comments": ["Backport evbuffer_readln()", + "Fix a crash when reading badly formatted resolve.conf (Yasuoka Masahiko)", + "Make evutil_make_socket_nonblocking() leave any other flags alone (Jardel Weyrich)", + "Adjusted fcntl() retval comparison on evutil_make_socket_nonblocking() (Jardel Weyrich)", + "Re-add event_siglcb; some old code _was_ still using it. :(", + "Make Libevent 1.4 build on win32 with Unicode enabled. (Brodie Thiesfield)", + "Distribute nmake makefile for 1.4", + "Define _REENTRANT as needed on Solaris, elsewhere (6cbea13)", + "Other bugfixes for http, memory management, and cleanup." + ] + } ] }, From 2fb5c4f9f84ac176ebf3b9493a83e09c5b515861 Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Tue, 14 May 2024 12:14:45 -0400 Subject: [PATCH 04/25] finish release candidates and start on alpha releases --- content/releases.json | 111 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 106 insertions(+), 5 deletions(-) diff --git a/content/releases.json b/content/releases.json index 5e2f5bd..f5fdb86 100644 --- a/content/releases.json +++ b/content/releases.json @@ -114,15 +114,116 @@ ] }, - "release candidates":[ - {} + "release candidates": [ + { + "name":"libevent-2.1.7-rc.tar.gz ChangeLog", + "version":"2.1.7-rc", + "release date":"2016-11-05", + "download link":"https://github.com/libevent/libevent/archive/release-2.1.7-rc.tar.gz", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.7-rc/ChangeLog", + "comments":["Changelog to follow."] + } ], - "alpha releases":[ - {} + "alpha releases": [ + { + "name":"libevent-2.2.1-alpha-dev.tar.gz", + "version":"2.2.1-alpha", + "release date":"2023-05-21", + "download link":"https://github.com/libevent/libevent/releases/download/release-2.2.1-alpha/libevent-2.2.1-alpha-dev.tar.gz", + "GPG Sig":"https://github.com/libevent/libevent/releases/download/release-2.2.1-alpha/libevent-2.2.1-alpha-dev.tar.gz.asc", + "change log":"https://github.com/libevent/libevent/blob/release-2.2.1-alpha/ChangeLog" + }, + { + "name":"libevent-2.1.9-beta.tar.gz", + "version":"2.1.9-beta", + "release date":"2019-02-10", + "download link":"https://github.com/libevent/libevent/releases/download/release-2.1.9-beta/libevent-2.1.9-beta.tar.gz", + "GPG Sig":"https://github.com/libevent/libevent/releases/download/release-2.1.9-beta/libevent-2.1.9-beta.tar.gz.asc", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.9-beta/ChangeLog" + }, + { + "name":"libevent-2.0.23-beta.tar.gz", + "version":"2.0.23-beta", + "release date":"2019-01-20", + "download link":"https://github.com/libevent/libevent/releases/download/release-2.0.23-beta/libevent-2.0.23-beta.tar.gz", + "GPG Sig":"https://github.com/libevent/libevent/releases/download/release-2.0.23-beta/libevent-2.0.23-beta.tar.gz.asc", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.0.23-beta/ChangeLog" + }, + { + "name":"libevent-2.1.6-beta.tar.gz", + "version":"2.1.6-beta", + "release date":"2016-08-27", + "download link":"https://github.com/libevent/libevent/archive/release-2.1.6-beta.tar.gz", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.6-beta/ChangeLog" + }, + { + "name":"libevent-2.1.5-beta.tar.gz", + "version":"2.1.5-beta", + "release date":"2015-01-05", + "download link":"http://sourceforge.net/projects/levent/files/libevent/libevent-2.1/libevent-2.1.5-beta.tar.gz/download", + "GPG Sig":"http://sourceforge.net/projects/levent/files/libevent/libevent-2.1/libevent-2.1.5-beta.tar.gz.asc/download", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.5-beta/ChangeLog", + "comments":["Changelog to follow."] + }, + { + "name":"libevent-2.1.4-alpha.tar.gz", + "version":"2.1.4-alpha", + "release date":"2014-03-21", + "download link":"https://sourceforge.net/projects/levent/files/libevent/libevent-2.1/libevent-2.1.4-alpha.tar.gz/download", + "GPG Sig":"https://sourceforge.net/projects/levent/files/libevent/libevent-2.1/libevent-2.1.4-alpha.tar.gz.asc/download", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.4-alpha/ChangeLog", + "comments":[ + "Several new utility APIs in libevent core, bufferevents, and evhttp.", + "Detect closes early with EPOLLRDHUP.", + "(Optional) support for buildint with cmake.", + "Bugfixes too numerous to mention.", + {"text":"and much more...", "link":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.4-alpha/whatsnew-2.1.txt"} + ] + }, + { + "name":"", + "version":"2.1.3-alpha", + "release date":"", + "download link":"", + "GPG Sig":"", + "change log":"", + "PR":"", + "comments":[""] + }, + { + "name":"", + "version":"", + "release date":"", + "download link":"", + "GPG Sig":"", + "change log":"", + "PR":"", + "comments":[""] + }, + { + "name":"", + "version":"", + "release date":"", + "download link":"", + "GPG Sig":"", + "change log":"", + "PR":"", + "comments":[""] + }, + { + "name":"", + "version":"", + "release date":"", + "download link":"", + "GPG Sig":"", + "change log":"", + "PR":"", + "comments":[""] + } ], - "older releases":[ + "older releases": [ {} ] } \ No newline at end of file From 90d5d18d3c4008eb4b716993ede31f5cecf982ed Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Tue, 14 May 2024 12:50:33 -0400 Subject: [PATCH 05/25] finish adding alpha releases --- content/releases.json | 92 ++++++++++++++++++++++++------------------- 1 file changed, 51 insertions(+), 41 deletions(-) diff --git a/content/releases.json b/content/releases.json index f5fdb86..f5b79bb 100644 --- a/content/releases.json +++ b/content/releases.json @@ -19,8 +19,7 @@ "download link":"https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz", "GPG Sig":"https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz.asc", "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.12-stable/ChangeLog", - "PR":"https://github.com/libevent/libevent/pull/1045", - "comments":[] + "PR":"https://github.com/libevent/libevent/pull/1045" }, "other stable releases":[ @@ -65,7 +64,8 @@ "download link":"https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz", "GPG Sig":"https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz.asc", "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.0.21-stable/ChangeLog", - "comments":["Several SSL correctness and performance fixes.", + "comments":[ + "Several SSL correctness and performance fixes.", "Build fixes for mingw64", "Avoid a few resource leaks", "and more..." @@ -78,7 +78,8 @@ "download link":"https://github.com/downloads/libevent/libevent/libevent-2.0.20-stable.tar.gz", "GPG Sig":"https://github.com/downloads/libevent/libevent/libevent-2.0.20-stable.tar.gz.asc", "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.0.20-stable/ChangeLog", - "comments": ["Fix a crash on windows.", + "comments": [ + "Fix a crash on windows.", "Make event_pending() threadsafe.", "Another SSL callback behavior fixes", "Avoid an evdns segfault (Greg Hazel)", @@ -100,7 +101,8 @@ "download link":"https://github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz", "GPG Sig":"https://github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz.sig", "change log":"https://raw.githubusercontent.com/libevent/libevent/release-1.4.14b-stable/ChangeLog", - "comments": ["Backport evbuffer_readln()", + "comments": [ + "Backport evbuffer_readln()", "Fix a crash when reading badly formatted resolve.conf (Yasuoka Masahiko)", "Make evutil_make_socket_nonblocking() leave any other flags alone (Jardel Weyrich)", "Adjusted fcntl() retval comparison on evutil_make_socket_nonblocking() (Jardel Weyrich)", @@ -182,48 +184,56 @@ ] }, { - "name":"", + "name":"libevent-2.1.3-alpha.tar.gz", "version":"2.1.3-alpha", - "release date":"", - "download link":"", - "GPG Sig":"", - "change log":"", - "PR":"", - "comments":[""] - }, - { - "name":"", - "version":"", - "release date":"", - "download link":"", - "GPG Sig":"", - "change log":"", - "PR":"", - "comments":[""] + "release date":"2013-05-01", + "download link":"https://sourceforge.net/projects/levent/files/libevent/libevent-2.1/libevent-2.1.3-alpha.tar.gz/download", + "GPG Sig":"https://sourceforge.net/projects/levent/files/libevent/libevent-2.1/libevent-2.1.3-alpha.tar.gz.asc/download", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.3-alpha/ChangeLog", + "comments":[ + "New finalization API with fix for bufferevent deadlock issue.", + "New evdns and evhttp option.", + "Several new unit tests.", + "Bugfixes and portability fixes and build fixes too numerous to mention.", + {"text":"and much more...", "link":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.3-alpha/whatsnew-2.1.txt"} + ] }, { - "name":"", - "version":"", - "release date":"", - "download link":"", - "GPG Sig":"", - "change log":"", - "PR":"", - "comments":[""] + "name":"libevent-2.1.2-alpha.tar.gz", + "version":"2.1.2-alpha", + "release date":"2012-11-18", + "download link":"https://github.com/downloads/libevent/libevent/libevent-2.1.2-alpha.tar.gz", + "GPG Sig":"https://github.com/downloads/libevent/libevent/libevent-2.1.2-alpha.tar.gz.asc", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.2-alpha/ChangeLog", + "comments":[ + "Various new functions in the core, evbuffer, and bufferevent APIs", + "Even more backends can now use portable monotonic timers.", + "Updated autotools build infrastructure for faster builds.", + "More reliable unit tests", + "Internal event-callback interface now refactored for flexibility and performance", + "Faster notification with kqueue, faster/more precise timers on Linux", + "Numerous small performance improvements and data structure tweaks throughout the codebase", + "Various bugfixes against 2.1.1-alpha", + {"text":"and much more...", "link":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.2-alpha/whatsnew-2.1.txt"} + ] }, { - "name":"", - "version":"", - "release date":"", - "download link":"", - "GPG Sig":"", - "change log":"", - "PR":"", - "comments":[""] + "name":"libevent-2.1.1-alpha.tar.gz", + "version":"2.1.1-alpha", + "release date":"2012-04-03", + "download link":"https://github.com/downloads/libevent/libevent/libevent-2.1.1-alpha.tar.gz", + "GPG Sig":"https://github.com/downloads/libevent/libevent/libevent-2.1.1-alpha.tar.gz.asc", + "change log":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.1-alpha/ChangeLog", + "comments":[ + "First alpha release in the 2.1.x series.", + "Useful features for controlling the event loop and avoiding priority inversion", + "New debugging features.", + "New evbuffer functionality, including an improved sendfile/mmap wrapper, the ability to add one evbuffer to another, and more ways to avoid needless copies.", + "Numerous small performance improvements and data structure tweaks throughout the codebase.", + {"text":"and much more...", "link":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.1-alpha/whatsnew-2.1.txt"} + ] } ], - "older releases": [ - {} - ] + "older releases": [] } \ No newline at end of file From 7a2aaa64f48c70127d11469c63aec853699de333 Mon Sep 17 00:00:00 2001 From: Emma Coronado Date: Mon, 20 May 2024 19:49:01 -0400 Subject: [PATCH 06/25] Create download.js --- scripts/download.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 scripts/download.js diff --git a/scripts/download.js b/scripts/download.js new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/scripts/download.js @@ -0,0 +1 @@ + From 1c809b4a6be4830507fc4ca6e689d4881aa69654 Mon Sep 17 00:00:00 2001 From: Emma Coronado Date: Mon, 20 May 2024 19:49:28 -0400 Subject: [PATCH 07/25] Create index.js --- scripts/index.js | 1 + 1 file changed, 1 insertion(+) create mode 100644 scripts/index.js diff --git a/scripts/index.js b/scripts/index.js new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/scripts/index.js @@ -0,0 +1 @@ + From d4c9f27f33cba8100c696fe6122354fc5e7a5eda Mon Sep 17 00:00:00 2001 From: Emma Coronado Date: Mon, 20 May 2024 19:49:57 -0400 Subject: [PATCH 08/25] Create download.html --- scripts/download.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 scripts/download.html diff --git a/scripts/download.html b/scripts/download.html new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/scripts/download.html @@ -0,0 +1 @@ + From 3dd420fe7dd676d93c38d98fb410c1c757908162 Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Mon, 20 May 2024 19:52:32 -0400 Subject: [PATCH 09/25] move download.html --- scripts/download.html => download.html | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename scripts/download.html => download.html (100%) diff --git a/scripts/download.html b/download.html similarity index 100% rename from scripts/download.html rename to download.html From ba4c1b3a4dbb874c69697e2b752cd8cc8a9b03f5 Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Tue, 21 May 2024 10:03:47 -0400 Subject: [PATCH 10/25] switch footer, nav, and google tag to be added by a script --- download.html | 18 ++++++++++++++ index.html | 57 +++--------------------------------------- scripts/common.js | 63 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 54 deletions(-) create mode 100644 scripts/common.js diff --git a/download.html b/download.html index 8b13789..378c1be 100644 --- a/download.html +++ b/download.html @@ -1 +1,19 @@ + + + + + libevent + + + + + + + + + + + + + diff --git a/index.html b/index.html index 7689f9d..65f0de0 100644 --- a/index.html +++ b/index.html @@ -9,26 +9,7 @@ - - - - - - +
@@ -286,8 +267,8 @@

Programs using libevent

The usefulness of libevent API is demonstrated b
  • Honeyd – a virtual honeynet daemon – can be used to fight Internet worms.
  • Fragroute – an IDS testing tool
  • Nylon – nested proxy server
  • -
  • Disconcert – a Distributed Computing Framework for Loosely-Coupled Workstations.
  • +
  • Disconcert – a Distributed Computing Framework for Loosely-Coupled Workstations.
  • +
  • Trickle – a lightweight userspace bandwidth shaper.
  • watchcatd – software watchdog designed to take actions not as drastic as the usual solutions, which reset the machine.
  • ScanSSH – a fast SSH server and open proxy scanner.
  • @@ -307,38 +288,6 @@

    Programs using libevent

    The usefulness of libevent API is demonstrated b
    - - - diff --git a/scripts/common.js b/scripts/common.js new file mode 100644 index 0000000..e400bfa --- /dev/null +++ b/scripts/common.js @@ -0,0 +1,63 @@ +const navBarHTML = ``; + +const googleTag = ` + +`; + +const footer = ` `; + + +document.body.insertAdjacentHTML("afterbegin", navBarHTML); // insert nav bar html after start of body +document.body.insertAdjacentHTML("afterbegin", googleTag); // insert google tag script after start of body +document.body.insertAdjacentHTML("afterend", footer); \ No newline at end of file From c22120b5da7280f2df325fe34dd2fba8b35093fa Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Tue, 21 May 2024 10:25:58 -0400 Subject: [PATCH 11/25] update old releases page to match nav and footer --- old-releases.html | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/old-releases.html b/old-releases.html index 1ce64d8..6346238 100644 --- a/old-releases.html +++ b/old-releases.html @@ -9,16 +9,7 @@ - +

    Old releases

    From c7edd9587638de6672a1bbe0ac6347ec814af163 Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Tue, 21 May 2024 10:33:15 -0400 Subject: [PATCH 12/25] structure downloads page --- download.html | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/download.html b/download.html index 378c1be..1df9c7a 100644 --- a/download.html +++ b/download.html @@ -11,6 +11,50 @@ +
    +
    +
    + +
    +
    +
    +
    +

    Download–Stable releases

    +

    These are the ones you probably want for software development, unless you like to track the latest development versions and report bugs in them.

    +
    + +
    +

    Download release candidates

    +

    This is a release candidate. If you find any bugs, please let us know!

    +
    + +
    +

    Download–Alpha releases

    +

    This is alpha code. If you find any bugs, please let us know!

    +
    + + + +
    + From 95fbf562c2e794c05869767f6025211ad284e9af Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Tue, 21 May 2024 11:17:04 -0400 Subject: [PATCH 13/25] start on downloads script --- download.html | 17 ++++++++++------- scripts/download.js | 24 ++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 7 deletions(-) diff --git a/download.html b/download.html index 1df9c7a..12ddd5f 100644 --- a/download.html +++ b/download.html @@ -10,25 +10,28 @@ +
    diff --git a/scripts/download.js b/scripts/download.js index 8b13789..9d7fbc7 100644 --- a/scripts/download.js +++ b/scripts/download.js @@ -1 +1,25 @@ +var StableNavItems = ''; +var StableCards = ''; +var RCNavItems = ''; +var RCCards = ''; + +var AlphaNavItems = ''; +var AlphaCards = ''; + +var OlderNavItems = ''; +var OlderCards = ''; + +async function loadJson(){ + const temp = await fetch("content/releases.json"); + const releasesInfo = await temp.json(); + console.log(releasesInfo); +} + +loadJson(); +/* +document.getElementById("stable-nav").innerHTML = StableNavItems; +document.getElementById("rc-nav").innerHTML = RCNavItems; +document.getElementById("alpha-nav").innerHTML = AlphaNavItems; +document.getElementById("older-nav").innerHTML = OlderNavItems; +*/ \ No newline at end of file From f5b2d10029095361e8598ec605512b482c388b44 Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Tue, 21 May 2024 11:19:57 -0400 Subject: [PATCH 14/25] update common.js to fix script issues --- index.html | 9 +++++++++ scripts/common.js | 10 ---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 65f0de0..e8119c0 100644 --- a/index.html +++ b/index.html @@ -11,6 +11,15 @@ + + + +
    diff --git a/scripts/common.js b/scripts/common.js index e400bfa..632f16a 100644 --- a/scripts/common.js +++ b/scripts/common.js @@ -17,15 +17,6 @@ const navBarHTML = `
    `; -const googleTag = ` - -`; - const footer = `
    +
    +
    + + + diff --git a/scripts/download.js b/scripts/download.js index 9d7fbc7..b4cf352 100644 --- a/scripts/download.js +++ b/scripts/download.js @@ -1,3 +1,15 @@ +async function processJson(){ + const temp = await fetch("https://raw.githubusercontent.com/emma-coronado/libevent.github.com/master/content/releases.json"); + const releasesInfo = await temp.json(); + return releasesInfo; +} + +function buildCard(release){ + let card = ''; + + return card; +} + var StableNavItems = ''; var StableCards = ''; @@ -10,16 +22,11 @@ var AlphaCards = ''; var OlderNavItems = ''; var OlderCards = ''; -async function loadJson(){ - const temp = await fetch("content/releases.json"); - const releasesInfo = await temp.json(); - console.log(releasesInfo); -} +const temp = processJson(); +console.log(temp); + -loadJson(); -/* document.getElementById("stable-nav").innerHTML = StableNavItems; document.getElementById("rc-nav").innerHTML = RCNavItems; document.getElementById("alpha-nav").innerHTML = AlphaNavItems; document.getElementById("older-nav").innerHTML = OlderNavItems; -*/ \ No newline at end of file From 5e638eff34ea69bf455af405e49b2d8e68b76b77 Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Tue, 18 Jun 2024 13:53:41 -0400 Subject: [PATCH 17/25] fix name and formatting errors --- content/releases.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/releases.json b/content/releases.json index 9fe0545..eb2ef60 100644 --- a/content/releases.json +++ b/content/releases.json @@ -12,7 +12,7 @@ }, "stableReleases":{ - "latestRelease": { + "latestRelease": [{ "name":"libevent-2.1.12-stable.tar.gz", "version":"2.1.12", "releaseDate":"2020-07-05", @@ -20,7 +20,7 @@ "GPGsig":"https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz.asc", "changeLog":"https://raw.githubusercontent.com/libevent/libevent/release-2.1.12-stable/ChangeLog", "PR":"https://github.com/libevent/libevent/pull/1045" - }, + }], "otherStableReleases":[ { @@ -118,7 +118,7 @@ "releaseCandidates": [ { - "name":"libevent-2.1.7-rc.tar.gz ChangeLog", + "name":"libevent-2.1.7-rc.tar.gz", "version":"2.1.7-rc", "releaseDate":"2016-11-05", "downloadLink":"https://github.com/libevent/libevent/archive/release-2.1.7-rc.tar.gz", From 61ed08c15875861c35a7e07e35118b8a2ccf0606 Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Tue, 18 Jun 2024 14:24:36 -0400 Subject: [PATCH 18/25] continue working to fill values from json --- download.html | 4 +-- scripts/download.js | 75 ++++++++++++++++++++++++++++++++++----------- 2 files changed, 59 insertions(+), 20 deletions(-) diff --git a/download.html b/download.html index df5c369..1fce330 100644 --- a/download.html +++ b/download.html @@ -14,7 +14,7 @@
    -
    -
    +

    Download–Stable releases

    These are the ones you probably want for software development, unless you like to track the latest development versions and report bugs in them.

    diff --git a/scripts/download.js b/scripts/download.js index b4cf352..ede2101 100644 --- a/scripts/download.js +++ b/scripts/download.js @@ -1,15 +1,3 @@ -async function processJson(){ - const temp = await fetch("https://raw.githubusercontent.com/emma-coronado/libevent.github.com/master/content/releases.json"); - const releasesInfo = await temp.json(); - return releasesInfo; -} - -function buildCard(release){ - let card = ''; - - return card; -} - var StableNavItems = ''; var StableCards = ''; @@ -22,11 +10,62 @@ var AlphaCards = ''; var OlderNavItems = ''; var OlderCards = ''; -const temp = processJson(); -console.log(temp); +async function processJson(){ + const temp = await fetch("https://raw.githubusercontent.com/emma-coronado/libevent.github.com/master/content/releases.json"); + const releasesInfo = await temp.json(); + + StableCards += makeCard(releasesInfo.stableReleases.latestRelease); + + for (i in releasesInfo.stableReleases.otherStableReleases) { + StableNavItems += makeNavItem(releasesInfo.stableReleases.otherStableReleases[i]); + StableCards += makeCard(releasesInfo.stableReleases.otherStableReleases[i]); + } + + for (i in releasesInfo.releaseCandidates) { + RCNavItems += makeNavItem(releasesInfo.releaseCandidates[i]); + RCCards += makeCard(releasesInfo.releaseCandidates[i]); + } + + for (i in releasesInfo.alphaReleases) { + AlphaNavItems += makeNavItem(releasesInfo.alphaReleases[i]); + AlphaCards += makeCard(releasesInfo.alphaReleases[i]); + } + + for (i in releasesInfo.olderReleases) { + OlderNavItems += makeNavItem(releasesInfo.olderReleases[i]); + OlderCards += makeCard(releasesInfo.olderReleases[i]); + } + + // add cards + document.getElementById("stable-releases").insertAdjacentHTML("beforeend", StableCards); + document.getElementById("release-candidates").insertAdjacentHTML("beforeend", RCCards); + document.getElementById("alpha-releases").insertAdjacentHTML("beforeend", AlphaCards); + document.getElementById("older-releases").insertAdjacentHTML("beforeend", OlderCards); + + + // add Nav items + document.getElementById("stable-nav").insertAdjacentHTML("beforeend", StableNavItems); + document.getElementById("rc-nav").innerHTML = RCNavItems; + document.getElementById("alpha-nav").innerHTML = AlphaNavItems; + document.getElementById("older-nav").innerHTML = OlderNavItems; +} + +function makeCard(release) { + let cards = `
    +
    `; + cards = cards + release.name; + cards +='
    '; + + return cards; +} + +function makeNavItem(release) { + let navItem = '

    '; + navItem = navItem + release.version; + navItem += '

    '; + + return navItem; +} -document.getElementById("stable-nav").innerHTML = StableNavItems; -document.getElementById("rc-nav").innerHTML = RCNavItems; -document.getElementById("alpha-nav").innerHTML = AlphaNavItems; -document.getElementById("older-nav").innerHTML = OlderNavItems; +processJson(); \ No newline at end of file From 0980c5454c22dcc742a46ac0f74ea38302ecc0e5 Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Thu, 20 Jun 2024 21:16:35 -0400 Subject: [PATCH 19/25] start formatting auto populated cards and nav items --- download.html | 2 +- scripts/download.js | 6 +++--- style.css | 6 ++++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/download.html b/download.html index 1fce330..03acc4d 100644 --- a/download.html +++ b/download.html @@ -35,7 +35,7 @@
    -
    +

    Download–Stable releases

    These are the ones you probably want for software development, unless you like to track the latest development versions and report bugs in them.

    diff --git a/scripts/download.js b/scripts/download.js index ede2101..1c4123a 100644 --- a/scripts/download.js +++ b/scripts/download.js @@ -15,7 +15,7 @@ async function processJson(){ const releasesInfo = await temp.json(); - StableCards += makeCard(releasesInfo.stableReleases.latestRelease); + StableCards += makeCard(releasesInfo.stableReleases.latestRelease[0]); for (i in releasesInfo.stableReleases.otherStableReleases) { StableNavItems += makeNavItem(releasesInfo.stableReleases.otherStableReleases[i]); @@ -37,14 +37,14 @@ async function processJson(){ OlderCards += makeCard(releasesInfo.olderReleases[i]); } - // add cards + // add cards to download.html document.getElementById("stable-releases").insertAdjacentHTML("beforeend", StableCards); document.getElementById("release-candidates").insertAdjacentHTML("beforeend", RCCards); document.getElementById("alpha-releases").insertAdjacentHTML("beforeend", AlphaCards); document.getElementById("older-releases").insertAdjacentHTML("beforeend", OlderCards); - // add Nav items + // add Nav items to download.html document.getElementById("stable-nav").insertAdjacentHTML("beforeend", StableNavItems); document.getElementById("rc-nav").innerHTML = RCNavItems; document.getElementById("alpha-nav").innerHTML = AlphaNavItems; diff --git a/style.css b/style.css index 25612a1..7141f76 100644 --- a/style.css +++ b/style.css @@ -84,3 +84,9 @@ a.latest { .link-underline { } + +.vh80 { + position: relative; + overflow: auto; + height: 80vh; +} From 71311cf66185307bda6f508457a3fb68022536dc Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Thu, 20 Jun 2024 21:44:46 -0400 Subject: [PATCH 20/25] add links to cards --- scripts/download.js | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/scripts/download.js b/scripts/download.js index 1c4123a..9446a5e 100644 --- a/scripts/download.js +++ b/scripts/download.js @@ -52,20 +52,19 @@ async function processJson(){ } function makeCard(release) { - let cards = `
    -
    `; - cards = cards + release.name; - cards +='
    '; - - return cards; + let cards = ``; + + return `
    ` + + `` + release.name + `` + + ` [GPGSig] ` + + `ChangeLog
    ` + + `Released ` + release.releaseDate + + `
    `; } function makeNavItem(release) { - let navItem = '

    '; - navItem = navItem + release.version; - navItem += '

    '; - - return navItem; + return '' + + release.version + ''; } processJson(); \ No newline at end of file From c676d0d15f63a5fab3c2afd52424b4e40cda646f Mon Sep 17 00:00:00 2001 From: emma-coronado Date: Wed, 26 Jun 2024 12:54:01 -0400 Subject: [PATCH 21/25] updating dowloads page --- download.html | 4 ++-- scripts/download.js | 1 + style.css | 16 +++++++++++----- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/download.html b/download.html index 03acc4d..0213bd2 100644 --- a/download.html +++ b/download.html @@ -11,10 +11,10 @@ -
    +
    -
    Benchmarks with one active connectionBenchmarks with one active connection  Benchmarks with 100 active connectionsBenchmarks with 100 active connections