VJ UNION

Cover image for Cables Standalone 0.3.1 now with HTML export
vdmo
vdmo

Posted on

Cables Standalone 0.3.1 now with HTML export

Standalone

https://github.com/cables-gl/cables_electron/releases/tag/v0.3.1

  • standalone: always open welcome tab when starting with empty patch
  • standalone: fix "send error report" does nothing
  • standalone: hide menubar on externalcanvas and popout-renderer
  • standalone: warn if trying to add op directory to new project without saving
  • standalone: fix attachment code not visible or editable
  • standalone: show info in logfile when electron needs restart during development
  • standalone: add renaming of op command and button
  • standalone: fix setting currenttime in videotexture
  • standalone: use internal npm and dependencies, faster and less extraction time on windows
  • standalone: fix bug with saving initial, empty, unsaved project
  • standalone: load npm dependencies after ui started
  • standalone: make sure projectfile always ends with .cables
  • standalone: make sure assets relative to project always have /assets in ports
  • standalone: fix bug with stay/leave always leaving the patch when opening a new one in unsaved state
  • standalone: add ui for adding npm packages to ops in "manage op"
  • standalone: add ui to organize hierarchy of op-directories
  • standalone: load/install npm packages and op-dependencies on project load
  • standalone: add hotkeys to native menu, add default items
  • standalone: add option to open last saved patch to editor-settings
  • standalone: update electron to 31.2.1
  • standalone: handle assetpaths that contain get-parameters
  • standalone: fix adding libs to ops
  • standalone: fix adding core-libs to ops
  • standalone: fix adding attachments to ops
  • standalone: log npm errors to error console
  • standalone: delete node_modules dir after removing last npm dependency
  • standalone: do not add npm packages that failed to install, show error
  • standalone: show loading indicator while npms are being installed
  • standalone: load ops in application-data directory in new patches
  • standalone: make os-paths available via CABLES.platform.paths
  • standalone: ignore "external urls" in check if asset exists
  • standalone: store saved patches in recent documents
  • standalone: react properly to doubleclicking .cables-files
  • standalone: activate introtour and tips for new users
  • standalone: autoload Ops.Extension.Standalone
  • standalone: add "op package" button and command to load ops via npm install
  • standalone: add basic html export to run projects on webserver
  • standalone: fix "set patch title" command
  • standalone: better sync between external editors and cables (saved state, reload code, ...)
  • standalone: add field to editorpreferences to set authorname for created ops
  • standalone: make projecttitle/filename changeable in editor and via command
  • standalone: fix patchtitle not being shown in summary
  • standalone: add "export - patch" to create backup and import back to cables.gl
  • standalone: show op directory/path in manage op tab
  • standalone: make "Ops.Standalone." default namespace
  • standalone: fix encoding problems in comments and vizops

https://github.com/cables-gl/cables_electron/releases/tag/v0.3.1

New Ops

  • new op: Ops.Extension.Standalone.Ffmpeg - op created: FFmpeg toolbox op
  • new op: Ops.Extension.Standalone.Files.WriteBinaryFileFromBase64 - op created: Create a binary file on the local file system from a base64 string
  • new op: Ops.Extension.Standalone.Net.AbletonLink - op created: connect to ableton link music making apps and receive data
  • new op: Ops.Extension.Standalone.Net.SocketCluster - op created: Create a socketcluster server
  • new op: Ops.Extension.Standalone.Net.IpAdress - op created: Outputs your local IP Adress
  • new op: Ops.Extension.Standalone.Net.OscSend - op created: send data to a OSC device
  • new op: Ops.Extension.Standalone.Net.Osc - op created: OSC Connection
  • new op: Ops.Extension.Standalone.Net.HttpServerHttpServerResponse - op created: Answer http requests by sending string to the browser/client
  • new op: Ops.Extension.Standalone.Net.HttpServer - op created: Create a Web/Http server locally
  • new op: Ops.Extension.Standalone.Files.Watch - op created: Watch a directory, get a trigger when a file changes
  • new op: Ops.Extension.Standalone.Files.WriteTextFile - op created: Write a string to a text file on the local file system
  • new op: Ops.Extension.Standalone.Net.ReadTextFile - op created: Read a text file as string from the local file system
  • new op: Ops.Extension.Standalone.Files.Stat - op created: Get statistics about a file on the local file system
  • new op: Ops.Extension.Standalone.Files.Exist - op created: Check if a file exists on the local file system
  • new op: Ops.Extension.Standalone.Files.Makedir - op created: Create a directory on the local file system
  • new op: Ops.Extension.Standalone.Files.ReadDir - op created: Read all entries in a directory
  • new op: Ops.Array.PointArray.Array3RepeatTransform - Repeat an array by transforming it x times
  • new op: Ops.Debug.CrashOp - Crash the editor in many ways
  • new op: Ops.Html.Element - A more convinient version of div element op, that can be used for creating html without writing much css code
  • new op: Ops.Html.ElementCssBorder - Set CSS border properties of a HTML element
  • new op: Ops.Html.ElementCssColor - Set text and background colors of an HTML element
  • new op: Ops.Html.ElementCssFont - Set font and text properties of a html element
  • new op: Ops.Html.ElementCssPadding - Set css padding of a html element
  • new op: Ops.Html.ElementCssString - Add shadows to html elements
  • new op: Ops.Html.ScrollIntoView - Scroll an area, so the html element is visible/in view
  • new op: Ops.Extension.Standalone.Ffmpeg - FFmpeg video converter toolbox op
  • new op: Ops.Extension.Standalone.Files.Exist - Check if a file exists on the local file system
  • new op: Ops.Extension.Standalone.Files.Makedir - Create a directory on the local file system
  • new op: Ops.Extension.Standalone.Files.OpenFileManager - Open the native file manager application using that path
  • new op: Ops.Extension.Standalone.Files.ReadDir - Read all entries in a directory
  • new op: Ops.Extension.Standalone.Files.ResolvePath - Resolves a paths into an absolute path
  • new op: Ops.Extension.Standalone.Files.SelectDir - Choose a directory on your hard drive
  • new op: Ops.Extension.Standalone.Files.SelectFile - Choose a file on your hard drive
  • new op: Ops.Extension.Standalone.Files.CreateFile - create a new empty file on your local harddrive
  • new op: Ops.Extension.Standalone.Files.Stat - Get statistics about a file on the local file system
  • new op: Ops.Extension.Standalone.Files.SystemDirs - Get Default System Directories Paths
  • new op: Ops.Extension.Standalone.Files.Watch - Watch a directory, get a trigger when a file changes
  • new op: Ops.Extension.Standalone.Files.WriteBinaryFileFromBase64 - Create a binary file on the local file system from a base64 string
  • new op: Ops.Extension.Standalone.Files.WriteTextFile - Write a string to a text file on the local file system
  • new op: Ops.Extension.Standalone.Net.HttpServer - Create a Web/Http server locally
  • new op: Ops.Extension.Standalone.Net.HttpServerHttpServerResponse - Answer http requests by sending string to the browser/client
  • new op: Ops.Extension.Standalone.Net.IpAddress - Outputs your local IP Adress
  • new op: Ops.Extension.Standalone.Net.Osc - OSC Connection
  • new op: Ops.Extension.Standalone.Net.OscSend - send data to a OSC device
  • new op: Ops.Extension.Standalone.Net.ReadTextFile - Read a text file as string from the local file system
  • new op: Ops.Gl.ImageCompose.Noise.GaborNoise -
  • new op: Ops.Gl.ImageCompose.Noise.Shardnoise -
  • new op: Ops.Ui.VizArrayGraph - Visualize Arraty as line graph

Op Enhancements

  • feature: Ops.Devices.Keyboard.CursorKeys - Added output for directional degree and if any button is pressed
  • feature: Ops.Gl.Meshes.Cross - Added toggles for left/right/top/bottom parts
  • feature: Ops.Gl.Meshes.TextMesh_v2 - Text scale parameter: scale the whole text
  • feature: Ops.Html.FontFile_v2 - Added active toggle to completly unloaded a font, or even never load it in the first place
  • improvement: Ops.Ui.VizArrayTable - it will now also visualize arrays of arrays and objects
  • improvement: Ops.Anim.LFO_v3 - Adjusted amplitudes
  • improvement: Ops.Array.SortArray - make sorting work with array of strings
  • improvement: Ops.Boolean.ToggleBool_v2 - Add output trigger which is triggered after any input was triggered
  • improvement: Ops.Devices.Midi.MidiInputDevice_v2 - Workaround browser does not return midi access: try again many times
  • improvement: Ops.Gl.GradientTexture - Fix problems with flickering because texture was generated not early enough
  • improvement: Ops.Gl.Meshes.PointCloudFromTexture - Only modifies PSMUL pointsize multiplier when POINTMATERIAL is defined / fixes crashes with non pointmaterials
  • improvement: Ops.Gl.Textures.NoiseTexture - Texture creation will create a loading job and only run before rendering a frame
  • improvement: Ops.Html.CSSPropertyString - Added active toggle to temporary remove property from element
  • improvement: Ops.Html.ImageElement - Disable caching when uploading a new version of image to the editor
  • improvement: Ops.Html.ImageElement - Show filename in extended op title
  • improvement: Ops.Json.HttpRequest_v3 - JSON parse errors will not throw an exception but show an uiError
  • improvement: Ops.Json.HttpRequest_v3 - Show warning if url is empty
  • improvement: Ops.Net.WebSocket.WebSocket_v2 - Show error messages from websocket API and check for correct protocol
  • improvement: Ops.String.Base64.Base64Encode_v3 - new Version 3: Default value for mimetype input, when no mimetype is provided, the output is not a dataUrl
  • bugfix: Ops.Boolean.ToggleBool_v2 - fixed bug when default value true needed two trigger to become false
  • bugfix: Ops.Gl.Matrix.OrbitControls_v3 - fix with active toggle not working when value is false and it was never triggered before
  • bugfix: Ops.Gl.Meshes.MeshInstancerFromTexture_v3 - Fix bug not rendering correctly on the first frame
  • bugfix: Ops.Gl.TextMeshMSDF_v2 - fix: correctly discard Pixels when fully transparent
  • bugfix: Ops.Gl.TextureToColorArray_v2 - Fix problem with floating point textures
  • bugfix: Ops.Gl.Textures.TextureToBase64_v5 - Fixed bug: was not updating output in all cases
  • bugfix: Ops.Html.FullscreenMode - Fix null pointer exception happening even if everything worked fine
  • feature: Ops.Cables.UIMode - Added output "Is Standalone" is true if we are in cables electron standalone
  • feature: Ops.Gl.GradientTexture - Add XX and YY option to have a one axis gradient that is size_size pixels big and not size_1 pixels (e.g. needed to add dithering)
  • feature: Ops.Gl.GradientTexture - Added option to add dithering to reduce color banding
  • feature: Ops.Gl.ImageCompose.PixelDisplacement_v4 - Added pixel mapping mode: e.g. in case the displacement texture is smaller than the texture to displace. useful for displacing with smaller noise textures
  • feature: Ops.Gl.Pbr.PbrMaterial - Added toggle for double sided, which will flip normals when the face is not front-facing
  • feature: Ops.Gl.Textures.MontageTextures_v2 - Added X/Y overlap mode, e.g. for comparing images visually to each other
  • improvement: Ops.Gl.GradientTexture - Opening the gradient editor at the bottom edge of the window will now move the gradient editor up so it is fully visible
  • improvement: Ops.Gl.TextureToColorArray_v2 - Add option to not always output floating point numbers
  • improvement: Ops.Gl.TextureToColorArray_v3 - Add option to not always output floating point numbers
  • improvement: Ops.Gl.TextureToColorArray_v3 - Reduce complexity of op, remove channel conversion and bytes to float. just output the pixel values if possible
  • improvement: Ops.Html.Element_v2 - v2: Interactivity is now a switch between True,False or pointer-events:none
  • improvement: Ops.Html.ImageElement - Can now be ctrl-hover picked as all html elements
  • improvement: Ops.Html.ImageElement_v2 - v2: Can now be ctrl-hover picked as all html elements
  • improvement: Ops.Sidebar.Toggle_v4 - CSS classes are applied correctly now on init
  • bugfix: Ops.Gl.Meshes.GeometryToTexture_v3 - fixed rounding errors with some texture sizes resulting in transparent pixels
  • bugfix: Ops.Gl.TextureToColorArray_v2 - Fix outputing wrong amount of values
  • bugfix: Ops.Gl.TextureToColorArray_v3 - Fix outputing wrong amount of values
  • bugfix: Ops.WebAudio.MicrophoneIn_v2 - Fix listening state output was outputing the wrong value

Op Rename

  • rename: Ops.Array.PointArray.Array3AreaRemove - Ops.Array.Array3AreaRemove renamed to Ops.Array.PointArray.Array3AreaRemove
  • rename: Ops.Array.PointArray.Array3FlipAxis - Ops.Array.Array3FlipAxis renamed to Ops.Array.PointArray.Array3FlipAxis
  • rename: Ops.Array.PointArray.Array3PointEditor - Ops.Array.Array3PointEditor renamed to Ops.Array.PointArray.Array3PointEditor
  • rename: Ops.Array.PointArray.Array3VectorDistance - Ops.Array.Array3VectorDistance renamed to Ops.Array.PointArray.Array3VectorDistance
  • rename: Ops.Array.PointArray.SortArray3ByDistance - Ops.Array.SortArray3ByDistance renamed to Ops.Array.PointArray.SortArray3ByDistance
  • rename: Ops.Array.PointArray.SplinePositionAtDistanceArray3 - Ops.Array.SplinePositionAtDistanceArray3 renamed to Ops.Array.PointArray.SplinePositionAtDistanceArray3
  • rename: Ops.Array.PointArray.SubdivideArray3_v2 - Ops.Array.SubdivideArray3_v2 renamed to Ops.Array.PointArray.SubdivideArray3_v2
  • rename: Ops.Array.PointArray.TransformArray3 - Ops.Array.TransformArray3 renamed to Ops.Array.PointArray.TransformArray3
  • rename: Ops.Extension.Standalone.Files.OpenFileManager - Ops.ExtensionStandalone.Files.OpenFileManager renamed to Ops.Extension.Standalone.Files.OpenFileManager
  • rename: Ops.Extension.Standalone.Files.OpenFileManager - Ops.ExtensionStandalone.Files.SelectDir renamed to Ops.ExtensionStandalone.Files.OpenFileManager
  • rename: Ops.Extension.Standalone.Files.SystemDirs - Ops.Standalone.Files.SystemDirs renamed to Ops.Extension.Standalone.Files.SystemDirs
  • rename: Ops.Extension.Standalone.Net.IpAddress - Ops.Extension.Standalone.Net.IpAdress renamed to Ops.Extension.Standalone.Net.IpAddress
  • rename: Ops.Gl.ImageCompose.Noise.Shardnoise - Ops.Patch.PTMEvPm.Shardnoise renamed to Ops.Gl.ImageCompose.Noise.Shardnoise

Editor

  • editor: inspect or port value editor tabs, that refer a deleted(e.g. reloaded) op, will be closed automatically
  • editor: also use horizontal scroll when incrementing port values (shift+wheel)
  • editor: better storing and restoring of patch view, e.g. after loading the patch or maximizing canvas
  • editor: create backup before exporting patch, for cables-supporters
  • editor: create/claim Ops.Extension.Standalone a team and namespace for native standalone electron operators
  • editor: error report sending improved and error reports are public
  • editor: escape html results in search results
  • editor: fix links in "recent patches" to be actual hyperlinks and middle-clickable
  • editor: fix op text and port rendering precision problems when scrolling/zooming
  • editor: html overlay inspect click was not showing op params
  • editor: improve loading speed by reducing filesize of used gui libs by 50%
  • editor: improve speed by avoiding useless request when coppy-pasting newly created op
  • editor: improved error catching and handling
  • editor: improved error catching and reporting
  • editor: improved error display, automatic display of error source code when possible
  • editor: improved showing loading indicator when loading data from server
  • editor: less creation of duplicate input/ouput ops in subpatche
  • editor: less modal error dialogs, but error console opening automaticall
  • editor: less network requests when editing ops
  • editor: make sure op version suffix (e.g. _v2) can only contain numbers in clone and rename
  • editor: new logging console
  • editor: ops can now be renamed directly in the editor
  • editor: patch outline treeview now has filter options
  • editor: port suggestion dialogs now will show the portcolors (e.g. when creating ports by dragging)
  • editor: reduced number of requests to load op data from server
  • editor: rename op: automatically select last part of op name to overwrite
  • editor: renaming of ops in editor directly
  • editor: reupload file button: quickly replace existing files with a new version
  • editor: show big fat red warning when deleting assets in public patch
  • editor: show comments in bookmark treeview
  • editor: show manage op button in op search dialog doc panel (e.b. for editing ops even when they crash on create)
  • editor: speed up checking validity of opname in clone and rename
  • editor: store last saved version as automatic backup
  • editor: when clicking title in a subpatch the outer op will be centered and focusssed
  • editor: show all patchops in opselect, even if not used
  • editor: offer oldschool form upload to upload big files in chrome, on error
  • editor: update patchtitle in editor also when publishing failed
  • editor: string ports will show an op warning when they contain "unusual" utf8 characters,e.g. line separator, that can break js minify functionality.....
  • editor: patch outline: remove html from comments and limit length
  • editor: add VizArrayGraph to default vizualisation suggestions
  • editor: manage op: fix bug where manage op did not show the port editor for subpatch ops
  • editor: manage op: subpatch ops: hide libs and attachment files from
  • editor: console: stacktrace lines only clickable when starting with valid protocols
  • editor: console: don't open console on socket timeout errors

Discussion (0)