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: sofa-framework/SofaPython3
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: sofa-framework/SofaPython3
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v24.12
Choose a head ref
  • 6 commits
  • 40 files changed
  • 4 contributors

Commits on Dec 20, 2024

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

Commits on Jan 8, 2025

  1. Configuration menu
    Copy the full SHA
    4ca54c7 View commit details
    Browse the repository at this point in the history
  2. Add stubgen autogeneration (#453)

    * Add stubgen auto generaiton after bindings build
    
    * Generating stubs through cmake does not work as expected with ninja with a in build startegy and isnt working in install because the install order is random
    
    * fix missing quote
    
    * Add python path for stubgen
    
    * Try to find out what is wrong when generating
    
    * Change script to python , add Sofa.Component generation and allow the use of either pybind11 or mypy
    
    * fix action
    
    * try fix env for stubgen
    
    * try fix action
    
    * Add env for SOFA libs
    
    * Remove output
    
    * Add echot osee line
    
    * Add more informaiton
    
    * Fix python script
    
    * Try fix unit tests
    
    * Fix mistake in split
    
    * add filter to skip synchronizing files that already exist in dest folder. This should be removed once create_sofa_stubs is able to merge the generated stubs with existing implementation
    
    * Fix windows stubgen by printing a warning instead of throwing an exception when input type is unknown
    
    * Fix warning print
    bakpaul committed Jan 8, 2025
    Configuration menu
    Copy the full SHA
    f59deb4 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2025

  1. [fork] Fix type forward declaration in the bindings (#477)

    * Example on how to fix pybind11 type forward declaration so stubgens knows about them.
    
    The problem:
    Depending on the definition order of the binded classes, there may have
    incorrect types if Base is useing BaseData... but BaseData is only binded after Base.
    
    The PR propose a solution for that using a decidcated "forward" registration patter.
    
    * Add binding for BaseClass
    
    It should be completed if ones want more feature than just class declaration
    
    * Generalize the pybind11 forward declaration of classes.
    
    ---------
    
    Co-authored-by: Damien Marchal <damien.marchal@univ-lille1.fr>
    2 people authored and bakpaul committed Jan 9, 2025
    Configuration menu
    Copy the full SHA
    ebc28e4 View commit details
    Browse the repository at this point in the history
  2. [SofaStubgen] Remove the generation of the parameter "hack" for first…

    … release. (#478)
    
    * Remove the generation of the parameter "hack" for first release.
    
    * [SofaStubgen] Add the handling of the "long long" to python int.
    damienmarchal authored and bakpaul committed Jan 9, 2025
    Configuration menu
    Copy the full SHA
    20a7d33 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2025

  1. add initRoot binding (#472)

    fredroy authored and hugtalbot committed Jan 16, 2025
    Configuration menu
    Copy the full SHA
    aa0ccbe View commit details
    Browse the repository at this point in the history
Loading