19 Commits
Author SHA1 Message Date
nshmyrev 3a0fe574dc Fixes tests in sphinxbase
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12884 94700074-3cef-4d97-a70e-9c8c206c02f5
2015-03-22 17:32:14 +00:00
nshmyrev 32b95d940a Replace INCLUDES with AM_CFLAGS
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12624 94700074-3cef-4d97-a70e-9c8c206c02f5
2014-09-27 20:14:16 +00:00
mbait 1889596f83 Merge branch 'feature-vad'.
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12369 94700074-3cef-4d97-a70e-9c8c206c02f5
2014-03-19 06:28:12 +00:00
nshmyrev 03aa99c8d0 Restored infocont
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12034 94700074-3cef-4d97-a70e-9c8c206c02f5
2013-11-07 15:45:14 +00:00
nshmyrev ca06a76134 Restored old less verbose logging
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12033 94700074-3cef-4d97-a70e-9c8c206c02f5
2013-11-07 14:44:40 +00:00
nshmyrev 1ef508de4c Error handler shaving
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12031 94700074-3cef-4d97-a70e-9c8c206c02f5
2013-11-07 14:07:32 +00:00
mbait 125248a44e Get back log stream manipulation functions
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12027 94700074-3cef-4d97-a70e-9c8c206c02f5
2013-11-07 10:44:22 +00:00
mbait 6d7de30e8c New logging framework
Error formatting is platform-independent,
final output is done via the call to a callback function.

Default error sinks for some platforms:
 - native: standard error stream
 - Android: logging system, see "logcat"
 - WinCE: debugger, see "OutputDebugString"

These functions are removed:
  - err_get_logfp
  - err_set_logfp
  - err_set_logfile

git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@12024 94700074-3cef-4d97-a70e-9c8c206c02f5
2013-11-07 05:28:48 +00:00
nshmyrev 075973d48f Fixes distcheck
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@10778 94700074-3cef-4d97-a70e-9c8c206c02f5
2011-02-16 08:58:24 +00:00
dhdfu 6a9ddb3c3f large painful and arguably overdue reorganization of sphinxbase headers ... prompted by the fact that Android NDK defines an (empty!) header called <err.h> and will not let you override the system include path ... this actually should not affect any external code that plays by the rules, otherwise you will have to update all sphinxbase includes to add sphinxbase/ to the beginning
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@10208 94700074-3cef-4d97-a70e-9c8c206c02f5
2010-07-12 03:47:23 +00:00
dhdfu 8ff2a157cb a whole whack of cygwin/win32 fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@9719 94700074-3cef-4d97-a70e-9c8c206c02f5
2010-02-19 02:36:44 +00:00
dhdfu 60a8183296 DATADIR conflicts with some Windows header, so change it
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@9710 94700074-3cef-4d97-a70e-9c8c206c02f5
2010-02-17 04:48:31 +00:00
dhdfu ca740372a9 Use platform APIs for thread local storage instead of relying on the
compiler, which causes ridiculous problems on Windows (see
http://msdn.microsoft.com/en-us/library/2s9wt68x.aspx), and just plain
doesn't work on Mac OS X.


git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@8512 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-06-27 19:38:33 +00:00
dhdfu 1bdb3bbe9b Get rid of stupid param_t (or was it PARAM_T?!) once and for all.
Introduce refcounting.  Keep some default args around so that one does
not have to jump through unreasonable hoops to use cmd_ln_init().

Also rename fe_close() to fe_free() both for consistency and to
intentionally break old code that should be updated.


git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@8449 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-06-11 22:22:17 +00:00
dhdfu 83e4f78178 undo the damage done to configure.in by failed experiments in Windows building, and also conditionalize the TLS test so it will not fail if __thread is not available
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@8318 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-05-14 15:23:05 +00:00
dhdfu 12c32f1167 Use TLS for logfile handle, patch from Krisztian Loki, but with an added unit test.
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@8304 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-05-13 14:56:44 +00:00
dhdfu 3061543f92 No longer necessary to send so many messages here.
git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@8169 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-04-27 07:02:16 +00:00
dhdfu 8a7968d5d5 Change message queues a bit, so that they are actually useful. We
need to be able to queue data between threads, so copying is needed.


git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@8168 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-04-27 07:01:13 +00:00
dhdfu a4b8b68293 Some simple threading primitives, not implemented for Windows yet, but
they should be portable.


git-svn-id: svn+ssh://svn.code.sf.net/p/cmusphinx/code/trunk/sphinxbase@8165 94700074-3cef-4d97-a70e-9c8c206c02f5
2008-04-25 19:02:07 +00:00