| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
It just does a free.
Related to b580b9ef119045f142fa4baa9689a1c5ce8864ef
|
|\
| |
| | |
Rework /url and /executable for filetypes
|
| | |
|
| |
| |
| |
| |
| |
| | |
Additionally to:
7de83217c4d7bfdb70b77f2baeb8f12d4147d873
1e2a288d80fe0200f1d44d5106f7cc5bfd77718b
|
| |
| |
| |
| | |
not found
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
So far:
```
/executable urlsave html "test %u" results in url.save.cmd[html]=test %u
/executable urlsave * "test %u" results in nothing.
```
Probably due to limitation in .ini file format.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Additionally to ec7e635e752bdfef851fd177596c1d73d97afb42.
In the earlier commit I just setted the test value ignoring the real
format.
Now we correctly transform:
```
[logging]
urlopen.cmd=xdg-open
```
into:
```
[executables]
url.open.cmd=false;xdg-open %u;
```
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
|
| |
| |
| |
| | |
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
c56d530b67d09267eb46cba029217e4b84b32cef by peetah moves:
urlopen.cmd from the 'logging' to a new 'executables' section in profrc
avatar.cmd from the 'logging' to a new 'executables' section in profrc
We need to adapt this so that users don't have to set the setting again
themselves.
|
| |
| |
| |
| |
| | |
f9961677aaa8d2713a80127f95a3770b33af4cef replaces prefs_free_string()
with g_free(). Both is correct but lets still use this.
|
| |
| |
| |
| | |
g_free(NULL); is noop.
|
| |
| |
| |
| | |
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The display of commands associated with specific file
types and protocols will need to be implemented later,
but this requires to use private data of the GKeyFile
structure, which can be a maintainability issue on the
long term.
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
|
| |
| |
| |
| | |
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
/urlopen is replaced by /url with the following sub commands:
/url open <url>
/url save <url> [<path>]
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Where GKeyFile usually use the pref[locale] format to define
locale specific translated data, it is here hijacked to be used
as pref[option] in order to specialize a preference according
to an option:
open.url.cmd[pdf] = pdf-viewer
open.url.cmd[jpg] = image-viewer
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
|
| |
| |
| |
| | |
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
|
| |
| |
| |
| | |
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
|
| | |
|
| | |
|
| |
| |
| |
| | |
Fix https://github.com/profanity-im/profanity/issues/1380
|
| |
| |
| |
| | |
free(NULL) is a noop.
|
| |
| |
| |
| | |
Fix mistake where I overlooked some variables in 1224aa414e56a763412ee33c2b8779d4e6cb1608.
|
| | |
|
| |
| |
| |
| |
| | |
We often had a use case where we want the account specific data dir.
Let's create a function for this instead of doing it by hand each time.
|
| |
| |
| |
| | |
Fixes an issue where messages are displayed as OX when they are not.
|
| |
| |
| |
| |
| | |
Fix for some build cases introduced in 2c94ee5a88f64332a3f41f41a4d314fc52200e31
Fix https://github.com/profanity-im/profanity/issues/1376
|
| | |
|
| |
| |
| |
| | |
Fix 3afd854dc862696c4842b2ed93efcad44d617910
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Basic implementation of XEP-0373: OpenPGP for XMPP.
https://xmpp.org/extensions/xep-0373.html
Command /ox
Issue: #1331
|
| |
| |
| |
| | |
Small mistake introduced in b7f959bab4e8ed13e8b5d638180420e497844a26.
|
| | |
|
|\ \
| |/
|/| |
Clean-up task: clean up feature defines
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fix gcc warnings for cygwin
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
strncpy(3) is not so safe function and can lead to mistakes. For
example, strncpy(dest, "Profanity", 10); is redundant and leads to
problems when someone changes the source string.
Different example is when 3rd argument equals to length of the
destination buffer. strncpy(3) doesn't terminate string with '\0' when
it truncates. Therefore, the destination string becomes corrupted.
Zeroize storage for 'nid', so the last byte remains '\0' in case of
truncate.
|
|\ \
| | |
| | | |
Add missed string.h
|
|/ /
| |
| |
| | |
strdup(3) requires string.h
|
| |
| |
| |
| | |
Regards https://github.com/profanity-im/profanity/issues/1367
|
| | |
|