664f6768f2
Fix windows builds, use portable setenv
2022-10-11 15:13:41 +02:00
John Emmas
43a9ae7458
Use glib to provide setenv()
...
(for some strange reason, setenv() is called putenv() on Windows!!)
2022-10-11 10:46:57 +01:00
Václav Šmilauer
6ad3dc1e43
Fix disabling l10n under Linux
2022-10-10 08:11:52 -06:00
2e2a4be3b2
Fix windows debug builds (SIGUSR1 is POSIX only)
2022-06-14 17:12:30 +02:00
d060348df0
main: add a SIGUSR1 handler to allow dynamic triggering of debug bits
2022-06-13 13:48:37 -06:00
48815bcd1d
Happy New Year, Ardour
2022-01-01 12:47:05 +01:00
851fab7ec3
Print g_log messages to stdout as well
...
This handles an edge-case in case the message arrives
before the UI is up, there is still a message printed,
before Ardour crashes (e.g. when setup_windows() fails).
2021-09-20 04:16:09 +02:00
a8092461f7
Do not terminate on G_LOG_LEVEL_CRITICAL
...
There are cases where gtk modules log critical messages,
notably gtk-2.0/modules/libgail.so can trigger
`g_log: g_object_unref: assertion 'G_IS_OBJECT (object)' failed`,
which should not cause Ardour to terminate.
2021-09-10 23:41:33 +02:00
27b64ac36c
Remove unused headers
2021-09-10 23:41:29 +02:00
0b2c03b0e9
post-rebase manual fixups (GUI)
2021-08-13 12:51:37 -06:00
53c164f9fd
GUI changes to get libtemporal setup at application startup
2021-08-13 12:51:30 -06:00
772d70ae4c
use glib event callback to invoke per-thread code every time the GUI event loop does stuff
2021-08-13 12:51:29 -06:00
8e2c5239c4
add a 2nd glib log handler setup call, because for reasons not entirely clear, g_log_set_handler(NULL, ...) doesn't cover all g_logv messages
2021-08-13 12:51:27 -06:00
16da5419d3
Do not implicitly modify VST support config parameters
2021-08-10 15:54:37 +02:00
4ac7df699d
Windows: limit to single-instance only
...
This may fix corrupt config files, which may happen when multiple
instances write the same file.
2021-07-06 20:59:15 +02:00
caf55e105e
Dynamically load Dr.Mingw
...
This improves compatibility with older systems, notably 32bit WinXP.
2021-01-02 23:19:40 +01:00
f188a1ad10
Bump (C) for a hopefully happier new year
2021-01-01 13:18:43 +01:00
1698928f3d
Transmitter::Debug implementation 2/2
...
This also sorts switch() and listen_to() statements in order
of severity: debug, info, warning, error, fatal, throw.
2020-10-13 21:58:29 +02:00
c6fc4f36a3
Include version in crashdump
2020-09-29 17:34:21 +02:00
c45982ee5a
Console needs to be set up early on
...
If there is any output printed before setting up the console,
there will be no output at all.
2020-09-29 16:46:00 +02:00
d97b0fbf96
Use a better location for windows crashdumps
...
On Windows, a user's $HOME dir may not exist, or not be writable,
also cluttering up the $HOME with crashlogs is not great.
2020-09-29 16:42:27 +02:00
5ebb016544
Add support for Dr.Mingw
2020-09-29 06:06:11 +02:00
f386d1334a
Use shared windows-console setup code
2020-09-20 20:03:05 +02:00
ad2af5123d
tell stdout if setlocale(2) fails
2020-05-01 12:28:52 -06:00
f8b16e9e83
remove a few cerr outputs and change a couple to use cout, since they are not errors
2020-03-25 11:39:32 -06:00
447a045828
do not parse debug options in a non-debug build
2020-03-25 10:34:16 -06:00
a62df60760
Replace some Gtk:MessageDialog with Ardour's variant
...
This fixes some issues with stuck splash screen early on.
2020-01-15 22:08:42 +01:00
f427e38c31
Bump (C) year: the year of Ardour
2020-01-01 13:47:22 +01:00
2b55d6dce3
First batch of MessageDialog replacements
2019-12-14 23:44:01 +01:00
ff3cc400ac
allow setting debug flags via an environment variable (ARDOUR_DEBUG_FLAGS)
2019-12-13 13:14:15 -07:00
58e8fb7aab
alter ARDOUR::init() API to specify whether a GUI is in control or not
2019-10-24 21:32:46 -06:00
1a828f1f4d
Remove redundant call (moved to libardour)
2019-09-10 03:07:17 +02:00
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
0d1d6d6975
remove -C,-E and -U command line options
2019-07-18 14:08:07 -06:00
8f9a1e1cf4
Use exit-status macros for compatibility 3/3
2019-07-04 22:21:49 +02:00
31815b5f26
NO-OP: whitespace
...
This fixes mostly <tab> after <space> and similar <tab> not used
for indenting as well as some related code alignment issues.
2019-04-13 17:57:46 +02:00
9f347f2d7d
Bump main program's (C) year
2019-01-01 16:19:40 +01:00
3dcb7bf3d3
Unhardode log-message domain when logging to stdout
2018-12-09 01:31:27 +01:00
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
f3185032a0
amend a954dca1
: Prost Neujahr!
2018-01-01 04:59:11 +01:00
30b087ab3d
globally change all use of "frame" to refer to audio into "sample".
...
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
e544934780
Call curl_global_init() exactly only once (1/2)
2017-08-31 20:08:47 +02:00
f9e5e4360e
Move more Gtkmm2ext widgets into libwidget
2017-07-17 21:06:04 +02:00
417283d9be
Don't just silently exit if initialization fails.
2017-07-03 14:44:03 +02:00
d4f91010c3
Do not set C++ locale.
...
Ardour translations and GUI string formatting only depends on the C locale.
Modifying the C++ locale may produce erratic results on various systems
(in particular OSX and macOS) and cause incompatibilies with plugins.
2017-04-20 22:12:18 +02:00
e7c85706e5
More fun with LinuxVSTs & threading
2017-03-06 01:48:46 +01:00
d6106b22cb
Breathe at exit: allow event-loops to clean up
2017-01-20 13:53:53 +01:00
1e03ad7336
setlocale(LC_MESSAGES) isn't valid when building with MSVC
...
In fact AFAICT it isn't supported by MinGW either (I've a feeling it probably isn't valid on Windows at all).
2017-01-16 13:44:23 +00:00
4c0ce20941
Allow fine grained control over locale
2016-12-28 13:38:49 +01:00
93ffece465
hotfix C++ locale (OSX, windows)
2016-07-15 16:10:42 +02:00