| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
The Content-Disposition inferring is probably a bad idea security wise,
so I am going to remove it.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
We require c99/gnu99 anyways.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
`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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
| |
boothj5 gave his okay too.
Fix https://github.com/profanity-im/profanity/issues/1370
|
| |
|
|
|
|
|
|
| |
This reverts commit 9b55f2dec0ea27a9ce4856e303425e12f866cea2.
Sorting the includes creates some problems.
|
|
|
|
| |
Regards https://github.com/profanity-im/profanity/issues/1396
|
|
|
|
|
| |
It just does a free.
Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
|
|
|
|
| |
strdup(3) requires string.h
|
| |
|
|
|
|
| |
Fix https://github.com/profanity-im/profanity/issues/1348
|
| |
|
|
|
|
| |
Regards https://github.com/profanity-im/profanity/issues/1115
|
|
|
|
|
|
| |
`/bookmarl ignore` lists the ignored bookmarks.
Regards https://github.com/profanity-im/profanity/issues/1115
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
```
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
|
|
|
|
|
|
|
|
|
|
| |
```
~/.local/share/profanity % cat bookmark_ignore
[ignore]
profanity@rooms.dismail.de=
```
Regards https://github.com/profanity-im/profanity/issues/1115
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fix #1068
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Use GTK to take the text from the clipboard.
Add `/paste` command which pastes this text now to console window.
|
|
|
|
| |
Regards https://github.com/profanity-im/profanity/issues/1019
|
|
|
|
|
|
| |
Fix memleaks.
Regards https://github.com/profanity-im/profanity/issues/1019
|
|
|
|
| |
Regards https://github.com/profanity-im/profanity/issues/1019
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
And delete from Makefile.am
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|