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>
class library: permit simple functions or streams to act as a dispatch for EnvironmentRedirects
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
class library: add textChangedAction

Thanks to Jacob for the suggestion

Signed-off-by: Scott Wilson <i@scottwilson.ca>
scide + class library: Add keyActions for ScIDEDocument

Signed-off-by: Scott Wilson <i@scottwilson.ca>
scide + class library: Add mouse actions for ScIDEDocument

Signed-off-by: Scott Wilson <i@scottwilson.ca>
class library: Remove out of date comment

Signed-off-by: Scott Wilson <i@scottwilson.ca>
scide: Make small adjustment to mouse events for Documents in order to avoid odd cursor behaviour

Signed-off-by: Scott Wilson <i@scottwilson.ca>
scide: Add Main::evaluateIfCompiled method, change Document key and mouse actions to use it

Documents should not queue up key and mouse actions while waiting for the lang to compile

Signed-off-by: Scott Wilson <i@scottwilson.ca>
scide + class library: Add Document front method, slightly rework some of the lang-side code for making docs current

Signed-off-by: Scott Wilson <i@scottwilson.ca>