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: sphinx-contrib/matlabdomain
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.3.3
Choose a base ref
...
head repository: sphinx-contrib/matlabdomain
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jul 26, 2018

  1. Copy the full SHA
    c8568fd View commit details

Commits on Sep 13, 2018

  1. Adapt to Sphinx 1.8

    Removed unused import of ExtensionError.
    Use logging instead of app.debug (deprecated).
    joeced committed Sep 13, 2018
    Copy the full SHA
    8ca72b5 View commit details
  2. Bump to version 0.3.4

    joeced committed Sep 13, 2018
    Copy the full SHA
    cd4e97d View commit details
  3. Copy the full SHA
    9cdfe20 View commit details

Commits on Sep 28, 2018

  1. Working on issue #79

    joeced committed Sep 28, 2018
    Copy the full SHA
    3d40ea7 View commit details
  2. Copy the full SHA
    74c20f8 View commit details
  3. Bump to version 0.3.5

    joeced committed Sep 28, 2018
    Copy the full SHA
    4b61919 View commit details

Commits on Oct 5, 2018

  1. Copy the full SHA
    f752a76 View commit details
  2. Bump to version 0.4.0

    Fixes #69
    joeced committed Oct 5, 2018
    Copy the full SHA
    0bda53c View commit details

Commits on Nov 21, 2018

  1. Manually merged with develop/0.4 branch

    The develop/0.4 branch was diffcult to merge with git, as there many
    incompatible changes.
    
    Two major changes are in this commit.
    
    * Started working on read-the-docs documentation
    * Made the parsers more tolerant of malformed MATLAB files. This means
      that the user is warned of malformed MATLAB code instead of getting
      an exception that would stop Sphinx abruptly.
    joeced committed Nov 21, 2018
    Copy the full SHA
    1a50005 View commit details
  2. Run with Python 3.7 on Travis.

    joeced committed Nov 21, 2018
    Copy the full SHA
    0e8a97b View commit details
  3. Roll back.

    joeced committed Nov 21, 2018
    Copy the full SHA
    9f91d78 View commit details

Commits on Jan 9, 2019

  1. Feat/member attributes (#83)

    * Add attribute support for private, protected, hidden and friend methods #24
    
    Removed pythonic private, protected and special method detection
    
    * Fix bysource ordering #75
    
    MatModuleAnalyzer.find_attr_docs stored only the method and property names which is not necessarily unique and could not be found in memberdocumenters in MatlabDocumenter.document_members
    
    * Add and extend attribute examples
    
    * Add bysource example
    
    Fixed typo in title
    
    * Add new test files
    
    * Fix and extend parse mfile tests
    
    * Fix docstring rst
    PekaryGergelyR authored and joeced committed Jan 9, 2019
    Copy the full SHA
    15e6ba9 View commit details

Commits on Jan 10, 2019

  1. Fixes #85

    Replaced MatObject._rename_function_variables with
    MatObject._fix_function_variables, which is much more robust
    in terms of handling the invalid parsed (Token.Keyword, 'function').
    
    Thanks to @GulyasGergelyR for the fix.
    joeced committed Jan 10, 2019
    Copy the full SHA
    be53b1d View commit details
  2. Fixes #84

    The __doc__ methods incorrectly returned str(docstring) instead of just
    docstring.
    
    Thanks to @GulyasGergelyR for the fix.
    joeced committed Jan 10, 2019
    Copy the full SHA
    f050d5e View commit details

Commits on Jan 13, 2019

  1. More robust assertion.

    joeced committed Jan 13, 2019
    Copy the full SHA
    0f2ce98 View commit details
  2. Copy the full SHA
    2fcabdc View commit details
  3. Take 3 - using set explicit

    joeced committed Jan 13, 2019
    Copy the full SHA
    fc4c198 View commit details

Commits on Jan 30, 2019

  1. Replace inspect module with simple formatting

    The current use of the inspect module is being deprecated. Replaced it
    with a simple string formatting.
    joeced committed Jan 30, 2019
    Copy the full SHA
    64ef9fe View commit details
  2. Do not document getter/setter documents.

    These method are not directly callable, and are normally not documented.
    joeced committed Jan 30, 2019
    Copy the full SHA
    84f9779 View commit details

Commits on Feb 2, 2019

  1. Fix issue with strings in double quotes.

    Pygments does not parse these correctly. There another function,
    MatObject._fix_string_double_quotes, has been added to clean up
    code before parsing.
    joeced committed Feb 2, 2019
    Copy the full SHA
    abb5c34 View commit details
  2. Bump to version 0.5.0

    joeced committed Feb 2, 2019
    Copy the full SHA
    934d9d5 View commit details
  3. Fix test on Python 2.7

    joeced committed Feb 2, 2019
    Copy the full SHA
    a8f959f View commit details

Commits on Mar 29, 2019

  1. Fix issue with Sphinx 2.0.0

    Sphinx 2.0.0 is not yet supported.
    jcewidex committed Mar 29, 2019
    Copy the full SHA
    ceb3554 View commit details
  2. Support for Sphinx >=2.0.0

    Removed unused AutoDirective import, that is no longer available.
    joeced committed Mar 29, 2019
    Copy the full SHA
    fda59b7 View commit details

Commits on Apr 3, 2019

  1. Fixes #90

    Function and method names where parsed incorrectly when the first
    argument is a ignored, i.e. a ~.
    joeced committed Apr 3, 2019
    Copy the full SHA
    b9e921d View commit details
  2. Bump to version 0.7.1

    joeced committed Apr 3, 2019
    Copy the full SHA
    23a1512 View commit details

Commits on May 11, 2019

  1. Replace pygments lexer with own

    Fixes a lot of issues with the current version in pygments.
    Functions and double quoted strings being the worst offenders.
    
    Also added Python 3.7 to tests using the xenial distribution.
    
    Updated release/pypi upload to use joeced as user.
    joeced committed May 11, 2019
    Copy the full SHA
    34b5f57 View commit details
  2. Fix #91

    Functions signatures mentioned in class definitions ending in with a
    semicolon caused the parser to fail.
    joeced committed May 11, 2019
    Copy the full SHA
    88dee47 View commit details
  3. Bump to version 0.8.0

    joeced committed May 11, 2019
    Copy the full SHA
    b57cfb6 View commit details

Commits on May 29, 2019

  1. Fix autodoc parsing error when source matlab file is not encoded as U…

    …TF-8 (#92)
    
    Autodoc would fail to load source files when they were not in UTF-8 encoding.
    Added default behavior to replace errors with ? chars
    Added sphinx configuration to choose parsing encoding (default = UTF-8)
    ptitrex authored and joeced committed May 29, 2019
    Copy the full SHA
    bed02b0 View commit details
  2. Copy the full SHA
    beb115e View commit details
  3. Update for version 0.9.0

    Add ptitrex as contributor and added the f_with_latin_1 function to the
    test docs.
    joeced committed May 29, 2019
    Copy the full SHA
    4169b6b View commit details

Commits on Oct 23, 2019

  1. Autodoc MATLAB and Python code together. (#95)

    * Register directive and autodirective separate
    
    The autodirective is bridged to the real documenter.
    
    * Flake8 config added.
    
    * Use index.rst as this is default.
    
    * Register module
    
    * Add test with both Python and Matlab docs
    
    Shows that both autodoc's work together now.
    
    * Ignore __pycache__ folders
    
    * Fixed bug in MatlabDocumenter:document_members
    
    In the old version we replaced all documents. Now we have to filter for
    mat: version, otherwise we get Python documenters.
    
    * Add assertion for matlab docs.
    
    * Harmonize logging messages prefex
    
    Use '[sphinxcontrib-matlabdomain]' everywhere.
    
    * Make DocumenterBridge call Sphinx < 2 compatible
    
    * Use index as master file
    
    * Fix pymat test to be Python 2 compatible.
    
    * Build with Python 3.8
    
    * Use setuptools_scm for versioning.
    
    * Don't set version in __init__.py
    
    * Bumped to version 0.10.0
    
    Rewrote parts of the readme file, to highlight  autodoc'ing with both
     MATLAB and Python.
    joeced authored Oct 23, 2019
    Copy the full SHA
    7377645 View commit details

Commits on Oct 29, 2019

  1. Added an option to strip the MATLAB package '+' prefix in output. (#96)

    When false, packages are still referred to in ReST using
      ``+pakage.+subpkg.func`` but the output will be ``pakage.other.func()``.
    ilent2 authored and joeced committed Oct 29, 2019
    Copy the full SHA
    bdfdc35 View commit details
  2. Added support for documenting MATLAB application files (#97)

    - Sources the summary and description from the app metadata.
    - Added an ``application`` directive and a ``app`` reference.
    - Added example usage to tests/test_docs/index.rst
    ilent2 authored and joeced committed Oct 29, 2019
    Copy the full SHA
    2a3edd9 View commit details
  3. Fix #93 - Package Links

    If a package class inherited from another package class, the link to the
    base was incorrect. This is fixed now.
    joeced committed Oct 29, 2019
    Copy the full SHA
    b607340 View commit details
  4. Add entry for version 0.11.0

    joeced committed Oct 29, 2019
    Copy the full SHA
    de40173 View commit details

Commits on Jan 7, 2020

  1. Stop using sys.modules for storing matlab objects

    Historically we stored parsed matlab objects in sys.modules. However,
    this conflicts with Python modules if Python and Matlab sources are in
    the same root folder.
    joeced committed Jan 7, 2020
    Copy the full SHA
    320869a View commit details
  2. Set master_doc to index

    joeced committed Jan 7, 2020
    Copy the full SHA
    9ec264e View commit details
  3. Fix import in Python 2

    joeced committed Jan 7, 2020
    Copy the full SHA
    28f737d View commit details
  4. Bump to version 0.11.1

    joeced committed Jan 7, 2020
    Copy the full SHA
    7b2da04 View commit details

Commits on May 18, 2020

  1. Bug 103 fixed (#104)

    * Working on #103
    
    Fixed issue with order of single and double quoted strings. It got the
    lexer to produce incorrect tokens.
    
    * Updated changes for version 0.11.2
    joeced authored May 18, 2020
    Copy the full SHA
    3cd8652 View commit details

Commits on Jun 30, 2020

  1. Fix tests due to Sphinx 3.1.1 changes (#109)

    * Fix tests using "astext()"
    
    The method changed it output.
    
    * Skip tests where Sphinx API has changes too much
    
    astext() outputs different for Python 2.7. These tests will be skipped.
    
    * Fix RemovedInSphinx50Warning
    
    Path.bytes() is deprecated. Replaced with read_bytes()
    
    * Skip test if Python < 3.6
    
    * Remember to import sys.
    joeced authored Jun 30, 2020
    Copy the full SHA
    f988572 View commit details
  2. Copy the full SHA
    83ff536 View commit details

Commits on Jul 1, 2020

  1. Fixes #108 (#110)

    denisrosset authored Jul 1, 2020
    Copy the full SHA
    6df7226 View commit details

Commits on Oct 10, 2020

  1. Enable Function Arguments Support (#111)

    * Enable Function Arguments Support
    
    This commit adds support for function argument validation, as added
    in MATLAB 2019b and detailed here:
    
    https://uk.mathworks.com/help/matlab/matlab_prog/function-argument-validation-1.html
    
    The test class ClassWithFunctionArguments will cause the tests to
    hang on the nondocumentedmethod function without the added keywords.
    
    * Semicolons are not required
    H0R5E authored Oct 10, 2020
    Copy the full SHA
    dee785b View commit details
  2. Bump to version 0.11.3

    joeced committed Oct 10, 2020
    Copy the full SHA
    8964af0 View commit details

Commits on Nov 30, 2020

  1. Copy the full SHA
    bd038ba View commit details

Commits on Jan 5, 2021

  1. Fix space in method name (#115)

    * Fixed bug in parsing methods with trailing spaces
    
    * Updated changes for version 0.11.5
    joeced authored Jan 5, 2021
    Copy the full SHA
    d2c83aa View commit details
Loading