{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":2474121,"defaultBranch":"master","name":"ccan","ownerLogin":"rustyrussell","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2011-09-28T10:02:46.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/775844?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1491201956.0","currentOid":""},"activityList":{"items":[{"before":"624dbca5fe08119b2c339929afaf9351f70bac26","after":"161fe383533c12b95d9117a7ab75b5d3513287b0","ref":"refs/heads/master","pushedAt":"2024-09-06T05:33:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rustyrussell","name":"Rusty Russell","path":"/rustyrussell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/775844?s=80&v=4"},"commit":{"message":"opt: add more user-available bits.\n\nSigned-off-by: Rusty Russell ","shortMessageHtmlLink":"opt: add more user-available bits."}},{"before":"f927e4beeaa63ff5596967012b1a84e0d1cc4c49","after":"624dbca5fe08119b2c339929afaf9351f70bac26","ref":"refs/heads/master","pushedAt":"2024-08-27T04:13:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rustyrussell","name":"Rusty Russell","path":"/rustyrussell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/775844?s=80&v=4"},"commit":{"message":"tcon: fix warning from gcc when tcon_check_ptr arg is constant.\n\ne.g. `&msg`:\n\n```\nsrc/nostrdb.c: In function ‘ndb_ingester_queue_event’:\nccan/ccan/tcon/tcon.h:150:24: error: the address of ‘msg’ will always evaluate as ‘true’ [-Werror=address]\n 150 | (sizeof((expr) ? (expr) : &(x)->_tcon[0].canary) ? (x) : (x))\n | ^\nccan/ccan/tcon/tcon.h:116:30: note: in definition of macro ‘tcon_unwrap’\n 116 | #define tcon_unwrap(ptr) (&((ptr)->_base))\n | ^~~\nsrc/threadpool.h:91:42: note: in expansion of macro ‘tcon_check_ptr’\n 91 | threadpool_dispatch_(tcon_unwrap(tcon_check_ptr((tp), tp_canary, (msg))), (msg))\n | ^~~~~~~~~~~~~~\nsrc/nostrdb.c:4114:16: note: in expansion of macro ‘threadpool_dispatch’\n 4114 | return threadpool_dispatch(&ingester->tp, &msg);\n```\n\nSigned-off-by: Rusty Russell ","shortMessageHtmlLink":"tcon: fix warning from gcc when tcon_check_ptr arg is constant."}},{"before":"d493282092b509fac8e03208744d9d196992e29a","after":"f927e4beeaa63ff5596967012b1a84e0d1cc4c49","ref":"refs/heads/master","pushedAt":"2024-08-17T05:12:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"rustyrussell","name":"Rusty Russell","path":"/rustyrussell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/775844?s=80&v=4"},"commit":{"message":"io/fdpass: don't leak fd if conn closes before we write it.\n\nSigned-off-by: Rusty Russell ","shortMessageHtmlLink":"io/fdpass: don't leak fd if conn closes before we write it."}},{"before":"995e75dd41d24edc41a03b654e035009a86b26fc","after":"d493282092b509fac8e03208744d9d196992e29a","ref":"refs/heads/master","pushedAt":"2024-06-24T02:46:35.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"rustyrussell","name":"Rusty Russell","path":"/rustyrussell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/775844?s=80&v=4"},"commit":{"message":"ccan: call io routines repeatedly until EAGAIN.\n\nBenchmark time halved.\n\n```\nFinished: 68697129usec\n```\n\nperf shows 75% of time in libc_write.\n\nSigned-off-by: Rusty Russell ","shortMessageHtmlLink":"ccan: call io routines repeatedly until EAGAIN."}},{"before":"cd56b18ae87de6981b88abbe52544d8cc9f8aa0e","after":"995e75dd41d24edc41a03b654e035009a86b26fc","ref":"refs/heads/master","pushedAt":"2024-06-03T03:55:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dgibson","name":"David Gibson","path":"/dgibson","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/676485?s=80&v=4"},"commit":{"message":"bitmap: Avoid shadowing type name with parameter name\n\n'bitmap' is a typedef name in this module, and we also use it as a\nparameter name in a bunch of places. Although that's possible, because\ntypes and variables live in different namespaces, it's probably not that\nwise. It also appears to trip warnings with at least some options and\ncompiler versions.\n\nReported-by: Ashok Raj \n\nSigned-off-by: David Gibson ","shortMessageHtmlLink":"bitmap: Avoid shadowing type name with parameter name"}},{"before":"d1eabfd6e29ce24cafda96b3e846773be16dc592","after":"cd56b18ae87de6981b88abbe52544d8cc9f8aa0e","ref":"refs/heads/master","pushedAt":"2023-08-01T02:04:42.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"rustyrussell","name":"Rusty Russell","path":"/rustyrussell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/775844?s=80&v=4"},"commit":{"message":"base64: fix for unsigned chars (e.g. ARM).\n\n```\nccan/ccan/base64/base64.c:34:10: error: result of comparison of constant 255 with expression of type 'int8_t' (aka 'signed char') is always false [-Werror,-Wtautological-constant-out-of-range-compare]\n if (ret == (char)0xff) {\n ~~~ ^ ~~~~~~~~~~\nccan/ccan/base64/base64.c:44:57: error: result of comparison of constant 255 with expression of type 'const signed char' is always true [-Werror,-Wtautological-constant-out-of-range-compare]\n return (maps->decode_map[(const unsigned char)b64char] != (char)0xff);\n ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~\n```\n\nReported-by: Christian Decker\nSigned-off-by: Rusty Russell ","shortMessageHtmlLink":"base64: fix for unsigned chars (e.g. ARM)."}},{"before":"5465da47e3e0f2d09dc34b27cf2f3bc028478df4","after":"d1eabfd6e29ce24cafda96b3e846773be16dc592","ref":"refs/heads/master","pushedAt":"2023-05-30T03:03:40.221Z","pushType":"push","commitsCount":1,"pusher":{"login":"rustyrussell","name":"Rusty Russell","path":"/rustyrussell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/775844?s=80&v=4"},"commit":{"message":"runes: allow underscores in field names, as per Python runes 0.6\n\nSuggested-by: @niftynei\nSigned-off-by: Rusty Russell ","shortMessageHtmlLink":"runes: allow underscores in field names, as per Python runes 0.6"}},{"before":"4c4de2df2c65453b8ca9592ccd21ce1b50f216a7","after":"5465da47e3e0f2d09dc34b27cf2f3bc028478df4","ref":"refs/heads/master","pushedAt":"2023-05-30T02:56:30.677Z","pushType":"push","commitsCount":1,"pusher":{"login":"rustyrussell","name":"Rusty Russell","path":"/rustyrussell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/775844?s=80&v=4"},"commit":{"message":"tal: remove undefined behavior.\n\nIn particular, we were casting between struct prop_hdr ** and char **:\nfixing this properly was quite a rework.\n\nAnd in one case we were using a pre-realloc pointer in tests: though to be\nfair, we tested it for equality. But ubsan got upset anyway.\n\nSigned-off-by: Rusty Russell ","shortMessageHtmlLink":"tal: remove undefined behavior."}},{"before":"7b7e635eecebb595a0c52df2231c91bc5a787dee","after":"4c4de2df2c65453b8ca9592ccd21ce1b50f216a7","ref":"refs/heads/master","pushedAt":"2023-04-27T01:14:58.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"rustyrussell","name":"Rusty Russell","path":"/rustyrussell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/775844?s=80&v=4"},"commit":{"message":"ungraph: new module\n\nSigned-off-by: Rusty Russell ","shortMessageHtmlLink":"ungraph: new module"}},{"before":"ba79e21b94adcaa1eb4b1e3682a470959e352055","after":"7b7e635eecebb595a0c52df2231c91bc5a787dee","ref":"refs/heads/master","pushedAt":"2023-04-27T01:10:38.000Z","pushType":"push","commitsCount":18,"pusher":{"login":"rustyrussell","name":"Rusty Russell","path":"/rustyrussell","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/775844?s=80&v=4"},"commit":{"message":"ungraph: new module\n\nSigned-off-by: Rusty Russell ","shortMessageHtmlLink":"ungraph: new module"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0wNlQwNTozMzoyMC4wMDAwMDBazwAAAASujwll","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0wNlQwNTozMzoyMC4wMDAwMDBazwAAAASujwll","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNC0yN1QwMToxMDozOC4wMDAwMDBazwAAAAMhHFVs"}},"title":"Activity · rustyrussell/ccan"}