Commit Graph

19 Commits

Author SHA1 Message Date
CPunch 3316c77667 minor 'DEBUG' refactoring
- for debug builds, the LAIKA_DEBUG_BUILD macro will be defined in lconfig.h
- LAIKA_OBFUSCATE now controls the winobf IAT obfuscation as well
2022-10-05 20:36:49 -05:00
CPunch b6eebdd5fb Bot: fixed shell include errors 2022-06-27 19:02:49 -05:00
CPunch 48fa8935c3 Added .clang-format, formatted codebase 2022-06-27 18:57:00 -05:00
CPunch ca0543fe90 Removed unused content streams 2022-06-26 19:02:21 -05:00
CPunch f62363d4e4 Lib: MAX & MIN are now inlined functions 2022-05-18 14:12:20 -05:00
CPunch 3e60cc3c0f Lib: Minor refactoring, boilerplate content packet handlers
- content contexts now have events
- minor comments
2022-05-18 12:04:19 -05:00
CPunch 83002faa62 Lib: minor refactoring, more lcontent.c boilerplate 2022-05-17 10:37:58 -05:00
CPunch 67f404dac6 removed unused macro 2022-05-03 15:54:42 -05:00
CPunch 36c3c8a65f Box: implemented laikaB_unlock() & laikaB_lock() 2022-04-28 18:10:15 -05:00
CPunch 9cea98c86a Forced inlining for both GCC/clang & MSVC 2022-04-28 11:07:11 -05:00
CPunch 42199fc7c9 minor refactoring, proper no op macros 2022-03-28 14:02:33 -05:00
CPunch 6cab9107bb minor laikaM_rmvarray refactoring, removed 'type' parameter 2022-01-31 15:54:39 -06:00
CPunch 6d799a7532 Fixed poll() path in lpolllist.c, fixed laikaM_rmvarray() 2022-01-31 13:27:12 -06:00
CPunch 6fb8aa9b8a Refactored how CMake passes version & settings info
- keys can now be passed per-build passing -DLAIKA_PUBKEY=[pubkey] & -LAIKA_PRIVKEY=[pubkey] to `cmake -B`
- if those definitions aren't passed, the default public & private key will be used (for quick testing)
2022-01-30 01:15:51 -06:00
CPunch a023929190 Added key exchange to LAIKA_HANDSHAKE_*
- test keys are defined in laika.h
- bug fixes & refactoring with laikaM_growarray()
2022-01-27 19:55:28 -06:00
CPunch 203b5ce38f Added LibSodium, new tools/, genKey, sLaika_peer::type
- sLaika_peer has a new member, (PEERTYPE)type
- LibSodium dependency added
2022-01-27 13:36:36 -06:00
CPunch 04f02b4371 Protected handler calls in bot.c
- Added support for LAIKAPKT_HANDSHAKE_RES
2022-01-25 11:58:36 -06:00
CPunch 1bccc78117 First actual runnable version
- many warnings & bug fixes
- added bot/ source
2022-01-24 21:46:29 -06:00
CPunch 8133a8d3cb Inital commit
lib/ is just [FoxNet](https://git.openpunk.com/CPunch/FoxNet) ported to C99
2022-01-23 21:28:16 -06:00