-
-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
153 implement a code generator to to automatically create all redis commands scaffolding arguments parsing and commands callbacks #170
153 implement a code generator to to automatically create all redis commands scaffolding arguments parsing and commands callbacks #170
Commits on Jul 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 68a9521 - Browse repository at this point
Copy the full SHA 68a9521View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5c4280 - Browse repository at this point
Copy the full SHA e5c4280View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cdc235 - Browse repository at this point
Copy the full SHA 9cdc235View commit details -
Rename network_protocol_redis in module_redis in preparation to move …
…the code under a modules/redis folder
Configuration menu - View commit details
-
Copy full SHA for b2a0324 - Browse repository at this point
Copy the full SHA b2a0324View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7011710 - Browse repository at this point
Copy the full SHA 7011710View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bd4bbe - Browse repository at this point
Copy the full SHA 9bd4bbeView commit details -
Move the prometheus module under the modules folder and rename all th…
…e related network_protocol_prometheus in module_prometheus
Configuration menu - View commit details
-
Copy full SHA for b085b20 - Browse repository at this point
Copy the full SHA b085b20View commit details -
Configuration menu - View commit details
-
Copy full SHA for db06d30 - Browse repository at this point
Copy the full SHA db06d30View commit details -
Reorganize the configuration to move the modules away from the "netwo…
…rk protocols" as they are not just "protocols"
Configuration menu - View commit details
-
Copy full SHA for 4276938 - Browse repository at this point
Copy the full SHA 4276938View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8518f83 - Browse repository at this point
Copy the full SHA 8518f83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e390e4 - Browse repository at this point
Copy the full SHA 8e390e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cc0796 - Browse repository at this point
Copy the full SHA 7cc0796View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4bacda7 - Browse repository at this point
Copy the full SHA 4bacda7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52d46d3 - Browse repository at this point
Copy the full SHA 52d46d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe7da94 - Browse repository at this point
Copy the full SHA fe7da94View commit details -
Can't support sub arguments of sub arguments for now, drop the authen…
…tication from hello
Configuration menu - View commit details
-
Copy full SHA for 454cf97 - Browse repository at this point
Copy the full SHA 454cf97View commit details -
Import the auto generated headers as needed and add the necessary str…
…ucts to be able to build
Configuration menu - View commit details
-
Copy full SHA for 878e0d4 - Browse repository at this point
Copy the full SHA 878e0d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for f857b50 - Browse repository at this point
Copy the full SHA f857b50View commit details -
Plenty of small fixes to the scaffolding auto generation, add a mecha…
…nism to add a command end callback for the commands that aren't implemented
Configuration menu - View commit details
-
Copy full SHA for c1de375 - Browse repository at this point
Copy the full SHA c1de375View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30b3037 - Browse repository at this point
Copy the full SHA 30b3037View commit details
Commits on Jul 25, 2022
-
Rename modules in module and all the "network_protocol" or "protocol_…
…context" references to use the wording module
Configuration menu - View commit details
-
Copy full SHA for c2ea974 - Browse repository at this point
Copy the full SHA c2ea974View commit details -
Callbacks for the command begin and free have been dropped in favour …
…of generalised implementations
Configuration menu - View commit details
-
Copy full SHA for 060c325 - Browse repository at this point
Copy the full SHA 060c325View commit details -
Fix arguments, sub arguments and context generation and add fields of…
…fset tracking for automatic memory freeing
Configuration menu - View commit details
-
Copy full SHA for e0b2443 - Browse repository at this point
Copy the full SHA e0b2443View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3fb4cd1 - Browse repository at this point
Copy the full SHA 3fb4cd1View commit details
Commits on Jul 28, 2022
-
Refactor the scaffolding generator to spllit module_redis_autogenerat…
…ed_commands_table.h in 3 separated headers with arguments, key_specs and the info_map
Configuration menu - View commit details
-
Copy full SHA for ed52dde - Browse repository at this point
Copy the full SHA ed52ddeView commit details -
Add a component to handle the redis connections (send out ok messages…
…, handle error messages, handle connection termination and so on)
Configuration menu - View commit details
-
Copy full SHA for 88af86e - Browse repository at this point
Copy the full SHA 88af86eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d25d61 - Browse repository at this point
Copy the full SHA 8d25d61View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bec0ec - Browse repository at this point
Copy the full SHA 2bec0ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 73ed14b - Browse repository at this point
Copy the full SHA 73ed14bView commit details
Commits on Jul 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c909277 - Browse repository at this point
Copy the full SHA c909277View commit details -
Drop the generation of the callbacks for argument_stream_begin/data/e…
…nd, argument_full and argument_require_stream
Configuration menu - View commit details
-
Copy full SHA for 8ebbec2 - Browse repository at this point
Copy the full SHA 8ebbec2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 08d6238 - Browse repository at this point
Copy the full SHA 08d6238View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2573a8d - Browse repository at this point
Copy the full SHA 2573a8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 41c9075 - Browse repository at this point
Copy the full SHA 41c9075View commit details -
Correct the argument size calculation, add sub arguments, sub argumen…
…ts count and parent argument, also declare the arguments at the beginning of the header
Configuration menu - View commit details
-
Copy full SHA for ae90641 - Browse repository at this point
Copy the full SHA ae90641View commit details -
Configuration menu - View commit details
-
Copy full SHA for b9fdb12 - Browse repository at this point
Copy the full SHA b9fdb12View commit details -
Fix the command info table generation and add a flag to indicate if t…
…he command has a variable number of arguments
Configuration menu - View commit details
-
Copy full SHA for 5fa66d0 - Browse repository at this point
Copy the full SHA 5fa66d0View commit details -
Refactor the storage db to use sequence of chunks instead of having 2…
… distinct preallocated structs in the entry_index
Configuration menu - View commit details
-
Copy full SHA for 07fe7a6 - Browse repository at this point
Copy the full SHA 07fe7a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66213bb - Browse repository at this point
Copy the full SHA 66213bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2db2d9d - Browse repository at this point
Copy the full SHA 2db2d9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e66900f - Browse repository at this point
Copy the full SHA e66900fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 926c93a - Browse repository at this point
Copy the full SHA 926c93aView commit details -
Restore the callback to free the command context as the auto generate…
…d code now invokes the ad-hoc function to free up the context of the command
Configuration menu - View commit details
-
Copy full SHA for 254f2bd - Browse repository at this point
Copy the full SHA 254f2bdView commit details -
Drop the unused callbacks and update the command info struct to match…
… the updated autogenerated command table
Configuration menu - View commit details
-
Copy full SHA for b62e8e7 - Browse repository at this point
Copy the full SHA b62e8e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c867b80 - Browse repository at this point
Copy the full SHA c867b80View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3068962 - Browse repository at this point
Copy the full SHA 3068962View commit details -
Always fill up the command argument parser context with zeros when th…
…e connection context is resetted
Configuration menu - View commit details
-
Copy full SHA for 3318586 - Browse repository at this point
Copy the full SHA 3318586View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0767f1b - Browse repository at this point
Copy the full SHA 0767f1bView commit details -
Introduction of a function to build a token map, temporary, the map h…
…as to be auto generated
Configuration menu - View commit details
-
Copy full SHA for 44f6228 - Browse repository at this point
Copy the full SHA 44f6228View commit details -
Configuration menu - View commit details
-
Copy full SHA for c24f182 - Browse repository at this point
Copy the full SHA c24f182View commit details -
Configuration menu - View commit details
-
Copy full SHA for 975552a - Browse repository at this point
Copy the full SHA 975552aView commit details -
Pass the storage db onto the connection context, drop the callbacks f…
…or argument stream begin/data/end argument full and argument require stream in favour of the stubs in module_redis_command, cleanup the code that cleans up the connection context after a failure, plus minor things
Configuration menu - View commit details
-
Copy full SHA for baa5b3c - Browse repository at this point
Copy the full SHA baa5b3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 91eb61c - Browse repository at this point
Copy the full SHA 91eb61cView commit details -
Update commands to include the amount of required arguments, if they …
…have a variable amount of arguments and the structure of the hello command
Configuration menu - View commit details
-
Copy full SHA for dc31ec2 - Browse repository at this point
Copy the full SHA dc31ec2View commit details
Commits on Aug 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for ff40ab5 - Browse repository at this point
Copy the full SHA ff40ab5View commit details -
Drop the key specs as they are unused but keep in the json as took qu…
…ite some time to put it together
Configuration menu - View commit details
-
Copy full SHA for 4b13e75 - Browse repository at this point
Copy the full SHA 4b13e75View commit details -
Fix a bug in the slab allocator mem realloc which was preventing the …
…memory from being properly zeroed
Configuration menu - View commit details
-
Copy full SHA for c1ba87e - Browse repository at this point
Copy the full SHA c1ba87eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b084e59 - Browse repository at this point
Copy the full SHA b084e59View commit details -
Reorganize module_redis_command_info to optimize memory consumption a…
…nd drop the length field as it's a duplicate of string_len
Configuration menu - View commit details
-
Copy full SHA for 7c7619f - Browse repository at this point
Copy the full SHA 7c7619fView commit details -
Fix the argument processing flow, argument being has to be called bef…
…ore argument require stream
Configuration menu - View commit details
-
Copy full SHA for e18a9cd - Browse repository at this point
Copy the full SHA e18a9cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b62bc83 - Browse repository at this point
Copy the full SHA b62bc83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 103133f - Browse repository at this point
Copy the full SHA 103133fView commit details -
Configuration menu - View commit details
-
Copy full SHA for f418a92 - Browse repository at this point
Copy the full SHA f418a92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 739c90b - Browse repository at this point
Copy the full SHA 739c90bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7845f0f - Browse repository at this point
Copy the full SHA 7845f0fView commit details -
Add support for long & short strings, differentiate in commands.json …
…for optimizations
Configuration menu - View commit details
-
Copy full SHA for 85bc6d7 - Browse repository at this point
Copy the full SHA 85bc6d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0745df1 - Browse repository at this point
Copy the full SHA 0745df1View commit details
Commits on Aug 11, 2022
-
Rename the benchmarks and the tests for the multi producer multi cons…
…umer hashtable in test/bench=hashtable-mpmc-*
Configuration menu - View commit details
-
Copy full SHA for 4fff9dd - Browse repository at this point
Copy the full SHA 4fff9ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6236f90 - Browse repository at this point
Copy the full SHA 6236f90View commit details -
Implement a new hashtable single producer single consumer used intern…
…ally for caching or small sets of data
Configuration menu - View commit details
-
Copy full SHA for 3094efe - Browse repository at this point
Copy the full SHA 3094efeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 99431d3 - Browse repository at this point
Copy the full SHA 99431d3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 346d380 - Browse repository at this point
Copy the full SHA 346d380View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e04b3e - Browse repository at this point
Copy the full SHA 7e04b3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d395282 - Browse repository at this point
Copy the full SHA d395282View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c7d9ce - Browse repository at this point
Copy the full SHA 9c7d9ceView commit details -
Update the configuration documentation after the massive reorganisati…
…on of network protocols to modules
Configuration menu - View commit details
-
Copy full SHA for ddb3074 - Browse repository at this point
Copy the full SHA ddb3074View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d87974 - Browse repository at this point
Copy the full SHA 1d87974View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81a6bb1 - Browse repository at this point
Copy the full SHA 81a6bb1View commit details -
No reason to generate "values" for bool arguments because they are al…
…ways paired with the tokens
Configuration menu - View commit details
-
Copy full SHA for 406d186 - Browse repository at this point
Copy the full SHA 406d186View commit details -
Configuration menu - View commit details
-
Copy full SHA for 64b6c3c - Browse repository at this point
Copy the full SHA 64b6c3cView commit details
Commits on Aug 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 4104553 - Browse repository at this point
Copy the full SHA 4104553View commit details -
Configuration menu - View commit details
-
Copy full SHA for 050b1bf - Browse repository at this point
Copy the full SHA 050b1bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a43ebf8 - Browse repository at this point
Copy the full SHA a43ebf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dc362d - Browse repository at this point
Copy the full SHA 7dc362dView commit details -
Refactor the hashtable spsc to make it more testable, also add hashta…
…ble_spsc_op_iter and keys cleanup if new flag free_keys_on_deallocation is set
Configuration menu - View commit details
-
Copy full SHA for c432aba - Browse repository at this point
Copy the full SHA c432abaView commit details -
Add a new component to pre-generation at the start of some data for t…
…he commands and commands arguments tokens handling to avoid making the scaffolding generator even more complex
Configuration menu - View commit details
-
Copy full SHA for cb1f956 - Browse repository at this point
Copy the full SHA cb1f956View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ed41c9 - Browse repository at this point
Copy the full SHA 2ed41c9View commit details -
Remove the token found from token entry and get the live value from t…
…he command context, the token entries are now pre-generated and shared
Configuration menu - View commit details
-
Copy full SHA for b1251f0 - Browse repository at this point
Copy the full SHA b1251f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for c873199 - Browse repository at this point
Copy the full SHA c873199View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a6f7a8 - Browse repository at this point
Copy the full SHA 4a6f7a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2baf697 - Browse repository at this point
Copy the full SHA 2baf697View commit details -
Merge branch 'main' into 153-implement-a-code-generator-to-to-automat…
…ically-create-all-redis-commands-scaffolding-arguments-parsing-and-commands-callbacks
Configuration menu - View commit details
-
Copy full SHA for 42b6579 - Browse repository at this point
Copy the full SHA 42b6579View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d6043b - Browse repository at this point
Copy the full SHA 2d6043bView commit details
Commits on Aug 14, 2022
-
If the command parser returns false the connection needs to be aborte…
…d (invalid received data or no memory), no reason to send a message
Configuration menu - View commit details
-
Copy full SHA for 9645363 - Browse repository at this point
Copy the full SHA 9645363View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0d0364 - Browse repository at this point
Copy the full SHA a0d0364View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90cbd85 - Browse repository at this point
Copy the full SHA 90cbd85View commit details -
If an error message is set, no failure should be reported as if it's …
…necessary an assert will kick in a few lines before the free
Configuration menu - View commit details
-
Copy full SHA for 5bb1b08 - Browse repository at this point
Copy the full SHA 5bb1b08View commit details -
To make the code more readable, avoid that the nested command argumen…
…t parser functions emit errors, instead emit the errors only in the main functions
Configuration menu - View commit details
-
Copy full SHA for b062d91 - Browse repository at this point
Copy the full SHA b062d91View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5b427a - Browse repository at this point
Copy the full SHA e5b427aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 402f9ff - Browse repository at this point
Copy the full SHA 402f9ffView commit details -
In argument end, if a ONEOF argument type is supposed to be expected …
…set it to null, these kind of arguments can only have tokens
Configuration menu - View commit details
-
Copy full SHA for 8edd4a6 - Browse repository at this point
Copy the full SHA 8edd4a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a9fab6 - Browse repository at this point
Copy the full SHA 7a9fab6View commit details -
Fix tests to work with the new automated parser (different error mess…
…ages, no need to test the key length per command anymore, etc.)
Configuration menu - View commit details
-
Copy full SHA for 5398d36 - Browse repository at this point
Copy the full SHA 5398d36View commit details -
Fix LGTM alerts and ensure that the module_redis_connection_error_mes…
…sage_printf_(non)critical functions are checked with the printf arguments validation
Configuration menu - View commit details
-
Copy full SHA for 9a72133 - Browse repository at this point
Copy the full SHA 9a72133View commit details -
Configuration menu - View commit details
-
Copy full SHA for 745bdaa - Browse repository at this point
Copy the full SHA 745bdaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for cc96f4b - Browse repository at this point
Copy the full SHA cc96f4bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 72f548d - Browse repository at this point
Copy the full SHA 72f548dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c5417ae - Browse repository at this point
Copy the full SHA c5417aeView commit details
Commits on Aug 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 8110106 - Browse repository at this point
Copy the full SHA 8110106View commit details -
Configuration menu - View commit details
-
Copy full SHA for e73c983 - Browse repository at this point
Copy the full SHA e73c983View commit details -
Configuration menu - View commit details
-
Copy full SHA for 117eed5 - Browse repository at this point
Copy the full SHA 117eed5View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1b039f - Browse repository at this point
Copy the full SHA d1b039fView commit details -
Add a test to validate the key length when it's non positional (e.g. …
…as part of a token)
Configuration menu - View commit details
-
Copy full SHA for 7c82e64 - Browse repository at this point
Copy the full SHA 7c82e64View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5521368 - Browse repository at this point
Copy the full SHA 5521368View commit details