Commit graph

262 commits

Author SHA1 Message Date
Vishal
d4218337a8
Last 3 commits: fixing up code to be compatible with 1.7.35+ 2024-05-12 04:12:44 +05:30
Vishal
017546d44a
Update plugin_manager.py 2024-05-12 04:05:51 +05:30
Vishal
5c5509b7cc
Update plugin_manager.py 2024-05-12 04:03:23 +05:30
Vishal
50e72ec07c
Update plugin_manager.py 2024-05-12 02:57:23 +05:30
Vishal
b439c4be05
1.0.19 2024-05-05 07:06:28 +05:30
Vishal
e1d963a751
fixed author's text color to be more viewable 2024-05-05 06:56:48 +05:30
Loup-Garou911XD
52d56ca5a1 reset discord_richpresence 2024-05-05 00:31:05 +05:30
Vishal
5e71b03bdc
Fixed the bug where the changelog doesn't get shown if you close and open the plugin manager 2024-05-04 22:53:10 +05:30
brostosjoined
4d73fb33f9 [ci] auto-format 2024-04-30 09:23:50 +00:00
Vishal
26ca9c5c82
Update plugin_manager.py 2024-04-29 20:31:32 +05:30
Vishal
e7646c9dc4
Update plugin_manager.py 2024-04-29 20:29:30 +05:30
Vishal
6b5aae57ac
Update plugin_manager.py 2024-04-29 20:16:25 +05:30
Vishal
5af504e9ca
Fixing a few mistakes 2024-04-29 03:22:29 +05:30
Vishal
9936e76587
Specifying the exception 2024-04-29 02:50:00 +05:30
Vishal
e42fb09bdd
Fixing up a mistake 2024-04-29 02:29:52 +05:30
Vishal
30485235c2
Fixing up a few errors for non-internet mode 2024-04-29 02:19:04 +05:30
Loup-Garou911XD
55660d4769 [ci] auto-format 2024-04-28 16:43:41 +00:00
Loup-Garou911XD
12cadaab4c Fix error caused when cant get changelog 2024-04-25 18:33:43 +05:30
Vishal
0d7079f0a0
Update plugin_manager.py 2024-04-24 03:44:11 +05:30
Loup-Garou911XD
02530f050e Fix class instance not created 2024-04-23 02:31:25 +05:30
vishal332008
71b20d2ab3 [ci] auto-format 2024-04-22 20:20:07 +00:00
Vishal
f194499f97
Adding ChangeLog Window. 2024-04-23 01:49:42 +05:30
Vishal
c69d60f914
testing 2024-04-23 00:17:03 +05:30
Loup-Garou911XD
9df1ed9cd1 [ci] auto-format 2024-04-22 16:02:08 +00:00
Loup-Garou911XD
6f501504cf Added function for getting changelog 2024-04-22 21:31:22 +05:30
Loup-Garou911XD
0839999901 [ci] auto-format 2024-04-22 14:00:14 +00:00
Loup-Garou911XD
6e3dbf08ae Fix for error caused when disable button was missing 2024-04-22 19:29:31 +05:30
vishal332008
fd170eb810 [ci] auto-format 2024-04-22 10:31:30 +00:00
Vishal
2d2a8d673b
Adding 'Installed' category to show Installed plugins. 2024-04-22 16:01:07 +05:30
vishal332008
5186033e29 [ci] auto-format 2024-04-22 10:03:53 +00:00
Vishal
980bb17964
Plugins can be now viewed in A-Z or Z-A order. 2024-04-22 15:33:31 +05:30
Loup-Garou911XD
fc5a7f1c89 [ci] auto-format 2024-04-21 12:31:31 +00:00
Loup-Garou911XD
dc433ef4f1 Now drawing a controller for author text 2024-04-21 17:59:42 +05:30
vishal332008
0090a0294c [ci] auto-format 2024-04-21 11:20:25 +00:00
Vishal
021d359ed2
Fixing up a few positions and colors for authors. 2024-04-21 16:50:02 +05:30
vishal332008
d30e2297cf [ci] auto-format 2024-04-21 10:28:35 +00:00
Vishal
2bc90859e6
Showing all authors and their info for a plugin. 2024-04-21 15:58:14 +05:30
Vishal
6f42f2aa9f
Update plugin_manager.py 2024-04-21 15:35:56 +05:30
Loup-Garou911XD
2a4cb47fb3 Improvements to the new plugins notification 2024-04-21 15:11:42 +05:30
vishal332008
34bbcba187 [ci] auto-format 2024-04-20 18:24:27 +00:00
Vishal
84514438b4
Limited the "new plugins available" screen message to maximum 3 plugins. 2024-04-20 23:53:59 +05:30
Vishal
4228b3e4e8
Update - 1.0.11 2024-04-20 20:24:45 +05:30
Vishal
6dd86ef260
Update - 1.0.10 2024-04-20 03:15:58 +05:30
Vishal
88834bd979
Update - 1.0.9 2024-04-20 02:22:22 +05:30
rikkolovescats
85b572707e
Bump plugin manager to v1.0.8 2024-04-11 12:51:06 +05:30
rikkolovescats
4b140f29c9
Wait for SceneAppMode to activate
Reported in ballistica's official discord server:
https://discord.com/channels/1001896771347304639/1218201750440247296/1227731932838760521.

We were calling `_bascenev1.protocol_version()` before SceneAppMode was
activated (by ballistica), which isn't allowed in newer ballistica
versions.

It was the cause of the following traceback:
```sh
$ CMAKE_BUILD_TYPE="Debug" make prefab-gui-debug

BA_WSL_TARGETS_WINDOWS=1 tools/pcommand make_prefab gui-debug
make[1]: Entering directory '/home/rikkolovescats/ballistica'
Lazybuild: skipping "meta" (checked 89 inputs in 0.0026s).
Lazybuild: skipping "assets-cmake" (checked 376 inputs in 0.0018s).
Staging for cmake at build/prefab/full/linux_x86_64_gui/debug...
make[1]: Leaving directory '/home/rikkolovescats/ballistica'
cd build/prefab/full/linux_x86_64_gui/debug && ./ballisticakit
root: BallisticaKit 1.7.34 build 21800.
root: Error loading plugin class 'plugin_manager.EntryPoint'.
Traceback (most recent call last):
  File "/home/rikkolovescats/ballistica/build/prefab/full/linux_x86_64_gui/debug/ba_data/python/babase/_plugin.py", line 283, in attempt_load_if_enabled
    cls = getclass(self.class_path, Plugin)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/rikkolovescats/ballistica/build/prefab/full/linux_x86_64_gui/debug/ba_data/python/babase/_general.py", line 83, in getclass
    module = importlib.import_module(modulename)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/home/rikkolovescats/.ballisticakit/mods/plugin_manager.py", line 70, in <module>
    protocol_version = _bs.protocol_version()
                       ^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Attempting to access SceneAppMode while it is inactive.
```

This commit improves the compatibility layer such that any calls that
require SceneAppMode to be active aren't made before it gets active.
2024-04-11 12:48:14 +05:30
! Freaku
4be6330733
Fix searching in plugin manager with capital letters 2024-02-22 01:04:52 +05:30
Loup-Garou911XD
e5a0e9069d [ci] auto-format 2023-12-26 09:33:21 +00:00
Loup-Garou911XD
66bd5675d0 Fixed plugman throwing errors on older builds 2023-12-26 15:02:49 +05:30
! Freaku
cd1c858bbd
Fix oops 2023-12-11 22:20:07 +05:30