<feed xmlns='http://www.w3.org/2005/Atom'>
<title>st.git/win.h, branch master</title>
<subtitle>my custom st build
</subtitle>
<id>https://git.aidengall.xyz/st.git/atom?h=master</id>
<link rel='self' href='https://git.aidengall.xyz/st.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/'/>
<updated>2022-04-19T09:43:37Z</updated>
<entry>
<title>code-golfing: cleanup osc color related code</title>
<updated>2022-04-19T09:43:37Z</updated>
<author>
<name>NRK</name>
<email>nrk@disroot.org</email>
</author>
<published>2022-01-07T17:21:04Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=8629d9a1da72cc18568a8f146307b0e939b77ebf'/>
<id>urn:sha1:8629d9a1da72cc18568a8f146307b0e939b77ebf</id>
<content type='text'>
* adds missing function prototype
* move xgetcolor() prototype to win.h (that's where all the other x.c
  func prototype seems to be declared at)
* check for snprintf error/truncation
* reduces code duplication for osc 10/11/12
* unify osc_color_response() and osc4_color_response() into a single function

the latter two was suggested by Quentin Rameau in his patch review on
the hackers list.
</content>
</entry>
<entry>
<title>ST: Add WM_ICON_NAME property support</title>
<updated>2020-10-18T09:17:11Z</updated>
<author>
<name>John Collis</name>
<email>john.collis@alliedtelesis.co.nz</email>
</author>
<published>2020-09-06T05:53:41Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=28b4c822c5c0acec300fdf15c6e3ede9f5e2335d'/>
<id>urn:sha1:28b4c822c5c0acec300fdf15c6e3ede9f5e2335d</id>
<content type='text'>
Also added _NET_WM_ICON_NAME.
</content>
</entry>
<entry>
<title>better Input Method Editor (IME) support</title>
<updated>2019-02-12T17:45:15Z</updated>
<author>
<name>Ivan Tham</name>
<email>pickfire@riseup.net</email>
</author>
<published>2019-02-12T17:41:41Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=e85b6b64660214121164ea97fb098eaa4935f7db'/>
<id>urn:sha1:e85b6b64660214121164ea97fb098eaa4935f7db</id>
<content type='text'>
Features:

- Allow input methods swap with hotkey (E.g. left ctrl + left shift).
- Over-the-spot pre-editing style, pre-edit data placed over insertion point.
- Restart IME without segmentation fault.

TODO:

- Automatically pickup IME if st started before IME
</content>
</entry>
<entry>
<title>Reduce visibility wherever possible</title>
<updated>2018-02-26T03:56:26Z</updated>
<author>
<name>Devin J. Pohly</name>
<email>djpohly@gmail.com</email>
</author>
<published>2018-02-24T22:32:20Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=e0215d53770a9b6bc6e5d7b9a603ecd34dbd7100'/>
<id>urn:sha1:e0215d53770a9b6bc6e5d7b9a603ecd34dbd7100</id>
<content type='text'>
When possible, declare functions/variables static and move struct
definitions out of headers.  In order to allow utf8decode to become
internal, use codepoint for DECSCUSR extension directly.

Signed-off-by: Devin J. Pohly &lt;djpohly@gmail.com&gt;
</content>
</entry>
<entry>
<title>Pull term references out of xdrawcursor</title>
<updated>2018-02-26T03:56:26Z</updated>
<author>
<name>Devin J. Pohly</name>
<email>djpohly@gmail.com</email>
</author>
<published>2018-02-24T20:58:54Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=a5dc1b46976b2252f9d7bb68f126c4b0f351dd1a'/>
<id>urn:sha1:a5dc1b46976b2252f9d7bb68f126c4b0f351dd1a</id>
<content type='text'>
Gradually reducing x.c dependency on Term object.  Old and new cursor
glyph/position are passed to xdrawcursor.  (There may be an opportunity
to refactor further if we can unify "clear old cursor" and "draw new
cursor" functionality.)

Signed-off-by: Devin J. Pohly &lt;djpohly@gmail.com&gt;
</content>
</entry>
<entry>
<title>Move win-agnostic parts of draw/drawregion to st.c</title>
<updated>2018-02-26T03:56:26Z</updated>
<author>
<name>Devin J. Pohly</name>
<email>djpohly@gmail.com</email>
</author>
<published>2018-02-24T20:53:23Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=88d8293fb4ba150a5f19d58d133b5db93d9dcfa5'/>
<id>urn:sha1:88d8293fb4ba150a5f19d58d133b5db93d9dcfa5</id>
<content type='text'>
Introduces three functions to encapsulate X-specific behavior:
 * xdrawline: draws a portion of a single line (used by drawregion)
 * xbegindraw: called to prepare for drawing (will be useful for e.g.
   Wayland) and returns true if drawing should happen
 * xfinishdraw: called to finish drawing (used by draw)

Signed-off-by: Devin J. Pohly &lt;djpohly@gmail.com&gt;
</content>
</entry>
<entry>
<title>Split mode bits between Term and TermWindow</title>
<updated>2018-02-26T03:56:26Z</updated>
<author>
<name>Devin J. Pohly</name>
<email>djpohly@gmail.com</email>
</author>
<published>2018-02-23T20:16:52Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=05c66cb37d9ff278a3e0c45682c4b5e7945deb42'/>
<id>urn:sha1:05c66cb37d9ff278a3e0c45682c4b5e7945deb42</id>
<content type='text'>
Moves the mode bits used by x.c from Term to TermWindow, absorbing
UI/input-related mode bits (visible/focused/numlock) along the way.

This is gradually reducing external references to Term.  Since
TermWindow is already internal to x.c, we add xsetmode() to allow st to
modify window bits in accordance with escape sequences.

IS_SET() is redefined accordingly (term.mode in st.c, win.mode in x.c).

Signed-off-by: Devin J. Pohly &lt;djpohly@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove X and fontconfig from st.c</title>
<updated>2018-02-26T03:53:24Z</updated>
<author>
<name>Devin J. Pohly</name>
<email>djpohly@gmail.com</email>
</author>
<published>2017-11-07T00:30:45Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=8b564c1a3f51c08e64c2f589852a02b8595d44ca'/>
<id>urn:sha1:8b564c1a3f51c08e64c2f589852a02b8595d44ca</id>
<content type='text'>
None of the X-related includes are needed any longer.  In addition, move
the X modifier defines into x.c, as they are not used outside.

Signed-off-by: Devin J. Pohly &lt;djpohly@gmail.com&gt;
</content>
</entry>
<entry>
<title>Remove Time argument from xsetsel</title>
<updated>2018-02-26T03:53:24Z</updated>
<author>
<name>Devin J. Pohly</name>
<email>djpohly@gmail.com</email>
</author>
<published>2017-11-07T00:25:58Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=3bb900cd6c1c7a5364bd79bce63fdd8711bc878b'/>
<id>urn:sha1:3bb900cd6c1c7a5364bd79bce63fdd8711bc878b</id>
<content type='text'>
This is an X type and should be internal to x.c.

The selcopy() function was a single line and only used in one place, so
it was inlined to reduce LOC.

Signed-off-by: Devin J. Pohly &lt;djpohly@gmail.com&gt;
</content>
</entry>
<entry>
<title>Make win variable internal to x.c</title>
<updated>2018-02-26T03:53:24Z</updated>
<author>
<name>Devin J. Pohly</name>
<email>djpohly@gmail.com</email>
</author>
<published>2017-11-06T23:57:45Z</published>
<link rel='alternate' type='text/html' href='https://git.aidengall.xyz/st.git/commit/?id=323d38da20c8a1d295ab1dbc0fc7ce947ef824e1'/>
<id>urn:sha1:323d38da20c8a1d295ab1dbc0fc7ce947ef824e1</id>
<content type='text'>
There was only a single reference to the `win` variable in st.c, so
exporting that to x.c allows us to rid ourselves of another extern.

Signed-off-by: Devin J. Pohly &lt;djpohly@gmail.com&gt;
</content>
</entry>
</feed>
