<ul>
<li>improve and extend logging of IPC socket errors (Windows and non-Windows)</li>
<li>do not raise the main window on Windows when <code>--list-documents</code> is used</li>
<li>bind the TCP port used for the IPC socket exclusively on Windows (should help with <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="104678191" data-permission-text="Issue title is private" data-url="https://github.com/geany/geany/issues/641" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/641/hovercard" href="https://github.com/geany/geany/issues/641">#641</a>)</li>
</ul>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/geany/geany/pull/2111'>https://github.com/geany/geany/pull/2111</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Use GLib logging for socket error messages</li>
  <li>On Windows, raise the main window only when needed for IPC calls</li>
  <li>Windows: Use SO_EXCLUSIVEADDRUSE flag for IPC socket</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2111/files#diff-0">src/libmain.c</a>
    (14)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/geany/geany/pull/2111/files#diff-1">src/socket.c</a>
    (79)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/geany/geany/pull/2111.patch'>https://github.com/geany/geany/pull/2111.patch</a></li>
  <li><a href='https://github.com/geany/geany/pull/2111.diff'>https://github.com/geany/geany/pull/2111.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2111">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJwQ0ipVyKX1p-b9LQSyUZuk9obSsks5vaRbVgaJpZM4cICvr">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ4tDmhuYPvTUYYmEz4gDO9pv-eLFks5vaRbVgaJpZM4cICvr.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Improve IPC socket handling (#2111)"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany/pull/2111"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2111",
"url": "https://github.com/geany/geany/pull/2111",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>