<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Drop-Serve, branch master</title>
<subtitle>Start a static web server at a given folder location via drag-and-drop</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Drop-Serve/'/>
<entry>
<title>Add README</title>
<updated>2020-10-18T18:37:13+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-10-18T18:36:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Drop-Serve/commit/?id=5d138757def009f23ea1420bdb03a6165c4f3805'/>
<id>5d138757def009f23ea1420bdb03a6165c4f3805</id>
<content type='text'>
Include a quick demo screen recording.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include a quick demo screen recording.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add license (GNU GPLv3+)</title>
<updated>2020-10-17T14:23:11+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-10-17T14:23:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Drop-Serve/commit/?id=9580a6c5393fc88e38588032fc3310731d5fc36d'/>
<id>9580a6c5393fc88e38588032fc3310731d5fc36d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DropZone.m: Don't start server if more than one item is dragged in</title>
<updated>2020-10-13T17:40:12+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-10-13T17:40:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Drop-Serve/commit/?id=54f87ddeb0b034edfd3670e2c6016375dfe29927'/>
<id>54f87ddeb0b034edfd3670e2c6016375dfe29927</id>
<content type='text'>
Forgot to return here to exit when more than one file is dragged onto
the drop zone.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Forgot to return here to exit when more than one file is dragged onto
the drop zone.
</pre>
</div>
</content>
</entry>
<entry>
<title>AppDelegate.m: Terminate after window is closed</title>
<updated>2020-10-13T17:24:47+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-10-13T17:24:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Drop-Serve/commit/?id=ef216e7a533ed51fe66de168ccdf91635ae267bf'/>
<id>ef216e7a533ed51fe66de168ccdf91635ae267bf</id>
<content type='text'>
The application only has one window, and it doesn't really work if that
window is closed.

Also remove the unused `applicationDidFinishLaunching:` delegate method.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The application only has one window, and it doesn't really work if that
window is closed.

Also remove the unused `applicationDidFinishLaunching:` delegate method.
</pre>
</div>
</content>
</entry>
<entry>
<title>Server: Ensure the process is terminated before starting a new one</title>
<updated>2020-10-10T22:38:29+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-10-10T22:38:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Drop-Serve/commit/?id=464d258b0cc29f889fa3e36d43022a0c6ec8a546'/>
<id>464d258b0cc29f889fa3e36d43022a0c6ec8a546</id>
<content type='text'>
Just in case. Was getting a runtime exception occasionally and am still
not entirely sure why. It happened in the `[Server stop]` call.

Also check if the process is running before terminating it. Didn't read
about whether we're required to do this, but it seemed logical.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Just in case. Was getting a runtime exception occasionally and am still
not entirely sure why. It happened in the `[Server stop]` call.

Also check if the process is running before terminating it. Didn't read
about whether we're required to do this, but it seemed logical.
</pre>
</div>
</content>
</entry>
<entry>
<title>MainMenu.xib: Don't resize the window when path is long</title>
<updated>2020-10-10T22:33:37+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-10-10T22:33:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Drop-Serve/commit/?id=cc4879875a35042f1440c4445dbac9ea1b26589e'/>
<id>cc4879875a35042f1440c4445dbac9ea1b26589e</id>
<content type='text'>
Previously, when the file path of the folder being served was long, it
would resize the window to fit the path.

Prevent resizing, and truncate the path label so that it truncates the
beginning of the path and keeps the end.

Thanks to Stephan (https://stackoverflow.com/users/565336/stephan) on
Stack Overflow for the tip about setting

&gt; Content Compression Resistance Priority of the NSTextView less than
&gt; NSLayoutPriorityWindowSizeStayPut (e.g. 499). Otherwise your
&gt; NSTextView will not truncate its content.

(https://stackoverflow.com/questions/4171465/truncate-nstextview/13977990#13977990)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, when the file path of the folder being served was long, it
would resize the window to fit the path.

Prevent resizing, and truncate the path label so that it truncates the
beginning of the path and keeps the end.

Thanks to Stephan (https://stackoverflow.com/users/565336/stephan) on
Stack Overflow for the tip about setting

&gt; Content Compression Resistance Priority of the NSTextView less than
&gt; NSLayoutPriorityWindowSizeStayPut (e.g. 499). Otherwise your
&gt; NSTextView will not truncate its content.

(https://stackoverflow.com/questions/4171465/truncate-nstextview/13977990#13977990)
</pre>
</div>
</content>
</entry>
<entry>
<title>Retab files</title>
<updated>2020-10-10T22:04:28+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-10-10T22:04:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Drop-Serve/commit/?id=bc472b8f0ee0c28deecd77aa66f45f84011cec11'/>
<id>bc472b8f0ee0c28deecd77aa66f45f84011cec11</id>
<content type='text'>
Use consistent indentation. Looks like I've been using tabs here, so
change everything to tabs. Some code was generated at the start of the
project, or I copied it from Apple reference documents, or it was
inserted from an Xcode snippet.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use consistent indentation. Looks like I've been using tabs here, so
change everything to tabs. Some code was generated at the start of the
project, or I copied it from Apple reference documents, or it was
inserted from an Xcode snippet.
</pre>
</div>
</content>
</entry>
<entry>
<title>Server(stop): Use `NSTask terminate` instead of `interrupt`</title>
<updated>2020-10-10T22:00:14+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-10-10T22:00:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Drop-Serve/commit/?id=4548fe81b21cbeb7242fd2a6d5e462827f857e31'/>
<id>4548fe81b21cbeb7242fd2a6d5e462827f857e31</id>
<content type='text'>
Noticed that sometimes the server wasn't stopped when it should have
been. Thought maybe I should use `terminate` instead of `interrupt` to
be sure that the process exits.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Noticed that sometimes the server wasn't stopped when it should have
been. Thought maybe I should use `terminate` instead of `interrupt` to
be sure that the process exits.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce sleep before opening page in browser to 0.5 seconds</title>
<updated>2020-10-10T21:59:46+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-10-10T21:59:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Drop-Serve/commit/?id=62a560b5b332cb79f57f74c85f6fec585a94d3b6'/>
<id>62a560b5b332cb79f57f74c85f6fec585a94d3b6</id>
<content type='text'>
There's a noticeable delay with one second.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There's a noticeable delay with one second.
</pre>
</div>
</content>
</entry>
<entry>
<title>Sleep for one second before opening the served page in the browser</title>
<updated>2020-10-10T21:55:58+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2020-10-10T21:55:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/Drop-Serve/commit/?id=3e8c1da7eb84548ea783edd04ad4bfbfd490faac'/>
<id>3e8c1da7eb84548ea783edd04ad4bfbfd490faac</id>
<content type='text'>
Saw during testing that the browser could try to load the page before
the server had started up.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Saw during testing that the browser could try to load the page before
the server had started up.
</pre>
</div>
</content>
</entry>
</feed>
