summaryrefslogtreecommitdiff
path: root/libs/pbd/locale_guard.cc
AgeCommit message (Collapse)Author
2017-04-20Relax LocaleGuardsRobin Gareus
Arodur itself on longer depends on C/C++ locale for saving/loading sessions. However, the Localeguard is kept for 3rd party plugins: Reset the C locale to "C" to enforce consisten numerics and portable sessions as well as verify that no plugin changes the C++ locale.
2016-07-18add exception handling in LocaleGuard, to try to cover more OS X ↵Paul Davis
wierd/corner cases
2016-07-14redesign PBD::LocaleGuard to work correctly (i.e. not break translations)Paul Davis
2016-05-07locale debuggingRobin Gareus
2016-05-07trying to get to the bottom of the decimal comma.Robin Gareus
2016-05-05we always only use the "C" locale when saving.Robin Gareus
2016-05-05remove assert()s from LocaleGuardRobin Gareus
2016-05-05minor comment changePaul Davis
2016-05-05spelling fixes and an explanatory commentPaul Davis
2016-05-05rework locale-guard for C and C++ localesRobin Gareus
let's hope querying the C-locale is more lightweight than setting it on windows.
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-02-28In libpbd the sources 'localeguard.cc/.h' and 'locale_guard.cc/.h' are ↵John Emmas
essentially identical now - so let's remove the former pair which were only ever needed when building with MSVC (should hopefully avoid future confusion !!)
2015-01-18Dramatically improve windows session-save-time by avoiding recursive calls ↵Ben Loftis
to set_locale.
2013-01-16add copyright commentsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13857 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-08-10add -Wpointer-arith -Wcast-qual -Wcast-align and others to compile flags, ↵Paul Davis
and fix const cast warnings generated by new flags git-svn-id: svn://localhost/ardour2/branches/3.0@13124 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-03-30handle deletion of UI objects between the time that a callback is queued ↵Paul Davis
with the UI event loop and the execution of the callback (intrusive, big) git-svn-id: svn://localhost/ardour2/branches/3.0@6807 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-10-28* libardour uses ARDOUR::nframes_t and ARDOUR::nframes64_t explicitly in headersPaul Davis
* use explicit operator<< and operator>> that in turn use PBD::EnumWriter when serializing and deserializing to/from rc files * adds scrolling in mixer window (from 2.X) * BBT math stuff - untested, but basically operational * move LocaleGuard into its own file(s) in libs/pbd * Tempo now uses nframes64_t everywhere (except for sample rate values) * as in 2.X, use mkstemp and hack to avoid temp file nonsense, and remove erroneous free() from disk stats output git-svn-id: svn://localhost/ardour2/branches/3.0@5961 d708f5d6-7413-0410-9779-e7cbd77b26cf