Repository navigation
Optimizations #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
entity12208
wants to merge
33
commits into
entity12208:main
Choose a base branch
from
datlun2k11-pixel:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Optimizations #44
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
c62f3dc
fix: sanitize API keys/moodels to prevent 400/401, optimize workflow
0975e2b
Update multi-platform.yml
datlun2k11-pixel 98f711d
fix: bump geode 5.9.0 -> 5.10.1 and set explicit Win64/MacOS targets
6242f95
ci: allow iOS to continue-on-error (bindings CCKeyboardDispatcher bug…
90adb7a
fix(ios): patch CCKeyboardDispatcher bindings bug for SDK 5.10.1
7025284
fix(ios): patch Modify.hpp to handle empty AddressInline_ (true fix)
7492d12
Merge branch 'entity12208:main' into main
datlun2k11-pixel 6ad3dce
fix(provider): flush stale key on Test, refresh Groq presets, thinkin…
datlun2k11-pixel 9294180
feat(models): update Gemini to 3.8-flash/3.5-flash-lite/3.1-pro/gemma…
datlun2k11-pixel a50ee10
feat(models): refresh Claude to sonnet-5-5/opus-5-5, OpenAI to GPT-6 …
datlun2k11-pixel 40a851a
fix(auth): sanitize API key on save, validate with cleaned key, show …
datlun2k11-pixel ca5af96
Merge branch 'entity12208:main' into main
datlun2k11-pixel b59ddd9
fix(custom): allow no-key custom providers in preflights
datlun2k11-pixel 4bd28db
fix(overlay): Test connection no longer undoes model preset pick
datlun2k11-pixel 913df03
fix(security): stop logging API key fragments
datlun2k11-pixel 186844b
fix(models): self-heal retired defaults so default always matches preset
datlun2k11-pixel cbb0dcb
fix(settings): collapse macOS paste+Return double-insert in text fields
datlun2k11-pixel c3d9d50
feat(settings): add Paste button to text fields on mobile (iOS/Android)
datlun2k11-pixel d5238c3
feat(settings): add Show/Hide toggle for masked API key fields
datlun2k11-pixel 309f2e1
feat(overlay): add Show/Hide toggle for masked key fields in Settings
datlun2k11-pixel 8a2be8c
feat(overlay): add Paste button to settings fields on mobile
datlun2k11-pixel 99af376
feat(overlay): add big close (X) button on mobile fullscreen panel
datlun2k11-pixel 97417f1
feat(mobile): draggable AI bubble, auto-dim after 5s idle, hidden in …
datlun2k11-pixel ca36581
feat(mobile): round 56px AI bubble with hold-0.1s to drag
datlun2k11-pixel 0f83054
feat(mobile): native cocos AI bubble with direct touch drag (Eclipse-…
datlun2k11-pixel 78a6004
fix(mobile): missing SceneManager include, ambiguous CCPoint init
datlun2k11-pixel b5926b9
fix(mobile): remove SceneManager dependency (removed in Geode 5.10)
datlun2k11-pixel af93717
fix(mobile): fully hide AI bubble while in level
datlun2k11-pixel 12e6f17
fix(mobile): bigger, easier bubble with instant drag
datlun2k11-pixel 76ffc85
fix(mobile): shrink AI bubble to ~62px with tighter hit-zone
datlun2k11-pixel 74eea73
Merge branch 'entity12208:main' into main
datlun2k11-pixel 070c9d4
fix(review): cancel-safe bubble touch, migrate only outdated default …
datlun2k11-pixel d5b05d9
fix eas/sim/bubble
datlun2k11-pixel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Patch for iOS SDK 5.10.1 bug: CCKeyboardDispatcher modify has empty AddressInline_ | ||
| # Fix 1: Patch Modify.hpp to handle empty AddressInline_ (static auto address = ; -> compile error) | ||
| # Change `static auto address = AddressInline_;` to `static auto address = (AddressInline_ + 0);` | ||
| # which evaluates to 0 when empty and to the address otherwise. | ||
|
|
||
| # Try to patch the SDK's Modify.hpp if it exists (configure-time and build-time) | ||
| foreach(_sdk_path IN ITEMS "$ENV{GEODE_SDK}" "${CMAKE_CURRENT_SOURCE_DIR}/geode-sdk-clone" "/Users/runner/work/EditorAI-optimized/EditorAI-optimized/geode-sdk-clone") | ||
| set(_mod_file "${_sdk_path}/loader/include/Geode/modify/Modify.hpp") | ||
| if(EXISTS "${_mod_file}") | ||
| file(READ "${_mod_file}" _content) | ||
| if(_content MATCHES "static auto address = AddressInline_;") | ||
| string(REPLACE "static auto address = AddressInline_;" "static auto address = (AddressInline_ + 0);" _content "${_content}") | ||
| file(WRITE "${_mod_file}" "${_content}") | ||
| message(STATUS "Patched Modify.hpp at ${_mod_file} for iOS empty address bug") | ||
| endif() | ||
| endif() | ||
| endforeach() | ||
|
|
||
| # Fix 2: Also patch the generated CCKeyboardDispatcher.hpp if it already exists (post-codegen) | ||
| set(_patch_file "${CMAKE_CURRENT_BINARY_DIR}/bindings/bindings/Geode/modify/CCKeyboardDispatcher.hpp") | ||
| if(NOT EXISTS "${_patch_file}") | ||
| set(_patch_file "${CMAKE_BINARY_DIR}/bindings/bindings/Geode/modify/CCKeyboardDispatcher.hpp") | ||
| endif() | ||
| if(EXISTS "${_patch_file}") | ||
| file(READ "${_patch_file}" _c) | ||
| string(FIND "${_c}" "GEODE_APPLY_MODIFY_FOR_CONSTRUCTOR(, Default, cocos2d::CCKeyboardDispatcher" _found) | ||
| if(NOT _found EQUAL -1) | ||
| string(REPLACE "GEODE_APPLY_MODIFY_FOR_CONSTRUCTOR(, Default, cocos2d::CCKeyboardDispatcher, )" "// PATCHED IOS: constructor disabled" _c "${_c}") | ||
| string(REPLACE "GEODE_APPLY_MODIFY_FOR_DESTRUCTOR(, Default, cocos2d::CCKeyboardDispatcher)" "// PATCHED IOS: destructor disabled" _c "${_c}") | ||
| file(WRITE "${_patch_file}" "${_c}") | ||
| message(STATUS "Patched ${_patch_file} for iOS") | ||
| endif() | ||
| endif() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.