summaryrefslogtreecommitdiff
path: root/gtk2_ardour
AgeCommit message (Collapse)Author
2016-09-13Rename Struct defined in freesound header to be less genericTim Mayberry
This could potentially conflict with a struct declared in the ardour/soundcloud_upload.h file.
2016-09-13Remove duplicate header includes in gtk2_ardourTim Mayberry
2016-09-13Add missing header include guards in various gtk2_ardour headersTim Mayberry
2016-09-12allow running from src-tree using system-wide gtk-themes w/color defsRobin Gareus
2016-09-11Fix #7015, Crash while aborting Region trim using Esc keyTim Mayberry
There were two issues: The first is that TrimDrag::aborted was calling TrimDrag::finished with a null GdkEvent which caused a segfault when dereferencing. So avoid that by passing in a dummy event as we are just going to undo the operation in the next step anyway so it shouldn't matter if it is valid(AFAICT). The other is that TrimDrag:aborted was calling Editor::undo() which was in turn calling TrimDrag::aborted leading to infinite recursion and stack overflow. Calling Session::undo() directly seems to avoid that issue. This fix feels like a bit of a hack...but it seems to work and is better than a crash.
2016-09-11Fix #7003, Store/Restore state of checkboxes in Export dialogTim Mayberry
2016-09-09closing the normalize dialog should not run normalize (#7016)Paul Davis
2016-09-09fix WM close handling for session lock dialog (#7017)Paul Davis
2016-09-06add ActionManager::rec_sensitive_actions and put "add track/bus" in this ↵Paul Davis
group, which is disabled during active recording
2016-09-06use moved version of reset_focus()Paul Davis
2016-09-06use moved version of reset_focus()Paul Davis
2016-09-06move kbd focus reset method into ARDOUR_UI where it (probably) belongsPaul Davis
2016-09-06Update clear-gray-ardour.colorscooltehno
This commit changes item "gtk_bases" from light (color22) to darker (color88). The knob of "Enable/Disable MIDI input" in Edit List had the same colour and was not visible. This commit makes it clear visible, and it has no much influence on a general design.
2016-09-06use existing Editor::reset_focus() method to reset focus after audio clock ↵Paul Davis
editing is done
2016-09-06do not set the focus widget to be a toplevel window in Editor::reset_focus.Paul Davis
See comments in code for the reason why
2016-09-07Remove unused variable.nick_m
2016-09-05Fix the tempo note-type hallucination.nick_m
- after reports that a tempo with non-4.0 note type would produce a ramp in the preceding section, an incorrect assumption was made leading to a bogus 'fix' that redefined Tempo's pulses_per_minute(). the real fix was simple: the ramp's function constant was calculated using the note type of the proceding tempo rather than the current one. - this patch reverts e82482e8e9c and a4d67279e0086258 and maintains the old definition of Tempo::pulses_per_minute()
2016-09-04Fix graphical issues in tempo curve.nick_m
2016-09-02Ensure the correct position is passed to MidiRegionView::get_grid_beats().nick_m
2016-09-02Editor::get_grid_type_as_beats() returns the quarter note equivalent of BBT ↵nick_m
beat and bar.
2016-09-01Fix a bug when formatting time stringsJohn Emmas
It seems that 'strftime()' (on Windows) works differently from its non-Windows counterparts. Specifically, some formatting options (e.g. %F) are not recognised in the Windows implementation. Fortunately, glibmm comes to our rescue here! So let's use the glib implementation which will hopefully work the same on all platforms.
2016-08-31No-op - rename var in MidiRegionView::note_dropped().nick_m
2016-08-31NoteCreateDrag uses quarter-notes.nick_m
2016-08-31MidiRegionView uses quarter note snapping.nick_m
- also ensures poiinter ghost note respects the snap modifier.
2016-08-31Use quarter-note based 'beat' when snapping.nick_m
2016-08-29NOOP: whitespacePaul Davis
2016-08-29improved (more general) fix for preferences window visibilityPaul Davis
2016-08-29Revert "apparent fix for preferences window visibility"Paul Davis
This reverts commit 9d6d9c650193fa098c0d85c505b5eb3b61f8d2f8.
2016-08-29apparent fix for preferences window visibilityPaul Davis
2016-08-28fix focus-on-clock action5.3Paul Davis
2016-08-28Fix a crash when toggling back and forth between a generic plugin GUI window ↵John Emmas
and a VST plugin's own GUI
2016-08-28Fix a crash when we display the 'Plugin Analysis' window (in a generic ↵John Emmas
plugin GUI window) and then close the GUI
2016-08-27single action punch in5.2Paul Davis
Consecutive execution (e.g. from a control surface button) engages punch in, then punch out, then clears both. Patch by Nathan Stewart
2016-08-27NO-OP: indentationPaul Davis
2016-08-27fix display of preferences window when detached.Paul Davis
GTK+ apparently unpacks/hides a widget whose requistion at window show/packing time is negative for x or y axes. The RC option editor was being created AFTER its Tabbable self packed it into its own window (when detached), and GTK+ rejected it because the treeview had a size requisition with -1 for width. So build it first, then call Tabbable::set_state() later
2016-08-26forward Lua print() to Ardour's Log.Robin Gareus
2016-08-26Update CC automation menu when changing channel selectionJulien "_FrnchFrgg_" RIVAUD
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-08-26fix a-eq grid layoutRobin Gareus
2016-08-25add len ovens to the authors listPaul Davis
2016-08-25add nascent poly-phonic pressure to automation menu for MIDI tracksPaul Davis
2016-08-25Fix astate setting for combo parameters when setting all astateJulien "_FrnchFrgg_" RIVAUD
Don't try to be smart when chosing which parameters need their automation updated but rather trust the list that was populated at creation time when all relevant information had been gathered.
2016-08-25Avoid 1px size changes when sizing_text() is usedJulien "_FrnchFrgg_" RIVAUD
When requesting a size for ArdourButton, the width and height of the button could be increased by one to ensure the center of the text would lie exactly at the center of the button. I initially thought that it was a good idea even when the text used for sizing was frozen, but the main (and only?) use-case for that is to actually freeze the size of the button regardless of the actual displayed text, so jittering by one pixel is not welcome. Only do the centering tweak if there is no sizing text.
2016-08-24Fix string to float conversion when typing gain values in Gain MeterTim Mayberry
Remove the LocaleGuard so that the value of LC_NUMERIC is that of the users locale and sscanf will parse the string correctly. For instance, with a locale like nl_NL or fr_FR where the decimal point is different than the "C" locale, only the number up to the decimal point will be parsed by sscanf and input values will be rounded down.
2016-08-24fix generic GUI layout for no-control UIsRobin Gareus
2016-08-24Don't attempt to snap to the current musical grid when dragging tempi.nick_m
2016-08-22better late than neverRobin Gareus
2016-08-22use user-specified insertion point when adding new tracks/busses with a templatePaul Davis
2016-08-22use insert at specification when duplicating tracks/bussesPaul Davis
2016-08-22fix signed/unsigned warningPaul Davis