aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ...Mattias Andrée2015-08-251-10/+16
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* libmds_compose_v: make it easy to exclude headers conditionallyMattias Andrée2015-08-251-10/+32
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fix m bugMattias Andrée2015-08-251-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* libmdsclient: libmds_compose_v is not a candidate for gnu_printfMattias Andrée2015-08-251-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* libmdsclient: add function to find unused message idMattias Andrée2015-08-252-0/+72
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* libmdsclient: add identity macros for optimisation functions that may or may not disappear in the future, and may or may not get alternatives, ↵Mattias Andrée2015-08-251-0/+8
| | | | | | this way it programmer can use them if they are available and full back to the regular function otherwise Signed-off-by: Mattias Andrée <maandree@operamail.com>
* libmdsclient: add message composing functionMattias Andrée2015-08-252-0/+266
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* begin on libmdsclient: header cherrypickingMattias Andrée2015-08-252-0/+884
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-colour: implement list-coloursMattias Andrée2015-08-241-4/+39
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* introduce the `Origin command`-headerMattias Andrée2015-08-248-51/+83
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kkbd: decipher mapping_query and fix a minor bug in itMattias Andrée2015-08-241-16/+35
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kkbd: handle_keyboard_enumeration did not add the keyboard, what an oversightMattias Andrée2015-08-241-1/+15
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kkbd: decipher handle_keyboard_enumeration and fix a minor bug in itMattias Andrée2015-08-241-14/+40
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-clipboard: improve wipe_and_freeMattias Andrée2015-08-241-2/+8
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* hash-list: styleMattias Andrée2015-08-241-10/+10
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* style + error messages should include message id + fix buffer overflowMattias Andrée2015-08-243-44/+38
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* libmdsserver: styleMattias Andrée2015-08-241-13/+13
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-server: styleMattias Andrée2015-08-243-6/+49
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-registry: fix buffer overflowMattias Andrée2015-08-241-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-registry: fix memory free upon error bugMattias Andrée2015-08-241-6/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-colour: style + fix buffer overflow + send message idMattias Andrée2015-08-242-46/+43
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds: styleMattias Andrée2015-08-241-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-clipboard: m + styleMattias Andrée2015-08-241-66/+41
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-echo: styleMattias Andrée2015-08-241-10/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-respawn: typo + mds-kkbd: doc, derp, and minimise some buffer sizesMattias Andrée2015-08-242-13/+38
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kkbd: styleMattias Andrée2015-08-241-44/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kkbd: fix order of parameters in sprintfMattias Andrée2015-08-241-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-vt: typo and styleMattias Andrée2015-08-241-20/+10
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-colour: pregenerate textual colour listsMattias Andrée2015-08-241-29/+166
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-colour: broadcast updatesMattias Andrée2015-08-242-18/+154
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* hash list optimisationMattias Andrée2015-08-241-21/+96
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m todo + implement get-colourMattias Andrée2015-08-241-4/+38
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-08-241-2/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* info: construct_error_message and send_errorMattias Andrée2015-08-241-2/+0
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* error transmissionsMattias Andrée2015-08-233-2/+230
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-colour: marshal colour list + implement set-colourMattias Andrée2015-08-232-5/+49
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* signal handlers that return should not modify errnoMattias Andrée2015-08-238-0/+39
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* the first argument on socket() should be PF_, not AF_ as often documented, although it does not really matter because PF_ to AF_ is a bijective ↵Mattias Andrée2015-08-221-1/+1
| | | | | | identity mapping (PF_UNSPEC was even added to make this true.) Signed-off-by: Mattias Andrée <maandree@operamail.com>
* ensure that all PF_ and AF_ aliases exists if any existMattias Andrée2015-08-221-0/+43
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typo + mds-colour: print colour list on SIGINFOMattias Andrée2015-08-222-1/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add and use xclose and xfclose, we do not want close or fclose to be ignored because a singal interrupts it.Mattias Andrée2015-08-217-24/+73
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m + info: hash listMattias Andrée2015-08-203-106/+191
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* work on mds-colour and list alternative to hash tableMattias Andrée2015-08-195-12/+574
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2015-08-191-4/+4
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-colour: message parsingMattias Andrée2015-08-191-2/+55
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add strict_ato* for all precise integer types, for size_t, ssize_t, and integer types that have keywordsMattias Andrée2015-08-192-0/+409
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* use CLOCK_MONOTONIC if CLOCK_MONOTONIC_RAW is not definedMattias Andrée2015-08-191-0/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add strict_atoj and strict_atoujMattias Andrée2015-08-192-2/+117
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* put full_send in libmdsserver, clients that only has one socket uses a macro to remove the socket parameterMattias Andrée2015-08-1916-244/+104
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typo + continued work on mds-colourMattias Andrée2015-08-193-2/+155
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>