13
0
Commit Graph

7876 Commits

Author SHA1 Message Date
b54863c8c3 Set new note velocity based on surrounding notes. 2014-12-28 19:21:46 -05:00
815a8b09e4 follow 113bc3b38e, tentative clock-font size update.
This really needs a better solution.
2014-12-29 00:05:58 +01:00
957e72724c quick hack to lighten up font scale slider tick-marks 2014-12-29 00:05:58 +01:00
4973ddc478 Fix events for short notes at region start/end. 2014-12-28 17:45:24 -05:00
6a73fd337c Update note colors when model changes. 2014-12-28 16:06:44 -05:00
4c0cebf7f9 MIDI transform dialog. 2014-12-28 16:06:44 -05:00
dbc2f59453 Remove pointless register specifier and warning. 2014-12-28 16:06:44 -05:00
31641179f9 Fix potential pop of empty enter stack. 2014-12-28 16:06:44 -05:00
000ffe2c7e reduce clumsiness of font-scale slider:
* work-around update/snap on release
* remove textual display with decimals
* towards ending the 'font-scale percent' discussion
2014-12-28 19:29:39 +01:00
f3604814a4 use ldflags for wine linking
fixes issue with eg. wine-unstable:
--also-libdir=/usr/lib/i386-linux-gnu/wine-unstable/
2014-12-28 15:18:39 +01:00
8bd53e2edb fix marker rendering and layout 2014-12-28 15:01:59 +01:00
c14f6c59db apply font-scale to overall layout (rulers, track-header) - fixes #6088 2014-12-28 15:01:49 +01:00
c2eea34fb0 add note that font-scale changes require a restart. 2014-12-28 14:09:33 +01:00
28fb110dd3 fix [rare] concurrent build issue:
[709/779] subst: headless/hardev_common.sh.in -> build/headless/hardev_common_waf.sh
[710/779] hardev_common_waf.sh: -> build/headless/hardev_common_waf.sh
chmod: cannot access `headless/hardev_common_waf.sh': No such file or directory
2014-12-28 10:20:25 +01:00
ffa6954875 fixup LED size (font-scaling)..
..until there's a better solution.
2014-12-27 18:05:42 +01:00
99cfd00e86 remove unnecessary scoping 2014-12-26 13:04:48 -05:00
c5db19bc52 fix "alt+g" duplicate range selection.
This is a somewhat wacky workaround but no there is
no better solution in sight.

Related bug:
 select range, save, quit, restart & re-load session
-> range selected but tool == object
2014-12-26 13:10:01 +01:00
12a7f12b0b Context menu for applying edits to note selection. 2014-12-25 15:32:10 -05:00
6b1c171dc2 Fix warnings. 2014-12-25 13:50:00 -05:00
1de39b8971 Add instrument selector to import dialog.
Idea here is for importing large multi-track MIDI files to be immediately
listenable upon play without tediously adding a ton of instrument plugins
manually.
2014-12-24 20:07:10 -05:00
10ad55fcf5 Factor out instrument selector. 2014-12-24 18:39:15 -05:00
49b7a46805 Fix potential memory errors with note player.
Seems unlikely, but if the event firing stuff is off, it could trigger the
issue (#5502) and/or a possible memory leak.
2014-12-24 16:54:38 -05:00
fb5ea0ca92 Fix sticky snap mode/type selectors. 2014-12-24 15:11:25 -05:00
5b28e0bc6f Fix position of AU GUIs.
I'm not sure if this will be right everywhere, but it's perfectly centered for
me and corresponds to the spacing/padding that's present, so it seems right.
2014-12-24 13:00:32 -05:00
8c8bc51034 Fix OSX build. 2014-12-24 13:00:32 -05:00
ac2b11b863 windows package details:
* add 'bug' icon for gdb
* add a shortcut to xjadeo (if installed)
* quiet rsync
2014-12-24 14:33:48 +01:00
0b471df0c3 fix clang compilation
error: call to function 'operator>>' that is neither
visible in the template definition nor found by argument-dependent lookup. 'operator>>' should be declared prior to the call site.

IOW. types.h must be included before using ‘ss >> (T) value’ in
template in pbd/configuration.h
2014-12-24 05:00:39 +01:00
bec521c6a7 proper default setup and fallbacks for video on windows 2014-12-24 01:36:46 +01:00
30c648f335 consolidate video-tool filepaths - step three:
prefer versions registered in HKLM Software\Ardour\video
2014-12-23 23:43:24 +01:00
67f6f84224 consolidate video-tool filepaths - step two:
common windows registry query
2014-12-23 23:43:24 +01:00
9c251037f0 consolidate video-tool filepaths - step one
1:1 cut/paste
2014-12-23 23:43:24 +01:00
62355de33a Fix cursor update on nested entry.
For example, if you're in a note and something about the mode changes, it's the
underlying region context that needs to change.  So, seems we need a stack of
entry contexts to deal with this sort of thing.

Switching in/out of smart mode still doesn't update immediately because we
don't have the y-coordinate needed to update it.
2014-12-23 13:47:59 -05:00
e00c579fb2 Update canvas cursor on pop. 2014-12-23 13:47:59 -05:00
ea2e80f298 fix slow behaviour when changing visible track height in Editor::set_visible_track_count() 2014-12-23 12:41:32 -05:00
7e17ccfeb7 change font scaling default in code and default_ui_config to 100%.
Incorrect value was caused by misremembering how Pango::SCALE works.
2014-12-22 21:08:01 -05:00
5cc64d0711 change font scaling default in code and default_ui_config to 100%.
Incorrect value was caused by misremembering how Pango::SCALE works.
2014-12-22 21:07:31 -05:00
d854c5d93c move ARDOUR::Configuration and ARDOUR::ConfigVariable into libpbd 2014-12-22 19:48:30 -05:00
1f0fbea628 reorder members and constructors to ensure null pointers for ARDOUR_UI::{editor,mixer} 2014-12-22 19:48:30 -05:00
1211278a2b consolidate zoom-to-range and zoom-to-regions into: zoom-to-selection. ToDo: zoom to selection of midi notes, control points, tracks(?) 2014-12-22 17:42:43 -06:00
64fa63212f move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration 2014-12-22 13:39:46 -05:00
35537aac69 fix color parsing on 32bit systems 2014-12-22 04:48:32 +01:00
113bc3b38e reduce all default font sizes on Linux by 80%
If you use font scaling of 80% you may wish to reset it to 100% to get almost the exact same font sizes as previously. Normal size is now 8pt,
rather then 10pt as before
2014-12-21 11:55:08 -05:00
fa72223268 restore ardour-style ruler labels for timecode ruler.
Also reduce font size used to a cross-platform single definition.
2014-12-21 11:55:08 -05:00
David Robillard
670938c8c4 Fix various cursor problems.
Add a new scoped cursor system that makes it much harder to screw up and end up
with stick cursors and so on.
2014-12-20 01:13:25 -05:00
21f5859981 fix double-free/crash at session close 2014-12-19 21:30:22 +01:00
1823126408 Implement configurable region selection after split
Implement the configured behaviour of region selection after split.
2014-12-19 17:12:04 +00:00
d4a3141927 Add a config option to control region selection after split.
Add a configuration variable to choose the behaviour of the region
selection after splitting selected regions.

Add options to choose between all eight possible combinations of 'existing
unmodified selected regions', 'newly-created regions to left of split',
and 'newly-created regions to right of split', but comment out all but the
three least crazy ones for now. If anyone wants them, they're there.
2014-12-19 17:12:04 +00:00
f4e0fec179 new color modifiers plus adjust default time axis view item/region transparency to 0.7 2014-12-19 12:07:04 -05:00
00887f94dc more color/modifier tweaks 2014-12-19 12:06:42 -05:00
f20933b80f allow theme control of sync mark colors 2014-12-19 10:07:20 -05:00
b73477b250 add more controllable modifiers for region transparency 2014-12-19 09:53:51 -05:00
David Robillard
d936e6f3b5 Expand transport buttons to fill vertical space. 2014-12-18 23:20:17 -05:00
95042d941d Move object tool to "grab" tool (key g).
Makes all tools under the left hand and eliminates the need for toggling.
2014-12-18 20:33:10 -05:00
341146a975 Remove mouse mode toggling. 2014-12-18 20:26:43 -05:00
66870ddf09 Restore snap when switching to/from internal. 2014-12-18 20:23:34 -05:00
6031308520 Use color modifiers for dynamic region styles. 2014-12-18 20:23:34 -05:00
a12a065457 Fix copy paste of MIDI and track automation. 2014-12-18 20:23:34 -05:00
026f7bf5b7 Make MIDI regions translucent for internal tools. 2014-12-18 20:23:23 -05:00
7ab8a11fb5 Enforce internal/external selection exclusivity. 2014-12-18 20:22:48 -05:00
cebf191cba Make tools toggle-like by switching to last mode. 2014-12-18 20:21:05 -05:00
5fef655380 Remove internal edit mode and add "content" tool. 2014-12-18 20:21:01 -05:00
4453803c0c This fixes a bug where an impossible keybinding assignment is possible.
It also makes it behave similar to the gtk keybinder. See Bug 5888 for more
details. From pull request #82 @ github, from Domohawk
2014-12-18 11:14:41 -05:00
0d771999ac expand help menu with various useful entries.
From Georg Kraus. Addresses #5783, and was github pull request #67. Manually applied via .diff because of merge mechanics issues
2014-12-18 11:09:10 -05:00
nick_m
9af9e17adc Add editor selection state to session history via a SelectionMemento, which
combines selection related editor properties with the current editor selection.

The related editor properties are:
mouse mode,
zoom setting,
left frame of the canvas,
y origin of the canvas.

Selection state now includes region views (storing the underlying region id)
and time.

This patch also fixes a region mute undo bug.
2014-12-18 11:03:10 -05:00
Julien de Kozak
2c8a769aae Fix crash if new tempo is set to start at bar #0 / Follow-up for non movable meters 2014-12-18 10:49:12 -05:00
Julien de Kozak
d2e966aac4 Fix crash if new tempo is set to start at bar #0 / Follow-up for non movable tempos 2014-12-18 10:49:12 -05:00
Julien de Kozak
444ec162ae Fix crash if new tempo is set to start at bar #0 2014-12-18 10:49:12 -05:00
5f66300349 Support stepping bank by shift+scroll/arrow. 2014-12-17 20:18:11 -05:00
d2cafbe95a Remove some aborts that don't really need to be.
Enforce PatchPrimaryKey sanity at the type level rather than attempting to
check for it everywhere.

Remove dead file.
2014-12-17 19:43:09 -05:00
6e912a0aa3 Fix display of MIDI notes/regions while recording.
Make record rect transparency configurable.

Factor out some copy-paste streamview code.
2014-12-17 18:41:23 -05:00
0f63ac06a4 Remove unused variables. 2014-12-17 18:41:23 -05:00
a706755710 Fix various MIDI locking issues.
Attempt to make mistakes much less likely in the future by statically requiring
caller to pass scoped locks where necessary.
2014-12-17 16:07:29 -05:00
1fa9edd872 insensitive buttons should be shaded towards the gtk_background color, not hardcoded gray 2014-12-17 14:17:32 -06:00
da2043e179 Force ghost note positive in all circumstances. 2014-12-17 03:17:07 -05:00
733f517948 Fix potential crash when right clicks go astray.
This should be impossible, since nothing but an audio region should have a fade
to begin with, but just doing nothing in this case does no harm.
2014-12-17 03:06:23 -05:00
5ee4a5d56a Don't allow drawing notes in rec regions (crash). 2014-12-17 02:50:45 -05:00
e0cb9efb00 Various color tweaks.
This commit changes some color names, nuke your theme.  This isn't quite ideal
yet, but takes some steps towards where I think things should go aesthetically:

Make automation tracks/regions colors correspond to their parent's type.

Make selected MIDI notes outlined in red like most everything else, and scrap
separate min/mid/max fill colors for selected MIDI notes.

Color automation ghost MIDI notes based on original note color.

Try to kill 90's looking brightish gray gradients in general.
2014-12-16 00:05:45 -05:00
211f8f61d7 Fix control point colors. 2014-12-16 00:04:06 -05:00
e90ecdd5c5 Fix marker bars "gradient" colors. 2014-12-16 00:02:06 -05:00
f8ae456aaa fix editing of nested/group item colors in theme manager 2014-12-15 15:54:10 -05:00
76733daf63 add some alpha to "covered region" coloration 2014-12-15 14:49:17 -05:00
f88804b788 fix some missing color definitions 2014-12-15 14:31:43 -05:00
5471ef8a79 make editor rubber band rect have appropriate transparency 2014-12-15 13:37:25 -05:00
a5aa2df6fc add localeguard to read floating point values correctly when loading theme modifiers 2014-12-15 13:30:56 -05:00
4791c51d0f tweak up transparency editor in theme panel 2014-12-15 12:48:31 -05:00
f6e88ead01 move theme manager into preferences window 2014-12-15 12:32:41 -05:00
8b23001441 add editor to Theme Manager for modifiers 2014-12-15 12:07:05 -05:00
94b6dd7f87 final modifier 2014-12-15 10:47:51 -05:00
2145fd2973 next 2 modifiers 2014-12-15 10:46:15 -05:00
eac478495e next modifier 2014-12-15 10:43:39 -05:00
bf7fa8e3db next modifier 2014-12-15 10:41:46 -05:00
d8594a9b20 remove unused color 2014-12-15 10:37:50 -05:00
aa8fa1fe4f next modifier 2014-12-15 10:36:38 -05:00
1ab2705b4b next modifier 2014-12-15 10:32:17 -05:00
651fc9f68e next modifier 2014-12-15 10:25:42 -05:00
bd6682f2cd next modifier 2014-12-15 10:22:22 -05:00
1fd681604e next modifier 2014-12-15 10:21:08 -05:00
7b023f4ee0 next modifier 2014-12-15 10:11:21 -05:00
666f33b463 next modifier 2014-12-15 10:02:20 -05:00
ccbedaee51 next modifier 2014-12-15 10:00:20 -05:00
3b863af475 remove color 105 since nothing uses it 2014-12-15 09:48:13 -05:00
04a1893ffd next modifier, and remove color 102 since nothing uses it 2014-12-15 09:47:39 -05:00
7995f4f61e next modifier 2014-12-15 09:30:14 -05:00
70e517380c add 22 modifiers to dark.colors and start using the first one (for crossfade alpha) 2014-12-15 09:05:25 -05:00
811677c543 fix incorrect item name for color 2014-12-15 09:05:01 -05:00
dc934ab90d Add UIConfiguration::color_mod (colorname, modifiername) to get a modified color 2014-12-15 09:04:41 -05:00
4908685d5e fix meter color definitions (extra 0x in every one) 2014-12-15 07:50:45 -05:00
ef26a862e9 add missing UIConfiguration::modifier() 2014-12-14 23:48:20 -05:00
0bdfa05fb3 fix XML syntax error 2014-12-14 23:36:11 -05:00
83326a06ca basic code to use SVModifier plus one definition in dark.colors 2014-12-14 23:34:59 -05:00
56ca52651e fix up requested color names everywhere.
Thank <deity> for emacs ... space-uncamelcase-word-at-point FTW
2014-12-14 16:15:38 -05:00
f00fa04f10 new version of dark.colors 2014-12-14 16:14:47 -05:00
5f98054269 remove now-unused headers 2014-12-14 16:14:32 -05:00
59f32dc80f remove base color concept from UIConfiguration and ThemeManager.
What used to be "relative colors" (defined relative to base colors) are now defined
in absolute terms.
2014-12-14 16:14:18 -05:00
48a7a11974 initial pass to replace all UIConfiguration::get_XXXXXX() calls with UIConfiguration::color(name).
IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
2014-12-14 12:27:07 -05:00
06f2136c4f merge conflict resolution (text colors are no longer specified explicitly) 2014-12-14 12:18:55 -05:00
c98366c7c8 fixed merge conflict 2014-12-14 09:36:01 -05:00
ee38c44109 Structure MIDI device selector by manufacturer.
Unfortunately we store the state of models as simply model, so if there's ever
duplicate model names, we're somewhat screwed, but this makes the (previously
unmanageably huge) menu usable, while retaining the "model name as global
identifier" state unmodified.
2014-12-13 00:37:34 -05:00
17a58ecd4b Use ArdourDropdown for MIDI device selector. 2014-12-12 23:38:41 -05:00
e19e05fc59 hide a lot of color debugging noise 2014-12-12 15:27:32 -05:00
cb13fe578f show-more-ui-prefs-from-view-window is only a mixbus thing 2014-12-12 12:32:32 -06:00
f05a98f4fe more color tweaks 2014-12-12 11:27:29 -06:00
26bd753a11 more color tweaks 2014-12-12 11:03:50 -06:00
c2025a62a6 derive ArdourButton LED inactive color from active color, rather than requiring explicit definition 2014-12-12 11:48:45 -05:00
8de98a1d87 rescue some of the worst casualties of the color changes 2014-12-11 18:01:11 -06:00
8e0cea5128 remove unnecessary button fill color definitions AND fix up "variable" names in COLOR_ALIAS macros (makes no difference to function 2014-12-11 17:05:13 -05:00
66709c8cd0 remove unnecessary button fill colors 2014-12-11 17:04:40 -05:00
75e6a36d8e fall back on "generic button" colors in ArdourButton if specifically named fills + LED colors are not defined 2014-12-11 17:04:21 -05:00
bd430c2080 allow UIConfiguration::color() to tell caller that it could not find the named color 2014-12-11 17:03:52 -05:00
9278ae23c4 tweaks to minsec and timecode ruler display, especially at very high zoom.
Imported from work on Tracks done in Tel Aviv, November 2014
2014-12-11 12:51:01 -05:00
f1fd7feec6 add Grygorii Zharun to contributor list 2014-12-11 09:04:38 -05:00
764a8b9475 fix indentation 2014-12-11 09:04:26 -05:00
GZharun
8962adab4e [Summary] Fixed issue with shifted playhead polygon when new session is created 2014-12-11 08:53:26 -05:00
d3d0e342d4 tracked down another remaining SessionHandleRef
import_status.sources kept references to the
most recently imported ARDOUR::SndFileSource
“all new sources” from Session::import_files()
2014-12-10 21:45:11 +01:00
2bbef1f32e update_time_selection_display should work when in smart mode 2014-12-09 16:18:48 -06:00
e66752cec1 add set-session-extents-from-edit-range 2014-12-09 16:18:47 -06:00
1e0c1751a5 more DEBUG::Butler output, formatting corrections, and a warning on cerr if capture/playback buffers are too full/empty 2014-12-09 16:36:52 -05:00
8e93139872 fix meter scale colors (meterbridge) 2014-12-09 19:41:54 +01:00
246a4f3018 correct install location for .mo files (i18n) and cleanup LOCALEDIR use a bit 2014-12-09 08:19:11 -05:00
1648b94905 install single color theme file during waf install 2014-12-08 22:18:50 -05:00
b7c5f27b14 remove debug output 2014-12-08 22:09:37 -05:00
0bb8e80f87 more tweaking of color management.
User's own modification to NAME.colors are stored in $CONFIG/my-NAME.colors now.
2014-12-08 22:02:38 -05:00
9ac551abab another metric ton of color work 2014-12-08 22:02:38 -05:00
624a86c39d lots more color work, closer and closer to being ready for ... being taken apart again 2014-12-08 22:02:38 -05:00
74becec17f change GTK rc file system to use just a single file, which is color-neutral.
* packaging scripts need modification
* light theme file left in place to help with possible generation of alternate theme
2014-12-08 22:02:38 -05:00
aff8a806a2 more color work, including removing rgba{_p_}_from_style() 2014-12-08 22:02:38 -05:00
8455ebce90 noop, simplify code.
(!mixer || !editor) are checked at the top of the funtion
and also used without checks further down.
2014-12-08 18:47:10 +01:00
894192ca23 When we pass an integer clarify which overloaded version of sqrt() to call 2014-12-08 10:29:45 +00:00
9548b916e7 Don't switch to internal when switching to draw. 2014-12-07 23:59:07 -05:00
4f8714a038 Fix alignment of automation paste.
Preserve alignment between notes and control points when doing an internal
copy/paste of both.

Relative alignment between points on multi-paste is still not preserved.  Both
behaviours here are actually useful, perhaps a modifier...
2014-12-07 23:16:42 -05:00