add assert()s when dereferencing pointers.
Powiter crashes in loadOFXPlugins() when loading F_Furnace.ofx.bundle or Denoise.ofx.bundle, which expects a Nuke host:
Host has OpenGL render support: (null) (stat=3)
Caught OFX::Exception::HostInadequate OfxMessageSuite
load failed on plugin uk.co.thefoundry.noisetools.denoise
Caught OFX::Exception::HostInadequate OfxMessageSuite
load failed on plugin uk.co.thefoundry.furnace.f_align
Caught OFX::Exception::HostInadequate OfxMessageSuite
load failed on plugin uk.co.thefoundry.furnace.f_deflicker2
Caught OFX::Exception::HostInadequate OfxMessageSuite
load failed on plugin uk.co.thefoundry.furnace.f_degrain
Caught OFX::Exception::HostInadequate OfxMessageSuite
load failed on plugin uk.co.thefoundry.furnace.f_denoise
Caught OFX::Exception::HostInadequate OfxMessageSuite
load failed on plugin uk.co.thefoundry.furnace.f_kronos
Caught OFX::Exception::HostInadequate OfxMessageSuite
load failed on plugin uk.co.thefoundry.furnace.f_matchgrade
Caught OFX::Exception::HostInadequate OfxMessageSuite
load failed on plugin uk.co.thefoundry.furnace.f_motionblur
Caught OFX::Exception::HostInadequate OfxMessageSuite
load failed on plugin uk.co.thefoundry.furnace.f_regrain
Caught OFX::Exception::HostInadequate OfxMessageSuite
load failed on plugin uk.co.thefoundry.furnace.f_rigremoval
Caught OFX::Exception::HostInadequate OfxMessageSuite
Caught OFX::Exception::HostInadequate OfxMessageSuite
load failed on plugin uk.co.thefoundry.furnace.f_vectorgenerator
Caught OFX::Exception::HostInadequate OfxMessageSuite
load failed on plugin uk.co.thefoundry.furnace.f_wireremoval
Added support for new project,save and load as well as auto-save
Merge branch 'workshop' of github.com:MrKepzie/Powiter_Core into workshop
fix initialization order (and use one instruction per line...)
add more assertions to detect failures as soon as possible
bug fix: don't dereference a NULL pointer
bug fix: don't dereference a NULL pointer
add assert()s
Fixed graph restore when some plug-ins cannot be found
Fixed graph restore when some plug-ins cannot be found
add "Toggle Full Screen" menu item
rename the *fullscreen functions to *maximize/minimize, since they were not fullscreen anyway
Merge branch 'workshop' of https://github.com/MrKepzie/Powiter into workshop
use Title-Style Capitalization for menu items.
References:
on OSX: https://developer.apple.com/library/mac/documentation/userexperience/conceptual/applehiguidelines/TextStyle/TextStyle.html#//apple_ref/doc/uid/TP30000365-BABDIBBH
on MS Windows: http://msdn.microsoft.com/en-us/library/windows/desktop/bb246428%28v=vs.85%29.aspx
added support for plugin creating failure
Merge branch 'workshop' of github.com:MrKepzie/Powiter_Core into workshop
Merge branch 'workshop' of https://github.com/MrKepzie/Powiter into workshop
handle correctly plugins with an empty group (e.g. yadif deinterlacer)
fix bug (dereferencing NULL pointer) + add lots of assert()s
fix bad usage of ... ? ... : ... :
it should NOT be
... ? x = ... : x = ...
but
x = ... ? ... : ...
- the affectation is clear
- if you prefer the first form, you should use if..then..else instead
bug fix: r,g,b,a could never be 0 when offset is not zero.
avoid incrementing pointers: the compiler knows very well how to optimize simple loops.