Recent activity

[PATCH hare v2] time::chrono: treat presence of both utcnt and stdcnt as invalid 8 days ago

From Nihal Jere to ~sircmpwn/hare-dev

This uses the same logic from the Olson code, which treats this
condition as invalid.

Signed-off-by: Nihal Jere <nihal@nihaljere.xyz>
---
Sorry, forgot to sign off and put a subject prefix.

 time/chrono/tzdb.ha | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/time/chrono/tzdb.ha b/time/chrono/tzdb.ha
index f7fbcdfa..541d40b5 100644
--- a/time/chrono/tzdb.ha
+++ b/time/chrono/tzdb.ha
[message trimmed]

[PATCH] time::chrono: treat presence of both utcnt and stdcnt as invalid 8 days ago

From Nihal Jere to ~sircmpwn/hare-dev

This uses the same logic from the Olson code, which treats this
condition as invalid.
---
 time/chrono/tzdb.ha | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/time/chrono/tzdb.ha b/time/chrono/tzdb.ha
index f7fbcdfa..541d40b5 100644
--- a/time/chrono/tzdb.ha
+++ b/time/chrono/tzdb.ha
@@ -135,19 +135,11 @@ fn parse_tzif(
		return invalidtzif;
	};

[message trimmed]

[PATCH hare] datetime: implement %U format specifier and add a test 17 days ago

From Nihal Jere to ~sircmpwn/hare-dev

This is stolen from musl, adjusted to deal with the way datetime
stores yeardays and weekdays.

Signed-off-by: Nihal Jere <nihal@nihaljere.xyz>
---
 datetime/chronology.ha | 22 ++++++++++++++++++++++
 datetime/date.ha       | 34 ++++++++++++++++++++++++++++++++++
 datetime/datetime.ha   |  2 ++
 datetime/format.ha     |  3 +--
 4 files changed, 59 insertions(+), 2 deletions(-)

diff --git a/datetime/chronology.ha b/datetime/chronology.ha
index 86957629..8d1e9297 100644
--- a/datetime/chronology.ha
[message trimmed]

[PATCH hare-wayland 2/3] support protocol descriptions 21 days ago

From Nihal Jere to ~sircmpwn/hare-dev

Signed-off-by: Nihal Jere <nihal@nihaljere.xyz>
---
 wayland/scanner/scan.ha  | 8 ++++++++
 wayland/scanner/types.ha | 2 ++
 2 files changed, 10 insertions(+)

diff --git a/wayland/scanner/scan.ha b/wayland/scanner/scan.ha
index efa7c65..0ad72c0 100644
--- a/wayland/scanner/scan.ha
+++ b/wayland/scanner/scan.ha
@@ -41,6 +41,8 @@ fn scan_proto(par: *xml::parser) (protocol | error) = {
	};

	let name = "";
[message trimmed]

[PATCH hare-wayland 3/3] propagate error in disconnect 21 days ago

From Nihal Jere to ~sircmpwn/hare-dev

Signed-off-by: Nihal Jere <nihal@nihaljere.xyz>
---
 main.ha                  | 2 +-
 wayland/client/client.ha | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/main.ha b/main.ha
index e39297d..9c67c64 100644
--- a/main.ha
+++ b/main.ha
@@ -11,5 +11,5 @@ export fn main() void = {
	case client::noruntime =>
		fmt::fatalf("Error connecting to Wayland: No runtime");
	};
[message trimmed]

[PATCH hare-wayland 1/3] use fatalf 21 days ago

From Nihal Jere to ~sircmpwn/hare-dev

Signed-off-by: Nihal Jere <nihal@nihaljere.xyz>
---
 cmd/scanner/main.ha | 4 ++--
 main.ha             | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/cmd/scanner/main.ha b/cmd/scanner/main.ha
index 569de20..0811ad6 100644
--- a/cmd/scanner/main.ha
+++ b/cmd/scanner/main.ha
@@ -3,7 +3,7 @@ use os;
use wayland::scanner;

@noreturn fn usage() void =
[message trimmed]

[PATCH hare v4] datetime: fix week of the year calculation and add test 21 days ago

From Nihal Jere to ~sircmpwn/hare-dev

January 1st, 2018 was a Monday. The previous method would return
the week as 0, when it should be 1.

Signed-off-by: Nihal Jere <nihal@nihaljere.xyz>
---
 datetime/date.ha | 29 ++++++++++++++++++++++++++++-
 1 file changed, 28 insertions(+), 1 deletion(-)

diff --git a/datetime/date.ha b/datetime/date.ha
index 9ff6b0a4..7cfb4f62 100644
--- a/datetime/date.ha
+++ b/datetime/date.ha
@@ -180,7 +180,7 @@ fn calc_isoweek(y: int, w: int, wd: int, yd: int) int = {
// given a yearday and Gregorian weekday.
[message trimmed]