File History

Not logged in

History of test.c

2012-07-07
09:53
[763aca38264d32e8] part of check-in [ae2c78f498] Added long-missing cpdo_amalgamation.h. Now compiles warning-free under scan-build. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2012-04-15
11:33
[76fc81d819bd18dc] part of check-in [735285360d] tinkering with some potential future refactoring. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2012-03-04
19:42
[610d1b7625fe375c] part of check-in [494a3b7da4] fixed a logic bug which causes cson_parse_argv_flags() to not recognize numeric flags as such (and treated them as strings). (user: stephan branch: trunk) [diff] [annotate] [checkins using]
14:30
[45088374404d1bc9] part of check-in [3aae5815c8] cson_value_clone() now shares immutable values and objects' keys, and deeply clones containers. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2011-10-16
15:26
[e044df1ee5997375] part of check-in [a20488ede5] Added cson_parse_argv_flags(). (user: stephan branch: trunk) [diff] [annotate] [checkins using]
12:59
[59e9415caa678eb7] part of check-in [cac2568693] added cson_object_merge(). Changed cson_kvp_key() return non-const ptr to support this feature and cson_object_set_s(). (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2011-10-09
13:25
[c44d032012c7f04f] part of check-in [1fcb5ab4ea] added cson_object_fetch_sub2() and cson_object_get_sub2(). (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2011-10-07
10:15
[4e8fb70b4df29195] part of check-in [5e0991e326] cson_object now internally uses cson_value keys, and clients can use cson_string keys, meaning we can now referernce count object keys. Seems to work, too. Valgrind is happy. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
08:30
[310009599d56f308] part of check-in [c6c5c292f9] Added cson_value_msize(). Found a minor malloc()-count optimization when cloning Objects. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
06:39
[e76a0f491ab67ed8] part of check-in [e10609a656] Added some convenience functions which were not feasible before the recent optimization. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
02:11
[68837244ee0f8503] part of check-in [33554cb893] Cleanups in the alloc reorgs. Added cson_(string|array|object)_value() (made possible (for free) by these optimizations). (user: stephan branch: val-alloc-combo) [diff] [annotate] [checkins using]
01:21
[2b0eed41c7593777] part of check-in [9a8d747adb] got strings ported to new alloc model. (user: stephan branch: val-alloc-combo) [diff] [annotate] [checkins using]
00:33
[4cb4f823a5176e48] part of check-in [5c68669265] ported integers and doubles to new malloc scheme. Cuts allocs significantly. (user: stephan branch: val-alloc-combo) [diff] [annotate] [checkins using]
2011-04-13
10:19
[f2ec56039779166d] part of check-in [2058abad4d] s/cson_err_string/cson_rc_string/g (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2011-03-25
05:02
[38bac019d4ec16e1] part of check-in [fbbf4c6976] Merged in trunk. (user: stephan branch: with-refcount) [diff] [annotate] [checkins using]
05:00
[0fd15c904ad53086] part of check-in [584f1b6d4a] Added cson_value_clone() to deeply clone values. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2011-03-24
14:13
[2fe7b25d94acc1ae] part of check-in [bd2d323249] Pulled in object-prop-unset code from with-refcount branch. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
13:57
[ad45311131ab9d4c] part of check-in [18aef2dc52] Values can now be removed from cson_objects. (user: stephan branch: with-refcount) [diff] [annotate] [checkins using]
2011-03-23
20:07
[1ea3270abf48aa3a] part of check-in [13cbbf84b6] Some cleanups in the refcounting code. Seems to work but i'm hesitant to merge this into the trunk, mainly b/c of the memory costs. (user: stephan branch: with-refcount) [diff] [annotate] [checkins using]
19:06
[299a678a1435428f] part of check-in [b87916df41] Initial experimentation with reference counting. Still some work to do here. (user: stephan branch: with-refcount) [diff] [annotate] [checkins using]
2011-01-29
00:13
[992a039f5300d552] part of check-in [1e8a42613b] Added cson_string_length_utf8() and re-did how the parser collects keys to save 1 malloc and 1 strcpy(). (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2011-01-28
16:32
[922343128230fa0d] part of check-in [5c7c2d4b79] Fixed a broken test macro. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2011-01-27
21:28
[6ec8bd0771824fce] part of check-in [8d08d2c3ac] Added some additional tests to assert that the new alloc optimizations indeed do not alloc new memory. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
20:33
[373f7cf7e27c4e4c] part of check-in [a0a3c043a7] The built-in constant cson_values (true, false, null, int 0, double 0.0) no longer require heap allocation. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2011-01-26
12:38
[e2f73b51b6760d75] part of check-in [1fa66212ed] Moved cson_value_new() and cson_value_set_xxx() out of the public API for reasons documented in cson.c. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2011-01-17
18:08
[9dd357680b9a0690] part of check-in [f0af7c446a] Now dynamically alloc integers b/c of compatibility problems with 32/64-bit. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
11:50
[dd0b523fa6e3db44] part of check-in [b4dde6ec58] Minor internal refactoring. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
10:10
[2e5aba97c729fef0] part of check-in [cef63281aa] Added cson_output_opt::indentSingleMemberValues. Doc additions. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2011-01-16
20:25
[ba1aed81da615943] part of check-in [ab8042e65f] Added an additional optional argument to cson_parse(), to give us a way t o fetch line/column info for error reporting. Fixed a leak in cson_parse() when parsing failed. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
18:58
[2d3457af752c9f0c] part of check-in [2ce0666163] Added cson_object_get_sub() utility function. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
15:25
[c6d73a43e34ebe82] part of check-in [9c518b62bc] Added cson_output_buffer(). (user: stephan branch: trunk) [diff] [annotate] [checkins using]
15:01
[1e346f966d7157cf] part of check-in [a8e629736c] Added cson_value_get_cstr(). (user: stephan branch: trunk) [diff] [annotate] [checkins using]
2011-01-15
13:33
[ac83da501170a0c8] part of check-in [df3fe520df] Minor cleanups and more API renaming. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
11:22
[c3d1d0ef67bf5ed4] part of check-in [cda2fbfb52] Added cson_parse_string() and first read-from-string code so that it will work when the read length is larger than 1. i hope. (user: stephan branch: trunk) [diff] [annotate] [checkins using]
08:20
Added [a9087d934157c29d] part of check-in [ed7520cf0f] Added missing test.c (user: stephan branch: trunk) [annotate] [checkins using]