8000 Comparing lschwetlick:master...chemag:master · lschwetlick/maxio · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: lschwetlick/maxio
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: chemag/maxio
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 16 commits
  • 31 files changed
  • 2 contributors

Commits on Sep 5, 2021

  1. Configuration menu
    Copy the full SHA
    de55fef View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2021

  1. maxio: rename rm2svg.py file

    chemag committed Sep 6, 2021
    Configuration menu
    Copy the full SHA
    846ea88 View commit details
    Browse the repository at this point in the history
  2. rmtool: add first version

    chemag committed Sep 6, 2021
    Configuration menu
    Copy the full SHA
    8c05adf View commit details
    Browse the repository at this point in the history
  3. maxio: update README.md

    chemag committed Sep 6, 2021
    Configuration menu
    Copy the full SHA
    06fb253 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Configuration menu
    Copy the full SHA
    1938e5a View commit details
    Browse the repository at this point in the history
  2. rm2svg: split stream parsing from SVG dump

    Tested:
    
    Made sure all the .rm files in the repo (non-version=6) produce the exact same SVG files.
    
    Before:
    ```
    $ find rm_tools -type f -iname '*.rm' | xargs -i sh -c 'python rm_tools/rm2svg.py -i {} -o /tmp/foo.svg && md5sum /tmp/foo.svg' | sort | md5sum
    9d7f1647b4f5a428900fb4c68d9da6ce  -
    ```
    
    After:
    ```
    $ find rm_tools -type f -iname '*.rm' | xargs -i sh -c 'python rm_tools/rm2svg.py -i {} -o /tmp/foo.svg && md5sum /tmp/foo.svg' | sort | md5sum
    9d7f1647b4f5a428900fb4c68d9da6ce  -
    ```
    chemag committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    da89702 View commit details
    Browse the repository at this point in the history
  3. rm2svg: lint code

    Tested:
    ```
    $ flake8 rm_tools/rm2svg.py | grep -v E501
    $
    ```
    
    Note that we're ignoring E501 (line too long) as the right
    solution is black, which we will do in the next patch.
    
    Also made sure all the .rm files in the repo (non-version=6)
    produce the exact same SVG files.
    
    Before:
    ```
    $ find rm_tools -type f -iname '*.rm' | xargs -i sh -c 'python rm_tools/rm2svg.py -i {} -o /tmp/foo.svg && md5sum /tmp/foo.svg' | sort | md5sum
    9d7f1647b4f5a428900fb4c68d9da6ce  -
    ```
    
    After:
    ```
    $ find rm_tools -type f -iname '*.rm' | xargs -i sh -c 'python rm_tools/rm2svg.py -i {} -o /tmp/foo.svg && md5sum /tmp/foo.svg' | sort | md5sum
    9d7f1647b4f5a428900fb4c68d9da6ce  -
    ```
    chemag committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    2e4ecf3 View commit details
    Browse the repository at this point in the history
  4. rm2svg: fix indentation in SVG output

    Includes:
    * make indentation coherent
    * add comments to SVG to make it more readable
    * replace .format-based strings with f-strings
    * fix a typo ("Mechanical" instead of "Machanical")
    
    Tested:
    
    Run parser before and after, and checked that the only difference
    is the indentation and the comments.
    
    Also:
    ```
    $ find rm_tools -type f -iname '*.rm' | xargs -i sh -c 'python rm_tools/rm2svg.py -i {} -o /tmp/foo.svg && md5sum /tmp/foo.svg' | sort | md5sum
    89fea1bc81d3925f5d049f2cc41a66c2  -
    ```
    chemag committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    6cb69e2 View commit details
    Browse the repository at this point in the history
  5. rmtool: make asserts chattier

    chemag committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    5ed4a67 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cd83675 View commit details
    Browse the repository at this point in the history
  7. rm2svg: minor variable renaming

    "y_width" is also known as "height".
    "x_width" is also known as "width".
    
    Tested:
    ```
    $ find rm_tools -type f -iname '*.rm' | xargs -i sh -c 'python rm_tools/rm2svg.py -i {} -o /tmp/foo.svg && md5sum /tmp/foo.svg' | sort | md5sum
    89fea1bc81d3925f5d049f2cc41a66c2  -
    ```
    chemag committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    041428c View commit details
    Browse the repository at this point in the history
  8. rm2svg: make python script executable

    Also fix the README with how to run a command.
    
    Tested:
    ```
    $ rm_tools/rm2svg.py -i ./rm_tools/convert_procedure/paper/93ce11cf-31e6-4a6c-ac67-7214c6be96ab.rm -o /tmp/foo.svg
    ```
    chemag committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    1e8b747 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    193a9bf View commit details
    Browse the repository at this point in the history
  10. rm2svg: fix colors

    chemag committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    6b5c344 View commit details
    Browse the repository at this point in the history
  11. rmtool: add support for lines v6

    Includes:
    (1) .content file changes
    * json["formatVersion"] field set to 2
    * json["pages"] field disappears. List of pages can be obtained from
      json["cPages"]["pages"][]["id"]
    (2) tries to use [rmscene](https://github.com/chemag/rmscene) to
    convert version=6 lines (.rm) files.
    chemag committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    8178263 View commit details
    Browse the repository at this point in the history
  12. rmtool: do not look for deleted pages

    Tested:
    
    Converted my whole repository of .rm files.
    chemag committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    5ab553d View commit details
    Browse the repository at this point in the history
Loading
0