diff --git a/README.md b/README.md index 29584f20..079a5fb4 100644 --- a/README.md +++ b/README.md @@ -195,6 +195,7 @@ And these are the results of the primes benchmark on Intel i5-12400F, WSL (Ubunt | | Description | |-----------------------------------------------------------------|--------------------------------------------------------------------------| +| [Tesselmax.EM](https://fdtd.io) | Distributed electromagnetic field simulator for silicon photonics and RF/interconnect design. | | [godot-pocketpy](https://github.com/pocketpy/godot-pocketpy) | Godot extension for using pocketpy in Godot Engine. | | [TIC-80](https://github.com/nesbox/TIC-80) | TIC-80 is a fantasy computer for making, playing and sharing tiny games. | | [py-js](https://github.com/shakfu/py-js) | Python3 externals for Max / MSP. | @@ -215,7 +216,7 @@ All kinds of contributions are welcome. Please read [CONTRIBUTING.md](CONTRIBUTI - any suggestions - any questions -If you find pkpy useful, consider star this repository (●'◡'●) +If you find pkpy useful, consider star this repository. ## Sponsor this project @@ -226,6 +227,17 @@ You can sponsor this project via these ways. Your sponsorship will help us develop pkpy continuously. +## Premium Supporter + +Special thanks to our premium supporter, Tesselmax, for sponsoring the development of pocketpy. + +Tesselmax builds Tesselmax.EM, a distributed electromagnetic field simulator for silicon +photonics and RF/interconnect design (FDTD, FDFD, and mode solving across GPU clusters). +Tesselmax embeds pocketpy as the scripting engine in our simulation console, so user scripts drive +geometry, materials, sources, and post-processing. + +Website: [https://fdtd.io](https://fdtd.io) + ## Reference + [cpython](https://github.com/python/cpython) diff --git a/docs/index.md b/docs/index.md index 4fb58216..4cd2e0fd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -51,7 +51,7 @@ On Windows platform, only MSVC compiler is officially supported. ## Star the repo -If you find pkpy useful, consider [star this repository](https://github.com/blueloveth/pocketpy) (●'◡'●) +If you find pkpy useful, consider [star this repository](https://github.com/blueloveth/pocketpy). ## Sponsor this project @@ -62,6 +62,17 @@ You can sponsor this project via these ways. Your sponsorship will help us develop pkpy continuously. +## Premium Supporter + +Special thanks to our premium supporter, Tesselmax, for sponsoring the development of pocketpy. + +Tesselmax builds Tesselmax.EM, a distributed electromagnetic field simulator for silicon +photonics and RF/interconnect design (FDTD, FDFD, and mode solving across GPU clusters). +Tesselmax embeds pocketpy as the scripting engine in our simulation console, so user scripts drive +geometry, materials, sources, and post-processing. + +Website: [https://fdtd.io](https://fdtd.io) + ## Upgrade to v2.0 pkpy v2.0 is a C11 project instead of C++17. All your existing code for v1.x won't work anymore. diff --git a/docs/retype.yml b/docs/retype.yml index 032fd53f..4eed96a0 100644 --- a/docs/retype.yml +++ b/docs/retype.yml @@ -3,7 +3,7 @@ output: .retype url: https://pocketpy.dev branding: title: pocketpy - label: v2.1.9 + label: v2.2.0 logo: "./static/logo.png" favicon: "./static/logo.png" meta: diff --git a/include/pocketpy/config.h b/include/pocketpy/config.h index 2e219c77..daaa9829 100644 --- a/include/pocketpy/config.h +++ b/include/pocketpy/config.h @@ -1,10 +1,10 @@ #pragma once // clang-format off -#define PK_VERSION "2.1.9" +#define PK_VERSION "2.2.0" #define PK_VERSION_MAJOR 2 -#define PK_VERSION_MINOR 1 -#define PK_VERSION_PATCH 9 +#define PK_VERSION_MINOR 2 +#define PK_VERSION_PATCH 0 /*************** feature settings ***************/ #ifndef PK_ENABLE_OS // can be overridden by cmake diff --git a/plugins/flutter/pocketpy/ios/pocketpy.podspec b/plugins/flutter/pocketpy/ios/pocketpy.podspec index b0d47c32..01f63679 100644 --- a/plugins/flutter/pocketpy/ios/pocketpy.podspec +++ b/plugins/flutter/pocketpy/ios/pocketpy.podspec @@ -35,7 +35,7 @@ A new Flutter FFI plugin project. s.prepare_command = <<-CMD rm -rf pocketpy - git clone --branch v2.1.9 --depth 1 https://github.com/pocketpy/pocketpy.git + git clone --branch v2.2.0 --depth 1 https://github.com/pocketpy/pocketpy.git cd pocketpy git submodule update --init --recursive --depth 1 bash build_ios_libs.sh diff --git a/plugins/flutter/pocketpy/macos/pocketpy.podspec b/plugins/flutter/pocketpy/macos/pocketpy.podspec index eb3ba623..74835891 100644 --- a/plugins/flutter/pocketpy/macos/pocketpy.podspec +++ b/plugins/flutter/pocketpy/macos/pocketpy.podspec @@ -32,7 +32,7 @@ A new Flutter FFI plugin project. s.prepare_command = <<-CMD rm -rf pocketpy - git clone --branch v2.1.9 --depth 1 https://github.com/pocketpy/pocketpy.git + git clone --branch v2.2.0 --depth 1 https://github.com/pocketpy/pocketpy.git cd pocketpy git submodule update --init --recursive --depth 1 bash build_darwin_libs.sh diff --git a/plugins/flutter/pocketpy/pubspec.yaml b/plugins/flutter/pocketpy/pubspec.yaml index e8073afd..a592f9af 100644 --- a/plugins/flutter/pocketpy/pubspec.yaml +++ b/plugins/flutter/pocketpy/pubspec.yaml @@ -1,6 +1,6 @@ name: pocketpy description: A lightweight Python interpreter for game engines. It supports Android/iOS/Windows/Linux/MacOS. -version: 2.1.9 +version: 2.2.0 homepage: https://pocketpy.dev repository: https://github.com/pocketpy/pocketpy diff --git a/plugins/flutter/pocketpy/src/CMakeLists.txt b/plugins/flutter/pocketpy/src/CMakeLists.txt index 79272657..8626b579 100644 --- a/plugins/flutter/pocketpy/src/CMakeLists.txt +++ b/plugins/flutter/pocketpy/src/CMakeLists.txt @@ -20,7 +20,7 @@ set(PK_BUILD_SHARED_LIB ON CACHE BOOL "" FORCE) FetchContent_Declare( pocketpy GIT_REPOSITORY https://github.com/pocketpy/pocketpy.git - GIT_TAG v2.1.9 + GIT_TAG v2.2.0 ) FetchContent_MakeAvailable(pocketpy) diff --git a/src/objects/codeobject_ser.c b/src/objects/codeobject_ser.c index 236c67ab..383a9923 100644 --- a/src/objects/codeobject_ser.c +++ b/src/objects/codeobject_ser.c @@ -5,8 +5,8 @@ // Magic number for CodeObject serialization: "CO" = 0x434F #define CODEOBJECT_MAGIC 0x434F #define CODEOBJECT_VER_MAJOR 1 -#define CODEOBJECT_VER_MINOR 0 -#define CODEOBJECT_VER_MINOR_MIN 0 +#define CODEOBJECT_VER_MINOR 1 +#define CODEOBJECT_VER_MINOR_MIN 1 // Forward declarations static void FuncDecl__serialize(c11_serializer* s,