about summary refs log tree commit diff stats
path: root/src/tools
Commit message (Collapse)AuthorAgeFilesLines
...
* Add http_download toolWilliam Wennerström2020-11-163-1/+287
|
* Add guards for OMEMOWilliam Wennerström2020-11-161-1/+3
|
* Move setup for AESGCM to omemo/cryptoWilliam Wennerström2020-11-161-0/+2
|
* Reformat HTTP get URL to AESGCM schemeWilliam Wennerström2020-11-162-30/+69
|
* Refactor to use file streamWilliam Wennerström2020-11-162-24/+17
|
* Initial /sendfile OMEMO encryptionWilliam Wennerström2020-11-162-15/+15
|
* Declare counter var inside loopMichael Vetter2020-11-092-19/+10
| | | | We require c99/gnu99 anyways.
* parser.c: Use glibMichael Vetter2020-07-231-4/+4
| | | | | | | | We use malloc() to allcoate memory for the arguments. But later on in cmd_funcs.c we use g_strfreev() to free it. Let's use g_malloc() to allocate instead. Second change is to use g_malloc() and g_free() for a gchar.
* Fix /correct quotation marks usageMichael Vetter2020-07-232-0/+28
| | | | | | | Add new `parse_args_as_one()` function to just use everything after the command as the argument. Fix https://github.com/profanity-im/profanity/issues/1404
* parser.c: Use helper function to reduce duplicate codeMichael Vetter2020-07-211-143/+50
| | | | | | | | | | `parse_args()` and `parse_args_with_freetext()` shared a lot of common code. Let's have a helper function `_parse_args_helper()` for that. The `with_freetext` parameter will make it behave like `parse_args_with_freetext()`. In preparation for https://github.com/profanity-im/profanity/issues/1404
* parse_args(): Call g_free() onceMichael Vetter2020-07-211-3/+2
|
* Use parse_args_with_freetext() for `/correct`Michael Vetter2020-07-201-2/+2
| | | | | | | | | | | | | This commit partly reverts 8f37afcd37ad8663ca36c13ca7fbc4a431119f73 Which was using a wrong approach to achieve this. It changed parse_args() to have a -1 for infinite parameters. But actually parse_args_with_freetext() should have been used exactly for this behaviour. Discovered when checking for https://github.com/profanity-im/profanity/issues/1404
* bookmark_ignore.c: use gchar instead of charMichael Vetter2020-07-201-7/+7
|
* Fix typo in commentMichael Vetter2020-07-151-1/+1
|
* Remove `/tiny` commandMichael Vetter2020-07-102-144/+0
| | | | | | boothj5 gave his okay too. Fix https://github.com/profanity-im/profanity/issues/1370
* Apply coding styleMichael Vetter2020-07-0712-225/+227
|
* Revert "Apply coding style"Michael Vetter2020-07-0712-240/+238
| | | | | | This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2. Sorting the includes creates some problems.
* Apply coding styleMichael Vetter2020-07-0712-238/+240
| | | | Regards https://github.com/profanity-im/profanity/issues/1396
* Remove prefs_free_string()Michael Vetter2020-07-021-1/+1
| | | | | It just does a free. Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
* Add missed string.hDmitry Podgorny2020-06-241-0/+1
| | | | strdup(3) requires string.h
* Fix memleak in autocomplete_remove_older_than_max*Michael Vetter2020-05-291-0/+1
|
* urlopen: get last URL firstMichael Vetter2020-05-292-8/+24
| | | | Fix https://github.com/profanity-im/profanity/issues/1348
* Save bookmark ignore listMichael Vetter2020-05-251-0/+18
|
* Add bookmark ignore add|removeMichael Vetter2020-05-242-0/+14
| | | | Regards https://github.com/profanity-im/profanity/issues/1115
* List ignored bookmarksMichael Vetter2020-05-242-0/+7
| | | | | | `/bookmarl ignore` lists the ignored bookmarks. Regards https://github.com/profanity-im/profanity/issues/1115
* Add bookmark ignore functionality for multiple accountsMichael Vetter2020-05-242-23/+26
| | | | | | | | | | | | | ``` cat ~/.local/share/profanity/bookmark_ignore [jubalh@iodoru.org] profanity@rooms.dismail.de=true [testuser@domain.org] testr@rooms.domain.org=true ``` Regards https://github.com/profanity-im/profanity/issues/1115
* PoC for bookmark ignoreMichael Vetter2020-05-242-0/+127
| | | | | | | | | | ``` ~/.local/share/profanity % cat bookmark_ignore [ignore] profanity@rooms.dismail.de= ``` Regards https://github.com/profanity-im/profanity/issues/1115
* Only save max 20 urlsMichael Vetter2020-05-202-0/+14
|
* Don't expose upload_processesMichael Vetter2020-04-172-2/+24
| | | | | | | | That's actually not good practise. Realized this when checking for multiple symbol definition in issue mentioned below. Regards https://github.com/profanity-im/profanity/issues/1314
* xep-0308: Make /correct work without quotation marksMichael Vetter2020-02-141-2/+2
| | | | | | Now we can specify an unlimited amount of arguments for commands. Maybe this is also helpful for other commands that use quotation marks so far.
* Add context to autocomplete_with_func and use it for omemo trust commandPaul Fariello2020-01-312-7/+7
| | | | Fix #1068
* Update my Copyright to 2020Michael Vetter2020-01-032-2/+2
|
* Add vim modelineMichael Vetter2019-11-1310-0/+10
|
* Dont use clipboard_init yetMichael Vetter2019-10-292-1/+4
| | | | | | For now we initialize gtk in tray_init(). Should maybe use a general function and check in tray_init and clipboard_init whether gtk was already initialized.
* Add clipboard featureMichael Vetter2019-10-292-0/+108
| | | | | Use GTK to take the text from the clipboard. Add `/paste` command which pastes this text now to console window.
* Free strings in autocomplete_param_no_with_funcMichael Vetter2019-10-061-0/+7
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Free list in error case in parse_optionsMichael Vetter2019-10-061-0/+3
| | | | | | Fix memleaks. Regards https://github.com/profanity-im/profanity/issues/1019
* Fix memleak in get_start()Michael Vetter2019-10-061-0/+1
| | | | Regards https://github.com/profanity-im/profanity/issues/1019
* Always check for directory changes with sendfile auto completionWilliam Wennerström2019-07-202-2/+34
| | | | | | | | | | 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 2019Michael Vetter2019-01-228-8/+8
|
* Remove p_sha1 source filesMichael Vetter2018-09-052-434/+0
| | | | And delete from Makefile.am
* Update copyrightJames Booth2018-01-218-8/+8
|
* Allow previous autocompletion with shift tabJames Booth2017-04-012-40/+105
|
* Add missing headerJames Booth2017-03-251-0/+1
|
* Autocomplete accent and case insensitiveJames Booth2017-03-251-1/+14
|
* Allow installing plugins from directoryJames Booth2017-02-052-8/+1
|
* Update CopyrightJames Booth2017-01-288-8/+8
|
* Remove unused functionJames Booth2016-11-241-1/+0
|
* Add win_print_http_uploadJames Booth2016-10-111-1/+1
|
* Add config.h to http_upload.cJames Booth2016-10-021-0/+2
|