pd4web 2.0.1__tar.gz → 2.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. {pd4web-2.0.1 → pd4web-2.0.2}/PKG-INFO +2 -2
  2. {pd4web-2.0.1 → pd4web-2.0.2}/README.md +1 -1
  3. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/else.cmake +3 -2
  4. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web/Libraries.py +10 -9
  5. {pd4web-2.0.1 → pd4web-2.0.2}/pyproject.toml +1 -1
  6. {pd4web-2.0.1 → pd4web-2.0.2}/LICENSE +0 -0
  7. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/.clang-format +0 -0
  8. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/.prettierrc +0 -0
  9. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/.yamlftm +0 -0
  10. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/Libraries.yaml +0 -0
  11. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/cyclone.cmake +0 -0
  12. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/earplug.cmake +0 -0
  13. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/libpd.cmake +0 -0
  14. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/o.scofo~.cmake +0 -0
  15. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/.git +0 -0
  16. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/.github/workflows/c-cpp.yml +0 -0
  17. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/.gitignore +0 -0
  18. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/CMakeLists.txt +0 -0
  19. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/Examples/.clang-format +0 -0
  20. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/Examples/CMakeLists.txt +0 -0
  21. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/Examples/fft~/fft~-help.pd +0 -0
  22. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/Examples/fft~/fft~.cpp +0 -0
  23. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/Examples/simple/simple-help.pd +0 -0
  24. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/Examples/simple/simple-patch.pd +0 -0
  25. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/Examples/simple/simple.cpp +0 -0
  26. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/Examples/simple~/simple~-help.pd +0 -0
  27. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/Examples/simple~/simple~.cpp +0 -0
  28. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/LICENSE +0 -0
  29. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/README.md +0 -0
  30. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/Tests/01.Deprecated-Functions/CMakeLists.txt +0 -0
  31. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/Tests/CMakeLists.txt +0 -0
  32. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pd.cmake/pd.cmake +0 -0
  33. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/pmpd.cmake +0 -0
  34. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/Libraries/timbreIDLib.cmake +0 -0
  35. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/__init__.py +0 -0
  36. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/cmake-format.yaml +0 -0
  37. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/config.h +0 -0
  38. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/externals.cpp +0 -0
  39. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/favicon.ico +0 -0
  40. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/index.html +0 -0
  41. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web/Builder.py +0 -0
  42. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web/Compilers.py +0 -0
  43. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web/Emscripten.py +0 -0
  44. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web/Helpers.py +0 -0
  45. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web/Objects.py +0 -0
  46. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web/Patch.py +0 -0
  47. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web/Pd4Web.py +0 -0
  48. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web/__init__.py +0 -0
  49. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web.cpp +0 -0
  50. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web.gitignore +0 -0
  51. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web.gui.js +0 -0
  52. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web.hpp +0 -0
  53. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web.midi.js +0 -0
  54. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web.style.css +0 -0
  55. {pd4web-2.0.1 → pd4web-2.0.2}/Sources/pd4web.threads.js +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pd4web
3
- Version: 2.0.1
3
+ Version: 2.0.2
4
4
  Summary: pd4web compiles PureData patches with external objects for Wasm, allowing to run entire patches in web browsers.
5
5
  Home-page: https://charlesneimog.github.io/pd4web
6
6
  Author: Charles K. Neimog
@@ -49,7 +49,7 @@ Description-Content-Type: text/markdown
49
49
 
50
50
  <h3 align="center">Examples</h3>
51
51
 
52
- Check here https://charlesneimog.github.io/pd4web/tests/.
52
+ * Check some examples [here](https://charlesneimog.github.io/pd4web/tests/).
53
53
 
54
54
  -----
55
55
  <h3 align="center">Questions, doubts, help</h3>
@@ -27,7 +27,7 @@
27
27
 
28
28
  <h3 align="center">Examples</h3>
29
29
 
30
- Check here https://charlesneimog.github.io/pd4web/tests/.
30
+ * Check some examples [here](https://charlesneimog.github.io/pd4web/tests/).
31
31
 
32
32
  -----
33
33
  <h3 align="center">Questions, doubts, help</h3>
@@ -461,14 +461,15 @@ file(GLOB BTF_SRC "${CIRCUIT_ROOT}/Libraries/BTF/*.c")
461
461
  file(GLOB COLAMD_SRC "${CIRCUIT_ROOT}/Libraries/COLAMD/*.c")
462
462
  file(GLOB COLAMD_SRC "${CIRCUIT_ROOT}/Libraries/COLAMD/*.c")
463
463
  file(GLOB KLU_SRC "${CIRCUIT_ROOT}/Libraries/KLU/*.c")
464
- file(GLOB SAMPLERATE_SRC "${CIRCUIT_ROOT}/Libraries/libsamplerate/*.c")
464
+ file(GLOB SR_SRC "${LIB_DIR}/Source/Shared/libsamplerate/*.c")
465
465
  set(SUITE_SRC "${CIRCUIT_ROOT}/Libraries/SuiteSparse_config/SuiteSparse_config.c")
466
+
466
467
  set(SIMULATOR_SRC "${CIRCUIT_ROOT}/Source/Simulator.cpp")
467
468
  set(CIRCUIT_SRC "${CIRCUIT_ROOT}/Source/circuit~.c")
468
469
 
469
470
  pd_add_external(
470
471
  circuit~
471
- "${CIRCUIT_SRC};${AMD_SRC};${BTF_SRC};${COLAMD_SRC};${KLU_SRC};${SAMPLERATE_SRC};${SUITE_SRC};${SIMULATOR_SRC}"
472
+ "${CIRCUIT_SRC};${AMD_SRC};${BTF_SRC};${COLAMD_SRC};${KLU_SRC};${SR_SRC};${SUITE_SRC};${SIMULATOR_SRC}"
472
473
  TARGET
473
474
  circuit_tilde)
474
475
 
@@ -156,8 +156,8 @@ class ExternalLibraries:
156
156
  path (str): The path to the repository containing submodules.
157
157
  """
158
158
  libPath = self.Pd4Web.APPDATA + "/Externals/" + libData.name
159
- libRepo: pygit2.Repository = pygit2.Repository(libPath)
160
159
  if os.path.exists(libPath):
160
+ libRepo: pygit2.Repository = pygit2.Repository(libPath)
161
161
  curr_commit: pygit2.Commit = libRepo.head.peel()
162
162
  lib_commit: pygit2.Commit = self.getLibCommitVersion(libRepo, libData.version)
163
163
  if curr_commit.id == lib_commit.id:
@@ -174,8 +174,9 @@ class ExternalLibraries:
174
174
  except Exception as e:
175
175
  raise Exception(f"Failed to clone repository: {str(e)}")
176
176
 
177
- tag_name = libData.version # Assuming libData.version contains either a tag or a commit hash
178
- commit = self.getLibCommitVersion(libRepo, tag_name)
177
+ libRepo: pygit2.Repository = pygit2.Repository(libPath)
178
+ tagName = libData.version # Assuming libData.version contains either a tag or a commit hash
179
+ commit = self.getLibCommitVersion(libRepo, tagName)
179
180
  libRepo.set_head(commit.id)
180
181
  libRepo.checkout_tree(commit)
181
182
  libRepo.reset(commit.id, pygit2.GIT_RESET_HARD)
@@ -190,12 +191,12 @@ class ExternalLibraries:
190
191
  raise Exception("Failed to initialize submodules.")
191
192
 
192
193
  # TODO: Try to merge commits from submodules
193
- try:
194
- main_repo = pygit2.Repository(self.Pd4Web.PROJECT_ROOT)
195
- submodule_repo = pygit2.Repository(libPath)
196
-
197
- except Exception as e:
198
- raise Exception(f"Failed to merge submodule commits: {str(e)}")
194
+ # try:
195
+ # main_repo = pygit2.Repository(self.Pd4Web.PROJECT_ROOT)
196
+ # submodule_repo = pygit2.Repository(libPath)
197
+ #
198
+ # except Exception as e:
199
+ # raise Exception(f"Failed to merge submodule commits: {str(e)}")
199
200
 
200
201
  def GetLibrarySourceCode(
201
202
  self,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pd4web"
3
- version = "2.0.1"
3
+ version = "2.0.2"
4
4
  description = "pd4web compiles PureData patches with external objects for Wasm, allowing to run entire patches in web browsers."
5
5
  authors = ["Charles K. Neimog <charlesneimog@outlook.com>"]
6
6
  readme = "README.md"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes