<feed xmlns='http://www.w3.org/2005/Atom'>
<title>profani-tty/src/tools, branch main</title>
<subtitle>Profanity fork with TTY improvements
</subtitle>
<id>https://git.tilde.institute/danisanti/profani-tty/atom?h=main</id>
<link rel='self' href='https://git.tilde.institute/danisanti/profani-tty/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/danisanti/profani-tty/'/>
<updated>2023-07-01T09:06:43Z</updated>
<entry>
<title>Profani-tty has reborn</title>
<updated>2023-07-01T09:06:43Z</updated>
<author>
<name>Daniel Santos</name>
<email>dacs.git@brilhante.top</email>
</author>
<published>2023-04-11T18:40:34Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/danisanti/profani-tty/commit/?id=a4ca6291afe1e407b72b2ec03bffc595946071f3'/>
<id>urn:sha1:a4ca6291afe1e407b72b2ec03bffc595946071f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #1842 from H3rnand3zzz/feature/plugins-download</title>
<updated>2023-06-06T16:35:18Z</updated>
<author>
<name>Michael Vetter</name>
<email>jubalh@iodoru.org</email>
</author>
<published>2023-06-06T16:35:18Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/danisanti/profani-tty/commit/?id=6247c28e3116d85efce0f6e39552241d6de80966'/>
<id>urn:sha1:6247c28e3116d85efce0f6e39552241d6de80966</id>
<content type='text'>
New Feature: Plugins Download</content>
</entry>
<entry>
<title>Add url support (downloading) to `/plugins install`</title>
<updated>2023-05-16T13:57:07Z</updated>
<author>
<name>John Hernandez</name>
<email>129467592+H3rnand3zzz@users.noreply.github.com</email>
</author>
<published>2023-04-19T12:19:47Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/danisanti/profani-tty/commit/?id=95e06ad16955f3b49c117cc6f2d53bf4da747154'/>
<id>urn:sha1:95e06ad16955f3b49c117cc6f2d53bf4da747154</id>
<content type='text'>
Additional changes include code refactoring.
</content>
</entry>
<entry>
<title>Fix memleaks &amp; more auto-free</title>
<updated>2023-05-12T06:39:20Z</updated>
<author>
<name>Steffen Jaeckel</name>
<email>jaeckel-floss@eyet-services.de</email>
</author>
<published>2023-05-11T09:11:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/danisanti/profani-tty/commit/?id=12d76e4a214c392e6e3daa5fd9bcf816addf8746'/>
<id>urn:sha1:12d76e4a214c392e6e3daa5fd9bcf816addf8746</id>
<content type='text'>
`data_dir` would have been leaked if directory creation failed.

`editor_argv` was leaked at some point, no idea why.

```
==1244734== 118 (32 direct, 86 indirect) bytes in 1 blocks are definitely lost in loss record 6,299 of 7,824
==1244734==    at 0x4846CC3: realloc (vg_replace_malloc.c:1451)
==1244734==    by 0x5E85AD0: g_realloc (in /usr/lib/libglib-2.0.so.0.7600.1)
==1244734==    by 0x5E4A004: ??? (in /usr/lib/libglib-2.0.so.0.7600.1)
==1244734==    by 0x5E4A7B1: g_ptr_array_add (in /usr/lib/libglib-2.0.so.0.7600.1)
==1244734==    by 0x5EA4235: g_strsplit (in /usr/lib/libglib-2.0.so.0.7600.1)
==1244734==    by 0x1F143C: get_message_from_editor (editor.c:92)
==1244734==    by 0x193F6B: _inp_rl_send_to_editor (inputwin.c:950)
==1244734==    by 0x614642F: _rl_dispatch_subseq (readline.c:916)
==1244734==    by 0x6146C85: _rl_dispatch_callback (readline.c:823)
==1244734==    by 0x616739F: rl_callback_read_char (callback.c:241)
==1244734==    by 0x1923DB: inp_readline (inputwin.c:188)
==1244734==    by 0x149860: prof_run (profanity.c:117)
==1244734==    by 0x2283E8: main (main.c:186)
```

Signed-off-by: Steffen Jaeckel &lt;jaeckel-floss@eyet-services.de&gt;
</content>
</entry>
<entry>
<title>Cleanup: gchar as gchar instead of char</title>
<updated>2023-05-04T14:15:09Z</updated>
<author>
<name>John Hernandez</name>
<email>129467592+H3rnand3zzz@users.noreply.github.com</email>
</author>
<published>2023-04-19T00:44:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/danisanti/profani-tty/commit/?id=7f3fca2bd081a729d425184f7a0484025862257e'/>
<id>urn:sha1:7f3fca2bd081a729d425184f7a0484025862257e</id>
<content type='text'>
Use gchar instead of char in most of the cases where gchar is intended.

Reason: improve compatibility and stability. Issue #1819

Minor refactoring.
</content>
</entry>
<entry>
<title>fix memory leak</title>
<updated>2023-04-04T08:58:52Z</updated>
<author>
<name>Steffen Jaeckel</name>
<email>jaeckel-floss@eyet-services.de</email>
</author>
<published>2023-03-31T10:30:12Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/danisanti/profani-tty/commit/?id=af6f468cb738ec77dc2cac82d5c91b5847279346'/>
<id>urn:sha1:af6f468cb738ec77dc2cac82d5c91b5847279346</id>
<content type='text'>
`found` was leaked before

This was somehow missed in e9aaba938b4f1b62b5f9018583a82ed7e7180977

Signed-off-by: Steffen Jaeckel &lt;jaeckel-floss@eyet-services.de&gt;
</content>
</entry>
<entry>
<title>Editor executable support flags</title>
<updated>2023-03-30T20:44:26Z</updated>
<author>
<name>Daniel Santos</name>
<email>dacs.git@brilhante.top</email>
</author>
<published>2023-03-30T20:44:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/danisanti/profani-tty/commit/?id=007f623ad8fc8de7a65bff82a603b853ad5b445f'/>
<id>urn:sha1:007f623ad8fc8de7a65bff82a603b853ad5b445f</id>
<content type='text'>
 * Make editor executable into a string to be able to support
   (multiple) flags.
 * Change /help executable to suit this new feature

Signed-off-by: Daniel Santos &lt;dacs.git@brilhante.top&gt;
</content>
</entry>
<entry>
<title>Adapt to g_string_free glib 2.75.3 change</title>
<updated>2023-03-21T09:53:10Z</updated>
<author>
<name>Michael Vetter</name>
<email>jubalh@iodoru.org</email>
</author>
<published>2023-03-17T22:58:33Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/danisanti/profani-tty/commit/?id=e59c401c840f379e64945734969db03b0e55ef22'/>
<id>urn:sha1:e59c401c840f379e64945734969db03b0e55ef22</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Fix duplicate download IDs.</title>
<updated>2023-03-09T22:02:26Z</updated>
<author>
<name>IsaacM88</name>
<email>izack23@gmail.com</email>
</author>
<published>2023-03-09T20:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/danisanti/profani-tty/commit/?id=d043d53948284ab7d1f3ae92c891703033cc98b1'/>
<id>urn:sha1:d043d53948284ab7d1f3ae92c891703033cc98b1</id>
<content type='text'>
Fixes https://github.com/profanity-im/profanity/issues/1794

Explanation
The problem is the download's identifier. Downloads are given an ID so they can be referenced later when their progress changes. Currently, the download's ID is the download's URL. When you download the same file twice, you have two downloads with the same ID. Download progress updates are shown on the first of both downloads with the same ID.

Solution
Change the download's ID from its URL to a random number. A random ID is generated when get_random_string() is called from cmd_funcs.c. Several other functions are updated to cope with the new ID format.
</content>
</entry>
<entry>
<title>Fix quote and url autocompletion for MAM and history</title>
<updated>2023-02-13T21:40:58Z</updated>
<author>
<name>MarcoPolo-PasTonMolo</name>
<email>marcopolopastonmolo@protonmail.com</email>
</author>
<published>2023-02-13T21:40:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tilde.institute/danisanti/profani-tty/commit/?id=6d266984a4729f09eda42027d6781d26eb198d25'/>
<id>urn:sha1:6d266984a4729f09eda42027d6781d26eb198d25</id>
<content type='text'>
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
</content>
</entry>
</feed>
