summaryrefslogtreecommitdiffstats
path: root/src/format.c
Commit message (Collapse)AuthorAgeFilesLines
* - clean up (and clean up documentation for) matching functionsNalin Dahyabhai2008-12-021-95/+75
|
* - make deref() return an error when it fails to evaluate, just like mostNalin Dahyabhai2008-12-021-1/+3
| | | | other list-producing functions do
* - drop some unused variablesNalin Dahyabhai2008-11-041-9/+2
|
* - add a "link" functionNalin Dahyabhai2008-11-041-0/+181
|
* - stop deref_r() and referred_r() stop returning empty strings when theyNalin Dahyabhai2008-11-041-17/+9
| | | | | find nothing -- that was throwing things off - add a combined check for collect, ifeq, and deref_r
* - add some argument checking to functions which were missing themNalin Dahyabhai2008-11-031-1/+55
| | | | - return an error if %collect doesn't have anything to return
* - add a %collect function, for concatenating lists of values into singleNalin Dahyabhai2008-11-031-0/+58
| | | | lists, but without flattening them as %merge does
* - teach %ifeq to return lists of values correctlyNalin Dahyabhai2008-11-031-24/+17
|
* - change %ifelse to %ifeq, because we won't have to worry about how toNalin Dahyabhai2008-11-031-43/+50
| | | | | compare the evaluated expression if we need to compare it using a single attribute name
* - add an %ifelse functionNalin Dahyabhai2008-10-241-5/+89
| | | | - fix a bug in function argument parsing
* - rework how the referred_r function works, so that it retrieves theNalin Dahyabhai2008-10-241-87/+74
| | | | interesting attribute from intermediate points, as deref_r does
* - move config.h into src/Nalin Dahyabhai2008-10-241-1/+1
|
* - rename formatting functions:Nalin Dahyabhai2008-10-241-40/+40
| | | | | | derefx -> deref_r referredx -> referred_r - add a simple test for referred_r
* - add referredx, as derefxNalin Dahyabhai2008-10-241-1/+318
|
* - add another list of attributes and parents, for use in chasing andNalin Dahyabhai2008-09-101-28/+60
| | | | tracking multi-hop backreferences
* - fixup some heap corruptionNalin Dahyabhai2008-09-091-42/+35
| | | | - clean up the reference updating logic
* - search for predecessors using the right attribute/basesNalin Dahyabhai2008-09-091-1/+1
| | | | | - handle nesting when searching for backreferences - actually update backreferences when we chase them the new way
* - add a way to create an SDN list using an array of stringsNalin Dahyabhai2008-09-081-3/+21
|
* - be a little more careful when freeing listsNalin Dahyabhai2008-09-081-13/+20
| | | | | | | - free the list of entries we're visiting, in case we're poorly specified for some reason - stop chasing links if we run out of entries before we run out of link attributes to follow
* - rename sdn list manipulation functions in case they'll be neededNalin Dahyabhai2008-09-081-16/+16
| | | | elsewhere later
* - add a "derefx" function which should be able to handle anNalin Dahyabhai2008-09-081-0/+149
| | | | indeterminate number of hops and nesting
* - fixup some of the logic where we check for duplicates in theNalin Dahyabhai2008-09-081-10/+27
| | | | ref_attr_list
* - wire the format_ref_attr_list structure into the two pluginsNalin Dahyabhai2008-09-081-16/+16
|
* - wire a format_ref_attr_list into most APIsNalin Dahyabhai2008-09-081-27/+54
|
* - add structures and functions for managing lists of DNs and forNalin Dahyabhai2008-09-081-0/+209
| | | | managing lists of (lists of attributes and (lists of DNs))
* format.c:Nalin Dahyabhai2008-08-061-33/+56
| | | | | | | - make %format() expect a specifier as the value to match against, and the default to use if there are no / too many matches defs-nis.c: - compensate
* - make %first sort the values it's given and return the first in sort order,Nalin Dahyabhai2008-07-311-4/+17
| | | | not returned-by-the-directory order, which isn't really guaranteed
* - remove unused variablesNalin Dahyabhai2008-07-311-2/+2
|
* - add a wrapper for the slapi_search_internal_get_entry() functionNalin Dahyabhai2008-07-221-4/+4
|
* - don't be so zealous about freeing the matches bufferNalin Dahyabhai2008-07-211-1/+2
|
* - fix that commentNalin Dahyabhai2008-07-151-1/+1
|
* - first pass at creating an entry listNalin Dahyabhai2008-07-151-0/+65
|
* - reorganize the source, just a bitNalin Dahyabhai2008-07-151-16/+29
|
* - stop double-freeing the arguments list in %first()Nalin Dahyabhai2008-07-151-2/+0
|
* - make %first() take a pattern and not a literalNalin Dahyabhai2008-07-141-30/+42
|
* - LDAP_SCOPE_ONE->LDAP_SCOPE_ONELEVELNalin Dahyabhai2008-07-091-1/+1
| | | | - LDAP_SCOPE_SUB->LDAP_SCOPE_SUBTREE
* - remove unused variablesNalin Dahyabhai2008-07-091-9/+5
|
* - don't expand a single variable reference into an array when we're notNalin Dahyabhai2008-07-091-1/+2
| | | | expecting an array
* - when we duplicate an empty berval list, return an empty berval listNalin Dahyabhai2008-07-081-0/+3
|
* - when resizing a berval list, free the old list pointer before overwriting itNalin Dahyabhai2008-07-071-0/+7
| | | | | - free the temporary copy of the expression when evaluating a simple expression - when getting a data set, free temporary data
* - try not to log binary dataNalin Dahyabhai2008-07-071-14/+0
|
* - teach "merge" to merge lists of values in addition to single valuesNalin Dahyabhai2008-07-071-450/+220
| | | | | | - deref: return a list of values - referral: return a list of values - drop "echo" and "list" (the latter subsumed by "merge")
* - make formatting binary-cleanNalin Dahyabhai2008-07-031-234/+440
|
* - make the newly-multiple-choice deref and referred functions return errorsNalin Dahyabhai2008-07-021-7/+32
| | | | | when they fail to find answers in multiple-choice situations, so that we don't end up with empty strings
* - teach referred() to return multiple choicesNalin Dahyabhai2008-07-021-18/+54
|
* - require exactly the right number of argumentsNalin Dahyabhai2008-07-021-1/+1
|
* - teach the deref function to accept two arguments in a multiple-choice callNalin Dahyabhai2008-07-021-11/+40
|
* - format_referrer: don't try to free a non-heap string if we can't find aNalin Dahyabhai2008-07-011-16/+14
| | | | | | | configuration for the referred-to map - free map configurations correctly - if needed, wrap a user-supplied filter in "()" when the formatter asks for the filter
* - be more consisten about group/set nomenclatureNalin Dahyabhai2008-06-301-4/+4
|
* - use group/set nomenclature more widelyNalin Dahyabhai2008-06-301-52/+52
|