Skip to content
Permalink
Branch: master
Commits on Sep 10, 2019
  1. Fix docs link

    mehaase committed Sep 10, 2019
Commits on Sep 4, 2019
  1. Correct links to chrome downloads

    mehaase committed Sep 4, 2019
Commits on Sep 3, 2019
  1. Bump version to 0.3.0

    mehaase committed Sep 3, 2019
  2. Regenerate code & fix 1 failing test

    mehaase committed Sep 3, 2019
  3. Remove debug code

    mehaase committed Sep 3, 2019
  4. Add missing dev dependency

    mehaase committed Sep 3, 2019
Commits on Aug 30, 2019
  1. Add HG logo to docs

    mehaase committed Aug 30, 2019
  2. Fix code formatting in overview.rst

    mehaase committed Aug 30, 2019
Commits on Aug 29, 2019
  1. Remove badge from index.rst

    mehaase committed Aug 29, 2019
  2. Bump version to 0.2.0

    mehaase committed Aug 29, 2019
    And fix README content type.
  3. Roll back to 0.1.0 and fix some build issues

    mehaase committed Aug 29, 2019
    * Rename "build/" to "generator/"
    * Add "publish" target
    * Fix setup.py
  4. Set version to 0.2.0-dev

    mehaase committed Aug 29, 2019
  5. Set version to 0.1.0

    mehaase committed Aug 29, 2019
  6. Add initial travis config

    mehaase committed Aug 29, 2019
  7. Update docs

    mehaase committed Aug 29, 2019
    * Reorganize sphinx docs a bit.
    * Add some badges.
    * Add an MIT license.
  8. Fix RTD build

    mehaase committed Aug 29, 2019
  9. Fix mistake in api docs

    mehaase committed Aug 29, 2019
  10. Add all modules to api docs

    mehaase committed Aug 29, 2019
  11. Regenerate code

    mehaase and bcmackintosh committed Aug 29, 2019
    Co-authored-by: Brian Mackintosh <bcmackintosh@gmail.com>
  12. Add sphinx documentation

    mehaase committed Aug 29, 2019
  13. Regenerate code

    mehaase and bcmackintosh committed Aug 29, 2019
    Co-authored-by: Brian Mackintosh <bcmackintosh@gmail.com>
  14. Fix two small bugs

    mehaase committed Aug 29, 2019
    * Typo in Makefile
    * Whitespace around event parameters
  15. Fix all type annotations

    mehaase committed Aug 29, 2019
    Type annotations are now correct for generate.py as well as all of the
    generated code.
  16. Rework dependencies

    mehaase committed Aug 29, 2019
    As we learned during our prototype, the dependencies that CDP declares in its
    spec are insufficient for generating type-safe Python code. I thought maybe
    this would have changed since all external types are quoted, but it doesn't. So
    the new approach is to ignore the dependencies that CDP declares and compute
    them ourselves. This is covered by an updated test.
  17. Delete old generated code

    mehaase committed Aug 29, 2019
    This is causing a lot of noise in my git status, and it's easier just
    to remove it until I'm ready to check in the regenerated code.
Commits on Aug 28, 2019
  1. Lots of cleanup as I wrap up refactoring:

    mehaase committed Aug 28, 2019
    * Generate new init file
    * Make sure the cdp module can be imported
      - Dependencies aren't handled correctly yet, though
    * Remove dead code
    * Modify event dispatch so that we don't need to use inflection
    * Remove inflection as an install dependency!
    * Add some tests for the generated CDP code
    * Add a makefile that runs the various tests and build scripts
  2. Fix a bug in primitive array types

    mehaase committed Aug 28, 2019
    This is a bug that was introduced in our prototype and I noticed it while
    peforming this refactoring: the super class was set to the type annotation,
    not the name of a class. The implementation and test are both updated here.
  3. Finished checking edge cases

    mehaase committed Aug 28, 2019
    Implemented 3 more edge cases along with tests. At this point, the build
    script runs successfully to completion, but I haven't checked if the modules
    it produces are valid or not.
  4. Filled in some edge cases

    mehaase committed Aug 28, 2019
    I'm finding unimplemented edge cases by raising NotImplementedErrors
    at certain branches and then running the generate.py script and seeing
    where it breaks. I've implemented 5 new edge cases here along with a
    test for each one.
  5. Implement CDP events

    mehaase committed Aug 28, 2019
    As with the earlier commits, events are not 100% implemented but the
    majority of the code is finished here and covered by a new test.
Commits on Aug 27, 2019
  1. Implement CDP commands

    mehaase committed Aug 27, 2019
    I left a few parts of this incomplete, but the basic structure for
    generating code for CDP commands is in place and covered by a test.
  2. Flesh out the code for generating modules

    mehaase committed Aug 27, 2019
    Now that types are implemented, I added some code to the CdpDomain object
    so that it can generate the code for a module file. (It outputs "TODO"
    for commands and events, which are not implemented yet.)
    
    I didn't write a test for this because it depends on functionality that
    isn't finished, but also I think we'll notice quickly if the module
    generation code is broken. (If I'm wrong about this, I'll add a test later
    on.)
  3. Add support for CDP enum types and class types

    mehaase committed Aug 27, 2019
    These are both covered by tests.
Older
You can’t perform that action at this time.