summaryrefslogtreecommitdiffstats
path: root/libass/ass_strtod.c
Commit message (Collapse)AuthorAgeFilesLines
* Fully fix compilation with MSVC/ICLOleg Oshmyan2015-09-171-0/+1
| | | | | | | | | As before, this does not add any build system support: a config.h file and a project must still be manually created (or the compiler can be run manually instead of using a project). Signed-off-by: Grigori Goronzy <greg@kinoho.net> Signed-off-by: Oleg Oshmyan <chortos@inbox.lv>
* Include config.h in all source files and in no headersOleg Oshmyan2015-09-171-0/+2
| | | | | | | | | This way, #include "config.h" is consistently the very first thing the compiler sees when compiling any file. Some source files currently don't use anything defined in config.h, but it's easier and less error-prone to include it now to anticipate possible future changes in those files, config.h or other headers.
* NIH: add locale-independent string functionsGrigori Goronzy2015-09-111-4/+4
| | | | | | | | OS or platform-specific locale independent functions are painful to use and/or not available, so roll our own. Not great but the least painful and least intrusive. v2: fix indexing, use static inline
* ass_strtod: use modern Cwm42014-01-241-7/+8
|
* Fix a warning due to added constnessGrigori Goronzy2010-01-121-1/+1
|
* Constify table in ass_strtodYuriy M. Kaminskiy2010-01-121-0/+2
|
* Replace strtod with locale-independent strtodGrigori Goronzy2010-01-051-0/+247
strtod respects the locale and in some locales, the decimal separator is not a point, leading to parsing errors in tags like \pos(23.4,5), which are perfectly valid. As there isn't a really portable way to use a particular locale just for one call to strtod, reimplement it. The implementation was taken from the 1.8 branch of Ruby.