Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Get rid of asprintf and _GNU_SOURCE define | Michael Vetter | 2021-03-30 | 1 | -3/+4 |
| | | | | | | | _GNU_SOURCE was even in some files where it was not needed at all (http*). Let's replace asprintf() with g_strdup_printf(). | ||||
* | Add config.h in files were it was missing | Michael Vetter | 2021-03-26 | 1 | -0/+2 |
| | | | | Related to https://github.com/profanity-im/profanity/issues/1512 | ||||
* | autocomplete: remove duplicate code in search functions | Michael Vetter | 2021-03-11 | 1 | -54/+16 |
| | | | | | | _search_next and _search_prev where exactly the same except taking the nex/prev from the list. Use one function with a direction argument. | ||||
* | autocomplete: Use asprintf don't calculate length twice | Michael Vetter | 2021-03-11 | 1 | -4/+9 |
| | | | | | | | | Through asprintf() we can get rid of malloc() + sprintf(). Also we don't need to calculate the strlen() again since asprintf() returns the bytes printes. Only non UTF-8 characters. But that was true before already. | ||||
* | Remove duplicate code in autocomplete_param* | Michael Vetter | 2021-03-11 | 1 | -29/+22 |
| | | | | | autocomplete_param_with_func and -autocomplete_param_with_ac had lots of duplicate code. | ||||
* | Declare counter var inside loop | Michael Vetter | 2020-11-09 | 1 | -8/+4 |
| | | | | We require c99/gnu99 anyways. | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -66/+67 |
| | |||||
* | Revert "Apply coding style" | Michael Vetter | 2020-07-07 | 1 | -68/+67 |
| | | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems. | ||||
* | Apply coding style | Michael Vetter | 2020-07-07 | 1 | -67/+68 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1396 | ||||
* | Fix memleak in autocomplete_remove_older_than_max* | Michael Vetter | 2020-05-29 | 1 | -0/+1 |
| | |||||
* | urlopen: get last URL first | Michael Vetter | 2020-05-29 | 1 | -7/+22 |
| | | | | Fix https://github.com/profanity-im/profanity/issues/1348 | ||||
* | Only save max 20 urls | Michael Vetter | 2020-05-20 | 1 | -0/+12 |
| | |||||
* | Add context to autocomplete_with_func and use it for omemo trust command | Paul Fariello | 2020-01-31 | 1 | -4/+4 |
| | | | | Fix #1068 | ||||
* | Add vim modeline | Michael Vetter | 2019-11-13 | 1 | -0/+1 |
| | |||||
* | Free strings in autocomplete_param_no_with_func | Michael Vetter | 2019-10-06 | 1 | -0/+7 |
| | | | | Regards https://github.com/profanity-im/profanity/issues/1019 | ||||
* | Always check for directory changes with sendfile auto completion | William Wennerström | 2019-07-20 | 1 | -2/+33 |
| | | | | | | | | | | Instead of only checking for files when 'last_directory' has changed, do it every time. Add autocomplete_update function that updates the items while retaining last_found and search_str. Fixes #1099 | ||||
* | Update copyright to include 2019 | Michael Vetter | 2019-01-22 | 1 | -1/+1 |
| | |||||
* | Update copyright | James Booth | 2018-01-21 | 1 | -1/+1 |
| | |||||
* | Allow previous autocompletion with shift tab | James Booth | 2017-04-01 | 1 | -34/+99 |
| | |||||
* | Add missing header | James Booth | 2017-03-25 | 1 | -0/+1 |
| | |||||
* | Autocomplete accent and case insensitive | James Booth | 2017-03-25 | 1 | -1/+14 |
| | |||||
* | Update Copyright | James Booth | 2017-01-28 | 1 | -1/+1 |
| | |||||
* | Update GPL link in headers | James Booth | 2016-07-24 | 1 | -1/+1 |
| | |||||
* | Store plugin completers by plugin name | James Booth | 2016-07-05 | 1 | -0/+18 |
| | |||||
* | Allow autocomplete for basic compelters when no input | James Booth | 2016-05-24 | 1 | -3/+3 |
| | |||||
* | Updated copyright | James Booth | 2016-02-14 | 1 | -1/+1 |
| | |||||
* | Applied coding style to src/tools/ | James Booth | 2015-10-25 | 1 | -11/+11 |
| | |||||
* | Updated copyright | James Booth | 2015-02-10 | 1 | -1/+1 |
| | |||||
* | Simplified autocompleters and command history | James Booth | 2015-01-16 | 1 | -32/+22 |
| | |||||
* | Check for NULL inside autocomplete_free | James Booth | 2014-09-26 | 1 | -2/+4 |
| | |||||
* | Renamed autocomplete function to get list | James Booth | 2014-09-26 | 1 | -17/+25 |
| | |||||
* | Added autocompletion for jid-multi form fields | James Booth | 2014-09-17 | 1 | -8/+10 |
| | |||||
* | Added autocompletion for form text-multi values | James Booth | 2014-09-17 | 1 | -10/+12 |
| | |||||
* | Added form tests | James Booth | 2014-09-14 | 1 | -4/+6 |
| | |||||
* | Added license exemption for OpenSSL to source headers | James Booth | 2014-08-24 | 1 | -0/+12 |
| | |||||
* | Finished chat room nick autocomplete | James Booth | 2014-07-15 | 1 | -1/+1 |
| | |||||
* | Added quote param to autocomplete_param_with_ac | James Booth | 2014-07-09 | 1 | -2/+2 |
| | |||||
* | Added quote param to autocomplete_complete | James Booth | 2014-07-09 | 1 | -5/+5 |
| | |||||
* | Added quote param to autocomplete searches | James Booth | 2014-07-09 | 1 | -7/+7 |
| | |||||
* | Fixed memleak in autocompleter | James Booth | 2014-06-15 | 1 | -0/+3 |
| | |||||
* | Fixed potential segfaults on autocomplete | James Booth | 2014-05-08 | 1 | -0/+4 |
| | |||||
* | Fixed cppcheck warnings | James Booth | 2014-04-26 | 1 | -12/+10 |
| | |||||
* | Removed strcpy calls | James Booth | 2014-04-02 | 1 | -14/+16 |
| | |||||
* | Updated copyright | James Booth | 2014-03-09 | 1 | -1/+1 |
| | |||||
* | Test message when removing autojoin for non existent bookmark | James Booth | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | Don't allow /alias to overwrite standard command | James Booth | 2014-01-25 | 1 | -0/+15 |
| | |||||
* | Removed unused boolean result from autocomplete add and remove | James Booth | 2013-12-09 | 1 | -6/+6 |
| | |||||
* | Use stack rather than heap for autcomplete_param_with_func | James Booth | 2013-09-23 | 1 | -2/+1 |
| | | | | issue #226 | ||||
* | refactred autocomplete_remove | Dmitry Podgorny | 2013-08-26 | 1 | -19/+10 |
| | |||||
* | refactored autocomplete_add | Dmitry Podgorny | 2013-08-26 | 1 | -33/+10 |
| | | | | Now this function responsible for memory allocation |