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
Paul Davis
0096aa5391
try to clean MSVC/Windows mess in main(), hopefully without breaking anything
2015-03-12 10:06:15 -05:00
Robin Gareus
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
Robin Gareus
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
Robin Gareus
0367aa5825
remove cruft (old unused pre-git version files)
2015-01-09 06:11:57 +01:00
Robin Gareus
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
Robin Gareus
9988f661fa
windows: re-attach to the console with -mwindows
2015-01-06 02:04:12 +01:00
Paul Davis
8f4ab08e20
revert UIConfiguration back to a normal member of ARDOUR_UI
2014-12-07 13:12:48 -05:00
Tim Mayberry
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
Paul Davis
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
Robin Gareus
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
Robin Gareus
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
Robin Gareus
eb8ae5053f
minimize rebuild after reconfigure:
...
Don't add VERSIONSTRING to the c-flags of
gtk2_ardour, use a dedicated file instead.
2014-09-06 21:18:08 +02:00
Robin Gareus
a3c378cf62
move utility functions into a dedicated namespace
2014-06-25 21:47:54 +02:00
John Emmas
70755c9950
Add some stuff that's needed for an MSVC built target:-
...
1) Make sure we create or open any files in binary mode
2) Make sure the user can see an error message of we fail to parse the command line
3) Make sure that the call to 'windows_vst_gui_init()' matches its declaration (i.e. only applicable when NOT on PLATFORM_WINDOWS)
2014-04-15 11:01:48 +01:00
Robin Gareus
7cc5f8b321
fix prev commit (MSVC release builds)
2014-04-14 17:59:28 +02:00
Robin Gareus
18d4fd9f37
fun with the c-preprocessor. platform dependent VST support.
2014-04-14 17:54:21 +02:00
John Emmas
4336f75d3b
Make sure that when building with MSVC, a Release build will launch without an annoying, floating console window
2014-04-14 16:14:06 +01:00
unknown
6cc2812f2e
interim vst fixes
2014-04-11 14:23:29 -05:00
Paul Davis
3b5cc5a9fd
move fixup_bundle_environment() code into per-platform files
2014-03-02 11:30:51 -05:00
Paul Davis
658bb3ccd4
finished merge of cairocanvas with windows and windows+cc branches
2014-01-10 17:11:10 -05:00
Paul Davis
3020b224fa
Merge windows+cc branch into cairocanvas branch. Not finished, need to now merge windows branch to get changes from there
2014-01-10 16:07:57 -05:00
Paul Davis
d135c4dc3a
fix merge conflicts with master
2013-10-23 08:47:57 -04:00
Paul Davis
17cd6b4044
fix locale path in OS X bundles
2013-10-22 11:08:31 -04:00
Robin Gareus
f191bdf6a0
replace rather than append to SUIL_MODULE_DIR
...
should fix http://tracker.ardour.org/view.php?id=5679
2013-10-19 18:16:34 +02:00
John Emmas
5568026387
'gtk2_ardour' - Harmonize '__WIN32__', 'OS_WIN32' etc, etc. Use 'PLATFORM_WINDOWS' instead
2013-10-14 17:00:28 +01:00
Paul Davis
2a6a16f980
merge with master, fixing conflicts in 3 wscript files
2013-10-09 14:00:42 -04:00
Paul Davis
c727d18b80
delete the UI from main() to get full cleanup
2013-10-07 20:28:20 -04:00