summaryrefslogtreecommitdiff
path: root/gtk2_ardour/utils.cc
AgeCommit message (Collapse)Author
2014-06-19explanatory commentPaul Davis
2014-06-19change the way font specifications are used in UI config filesPaul Davis
If no font family is specified, enforce use of Sans to match GTK behaviour (which we inadvertently relied on, it appears)
2014-06-13do most of the work related to adding new anchored trim cursors (but ↵Paul Davis
debugging/analysis continues)
2014-06-10add ::get_icon_sets() to utilsPaul Davis
2014-06-10change ::get_icon_path() and ::get_icon() to accept an "icon set" name to ↵Paul Davis
provide ability to use different sets of icons; use when creating MouseCursors
2014-06-09substantial changes in color management, involving a reduction in the use of ↵Paul Davis
Gdk::Color and more consistent logic for region coloring. Group tabs now also get the text drawn in an appropriately contrast-y color
2014-03-04mingw build fixes (tested with i686-w64-mingw32 on linux-x86_64)Robin Gareus
2013-10-14'gtk2_ardour' - Harmonize '__WIN32__', 'OS_WIN32' etc, etc. Use ↵John Emmas
'PLATFORM_WINDOWS' instead
2013-10-06Merge branch 'master' into windows+ccJohn Emmas
Conflicts (hopefully resolved): gtk2_ardour/ardour_ui.cc gtk2_ardour/ardour_ui.h gtk2_ardour/ardour_ui_options.cc
2013-09-23move rate_as_string() from EngineControl to utils.ccPaul Davis
2013-09-23major rearrangement of startup/session loading codePaul Davis
first-time user code remains in ArdourStartup session selection/setup moved to SessionDialog many other cleanups, logic improvements, and so forth to the overall session loading process. Not 100% finished yet.
2013-09-21Merge remote-tracking branch 'remotes/origin/cairocanvas' into windowsJohn Emmas
Conflicts (hopefully resolved): gtk2_ardour/marker.cc gtk2_ardour/midi_region_view.h gtk2_ardour/region_gain_line.h gtk2_ardour/utils.cc gtk2_ardour/video_image_frame.cc gtk2_ardour/wscript libs/backends/jack/wscript
2013-09-16Merge branch 'master' into cairocanvasPaul Davis
2013-09-16fix conflicts and merge with masterPaul Davis
2013-09-16check for an existing PublicEditor instance AFTER attempting to handle a key ↵Paul Davis
press in a window that has called relay_key_press(), so that normal key handling works there (e.g. audio/MIDI setup)
2013-09-14fix merge conflicts with masterPaul Davis
2013-09-13Merge branch 'master' into windowsPaul Davis
2013-09-12prevent key press in pre-main-window dialog(s) from crashing the program ↵Paul Davis
because there is no editor window to forward key presses to
2013-09-12incomplete merge of master into windows (requires upcoming changes to master ↵Paul Davis
to be complete)
2013-09-06Rename SearchPath class SearchpathTim Mayberry
Windows headers define SearchPath which means we have to undefine it where necessary. This is a pain and can be tricksy, so I feel renaming the class slightly is the easiest solution.
2013-08-08get meter color from gtkrc style fileRobin Gareus
2013-08-05fix conflicts after merge with masterPaul Davis
2013-07-31fix merge conflict from masterPaul Davis
2013-07-30remove compile errors (still will not link and JACKPortEngine is not close ↵Paul Davis
to done)
2013-07-28fix compiler warnings.Robin Gareus
2013-07-24get meter color from gtkrc style fileRobin Gareus
2013-07-13Don't call pango_ft2* functions on windowsPaul Davis
2013-07-11Use g_random_int instead of ::random for portabilityPaul Davis
2013-06-27remove dead code (we have git) plus add a commentPaul Davis
2013-06-27use HSV to pick random colors and avoid over-saturation or over-brightnessPaul Davis
2013-06-21fixed const cast warningPaul Davis
2013-06-13merge with masterPaul Davis
2013-06-10move emulate_key_event() to utilsRobin Gareus
2013-04-18semi-fix xfade display, and reduce number of calls to Curve::get_vector() by ↵Paul Davis
a factor of two
2013-04-04initial commit of hand merging, plus getting "ancient" waf script to work ↵Paul Davis
correctly
2013-03-23Fix some compilation warningsJulien de Kozak
2012-12-08additional keycode for is-legal-as-numericPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13622 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-08accept decimal point as wellPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13621 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-08locale debuggingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13620 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13determine whether or not to accept comma or period as a numeric character ↵Paul Davis
based on locale settings (once per instance of ardour), related to #5027 git-svn-id: svn://localhost/ardour2/branches/3.0@13481 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-13remove a bunch of cerr output and/or convert to use error<<Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13477 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-10add -Wpointer-arith -Wcast-qual -Wcast-align and others to compile flags, ↵Paul Davis
and fix const cast warnings generated by new flags git-svn-id: svn://localhost/ardour2/branches/3.0@13124 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-27slightly more debugging for kbd accelsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13095 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-27comment code that stopped the keybd accel activation pathway if ↵Paul Davis
Keyboard::some_magic_widget_has_focus() is true. this was OS X only and (a) appears to be unnecessary (b) stops accels from working in windows that still handle some key events git-svn-id: svn://localhost/ardour2/branches/3.0@13094 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-23Use std::string instead of PBD::sys::path in pbd/search_path.h, ↵Tim Mayberry
pbd/file_utils.h and ardour/session_dir.h git-svn-id: svn://localhost/ardour2/branches/3.0@12829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-12Escape angled brackets in playlist names for tooltips.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Remove over 500 unnecessary includes (including 54 of session.h).David Robillard
It's slightly possible that this causes trivial build failures on different configurations, but otherwise shouldn't cause any problems (i.e. no actual changes other than include/naming/namespace stuff). I deliberately avoided removing libardour-config.h since this can mysteriously break things, though a few of those do seem to be unnecessary. This commit only targets includes of ardour/*.h. There is also a very large number of unnecessary includes of stuff in gtk2_ardour; tackling that should also give a big improvement in build time when things are modified. git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-18major rationalization of use of search paths. ardour now has just 4 ↵Paul Davis
functions used to define how external resources are located: ardour_config_search_path() (for system or user specific configuration data), ardour_data_search_path() (for machine, user and system independent data), ardour_dll_directory() (base directory where shared libraries are found) and user_config_directory(). These are now used throughout the code. the config, data and dll paths/directories can be overridden by environment variables. the user config dir is added as the first element of the first two search paths, and use selectively when searching for a few other things. This commit re-enabes ./waf install, and it is believed that it works fully at this point (more testing likely required) git-svn-id: svn://localhost/ardour2/branches/3.0@12326 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-09forward-port some fixes from a2Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-07Remove unused color_from_style / gc_from_style.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11618 d708f5d6-7413-0410-9779-e7cbd77b26cf