Commit graph

245 commits

Author SHA1 Message Date
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
! Freaku
e417f4130c
Fix a unnoticed typo 2023-12-11 21:17:22 +05:30
Rikko
94abe80e3a
Fix a memory leak 2023-12-08 23:44:14 +05:30
Rikko
8ce09ea0a3
Make sure filter widget exists when looking for filter text 2023-12-08 22:26:29 +05:30
! Freaku
1a764046c1
Update plugin_manager
Fixes warning in 1.7.30: `set_main_menu_window() should be passed a 'from_window' value to help ensure proper UI behavior`
2023-12-08 21:46:14 +05:30
Rikko
2a5ce50834
Add a compatibility layer for older builds 2023-10-06 22:16:07 +05:30
brostos
68360e7714
Update plugin_manager.py 2023-10-03 12:08:21 +03:00
brostosjoined
e57c541762 [ci] auto-format 2023-10-03 08:20:09 +00:00
brostos
5c86064223
Update plugin_manager.py 2023-10-03 11:19:36 +03:00
brostos
c90face51e
Update 2023-10-03 10:50:14 +03:00
brostosjoined
f3d874d3ec [ci] auto-format 2023-10-02 22:28:17 +00:00
brostos
c92737eb8c
Loop and backward compability fix 2023-10-03 01:18:42 +03:00
Rikko
818ec655be
Bump plugin manager source version 2023-10-01 18:43:25 +05:30
Loup
41cc38af1f Removed deprecated methods 2023-10-01 17:48:20 +05:30
Rikko
7dba50e95b Remove a debug print 2023-06-30 04:46:38 +05:30
rikkolovescats
e31a7890c7 [ci] auto-format 2023-06-29 23:09:26 +00:00
Rikko
8a8df69e36 Specify branch names in custom plugin sources 2023-06-30 04:38:42 +05:30
rikkolovescats
0b55bc2233 [ci] auto-format 2023-06-20 19:26:47 +00:00