ardour/libs
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
..
appleutility
ardour Fix indentation in ARDOUR::Amp::set_state 2017-04-16 14:02:28 +10:00
ardouralsautil
audiographer Include last sample in reverse test for nonsilence in end trim during export 2016-12-06 20:55:17 +10:00
backends Drain ALSA raw-midi buffers after 64 bytes 2017-04-09 05:03:19 +02:00
canvas consolidate NSGLView 2017-03-21 15:53:29 +01:00
clearlooks-newer 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
clearlooks-older
evoral c89 compat (gcc4, mingw..) 2017-02-28 21:33:13 +01:00
fluidsynth 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
fst Prepare moving to a dedicated x-thread signal for VST UI resizing 2017-03-08 13:03:46 +01:00
gtkmm2ext Shortcut editor: include a raw list of the currently-available actions in the printout. 2017-03-30 11:02:06 -05:00
hidapi yet another waf/HIDAPI tweak 2016-10-27 15:57:47 +02:00
libltc 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
lua Fix hiding Lua __metatable -- prevent setmetatable() override 2017-03-30 05:06:34 +02:00
midi++2 Remove Evoral::MIDIEvent 2016-12-03 15:18:21 -05:00
panners Fix indentation 8 whitespaces to tab 2016-12-21 23:09:40 +01:00
pbd Add locale independent and thread safe string conversion API with tests 2017-04-16 14:02:41 +10:00
plugins Improve a-delay to follow tempo-ramps & BPM changes 2017-03-11 23:10:44 +01:00
ptformat Fix 32bit compilation 2017-02-18 16:22:34 +01:00
qm-dsp Patch the QM source code to make it buildable with MSVC 2017-04-02 15:32:26 +02:00
surfaces FaderPort8 details: 2017-04-15 21:20:51 +02:00
timecode Fix indentation 8 whitespaces to tab 2016-12-21 23:09:40 +01:00
vamp-plugins update qm-vamp-plugins (git v1.7.1-10-g76bc879) 2017-04-01 21:50:32 +02:00
vfork