{"push_id":1282222916,"size":24,"distinct_size":3,"ref":"refs/heads/dev/hashtable1","head":"c6648ffb9bacff325b8e78e398bb41488cd370cd","before":"bae0aac1f62c1c1f392c72c0edd448bbea10b07c","commits":[{"sha":"6e958c70896e05513ee6a6646d977a626a505aea","author":{"name":"gulikoza","email":"8c8582ff4958aa17b76e104dc8388e6e469ac797@users.sourceforge.net"},"message":"Don't call realloc for every block when reading the signature file.\n\nTest results:\n\nrdiff -I 524288 -O 131072 -s delta big_file.sig big_file big_file.delta\n\nlibrsync: loadsig statistics: signature[2099323 blocks, 8192 bytes per block]\n    speed[40.0 MB (0.3 MB/s) in, 0.0 MB (0.0 MB/s) out, 150 sec]\n\nAfter:\n\nrdiff -I 524288 -O 131072 -s delta big_file.sig big_file big_file.delta\n\nlibrsync: loadsig statistics: signature[2099323 blocks, 8192 bytes per block]\n    speed[40.0 MB (40.0 MB/s) in, 0.0 MB (0.0 MB/s) out, 1 sec]","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/6e958c70896e05513ee6a6646d977a626a505aea"},{"sha":"fae32585cfff6526b311cb1e972cdff2abe49b2c","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Tidy rs_weak_sum_t related code.\n\nIn checksum.c make rs_calc_weak_sum() use the implementation in\nrollsum.[hc]. Tidy checksum.h removing now unused RS_CHAR_OFFSET.\n\nIn librsync.h change rs_weak_sum_t from \"unsigned int\" to uint32_t.\n\nIn mksum.c use rs_weak_sum_t instead of \"unsigned int\" as the type of\na calculated weaksum.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/fae32585cfff6526b311cb1e972cdff2abe49b2c"},{"sha":"ab1ebffcadab7fb6fdeae762ceb0ea7783508714","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Tidy rollsum code/tests using indent.\n\nTidied code with the following indent arguments;\n\n$ indent -linux -nut -i4 -l120 -sob --ignore-newlines -T Rollsum","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/ab1ebffcadab7fb6fdeae762ceb0ea7783508714"},{"sha":"af40e85dfd9672261e4eac5ba852b87c7ccd9eec","author":{"name":"Martin Pool","email":"f31fdb465534ee073f37600799ac87d94a7487c4@sourcefrog.net"},"message":"Merge pull request #86 from dbaarda/tidy/rollsum1\n\nTidy `rs_weak_sum_t` related code.\r\n\r\nIn checksum.c make rs_calc_weak_sum() use the implementation in rollsum.[hc]. \r\n\r\nTidy checksum.h removing now unused RS_CHAR_OFFSET.\r\n\r\nIn `librsync.h` change `rs_weak_sum_t` from `unsigned int` to `uint32_t`.\r\n\r\nIn mksum.c use `rs_weak_sum_t` instead of `unsigned int` as the type of a calculated weaksum.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/af40e85dfd9672261e4eac5ba852b87c7ccd9eec"},{"sha":"3591e6ad6c43667a478535adc2319b52ca20a322","author":{"name":"Martin Pool","email":"f31fdb465534ee073f37600799ac87d94a7487c4@sourcefrog.net"},"message":"Merge pull request #85 from dbaarda/opt/rollsum1\n\nOptimize rollsum.c to add char offsets once.\r\n\r\nAdd a rollsum_test.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/3591e6ad6c43667a478535adc2319b52ca20a322"},{"sha":"55d78b86615626b68ee66256cb76ce87fbbeddb7","author":{"name":"Martin Pool","email":"f31fdb465534ee073f37600799ac87d94a7487c4@sourcefrog.net"},"message":"Merge pull request #83 from gulikoza/realloc\n\nDon't call realloc for every block when reading the signature file.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/55d78b86615626b68ee66256cb76ce87fbbeddb7"},{"sha":"5d28d7a0b317f0e509ad2758fd0a596b129ef8ae","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Remove unused rs_signature fields flength and remainder.\n\nRemove flength and remainder fields, moving magic field first and\ncount field just before block_sigs that it is a count of.\n\nChange rs_sumset_dump() to not dump removed fields and instead dump\nthe more useful magic.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/5d28d7a0b317f0e509ad2758fd0a596b129ef8ae"},{"sha":"7651ed8a6007e77fcc91a7c3cab6421078460bc8","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Tidy sumset.h.\n\nTidy up comments and rearrange definitions a bit.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/7651ed8a6007e77fcc91a7c3cab6421078460bc8"},{"sha":"5d0b57cb1413d3100ca57fabde35e48140e91dc5","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Tidy sumset.[hc] using indent.\n\nImprove some comments and tidy by running through indent with;\n\n$ indent -linux -nut -i4 -l120 -sob --ignore-newlines","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/5d0b57cb1413d3100ca57fabde35e48140e91dc5"},{"sha":"216af925495df88f5d193fb1e029822f0ac429e3","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Add rs_realloc() function to util.[ch].\n\nAdd rs_realloc() equivalent to rs_alloc() for realloc or die support.\n\nTidy both util.c and util.h with some minor shuffling and by running;\n\n$ indent -linux -nut -i4 -ppi2 -l120 -sob --ignore-newlines","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/216af925495df88f5d193fb1e029822f0ac429e3"},{"sha":"1528a3b06c0363089b719e0a82cd8ab15cfb818b","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Tidy readsums.c with indent.\n\nTidied by running through indent with;\n\n$ indent -linux -nut -i4 -ppi2 -l120 -sob --ignore-newlines readsums.c","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/1528a3b06c0363089b719e0a82cd8ab15cfb818b"},{"sha":"94c9dcc250df5df8551291da2dc6ddbebedb91c1","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Improve sumset.[ch] and readsums.c code.\n\nIn sumset.[hc] make comments doxygen friendly, and add methods\nrs_block_sig_init(), rs_signature_init(), rs_signature_done(), and\nrs_signature_add_block() to handle the creation, destruction, and\nadding of blocks to rs_signature_t instances.\n\nIn readsums.c update all functions to use methods defined in sumset.h\nfor manipulating the signature.\n\nIn job.h remove estimated_signature_count from rs_job. Its only used\nfor telling rs_signature_init() the initial block_num to allocate, and\ncan be calculated from sig_file_bytes when needed.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/94c9dcc250df5df8551291da2dc6ddbebedb91c1"},{"sha":"b7482f3a4655f4719663573648ec1212ba8329d0","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Tidy mksum.c with indent.\n\nTidied by running through indent with;\n\n$ indent -linux -nut -i4 -ppi2 -l120 -sob --ignore-newlines mksum.c","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/b7482f3a4655f4719663573648ec1212ba8329d0"},{"sha":"b6494962f448bfaa6a60df1e1f52c899023c5e62","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"In mksum.c use rs_signature_init() to validate args.\n\nValidate and set default args used for calculating the sig by using\nrs_signature_init().\n\nFor now this just sets the job attributes and then destroys the\nsignature.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/b6494962f448bfaa6a60df1e1f52c899023c5e62"},{"sha":"961803cee49a73bf00a9769d65aebd86f64ff7f9","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Tidy delta.c with indent.\n\nRun indent over delta.c with;\n\n$ indent -linux -nut -i4 -ppi2 -l120 -sob --ignore-newlines delta.c","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/961803cee49a73bf00a9769d65aebd86f64ff7f9"},{"sha":"b2a050bfe2983ce9b8e40f19540ea2cc81c8e026","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Add rs_signature_calc_strong_sum() and rs_signature_check() methods.\n\nIn mksum.[ch] add rs_signature_calc_strong_sum() method for\ncalculating the strongsum using the right algorithm for the\nsignature's magic.\n\nIn mksum.[ch] add an rs_signature_check() for asserting signatures\nhave valid state. Use rs_signature_check() where approriate for method\npre/post-condition checking.\n\nImprove mksum.c rs_signature_init() checking to include making sure\nstrong_len > 0.\n\nIn search.c use rs_signature_calc_strong_sum() instead of manualy\ndispatching to the right strongsum calculation.\n\nIn mksum.c make rs_sig_begin() allocate a signature, rs_sig_s_header()\ninitialize it, and rs_sig_s_generate() free it on completion, so that\nrs_sig_do_block() can use rs_signature_calc_strong_sum(). This also\nensures that rs_sig_begin() never returns NULL which we fail to check\nfor in places like whole.c, instead the job will return the\nappropriate error status when run.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/b2a050bfe2983ce9b8e40f19540ea2cc81c8e026"},{"sha":"a1f36c3187f7df35b84239196cbfa165e35b4866","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Make rs_delta_begin() use rs_signature_check() and work for slack deltas.\n\nMake rs_delta_begin() work for \"slack deltas\" when passed a NULL\nsignature. With no signature it behaves like the old file was empty\nand produces a delta containing the whole new file.\n\nWhen a signature is provided, use rs_signature_check() instead of all\nthe manual checking. Use an assert to ensure that the hashtable has\nbeen built. Only an invalid client program could provide a bad\nsignature at this point, so assert checking should be sufficient here.\n\nThis also means rs_delta_begin() can no longer fail or return NULL,\nwhich we failed to check for in places like whole.c.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/a1f36c3187f7df35b84239196cbfa165e35b4866"},{"sha":"3eab1e65ca9da14634120496c0ebce0cd3310b59","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Revert \"Tidy delta.c with indent.\"\n\nThis reverts commit 961803cee49a73bf00a9769d65aebd86f64ff7f9.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/3eab1e65ca9da14634120496c0ebce0cd3310b59"},{"sha":"a8e16d5d4ab12bba726ac30c92fd515c7cb4c173","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Revert \"Tidy mksum.c with indent.\"\n\nThis reverts commit b7482f3a4655f4719663573648ec1212ba8329d0.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/a8e16d5d4ab12bba726ac30c92fd515c7cb4c173"},{"sha":"d16b7e2cccdb57d074a2825592874a5f036e3748","author":{"name":"Donovan Baarda","email":"a4b8054e30eef0301a2cbb8e6d5cc8b8eff418b8@minkirri.apana.org.au"},"message":"Revert \"Tidy readsums.c with indent.\"\n\nThis reverts commit 1528a3b06c0363089b719e0a82cd8ab15cfb818b.","distinct":false,"url":"https://api.github.com/repos/dbaarda/librsync/commits/d16b7e2cccdb57d074a2825592874a5f036e3748"}]}
{"actor":{"display_login":"dbaarda"}}