Commit graph

12 commits

Author SHA1 Message Date
423a02ce4c remade all the translation in a easier, faster and more readable way 2022-09-01 18:10:38 +02:00
fb8d20c08f some of the Track class now remember the mod_config object for easier call. default_track_attributes have been added to set default value of the track attribute object to avoid unreadable safe eval of getattr 2022-08-20 00:24:30 +02:00
ec94ddece8 the code is now fully translatable 2022-08-15 23:06:23 +02:00
8afd7e7926 safe_eval and multiple_safe_eval are now 20x faster (~2.5s -> ~0.13s) 2022-08-15 10:58:36 +02:00
781e564dd2 implemented SzsEdit to allow easier track modification (changing laps count, ...) 2022-08-14 19:17:26 +02:00
506ee740f5 added TemplateSafeEval, TemplateMultipleSafeEval and Env type hint 2022-08-14 12:47:35 +02:00
923f696e24 fixed 2 wrong type hint about layer 2022-08-14 11:52:49 +02:00
17edaa3ea1 Some Exception have been moved to their correct scope instead of keeping them at a higher one 2022-08-14 11:46:40 +02:00
0bb12a0835 now using TYPE_CHECKING instead of using dummy type int 2022-08-14 11:45:34 +02:00
99287bbd56 started making a AbstractTrack class to implement more type of "track".
Removed get_suffix and get_prefix to replace them with get_tag_template and tags_template in mod_config.json
2022-08-10 22:33:10 +02:00
b9873a6c49 adapted safe_eval call and optimised them. MKWF safe_eval are now easier to read 2022-08-06 23:28:52 +02:00
59106d8ed9 module filtering subclasses have been simplified to made the code easier to read with less directory inside other useless directory and comment have been added 2022-07-31 23:05:54 +02:00