public inbox for gwml@vger.gnuweeb.org
 help / color / mirror / Atom feed
From: Muhammad Rizki <kiizuha@gnuweeb.org>
To: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Cc: Muhammad Rizki <kiizuha@gnuweeb.org>,
	Alviro Iskandar Setiawan <alviro.iskandar@gnuweeb.org>,
	GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>
Subject: [PATCH v1 0/4] GNUWeebBot2 Fixes and New Updates
Date: Tue, 16 Dec 2025 01:23:02 +0700	[thread overview]
Message-ID: <20251215182308.48766-1-kiizuha@gnuweeb.org> (raw)

Hello, it's been a long time since my last contribution to GNUWeeb Community,
so here are some fixes and new updates for GNUWeebBot2 that I've made.

### Changelog

- Fixes memory leak in lib/curl.c and reduce threads usage in core/ring.c
- Add new properties for type User in lib/tgapi.h and lib/tgapi.c
- Create a new module `user` to get user information who invoked the command

Please review and test, thanks!

Muhammad Rizki (4):
  .vscode: add some C/C++ extension settings
  core:lib: fix memory leak and reduce threads
  lib/tgapi: add new properties for type User
  modules: create a `user` module

 .vscode/settings.json   |  10 +++-
 configure               |   1 +
 core/ring.c             |   4 +-
 include/gw/lib/tgapi.h  |  28 +++++++++-
 lib/curl.c              |   4 +-
 lib/tgapi.c             |  44 +++++++++++++---
 modules/Makefile        |   1 +
 modules/user/Makefile   |   7 +++
 modules/user/mod_info.h |   8 +++
 modules/user/user.c     | 112 ++++++++++++++++++++++++++++++++++++++++
 10 files changed, 207 insertions(+), 12 deletions(-)
 create mode 100644 modules/user/Makefile
 create mode 100644 modules/user/mod_info.h
 create mode 100644 modules/user/user.c


base-commit: 3cd2665e15dce7125286f0806d3e788400bea9ea
--
Muhammad Rizki

             reply	other threads:[~2025-12-15 18:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-15 18:23 Muhammad Rizki [this message]
2025-12-15 18:23 ` [PATCH v1 1/4] .vscode: add some C/C++ extension settings Muhammad Rizki
2025-12-15 18:23 ` [PATCH v1 2/4] core:lib: fix memory leak and reduce threads Muhammad Rizki
2025-12-15 18:23 ` [PATCH v1 3/4] lib/tgapi: add new properties for type User Muhammad Rizki
2025-12-15 18:23 ` [PATCH v1 4/4] modules: create a `user` module Muhammad Rizki
2025-12-18 22:16 ` [PATCH v1 0/4] GNUWeebBot2 Fixes and New Updates Ammar Faizi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251215182308.48766-1-kiizuha@gnuweeb.org \
    --to=kiizuha@gnuweeb.org \
    --cc=alviro.iskandar@gnuweeb.org \
    --cc=ammarfaizi2@gnuweeb.org \
    --cc=gwml@vger.gnuweeb.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox