summaryrefslogtreecommitdiff
path: root/gtk2_ardour/splash.cc
AgeCommit message (Collapse)Author
2019-11-08fix crash if Splash::pop_back_for() is called without splash on-screenPaul Davis
2019-10-11enforce singleton nature of Splash a little more rigorously, and slightly ↵Paul Davis
rationalize it's use
2019-08-03Update GPL boilerplate and (C)Robin Gareus
Copyright-holder and year information is extracted from git log. git history begins in 2005. So (C) from 1998..2005 is lost. Also some (C) assignment of commits where the committer didn't use --author.
2017-05-11Tweak/fix splash screen event-loopRobin Gareus
Prevent possible endless loop in Splash::display() and handle some related edge-cases and race conditions WRT expose_done and is_visible().
2017-04-01NO-OP: whitespaceRobin Gareus
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-05-17group Product/App specific resourcesRobin Gareus
* only install icons relevant to product * use program-name (as-is) as prefix * keep icons/* for all products
2016-02-22splash window should not be marked as a POPUP. Follow master's leadPaul Davis
2016-02-22convert Splash dialog into Gtk::WINDOW_POPUP in the hope that it will float ↵Paul Davis
above all, in all WM's
2015-10-15rework 8b80fe0, use std::string, not char*Robin Gareus
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-19band-aid for Glib::operator<<Robin Gareus
it seems that g_locale_from_utf8() (called by <<) is not thread safe, at least not on OSX. glib error-code 1, Invalid byte sequence in conversion input -> throws Glib::Error. possible fix for #6435, route-creation is interrupted via catch(...)
2015-03-15Remove the use of Window::set_keep_above() throughout startup.nick_m
This has been tested, but needs testing on more platforms (check for obscured windows/dialogs. Also use WIN_POS_CENTER in the "ask about loading session" dialog.
2014-10-22hide splash screen on WindowsRobin Gareus
..until we get GDK window stack to play along.
2014-06-25Rename PBD::find_file_in_search_path to just PBD::find_fileTim Mayberry
saves a bit of typing and not necessary if you look at how it is used.
2014-02-28fix problem with splash window on OS X: requesting a redraw of a hidden ↵Paul Davis
window doesn't result in an expose event being delivered. The splash window was being hidden by default on OS X as soon as someone called Splash::pop_back_for(), because of window layering issues on OS X. But then the next call to ::message() would not return because a recursive event loop was started that waits for the expose event, which never comes. So, (a) show the window when ::message() is called AND (b) remove the recursive event loop because (b.1) we don't seem to need it (b.2) recursive event loops are generally evil.
2014-01-11avoid apple gcc warningPaul Davis
2013-07-04fix race/endless loop on exit:Robin Gareus
if gtk is going away while ardour updates the splash-screen: Gtk-CRITICAL **: IA__gtk_main_quit: assertion `main_loops != NULL' failed
2013-04-30improve relationship between ArdourDialog and Splash on OS X, where window ↵Paul Davis
restacking doesn't really work the way we need it to. more complex than anticipated because it seems that destroying a Gtk::Dialog does not emit its hide() or unmap() or unmap_event() signals
2013-03-04fix display of splash screen (at least on X11)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@14134 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-11redraw entire splash window if a new message is to be displayed but the ↵Paul Davis
window is not currently visible git-svn-id: svn://localhost/ardour2/branches/3.0@13636 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-05tweak to make it more likely (hopefully 100% certain) that the splash window ↵Paul Davis
is fully drawn before we return control to the main event loop. do this by making sure that the idle handler that says "the expose happened" executes AFTER GDK's internal idle-update mechanism, not before it git-svn-id: svn://localhost/ardour2/branches/3.0@13605 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-14mark splash screen as such should fix #5069Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13492 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-10-23escape markup text that may contain non-legal characters (for GMarkup). this ↵Paul Davis
may need to be done more widely git-svn-id: svn://localhost/ardour2/branches/3.0@13318 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-07Set splash screen to non-resizable so it displays correctly in smart window ↵David Robillard
managers. There is an attempt in the code to handle the situation of being allocated more space, but it does not work correctly. The splash isn't resizable anyway, this fix makes it appear as it should. git-svn-id: svn://localhost/ardour2/branches/3.0@13111 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-10OS X-based fixes for splash screen mgmtPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13006 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-07-09cleaner version of splash display changesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13004 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-01Fix silly typo.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@12533 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-01Add GPL boilerplate; fix dangling instance pointer afterCarl Hetherington
Splash is deleted. git-svn-id: svn://localhost/ardour2/branches/3.0@12532 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-04-25remove the apparently unnecessary "ui_bind()" macro from entire source basePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12088 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-10the return of the splash, with a few changes to help with window layering a ↵Paul Davis
little git-svn-id: svn://localhost/ardour2/branches/3.0@11222 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30handle deletion of UI objects between the time that a callback is queued ↵Paul Davis
with the UI event loop and the execution of the callback (intrusive, big) git-svn-id: svn://localhost/ardour2/branches/3.0@6807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-15finalize PROGRAM_NAME change for ardour3Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-21fully implement and deploy explicit x-thread signal connection syntax ↵Paul Davis
(testing comes next) git-svn-id: svn://localhost/ardour2/branches/3.0@6379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-19use new syntax for connecting to backend signals that enforces explicit ↵Paul Davis
connection scope, plus a few other related matters git-svn-id: svn://localhost/ardour2/branches/3.0@6376 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-11make all use of bind/mem_fun be explicitly sigc:: Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@6354 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-14Strip trailing whitespace and fix other whitespace errors (e.g. space/tab ↵David Robillard
mixing). Whitespace changes only. Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21Fix some unused parameter warnings.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-12Remove most using declarations from header files.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@5069 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25*** NEW CODING POLICY ***David Robillard
All #include statements that include a header that is a part of a library bundled with ardour MUST use quotes, not angle brackets. Do this: #include "ardour/types.h" NOT this: #include <ardour/types.h> Rationale: This is best practice in general, to ensure we include the local version and not the system version. That quotes mean "local" (in some sense) and angle brackets mean "system" (in some sense) is a ubiquitous convention and IIRC right in the C spec somewhere. More pragmatically, this is required by (my) waf (stuff) for dependencies to work correctly. That is: !!! FAILURE TO DO THIS CAN RESULT IN BROKEN BUILDS !!! Failure to comply is punishable by death by torture. :) P.S. It's not that dramatic in all cases, but this (in combination with some GCC flags specific to the include type) is the best way I have found to be absolutely 100% positive the local ones are being used (and we definitely want to be absolutely 100% positive on that one). git-svn-id: svn://localhost/ardour2/branches/3.0@4655 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-17merge with 2.0-ongoing @ rev 3147Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@3152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-22Remove SMF file name print for every opened source.David Robillard
Fix crash on startup when installed (splash.png not found). git-svn-id: svn://localhost/ardour2/branches/3.0@3108 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-16Merge with 2.0-ongoing R3071.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@3073 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-02Merge with 2.0-ongoing R2988David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@2991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-02Merge with trunk R2978.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@2988 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-19Comment out splash screen stuff for now (segfaults on every session load).David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@2945 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-19Merge with 2.0-ongoing R2943.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@2944 d708f5d6-7413-0410-9779-e7cbd77b26cf