Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Cleanup: gchar as gchar instead of char | John Hernandez | 2023-05-04 | 1 | -1/+1 |
| | | | | | | | | Use gchar instead of char in most of the cases where gchar is intended. Reason: improve compatibility and stability. Issue #1819 Minor refactoring. | ||||
* | fix memory leak | Steffen Jaeckel | 2023-04-04 | 1 | -9/+8 |
| | | | | | | | | `found` was leaked before This was somehow missed in e9aaba938b4f1b62b5f9018583a82ed7e7180977 Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | Adapt to g_string_free glib 2.75.3 change | Michael Vetter | 2023-03-21 | 1 | -6/+1 |
| | | | | | | | | | | | | glib 2.75.3 changes warning behaviour of `g_string_free()`. See: * https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3219 * https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3226 Use this opportunity to replace the use of GString with `g_strdup_printf()` where possible. Otherwise correctly take the return value of `g_string_free()` which is nicer anyways. | ||||
* | Fix quote and url autocompletion for MAM and history | MarcoPolo-PasTonMolo | 2023-02-13 | 1 | -2/+7 |
| | | | | | | | | After adding MAM quote and url autocompletion wouldn't pick up messages from MAM or history(from DB) or would have them in the wrong order. This commit fixes that. Fixes https://github.com/profanity-im/profanity/issues/1770 | ||||
* | minor changes | Steffen Jaeckel | 2023-01-18 | 1 | -40/+9 |
| | | | | | | | | | | | * fix typo * less code duplication * less `GString` usage * more `auto_gchar` usage * document connecting to servers supporting SASL ANONYMOUS * ignore valgrind output Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de> | ||||
* | Format code correctly | Michael Vetter | 2021-10-05 | 1 | -1/+1 |
| | |||||
* | 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 |
| |