aboutsummaryrefslogtreecommitdiffstats
path: root/TODO
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2011-12-01 23:47:41 +0000
committerJonathan McCrohan <jmccrohan@gmail.com>2011-12-01 23:47:41 +0000
commit1eaceca55c7e62892fd28bfbb5fc03240a48cee3 (patch)
tree7243fcd09c57e06e72b15f0044fd2c77babd7843 /TODO
parentd4b5ddf4bcacd692011f5a597025c38a1262d6ca (diff)
parent429e46051dba814e7d6c74368eb1bba550222cbe (diff)
downloadlibconfig-1eaceca55c7e62892fd28bfbb5fc03240a48cee3.tar.gz
Merge commit 'upstream/1.4.8'
Conflicts: debian/changelog debian/control debian/libconfig++9-dev.install debian/libconfig8.install debian/libconfig9-dev.install debian/rules
Diffstat (limited to 'TODO')
-rw-r--r--TODO50
1 files changed, 39 insertions, 11 deletions
diff --git a/TODO b/TODO
index 3faa3e3..2df9070 100644
--- a/TODO
+++ b/TODO
@@ -1,16 +1,44 @@
+TO-DOs:
-LONGER-TERM STUFF:
+These are features that have been requested, and have been considered,
+but are not yet implemented, because I'm undecided about how or whether they
+should be implemented, and/or because they are difficult and/or time-consuming
+to implement.
-- Add a += operator, so that additional elements can be appended to a list or
- array
+Also, some of these features tend to push libconfig toward becoming a
+general-purpose structured-data storage mechanism, which is really not the
+intended purpose of this library. I think something like sqlite is better
+suited for that sort of thing.
-- Add support for #include's; a patch was submitted for this previously, but it
- is not reentrant (uses static global variables), so can't be used as-is. I
- just haven't gotten around to implementing this because it's not a trivial
- change, and free time being in limited supply as it is...
-- Add limited support for preserving comments?
+* Add an option for safe type conversions; that is, report an error
+ rather than silently truncating out-of-range values to 0 (namely int64 ->
+ int).
-- Add support for unicode strings? A bit problematic, since flex doesn't
- support unicode input, AFAICT. But maybe a way to convert between
- parsed UTF-8 strings and std::wstring.
+
+* Add support for copying settings from one configuration to another. Need a
+ recursive function to copy a setting and call itself on all child settings.
+
+
+* Add a += operator, so that additional elements can be appended to a list or
+ array. The issue with this is defining a consistent syntax. For example:
+
+ x = ( 1, 2, 3 );
+ x += ( 4, 5 );
+
+ Should this result in ( 1, 2, 3, 4, 5 ), or ( 1, 2, 3, ( 4, 5 ))? I believe
+ it should be the latter. However, only the former makes sense for arrays.
+
+
+* Add the ability to insert/delete elements at any position in a list or
+ array. A simple implementation would be expensive (shift all the elements
+ by one for every insert/delete), and a more efficient implementation would
+ add a lot of complexity to the library.
+
+
+* Add limited support for preserving comments?
+
+
+* Add support for unicode strings? A bit problematic, since flex doesn't
+ support unicode input, AFAICT. But maybe supply convenience functions to
+ convert between parsed UTF-8 strings and std::wstring.