Mirror of Ardour Source Code
Find a file
Tim Mayberry c634daef6a Add locale independent and thread safe string conversion API with tests
All conversions are performed as if in the "C" locale but without actually
changing locale.

This is a wrapper around printf/sscanf for int types which aren't affected by
locale and uses glib functions g_ascii_strtod and g_ascii_dtostr for
float/double types.

My first attempt at this used std::stringstream and
ios::imbue(std::locale::classic()) as it should be thread safe, but testing
shows it is not for gcc/mingw-w64 on Windows, and possibly also some versions
of macOS/OS X.

Use "yes" and "no" when converting a boolean in PBD::string_to<bool> as this
seems to be the convention used throughout libardour which will allow using
string_to<bool> in those cases.

Add accepted bool string values from PBD::string_is_affirmative to
PBD::string_to<bool>

Mark strings in pbd/string_convert.cc as not for translation

Add u/int16_t string conversions to pbd/string_convert.h and tests

Add DEBUG_TRACE output on conversion errors

Add int8_t/uint8_t conversions(using int16/uint16 types) to string_convert.h

Add support for converting an infinity expression to/from string

Follows the C99/C11 standard for strtof/strtod where subject sequence is an
optional plus or minus sign then INF or INFINITY, ignoring case.
2017-04-16 14:02:41 +10:00
cfgtool prepare for update to waf 1.8 2016-02-28 21:16:44 +01:00
doc remove and ignore intermediate generated documentation files 2016-04-12 13:55:09 +02:00
export 2 new export formats for stems and such. They export at the current session sample rate. 2017-01-28 13:34:39 -06:00
gtk2_ardour FP8: Configuration UI layout & design (add image, separators) 2017-04-15 15:19:58 +02:00
headless prepare for update to waf 1.8 2016-02-28 21:16:44 +01:00
libs Add locale independent and thread safe string conversion API with tests 2017-04-16 14:02:41 +10:00
mcp MCP Add X-Touch Mini MCP map 2017-03-20 18:51:12 -07:00
midi_maps Added Korg Studio midi-map. Fixed Editor/Common 2017-04-14 16:06:54 +02:00
msvc_extra_headers Remove a JE addition to one of the qm-dsp source files (no longer needed) 2017-02-06 09:47:10 +00:00
MSVCardour3 Accommodate newly introduced source(s) in our MSVC project (gtk2_ardour) 2017-03-16 10:20:27 +00:00
MSVCMixbus3 When building with MSVC make sure any backends / panners etc get copied to the correct target folder 2015-01-12 14:43:22 +00:00
MSVCvst_scan Update our MSVC project files to generate the most recent Ardour session file format (ver 5) rather than the older v3 format 2016-08-30 07:15:00 +01:00
osc OSC: Add preset loading to OSC GUI 2016-08-24 10:07:21 -07:00
patches patches to fix notebook tab tearoff on DnD. 2015-07-20 16:56:15 -04:00
patchfiles Improve midnam for Waldorf Blofeld 2016-08-05 22:03:11 +02:00
scripts Add example script to access midi-region events 2017-03-18 19:10:19 +01:00
session_utils update UI, new info API, display created_version in tooltip 2017-01-20 18:16:32 +01:00
templates NOOP, remove trailing whitespace, replace tabs in python scripts 2015-11-29 17:54:31 +01:00
tools Patch the QM source code to make it buildable with MSVC 2017-04-02 15:32:26 +02:00
vst fix vamp path: 2016-06-25 00:44:04 +02:00
.dir-locals.el Only use .dir-locals.el to set tab indentation (or not, for python). 2011-04-06 16:33:43 +00:00
.gitattributes disable git-archive 2016-07-06 03:12:19 +02:00
.gitignore remove and ignore intermediate generated documentation files 2016-04-12 13:55:09 +02:00
ardour-3.ttl Fix syntax error. 2009-11-09 14:13:59 +00:00
ardour.1 fix link in manpage 2016-10-18 22:26:23 +02:00
ardour.1.es most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
ardour.1.fr convert French man page from ISO-8859-1 to UTF-8 encoding 2016-03-08 08:39:58 -05:00
ardour.1.ru convert Russian man page from KOI8-R to UTF-8 encoding 2016-03-08 08:39:58 -05:00
COPYING update GPL (formatting and update FSF address) 2014-10-26 02:24:35 +01:00
foo.cc more pre-commit testing 2015-05-09 13:08:56 -04:00
instant.xml most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
instant.xml.sae most of the 2.X->3.0 commit (up to rev 4299) except for gtk2_ardour/editor_canvas.cc; builds and runs and does a few specific things but expect it to be buggy for a while yet 2008-12-12 14:43:24 +00:00
msvc32-fixup.pl When building with MSVC, adapt the various font sizes to be a closer match to the GCC build 2016-06-23 15:20:03 +01:00
PACKAGER_README fixes for various consistency/settings issues in monitor section; minor edit to PACKAGER_README 2010-03-17 16:01:58 +00:00
README another trivial change to test hooks 2013-03-13 14:35:39 -04:00
system_config Empty system_config (pre-seed XML nodes, use built-in settings) 2017-03-02 19:37:36 +01:00
testfile.flac ogg/flac support bits and pieces; fix up MIDI note dragging and front-edge trims; BROKEN IN PERCUSSIVE MODE FOR NOW 2009-10-06 22:07:10 +00:00
testfile.ogg ogg/flac support bits and pieces; fix up MIDI note dragging and front-edge trims; BROKEN IN PERCUSSIVE MODE FOR NOW 2009-10-06 22:07:10 +00:00
TRANSLATORS Update TRANSLATORS 2017-01-05 09:21:12 +00:00
waf patch waf - fixes clang/linux compilation 2016-02-28 21:48:49 +01:00
wscript Fix linking on El Capitan 2017-04-07 23:31:44 +02:00

Please see the Ardour web site at http://ardour.org/ for all documentation..

For information on building ardour: 
      
     http://ardour.org/development.html