diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-03-18 15:46:46 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-03-18 15:46:46 -0700 |
commit | 9d06c8e9b36e94295c62eb0598cff7afae0c5a45 (patch) | |
tree | 70118a8c5df73c70158eb60c6004621f74df4330 /gc.c | |
parent | d268addccbf0cfdb19f84103f85874daf410e1a6 (diff) | |
download | txr-9d06c8e9b36e94295c62eb0598cff7afae0c5a45.tar.gz txr-9d06c8e9b36e94295c62eb0598cff7afae0c5a45.tar.bz2 txr-9d06c8e9b36e94295c62eb0598cff7afae0c5a45.zip |
* eval.c (eval_init): url_decode has two parameters now,
so we make the second one optional.
* filter.c (topercent_k, frompercent_k): New keyword
variables.
(url_encode, url_decode): Take a second parameter, space_plus.
This determines whether or not to apply the rule that
a space encodes as a + character.
(filter_init): Initialize new keyword variables, and register :topercent
and :frompercent filters. Fix the previous registrations of :tourl and
:fromurl using currying.
* filter.h (urlencode, urldecode): Declarations updated.
(topercent_k, frompercent_k): Declared.
* txr.1: Documented.
Diffstat (limited to 'gc.c')
0 files changed, 0 insertions, 0 deletions