Commit graph

241 commits

Author SHA1 Message Date
Robin Gareus
f386d1334a
Use shared windows-console setup code 2020-09-20 20:03:05 +02:00
Paul Davis
ad2af5123d tell stdout if setlocale(2) fails 2020-05-01 12:28:52 -06:00
Paul Davis
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
Paul Davis
447a045828 do not parse debug options in a non-debug build 2020-03-25 10:34:16 -06:00
Robin Gareus
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
Robin Gareus
f427e38c31
Bump (C) year: the year of Ardour 2020-01-01 13:47:22 +01:00
Robin Gareus
2b55d6dce3
First batch of MessageDialog replacements 2019-12-14 23:44:01 +01:00
Paul Davis
ff3cc400ac allow setting debug flags via an environment variable (ARDOUR_DEBUG_FLAGS) 2019-12-13 13:14:15 -07:00
Paul Davis
58e8fb7aab alter ARDOUR::init() API to specify whether a GUI is in control or not 2019-10-24 21:32:46 -06:00
Robin Gareus
1a828f1f4d
Remove redundant call (moved to libardour) 2019-09-10 03:07:17 +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
Paul Davis
0d1d6d6975 remove -C,-E and -U command line options 2019-07-18 14:08:07 -06:00
Robin Gareus
8f9a1e1cf4
Use exit-status macros for compatibility 3/3 2019-07-04 22:21:49 +02:00
Robin Gareus
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
Robin Gareus
9f347f2d7d
Bump main program's (C) year 2019-01-01 16:19:40 +01:00
Robin Gareus
3dcb7bf3d3
Unhardode log-message domain when logging to stdout 2018-12-09 01:31:27 +01: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
Robin Gareus
f3185032a0 amend a954dca1: Prost Neujahr! 2018-01-01 04:59:11 +01:00
Paul Davis
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
Robin Gareus
e544934780 Call curl_global_init() exactly only once (1/2) 2017-08-31 20:08:47 +02:00
Robin Gareus
f9e5e4360e Move more Gtkmm2ext widgets into libwidget 2017-07-17 21:06:04 +02:00
Robin Gareus
417283d9be Don't just silently exit if initialization fails. 2017-07-03 14:44:03 +02:00
Robin Gareus
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
Robin Gareus
e7c85706e5 More fun with LinuxVSTs & threading 2017-03-06 01:48:46 +01:00
Robin Gareus
d6106b22cb Breathe at exit: allow event-loops to clean up 2017-01-20 13:53:53 +01:00
John Emmas
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
Robin Gareus
4c0ce20941 Allow fine grained control over locale 2016-12-28 13:38:49 +01:00
Robin Gareus
93ffece465 hotfix C++ locale (OSX, windows) 2016-07-15 16:10:42 +02: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
521fe586d7 correctly initialize C++ locale as well as C locale 2016-07-14 11:37:48 -04:00
Paul Davis
69f67b6198 use setlocale() in preference to gtk_set_locale() 2016-05-31 15:30:41 -04:00
Robin Gareus
6d343ba3c6 fix LocaleGuard contstructor (3dc77280) 2016-05-07 12:19:41 +02:00
Robin Gareus
6972db0d55 add luadoc binary (developer tool) to dump lua bindings
output is either JSON or lua-tables.
enable via  ./waf configure --luadoc ... , needs C++11
2016-03-20 20:54:36 +01:00
Robin Gareus
dd8dfb47ec four f* f's. 2015-10-17 20:30:24 +02:00
Robin Gareus
9ae577fb07 thread-safe fftw (needs fftw-3.3.5)
see https://github.com/FFTW/fftw3/issues/16
2015-10-17 19:23:39 +02: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
Tim Mayberry
553c3ef557 Remove ui_config.h inclusion from ardour_ui.h 2015-09-16 16:55:17 -04:00
Tim Mayberry
6b019a4953 Move UIConfiguration Singleton into UIConfiguration header
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
Robin Gareus
b2817bfac5 make it easier to get errors out of GTK + Glib 2015-07-30 19:05:12 +02:00
Paul Davis
173b007779 rearrange and redesign UIConfiguration/ARDOUR_UI APIs to allow correct initialization.
We need to be able to set an environment variable *before* gtk_init() is called, but also to
load the color theme right after gtk_init() and before the rest of the GUI is created.
2015-05-28 12:46:43 -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
Paul Davis
a4ec7c9e60 bump copyright duration 2015-04-09 21:16:55 -04:00
John Emmas
36b57a1c17 Replace a closing bracket which managed to get lost somehow 2015-03-29 09:43:57 +01:00
Paul Davis
d67d4d129f remove Ardour from MSVC message dialog and use PROGRAM_NAME 2015-03-24 10:55:40 -05:00
Robin Gareus
53ac99a26a rework check for old configuration files
check early on (before announcement-check, bundle-
env and ARDOUR_UI ctor have a chance to create the
new config dir)
2015-03-23 18:31:55 +01:00
John Emmas
247d0493bf Change the way we call 'Gtk::Main' when building with MSVC
This is just to accommodate the fact that 'command_line_parse_error()' uses pointers to argc & argv
2015-03-17 14:54:39 +00:00
Paul Davis
b58c1df07d check for old configuration files and copy if user requests it.
A restart is required. There is a circular dependency between the config files and the GUI, and this restart breaks it
2015-03-12 17:45:42 -05:00
Robin Gareus
7a730c2295 NOOP whitespace fixes. 2015-03-12 20:31:06 +01:00
Robin Gareus
3bd3dc04b1 fix 0096aa5 (at least for mingw) 2015-03-12 17:57:10 +01:00