Commit Graph

56 Commits

Author SHA1 Message Date
d79bb0d9ec Add the MatrixClient::event signal 2016-03-04 14:00:42 +01:00
1e7c54dd45 Define MatrixEvent 2016-03-04 14:00:42 +01:00
033139672f Add type MatrixUnsignedEventData 2016-03-04 14:00:42 +01:00
530ed8cb8d Add the MATRIX_API_CALLBACK cast macro 2016-01-30 10:02:00 +01:00
2f366ee30d Add the MATRIX_API_CALLBACK_PROTO convenience macro
It can ease creating API callback function headers.
2016-01-29 17:49:28 +01:00
c95f093ace Add MatrixPresenceEvent type
It is an abstraction layer for presence events.
2016-01-27 13:10:20 +01:00
66813be539 Create the MatrixHTTPClient skeleton 2016-01-26 19:00:11 +01:00
c56dee6c56 Rename MatrixAPIStateEvent to MatrixStateEvent 2016-01-25 16:36:18 +01:00
f51a4ba63c Rename MatrixAPIPusher to MatrixPusher 2016-01-25 16:30:39 +01:00
45b071365d Rename MatrixAPI3PidCredential to Matrix3PidCredential 2016-01-25 16:22:17 +01:00
e6ddc5193a Rename MatrixAPIRoomFilter to MatrixRoomFilter 2016-01-25 16:11:32 +01:00
8f5877a2f0 Rename MatrixAPIFilter to MatrixFilter 2016-01-25 16:11:32 +01:00
7ab4e556bd Rename MatrixAPIFilterRules to MatrixFilterRules 2016-01-25 16:11:32 +01:00
e163e73f2c Rename enum types from MatrixAPI* to Matrix* 2016-01-25 16:11:31 +01:00
d3ac019188 Rename MatrixAPIError to MatrixError 2016-01-25 16:11:22 +01:00
fbb24e3acc Rename matrix-api-types.[ch] to matrix-types.[ch] 2016-01-25 16:11:22 +01:00
19a5ab01a0 Add the MatrixClient::login-finished signal 2016-01-24 15:40:26 +01:00
ad265c310d Rename g_enum_to_string to _g_enum_to_string
This is to avoid name clashes and exclude it from introspection and
documentation.
2016-01-24 15:08:12 +01:00
207e4af288 Remove matrix_client_refresh_token from the documentation 2016-01-24 15:07:02 +01:00
3993bb112c Add MatrixAPI.abort_pending definition 2016-01-22 16:01:26 +01:00
15ebaa3974 Fix MatrixClient definition
* Remove `*_get_room` and `*_get_user` definitions, as it is yet unclear
  if they will be needed
* Documentation fix; begin_polling references a yet non-existing signal
2016-01-22 11:34:04 +01:00
152765b7f9 Rework MatrixClient as an interface 2016-01-21 18:39:03 +01:00
5fc5a0e79d Redesign base_url setting so there is now a function for it 2016-01-21 07:59:13 +01:00
08cfb118fd Redesign matrix_http_api_new() so it returns MatrixAPI
This is for easier work with the interface.
2016-01-21 07:59:13 +01:00
6d9b13cd63 Add the MatrixAPIAccountKind type 2016-01-16 14:35:51 +01:00
07eae08d89 Add JSON getters for MatrixAPI3PidCredential 2016-01-15 20:32:13 +01:00
425e2ebfb3 Add matrix_api_versions() to the documentation 2016-01-15 19:40:46 +01:00
0b17b583ab Add JSON getters for MatrixAPIFilter 2016-01-15 17:59:59 +01:00
4b62305c08 Move enum_to_string to utils.c as g_enum_to_string 2016-01-15 17:58:35 +01:00
3e464e7318 Rename modify_pusher update_pusher
It reflects the functionality better.
2016-01-15 14:43:27 +01:00
2fdaea2119 Documentation fixes 2016-01-12 14:10:24 +01:00
4847f73668 Move enumerations to matrix-api-types.[ch] 2016-01-11 17:42:53 +01:00
4aa99ea19b Make MatrixAPIStateEvent a boxed type 2016-01-11 17:42:53 +01:00
edbc6222e3 Make MatrixAPIPusher a boxed type 2016-01-11 17:42:52 +01:00
127c1b4b61 Move MatrixAPIError to matrix-api-types.[ch] 2016-01-11 17:42:52 +01:00
ad8e202367 Make MatrixAPI3PidCredential a boxed type 2016-01-11 17:42:51 +01:00
72f317a941 Make MatrixAPIFilter a boxed type 2016-01-11 17:42:50 +01:00
512020a0ea Move MatrixAPIEventFormat enum to matrix-api-types.h 2016-01-11 17:42:49 +01:00
90a360ecd6 Make MatrixAPIRoomFilter a boxed type 2016-01-11 17:42:49 +01:00
e11dbc503d Merge MatrixAPIEventFilter and MatrixAPIPresenceFilter into a boxed type 2016-01-11 17:42:48 +01:00
95a6112a2a Add MatrixAPI:homeserver property 2016-01-11 17:42:47 +01:00
f6fa56e7b0 Add MatrixAPI:user-id property 2016-01-11 17:42:47 +01:00
8f2a8e23a7 Add the refresh-token property 2016-01-11 17:42:04 +01:00
9e2d486b19 Start reimplementing HTTP API with the new interface 2016-01-11 17:40:54 +01:00
503ff71f3c Start redefining MatrixAPI methods based on the Matrix.org API 2016-01-11 17:40:49 +01:00
9552136059 Add our own error quark 2016-01-05 15:32:44 +01:00
6b6b3b8954 Implement /join/$room_id 2015-12-15 11:09:19 +01:00
7f149035a0 Implement /createRoom 2015-12-15 09:36:41 +01:00
056c4c1ce7 Implement /initialSync 2015-12-15 09:36:41 +01:00
2f2ab12c08 Implement /register in the HTTP API 2015-12-14 20:34:31 +01:00