Commit Graph

28 Commits

Author SHA1 Message Date
Robin Gareus 54c765ad2a Expose preference to use NSGLView on macOS 2023-01-20 21:54:11 +01:00
Robin Gareus 6ddeaa273a
Do not use openGL backed canvas + widgets on Catalina
This needs testing: local builds on Catalina vs.
running existing (10.6, 10.11) builds on 10.15.
2020-03-24 14:27:36 +01:00
Robin Gareus 853bf6d178
Add API to query OSX/MacOS version 2020-03-24 14:25:22 +01:00
Paul Davis b8460441fb restore early-return from fixup_bundle_environment() on macOS if not running from a bundle
Mistakenly removed while getting stdout/stderr logging to work
2019-12-30 10:36:04 -07:00
Paul Davis dd509d1eca move i/o redirect for macOS bundle before no_app_nap() and comment 2019-12-14 10:22:25 -07:00
Paul Davis 9743d75fc2 remove use of os_log() API from macOS
This enables building on earlier versions of that platform. It was only used for debugging anyway
2019-12-14 09:02:12 -07:00
Paul Davis f009f10894 fix up stderr and stdout on macOS to write to log files in ~/Library/Preferences/PROGRAM_NAME 2019-12-13 13:14:15 -07:00
Paul Davis 3437fec785 fix ASL logging/stdout+stderr when running from terminal in macOS 2019-12-12 13:33:11 -07:00
Robin Gareus 65b6f39e21
Undo habits of a Serif font lover 2019-12-05 23:33:27 +01:00
Robin Gareus a46bbabdaf
Load and register ArdourSans font at application start 2019-12-04 19:01:44 +01:00
Robin Gareus 7f11d13c8a
Fix prev commit, g_setenv() params 2019-10-23 23:59:59 +02:00
Robin Gareus 9cae196a04
Allow to run Ardour without start-script on MacOS
This might break JACK, since the previous environment
is no longer re-set before calling JackConnection::open(), then
again, no Ardour does not un/set any critical env variables on MacOS.
2019-10-23 22:54:19 +02:00
Robin Gareus 4050ca5633
Update GPL boilerplate and (C)
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.
2019-08-03 15:53:15 +02:00
Robin Gareus dade5fca7d Fix --no-nls (3/5), prefer #if in gtk2_ardour
This is for consistency with system-wide gettext.h which is used
by some 3rd party libs. system-wide gettext uses `#if ENABLE_NLS`,
not #ifdef
2018-09-21 19:04:06 +02:00
Thomas Brand 63ea7b6516 NO-OP whitespace (updated GH PR #357) 2017-07-01 19:28:26 +02:00
Paul Davis 25ec63968c add code to disable AppNap on OS X/MacOS
Should build on versions before 10.9 and run everywhere due to respondsToSelector check.
2016-08-19 11:12:35 -04:00
Paul Davis cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Paul Davis 77a36d6392 compile-time test for useful ASL API 2016-04-25 09:37:27 -04:00
Paul Davis 2fabe64bbb restore sending stderr/stdout to the console
This is done unconditionally right now for any ARDOUR_BUNDLED case. Need to
find a conditional, so that we can run from the command line/inside a debugger.
The -psn_XXXX argument will likely work
2016-04-24 11:25:03 -04:00
Paul Davis dafb9ee0e6 the variable used to define GTK2 RC files is GTK2_RC_FILES not GTK_RC_FILES (it was changed in GTK+ back in 2002 2015-12-07 12:38:17 -05:00
Robin Gareus dc36b063bf remove unused fstream includes 2015-10-05 22:15:18 +02:00
Robin Gareus 22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis 4dc63966f0 globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Paul Davis ebf3c6adb9 fix typo after localedir change 2015-04-17 11:55:17 -04:00
Paul Davis 76b28e7ff2 fix novice-level mistake that causes localedir to point to random, reusable (typically stack) memory 2015-04-17 11:00:33 -04:00
Robin Gareus a09e942eec OSX: pango & gtk-pixbuf modules be gone. 2015-03-23 16:27:34 +01:00
Tim Mayberry cd12698b9c Rename PBD::find_file_in_search_path to just PBD::find_file
saves a bit of typing and not necessary if you look at how it is used.
2014-06-25 12:40:10 -04:00
Paul Davis 3b5cc5a9fd move fixup_bundle_environment() code into per-platform files 2014-03-02 11:30:51 -05:00