Commit Graph

3180 Commits

Author SHA1 Message Date
3dcab112d9 just a temporary commit while changing code for new convention 2008-09-25 05:07:24 +00:00
327fd11974 added useful macros to ase_str_t and ase_map_t 2008-09-25 02:16:41 +00:00
dfc1e83f7c added missing basic functions to ase_str_t 2008-09-25 02:06:56 +00:00
c1b3c8dfd8 changed val.c to adopt ase_map_t changes 2008-09-25 02:00:50 +00:00
a88cc05eae fixed various bugs in a map and enhanced it.
- added ase_strbytes returning the number of bytes of a '\0'-terminated string
 - changed the prototype of ase_map_walker_t to return ase_map_walk_t 
 - added ASE_MAP_KCLEN and ASE_MAP_VCLEN
 - fixed the bug of not initializing the bucket in ase_map_init
 - fixed the bug of returning 0 when a match is found in ase_map_search
 - fixed the bug of wrongly calculating the value pointer in alloc_pair
2008-09-25 01:18:50 +00:00
21c331febf added to ase_map_t a keeper function that is called when a value is replace by itself. deprecated the generic ase_sizer_t and defined context-specific sizer types such as ase_str_sizer_t and ase_map_sizer_t 2008-09-24 08:47:23 +00:00
ac92d8581a changed ase_map_open() to adjust invalid parameters and fixed reorganize() to adjust a wrong capacity returned by a user-defined sizer 2008-09-24 05:37:38 +00:00
2fbbff8139 added the sizer function to ase_map_t 2008-09-24 05:27:24 +00:00
2230fbd445 renamed ASE_STR_XXX macros and added the ase_xstr_t type 2008-09-24 03:51:24 +00:00
a1348d4ca5 renamed ASE_CHAR_TO_NUM to ASE_CHARTONUM 2008-09-24 03:36:30 +00:00
b6e14c7be3 added the hint parameter to the sizer function 2008-09-23 05:21:08 +00:00
8488b72f98 2008-09-05 05:15:53 +00:00
b1a63068c6 2008-09-05 05:05:14 +00:00
9522110d9d 2008-09-05 04:59:23 +00:00
f90fffc853 2008-09-05 04:58:08 +00:00
fd2eb3f012 2008-09-01 05:17:01 +00:00
4520a77a59 fixed unnecessary freeing of memory in ase_map_init() 2008-09-01 05:16:52 +00:00
cb5e20a885 added ase_sll_init() and ase_sll_fini() 2008-09-01 05:15:57 +00:00
8a219e1548 2008-09-01 04:57:24 +00:00
5958ddccef 2008-09-01 04:56:47 +00:00
ae2f49f1a1 removed ase_str_forfeit() and added ase_str_yield() 2008-09-01 04:55:59 +00:00
91159085ed 2008-08-30 09:02:26 +00:00
dd00a6f49d added ase_str_init(), ase_str_fini(), ase_map_init() and ase_map_fini() to support static creation. 2008-08-30 08:51:04 +00:00
2390cda730 2008-08-29 08:21:25 +00:00
616ddad7d7 2008-08-29 04:29:53 +00:00
7f353d7c8a 2008-08-27 05:04:16 +00:00
b361aee101 2008-08-27 04:31:24 +00:00
0590924941 2008-08-27 02:50:12 +00:00
b6d38c892a 2008-08-23 09:23:09 +00:00
7fb73210b8 2008-08-23 02:13:47 +00:00
b51b4bd524 2008-08-23 01:06:35 +00:00
713586d04a 2008-08-21 04:58:19 +00:00
6dbf01ade0 2008-08-21 04:00:22 +00:00
01dd1ad765 2008-08-21 03:58:42 +00:00
89b9bf7296 2008-08-21 03:29:59 +00:00
5e8901042a 2008-08-21 03:17:25 +00:00
a95dad6655 2008-08-21 02:24:36 +00:00
9a6365bbe8 2008-08-21 02:22:07 +00:00
6effdf92ad 2008-08-20 05:00:26 +00:00
e1ec3d582d 2008-08-19 21:16:02 +00:00
3cbefaa12c 2008-08-19 05:21:48 +00:00
63014b5fc8 2008-08-18 08:51:40 +00:00
5f8b7ead34 2008-08-17 09:29:33 +00:00
ac38e2b46a renamed ase_memchr/ase_memrchr to ase_membyte/ase_memrbyte 2008-08-17 08:08:53 +00:00
e2108157db renamed ase_memchr/ase_memrchr to ase_membyte/ase_memrbyte 2008-08-17 08:07:34 +00:00
68fa5eeb53 2008-08-17 03:52:54 +00:00
c0d88f3d6a 2008-08-17 03:46:50 +00:00
39f541c4da 2008-08-14 08:22:29 +00:00
002a9d1913 2008-08-13 07:58:57 +00:00
4793f1efdf 2008-08-12 04:52:25 +00:00