Commit Graph
96 Commits
Author SHA1 Message Date
darshankabariya a09f632836 chore: chores 2026-02-10 03:28:41 +05:30
darshankabariya ed837760c8 chore: rsubmodule 2026-02-10 03:18:12 +05:30
darshankabariya 29bd306008 chore: complete deprecate nimbus-build-system 2026-02-10 03:12:03 +05:30
darshankabariya ad5b5a74e9 chore: complete deprecate nimbus-build-system 2026-02-10 03:06:58 +05:30
darshankabariya a9f9327b97 chore: ci fix 2026-02-10 02:28:34 +05:30
darshankabariya abef609a39 chore: ci fix 2026-02-10 01:36:57 +05:30
darshankabariya 3b1fbad0af chore: ci fix 2026-02-10 01:32:49 +05:30
darshankabariya 8616504cb9 chore: ci fix 2026-02-10 01:16:36 +05:30
darshankabariya 5782292d6b chore: ci fix 2026-02-10 01:11:36 +05:30
darshankabariya de1642a292 chore: Nix + Nimble 2026-02-09 18:22:20 +05:30
Igor Sirotin 47757bacea chore: update license files to comply with Logos licensing requirements 2026-02-05 15:11:35 +00:00
Igor Sirotin 55ba7e2bc3 docs: added licenses (#51) 2026-02-03 19:05:46 +00:00
jakub e301dad197 nix: use Nix Flake from NBS repo to provide Nim
This way we can track same Nim as in vendor folder.

Notably this upgrades from Nim 2.2.4 to 2.2.6.

Depends on:
https://github.com/status-im/nimbus-build-system/pull/112

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2026-02-01 20:53:14 +01:00
Ivan FB 19c48ef602 Merge pull request #46 from logos-messaging/use-epoll-in-android
force epoll is being used in Android
2026-01-29 23:28:00 +01:00
shash256 9f7ae0c7df feat: support retrieval hints for efficient message retrieval from store nodes (#18)
* feat: updates for retrieval hint

* use HistoryEntry for deps

* chore: rearrange helper funcs

* chore: address review comments

* fix: simplify with mapIt
v0.3.0 v0.3.1-rc.0
2026-01-29 09:52:40 +00:00
Ivan FB a8a5e42530 Merge pull request #45 from logos-messaging/fix-shebangs
fix: use env instead of hardcoding bash path
2026-01-29 10:23:17 +01:00
Ivan Folgueira Bande 4aa800ad2b force epoll is being used in Android 2026-01-27 22:41:46 +01:00
jakub c6e54b70ee fix: use env instead of hardcoding bash path
Causes issues in Nix shells and derivations.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2026-01-27 15:28:57 +01:00
Ivan FB 239f619625 Merge pull request #42 from logos-messaging/initialize-lock
initialize ctxPoolLock to avoid crash on Windows/iOS
v0.2.4
2026-01-14 12:16:15 +01:00
Ivan Folgueira Bande be4c283581 initialize ctxPoolLock 2026-01-14 11:49:04 +01:00
Siddarth Kumar fb8039c5a5 chore: fix iOS build
otherwise iOS linker fails with
  Undefined symbols for architecture arm64
2025-12-23 19:47:02 +04:00
Igor SirotinandIvan Folgueira Bande 8d33a7f7da feat: thread pool (#40)
* feat: thread pool

* proper pass ARCH in Makefile when building for Android

---------

Co-authored-by: Ivan Folgueira Bande <ivansete@status.im>
2025-12-22 18:10:45 +00:00
Ivan Folgueira Bande e67639ee08 get arch from uname -m if ARCH env var is not set v0.2.3 2025-12-17 16:02:53 +01:00
Ivan FB ac31e5adf2 Merge pull request #37 from logos-messaging/fix/buildForAppleSilicon
fix: Add condition to check hostCpu and then build based on that
2025-12-15 12:06:17 +01:00
Khushboo Mehta 13c3c348fa fix: Add condition to check hostCpu and then build based on that 2025-12-15 12:01:51 +01:00
Ivan FB 0b4d3cc03f Merge pull request #38 from logos-messaging/rm-log
rm UNWRAP_MESSAGE failed error
v0.2.2
2025-12-10 09:51:41 +01:00
Ivan Folgueira Bande 191928adc6 rm UNWRAP_MESSAGE failed error 2025-12-09 11:45:35 +01:00
Ivan Folgueira Bande ae445d5585 rename ANDROID_NDK_HOME to ANDROID_NDK_ROOT v0.2.1 2025-11-28 19:34:51 +01:00
Ivan Folgueira Bande 024b8c50e9 adapt Makefile and sds.nimble to support iOS target v0.2.0 2025-11-27 23:01:39 +01:00
Ivan Folgueira Bande b643126011 Makefile and sds.nimble adaptation to ensure all lib ext are covered v0.1.0 2025-11-07 11:20:17 +01:00
Ivan Folgueira Bande c82dad828a protobuf.nim enhancement to avoid crash due to bad handled Result object
This aims to avoid the error that appeared in status-go's
test-functional:

ERROR    root:statusgo_container.py:146 Container health check failed:
Container is not running. Status: exited. Logs (last 10 lines):
/go/src/github.com/status-im/status-go/vendor/github.com/waku-org/sds-go-bindings/third_party/nim-sds/vendor/nim-chronos/chronos/internal/asyncfutures.nim(624)
pollFor
/go/src/github.com/status-im/status-go/vendor/github.com/waku-org/sds-go-bindings/third_party/nim-sds/vendor/nim-chronos/chronos/internal/asyncengine.nim(150)
poll
/go/src/github.com/status-im/status-go/vendor/github.com/waku-org/sds-go-bindings/third_party/nim-sds/library/sds_thread/sds_thread.nim(45)
runSds
/go/src/github.com/status-im/status-go/vendor/github.com/waku-org/sds-go-bindings/third_party/nim-sds/vendor/nim-chronos/chronos/internal/asyncmacro.nim(71)
process
/go/src/github.com/status-im/status-go/vendor/github.com/waku-org/sds-go-bindings/third_party/nim-sds/library/sds_thread/inter_thread_communication/requests/sds_message_request.nim(65)
process
/go/src/github.com/status-im/status-go/vendor/github.com/waku-org/sds-go-bindings/third_party/nim-sds/src/reliability.nim(190)
unwrapReceivedMessage
/go/src/github.com/status-im/status-go/vendor/github.com/waku-org/sds-go-bindings/third_party/nim-sds/src/protobuf.nim(55)
extractChannelId
/go/src/github.com/status-im/status-go/vendor/github.com/waku-org/sds-go-bindings/third_party/nim-sds/vendor/nim-results/results.nim(445)
value
/go/src/github.com/status-im/status-go/vendor/github.com/waku-org/sds-go-bindings/third_party/nim-sds/vendor/nim-results/results.nim(433)
raiseResultDefect
Error: unhandled exception: Trying to access value with err Result:
BadWireType [ResultDefect]
2025-10-31 19:54:27 +01:00
Ivan Folgueira Bande 26e13dd87a fix in flake.nix pkgs.stdenv.isDarwin 2025-10-25 00:54:04 +02:00
Ivan Folgueira Bande 98b738c9c2 flake.nix: completely avoid adding android objects in macos
That produces a super long object file path which overpasses
the one hundred char size limit on macos ar utility
2025-10-25 00:44:34 +02:00
Ivan Folgueira Bande b9114ec917 Makefile set proper lib extension depending on platform etc 2025-10-24 20:59:08 +02:00
jakub cb472bc829 nix: fix Android builds on Darwin platforms
The assert for Android NDK is obsolete. But we also can avoid fetching
the Android dependencies when not building for Android.

Also, lsb-release is a linux-only tool.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-10-24 17:27:49 +02:00
jakub a8060c5600 nix: do not add android SDK on aarch64 Darwin
Otherwise it fails with:

error: aarch64-darwin not supported for Android SDK. Use: NIXPKGS_SYSTEM_OVERRIDE=x86_64-darwin

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-10-24 12:29:56 +02:00
jakub 2a216f3eb5 nix: fix targets to not be nested under androidPackages
Otherwise this happens:

 > nix flake show
error: expected a derivation

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-10-24 12:26:02 +02:00
Ivan Folgueira Bande f3b084103d try to add windows in default.nix 2025-10-22 02:33:19 +02:00
Ivan Folgueira Bande 9fa8c7cd64 add windows in flake.nix 2025-10-22 02:13:39 +02:00
Ivan Folgueira Bande 52966cb874 flake nix allow build for all four archs 2025-10-21 03:10:08 +02:00
Ivan Folgueira Bande 35c0f1964d nix add all unix status go supported platforms 2025-10-21 02:55:09 +02:00
Ivan FB 972d7862fc include libsds.h in the resulting nix package 2025-10-15 19:56:13 +02:00
Ivan Folgueira Bande 27a2caecaf adjust as per comments 2025-10-15 19:54:09 +02:00
Ivan Folgueira Bande 68dcde059d adjust as per comments 2025-10-15 19:53:27 +02:00
Ivan Folgueira Bande 8b6b4046fb adjust 2025-10-15 19:51:02 +02:00
Ivan Folgueira Bande 2f7fc614d2 include header 2025-10-15 19:47:48 +02:00
jakub c1e47fd449 nix: add Gh workflow for building Flake packages
Important if `status-go` is consume the Nix Flake.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-10-15 18:34:38 +02:00
Ivan Folgueira Bande 87d5716ac6 nix: fix builds of libsds for host and android
For some unknown reason the builds would fail with:

/bin/sh: line 1: clang: command not found

Unless we added Android NDK toolchains/llvm/prebuilt to PATH.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-10-15 18:24:02 +02:00
Ivan FB 4f03aad10b set compiler properly in Makefile for Android
set compiler properly in Makefile for Android
2025-10-15 17:27:22 +02:00
Ivan Folgueira Bande c5d3689b53 set compiler properly in Makefile for Android 2025-10-15 17:01:36 +02:00