~seedopaul

~seedopaul/hare-wav-dev

Last active 1 year, 8 months ago
View more

Recent activity

Re: [PATCH] fix missing prototype warning for getloadavg 18 days ago

From Seedo Eldho Paul to ~lattis/muon

Hi, 

Please ignore this patch. I made a mistake while defining
_DEFAULT_SOURCE (missed the `-D` prefix). Correctly using
`-D_DEFAULT_SOURCE` also doesn't fix the implicit function declaration
warning, not sure what the issue here is.

Seedo Paul

[PATCH] fix missing prototype warning for getloadavg 18 days ago

From Seedo Paul to ~lattis/muon

_DEFAULT_SOURCE is the feature test macro for glibc > 2.19.
---
 src/platform/meson.build | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/platform/meson.build b/src/platform/meson.build
index 585ac7eb..51ff5601 100644
--- a/src/platform/meson.build
+++ b/src/platform/meson.build
@@ -45,7 +45,11 @@ if platform == 'posix'
    if host_machine.system() == 'darwin'
        defines = []
    else
        defines = ['-D_POSIX_C_SOURCE=200809L', '-D_BSD_SOURCE']
[message trimmed]

[PATCH] Testing pyonji 24 days ago

From Seedo Paul to ~sircmpwn/email-test-drive

---
 seedopaul | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 seedopaul

diff --git a/seedopaul b/seedopaul
new file mode 100644
index 0000000..90edf2b
--- /dev/null
+++ b/seedopaul
@@ -0,0 +1 @@
Testing out pyonji

base-commit: 26c4a89b3e89368f6b13bfccd88db60b67092224
[message trimmed]

[PATCH muon v4 7/7] mod/python: add some test cases 3 months ago

From Seedo Paul to ~lattis/muon

Signed-off-by: Seedo Paul <seedoeldhopaul@gmail.com>
---
 tests/project/muon/python/meson.build | 59 +++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)

diff --git a/tests/project/muon/python/meson.build b/tests/project/muon/python/meson.build
index cfa90f10..34088022 100644
--- a/tests/project/muon/python/meson.build
+++ b/tests/project/muon/python/meson.build
@@ -9,3 +9,62 @@ py = py_mod.find_installation()
if py.language_version().version_compare('< 3.6')
    error('Invalid Python version, only >= 3.6 is supported.')
endif

[message trimmed]

[PATCH muon v4 6/7] obj/python_installation: print more fields 3 months ago

From Seedo Paul to ~lattis/muon

Signed-off-by: Seedo Paul <seedoeldhopaul@gmail.com>
---
 src/lang/object.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lang/object.c b/src/lang/object.c
index a7abc212..89885977 100644
--- a/src/lang/object.c
+++ b/src/lang/object.c
@@ -1633,6 +1633,10 @@ obj_to_s(struct workspace *wk, obj o, struct sbuf *sb)

		if (get_obj_external_program(wk, py->prog)->found) {
			sbuf_pushf(wk, sb, ", language_version: %s", get_cstr(wk, py->language_version));
			sbuf_pushs(wk, sb, ", sysconfig_paths: ");
[message trimmed]

[PATCH muon v4 5/7] ob_to_s: fix field name `version` -> `language_version` 3 months ago

From Seedo Paul to ~lattis/muon

Also handle `external_program` within `python_installation` object
recursively.

Signed-off-by: Seedo Paul <seedoeldhopaul@gmail.com>
---
 src/lang/object.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/lang/object.c b/src/lang/object.c
index fe85c800..a7abc212 100644
--- a/src/lang/object.c
+++ b/src/lang/object.c
@@ -1628,14 +1628,11 @@ obj_to_s(struct workspace *wk, obj o, struct sbuf *sb)
		break;
[message trimmed]

[PATCH muon v4 4/7] mod/python: implement has_path and has_variable 3 months ago

From Seedo Paul to ~lattis/muon

Signed-off-by: Seedo Paul <seedoeldhopaul@gmail.com>
---
 src/functions/modules/python.c | 35 ++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/src/functions/modules/python.c b/src/functions/modules/python.c
index 0a7cd596..4732245e 100644
--- a/src/functions/modules/python.c
+++ b/src/functions/modules/python.c
@@ -324,6 +324,39 @@ func_python_installation_get_var(struct workspace *wk, obj rcvr,
	return true;
}

static bool
[message trimmed]

[PATCH muon v4 3/7] mod/python: implement get_path and get_variable 3 months ago

From Seedo Paul to ~lattis/muon

Signed-off-by: Seedo Paul <seedoeldhopaul@gmail.com>
---
 src/functions/modules/python.c | 113 ++++++++++++++++++++++++++++++++-
 1 file changed, 110 insertions(+), 3 deletions(-)

diff --git a/src/functions/modules/python.c b/src/functions/modules/python.c
index cc3c5a3b..0a7cd596 100644
--- a/src/functions/modules/python.c
+++ b/src/functions/modules/python.c
@@ -6,22 +6,35 @@
#include "compat.h"
#include "coerce.h"

#include <string.h>
[message trimmed]

[PATCH muon v4 2/7] add helper to parse json to obj_dict 3 months ago

From Seedo Paul to ~lattis/muon

Signed-off-by: Seedo Paul <seedoeldhopaul@gmail.com>
---
 include/external/tinyjson.h  | 17 +++++++
 src/amalgam.c                |  1 +
 src/external/meson.build     |  4 ++
 src/external/tinyjson.c      | 87 ++++++++++++++++++++++++++++++++++++
 src/external/tinyjson_null.c | 18 ++++++++
 5 files changed, 127 insertions(+)
 create mode 100644 include/external/tinyjson.h
 create mode 100644 src/external/tinyjson.c
 create mode 100644 src/external/tinyjson_null.c

diff --git a/include/external/tinyjson.h b/include/external/tinyjson.h
new file mode 100644
[message trimmed]

[PATCH muon v4 1/7] add json parsing support with tinyjson 3 months ago

From Seedo Paul to ~lattis/muon

Signed-off-by: Seedo Paul <seedoeldhopaul@gmail.com>
---
 subprojects/.gitignore           |   5 +
 subprojects/tinyjson.wrap        |   5 +
 subprojects/tinyjson/README.md   |  69 +++++
 subprojects/tinyjson/meson.build |   9 +
 subprojects/tinyjson/tiny-json.c | 461 +++++++++++++++++++++++++++++++
 subprojects/tinyjson/tiny-json.h | 176 ++++++++++++
 6 files changed, 725 insertions(+)
 create mode 100644 subprojects/tinyjson.wrap
 create mode 100644 subprojects/tinyjson/README.md
 create mode 100644 subprojects/tinyjson/meson.build
 create mode 100644 subprojects/tinyjson/tiny-json.c
 create mode 100644 subprojects/tinyjson/tiny-json.h
[message trimmed]