about summary refs log tree commit diff stats
path: root/src/plugins/callbacks.c
Commit message (Collapse)AuthorAgeFilesLines
* src/plugins/callbacks.c: drop redundant NULL pointer checkSergei Trofimovich2021-11-181-1/+1
| | | | | | | | | | | | | | | gcc-12 detects redundant check against array of arrays as: src/plugins/callbacks.c: In function ‘_free_command_help’: src/plugins/callbacks.c:85:26: error: the comparison will always evaluate as ‘true’ for the address of ‘args’ will never be NULL [-Werror=address] 85 | while (help->args[i] != NULL && help->args[i][0] != NULL) { | ^~ In file included from ./src/ui/ui.h:44, from ./src/command/cmd_defs.h:42, from src/plugins/callbacks.c:41: ./src/command/cmd_funcs.h:48:12: note: ‘args’ declared here 48 | gchar* args[128][2]; | ^~~~
* Add config.h in files were it was missingMichael Vetter2021-03-261-0/+2
| | | | Related to https://github.com/profanity-im/profanity/issues/1512
* Apply coding styleMichael Vetter2020-07-071-59/+59
|
* Revert "Apply coding style"Michael Vetter2020-07-071-61/+61
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-071-61/+61
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Add vim modelineMichael Vetter2019-11-131-0/+1
|
* Add comment about dead assignment in callback_add_timedMichael Vetter2019-08-231-0/+1
|
* Update copyright to include 2019Michael Vetter2019-01-221-1/+1
|
* Update copyrightJames Booth2018-01-211-1/+1
|
* Update CopyrightJames Booth2017-01-281-1/+1
|
* Remove hash table replace entry when adding plugin timed callbacksJames Booth2016-10-091-2/+0
| | | | fixes #869
* Fix memory leaksJames Booth2016-07-251-0/+1
|
* Tidy headersJames Booth2016-07-241-2/+1
|
* Moved window_list.cJames Booth2016-07-241-1/+1
|
* Merge branch 'master' into python3James Booth2016-07-241-1/+1
|\ | | | | | | | | Conflicts: .gitignore
| * Update GPL link in headersJames Booth2016-07-241-1/+1
| |
* | Check for win callback hash before removingJames Booth2016-07-211-6/+8
|/
* Remove plugin window on /closeJames Booth2016-07-121-0/+10
|
* Check for plugin win before creatingJames Booth2016-07-121-0/+14
|
* Plugin unload remove cmd_acs and close windowJames Booth2016-07-051-1/+24
|
* Revert "Move adding plugins commands to autocompleters"James Booth2016-07-051-0/+3
| | | | This reverts commit 97f79970252a06a1583ca1e1c8b22111720ddf94.
* Move adding plugins commands to autocompletersJames Booth2016-07-051-3/+0
|
* Pass plugin name to all autocompleter functionsJames Booth2016-07-041-0/+1
|
* Remove plugin callbacks in plugin_destroy functionsJames Booth2016-07-041-1/+8
|
* Store plugin window callbacks by plugin nameJames Booth2016-07-041-4/+31
|
* Use hash table for plugin timed functionsJames Booth2016-07-041-21/+49
|
* Free plugins commands on quitJames Booth2016-07-041-18/+107
|
* Rename callback execte and destroy functionsJames Booth2016-07-031-4/+4
|
* Revert "WIP - Unload plugin commands"James Booth2016-06-301-34/+0
| | | | This reverts commit a01eb5d08e1b39d60a6f8fc26e5a87ceb92ec18f.
* WIP - Unload plugin commandsJames Booth2016-06-291-0/+34
|
* Rename command sourcesJames Booth2016-05-221-2/+2
|
* Add cmd_autocomplete.cJames Booth2016-05-201-3/+3
|
* Added missing include in callbacks.cJames Booth2016-03-311-0/+1
|
* Parse plugin args with freetext parserJames Booth2016-03-151-1/+1
| | | | Also allow adding to plugin autocompleters
* Plugins: Added callbacks init and close functionsJames Booth2016-03-071-4/+21
| | | | Included destroy function in PluginWindowCallback
* Integrated plugins with /help commandJames Booth2016-02-181-0/+15
|
* Added cmd_help_autocomplete_addJames Booth2016-02-181-0/+2
|
* Added new help format to c plugins WIPJames Booth2016-02-181-1/+17
|
* Fix plugin command memleakJames Booth2016-02-151-1/+2
|
* Updated copyrightJames Booth2016-02-141-1/+1
|
* Added C plugin code from plugins branchJames Booth2016-02-141-0/+126