Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch custom_card_import_dialog Excluding Merge-Ins
This is equivalent to a diff from 65f34c7bf4 to cab293fb6d
2025-04-30
| ||
17:39 | Implement a custom card import dialog, improving the custom card workflow. check-in: 32022ea7c8 user: thomas tags: trunk | |
17:29 | Fix failing tests Closed-Leaf check-in: cab293fb6d user: thomas tags: custom_card_import_dialog | |
17:12 | When cards are selected in the CardListTable, clicking the "set copies" button in the custom card import dialog only sets the copy value of selected rows. When nothing is selected, it sets the value for all rows. check-in: b0ea5dc09a user: thomas tags: custom_card_import_dialog | |
15:39 | Merge with trunk check-in: da453793dd user: thomas tags: custom_card_import_dialog | |
15:14 | Formalize SQL query and parameter types. State that cached_dedent() propagates LiteralString via a type variable. check-in: 643c7f4f91 user: thomas tags: trunk | |
14:41 | Fix environment-altering side-effect in test_settings.py. A test altered the global settings, causing tests that rely on specific default page layout settings to fail. check-in: 65f34c7bf4 user: thomas tags: trunk | |
2025-04-26
| ||
12:22 | Updated project metadata in pyproject.toml according to [https://packaging.python.org/en/latest/guides/writing-pyproject-toml/] check-in: 236ffe53b0 user: thomas tags: trunk | |
Changes to .fossil-settings/ignore-glob.
︙ | |||
26 27 28 29 30 31 32 | 26 27 28 29 30 31 32 33 | + | *.spec *.pdf *.mtgproxies mtg_proxy_printer/resources/translations/*.qm mtg_proxy_printer/resources/translations/mtgproxyprinter_sources.ts Screenshots/*.txt *.png requirements*.txt |
Changes to doc/changelog.md.
1 2 3 4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | - + + + + + + + + - + + + + + + + | # Changelog # Next version (in development) |
︙ |
Changes to mtg-proxy-printer-runner.py.
︙ | |||
23 24 25 26 27 28 29 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | - + | import sys # Make sure to find this checkout, and not any system- or user-wide installed versions that may be present root_path = pathlib.Path(__file__).parent.absolute().resolve() sys.path.insert(0, str(root_path)) import mtg_proxy_printer.model.carddb |
︙ |
Changes to mtg_proxy_printer/decklist_parser/common.py.
︙ | |||
15 16 17 18 19 20 21 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | - + + | from abc import abstractmethod import typing from PyQt5.QtCore import QObject, pyqtSignal as Signal |
︙ | |||
38 39 40 41 42 43 44 | 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | - + | # noinspection PyUnresolvedReferences,PyUnboundLocalVariable profile except NameError: # If not defined, use this identity decorator as a replacement def profile(func): return func |
︙ |
Changes to mtg_proxy_printer/decklist_parser/csv_parsers.py.
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | - + + | import abc import collections import csv import typing from PyQt5.QtCore import QObject, QCoreApplication |
︙ |
Changes to mtg_proxy_printer/decklist_parser/re_parsers.py.
︙ | |||
17 18 19 20 21 22 23 | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | - + + | from collections import Counter import re import typing from PyQt5.QtCore import QObject, QCoreApplication from mtg_proxy_printer.decklist_parser.common import ParsedDeck, ParserBase |
︙ |
Changes to mtg_proxy_printer/document_controller/_interface.py.
︙ | |||
66 67 68 69 70 71 72 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | - + | @abstractmethod def undo(self, document: "Document") -> Self: """ Reverses the application of the action to the given document, undoing its effects. For this to work properly, this action must have been the most recent action applied to the document. """ |
︙ |
Changes to mtg_proxy_printer/document_controller/card_actions.py.
︙ | |||
15 16 17 18 19 20 21 | 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | - + + + | import functools import itertools import math import typing |
︙ | |||
214 215 216 217 218 219 220 | 216 217 218 219 220 221 222 | - - - - - - - - - - - - - - | def as_str(self): card_count = sum(upper-lower+1 for lower, upper in self.card_ranges_to_remove) page_number = self.page_number+1 return self.translate( "ActionRemoveCards", "Remove %n card(s) from page {page_number}", "Undo/redo tooltip text", card_count ).format(page_number=page_number) |
Added mtg_proxy_printer/document_controller/edit_custom_card.py.