Merge branch 'refactor-syntax_unicode' into refactor-syntax_unicode_mac
Merge branch 'refactor-syntax_unicode' into refactor-syntax_unicode_mac
Merge branch 'refactor-syntax_unicode' into refactor-syntax_unicode_mac

Conflicts:
	engine/src/dskmain.cpp
Merge branch 'refactor-syntax_unicode' into refactor-syntax_unicode_mac
Merge branch 'refactor-syntax_unicode' into refactor-syntax_unicode_mac
[[ refactorSyntax ]] Readall / readfixed calls sorted out
[[ refactorSyntax ]] ReadAvailable added to MCSystemFileHandle
MCSystemFileHandle -> Read simplified to a unique function.
MCS_readall and MCS_readfixed wrap this function
IO_header suppressed, MCSystemFileHandle now directly used.
Note: legacy code using IO_WRITTEN/IO_SEEKED flags has been commented out using #ifdef OLD_IO_HANDLE macro
Merge remote-tracking branch 'origin/refactor-syntax_unicode_mac' into refactor-syntax_unicode_mac

Conflicts:
	engine/src/dskmain.cpp
Merge remote-tracking branch 'origin/refactor-syntax_unicode_mac' into refactor-syntax_unicode_mac
MCSerialPortFileHandle added for Mac - Read and Write might need to be updated though - see #if 0'd alternate implementation
MCstacknames error on Livecode IDE closing fixed, as well as a memory leak.
MCSerialPortFileHandle: forgotten functions implemented
MCStdioFileHandle: m_is_eof was assigned Boolean instead of bool, fixed
- MCS_umask removed, replaced where is was used with MCS_getumask or MCS_setumask
- legacy functions definitions from osxprefix.h moved to a new file osxprefix-legacy.h
- MCS_isatty replaced with MCS_isinteractiveconsole; isInteractiveConsole added in MCSystemInterface.
- MCS_handle_socket made into a platform independent functions
- Declaration of MCS functions defined in opensslsocket.cpp moved to osspec.h
- MCS_write_socket: use of strchr with const char* fixed.
- Mac specific MCS functions renamed to MCS_mac and it applied, moved from osspec.cpp/osxfile.cpp to dskmac.cpp.
- <void MCS_pathtoref(const char*, FSRef)> totally replaced with <bool MCS_pathtoref(MCStringRef, FSRef)> and removed
- <char* MCS_fsref_to_path(FSRef)> replaced with <bool MCS_fsref(FSRef, MCStringRef&)> and removed
- MCS_imeisunicode removed
- MCS_nodelay made private to Mac - and Linux
- MCS_isnan made platform independent and implemented in sysspec.h
- MCSystemInterface::OpenStdFile renamed OpenFd
- MCSystemInterface::ResolveNativePath removed as it is the same as ResolvePath
- <char *MCS_mac_FFSpec2path(FFSpec*)> changed to <bool MCS_mac_FSSpec2path(FSSpec *, MCStringRef&)> - and all cascading changes implied
- MCS_get_canonical_path removed
- strchr with const char* fixed in <OSerr getDescFromAddress()>
- MCU_path2native and MCU_path2std functions replaced with MCS_path(from|to)native
Merge remote-tracking branch 'origin/refactor-syntax_unicode_mac' into refactor-syntax_unicode_mac
Merge pull request #185 from runrevsebastien/refactor-syntax_unicode_mac

Refactor syntax unicode mac