<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ghostty.git/src/os/flatpak.zig, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/'/>
<entry>
<title>flatpak: free GError after use</title>
<updated>2025-06-07T19:34:55+00:00</updated>
<author>
<name>Leorize</name>
<email>leorize+oss@disroot.org</email>
</author>
<published>2025-06-07T18:26:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=53c2874667f234e7dd054aeca81e8a469b050359'/>
<id>53c2874667f234e7dd054aeca81e8a469b050359</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>flatpak: detach process tracking thread after spawn</title>
<updated>2025-06-07T19:34:39+00:00</updated>
<author>
<name>Leorize</name>
<email>leorize+oss@disroot.org</email>
</author>
<published>2025-06-07T17:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=42bafe9d599799e47cd11a421282bfb4a40a6af6'/>
<id>42bafe9d599799e47cd11a421282bfb4a40a6af6</id>
<content type='text'>
This makes sure the underlying thread implementation know to free
resources the moment the thread is no longer necessary, preventing leaks
from not manually collecting the thread.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes sure the underlying thread implementation know to free
resources the moment the thread is no longer necessary, preventing leaks
from not manually collecting the thread.
</pre>
</div>
</content>
</entry>
<entry>
<title>core: fixup callconv(.C) -&gt; callconv(.c)</title>
<updated>2025-05-07T13:41:09+00:00</updated>
<author>
<name>Jeffrey C. Ollie</name>
<email>jeff@ocjtech.us</email>
</author>
<published>2025-05-07T13:41:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=e8c845b758d08572ce8f4d7e5312a6abe2f7ffb9'/>
<id>e8c845b758d08572ce8f4d7e5312a6abe2f7ffb9</id>
<content type='text'>
https://ziglang.org/download/0.14.0/release-notes.html#Calling-Convention-Enhancements-and-setAlignStack-Replaced
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://ziglang.org/download/0.14.0/release-notes.html#Calling-Convention-Enhancements-and-setAlignStack-Replaced
</pre>
</div>
</content>
</entry>
<entry>
<title>termio, flatpak: implement process watcher with xev</title>
<updated>2025-03-15T14:29:13+00:00</updated>
<author>
<name>Leorize</name>
<email>leorize+oss@disroot.org</email>
</author>
<published>2025-03-10T05:37:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=009b53c45e04d4dae89479418099d9eb317d15e0'/>
<id>009b53c45e04d4dae89479418099d9eb317d15e0</id>
<content type='text'>
This allows `termio.Exec` to track processes spawned via
`FlatpakHostCommand`, finally allowing Ghostty to function as a
Flatpak.

Alongside this is a few bug fixes:

* Don't add ghostty to PATH when running in flatpak mode since it's
  unreachable.
* Correctly handle exit status returned by Flatpak. Previously this was
  not processed and contains extra status bits.
* Use correct type for PID returned by Flatpak.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows `termio.Exec` to track processes spawned via
`FlatpakHostCommand`, finally allowing Ghostty to function as a
Flatpak.

Alongside this is a few bug fixes:

* Don't add ghostty to PATH when running in flatpak mode since it's
  unreachable.
* Correctly handle exit status returned by Flatpak. Previously this was
  not processed and contains extra status bits.
* Use correct type for PID returned by Flatpak.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix(flatpak): construct null-terminated array for arguments</title>
<updated>2025-01-18T19:47:18+00:00</updated>
<author>
<name>Leorize</name>
<email>leorize+oss@disroot.org</email>
</author>
<published>2025-01-18T19:38:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=ecad3e75ff8aa4a14811efaad8e6b9436eb6774b'/>
<id>ecad3e75ff8aa4a14811efaad8e6b9436eb6774b</id>
<content type='text'>
The variant format string `^aay` is said to be equivalent to
g_variant_new_bytestring_array. Given that no length parameter is
provided, g_variant_new assumed a null-terminated array, but the array
constructed by the code was not, causing a crash as glib exceed the read
boundaries to copy arbitrary memory.

This commit replaces the array construction code to use its arena
equivalents instead of trying to build one using glib, and make sure
that the resulting array is null-terminated.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The variant format string `^aay` is said to be equivalent to
g_variant_new_bytestring_array. Given that no length parameter is
provided, g_variant_new assumed a null-terminated array, but the array
constructed by the code was not, causing a crash as glib exceed the read
boundaries to copy arbitrary memory.

This commit replaces the array construction code to use its arena
equivalents instead of trying to build one using glib, and make sure
that the resulting array is null-terminated.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix building with -Dflatpak=true</title>
<updated>2024-12-27T15:27:19+00:00</updated>
<author>
<name>Yorick Peterse</name>
<email>yorick@yorickpeterse.com</email>
</author>
<published>2024-12-27T15:26:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=50f7632d8147b72085238da3c44a7ea206b42182'/>
<id>50f7632d8147b72085238da3c44a7ea206b42182</id>
<content type='text'>
While running a Ghostty instance built with this option currently
crashes under Flatpak, at least it ensures we're able to build it again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
While running a Ghostty instance built with this option currently
crashes under Flatpak, at least it ensures we're able to build it again.
</pre>
</div>
</content>
</entry>
<entry>
<title>os: std.ChildProcess -&gt; std.process.Child</title>
<updated>2024-06-07T16:36:30+00:00</updated>
<author>
<name>Jon Parise</name>
<email>jon@indelible.org</email>
</author>
<published>2024-06-07T16:36:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=b1e1d8c3eb595a22d4b3860e17e7f958a074dfcf'/>
<id>b1e1d8c3eb595a22d4b3860e17e7f958a074dfcf</id>
<content type='text'>
std.ChildProcess was deprecated in favor of std.process.Child a few
releases back, and the old name is removed in Zig 0.13.0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
std.ChildProcess was deprecated in favor of std.process.Child a few
releases back, and the old name is removed in Zig 0.13.0.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Zig (#164)</title>
<updated>2023-06-30T19:15:31+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>mitchell.hashimoto@gmail.com</email>
</author>
<published>2023-06-30T19:15:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=314f9287b1854911e38d030ad6ec42bb6cd0a105'/>
<id>314f9287b1854911e38d030ad6ec42bb6cd0a105</id>
<content type='text'>
* update zig

* pkg/fontconfig: clean up @as

* pkg/freetype,harfbuzz: clean up @as

* pkg/imgui: clean up @as

* pkg/macos: clean up @as

* pkg/pixman,utf8proc: clean up @as

* clean up @as

* lots more @as cleanup

* undo flatpak changes

* clean up @as</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* update zig

* pkg/fontconfig: clean up @as

* pkg/freetype,harfbuzz: clean up @as

* pkg/imgui: clean up @as

* pkg/macos: clean up @as

* pkg/pixman,utf8proc: clean up @as

* clean up @as

* lots more @as cleanup

* undo flatpak changes

* clean up @as</pre>
</div>
</content>
</entry>
<entry>
<title>Update zig, mach, fmt</title>
<updated>2023-06-25T18:08:20+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>mitchell.hashimoto@gmail.com</email>
</author>
<published>2023-06-25T18:08:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=56f8e39e5bc4f7c96a5f5c661604d6a10390875f'/>
<id>56f8e39e5bc4f7c96a5f5c661604d6a10390875f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>linux: fit gtk/flatpak builds</title>
<updated>2023-05-27T17:01:20+00:00</updated>
<author>
<name>Mitchell Hashimoto</name>
<email>mitchell.hashimoto@gmail.com</email>
</author>
<published>2023-05-27T17:01:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/ghostty.git/commit/?id=77dcc10f8073f147beab10db570b12f40a4a1ab2'/>
<id>77dcc10f8073f147beab10db570b12f40a4a1ab2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
