summaryrefslogtreecommitdiff
path: root/gtk2_ardour/luainstance.cc
AgeCommit message (Collapse)Author
2018-07-12Move static function out of header-file, fix -Wunused-functionRobin Gareus
2018-06-02no error logging for CURL HTTP requests; future callers can request it if ↵Paul Davis
necessary
2018-02-09new_grid: Rewrite of Snap and Grid. (squashed commit)Ben Loftis
Separate Snap from Grid. Lots of naming changes. Multiple simultaneous snap options allowed. Grid is one of the possible Snap options. Grid uses the same data as the rulers. Replace complicated tempo_lines with simple grid_lines. The Grid is zoom-scale-sensitive along with the rulers. If you are zoomed out, grid becomes coarser.
2018-02-09new_snap: Snapped Cursor ( squashed commit )Ben Loftis
Snapped Cursor is a line that follows the edit point, and indicates where the operation will occur. This replaces and extends the line that appears with the Cut tool. New associated preferences: snap_threshold and show_snap_cursor.
2018-01-30LuaInstance: prepare for 3 argument signal/slot callbacksRobin Gareus
2017-12-07Drop the "Lua" in Lua Action Buttons:Ben Loftis
Removed the term "Lua", because users were turned off by something they didn't understand. A special-case Lua script ("Shortcut") allows the user to select an arbitrary Action. The "Shortcut" script is selected by default, and in this case there is no "Type" or "Author" displayed. Action-Buttons may still trigger Lua scripts, as a secondary function.
2017-12-05Add Lua binding to query action-listRobin Gareus
2017-12-05Lua Script-Selector updateRobin Gareus
* register bindings for action_param * honor pre-seeded value (don't ask) * allow to pre-seed a script-name * allow to cancel interactive script load at parameter-stage
2017-11-23Catch exceptions by const referenceRobin Gareus
2017-09-27More s/frame/sample/ -- Lua ScriptsRobin Gareus
Sadly this breaks existing loaded scripts. C'est la vie.
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
2017-09-18fully remove diskstream codePaul Davis
2017-08-26Fix too restrictive Lua sandboxRobin Gareus
Don't limit the environment when evaluating bytecode (factory function).
2017-08-22Add Lua bindings for ArdourUI's translate_order()Robin Gareus
e.g. calculate the route insert position: print (ArdourUI.translate_order (ArdourUI.InsertAt.BeforeSelection))
2017-08-19Lua may call C++ functions with throw. Catch themRobin Gareus
2017-08-11Fix MSVC builds (binding external static members)Robin Gareus
This Revert "Lua GUI Instance update: prepare for template scripts" commit c37cdf548d14b01744ff560217fb55958e6992fc.
2017-08-10Update Lua os.exec, SystemExec APIRobin Gareus
We can't use Lua to construct a PBD::SystemExec Obejct. Lifetime of the object is bound to the Lua interpreter or local function scope. Destroying the C++ object terminates the process. Additionally to adding a dedicated method, we also override the existing os.execute Lua libary method with a rt-save (vfork, close filedescriptors) wrapper.
2017-08-10Lua GUI Instance update: prepare for template scriptsRobin Gareus
2017-08-10Add a Lua SetSession signal/hookRobin Gareus
2017-08-10Lua Script Sandbox - GUI partRobin Gareus
2017-08-09Add Lua bindings to set toggle-actionsRobin Gareus
2017-08-08SystemExec Lua bindings (vfork, fire+forget)Robin Gareus
2017-08-07Fix Windows builds (amend 7009ff03)Robin Gareus
2017-08-06Update Selection API to include all StripablesRobin Gareus
2017-07-19Expose editor-vertical zoom lua bindingsRobin Gareus
2017-06-22Remove LocaleGuards from LuaInstance state methodsTim Mayberry
There are no float <=> string conversions in these methods and g_base64_encode etc functions are not affected by locale.
2017-04-26Skip script-setup if there are no parameters (and name is unique)Robin Gareus
2017-04-25Lua: Action Script Dialog & MessageBoxRobin Gareus
2017-04-19Use XMLNode::set_property API in LuaInstance classTim Mayberry
Didn't seem worth converting from XMLNode::property API to XMLNode::get_property and there may be some ordering issues.
2017-03-27optimize LuaInstance::get_action_state, LuaInstance::get_hook_stateRobin Gareus
Lua serialize() is called recursively and concatenates strings. (in Lua that results in a new string on the stack, with 2 unused old strings). Collecting garbage every time becomes expensive, so do it only once at the end. GUI scripts are not memory limited anyway.
2017-02-24Save Lua script file origin (for later updates) -- GUI+Session pluginRobin Gareus
2017-02-24Add some convenient public editor methods (for lua-bindings)Robin Gareus
and s/get// in the old API for consistency.
2017-02-24re-order inheritanceRobin Gareus
LuaBridge only allows one parent class, others need explicit casts. Allowing RoutUI to be passed as Selectable argument is handy.
2017-02-23Lua bindings to access editor selection + region selection bindingsRobin Gareus
2017-02-20Lua binding for pango_cairo_layout_path (text outlines)Robin Gareus
2017-02-19Allow to un/load Lua Session Scripts in the Script ManagerRobin Gareus
2017-02-18Remove LuaCairo.color_to_rgba (now Ardour.LuaAPI.color_to_rgba)Robin Gareus
2017-02-17Add Lua API to convert Canvas::Color to Cairo RGBARobin Gareus
2017-02-17Allow Lua action scripts to provide a button iconRobin Gareus
2017-02-17Mark session dirty when changing scriptsRobin Gareus
2017-02-02fix crash when closing session w/action hooksRobin Gareus
drop_callback() deletes the Callback itself (lua state is invalid)
2017-01-20Free some one time alloc of the UI (cleaner valgrind output)Robin Gareus
No incremental leaks here.. * downcase (const char*) uses strdup, caller needs to free * free allocated cursors when the editor is destroyed * drop static editor lua-instance & bindings * delete allocated gtk image/icons
2016-10-05fix interface - proessor_selection is not a Lua C-FunctionRobin Gareus
2016-08-26forward Lua print() to Ardour's Log.Robin Gareus
2016-08-26add a static function to access processor selection from a Lua scriptRobin Gareus
local ps = ArdourUI.processor_selection() for p in ps:iter() do print (p:name ()) end
2016-07-25the endless quest to plug memory leaks -- episode 379Robin Gareus
2016-07-24add a lua timer callback signalRobin Gareus
2016-07-18add some strategic lua gc steps.Robin Gareus
2016-07-18remove old a3_curl API and switch some curl callsRobin Gareus
Keep freesound-moocher as is until freesound-apiv2 branch is merged or rebased.
2016-07-17quick hack to test SSL in bundlesRobin Gareus
this needs to be reverted, and we need a proper curl wrapper, shared by video-timeline AND freesound moocher