Commit Graph

79 Commits

Author SHA1 Message Date
Yuichi Nishiwaki 5ce271e9fe simplify number reader 2016-03-03 19:42:18 +09:00
Yuichi Nishiwaki 8a9a1200d8 pic_catch binds current error object to a variable 2016-02-25 20:52:38 +09:00
Yuichi Nishiwaki e050da8af1 add pic_sym macro 2016-02-23 02:37:33 +09:00
Yuichi Nishiwaki 229555fa83 remove pic_error 2016-02-23 02:23:22 +09:00
Yuichi Nishiwaki 2a0a7be40d C++ mode of PIC_UNUSED 2016-02-21 19:19:35 +09:00
Yuichi Nishiwaki 2ee33b5d57 remove read.h 2016-02-21 18:29:17 +09:00
Yuichi Nishiwaki f89a55c082 remove pre-interned symbols 2016-02-21 04:34:26 +09:00
Yuichi Nishiwaki 864a17d0be khiter_t -> int 2016-02-21 01:52:34 +09:00
Yuichi Nishiwaki 8dd423cdbc add include/picrin/private dir 2016-02-21 01:37:40 +09:00
Yuichi Nishiwaki 53b760cfac add picrin/extra.h 2016-02-21 00:58:58 +09:00
Yuichi Nishiwaki 317369a914 don't include picrin/state.h by default 2016-02-21 00:30:40 +09:00
Yuichi Nishiwaki 4affb1c1ce remove type.h and cont.h 2016-02-20 19:00:41 +09:00
Yuichi Nishiwaki fcb3182e08 publish xfile API 2016-02-20 18:34:13 +09:00
Yuichi Nishiwaki d3b188e44d cleanup file.h 2016-02-20 18:07:15 +09:00
Yuichi Nishiwaki d851273f60 struct pic_port * -> pic_value 2016-02-20 16:51:24 +09:00
Yuichi Nishiwaki f4efaf5dc0 pic_sym * -> pic_value 2016-02-20 15:31:14 +09:00
Yuichi Nishiwaki 2d5fbc889e struct pic_string * -> pic_value 2016-02-20 03:26:52 +09:00
Yuichi Nishiwaki 064eaff498 struct pic_blob * -> pic_value 2016-02-19 23:22:41 +09:00
Yuichi Nishiwaki 1e08a7f21a struct pic_pair * -> pic_value 2016-02-19 22:09:06 +09:00
Yuichi Nishiwaki 25e19d4f00 struct pic_vector * -> pic_value 2016-02-19 21:56:45 +09:00
Yuichi Nishiwaki b070d9c1dc add pic_return 2016-02-19 17:38:49 +09:00
Yuichi Nishiwaki 935199ea5e reader uses xFILE* directly 2016-02-19 16:51:45 +09:00
Yuichi Nishiwaki 4d38e08c98 pic_gc_arena_preserve -> pic_enter 2016-02-19 16:17:13 +09:00
Yuichi Nishiwaki f0386657be cosmetic changes 2016-02-19 16:15:09 +09:00
Yuichi Nishiwaki 84c2866b2b cleanup port API 2016-02-19 05:54:50 +09:00
Yuichi Nishiwaki 00e98548d7 remove pair.h 2016-02-19 02:29:40 +09:00
Yuichi Nishiwaki 9ae6f0cbe9 remove error.h 2016-02-19 01:34:13 +09:00
Yuichi Nishiwaki 645e5bee3a remove vector.h 2016-02-19 00:08:39 +09:00
Yuichi Nishiwaki 0a715e4916 use pic_blob_value 2016-02-18 23:59:33 +09:00
Yuichi Nishiwaki ada84f48d6 add some object constructors/destructors 2016-02-18 23:49:16 +09:00
Yuichi Nishiwaki 08652df612 don't include type.h at the beginning of picrin.h 2016-02-18 23:35:55 +09:00
Yuichi Nishiwaki 615bdff61a add pic_state parameter (to be used by copy gc) 2016-02-18 20:15:42 +09:00
Yuichi Nishiwaki a92e70a610 remove typedefs of struct pic_string and struct pic_blob 2016-02-15 00:20:49 +09:00
Yuichi Nishiwaki c7f8293368 add pic_intern_(str|cstr|lit) 2016-02-08 04:10:22 +09:00
Doug Currie ad0ef726fc Fix issue #322 string->number should never signal error 2016-01-10 14:56:44 -05:00
Doug Currie bfe1db8d16 Add benz compile time hooks PIC_DOUBLE_TO_CSTRING and PIC_CSTRING_TO_DOUBLE 2016-01-08 23:06:14 -05:00
Doug Currie be33d016e9 Refactor read_unsigned to prepare for pluggable atod 2016-01-08 15:55:00 -05:00
Sunrin SHIMURA (keen) df1a7b5fd5 add irritant to read error, fixing #310 2015-10-06 14:04:48 +09:00
Yuichi Nishiwaki 6f3083c3ca never use size_t 2015-08-26 19:04:27 +09:00
OGINO Masanori 16b427b8c4 Fix typo, alerm -> alarm.
This commit also enables some tests to catch more regressions.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2015-07-22 23:06:46 +09:00
Yuichi Nishiwaki 86a056c70a [bugfix] some paths in no-libc mode depend on lib 2015-07-20 02:45:57 +09:00
Yuichi Nishiwaki c2754509f2 remove PIC_ENABLE_FLOAT flag 2015-07-20 02:19:41 +09:00
Yuichi Nishiwaki cbe5e81b28 remove pic_make_vec_from_list 2015-07-13 09:03:12 +09:00
Yuichi Nishiwaki 71d1d4837d pic_intern_cstr -> pic_intern 2015-07-13 08:16:04 +09:00
Yuichi Nishiwaki 3285cc021b use snprintf and atof if possible 2015-07-04 17:32:16 +09:00
Yuichi Nishiwaki 4905aab416 remove pic->file and pic->read 2015-07-02 08:50:28 +09:00
Yuichi Nishiwaki f6a727beb4 cleanup pic_read 2015-06-30 01:17:13 +09:00
Yuichi Nishiwaki 5138ab4a8c save arena 2015-06-30 01:17:13 +09:00
Yuichi Nishiwaki 8b550de06a [bugfix] port leaks 2015-06-26 23:45:56 +09:00
Yuichi Nishiwaki 42794ebbff use khash for reader 2015-06-25 07:34:10 +09:00