scide + lang: add *new method for Document in SCIDE

This also adds a *getQUuid method to ScIDE, which is used to generate the document's mID in the lang at creation time

Signed-off-by: Scott Wilson <i@scottwilson.ca>
lang: Add *executeAsyncResponse method to ScIDEDocument

This provides a generic interface for callbacks for asynchronous Document requests to the IDE. Callback functions are stored in a dict held in a classvar using a uuid as a key.

Signed-off-by: Scott Wilson <i@scottwilson.ca>
lang + scide: Add getText and getChar methods to ScIDEDocument

Signed-off-by: Scott Wilson <i@scottwilson.ca>
lang + scide: Add methods to set text in an ScIDEDocument

Signed-off-by: Scott Wilson <i@scottwilson.ca>
scide: Add missing checks in get and set text methods

Signed-off-by: Scott Wilson <i@scottwilson.ca>
lang + scide: sync document list at library compile

Signed-off-by: Scott Wilson <i@scottwilson.ca>
scide: make ide call closed for manually closed documents

Signed-off-by: Scott Wilson <i@scottwilson.ca>
scide: IDE informs lang when a document is opened by a user

Signed-off-by: Scott Wilson <i@scottwilson.ca>
lang + scide: Keep current Document synced

This should also take care of setting the doc envir and firing actions

Signed-off-by: Scott Wilson <i@scottwilson.ca>
lang + scide: Sync Text and Title of ScIDEDocuments when opened

Signed-off-by: Scott Wilson <i@scottwilson.ca>
scide: never close a session with unsaved documents

[fixes #899]
Update Object.sc

By using the same .dup method as Function, the Object:dup improves considerably in speed.
supernova: work around possible clang bug

Signed-off-by: Tim Blechmann <tim@klingt.org>
supernova: aligned malloc - prefer SSE2 implementation

Signed-off-by: Tim Blechmann <tim@klingt.org>
lang + scide: Change ide send text methods to convert to a literal ascii array, and sync document changes with lang objects

Sending doc text as a literal string caused problems, due to possible multiple layers of nesting and escapes. Also fixed a few typos and added some safety checks

Signed-off-by: Scott Wilson <i@scottwilson.ca>
plugins: Fix stupid #if mistake in UIUGens.cpp

Signed-off-by: Scott Wilson <i@scottwilson.ca>
qt: Rename hacks_mac.M to hacks_mac.mm to deal with Xcode being fussy

Recent Xcode no longer infers obj-c++ compilation for .M files and wants .mm or a manual setting. This change means that it is possible to generate an Xcode project from cmake and compile it without errors, at least on Xcode 4.6 anf OSX 10.8.

Signed-off-by: Scott Wilson <i@scottwilson.ca>
Library: Prevent inline-function warning in FFTUnpacking.sc
cmake build system: don't bundle DeployQt4

it is included in recent cmake versions

Signed-off-by: Tim Blechmann <tim@klingt.org>
Merge pull request #922 from jamshark70/topic/fixInlineWarnings

Library: Prevent inline-function warning in FFTUnpacking.sc