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
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
8f5877a2f0
Rename MatrixAPIFilter to MatrixFilter
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
283463810b
Documentation fix for MatrixAPI.register_account
2016-01-24 15:07:02 +01:00
3993bb112c
Add MatrixAPI.abort_pending definition
2016-01-22 16:01:26 +01:00
cdd5ebcd9b
Add NULL checks in the MatrixAPI calls
2016-01-21 15:43:51 +01:00
f44a7e8785
Add (allow-none) annotation to add_room_tag’s content
...
Although the specification says it is required, the body of the request
can actually be an empty JSON object; and that is what we send if a JSON
content is NULL.
2016-01-21 15:43:29 +01:00
7d5b516005
Move invite_user_3pid() to direct MatrixAPI3PidCredential use
2016-01-21 15:37:04 +01:00
3e93e9e77d
Add 3rd party credential invite possibility to create_room()
...
This is to comply with Matrix API r0.0.1
2016-01-21 15:36:23 +01:00
c73f76a235
Remove allow-none clause from register_account’s password parameter
...
It is not allowed by the specification.
2016-01-21 15:36:23 +01:00
cbfb0fbe72
Change login’s type param to login_type
...
It is for not to clash with some languages (like Python).
2016-01-21 15:24:53 +01:00
2dfdb754f3
Fix add_room_tag prototype and vfunc
2016-01-16 15:28:09 +01:00
8ce974e195
Change set_account_data’s type param to event_type
...
It is for not to clash with some languages (like Python)
2016-01-16 15:08:08 +01:00
0369b387c1
Remove const
constraint from set_account_data’s content
2016-01-16 14:37:57 +01:00
5b1ea70b48
Update register_account() according to specification
2016-01-16 14:35:51 +01:00
8b332eaaea
Implement token_refresh
2016-01-15 19:40:46 +01:00
13c8707dbf
Update MatrixAPI with the versions API call
2016-01-15 19:23:51 +01:00
668c782df7
Remove const
constraint from send_room_event’s content
2016-01-15 17:09:05 +01:00
11bd9002af
Remove const
constraint from send_message_event’s content
2016-01-15 16:51:09 +01:00
68833931e0
Change send_event_recepit_type’s type param to receipt_type
...
It is for not to clash with some languages (like Python).
2016-01-15 16:38:39 +01:00
a22df12d27
Annotation fix
...
Changed GString to utf8 in element-type annotations.
2016-01-15 15:29:41 +01:00
3e464e7318
Rename modify_pusher update_pusher
...
It reflects the functionality better.
2016-01-15 14:43:27 +01:00
84c0eb569d
Remove const
constraint from media_upload’s content
2016-01-15 13:58:01 +01:00
97a169959c
Accept non-json content
2016-01-15 13:09:39 +01:00
a037cb7aad
Error fixes
2016-01-15 10:36:47 +01:00
ea7d9aaec4
Implement join_room
2016-01-13 17:21:55 +01:00
b0c26bcec2
Fix return values in property getters
2016-01-12 21:14:04 +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
e15df6ea2e
Add a GError parameter to MatrixAPICallback
2015-12-15 11:09:51 +01:00
9f763865db
Documentation fix
2015-12-15 09:36:41 +01:00