Commit graph

266 commits

Author SHA1 Message Date
matcool
cf111ca000 handle delayLoad failure in Addresser::followThunkFunction 2024-06-01 14:16:40 -03:00
kynex7510
b3367d2230
Enable TLS certificate verification 2024-05-31 14:46:07 +02:00
kynex7510
bf7e86988c
Fix win32 build 2024-05-31 13:28:12 +02:00
mat
8b999d5592
followThunkFunction for windows 64 bit (probably)
tested on a local app, cant be sure whether itll work on actual gd
2024-05-30 18:10:12 -03:00
kynex7510
a4b94693a3
WebRequest: Add proxy capabilities 2024-05-28 19:11:46 +02:00
HJfod
da06cf6e4e fixes to the BasedButtonSprite change 2024-05-16 15:08:52 +03:00
Fleeym
89273c9458 Merge branch 'main' into new-index-but-better 2024-05-15 23:58:55 +03:00
matcool
d725126e1f add geode::utils::getDisplayFactor 2024-05-12 10:25:36 -03:00
HJfod
309de35a57 Merge branch 'main' into new-index-but-better 2024-05-04 10:56:43 +03:00
Justin
f65336d4ba
geode::cocos::isSpriteName and geode::cocos::getChildBySpriteName (#725)
* isSpriteName and getChildBySpriteName (Code)

* isSpriteName and getChildBySpriteName (Headers)
2024-04-28 17:44:20 -03:00
HJfod
beeb7ca1f8 recommended mods list 2024-04-25 17:50:00 +03:00
HJfod
f5f2a6450d add color3b for convenience 2024-04-22 20:18:58 +03:00
HJfod
72be477f48 fix all remaining memory issues with Task <3 2024-04-22 18:16:26 +03:00
HJfod
fa1577184a fully move over from Promises to Tasks 2024-04-22 13:35:12 +03:00
HJfod
a09ba5c67c new Task class to replace Promises, test seems to indicate it's working 2024-04-22 00:08:10 +03:00
HJfod
53b081e77b remove uses of std::source_location 2024-04-14 18:04:01 +03:00
HJfod
1145426402 Fix unzip crash 2024-04-14 17:57:31 +03:00
HJfod
d107f3386f add geode::terminate and geode::unreachable 2024-04-13 21:38:26 +03:00
HJfod
dce50ca4df Merge branch 'main' into new-index-but-better 2024-03-30 21:21:33 +02:00
Cvolton
c8d1e88a97
fix memory leak in handletouchpriority 2024-03-25 23:24:20 +01:00
HJfod
575a7cb7e0 Merge branch 'main' into new-index-but-better 2024-03-25 15:18:17 +02:00
Cvolton
2d13d4f84f
retain node in handleTouchPriority 2024-03-24 22:35:17 +01:00
HJfod
bc98c9b84e almost finished reworking promises, they compile now but sometimes dont work 2024-03-13 22:50:36 +02:00
HJfod
8101ae50ab new promise impl (does not compile for shit) 2024-03-12 22:41:17 +02:00
HJfod
be5e892cbe Merge branch 'main' into new-index-but-better 2024-03-10 11:26:13 +02:00
dankmeme01
52ea6ea51c fix minor memory leak in AsyncWebRequest 2024-03-09 12:10:42 +01:00
HJfod
72fa718a76 better restarting ui 2024-02-29 21:37:09 +02:00
HJfod
36ef4979ed add new ColorProvider utility 2024-02-28 00:27:19 +02:00
matcool
b2ced73010 actually encode url params 2024-02-26 21:38:36 -03:00
HJfod
2689320116 le new index :3 2024-02-26 22:14:53 +02:00
HJfod
dd57a39157 Merge branch 'main' into new-index-but-better 2024-02-26 18:28:11 +02:00
HJfod
463cebf0c4 finish new web requests api 2024-02-26 18:26:34 +02:00
matcool
a5475bda11 add missing GEODE_DLL 2024-02-26 11:58:40 -03:00
HJfod
44ae5c83c7 Merge branch 'main' into new-index-but-better 2024-02-25 18:44:36 +02:00
altalk23
28bd75793e sure you go girl 2024-02-25 11:00:47 +03:00
altalk23
baf3a6b306 implement progress visual to index unzip 2024-02-24 22:08:07 +03:00
HJfod
8985b32fc2 initial work on new ui 2024-02-22 02:04:38 +02:00
altalk23
eea35568fe isSpriteFrameName 2024-02-16 23:58:40 +03:00
altalk23
e10621d40d actually move it to source 2024-02-16 21:37:10 +03:00
altalk23
97139d2fcd Merge branch 'main' of https://github.com/geode-sdk/geode 2024-02-12 18:39:49 +03:00
altalk23
803df4faeb edit is_jsons to be more detailed 2024-02-12 18:39:46 +03:00
HJfod
131539fa00 fix color parsign 2024-02-12 17:37:31 +02:00
ConfiG
3fec377e96
Improve actions build speed by using sccache, removes PCH (#493)
---------

Co-authored-by: mat <26722564+matcool@users.noreply.github.com>
2024-02-11 15:58:46 -03:00
HJfod
b241c1ccda add platform-specific settings + update changelog and bump version 2024-02-10 13:36:11 +02:00
HJfod
9c8fcf15a9 add support for platform-specific setting values
also improves ccColor3B and ccColor4B hex string parsing (API break) and JsonMaybeValue::is (no break because templated)
2024-02-10 13:02:31 +02:00
matcool
c035278231 okay im bad at copying code
this happened whenever the request would get converted into json and
fail, and then that handler would call SentAsyncWebRequest::error
instead of the expect, delaying the execution of expect by one frame, by which
time the request class was already deleted.

Co-Authored-By: dankmeme01 <42031238+dankmeme01@users.noreply.github.com>
2024-02-03 19:33:27 -03:00
matcool
49738e6029 fix mysterious web request crash
thank you @dankmeme01
2024-02-03 19:30:46 -03:00
matcool
1ce2b32a7f fix android build, free curl header list 2024-02-03 19:14:58 -03:00
matcool
17153a4f68 remove crlf from http headers 2024-02-03 18:55:03 -03:00
altalk23
d9c65b37ea better geode version comparison & handling 2024-01-31 00:47:30 +03:00
altalk23
ea81897d5b this much silliness should be impossible !!!! 2024-01-29 23:17:16 +03:00
ConfiG
5a59faa077
add some thread names 2024-01-28 19:53:18 +03:00
ConfiG
17467d129b
better thread names api 2024-01-28 17:41:33 +03:00
ConfiG
67891f3e7b
Revert "config why"
This reverts commit f307263e5f.
2024-01-28 17:41:32 +03:00
altalk23
f307263e5f config why 2024-01-28 16:23:03 +03:00
ConfiG
ce53fb3135
add api for getting/setting thread names 2024-01-28 15:33:33 +03:00
ConfiG
777f81d85a
dont log json checker warnings for old versions of mods on the index 2024-01-25 22:11:48 +03:00
alk
73707610db
Merge pull request #447 from geode-sdk/prio-revert
Revert priority changes hook
2024-01-24 20:14:29 +03:00
altalk23
df07409532 implement the last modified since & responseHeaders in async web 2024-01-24 19:31:51 +03:00
altalk23
4cd08e1ca9 remove try blocks 2024-01-24 17:17:42 +03:00
altalk23
115c31eab7 capture force 2024-01-24 13:41:53 +03:00
altalk23
44976b4348 Make the force a param instead 2024-01-24 13:39:07 +03:00
altalk23
e3d0b30d70 force touch priority for overwriting priorities 2024-01-24 13:37:10 +03:00
altalk23
303d7cede4 force prio hook no more 2024-01-24 11:57:10 +03:00
altalk23
709e3cab48 first impl of revert 2024-01-24 11:30:38 +03:00
altalk23
2bc0d1a827 do while OH MY GOD 2024-01-22 21:54:26 +03:00
altalk23
bb60da8cb2 create parent path for unzip 2024-01-21 00:52:11 +03:00
altalk23
8e92bca418 remove the one in single extract 2024-01-20 23:59:45 +03:00
altalk23
1cf90c6acd Merge branch 'main' of https://github.com/geode-sdk/geode 2024-01-20 23:58:39 +03:00
altalk23
f6e1958ae8 uhh create dir 2024-01-20 23:58:30 +03:00
HJfod
427e28c034 fix Zip::Impl::extractAt not making sure dest dir exists 2024-01-20 22:15:58 +02:00
altalk23
b22ed7de21 fun zip optimizations 2024-01-20 21:58:25 +03:00
matcool
b63611ede8 add Index::isUpdating(), show message properly when updating index 2024-01-20 11:39:31 -03:00
matcool
753fd4e152 add PlatformID::toShortString and other things 2024-01-18 09:51:40 -03:00
ConfiG
21caf514c2
move forward compat hook toggling to macros 2024-01-13 03:30:07 +03:00
ConfiG
91bff5fbb2
forward compat mode 2024-01-12 22:18:24 +03:00
ConfiG
7de9a82d53
delayload cocos 2024-01-12 18:34:33 +03:00
mat
def39fc3f9
use compact json for request body 2024-01-10 00:12:35 -03:00
matcool
8ccc61febb new util methods, rename postFields and customRequest 2024-01-09 20:10:58 -03:00
matcool
91703e4192 fix postFields not setting isPostRequest to true 2024-01-09 18:31:55 -03:00
matcool
2540790ccb make cancelling not call error callback 2024-01-09 18:17:46 -03:00
matcool
8081860055 Merge branch 'main' of github.com:geode-sdk/geode into web-request-refactor 2024-01-09 15:40:45 -03:00
matcool
c3c055662f fix geode uses of CCArrayExt 2024-01-09 10:54:29 -03:00
mat
8a605da9b8 actually implement asyncwebrequest::timeout 2024-01-04 09:37:55 -03:00
mat
13ac3359f7 add AsyncWebRequest::timeout 2024-01-03 23:12:23 -03:00
mat
1ee1352d70 make AsyncWebRequest pimpl 2024-01-03 22:17:27 -03:00
mat
b9a09f73d5 update json library, changes namespace to matjson
very breaking change! though not annoying to upgrade. this change was
done because matjson is not really meant to be a "do everything" json
library, so taking up the very common `json` identifier was troublesome.
2024-01-03 18:04:43 -03:00
mat
c57db81910 remove log components, just format directly with fmtlib 2023-12-25 15:18:38 -03:00
altalk23
cab63073c2 add android64 to headers 2023-12-23 16:10:23 +03:00
altalk23
5d07b2ab7d Geode android compiles gg girls and girls 2023-12-21 19:42:01 +03:00
HJfod
442789e61a Merge branch '1.4.0-dev' into 2.0.0-dev 2023-12-20 12:19:29 +02:00
mat
ebcc23e7a9
Merge branch 'main' into 1.4.0-dev 2023-12-19 10:02:19 -03:00
matcool
4b7663015a (urgent) fix followThunkFunction
it was following hooks for cocos functions, causing bad crashes.
instead, now only follow jmp and then jmp dword ptr
2023-12-15 11:59:11 -03:00
matcool
44a018cdf9 recursively follow jumps in followThunkFunction 2023-12-14 21:32:19 -03:00
altalk23
c8392e92f5 im tired 2023-11-21 22:03:07 +03:00
mat
41832af1d8
Merge branch '1.4.0-dev' into 1.4-merge-temp 2023-11-09 22:39:23 -03:00
Fire
237128bfc5
Allow error responses
i dont want a "HTTP response code said error"
2023-10-27 20:49:17 +00:00
camila314
23bfc22d11 someone made an oopsie in SentAsyncWebRequest::Impl's constructor 2023-10-22 11:50:58 -05:00
altalk23
90d55d0526 revert web 2023-10-01 17:37:26 +03:00
altalk23
41ae88ae5b Merge branch '1.4.0-dev' into android 2023-10-01 15:22:18 +03:00