Commit graph

62 commits

Author SHA1 Message Date
Philip Trauner
f6c9e505e0 Added default compression level 2016-09-23 14:19:04 +02:00
Philip Trauner
3b7733aee8 Bump version to fix an instancing issue 2016-09-18 20:21:32 +02:00
Philip Trauner
ab6444f118 Overhaul to work with Highway
create_routes now doesn't launch them automatically because routes are put together before the socket actually becomes avaliable.
create_exchange_map previously used the wrong index for the route list.
There is now a universal Route class from which ServerRoute and ClientRoute inherit.
2016-09-18 19:49:53 +02:00
Philip Trauner
a583d87f6a ESock replacement
Highway is a wrapper around ws4py that is needed for routing and exchanging routes automatically.
Currently only the server exchanges routes with the client. This behaviour has to be replicated the other way around too.
Not all that stable.
2016-09-18 19:46:09 +02:00
Philip Trauner
56ad9ba376 DataTypes now reside in Highway 2016-09-18 19:45:17 +02:00
Philip Trauner
73f31496cc Updated to newer version of ws4y that allows for handler initialisation 2016-09-15 11:22:17 +02:00
Philip Trauner
b9454f2865 Broke during migration to WebSockets
Will be replaced by behem0th
2016-09-11 20:35:27 +02:00
Philip Trauner
8638b98179 Removed max route length and added route ids
Routes are now handled as numbers by the networking layer. This changes requires the first message to be a dict of all routes with their associated ids. This way only 2 bytes are used per message, not 16 like before.
2016-09-11 20:32:13 +02:00
Philip Trauner
e8b855d37a Removed error handling function used by old networking 2016-09-11 20:31:48 +02:00
Philip Trauner
422d262ddf Removed building-blocks of old networking 2016-09-11 20:30:43 +02:00
Philip Trauner
2622fe8837 Added portable version of ws4py 2016-09-11 20:28:57 +02:00
Philip Trauner
13b4e0235c Added lookup caching and converted indentation to tabs 2016-09-11 15:20:06 +02:00
Christoph Heiss
a6de0790dd Add compression to ESock.
This is mostly transparent to the user.
A compression-level can be specfic (0-9), where 0 equals no,
1 weakest and 9 best compression.
Currently, the compression level defaults to 0.
2016-04-15 10:09:25 +02:00
PhilipTrauner
3db86baed8 Redid ReloadHandler to reduce duplicated events (works hopefully) 2016-04-10 00:54:32 +02:00
PhilipTrauner
7fb4db19cc Removed debug print 2016-04-09 00:15:38 +02:00
PhilipTrauner
7f881f3bf7 Hopefully fixed event duplication as well as offline editing 2016-04-09 00:14:22 +02:00
Philip Trauner
10e7638511 Added debug prints for possible segementation issue 2016-04-08 14:40:21 +02:00
Philip Trauner
733aa47433 Additional debug information 2016-04-08 09:09:00 +02:00
Philip Trauner
1cc4495978 Actually implemented is_wallaby 2016-04-04 13:13:28 +02:00
PhilipTrauner
d2fd0b4479 Removed faulty client-side add logic (currently echos are back, server can handle them) 2016-04-03 23:24:58 +02:00
PhilipTrauner
af8cffd5aa Added data truncation and length constant (currently independent of actual length) 2016-04-03 23:24:37 +02:00
PhilipTrauner
47989941d8 Removed invalid logic and added additional error handling 2016-04-03 22:19:42 +02:00
PhilipTrauner
90fa593be7 Added is_wallaby 2016-04-03 22:16:46 +02:00
PhilipTrauner
9406d5ef7d Added __init__ file for partial Python 2.7 support 2016-04-03 22:16:01 +02:00
Philip Trauner
65c744ad82 Reverted ActionQueue 2016-04-01 16:07:56 +02:00
PhilipTrauner
5a24c17bc1 Possible race condition fix 2016-03-31 22:40:39 +02:00
PhilipTrauner
1ee65798b0 Migrated DeleteStorage to pickle because sqlite3 is not included in Sublime Text's python interpreter, added rename (file), fixed tons of logic errors, added delete (directory and file) 2016-03-29 23:44:52 +02:00
PhilipTrauner
f87501a7a7 Removed setup (__init__ can now be used) 2016-03-29 23:36:33 +02:00
PhilipTrauner
444f169b86 Added function collection 2016-03-29 23:35:58 +02:00
Philip Trauner
d65b004fd4 Added .fl0w to ignores 2016-03-21 17:37:18 +01:00
PhilipTrauner
fda8eb2d41 4th version (actually working :D) 2016-03-21 00:17:33 +01:00
PhilipTrauner
731e5f4e1e Major refactor and error handling on closed sock 2016-03-21 00:17:00 +01:00
PhilipTrauner
894c973974 Replaced with current version of Meh 2016-03-21 00:15:27 +01:00
PhilipTrauner
615865234d Moved start to Server, added start and stop methods and removed arbitrary start requirement 2016-03-21 00:12:58 +01:00
PhilipTrauner
1e4fdfeace Moved commonb functions to utils 2016-03-21 00:09:58 +01:00
PhilipTrauner
14ca7f5a2b Deleted abstraction 2016-03-21 00:09:35 +01:00
PhilipTrauner
ee9693b655 3rd inital version (D:) 2016-03-08 08:48:01 +01:00
PhilipTrauner
1dfaaa59e3 Rewrite config in case of missing vars 2016-03-08 08:46:30 +01:00
PhilipTrauner
f8c699f5af Fixed length on receive 2016-03-08 08:44:57 +01:00
PhilipTrauner
befca7cdf8 Added REQUIRE capabilities for Routing 2016-03-08 08:43:52 +01:00
Philip Trauner
35f61ab771 Another unfinished version of Sync 2016-03-05 17:39:55 +01:00
Philip Trauner
d287a84950 Added fallback logging option for Sublime Text 2016-03-05 17:36:27 +01:00
Philip Trauner
98c6eada50 Added first version of Sync 2016-02-27 12:45:16 +01:00
Philip Trauner
cb53bbb2b4 Bandwidth optimisations (json now minimal) 2016-02-27 12:42:33 +01:00
Philip Trauner
56136ad5d2 Added new config framework 2016-02-27 12:40:59 +01:00
Philip Trauner
d04a29c018 Added support for a disconnect callback 2016-02-20 10:03:25 +01:00
PhilipTrauner
19bb54ad60 Raised size of length field 2016-02-20 08:21:40 +01:00
PhilipTrauner
5dda052ed5 Added error handling for invalid packets and integrated int and float 2016-01-31 20:40:31 +01:00
PhilipTrauner
6b2fdaa9d5 Added int and float (why weren't they there in the first place?) 2016-01-31 20:39:30 +01:00
PhilipTrauner
240114e0cd Scrapped VarSync. Not really necessary 2016-01-31 20:36:59 +01:00