Commit Graph

41 Commits (master)

Author SHA1 Message Date
Lonami Exo e66a547ca3 Add logging 2018-07-26 01:35:00 +02:00
Lonami Exo a3bd98d7a2 Create a basic client and session storage 2018-07-26 00:56:24 +02:00
Lonami Exo 26c8660aba Save found scheme layer in tl/Abstract 2018-07-26 00:52:32 +02:00
Lonami Exo bf318ae66d Fix reading gzipped data 2018-07-26 00:51:37 +02:00
Lonami Exo bc0414a436 Implement several missing UnsupportedOperationException 2018-07-25 21:03:59 +02:00
Lonami Exo 757f684c6b Persist authorization key
Useful until step 2 stops failing half the time
2018-07-25 19:53:48 +02:00
Lonami Exo 7cfd9034d0 Minor pq usage tweak 2018-07-25 19:45:51 +02:00
Lonami Exo 21eb87781e Complete sending and receiving encrypted functions 2018-07-25 18:48:13 +02:00
Lonami Exo a08966d8ec Fix message packing 2018-07-25 17:39:27 +02:00
Lonami Exo d9928e79dd Fix wrong BigInteger size 2018-07-25 16:28:33 +02:00
Lonami Exo bdd89efacc Attempt packing and unpacking messages 2018-07-25 16:04:43 +02:00
Lonami Exo 3c688d845d Final modifier on builder pattern 2018-07-24 21:18:57 +02:00
Lonami Exo 7fa0d033d6 Generate code to read TLRequests' result 2018-07-24 21:16:52 +02:00
Lonami Exo 5f018c709e Create a basic MTProtoSender 2018-07-24 20:26:54 +02:00
Lonami Exo 4ba9ed1353 Move AES and RSA to crypto/ 2018-07-24 18:06:54 +02:00
Lonami Exo 0a4abdcd36 Complete AuthKey generation process
It works sometimes. Probably due to unsigned mistakes (50% chance)
2018-07-24 16:07:51 +02:00
Lonami Exo e404594ad5 Complete step 2 of AuthKey generation 2018-07-24 13:49:39 +02:00
Lonami Exo 80ef876d92 Fix utils and create MTProtoPlainSender 2018-07-24 00:25:24 +02:00
Lonami Exo 11755fb266 Fix some name inconsistencies 2018-07-23 23:36:33 +02:00
Lonami Exo f8f80c1659 Use BigInteger for int128 and int256 2018-07-23 23:18:08 +02:00
Lonami Exo 2d442c390c Fix missing objects when using multiple files 2018-07-23 23:09:13 +02:00
Lonami Exo 820c3bc83a Propagate throws ClassNotFoundException 2018-07-23 22:58:42 +02:00
Lonami Exo 4e8cc8181c Generate CONSTRUCTOR_ID and write it upon serializing 2018-07-23 22:55:09 +02:00
Lonami Exo 16ab4e3863 Generate a method to get TLObject from ID 2018-07-23 22:49:13 +02:00
Lonami Exo 3960febf3c Create a basic Connection class 2018-07-23 22:00:12 +02:00
Lonami Exo 957e29b4db Generate code to the lib module 2018-07-23 21:27:07 +02:00
Lonami Exo 9c0402e909 Separate generator from lib modules 2018-07-23 21:05:53 +02:00
Lonami Exo b61398d166 Support setting and getting properties 2018-07-23 20:03:02 +02:00
Lonami Exo d546801130 Take into consideration generic definitions 2018-07-23 19:43:04 +02:00
Lonami Exo 2f22e74eca Write deserialization code 2018-07-23 19:28:23 +02:00
Lonami Exo 389cdae3ec Extend abstract types 2018-07-23 19:16:05 +02:00
Lonami Exo 1836837245 Write serialization code 2018-07-23 18:45:58 +02:00
Lonami Exo 19b976807e Fix CharacterIterator re-reading the last part of a file 2018-07-23 17:45:07 +02:00
Lonami Exo de5da4168c Fix .gitignore not ignoring generated code 2018-07-23 17:33:03 +02:00
Lonami Exo b82639cf0d Generate types and functions with their members 2018-07-23 17:30:09 +02:00
Lonami Exo e30e005d09 Create basic structure for generated code 2018-07-23 16:16:51 +02:00
Lonami Exo d554b69c82 Read .tl files while respecting sections 2018-07-23 15:35:19 +02:00
Lonami Exo 6acd40719f Create a CharacterIterator to read files 2018-07-23 15:22:45 +02:00
Lonami Exo 703e5d1a51 Parse flags and nested types such as vectors 2018-07-23 13:55:09 +02:00
Lonami Exo 68a6d4a49f Add basic .tl parsing 2018-07-23 13:20:28 +02:00
Lonami Exo 7b75a31624 Initial commit 2018-07-23 11:11:49 +02:00