Commit Graph
258 Commits
Author SHA1 Message Date
Mike Auty 7cb0330d04 Fix and correctly type ListRequirements. 2018-02-10 22:41:39 +00:00
Mike Auty c203663f0b Refactor requirements to support a list of swap layers. 2018-01-28 14:48:50 +00:00
Mike Auty 942de5f166 Finish adding type-annotations thoughout the code. 2017-12-13 20:48:52 +00:00
Mike Auty ee12b81f4a Add in type-annotations for renderers and start on symbols. 2017-12-13 20:48:52 +00:00
Mike Auty ac12098317 Add type-annotations for reamining layer files. 2017-12-13 20:48:52 +00:00
Mike Auty f40fae197d Convert to python3.5 syntax (no local type-annotations). 2017-12-13 20:48:52 +00:00
Mike Auty 21b4506b7b Add in type-annotations for the remaining interfaces. 2017-12-13 20:48:52 +00:00
Mike Auty 50b60c0df6 Add in more interfaces (and fix additional errors now that type information is available). 2017-12-13 20:48:52 +00:00
Mike Auty 5536412a5e Add in initial work at interface type-annotations. 2017-12-13 20:48:52 +00:00
Mike Auty d7d13eb19c Add type annotations to most of the automagic files. 2017-12-13 20:48:52 +00:00
Mike Auty 0ecf68af0f Support table remapping for referenced symbol names. 2017-11-27 14:39:46 +00:00
Mike Auty e43ca15630 Improve the logging for scan failures. 2017-11-24 00:39:28 +00:00
Mike Auty 2d570fdb62 Fix up the broken get_symbols_by_location call. 2017-11-23 01:36:16 +00:00
Mike Auty 769e1226c4 Make creating subconfigs simpler from configurables. 2017-11-13 00:59:01 +00:00
Mike Auty def6de51bd Add in the ability to get a symbol table from a specific object (often self.get_symbol_table). 2017-11-09 23:11:05 +00:00
Mike Auty b6d932f4a5 Refactor the ResourceAccessor because it isn't an interface.
It's not strictly limited to layers either, but I don't really want to
create a whole extra generic file to put this in, so layers will do.
2017-11-05 21:27:56 +00:00
Mike Auty 671f65ed56 Centralize the ISF locating code.
This might benefit from a recache of the linux banners, although it
should continue to work no recache is performed.

We're now in a position to add support for loading symbols directly from
zip files by altering the ResourceAccessor and adding code to the
symbol finder.
2017-11-05 15:18:20 +00:00
Mike Auty a4b4a8eed3 Improve the error handling with automagics. 2017-11-04 18:45:08 +00:00
Mike Auty 4b7543f2f4 Unify the resource opening. 2017-11-02 21:46:39 +00:00
Mike Auty 6523364c90 Add a validate method to all objects to allow for (optional) validation of data on construction. 2017-09-22 09:57:01 +01:00
Mike Auty e90b4e2d02 Add and make use of free_table_name for symbol_spaces. 2017-09-03 22:54:42 +01:00
Mike Auty 9346e220ed Add more detailed information for non-threaded scanners. 2017-08-31 01:02:42 +01:00
Mike Auty 2954d7433f Improve documentation and ordering. 2017-08-11 19:29:37 +01:00
Mike Auty e434909e50 Make SymbolTable.symbols consistent with enumerations and types. 2017-08-11 19:25:13 +01:00
Mike Auty ab5f4fa3ab Refactor the List and Choice Requirements
These are required by the Automagic interface, and so to prevent
importing from outside the interfaces namespace, these two classes
were moved into interfaces.
2017-08-09 22:44:06 +01:00
Mike Auty d32fc223e2 Fix up additional imports inconsistent with the coding style.
Note: also remove interfaces_configuration where ever possible
(this is not possible in the interfaces directory itself
because it would cause an import loop).
2017-08-09 22:32:44 +01:00
Mike Auty f0d7dbdf68 Add in translate method for TranslationLayers. 2017-08-08 17:45:36 +01:00
Mike Auty 029fa8e940 Ensure ColumnSortKey is callable, and make sure the top level direction is considered. 2017-08-01 15:39:01 +01:00
Mike Auty 80508c8711 Allow for ascending or descending sort order. 2017-08-01 02:41:55 +01:00
Mike Auty 5e9b2306d4 Ensure symbol tables are created with unique names. 2017-07-31 16:34:02 +01:00
Mike Auty b8f7433dba Ensure that non-multiprocessing does not use multiprocessing. 2017-07-30 22:40:33 +01:00
Mike Auty c0a8ddd9a3 Improve the progress messages. 2017-07-20 19:35:12 +01:00
Mike Auty 469afc800b Revert "Change the behaviour of multithreaded scans to return results as soon as possible (at the cost of ordering)."
This reverts commit 8c4bdc8c61.
2017-07-20 11:09:42 +01:00
Mike Auty 03cdd91fbf Add in the capability to merge two config dicts (so that manually set settings aren't overwritten). 2017-07-20 00:49:36 +01:00
Mike Auty b099822ce2 Refactor requirement finding recursion since we use it a lot. 2017-07-16 18:04:22 +01:00
Mike Auty 8c4bdc8c61 Change the behaviour of multithreaded scans to return results as soon as possible (at the cost of ordering). 2017-07-14 01:16:30 +01:00
Mike Auty a4bb297db7 Improve the progress calculator for multithreaded progress. 2017-07-13 01:31:47 +01:00
Mike Auty d80fbf1a69 Fix validation typo preventing the newer symbols from properly working. 2017-07-10 00:04:29 +01:00
Mike Auty 5675942050 Add in symbol constant_data and bump the schema to 0.4.1.
Special thanks to @npetroni for having to suffer a very long discussion
with me about my need for things to have particular names because I
don't know the field very well.  5:S  Sorry!  5:)
2017-07-08 21:50:25 +01:00
Mike Auty df527d2f00 Convert from abstractproperty which was deprecated in python-3.3. 2017-06-20 15:14:13 +01:00
Mike Auty 0675350346 Fix up minor logical error in multithreaded scanning global flag. 2017-06-03 17:49:56 +01:00
Mike Auty c862f38917 Add in flag to forcibly disable all multithreaded scanning. 2017-06-03 17:48:32 +01:00
Mike Auty 93a6efd666 Ensure we don't get name confusion when dealing with variables. 2017-06-03 17:44:13 +01:00
Mike Auty 5e15d522bd Remove automatic IDE-inserted attributions.
They weren't consistent and they show just remind me how slowly
I've been getting vol 3 written!  5:S

There's git commits to track all of that stuff if we need it.
2017-05-14 11:40:49 +01:00
Mike Auty f97a5b4700 All the object constructor to accept a Symbol as well as a name. 2017-04-26 09:59:47 +01:00
Mike Auty 60ded760b6 Add in a first draft of a Module and context.module call. 2017-04-21 21:50:26 +01:00
Mike Auty 08eb2bce96 Add in schema 2.1.0 and supporting code changes. 2017-02-13 22:39:20 +00:00
Mike Auty c0dfe48c05 Remove configurability of architecture, the translation layer should define the architecture internally. 2017-02-13 22:36:40 +00:00
Mike Auty 0d1dd2d2cd Fix silly typo. 2017-02-13 21:30:23 +00:00
Mike Auty d6728fc2b4 Add in attributes and appropriate validation of TranslationLayers based on those attributes. 2017-02-10 13:57:44 +00:00