aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* mds-kbdc: compile-layout: test returnMattias Andrée2014-12-101-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* add xmemdup macroMattias Andrée2014-12-1016-91/+53
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* no more direct allocations, always use macros, unless using allocaMattias Andrée2014-12-1024-144/+151
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* typoMattias Andrée2014-12-101-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: m bug fix + more test casesMattias Andrée2014-12-101-4/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: m + more test casesMattias Andrée2014-12-102-11/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: m bug fixes + more test casesMattias Andrée2014-12-093-8/+8
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-091-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: bug fixes and test casesMattias Andrée2014-12-093-18/+28
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: watch out for incomplete function callsMattias Andrée2014-12-091-0/+6
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: m + compile-layout: bug fixes and test casesMattias Andrée2014-12-091-15/+17
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* merge track-errors and resolve conflictMattias Andrée2014-12-0947-995/+1104
|\ | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * report an error, rather than causing failure the caller but not for the called functionMattias Andrée2014-12-091-0/+9
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * missed to change some partsMattias Andrée2014-12-093-23/+14
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * make sure errno is not changed during fail_ifMattias Andrée2014-12-091-0/+2
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * make exit_if easier on the syntaxMattias Andrée2014-12-092-6/+4
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * make fail_if friendlier to complex if-statementsMattias Andrée2014-12-093-25/+17
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * do no print whence an error occurred if it is EMSGSIZE, ECONNRESET or EINTR, those are not real errors, just abnormalitiesMattias Andrée2014-12-091-3/+9
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * with a few exceptions, never return directly on failure, always goto fail by invoking fail_ifMattias Andrée2014-12-099-90/+93
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * with a few exceptions and some remaining files, never return directly on failure, always goto fail by invoking fail_ifMattias Andrée2014-12-0832-551/+685
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * rename pfail to failMattias Andrée2014-12-0833-135/+135
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * m + make sure we never lose errnoMattias Andrée2014-12-088-30/+31
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * no more goto failMattias Andrée2014-12-0815-110/+98
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * replace all variants of goto pfail with fail_ifMattias Andrée2014-12-082-16/+11
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * replace all goto pfail with fail_if, so that we can take whence it failedMattias Andrée2014-12-0810-45/+33
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
| * whenever fail_if gotos to the failure clause, print whenceMattias Andrée2014-12-081-2/+4
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | mds-kbdc: compile-layout: macro_call: fix bug: do not duplicate the arguments if there are noneMattias Andrée2014-12-091-1/+2
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | mds-kbdc: compile-layout: fix a bug in parse_variableMattias Andrée2014-12-091-1/+1
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | improve with_mutex and with_mutex_if alsoMattias Andrée2014-12-092-11/+23
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | make some macros easiler on the syntaxMattias Andrée2014-12-092-42/+43
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | typoMattias Andrée2014-12-081-2/+2
| | | | | | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* | m docMattias Andrée2014-12-081-4/+4
|/ | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout. bug fixes, test-cases and mark all untested error reportsMattias Andrée2014-12-083-68/+79
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-keyboard: regressionMattias Andrée2014-12-081-4/+9
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: bug fixMattias Andrée2014-12-081-6/+10
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-081-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-081-0/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: more tested and bug fixesMattias Andrée2014-12-081-38/+36
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: simplify mds_kbdc_tree_dupMattias Andrée2014-12-071-38/+36
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: test call to undefined callables and mark the entire macro call if the macro does not existMattias Andrée2014-12-071-0/+7
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: bug fixesMattias Andrée2014-12-072-32/+39
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: bug fixesMattias Andrée2014-12-073-14/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* ... derpMattias Andrée2014-12-071-12/+12
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* m derpMattias Andrée2014-12-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mMattias Andrée2014-12-071-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-keyboard: ,:s in < > are not special when inside quotesMattias Andrée2014-12-071-3/+11
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: support " in < >Mattias Andrée2014-12-071-11/+17
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* mds-kbdc: compile-layout: fix bug in parsing escapesMattias Andrée2014-12-071-2/+2
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>
* fail_if supports sequences without being double bracketedMattias Andrée2014-12-076-53/+53
| | | | Signed-off-by: Mattias Andrée <maandree@operamail.com>