Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: 65e91ae8ae4b0ebc965b73318fcf72d14c99af8b
      
https://github.com/synfig/synfig/commit/65e91ae8ae4b0ebc965b73318fcf72d14c99af8b
  Author: Rodolfo Ribeiro Gomes <rodolf...@gmail.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M 1-install-vcpkg.bat
    M 1-setup-linux-native.sh
    M 1-setup-osx-brew.sh
    M 1-setup-windows-msys2.sh
    M autobuild/build.sh
    M autobuild/default-nixpkgs.nix
    M autobuild/default.nix
    M autobuild/fedora-crosscompile-linux.sh
    M autobuild/fedora-crosscompile-win.sh
    M autobuild/snap-stable/snapcraft.yaml
    M autobuild/synfigstudio-cygwin-mingw-build.sh
    M autobuild/synfigstudio-cygwin-native-build.sh
    M autobuild/synfigstudio-osx-build.sh
    M autobuild/synfigstudio-release.sh
    M snap/snapcraft.yaml
    M synfig-core/configure.ac
    R synfig-core/m4/ax_boost_base.m4
    R synfig-core/m4/ax_boost_chrono.m4
    R synfig-core/m4/ax_boost_filesystem.m4
    R synfig-core/m4/ax_boost_program_options.m4
    R synfig-core/m4/ax_boost_system.m4
    M synfig-core/src/CMakeLists.txt
    M synfig-core/src/synfig/valuenodes/CMakeLists.txt
    M synfig-core/src/synfig/valuenodes/valuenode_dynamic.cpp
    M synfig-core/src/synfig/valuenodes/valuenode_dynamic.h
    M synfig-core/src/tool/Makefile.am
    M vcpkg.json

  Log Message:
  -----------
  refactor: remove boost dependency

implement our own Runge-Kutta54 Cash-Karp, that boost::ode
uses in integrate() as claimed in documentation:
https://www.boost.org/doc/libs/1_66_0/libs/numeric/odeint/doc/html/boost_numeric_odeint/getting_started/short_example.html

Algorithm described here
http://www.elegio.it/mc2/rk/doc/p201-cash-karp.pdf

As far as I tested, it gives the same results.


  Commit: f25aafa2d6af58af64dcbf7e6bd779203b4ca2fa
      
https://github.com/synfig/synfig/commit/f25aafa2d6af58af64dcbf7e6bd779203b4ca2fa
  Author: Rodolfo Ribeiro Gomes <rodolf...@gmail.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M synfig-core/src/synfig/valuenodes/valuenode_dynamic.cpp

  Log Message:
  -----------
  refactor: use runge kutta method as described in original paper

it seems the previous implementation sometimes enter in an infinite loop

In my tests, however, some parts of this new code are never reached.
That's the reason the code could be simplified to only this `if` branch
```c++
                if (e_4 > 1) {
                        // No order less than 5th order is possibly good, so 
abandon current step
                        Real esttol = e_4;
                        step_size *= std::max(0.2, VRKF_sf / esttol);
                        continue;
                } else {
                        // accept 5th order solution
                        ...
                }
```

And consequently some variables could vanish.


  Commit: 1298235e90562c20b056dbf5e9d50ef30a9d962e
      
https://github.com/synfig/synfig/commit/1298235e90562c20b056dbf5e9d50ef30a9d962e
  Author: Rodolfo Ribeiro Gomes <rodolf...@gmail.com>
  Date:   2022-08-30 (Tue, 30 Aug 2022)

  Changed paths:
    M synfig-core/src/synfig/valuenodes/valuenode_dynamic.cpp

  Log Message:
  -----------
  refactor: simplify runge kutta method

read previous commit message


  Commit: 18b9d2b58b1cd07e0c7fb6306711766950f5a906
      
https://github.com/synfig/synfig/commit/18b9d2b58b1cd07e0c7fb6306711766950f5a906
  Author: ice0 <konop...@gmail.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M 1-install-vcpkg.bat
    M 1-setup-linux-native.sh
    M 1-setup-osx-brew.sh
    M 1-setup-windows-msys2.sh
    M autobuild/build.sh
    M autobuild/default-nixpkgs.nix
    M autobuild/default.nix
    M autobuild/fedora-crosscompile-linux.sh
    M autobuild/fedora-crosscompile-win.sh
    M autobuild/snap-stable/snapcraft.yaml
    M autobuild/synfigstudio-cygwin-mingw-build.sh
    M autobuild/synfigstudio-cygwin-native-build.sh
    M autobuild/synfigstudio-osx-build.sh
    M autobuild/synfigstudio-release.sh
    M snap/snapcraft.yaml
    M synfig-core/configure.ac
    R synfig-core/m4/ax_boost_base.m4
    R synfig-core/m4/ax_boost_chrono.m4
    R synfig-core/m4/ax_boost_filesystem.m4
    R synfig-core/m4/ax_boost_program_options.m4
    R synfig-core/m4/ax_boost_system.m4
    M synfig-core/src/CMakeLists.txt
    M synfig-core/src/synfig/valuenodes/CMakeLists.txt
    M synfig-core/src/synfig/valuenodes/valuenode_dynamic.cpp
    M synfig-core/src/synfig/valuenodes/valuenode_dynamic.h
    M synfig-core/src/tool/Makefile.am
    M vcpkg.json

  Log Message:
  -----------
  refactor: removed boost dependency (#2792)


Compare: https://github.com/synfig/synfig/compare/dd55c0f3f982...18b9d2b58b1c


_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to