Commit Graph

53 Commits

Author SHA1 Message Date
Gergely Polonkai 530ed8cb8d Add the MATRIX_API_CALLBACK cast macro 2016-01-30 10:02:00 +01:00
Gergely Polonkai 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
Gergely Polonkai c95f093ace Add MatrixPresenceEvent type
It is an abstraction layer for presence events.
2016-01-27 13:10:20 +01:00
Gergely Polonkai 66813be539 Create the MatrixHTTPClient skeleton 2016-01-26 19:00:11 +01:00
Gergely Polonkai c56dee6c56 Rename MatrixAPIStateEvent to MatrixStateEvent 2016-01-25 16:36:18 +01:00
Gergely Polonkai f51a4ba63c Rename MatrixAPIPusher to MatrixPusher 2016-01-25 16:30:39 +01:00
Gergely Polonkai 45b071365d Rename MatrixAPI3PidCredential to Matrix3PidCredential 2016-01-25 16:22:17 +01:00
Gergely Polonkai e6ddc5193a Rename MatrixAPIRoomFilter to MatrixRoomFilter 2016-01-25 16:11:32 +01:00
Gergely Polonkai 8f5877a2f0 Rename MatrixAPIFilter to MatrixFilter 2016-01-25 16:11:32 +01:00
Gergely Polonkai 7ab4e556bd Rename MatrixAPIFilterRules to MatrixFilterRules 2016-01-25 16:11:32 +01:00
Gergely Polonkai e163e73f2c Rename enum types from MatrixAPI* to Matrix* 2016-01-25 16:11:31 +01:00
Gergely Polonkai d3ac019188 Rename MatrixAPIError to MatrixError 2016-01-25 16:11:22 +01:00
Gergely Polonkai fbb24e3acc Rename matrix-api-types.[ch] to matrix-types.[ch] 2016-01-25 16:11:22 +01:00
Gergely Polonkai 19a5ab01a0 Add the MatrixClient::login-finished signal 2016-01-24 15:40:26 +01:00
Gergely Polonkai 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
Gergely Polonkai 207e4af288 Remove matrix_client_refresh_token from the documentation 2016-01-24 15:07:02 +01:00
Gergely Polonkai 3993bb112c Add MatrixAPI.abort_pending definition 2016-01-22 16:01:26 +01:00
Gergely Polonkai 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
Gergely Polonkai 152765b7f9 Rework MatrixClient as an interface 2016-01-21 18:39:03 +01:00
Gergely Polonkai 5fc5a0e79d Redesign base_url setting so there is now a function for it 2016-01-21 07:59:13 +01:00
Gergely Polonkai 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
Gergely Polonkai 6d9b13cd63 Add the MatrixAPIAccountKind type 2016-01-16 14:35:51 +01:00
Gergely Polonkai 07eae08d89 Add JSON getters for MatrixAPI3PidCredential 2016-01-15 20:32:13 +01:00
Gergely Polonkai 425e2ebfb3 Add matrix_api_versions() to the documentation 2016-01-15 19:40:46 +01:00
Gergely Polonkai 0b17b583ab Add JSON getters for MatrixAPIFilter 2016-01-15 17:59:59 +01:00
Gergely Polonkai 4b62305c08 Move enum_to_string to utils.c as g_enum_to_string 2016-01-15 17:58:35 +01:00
Gergely Polonkai 3e464e7318 Rename modify_pusher update_pusher
It reflects the functionality better.
2016-01-15 14:43:27 +01:00
Gergely Polonkai 2fdaea2119 Documentation fixes 2016-01-12 14:10:24 +01:00
Gergely Polonkai 4847f73668 Move enumerations to matrix-api-types.[ch] 2016-01-11 17:42:53 +01:00
Gergely Polonkai 4aa99ea19b Make MatrixAPIStateEvent a boxed type 2016-01-11 17:42:53 +01:00
Gergely Polonkai edbc6222e3 Make MatrixAPIPusher a boxed type 2016-01-11 17:42:52 +01:00
Gergely Polonkai 127c1b4b61 Move MatrixAPIError to matrix-api-types.[ch] 2016-01-11 17:42:52 +01:00
Gergely Polonkai ad8e202367 Make MatrixAPI3PidCredential a boxed type 2016-01-11 17:42:51 +01:00
Gergely Polonkai 72f317a941 Make MatrixAPIFilter a boxed type 2016-01-11 17:42:50 +01:00
Gergely Polonkai 512020a0ea Move MatrixAPIEventFormat enum to matrix-api-types.h 2016-01-11 17:42:49 +01:00
Gergely Polonkai 90a360ecd6 Make MatrixAPIRoomFilter a boxed type 2016-01-11 17:42:49 +01:00
Gergely Polonkai e11dbc503d Merge MatrixAPIEventFilter and MatrixAPIPresenceFilter into a boxed type 2016-01-11 17:42:48 +01:00
Gergely Polonkai 95a6112a2a Add MatrixAPI:homeserver property 2016-01-11 17:42:47 +01:00
Gergely Polonkai f6fa56e7b0 Add MatrixAPI:user-id property 2016-01-11 17:42:47 +01:00
Gergely Polonkai 8f2a8e23a7 Add the refresh-token property 2016-01-11 17:42:04 +01:00
Gergely Polonkai 9e2d486b19 Start reimplementing HTTP API with the new interface 2016-01-11 17:40:54 +01:00
Gergely Polonkai 503ff71f3c Start redefining MatrixAPI methods based on the Matrix.org API 2016-01-11 17:40:49 +01:00
Gergely Polonkai 9552136059 Add our own error quark 2016-01-05 15:32:44 +01:00
Gergely Polonkai 6b6b3b8954 Implement /join/$room_id 2015-12-15 11:09:19 +01:00
Gergely Polonkai 7f149035a0 Implement /createRoom 2015-12-15 09:36:41 +01:00
Gergely Polonkai 056c4c1ce7 Implement /initialSync 2015-12-15 09:36:41 +01:00
Gergely Polonkai 2f2ab12c08 Implement /register in the HTTP API 2015-12-14 20:34:31 +01:00
Gergely Polonkai 0ec0c7c34e Implement MatrixAPI->login 2015-12-14 16:33:09 +01:00
Gergely Polonkai 4283dc4452 Add the matrix_http_api_gen_parameters() convenience method 2015-12-14 16:32:23 +01:00
Gergely Polonkai 8ae80a755a Add getter for MatrixHTTPAPI:base-url 2015-12-14 16:31:27 +01:00