cmake/apple: compile targets directly into the app bundle
cmake: fix win32 code path

Signed-off-by: Tim Blechmann <tim@klingt.org>
ide: Add support for getting the last selection made on a Document

Signed-off-by: Scott Wilson <i@scottwilson.ca>
ide: Add support for setting the selection of a Document in the last active editor

Signed-off-by: Scott Wilson <i@scottwilson.ca>
class library: updates for Document selection methods

Signed-off-by: Scott Wilson <i@scottwilson.ca>
ide + class lib: Add missing support for Document:editable_

Signed-off-by: Scott Wilson <i@scottwilson.ca>
ide + class lib: Add support for missing promptToSave

Signed-off-by: Scott Wilson <i@scottwilson.ca>
ide + class lib: Add support for missing Document removeUndo

Signed-off-by: Scott Wilson <i@scottwilson.ca>
lang: Fix bug that occurred when multiple responder funcs respond to the same key, and one of them modifies the list of responders for that key

- This commit also improves FunctionList:copy to create a new internal array.

Signed-off-by: Scott Wilson <i@scottwilson.ca>
lang: Fix TCP bugs

This fixes Issue #1099. The problem was to do with the way in which incoming TCP messages were constructed before passing to the lang:

- The remote port info was not being set at all, and was then being converted from network to host order in ConvertReplyAddress. This was not needed as boost::asio::ip always gives ports in host order. UDP only worked because port was converted to network order and then back in ConvertReplyAddress, so that was removed as well.

- The received on port was being set to the remote port, so that was also corrected.
ide + lang: Fix Document global key actions bug mentioned in Issue #1159

Signed-off-by: Scott Wilson <i@scottwilson.ca>
cmake cleanup
Merge pull request #1213 from supercollider/More-Document

More document stuff
Merge pull request #1214 from supercollider/fix-TCP

lang: Fix TCP bugs
Merge pull request #1189 from timblechmann/topic/cmake_modernization

cmake/apple: compile targets directly into the app bundle
scide: ScServer: read all pending datagrams at once
scide: ScServer - use Oscpack
scide: ScServer - fix communication with supernova
Build: Try using a 10.7 deployment target.