13
0
Commit Graph

230 Commits

Author SHA1 Message Date
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
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
521fe586d7 correctly initialize C++ locale as well as C locale 2016-07-14 11:37:48 -04:00
69f67b6198 use setlocale() in preference to gtk_set_locale() 2016-05-31 15:30:41 -04:00
6d343ba3c6 fix LocaleGuard contstructor (3dc77280) 2016-05-07 12:19:41 +02:00
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
dd8dfb47ec four f* f's. 2015-10-17 20:30:24 +02:00
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
dc36b063bf remove unused fstream includes 2015-10-05 22:15:18 +02:00
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
553c3ef557 Remove ui_config.h inclusion from ardour_ui.h 2015-09-16 16:55:17 -04:00
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
b2817bfac5 make it easier to get errors out of GTK + Glib 2015-07-30 19:05:12 +02:00
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
76b28e7ff2 fix novice-level mistake that causes localedir to point to random, reusable (typically stack) memory 2015-04-17 11:00:33 -04:00
a4ec7c9e60 bump copyright duration 2015-04-09 21:16:55 -04:00
36b57a1c17 Replace a closing bracket which managed to get lost somehow 2015-03-29 09:43:57 +01:00
d67d4d129f remove Ardour from MSVC message dialog and use PROGRAM_NAME 2015-03-24 10:55:40 -05:00
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
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
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
7a730c2295 NOOP whitespace fixes. 2015-03-12 20:31:06 +01:00
3bd3dc04b1 fix 0096aa5 (at least for mingw) 2015-03-12 17:57:10 +01:00
0096aa5391 try to clean MSVC/Windows mess in main(), hopefully without breaking anything 2015-03-12 10:06:15 -05:00
63c4f8ad3f Revert "explicitly shutdown engine at exit"
This reverts commit c12b7bc9d8.

ARDOUR_UI::finish() already does this.
2015-03-09 18:32:14 +01:00
c12b7bc9d8 explicitly shutdown engine at exit
Callbacks like EngineHalted or DeviceListChanged 
can be deadly while the UI is being torn down.
2015-03-09 01:41:34 +01:00
0367aa5825 remove cruft (old unused pre-git version files) 2015-01-09 06:11:57 +01:00
946e63a276 never show windows console.
If ardour is launched from a terminal, stdout/stderr works since
9988f661f. Further, the debug-version comes packaged with gdb and
a has a start-menu shortcut for it. There is no need to implicitly
always show a console even for debug builds.
2015-01-06 02:07:58 +01:00
9988f661fa windows: re-attach to the console with -mwindows 2015-01-06 02:04:12 +01:00
8f4ab08e20 revert UIConfiguration back to a normal member of ARDOUR_UI 2014-12-07 13:12:48 -05:00
4b751f9e87 Move setting _fmode flag on windows into PBD::init
This moves setting of _fmode slightly later in the initialization
of the application via Ardour::init.
2014-12-03 17:31:05 +07:00
e9768e934f move creation of UIConfiguration object to precede creation of ArdourUI.
This is pretty kludgy but we need the UIConfiguration object (or any color management object) to be the first to connect to
the ColorsChanged signal.

Might be better to make the UIConfiguration object a delegate for the ThemeManager.
2014-11-26 18:22:22 +02:00
5aba4df252 fix/silence various compiler warnings.
* ifdef unused static functions
* brackets around assignment and comparision
* no return statement in function returning non-void
* boost concept_checks.hpp unused-local-typedefs
2014-11-23 23:57:55 +01:00
ec92524fe9 file binary compat is for windows in general (not msvc)
Fixes crash with MIDI file save/load.
2014-10-26 03:10:53 +01:00