diff --git a/CMakeLists.txt b/CMakeLists.txt index 877f13b..ca72fa6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,8 @@ cmake_minimum_required(VERSION 3.5) set(emscripten-glfw_RELEASE_YEAR "2024") -set(emscripten-glfw_RELEASE_MONTH "07" ) -set(emscripten-glfw_RELEASE_DAY "31" ) +set(emscripten-glfw_RELEASE_MONTH "08" ) +set(emscripten-glfw_RELEASE_DAY "04" ) set(emscripten-glfw_GLFW_VERSION "3.4.0") diff --git a/README.md b/README.md index 94804b6..7043ca5 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ This project is an emscripten port of GLFW written in C++ for the web/wasm platf GLFW API is 3.4. [![emscripten - TBD](https://img.shields.io/badge/emscripten-TBD-blue)](https://emscripten.org) -[![Latest - 3.4.0.20240731](https://img.shields.io/badge/Latest-3.4.0.20240731-blue)](https://github.com/pongasoft/emscripten-glfw/releases/latest) +[![Latest - 3.4.0.20240804](https://img.shields.io/badge/Latest-3.4.0.20240804-blue)](https://github.com/pongasoft/emscripten-glfw/releases/latest) [![GLFW - 3.4.0](https://img.shields.io/badge/GLFW-3.4.0-blue)](https://www.glfw.org/) ![Compiles](https://github.com/pongasoft/emscripten-glfw/actions/workflows/main.yml/badge.svg) @@ -155,6 +155,7 @@ emcc --use-port=contrib.glfw3:disableWarning=true:disableMultiWindow=true main.c > #### Note about availability in emscripten > | emscripten | this port | > |------------|----------------| +> | TBD | 3.4.0.20240804 | > | TBD | 3.4.0.20240731 | > | TBD | 3.4.0.20240727 | > | 3.1.63 | 3.4.0.20240627 | @@ -223,6 +224,11 @@ LDFLAGS += -s USE_WEBGPU=1 --js-library $(EMS_GLFW3_DIR)/src/js/lib_emscripten_g Release Notes ------------- +#### 3.4.0.20240804 - 2024-08-04 | emscripten TBD + +- Fixed `nullptr` issue when clipboard is emtpy +- Fixed the internal clipboard being wiped on asynchronous callback error + #### 3.4.0.20240731 - 2024-07-31 | emscripten TBD - Added `emscripten_glfw_get_clipboard_string` the C version of `emscripten::glfw3::GetClipboardString` to diff --git a/port/emscripten-glfw3.py b/port/emscripten-glfw3.py index aa8d004..b4ee6f3 100644 --- a/port/emscripten-glfw3.py +++ b/port/emscripten-glfw3.py @@ -17,8 +17,8 @@ import os from typing import Union, Dict -TAG = '3.4.0.20240731' -HASH = '1d348f2a6423def537bc11ba5a67347d23696f623e0155e315711d0e23e9b4e6f623019c24c699b6dd5b727322f7093af804d58fc48488f37888ba17300c3aa8' +TAG = '3.4.0.20240804' +HASH = 'a34c392c1fe0365e7ad986b5867a4f171e708f4f5be05ea656ff2ea231c2fa2b7157072e269147c22c97c748e536f689e99799603fabaaaba411b8adf61205a7' ZIP_URL = f'https://github.com/pongasoft/emscripten-glfw/releases/download/v{TAG}/emscripten-glfw3-{TAG}.zip' # contrib port information (required) diff --git a/src/cpp/emscripten/glfw3/version.h b/src/cpp/emscripten/glfw3/version.h index f855478..95b443d 100644 --- a/src/cpp/emscripten/glfw3/version.h +++ b/src/cpp/emscripten/glfw3/version.h @@ -22,7 +22,7 @@ namespace emscripten::glfw3 { -#define D_EMSCRIPTEN_GLFW_VERSION_STR "3.4.0.20240731" +#define D_EMSCRIPTEN_GLFW_VERSION_STR "3.4.0.20240804" }