Branch: refs/heads/master
  Home:   https://github.com/synfig/synfig
  Commit: 7b46575d72b9013d1a725b0e33e36a0c5622e663
      
https://github.com/synfig/synfig/commit/7b46575d72b9013d1a725b0e33e36a0c5622e663
  Author: ice0 <konop...@gmail.com>
  Date:   2022-02-13 (Sun, 13 Feb 2022)

  Changed paths:
    M synfig-core/src/synfig/zstreambuf.cpp

  Log Message:
  -----------
  Quick fix for zstreambuf

The problem was in `inflateInit2` incorrect initialization.
In this case we have no file header, quote from documentation:

"windowBits can also be –8..–15 for raw inflate. In this case, -windowBits
determines the window size. inflate() will then process raw deflate data,
not looking for a zlib or gzip header, not generating a check value, and
not looking for any check values for comparison at the end of the
stream. This is for use with other formats that use the deflate
ompressed data format such as zip."

Anyway this change should be tested before the merge.


  Commit: 753626fd6c8d6ded95999e791adf647100db2f42
      
https://github.com/synfig/synfig/commit/753626fd6c8d6ded95999e791adf647100db2f42
  Author: ice0 <konop...@gmail.com>
  Date:   2022-02-13 (Sun, 13 Feb 2022)

  Changed paths:
    M synfig-core/src/synfig/zstreambuf.cpp

  Log Message:
  -----------
  Fixed zstreambuf

Sometimes garbage data was left at the end of the buffer


  Commit: 9e143f34d91e7586e04fd1de8764501ca75e6b58
      
https://github.com/synfig/synfig/commit/9e143f34d91e7586e04fd1de8764501ca75e6b58
  Author: ice0 <konop...@gmail.com>
  Date:   2022-02-13 (Sun, 13 Feb 2022)

  Changed paths:
    M synfig-core/src/synfig/filecontainerzip.cpp
    M synfig-core/src/synfig/filesystemtemporary.cpp
    M synfig-core/src/synfig/loadcanvas.cpp
    M synfig-core/src/synfig/zstreambuf.cpp
    M synfig-core/src/synfig/zstreambuf.h
    M synfig-studio/src/gui/instance.cpp

  Log Message:
  -----------
  Added the ability to select a compression method for zstreambuf

- This fixes the problem with reading .sfg


  Commit: 462ea802524e9e13bfa2aefdd213a7fc03c5adcb
      
https://github.com/synfig/synfig/commit/462ea802524e9e13bfa2aefdd213a7fc03c5adcb
  Author: ice0 <konop...@gmail.com>
  Date:   2022-02-13 (Sun, 13 Feb 2022)

  Changed paths:
    M synfig-core/src/synfig/filecontainerzip.cpp
    M synfig-core/src/synfig/filesystemtemporary.cpp
    M synfig-core/src/synfig/loadcanvas.cpp
    M synfig-core/src/synfig/zstreambuf.cpp
    M synfig-core/src/synfig/zstreambuf.h
    M synfig-studio/src/gui/instance.cpp

  Log Message:
  -----------
  Merge PR #2518:  Added the ability to select a compression method for 
zstreambuf


Compare: https://github.com/synfig/synfig/compare/9b8021936d2e...462ea802524e


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

Reply via email to