Road to Throne #525
Replies: 85 comments 108 replies
|
Currently I am preparing the new icon/tray images. Then I need to rename some internal code stuff, preferably removing the word |
|
I have created "1.0" milestone https://github.com/throneproj/nekoray/milestone/1. |
|
I will add legacy windows support to the main repository next week. |
|
@Mahdi-zarei I refactored the code of core. Convert core server to a shared library. |
|
Export symbols: |
|
Useage: Here is a modified version of |
|
Windows build nekoray.zip. |
|
I once thought about having the core as a lib, like Libbox that SFA uses, but there are several issues that make it hard. First thing is that we lose the ability to hard restart the core, as it no longer is a process you could simply kill or restart. Another is that on Linux you cannot set the system proxy when running as the root user, but you need root access for Tun mode. Third is actually there are lots of system Calls in the sing-box and I am kinda worried that not all of them will work properly when compiled to c code. So I guess it is best to keep the core a separate process to ensure things will remain safe and also have more control over it as a separate process. |
|
There also seems to be a weird bug with the simple-protobuf library, #534, in this issue, from the second call onwards, the |
|
I fixed the issue with spb. There is also another thing that makes it not worth making the core a clib, and that is its crashes will cause the whole app to crash, we can of course add a recover to the main function but it really isn't a solution. So my final thought is that even though it is amazing to have a single binary to distribute, the amount of problems and complexities is simply too much and it is not a good idea to do it. |
|
@Mahdi-zarei Thank you so much for your detailed explanation. I will stop further research on it. |
|
Regarding simple protobuf, there are issues with default values as having fields set as required makes api calls cumbersome as we cant leave them empty, and having them set as optional will require a |
|
Setting a default value for a required field(like fd421d0) works or not? |
|
It does work in the context of the value you read from it, but the problem is if you don't provide that field, the rpc will fail. Setting it as optional causes the code to break and we need to make significant changes. |
|
https://github.com/throneproj/nekoray/tree/refs/heads/optional_field |
|
Multi-column filter feature has been merged. It is disabled by default. Users can enable/disable filter by pressing filter.mp4 |
|
I guess we should release the stable version now, do you know of any bugs we have to fix before doing it? |
|
@Mahdi-zarei I added support for Juicity, TrustTunnel, ShadowTLS protocols to the |
|
@Mahdi-zarei The upstream sing-box repository creates |
|
@Mahdi-zarei With so many improvements and fixes in place, I think we're ready for a new version. |
|
I have added support for chaining Xray configs (sing->xray->sing at most, cannot transition between cores more than that) |
|
I made some changes to secure the access between core and gui given that we have suid which is dangerous. Please give it a bit of testing, since we migrated from tcp to unix socket/named pipes. |
|
@Mahdi-zarei please review #1446 and #1447 when you have time 🙂 |
|
Are there any issues you think we should work upon before release? I have tested the new version myself and it seems to be stable so far. |
|
@Mahdi-zarei 29d9420 broke the |
|
@Mahdi-zarei I'm back after finishing up the mid-year rush. |
|
@Mahdi-zarei I updated deep-link schemes. Please review #1655. Action https://github.com/throneproj/Throne/actions/runs/29692390084.
|
|
I'm quite eager to release 1.2.0 stable asap, since there are already LOTS of changes. If you have not found any bugs or any user has not reported any, we can release as soon as possible and keep further changes for the next release. |
|
@Mahdi-zarei The new version of the website is live. https://throneproj.github.io/ |
|
I made some changes to throneProj's base member accesses and gave you maintainer access to all repos, should be fine, but if you faced any issues, let me know to fix it. |




Uh oh!
There was an error while loading. Please reload this page.
Leave your thoughts about Throne here.
All reactions