- 07 Dec, 2020 1 commit
-
-
Thomas Goirand authored
-
- 20 Sep, 2020 1 commit
-
-
Thomas Goirand authored
* d/copyright: name the license GPL-2+.
-
- 08 Sep, 2020 2 commits
-
-
Thomas Goirand authored
-
-
- 23 May, 2019 4 commits
- 22 May, 2019 5 commits
- 21 May, 2019 2 commits
-
-
Tommy Yu authored
-
Tommy Yu authored
- Provide a new key to store the applied advice packages as a list of Requirement objects. - Provide significant increase in the edge case handling and the test to demonstrate the process. - The advice registry now provide a dedicated standard method for the application of the specified advice along with the ones found from the accompanied advice apply registry. - The advice apply registry naming standardised to accompany the main registry with the same name plus a '.apply' suffix. - This required changing of the type of the values being stored in the calmjs.toolchain.advice.apply registry to be of Requirement objects. - The toolchain advice registry may be overridden via the key calmjs_toolchain_advice_registry flag, which will activate both the specified registry and the accompanied apply registry, if any. This feature is not current exposed via the default runtime, as this is meant as a feature for advanced low level usage, and to discourage incompatible sets of registries unless necessary (of course, wit the advice system being developed to this stage, the entire toolchain can be re-invoked almost through this system). - Made the advice setup to be invoked during the setup advice, much like how it was done when the set up was done via the Runtime class.
-
- 20 May, 2019 2 commits
-
-
Tommy Yu authored
- To be safe, move the setup into the try/finally block.
-
Tommy Yu authored
- This provide a new registry for packages to declare which optional advice to apply whenever it is selected as a source package for use with a toolchain. - This new declaration should not change any existing classes, but users at the package level will benefit from not having to manually apply these optional advices through every different API but is now standard and reusable across a system. - Other packages can declare their use. - Document the AdviceRegistry and the intended use case. - The current implementation (will be changed) is to simply append the found entries from the registry to any present advice packages that have been specified in the spec. - What should happen is that these found entries should not be applied if they have been applied by the package name and under extras. The current implementation does not already track what's been done, so a new method off the registry should be provided to manage this process in a more comprehensive manner. A new spec key may be needed to track the actual extras that have been applied (which will be turned into a set based on the name of those requirements and then the default process will filter based on that). - The goal is to allow spec functions to be implemented in such a way that may be declared harmlessly, and only activate for a specific toolchain, yet also allowed to be disabled for another through additional extras which may be supplied by some argument.
-
- 16 May, 2019 4 commits
-
-
Tommy Yu authored
- This is done so that the wording more reflect closer to the steps that are being taken in relation to the application of package level advices.
-
Tommy Yu authored
- This previous set up was focused on the Runtime as this feature was originally done to enable the runtime chain. There was consideration to provide a way to specify this for all packages, however if the setup and application of these rules were done at the Runtime class it would not have worked. - The fix is simply to move that code inside the Runtime class out and place that in the standard execution method. Leave the assignment inside the runtime, remove the setup advice as that indirection is no longer necessary.
-
Tommy Yu authored
- The path is not so much found, but they are resolved through the package system and so they may or may not reflect what actually is on the system. Have the message reflect this fact.
- 14 Feb, 2019 3 commits
- 01 Feb, 2019 2 commits
-
-
Tommy Yu authored
-
Tommy Yu authored
- Provide an assignable function/staticmethod to a defined attribute for toggling whether the post_mortem can be invoked. - This is now disabled as a default state - only the CalmJSRuntime has the enabled version defined. - Also ensure that args and kwargs are passed for the __init__ of the CalmJSRuntime class and the pdb_post_mortem. - All these changes address a potential security/usability issue for downstream users of these classes, where if arguments are not passed or handled correctly into the __call__ of a default Runtime instance, the debugger should not be inadvertently be invoked (even though the Runtime classes are intended as a high level, near-command line API, it shouldn't be written in a way that exclude lower level invocation use cases).
-
- 19 Dec, 2018 6 commits
-
-
Tommy Yu authored
- Fixes #53
-
Tommy Yu authored
- Bump various versions - Make the Windows test also editable.
-
Tommy Yu authored
-
Tommy Yu authored
- Correct the test to actually use the source values relevant to the inputs being tested.
-
Tommy Yu authored
-
Tommy Yu authored
- This is an attempt to trigger the reported issue with mismatched normcase and non-normcase'd paths. - Also use pip to install to ensure the `calmjs.parse` wheel is pulled and installed.
-
- 20 Aug, 2018 7 commits
-
-
Tommy Yu authored
-
Tommy Yu authored
-
Tommy Yu authored
-
Tommy Yu authored
-
Tommy Yu authored
- Block out versions of calmjs.parse that broke this feature.
-
Tommy Yu authored
-
Tommy Yu authored
- If `which` produced a path, feeding that back in should return the same output provided that the condition for that to happen has not changed. - This is now necessary due to how this situation occur in other parts of the system with how this code is being reused.
-
- 25 Jul, 2018 1 commit
-
-
Tommy Yu authored
- So that certain external metadata services be integrated nicer.
-