Commit Graph

92 Commits

Author SHA1 Message Date
neon443
29a270c2a5 okay gonna try uikit :pf:
let _ in downloadImage
2025-11-03 19:53:50 +00:00
neon443
d4cc465b81 my new emojipreview was shit
added a delay thing which increases each time theres an error loading
2025-11-03 18:26:13 +00:00
neon443
4b1776c209 sjfkl;aljdfjl 2025-11-03 18:05:13 +00:00
neon443
7e27375939 update emojpreview 2025-11-03 18:01:31 +00:00
neon443
caedb16ef5 okay trietrstingview search is pretty good 2025-11-03 17:47:26 +00:00
neon443
72a9bb2933 trying to otptimise shit 😭
trying to undo stuff from before
2025-11-03 17:32:54 +00:00
neon443
3272560f29 okay uh might be slwoer 2025-11-03 17:06:16 +00:00
neon443
a3bce28065 tiny optimisation in insert(word: String) 2025-11-03 16:39:46 +00:00
neon443
f6f73b641d added trie to emojihoarder
added buildtrie() to build trie
added time calculation for trie building
optimised trie building in TrieTestingView
2025-11-03 16:24:08 +00:00
neon443
6507caa635 added animations on search
remove all items cos its not needed :pf:
added numericTextCompat
2025-11-03 15:00:28 +00:00
neon443
3200b3cca3 added prefix search!
added allitems
2025-11-03 14:54:12 +00:00
neon443
38b4ba4aa7 added search(for: String)
case insensitive now
insert(word) only gets indices once
2025-11-03 12:49:11 +00:00
neon443
7ec80240e4 fix not being marked as end of word 2025-11-03 12:14:49 +00:00
neon443
d8e31178d6 started working on a trie!
thanks @foxmoss
2025-11-03 12:05:04 +00:00
neon443
8e9ab5e030 Merge remote-tracking branch 'refs/remotes/origin/main' 2025-11-02 23:29:48 +00:00
neon443
2ecf81c59c update ui 2025-11-02 23:29:41 +00:00
neon443
29d784d16d update ui 2025-11-02 23:26:09 +00:00
neon443
29784a9a8f fix downloading images 💀
make downloadimage not return a uiimage cos its not used anywhere
2025-11-02 22:56:40 +00:00
neon443
f90a2c65b4 had to revert the hash map stuff :pf: 2025-11-02 22:40:44 +00:00
neon443
bee0853f97 okay!
this is not good...
2025-11-02 22:25:01 +00:00
neon443
edaa0953c7 more optimisation using a hash map 2025-11-02 22:06:09 +00:00
neon443
14d61dc45e fixed the hang when loading emojis!!
now gotta remove dependency on isLocal, and finish new download functions
2025-11-02 21:48:10 +00:00
neon443
4b32a9e6ae removed ApiEmoji cos its not used 2025-11-02 20:28:59 +00:00
neon443
ae202380a2 currently on an optimisation spree
remove the islocal thing i added, got a better idea
    using a Set of local emojis
2025-11-02 20:21:14 +00:00
neon443
55bbf31ded updated isLocal
added localimageurlstring and localimageurl
2025-11-02 19:29:35 +00:00
neon443
5416d35118 add verison config thingy 2025-11-02 08:28:13 +00:00
neon443
fac32edb9d update deleteAllStickers to do a emoji.refresh after
redid deleteAllEMojis test
fix a buncha warnings
2025-11-01 22:53:43 +00:00
neon443
ba77eb2c89 exclude downloadAll from tests 2025-11-01 22:33:09 +00:00
neon443
5c81d90039 re-add app groups to the new target 2025-11-01 22:29:38 +00:00
neon443
1c618529be change to StickerSlack
fix build num
2025-11-01 22:00:38 +00:00
neon443
9c24b3e0bf YES IT WORKED!!!
now we dont touch StickerSlackiMessageApp/Assets.xcassets
2025-11-01 21:10:13 +00:00
neon443
3d83db2227 YES IT WORKED!!! 2025-11-01 21:05:24 +00:00
neon443
a37e655855 plsplsplspls 2025-11-01 20:57:30 +00:00
neon443
f572d0f293 remade the imessageextension
updated recticon
2025-11-01 15:08:57 +00:00
neon443
64771a32e7 maybe fix 2025-11-01 14:31:57 +00:00
neon443
783d731077 encryption export compliance 2025-10-31 23:42:56 +00:00
neon443
1f9cfcfc1a merge the asset catalogs
rename a test
2025-10-31 23:40:12 +00:00
neon443
aaa51e6cef Merge remote-tracking branch 'refs/remotes/origin/main' 2025-10-31 23:30:51 +00:00
neon443
d7f3e79566 fix alpha channel by redoing the recIcons and adding the purple bg to the square ones 2025-10-31 23:30:41 +00:00
neon443
f1f65d4e36 rewrote refreshDB
using a task.detached to refresh the db
sets werent a good idea
2025-10-31 23:06:41 +00:00
neon443
46204aa9c2 trying to use Set 2025-10-31 17:33:25 +00:00
neon443
a1a15c9cb8 added a delete all images button
some other stuff
2025-10-31 16:23:05 +00:00
neon443
bf3ac0eb3b added deleteAllStickers
fix crash when the uiimage isnt valid
swift 6 in the messages extension
added fakedownloadallstickers test
added deleteallimages test
2025-10-31 15:57:40 +00:00
neon443
a55c4b8c31 added apiemoji tests 2025-10-31 15:06:53 +00:00
neon443
8df79c7072 fix warnings 2025-10-30 23:46:08 +00:00
neon443
be020861ff fix emoji picker ui size being wrong
added a local only mode to emojihoarder to prevent loading of remoteDB
2025-10-30 23:39:02 +00:00
neon443
ab1b89e56c delete all emojis test 2025-10-30 23:25:17 +00:00
neon443
be22370ec0 finally wrote a funcitonal good test!!!!
added undownloadedemojisbefore unused atm
using a withThrowingDiscardingTaskGroup with a task limit
    task limit: max tasks is cores-1
    every tiem a task is added taskcount+=1
    every tiem it finishes taskcount -= 1
    if active tasks> maxtasks wait until i > what it was before
        reduce activetasks by one

deleting images in pass 2
guard that it was downloaded before
basic async cos i cba atp
doThing wiht inout i to increment
    itll download the image and make sure its not already downloaded etc
2025-10-30 23:15:28 +00:00
neon443
ff123811a0 ultra parallelised download all in sticker vailidation performance Test
the issue is that the counter doesnt work, and that it does crash if the network request times out 😭
2025-10-30 22:30:54 +00:00
neon443
dd02d5ca80 added validat() to MSSticker via an extension
added a button to validate them
wrote sticker validation test
wrote sticker validation performance test
2025-10-30 21:55:22 +00:00