Commit Graph

83 Commits

Author SHA1 Message Date
DarkPhoenix
768c1d37b1 Fix fit export 2019-03-31 16:08:48 +03:00
DarkPhoenix
7d8768ca3e Add extra check on command level to ensure no errors 2019-03-30 10:52:54 +03:00
Ryan Holmes
549353dba1 Merge pull request #1885 from pyfa-org/issue1870
Implement fixes for #1870 - undo the Module.toDummy that happens when…
2019-03-20 18:01:30 -04:00
DarkPhoenix
8063647bba Merge branch 'master' into price_optimize 2019-03-19 08:42:06 +03:00
DarkPhoenix
8114765236 Merge branch 'master' into spoolup 2019-03-18 16:04:45 +03:00
Ryan Holmes
a74cdc59bd Implement fixes for #1870 - undo the Module.toDummy that happens when replacing a module, but the new module doesn't fit. And shuffle around the logic that dictates if a module / item fits onto a particular ship to allow us to ask a fit if a base item can fit based on low-level attributes that don't change 2019-03-17 22:03:39 -04:00
DarkPhoenix
579081393b Merge branch 'master' into price_optimize 2019-03-16 01:47:18 +03:00
Ryan Holmes
9a16c579eb fixing various imports to point to eos.const instead of old locations 2019-03-14 12:50:20 -04:00
DarkPhoenix
22fc6cb13c Integrate price optimization with undo/redo 2019-03-09 15:44:50 +03:00
Indiction
6333a0c74b Adding descriptions to enums.
Renaming Enums into more useful names.
2019-03-07 22:30:51 +01:00
DarkPhoenix
becf7c3ff2 Commit stub of price optimization command 2019-03-06 23:59:11 +03:00
Ryan Holmes
f81cc4ad93 Merge remote-tracking branch 'origin/master' into spoolup 2019-03-02 20:57:29 -05:00
blitzmann
0745ed50e0 * Merge branch 'fill-with-module' of git://github.com/petosorus/Pyfa into petosorus-fill-with-module
* Remove settings check

# Conflicts:
#	gui/fitCommands/__init__.py
2019-01-10 23:36:05 -05:00
blitzmann
c645c089dd More work on the spoolup gui, including support for commands and some other nicities (recalc fit when changing, load the input with previous) 2019-01-10 23:13:22 -05:00
blitzmann
0297ec47f6 Fix for #1814 2018-12-02 16:08:53 -05:00
blitzmann
d404d10bfe Fix exclusive abyssal weathers items (#1794) 2018-12-01 23:01:13 -05:00
blitzmann
194c159379 Create a new property on Module, returns if module is projected (or None if it's not attached to a fit). Fix issues with setting charges on projected modules because the command was always looking at the literal modules on the fit (instead of projected) 2018-12-01 20:50:40 -05:00
Ryan Holmes
c97750a593 Attempt to save the charge when changing module variations.
Move caching of old module into Do function. Having it in `change_module` causes it to run even with the Undo command, whch causes funkiness
2018-11-24 21:38:50 -05:00
DarkPhoenix
37a084e1d1 Fit importing plain modules in command code 2018-11-20 13:54:07 +03:00
DarkPhoenix
b9c3675894 Fix case when only module name is passed
Still crashes and query cache, will fix later
2018-11-20 13:51:49 +03:00
DarkPhoenix
60ecc95049 Fix command code 2018-11-20 13:48:54 +03:00
DarkPhoenix
59d9d47a56 Do some work on mutated module commands to support new parsing format 2018-11-20 13:38:38 +03:00
Ryan Holmes
58daf2a543 work on getting abyssal modules imported via clipboard 2018-11-20 00:49:04 -05:00
blitzmann
881b92a6ea Convert implant location change to a command 2018-10-28 21:59:14 -04:00
blitzmann
63115a7c0f Recalc fit after removing implants (and undoing removal) 2018-10-28 21:07:12 -04:00
petosorus
46f5a592ce Right click option to fill slots with a module 2018-10-21 16:07:02 +02:00
Tron
c5e8742838 More flake8 fixes. 2018-10-15 06:00:15 -05:00
blitzmann
7bb44f6473 Support changing variation for drones #1773 2018-10-14 23:26:56 -04:00
blitzmann
1276016a98 Reintroduce the check states functionality to the AddModule and ChangeState commands 2018-10-09 18:19:29 -04:00
blitzmann
b4b8a158f5 Bunch of import optimizations 2018-09-16 00:05:36 -04:00
blitzmann
621672bf34 Some tox fixes 2018-09-15 20:38:08 -04:00
blitzmann
b08406b7d6 Move the FitRenameCommand command 2018-09-15 17:46:55 -04:00
blitzmann
e7d846063d Fix for #1714 - was sending in the entire module, not just the position 2018-08-25 19:33:30 -04:00
blitzmann
a107171543 Fix for #1712 - instead of adding module (which is a simple append), we must replace module (where we give it a position) 2018-08-25 19:24:41 -04:00
blitzmann
7e94914f65 Implement drone toggle command 2018-08-18 01:09:37 -04:00
blitzmann
b17314f3c6 Add projected drone change command, and remove some prints 2018-08-18 00:45:26 -04:00
blitzmann
fd83a4b709 Remove drone splitting / merging, and introduce drone change qty 2018-08-18 00:39:05 -04:00
blitzmann
a37fdf48c8 Fix implant / booster toggles, add qty change commands, started dinking with drone stacks, although think I might remove this altogether in favor of a qty change 2018-08-18 00:06:50 -04:00
Ryan Holmes
5ee8e203db Merge branch 'commandRefactor' of https://bitbucket.org/blitzmann/pyfa-playground into commandRefactor 2018-08-16 23:41:19 -04:00
Ryan Holmes
083b34c780 working commit 2018-08-16 23:40:50 -04:00
blitzmann
bcbed3df39 Fix an issue which caused pyfa to crash (turns out instantiating the commands in the init was not a good idea) 2018-08-16 00:24:31 -04:00
blitzmann
71257b5265 Implement some various toggles as commands 2018-08-14 01:25:36 -04:00
blitzmann
a5a152d395 Move meta swap functionality to command process 2018-08-14 00:58:50 -04:00
Ryan Holmes
f0983c1468 Implement fighter add/remove commands 2018-08-13 19:35:32 -04:00
Ryan Holmes
efbf2e7432 Make sure we recalc during swaps from cargo to module 2018-08-13 18:50:00 -04:00
Ryan Holmes
d74f2b2e42 Rework the logic of dragging module to cargo 2018-08-13 17:01:16 -04:00
Ryan Holmes
9977866eb0 work on moving from cargo to modules (including swapping modules) 2018-08-13 15:03:19 -04:00
Ryan Holmes
008d73e605 Finish off commands for cargo to module action 2018-08-13 02:01:16 -04:00
Ryan Holmes
2164588329 projected drone commands 2018-08-12 17:49:58 -04:00
Ryan Holmes
391c3a32a6 commands for add / remove projected fighters 2018-08-10 13:29:26 -04:00