Mikaël Capelle
79f585f483
Add extra classes for QVariant conversion.
2024-08-11 16:56:20 +02:00
Mikaël Capelle
e85e69a7a1
Start adding bindings for extensions.
2024-08-11 13:30:07 +02:00
Mikaël Capelle
4c6ed4adc0
Add bindings for exceptions.
2024-08-11 12:53:28 +02:00
Mikaël Capelle
691a9a2f62
Remove unused import in test file.
2024-08-11 11:14:42 +02:00
Mikaël Capelle
e155907d21
Fix logging for failed load.
2024-08-11 11:06:12 +02:00
Mikaël Capelle
54e05d31ef
Add back IPlugin::requirements.
2024-08-10 15:38:09 +02:00
Mikaël Capelle
bf05ac1593
Update following change to PluginSetting in uibase.
2024-08-10 12:23:12 +02:00
Mikaël Capelle
e4576f67a6
Add some tests for QByteArray conversion.
2024-08-10 10:16:25 +02:00
Mikaël Capelle
a4338db554
Fix after rebasing.
2024-08-09 22:13:43 +02:00
Mikaël Capelle
9b1793c726
Fix issue with unloading single .py file and fix tests.
2024-08-09 22:06:12 +02:00
Mikaël Capelle
c658b396bc
Properly load plugins.
2024-08-09 22:06:06 +02:00
Mikaël Capelle
8fa0d0ade8
Update following uibase changes for extensions.
2024-08-09 22:05:23 +02:00
Mikaël Capelle
2d151d0f66
Switch VersionInfo -> Version for ModOrganizer2. ( #132 )
2024-08-09 21:55:34 +02:00
Mikaël Capelle
7cca7018b3
Move to VCPKG.
...
* Minor cleaning of CMakeLists.txt. Fix C++ warnings and Qt deprecation.
* Avoid using Python from virtual environment.
2024-08-09 21:10:50 +02:00
Jeremy Rimpo
e11d5ec00d
Support new pluginpreview interfaces ( #130 )
2024-07-11 11:27:19 +02:00
Mikaël Capelle
6623e19754
Expose INVALID_HANDLE_VALUE as mobase.INVALID_HANDLE_VALUE. ( #131 )
...
* Expose INVALID_HANDLE_VALUE as mobase.INVALID_HANDLE_VALUE.
* Add tests for startApplication() returning INVALID_HANDLE_VALUE.
* Clean tests and generate stub files for them.
2024-06-28 11:48:30 +02:00
Mikaël Capelle
7cfc761e40
Clean cmake test configuration after change to cmake_common. ( #129 )
...
* Clean cmake test configuration after change to cmake_common.
* Remove appveyor.yml.
2024-06-22 08:27:42 +02:00
Mikaël Capelle
5bb4de039e
Fix for Python debug build ( #128 )
...
* Minor updates for debug Python/PyQt.
* Fix issue with destructor of lambda in shared holder.
2024-06-14 16:13:52 +02:00
Jeremy Rimpo
8c044e28c5
Starfield Creation Update: Convert overlay/override flags to medium flags ( #127 )
...
* Convert overlay/override flags to medium flags
2024-06-13 17:50:48 +02:00
Mikaël Capelle
790d0a1097
Refactoring of game features for better management. ( #126 )
2024-06-09 12:26:39 +02:00
Mikaël Capelle
a966db7d19
Use more modern way to set Python paths and use PYTHONPATH environment variable when no paths is specified in runner. ( #125 )
2024-06-01 13:20:56 +02:00
Mikaël Capelle
86505f19ce
Add bindings for getKnownFolders(). Move stuff to mobase.utils. ( #122 )
2024-05-25 14:34:47 +02:00
Mikaël Capelle
a839d36235
Switch from fmtlib to std::format. ( #124 )
...
* Fix issue with latest pybind11.
* Switch from fmtlib to std::format.
* Set CMake policy CMP0144.
2024-05-25 13:15:10 +02:00
Jeremy Rimpo
bb0a24a00d
Merge pull request #119 from ModOrganizer2/2_5_x
...
Bump version to reflect 2.5.0 release
2023-12-16 16:31:45 -06:00
Mikaël Capelle
ac7009d17f
Configure Python to run in isolated mode. ( #121 )
2023-12-03 09:15:57 +01:00
Jeremy Rimpo and Mikaël Capelle
cc1bc4cb7f
Fix string conversion issues with emoji characters ( #120 )
...
* Fix load/cast of QString to avoid issues with surrogate pairs (emoji characters, ...).
---------
Co-authored-by: Mikaël Capelle <capelle.mikael@gmail.com >
2023-12-03 09:15:17 +01:00
Jeremy Rimpo
ebede37865
Bump version to reflect 2.5.0 release
2023-11-24 21:15:34 -06:00
Jeremy Rimpo
7a885ad014
Merge pull request #117 from ModOrganizer2/plugin_updates
...
Add isDummy to IPluginList
2023-10-27 20:09:34 -05:00
Jeremy Rimpo
ff3c601164
Use hasNoRecords
2023-10-18 23:04:16 -05:00
Jeremy Rimpo
655e60acb7
Add isDummy to IPluginList
2023-10-17 00:41:44 -05:00
Jeremy Rimpo
e52163eb29
Merge pull request #116 from ModOrganizer2/overlay_support
...
Add isOverlayFlagged to IPluginList
2023-10-08 13:02:41 -05:00
Jeremy Rimpo
431caa9992
Add isOverlayFlagged to IPluginList
2023-10-08 04:13:58 -05:00
Mikaël Capelle
a644546b41
Merge pull request #115 from ModOrganizer2/uibase_updates
...
Use defaults set in UIBase
2023-10-04 11:10:00 +02:00
Jeremy Rimpo
404fd3f4a3
Use defaults set in UIBase
2023-10-04 02:58:15 -05:00
Jeremy Rimpo
0be763f3d2
Merge pull request #114 from ModOrganizer2/loot_0_22
...
Plugin sorting updates
2023-10-03 23:17:31 -05:00
Jeremy Rimpo
7452df8bbb
Plugin sorting updates
...
- Add enabledPlugins for core plugins which are enabled but NOT auto-loaded (may need to be written to plugins.txt or have an ambiguous load order position)
- General Starfield updates
- Add enabledPlugins for "BlueprintShips-Starfield.esm"
- Disable plugin management if sTestFile is in use (also applies to FO4)
- Write the enabledPlugins to plugins.txt to enforce base game load order
- Allow for LOOT sorting (dynamic based on settings)
- Incorporate enabledPlugins into force enabled plugins in plugin list
- Update various interface layers
TODO: Fix sort button to dynamically update if status changes
TODO: Auto refresh lists if the INI Editor is closed
2023-10-02 15:27:12 -05:00
Mikaël Capelle
c6c7e5ef73
Merge pull request #113 from ModOrganizer2/dev/refresh-callback
...
Add onNextRefresh() and 2nd onAboutToRun bindings.
2023-09-29 08:24:02 +02:00
Mikaël Capelle
328b6e7710
Fix arity check for function arguments.
2023-09-27 20:22:34 +02:00
Mikaël Capelle
eb2c874a39
Remove duplicated logger print.
2023-09-27 19:55:48 +02:00
Mikaël Capelle
5501814e00
Add onNextRefresh() and 2nd onAboutToRun bindings.
2023-09-26 21:41:27 +02:00
Jeremy Rimpo
d1609a79ae
Merge pull request #112 from ModOrganizer2/starfield
...
Starfield
2023-09-17 16:19:34 -05:00
Jeremy Rimpo
58737acf0e
Fix lint issues
2023-09-13 03:35:36 -05:00
Jeremy Rimpo
d3fec9c230
Add 'None' LoadOrderMechanism which disables managed plugins
...
- Primary plugins are still marked as loaded
2023-09-09 04:37:02 -05:00
Jeremy Rimpo
b99a5115cb
Implement 'override' plugin support
2023-09-05 13:25:00 -05:00
Jeremy Rimpo
923d600bc0
Merge remote-tracking branch 'origin/qt6'
2023-09-04 22:29:11 -05:00
Jeremy Rimpo
ba80ce9e20
Use map so we can set an origin name
2023-09-04 19:39:40 -05:00
Jeremy Rimpo
57b30be723
Preliminary secondary data directory support
2023-09-04 18:02:54 -05:00
Mikaël Capelle
f1e5d65868
Merge pull request #111 from ModOrganizer2/ci/mob-github-action
...
Switch to generic mob action.
2023-07-10 20:10:48 +02:00
Mikaël Capelle
5a8d3e1a72
Switch to generic mob action.
2023-07-10 19:59:53 +02:00
Mikaël Capelle
809157115f
Merge pull request #110 from ModOrganizer2/dev/clean-formatting
...
Formatting (black, isort, clang, line-ending).
2023-07-10 09:41:54 +02:00
Mikael CAPELLE
be9b614a5e
Fix build workflow.
2023-07-10 09:32:09 +02:00
Mikael CAPELLE
0ee795ac6a
Add black and isort to linting action.
2023-07-10 09:19:14 +02:00
Mikael CAPELLE
d7c109c344
Add .git-blame-ignore-revs.
2023-07-10 09:13:21 +02:00
Mikael CAPELLE
7108d59267
Apply black/isort to Python files.
2023-07-10 09:12:34 +02:00
Mikael CAPELLE
1bffcfa8bf
Fix line-ending and force them through gitattributes.
2023-07-10 09:12:20 +02:00
Mikaël Capelle
6c20f001ff
Fix Github build Workflow for PR.
2023-07-09 18:09:46 +02:00
Mikaël Capelle
0fff26df0c
Merge pull request #109 from Holt59/ci/initial-gh-action-for-build
...
Add Github Workflows
2023-07-09 17:10:28 +02:00
Mikaël Capelle
a5d84297fc
Fix some formatting with clang-format.
2023-07-09 17:07:44 +02:00
Mikaël Capelle
1bc51b6626
Add workflow to run clang-format.
2023-07-09 17:03:11 +02:00
Mikaël Capelle
e6190bf4f7
Add basic Github CI action for testing.
2023-07-09 16:48:38 +02:00
Mikaël Capelle
788f982eab
Merge pull request #108 from Holt59/fix/qt-type-caster
...
Fix Qt type caster for latest pybind11
2023-07-02 13:55:47 +02:00
Mikaël Capelle
cb750e72d1
Merge branch 'qt6' into fix/qt-type-caster
2023-07-02 13:55:39 +02:00
Mikaël Capelle
1cdeb081b2
Fix conversion operators for Qt type casters with latest pybind11.
2023-04-09 20:41:57 +02:00
Mikaël Capelle
1effc57990
Fix Python package installation in CMake for tests.
2023-04-09 20:34:26 +02:00
Jeremy Rimpo
26d7de23f3
Fixes for PyQt6 updates
2022-10-07 02:07:11 -05:00
Mikaël Capelle
967f1d327b
Fix IPluginModPage inheritance.
2022-05-13 20:29:04 +02:00
Mikaël Capelle
2430e85968
Fix an issue where delayed DLLs would not be found.
2022-05-09 19:46:14 +02:00
Mikaël Capelle
2eabaf1774
Back to a shared library for the runner.
2022-05-08 16:05:26 +02:00
Mikaël Capelle
40c6119515
Move tests to their own folder.
2022-05-08 11:14:01 +02:00
Mikaël Capelle
efaea1edfe
Better implementation for FileWrapper / DirectoryWrapper.
2022-05-07 13:58:59 +02:00
Mikaël Capelle
e204c003ae
Add GameFeatureType.
2022-05-06 23:34:48 +02:00
Mikaël Capelle
29fc11dfd8
Define the true MoVariant, FileWrapper and DirectoryWrapper inside mobase.
2022-05-06 23:18:08 +02:00
Mikaël Capelle
cc11a1a4f7
Merge pull request #106 from ModOrganizer2/qt6-update
...
Documentation and minor updates
2022-05-06 22:29:51 +02:00
Mikaël Capelle
465059181a
Add custom std::function<> caster.
2022-05-06 22:29:00 +02:00
Mikaël Capelle
cb35c950cf
Update documentation. Minor changes for clarity.
2022-05-06 22:06:55 +02:00
Mikaël Capelle
e6c5923bb1
Make runner a static lib. Update translation paths. Clean CMake stuff.
2022-05-06 17:40:11 +02:00
Mikael Capelle
604c50d3b3
Add README and intermediate CMake.
2022-05-06 08:31:10 +02:00
Mikaël Capelle
5b32c4f024
More warnings.
2022-05-05 22:26:01 +02:00
Mikaël Capelle
e788f44b85
Merge pull request #105 from ModOrganizer2/fix-unloading
...
Fix unloading of modules.
2022-05-05 22:03:48 +02:00
Mikaël Capelle
28210d3d7a
Fix unloading of modules. Up warning levels to 4.
2022-05-05 22:03:18 +02:00
Mikaël Capelle
450bfa821a
Minor fixes and updates for widgets.
2022-05-05 19:12:35 +02:00
Mikaël Capelle
b17a1a3b07
Test for FileTypes (and QFlags).
2022-05-05 14:21:24 +02:00
Mikaël Capelle
19da0a9d8c
Minor fixes for typing.
2022-05-05 13:13:56 +02:00
Mikaël Capelle
b7e08ad862
Fix MoVariant name.
2022-05-04 23:59:06 +02:00
Mikaël Capelle
d0a0ac0f0d
Add new functions for IPluginList.
2022-05-04 23:30:33 +02:00
Mikaël Capelle
4b0890e679
Add missing constructor for VersionInfo().
2022-05-04 23:30:26 +02:00
Mikaël Capelle
6268fe6d7b
Minor cleaning.
2022-05-04 23:22:40 +02:00
Mikaël Capelle
cf76d34cdf
Minor fix to filetree for bindings.
2022-05-04 22:26:59 +02:00
Mikaël Capelle
9bc343c944
Fix DataArchives::addArchive.
2022-05-04 22:06:26 +02:00
Mikaël Capelle
72750ab4de
Fix name of wrapped arguments.
2022-05-04 21:15:55 +02:00
Mikaël Capelle
7c6bbc2980
Merge pull request #104 from ModOrganizer2/test-and-fixes-for-qt6
...
Test, fixes and improvements for qt6
2022-05-04 20:57:55 +02:00
Mikaël Capelle
65ccc4af9c
Add argument wrapper for directory and files.
2022-05-04 20:54:06 +02:00
Mikaël Capelle
b42ce25b6e
Set default logging handler.
2022-05-04 19:14:29 +02:00
Mikaël Capelle
fa33e42e22
Remove automatic conversion from path to QString.
2022-05-04 19:10:18 +02:00
Mikaël Capelle
94bd8b82b4
Add tests for IPluginDiagnose and IPluginFileMapper.
2022-05-04 19:09:02 +02:00
Mikaël Capelle
639c3cf71d
Fix bindings for IPluginDiagnose and IPluginFileMapper.
2022-05-04 18:46:56 +02:00
Mikaël Capelle
6030b443f7
Move pybind11-utils to own folder. Add tests for shared_cpp_owner.
2022-05-04 18:24:33 +02:00
Mikaël Capelle
08430a5df1
Add basic tests for QFlags.
2022-05-03 22:21:23 +02:00
Mikaël Capelle
8a886733d4
Look for translations in pybind11-qt and mobase.
2022-05-03 08:24:01 +02:00
Mikaël Capelle
2ef5dedfc0
Fix enum arithmetic.
2022-05-02 23:26:08 +02:00
Mikaël Capelle
97e9876987
Merge pull request #103 from ModOrganizer2/python-rework
...
Python rework
2022-05-02 20:32:05 +02:00
Mikaël Capelle
e89616d695
Add more basic tests.
2022-05-02 19:59:49 +02:00
Mikaël Capelle
cc0be7469a
More tests.
2022-05-02 19:46:26 +02:00
Mikaël Capelle
62f4a9679d
Remove useless stuff.
2022-05-02 19:39:09 +02:00
Mikaël Capelle
958cf9de37
Remove tests stuff from mobase and remove old boost runner.
2022-05-02 19:01:19 +02:00
Mikaël Capelle
30a01cf783
Fixes and tests.
2022-05-02 18:56:44 +02:00
Mikaël Capelle
6ea9d92b26
Minor fixes + tests + getSupportURL().
2022-05-02 17:09:36 +02:00
Mikaël Capelle
225c86d258
Add some tests for widgets.
2022-04-29 22:27:31 +02:00
Mikaël Capelle
051c0589b5
Add more tests.
2022-04-29 21:11:59 +02:00
Mikaël Capelle
907bbf3117
Fix mod name not being updated correctly in installers.
2022-04-29 21:11:00 +02:00
Mikaël Capelle
e5d4a4133c
start adding tests.
2022-04-29 20:01:14 +02:00
Mikaël Capelle
21aeebdcc8
Fix excepthook for Python.
2022-04-29 18:09:27 +02:00
Mikaël Capelle
275acba6dd
Add back warning from proxy.
2022-04-28 22:47:49 +02:00
Mikaël Capelle
68060b0e6b
Global re-organization to split mobase from runner.
2022-04-28 22:44:15 +02:00
Mikaël Capelle
b2767887a9
Many update to have a fully isolated plugin_python.
2022-04-28 21:38:27 +02:00
Mikaël Capelle
d4f515ade1
Rename runner -> runner-boost.
2022-04-28 21:38:12 +02:00
Mikaël Capelle
64af744c8c
Merge pull request #102 from ModOrganizer2/update-cmake-common-qt6
...
Update following cmake_common changes.
2022-04-28 17:50:04 +02:00
Mikaël Capelle
dff9bd2404
Documentation.
2022-04-28 13:51:26 +02:00
Mikaël Capelle
4c7b452219
Multiple fixes.
2022-04-28 13:44:29 +02:00
Mikaël Capelle
d0e883fd90
Fix Qt ownerships.
2022-04-27 19:43:10 +02:00
Mikaël Capelle
f904e25e76
Multiple updates.
2022-04-27 17:49:21 +02:00
Mikaël Capelle
55e8ce326a
Finally implement everything (some stuff not working).
2022-04-26 13:53:02 +02:00
Mikaël Capelle
92a2429d58
Fix installers.
2022-04-25 22:17:34 +02:00
Mikaël Capelle
5ec456f880
Continue implementing plugins.
2022-04-25 21:21:06 +02:00
Mikaël Capelle
b92e3de535
Start implementing plugins.
2022-04-25 18:57:14 +02:00
Mikaël Capelle
c97724a98f
Implement basic classes from uibase.
2022-04-24 22:23:30 +02:00
Mikaël Capelle
3798370283
Fix Qt bindings.
2022-04-24 13:54:06 +02:00
Mikaël Capelle
b2e1cb490c
Update pybind11 bindings.
2022-04-24 13:43:33 +02:00
Mikaël Capelle
8e714f2eb6
Fix PyQt6 bindings.
2022-04-23 22:59:44 +02:00
Mikaël Capelle
9ad6c7f6ac
Update pybind11 version.
2022-04-23 21:39:10 +02:00
Mikaël Capelle
4937fe9cc9
Some updates for Qt6.
2022-04-21 23:58:05 +02:00
Mikaël Capelle
67ea7deb00
Clean stuff. Bindings for IFileTree.
2022-04-21 23:57:07 +02:00
Mikaël Capelle
8bd7d08d1a
Start moving to pybind11.
...
# Conflicts:
# .gitmodules
2022-04-21 23:57:05 +02:00
Mikaël Capelle
4be4bc2a55
Remove pybind11.
2022-04-21 23:17:47 +02:00
Mikaël Capelle
94ecbe2c16
Fix translations.
2022-04-21 19:09:07 +02:00
Mikaël Capelle
ddaff7d03d
Update following cmake_common changes.
...
# Conflicts:
# CMakeLists.txt
# src/runner/CMakeLists.txt
# src/runner/pythonRunner.pro
# src/runner/pythonrunner_en.ts
2022-04-19 23:46:01 +02:00
Jeremy Rimpo
3957187e0a
Merge remote-tracking branch 'origin/master' into qt6
2022-04-17 20:22:54 -05:00
Chris Bessent
7c54a45f63
Merge pull request #99 from Holt59/no-more-external-python
...
Remove support for external Python.
2022-03-19 21:15:05 -07:00
Chris Bessent
b090d1341b
Merge pull request #100 from Qudix/isX
...
Add hasMasterExtension, hasLightExtension, isMasterFlagged, and isLightFlagged
2022-03-19 21:10:02 -07:00
Qudix
f3b43a5375
Change isXFile to hasXExtension
2022-03-19 19:47:35 -05:00
Qudix
0423ccb9ca
Rename isX to isXFile and deprecate isMaster
2022-02-24 20:00:56 -06:00
Qudix
d4d958018d
Add isMasterFlagged isLight isLightFlagged
2022-02-24 17:57:23 -06:00
Mikaël Capelle
b1c51ada08
Remove support for external Python.
2022-02-13 17:33:53 +01:00
Mikaël Capelle
5f56aa99ca
Merge pull request #98 from Holt59/fix-sharedptr-deletion
...
Fix shared_ptr in createFile().
2022-02-13 17:32:39 +01:00
Mikaël Capelle
0c5622ea69
Fix shared_ptr in createFile().
2022-01-11 22:36:16 +01:00
Jeremy Rimpo
03989ae0f1
Merge remote-tracking branch 'origin/category_revamp' into qt6
2021-12-24 15:12:04 -06:00
Jeremy Rimpo
cc129e4895
Fix Python version check and translations
2021-12-10 09:35:32 -06:00
Jeremy Rimpo
7e8748abf0
Fix garbage collection issue with closure in Python 3.10
2021-12-09 16:46:39 -06:00
Jeremy Rimpo
11c2bcac9a
More Qt6 migrations
2021-12-08 05:24:24 -06:00
Jeremy Rimpo
56de0fb4d1
Remove extraneous conversion
2021-12-08 05:24:00 -06:00
Jeremy Rimpo
a53d3fe5d3
PyQt6 fixes
2021-12-06 03:46:43 -06:00
Jeremy Rimpo
d6a7efc266
Changes to compile with Qt6 + Boost 1.77
2021-12-05 03:42:45 -06:00
Jeremy Rimpo
574f79117e
Merge branch 'master' into category_revamp
2021-07-13 16:02:03 -05:00
Mikaël Capelle
071498f305
Merge pull request #96 from Holt59/remove-boost-uibase
...
Update after removal of boost in uibase.
2021-05-27 15:43:22 +02:00
Mikaël Capelle
f134881da6
Update after removal of boost in uibase.
2021-05-26 19:47:15 +02:00
Mikaël Capelle
931996347b
Merge pull request #94 from Holt59/fix-fileinfo
...
Fix FileInfo attribute access.
2021-05-20 20:21:07 +02:00
Mikaël Capelle
4775bafc33
Merge pull request #95 from Holt59/iorganizer-virtualfiletree
...
Add IOrganizer::virtualFileTree().
2021-05-20 20:20:47 +02:00
Mikaël Capelle
f5a8446230
Add IOrganizer::virtualFileTree().
2021-05-14 14:40:36 +02:00
Mikaël Capelle
120c13170c
Fix FileInfo attribute access.
2021-05-14 13:54:06 +02:00
Jeremy Rimpo
4d018999cd
Merge remote-tracking branch 'origin/master' into category_revamp
2021-03-25 10:28:50 -05:00
Mikaël Capelle
ae975e52d7
Merge pull request #93 from Holt59/fix-startup-logs
...
Import mobase after installing the exception wrapper.
2021-03-04 20:29:24 +01:00
Mikaël Capelle
e5ac21442f
Import mobase after installing the exception wrapper.
2021-03-03 20:44:20 +01:00
Mikaël Capelle
40e6924714
Merge pull request #92 from LostDragonist/disabled_plugins
...
Add enabledByDefault to IPlugin definition
2021-03-02 19:27:44 +01:00
Mikaël Capelle
e4ff66b727
Merge pull request #91 from Holt59/fix-ifiletree-sharedptr
...
Fix deletion of shared_ptr created from C++.
2021-03-02 19:27:32 +01:00
Chris Bessent
a9a3d49efa
Add enabledByDefault to IPlugin definition
2021-03-02 02:45:47 -07:00
Mikaël Capelle
fce4f39dc8
Fix deleting of shared_ptr create from C++.
2021-02-28 19:58:15 +01:00
Jeremy Rimpo
d678a22f99
Merge remote-tracking branch 'origin/master' into category_revamp
2021-02-11 15:31:01 -06:00
Mikaël Capelle
57441bd3c5
Update translation file.
2021-02-02 20:39:14 +01:00
Jeremy Rimpo
4e8800b4d6
[ci skip] Update artifacts paths for msbuild
2021-01-29 10:53:40 -06:00
Mikaël Capelle
bab25d25ca
Merge pull request #89 from Holt59/fix-iplugininstaller-install
...
Update IInstallationManager::installArchive() to handle string directly.
2021-01-02 15:30:16 +01:00
Mikaël Capelle
ca052389b5
Merge pull request #90 from Holt59/update-imodinterface
...
Remove setName and remove from mod interface.
2021-01-02 15:25:35 +01:00
Mikaël Capelle
5f86de5d9e
Remove setName and remove from mod interface.
2021-01-02 15:07:31 +01:00
Mikaël Capelle
91c55c909f
Update IInstallationManager::installArchive() to handle string directly.
2021-01-01 19:58:19 +01:00
Mikaël Capelle
d2d31f993d
Merge pull request #88 from Holt59/fix-iorganizer-findfileinfos
...
Add missing converters to use IOrganizer::findFileInfos.
2020-12-30 21:06:13 +01:00
Mikaël Capelle
56dbb1f40e
Add missing converters to use IOrganizer::findFileInfos.
2020-12-30 20:42:19 +01:00
Al
cde7f79bc3
Merge pull request #87 from Holt59/imodinterface-isX
...
Add method to get the type of IModInterface.
2020-12-30 15:25:18 +01:00
Mikaël Capelle
96a7bc3898
Add method to get the type of IModInterface.
2020-12-26 16:55:07 +01:00
Mikaël Capelle
f4ae1c94a0
Merge pull request #86 from Holt59/add-taskdialog
...
Add bindings for TaskDialog.
2020-12-12 13:00:37 +01:00
Mikaël Capelle
87c91b8259
Add bindings for TaskDialog.
2020-12-08 19:44:10 +01:00
Mikaël Capelle
2ed4b901c0
Merge pull request #85 from Holt59/moexception
...
Rename MyException to MOException
2020-12-04 13:30:30 +01:00
Mikaël Capelle
cd9b16dcc2
MOException -> Exception.
2020-12-04 12:04:45 +01:00
Mikaël Capelle
5cad8a9ff8
Rename MyException to MOException.
2020-12-04 11:49:44 +01:00
Mikaël Capelle
e961d21f24
Merge pull request #84 from Holt59/ipluginproxy-unload
...
Add IPluginProxy::unload() and rename instantiate() to load().
2020-12-02 16:26:56 +01:00
Mikaël Capelle
7f0848c9d2
Improve comments.
2020-12-02 09:20:13 +01:00
Mikaël Capelle
bc05ec6477
Add IPluginProxy::unload() and rename instantiate() to load().
2020-12-01 21:18:06 +01:00
Al
631fc2b31b
Merge pull request #83 from ModOrganizer2/Al12rs-refresh-waitForApplication
...
Add refresh parameter for waitForApplication
2020-11-28 10:55:38 -08:00
AL
f17ce3d2e6
add default value for refresh
2020-11-28 18:17:23 +01:00
AL
73d7771703
Add refresh parameter for waitForApplication
2020-11-28 18:02:39 +01:00
Al
e737f0a5a8
Merge pull request #79 from ModOrganizer2/iplugingame-saves
...
IPluginGame::listSaves
2020-11-28 06:37:40 -08:00
isanae
a75e94d46f
Merge pull request #82 from ModOrganizer2/revert-73-master
...
Revert "Moving things around"
2020-11-27 07:47:30 -05:00
isanae
b7855ca7d8
Merge pull request #81 from ModOrganizer2/revert-80-dll_directory
...
Revert "Fix libffi not found"
2020-11-27 07:47:24 -05:00
isanae
f6cf0e8b33
Revert "Moving things around"
2020-11-27 07:36:39 -05:00
isanae
4fdbabdf76
Revert "Fix libffi not found"
2020-11-27 07:36:28 -05:00
Mikaël Capelle
efc7d76a0a
Revert translation file.
2020-11-25 22:47:10 +01:00
Mikaël Capelle
832aced4d3
Fix default binding for IPlugin::master().
2020-11-21 14:11:36 +01:00
Mikaël Capelle
a335adf928
Add argument name to IPluginRequirement::check().
2020-11-21 13:45:30 +01:00
Mikaël Capelle
ccef4be741
Replace ScriptExtender saveGameAttachmentExtensions with savegameExtension.
2020-11-21 12:25:59 +01:00
Mikaël Capelle
aacf3654d8
Add default argument to GuessedString constructor to match C++ implementation.
2020-11-20 21:42:07 +01:00
Mikaël Capelle
234586823d
Return shared_ptr in IPlugin::requirements().
2020-11-19 21:21:58 +01:00
Mikaël Capelle
5b84588732
Add comment to reference Boost.Python issue.
2020-11-19 20:41:24 +01:00
Mikaël Capelle
7dbc139b10
Fix crash when destructing Python save games due to the GIL lock.
2020-11-19 20:40:05 +01:00
Mikaël Capelle
31e4f724ed
Clean listSaves() bindings.
2020-11-19 20:33:24 +01:00
Mikaël Capelle
6e088406c8
Update following removal of IPlugin::isActive().
2020-11-19 20:33:24 +01:00
Mikaël Capelle
9784881921
Update following addition of IPluginGame::listSaves().
2020-11-19 20:33:00 +01:00
Mikaël Capelle
aa8caee65c
Merge pull request #80 from Qudix/dll_directory
...
Fix libffi not found
2020-11-19 09:36:34 +01:00
Qudix
9a10c01cc0
lamb-da
2020-11-18 14:30:40 -06:00
Qudix
d9243bb617
Better
2020-11-18 13:37:54 -06:00
Qudix
adf5888faf
Fix libffi not found
2020-11-18 13:02:15 -06:00
Mikaël Capelle
7bec9237e6
Merge pull request #78 from Holt59/iplugin-isactive-refactoring
...
IPlugin::isActive refactoring
2020-11-18 10:01:30 +01:00
Mikaël Capelle
0846ffd177
Merge pull request #77 from Holt59/logging-module
...
Add handler for Python logging module.
2020-11-16 09:13:28 +01:00
isanae
f3601e5bfe
Merge pull request #73 from Qudix/master
...
Moving things around
2020-11-14 06:54:31 -05:00
Mikaël Capelle
b37d3a9c17
Add callbacks for plugin enabled/disabled.
2020-11-12 21:49:37 +01:00
Mikaël Capelle
cbb911f6a0
Rename the wrapper declaration and definition macros.
2020-11-11 22:02:40 +01:00
Mikaël Capelle
27c34af2aa
Update authors.
2020-11-11 21:54:54 +01:00
Mikaël Capelle
b20c015643
master() returns the name of the plugin.
2020-11-11 21:00:47 +01:00
Mikaël Capelle
d89eae1646
Allow IPluginRequirement to be properly extended from Python.
2020-11-11 17:25:55 +01:00
Mikaël Capelle
de5fde0f28
Cleaner IPluginRequirement.
2020-11-11 16:14:28 +01:00
Mikaël Capelle
e84777d550
Remove automatic plugin dependency for proxy (moved to MO2 core).
2020-11-11 13:38:42 +01:00
Mikaël Capelle
1ca6fee64d
Add plugin requirements.
2020-11-11 11:23:15 +01:00
Mikaël Capelle
57c774103d
Better handling of sequence conversions.
2020-11-11 11:22:50 +01:00
Mikaël Capelle
ead8352c93
Remove isActive() for the Python proxy plugin.
2020-11-11 11:22:10 +01:00
Mikaël Capelle
04e1af60a0
Do not set basicConfig() but provide a default logger.
2020-11-09 20:08:29 +01:00
Mikaël Capelle
ebb566f773
Expose LogHandler in mobase.
2020-11-09 19:17:57 +01:00
Mikaël Capelle
c45bfb1e35
Cast the record message to str() before extracting.
2020-11-09 18:28:58 +01:00
Mikaël Capelle
5f8e1803c0
Add handler for Python logging module.
2020-11-09 18:23:57 +01:00
Seth Riley
9bd22cfceb
Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer-plugin_python into master
2020-11-06 13:24:00 -06:00
Mikaël Capelle
c2c63e0624
Merge pull request #76 from Holt59/iplugingame-detectgame
...
Replace IPlugin::registered() by IPluginGame::detectGame().
2020-11-06 20:17:45 +01:00
Seth Riley
240622565c
Fix merge
2020-11-06 12:36:43 -06:00
Seth Riley
ba7ba616ea
Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer-plugin_python into master
2020-11-06 12:27:51 -06:00
Mikaël Capelle
93dcf8d5b3
Replace IPlugin::registered() by IPluginGame::detectGame().
2020-11-06 18:56:00 +01:00
isanae
7d0e97ed2b
Merge pull request #75 from isanae/command-line
...
Command line and instance dialogs
2020-11-06 10:50:25 -05:00
isanae
86297b1170
removed unused IOrganizer from PythonRunner
2020-11-06 09:25:01 -05:00
isanae
78e4e5c548
binding for getPluginDataPath()
2020-11-06 09:22:23 -05:00
isanae
6a73c23a4b
added registered() python wrapper
...
null checks for the IOrganizer, replaced pluginDataPath() by the static version getPluginDataPath()
2020-11-06 09:06:55 -05:00
Mikaël Capelle
7afade8642
Merge pull request #74 from Holt59/imodinterface-filetree
...
Add IModInterface::fileTree().
2020-11-05 10:43:55 +01:00
isanae
6445f7f47f
handle empty variants returned from pluginSetting()
...
can happen when init() is called when MO has no instance set up
2020-11-04 22:52:56 -05:00
Mikaël Capelle
c6e89dead6
Add IModInterface::fileTree().
2020-11-04 21:48:22 +01:00
Seth Riley
20c2e5a14d
Moving things around
2020-11-02 13:46:02 -06:00
Mikaël Capelle
83dec58e4a
Merge pull request #72 from Holt59/imodlist-updates
...
IModList updates
2020-10-26 21:37:39 +01:00
Mikaël Capelle
f4b8cbcd0b
Merge pull request #70 from Holt59/iorganizer-profile-callbacks
...
Add IOrganizer::onProfileXXX callbacks.
2020-10-26 21:36:51 +01:00
Mikaël Capelle
96d15ae762
Fix default nullptr argument for allModsByProfilePriority.
2020-10-25 18:37:53 +01:00
Mikaël Capelle
7668783d3c
Move IOrganizer::getMod() to IModList::getMod().
2020-10-25 17:46:00 +01:00
Mikaël Capelle
40b7cd8e86
Move IOrganizer::removeMod() to IModList::removeMod().
2020-10-25 17:15:22 +01:00
Mikaël Capelle
2aa65ec5bb
Move IOrganizer::modsSortedByProfilePriority() to IModList::allModsByProfilePriority().
2020-10-25 16:52:28 +01:00
Mikaël Capelle
b1e554526a
Fix for onModInstalled() modification.
2020-10-25 16:52:20 +01:00
Mikaël Capelle
8640890f8c
Rename IOrganizer::refresh(). Move IOrganizer::onModInstalled. Add IModList::onModRemoved().
2020-10-25 16:18:55 +01:00
Mikaël Capelle
2526b75ca1
Merge pull request #71 from Holt59/fix-ifiletree-const
...
Fix implicit conversion from non-const IFileTree to const IFileTree.
2020-10-25 13:00:50 +01:00
Mikaël Capelle
138de736ef
Fix implicit conversion from non-const IFileTree to const IFileTree.
2020-10-25 12:58:37 +01:00
Mikaël Capelle
9e4cfaa0f0
Add IOrganizer::onProfileXXX callbacks.
2020-10-24 20:52:52 +02:00
Mikaël Capelle
8b703f2e4f
Merge pull request #68 from Holt59/iplugin-setactive-fix
...
Switch from Qt signals to boost::signals for DownloadManager.
2020-10-21 20:07:55 +02:00
Mikaël Capelle
984a307a04
Merge pull request #69 from Holt59/add-mapping-constructor
...
Add Mapping constructor.
2020-10-18 12:56:34 +02:00
Mikaël Capelle
2c30cd25cd
Add Mapping constructor.
2020-10-18 10:59:57 +02:00
Mikaël Capelle
9ba91b1ffa
Switch from Qt signals to boost::signals for DownloadManager.
2020-10-14 18:48:14 +02:00
Mikaël Capelle
d53e8de91c
Merge pull request #67 from Holt59/imodinterface-seturl
...
Add IModInterface::setUrl and remove IInstallationManager::setURL.
2020-10-14 18:44:41 +02:00
Mikaël Capelle
702dc6c66f
Add IModInterface::setUrl and remove IInstallationManager::setURL.
2020-10-09 20:32:07 +02:00
Mikaël Capelle
9c9d1ee574
Merge pull request #66 from Holt59/add-iprofile-inifilepath
...
Add IProfile::iniFilePath().
2020-09-27 21:22:34 +02:00
Mikaël Capelle
7a83a472b8
Rename iniFilePath() -> absoluteIniFilePath().
2020-09-27 20:56:41 +02:00
Mikaël Capelle
e4b367e909
Add IProfile::iniFilePath().
2020-09-27 20:33:30 +02:00
Mikaël Capelle
eb5232c1eb
Merge pull request #60 from Holt59/fix-ipluginlist-callbacks
...
Make onPluginStateChanged take a list of plugins.
2020-09-27 14:55:47 +02:00
Jeremy Rimpo
eb033c3e9e
[skip ci] Use PR branch for umbrella repo (if it exists)
2020-09-25 00:34:18 -05:00
Jeremy Rimpo
28704a8a2e
Merge branch 'master' of https://github.com/ModOrganizer2/modorganizer-plugin_python into master
2020-09-24 21:44:34 -05:00
Mikaël Capelle
5a15a374bf
Merge pull request #64 from Holt59/plugin-installer-callbacks
...
Add IPluginInstaller onInstallationStart and onInstallationEnd callbacks
2020-09-23 18:40:24 +02:00
Mikaël Capelle
f4478dcf66
Merge remote-tracking branch 'origin/master' into plugin-installer-callbacks
2020-09-23 18:38:25 +02:00
Mikaël Capelle
df663f6e4f
Merge pull request #63 from Holt59/expose-modinterface-meta
...
Add getters for most meta-information in mod.
2020-09-23 18:34:24 +02:00
Mikaël Capelle
bb522b9126
Add 'reinstallation' parameter to onInstallationStart().
2020-09-22 22:02:27 +02:00
Mikaël Capelle
d549a99867
Change modId() to nexusId().
2020-09-22 21:13:23 +02:00
Al
44553b4621
Merge pull request #65 from Holt59/imodinterface-clearpluginsettings
...
Add IModInterface::clearPluginSettings().
2020-09-21 14:42:42 -07:00
Mikaël Capelle
1d51b3c457
Add IModInterface::clearPluginSettings().
2020-09-21 23:37:30 +02:00
Al
2c0f1006cf
Merge pull request #61 from Holt59/iplugin-interface-improvements
...
Add interfaces for IPlugin::localizedName() and IPlugin::master().
2020-09-21 13:08:54 -07:00
Mikaël Capelle
58d5100dfc
Add IPluginInstaller onInstallationStart and onInstallationEnd callbacks.
2020-09-21 21:34:24 +02:00
Jeremy Rimpo
e545aec65a
Merge branch 'test' into master
2020-09-21 13:26:04 -05:00
Jeremy Rimpo
f10194a4bb
Revert "Test GH integration"
...
This reverts commit afe671d4
2020-09-21 10:42:05 -05:00
Jeremy Rimpo
afe671d484
Test GH integration
2020-09-21 07:51:33 -05:00
Jeremy Rimpo
bfb85087a0
Force exit PS with last exit code after umbrella build error
2020-09-21 05:53:44 -05:00
Jeremy Rimpo
b4ae13314c
Needs quotes
2020-09-21 05:37:42 -05:00
Jeremy Rimpo
c5be2c3605
PowerShell build should fail on error
2020-09-21 05:17:22 -05:00
Jeremy Rimpo
0f33ee2176
Finalize appveyor script update
2020-09-20 22:34:32 -05:00
Jeremy Rimpo
1d2fa7f269
Convert scripts to PowerShell
2020-09-20 19:56:37 -05:00
Jeremy Rimpo
c0828f2553
Merge remote-tracking branch 'origin/master' into master
2020-09-20 19:16:23 -05:00
Jeremy Rimpo
847e73a0db
Need extra space for second command
2020-09-20 19:11:50 -05:00
Al
1d111cdd8f
Merge pull request #62 from Holt59/mod-specific-plugin-settings
...
Add pluginSetting[s]() and setPluginSetting() to IModInterface.
2020-09-20 12:53:07 -07:00
Mikaël Capelle
5b06bb75a9
Add pluginSetting[s]() and setPluginSetting() to IModInterface.
2020-09-20 21:30:01 +02:00
Mikaël Capelle
04a54c7566
Add getters for most meta-information in mod.
2020-09-20 15:20:22 +02:00
Jeremy Rimpo
b96e006e7d
Add /bigobj flag to compile options
2020-09-09 19:38:50 -05:00
Mikaël Capelle
bfa5c28285
Remove debug logs.
2020-09-06 11:54:55 +02:00
Mikaël Capelle
cf6679292f
Add interfaces for IPlugin::localizedName() and IPlugin::master().
2020-09-06 11:44:50 +02:00
Mikaël Capelle
65e73aa537
Fix typo onModStateChanged -> onPluginStateChanged.
2020-09-05 14:49:19 +02:00
Mikaël Capelle
194bba9a9b
Make onPluginStateChanged take a list of plugins.
2020-09-05 13:49:11 +02:00
Al
64fd574c3b
Merge pull request #59 from Holt59/ipluginlist-setpriority
...
Add IPluginList::setPriority binding.
2020-09-01 03:59:56 -07:00
Al
93fee5bd6c
Merge pull request #58 from Holt59/modlist-setactive-bulk
...
Fix bindings of IModList::setActive.
2020-09-01 03:59:32 -07:00
Mikaël Capelle
accb270353
Add IPluginList::setPriority binding.
2020-08-30 14:03:23 +02:00
Mikaël Capelle
d8657946e9
Fix depreciation -> deprecation.
2020-08-30 11:15:31 +02:00
Mikaël Capelle
3780f157e4
Move the storage for deprecated lines in show_depreciation_warnings().
2020-08-30 10:25:11 +02:00
Mikaël Capelle
7a9cd34878
Update following onModStateChanged + Depreciation warning.
2020-08-29 19:55:06 +02:00
Mikaël Capelle
829ac65cea
Fix bindings of IModList::setActive.
2020-08-29 12:59:38 +02:00
isanae
5c34d11e79
Merge pull request #57 from Holt59/fix-imodlist-ipluginlist-callbacks
...
Add missing onPluginStateChanged binding and missing functor converters.
2020-08-27 12:38:01 -04:00
Mikaël Capelle
6001d88f40
Add missing onPluginStateChanged binding and missing functor converters.
2020-08-27 18:30:22 +02:00
isanae
139666705a
Merge pull request #55 from Holt59/fix-ifiletree-copy
...
Fix IFileTree::copy() bindings.
2020-08-06 09:00:28 -04:00