87 Commits

Author SHA1 Message Date
Dan Albert
eccbfa7a64
Update pydcs.
Includes a new data export with a fix for the Apache property bug.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2470.
2022-10-16 15:00:06 +02:00
Raffson
6c795bee81
Update mypy 2022-10-09 15:21:48 +02:00
Dan Albert
8ff943552b
Update pydcs.
Includes the AIM-54C Mk 60.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2436.
2022-10-02 19:56:50 +02:00
Dan Albert
c7705fd545
Update pydcs.
This update includes expanded runway data that lets us clean up some
code. It also include beacon IDs for runways and airfields that will let
us get ILS and TACAN info from pydcs, but that's a bigger change that
I'll land separately.
2022-10-02 19:56:46 +02:00
Dan Albert
4d9179d378
Add a GIS shapefile to landmap importer. 2022-09-17 14:35:08 +02:00
Dan Albert
9e4516eba1
Update pydcs.
This update adds ATC information to the exported data.
2022-09-17 14:35:06 +02:00
Dan Albert
b0fd09057c
Update pydcs.
Newest Falklands updates.
2022-09-17 14:34:59 +02:00
Raffson
b74291f82a
Update pydcs 2022-09-04 12:26:29 +02:00
Dan Albert
582fcf8b19 Update pydcs.
Includes terrain export for the Falklands.

https://github.com/dcs-liberation/dcs_liberation/issues/2242
2022-08-10 20:21:35 -07:00
Dan Albert
60f772081c Update pydcs. 2022-08-10 19:17:06 -07:00
Raffson
ee7a0ade9e Update pydcs
Last version of pydcs was missing flyable aircraft, specifically the following:
- Mi-24P
- I-16
- Christen Eagle II
- Mirage-F1CE

It also removed the flyable option for the F/A-18C, i.e. the AI variant.
Note that the flyable F-18's ID is "FA-18C_hornet".
2022-07-24 09:57:46 -07:00
C. Perreau
d1c1977a9c
pydcs updated for 2.7.16 (#2337)
Co-authored-by: Raffson <raffson@users.noreply.github.com>
2022-07-23 10:09:14 +02:00
Dan Albert
ccfd82e1c9 Get shapely from pypi again.
There's a wheel for this now.
2022-07-11 02:13:33 -07:00
SnappyComebacks
cbb81bbba7
Update most python dependencies (#2308)
* Change routes to return HTTP.OK instead of HTTP.NO_CONTENT.
2022-07-10 16:54:58 -06:00
SnappyComebacks
e60cde892a
Added accept button to Air Wing Configuration window. (#2307)
* Add accept button to Air Wing Configuration window.
* Update black to 22.6.0.  Change pre-commit to use updated black.
* Update click to 8.1.3.
2022-07-10 07:25:48 -06:00
Dan Albert
0a7ded4052 Update pydcs.
Includes the latest data export and the missing torpedo weapon data.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1901
2022-05-29 17:08:26 -07:00
RndName
799e01c7b3
Support for DCS 2.7.12.23362 (#2196)
- Add link4 and acls
- Allocate Link4 frequency
-  new unit yamls
2022-05-02 19:08:44 +02:00
RndName
679dfc3441
Improve Ingress Waypoint Attack tasking
* Improve Ingress WP attack tasking and update pydcs

- Updated the Attack Tasking of SEAD, DEAD, Strike and BAI to match the pydcs changes
- Changed DEAD, BAI and SEAD AttackGroup task to expend=auto. This solves an issue where the AI uses all Ammo on one single target as we defined the expend param to All instead of Auto which is used by default.

* Set Expend=All for SEAD Ingress

This ensures that the AI will only do one Attack Pass and also really suppress the Target what they are expected to do.
2022-04-19 10:21:15 +02:00
Dan Albert
8dddffb8b5 Revert "Use shapely from PyPI now that there's a wheel."
Works locally, not in GitHub action.

This reverts commit 47d54fd295a00506afc86e143783edd976c742d1.
2022-03-19 16:21:44 -07:00
Dan Albert
47d54fd295 Use shapely from PyPI now that there's a wheel. 2022-03-19 13:15:06 -07:00
Dan Albert
bc39d5eaa8 Update pydcs.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2096.
2022-03-19 12:40:57 -07:00
Dan Albert
995ccadc5b Update pydcs. 2022-03-17 23:53:22 -07:00
Dan Albert
f7f0cf942c Update pydcs.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2042
2022-03-07 16:54:22 -08:00
Dan Albert
332959128a Move back to upstream pydcs. 2022-02-25 16:49:26 -08:00
Dan Albert
9e2e4ffa74 Update pydcs, adapt to new Point APIs.
This is briefly moving us over to my fork of pydcs while we wait for
https://github.com/pydcs/dcs/pull/206 to be merged. The adaptation is
invasive enough that I don't want it lingering for long.
2022-02-23 01:02:48 +00:00
Dan Albert
350f08be2f Add FastAPI interface between the game and map.
A possible explanation for the infrequent CTDs we've been seeing since
adding fast forward is that QWebChannel doesn't keep a reference to the
python objects that it passes to js, so if the object is GC'd before the
front end is done with it, it crashes.

We don't really like QWebChannel anyway, so this begins replacing that
with FastAPI.
2022-02-15 18:14:34 -08:00
Dan Albert
6ebda41922 Replace debug QObject models with Pydantic.
This requires less duplication and paves the way for us replacing
QWebChannel with FastAPI, which in turn gets us closer to not needing
Qt.
2022-02-13 14:52:41 -08:00
Dan Albert
85e7b1762d Upgrade to Python 3.10.
Shapely doesn't have a Windows wheel on pypi yet, but we can get them
from https://www.lfd.uci.edu/~gohlke/pythonlibs/#shapely. This unblocks
(and because wheels are matched to python versions, *requires*)
upgrading to Python 3.10.
2022-02-12 22:09:49 +00:00
Dan Albert
5d0fa0fbb3 Update Python dependencies. 2022-02-12 21:40:33 +00:00
Dan Albert
9d14333cc0 Update pydcs. 2022-02-04 12:43:17 -08:00
SnappyComebacks
bf034e18eb
Add preset formations to different flights and waypoints. (#1948)
* Update pydcs version.
* Add formation presets for various flight types.
2022-01-16 14:49:17 -07:00
dependabot[bot]
a97a4b2c15 Bump pillow from 8.3.2 to 9.0.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.3.2 to 9.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.3.2...9.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-12 19:56:36 -08:00
MetalStormGhost
ecd2f2b6e5
Add missing HTTPS to pydcs URL. 2022-01-11 14:50:50 -08:00
RndName
82dfeb8afa
Update pydcs
Latest version with the new terrain from 2.7.9.18080
2022-01-06 21:20:21 +01:00
RndName
c31ace409f
Update pydcs 2022-01-02 01:19:24 +01:00
Dan Albert
d81c6a0426 Update pydcs.
https://github.com/dcs-liberation/dcs_liberation/issues/1868
2021-12-24 01:34:11 -08:00
Dan Albert
d9108a7ca6 Update mypy and dependencies.
The newer version includes a partial fix for
https://github.com/python/mypy/issues/5485 (it doesn't fix the problem
for frozen dataclasses, but fixes other cases).
2021-12-21 14:51:45 -08:00
Dan Albert
9e92c87351 Revert "Update dependencies."
Seems to have broken the executable produced by pyinstaller. It doesn't
repro for me locally so figuring out which dep is the problem would take
ages. Reverting the whole thing to get to a clean state and will
revisit.

This reverts commit 66c8b96c9ace2e88b99cfa30268674af6c2a49f2.
2021-11-21 18:04:03 -08:00
Dan Albert
2a75d14e0e Revert upgrade to pyside6.
This appears to be incompatible with pyinstaller. I get the following
when trying to run the executable generated with pyside6:

```
Traceback (most recent call last):
  File "qt_ui\main.py", line 29, in <module>
  File "PyInstaller\loader\pyimod03_importers.py", line 476, in exec_module
  File "qt_ui\windows\QLiberationWindow.py", line 28, in <module>
  File "PyInstaller\loader\pyimod03_importers.py", line 476, in exec_module
  File "qt_ui\widgets\map\QLiberationMap.py", line 11, in <module>
ImportError: could not import module 'PySide6.QtPrintSupport'
```
2021-11-21 17:39:43 -08:00
Dan Albert
4a7dae9cc2 Upgrade to PySide6.
PySide2 renamed to PySide6 for Qt 6 support. It doesn't seem like
PySide2 is getting a 3.10 wheel, so upgrade to Qt 6 to prep for that.
2021-11-20 19:26:18 -08:00
Dan Albert
66c8b96c9a Update dependencies. 2021-11-20 18:45:27 -08:00
Dan Albert
f13795b743 Update pydcs.
HTS support.
2021-11-19 16:04:39 -08:00
Khopa
b351551568 pydcs : Updated to latest pydcs master commit 2021-11-14 21:15:03 +01:00
Dan Albert
d656ec3220 Update pydcs.
https://github.com/dcs-liberation/dcs_liberation/issues/1657
2021-10-22 00:10:20 -07:00
Dan Albert
8fe7551176 Update pydcs with radio preset fix.
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1596
2021-10-18 16:57:43 -07:00
Khopa
37874d82f2 Pydcs : Switched to the pydcs version from the official repo 2021-09-21 21:24:44 +02:00
Khopa
9f2a9bf458 pydcs version : Use temporary version with mosquito flyable fix 2021-09-19 23:30:57 +02:00
Khopa
4ffb294d65 Update pydcs version 2021-09-18 18:01:17 +02:00
dependabot[bot]
a4b03c5cfe Bump pillow from 8.2.0 to 8.3.2
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.2.0 to 8.3.2.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/master/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.2.0...8.3.2)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-07 20:00:45 -07:00
Dan Albert
74577752e0 Update pydcs for the Viper CBU-105. 2021-08-26 23:59:29 -07:00