Commit Graph
100 Commits
Author SHA1 Message Date
neon443 03b67fc46b update image link 2025-11-12 08:33:03 +00:00
neon443 2956d89f15 ios 26 search bar 2 electric bogaloo 2025-11-11 21:29:20 +00:00
neon443 bed7a55a28 morphy search button/tab ios 26
fix missing sf symbol
2025-11-11 21:04:55 +00:00
neon443 336dd16744 fix uh building the tree like 5 times too many 2025-11-11 20:29:27 +00:00
neon443 97a8515ba7 add readme 2025-11-11 19:43:18 +00:00
neon443 de0b9dde6d tiny ui update 2025-11-11 17:00:55 +00:00
neon443 5d8b83e099 ui updates 2025-11-11 12:48:41 +00:00
neon443 21b0b47038 trying to do the search morph thing 2025-11-11 08:35:13 +00:00
neon443 1c4ef6896d quicker opening of the imessage app, support ios 17 and below again 2025-11-10 15:14:51 +00:00
neon443 6d4eb5da36 more ui 2025-11-06 20:35:03 +00:00
neon443 7dcf04f27e a lot of updates
grid view for downloaded emojis

shared instance of EmojiHoarder
nonisolated static localEmojiDB var
deleteallstickers is @MainActor
2025-11-06 20:25:40 +00:00
neon443 42739c93da ui updates
downloaded emojis is a grid
rewrote deleteAllStickers
added downloadEmoji
2025-11-05 22:04:04 +00:00
neon443 08ad69b19a reduced usage of isLocal in favour of checking hoarder.downloadedEmojis
wrote tests to check that, Set checking is 1.5 to 2x faster
2025-11-05 19:50:10 +00:00
neon443 c3cfecb87e organised the project for the first time 2025-11-05 19:25:55 +00:00
neon443 578f5e0149 more ui updates 2025-11-04 17:05:36 +00:00
neon443 ea96fbbf5a updating the ui
restTrie function
build trie and searching trie tests
2025-11-04 10:54:35 +00:00
neon443 63a979d796 redid ui with tabs
added downloadedEmojis
make sure stuff is rebuilt on refresh
2025-11-04 10:43:23 +00:00
neon443 44b24dd615 ajkf 2025-11-04 07:36:13 +00:00
neon443 05d3d22a09 i love uikit
added a uikit toggel in trietestingview
i think i figured out the uikit refreshing issue 🔥
2025-11-03 20:58:10 +00:00
neon443 4c9cd6c8e6 use emojirow in trietestingview
extract trietestingview
2025-11-03 20:40:27 +00:00
neon443 73f5d1c45d add emojiRow
not using uikit cos i cba with the refreshing and stuff
added test emojii static var
2025-11-03 20:35:14 +00:00
neon443 567c768489 asdf 2025-11-03 20:30:53 +00:00
neon443 18e1ebc870 UIKit time :yay: 2025-11-03 20:27:38 +00:00
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
neon443 3bd0892d42 fix "alpha channel" 2025-10-30 20:26:30 +00:00
neon443 0e17a85b81 added imessage app icons 2025-10-30 20:11:14 +00:00
neon443 72382e1472 remove fatalerror 2025-10-30 19:55:31 +00:00
neon443 c974e8136b async let to parallelise stuff
fix crash when the fetched db doesnt exist
added loadremoteDB to asyncly fetch remotedb
fixed Tasks not running on background threads
remove expiration from slackresponse
emoji.uiid starts out as emoji.id
added filtering emojis test
hopefully optimised the display of images checking if its local
imessage extension ios 15+
remove the "hii!!" and "hello world" from the emojji picker
2025-10-30 19:44:59 +00:00
neon443 b738a06835 95% faster local image url getting
added localImageURL() test
2025-10-30 15:33:31 +00:00
neon443 780e66ce0d added resources folder 2025-10-30 15:32:25 +00:00
neon443 90a4b11c38 we have an icon 2025-10-30 14:30:21 +00:00
neon443 16b4086286 fix lag when expanding the picker 2025-10-29 22:52:42 +00:00
neon443 4ab2ee8b98 better performance in stickerbroswer
Emoji.sticker can return nil
added tests to measure .sticker perfomance
delete redundant stickerbrowserviewcontroller
2025-10-29 22:48:26 +00:00
neon443 495abb99b4 the emojipicker works!
added stickerbrowserdatasorce to give msstickerbrowserview stikcers
update messagesviewcontroller to add the msstickerbrowser
added Emoji.sticker to get MSSticker from Emoji
2025-10-29 22:19:57 +00:00
neon443 98df6d776b added filter categories 2025-10-29 20:16:21 +00:00
neon443 6d9638bf85 leading alignment, tiny shadow 2025-10-29 19:33:14 +00:00
neon443 a102edbd4e added a callback to refreshDB cos async returns instantly
- fixes the search not applying after a refresh sometimes
added animations to searching and stuff
remove setPrefix
2025-10-29 18:56:57 +00:00
neon443 e45d8417d1 refreshable contentview
auto retry if image load fails
added a refresh function
refresh on delete
2025-10-29 18:36:34 +00:00
neon443 3de0479fd0 fix:
the file extension not working thing
if "" is searched, returning empty
2025-10-29 16:36:27 +00:00
neon443 002fc21308 async loading of the remote emoji database
- load the local one first
 - async task to load the remote db and if it succeeds overwrite the local db and load the remote one

emoiji.localimageurl is now a computed propery
 - need to fix the fact that the file extension is not known 😭

fetchRemoteDB automatically stores the db lcoally after fetching
add storeDB(data: Data) to store the db from a data form
Emoji.uiID is generated automatically
fix hoarder.localEmojiDB path

imessage extension scheme??
2025-10-29 16:29:35 +00:00
neon443 20e4e8a2c7 remove testData.json 2025-10-29 15:24:05 +00:00
neon443 9b6d91bf8f fixed massive performance issue!!!!
emoji.image is a computed property
made it not crash if it couldnt access cachet 😭
added search and a counter
removed emojipreview.image
2025-10-28 20:30:32 +00:00
neon443 31321865e9 added search
added emojipack, currently unused
using the cahcet id in emoji
2025-10-28 16:31:31 +00:00
neon443 51691c32f3 trying to add a only show x thing 2025-10-28 13:07:55 +00:00
neon443 f37b254e80 shared decoder and encoder 2025-10-28 11:42:08 +00:00
neon443 f4ab22a789 refactored to storeDB loadLocalDB and fetchRemoteDB for more readability
added more stuff to slackresponse cos cachets got some cool stuff
guards on toEmojis and it can take in and return nil
2025-10-27 20:30:26 +00:00
neon443 2ddcd49ad0 yay okay ui is state-ing
added swipe actions to delete local image
slow, but i think i can fix it??
switch to gh neon443/Haptics
2025-10-24 00:01:14 +02:00
neon443 bc0b46a6df added Emoji.isLocal to check if the emoji is stored 2025-10-23 21:12:40 +02:00
neon443 4ed5695f4a updated downloadImage()
- to use cached local version if available
 - now writes to disk if not already saved

rewrote toEmojis() just a simple map of ApiEmoji($0).toEmoji()
use the new toEmojis in emojiHoarder

now the emojiDB gets stored locally, need to make it fetch it if it can cos cache cant be valid forever yk

using neon443/Haptics for haptics lol
added a download button
on EmojiPreview, if downloaded a lil download icon shows up, and will show that one instead of AsyncImage
2025-10-23 09:46:53 +01:00
neon443 2841bc2109 add Emoji and old one is now ApiEmoji
added async code to Emoji to load image
added app groups to share files
2025-10-22 15:20:18 +01:00
neon443 95d377de30 minor changes 2025-10-21 22:33:49 +01:00